Projects
openEuler:Mainline
strace
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:strace.spec
Changed
@@ -1,9 +1,7 @@ -#needsrootforbuild -# This spec file is from upstream. Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 5.14 -Release: 1 +Version: 6.1 +Release: 2 # The test suite is GPLv2+, all the rest is LGPLv2.1+. License: LGPL-2.1+ and GPL-2.0+ # Some distros require Group tag to be present, @@ -17,7 +15,7 @@ %else Source: strace-%{version}.tar.gz %endif -BuildRequires: gcc gzip +BuildRequires: gcc gzip make # Install Bluetooth headers for AF_BLUETOOTH sockets decoding. %if 0%{?fedora} >= 18 || 0%{?centos} >= 6 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1200 || 0%{?openEuler} >= 1 @@ -38,6 +36,12 @@ %{?!buildroot:BuildRoot: %_tmppath/buildroot-%name-%version-%release} %define maybe_use_defattr %{?suse_version:%%defattr(-,root,root)} +# Fallback definitions for make_build/make_install macros +%{?!__make: %global __make %_bindir/make} +%{?!__install: %global __install %_bindir/install} +%{?!make_build: %global make_build %__make %{?_smp_mflags}} +%{?!make_install: %global make_install %__make install DESTDIR="%{?buildroot}"} + %description The strace program intercepts and records the system calls called and received by a running process. Strace can print a record of each @@ -49,10 +53,11 @@ received by a process. %prep -%autosetup -p1 +%setup -q echo -n %version-%release > .tarball-version -echo -n 2020 > .year -echo -n 2020-04-06 > .strace.1.in.date +echo -n 2022 > .year +echo -n 2022-10-16 > doc/.strace.1.in.date +echo -n 2022-01-01 > doc/.strace-log-merge.1.in.date %build echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' @@ -66,15 +71,13 @@ printf 'kernel-headers %%s.%%s.%%s\n' $(($kver/65536)) $(($kver/256%%256)) $(($kver%%256)) echo 'END OF BUILD ENVIRONMENT INFORMATION' +export CC_FOR_BUILD="$CC"; CFLAGS_FOR_BUILD="$RPM_OPT_FLAGS"; export CFLAGS_FOR_BUILD %configure --enable-mpers=check -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install - -# remove unpackaged files from the buildroot -rm -f %{buildroot}%{_bindir}/strace-graph +%make_install # some say uncompressed changelog files are too big for f in ChangeLog ChangeLog-CVS; do @@ -83,15 +86,23 @@ wait %check -# testcases which read /dev/full will fail because /dev/full is rw--w--w-- and -# needsrootforbuild cannot take affect -#%{buildroot}%{_bindir}/strace -V -#make %{?_smp_mflags} -k check VERBOSE=1 -#echo 'BEGIN OF TEST SUITE INFORMATION' -#tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log -#find tests* -type f -name '*.log' -print0 | -# xargs -r0 grep -H '^KERNEL BUG:' -- ||: -#echo 'END OF TEST SUITE INFORMATION' +make check + +#width=$(echo __LONG_WIDTH__ |%__cc -E -P -) +#skip_32bit=0 +#%if 0%{?fedora} >= 35 || 0%{?rhel} > 9 +#skip_32bit=1 +#%endif + +#if "${width}" != 32 || "${skip_32bit}" != 1 ; then +# %{buildroot}%{_bindir}/strace -V +# %make_build -k check VERBOSE=1 +# echo 'BEGIN OF TEST SUITE INFORMATION' +# tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log +# find tests* -type f -name '*.log' -print0 | +# xargs -r0 grep -H '^KERNEL BUG:' -- ||: +# echo 'END OF TEST SUITE INFORMATION' +#fi %files %maybe_use_defattr @@ -101,6 +112,12 @@ %{_mandir}/man1/* %changelog +* Sat May 13 2023 chenzanyu <chenzanyu@huawei.com> - 6.1-2 +- Fixed A compilation error under LLVM because no compiler was specified in file strace.spec + +* Fri Feb 3 2023 zhujin <zhujin18@huawei.com> - 6.1-1 +- update to 6.1 + * Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 5.14-1 - update to 5.14
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/strace.git</param> - <param name="revision">eab36fe1b1665fbf06dbade351d3ec1edc92457a</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:strace-5.14.tar.xz/m4/st_broken_cc.m4
Deleted
@@ -1,33 +0,0 @@ -#!/usr/bin/m4 -# -# Copyright (c) 2020 The strace developers. -# All rights reserved. -# -# SPDX-License-Identifier: LGPL-2.1-or-later - -AC_DEFUN(st_BROKEN_CC, dnl - AC_CACHE_CHECK(whether $_AC_CC is broken, - st_cv_broken_cc, - saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $WARN_CFLAGS" - AC_COMPILE_IFELSE(dnl - AC_LANG_SOURCE(dnl - #include <stdlib.h> - char *f(char c) { - struct { char c, z; } *p = malloc(sizeof(p->c)); - p->c = c; - return &p->c; - } - - ), - st_cv_broken_cc=no, - st_cv_broken_cc=yes) - CFLAGS="$saved_CFLAGS" - ) - AS_IF(test x"$st_cv_broken_cc" = xyes, dnl - AC_DEFINE(HAVE_BROKEN_CC, 1, - Define to 1 if the C compiler is broken) - cc_version="$(${_AC_CC} --version |head -1)" - AC_MSG_WARN(The C compiler is: $cc_version) - AC_MSG_WARN(This C compiler is broken, use it at your own risk!)) -)
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/generic/arch_defs_.h
Deleted
@@ -1,1 +0,0 @@ -/* nothing */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/icmpfilterflags.h
Deleted
@@ -1,201 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/icmpfilterflags.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat icmpfilterflags in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data icmpfilterflags_xdata = { -#if defined(ICMP_ECHOREPLY) || (defined(HAVE_DECL_ICMP_ECHOREPLY) && HAVE_DECL_ICMP_ECHOREPLY) - XLAT_PAIR(1ULL<<ICMP_ECHOREPLY, "1<<ICMP_ECHOREPLY"), - #define XLAT_VAL_0 ((unsigned) (1ULL<<ICMP_ECHOREPLY)) - #define XLAT_STR_0 "1<<ICMP_ECHOREPLY" -#endif -#if defined(ICMP_DEST_UNREACH) || (defined(HAVE_DECL_ICMP_DEST_UNREACH) && HAVE_DECL_ICMP_DEST_UNREACH) - XLAT_PAIR(1ULL<<ICMP_DEST_UNREACH, "1<<ICMP_DEST_UNREACH"), - #define XLAT_VAL_1 ((unsigned) (1ULL<<ICMP_DEST_UNREACH)) - #define XLAT_STR_1 "1<<ICMP_DEST_UNREACH" -#endif -#if defined(ICMP_SOURCE_QUENCH) || (defined(HAVE_DECL_ICMP_SOURCE_QUENCH) && HAVE_DECL_ICMP_SOURCE_QUENCH) - XLAT_PAIR(1ULL<<ICMP_SOURCE_QUENCH, "1<<ICMP_SOURCE_QUENCH"), - #define XLAT_VAL_2 ((unsigned) (1ULL<<ICMP_SOURCE_QUENCH)) - #define XLAT_STR_2 "1<<ICMP_SOURCE_QUENCH" -#endif -#if defined(ICMP_REDIRECT) || (defined(HAVE_DECL_ICMP_REDIRECT) && HAVE_DECL_ICMP_REDIRECT) - XLAT_PAIR(1ULL<<ICMP_REDIRECT, "1<<ICMP_REDIRECT"), - #define XLAT_VAL_3 ((unsigned) (1ULL<<ICMP_REDIRECT)) - #define XLAT_STR_3 "1<<ICMP_REDIRECT" -#endif -#if defined(ICMP_ECHO) || (defined(HAVE_DECL_ICMP_ECHO) && HAVE_DECL_ICMP_ECHO) - XLAT_PAIR(1ULL<<ICMP_ECHO, "1<<ICMP_ECHO"), - #define XLAT_VAL_4 ((unsigned) (1ULL<<ICMP_ECHO)) - #define XLAT_STR_4 "1<<ICMP_ECHO" -#endif -#if defined(ICMP_TIME_EXCEEDED) || (defined(HAVE_DECL_ICMP_TIME_EXCEEDED) && HAVE_DECL_ICMP_TIME_EXCEEDED) - XLAT_PAIR(1ULL<<ICMP_TIME_EXCEEDED, "1<<ICMP_TIME_EXCEEDED"), - #define XLAT_VAL_5 ((unsigned) (1ULL<<ICMP_TIME_EXCEEDED)) - #define XLAT_STR_5 "1<<ICMP_TIME_EXCEEDED" -#endif -#if defined(ICMP_PARAMETERPROB) || (defined(HAVE_DECL_ICMP_PARAMETERPROB) && HAVE_DECL_ICMP_PARAMETERPROB) - XLAT_PAIR(1ULL<<ICMP_PARAMETERPROB, "1<<ICMP_PARAMETERPROB"), - #define XLAT_VAL_6 ((unsigned) (1ULL<<ICMP_PARAMETERPROB)) - #define XLAT_STR_6 "1<<ICMP_PARAMETERPROB" -#endif -#if defined(ICMP_TIMESTAMP) || (defined(HAVE_DECL_ICMP_TIMESTAMP) && HAVE_DECL_ICMP_TIMESTAMP) - XLAT_PAIR(1ULL<<ICMP_TIMESTAMP, "1<<ICMP_TIMESTAMP"), - #define XLAT_VAL_7 ((unsigned) (1ULL<<ICMP_TIMESTAMP)) - #define XLAT_STR_7 "1<<ICMP_TIMESTAMP" -#endif -#if defined(ICMP_TIMESTAMPREPLY) || (defined(HAVE_DECL_ICMP_TIMESTAMPREPLY) && HAVE_DECL_ICMP_TIMESTAMPREPLY) - XLAT_PAIR(1ULL<<ICMP_TIMESTAMPREPLY, "1<<ICMP_TIMESTAMPREPLY"), - #define XLAT_VAL_8 ((unsigned) (1ULL<<ICMP_TIMESTAMPREPLY)) - #define XLAT_STR_8 "1<<ICMP_TIMESTAMPREPLY" -#endif -#if defined(ICMP_INFO_REQUEST) || (defined(HAVE_DECL_ICMP_INFO_REQUEST) && HAVE_DECL_ICMP_INFO_REQUEST) - XLAT_PAIR(1ULL<<ICMP_INFO_REQUEST, "1<<ICMP_INFO_REQUEST"), - #define XLAT_VAL_9 ((unsigned) (1ULL<<ICMP_INFO_REQUEST)) - #define XLAT_STR_9 "1<<ICMP_INFO_REQUEST" -#endif -#if defined(ICMP_INFO_REPLY) || (defined(HAVE_DECL_ICMP_INFO_REPLY) && HAVE_DECL_ICMP_INFO_REPLY) - XLAT_PAIR(1ULL<<ICMP_INFO_REPLY, "1<<ICMP_INFO_REPLY"), - #define XLAT_VAL_10 ((unsigned) (1ULL<<ICMP_INFO_REPLY)) - #define XLAT_STR_10 "1<<ICMP_INFO_REPLY" -#endif -#if defined(ICMP_ADDRESS) || (defined(HAVE_DECL_ICMP_ADDRESS) && HAVE_DECL_ICMP_ADDRESS) - XLAT_PAIR(1ULL<<ICMP_ADDRESS, "1<<ICMP_ADDRESS"), - #define XLAT_VAL_11 ((unsigned) (1ULL<<ICMP_ADDRESS)) - #define XLAT_STR_11 "1<<ICMP_ADDRESS" -#endif -#if defined(ICMP_ADDRESSREPLY) || (defined(HAVE_DECL_ICMP_ADDRESSREPLY) && HAVE_DECL_ICMP_ADDRESSREPLY) - XLAT_PAIR(1ULL<<ICMP_ADDRESSREPLY, "1<<ICMP_ADDRESSREPLY"), - #define XLAT_VAL_12 ((unsigned) (1ULL<<ICMP_ADDRESSREPLY)) - #define XLAT_STR_12 "1<<ICMP_ADDRESSREPLY" -#endif -}; -static -const struct xlat icmpfilterflags1 = { { - .data = icmpfilterflags_xdata, - .size = ARRAY_SIZE(icmpfilterflags_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/icmpfilterflags.in
Deleted
@@ -1,13 +0,0 @@ -1<<ICMP_ECHOREPLY -1<<ICMP_DEST_UNREACH -1<<ICMP_SOURCE_QUENCH -1<<ICMP_REDIRECT -1<<ICMP_ECHO -1<<ICMP_TIME_EXCEEDED -1<<ICMP_PARAMETERPROB -1<<ICMP_TIMESTAMP -1<<ICMP_TIMESTAMPREPLY -1<<ICMP_INFO_REQUEST -1<<ICMP_INFO_REPLY -1<<ICMP_ADDRESS -1<<ICMP_ADDRESSREPLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_kern.h
Deleted
@@ -1,818 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_kern.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_kern in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_kern_xdata = { - XLAT(KERN_OSTYPE), - #define XLAT_VAL_0 ((unsigned) (KERN_OSTYPE)) - #define XLAT_STR_0 STRINGIFY(KERN_OSTYPE) - XLAT(KERN_OSRELEASE), - #define XLAT_VAL_1 ((unsigned) (KERN_OSRELEASE)) - #define XLAT_STR_1 STRINGIFY(KERN_OSRELEASE) - XLAT(KERN_OSREV), - #define XLAT_VAL_2 ((unsigned) (KERN_OSREV)) - #define XLAT_STR_2 STRINGIFY(KERN_OSREV) - XLAT(KERN_VERSION), - #define XLAT_VAL_3 ((unsigned) (KERN_VERSION)) - #define XLAT_STR_3 STRINGIFY(KERN_VERSION) - XLAT(KERN_SECUREMASK), - #define XLAT_VAL_4 ((unsigned) (KERN_SECUREMASK)) - #define XLAT_STR_4 STRINGIFY(KERN_SECUREMASK) - XLAT(KERN_PROF), - #define XLAT_VAL_5 ((unsigned) (KERN_PROF)) - #define XLAT_STR_5 STRINGIFY(KERN_PROF) - XLAT(KERN_NODENAME), - #define XLAT_VAL_6 ((unsigned) (KERN_NODENAME)) - #define XLAT_STR_6 STRINGIFY(KERN_NODENAME) - XLAT(KERN_DOMAINNAME), - #define XLAT_VAL_7 ((unsigned) (KERN_DOMAINNAME)) - #define XLAT_STR_7 STRINGIFY(KERN_DOMAINNAME) - XLAT(KERN_PANIC), - #define XLAT_VAL_8 ((unsigned) (KERN_PANIC)) - #define XLAT_STR_8 STRINGIFY(KERN_PANIC) - XLAT(KERN_REALROOTDEV), - #define XLAT_VAL_9 ((unsigned) (KERN_REALROOTDEV)) - #define XLAT_STR_9 STRINGIFY(KERN_REALROOTDEV) - XLAT(KERN_SPARC_REBOOT), - #define XLAT_VAL_10 ((unsigned) (KERN_SPARC_REBOOT)) - #define XLAT_STR_10 STRINGIFY(KERN_SPARC_REBOOT) - XLAT(KERN_CTLALTDEL), - #define XLAT_VAL_11 ((unsigned) (KERN_CTLALTDEL)) - #define XLAT_STR_11 STRINGIFY(KERN_CTLALTDEL) - XLAT(KERN_PRINTK), - #define XLAT_VAL_12 ((unsigned) (KERN_PRINTK)) - #define XLAT_STR_12 STRINGIFY(KERN_PRINTK) - XLAT(KERN_NAMETRANS), - #define XLAT_VAL_13 ((unsigned) (KERN_NAMETRANS)) - #define XLAT_STR_13 STRINGIFY(KERN_NAMETRANS) - XLAT(KERN_PPC_HTABRECLAIM), - #define XLAT_VAL_14 ((unsigned) (KERN_PPC_HTABRECLAIM)) - #define XLAT_STR_14 STRINGIFY(KERN_PPC_HTABRECLAIM) - XLAT(KERN_PPC_ZEROPAGED), - #define XLAT_VAL_15 ((unsigned) (KERN_PPC_ZEROPAGED)) - #define XLAT_STR_15 STRINGIFY(KERN_PPC_ZEROPAGED) - XLAT(KERN_PPC_POWERSAVE_NAP), - #define XLAT_VAL_16 ((unsigned) (KERN_PPC_POWERSAVE_NAP)) - #define XLAT_STR_16 STRINGIFY(KERN_PPC_POWERSAVE_NAP) - XLAT(KERN_MODPROBE), - #define XLAT_VAL_17 ((unsigned) (KERN_MODPROBE)) - #define XLAT_STR_17 STRINGIFY(KERN_MODPROBE) - XLAT(KERN_SG_BIG_BUFF), - #define XLAT_VAL_18 ((unsigned) (KERN_SG_BIG_BUFF)) - #define XLAT_STR_18 STRINGIFY(KERN_SG_BIG_BUFF) - XLAT(KERN_ACCT), - #define XLAT_VAL_19 ((unsigned) (KERN_ACCT)) - #define XLAT_STR_19 STRINGIFY(KERN_ACCT) - XLAT(KERN_PPC_L2CR), - #define XLAT_VAL_20 ((unsigned) (KERN_PPC_L2CR)) - #define XLAT_STR_20 STRINGIFY(KERN_PPC_L2CR) - XLAT(KERN_RTSIGNR), - #define XLAT_VAL_21 ((unsigned) (KERN_RTSIGNR)) - #define XLAT_STR_21 STRINGIFY(KERN_RTSIGNR) - XLAT(KERN_RTSIGMAX), - #define XLAT_VAL_22 ((unsigned) (KERN_RTSIGMAX)) - #define XLAT_STR_22 STRINGIFY(KERN_RTSIGMAX) - XLAT(KERN_SHMMAX), - #define XLAT_VAL_23 ((unsigned) (KERN_SHMMAX)) - #define XLAT_STR_23 STRINGIFY(KERN_SHMMAX) - XLAT(KERN_MSGMAX), - #define XLAT_VAL_24 ((unsigned) (KERN_MSGMAX)) - #define XLAT_STR_24 STRINGIFY(KERN_MSGMAX) - XLAT(KERN_MSGMNB), - #define XLAT_VAL_25 ((unsigned) (KERN_MSGMNB)) - #define XLAT_STR_25 STRINGIFY(KERN_MSGMNB) - XLAT(KERN_MSGPOOL), - #define XLAT_VAL_26 ((unsigned) (KERN_MSGPOOL)) - #define XLAT_STR_26 STRINGIFY(KERN_MSGPOOL) - XLAT(KERN_SYSRQ), - #define XLAT_VAL_27 ((unsigned) (KERN_SYSRQ)) - #define XLAT_STR_27 STRINGIFY(KERN_SYSRQ) - XLAT(KERN_MAX_THREADS), - #define XLAT_VAL_28 ((unsigned) (KERN_MAX_THREADS)) - #define XLAT_STR_28 STRINGIFY(KERN_MAX_THREADS) - XLAT(KERN_RANDOM), - #define XLAT_VAL_29 ((unsigned) (KERN_RANDOM)) - #define XLAT_STR_29 STRINGIFY(KERN_RANDOM) - XLAT(KERN_SHMALL), - #define XLAT_VAL_30 ((unsigned) (KERN_SHMALL)) - #define XLAT_STR_30 STRINGIFY(KERN_SHMALL) - XLAT(KERN_MSGMNI), - #define XLAT_VAL_31 ((unsigned) (KERN_MSGMNI)) - #define XLAT_STR_31 STRINGIFY(KERN_MSGMNI) - XLAT(KERN_SEM), - #define XLAT_VAL_32 ((unsigned) (KERN_SEM)) - #define XLAT_STR_32 STRINGIFY(KERN_SEM) - XLAT(KERN_SPARC_STOP_A), - #define XLAT_VAL_33 ((unsigned) (KERN_SPARC_STOP_A)) - #define XLAT_STR_33 STRINGIFY(KERN_SPARC_STOP_A) - XLAT(KERN_SHMMNI), - #define XLAT_VAL_34 ((unsigned) (KERN_SHMMNI)) - #define XLAT_STR_34 STRINGIFY(KERN_SHMMNI) - XLAT(KERN_OVERFLOWUID), - #define XLAT_VAL_35 ((unsigned) (KERN_OVERFLOWUID)) - #define XLAT_STR_35 STRINGIFY(KERN_OVERFLOWUID) - XLAT(KERN_OVERFLOWGID), - #define XLAT_VAL_36 ((unsigned) (KERN_OVERFLOWGID)) - #define XLAT_STR_36 STRINGIFY(KERN_OVERFLOWGID) - XLAT(KERN_SHMPATH), - #define XLAT_VAL_37 ((unsigned) (KERN_SHMPATH)) - #define XLAT_STR_37 STRINGIFY(KERN_SHMPATH) - XLAT(KERN_HOTPLUG), - #define XLAT_VAL_38 ((unsigned) (KERN_HOTPLUG)) - #define XLAT_STR_38 STRINGIFY(KERN_HOTPLUG) - XLAT(KERN_IEEE_EMULATION_WARNINGS), - #define XLAT_VAL_39 ((unsigned) (KERN_IEEE_EMULATION_WARNINGS)) - #define XLAT_STR_39 STRINGIFY(KERN_IEEE_EMULATION_WARNINGS) - XLAT(KERN_S390_USER_DEBUG_LOGGING), - #define XLAT_VAL_40 ((unsigned) (KERN_S390_USER_DEBUG_LOGGING)) - #define XLAT_STR_40 STRINGIFY(KERN_S390_USER_DEBUG_LOGGING) - XLAT(KERN_CORE_USES_PID), - #define XLAT_VAL_41 ((unsigned) (KERN_CORE_USES_PID)) - #define XLAT_STR_41 STRINGIFY(KERN_CORE_USES_PID) - XLAT(KERN_TAINTED), - #define XLAT_VAL_42 ((unsigned) (KERN_TAINTED)) - #define XLAT_STR_42 STRINGIFY(KERN_TAINTED) - XLAT(KERN_CADPID), - #define XLAT_VAL_43 ((unsigned) (KERN_CADPID)) - #define XLAT_STR_43 STRINGIFY(KERN_CADPID) - XLAT(KERN_PIDMAX), - #define XLAT_VAL_44 ((unsigned) (KERN_PIDMAX)) - #define XLAT_STR_44 STRINGIFY(KERN_PIDMAX) - XLAT(KERN_CORE_PATTERN), - #define XLAT_VAL_45 ((unsigned) (KERN_CORE_PATTERN)) - #define XLAT_STR_45 STRINGIFY(KERN_CORE_PATTERN) - XLAT(KERN_PANIC_ON_OOPS), - #define XLAT_VAL_46 ((unsigned) (KERN_PANIC_ON_OOPS)) - #define XLAT_STR_46 STRINGIFY(KERN_PANIC_ON_OOPS) - XLAT(KERN_HPPA_PWRSW), - #define XLAT_VAL_47 ((unsigned) (KERN_HPPA_PWRSW)) - #define XLAT_STR_47 STRINGIFY(KERN_HPPA_PWRSW) - XLAT(KERN_HPPA_UNALIGNED), - #define XLAT_VAL_48 ((unsigned) (KERN_HPPA_UNALIGNED)) - #define XLAT_STR_48 STRINGIFY(KERN_HPPA_UNALIGNED) -#if defined(KERN_PRINTK_RATELIMIT) || (defined(HAVE_DECL_KERN_PRINTK_RATELIMIT) && HAVE_DECL_KERN_PRINTK_RATELIMIT) - XLAT(KERN_PRINTK_RATELIMIT), - #define XLAT_VAL_49 ((unsigned) (KERN_PRINTK_RATELIMIT)) - #define XLAT_STR_49 STRINGIFY(KERN_PRINTK_RATELIMIT) -#endif -#if defined(KERN_PRINTK_RATELIMIT_BURST) || (defined(HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST) && HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST) - XLAT(KERN_PRINTK_RATELIMIT_BURST), - #define XLAT_VAL_50 ((unsigned) (KERN_PRINTK_RATELIMIT_BURST)) - #define XLAT_STR_50 STRINGIFY(KERN_PRINTK_RATELIMIT_BURST) -#endif -#if defined(KERN_PTY) || (defined(HAVE_DECL_KERN_PTY) && HAVE_DECL_KERN_PTY) - XLAT(KERN_PTY), - #define XLAT_VAL_51 ((unsigned) (KERN_PTY)) - #define XLAT_STR_51 STRINGIFY(KERN_PTY) -#endif -#if defined(KERN_NGROUPS_MAX) || (defined(HAVE_DECL_KERN_NGROUPS_MAX) && HAVE_DECL_KERN_NGROUPS_MAX) - XLAT(KERN_NGROUPS_MAX), - #define XLAT_VAL_52 ((unsigned) (KERN_NGROUPS_MAX)) - #define XLAT_STR_52 STRINGIFY(KERN_NGROUPS_MAX) -#endif -#if defined(KERN_SPARC_SCONS_PWROFF) || (defined(HAVE_DECL_KERN_SPARC_SCONS_PWROFF) && HAVE_DECL_KERN_SPARC_SCONS_PWROFF) - XLAT(KERN_SPARC_SCONS_PWROFF), - #define XLAT_VAL_53 ((unsigned) (KERN_SPARC_SCONS_PWROFF)) - #define XLAT_STR_53 STRINGIFY(KERN_SPARC_SCONS_PWROFF) -#endif -#if defined(KERN_HZ_TIMER) || (defined(HAVE_DECL_KERN_HZ_TIMER) && HAVE_DECL_KERN_HZ_TIMER) - XLAT(KERN_HZ_TIMER), - #define XLAT_VAL_54 ((unsigned) (KERN_HZ_TIMER)) - #define XLAT_STR_54 STRINGIFY(KERN_HZ_TIMER) -#endif -#if defined(KERN_UNKNOWN_NMI_PANIC) || (defined(HAVE_DECL_KERN_UNKNOWN_NMI_PANIC) && HAVE_DECL_KERN_UNKNOWN_NMI_PANIC) - XLAT(KERN_UNKNOWN_NMI_PANIC), - #define XLAT_VAL_55 ((unsigned) (KERN_UNKNOWN_NMI_PANIC)) - #define XLAT_STR_55 STRINGIFY(KERN_UNKNOWN_NMI_PANIC) -#endif -#if defined(KERN_BOOTLOADER_TYPE) || (defined(HAVE_DECL_KERN_BOOTLOADER_TYPE) && HAVE_DECL_KERN_BOOTLOADER_TYPE) - XLAT(KERN_BOOTLOADER_TYPE), - #define XLAT_VAL_56 ((unsigned) (KERN_BOOTLOADER_TYPE)) - #define XLAT_STR_56 STRINGIFY(KERN_BOOTLOADER_TYPE) -#endif -#if defined(KERN_RANDOMIZE) || (defined(HAVE_DECL_KERN_RANDOMIZE) && HAVE_DECL_KERN_RANDOMIZE) - XLAT(KERN_RANDOMIZE), - #define XLAT_VAL_57 ((unsigned) (KERN_RANDOMIZE)) - #define XLAT_STR_57 STRINGIFY(KERN_RANDOMIZE) -#endif -#if defined(KERN_SETUID_DUMPABLE) || (defined(HAVE_DECL_KERN_SETUID_DUMPABLE) && HAVE_DECL_KERN_SETUID_DUMPABLE) - XLAT(KERN_SETUID_DUMPABLE), - #define XLAT_VAL_58 ((unsigned) (KERN_SETUID_DUMPABLE)) - #define XLAT_STR_58 STRINGIFY(KERN_SETUID_DUMPABLE) -#endif -#if defined(KERN_SPIN_RETRY) || (defined(HAVE_DECL_KERN_SPIN_RETRY) && HAVE_DECL_KERN_SPIN_RETRY) - XLAT(KERN_SPIN_RETRY), - #define XLAT_VAL_59 ((unsigned) (KERN_SPIN_RETRY)) - #define XLAT_STR_59 STRINGIFY(KERN_SPIN_RETRY) -#endif -#if defined(KERN_ACPI_VIDEO_FLAGS) || (defined(HAVE_DECL_KERN_ACPI_VIDEO_FLAGS) && HAVE_DECL_KERN_ACPI_VIDEO_FLAGS) - XLAT(KERN_ACPI_VIDEO_FLAGS), - #define XLAT_VAL_60 ((unsigned) (KERN_ACPI_VIDEO_FLAGS)) - #define XLAT_STR_60 STRINGIFY(KERN_ACPI_VIDEO_FLAGS) -#endif -#if defined(KERN_IA64_UNALIGNED) || (defined(HAVE_DECL_KERN_IA64_UNALIGNED) && HAVE_DECL_KERN_IA64_UNALIGNED) - XLAT(KERN_IA64_UNALIGNED), - #define XLAT_VAL_61 ((unsigned) (KERN_IA64_UNALIGNED)) - #define XLAT_STR_61 STRINGIFY(KERN_IA64_UNALIGNED) -#endif -#if defined(KERN_COMPAT_LOG) || (defined(HAVE_DECL_KERN_COMPAT_LOG) && HAVE_DECL_KERN_COMPAT_LOG) - XLAT(KERN_COMPAT_LOG), - #define XLAT_VAL_62 ((unsigned) (KERN_COMPAT_LOG)) - #define XLAT_STR_62 STRINGIFY(KERN_COMPAT_LOG) -#endif -#if defined(KERN_MAX_LOCK_DEPTH) || (defined(HAVE_DECL_KERN_MAX_LOCK_DEPTH) && HAVE_DECL_KERN_MAX_LOCK_DEPTH) - XLAT(KERN_MAX_LOCK_DEPTH), - #define XLAT_VAL_63 ((unsigned) (KERN_MAX_LOCK_DEPTH)) - #define XLAT_STR_63 STRINGIFY(KERN_MAX_LOCK_DEPTH) -#endif -#if defined(KERN_NMI_WATCHDOG) || (defined(HAVE_DECL_KERN_NMI_WATCHDOG) && HAVE_DECL_KERN_NMI_WATCHDOG) - XLAT(KERN_NMI_WATCHDOG), - #define XLAT_VAL_64 ((unsigned) (KERN_NMI_WATCHDOG)) - #define XLAT_STR_64 STRINGIFY(KERN_NMI_WATCHDOG) -#endif -#if defined(KERN_PANIC_ON_NMI) || (defined(HAVE_DECL_KERN_PANIC_ON_NMI) && HAVE_DECL_KERN_PANIC_ON_NMI) - XLAT(KERN_PANIC_ON_NMI), - #define XLAT_VAL_65 ((unsigned) (KERN_PANIC_ON_NMI)) - #define XLAT_STR_65 STRINGIFY(KERN_PANIC_ON_NMI) -#endif -#if defined(KERN_PANIC_ON_WARN) || (defined(HAVE_DECL_KERN_PANIC_ON_WARN) && HAVE_DECL_KERN_PANIC_ON_WARN) - XLAT(KERN_PANIC_ON_WARN), - #define XLAT_VAL_66 ((unsigned) (KERN_PANIC_ON_WARN)) - #define XLAT_STR_66 STRINGIFY(KERN_PANIC_ON_WARN) -#endif -#if defined(KERN_PANIC_PRINT) || (defined(HAVE_DECL_KERN_PANIC_PRINT) && HAVE_DECL_KERN_PANIC_PRINT) - XLAT(KERN_PANIC_PRINT), - #define XLAT_VAL_67 ((unsigned) (KERN_PANIC_PRINT)) - #define XLAT_STR_67 STRINGIFY(KERN_PANIC_PRINT) -#endif -}; -static -const struct xlat sysctl_kern1 = { { - .data = sysctl_kern_xdata, - .size = ARRAY_SIZE(sysctl_kern_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif -# ifdef XLAT_VAL_20 - | XLAT_VAL_20 -# endif -# ifdef XLAT_VAL_21 - | XLAT_VAL_21 -# endif -# ifdef XLAT_VAL_22 - | XLAT_VAL_22 -# endif -# ifdef XLAT_VAL_23 - | XLAT_VAL_23 -# endif -# ifdef XLAT_VAL_24 - | XLAT_VAL_24 -# endif -# ifdef XLAT_VAL_25 - | XLAT_VAL_25 -# endif -# ifdef XLAT_VAL_26 - | XLAT_VAL_26 -# endif -# ifdef XLAT_VAL_27 - | XLAT_VAL_27 -# endif -# ifdef XLAT_VAL_28 - | XLAT_VAL_28 -# endif -# ifdef XLAT_VAL_29 - | XLAT_VAL_29 -# endif -# ifdef XLAT_VAL_30 - | XLAT_VAL_30 -# endif -# ifdef XLAT_VAL_31 - | XLAT_VAL_31 -# endif -# ifdef XLAT_VAL_32 - | XLAT_VAL_32 -# endif -# ifdef XLAT_VAL_33 - | XLAT_VAL_33 -# endif -# ifdef XLAT_VAL_34 - | XLAT_VAL_34 -# endif -# ifdef XLAT_VAL_35 - | XLAT_VAL_35 -# endif -# ifdef XLAT_VAL_36 - | XLAT_VAL_36 -# endif -# ifdef XLAT_VAL_37 - | XLAT_VAL_37 -# endif -# ifdef XLAT_VAL_38 - | XLAT_VAL_38 -# endif -# ifdef XLAT_VAL_39 - | XLAT_VAL_39 -# endif -# ifdef XLAT_VAL_40 - | XLAT_VAL_40 -# endif -# ifdef XLAT_VAL_41 - | XLAT_VAL_41 -# endif -# ifdef XLAT_VAL_42 - | XLAT_VAL_42 -# endif -# ifdef XLAT_VAL_43 - | XLAT_VAL_43 -# endif -# ifdef XLAT_VAL_44 - | XLAT_VAL_44 -# endif -# ifdef XLAT_VAL_45 - | XLAT_VAL_45 -# endif -# ifdef XLAT_VAL_46 - | XLAT_VAL_46 -# endif -# ifdef XLAT_VAL_47 - | XLAT_VAL_47 -# endif -# ifdef XLAT_VAL_48 - | XLAT_VAL_48 -# endif -# ifdef XLAT_VAL_49 - | XLAT_VAL_49 -# endif -# ifdef XLAT_VAL_50 - | XLAT_VAL_50 -# endif -# ifdef XLAT_VAL_51 - | XLAT_VAL_51 -# endif -# ifdef XLAT_VAL_52 - | XLAT_VAL_52 -# endif -# ifdef XLAT_VAL_53 - | XLAT_VAL_53 -# endif -# ifdef XLAT_VAL_54 - | XLAT_VAL_54 -# endif -# ifdef XLAT_VAL_55 - | XLAT_VAL_55 -# endif -# ifdef XLAT_VAL_56 - | XLAT_VAL_56 -# endif -# ifdef XLAT_VAL_57 - | XLAT_VAL_57 -# endif -# ifdef XLAT_VAL_58 - | XLAT_VAL_58 -# endif -# ifdef XLAT_VAL_59 - | XLAT_VAL_59 -# endif -# ifdef XLAT_VAL_60 - | XLAT_VAL_60 -# endif -# ifdef XLAT_VAL_61 - | XLAT_VAL_61 -# endif -# ifdef XLAT_VAL_62 - | XLAT_VAL_62 -# endif -# ifdef XLAT_VAL_63 - | XLAT_VAL_63 -# endif -# ifdef XLAT_VAL_64 - | XLAT_VAL_64 -# endif -# ifdef XLAT_VAL_65 - | XLAT_VAL_65 -# endif -# ifdef XLAT_VAL_66 - | XLAT_VAL_66 -# endif -# ifdef XLAT_VAL_67 - | XLAT_VAL_67 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif -# ifdef XLAT_STR_20 - + sizeof(XLAT_STR_20) -# endif -# ifdef XLAT_STR_21 - + sizeof(XLAT_STR_21) -# endif -# ifdef XLAT_STR_22 - + sizeof(XLAT_STR_22) -# endif -# ifdef XLAT_STR_23 - + sizeof(XLAT_STR_23) -# endif -# ifdef XLAT_STR_24 - + sizeof(XLAT_STR_24) -# endif -# ifdef XLAT_STR_25 - + sizeof(XLAT_STR_25) -# endif -# ifdef XLAT_STR_26 - + sizeof(XLAT_STR_26) -# endif -# ifdef XLAT_STR_27 - + sizeof(XLAT_STR_27) -# endif -# ifdef XLAT_STR_28 - + sizeof(XLAT_STR_28) -# endif -# ifdef XLAT_STR_29 - + sizeof(XLAT_STR_29) -# endif -# ifdef XLAT_STR_30 - + sizeof(XLAT_STR_30) -# endif -# ifdef XLAT_STR_31 - + sizeof(XLAT_STR_31) -# endif -# ifdef XLAT_STR_32 - + sizeof(XLAT_STR_32) -# endif -# ifdef XLAT_STR_33 - + sizeof(XLAT_STR_33) -# endif -# ifdef XLAT_STR_34 - + sizeof(XLAT_STR_34) -# endif -# ifdef XLAT_STR_35 - + sizeof(XLAT_STR_35) -# endif -# ifdef XLAT_STR_36 - + sizeof(XLAT_STR_36) -# endif -# ifdef XLAT_STR_37 - + sizeof(XLAT_STR_37) -# endif -# ifdef XLAT_STR_38 - + sizeof(XLAT_STR_38) -# endif -# ifdef XLAT_STR_39 - + sizeof(XLAT_STR_39) -# endif -# ifdef XLAT_STR_40 - + sizeof(XLAT_STR_40) -# endif -# ifdef XLAT_STR_41 - + sizeof(XLAT_STR_41) -# endif -# ifdef XLAT_STR_42 - + sizeof(XLAT_STR_42) -# endif -# ifdef XLAT_STR_43 - + sizeof(XLAT_STR_43) -# endif -# ifdef XLAT_STR_44 - + sizeof(XLAT_STR_44) -# endif -# ifdef XLAT_STR_45 - + sizeof(XLAT_STR_45) -# endif -# ifdef XLAT_STR_46 - + sizeof(XLAT_STR_46) -# endif -# ifdef XLAT_STR_47 - + sizeof(XLAT_STR_47) -# endif -# ifdef XLAT_STR_48 - + sizeof(XLAT_STR_48) -# endif -# ifdef XLAT_STR_49 - + sizeof(XLAT_STR_49) -# endif -# ifdef XLAT_STR_50 - + sizeof(XLAT_STR_50) -# endif -# ifdef XLAT_STR_51 - + sizeof(XLAT_STR_51) -# endif -# ifdef XLAT_STR_52 - + sizeof(XLAT_STR_52) -# endif -# ifdef XLAT_STR_53 - + sizeof(XLAT_STR_53) -# endif -# ifdef XLAT_STR_54 - + sizeof(XLAT_STR_54) -# endif -# ifdef XLAT_STR_55 - + sizeof(XLAT_STR_55) -# endif -# ifdef XLAT_STR_56 - + sizeof(XLAT_STR_56) -# endif -# ifdef XLAT_STR_57 - + sizeof(XLAT_STR_57) -# endif -# ifdef XLAT_STR_58 - + sizeof(XLAT_STR_58) -# endif -# ifdef XLAT_STR_59 - + sizeof(XLAT_STR_59) -# endif -# ifdef XLAT_STR_60 - + sizeof(XLAT_STR_60) -# endif -# ifdef XLAT_STR_61 - + sizeof(XLAT_STR_61) -# endif -# ifdef XLAT_STR_62 - + sizeof(XLAT_STR_62) -# endif -# ifdef XLAT_STR_63 - + sizeof(XLAT_STR_63) -# endif -# ifdef XLAT_STR_64 - + sizeof(XLAT_STR_64) -# endif -# ifdef XLAT_STR_65 - + sizeof(XLAT_STR_65) -# endif -# ifdef XLAT_STR_66 - + sizeof(XLAT_STR_66) -# endif -# ifdef XLAT_STR_67 - + sizeof(XLAT_STR_67) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# undef XLAT_STR_20 -# undef XLAT_VAL_20 -# undef XLAT_STR_21 -# undef XLAT_VAL_21 -# undef XLAT_STR_22 -# undef XLAT_VAL_22 -# undef XLAT_STR_23 -# undef XLAT_VAL_23 -# undef XLAT_STR_24 -# undef XLAT_VAL_24 -# undef XLAT_STR_25 -# undef XLAT_VAL_25 -# undef XLAT_STR_26 -# undef XLAT_VAL_26 -# undef XLAT_STR_27 -# undef XLAT_VAL_27 -# undef XLAT_STR_28 -# undef XLAT_VAL_28 -# undef XLAT_STR_29 -# undef XLAT_VAL_29 -# undef XLAT_STR_30 -# undef XLAT_VAL_30 -# undef XLAT_STR_31 -# undef XLAT_VAL_31 -# undef XLAT_STR_32 -# undef XLAT_VAL_32 -# undef XLAT_STR_33 -# undef XLAT_VAL_33 -# undef XLAT_STR_34 -# undef XLAT_VAL_34 -# undef XLAT_STR_35 -# undef XLAT_VAL_35 -# undef XLAT_STR_36 -# undef XLAT_VAL_36 -# undef XLAT_STR_37 -# undef XLAT_VAL_37 -# undef XLAT_STR_38 -# undef XLAT_VAL_38 -# undef XLAT_STR_39 -# undef XLAT_VAL_39 -# undef XLAT_STR_40 -# undef XLAT_VAL_40 -# undef XLAT_STR_41 -# undef XLAT_VAL_41 -# undef XLAT_STR_42 -# undef XLAT_VAL_42 -# undef XLAT_STR_43 -# undef XLAT_VAL_43 -# undef XLAT_STR_44 -# undef XLAT_VAL_44 -# undef XLAT_STR_45 -# undef XLAT_VAL_45 -# undef XLAT_STR_46 -# undef XLAT_VAL_46 -# undef XLAT_STR_47 -# undef XLAT_VAL_47 -# undef XLAT_STR_48 -# undef XLAT_VAL_48 -# undef XLAT_STR_49 -# undef XLAT_VAL_49 -# undef XLAT_STR_50 -# undef XLAT_VAL_50 -# undef XLAT_STR_51 -# undef XLAT_VAL_51 -# undef XLAT_STR_52 -# undef XLAT_VAL_52 -# undef XLAT_STR_53 -# undef XLAT_VAL_53 -# undef XLAT_STR_54 -# undef XLAT_VAL_54 -# undef XLAT_STR_55 -# undef XLAT_VAL_55 -# undef XLAT_STR_56 -# undef XLAT_VAL_56 -# undef XLAT_STR_57 -# undef XLAT_VAL_57 -# undef XLAT_STR_58 -# undef XLAT_VAL_58 -# undef XLAT_STR_59 -# undef XLAT_VAL_59 -# undef XLAT_STR_60 -# undef XLAT_VAL_60 -# undef XLAT_STR_61 -# undef XLAT_VAL_61 -# undef XLAT_STR_62 -# undef XLAT_VAL_62 -# undef XLAT_STR_63 -# undef XLAT_VAL_63 -# undef XLAT_STR_64 -# undef XLAT_VAL_64 -# undef XLAT_STR_65 -# undef XLAT_VAL_65 -# undef XLAT_STR_66 -# undef XLAT_VAL_66 -# undef XLAT_STR_67 -# undef XLAT_VAL_67 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_kern.in
Deleted
@@ -1,73 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -KERN_OSTYPE -KERN_OSRELEASE -KERN_OSREV -KERN_VERSION -KERN_SECUREMASK -KERN_PROF -KERN_NODENAME -KERN_DOMAINNAME -KERN_PANIC -KERN_REALROOTDEV -KERN_SPARC_REBOOT -KERN_CTLALTDEL -KERN_PRINTK -KERN_NAMETRANS -KERN_PPC_HTABRECLAIM -KERN_PPC_ZEROPAGED -KERN_PPC_POWERSAVE_NAP -KERN_MODPROBE -KERN_SG_BIG_BUFF -KERN_ACCT -KERN_PPC_L2CR -KERN_RTSIGNR -KERN_RTSIGMAX -KERN_SHMMAX -KERN_MSGMAX -KERN_MSGMNB -KERN_MSGPOOL -KERN_SYSRQ -KERN_MAX_THREADS -KERN_RANDOM -KERN_SHMALL -KERN_MSGMNI -KERN_SEM -KERN_SPARC_STOP_A -KERN_SHMMNI -KERN_OVERFLOWUID -KERN_OVERFLOWGID -KERN_SHMPATH -KERN_HOTPLUG -KERN_IEEE_EMULATION_WARNINGS -KERN_S390_USER_DEBUG_LOGGING -KERN_CORE_USES_PID -KERN_TAINTED -KERN_CADPID -KERN_PIDMAX -KERN_CORE_PATTERN -KERN_PANIC_ON_OOPS -KERN_HPPA_PWRSW -KERN_HPPA_UNALIGNED -#conditional -KERN_PRINTK_RATELIMIT -KERN_PRINTK_RATELIMIT_BURST -KERN_PTY -KERN_NGROUPS_MAX -KERN_SPARC_SCONS_PWROFF -KERN_HZ_TIMER -KERN_UNKNOWN_NMI_PANIC -KERN_BOOTLOADER_TYPE -KERN_RANDOMIZE -KERN_SETUID_DUMPABLE -KERN_SPIN_RETRY -KERN_ACPI_VIDEO_FLAGS -KERN_IA64_UNALIGNED -KERN_COMPAT_LOG -KERN_MAX_LOCK_DEPTH -KERN_NMI_WATCHDOG -KERN_PANIC_ON_NMI -KERN_PANIC_ON_WARN -KERN_PANIC_PRINT
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_kern.m4
Deleted
@@ -1,75 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_kern.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_kern, -AC_CHECK_DECLS(m4_normalize( -KERN_OSTYPE, -KERN_OSRELEASE, -KERN_OSREV, -KERN_VERSION, -KERN_SECUREMASK, -KERN_PROF, -KERN_NODENAME, -KERN_DOMAINNAME, -KERN_PANIC, -KERN_REALROOTDEV, -KERN_SPARC_REBOOT, -KERN_CTLALTDEL, -KERN_PRINTK, -KERN_NAMETRANS, -KERN_PPC_HTABRECLAIM, -KERN_PPC_ZEROPAGED, -KERN_PPC_POWERSAVE_NAP, -KERN_MODPROBE, -KERN_SG_BIG_BUFF, -KERN_ACCT, -KERN_PPC_L2CR, -KERN_RTSIGNR, -KERN_RTSIGMAX, -KERN_SHMMAX, -KERN_MSGMAX, -KERN_MSGMNB, -KERN_MSGPOOL, -KERN_SYSRQ, -KERN_MAX_THREADS, -KERN_RANDOM, -KERN_SHMALL, -KERN_MSGMNI, -KERN_SEM, -KERN_SPARC_STOP_A, -KERN_SHMMNI, -KERN_OVERFLOWUID, -KERN_OVERFLOWGID, -KERN_SHMPATH, -KERN_HOTPLUG, -KERN_IEEE_EMULATION_WARNINGS, -KERN_S390_USER_DEBUG_LOGGING, -KERN_CORE_USES_PID, -KERN_TAINTED, -KERN_CADPID, -KERN_PIDMAX, -KERN_CORE_PATTERN, -KERN_PANIC_ON_OOPS, -KERN_HPPA_PWRSW, -KERN_HPPA_UNALIGNED, -KERN_PRINTK_RATELIMIT, -KERN_PRINTK_RATELIMIT_BURST, -KERN_PTY, -KERN_NGROUPS_MAX, -KERN_SPARC_SCONS_PWROFF, -KERN_HZ_TIMER, -KERN_UNKNOWN_NMI_PANIC, -KERN_BOOTLOADER_TYPE, -KERN_RANDOMIZE, -KERN_SETUID_DUMPABLE, -KERN_SPIN_RETRY, -KERN_ACPI_VIDEO_FLAGS, -KERN_IA64_UNALIGNED, -KERN_COMPAT_LOG, -KERN_MAX_LOCK_DEPTH, -KERN_NMI_WATCHDOG, -KERN_PANIC_ON_NMI, -KERN_PANIC_ON_WARN, -KERN_PANIC_PRINT -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net.h
Deleted
@@ -1,271 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_xdata = { - XLAT(NET_CORE), - #define XLAT_VAL_0 ((unsigned) (NET_CORE)) - #define XLAT_STR_0 STRINGIFY(NET_CORE) - XLAT(NET_ETHER), - #define XLAT_VAL_1 ((unsigned) (NET_ETHER)) - #define XLAT_STR_1 STRINGIFY(NET_ETHER) - XLAT(NET_802), - #define XLAT_VAL_2 ((unsigned) (NET_802)) - #define XLAT_STR_2 STRINGIFY(NET_802) - XLAT(NET_UNIX), - #define XLAT_VAL_3 ((unsigned) (NET_UNIX)) - #define XLAT_STR_3 STRINGIFY(NET_UNIX) - XLAT(NET_IPV4), - #define XLAT_VAL_4 ((unsigned) (NET_IPV4)) - #define XLAT_STR_4 STRINGIFY(NET_IPV4) - XLAT(NET_IPX), - #define XLAT_VAL_5 ((unsigned) (NET_IPX)) - #define XLAT_STR_5 STRINGIFY(NET_IPX) - XLAT(NET_ATALK), - #define XLAT_VAL_6 ((unsigned) (NET_ATALK)) - #define XLAT_STR_6 STRINGIFY(NET_ATALK) - XLAT(NET_NETROM), - #define XLAT_VAL_7 ((unsigned) (NET_NETROM)) - #define XLAT_STR_7 STRINGIFY(NET_NETROM) - XLAT(NET_AX25), - #define XLAT_VAL_8 ((unsigned) (NET_AX25)) - #define XLAT_STR_8 STRINGIFY(NET_AX25) - XLAT(NET_BRIDGE), - #define XLAT_VAL_9 ((unsigned) (NET_BRIDGE)) - #define XLAT_STR_9 STRINGIFY(NET_BRIDGE) - XLAT(NET_ROSE), - #define XLAT_VAL_10 ((unsigned) (NET_ROSE)) - #define XLAT_STR_10 STRINGIFY(NET_ROSE) - XLAT(NET_IPV6), - #define XLAT_VAL_11 ((unsigned) (NET_IPV6)) - #define XLAT_STR_11 STRINGIFY(NET_IPV6) - XLAT(NET_X25), - #define XLAT_VAL_12 ((unsigned) (NET_X25)) - #define XLAT_STR_12 STRINGIFY(NET_X25) - XLAT(NET_TR), - #define XLAT_VAL_13 ((unsigned) (NET_TR)) - #define XLAT_STR_13 STRINGIFY(NET_TR) - XLAT(NET_DECNET), - #define XLAT_VAL_14 ((unsigned) (NET_DECNET)) - #define XLAT_STR_14 STRINGIFY(NET_DECNET) - XLAT(NET_ECONET), - #define XLAT_VAL_15 ((unsigned) (NET_ECONET)) - #define XLAT_STR_15 STRINGIFY(NET_ECONET) - XLAT(NET_SCTP), - #define XLAT_VAL_16 ((unsigned) (NET_SCTP)) - #define XLAT_STR_16 STRINGIFY(NET_SCTP) -#if defined(NET_LLC) || (defined(HAVE_DECL_NET_LLC) && HAVE_DECL_NET_LLC) - XLAT(NET_LLC), - #define XLAT_VAL_17 ((unsigned) (NET_LLC)) - #define XLAT_STR_17 STRINGIFY(NET_LLC) -#endif -#if defined(NET_NETFILTER) || (defined(HAVE_DECL_NET_NETFILTER) && HAVE_DECL_NET_NETFILTER) - XLAT(NET_NETFILTER), - #define XLAT_VAL_18 ((unsigned) (NET_NETFILTER)) - #define XLAT_STR_18 STRINGIFY(NET_NETFILTER) -#endif -#if defined(NET_DCCP) || (defined(HAVE_DECL_NET_DCCP) && HAVE_DECL_NET_DCCP) - XLAT(NET_DCCP), - #define XLAT_VAL_19 ((unsigned) (NET_DCCP)) - #define XLAT_STR_19 STRINGIFY(NET_DCCP) -#endif -#if defined(NET_IRDA) || (defined(HAVE_DECL_NET_IRDA) && HAVE_DECL_NET_IRDA) - XLAT(NET_IRDA), - #define XLAT_VAL_20 ((unsigned) (NET_IRDA)) - #define XLAT_STR_20 STRINGIFY(NET_IRDA) -#endif -}; -static -const struct xlat sysctl_net1 = { { - .data = sysctl_net_xdata, - .size = ARRAY_SIZE(sysctl_net_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif -# ifdef XLAT_VAL_20 - | XLAT_VAL_20 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif -# ifdef XLAT_STR_20 - + sizeof(XLAT_STR_20) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# undef XLAT_STR_20 -# undef XLAT_VAL_20 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net.in
Deleted
@@ -1,26 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_CORE -NET_ETHER -NET_802 -NET_UNIX -NET_IPV4 -NET_IPX -NET_ATALK -NET_NETROM -NET_AX25 -NET_BRIDGE -NET_ROSE -NET_IPV6 -NET_X25 -NET_TR -NET_DECNET -NET_ECONET -NET_SCTP -#conditional -NET_LLC -NET_NETFILTER -NET_DCCP -NET_IRDA
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net.m4
Deleted
@@ -1,28 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net, -AC_CHECK_DECLS(m4_normalize( -NET_CORE, -NET_ETHER, -NET_802, -NET_UNIX, -NET_IPV4, -NET_IPX, -NET_ATALK, -NET_NETROM, -NET_AX25, -NET_BRIDGE, -NET_ROSE, -NET_IPV6, -NET_X25, -NET_TR, -NET_DECNET, -NET_ECONET, -NET_SCTP, -NET_LLC, -NET_NETFILTER, -NET_DCCP, -NET_IRDA -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_core.h
Deleted
@@ -1,284 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_core.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_core in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_core_xdata = { - XLAT(NET_CORE_WMEM_MAX), - #define XLAT_VAL_0 ((unsigned) (NET_CORE_WMEM_MAX)) - #define XLAT_STR_0 STRINGIFY(NET_CORE_WMEM_MAX) - XLAT(NET_CORE_RMEM_MAX), - #define XLAT_VAL_1 ((unsigned) (NET_CORE_RMEM_MAX)) - #define XLAT_STR_1 STRINGIFY(NET_CORE_RMEM_MAX) - XLAT(NET_CORE_WMEM_DEFAULT), - #define XLAT_VAL_2 ((unsigned) (NET_CORE_WMEM_DEFAULT)) - #define XLAT_STR_2 STRINGIFY(NET_CORE_WMEM_DEFAULT) - XLAT(NET_CORE_RMEM_DEFAULT), - #define XLAT_VAL_3 ((unsigned) (NET_CORE_RMEM_DEFAULT)) - #define XLAT_STR_3 STRINGIFY(NET_CORE_RMEM_DEFAULT) - XLAT(NET_CORE_MAX_BACKLOG), - #define XLAT_VAL_4 ((unsigned) (NET_CORE_MAX_BACKLOG)) - #define XLAT_STR_4 STRINGIFY(NET_CORE_MAX_BACKLOG) - XLAT(NET_CORE_FASTROUTE), - #define XLAT_VAL_5 ((unsigned) (NET_CORE_FASTROUTE)) - #define XLAT_STR_5 STRINGIFY(NET_CORE_FASTROUTE) - XLAT(NET_CORE_MSG_COST), - #define XLAT_VAL_6 ((unsigned) (NET_CORE_MSG_COST)) - #define XLAT_STR_6 STRINGIFY(NET_CORE_MSG_COST) - XLAT(NET_CORE_MSG_BURST), - #define XLAT_VAL_7 ((unsigned) (NET_CORE_MSG_BURST)) - #define XLAT_STR_7 STRINGIFY(NET_CORE_MSG_BURST) - XLAT(NET_CORE_OPTMEM_MAX), - #define XLAT_VAL_8 ((unsigned) (NET_CORE_OPTMEM_MAX)) - #define XLAT_STR_8 STRINGIFY(NET_CORE_OPTMEM_MAX) - XLAT(NET_CORE_HOT_LIST_LENGTH), - #define XLAT_VAL_9 ((unsigned) (NET_CORE_HOT_LIST_LENGTH)) - #define XLAT_STR_9 STRINGIFY(NET_CORE_HOT_LIST_LENGTH) - XLAT(NET_CORE_DIVERT_VERSION), - #define XLAT_VAL_10 ((unsigned) (NET_CORE_DIVERT_VERSION)) - #define XLAT_STR_10 STRINGIFY(NET_CORE_DIVERT_VERSION) - XLAT(NET_CORE_NO_CONG_THRESH), - #define XLAT_VAL_11 ((unsigned) (NET_CORE_NO_CONG_THRESH)) - #define XLAT_STR_11 STRINGIFY(NET_CORE_NO_CONG_THRESH) - XLAT(NET_CORE_NO_CONG), - #define XLAT_VAL_12 ((unsigned) (NET_CORE_NO_CONG)) - #define XLAT_STR_12 STRINGIFY(NET_CORE_NO_CONG) - XLAT(NET_CORE_LO_CONG), - #define XLAT_VAL_13 ((unsigned) (NET_CORE_LO_CONG)) - #define XLAT_STR_13 STRINGIFY(NET_CORE_LO_CONG) - XLAT(NET_CORE_MOD_CONG), - #define XLAT_VAL_14 ((unsigned) (NET_CORE_MOD_CONG)) - #define XLAT_STR_14 STRINGIFY(NET_CORE_MOD_CONG) - XLAT(NET_CORE_DEV_WEIGHT), - #define XLAT_VAL_15 ((unsigned) (NET_CORE_DEV_WEIGHT)) - #define XLAT_STR_15 STRINGIFY(NET_CORE_DEV_WEIGHT) - XLAT(NET_CORE_SOMAXCONN), - #define XLAT_VAL_16 ((unsigned) (NET_CORE_SOMAXCONN)) - #define XLAT_STR_16 STRINGIFY(NET_CORE_SOMAXCONN) -#if defined(NET_CORE_DESTROY_DELAY) || (defined(HAVE_DECL_NET_CORE_DESTROY_DELAY) && HAVE_DECL_NET_CORE_DESTROY_DELAY) - XLAT(NET_CORE_DESTROY_DELAY), - #define XLAT_VAL_17 ((unsigned) (NET_CORE_DESTROY_DELAY)) - #define XLAT_STR_17 STRINGIFY(NET_CORE_DESTROY_DELAY) -#endif -#if defined(NET_CORE_BUDGET) || (defined(HAVE_DECL_NET_CORE_BUDGET) && HAVE_DECL_NET_CORE_BUDGET) - XLAT(NET_CORE_BUDGET), - #define XLAT_VAL_18 ((unsigned) (NET_CORE_BUDGET)) - #define XLAT_STR_18 STRINGIFY(NET_CORE_BUDGET) -#endif -#if defined(NET_CORE_AEVENT_ETIME) || (defined(HAVE_DECL_NET_CORE_AEVENT_ETIME) && HAVE_DECL_NET_CORE_AEVENT_ETIME) - XLAT(NET_CORE_AEVENT_ETIME), - #define XLAT_VAL_19 ((unsigned) (NET_CORE_AEVENT_ETIME)) - #define XLAT_STR_19 STRINGIFY(NET_CORE_AEVENT_ETIME) -#endif -#if defined(NET_CORE_AEVENT_RSEQTH) || (defined(HAVE_DECL_NET_CORE_AEVENT_RSEQTH) && HAVE_DECL_NET_CORE_AEVENT_RSEQTH) - XLAT(NET_CORE_AEVENT_RSEQTH), - #define XLAT_VAL_20 ((unsigned) (NET_CORE_AEVENT_RSEQTH)) - #define XLAT_STR_20 STRINGIFY(NET_CORE_AEVENT_RSEQTH) -#endif -#if defined(NET_CORE_WARNINGS) || (defined(HAVE_DECL_NET_CORE_WARNINGS) && HAVE_DECL_NET_CORE_WARNINGS) - XLAT(NET_CORE_WARNINGS), - #define XLAT_VAL_21 ((unsigned) (NET_CORE_WARNINGS)) - #define XLAT_STR_21 STRINGIFY(NET_CORE_WARNINGS) -#endif -}; -static -const struct xlat sysctl_net_core1 = { { - .data = sysctl_net_core_xdata, - .size = ARRAY_SIZE(sysctl_net_core_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif -# ifdef XLAT_VAL_20 - | XLAT_VAL_20 -# endif -# ifdef XLAT_VAL_21 - | XLAT_VAL_21 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif -# ifdef XLAT_STR_20 - + sizeof(XLAT_STR_20) -# endif -# ifdef XLAT_STR_21 - + sizeof(XLAT_STR_21) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# undef XLAT_STR_20 -# undef XLAT_VAL_20 -# undef XLAT_STR_21 -# undef XLAT_VAL_21 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_core.in
Deleted
@@ -1,27 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_CORE_WMEM_MAX -NET_CORE_RMEM_MAX -NET_CORE_WMEM_DEFAULT -NET_CORE_RMEM_DEFAULT -NET_CORE_MAX_BACKLOG -NET_CORE_FASTROUTE -NET_CORE_MSG_COST -NET_CORE_MSG_BURST -NET_CORE_OPTMEM_MAX -NET_CORE_HOT_LIST_LENGTH -NET_CORE_DIVERT_VERSION -NET_CORE_NO_CONG_THRESH -NET_CORE_NO_CONG -NET_CORE_LO_CONG -NET_CORE_MOD_CONG -NET_CORE_DEV_WEIGHT -NET_CORE_SOMAXCONN -#conditional -NET_CORE_DESTROY_DELAY -NET_CORE_BUDGET -NET_CORE_AEVENT_ETIME -NET_CORE_AEVENT_RSEQTH -NET_CORE_WARNINGS
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_core.m4
Deleted
@@ -1,29 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_core.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_core, -AC_CHECK_DECLS(m4_normalize( -NET_CORE_WMEM_MAX, -NET_CORE_RMEM_MAX, -NET_CORE_WMEM_DEFAULT, -NET_CORE_RMEM_DEFAULT, -NET_CORE_MAX_BACKLOG, -NET_CORE_FASTROUTE, -NET_CORE_MSG_COST, -NET_CORE_MSG_BURST, -NET_CORE_OPTMEM_MAX, -NET_CORE_HOT_LIST_LENGTH, -NET_CORE_DIVERT_VERSION, -NET_CORE_NO_CONG_THRESH, -NET_CORE_NO_CONG, -NET_CORE_LO_CONG, -NET_CORE_MOD_CONG, -NET_CORE_DEV_WEIGHT, -NET_CORE_SOMAXCONN, -NET_CORE_DESTROY_DELAY, -NET_CORE_BUDGET, -NET_CORE_AEVENT_ETIME, -NET_CORE_AEVENT_RSEQTH, -NET_CORE_WARNINGS -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4.h
Deleted
@@ -1,1090 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_ipv4 in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_ipv4_xdata = { - XLAT(NET_IPV4_FORWARD), - #define XLAT_VAL_0 ((unsigned) (NET_IPV4_FORWARD)) - #define XLAT_STR_0 STRINGIFY(NET_IPV4_FORWARD) - XLAT(NET_IPV4_DYNADDR), - #define XLAT_VAL_1 ((unsigned) (NET_IPV4_DYNADDR)) - #define XLAT_STR_1 STRINGIFY(NET_IPV4_DYNADDR) - XLAT(NET_IPV4_CONF), - #define XLAT_VAL_2 ((unsigned) (NET_IPV4_CONF)) - #define XLAT_STR_2 STRINGIFY(NET_IPV4_CONF) - XLAT(NET_IPV4_NEIGH), - #define XLAT_VAL_3 ((unsigned) (NET_IPV4_NEIGH)) - #define XLAT_STR_3 STRINGIFY(NET_IPV4_NEIGH) - XLAT(NET_IPV4_ROUTE), - #define XLAT_VAL_4 ((unsigned) (NET_IPV4_ROUTE)) - #define XLAT_STR_4 STRINGIFY(NET_IPV4_ROUTE) - XLAT(NET_IPV4_FIB_HASH), - #define XLAT_VAL_5 ((unsigned) (NET_IPV4_FIB_HASH)) - #define XLAT_STR_5 STRINGIFY(NET_IPV4_FIB_HASH) - XLAT(NET_IPV4_NETFILTER), - #define XLAT_VAL_6 ((unsigned) (NET_IPV4_NETFILTER)) - #define XLAT_STR_6 STRINGIFY(NET_IPV4_NETFILTER) - XLAT(NET_IPV4_TCP_TIMESTAMPS), - #define XLAT_VAL_7 ((unsigned) (NET_IPV4_TCP_TIMESTAMPS)) - #define XLAT_STR_7 STRINGIFY(NET_IPV4_TCP_TIMESTAMPS) - XLAT(NET_IPV4_TCP_WINDOW_SCALING), - #define XLAT_VAL_8 ((unsigned) (NET_IPV4_TCP_WINDOW_SCALING)) - #define XLAT_STR_8 STRINGIFY(NET_IPV4_TCP_WINDOW_SCALING) - XLAT(NET_IPV4_TCP_SACK), - #define XLAT_VAL_9 ((unsigned) (NET_IPV4_TCP_SACK)) - #define XLAT_STR_9 STRINGIFY(NET_IPV4_TCP_SACK) - XLAT(NET_IPV4_TCP_RETRANS_COLLAPSE), - #define XLAT_VAL_10 ((unsigned) (NET_IPV4_TCP_RETRANS_COLLAPSE)) - #define XLAT_STR_10 STRINGIFY(NET_IPV4_TCP_RETRANS_COLLAPSE) - XLAT(NET_IPV4_DEFAULT_TTL), - #define XLAT_VAL_11 ((unsigned) (NET_IPV4_DEFAULT_TTL)) - #define XLAT_STR_11 STRINGIFY(NET_IPV4_DEFAULT_TTL) - XLAT(NET_IPV4_AUTOCONFIG), - #define XLAT_VAL_12 ((unsigned) (NET_IPV4_AUTOCONFIG)) - #define XLAT_STR_12 STRINGIFY(NET_IPV4_AUTOCONFIG) - XLAT(NET_IPV4_NO_PMTU_DISC), - #define XLAT_VAL_13 ((unsigned) (NET_IPV4_NO_PMTU_DISC)) - #define XLAT_STR_13 STRINGIFY(NET_IPV4_NO_PMTU_DISC) - XLAT(NET_IPV4_TCP_SYN_RETRIES), - #define XLAT_VAL_14 ((unsigned) (NET_IPV4_TCP_SYN_RETRIES)) - #define XLAT_STR_14 STRINGIFY(NET_IPV4_TCP_SYN_RETRIES) - XLAT(NET_IPV4_IPFRAG_HIGH_THRESH), - #define XLAT_VAL_15 ((unsigned) (NET_IPV4_IPFRAG_HIGH_THRESH)) - #define XLAT_STR_15 STRINGIFY(NET_IPV4_IPFRAG_HIGH_THRESH) - XLAT(NET_IPV4_IPFRAG_LOW_THRESH), - #define XLAT_VAL_16 ((unsigned) (NET_IPV4_IPFRAG_LOW_THRESH)) - #define XLAT_STR_16 STRINGIFY(NET_IPV4_IPFRAG_LOW_THRESH) - XLAT(NET_IPV4_IPFRAG_TIME), - #define XLAT_VAL_17 ((unsigned) (NET_IPV4_IPFRAG_TIME)) - #define XLAT_STR_17 STRINGIFY(NET_IPV4_IPFRAG_TIME) - XLAT(NET_IPV4_TCP_MAX_KA_PROBES), - #define XLAT_VAL_18 ((unsigned) (NET_IPV4_TCP_MAX_KA_PROBES)) - #define XLAT_STR_18 STRINGIFY(NET_IPV4_TCP_MAX_KA_PROBES) - XLAT(NET_IPV4_TCP_KEEPALIVE_TIME), - #define XLAT_VAL_19 ((unsigned) (NET_IPV4_TCP_KEEPALIVE_TIME)) - #define XLAT_STR_19 STRINGIFY(NET_IPV4_TCP_KEEPALIVE_TIME) - XLAT(NET_IPV4_TCP_KEEPALIVE_PROBES), - #define XLAT_VAL_20 ((unsigned) (NET_IPV4_TCP_KEEPALIVE_PROBES)) - #define XLAT_STR_20 STRINGIFY(NET_IPV4_TCP_KEEPALIVE_PROBES) - XLAT(NET_IPV4_TCP_RETRIES1), - #define XLAT_VAL_21 ((unsigned) (NET_IPV4_TCP_RETRIES1)) - #define XLAT_STR_21 STRINGIFY(NET_IPV4_TCP_RETRIES1) - XLAT(NET_IPV4_TCP_RETRIES2), - #define XLAT_VAL_22 ((unsigned) (NET_IPV4_TCP_RETRIES2)) - #define XLAT_STR_22 STRINGIFY(NET_IPV4_TCP_RETRIES2) - XLAT(NET_IPV4_TCP_FIN_TIMEOUT), - #define XLAT_VAL_23 ((unsigned) (NET_IPV4_TCP_FIN_TIMEOUT)) - #define XLAT_STR_23 STRINGIFY(NET_IPV4_TCP_FIN_TIMEOUT) - XLAT(NET_IPV4_IP_MASQ_DEBUG), - #define XLAT_VAL_24 ((unsigned) (NET_IPV4_IP_MASQ_DEBUG)) - #define XLAT_STR_24 STRINGIFY(NET_IPV4_IP_MASQ_DEBUG) - XLAT(NET_TCP_SYNCOOKIES), - #define XLAT_VAL_25 ((unsigned) (NET_TCP_SYNCOOKIES)) - #define XLAT_STR_25 STRINGIFY(NET_TCP_SYNCOOKIES) - XLAT(NET_TCP_STDURG), - #define XLAT_VAL_26 ((unsigned) (NET_TCP_STDURG)) - #define XLAT_STR_26 STRINGIFY(NET_TCP_STDURG) - XLAT(NET_TCP_RFC1337), - #define XLAT_VAL_27 ((unsigned) (NET_TCP_RFC1337)) - #define XLAT_STR_27 STRINGIFY(NET_TCP_RFC1337) - XLAT(NET_TCP_SYN_TAILDROP), - #define XLAT_VAL_28 ((unsigned) (NET_TCP_SYN_TAILDROP)) - #define XLAT_STR_28 STRINGIFY(NET_TCP_SYN_TAILDROP) - XLAT(NET_TCP_MAX_SYN_BACKLOG), - #define XLAT_VAL_29 ((unsigned) (NET_TCP_MAX_SYN_BACKLOG)) - #define XLAT_STR_29 STRINGIFY(NET_TCP_MAX_SYN_BACKLOG) - XLAT(NET_IPV4_LOCAL_PORT_RANGE), - #define XLAT_VAL_30 ((unsigned) (NET_IPV4_LOCAL_PORT_RANGE)) - #define XLAT_STR_30 STRINGIFY(NET_IPV4_LOCAL_PORT_RANGE) - XLAT(NET_IPV4_ICMP_ECHO_IGNORE_ALL), - #define XLAT_VAL_31 ((unsigned) (NET_IPV4_ICMP_ECHO_IGNORE_ALL)) - #define XLAT_STR_31 STRINGIFY(NET_IPV4_ICMP_ECHO_IGNORE_ALL) - XLAT(NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS), - #define XLAT_VAL_32 ((unsigned) (NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS)) - #define XLAT_STR_32 STRINGIFY(NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS) - XLAT(NET_IPV4_ICMP_SOURCEQUENCH_RATE), - #define XLAT_VAL_33 ((unsigned) (NET_IPV4_ICMP_SOURCEQUENCH_RATE)) - #define XLAT_STR_33 STRINGIFY(NET_IPV4_ICMP_SOURCEQUENCH_RATE) - XLAT(NET_IPV4_ICMP_DESTUNREACH_RATE), - #define XLAT_VAL_34 ((unsigned) (NET_IPV4_ICMP_DESTUNREACH_RATE)) - #define XLAT_STR_34 STRINGIFY(NET_IPV4_ICMP_DESTUNREACH_RATE) - XLAT(NET_IPV4_ICMP_TIMEEXCEED_RATE), - #define XLAT_VAL_35 ((unsigned) (NET_IPV4_ICMP_TIMEEXCEED_RATE)) - #define XLAT_STR_35 STRINGIFY(NET_IPV4_ICMP_TIMEEXCEED_RATE) - XLAT(NET_IPV4_ICMP_PARAMPROB_RATE), - #define XLAT_VAL_36 ((unsigned) (NET_IPV4_ICMP_PARAMPROB_RATE)) - #define XLAT_STR_36 STRINGIFY(NET_IPV4_ICMP_PARAMPROB_RATE) - XLAT(NET_IPV4_ICMP_ECHOREPLY_RATE), - #define XLAT_VAL_37 ((unsigned) (NET_IPV4_ICMP_ECHOREPLY_RATE)) - #define XLAT_STR_37 STRINGIFY(NET_IPV4_ICMP_ECHOREPLY_RATE) - XLAT(NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES), - #define XLAT_VAL_38 ((unsigned) (NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES)) - #define XLAT_STR_38 STRINGIFY(NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES) - XLAT(NET_IPV4_IGMP_MAX_MEMBERSHIPS), - #define XLAT_VAL_39 ((unsigned) (NET_IPV4_IGMP_MAX_MEMBERSHIPS)) - #define XLAT_STR_39 STRINGIFY(NET_IPV4_IGMP_MAX_MEMBERSHIPS) - XLAT(NET_TCP_TW_RECYCLE), - #define XLAT_VAL_40 ((unsigned) (NET_TCP_TW_RECYCLE)) - #define XLAT_STR_40 STRINGIFY(NET_TCP_TW_RECYCLE) - XLAT(NET_IPV4_ALWAYS_DEFRAG), - #define XLAT_VAL_41 ((unsigned) (NET_IPV4_ALWAYS_DEFRAG)) - #define XLAT_STR_41 STRINGIFY(NET_IPV4_ALWAYS_DEFRAG) - XLAT(NET_IPV4_TCP_KEEPALIVE_INTVL), - #define XLAT_VAL_42 ((unsigned) (NET_IPV4_TCP_KEEPALIVE_INTVL)) - #define XLAT_STR_42 STRINGIFY(NET_IPV4_TCP_KEEPALIVE_INTVL) - XLAT(NET_IPV4_INET_PEER_THRESHOLD), - #define XLAT_VAL_43 ((unsigned) (NET_IPV4_INET_PEER_THRESHOLD)) - #define XLAT_STR_43 STRINGIFY(NET_IPV4_INET_PEER_THRESHOLD) - XLAT(NET_IPV4_INET_PEER_MINTTL), - #define XLAT_VAL_44 ((unsigned) (NET_IPV4_INET_PEER_MINTTL)) - #define XLAT_STR_44 STRINGIFY(NET_IPV4_INET_PEER_MINTTL) - XLAT(NET_IPV4_INET_PEER_MAXTTL), - #define XLAT_VAL_45 ((unsigned) (NET_IPV4_INET_PEER_MAXTTL)) - #define XLAT_STR_45 STRINGIFY(NET_IPV4_INET_PEER_MAXTTL) - XLAT(NET_IPV4_INET_PEER_GC_MINTIME), - #define XLAT_VAL_46 ((unsigned) (NET_IPV4_INET_PEER_GC_MINTIME)) - #define XLAT_STR_46 STRINGIFY(NET_IPV4_INET_PEER_GC_MINTIME) - XLAT(NET_IPV4_INET_PEER_GC_MAXTIME), - #define XLAT_VAL_47 ((unsigned) (NET_IPV4_INET_PEER_GC_MAXTIME)) - #define XLAT_STR_47 STRINGIFY(NET_IPV4_INET_PEER_GC_MAXTIME) - XLAT(NET_TCP_ORPHAN_RETRIES), - #define XLAT_VAL_48 ((unsigned) (NET_TCP_ORPHAN_RETRIES)) - #define XLAT_STR_48 STRINGIFY(NET_TCP_ORPHAN_RETRIES) - XLAT(NET_TCP_ABORT_ON_OVERFLOW), - #define XLAT_VAL_49 ((unsigned) (NET_TCP_ABORT_ON_OVERFLOW)) - #define XLAT_STR_49 STRINGIFY(NET_TCP_ABORT_ON_OVERFLOW) - XLAT(NET_TCP_SYNACK_RETRIES), - #define XLAT_VAL_50 ((unsigned) (NET_TCP_SYNACK_RETRIES)) - #define XLAT_STR_50 STRINGIFY(NET_TCP_SYNACK_RETRIES) - XLAT(NET_TCP_MAX_ORPHANS), - #define XLAT_VAL_51 ((unsigned) (NET_TCP_MAX_ORPHANS)) - #define XLAT_STR_51 STRINGIFY(NET_TCP_MAX_ORPHANS) - XLAT(NET_TCP_MAX_TW_BUCKETS), - #define XLAT_VAL_52 ((unsigned) (NET_TCP_MAX_TW_BUCKETS)) - #define XLAT_STR_52 STRINGIFY(NET_TCP_MAX_TW_BUCKETS) - XLAT(NET_TCP_FACK), - #define XLAT_VAL_53 ((unsigned) (NET_TCP_FACK)) - #define XLAT_STR_53 STRINGIFY(NET_TCP_FACK) - XLAT(NET_TCP_REORDERING), - #define XLAT_VAL_54 ((unsigned) (NET_TCP_REORDERING)) - #define XLAT_STR_54 STRINGIFY(NET_TCP_REORDERING) - XLAT(NET_TCP_ECN), - #define XLAT_VAL_55 ((unsigned) (NET_TCP_ECN)) - #define XLAT_STR_55 STRINGIFY(NET_TCP_ECN) - XLAT(NET_TCP_DSACK), - #define XLAT_VAL_56 ((unsigned) (NET_TCP_DSACK)) - #define XLAT_STR_56 STRINGIFY(NET_TCP_DSACK) - XLAT(NET_TCP_MEM), - #define XLAT_VAL_57 ((unsigned) (NET_TCP_MEM)) - #define XLAT_STR_57 STRINGIFY(NET_TCP_MEM) - XLAT(NET_TCP_WMEM), - #define XLAT_VAL_58 ((unsigned) (NET_TCP_WMEM)) - #define XLAT_STR_58 STRINGIFY(NET_TCP_WMEM) - XLAT(NET_TCP_RMEM), - #define XLAT_VAL_59 ((unsigned) (NET_TCP_RMEM)) - #define XLAT_STR_59 STRINGIFY(NET_TCP_RMEM) - XLAT(NET_TCP_APP_WIN), - #define XLAT_VAL_60 ((unsigned) (NET_TCP_APP_WIN)) - #define XLAT_STR_60 STRINGIFY(NET_TCP_APP_WIN) - XLAT(NET_TCP_ADV_WIN_SCALE), - #define XLAT_VAL_61 ((unsigned) (NET_TCP_ADV_WIN_SCALE)) - #define XLAT_STR_61 STRINGIFY(NET_TCP_ADV_WIN_SCALE) - XLAT(NET_IPV4_NONLOCAL_BIND), - #define XLAT_VAL_62 ((unsigned) (NET_IPV4_NONLOCAL_BIND)) - #define XLAT_STR_62 STRINGIFY(NET_IPV4_NONLOCAL_BIND) - XLAT(NET_IPV4_ICMP_RATELIMIT), - #define XLAT_VAL_63 ((unsigned) (NET_IPV4_ICMP_RATELIMIT)) - #define XLAT_STR_63 STRINGIFY(NET_IPV4_ICMP_RATELIMIT) - XLAT(NET_IPV4_ICMP_RATEMASK), - #define XLAT_VAL_64 ((unsigned) (NET_IPV4_ICMP_RATEMASK)) - #define XLAT_STR_64 STRINGIFY(NET_IPV4_ICMP_RATEMASK) - XLAT(NET_TCP_TW_REUSE), - #define XLAT_VAL_65 ((unsigned) (NET_TCP_TW_REUSE)) - #define XLAT_STR_65 STRINGIFY(NET_TCP_TW_REUSE) - XLAT(NET_TCP_FRTO), - #define XLAT_VAL_66 ((unsigned) (NET_TCP_FRTO)) - #define XLAT_STR_66 STRINGIFY(NET_TCP_FRTO) - XLAT(NET_TCP_LOW_LATENCY), - #define XLAT_VAL_67 ((unsigned) (NET_TCP_LOW_LATENCY)) - #define XLAT_STR_67 STRINGIFY(NET_TCP_LOW_LATENCY) - XLAT(NET_IPV4_IPFRAG_SECRET_INTERVAL), - #define XLAT_VAL_68 ((unsigned) (NET_IPV4_IPFRAG_SECRET_INTERVAL)) - #define XLAT_STR_68 STRINGIFY(NET_IPV4_IPFRAG_SECRET_INTERVAL) -#if defined(NET_IPV4_IGMP_MAX_MSF) || (defined(HAVE_DECL_NET_IPV4_IGMP_MAX_MSF) && HAVE_DECL_NET_IPV4_IGMP_MAX_MSF) - XLAT(NET_IPV4_IGMP_MAX_MSF), - #define XLAT_VAL_69 ((unsigned) (NET_IPV4_IGMP_MAX_MSF)) - #define XLAT_STR_69 STRINGIFY(NET_IPV4_IGMP_MAX_MSF) -#endif -#if defined(NET_TCP_NO_METRICS_SAVE) || (defined(HAVE_DECL_NET_TCP_NO_METRICS_SAVE) && HAVE_DECL_NET_TCP_NO_METRICS_SAVE) - XLAT(NET_TCP_NO_METRICS_SAVE), - #define XLAT_VAL_70 ((unsigned) (NET_TCP_NO_METRICS_SAVE)) - #define XLAT_STR_70 STRINGIFY(NET_TCP_NO_METRICS_SAVE) -#endif -#if defined(NET_TCP_DEFAULT_WIN_SCALE) || (defined(HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE) && HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE) - XLAT(NET_TCP_DEFAULT_WIN_SCALE), - #define XLAT_VAL_71 ((unsigned) (NET_TCP_DEFAULT_WIN_SCALE)) - #define XLAT_STR_71 STRINGIFY(NET_TCP_DEFAULT_WIN_SCALE) -#endif -#if defined(NET_TCP_MODERATE_RCVBUF) || (defined(HAVE_DECL_NET_TCP_MODERATE_RCVBUF) && HAVE_DECL_NET_TCP_MODERATE_RCVBUF) - XLAT(NET_TCP_MODERATE_RCVBUF), - #define XLAT_VAL_72 ((unsigned) (NET_TCP_MODERATE_RCVBUF)) - #define XLAT_STR_72 STRINGIFY(NET_TCP_MODERATE_RCVBUF) -#endif -#if defined(NET_TCP_TSO_WIN_DIVISOR) || (defined(HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR) && HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR) - XLAT(NET_TCP_TSO_WIN_DIVISOR), - #define XLAT_VAL_73 ((unsigned) (NET_TCP_TSO_WIN_DIVISOR)) - #define XLAT_STR_73 STRINGIFY(NET_TCP_TSO_WIN_DIVISOR) -#endif -#if defined(NET_TCP_BIC_BETA) || (defined(HAVE_DECL_NET_TCP_BIC_BETA) && HAVE_DECL_NET_TCP_BIC_BETA) - XLAT(NET_TCP_BIC_BETA), - #define XLAT_VAL_74 ((unsigned) (NET_TCP_BIC_BETA)) - #define XLAT_STR_74 STRINGIFY(NET_TCP_BIC_BETA) -#endif -#if defined(NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR) || (defined(HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR) && HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR) - XLAT(NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR), - #define XLAT_VAL_75 ((unsigned) (NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR)) - #define XLAT_STR_75 STRINGIFY(NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR) -#endif -#if defined(NET_TCP_CONG_CONTROL) || (defined(HAVE_DECL_NET_TCP_CONG_CONTROL) && HAVE_DECL_NET_TCP_CONG_CONTROL) - XLAT(NET_TCP_CONG_CONTROL), - #define XLAT_VAL_76 ((unsigned) (NET_TCP_CONG_CONTROL)) - #define XLAT_STR_76 STRINGIFY(NET_TCP_CONG_CONTROL) -#endif -#if defined(NET_TCP_ABC) || (defined(HAVE_DECL_NET_TCP_ABC) && HAVE_DECL_NET_TCP_ABC) - XLAT(NET_TCP_ABC), - #define XLAT_VAL_77 ((unsigned) (NET_TCP_ABC)) - #define XLAT_STR_77 STRINGIFY(NET_TCP_ABC) -#endif -#if defined(NET_IPV4_IPFRAG_MAX_DIST) || (defined(HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST) && HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST) - XLAT(NET_IPV4_IPFRAG_MAX_DIST), - #define XLAT_VAL_78 ((unsigned) (NET_IPV4_IPFRAG_MAX_DIST)) - #define XLAT_STR_78 STRINGIFY(NET_IPV4_IPFRAG_MAX_DIST) -#endif -#if defined(NET_TCP_MTU_PROBING) || (defined(HAVE_DECL_NET_TCP_MTU_PROBING) && HAVE_DECL_NET_TCP_MTU_PROBING) - XLAT(NET_TCP_MTU_PROBING), - #define XLAT_VAL_79 ((unsigned) (NET_TCP_MTU_PROBING)) - #define XLAT_STR_79 STRINGIFY(NET_TCP_MTU_PROBING) -#endif -#if defined(NET_TCP_BASE_MSS) || (defined(HAVE_DECL_NET_TCP_BASE_MSS) && HAVE_DECL_NET_TCP_BASE_MSS) - XLAT(NET_TCP_BASE_MSS), - #define XLAT_VAL_80 ((unsigned) (NET_TCP_BASE_MSS)) - #define XLAT_STR_80 STRINGIFY(NET_TCP_BASE_MSS) -#endif -#if defined(NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS) || (defined(HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS) && HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS) - XLAT(NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS), - #define XLAT_VAL_81 ((unsigned) (NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS)) - #define XLAT_STR_81 STRINGIFY(NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS) -#endif -#if defined(NET_TCP_DMA_COPYBREAK) || (defined(HAVE_DECL_NET_TCP_DMA_COPYBREAK) && HAVE_DECL_NET_TCP_DMA_COPYBREAK) - XLAT(NET_TCP_DMA_COPYBREAK), - #define XLAT_VAL_82 ((unsigned) (NET_TCP_DMA_COPYBREAK)) - #define XLAT_STR_82 STRINGIFY(NET_TCP_DMA_COPYBREAK) -#endif -#if defined(NET_TCP_SLOW_START_AFTER_IDLE) || (defined(HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE) && HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE) - XLAT(NET_TCP_SLOW_START_AFTER_IDLE), - #define XLAT_VAL_83 ((unsigned) (NET_TCP_SLOW_START_AFTER_IDLE)) - #define XLAT_STR_83 STRINGIFY(NET_TCP_SLOW_START_AFTER_IDLE) -#endif -#if defined(NET_CIPSOV4_CACHE_ENABLE) || (defined(HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE) && HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE) - XLAT(NET_CIPSOV4_CACHE_ENABLE), - #define XLAT_VAL_84 ((unsigned) (NET_CIPSOV4_CACHE_ENABLE)) - #define XLAT_STR_84 STRINGIFY(NET_CIPSOV4_CACHE_ENABLE) -#endif -#if defined(NET_CIPSOV4_CACHE_BUCKET_SIZE) || (defined(HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE) && HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE) - XLAT(NET_CIPSOV4_CACHE_BUCKET_SIZE), - #define XLAT_VAL_85 ((unsigned) (NET_CIPSOV4_CACHE_BUCKET_SIZE)) - #define XLAT_STR_85 STRINGIFY(NET_CIPSOV4_CACHE_BUCKET_SIZE) -#endif -#if defined(NET_CIPSOV4_RBM_OPTFMT) || (defined(HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT) && HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT) - XLAT(NET_CIPSOV4_RBM_OPTFMT), - #define XLAT_VAL_86 ((unsigned) (NET_CIPSOV4_RBM_OPTFMT)) - #define XLAT_STR_86 STRINGIFY(NET_CIPSOV4_RBM_OPTFMT) -#endif -#if defined(NET_CIPSOV4_RBM_STRICTVALID) || (defined(HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID) && HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID) - XLAT(NET_CIPSOV4_RBM_STRICTVALID), - #define XLAT_VAL_87 ((unsigned) (NET_CIPSOV4_RBM_STRICTVALID)) - #define XLAT_STR_87 STRINGIFY(NET_CIPSOV4_RBM_STRICTVALID) -#endif -#if defined(NET_TCP_AVAIL_CONG_CONTROL) || (defined(HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL) && HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL) - XLAT(NET_TCP_AVAIL_CONG_CONTROL), - #define XLAT_VAL_88 ((unsigned) (NET_TCP_AVAIL_CONG_CONTROL)) - #define XLAT_STR_88 STRINGIFY(NET_TCP_AVAIL_CONG_CONTROL) -#endif -#if defined(NET_TCP_ALLOWED_CONG_CONTROL) || (defined(HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL) && HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL) - XLAT(NET_TCP_ALLOWED_CONG_CONTROL), - #define XLAT_VAL_89 ((unsigned) (NET_TCP_ALLOWED_CONG_CONTROL)) - #define XLAT_STR_89 STRINGIFY(NET_TCP_ALLOWED_CONG_CONTROL) -#endif -#if defined(NET_TCP_MAX_SSTHRESH) || (defined(HAVE_DECL_NET_TCP_MAX_SSTHRESH) && HAVE_DECL_NET_TCP_MAX_SSTHRESH) - XLAT(NET_TCP_MAX_SSTHRESH), - #define XLAT_VAL_90 ((unsigned) (NET_TCP_MAX_SSTHRESH)) - #define XLAT_STR_90 STRINGIFY(NET_TCP_MAX_SSTHRESH) -#endif -#if defined(NET_TCP_FRTO_RESPONSE) || (defined(HAVE_DECL_NET_TCP_FRTO_RESPONSE) && HAVE_DECL_NET_TCP_FRTO_RESPONSE) - XLAT(NET_TCP_FRTO_RESPONSE), - #define XLAT_VAL_91 ((unsigned) (NET_TCP_FRTO_RESPONSE)) - #define XLAT_STR_91 STRINGIFY(NET_TCP_FRTO_RESPONSE) -#endif -}; -static -const struct xlat sysctl_net_ipv41 = { { - .data = sysctl_net_ipv4_xdata, - .size = ARRAY_SIZE(sysctl_net_ipv4_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif -# ifdef XLAT_VAL_20 - | XLAT_VAL_20 -# endif -# ifdef XLAT_VAL_21 - | XLAT_VAL_21 -# endif -# ifdef XLAT_VAL_22 - | XLAT_VAL_22 -# endif -# ifdef XLAT_VAL_23 - | XLAT_VAL_23 -# endif -# ifdef XLAT_VAL_24 - | XLAT_VAL_24 -# endif -# ifdef XLAT_VAL_25 - | XLAT_VAL_25 -# endif -# ifdef XLAT_VAL_26 - | XLAT_VAL_26 -# endif -# ifdef XLAT_VAL_27 - | XLAT_VAL_27 -# endif -# ifdef XLAT_VAL_28 - | XLAT_VAL_28 -# endif -# ifdef XLAT_VAL_29 - | XLAT_VAL_29 -# endif -# ifdef XLAT_VAL_30 - | XLAT_VAL_30 -# endif -# ifdef XLAT_VAL_31 - | XLAT_VAL_31 -# endif -# ifdef XLAT_VAL_32 - | XLAT_VAL_32 -# endif -# ifdef XLAT_VAL_33 - | XLAT_VAL_33 -# endif -# ifdef XLAT_VAL_34 - | XLAT_VAL_34 -# endif -# ifdef XLAT_VAL_35 - | XLAT_VAL_35 -# endif -# ifdef XLAT_VAL_36 - | XLAT_VAL_36 -# endif -# ifdef XLAT_VAL_37 - | XLAT_VAL_37 -# endif -# ifdef XLAT_VAL_38 - | XLAT_VAL_38 -# endif -# ifdef XLAT_VAL_39 - | XLAT_VAL_39 -# endif -# ifdef XLAT_VAL_40 - | XLAT_VAL_40 -# endif -# ifdef XLAT_VAL_41 - | XLAT_VAL_41 -# endif -# ifdef XLAT_VAL_42 - | XLAT_VAL_42 -# endif -# ifdef XLAT_VAL_43 - | XLAT_VAL_43 -# endif -# ifdef XLAT_VAL_44 - | XLAT_VAL_44 -# endif -# ifdef XLAT_VAL_45 - | XLAT_VAL_45 -# endif -# ifdef XLAT_VAL_46 - | XLAT_VAL_46 -# endif -# ifdef XLAT_VAL_47 - | XLAT_VAL_47 -# endif -# ifdef XLAT_VAL_48 - | XLAT_VAL_48 -# endif -# ifdef XLAT_VAL_49 - | XLAT_VAL_49 -# endif -# ifdef XLAT_VAL_50 - | XLAT_VAL_50 -# endif -# ifdef XLAT_VAL_51 - | XLAT_VAL_51 -# endif -# ifdef XLAT_VAL_52 - | XLAT_VAL_52 -# endif -# ifdef XLAT_VAL_53 - | XLAT_VAL_53 -# endif -# ifdef XLAT_VAL_54 - | XLAT_VAL_54 -# endif -# ifdef XLAT_VAL_55 - | XLAT_VAL_55 -# endif -# ifdef XLAT_VAL_56 - | XLAT_VAL_56 -# endif -# ifdef XLAT_VAL_57 - | XLAT_VAL_57 -# endif -# ifdef XLAT_VAL_58 - | XLAT_VAL_58 -# endif -# ifdef XLAT_VAL_59 - | XLAT_VAL_59 -# endif -# ifdef XLAT_VAL_60 - | XLAT_VAL_60 -# endif -# ifdef XLAT_VAL_61 - | XLAT_VAL_61 -# endif -# ifdef XLAT_VAL_62 - | XLAT_VAL_62 -# endif -# ifdef XLAT_VAL_63 - | XLAT_VAL_63 -# endif -# ifdef XLAT_VAL_64 - | XLAT_VAL_64 -# endif -# ifdef XLAT_VAL_65 - | XLAT_VAL_65 -# endif -# ifdef XLAT_VAL_66 - | XLAT_VAL_66 -# endif -# ifdef XLAT_VAL_67 - | XLAT_VAL_67 -# endif -# ifdef XLAT_VAL_68 - | XLAT_VAL_68 -# endif -# ifdef XLAT_VAL_69 - | XLAT_VAL_69 -# endif -# ifdef XLAT_VAL_70 - | XLAT_VAL_70 -# endif -# ifdef XLAT_VAL_71 - | XLAT_VAL_71 -# endif -# ifdef XLAT_VAL_72 - | XLAT_VAL_72 -# endif -# ifdef XLAT_VAL_73 - | XLAT_VAL_73 -# endif -# ifdef XLAT_VAL_74 - | XLAT_VAL_74 -# endif -# ifdef XLAT_VAL_75 - | XLAT_VAL_75 -# endif -# ifdef XLAT_VAL_76 - | XLAT_VAL_76 -# endif -# ifdef XLAT_VAL_77 - | XLAT_VAL_77 -# endif -# ifdef XLAT_VAL_78 - | XLAT_VAL_78 -# endif -# ifdef XLAT_VAL_79 - | XLAT_VAL_79 -# endif -# ifdef XLAT_VAL_80 - | XLAT_VAL_80 -# endif -# ifdef XLAT_VAL_81 - | XLAT_VAL_81 -# endif -# ifdef XLAT_VAL_82 - | XLAT_VAL_82 -# endif -# ifdef XLAT_VAL_83 - | XLAT_VAL_83 -# endif -# ifdef XLAT_VAL_84 - | XLAT_VAL_84 -# endif -# ifdef XLAT_VAL_85 - | XLAT_VAL_85 -# endif -# ifdef XLAT_VAL_86 - | XLAT_VAL_86 -# endif -# ifdef XLAT_VAL_87 - | XLAT_VAL_87 -# endif -# ifdef XLAT_VAL_88 - | XLAT_VAL_88 -# endif -# ifdef XLAT_VAL_89 - | XLAT_VAL_89 -# endif -# ifdef XLAT_VAL_90 - | XLAT_VAL_90 -# endif -# ifdef XLAT_VAL_91 - | XLAT_VAL_91 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif -# ifdef XLAT_STR_20 - + sizeof(XLAT_STR_20) -# endif -# ifdef XLAT_STR_21 - + sizeof(XLAT_STR_21) -# endif -# ifdef XLAT_STR_22 - + sizeof(XLAT_STR_22) -# endif -# ifdef XLAT_STR_23 - + sizeof(XLAT_STR_23) -# endif -# ifdef XLAT_STR_24 - + sizeof(XLAT_STR_24) -# endif -# ifdef XLAT_STR_25 - + sizeof(XLAT_STR_25) -# endif -# ifdef XLAT_STR_26 - + sizeof(XLAT_STR_26) -# endif -# ifdef XLAT_STR_27 - + sizeof(XLAT_STR_27) -# endif -# ifdef XLAT_STR_28 - + sizeof(XLAT_STR_28) -# endif -# ifdef XLAT_STR_29 - + sizeof(XLAT_STR_29) -# endif -# ifdef XLAT_STR_30 - + sizeof(XLAT_STR_30) -# endif -# ifdef XLAT_STR_31 - + sizeof(XLAT_STR_31) -# endif -# ifdef XLAT_STR_32 - + sizeof(XLAT_STR_32) -# endif -# ifdef XLAT_STR_33 - + sizeof(XLAT_STR_33) -# endif -# ifdef XLAT_STR_34 - + sizeof(XLAT_STR_34) -# endif -# ifdef XLAT_STR_35 - + sizeof(XLAT_STR_35) -# endif -# ifdef XLAT_STR_36 - + sizeof(XLAT_STR_36) -# endif -# ifdef XLAT_STR_37 - + sizeof(XLAT_STR_37) -# endif -# ifdef XLAT_STR_38 - + sizeof(XLAT_STR_38) -# endif -# ifdef XLAT_STR_39 - + sizeof(XLAT_STR_39) -# endif -# ifdef XLAT_STR_40 - + sizeof(XLAT_STR_40) -# endif -# ifdef XLAT_STR_41 - + sizeof(XLAT_STR_41) -# endif -# ifdef XLAT_STR_42 - + sizeof(XLAT_STR_42) -# endif -# ifdef XLAT_STR_43 - + sizeof(XLAT_STR_43) -# endif -# ifdef XLAT_STR_44 - + sizeof(XLAT_STR_44) -# endif -# ifdef XLAT_STR_45 - + sizeof(XLAT_STR_45) -# endif -# ifdef XLAT_STR_46 - + sizeof(XLAT_STR_46) -# endif -# ifdef XLAT_STR_47 - + sizeof(XLAT_STR_47) -# endif -# ifdef XLAT_STR_48 - + sizeof(XLAT_STR_48) -# endif -# ifdef XLAT_STR_49 - + sizeof(XLAT_STR_49) -# endif -# ifdef XLAT_STR_50 - + sizeof(XLAT_STR_50) -# endif -# ifdef XLAT_STR_51 - + sizeof(XLAT_STR_51) -# endif -# ifdef XLAT_STR_52 - + sizeof(XLAT_STR_52) -# endif -# ifdef XLAT_STR_53 - + sizeof(XLAT_STR_53) -# endif -# ifdef XLAT_STR_54 - + sizeof(XLAT_STR_54) -# endif -# ifdef XLAT_STR_55 - + sizeof(XLAT_STR_55) -# endif -# ifdef XLAT_STR_56 - + sizeof(XLAT_STR_56) -# endif -# ifdef XLAT_STR_57 - + sizeof(XLAT_STR_57) -# endif -# ifdef XLAT_STR_58 - + sizeof(XLAT_STR_58) -# endif -# ifdef XLAT_STR_59 - + sizeof(XLAT_STR_59) -# endif -# ifdef XLAT_STR_60 - + sizeof(XLAT_STR_60) -# endif -# ifdef XLAT_STR_61 - + sizeof(XLAT_STR_61) -# endif -# ifdef XLAT_STR_62 - + sizeof(XLAT_STR_62) -# endif -# ifdef XLAT_STR_63 - + sizeof(XLAT_STR_63) -# endif -# ifdef XLAT_STR_64 - + sizeof(XLAT_STR_64) -# endif -# ifdef XLAT_STR_65 - + sizeof(XLAT_STR_65) -# endif -# ifdef XLAT_STR_66 - + sizeof(XLAT_STR_66) -# endif -# ifdef XLAT_STR_67 - + sizeof(XLAT_STR_67) -# endif -# ifdef XLAT_STR_68 - + sizeof(XLAT_STR_68) -# endif -# ifdef XLAT_STR_69 - + sizeof(XLAT_STR_69) -# endif -# ifdef XLAT_STR_70 - + sizeof(XLAT_STR_70) -# endif -# ifdef XLAT_STR_71 - + sizeof(XLAT_STR_71) -# endif -# ifdef XLAT_STR_72 - + sizeof(XLAT_STR_72) -# endif -# ifdef XLAT_STR_73 - + sizeof(XLAT_STR_73) -# endif -# ifdef XLAT_STR_74 - + sizeof(XLAT_STR_74) -# endif -# ifdef XLAT_STR_75 - + sizeof(XLAT_STR_75) -# endif -# ifdef XLAT_STR_76 - + sizeof(XLAT_STR_76) -# endif -# ifdef XLAT_STR_77 - + sizeof(XLAT_STR_77) -# endif -# ifdef XLAT_STR_78 - + sizeof(XLAT_STR_78) -# endif -# ifdef XLAT_STR_79 - + sizeof(XLAT_STR_79) -# endif -# ifdef XLAT_STR_80 - + sizeof(XLAT_STR_80) -# endif -# ifdef XLAT_STR_81 - + sizeof(XLAT_STR_81) -# endif -# ifdef XLAT_STR_82 - + sizeof(XLAT_STR_82) -# endif -# ifdef XLAT_STR_83 - + sizeof(XLAT_STR_83) -# endif -# ifdef XLAT_STR_84 - + sizeof(XLAT_STR_84) -# endif -# ifdef XLAT_STR_85 - + sizeof(XLAT_STR_85) -# endif -# ifdef XLAT_STR_86 - + sizeof(XLAT_STR_86) -# endif -# ifdef XLAT_STR_87 - + sizeof(XLAT_STR_87) -# endif -# ifdef XLAT_STR_88 - + sizeof(XLAT_STR_88) -# endif -# ifdef XLAT_STR_89 - + sizeof(XLAT_STR_89) -# endif -# ifdef XLAT_STR_90 - + sizeof(XLAT_STR_90) -# endif -# ifdef XLAT_STR_91 - + sizeof(XLAT_STR_91) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# undef XLAT_STR_20 -# undef XLAT_VAL_20 -# undef XLAT_STR_21 -# undef XLAT_VAL_21 -# undef XLAT_STR_22 -# undef XLAT_VAL_22 -# undef XLAT_STR_23 -# undef XLAT_VAL_23 -# undef XLAT_STR_24 -# undef XLAT_VAL_24 -# undef XLAT_STR_25 -# undef XLAT_VAL_25 -# undef XLAT_STR_26 -# undef XLAT_VAL_26 -# undef XLAT_STR_27 -# undef XLAT_VAL_27 -# undef XLAT_STR_28 -# undef XLAT_VAL_28 -# undef XLAT_STR_29 -# undef XLAT_VAL_29 -# undef XLAT_STR_30 -# undef XLAT_VAL_30 -# undef XLAT_STR_31 -# undef XLAT_VAL_31 -# undef XLAT_STR_32 -# undef XLAT_VAL_32 -# undef XLAT_STR_33 -# undef XLAT_VAL_33 -# undef XLAT_STR_34 -# undef XLAT_VAL_34 -# undef XLAT_STR_35 -# undef XLAT_VAL_35 -# undef XLAT_STR_36 -# undef XLAT_VAL_36 -# undef XLAT_STR_37 -# undef XLAT_VAL_37 -# undef XLAT_STR_38 -# undef XLAT_VAL_38 -# undef XLAT_STR_39 -# undef XLAT_VAL_39 -# undef XLAT_STR_40 -# undef XLAT_VAL_40 -# undef XLAT_STR_41 -# undef XLAT_VAL_41 -# undef XLAT_STR_42 -# undef XLAT_VAL_42 -# undef XLAT_STR_43 -# undef XLAT_VAL_43 -# undef XLAT_STR_44 -# undef XLAT_VAL_44 -# undef XLAT_STR_45 -# undef XLAT_VAL_45 -# undef XLAT_STR_46 -# undef XLAT_VAL_46 -# undef XLAT_STR_47 -# undef XLAT_VAL_47 -# undef XLAT_STR_48 -# undef XLAT_VAL_48 -# undef XLAT_STR_49 -# undef XLAT_VAL_49 -# undef XLAT_STR_50 -# undef XLAT_VAL_50 -# undef XLAT_STR_51 -# undef XLAT_VAL_51 -# undef XLAT_STR_52 -# undef XLAT_VAL_52 -# undef XLAT_STR_53 -# undef XLAT_VAL_53 -# undef XLAT_STR_54 -# undef XLAT_VAL_54 -# undef XLAT_STR_55 -# undef XLAT_VAL_55 -# undef XLAT_STR_56 -# undef XLAT_VAL_56 -# undef XLAT_STR_57 -# undef XLAT_VAL_57 -# undef XLAT_STR_58 -# undef XLAT_VAL_58 -# undef XLAT_STR_59 -# undef XLAT_VAL_59 -# undef XLAT_STR_60 -# undef XLAT_VAL_60 -# undef XLAT_STR_61 -# undef XLAT_VAL_61 -# undef XLAT_STR_62 -# undef XLAT_VAL_62 -# undef XLAT_STR_63 -# undef XLAT_VAL_63 -# undef XLAT_STR_64 -# undef XLAT_VAL_64 -# undef XLAT_STR_65 -# undef XLAT_VAL_65 -# undef XLAT_STR_66 -# undef XLAT_VAL_66 -# undef XLAT_STR_67 -# undef XLAT_VAL_67 -# undef XLAT_STR_68 -# undef XLAT_VAL_68 -# undef XLAT_STR_69 -# undef XLAT_VAL_69 -# undef XLAT_STR_70 -# undef XLAT_VAL_70 -# undef XLAT_STR_71 -# undef XLAT_VAL_71 -# undef XLAT_STR_72 -# undef XLAT_VAL_72 -# undef XLAT_STR_73 -# undef XLAT_VAL_73 -# undef XLAT_STR_74 -# undef XLAT_VAL_74 -# undef XLAT_STR_75 -# undef XLAT_VAL_75 -# undef XLAT_STR_76 -# undef XLAT_VAL_76 -# undef XLAT_STR_77 -# undef XLAT_VAL_77 -# undef XLAT_STR_78 -# undef XLAT_VAL_78 -# undef XLAT_STR_79 -# undef XLAT_VAL_79 -# undef XLAT_STR_80 -# undef XLAT_VAL_80 -# undef XLAT_STR_81 -# undef XLAT_VAL_81 -# undef XLAT_STR_82 -# undef XLAT_VAL_82 -# undef XLAT_STR_83 -# undef XLAT_VAL_83 -# undef XLAT_STR_84 -# undef XLAT_VAL_84 -# undef XLAT_STR_85 -# undef XLAT_VAL_85 -# undef XLAT_STR_86 -# undef XLAT_VAL_86 -# undef XLAT_STR_87 -# undef XLAT_VAL_87 -# undef XLAT_STR_88 -# undef XLAT_VAL_88 -# undef XLAT_STR_89 -# undef XLAT_VAL_89 -# undef XLAT_STR_90 -# undef XLAT_VAL_90 -# undef XLAT_STR_91 -# undef XLAT_VAL_91 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4.in
Deleted
@@ -1,97 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_IPV4_FORWARD -NET_IPV4_DYNADDR -NET_IPV4_CONF -NET_IPV4_NEIGH -NET_IPV4_ROUTE -NET_IPV4_FIB_HASH -NET_IPV4_NETFILTER -NET_IPV4_TCP_TIMESTAMPS -NET_IPV4_TCP_WINDOW_SCALING -NET_IPV4_TCP_SACK -NET_IPV4_TCP_RETRANS_COLLAPSE -NET_IPV4_DEFAULT_TTL -NET_IPV4_AUTOCONFIG -NET_IPV4_NO_PMTU_DISC -NET_IPV4_TCP_SYN_RETRIES -NET_IPV4_IPFRAG_HIGH_THRESH -NET_IPV4_IPFRAG_LOW_THRESH -NET_IPV4_IPFRAG_TIME -NET_IPV4_TCP_MAX_KA_PROBES -NET_IPV4_TCP_KEEPALIVE_TIME -NET_IPV4_TCP_KEEPALIVE_PROBES -NET_IPV4_TCP_RETRIES1 -NET_IPV4_TCP_RETRIES2 -NET_IPV4_TCP_FIN_TIMEOUT -NET_IPV4_IP_MASQ_DEBUG -NET_TCP_SYNCOOKIES -NET_TCP_STDURG -NET_TCP_RFC1337 -NET_TCP_SYN_TAILDROP -NET_TCP_MAX_SYN_BACKLOG -NET_IPV4_LOCAL_PORT_RANGE -NET_IPV4_ICMP_ECHO_IGNORE_ALL -NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS -NET_IPV4_ICMP_SOURCEQUENCH_RATE -NET_IPV4_ICMP_DESTUNREACH_RATE -NET_IPV4_ICMP_TIMEEXCEED_RATE -NET_IPV4_ICMP_PARAMPROB_RATE -NET_IPV4_ICMP_ECHOREPLY_RATE -NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES -NET_IPV4_IGMP_MAX_MEMBERSHIPS -NET_TCP_TW_RECYCLE -NET_IPV4_ALWAYS_DEFRAG -NET_IPV4_TCP_KEEPALIVE_INTVL -NET_IPV4_INET_PEER_THRESHOLD -NET_IPV4_INET_PEER_MINTTL -NET_IPV4_INET_PEER_MAXTTL -NET_IPV4_INET_PEER_GC_MINTIME -NET_IPV4_INET_PEER_GC_MAXTIME -NET_TCP_ORPHAN_RETRIES -NET_TCP_ABORT_ON_OVERFLOW -NET_TCP_SYNACK_RETRIES -NET_TCP_MAX_ORPHANS -NET_TCP_MAX_TW_BUCKETS -NET_TCP_FACK -NET_TCP_REORDERING -NET_TCP_ECN -NET_TCP_DSACK -NET_TCP_MEM -NET_TCP_WMEM -NET_TCP_RMEM -NET_TCP_APP_WIN -NET_TCP_ADV_WIN_SCALE -NET_IPV4_NONLOCAL_BIND -NET_IPV4_ICMP_RATELIMIT -NET_IPV4_ICMP_RATEMASK -NET_TCP_TW_REUSE -NET_TCP_FRTO -NET_TCP_LOW_LATENCY -NET_IPV4_IPFRAG_SECRET_INTERVAL -#conditional -NET_IPV4_IGMP_MAX_MSF -NET_TCP_NO_METRICS_SAVE -NET_TCP_DEFAULT_WIN_SCALE -NET_TCP_MODERATE_RCVBUF -NET_TCP_TSO_WIN_DIVISOR -NET_TCP_BIC_BETA -NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR -NET_TCP_CONG_CONTROL -NET_TCP_ABC -NET_IPV4_IPFRAG_MAX_DIST -NET_TCP_MTU_PROBING -NET_TCP_BASE_MSS -NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS -NET_TCP_DMA_COPYBREAK -NET_TCP_SLOW_START_AFTER_IDLE -NET_CIPSOV4_CACHE_ENABLE -NET_CIPSOV4_CACHE_BUCKET_SIZE -NET_CIPSOV4_RBM_OPTFMT -NET_CIPSOV4_RBM_STRICTVALID -NET_TCP_AVAIL_CONG_CONTROL -NET_TCP_ALLOWED_CONG_CONTROL -NET_TCP_MAX_SSTHRESH -NET_TCP_FRTO_RESPONSE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4.m4
Deleted
@@ -1,99 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_ipv4, -AC_CHECK_DECLS(m4_normalize( -NET_IPV4_FORWARD, -NET_IPV4_DYNADDR, -NET_IPV4_CONF, -NET_IPV4_NEIGH, -NET_IPV4_ROUTE, -NET_IPV4_FIB_HASH, -NET_IPV4_NETFILTER, -NET_IPV4_TCP_TIMESTAMPS, -NET_IPV4_TCP_WINDOW_SCALING, -NET_IPV4_TCP_SACK, -NET_IPV4_TCP_RETRANS_COLLAPSE, -NET_IPV4_DEFAULT_TTL, -NET_IPV4_AUTOCONFIG, -NET_IPV4_NO_PMTU_DISC, -NET_IPV4_TCP_SYN_RETRIES, -NET_IPV4_IPFRAG_HIGH_THRESH, -NET_IPV4_IPFRAG_LOW_THRESH, -NET_IPV4_IPFRAG_TIME, -NET_IPV4_TCP_MAX_KA_PROBES, -NET_IPV4_TCP_KEEPALIVE_TIME, -NET_IPV4_TCP_KEEPALIVE_PROBES, -NET_IPV4_TCP_RETRIES1, -NET_IPV4_TCP_RETRIES2, -NET_IPV4_TCP_FIN_TIMEOUT, -NET_IPV4_IP_MASQ_DEBUG, -NET_TCP_SYNCOOKIES, -NET_TCP_STDURG, -NET_TCP_RFC1337, -NET_TCP_SYN_TAILDROP, -NET_TCP_MAX_SYN_BACKLOG, -NET_IPV4_LOCAL_PORT_RANGE, -NET_IPV4_ICMP_ECHO_IGNORE_ALL, -NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS, -NET_IPV4_ICMP_SOURCEQUENCH_RATE, -NET_IPV4_ICMP_DESTUNREACH_RATE, -NET_IPV4_ICMP_TIMEEXCEED_RATE, -NET_IPV4_ICMP_PARAMPROB_RATE, -NET_IPV4_ICMP_ECHOREPLY_RATE, -NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES, -NET_IPV4_IGMP_MAX_MEMBERSHIPS, -NET_TCP_TW_RECYCLE, -NET_IPV4_ALWAYS_DEFRAG, -NET_IPV4_TCP_KEEPALIVE_INTVL, -NET_IPV4_INET_PEER_THRESHOLD, -NET_IPV4_INET_PEER_MINTTL, -NET_IPV4_INET_PEER_MAXTTL, -NET_IPV4_INET_PEER_GC_MINTIME, -NET_IPV4_INET_PEER_GC_MAXTIME, -NET_TCP_ORPHAN_RETRIES, -NET_TCP_ABORT_ON_OVERFLOW, -NET_TCP_SYNACK_RETRIES, -NET_TCP_MAX_ORPHANS, -NET_TCP_MAX_TW_BUCKETS, -NET_TCP_FACK, -NET_TCP_REORDERING, -NET_TCP_ECN, -NET_TCP_DSACK, -NET_TCP_MEM, -NET_TCP_WMEM, -NET_TCP_RMEM, -NET_TCP_APP_WIN, -NET_TCP_ADV_WIN_SCALE, -NET_IPV4_NONLOCAL_BIND, -NET_IPV4_ICMP_RATELIMIT, -NET_IPV4_ICMP_RATEMASK, -NET_TCP_TW_REUSE, -NET_TCP_FRTO, -NET_TCP_LOW_LATENCY, -NET_IPV4_IPFRAG_SECRET_INTERVAL, -NET_IPV4_IGMP_MAX_MSF, -NET_TCP_NO_METRICS_SAVE, -NET_TCP_DEFAULT_WIN_SCALE, -NET_TCP_MODERATE_RCVBUF, -NET_TCP_TSO_WIN_DIVISOR, -NET_TCP_BIC_BETA, -NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR, -NET_TCP_CONG_CONTROL, -NET_TCP_ABC, -NET_IPV4_IPFRAG_MAX_DIST, -NET_TCP_MTU_PROBING, -NET_TCP_BASE_MSS, -NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS, -NET_TCP_DMA_COPYBREAK, -NET_TCP_SLOW_START_AFTER_IDLE, -NET_CIPSOV4_CACHE_ENABLE, -NET_CIPSOV4_CACHE_BUCKET_SIZE, -NET_CIPSOV4_RBM_OPTFMT, -NET_CIPSOV4_RBM_STRICTVALID, -NET_TCP_AVAIL_CONG_CONTROL, -NET_TCP_ALLOWED_CONG_CONTROL, -NET_TCP_MAX_SSTHRESH, -NET_TCP_FRTO_RESPONSE -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_conf.h
Deleted
@@ -1,286 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4_conf.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_ipv4_conf in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_ipv4_conf_xdata = { - XLAT(NET_IPV4_CONF_FORWARDING), - #define XLAT_VAL_0 ((unsigned) (NET_IPV4_CONF_FORWARDING)) - #define XLAT_STR_0 STRINGIFY(NET_IPV4_CONF_FORWARDING) - XLAT(NET_IPV4_CONF_MC_FORWARDING), - #define XLAT_VAL_1 ((unsigned) (NET_IPV4_CONF_MC_FORWARDING)) - #define XLAT_STR_1 STRINGIFY(NET_IPV4_CONF_MC_FORWARDING) - XLAT(NET_IPV4_CONF_PROXY_ARP), - #define XLAT_VAL_2 ((unsigned) (NET_IPV4_CONF_PROXY_ARP)) - #define XLAT_STR_2 STRINGIFY(NET_IPV4_CONF_PROXY_ARP) - XLAT(NET_IPV4_CONF_ACCEPT_REDIRECTS), - #define XLAT_VAL_3 ((unsigned) (NET_IPV4_CONF_ACCEPT_REDIRECTS)) - #define XLAT_STR_3 STRINGIFY(NET_IPV4_CONF_ACCEPT_REDIRECTS) - XLAT(NET_IPV4_CONF_SECURE_REDIRECTS), - #define XLAT_VAL_4 ((unsigned) (NET_IPV4_CONF_SECURE_REDIRECTS)) - #define XLAT_STR_4 STRINGIFY(NET_IPV4_CONF_SECURE_REDIRECTS) - XLAT(NET_IPV4_CONF_SEND_REDIRECTS), - #define XLAT_VAL_5 ((unsigned) (NET_IPV4_CONF_SEND_REDIRECTS)) - #define XLAT_STR_5 STRINGIFY(NET_IPV4_CONF_SEND_REDIRECTS) - XLAT(NET_IPV4_CONF_SHARED_MEDIA), - #define XLAT_VAL_6 ((unsigned) (NET_IPV4_CONF_SHARED_MEDIA)) - #define XLAT_STR_6 STRINGIFY(NET_IPV4_CONF_SHARED_MEDIA) - XLAT(NET_IPV4_CONF_RP_FILTER), - #define XLAT_VAL_7 ((unsigned) (NET_IPV4_CONF_RP_FILTER)) - #define XLAT_STR_7 STRINGIFY(NET_IPV4_CONF_RP_FILTER) - XLAT(NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE), - #define XLAT_VAL_8 ((unsigned) (NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE)) - #define XLAT_STR_8 STRINGIFY(NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE) - XLAT(NET_IPV4_CONF_BOOTP_RELAY), - #define XLAT_VAL_9 ((unsigned) (NET_IPV4_CONF_BOOTP_RELAY)) - #define XLAT_STR_9 STRINGIFY(NET_IPV4_CONF_BOOTP_RELAY) - XLAT(NET_IPV4_CONF_LOG_MARTIANS), - #define XLAT_VAL_10 ((unsigned) (NET_IPV4_CONF_LOG_MARTIANS)) - #define XLAT_STR_10 STRINGIFY(NET_IPV4_CONF_LOG_MARTIANS) - XLAT(NET_IPV4_CONF_TAG), - #define XLAT_VAL_11 ((unsigned) (NET_IPV4_CONF_TAG)) - #define XLAT_STR_11 STRINGIFY(NET_IPV4_CONF_TAG) - XLAT(NET_IPV4_CONF_ARPFILTER), - #define XLAT_VAL_12 ((unsigned) (NET_IPV4_CONF_ARPFILTER)) - #define XLAT_STR_12 STRINGIFY(NET_IPV4_CONF_ARPFILTER) - XLAT(NET_IPV4_CONF_MEDIUM_ID), - #define XLAT_VAL_13 ((unsigned) (NET_IPV4_CONF_MEDIUM_ID)) - #define XLAT_STR_13 STRINGIFY(NET_IPV4_CONF_MEDIUM_ID) - XLAT(NET_IPV4_CONF_NOXFRM), - #define XLAT_VAL_14 ((unsigned) (NET_IPV4_CONF_NOXFRM)) - #define XLAT_STR_14 STRINGIFY(NET_IPV4_CONF_NOXFRM) - XLAT(NET_IPV4_CONF_NOPOLICY), - #define XLAT_VAL_15 ((unsigned) (NET_IPV4_CONF_NOPOLICY)) - #define XLAT_STR_15 STRINGIFY(NET_IPV4_CONF_NOPOLICY) -#if defined(NET_IPV4_CONF_FORCE_IGMP_VERSION) || (defined(HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION) && HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION) - XLAT(NET_IPV4_CONF_FORCE_IGMP_VERSION), - #define XLAT_VAL_16 ((unsigned) (NET_IPV4_CONF_FORCE_IGMP_VERSION)) - #define XLAT_STR_16 STRINGIFY(NET_IPV4_CONF_FORCE_IGMP_VERSION) -#endif -#if defined(NET_IPV4_CONF_ARP_ANNOUNCE) || (defined(HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE) && HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE) - XLAT(NET_IPV4_CONF_ARP_ANNOUNCE), - #define XLAT_VAL_17 ((unsigned) (NET_IPV4_CONF_ARP_ANNOUNCE)) - #define XLAT_STR_17 STRINGIFY(NET_IPV4_CONF_ARP_ANNOUNCE) -#endif -#if defined(NET_IPV4_CONF_ARP_IGNORE) || (defined(HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE) && HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE) - XLAT(NET_IPV4_CONF_ARP_IGNORE), - #define XLAT_VAL_18 ((unsigned) (NET_IPV4_CONF_ARP_IGNORE)) - #define XLAT_STR_18 STRINGIFY(NET_IPV4_CONF_ARP_IGNORE) -#endif -#if defined(NET_IPV4_CONF_PROMOTE_SECONDARIES) || (defined(HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES) && HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES) - XLAT(NET_IPV4_CONF_PROMOTE_SECONDARIES), - #define XLAT_VAL_19 ((unsigned) (NET_IPV4_CONF_PROMOTE_SECONDARIES)) - #define XLAT_STR_19 STRINGIFY(NET_IPV4_CONF_PROMOTE_SECONDARIES) -#endif -#if defined(NET_IPV4_CONF_ARP_ACCEPT) || (defined(HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT) && HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT) - XLAT(NET_IPV4_CONF_ARP_ACCEPT), - #define XLAT_VAL_20 ((unsigned) (NET_IPV4_CONF_ARP_ACCEPT)) - #define XLAT_STR_20 STRINGIFY(NET_IPV4_CONF_ARP_ACCEPT) -#endif -#if defined(NET_IPV4_CONF_ARP_NOTIFY) || (defined(HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY) && HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY) - XLAT(NET_IPV4_CONF_ARP_NOTIFY), - #define XLAT_VAL_21 ((unsigned) (NET_IPV4_CONF_ARP_NOTIFY)) - #define XLAT_STR_21 STRINGIFY(NET_IPV4_CONF_ARP_NOTIFY) -#endif -}; -static -const struct xlat sysctl_net_ipv4_conf1 = { { - .data = sysctl_net_ipv4_conf_xdata, - .size = ARRAY_SIZE(sysctl_net_ipv4_conf_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif -# ifdef XLAT_VAL_20 - | XLAT_VAL_20 -# endif -# ifdef XLAT_VAL_21 - | XLAT_VAL_21 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif -# ifdef XLAT_STR_20 - + sizeof(XLAT_STR_20) -# endif -# ifdef XLAT_STR_21 - + sizeof(XLAT_STR_21) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# undef XLAT_STR_20 -# undef XLAT_VAL_20 -# undef XLAT_STR_21 -# undef XLAT_VAL_21 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_conf.in
Deleted
@@ -1,27 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_IPV4_CONF_FORWARDING -NET_IPV4_CONF_MC_FORWARDING -NET_IPV4_CONF_PROXY_ARP -NET_IPV4_CONF_ACCEPT_REDIRECTS -NET_IPV4_CONF_SECURE_REDIRECTS -NET_IPV4_CONF_SEND_REDIRECTS -NET_IPV4_CONF_SHARED_MEDIA -NET_IPV4_CONF_RP_FILTER -NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE -NET_IPV4_CONF_BOOTP_RELAY -NET_IPV4_CONF_LOG_MARTIANS -NET_IPV4_CONF_TAG -NET_IPV4_CONF_ARPFILTER -NET_IPV4_CONF_MEDIUM_ID -NET_IPV4_CONF_NOXFRM -NET_IPV4_CONF_NOPOLICY -#conditional -NET_IPV4_CONF_FORCE_IGMP_VERSION -NET_IPV4_CONF_ARP_ANNOUNCE -NET_IPV4_CONF_ARP_IGNORE -NET_IPV4_CONF_PROMOTE_SECONDARIES -NET_IPV4_CONF_ARP_ACCEPT -NET_IPV4_CONF_ARP_NOTIFY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_conf.m4
Deleted
@@ -1,29 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4_conf.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_ipv4_conf, -AC_CHECK_DECLS(m4_normalize( -NET_IPV4_CONF_FORWARDING, -NET_IPV4_CONF_MC_FORWARDING, -NET_IPV4_CONF_PROXY_ARP, -NET_IPV4_CONF_ACCEPT_REDIRECTS, -NET_IPV4_CONF_SECURE_REDIRECTS, -NET_IPV4_CONF_SEND_REDIRECTS, -NET_IPV4_CONF_SHARED_MEDIA, -NET_IPV4_CONF_RP_FILTER, -NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE, -NET_IPV4_CONF_BOOTP_RELAY, -NET_IPV4_CONF_LOG_MARTIANS, -NET_IPV4_CONF_TAG, -NET_IPV4_CONF_ARPFILTER, -NET_IPV4_CONF_MEDIUM_ID, -NET_IPV4_CONF_NOXFRM, -NET_IPV4_CONF_NOPOLICY, -NET_IPV4_CONF_FORCE_IGMP_VERSION, -NET_IPV4_CONF_ARP_ANNOUNCE, -NET_IPV4_CONF_ARP_IGNORE, -NET_IPV4_CONF_PROMOTE_SECONDARIES, -NET_IPV4_CONF_ARP_ACCEPT, -NET_IPV4_CONF_ARP_NOTIFY -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_route.h
Deleted
@@ -1,243 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4_route.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_ipv4_route in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_ipv4_route_xdata = { - XLAT(NET_IPV4_ROUTE_FLUSH), - #define XLAT_VAL_0 ((unsigned) (NET_IPV4_ROUTE_FLUSH)) - #define XLAT_STR_0 STRINGIFY(NET_IPV4_ROUTE_FLUSH) - XLAT(NET_IPV4_ROUTE_MIN_DELAY), - #define XLAT_VAL_1 ((unsigned) (NET_IPV4_ROUTE_MIN_DELAY)) - #define XLAT_STR_1 STRINGIFY(NET_IPV4_ROUTE_MIN_DELAY) - XLAT(NET_IPV4_ROUTE_MAX_DELAY), - #define XLAT_VAL_2 ((unsigned) (NET_IPV4_ROUTE_MAX_DELAY)) - #define XLAT_STR_2 STRINGIFY(NET_IPV4_ROUTE_MAX_DELAY) - XLAT(NET_IPV4_ROUTE_GC_THRESH), - #define XLAT_VAL_3 ((unsigned) (NET_IPV4_ROUTE_GC_THRESH)) - #define XLAT_STR_3 STRINGIFY(NET_IPV4_ROUTE_GC_THRESH) - XLAT(NET_IPV4_ROUTE_MAX_SIZE), - #define XLAT_VAL_4 ((unsigned) (NET_IPV4_ROUTE_MAX_SIZE)) - #define XLAT_STR_4 STRINGIFY(NET_IPV4_ROUTE_MAX_SIZE) - XLAT(NET_IPV4_ROUTE_GC_MIN_INTERVAL), - #define XLAT_VAL_5 ((unsigned) (NET_IPV4_ROUTE_GC_MIN_INTERVAL)) - #define XLAT_STR_5 STRINGIFY(NET_IPV4_ROUTE_GC_MIN_INTERVAL) - XLAT(NET_IPV4_ROUTE_GC_TIMEOUT), - #define XLAT_VAL_6 ((unsigned) (NET_IPV4_ROUTE_GC_TIMEOUT)) - #define XLAT_STR_6 STRINGIFY(NET_IPV4_ROUTE_GC_TIMEOUT) - XLAT(NET_IPV4_ROUTE_GC_INTERVAL), - #define XLAT_VAL_7 ((unsigned) (NET_IPV4_ROUTE_GC_INTERVAL)) - #define XLAT_STR_7 STRINGIFY(NET_IPV4_ROUTE_GC_INTERVAL) - XLAT(NET_IPV4_ROUTE_REDIRECT_LOAD), - #define XLAT_VAL_8 ((unsigned) (NET_IPV4_ROUTE_REDIRECT_LOAD)) - #define XLAT_STR_8 STRINGIFY(NET_IPV4_ROUTE_REDIRECT_LOAD) - XLAT(NET_IPV4_ROUTE_REDIRECT_NUMBER), - #define XLAT_VAL_9 ((unsigned) (NET_IPV4_ROUTE_REDIRECT_NUMBER)) - #define XLAT_STR_9 STRINGIFY(NET_IPV4_ROUTE_REDIRECT_NUMBER) - XLAT(NET_IPV4_ROUTE_REDIRECT_SILENCE), - #define XLAT_VAL_10 ((unsigned) (NET_IPV4_ROUTE_REDIRECT_SILENCE)) - #define XLAT_STR_10 STRINGIFY(NET_IPV4_ROUTE_REDIRECT_SILENCE) - XLAT(NET_IPV4_ROUTE_ERROR_COST), - #define XLAT_VAL_11 ((unsigned) (NET_IPV4_ROUTE_ERROR_COST)) - #define XLAT_STR_11 STRINGIFY(NET_IPV4_ROUTE_ERROR_COST) - XLAT(NET_IPV4_ROUTE_ERROR_BURST), - #define XLAT_VAL_12 ((unsigned) (NET_IPV4_ROUTE_ERROR_BURST)) - #define XLAT_STR_12 STRINGIFY(NET_IPV4_ROUTE_ERROR_BURST) - XLAT(NET_IPV4_ROUTE_GC_ELASTICITY), - #define XLAT_VAL_13 ((unsigned) (NET_IPV4_ROUTE_GC_ELASTICITY)) - #define XLAT_STR_13 STRINGIFY(NET_IPV4_ROUTE_GC_ELASTICITY) - XLAT(NET_IPV4_ROUTE_MTU_EXPIRES), - #define XLAT_VAL_14 ((unsigned) (NET_IPV4_ROUTE_MTU_EXPIRES)) - #define XLAT_STR_14 STRINGIFY(NET_IPV4_ROUTE_MTU_EXPIRES) - XLAT(NET_IPV4_ROUTE_MIN_PMTU), - #define XLAT_VAL_15 ((unsigned) (NET_IPV4_ROUTE_MIN_PMTU)) - #define XLAT_STR_15 STRINGIFY(NET_IPV4_ROUTE_MIN_PMTU) - XLAT(NET_IPV4_ROUTE_MIN_ADVMSS), - #define XLAT_VAL_16 ((unsigned) (NET_IPV4_ROUTE_MIN_ADVMSS)) - #define XLAT_STR_16 STRINGIFY(NET_IPV4_ROUTE_MIN_ADVMSS) - XLAT(NET_IPV4_ROUTE_SECRET_INTERVAL), - #define XLAT_VAL_17 ((unsigned) (NET_IPV4_ROUTE_SECRET_INTERVAL)) - #define XLAT_STR_17 STRINGIFY(NET_IPV4_ROUTE_SECRET_INTERVAL) -#if defined(NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS) || (defined(HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS) && HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS) - XLAT(NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS), - #define XLAT_VAL_18 ((unsigned) (NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS)) - #define XLAT_STR_18 STRINGIFY(NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS) -#endif -}; -static -const struct xlat sysctl_net_ipv4_route1 = { { - .data = sysctl_net_ipv4_route_xdata, - .size = ARRAY_SIZE(sysctl_net_ipv4_route_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_route.in
Deleted
@@ -1,24 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_IPV4_ROUTE_FLUSH -NET_IPV4_ROUTE_MIN_DELAY -NET_IPV4_ROUTE_MAX_DELAY -NET_IPV4_ROUTE_GC_THRESH -NET_IPV4_ROUTE_MAX_SIZE -NET_IPV4_ROUTE_GC_MIN_INTERVAL -NET_IPV4_ROUTE_GC_TIMEOUT -NET_IPV4_ROUTE_GC_INTERVAL -NET_IPV4_ROUTE_REDIRECT_LOAD -NET_IPV4_ROUTE_REDIRECT_NUMBER -NET_IPV4_ROUTE_REDIRECT_SILENCE -NET_IPV4_ROUTE_ERROR_COST -NET_IPV4_ROUTE_ERROR_BURST -NET_IPV4_ROUTE_GC_ELASTICITY -NET_IPV4_ROUTE_MTU_EXPIRES -NET_IPV4_ROUTE_MIN_PMTU -NET_IPV4_ROUTE_MIN_ADVMSS -NET_IPV4_ROUTE_SECRET_INTERVAL -#conditional -NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv4_route.m4
Deleted
@@ -1,26 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv4_route.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_ipv4_route, -AC_CHECK_DECLS(m4_normalize( -NET_IPV4_ROUTE_FLUSH, -NET_IPV4_ROUTE_MIN_DELAY, -NET_IPV4_ROUTE_MAX_DELAY, -NET_IPV4_ROUTE_GC_THRESH, -NET_IPV4_ROUTE_MAX_SIZE, -NET_IPV4_ROUTE_GC_MIN_INTERVAL, -NET_IPV4_ROUTE_GC_TIMEOUT, -NET_IPV4_ROUTE_GC_INTERVAL, -NET_IPV4_ROUTE_REDIRECT_LOAD, -NET_IPV4_ROUTE_REDIRECT_NUMBER, -NET_IPV4_ROUTE_REDIRECT_SILENCE, -NET_IPV4_ROUTE_ERROR_COST, -NET_IPV4_ROUTE_ERROR_BURST, -NET_IPV4_ROUTE_GC_ELASTICITY, -NET_IPV4_ROUTE_MTU_EXPIRES, -NET_IPV4_ROUTE_MIN_PMTU, -NET_IPV4_ROUTE_MIN_ADVMSS, -NET_IPV4_ROUTE_SECRET_INTERVAL, -NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6.h
Deleted
@@ -1,144 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv6.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_ipv6 in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_ipv6_xdata = { - XLAT(NET_IPV6_CONF), - #define XLAT_VAL_0 ((unsigned) (NET_IPV6_CONF)) - #define XLAT_STR_0 STRINGIFY(NET_IPV6_CONF) - XLAT(NET_IPV6_NEIGH), - #define XLAT_VAL_1 ((unsigned) (NET_IPV6_NEIGH)) - #define XLAT_STR_1 STRINGIFY(NET_IPV6_NEIGH) - XLAT(NET_IPV6_ROUTE), - #define XLAT_VAL_2 ((unsigned) (NET_IPV6_ROUTE)) - #define XLAT_STR_2 STRINGIFY(NET_IPV6_ROUTE) - XLAT(NET_IPV6_ICMP), - #define XLAT_VAL_3 ((unsigned) (NET_IPV6_ICMP)) - #define XLAT_STR_3 STRINGIFY(NET_IPV6_ICMP) - XLAT(NET_IPV6_BINDV6ONLY), - #define XLAT_VAL_4 ((unsigned) (NET_IPV6_BINDV6ONLY)) - #define XLAT_STR_4 STRINGIFY(NET_IPV6_BINDV6ONLY) - XLAT(NET_IPV6_IP6FRAG_HIGH_THRESH), - #define XLAT_VAL_5 ((unsigned) (NET_IPV6_IP6FRAG_HIGH_THRESH)) - #define XLAT_STR_5 STRINGIFY(NET_IPV6_IP6FRAG_HIGH_THRESH) - XLAT(NET_IPV6_IP6FRAG_LOW_THRESH), - #define XLAT_VAL_6 ((unsigned) (NET_IPV6_IP6FRAG_LOW_THRESH)) - #define XLAT_STR_6 STRINGIFY(NET_IPV6_IP6FRAG_LOW_THRESH) - XLAT(NET_IPV6_IP6FRAG_TIME), - #define XLAT_VAL_7 ((unsigned) (NET_IPV6_IP6FRAG_TIME)) - #define XLAT_STR_7 STRINGIFY(NET_IPV6_IP6FRAG_TIME) - XLAT(NET_IPV6_IP6FRAG_SECRET_INTERVAL), - #define XLAT_VAL_8 ((unsigned) (NET_IPV6_IP6FRAG_SECRET_INTERVAL)) - #define XLAT_STR_8 STRINGIFY(NET_IPV6_IP6FRAG_SECRET_INTERVAL) -#if defined(NET_IPV6_MLD_MAX_MSF) || (defined(HAVE_DECL_NET_IPV6_MLD_MAX_MSF) && HAVE_DECL_NET_IPV6_MLD_MAX_MSF) - XLAT(NET_IPV6_MLD_MAX_MSF), - #define XLAT_VAL_9 ((unsigned) (NET_IPV6_MLD_MAX_MSF)) - #define XLAT_STR_9 STRINGIFY(NET_IPV6_MLD_MAX_MSF) -#endif -}; -static -const struct xlat sysctl_net_ipv61 = { { - .data = sysctl_net_ipv6_xdata, - .size = ARRAY_SIZE(sysctl_net_ipv6_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6.in
Deleted
@@ -1,15 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_IPV6_CONF -NET_IPV6_NEIGH -NET_IPV6_ROUTE -NET_IPV6_ICMP -NET_IPV6_BINDV6ONLY -NET_IPV6_IP6FRAG_HIGH_THRESH -NET_IPV6_IP6FRAG_LOW_THRESH -NET_IPV6_IP6FRAG_TIME -NET_IPV6_IP6FRAG_SECRET_INTERVAL -#conditional -NET_IPV6_MLD_MAX_MSF
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6.m4
Deleted
@@ -1,17 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv6.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_ipv6, -AC_CHECK_DECLS(m4_normalize( -NET_IPV6_CONF, -NET_IPV6_NEIGH, -NET_IPV6_ROUTE, -NET_IPV6_ICMP, -NET_IPV6_BINDV6ONLY, -NET_IPV6_IP6FRAG_HIGH_THRESH, -NET_IPV6_IP6FRAG_LOW_THRESH, -NET_IPV6_IP6FRAG_TIME, -NET_IPV6_IP6FRAG_SECRET_INTERVAL, -NET_IPV6_MLD_MAX_MSF -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6_route.h
Deleted
@@ -1,144 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv6_route.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_ipv6_route in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_ipv6_route_xdata = { - XLAT(NET_IPV6_ROUTE_FLUSH), - #define XLAT_VAL_0 ((unsigned) (NET_IPV6_ROUTE_FLUSH)) - #define XLAT_STR_0 STRINGIFY(NET_IPV6_ROUTE_FLUSH) - XLAT(NET_IPV6_ROUTE_GC_THRESH), - #define XLAT_VAL_1 ((unsigned) (NET_IPV6_ROUTE_GC_THRESH)) - #define XLAT_STR_1 STRINGIFY(NET_IPV6_ROUTE_GC_THRESH) - XLAT(NET_IPV6_ROUTE_MAX_SIZE), - #define XLAT_VAL_2 ((unsigned) (NET_IPV6_ROUTE_MAX_SIZE)) - #define XLAT_STR_2 STRINGIFY(NET_IPV6_ROUTE_MAX_SIZE) - XLAT(NET_IPV6_ROUTE_GC_MIN_INTERVAL), - #define XLAT_VAL_3 ((unsigned) (NET_IPV6_ROUTE_GC_MIN_INTERVAL)) - #define XLAT_STR_3 STRINGIFY(NET_IPV6_ROUTE_GC_MIN_INTERVAL) - XLAT(NET_IPV6_ROUTE_GC_TIMEOUT), - #define XLAT_VAL_4 ((unsigned) (NET_IPV6_ROUTE_GC_TIMEOUT)) - #define XLAT_STR_4 STRINGIFY(NET_IPV6_ROUTE_GC_TIMEOUT) - XLAT(NET_IPV6_ROUTE_GC_INTERVAL), - #define XLAT_VAL_5 ((unsigned) (NET_IPV6_ROUTE_GC_INTERVAL)) - #define XLAT_STR_5 STRINGIFY(NET_IPV6_ROUTE_GC_INTERVAL) - XLAT(NET_IPV6_ROUTE_GC_ELASTICITY), - #define XLAT_VAL_6 ((unsigned) (NET_IPV6_ROUTE_GC_ELASTICITY)) - #define XLAT_STR_6 STRINGIFY(NET_IPV6_ROUTE_GC_ELASTICITY) - XLAT(NET_IPV6_ROUTE_MTU_EXPIRES), - #define XLAT_VAL_7 ((unsigned) (NET_IPV6_ROUTE_MTU_EXPIRES)) - #define XLAT_STR_7 STRINGIFY(NET_IPV6_ROUTE_MTU_EXPIRES) - XLAT(NET_IPV6_ROUTE_MIN_ADVMSS), - #define XLAT_VAL_8 ((unsigned) (NET_IPV6_ROUTE_MIN_ADVMSS)) - #define XLAT_STR_8 STRINGIFY(NET_IPV6_ROUTE_MIN_ADVMSS) -#if defined(NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS) || (defined(HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS) && HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS) - XLAT(NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS), - #define XLAT_VAL_9 ((unsigned) (NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS)) - #define XLAT_STR_9 STRINGIFY(NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS) -#endif -}; -static -const struct xlat sysctl_net_ipv6_route1 = { { - .data = sysctl_net_ipv6_route_xdata, - .size = ARRAY_SIZE(sysctl_net_ipv6_route_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6_route.in
Deleted
@@ -1,15 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -NET_IPV6_ROUTE_FLUSH -NET_IPV6_ROUTE_GC_THRESH -NET_IPV6_ROUTE_MAX_SIZE -NET_IPV6_ROUTE_GC_MIN_INTERVAL -NET_IPV6_ROUTE_GC_TIMEOUT -NET_IPV6_ROUTE_GC_INTERVAL -NET_IPV6_ROUTE_GC_ELASTICITY -NET_IPV6_ROUTE_MTU_EXPIRES -NET_IPV6_ROUTE_MIN_ADVMSS -#conditional -NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_ipv6_route.m4
Deleted
@@ -1,17 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_ipv6_route.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_net_ipv6_route, -AC_CHECK_DECLS(m4_normalize( -NET_IPV6_ROUTE_FLUSH, -NET_IPV6_ROUTE_GC_THRESH, -NET_IPV6_ROUTE_MAX_SIZE, -NET_IPV6_ROUTE_GC_MIN_INTERVAL, -NET_IPV6_ROUTE_GC_TIMEOUT, -NET_IPV6_ROUTE_GC_INTERVAL, -NET_IPV6_ROUTE_GC_ELASTICITY, -NET_IPV6_ROUTE_MTU_EXPIRES, -NET_IPV6_ROUTE_MIN_ADVMSS, -NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_unix.h
Deleted
@@ -1,65 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_net_unix.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_net_unix in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_net_unix_xdata = { - XLAT(NET_UNIX_DESTROY_DELAY), - #define XLAT_VAL_0 ((unsigned) (NET_UNIX_DESTROY_DELAY)) - #define XLAT_STR_0 STRINGIFY(NET_UNIX_DESTROY_DELAY) - XLAT(NET_UNIX_DELETE_DELAY), - #define XLAT_VAL_1 ((unsigned) (NET_UNIX_DELETE_DELAY)) - #define XLAT_STR_1 STRINGIFY(NET_UNIX_DELETE_DELAY) - XLAT(NET_UNIX_MAX_DGRAM_QLEN), - #define XLAT_VAL_2 ((unsigned) (NET_UNIX_MAX_DGRAM_QLEN)) - #define XLAT_STR_2 STRINGIFY(NET_UNIX_MAX_DGRAM_QLEN) -}; -static -const struct xlat sysctl_net_unix1 = { { - .data = sysctl_net_unix_xdata, - .size = ARRAY_SIZE(sysctl_net_unix_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_net_unix.in
Deleted
@@ -1,4 +0,0 @@ -#unconditional -NET_UNIX_DESTROY_DELAY -NET_UNIX_DELETE_DELAY -NET_UNIX_MAX_DGRAM_QLEN
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_root.h
Deleted
@@ -1,209 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_root.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_root in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_root_xdata = { - XLAT(CTL_KERN), - #define XLAT_VAL_0 ((unsigned) (CTL_KERN)) - #define XLAT_STR_0 STRINGIFY(CTL_KERN) - XLAT(CTL_VM), - #define XLAT_VAL_1 ((unsigned) (CTL_VM)) - #define XLAT_STR_1 STRINGIFY(CTL_VM) - XLAT(CTL_NET), - #define XLAT_VAL_2 ((unsigned) (CTL_NET)) - #define XLAT_STR_2 STRINGIFY(CTL_NET) - XLAT(CTL_FS), - #define XLAT_VAL_3 ((unsigned) (CTL_FS)) - #define XLAT_STR_3 STRINGIFY(CTL_FS) - XLAT(CTL_DEBUG), - #define XLAT_VAL_4 ((unsigned) (CTL_DEBUG)) - #define XLAT_STR_4 STRINGIFY(CTL_DEBUG) - XLAT(CTL_DEV), - #define XLAT_VAL_5 ((unsigned) (CTL_DEV)) - #define XLAT_STR_5 STRINGIFY(CTL_DEV) - XLAT(CTL_BUS), - #define XLAT_VAL_6 ((unsigned) (CTL_BUS)) - #define XLAT_STR_6 STRINGIFY(CTL_BUS) - XLAT(CTL_ABI), - #define XLAT_VAL_7 ((unsigned) (CTL_ABI)) - #define XLAT_STR_7 STRINGIFY(CTL_ABI) - XLAT(CTL_CPU), - #define XLAT_VAL_8 ((unsigned) (CTL_CPU)) - #define XLAT_STR_8 STRINGIFY(CTL_CPU) -#if defined(CTL_PROC) || (defined(HAVE_DECL_CTL_PROC) && HAVE_DECL_CTL_PROC) - XLAT(CTL_PROC), - #define XLAT_VAL_9 ((unsigned) (CTL_PROC)) - #define XLAT_STR_9 STRINGIFY(CTL_PROC) -#endif -#if defined(CTL_ARLAN) || (defined(HAVE_DECL_CTL_ARLAN) && HAVE_DECL_CTL_ARLAN) - XLAT(CTL_ARLAN), - #define XLAT_VAL_10 ((unsigned) (CTL_ARLAN)) - #define XLAT_STR_10 STRINGIFY(CTL_ARLAN) -#endif -#if defined(CTL_S390DBF) || (defined(HAVE_DECL_CTL_S390DBF) && HAVE_DECL_CTL_S390DBF) - XLAT(CTL_S390DBF), - #define XLAT_VAL_11 ((unsigned) (CTL_S390DBF)) - #define XLAT_STR_11 STRINGIFY(CTL_S390DBF) -#endif -#if defined(CTL_SUNRPC) || (defined(HAVE_DECL_CTL_SUNRPC) && HAVE_DECL_CTL_SUNRPC) - XLAT(CTL_SUNRPC), - #define XLAT_VAL_12 ((unsigned) (CTL_SUNRPC)) - #define XLAT_STR_12 STRINGIFY(CTL_SUNRPC) -#endif -#if defined(CTL_PM) || (defined(HAVE_DECL_CTL_PM) && HAVE_DECL_CTL_PM) - XLAT(CTL_PM), - #define XLAT_VAL_13 ((unsigned) (CTL_PM)) - #define XLAT_STR_13 STRINGIFY(CTL_PM) -#endif -#if defined(CTL_FRV) || (defined(HAVE_DECL_CTL_FRV) && HAVE_DECL_CTL_FRV) - XLAT(CTL_FRV), - #define XLAT_VAL_14 ((unsigned) (CTL_FRV)) - #define XLAT_STR_14 STRINGIFY(CTL_FRV) -#endif -}; -static -const struct xlat sysctl_root1 = { { - .data = sysctl_root_xdata, - .size = ARRAY_SIZE(sysctl_root_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_root.in
Deleted
@@ -1,20 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -CTL_KERN -CTL_VM -CTL_NET -CTL_FS -CTL_DEBUG -CTL_DEV -CTL_BUS -CTL_ABI -CTL_CPU -#conditional -CTL_PROC -CTL_ARLAN -CTL_S390DBF -CTL_SUNRPC -CTL_PM -CTL_FRV
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_root.m4
Deleted
@@ -1,22 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_root.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_root, -AC_CHECK_DECLS(m4_normalize( -CTL_KERN, -CTL_VM, -CTL_NET, -CTL_FS, -CTL_DEBUG, -CTL_DEV, -CTL_BUS, -CTL_ABI, -CTL_CPU, -CTL_PROC, -CTL_ARLAN, -CTL_S390DBF, -CTL_SUNRPC, -CTL_PM, -CTL_FRV -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_vm.h
Deleted
@@ -1,266 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_vm.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sysctl_vm in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sysctl_vm_xdata = { - XLAT(VM_OVERCOMMIT_MEMORY), - #define XLAT_VAL_0 ((unsigned) (VM_OVERCOMMIT_MEMORY)) - #define XLAT_STR_0 STRINGIFY(VM_OVERCOMMIT_MEMORY) - XLAT(VM_PAGE_CLUSTER), - #define XLAT_VAL_1 ((unsigned) (VM_PAGE_CLUSTER)) - #define XLAT_STR_1 STRINGIFY(VM_PAGE_CLUSTER) - XLAT(VM_DIRTY_BACKGROUND), - #define XLAT_VAL_2 ((unsigned) (VM_DIRTY_BACKGROUND)) - #define XLAT_STR_2 STRINGIFY(VM_DIRTY_BACKGROUND) - XLAT(VM_DIRTY_RATIO), - #define XLAT_VAL_3 ((unsigned) (VM_DIRTY_RATIO)) - #define XLAT_STR_3 STRINGIFY(VM_DIRTY_RATIO) - XLAT(VM_DIRTY_WB_CS), - #define XLAT_VAL_4 ((unsigned) (VM_DIRTY_WB_CS)) - #define XLAT_STR_4 STRINGIFY(VM_DIRTY_WB_CS) - XLAT(VM_DIRTY_EXPIRE_CS), - #define XLAT_VAL_5 ((unsigned) (VM_DIRTY_EXPIRE_CS)) - #define XLAT_STR_5 STRINGIFY(VM_DIRTY_EXPIRE_CS) - XLAT(VM_NR_PDFLUSH_THREADS), - #define XLAT_VAL_6 ((unsigned) (VM_NR_PDFLUSH_THREADS)) - #define XLAT_STR_6 STRINGIFY(VM_NR_PDFLUSH_THREADS) - XLAT(VM_OVERCOMMIT_RATIO), - #define XLAT_VAL_7 ((unsigned) (VM_OVERCOMMIT_RATIO)) - #define XLAT_STR_7 STRINGIFY(VM_OVERCOMMIT_RATIO) - XLAT(VM_PAGEBUF), - #define XLAT_VAL_8 ((unsigned) (VM_PAGEBUF)) - #define XLAT_STR_8 STRINGIFY(VM_PAGEBUF) - XLAT(VM_HUGETLB_PAGES), - #define XLAT_VAL_9 ((unsigned) (VM_HUGETLB_PAGES)) - #define XLAT_STR_9 STRINGIFY(VM_HUGETLB_PAGES) - XLAT(VM_SWAPPINESS), - #define XLAT_VAL_10 ((unsigned) (VM_SWAPPINESS)) - #define XLAT_STR_10 STRINGIFY(VM_SWAPPINESS) - XLAT(VM_LOWMEM_RESERVE_RATIO), - #define XLAT_VAL_11 ((unsigned) (VM_LOWMEM_RESERVE_RATIO)) - #define XLAT_STR_11 STRINGIFY(VM_LOWMEM_RESERVE_RATIO) - XLAT(VM_MIN_FREE_KBYTES), - #define XLAT_VAL_12 ((unsigned) (VM_MIN_FREE_KBYTES)) - #define XLAT_STR_12 STRINGIFY(VM_MIN_FREE_KBYTES) -#if defined(VM_MAX_MAP_COUNT) || (defined(HAVE_DECL_VM_MAX_MAP_COUNT) && HAVE_DECL_VM_MAX_MAP_COUNT) - XLAT(VM_MAX_MAP_COUNT), - #define XLAT_VAL_13 ((unsigned) (VM_MAX_MAP_COUNT)) - #define XLAT_STR_13 STRINGIFY(VM_MAX_MAP_COUNT) -#endif -#if defined(VM_LAPTOP_MODE) || (defined(HAVE_DECL_VM_LAPTOP_MODE) && HAVE_DECL_VM_LAPTOP_MODE) - XLAT(VM_LAPTOP_MODE), - #define XLAT_VAL_14 ((unsigned) (VM_LAPTOP_MODE)) - #define XLAT_STR_14 STRINGIFY(VM_LAPTOP_MODE) -#endif -#if defined(VM_BLOCK_DUMP) || (defined(HAVE_DECL_VM_BLOCK_DUMP) && HAVE_DECL_VM_BLOCK_DUMP) - XLAT(VM_BLOCK_DUMP), - #define XLAT_VAL_15 ((unsigned) (VM_BLOCK_DUMP)) - #define XLAT_STR_15 STRINGIFY(VM_BLOCK_DUMP) -#endif -#if defined(VM_HUGETLB_GROUP) || (defined(HAVE_DECL_VM_HUGETLB_GROUP) && HAVE_DECL_VM_HUGETLB_GROUP) - XLAT(VM_HUGETLB_GROUP), - #define XLAT_VAL_16 ((unsigned) (VM_HUGETLB_GROUP)) - #define XLAT_STR_16 STRINGIFY(VM_HUGETLB_GROUP) -#endif -#if defined(VM_VFS_CACHE_PRESSURE) || (defined(HAVE_DECL_VM_VFS_CACHE_PRESSURE) && HAVE_DECL_VM_VFS_CACHE_PRESSURE) - XLAT(VM_VFS_CACHE_PRESSURE), - #define XLAT_VAL_17 ((unsigned) (VM_VFS_CACHE_PRESSURE)) - #define XLAT_STR_17 STRINGIFY(VM_VFS_CACHE_PRESSURE) -#endif -#if defined(VM_LEGACY_VA_LAYOUT) || (defined(HAVE_DECL_VM_LEGACY_VA_LAYOUT) && HAVE_DECL_VM_LEGACY_VA_LAYOUT) - XLAT(VM_LEGACY_VA_LAYOUT), - #define XLAT_VAL_18 ((unsigned) (VM_LEGACY_VA_LAYOUT)) - #define XLAT_STR_18 STRINGIFY(VM_LEGACY_VA_LAYOUT) -#endif -#if defined(VM_SWAP_TOKEN_TIMEOUT) || (defined(HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT) && HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT) - XLAT(VM_SWAP_TOKEN_TIMEOUT), - #define XLAT_VAL_19 ((unsigned) (VM_SWAP_TOKEN_TIMEOUT)) - #define XLAT_STR_19 STRINGIFY(VM_SWAP_TOKEN_TIMEOUT) -#endif -}; -static -const struct xlat sysctl_vm1 = { { - .data = sysctl_vm_xdata, - .size = ARRAY_SIZE(sysctl_vm_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif -# ifdef XLAT_VAL_1 - | XLAT_VAL_1 -# endif -# ifdef XLAT_VAL_2 - | XLAT_VAL_2 -# endif -# ifdef XLAT_VAL_3 - | XLAT_VAL_3 -# endif -# ifdef XLAT_VAL_4 - | XLAT_VAL_4 -# endif -# ifdef XLAT_VAL_5 - | XLAT_VAL_5 -# endif -# ifdef XLAT_VAL_6 - | XLAT_VAL_6 -# endif -# ifdef XLAT_VAL_7 - | XLAT_VAL_7 -# endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif -# ifdef XLAT_VAL_9 - | XLAT_VAL_9 -# endif -# ifdef XLAT_VAL_10 - | XLAT_VAL_10 -# endif -# ifdef XLAT_VAL_11 - | XLAT_VAL_11 -# endif -# ifdef XLAT_VAL_12 - | XLAT_VAL_12 -# endif -# ifdef XLAT_VAL_13 - | XLAT_VAL_13 -# endif -# ifdef XLAT_VAL_14 - | XLAT_VAL_14 -# endif -# ifdef XLAT_VAL_15 - | XLAT_VAL_15 -# endif -# ifdef XLAT_VAL_16 - | XLAT_VAL_16 -# endif -# ifdef XLAT_VAL_17 - | XLAT_VAL_17 -# endif -# ifdef XLAT_VAL_18 - | XLAT_VAL_18 -# endif -# ifdef XLAT_VAL_19 - | XLAT_VAL_19 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif -# ifdef XLAT_STR_1 - + sizeof(XLAT_STR_1) -# endif -# ifdef XLAT_STR_2 - + sizeof(XLAT_STR_2) -# endif -# ifdef XLAT_STR_3 - + sizeof(XLAT_STR_3) -# endif -# ifdef XLAT_STR_4 - + sizeof(XLAT_STR_4) -# endif -# ifdef XLAT_STR_5 - + sizeof(XLAT_STR_5) -# endif -# ifdef XLAT_STR_6 - + sizeof(XLAT_STR_6) -# endif -# ifdef XLAT_STR_7 - + sizeof(XLAT_STR_7) -# endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif -# ifdef XLAT_STR_9 - + sizeof(XLAT_STR_9) -# endif -# ifdef XLAT_STR_10 - + sizeof(XLAT_STR_10) -# endif -# ifdef XLAT_STR_11 - + sizeof(XLAT_STR_11) -# endif -# ifdef XLAT_STR_12 - + sizeof(XLAT_STR_12) -# endif -# ifdef XLAT_STR_13 - + sizeof(XLAT_STR_13) -# endif -# ifdef XLAT_STR_14 - + sizeof(XLAT_STR_14) -# endif -# ifdef XLAT_STR_15 - + sizeof(XLAT_STR_15) -# endif -# ifdef XLAT_STR_16 - + sizeof(XLAT_STR_16) -# endif -# ifdef XLAT_STR_17 - + sizeof(XLAT_STR_17) -# endif -# ifdef XLAT_STR_18 - + sizeof(XLAT_STR_18) -# endif -# ifdef XLAT_STR_19 - + sizeof(XLAT_STR_19) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# undef XLAT_STR_1 -# undef XLAT_VAL_1 -# undef XLAT_STR_2 -# undef XLAT_VAL_2 -# undef XLAT_STR_3 -# undef XLAT_VAL_3 -# undef XLAT_STR_4 -# undef XLAT_VAL_4 -# undef XLAT_STR_5 -# undef XLAT_VAL_5 -# undef XLAT_STR_6 -# undef XLAT_VAL_6 -# undef XLAT_STR_7 -# undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 -# undef XLAT_STR_9 -# undef XLAT_VAL_9 -# undef XLAT_STR_10 -# undef XLAT_VAL_10 -# undef XLAT_STR_11 -# undef XLAT_VAL_11 -# undef XLAT_STR_12 -# undef XLAT_VAL_12 -# undef XLAT_STR_13 -# undef XLAT_VAL_13 -# undef XLAT_STR_14 -# undef XLAT_VAL_14 -# undef XLAT_STR_15 -# undef XLAT_VAL_15 -# undef XLAT_STR_16 -# undef XLAT_VAL_16 -# undef XLAT_STR_17 -# undef XLAT_VAL_17 -# undef XLAT_STR_18 -# undef XLAT_VAL_18 -# undef XLAT_STR_19 -# undef XLAT_VAL_19 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_vm.in
Deleted
@@ -1,25 +0,0 @@ -#enum -#include <sys/types.h> -#include <linux/sysctl.h> -#unconditional -VM_OVERCOMMIT_MEMORY -VM_PAGE_CLUSTER -VM_DIRTY_BACKGROUND -VM_DIRTY_RATIO -VM_DIRTY_WB_CS -VM_DIRTY_EXPIRE_CS -VM_NR_PDFLUSH_THREADS -VM_OVERCOMMIT_RATIO -VM_PAGEBUF -VM_HUGETLB_PAGES -VM_SWAPPINESS -VM_LOWMEM_RESERVE_RATIO -VM_MIN_FREE_KBYTES -#conditional -VM_MAX_MAP_COUNT -VM_LAPTOP_MODE -VM_BLOCK_DUMP -VM_HUGETLB_GROUP -VM_VFS_CACHE_PRESSURE -VM_LEGACY_VA_LAYOUT -VM_SWAP_TOKEN_TIMEOUT
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysctl_vm.m4
Deleted
@@ -1,27 +0,0 @@ -dnl Generated by ./src/xlat/gen.sh from ./src/xlat/sysctl_vm.in; do not edit. -AC_DEFUN(st_CHECK_ENUMS_sysctl_vm, -AC_CHECK_DECLS(m4_normalize( -VM_OVERCOMMIT_MEMORY, -VM_PAGE_CLUSTER, -VM_DIRTY_BACKGROUND, -VM_DIRTY_RATIO, -VM_DIRTY_WB_CS, -VM_DIRTY_EXPIRE_CS, -VM_NR_PDFLUSH_THREADS, -VM_OVERCOMMIT_RATIO, -VM_PAGEBUF, -VM_HUGETLB_PAGES, -VM_SWAPPINESS, -VM_LOWMEM_RESERVE_RATIO, -VM_MIN_FREE_KBYTES, -VM_MAX_MAP_COUNT, -VM_LAPTOP_MODE, -VM_BLOCK_DUMP, -VM_HUGETLB_GROUP, -VM_VFS_CACHE_PRESSURE, -VM_LEGACY_VA_LAYOUT, -VM_SWAP_TOKEN_TIMEOUT -),,, -#include <sys/types.h> -#include <linux/sysctl.h> -)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_cqring_flags.h
Deleted
@@ -1,43 +0,0 @@ -/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_cqring_flags.in; do not edit. */ - -#include "gcc_compat.h" -#include "static_assert.h" - - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat uring_cqring_flags in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data uring_cqring_flags_xdata = { - XLAT(IORING_CQ_EVENTFD_DISABLED), - #define XLAT_VAL_0 ((unsigned) (IORING_CQ_EVENTFD_DISABLED)) - #define XLAT_STR_0 STRINGIFY(IORING_CQ_EVENTFD_DISABLED) -}; -static -const struct xlat uring_cqring_flags1 = { { - .data = uring_cqring_flags_xdata, - .size = ARRAY_SIZE(uring_cqring_flags_xdata), - .type = XT_NORMAL, - .flags_mask = 0 -# ifdef XLAT_VAL_0 - | XLAT_VAL_0 -# endif - , - .flags_strsz = 0 -# ifdef XLAT_STR_0 - + sizeof(XLAT_STR_0) -# endif - , -} }; -DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE - -# undef XLAT_STR_0 -# undef XLAT_VAL_0 -# endif /* !IN_MPERS */ - -#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_cqring_flags.in
Deleted
@@ -1,2 +0,0 @@ -#unconditional -IORING_CQ_EVENTFD_DISABLED
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace-T.expected
Deleted
@@ -1,1 +0,0 @@ -nanosleep\(\{tv_sec=1, tv_nsec=0\}, NULL\) = 0 <(1\.01|0\.9):digit:{5}>
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace-T.test
Deleted
@@ -1,16 +0,0 @@ -#!/bin/sh -# -# Check -T option. -# -# Copyright (c) 2016-2020 The strace developers. -# All rights reserved. -# -# SPDX-License-Identifier: GPL-2.0-or-later - -. "${srcdir=.}/init.sh" - -T_opt="${1:--T}" - -run_prog ../sleep 0 -run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 -match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace-T.expected
Deleted
@@ -1,1 +0,0 @@ -nanosleep\(\{tv_sec=1, tv_nsec=0\}, NULL\) = 0 <(1\.01|0\.9):digit:{5}>
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace-T.test
Deleted
@@ -1,16 +0,0 @@ -#!/bin/sh -# -# Check -T option. -# -# Copyright (c) 2016-2020 The strace developers. -# All rights reserved. -# -# SPDX-License-Identifier: GPL-2.0-or-later - -. "${srcdir=.}/init.sh" - -T_opt="${1:--T}" - -run_prog ../sleep 0 -run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 -match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace-T.test
Deleted
@@ -1,16 +0,0 @@ -#!/bin/sh -# -# Check -T option. -# -# Copyright (c) 2016-2020 The strace developers. -# All rights reserved. -# -# SPDX-License-Identifier: GPL-2.0-or-later - -. "${srcdir=.}/init.sh" - -T_opt="${1:--T}" - -run_prog ../sleep 0 -run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 -match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/.tarball-version -> _service:tar_scm:strace-6.1.tar.xz/.tarball-version
Changed
@@ -1,1 +1,1 @@ -5.14 +6.1
View file
_service:tar_scm:strace-5.14.tar.xz/.version -> _service:tar_scm:strace-6.1.tar.xz/.version
Changed
@@ -1,1 +1,1 @@ -5.14 +6.1
View file
_service:tar_scm:strace-5.14.tar.xz/.year -> _service:tar_scm:strace-6.1.tar.xz/.year
Changed
@@ -1,1 +1,1 @@ -2021 +2022
View file
_service:tar_scm:strace-5.14.tar.xz/COPYING -> _service:tar_scm:strace-6.1.tar.xz/COPYING
Changed
@@ -4,7 +4,7 @@ Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net> Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> Copyright (c) 1998-2001 Wichert Akkerman <wakkerma@deephackmode.org> -Copyright (c) 2001-2021 The strace developers. +Copyright (c) 2001-2022 The strace developers. All rights reserved. strace is free software; you can redistribute it and/or modify it
View file
_service:tar_scm:strace-5.14.tar.xz/CREDITS -> _service:tar_scm:strace-6.1.tar.xz/CREDITS
Changed
@@ -15,6 +15,8 @@ Aaron Ucko <ucko@vax1.rockhurst.edu> Abhishek Tiwari <erabhishektiwarics@gmail.com> Adrien Kunysz <adrien@kunysz.be> + Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> + Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Alexey Brodkin <Alexey.Brodkin@synopsys.com> Alexey Gladkov <gladkov.alexey@gmail.com> Alexey Neyman <stilor@att.net> @@ -28,6 +30,7 @@ Andreas Schwab <schwab@linux-m68k.org> Andrew Guertin <lists@dolphinling.net> Andrey Zax <andrey.zax@gmail.com> + André Almeida <andrealmeid@collabora.com> Angelo Castello <angelo.castello@st.com> Anton Blanchard <anton@samba.org> Arkadiusz Miskiewicz <misiek@pld.org.pl> @@ -40,6 +43,7 @@ Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Bharath Vedartham <linux.bhar@gmail.com> Bo Kullmar <bk@kullmar.se> + Bruce Ashfield <bruce.ashfield@gmail.com> Bryan Matsuo <bryan.matsuo@gmail.com> Bryce Gibson <bryce@gibson-consulting.com.au> Burkhard Kohl <burkhard.kohl@intel.com> @@ -48,6 +52,7 @@ Carmelo Amoroso <carmelo.amoroso@st.com> Chen Jingpiao <chenjingpiao@gmail.com> Cheolung Lee <chpie@grayhash.com> + Chih-Hsuan Yen <yan12125@gmail.com> Chris Dearman <chris.dearman@imgtec.com> Chris Lamb <lamby@debian.org> Chris Metcalf <cmetcalf@tilera.com> @@ -105,7 +110,6 @@ Greg Banks <gbanks@pocketpenguins.com> Guo Ren <ren_guo@c-sky.com> H.J. Lu <hongjiu.lu@intel.com> - Harald van Dijk <truedfx@gentoo.org> Harsha Sharma <harshasharmaiitr@gmail.com> Heiko Carstens <heiko.carstens@de.ibm.com> Helge Deller <deller@gmx.de> @@ -135,9 +139,10 @@ Johannes Stezenbach <js@sig21.net> John Hughes <john@Calva.COM> John Spencer <maillist-strace@barfooze.de> + Jonathan Borne <jborne@kalray.eu> Josef T. Burger <bolo@cs.wisc.edu> Josh Triplett <josh@freedesktop.org> - Joshua Neal <tinara@netpipeline.net> + Joubin Jabbari <joubin@linux.com> Jürgen Fluk <louis@marco.de> Jürgen Weigert <jnweiger@immd4.informatik.uni-erlangen.de> Katerina Koukiou <k.koukiou@googlemail.com> @@ -150,6 +155,7 @@ Kyle McMartin <kyle@mcmartin.ca> Lai JiangShan <laijs@cn.fujitsu.com> Lazar Trsic <Lazar.Trsic@imgtec.com> + Lenka Špačková <lkuprova@redhat.com> Lennart Sorensen <lsorense@csclub.uwaterloo.ca> Leonard N. Zubkoff <lnz@dandelion.com> Li Er <phoooyb@gmail.com> @@ -163,6 +169,7 @@ Mark Wielaard <mjw@redhat.com> Martin Lau <kafai@fb.com> Marty Leisner <leisner@sdsp.mc.xerox.com> + Marvin Schmidt <marv@exherbo.org> Masatake YAMATO <yamato@redhat.com> Matt Day <mday@artisoft.com> Matthias Pfaller <leo@dachau.marco.de> @@ -197,8 +204,10 @@ Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Paul Chaignon <paul.chaignon@gmail.com> Paul Mundt <lethal@linux-sh.org> + Paulo Andrade <pandrade@redhat.com> Pavel Machek <pavel@ucw.cz> Pavel Zhukov <pzhukov@redhat.com> + Pegasust <pegasucksgg@gmail.com> Peter Jones <pjones@redhat.com> Peter Zotov <whitequark@whitequark.org> Philipp Marek <philipp.marek@emerion.com> @@ -222,20 +231,24 @@ Rishi Bhatt <bhatt.rishi062@gmail.com> Robin Hack <hack.robin@gmail.com> Roland Borde <bo@uebemc.siemens.de> + Roland Illig <roland.illig@gmx.de> Roland McGrath <roland@redhat.com> Rolf Eike Beer <eb@emlix.com> Romain Naour <romain.naour@smile.fr> Ruinland ChuanTzu Tsai <ruinland@andestech.com> + Sahil Kang <sahil.kang@asilaycomputing.com> Sami Farin <safari@u.safari.iki.fi> Sandhya Bankar <bankarsandhya512@gmail.com> Scott Tsai <scottt958@yahoo.com.tw> Sean Stangl <sstangl@mozilla.com> + Sean Young <sean@mess.org> Sebastian Pipping <sebastian@pipping.org> Seraphime Kirkovski <kirkseraph@gmail.com> - Sergei Trofimovich <slyfox@gentoo.org> + Sergei Trofimovich <slyich@gmail.com> Sergey Bolshakov <sbolshakov@altlinux.org> Shankara Pailoor <shankarapailoor@gmail.com> Simon Murray <simon@transitive.com> + Slava Bacherikov <slava@bacher09.org> Solar Designer <solar@openwall.com> Srikavin Ramkumar <srikavinramkumar@gmail.com> Srinivasa Ds <srinivasa@in.ibm.com> @@ -245,6 +258,7 @@ Steve Langasek <steve.langasek@ubuntu.com> Steve McIntyre <steve@einval.com> Steven Honeyman <stevenhoneyman@gmail.com> + SuHsueyu <anolasc13@gmail.com> Sven Schnelle <svens@stackframe.org> Szabolcs Nagy <nsz@port70.net> Thanh Ma <tma@encore.com> @@ -265,12 +279,14 @@ Vineet Gupta <Vineet.Gupta1@synopsys.com> Vitaly Chaykovsky <mgspeker@gmail.com> Vladimir D. Seleznev <vseleznv@altlinux.org> + Václav Kadlčík <vkadlcik@redhat.com> + WANG Xuerui <git@xen0n.name> Wang Chao <wang.chao@cn.fujitsu.com> Weichuan Yan <wchyan@marvell.com> Wichert Akkerman <wichert@deephackmode.org> William Manley <will@williammanley.net> Xiaoning Ding <dingxn@gmail.com> - Yang Zhiguo <yzgcsu@cn.fujitsu.com> + Yaakov Selkowitz <yselkowitz@fedoraproject.org> Yun-Chih Chen <b03902074@ntu.edu.tw> Zach Brown <zach.brown@oracle.com> Zev Weiss <zev@bewilderbeest.net> @@ -279,4 +295,3 @@ Zubin Mithra <zubin.mithra@gmail.com> Ákos Uzonyi <uzonyi.akos@gmail.com> Марк Коренберг <socketpair@gmail.com> - наб <nabijaczleweli@gmail.com>
View file
_service:tar_scm:strace-5.14.tar.xz/ChangeLog -> _service:tar_scm:strace-6.1.tar.xz/ChangeLog
Changed
@@ -1,3 +1,7243 @@ +2022-12-12 Dmitry V. Levin <ldv@strace.io> + + Prepare for 6.1 release. + * NEWS: Update for 6.1 release. + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2022-12-11 Dmitry V. Levin <ldv@strace.io> + + statx: decode new fields added to struct statx. + * src/statx.h (struct_statx): Add stx_mnt_id, stx_dio_mem_align, + and stx_dio_offset_align fields, update reserved2 field. + * src/statx.c (SYS_FUNC(statx)): Print the new fields when + the appropriate bits of struct statx.stx_mask are set. + * tests/xstatx.c (print_stat) IS_STATX: Update expected output. + * NEWS: Mention this change. + + statx: honor struct statx.stx_mask. + * src/statx.c (SYS_FUNC(statx)): Make printing of optional struct statx + fields dependent on the value of struct statx.stx_mask. + * tests/xstatx.c (print_stat): Update expected output. + + xlat: update TLS_* constants. + * src/xlat/tls_info_ciphers.in (TLS_CIPHER_ARIA_GCM_128, + TLS_CIPHER_ARIA_GCM_256): New constants introduced by Linux kernel + commit v6.1-rc1~170^2~85. + * tests/nlattr_inet_diag_msg.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update STATX_* constants. + * src/xlat/statx_masks.in (STATX_DIOALIGN): New constant introduced + by Linux kernel commit v6.1-rc1~187^2~7. + * tests/xstatx.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update PERF_* constants. + * src/xlat/perf_branch_sample_type.in (PERF_SAMPLE_BRANCH_PRIV_SAVE): + New constant introduced by Linux kernel commit v6.1-rc1~97^2~60. + * tests/perf_event_open.c (BRANCH_TYPE_ALL, main): Update expected + output. + * NEWS: Mention this change. + + xlat: update NLMSGERR_* constants. + * src/xlat/nlmsgerr_attrs.in (NLMSGERR_ATTR_MISS_TYPE, + NLMSGERR_ATTR_MISS_NEST): New constants introduced by Linux kernel + commit v6.1-rc1~170^2~313^2~4. + * NEWS: Mention this change. + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_DIRTY_LOG_RING_ACQ_REL): New constant + introduced by Linux kernel commit v6.1-rc1~49^2~1^2~1^2~4. + * NEWS: Mention this change. + + xlat: update ABS_* constants. + * src/xlat/evdev_abs.in (ABS_PROFILE): New constant introduced + by Linux kernel commit v6.1-rc1~54^2^2~9. + * NEWS: Mention this change. + + xlat: update IFLA_* constants. + * src/xlat/rtnl_link_attrs.in (IFLA_ALLMULTI): New constant introduced + by Linux kernel commit v6.1-rc1~170^2~218. + * src/rtnl_link.c (ifinfomsg_nla_decoders) <IFLA_ALLMULTI>: New entry. + * NEWS: Mention this change. + + xlat: update ETH_P_* constants. + * src/xlat/ethernet_protocols.in (ETH_P_CANXL): New constant introduced + by Linux kernel commit v6.1-rc1~170^2~209^2^2~2. + * tests/nlattr_ifla_vfinfo.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update COUNTER_* constants. + * src/xlat/counter_ioctl_event_types.in (COUNTER_EVENT_CAPTURE): New + constant introduced by Linux kernel commit v6.1-rc1~113^2~16. + * tests/ioctl_counter.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update BTRFS_* constants. + * src/xlat/btrfs_features_compat_ro.in + (BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE): New constant introduced + by Linux kernel commit v6.1-rc1~142^2~102. + * NEWS: Mention this change. + + xlat: update BPF_* constants. + * src/xlat/bpf_map_types.in (BPF_MAP_TYPE_USER_RINGBUF): New constant + introduced by Linux kernel commit v6.1-rc1~170^2~10^2~39^2~3. + * NEWS: Mention this change. + * tests/bpf.c (BPF_MAP_CREATE_checks): Update. + + xlat: update MADV_* constants. + * src/xlat/madvise_cmds.in (MADV_COLLAPSE): New constant + introduced by Linux kernel commit v6.1-rc1~21^2~577. + * NEWS: Mention this. + +2022-12-11 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v6.1. + In addition to linux/io_uring.h that was excluded from updates because + of non-trivial implications caused by use of linux/time_types.h in that + header file starting with v6.0, linux/in.h is also excluded from updates + due to its use of linux/stddef.h starting with v6.1. + + * bundled/linux/include/uapi/asm-generic/hugetlb_encode.h: Update to + headers_install'ed Linux kernel v6.1. + * bundled/linux/include/uapi/linux/btrfs.h: Likewise. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Likewise. + * bundled/linux/include/uapi/linux/counter.h: Likewise. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/input-event-codes.h: Likewise. + * bundled/linux/include/uapi/linux/landlock.h: Likewise. + * bundled/linux/include/uapi/linux/netfilter/ipset/ip_set.h: Likewise. + * bundled/linux/include/uapi/linux/netlink.h: Likewise. + * bundled/linux/include/uapi/linux/perf_event.h: Likewise. + * bundled/linux/include/uapi/linux/pkt_sched.h: Likewise. + * bundled/linux/include/uapi/linux/stat.h: Likewise. + * bundled/linux/include/uapi/linux/tls.h: Likewise. + * bundled/linux/include/uapi/linux/userfaultfd.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/version.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + * bundled/linux/include/uapi/mtd/mtd-abi.h: Likewise. + * bundled/linux/include/uapi/mtd/ubi-user.h: Likewise. + +2022-12-10 Dmitry V. Levin <ldv@strace.io> + + Reduce sysctl decoder to the bare minimum. + Given that sysctl syscall was removed by Linux kernel commit + v5.5-rc1~102^2, do not spend limited resources on the incomplete decoder + of sysctl syscall and reduce it to the bare minimum. At the same time, + add mpers support and a test for the new decoder to make sure it works + properly. + + * src/sysctl.c: Rewrite. + * src/xlat/sysctl_*.in: Remove. + * tests/sysctl.c: New file. + * tests/gen_tests.in (sysctl): New test. + * tests/pure_executables.list: Add sysctl. + * tests/.gitignore: Likewise. + +2022-12-09 Dmitry V. Levin <ldv@strace.io> + + ia64: use sysctl decoder. + Apparently, sysctl syscall has never been decoded on ia64. Although the + syscall is now removed from the Linux kernel, it's never late to fix the + decoder on ia64. + + * src/linux/ia64/syscallent.h (sysctl): Use the sysctl decoder + instead of printargs. + +2022-12-02 Dmitry V. Levin <ldv@strace.io> + + .github: switch from actions/checkout@v2 to actions/checkout@v3. + This fixes the following diagnostic warning: + + Node.js 12 actions are deprecated. For more information see: + https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. + + * .github/workflows/ci.yml: Replace actions/checkout@v2 with + actions/checkout@v3. + +2022-11-28 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v6.1. + * src/linux/32/ioctls_inc_align16.h: Update from linux v6.1-rc7 using + ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/s390/ioctls_arch0.h: Likewise. + * src/linux/s390x/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + +2022-11-28 Dmitry V. Levin <ldv@strace.io> + + print_icmp_filter: fix icmp_filter decoding on 64-bit bigendian architectures + * src/net.c (print_icmp_filter): Fix next_set_bit usage. + + Fixes: v6.0-27-g238f5799f "print_icmp_filter: print icmp_filter as a bitset" + Resolves: https://github.com/strace/strace/issues/229 + +2022-11-27 Dmitry V. Levin <ldv@strace.io> + + src: introduce tprint_attribute_{begin,end} helpers. + * src/print_fields.h (tprint_attribute_begin, tprint_attribute_end): + New inline functions. + * src/print_instruction_pointer.c (print_instruction_pointer): Use them. + * src/print_syscall_number.c (print_syscall_number): Likewise. + * src/secontext.c (selinux_printfdcon, selinux_printfilecon, + selinux_printpidcon): Likewise. + * src/strace.c (printleader): Likewise. + * src/syscall.c (stub_sysent): Update sys_name. + * tests/kill_child.c: Update comment. + * tests/kill_child.test: Update expected output. + + src: introduce tprint_associated_info_{begin,end} helpers. + * src/print_fields.h (tprint_associated_info_begin, + tprint_associated_info_end): New inline functions. + * src/open.c (print_dirfd): Use them. + * src/strace.c (print_comm_str): Likewise. + * src/syscall.c (syscall_exiting_trace): Likewise. + * src/util.c (print_string_in_angle_brackets, printdev, printpidfd, + print_quoted_string_in_angle_brackets): Likewise. + +2022-11-27 Dmitry V. Levin <ldv@strace.io> + + dm: decode dm_ioctl as a pseudoarray. + Somewhat similar to netlink messages, dm_ioctl data is a struct dm_ioctl + header followed by payload. + + * src/dm.c (dm_decode_dm_target_spec, dm_decode_dm_target_deps, + dm_decode_dm_name_list, dm_decode_dm_target_versions, + dm_decode_dm_target_msg, dm_decode_string): Use tprint_array_next + to print separator between payload records. + (dm_decode_header, dm_decode_payload): New functions. + (dm_known_ioctl): Use them. + * tests/ioctl_dm.c (main): Update expected output. + +2022-11-27 Dmitry V. Levin <ldv@strace.io> + + src: introduce tprint_newline() helper. + * src/print_fields.h (tprint_newline): New inline function. + * src/strace.c (ptrace_restart, printleader, maybe_switch_tcbs, + print_signalled, print_exited, print_stopped, print_event_exit): Use it. + * src/syscall.c (syscall_exiting_trace): Likewise. + + src: introduce tprint_null() helper. + * src/print_fields.h (tprint_null): New inline function. + * src/util.c (printaddr64, printpathn, printstr_ex, print_array_ex): + Use it. + +2022-11-26 Dmitry V. Levin <ldv@strace.io> + + print_icmp_filter: print icmp_filter as a bitset. + * src/xlat/icmp_filter_flags.in: New file. + * src/xlat/icmpfilterflags.in: Remove. + * src/net.c: Include "xlat/icmp_filter_flags.h" instead of + "xlat/icmpfilterflags.h". + (print_icmp_filter): Print struct icmp_filter.data as a bitset. + * tests/net-icmp_filter.c (main): Update expected output. + + print_affinitylist: use tprint_bitset_* helpers to print bitsets. + * src/affinity.c (print_affinitylist): Replace tprint_array_* helpers + with the corresponding tprint_bitset_* helpers. + * tests/io_uring_register.c (main): Update expected output. + * tests/sched_xetaffinity.c (main): Likewise. + +2022-11-25 Dmitry V. Levin <ldv@strace.io> + + mips: fix decoding of ioctl 't' commands. + Similar to alpha, powerpc, and sparc architectures, some of tty ioctl + commands on mips also have type 't'. + + * src/ioctl.c (ioctl_decode) MIPS: Handle type 't'. + +2022-11-25 Dmitry V. Levin <ldv@strace.io> + + xlat/modem_flags: fix fallback definitions for mips. + * src/xlat/modem_flags.in __mips__ (TIOCM_ST, TIOCM_SR, TIOCM_CTS, + TIOCM_CAR, TIOCM_RNG, TIOCM_DSR): Provide correct fallback + definitions. + * tests/ioctl_tiocm.c __mips__ (VALID_FLAGS, INVALID_FLAGS): + Provide correct definitions. + + Fixes: v6.0-10-gebc5d9e24 "xlat: update TIOCM_* constants" + +2022-11-25 Dmitry V. Levin <ldv@strace.io> + + s390: use more print_fields.h helpers. + * src/s390.c (decode_ebcdic, print_sthyi_machine, print_sthyi_guest, + guard_storage_print_gscb): Use tprint_struct_next. + (guard_storage_print_gsepl): Use tprint_struct_next, + tprint_indirect_begin, and tprint_indirect_end. + (SYS_FUNC(s390_guarded_storage), SYS_FUNC(s390_runtime_instr)): + Use tprint_arg_next. + (SYS_FUNC(s390_sthyi)): Use tprint_arg_next and PRINT_VAL_X. + (SYS_FUNC(s390_pci_mmio_write), SYS_FUNC(s390_pci_mmio_read)): + Use tprint_arg_next, PRINT_VAL_X, and PRINT_VAL_U. + +2022-11-24 Dmitry V. Levin <ldv@strace.io> + + strace.spec.in: skip tests for all 32-bit architectures on fedora and rhel + gcc on the latest versions of fedora and rhel fails to compile + strace tests not just for x86 architecture but for armv7 as well. + + * strace.spec.in (%check) fedora >= 35 || rhel > 9: Skip on all + 32-bit architectures. + +2022-11-24 Yaakov Selkowitz <yselkowitz@fedoraproject.org> + + strace.spec.in: skip tests for x86 architecture on ELN. + * strace.spec.in (%check): Skip on %ix86 and rhel > 9. + +2022-11-24 Dmitry V. Levin <ldv@strace.io> + + swapon: use more print_fields.h helpers. + * src/swapon.c (SYS_FUNC(swapon)): Use PRINT_VAL_U. + +2022-11-23 Dmitry V. Levin <ldv@strace.io> + + sockaddr: use more print_fields.h helpers. + * src/sockaddr.c (print_sockaddr_data_ll): Use PRINT_VAL_0X. + +2022-11-22 Dmitry V. Levin <ldv@strace.io> + + netlink_netlink_diag: use more print_fields.h helpers. + * src/netlink_netlink_diag.c (print_group): Use PRINT_VAL_0X. + +2022-11-21 Dmitry V. Levin <ldv@strace.io> + + numa: use more print_fields.h helpers. + * src/numa.c (print_node): Use PRINT_VAL_0X. + * tests/get_mempolicy.c (print_nodes): Update expected output. + * tests/set_mempolicy.c (print_nodes): Likewise. + +2022-11-20 Dmitry V. Levin <ldv@strace.io> + + personality: use more print_fields.h helpers. + * src/personality.c (SYS_FUNC(personality)): Use PRINT_VAL_X. + +2022-11-19 Dmitry V. Levin <ldv@strace.io> + + tests: fix injection tests on ia64 architecture. + * tests/filtering_syscall-syntax.test: Use 1025 instead of 1 as a valid + syscall on ia64 architecture. + * tests/qual_fault.test: Use 1068 instead of 51 as a valid syscall + on ia64 architecture. + * tests/qual_inject-syntax.test: Use 1068 instead of 42 as a valid + syscall on ia64 architecture. + * tests/qual_syscall.test: Likewise. + * NEWS: Mention this change. + + Fixes: v5.17~48 "Enhance rejection of invalid syscall numbers in syscall specification expressions" + +2022-11-13 Dmitry V. Levin <ldv@strace.io> + + term: modernize. + * src/term.c: Do not include xlat/termio_cc.h unless _VMIN is defined. + Use macros from print_fields.h. + (decode_termios2, decode_termios): Do not print c_ccVMIN + and c_ccVTIME twice. + (decode_termio): Do not print c_cc_VMIN and c_cc_VTIME twice. + * tests/ioctl_termios.c: Update expected output. + * NEWS: Mention this change. + +2022-11-13 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add struct termios-related ioctl command test. + + term: improve decoding of termios and termio structures. + Closes: https://github.com/strace/strace/issues/130 + +2022-11-12 Dmitry V. Levin <ldv@strace.io> + + tprint_array_index_end: remove extra whitespace from the output. + * src/print_fields.h (tprint_array_index_end): Remove extra whitespace + from the output around '='. + * tests/btrfs.c (btrfs_test_get_dev_stats_ioctl): Update expected + output. + * tests/io_uring_register.c (main): Likewise. + * tests/nlattr_ifla_af_inet6.h (print_arr_val, print_arr_uval): Likewise. + * tests/nlattr_ifstats.c (PR_FIELD_, FIELD_STR_): Likewise. + * tests/nlattr_inet_diag_msg.c (print_uint): Likewise. + +2022-11-06 Dmitry V. Levin <ldv@strace.io> + + xlat: update TIOCM_* constants. + * src/xlat/modem_flags.in: Provide fallback definitions. + (TIOCM_OUT1, TIOCM_OUT2, TIOCM_LOOP): New constants introduced + before Linux kernel commit v2.6.12-rc2. + * tests/ioctl_tiocm.c (main): Update expected output. + + tests: check decoding of ioctl TIOCM* commands. + * tests/ioctl_tiocm.c: New file. + * tests/gen_tests.in (ioctl_tiocm): New test. + * tests/pure_executables.list: Add ioctl_tiocm. + * tests/.gitignore: Likewise. + +2022-11-05 Dmitry V. Levin <ldv@strace.io> + + tests: check decoding of ioctl TIOCGSWINSZ commands. + * tests/ioctl_winsize.c: New file. + * tests/gen_tests.in (ioctl_winsize): New test. + * tests/pure_executables.list: Add ioctl_winsize. + * tests/.gitignore: Likewise. + +2022-11-05 Dmitry V. Levin <ldv@strace.io> + + sparc: fix decoding of ioctl 't' commands. + Similar to alpha and powerpc architectures, some of tty ioctl commands + on sparc are also have type 't'. + + * src/ioctl.c (ioctl_decode) SPARC || SPARC64: Handle type 't'. + +2022-11-04 Dmitry V. Levin <ldv@strace.io> + + src: introduce tprint_space() helper. + * src/print_fields.h (tprint_space): New inline function. + * src/print_instruction_pointer.c (print_instruction_pointer): Use it. + * src/print_syscall_number.c (print_syscall_number): Likewise. + * src/secontext.c (selinux_printfdcon, selinux_printfilecon, + selinux_printpidcon): Likewise. + * src/strace.c (printleader): Likewise. + * src/syscall.c (syscall_exiting_trace): Likewise. + +2022-11-03 Dmitry V. Levin <ldv@strace.io> + + v4l2: use tprint_value_changed() helper from print_fields.h. + * src/v4l2.c (print_v4l2_streamparm, print_v4l2_tuner, + print_v4l2_ext_controls): Use tprint_struct_next, tprint_struct_begin, + tprint_struct_end, and tprint_value_changed. + +2022-11-02 Dmitry V. Levin <ldv@strace.io> + + src: introduce tprint_plus() helper. + * src/print_fields.h (tprint_plus): New inline function. + * src/bpf_sock_filter.c (print_sock_filter_k): Use it. + * src/ptrace.c (print_user_offset_addr): Likewise. + * src/sockaddr.c (print_bluetooth_l2_psm, print_bluetooth_l2_cid): + Likewise. + * tests/net-sockaddr.c (check_l2): Update expected output. + +2022-11-01 Dmitry V. Levin <ldv@strace.io> + + src: use tprint_shift() helper from print_fields.h. + +2022-10-31 Dmitry V. Levin <ldv@strace.io> + + src: use tprint_or() helper from print_fields.h. + +2022-10-30 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 6.0-1. + * strace.spec.in: Likewise. + +2022-10-29 Dmitry V. Levin <ldv@strace.io> + + Prepare for 6.0 release. + * NEWS: Update for 6.0 release. + +2022-10-23 Dmitry V. Levin <ldv@strace.io> + + strace.spec.in: skip tests for x86 architecture on the latest fedora versions + gcc on the latest versions of fedora fails to compile strace tests for + x86 architecture, and given that fedora is phasing out that + architecture, there is no hope that issue is ever going to be fixed. + + * strace.spec.in (%check): Skip on %ix86 and fedora >= 35. + +2022-10-17 Dmitry V. Levin <ldv@strace.io> + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2022-10-16 Dmitry V. Levin <ldv@strace.io> + + strace.1: fix typos. + * doc/strace.1.in (.SH HISTORY): Fix two typos. + + Reported-by: Roland Illig <roland.illig@gmx.de> + +2022-10-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v6.0. + * src/linux/32/ioctls_inc_align16.h: Update from linux v6.0 using + ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/i386/ioctls_arch0.h: Likewise. + * src/linux/s390/ioctls_arch0.h: Likewise. + * src/linux/s390x/ioctls_arch0.h: Likewise. + * src/linux/x86_64/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + +2022-10-09 Dmitry V. Levin <ldv@strace.io> + + xlat: update TLS_INFO_* constants. + * src/xlat/inet_diag_ulp_info_tls_attrs.in (TLS_INFO_RX_NO_PAD): + New constant introduced by Linux kernel commit v6.0-rc1~141^2~193^2~2. + * src/netlink_inet_diag.c (diag_ulp_info_tls_nla_decoders): Add + TLS_INFO_RX_NO_PAD. + * tests/nlattr_inet_diag_msg.c (tls_unk_attrs): Update expected output. + * NEWS: Mention this change. + + xlat: update PERF_* constants. + * src/xlat/perf_event_read_format.in (PERF_FORMAT_LOST): New constant + introduced by Linux kernel commit v6.0-rc1~199^2~3. + * tests/ioctl_perf.c (main): Update expected output. + * tests/perf_event_open.c (read_formats): Likewise. + * NEWS: Mention this change. + + xlat: update NDTPA_* constants. + * src/xlat/rtnl_neightbl_parms_attrs.in (NDTPA_INTERVAL_PROBE_TIME_MS): + New constant introduced by Linux kernel commit v6.0-rc1~141^2~249^2. + * src/rtnl_neightbl.c (ndt_parms_nla_decoders): Decode + NDTPA_INTERVAL_PROBE_TIME_MS. + * NEWS: Mention this change. + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_VM_TSC_CONTROL): New constant + introduced by Linux kernel commit v5.19-rc1~137^2~83^2~14. + (KVM_CAP_SYSTEM_EVENT_DATA): New constant introduced + by Linux kernel commit v5.18-rc5~1^2~2^2~1. + (KVM_CAP_ARM_SYSTEM_SUSPEND): New constant introduced + by Linux kernel commit v5.19-rc1~137^2~12^2~4^2~6. + (KVM_CAP_S390_PROTECTED_DUMP): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~389^2~70^2~7. + (KVM_CAP_X86_TRIPLE_FAULT_EVENT): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~389^2~12. + (KVM_CAP_X86_NOTIFY_VMEXIT): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~389^2~9. + (KVM_CAP_VM_DISABLE_NX_HUGE_PAGES): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~169. + (KVM_CAP_S390_ZPCI_OP): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~34^2~21^2~1. + (KVM_CAP_S390_CPU_TOPOLOGY): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6^2~34^2. + * src/xlat/kvm_exit_reason.in (KVM_EXIT_RISCV_CSR): New constant + introduced by Linux kernel commit v6.0-rc1~129^2~7^2~4. + (KVM_EXIT_NOTIFY): New constant introduced + by Linux kernel commit v6.0-rc1~129^2~6. + * NEWS: Mention this change. + + xlat: update ETH_P_* constants. + * src/xlat/ethernet_protocols.in (ETH_P_DSA_A5PSW): New constant + introduced by Linux kernel commit v6.0-rc1~141^2~283^2~13. + * NEWS: Mention this change. + + xlat: update FAN_MARK_* constants. + * src/xlat/fan_mark_flags.in (FAN_MARK_IGNORE): New constant + introduced by Linux kernel commit v6.0-rc1~219^2~1. + * tests/fanotify_mark.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update NT_S390_* constants. + * src/xlat/nt_descriptor_types.in (NT_S390_PV_CPU_DATA): New constant + introduced by Linux kernel commit v6.0-rc1~81^2~5. + * NEWS: Mention this change. + + xlat: update BTRFS_* constants. + * src/xlat/btrfs_send_flags.in (BTRFS_SEND_FLAG_COMPRESSED): New + constant introduced by Linux kernel commit v6.0-rc1~146^2~125. + * NEWS: Mention this change. + + xlat: update BPF_* constants. + * src/xlat/bpf_attach_type.in (BPF_LSM_CGROUP): New constant + introduced by Linux kernel commit v6.0-rc1~141^2~163^2~30^2~8. + * tests/bpf.c (BPF_PROG_QUERY_checks): Update expected output. + * NEWS: Mention this change. + +2022-10-07 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v6.0. + linux/io_uring.h is excluded from this update because of non-trivial + implications caused by changes made to this header file in v6.0. + + * bundled/linux/include/uapi/linux/blkzoned.h: Update to + headers_install'ed Linux kernel v6.0-rc7. + * bundled/linux/include/uapi/linux/btrfs.h: Likewise. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Likewise. + * bundled/linux/include/uapi/linux/dm-ioctl.h: Likewise. + * bundled/linux/include/uapi/linux/fiemap.h: Likewise. + * bundled/linux/include/uapi/linux/fs.h: Likewise. + * bundled/linux/include/uapi/linux/fscrypt.h: Likewise. + * bundled/linux/include/uapi/linux/if_alg.h: Likewise. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/inet_diag.h: Likewise. + * bundled/linux/include/uapi/linux/ip_vs.h: Likewise. + * bundled/linux/include/uapi/linux/neighbour.h: Likewise. + * bundled/linux/include/uapi/linux/perf_event.h: Likewise. + * bundled/linux/include/uapi/linux/rtnetlink.h: Likewise. + * bundled/linux/include/uapi/linux/tls.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/version.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + * bundled/linux/include/uapi/mtd/mtd-abi.h: Likewise. + * bundled/linux/include/uapi/rdma/ib_user_verbs.h: Likewise. + +2022-10-07 Marvin Schmidt <marv@exherbo.org> + + sysent: Provide proper function prototype to fix -Wdeprecated-non-prototype + clang-15 emits an error because the `sys_func` function pointer of the sysent struct doesn't declare + an argument list: + + > make3: Entering directory '/home/marv/devel/strace/src' + > clang -DHAVE_CONFIG_H -I./linux/x86_64 -I./linux/x86_64 -I./linux/generic -I./linux/generic -I. -I. -I../bundled/linux/arch/x86/include/uapi -I../bundled/linux/include/uapi -DIN_STRACE=1 -I./bundled/linux/arch/x86/include/uapi -I./bundled/linux/include/uapi -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wformat-security -Winit-self -Winitializer-overrides -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wundef -Wwrite-strings -Werror -Wall -g -ggdb3 -O0 -c -o libstrace_a-syscall.o `test -f 'syscall.c' || echo './'`syscall.c + > syscall.c:670:65: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x -Werror,-Wdeprecated-non-prototype + > int res = raw(tcp) ? printargs(tcp) : tcp_sysent(tcp)->sys_func(tcp); + > ^ + > syscall.c:815:39: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x -Werror,-Wdeprecated-non-prototype + > sys_res = tcp_sysent(tcp)->sys_func(tcp); + > ^ + > 2 errors generated. + + * src/sysent.h (struct tcb): Add forward declaration. + (struct sysent): Use it to provide a proper prototype of sys_func field. + + Resolves: https://github.com/strace/strace/pull/225 + +2022-10-03 Dmitry V. Levin <ldv@strace.io> + + tests: fix build on aarch64. + This fixes the following compilation errors on aarch64 + + In file included from ptrace-Xraw.c:2: + ptrace.c: In function 'check_compat_ptrace_req': + ptrace.c:1662:28: error: expected expression before ',' token + 1662 | req, NRAW(s), pid, errstr); + | ^ + ptrace.c:1667:28: error: expected expression before ',' token + 1667 | req, NRAW(s), pid, errstr); + | ^ + + * tests/ptrace.c __arm64__ || __aarch64__ (check_compat_ptrace_req): + Update to new NRAW semantics by switching to use XLAT_RAW instead. + + Fixes: v5.19-4-g10eba44ca "tests: make {,N}{ABBR,RAW,VERB} macros more versatile" + +2022-10-02 Dmitry V. Levin <ldv@strace.io> + + xstring.h: fix typo in comment. + +2022-10-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + printsiginfo: consider all POLL_* si_codes as a valid reason to print si_band/si_fd + * src/printsiginfo.c (print_si_info) <case SIGIO>: Add POLL_ERR, + POLL_PRI, and POLL_HUP to the POLL_* case. + + printsiginfo: decode SIGEMT the same way as SIG{ILL,FPE,SEGV,BUS} + * src/printsiginfo.c (print_si_info) SIGEMT <case SIGEMT>: Add + to the SIGILL/SIGFPE/SIGSEGV/SIGBUS case. + + printsiginfo: dispatch signal code names using an array. + * src/printsiginfo.c (print_si_code): Consolidate xlat pointers + into an array, dispatch over it using si_code. + + xlat: update sysctl_kern. + * xlat/sysctl_kern.in (KERN_PANIC_PRINT): New constant, introduced + by Linux commit v5.0-rc1~38^2~16. + + rtnl_neigh: enhance NDA_PROTOCOL decoding. + * src/rtnl_neigh.c (ndmsg_nla_decoders) <NDA_PROTOCOL>: Decode as + an IP protocol. + +2022-10-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: rename XFS_SB_MAGIC to XFS_SUPER_MAGIC. + Per Linux commit v4.20-rc1~139^2~13. + + * src/xlat/fsmagic.in (XFS_SUPER_MAGIC): Rename from XFS_SB_MAGIC. + +2022-10-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + powerpc, powerpc64: replace empty syscall entries with comments. + * src/linux/powerpc/syscallent.h (224): Remove, add a comment about + unused slot for security syscall. + * src/linux/powerpc64/syscallent.h (192): Remove, add a comment about + powerpc32-only mmap2. + (193): Remove, add a comment about powerpc32-only truncate64. + (194): Remove, add a comment about powerpc32-only ftruncate64. + (195): Remove, add a comment about powerpc32-only stat64. + (196): Remove, add a comment about powerpc32-only lstat64. + (197): Remove, add a comment about powerpc32-only fstat64. + (204): Remove, add a comment about powerpc32-only fcntl64. + (224): Remove, add a comment about unused slot for security syscall. + (226): Remove, add a comment about powerpc32-only sendfile64. + (254): Remove, add a comment about powerpc32-only fadvise64_64. + + sparc, sparc64: replace empty syscall entries with comments. + * src/linux/sparc/syscallent.h (52): Remove, add a comment that + it is memory_ordering on sparc64. + (164): Remove, add a comment that it is utrap_install on sparc64. + * src/linux/sparc64/syscallent.h (31): Remove, add a comment that + it is lchown32 on sparc32. + (32): Remove, add a comment that it is fchown32 on sparc32. + (35): Remove, add a comment that it is chown32 on sparc32. + (44): Remove, add a comment that it is getuid32 on sparc32. + (53): Remove, add a comment that it is getgid32 on sparc32. + (56): Remove, add a comment that it is mmap2 on sparc32. + (69): Remove, add a comment that it is geteuid32 on sparc32. + (70): Remove, add a comment that it is getegid32 on sparc32. + (72): Remove, add a comment that it is setreuid32 on sparc32. + (77): Remove, add a comment that it is truncate64 on sparc32. + (82): Remove, add a comment that it is setgroups32 on sparc32. + (84): Remove, add a comment that it is ftruncate64 on sparc32. + (87): Remove, add a comment that it is setuid32 on sparc32. + (89): Remove, add a comment that it is setgid32 on sparc32. + (91): Remove, add a comment that it is setfsuid32 on sparc32. + (94): Remove, add a comment that it is setfsgid32 on sparc32. + (112): Remove, add a comment that it is setregid32 on sparc32. + (115): Remove, add a comment that it is getgroups32 on sparc32. + (155): Remove, add a comment that it is fcntl64 on sparc32. + (231): Remove, add a comment that it is time on sparc32. + +2022-10-02 Dmitry V. Levin <ldv@strace.io> + + tests: fix build on some platforms. + This fixes the following compilation issues on platforms + where __s64 is not defined to "long long": + + ioctl_ptp.c:268:11: error: format '%lld' expects argument of type 'long long int', but argument 4 has type '__s64' {aka 'long int'} -Werror=format= + ioctl_ptp.c:268:11: error: format '%lld' expects argument of type 'long long int', but argument 5 has type '__s64' {aka 'long int'} -Werror=format= + ioctl_ptp.c:355:24: error: format '%lld' expects argument of type 'long long int', but argument 3 has type '__s64' {aka 'long int'} -Werror=format= + ioctl_ptp.c:490:29: error: format '%lld' expects argument of type 'long long int', but argument 2 has type '__s64' {aka 'const long int'} -Werror=format= + ioctl_ptp.c:498:36: error: format '%lld' expects argument of type 'long long int', but argument 2 has type '__s64' {aka 'const long int'} -Werror=format= + ioctl_ptp.c:509:35: error: format '%lld' expects argument of type 'long long int', but argument 2 has type '__s64' {aka 'const long int'} -Werror=format= + ioctl_ptp.c:581:25: error: format '%lld' expects argument of type 'long long int', but argument 3 has type '__s64' {aka 'long int'} -Werror=format= + + * tests/ioctl_ptp.c (test_no_device): Explicitly cast + struct ptp_clock_time.sec to "long long". + + Fixes: v5.19-5-g03eb34004 "ptp: update decoder" + +2022-09-25 Dmitry V. Levin <ldv@strace.io> + + Print the second argument of setns syscall as flags. + Starting with Linux kernel commit v5.8-rc1~175^2~1, when the first + argument of setns syscall is a descriptor obtained from pidfd_open + syscall, the second argument of setns syscall is treated as a bit mask + rather than a single CLONE_NEW* constant. + + * src/clone.c (SYS_FUNC(setns)): Print tcp->u_arg1 using printflags + instead of printxval. + * src/xlat/setns_types.in (0): Remove. + * tests/setns.c: Check it. + * NEWS: Mention this change. + +2022-08-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + ptp: update decoder. + CHECK_*_SIZE checks are added as minimum safe-guards against implicit + decoding breakages, since the types infrastructure, that would allow proper + checking, has been removed in v5.11~8. + + * src/xlat/ptp_pin_funcs.in: New file. + * src/ptp.c: Include "xlat/ptp_pin_funcs.h". + (print_ptp_clock_time): Add rtc argument that signifies that the clock + data is RTC-like, so it is worthy of pretty-printing; print reserved + field if it is non-zero; print time in the ISO 8601 format only if rtc + argument is set and the xlat decoding format is not raw. + (print_ptp_clock_time_am): Pass true in the rtc argument + to print_ptp_clock_time. + (print_ptp_clock_time3_am): New function. + (PRINT_RSV): New macro. + (ptp_ioctl): Re-order switch cases to reflect the ioctl macros + declaration order. + (ptp_ioctl) <case PTP_CLOCK_GETCAPS, case PTP_CLOCK_GETCAPS2>: Add size + checks; print n_pins, cross_timestamping, adjust_phase, and non-zero + rsv fields. + (ptp_ioctl) <case PTP_EXTTS_REQUEST, case PTP_EXTTS_REQUEST2>: Add size + checks; print index field as unsigned; print non-zero rsv field + for PTP_EXTTS_REQUEST2. + (ptp_ioctl) <case PTP_PEROUT_REQUEST, case PTP_PEROUT_REQUEST2>: Add + size checks; print either phase (non-RTC) or start (RTC) field + depending on the presence of PTP_PEROUT_PHASE among flags; print period + as non-RTC value; print index as unsigned; print "PTP_PEROUT_???" + instead of "PTP_???" as flags fallback value; print either on field or + non-zero rsv field (only for PTP_PEROUT_REQUEST2) depending on presence + of PTP_PEROUT_DUTY_CYCLE among flags. + (ptp_ioctl) <case PTP_ENABLE_PPS, case PTP_ENABLE_PPS>: Print arg + as unsigned. + (ptp_ioctl) <case PTP_SYS_OFFSET, case PTP_SYS_OFFSET2>: Add size + checks; print non-zero rsv field on entering; do not interpret the + structure as unavailable in case of syscall error; use MIN macro for + n_samples calculation instead of open-coding it. + (ptp_ioctl) <case PTP_PIN_GETFUNC, case PTP_PIN_GETFUNC2, case + PTP_PIN_SETFUNC, case PTP_PIN_SETFUNC2, case PTP_SYS_OFFSET_PRECISE, + case PTP_SYS_OFFSET_PRECISE2, case PTP_SYS_OFFSET_EXTENDED, case + PTP_SYS_OFFSET_EXTENDED2>: Implement decoding. + * tests/.gitignore: Add ioctl_ptp-Xabbrev, ioctl_ptp-Xraw, + ioctl_ptp-Xverbose, ioctl_ptp-success, ioctl_ptp-success-Xabbrev, + ioctl_ptp-success-Xraw, and ioctl_ptp-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Add ioctl_ptp-success, + ioctl_ptp-success-Xabbrev, ioctl_ptp-success-Xraw, + and ioctl_ptp-success-Xverbose. + * tests/gen_tests.in (ioctl_ptp-Xabbrev, ioctl_ptp-Xraw, + ioctl_ptp-Xverbose, ioctl_ptp-success, ioctl_ptp-success-Xabbrev, + ioctl_ptp-success-Xraw, ioctl_ptp-success-Xverbose): New tests. + * tests/ioctl_ptp-Xabbrev.c: New file. + * tests/ioctl_ptp-Xraw.c: Likewise. + * tests/ioctl_ptp-Xverbose.c: Likewise. + * tests/ioctl_ptp-success-Xabbrev.c: Likewise. + * tests/ioctl_ptp-success-Xraw.c: Likewise. + * tests/ioctl_ptp-success-Xverbose.c: Likewise. + * tests/ioctl_ptp-success.c: Likewise. + * tests/ioctl_ptp.c: Update expected output, add checks. + * tests/pure_executables.list: Add ioctl_ptp-Xabbrev, ioctl_ptp-Xraw, + and ioctl_ptp-Xverbose. + * NEWS: Mention it. + +2022-08-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: make {,N}{ABBR,RAW,VERB} macros more versatile. + These macros can be much more useful if they would be variadic + and expand to nothing when they are used in the incompatible xlat + decoding mode. + + * tests/tests.h (ABBR, RAW, VERB, NABBR, NRAW, NVERB): Change the + argument to "...", expand into __VA_ARGS__/nothing instead of arg/"". + * tests/io_uring_register.c: Update NRAW macro usage. + * tests/nlattr_ifstats.c: Likewise. + +2022-08-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: provide information about strace's native long/kernel_long_t sizes + * tests/Makefile.am (STRACE_SIZEOF_KERNEL_LONG_T, STRACE_SIZEOF_LONG): + New variables. + (AM_CPPFLAGS): Add -DSTRACE_SIZEOF_KERNEL_LONG_T + and -DSTRACE_SIZEOF_LONG. + +2022-08-16 Dmitry V. Levin <ldv@strace.io> + + .github: remove gcc7 jobs. + This old compiler was provided by the old version of the OS that is + currently being deprecated by github actions. + + * .github/workflows/ci.yml (gcc7-x86_64-kheaders, gcc7-x86_64-dw, + gcc7-x86_64-unwind): Remove. + + Link: https://github.com/actions/runner-images/issues/6002 + +2022-08-15 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.19-1. + * strace.spec.in: Likewise. + +2022-08-12 Dmitry V. Levin <ldv@strace.io> + + Prepare for 5.19 release. + * NEWS: Update for 5.19 release. + + Update .mailmap. + * .mailmap: Add both email addresses of Sergei Trofimovich to avoid + duplication in CREDITS file. + +2022-08-11 Joubin Jabbari <joubin@linux.com> + + README.md: update Fedora strace repo location. + Resolves: https://github.com/strace/strace/pull/218 + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add PR_SVE_GSET_VL checks. + Re-purpose prct-sme.c for that, since these commands identical + to PR_SME_GSET_VL so far, save for s/SME/SVE/ in identifier names. + Retain the original prct-sve.c to retain test coverage diversity. + + * tests/.gitignore: Add prctl-sve-Xabbrev, prctl-sve-Xraw, + prctl-sve-Xverbose, prctl-sve-success, prctl-sve-success-Xabbrev, + prctl-sve-success-Xraw, and prctl-sve-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Add prctl-sve-success, + prctl-sve-success-Xabbrev, prctl-sve-success-Xraw, + and prctl-sve-success-Xverbose. + * tests/gen_tests.in (prctl-sve-Xabbrev, prctl-sve-Xraw, + prctl-sve-Xverbose, prctl-sve-success, prctl-sve-success-Xabbrev, + prctl-sve-success-Xraw, prctl-sve-success-Xverbose): New tests. + * tests/prctl-sme.c !EXT (EXT): New macro. + (EXT_STR, GLUE_, GLUE, _): New macros. + (print_sme_vl_arg, main): Use _ and EXT_STR macros. + * tests/prctl-sve-Xabbrev.c: New file. + * tests/prctl-sve-Xraw.c: Likewise. + * tests/prctl-sve-Xverbose.c: Likewise. + * tests/prctl-sve-success-Xabbrev.c: Likewise. + * tests/prctl-sve-success-Xraw.c: Likewise. + * tests/prctl-sve-success-Xverbose.c: Likewise. + * tests/prctl-sve-success.c: Likewise. + * tests/pure_executables.list: Add prctl-sve-Xabbrev, prctl-sve-Xraw, + and prctl-sve-Xverbose. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: expand so_error test checks. + Check decoding with various optlen values. + + * tests/so_error.c: Add checks. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: print unexpectedly short integer sockopts in hex. + Since it makes little sence to print ASCII character codes when we know + that the bytes are part of a number. + + * src/net.c (print_get_error, print_txrehash, print_getsockopt): Use + printstr_ex with QUOTE_FORCE_HEX parameter instead of printstrn. + * tests/sockopt-sol_socket.c: Update expected output. + +2022-08-11 Dmitry V. Levin <ldv@strace.io> + + net: print the data returned by SO_ERROR as a string if it is too short. + The data returned by getsockopt SO_ERROR is an integer. If the buffer + size specified by userspace is less than sizeof(int), the data written + by the kernel should not be interpreted as an integer. + + * src/net.c (print_get_error): Print the buffer as a string if its + length is less than sizeof(int). + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: implement SO_TXREHASH socket option support. + * src/xlat/sock_options.in (SO_TXREHASH): New constant, introduced + by Linux commit v5.18-rc1~136^2~484^2~3. + * src/xlat/sockopt_txrehash_vals.in: New file. + * src/net.c: Include "xlat/sockopt_txrehash_vals.h". + (print_txrehash): New function. + (print_getsockopt, print_setsockopt) <case SO_TXREHASH>: Call + print_txrehash. + * tests/sockopt-sol_socket.c: Add checks for SO_TXREHASH decoding. + * NEWS: Mention it. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: add support for IORING_{,UN}REGISTER_PBUF_RING opcodes. + Introduced by Linux commit v5.19-rc1~251^2~10. + + * src/xlat/uring_register_opcodes.in (IORING_REGISTER_PBUF_RING, + IORING_UNREGISTER_PBUF_RING): New constants. + * src/io_uring.c (print_io_uring_buf_reg): New function. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_PBUF_RING, + case IORING_UNREGISTER_PBUF_RING>: Call print_io_uring_buf_reg + for decoding. + * tests/io_uring_register.c: Update expected output, add checks. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: decode struct io_uring_rsrc_register.flags field. + Introduced by Linux commit v5.19-rc1~251^2~20. + + * configure.ac: Remove struct io_uring_rsrc_register.resv check. + * src/xlat/uring_register_rsrc_flags.in: New file. + * src/io_uring.c: Include "xlat/uring_register_rsrc_flags.h". + (print_io_uring_register_rsrc): Remove CHECK_TYPE_SIZE for arg.resv, + decode flags field using PRINT_FIELD_FLAGS instead of optional decoding + of no longer existing resv field. + * tests/io_uring_register.c: Update expected output. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: fix ioctl_dm test with new kernel headers. + Linux commit v5.19-rc2-1-g94dfc73e7cf4 replaced the zero-length array + dm_target_msg.sector field declaration with a flexible-array declaration, + which led to the following error when compiled with clang: + + ../../../tests/ioctl_dm.c:53:25: error: field 'target_msg' with variable + sized type 'struct dm_target_msg' not at the end of a struct or class + is a GNU extension -Werror,-Wgnu-variable-sized-type-not-at-end + struct dm_target_msg target_msg; + ^ + 1 error generated. + + Work around it by removing the following field and adjusting + the untyped message size. + + * tests/ioctl_dm.c (struct s): Remove tm.target_string field, adjust + string field size. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + arch_prctl: decode ARCH_GET_XCOMP_SUPP, ARCH_{GET,REQ}_XCOMP{,_GUEST}_PERM + * src/xlat/archvals.in (ARCH_GET_XCOMP_SUPP, ARCH_GET_XCOMP_PERM, + ARCH_REQ_XCOMP_PERM): New constants, introduced by Linux commit + v5.16-rc1~195^2~21. + (ARCH_GET_XCOMP_GUEST_PERM, ARCH_REQ_XCOMP_GUEST_PERM): New constants, + introduced by Linux commit v5.17-rc1~15^2~70. + * src/xlat/x86_xfeature_bits.in: New file. + * src/xlat/x86_xfeatures.in: Likewise. + * src/prctl.c X86_64 || X32 || I386: Include + "xlat/x86_xfeature_bits.h", "xlat/x86_xfeatures.h". + * tests/.gitignore: Add arch_prctl, arch_prctl-Xabbrev, arch_prctl-Xraw, + arch_prctl-Xverbose, arch_prctl-success, arch_prctl-success-Xabbrev, + arch_prctl-success-Xraw, and arch_prctl-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Add arch_prctl-success, + arch_prctl-success-Xabbrev, arch_prctl-success-Xraw, + and arch_prctl-success-Xverbose. + * tests/arch_prctl.c: New file. + * tests/arch_prctl-Xabbrev.c: Likewise. + * tests/arch_prctl-Xraw.c: Likewise. + * tests/arch_prctl-Xverbose.c: Likewise. + * tests/arch_prctl-success.c: Likewise. + * tests/arch_prctl-success-Xabbrev.c: Likewise. + * tests/arch_prctl-success-Xraw.c: Likewise. + * tests/arch_prctl-success-Xverbose.c: Likewise. + * tests/arch_prctl.sh: Likewise. + * tests/gen_tests.in (arch_prctl, arch_prctl-Xabbrev, arch_prctl-Xraw, + arch_prctl-Xverbose, arch_prctl-success, arch_prctl-success-Xabbrev, + arch_prctl-success-Xraw, arch_prctl-success-Xverbose): New tests. + * tests/prctl-success.sh (PRCTL_SYSCALL, PRCTL_MARKER_RE): New vaiables. + Handle "ARCH_PRCTL_INJECT_RETVALS" in addition to "PRCTL_INJECT_RETVALS", + set PRCTL_SYSCALL and PRCTL_MARKER_RE accordingly; use $PRCTL_SYSCALL + and $PRCTL_MARKER_RE in run_strace and sed calls. + * tests/pure_executables.list: Add arch_prctl, arch_prctl-Xabbrev, + arch_prctl-Xraw, and arch_prctl-Xverbose. + * NEWS: Mention it. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: change the license from LGPL to GPL in some newly added files. + * tests/fork--pidns-translation.c (SPDX-License-Identifier): Change + from "LGPL-2.1-or-later" to "GPL-2.0-or-later". + * tests/fork--pidns-translation.test: Likewise. + * tests/gettid--pidns-translation.test: Likewise. + * tests/ioctl_block--pidns-translation.test: Likewise. + * tests/netlink_audit--pidns-translation.test: Likewise. + * tests/pidns.c: Likewise. + * tests/pidns.h: Likewise. + * tests/prctl.sh: Likewise. + + References: v4.26~53 "tests: change the license to GPL-2.0-or-later" + Fixes: v5.9~49 "Implement testing framework for pidns" + Fixes: v5.9~48 "Add tests for PID namespace translation" + Fixes: v5.13~9 "tests: unify common code in prctl decoder tests" + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + prctl: implement PR_SME_GSET_VL decoding. + Introduced by Linux commit v5.19-rc1~38^2~8^2~22. + + * src/xlat/pr_sme_vl_flags.in: New file. + * src/prctl.c: Include "xlat/pr_sme_vl_flags.h". + (sprint_sme_val): New function. + (SYS_FUNC(prctl)) <case PR_SME_SET_VL, case PR_SME_GET_VL>: Implement + command decoders. + * tests/.gitignore: Add prctl-sme, prctl-sme-Xabbrev, prctl-sme-Xraw, + prctl-sme-Xverbose, prctl-sme-success, prctl-sme-success-Xabbrev, + prctl-sme-success-Xraw, and prctl-sme-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Add prctl-sme-success, + prctl-sme-success-Xabbrev, prctl-sme-success-Xraw, + and prctl-sme-success-Xverbose. + * tests/gen_tests.in (prctl-sme, prctl-sme-Xabbrev, prctl-sme-Xraw, + prctl-sme-Xverbose, prctl-sme-success, prctl-sme-success-Xabbrev, + prctl-sme-success-Xraw, prctl-sme-success-Xverbose): New tests. + * tests/prctl-sme.c: New file. + * tests/prctl-sme-Xabbrev.c: Likewise. + * tests/prctl-sme-Xraw.c: Likewise. + * tests/prctl-sme-Xverbose.c: Likewise. + * tests/prctl-sme-success.c: Likewise. + * tests/prctl-sme-success-Xabbrev.c: Likewise. + * tests/prctl-sme-success-Xraw.c: Likewise. + * tests/prctl-sme-success-Xverbose.c: Likewise. + * tests/pure_executables.list: Add prctl-sme, prctl-sme-Xabbrev, + prctl-sme-Xraw, and prctl-sme-Xverbose. + +2022-08-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + prctl: improve PR_SVE_SGET_VL decoding. + * src/prctl.c (sprint_sve_val): Add aux parameter, handle printing based + on it. + (SYS_FUNC(prctl)): <case PR_SVE_SET_VL>: Pass false as aux + to sprint_sve_val. + (SYS_FUNC(prctl)): <case PR_SVE_GET_VL>: Pass true as aux + to sprint_sve_val; return RVAL_HEX flag. + * NEWS: Mention it. + + tests/ptrace: add comments for specific siginfo decoding checks. + * tests/ptrace.c: Add comments with the signal names being tested. + + printsiginfo: print si_trapno for SIGFPE on alpha. + * src/printsiginfo.c ALPHA (print_si_info) <case SIGFPE>: Print + si_trapno. + * tests/ptrace.c: Update expected output. + + printsiginfo: print si_trapno for SIGILL on sparc. + * src/printsiginfo.c SPARC || SPARC64 (print_si_info) <case SIGILL>: + Print si_trapno. + * tests/ptrace.c: Update expected output. + + printsiginfo: print si_sutime as clock_t values. + * src/printsiginfo.c (print_si_info): Print si_utime and si_stime using + PRINT_FIELD_CLOCK_T macro. + * tests/clone_ptrace.c: Update expected output. + * tests/siginfo.c: Likewise. + * tests/waitid.c: Likewise. + + tests: move enjoy_time in a separate header. + * tests/times.c (NUM_USER_ITERS_SQRT, NUM_USER_ITERS, READ_BUF_SIZE, + READ_ITER, nsecs, enjoy_time): Move it... + * tests/time_enjoyment.h: ...in a new file. + * tests/Makefile.am (EXTRA_DIST): Add it. + + tests: move clock_t_str from nlattr_ifla_linkinfo.c into a separate file + * tests/nlattr_ifla_linkinfo.c (clock_t_str): Move it... + * tests/clock_t_str.c: ...to a new file. + * tests/Makefile.am (libtests_a_SOURCES): Add it. + (LDADD): Add ${m_LIBS} after libtests.a. + (nlattr_ifla_linkinfo_LDADD): Remove. + * tests/tests.h (clock_t_str): New declaration. + +2022-08-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + printsiginfo: print relevant SI_SIGIO information. + * src/printsiginfo.c (print_si_info) <case SI_SIGIO>: Print si_band + and si_fd fields. + * tests/ptrace.c: Add checks. + + printsiginfo: print si_fd for SIGIO signals. + * src/printsiginfo.c (print_si_code, print_si_info): Use SIGIO instead + of the SIGPOLL synonym in switch cases as that is what strace prints out. + (print_si_info) <case SIGIO>: Print si_fd field. + * tests/.gitignore: Add ptrace-y, ptrace-y-Xabbrev, ptrace-y-Xraw, + and ptrace-y-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (ptrace-y, ptrace-y-Xabbrev, ptrace-y-Xraw, + ptrace-y-Xverbose): New tests. + * tests/ptrace-y.c: New file. + * tests/ptrace-y-Xabbrev.c: Likewise. + * tests/ptrace-y-Xraw.c: Likewise. + * tests/ptrace-y-Xverbose.c: Likewise. + * tests/ptrace.c: Include <fcntl.h>. + (NULL_FD, NULL_STR, NULL_FD_STR): New macros. + (null_path): New constant variable. + (main): Open null_path at NULL_FD fd, update expected SIGIO check + output. + + printsiginfo: update SIGTRAP decoding. + * src/xlat/alpha_trap_codes.in: New file. + * src/xlat/sigtrap_perf_flags.in: Likewise. + * configure.ac (AC_CHECK_MEMBERS): Add checks + for siginfo_t.si_perf_data, siginfo_t.si_perf_type, + and siginfo_t.si_perf_flags fields. + * src/defs.h (perf_type_id): New extern definition. + * src/printsiginfo.c ALPHA: Include "xlat/alpha_trap_codes.h". + HAVE_SIGINFO_T_SI_PERF_FLAGS: Include "xlat/sigtrap_perf_flags.h". + (print_si_info): Implement SIGTRAP case. + * tests/ptrace.c: Add checks. + + printsiginfo: print si_lower/si_upper for SEGV_BNDERR signals. + * configure.ac (AC_CHECK_MEMBERS): Add siginfo_t.si_lower + and siginfo_t.si_upper checks. + * src/printsiginfo.c (print_si_info): !SEGV_STACKFLOW + && HAVE_SIGINFO_T_SI_LOWER <case SIGSEGV>: Print si_lower + and si_upper fields if si_code is SEGV_BNDERR. + * tests/ptrace.c: Add checks. + + printsiginfo: print si_addr_lsb for BUS_MCEERR_ARO signals. + * configure.ac (AC_CHECK_MEMBERS): Add siginfo_t.si_addr_lsb check. + * src/printsiginfo.c (print_si_info) !BUS_OPFETCH + && HAVE_SIGINFO_T_SI_ADDR_LSB <case SIGBUS>: Print si_addr_lsb field + is si_code is equal to BUS_MCEERR_AR or BUS_MCEERR_AO. + * tests/ptrace.c: Add checks. + * NEWS: Mention it. + + xlat: update NT_ARM_* constants in nt_descriptor_types. + * src/xlat/nt_descriptor_types.in (NT_ARM_SSVE): New constant, + introduced by Linux commit v5.19-rc1~38^2~8^2~13. + (NT_ARM_ZA): New constant, introduced by Linux commit + v5.19-rc1~38^2~8^2~12. + + xlat: switch perf xlats type from sorted to value_indexed. + * src/xlat/hw_breakpoint_type.in: Change #sorted to #value_indexed + * src/xlat/perf_hw_cache_id.in: Likewise. + * src/xlat/perf_hw_cache_op_id.in: Likewise. + * src/xlat/perf_hw_cache_op_result_id.in: Likewise. + * src/xlat/perf_hw_id.in: Likewise. + * src/xlat/perf_sw_ids.in: Likewise. + * src/xlat/perf_type_id.in: Likewise. + + xlat: update v4l2_control_ids. + * src/xlat/v4l2_control_ids.in + (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD, + V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE): New constants, + introduced by Linux commit v5.19-rc1~179^2~221. + * NEWS: Mention it. + + xlat: update v4l2_pix_fmts. + * src/xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_IPU3_Y10): New constant, + introduced by Linux commit v5.19-rc1~179^2~35. + (V4L2_PIX_FMT_QC08C, V4L2_PIX_FMT_QC10C): New constants, introduced + by Linux commit v5.19-rc1~179^2~227. + (V4L2_PIX_FMT_VP9_FRAME): New constant, introduced by Linux commit + v5.17-rc1~114^2~207. + (V4L2_PIX_FMT_NV12M_10BE_8L128, V4L2_PIX_FMT_NV12M_8L128): New + constants, introduced by Linux commit v5.18-rc1~153^2~81^2~10. + * NEWS: Mention it. + +2022-08-07 Dmitry V. Levin <ldv@strace.io> + + tests/nlattr_inet_diag_msg: fix big-endian systems support. + * tests/nlattr_inet_diag_msg.c (print_uint): Fix md5sig_vecs + for big-endian systems. + (main): Fix sockopts for big-endian systems. + + Fixes: v5.18-37-gd9606c5f6 "netlink_inet_diag: implement INET_DIAG_MD5SIG attribute decoding" + +2022-08-07 Dmitry V. Levin <ldv@strace.io> + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + + xlat: update SECCOMP_FILTER_FLAG_* constants. + * src/xlat/seccomp_filter_flags.in + (SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV): New constant introduced + by Linux kernel commit v5.19-rc1~198^2~3. + * tests/seccomp-filter.c (main): Update expected output. + * tests/seccomp-filter-v.c: Likewise. + * NEWS: Mention this change. + + xlat: update PR_* constants. + * src/xlat/prctl_options.in (PR_SME_SET_VL, PR_SME_GET_VL): New + constants introduced by Linux kernel commit v5.19-rc1~38^2~8^2~22. + * NEWS: Mention this change. + + xlat: update NLM_F_* constants. + * src/xlat/netlink_delete_flags.in (NLM_F_BULK): New constant introduced + by Linux kernel commit v5.19-rc1~159^2~322^2~8. + * tests/netlink_route.c (test_nlmsg_flags): Check it. + * NEWS: Mention this change. + + xlat: update LANDLOCK_ACCESS_FS_* constants. + * src/xlat/landlock_ruleset_access_fs.in (LANDLOCK_ACCESS_FS_REFER): + New constant introduced by Linux kernel commit v5.19-rc1~195^2~6. + * tests/landlock_add_rule.c (main): Update expected output. + * tests/landlock_create_ruleset.c: Likewise. + * NEWS: Mention this change. + + xlat: update IORING_* constants. + * src/xlat/uring_ops.in (IORING_OP_FSETXATTR, IORING_OP_SETXATTR): + New constants introduced by Linux kernel commit v5.19-rc1~250^2~3. + (IORING_OP_FGETXATTR, IORING_OP_GETXATTR): New constants introduced + by Linux kernel commit v5.19-rc1~250^2~2. + (IORING_OP_SOCKET): New constant introduced by Linux kernel commit + v5.19-rc1~249^2~4. + (IORING_OP_URING_CMD): New constant introduced by Linux kernel commit + v5.19-rc1~247^2~8. + * src/xlat/uring_register_opcodes.in (IORING_REGISTER_PBUF_RING, + IORING_UNREGISTER_PBUF_RING): New constants introduced by Linux kernel + commit v5.19-rc1~251^2~10. + * tests/io_uring_register.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update IORING_SETUP_* constants. + * src/xlat/uring_setup_flags.in (IORING_SETUP_COOP_TASKRUN): + New constant introduced by Linux kernel commit v5.19-rc1~251^2~43. + (IORING_SETUP_TASKRUN_FLAG): New constant introduced by Linux kernel + commit v5.19-rc1~251^2~42. + (IORING_SETUP_SQE128): New constant introduced by Linux kernel + commit v5.19-rc1~247^2~21. + (IORING_SETUP_CQE32): New constant introduced by Linux kernel + commit v5.19-rc1~247^2~20. + * tests/io_uring_setup.c (main): Update expected output. + * NEWS: Mention this change. + +2022-07-31 Dmitry V. Levin <ldv@strace.io> + + rtnl_link: update decoding of struct rtnl_link_stats64. + * src/rtnl_link.c (decode_nla_rtnl_link_stats64): Decode + struct rtnl_link_stats64.rx_otherhost_dropped introduced by Linux kernel + commit v5.19-rc1~159^2~379. + * NEWS: Mention this. + * tests/nlattr_ifinfomsg.c (main): Check it. + * tests/nlattr_ifstats.c (print_stats_64): Update. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add DEVCONF_ACCEPT_UNTRACKED_NA to inet6_devconf_indices. + * src/xlat/inet6_devconf_indices.in (DEVCONF_ACCEPT_UNTRACKED_NA): New + constant, introduced by Linux commit v5.19-rc1~61^2~22. + * NEWS: Mention it. + + xlat: add UFFD_FEATURE_WP_HUGETLBFS_SHMEM to uffd_api_features. + * src/xlat/uffd_api_features.in (UFFD_FEATURE_WP_HUGETLBFS_SHMEM): New + constant, introduced by Linux commit v5.19-rc1~138^2~148. + * NEWS: Mention it. + + xlat: add KEXEC_ARCH_LOONGARCH to kexec_arch_values. + * src/xlat/kexec_arch_values.in (KEXEC_ARCH_LOONGARCH): New constant, + introduced by Linux commit v5.19-rc1~37^2~19. + * NEWS: Mention it. + + rtnl_neigh: implement NDA_NDM_{STATE,FLAGS}_MASK decoding. + * src/xlat/rtnl_neigh_attrs.in (NDA_NDM_STATE_MASK, NDA_NDM_FLAGS_MASK): + New constants, introduced by Linux commit v5.19-rc1~159^2~322^2~2. + * src/rtnl_neigh.c (decode_nda_ndm_states, decode_nda_ndm_flags): New + functions. + * tests/nlattr_ndmsg.c: Add checks. + * NEWS: Mention it. + + rtnl_neigh: decode NDA_SRC_VNI as u32; similarly to NDA_VNI. + * src/rtnl_neigh.c (ndmsg_nla_decoders) <NDA_SRC_VNI>: Set + to decode_nla_u32. + * tests/nlattr_ndmsg.c: Add checks. + + rtnl_neigh: implement NDA_FLAGS_EXT decoding. + * src/xlat/neighbor_cache_entry_ext_flags.in: New file. + * src/rtnl_neigh.c: Include "xlat/neighbor_cache_entry_ext_flags.h". + (decode_nda_ext_flags): New function. + (ndmsg_nla_decoders) <NDA_FLAGS_EXT>: New entry, calls + decode_nda_ext_flags. + * tests/nlattr_ndmsg.c: Add checks. + * NEWS: Mention it. + + rtnl_neigh: implement NDA_FDB_EXT_ATTRS decoding. + * src/xlat/fdb_notify_flags.in: New file. + * src/xlat/rtnl_neigh_fdb_ext_attrs.in: Likewise. + * src/rtnl_neigh.c: Include "xlat/fdb_notify_flags.h", + "xlat/rtnl_neigh_fdb_ext_attrs.h". + (decode_fdb_notify_flags, decode_nda_fdb_ext_attrs): New functions. + (nda_fdb_ext_attrs_nla_decoders): New decoder array. + (ndmsg_nla_decoders) <NDA_FDB_EXT_ATTRS>: New entry, calls + decode_nda_fdb_ext_attrs. + * tests/nlattr_ndmsg.c: Add checks. + * NEWS: Mention it. + + inet: implement SO_RCVMARK socket option decoding. + * src/xlat/sock_options.in (SO_RCVMARK): New constant, introduced + by Linux commit v5.19-rc1~159^2~237. + * src/xlat/sock_options.in (print_getsockopt. print_setsockopt) <case + SO_RCVMARK>: Handle as an int-like socket option. + * tests/sockopt-sol_socket.c: Update expected output. + + net: update handling of all int-like SOL_SOCKET options. + * src/net.c (print_getsockopt) <case SO_DEBUG, case SO_REUSEADDR, + case SO_DONTROUTE, case SO_BROADCAST, case SO_SNDBUF, case SO_RCVBUF, + case SO_KEEPALIVE, case SO_OOBINLINE, case SO_NO_CHECK, + case SO_PRIORITY, case SO_BSDCOMPAT, case SO_REUSEPORT, + case SO_PASSCRED, case SO_RCVLOWAT, case SO_SNDLOWAT, + case SO_DETACH_FILTER, case SO_TIMESTAMP_OLD, case SO_ACCEPTCONN, + case SO_SNDBUFFORCE, case SO_RCVBUFFORCE, case SO_PASSSEC, + case SO_TIMESTAMPNS_OLD, case SO_MARK, case SO_TIMESTAMPING_OLD, + case SO_RXQ_OVFL, case SO_WIFI_STATUS, case SO_PEEK_OFF, case SO_NOFCS, + case SO_LOCK_FILTER, case SO_SELECT_ERR_QUEUE, case SO_BUSY_POLL, + case SO_INCOMING_CPU, case SO_CNX_ADVICE, case SO_INCOMING_NAPI_ID, + case SO_ZEROCOPY, case SO_TIMESTAMP_NEW, case SO_TIMESTAMPNS_NEW, + case SO_TIMESTAMPING_NEW, case SO_DETACH_REUSEPORT_BPF, + case SO_PREFER_BUSY_POLL, case SO_BUSY_POLL_BUDGET, case + SO_RESERVE_MEM>: Print only the integer value on any len larger than + sizeof(int). + (print_setsockopt) <case SO_DEBUG, case SO_REUSEADDR, + case SO_DONTROUTE, case SO_BROADCAST, case SO_SNDBUF, case SO_RCVBUF, + case SO_KEEPALIVE, case SO_OOBINLINE, case SO_NO_CHECK, + case SO_PRIORITY, case SO_BSDCOMPAT, case SO_REUSEPORT, + case SO_PASSCRED, case SO_RCVLOWAT, case SO_SNDLOWAT, + case SO_DETACH_FILTER, case SO_TIMESTAMP_OLD, case SO_ACCEPTCONN, + case SO_SNDBUFFORCE, case SO_RCVBUFFORCE, case SO_PASSSEC, + case SO_TIMESTAMPNS_OLD, case SO_MARK, case SO_TIMESTAMPING_OLD, + case SO_RXQ_OVFL, case SO_WIFI_STATUS, case SO_PEEK_OFF, case SO_NOFCS, + case SO_LOCK_FILTER, case SO_SELECT_ERR_QUEUE, case SO_BUSY_POLL, + case SO_INCOMING_CPU, case SO_CNX_ADVICE, case SO_INCOMING_NAPI_ID, + case SO_ZEROCOPY, case SO_TIMESTAMP_NEW, case SO_TIMESTAMPNS_NEW, + case SO_TIMESTAMPING_NEW, case SO_DETACH_REUSEPORT_BPF, + case SO_PREFER_BUSY_POLL, case SO_BUSY_POLL_BUDGET, case + SO_RESERVE_MEM>: Print address if len is less than sizeof(int), + the integer value otherwise. + * tests/sockopt-sol_socket.c: Update the expected output. + + tests: add gsetsockopt(SOL_SOCKET) tests. + * tests/.gitignore: Add sockopt-sol_socket, sockopt-sol_socket-Xabbrev, + sockopt-sol_socket-Xraw, sockopt-sol_socket-Xverbose, + sockopt-sol_socket-success, sockopt-sol_socket-success-Xabbrev, + sockopt-sol_socket-success-Xraw, + and sockopt-sol_socket-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Add sockopt-sol_socket-success, + sockopt-sol_socket-success-Xabbrev, sockopt-sol_socket-success-Xraw, + and sockopt-sol_socket-success-Xverbose. + * tests/pure_executables.list: Add sockopt-sol_socket, + sockopt-sol_socket-Xabbrev, sockopt-sol_socket-Xraw, + and sockopt-sol_socket-Xverbose. + * tests/gen_tests.in (sockopt-sol_socket, sockopt-sol_socket-Xabbrev, + sockopt-sol_socket-Xraw, sockopt-sol_socket-Xverbose, + sockopt-sol_socket-success, sockopt-sol_socket-success-Xabbrev, + sockopt-sol_socket-success-Xraw, sockopt-sol_socket-success-Xverbose): + New tests. + * tests/sockopt-sol_socket.c: New file. + * tests/sockopt-sol_socket-Xabbrev.c: Likewise. + * tests/sockopt-sol_socket-Xraw.c: Likewise. + * tests/sockopt-sol_socket-Xverbose.c: Likewise. + * tests/sockopt-sol_socket-success.c: Likewise. + * tests/sockopt-sol_socket-success-Xabbrev.c: Likewise. + * tests/sockopt-sol_socket-success-Xraw.c: Likewise. + * tests/sockopt-sol_socket-success-Xverbose.c: Likewise. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/errno2name: enforce ENOTSUPP handling. + This is needed for gsetsockopt(SOL_SOCKET) test, as some socket + options (namely, SO_ZEROCOPY) tend to return it. + + * tests/errno2name.c !ENOTSUPP (ENOTSUPP): New macro constant. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add NT_LOONGARCH_* to nt_descriptor_types. + * src/xlat/nt_descriptor_types.in (NT_LOONGARCH_CPUCFG, + NT_LOONGARCH_CSR, NT_LOONGARCH_LSX, NT_LOONGARCH_LASX, + NT_LOONGARCH_LBT): New constants, introduced by Linux commit + v5.19-rc1~37^2~19. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link: decode IFLA_TSO_MAX_SIZE and IFLA_TSO_MAX_SEGS attributes. + Introduced by Linux commit v5.19-rc1~159^2~108^2~12. + + * src/xlat/rtnl_link_attrs.in (IFLA_TSO_MAX_SIZE, IFLA_TSO_MAX_SEGS): + New constants. + * src/rtnl_link.c (ifinfomsg_nla_decoders) <IFLA_TSO_MAX_SIZE, + IFLA_TSO_MAX_SEGS>: New entries, call decode_nla_u32. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add FAN_MARK_EVICTABLE to fan_mark_flags. + * src/xlat/fan_mark_flags.in (FAN_MARK_EVICTABLE): New constant, + introduced by Linux commit v5.19-rc1~148^2~5. + * tests/fanotify_mark.c: Update expected output. + * NEWS: Mention it. + + xlat: add GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE to gpio_v2_line_flags. + * src/xlat/gpio_v2_line_flags.in (GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE): + New constant, introduced by Linux commit v5.19-rc1~16^2~9. + * NEWS: Mention it. + + inet_diag: implement INET_DIAG_LOCALS and INET_DIAG_PEERS attributes decoding + * src/netlink_inet_diag.c (print_sockaddr_array_member, + decode_nla_sockaddrs): New functions. + (inet_diag_msg_nla_decoders) <INET_DIAG_LOCALS, INET_DIAG_PEERS>: + Set the value to decode_nla_sockaddrs. + * tests/nlattr_inet_diag_msg.c: Include <linux/atalk.h>, <netinet/in.h>. + (print_sa): New function. + (main): Add checks. + * NEWS: Mention it. + + inet_diag: implement INET_DIAG_SOCKOPT attribute decoding. + * src/netlink_inet_diag.c (decode_diag_sockopt): New function. + (OPT_PRINT_FIELD_U): New macro. + (inet_diag_msg_nla_decoders) <INET_DIAG_SOCKOPT>: New entry + with the value of decode_diag_sockopt. + * tests/nlattr_inet_diag_msg.c: Add checks. + * NEWS: Mention it. + + inet_diag: implement INET_DIAG_CGROUP_ID attribute decoding. + * src/netlink_inet_diag.c (inet_diag_msg_nla_decoders) + <INET_DIAG_CGROUP_ID>: New entry, set to decode_nla_u64. + * tests/nlattr_inet_diag_msg.c: Add checks for uint attributes. + + netlink_inet_diag: decode INET_DIAG_PROTOCOL using decode_nla_ip_proto. + * src/netlink_inet_diag.c (inet_diag_msg_nla_decoders) + <INET_DIAG_PROTOCOL>: Change the value from decode_nla_u8 + to decode_nla_ip_proto. + * tests/nlattr_inet_diag_msg.c: Add checks. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update sysctl_net_ipv4_conf. + NET_IPV4_CONF_ARP_EVICT_NOCARRIER has been introduced in Linux commit + v5.16-rc1~159^2~3^2~2; it ignores the previous short-lived existence + of NET_IPV4_CONF_ACCEPT_LOCAL. + + * src/xlat/sysctl_net_ipv4_conf.in (NET_IPV4_CONF_ACCEPT_LOCAL, + NET_IPV4_CONF_SRC_VMARK, NET_IPV4_CONF_PROXY_ARP_PVLAN): Comment out. + (NET_IPV4_CONF_ARP_EVICT_NOCARRIER): New constant. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_inet_diag: decode INET_DIAG_REQ_PROTOCOL attribute. + INET_DIAG_REQ_PROTOCOL has been introduced in v5.9-rc1~133^2~292^2~3. + + * src/netlink_inet_diag.c (inet_diag_req_nla_decoders) + <INET_DIAG_REQ_NONE, INET_DIAG_REQ_SK_BPF_STORAGES>: Add entries, + provide NULL as a decoder. + (inet_diag_req_nla_decoders) <INET_DIAG_REQ_PROTOCOL>: Add entry, + decode using decode_nla_ip_proto. + * src/nlattr.c (decode_nla_ip_proto) <opts>: Remove size enforcement + for the xval. + * tests/nlattr_inet_diag_req_v2.c (test_unk_attrs, + test_inet_diag_proto): New functions. + (main): Call them. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + inet_diag: implement INET_DIAG_SK_BPF_STORAGES attribute decoding. + * src/xlat/inet_diag_bpf_storage_attrs.in: New file. + * src/xlat/inet_diag_bpf_storages_attrs.in: Likewise. + * src/netlink_inet_diag.c: Include "xlat/inet_diag_bpf_storage_attrs.h" + and "xlat/inet_diag_bpf_storages_attrs.h". + (decode_diag_bpf_storage, decode_diag_bpf_storages): New functions. + (diag_bpf_storage_nla_decoders, diag_bpf_storages_nla_decoders): New + static constants. + (inet_diag_msg_nla_decoders) <INET_DIAG_SK_BPF_STORAGES>: New decoder, + calls decode_diag_bpf_storages. + * tests/nlattr_inet_diag_msg.c: Add checks. + * NEWS: Mention it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + nlattr: introduce decode_nla_xint. + A dispatcher function that calls a decode_nla_x* decoder + of the matching size, if there's any; suitable for the cases + when an integer-sized object is most likely an integer. + + * src/nlattr.h (decode_nla_xint): New declaration, using DECL_NLA macro. + * src/nlattr.c (decode_nla_xint): New function. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + inet_diag: implement INET_DIAG_ULP_INFO attribute decoding. + * bundled/linux/include/uapi/linux/in.h: New file. + * bundled/linux/include/uapi/linux/mptcp.h: Likewise. + * bundled/linux/include/uapi/linux/tls.h: Likewise. + * bundled/Makefile.am (EXTRA_DIST): Add them. + * src/xlat/inet_diag_ulp_info_attrs.in: New file. + * src/xlat/inet_diag_ulp_info_mptcp_attrs.in: Likewise. + * src/xlat/inet_diag_ulp_info_tls_attrs.in: Likewise. + * src/xlat/mptcp_subflow_flags.in: Likewise. + * src/xlat/tls_info_ciphers.in: Likewise. + * src/xlat/tls_info_configs.in: Likewise. + * src/xlat/tls_info_versions.in: Likewise. + * src/netlink_inet_diag.c: Include <linux/tls.h>, + "xlat/inet_diag_ulp_info_attrs.h", "xlat/inet_diag_ulp_info_mptcp_attrs.h", + "xlat/inet_diag_ulp_info_tls_attrs.h", "xlat/mptcp_subflow_flags.h", + "xlat/tls_info_ciphers.h", "xlat/tls_info_configs.h", + and "xlat/tls_info_versions.h". + (decode_tls_version, decode_tls_cipher, decode_tls_config, + decode_diag_ulp_info_tls, decode_mptcp_subflow_flags, + decode_diag_ulp_info_mptcp, decode_diag_ulp_info): New functions. + (diag_ulp_info_tls_nla_decoders, diag_ulp_info_mptcp_nla_decoders, + diag_ulp_info_nla_decoders): New static constants. + (inet_diag_msg_nla_decoders) <INET_DIAG_ULP_INFO>: Decode using + decode_diag_ulp_info. + * tests/nlattr_inet_diag_msg.c: Add INET_DIAG_ULP_INFO attribute checks. + * NEWS: Mention it. + + tests/test_nlattr: add check_x32_nlattr. + * tests/test_nlattr.h (check_x32_nlattr): New function, defined using + the DEF_NLATTR_INTEGER_CHECK_ macro. + + tests/test_nlattr: introduce TEST_NESTED_NLATTR_ + * tests/test_nlattr.h (tests/test_nlattr.h): New macro. + (TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_, TEST_NESTED_NLATTR_ARRAY_EX_): + Rewrite using it. + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: put NUD_NONE first in neighbor_cache_entry_states. + Otherwise it is never used. + + * src/xlat/neighbor_cache_entry_states.in: Move NUD_NONE first, add + values. + + Fixes: v4.19~139 "netlink: add a basic rtnetlink parser of neigh messages" + +2022-07-31 Eugene Syromyatnikov <evgsyr@gmail.com> + + gpio: switch consumer and config printing order in struct gpio_v2_line_request + Following the order they are declared in struct gpio_v2_line_request. + + * src/gpio_ioctl.c (print_gpio_v2_line_request): Decode the consumer + field before the config field. + * tests/ioctl_gpio.c: Update expected output. + + Fixes: v5.11~161 "Add GPIO v2 ioctl decoding" + +2022-07-31 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v5.19. + * bundled/linux/include/uapi/asm-generic/fcntl.h: Update to + headers_install'ed Linux kernel v5.19. + * bundled/linux/include/uapi/linux/version.h: Likewise. + +2022-07-21 Dmitry V. Levin <ldv@strace.io> + + .github: add gcc-12, clang-13, and clang-14 jobs. + These new compilers are provided by the latest version of the OS + currently available in ci, which apparently is not ubuntu-latest yet. + + * .github/workflows/ci.yml (gcc12-x86_64-kheaders, gcc12-x86_64-dw, + gcc12-x86_64-unwind, clang14-x86_64-kheaders, clang14-x86_64-dw, + clang14-x86_64-unwind, clang13-x86_64-kheaders, clang13-x86_64-dw, + clang13-x86_64-unwind, gcc12-x32-kheaders, gcc12-x32-nostacktrace, + gcc12-x86-kheaders, gcc12-x86-nostacktrace, clang14-x86-kheaders, + clang14-x86-nostacktrace, clang13-x86-kheaders, + clang13-x86-nostacktrace): New jobs. + +2022-07-21 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_inet_diag: implement INET_DIAG_MD5SIG attribute decoding. + * bundled/linux/include/uapi/linux/tcp.h: New file. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * configure.ac: Check for struct tcp_diag_md5sig presence + in <netinet/tcp.h>. + * netlink_inet_diag.c: Include <linux/tcp.h>. + (print_tcp_md5sig, decode_tcp_md5sig): New functions. + (inet_diag_msg_nla_decoders) <INET_DIAG_MD5SIG>: New attribute, + decoded by decode_tcp_md5sig. + * tests/nlattr_inet_diag_msg.c: Check INET_DIAG_MD5SIG attribute + decoding. + * NEWS: Mention it. + + inet_diag: enhance INET_DIAG_SHUTDOWN attribute decoding. + * src/xlat/inet_diag_shutdown_flags.in: New file. + * src/netlink_inet_diag.c: Include "xlat/inet_diag_shutdown_flags.h" + (decode_diag_shutdown): New function. + (inet_diag_msg_nla_decoders) <INET_DIAG_SHUTDOWN>: Call + decode_diag_shutdown. + * tests/nlattr_inet_diag_msg.c: Update expected output. + * NEWS: Mention it. + + netlink_inet_diag: factor out struct tcp{vegas,_dctcp,_bbr}_info printing + * src/defs.h (struct tcpvegas_info, struct tcp_dctcp_info, + struct tcp_bbr_info): New type declarations. + (print_tcpvegas_info, print_tcp_dctcp_info, print_tcp_bbr_info): New + function declarations. + * src/netlink_inet_diag.c (print_tcpvegas_info): Factor out the printing + code out of decode_tcpvegas_info. + (decode_tcpvegas_info): Call print_tcpvegas_info for printing the retrieved + structure. + (print_tcp_dctcp_info): Factor out the printing code out + of decode_tcp_dctcp_info. + (decode_tcp_dctcp_info): Call print_tcp_dctcp_info for printing the retrieved + structure. + (print_tcp_bbr_info): Factor out the printing code out + of decode_tcp_bbe_info. + (decode_tcp_bbr_info): Call print_tcp_bbr_info for printing the retrieved + structure. + + src: move MAYBE_PRINT_FIELD_LEN macro from net.c to print_fields.h. + * src/net.c (MAYBE_PRINT_FIELD_LEN): Move it... + * src/print_fields.h (MAYBE_PRINT_FIELD_LEN): ...here. Add parentheses + around "where_" usages. + + print_fields: PRINT_FIELD_HEX_ARRAY_UPTO. + * src/print_fields.h (PRINT_FIELD_HEX_ARRAY_UPTO): New macro. + + print_fields: add tprint_union_* functions. + * src/print_fields.h (tprint_union_begin, tprint_union_next, + tprint_union_end): New functions. + + print_fields: add tprint_{shift,or} to make xlat-like output more structured + * src/print_fields.h (tprint_shift, tprint_or): New functions. + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + print_fields: de-duplicate tprint_* functions definitions. + There is an unnecessary (possibly error-prone) duplication of tprint_* + functions definitions based on the presence of IN_STRACE macro, + which can be handled by an appropriate definition of a string printing + macro. + + * src/print_fields.h (STRACE_PRINTS): New macro function, define + to an tprints call if IN_STRACE is defined, or to an fputs call + otherwise. + (tprint_struct_begin, tprint_struct_next, tprint_struct_end, + tprint_array_begin, tprint_array_next, tprint_array_end, + tprint_array_index_begin, tprint_array_index_end, tprint_arg_next, + tprint_arg_end, tprint_bitset_begin, tprint_bitset_next, + tprint_bitset_end, tprint_comment_begin, tprint_comment_end, + tprint_indirect_begin, tprint_indirect_end, tprint_more_data_follows, + tprint_value_changed, tprint_alternative_value, tprint_unavailable): + Define once using STRACE_PRINTS, instead of two definitions that use + either tprints or fputs. + + Complements: v5.11~157 "print_fields.h: introduce a few tprint_* helper inline functions" + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/init.sh: add --status to pidns strace call. + The pidns test harness processes multi-process log output, + which is inherently prone to ordering issues like this: + + -7 get_robust_list(2 /* 7 in strace's PID NS */, 0x7ff3fc9a7a20, 24) = 0 + +7 get_robust_list(2 /* 7 in strace's PID NS */, <unfinished ...> + +7 <... get_robust_list resumed>0x7ff3fc9a7a20, 24) = 0 + FAIL xet_robust_list--pidns-translation.gen.test (exit status: 1) + + Try to avoid them by forcing the buffering of the syscall trace output + with the --status option that excludes the "unavailable" status, + that is not expected in the test output. + + * tests/init.sh (test_pidns_run_strace): Add "--status=!unavailable" + option to the strace call. + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + src/filter_qualify: move "s" qual_options record to its synonyms. + There is little reason to have "status" before "s", which is a synonym + for "signal", it is just confusing. + + * src/filter_qualify.c (qual_options) <"s">: Move up after "signal" + and "signals". + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: add all supported -e qualifier synonyms. + It is mentioned in the general -e option description, but it is detached + from the qualifier descriptions themselves now. + + * doc/strace.1.in (.SS Filtering) <-e trace>: Add "-e t" synonymous + syntax. + (.SS Filtering) <-e signal>: Add "-e signals" and "-e s" synonymous + syntaxes. + (.SS Output format) <-e abbrev>: Add "-e a" synonymous syntax. + (.SS Output format) <-e verbose>: Add "-e v" synonymous syntax. + (.SS Output format) <-e raw>: Add "-e x" synonymous syntax. + (.SS Output format) <-e read>: Add "-e reads" and "-e r" synonymous + syntaxes. + (.SS Output format) <-e write>: Add "-e writes" and "-e w" synonymous + syntaxes. + (.SS Output format) <-e quiet>: Add "-e silent", "-e silence", + and "-e q" synonymous syntaxes. + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/ksysent: silence compiler warnings about re-init of ksyslist elements + The purpose of the test is to catch and report possible issues + with syscall number definitions; compiler diagnostics of possible array + elements re-initialisation (that may happen when there are legacy __NR_* + definition present along with the contemporary ones) only gets in the way + here (has happened on el6 with gcc12): + + ksysent.h:311:27: error: initialized field overwritten -Werror=override-init + 311 | __NR_madvise & 0xffff = "madvise", + | ^~~~~~~~~ + ksysent.h:311:27: note: (near initialization for 'ksyslist219') + + * tests/ksysent.c (ksyslist): Surround the definition + with the DIAG_PUS_IGNORE_OVERRIDE_INIT/DIAG_POP_IGNORE_OVERRIDE_INIT + pair. + +2022-07-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add clock_LIBS to bpf-obj_get_info_by_fd* libraries. + * tests/Makefile.am (bpf_obj_get_info_by_fd_LDADD, + bpf_obj_get_info_by_fd_v_LDADD, bpf_obj_get_info_by_fd_prog_LDADD, + bpf_obj_get_info_by_fd_prog_v_LDADD): New variables. + + Fixes: v5.18~21 "bpf: provide approximate local time for prog_info.load_time" + +2022-07-18 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v5.19. + * src/linux/32/ioctls_inc_align16.h: Update from linux v5.19-rc7 using + ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/aarch64/ioctls_arch0.h: Likewise. + * src/linux/i386/ioctls_arch0.h: Likewise. + * src/linux/mips/ioctls_arch0.h: Likewise. + * src/linux/powerpc/ioctls_arch0.h: Likewise. + * src/linux/s390/ioctls_arch0.h: Likewise. + * src/linux/s390x/ioctls_arch0.h: Likewise. + * src/linux/x86_64/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + +2022-07-17 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v5.19-rc7. + * bundled/linux/arch/mips/include/uapi/asm/fcntl.h: Update to + headers_install'ed Linux kernel v5.19-rc7. + * bundled/linux/include/uapi/asm-generic/fcntl.h: Likewise. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Likewise. + * bundled/linux/include/uapi/linux/gpio.h: Likewise. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/input.h: Likewise. + * bundled/linux/include/uapi/linux/io_uring.h: Likewise. + * bundled/linux/include/uapi/linux/kexec.h: Likewise. + * bundled/linux/include/uapi/linux/landlock.h: Likewise. + * bundled/linux/include/uapi/linux/lirc.h: Likewise. + * bundled/linux/include/uapi/linux/loop.h: Likewise. + * bundled/linux/include/uapi/linux/neighbour.h: Likewise. + * bundled/linux/include/uapi/linux/netlink.h: Likewise. + * bundled/linux/include/uapi/linux/prctl.h: Likewise. + * bundled/linux/include/uapi/linux/seccomp.h: Likewise. + * bundled/linux/include/uapi/linux/socket.h: Likewise. + * bundled/linux/include/uapi/linux/tee.h: Likewise. + * bundled/linux/include/uapi/linux/types.h: Likewise. + * bundled/linux/include/uapi/linux/userfaultfd.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + * bundled/linux/include/uapi/rdma/ib_user_verbs.h: Likewise. + +2022-07-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + pathtrace, strace: refactor path trace options parsing and storing. + In preparation for further changes. + + * src/defs.h (struct path_set_item): New type. + (struct path_set): Use struct path_set_item for storing paths_selected. + * src/pathtrace.c (pathmatch, storepath): Access specific paths using + "path" field. + * src/strace.c (struct pathtrace): New type. + (add_path_trace): New function. + (init): Replace pathtrace_paths, pathtrace_size, and pathtrace_count + variables with pathtrace variable. + (init) <case 'P'>: Call add_path_trace instead of open-coded + pathtrace_paths array update. + (init): Access pathtrace "paths" and "count" fields instead + of pathtrace_paths and pathtrace_count, respectively. + +2022-07-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/bpf: fix sloppy low FD number usage. + FD 42 can already be opened, so close it. Otherwise, it may lead + to the following test failure: + + -bpf(BPF_LINK_CREATE, {link_create={prog_fd=0</dev/full>, target_fd=0</dev/full>, attach_type=BPF_TRACE_ITER, flags=0, iter_info={map={map_fd=0</dev/full>}}, {map={map_fd=42}}, {map={map_fd=314159265}}, {map={map_fd=-1159983635}}, {map={map_fd=-1}}, iter_info_len=5}}, 28) = 841540765612359407 (INJECTED) + +bpf(BPF_LINK_CREATE, {link_create={prog_fd=0</dev/full>, target_fd=0</dev/full>, attach_type=BPF_TRACE_ITER, flags=0, iter_info={map={map_fd=0</dev/full>}}, {map={map_fd=42</var/tmp/restraintd/logs/146893626/task.log>}}, {map={map_fd=314159265}}, {map={map_fd=-1159983635}}, {map={map_fd=-1}}, iter_info_len=5}}, 28) = 841540765612359407 (INJECTED) + bpf(BPF_LINK_CREATE, 0x3ff95574fe5, 28) = 841540765612359407 (INJECTED) + -bpf(BPF_LINK_CREATE, {link_create={prog_fd=0</dev/full>, target_fd=0</dev/full>, attach_type=BPF_TRACE_ITER, flags=0, iter_info={map={map_fd=0</dev/full>}}, {map={map_fd=42}}, {map={map_fd=314159265}}, {map={map_fd=-1159983635}}, {map={map_fd=-1}}, ... /* 0x3ff9555d000 */, iter_info_len=6}}, 28) = 841540765612359407 (INJECTED) + +bpf(BPF_LINK_CREATE, {link_create={prog_fd=0</dev/full>, target_fd=0</dev/full>, attach_type=BPF_TRACE_ITER, flags=0, iter_info={map={map_fd=0</dev/full>}}, {map={map_fd=42</var/tmp/restraintd/logs/146893626/task.log>}}, {map={map_fd=314159265}}, {map={map_fd=-1159983635}}, {map={map_fd=-1}}, ... /* 0x3ff9555d000 */, iter_info_len=6}}, 28) = 841540765612359407 (INJECTED) + ... + FAIL bpf-success-long-y.test (exit status: 1) + + * tests/bpf.c (init_BPF_LINK_CREATE_attr7): Close iter_info_data1 fd. + + Fixes: v5.18~18 "bpf: improve bpf(BPF_LINK_CREATE) decoding" + Reported-by: Lenka Špačková <lkuprova@redhat.com> + Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2103137 + +2022-07-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + strace.spec.in: cater to some distros with special SPDX identifier needs + * strace.spec.in (License): Define to "LGPL-2.1-or-later and GPL-2.0-or-later" + for distributions that have voluntarily decided not to recognise + the deprecated SPDX license identifiers everyone else is fine with. + + Complements: v5.3~47 "strace.spec.in: use SPDX shortname format in License: tag" + Reported-by: Lenka Špačková <lkuprova@redhat.com> + +2022-07-04 Eugene Syromyatnikov <evgsyr@gmail.com> + + secontext: fix expected SELinux context check for unlinked FDs. + selinux_getfdcon open-coded a part of getfdpath_pid since it tries + to do the same job, figure out a path associated with an FD, for slightly + different purpose: to get the expected SELinux context for it. As the previous + commit shows, it's a bit more complicated in cases when the path ends + with the " (deleted)" string, which is also used for designated unlinked paths + in procfs. Otherwise, it may manifest in test failures such as this: + + --- exp 2022-05-18 04:29:13.311710593 -0400 + +++ out 2022-05-18 04:29:13.311710593 -0400 + @@ -1,4 +1,4 @@ + unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fchmod(4</root/rpmbuild/BUILD/strace-5.13/tests/fchmod-y--secontext_full_mismatch.dir/fchmod_subdir/fchmod_sample_file> unconfined_u:object_r:admin_home_t:s0!!system_u:object_r:admin_home_t:s0, 0600) = 0 + -unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fchmod(4</root/rpmbuild/BUILD/strace-5.13/tests/fchmod-y--secontext_full_mismatch.dir/fchmod_subdir/fchmod_sample_file (deleted)> unconfined_u:object_r:admin_home_t:s0!!system_u:object_r:admin_home_t:s0, 051) = 0 + -unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fchmod(4</root/rpmbuild/BUILD/strace-5.13/tests/fchmod-y--secontext_full_mismatch.dir/fchmod_subdir/fchmod_sample_file (deleted)> unconfined_u:object_r:admin_home_t:s0!!system_u:object_r:admin_home_t:s0, 004) = 0 + +unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fchmod(4</root/rpmbuild/BUILD/strace-5.13/tests/fchmod-y--secontext_full_mismatch.dir/fchmod_subdir/fchmod_sample_file (deleted)> unconfined_u:object_r:admin_home_t:s0, 051) = 0 + +unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fchmod(4</root/rpmbuild/BUILD/strace-5.13/tests/fchmod-y--secontext_full_mismatch.dir/fchmod_subdir/fchmod_sample_file (deleted)> unconfined_u:object_r:admin_home_t:s0, 004) = 0 + +++ exited with 0 +++ + + fail_ '../../src/strace -a15 -y --secontext=full,mismatch -e trace=fchmod ../fchmod-y--secontext_full_mismatch output mismatch' + + warn_ 'fchmod-y--secontext_full_mismatch.gen.test: failed test: ../../src/strace -a15 -y --secontext=full,mismatch -e trace=fchmod ../fchmod-y--secontext_full_mismatch output mismatch' + + printf '%s\n' 'fchmod-y--secontext_full_mismatch.gen.test: failed test: ../../src/strace -a15 -y --secontext=full,mismatch -e trace=fchmod ../fchmod-y--secontext_full_mismatch output mismatch' + fchmod-y--secontext_full_mismatch.gen.test: failed test: ../../src/strace -a15 -y --secontext=full,mismatch -e trace=fchmod ../fchmod-y--secontext_full_mismatch output mismatch + + exit 1 + FAIL fchmod-y--secontext_full_mismatch.gen.test (exit status: 1) + + that happens due to the fact that the get_expected_filecontext() call + is made against the path with the " (deleted)" part, which is wrong (it + is more wrong than shown above when a file with the path that ends with + " (deleted)" exists). Moreover, it would be incorrect to call stat() + on that path. + + Let's factor out the common part of the code and simply call it + from selinux_getfdcon, then use the st_mode from the procfs link. + + * src/defs.h (get_proc_pid_fd_path): New declaration. + * src/pathtrace.c (get)proc_pid_fd_path): New function, part + of getfdpath_pid that performs link resolution and processing + of the result. + (getfdpath_pid): Call get_proc_pid_fd_path after PID resolution. + * src/secontext.c (get_expected_filecontext): Add mode parameter, use + it in selabel_lookup call instead of retrieveing file mode using stat() + if it is not -1. + (selinux_getfdcon): Call get_proc_pid_fd_path instead + of open-coding path resolution code, call stat() on the procfs link + and pass the retrieved st_mode to the get_expected_filecontext call. + (selinux_getfilecon): Pass -1 as mode in the get_expected_filecontext + call. + + Reported-by: Václav Kadlčík <vkadlcik@redhat.com> + Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2087693 + +2022-07-04 Eugene Syromyatnikov <evgsyr@gmail.com> + + pathtrace, util: do not print " (deleted)" as part of the path. + In order to allow to discern the unlinked paths from the paths that + do indeed end with " (deleted)". + + * src/defs.h (getfdpath_pid): Add deleted parameter. + (getfdpath): Pass NULL as deleted parameter to getfdpath_pid. + * src/largefile_wrappers.h (lstat_file): New macro. + * src/pathtrace.c: Include <sys/stat.h>, <sys/types.h>, <unistd.h>, + and "largefile_wrappers.h". + (getfdpath_pid): Add deleted parameter, check if path ends with + " (deleted)", and if it is, try to figure out if it is a part + of the path by comparing device/inode numbers of the file procfs + link resolves into and the file pointed by the path read; strip + " (deleted)"; set deleted (if it is non-NULL) to true if the fd + is turned out to be deleted and to false otherwise. + * src/util.c (print_quoted_string_in_angle_brackets): Add deleted + parameter, print "(deleted)" after the closing angle bracket if it is + non-NULL. + (printfd_pid): Add deleted local variable, pass it to getfdpath_pid + and print_quoted_string_in_angle_brackets calls. + * tests/fchmod.c: Add checks for a file with " (deleted)" in the path, + update expected output. + * NEWS: Mention the change. + +2022-07-02 Dmitry V. Levin <ldv@strace.io> + + .github: switch gcc-11 and clang-12 jobs to ubuntu-22.04. + Unlike ubuntu-20.04 image, in ubuntu-22.04 the versions of bundled gcc + and clang are gcc-11 and clang-12, respectively, so it makes sense + switching to the image where the required compiler is already installed. + + * .github/workflows/ci.yml (gcc11-x86_64-kheaders, gcc11-x86_64-dw, + gcc11-x86_64-unwind, clang12-x86_64-kheaders, clang12-x86_64-dw, + clang12-x86_64-unwind, gcc11-x32-kheaders, gcc11-x32-nostacktrace, + gcc11-x86-kheaders, gcc11-x86-nostacktrace, clang12-x86-kheaders, + clang12-x86-nostacktrace) <runs-on>: Change from ubuntu-20.04 to + ubuntu-22.04. + +2022-07-01 Dmitry V. Levin <ldv@strace.io> + + .github: switch coverage job to ubuntu-latest. + While ubuntu-latest in ci is not necessarily the latest version of the + OS available in ci, it's the default version, so let's try to use it + for the coverage. + + * .github/workflows/ci.yml (coverage) <runs-on>: Change from + ubuntu-20.04 to ubuntu-latest. + +2022-07-01 Dmitry V. Levin <ldv@strace.io> + + .github: switch whitespace-errors job to ubuntu-latest. + While ubuntu-latest in ci is not necessarily the latest version of the + OS available in ci, whitespace-errors job should be agnostic to the + version being used, so use the default one. + + * .github/workflows/ci.yml (whitespace-errors) <runs-on>: Change from + ubuntu-20.04 to ubuntu-latest. + +2022-07-01 Dmitry V. Levin <ldv@strace.io> + + ci: try to make /dev/kvm more accessible. + This might help to enable ioctl_kvm_run* tests in some ci environments. + + * ci/install-dependencies.sh: If /dev/kvm exists, try to make it + more accessible by setting a permissive file access mode. + + Suggested-by: Alexey Gladkov <gladkov.alexey@gmail.com> + +2022-06-30 Renaud Métrich <rmetrich@redhat.com> + + secontext: print context of Unix socket's sun_path field. + + * src/sockaddr.c: Include "secontext.h". + (print_sockaddr_data_un): Print the SELinux context of sun_path field + using selinux_printfilecon. + * NEWS: Mention this change. + * tests/secontext.c (raw_secontext_full_fd, get_secontext_field_fd, + raw_secontext_short_fd, secontext_full_fd, secontext_short_fd): New + functions. + * tests/secontext.h (secontext_full_fd, secontext_short_fd, + get_secontext_field_fd): New prototypes. + (SECONTEXT_FD): New macro. + * tests/sockname.c: Include "secontext.h". + (test_sockname_syscall): Update expected output. + * tests/gen_tests.in (getsockname--secontext, + getsockname--secontext_full, getsockname--secontext_full_mismatch, + getsockname--secontext_mismatch): New tests. + + Resolves: https://github.com/strace/strace/pull/214 + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + basic_filters: use find_xlat_val_case for syscall class lookup. + There is no need to open-code it. + + * src/basic_filters.c (lookup_class): Remove. + (lookup_class) <syscall_class>: Move to qualify_syscall_class, change + the element type to struct xlat_data, reverse the field order + in the declaration. + (qualify_syscall_class): Use find_xlat_val_case to find a syscall class + in syscall_class array. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + strace: constify xflag_str and daemonize_str. + They are not supposed to be modified. + + * src/strace.c (xflag_str, daemonize_str): Add const modifier. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: constify find_xlat_val_ex arguments. + They are not supposed to be modified in the function body. + + * src/util.c (find_xlat_val_ex): Add const qualifiers to items, s, + num_items, and flags arguments. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: add offs sanity check to print_clock_t. + While it is not strictly needed right now, the code that uses + the calculated offs value lacks any checks for possible buf overruns, + which is not defensive enough, so let's add them. Reported by covscan: + + Error: OVERRUN (CWE-119): + strace-5.18/src/util.c:248: assignment: Assigning: + "offs" = "ilog10(val / clk_tck)". The value of "offs" is now between + 16 and 31 (inclusive). + strace-5.18/src/util.c:249: overrun-local: Overrunning array of 30 bytes + at byte offset 31 by dereferencing pointer "buf + offs". Note: The source + code implementation of the function has been overridden by a builtin model. + + Error: OVERRUN (CWE-119): + strace-5.18/src/util.c:248: assignment: Assigning: + "offs" = "ilog10(val / clk_tck)". The value of "offs" is now between + 16 and 31 (inclusive). + strace-5.18/src/util.c:253: overrun-buffer-arg: Overrunning array "buf" + of 30 bytes by passing it to a function which accesses it at byte offset + 32 using argument "offs + 2UL" (which evaluates to 33). Note: The source + code implementation of the function has been overridden by a builtin model. + + Error: OVERRUN (CWE-119): + strace-5.18/src/util.c:248: assignment: Assigning: + "offs" = "ilog10(val / clk_tck)". The value of "offs" is now between + 16 and 31 (inclusive). + strace-5.18/src/util.c:254: overrun-local: Overrunning array "buf" + of 30 bytes at byte offset 32 using index "offs + 1UL" (which evaluates + to 32). + + * src/util.c (print_clock_t): Add check that offs is small enough + for it and "offs + 2" not to overrun buf. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + strauss: fix off-by-one error in strauss array access. + It has to be limited with strauss_lines - 1, not strauss_lines. + Reported by covscan: + + Error: OVERRUN (CWE-119): + strace-5.18/src/strauss.c:380: cond_at_least: Checking "4UL + i < 37UL" + implies that "i" is at least 33 on the false branch. + strace-5.18/src/strauss.c:380: overrun-local: Overrunning array "strauss" + of 37 8-byte elements at element index 37 (byte offset 303) using index + "(4UL + i < 37UL) ? 4UL + i : 37UL" (which evaluates to 37). + + * src/strauss.c (print_totd): Limit strauss array accesses to + strauss_lines - 1 instead of strauss_lines. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + strauss: tips whitespace and phrasing cleanups. + * src/strauss.c (tips_tricks_tweaks): Fix some whitespace and phrasing + issues. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/strace--tips.test: fix tips randomness check. + The initial call should contain "--tips" as well, otherwise no tips will + be enabled if $tips_fmt_opt is empty. + + * tests/strace--tips.test: Pass "--tips" to the initial randomness check + strace call. + +2022-06-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + src/xlat: remove remnants of unnecessary idx usage in xlookup. + As there is no idx saving between calls anymore, there's no need to use + (and update) idx in the XT_SORTED case. Reported by clang as a dead store: + + Error: CLANG_WARNING: + strace-5.18/src/xlat.c:84:4: warningdeadcode.DeadStores: Value stored to 'idx' is never read + + * src/xlat.c (xlookup): Remove idx declaration; declare idx inside + of the for loop in the XT_NORMAL case; do not offset x->data and x->size + by offs in the XT_SORTED case and do not update idx upon successful + lookup. + + Complements: v5.15~164 "xlat: no longer interpret NULL xlat as continuation" + +2022-06-26 Sergei Trofimovich <slyich@gmail.com> + + mpers: add missing dependency on autogenerated sys_func.h. + Noticed missing target directory dependency as a build failure in + `make --shuffle` mode (added in https://savannah.gnu.org/bugs/index.php?62100): + + for f in block.c ... v4l2.c; do \ + D="" \ + READELF="readelf" \ + CC="gcc" \ + CFLAGS="-DHAVE_CONFIG_H ... -I./bundled/linux/include/uapi -DMPERS_IS_m32" \ + CPP="gcc -E" \ + CPPFLAGS="-DHAVE_CONFIG_H ... -DMPERS_IS_m32" \ + ./mpers.sh m32 "-m32" $f || exit; \ + done + In file included from ./defs.h:2041, + from mpers-m32/struct_blk_user_trace_setup.c:10: + ./syscall.h:14:11: fatal error: sys_func.h: No such file or directory + 14 | # include "sys_func.h" + | ^~~~~~~~~~~~ + + While at it changed order-only dependency against generated headers to + full dependency. + +2022-06-20 Dmitry V. Levin <ldv@strace.io> + + maint: fix false positives reported by gen-contributors-list.sh. + * maint/gen-contributors-list.sh: Do not consider names from cited + commit messages as contributors. + + maint/gen-contributors-list.sh: shorten regexps by using "sed -E" + * maint/gen-contributors-list.sh: Use "sed -E" instead of sed. + (SCRIPT, SCRIPT_NORM_EMAILS, MATCH_OUT): Convert to extended regular + expressions syntax. + +2022-06-19 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.18-1. + * strace.spec.in: Likewise. + +2022-06-18 Dmitry V. Levin <ldv@strace.io> + + Prepare for 5.18 release. + * NEWS: Update for 5.18 release. + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2022-06-17 Eugene Syromyatnikov <evgsyr@gmail.com> + Pegasust <pegasucksgg@gmail.com> + + tests: rename strace-T test to strace-T_upper. + Unfortunately, there are still exist OSes and FSes that cannot + (or pretend that cannot) discern between file names with letters + in different cases; there is little reason not to avoid breaking + workflow for those who are so unfortunate to happen to use them + (besides the general hesitance to cater for this decades-old barbarism). + + * tests/strace-T.expected: Rename to... + * tests/strace-T_upper.expected: ...this. + * tests/strace-T.test: Rename to... + * tests/strace-T_upper.test: ...this. + * tests/gen_tests.in (strace--syscall-times, strace--syscall-times-ms, + strace--syscall-times-ns, strace--syscall-times-s, + strace--syscall-times-us): Change the included script name + from strace-T.test to strace-T_upper.test. + * tests/Makefile.am (MISC_TESTS): Change strace-T.test to + strace-T_upper.test. + (EXTRA_DIST): Change strace-T.expected to strace-T_upper.expected. + + Closes: https://github.com/strace/strace/issues/134 + Closes: https://github.com/strace/strace/issues/213 + +2022-06-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: work around UAPI breakage in v5.19-rc1~143^2~9^2. + Linux commit v5.19-rc1~143^2~9^2 breaks UAPI by removing + TEE_IOCTL_SHM_MAPPED and TEE_IOCTL_SHM_DMA_BUF definitions. Work that + around by providing fallback definitions in the test. + + * src/xlat/tee_ioctl_shm_flags.in: Note that TEE_IOCTL_SHM_MAPPED + and TEE_IOCTL_SHM_DMA_BUF are also not part of the UAPI. + * tests/ioctl_tee.c !TEE_IOCTL_SHM_MAPPED (TEE_IOCTL_SHM_MAPPED): + Define. + !TEE_IOCTL_SHM_DMA_BUF (TEE_IOCTL_SHM_DMA_BUF): Likewise. + +2022-06-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + fcntl: work around removal of F_*64 definitions in v5.19-rc1~89^2~9^2~18 + Linux commit v5.19-rc1~89^2~9^2~18 has hidden F_*64 definitions + from the 64-bit userspace, which has broken strace build. + Work around it by providing the definitions in case + they are not present. + + * src/fcntl.c !F_GETLK64 (F_GETLK64, F_SETLK64, F_SETLKW64): Define + macro constants. + * tests/fcntl.c: Call the F_GETLK64, F_GETLK64, and F_SETLKW64 checks + only when the respective definitions are present. + +2022-06-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: work aroung struct io_uring_rsrc_register field name change. + resv field has been renamed to flags in Linux commit v5.19-rc1~251^2~20, + provide a shim to support old decoding syntax. + + * configure.ac (AC_CHECK_TYPES): Add struct io_uring_rsrc_register + and struct io_uring_rsrc_register.resv checks. + * src/io_uring.c HAVE_STRUCT_IO_URING_RSRC_REGISTER_RESV (RESV): + Define as resv. + !HAVE_STRUCT_IO_URING_RSRC_REGISTER_RESV (RESV): Define as flags. + (print_io_uring_register_rsrc): Use RESV instead of resv; print "resv" + field name explicitly and use PRINT_VAL_X instead of PRINT_FIELD_X. + * tests/io_uring_register.c HAVE_STRUCT_IO_URING_RSRC_REGISTER_RESV (RESV): + Define as resv. + !HAVE_STRUCT_IO_URING_RSRC_REGISTER_RESV (RESV): Define as flags. + (main): Use RESV to access struct io_uring_rsrc_register.resv field. + +2022-06-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/io_uring_register: introduce ARR_ITEM macro. + It simplifies cyclic array access. + + * tests/io_uring_register.c (ARR_ITEM): New macro. + (main): Use it. + +2022-06-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtc: implement RTC_PARAM_GSET ioctl code decoding. + Introduced by Linux commit v5.16-rc1~40^2~31. + + * src/xlat/rtc_backup_switch_modes.in: New file. + * src/xlat/rtc_feature_bits.in: Likewise. + * src/xlat/rtc_features.in: Likewise. + * src/xlat/rtc_params.in: Likewise. + * src/xlat/rtc_ioctl_cmds.in (RTC_PARAM_GET, RTC_PARAM_SET): New + constants. + * src/rtc.c (struct_rtc_param): New type definition. + XLAT_MACROS_ONLY: Include "xlat/rtc_feature_bits.h". + Include "xlat/rtc_vl_flags.h", "xlat/rtc_params.h", + "xlat/rtc_features.h", and "xlat/rtc_backup_switch_modes.h". + (decode_rtc_param): New function. + (rtc_ioctl) <case RTC_PARAM_GET, case RTC_PARAM_SET>: Call + decode_rtc_param. + * tests/ioctl_rtc.c !RTC_PARAM_GET (struct rtc_param): New type. + !RTC_PARAM_GET (RTC_PARAM_GET): New macro. + !RTC_PARAM_SET (RTC_PARAM_SET): Likewise. + (main): Add checks for RTC_PARAM_GET and RTC_PARAM_SET. + * NEWS: Mention this. + +2022-06-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/ioctl_rtc: expand RTC_VL_READ check. + Check that RTC_VL_READ argument is indeed decoded as flags and not xval. + + * tests/ioctl_rtc.c (main): Expand RTC_VL_READ check. + +2022-06-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/ioctl_rtc: make RTC_VL_READ/RTC_VL_CLR checks unconditional. + * tests/ioctl_rtc.c !RTC_VL_READ (RTC_VL_READ): Define. + !RTC_VL_CLR (RTC_VL_CLR): Likewise. + !RTC_VL_CLR, !RTC_VL_READ (main) <noarg_cmds>: Provide records + for RTC_VL_CLR and RTC_VL_READ. + !RTC_VL_READ: Enable RTC_VL_READ check. + +2022-06-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + Implement COUNTER_* ioctl decoding. + Introduced by Linux commit v5.16-rc1~119^2~29^2~10. + + * bundled/linux/include/uapi/linux/counter.h: New file. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/counter_ioctl.c: New file. + * src/Makefile.am (libstrace_a_SOURCES): Add it. + * src/defs.h (DECL_IOCTL(counter)): New declaration. + * src/ioctl.c (ioctl_decode) <case '>'>: Call counter_ioctl. + * src/xlat/counter_ioctl_component_types.in: New file. + * src/xlat/counter_ioctl_event_types.in: Likewise. + * src/xlat/counter_ioctl_scopes.in: Likewise. + * tests/ioctl_counter-Xabbrev.c: Likewise. + * tests/ioctl_counter-Xraw.c: Likewise. + * tests/ioctl_counter-Xverbose.c: Likewise. + * tests/ioctl_counter.c: Likewise. + * tests/.gitignore: Add ioctl_counter, ioctl_counter-Xabbrev, + ioctl_counter-Xraw, and ioctl_counter-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (ioctl_counter, ioctl_counter-Xabbrev, + ioctl_counter-Xraw, ioctl_counter-Xverbose): New tests. + * NEWS: Mention it. + +2022-06-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: make XLAT_ARGS_U generally available. + * tests/ioctl_seccomp.c (XLAT_ARGS_U): Move it... + * tests/tests.h (XLAT_ARGS_U): ...here. + + src: make CHECK_IOCTL_SIZE generally available. + * src/seccomp_ioctl.c (CHECK_IOCTL_SIZE): Move it... + * src/macros.h (CHECK_IOCTL_SIZE): ...here. + +2022-05-27 Dmitry V. Levin <ldv@strace.io> + + tests: use sprintrc in waitid tests. + * tests/waitid.c (errstr): New variable. + (do_waitid): Initialize it using sprintrc. + (main): Use it instead of errno2name. + +2022-05-27 SuHsueyu <anolasc13@gmail.com> + + tests: check decoding of waitid P_PGID. + * tests/waitid.c (main): Check P_PGID decoding. + +2022-05-27 SuHsueyu <anolasc13@gmail.com> + Dmitry V. Levin <ldv@strace.io> + + tests: add -Y test for waitid. + * tests/waitid-Y.c: New file. + * tests/waitid.c (sprint_siginfo): Add "comm" argument. + !MY_COMM (MY_COMM): New macro. + !SKIP_IF_PROC_IS_UNAVAILABLE (SKIP_IF_PROC_IS_UNAVAILABLE): Likewise. + (do_waitid, main): Use them. + * tests/gen_tests.in (waitid-Y): New test. + * tests/Makefile.am (check_PROGRAMS): Add waitid-Y. + * tests/.gitignore: Likewise. + +2022-05-27 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: support both old and new landlock pseudopath. + Since the ABI of landlock ruleset file name has been broken by Linux + commit v5.18-rc1~88^2, the landlock_create_ruleset-y now has to account + for both new and old possible names. Opt for checking the link value + in the test instead. + + * tests/landlock_create_ruleset-y.c (FD_PATH): Remove. + (DECODE_FD): New macro. + * tests/landlock_create_ruleset.c: Include "xmalloc.h" and <stdlib.h>. + !DECODE_FD (DECODE_FD): New macro. + (main) <fd_str>: New variable. + DECODE_FD (main): Check the link path of the fd returned + by the landlock_create_ruleset call and set it to fd_str, which + is then printed. + +2022-05-27 Bruce Ashfield <bruce.ashfield@gmail.com> + + landlock: update expected string. + Test failures were picked up in the yocto 5.15.36 -stable testing. + + Kernel commit: + + commit 3d4b396a616d0d67bf95d6823ad1197f6247292e + Author: Christian Brauner <christian.brauner@ubuntu.com> + Date: Mon Oct 11 15:37:04 2021 +0200 + + landlock: Use square brackets around "landlock-ruleset" + + commit aea0b9f2486da8497f35c7114b764bf55e17c7ea upstream. + + Make the name of the anon inode fd "landlock-ruleset" instead of + "landlock-ruleset". This is minor but most anon inode fds already + carry square brackets around their name: + + eventfd + eventpoll + fanotify + fscontext + io_uring + pidfd + signalfd + timerfd + userfaultfd + + For the sake of consistency lets do the same for the landlock-ruleset anon + inode fd that comes with landlock. We did the same in + 1cdc415f1083 ("uapi, fsopen: use square brackets around "fscontext" ver #2") + for the new mount api. + + Cc: linux-security-module@vger.kernel.org + Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> + Link: https://lore.kernel.org/r/20211011133704.1704369-1-brauner@kernel.org + Cc: stable@vger.kernel.org + Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com> + Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + + Changed the format of the landlock ruleset. We need to update the strace + expected string to match. + +2022-05-26 Eugene Syromyatnikov <evgsyr@gmail.com> + + bpf: improve bpf(BPF_LINK_CREATE) decoding. + union bpf_attr.link_create got a couple of new fields; this patch + attempts to decode it based on the attach_type field value, which + is imprecise, but the next best thing without information about + the type of prog_fd. + + * src/xlat/bpf_link_create_kprobe_multi_flags.in: New file. + * src/gen_bpf_attr_check.sh: Ignore anonymous union fields; + * src/bpf_attr.h (BPF_LINK_CREATE_struct): Add target_btf_id, iter_info, + iter_info_len, perf_event.bpf_cookie, kprobe_multi.flags, + kprobe_multi.cnt, kprobe_multi.syms, kprobe_multi.addrs, + kprobe_multi.cookies fields. + (expected_BPF_LINK_CREATE_struct_size): Change to 48. + * src/bpf.c: Include "xlat/bpf_link_create_kprobe_multi_flags.h". + (BEGIN_BPF_CMD_DECODER): Remove const qualifier from attr_size + definition. + (union strace_bpf_iter_link_info): New type definition. + (print_iter_info_array_member, print_str_array_member): New functions. + (BEGIN_BPF_CMD_DECODER(BPF_LINK_CREATE)): Decode new fields. + * tests/bpf.c: Add new checks. + +2022-05-26 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/bpf: add ability to define multi-iterational checks. + For checks that have only single field changed, repeating the whole + check boilerplate seems excessive; let's add ability to iterate + a single check multiple times, by virtue of supplying iteration number + to init/print handlers. + + * tests/bpf.c (struct bpf_attr_check): Add iters field; add idx + parameter to init_fn and print_fn field types. + (print_bpf_attr): Add idx parameter, pass it to check->print_fn. + (test_bpf): Declare j iteration variable; iterate each check + MAX(check->iters, 1) times, pass j to check->init_fn and print_bpf_attr + calls. + (init_BPF_MAP_CREATE_attr7, init_BPF_PROG_LOAD_attr3, + print_BPF_PROG_LOAD_attr3, init_BPF_PROG_LOAD_attr4, + print_BPF_PROG_LOAD_attr4, init_BPF_OBJ_PIN_attr, + init_BPF_PROG_QUERY_attr4, print_BPF_PROG_QUERY_attr4, + init_BPF_PROG_QUERY_attr5, print_BPF_PROG_QUERY_attr5, + init_BPF_RAW_TRACEPOINT_attr2, init_BPF_BTF_LOAD_attr): Add idx + parameter. + +2022-05-26 Eugene Syromyatnikov <evgsyr@gmail.com> + + bpf: fix next_id decoding for BPF_*_GET_NEXT_ID. + It is an R/W attribute and is supposed to be handled as such. + + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_GET_NEXT_ID)): Store next_id + field value on entering, print the new value (if it has been modified) + on exiting. + * NEWS: Mention it. + +2022-05-26 Eugene Syromyatnikov <evgsyr@gmail.com> + + bpf: provide approximate local time for prog_info.load_time. + It is stored as CLOCK_BOOTTIME value that gives little insight into the + actual time a program has been loaded otherwise. + + * src/bpf.c XLAT_MACROS_ONLY: Include "xlat/clocknames.h". + (print_boottime): New function. + (print_bpf_prog_info): Call it. + * tests/bpf-obj_get_info_by_fd.c: Update expected output. + * NEWS: Mention it. + +2022-05-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/bpf: make sizeof_attr const. + No one is supposed to change it. + + * tests/bpf.c (sizeof_attr): Add const qualifier. + +2022-05-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add BPF_TRACE_KPROBE_MULTI to bpf_attach_type. + * src/xlat/bpf_attach_type.in (BPF_TRACE_KPROBE_MULTI): New constant, + introduced by Linux commit v5.18-rc1~136^2~11^2~28^2~10. + * tests/bpf.c (BPF_PROG_QUERY_checks): Update expected output. + * NEWS: Mention this. + +2022-05-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + bpf: add support for the batch_size field of BPF_PROG_TEST_RUN command. + Introduced by Linux commit v5.18-rc1~136^2~11^2~58^2~4, + along with the BPF_F_TEST_XDP_LIVE_FRAMES flag. + + * src/bpf_attr.h (BPF_PROG_TEST_RUN_struct): Add batch_size field. + (BPF_PROG_TEST_RUN_struct_size): Use the offset of batch_size field end + for definition. + (expected_BPF_PROG_TEST_RUN_struct_size): Change from 72 to 76. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_TEST_RUN)): Fix "The following + two fields were introduced in Linux commit v5.10-rc1~107^2~96^2~36" comment + formatting, decode the batch_size field. + * src/xlat/bpf_test_run_flags.in (BPF_F_TEST_XDP_LIVE_FRAMES): New + constant. + * tests/bpf.c (BPF_PROG_TEST_RUN_checks): Update checks. + +2022-05-21 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v5.18. + * src/linux/32/ioctls_inc_align16.h: Update from linux v5.18-rc7 using + ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/i386/ioctls_arch0.h: Likewise. + * src/linux/x86_64/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + +2022-05-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_S390_MEM_OP_EXTENSION): New constant, + introduced by Linux commit v5.18-rc1~10^2~52^2~11 and getting its + present value in commit v5.18-rc1~10^2~131. + (KVM_CAP_PMU_CAPABILITY): New constant, introduced by Linux commit + v5.18-rc1~10^2~124. + (KVM_CAP_DISABLE_QUIRKS2): New constant, introduced by Linux commit + v5.18-rc1~10^2~43. + * NEWS: Mention this. + + xlat: update UFFD_* constants. + * src/xlat/uffd_api_features.in (UFFD_FEATURE_EXACT_ADDRESS): New + constant, introduced by Linux commit v5.18-rc1~168^2~89. + * NEWS: Mention this. + + xlat: update IORING_* constants. + * src/xlat/uring_enter_flags.in (IORING_ENTER_REGISTERED_RING): New + constant, introduced by Linux commit v5.18-rc1~22^2~44. + * src/xlat/uring_ops.in (IORING_OP_MSG_RING): New constant, introduced + by Linux commit v5.18-rc1~22^2~42. + * src/xlat/uring_setup_features.in (IORING_FEAT_LINKED_FILE): New + constant, introduced by Linux commit v5.18-rc3~17^2~12. + * src/xlat/uring_setup_flags.in (IORING_SETUP_SUBMIT_ALL): New constant, + introduced by Linux commit v5.18-rc1~22^2~36. + * tests/io_uring_enter.c: Update expected output. + * tests/io_uring_register.c: Likewise. + * tests/io_uring_setup.c: Likewise. + * NEWS: Mention this. + + io_uring: decode IORING_{,UN}REGISTER_RING_FDS io_uring_register operations + * src/xlat/uring_register_opcodes.in (IORING_REGISTER_RING_FDS, + IORING_UNREGISTER_RING_FDS): New constants, introduced by Linux commit + v5.18-rc1~22^2~44. + * src/io_uring.c (print_ringfd_register_array_member, + print_io_uring_ringfds_register, print_ringfd_unregister_array_member, + print_io_uring_ringfds_unregister): New functions. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_RING_FDS>: New case, + call print_io_uring_ringfds_register. + (SYS_FUNC(io_uring_register)) <case IORING_UNREGISTER_RING_FDS>: New case, + call print_io_uring_ringfds_unregister. + * tests/io_uring_register.c: Update expected output, add checks + for IORING_REGISTER_RING_FDS and IORING_UNREGISTER_RING_FDS ops decoding. + * NEWS: Mention this. + + tests: introduce TAIL_ALLOC_OBJECT_{CONST,VAR}_ARR. + * tests/tests.h (TAIL_ALLOC_OBJECT_CONST_ARR, + TAIL_ALLOC_OBJECT_VAR_ARR): New macros. + +2022-04-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update KEY_* constants. + * src/xlat/evdev_keycode.in (KEY_NEXT_ELEMENT, KEY_PREVIOUS_ELEMENT, + KEY_AUTOPILOT_ENGAGE_TOGGLE, KEY_MARK_WAYPOINT, KEY_SOS, KEY_NAV_CHART, + KEY_FISHING_CHART, KEY_SINGLE_RANGE_RADAR, KEY_DUAL_RANGE_RADAR, + KEY_RADAR_OVERLAY, KEY_TRADITIONAL_SONAR, KEY_CLEARVU_SONAR, + KEY_SIDEVU_SONAR, KEY_NAV_INFO, KEY_BRIGHTNESS_MENU): New constants, + introduced by Linux commit v5.18-rc4~12^2. + * NEWS: Mention this. + +2022-04-29 Dmitry V. Levin <ldv@strace.io> + + xlat: update BR_* constants. + * src/xlat/rtnl_ifla_br_boolopts.in (BR_BOOLOPT_MST_ENABLE): New + constant introduced by Linux kernel commit v5.18-rc1~136^2~50^2~14. + * src/xlat/rtnl_ifla_br_boolopt_flags.in (1<<BR_BOOLOPT_MST_ENABLE): + Likewise. + * tests/nlattr_ifla_linkinfo.c (main): Update expected output. + * NEWS: Mention this. + +2022-04-28 Dmitry V. Levin <ldv@strace.io> + + xlat: update IFLA_* constants. + * src/xlat/rtnl_ifla_af_spec_bridge_attrs.in (IFLA_BRIDGE_MST): New + constant introduced by Linux kernel commit v5.18-rc1~136^2~50^2~12. + * src/xlat/rtnl_ifla_brport_attrs.in (IFLA_BRPORT_LOCKED): New constant + introduced by Linux kernel commit v5.18-rc1~136^2~267^2~4. + * src/rtnl_link.c (ifla_brport_nla_decoders): Add IFLA_BRPORT_LOCKED. + (ifla_af_spec_bridge_nla_decoders): Add IFLA_BRIDGE_MST. + * tests/nlattr_ifla_af_spec.c (main): Update expected output. + * tests/nlattr_ifla_brport.c: Likewise. + * tests/nlattr_ifla_linkinfo.c: Likewise. + * NEWS: Mention this. + +2022-04-27 Dmitry V. Levin <ldv@strace.io> + + xlat: update IFA_* constants. + * src/xlat/rtnl_addr_attrs.in (IFA_PROTO): New constant introduced + by Linux kernel commit v5.18-rc1~136^2~308. + * NEWS: Mention this. + +2022-04-26 Dmitry V. Levin <ldv@strace.io> + + xlat: update BTRFS_* constants. + * src/xlat/btrfs_features_incompat.in + (BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2): New constant introduced + by Linux kernel commit v5.18-rc1~172^2~73. + * src/xlat/btrfs_tree_objectids.in (BTRFS_BLOCK_GROUP_TREE_OBJECTID): + New constant introduced by Linux kernel commit v5.18-rc1~172^2~64. + * NEWS: Mention this. + +2022-04-25 Dmitry V. Levin <ldv@strace.io> + + xlat: update MADV_* constants. + * src/xlat/madvise_cmds.in (MADV_DONTNEED_LOCKED): New constant + introduced by Linux kernel commit v5.18-rc1~120^2~1. + * NEWS: Mention this. + +2022-04-24 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v5.18-rc4. + * bundled/linux/include/uapi/linux/btrfs.h: Update to + headers_install'ed Linux kernel v5.18-rc4. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Likewise. + * bundled/linux/include/uapi/linux/dm-ioctl.h: Likewise. + * bundled/linux/include/uapi/linux/if_addr.h: Likewise. + * bundled/linux/include/uapi/linux/if_bridge.h: Likewise. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/input-event-codes.h: Likewise. + * bundled/linux/include/uapi/linux/io_uring.h: Likewise. + * bundled/linux/include/uapi/linux/kexec.h: Likewise. + * bundled/linux/include/uapi/linux/lirc.h: Likewise. + * bundled/linux/include/uapi/linux/loop.h: Likewise. + * bundled/linux/include/uapi/linux/mctp.h: Likewise. + * bundled/linux/include/uapi/linux/mroute6.h: Likewise. + * bundled/linux/include/uapi/linux/netfilter/nfnetlink_queue.h: Likewise. + * bundled/linux/include/uapi/linux/perf_event.h: Likewise. + * bundled/linux/include/uapi/linux/rtnetlink.h: Likewise. + * bundled/linux/include/uapi/linux/socket.h: Likewise. + * bundled/linux/include/uapi/linux/types.h: Likewise. + * bundled/linux/include/uapi/linux/userfaultfd.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/version.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + +2022-04-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + Raise strace awareness. + After des Strausses awareness has been raised sufficiently, + it is time for den Strauss to raise the awareness about strace, + and to do so, the most modern and contemporary method has been elected: + displaying tips, tricks and tweaks on each run. + + * src/strace.c (parse_tips_args): New function. + (init) <enum>: Add GETOPT_TIPS. + <longopts>: Add "tips" option. + (init) <case GETOPT_TIPS>: Call parse_tips_args. + (terminate): Call print_totd before exit. + (usage): Document --tips. + * doc/strace.1.in (.SS Miscellaneous): Ditto. + * src/strauss.c (MAX_TIP_LINES): New enum. + (tips_tricks_tweaks, tip_top, tip_bottom, tip_left, tip_right): New + static constants. + (show_tips, tip_id): New variable. + (print_totd): New function. + * src/strauss.h (tips_fmt, tip_ids): New enumerations. + (show_tips, tip_id, print_totd): New declarations. + * tests/Makefile.am (MISC_TESTS): Add strace--tips.test, + strace--tips-full.test. + (EXTRA_DIST): Add strace--tips.exp. + * tests/strace--tips-full.test: New test. + * tests/strace--tips.test: Ditto. + * tests/strace--tips.exp: New file. + * tests/options-syntax.test: Add --tips syntax checks. + * NEWS: Mention it. + + Suggested-by: Elvira Khabirova <lineprinter@altlinux.org> + References: https://github.com/strace/strace/issues/14 + +2022-04-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + Add an option for raising Strauss awareness. + As der Strauss is the strace's mascot and also an endangered species, + it is a strace's responsibility now to raise awareness about it. + + * src/strauss.c: New file. + * src/strauss.h: New header. + * src/Makefile.am (strace_SOURCES): Add them. + * src/strace.c: Include "strauss.h". + (version_verbosity): New static variable. + (print_version): Add verbosity argument, call print_strauss. + (increase_version_verbosity): New function. + (init) <case 'V'>: Call increase_version_verbosity. + (init): Call print_version and exit if version_verbosity is non-zero. + * tests/strauss_body.exp: New file. + * tests/strauss_head.exp: Likewise. + * tests/Makefile.am (EXTRA_DIST): Add them. + * tests/strace-V.test: Update expected output, add checks. + * strace.1.in: Document it. + * NEWS: Mention it. + +2022-04-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + strace: explicitly indicate inability to print SELinux contexts. + Similarly to the way it is done when -k option is specified. + + * src/filter_qualify.c !ENABLE_SECONTEXT: Include "secontext.h". + !ENABLE_SECONTEXT (qualify_secontext): Define to print diagnostics + message and die. + !ENABLE_SECONTEXT (qual_options): Define "secontext" handler. + * src/secontext.h !ENABLE_SECONTEXT (qualify_secontext): Declare. + * src/strace.c !ENABLE_SECONTEXT (init): Define secontext_qual; + define GETOPT_QUAL_SECONTEXT; define "secontext" item in longopts; + handle GETOPT_QUAL_SECONTEXT option. + * tests/options-syntax.test: Add checks for the case + $compiled_with_secontext is empty. + +2022-03-28 Max Filippov <jcmvbkbc@gmail.com> + + xtensa: fix register access using PTRACE_GETREGS API. + The commit 2429c69961e2 ("xtensa: switch to PTRACE_GETREGS API") changed + the way xtensa registers are accessed, but the change is only correct + in case when the xtensa_regs.windowbase is 0 (i.e. the current register + window starts at the physical registr 0). In other cases decoded syscall + arguments are bogus. This issue is currently observed on noMMU xtensa + linux because it uses PTRACE_GETREGS API, while configurations with MMU + default to using ptrace_get_syscall_info. + + Fix that by taking xtensa_registers.windowbase into an account. + This is trivial for the first 4 registers in the current window, because + windowbase indicates 4-register groups and is always valid, so registers + a0...a3 are guaranteed to be available in the physical registers array + at indices windowbase * 4 + 0...3. + Position of the registers with higher numbers may wrap around the end of + the physical register file, so e.g. with 32 physical resgisters and + windowbase = 7 the register a5 is stored in the xtensa_registers.a1. + + This is further complicated by the fact that the size of the physical + register file may vary and there's no explicit way to inquire it from + the kernel. Probe for it by trying to set windowbase to ascending powers + of 2 until it fails. + + * src/linux/xtensa/arch_regs.c (ARCH_SP_REG): Account for + xtensa_regs.windowbase in xtensa_regs.a indexing. + * src/linux/xtensa/get_error.c (arch_get_error): New variable + status_reg that accounts for xtensa_regs.windowbase, use it + for xtensa_regs.a indexing. + * src/linux/xtensa/get_syscall_args.c (xtensa_probe_naregs): New + function. + (arch_get_syscall_args): New variable naregs_mask, initialize it + using xtensa_probe_naregs, use it for xtensa_regs.a indexing. + * src/linux/xtensa/set_error.c (arch_set_error) + (arch_set_success): Account for xtensa_regs.windowbase in + xtensa_regs.a indexing. + +2022-03-27 Dmitry V. Levin <ldv@strace.io> + + tests: fix build on systems where <signal.h> does not define SEGV_PKUERR + * tests/ptrace.c (main) HAVE_SIGINFO_T_SI_PKEY: Conditionalize + on SEGV_PKUERR as well. + + Reported-by: Andreas Schwab <schwab@linux-m68k.org> + Fixes: v5.17~18 "tests: check decoding of SEGV_PKUERR" + References: https://github.com/strace/strace/commit/beed7451b02c7c63c6199ac6b027beca7eef097f#commitcomment-69643079 + +2022-03-27 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.17-1. + * strace.spec.in: Likewise. + +2022-03-26 Dmitry V. Levin <ldv@strace.io> + + Prepare for 5.17 release. + * NEWS: Update for 5.17 release. + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2022-03-24 Eugene Syromyatnikov <evgsyr@gmail.com> + + Decode set_mempolicy_home_node syscall. + Introduced by Linux commits v5.17-rc1~79^2~49 and v5.17-rc1~79^2~48. + + * src/linux/generic/syscallent-common.h (BASE_NR + 450): Add + set_mempolicy_home_node syscall entry. + * src/numa.c (SYS_FUNC(set_mempolicy_home_node)): New syscall decoder. + * tests/.gitignore: Add set_mempolicy_home_node. + * tests/pure_executables.list: Likewise. + * tests/set_mempolicy_home_node.c: New file. + * tests/gen_tests.in (set_mempolicy_home_node): New test. + * NEWS: Mention it. + +2022-03-13 Dmitry V. Levin <ldv@strace.io> + + printpidfd: print pidfd path if pidfd_get_pid fails. + * src/util.c (printpidfd): If the path associated with the given + descriptor is "anon_inode:pidfd", print the path if pidfd_get_pid + fails. + +2022-03-12 Dmitry V. Levin <ldv@strace.io> + + printsocket: print socket path if get_sockaddr_by_inode fails. + * src/util.c (printsocket): If the path associated with the given + descriptor has a form of "socket:inode", print the path if + get_sockaddr_by_inode fails. + + util: introduce get_inode_of_socket_path. + * src/util.c (get_inode_of_socket_path): New function. + (getfdinode, printsocket): Use it. + + util: introduce print_string_in_angle_brackets. + * src/util.c (print_string_in_angle_brackets): New function. + (printsocket): Use it. + +2022-03-10 Masatake YAMATO <yamato@redhat.com> + + tests: fix a typo in tests.h. + * tests/tests.h (error_msg_and_fail): Fix the condition wrapping + the definition. + + Fixes: v4.21~95 "tests: add file:line to perror_msg_and_fail/error_msg_and_fail output" + +2022-03-06 Dmitry V. Levin <ldv@strace.io> + + xlat: update KEY_* constants. + * bundled/linux/include/uapi/linux/input-event-codes.h: Update + to headers_install'ed Linux kernel v5.17-rc7. + * src/xlat/evdev_keycode.in (KEY_DASHBOARD): Rename to + KEY_ALL_APPLICATIONS introduced by Linux kernel commit v5.17-rc7~5^2. + (KEY_DICTATE): New constant introduced by Linux kernel commit + v5.17-rc7~5^2~1. + * NEWS: Mention this change. + +2022-03-05 Dmitry V. Levin <ldv@strace.io> + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_PPC_AIL_MODE_3): New constant introduced + by Linux kernel commit v5.17-rc6~27^2~2^2. + +2022-02-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v5.17. + * src/linux/32/ioctls_inc_align16.h: Update from linux v5.17-rc5 + using ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/i386/ioctls_arch0.h: Likewise. + * src/linux/x86_64/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + + maint: update for linux v5.17-rc5. + * maint/ioctls_sym.sh (x86_list): Add KVM_GET_XSAVE2 ioctl. + +2022-02-12 Sean Young <sean@mess.org> + + Add lirc ioctl decoding. + * NEWS: Mention this change. + * bundled/linux/include/uapi/linux/lirc.h: New file. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/lirc_ioctl.c: New file. + * src/Makefile.am (libstrace_a_SOURCES): Add it. + * src/defs.h (DECL_IOCTL(lirc)): New declaration. + * src/ioctl.c (ioctl_decode) <case 'i'>: Call kd_ioctl. + * src/xlat/lirc_features.in: New file. + * src/xlat/lirc_modes.in: Likewise. + * tests/ioctl_lirc.c: New file. + * tests/ioctl_lirc-success.c: Likewise. + * tests/Makefile.am (check_PROGRAMS): Add ioctl_lirc-success. + * tests/gen_tests.in (ioctl_lirc, ioctl_lirc-success): New tests. + * tests/pure_executables.list: Add ioctl_lirc. + * tests/.gitignore: Add ioctl_lirc and ioctl_lirc-success. + + Reviewed-by: Eugene Syromyatnikov <evgsyr@gmail.com> + Reviewed-by: Dmitry V. Levin <ldv@strace.io> + +2022-02-08 Dmitry V. Levin <ldv@strace.io> + + tests: use ATTRIBUTE_FORMAT for static functions, too. + * tests/keyctl.c (append_str): Add ATTRIBUTE_FORMAT. + (kckdfp_to_str): Fix -Wformat warning. + + error_prints: use ATTRIBUTE_FORMAT for static functions, too. + * src/error_prints.c (verror_msg): Add ATTRIBUTE_FORMAT. + +2022-02-08 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux/version.h. + * bundled/linux/include/uapi/linux/version.h: Update to + headers_install'ed Linux kernel v5.17-rc2. + + Fixes: v5.16-39-g19b787bbf "bundled: update linux UAPI headers to v5.17-rc2" + +2022-02-07 Jonathan Borne <jborne@kalray.eu> + + tests: add missing <stdint.h> in fanotify_mark.c. + With musl libc, fanotify_mark.c compilation fails with 'uintptr_t' + undeclared. + + Following POSIX specification uintptr_t should be defined in <stdint.h>. + However, fanotify_mark.c does not include <stdint.h> directly. Instead, + it includes <sys/fanotify.h>. With glibc or uclibc-ng, fanotify_mark.c + compiles because the provided <sys/fanotify.h> includes <stdint.h>. + This is not the case with musl libc. + + * tests/fanotify_mark.c: Include <stdint.h>. + +2022-02-04 Dmitry V. Levin <ldv@strace.io> + + tests: check decoding of SEGV_ACCERR. + * tests/segv_accerr.c: New file. + * tests/gen_tests.in (segv_accerr): New test. + * tests/Makefile.am (check_PROGRAMS): Add segv_accerr. + * tests/.gitignore: Likewise. + +2022-02-03 Dmitry V. Levin <ldv@strace.io> + + tests: check decoding of SEGV_PKUERR. + * tests/segv_pkuerr.c: New file. + * tests/gen_tests.in (segv_pkuerr): New test. + * tests/Makefile.am (check_PROGRAMS): Add segv_pkuerr. + * tests/.gitignore: Likewise. + * tests/ptrace.c (main) HAVE_SIGINFO_T_SI_PKEY: Check decoding + of SEGV_PKUERR. + +2022-02-02 Slava Bacherikov <slava@bacher09.org> + + printsiginfo: decode siginfo_t.si_pkey field. + This adds decoding of si_pkey field which is set on SIGSEGV in case + of memory access violation on some modern CPUs (these have pku flag + in /proc/cpuinfo). + + * NEWS: Mention this change. + * configure.ac (AC_CHECK_MEMBERS): Check for siginfo_t.si_pkey. + * src/printsiginfo.c (print_si_info) <case SIGSEGV> + HAVE_SIGINFO_T_SI_PKEY: Decode si_pkey field. + +2022-02-01 Sven Schnelle <svens@linux.ibm.com> + + tests/membarrier: add additional return value. + linux commit 809232619f5b ("sched/membarrier: Fix membarrier-rseq fence + command missing from query bitmask") changed the returned value, so we + need to adjust the strace test as well. + +2022-01-30 Dmitry V. Levin <ldv@strace.io> + + prctl: implement PR_SET_VMA decoding for non-Android platforms. + PR_SET_VMA used to be specific to Android until Linux kernel commit + v5.17-rc1~79^2~89. + + * NEWS: Mention this change. + * src/xlat/prctl_options.in (PR_SET_VMA): Remove __ANDROID__ guard. + * src/xlat/pr_set_vma.in: New file. + * src/prctl.c __ANDROID__ && !PR_SET_VMA: Remove. + __ANDROID__ && !PR_SET_VMA_ANON_NAME: Likewise. + (SYS_FUNC(prctl)) <PR_SET_VMA>: Remove __ANDROID__ guard, enhance + decoding. + * tests/prctl-set_vma.c: New file. + * tests/gen_tests.in (prctl-set_vma): New test. + * tests/pure_executables.list: Add prctl-set_vma. + * tests/.gitignore: Likewise. + +2022-01-30 Dmitry V. Levin <ldv@strace.io> + + xlat: update IORING_* and IOSQE_* constants. + * NEWS: Mention this change. + * src/xlat/uring_setup_features.in (IORING_FEAT_CQE_SKIP): New constant + introduced by Linux kernel commit v5.17-rc1~118^2~25. + * src/xlat/uring_sqe_flags.in (IOSQE_CQE_SKIP_SUCCESS): Likewise. + * tests/io_uring_register.c (main): Update expected output. + +2022-01-30 Dmitry V. Levin <ldv@strace.io> + + rtnl_link: decode IFLA_GRO_MAX_SIZE attribute. + This netlink attribute was introduced by Linux kernel commit + v5.17-rc1~170^2~46. + + * NEWS: Mention this change. + * src/rtnl_link.c (ifinfomsg_nla_decoders) Add IFLA_GRO_MAX_SIZE. + * src/xlat/rtnl_link_attrs.in (IFLA_GRO_MAX_SIZE): New constant. + +2022-01-30 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v5.17-rc2. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Update to + headers_install'ed Linux kernel v5.17-rc2. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/io_uring.h: Likewise. + * bundled/linux/include/uapi/linux/perf_event.h: Likewise. + * bundled/linux/include/uapi/linux/prctl.h: Likewise. + * bundled/linux/include/uapi/linux/rtnetlink.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + +2022-01-29 Dmitry V. Levin <ldv@strace.io> + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_SYS_ATTRIBUTES): New constant introduced + by Linux kernel commit v5.17-rc2~24^2~8. + +2022-01-25 WANG Xuerui <git@xen0n.name> + + loongarch64: make use of the newly exposed orig_a0 field for ptrace. + * src/linux/loongarch64/get_syscall_args.c: Use orig_a0 for first + syscall argument. + * src/linux/loongarch64/arch_prstatus_regset.c: Print the new field. + * tests/ptrace.c (print_prstatus_regset) __loongarch__: Update + expected output. + +2022-01-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + s390: fix infmname printing check. + As it is a EBCDIC string, it is supposed to be checked + with IS_ARRAY_ZERO, similarly to other EBCDIC strings. + Also, it induces a warning with GCC 12: + + s390.c: In function 'print_sthyi_machine': + s390.c:565:30: error: the comparison will always evaluate as 'true' for the + address of 'infmname' will never be NULL -Werror=address + 565 | if (name_val || hdr->infmname) { + | ^~ + s390.c:119:18: note: 'infmname' declared here + 119 | char infmname8; /**< EBCDIC Machine Name */ + | ^~~~~~~~ + + * src/s390.c (print_sthyi_machine): Use IS_ARRAY_ZERO for hdr->infmname + non-emptiness check. + + Fixes: v4.21~73 "Introduce s390_sthyi system call decoder" + Reported-by: Dmitry V. Levin <ldv@strace.io> + +2022-01-24 Dmitry V. Levin <ldv@strace.io> + + Remove remaining bits of Travis CI support. + Given that in foreseeable future Travis CI is not going to welcome free + software projects back, there is no use to keep the remaining bits of + Travis CI support. + + * .gitignore: Remove "/travis_wait_*.log". + * .travis.yml: Remove. + +2022-01-23 Dmitry V. Levin <ldv@strace.io> + + rtnl_tc_action: implement TCA_ACT_IN_HW_COUNT decoding. + * src/rtnl_tc_action.c (tcamsg_nla_decoders): Add TCA_ACT_IN_HW_COUNT. + * tests/nlattr_tcamsg.c !HAVE_DECL_TCA_ACT_IN_HW_COUNT + (TCA_ACT_IN_HW_COUNT): New constant. + (main): Check TCA_ACT_IN_HW_COUNT decoding. + * NEWS: Mention this change. + + xlat: update TCA_ACT_* constants. + * src/xlat/rtnl_tc_action_attrs.in (TCA_ACT_IN_HW_COUNT): New constant + introduced by Linux kernel commit v5.7-rc1~146^2~25^2. + * src/xlat/rtnl_tca_act_flags.in (TCA_ACT_FLAGS_SKIP_HW, + TCA_ACT_FLAGS_SKIP_SW): New constants introduced by Linux kernel commit + v5.17-rc1~170^2~158^2~6. + * tests/nlattr_tcamsg.c (main): Update expected output. + * NEWS: Mention this change. + +2022-01-22 Dmitry V. Levin <ldv@strace.io> + + xlat: update MODULE_INIT_* constants. + * src/xlat/module_init_flags.in (MODULE_INIT_COMPRESSED_FILE): New constant + introduced by Linux kernel commit v5.17-rc1~65^2~4. + * tests/finit_module.c (main): Update expected output. + * NEWS: Mention this change. + +2022-01-21 Dmitry V. Levin <ldv@strace.io> + + xlat: update *_MAGIC constants. + * src/xlat/fsmagic.in (EXFAT_SUPER_MAGIC): New constant introduced + by Linux kernel commit v5.17-rc1~74^2~2. + (SMB2_MAGIC_NUMBER): Rename to SMB2_SUPER_MAGIC introduced by Linux + kernel commit v5.17-rc1~57^2~1. + (CIFS_MAGIC_NUMBER): Rename to CIFS_SUPER_MAGIC introduced by the same + commit. + * NEWS: Mention this change. + +2022-01-20 Dmitry V. Levin <ldv@strace.io> + + xlat: update KVM_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_VM_GPA_BITS): New constant introduced + by Linux kernel commit v5.17-rc1~15^2~95^2~4. + (KVM_CAP_XSAVE2): New constant introduced by Linux kernel commit + v5.17-rc1~15^2~53. + * NEWS: Mention this change. + +2022-01-19 Dmitry V. Levin <ldv@strace.io> + + xlat: update FAN_* constants. + * src/xlat/fan_event_flags.in (FAN_RENAME): New constant introduced + by Linux kernel commit v5.17-rc1~105^2~3. + * src/xlat/fan_init_flags.in (FAN_REPORT_TARGET_FID): New constant + introduced by Linux kernel commit v5.17-rc1~105^2~8. + * tests/fanotify_init.c (main): Update expected output. + * tests/fanotify_mark.c: Likewise. + * NEWS: Mention this change. + + tests: fix typo in comment. + * tests/test_printpath.c (test_printpath_at): Fix typo in comment. + +2022-01-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + secontext: refacor SELinux context printing. + This is mostly done to enable proper quoting of the printed context, + as these are raw xattrs that may contain anything: + + $ sudo setfattr -n security.selinux -v "$(echo -e '\1\2\3\4\5\6\7\8\9\10\13\26\27')" ttt + $ strace -efadvise64 --secontext cat ttt + $ unconfined fadvise64(3 \8\9 + , 0, 0, POSIX_FADV_SEQUENTIAL) = 0 + ^?1;2c+++ exited with 0 +++ + + * src/secontext.c (getcontext): Rename to... + (parse_secontext): ...this, return pointer in the original context + string and its size instead of a string copy, do not call freecon() + on the original secontext. + (get_expected_filecontext, selinux_getpidcon): Do not call getcontext + on the result. + (selinux_getfdcon, selinux_getfilecon): Do not call getcontext on the + result, return expected context as-is. + (print_context, selinux_printfdcon, selinux_printfilecon, + selinux_printpidcon): New functions. + * src/secontext.h (selinux_getfdcon, selinux_getfilecon, + selinux_getpidcon, selinux_set_format): Remove declarations. + (selinux_printfdcon, selinux_printfilecon, selinux_printpidcon): New + declarations. + * src/strace.c (printleader): Call selinux_printpidcon + instead of selinux_getpidcon. + * src/util.c (printfd_pid): Call selinux_printfdcon + instead of selinux_getfdcon. + (printpathn): Call selinux_printfilecon instead of selinux_getfilecon. + +2022-01-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: add ability to override xflag setting via string_quote style. + * src/defs.h (QUOTE_OVERWRITE_HEXSTR, QUOTE_HEXSTR_SHIFT, + QUOTE_HEXSTR_MASK, QUOTE_HEXSTR_NONE, QUOTE_HEXSTR_ALL, + QUOTE_HEXSTR_NON_ASCII, QUOTE_HEXSTR_NON_ASCII_CHARS): New macro + constants. + (QUOTE_FORCE_HEX): Re-define to (QUOTE_OVERWRITE_HEXSTR | + QUOTE_HEXSTR_ALL). + * src/util.c (string_quote) <xstyle>: New local variable. + (string_quote): Use xstyle instead of xflag/style checks for hexadecimal + character printing checks. + + tests/linkat: reset context to the expected one if a mismatch has been detected + * tests/secontext.h (reset_secontext_file): New declaration. + * tests/secontext.c (reset_secontext_file): New function. + * tests/linkat.c (main): Check that there is no initial mismatch + in the sample_1 context, reset it otherwise. + + tests/secontext: eliminate separate secontext_format declaration. + * tests/secontext.c (secontext_format): Remove declaration, supply + the attributes to the definition. + + tests/linkat: provide fallback values for secontext fields changes. + * tests/linkat.c (mangle_secontext_field): New function. + (main): Replace calls to update_secontext_field + with mangle_secontext_field calls. + + tests/secontext: add secontext field getters. + * tests/secontext.h (get_secontext_field, get_secontext_field_file): New + declarations. + * tests/secontext.c (get_type_from_context): Rename to... + (get_secontext_field): ...this; remove "static" qualifier; add "field" + argument, use it. + (raw_expected_secontext_short_file, raw_secontext_short_pid): Replace + get_type_from_context call with get_secontext_field. + (get_secontext_field_file): New function. + (raw_secontext_short_file): Replace body with get_secontext_field_file + call. + +2022-01-19 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/linkat: reset errno before SELinux context manipulation. + To avoid printing a stale error information in case of mismatch check + failure. + + * tests/linkat.c: Include <errno.h>. + (main): Add "errno = 0" before update_secontext_field calls. + +2022-01-18 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: wfix. + * doc/strace.1.in (.SH DESCRIPTION): Replace "simple pointers" + with "pointers to basic types"; add definite article before "elements" + in "pointers to basic types and arrays are printed using square brackets + with commas separating elements." + +2022-01-18 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: align -e inject/--inject syntax description to the left. + That eliminates warnings about inability to fill the line (that has become + rather long over the time): + + <standard input>:1287: warning p 9, 5.8i, div `an-div', 0.0i: cannot adjust line + <standard input>:1287: warning p 9, 5.8i, div `an-div', 0.2i: can't break line + + (as there are indeed no spaces in the syntax line to accomodate such filling). + Also, provide additional breakpoints to make it look a bit better. + + * doc/strace.1.in (.SS Tampering): Add ".ad b" before "-e inject" option + syntax line and ".ad b" after "--inject" option syntax line; add "\:" + between option parameters for additional breaking points. + + Reported-by: Dmitry V. Levin <ldv@strace.io> + +2022-01-18 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: update strace example output. + - struct timespec has field names in the ouput since + v4.14-135-gacdb08613; + - the signal mask rt_sigreturn argument is decoded since v4.17~171; + - articulate siginfo in the SIGLARM signal trace message. + + * doc/strace.1.in (.SH DESCRIPTION): Add "tv_sec" and "tv_nsec" field + names to clock_gettime example output; replace "0xe" with "{mask=}" + in rt_sigreturn example output; replace ellipsis with "{si_signo=SIGALRM, + si_code=SI_KERNEL}" in SIGALRM example output. + +2022-01-18 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: add references to syscall(2) and signal(7) to SEE ALSO. + These contain some pertinent information about architecture-specific + syscall caveats and signal handling. + + * doc/strace.1.in (.SH "SEE ALSO"): Add references to syscall(2) + and signal(7). + +2022-01-18 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: refer to syscalls(2) for syscall names reference. + * doc/strace.1.in (.SS Filtering) <.I syscall>: Add a reference + to syscalls(2) in the description. + +2022-01-17 Dmitry V. Levin <ldv@strace.io> + + Enhance rejection of invalid syscall numbers in syscall specification expressions + We used to allow any number that does not exceed the maximum syscall + number for the given personality, including those that do not correspond + to real syscalls. + + * NEWS: Mention this. + * src/arch_defs.h !ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK + (ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK): Define to 0. + * src/linux/x32/arch_defs_.h (ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK): + Define to 1. + * src/linux/x86_64/arch_defs_.h: Likewise. + * src/basic_filters.c (qualify_syscall_number): Use shuffle_scno to + obtain the internal syscall number, use scno_pers_is_valid to reject + invalid syscall numbers. + * tests/filtering_syscall-syntax.test: Check this. + +2022-01-17 Dmitry V. Levin <ldv@strace.io> + + Introduce scno_pers_in_range and scno_pers_is_valid. + * src/defs.h (scno_pers_in_range, scno_pers_is_valid): New functions. + * src/syscall_name.c (syscall_name_arch): Use scno_pers_is_valid. + +2022-01-16 Dmitry V. Levin <ldv@strace.io> + + Extend personality designation syntax to support all@pers. + * NEWS: Mention this. + * src/basic_filters.c (lookup_class): Change to support zero flags, + handle "all" as a class with zero flags. + (qualify_syscall_class): Update to new lookup_class semantics. + * src/strace.c (usage): Update --trace description. + * doc/strace.1.in (.SS Filtering): Likewise. + * tests/filtering_syscall-syntax.test: Update expected output. + * tests/qualify_personality_all.sh: New file. + * tests/Makefile.am (EXTRA_DIST): Add it. + * tests/gen_tests.in (trace_personality_all_32, + trace_personality_all_64, trace_personality_all_x32): New tests. + +2022-01-15 Dmitry V. Levin <ldv@strace.io> + + tests: extend personality designation syntax checks. + * tests/filtering_syscall-syntax.test: Repeat some checks also with + a correct personality designator. + +2022-01-15 Dmitry V. Levin <ldv@strace.io> + + tests: move current personality designator detection code to init.sh. + This functionality is going to be used in different tests. + + * tests/init.sh (print_current_personality_designator): New function. + * tests/qualify_personality.sh: Use it. + +2022-01-15 Dmitry V. Levin <ldv@strace.io> + + Extend personality designation syntax to support %class@pers. + * NEWS: Mention this. + * src/basic_filters.c (qualify_syscall_number, + qualify_syscall_number_personality): Squash into a new function + qualify_syscall_number taking personality as an argument instead of + iterating over all personalities, remove personality designation syntax + support. + (qualify_syscall_regex): Change to take personality as an argument + instead of iterating over all personalities, remove personality + designation syntax support. + (qualify_syscall_class): Change to take personality as an argument + instead of iterating over all personalities. + (qualify_syscall_name): Remove. + (qualify_syscall_name_personality): Rename to qualify_syscall_name. + (qualify_syscall_pers): New function. + (qualify_syscall): Use it to iterate over all supported personalities, + add personality designation syntax support. + * src/strace.c (usage): Update --trace description. + * doc/strace.1.in (.SS Filtering): Likewise. + * tests/options-syntax.test: Update expected output. + * tests/trace_personality_statfs_32.in: New file. + * tests/trace_personality_statfs_64.in: Likewise. + * tests/trace_personality_statfs_x32.in: Likewise. + * tests/Makefile.am (EXTRA_DIST): Add them. + * tests/gen_tests.in (trace_personality_statfs_32, + trace_personality_statfs_64, trace_personality_statfs_x32): New tests. + +2022-01-15 Dmitry V. Levin <ldv@strace.io> + + Use the last @ as a starting point of the personality designator. + There is no difference from a practical point of view as long as + we don't have syscall names containing @ symbol. + + * src/basic_filters.c (qualify_syscall_separate_personality): Use + the last @ of the syscall trace expression as a starting point of + the personality designator. + +2022-01-15 Dmitry V. Levin <ldv@strace.io> + + tests: add more checks of --trace=number@pers support. + * tests/print_scno_getcwd.sh: New file. + * tests/trace_personality_number_32.in: Likewise. + * tests/trace_personality_number_64.in: Likewise. + * tests/trace_personality_number_x32.in: Likewise. + * tests/Makefile.am (EXTRA_DIST): Add them. + * tests/gen_tests.in (trace_personality_number_32, + trace_personality_number_64, trace_personality_number_x32): New tests. + +2022-01-14 Dmitry V. Levin <ldv@strace.io> + + Make sprint_hwaddr and sprint_mac_addr functions static. + Apparently, these functions are not used beyond the file where they are + defined. + + * src/defs.h (sprint_hwaddr, sprint_mac_addr): Remove. + * src/print_mac.c (sprint_hwaddr, sprint_mac_addr): Add static + qualifier. + +2022-01-13 Dmitry V. Levin <ldv@strace.io> + + Remove unused function ts_mul. + The last user of this function was removed by commit v5.3~71. + + * src/defs.h (ts_mul): Remove. + * src/util.c: Likewise. + +2022-01-13 Dmitry V. Levin <ldv@strace.io> + + loongarch64: implement NT_PRSTATUS and NT_FPREGSET regsets decoding. + * src/linux/loongarch64/arch_fpregset.c: New file. + * src/linux/loongarch64/arch_fpregset.h: Likewise. + * src/linux/loongarch64/arch_prstatus_regset.c: Likewise. + * src/linux/loongarch64/arch_prstatus_regset.h: Likewise. + * src/Makefile.am (EXTRA_DIST): Add them. + * tests/ptrace.c __loongarch__ (TRACEE_REGS_STRUCT): Define. + (print_prstatus_regset, print_fpregset) __loongarch__: Update + expected output. + +2022-01-13 Dmitry V. Levin <ldv@strace.io> + + xlat: add AUDIT_ARCH_LOONGARCH* constants. + * src/xlat/audit_arch.in (AUDIT_ARCH_LOONGARCH32, + AUDIT_ARCH_LOONGARCH64): New constants. + + Link: https://lore.kernel.org/lkml/20211013063656.3084555-4-chenhuacai@loongson.cn/ + +2022-01-13 WANG Xuerui <git@xen0n.name> + + Add 64-bit LoongArch support. + This is based on the WIP Linux port still under review, but the port is + re-using asm-generic syscall numbers and parameters, so breakage should + be minimal when the port is eventually merged, if at all. + + Currently only the LP64* ABIs are implemented in the toolchains, so only + support the host type "loongarch64". + + * NEWS: Mention this. + * configure.ac $host_cpu == loongarch64: Define LOONGARCH64. + * src/linux/loongarch64/arch_defs_.h: New file. + * src/linux/loongarch64/arch_regs.c: Likewise. + * src/linux/loongarch64/get_error.c: Likewise. + * src/linux/loongarch64/get_scno.c: Likewise. + * src/linux/loongarch64/get_syscall_args.c: Likewise. + * src/linux/loongarch64/ioctls_arch0.h: Likewise. + * src/linux/loongarch64/ioctls_inc0.h: Likewise. + * src/linux/loongarch64/raw_syscall.h: Likewise. + * src/linux/loongarch64/set_error.c: Likewise. + * src/linux/loongarch64/set_scno.c: Likewise. + * src/linux/loongarch64/syscallent.h: Likewise. + * src/Makefile.am (EXTRA_DIST): Add them. + * src/xlat/elf_em.in: Add EM_LOONGARCH. + + Link: https://lore.kernel.org/lkml/20211013063656.3084555-1-chenhuacai@loongson.cn/ + +2022-01-12 Dmitry V. Levin <ldv@strace.io> + + Remove unused function syscall_name. + The last user of this function was removed by commit v5.15~209. + + * src/defs.h (syscall_name): Remove. + * src/syscall_name.c: Likewise. + +2022-01-11 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.16-1. + * strace.spec.in: Likewise. + +2022-01-10 Dmitry V. Levin <ldv@strace.io> + + Prepare for 5.16 release. + * NEWS: Update for 5.16 release. + + .mailmap: add more entries to avoid duplication in CREDITS. + * .mailmap: Add another email address of Paul Chaignon to avoid + duplication in CREDITS file. + +2022-01-09 Dmitry V. Levin <ldv@strace.io> + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2022-01-09 Dmitry V. Levin <ldv@strace.io> + + Fix preprocessor indentation. + Indent the C preprocessor directives to reflect their nesting + using the following script: + + $ cppi -l $(git grep -El '^:space:*#:space:*(if|ifdef|ifndef|elif|else|endif|define|pragma):space:' src tests |grep -v '\.sh$') |while read f; do + cppi < "$f" > "$f".cppi; mv "$f".cppi "$f" + done + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: remove PACKET_ADD_MEMBERSHIP #ifdef guards. + Both PACKET_ADD_MEMBERSHIP and struct packet_mreq are provided by + <linux/if_packet.h> at least since Linux 2.6.12. + + * src/xlat/packet_mreq_type.in: Add #value_indexed, provide fallback + definitions. + * src/net.c: Remove PACKET_ADD_MEMBERSHIP #ifdef guards. + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: remove PACKET_RX_RING and PACKET_TX_RING #ifdef guards. + All of them as well as struct tpacket_req are provided by + <linux/if_packet.h> at least since Linux 2.6.12. + + * src/net.c: Remove PACKET_RX_RING and PACKET_TX_RING #ifdef guards. + + Complements: v5.15~139 "xlat: add fallback values to sock_packet_options" + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: remove IPV6_ADD_MEMBERSHIP and IPV6_{JOIN,LEAVE}_ANYCAST guards. + All of them are present since at least Linux 2.6.12 and glibc-2.3.3~616. + + * src/net.c !IPV6_ADD_MEMBERSHIP (print_mreq6): Enable function + declaration. + !IPV6_ADD_MEMBERSHIP || !IPV6_JOIN_ANYCAST || !IPV6_LEAVE_ANYCAST (print_setsockopt): + Enable case IPV6_ADD_MEMBERSHIP, case IPV6_DROP_MEMBERSHIP, + case IPV6_JOIN_ANYCAST, and case IPV6_LEAVE_ANYCAST. + + Complements: v5.15~140 "xlat: add fallback values to sock_ipv6_options" + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + Remove MCAST_JOIN_GROUP #ifdef guards. + These are long defined (before Linux 2.6.12 and since glibc-2.3.4~748), + so there seems to be no need to conditionalise on them. + + * src/net.c !MCAST_JOIN_GROUP: Enable case MCAST_JOIN_GROUP + and case MCAST_LEAVE_GROUP. + * src/print_group_req.c !MCAST_JOIN_GROUP: Enable + DEF_MPERS_TYPE(struct_group_req) include, struct_group_req typedef, + and print_group_req function. + + Complements: v5.15~141 "xlat: add fallback values to sock_ip_options" + Complements: v5.15~140 "xlat: add fallback values to sock_ipv6_options" + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: remove IP_ADD_MEMBERSHIP #ifdef guards. + IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP are always defined since commit + v5.15~141 "xlat: add fallback values to sock_ip_options", and the struct + ip_mreq definition is present in UAPI since at least v2.6.12, so simply + remove the #ifdef guards. + + * src/net.c !IP_ADD_MEMBERSHIP (print_mreq): Provide definition. + !IP_ADD_MEMBERSHIP (print_setsockopt): Enable case IP_ADD_MEMBERSHIP + and case IP_DROP_MEMBERSHIP. + + Complements: v5.15~141 "xlat: add fallback values to sock_ip_options" + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: remove PACKET_STATISTICS #ifdef guards. + The constant is always defined since v5.15~139 "xlat: add fallback values + to sock_packet_options", and the decoder function does not require + any extra definitions, so the #fidef guards are now superficial. + + * src/net.c !PACKET_STATISTICS (print_tpacket_stats): Make available. + !PACKET_STATISTICS (print_getsockopt) <case SOL_PACKET: case + PACKET_STATISTICS>: Call print_tpacket_stats. + + Complements: v5.15~139 "xlat: add fallback values to sock_packet_options" + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: initialise struct icmp_filter read buffer with ~0. + Since only the unset bits are printed, this avoids printing + of bits not returned by the kernel when a short read is performed. + + * src/net.c (print_icmp_filter): Set filter.data to ~0U. + +2022-01-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net: fix SO_ERROR socket option len clamping. + Looks like a typo: err is set if len is too big instead of len. + Fixes possible out-of-bounds read on umoven_or_printaddr when len + is too big. + + * src/net.c (print_get_error) <if (len > sizeof(err))>: Set len + to sizeof(err) and not err. + + Fixes: v4.26~45 "net: enhance decoding of getsockopt(SO_ERROR)" + +2022-01-09 Dmitry V. Levin <ldv@strace.io> + + tests: check decoding of futex_waitv syscall. + * tests/futex_waitv.c: New file. + * tests/gen_tests.in (futex_waitv): New test. + * tests/pure_executables.list: Add futex_waitv. + * tests/.gitignore: Likewise. + + futex_waitv: implement decoding of struct futex_waitv array. + * bundled/linux/include/uapi/linux/futex.h: New file, imported from + headers_install'ed Linux kernel v5.16-rc8. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/xlat/futex_waiter_flags.in: New file. + * src/futex_waitv.c: Include <linux/futex.h> and + "xlat/futex_waiter_flags.h". + (print_waiter_data): New struct. + (print_waiter, print_waiter_array): New functions. + (SYS_FUNC(futex_waitv)): Use print_waiter_array to print the first + argument of futex_waitv syscall. + * NEWS: Mention this change. + +2022-01-09 André Almeida <andrealmeid@collabora.com> + + Implement decoding of futex_waitv syscall. + This is an initial implementation of the new futex_waitv syscall + introduced by Linux kernel commit v5.16-rc1~200^2~12. + + * src/futex_waitv.c: New file. + * src/Makefile.am (libstrace_a_SOURCES): Add it. + * src/linux/generic/syscallent-common.h (BASE_NR + 449): Add + futex_waitv syscall entry. + +2022-01-08 Dmitry V. Levin <ldv@strace.io> + + xlat: update NDA_* constants. + * src/xlat/rtnl_neigh_attrs.in (NDA_FLAGS_EXT): New constant + introduced by Linux kernel commit v5.16-rc1~159^2~222^2~1. + * NEWS: Mention this change. + + xlat: update V4L2_* constants. + * src/xlat/v4l2_control_id_bases.in (V4L2_CID_USER_ALLEGRO_BASE): New + constant introduced by Linux kernel commit v5.16-rc1~173^2~15. + * src/xlat/v4l2_control_ids.in (V4L2_CID_NOTIFY_GAINS): New constant + introduced by Linux kernel commit v5.16-rc1~173^2~231. + * src/xlat/v4l2_pix_fmts.in (V4L2_PIX_FMT_SUNXI_TILED_NV12): Rename + to V4L2_PIX_FMT_NV12_32L32, renamed by Linux kernel commit + v5.16-rc1~173^2~279. + (V4L2_PIX_FMT_HM12): Rename to V4L2_PIX_FMT_NV12_16L16, renamed by Linux + kernel commit v5.16-rc1~173^2~278. + (V4L2_PIX_FMT_NV12_4L4): New constant introduced by Linux kernel commit + v5.16-rc1~173^2~277. + (V4L2_PIX_FMT_MM21): New constant introduced by Linux kernel commit + v5.16-rc1~173^2~262. + * NEWS: Mention this change. + + xlat: update KVM_* constants. + * src/xlat/kvm_exit_reason.in (KVM_EXIT_RISCV_SBI): New constant + introduced by Linux kernel commit v5.16-rc1~153^2~50^2~2. + * NEWS: Mention this change. + + xlat: update DEVCONF_* constants. + * src/xlat/inet6_devconf_indices.in (DEVCONF_NDISC_EVICT_NOCARRIER): + New constant introduced by Linux kernel commit v5.16-rc1~159^2~3^2~1. + * NEWS: Mention this change. + + xlat: update IPV4_DEVCONF_* constants. + * src/xlat/inet_devconf_indices.in (IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1): + New constant introduced by Linux kernel commit v5.16-rc1~159^2~3^2~2. + * NEWS: Mention this change. + + xlat: update ETH_P_* constants. + * src/xlat/ethernet_protocols.in (ETH_P_REALTEK): New constant + introduced by Linux kernel commit v5.16-rc1~159^2~168^2~6. + * NEWS: Mention this change. + + xlat: update FAN_* constants. + * src/xlat/fan_event_flags.in (FAN_FS_ERROR): New constant introduced + by Linux kernel commit v5.16-rc1~101^2~16. + * tests/fanotify_mark.c (main): Update expected output. + * NEWS: Mention this change. + + xlat: update BTRFS_* constants. + * src/xlat/btrfs_send_flags.in (BTRFS_SEND_FLAG_VERSION): New constant + introduced by Linux kernel commit v5.16-rc1~203^2~6. + + bundled: update linux UAPI headers to v5.16-rc8. + * bundled/linux/include/uapi/asm-generic/fcntl.h: Update to + headers_install'ed Linux kernel v5.16-rc8. + * bundled/linux/include/uapi/linux/btrfs.h: Likewise. + * bundled/linux/include/uapi/linux/io_uring.h: Likewise. + * bundled/linux/include/uapi/linux/mctp.h: Likewise. + * bundled/linux/include/uapi/linux/neighbour.h: Likewise. + * bundled/linux/include/uapi/linux/netfilter/nf_tables.h: Likewise. + * bundled/linux/include/uapi/linux/nfc.h: Likewise. + * bundled/linux/include/uapi/linux/perf_event.h: Likewise. + * bundled/linux/include/uapi/linux/pkt_sched.h: Likewise. + * bundled/linux/include/uapi/linux/prctl.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/version.h: Likewise. + * bundled/linux/include/uapi/linux/videodev2.h: Likewise. + * bundled/linux/include/uapi/linux/vm_sockets.h: Likewise. + +2022-01-07 Dmitry V. Levin <ldv@strace.io> + + xlat: update AUDIT_* constants. + * xlat/nl_audit_types.in (AUDIT_URINGOP): New constant introduced + by Linux kernel commit v5.16-rc1~162^2~18. + (AUDIT_OPENAT2): New constant introduced by Linux kernel commit + v5.16-rc1~161^2~1. + (AUDIT_DM_CTRL, AUDIT_DM_EVENT): New constants introduced by Linux + kernel commit v5.16-rc1~77^2~12. + * NEWS: Mention this change. + + xlat: update SO_VM_* constants. + * bundled/linux/include/uapi/linux/vm_sockets.h: Update to + headers_install'ed Linux kernel v5.16-rc8. + * src/xlat/sock_vsock_options.in (SO_VM_SOCKETS_CONNECT_TIMEOUT): Rename + to SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD, renamed by Linux kernel commit + v5.16-rc1~159^2~251. + (SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW): New constant introduced by the same + commit. + + xlat: update SO_* constants. + * src/xlat/sock_options.in (SO_RESERVE_MEM): New constant introduced + by Linux kernel commit v5.16-rc1~159^2~317^2~2. + * NEWS: Mention this change. + +2022-01-06 Dmitry V. Levin <ldv@strace.io> + + Update copyright year number range. + * COPYING: Update copyright year number range. + * tests/COPYING: Likewise. + * debian/copyright: Likewise. + +2022-01-06 Dmitry V. Levin <ldv@strace.io> + + mips: remove redundant include of syscall_dummy.h. + As syscall_dummy.h is already included by syscall.h, there is no need + to include it once more in syscallent.h. + + * src/linux/mips/syscallent.h: Do not include "syscall_dummy.h". + +2022-01-05 Dmitry V. Levin <ldv@strace.io> + + Rework personality_designators and personality_names. + Move personality_designators definition to the same file with + its sole user, move arch-specific initialization to arch_defs.h. + + * src/linux/x32/arch_defs_.h (PERSONALITY_DESIGNATORS, + PERSONALITY_NAMES): New macros. + * src/linux/x86_64/arch_defs_.h: Likewise. + * src/arch_defs.h !PERSONALITY_DESIGNATORS, !PERSONALITY_NAMES: + Likewise. + * src/basic_filters.c (personality_designators): New array. + * src/defs.h (personality_designators): Remove. + * src/syscall.c: Likewise. + (personality_names): Use PERSONALITY_NAMES, add static_assert. + +2022-01-04 Dmitry V. Levin <ldv@strace.io> + + Remove linux/generic/arch_defs_.h. + Starting with commit v5.15~212, every supported architecture has to + define PERSONALITY0_AUDIT_ARCH which effectively means that every + supported architecture has its own arch_defs_.h file, and the generic + arch_defs_.h is no longer needed. + + * src/Makefile.am (EXTRA_DIST): Remove linux/generic/arch_defs_.h. + * src/linux/generic/arch_defs_.h: Remove. + + Complements: v5.15~212 "src/linux: add PERSONALITY0_AUDIT_ARCH definitions where possible" + +2022-01-04 Renaud Métrich <rmetrich@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Implement displaying of expected context upon mismatch. + New option to --secontext=... (also available as -e secontext=...) + - mismatch: print expected context on mismatch + + When using 'mismatch', an additional check is made on the context by + reading the context database and comparing the output after stripping + the unwanted part (e.g. stripping nothing in 'full' mode, keeping the + type only in default mode): + - if it differs, prints the expected context after printing '!!' + - if not, don't print anything + + Example with /home/rmetrich/GIT/strace/autom4te.cache/output.3 file: + + ---- + $ matchpathcon /home/rmetrich/GIT/strace/autom4te.cache/output.3 + /home/rmetrich/GIT/strace/autom4te.cache/output.3 unconfined_u:object_r:user_home_t:s0 + + $ ls -Z /home/rmetrich/GIT/strace/autom4te.cache/output.3 + system_u:object_r:user_home_t:s0 /home/rmetrich/GIT/strace/autom4te.cache/output.3 + ---- + + From above, we see the user part differs ('unconfined_u' vs 'system_u') + + Output in '!full' mode (no diff found on type): + + ---- + $ strace --secontext=mismatch -e statx stat /home/rmetrich/GIT/strace/autom4te.cache/output.3 + ... statx(AT_FDCWD, "/home/rmetrich/GIT/strace/autom4te.cache/output.3" user_home_t, ... + ---- + + Output in 'full' mode (diff found on user): + + ---- + ... statx(AT_FDCWD, "/home/rmetrich/GIT/strace/autom4te.cache/output.3" system_u:object_r:user_home_t:s0!!unconfined_u:object_r:user_home_t:s0, ... + ---- + + * NEWS: Mention this change. + * doc/strace.1.in: Document it. + * m4/st_selinux.m4 (st_SELINUX): Check for selabel_open + and selabel_lookup. + * src/filter_qualify.c ENABLE_SECONTEXT: Include "secontext.h". + ENABLE_SECONTEXT (secontext_set): New variable. + ENABLE_SECONTEXT (secontextstr_to_uint, qualify_secontext): New + functions. + (qual_options) ENABLE_SECONTEXT: Add "secontext". + * src/secontext.c: Include <sys/stat.h>, <unistd.h>, <selinux/label.h>, + "largefile_wrappers.h", "number_set.h", and "xmalloc.h". + (selinux_context, selinux_context_full): Remove. + (getcontext): Use is_number_in_set instead of selinux_context_full. + (selinux_getpidcon): Use is_number_in_set instead of selinux_context. + (get_expected_filecontext): New function. + (selinux_getfdcon, selinux_getfilecon): Use it to print context mismatch + if SECONTEXT_MISMATCH is set in secontext_set. + * src/secontext.h (selinux_context, selinux_context_full): Remove. + (secontext_bits): New enum. + (secontext_set, qualify_secontext, selinux_set_format): New + declarations. + * src/strace.c (SECONTEXT_E_QUAL): New macro. + (usage): Use it, describe --secontext. + (init) ENABLE_SECONTEXT: Call qualify_secontext, rename + GETOPT_SECONTEXT to GETOPT_QUAL_SECONTEXT, use is_number_in_set + instead of selinux_context. + (init) ENABLE_SECONTEXT (secontext_qual): New variable. + (init) ENABLE_SECONTEXT <GETOPT_QUAL_SECONTEXT>: Use it. + * tests/.gitignore: Add *--secontext_full_mismatch, + *--secontext_full_mismatch.c, *--secontext_mismatch, and + *--secontext_mismatch.c. + * tests/gen_secontext.sh: Generate *--secontext_full_mismatch.c + and *--secontext_mismatch.c. + * tests/gen_tests.in (access--secontext_full_mismatch, + access--secontext_mismatch, chmod--secontext_full_mismatch, + chmod--secontext_mismatch, execve--secontext_full_mismatch, + execve--secontext_mismatch, execveat--secontext_full_mismatch, + execveat--secontext_mismatch, faccessat--secontext_full_mismatch, + faccessat--secontext_mismatch, faccessat-y--secontext_full_mismatch, + faccessat-y--secontext_mismatch, fanotify_mark--secontext_full_mismatch, + fanotify_mark--secontext_mismatch, fchmod--secontext_full_mismatch, + fchmod--secontext_mismatch, fchmod-y--secontext_full_mismatch, + fchmod-y--secontext_mismatch, fchmodat--secontext_full_mismatch, + fchmodat--secontext_mismatch, fchownat--secontext_full_mismatch, + fchownat--secontext_mismatch, file_handle--secontext_full_mismatch, + file_handle--secontext_mismatch, linkat--secontext_full_mismatch, + linkat--secontext_mismatch, open--secontext_full_mismatch, + open--secontext_mismatch, openat--secontext_full_mismatch, + openat--secontext_mismatch): New tests. + * tests/linkat.c: Include <string.h>. + (main) PRINT_SECONTEXT_MISMATCH: Check context mismatch. + * tests/options-syntax.test: Check --secontext and -e secontext syntax. + * tests/secontext.h (secontext_field): New enum. + (secontext_full_file, secontext_short_file): Add "mismatch" argument. + (update_secontext_type): Rename to update_secontext_field, add "field" + argument. + (SECONTEXT_FILE): Conditionalize "mismatch" argument passed to + secontext_full_file and secontext_short_file on + PRINT_SECONTEXT_MISMATCH. + * tests/secontext.c: Include <sys/stat.h> and <selinux/label.h>. + (get_type_from_context, raw_expected_secontext_full_file, + raw_expected_secontext_short_file): New functions. + (raw_secontext_short_file, raw_secontext_short_pid): Use + get_type_from_context. + (secontext_full_file): Add "mismatch" argument, use + raw_expected_secontext_full_file if mismatch is enabled. + (secontext_short_file): Add "mismatch" argument, use + raw_expected_secontext_short_file if mismatch is enabled. + (update_secontext_type): Rename to update_secontext_field, add "field" + argument. + +2022-01-03 Dmitry V. Levin <ldv@strace.io> + + Update .mailmap. + * .mailmap: Add both email addresses of Ahelenia Ziemiańska to avoid + duplication in CREDITS file. + +2022-01-03 наб <nabijaczleweli@nabijaczleweli.xyz> + + Regenerate OpenZFS ioctls with vdev props. + * src/ioctls_zfs.h (ZFS_IOC_VDEV_GET_PROPS, ZFS_IOC_VDEV_SET_PROPS): New + entries. + +2022-01-02 Dmitry V. Levin <ldv@strace.io> + + tests: bring lists back to the sorted order. + * tests/Makefile.am (check_PROGRAMS): Make the list sorted again. + * tests/gen_tests.in: Likewise. + * tests/pure_executables.list: Likewise. + * tests/.gitignore: Likewise. + +2022-01-01 Dmitry V. Levin <ldv@strace.io> + + Use a separate manpage date for strace-log-merge.1. + strace-log-merge.1 used cause confusion by sharing the manpage date + with strace.1. + + * Makefile.am (dist-hook): Rename MANPAGE_DATE to STRACE_MANPAGE_DATE, + generate $(distdir)/doc/.strace-log-merge.1.in.date. + * configure.ac (manpage_date): Rename to strace_manpage_date. + (slm_manpage_date): Define from doc/strace-log-merge.1.in. + (MANPAGE_DATE): Rename to STRACE_MANPAGE_DATE. + (SLM_MANPAGE_DATE): Define to slm_manpage_date. + * doc/strace-log-merge.1.in: Replace MANPAGE_DATE with SLM_MANPAGE_DATE. + * doc/strace.1.in: Replace MANPAGE_DATE with STRACE_MANPAGE_DATE. + * strace.spec.in: Likewise, generate doc/.strace-log-merge.1.in.date. + +2021-12-30 Sahil Kang <sahil.kang@asilaycomputing.com> + + btrfs: add decoding of fs_info checksum, generation and metadata. + * src/xlat/btrfs_csum_types.in: New file. + * src/xlat/btrfs_fs_info_flags.in: Likewise. + * src/btrfs.c: Include "xlat/btrfs_csum_types.h" and + "xlat/btrfs_fs_info_flags.h". + (btrfs_ioctl): Print csum_type, csum_size, flags, generation, + and metadata_uuid fields of struct btrfs_ioctl_fs_info_args. + * NEWS: Mention it. + * tests/btrfs.c: Include "print_utils.h", "xlat/btrfs_csum_types.h", + and "xlat/btrfs_fs_info_flags.h". + (print_hex, print_uuid, btrfs_print_fs_info_args, + btrfs_fs_info_args_subtest): New functions. + (btrfs_test_fs_info_ioctl): New function for write_ok mode. + (main): Use btrfs_test_fs_info_ioctl. + + tests: fix btrfs read-write tests. + * tests/btrfs.c (btrfs_test_subvol_ioctls): Remove deprecated + BTRFS_SUBVOL_CREATE_ASYNC flag to prevent -EOPNOTSUPP. + (btrfs_test_ino_path_ioctls): Add fe_flags= field prefix to printed output. + +2021-12-30 Paul Chaignon <paul@isovalent.com> + + bpf: add support for new fields in struct bpf_prog_info. + * src/bpf_attr.h (struct bpf_prog_info_struct): Add recursion_misses and + verified_insns fields. + (expected_bpf_prog_info_struct_size): Update. + * src/bpf.c (print_bpf_prog_info): Decode recursion_misses and + verified_insns fields introduced by Linux kernel commits + v5.12-rc1~200^2~28^2~28 and v5.16-rc1~159^2~2^2~43^2~1. + * tests/bpf-obj_get_info_by_fd.c (main): Update expected output. + + bpf: support commands BPF_LINK_GET_*_ID. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_LINK_GET_FD_BY_ID): Decode the + BPF_LINK_GET_FD_BY_ID command. + (decode_BPF_BTF_GET_NEXT_ID): New macro. + (SYS_FUNC(bpf)): Decode the commands. + * src/bpf_attr.h (BPF_LINK_GET_FD_BY_ID_struct): New structure introduced + by Linux commit v5.8-rc1~165^2~343^2~16^2~8. + (BPF_LINK_GET_FD_BY_ID_struct_size): New macro. + * NEWS: Mention this. + * tests/bpf.c (union bpf_attr_data): Add BPF_LINK_GET_FD_BY_ID. + (BPF_LINK_GET_FD_BY_ID_checks): Test for the BPF_LINK_GET_FD_BY_ID + command. + (BPF_LINK_GET_NEXT_ID_checks): New macro. + (main) <checks>: Add BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID. + + bpf: support new fields for BPF_PROG_TEST_RUN. + * src/bpf_attr.h (BPF_PROG_TEST_RUN_struct): Add flags and cpu fields + introduced by Linux kernel commit v5.10-rc1~107^2~96^2~36. + (expected_BPF_PROG_TEST_RUN_struct_size): Update. + * src/xlat/bpf_test_run_flags.in: New file. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_TEST_RUN)): Decode the new + fields. + * NEWS: Mention this. + * tests/bpf.c (BPF_PROG_TEST_RUN_check): Update expected output. + + bpf: implement decoding of BPF_PROG_LOAD fd_array field. + * src/bpf_attr.h (BPF_PROG_LOAD_struct): Add fd_array field introduced by + Linux kernel commit v5.6-rc1~151^2~46^2~37^2~5. + (expected_BPF_PROG_LOAD_struct_size): Update. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_PROG_LOAD)): Decode the new field. + * NEWS: Mention this. + * tests/bpf-obj_get_info_by_fd.c (print_prog_load): Update expected + output. + * tests/bpf.c (BPF_PROG_LOAD_checks): Likewise. + * tests/kernel_version.c (print_bpf_attr): Likewise. + + bpf: implement decoding of BPF_MAP_CREATE map_extra field. + * src/bpf_attr.h (BPF_MAP_CREATE_struct): Add map_extra field introduced + by Linux kernel commit v5.6-rc1~151^2~46^2~37^2~5. + (bpf_map_info_struct): Likewise. + (expected_BPF_MAP_CREATE_struct_size, expected_bpf_map_info_struct_size): + Update. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_MAP_CREATE)): Decode the new field. + * NEWS: Mention this. + * tests/bpf-obj_get_info_by_fd.c (print_map_create): Update expected + output. + * tests/bpf.c (BPF_MAP_CREATE_checks): Add a check that includes the + map_extra field. + + bpf: update BPF_* constants. + * src/xlat/bpf_map_types.in (BPF_MAP_TYPE_BLOOM_FILTER): New constant + introduced in Linux kernel commit v5.16-rc1~159^2~2^2~20^2~4. + * src/xlat/bpf_attach_types.in (BPF_PERF_EVENT): New constant introduced + in Linux kernel commit v5.15-rc1~157^2~22^2~33^2~12. + * tests/bpf.c (BPF_MAP_CREATE_checks, BPF_PROG_QUERY_checks): Update + checks and their expected output. + * NEWS: Mention this. + +2021-12-26 Dmitry V. Levin <ldv@strace.io> + + Move some gcc-agnostic macros from gcc_compat.h to macros.h. + * src/gcc_compat.h (SAME_TYPE): Document it, rename to IS_SAME_TYPE. + (FAIL_BUILD_ON_ZERO, MUST_BE_ARRAY): Move ... + * src/macros.h: ... here, document them. + (IS_NOT_ARRAY): New macro. + * src/xstring.h: Include "macros.h" instead of "gcc_compat.h". + +2021-12-25 Dmitry V. Levin <ldv@strace.io> + + tests/ptrace: fix expected output for riscv64. + * tests/ptrace.c (print_prstatus_regset __riscv: Do not print + delimiters before regs->pc. + + Fixes: v5.13~255 "riscv64: implement PTRACE_{G,S}ETREGSET NT_PRSTATUS regset decoding" + +2021-12-25 Dmitry V. Levin <ldv@strace.io> + + tests: fix riscv64 support. + Apparently, the preprocessor macro defined by gcc for riscv64 is __riscv + instead of __riscv__ as one might expect. + + * tests/bpf.c: Replace __riscv__ with __riscv. + * tests/cur_audit_arch.h: Likewise. + * tests/io_uring_register.c: Likewise. + * tests/ptrace.c: Likewise. + + Fixes: v4.22~18 "bpf: use print_big_u64_addr" + Fixes: v5.5~41 "io_uring: add support for IORING_REGISTER_FILES_UPDATE" + Fixes: v5.13~255 "riscv64: implement PTRACE_{G,S}ETREGSET NT_PRSTATUS regset decoding" + Fixes: v5.15~210 "tests: add cur_audit_arch.h" + +2021-12-17 Chih-Hsuan Yen <yan12125@gmail.com> + + Fix building for older Android. + With the following commands, + + $ ./bootstrap + $ _pkg_arch=aarch64 + $ export PATH="/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH" + $ CC=$_pkg_arch-linux-android21-clang \ + ./configure --prefix=/opt/android-libs/${_pkg_arch/_/-} \ + --host=$_pkg_arch-linux-android \ + --without-libunwind \ + --enable-mpers=no \ + --disable-gcc-Werror + $ make + + Building fails with error diagnostics like this: + + In file included from sync_file_range.c:12: + ./xlat/sync_file_range_flags.h:7:16: error: use of undeclared identifier 'SYNC_FILE_RANGE_WAIT_BEFORE' + static_assert((SYNC_FILE_RANGE_WAIT_BEFORE) == (1), "SYNC_FILE_RANGE_WAIT_BEFORE != 1"); + + This is a build regression from bd87cc95120b3707a6fe55129451bb0453730a6d, + where "#unconditional" is added given that <linux/fs.h> is bundled, + but the latter is not explicitly #include'd. + + As a side note, SYNC_FILE_RANGE* symbols are not available with + ANDROID_API__ < 26 1. + + 1 https://android.googlesource.com/platform/bionic/+/refs/tags/android-12.0.0_r15/libc/include/fcntl.h#98 + + * src/sync_file_range.c: Include <linux/fs.h>. + * src/sync_file_range2.c: Likewise. + + Fixes: v5.15~76 "xlat: add #unconditional to sync_file_range_flags" + +2021-12-13 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v5.16. + * src/linux/32/ioctls_inc_align16.h: Update from linux v5.16-rc5 + using ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * src/linux/i386/ioctls_arch0.h: Likewise. + * src/linux/x86_64/ioctls_arch0.h: Likewise. + * NEWS: Mention this. + + maint: update for linux v5.16-rc5. + * maint/ioctls_sym.sh: Workaround incompatible definition of + __alloc_size__ macro introduced by the Linux commit v5.16-rc1~106^2~224. + +2021-12-04 Dmitry V. Levin <ldv@strace.io> + + tests: adopt net-yy-unix test to the latest kernel changes. + As noted in the previous commit, the Linux kernel commit + v5.15-rc1~157^2~22^2~30^2~3 changed the value of system.sockprotoname + attribute for AF_UNIX SOCK_STREAM sockets from "UNIX" to "UNIX-STREAM". + Consequently, the test cannot assume any particular value for this + attribute anymore. + + * tests/net-yy-unix.c HAVE_SYS_XATTR_H: Include <sys/xattr.h> + and "xmalloc.h". + (main) HAVE_SYS_XATTR_H: Use the value of system.sockprotoname + attribute instead of fixed string "UNIX". + +2021-12-03 Eugene Syromyatnikov <evgsyr@gmail.com> + + socketutils: add "UNIX-STREAM" protocol support. + It is the same as the old AF_UNIX for all intents and purposes, + but it has a different name since v5.15-rc1~157^2~22^2~30^2~3 + (and, due to the fact that Chrome OS uses datagrm AF_UNIX sockets + and not stream ones, it hasn't been fixed back in v5.15-rc6~34^2~22). + + Reported-by: Renaud Métrich <rmetrich@redhat.com> + Reported-by: Dmitry V. Levin <ldv@strace.io> + +2021-12-02 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update KVM_CAP_* constants. + * src/xlat/kvm_cap.in (KVM_CAP_HYPERV_ENFORCE_CPUID): New constant, + introduced by Linux commit v5.14-rc1~166^2~173. + (KVM_CAP_SREGS2): New constant, introduced by Linux commit + v5.14-rc1~166^2~138. + (KVM_CAP_EXIT_HYPERCALL): New constant, introduced by Linux commit + v5.14-rc1~166^2~107. + (KVM_CAP_PPC_RPT_INVALIDATE): New constant, introduced by Linux commit + v5.14-rc1~104^2~71^2~2, obtained its value in Linux commit + v5.14-rc1~166^2~92. + (KVM_CAP_BINARY_STATS_FD): New constant, introduced by Linux commit + v5.14-rc1~166^2~66. + (KVM_CAP_EXIT_ON_EMULATION_FAILURE): New constant, introduced by Linux + commit v5.14-rc1~166^2~5. + (KVM_CAP_ARM_MTE): New constant, introduced by Linux commit + v5.14-rc1~166^2^2~1^2~4, obtained its value in Linux commit + v5.14-rc1~166^2. + (KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM): New constant, introduced by Linux + commit v5.16-rc1~29^2~4^2~3. + +2021-12-02 Dmitry V. Levin <ldv@strace.io> + + ci: re-enable testing with the latest mainline kernel headers. + There should be no issues with v5.16-rc3. + + * .github/workflows/ci.yml (env): Remove KBRANCH. + * .gitlab-ci.yml (variables): Likewise. + * .travis.yml (env:global): Likewise. + +2021-12-02 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.15-1. + * strace.spec.in: Likewise. + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + Prepare for 5.15 release. + * NEWS: Update for 5.15 release. + +2021-12-01 Eugene Syromyatnikov <evgsyr@gmail.com> + + print_ifindex: fix IFNAME_QUOTED_SZ definition. + sizeof(IFNAMSIZ) instead of IFNAMSIZ was mistakenly used + for IFNAME_QUOTED_SZ initial definition in commit v4.23~87 + "print_ifindex: respect xlat style settings". + + * src/print_ifindex.c (IFNAME_QUOTED_SZ): Use IFNAMSIZ + instead of sizeof(IFNAMSIZ). + * NEWS: Mention it. + + Reported-by: Paulo Andrade <pandrade@redhat.com> + Suggested-by: Paulo Andrade <pandrade@redhat.com> + Fixes: v4.23~87 "print_ifindex: respect xlat style settings" + References: https://bugzilla.redhat.com/show_bug.cgi?id=2028146 + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + tests: move keyctl syscalls of keyctl tests into a subprocess. + For some mysterious reason, this helps to workaround + the following resource starvation issue on some systems: + + $ ./keyctl >/dev/null && /bin/true + -sh: fork: retry: Resource temporarily unavailable + -sh: fork: retry: Resource temporarily unavailable + -sh: fork: retry: Resource temporarily unavailable + -sh: fork: retry: Resource temporarily unavailable + -sh: fork: Resource temporarily unavailable + + * tests/keyctl.c: Include <sys/wait.h>. + (pid): New variable. + (do_keyctl): Update expected output. + (main): Fork a subprocess and move all keyctl syscalls there, + update expected output. + * tests/gen_tests.in (keyctl, keyctl-Xabbrev, keyctl-Xraw, + keyctl-Xverbose): Add options: -f --signal='!chld'. + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + tests/keyctl.c: make all global variables static. + * tests/keyctl.c (nul_terminated_buf, buf_in_arg): Add static qualifier. + + Update copyright headers. + Headers updated automatically using maint/update_copyright_years.sh + script. + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + Fix preprocessor indentation. + Indent the C preprocessor directives to reflect their nesting + using the following script: + + $ cppi -l $(git grep -El '^:space:*#:space:*(if|ifdef|ifndef|elif|else|endif|define|pragma):space:' src tests |grep -v '\.sh$') |while read f; do + cppi < "$f" > "$f".cppi; mv "$f".cppi "$f" + done + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + Fix typos found using codespell tool. + * debian/changelog.in: Replace "archictectures" with "architectures". + * tests/cur_audit_arch.h: Replace "arcitectures" with "architectures". + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + tests: fix net-sockaddr test on older systems. + * tests/net-sockaddr.c (check_ipx): Explicitly initialize ipx->sipx_zero + before use. + + Fixes: v5.14-96-g8352a541f "sockaddr: print struct sockaddr_ipx.sipx_zero if it is non-zero" + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + tests: robustify ioctl_hdio tests. + * tests/ioctl_hdio.c (main): Do not assume 0xdeadbeef is an inaccessible + pointer because sometimes this address is accessible, create an + inaccessible pointer and use it instead of 0xdeadbeef. + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + tests: disable tests for invalid msgctl and semctl commands on glibc >= 2.28 + Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2, + glibc skips msgctl syscall invocations and returns EINVAL + for invalid msgctl commands. + + Likewise, starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882, + glibc skips semctl syscall invocations and returns EINVAL + for invalid semctl commands. + + These changes were later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + to semctl, msgctl, and shmctl. (#1912670) + + * tests/ipc_msg.c GLIBC_PREREQ_GE(2, 28) (TEST_MSGCTL_BOGUS_CMD): + Define to 0. + * tests/ipc_sem.c GLIBC_PREREQ_GE(2, 28) (TEST_SEMCTL_BOGUS_CMD): + Likewise. + +2021-12-01 Dmitry V. Levin <ldv@strace.io> + + upoken: workaround buggy process_vm_writev. + The upoken implementation assumed that process_vm_writev could perform + partial writes, but in older Linux kernel versions (my guess is in Linux + before v3.15) process_vm_writev could not do partial writes properly. + + * src/ucopy.c (upoken): Fall back to upoken_pokedata when + process_vm_writev fails with EFAULT or EIO. + +2021-11-30 Eugene Syromyatnikov <evgsyr@gmail.com> + + gcc_compat.h: bump required GCC version for diagnostic workarounds. + Diagnostic push/pop pragmas were added only in gcc 4.6. + + * src/gcc_compat.h !GNUC_PREREQ(4, 6) (DIAG_PUSH_IGNORE_OVERRIDE_INIT, + DIAG_POP_IGNORE_OVERRIDE_INIT, DIAG_PUSH_IGNORE_NONNULL, + DIAG_POP_IGNORE_NONNULL): Define as empty. + +2021-11-30 Eugene Syromyatnikov <evgsyr@gmail.com> + + sttaic_assert: disable -Wnested-externs when the fallback is used. + The fallback is only used with old compilers, and their diagnostics + is less useful anyway. + + * src/static_assert.h !HAVE_STATIC_ASSERT && !HAVE__STATIC_ASSERT && + __GNUC__: Disable "-Wnested-externs" diagnostics. + +2021-11-30 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/sockaddr_xlat: explicitly nest anonymous union member initialisation + Unfortunately, gcc 4.4.7 from RHEL 6 does not support designated + initialisation of members of anonymous unions/structs without additional + nesting brackets. + + * tests/sockaddr_xlat.c (check_ieee802154): Add curly brackets around + short_addr/hwaddr field initialisation, prepend with pan_id field + initialisation where needed. + + Complements: v5.14-167-g87ba9609f "sockaddr: implement decoding of AF_IEEE802154 socket addresses" + +2021-11-30 Dmitry V. Levin <ldv@strace.io> + + socketutils: fix protocol lookup in get_sockaddr_by_inode_lookup. + If getfdproto() fails to obtain system.sockprotoname attribute, + it returns SOCK_PROTO_UNKNOWN. When this happens, + get_sockaddr_by_inode_lookup() receives no hints about the protocol + number and falls back to iterating over the protocols table. + Apparently, it failed to implement this properly. + + * src/socketutils.c (get_sockaddr_by_inode_lookup): When iterating + over protocols table, pass data from protocolsi instead of + protocolsSOCK_PROTO_UNKNOWN to protocolsi.get(). + + Fixes: v4.25~37 "socketutils: store more information in protocols table" + +2021-11-29 Dmitry V. Levin <ldv@strace.io> + + exec_or_die: fix race condition. + * src/strace.c (exec_or_die): Repeat wait() invocation while it fails + with EINTR. + + tests/count-f.c: fix race condition. + * tests/count-f.c (main): Allow waitpid() to fail with EINTR. + + tests/attach-f-p.c: fix race condition. + * tests/attach-f-p.c (thread): Allow read() to fail with EINTR. + +2021-11-29 Dmitry V. Levin <ldv@strace.io> + + m4: fix st_SELINUX check. + * m4/st_selinux.m4: Make sure selinux support is enabled only if + all expected functions are provided by libselinux. + + Fixes: v5.12~49 "Implement --secontext=full option to display SELinux contexts" + +2021-11-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + NEWS: mention --decode-fds={socket,dev,pidfd} behaviour fix. + Complements: v5.14-193-g8d83c8270 "Do not decode fd path unless --decode-fds=path is specified" + +2021-11-29 Eugene Syromyatnikov <evgsyr@gmail.com> + + Document AT_FDCWD path decoding feature. + * doc/strace.1.in (-e decode-fds, -y): Mention that current working + directory is printed on AT_FDCWD occurrence in addition to fd path decoding. + * NEWS: Mention it. + + Complements: v5.14-199-g48de116c2 "Print cwd path for AT_FDCWD when -y (--decode-fd=path) option is used" + +2021-11-29 Renaud Métrich <rmetrich@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + tests: check corner cases of AT_FDCWD path decoding. + * tests/at_fdcwd-pathmax.c: New file. + * tests/.gitignore: Add at_fdcwd-pathmax. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (at_fdcwd-pathmax): New test. + +2021-11-28 Renaud Métrich <rmetrich@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Print cwd path for AT_FDCWD when -y (--decode-fd=path) option is used. + When syscalls use AT_FDCWD (e.g. openat()), the corresponding current + working directory is not always obvious, one might need to search back + for chdir() syscalls in the process or some of its parents. + + With this change, the current working directory corresponding to + AT_FDCWD is printed when -y (--decode-fd=path) option is used, e.g.: + + openat(AT_FDCWD</home/rmetrich/GIT/strace>, "/lib64/libselinux.so.1" ...) + + * src/open.c: Include "number_set.h". + (print_dirfd) <fd == AT_FDCWD>: Print the current working directory of + tracee when DECODE_FD_PATH is set. + * tests/dev-yy.c !PRINT_AT_FDCWD_PATH (PRINT_AT_FDCWD_PATH): + New macro. + (main): Update expected output. + * tests/dev--decode-fds-all.c (PRINT_DEVNUM): New macro. + Include "dev-yy.c" instead of "dev--decode-fds-dev.c". + * tests/dev--decode-fds-dev.c (PRINT_AT_FDCWD_PATH): New macro. + * tests/dev--decode-fds-path.c (PRINT_AT_FDCWD_PATH): Likewise. + * tests/faccessat.c (AT_FDCWD_FMT, AT_FDCWD_ARG): New macros. + (tests_with_existing_file, main): Update expected output. + * tests/faccessat2.c (YFLAG): New macro. + (main): Update expected output. + * tests/fsconfig.c (test_fsconfig_set_path): Update expected output. + * tests/fspick.c (main): Likewise. + * tests/mount_setattr.c (main): Likewise. + * tests/move_mount.c (main): Likewise. + * tests/open_tree.c (main): Likewise. + * tests/openat2.c (YFLAG, AT_FDCWD_FMT, AT_FDCWD_ARG): New macros. + (main): Update expected output. + + Resolves: https://github.com/strace/strace/issues/194 + +2021-11-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: fix bpf-obj_get_info_by_fd-prog-v expected output. + Since we cannot reliably predict the value of xlated_prog_len field + returned by the kernel, do not hard-code it. + + * tests/bpf-obj_get_info_by_fd.c (main): Print the value + of the xlated_prog_len field returned by the kernel + instead of hard-coding an expected value. + + Fixes: v5.14-46-g835c65c0e "bpf: fix bpf_prog_info.map_ids array printing" + +2021-11-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + Make --decode-pids usage more in line with --decode-fds. + Enable -e decode-pids syntax and document it in the man page. + + * src/filter_qualify.c (qual_options): Add "decode-pid" and "decode-pids" + that associated with qualify_decode_pid decoder. + * tests/options-syntax.test: Add option syntax checks for --decode-pids + and -e decode-pids. + * doc/strace.1.in (.BI "\-e " expr): Document decode-pids/decode-pid as + a possible argument. + (.SS Output format): Document -e decode-pids/--decode-pids. + + Complements: v5.14-184-gbac60e6a0 "Use traditional parser for --decode-pids option" + +2021-11-28 Eugene Syromyatnikov <evgsyr@gmail.com> + + src/strace.c: remove Yflag_qual. + It is used only once, contrary to {y,q,t}flag_qual variables. + + * src/strace.c (init) <Yflag_qual>: Remove. + (init) <case 'Y'>: Replace Yflag_qual with "comm" in the argument + to qualify_decode_pid. + + Complements: v5.14-180-g255a59247 "Implement -Y/--decode-pids=comm option for printing command names for PIDs" + +2021-11-28 Dmitry V. Levin <ldv@strace.io> + + tests: remove ATTRIBUTE_ALLOC_SIZE from tail_alloc and tail_memdup. + Many tests are intentionally feeding their target syscalls with garbage. + Unfortunately, the compiler stands in the way, issuing tons of + -Warray-bounds and -Wstringop-overread warnings when it is aware + of the amount of memory allocated by tail_alloc and tail_memdup. + + * m4/st_broken_cc.m4: Remove. + * configure.ac: Remove st_BROKEN_CC invocation. + * tests/tests.h (tail_alloc, tail_memdup): Remove ATTRIBUTE_ALLOC_SIZE + attribute. + + Resolves: https://github.com/strace/strace/issues/203 + +2021-11-28 Alex Xu (Hello71) <alex_y_xu@yahoo.ca> + + tests: add shebang where necessary. + musl does not implement the shell fallback for execvp, causing tests + to fail. It is also good practice to provide a shebang anyway. + + * tests/qual_fault-syscall.test: Add shebang. + * tests/qual_inject-error-signal-syscall.test: Likewise. + * tests/qual_inject-retval-syscall.test: Likewise. + * tests/qual_inject-signal-syscall.test: Likewise. + + Resolves: https://github.com/strace/strace/issues/202 + +2021-11-27 Dmitry V. Levin <ldv@strace.io> + + Do not decode fd path unless --decode-fds=path is specified. + Before this change, --decode-fds with any argument would result to the + file path corresponding to the file descriptor being printed even when + the descriptor type does not match the type specified by the + --decode-fds argument. After this change, the file path corresponding + to the file descriptor will be printed only when --decode-fds argument + is not specified or contains "path". + + * src/util.c (print_quoted_string_in_angle_brackets): New function. + (printfd_pid): Use it to print the file path when DECODE_FD_PATH is set. + * tests/dev--decode-fds-all.c: New file. + * tests/dev--decode-fds-none.c: Likewise. + * tests/net--decode-fds-all-netlink.c: Likewise. + * tests/pidfd_open--decode-fd-all.c: Likewise. + * tests/pidfd_open--decode-fd-none.c: Likewise. + * tests/dev--decode-fds-socket.c: Include "dev--decode-fds-none.c" + instead of "dev-yy.c". + (PRINT_DEVNUM): Remove. + * tests/dev-yy.c: Add PRINT_PATH support. + * tests/net--decode-fds-dev-netlink.c: Include + "net--decode-fds-none-netlink.c" instead of net-yy-netlink.c. + (PRINT_SOCK): Remove. + * tests/pidfd_open--decode-fd-socket.c: Include + "pidfd_open--decode-fd-none.c" instead of "pidfd_open-y.c". + * tests/.gitignore: Add dev--decode-fds-all, dev--decode-fds-none, + net--decode-fds-all-netlink, pidfd_open--decode-fd-all, and + pidfd_open--decode-fd-none. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (dev--decode-fds-all, dev--decode-fds-none, + net--decode-fds-all-netlink, pidfd_open--decode-fd-all, + pidfd_open--decode-fd-none): New tests. + (dev--decode-fds-socket): Update argument for -a option. + (net--decode-fds-dev-netlink): Add -a option. + + Reported-by: Renaud Métrich <rmetrich@redhat.com> + Fixes: v5.6~168 "strace: add a long option alias for -y" + +2021-11-27 Dmitry V. Levin <ldv@strace.io> + + Move printing of angle brackets from printfd_pid to individual printers. + This is required by the follow-up change. + + * src/defs.h (print_sockaddr_by_inode): Remove. + * src/socketutils.c (print_sockaddr_by_inode_cached, + print_sockaddr_by_inode_uncached, print_sockaddr_by_inode): Likewise. + (get_sockaddr_by_inode_uncached): Rename to + get_sockaddr_by_inode_lookup, implement get_sockaddr_by_inode_uncached + on top of it. + * src/util.c (printsocket): Rewrite using get_sockaddr_by_inode instead + of print_sockaddr_by_inode, print angle brackets around the output + string. + (printdev, printpidfd): Print angle brackets around the output string. + (printfd_pid): Do not print angle brackets around the output string. + +2021-11-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + doc/strace.1: elaborate on support of multiple PIDs as a -p argument. + While it was mentioned that -p "`pidof PROG`" syntax is supported, + it was not explicitly stated what characters can be used as separators + (like newline, which is used by pgrep, as noted in process_opt_p_list). + + * doc/strace.1.in (.SS Startup): Explicitly mention that multiple PIDs + can be provided as an argument to a single -p option; list all + supported separator characters; mention possible -p "$(pgrep PROG)" + syntax. + +2021-11-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + pidns: reorder struct translate_id_params fields. + Moving output fields after input ones reduces the structure size + by whopping 25 percents (from 32 down to 24 bytes) on 64-bit systems, + and also makes the order of the fields a bit more natural. + + * src/pidns.c (struct translate_id_params) <result_id, pd>: Move + to the end of the structure. + (translate_pid) <tip>: Reorder field initialisation in order + with the field order. + +2021-11-25 Eugene Syromyatnikov <evgsyr@gmail.com> + + src/linux/x32/syscallent.h: add TSD flag to execve#64 and execveat#64. + They are to be always traced with seccomp-bpf, similarly to their x32 + counterparts. + + Fixes: v5.3~36 "Add seccomp filter syscall flag" + +2021-11-24 Dmitry V. Levin <ldv@strace.io> + + tests: check diagnostics that -k has no effect with -c. + * tests/options-syntax.test: Check strace -c -k diagnostics. + +2021-11-23 Dmitry V. Levin <ldv@strace.io> + + Fix formatting of --decode-pids=comm output. + Do not print an extra space between the pid number and the comm string + when the number is less than 10000. + + * src/strace.c (printleader) <print_pid_pfx && len>: Print pid using %u + format instead of %-5u. + * tests/strace--decode-pids-comm.c (do_default_action): Update expected + output. + * tests/strace-p1-Y-p.c (main): Likewise. + +2021-11-22 Dmitry V. Levin <ldv@strace.io> + + tests: check that -p pid1 -Y -p pid2 prints /proc/$pid1/comm properly. + * tests/strace-p1-Y-p.c: New file. + * tests/strace-p-Y-p2.c: Likewise. + * tests/strace-p-Y-p.test: New test. + * tests/.gitignore: Add strace-p1-Y-p and strace-p-Y-p2. + * tests/Makefile.am (check_PROGRAMS): Likewise. + (MISC_TESTS): Add strace-p-Y-p.test. + +2021-11-21 Dmitry V. Levin <ldv@strace.io> + + Refactor printleader to reduce code duplication. + * src/strace.c (print_comm_str): New function. + (printleader, print_pid_comm): Use it to print command names obtained + from /proc/$pid/comm. + +2021-11-20 Dmitry V. Levin <ldv@strace.io> + + Use traditional parser for --decode-pids option. + Use the same method of handling --decode-pids arguments as for other + options with bitset arguments. This enables such options syntax as + --decode-pids=comm,pidns and --decode-pids=all. + + * src/defs.h (pid_decoding, pid_decoding_flags): Remove. + (maybe_printpid_comm): Rename to print_pid_comm. + * src/filter_qualify.c (decode_pid_set): New variable. + (decode_pid_str_to_uint): New function. + (qualify_decode_pid): Rewrite using qualify_tokens. + * src/filter_seccomp.c (traced_by_seccomp): Use decode_pid_set instead + of pid_decoding. + * src/pidns.c (printpid_translation): Likewise. + * src/number_set.h (decode_pid_bits): New enum. + (decode_pid_set): New variable declaration. + * src/strace.c (pid_decoding): Remove. + (printleader, maybe_load_task_comm, init): Use decode_pid_set instead of + pid_decoding. + (maybe_printpid_comm): Likewise, rename to print_pid_comm. + * tests/options-syntax.test: Update expected output. + +2021-11-14 Dmitry V. Levin <ldv@strace.io> + + Properly escape strings printed by -Y/--decode-pids=comm option. + Command names obtained from /proc/$pid/comm can contain arbitrary + symbols and therefore require proper escaping. + + * src/strace.c (printleader): Print tcp->comm using + print_quoted_string_ex. + (maybe_printpid_comm): Print the data obtained from load_pid_comm + using print_quoted_string_ex. + * tests/strace--decode-pids-comm.c (do_default_action): Check it. + + Resolves: https://github.com/strace/strace/issues/191 + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Extend -Y option to decode PIDs in arguments and return values. + This change extends -Y/--decode-pids=comm option. In addition to the + information printed before this change, command names would be printed + also for PIDs appeared in syscall arguments and return values. + + For example: + + getppid() = 3781395<strace> + getpid() = 3781398<a.out> + pidfd_open(1<systemd>, 0) = 3<pid:1<systemd>> + + NOTE: The code printing the pid in printclockname() is not changed in + this commit. CLOCKID_TO_FD macro used in printclockname() was removed + from the kernel, so printclockname() may change drastically in the + near future. + + * src/defs.h (maybe_printpid_comm): New function declaration. + * src/strace.c (maybe_printpid_comm): New function printing + command name for the given PID. + * src/pidns.c (printpid_translation): Call `maybe_printpid_comm'. + * tests/strace--decode-pids-comm.c (do_default_action): Update expected + output. + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + tests: add tests for -Y/--decode-pids=comm option. + * tests/strace--decode-pids-comm.c: New file. + * tests/strace-Y-0123456789.c: Likewise. + * tests/gen_tests.in (strace-Y-0123456789, strace--decode-pids-comm): + New tests. + * tests/Makefile.am (CHECK_PROGRAMS): Add strace-Y-0123456789 and + strace--decode-pids-comm. + * tests/.gitignore: Likewise. + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Implement -Y/--decode-pids=comm option for printing command names for PIDs + In some applications like qemu-kvm, threads change their + command names to indicate their roles in the application. + Users can access the command name via /proc/$pid/comm. + The command name can be a great hint to understand the application + behavior. + + This change introduces -Y/-decode-pids=comm option that enables + printing command names where PIDs appear. + + For example (without -Y option): + + pid 254329 ioctl(18, KVM_RUN <unfinished ...> + pid 254332 ioctl(21, KVM_RUN <unfinished ...> + pid 254331 ioctl(20, KVM_RUN <unfinished ...> + pid 254330 ioctl(19, KVM_RUN <unfinished ...> + pid 254309 poll({fd=9, events=POLLOUT}, 1, 0) = 1 ... + pid 254309 poll({fd=9, events=POLLOUT}, 1, 0) = 1 ... + + (with -Y option): + + pid 254329<CPU 0/KVM> ioctl(18, KVM_RUN <unfinished ...> + pid 254332<CPU 3/KVM> ioctl(21, KVM_RUN <unfinished ...> + pid 254331<CPU 2/KVM> ioctl(20, KVM_RUN <unfinished ...> + pid 254330<CPU 1/KVM> ioctl(19, KVM_RUN <unfinished ...> + pid 254309<qemu-system-x86> poll({fd=9, events=POLLOUT}, 1, 0) = 1 ... + pid 254309<qemu-system-x86> poll({fd=9, events=POLLOUT}, 1, 0) = 1 ... + + This change considers only PIDs in the prefixes of trace lines. + Printing command names for PIDs in arguments and return values + will be implemented in a follow-up commit. + + * doc/strace.1.in (.SS Output format): Document -Y and + --decode-pids=comm options. + * src/strace.c (usage): Describe -Y and --decode-pids=comm options. + (printleader): Print the command name for the given tcb. + (init): Add -Y/--decode-pids=comm option. + Call `qualify_decode_pid' when one of the options is given. + Call `maybe_load_task_comm' to handle the case the options are given + after -p option. + * src/filter_qualify.c (qualify_decode_pid): Set PID_DECODING_COMM + and PID_DECODING_NS_TRANSLATION flags to pid_decoding if "comm" is given. + * NEWS: Mention this change. + + Enabling PID_DECODING_NS_TRANSLATION for "comm" argument is + Suggested-by: Ákos Uzonyi <uzonyi.akos@gmail.com>. + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Load /proc/$pid/comm into struct tcb. + In preparation for the forthcoming -Y/--decode-pids=comm option. + + Load the content of /proc/$pid/comm to `comm', a newly introduced + member of struct tcb. + + The loading is done when + A. a tcb is initialized, + B. execve or execveat is called, and + C. prctl(PR_SET_NAME,...) is called. + + Limitation: this change is not enough for handling the case that + someone writes a value to /proc/$pid/comm directly. + (e.g. running echo "foo" > /proc/$pid/comm) + + * src/defs.h (struct tcb): New member `comm'. + (enum pid_decoding_flags): Add PID_DECODING_COMM as a new flag. + (PROC_COMM_LEN): New macro. + (maybe_load_task_comm): New function declaration. + * src/strace.c (strip_trailing_newlines): New function. + (load_task_comm): New function loading the contents of /proc/$pid/comm + into struct tcb.comm. + (maybe_load_pid_comm): New function. + (alloctcb): Call it for initializing the `comm' member. + * src/syscall.c: Include <linux/prctl.h>. + (syscall_exiting_decode): Call maybe_load_task_comm(). + * src/sysent.h (COMM_CHANGE): New macro. + * src/sysent_shorthand_defs.h (CC): Likewise. + * src/sysent_shorthand_undefs.h (CC): Undefine. + * src/linux/32/syscallent.h: Add CC flag to syscalls changing + /proc/$pid/comm. + * linux/64/syscallent.h: Likewise. + * linux/alpha/syscallent.h: Likewise. + * linux/arm/syscallent.h: Likewise. + * linux/avr32/syscallent.h: Likewise. + * linux/bfin/syscallent.h: Likewise. + * linux/hppa/syscallent.h: Likewise. + * linux/i386/syscallent.h: Likewise. + * linux/ia64/syscallent.h: Likewise. + * linux/m68k/syscallent.h: Likewise. + * linux/microblaze/syscallent.h: Likewise. + * linux/mips/syscallent-n32.h: Likewise. + * linux/mips/syscallent-n64.h: Likewise. + * linux/mips/syscallent-o32.h: Likewise. + * linux/powerpc/syscallent.h: Likewise. + * linux/powerpc64/syscallent.h: Likewise. + * linux/s390/syscallent.h: Likewise. + * linux/s390x/syscallent.h: Likewise. + * linux/sh/syscallent.h: Likewise. + * linux/sh64/syscallent.h: Likewise. + * linux/sparc/syscallent.h: Likewise. + * linux/sparc64/syscallent.h: Likewise. + * linux/x32/syscallent.h: Likewise. + * linux/x86_64/syscallent.h: Likewise. + * linux/xtensa/syscallent.h: Likewise. + * src/filter_seccomp.c (traced_by_seccomp): Force tracing syscalls + marked with `COMM_CHANGE' if `PID_DECODING_COMM' flag is set in + `pid_decoding'. + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + Dmitry V. Levin <ldv@strace.io> + + Introduce --decode-pids=pidns as an alias for --pidns-translation. + In preparation for the forthcoming -Y/--decode-pids=comm option. + + * doc/strace.1.in (.SS Output format): Document --decode-pids=pidns + option. + * src/defs.h (pidns_translation): Remove. + (pid_decoding): New variable declaration. + (enum pid_decoding_flags): New enum. + (qualify_decode_pid): New function prototype. + * src/strace.c (pidns_translation): Remove. + (pid_decoding): New variable. + (usage): Describe --decode-pids=pidns option. + (init) <enum>: Add GETOPT_QUAL_DECODE_PID. + <longopts>: Add --decode-pids as a long option. + <case GETOPT_PIDNS_TRANSLATION>: Call qualify_decode_pid + to update pid_decoding indirectly. + <case GETOPT_QUAL_DECODE_PID>: New condition. + * src/filter_qualify.c (qualify_decode_pid): New function. + * src/pidns.c (printpid_translation): Refer to pid_decoding as + the replacement for pidns_translation. + * tests/init.sh (test_pidns_run_strace): Replace --pidns-translation + with --decode-pids=pidns. + * tests/options-syntax.test: Check invalid --decode-pids argument. + * NEWS: Mention this change. + + Making --decode-pids option a super set of --pidns-translation option is + Suggested-by: by Eugene Syromyatnikov <evgsyr@gmail.com>. + +2021-11-14 Masatake YAMATO <yamato@redhat.com> + + Use printpid for printing pid of pidfd. + * src/util.c (printpidfd): Use printfd instead of + PRINT_VAL_D. + + Suggested-by: Ákos Uzonyi <uzonyi.akos@gmail.com> + +2021-11-13 Srikavin Ramkumar <srikavinramkumar@gmail.com> + Dmitry V. Levin <ldv@strace.io> + + hdio: improve HDIO support. + Add decoders for HDIO_DRIVE_RESET, HDIO_GET_32BIT, HDIO_GET_ACOUSTIC, + HDIO_GET_ADDRESS, HDIO_GET_BUSSTATE, HDIO_GET_DMA, HDIO_GET_IDENTITY, + HDIO_GET_KEEPSETTINGS, HDIO_GET_MULTCOUNT, HDIO_GET_NICE, HDIO_GET_NOWERR, + HDIO_GET_UNMASKINTR, HDIO_GET_WCACHE, HDIO_OBSOLETE_IDENTITY, HDIO_SCAN_HWIF, + HDIO_SET_32BIT, HDIO_SET_ACOUSTIC, HDIO_SET_ADDRESS, HDIO_SET_BUSSTATE, + HDIO_SET_DMA, HDIO_SET_KEEPSETTINGS, HDIO_SET_MULTCOUNT, HDIO_SET_NICE, + HDIO_SET_NOWERR, HDIO_SET_PIO_MODE, HDIO_SET_UNMASKINTR, HDIO_SET_WCACHE, + and HDIO_UNREGISTER_HWIF. + + ldv: note that HDIO compat has never been supported by the kernel, so + adjust HDIO ioctl decoder and its tests accordingly. + + * maint/gen/defs/hdio.def: New file. + * src/gen/gen_hdio.c: New generated file. + * src/gen/generated.h: Likewise. + * src/Makefile.am (libstrace_a_SOURCES): Add gen/generated.h and + gen/gen_hdio.c. + * src/hdio.c: Include "gen/generated.h". + (hdio_ioctl): Call var_ioctl_HDIO for unimplemented commands. + * src/xlat/hdio_busstates.in: New file. + * src/xlat/hdio_ide_nice.in: Likewise. + * tests/ioctl_hdio.c: Add tests for newly implemented commands. + * NEWS: Mention this change. + + Resolves: https://github.com/strace/strace/issues/131 + +2021-11-13 Dmitry V. Levin <ldv@strace.io> + + maint/gen: use print_xint_array_member to print uint32_t arrays. + * maint/gen/defs/common.def (ptrin, arrayuint32_t, $1): Replace + print_uint_array_member with print_xint_array_member. + +2021-11-13 Dmitry V. Levin <ldv@strace.io> + + maint/gen: use printflags64 and printxval64 instead of 32-bit versions. + This is necessary to print 64-bit integer types properly. + + * maint/gen/codegen.c (generate_printer): Use printflags64 instead of + printflags, use printxval64 instead of printxval. + +2021-11-13 Dmitry V. Levin <ldv@strace.io> + + maint/gen: cleanup. + * maint/gen/xmalloc.c: New file. + * maint/gen/xmalloc.h: Likewise. + * maint/gen/Makefile: Rewrite. + * maint/gen/codegen.c: Add copyright header, wrap very long lines, + use CLEANUP_FREE, xstrdup, and xasprintf. + * maint/gen/ast.c: Add copyright header, wrap very long lines, + use xstrdup. + * maint/gen/ast.h: Add copyright header, wrap very long lines. + * maint/gen/deflang.h: Add copyright header and include guard, + wrap very long lines, add attributes to prototypes. + * maint/gen/lex.l: Add copyright header, wrap very long lines, + fix warnings, use xstrdup. + * maint/gen/parse.y: Add copyright header, wrap very long lines, + fix warnings. + * maint/gen/preprocess.c: Add copyright header, wrap very long lines. + * maint/gen/preprocess.h: Include "ast.h". + * maint/gen/symbols.c: Wrap very long lines, use xasprintf. + * maint/gen/symbols.h: Wrap very long lines. + * maint/gen/defs/common.def: Add copyright header. + +2021-11-13 Srikavin Ramkumar <srikavinramkumar@gmail.com> + + maint: add a definition-based syscall decoder generator. + Implement a code generation tool capable of parsing system call definitions + and generating system call decoders. + + * maint/gen/.gitignore: New file. + * maint/gen/Makefile: Likewise. + * maint/gen/README.md: Likewise. + * maint/gen/ast.c: Likewise. + * maint/gen/ast.h: Likewise. + * maint/gen/codegen.c: Likewise. + * maint/gen/deflang.h: Likewise. + * maint/gen/defs/common.def: Likewise. + * maint/gen/lex.l: Likewise. + * maint/gen/parse.y: Likewise. + * maint/gen/preprocess.c: Likewise. + * maint/gen/preprocess.h: Likewise. + * maint/gen/symbols.c: Likewise. + * maint/gen/symbols.h: Likewise. + +2021-11-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link: implement IFLA_AF_SPEC decoding for AF_BRIDGE. + It is special with relation to the others as it employs a completely + different structure, disregarding the existing one. + + * src/xlat/rtnl_ifla_af_spec_bridge_attrs.in: New file. + * src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in: Likewise. + * src/xlat/rtnl_ifla_bridge_flags.in: Likewise. + * src/xlat/rtnl_ifla_bridge_modes.in: Likewise. + * src/defs.h (nl_bridge_vlan_flags): New declaration. + * src/rtnl_link.c: Include <linux/if_bridge.h>, + "xlat/rtnl_ifla_af_spec_bridge_attrs.h", + "xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h", + "xlat/rtnl_ifla_bridge_flags.h", and "xlat/rtnl_ifla_bridge_modes.h". + (decode_ifla_bridge_flags, decode_ifla_bridge_mode, + decode_ifla_bridge_vlan_info, decode_bridge_vlan_info_flags, + decode_ifla_bridge_vlan_tunnel_info): New functions. + (ifla_af_spec_bridge_vlan_tunnel_info_decoders, + ifla_af_spec_bridge_nla_decoders): New decoder tables. + (decode_ifla_af_spec): Add special handling for the ifi_family=AF_BRIDGE + case by calling decode_nlattr directly with + rtnl_ifla_af_spec_bridge_attrs and ifla_af_spec_bridge_nla_decoders. + * tests/nlattr_ifla_af_spec.c: Include <linux/if_bridge.h>. + (msg_af, msg_af_str): New static variables. + (IFLA_AF): New macro, define to msg_af. + (IFLA_AF_STR): New macro, define to msg_af_str. + (init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg): New functions, defined + via AF_SPEC_FUNCS. + (main): Check unsupported IFLA_AF_SPEC address families for each + ifinfomsg address family, skip AF_BRIDGE; add AF_BRIDGE IFLA_AF_SPEC + checks. + * NEWS: Mention it. + +2021-11-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: move ENUM_KNOWN to tests.h. + Its definition is shared by several tests already. + + * tests/tests.h (ENUM_KNOWN): New macro, yet another wrapper + for XLAT_KNOWN. + * tests/nlattr_cachereport.c (ENUM_KNOWN): Remove. + * tests/nlattr_ifla_brport.c (ENUM_KNOWN): Likewise. + * tests/nlattr_ifla_vfinfo.c (ENUM_KNOWN): Likewise. + +2021-11-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + sockaddr: enhance decoding of AF_NETLINK socket addresses. + Before, the size limit was incorrect and padding was never printed. + + * src/sockaddr.c (print_sockaddr_data_nl): Print nl_pad field + if it is non-zero. + (sa_printers) <AF_NETLINK>: Fix the min_len field value. + * tests/net-sockaddr.c (check_nl): Add checks for undersized sockaddr + and non-zero nl_pad; explicitly initialise nl_pad to zero when needed. + * NEWS: Mention it. + +2021-11-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + sockaddr: implement decoding of AF_RXRPC socket addresses. + * configure.ac (AC_CHECK_HEADERS): Add linux/rxrpc.h. + * src/xlat/rxrpc_services.in: New file. + * src/sockaddr.c: Include "xlat/rxrpc_services.h". + (struct sockaddr_rxrpc): New type definition. + (print_sockaddr_data_rxrpc): New function. + (sa_printers) <AF_RXRPC>: New printer. + * tests/sockaddr_xlat.c HAVE_LINUX_RXRPC_H: Include <linux/rxrpc.h>. + !HAVE_LINUX_RXRPC_H (struct sockaddr_rxrpc): New type definition. + (#include "xlat/addrfams.h"): Move out of XLAT_MACROS_ONLY definition. + (check_rxrpc): New function. + (main): Call it. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_IEEE802154 socket addresses. + * src/xlat/ieee802154_addr_types.in: New file. + * src/xlat/ieee802154_addrs.in: Likewise. + * src/xlat/ieee802154_pan_ids.in: Likewise. + * src/sockaddr.c: Include "xlat/ieee802154_addr_types.h", + "xlat/ieee802154_addrs.h", and "xlat/ieee802154_pan_ids.h". + (IEEE802154_ADDR_LEN): New macro. + (struct ieee802154_addr_sa, struct sockaddr_ieee802154): New type + definitions. + (print_sockaddr_data_ieee802154): New function. + (sa_printers) <AF_IEEE802154>: New printer. + * tests/sockaddr_xlat.c (IEEE802154_ADDR_NONE, IEEE802154_ADDR_SHORT, + IEEE802154_ADDR_LONG): New enum items. + (IEEE802154_ADDR_LEN, IEEE802154_PANID_BROADCAST, + IEEE802154_ADDR_BROADCAST, IEEE802154_ADDR_UNDEF): New macros. + (struct ieee802154_addr_sa, struct sockaddr_ieee802154): New type + definitions. + (check_ieee802154): New function. + (main): Call it. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_ALG socket addresses. + * bundled/linux/include/uapi/linux/if_alg.h: New file, imported from + headers_install'ed Linux kernel v5.15. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/xlat/alg_sockaddr_flags.in: New file. + * configure.ac (AC_CHECK_HEADERS): Check for linux/if_alg.h. + (AC_CHECK_TYPES): Check for struct sockaddr_alg_new. + * src/sockaddr.c: Include <linux/if_alg.h> + and "xlat/alg_sockaddr_flags.h". + (print_sockaddr_data_alg): New functions. + (sa_printers) <AF_ALG>: New printer. + * tests/sockaddr_xlat.c HAVE_LINUX_IF_ALG_H: Include <linux/if_alg.h>. + !HAVE_LINUX_IF_ALG_H (struct sockaddr_alg): New type definition. + !CRYPTO_ALG_KERN_DRIVER_ONLY (CRYPTO_ALG_KERN_DRIVER_ONLY): New macro + constant. + !HAVE_STRUCT_SOCKADDR_ALG_NEW (struct sockaddr_alg_new): New type + definition. + (check_alg): New function. + (main): Call it. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_NFC socket addresses. + * bundled/linux/include/uapi/linux/nfc.h: New file, imported from + headers_install'ed Linux kernel v5.15. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * configure.ac (AC_CHECK_HEADERS): Add linux/nfc.h. + * src/xlat/nfc_saps.in: New file. + * src/xlat/nfc_sockaddr_protocols.in: Likewise. + * src/sockaddr.c: Include <linux/nfc.h>, "xlat/nfc_saps.h", + and "xlat/nfc_sockaddr_protocols.h". + (print_sockaddr_data_nfc): New function. + (sa_printers) <AF_NFC>: New printer. + * tests/sockaddr_xlat.c HAVE_LINUX_NFC_H: Include <linux/nfc.h>. + !HAVE_LINUX_NFC_H (NFC_LLCP_MAX_SERVICE_NAME): New macro. + !HAVE_LINUX_NFC_H (struct sockaddr_nfc, struct sockaddr_nfc_llcp): New + type definitions. + (check_nfc): New function. + (main): Call check_nfc. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_VSOCK socket addresses. + * configure.ac (AC_CHECK_HEADERS): Add linux/vm_sockets.h. + (AC_CHECK_TYPES): Check for struct sockaddr_vm. + (AC_CHECK_MEMBERS): Check for struct sockaddr_vm.svm_flags. + * src/xlat/vsock_cids.in: New file. + * src/xlat/vsock_flags.in: Likewise. + * src/xlat/vsock_ports.in: Likewise. + * src/sockaddr.c: Include <linux/vm_sockets.h>, "xlat/vsock_cids.h", + "xlat/vsock_flags.h", and "xlat/vsock_ports.h". + (print_sockaddr_data_vsock): New function. + (sa_printers) <AF_VSOCK>: New printer. + * tests/sockaddr_xlat.c HAVE_LINUX_VM_SOCKETS_H: Include + <linux/vm_sockets.h>. + !HAVE_STRUCT_SOCKADDR_VM (struct sockaddr_vm): New type definition. + (SVM_FLAGS, SVM_ZERO, SVM_ZERO_FIRST): New macros. + (check_vsock): New function. + (main): Call it. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_QIPCRTR socket addresses. + * bundled/linux/include/uapi/linux/qrtr.h: New file, imported from + headers_install'ed Linux kernel v5.15. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * configure.ac (AC_CHECK_HEADERS): Add linux/qrtr.h. + * src/xlat/qipcrtr_nodes.in: New file. + * src/xlat/qipcrtr_ports.in: Likewise. + * src/sockaddr.c: Include <linux/qrtr.h>, "xlat/qipcrtr_nodes.h", + and "xlat/qipcrtr_ports.h". + (print_sockaddr_data_qrtr): New function. + (sa_printers) <AF_QIPCRTR>: New printer. + * tests/sockaddr_xlat.c HAVE_LINUX_QRTR_H: Include <linux/qrtr.h>. + !HAVE_LINUX_QRTR_H (struct sockaddr_qrtr): New type definition. + (check_qrtr): New function. + (main): Call check_qrtr. + * NEWS: Mention it. + + sockaddr: implement decoding of AF_XDP socket addresses. + * bundled/linux/include/uapi/linux/if_xdp.h: New file, imported from + headers_install'ed Linux kernel v5.15. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * configure.ac (AC_CHECK_HEADERS): Add linux/if_xdp.h. + (AC_CHECK_TYPES): Check for struct sockaddr_xdp presence + in <linux/if_xdp.h>. + * src/xlat/xdp_sockaddr_flags.in: New file. + * src/sockaddr.c: Include <linux/if_xdp.h> and "xlat/xdp_sockaddr_flags.h". + (print_sockaddr_data_xdp): New function. + (sa_printers) <AF_XDP>: New socket address decoding entry. + * tests/sockaddr_xlat-Xabbrev-y.c: New file. + * tests/sockaddr_xlat-Xraw-y.c: Likewise. + * tests/sockaddr_xlat-Xverbose-y.c: Likewise. + * tests/sockaddr_xlat.c: Include "xlat/xdp_sockaddr_flags.h". + HAVE_LINUX_IF_XDP_H: Include <linux/if_xdp.h>. + !HAVE_STRUCT_SOCKADDR_XDP (struct sockaddr_xdp): New type definition. + SKIP_IF_PROC_IS_UNAVAILABLE (SKIP_IF_PROC_IS_UNAVAILABLE): New macro. + !FD0_PATH (FD0_PATH): Likewise. + !FD7_PATH (FD7_PATH): Likewise. + (check_xdp): New function. + (main): Add SKIP_IF_PROC_IS_UNAVAILABLE and check_xdp call. + * tests/.gitignore: Add sockaddr_xlat-Xabbrev-y, sockaddr_xlat-Xraw-y, + and sockaddr_xlat-Xverbose-y. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (sockaddr_xlat-Xabbrev-y, sockaddr_xlat-Xraw-y, + sockaddr_xlat-Xverbose-y): New tests. + * NEWS: Mention it. + + net: add AF_VSOCK socket option names decoding support. + * bundled/linux/include/uapi/linux/vm_sockets.h: New file, copied from + headers_install'ed Linux kernel v5.15. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/xlat/sock_vsock_options.in: New file. + * src/xlat/socketlayers.in (AF_VSOCK): New constant. + * src/net.c: Include <linux/vm_sockets.h> and + "xlat/sock_vsock_options.h". + (print_sockopt_fd_level_name) <case AF_VSOCK>: Print AF_VSOCK socket + options. + + net: decode SOL_CAN_RAW socket options. + * xlat/sock_can_raw_options.in: New file. + * net.c: Include "xlat/sock_can_raw_options.h". + (print_sockopt_fd_level_name) <case SOL_CAN_RAW>: Print socket option + name using sock_can_raw_options xlat. + +2021-11-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: handle QUOTE_0_TERMINATED|QUOTE_EXPECT_TRAILING_0 in print_quoted_string_ex + Similarly to the way it is done in printstr_ex. + + * src/util.c (print_quoted_string_ex): Print ellipsis if both + QUOTE_0_TERMINATED and QUOTE_EXPECT_TRAILING_0 were set and string_quote + returned non-zero. + +2021-11-12 Dmitry V. Levin <ldv@strace.io> + Victor Krapivensky <krapivenskiy.va@phystech.edu> + + poke: add support of unaligned address/length when process_vm_writev is unavailable + * src/ucopy.c (upoken_peekpoke): New function. + (upoken_pokedata): Use it for unaligned address and length. + * tests/poke.c (main): Update. + * tests/poke.test: Likewise. + * tests/poke-ptrace.test: Likewise. + * tests/poke-unaligned.test: Likewise. + * tests/poke-unaligned.expected: Update expected output. + + Complements: v5.11~49 "Add -e inject=<...>:poke_{enter,exit}=<...> functionality" + +2021-11-12 Dmitry V. Levin <ldv@strace.io> + + ucopy: introduce a data type for PTRACE_PEEKDATA operations. + * src/ucopy.c (dissected_long_t): New type. + (umoven_peekdata, umovestr_peekdata): Use it instead of open-coding it. + + Suggested-by: Elvira Khabirova <lineprinter@altlinux.org> + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + strace: add --strings-in-hex=non-ascii-chars option. + It seems that some people prefer hexadecimal numbers instead of octal + in C string escape sequences; unfortunately, before it also led + to printing of the whole strings using escape sequences, which may + negatively impacted the output comprehensibility in cases where only few + characters are actually non-ASCII. Add an option that satisfies + that preference without any downsides. + + * doc/strace.1.in (.SS Output format): Add --strings-in-hex option + description, fix formatting for --strings-in-hex=non-ascii + and --strings-in-hex=all mentions. + * src/defs.h (enum xflag_opts): Add HEXSTR_NON_ASCII_CHARS. + * src/strace.c (xflag_str): Add HEXSTR_NONE and HEXSTR_NON_ASCII_CHARS. + (usage): Add --strings-in-hex=non-ascii-chars option description, fix "ASCII" + capitalisation in -x option description. + (init) <xflag_long>: Initialise with -1 instead of HEXSTR_NONE. + (init) <case 'x'>: Cap xflag incrementing at HEXSTR_ALL. + (init) <case GETOPT_HEX_STR>: Treat -1 as invalid option value + instead of HEXSTR_NONE. + (init): Set xflag if xflag_long is non-negative, not just positive. + * src/util.c (string_quote): Check against specific xflag values; use + sprint_byte_hex instead of sprint_byte_oct if xflag is set + to HEXSTR_NON_ASCII_CHARS. + * tests/.gitignore: Add strace--strings-in-hex-non-ascii-chars, + strace--strings-in-hex-none, and strace-no-x. + * tests/pure_executables.list: Likewise. + * tests/strace--strings-in-hex-all.c: Set STRACE_X to 2 + instead of STRACE_XX to 1. + * tests/strace--strings-in-hex.c: Likewise. + * tests/strace-xx.c: Likewise. + * tests/strace--strings-in-hex-non-ascii-chars.c: New file. + * tests/strace--strings-in-hex-non-ascii.c: Set STRACE_X to 1 + instead of STRACE_XX to 0. + * tests/strace--strings-in-hex-none.c: New file. + * tests/strace-no-x.c: Likewise. + * tests/strace-x.c: Update expected output. + * tests/gen_tests.in (strace--strings-in-hex-non-ascii-chars, + strace--strings-in-hex-none, strace-no-x): New tests. + * NEWS: Mention it. + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_route: implement RTM_NEWCACHEREPORT message decoding. + * bundled/linux/include/uapi/linux/mroute.h: New file, copied from + headers_install'ed Linux kernel v5.15. + * bundled/linux/include/uapi/linux/mroute6.h: Likewise. + * bundled/Makefile.am (EXTRA_DIST): Add them. + * src/xlat/rtnl_family.in: New file. + * src/xlat/rtnl_ip6mra_creport_attr.in: Likewise. + * src/xlat/rtnl_ip6mra_msg_types.in: Likewise. + * src/xlat/rtnl_ipmra_creport_attr.in: Likewise. + * src/xlat/rtnl_ipmra_msg_types.in: Likewise. + * src/rtnl_cachereport.c: Likewise. + * src/Makefile.am (strace_SOURCES): Add it. + * src/netlink_route.c (route_decoders) <RTM_NEWCACHEREPORT - RTM_BASE>: + New decoder, call decode_cachereport. + * src/netlink_route.h (decode_cachereport): New declaration. + * tests/.gitignore: Add nlattr_cachereport, nlattr_cachereport-Xabbrev, + nlattr_cachereport-Xraw, and nlattr_cachereport-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/netlink_route.c (test_rtnl_rtgen) <types>: Add + RTM_NEWCACHEREPORT. + (test_rtnl_rtgen): Move RTM_NEWCACHEREPORT-related unknown message + checks from... + (main): ...here. Remove the unsupported message check + for RTM_NEWCACHEREPORT. + * tests/nlattr_cachereport.c: New file. + * tests/nlattr_cachereport-Xabbrev.c: Likewise. + * tests/nlattr_cachereport-Xraw.c: Likewise. + * tests/nlattr_cachereport-Xverbose.c: Likewise. + * tests/gen_tests.in (nlattr_cachereport, nlattr_cachereport-Xabbrev, + nlattr_cachereport-Xraw, nlattr_cachereport-Xverbose): New tests. + * NEWS: Mention it. + + rtnl_link: implement IFLA_VFINFO_LIST decoding. + * src/xlat/rtnl_ifla_vf_info_attrs.in: New file + * src/xlat/rtnl_ifla_vf_link_states.in: Likewise. + * src/xlat/rtnl_ifla_vf_stats_attrs.in: Likewise. + * src/xlat/rtnl_ifla_vf_vlan_list_attrs.in: Likewise. + * src/xlat/rtnl_ifla_vfinfo_list_attrs.in: Likewise. + * src/rtnl_link.c: Include "xlat/rtnl_ifla_vf_info_attrs.h", + "xlat/rtnl_ifla_vf_link_states.h", "xlat/rtnl_ifla_vf_stats_attrs.h", + "xlat/rtnl_ifla_vf_vlan_list_attrs.h", + and "xlat/rtnl_ifla_vfinfo_list_attrs.h". + (decode_ifla_vf_mac, decode_ifla_vf_vlan, decode_ifla_vf_tx_rate, + decode_ifla_vf_spoofchk, decode_ifla_vf_link_state, decode_ifla_vf_rate, + decode_ifla_vf_rss_query_en, decode_ifla_vf_stats, decode_ifla_vf_trust, + decode_ifla_vf_guid, decode_ifla_vf_vlan_info, decode_ifla_vf_vlan_list, + decode_ifla_vf_broadcast, decode_ifla_vf_info, decode_ifla_vfinfo_list): + New functions. + (ifla_vf_stats_nla_decoders, ifla_vf_vlan_list_nla_decoders, + ifla_vf_info_nla_decoders, ifla_vfinfo_list_nla_decoders): New decoder + tables. + (ifinfomsg_nla_decoders) <IFLA_VFINFO_LIST>: Change decoder + to decode_ifla_vfinfo_list. + * tests/.gitignore: Add nlattr_ifla_vfinfo, nlattr_ifla_vfinfo-Xabbrev, + nlattr_ifla_vfinfo-Xraw, and nlattr_ifla_vfinfo-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/nlattr_ifla_vfinfo.c: New file. + * tests/nlattr_ifla_vfinfo-Xabbrev.c: Likewise. + * tests/nlattr_ifla_vfinfo-Xraw.c: Likewise. + * tests/nlattr_ifla_vfinfo-Xverbose.c: Likewise. + * tests/gen_tests.in (nlattr_ifla_vfinfo, nlattr_ifla_vfinfo-Xabbrev, + nlattr_ifla_vfinfo-Xraw, nlattr_ifla_vfinfo-Xverbose): New tests. + * NEWS: Mention it. + + rtnl_link: enhance IFLA_EXT_MASK decoding. + * src/xlat/rtnl_ifla_ext_filter_flags.in: New file. + * src/rtnl_link.c: Include "xlat/rtnl_ifla_ext_filter_flags.h". + (decode_ifla_ext_mask): New function. + (ifinfomsg_nla_decoders) <IFLA_EXT_MASK>: Change decoder + to decode_ifla_ext_mask. + * tests/nlattr_ifinfomsg.c: Add checks for IFLA_EXT_MASK attribute + decoding. + * NEWS: Mention it. + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link: print IFLA_BRPORT_GROUP_FWD_MASK as hex. + Similarly to IFLA_BR_GROUP_FWD_MASK. + + * src/rtnl_link.c (ifla_brport_nla_decoders) <IFLA_BRPORT_GROUP_FWD_MASK>: + Change decoder to decode_nla_x16. + * tests/test_nlattr.h (check_x16_nlattr): New function, defined + via DEF_NLATTR_INTEGER_CHECK_. + * tests/nlattr_ifla_brport.c: Update expected output. + * tests/nlattr_ifla_linkinfo.c: Likewise. + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link: implement initial IFLA_INFO_SLAVE_DATA decoding. + * src/nlattr.h (struct ifla_linkinfo_ctx): Add slave_kind field, + increase the size of the kind field to 64. + * src/rtnl_link.c (decode_nla_linkinfo_slave_kind, + decode_nla_linkinfo_slave_data_bridge, decode_nla_linkinfo_slave_data): + New functions. + (ifla_linkinfo_nla_decoders) <IFLA_INFO_SLAVE_KIND>: Use + decode_nla_linkinfo_slave_kind as a decoder. + (ifla_linkinfo_nla_decoders) <IFLA_INFO_SLAVE_DATA>: Decode using + decode_nla_linkinfo_slave_data. + * tests/nlattr_ifla_linkinfo.c (TEST_UNKNOWN_TUNNELS, TEST_LINKINFO_, + TEST_LINKINFO, TEST_NESTED_LINKINFO): Add kindtype_ argument, use it + instead of IFLA_INFO_KIND, update callers. + (main) <unsupported_slave_data_types, supported_tunnel_types>: New + static constants. + (main): Use supported_tunnel_types instead of unsupported_xstats_types + and unsupported_data_types pair; add checks for the + IFLA_INFO_SLAVE_KIND and IFLA_INFO_SLAVE_DATA attributes decoding. + * NEWS: Mention it. + + rtnl_link: decode IFLA_BR_MCAST_QUERIER_STATE. + * src/xlat/rtnl_ifla_br_mcast_querier_attrs.in: New file. + * src/xlat/rtnl_ifla_info_data_bridge_attrs.in (IFLA_BR_MCAST_QUERIER_STATE): + New constant, introduced by Linux commit v5.15-rc1~157^2~209^2~2. + * src/rtnl_link.c: Include "xlat/rtnl_ifla_br_mcast_querier_attrs.h". + (ifla_br_mcast_querier_decoders): New decoder table. + (decode_ifla_br_mcast_qstate): New function. + (ifla_info_data_bridge_nla_decoders) <IFLA_BR_MCAST_QUERIER_STATE>: + Decode using decode_ifla_br_mcast_qstate. + * tests/nlattr_ifla_linkinfo.c: Include "xmalloc.h". + (main): Update expected output, add IFLA_BR_MCAST_QUERIER_STATE + attribute decoding checks. + * NEWS: Mention it. + + rtnl_link: decode IFLA_BR_MULTI_BOOLOPT. + * src/xlat/rtnl_ifla_br_boolopt_flags.in: New file. + * src/xlat/rtnl_ifla_br_boolopts.in: Likewise. + * src/rtnl_link.c: Include <linux/if_bridge.h>, + "xlat/rtnl_ifla_br_boolopts.h", and "xlat/rtnl_ifla_br_boolopt_flags.h". + (decode_ifla_br_boolopt): New function. + (ifla_info_data_bridge_nla_decoders) <IFLA_BR_MULTI_BOOLOPT>: Decode + using decode_ifla_br_boolopt. + * tests/nlattr_ifla_linkinfo.c: Include <linux/if_bridge.h>, add checks + for IFLA_BR_MULTI_BOOLOPT attribute decoding. + * NEWS: Mention it. + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link, rtnl_mdb: switch relevant attribute decoding to decode_nla_clock_t + There is quite a few attributes that use clock_t time units for + reporting time intervals (for whatever reason), so it makes sense to + improve decoding for them, considering the fact that clock_t decoding + has been already implemented (in v5.14-30-g3270b1358 "util: implement + clock_t type decoding"). + + * configure.ac: Add a check for a library required for mathematical + functions. + * src/rtnl_link.c (ifla_brport_nla_decoders) + <IFLA_BRPORT_MESSAGE_AGE_TIMER, IFLA_BRPORT_FORWARD_DELAY_TIMER, + IFLA_BRPORT_HOLD_TIMER>: Decode using decode_nla_clock_t. + (ifla_info_data_bridge_nla_decoders) <IFLA_BR_FORWARD_DELAY, + IFLA_BR_HELLO_TIME, IFLA_BR_MAX_AGE, IFLA_BR_AGEING_TIME, + IFLA_BR_HELLO_TIMER, IFLA_BR_TCN_TIMER, + IFLA_BR_TOPOLOGY_CHANGE_TIMER, IFLA_BR_GC_TIMER, + IFLA_BR_MCAST_LAST_MEMBER_INTVL, IFLA_BR_MCAST_MEMBERSHIP_INTVL, + IFLA_BR_MCAST_QUERIER_INTVL, IFLA_BR_MCAST_QUERY_INTVL, + IFLA_BR_MCAST_QUERY_RESPONSE_INTVL, + IFLA_BR_MCAST_STARTUP_QUERY_INTVL>: Likewise. + * src/rtnl_mdb.c (mdba_mdb_eattr_nla_decoders) <MDBA_MDB_EATTR_TIMER>: + Likewise. + (mdba_router_pattr_nla_decoders) <MDBA_ROUTER_PATTR_TIMER, + MDBA_ROUTER_PATTR_INET_TIMER, MDBA_ROUTER_PATTR_INET6_TIMER>: Likewise. + * tests/Makefile.am (nlattr_ifla_linkinfo_LDADD, + nlattr_mdba_router_port_LDADD): Add m_libs. + * tests/nlattr_ifla_brport.c: Update expected output. + * tests/nlattr_ifla_linkinfo.c: Likewise. + * tests/nlattr_mdba_router_port.c: Likewise. + * tests/nlattr_nhmsg.c: Likewise. + * NEWS: Mention it. + +2021-11-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_link: make IFLA_PROTINFO decoding address family-aware. + The IFLA_BRPORT_* attributes are placed in there only for messages + with ifi_family=AF_BRIDGE, and ifi_family=AF_INET6 messages put IFLA_INET6_* + attributes in there. + + * src/rtnl_link.c (decode_ifla_inet6_flags, decode_ifla_inet6_conf, + decode_ifla_inet6_stats, decode_ifla_inet6_cacheinfo, + decode_ifla_inet6_icmp6_stats, decode_ifla_inet6_agm, + ifla_inet6_nla_decoders): Move before decode_ifla_protinfo. + (decode_ifla_protinfo): Add protos, describe AF_BRIDGE and AF_INET6 + protocols there, decode using decode_nla_af_spec. + * tests/nlattr_ifla_brport.c (IFLA_AF, IFLA_AF_STR): Define to change + the address family from AF_UNIX to AF_BRIDGE. + * tests/nlattr_ifla_af_inet6.h: New file. + * tests/nlattr_ifla_af_spec.c: Include it. + (print_arr_val, print_arr_uval, print_inet6_conf_val, + print_inet6_stats_val, print_icmp6_stats_val): Move + to nlattr_ifla_af_inet6.h. + (main): Move AF_INET6-related checks to check_ifla_af_inet6() + in nlattr_ifla_af_inet6.h; call it. + * tests/.gitignore: Add nlattr_ifla_protinfo, + nlattr_ifla_protinfo-Xabbrev, nlattr_ifla_protinfo-Xraw, + and nlattr_ifla_protinfo-Xverbose. + * tests/Makefile.am (EXTRA_DIST): Add nlattr_ifla_af_inet6.h. + * tests/gen_tests.in (nlattr_ifla_protinfo, + nlattr_ifla_protinfo-Xabbrev, nlattr_ifla_protinfo-Xraw, + nlattr_ifla_protinfo-Xverbose): New tests. + * tests/nlattr_ifla_protinfo-Xabbrev.c: New file. + * tests/nlattr_ifla_protinfo-Xraw.c: Likewise. + * tests/nlattr_ifla_protinfo-Xverbose.c: Likewise. + * tests/nlattr_ifla_protinfo.c: Likewise. + * NEWS: Mention it. + + Fixes: v4.19~19 "rtnl_link: decode IFLA_PROTINFO netlink attribute of ifinfomsg" + +2021-11-11 Dmitry V. Levin <ldv@strace.io> + + tests: fix build on mips n32/o32. + * tests/cur_audit_arch.h __mips__: Fix _MIPS_SIM check. + + Fixes: v5.14-11-gd4ee5d43b "tests: add cur_audit_arch.h" + +2021-11-10 Dmitry V. Levin <ldv@strace.io> + + xlat: add #unconditional to sync_file_range_flags. + * src/xlat/sync_file_range_flags.in: Add #unconditional given that + <linux/fs.h> is bundled. + + xlat: add #unconditional to pr_cap_ambient, pr_fp_mode, and pr_mce_kill_policy + * src/xlat/pr_cap_ambient.in: Add #unconditional given that + <linux/prctl.h> is bundled. + * src/xlat/pr_fp_mode.in: Likewise. + * src/xlat/pr_mce_kill_policy.in: Likewise. + + xlat: add #unconditional to unix_diag_show. + * src/xlat/unix_diag_show.in: Add #unconditional given that + <linux/unix_diag.h> is bundled. + + xlat: add #unconditional to packet_diag_info_flags and packet_diag_show. + * src/xlat/packet_diag_info_flags.in: Add #unconditional given that + <linux/packet_diag.h> is bundled. + * src/xlat/packet_diag_show.in: Likewise. + + xlat: add #unconditional to netlink_diag_show and netlink_socket_flags. + * src/xlat/netlink_diag_show.in: Add #unconditional given that + <linux/netlink_diag.h> is bundled. + * src/xlat/netlink_socket_flags.in: Likewise. + + xlat: add #unconditional to blkpg_ops. + * src/xlat/blkpg_ops.in: Add #unconditional given that <linux/blkpg.h> + is bundled. + +2021-11-09 Dmitry V. Levin <ldv@strace.io> + + landlock: do not open-code landlock_* structures. + * src/rtnl_link.c (print_landlock_ruleset_attr): Use struct + landlock_ruleset_attr ifla_cacheinfo defined in bundled + <linux/landlock.h> instead of open-coding it. + (print_landlock_path_beneath_attr): Use struct + landlock_path_beneath_attr defined in bundled <linux/landlock.h> + instead of open-coding it. + + Complements: v5.13~16 "Implement landlock_{add_rule,create_ruleset,restrict_self} syscall decoding" + +2021-11-09 Dmitry V. Levin <ldv@strace.io> + + rtnl_link: do not open-code struct ifla_cacheinfo. + * src/rtnl_link.c (decode_ifla_inet6_cacheinfo): Use struct + ifla_cacheinfo defined in bundled <linux/if_link.h> instead of + open-coding it. + + Complements: v5.11~16 "rtnl_link: switch to use bundled <linux/if_link.h>" + +2021-11-08 Dmitry V. Levin <ldv@strace.io> + + xlat: update SO_* constants. + * src/xlat/sock_options.in (SO_NETNS_COOKIE): New constant + introduced by Linux kernel commit v5.14-rc1~119^2~45. + (SO_BUF_LOCK): New constant introduced by Linux kernel commit + v5.15-rc1~157^2~294. + * NEWS: Mention this change. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + print_fields: add PRINT_FIELD_FLAGS_VERBOSE. + * src/print_fields.h (PRINT_FIELD_FLAGS_VERBOSE): New macro. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + print_fields: add PRINT_FIELD_XVAL_VERBOSE and PRINT_FIELD_XVAL_U_VERBOSE + They make the task of printing a field with symbolic name values buried + inside Linux non-UAPI headers a bit easier (and more correct with + respect to the raw xlat verbosity style). + + * src/print_fields.h (PRINT_FIELD_XVAL_VERBOSE, + PRINT_FIELD_XVAL_U_VERBOSE): New macros. + * src/bpf.c (BEGIN_BPF_CMD_DECODER(BPF_MAP_CREATE)): Use + PRINT_FIELD_XVAL_U_VERBOSE for printing the numa_node field. + * src/netlink_smc_diag.c (decode_smc_diag_fallback): Use + PRINT_FIELD_XVAL_VERBOSE for printing the reason and peer_diagnosis + fields of struct smc_diag_fallback. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + strace.1: embolden --secontext argument. + * doc/strace.1.in (.SS Output format): Print "full" in bold. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: factor out octal character printing. + Ideally, it ought to be incorporated inside sprint_char and employed + by string_quote, but the former has too many features and the latter + is too hot, so that will probably get some performance hit. + + * src/print_utils.h (sprint_byte_oct): New function. + * src/util.c (string_quote): Use it. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + sockaddr: make print_sockaddr_data_ax25 more structured. + * src/sockaddr.c (print_ax25_array_member): New function. + (print_sockaddr_data_ax25): Use print_local_array_ex() + instead of open-coding it and use tprint_struct_next() + instead of explicit tprints(", "). + * tests/net-sockaddr.c (check_ax25): Update expected output. + + tests/tests.h: add struct strval8 definition. + * tests/tests.h (struct strval8): New type definition. + + tests/test_netlink.h: enable usage of TEST_NETLINK_ with xlat verbosity styles + tests/test_netlink.h (TEST_NETLINK_): Use XLAT_FMT/XLAT_ARGS for + printing MSG_DONTWAIT. + + rtnl_link: factor out context string update. + * src/rtnl_link.c (update_ctx_str): New function. + (decode_nla_linkinfo_kind): Use update_ctx_str for updating kind field + of the ctx. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/nlattr_ifla_linkinfo.c: constify unsupported_*_types. + There is no need them to be non-constant. + + * tests/nlattr_ifla_linkinfo.c (TEST_UNKNOWN_TUNNELS) <arrstrs, + arrstrs_pos, arrstr>: Add const qualifier. + (main) <unsupported_tunnel_types, unsupported_xstats_types, + unsupported_data_types>: Likewise. + +2021-11-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update nl_xfrm_types. + * src/xlat/nl_xfrm_types.in: Add #sorted, #enum, and #include + directives. + (XFRM_MSG_SETDEFAULT, XFRM_MSG_GETDEFAULT): New constants, introduced + by Linux commit v5.15-rc1~157^2~52^2~1 and received proper values + in Linux commit v5.15-rc5~21^2~2^2~2. + * NEWS: Mention it. + + tests/nlattr_ifla_linkinfo.c: update the list of unsupported tunnel types + * tests/nlattr_ifla_linkinfo.c (unsupported_tunnel_types): Add + "bareudp" (introduced by Linux commit v5.7-rc1~146^2~339^2~1), + "wireguard" (introduced by Linux commit v5.6-rc1~151^2~283), + "wwan" (introduced by Linux commit v5.14-rc1~119^2~191^2~1), + and "xfrm" (introduced by Linux commit v4.19-rc1~140^2~230^2~10). + + xlat: update inet6_devconf_indices. + * src/xlat/inet6_devconf_indices.in (DEVCONF_IOAM6_ENABLED, + EVCONF_IOAM6_ID, DEVCONF_IOAM6_ID_WIDE): New constants, introduced + by Linux commit v5.15-rc1~157^2~433^2~4. + * NEWS: Mention it. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/test_nlattr.h: add TEST_NESTED_NLATTR_ARRAY_EX_ + * tests/test_nlattr.h (TEST_NESTED_NLATTR_ARRAY_EX_): Rename from + TEST_NESTED_NLATTR_ARRAY_EX, add nla_type_str_ argument, use it instead + of #nla_type_. + (TEST_NESTED_NLATTR_ARRAY_EX): New macro, a thin wrapper around + TEST_NESTED_NLATTR_ARRAY_EX_. + + rtnl_link: decode IFLA_INET6_RA_MTU. + * src/xlat/rtnl_ifla_af_spec_inet6_attrs.in (IFLA_INET6_RA_MTU): New + constant, introduced by Linux commit v5.15-rc1~157^2~44. + * src/rtnl_link.c (ifla_inet6_nla_decoders) <IFLA_INET6_RA_MTU>: + Decode using decode_nla_u32. + * tests/nlattr_ifla_af_spec.c: Add check, update expected output. + * NEWS: Mention it. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/nlattr_ifla_brport: check all IFLA_BRPORT_* attributes. + Also check them with various xlat verbosity levels. + + * tests/nlattr_ifla_brport-Xabbrev.c: New file. + * tests/nlattr_ifla_brport-Xraw.c: Likewise. + * tests/nlattr_ifla_brport-Xverbose.c: Likewise. + * tests/.gitignore: Add nlattr_ifla_brport-Xabbrev, nlattr_ifla_brport-Xraw, + and nlattr_ifla_brport-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (nlattr_ifla_brport-Xabbrev, nlattr_ifla_brport-Xraw, + nlattr_ifla_brport-Xverbose): New tests. + * tests/nlattr_ifla_brport.c (ENUM_KNOWN): New macro. + (main): Check each IFLA_BRPORT_* attribute. + * tests/test_nlattr.h (check_u8_nlattr): New function, defined using + DEF_NLATTR_INTEGER_CHECK_. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/nlattr_ifla.h: enable usage with different xlat verbosity styles. + * tests/nlattr_ifla.h (print_ifinfomsg): Adjust to generate correct + output for various xlat verbosity levels. + + tests: allow overriding address family in init_ifinfomsg/print_ifinfomsg + * tests/nlattr_ifla.h !IFLA_AF (IFLA_AF): New macro, define to + AF_UNIX. + !IFLA_AF_STR (IFLA_AF_STR): New macro, define to "AF_UNIX". + (init_ifinfomsg): Use IFLA_AF. + (print_ifinfomsg): Use IFLA_AF_STR. + + xlat: add MOVE_MOUNT_SET_GROUP to move_mount_flags. + * src/xlat/move_mount_flags.in (MOVE_MOUNT_SET_GROUP): New constant, + introduced by Linux commit v5.15-rc1~175^2~1. + * tests/move_mount.c: Add checks, update expected output. + * NEWS: Mention it. + + rtnl_link: decode IFLA_MCTP_* IFLA_AF_SPEC attributes. + * src/xlat/rtnl_ifla_af_spec_mctp_attrs.in: New file. + * src/rtnl_link.c: Include "xlat/rtnl_ifla_af_spec_mctp_attrs.h", + include "xlat/addrfams.h" under XLAT_MACROS_ONLY. + (ifla_mctp_nla_decoders): New decoders table. + (decode_ifla_af) <protos>: Add AF_MCTP record. + * tests/nlattr_ifla_af_spec.c (init_AF_MCTP_msg, print_AF_MCTP_msg): New + functions, defined using AF_SPEC_FUNCS. + (main) <skip_afs>: Add AF_MCTP. + (main): Add AF_MCTP checks. + * NEWS: Mention it. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: consistently check all unknown address families. + Iterate over all possible values of address family to verify + that the decoder indeed does not decode the payload. + + * tests/nlattr_ifla_af_spec.c: Include "xlat.h" and "xlat/addrfams.h". + (main): Perform "unknown AF_*" check for each possible address family + value except those that are listed in skip_afs. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + sockaddr: implement AF_MCTP socket addresses decoding. + * bundled/linux/include/uapi/linux/mctp.h: Import headers_install'ed + include/uapi/linux/mctp.h at Linux commit v5.15-rc7~22^2~20. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * src/xlat/mctp_addrs.in: New file. + * src/xlat/mctp_nets.in: Likewise. + * src/sockaddr.c: Include <linux/mctp.h>, "xlat/mctp_addrs.h", + and "xlat/mctp_nets.h". + (print_sockaddr_data_mctp): New function. + (sa_printers): Add AF_MCTP decoding. + * tests/gen_tests.in (sockaddr_xlat-Xabbrev, sockaddr_xlat-Xraw, + sockaddr_xlat-Xverbose): Add -a option. + * tests/sockaddr_xlat.c: Add checks for AF_MCTP socket address + decoding. + * NEWS: Mention this. + + xlat: add AF_MCTP, ARPHRD_MCTP, and ETH_P_MCTP. + * src/xlat/addrfams.in (AF_MCTP): New constant, introduced by Linux + commit v5.15-rc1~157^2~360^2~14. + * src/xlat/arp_hardware_types.in (ARPHRD_MCTP): New constant, introduced + by Linux commit v5.15-rc1~157^2~360^2~10. + * src/xlat/ethernet_protocols.in (ETH_P_MCTP): New constant, introduced + by Linux commit v5.15-rc1~157^2~360^2~9. + * src/print_mac.c (hwaddr_sizes) <ARPHRD_MCTP>: New item. + * tests/netlink_route.c: Update expected output. + * NEWS: Mention this. + + print_fields: add PRINT_FIELD_XVAL_D. + * src/print_fields.h (PRINT_FIELD_XVAL_D): New macro. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + nlattr: factor out AF_SPEC-typed netlink attribute decoding. + decode_ifstats_af and decode_ifla_af do about the same thing, except + the latter employs AF-indexed array and the former uses a list. This + is going to change with the addition of AF_MCTP protocol IFLA_AF_SPEC + decoding support, as its address family number (45) necessitates + the switch from AF-indexed array to a list as well, so these two + decoders are going to have exactly the same logic, and that is a reason + for factoring it out in a separate function. + + * src/nlattr.h (struct af_spec_decoder_desc): New type definition. + (decode_nla_af_spec): New declaration. + * src/nlattr.c (decode_nla_af_spec): New function. + * src/rtnl_link.c (ifla_af_spec_protos): Move inside decode_ifla_af, + rename to protos, change type to struct af_spec_decoder_desc, + initialise af fields of each item. + (decode_ifla_af): Call decode_nla_af_spec. + (decode_ifstats_af): Change type of the protos local variable + to struct af_spec_decoder_desc, replace the body with a call + to decode_nla_af_spec. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + ioctl: implement KD* ioctl decoding. + * configure.ac (AC_CHECK_TYPES): Check for struct kbdiacruc + and struct kbdiacrsuc. + * src/kd_ioctl.c: New file. + * src/kd_mpers_ioctl.c: Likewise. + * src/Makefile.am (strace_SOURCES): Add them. + * src/defs.h (DECL_IOCTL(kd)): New declaration. + * src/ioctl.c (ioctl_decode) <case 'K'>: Call kd_ioctl. + * src/xlat/kd_default_led_flags.in: New file. + * src/xlat/kd_font_flags.in: Likewise. + * src/xlat/kd_font_ops.in: Likewise. + * src/xlat/kd_ioctl_cmds.in: Likewise. + * src/xlat/kd_kbd_modes.in: Likewise. + * src/xlat/kd_kbd_types.in: Likewise. + * src/xlat/kd_key_ascii_keys.in: Likewise. + * src/xlat/kd_key_brl_keys.in: Likewise. + * src/xlat/kd_key_cur_keys.in: Likewise. + * src/xlat/kd_key_dead_keys.in: Likewise. + * src/xlat/kd_key_fn_key_vals.in: Likewise. + * src/xlat/kd_key_fn_keys.in: Likewise. + * src/xlat/kd_key_lock_keys.in: Likewise. + * src/xlat/kd_key_pad_keys.in: Likewise. + * src/xlat/kd_key_shift_keys.in: Likewise. + * src/xlat/kd_key_slock_keys.in: Likewise. + * src/xlat/kd_key_spec_keys.in: Likewise. + * src/xlat/kd_key_tables.in: Likewise. + * src/xlat/kd_key_types.in: Likewise. + * src/xlat/kd_keymap_flags.in: Likewise. + * src/xlat/kd_led_flags.in: Likewise. + * src/xlat/kd_meta_vals.in: Likewise. + * src/xlat/kd_modes.in: Likewise. + * tests/.gitignore: Add ioctl_kd, ioctl_kd-Xabbrev, ioctl_kd-Xraw, + ioctl_kd-Xverbose, ioctl_kd-success, ioctl_kd-success-Xabbrev, + ioctl_kd-success-Xraw, ioctl_kd-success-Xverbose, + ioctl_kd-success-s1024, ioctl_kd-success-s1024-Xabbrev, + ioctl_kd-success-s1024-Xraw, and ioctl_kd-success-s1024-Xverbose. + * tests/pure_executables.list: Add ioctl_kd, ioctl_kd-Xabbrev, + ioctl_kd-Xraw, and ioctl_kd-Xverbose. + * tests/Makefile.am: Add ioctl_kd-success, ioctl_kd-success-Xabbrev, + ioctl_kd-success-Xraw, ioctl_kd-success-Xverbose, + ioctl_kd-success-s1024, ioctl_kd-success-s1024-Xabbrev, + ioctl_kd-success-s1024-Xraw, and ioctl_kd-success-s1024-Xverbose. + * tests/gen_tests.in (ioctl_kd, ioctl_kd-Xabbrev, ioctl_kd-Xraw, + ioctl_kd-Xverbose, ioctl_kd-success, ioctl_kd-success-Xabbrev, + ioctl_kd-success-Xraw, ioctl_kd-success-Xverbose, + ioctl_kd-success-s1024, ioctl_kd-success-s1024-Xabbrev, + ioctl_kd-success-s1024-Xraw, ioctl_kd-success-s1024-Xverbose): New + tests. + * tests/ioctl_kd-Xabbrev.c: New file. + * tests/ioctl_kd-Xraw.c: Likewise. + * tests/ioctl_kd-Xverbose.c: Likewise. + * tests/ioctl_kd-success-Xabbrev.c: Likewise. + * tests/ioctl_kd-success-Xraw.c: Likewise. + * tests/ioctl_kd-success-Xverbose.c: Likewise. + * tests/ioctl_kd-success-s1024-Xabbrev.c: Likewise. + * tests/ioctl_kd-success-s1024-Xraw.c: Likewise. + * tests/ioctl_kd-success-s1024-Xverbose.c: Likewise. + * tests/ioctl_kd-success-s1024.c: Likewise. + * tests/ioctl_kd-success.c: Likewise. + * tests/ioctl_kd.c: Likewise. + * NEWS: Mention it. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: handle QUOTE_0_TERMINATED|QUOTE_EXPECT_TRAILING_0 in printstr_ex. + There is a number of places in Linux kernel where the last character + of a string-typed structure field is not fetched and/or overwritten + with '\0'. So far, it was difficult to signify this in strace output + performed via printstr_ex. This change adds a logic that decreases + the size passed to print_quoted_string in order to signify the fact + that despite the presence of an additional non-NUL character in the field, + this non-NUL character will be ignored by the kernel. + + * src/util.c (printstr_ex): Decrease size before print_quoted_string + call if both QUOTE_0_TERMINATED and QUOTE_EXPECT_TRAILING_0 set. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/tests.h: introduce XLAT_KNOWN_FMT and XLAT_UNKNOWN_FMT macros. + * tests/tests.h (XLAT_KNOWN_FMT, XLAT_UNKNOWN_FMT): New macros. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + Introduce sprint_char, print_char, and PRINT_FIELD_CHAR. + These are new helper functions for printing separate characters. + + * src/print_fields.h (PRINT_FIELD_CHAR): New macro. + * src/print_utils.h (BYTE_HEX_CHARS_PRINTF, BYTE_HEX_CHARS_PRINTF_QUOTED): + Remove. + (is_print): Move up. + (SPRINT_CHAR_BUFSZ, print_char): New macros. + (enum sprint_char_flag_bits, enum sprint_char_flags): New enumerations. + (sprint_char): New function. + * src/v4l2.c (print_pixelformat): Use print_char. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_route: switch rtgenmsg and nsid naming usage. + nsid refers to specific message type group (that implies semantics + of the netlink attibutes that follow the header), and rtmsg refers + to specific message header structure. + + * src/netlink_route.c (route_decoders) <RTM_NEWNSID - RTM_BASE, + RTM_DELNSID - RTM_BASE, RTM_GETNSID - RTM_BASE>: Call decode_nsid. + * src/netlink_route.h (DECL_NETLINK_ROUTE_DECODER(decode_nsid)): Rename + from DECL_NETLINK_ROUTE_DECODER(decode_rtgenmsg). + * src/rtnl_nsid.c (nsid_nla_decoders): Rename from + rtgenmsg_nla_decoders. + (DECL_NETLINK_ROUTE_DECODER(decode_nsid)): Rename + from DECL_NETLINK_ROUTE_DECODER(decode_rtgenmsg), use nsid_nla_decoders + for decoding. + * tests/netlink_route.c (test_rtnl_rtgen): Rename from test_rtnl_nsid. + (main): Call test_rtnl_rtgen instead of test_rtnl_nsid. + +2021-11-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_route: implement RTM_NEWSTATS and RTM_GETSTATS message decoding. + * src/xlat/ifstats_af_spec_mpls_attrs.in: New file. + * src/xlat/ifstats_attr_flags.in: Likewise. + * src/xlat/ifstats_attrs.in: Likewise. + * src/xlat/ifstats_offload_attrs.in: Likewise. + * src/xlat/ifstats_xstats_bond_3ad_attrs.in: Likewise. + * src/xlat/ifstats_xstats_bond_attrs.in: Likewise. + * src/xlat/ifstats_xstats_bridge_attrs.in: Likewise. + * src/xlat/ifstats_xstats_bridge_mcast_indices.in: Likewise. + * src/xlat/ifstats_xstats_type_attrs.in: Likewise. + * src/xlat/nl_bridge_vlan_flags.in: Likewise. + * bundled/linux/include/uapi/linux/if_bonding.h: New file, copied from + headers_install'ed Linux kernel v5.15. + * bundled/linux/include/uapi/linux/mpls.h: Likewise. + * bundled/Makefile.am (EXTRA_DIST): Add them. + * src/rtnl_stats.c: New file. + * src/Makefile.am (strace_SOURCES): Add it. + * src/netlink_route.c (route_decoders) <RTM_NEWSTATS - RTM_BASE, + RTM_GETSTATS - RTM_BASE>: New decoder, call decode_ifstatsmsg. + * src/netlink_route.h (decode_ifstatsmsg): New declaration. + * src/nlattr.h (DECL_NLA(rtnl_link_stats64)): Likewise. + * src/rtnl_link.c (decode_nla_rtnl_link_stats64): Rename from + decode_rtnl_link_stats64. + (ifinfomsg_nla_decoders) <IFLA_STATS64>: Use + decode_nla_rtnl_link_stats64. + * src/print_fields.h (PRINT_FIELD_ARRAY_INDEXED): New macro. + * tests/nlattr_ifstats.c: New file. + * tests/nlattr_ifstats-Xabbrev.c: Likewise. + * tests/nlattr_ifstats-Xraw.c: Likewise. + * tests/nlattr_ifstats-Xverbose.c: Likewise. + * tests/.gitignore: Add nlattr_ifstats, nlattr_ifstats-Xabbrev, + nlattr_ifstats-Xraw, and nlattr_ifstats-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (nlattr_ifstats, nlattr_ifstats-Xabbrev, + nlattr_ifstats-Xraw, nlattr_ifstats-Xverbose): New tests. + * tests/netlink_route.c: Update/add checks for the RTM_*STATS message + types. + * NEWS: Mention it. + +2021-11-07 Dmitry V. Levin <ldv@strace.io> + + Assume linux/nexthop.h is bundled. + * configure.ac (AC_CHECK_HEADERS): Remove linux/nexthop.h. + * src/xlat/rtnl_nexthop_attrs.in: Add #unconditional, remove #enum, + do not include <linux/nexthop.h>. + * src/xlat/rtnl_nexthop_grp_types.in: Likewise. + * src/xlat/rtnl_nha_res_bucket_attrs.in: Likewise. + * src/xlat/rtnl_nha_res_group_attrs.in: Likewise. + * tests/netlink_route.c: Include <linux/nexthop.h> unconditionally, + do not define struct_nhmsg, use struct nhmsg instead. + * tests/nlattr_nhmsg.c: Include <linux/nexthop.h> unconditionally, + do not define struct nhmsg and struct nexthop_grp. + + Complements: v5.14-90-gb17393bc3 "netlink_route: implement RTM_{NEW,DEL,GET}NEXTHOP decoding" + +2021-11-06 Dmitry V. Levin <ldv@strace.io> + + xlat/gen.sh: generate assertion checks for #unconditional xlats. + * src/xlat/gen.sh: When fallback definitions are specified for xlats + marked as #unconditional, treat them as expected values and generate + assertion checks. + +2021-11-05 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/test_nlattr.h: add TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_ + * tests/test_nlattr.h (TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_): Rename + from TEST_NESTED_NLATTR_OBJECT_EX_, add minsz_ parameter, + use it for the short read check. + (TEST_NESTED_NLATTR_OBJECT_EX_): New macro, a thin wrapper around + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_. + + test_nlattr.h: add check_u64_nlattr. + * tests/test_nlattr.h: Include <inttypes.h>. + (check_u64_nlattr): New function, defined using + the DEF_NLATTR_INTEGER_CHECK_ macro. + + tests: add fill_memory64_ex, fill_memory64. + * tests/fill_memory.c (fill_memory64_ex, fill_memory64): New functions. + * tests/tests.h (fill_memory64_ex, fill_memory64): New declarations. + +2021-11-05 Dmitry V. Levin <ldv@strace.io> + + Use loop initial declarations. + This make the code easier to read. + + * src/bpf.c (decode_attr_extra_data): Use "for" loop initial + declarations. + * src/count.c (call_summary): Likewise. + * src/dm.c (dm_decode_dm_target_spec, dm_decode_dm_name_list, + dm_decode_dm_target_versions): Likewise. + * src/dyxlat.c (dyxlat_free, dyxlat_add_pair): Likewise. + * src/filter_qualify.c (parse_poke_token): Likewise. + * src/filter_seccomp.c (check_seccomp_order_tracer): Likewise. + * src/ipc.c (SYS_FUNC(ipc)): Likewise. + * src/kexec.c (print_seg): Likewise. + * src/kvm.c (kvm_vcpu_info_free): Likewise. + * src/linux/alpha/get_syscall_args.c (arch_get_syscall_args): Likewise. + * src/linux/arc/get_syscall_args.c (arch_get_syscall_args): Likewise. + * src/linux/bfin/get_syscall_args.c (arch_get_syscall_args): Likewise. + * src/linux/ia64/get_syscall_args.c (arch_get_syscall_args): Likewise. + * src/linux/metag/get_syscall_args.c (arch_get_syscall_args): Likewise. + * src/linux/microblaze/get_syscall_args.c (arch_get_syscall_args): + Likewise. + * src/mmap_notify.c (mmap_notify_report): Likewise. + * src/mmsghdr.c (dumpiov_in_mmsghdr): Likewise. + * src/nlattr.c (decode_nlattr): Likewise. + * src/number_set.c (clear_number_set_array, invert_number_set_array): + Likewise. + * src/pathtrace.c (pathmatch, pathtrace_match_set): Likewise. + * src/poll.c (decode_poll_exiting): Likewise. + * src/signal.c (sprintsigmask_n): Likewise. + * src/sockaddr.c (print_sockaddr_data_ll): Likewise. + * src/socketutils.c (unix_parse_response, get_proto_by_name, + get_sockaddr_by_inode_uncached, genl_parse_families_response): Likewise. + * src/strace.c (expand_tcbtab, alloctcb, droptcb, startup_attach, + redirect_standard_fds, cleanup): Likewise. + * src/syscall.c (decode_socket_subcall, decode_ipc_subcall): Likewise. + * src/term.c (decode_termio): Likewise. + * src/util.c (dumpiov_upto): Likewise. + * src/v4l2.c (print_pixelformat): Likewise. + * tests/add_key.c (main): Likewise. + * tests/attach-f-p.c (main): Likewise. + * tests/btrfs.c (max_flags_plus_one, btrfs_print_qgroup_inherit, + btrfs_test_subvol_ioctls, btrfs_print_tree_search_buf, + btrfs_test_space_info_ioctl, btrfs_test_ino_path_ioctls, + btrfs_test_get_dev_stats_ioctl, btrfs_test_read_ioctls): Likewise. + * tests/count-f.c (thread, process, main): Likewise. + * tests/fanotify_init.c (main): Likewise. + * tests/fanotify_mark.c (main): Likewise. + * tests/file_handle.c (main): Likewise. + * tests/fill_memory.c (fill_memory_ex, fill_memory16_ex, + fill_memory32_ex): Likewise. + * tests/filter-unavailable.c (process, main): Likewise. + * tests/futex.c (invalid_op, main): Likewise. + * tests/get_mempolicy.c (print_nodes): Likewise. + * tests/group_req.c (main): Likewise. + * tests/hexdump_strdup.c (hexdump_memdup): Likewise. + * tests/hexquote_strndup.c (hexquote_strndup): Likewise. + * tests/inet-cmsg.c (print_opts, main): Likewise. + * tests/init_delete_module.h (print_str): Likewise. + * tests/ioctl_block.c (main): Likewise. + * tests/ioctl_dm.c (main): Likewise. + * tests/ioctl_evdev.c (main): Likewise. + * tests/ioctl_v4l2.c (init_v4l2_format, dprint_ioctl_v4l2): Likewise. + * tests/ip_mreq.c (main): Likewise. + * tests/ipc.c (main): Likewise. + * tests/kcmp.c (main): Likewise. + * tests/kexec_file_load.c (main): Likewise. + * tests/kexec_load.c (main): Likewise. + * tests/keyctl.c (do_keyctl, main): Likewise. + * tests/ksysent.c (main): Likewise. + * tests/list_sigaction_signum.c (main): Likewise. + * tests/mincore.c (print_mincore): Likewise. + * tests/mmsg_name.c (test_mmsg_name): Likewise. + * tests/move_pages.c (print_page_array, print_node_array, + print_status_array): Likewise. + * tests/mq_sendrecv.c (printstr, dumpstr): Likewise. + * tests/msg_control.c (print_fds, test_scm_rights3, test_sol_socket, + print_ip_opts, test_ip_opts): Likewise. + * tests/netlink_protocol.c (send_query): Likewise. + * tests/nlattr.c (test_nlattr): Likewise. + * tests/nlattr_ifla_linkinfo.c (TEST_UNKNOWN_TUNNELS): Likewise. + * tests/nlattr_rtmsg.c (print_quoted_hex_ellipsis): Likewise. + * tests/perf_event_open.c (main): Likewise. + * tests/perf_event_open_nonverbose.c (main): Likewise. + * tests/pkey_alloc.c (main): Likewise. + * tests/pkey_free.c (main): Likewise. + * tests/pkey_mprotect.c (main): Likewise. + * tests/poll.c (print_pollfd_array_entering, + print_pollfd_array_exiting): Likewise. + * tests/prctl-arg2-intptr.c (main): Likewise. + * tests/prctl-name.c (main): Likewise. + * tests/pread64-pwrite64.c (dump_str, print_hex, test_dump, main): + Likewise. + * tests/preadv.c (print_iov, print_iovec): Likewise. + * tests/print_quoted_string.c (print_quoted_memory_ex, + print_quoted_hex): Likewise. + * tests/process_vm_readv_writev.c (print_iov): Likewise. + * tests/pwritev.c (print_iovec, main): Likewise. + * tests/qual_fault.c (main): Likewise. + * tests/qual_signal.c (main): Likewise. + * tests/read-write.c (dump_str_ex, print_hex, test_dump, main): + Likewise. + * tests/readahead.c (main): Likewise. + * tests/redirect-fds.c (main): Likewise. + * tests/request_key.c (main): Likewise. + * tests/rt_sigsuspend.c (iterate): Likewise. + * tests/s390_pci_mmio_read_write.c (main): Likewise. + * tests/s390_runtime_instr.c (main): Likewise. + * tests/seccomp-filter-v.c (main): Likewise. + * tests/seccomp_get_action_avail.c (main): Likewise. + * tests/set_mempolicy.c (print_nodes): Likewise. + * tests/setfsugid.c (main): Likewise. + * tests/setns.c (main): Likewise. + * tests/setresugid.c (main): Likewise. + * tests/setreugid.c (main): Likewise. + * tests/setugid.c (main): Likewise. + * tests/socketcall.c (main): Likewise. + * tests/sockopt-sol_netlink.c (main): Likewise. + * tests/test_nlattr.h (print_sockfd): Likewise. + * tests/test_printpath.c (test_printpath_at, test_printpath): Likewise. + * tests/test_printstrn.c (test_printstrn_at, test_efault, + test_printstrn): Likewise. + * tests/unix-pair-send-recv.c (transpose): Likewise. + * tests/unix-pair-sendto-recvfrom.c (transpose): Likewise. + * tests/unshare.c (main): Likewise. + * tests/xchownx.c (main): Likewise. + +2021-11-04 Dmitry V. Levin <ldv@strace.io> + + ci: use kernel headers from Linux kernel v5.15. + * .github/workflows/ci.yml (env): Change KBRANCH from v5.14 to v5.15. + * .gitlab-ci.yml (variables): Likewise. + * .travis.yml (env:global): Likewise. + +2021-11-03 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/times: calculate nanoseconds more accurately. + After the increase of the CPU time limit in v5.14-31-gbe5657c47 + "tests/times: try to burn more system time", the comparisons against + limit became incorrect, as triple the child CPU limit is more than + one second. + + * tests/times.c (nsecs): New function. + (enjoy_time): Use it. + +2021-11-03 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/times: sequentialise time enjoyment. + Factor out the time enjoyment routine and call it first in the parent, + and then, after the fork, in the child only. + + This should hopefully help the kernel to do proper time accounting. + + * tests/times.c (enjoy_time): New function. + (main): Call it before the fork and after the fork in the child. + +2021-11-03 Eugene Syromyatnikov <evgsyr@gmail.com> + Dmitry V. Levin <ldv@strace.io> + + tests: avoid zero userspace time. + Spawned child can return early due to fast dummy increment loop, leading + to zero cutime/cstime. That, in turn, breaks enhanced clock_t printing + check, that relies on the fact that the printed fields are non-zero. + + * tests/times.c (NUM_USER_ITERS_SQRT): Increase to 2000. + (main): Convert userpace CPU time wasting loop into a for loop iterating + over i up to NUM_USER_ITERS_SQRT, make internal loop iterate over + a separate variable, no longer treat zero + clock_getttime(CLOCK_PROCESS_CPUTIME_ID) as a reason to skip the check + (just let the for loop finish). + +2021-11-03 Eugene Syromyatnikov <evgsyr@gmail.com> + + sockaddr: print struct sockaddr_ipx.sipx_zero if it is non-zero. + * src/sockaddr.c (print_sockaddr_data_ipx): Print sipx_zero field + if it is non-zero. + * tests/net-sockaddr.c (check_ipx): Add a check for sipx_zero field + printing. + * NEWS: Mention it. + +2021-11-03 Eugene Syromyatnikov <evgsyr@gmail.com> + + Avoid relying on presence of ipx.h. + After Linux has broken UAPI in commit v5.15-rc1~157^2~207, it is well + possible that neither kernel nor libc (such as musl, for example) + provides an IPX-related header. Avoid relying on its presence + in the strace's code and conditionalise the relevant checks in the tests. + + * configure.ac (AC_CHECK_HEADERS): Add linux/ipx.h. + * src/net.c: Remove <netipx/ipx.h>/<linux/ipx.h> includes. + * src/sockaddr.c: Likewise. + (IPX_NODE_LEN): New macro constant. + (struct sockaddr_ipx): New type definition. + * src/xlat/sock_ipx_options.in (IPX_TYPE): Provide a fallback value. + * tests/net-sockaddr.c !HAVE_LINUX_IPX_H: Do not include + <linux/ipx.h>. + !HAVE_LINUX_IPX_H && HAVE_NETIPX_IPX_H: Include <netipx/ipx.h>. + !(HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H) (check_ipx): Do not + define. + (main) !(HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H): Do not call + check_ipx. + + Closes: https://github.com/strace/strace/issues/201 + +2021-10-14 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/netlink_route.c: consistently check decoding of known message types + * tests/netlink_route.c (TEST_NL_ROUTE_): Rename from TEST_NL_ROUTE, add + type_str_ argument. + (TEST_NL_ROUTE): New macro, a wrapper for TEST_NL_ROUTE_. + (test_rtnl_link, test_rtnl_addr, test_rtnl_route, test_rtnl_rule, + test_rtnl_neigh, test_rtnl_neightbl, test_rtnl_tc, test_rtnl_tca, + test_rtnl_addrlabel, test_rtnl_dcb, test_rtnl_netconf, test_rtnl_mdb, + test_rtnl_nsid, test_rtnl_nexthop): Add types constant that contains + list of all message types that are decoded using the checked struct, + iterate TEST_NL_ROUTE_/TEST_NETLINK_ check over it. + + tests/netlink_route.c: check for unknown and unsupported message types. + * tests/netlink_route.c (test_rtnl_unsupported_msg, + test_rtnl_unknown_msg): New functions. + (test_rtnl_addr, test_rtnl_route, test_rtnl_rule, test_rtnl_neigh, + test_rtnl_neightbl, test_rtnl_tc, test_rtnl_tca, test_rtnl_addrlabel, + test_rtnl_dcb, test_rtnl_netconf, test_rtnl_mdb, test_rtnl_nsid): Add + checks for unknown message types in the same message type group. + (main): Re-order calls in accordance with starting message type number; + add checks for unsupported message type groups. + + nl_route_types: add RTM_NEWCACHEREPORT. + * src/xlat/nl_route_types.in (RTM_NEWCACHEREPORT): New constant, added + by Linux commit v4.13-rc1~157^2~129^2~3. + * NEWS: Mention it. + +2021-10-14 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_route: reorder route_decoders items. + For some reason, its order differs from the order of items in the + corresponding enum in rtnetlink.h. Moreover, as a result of the + reorder, a couple of message types with missing decoders are unraveled. + + * src/netlink_route.c (route_decoders): Put in ascending order, add + comments for the RTM_* messages with missing decoders. + +2021-10-14 Eugene Syromyatnikov <evgsyr@gmail.com> + + netlink_route: implement RTM_{NEW,DEL,GET}NEXTHOP decoding. + * bundled/linux/include/uapi/linux/nexthop.h: Add version at Linux commit + v5.13-rc1~94^2~581^2~10. + * bundled/Makefile.am (EXTRA_DIST): Add it. + * configure.ac (AC_CHECK_HEADERS): Add linux/nexthop.h. + * src/Makefile.am (libstrace_a_SOURCES): Add rtnl_nh.c. + * src/defs.h (route_nexthop_flags, routing_protocols): New declarations. + * src/netlink_route.c (route_decoders) <RTM_NEWNEXTHOP - RTM_BASE, + RTM_DELNEXTHOP - RTM_BASE, RTM_GETNEXTHOP - RTM_BASE>: Decode using + decode_nhmsg. + * src/netlink_route.h (DECL_NETLINK_ROUTE_DECODER(decode_nhmsg)): New + declaration. + * src/rtnl_nh.c: New file. + * src/xlat/rtnl_nexthop_attrs.in: Likewise. + * src/xlat/rtnl_nexthop_grp_types.in: Likewise. + * src/xlat/rtnl_nha_res_bucket_attrs.in: Likewise. + * src/xlat/rtnl_nha_res_group_attrs.in: Likewise. + * tests/.gitignore: Add nlattr_nhmsg, nlattr_nhmsg-Xabbrev, + nlattr_nhmsg-Xraw, and nlattr_nhmsg-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (nlattr_nhmsg, nlattr_nhmsg-Xabbrev, + nlattr_nhmsg-Xraw, nlattr_nhmsg-Xverbose): New tests. + * tests/netlink_route.c: Add checks for struct nhmsg (RTM_NEWNEXTHOP, + RTM_DELNEXTHOP, and RTM_GETNEXTHOP) messages. + * tests/nlattr_nhmsg.c: New file. + * tests/nlattr_nhmsg-Xabbrev.c: Likewise. + * tests/nlattr_nhmsg-Xraw.c: Likewise. + * tests/nlattr_nhmsg-Xverbose.c: Likewise. + * NEWS: Mention it. + +2021-10-14 Eugene Syromyatnikov <evgsyr@gmail.com> + + ioctl: fix printing of ioctl numbers in -Xverbose mode. + When NULL is passed as dflt to printflags, nothing is printed at all + if flags is 0. (Ab)use the fact that comment printing is not triggered + for an empty string and pass "" instead of NULL. + + * src/ioctl.c (ioctl_print_code, evdev_decode_number, + evdev_decode_number): Pass "" as dflt instead of NULL if abbrev is false. + + Fixes: v5.3~10 "ioctl: do not print comments twice in -Xverbose" + +2021-10-13 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: update and provide fallback values to sysctl_* xlats. + * src/xlat/sysctl_kern.in: Remove #(un)conditional, add #value_indexed, + add fallback values. + (KERN_NRINODE, KERN_MAXINODE, KERN_NRFILE, KERN_MAXFILE, KERN_MAXID, + KERN_CAP_BSET, KERN_NFSRNAME, KERN_NFSRADDRS, KERN_JAVA_INTERPRETER, + KERN_JAVA_APPLETVIEWER): New constants. + * src/xlat/sysctl_net.in: Remove #(un)conditional, add #sorted, add + fallback values. + * src/xlat/sysctl_net_core.in: Remove #(un)conditional, add #value_indexed, + add fallback values. + * src/xlat/sysctl_net_ipv4.in: Remove #(un)conditional, replace #sorted + with #value_indexed, add fallback values. + (NET_TCP_WESTWOOD, NET_TCP_VEGAS, NET_TCP_VEGAS_ALPHA, NET_TCP_VEGAS_BETA, + NET_TCP_VEGAS_GAMMA, NET_TCP_BIC, NET_TCP_BIC_FAST_CONVERGENCE, + NET_TCP_BIC_LOW_WINDOW): New constants. + * src/xlat/sysctl_net_ipv4_conf.in: Remove #(un)conditional, + add #value_indexed, add fallback values. + (NET_IPV4_CONF_ACCEPT_LOCAL, NET_IPV4_CONF_SRC_VMARK, + NET_IPV4_CONF_PROXY_ARP_PVLAN): New constants. + * src/xlat/sysctl_net_ipv4_route.in: Remove #(un)conditional, + add #value_indexed, add fallback values. + * src/xlat/sysctl_net_ipv6.in: Remove #(un)conditional, add #sorted, + add fallback values. + * src/xlat/sysctl_net_ipv6_route.in: Remove #(un)conditional, + add #value_indexed, add fallback values. + * src/xlat/sysctl_net_unix.in: Remove #unconditional, add #enum + and #include, add fallback values. + * src/xlat/sysctl_root.in: Remove #(un)conditional, reorder, add #sorted, + add fallback values. + (CTL_INOTIFY. CTL_APPLDATA): New constants. + * src/xlat/sysctl_vm.in: Remove #(un)conditional, add #sorted, add + fallback values. + (VM_UNUSED1, VM_UNUSED2, VM_UNUSED3, VM_UNUSED4, VM_UNUSED5, VM_UNUSED6, + VM_UNUSED7, VM_UNUSED8, VM_UNUSED9, VM_DROP_PAGECACHE, + VM_PERCPU_PAGELIST_FRACTION, VM_ZONE_RECLAIM_MODE, VM_MIN_UNMAPPED, + VM_PANIC_ON_OOM, VM_VDSO_ENABLED, VM_MIN_SLAB, VM_CMM_PAGES, + VM_CMM_TIMED_PAGES, VM_CMM_TIMEOUT): New constants. + +2021-10-13 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat/gen.sh: generate conditional constant sort order check under presence guard + If a constant is conditional and doesn't have a fallback definition, + then its value may be undefined, so the sort order check has to be + generated under constant-presence-checking #if. + + * src/xlat/gen.sh (cond_def): Put #if around the check_sort_order call. + + Fixes: v5.14-75-g5034a5eb4 "xlat/gen.sh: add a compile-time check for sorted xlat order" + +2021-10-12 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> + + Update ioctl entries from linux v5.15. + * src/linux/32/ioctls_inc_align16.h: Update from linux v5.15-rc5 + using ioctls_gen.sh. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewise. + * NEWS: Mention this. + +2021-10-12 Renaud Métrich <rmetrich@redhat.com> + + tests/pc: avoid program from creating a coredump. + * tests/pc.c: Include <sys/prctl.h>. + (main): Clear the dumpable attribute right before raising SIGSEGV. + +2021-10-12 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: mark some big xlats as #sorted. + * src/xlat/nt_descriptor_types.in: Add #sorted. + (NT_FILE, NT_PRXFPREG, NT_SIGINFO): Sort. + (NT_TASKSTRUCT): Remove, as it is overshadowed by NT_PRXREG. + * src/xlat/sock_sctp_options.in: Add #sorted. + * src/xlat/sysctl_net_ipv4.in: Likewise. + * src/xlat/v4l2_control_ids.in: Likewise. + + xlat/sock_packet_options: add PACKET_IGNORE_OUTGOING. + * xlat/sock_packet_options.in (PACKET_IGNORE_OUTGOING): New constant, + introduced by Linux commit v4.19-rc2-323-gfa788d986a3a. + * NEWS: Mention it. + + xlat: add fallback values to sock_packet_options. + * xlat/sock_packet_options.in: Add fallback values, mark the xlat + as value indexed. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add fallback values to sock_ipv6_options. + * xlat/sock_ipv6_options.in: Add fallback values, remove + IPV6_RECVORIGDSTADDR as it is a synonym to IPV6_ORIGDSTADDR, add + "#value_indexed". + + xlat: add fallback values to sock_ip_options. + * src/xlat/sock_ip_options.in: Add fallback values, remove IP_RECVOPTIONS, + IP_RECVRETOPTS, IP_RECVDSTADDR, IP_RECVIFINDEX, IP_BROADCAST_IF that are + not present in Linux, remove IP_RECVORIGDSTADDR as it is synonymous to + IP_ORIGDSTADDR, add "#value_indexed". + + prctl: handle PR_SPEC_L1D_FLUSH PR_GSET_SPECULATION_CTRL prctl sub-command + * src/xlat/pr_spec_cmds.in (PR_SPEC_L1D_FLUSH): New constant, introduced + by Linux commit v5.15-rc1~193^2~1. + * src/prctl.c (SYS_FUNC(prctl)) <case PR_GET_SPECULATION_CTRL, + case PR_SET_SPECULATION_CTRL>: Handle PR_SPEC_L1D_FLUSH in arg2. + * tests/prctl-spec-inject.c (prctl-spec-inject): Adjust expected + "-a" option value. + * tests/prctl-spec-inject.c: Update expected output. + + xlat: add DM_IMA_MEASUREMENT_FLAG to dm_flags. + * src/xlat/dm_flags.in (DM_IMA_MEASUREMENT_FLAG): New constant, + introduced by Linux commit v5.15-rc1~161^2~14. + * tests/ioctl_dm.c: Update expected output. + * NEWS: Mention it. + + xlat: update btrfs_features_compat_ro and btrfs_key_types. + * src/xlat/btrfs_features_compat_ro.in (BTRFS_FEATURE_COMPAT_RO_VERITY): + New constant, introduced by Linux commit v5.15-rc1~35^2~48. + * src/xlat/btrfs_key_types.in (BTRFS_VERITY_DESC_ITEM_KEY, + BTRFS_VERITY_MERKLE_ITEM_KEY): Likewise. + * NEWS: Mention it. + + src/xlat: add #sorted directive to btrfs_key_types. + * src/xlat/btrfs_key_types.in: Add #sorted. + (BTRFS_BALANCE_ITEM_KEY, BTRFS_DEV_STATS_KEY): Remove obsolete + constants that duplicate BTRFS_TEMPORARY_ITEM_KEY + and BTRFS_PERSISTENT_ITEM_KEY, respectively. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat/gen.sh: add a compile-time check for sorted xlat order. + * src/xlat/gen.sh (check_sort_order): New function. + (cond_def): Accept xlat_type parameter, call check_sort_order + if xlat_type is XT_SORTED. + (gen_header): Call check_sort_order for lines that start with "A-Z_*" + (only of $unconditional is set to non-empty string: otherwise, call + is done inside cond_def), "'1<<'A-Z_*", and "0-9*" if xlat_type + is XT_SORTED. + + Suggested-by: Dmitry V. Levin <ldv@strace.io> + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: fix constant order in elf_em. + * src/xlat/elf_em.in (EM_CYGNUS_M32R): Move before EM_CYGNUS_V850. + + Fixes: v5.3~87 "xlat: add elf_em.in" + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: try to avoid excessive filter_seccomp-perf false positives. + Increase test time threefold and relax minimum expected ratio a bit. + + * tests/filter_seccomp-perf.c (main): Set alarm to 3 seconds + instead of 1. + * tests/filter_seccomp-perf.test (min_ratio): Change from 6 to 5. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: try to make pidns-cache test a bit more robust. + Increase SYSCALL_COUNT tenfold in an attempt to get more stable time + measurements. While at it, print some additional information + about the time spent. + + * tests/pidns-cache.c (SYSCALL_COUNT): Change from 1000 to 10000. + (main): Store original run time in orig_us variable, print + it along with the run time under the PID NS test harness in a message + to stderr. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/pidns.c: allow skipping tests inside the pidns harness. + * tests/pidns.c (pidns_fork): Handle exit code 77 from the child. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + block: decode BLKGETDISKSEQ ioctl. + Introduced by Linux commit v5.15-rc1~161^2~41. + + * src/block.c (block_ioctl) <case BLKGETDISKSEQ>: Decode using + printnum_in64. + * src/linux/32/ioctls_inc_align16.h: Add BLKGETDISKSEQ entry. + * src/linux/32/ioctls_inc_align32.h: Likewise. + * src/linux/32/ioctls_inc_align64.h: Likewise. + * src/linux/64/ioctls_inc.h: Likewise. + * src/linux/x32/ioctls_inc0.h: Likewse. + * tests/ioctl_block.c: Add a check for NULL pointer for BLKGETDISKSEQ. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add FAN_REPORT_PIDFD to fan_init_flags. + * src/xlat/fan_init_flags.in (FAN_REPORT_PIDFD): New constant, + introduced by Linux commit v5.15-rc1~219^2~4. + * tests/fanotify_init.c: Update expected output. + * NEWS: Mention this. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: implement IORING_REGISTER_IOWQ_MAX_WORKERS op decoding. + Introduced by Linux commit v5.15-rc1~83^2~22. + + * src/xlat/uring_iowq_acct.in: New file. + * src/io_uring.c: Include "xlat/uring_iowq_acct.h". + (print_io_uring_iowq_acct): New function. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_IOWQ_MAX_WORKERS>: + Decode, call print_io_uring_iowq_acct. + * src/xlat/uring_register_opcodes.in (IORING_REGISTER_IOWQ_MAX_WORKERS): + New constant. + * tests/io_uring_register.c: Update expected output, add + IORING_REGISTER_IOWQ_MAX_WORKERS checks. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add io_uring_register-success* tests. + * tests/.gitignore: Add io_uring_register-success, + io_uring_register-success-Xabbrev, io_uring_register-success-Xraw, + and io_uring_register-success-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Likewise. + * tests/gen_tests.in (io_uring_register-success, + io_uring_register-success-Xabbrev, io_uring_register-success-Xraw, + io_uring_register-success-Xverbose): New tests. + * tests/io_uring_register-success-Xabbrev.c: New file. + * tests/io_uring_register-success-Xraw.c: Likewise. + * tests/io_uring_register-success-Xverbose.c: Likewise. + * tests/io_uring_register-success.c: Likewise. + * tests/io_uring_register.c: Update expected output. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: print struct io_cqring_offsets.flags as integer and not flags. + Since this is the offset of the cq_flags field in struct io_rings + and not the flags themselves. + + * src/xlat/uring_cqring_flags.in: Remove. + * src/io_uring.c: Remove "xlat/uring_cqring_flags.h" include. + (print_io_cqring_offsets): Print flags using PRINT_FIELD_U. + * tests/io_uring_setup.c: Remove "xlat/uring_cqring_flags.h"; update + expected output. + + Fixes: v5.8~57 "io_uring: Add io_cqring_offset flags" + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: cap io_uring_probe element count to nargs on exiting. + While a sane kernel would set ops_len to a sane value, its tampering + may lead to strace reading out of probe value bounds. While at it, + set PAF_ARRAY_TRUNCATED in cases when nargs is less than probe->ops_len. + + * src/io_uring.c (print_io_uring_probe): Print minimum of nargs and + probe->ops_len probe->ops array elements on exiting, set + PAF_ARRAY_TRUNCATED flag if nargs is less than probe->ops_len. + + Fixes: v5.6~94 "io_uring: support IORING_REGISTER_PROBE io_uring_register command" + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: print ellipsis inside an empty array if PAF_ARRAY_TRUNCATED is set + * src/util.c (print_array_ex) <!nmemb>: Call tprint_more_data_follows() + if PAF_ARRAY_TRUNCATED is set in flags. + + io_uring: decode IORING_REGISTER_IOWQ_AFF io_uring_register op. + * src/io_uring.c (SYS_FUNC(io_uring_register)) + <case IORING_REGISTER_IOWQ_AFF>: Decode, call print_affinitylist. + * tests/io_uring_register.c: Add checks for IORING_REGISTER_IOWQ_AFF op + deocding. + + xlat: update printxvals_ex doxygen. + * src/xlat.c (printxvals_ex): Update the doxygen comment. + + tests/sched_xetaffinity: add a check for a non-properly-sized CPU set. + * tests/sched_xetaffinity.c: Add a check for sched_setaffinity with size + of 7 bytes. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + affinity: make print_affinitylist externally available. + As it is to be used in other files. + + * src/affinity.c (print_affinitylist): Remove "static" qualifier. + * src/defs.h (print_affinitylist): New declaration. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + affinity: print cpuset of len 0 as "" + To be consistent with print_array_ex behaviour. + + * src/affinity.c (print_affinitylist): Handle "!len" and "!cpu" cases + separately; print "" in the former. + * tests/sched_xetaffinity.c: Add a check for a cpuset of size 0. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + affinity: use MIN and ROUNDUP macros in print_affinitylist. + * src/affinity.c (print_affinitylist): Use MIN macro to calculate + umove_size; use ROUNDUP macro to calculate size. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: no longer interpret NULL xlat as continuation. + This feature, originally introduced by commit v4.23~52 "xlat.c: + handle NULL xlat in lookup routines as incremental search", was + poorly documented, was of limited use (the only use case was in + print_array_ex, introduced in commit v4.23~91 "print_array: add + support for printing array indices" (which means that between + the two aforementioned commits printing xlats in indices was + broken)), of limited value (it was actually useful only for sorted + xlats, which are lg2(N) anyway, and even there an iteration + from the saved cursor position is preferable for search continuation + rather than bsearch), and ultimately was rendered non-operational + by commit v5.3~105 "Add xlat description structure". + + * src/util.c (print_array_ex): Do not pass NULL as xlat in printxval_ex + call. + * src/xlat.c (xlookup): Remove x local static variable; remove static + qualifier from idx and init it to 0; remove x, idx initialisation when + xlat in non-NULL; remove xlat argument to x. + (printxvals_ex): Remove the last local static variable and related + logic. + + Reverts: v4.23~52 "xlat.c: handle NULL xlat in lookup routines as incremental search" + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: decode struct io_uring_rsrc_register and io_uring_rsrc_update2 + * src/io_uring.c (print_io_uring_rsrc_data, print_io_uring_rsrc_tags, + print_io_uring_register_rsrc, print_io_uring_update_rsrc): New functions. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_FILES2, + case IORING_REGISTER_BUFFERS2>: Call print_io_uring_register_rsrc. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_FILES_UPDATE2, + case IORING_REGISTER_BUFFERS_UPDATE>: Call print_io_uring_update_rsrc. + * tests/io_uring_register.c (BIG_ADDR_MASK): New macro. + (path_null, path_full): New constants, moved out of main. + (print_rsrc_data, print_rsrc_tags): New functions. + (main): Add checks for new decoders. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: decode IORING_REGISTER_FILES_SKIP in IORING_REGISTER_FILES_UPDATE + Introduced by Linux commit v5.12~270^2~95. + + * src/xlat/uring_files_update_fds.in: New file. + * src/io_uring.c (print_files_update_array_member): New function. + (print_io_uring_files_update): Use print_files_update_array_member + instead of print_fd_array_member. + * tests/io_uring_register.c: Add checks for printing of fds -1, -2, -3. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + io_uring: deсode IORING_REGISTER_RESTRICTIONS io_uring_register op. + Implemented in Linux commit v5.10-rc1~167^2~51. + + * src/io_uring.c (print_io_uring_restriction, + print_io_uring_restrictions): New functions. + (SYS_FUNC(io_uring_register)) <case IORING_REGISTER_RESTRICTIONS>: + New decoder, calls print_io_uring_restrictions. + * src/xlat/uring_restriction_opcodes.in: New file. + * src/xlat/uring_sqe_flags.in: Likewise. + * tests/io_uring_register.c: Add checks + for IORING_REGISTER_RESTRICTIONS. + * NES: Mention this. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + src: use is_bigendian. + * src/disable_ptrace_request.c (ARG_OFFSET): Remove. + (main): Use is_bigendian-conditioned ternary operator + instead of ARG_OFFSET. + * src/sockaddr.c (btohs): Conditionalise return value on is_bigendian + value. + + tests: add io_uring_register-X* tests. + * tests/.gitignore: Add io_uring_register-Xabbrev, + io_uring_register-Xraw, and io_uring_register-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (io_uring_register-Xabbrev, + io_uring_register-Xraw, io_uring_register-Xverbose): Add tests. + * tests/io_uring_register-Xabbrev.c: New file. + * tests/io_uring_register-Xraw.c: Likewise. + * tests/io_uring_register-Xverbose.c: Likewise. + * tests/io_uring_register.c: Update to produce output in accordance + with XLAT_* definitions presence. + + xlat: update uring_ops. + * src/xlat/uring_ops.in (IORING_OP_MKDIRAT): New constant, introduced + by Linux commit v5.15-rc1~184^2~2. + (IORING_OP_SYMLINKAT): New constant, introduced by Linux commit + v5.15-rc1~184^2~1. + (IORING_OP_LINKAT): New constant, introduced by Linux commit + v5.15-rc1~184^2. + * tests/io_uring_register.c: Update expected output. + * NEWS: Mention it. + + io_uring: explicitly list io_uring_register ops without arg. + * src/io_uring.c (SYS_FUNC(io_uring_register)): Add + IORING_UNREGISTER_BUFFERS, IORING_UNREGISTER_FILES, + IORING_UNREGISTER_EVENTFD, IORING_REGISTER_PERSONALITY, + IORING_UNREGISTER_PERSONALITY, IORING_REGISTER_ENABLE_RINGS, + and IORING_UNREGISTER_IOWQ_AFF to the opcode switch statement. + * tests/io_uring_register.c: Add checks for IORING_REGISTER_ENABLE_RINGS + and IORING_UNREGISTER_IOWQ_AFF. + + io_uring: sort xlat includes lexicographically. + * src/io_uring.c: Move "xlat/uring_enter_flags.h" + and "xlat/uring_cqring_flags.h" forward to establish a lexicographical + order of includes. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + defs: update print_array_ex doxygen. + This change updates the description of index_xlat (as xlat is no longer + a naked array, but rather a description structure), removes index_xlat_size + description, and adds description for the return value semantics. + Interestingly, the change that introduced index_xlat_size description + (v5.3~15 "Add support for printing local arrays to print_array") was + applied after the change that removed the argument (v5.3~105 "Add xlat + description structure"). + + Complements: v5.3~15 "Add support for printing local arrays to print_array" + + * src/defs.h (print_array_ex): Update description. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: unify differently-sized variants of print_{,u,x}int_array_member. + Different functions are more or less unnecessary, since the argument + size is passed in elem_size parameter anyway, and without any check + of it the only thing differently-sized function variants do is concealing + the discrepancies between the printed and fetched element size (as it + was with bpf_prog_info.map_ids). + + All the callers are updated automatically using + + sed -i 's/print_\(xu\)\?int\(8\|16\|32\|64\)_array_member/print_\1int_array_member/g' \ + `git grep -l 'print_.*int.*_array_member'` + + with additional manual cleanup in src/linux/*/arch_*.c. + + * src/defs.h (print_int8_array_member, print_uint8_array_member, + print_xint8_array_member, print_int32_array_member, + print_uint32_array_member, print_xint32_array_member, + print_uint64_array_member, print_xint64_array_member, + print_xlong_array_member, print_kulong_array_member): Remove. + (print_int_array_member, print_uint_array_member, + print_xint_array_member): New declarations. + * src/util.c (print_int8_array_member, print_uint8_array_member, + print_xint8_array_member, print_int32_array_member, + print_uint32_array_member, print_xint32_array_member, + print_uint64_array_member, print_xint64_array_member): Remove. + (print_int_array_member, print_uint_array_member, + print_xint_array_member): New functions. + * src/bpf.c (print_bpf_prog_info, + BEGIN_BPF_CMD_DECODER(BPF_PROG_QUERY)): Use print_uint_array_member + instead of print_uint32_array_member. + * src/btrfs.c (btrfs_print_qgroup_inherit): Use print_uint_array_member + instead of print_uint64_array_member. + * src/clone.c (SYS_FUNC(clone3)): Use print_int_array_member instead + of print_int32_array_member. + * src/evdev.c (decode_bitset): Use print_xint_array_member instead + of print_xlong_array_member. + (mtslots_ioctl): Use print_int_array_member instead + of print_int32_array_member. + * src/gpio_ioctl.c (print_gpiohandle_request): Use + print_uint_array_member instead of print_uint32_array_member + and print_uint8_array_member. + (print_gpiohandle_data, print_gpiohandle_set_config): Use + print_uint_array_member instead of print_uint8_array_member. + (print_gpio_v2_line_request): Use print_uint_array_member instead + of print_uint32_array_member. + * src/io_uring.c (SYS_FUNC(io_uring_setup), print_io_uring_probe): Use + print_xint_array_member instead of print_xint32_array_member. + * src/keyctl.c (keyctl_dh_compute, print_pkey_query, + fetch_print_pkey_params): Likewise. + * src/msghdr.c (print_cmsg_uint): Use print_uint_array_member instead + of print_uint32_array_member. + (print_cmsg_xint8_t): Use print_xint_array_member instead + of print_xint8_array_member. + * src/mtd.c (print_xint32x2_array_member, decode_nand_oobinfo, + decode_nand_ecclayout_user): Use print_xint_array_member instead + of print_xint32_array_member. + * src/net.c (print_getsockopt): Use print_uint_array_member instead + of print_uint32_array_member. + * src/nlattr.c (decode_nla_meminfo): Likewise. + * src/numa.c (SYS_FUNC(move_pages)): Use print_int_array_member instead + of print_int32_array_member. + * src/perf_ioctl.c (perf_ioctl_query_bpf): Use print_uint_array_member + instead of print_uint32_array_member. + * src/print_statfs.c (print_f_fsid): Use print_xint_array_member instead + of print_xint64_array_member. + * src/ptrace_syscall_info.c (print_psi_entry, print_psi_seccomp): + Likewise. + * src/rtnl_link.c (decode_ifla_bridge_id): Use print_uint_array_member + instead of print_uint8_array_member. + (decode_ifla_inet_conf, decode_ifla_inet6_conf): Use + print_int_array_member instead of print_int32_array_member. + (decode_ifla_inet6_stats, decode_ifla_inet6_icmp6_stats): Use + print_uint_array_member instead of print_uint64_array_member. + * src/seccomp_ioctl.c (print_struct_seccomp_data): Use + print_xint_array_member instead of print_xint64_array_member. + * src/sysinfo.c (SYS_FUNC(sysinfo)): Use print_uint_array_member instead + of print_kulong_array_member. + * src/v4l2.c (print_v4l2_queryctrl): Use print_xint_array_member instead + of print_xint32_array_member. + (print_v4l2_query_ext_ctrl): Use print_uint_array_member instead + of print_uint32_array_member; use print_xint_array_member instead + of print_xint32_array_member. + * src/linux/aarch64/arch_prstatus_regset.c + (arch_decode_prstatus_regset): Use print_xint_array_member instead + of print_xint64_array_member. + * src/linux/arm/arch_prstatus_regset.c (arch_decode_prstatus_regset): + Use print_xint_array_member instead of print_xint32_array_member. + * src/linux/i386/arch_fpregset.c (arch_decode_fpregset): Likewise. + * src/linux/mips/arch_prstatus_regset.c (arch_decode_prstatus_regset): + Use print_xint_array_member instead of print_xint32_array_member + and print_xint64_array_member. + * src/linux/mips/arch_pt_regs.c (arch_decode_pt_regs): Use + print_xint_array_member instead of print_xint64_array_member. + * src/linux/powerpc/arch_fpregset.c (arch_decode_fpregset): Likewise. + * src/linux/powerpc/arch_prstatus_regset.c (arch_decode_prstatus_regset): + Use print_xint_array_member instead of print_xint32_array_member + and print_xint64_array_member. + * src/linux/powerpc/arch_pt_regs64.c (decode_pt_regs64): Use + print_xint_array_member instead of print_xint64_array_member + * src/linux/s390/arch_prstatus_regset.c (arch_decode_prstatus_regset): + Use print_xint_array_member instead of print_xint32_array_member + and print_xint64_array_member. + (arch_decode_prstatus_regset): Use print_xint_array_member instead + of print_xint32_array_member. + * src/linux/sparc/arch_prstatus_regset.c (arch_decode_prstatus_regset): + Use print_xint_array_member instead of print_xint32_array_member. + * src/linux/sparc/arch_pt_regs.c (arch_decode_pt_regs): Likewise. + * src/linux/sparc64/arch_prstatus_regset.c + (arch_decode_prstatus_regset): Use print_xint_array_member instead + of print_xint64_array_member. + * src/linux/sparc64/arch_pt_regs64.c (decode_pt_regs64): Likewise. + * src/linux/x86_64/arch_fpregset.c (arch_decode_fpregset): Use + print_xint_array_member instead of print_xint32_array_member. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + bpf: fix bpf_prog_info.map_ids array printing. + map_id_buf had an incorrect storage size (8 bytes instead of 4), which led + to incorrect fetching of map_ids array elements, so only odd/even-indexed + elements (on big/little-endian architectures, respectively) were printed. + + * src/bpf.c (print_bpf_prog_info): Change map_id_buf type from uint64_t + to uint32_t. + * tests/bpf-obj_get_info_by_fd.c: Create second bpf map, use it in the + bpf program, and add additional checks regarding map_ids printing. + * NEWS: Mention this. + + Fixes: v4.23~99 "bpf: decode bpf_attr.info field used by BPF_OBJ_GET_INFO_BY_FD command" + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + Decode process_mrelease syscall. + Introduced by Linux commits v5.14-159-g884a7e5964e0 + and v5.14-160-gdce491039628. + + * src/linux/generic/syscallent-common.h (BASE_NR + 448): Add + process_mrelease syscall entry. + * src/mem.c (SYS_FUNC(process_mrelease)): New syscall decoder. + * tests/.gitignore: Add process_mrelease and process_mrelease-y. + * tests/gen_tests.in (process_mrelease, process_mrelease-y): New tests. + * tests/process_mrelease.c: New file. + * tests/process_mrelease-y.c: Likewise. + * NEWS: Mention it. + +2021-10-11 Eugene Syromyatnikov <evgsyr@gmail.com> + + xlat: add MPOL_PREFERRED_MANY to mpol_modes. + * src/xlat/mpol_modes.in (MPOL_PREFERRED_MANY): New constant, introduced + by Linux commit v5.14-152-gb27abaccf8e8. + * tests/mbind.c: Add MPOL_PREFERRED_MANY check, update expected output. + * tests/set_mempolicy.c: Likewise. + * NEWS: Mention the change. + +2021-10-10 Dmitry V. Levin <ldv@strace.io> + + bundled: update linux UAPI headers to v5.15-rc4. + * bundled/linux/include/uapi/linux/btrfs.h: Update to + headers_install'ed Linux kernel v5.15-rc4. + * bundled/linux/include/uapi/linux/btrfs_tree.h: Likewise. + * bundled/linux/include/uapi/linux/dm-ioctl.h: Likewise. + * bundled/linux/include/uapi/linux/fs.h: Likewise. + * bundled/linux/include/uapi/linux/if_bridge.h: Likewise. + * bundled/linux/include/uapi/linux/if_link.h: Likewise. + * bundled/linux/include/uapi/linux/in6.h: Likewise. + * bundled/linux/include/uapi/linux/io_uring.h: Likewise. + * bundled/linux/include/uapi/linux/mount.h: Likewise. + * bundled/linux/include/uapi/linux/netfilter/nfnetlink_conntrack.h: + Likewise. + * bundled/linux/include/uapi/linux/pkt_sched.h: Likewise. + * bundled/linux/include/uapi/linux/prctl.h: Likewise. + * bundled/linux/include/uapi/linux/socket.h: Likewise. + * bundled/linux/include/uapi/linux/v4l2-controls.h: Likewise. + * bundled/linux/include/uapi/linux/version.h: Likewise. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: use BE_LE macro in more places. + It makes reading the code where only little pieces are switched + on WORDS_BIGENDIAN a little bit easier. + + * tests/io_uring_register.c (BE_LE): Move it... + * tests/tests.h (BE_LE): ...here. + * tests/bpf.c (bpf_attr_check): Use BE_LE instead of #ifdef WORDS_BIGENDIAN. + * tests/clone3.c: Likewise. + * tests/nlattr_ifla_linkinfo.c: Likewise. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/test_nlattr.h: helper macros for integer attr testing. + It is one of the most common attribute type decoder flavours, + so it should be as trivial to test as possible. + + * tests/test_nlattr.h (DEF_NLATTR_INTEGER_CHECK_, + TEST_NLATTR_VAL): New macros. + (check_u32_nlattr, check_x32_nlattr): New functions, defined using + DEF_NLATTR_INTEGER_CHECK_. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/test_nlattr.h: provide TEST_NLATTR_OBJECT_ and TEST_NLATTR_ARRAY_ + So they can be used along with custom nla_type string format. + + * tests/test_nlattr.h (TEST_NLATTR_OBJECT_): New macro, a wrapper + for TEST_NLATTR_OBJECT_EX_. + (TEST_NLATTR_ARRAY_): Rename from TEST_NLATTR_ARRAY, add nla_type_str_ + argument. + (TEST_NLATTR_ARRAY): New macro, a wrapper for TEST_NLATTR_ARRAY_. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/tests.h: add struct strval16 type. + Analogous to strval32 and strval64. + + * tests/tests.h (struct strval16): New type. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/test_nlattr: allow TEST_NLATTR_EX_ usage with various xlat verbosity + * tests/test_nlattr.h (TEST_NLATTR_EX_): Wrap MSG_DONTWAIT printing + in XLAT_FMT/XLAT_ARG so it can be used with different xlat verbosity + levels. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_route: make encap type decoder globally available. + And rename it to decode_nla_lwt_encap_type. + + * src/nlattr.h (DECL_NLA(lwt_encap_type)): New declaration. + * src/rtnl_route.c (decode_rta_encap_type): Rename it to... + (decode_nla_lwt_encap_type): ...this. + (rtmsg_nla_decoders) <RTA_ENCAP_TYPE>: Use decode_nla_lwt_encap_type. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + nlattr: make xval/flag nlattr printing a bit more structured. + Since the only usage for prefix/suffix was to enframe the xval/flag + output in a function call syntax (that is inverse to process_fn), + let's simply provide fn_str and print it using tprints_arg_begin + and tprint_arg_end. + + * src/nlattr.h (decode_nla_xlat_opts): Remove prefix and suffix fields, + add fn_str field. + * src/nlattr.c (decode_nla_xval, decode_nla_flags): Output fn_str using + tprints_arg_begin, call tprint_arg_end if fn_str is non-NULL. + (decode_nla_ether_proto): Pass "htons" in fn_str field of the opts + structure instead of "htons(" and ")" as prefix and suffix, + respectively. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + ipc_msg: sign-extend msgtyp. + Most of the architectures have indirect IPC calls for compat, + but not ARM, and that unraveled a missing sign extension + of the msgtyp argument before printing. + + * src/ipc_msg.c (tprint_msgrcv): Sign-extend msgtyp using + truncate_klong_to_current_klongsize. + + Reported-by: Dmitry V. Levin <ldv@strace.io> + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + defs: add truncate_k{,u}long_to_current_klongsize. + * src/defs.h (truncate_klong_to_current_klongsize, + truncate_kulong_to_current_klongsize): New functions. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + ptrace: handle AArch64's COMPAT_PTRACE_* macros. + This also fixes ptrace command handling for the AArch32 mode on AArch64. + Note that COMPAT_PTRACE_GETFPREGS/COMPAT_PTRACE_SETFPREGS are not defined + in arch/arm64/include/asm/ptrace.h, but we define them anyway since + we still handle compat binaries that try to perform the corresponding + PTRACE_GETFPREGS and PTRACE_SETFPREGS requests. + + * src/xlat/compat_ptrace_cmds.in: New file. + * src/xlat/ptrace_cmds.in __arm64__ || __aarch64__ (PTRACE_GETREGS, + PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS, PTRACE_GETHBPREGS, + PTRACE_SETHBPREGS, PTRACE_GET_THREAD_AREA, PTRACE_SET_SYSCALL, + PTRACE_GETVFPREGS, PTRACE_SETVFPREGS): Define to the same value as for arm. + * src/ptrace.c: Include "xlat/compat_ptrace_cmds.h". + (HAVE_COMPAT_PTRACE_MACROS): New macro. + HAVE_COMPAT_PTRACE_MACROS (decode_ptrace_entering): Use + compat_ptrace_cmds xlat for printing request for the non-m32 + personality; handle COMPAT_PTRACE_* requests for the non-m32 personality + by printing addr and data as undecoded addresses. + * tests/ptrace.c: Add checks for COMPAT_PTRACE_* requests. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + times: enhance decoding of clock_t-typed fields. + * src/times.c (SYS_FUNC(times)): Use PRINT_FIELD_CLOCK_T instead + of PRINT_FIELD_U. + * tests/.gitignore: Add times-Xabbrev, times-Xraw, and times-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/gen_tests.in (times-Xabbrev, times-Xraw, times-Xverbose): New + tests. + (clock, sched, trace_clock, trace_personality_regex_32, + trace_personality_regex_64, trace_personality_regex_x32): Add 'times-.*' + to the list of excluded pure executables. + * tests/Makefile.am (times_Xabrrev_LDADD, times_Xraw_LDADD, + times_Xverbose_LDADD): Add $(clock_LIBS). + * tests/times-Xabbrev.c: New file. + * tests/times-Xraw.c: Likewise. + * tests/times-Xverbose.c: Likewise. + * tests/times.c: Update expected output. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/times: try to burn more system time. + The check agains CLOCK_PROCESS_CPUTIME_ID does not necessarily guarantee + that system time has been spent as well; let's try to do some actual + work that involves some amount of kernel code by reading our precess'es + status. And also increase the limits to increase the chance of making + the system time non-zero. + + * tests/times.c: Include <fcntl.h>, <sys/stat.h>, and <sys/types.h>. + (PARENT_CPUTIME_LIMIT_NSEC): Increase to 300000000. + (CHILD_CPUTIME_LIMIT_NSEC): Increase to 500000000. + (READ_BUF_SIZE, READ_ITER): New enum items. + (main): Open /proc/self/status and try to read from it READ_ITER times; + increase the time limit for system time spending by cputime_limit. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: implement clock_t type decoding. + * src/defs.h (print_clock_t): New declaration. + * src/util.c: Include "print_fields.h". + (ILOG10_ITER_): New macro. + (ilog10, print_clock_t): New functions. + * src/nlattr.h (DECL_NLA(clock_t)): New declaraion. + * src/nlattr.c (decode_nla_clock_t): New function. + * src/print_fields.h (PRINT_FIELD_CLOCK_T): New macro. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + util: add umoven_uint64_or_printaddr{,64} + There is a couple of places (in generic code) where an integer + of a specified size is to be retrieved; refactor it into a separate + function. + + * src/defs.h (umoven_to_uint64_or_printaddr64): New declaration. + (umoven_to_uint64_or_printaddr): New function, a wrapper + for umoven_to_uint64_or_printaddr64. + * src/util.c (umoven_to_uint64_or_printaddr64): New function. + * src/nlattr.c (decode_nla_xval, decode_nla_flags): Rewrite using + umoven_to_uint64_or_printaddr. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + net, sockaddr: remove *_size constants. + These are no longer needed after the move to xlat description structures. + + * src/net.c (inet_protocols_size): Remove. + * src/sockaddr.c (arp_hardware_types_size, ethernet_protocols_size): + Likewise. + + Complements: v5.3~105 "Add xlat description structure" + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/perf_event_open.c: avoid unaligned accesses on AArch64. + Some AArch64 implementations do not support unaligned accesses, + so let's add it to the list of architectures where the checks + that require it are to be avoided. + + * tests/perf_event_open.c AARCH64 (ATTR_REC): Define the aligned + version. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests/nlattr_rtmsg.c: add checks for address-containing RTA_* attributes + * tests/nlattr_rtmsg.c (print_quoted_hex_ellipsis, init_rtmsg_inet6, + print_rtmsg_inet6): New functions. + (main): Add checks for RTA_DST, RTA_SRC, RTA_GATEWAY, RTA_PREFSRC, + RTA_NEWDST attribute decoding. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + rtnl_route: handle multiple next hop entries inside RTA_MULTIPATH. + * configure.ac (AC_CHECK_FUNCS): Add mempcpy. + * src/rtnl_route.c (decode_rta_multipath): Navigate through attribute + payload and print it as an array if there are more data in the payload + than the first struct rtnexthop.rtnh_len indicates. + * tests/nlattr_rtmsg.c !HAVE_MEMPCPY (mempcpy): Re-define + to strace_mempcpy. + !HAVE_MEMPCPY (mempcpy): New function. + (DEF_NLATTR_RTMSG_FUNCS): New macro for defining init/print functions. + (init_rtmsg_inet, print_rtmsg_inet): New functions, defined using + DEF_NLATTR_RTMSG_FUNCS macro. + (main): Update expected output, add a check for multiple + struct rtnexthop inside RTA_MULTIPATH. + + Resolves: https://github.com/strace/strace/issues/195 + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + macros: add BE* macros. + For (statically) defined big-endian values. + + * src/macros.h (BE16, BE32, BE64): New macros. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + Implement SECCOMP_IOCTL_* decoding. + * src/seccomp_ioctl.c: New file. + * src/Makefile.am (libstrace_a_SOURCES): Add it. + * src/defs.h (DECL_IOCTL(seccomp)): New declaration. + * src/ioctl.c (ioctl_decode_command_number) <case '!'>: Print + SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR. + (ioctl_decode) <case '!'>: Call seccomp_ioctl. + * src/xlat/seccomp_ioctl_addfd_flags.in: New file. + * src/xlat/seccomp_ioctl_resp_flags.in: Likewise. + * tests/.gitignore: Add ioctl_seccomp, ioctl_seccomp--pidns-translation, + ioctl_seccomp-success, ioctl_seccomp-y, ioctl_seccomp-y-success, + ioctl_seccomp-y-success-Xabbrev, ioctl_seccomp-y-success-Xraw, + ioctl_seccomp-y-success-Xverbose, ioctl_seccomp-y-success--pidns-translation, + ioctl_seccomp-y-success--pidns-translation-Xabbrev, + ioctl_seccomp-y-success--pidns-translation-Xraw, + and ioctl_seccomp-y-success--pidns-translation-Xverbose. + * tests/Makefile.am (check_PROGRAMS): Likewise. + * tests/gen_tests.in (ioctl_seccomp, ioctl_seccomp--pidns-translation, + ioctl_seccomp-success, ioctl_seccomp-y, ioctl_seccomp-y-success, + ioctl_seccomp-y-success-Xabbrev, ioctl_seccomp-y-success-Xraw, + ioctl_seccomp-y-success-Xverbose, ioctl_seccomp-y-success--pidns-translation, + ioctl_seccomp-y-success--pidns-translation-Xabbrev, + ioctl_seccomp-y-success--pidns-translation-Xraw, + ioctl_seccomp-y-success--pidns-translation-Xverbose): New tests. + * tests/ioctl_seccomp--pidns-translation.c: New file. + * tests/ioctl_seccomp-success.c: Likewise. + * tests/ioctl_seccomp-y-success--pidns-translation-Xabbrev.c: Likewise. + * tests/ioctl_seccomp-y-success--pidns-translation-Xraw.c: Likewise. + * tests/ioctl_seccomp-y-success--pidns-translation-Xverbose.c: Likewise. + * tests/ioctl_seccomp-y-success--pidns-translation.c: Likewise. + * tests/ioctl_seccomp-y-success-Xabbrev.c: Likewise. + * tests/ioctl_seccomp-y-success-Xraw.c: Likewise. + * tests/ioctl_seccomp-y-success-Xverbose.c: Likewise. + * tests/ioctl_seccomp-y-success.c: Likewise. + * tests/ioctl_seccomp-y.c: Likewise. + * tests/ioctl_seccomp.c: Likewise. + * NEWS: Mention it. + + tests/init.sh: add START-OF-TEST-OUTPUT-REGEX and PROG_ARGS quirks. + * tests/init.sh (sed_escape): New function. + (run_strace_match_diff, test_pidns_run_strace): Add prog_args local variable; + handle "QUIRK:START-OF-TEST-OUTPUT:*" and "QUIRK:START-OF-TEST-OUTPUT-REGEX:*" + arguments; set args to $prog_args after run_prog call. + + seccomp: decode SECCOMP_GET_NOTIF_SIZES. + * src/seccomp.c (SYS_FUNC(seccomp)): Print seccomp op only on entering. + (SYS_FUNC(seccomp)) <case SECCOMP_GET_NOTIF_SIZES>: Implement decoding. + * tests/.gitignore: Add seccomp_get_notif_sizes + and seccomp_get_notif_sizes-success. + * tests/Makefile.am (check_PROGRAMS): Add + seccomp_get_notif_sizes-success. + * tests/gen_tests.in (seccomp_get_notif_sizes, + seccomp_get_notif_sizes-success): New tests. + * tests/pure_executables.list: Add seccomp_get_notif_sizes. + * tests/seccomp_get_notif_sizes-success.c: New file. + * tests/seccomp_get_notif_sizes.c: Likewise. + * NEWS: Mention it. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + maint/ioctls_sym.sh: indent sed argument. + To make it a bit more readable. + + * maint/ioctls_sym.sh: Indent sed argument containuation + with an additional indent level to signify its affiliation. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + maint/ioctls_sym.sh: use <<- for here-documents where suitable. + It simplifies reading the file a bit. + + * maint/ioctls_sym.sh: Replace <<'__EOF__' occurrences with + <<-'__EOF__'; replace <<__EOF__ occurrences with <<-__EOF__ except + the first one that contains leading tabs. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + seccomp: print flags variable as a hexadecimal value. + It seems more natural that way for the argument called "flags". + + * src/seccomp.c (SYS_FUNC(seccomp)) <case SECCOMP_GET_ACTION_AVAIL, + case SECCOMP_SET_MODE_STRICT, default>: Change PRINT_VAL_U to + PRINT_VAL_X for flags argument printing. + * tests/seccomp-strict.c: Update expected output. + * tests/seccomp_get_action_avail.c: Likewise. + +2021-10-09 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add ptrace-X* tests. + * tests/.gitignore: Add ptrace-Xabbrev, ptrace-Xraw, + and ptrace-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/ptrace-Xabbrev.c: New file. + * tests/ptrace-Xraw.c: Likewise. + * tests/ptrace-Xverbose.c: Likewise. + * tests/ptrace.c: Update expected output. + * tests/gen_tests.in (ptrace-Xabbrev, ptrace-Xraw, + ptrace-Xverbose): New tests. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + signal: enable xlat style support for signal mask printing. + * src/signal.c (sprintsigmask_n): Print in accordance with xlat + verbosity. + + tests: add ptrace_syscall_info-X* tests. + * tests/.gitignore: Add ptrace_syscall_info-Xabbrev, + ptrace_syscall_info-Xraw, and ptrace_syscall_info-Xverbose. + * tests/pure_executables.list: Likewise. + * tests/ptrace_syscall_info-Xabbrev.c: New file. + * tests/ptrace_syscall_info-Xraw.c: Likewise. + * tests/ptrace_syscall_info-Xverbose.c: Likewise. + * tests/gen_tests.in (ptrace_syscall_info-Xabbrev, + ptrace_syscall_info-Xraw, ptrace_syscall_info-Xverbose): New tests. + * tests/ptrace_syscall_info.c: Update expected output. + + tests/tests.h: add XLAT_FMT_D, XLAT_FMT_L and XLAT_FMT_U macros. + * tests/tests.h (XLAT_FMT_D, XLAT_FMT_L, XLAT_FMT_U): New macros. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + Remove PERSONALITY0_AUDIT_ARCH guards. + Since PERSONALITY0_AUDIT_ARCH is defined for each architecture, + there is no need to conditionalise on it. + + * src/linux/generic/nr_prefix.c (nr_prefix): Remove PERSONALITY0_AUDIT_ARCH + guard. + * src/syscall_name.c: Likewise. + * tests/filter_seccomp-flag.c: Likewise. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + printsiginfo: decode si_syscall field using syscall_name_arch. + It was subtly broken all this time as si_arch may be not equivalent + to strace's current personality's audit arch: this may well happen when + siginfo_t is decoded as an argument (like in ptrace(PTRACE_SETSIGINFO)), + as the author of the comment in v4.21~43 should have definitely known. + + * src/printsiginfo.c: Remove "nr_prefix.c" include. + HAVE_SIGINFO_T_SI_SYSCALL (print_si_syscall): Remove. + (print_si_info): Use PRINT_SYSCALL_NAME for si_syscall field printing. + * tests/ptrace.c: Update expected output, add checks for the cases when + {CUR,PERS0,M32,MX32}_AUDIT_ARCH are defined. + * src/linux/generic/nr_prefix.c !HAVE_SIGINFO_T_SI_SYSCALL + && !PERSONALITY0_AUDIT_ARCH (nr_prefix): Do not provide the function. + * NEWS: Mention it. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: add cur_audit_arch.h. + It might come handy for some tests involving syscall/audit_arch pair + decoding. + + * tests/cur_audit_arch.h: New file. + * tests/Makefile.am (EXTRA_DIST): Add it. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + ptrace_syscall_info: print syscall name. + * src/ptrace_syscall_info.c (print_psi_entry, print_psi_seccomp): Add + arch argument, replace PRINT_FIELD_U call with PRINT_FIELD_SYSCALL_NAME + for nr field printing and pass arch there. + (print_ptrace_syscall_info) <case PTRACE_SYSCALL_INFO_ENTRY, + case PTRACE_SYSCALL_INFO_SECCOMP>: Pass info.arch as an additional + argument in PRINT_FIELD_OBJ_PTR. + * tests/ptrace_syscall_info.c (sc_names): New variable. + (test_entry): Update expected output. + * NEWS: Mention it. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + src/linux: add PERSONALITY0_AUDIT_ARCH definitions where possible. + That should expand usability of syscall_name_arch on these + architectures. + + * src/Makefile.am (EXTRA_DIST): Add linux/arc/arch_defs_.h, + linux/avr32/arch_defs_.h, linux/csky/arch_defs_.h, + linux/metag/arch_defs_.h, linux/or1k/arch_defs_.h, + linux/riscv64/arch_defs_.h, and linux/xtensa/arch_defs_.h. + * src/linux/alpha/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): New macro. + * src/linux/arm/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/bfin/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/hppa/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/i386/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/m68k/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/microblaze/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/mips/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/nios2/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/powerpc/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/powerpc64le/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/s390/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/sh/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/sh64/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/sparc/arch_defs_.h (PERSONALITY0_AUDIT_ARCH): Likewise. + * src/linux/tile/arch_defs_.h (PERSONALITY1_AUDIT_ARCH): Define based + on __tilepro__ definition presence. + * src/linux/arc/arch_defs_.h: New file. + * src/linux/avr32/arch_defs_.h: Likewise. + * src/linux/csky/arch_defs_.h: Likewise. + * src/linux/metag/arch_defs_.h: Likewise. + * src/linux/or1k/arch_defs_.h: Likewise. + * src/linux/riscv64/arch_defs_.h: Likewise. + * src/linux/xtensa/arch_defs_.h: Likewise. + +2021-10-08 Eugene Syromyatnikov <evgsyr@gmail.com> + + Provide a routine for printing syscall name from nr/audit_arch pair. + The pair of raw syscall number and AUDIT_ARCH_* is used by kernel + to describe syscall for userspace in increasing number of places, + so it is deemed advisable to provide information about syscall name + to user when possible. This commit defines such a routine, + syscall_name_arch, along with PRINT_FIELD_SYSCALL_NAME macro that + enables syscall name printing inside structures. While we are here, + let's consolidate syscall_name* routines in a separate file. + + * src/Makefile.am (libstrace_a_SOURCES): Add syscall_name.c. + * src/defs.h (syscall_name_arch): New declaration. + (struct audit_arch_t): Moved from filter_seccomp.c. + (audit_arch_vec): New declaration. + * src/filter_seccomp.c PERSONALITY0_AUDIT_ARCH: Remove + <linux/audit.h>, "xlat/elf_em.h", and "xlat/audit_arch.h" includes. + (struct audit_arch_t): Move it to defs.h + (audit_arch_vec): Move it to src/syscall_name.c. + * src/print_fields.h (PRINT_FIELD_SYSCALL_NAME): New macro. + * src/syscall.c (syscall_name): Move it to src/syscall_name.c. + * src/syscall_name.c: New file. + * src/linux/generic/nr_prefix.c PERSONALITY0_AUDIT_ARCH (nr_prefix): + Make the function available. + * src/linux/ia64/arch_defs_.h: Include "syscallent_base_nr.h" to make + PERSONALITY0_AUDIT_ARCH definition usable. + +2021-09-14 Eugene Syromyatnikov <evgsyr@gmail.com> + + Provide an ability to specify the personality for which to shuffle scno. + Rename shuffle_scno to shuffle_scno_pers and add a second argument, + provide a wrapper with an old name and semantics for existing users. + + * src/defs.h(shuffle_scno_pers): Rename from shuffle_scno, add pers + argument. + (shuffle_scno): New function, a wrapper for shuffle_scno_pers + with current_personality passed as the second argument. + * src/linux/aarch64/shuffle_scno.c (shuffle_scno_is_static): Rename + to... + (shuffle_scno_pers_is_static): ...this. + (shuffle_scno): Rename to... + (shuffle_scno_pers): ...this. + (shuffle_scno): Rename to... + (shuffle_scno_pers): ...this, add per argument, use it instead + of current_personality, call arm_shuffle_scno_pers instead + of arm_shuffle_scno. + * src/linux/arm/shuffle_scno.c (shuffle_scno_is_static): Rename to... + (shuffle_scno_pers_is_static): ...this. + (shuffle_scno): Rename to... + (shuffle_scno_pers): ...this. + * src/linux/generic/shuffle_scno.c (shuffle_scno): Rename to... + (shuffle_scno_pers): ...this, add pers argument. + * src/linux/ia64/shuffle_scno.c: Likewise. + * src/linux/x32/shuffle_scno.c (shuffle_scno): Rename to... + (shuffle_scno_pers): ...this, add pers argument, use it instead + of current_personality. + * src/linux/x86_64/shuffle_scno.c: Likewise. + +2021-09-07 Eugene Syromyatnikov <evgsyr@gmail.com> + + s390: use CHECK_TYPE_SIZE for type size checks. + * src/s390.c: Use CHECK_TYPE_SIZE for checking sizes of struct + sthyi_hdr, struct sthyi_machine, struct sthyi_partition, + struct sthyi_hypervisor, and struct sthyi_guest instead of open-coding + it with static_assert. + + macros: introduce CHECK_TYPE_SIZE shorthand. + * src/macros.h: Include "static_assert.h" + (CHECK_TYPE_SIZE): New macro. + * src/static_assert.h: Avoid static_assert definition if such macro + is already defined; otherwise mpers checks produce double-definition + warning since macros.h brings static_assert.h now, and the latter relies + on config.h-provided defines that are not generated yet. + +2021-09-04 Dmitry V. Levin <ldv@strace.io> + + Remove redundant static inline specifications. + There is usually no need to add "inline" qualifier to static functions + defined in .c files, compilers are quite capable of inlining static + functions without additional hints. + + * src/dm.c (dm_ioctl_has_params): Remove "inline" qualifier. + * src/filter_qualify.c (check_inadvertent_fault_injection): Likewise. + * src/xlat.c (get_xlat_style, sprint_xlat_val, print_xlat_val): Likewise. + * src/linux/arm/nr_prefix.c (nr_prefix): Likewise. + * tests/bpf.c (get_log_buf, get_log_buf_tail): Likewise. + * tests/clone3.c (print_addr64, print_clone3): Likewise. + * tests/fork-f.c (logit_): Likewise. + * tests/vfork-f.c (logit_): Likewise. + * tests/ioctl_gpio.c (do_ioctl_ptr): Likewise. + * tests/ioctl_hdio.c (do_ioctl_ptr): Likewise. + * tests/read-write.c (dump_str): Likewise. + * tests/sprintrc.c (sprintrc_ex): Likewise. + * tests/s390_sthyi.c (print_0x8, print_u16, print_x32, print_weight, + ebcdic2ascii, print_ebcdic): Likewise. + (print_u8, is_empty, print_funcs): Remove "inline" qualifier, + conditionalize on VERBOSE. + * src/linux/generic/nr_prefix.c (nr_prefix): Remove "inline" qualifier, + conditionalize on HAVE_SIGINFO_T_SI_SYSCALL. + * src/sigreturn.c (print_sigmask_addr_size): Add comment. + +2021-09-04 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: minimise static variable usage in qual_fault.c. + * tests/qual_fault.c (first, last, step, iter, try): Remove. + (invoke): Declare try as a static variable. + (main): Declare first, last, step, iter variables. + +2021-09-04 Eugene Syromyatnikov <evgsyr@gmail.com> + + tests: print iteration number in error messages in qual_fault.c. + To aid diagnosing possible issues. + + * tests/qual_fault.c (invoke): Accept iteration number as the first + argument; print it in the beginning of error messages. + (main): Pass i to invoke call in the first argument. + +2021-09-03 Dmitry V. Levin <ldv@strace.io> + + Post-release administrivia. + * NEWS: Add a header line for the next release. + * debian/changelog.in: Add a changelog entry for 5.14-1. + * strace.spec.in: Likewise. + 2021-09-02 Dmitry V. Levin <ldv@strace.io> Prepare for 5.14 release.
View file
_service:tar_scm:strace-5.14.tar.xz/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/Makefile.am
Changed
@@ -4,7 +4,7 @@ # Copyright (c) 2006-2016 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2008-2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> -# Copyright (c) 2002-2021 The strace developers. +# Copyright (c) 2002-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -72,7 +72,10 @@ dist-hook: $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version ${AM_V_GEN}echo $(COPYRIGHT_YEAR) > $(distdir)/.year - ${AM_V_GEN}echo $(MANPAGE_DATE) > $(distdir)/doc/.strace.1.in.date + ${AM_V_GEN}echo $(STRACE_MANPAGE_DATE) \ + > $(distdir)/doc/.strace.1.in.date + ${AM_V_GEN}echo $(SLM_MANPAGE_DATE) \ + > $(distdir)/doc/.strace-log-merge.1.in.date today = $(shell LC_TIME=C date -u +%Y-%m-%d) version_regexp = $(subst .,\.,$(VERSION))
View file
_service:tar_scm:strace-5.14.tar.xz/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/Makefile.in
Changed
@@ -20,7 +20,7 @@ # Copyright (c) 2006-2016 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2008-2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> -# Copyright (c) 2002-2021 The strace developers. +# Copyright (c) 2002-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -100,25 +100,18 @@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -349,7 +342,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -369,6 +361,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_LONG = @SIZEOF_LONG@ +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -436,6 +430,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -1077,7 +1072,10 @@ dist-hook: $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version ${AM_V_GEN}echo $(COPYRIGHT_YEAR) > $(distdir)/.year - ${AM_V_GEN}echo $(MANPAGE_DATE) > $(distdir)/doc/.strace.1.in.date + ${AM_V_GEN}echo $(STRACE_MANPAGE_DATE) \ + > $(distdir)/doc/.strace.1.in.date + ${AM_V_GEN}echo $(SLM_MANPAGE_DATE) \ + > $(distdir)/doc/.strace-log-merge.1.in.date news-check: NEWS $(AM_V_GEN)if head -1 $< | \
View file
_service:tar_scm:strace-5.14.tar.xz/NEWS -> _service:tar_scm:strace-6.1.tar.xz/NEWS
Changed
@@ -1,3 +1,154 @@ +Noteworthy changes in release 6.1 (2022-12-12) +============================================== + +* Improvements + * Enhanced decoding of terminal ioctl commands. + * Updated decoding of statx syscall. + * Updated lists of ABS_*, BPF_*, BTRFS_*, COUNTER_*, ETH_P_*, IFLA_*, + KVM_*, MADV_*, NLMSGERR_*, PERF_*, STATX_*, and TLS_* constants. + * Updated lists of ioctl commands from Linux 6.1. + +* Bug fixes + * Fixed injection tests on ia64. + +Noteworthy changes in release 6.0 (2022-10-29) +============================================== + +* Improvements + * Enhanced decoding of PTP_* ioctl commands. + * Updated decoding of setns syscall. + * Updated lists of BPF_*, BTRFS_*, FAN_*, ETH_P_*, KVM_*, NDTPA_*, + NT_*, PERF_*, and TLS_INFO_* constants. + * Updated lists of ioctl commands from Linux 6.0. + +Noteworthy changes in release 5.19 (2022-08-12) +=============================================== + +* Changes in behaviour + * The "(deleted)" marker for unlinked paths of file descriptors is now printed + outside angle brackets; the matching of unlinked paths of file descriptors + no longer includes the " (deleted)" part into consideration. + +* Improvements + * Implemented printing of Unix socket sun_path field's SELinux context. + * Implemented decoding of SO_TXREHASH socket option. + * Implemented decoding of IFLA_TSO_MAX_SIZE, IFLA_TSO_MAX_SEGS, + NDA_FDB_EXT_ATTRS, NDA_FLAGS_EXT, NDA_NDM_FLAGS_MASK, + and NDA_NDM_STATE_MASK netlink attributes. + * Improved decoding of INET_DIAG_LOCALS, INET_DIAG_MD5SIG, INET_DIAG_PEERS, + INET_DIAG_PROTOCOL, INET_DIAG_REQ_PROTOCOL, INET_DIAG_SHUTDOWN, + INET_DIAG_SK_BPF_STORAGES, INET_DIAG_SOCKOPT, and INET_DIAG_ULP_INFO + NETLINK_SOCK_DIAG netlink attributes. + * Enhanced decoding of arch_prctl and prctl syscalls. + * Enhanced siginfo_t decoding. + * Updated decoding of struct rtnl_link_stats64. + * Updated lists of DEVCONF_*, FAN_MARK_*, GPIO_V2_LINE_FLAG_*, IORING_*, + KEXEC_*, LANDLOCK_*, NET_IPV4_CONF_*, NLM_F_*, NT_*, PR_*, SECCOMP_*, + UFFD_FEATURE_*, V4L2_CID_*, and V4L2_PIX_FMT_* constants. + * Updated lists of ioctl commands from Linux 5.19. + +Noteworthy changes in release 5.18 (2022-06-18) +=============================================== + +* Improvements + * Added an interface of raising des Strausses awareness. + * Added --tips option to print strace tips, tricks, and tweaks + at the end of the tracing session. + * Enhanced decoding of bpf and io_uring_register syscalls. + * Implemented decoding of COUNTER_*, RTC_PARAM_GET, and RTC_PARAM_SET ioctl + commands. + * Updated lists of BPF_*, BR_*, BTRFS_*, IFA_*, IFLA_*, IORING_*, KEY_*, + KVM_*, MADV_*, and UFFD_* constants. + * Updated lists of ioctl commands from Linux 5.18. + +* Bug fixes + * Fixed printing of the updated value of union bpf_attr.next_id + on the exiting of bpf(BPF_*_GET_NEXT_ID) calls. + +Noteworthy changes in release 5.17 (2022-03-26) +=============================================== + +* Improvements + * Added 64-bit LoongArch architecture support. + * Extended personality designation syntax of syscall specification expressions + to support all@pers and %class@pers. + * Enhanced rejection of invalid syscall numbers in syscall specification + expressions. + * Implemented decoding of set_mempolicy_home_node syscall, introduced + in Linux 5.17. + * Implemented decoding of IFLA_GRO_MAX_SIZE and TCA_ACT_IN_HW_COUNT netlink + attributes. + * Implemented decoding of PR_SET_VMA operation of prctl syscall. + * Implemented decoding of siginfo_t.si_pkey field. + * Implemented decoding of LIRC ioctl commands. + * Updated lists of FAN_*, IORING_*, IOSQE_*, KEY_*, KVM_*, MODULE_INIT_*, + TCA_ACT_*, and *_MAGIC constants. + * Updated lists of ioctl commands from Linux 5.17. + +Noteworthy changes in release 5.16 (2022-01-10) +=============================================== + +* Improvements + * Implemented --secontext=mismatch option to find mismatches in SELinux + contexts. + * Implemented decoding of futex_waitv syscall introduced in Linux 5.16. + * Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf + syscall commands. + * Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD + bpf syscall commands. + * Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command. + * Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*, + IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants. + * Updated lists of ioctl commands from Linux 5.16. + +* Bug fixes + * Fixed build for older Android. + +Noteworthy changes in release 5.15 (2021-12-01) +=============================================== + +* Improvements + * Implemented --strings-in-hex=non-ascii-chars option for using hexadecimal + numbers instead of octal ones in escape sequences in the output strings. + * Implemented --decode-pids=comm option (and its alias -Y) for printing + command names for PIDs. + * Implemented --decode-pids=pidns as an alias to --pidns-translation option. + * Implemented printing of current working directory when AT_FDCWD constant + is used with --decode-fds=path option enabled. + * Improved printing of syscall names in places where the associated + AUDIT_ARCH_* value is present (ptrace PTRACE_GET_SYSCALL_INFO request, + SIGSYS siginfo_t). + * Implemented decoding of process_mrelease syscall, introduced in Linux 5.15. + * Implemented decoding of SECCOMP_GET_NOTIF_SIZES operation of seccomp + syscall. + * Implemented decoding of HDIO_*, KD*, and SECCOMP_* ioctl commands. + * Implemented decoding of RTM_NEWCACHEREPORT, RTM_{NEW,DEL,GET}NEXTHOP, + and RTM_{NEW,GET}STATS NETLINK_ROUTE netlink messages. + * Implemented decoding of AF_ALG, AF_IEEE802154, AF_MCTP, AF_NFC, AF_QIPCRTR, + AF_RRPC, AF_VSOCK, and AF_XDP socket addresses. + * Implemented decoding of AF_BRIDGE and AF_MCTP protocols for IFLA_AF_SPEC + netlink attribute. + * Implemented decoding of IFLA_BR_MCAST_QUERIER_STATE, IFLA_BR_MULTI_BOOLOPT, + IFLA_INET6_RA_MTU, IFLA_INFO_SLAVE_DATA, and IFLA_VFINFO_LIST netlink + attributes. + * Enhanced decoding of io_uring_register and times syscalls. + * Enhanced IFLA_BR_FORWARD_DELAY, IFLA_BR_MAX_AGE, IFLA_EXT_MASK, + IFLA_PROTINFO, *_INTVL, and *_TIMER netlink attribute decoding. + * Enhanced decoding of AF_IPX and AF_NETLINK socket addresses. + * Updated lists o AF_*, ARPHRD_*, BTRFS_*, DEVCONF_*, DM_*, ETH_P_*, + FAN_REPORT_*, IORING_*, MOVE_MOUNT_*, MPOL_*, PACKET_*, RTM_*, SO_*, + and XFRM_MSG_* constants. + * Updated lists of ioctl commands from Linux 5.15. + +* Bug fixes + * Fixed printing of struct bpf_prog_info.map_ids array. + * Fixed behaviour of "dev", "pidfd", and "socket" arguments of the --print-fds + option to no longer imply the "path" argument. + * Fixed insufficient buffer size used for network interface name printing, + that previously led to assertions on attempts of printing interface names + that require quoting, for example, names longer than 4 characters in -xx + mode (addresses RHBZ bug #2028146). + Noteworthy changes in release 5.14 (2021-09-02) ===============================================
View file
_service:tar_scm:strace-5.14.tar.xz/aclocal.m4 -> _service:tar_scm:strace-6.1.tar.xz/aclocal.m4
Changed
@@ -1243,26 +1243,19 @@ AC_SUBST(am__untar) ) # _AM_PROG_TAR +m4_include(src/xlat/ieee802154_addr_types.m4) m4_include(src/xlat/loop_flags_options.m4) +m4_include(src/xlat/nl_xfrm_types.m4) +m4_include(src/xlat/ptp_pin_funcs.m4) +m4_include(src/xlat/rtnl_neigh_fdb_ext_attrs.m4) m4_include(src/xlat/rtnl_tc_action_attrs.m4) m4_include(src/xlat/st_check_enums.m4) -m4_include(src/xlat/sysctl_kern.m4) -m4_include(src/xlat/sysctl_net.m4) -m4_include(src/xlat/sysctl_net_core.m4) -m4_include(src/xlat/sysctl_net_ipv4.m4) -m4_include(src/xlat/sysctl_net_ipv4_conf.m4) -m4_include(src/xlat/sysctl_net_ipv4_route.m4) -m4_include(src/xlat/sysctl_net_ipv6.m4) -m4_include(src/xlat/sysctl_net_ipv6_route.m4) -m4_include(src/xlat/sysctl_root.m4) -m4_include(src/xlat/sysctl_vm.m4) m4_include(src/xlat/waitid_types.m4) m4_include(m4/ax_code_coverage.m4) m4_include(m4/ax_prog_cc_for_build.m4) m4_include(m4/ax_valgrind_check.m4) m4_include(m4/bpf_attr.m4) m4_include(m4/mpers.m4) -m4_include(m4/st_broken_cc.m4) m4_include(m4/st_demangle.m4) m4_include(m4/st_esyscmd_s.m4) m4_include(m4/st_libdw.m4)
View file
_service:tar_scm:strace-5.14.tar.xz/build-aux/config.guess -> _service:tar_scm:strace-6.1.tar.xz/build-aux/config.guess
Changed
@@ -1,14 +1,14 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2022 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-06-03' +timestamp='2022-05-08' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -60,7 +60,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -437,7 +437,7 @@ # This test works for both compilers. if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + (CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 @@ -929,6 +929,9 @@ i*:PW*:*) GUESS=$UNAME_MACHINE-pc-pw32 ;; + *:SerenityOS:*:*) + GUESS=$UNAME_MACHINE-pc-serenity + ;; *:Interix*:*) case $UNAME_MACHINE in x86) @@ -1148,16 +1151,27 @@ ;; x86_64:Linux:*:*) set_cc_for_build + CPU=$UNAME_MACHINE LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then - if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ - (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ - grep IS_X32 >/dev/null - then - LIBCABI=${LIBC}x32 - fi + ABI=64 + sed 's/^ //' << EOF > "$dummy.c" + #ifdef __i386__ + ABI=x86 + #else + #ifdef __ILP32__ + ABI=x32 + #endif + #endif +EOF + cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'` + eval "$cc_set_abi" + case $ABI in + x86) CPU=i686 ;; + x32) LIBCABI=${LIBC}x32 ;; + esac fi - GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI + GUESS=$CPU-pc-linux-$LIBCABI ;; xtensa*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC @@ -1522,6 +1536,9 @@ i*86:rdos:*:*) GUESS=$UNAME_MACHINE-pc-rdos ;; + i*86:Fiwix:*:*) + GUESS=$UNAME_MACHINE-pc-fiwix + ;; *:AROS:*:*) GUESS=$UNAME_MACHINE-unknown-aros ;;
View file
_service:tar_scm:strace-5.14.tar.xz/build-aux/config.sub -> _service:tar_scm:strace-6.1.tar.xz/build-aux/config.sub
Changed
@@ -1,12 +1,14 @@ #! /bin/sh # Configuration validation subroutine script. -# Copyright 1992-2021 Free Software Foundation, Inc. +# Copyright 1992-2022 Free Software Foundation, Inc. -timestamp='2021-06-03' +# shellcheck disable=SC2006,SC2268 # see below for rationale + +timestamp='2022-01-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or +# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but @@ -50,7 +52,14 @@ # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. -me=$(echo "$0" | sed -e 's,.*/,,') +# The "shellcheck disable" line above the timestamp inhibits complaints +# about features and limitations of the classic Bourne shell that were +# superseded or lifted in POSIX. However, this script identifies a wide +# variety of pre-POSIX systems that do not have POSIX shells at all, and +# even some reasonably current systems (Solaris 10 as case-in-point) still +# have a pre-POSIX /bin/sh. + +me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 OPTION CPU-MFR-OPSYS or ALIAS @@ -67,7 +76,7 @@ version="\ GNU config.sub ($timestamp) -Copyright 1992-2021 Free Software Foundation, Inc. +Copyright 1992-2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -112,9 +121,11 @@ # Split fields of configuration type # shellcheck disable=SC2162 +saved_IFS=$IFS IFS="-" read field1 field2 field3 field4 <<EOF $1 EOF +IFS=$saved_IFS # Separate into logical components for further validation case $1 in @@ -163,6 +174,10 @@ basic_machine=$field1 basic_os=$field2 ;; + zephyr*) + basic_machine=$field1-unknown + basic_os=$field2 + ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ | att* | 7300* | 3300* | delta* | motorola* | sun234* \ @@ -769,22 +784,22 @@ vendor=hp ;; i*86v32) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv32 ;; i*86v4*) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv4 ;; i*86v) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv ;; i*86sol2) - cpu=$(echo "$1" | sed -e 's/86.*/86/') + cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=solaris2 ;; @@ -917,14 +932,16 @@ ;; leon-*|leon3-9-*) cpu=sparc - vendor=$(echo "$basic_machine" | sed 's/-.*//') + vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; *-*) # shellcheck disable=SC2162 + saved_IFS=$IFS IFS="-" read cpu vendor <<EOF $basic_machine EOF + IFS=$saved_IFS ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -1003,6 +1020,11 @@ ;; # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} + ;; dpx20-unknown | dpx20-bull) cpu=rs6000 vendor=bull @@ -1084,7 +1106,7 @@ cpu=mipsisa64sb1el ;; sh5elb-*) - cpu=$(echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/') + cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'` ;; spur-*) cpu=spur @@ -1102,9 +1124,9 @@ cpu=x86_64 ;; xscale-* | xscaleebl-*) - cpu=$(echo "$cpu" | sed 's/^xscale/arm/') + cpu=`echo "$cpu" | sed 's/^xscale/arm/'` ;; - arm64-*) + arm64-* | aarch64le-*) cpu=aarch64 ;; @@ -1166,7 +1188,7 @@ | am33_2.0 \ | amdgcn \ | arc | arceb | arc32 | arc64 \ - | arm | armh | armlbe | armelb | armv* \ + | arm | armlbe | armelb | armv* \ | avr | avr32 \ | asmjs \ | ba \ @@ -1287,35 +1309,37 @@ if test x$basic_os != x then -# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just +# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just # set os. case $basic_os in gnu/linux*) kernel=linux - os=$(echo $basic_os | sed -e 's|gnu/linux|gnu|') + os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'` ;; os2-emx) kernel=os2 - os=$(echo $basic_os | sed -e 's|os2-emx|emx|') + os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'` ;; nto-qnx*) kernel=nto - os=$(echo $basic_os | sed -e 's|nto-qnx|qnx|') + os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` ;; *-*) # shellcheck disable=SC2162 + saved_IFS=$IFS IFS="-" read kernel os <<EOF $basic_os EOF + IFS=$saved_IFS ;; # Default OS when just kernel was specified nto*) kernel=nto - os=$(echo $basic_os | sed -e 's|nto|qnx|') + os=`echo "$basic_os" | sed -e 's|nto|qnx|'` ;; linux*) kernel=linux - os=$(echo $basic_os | sed -e 's|linux|gnu|') + os=`echo "$basic_os" | sed -e 's|linux|gnu|'` ;; *) kernel= @@ -1336,7 +1360,7 @@ os=cnk ;; solaris1 | solaris1.*) - os=$(echo $os | sed -e 's|solaris1|sunos4|') + os=`echo "$os" | sed -e 's|solaris1|sunos4|'` ;; solaris) os=solaris2 @@ -1365,7 +1389,7 @@ os=sco3.2v4 ;; sco3.2.4-9*) - os=$(echo $os | sed -e 's/sco3.2./sco3.2v/') + os=`echo "$os" | sed -e 's/sco3.2./sco3.2v/'` ;; sco*v* | scout) # Don't match below @@ -1395,7 +1419,7 @@ os=lynxos ;; mac0-9*) - os=$(echo "$os" | sed -e 's|mac|macos|') + os=`echo "$os" | sed -e 's|mac|macos|'` ;; opened*) os=openedition @@ -1404,10 +1428,10 @@ os=os400 ;; sunos5*) - os=$(echo "$os" | sed -e 's|sunos5|solaris2|') + os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; sunos6*) - os=$(echo "$os" | sed -e 's|sunos6|solaris3|') + os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; wince*) os=wince @@ -1441,7 +1465,7 @@ ;; # Preserve the version number of sinix5. sinix5.*) - os=$(echo $os | sed -e 's|sinix|sysv|') + os=`echo "$os" | sed -e 's|sinix|sysv|'` ;; sinix*) os=sysv4 @@ -1688,7 +1712,7 @@ # Now, validate our (potentially fixed-up) OS. case $os in # Sometimes we do "kernel-libc", so those need to count as OSes. - musl* | newlib* | uclibc*) + musl* | newlib* | relibc* | uclibc*) ;; # Likewise for "kernel-abi" eabi* | gnueabi*) @@ -1729,7 +1753,8 @@ | skyos* | haiku* | rdos* | toppers* | drops* | es* \ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ - | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx*) + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ + | fiwix* ) ;; # This one is extra strict with allowed versions sco3.2v2 | sco3.2v4-9* | sco5v6*) @@ -1746,11 +1771,12 @@ # As a final step for OS-related things, validate the OS-kernel combination # (given a valid OS), if there is a kernel. case $kernel-$os in - linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* ) + linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* \ + | linux-musl* | linux-relibc* | linux-uclibc* ) ;; uclinux-uclibc* ) ;; - -dietlibc* | -newlib* | -musl* | -uclibc* ) + -dietlibc* | -newlib* | -musl* | -relibc* | -uclibc* ) # These are just libc implementations, not actual OSes, and thus # require a kernel. echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/bundled/Makefile.am
Changed
@@ -1,6 +1,6 @@ # Automake input for bundled. # -# Copyright (c) 2021 The strace developers. +# Copyright (c) 2021-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -28,6 +28,7 @@ linux/include/uapi/linux/btrfs_tree.h \ linux/include/uapi/linux/close_range.h \ linux/include/uapi/linux/const.h \ + linux/include/uapi/linux/counter.h \ linux/include/uapi/linux/cryptouser.h \ linux/include/uapi/linux/dcbnl.h \ linux/include/uapi/linux/dm-ioctl.h \ @@ -38,13 +39,18 @@ linux/include/uapi/linux/fiemap.h \ linux/include/uapi/linux/fs.h \ linux/include/uapi/linux/fscrypt.h \ + linux/include/uapi/linux/futex.h \ linux/include/uapi/linux/gen_stats.h \ linux/include/uapi/linux/gpio.h \ linux/include/uapi/linux/hiddev.h \ linux/include/uapi/linux/if_addr.h \ linux/include/uapi/linux/if_addrlabel.h \ + linux/include/uapi/linux/if_alg.h \ + linux/include/uapi/linux/if_bonding.h \ linux/include/uapi/linux/if_bridge.h \ linux/include/uapi/linux/if_link.h \ + linux/include/uapi/linux/if_xdp.h \ + linux/include/uapi/linux/in.h \ linux/include/uapi/linux/in6.h \ linux/include/uapi/linux/inet_diag.h \ linux/include/uapi/linux/input-event-codes.h \ @@ -56,11 +62,17 @@ linux/include/uapi/linux/keyctl.h \ linux/include/uapi/linux/landlock.h \ linux/include/uapi/linux/libc-compat.h \ + linux/include/uapi/linux/lirc.h \ linux/include/uapi/linux/loop.h \ + linux/include/uapi/linux/mctp.h \ linux/include/uapi/linux/memfd.h \ linux/include/uapi/linux/mmtimer.h \ linux/include/uapi/linux/mount.h \ + linux/include/uapi/linux/mpls.h \ + linux/include/uapi/linux/mptcp.h \ linux/include/uapi/linux/mqueue.h \ + linux/include/uapi/linux/mroute.h \ + linux/include/uapi/linux/mroute6.h \ linux/include/uapi/linux/neighbour.h \ linux/include/uapi/linux/netconf.h \ linux/include/uapi/linux/netfilter/ipset/ip_set.h \ @@ -78,6 +90,8 @@ linux/include/uapi/linux/netfilter/nfnetlink_queue.h \ linux/include/uapi/linux/netlink.h \ linux/include/uapi/linux/netlink_diag.h \ + linux/include/uapi/linux/nexthop.h \ + linux/include/uapi/linux/nfc.h \ linux/include/uapi/linux/nsfs.h \ linux/include/uapi/linux/openat2.h \ linux/include/uapi/linux/packet_diag.h \ @@ -85,6 +99,7 @@ linux/include/uapi/linux/pkt_sched.h \ linux/include/uapi/linux/prctl.h \ linux/include/uapi/linux/ptp_clock.h \ + linux/include/uapi/linux/qrtr.h \ linux/include/uapi/linux/quota.h \ linux/include/uapi/linux/rtnetlink.h \ linux/include/uapi/linux/sched.h \ @@ -94,7 +109,9 @@ linux/include/uapi/linux/sock_diag.h \ linux/include/uapi/linux/socket.h \ linux/include/uapi/linux/stat.h \ + linux/include/uapi/linux/tcp.h \ linux/include/uapi/linux/tee.h \ + linux/include/uapi/linux/tls.h \ linux/include/uapi/linux/types.h \ linux/include/uapi/linux/unix_diag.h \ linux/include/uapi/linux/userfaultfd.h \ @@ -103,6 +120,7 @@ linux/include/uapi/linux/v4l2-controls.h \ linux/include/uapi/linux/version.h \ linux/include/uapi/linux/videodev2.h \ + linux/include/uapi/linux/vm_sockets.h \ linux/include/uapi/mtd/mtd-abi.h \ linux/include/uapi/mtd/ubi-user.h \ linux/include/uapi/rdma/ib_user_verbs.h \
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/bundled/Makefile.in
Changed
@@ -16,7 +16,7 @@ # Automake input for bundled. # -# Copyright (c) 2021 The strace developers. +# Copyright (c) 2021-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -96,25 +96,18 @@ host_triplet = @host@ subdir = bundled ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -220,7 +213,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -240,6 +232,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_LONG = @SIZEOF_LONG@ +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -307,6 +301,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -349,6 +344,7 @@ linux/include/uapi/linux/btrfs_tree.h \ linux/include/uapi/linux/close_range.h \ linux/include/uapi/linux/const.h \ + linux/include/uapi/linux/counter.h \ linux/include/uapi/linux/cryptouser.h \ linux/include/uapi/linux/dcbnl.h \ linux/include/uapi/linux/dm-ioctl.h \ @@ -359,13 +355,18 @@ linux/include/uapi/linux/fiemap.h \ linux/include/uapi/linux/fs.h \ linux/include/uapi/linux/fscrypt.h \ + linux/include/uapi/linux/futex.h \ linux/include/uapi/linux/gen_stats.h \ linux/include/uapi/linux/gpio.h \ linux/include/uapi/linux/hiddev.h \ linux/include/uapi/linux/if_addr.h \ linux/include/uapi/linux/if_addrlabel.h \ + linux/include/uapi/linux/if_alg.h \ + linux/include/uapi/linux/if_bonding.h \ linux/include/uapi/linux/if_bridge.h \ linux/include/uapi/linux/if_link.h \ + linux/include/uapi/linux/if_xdp.h \ + linux/include/uapi/linux/in.h \ linux/include/uapi/linux/in6.h \ linux/include/uapi/linux/inet_diag.h \ linux/include/uapi/linux/input-event-codes.h \ @@ -377,11 +378,17 @@ linux/include/uapi/linux/keyctl.h \ linux/include/uapi/linux/landlock.h \ linux/include/uapi/linux/libc-compat.h \ + linux/include/uapi/linux/lirc.h \ linux/include/uapi/linux/loop.h \ + linux/include/uapi/linux/mctp.h \ linux/include/uapi/linux/memfd.h \ linux/include/uapi/linux/mmtimer.h \ linux/include/uapi/linux/mount.h \ + linux/include/uapi/linux/mpls.h \ + linux/include/uapi/linux/mptcp.h \ linux/include/uapi/linux/mqueue.h \ + linux/include/uapi/linux/mroute.h \ + linux/include/uapi/linux/mroute6.h \ linux/include/uapi/linux/neighbour.h \ linux/include/uapi/linux/netconf.h \ linux/include/uapi/linux/netfilter/ipset/ip_set.h \ @@ -399,6 +406,8 @@ linux/include/uapi/linux/netfilter/nfnetlink_queue.h \ linux/include/uapi/linux/netlink.h \ linux/include/uapi/linux/netlink_diag.h \ + linux/include/uapi/linux/nexthop.h \ + linux/include/uapi/linux/nfc.h \ linux/include/uapi/linux/nsfs.h \ linux/include/uapi/linux/openat2.h \ linux/include/uapi/linux/packet_diag.h \ @@ -406,6 +415,7 @@ linux/include/uapi/linux/pkt_sched.h \ linux/include/uapi/linux/prctl.h \ linux/include/uapi/linux/ptp_clock.h \ + linux/include/uapi/linux/qrtr.h \ linux/include/uapi/linux/quota.h \ linux/include/uapi/linux/rtnetlink.h \ linux/include/uapi/linux/sched.h \ @@ -415,7 +425,9 @@ linux/include/uapi/linux/sock_diag.h \ linux/include/uapi/linux/socket.h \ linux/include/uapi/linux/stat.h \ + linux/include/uapi/linux/tcp.h \ linux/include/uapi/linux/tee.h \ + linux/include/uapi/linux/tls.h \ linux/include/uapi/linux/types.h \ linux/include/uapi/linux/unix_diag.h \ linux/include/uapi/linux/userfaultfd.h \ @@ -424,6 +436,7 @@ linux/include/uapi/linux/v4l2-controls.h \ linux/include/uapi/linux/version.h \ linux/include/uapi/linux/videodev2.h \ + linux/include/uapi/linux/vm_sockets.h \ linux/include/uapi/mtd/mtd-abi.h \ linux/include/uapi/mtd/ubi-user.h \ linux/include/uapi/rdma/ib_user_verbs.h \
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/arch/mips/include/uapi/asm/fcntl.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/arch/mips/include/uapi/asm/fcntl.h
Changed
@@ -44,36 +44,16 @@ #define F_SETOWN 24 /* for sockets. */ #define F_GETOWN 23 /* for sockets. */ -#ifndef __mips64 +#if __BITS_PER_LONG == 32 || defined(__KERNEL__) #define F_GETLK64 33 /* using 'struct flock64' */ #define F_SETLK64 34 #define F_SETLKW64 35 -#endif - -/* - * The flavours of struct flock. "struct flock" is the ABI compliant - * variant. Finally struct flock64 is the LFS variant of struct flock. As - * a historic accident and inconsistence with the ABI definition it doesn't - * contain all the same fields as struct flock. - */ +#endif /* __BITS_PER_LONG == 32 || defined(__KERNEL__) */ #if _MIPS_SIM != _MIPS_SIM_ABI64 - -#include <linux/types.h> - -struct flock { - short l_type; - short l_whence; - __kernel_off_t l_start; - __kernel_off_t l_len; - long l_sysid; - __kernel_pid_t l_pid; - long pad4; -}; - -#define HAVE_ARCH_STRUCT_FLOCK - -#endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ +#define __ARCH_FLOCK_EXTRA_SYSID long l_sysid; +#define __ARCH_FLOCK_PAD long pad4; +#endif #include <asm-generic/fcntl.h>
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/asm/fcntl.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/asm/fcntl.h
Changed
@@ -116,13 +116,13 @@ #define F_GETSIG 11 /* for sockets. */ #endif -#ifndef CONFIG_64BIT +#if __BITS_PER_LONG == 32 || defined(__KERNEL__) #ifndef F_GETLK64 #define F_GETLK64 12 /* using 'struct flock64' */ #define F_SETLK64 13 #define F_SETLKW64 14 #endif -#endif +#endif /* __BITS_PER_LONG == 32 || defined(__KERNEL__) */ #ifndef F_SETOWN_EX #define F_SETOWN_EX 15 @@ -181,6 +181,10 @@ blocking */ #define LOCK_UN 8 /* remove lock */ +/* + * LOCK_MAND support has been removed from the kernel. We leave the symbols + * here to not break legacy builds, but these should not be used in new code. + */ #define LOCK_MAND 32 /* This is a mandatory flock ... */ #define LOCK_READ 64 /* which allows concurrent read operations */ #define LOCK_WRITE 128 /* which allows concurrent write operations */ @@ -189,24 +193,19 @@ #define F_LINUX_SPECIFIC_BASE 1024 #ifndef HAVE_ARCH_STRUCT_FLOCK -#ifndef __ARCH_FLOCK_PAD -#define __ARCH_FLOCK_PAD -#endif - struct flock { short l_type; short l_whence; __kernel_off_t l_start; __kernel_off_t l_len; __kernel_pid_t l_pid; - __ARCH_FLOCK_PAD -}; +#ifdef __ARCH_FLOCK_EXTRA_SYSID + __ARCH_FLOCK_EXTRA_SYSID #endif - -#ifndef HAVE_ARCH_STRUCT_FLOCK64 -#ifndef __ARCH_FLOCK64_PAD -#define __ARCH_FLOCK64_PAD +#ifdef __ARCH_FLOCK_PAD + __ARCH_FLOCK_PAD #endif +}; struct flock64 { short l_type; @@ -214,8 +213,10 @@ __kernel_loff_t l_start; __kernel_loff_t l_len; __kernel_pid_t l_pid; +#ifdef __ARCH_FLOCK64_PAD __ARCH_FLOCK64_PAD -}; #endif +}; +#endif /* HAVE_ARCH_STRUCT_FLOCK */ #endif /* _ASM_GENERIC_FCNTL_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/asm/hugetlb_encode.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/asm/hugetlb_encode.h
Changed
@@ -20,18 +20,18 @@ #define HUGETLB_FLAG_ENCODE_SHIFT 26 #define HUGETLB_FLAG_ENCODE_MASK 0x3f -#define HUGETLB_FLAG_ENCODE_16KB (14 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_64KB (16 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_512KB (19 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_1MB (20 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_2MB (21 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_8MB (23 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_16MB (24 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_32MB (25 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_256MB (28 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_512MB (29 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_1GB (30 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_2GB (31 << HUGETLB_FLAG_ENCODE_SHIFT) -#define HUGETLB_FLAG_ENCODE_16GB (34 << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_16KB (14U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_64KB (16U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_512KB (19U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_1MB (20U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_2MB (21U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_8MB (23U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_16MB (24U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_32MB (25U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_256MB (28U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_512MB (29U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_1GB (30U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_2GB (31U << HUGETLB_FLAG_ENCODE_SHIFT) +#define HUGETLB_FLAG_ENCODE_16GB (34U << HUGETLB_FLAG_ENCODE_SHIFT) #endif /* _ASM_GENERIC_HUGETLB_ENCODE_H_ */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/blkzoned.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/blkzoned.h
Changed
@@ -130,7 +130,7 @@ __u64 sector; __u32 nr_zones; __u32 flags; - struct blk_zone zones0; + struct blk_zone zones; }; /**
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/btrfs.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/btrfs.h
Changed
@@ -91,7 +91,7 @@ __u64 num_ref_copies; __u64 num_excl_copies; struct btrfs_qgroup_limit lim; - __u64 qgroups0; + __u64 qgroups; }; struct btrfs_ioctl_qgroup_limit_args { @@ -286,6 +286,13 @@ * first mount when booting older kernel versions. */ #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID (1ULL << 1) +#define BTRFS_FEATURE_COMPAT_RO_VERITY (1ULL << 2) + +/* + * Put all block group items into a dedicated block group tree, greatly + * reducing mount time for large filesystem due to better locality. + */ +#define BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE (1ULL << 3) #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) @@ -306,6 +313,7 @@ #define BTRFS_FEATURE_INCOMPAT_METADATA_UUID (1ULL << 10) #define BTRFS_FEATURE_INCOMPAT_RAID1C34 (1ULL << 11) #define BTRFS_FEATURE_INCOMPAT_ZONED (1ULL << 12) +#define BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2 (1ULL << 13) struct btrfs_ioctl_feature_flags { __u64 compat_flags; @@ -557,7 +565,7 @@ __u64 buf_size; /* in - size of buffer * out - on EOVERFLOW: needed size * to store item */ - __u64 buf0; /* out - found items */ + __u64 buf; /* out - found items */ }; struct btrfs_ioctl_clone_range_args { @@ -628,7 +636,7 @@ __u16 dest_count; /* in - total elements in info array */ __u16 reserved1; __u32 reserved2; - struct btrfs_ioctl_same_extent_info info0; + struct btrfs_ioctl_same_extent_info info; }; struct btrfs_ioctl_space_info { @@ -640,7 +648,7 @@ struct btrfs_ioctl_space_args { __u64 space_slots; __u64 total_spaces; - struct btrfs_ioctl_space_info spaces0; + struct btrfs_ioctl_space_info spaces; }; struct btrfs_data_container { @@ -648,7 +656,7 @@ __u32 bytes_missing; /* out -- additional bytes needed for result */ __u32 elem_cnt; /* out */ __u32 elem_missed; /* out */ - __u64 val0; /* out */ + __u64 val; /* out */ }; struct btrfs_ioctl_ino_path_args { @@ -768,10 +776,24 @@ */ #define BTRFS_SEND_FLAG_OMIT_END_CMD 0x4 +/* + * Read the protocol version in the structure + */ +#define BTRFS_SEND_FLAG_VERSION 0x8 + +/* + * Send compressed data using the ENCODED_WRITE command instead of decompressing + * the data and sending it with the WRITE command. This requires protocol + * version >= 2. + */ +#define BTRFS_SEND_FLAG_COMPRESSED 0x10 + #define BTRFS_SEND_FLAG_MASK \ (BTRFS_SEND_FLAG_NO_FILE_DATA | \ BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \ - BTRFS_SEND_FLAG_OMIT_END_CMD) + BTRFS_SEND_FLAG_OMIT_END_CMD | \ + BTRFS_SEND_FLAG_VERSION | \ + BTRFS_SEND_FLAG_COMPRESSED) struct btrfs_ioctl_send_args { __s64 send_fd; /* in */ @@ -779,7 +801,8 @@ __u64 *clone_sources; /* in */ __u64 parent_root; /* in */ __u64 flags; /* in */ - __u64 reserved4; /* in */ + __u32 version; /* in */ + __u8 reserved28; /* in */ }; /* @@ -858,6 +881,134 @@ __u8 align7; }; +/* + * Data and metadata for an encoded read or write. + * + * Encoded I/O bypasses any encoding automatically done by the filesystem (e.g., + * compression). This can be used to read the compressed contents of a file or + * write pre-compressed data directly to a file. + * + * BTRFS_IOC_ENCODED_READ and BTRFS_IOC_ENCODED_WRITE are essentially + * preadv/pwritev with additional metadata about how the data is encoded and the + * size of the unencoded data. + * + * BTRFS_IOC_ENCODED_READ fills the given iovecs with the encoded data, fills + * the metadata fields, and returns the size of the encoded data. It reads one + * extent per call. It can also read data which is not encoded. + * + * BTRFS_IOC_ENCODED_WRITE uses the metadata fields, writes the encoded data + * from the iovecs, and returns the size of the encoded data. Note that the + * encoded data is not validated when it is written; if it is not valid (e.g., + * it cannot be decompressed), then a subsequent read may return an error. + * + * Since the filesystem page cache contains decoded data, encoded I/O bypasses + * the page cache. Encoded I/O requires CAP_SYS_ADMIN. + */ +struct btrfs_ioctl_encoded_io_args { + /* Input parameters for both reads and writes. */ + + /* + * iovecs containing encoded data. + * + * For reads, if the size of the encoded data is larger than the sum of + * iovn.iov_len for 0 <= n < iovcnt, then the ioctl fails with + * ENOBUFS. + * + * For writes, the size of the encoded data is the sum of iovn.iov_len + * for 0 <= n < iovcnt. This must be less than 128 KiB (this limit may + * increase in the future). This must also be less than or equal to + * unencoded_len. + */ + const struct iovec *iov; + /* Number of iovecs. */ + unsigned long iovcnt; + /* + * Offset in file. + * + * For writes, must be aligned to the sector size of the filesystem. + */ + __s64 offset; + /* Currently must be zero. */ + __u64 flags; + + /* + * For reads, the following members are output parameters that will + * contain the returned metadata for the encoded data. + * For writes, the following members must be set to the metadata for the + * encoded data. + */ + + /* + * Length of the data in the file. + * + * Must be less than or equal to unencoded_len - unencoded_offset. For + * writes, must be aligned to the sector size of the filesystem unless + * the data ends at or beyond the current end of the file. + */ + __u64 len; + /* + * Length of the unencoded (i.e., decrypted and decompressed) data. + * + * For writes, must be no more than 128 KiB (this limit may increase in + * the future). If the unencoded data is actually longer than + * unencoded_len, then it is truncated; if it is shorter, then it is + * extended with zeroes. + */ + __u64 unencoded_len; + /* + * Offset from the first byte of the unencoded data to the first byte of + * logical data in the file. + * + * Must be less than unencoded_len. + */ + __u64 unencoded_offset; + /* + * BTRFS_ENCODED_IO_COMPRESSION_* type. + * + * For writes, must not be BTRFS_ENCODED_IO_COMPRESSION_NONE. + */ + __u32 compression; + /* Currently always BTRFS_ENCODED_IO_ENCRYPTION_NONE. */ + __u32 encryption; + /* + * Reserved for future expansion. + * + * For reads, always returned as zero. Users should check for non-zero + * bytes. If there are any, then the kernel has a newer version of this + * structure with additional information that the user definition is + * missing. + * + * For writes, must be zeroed. + */ + __u8 reserved64; +}; + +/* Data is not compressed. */ +#define BTRFS_ENCODED_IO_COMPRESSION_NONE 0 +/* Data is compressed as a single zlib stream. */ +#define BTRFS_ENCODED_IO_COMPRESSION_ZLIB 1 +/* + * Data is compressed as a single zstd frame with the windowLog compression + * parameter set to no more than 17. + */ +#define BTRFS_ENCODED_IO_COMPRESSION_ZSTD 2 +/* + * Data is compressed sector by sector (using the sector size indicated by the + * name of the constant) with LZO1X and wrapped in the format documented in + * fs/btrfs/lzo.c. For writes, the compression sector size must match the + * filesystem sector size. + */ +#define BTRFS_ENCODED_IO_COMPRESSION_LZO_4K 3 +#define BTRFS_ENCODED_IO_COMPRESSION_LZO_8K 4 +#define BTRFS_ENCODED_IO_COMPRESSION_LZO_16K 5 +#define BTRFS_ENCODED_IO_COMPRESSION_LZO_32K 6 +#define BTRFS_ENCODED_IO_COMPRESSION_LZO_64K 7 +#define BTRFS_ENCODED_IO_COMPRESSION_TYPES 8 + +/* Data is not encrypted. */ +#define BTRFS_ENCODED_IO_ENCRYPTION_NONE 0 +#define BTRFS_ENCODED_IO_ENCRYPTION_TYPES 1 + /* Error codes as returned by the kernel */ enum btrfs_err_code { BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1, @@ -986,5 +1137,9 @@ struct btrfs_ioctl_ino_lookup_user_args) #define BTRFS_IOC_SNAP_DESTROY_V2 _IOW(BTRFS_IOCTL_MAGIC, 63, \ struct btrfs_ioctl_vol_args_v2) +#define BTRFS_IOC_ENCODED_READ _IOR(BTRFS_IOCTL_MAGIC, 64, \ + struct btrfs_ioctl_encoded_io_args) +#define BTRFS_IOC_ENCODED_WRITE _IOW(BTRFS_IOCTL_MAGIC, 64, \ + struct btrfs_ioctl_encoded_io_args) #endif /* _LINUX_BTRFS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/btrfs_tree.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/btrfs_tree.h
Changed
@@ -49,6 +49,9 @@ /* tracks free space in block groups. */ #define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL +/* Holds the block group items for extent tree v2. */ +#define BTRFS_BLOCK_GROUP_TREE_OBJECTID 11ULL + /* device stats in the device tree */ #define BTRFS_DEV_STATS_OBJECTID 0ULL @@ -114,12 +117,37 @@ #define BTRFS_INODE_REF_KEY 12 #define BTRFS_INODE_EXTREF_KEY 13 #define BTRFS_XATTR_ITEM_KEY 24 + +/* + * fs verity items are stored under two different key types on disk. + * The descriptor items: + * inode objectid, BTRFS_VERITY_DESC_ITEM_KEY, offset + * + * At offset 0, we store a btrfs_verity_descriptor_item which tracks the size + * of the descriptor item and some extra data for encryption. + * Starting at offset 1, these hold the generic fs verity descriptor. The + * latter are opaque to btrfs, we just read and write them as a blob for the + * higher level verity code. The most common descriptor size is 256 bytes. + * + * The merkle tree items: + * inode objectid, BTRFS_VERITY_MERKLE_ITEM_KEY, offset + * + * These also start at offset 0, and correspond to the merkle tree bytes. When + * fsverity asks for page 0 of the merkle tree, we pull up one page starting at + * offset 0 for this key type. These are also opaque to btrfs, we're blindly + * storing whatever fsverity sends down. + */ +#define BTRFS_VERITY_DESC_ITEM_KEY 36 +#define BTRFS_VERITY_MERKLE_ITEM_KEY 37 + #define BTRFS_ORPHAN_ITEM_KEY 48 /* reserve 2-15 close to the inode for later flexibility */ /* * dir items are the name -> inode pointers in a directory. There is one - * for every name in a directory. + * for every name in a directory. BTRFS_DIR_LOG_ITEM_KEY is no longer used + * but it's still defined here for documentation purposes and to help avoid + * having its numerical value reused in the future. */ #define BTRFS_DIR_LOG_ITEM_KEY 60 #define BTRFS_DIR_LOG_INDEX_KEY 72 @@ -543,7 +571,7 @@ __le64 parent_objectid; __le64 index; __le16 name_len; - __u8 name0; + __u8 name; /* name goes here */ } __attribute__ ((__packed__)); @@ -848,19 +876,6 @@ #define BTRFS_BLOCK_GROUP_RESERVED (BTRFS_AVAIL_ALLOC_BIT_SINGLE | \ BTRFS_SPACE_INFO_GLOBAL_RSV) -enum btrfs_raid_types { - BTRFS_RAID_RAID10, - BTRFS_RAID_RAID1, - BTRFS_RAID_DUP, - BTRFS_RAID_RAID0, - BTRFS_RAID_SINGLE, - BTRFS_RAID_RAID5, - BTRFS_RAID_RAID6, - BTRFS_RAID_RAID1C3, - BTRFS_RAID_RAID1C4, - BTRFS_NR_RAID_TYPES -}; - #define BTRFS_BLOCK_GROUP_TYPE_MASK (BTRFS_BLOCK_GROUP_DATA | \ BTRFS_BLOCK_GROUP_SYSTEM | \ BTRFS_BLOCK_GROUP_METADATA) @@ -946,6 +961,10 @@ */ #define BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT (1ULL << 2) +#define BTRFS_QGROUP_STATUS_FLAGS_MASK (BTRFS_QGROUP_STATUS_FLAG_ON | \ + BTRFS_QGROUP_STATUS_FLAG_RESCAN | \ + BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT) + #define BTRFS_QGROUP_STATUS_VERSION 1 struct btrfs_qgroup_status_item { @@ -987,4 +1006,16 @@ __le64 rsv_excl; } __attribute__ ((__packed__)); +struct btrfs_verity_descriptor_item { + /* Size of the verity descriptor in bytes */ + __le64 size; + /* + * When we implement support for fscrypt, we will need to encrypt the + * Merkle tree for encrypted verity files. These 128 bits are for the + * eventual storage of an fscrypt initialization vector. + */ + __le64 reserved2; + __u8 encryption; +} __attribute__ ((__packed__)); + #endif /* _BTRFS_CTREE_H_ */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/counter.h
Added
@@ -0,0 +1,164 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Userspace ABI for Counter character devices + * Copyright (C) 2020 William Breathitt Gray + */ +#ifndef _COUNTER_H_ +#define _COUNTER_H_ + +#include <linux/ioctl.h> +#include <linux/types.h> + +/* Component type definitions */ +enum counter_component_type { + COUNTER_COMPONENT_NONE, + COUNTER_COMPONENT_SIGNAL, + COUNTER_COMPONENT_COUNT, + COUNTER_COMPONENT_FUNCTION, + COUNTER_COMPONENT_SYNAPSE_ACTION, + COUNTER_COMPONENT_EXTENSION, +}; + +/* Component scope definitions */ +enum counter_scope { + COUNTER_SCOPE_DEVICE, + COUNTER_SCOPE_SIGNAL, + COUNTER_SCOPE_COUNT, +}; + +/** + * struct counter_component - Counter component identification + * @type: component type (one of enum counter_component_type) + * @scope: component scope (one of enum counter_scope) + * @parent: parent ID (matching the ID suffix of the respective parent sysfs + * path as described by the ABI documentation file + * Documentation/ABI/testing/sysfs-bus-counter) + * @id: component ID (matching the ID provided by the respective *_component_id + * sysfs attribute of the desired component) + * + * For example, if the Count 2 ceiling extension of Counter device 4 is desired, + * set type equal to COUNTER_COMPONENT_EXTENSION, scope equal to + * COUNTER_COUNT_SCOPE, parent equal to 2, and id equal to the value provided by + * the respective /sys/bus/counter/devices/counter4/count2/ceiling_component_id + * sysfs attribute. + */ +struct counter_component { + __u8 type; + __u8 scope; + __u8 parent; + __u8 id; +}; + +/* Event type definitions */ +enum counter_event_type { + /* Count value increased past ceiling */ + COUNTER_EVENT_OVERFLOW, + /* Count value decreased past floor */ + COUNTER_EVENT_UNDERFLOW, + /* Count value increased past ceiling, or decreased past floor */ + COUNTER_EVENT_OVERFLOW_UNDERFLOW, + /* Count value reached threshold */ + COUNTER_EVENT_THRESHOLD, + /* Index signal detected */ + COUNTER_EVENT_INDEX, + /* State of counter is changed */ + COUNTER_EVENT_CHANGE_OF_STATE, + /* Count value captured */ + COUNTER_EVENT_CAPTURE, +}; + +/** + * struct counter_watch - Counter component watch configuration + * @component: component to watch when event triggers + * @event: event that triggers (one of enum counter_event_type) + * @channel: event channel (typically 0 unless the device supports concurrent + * events of the same type) + */ +struct counter_watch { + struct counter_component component; + __u8 event; + __u8 channel; +}; + +/* + * Queues a Counter watch for the specified event. + * + * The queued watches will not be applied until COUNTER_ENABLE_EVENTS_IOCTL is + * called. + */ +#define COUNTER_ADD_WATCH_IOCTL _IOW(0x3E, 0x00, struct counter_watch) +/* + * Enables monitoring the events specified by the Counter watches that were + * queued by COUNTER_ADD_WATCH_IOCTL. + * + * If events are already enabled, the new set of watches replaces the old one. + * Calling this ioctl also has the effect of clearing the queue of watches added + * by COUNTER_ADD_WATCH_IOCTL. + */ +#define COUNTER_ENABLE_EVENTS_IOCTL _IO(0x3E, 0x01) +/* + * Stops monitoring the previously enabled events. + */ +#define COUNTER_DISABLE_EVENTS_IOCTL _IO(0x3E, 0x02) + +/** + * struct counter_event - Counter event data + * @timestamp: best estimate of time of event occurrence, in nanoseconds + * @value: component value + * @watch: component watch configuration + * @status: return status (system error number) + */ +struct counter_event { + __aligned_u64 timestamp; + __aligned_u64 value; + struct counter_watch watch; + __u8 status; +}; + +/* Count direction values */ +enum counter_count_direction { + COUNTER_COUNT_DIRECTION_FORWARD, + COUNTER_COUNT_DIRECTION_BACKWARD, +}; + +/* Count mode values */ +enum counter_count_mode { + COUNTER_COUNT_MODE_NORMAL, + COUNTER_COUNT_MODE_RANGE_LIMIT, + COUNTER_COUNT_MODE_NON_RECYCLE, + COUNTER_COUNT_MODE_MODULO_N, +}; + +/* Count function values */ +enum counter_function { + COUNTER_FUNCTION_INCREASE, + COUNTER_FUNCTION_DECREASE, + COUNTER_FUNCTION_PULSE_DIRECTION, + COUNTER_FUNCTION_QUADRATURE_X1_A, + COUNTER_FUNCTION_QUADRATURE_X1_B, + COUNTER_FUNCTION_QUADRATURE_X2_A, + COUNTER_FUNCTION_QUADRATURE_X2_B, + COUNTER_FUNCTION_QUADRATURE_X4, +}; + +/* Signal values */ +enum counter_signal_level { + COUNTER_SIGNAL_LEVEL_LOW, + COUNTER_SIGNAL_LEVEL_HIGH, +}; + +/* Action mode values */ +enum counter_synapse_action { + COUNTER_SYNAPSE_ACTION_NONE, + COUNTER_SYNAPSE_ACTION_RISING_EDGE, + COUNTER_SYNAPSE_ACTION_FALLING_EDGE, + COUNTER_SYNAPSE_ACTION_BOTH_EDGES, +}; + +/* Signal polarity values */ +enum counter_signal_polarity { + COUNTER_SIGNAL_POLARITY_POSITIVE, + COUNTER_SIGNAL_POLARITY_NEGATIVE, +}; + +#endif /* _COUNTER_H_ */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/dm-ioctl.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/dm-ioctl.h
Changed
@@ -182,7 +182,7 @@ struct dm_target_deps { __u32 count; /* Array size */ __u32 padding; /* unused */ - __u64 dev0; /* out */ + __u64 dev; /* out */ }; /* @@ -192,7 +192,7 @@ __u64 dev; __u32 next; /* offset to the next record from the _start_ of this */ - char name0; + char name; /* * The following members can be accessed by taking a pointer that @@ -216,7 +216,7 @@ __u32 next; __u32 version3; - char name0; + char name; }; /* @@ -225,7 +225,7 @@ struct dm_target_msg { __u64 sector; /* Device sector */ - char message0; + char message; }; /* @@ -286,9 +286,9 @@ #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl) #define DM_VERSION_MAJOR 4 -#define DM_VERSION_MINOR 45 +#define DM_VERSION_MINOR 47 #define DM_VERSION_PATCHLEVEL 0 -#define DM_VERSION_EXTRA "-ioctl (2021-03-22)" +#define DM_VERSION_EXTRA "-ioctl (2022-07-28)" /* Status bits */ #define DM_READONLY_FLAG (1 << 0) /* In/Out */ @@ -376,4 +376,10 @@ */ #define DM_INTERNAL_SUSPEND_FLAG (1 << 18) /* Out */ +/* + * If set, returns in the in buffer passed by UM, the raw table information + * that would be measured by IMA subsystem on device state change. + */ +#define DM_IMA_MEASUREMENT_FLAG (1 << 19) /* In */ + #endif /* _LINUX_DM_IOCTL_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/fiemap.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/fiemap.h
Changed
@@ -34,7 +34,7 @@ __u32 fm_mapped_extents;/* number of extents that were mapped (out) */ __u32 fm_extent_count; /* size of fm_extents array (in) */ __u32 fm_reserved; - struct fiemap_extent fm_extents0; /* array of mapped extents (out) */ + struct fiemap_extent fm_extents; /* array of mapped extents (out) */ }; #define FIEMAP_MAX_OFFSET (~0ULL)
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/fs.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/fs.h
Changed
@@ -86,7 +86,7 @@ __u16 dest_count; /* in - total elements in info array */ __u16 reserved1; /* must be zero */ __u32 reserved2; /* must be zero */ - struct file_dedupe_range_info info0; + struct file_dedupe_range_info info; }; /* And dynamically-tunable limits and defaults: */ @@ -180,6 +180,7 @@ #define BLKSECDISCARD _IO(0x12,125) #define BLKROTATIONAL _IO(0x12,126) #define BLKZEROOUT _IO(0x12,127) +#define BLKGETDISKSEQ _IOR(0x12,128,__u64) /* * A jump here: 130-136 are reserved for zoned block devices * (see uapi/linux/blkzoned.h)
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/fscrypt.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/fscrypt.h
Changed
@@ -27,7 +27,8 @@ #define FSCRYPT_MODE_AES_128_CBC 5 #define FSCRYPT_MODE_AES_128_CTS 6 #define FSCRYPT_MODE_ADIANTUM 9 -/* If adding a mode number > 9, update FSCRYPT_MODE_MAX in fscrypt_private.h */ +#define FSCRYPT_MODE_AES_256_HCTR2 10 +/* If adding a mode number > 10, update FSCRYPT_MODE_MAX in fscrypt_private.h */ /* * Legacy policy version; ad-hoc KDF and no key verification.
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/futex.h
Added
@@ -0,0 +1,180 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_FUTEX_H +#define _LINUX_FUTEX_H + + +#include <linux/types.h> + +/* Second argument to futex syscall */ + + +#define FUTEX_WAIT 0 +#define FUTEX_WAKE 1 +#define FUTEX_FD 2 +#define FUTEX_REQUEUE 3 +#define FUTEX_CMP_REQUEUE 4 +#define FUTEX_WAKE_OP 5 +#define FUTEX_LOCK_PI 6 +#define FUTEX_UNLOCK_PI 7 +#define FUTEX_TRYLOCK_PI 8 +#define FUTEX_WAIT_BITSET 9 +#define FUTEX_WAKE_BITSET 10 +#define FUTEX_WAIT_REQUEUE_PI 11 +#define FUTEX_CMP_REQUEUE_PI 12 +#define FUTEX_LOCK_PI2 13 + +#define FUTEX_PRIVATE_FLAG 128 +#define FUTEX_CLOCK_REALTIME 256 +#define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME) + +#define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) +#define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG) +#define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG) +#define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG) +#define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG) +#define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG) +#define FUTEX_LOCK_PI2_PRIVATE (FUTEX_LOCK_PI2 | FUTEX_PRIVATE_FLAG) +#define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG) +#define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG) +#define FUTEX_WAIT_BITSET_PRIVATE (FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG) +#define FUTEX_WAKE_BITSET_PRIVATE (FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG) +#define FUTEX_WAIT_REQUEUE_PI_PRIVATE (FUTEX_WAIT_REQUEUE_PI | \ + FUTEX_PRIVATE_FLAG) +#define FUTEX_CMP_REQUEUE_PI_PRIVATE (FUTEX_CMP_REQUEUE_PI | \ + FUTEX_PRIVATE_FLAG) + +/* + * Flags to specify the bit length of the futex word for futex2 syscalls. + * Currently, only 32 is supported. + */ +#define FUTEX_32 2 + +/* + * Max numbers of elements in a futex_waitv array + */ +#define FUTEX_WAITV_MAX 128 + +/** + * struct futex_waitv - A waiter for vectorized wait + * @val: Expected value at uaddr + * @uaddr: User address to wait on + * @flags: Flags for this waiter + * @__reserved: Reserved member to preserve data alignment. Should be 0. + */ +struct futex_waitv { + __u64 val; + __u64 uaddr; + __u32 flags; + __u32 __reserved; +}; + +/* + * Support for robust futexes: the kernel cleans up held futexes at + * thread exit time. + */ + +/* + * Per-lock list entry - embedded in user-space locks, somewhere close + * to the futex field. (Note: user-space uses a double-linked list to + * achieve O(1) list add and remove, but the kernel only needs to know + * about the forward link) + * + * NOTE: this structure is part of the syscall ABI, and must not be + * changed. + */ +struct robust_list { + struct robust_list *next; +}; + +/* + * Per-thread list head: + * + * NOTE: this structure is part of the syscall ABI, and must only be + * changed if the change is first communicated with the glibc folks. + * (When an incompatible change is done, we'll increase the structure + * size, which glibc will detect) + */ +struct robust_list_head { + /* + * The head of the list. Points back to itself if empty: + */ + struct robust_list list; + + /* + * This relative offset is set by user-space, it gives the kernel + * the relative position of the futex field to examine. This way + * we keep userspace flexible, to freely shape its data-structure, + * without hardcoding any particular offset into the kernel: + */ + long futex_offset; + + /* + * The death of the thread may race with userspace setting + * up a lock's links. So to handle this race, userspace first + * sets this field to the address of the to-be-taken lock, + * then does the lock acquire, and then adds itself to the + * list, and then clears this field. Hence the kernel will + * always have full knowledge of all locks that the thread + * _might_ have taken. We check the owner TID in any case, + * so only truly owned locks will be handled. + */ + struct robust_list *list_op_pending; +}; + +/* + * Are there any waiters for this robust futex: + */ +#define FUTEX_WAITERS 0x80000000 + +/* + * The kernel signals via this bit that a thread holding a futex + * has exited without unlocking the futex. The kernel also does + * a FUTEX_WAKE on such futexes, after setting the bit, to wake + * up any possible waiters: + */ +#define FUTEX_OWNER_DIED 0x40000000 + +/* + * The rest of the robust-futex field is for the TID: + */ +#define FUTEX_TID_MASK 0x3fffffff + +/* + * This limit protects against a deliberately circular list. + * (Not worth introducing an rlimit for it) + */ +#define ROBUST_LIST_LIMIT 2048 + +/* + * bitset with all bits set for the FUTEX_xxx_BITSET OPs to request a + * match of any bit. + */ +#define FUTEX_BITSET_MATCH_ANY 0xffffffff + + +#define FUTEX_OP_SET 0 /* *(int *)UADDR2 = OPARG; */ +#define FUTEX_OP_ADD 1 /* *(int *)UADDR2 += OPARG; */ +#define FUTEX_OP_OR 2 /* *(int *)UADDR2 |= OPARG; */ +#define FUTEX_OP_ANDN 3 /* *(int *)UADDR2 &= ~OPARG; */ +#define FUTEX_OP_XOR 4 /* *(int *)UADDR2 ^= OPARG; */ + +#define FUTEX_OP_OPARG_SHIFT 8 /* Use (1 << OPARG) instead of OPARG. */ + +#define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ +#define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ +#define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ +#define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ +#define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ +#define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ + +/* FUTEX_WAKE_OP will perform atomically + int oldval = *(int *)UADDR2; + *(int *)UADDR2 = oldval OP OPARG; + if (oldval CMP CMPARG) + wake UADDR2; */ + +#define FUTEX_OP(op, oparg, cmp, cmparg) \ + (((op & 0xf) << 28) | ((cmp & 0xf) << 24) \ + | ((oparg & 0xfff) << 12) | (cmparg & 0xfff)) + +#endif /* _LINUX_FUTEX_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/gpio.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/gpio.h
Changed
@@ -66,6 +66,8 @@ * @GPIO_V2_LINE_FLAG_BIAS_PULL_DOWN: line has pull-down bias enabled * @GPIO_V2_LINE_FLAG_BIAS_DISABLED: line has bias disabled * @GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME: line events contain REALTIME timestamps + * @GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE: line events contain timestamps from + * hardware timestamp engine */ enum gpio_v2_line_flag { GPIO_V2_LINE_FLAG_USED = _BITULL(0), @@ -80,6 +82,7 @@ GPIO_V2_LINE_FLAG_BIAS_PULL_DOWN = _BITULL(9), GPIO_V2_LINE_FLAG_BIAS_DISABLED = _BITULL(10), GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME = _BITULL(11), + GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE = _BITULL(12), }; /**
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/if_addr.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_addr.h
Changed
@@ -33,8 +33,9 @@ IFA_CACHEINFO, IFA_MULTICAST, IFA_FLAGS, - IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */ + IFA_RT_PRIORITY, /* u32, priority/metric for prefix route */ IFA_TARGET_NETNSID, + IFA_PROTO, /* u8, address protocol */ __IFA_MAX, }; @@ -67,4 +68,10 @@ #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg)) +/* ifa_proto */ +#define IFAPROT_UNSPEC 0 +#define IFAPROT_KERNEL_LO 1 /* loopback */ +#define IFAPROT_KERNEL_RA 2 /* set by kernel from router announcement */ +#define IFAPROT_KERNEL_LL 3 /* link-local set by kernel */ + #endif
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_alg.h
Added
@@ -0,0 +1,60 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * if_alg: User-space algorithm interface + * + * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + */ + +#ifndef _LINUX_IF_ALG_H +#define _LINUX_IF_ALG_H + +#include <linux/types.h> + +struct sockaddr_alg { + __u16 salg_family; + __u8 salg_type14; + __u32 salg_feat; + __u32 salg_mask; + __u8 salg_name64; +}; + +/* + * Linux v4.12 and later removed the 64-byte limit on salg_name; it's now an + * arbitrary-length field. We had to keep the original struct above for source + * compatibility with existing userspace programs, though. Use the new struct + * below if support for very long algorithm names is needed. To do this, + * allocate 'sizeof(struct sockaddr_alg_new) + strlen(algname) + 1' bytes, and + * copy algname (including the null terminator) into salg_name. + */ +struct sockaddr_alg_new { + __u16 salg_family; + __u8 salg_type14; + __u32 salg_feat; + __u32 salg_mask; + __u8 salg_name; +}; + +struct af_alg_iv { + __u32 ivlen; + __u8 iv; +}; + +/* Socket options */ +#define ALG_SET_KEY 1 +#define ALG_SET_IV 2 +#define ALG_SET_OP 3 +#define ALG_SET_AEAD_ASSOCLEN 4 +#define ALG_SET_AEAD_AUTHSIZE 5 +#define ALG_SET_DRBG_ENTROPY 6 + +/* Operations */ +#define ALG_OP_DECRYPT 0 +#define ALG_OP_ENCRYPT 1 + +#endif /* _LINUX_IF_ALG_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_bonding.h
Added
@@ -0,0 +1,155 @@ +/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ +/* + * Bond several ethernet interfaces into a Cisco, running 'Etherchannel'. + * + * + * Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes + * NCM: Network and Communications Management, Inc. + * + * BUT, I'm the one who modified it for ethernet, so: + * (c) Copyright 1999, Thomas Davis, tadavis@lbl.gov + * + * This software may be used and distributed according to the terms + * of the GNU Public License, incorporated herein by reference. + * + * 2003/03/18 - Amir Noam <amir.noam at intel dot com> + * - Added support for getting slave's speed and duplex via ethtool. + * Needed for 802.3ad and other future modes. + * + * 2003/03/18 - Tsippy Mendelson <tsippy.mendelson at intel dot com> and + * Shmulik Hen <shmulik.hen at intel dot com> + * - Enable support of modes that need to use the unique mac address of + * each slave. + * + * 2003/03/18 - Tsippy Mendelson <tsippy.mendelson at intel dot com> and + * Amir Noam <amir.noam at intel dot com> + * - Moved driver's private data types to bonding.h + * + * 2003/03/18 - Amir Noam <amir.noam at intel dot com>, + * Tsippy Mendelson <tsippy.mendelson at intel dot com> and + * Shmulik Hen <shmulik.hen at intel dot com> + * - Added support for IEEE 802.3ad Dynamic link aggregation mode. + * + * 2003/05/01 - Amir Noam <amir.noam at intel dot com> + * - Added ABI version control to restore compatibility between + * new/old ifenslave and new/old bonding. + * + * 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com> + * - Code cleanup and style changes + * + * 2005/05/05 - Jason Gabler <jygabler at lbl dot gov> + * - added definitions for various XOR hashing policies + */ + +#ifndef _LINUX_IF_BONDING_H +#define _LINUX_IF_BONDING_H + +#include <linux/if.h> +#include <linux/types.h> +#include <linux/if_ether.h> + +/* userland - kernel ABI version (2003/05/08) */ +#define BOND_ABI_VERSION 2 + +/* + * We can remove these ioctl definitions in 2.5. People should use the + * SIOC*** versions of them instead + */ +#define BOND_ENSLAVE_OLD (SIOCDEVPRIVATE) +#define BOND_RELEASE_OLD (SIOCDEVPRIVATE + 1) +#define BOND_SETHWADDR_OLD (SIOCDEVPRIVATE + 2) +#define BOND_SLAVE_INFO_QUERY_OLD (SIOCDEVPRIVATE + 11) +#define BOND_INFO_QUERY_OLD (SIOCDEVPRIVATE + 12) +#define BOND_CHANGE_ACTIVE_OLD (SIOCDEVPRIVATE + 13) + +#define BOND_CHECK_MII_STATUS (SIOCGMIIPHY) + +#define BOND_MODE_ROUNDROBIN 0 +#define BOND_MODE_ACTIVEBACKUP 1 +#define BOND_MODE_XOR 2 +#define BOND_MODE_BROADCAST 3 +#define BOND_MODE_8023AD 4 +#define BOND_MODE_TLB 5 +#define BOND_MODE_ALB 6 /* TLB + RLB (receive load balancing) */ + +/* each slave's link has 4 states */ +#define BOND_LINK_UP 0 /* link is up and running */ +#define BOND_LINK_FAIL 1 /* link has just gone down */ +#define BOND_LINK_DOWN 2 /* link has been down for too long time */ +#define BOND_LINK_BACK 3 /* link is going back */ + +/* each slave has several states */ +#define BOND_STATE_ACTIVE 0 /* link is active */ +#define BOND_STATE_BACKUP 1 /* link is backup */ + +#define BOND_DEFAULT_MAX_BONDS 1 /* Default maximum number of devices to support */ + +#define BOND_DEFAULT_TX_QUEUES 16 /* Default number of tx queues per device */ + +#define BOND_DEFAULT_RESEND_IGMP 1 /* Default number of IGMP membership reports */ + +/* hashing types */ +#define BOND_XMIT_POLICY_LAYER2 0 /* layer 2 (MAC only), default */ +#define BOND_XMIT_POLICY_LAYER34 1 /* layer 3+4 (IP ^ (TCP || UDP)) */ +#define BOND_XMIT_POLICY_LAYER23 2 /* layer 2+3 (IP ^ MAC) */ +#define BOND_XMIT_POLICY_ENCAP23 3 /* encapsulated layer 2+3 */ +#define BOND_XMIT_POLICY_ENCAP34 4 /* encapsulated layer 3+4 */ +#define BOND_XMIT_POLICY_VLAN_SRCMAC 5 /* vlan + source MAC */ + +/* 802.3ad port state definitions (43.4.2.2 in the 802.3ad standard) */ +#define LACP_STATE_LACP_ACTIVITY 0x1 +#define LACP_STATE_LACP_TIMEOUT 0x2 +#define LACP_STATE_AGGREGATION 0x4 +#define LACP_STATE_SYNCHRONIZATION 0x8 +#define LACP_STATE_COLLECTING 0x10 +#define LACP_STATE_DISTRIBUTING 0x20 +#define LACP_STATE_DEFAULTED 0x40 +#define LACP_STATE_EXPIRED 0x80 + +typedef struct ifbond { + __s32 bond_mode; + __s32 num_slaves; + __s32 miimon; +} ifbond; + +typedef struct ifslave { + __s32 slave_id; /* Used as an IN param to the BOND_SLAVE_INFO_QUERY ioctl */ + char slave_nameIFNAMSIZ; + __s8 link; + __s8 state; + __u32 link_failure_count; +} ifslave; + +struct ad_info { + __u16 aggregator_id; + __u16 ports; + __u16 actor_key; + __u16 partner_key; + __u8 partner_systemETH_ALEN; +}; + +/* Embedded inside LINK_XSTATS_TYPE_BOND */ +enum { + BOND_XSTATS_UNSPEC, + BOND_XSTATS_3AD, + __BOND_XSTATS_MAX +}; +#define BOND_XSTATS_MAX (__BOND_XSTATS_MAX - 1) + +/* Embedded inside BOND_XSTATS_3AD */ +enum { + BOND_3AD_STAT_LACPDU_RX, + BOND_3AD_STAT_LACPDU_TX, + BOND_3AD_STAT_LACPDU_UNKNOWN_RX, + BOND_3AD_STAT_LACPDU_ILLEGAL_RX, + BOND_3AD_STAT_MARKER_RX, + BOND_3AD_STAT_MARKER_TX, + BOND_3AD_STAT_MARKER_RESP_RX, + BOND_3AD_STAT_MARKER_RESP_TX, + BOND_3AD_STAT_MARKER_UNKNOWN_RX, + BOND_3AD_STAT_PAD, + __BOND_3AD_STAT_MAX +}; +#define BOND_3AD_STAT_MAX (__BOND_3AD_STAT_MAX - 1) + +#endif /* _LINUX_IF_BONDING_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/if_bridge.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_bridge.h
Changed
@@ -122,6 +122,7 @@ IFLA_BRIDGE_VLAN_TUNNEL_INFO, IFLA_BRIDGE_MRP, IFLA_BRIDGE_CFM, + IFLA_BRIDGE_MST, __IFLA_BRIDGE_MAX, }; #define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1) @@ -453,6 +454,21 @@ #define IFLA_BRIDGE_CFM_CC_PEER_STATUS_MAX (__IFLA_BRIDGE_CFM_CC_PEER_STATUS_MAX - 1) +enum { + IFLA_BRIDGE_MST_UNSPEC, + IFLA_BRIDGE_MST_ENTRY, + __IFLA_BRIDGE_MST_MAX, +}; +#define IFLA_BRIDGE_MST_MAX (__IFLA_BRIDGE_MST_MAX - 1) + +enum { + IFLA_BRIDGE_MST_ENTRY_UNSPEC, + IFLA_BRIDGE_MST_ENTRY_MSTI, + IFLA_BRIDGE_MST_ENTRY_STATE, + __IFLA_BRIDGE_MST_ENTRY_MAX, +}; +#define IFLA_BRIDGE_MST_ENTRY_MAX (__IFLA_BRIDGE_MST_ENTRY_MAX - 1) + struct bridge_stp_xstats { __u64 transition_blk; __u64 transition_fwd; @@ -479,16 +495,22 @@ /* flags used in BRIDGE_VLANDB_DUMP_FLAGS attribute to affect dumps */ #define BRIDGE_VLANDB_DUMPF_STATS (1 << 0) /* Include stats in the dump */ +#define BRIDGE_VLANDB_DUMPF_GLOBAL (1 << 1) /* Dump global vlan options only */ /* Bridge vlan RTM attributes * BRIDGE_VLANDB_ENTRY = { * BRIDGE_VLANDB_ENTRY_INFO * ... * } + * BRIDGE_VLANDB_GLOBAL_OPTIONS = { + * BRIDGE_VLANDB_GOPTS_ID + * ... + * } */ enum { BRIDGE_VLANDB_UNSPEC, BRIDGE_VLANDB_ENTRY, + BRIDGE_VLANDB_GLOBAL_OPTIONS, __BRIDGE_VLANDB_MAX, }; #define BRIDGE_VLANDB_MAX (__BRIDGE_VLANDB_MAX - 1) @@ -500,6 +522,7 @@ BRIDGE_VLANDB_ENTRY_STATE, BRIDGE_VLANDB_ENTRY_TUNNEL_INFO, BRIDGE_VLANDB_ENTRY_STATS, + BRIDGE_VLANDB_ENTRY_MCAST_ROUTER, __BRIDGE_VLANDB_ENTRY_MAX, }; #define BRIDGE_VLANDB_ENTRY_MAX (__BRIDGE_VLANDB_ENTRY_MAX - 1) @@ -538,6 +561,30 @@ }; #define BRIDGE_VLANDB_STATS_MAX (__BRIDGE_VLANDB_STATS_MAX - 1) +enum { + BRIDGE_VLANDB_GOPTS_UNSPEC, + BRIDGE_VLANDB_GOPTS_ID, + BRIDGE_VLANDB_GOPTS_RANGE, + BRIDGE_VLANDB_GOPTS_MCAST_SNOOPING, + BRIDGE_VLANDB_GOPTS_MCAST_IGMP_VERSION, + BRIDGE_VLANDB_GOPTS_MCAST_MLD_VERSION, + BRIDGE_VLANDB_GOPTS_MCAST_LAST_MEMBER_CNT, + BRIDGE_VLANDB_GOPTS_MCAST_STARTUP_QUERY_CNT, + BRIDGE_VLANDB_GOPTS_MCAST_LAST_MEMBER_INTVL, + BRIDGE_VLANDB_GOPTS_PAD, + BRIDGE_VLANDB_GOPTS_MCAST_MEMBERSHIP_INTVL, + BRIDGE_VLANDB_GOPTS_MCAST_QUERIER_INTVL, + BRIDGE_VLANDB_GOPTS_MCAST_QUERY_INTVL, + BRIDGE_VLANDB_GOPTS_MCAST_QUERY_RESPONSE_INTVL, + BRIDGE_VLANDB_GOPTS_MCAST_STARTUP_QUERY_INTVL, + BRIDGE_VLANDB_GOPTS_MCAST_QUERIER, + BRIDGE_VLANDB_GOPTS_MCAST_ROUTER_PORTS, + BRIDGE_VLANDB_GOPTS_MCAST_QUERIER_STATE, + BRIDGE_VLANDB_GOPTS_MSTI, + __BRIDGE_VLANDB_GOPTS_MAX +}; +#define BRIDGE_VLANDB_GOPTS_MAX (__BRIDGE_VLANDB_GOPTS_MAX - 1) + /* Bridge multicast database attributes * MDBA_MDB = { * MDBA_MDB_ENTRY = { @@ -629,6 +676,7 @@ MDBA_ROUTER_PATTR_TYPE, MDBA_ROUTER_PATTR_INET_TIMER, MDBA_ROUTER_PATTR_INET6_TIMER, + MDBA_ROUTER_PATTR_VID, __MDBA_ROUTER_PATTR_MAX }; #define MDBA_ROUTER_PATTR_MAX (__MDBA_ROUTER_PATTR_MAX - 1) @@ -720,12 +768,15 @@ /* bridge boolean options * BR_BOOLOPT_NO_LL_LEARN - disable learning from link-local packets + * BR_BOOLOPT_MCAST_VLAN_SNOOPING - control vlan multicast snooping * * IMPORTANT: if adding a new option do not forget to handle * it in br_boolopt_toggle/get and bridge sysfs */ enum br_boolopt_id { BR_BOOLOPT_NO_LL_LEARN, + BR_BOOLOPT_MCAST_VLAN_SNOOPING, + BR_BOOLOPT_MST_ENABLE, BR_BOOLOPT_MAX }; @@ -738,4 +789,17 @@ __u32 optval; __u32 optmask; }; + +enum { + BRIDGE_QUERIER_UNSPEC, + BRIDGE_QUERIER_IP_ADDRESS, + BRIDGE_QUERIER_IP_PORT, + BRIDGE_QUERIER_IP_OTHER_TIMER, + BRIDGE_QUERIER_PAD, + BRIDGE_QUERIER_IPV6_ADDRESS, + BRIDGE_QUERIER_IPV6_PORT, + BRIDGE_QUERIER_IPV6_OTHER_TIMER, + __BRIDGE_QUERIER_MAX +}; +#define BRIDGE_QUERIER_MAX (__BRIDGE_QUERIER_MAX - 1) #endif /* _LINUX_IF_BRIDGE_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/if_link.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_link.h
Changed
@@ -211,6 +211,9 @@ * @rx_nohandler: Number of packets received on the interface * but dropped by the networking stack because the device is * not designated to receive packets (e.g. backup link in a bond). + * + * @rx_otherhost_dropped: Number of packets dropped due to mismatch + * in destination MAC address. */ struct rtnl_link_stats64 { __u64 rx_packets; @@ -243,6 +246,23 @@ __u64 rx_compressed; __u64 tx_compressed; __u64 rx_nohandler; + + __u64 rx_otherhost_dropped; +}; + +/* Subset of link stats useful for in-HW collection. Meaning of the fields is as + * for struct rtnl_link_stats64. + */ +struct rtnl_hw_stats64 { + __u64 rx_packets; + __u64 tx_packets; + __u64 rx_bytes; + __u64 tx_bytes; + __u64 rx_errors; + __u64 tx_errors; + __u64 rx_dropped; + __u64 tx_dropped; + __u64 multicast; }; /* The struct should be in sync with struct ifmap */ @@ -347,6 +367,10 @@ */ IFLA_PARENT_DEV_NAME, IFLA_PARENT_DEV_BUS_NAME, + IFLA_GRO_MAX_SIZE, + IFLA_TSO_MAX_SIZE, + IFLA_TSO_MAX_SEGS, + IFLA_ALLMULTI, /* Allmulti count: > 0 means acts ALLMULTI */ __IFLA_MAX }; @@ -415,6 +439,7 @@ IFLA_INET6_ICMP6STATS, /* statistics (icmpv6) */ IFLA_INET6_TOKEN, /* device token */ IFLA_INET6_ADDR_GEN_MODE, /* implicit address generator mode */ + IFLA_INET6_RA_MTU, /* mtu carried in the RA message */ __IFLA_INET6_MAX }; @@ -477,6 +502,7 @@ IFLA_BR_MCAST_MLD_VERSION, IFLA_BR_VLAN_STATS_PER_PORT, IFLA_BR_MULTI_BOOLOPT, + IFLA_BR_MCAST_QUERIER_STATE, __IFLA_BR_MAX, }; @@ -532,6 +558,7 @@ IFLA_BRPORT_MRP_IN_OPEN, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT, + IFLA_BRPORT_LOCKED, __IFLA_BRPORT_MAX }; #define IFLA_BRPORT_MAX (__IFLA_BRPORT_MAX - 1) @@ -666,6 +693,7 @@ IFLA_XFRM_UNSPEC, IFLA_XFRM_LINK, IFLA_XFRM_IF_ID, + IFLA_XFRM_COLLECT_METADATA, __IFLA_XFRM_MAX }; @@ -707,7 +735,55 @@ #define IPVLAN_F_PRIVATE 0x01 #define IPVLAN_F_VEPA 0x02 +/* Tunnel RTM header */ +struct tunnel_msg { + __u8 family; + __u8 flags; + __u16 reserved2; + __u32 ifindex; +}; + /* VXLAN section */ + +/* include statistics in the dump */ +#define TUNNEL_MSG_FLAG_STATS 0x01 + +#define TUNNEL_MSG_VALID_USER_FLAGS TUNNEL_MSG_FLAG_STATS + +/* Embedded inside VXLAN_VNIFILTER_ENTRY_STATS */ +enum { + VNIFILTER_ENTRY_STATS_UNSPEC, + VNIFILTER_ENTRY_STATS_RX_BYTES, + VNIFILTER_ENTRY_STATS_RX_PKTS, + VNIFILTER_ENTRY_STATS_RX_DROPS, + VNIFILTER_ENTRY_STATS_RX_ERRORS, + VNIFILTER_ENTRY_STATS_TX_BYTES, + VNIFILTER_ENTRY_STATS_TX_PKTS, + VNIFILTER_ENTRY_STATS_TX_DROPS, + VNIFILTER_ENTRY_STATS_TX_ERRORS, + VNIFILTER_ENTRY_STATS_PAD, + __VNIFILTER_ENTRY_STATS_MAX +}; +#define VNIFILTER_ENTRY_STATS_MAX (__VNIFILTER_ENTRY_STATS_MAX - 1) + +enum { + VXLAN_VNIFILTER_ENTRY_UNSPEC, + VXLAN_VNIFILTER_ENTRY_START, + VXLAN_VNIFILTER_ENTRY_END, + VXLAN_VNIFILTER_ENTRY_GROUP, + VXLAN_VNIFILTER_ENTRY_GROUP6, + VXLAN_VNIFILTER_ENTRY_STATS, + __VXLAN_VNIFILTER_ENTRY_MAX +}; +#define VXLAN_VNIFILTER_ENTRY_MAX (__VXLAN_VNIFILTER_ENTRY_MAX - 1) + +enum { + VXLAN_VNIFILTER_UNSPEC, + VXLAN_VNIFILTER_ENTRY, + __VXLAN_VNIFILTER_MAX +}; +#define VXLAN_VNIFILTER_MAX (__VXLAN_VNIFILTER_MAX - 1) + enum { IFLA_VXLAN_UNSPEC, IFLA_VXLAN_ID, @@ -739,6 +815,7 @@ IFLA_VXLAN_GPE, IFLA_VXLAN_TTL_INHERIT, IFLA_VXLAN_DF, + IFLA_VXLAN_VNIFILTER, /* only applicable with COLLECT_METADATA mode */ __IFLA_VXLAN_MAX }; #define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1) @@ -772,6 +849,7 @@ IFLA_GENEVE_LABEL, IFLA_GENEVE_TTL_INHERIT, IFLA_GENEVE_DF, + IFLA_GENEVE_INNER_PROTO_INHERIT, __IFLA_GENEVE_MAX }; #define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1) @@ -817,6 +895,8 @@ IFLA_GTP_FD1, IFLA_GTP_PDP_HASHSIZE, IFLA_GTP_ROLE, + IFLA_GTP_CREATE_SOCKETS, + IFLA_GTP_RESTART_COUNT, __IFLA_GTP_MAX, }; #define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1) @@ -853,6 +933,9 @@ IFLA_BOND_AD_ACTOR_SYSTEM, IFLA_BOND_TLB_DYNAMIC_LB, IFLA_BOND_PEER_NOTIF_DELAY, + IFLA_BOND_AD_LACP_ACTIVE, + IFLA_BOND_MISSED_MAX, + IFLA_BOND_NS_IP6_TARGET, __IFLA_BOND_MAX, }; @@ -880,6 +963,7 @@ IFLA_BOND_SLAVE_AD_AGGREGATOR_ID, IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE, IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE, + IFLA_BOND_SLAVE_PRIO, __IFLA_BOND_SLAVE_MAX, }; @@ -1149,6 +1233,17 @@ #define IFLA_STATS_FILTER_BIT(ATTR) (1 << (ATTR - 1)) +enum { + IFLA_STATS_GETSET_UNSPEC, + IFLA_STATS_GET_FILTERS, /* Nest of IFLA_STATS_LINK_xxx, each a u32 with + * a filter mask for the corresponding group. + */ + IFLA_STATS_SET_OFFLOAD_XSTATS_L3_STATS, /* 0 or 1 as u8 */ + __IFLA_STATS_GETSET_MAX, +}; + +#define IFLA_STATS_GETSET_MAX (__IFLA_STATS_GETSET_MAX - 1) + /* These are embedded into IFLA_STATS_LINK_XSTATS: * IFLA_STATS_LINK_XSTATS * -> LINK_XSTATS_TYPE_xxx @@ -1166,10 +1261,21 @@ enum { IFLA_OFFLOAD_XSTATS_UNSPEC, IFLA_OFFLOAD_XSTATS_CPU_HIT, /* struct rtnl_link_stats64 */ + IFLA_OFFLOAD_XSTATS_HW_S_INFO, /* HW stats info. A nest */ + IFLA_OFFLOAD_XSTATS_L3_STATS, /* struct rtnl_hw_stats64 */ __IFLA_OFFLOAD_XSTATS_MAX }; #define IFLA_OFFLOAD_XSTATS_MAX (__IFLA_OFFLOAD_XSTATS_MAX - 1) +enum { + IFLA_OFFLOAD_XSTATS_HW_S_INFO_UNSPEC, + IFLA_OFFLOAD_XSTATS_HW_S_INFO_REQUEST, /* u8 */ + IFLA_OFFLOAD_XSTATS_HW_S_INFO_USED, /* u8 */ + __IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX, +}; +#define IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX \ + (__IFLA_OFFLOAD_XSTATS_HW_S_INFO_MAX - 1) + /* XDP section */ #define XDP_FLAGS_UPDATE_IF_NOEXIST (1U << 0) @@ -1258,4 +1364,24 @@ __u32 mask; }; +/* MCTP section */ + +enum { + IFLA_MCTP_UNSPEC, + IFLA_MCTP_NET, + __IFLA_MCTP_MAX, +}; + +#define IFLA_MCTP_MAX (__IFLA_MCTP_MAX - 1) + +/* DSA section */ + +enum { + IFLA_DSA_UNSPEC, + IFLA_DSA_MASTER, + __IFLA_DSA_MAX, +}; + +#define IFLA_DSA_MAX (__IFLA_DSA_MAX - 1) + #endif /* _LINUX_IF_LINK_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/if_xdp.h
Added
@@ -0,0 +1,111 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * if_xdp: XDP socket user-space interface + * Copyright(c) 2018 Intel Corporation. + * + * Author(s): Björn Töpel <bjorn.topel@intel.com> + * Magnus Karlsson <magnus.karlsson@intel.com> + */ + +#ifndef _LINUX_IF_XDP_H +#define _LINUX_IF_XDP_H + +#include <linux/types.h> + +/* Options for the sxdp_flags field */ +#define XDP_SHARED_UMEM (1 << 0) +#define XDP_COPY (1 << 1) /* Force copy-mode */ +#define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ +/* If this option is set, the driver might go sleep and in that case + * the XDP_RING_NEED_WAKEUP flag in the fill and/or Tx rings will be + * set. If it is set, the application need to explicitly wake up the + * driver with a poll() (Rx and Tx) or sendto() (Tx only). If you are + * running the driver and the application on the same core, you should + * use this option so that the kernel will yield to the user space + * application. + */ +#define XDP_USE_NEED_WAKEUP (1 << 3) + +/* Flags for xsk_umem_config flags */ +#define XDP_UMEM_UNALIGNED_CHUNK_FLAG (1 << 0) + +struct sockaddr_xdp { + __u16 sxdp_family; + __u16 sxdp_flags; + __u32 sxdp_ifindex; + __u32 sxdp_queue_id; + __u32 sxdp_shared_umem_fd; +}; + +/* XDP_RING flags */ +#define XDP_RING_NEED_WAKEUP (1 << 0) + +struct xdp_ring_offset { + __u64 producer; + __u64 consumer; + __u64 desc; + __u64 flags; +}; + +struct xdp_mmap_offsets { + struct xdp_ring_offset rx; + struct xdp_ring_offset tx; + struct xdp_ring_offset fr; /* Fill */ + struct xdp_ring_offset cr; /* Completion */ +}; + +/* XDP socket options */ +#define XDP_MMAP_OFFSETS 1 +#define XDP_RX_RING 2 +#define XDP_TX_RING 3 +#define XDP_UMEM_REG 4 +#define XDP_UMEM_FILL_RING 5 +#define XDP_UMEM_COMPLETION_RING 6 +#define XDP_STATISTICS 7 +#define XDP_OPTIONS 8 + +struct xdp_umem_reg { + __u64 addr; /* Start of packet data area */ + __u64 len; /* Length of packet data area */ + __u32 chunk_size; + __u32 headroom; + __u32 flags; +}; + +struct xdp_statistics { + __u64 rx_dropped; /* Dropped for other reasons */ + __u64 rx_invalid_descs; /* Dropped due to invalid descriptor */ + __u64 tx_invalid_descs; /* Dropped due to invalid descriptor */ + __u64 rx_ring_full; /* Dropped due to rx ring being full */ + __u64 rx_fill_ring_empty_descs; /* Failed to retrieve item from fill ring */ + __u64 tx_ring_empty_descs; /* Failed to retrieve item from tx ring */ +}; + +struct xdp_options { + __u32 flags; +}; + +/* Flags for the flags field of struct xdp_options */ +#define XDP_OPTIONS_ZEROCOPY (1 << 0) + +/* Pgoff for mmaping the rings */ +#define XDP_PGOFF_RX_RING 0 +#define XDP_PGOFF_TX_RING 0x80000000 +#define XDP_UMEM_PGOFF_FILL_RING 0x100000000ULL +#define XDP_UMEM_PGOFF_COMPLETION_RING 0x180000000ULL + +/* Masks for unaligned chunks mode */ +#define XSK_UNALIGNED_BUF_OFFSET_SHIFT 48 +#define XSK_UNALIGNED_BUF_ADDR_MASK \ + ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) + +/* Rx/Tx descriptor */ +struct xdp_desc { + __u64 addr; + __u32 len; + __u32 options; +}; + +/* UMEM descriptor is __u64 */ + +#endif /* _LINUX_IF_XDP_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/in.h
Added
@@ -0,0 +1,336 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * INET An implementation of the TCP/IP protocol suite for the LINUX + * operating system. INET is implemented using the BSD Socket + * interface as the means of communication with the user level. + * + * Definitions of the Internet Protocol. + * + * Version: @(#)in.h 1.0.1 04/21/93 + * + * Authors: Original taken from the GNU Project <netinet/in.h> file. + * Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef _LINUX_IN_H +#define _LINUX_IN_H + +#include <linux/types.h> +#include <linux/libc-compat.h> +#include <linux/socket.h> + +#if __UAPI_DEF_IN_IPPROTO +/* Standard well-defined IP protocols. */ +enum { + IPPROTO_IP = 0, /* Dummy protocol for TCP */ +#define IPPROTO_IP IPPROTO_IP + IPPROTO_ICMP = 1, /* Internet Control Message Protocol */ +#define IPPROTO_ICMP IPPROTO_ICMP + IPPROTO_IGMP = 2, /* Internet Group Management Protocol */ +#define IPPROTO_IGMP IPPROTO_IGMP + IPPROTO_IPIP = 4, /* IPIP tunnels (older KA9Q tunnels use 94) */ +#define IPPROTO_IPIP IPPROTO_IPIP + IPPROTO_TCP = 6, /* Transmission Control Protocol */ +#define IPPROTO_TCP IPPROTO_TCP + IPPROTO_EGP = 8, /* Exterior Gateway Protocol */ +#define IPPROTO_EGP IPPROTO_EGP + IPPROTO_PUP = 12, /* PUP protocol */ +#define IPPROTO_PUP IPPROTO_PUP + IPPROTO_UDP = 17, /* User Datagram Protocol */ +#define IPPROTO_UDP IPPROTO_UDP + IPPROTO_IDP = 22, /* XNS IDP protocol */ +#define IPPROTO_IDP IPPROTO_IDP + IPPROTO_TP = 29, /* SO Transport Protocol Class 4 */ +#define IPPROTO_TP IPPROTO_TP + IPPROTO_DCCP = 33, /* Datagram Congestion Control Protocol */ +#define IPPROTO_DCCP IPPROTO_DCCP + IPPROTO_IPV6 = 41, /* IPv6-in-IPv4 tunnelling */ +#define IPPROTO_IPV6 IPPROTO_IPV6 + IPPROTO_RSVP = 46, /* RSVP Protocol */ +#define IPPROTO_RSVP IPPROTO_RSVP + IPPROTO_GRE = 47, /* Cisco GRE tunnels (rfc 1701,1702) */ +#define IPPROTO_GRE IPPROTO_GRE + IPPROTO_ESP = 50, /* Encapsulation Security Payload protocol */ +#define IPPROTO_ESP IPPROTO_ESP + IPPROTO_AH = 51, /* Authentication Header protocol */ +#define IPPROTO_AH IPPROTO_AH + IPPROTO_MTP = 92, /* Multicast Transport Protocol */ +#define IPPROTO_MTP IPPROTO_MTP + IPPROTO_BEETPH = 94, /* IP option pseudo header for BEET */ +#define IPPROTO_BEETPH IPPROTO_BEETPH + IPPROTO_ENCAP = 98, /* Encapsulation Header */ +#define IPPROTO_ENCAP IPPROTO_ENCAP + IPPROTO_PIM = 103, /* Protocol Independent Multicast */ +#define IPPROTO_PIM IPPROTO_PIM + IPPROTO_COMP = 108, /* Compression Header Protocol */ +#define IPPROTO_COMP IPPROTO_COMP + IPPROTO_SCTP = 132, /* Stream Control Transport Protocol */ +#define IPPROTO_SCTP IPPROTO_SCTP + IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */ +#define IPPROTO_UDPLITE IPPROTO_UDPLITE + IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */ +#define IPPROTO_MPLS IPPROTO_MPLS + IPPROTO_ETHERNET = 143, /* Ethernet-within-IPv6 Encapsulation */ +#define IPPROTO_ETHERNET IPPROTO_ETHERNET + IPPROTO_RAW = 255, /* Raw IP packets */ +#define IPPROTO_RAW IPPROTO_RAW + IPPROTO_MPTCP = 262, /* Multipath TCP connection */ +#define IPPROTO_MPTCP IPPROTO_MPTCP + IPPROTO_MAX +}; +#endif + +#if __UAPI_DEF_IN_ADDR +/* Internet address. */ +struct in_addr { + __be32 s_addr; +}; +#endif + +#define IP_TOS 1 +#define IP_TTL 2 +#define IP_HDRINCL 3 +#define IP_OPTIONS 4 +#define IP_ROUTER_ALERT 5 +#define IP_RECVOPTS 6 +#define IP_RETOPTS 7 +#define IP_PKTINFO 8 +#define IP_PKTOPTIONS 9 +#define IP_MTU_DISCOVER 10 +#define IP_RECVERR 11 +#define IP_RECVTTL 12 +#define IP_RECVTOS 13 +#define IP_MTU 14 +#define IP_FREEBIND 15 +#define IP_IPSEC_POLICY 16 +#define IP_XFRM_POLICY 17 +#define IP_PASSSEC 18 +#define IP_TRANSPARENT 19 + +/* BSD compatibility */ +#define IP_RECVRETOPTS IP_RETOPTS + +/* TProxy original addresses */ +#define IP_ORIGDSTADDR 20 +#define IP_RECVORIGDSTADDR IP_ORIGDSTADDR + +#define IP_MINTTL 21 +#define IP_NODEFRAG 22 +#define IP_CHECKSUM 23 +#define IP_BIND_ADDRESS_NO_PORT 24 +#define IP_RECVFRAGSIZE 25 +#define IP_RECVERR_RFC4884 26 + +/* IP_MTU_DISCOVER values */ +#define IP_PMTUDISC_DONT 0 /* Never send DF frames */ +#define IP_PMTUDISC_WANT 1 /* Use per route hints */ +#define IP_PMTUDISC_DO 2 /* Always DF */ +#define IP_PMTUDISC_PROBE 3 /* Ignore dst pmtu */ +/* Always use interface mtu (ignores dst pmtu) but don't set DF flag. + * Also incoming ICMP frag_needed notifications will be ignored on + * this socket to prevent accepting spoofed ones. + */ +#define IP_PMTUDISC_INTERFACE 4 +/* weaker version of IP_PMTUDISC_INTERFACE, which allows packets to get + * fragmented if they exeed the interface mtu + */ +#define IP_PMTUDISC_OMIT 5 + +#define IP_MULTICAST_IF 32 +#define IP_MULTICAST_TTL 33 +#define IP_MULTICAST_LOOP 34 +#define IP_ADD_MEMBERSHIP 35 +#define IP_DROP_MEMBERSHIP 36 +#define IP_UNBLOCK_SOURCE 37 +#define IP_BLOCK_SOURCE 38 +#define IP_ADD_SOURCE_MEMBERSHIP 39 +#define IP_DROP_SOURCE_MEMBERSHIP 40 +#define IP_MSFILTER 41 +#define MCAST_JOIN_GROUP 42 +#define MCAST_BLOCK_SOURCE 43 +#define MCAST_UNBLOCK_SOURCE 44 +#define MCAST_LEAVE_GROUP 45 +#define MCAST_JOIN_SOURCE_GROUP 46 +#define MCAST_LEAVE_SOURCE_GROUP 47 +#define MCAST_MSFILTER 48 +#define IP_MULTICAST_ALL 49 +#define IP_UNICAST_IF 50 + +#define MCAST_EXCLUDE 0 +#define MCAST_INCLUDE 1 + +/* These need to appear somewhere around here */ +#define IP_DEFAULT_MULTICAST_TTL 1 +#define IP_DEFAULT_MULTICAST_LOOP 1 + +/* Request struct for multicast socket ops */ + +#if __UAPI_DEF_IP_MREQ +struct ip_mreq { + struct in_addr imr_multiaddr; /* IP multicast address of group */ + struct in_addr imr_interface; /* local IP address of interface */ +}; + +struct ip_mreqn { + struct in_addr imr_multiaddr; /* IP multicast address of group */ + struct in_addr imr_address; /* local IP address of interface */ + int imr_ifindex; /* Interface index */ +}; + +struct ip_mreq_source { + __be32 imr_multiaddr; + __be32 imr_interface; + __be32 imr_sourceaddr; +}; + +struct ip_msfilter { + union { + struct { + __be32 imsf_multiaddr_aux; + __be32 imsf_interface_aux; + __u32 imsf_fmode_aux; + __u32 imsf_numsrc_aux; + __be32 imsf_slist1; + }; + struct { + __be32 imsf_multiaddr; + __be32 imsf_interface; + __u32 imsf_fmode; + __u32 imsf_numsrc; + __be32 imsf_slist_flex; + }; + }; +}; + +#define IP_MSFILTER_SIZE(numsrc) \ + (sizeof(struct ip_msfilter) - sizeof(__u32) \ + + (numsrc) * sizeof(__u32)) + +struct group_req { + __u32 gr_interface; /* interface index */ + struct __kernel_sockaddr_storage gr_group; /* group address */ +}; + +struct group_source_req { + __u32 gsr_interface; /* interface index */ + struct __kernel_sockaddr_storage gsr_group; /* group address */ + struct __kernel_sockaddr_storage gsr_source; /* source address */ +}; + +struct group_filter { + union { + struct { + __u32 gf_interface_aux; /* interface index */ + struct __kernel_sockaddr_storage gf_group_aux; /* multicast address */ + __u32 gf_fmode_aux; /* filter mode */ + __u32 gf_numsrc_aux; /* number of sources */ + struct __kernel_sockaddr_storage gf_slist1; /* interface index */ + }; + struct { + __u32 gf_interface; /* interface index */ + struct __kernel_sockaddr_storage gf_group; /* multicast address */ + __u32 gf_fmode; /* filter mode */ + __u32 gf_numsrc; /* number of sources */ + struct __kernel_sockaddr_storage gf_slist_flex; /* interface index */ + }; + }; +}; + +#define GROUP_FILTER_SIZE(numsrc) \ + (sizeof(struct group_filter) - sizeof(struct __kernel_sockaddr_storage) \ + + (numsrc) * sizeof(struct __kernel_sockaddr_storage)) +#endif + +#if __UAPI_DEF_IN_PKTINFO +struct in_pktinfo { + int ipi_ifindex; + struct in_addr ipi_spec_dst; + struct in_addr ipi_addr; +}; +#endif + +/* Structure describing an Internet (IP) socket address. */ +#if __UAPI_DEF_SOCKADDR_IN +#define __SOCK_SIZE__ 16 /* sizeof(struct sockaddr) */ +struct sockaddr_in { + __kernel_sa_family_t sin_family; /* Address family */ + __be16 sin_port; /* Port number */ + struct in_addr sin_addr; /* Internet address */ + + /* Pad to size of `struct sockaddr'. */ + unsigned char __pad__SOCK_SIZE__ - sizeof(short int) - + sizeof(unsigned short int) - sizeof(struct in_addr); +}; +#define sin_zero __pad /* for BSD UNIX comp. -FvK */ +#endif + +#if __UAPI_DEF_IN_CLASS +/* + * Definitions of the bits in an Internet address integer. + * On subnets, host and network parts are found according + * to the subnet mask, not these masks. + */ +#define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) +#define IN_CLASSA_NET 0xff000000 +#define IN_CLASSA_NSHIFT 24 +#define IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET) +#define IN_CLASSA_MAX 128 + +#define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) +#define IN_CLASSB_NET 0xffff0000 +#define IN_CLASSB_NSHIFT 16 +#define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET) +#define IN_CLASSB_MAX 65536 + +#define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) +#define IN_CLASSC_NET 0xffffff00 +#define IN_CLASSC_NSHIFT 8 +#define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET) + +#define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) +#define IN_MULTICAST(a) IN_CLASSD(a) +#define IN_MULTICAST_NET 0xe0000000 + +#define IN_BADCLASS(a) (((long int) (a) ) == (long int)0xffffffff) +#define IN_EXPERIMENTAL(a) IN_BADCLASS((a)) + +#define IN_CLASSE(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000) +#define IN_CLASSE_NET 0xffffffff +#define IN_CLASSE_NSHIFT 0 + +/* Address to accept any incoming messages. */ +#define INADDR_ANY ((unsigned long int) 0x00000000) + +/* Address to send to all hosts. */ +#define INADDR_BROADCAST ((unsigned long int) 0xffffffff) + +/* Address indicating an error return. */ +#define INADDR_NONE ((unsigned long int) 0xffffffff) + +/* Dummy address for src of ICMP replies if no real address is set (RFC7600). */ +#define INADDR_DUMMY ((unsigned long int) 0xc0000008) + +/* Network number for local host loopback. */ +#define IN_LOOPBACKNET 127 + +/* Address to loopback in software to local host. */ +#define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ +#define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) + +/* Defines for Multicast INADDR */ +#define INADDR_UNSPEC_GROUP 0xe0000000U /* 224.0.0.0 */ +#define INADDR_ALLHOSTS_GROUP 0xe0000001U /* 224.0.0.1 */ +#define INADDR_ALLRTRS_GROUP 0xe0000002U /* 224.0.0.2 */ +#define INADDR_ALLSNOOPERS_GROUP 0xe000006aU /* 224.0.0.106 */ +#define INADDR_MAX_LOCAL_GROUP 0xe00000ffU /* 224.0.0.255 */ +#endif + +/* <asm/byteorder.h> contains the htonl type stuff.. */ +#include <asm/byteorder.h> + + +#endif /* _LINUX_IN_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/in6.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/in6.h
Changed
@@ -145,6 +145,7 @@ #define IPV6_TLV_PADN 1 #define IPV6_TLV_ROUTERALERT 5 #define IPV6_TLV_CALIPSO 7 /* RFC 5570 */ +#define IPV6_TLV_IOAM 49 /* TEMPORARY IANA allocation for IOAM */ #define IPV6_TLV_JUMBO 194 #define IPV6_TLV_HAO 201 /* home address option */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/inet_diag.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/inet_diag.h
Changed
@@ -104,7 +104,7 @@ __u8 family; __u8 prefix_len; int port; - __be32 addr0; + __be32 addr; }; struct inet_diag_markcond {
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/input-event-codes.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/input-event-codes.h
Changed
@@ -278,7 +278,8 @@ #define KEY_PAUSECD 201 #define KEY_PROG3 202 #define KEY_PROG4 203 -#define KEY_DASHBOARD 204 /* AL Dashboard */ +#define KEY_ALL_APPLICATIONS 204 /* AC Desktop Show All Applications */ +#define KEY_DASHBOARD KEY_ALL_APPLICATIONS #define KEY_SUSPEND 205 #define KEY_CLOSE 206 /* AC Close */ #define KEY_PLAY 207 @@ -612,6 +613,7 @@ #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */ #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */ #define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */ +#define KEY_DICTATE 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) */ #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */ #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */ @@ -660,6 +662,27 @@ /* Select an area of screen to be copied */ #define KEY_SELECTIVE_SCREENSHOT 0x27a +/* Move the focus to the next or previous user controllable element within a UI container */ +#define KEY_NEXT_ELEMENT 0x27b +#define KEY_PREVIOUS_ELEMENT 0x27c + +/* Toggle Autopilot engagement */ +#define KEY_AUTOPILOT_ENGAGE_TOGGLE 0x27d + +/* Shortcut Keys */ +#define KEY_MARK_WAYPOINT 0x27e +#define KEY_SOS 0x27f +#define KEY_NAV_CHART 0x280 +#define KEY_FISHING_CHART 0x281 +#define KEY_SINGLE_RANGE_RADAR 0x282 +#define KEY_DUAL_RANGE_RADAR 0x283 +#define KEY_RADAR_OVERLAY 0x284 +#define KEY_TRADITIONAL_SONAR 0x285 +#define KEY_CLEARVU_SONAR 0x286 +#define KEY_SIDEVU_SONAR 0x287 +#define KEY_NAV_INFO 0x288 +#define KEY_BRIGHTNESS_MENU 0x289 + /* * Some keyboards have keys which do not have a defined meaning, these keys * are intended to be programmed / bound to macros by the user. For most @@ -839,6 +862,7 @@ #define ABS_TOOL_WIDTH 0x1c #define ABS_VOLUME 0x20 +#define ABS_PROFILE 0x21 #define ABS_MISC 0x28
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/input.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/input.h
Changed
@@ -76,10 +76,13 @@ * Note that input core does not clamp reported values to the * minimum, maximum limits, such task is left to userspace. * - * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z) - * is reported in units per millimeter (units/mm), resolution - * for rotational axes (ABS_RX, ABS_RY, ABS_RZ) is reported - * in units per radian. + * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z, + * ABS_MT_POSITION_X, ABS_MT_POSITION_Y) is reported in units + * per millimeter (units/mm), resolution for rotational axes + * (ABS_RX, ABS_RY, ABS_RZ) is reported in units per radian. + * The resolution for the size axes (ABS_MT_TOUCH_MAJOR, + * ABS_MT_TOUCH_MINOR, ABS_MT_WIDTH_MAJOR, ABS_MT_WIDTH_MINOR) + * is reported in units per millimeter (units/mm). * When INPUT_PROP_ACCELEROMETER is set the resolution changes. * The main axes (ABS_X, ABS_Y, ABS_Z) are then reported in * units per g (units/g) and in units per degree per second @@ -269,6 +272,7 @@ #define BUS_RMI 0x1D #define BUS_CEC 0x1E #define BUS_INTEL_ISHTP 0x1F +#define BUS_AMD_SFH 0x20 /* * MT_TOOL types
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/io_uring.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/io_uring.h
Changed
@@ -22,6 +22,10 @@ union { __u64 off; /* offset into file */ __u64 addr2; + struct { + __u32 cmd_op; + __u32 __pad1; + }; }; union { __u64 addr; /* pointer to buffer or iovecs */ @@ -44,6 +48,8 @@ __u32 splice_flags; __u32 rename_flags; __u32 unlink_flags; + __u32 hardlink_flags; + __u32 xattr_flags; }; __u64 user_data; /* data to be passed back at completion time */ /* pack this to avoid bogus arm OABI complaints */ @@ -55,10 +61,32 @@ } __attribute__((packed)); /* personality to use, if used */ __u16 personality; - __s32 splice_fd_in; - __u64 __pad22; + union { + __s32 splice_fd_in; + __u32 file_index; + }; + union { + struct { + __u64 addr3; + __u64 __pad21; + }; + /* + * If the ring is initialized with IORING_SETUP_SQE128, then + * this field is used for 80 bytes of arbitrary command data + */ + __u8 cmd0; + }; }; +/* + * If sqe->file_index is set to this for opcodes that instantiate a new + * direct descriptor (like openat/openat2/accept), then io_uring will allocate + * an available direct descriptor instead of having the application pass one + * in. The picked direct descriptor will be returned in cqe->res, or -ENFILE + * if the space is full. + */ +#define IORING_FILE_INDEX_ALLOC (~0U) + enum { IOSQE_FIXED_FILE_BIT, IOSQE_IO_DRAIN_BIT, @@ -66,6 +94,7 @@ IOSQE_IO_HARDLINK_BIT, IOSQE_ASYNC_BIT, IOSQE_BUFFER_SELECT_BIT, + IOSQE_CQE_SKIP_SUCCESS_BIT, }; /* @@ -83,6 +112,8 @@ #define IOSQE_ASYNC (1U << IOSQE_ASYNC_BIT) /* select buffer from sqe->buf_group */ #define IOSQE_BUFFER_SELECT (1U << IOSQE_BUFFER_SELECT_BIT) +/* don't post CQE if request succeeded */ +#define IOSQE_CQE_SKIP_SUCCESS (1U << IOSQE_CQE_SKIP_SUCCESS_BIT) /* * io_uring_setup() flags @@ -94,8 +125,26 @@ #define IORING_SETUP_CLAMP (1U << 4) /* clamp SQ/CQ ring sizes */ #define IORING_SETUP_ATTACH_WQ (1U << 5) /* attach to existing wq */ #define IORING_SETUP_R_DISABLED (1U << 6) /* start with ring disabled */ +#define IORING_SETUP_SUBMIT_ALL (1U << 7) /* continue submit on error */ +/* + * Cooperative task running. When requests complete, they often require + * forcing the submitter to transition to the kernel to complete. If this + * flag is set, work will be done when the task transitions anyway, rather + * than force an inter-processor interrupt reschedule. This avoids interrupting + * a task running in userspace, and saves an IPI. + */ +#define IORING_SETUP_COOP_TASKRUN (1U << 8) +/* + * If COOP_TASKRUN is set, get notified if task work is available for + * running and a kernel transition would be needed to run it. This sets + * IORING_SQ_TASKRUN in the sq ring flags. Not valid with COOP_TASKRUN. + */ +#define IORING_SETUP_TASKRUN_FLAG (1U << 9) -enum { +#define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */ +#define IORING_SETUP_CQE32 (1U << 11) /* CQEs are 32 byte */ + +enum io_uring_op { IORING_OP_NOP, IORING_OP_READV, IORING_OP_WRITEV, @@ -133,6 +182,16 @@ IORING_OP_SHUTDOWN, IORING_OP_RENAMEAT, IORING_OP_UNLINKAT, + IORING_OP_MKDIRAT, + IORING_OP_SYMLINKAT, + IORING_OP_LINKAT, + IORING_OP_MSG_RING, + IORING_OP_FSETXATTR, + IORING_OP_SETXATTR, + IORING_OP_FGETXATTR, + IORING_OP_GETXATTR, + IORING_OP_SOCKET, + IORING_OP_URING_CMD, /* this goes last, obviously */ IORING_OP_LAST, @@ -146,9 +205,14 @@ /* * sqe->timeout_flags */ -#define IORING_TIMEOUT_ABS (1U << 0) -#define IORING_TIMEOUT_UPDATE (1U << 1) - +#define IORING_TIMEOUT_ABS (1U << 0) +#define IORING_TIMEOUT_UPDATE (1U << 1) +#define IORING_TIMEOUT_BOOTTIME (1U << 2) +#define IORING_TIMEOUT_REALTIME (1U << 3) +#define IORING_LINK_TIMEOUT_UPDATE (1U << 4) +#define IORING_TIMEOUT_ETIME_SUCCESS (1U << 5) +#define IORING_TIMEOUT_CLOCK_MASK (IORING_TIMEOUT_BOOTTIME | IORING_TIMEOUT_REALTIME) +#define IORING_TIMEOUT_UPDATE_MASK (IORING_TIMEOUT_UPDATE | IORING_LINK_TIMEOUT_UPDATE) /* * sqe->splice_flags * extends splice(2) flags @@ -171,12 +235,45 @@ #define IORING_POLL_UPDATE_USER_DATA (1U << 2) /* + * ASYNC_CANCEL flags. + * + * IORING_ASYNC_CANCEL_ALL Cancel all requests that match the given key + * IORING_ASYNC_CANCEL_FD Key off 'fd' for cancelation rather than the + * request 'user_data' + * IORING_ASYNC_CANCEL_ANY Match any request + */ +#define IORING_ASYNC_CANCEL_ALL (1U << 0) +#define IORING_ASYNC_CANCEL_FD (1U << 1) +#define IORING_ASYNC_CANCEL_ANY (1U << 2) + +/* + * send/sendmsg and recv/recvmsg flags (sqe->ioprio) + * + * IORING_RECVSEND_POLL_FIRST If set, instead of first attempting to send + * or receive and arm poll if that yields an + * -EAGAIN result, arm poll upfront and skip + * the initial transfer attempt. + */ +#define IORING_RECVSEND_POLL_FIRST (1U << 0) + +/* + * accept flags stored in sqe->ioprio + */ +#define IORING_ACCEPT_MULTISHOT (1U << 0) + +/* * IO completion data structure (Completion Queue Entry) */ struct io_uring_cqe { __u64 user_data; /* sqe->data submission passed back */ __s32 res; /* result code for this event */ __u32 flags; + + /* + * If the ring is initialized with IORING_SETUP_CQE32, then this field + * contains 16-bytes of padding, doubling the size of the CQE. + */ + __u64 big_cqe; }; /* @@ -184,9 +281,11 @@ * * IORING_CQE_F_BUFFER If set, the upper 16 bits are the buffer ID * IORING_CQE_F_MORE If set, parent SQE will generate more CQE entries + * IORING_CQE_F_SOCK_NONEMPTY If set, more data to read after socket recv */ #define IORING_CQE_F_BUFFER (1U << 0) #define IORING_CQE_F_MORE (1U << 1) +#define IORING_CQE_F_SOCK_NONEMPTY (1U << 2) enum { IORING_CQE_BUFFER_SHIFT = 16, @@ -219,6 +318,7 @@ */ #define IORING_SQ_NEED_WAKEUP (1U << 0) /* needs io_uring_enter wakeup */ #define IORING_SQ_CQ_OVERFLOW (1U << 1) /* CQ ring is overflown */ +#define IORING_SQ_TASKRUN (1U << 2) /* task should enter the kernel */ struct io_cqring_offsets { __u32 head; @@ -242,10 +342,11 @@ /* * io_uring_enter(2) flags */ -#define IORING_ENTER_GETEVENTS (1U << 0) -#define IORING_ENTER_SQ_WAKEUP (1U << 1) -#define IORING_ENTER_SQ_WAIT (1U << 2) -#define IORING_ENTER_EXT_ARG (1U << 3) +#define IORING_ENTER_GETEVENTS (1U << 0) +#define IORING_ENTER_SQ_WAKEUP (1U << 1) +#define IORING_ENTER_SQ_WAIT (1U << 2) +#define IORING_ENTER_EXT_ARG (1U << 3) +#define IORING_ENTER_REGISTERED_RING (1U << 4) /* * Passed in for io_uring_setup(2). Copied back with updated info on success @@ -277,6 +378,8 @@ #define IORING_FEAT_EXT_ARG (1U << 8) #define IORING_FEAT_NATIVE_WORKERS (1U << 9) #define IORING_FEAT_RSRC_TAGS (1U << 10) +#define IORING_FEAT_CQE_SKIP (1U << 11) +#define IORING_FEAT_LINKED_FILE (1U << 12) /* * io_uring_register(2) opcodes and arguments @@ -306,10 +409,27 @@ IORING_REGISTER_IOWQ_AFF = 17, IORING_UNREGISTER_IOWQ_AFF = 18, + /* set/get max number of io-wq workers */ + IORING_REGISTER_IOWQ_MAX_WORKERS = 19, + + /* register/unregister io_uring fd with the ring */ + IORING_REGISTER_RING_FDS = 20, + IORING_UNREGISTER_RING_FDS = 21, + + /* register ring based provide buffer group */ + IORING_REGISTER_PBUF_RING = 22, + IORING_UNREGISTER_PBUF_RING = 23, + /* this goes last */ IORING_REGISTER_LAST }; +/* io-wq worker categories */ +enum { + IO_WQ_BOUND, + IO_WQ_UNBOUND, +}; + /* deprecated, see struct io_uring_rsrc_update */ struct io_uring_files_update { __u32 offset; @@ -317,9 +437,15 @@ __aligned_u64 /* __s32 * */ fds; }; +/* + * Register a fully sparse file space, rather than pass in an array of all + * -1 file descriptors. + */ +#define IORING_RSRC_REGISTER_SPARSE (1U << 0) + struct io_uring_rsrc_register { __u32 nr; - __u32 resv; + __u32 flags; __u64 resv2; __aligned_u64 data; __aligned_u64 tags; @@ -371,6 +497,38 @@ __u32 resv23; }; +struct io_uring_buf { + __u64 addr; + __u32 len; + __u16 bid; + __u16 resv; +}; + +struct io_uring_buf_ring { + union { + /* + * To avoid spilling into more pages than we need to, the + * ring tail is overlaid with the io_uring_buf->resv field. + */ + struct { + __u64 resv1; + __u32 resv2; + __u16 resv3; + __u16 tail; + }; + struct io_uring_buf bufs0; + }; +}; + +/* argument for IORING_(UN)REGISTER_PBUF_RING */ +struct io_uring_buf_reg { + __u64 ring_addr; + __u32 ring_entries; + __u16 bgid; + __u16 pad; + __u64 resv3; +}; + /* * io_uring_restriction->opcode values */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/ip_vs.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/ip_vs.h
Changed
@@ -254,7 +254,7 @@ unsigned int num_dests; /* the real servers */ - struct ip_vs_dest_entry entrytable0; + struct ip_vs_dest_entry entrytable; }; @@ -264,7 +264,7 @@ unsigned int num_services; /* service table */ - struct ip_vs_service_entry entrytable0; + struct ip_vs_service_entry entrytable; };
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/kexec.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/kexec.h
Changed
@@ -43,6 +43,7 @@ #define KEXEC_ARCH_MIPS ( 8 << 16) #define KEXEC_ARCH_AARCH64 (183 << 16) #define KEXEC_ARCH_RISCV (243 << 16) +#define KEXEC_ARCH_LOONGARCH (258 << 16) /* The artificial cap on the number of segments passed to kexec_load. */ #define KEXEC_SEGMENT_MAX 16 @@ -53,9 +54,9 @@ */ struct kexec_segment { const void *buf; - size_t bufsz; + __kernel_size_t bufsz; const void *mem; - size_t memsz; + __kernel_size_t memsz; };
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/landlock.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/landlock.h
Changed
@@ -21,8 +21,14 @@ /** * @handled_access_fs: Bitmask of actions (cf. `Filesystem flags`_) * that is handled by this ruleset and should then be forbidden if no - * rule explicitly allow them. This is needed for backward - * compatibility reasons. + * rule explicitly allow them: it is a deny-by-default list that should + * contain as much Landlock access rights as possible. Indeed, all + * Landlock filesystem access rights that are not part of + * handled_access_fs are allowed. This is needed for backward + * compatibility reasons. One exception is the + * %LANDLOCK_ACCESS_FS_REFER access right, which is always implicitly + * handled, but must still be explicitly handled to add new rules with + * this access right. */ __u64 handled_access_fs; }; @@ -33,7 +39,9 @@ * - %LANDLOCK_CREATE_RULESET_VERSION: Get the highest supported Landlock ABI * version. */ +/* clang-format off */ #define LANDLOCK_CREATE_RULESET_VERSION (1U << 0) +/* clang-format on */ /** * enum landlock_rule_type - Landlock rule type @@ -60,8 +68,9 @@ */ __u64 allowed_access; /** - * @parent_fd: File descriptor, open with ``O_PATH``, which identifies - * the parent directory of a file hierarchy, or just a file. + * @parent_fd: File descriptor, preferably opened with ``O_PATH``, + * which identifies the parent directory of a file hierarchy, or just a + * file. */ __s32 parent_fd; /* @@ -109,6 +118,22 @@ * - %LANDLOCK_ACCESS_FS_MAKE_FIFO: Create (or rename or link) a named pipe. * - %LANDLOCK_ACCESS_FS_MAKE_BLOCK: Create (or rename or link) a block device. * - %LANDLOCK_ACCESS_FS_MAKE_SYM: Create (or rename or link) a symbolic link. + * - %LANDLOCK_ACCESS_FS_REFER: Link or rename a file from or to a different + * directory (i.e. reparent a file hierarchy). This access right is + * available since the second version of the Landlock ABI. This is also the + * only access right which is always considered handled by any ruleset in + * such a way that reparenting a file hierarchy is always denied by default. + * To avoid privilege escalation, it is not enough to add a rule with this + * access right. When linking or renaming a file, the destination directory + * hierarchy must also always have the same or a superset of restrictions of + * the source hierarchy. If it is not the case, or if the domain doesn't + * handle this access right, such actions are denied by default with errno + * set to ``EXDEV``. Linking also requires a ``LANDLOCK_ACCESS_FS_MAKE_*`` + * access right on the destination directory, and renaming also requires a + * ``LANDLOCK_ACCESS_FS_REMOVE_*`` access right on the source's (file or + * directory) parent. Otherwise, such actions are denied with errno set to + * ``EACCES``. The ``EACCES`` errno prevails over ``EXDEV`` to let user space + * efficiently deal with an unrecoverable error. * * .. warning:: * @@ -120,6 +145,7 @@ * :manpage:`access(2)`. * Future Landlock evolutions will enable to restrict them. */ +/* clang-format off */ #define LANDLOCK_ACCESS_FS_EXECUTE (1ULL << 0) #define LANDLOCK_ACCESS_FS_WRITE_FILE (1ULL << 1) #define LANDLOCK_ACCESS_FS_READ_FILE (1ULL << 2) @@ -133,5 +159,7 @@ #define LANDLOCK_ACCESS_FS_MAKE_FIFO (1ULL << 10) #define LANDLOCK_ACCESS_FS_MAKE_BLOCK (1ULL << 11) #define LANDLOCK_ACCESS_FS_MAKE_SYM (1ULL << 12) +#define LANDLOCK_ACCESS_FS_REFER (1ULL << 13) +/* clang-format on */ #endif /* _LINUX_LANDLOCK_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/lirc.h
Added
@@ -0,0 +1,237 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * lirc.h - linux infrared remote control header file + */ + +#ifndef _LINUX_LIRC_H +#define _LINUX_LIRC_H + +#include <linux/types.h> +#include <linux/ioctl.h> + +#define PULSE_BIT 0x01000000 +#define PULSE_MASK 0x00FFFFFF + +#define LIRC_MODE2_SPACE 0x00000000 +#define LIRC_MODE2_PULSE 0x01000000 +#define LIRC_MODE2_FREQUENCY 0x02000000 +#define LIRC_MODE2_TIMEOUT 0x03000000 +#define LIRC_MODE2_OVERFLOW 0x04000000 + +#define LIRC_VALUE_MASK 0x00FFFFFF +#define LIRC_MODE2_MASK 0xFF000000 + +#define LIRC_SPACE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_SPACE) +#define LIRC_PULSE(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_PULSE) +#define LIRC_FREQUENCY(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_FREQUENCY) +#define LIRC_TIMEOUT(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_TIMEOUT) +#define LIRC_OVERFLOW(val) (((val) & LIRC_VALUE_MASK) | LIRC_MODE2_OVERFLOW) + +#define LIRC_VALUE(val) ((val)&LIRC_VALUE_MASK) +#define LIRC_MODE2(val) ((val)&LIRC_MODE2_MASK) + +#define LIRC_IS_SPACE(val) (LIRC_MODE2(val) == LIRC_MODE2_SPACE) +#define LIRC_IS_PULSE(val) (LIRC_MODE2(val) == LIRC_MODE2_PULSE) +#define LIRC_IS_FREQUENCY(val) (LIRC_MODE2(val) == LIRC_MODE2_FREQUENCY) +#define LIRC_IS_TIMEOUT(val) (LIRC_MODE2(val) == LIRC_MODE2_TIMEOUT) +#define LIRC_IS_OVERFLOW(val) (LIRC_MODE2(val) == LIRC_MODE2_OVERFLOW) + +/* used heavily by lirc userspace */ +#define lirc_t int + +/*** lirc compatible hardware features ***/ + +#define LIRC_MODE2SEND(x) (x) +#define LIRC_SEND2MODE(x) (x) +#define LIRC_MODE2REC(x) ((x) << 16) +#define LIRC_REC2MODE(x) ((x) >> 16) + +#define LIRC_MODE_RAW 0x00000001 +#define LIRC_MODE_PULSE 0x00000002 +#define LIRC_MODE_MODE2 0x00000004 +#define LIRC_MODE_SCANCODE 0x00000008 +#define LIRC_MODE_LIRCCODE 0x00000010 + + +#define LIRC_CAN_SEND_RAW LIRC_MODE2SEND(LIRC_MODE_RAW) +#define LIRC_CAN_SEND_PULSE LIRC_MODE2SEND(LIRC_MODE_PULSE) +#define LIRC_CAN_SEND_MODE2 LIRC_MODE2SEND(LIRC_MODE_MODE2) +#define LIRC_CAN_SEND_LIRCCODE LIRC_MODE2SEND(LIRC_MODE_LIRCCODE) + +#define LIRC_CAN_SEND_MASK 0x0000003f + +#define LIRC_CAN_SET_SEND_CARRIER 0x00000100 +#define LIRC_CAN_SET_SEND_DUTY_CYCLE 0x00000200 +#define LIRC_CAN_SET_TRANSMITTER_MASK 0x00000400 + +#define LIRC_CAN_REC_RAW LIRC_MODE2REC(LIRC_MODE_RAW) +#define LIRC_CAN_REC_PULSE LIRC_MODE2REC(LIRC_MODE_PULSE) +#define LIRC_CAN_REC_MODE2 LIRC_MODE2REC(LIRC_MODE_MODE2) +#define LIRC_CAN_REC_SCANCODE LIRC_MODE2REC(LIRC_MODE_SCANCODE) +#define LIRC_CAN_REC_LIRCCODE LIRC_MODE2REC(LIRC_MODE_LIRCCODE) + +#define LIRC_CAN_REC_MASK LIRC_MODE2REC(LIRC_CAN_SEND_MASK) + +#define LIRC_CAN_SET_REC_CARRIER (LIRC_CAN_SET_SEND_CARRIER << 16) + +#define LIRC_CAN_SET_REC_CARRIER_RANGE 0x80000000 +#define LIRC_CAN_GET_REC_RESOLUTION 0x20000000 +#define LIRC_CAN_SET_REC_TIMEOUT 0x10000000 + +#define LIRC_CAN_MEASURE_CARRIER 0x02000000 +#define LIRC_CAN_USE_WIDEBAND_RECEIVER 0x04000000 + +#define LIRC_CAN_SEND(x) ((x)&LIRC_CAN_SEND_MASK) +#define LIRC_CAN_REC(x) ((x)&LIRC_CAN_REC_MASK) + +/* + * Unused features. These features were never implemented, in tree or + * out of tree. These definitions are here so not to break the lircd build. + */ +#define LIRC_CAN_SET_REC_FILTER 0 +#define LIRC_CAN_NOTIFY_DECODE 0 + +/*** IOCTL commands for lirc driver ***/ + +#define LIRC_GET_FEATURES _IOR('i', 0x00000000, __u32) + +#define LIRC_GET_SEND_MODE _IOR('i', 0x00000001, __u32) +#define LIRC_GET_REC_MODE _IOR('i', 0x00000002, __u32) +#define LIRC_GET_REC_RESOLUTION _IOR('i', 0x00000007, __u32) + +#define LIRC_GET_MIN_TIMEOUT _IOR('i', 0x00000008, __u32) +#define LIRC_GET_MAX_TIMEOUT _IOR('i', 0x00000009, __u32) + +/* code length in bits, currently only for LIRC_MODE_LIRCCODE */ +#define LIRC_GET_LENGTH _IOR('i', 0x0000000f, __u32) + +#define LIRC_SET_SEND_MODE _IOW('i', 0x00000011, __u32) +#define LIRC_SET_REC_MODE _IOW('i', 0x00000012, __u32) +/* Note: these can reset the according pulse_width */ +#define LIRC_SET_SEND_CARRIER _IOW('i', 0x00000013, __u32) +#define LIRC_SET_REC_CARRIER _IOW('i', 0x00000014, __u32) +#define LIRC_SET_SEND_DUTY_CYCLE _IOW('i', 0x00000015, __u32) +#define LIRC_SET_TRANSMITTER_MASK _IOW('i', 0x00000017, __u32) + +/* + * when a timeout != 0 is set the driver will send a + * LIRC_MODE2_TIMEOUT data packet, otherwise LIRC_MODE2_TIMEOUT is + * never sent, timeout is disabled by default + */ +#define LIRC_SET_REC_TIMEOUT _IOW('i', 0x00000018, __u32) + +/* 1 enables, 0 disables timeout reports in MODE2 */ +#define LIRC_SET_REC_TIMEOUT_REPORTS _IOW('i', 0x00000019, __u32) + +/* + * if enabled from the next key press on the driver will send + * LIRC_MODE2_FREQUENCY packets + */ +#define LIRC_SET_MEASURE_CARRIER_MODE _IOW('i', 0x0000001d, __u32) + +/* + * to set a range use LIRC_SET_REC_CARRIER_RANGE with the + * lower bound first and later LIRC_SET_REC_CARRIER with the upper bound + */ +#define LIRC_SET_REC_CARRIER_RANGE _IOW('i', 0x0000001f, __u32) + +#define LIRC_SET_WIDEBAND_RECEIVER _IOW('i', 0x00000023, __u32) + +/* + * Return the recording timeout, which is either set by + * the ioctl LIRC_SET_REC_TIMEOUT or by the kernel after setting the protocols. + */ +#define LIRC_GET_REC_TIMEOUT _IOR('i', 0x00000024, __u32) + +/** + * struct lirc_scancode - decoded scancode with protocol for use with + * LIRC_MODE_SCANCODE + * + * @timestamp: Timestamp in nanoseconds using CLOCK_MONOTONIC when IR + * was decoded. + * @flags: should be 0 for transmit. When receiving scancodes, + * LIRC_SCANCODE_FLAG_TOGGLE or LIRC_SCANCODE_FLAG_REPEAT can be set + * depending on the protocol + * @rc_proto: see enum rc_proto + * @keycode: the translated keycode. Set to 0 for transmit. + * @scancode: the scancode received or to be sent + */ +struct lirc_scancode { + __u64 timestamp; + __u16 flags; + __u16 rc_proto; + __u32 keycode; + __u64 scancode; +}; + +/* Set if the toggle bit of rc-5 or rc-6 is enabled */ +#define LIRC_SCANCODE_FLAG_TOGGLE 1 +/* Set if this is a nec or sanyo repeat */ +#define LIRC_SCANCODE_FLAG_REPEAT 2 + +/** + * enum rc_proto - the Remote Controller protocol + * + * @RC_PROTO_UNKNOWN: Protocol not known + * @RC_PROTO_OTHER: Protocol known but proprietary + * @RC_PROTO_RC5: Philips RC5 protocol + * @RC_PROTO_RC5X_20: Philips RC5x 20 bit protocol + * @RC_PROTO_RC5_SZ: StreamZap variant of RC5 + * @RC_PROTO_JVC: JVC protocol + * @RC_PROTO_SONY12: Sony 12 bit protocol + * @RC_PROTO_SONY15: Sony 15 bit protocol + * @RC_PROTO_SONY20: Sony 20 bit protocol + * @RC_PROTO_NEC: NEC protocol + * @RC_PROTO_NECX: Extended NEC protocol + * @RC_PROTO_NEC32: NEC 32 bit protocol + * @RC_PROTO_SANYO: Sanyo protocol + * @RC_PROTO_MCIR2_KBD: RC6-ish MCE keyboard + * @RC_PROTO_MCIR2_MSE: RC6-ish MCE mouse + * @RC_PROTO_RC6_0: Philips RC6-0-16 protocol + * @RC_PROTO_RC6_6A_20: Philips RC6-6A-20 protocol + * @RC_PROTO_RC6_6A_24: Philips RC6-6A-24 protocol + * @RC_PROTO_RC6_6A_32: Philips RC6-6A-32 protocol + * @RC_PROTO_RC6_MCE: MCE (Philips RC6-6A-32 subtype) protocol + * @RC_PROTO_SHARP: Sharp protocol + * @RC_PROTO_XMP: XMP protocol + * @RC_PROTO_CEC: CEC protocol + * @RC_PROTO_IMON: iMon Pad protocol + * @RC_PROTO_RCMM12: RC-MM protocol 12 bits + * @RC_PROTO_RCMM24: RC-MM protocol 24 bits + * @RC_PROTO_RCMM32: RC-MM protocol 32 bits + * @RC_PROTO_XBOX_DVD: Xbox DVD Movie Playback Kit protocol + * @RC_PROTO_MAX: Maximum value of enum rc_proto + */ +enum rc_proto { + RC_PROTO_UNKNOWN = 0, + RC_PROTO_OTHER = 1, + RC_PROTO_RC5 = 2, + RC_PROTO_RC5X_20 = 3, + RC_PROTO_RC5_SZ = 4, + RC_PROTO_JVC = 5, + RC_PROTO_SONY12 = 6, + RC_PROTO_SONY15 = 7, + RC_PROTO_SONY20 = 8, + RC_PROTO_NEC = 9, + RC_PROTO_NECX = 10, + RC_PROTO_NEC32 = 11, + RC_PROTO_SANYO = 12, + RC_PROTO_MCIR2_KBD = 13, + RC_PROTO_MCIR2_MSE = 14, + RC_PROTO_RC6_0 = 15, + RC_PROTO_RC6_6A_20 = 16, + RC_PROTO_RC6_6A_24 = 17, + RC_PROTO_RC6_6A_32 = 18, + RC_PROTO_RC6_MCE = 19, + RC_PROTO_SHARP = 20, + RC_PROTO_XMP = 21, + RC_PROTO_CEC = 22, + RC_PROTO_IMON = 23, + RC_PROTO_RCMM12 = 24, + RC_PROTO_RCMM24 = 25, + RC_PROTO_RCMM32 = 26, + RC_PROTO_XBOX_DVD = 27, + RC_PROTO_MAX = RC_PROTO_XBOX_DVD, +}; + +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/loop.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/loop.h
Changed
@@ -1,11 +1,6 @@ /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ /* - * include/linux/loop.h - * - * Written by Theodore Ts'o, 3/29/93. - * - * Copyright 1993 by Theodore Ts'o. Redistribution of this file is - * permitted under the GNU General Public License. + * Copyright 1993 by Theodore Ts'o. */ #ifndef _LINUX_LOOP_H #define _LINUX_LOOP_H @@ -45,7 +40,7 @@ unsigned long lo_inode; /* ioctl r/o */ __kernel_old_dev_t lo_rdevice; /* ioctl r/o */ int lo_offset; - int lo_encrypt_type; + int lo_encrypt_type; /* obsolete, ignored */ int lo_encrypt_key_size; /* ioctl w/o */ int lo_flags; char lo_nameLO_NAME_SIZE; @@ -61,7 +56,7 @@ __u64 lo_offset; __u64 lo_sizelimit;/* bytes, 0 == max available */ __u32 lo_number; /* ioctl r/o */ - __u32 lo_encrypt_type; + __u32 lo_encrypt_type; /* obsolete, ignored */ __u32 lo_encrypt_key_size; /* ioctl w/o */ __u32 lo_flags; __u8 lo_file_nameLO_NAME_SIZE;
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mctp.h
Added
@@ -0,0 +1,68 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Management Component Transport Protocol (MCTP) + * + * Copyright (c) 2021 Code Construct + * Copyright (c) 2021 Google + */ + +#ifndef __UAPI_MCTP_H +#define __UAPI_MCTP_H + +#include <linux/types.h> +#include <linux/socket.h> +#include <linux/netdevice.h> + +typedef __u8 mctp_eid_t; + +struct mctp_addr { + mctp_eid_t s_addr; +}; + +struct sockaddr_mctp { + __kernel_sa_family_t smctp_family; + __u16 __smctp_pad0; + unsigned int smctp_network; + struct mctp_addr smctp_addr; + __u8 smctp_type; + __u8 smctp_tag; + __u8 __smctp_pad1; +}; + +struct sockaddr_mctp_ext { + struct sockaddr_mctp smctp_base; + int smctp_ifindex; + __u8 smctp_halen; + __u8 __smctp_pad03; + __u8 smctp_haddrMAX_ADDR_LEN; +}; + +#define MCTP_NET_ANY 0x0 + +#define MCTP_ADDR_NULL 0x00 +#define MCTP_ADDR_ANY 0xff + +#define MCTP_TAG_MASK 0x07 +#define MCTP_TAG_OWNER 0x08 +#define MCTP_TAG_PREALLOC 0x10 + +#define MCTP_OPT_ADDR_EXT 1 + +#define SIOCMCTPALLOCTAG (SIOCPROTOPRIVATE + 0) +#define SIOCMCTPDROPTAG (SIOCPROTOPRIVATE + 1) + +struct mctp_ioc_tag_ctl { + mctp_eid_t peer_addr; + + /* For SIOCMCTPALLOCTAG: must be passed as zero, kernel will + * populate with the allocated tag value. Returned tag value will + * always have TO and PREALLOC set. + * + * For SIOCMCTPDROPTAG: userspace provides tag value to drop, from + * a prior SIOCMCTPALLOCTAG call (and so must have TO and PREALLOC set). + */ + __u8 tag; + __u16 flags; +}; + +#endif /* __UAPI_MCTP_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/mount.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mount.h
Changed
@@ -73,7 +73,8 @@ #define MOVE_MOUNT_T_SYMLINKS 0x00000010 /* Follow symlinks on to path */ #define MOVE_MOUNT_T_AUTOMOUNTS 0x00000020 /* Follow automounts on to path */ #define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */ -#define MOVE_MOUNT__MASK 0x00000077 +#define MOVE_MOUNT_SET_GROUP 0x00000100 /* Set sharing group instead */ +#define MOVE_MOUNT__MASK 0x00000177 /* * fsopen() flags.
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mpls.h
Added
@@ -0,0 +1,77 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _MPLS_H +#define _MPLS_H + +#include <linux/types.h> +#include <asm/byteorder.h> + +/* Reference: RFC 5462, RFC 3032 + * + * 0 1 2 3 + * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * | Label | TC |S| TTL | + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * + * Label: Label Value, 20 bits + * TC: Traffic Class field, 3 bits + * S: Bottom of Stack, 1 bit + * TTL: Time to Live, 8 bits + */ + +struct mpls_label { + __be32 entry; +}; + +#define MPLS_LS_LABEL_MASK 0xFFFFF000 +#define MPLS_LS_LABEL_SHIFT 12 +#define MPLS_LS_TC_MASK 0x00000E00 +#define MPLS_LS_TC_SHIFT 9 +#define MPLS_LS_S_MASK 0x00000100 +#define MPLS_LS_S_SHIFT 8 +#define MPLS_LS_TTL_MASK 0x000000FF +#define MPLS_LS_TTL_SHIFT 0 + +/* Reserved labels */ +#define MPLS_LABEL_IPV4NULL 0 /* RFC3032 */ +#define MPLS_LABEL_RTALERT 1 /* RFC3032 */ +#define MPLS_LABEL_IPV6NULL 2 /* RFC3032 */ +#define MPLS_LABEL_IMPLNULL 3 /* RFC3032 */ +#define MPLS_LABEL_ENTROPY 7 /* RFC6790 */ +#define MPLS_LABEL_GAL 13 /* RFC5586 */ +#define MPLS_LABEL_OAMALERT 14 /* RFC3429 */ +#define MPLS_LABEL_EXTENSION 15 /* RFC7274 */ + +#define MPLS_LABEL_FIRST_UNRESERVED 16 /* RFC3032 */ + +/* These are embedded into IFLA_STATS_AF_SPEC: + * IFLA_STATS_AF_SPEC + * -> AF_MPLS + * -> MPLS_STATS_xxx + * + * Attributes: + * MPLS_STATS_LINK = { + * struct mpls_link_stats + * } + */ +enum { + MPLS_STATS_UNSPEC, /* also used as 64bit pad attribute */ + MPLS_STATS_LINK, + __MPLS_STATS_MAX, +}; + +#define MPLS_STATS_MAX (__MPLS_STATS_MAX - 1) + +struct mpls_link_stats { + __u64 rx_packets; /* total packets received */ + __u64 tx_packets; /* total packets transmitted */ + __u64 rx_bytes; /* total bytes received */ + __u64 tx_bytes; /* total bytes transmitted */ + __u64 rx_errors; /* bad packets received */ + __u64 tx_errors; /* packet transmit problems */ + __u64 rx_dropped; /* packet dropped on receive */ + __u64 tx_dropped; /* packet dropped on transmit */ + __u64 rx_noroute; /* no route for packet dest */ +}; + +#endif /* _MPLS_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mptcp.h
Added
@@ -0,0 +1,241 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +#ifndef _MPTCP_H +#define _MPTCP_H + +#include <netinet/in.h> /* for sockaddr_in and sockaddr_in6 */ +#include <sys/socket.h> /* for struct sockaddr */ + +#include <linux/const.h> +#include <linux/types.h> +#include <linux/in.h> /* for sockaddr_in */ +#include <linux/in6.h> /* for sockaddr_in6 */ +#include <linux/socket.h> /* for sockaddr_storage and sa_family */ + +#define MPTCP_SUBFLOW_FLAG_MCAP_REM _BITUL(0) +#define MPTCP_SUBFLOW_FLAG_MCAP_LOC _BITUL(1) +#define MPTCP_SUBFLOW_FLAG_JOIN_REM _BITUL(2) +#define MPTCP_SUBFLOW_FLAG_JOIN_LOC _BITUL(3) +#define MPTCP_SUBFLOW_FLAG_BKUP_REM _BITUL(4) +#define MPTCP_SUBFLOW_FLAG_BKUP_LOC _BITUL(5) +#define MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED _BITUL(6) +#define MPTCP_SUBFLOW_FLAG_CONNECTED _BITUL(7) +#define MPTCP_SUBFLOW_FLAG_MAPVALID _BITUL(8) + +enum { + MPTCP_SUBFLOW_ATTR_UNSPEC, + MPTCP_SUBFLOW_ATTR_TOKEN_REM, + MPTCP_SUBFLOW_ATTR_TOKEN_LOC, + MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ, + MPTCP_SUBFLOW_ATTR_MAP_SEQ, + MPTCP_SUBFLOW_ATTR_MAP_SFSEQ, + MPTCP_SUBFLOW_ATTR_SSN_OFFSET, + MPTCP_SUBFLOW_ATTR_MAP_DATALEN, + MPTCP_SUBFLOW_ATTR_FLAGS, + MPTCP_SUBFLOW_ATTR_ID_REM, + MPTCP_SUBFLOW_ATTR_ID_LOC, + MPTCP_SUBFLOW_ATTR_PAD, + __MPTCP_SUBFLOW_ATTR_MAX +}; + +#define MPTCP_SUBFLOW_ATTR_MAX (__MPTCP_SUBFLOW_ATTR_MAX - 1) + +/* netlink interface */ +#define MPTCP_PM_NAME "mptcp_pm" +#define MPTCP_PM_CMD_GRP_NAME "mptcp_pm_cmds" +#define MPTCP_PM_EV_GRP_NAME "mptcp_pm_events" +#define MPTCP_PM_VER 0x1 + +/* + * ATTR types defined for MPTCP + */ +enum { + MPTCP_PM_ATTR_UNSPEC, + + MPTCP_PM_ATTR_ADDR, /* nested address */ + MPTCP_PM_ATTR_RCV_ADD_ADDRS, /* u32 */ + MPTCP_PM_ATTR_SUBFLOWS, /* u32 */ + MPTCP_PM_ATTR_TOKEN, /* u32 */ + MPTCP_PM_ATTR_LOC_ID, /* u8 */ + MPTCP_PM_ATTR_ADDR_REMOTE, /* nested address */ + + __MPTCP_PM_ATTR_MAX +}; + +#define MPTCP_PM_ATTR_MAX (__MPTCP_PM_ATTR_MAX - 1) + +enum { + MPTCP_PM_ADDR_ATTR_UNSPEC, + + MPTCP_PM_ADDR_ATTR_FAMILY, /* u16 */ + MPTCP_PM_ADDR_ATTR_ID, /* u8 */ + MPTCP_PM_ADDR_ATTR_ADDR4, /* struct in_addr */ + MPTCP_PM_ADDR_ATTR_ADDR6, /* struct in6_addr */ + MPTCP_PM_ADDR_ATTR_PORT, /* u16 */ + MPTCP_PM_ADDR_ATTR_FLAGS, /* u32 */ + MPTCP_PM_ADDR_ATTR_IF_IDX, /* s32 */ + + __MPTCP_PM_ADDR_ATTR_MAX +}; + +#define MPTCP_PM_ADDR_ATTR_MAX (__MPTCP_PM_ADDR_ATTR_MAX - 1) + +#define MPTCP_PM_ADDR_FLAG_SIGNAL (1 << 0) +#define MPTCP_PM_ADDR_FLAG_SUBFLOW (1 << 1) +#define MPTCP_PM_ADDR_FLAG_BACKUP (1 << 2) +#define MPTCP_PM_ADDR_FLAG_FULLMESH (1 << 3) +#define MPTCP_PM_ADDR_FLAG_IMPLICIT (1 << 4) + +enum { + MPTCP_PM_CMD_UNSPEC, + + MPTCP_PM_CMD_ADD_ADDR, + MPTCP_PM_CMD_DEL_ADDR, + MPTCP_PM_CMD_GET_ADDR, + MPTCP_PM_CMD_FLUSH_ADDRS, + MPTCP_PM_CMD_SET_LIMITS, + MPTCP_PM_CMD_GET_LIMITS, + MPTCP_PM_CMD_SET_FLAGS, + MPTCP_PM_CMD_ANNOUNCE, + MPTCP_PM_CMD_REMOVE, + MPTCP_PM_CMD_SUBFLOW_CREATE, + MPTCP_PM_CMD_SUBFLOW_DESTROY, + + __MPTCP_PM_CMD_AFTER_LAST +}; + +#define MPTCP_INFO_FLAG_FALLBACK _BITUL(0) +#define MPTCP_INFO_FLAG_REMOTE_KEY_RECEIVED _BITUL(1) + +struct mptcp_info { + __u8 mptcpi_subflows; + __u8 mptcpi_add_addr_signal; + __u8 mptcpi_add_addr_accepted; + __u8 mptcpi_subflows_max; + __u8 mptcpi_add_addr_signal_max; + __u8 mptcpi_add_addr_accepted_max; + __u32 mptcpi_flags; + __u32 mptcpi_token; + __u64 mptcpi_write_seq; + __u64 mptcpi_snd_una; + __u64 mptcpi_rcv_nxt; + __u8 mptcpi_local_addr_used; + __u8 mptcpi_local_addr_max; + __u8 mptcpi_csum_enabled; +}; + +/* + * MPTCP_EVENT_CREATED: token, family, saddr4 | saddr6, daddr4 | daddr6, + * sport, dport + * A new MPTCP connection has been created. It is the good time to allocate + * memory and send ADD_ADDR if needed. Depending on the traffic-patterns + * it can take a long time until the MPTCP_EVENT_ESTABLISHED is sent. + * + * MPTCP_EVENT_ESTABLISHED: token, family, saddr4 | saddr6, daddr4 | daddr6, + * sport, dport + * A MPTCP connection is established (can start new subflows). + * + * MPTCP_EVENT_CLOSED: token + * A MPTCP connection has stopped. + * + * MPTCP_EVENT_ANNOUNCED: token, rem_id, family, daddr4 | daddr6 , dport + * A new address has been announced by the peer. + * + * MPTCP_EVENT_REMOVED: token, rem_id + * An address has been lost by the peer. + * + * MPTCP_EVENT_SUB_ESTABLISHED: token, family, loc_id, rem_id, + * saddr4 | saddr6, daddr4 | daddr6, sport, + * dport, backup, if_idx , error + * A new subflow has been established. 'error' should not be set. + * + * MPTCP_EVENT_SUB_CLOSED: token, family, loc_id, rem_id, saddr4 | saddr6, + * daddr4 | daddr6, sport, dport, backup, if_idx + * , error + * A subflow has been closed. An error (copy of sk_err) could be set if an + * error has been detected for this subflow. + * + * MPTCP_EVENT_SUB_PRIORITY: token, family, loc_id, rem_id, saddr4 | saddr6, + * daddr4 | daddr6, sport, dport, backup, if_idx + * , error + * The priority of a subflow has changed. 'error' should not be set. + */ +enum mptcp_event_type { + MPTCP_EVENT_UNSPEC = 0, + MPTCP_EVENT_CREATED = 1, + MPTCP_EVENT_ESTABLISHED = 2, + MPTCP_EVENT_CLOSED = 3, + + MPTCP_EVENT_ANNOUNCED = 6, + MPTCP_EVENT_REMOVED = 7, + + MPTCP_EVENT_SUB_ESTABLISHED = 10, + MPTCP_EVENT_SUB_CLOSED = 11, + + MPTCP_EVENT_SUB_PRIORITY = 13, +}; + +enum mptcp_event_attr { + MPTCP_ATTR_UNSPEC = 0, + + MPTCP_ATTR_TOKEN, /* u32 */ + MPTCP_ATTR_FAMILY, /* u16 */ + MPTCP_ATTR_LOC_ID, /* u8 */ + MPTCP_ATTR_REM_ID, /* u8 */ + MPTCP_ATTR_SADDR4, /* be32 */ + MPTCP_ATTR_SADDR6, /* struct in6_addr */ + MPTCP_ATTR_DADDR4, /* be32 */ + MPTCP_ATTR_DADDR6, /* struct in6_addr */ + MPTCP_ATTR_SPORT, /* be16 */ + MPTCP_ATTR_DPORT, /* be16 */ + MPTCP_ATTR_BACKUP, /* u8 */ + MPTCP_ATTR_ERROR, /* u8 */ + MPTCP_ATTR_FLAGS, /* u16 */ + MPTCP_ATTR_TIMEOUT, /* u32 */ + MPTCP_ATTR_IF_IDX, /* s32 */ + MPTCP_ATTR_RESET_REASON,/* u32 */ + MPTCP_ATTR_RESET_FLAGS, /* u32 */ + MPTCP_ATTR_SERVER_SIDE, /* u8 */ + + __MPTCP_ATTR_AFTER_LAST +}; + +#define MPTCP_ATTR_MAX (__MPTCP_ATTR_AFTER_LAST - 1) + +/* MPTCP Reset reason codes, rfc8684 */ +#define MPTCP_RST_EUNSPEC 0 +#define MPTCP_RST_EMPTCP 1 +#define MPTCP_RST_ERESOURCE 2 +#define MPTCP_RST_EPROHIBIT 3 +#define MPTCP_RST_EWQ2BIG 4 +#define MPTCP_RST_EBADPERF 5 +#define MPTCP_RST_EMIDDLEBOX 6 + +struct mptcp_subflow_data { + __u32 size_subflow_data; /* size of this structure in userspace */ + __u32 num_subflows; /* must be 0, set by kernel */ + __u32 size_kernel; /* must be 0, set by kernel */ + __u32 size_user; /* size of one element in data */ +} __attribute__((aligned(8))); + +struct mptcp_subflow_addrs { + union { + __kernel_sa_family_t sa_family; + struct sockaddr sa_local; + struct sockaddr_in sin_local; + struct sockaddr_in6 sin6_local; + struct __kernel_sockaddr_storage ss_local; + }; + union { + struct sockaddr sa_remote; + struct sockaddr_in sin_remote; + struct sockaddr_in6 sin6_remote; + struct __kernel_sockaddr_storage ss_remote; + }; +}; + +/* MPTCP socket options */ +#define MPTCP_INFO 1 +#define MPTCP_TCPINFO 2 +#define MPTCP_SUBFLOW_ADDRS 3 + +#endif /* _MPTCP_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mroute.h
Added
@@ -0,0 +1,187 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_MROUTE_H +#define __LINUX_MROUTE_H + +#include <linux/sockios.h> +#include <linux/types.h> +#include <linux/in.h> /* For struct in_addr. */ + +/* Based on the MROUTING 3.5 defines primarily to keep + * source compatibility with BSD. + * + * See the mrouted code for the original history. + * + * Protocol Independent Multicast (PIM) data structures included + * Carlos Picoto (cap@di.fc.ul.pt) + */ + +#define MRT_BASE 200 +#define MRT_INIT (MRT_BASE) /* Activate the kernel mroute code */ +#define MRT_DONE (MRT_BASE+1) /* Shutdown the kernel mroute */ +#define MRT_ADD_VIF (MRT_BASE+2) /* Add a virtual interface */ +#define MRT_DEL_VIF (MRT_BASE+3) /* Delete a virtual interface */ +#define MRT_ADD_MFC (MRT_BASE+4) /* Add a multicast forwarding entry */ +#define MRT_DEL_MFC (MRT_BASE+5) /* Delete a multicast forwarding entry */ +#define MRT_VERSION (MRT_BASE+6) /* Get the kernel multicast version */ +#define MRT_ASSERT (MRT_BASE+7) /* Activate PIM assert mode */ +#define MRT_PIM (MRT_BASE+8) /* enable PIM code */ +#define MRT_TABLE (MRT_BASE+9) /* Specify mroute table ID */ +#define MRT_ADD_MFC_PROXY (MRT_BASE+10) /* Add a (*,*|G) mfc entry */ +#define MRT_DEL_MFC_PROXY (MRT_BASE+11) /* Del a (*,*|G) mfc entry */ +#define MRT_FLUSH (MRT_BASE+12) /* Flush all mfc entries and/or vifs */ +#define MRT_MAX (MRT_BASE+12) + +#define SIOCGETVIFCNT SIOCPROTOPRIVATE /* IP protocol privates */ +#define SIOCGETSGCNT (SIOCPROTOPRIVATE+1) +#define SIOCGETRPF (SIOCPROTOPRIVATE+2) + +/* MRT_FLUSH optional flags */ +#define MRT_FLUSH_MFC 1 /* Flush multicast entries */ +#define MRT_FLUSH_MFC_STATIC 2 /* Flush static multicast entries */ +#define MRT_FLUSH_VIFS 4 /* Flush multicast vifs */ +#define MRT_FLUSH_VIFS_STATIC 8 /* Flush static multicast vifs */ + +#define MAXVIFS 32 +typedef unsigned long vifbitmap_t; /* User mode code depends on this lot */ +typedef unsigned short vifi_t; +#define ALL_VIFS ((vifi_t)(-1)) + +/* Same idea as select */ + +#define VIFM_SET(n,m) ((m)|=(1<<(n))) +#define VIFM_CLR(n,m) ((m)&=~(1<<(n))) +#define VIFM_ISSET(n,m) ((m)&(1<<(n))) +#define VIFM_CLRALL(m) ((m)=0) +#define VIFM_COPY(mfrom,mto) ((mto)=(mfrom)) +#define VIFM_SAME(m1,m2) ((m1)==(m2)) + +/* Passed by mrouted for an MRT_ADD_VIF - again we use the + * mrouted 3.6 structures for compatibility + */ +struct vifctl { + vifi_t vifc_vifi; /* Index of VIF */ + unsigned char vifc_flags; /* VIFF_ flags */ + unsigned char vifc_threshold; /* ttl limit */ + unsigned int vifc_rate_limit; /* Rate limiter values (NI) */ + union { + struct in_addr vifc_lcl_addr; /* Local interface address */ + int vifc_lcl_ifindex; /* Local interface index */ + }; + struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ +}; + +#define VIFF_TUNNEL 0x1 /* IPIP tunnel */ +#define VIFF_SRCRT 0x2 /* NI */ +#define VIFF_REGISTER 0x4 /* register vif */ +#define VIFF_USE_IFINDEX 0x8 /* use vifc_lcl_ifindex instead of + vifc_lcl_addr to find an interface */ + +/* Cache manipulation structures for mrouted and PIMd */ +struct mfcctl { + struct in_addr mfcc_origin; /* Origin of mcast */ + struct in_addr mfcc_mcastgrp; /* Group in question */ + vifi_t mfcc_parent; /* Where it arrived */ + unsigned char mfcc_ttlsMAXVIFS; /* Where it is going */ + unsigned int mfcc_pkt_cnt; /* pkt count for src-grp */ + unsigned int mfcc_byte_cnt; + unsigned int mfcc_wrong_if; + int mfcc_expire; +}; + +/* Group count retrieval for mrouted */ +struct sioc_sg_req { + struct in_addr src; + struct in_addr grp; + unsigned long pktcnt; + unsigned long bytecnt; + unsigned long wrong_if; +}; + +/* To get vif packet counts */ +struct sioc_vif_req { + vifi_t vifi; /* Which iface */ + unsigned long icount; /* In packets */ + unsigned long ocount; /* Out packets */ + unsigned long ibytes; /* In bytes */ + unsigned long obytes; /* Out bytes */ +}; + +/* This is the format the mroute daemon expects to see IGMP control + * data. Magically happens to be like an IP packet as per the original + */ +struct igmpmsg { + __u32 unused1,unused2; + unsigned char im_msgtype; /* What is this */ + unsigned char im_mbz; /* Must be zero */ + unsigned char im_vif; /* Low 8 bits of Interface */ + unsigned char im_vif_hi; /* High 8 bits of Interface */ + struct in_addr im_src,im_dst; +}; + +/* ipmr netlink table attributes */ +enum { + IPMRA_TABLE_UNSPEC, + IPMRA_TABLE_ID, + IPMRA_TABLE_CACHE_RES_QUEUE_LEN, + IPMRA_TABLE_MROUTE_REG_VIF_NUM, + IPMRA_TABLE_MROUTE_DO_ASSERT, + IPMRA_TABLE_MROUTE_DO_PIM, + IPMRA_TABLE_VIFS, + IPMRA_TABLE_MROUTE_DO_WRVIFWHOLE, + __IPMRA_TABLE_MAX +}; +#define IPMRA_TABLE_MAX (__IPMRA_TABLE_MAX - 1) + +/* ipmr netlink vif attribute format + * IPMRA_TABLE_VIFS - nested attribute + * IPMRA_VIF - nested attribute + * IPMRA_VIFA_xxx + */ +enum { + IPMRA_VIF_UNSPEC, + IPMRA_VIF, + __IPMRA_VIF_MAX +}; +#define IPMRA_VIF_MAX (__IPMRA_VIF_MAX - 1) + +/* vif-specific attributes */ +enum { + IPMRA_VIFA_UNSPEC, + IPMRA_VIFA_IFINDEX, + IPMRA_VIFA_VIF_ID, + IPMRA_VIFA_FLAGS, + IPMRA_VIFA_BYTES_IN, + IPMRA_VIFA_BYTES_OUT, + IPMRA_VIFA_PACKETS_IN, + IPMRA_VIFA_PACKETS_OUT, + IPMRA_VIFA_LOCAL_ADDR, + IPMRA_VIFA_REMOTE_ADDR, + IPMRA_VIFA_PAD, + __IPMRA_VIFA_MAX +}; +#define IPMRA_VIFA_MAX (__IPMRA_VIFA_MAX - 1) + +/* ipmr netlink cache report attributes */ +enum { + IPMRA_CREPORT_UNSPEC, + IPMRA_CREPORT_MSGTYPE, + IPMRA_CREPORT_VIF_ID, + IPMRA_CREPORT_SRC_ADDR, + IPMRA_CREPORT_DST_ADDR, + IPMRA_CREPORT_PKT, + IPMRA_CREPORT_TABLE, + __IPMRA_CREPORT_MAX +}; +#define IPMRA_CREPORT_MAX (__IPMRA_CREPORT_MAX - 1) + +/* That's all usermode folks */ + +#define MFC_ASSERT_THRESH (3*HZ) /* Maximal freq. of asserts */ + +/* Pseudo messages used by mrouted */ +#define IGMPMSG_NOCACHE 1 /* Kern cache fill request to mrouted */ +#define IGMPMSG_WRONGVIF 2 /* For PIM assert processing (unused) */ +#define IGMPMSG_WHOLEPKT 3 /* For PIM Register processing */ +#define IGMPMSG_WRVIFWHOLE 4 /* For PIM Register and assert processing */ + +#endif /* __LINUX_MROUTE_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/mroute6.h
Added
@@ -0,0 +1,157 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef __LINUX_MROUTE6_H +#define __LINUX_MROUTE6_H + +#include <linux/const.h> +#include <linux/types.h> +#include <linux/sockios.h> +#include <linux/in6.h> /* For struct sockaddr_in6. */ + +/* + * Based on the MROUTING 3.5 defines primarily to keep + * source compatibility with BSD. + * + * See the pim6sd code for the original history. + * + * Protocol Independent Multicast (PIM) data structures included + * Carlos Picoto (cap@di.fc.ul.pt) + * + */ + +#define MRT6_BASE 200 +#define MRT6_INIT (MRT6_BASE) /* Activate the kernel mroute code */ +#define MRT6_DONE (MRT6_BASE+1) /* Shutdown the kernel mroute */ +#define MRT6_ADD_MIF (MRT6_BASE+2) /* Add a virtual interface */ +#define MRT6_DEL_MIF (MRT6_BASE+3) /* Delete a virtual interface */ +#define MRT6_ADD_MFC (MRT6_BASE+4) /* Add a multicast forwarding entry */ +#define MRT6_DEL_MFC (MRT6_BASE+5) /* Delete a multicast forwarding entry */ +#define MRT6_VERSION (MRT6_BASE+6) /* Get the kernel multicast version */ +#define MRT6_ASSERT (MRT6_BASE+7) /* Activate PIM assert mode */ +#define MRT6_PIM (MRT6_BASE+8) /* enable PIM code */ +#define MRT6_TABLE (MRT6_BASE+9) /* Specify mroute table ID */ +#define MRT6_ADD_MFC_PROXY (MRT6_BASE+10) /* Add a (*,*|G) mfc entry */ +#define MRT6_DEL_MFC_PROXY (MRT6_BASE+11) /* Del a (*,*|G) mfc entry */ +#define MRT6_FLUSH (MRT6_BASE+12) /* Flush all mfc entries and/or vifs */ +#define MRT6_MAX (MRT6_BASE+12) + +#define SIOCGETMIFCNT_IN6 SIOCPROTOPRIVATE /* IP protocol privates */ +#define SIOCGETSGCNT_IN6 (SIOCPROTOPRIVATE+1) +#define SIOCGETRPF (SIOCPROTOPRIVATE+2) + +/* MRT6_FLUSH optional flags */ +#define MRT6_FLUSH_MFC 1 /* Flush multicast entries */ +#define MRT6_FLUSH_MFC_STATIC 2 /* Flush static multicast entries */ +#define MRT6_FLUSH_MIFS 4 /* Flushing multicast vifs */ +#define MRT6_FLUSH_MIFS_STATIC 8 /* Flush static multicast vifs */ + +#define MAXMIFS 32 +typedef unsigned long mifbitmap_t; /* User mode code depends on this lot */ +typedef unsigned short mifi_t; +#define ALL_MIFS ((mifi_t)(-1)) + +#ifndef IF_SETSIZE +#define IF_SETSIZE 256 +#endif + +typedef __u32 if_mask; +#define NIFBITS (sizeof(if_mask) * 8) /* bits per mask */ + +typedef struct if_set { + if_mask ifs_bits__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS); +} if_set; + +#define IF_SET(n, p) ((p)->ifs_bits(n)/NIFBITS |= (1 << ((n) % NIFBITS))) +#define IF_CLR(n, p) ((p)->ifs_bits(n)/NIFBITS &= ~(1 << ((n) % NIFBITS))) +#define IF_ISSET(n, p) ((p)->ifs_bits(n)/NIFBITS & (1 << ((n) % NIFBITS))) +#define IF_COPY(f, t) bcopy(f, t, sizeof(*(f))) +#define IF_ZERO(p) bzero(p, sizeof(*(p))) + +/* + * Passed by mrouted for an MRT_ADD_MIF - again we use the + * mrouted 3.6 structures for compatibility + */ + +struct mif6ctl { + mifi_t mif6c_mifi; /* Index of MIF */ + unsigned char mif6c_flags; /* MIFF_ flags */ + unsigned char vifc_threshold; /* ttl limit */ + __u16 mif6c_pifi; /* the index of the physical IF */ + unsigned int vifc_rate_limit; /* Rate limiter values (NI) */ +}; + +#define MIFF_REGISTER 0x1 /* register vif */ + +/* + * Cache manipulation structures for mrouted and PIMd + */ + +struct mf6cctl { + struct sockaddr_in6 mf6cc_origin; /* Origin of mcast */ + struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */ + mifi_t mf6cc_parent; /* Where it arrived */ + struct if_set mf6cc_ifset; /* Where it is going */ +}; + +/* + * Group count retrieval for pim6sd + */ + +struct sioc_sg_req6 { + struct sockaddr_in6 src; + struct sockaddr_in6 grp; + unsigned long pktcnt; + unsigned long bytecnt; + unsigned long wrong_if; +}; + +/* + * To get vif packet counts + */ + +struct sioc_mif_req6 { + mifi_t mifi; /* Which iface */ + unsigned long icount; /* In packets */ + unsigned long ocount; /* Out packets */ + unsigned long ibytes; /* In bytes */ + unsigned long obytes; /* Out bytes */ +}; + +/* + * That's all usermode folks + */ + + + +/* + * Structure used to communicate from kernel to multicast router. + * We'll overlay the structure onto an MLD header (not an IPv6 heder like igmpmsg{} + * used for IPv4 implementation). This is because this structure will be passed via an + * IPv6 raw socket, on which an application will only receiver the payload i.e the data after + * the IPv6 header and all the extension headers. (See section 3 of RFC 3542) + */ + +struct mrt6msg { +#define MRT6MSG_NOCACHE 1 +#define MRT6MSG_WRONGMIF 2 +#define MRT6MSG_WHOLEPKT 3 /* used for use level encap */ +#define MRT6MSG_WRMIFWHOLE 4 /* For PIM Register and assert processing */ + __u8 im6_mbz; /* must be zero */ + __u8 im6_msgtype; /* what type of message */ + __u16 im6_mif; /* mif rec'd on */ + __u32 im6_pad; /* padding for 64 bit arch */ + struct in6_addr im6_src, im6_dst; +}; + +/* ip6mr netlink cache report attributes */ +enum { + IP6MRA_CREPORT_UNSPEC, + IP6MRA_CREPORT_MSGTYPE, + IP6MRA_CREPORT_MIF_ID, + IP6MRA_CREPORT_SRC_ADDR, + IP6MRA_CREPORT_DST_ADDR, + IP6MRA_CREPORT_PKT, + __IP6MRA_CREPORT_MAX +}; +#define IP6MRA_CREPORT_MAX (__IP6MRA_CREPORT_MAX - 1) + +#endif /* __LINUX_MROUTE6_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/neighbour.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/neighbour.h
Changed
@@ -31,6 +31,9 @@ NDA_PROTOCOL, /* Originator of entry */ NDA_NH_ID, NDA_FDB_EXT_ATTRS, + NDA_FLAGS_EXT, + NDA_NDM_STATE_MASK, + NDA_NDM_FLAGS_MASK, __NDA_MAX }; @@ -40,14 +43,16 @@ * Neighbor Cache Entry Flags */ -#define NTF_USE 0x01 -#define NTF_SELF 0x02 -#define NTF_MASTER 0x04 -#define NTF_PROXY 0x08 /* == ATF_PUBL */ -#define NTF_EXT_LEARNED 0x10 -#define NTF_OFFLOADED 0x20 -#define NTF_STICKY 0x40 -#define NTF_ROUTER 0x80 +#define NTF_USE (1 << 0) +#define NTF_SELF (1 << 1) +#define NTF_MASTER (1 << 2) +#define NTF_PROXY (1 << 3) /* == ATF_PUBL */ +#define NTF_EXT_LEARNED (1 << 4) +#define NTF_OFFLOADED (1 << 5) +#define NTF_STICKY (1 << 6) +#define NTF_ROUTER (1 << 7) +/* Extended flags under NDA_FLAGS_EXT: */ +#define NTF_EXT_MANAGED (1 << 0) /* * Neighbor Cache Entry States. @@ -65,9 +70,22 @@ #define NUD_PERMANENT 0x80 #define NUD_NONE 0x00 -/* NUD_NOARP & NUD_PERMANENT are pseudostates, they never change - and make no address resolution or NUD. - NUD_PERMANENT also cannot be deleted by garbage collectors. +/* NUD_NOARP & NUD_PERMANENT are pseudostates, they never change and make no + * address resolution or NUD. + * + * NUD_PERMANENT also cannot be deleted by garbage collectors. This holds true + * for dynamic entries with NTF_EXT_LEARNED flag as well. However, upon carrier + * down event, NUD_PERMANENT entries are not flushed whereas NTF_EXT_LEARNED + * flagged entries explicitly are (which is also consistent with the routing + * subsystem). + * + * When NTF_EXT_LEARNED is set for a bridge fdb entry the different cache entry + * states don't make sense and thus are ignored. Such entries don't age and + * can roam. + * + * NTF_EXT_MANAGED flagged neigbor entries are managed by the kernel on behalf + * of a user space control plane, and automatically refreshed so that (if + * possible) they remain in NUD_REACHABLE state. */ struct nda_cacheinfo { @@ -136,6 +154,7 @@ NDTPA_QUEUE_LENBYTES, /* u32 */ NDTPA_MCAST_REPROBES, /* u32 */ NDTPA_PAD, + NDTPA_INTERVAL_PROBE_TIME_MS, /* u64, msecs */ __NDTPA_MAX }; #define NDTPA_MAX (__NDTPA_MAX - 1)
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/netfilter/ipset/ip_set.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/netfilter/ipset/ip_set.h
Changed
@@ -3,10 +3,6 @@ * Patrick Schaaf <bof@bof.de> * Martin Josefsson <gandalf@wlug.westbo.se> * Copyright (C) 2003-2011 Jozsef Kadlecsik <kadlec@netfilter.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #ifndef _IP_SET_H #define _IP_SET_H
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/netfilter/nf_tables.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/netfilter/nf_tables.h
Changed
@@ -753,11 +753,13 @@ * @NFT_PAYLOAD_LL_HEADER: link layer header * @NFT_PAYLOAD_NETWORK_HEADER: network header * @NFT_PAYLOAD_TRANSPORT_HEADER: transport header + * @NFT_PAYLOAD_INNER_HEADER: inner header / payload */ enum nft_payload_bases { NFT_PAYLOAD_LL_HEADER, NFT_PAYLOAD_NETWORK_HEADER, NFT_PAYLOAD_TRANSPORT_HEADER, + NFT_PAYLOAD_INNER_HEADER, }; /** @@ -896,7 +898,8 @@ NFT_META_OIF, NFT_META_IIFNAME, NFT_META_OIFNAME, - NFT_META_IIFTYPE, + NFT_META_IFTYPE, +#define NFT_META_IIFTYPE NFT_META_IFTYPE NFT_META_OIFTYPE, NFT_META_SKUID, NFT_META_SKGID, @@ -923,6 +926,7 @@ NFT_META_TIME_HOUR, NFT_META_SDIF, NFT_META_SDIFNAME, + __NFT_META_IIFTYPE, }; /**
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/netfilter/nfnetlink_conntrack.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/netfilter/nfnetlink_conntrack.h
Changed
@@ -56,6 +56,7 @@ CTA_LABELS_MASK, CTA_SYNPROXY, CTA_FILTER, + CTA_STATUS_MASK, __CTA_MAX }; #define CTA_MAX (__CTA_MAX - 1) @@ -257,6 +258,7 @@ CTA_STATS_ERROR, CTA_STATS_SEARCH_RESTART, CTA_STATS_CLASH_RESOLVE, + CTA_STATS_CHAIN_TOOLONG, __CTA_STATS_MAX, }; #define CTA_STATS_MAX (__CTA_STATS_MAX - 1)
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/netfilter/nfnetlink_queue.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/netfilter/nfnetlink_queue.h
Changed
@@ -61,6 +61,7 @@ NFQA_SECCTX, /* security context string */ NFQA_VLAN, /* nested attribute: packet vlan info */ NFQA_L2HDR, /* full L2 header */ + NFQA_PRIORITY, /* skb->priority */ __NFQA_MAX };
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/netlink.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/netlink.h
Changed
@@ -20,7 +20,7 @@ #define NETLINK_CONNECTOR 11 #define NETLINK_NETFILTER 12 /* netfilter subsystem */ #define NETLINK_IP6_FW 13 -#define NETLINK_DNRTMSG 14 /* DECnet routing messages */ +#define NETLINK_DNRTMSG 14 /* DECnet routing messages (obsolete) */ #define NETLINK_KOBJECT_UEVENT 15 /* Kernel messages to userspace */ #define NETLINK_GENERIC 16 /* leave room for NETLINK_DM (DM Events) */ @@ -41,12 +41,20 @@ __u32 nl_groups; /* multicast groups mask */ }; +/** + * struct nlmsghdr - fixed format metadata header of Netlink messages + * @nlmsg_len: Length of message including header + * @nlmsg_type: Message content type + * @nlmsg_flags: Additional flags + * @nlmsg_seq: Sequence number + * @nlmsg_pid: Sending process port ID + */ struct nlmsghdr { - __u32 nlmsg_len; /* Length of message including header */ - __u16 nlmsg_type; /* Message content */ - __u16 nlmsg_flags; /* Additional flags */ - __u32 nlmsg_seq; /* Sequence number */ - __u32 nlmsg_pid; /* Sending process port ID */ + __u32 nlmsg_len; + __u16 nlmsg_type; + __u16 nlmsg_flags; + __u32 nlmsg_seq; + __u32 nlmsg_pid; }; /* Flags values */ @@ -54,7 +62,7 @@ #define NLM_F_REQUEST 0x01 /* It is request message. */ #define NLM_F_MULTI 0x02 /* Multipart message, terminated by NLMSG_DONE */ #define NLM_F_ACK 0x04 /* Reply with ack, with zero or error code */ -#define NLM_F_ECHO 0x08 /* Echo this request */ +#define NLM_F_ECHO 0x08 /* Receive resulting notifications */ #define NLM_F_DUMP_INTR 0x10 /* Dump was inconsistent due to sequence change */ #define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */ @@ -72,6 +80,7 @@ /* Modifiers to DELETE request */ #define NLM_F_NONREC 0x100 /* Do not delete recursively */ +#define NLM_F_BULK 0x200 /* Delete multiple objects */ /* Flags for ACK message */ #define NLM_F_CAPPED 0x100 /* request was capped */ @@ -131,6 +140,10 @@ * be used - in the success case - to identify a created * object or operation or similar (binary) * @NLMSGERR_ATTR_POLICY: policy for a rejected attribute + * @NLMSGERR_ATTR_MISS_TYPE: type of a missing required attribute, + * %NLMSGERR_ATTR_MISS_NEST will not be present if the attribute was + * missing at the message level + * @NLMSGERR_ATTR_MISS_NEST: offset of the nest where attribute was missing * @__NLMSGERR_ATTR_MAX: number of attributes * @NLMSGERR_ATTR_MAX: highest attribute number */ @@ -140,6 +153,8 @@ NLMSGERR_ATTR_OFFS, NLMSGERR_ATTR_COOKIE, NLMSGERR_ATTR_POLICY, + NLMSGERR_ATTR_MISS_TYPE, + NLMSGERR_ATTR_MISS_NEST, __NLMSGERR_ATTR_MAX, NLMSGERR_ATTR_MAX = __NLMSGERR_ATTR_MAX - 1 @@ -332,6 +347,9 @@ * bitfield32 type (U32) * @NL_POLICY_TYPE_ATTR_MASK: mask of valid bits for unsigned integers (U64) * @NL_POLICY_TYPE_ATTR_PAD: pad attribute for 64-bit alignment + * + * @__NL_POLICY_TYPE_ATTR_MAX: number of attributes + * @NL_POLICY_TYPE_ATTR_MAX: highest attribute number */ enum netlink_policy_type_attr { NL_POLICY_TYPE_ATTR_UNSPEC,
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/nexthop.h
Added
@@ -0,0 +1,104 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_NEXTHOP_H +#define _LINUX_NEXTHOP_H + +#include <linux/types.h> + +struct nhmsg { + unsigned char nh_family; + unsigned char nh_scope; /* return only */ + unsigned char nh_protocol; /* Routing protocol that installed nh */ + unsigned char resvd; + unsigned int nh_flags; /* RTNH_F flags */ +}; + +/* entry in a nexthop group */ +struct nexthop_grp { + __u32 id; /* nexthop id - must exist */ + __u8 weight; /* weight of this nexthop */ + __u8 resvd1; + __u16 resvd2; +}; + +enum { + NEXTHOP_GRP_TYPE_MPATH, /* hash-threshold nexthop group + * default type if not specified + */ + NEXTHOP_GRP_TYPE_RES, /* resilient nexthop group */ + __NEXTHOP_GRP_TYPE_MAX, +}; + +#define NEXTHOP_GRP_TYPE_MAX (__NEXTHOP_GRP_TYPE_MAX - 1) + +enum { + NHA_UNSPEC, + NHA_ID, /* u32; id for nexthop. id == 0 means auto-assign */ + + NHA_GROUP, /* array of nexthop_grp */ + NHA_GROUP_TYPE, /* u16 one of NEXTHOP_GRP_TYPE */ + /* if NHA_GROUP attribute is added, no other attributes can be set */ + + NHA_BLACKHOLE, /* flag; nexthop used to blackhole packets */ + /* if NHA_BLACKHOLE is added, OIF, GATEWAY, ENCAP can not be set */ + + NHA_OIF, /* u32; nexthop device */ + NHA_GATEWAY, /* be32 (IPv4) or in6_addr (IPv6) gw address */ + NHA_ENCAP_TYPE, /* u16; lwt encap type */ + NHA_ENCAP, /* lwt encap data */ + + /* NHA_OIF can be appended to dump request to return only + * nexthops using given device + */ + NHA_GROUPS, /* flag; only return nexthop groups in dump */ + NHA_MASTER, /* u32; only return nexthops with given master dev */ + + NHA_FDB, /* flag; nexthop belongs to a bridge fdb */ + /* if NHA_FDB is added, OIF, BLACKHOLE, ENCAP cannot be set */ + + /* nested; resilient nexthop group attributes */ + NHA_RES_GROUP, + /* nested; nexthop bucket attributes */ + NHA_RES_BUCKET, + + __NHA_MAX, +}; + +#define NHA_MAX (__NHA_MAX - 1) + +enum { + NHA_RES_GROUP_UNSPEC, + /* Pad attribute for 64-bit alignment. */ + NHA_RES_GROUP_PAD = NHA_RES_GROUP_UNSPEC, + + /* u16; number of nexthop buckets in a resilient nexthop group */ + NHA_RES_GROUP_BUCKETS, + /* clock_t as u32; nexthop bucket idle timer (per-group) */ + NHA_RES_GROUP_IDLE_TIMER, + /* clock_t as u32; nexthop unbalanced timer */ + NHA_RES_GROUP_UNBALANCED_TIMER, + /* clock_t as u64; nexthop unbalanced time */ + NHA_RES_GROUP_UNBALANCED_TIME, + + __NHA_RES_GROUP_MAX, +}; + +#define NHA_RES_GROUP_MAX (__NHA_RES_GROUP_MAX - 1) + +enum { + NHA_RES_BUCKET_UNSPEC, + /* Pad attribute for 64-bit alignment. */ + NHA_RES_BUCKET_PAD = NHA_RES_BUCKET_UNSPEC, + + /* u16; nexthop bucket index */ + NHA_RES_BUCKET_INDEX, + /* clock_t as u64; nexthop bucket idle time */ + NHA_RES_BUCKET_IDLE_TIME, + /* u32; nexthop id assigned to the nexthop bucket */ + NHA_RES_BUCKET_NH_ID, + + __NHA_RES_BUCKET_MAX, +}; + +#define NHA_RES_BUCKET_MAX (__NHA_RES_BUCKET_MAX - 1) + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/nfc.h
Added
@@ -0,0 +1,317 @@ +/* + * Copyright (C) 2011 Instituto Nokia de Tecnologia + * + * Authors: + * Lauro Ramos Venancio <lauro.venancio@openbossa.org> + * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef __LINUX_NFC_H +#define __LINUX_NFC_H + +#include <linux/types.h> +#include <linux/socket.h> + +#define NFC_GENL_NAME "nfc" +#define NFC_GENL_VERSION 1 + +#define NFC_GENL_MCAST_EVENT_NAME "events" + +/** + * enum nfc_commands - supported nfc commands + * + * @NFC_CMD_UNSPEC: unspecified command + * + * @NFC_CMD_GET_DEVICE: request information about a device (requires + * %NFC_ATTR_DEVICE_INDEX) or dump request to get a list of all nfc devices + * @NFC_CMD_DEV_UP: turn on the nfc device + * (requires %NFC_ATTR_DEVICE_INDEX) + * @NFC_CMD_DEV_DOWN: turn off the nfc device + * (requires %NFC_ATTR_DEVICE_INDEX) + * @NFC_CMD_START_POLL: start polling for targets using the given protocols + * (requires %NFC_ATTR_DEVICE_INDEX and %NFC_ATTR_PROTOCOLS) + * @NFC_CMD_STOP_POLL: stop polling for targets (requires + * %NFC_ATTR_DEVICE_INDEX) + * @NFC_CMD_GET_TARGET: dump all targets found by the previous poll (requires + * %NFC_ATTR_DEVICE_INDEX) + * @NFC_EVENT_TARGETS_FOUND: event emitted when a new target is found + * (it sends %NFC_ATTR_DEVICE_INDEX) + * @NFC_EVENT_DEVICE_ADDED: event emitted when a new device is registred + * (it sends %NFC_ATTR_DEVICE_NAME, %NFC_ATTR_DEVICE_INDEX and + * %NFC_ATTR_PROTOCOLS) + * @NFC_EVENT_DEVICE_REMOVED: event emitted when a device is removed + * (it sends %NFC_ATTR_DEVICE_INDEX) + * @NFC_EVENT_TM_ACTIVATED: event emitted when the adapter is activated in + * target mode. + * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated + * from target mode. + * @NFC_CMD_LLC_GET_PARAMS: request LTO, RW, and MIUX parameters for a device + * @NFC_CMD_LLC_SET_PARAMS: set one or more of LTO, RW, and MIUX parameters for + * a device. LTO must be set before the link is up otherwise -EINPROGRESS + * is returned. RW and MIUX can be set at anytime and will be passed in + * subsequent CONNECT and CC messages. + * If one of the passed parameters is wrong none is set and -EINVAL is + * returned. + * @NFC_CMD_ENABLE_SE: Enable the physical link to a specific secure element. + * Once enabled a secure element will handle card emulation mode, i.e. + * starting a poll from a device which has a secure element enabled means + * we want to do SE based card emulation. + * @NFC_CMD_DISABLE_SE: Disable the physical link to a specific secure element. + * @NFC_CMD_FW_DOWNLOAD: Request to Load/flash firmware, or event to inform + * that some firmware was loaded + * @NFC_EVENT_SE_ADDED: Event emitted when a new secure element is discovered. + * This typically will be sent whenever a new NFC controller with either + * an embedded SE or an UICC one connected to it through SWP. + * @NFC_EVENT_SE_REMOVED: Event emitted when a secure element is removed from + * the system, as a consequence of e.g. an NFC controller being unplugged. + * @NFC_EVENT_SE_CONNECTIVITY: This event is emitted whenever a secure element + * is requesting connectivity access. For example a UICC SE may need to + * talk with a sleeping modem and will notify this need by sending this + * event. It is then up to userspace to decide if it will wake the modem + * up or not. + * @NFC_EVENT_SE_TRANSACTION: This event is sent when an application running on + * a specific SE notifies us about the end of a transaction. The parameter + * for this event is the application ID (AID). + * @NFC_CMD_GET_SE: Dump all discovered secure elements from an NFC controller. + * @NFC_CMD_SE_IO: Send/Receive APDUs to/from the selected secure element. + * @NFC_CMD_ACTIVATE_TARGET: Request NFC controller to reactivate target. + * @NFC_CMD_VENDOR: Vendor specific command, to be implemented directly + * from the driver in order to support hardware specific operations. + * @NFC_CMD_DEACTIVATE_TARGET: Request NFC controller to deactivate target. + */ +enum nfc_commands { + NFC_CMD_UNSPEC, + NFC_CMD_GET_DEVICE, + NFC_CMD_DEV_UP, + NFC_CMD_DEV_DOWN, + NFC_CMD_DEP_LINK_UP, + NFC_CMD_DEP_LINK_DOWN, + NFC_CMD_START_POLL, + NFC_CMD_STOP_POLL, + NFC_CMD_GET_TARGET, + NFC_EVENT_TARGETS_FOUND, + NFC_EVENT_DEVICE_ADDED, + NFC_EVENT_DEVICE_REMOVED, + NFC_EVENT_TARGET_LOST, + NFC_EVENT_TM_ACTIVATED, + NFC_EVENT_TM_DEACTIVATED, + NFC_CMD_LLC_GET_PARAMS, + NFC_CMD_LLC_SET_PARAMS, + NFC_CMD_ENABLE_SE, + NFC_CMD_DISABLE_SE, + NFC_CMD_LLC_SDREQ, + NFC_EVENT_LLC_SDRES, + NFC_CMD_FW_DOWNLOAD, + NFC_EVENT_SE_ADDED, + NFC_EVENT_SE_REMOVED, + NFC_EVENT_SE_CONNECTIVITY, + NFC_EVENT_SE_TRANSACTION, + NFC_CMD_GET_SE, + NFC_CMD_SE_IO, + NFC_CMD_ACTIVATE_TARGET, + NFC_CMD_VENDOR, + NFC_CMD_DEACTIVATE_TARGET, +/* private: internal use only */ + __NFC_CMD_AFTER_LAST +}; +#define NFC_CMD_MAX (__NFC_CMD_AFTER_LAST - 1) + +/** + * enum nfc_attrs - supported nfc attributes + * + * @NFC_ATTR_UNSPEC: unspecified attribute + * + * @NFC_ATTR_DEVICE_INDEX: index of nfc device + * @NFC_ATTR_DEVICE_NAME: device name, max 8 chars + * @NFC_ATTR_PROTOCOLS: nfc protocols - bitwise or-ed combination from + * NFC_PROTO_*_MASK constants + * @NFC_ATTR_TARGET_INDEX: index of the nfc target + * @NFC_ATTR_TARGET_SENS_RES: NFC-A targets extra information such as NFCID + * @NFC_ATTR_TARGET_SEL_RES: NFC-A targets extra information (useful if the + * target is not NFC-Forum compliant) + * @NFC_ATTR_TARGET_NFCID1: NFC-A targets identifier, max 10 bytes + * @NFC_ATTR_TARGET_SENSB_RES: NFC-B targets extra information, max 12 bytes + * @NFC_ATTR_TARGET_SENSF_RES: NFC-F targets extra information, max 18 bytes + * @NFC_ATTR_COMM_MODE: Passive or active mode + * @NFC_ATTR_RF_MODE: Initiator or target + * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for + * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for + * @NFC_ATTR_LLC_PARAM_LTO: Link TimeOut parameter + * @NFC_ATTR_LLC_PARAM_RW: Receive Window size parameter + * @NFC_ATTR_LLC_PARAM_MIUX: MIU eXtension parameter + * @NFC_ATTR_SE: Available Secure Elements + * @NFC_ATTR_FIRMWARE_NAME: Free format firmware version + * @NFC_ATTR_SE_INDEX: Secure element index + * @NFC_ATTR_SE_TYPE: Secure element type (UICC or EMBEDDED) + * @NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS: Firmware download operation status + * @NFC_ATTR_APDU: Secure element APDU + * @NFC_ATTR_TARGET_ISO15693_DSFID: ISO 15693 Data Storage Format Identifier + * @NFC_ATTR_TARGET_ISO15693_UID: ISO 15693 Unique Identifier + * @NFC_ATTR_SE_PARAMS: Parameters data from an evt_transaction + * @NFC_ATTR_VENDOR_ID: NFC manufacturer unique ID, typically an OUI + * @NFC_ATTR_VENDOR_SUBCMD: Vendor specific sub command + * @NFC_ATTR_VENDOR_DATA: Vendor specific data, to be optionally passed + * to a vendor specific command implementation + */ +enum nfc_attrs { + NFC_ATTR_UNSPEC, + NFC_ATTR_DEVICE_INDEX, + NFC_ATTR_DEVICE_NAME, + NFC_ATTR_PROTOCOLS, + NFC_ATTR_TARGET_INDEX, + NFC_ATTR_TARGET_SENS_RES, + NFC_ATTR_TARGET_SEL_RES, + NFC_ATTR_TARGET_NFCID1, + NFC_ATTR_TARGET_SENSB_RES, + NFC_ATTR_TARGET_SENSF_RES, + NFC_ATTR_COMM_MODE, + NFC_ATTR_RF_MODE, + NFC_ATTR_DEVICE_POWERED, + NFC_ATTR_IM_PROTOCOLS, + NFC_ATTR_TM_PROTOCOLS, + NFC_ATTR_LLC_PARAM_LTO, + NFC_ATTR_LLC_PARAM_RW, + NFC_ATTR_LLC_PARAM_MIUX, + NFC_ATTR_SE, + NFC_ATTR_LLC_SDP, + NFC_ATTR_FIRMWARE_NAME, + NFC_ATTR_SE_INDEX, + NFC_ATTR_SE_TYPE, + NFC_ATTR_SE_AID, + NFC_ATTR_FIRMWARE_DOWNLOAD_STATUS, + NFC_ATTR_SE_APDU, + NFC_ATTR_TARGET_ISO15693_DSFID, + NFC_ATTR_TARGET_ISO15693_UID, + NFC_ATTR_SE_PARAMS, + NFC_ATTR_VENDOR_ID, + NFC_ATTR_VENDOR_SUBCMD, + NFC_ATTR_VENDOR_DATA, +/* private: internal use only */ + __NFC_ATTR_AFTER_LAST +}; +#define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1) + +enum nfc_sdp_attr { + NFC_SDP_ATTR_UNSPEC, + NFC_SDP_ATTR_URI, + NFC_SDP_ATTR_SAP, +/* private: internal use only */ + __NFC_SDP_ATTR_AFTER_LAST +}; +#define NFC_SDP_ATTR_MAX (__NFC_SDP_ATTR_AFTER_LAST - 1) + +#define NFC_DEVICE_NAME_MAXSIZE 8 +#define NFC_NFCID1_MAXSIZE 10 +#define NFC_NFCID2_MAXSIZE 8 +#define NFC_NFCID3_MAXSIZE 10 +#define NFC_SENSB_RES_MAXSIZE 12 +#define NFC_SENSF_RES_MAXSIZE 18 +#define NFC_ATR_REQ_MAXSIZE 64 +#define NFC_ATR_RES_MAXSIZE 64 +#define NFC_ATR_REQ_GB_MAXSIZE 48 +#define NFC_ATR_RES_GB_MAXSIZE 47 +#define NFC_GB_MAXSIZE 48 +#define NFC_FIRMWARE_NAME_MAXSIZE 32 +#define NFC_ISO15693_UID_MAXSIZE 8 + +/* NFC protocols */ +#define NFC_PROTO_JEWEL 1 +#define NFC_PROTO_MIFARE 2 +#define NFC_PROTO_FELICA 3 +#define NFC_PROTO_ISO14443 4 +#define NFC_PROTO_NFC_DEP 5 +#define NFC_PROTO_ISO14443_B 6 +#define NFC_PROTO_ISO15693 7 + +#define NFC_PROTO_MAX 8 + +/* NFC communication modes */ +#define NFC_COMM_ACTIVE 0 +#define NFC_COMM_PASSIVE 1 + +/* NFC RF modes */ +#define NFC_RF_INITIATOR 0 +#define NFC_RF_TARGET 1 +#define NFC_RF_NONE 2 + +/* NFC protocols masks used in bitsets */ +#define NFC_PROTO_JEWEL_MASK (1 << NFC_PROTO_JEWEL) +#define NFC_PROTO_MIFARE_MASK (1 << NFC_PROTO_MIFARE) +#define NFC_PROTO_FELICA_MASK (1 << NFC_PROTO_FELICA) +#define NFC_PROTO_ISO14443_MASK (1 << NFC_PROTO_ISO14443) +#define NFC_PROTO_NFC_DEP_MASK (1 << NFC_PROTO_NFC_DEP) +#define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B) +#define NFC_PROTO_ISO15693_MASK (1 << NFC_PROTO_ISO15693) + +/* NFC Secure Elements */ +#define NFC_SE_UICC 0x1 +#define NFC_SE_EMBEDDED 0x2 + +#define NFC_SE_DISABLED 0x0 +#define NFC_SE_ENABLED 0x1 + +struct sockaddr_nfc { + __kernel_sa_family_t sa_family; + __u32 dev_idx; + __u32 target_idx; + __u32 nfc_protocol; +}; + +#define NFC_LLCP_MAX_SERVICE_NAME 63 +struct sockaddr_nfc_llcp { + __kernel_sa_family_t sa_family; + __u32 dev_idx; + __u32 target_idx; + __u32 nfc_protocol; + __u8 dsap; /* Destination SAP, if known */ + __u8 ssap; /* Source SAP to be bound to */ + char service_nameNFC_LLCP_MAX_SERVICE_NAME; /* Service name URI */; + __kernel_size_t service_name_len; +}; + +/* NFC socket protocols */ +#define NFC_SOCKPROTO_RAW 0 +#define NFC_SOCKPROTO_LLCP 1 +#define NFC_SOCKPROTO_MAX 2 + +#define NFC_HEADER_SIZE 1 + +/** + * Pseudo-header info for raw socket packets + * First byte is the adapter index + * Second byte contains flags + * - 0x01 - Direction (0=RX, 1=TX) + * - 0x02-0x04 - Payload type (000=LLCP, 001=NCI, 010=HCI, 011=Digital, + * 100=Proprietary) + * - 0x05-0x80 - Reserved + **/ +#define NFC_RAW_HEADER_SIZE 2 +#define NFC_DIRECTION_RX 0x00 +#define NFC_DIRECTION_TX 0x01 + +#define RAW_PAYLOAD_LLCP 0 +#define RAW_PAYLOAD_NCI 1 +#define RAW_PAYLOAD_HCI 2 +#define RAW_PAYLOAD_DIGITAL 3 +#define RAW_PAYLOAD_PROPRIETARY 4 + +/* socket option names */ +#define NFC_LLCP_RW 0 +#define NFC_LLCP_MIUX 1 +#define NFC_LLCP_REMOTE_MIU 2 +#define NFC_LLCP_REMOTE_LTO 3 +#define NFC_LLCP_REMOTE_RW 4 + +#endif /*__LINUX_NFC_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/perf_event.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/perf_event.h
Changed
@@ -164,8 +164,6 @@ PERF_SAMPLE_WEIGHT_STRUCT = 1U << 24, PERF_SAMPLE_MAX = 1U << 25, /* non-ABI */ - - __PERF_SAMPLE_CALLCHAIN_EARLY = 1ULL << 63, /* non-ABI; internal use */ }; #define PERF_SAMPLE_WEIGHT_TYPE (PERF_SAMPLE_WEIGHT | PERF_SAMPLE_WEIGHT_STRUCT) @@ -204,6 +202,8 @@ PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT = 17, /* save low level index of raw branch records */ + PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT = 18, /* save privilege mode */ + PERF_SAMPLE_BRANCH_MAX_SHIFT /* non-ABI */ }; @@ -233,6 +233,8 @@ PERF_SAMPLE_BRANCH_HW_INDEX = 1U << PERF_SAMPLE_BRANCH_HW_INDEX_SHIFT, + PERF_SAMPLE_BRANCH_PRIV_SAVE = 1U << PERF_SAMPLE_BRANCH_PRIV_SAVE_SHIFT, + PERF_SAMPLE_BRANCH_MAX = 1U << PERF_SAMPLE_BRANCH_MAX_SHIFT, }; @@ -251,9 +253,50 @@ PERF_BR_SYSRET = 8, /* syscall return */ PERF_BR_COND_CALL = 9, /* conditional function call */ PERF_BR_COND_RET = 10, /* conditional function return */ + PERF_BR_ERET = 11, /* exception return */ + PERF_BR_IRQ = 12, /* irq */ + PERF_BR_SERROR = 13, /* system error */ + PERF_BR_NO_TX = 14, /* not in transaction */ + PERF_BR_EXTEND_ABI = 15, /* extend ABI */ PERF_BR_MAX, }; +/* + * Common branch speculation outcome classification + */ +enum { + PERF_BR_SPEC_NA = 0, /* Not available */ + PERF_BR_SPEC_WRONG_PATH = 1, /* Speculative but on wrong path */ + PERF_BR_NON_SPEC_CORRECT_PATH = 2, /* Non-speculative but on correct path */ + PERF_BR_SPEC_CORRECT_PATH = 3, /* Speculative and on correct path */ + PERF_BR_SPEC_MAX, +}; + +enum { + PERF_BR_NEW_FAULT_ALGN = 0, /* Alignment fault */ + PERF_BR_NEW_FAULT_DATA = 1, /* Data fault */ + PERF_BR_NEW_FAULT_INST = 2, /* Inst fault */ + PERF_BR_NEW_ARCH_1 = 3, /* Architecture specific */ + PERF_BR_NEW_ARCH_2 = 4, /* Architecture specific */ + PERF_BR_NEW_ARCH_3 = 5, /* Architecture specific */ + PERF_BR_NEW_ARCH_4 = 6, /* Architecture specific */ + PERF_BR_NEW_ARCH_5 = 7, /* Architecture specific */ + PERF_BR_NEW_MAX, +}; + +enum { + PERF_BR_PRIV_UNKNOWN = 0, + PERF_BR_PRIV_USER = 1, + PERF_BR_PRIV_KERNEL = 2, + PERF_BR_PRIV_HV = 3, +}; + +#define PERF_BR_ARM64_FIQ PERF_BR_NEW_ARCH_1 +#define PERF_BR_ARM64_DEBUG_HALT PERF_BR_NEW_ARCH_2 +#define PERF_BR_ARM64_DEBUG_EXIT PERF_BR_NEW_ARCH_3 +#define PERF_BR_ARM64_DEBUG_INST PERF_BR_NEW_ARCH_4 +#define PERF_BR_ARM64_DEBUG_DATA PERF_BR_NEW_ARCH_5 + #define PERF_SAMPLE_BRANCH_PLM_ALL \ (PERF_SAMPLE_BRANCH_USER|\ PERF_SAMPLE_BRANCH_KERNEL|\ @@ -299,6 +342,7 @@ * { u64 time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING * { u64 id; } && PERF_FORMAT_ID + * { u64 lost; } && PERF_FORMAT_LOST * } && !PERF_FORMAT_GROUP * * { u64 nr; @@ -306,6 +350,7 @@ * { u64 time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING * { u64 value; * { u64 id; } && PERF_FORMAT_ID + * { u64 lost; } && PERF_FORMAT_LOST * } cntrnr; * } && PERF_FORMAT_GROUP * }; @@ -315,8 +360,9 @@ PERF_FORMAT_TOTAL_TIME_RUNNING = 1U << 1, PERF_FORMAT_ID = 1U << 2, PERF_FORMAT_GROUP = 1U << 3, + PERF_FORMAT_LOST = 1U << 4, - PERF_FORMAT_MAX = 1U << 4, /* non-ABI */ + PERF_FORMAT_MAX = 1U << 5, /* non-ABI */ }; #define PERF_ATTR_SIZE_VER0 64 /* sizeof first published struct */ @@ -487,7 +533,7 @@ /* * User provided buffer to store program ids */ - __u32 ids0; + __u32 ids; }; /* @@ -1141,6 +1187,21 @@ */ PERF_RECORD_TEXT_POKE = 20, + /* + * Data written to the AUX area by hardware due to aux_output, may need + * to be matched to the event by an architecture-specific hardware ID. + * This records the hardware ID, but requires sample_id to provide the + * event ID. e.g. Intel PT uses this record to disambiguate PEBS-via-PT + * records from multiple events. + * + * struct { + * struct perf_event_header header; + * u64 hw_id; + * struct sample_id sample_id; + * }; + */ + PERF_RECORD_AUX_OUTPUT_HW_ID = 21, + PERF_RECORD_MAX, /* non-ABI */ }; @@ -1210,14 +1271,16 @@ mem_remote:1, /* remote */ mem_snoopx:2, /* snoop mode, ext */ mem_blk:3, /* access blocked */ - mem_rsvd:21; + mem_hops:3, /* hop level */ + mem_rsvd:18; }; }; #elif defined(__BIG_ENDIAN_BITFIELD) union perf_mem_data_src { __u64 val; struct { - __u64 mem_rsvd:21, + __u64 mem_rsvd:18, + mem_hops:3, /* hop level */ mem_blk:3, /* access blocked */ mem_snoopx:2, /* snoop mode, ext */ mem_remote:1, /* remote */ @@ -1241,7 +1304,13 @@ #define PERF_MEM_OP_EXEC 0x10 /* code (execution) */ #define PERF_MEM_OP_SHIFT 0 -/* memory hierarchy (memory level, hit or miss) */ +/* + * PERF_MEM_LVL_* namespace being depricated to some extent in the + * favour of newer composite PERF_MEM_{LVLNUM_,REMOTE_,SNOOPX_} fields. + * Supporting this namespace inorder to not break defined ABIs. + * + * memory hierarchy (memory level, hit or miss) + */ #define PERF_MEM_LVL_NA 0x01 /* not available */ #define PERF_MEM_LVL_HIT 0x02 /* hit level */ #define PERF_MEM_LVL_MISS 0x04 /* miss level */ @@ -1265,7 +1334,9 @@ #define PERF_MEM_LVLNUM_L2 0x02 /* L2 */ #define PERF_MEM_LVLNUM_L3 0x03 /* L3 */ #define PERF_MEM_LVLNUM_L4 0x04 /* L4 */ -/* 5-0xa available */ +/* 5-0x8 available */ +#define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */ +#define PERF_MEM_LVLNUM_IO 0x0a /* I/O */ #define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */ #define PERF_MEM_LVLNUM_LFB 0x0c /* LFB */ #define PERF_MEM_LVLNUM_RAM 0x0d /* RAM */ @@ -1283,7 +1354,7 @@ #define PERF_MEM_SNOOP_SHIFT 19 #define PERF_MEM_SNOOPX_FWD 0x01 /* forward */ -/* 1 free */ +#define PERF_MEM_SNOOPX_PEER 0x02 /* xfer from peer */ #define PERF_MEM_SNOOPX_SHIFT 38 /* locked instruction */ @@ -1307,6 +1378,14 @@ #define PERF_MEM_BLK_ADDR 0x04 /* address conflict */ #define PERF_MEM_BLK_SHIFT 40 +/* hop level */ +#define PERF_MEM_HOPS_0 0x01 /* remote core, same node */ +#define PERF_MEM_HOPS_1 0x02 /* remote node, same socket */ +#define PERF_MEM_HOPS_2 0x03 /* remote socket, same board */ +#define PERF_MEM_HOPS_3 0x04 /* remote board */ +/* 5-7 available */ +#define PERF_MEM_HOPS_SHIFT 43 + #define PERF_MEM_S(a, s) \ (((__u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT) @@ -1325,6 +1404,7 @@ * abort: aborting a hardware transaction * cycles: cycles from last branch (or 0 if not supported) * type: branch type + * spec: branch speculation info (or 0 if not supported) */ struct perf_branch_entry { __u64 from; @@ -1335,7 +1415,10 @@ abort:1, /* transaction abort */ cycles:16, /* cycle count to last branch */ type:4, /* branch type */ - reserved:40; + spec:2, /* branch speculation info */ + new_type:4, /* additional branch type */ + priv:3, /* privilege level */ + reserved:31; }; union perf_sample_weight {
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/pkt_sched.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/pkt_sched.h
Changed
@@ -827,6 +827,8 @@ /* FQ_CODEL */ +#define FQ_CODEL_QUANTUM_MAX (1 << 20) + enum { TCA_FQ_CODEL_UNSPEC, TCA_FQ_CODEL_TARGET, @@ -838,6 +840,8 @@ TCA_FQ_CODEL_CE_THRESHOLD, TCA_FQ_CODEL_DROP_BATCH_SIZE, TCA_FQ_CODEL_MEMORY_LIMIT, + TCA_FQ_CODEL_CE_THRESHOLD_SELECTOR, + TCA_FQ_CODEL_CE_THRESHOLD_MASK, __TCA_FQ_CODEL_MAX }; @@ -1229,6 +1233,16 @@ #define TCA_TAPRIO_ATTR_FLAG_FULL_OFFLOAD _BITUL(1) enum { + TCA_TAPRIO_TC_ENTRY_UNSPEC, + TCA_TAPRIO_TC_ENTRY_INDEX, /* u32 */ + TCA_TAPRIO_TC_ENTRY_MAX_SDU, /* u32 */ + + /* add new constants above here */ + __TCA_TAPRIO_TC_ENTRY_CNT, + TCA_TAPRIO_TC_ENTRY_MAX = (__TCA_TAPRIO_TC_ENTRY_CNT - 1) +}; + +enum { TCA_TAPRIO_ATTR_UNSPEC, TCA_TAPRIO_ATTR_PRIOMAP, /* struct tc_mqprio_qopt */ TCA_TAPRIO_ATTR_SCHED_ENTRY_LIST, /* nested of entry */ @@ -1241,6 +1255,7 @@ TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME_EXTENSION, /* s64 */ TCA_TAPRIO_ATTR_FLAGS, /* u32 */ TCA_TAPRIO_ATTR_TXTIME_DELAY, /* u32 */ + TCA_TAPRIO_ATTR_TC_ENTRY, /* nest */ __TCA_TAPRIO_ATTR_MAX, };
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/prctl.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/prctl.h
Changed
@@ -213,6 +213,7 @@ /* Speculation control variants */ # define PR_SPEC_STORE_BYPASS 0 # define PR_SPEC_INDIRECT_BRANCH 1 +# define PR_SPEC_L1D_FLUSH 2 /* Return and control values for PR_SET/GET_SPECULATION_CTRL */ # define PR_SPEC_NOT_AFFECTED 0 # define PR_SPEC_PRCTL (1UL << 0) @@ -234,14 +235,15 @@ #define PR_GET_TAGGED_ADDR_CTRL 56 # define PR_TAGGED_ADDR_ENABLE (1UL << 0) /* MTE tag check fault modes */ -# define PR_MTE_TCF_SHIFT 1 -# define PR_MTE_TCF_NONE (0UL << PR_MTE_TCF_SHIFT) -# define PR_MTE_TCF_SYNC (1UL << PR_MTE_TCF_SHIFT) -# define PR_MTE_TCF_ASYNC (2UL << PR_MTE_TCF_SHIFT) -# define PR_MTE_TCF_MASK (3UL << PR_MTE_TCF_SHIFT) +# define PR_MTE_TCF_NONE 0UL +# define PR_MTE_TCF_SYNC (1UL << 1) +# define PR_MTE_TCF_ASYNC (1UL << 2) +# define PR_MTE_TCF_MASK (PR_MTE_TCF_SYNC | PR_MTE_TCF_ASYNC) /* MTE tag inclusion mask */ # define PR_MTE_TAG_SHIFT 3 # define PR_MTE_TAG_MASK (0xffffUL << PR_MTE_TAG_SHIFT) +/* Unused; kept only for source compatibility */ +# define PR_MTE_TCF_SHIFT 1 /* Control reclaim behavior when allocating memory */ #define PR_SET_IO_FLUSHER 57 @@ -266,5 +268,20 @@ # define PR_SCHED_CORE_SHARE_TO 2 /* push core_sched cookie to pid */ # define PR_SCHED_CORE_SHARE_FROM 3 /* pull core_sched cookie to pid */ # define PR_SCHED_CORE_MAX 4 +# define PR_SCHED_CORE_SCOPE_THREAD 0 +# define PR_SCHED_CORE_SCOPE_THREAD_GROUP 1 +# define PR_SCHED_CORE_SCOPE_PROCESS_GROUP 2 + +/* arm64 Scalable Matrix Extension controls */ +/* Flag values must be in sync with SVE versions */ +#define PR_SME_SET_VL 63 /* set task vector length */ +# define PR_SME_SET_VL_ONEXEC (1 << 18) /* defer effect until exec */ +#define PR_SME_GET_VL 64 /* get task vector length */ +/* Bits common to PR_SME_SET_VL and PR_SME_GET_VL */ +# define PR_SME_VL_LEN_MASK 0xffff +# define PR_SME_VL_INHERIT (1 << 17) /* inherit across exec */ + +#define PR_SET_VMA 0x53564d41 +# define PR_SET_VMA_ANON_NAME 0 #endif /* _LINUX_PRCTL_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/qrtr.h
Added
@@ -0,0 +1,49 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _LINUX_QRTR_H +#define _LINUX_QRTR_H + +#include <linux/socket.h> +#include <linux/types.h> + +#define QRTR_NODE_BCAST 0xffffffffu +#define QRTR_PORT_CTRL 0xfffffffeu + +struct sockaddr_qrtr { + __kernel_sa_family_t sq_family; + __u32 sq_node; + __u32 sq_port; +}; + +enum qrtr_pkt_type { + QRTR_TYPE_DATA = 1, + QRTR_TYPE_HELLO = 2, + QRTR_TYPE_BYE = 3, + QRTR_TYPE_NEW_SERVER = 4, + QRTR_TYPE_DEL_SERVER = 5, + QRTR_TYPE_DEL_CLIENT = 6, + QRTR_TYPE_RESUME_TX = 7, + QRTR_TYPE_EXIT = 8, + QRTR_TYPE_PING = 9, + QRTR_TYPE_NEW_LOOKUP = 10, + QRTR_TYPE_DEL_LOOKUP = 11, +}; + +struct qrtr_ctrl_pkt { + __le32 cmd; + + union { + struct { + __le32 service; + __le32 instance; + __le32 node; + __le32 port; + } server; + + struct { + __le32 node; + __le32 port; + } client; + }; +} __attribute__((packed)); + +#endif /* _LINUX_QRTR_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/rtnetlink.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/rtnetlink.h
Changed
@@ -146,6 +146,8 @@ #define RTM_NEWSTATS RTM_NEWSTATS RTM_GETSTATS = 94, #define RTM_GETSTATS RTM_GETSTATS + RTM_SETSTATS, +#define RTM_SETSTATS RTM_SETSTATS RTM_NEWCACHEREPORT = 96, #define RTM_NEWCACHEREPORT RTM_NEWCACHEREPORT @@ -185,6 +187,13 @@ RTM_GETNEXTHOPBUCKET, #define RTM_GETNEXTHOPBUCKET RTM_GETNEXTHOPBUCKET + RTM_NEWTUNNEL = 120, +#define RTM_NEWTUNNEL RTM_NEWTUNNEL + RTM_DELTUNNEL, +#define RTM_DELTUNNEL RTM_DELTUNNEL + RTM_GETTUNNEL, +#define RTM_GETTUNNEL RTM_GETTUNNEL + __RTM_MAX, #define RTM_MAX (((__RTM_MAX + 3) & ~3) - 1) }; @@ -431,7 +440,7 @@ /* RTA_VIA */ struct rtvia { __kernel_sa_family_t rtvia_family; - __u8 rtvia_addr0; + __u8 rtvia_addr; }; /* RTM_CACHEINFO */ @@ -752,6 +761,12 @@ #define RTNLGRP_NEXTHOP RTNLGRP_NEXTHOP RTNLGRP_BRVLAN, #define RTNLGRP_BRVLAN RTNLGRP_BRVLAN + RTNLGRP_MCTP_IFADDR, +#define RTNLGRP_MCTP_IFADDR RTNLGRP_MCTP_IFADDR + RTNLGRP_TUNNEL, +#define RTNLGRP_TUNNEL RTNLGRP_TUNNEL + RTNLGRP_STATS, +#define RTNLGRP_STATS RTNLGRP_STATS __RTNLGRP_MAX }; #define RTNLGRP_MAX (__RTNLGRP_MAX - 1) @@ -800,6 +815,7 @@ #define RTEXT_FILTER_MRP (1 << 4) #define RTEXT_FILTER_CFM_CONFIG (1 << 5) #define RTEXT_FILTER_CFM_STATUS (1 << 6) +#define RTEXT_FILTER_MST (1 << 7) /* End of information exported to user level */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/seccomp.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/seccomp.h
Changed
@@ -23,6 +23,8 @@ #define SECCOMP_FILTER_FLAG_SPEC_ALLOW (1UL << 2) #define SECCOMP_FILTER_FLAG_NEW_LISTENER (1UL << 3) #define SECCOMP_FILTER_FLAG_TSYNC_ESRCH (1UL << 4) +/* Received notifications wait in killable state (only respond to fatal signals) */ +#define SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV (1UL << 5) /* * All BPF programs must return a 32-bit value.
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/socket.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/socket.h
Changed
@@ -26,4 +26,13 @@ }; }; +#define SOCK_SNDBUF_LOCK 1 +#define SOCK_RCVBUF_LOCK 2 + +#define SOCK_BUF_LOCK_MASK (SOCK_SNDBUF_LOCK | SOCK_RCVBUF_LOCK) + +#define SOCK_TXREHASH_DEFAULT 255 +#define SOCK_TXREHASH_DISABLED 0 +#define SOCK_TXREHASH_ENABLED 1 + #endif /* _LINUX_SOCKET_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/stat.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/stat.h
Changed
@@ -124,7 +124,8 @@ __u32 stx_dev_minor; /* 0x90 */ __u64 stx_mnt_id; - __u64 __spare2; + __u32 stx_dio_mem_align; /* Memory buffer alignment for direct I/O */ + __u32 stx_dio_offset_align; /* File offset alignment for direct I/O */ /* 0xa0 */ __u64 __spare312; /* Spare space for future expansion */ /* 0x100 */ @@ -152,6 +153,7 @@ #define STATX_BASIC_STATS 0x000007ffU /* The stuff in the normal stat struct */ #define STATX_BTIME 0x00000800U /* Want/got stx_btime */ #define STATX_MNT_ID 0x00001000U /* Got stx_mnt_id */ +#define STATX_DIOALIGN 0x00002000U /* Want/got direct I/O alignment info */ #define STATX__RESERVED 0x80000000U /* Reserved for future struct statx expansion */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/tcp.h
Added
@@ -0,0 +1,362 @@ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * INET An implementation of the TCP/IP protocol suite for the LINUX + * operating system. INET is implemented using the BSD Socket + * interface as the means of communication with the user level. + * + * Definitions for the TCP protocol. + * + * Version: @(#)tcp.h 1.0.2 04/28/93 + * + * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef _LINUX_TCP_H +#define _LINUX_TCP_H + +#include <linux/types.h> +#include <asm/byteorder.h> +#include <linux/socket.h> + +struct tcphdr { + __be16 source; + __be16 dest; + __be32 seq; + __be32 ack_seq; +#if defined(__LITTLE_ENDIAN_BITFIELD) + __u16 res1:4, + doff:4, + fin:1, + syn:1, + rst:1, + psh:1, + ack:1, + urg:1, + ece:1, + cwr:1; +#elif defined(__BIG_ENDIAN_BITFIELD) + __u16 doff:4, + res1:4, + cwr:1, + ece:1, + urg:1, + ack:1, + psh:1, + rst:1, + syn:1, + fin:1; +#else +#error "Adjust your <asm/byteorder.h> defines" +#endif + __be16 window; + __sum16 check; + __be16 urg_ptr; +}; + +/* + * The union cast uses a gcc extension to avoid aliasing problems + * (union is compatible to any of its members) + * This means this part of the code is -fstrict-aliasing safe now. + */ +union tcp_word_hdr { + struct tcphdr hdr; + __be32 words5; +}; + +#define tcp_flag_word(tp) (((union tcp_word_hdr *)(tp))->words3) + +enum { + TCP_FLAG_CWR = __constant_cpu_to_be32(0x00800000), + TCP_FLAG_ECE = __constant_cpu_to_be32(0x00400000), + TCP_FLAG_URG = __constant_cpu_to_be32(0x00200000), + TCP_FLAG_ACK = __constant_cpu_to_be32(0x00100000), + TCP_FLAG_PSH = __constant_cpu_to_be32(0x00080000), + TCP_FLAG_RST = __constant_cpu_to_be32(0x00040000), + TCP_FLAG_SYN = __constant_cpu_to_be32(0x00020000), + TCP_FLAG_FIN = __constant_cpu_to_be32(0x00010000), + TCP_RESERVED_BITS = __constant_cpu_to_be32(0x0F000000), + TCP_DATA_OFFSET = __constant_cpu_to_be32(0xF0000000) +}; + +/* + * TCP general constants + */ +#define TCP_MSS_DEFAULT 536U /* IPv4 (RFC1122, RFC2581) */ +#define TCP_MSS_DESIRED 1220U /* IPv6 (tunneled), EDNS0 (RFC3226) */ + +/* TCP socket options */ +#define TCP_NODELAY 1 /* Turn off Nagle's algorithm. */ +#define TCP_MAXSEG 2 /* Limit MSS */ +#define TCP_CORK 3 /* Never send partially complete segments */ +#define TCP_KEEPIDLE 4 /* Start keeplives after this period */ +#define TCP_KEEPINTVL 5 /* Interval between keepalives */ +#define TCP_KEEPCNT 6 /* Number of keepalives before death */ +#define TCP_SYNCNT 7 /* Number of SYN retransmits */ +#define TCP_LINGER2 8 /* Life time of orphaned FIN-WAIT-2 state */ +#define TCP_DEFER_ACCEPT 9 /* Wake up listener only when data arrive */ +#define TCP_WINDOW_CLAMP 10 /* Bound advertised window */ +#define TCP_INFO 11 /* Information about this connection. */ +#define TCP_QUICKACK 12 /* Block/reenable quick acks */ +#define TCP_CONGESTION 13 /* Congestion control algorithm */ +#define TCP_MD5SIG 14 /* TCP MD5 Signature (RFC2385) */ +#define TCP_THIN_LINEAR_TIMEOUTS 16 /* Use linear timeouts for thin streams*/ +#define TCP_THIN_DUPACK 17 /* Fast retrans. after 1 dupack */ +#define TCP_USER_TIMEOUT 18 /* How long for loss retry before timeout */ +#define TCP_REPAIR 19 /* TCP sock is under repair right now */ +#define TCP_REPAIR_QUEUE 20 +#define TCP_QUEUE_SEQ 21 +#define TCP_REPAIR_OPTIONS 22 +#define TCP_FASTOPEN 23 /* Enable FastOpen on listeners */ +#define TCP_TIMESTAMP 24 +#define TCP_NOTSENT_LOWAT 25 /* limit number of unsent bytes in write queue */ +#define TCP_CC_INFO 26 /* Get Congestion Control (optional) info */ +#define TCP_SAVE_SYN 27 /* Record SYN headers for new connections */ +#define TCP_SAVED_SYN 28 /* Get SYN headers recorded for connection */ +#define TCP_REPAIR_WINDOW 29 /* Get/set window parameters */ +#define TCP_FASTOPEN_CONNECT 30 /* Attempt FastOpen with connect */ +#define TCP_ULP 31 /* Attach a ULP to a TCP connection */ +#define TCP_MD5SIG_EXT 32 /* TCP MD5 Signature with extensions */ +#define TCP_FASTOPEN_KEY 33 /* Set the key for Fast Open (cookie) */ +#define TCP_FASTOPEN_NO_COOKIE 34 /* Enable TFO without a TFO cookie */ +#define TCP_ZEROCOPY_RECEIVE 35 +#define TCP_INQ 36 /* Notify bytes available to read as a cmsg on read */ + +#define TCP_CM_INQ TCP_INQ + +#define TCP_TX_DELAY 37 /* delay outgoing packets by XX usec */ + + +#define TCP_REPAIR_ON 1 +#define TCP_REPAIR_OFF 0 +#define TCP_REPAIR_OFF_NO_WP -1 /* Turn off without window probes */ + +struct tcp_repair_opt { + __u32 opt_code; + __u32 opt_val; +}; + +struct tcp_repair_window { + __u32 snd_wl1; + __u32 snd_wnd; + __u32 max_window; + + __u32 rcv_wnd; + __u32 rcv_wup; +}; + +enum { + TCP_NO_QUEUE, + TCP_RECV_QUEUE, + TCP_SEND_QUEUE, + TCP_QUEUES_NR, +}; + +/* why fastopen failed from client perspective */ +enum tcp_fastopen_client_fail { + TFO_STATUS_UNSPEC, /* catch-all */ + TFO_COOKIE_UNAVAILABLE, /* if not in TFO_CLIENT_NO_COOKIE mode */ + TFO_DATA_NOT_ACKED, /* SYN-ACK did not ack SYN data */ + TFO_SYN_RETRANSMITTED, /* SYN-ACK did not ack SYN data after timeout */ +}; + +/* for TCP_INFO socket option */ +#define TCPI_OPT_TIMESTAMPS 1 +#define TCPI_OPT_SACK 2 +#define TCPI_OPT_WSCALE 4 +#define TCPI_OPT_ECN 8 /* ECN was negociated at TCP session init */ +#define TCPI_OPT_ECN_SEEN 16 /* we received at least one packet with ECT */ +#define TCPI_OPT_SYN_DATA 32 /* SYN-ACK acked data in SYN sent or rcvd */ + +/* + * Sender's congestion state indicating normal or abnormal situations + * in the last round of packets sent. The state is driven by the ACK + * information and timer events. + */ +enum tcp_ca_state { + /* + * Nothing bad has been observed recently. + * No apparent reordering, packet loss, or ECN marks. + */ + TCP_CA_Open = 0, +#define TCPF_CA_Open (1<<TCP_CA_Open) + /* + * The sender enters disordered state when it has received DUPACKs or + * SACKs in the last round of packets sent. This could be due to packet + * loss or reordering but needs further information to confirm packets + * have been lost. + */ + TCP_CA_Disorder = 1, +#define TCPF_CA_Disorder (1<<TCP_CA_Disorder) + /* + * The sender enters Congestion Window Reduction (CWR) state when it + * has received ACKs with ECN-ECE marks, or has experienced congestion + * or packet discard on the sender host (e.g. qdisc). + */ + TCP_CA_CWR = 2, +#define TCPF_CA_CWR (1<<TCP_CA_CWR) + /* + * The sender is in fast recovery and retransmitting lost packets, + * typically triggered by ACK events. + */ + TCP_CA_Recovery = 3, +#define TCPF_CA_Recovery (1<<TCP_CA_Recovery) + /* + * The sender is in loss recovery triggered by retransmission timeout. + */ + TCP_CA_Loss = 4 +#define TCPF_CA_Loss (1<<TCP_CA_Loss) +}; + +struct tcp_info { + __u8 tcpi_state; + __u8 tcpi_ca_state; + __u8 tcpi_retransmits; + __u8 tcpi_probes; + __u8 tcpi_backoff; + __u8 tcpi_options; + __u8 tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; + __u8 tcpi_delivery_rate_app_limited:1, tcpi_fastopen_client_fail:2; + + __u32 tcpi_rto; + __u32 tcpi_ato; + __u32 tcpi_snd_mss; + __u32 tcpi_rcv_mss; + + __u32 tcpi_unacked; + __u32 tcpi_sacked; + __u32 tcpi_lost; + __u32 tcpi_retrans; + __u32 tcpi_fackets; + + /* Times. */ + __u32 tcpi_last_data_sent; + __u32 tcpi_last_ack_sent; /* Not remembered, sorry. */ + __u32 tcpi_last_data_recv; + __u32 tcpi_last_ack_recv; + + /* Metrics. */ + __u32 tcpi_pmtu; + __u32 tcpi_rcv_ssthresh; + __u32 tcpi_rtt; + __u32 tcpi_rttvar; + __u32 tcpi_snd_ssthresh; + __u32 tcpi_snd_cwnd; + __u32 tcpi_advmss; + __u32 tcpi_reordering; + + __u32 tcpi_rcv_rtt; + __u32 tcpi_rcv_space; + + __u32 tcpi_total_retrans; + + __u64 tcpi_pacing_rate; + __u64 tcpi_max_pacing_rate; + __u64 tcpi_bytes_acked; /* RFC4898 tcpEStatsAppHCThruOctetsAcked */ + __u64 tcpi_bytes_received; /* RFC4898 tcpEStatsAppHCThruOctetsReceived */ + __u32 tcpi_segs_out; /* RFC4898 tcpEStatsPerfSegsOut */ + __u32 tcpi_segs_in; /* RFC4898 tcpEStatsPerfSegsIn */ + + __u32 tcpi_notsent_bytes; + __u32 tcpi_min_rtt; + __u32 tcpi_data_segs_in; /* RFC4898 tcpEStatsDataSegsIn */ + __u32 tcpi_data_segs_out; /* RFC4898 tcpEStatsDataSegsOut */ + + __u64 tcpi_delivery_rate; + + __u64 tcpi_busy_time; /* Time (usec) busy sending data */ + __u64 tcpi_rwnd_limited; /* Time (usec) limited by receive window */ + __u64 tcpi_sndbuf_limited; /* Time (usec) limited by send buffer */ + + __u32 tcpi_delivered; + __u32 tcpi_delivered_ce; + + __u64 tcpi_bytes_sent; /* RFC4898 tcpEStatsPerfHCDataOctetsOut */ + __u64 tcpi_bytes_retrans; /* RFC4898 tcpEStatsPerfOctetsRetrans */ + __u32 tcpi_dsack_dups; /* RFC4898 tcpEStatsStackDSACKDups */ + __u32 tcpi_reord_seen; /* reordering events seen */ + + __u32 tcpi_rcv_ooopack; /* Out-of-order packets received */ + + __u32 tcpi_snd_wnd; /* peer's advertised receive window after + * scaling (bytes) + */ +}; + +/* netlink attributes types for SCM_TIMESTAMPING_OPT_STATS */ +enum { + TCP_NLA_PAD, + TCP_NLA_BUSY, /* Time (usec) busy sending data */ + TCP_NLA_RWND_LIMITED, /* Time (usec) limited by receive window */ + TCP_NLA_SNDBUF_LIMITED, /* Time (usec) limited by send buffer */ + TCP_NLA_DATA_SEGS_OUT, /* Data pkts sent including retransmission */ + TCP_NLA_TOTAL_RETRANS, /* Data pkts retransmitted */ + TCP_NLA_PACING_RATE, /* Pacing rate in bytes per second */ + TCP_NLA_DELIVERY_RATE, /* Delivery rate in bytes per second */ + TCP_NLA_SND_CWND, /* Sending congestion window */ + TCP_NLA_REORDERING, /* Reordering metric */ + TCP_NLA_MIN_RTT, /* minimum RTT */ + TCP_NLA_RECUR_RETRANS, /* Recurring retransmits for the current pkt */ + TCP_NLA_DELIVERY_RATE_APP_LMT, /* delivery rate application limited ? */ + TCP_NLA_SNDQ_SIZE, /* Data (bytes) pending in send queue */ + TCP_NLA_CA_STATE, /* ca_state of socket */ + TCP_NLA_SND_SSTHRESH, /* Slow start size threshold */ + TCP_NLA_DELIVERED, /* Data pkts delivered incl. out-of-order */ + TCP_NLA_DELIVERED_CE, /* Like above but only ones w/ CE marks */ + TCP_NLA_BYTES_SENT, /* Data bytes sent including retransmission */ + TCP_NLA_BYTES_RETRANS, /* Data bytes retransmitted */ + TCP_NLA_DSACK_DUPS, /* DSACK blocks received */ + TCP_NLA_REORD_SEEN, /* reordering events seen */ + TCP_NLA_SRTT, /* smoothed RTT in usecs */ + TCP_NLA_TIMEOUT_REHASH, /* Timeout-triggered rehash attempts */ + TCP_NLA_BYTES_NOTSENT, /* Bytes in write queue not yet sent */ + TCP_NLA_EDT, /* Earliest departure time (CLOCK_MONOTONIC) */ + TCP_NLA_TTL, /* TTL or hop limit of a packet received */ +}; + +/* for TCP_MD5SIG socket option */ +#define TCP_MD5SIG_MAXKEYLEN 80 + +/* tcp_md5sig extension flags for TCP_MD5SIG_EXT */ +#define TCP_MD5SIG_FLAG_PREFIX 0x1 /* address prefix length */ +#define TCP_MD5SIG_FLAG_IFINDEX 0x2 /* ifindex set */ + +struct tcp_md5sig { + struct __kernel_sockaddr_storage tcpm_addr; /* address associated */ + __u8 tcpm_flags; /* extension flags */ + __u8 tcpm_prefixlen; /* address prefix */ + __u16 tcpm_keylen; /* key length */ + int tcpm_ifindex; /* device index for scope */ + __u8 tcpm_keyTCP_MD5SIG_MAXKEYLEN; /* key (binary) */ +}; + +/* INET_DIAG_MD5SIG */ +struct tcp_diag_md5sig { + __u8 tcpm_family; + __u8 tcpm_prefixlen; + __u16 tcpm_keylen; + __be32 tcpm_addr4; + __u8 tcpm_keyTCP_MD5SIG_MAXKEYLEN; +}; + +/* setsockopt(fd, IPPROTO_TCP, TCP_ZEROCOPY_RECEIVE, ...) */ + +#define TCP_RECEIVE_ZEROCOPY_FLAG_TLB_CLEAN_HINT 0x1 +struct tcp_zerocopy_receive { + __u64 address; /* in: address of mapping */ + __u32 length; /* in/out: number of bytes to map/mapped */ + __u32 recv_skip_hint; /* out: amount of bytes to skip */ + __u32 inq; /* out: amount of bytes in read queue */ + __s32 err; /* out: socket error */ + __u64 copybuf_address; /* in: copybuf address (small reads) */ + __s32 copybuf_len; /* in/out: copybuf bytes avail/used or error */ + __u32 flags; /* in: flags */ + __u64 msg_control; /* ancillary data */ + __u64 msg_controllen; + __u32 msg_flags; + __u32 reserved; /* set to 0 for now */ +}; +#endif /* _LINUX_TCP_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/tee.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/tee.h
Changed
@@ -42,10 +42,6 @@ #define TEE_IOC_MAGIC 0xa4 #define TEE_IOC_BASE 0 -/* Flags relating to shared memory */ -#define TEE_IOCTL_SHM_MAPPED 0x1 /* memory mapped in normal world */ -#define TEE_IOCTL_SHM_DMA_BUF 0x2 /* dma-buf handle on shared memory */ - #define TEE_MAX_ARG_SIZE 1024 #define TEE_GEN_CAP_GP (1 << 0)/* GlobalPlatform compliant TEE */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/tls.h
Added
@@ -0,0 +1,206 @@ +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR Linux-OpenIB) */ +/* + * Copyright (c) 2016-2017, Mellanox Technologies. All rights reserved. + * + * This software is available to you under a choice of one of two + * licenses. You may choose to be licensed under the terms of the GNU + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +#ifndef _LINUX_TLS_H +#define _LINUX_TLS_H + +#include <linux/types.h> + +/* TLS socket options */ +#define TLS_TX 1 /* Set transmit parameters */ +#define TLS_RX 2 /* Set receive parameters */ +#define TLS_TX_ZEROCOPY_RO 3 /* TX zerocopy (only sendfile now) */ +#define TLS_RX_EXPECT_NO_PAD 4 /* Attempt opportunistic zero-copy */ + +/* Supported versions */ +#define TLS_VERSION_MINOR(ver) ((ver) & 0xFF) +#define TLS_VERSION_MAJOR(ver) (((ver) >> 8) & 0xFF) + +#define TLS_VERSION_NUMBER(id) ((((id##_VERSION_MAJOR) & 0xFF) << 8) | \ + ((id##_VERSION_MINOR) & 0xFF)) + +#define TLS_1_2_VERSION_MAJOR 0x3 +#define TLS_1_2_VERSION_MINOR 0x3 +#define TLS_1_2_VERSION TLS_VERSION_NUMBER(TLS_1_2) + +#define TLS_1_3_VERSION_MAJOR 0x3 +#define TLS_1_3_VERSION_MINOR 0x4 +#define TLS_1_3_VERSION TLS_VERSION_NUMBER(TLS_1_3) + +/* Supported ciphers */ +#define TLS_CIPHER_AES_GCM_128 51 +#define TLS_CIPHER_AES_GCM_128_IV_SIZE 8 +#define TLS_CIPHER_AES_GCM_128_KEY_SIZE 16 +#define TLS_CIPHER_AES_GCM_128_SALT_SIZE 4 +#define TLS_CIPHER_AES_GCM_128_TAG_SIZE 16 +#define TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_AES_GCM_256 52 +#define TLS_CIPHER_AES_GCM_256_IV_SIZE 8 +#define TLS_CIPHER_AES_GCM_256_KEY_SIZE 32 +#define TLS_CIPHER_AES_GCM_256_SALT_SIZE 4 +#define TLS_CIPHER_AES_GCM_256_TAG_SIZE 16 +#define TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_AES_CCM_128 53 +#define TLS_CIPHER_AES_CCM_128_IV_SIZE 8 +#define TLS_CIPHER_AES_CCM_128_KEY_SIZE 16 +#define TLS_CIPHER_AES_CCM_128_SALT_SIZE 4 +#define TLS_CIPHER_AES_CCM_128_TAG_SIZE 16 +#define TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_CHACHA20_POLY1305 54 +#define TLS_CIPHER_CHACHA20_POLY1305_IV_SIZE 12 +#define TLS_CIPHER_CHACHA20_POLY1305_KEY_SIZE 32 +#define TLS_CIPHER_CHACHA20_POLY1305_SALT_SIZE 0 +#define TLS_CIPHER_CHACHA20_POLY1305_TAG_SIZE 16 +#define TLS_CIPHER_CHACHA20_POLY1305_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_SM4_GCM 55 +#define TLS_CIPHER_SM4_GCM_IV_SIZE 8 +#define TLS_CIPHER_SM4_GCM_KEY_SIZE 16 +#define TLS_CIPHER_SM4_GCM_SALT_SIZE 4 +#define TLS_CIPHER_SM4_GCM_TAG_SIZE 16 +#define TLS_CIPHER_SM4_GCM_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_SM4_CCM 56 +#define TLS_CIPHER_SM4_CCM_IV_SIZE 8 +#define TLS_CIPHER_SM4_CCM_KEY_SIZE 16 +#define TLS_CIPHER_SM4_CCM_SALT_SIZE 4 +#define TLS_CIPHER_SM4_CCM_TAG_SIZE 16 +#define TLS_CIPHER_SM4_CCM_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_ARIA_GCM_128 57 +#define TLS_CIPHER_ARIA_GCM_128_IV_SIZE 8 +#define TLS_CIPHER_ARIA_GCM_128_KEY_SIZE 16 +#define TLS_CIPHER_ARIA_GCM_128_SALT_SIZE 4 +#define TLS_CIPHER_ARIA_GCM_128_TAG_SIZE 16 +#define TLS_CIPHER_ARIA_GCM_128_REC_SEQ_SIZE 8 + +#define TLS_CIPHER_ARIA_GCM_256 58 +#define TLS_CIPHER_ARIA_GCM_256_IV_SIZE 8 +#define TLS_CIPHER_ARIA_GCM_256_KEY_SIZE 32 +#define TLS_CIPHER_ARIA_GCM_256_SALT_SIZE 4 +#define TLS_CIPHER_ARIA_GCM_256_TAG_SIZE 16 +#define TLS_CIPHER_ARIA_GCM_256_REC_SEQ_SIZE 8 + +#define TLS_SET_RECORD_TYPE 1 +#define TLS_GET_RECORD_TYPE 2 + +struct tls_crypto_info { + __u16 version; + __u16 cipher_type; +}; + +struct tls12_crypto_info_aes_gcm_128 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_AES_GCM_128_IV_SIZE; + unsigned char keyTLS_CIPHER_AES_GCM_128_KEY_SIZE; + unsigned char saltTLS_CIPHER_AES_GCM_128_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_aes_gcm_256 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_AES_GCM_256_IV_SIZE; + unsigned char keyTLS_CIPHER_AES_GCM_256_KEY_SIZE; + unsigned char saltTLS_CIPHER_AES_GCM_256_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_aes_ccm_128 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_AES_CCM_128_IV_SIZE; + unsigned char keyTLS_CIPHER_AES_CCM_128_KEY_SIZE; + unsigned char saltTLS_CIPHER_AES_CCM_128_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_chacha20_poly1305 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_CHACHA20_POLY1305_IV_SIZE; + unsigned char keyTLS_CIPHER_CHACHA20_POLY1305_KEY_SIZE; + unsigned char saltTLS_CIPHER_CHACHA20_POLY1305_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_CHACHA20_POLY1305_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_sm4_gcm { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_SM4_GCM_IV_SIZE; + unsigned char keyTLS_CIPHER_SM4_GCM_KEY_SIZE; + unsigned char saltTLS_CIPHER_SM4_GCM_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_SM4_GCM_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_sm4_ccm { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_SM4_CCM_IV_SIZE; + unsigned char keyTLS_CIPHER_SM4_CCM_KEY_SIZE; + unsigned char saltTLS_CIPHER_SM4_CCM_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_SM4_CCM_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_aria_gcm_128 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_ARIA_GCM_128_IV_SIZE; + unsigned char keyTLS_CIPHER_ARIA_GCM_128_KEY_SIZE; + unsigned char saltTLS_CIPHER_ARIA_GCM_128_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_ARIA_GCM_128_REC_SEQ_SIZE; +}; + +struct tls12_crypto_info_aria_gcm_256 { + struct tls_crypto_info info; + unsigned char ivTLS_CIPHER_ARIA_GCM_256_IV_SIZE; + unsigned char keyTLS_CIPHER_ARIA_GCM_256_KEY_SIZE; + unsigned char saltTLS_CIPHER_ARIA_GCM_256_SALT_SIZE; + unsigned char rec_seqTLS_CIPHER_ARIA_GCM_256_REC_SEQ_SIZE; +}; + +enum { + TLS_INFO_UNSPEC, + TLS_INFO_VERSION, + TLS_INFO_CIPHER, + TLS_INFO_TXCONF, + TLS_INFO_RXCONF, + TLS_INFO_ZC_RO_TX, + TLS_INFO_RX_NO_PAD, + __TLS_INFO_MAX, +}; +#define TLS_INFO_MAX (__TLS_INFO_MAX - 1) + +#define TLS_CONF_BASE 1 +#define TLS_CONF_SW 2 +#define TLS_CONF_HW 3 +#define TLS_CONF_HW_RECORD 4 + +#endif /* _LINUX_TLS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/types.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/types.h
Changed
@@ -14,12 +14,15 @@ * any application/library that wants linux/types.h. */ +/* sparse defines __CHECKER__; see Documentation/dev-tools/sparse.rst */ #ifdef __CHECKER__ -#define __bitwise__ __attribute__((bitwise)) +#define __bitwise __attribute__((bitwise)) #else -#define __bitwise__ +#define __bitwise #endif -#define __bitwise __bitwise__ + +/* The kernel doesn't use this legacy form, but user space does */ +#define __bitwise__ __bitwise typedef __u16 __bitwise __le16; typedef __u16 __bitwise __be16;
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/userfaultfd.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/userfaultfd.h
Changed
@@ -12,6 +12,10 @@ #include <linux/types.h> +/* ioctls for /dev/userfaultfd */ +#define USERFAULTFD_IOC 0xAA +#define USERFAULTFD_IOC_NEW _IO(USERFAULTFD_IOC, 0x00) + /* * If the UFFDIO_API is upgraded someday, the UFFDIO_UNREGISTER and * UFFDIO_WAKE ioctls should be defined as _IOW and not as _IOR. In @@ -32,7 +36,9 @@ UFFD_FEATURE_SIGBUS | \ UFFD_FEATURE_THREAD_ID | \ UFFD_FEATURE_MINOR_HUGETLBFS | \ - UFFD_FEATURE_MINOR_SHMEM) + UFFD_FEATURE_MINOR_SHMEM | \ + UFFD_FEATURE_EXACT_ADDRESS | \ + UFFD_FEATURE_WP_HUGETLBFS_SHMEM) #define UFFD_API_IOCTLS \ ((__u64)1 << _UFFDIO_REGISTER | \ (__u64)1 << _UFFDIO_UNREGISTER | \ @@ -46,7 +52,8 @@ #define UFFD_API_RANGE_IOCTLS_BASIC \ ((__u64)1 << _UFFDIO_WAKE | \ (__u64)1 << _UFFDIO_COPY | \ - (__u64)1 << _UFFDIO_CONTINUE) + (__u64)1 << _UFFDIO_CONTINUE | \ + (__u64)1 << _UFFDIO_WRITEPROTECT) /* * Valid ioctl command number range with this API is from 0x00 to @@ -189,6 +196,13 @@ * * UFFD_FEATURE_MINOR_SHMEM indicates the same support as * UFFD_FEATURE_MINOR_HUGETLBFS, but for shmem-backed pages instead. + * + * UFFD_FEATURE_EXACT_ADDRESS indicates that the exact address of page + * faults would be provided and the offset within the page would not be + * masked. + * + * UFFD_FEATURE_WP_HUGETLBFS_SHMEM indicates that userfaultfd + * write-protection mode is supported on both shmem and hugetlbfs. */ #define UFFD_FEATURE_PAGEFAULT_FLAG_WP (1<<0) #define UFFD_FEATURE_EVENT_FORK (1<<1) @@ -201,6 +215,8 @@ #define UFFD_FEATURE_THREAD_ID (1<<8) #define UFFD_FEATURE_MINOR_HUGETLBFS (1<<9) #define UFFD_FEATURE_MINOR_SHMEM (1<<10) +#define UFFD_FEATURE_EXACT_ADDRESS (1<<11) +#define UFFD_FEATURE_WP_HUGETLBFS_SHMEM (1<<12) __u64 features; __u64 ioctls;
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/v4l2-controls.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/v4l2-controls.h
Changed
@@ -128,6 +128,7 @@ V4L2_COLORFX_SOLARIZATION = 13, V4L2_COLORFX_ANTIQUE = 14, V4L2_COLORFX_SET_CBCR = 15, + V4L2_COLORFX_SET_RGB = 16, }; #define V4L2_CID_AUTOBRIGHTNESS (V4L2_CID_BASE+32) #define V4L2_CID_BAND_STOP_FILTER (V4L2_CID_BASE+33) @@ -145,9 +146,10 @@ #define V4L2_CID_ALPHA_COMPONENT (V4L2_CID_BASE+41) #define V4L2_CID_COLORFX_CBCR (V4L2_CID_BASE+42) +#define V4L2_CID_COLORFX_RGB (V4L2_CID_BASE+43) /* last CID + 1 */ -#define V4L2_CID_LASTP1 (V4L2_CID_BASE+43) +#define V4L2_CID_LASTP1 (V4L2_CID_BASE+44) /* USER-class private control IDs */ @@ -211,6 +213,23 @@ * We reserve 128 controls for this driver. */ #define V4L2_CID_USER_CCS_BASE (V4L2_CID_USER_BASE + 0x10f0) +/* + * The base for Allegro driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_ALLEGRO_BASE (V4L2_CID_USER_BASE + 0x1170) + +/* + * The base for the isl7998x driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_ISL7998X_BASE (V4L2_CID_USER_BASE + 0x1180) + +/* + * The base for DW100 driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_DW100_BASE (V4L2_CID_USER_BASE + 0x1190) /* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls @@ -433,6 +452,12 @@ #define V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX (V4L2_CID_CODEC_BASE+233) #define V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES (V4L2_CID_CODEC_BASE+234) #define V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR (V4L2_CID_CODEC_BASE+235) +#define V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD (V4L2_CID_CODEC_BASE+236) +#define V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE (V4L2_CID_CODEC_BASE+237) +enum v4l2_mpeg_video_intra_refresh_period_type { + V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_RANDOM = 0, + V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_CYCLIC = 1, +}; /* CIDs for the MPEG-2 Part 2 (H.262) codec */ #define V4L2_CID_MPEG_VIDEO_MPEG2_LEVEL (V4L2_CID_CODEC_BASE+270) @@ -1115,6 +1140,7 @@ #define V4L2_CID_TEST_PATTERN_BLUE (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 6) #define V4L2_CID_TEST_PATTERN_GREENB (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 7) #define V4L2_CID_UNIT_CELL_SIZE (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 8) +#define V4L2_CID_NOTIFY_GAINS (V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 9) /* Image processing controls */ @@ -1552,6 +1578,8 @@ #define V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC 0x01 #define V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC 0x02 #define V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD 0x04 +#define V4L2_H264_DECODE_PARAM_FLAG_PFRAME 0x08 +#define V4L2_H264_DECODE_PARAM_FLAG_BFRAME 0x10 #define V4L2_CID_STATELESS_H264_DECODE_PARAMS (V4L2_CID_CODEC_STATELESS_BASE + 7) /** @@ -1706,7 +1734,7 @@ * @sharpness_level: matches sharpness_level syntax element. * @level: matches loop_filter_level syntax element. * @padding: padding field. Should be zeroed by applications. - * @flags: see V4L2_VP8_LF_FLAG_{}. + * @flags: see V4L2_VP8_LF_{}. * * This structure contains loop filter related parameters. * See the 'mb_lf_adjustments()' part of the frame header syntax, @@ -1973,6 +2001,465 @@ __u8 chroma_non_intra_quantiser_matrix64; }; +#define V4L2_CID_STATELESS_HEVC_SPS (V4L2_CID_CODEC_STATELESS_BASE + 400) +#define V4L2_CID_STATELESS_HEVC_PPS (V4L2_CID_CODEC_STATELESS_BASE + 401) +#define V4L2_CID_STATELESS_HEVC_SLICE_PARAMS (V4L2_CID_CODEC_STATELESS_BASE + 402) +#define V4L2_CID_STATELESS_HEVC_SCALING_MATRIX (V4L2_CID_CODEC_STATELESS_BASE + 403) +#define V4L2_CID_STATELESS_HEVC_DECODE_PARAMS (V4L2_CID_CODEC_STATELESS_BASE + 404) +#define V4L2_CID_STATELESS_HEVC_DECODE_MODE (V4L2_CID_CODEC_STATELESS_BASE + 405) +#define V4L2_CID_STATELESS_HEVC_START_CODE (V4L2_CID_CODEC_STATELESS_BASE + 406) +#define V4L2_CID_STATELESS_HEVC_ENTRY_POINT_OFFSETS (V4L2_CID_CODEC_STATELESS_BASE + 407) + +enum v4l2_stateless_hevc_decode_mode { + V4L2_STATELESS_HEVC_DECODE_MODE_SLICE_BASED, + V4L2_STATELESS_HEVC_DECODE_MODE_FRAME_BASED, +}; + +enum v4l2_stateless_hevc_start_code { + V4L2_STATELESS_HEVC_START_CODE_NONE, + V4L2_STATELESS_HEVC_START_CODE_ANNEX_B, +}; + +#define V4L2_HEVC_SLICE_TYPE_B 0 +#define V4L2_HEVC_SLICE_TYPE_P 1 +#define V4L2_HEVC_SLICE_TYPE_I 2 + +#define V4L2_HEVC_SPS_FLAG_SEPARATE_COLOUR_PLANE (1ULL << 0) +#define V4L2_HEVC_SPS_FLAG_SCALING_LIST_ENABLED (1ULL << 1) +#define V4L2_HEVC_SPS_FLAG_AMP_ENABLED (1ULL << 2) +#define V4L2_HEVC_SPS_FLAG_SAMPLE_ADAPTIVE_OFFSET (1ULL << 3) +#define V4L2_HEVC_SPS_FLAG_PCM_ENABLED (1ULL << 4) +#define V4L2_HEVC_SPS_FLAG_PCM_LOOP_FILTER_DISABLED (1ULL << 5) +#define V4L2_HEVC_SPS_FLAG_LONG_TERM_REF_PICS_PRESENT (1ULL << 6) +#define V4L2_HEVC_SPS_FLAG_SPS_TEMPORAL_MVP_ENABLED (1ULL << 7) +#define V4L2_HEVC_SPS_FLAG_STRONG_INTRA_SMOOTHING_ENABLED (1ULL << 8) + +/** + * struct v4l2_ctrl_hevc_sps - ITU-T Rec. H.265: Sequence parameter set + * + * @video_parameter_set_id: specifies the value of the + * vps_video_parameter_set_id of the active VPS + * @seq_parameter_set_id: provides an identifier for the SPS for + * reference by other syntax elements + * @pic_width_in_luma_samples: specifies the width of each decoded picture + * in units of luma samples + * @pic_height_in_luma_samples: specifies the height of each decoded picture + * in units of luma samples + * @bit_depth_luma_minus8: this value plus 8specifies the bit depth of the + * samples of the luma array + * @bit_depth_chroma_minus8: this value plus 8 specifies the bit depth of the + * samples of the chroma arrays + * @log2_max_pic_order_cnt_lsb_minus4: this value plus 4 specifies the value of + * the variable MaxPicOrderCntLsb + * @sps_max_dec_pic_buffering_minus1: this value plus 1 specifies the maximum + * required size of the decoded picture + * buffer for the codec video sequence + * @sps_max_num_reorder_pics: indicates the maximum allowed number of pictures + * @sps_max_latency_increase_plus1: not equal to 0 is used to compute the + * value of SpsMaxLatencyPictures array + * @log2_min_luma_coding_block_size_minus3: plus 3 specifies the minimum + * luma coding block size + * @log2_diff_max_min_luma_coding_block_size: specifies the difference between + * the maximum and minimum luma + * coding block size + * @log2_min_luma_transform_block_size_minus2: plus 2 specifies the minimum luma + * transform block size + * @log2_diff_max_min_luma_transform_block_size: specifies the difference between + * the maximum and minimum luma + * transform block size + * @max_transform_hierarchy_depth_inter: specifies the maximum hierarchy + * depth for transform units of + * coding units coded in inter + * prediction mode + * @max_transform_hierarchy_depth_intra: specifies the maximum hierarchy + * depth for transform units of + * coding units coded in intra + * prediction mode + * @pcm_sample_bit_depth_luma_minus1: this value plus 1 specifies the number of + * bits used to represent each of PCM sample + * values of the luma component + * @pcm_sample_bit_depth_chroma_minus1: this value plus 1 specifies the number + * of bits used to represent each of PCM + * sample values of the chroma components + * @log2_min_pcm_luma_coding_block_size_minus3: this value plus 3 specifies the + * minimum size of coding blocks + * @log2_diff_max_min_pcm_luma_coding_block_size: specifies the difference between + * the maximum and minimum size of + * coding blocks + * @num_short_term_ref_pic_sets: specifies the number of st_ref_pic_set() + * syntax structures included in the SPS + * @num_long_term_ref_pics_sps: specifies the number of candidate long-term + * reference pictures that are specified in the SPS + * @chroma_format_idc: specifies the chroma sampling + * @sps_max_sub_layers_minus1: this value plus 1 specifies the maximum number + * of temporal sub-layers + * @reserved: padding field. Should be zeroed by applications. + * @flags: see V4L2_HEVC_SPS_FLAG_{} + */ +struct v4l2_ctrl_hevc_sps { + __u8 video_parameter_set_id; + __u8 seq_parameter_set_id; + __u16 pic_width_in_luma_samples; + __u16 pic_height_in_luma_samples; + __u8 bit_depth_luma_minus8; + __u8 bit_depth_chroma_minus8; + __u8 log2_max_pic_order_cnt_lsb_minus4; + __u8 sps_max_dec_pic_buffering_minus1; + __u8 sps_max_num_reorder_pics; + __u8 sps_max_latency_increase_plus1; + __u8 log2_min_luma_coding_block_size_minus3; + __u8 log2_diff_max_min_luma_coding_block_size; + __u8 log2_min_luma_transform_block_size_minus2; + __u8 log2_diff_max_min_luma_transform_block_size; + __u8 max_transform_hierarchy_depth_inter; + __u8 max_transform_hierarchy_depth_intra; + __u8 pcm_sample_bit_depth_luma_minus1; + __u8 pcm_sample_bit_depth_chroma_minus1; + __u8 log2_min_pcm_luma_coding_block_size_minus3; + __u8 log2_diff_max_min_pcm_luma_coding_block_size; + __u8 num_short_term_ref_pic_sets; + __u8 num_long_term_ref_pics_sps; + __u8 chroma_format_idc; + __u8 sps_max_sub_layers_minus1; + + __u8 reserved6; + __u64 flags; +}; + +#define V4L2_HEVC_PPS_FLAG_DEPENDENT_SLICE_SEGMENT_ENABLED (1ULL << 0) +#define V4L2_HEVC_PPS_FLAG_OUTPUT_FLAG_PRESENT (1ULL << 1) +#define V4L2_HEVC_PPS_FLAG_SIGN_DATA_HIDING_ENABLED (1ULL << 2) +#define V4L2_HEVC_PPS_FLAG_CABAC_INIT_PRESENT (1ULL << 3) +#define V4L2_HEVC_PPS_FLAG_CONSTRAINED_INTRA_PRED (1ULL << 4) +#define V4L2_HEVC_PPS_FLAG_TRANSFORM_SKIP_ENABLED (1ULL << 5) +#define V4L2_HEVC_PPS_FLAG_CU_QP_DELTA_ENABLED (1ULL << 6) +#define V4L2_HEVC_PPS_FLAG_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT (1ULL << 7) +#define V4L2_HEVC_PPS_FLAG_WEIGHTED_PRED (1ULL << 8) +#define V4L2_HEVC_PPS_FLAG_WEIGHTED_BIPRED (1ULL << 9) +#define V4L2_HEVC_PPS_FLAG_TRANSQUANT_BYPASS_ENABLED (1ULL << 10) +#define V4L2_HEVC_PPS_FLAG_TILES_ENABLED (1ULL << 11) +#define V4L2_HEVC_PPS_FLAG_ENTROPY_CODING_SYNC_ENABLED (1ULL << 12) +#define V4L2_HEVC_PPS_FLAG_LOOP_FILTER_ACROSS_TILES_ENABLED (1ULL << 13) +#define V4L2_HEVC_PPS_FLAG_PPS_LOOP_FILTER_ACROSS_SLICES_ENABLED (1ULL << 14) +#define V4L2_HEVC_PPS_FLAG_DEBLOCKING_FILTER_OVERRIDE_ENABLED (1ULL << 15) +#define V4L2_HEVC_PPS_FLAG_PPS_DISABLE_DEBLOCKING_FILTER (1ULL << 16) +#define V4L2_HEVC_PPS_FLAG_LISTS_MODIFICATION_PRESENT (1ULL << 17) +#define V4L2_HEVC_PPS_FLAG_SLICE_SEGMENT_HEADER_EXTENSION_PRESENT (1ULL << 18) +#define V4L2_HEVC_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT (1ULL << 19) +#define V4L2_HEVC_PPS_FLAG_UNIFORM_SPACING (1ULL << 20) + +/** + * struct v4l2_ctrl_hevc_pps - ITU-T Rec. H.265: Picture parameter set + * + * @pic_parameter_set_id: identifies the PPS for reference by other + * syntax elements + * @num_extra_slice_header_bits: specifies the number of extra slice header + * bits that are present in the slice header RBSP + * for coded pictures referring to the PPS. + * @num_ref_idx_l0_default_active_minus1: this value plus 1 specifies the + * inferred value of num_ref_idx_l0_active_minus1 + * @num_ref_idx_l1_default_active_minus1: this value plus 1 specifies the + * inferred value of num_ref_idx_l1_active_minus1 + * @init_qp_minus26: this value plus 26 specifies the initial value of SliceQp Y for + * each slice referring to the PPS + * @diff_cu_qp_delta_depth: specifies the difference between the luma coding + * tree block size and the minimum luma coding block + * size of coding units that convey cu_qp_delta_abs + * and cu_qp_delta_sign_flag + * @pps_cb_qp_offset: specify the offsets to the luma quantization parameter Cb + * @pps_cr_qp_offset: specify the offsets to the luma quantization parameter Cr + * @num_tile_columns_minus1: this value plus 1 specifies the number of tile columns + * partitioning the picture + * @num_tile_rows_minus1: this value plus 1 specifies the number of tile rows partitioning + * the picture + * @column_width_minus1: this value plus 1 specifies the width of the each tile column in + * units of coding tree blocks + * @row_height_minus1: this value plus 1 specifies the height of the each tile row in + * units of coding tree blocks + * @pps_beta_offset_div2: specify the default deblocking parameter offsets for + * beta divided by 2 + * @pps_tc_offset_div2: specify the default deblocking parameter offsets for tC + * divided by 2 + * @log2_parallel_merge_level_minus2: this value plus 2 specifies the value of + * the variable Log2ParMrgLevel + * @reserved: padding field. Should be zeroed by applications. + * @flags: see V4L2_HEVC_PPS_FLAG_{} + */ +struct v4l2_ctrl_hevc_pps { + __u8 pic_parameter_set_id; + __u8 num_extra_slice_header_bits; + __u8 num_ref_idx_l0_default_active_minus1; + __u8 num_ref_idx_l1_default_active_minus1; + __s8 init_qp_minus26; + __u8 diff_cu_qp_delta_depth; + __s8 pps_cb_qp_offset; + __s8 pps_cr_qp_offset; + __u8 num_tile_columns_minus1; + __u8 num_tile_rows_minus1; + __u8 column_width_minus120; + __u8 row_height_minus122; + __s8 pps_beta_offset_div2; + __s8 pps_tc_offset_div2; + __u8 log2_parallel_merge_level_minus2; + __u8 reserved; + __u64 flags; +}; + +#define V4L2_HEVC_DPB_ENTRY_LONG_TERM_REFERENCE 0x01 + +#define V4L2_HEVC_SEI_PIC_STRUCT_FRAME 0 +#define V4L2_HEVC_SEI_PIC_STRUCT_TOP_FIELD 1 +#define V4L2_HEVC_SEI_PIC_STRUCT_BOTTOM_FIELD 2 +#define V4L2_HEVC_SEI_PIC_STRUCT_TOP_BOTTOM 3 +#define V4L2_HEVC_SEI_PIC_STRUCT_BOTTOM_TOP 4 +#define V4L2_HEVC_SEI_PIC_STRUCT_TOP_BOTTOM_TOP 5 +#define V4L2_HEVC_SEI_PIC_STRUCT_BOTTOM_TOP_BOTTOM 6 +#define V4L2_HEVC_SEI_PIC_STRUCT_FRAME_DOUBLING 7 +#define V4L2_HEVC_SEI_PIC_STRUCT_FRAME_TRIPLING 8 +#define V4L2_HEVC_SEI_PIC_STRUCT_TOP_PAIRED_PREVIOUS_BOTTOM 9 +#define V4L2_HEVC_SEI_PIC_STRUCT_BOTTOM_PAIRED_PREVIOUS_TOP 10 +#define V4L2_HEVC_SEI_PIC_STRUCT_TOP_PAIRED_NEXT_BOTTOM 11 +#define V4L2_HEVC_SEI_PIC_STRUCT_BOTTOM_PAIRED_NEXT_TOP 12 + +#define V4L2_HEVC_DPB_ENTRIES_NUM_MAX 16 + +/** + * struct v4l2_hevc_dpb_entry - HEVC decoded picture buffer entry + * + * @timestamp: timestamp of the V4L2 capture buffer to use as reference. + * @flags: long term flag for the reference frame + * @field_pic: whether the reference is a field picture or a frame. + * @reserved: padding field. Should be zeroed by applications. + * @pic_order_cnt_val: the picture order count of the current picture. + */ +struct v4l2_hevc_dpb_entry { + __u64 timestamp; + __u8 flags; + __u8 field_pic; + __u16 reserved; + __s32 pic_order_cnt_val; +}; + +/** + * struct v4l2_hevc_pred_weight_table - HEVC weighted prediction parameters + * + * @delta_luma_weight_l0: the difference of the weighting factor applied + * to the luma prediction value for list 0 + * @luma_offset_l0: the additive offset applied to the luma prediction value + * for list 0 + * @delta_chroma_weight_l0: the difference of the weighting factor applied + * to the chroma prediction values for list 0 + * @chroma_offset_l0: the difference of the additive offset applied to + * the chroma prediction values for list 0 + * @delta_luma_weight_l1: the difference of the weighting factor applied + * to the luma prediction value for list 1 + * @luma_offset_l1: the additive offset applied to the luma prediction value + * for list 1 + * @delta_chroma_weight_l1: the difference of the weighting factor applied + * to the chroma prediction values for list 1 + * @chroma_offset_l1: the difference of the additive offset applied to + * the chroma prediction values for list 1 + * @luma_log2_weight_denom: the base 2 logarithm of the denominator for + * all luma weighting factors + * @delta_chroma_log2_weight_denom: the difference of the base 2 logarithm + * of the denominator for all chroma + * weighting factors + */ +struct v4l2_hevc_pred_weight_table { + __s8 delta_luma_weight_l0V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __s8 luma_offset_l0V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __s8 delta_chroma_weight_l0V4L2_HEVC_DPB_ENTRIES_NUM_MAX2; + __s8 chroma_offset_l0V4L2_HEVC_DPB_ENTRIES_NUM_MAX2; + + __s8 delta_luma_weight_l1V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __s8 luma_offset_l1V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __s8 delta_chroma_weight_l1V4L2_HEVC_DPB_ENTRIES_NUM_MAX2; + __s8 chroma_offset_l1V4L2_HEVC_DPB_ENTRIES_NUM_MAX2; + + __u8 luma_log2_weight_denom; + __s8 delta_chroma_log2_weight_denom; +}; + +#define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_LUMA (1ULL << 0) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_CHROMA (1ULL << 1) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_TEMPORAL_MVP_ENABLED (1ULL << 2) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_MVD_L1_ZERO (1ULL << 3) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_CABAC_INIT (1ULL << 4) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_COLLOCATED_FROM_L0 (1ULL << 5) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_USE_INTEGER_MV (1ULL << 6) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_DEBLOCKING_FILTER_DISABLED (1ULL << 7) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_LOOP_FILTER_ACROSS_SLICES_ENABLED (1ULL << 8) +#define V4L2_HEVC_SLICE_PARAMS_FLAG_DEPENDENT_SLICE_SEGMENT (1ULL << 9) + +/** + * struct v4l2_ctrl_hevc_slice_params - HEVC slice parameters + * + * This control is a dynamically sized 1-dimensional array, + * V4L2_CTRL_FLAG_DYNAMIC_ARRAY flag must be set when using it. + * + * @bit_size: size (in bits) of the current slice data + * @data_byte_offset: offset (in bytes) to the video data in the current slice data + * @num_entry_point_offsets: specifies the number of entry point offset syntax + * elements in the slice header. + * @nal_unit_type: specifies the coding type of the slice (B, P or I) + * @nuh_temporal_id_plus1: minus 1 specifies a temporal identifier for the NAL unit + * @slice_type: see V4L2_HEVC_SLICE_TYPE_{} + * @colour_plane_id: specifies the colour plane associated with the current slice + * @slice_pic_order_cnt: specifies the picture order count + * @num_ref_idx_l0_active_minus1: this value plus 1 specifies the maximum + * reference index for reference picture list 0 + * that may be used to decode the slice + * @num_ref_idx_l1_active_minus1: this value plus 1 specifies the maximum + * reference index for reference picture list 1 + * that may be used to decode the slice + * @collocated_ref_idx: specifies the reference index of the collocated picture used + * for temporal motion vector prediction + * @five_minus_max_num_merge_cand: specifies the maximum number of merging + * motion vector prediction candidates supported in + * the slice subtracted from 5 + * @slice_qp_delta: specifies the initial value of QpY to be used for the coding + * blocks in the slice + * @slice_cb_qp_offset: specifies a difference to be added to the value of pps_cb_qp_offset + * @slice_cr_qp_offset: specifies a difference to be added to the value of pps_cr_qp_offset + * @slice_act_y_qp_offset: screen content extension parameters + * @slice_act_cb_qp_offset: screen content extension parameters + * @slice_act_cr_qp_offset: screen content extension parameters + * @slice_beta_offset_div2: specify the deblocking parameter offsets for beta divided by 2 + * @slice_tc_offset_div2: specify the deblocking parameter offsets for tC divided by 2 + * @pic_struct: indicates whether a picture should be displayed as a frame or as one or + * more fields + * @reserved0: padding field. Should be zeroed by applications. + * @slice_segment_addr: specifies the address of the first coding tree block in + * the slice segment + * @ref_idx_l0: the list of L0 reference elements as indices in the DPB + * @ref_idx_l1: the list of L1 reference elements as indices in the DPB + * @short_term_ref_pic_set_size: specifies the size of short-term reference + * pictures set included in the SPS + * @long_term_ref_pic_set_size: specifies the size of long-term reference + * pictures set include in the SPS + * @pred_weight_table: the prediction weight coefficients for inter-picture + * prediction + * @reserved1: padding field. Should be zeroed by applications. + * @flags: see V4L2_HEVC_SLICE_PARAMS_FLAG_{} + */ +struct v4l2_ctrl_hevc_slice_params { + __u32 bit_size; + __u32 data_byte_offset; + __u32 num_entry_point_offsets; + + /* ISO/IEC 23008-2, ITU-T Rec. H.265: NAL unit header */ + __u8 nal_unit_type; + __u8 nuh_temporal_id_plus1; + + /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */ + __u8 slice_type; + __u8 colour_plane_id; + __s32 slice_pic_order_cnt; + __u8 num_ref_idx_l0_active_minus1; + __u8 num_ref_idx_l1_active_minus1; + __u8 collocated_ref_idx; + __u8 five_minus_max_num_merge_cand; + __s8 slice_qp_delta; + __s8 slice_cb_qp_offset; + __s8 slice_cr_qp_offset; + __s8 slice_act_y_qp_offset; + __s8 slice_act_cb_qp_offset; + __s8 slice_act_cr_qp_offset; + __s8 slice_beta_offset_div2; + __s8 slice_tc_offset_div2; + + /* ISO/IEC 23008-2, ITU-T Rec. H.265: Picture timing SEI message */ + __u8 pic_struct; + + __u8 reserved03; + /* ISO/IEC 23008-2, ITU-T Rec. H.265: General slice segment header */ + __u32 slice_segment_addr; + __u8 ref_idx_l0V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u8 ref_idx_l1V4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u16 short_term_ref_pic_set_size; + __u16 long_term_ref_pic_set_size; + + /* ISO/IEC 23008-2, ITU-T Rec. H.265: Weighted prediction parameter */ + struct v4l2_hevc_pred_weight_table pred_weight_table; + + __u8 reserved12; + __u64 flags; +}; + +#define V4L2_HEVC_DECODE_PARAM_FLAG_IRAP_PIC 0x1 +#define V4L2_HEVC_DECODE_PARAM_FLAG_IDR_PIC 0x2 +#define V4L2_HEVC_DECODE_PARAM_FLAG_NO_OUTPUT_OF_PRIOR 0x4 + +/** + * struct v4l2_ctrl_hevc_decode_params - HEVC decode parameters + * + * @pic_order_cnt_val: picture order count + * @short_term_ref_pic_set_size: specifies the size of short-term reference + * pictures set included in the SPS of the first slice + * @long_term_ref_pic_set_size: specifies the size of long-term reference + * pictures set include in the SPS of the first slice + * @num_active_dpb_entries: the number of entries in dpb + * @num_poc_st_curr_before: the number of reference pictures in the short-term + * set that come before the current frame + * @num_poc_st_curr_after: the number of reference pictures in the short-term + * set that come after the current frame + * @num_poc_lt_curr: the number of reference pictures in the long-term set + * @poc_st_curr_before: provides the index of the short term before references + * in DPB array + * @poc_st_curr_after: provides the index of the short term after references + * in DPB array + * @poc_lt_curr: provides the index of the long term references in DPB array + * @reserved: padding field. Should be zeroed by applications. + * @dpb: the decoded picture buffer, for meta-data about reference frames + * @flags: see V4L2_HEVC_DECODE_PARAM_FLAG_{} + */ +struct v4l2_ctrl_hevc_decode_params { + __s32 pic_order_cnt_val; + __u16 short_term_ref_pic_set_size; + __u16 long_term_ref_pic_set_size; + __u8 num_active_dpb_entries; + __u8 num_poc_st_curr_before; + __u8 num_poc_st_curr_after; + __u8 num_poc_lt_curr; + __u8 poc_st_curr_beforeV4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u8 poc_st_curr_afterV4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u8 poc_lt_currV4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u8 reserved4; + struct v4l2_hevc_dpb_entry dpbV4L2_HEVC_DPB_ENTRIES_NUM_MAX; + __u64 flags; +}; + +/** + * struct v4l2_ctrl_hevc_scaling_matrix - HEVC scaling lists parameters + * + * @scaling_list_4x4: scaling list is used for the scaling process for + * transform coefficients. The values on each scaling + * list are expected in raster scan order + * @scaling_list_8x8: scaling list is used for the scaling process for + * transform coefficients. The values on each scaling + * list are expected in raster scan order + * @scaling_list_16x16: scaling list is used for the scaling process for + * transform coefficients. The values on each scaling + * list are expected in raster scan order + * @scaling_list_32x32: scaling list is used for the scaling process for + * transform coefficients. The values on each scaling + * list are expected in raster scan order + * @scaling_list_dc_coef_16x16: scaling list is used for the scaling process + * for transform coefficients. The values on each + * scaling list are expected in raster scan order. + * @scaling_list_dc_coef_32x32: scaling list is used for the scaling process + * for transform coefficients. The values on each + * scaling list are expected in raster scan order. + */ +struct v4l2_ctrl_hevc_scaling_matrix { + __u8 scaling_list_4x4616; + __u8 scaling_list_8x8664; + __u8 scaling_list_16x16664; + __u8 scaling_list_32x32264; + __u8 scaling_list_dc_coef_16x166; + __u8 scaling_list_dc_coef_32x322; +}; + #define V4L2_CID_COLORIMETRY_CLASS_BASE (V4L2_CTRL_CLASS_COLORIMETRY | 0x900) #define V4L2_CID_COLORIMETRY_CLASS (V4L2_CTRL_CLASS_COLORIMETRY | 1) @@ -2007,6 +2494,290 @@ __u32 min_display_mastering_luminance; }; +/* Stateless VP9 controls */ + +#define V4L2_VP9_LOOP_FILTER_FLAG_DELTA_ENABLED 0x1 +#define V4L2_VP9_LOOP_FILTER_FLAG_DELTA_UPDATE 0x2 + +/** + * struct v4l2_vp9_loop_filter - VP9 loop filter parameters + * + * @ref_deltas: contains the adjustment needed for the filter level based on the + * chosen reference frame. If this syntax element is not present in the bitstream, + * users should pass its last value. + * @mode_deltas: contains the adjustment needed for the filter level based on the + * chosen mode. If this syntax element is not present in the bitstream, users should + * pass its last value. + * @level: indicates the loop filter strength. + * @sharpness: indicates the sharpness level. + * @flags: combination of V4L2_VP9_LOOP_FILTER_FLAG_{} flags. + * @reserved: padding field. Should be zeroed by applications. + * + * This structure contains all loop filter related parameters. See sections + * '7.2.8 Loop filter semantics' of the VP9 specification for more details. + */ +struct v4l2_vp9_loop_filter { + __s8 ref_deltas4; + __s8 mode_deltas2; + __u8 level; + __u8 sharpness; + __u8 flags; + __u8 reserved7; +}; + +/** + * struct v4l2_vp9_quantization - VP9 quantization parameters + * + * @base_q_idx: indicates the base frame qindex. + * @delta_q_y_dc: indicates the Y DC quantizer relative to base_q_idx. + * @delta_q_uv_dc: indicates the UV DC quantizer relative to base_q_idx. + * @delta_q_uv_ac: indicates the UV AC quantizer relative to base_q_idx. + * @reserved: padding field. Should be zeroed by applications. + * + * Encodes the quantization parameters. See section '7.2.9 Quantization params + * syntax' of the VP9 specification for more details. + */ +struct v4l2_vp9_quantization { + __u8 base_q_idx; + __s8 delta_q_y_dc; + __s8 delta_q_uv_dc; + __s8 delta_q_uv_ac; + __u8 reserved4; +}; + +#define V4L2_VP9_SEGMENTATION_FLAG_ENABLED 0x01 +#define V4L2_VP9_SEGMENTATION_FLAG_UPDATE_MAP 0x02 +#define V4L2_VP9_SEGMENTATION_FLAG_TEMPORAL_UPDATE 0x04 +#define V4L2_VP9_SEGMENTATION_FLAG_UPDATE_DATA 0x08 +#define V4L2_VP9_SEGMENTATION_FLAG_ABS_OR_DELTA_UPDATE 0x10 + +#define V4L2_VP9_SEG_LVL_ALT_Q 0 +#define V4L2_VP9_SEG_LVL_ALT_L 1 +#define V4L2_VP9_SEG_LVL_REF_FRAME 2 +#define V4L2_VP9_SEG_LVL_SKIP 3 +#define V4L2_VP9_SEG_LVL_MAX 4 + +#define V4L2_VP9_SEGMENT_FEATURE_ENABLED(id) (1 << (id)) +#define V4L2_VP9_SEGMENT_FEATURE_ENABLED_MASK 0xf + +/** + * struct v4l2_vp9_segmentation - VP9 segmentation parameters + * + * @feature_data: data attached to each feature. Data entry is only valid if + * the feature is enabled. The array shall be indexed with segment number as + * the first dimension (0..7) and one of V4L2_VP9_SEG_{} as the second dimension. + * @feature_enabled: bitmask defining which features are enabled in each segment. + * The value for each segment is a combination of V4L2_VP9_SEGMENT_FEATURE_ENABLED(id) + * values where id is one of V4L2_VP9_SEG_LVL_{}. + * @tree_probs: specifies the probability values to be used when decoding a + * Segment-ID. See '5.15. Segmentation map' section of the VP9 specification + * for more details. + * @pred_probs: specifies the probability values to be used when decoding a + * Predicted-Segment-ID. See '6.4.14. Get segment id syntax' section of :ref:`vp9` + * for more details. + * @flags: combination of V4L2_VP9_SEGMENTATION_FLAG_{} flags. + * @reserved: padding field. Should be zeroed by applications. + * + * Encodes the quantization parameters. See section '7.2.10 Segmentation params syntax' of + * the VP9 specification for more details. + */ +struct v4l2_vp9_segmentation { + __s16 feature_data84; + __u8 feature_enabled8; + __u8 tree_probs7; + __u8 pred_probs3; + __u8 flags; + __u8 reserved5; +}; + +#define V4L2_VP9_FRAME_FLAG_KEY_FRAME 0x001 +#define V4L2_VP9_FRAME_FLAG_SHOW_FRAME 0x002 +#define V4L2_VP9_FRAME_FLAG_ERROR_RESILIENT 0x004 +#define V4L2_VP9_FRAME_FLAG_INTRA_ONLY 0x008 +#define V4L2_VP9_FRAME_FLAG_ALLOW_HIGH_PREC_MV 0x010 +#define V4L2_VP9_FRAME_FLAG_REFRESH_FRAME_CTX 0x020 +#define V4L2_VP9_FRAME_FLAG_PARALLEL_DEC_MODE 0x040 +#define V4L2_VP9_FRAME_FLAG_X_SUBSAMPLING 0x080 +#define V4L2_VP9_FRAME_FLAG_Y_SUBSAMPLING 0x100 +#define V4L2_VP9_FRAME_FLAG_COLOR_RANGE_FULL_SWING 0x200 + +#define V4L2_VP9_SIGN_BIAS_LAST 0x1 +#define V4L2_VP9_SIGN_BIAS_GOLDEN 0x2 +#define V4L2_VP9_SIGN_BIAS_ALT 0x4 + +#define V4L2_VP9_RESET_FRAME_CTX_NONE 0 +#define V4L2_VP9_RESET_FRAME_CTX_SPEC 1 +#define V4L2_VP9_RESET_FRAME_CTX_ALL 2 + +#define V4L2_VP9_INTERP_FILTER_EIGHTTAP 0 +#define V4L2_VP9_INTERP_FILTER_EIGHTTAP_SMOOTH 1 +#define V4L2_VP9_INTERP_FILTER_EIGHTTAP_SHARP 2 +#define V4L2_VP9_INTERP_FILTER_BILINEAR 3 +#define V4L2_VP9_INTERP_FILTER_SWITCHABLE 4 + +#define V4L2_VP9_REFERENCE_MODE_SINGLE_REFERENCE 0 +#define V4L2_VP9_REFERENCE_MODE_COMPOUND_REFERENCE 1 +#define V4L2_VP9_REFERENCE_MODE_SELECT 2 + +#define V4L2_VP9_PROFILE_MAX 3 + +#define V4L2_CID_STATELESS_VP9_FRAME (V4L2_CID_CODEC_STATELESS_BASE + 300) +/** + * struct v4l2_ctrl_vp9_frame - VP9 frame decoding control + * + * @lf: loop filter parameters. See &v4l2_vp9_loop_filter for more details. + * @quant: quantization parameters. See &v4l2_vp9_quantization for more details. + * @seg: segmentation parameters. See &v4l2_vp9_segmentation for more details. + * @flags: combination of V4L2_VP9_FRAME_FLAG_{} flags. + * @compressed_header_size: compressed header size in bytes. + * @uncompressed_header_size: uncompressed header size in bytes. + * @frame_width_minus_1: add 1 to it and you'll get the frame width expressed in pixels. + * @frame_height_minus_1: add 1 to it and you'll get the frame height expressed in pixels. + * @render_width_minus_1: add 1 to it and you'll get the expected render width expressed in + * pixels. This is not used during the decoding process but might be used by HW scalers + * to prepare a frame that's ready for scanout. + * @render_height_minus_1: add 1 to it and you'll get the expected render height expressed in + * pixels. This is not used during the decoding process but might be used by HW scalers + * to prepare a frame that's ready for scanout. + * @last_frame_ts: "last" reference buffer timestamp. + * The timestamp refers to the timestamp field in struct v4l2_buffer. + * Use v4l2_timeval_to_ns() to convert the struct timeval to a __u64. + * @golden_frame_ts: "golden" reference buffer timestamp. + * The timestamp refers to the timestamp field in struct v4l2_buffer. + * Use v4l2_timeval_to_ns() to convert the struct timeval to a __u64. + * @alt_frame_ts: "alt" reference buffer timestamp. + * The timestamp refers to the timestamp field in struct v4l2_buffer. + * Use v4l2_timeval_to_ns() to convert the struct timeval to a __u64. + * @ref_frame_sign_bias: a bitfield specifying whether the sign bias is set for a given + * reference frame. Either of V4L2_VP9_SIGN_BIAS_{}. + * @reset_frame_context: specifies whether the frame context should be reset to default values. + * Either of V4L2_VP9_RESET_FRAME_CTX_{}. + * @frame_context_idx: frame context that should be used/updated. + * @profile: VP9 profile. Can be 0, 1, 2 or 3. + * @bit_depth: bits per components. Can be 8, 10 or 12. Note that not all profiles support + * 10 and/or 12 bits depths. + * @interpolation_filter: specifies the filter selection used for performing inter prediction. + * Set to one of V4L2_VP9_INTERP_FILTER_{}. + * @tile_cols_log2: specifies the base 2 logarithm of the width of each tile (where the width + * is measured in units of 8x8 blocks). Shall be less than or equal to 6. + * @tile_rows_log2: specifies the base 2 logarithm of the height of each tile (where the height + * is measured in units of 8x8 blocks). + * @reference_mode: specifies the type of inter prediction to be used. + * Set to one of V4L2_VP9_REFERENCE_MODE_{}. + * @reserved: padding field. Should be zeroed by applications. + */ +struct v4l2_ctrl_vp9_frame { + struct v4l2_vp9_loop_filter lf; + struct v4l2_vp9_quantization quant; + struct v4l2_vp9_segmentation seg; + __u32 flags; + __u16 compressed_header_size; + __u16 uncompressed_header_size; + __u16 frame_width_minus_1; + __u16 frame_height_minus_1; + __u16 render_width_minus_1; + __u16 render_height_minus_1; + __u64 last_frame_ts; + __u64 golden_frame_ts; + __u64 alt_frame_ts; + __u8 ref_frame_sign_bias; + __u8 reset_frame_context; + __u8 frame_context_idx; + __u8 profile; + __u8 bit_depth; + __u8 interpolation_filter; + __u8 tile_cols_log2; + __u8 tile_rows_log2; + __u8 reference_mode; + __u8 reserved7; +}; + +#define V4L2_VP9_NUM_FRAME_CTX 4 + +/** + * struct v4l2_vp9_mv_probs - VP9 Motion vector probability updates + * @joint: motion vector joint probability updates. + * @sign: motion vector sign probability updates. + * @classes: motion vector class probability updates. + * @class0_bit: motion vector class0 bit probability updates. + * @bits: motion vector bits probability updates. + * @class0_fr: motion vector class0 fractional bit probability updates. + * @fr: motion vector fractional bit probability updates. + * @class0_hp: motion vector class0 high precision fractional bit probability updates. + * @hp: motion vector high precision fractional bit probability updates. + * + * This structure contains new values of motion vector probabilities. + * A value of zero in an array element means there is no update of the relevant probability. + * See `struct v4l2_vp9_prob_updates` for details. + */ +struct v4l2_vp9_mv_probs { + __u8 joint3; + __u8 sign2; + __u8 classes210; + __u8 class0_bit2; + __u8 bits210; + __u8 class0_fr223; + __u8 fr23; + __u8 class0_hp2; + __u8 hp2; +}; + +#define V4L2_CID_STATELESS_VP9_COMPRESSED_HDR (V4L2_CID_CODEC_STATELESS_BASE + 301) + +#define V4L2_VP9_TX_MODE_ONLY_4X4 0 +#define V4L2_VP9_TX_MODE_ALLOW_8X8 1 +#define V4L2_VP9_TX_MODE_ALLOW_16X16 2 +#define V4L2_VP9_TX_MODE_ALLOW_32X32 3 +#define V4L2_VP9_TX_MODE_SELECT 4 + +/** + * struct v4l2_ctrl_vp9_compressed_hdr - VP9 probability updates control + * @tx_mode: specifies the TX mode. Set to one of V4L2_VP9_TX_MODE_{}. + * @tx8: TX 8x8 probability updates. + * @tx16: TX 16x16 probability updates. + * @tx32: TX 32x32 probability updates. + * @coef: coefficient probability updates. + * @skip: skip probability updates. + * @inter_mode: inter mode probability updates. + * @interp_filter: interpolation filter probability updates. + * @is_inter: is inter-block probability updates. + * @comp_mode: compound prediction mode probability updates. + * @single_ref: single ref probability updates. + * @comp_ref: compound ref probability updates. + * @y_mode: Y prediction mode probability updates. + * @uv_mode: UV prediction mode probability updates. + * @partition: partition probability updates. + * @mv: motion vector probability updates. + * + * This structure holds the probabilities update as parsed in the compressed + * header (Spec 6.3). These values represent the value of probability update after + * being translated with inv_map_table (see 6.3.5). A value of zero in an array element + * means that there is no update of the relevant probability. + * + * This control is optional and needs to be used when dealing with the hardware which is + * not capable of parsing the compressed header itself. Only drivers which need it will + * implement it. + */ +struct v4l2_ctrl_vp9_compressed_hdr { + __u8 tx_mode; + __u8 tx821; + __u8 tx1622; + __u8 tx3223; + __u8 coef422663; + __u8 skip3; + __u8 inter_mode73; + __u8 interp_filter42; + __u8 is_inter4; + __u8 comp_mode5; + __u8 single_ref52; + __u8 comp_ref5; + __u8 y_mode49; + __u8 uv_mode109; + __u8 partition163; + + struct v4l2_vp9_mv_probs mv; +}; + /* MPEG-compression definitions kept for backwards compatibility */ #define V4L2_CTRL_CLASS_MPEG V4L2_CTRL_CLASS_CODEC #define V4L2_CID_MPEG_CLASS V4L2_CID_CODEC_CLASS
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/version.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/version.h
Changed
@@ -1,5 +1,5 @@ -#define LINUX_VERSION_CODE 331264 +#define LINUX_VERSION_CODE 393472 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c))) -#define LINUX_VERSION_MAJOR 5 -#define LINUX_VERSION_PATCHLEVEL 14 +#define LINUX_VERSION_MAJOR 6 +#define LINUX_VERSION_PATCHLEVEL 1 #define LINUX_VERSION_SUBLEVEL 0
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/linux/videodev2.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/videodev2.h
Changed
@@ -243,6 +243,7 @@ /* DCI-P3 colorspace, used by cinema projectors */ V4L2_COLORSPACE_DCI_P3 = 12, + }; /* @@ -474,7 +475,6 @@ #define V4L2_CAP_META_CAPTURE 0x00800000 /* Is a metadata capture device */ #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */ -#define V4L2_CAP_ASYNCIO 0x02000000 /* async I/O */ #define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */ #define V4L2_CAP_META_OUTPUT 0x08000000 /* Is a metadata output device */ @@ -563,6 +563,7 @@ /* Grey bit-packed formats */ #define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc('Y', '1', '0', 'B') /* 10 Greyscale bit-packed */ #define V4L2_PIX_FMT_Y10P v4l2_fourcc('Y', '1', '0', 'P') /* 10 Greyscale, MIPI RAW10 packed */ +#define V4L2_PIX_FMT_IPU3_Y10 v4l2_fourcc('i', 'p', '3', 'y') /* IPU3 packed 10-bit greyscale */ /* Palette formats */ #define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */ @@ -586,6 +587,8 @@ #define V4L2_PIX_FMT_XYUV32 v4l2_fourcc('X', 'Y', 'U', 'V') /* 32 XYUV-8-8-8-8 */ #define V4L2_PIX_FMT_VUYA32 v4l2_fourcc('V', 'U', 'Y', 'A') /* 32 VUYA-8-8-8-8 */ #define V4L2_PIX_FMT_VUYX32 v4l2_fourcc('V', 'U', 'Y', 'X') /* 32 VUYX-8-8-8-8 */ +#define V4L2_PIX_FMT_YUVA32 v4l2_fourcc('Y', 'U', 'V', 'A') /* 32 YUVA-8-8-8-8 */ +#define V4L2_PIX_FMT_YUVX32 v4l2_fourcc('Y', 'U', 'V', 'X') /* 32 YUVX-8-8-8-8 */ #define V4L2_PIX_FMT_M420 v4l2_fourcc('M', '4', '2', '0') /* 12 YUV 4:2:0 2 lines y, 1 line uv interleaved */ /* two planes -- one Y, one Cr + Cb interleaved */ @@ -595,15 +598,13 @@ #define V4L2_PIX_FMT_NV61 v4l2_fourcc('N', 'V', '6', '1') /* 16 Y/CrCb 4:2:2 */ #define V4L2_PIX_FMT_NV24 v4l2_fourcc('N', 'V', '2', '4') /* 24 Y/CbCr 4:4:4 */ #define V4L2_PIX_FMT_NV42 v4l2_fourcc('N', 'V', '4', '2') /* 24 Y/CrCb 4:4:4 */ -#define V4L2_PIX_FMT_HM12 v4l2_fourcc('H', 'M', '1', '2') /* 8 YUV 4:2:0 16x16 macroblocks */ +#define V4L2_PIX_FMT_P010 v4l2_fourcc('P', '0', '1', '0') /* 24 Y/CbCr 4:2:0 10-bit per component */ /* two non contiguous planes - one Y, one Cr + Cb interleaved */ #define V4L2_PIX_FMT_NV12M v4l2_fourcc('N', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 */ #define V4L2_PIX_FMT_NV21M v4l2_fourcc('N', 'M', '2', '1') /* 21 Y/CrCb 4:2:0 */ #define V4L2_PIX_FMT_NV16M v4l2_fourcc('N', 'M', '1', '6') /* 16 Y/CbCr 4:2:2 */ #define V4L2_PIX_FMT_NV61M v4l2_fourcc('N', 'M', '6', '1') /* 16 Y/CrCb 4:2:2 */ -#define V4L2_PIX_FMT_NV12MT v4l2_fourcc('T', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 64x32 macroblocks */ -#define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 macroblocks */ /* three planes - Y Cb, Cr */ #define V4L2_PIX_FMT_YUV410 v4l2_fourcc('Y', 'U', 'V', '9') /* 9 YUV 4:1:0 */ @@ -621,6 +622,18 @@ #define V4L2_PIX_FMT_YUV444M v4l2_fourcc('Y', 'M', '2', '4') /* 24 YUV444 planar */ #define V4L2_PIX_FMT_YVU444M v4l2_fourcc('Y', 'M', '4', '2') /* 24 YVU444 planar */ +/* Tiled YUV formats */ +#define V4L2_PIX_FMT_NV12_4L4 v4l2_fourcc('V', 'T', '1', '2') /* 12 Y/CbCr 4:2:0 4x4 tiles */ +#define V4L2_PIX_FMT_NV12_16L16 v4l2_fourcc('H', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 tiles */ +#define V4L2_PIX_FMT_NV12_32L32 v4l2_fourcc('S', 'T', '1', '2') /* 12 Y/CbCr 4:2:0 32x32 tiles */ +#define V4L2_PIX_FMT_P010_4L4 v4l2_fourcc('T', '0', '1', '0') /* 12 Y/CbCr 4:2:0 10-bit 4x4 macroblocks */ + +/* Tiled YUV formats, non contiguous planes */ +#define V4L2_PIX_FMT_NV12MT v4l2_fourcc('T', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 64x32 tiles */ +#define V4L2_PIX_FMT_NV12MT_16X16 v4l2_fourcc('V', 'M', '1', '2') /* 12 Y/CbCr 4:2:0 16x16 tiles */ +#define V4L2_PIX_FMT_NV12M_8L128 v4l2_fourcc('N', 'A', '1', '2') /* Y/CbCr 4:2:0 8x128 tiles */ +#define V4L2_PIX_FMT_NV12M_10BE_8L128 v4l2_fourcc_be('N', 'T', '1', '2') /* Y/CbCr 4:2:0 10-bit 8x128 tiles */ + /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */ #define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B', 'A', '8', '1') /* 8 BGBG.. GRGR.. */ #define V4L2_PIX_FMT_SGBRG8 v4l2_fourcc('G', 'B', 'R', 'G') /* 8 GBGB.. RGRG.. */ @@ -691,10 +704,12 @@ #define V4L2_PIX_FMT_VP8 v4l2_fourcc('V', 'P', '8', '0') /* VP8 */ #define V4L2_PIX_FMT_VP8_FRAME v4l2_fourcc('V', 'P', '8', 'F') /* VP8 parsed frame */ #define V4L2_PIX_FMT_VP9 v4l2_fourcc('V', 'P', '9', '0') /* VP9 */ +#define V4L2_PIX_FMT_VP9_FRAME v4l2_fourcc('V', 'P', '9', 'F') /* VP9 parsed frame */ #define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC aka H.265 */ #define V4L2_PIX_FMT_FWHT v4l2_fourcc('F', 'W', 'H', 'T') /* Fast Walsh Hadamard Transform (vicodec) */ #define V4L2_PIX_FMT_FWHT_STATELESS v4l2_fourcc('S', 'F', 'W', 'H') /* Stateless FWHT (vicodec) */ #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H264 parsed slices */ +#define V4L2_PIX_FMT_HEVC_SLICE v4l2_fourcc('S', '2', '6', '5') /* HEVC parsed slices */ /* Vendor-specific formats */ #define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */ @@ -727,12 +742,14 @@ #define V4L2_PIX_FMT_Y12I v4l2_fourcc('Y', '1', '2', 'I') /* Greyscale 12-bit L/R interleaved */ #define V4L2_PIX_FMT_Z16 v4l2_fourcc('Z', '1', '6', ' ') /* Depth data 16-bit */ #define V4L2_PIX_FMT_MT21C v4l2_fourcc('M', 'T', '2', '1') /* Mediatek compressed block mode */ +#define V4L2_PIX_FMT_MM21 v4l2_fourcc('M', 'M', '2', '1') /* Mediatek 8-bit block mode, two non-contiguous planes */ #define V4L2_PIX_FMT_INZI v4l2_fourcc('I', 'N', 'Z', 'I') /* Intel Planar Greyscale 10-bit and Depth 16-bit */ -#define V4L2_PIX_FMT_SUNXI_TILED_NV12 v4l2_fourcc('S', 'T', '1', '2') /* Sunxi Tiled NV12 Format */ #define V4L2_PIX_FMT_CNF4 v4l2_fourcc('C', 'N', 'F', '4') /* Intel 4-bit packed depth confidence information */ #define V4L2_PIX_FMT_HI240 v4l2_fourcc('H', 'I', '2', '4') /* BTTV 8-bit dithered RGB */ +#define V4L2_PIX_FMT_QC08C v4l2_fourcc('Q', '0', '8', 'C') /* Qualcomm 8-bit compressed */ +#define V4L2_PIX_FMT_QC10C v4l2_fourcc('Q', '1', '0', 'C') /* Qualcomm 10-bit compressed */ -/* 10bit raw bayer packed, 32 bytes for every 25 pixels, last LSB 6 bits unused */ +/* 10bit raw packed, 32 bytes for every 25 pixels, last LSB 6 bits unused */ #define V4L2_PIX_FMT_IPU3_SBGGR10 v4l2_fourcc('i', 'p', '3', 'b') /* IPU3 packed 10-bit BGGR bayer */ #define V4L2_PIX_FMT_IPU3_SGBRG10 v4l2_fourcc('i', 'p', '3', 'g') /* IPU3 packed 10-bit GBRG bayer */ #define V4L2_PIX_FMT_IPU3_SGRBG10 v4l2_fourcc('i', 'p', '3', 'G') /* IPU3 packed 10-bit GRBG bayer */ @@ -930,9 +947,12 @@ __u32 type; /* enum v4l2_buf_type */ __u32 memory; /* enum v4l2_memory */ __u32 capabilities; - __u32 reserved1; + __u8 flags; + __u8 reserved3; }; +#define V4L2_MEMORY_FLAG_NON_COHERENT (1 << 0) + /* capabilities for struct v4l2_requestbuffers and v4l2_create_buffers */ #define V4L2_BUF_CAP_SUPPORTS_MMAP (1 << 0) #define V4L2_BUF_CAP_SUPPORTS_USERPTR (1 << 1) @@ -1531,7 +1551,8 @@ ((bt)->width + V4L2_DV_BT_BLANKING_WIDTH(bt)) #define V4L2_DV_BT_BLANKING_HEIGHT(bt) \ ((bt)->vfrontporch + (bt)->vsync + (bt)->vbackporch + \ - (bt)->il_vfrontporch + (bt)->il_vsync + (bt)->il_vbackporch) + ((bt)->interlaced ? \ + ((bt)->il_vfrontporch + (bt)->il_vsync + (bt)->il_vbackporch) : 0)) #define V4L2_DV_BT_FRAME_HEIGHT(bt) \ ((bt)->height + V4L2_DV_BT_BLANKING_HEIGHT(bt)) @@ -1721,6 +1742,13 @@ struct v4l2_ctrl_mpeg2_sequence *p_mpeg2_sequence; struct v4l2_ctrl_mpeg2_picture *p_mpeg2_picture; struct v4l2_ctrl_mpeg2_quantisation *p_mpeg2_quantisation; + struct v4l2_ctrl_vp9_compressed_hdr *p_vp9_compressed_hdr_probs; + struct v4l2_ctrl_vp9_frame *p_vp9_frame; + struct v4l2_ctrl_hevc_sps *p_hevc_sps; + struct v4l2_ctrl_hevc_pps *p_hevc_pps; + struct v4l2_ctrl_hevc_slice_params *p_hevc_slice_params; + struct v4l2_ctrl_hevc_scaling_matrix *p_hevc_scaling_matrix; + struct v4l2_ctrl_hevc_decode_params *p_hevc_decode_params; void *ptr; }; } __attribute__ ((packed)); @@ -1781,6 +1809,15 @@ V4L2_CTRL_TYPE_MPEG2_QUANTISATION = 0x0250, V4L2_CTRL_TYPE_MPEG2_SEQUENCE = 0x0251, V4L2_CTRL_TYPE_MPEG2_PICTURE = 0x0252, + + V4L2_CTRL_TYPE_VP9_COMPRESSED_HDR = 0x0260, + V4L2_CTRL_TYPE_VP9_FRAME = 0x0261, + + V4L2_CTRL_TYPE_HEVC_SPS = 0x0270, + V4L2_CTRL_TYPE_HEVC_PPS = 0x0271, + V4L2_CTRL_TYPE_HEVC_SLICE_PARAMS = 0x0272, + V4L2_CTRL_TYPE_HEVC_SCALING_MATRIX = 0x0273, + V4L2_CTRL_TYPE_HEVC_DECODE_PARAMS = 0x0274, }; /* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */ @@ -1836,6 +1873,7 @@ #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 #define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0x0400 +#define V4L2_CTRL_FLAG_DYNAMIC_ARRAY 0x0800 /* Query flags, to be ORed with the control ID */ #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000 @@ -2343,6 +2381,7 @@ #define V4L2_EVENT_CTRL_CH_VALUE (1 << 0) #define V4L2_EVENT_CTRL_CH_FLAGS (1 << 1) #define V4L2_EVENT_CTRL_CH_RANGE (1 << 2) +#define V4L2_EVENT_CTRL_CH_DIMENSIONS (1 << 3) struct v4l2_event_ctrl { __u32 changes; @@ -2462,6 +2501,9 @@ * @memory: enum v4l2_memory; buffer memory type * @format: frame format, for which buffers are requested * @capabilities: capabilities of this buffer type. + * @flags: additional buffer management attributes (ignored unless the + * queue has V4L2_BUF_CAP_SUPPORTS_MMAP_CACHE_HINTS capability + * and configured for MMAP streaming I/O). * @reserved: future extensions */ struct v4l2_create_buffers { @@ -2470,7 +2512,8 @@ __u32 memory; struct v4l2_format format; __u32 capabilities; - __u32 reserved7; + __u32 flags; + __u32 reserved6; }; /* @@ -2578,4 +2621,13 @@ #define BASE_VIDIOC_PRIVATE 192 /* 192-255 are private */ +/* Deprecated definitions kept for backwards compatibility */ +#define V4L2_PIX_FMT_HM12 V4L2_PIX_FMT_NV12_16L16 +#define V4L2_PIX_FMT_SUNXI_TILED_NV12 V4L2_PIX_FMT_NV12_32L32 +/* + * This capability was never implemented, anyone using this cap should drop it + * from their code. + */ +#define V4L2_CAP_ASYNCIO 0x02000000 + #endif /* __LINUX_VIDEODEV2_H */
View file
_service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/linux/vm_sockets.h
Added
@@ -0,0 +1,192 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * VMware vSockets Driver + * + * Copyright (C) 2007-2013 VMware, Inc. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation version 2 and no later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + */ + +#ifndef _VM_SOCKETS_H +#define _VM_SOCKETS_H + +#include <linux/socket.h> +#include <linux/types.h> + +/* Option name for STREAM socket buffer size. Use as the option name in + * setsockopt(3) or getsockopt(3) to set or get an unsigned long long that + * specifies the size of the buffer underlying a vSockets STREAM socket. + * Value is clamped to the MIN and MAX. + */ + +#define SO_VM_SOCKETS_BUFFER_SIZE 0 + +/* Option name for STREAM socket minimum buffer size. Use as the option name + * in setsockopt(3) or getsockopt(3) to set or get an unsigned long long that + * specifies the minimum size allowed for the buffer underlying a vSockets + * STREAM socket. + */ + +#define SO_VM_SOCKETS_BUFFER_MIN_SIZE 1 + +/* Option name for STREAM socket maximum buffer size. Use as the option name + * in setsockopt(3) or getsockopt(3) to set or get an unsigned long long + * that specifies the maximum size allowed for the buffer underlying a + * vSockets STREAM socket. + */ + +#define SO_VM_SOCKETS_BUFFER_MAX_SIZE 2 + +/* Option name for socket peer's host-specific VM ID. Use as the option name + * in getsockopt(3) to get a host-specific identifier for the peer endpoint's + * VM. The identifier is a signed integer. + * Only available for hypervisor endpoints. + */ + +#define SO_VM_SOCKETS_PEER_HOST_VM_ID 3 + +/* Option name for determining if a socket is trusted. Use as the option name + * in getsockopt(3) to determine if a socket is trusted. The value is a + * signed integer. + */ + +#define SO_VM_SOCKETS_TRUSTED 5 + +/* Option name for STREAM socket connection timeout. Use as the option name + * in setsockopt(3) or getsockopt(3) to set or get the connection + * timeout for a STREAM socket. + */ + +#define SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD 6 + +/* Option name for using non-blocking send/receive. Use as the option name + * for setsockopt(3) or getsockopt(3) to set or get the non-blocking + * transmit/receive flag for a STREAM socket. This flag determines whether + * send() and recv() can be called in non-blocking contexts for the given + * socket. The value is a signed integer. + * + * This option is only relevant to kernel endpoints, where descheduling the + * thread of execution is not allowed, for example, while holding a spinlock. + * It is not to be confused with conventional non-blocking socket operations. + * + * Only available for hypervisor endpoints. + */ + +#define SO_VM_SOCKETS_NONBLOCK_TXRX 7 + +#define SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW 8 + +#if __BITS_PER_LONG == 64 || (defined(__x86_64__) && defined(__ILP32__)) +#define SO_VM_SOCKETS_CONNECT_TIMEOUT SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD +#else +#define SO_VM_SOCKETS_CONNECT_TIMEOUT \ + (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD : SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW) +#endif + +/* The vSocket equivalent of INADDR_ANY. This works for the svm_cid field of + * sockaddr_vm and indicates the context ID of the current endpoint. + */ + +#define VMADDR_CID_ANY -1U + +/* Bind to any available port. Works for the svm_port field of + * sockaddr_vm. + */ + +#define VMADDR_PORT_ANY -1U + +/* Use this as the destination CID in an address when referring to the + * hypervisor. VMCI relies on it being 0, but this would be useful for other + * transports too. + */ + +#define VMADDR_CID_HYPERVISOR 0 + +/* Use this as the destination CID in an address when referring to the + * local communication (loopback). + * (This was VMADDR_CID_RESERVED, but even VMCI doesn't use it anymore, + * it was a legacy value from an older release). + */ + +#define VMADDR_CID_LOCAL 1 + +/* Use this as the destination CID in an address when referring to the host + * (any process other than the hypervisor). VMCI relies on it being 2, but + * this would be useful for other transports too. + */ + +#define VMADDR_CID_HOST 2 + +/* The current default use case for the vsock channel is the following: + * local vsock communication between guest and host and nested VMs setup. + * In addition to this, implicitly, the vsock packets are forwarded to the host + * if no host->guest vsock transport is set. + * + * Set this flag value in the sockaddr_vm corresponding field if the vsock + * packets need to be always forwarded to the host. Using this behavior, + * vsock communication between sibling VMs can be setup. + * + * This way can explicitly distinguish between vsock channels created for + * different use cases, such as nested VMs (or local communication between + * guest and host) and sibling VMs. + * + * The flag can be set in the connect logic in the user space application flow. + * In the listen logic (from kernel space) the flag is set on the remote peer + * address. This happens for an incoming connection when it is routed from the + * host and comes from the guest (local CID and remote CID > VMADDR_CID_HOST). + */ +#define VMADDR_FLAG_TO_HOST 0x01 + +/* Invalid vSockets version. */ + +#define VM_SOCKETS_INVALID_VERSION -1U + +/* The epoch (first) component of the vSockets version. A single byte + * representing the epoch component of the vSockets version. + */ + +#define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) + +/* The major (second) component of the vSockets version. A single byte + * representing the major component of the vSockets version. Typically + * changes for every major release of a product. + */ + +#define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) + +/* The minor (third) component of the vSockets version. Two bytes representing + * the minor component of the vSockets version. + */ + +#define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) + +/* Address structure for vSockets. The address family should be set to + * AF_VSOCK. The structure members should all align on their natural + * boundaries without resorting to compiler packing directives. The total size + * of this structure should be exactly the same as that of struct sockaddr. + */ + +struct sockaddr_vm { + __kernel_sa_family_t svm_family; + unsigned short svm_reserved1; + unsigned int svm_port; + unsigned int svm_cid; + __u8 svm_flags; + unsigned char svm_zerosizeof(struct sockaddr) - + sizeof(sa_family_t) - + sizeof(unsigned short) - + sizeof(unsigned int) - + sizeof(unsigned int) - + sizeof(__u8); +}; + +#define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9) + +#endif /* _VM_SOCKETS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/mtd/mtd-abi.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/mtd/mtd-abi.h
Changed
@@ -55,9 +55,9 @@ * @MTD_OPS_RAW: data are transferred as-is, with no error correction; * this mode implies %MTD_OPS_PLACE_OOB * - * These modes can be passed to ioctl(MEMWRITE) and are also used internally. - * See notes on "MTD file modes" for discussion on %MTD_OPS_RAW vs. - * %MTD_FILE_MODE_RAW. + * These modes can be passed to ioctl(MEMWRITE) and ioctl(MEMREAD); they are + * also used internally. See notes on "MTD file modes" for discussion on + * %MTD_OPS_RAW vs. %MTD_FILE_MODE_RAW. */ enum { MTD_OPS_PLACE_OOB = 0, @@ -69,8 +69,8 @@ * struct mtd_write_req - data structure for requesting a write operation * * @start: start address - * @len: length of data buffer - * @ooblen: length of OOB buffer + * @len: length of data buffer (only lower 32 bits are used) + * @ooblen: length of OOB buffer (only lower 32 bits are used) * @usr_data: user-provided data buffer * @usr_oob: user-provided OOB buffer * @mode: MTD mode (see "MTD operation modes") @@ -91,6 +91,53 @@ __u8 padding7; }; +/** + * struct mtd_read_req_ecc_stats - ECC statistics for a read operation + * + * @uncorrectable_errors: the number of uncorrectable errors that happened + * during the read operation + * @corrected_bitflips: the number of bitflips corrected during the read + * operation + * @max_bitflips: the maximum number of bitflips detected in any single ECC + * step for the data read during the operation; this information + * can be used to decide whether the data stored in a specific + * region of the MTD device should be moved somewhere else to + * avoid data loss. + */ +struct mtd_read_req_ecc_stats { + __u32 uncorrectable_errors; + __u32 corrected_bitflips; + __u32 max_bitflips; +}; + +/** + * struct mtd_read_req - data structure for requesting a read operation + * + * @start: start address + * @len: length of data buffer (only lower 32 bits are used) + * @ooblen: length of OOB buffer (only lower 32 bits are used) + * @usr_data: user-provided data buffer + * @usr_oob: user-provided OOB buffer + * @mode: MTD mode (see "MTD operation modes") + * @padding: reserved, must be set to 0 + * @ecc_stats: ECC statistics for the read operation + * + * This structure supports ioctl(MEMREAD) operations, allowing data and/or OOB + * reads in various modes. To read from OOB-only, set @usr_data == NULL, and to + * read data-only, set @usr_oob == NULL. However, setting both @usr_data and + * @usr_oob to NULL is not allowed. + */ +struct mtd_read_req { + __u64 start; + __u64 len; + __u64 ooblen; + __u64 usr_data; + __u64 usr_oob; + __u8 mode; + __u8 padding7; + struct mtd_read_req_ecc_stats ecc_stats; +}; + #define MTD_ABSENT 0 #define MTD_RAM 1 #define MTD_ROM 2 @@ -207,6 +254,12 @@ #define MEMWRITE _IOWR('M', 24, struct mtd_write_req) /* Erase a given range of user data (must be in mode %MTD_FILE_MODE_OTP_USER) */ #define OTPERASE _IOW('M', 25, struct otp_info) +/* + * Most generic read interface; can read in-band and/or out-of-band in various + * modes (see "struct mtd_read_req"). This ioctl is not supported for flashes + * without OOB, e.g., NOR flash. + */ +#define MEMREAD _IOWR('M', 26, struct mtd_read_req) /* * Obsolete legacy interface. Keep it in order not to break userspace @@ -270,8 +323,9 @@ * Note: %MTD_FILE_MODE_RAW provides the same functionality as %MTD_OPS_RAW - * raw access to the flash, without error correction or autoplacement schemes. * Wherever possible, the MTD_OPS_* mode will override the MTD_FILE_MODE_* mode - * (e.g., when using ioctl(MEMWRITE)), but in some cases, the MTD_FILE_MODE is - * used out of necessity (e.g., `write()', ioctl(MEMWRITEOOB64)). + * (e.g., when using ioctl(MEMWRITE) or ioctl(MEMREAD)), but in some cases, the + * MTD_FILE_MODE is used out of necessity (e.g., `write()', + * ioctl(MEMWRITEOOB64)). */ enum mtd_file_modes { MTD_FILE_MODE_NORMAL = MTD_OTP_OFF,
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/mtd/ubi-user.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/mtd/ubi-user.h
Changed
@@ -247,6 +247,7 @@ * @vid_hdr_offset: VID header offset (use defaults if %0) * @max_beb_per1024: maximum expected number of bad PEB per 1024 PEBs * @padding: reserved for future, not used, has to be zeroed + * @disable_fm: whether disable fastmap * * This data structure is used to specify MTD device UBI has to attach and the * parameters it has to use. The number which should be assigned to the new UBI @@ -281,13 +282,18 @@ * eraseblocks for new bad eraseblocks, but attempts to use available * eraseblocks (if any). The accepted range is 0-768. If 0 is given, the * default kernel value of %CONFIG_MTD_UBI_BEB_LIMIT will be used. + * + * If @disable_fm is not zero, ubi doesn't create new fastmap even the module + * param 'fm_autoconvert' is set, and existed old fastmap will be destroyed + * after doing full scanning. */ struct ubi_attach_req { __s32 ubi_num; __s32 mtd_num; __s32 vid_hdr_offset; __s16 max_beb_per1024; - __s8 padding10; + __s8 disable_fm; + __s8 padding9; }; /*
View file
_service:tar_scm:strace-5.14.tar.xz/bundled/linux/include/uapi/rdma/ib_user_verbs.h -> _service:tar_scm:strace-6.1.tar.xz/bundled/linux/include/uapi/rdma/ib_user_verbs.h
Changed
@@ -158,18 +158,18 @@ struct ib_uverbs_get_context { __aligned_u64 response; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_get_context_resp { __u32 async_fd; __u32 num_comp_vectors; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_device { __aligned_u64 response; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_device_resp { @@ -278,7 +278,7 @@ __aligned_u64 response; __u8 port_num; __u8 reserved7; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_port_resp { @@ -308,12 +308,12 @@ struct ib_uverbs_alloc_pd { __aligned_u64 response; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_alloc_pd_resp { __u32 pd_handle; - __u32 driver_data0; + __u32 driver_data; }; struct ib_uverbs_dealloc_pd { @@ -324,12 +324,12 @@ __aligned_u64 response; __u32 fd; __u32 oflags; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_open_xrcd_resp { __u32 xrcd_handle; - __u32 driver_data0; + __u32 driver_data; }; struct ib_uverbs_close_xrcd { @@ -343,14 +343,14 @@ __aligned_u64 hca_va; __u32 pd_handle; __u32 access_flags; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_reg_mr_resp { __u32 mr_handle; __u32 lkey; __u32 rkey; - __u32 driver_data0; + __u32 driver_data; }; struct ib_uverbs_rereg_mr { @@ -362,13 +362,13 @@ __aligned_u64 hca_va; __u32 pd_handle; __u32 access_flags; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_rereg_mr_resp { __u32 lkey; __u32 rkey; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_dereg_mr { @@ -380,13 +380,13 @@ __u32 pd_handle; __u8 mw_type; __u8 reserved3; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_alloc_mw_resp { __u32 mw_handle; __u32 rkey; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_dealloc_mw { @@ -408,7 +408,7 @@ __u32 comp_vector; __s32 comp_channel; __u32 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; enum ib_uverbs_ex_create_cq_flags { @@ -442,13 +442,13 @@ __aligned_u64 response; __u32 cq_handle; __u32 cqe; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_resize_cq_resp { __u32 cqe; __u32 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_poll_cq { @@ -492,7 +492,7 @@ struct ib_uverbs_poll_cq_resp { __u32 count; __u32 reserved; - struct ib_uverbs_wc wc0; + struct ib_uverbs_wc wc; }; struct ib_uverbs_req_notify_cq { @@ -585,7 +585,7 @@ __u8 qp_type; __u8 is_srq; __u8 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; enum ib_uverbs_create_qp_mask { @@ -624,7 +624,7 @@ __u32 qpn; __u8 qp_type; __u8 reserved7; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; /* also used for open response */ @@ -669,7 +669,7 @@ __aligned_u64 response; __u32 qp_handle; __u32 attr_mask; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_qp_resp { @@ -703,7 +703,7 @@ __u8 alt_timeout; __u8 sq_sig_all; __u8 reserved5; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_modify_qp { @@ -824,7 +824,7 @@ __u32 wr_count; __u32 sge_count; __u32 wqe_size; - struct ib_uverbs_send_wr send_wr0; + struct ib_uverbs_send_wr send_wr; }; struct ib_uverbs_post_send_resp { @@ -843,7 +843,7 @@ __u32 wr_count; __u32 sge_count; __u32 wqe_size; - struct ib_uverbs_recv_wr recv_wr0; + struct ib_uverbs_recv_wr recv_wr; }; struct ib_uverbs_post_recv_resp { @@ -856,7 +856,7 @@ __u32 wr_count; __u32 sge_count; __u32 wqe_size; - struct ib_uverbs_recv_wr recv0; + struct ib_uverbs_recv_wr recv; }; struct ib_uverbs_post_srq_recv_resp { @@ -869,12 +869,12 @@ __u32 pd_handle; __u32 reserved; struct ib_uverbs_ah_attr attr; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_create_ah_resp { __u32 ah_handle; - __u32 driver_data0; + __u32 driver_data; }; struct ib_uverbs_destroy_ah { @@ -886,7 +886,7 @@ __u32 qp_handle; __u16 mlid; __u16 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_detach_mcast { @@ -894,7 +894,7 @@ __u32 qp_handle; __u16 mlid; __u16 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_flow_spec_hdr { @@ -1135,7 +1135,7 @@ * struct ib_flow_spec_xxx * struct ib_flow_spec_yyy */ - struct ib_uverbs_flow_spec_hdr flow_specs0; + struct ib_uverbs_flow_spec_hdr flow_specs; }; struct ib_uverbs_create_flow { @@ -1161,7 +1161,7 @@ __u32 max_wr; __u32 max_sge; __u32 srq_limit; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_create_xsrq { @@ -1175,7 +1175,7 @@ __u32 max_num_tags; __u32 xrcd_handle; __u32 cq_handle; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_create_srq_resp { @@ -1183,7 +1183,7 @@ __u32 max_wr; __u32 max_sge; __u32 srqn; - __u32 driver_data0; + __u32 driver_data; }; struct ib_uverbs_modify_srq { @@ -1191,14 +1191,14 @@ __u32 attr_mask; __u32 max_wr; __u32 srq_limit; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_srq { __aligned_u64 response; __u32 srq_handle; __u32 reserved; - __aligned_u64 driver_data0; + __aligned_u64 driver_data; }; struct ib_uverbs_query_srq_resp { @@ -1269,7 +1269,7 @@ * wq_handle1 * wq_handle2 */ - __u32 wq_handles0; + __u32 wq_handles; }; struct ib_uverbs_ex_create_rwq_ind_table_resp { @@ -1298,4 +1298,46 @@ #define IB_DEVICE_NAME_MAX 64 +/* + * bits 9, 15, 16, 19, 22, 27, 30, 31, 32, 33, 35 and 37 may be set by old + * kernels and should not be used. + */ +enum ib_uverbs_device_cap_flags { + IB_UVERBS_DEVICE_RESIZE_MAX_WR = 1 << 0, + IB_UVERBS_DEVICE_BAD_PKEY_CNTR = 1 << 1, + IB_UVERBS_DEVICE_BAD_QKEY_CNTR = 1 << 2, + IB_UVERBS_DEVICE_RAW_MULTI = 1 << 3, + IB_UVERBS_DEVICE_AUTO_PATH_MIG = 1 << 4, + IB_UVERBS_DEVICE_CHANGE_PHY_PORT = 1 << 5, + IB_UVERBS_DEVICE_UD_AV_PORT_ENFORCE = 1 << 6, + IB_UVERBS_DEVICE_CURR_QP_STATE_MOD = 1 << 7, + IB_UVERBS_DEVICE_SHUTDOWN_PORT = 1 << 8, + /* IB_UVERBS_DEVICE_INIT_TYPE = 1 << 9, (not in use) */ + IB_UVERBS_DEVICE_PORT_ACTIVE_EVENT = 1 << 10, + IB_UVERBS_DEVICE_SYS_IMAGE_GUID = 1 << 11, + IB_UVERBS_DEVICE_RC_RNR_NAK_GEN = 1 << 12, + IB_UVERBS_DEVICE_SRQ_RESIZE = 1 << 13, + IB_UVERBS_DEVICE_N_NOTIFY_CQ = 1 << 14, + IB_UVERBS_DEVICE_MEM_WINDOW = 1 << 17, + IB_UVERBS_DEVICE_UD_IP_CSUM = 1 << 18, + IB_UVERBS_DEVICE_XRC = 1 << 20, + IB_UVERBS_DEVICE_MEM_MGT_EXTENSIONS = 1 << 21, + IB_UVERBS_DEVICE_MEM_WINDOW_TYPE_2A = 1 << 23, + IB_UVERBS_DEVICE_MEM_WINDOW_TYPE_2B = 1 << 24, + IB_UVERBS_DEVICE_RC_IP_CSUM = 1 << 25, + /* Deprecated. Please use IB_UVERBS_RAW_PACKET_CAP_IP_CSUM. */ + IB_UVERBS_DEVICE_RAW_IP_CSUM = 1 << 26, + IB_UVERBS_DEVICE_MANAGED_FLOW_STEERING = 1 << 29, + /* Deprecated. Please use IB_UVERBS_RAW_PACKET_CAP_SCATTER_FCS. */ + IB_UVERBS_DEVICE_RAW_SCATTER_FCS = 1ULL << 34, + IB_UVERBS_DEVICE_PCI_WRITE_END_PADDING = 1ULL << 36, +}; + +enum ib_uverbs_raw_packet_caps { + IB_UVERBS_RAW_PACKET_CAP_CVLAN_STRIPPING = 1 << 0, + IB_UVERBS_RAW_PACKET_CAP_SCATTER_FCS = 1 << 1, + IB_UVERBS_RAW_PACKET_CAP_IP_CSUM = 1 << 2, + IB_UVERBS_RAW_PACKET_CAP_DELAY_DROP = 1 << 3, +}; + #endif /* IB_USER_VERBS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/configure -> _service:tar_scm:strace-6.1.tar.xz/configure
Changed
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for strace 5.14. +# Generated by GNU Autoconf 2.69 for strace 6.1. # # Report bugs to <strace-devel@lists.strace.io>. # @@ -11,7 +11,7 @@ # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # -# Copyright (c) 1999-2021 The strace developers. +# Copyright (c) 1999-2022 The strace developers. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## @@ -582,8 +582,8 @@ # Identity of this package. PACKAGE_NAME='strace' PACKAGE_TARNAME='strace' -PACKAGE_VERSION='5.14' -PACKAGE_STRING='strace 5.14' +PACKAGE_VERSION='6.1' +PACKAGE_STRING='strace 6.1' PACKAGE_BUGREPORT='strace-devel@lists.strace.io' PACKAGE_URL='https://strace.io' @@ -686,6 +686,7 @@ libdw_CPPFLAGS READELF mq_LIBS +m_LIBS clock_LIBS timer_LIBS dl_LIBS @@ -715,7 +716,8 @@ arch_mx32 arch_m32 arch -MANPAGE_DATE +SLM_MANPAGE_DATE +STRACE_MANPAGE_DATE COPYRIGHT_YEAR CODE_COVERAGE_RULES CODE_COVERAGE_LDFLAGS @@ -1402,7 +1404,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures strace 5.14 to adapt to many kinds of systems. +\`configure' configures strace 6.1 to adapt to many kinds of systems. Usage: $0 OPTION... VAR=VALUE... @@ -1472,7 +1474,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of strace 5.14:";; + short | recursive ) echo "Configuration of strace 6.1:";; esac cat <<\_ACEOF @@ -1599,14 +1601,14 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -strace configure 5.14 +strace configure 6.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. -Copyright (c) 1999-2021 The strace developers. +Copyright (c) 1999-2022 The strace developers. _ACEOF exit fi @@ -2339,7 +2341,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by strace $as_me 5.14, which was +It was created by strace $as_me 6.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2694,6 +2696,7 @@ + ac_aux_dir= for ac_dir in build-aux "$srcdir"/build-aux; do if test -f "$ac_dir/install-sh"; then @@ -3206,7 +3209,7 @@ # Define the identity of the package. PACKAGE='strace' - VERSION='5.14' + VERSION='6.1' cat >>confdefs.h <<_ACEOF @@ -5735,15 +5738,20 @@ -$as_echo "#define COPYRIGHT_YEAR \"2021\"" >>confdefs.h +$as_echo "#define COPYRIGHT_YEAR \"2022\"" >>confdefs.h + +COPYRIGHT_YEAR=2022 + + -COPYRIGHT_YEAR=2021 +$as_echo "#define STRACE_MANPAGE_DATE \"2022-10-16\"" >>confdefs.h +STRACE_MANPAGE_DATE=2022-10-16 -$as_echo "#define MANPAGE_DATE \"2021-08-24\"" >>confdefs.h +$as_echo "#define SLM_MANPAGE_DATE \"2022-01-01\"" >>confdefs.h -MANPAGE_DATE=2021-08-24 +SLM_MANPAGE_DATE=2022-01-01 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 @@ -6050,6 +6058,13 @@ $as_echo "#define IA64 1" >>confdefs.h ;; +loongarch64) + arch=loongarch64 + karch=loongarch + +$as_echo "#define LOONGARCH64 1" >>confdefs.h + + ;; m68k) arch=m68k @@ -6282,7 +6297,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <linux/version.h> -#define USE_OS_HEADERS (LINUX_VERSION_CODE > 331264 ? 1 : -1) +#define USE_OS_HEADERS (LINUX_VERSION_CODE > 393472 ? 1 : -1) int main () { @@ -7815,46 +7830,6 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is broken" >&5 -$as_echo_n "checking whether $CC is broken... " >&6; } -if ${st_cv_broken_cc+:} false; then : - $as_echo_n "(cached) " >&6 -else - saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $WARN_CFLAGS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - #include <stdlib.h> - char *f(char c) { - struct { char c, z; } *p = malloc(sizeof(p->c)); - p->c = c; - return &p->c; - } - - -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - st_cv_broken_cc=no -else - st_cv_broken_cc=yes -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS="$saved_CFLAGS" - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_broken_cc" >&5 -$as_echo "$st_cv_broken_cc" >&6; } - if test x"$st_cv_broken_cc" = xyes; then : - -$as_echo "#define HAVE_BROKEN_CC 1" >>confdefs.h - - cc_version="$(${CC} --version |head -1)" - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The C compiler is: $cc_version" >&5 -$as_echo "$as_me: WARNING: The C compiler is: $cc_version" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This C compiler is broken, use it at your own risk!" >&5 -$as_echo "$as_me: WARNING: This C compiler is broken, use it at your own risk!" >&2;} -fi - @@ -10455,7 +10430,7 @@ fi -for ac_func in accept4 be64toh fallocate fanotify_mark fcntl64 fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname open64 open_memstream preadv process_vm_readv process_vm_writev pwritev readahead signalfd stpcpy strerror strndup sync_file_range +for ac_func in accept4 be64toh fallocate fanotify_mark fcntl64 fopen64 fork fputs_unlocked fstatat ftruncate futimens iconv_open if_indextoname mempcpy open64 open_memstream preadv process_vm_readv process_vm_writev pwritev readahead signalfd stpcpy strerror strndup sync_file_range do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -10586,6 +10561,40 @@ fi +ac_fn_c_check_type "$LINENO" "struct termios2" "ac_cv_type_struct_termios2" "#include <linux/termios.h> +" +if test "x$ac_cv_type_struct_termios2" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TERMIOS2 1 +_ACEOF + + +fi + + +ac_fn_c_check_member "$LINENO" "struct termios" "c_ispeed" "ac_cv_member_struct_termios_c_ispeed" "#include <linux/termios.h> +" +if test "x$ac_cv_member_struct_termios_c_ispeed" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TERMIOS_C_ISPEED 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "struct termios" "c_ospeed" "ac_cv_member_struct_termios_c_ospeed" "#include <linux/termios.h> +" +if test "x$ac_cv_member_struct_termios_c_ospeed" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_TERMIOS_C_OSPEED 1 +_ACEOF + + +fi + + ac_fn_c_check_type "$LINENO" "struct user_desc" "ac_cv_type_struct_user_desc" "#include <asm/ldt.h> " if test "x$ac_cv_type_struct_user_desc" = xyes; then : @@ -10741,9 +10750,79 @@ fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_pkey" "ac_cv_member_siginfo_t_si_pkey" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_pkey" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_PKEY 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_addr_lsb" "ac_cv_member_siginfo_t_si_addr_lsb" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_addr_lsb" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_ADDR_LSB 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_lower" "ac_cv_member_siginfo_t_si_lower" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_lower" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_LOWER 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_upper" "ac_cv_member_siginfo_t_si_upper" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_upper" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_UPPER 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_perf_data" "ac_cv_member_siginfo_t_si_perf_data" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_perf_data" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_PERF_DATA 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_perf_type" "ac_cv_member_siginfo_t_si_perf_type" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_perf_type" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_PERF_TYPE 1 +_ACEOF -for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h elf.h gcov.h iconv.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/quota.h sys/signalfd.h sys/xattr.h ustat.h +fi +ac_fn_c_check_member "$LINENO" "siginfo_t" "si_perf_flags" "ac_cv_member_siginfo_t_si_perf_flags" "#include <signal.h> +" +if test "x$ac_cv_member_siginfo_t_si_perf_flags" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_SIGINFO_T_SI_PERF_FLAGS 1 +_ACEOF + + +fi + + +for ac_header in asm/cachectl.h asm/guarded_storage.h asm/sysmips.h elf.h gcov.h iconv.h linux/if_alg.h linux/if_xdp.h linux/ipx.h linux/nfc.h linux/qrtr.h linux/rxrpc.h mqueue.h netinet/sctp.h netipx/ipx.h paths.h scsi/sg.h sys/eventfd.h sys/fanotify.h sys/ipc.h sys/quota.h sys/signalfd.h sys/xattr.h ustat.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -10774,6 +10853,22 @@ done +for ac_header in linux/vm_sockets.h +do : + ac_fn_c_check_header_compile "$LINENO" "linux/vm_sockets.h" "ac_cv_header_linux_vm_sockets_h" "$ac_includes_default +#include <sys/socket.h> + +" +if test "x$ac_cv_header_linux_vm_sockets_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LINUX_VM_SOCKETS_H 1 +_ACEOF + +fi + +done + + for ac_header in asm/sigcontext.h do : ac_fn_c_check_header_compile "$LINENO" "asm/sigcontext.h" "ac_cv_header_asm_sigcontext_h" "#include <signal.h> @@ -10928,6 +11023,16 @@ fi +ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "map_extra" "ac_cv_member_struct_bpf_map_info_map_extra" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_struct_bpf_map_info_map_extra" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_BPF_MAP_INFO_MAP_EXTRA 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "map_flags" "ac_cv_member_struct_bpf_map_info_map_flags" "#include <linux/bpf.h> " if test "x$ac_cv_member_struct_bpf_map_info_map_flags" = xyes; then : @@ -10958,6 +11063,16 @@ fi +ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "pad" "ac_cv_member_struct_bpf_map_info_pad" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_struct_bpf_map_info_pad" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_BPF_MAP_INFO_PAD 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "struct bpf_map_info" "type" "ac_cv_member_struct_bpf_map_info_type" "#include <linux/bpf.h> " if test "x$ac_cv_member_struct_bpf_map_info_type" = xyes; then : @@ -11228,6 +11343,16 @@ fi +ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "recursion_misses" "ac_cv_member_struct_bpf_prog_info_recursion_misses" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_struct_bpf_prog_info_recursion_misses" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_BPF_PROG_INFO_RECURSION_MISSES 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "run_cnt" "ac_cv_member_struct_bpf_prog_info_run_cnt" "#include <linux/bpf.h> " if test "x$ac_cv_member_struct_bpf_prog_info_run_cnt" = xyes; then : @@ -11268,6 +11393,16 @@ fi +ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "verified_insns" "ac_cv_member_struct_bpf_prog_info_verified_insns" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_struct_bpf_prog_info_verified_insns" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_STRUCT_BPF_PROG_INFO_VERIFIED_INSNS 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "struct bpf_prog_info" "xlated_prog_insns" "ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" "#include <linux/bpf.h> " if test "x$ac_cv_member_struct_bpf_prog_info_xlated_prog_insns" = xyes; then : @@ -11548,6 +11683,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "fd_array" "ac_cv_member_union_bpf_attr_fd_array" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_fd_array" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_FD_ARRAY 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "file_flags" "ac_cv_member_union_bpf_attr_file_flags" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_file_flags" = xyes; then : @@ -11728,6 +11873,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.addrs" "ac_cv_member_union_bpf_attr_link_create_addrs" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_addrs" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_ADDRS 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.attach_type" "ac_cv_member_union_bpf_attr_link_create_attach_type" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_link_create_attach_type" = xyes; then : @@ -11738,6 +11893,36 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.bpf_cookie" "ac_cv_member_union_bpf_attr_link_create_bpf_cookie" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_bpf_cookie" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_BPF_COOKIE 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.cnt" "ac_cv_member_union_bpf_attr_link_create_cnt" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_cnt" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_CNT 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.cookies" "ac_cv_member_union_bpf_attr_link_create_cookies" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_cookies" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_COOKIES 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.flags" "ac_cv_member_union_bpf_attr_link_create_flags" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_link_create_flags" = xyes; then : @@ -11748,6 +11933,46 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.iter_info" "ac_cv_member_union_bpf_attr_link_create_iter_info" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_iter_info" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.iter_info_len" "ac_cv_member_union_bpf_attr_link_create_iter_info_len" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_iter_info_len" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO_LEN 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.kprobe_multi" "ac_cv_member_union_bpf_attr_link_create_kprobe_multi" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_kprobe_multi" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_KPROBE_MULTI 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.perf_event" "ac_cv_member_union_bpf_attr_link_create_perf_event" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_perf_event" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_PERF_EVENT 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.prog_fd" "ac_cv_member_union_bpf_attr_link_create_prog_fd" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_link_create_prog_fd" = xyes; then : @@ -11758,6 +11983,26 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.syms" "ac_cv_member_union_bpf_attr_link_create_syms" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_syms" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_SYMS 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.target_btf_id" "ac_cv_member_union_bpf_attr_link_create_target_btf_id" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_create_target_btf_id" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_BTF_ID 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_create.target_fd" "ac_cv_member_union_bpf_attr_link_create_target_fd" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_link_create_target_fd" = xyes; then : @@ -11768,6 +12013,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_id" "ac_cv_member_union_bpf_attr_link_id" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_link_id" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_LINK_ID 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "link_update.flags" "ac_cv_member_union_bpf_attr_link_update_flags" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_link_update_flags" = xyes; then : @@ -11838,6 +12093,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_extra" "ac_cv_member_union_bpf_attr_map_extra" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_map_extra" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_MAP_EXTRA 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "map_fd" "ac_cv_member_union_bpf_attr_map_fd" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_map_fd" = xyes; then : @@ -11948,6 +12213,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "pad" "ac_cv_member_union_bpf_attr_pad" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_pad" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_PAD 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "pathname" "ac_cv_member_union_bpf_attr_pathname" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_pathname" = xyes; then : @@ -12218,6 +12493,26 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.batch_size" "ac_cv_member_union_bpf_attr_test_batch_size" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_test_batch_size" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_TEST_BATCH_SIZE 1 +_ACEOF + + +fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.cpu" "ac_cv_member_union_bpf_attr_test_cpu" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_test_cpu" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_TEST_CPU 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.ctx_in" "ac_cv_member_union_bpf_attr_test_ctx_in" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_test_ctx_in" = xyes; then : @@ -12308,6 +12603,16 @@ fi +ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.flags" "ac_cv_member_union_bpf_attr_test_flags" "#include <linux/bpf.h> +" +if test "x$ac_cv_member_union_bpf_attr_test_flags" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNION_BPF_ATTR_TEST_FLAGS 1 +_ACEOF + + +fi ac_fn_c_check_member "$LINENO" "union bpf_attr" "test.prog_fd" "ac_cv_member_union_bpf_attr_test_prog_fd" "#include <linux/bpf.h> " if test "x$ac_cv_member_union_bpf_attr_test_prog_fd" = xyes; then : @@ -12532,4516 +12837,862 @@ fi -ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kvm.h> -" -if test "x$ac_cv_type_struct_kvm_cpuid2" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_KVM_CPUID2 1 -_ACEOF - - -fi -ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h> -" -if test "x$ac_cv_type_struct_kvm_regs" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_KVM_REGS 1 -_ACEOF - - -fi -ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h> -" -if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_KVM_SREGS 1 -_ACEOF - - -fi -ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h> -" -if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1 -_ACEOF - - -fi - - -saved_CPPFLAGS="$CPPFLAGS" - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <linux/signal.h> can be used along with <signal.h>" >&5 -$as_echo_n "checking whether <linux/signal.h> can be used along with <signal.h>... " >&6; } -if ${st_cv_linux_signal+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include <signal.h> -#include <linux/signal.h> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - st_cv_linux_signal=yes -else - st_cv_linux_signal=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_linux_signal" >&5 -$as_echo "$st_cv_linux_signal" >&6; } -if test "x$st_cv_linux_signal" = xno; then - mkdir -p src/linux/generic/linux - cp $srcdir/src/linux/generic/signal.h.in src/linux/generic/linux/signal.h - CPPFLAGS="-Isrc/linux/generic $CPPFLAGS" -fi - -ac_fn_c_check_type "$LINENO" "struct __aio_sigset" "ac_cv_type_struct___aio_sigset" "#include <linux/aio_abi.h> -" -if test "x$ac_cv_type_struct___aio_sigset" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT___AIO_SIGSET 1 -_ACEOF - - -fi - - -ac_fn_c_check_member "$LINENO" "struct iocb" "aio_flags" "ac_cv_member_struct_iocb_aio_flags" "#include <linux/aio_abi.h> -" -if test "x$ac_cv_member_struct_iocb_aio_flags" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IOCB_AIO_FLAGS 1 -_ACEOF - - -fi -ac_fn_c_check_member "$LINENO" "struct iocb" "aio_rw_flags" "ac_cv_member_struct_iocb_aio_rw_flags" "#include <linux/aio_abi.h> -" -if test "x$ac_cv_member_struct_iocb_aio_rw_flags" = xyes; then : - -cat >>confdefs.h <<_ACEOF -#define HAVE_STRUCT_IOCB_AIO_RW_FLAGS 1 -_ACEOF - - -fi - - -CPPFLAGS="$saved_CPPFLAGS" - - - -ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" " -#include <linux/loop.h> - -" -if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" " -#include <linux/loop.h> - -" -if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" " -#include <linux/loop.h> - -" -if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" " -#include <linux/loop.h> - -" -if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" " -#include <linux/loop.h> - -" -if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "TCA_ACT_UNSPEC" "ac_cv_have_decl_TCA_ACT_UNSPEC" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_UNSPEC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_UNSPEC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_KIND" "ac_cv_have_decl_TCA_ACT_KIND" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_KIND" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_KIND $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_OPTIONS" "ac_cv_have_decl_TCA_ACT_OPTIONS" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_OPTIONS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_OPTIONS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_INDEX" "ac_cv_have_decl_TCA_ACT_INDEX" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_INDEX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_INDEX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_STATS" "ac_cv_have_decl_TCA_ACT_STATS" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_STATS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_STATS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_PAD" "ac_cv_have_decl_TCA_ACT_PAD" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_PAD" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_PAD $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_COOKIE" "ac_cv_have_decl_TCA_ACT_COOKIE" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_COOKIE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_COOKIE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_FLAGS" "ac_cv_have_decl_TCA_ACT_FLAGS" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_FLAGS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_FLAGS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_HW_STATS" "ac_cv_have_decl_TCA_ACT_HW_STATS" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_HW_STATS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_HW_STATS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "TCA_ACT_USED_HW_STATS" "ac_cv_have_decl_TCA_ACT_USED_HW_STATS" " -#include <linux/pkt_cls.h> - -" -if test "x$ac_cv_have_decl_TCA_ACT_USED_HW_STATS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_TCA_ACT_USED_HW_STATS $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "KERN_OSTYPE" "ac_cv_have_decl_KERN_OSTYPE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_OSTYPE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_OSTYPE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_OSRELEASE" "ac_cv_have_decl_KERN_OSRELEASE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_OSRELEASE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_OSRELEASE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_OSREV" "ac_cv_have_decl_KERN_OSREV" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_OSREV" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_OSREV $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_VERSION" "ac_cv_have_decl_KERN_VERSION" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_VERSION" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_VERSION $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SECUREMASK" "ac_cv_have_decl_KERN_SECUREMASK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SECUREMASK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SECUREMASK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PROF" "ac_cv_have_decl_KERN_PROF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PROF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PROF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_NODENAME" "ac_cv_have_decl_KERN_NODENAME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_NODENAME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_NODENAME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_DOMAINNAME" "ac_cv_have_decl_KERN_DOMAINNAME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_DOMAINNAME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_DOMAINNAME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PANIC" "ac_cv_have_decl_KERN_PANIC" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PANIC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PANIC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_REALROOTDEV" "ac_cv_have_decl_KERN_REALROOTDEV" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_REALROOTDEV" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_REALROOTDEV $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SPARC_REBOOT" "ac_cv_have_decl_KERN_SPARC_REBOOT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SPARC_REBOOT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SPARC_REBOOT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_CTLALTDEL" "ac_cv_have_decl_KERN_CTLALTDEL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_CTLALTDEL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_CTLALTDEL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PRINTK" "ac_cv_have_decl_KERN_PRINTK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PRINTK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PRINTK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_NAMETRANS" "ac_cv_have_decl_KERN_NAMETRANS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_NAMETRANS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_NAMETRANS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PPC_HTABRECLAIM" "ac_cv_have_decl_KERN_PPC_HTABRECLAIM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PPC_HTABRECLAIM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PPC_HTABRECLAIM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PPC_ZEROPAGED" "ac_cv_have_decl_KERN_PPC_ZEROPAGED" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PPC_ZEROPAGED" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PPC_ZEROPAGED $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PPC_POWERSAVE_NAP" "ac_cv_have_decl_KERN_PPC_POWERSAVE_NAP" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PPC_POWERSAVE_NAP" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PPC_POWERSAVE_NAP $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MODPROBE" "ac_cv_have_decl_KERN_MODPROBE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MODPROBE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MODPROBE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SG_BIG_BUFF" "ac_cv_have_decl_KERN_SG_BIG_BUFF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SG_BIG_BUFF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SG_BIG_BUFF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_ACCT" "ac_cv_have_decl_KERN_ACCT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_ACCT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_ACCT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PPC_L2CR" "ac_cv_have_decl_KERN_PPC_L2CR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PPC_L2CR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PPC_L2CR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_RTSIGNR" "ac_cv_have_decl_KERN_RTSIGNR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_RTSIGNR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_RTSIGNR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_RTSIGMAX" "ac_cv_have_decl_KERN_RTSIGMAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_RTSIGMAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_RTSIGMAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SHMMAX" "ac_cv_have_decl_KERN_SHMMAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SHMMAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SHMMAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MSGMAX" "ac_cv_have_decl_KERN_MSGMAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MSGMAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MSGMAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MSGMNB" "ac_cv_have_decl_KERN_MSGMNB" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MSGMNB" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MSGMNB $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MSGPOOL" "ac_cv_have_decl_KERN_MSGPOOL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MSGPOOL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MSGPOOL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SYSRQ" "ac_cv_have_decl_KERN_SYSRQ" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SYSRQ" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SYSRQ $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MAX_THREADS" "ac_cv_have_decl_KERN_MAX_THREADS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MAX_THREADS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MAX_THREADS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_RANDOM" "ac_cv_have_decl_KERN_RANDOM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_RANDOM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_RANDOM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SHMALL" "ac_cv_have_decl_KERN_SHMALL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SHMALL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SHMALL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MSGMNI" "ac_cv_have_decl_KERN_MSGMNI" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MSGMNI" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MSGMNI $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SEM" "ac_cv_have_decl_KERN_SEM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SEM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SEM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SPARC_STOP_A" "ac_cv_have_decl_KERN_SPARC_STOP_A" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SPARC_STOP_A" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SPARC_STOP_A $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SHMMNI" "ac_cv_have_decl_KERN_SHMMNI" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SHMMNI" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SHMMNI $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_OVERFLOWUID" "ac_cv_have_decl_KERN_OVERFLOWUID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_OVERFLOWUID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_OVERFLOWUID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_OVERFLOWGID" "ac_cv_have_decl_KERN_OVERFLOWGID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_OVERFLOWGID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_OVERFLOWGID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SHMPATH" "ac_cv_have_decl_KERN_SHMPATH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SHMPATH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SHMPATH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_HOTPLUG" "ac_cv_have_decl_KERN_HOTPLUG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_HOTPLUG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_HOTPLUG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_IEEE_EMULATION_WARNINGS" "ac_cv_have_decl_KERN_IEEE_EMULATION_WARNINGS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_IEEE_EMULATION_WARNINGS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_IEEE_EMULATION_WARNINGS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_S390_USER_DEBUG_LOGGING" "ac_cv_have_decl_KERN_S390_USER_DEBUG_LOGGING" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_S390_USER_DEBUG_LOGGING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_S390_USER_DEBUG_LOGGING $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_CORE_USES_PID" "ac_cv_have_decl_KERN_CORE_USES_PID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_CORE_USES_PID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_CORE_USES_PID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_TAINTED" "ac_cv_have_decl_KERN_TAINTED" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_TAINTED" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_TAINTED $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_CADPID" "ac_cv_have_decl_KERN_CADPID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_CADPID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_CADPID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PIDMAX" "ac_cv_have_decl_KERN_PIDMAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PIDMAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PIDMAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_CORE_PATTERN" "ac_cv_have_decl_KERN_CORE_PATTERN" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_CORE_PATTERN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_CORE_PATTERN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_OOPS" "ac_cv_have_decl_KERN_PANIC_ON_OOPS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PANIC_ON_OOPS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PANIC_ON_OOPS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_HPPA_PWRSW" "ac_cv_have_decl_KERN_HPPA_PWRSW" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_HPPA_PWRSW" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_HPPA_PWRSW $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_HPPA_UNALIGNED" "ac_cv_have_decl_KERN_HPPA_UNALIGNED" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_HPPA_UNALIGNED" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_HPPA_UNALIGNED $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PRINTK_RATELIMIT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PRINTK_RATELIMIT_BURST" "ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PRINTK_RATELIMIT_BURST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PTY" "ac_cv_have_decl_KERN_PTY" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PTY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PTY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_NGROUPS_MAX" "ac_cv_have_decl_KERN_NGROUPS_MAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_NGROUPS_MAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_NGROUPS_MAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SPARC_SCONS_PWROFF" "ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SPARC_SCONS_PWROFF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SPARC_SCONS_PWROFF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_HZ_TIMER" "ac_cv_have_decl_KERN_HZ_TIMER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_HZ_TIMER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_HZ_TIMER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_UNKNOWN_NMI_PANIC" "ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_UNKNOWN_NMI_PANIC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_UNKNOWN_NMI_PANIC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_BOOTLOADER_TYPE" "ac_cv_have_decl_KERN_BOOTLOADER_TYPE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_BOOTLOADER_TYPE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_BOOTLOADER_TYPE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_RANDOMIZE" "ac_cv_have_decl_KERN_RANDOMIZE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_RANDOMIZE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_RANDOMIZE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SETUID_DUMPABLE" "ac_cv_have_decl_KERN_SETUID_DUMPABLE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SETUID_DUMPABLE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SETUID_DUMPABLE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_SPIN_RETRY" "ac_cv_have_decl_KERN_SPIN_RETRY" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_SPIN_RETRY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_SPIN_RETRY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_ACPI_VIDEO_FLAGS" "ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_ACPI_VIDEO_FLAGS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_ACPI_VIDEO_FLAGS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_IA64_UNALIGNED" "ac_cv_have_decl_KERN_IA64_UNALIGNED" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_IA64_UNALIGNED" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_IA64_UNALIGNED $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_COMPAT_LOG" "ac_cv_have_decl_KERN_COMPAT_LOG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_COMPAT_LOG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_COMPAT_LOG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_MAX_LOCK_DEPTH" "ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_MAX_LOCK_DEPTH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_MAX_LOCK_DEPTH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_NMI_WATCHDOG" "ac_cv_have_decl_KERN_NMI_WATCHDOG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_NMI_WATCHDOG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_NMI_WATCHDOG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_NMI" "ac_cv_have_decl_KERN_PANIC_ON_NMI" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PANIC_ON_NMI" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PANIC_ON_NMI $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PANIC_ON_WARN" "ac_cv_have_decl_KERN_PANIC_ON_WARN" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PANIC_ON_WARN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PANIC_ON_WARN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "KERN_PANIC_PRINT" "ac_cv_have_decl_KERN_PANIC_PRINT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_KERN_PANIC_PRINT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_KERN_PANIC_PRINT $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "NET_CORE" "ac_cv_have_decl_NET_CORE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_ETHER" "ac_cv_have_decl_NET_ETHER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_ETHER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_ETHER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_802" "ac_cv_have_decl_NET_802" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_802" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_802 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_UNIX" "ac_cv_have_decl_NET_UNIX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_UNIX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_UNIX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4" "ac_cv_have_decl_NET_IPV4" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPX" "ac_cv_have_decl_NET_IPX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_ATALK" "ac_cv_have_decl_NET_ATALK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_ATALK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_ATALK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_NETROM" "ac_cv_have_decl_NET_NETROM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_NETROM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_NETROM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_AX25" "ac_cv_have_decl_NET_AX25" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_AX25" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_AX25 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_BRIDGE" "ac_cv_have_decl_NET_BRIDGE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_BRIDGE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_BRIDGE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_ROSE" "ac_cv_have_decl_NET_ROSE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_ROSE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_ROSE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6" "ac_cv_have_decl_NET_IPV6" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV6" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_X25" "ac_cv_have_decl_NET_X25" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_X25" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_X25 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TR" "ac_cv_have_decl_NET_TR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_DECNET" "ac_cv_have_decl_NET_DECNET" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_DECNET" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_DECNET $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_ECONET" "ac_cv_have_decl_NET_ECONET" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_ECONET" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_ECONET $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_SCTP" "ac_cv_have_decl_NET_SCTP" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_SCTP" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_SCTP $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_LLC" "ac_cv_have_decl_NET_LLC" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_LLC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_LLC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_NETFILTER" "ac_cv_have_decl_NET_NETFILTER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_NETFILTER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_NETFILTER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_DCCP" "ac_cv_have_decl_NET_DCCP" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_DCCP" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_DCCP $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IRDA" "ac_cv_have_decl_NET_IRDA" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IRDA" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IRDA $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "NET_CORE_WMEM_MAX" "ac_cv_have_decl_NET_CORE_WMEM_MAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_WMEM_MAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_WMEM_MAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_RMEM_MAX" "ac_cv_have_decl_NET_CORE_RMEM_MAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_RMEM_MAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_RMEM_MAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_WMEM_DEFAULT" "ac_cv_have_decl_NET_CORE_WMEM_DEFAULT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_WMEM_DEFAULT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_WMEM_DEFAULT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_RMEM_DEFAULT" "ac_cv_have_decl_NET_CORE_RMEM_DEFAULT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_RMEM_DEFAULT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_RMEM_DEFAULT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_MAX_BACKLOG" "ac_cv_have_decl_NET_CORE_MAX_BACKLOG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_MAX_BACKLOG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_MAX_BACKLOG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_FASTROUTE" "ac_cv_have_decl_NET_CORE_FASTROUTE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_FASTROUTE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_FASTROUTE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_MSG_COST" "ac_cv_have_decl_NET_CORE_MSG_COST" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_MSG_COST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_MSG_COST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_MSG_BURST" "ac_cv_have_decl_NET_CORE_MSG_BURST" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_MSG_BURST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_MSG_BURST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_OPTMEM_MAX" "ac_cv_have_decl_NET_CORE_OPTMEM_MAX" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_OPTMEM_MAX" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_OPTMEM_MAX $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_HOT_LIST_LENGTH" "ac_cv_have_decl_NET_CORE_HOT_LIST_LENGTH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_HOT_LIST_LENGTH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_HOT_LIST_LENGTH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_DIVERT_VERSION" "ac_cv_have_decl_NET_CORE_DIVERT_VERSION" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_DIVERT_VERSION" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_DIVERT_VERSION $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_NO_CONG_THRESH" "ac_cv_have_decl_NET_CORE_NO_CONG_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_NO_CONG_THRESH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_NO_CONG_THRESH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_NO_CONG" "ac_cv_have_decl_NET_CORE_NO_CONG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_NO_CONG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_NO_CONG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_LO_CONG" "ac_cv_have_decl_NET_CORE_LO_CONG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_LO_CONG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_LO_CONG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_MOD_CONG" "ac_cv_have_decl_NET_CORE_MOD_CONG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_MOD_CONG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_MOD_CONG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_DEV_WEIGHT" "ac_cv_have_decl_NET_CORE_DEV_WEIGHT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_DEV_WEIGHT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_DEV_WEIGHT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_SOMAXCONN" "ac_cv_have_decl_NET_CORE_SOMAXCONN" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_SOMAXCONN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_SOMAXCONN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_DESTROY_DELAY" "ac_cv_have_decl_NET_CORE_DESTROY_DELAY" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_DESTROY_DELAY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_DESTROY_DELAY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_BUDGET" "ac_cv_have_decl_NET_CORE_BUDGET" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_BUDGET" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_BUDGET $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_ETIME" "ac_cv_have_decl_NET_CORE_AEVENT_ETIME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_AEVENT_ETIME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_AEVENT_ETIME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_AEVENT_RSEQTH" "ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_AEVENT_RSEQTH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_AEVENT_RSEQTH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CORE_WARNINGS" "ac_cv_have_decl_NET_CORE_WARNINGS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CORE_WARNINGS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CORE_WARNINGS $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "NET_IPV4_FORWARD" "ac_cv_have_decl_NET_IPV4_FORWARD" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_FORWARD" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_FORWARD $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_DYNADDR" "ac_cv_have_decl_NET_IPV4_DYNADDR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_DYNADDR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_DYNADDR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF" "ac_cv_have_decl_NET_IPV4_CONF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_NEIGH" "ac_cv_have_decl_NET_IPV4_NEIGH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_NEIGH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_NEIGH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE" "ac_cv_have_decl_NET_IPV4_ROUTE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_FIB_HASH" "ac_cv_have_decl_NET_IPV4_FIB_HASH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_FIB_HASH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_FIB_HASH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_NETFILTER" "ac_cv_have_decl_NET_IPV4_NETFILTER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_NETFILTER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_NETFILTER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_TIMESTAMPS" "ac_cv_have_decl_NET_IPV4_TCP_TIMESTAMPS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_TIMESTAMPS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_TIMESTAMPS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WINDOW_SCALING" "ac_cv_have_decl_NET_IPV4_TCP_WINDOW_SCALING" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_WINDOW_SCALING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_WINDOW_SCALING $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_SACK" "ac_cv_have_decl_NET_IPV4_TCP_SACK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_SACK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_SACK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRANS_COLLAPSE" "ac_cv_have_decl_NET_IPV4_TCP_RETRANS_COLLAPSE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRANS_COLLAPSE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_RETRANS_COLLAPSE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_DEFAULT_TTL" "ac_cv_have_decl_NET_IPV4_DEFAULT_TTL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_DEFAULT_TTL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_DEFAULT_TTL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_AUTOCONFIG" "ac_cv_have_decl_NET_IPV4_AUTOCONFIG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_AUTOCONFIG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_AUTOCONFIG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_NO_PMTU_DISC" "ac_cv_have_decl_NET_IPV4_NO_PMTU_DISC" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_NO_PMTU_DISC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_NO_PMTU_DISC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_SYN_RETRIES" "ac_cv_have_decl_NET_IPV4_TCP_SYN_RETRIES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_SYN_RETRIES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_SYN_RETRIES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_HIGH_THRESH" "ac_cv_have_decl_NET_IPV4_IPFRAG_HIGH_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_HIGH_THRESH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IPFRAG_HIGH_THRESH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_LOW_THRESH" "ac_cv_have_decl_NET_IPV4_IPFRAG_LOW_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_LOW_THRESH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IPFRAG_LOW_THRESH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_TIME" "ac_cv_have_decl_NET_IPV4_IPFRAG_TIME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_TIME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IPFRAG_TIME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_MAX_KA_PROBES" "ac_cv_have_decl_NET_IPV4_TCP_MAX_KA_PROBES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_MAX_KA_PROBES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_MAX_KA_PROBES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_TIME" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_TIME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_TIME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_TIME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_PROBES" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_PROBES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_PROBES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_PROBES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRIES1" "ac_cv_have_decl_NET_IPV4_TCP_RETRIES1" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRIES1" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_RETRIES1 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_RETRIES2" "ac_cv_have_decl_NET_IPV4_TCP_RETRIES2" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_RETRIES2" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_RETRIES2 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_FIN_TIMEOUT" "ac_cv_have_decl_NET_IPV4_TCP_FIN_TIMEOUT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_FIN_TIMEOUT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_FIN_TIMEOUT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IP_MASQ_DEBUG" "ac_cv_have_decl_NET_IPV4_IP_MASQ_DEBUG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IP_MASQ_DEBUG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IP_MASQ_DEBUG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_SYNCOOKIES" "ac_cv_have_decl_NET_TCP_SYNCOOKIES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_SYNCOOKIES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_SYNCOOKIES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_STDURG" "ac_cv_have_decl_NET_TCP_STDURG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_STDURG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_STDURG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_RFC1337" "ac_cv_have_decl_NET_TCP_RFC1337" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_RFC1337" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_RFC1337 $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_SYN_TAILDROP" "ac_cv_have_decl_NET_TCP_SYN_TAILDROP" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_SYN_TAILDROP" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_SYN_TAILDROP $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SYN_BACKLOG" "ac_cv_have_decl_NET_TCP_MAX_SYN_BACKLOG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MAX_SYN_BACKLOG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MAX_SYN_BACKLOG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_LOCAL_PORT_RANGE" "ac_cv_have_decl_NET_IPV4_LOCAL_PORT_RANGE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_LOCAL_PORT_RANGE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_LOCAL_PORT_RANGE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHO_IGNORE_ALL" "ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_ALL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_ALL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_ALL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" "ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_SOURCEQUENCH_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_SOURCEQUENCH_RATE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_SOURCEQUENCH_RATE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_SOURCEQUENCH_RATE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_DESTUNREACH_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_DESTUNREACH_RATE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_DESTUNREACH_RATE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_DESTUNREACH_RATE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_TIMEEXCEED_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_TIMEEXCEED_RATE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_TIMEEXCEED_RATE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_TIMEEXCEED_RATE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_PARAMPROB_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_PARAMPROB_RATE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_PARAMPROB_RATE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_PARAMPROB_RATE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ECHOREPLY_RATE" "ac_cv_have_decl_NET_IPV4_ICMP_ECHOREPLY_RATE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ECHOREPLY_RATE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_ECHOREPLY_RATE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" "ac_cv_have_decl_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MEMBERSHIPS" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MEMBERSHIPS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MEMBERSHIPS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IGMP_MAX_MEMBERSHIPS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_TW_RECYCLE" "ac_cv_have_decl_NET_TCP_TW_RECYCLE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_TW_RECYCLE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_TW_RECYCLE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ALWAYS_DEFRAG" "ac_cv_have_decl_NET_IPV4_ALWAYS_DEFRAG" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ALWAYS_DEFRAG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ALWAYS_DEFRAG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_KEEPALIVE_INTVL" "ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_INTVL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_KEEPALIVE_INTVL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_INTVL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_THRESHOLD" "ac_cv_have_decl_NET_IPV4_INET_PEER_THRESHOLD" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_THRESHOLD" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_INET_PEER_THRESHOLD $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_MINTTL" "ac_cv_have_decl_NET_IPV4_INET_PEER_MINTTL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_MINTTL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_INET_PEER_MINTTL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_MAXTTL" "ac_cv_have_decl_NET_IPV4_INET_PEER_MAXTTL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_MAXTTL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_INET_PEER_MAXTTL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_GC_MINTIME" "ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MINTIME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MINTIME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_INET_PEER_GC_MINTIME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_INET_PEER_GC_MAXTIME" "ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MAXTIME" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_INET_PEER_GC_MAXTIME" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_INET_PEER_GC_MAXTIME $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ORPHAN_RETRIES" "ac_cv_have_decl_NET_TCP_ORPHAN_RETRIES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ORPHAN_RETRIES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ORPHAN_RETRIES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ABORT_ON_OVERFLOW" "ac_cv_have_decl_NET_TCP_ABORT_ON_OVERFLOW" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ABORT_ON_OVERFLOW" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ABORT_ON_OVERFLOW $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_SYNACK_RETRIES" "ac_cv_have_decl_NET_TCP_SYNACK_RETRIES" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_SYNACK_RETRIES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_SYNACK_RETRIES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_ORPHANS" "ac_cv_have_decl_NET_TCP_MAX_ORPHANS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MAX_ORPHANS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MAX_ORPHANS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_TW_BUCKETS" "ac_cv_have_decl_NET_TCP_MAX_TW_BUCKETS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MAX_TW_BUCKETS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MAX_TW_BUCKETS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_FACK" "ac_cv_have_decl_NET_TCP_FACK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_FACK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_FACK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_REORDERING" "ac_cv_have_decl_NET_TCP_REORDERING" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_REORDERING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_REORDERING $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ECN" "ac_cv_have_decl_NET_TCP_ECN" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ECN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ECN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_DSACK" "ac_cv_have_decl_NET_TCP_DSACK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_DSACK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_DSACK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MEM" "ac_cv_have_decl_NET_TCP_MEM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MEM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MEM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_WMEM" "ac_cv_have_decl_NET_TCP_WMEM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_WMEM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_WMEM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_RMEM" "ac_cv_have_decl_NET_TCP_RMEM" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_RMEM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_RMEM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_APP_WIN" "ac_cv_have_decl_NET_TCP_APP_WIN" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_APP_WIN" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_APP_WIN $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ADV_WIN_SCALE" "ac_cv_have_decl_NET_TCP_ADV_WIN_SCALE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ADV_WIN_SCALE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ADV_WIN_SCALE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_NONLOCAL_BIND" "ac_cv_have_decl_NET_IPV4_NONLOCAL_BIND" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_NONLOCAL_BIND" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_NONLOCAL_BIND $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_RATELIMIT" "ac_cv_have_decl_NET_IPV4_ICMP_RATELIMIT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_RATELIMIT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_RATELIMIT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_RATEMASK" "ac_cv_have_decl_NET_IPV4_ICMP_RATEMASK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_RATEMASK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_RATEMASK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_TW_REUSE" "ac_cv_have_decl_NET_TCP_TW_REUSE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_TW_REUSE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_TW_REUSE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO" "ac_cv_have_decl_NET_TCP_FRTO" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_FRTO" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_FRTO $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_LOW_LATENCY" "ac_cv_have_decl_NET_TCP_LOW_LATENCY" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_LOW_LATENCY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_LOW_LATENCY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV4_IPFRAG_SECRET_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_SECRET_INTERVAL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IPFRAG_SECRET_INTERVAL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IGMP_MAX_MSF" "ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_IGMP_MAX_MSF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IGMP_MAX_MSF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_NO_METRICS_SAVE" "ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_NO_METRICS_SAVE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_NO_METRICS_SAVE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_DEFAULT_WIN_SCALE" "ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_DEFAULT_WIN_SCALE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MODERATE_RCVBUF" "ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MODERATE_RCVBUF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MODERATE_RCVBUF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_TSO_WIN_DIVISOR" "ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_TSO_WIN_DIVISOR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_BIC_BETA" "ac_cv_have_decl_NET_TCP_BIC_BETA" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_BIC_BETA" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_BIC_BETA $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" "ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_CONG_CONTROL" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct kbdiacruc" "ac_cv_type_struct_kbdiacruc" "#include <linux/kd.h> " -if test "x$ac_cv_have_decl_NET_TCP_CONG_CONTROL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kbdiacruc" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_CONG_CONTROL $ac_have_decl +#define HAVE_STRUCT_KBDIACRUC 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ABC" "ac_cv_have_decl_NET_TCP_ABC" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ABC" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ABC $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_IPFRAG_MAX_DIST" "ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_IPFRAG_MAX_DIST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MTU_PROBING" "ac_cv_have_decl_NET_TCP_MTU_PROBING" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct kbdiacrsuc" "ac_cv_type_struct_kbdiacrsuc" "#include <linux/kd.h> " -if test "x$ac_cv_have_decl_NET_TCP_MTU_PROBING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kbdiacrsuc" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MTU_PROBING $ac_have_decl +#define HAVE_STRUCT_KBDIACRSUC 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_BASE_MSS" "ac_cv_have_decl_NET_TCP_BASE_MSS" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_TCP_BASE_MSS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_BASE_MSS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" "ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_DMA_COPYBREAK" "ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_DMA_COPYBREAK" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_DMA_COPYBREAK $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_SLOW_START_AFTER_IDLE" "ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_SLOW_START_AFTER_IDLE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_ENABLE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_ENABLE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_CACHE_BUCKET_SIZE" "ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CIPSOV4_CACHE_BUCKET_SIZE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_OPTFMT" "ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_OPTFMT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_CIPSOV4_RBM_STRICTVALID" "ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_CIPSOV4_RBM_STRICTVALID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_AVAIL_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_AVAIL_CONG_CONTROL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_ALLOWED_CONG_CONTROL" "ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_ALLOWED_CONG_CONTROL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_MAX_SSTHRESH" "ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_MAX_SSTHRESH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_MAX_SSTHRESH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_TCP_FRTO_RESPONSE" "ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_TCP_FRTO_RESPONSE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_TCP_FRTO_RESPONSE $ac_have_decl -_ACEOF - - -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORWARDING" "ac_cv_have_decl_NET_IPV4_CONF_FORWARDING" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_type "$LINENO" "struct kvm_cpuid2" "ac_cv_type_struct_kvm_cpuid2" "#include <linux/kvm.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORWARDING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kvm_cpuid2" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_FORWARDING $ac_have_decl +#define HAVE_STRUCT_KVM_CPUID2 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_MC_FORWARDING" "ac_cv_have_decl_NET_IPV4_CONF_MC_FORWARDING" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_MC_FORWARDING" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_MC_FORWARDING $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROXY_ARP" "ac_cv_have_decl_NET_IPV4_CONF_PROXY_ARP" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROXY_ARP" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_PROXY_ARP $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ACCEPT_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_REDIRECTS" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct kvm_regs" "ac_cv_type_struct_kvm_regs" "#include <linux/kvm.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_REDIRECTS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kvm_regs" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ACCEPT_REDIRECTS $ac_have_decl +#define HAVE_STRUCT_KVM_REGS 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SECURE_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_SECURE_REDIRECTS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_SECURE_REDIRECTS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_SECURE_REDIRECTS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SEND_REDIRECTS" "ac_cv_have_decl_NET_IPV4_CONF_SEND_REDIRECTS" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_SEND_REDIRECTS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_SEND_REDIRECTS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_SHARED_MEDIA" "ac_cv_have_decl_NET_IPV4_CONF_SHARED_MEDIA" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct kvm_sregs" "ac_cv_type_struct_kvm_sregs" "#include <linux/kvm.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_SHARED_MEDIA" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kvm_sregs" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_SHARED_MEDIA $ac_have_decl +#define HAVE_STRUCT_KVM_SREGS 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_RP_FILTER" "ac_cv_have_decl_NET_IPV4_CONF_RP_FILTER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_RP_FILTER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_RP_FILTER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" "ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_BOOTP_RELAY" "ac_cv_have_decl_NET_IPV4_CONF_BOOTP_RELAY" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct kvm_userspace_memory_region" "ac_cv_type_struct_kvm_userspace_memory_region" "#include <linux/kvm.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_BOOTP_RELAY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_kvm_userspace_memory_region" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_BOOTP_RELAY $ac_have_decl +#define HAVE_STRUCT_KVM_USERSPACE_MEMORY_REGION 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_LOG_MARTIANS" "ac_cv_have_decl_NET_IPV4_CONF_LOG_MARTIANS" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_LOG_MARTIANS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_LOG_MARTIANS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_TAG" "ac_cv_have_decl_NET_IPV4_CONF_TAG" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_TAG" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_TAG $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARPFILTER" "ac_cv_have_decl_NET_IPV4_CONF_ARPFILTER" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_type "$LINENO" "struct sockaddr_alg_new" "ac_cv_type_struct_sockaddr_alg_new" "#include <netinet/in.h> +#include <linux/if_alg.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARPFILTER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_sockaddr_alg_new" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ARPFILTER $ac_have_decl +#define HAVE_STRUCT_SOCKADDR_ALG_NEW 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_MEDIUM_ID" "ac_cv_have_decl_NET_IPV4_CONF_MEDIUM_ID" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_MEDIUM_ID" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_MEDIUM_ID $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_NOXFRM" "ac_cv_have_decl_NET_IPV4_CONF_NOXFRM" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_NOXFRM" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_NOXFRM $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_NOPOLICY" "ac_cv_have_decl_NET_IPV4_CONF_NOPOLICY" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_type "$LINENO" "struct sockaddr_xdp" "ac_cv_type_struct_sockaddr_xdp" "#include <netinet/in.h> +#include <linux/if_xdp.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_NOPOLICY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_sockaddr_xdp" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_NOPOLICY $ac_have_decl +#define HAVE_STRUCT_SOCKADDR_XDP 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_FORCE_IGMP_VERSION" "ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_FORCE_IGMP_VERSION" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ANNOUNCE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ANNOUNCE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_IGNORE" "ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_type "$LINENO" "struct tcp_diag_md5sig" "ac_cv_type_struct_tcp_diag_md5sig" "#include <netinet/tcp.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_IGNORE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_tcp_diag_md5sig" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE $ac_have_decl +#define HAVE_STRUCT_TCP_DIAG_MD5SIG 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_PROMOTE_SECONDARIES" "ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_PROMOTE_SECONDARIES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_ACCEPT" "ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_ACCEPT" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_CONF_ARP_NOTIFY" "ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_type "$LINENO" "struct sockaddr_vm" "ac_cv_type_struct_sockaddr_vm" "#include <netinet/in.h> +#include <linux/vm_sockets.h> " -if test "x$ac_cv_have_decl_NET_IPV4_CONF_ARP_NOTIFY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct_sockaddr_vm" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY $ac_have_decl +#define HAVE_STRUCT_SOCKADDR_VM 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_FLUSH" "ac_cv_have_decl_NET_IPV4_ROUTE_FLUSH" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_FLUSH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_FLUSH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_DELAY" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_DELAY" " -#include <sys/types.h> -#include <linux/sysctl.h> - + ac_fn_c_check_member "$LINENO" "struct sockaddr_vm" "svm_flags" "ac_cv_member_struct_sockaddr_vm_svm_flags" "#include <netinet/in.h> +#include <linux/vm_sockets.h> " -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_DELAY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_member_struct_sockaddr_vm_svm_flags" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MIN_DELAY $ac_have_decl +#define HAVE_STRUCT_SOCKADDR_VM_SVM_FLAGS 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MAX_DELAY" "ac_cv_have_decl_NET_IPV4_ROUTE_MAX_DELAY" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MAX_DELAY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MAX_DELAY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_THRESH" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_THRESH" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_THRESH $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MAX_SIZE" "ac_cv_have_decl_NET_IPV4_ROUTE_MAX_SIZE" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MAX_SIZE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MAX_SIZE $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_TIMEOUT" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_TIMEOUT" " -#include <sys/types.h> -#include <linux/sysctl.h> +saved_CPPFLAGS="$CPPFLAGS" -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_TIMEOUT" = xyes; then : - ac_have_decl=1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <linux/signal.h> can be used along with <signal.h>" >&5 +$as_echo_n "checking whether <linux/signal.h> can be used along with <signal.h>... " >&6; } +if ${st_cv_linux_signal+:} false; then : + $as_echo_n "(cached) " >&6 else - ac_have_decl=0 -fi + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_TIMEOUT $ac_have_decl +#include <signal.h> +#include <linux/signal.h> _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_INTERVAL" = xyes; then : - ac_have_decl=1 +if ac_fn_c_try_compile "$LINENO"; then : + st_cv_linux_signal=yes else - ac_have_decl=0 + st_cv_linux_signal=no fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_INTERVAL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_LOAD" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_LOAD" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_LOAD" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_LOAD $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_NUMBER" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_NUMBER" " -#include <sys/types.h> -#include <linux/sysctl.h> - -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_NUMBER" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $st_cv_linux_signal" >&5 +$as_echo "$st_cv_linux_signal" >&6; } +if test "x$st_cv_linux_signal" = xno; then + mkdir -p src/linux/generic/linux + cp $srcdir/src/linux/generic/signal.h.in src/linux/generic/linux/signal.h + CPPFLAGS="-Isrc/linux/generic $CPPFLAGS" fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_NUMBER $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_REDIRECT_SILENCE" "ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_SILENCE" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_type "$LINENO" "struct __aio_sigset" "ac_cv_type_struct___aio_sigset" "#include <linux/aio_abi.h> " -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_REDIRECT_SILENCE" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_type_struct___aio_sigset" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_SILENCE $ac_have_decl +#define HAVE_STRUCT___AIO_SIGSET 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_ERROR_COST" "ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_COST" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_COST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_ERROR_COST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_ERROR_BURST" "ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_BURST" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_ERROR_BURST" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_ERROR_BURST $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_ELASTICITY" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_ELASTICITY" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_member "$LINENO" "struct iocb" "aio_flags" "ac_cv_member_struct_iocb_aio_flags" "#include <linux/aio_abi.h> " -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_ELASTICITY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_member_struct_iocb_aio_flags" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_ELASTICITY $ac_have_decl +#define HAVE_STRUCT_IOCB_AIO_FLAGS 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MTU_EXPIRES" "ac_cv_have_decl_NET_IPV4_ROUTE_MTU_EXPIRES" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MTU_EXPIRES" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MTU_EXPIRES $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_PMTU" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_PMTU" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_PMTU" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MIN_PMTU $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_MIN_ADVMSS" "ac_cv_have_decl_NET_IPV4_ROUTE_MIN_ADVMSS" " -#include <sys/types.h> -#include <linux/sysctl.h> - +ac_fn_c_check_member "$LINENO" "struct iocb" "aio_rw_flags" "ac_cv_member_struct_iocb_aio_rw_flags" "#include <linux/aio_abi.h> " -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_MIN_ADVMSS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi +if test "x$ac_cv_member_struct_iocb_aio_rw_flags" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_MIN_ADVMSS $ac_have_decl +#define HAVE_STRUCT_IOCB_AIO_RW_FLAGS 1 _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV4_ROUTE_SECRET_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_SECRET_INTERVAL" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_SECRET_INTERVAL $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl -_ACEOF +CPPFLAGS="$saved_CPPFLAGS" -ac_fn_c_check_decl "$LINENO" "NET_IPV6_CONF" "ac_cv_have_decl_NET_IPV6_CONF" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV6_CONF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_CONF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_NEIGH" "ac_cv_have_decl_NET_IPV6_NEIGH" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "IEEE802154_ADDR_NONE" "ac_cv_have_decl_IEEE802154_ADDR_NONE" " " -if test "x$ac_cv_have_decl_NET_IPV6_NEIGH" = xyes; then : +if test "x$ac_cv_have_decl_IEEE802154_ADDR_NONE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_NEIGH $ac_have_decl +#define HAVE_DECL_IEEE802154_ADDR_NONE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE" "ac_cv_have_decl_NET_IPV6_ROUTE" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "IEEE802154_ADDR_SHORT" "ac_cv_have_decl_IEEE802154_ADDR_SHORT" " " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE" = xyes; then : +if test "x$ac_cv_have_decl_IEEE802154_ADDR_SHORT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE $ac_have_decl +#define HAVE_DECL_IEEE802154_ADDR_SHORT $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ICMP" "ac_cv_have_decl_NET_IPV6_ICMP" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "IEEE802154_ADDR_LONG" "ac_cv_have_decl_IEEE802154_ADDR_LONG" " " -if test "x$ac_cv_have_decl_NET_IPV6_ICMP" = xyes; then : +if test "x$ac_cv_have_decl_IEEE802154_ADDR_LONG" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ICMP $ac_have_decl +#define HAVE_DECL_IEEE802154_ADDR_LONG $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_BINDV6ONLY" "ac_cv_have_decl_NET_IPV6_BINDV6ONLY" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_NET_IPV6_BINDV6ONLY" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_BINDV6ONLY $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_HIGH_THRESH" "ac_cv_have_decl_NET_IPV6_IP6FRAG_HIGH_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "LO_FLAGS_READ_ONLY" "ac_cv_have_decl_LO_FLAGS_READ_ONLY" " +#include <linux/loop.h> " -if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_HIGH_THRESH" = xyes; then : +if test "x$ac_cv_have_decl_LO_FLAGS_READ_ONLY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_IP6FRAG_HIGH_THRESH $ac_have_decl +#define HAVE_DECL_LO_FLAGS_READ_ONLY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_LOW_THRESH" "ac_cv_have_decl_NET_IPV6_IP6FRAG_LOW_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "LO_FLAGS_USE_AOPS" "ac_cv_have_decl_LO_FLAGS_USE_AOPS" " +#include <linux/loop.h> " -if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_LOW_THRESH" = xyes; then : +if test "x$ac_cv_have_decl_LO_FLAGS_USE_AOPS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_IP6FRAG_LOW_THRESH $ac_have_decl +#define HAVE_DECL_LO_FLAGS_USE_AOPS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_TIME" "ac_cv_have_decl_NET_IPV6_IP6FRAG_TIME" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "LO_FLAGS_AUTOCLEAR" "ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" " +#include <linux/loop.h> " -if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_TIME" = xyes; then : +if test "x$ac_cv_have_decl_LO_FLAGS_AUTOCLEAR" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_IP6FRAG_TIME $ac_have_decl +#define HAVE_DECL_LO_FLAGS_AUTOCLEAR $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_IP6FRAG_SECRET_INTERVAL" "ac_cv_have_decl_NET_IPV6_IP6FRAG_SECRET_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "LO_FLAGS_PARTSCAN" "ac_cv_have_decl_LO_FLAGS_PARTSCAN" " +#include <linux/loop.h> " -if test "x$ac_cv_have_decl_NET_IPV6_IP6FRAG_SECRET_INTERVAL" = xyes; then : +if test "x$ac_cv_have_decl_LO_FLAGS_PARTSCAN" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_IP6FRAG_SECRET_INTERVAL $ac_have_decl +#define HAVE_DECL_LO_FLAGS_PARTSCAN $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_MLD_MAX_MSF" "ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "LO_FLAGS_DIRECT_IO" "ac_cv_have_decl_LO_FLAGS_DIRECT_IO" " +#include <linux/loop.h> " -if test "x$ac_cv_have_decl_NET_IPV6_MLD_MAX_MSF" = xyes; then : +if test "x$ac_cv_have_decl_LO_FLAGS_DIRECT_IO" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_MLD_MAX_MSF $ac_have_decl +#define HAVE_DECL_LO_FLAGS_DIRECT_IO $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_FLUSH" "ac_cv_have_decl_NET_IPV6_ROUTE_FLUSH" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_NEWSA" "ac_cv_have_decl_XFRM_MSG_NEWSA" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_FLUSH" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_NEWSA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_FLUSH $ac_have_decl +#define HAVE_DECL_XFRM_MSG_NEWSA $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_THRESH" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_THRESH" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_DELSA" "ac_cv_have_decl_XFRM_MSG_DELSA" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_THRESH" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_DELSA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_THRESH $ac_have_decl +#define HAVE_DECL_XFRM_MSG_DELSA $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MAX_SIZE" "ac_cv_have_decl_NET_IPV6_ROUTE_MAX_SIZE" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETSA" "ac_cv_have_decl_XFRM_MSG_GETSA" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MAX_SIZE" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETSA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_MAX_SIZE $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETSA $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_NEWPOLICY" "ac_cv_have_decl_XFRM_MSG_NEWPOLICY" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_NEWPOLICY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL $ac_have_decl +#define HAVE_DECL_XFRM_MSG_NEWPOLICY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_TIMEOUT" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_TIMEOUT" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_DELPOLICY" "ac_cv_have_decl_XFRM_MSG_DELPOLICY" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_TIMEOUT" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_DELPOLICY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_TIMEOUT $ac_have_decl +#define HAVE_DECL_XFRM_MSG_DELPOLICY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_INTERVAL" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_INTERVAL" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETPOLICY" "ac_cv_have_decl_XFRM_MSG_GETPOLICY" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_INTERVAL" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETPOLICY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_INTERVAL $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETPOLICY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_ELASTICITY" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_ELASTICITY" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_ALLOCSPI" "ac_cv_have_decl_XFRM_MSG_ALLOCSPI" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_ELASTICITY" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_ALLOCSPI" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_ELASTICITY $ac_have_decl +#define HAVE_DECL_XFRM_MSG_ALLOCSPI $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MTU_EXPIRES" "ac_cv_have_decl_NET_IPV6_ROUTE_MTU_EXPIRES" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_ACQUIRE" "ac_cv_have_decl_XFRM_MSG_ACQUIRE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MTU_EXPIRES" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_ACQUIRE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_MTU_EXPIRES $ac_have_decl +#define HAVE_DECL_XFRM_MSG_ACQUIRE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_MIN_ADVMSS" "ac_cv_have_decl_NET_IPV6_ROUTE_MIN_ADVMSS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_EXPIRE" "ac_cv_have_decl_XFRM_MSG_EXPIRE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_MIN_ADVMSS" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_EXPIRE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_MIN_ADVMSS $ac_have_decl +#define HAVE_DECL_XFRM_MSG_EXPIRE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" "ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_UPDPOLICY" "ac_cv_have_decl_XFRM_MSG_UPDPOLICY" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_UPDPOLICY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS $ac_have_decl +#define HAVE_DECL_XFRM_MSG_UPDPOLICY $ac_have_decl _ACEOF - - -ac_fn_c_check_decl "$LINENO" "CTL_KERN" "ac_cv_have_decl_CTL_KERN" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_UPDSA" "ac_cv_have_decl_XFRM_MSG_UPDSA" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_KERN" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_UPDSA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_KERN $ac_have_decl +#define HAVE_DECL_XFRM_MSG_UPDSA $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_VM" "ac_cv_have_decl_CTL_VM" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_POLEXPIRE" "ac_cv_have_decl_XFRM_MSG_POLEXPIRE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_VM" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_POLEXPIRE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_VM $ac_have_decl +#define HAVE_DECL_XFRM_MSG_POLEXPIRE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_NET" "ac_cv_have_decl_CTL_NET" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_FLUSHSA" "ac_cv_have_decl_XFRM_MSG_FLUSHSA" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_NET" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_FLUSHSA" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_NET $ac_have_decl +#define HAVE_DECL_XFRM_MSG_FLUSHSA $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_FS" "ac_cv_have_decl_CTL_FS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_FLUSHPOLICY" "ac_cv_have_decl_XFRM_MSG_FLUSHPOLICY" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_FS" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_FLUSHPOLICY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_FS $ac_have_decl +#define HAVE_DECL_XFRM_MSG_FLUSHPOLICY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_DEBUG" "ac_cv_have_decl_CTL_DEBUG" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_NEWAE" "ac_cv_have_decl_XFRM_MSG_NEWAE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_DEBUG" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_NEWAE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_DEBUG $ac_have_decl +#define HAVE_DECL_XFRM_MSG_NEWAE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_DEV" "ac_cv_have_decl_CTL_DEV" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETAE" "ac_cv_have_decl_XFRM_MSG_GETAE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_DEV" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETAE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_DEV $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETAE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_BUS" "ac_cv_have_decl_CTL_BUS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_REPORT" "ac_cv_have_decl_XFRM_MSG_REPORT" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_BUS" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_REPORT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_BUS $ac_have_decl +#define HAVE_DECL_XFRM_MSG_REPORT $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_ABI" "ac_cv_have_decl_CTL_ABI" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_MIGRATE" "ac_cv_have_decl_XFRM_MSG_MIGRATE" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_ABI" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_MIGRATE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_ABI $ac_have_decl +#define HAVE_DECL_XFRM_MSG_MIGRATE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_CPU" "ac_cv_have_decl_CTL_CPU" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_NEWSADINFO" "ac_cv_have_decl_XFRM_MSG_NEWSADINFO" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_CPU" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_NEWSADINFO" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_CPU $ac_have_decl +#define HAVE_DECL_XFRM_MSG_NEWSADINFO $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_PROC" "ac_cv_have_decl_CTL_PROC" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETSADINFO" "ac_cv_have_decl_XFRM_MSG_GETSADINFO" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_PROC" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETSADINFO" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_PROC $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETSADINFO $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_ARLAN" "ac_cv_have_decl_CTL_ARLAN" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_NEWSPDINFO" "ac_cv_have_decl_XFRM_MSG_NEWSPDINFO" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_ARLAN" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_NEWSPDINFO" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_ARLAN $ac_have_decl +#define HAVE_DECL_XFRM_MSG_NEWSPDINFO $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_S390DBF" "ac_cv_have_decl_CTL_S390DBF" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETSPDINFO" "ac_cv_have_decl_XFRM_MSG_GETSPDINFO" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_S390DBF" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETSPDINFO" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_S390DBF $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETSPDINFO $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_SUNRPC" "ac_cv_have_decl_CTL_SUNRPC" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_MAPPING" "ac_cv_have_decl_XFRM_MSG_MAPPING" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_SUNRPC" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_MAPPING" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_SUNRPC $ac_have_decl +#define HAVE_DECL_XFRM_MSG_MAPPING $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_PM" "ac_cv_have_decl_CTL_PM" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_SETDEFAULT" "ac_cv_have_decl_XFRM_MSG_SETDEFAULT" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_PM" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_SETDEFAULT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_PM $ac_have_decl +#define HAVE_DECL_XFRM_MSG_SETDEFAULT $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "CTL_FRV" "ac_cv_have_decl_CTL_FRV" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "XFRM_MSG_GETDEFAULT" "ac_cv_have_decl_XFRM_MSG_GETDEFAULT" " +#include <linux/xfrm.h> " -if test "x$ac_cv_have_decl_CTL_FRV" = xyes; then : +if test "x$ac_cv_have_decl_XFRM_MSG_GETDEFAULT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_CTL_FRV $ac_have_decl +#define HAVE_DECL_XFRM_MSG_GETDEFAULT $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_OVERCOMMIT_MEMORY" "ac_cv_have_decl_VM_OVERCOMMIT_MEMORY" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "PTP_PF_NONE" "ac_cv_have_decl_PTP_PF_NONE" " " -if test "x$ac_cv_have_decl_VM_OVERCOMMIT_MEMORY" = xyes; then : +if test "x$ac_cv_have_decl_PTP_PF_NONE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_OVERCOMMIT_MEMORY $ac_have_decl +#define HAVE_DECL_PTP_PF_NONE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_PAGE_CLUSTER" "ac_cv_have_decl_VM_PAGE_CLUSTER" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "PTP_PF_EXTTS" "ac_cv_have_decl_PTP_PF_EXTTS" " " -if test "x$ac_cv_have_decl_VM_PAGE_CLUSTER" = xyes; then : +if test "x$ac_cv_have_decl_PTP_PF_EXTTS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_PAGE_CLUSTER $ac_have_decl +#define HAVE_DECL_PTP_PF_EXTTS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_DIRTY_BACKGROUND" "ac_cv_have_decl_VM_DIRTY_BACKGROUND" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "PTP_PF_PEROUT" "ac_cv_have_decl_PTP_PF_PEROUT" " " -if test "x$ac_cv_have_decl_VM_DIRTY_BACKGROUND" = xyes; then : +if test "x$ac_cv_have_decl_PTP_PF_PEROUT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_DIRTY_BACKGROUND $ac_have_decl +#define HAVE_DECL_PTP_PF_PEROUT $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_DIRTY_RATIO" "ac_cv_have_decl_VM_DIRTY_RATIO" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "PTP_PF_PHYSYNC" "ac_cv_have_decl_PTP_PF_PHYSYNC" " " -if test "x$ac_cv_have_decl_VM_DIRTY_RATIO" = xyes; then : +if test "x$ac_cv_have_decl_PTP_PF_PHYSYNC" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_DIRTY_RATIO $ac_have_decl +#define HAVE_DECL_PTP_PF_PHYSYNC $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_DIRTY_WB_CS" "ac_cv_have_decl_VM_DIRTY_WB_CS" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_VM_DIRTY_WB_CS" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_DIRTY_WB_CS $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "VM_DIRTY_EXPIRE_CS" "ac_cv_have_decl_VM_DIRTY_EXPIRE_CS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "NFEA_UNSPEC" "ac_cv_have_decl_NFEA_UNSPEC" " " -if test "x$ac_cv_have_decl_VM_DIRTY_EXPIRE_CS" = xyes; then : +if test "x$ac_cv_have_decl_NFEA_UNSPEC" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_DIRTY_EXPIRE_CS $ac_have_decl +#define HAVE_DECL_NFEA_UNSPEC $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_NR_PDFLUSH_THREADS" "ac_cv_have_decl_VM_NR_PDFLUSH_THREADS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "NFEA_ACTIVITY_NOTIFY" "ac_cv_have_decl_NFEA_ACTIVITY_NOTIFY" " " -if test "x$ac_cv_have_decl_VM_NR_PDFLUSH_THREADS" = xyes; then : +if test "x$ac_cv_have_decl_NFEA_ACTIVITY_NOTIFY" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_NR_PDFLUSH_THREADS $ac_have_decl +#define HAVE_DECL_NFEA_ACTIVITY_NOTIFY $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_OVERCOMMIT_RATIO" "ac_cv_have_decl_VM_OVERCOMMIT_RATIO" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "NFEA_DONT_REFRESH" "ac_cv_have_decl_NFEA_DONT_REFRESH" " " -if test "x$ac_cv_have_decl_VM_OVERCOMMIT_RATIO" = xyes; then : +if test "x$ac_cv_have_decl_NFEA_DONT_REFRESH" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_OVERCOMMIT_RATIO $ac_have_decl +#define HAVE_DECL_NFEA_DONT_REFRESH $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_PAGEBUF" "ac_cv_have_decl_VM_PAGEBUF" " -#include <sys/types.h> -#include <linux/sysctl.h> -" -if test "x$ac_cv_have_decl_VM_PAGEBUF" = xyes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_PAGEBUF $ac_have_decl -_ACEOF -ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_PAGES" "ac_cv_have_decl_VM_HUGETLB_PAGES" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_UNSPEC" "ac_cv_have_decl_TCA_ACT_UNSPEC" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_HUGETLB_PAGES" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_UNSPEC" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_HUGETLB_PAGES $ac_have_decl +#define HAVE_DECL_TCA_ACT_UNSPEC $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_SWAPPINESS" "ac_cv_have_decl_VM_SWAPPINESS" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_KIND" "ac_cv_have_decl_TCA_ACT_KIND" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_SWAPPINESS" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_KIND" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_SWAPPINESS $ac_have_decl +#define HAVE_DECL_TCA_ACT_KIND $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_LOWMEM_RESERVE_RATIO" "ac_cv_have_decl_VM_LOWMEM_RESERVE_RATIO" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_OPTIONS" "ac_cv_have_decl_TCA_ACT_OPTIONS" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_LOWMEM_RESERVE_RATIO" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_OPTIONS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_LOWMEM_RESERVE_RATIO $ac_have_decl +#define HAVE_DECL_TCA_ACT_OPTIONS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_MIN_FREE_KBYTES" "ac_cv_have_decl_VM_MIN_FREE_KBYTES" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_INDEX" "ac_cv_have_decl_TCA_ACT_INDEX" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_MIN_FREE_KBYTES" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_INDEX" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_MIN_FREE_KBYTES $ac_have_decl +#define HAVE_DECL_TCA_ACT_INDEX $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_MAX_MAP_COUNT" "ac_cv_have_decl_VM_MAX_MAP_COUNT" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_STATS" "ac_cv_have_decl_TCA_ACT_STATS" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_MAX_MAP_COUNT" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_STATS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_MAX_MAP_COUNT $ac_have_decl +#define HAVE_DECL_TCA_ACT_STATS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_LAPTOP_MODE" "ac_cv_have_decl_VM_LAPTOP_MODE" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_PAD" "ac_cv_have_decl_TCA_ACT_PAD" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_LAPTOP_MODE" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_PAD" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_LAPTOP_MODE $ac_have_decl +#define HAVE_DECL_TCA_ACT_PAD $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_BLOCK_DUMP" "ac_cv_have_decl_VM_BLOCK_DUMP" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_COOKIE" "ac_cv_have_decl_TCA_ACT_COOKIE" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_BLOCK_DUMP" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_COOKIE" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_BLOCK_DUMP $ac_have_decl +#define HAVE_DECL_TCA_ACT_COOKIE $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_HUGETLB_GROUP" "ac_cv_have_decl_VM_HUGETLB_GROUP" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_FLAGS" "ac_cv_have_decl_TCA_ACT_FLAGS" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_HUGETLB_GROUP" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_FLAGS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_HUGETLB_GROUP $ac_have_decl +#define HAVE_DECL_TCA_ACT_FLAGS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_VFS_CACHE_PRESSURE" "ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_HW_STATS" "ac_cv_have_decl_TCA_ACT_HW_STATS" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_VFS_CACHE_PRESSURE" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_HW_STATS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_VFS_CACHE_PRESSURE $ac_have_decl +#define HAVE_DECL_TCA_ACT_HW_STATS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_LEGACY_VA_LAYOUT" "ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_USED_HW_STATS" "ac_cv_have_decl_TCA_ACT_USED_HW_STATS" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_LEGACY_VA_LAYOUT" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_USED_HW_STATS" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_LEGACY_VA_LAYOUT $ac_have_decl +#define HAVE_DECL_TCA_ACT_USED_HW_STATS $ac_have_decl _ACEOF -ac_fn_c_check_decl "$LINENO" "VM_SWAP_TOKEN_TIMEOUT" "ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" " -#include <sys/types.h> -#include <linux/sysctl.h> +ac_fn_c_check_decl "$LINENO" "TCA_ACT_IN_HW_COUNT" "ac_cv_have_decl_TCA_ACT_IN_HW_COUNT" " +#include <linux/pkt_cls.h> " -if test "x$ac_cv_have_decl_VM_SWAP_TOKEN_TIMEOUT" = xyes; then : +if test "x$ac_cv_have_decl_TCA_ACT_IN_HW_COUNT" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT $ac_have_decl +#define HAVE_DECL_TCA_ACT_IN_HW_COUNT $ac_have_decl _ACEOF @@ -17721,6 +14372,74 @@ saved_LIBS="$LIBS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log10" >&5 +$as_echo_n "checking for library containing log10... " >&6; } +if ${ac_cv_search_log10+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char log10 (); +int +main () +{ +return log10 (); + ; + return 0; +} +_ACEOF +for ac_lib in '' m; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_log10=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_log10+:} false; then : + break +fi +done +if ${ac_cv_search_log10+:} false; then : + +else + ac_cv_search_log10=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log10" >&5 +$as_echo "$ac_cv_search_log10" >&6; } +ac_res=$ac_cv_search_log10 +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +LIBS="$saved_LIBS" +case "$ac_cv_search_log10" in + no) { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to find log10 +See \`config.log' for more details" "$LINENO" 5; } ;; + -l*) m_LIBS="$ac_cv_search_log10" ;; + *) m_LIBS= ;; +esac + + +saved_LIBS="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing mq_open" >&5 $as_echo_n "checking for library containing mq_open... " >&6; } if ${ac_cv_search_mq_open+:} false; then : @@ -18496,9 +15215,12 @@ if test "x$found_selinux_h" = xyes; then : saved_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $libselinux_LDFLAGS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpidcon in -lselinux" >&5 -$as_echo_n "checking for getpidcon in -lselinux... " >&6; } -if ${ac_cv_lib_selinux_getpidcon+:} false; then : + missing= + for func in getpidcon getfilecon selabel_open selabel_lookup; do + as_ac_Lib=`$as_echo "ac_cv_lib_selinux_$func" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $func in -lselinux" >&5 +$as_echo_n "checking for $func in -lselinux... " >&6; } +if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18512,101 +15234,59 @@ #ifdef __cplusplus extern "C" #endif -char getpidcon (); +char $func (); int main () { -return getpidcon (); +return $func (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_selinux_getpidcon=yes + eval "$as_ac_Lib=yes" else - ac_cv_lib_selinux_getpidcon=no + eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_getpidcon" >&5 -$as_echo "$ac_cv_lib_selinux_getpidcon" >&6; } -if test "x$ac_cv_lib_selinux_getpidcon" = xyes; then : - libselinux_LIBS="-lselinux" - enable_secontext=yes - +eval ac_res=\$$as_ac_Lib + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : + : else - if test "x$with_libselinux" != xcheck; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to find getpidcon in libselinux -See \`config.log' for more details" "$LINENO" 5; } - fi - - + missing="$missing $func" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getfilecon in -lselinux" >&5 -$as_echo_n "checking for getfilecon in -lselinux... " >&6; } -if ${ac_cv_lib_selinux_getfilecon+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lselinux $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char getfilecon (); -int -main () -{ -return getfilecon (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_selinux_getfilecon=yes -else - ac_cv_lib_selinux_getfilecon=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_getfilecon" >&5 -$as_echo "$ac_cv_lib_selinux_getfilecon" >&6; } -if test "x$ac_cv_lib_selinux_getfilecon" = xyes; then : + done + if test "x$missing" = x; then : libselinux_LIBS="-lselinux" - enable_secontext=yes + enable_secontext=yes else - if test "x$with_libselinux" != xcheck; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + if test "x$with_libselinux" != xcheck; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to find getfilecon in libselinux +as_fn_error $? "failed to find in libselinux:$missing See \`config.log' for more details" "$LINENO" 5; } - fi - fi + +fi LDFLAGS="$saved_LDFLAGS" else - if test "x$with_libselinux" != xcheck; then - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + if test "x$with_libselinux" != xcheck; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to find selinux.h See \`config.log' for more details" "$LINENO" 5; } - fi + +fi fi @@ -21144,7 +17824,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by strace $as_me 5.14, which was +This file was extended by strace $as_me 6.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21211,7 +17891,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/\\""\`\$/\\\\&/g'`" ac_cs_version="\\ -strace config.status 5.14 +strace config.status 6.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\"
View file
_service:tar_scm:strace-5.14.tar.xz/configure.ac -> _service:tar_scm:strace-6.1.tar.xz/configure.ac
Changed
@@ -5,7 +5,7 @@ # Copyright (c) 2006-2016 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2008-2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> -# Copyright (c) 2002-2021 The strace developers. +# Copyright (c) 2002-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -17,7 +17,10 @@ strace, https://strace.io) m4_define(copyright_year, st_esyscmd_s(./build-aux/copyright-year-gen .year)) -m4_define(manpage_date, st_esyscmd_s(./build-aux/file-date-gen doc/strace.1.in)) +m4_define(strace_manpage_date, + st_esyscmd_s(./build-aux/file-date-gen doc/strace.1.in)) +m4_define(slm_manpage_date, + st_esyscmd_s(./build-aux/file-date-gen doc/strace-log-merge.1.in)) m4_define(linux_version_code, st_esyscmd_s(sed '/^#define LINUX_VERSION_CODE /!d;s///;q' bundled/linux/include/uapi/linux/version.h)) AC_COPYRIGHT(Copyright (c) 1999-copyright_year The strace developers.) @@ -46,8 +49,10 @@ AC_DEFINE(COPYRIGHT_YEAR, "copyright_year", Current copyright year.) AC_SUBST(COPYRIGHT_YEAR, copyright_year) -AC_DEFINE(MANPAGE_DATE, "manpage_date", Date) -AC_SUBST(MANPAGE_DATE, manpage_date) +AC_DEFINE(STRACE_MANPAGE_DATE, "strace_manpage_date", Date) +AC_SUBST(STRACE_MANPAGE_DATE, strace_manpage_date) +AC_DEFINE(SLM_MANPAGE_DATE, "slm_manpage_date", Date) +AC_SUBST(SLM_MANPAGE_DATE, slm_manpage_date) AC_C_BIGENDIAN @@ -110,6 +115,11 @@ arch=ia64 AC_DEFINE(IA64, 1, Define for the IA64 architecture.) ;; +loongarch64) + arch=loongarch64 + karch=loongarch + AC_DEFINE(LOONGARCH64, 1, Define for the 64-bit LoongArch architecture.) + ;; m68k) arch=m68k AC_DEFINE(M68K, 1, Define for the m68k architecture.) @@ -330,7 +340,6 @@ Define to 1 if you want OABI support on ARM EABI.) st_WARN_CFLAGS -st_BROKEN_CC AX_PROG_CC_FOR_BUILD AM_PROG_AR @@ -352,6 +361,7 @@ futimens iconv_open if_indextoname + mempcpy open64 open_memstream preadv @@ -387,6 +397,12 @@ #include <sys/types.h> #include <asm/stat.h>) +AC_CHECK_TYPES(struct termios2,,, +#include <linux/termios.h>) + +AC_CHECK_MEMBERS(struct termios.c_ispeed, struct termios.c_ospeed,,, +#include <linux/termios.h>) + AC_CHECK_TYPES(struct user_desc, AC_CHECK_MEMBERS(struct user_desc.lm,,, #include <asm/ldt.h>),, @@ -413,7 +429,14 @@ AC_CHECK_MEMBERS(m4_normalize( siginfo_t.si_syscall, siginfo_t.si_timerid, - siginfo_t.si_overrun + siginfo_t.si_overrun, + siginfo_t.si_pkey, + siginfo_t.si_addr_lsb, + siginfo_t.si_lower, + siginfo_t.si_upper, + siginfo_t.si_perf_data, + siginfo_t.si_perf_type, + siginfo_t.si_perf_flags ),,, #include <signal.h>) AC_CHECK_HEADERS(m4_normalize( @@ -423,6 +446,12 @@ elf.h gcov.h iconv.h + linux/if_alg.h + linux/if_xdp.h + linux/ipx.h + linux/nfc.h + linux/qrtr.h + linux/rxrpc.h mqueue.h netinet/sctp.h netipx/ipx.h @@ -444,6 +473,12 @@ #include <linux/types.h> ) +AC_CHECK_HEADERS(m4_normalize( + linux/vm_sockets.h +),,, AC_INCLUDES_DEFAULT +#include <sys/socket.h> +) + AC_CHECK_HEADERS(asm/sigcontext.h,,, #include <signal.h>) AC_CHECK_HEADERS(netinet/tcp.h netinet/udp.h,,, #include <netinet/in.h>) @@ -497,12 +532,39 @@ #include <asm/statfs.h>) AC_CHECK_TYPES(m4_normalize( + struct kbdiacruc, + struct kbdiacrsuc +),,, #include <linux/kd.h>) + +AC_CHECK_TYPES(m4_normalize( struct kvm_cpuid2, struct kvm_regs, struct kvm_sregs, struct kvm_userspace_memory_region ),,, #include <linux/kvm.h>) +AC_CHECK_TYPES(m4_normalize( + struct sockaddr_alg_new +),,, #include <netinet/in.h> +#include <linux/if_alg.h>) + +AC_CHECK_TYPES(m4_normalize( + struct sockaddr_xdp +),,, #include <netinet/in.h> +#include <linux/if_xdp.h>) + +AC_CHECK_TYPES(m4_normalize( + struct tcp_diag_md5sig +),,, #include <netinet/tcp.h>) + +AC_CHECK_TYPES(m4_normalize(struct sockaddr_vm), + AC_CHECK_MEMBERS(m4_normalize( + struct sockaddr_vm.svm_flags + ),,, #include <netinet/in.h> +#include <linux/vm_sockets.h>) +,, #include <netinet/in.h> +#include <linux/vm_sockets.h>) + saved_CPPFLAGS="$CPPFLAGS" AC_CACHE_CHECK(whether <linux/signal.h> can be used along with <signal.h>, @@ -646,6 +708,16 @@ AC_SUBST(clock_LIBS) saved_LIBS="$LIBS" +AC_SEARCH_LIBS(log10, m) +LIBS="$saved_LIBS" +case "$ac_cv_search_log10" in + no) AC_MSG_FAILURE(failed to find log10) ;; + -l*) m_LIBS="$ac_cv_search_log10" ;; + *) m_LIBS= ;; +esac +AC_SUBST(m_LIBS) + +saved_LIBS="$LIBS" AC_SEARCH_LIBS(mq_open, rt) LIBS="$saved_LIBS" case "$ac_cv_search_mq_open" in
View file
_service:tar_scm:strace-5.14.tar.xz/debian/changelog -> _service:tar_scm:strace-6.1.tar.xz/debian/changelog
Changed
@@ -1,8 +1,50 @@ -strace (5.14-1) experimental; urgency=low +strace (6.1-1) experimental; urgency=low - * strace 5.14 snapshot. + * strace 6.1 snapshot. - -- Strace <strace-devel@lists.strace.io> Thu, 02 Sep 2021 10:47:44 +0000 + -- Strace <strace-devel@lists.strace.io> Mon, 12 Dec 2022 18:29:04 +0000 + +strace (6.0-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 29 Oct 2022 08:00:00 +0000 + +strace (5.19-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Fri, 12 Aug 2022 08:00:00 +0000 + +strace (5.18-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 18 Jun 2022 18:00:00 +0000 + +strace (5.17-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 26 Mar 2022 08:00:00 +0000 + +strace (5.16-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Mon, 10 Jan 2022 08:00:00 +0000 + +strace (5.15-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Wed, 01 Dec 2021 17:00:00 +0000 + +strace (5.14-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Thu, 02 Sep 2021 08:00:00 +0000 strace (5.13-1) unstable; urgency=medium @@ -981,7 +1023,7 @@ strace (3.1-13) unstable; urgency=low - * Corrected error on PowerPC patch that broke other archictectures + * Corrected error on PowerPC patch that broke other architectures (Bug# 13837) -- Wichert Akkerman <wakkerma@debian.org> Tue, 14 Oct 1997 15:41:29 +0200
View file
_service:tar_scm:strace-5.14.tar.xz/debian/changelog.in -> _service:tar_scm:strace-6.1.tar.xz/debian/changelog.in
Changed
@@ -4,6 +4,48 @@ -- Strace <@PACKAGE_BUGREPORT@> @DEB_CHANGELOGTIME@ +strace (6.0-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 29 Oct 2022 08:00:00 +0000 + +strace (5.19-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Fri, 12 Aug 2022 08:00:00 +0000 + +strace (5.18-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 18 Jun 2022 18:00:00 +0000 + +strace (5.17-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Sat, 26 Mar 2022 08:00:00 +0000 + +strace (5.16-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Mon, 10 Jan 2022 08:00:00 +0000 + +strace (5.15-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Wed, 01 Dec 2021 17:00:00 +0000 + +strace (5.14-1) unstable; urgency=medium + + * New upstream version. + + -- Dmitry V. Levin <ldv@strace.io> Thu, 02 Sep 2021 08:00:00 +0000 + strace (5.13-1) unstable; urgency=medium * New upstream version. @@ -981,7 +1023,7 @@ strace (3.1-13) unstable; urgency=low - * Corrected error on PowerPC patch that broke other archictectures + * Corrected error on PowerPC patch that broke other architectures (Bug# 13837) -- Wichert Akkerman <wakkerma@debian.org> Tue, 14 Oct 1997 15:41:29 +0200
View file
_service:tar_scm:strace-5.14.tar.xz/debian/copyright -> _service:tar_scm:strace-6.1.tar.xz/debian/copyright
Changed
@@ -11,7 +11,7 @@ Copyright (c) 1995, 1996 Michael Elizabeth Chastain <mec@duracef.shout.net> Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> Copyright (c) 1998-2001 Wichert Akkerman <wakkerma@deephackmode.org> -Copyright (c) 2001-2021 The strace developers. +Copyright (c) 2001-2022 The strace developers. All rights reserved. strace is free software; you can redistribute it and/or modify it
View file
_service:tar_scm:strace-6.1.tar.xz/doc/.strace-log-merge.1.in.date
Added
@@ -0,0 +1,1 @@ +2022-01-01
View file
_service:tar_scm:strace-5.14.tar.xz/doc/.strace.1.in.date -> _service:tar_scm:strace-6.1.tar.xz/doc/.strace.1.in.date
Changed
@@ -1,1 +1,1 @@ -2021-08-24 +2022-10-16
View file
_service:tar_scm:strace-5.14.tar.xz/doc/strace-log-merge.1.in -> _service:tar_scm:strace-6.1.tar.xz/doc/strace-log-merge.1.in
Changed
@@ -11,7 +11,7 @@ . BR "\\$1" .. .\" -.TH STRACE-LOG-MERGE 1 "@MANPAGE_DATE@" "strace @VERSION@" +.TH STRACE-LOG-MERGE 1 "@SLM_MANPAGE_DATE@" "strace @VERSION@" .\" .SH NAME strace-log-merge \- merge strace \-ff \-tt output
View file
_service:tar_scm:strace-5.14.tar.xz/doc/strace.1.in -> _service:tar_scm:strace-6.1.tar.xz/doc/strace.1.in
Changed
@@ -33,7 +33,7 @@ . el \ . BR "\\$1" .. -.TH STRACE 1 "@MANPAGE_DATE@" "strace @VERSION@" +.TH STRACE 1 "@STRACE_MANPAGE_DATE@" "strace @VERSION@" .SH NAME strace \- trace system calls and signals .SH SYNOPSIS @@ -53,7 +53,7 @@ .OM \-P path .OM \-p pid .OP \-\-seccomp\-bpf -.if '@ENABLE_SECONTEXT_FALSE@'#' .OP \-\-secontext\fR=full +.if '@ENABLE_SECONTEXT_FALSE@'#' .OP \-\-secontext\fR=\fIformat\fR .BR "" { .OR \-p pid .BR "" | @@ -141,7 +141,7 @@ .IR resumed . .CW pid 28772 select(4, 3, NULL, NULL, NULL <unfinished ...> -pid 28779 clock_gettime(CLOCK_REALTIME, {1130322148, 939977000}) = 0 +pid 28779 clock_gettime(CLOCK_REALTIME, {tv_sec=1130322148, tv_nsec=3977000}) = 0 pid 28772 <... select resumed> ) = 1 (in 3) .CE Interruption of a (restartable) system call by a signal delivery is processed @@ -149,8 +149,8 @@ immediate reexecution after the signal handler completes. .CW read(0, 0x7ffff72cf5cf, 1) = ? ERESTARTSYS (To be restarted) ---- SIGALRM ... --- -rt_sigreturn(0xe) = 0 +--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} --- +rt_sigreturn({mask=}) = 0 read(0, "", 1) = 0 .CE Arguments are printed in symbolic form with passion. @@ -211,9 +211,9 @@ .CW read(3, "root::0:0:System Administrator:/"..., 1024) = 422 .CE -While structures are annotated using curly braces, simple pointers +While structures are annotated using curly braces, pointers to basic types and arrays are printed using square brackets with commas separating -elements. Here is an example from the command +the elements. Here is an example from the command .BR id (1) on a system with supplementary group ids: .CW @@ -259,7 +259,9 @@ .BR inject , .BR status , .BR quiet " (or " silent " or " silence " or " q ), +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR secontext , .BR decode\-fds " (or " decode\-fd ), +.BR decode\-pids " (or " decode\-pid ), or .BR kvm , and @@ -323,8 +325,15 @@ (which is optional if at least one .B \-p option is given). +Multiple process IDs, separated by either +comma (\(lq,\(rq), space (\(lq \(rq), tab, or newline character, +can be provided as an argument to a single .B \-p -"`pidof PROG`" syntax is supported. +option, so, for example, +.B \-p +"$(pidof PROG)" and +.B \-p +"$(pgrep PROG)" syntaxes are supported. .TP .BI "\-u " username .TQ @@ -460,6 +469,8 @@ .TP 12 \fB\-e\ trace\fR=\,\fIsyscall_set\fR .TQ +\fB\-e\ t\fR=\,\fIsyscall_set\fR +.TQ \fB\-\-trace\fR=\,\fIsyscall_set\fR Trace only the specified set of system calls. .I syscall_set @@ -471,13 +482,33 @@ .RS .TP 13 .I syscall -Trace specific syscall, specified by its name (but see +Trace specific syscall, specified by its name (see +.BR syscalls (2) +for a reference, but also see .BR NOTES ). .TP .BI ? value Question mark before the syscall qualification allows suppression of error in case no syscalls matched the qualification provided. .TP +.IB value @64 +Limit the syscall specification described by +.I value +to 64-bit personality. +.TP +.IB value @32 +Limit the syscall specification described by +.I value +to 32-bit personality. +.TP +.IB value @x32 +Limit the syscall specification described by +.I value +to x32 personality. +.TP +.B all +Trace all system calls. +.TP .BI / regex Trace only those system calls that match the .IR regex . @@ -486,21 +517,6 @@ Extended Regular Expression syntax (see .BR regex (7)). .TP -.IB syscall @64 -Trace -.I syscall -only for the 64-bit personality. -.TP -.IB syscall @32 -Trace -.I syscall -only for the 32-bit personality. -.TP -.IB syscall @x32 -Trace -.I syscall -only for the 32-on-64-bit personality. -.TP .B %file .TQ .BR file @@ -631,6 +647,10 @@ .TP \fB\-e\ signal\fR=\,\fIset\fR .TQ +\fB\-e\ signals\fR=\,\fIset\fR +.TQ +\fB\-e\ s\fR=\,\fIset\fR +.TQ \fB\-\-signal\fR=\,\fIset\fR Trace only the specified subset of signals. The default is .BR signal = all . @@ -724,6 +744,8 @@ .TP \fB\-e\ abbrev\fR=\,\fIsyscall_set\fR .TQ +\fB\-e\ a\fR=\,\fIsyscall_set\fR +.TQ \fB\-\-abbrev\fR=\,\fIsyscall_set\fR Abbreviate the output from printing each member of large structures. The syntax of the @@ -740,6 +762,8 @@ .TP \fB\-e\ verbose\fR=\,\fIsyscall_set\fR .TQ +\fB\-e\ v\fR=\,\fIsyscall_set\fR +.TQ \fB\-\-verbose\fR=\,\fIsyscall_set\fR Dereference structures for the specified set of system calls. The syntax of the @@ -752,6 +776,8 @@ .TP \fB\-e\ raw\fR=\,\fIsyscall_set\fR .TQ +\fB\-e\ x\fR=\,\fIsyscall_set\fR +.TQ \fB\-\-raw\fR=\,\fIsyscall_set\fR Print raw, undecoded arguments for the specified set of system calls. The syntax of the @@ -769,6 +795,10 @@ .TP \fB\-e\ read\fR=\,\fIset\fR .TQ +\fB\-e\ reads\fR=\,\fIset\fR +.TQ +\fB\-e\ r\fR=\,\fIset\fR +.TQ \fB\-\-read\fR=\,\fIset\fR Perform a full hexadecimal and ASCII dump of all the data read from file descriptors listed in the specified set. For example, to see @@ -785,6 +815,10 @@ .TP \fB\-e\ write\fR=\,\fIset\fR .TQ +\fB\-e\ writes\fR=\,\fIset\fR +.TQ +\fB\-e\ w\fR=\,\fIset\fR +.TQ \fB\-\-write\fR=\,\fIset\fR Perform a full hexadecimal and ASCII dump of all the data written to file descriptors listed in the specified set. For example, to see @@ -801,6 +835,12 @@ .TP \fB\-e\ quiet\fR=\,\fIset\fR .TQ +\fB\-e\ silent\fR=\,\fIset\fR +.TQ +\fB\-e\ silence\fR=\,\fIset\fR +.TQ +\fB\-e\ q\fR=\,\fIset\fR +.TQ \fB\-\-quiet\fR=\,\fIset\fR .TQ \fB\-\-silent\fR=\,\fIset\fR @@ -851,6 +891,9 @@ .TP 8 .B path Print file paths. +Also enables printing of tracee's current working directory when +.B AT_FDCWD +constant is used. .TQ .B socket Print socket protocol-specific information, @@ -862,6 +905,25 @@ Print PIDs associated with pidfd file descriptors. .RE .TP +\fB\-e\ decode\-pids\fR=\,\fIset\fR +.TQ +\fB\-\-decode\-pids\fR=\,\fIset\fR +Decode various information associated with process IDs +(and also thread IDs, process group IDs, and session IDs). +The default is +.BR decode\-pids = none . +.I set +can include the following elements: +.RS +.TP 8 +.B comm +Print command names associated with thread or process IDs. +.TQ +.B pidns +Print thread, process, process group, and session IDs in strace's PID namespace +if the tracee is in a different PID namespace. +.RE +.TP .BR "\-e\ kvm" = vcpu .TQ .BR "\-\-kvm" = vcpu @@ -1032,16 +1094,57 @@ behavior displays a reasonable subset of structure members. Use this option to get all of the gory details. .TP +.BR \-\-strings\-in\-hex = \fIoption\fR +Control usage of escape sequences with hexadecimal numbers +in the printed strings. +Normally (when no +.BR \-\-strings\-in\-hex " or " \-x +option is supplied), +escape sequences are used to print non-printable and non-ASCII characters +(that is, characters with a character code less than 32 or greater than 127), +or to disambiguate the output +(so, for quotes and other characters that encase the printed string, +for example, angle brackets, in case of file descriptor path output); +for the former use case, unless it is a white space character +that has a symbolic escape sequence defined in the C standard +(that is, \(lq\fB\\t\fR\(rq for a horizontal tab, +\(lq\fB\\n\fR\(rq for a newline, +\(lq\fB\\v\fR\(rq for a vertical tab, +\(lq\fB\\f\fR\(rq for a form feed page break, +and \(lq\fB\\r\fR\(rq for a carriage return) +are printed using escape sequences with numbers that correspond +to their byte values, with octal number format being the default. +.I option +can be one of the following: +.RS +.TP 17 +.B none +Hexadecimal numbers are not used in the output at all. +When there is a need to emit an escape sequence, octal numbers are used. +.TQ +.B non-ascii-chars +Hexadecimal numbers are used instead of octal in the escape sequences. +.TQ +.B non-ascii +Strings that contain non-ASCII characters are printed using escape sequences +with hexadecimal numbers. +.TQ +.B all +All strings are printed using escape sequences with hexadecimal numbers. +.RE +.IP +When the option is supplied without an argument, +.B all +is assumed. +.TP .B \-x .TQ -.BR \-\-strings\-in\-hex = \fInon\-ascii\fR +.BR \-\-strings\-in\-hex = non\-ascii Print all non-ASCII strings in hexadecimal string format. .TP .B \-xx .TQ -.B \-\-strings\-in\-hex -.TQ -.BR \-\-strings\-in\-hex = \fIall\fR +.BR \-\-strings\-in\-hex = all Print all strings in hexadecimal string format. .TP .BI "\-X " format @@ -1072,7 +1175,9 @@ .B \-\-decode\-fds .TQ .BR \-\-decode\-fds = path -Print paths associated with file descriptor arguments. +Print paths associated with file descriptor arguments and with the +.B AT_FDCWD +constant. .TP .B \-yy .TQ @@ -1083,16 +1188,43 @@ and PIDs associated with pidfd file descriptors. .TP .B \-\-pidns\-translation +.TQ +.BR \-\-decode\-pids = pidns If strace and tracee are in different PID namespaces, print PIDs in strace's namespace, too. +.TP +.B \-Y +.TQ +.BR \-\-decode\-pids = comm +Print command names for PIDs. .if '@ENABLE_SECONTEXT_FALSE@'#' .TP -.if '@ENABLE_SECONTEXT_FALSE@'#' .BR \-\-secontext "=full" +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR \-\-secontext\fR=\fIformat\fR +.if '@ENABLE_SECONTEXT_FALSE@'#' .TQ +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR \-e\ secontext\fR=\fIformat\fR .if '@ENABLE_SECONTEXT_FALSE@'#' When SELinux is available and is not disabled, .if '@ENABLE_SECONTEXT_FALSE@'#' print in square brackets SELinux contexts of -.if '@ENABLE_SECONTEXT_FALSE@'#' processes, files, and descriptors. When -.if '@ENABLE_SECONTEXT_FALSE@'#' .B full -.if '@ENABLE_SECONTEXT_FALSE@'#' is specified, print the complete context (user, -.if '@ENABLE_SECONTEXT_FALSE@'#' role, type and category) instead of just the type. +.if '@ENABLE_SECONTEXT_FALSE@'#' processes, files, and descriptors. The +.if '@ENABLE_SECONTEXT_FALSE@'#' .I format +.if '@ENABLE_SECONTEXT_FALSE@'#' argument is a comma-separated list of items +.if '@ENABLE_SECONTEXT_FALSE@'#' being one of the following: +.if '@ENABLE_SECONTEXT_FALSE@'#' .RS +.if '@ENABLE_SECONTEXT_FALSE@'#' .TP 18 +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR full +.if '@ENABLE_SECONTEXT_FALSE@'#' Print the full context (user, role, type level +.if '@ENABLE_SECONTEXT_FALSE@'#' and category). +.if '@ENABLE_SECONTEXT_FALSE@'#' .TQ +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR mismatch +.if '@ENABLE_SECONTEXT_FALSE@'#' Also print the context recorded by the SELinux +.if '@ENABLE_SECONTEXT_FALSE@'#' database in case the current context differs. +.if '@ENABLE_SECONTEXT_FALSE@'#' The latter is printed after two exclamation marks (!!). +.if '@ENABLE_SECONTEXT_FALSE@'#' .RE +.if '@ENABLE_SECONTEXT_FALSE@'#' .IP +.if '@ENABLE_SECONTEXT_FALSE@'#' The default value for +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR \-\-secontext +.if '@ENABLE_SECONTEXT_FALSE@'#' is +.if '@ENABLE_SECONTEXT_FALSE@'#' .BR !full,mismatch +.if '@ENABLE_SECONTEXT_FALSE@'#' which prints only the type instead of full context +.if '@ENABLE_SECONTEXT_FALSE@'#' and doesn't check for context mismatches. .SS Statistics .TP 12 .B \-c @@ -1201,10 +1333,12 @@ Summarise the time difference between the beginning and end of each system call. The default is to summarise the system time. .SS Tampering +.ad l .TP 12 -\fB\-e\ inject\fR=\,\fIsyscall_set\/\fR:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR:\fBsignal\fR=\,\fIsig\/\fR:\fBsyscall\fR=\,\fIsyscall\/\fR:\fBdelay_enter\fR=\,\fIdelay\/\fR:\fBdelay_exit\fR=\,\fIdelay\/\fR:\fBpoke_enter\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR:\fBpoke_exit\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR:\fBwhen\fR=\,\fIexpr\/\fR +\fB\-e\ inject\fR=\,\fIsyscall_set\/\fR:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR\::\fBsignal\fR=\,\fIsig\/\fR\::\fBsyscall\fR=\,\fIsyscall\/\fR\::\fBdelay_enter\fR=\,\fIdelay\/\fR\::\fBdelay_exit\fR=\,\fIdelay\/\fR\::\fBpoke_enter\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR\::\fBpoke_exit\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR\::\fBwhen\fR=\,\fIexpr\/\fR \{ .TQ -\fB\-\-inject\fR=\,\fIsyscall_set\/\fR:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR:\fBsignal\fR=\,\fIsig\/\fR:\fBsyscall\fR=\,\fIsyscall\/\fR:\fBdelay_enter\fR=\,\fIdelay\/\fR:\fBdelay_exit\fR=\,\fIdelay\/\fR:\fBpoke_enter\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR:\fBpoke_exit\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR:\fBwhen\fR=\,\fIexpr\/\fR +\fB\-\-inject\fR=\,\fIsyscall_set\/\fR:\fBerror\fR=\,\fIerrno\/\fR|:\fBretval\fR=\,\fIvalue\/\fR\::\fBsignal\fR=\,\fIsig\/\fR\::\fBsyscall\fR=\,\fIsyscall\/\fR\::\fBdelay_enter\fR=\,\fIdelay\/\fR\::\fBdelay_exit\fR=\,\fIdelay\/\fR\::\fBpoke_enter\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR\::\fBpoke_exit\fR=\,\fI@argN=DATAN,@argM=DATAM...\/\fR\::\fBwhen\fR=\,\fIexpr\/\fR \{ +.ad b Perform syscall tampering for the specified set of syscalls. The syntax of the .I syscall_set @@ -1453,11 +1587,41 @@ .B strace proceeds as usual and stops traced processes on every system call. .TP +.BR \-\-tips = id: \fIid\fR , format: \fIformat\fR +Show strace tips, tricks, and tweaks before exit. +.I id +can be a non-negative integer number, +which enables printing of specific tip, trick, or tweak +(these ID are not guaranteed to be stable), +or +.B random +(the default), +in which case a random tip is printed. +.I format +can be one of the following: +.RS +.TP 9 +.B none +No tip is printed. +Can be used to override the previous setting. +.TQ +.B compact +Print the tip just big enough to contain all the text. +.TQ +.B full +Print the tip in its full glory. +.RE +.IP +Default is +.BR id:random,format:compact . +.TP .B \-V .TQ .B \-\-version Print the version number of .BR strace . +Multiple instances of the option beyond specific threshold tend to increase +Strauss awareness. .SS "Time specification format description" .PP Time values can be specified as a decimal floating point number @@ -1726,7 +1890,7 @@ automatic configuration support. In 1995 he ported .B strace to Irix -and tired of writing about himself in the third person. +and became tired of writing about himself in the third person. .PP Beginning with 1996, .B strace @@ -1745,7 +1909,7 @@ improvements in syscalls decoders on Linux; .B strace development migrated to -.B git +.B Git during that period. Since 2009, .B strace @@ -1781,7 +1945,9 @@ .BR trace-cmd (1), .BR time (1), .BR ptrace (2), -.BR proc (5) +.BR syscall (2), +.BR proc (5), +.BR signal (7) .PP .UR https://strace.io/ .B strace
View file
_service:tar_scm:strace-5.14.tar.xz/m4/bpf_attr.m4 -> _service:tar_scm:strace-6.1.tar.xz/m4/bpf_attr.m4
Changed
@@ -8,9 +8,11 @@ struct bpf_map_info.id, struct bpf_map_info.ifindex, struct bpf_map_info.key_size, + struct bpf_map_info.map_extra, struct bpf_map_info.map_flags, struct bpf_map_info.max_entries, struct bpf_map_info.name, + struct bpf_map_info.pad, struct bpf_map_info.type, struct bpf_map_info.value_size, struct bpf_prog_info.btf_id, @@ -38,10 +40,12 @@ struct bpf_prog_info.nr_map_ids, struct bpf_prog_info.nr_prog_tags, struct bpf_prog_info.prog_tags, + struct bpf_prog_info.recursion_misses, struct bpf_prog_info.run_cnt, struct bpf_prog_info.run_time_ns, struct bpf_prog_info.tag, struct bpf_prog_info.type, + struct bpf_prog_info.verified_insns, struct bpf_prog_info.xlated_prog_insns, struct bpf_prog_info.xlated_prog_len, union bpf_attr.attach_bpf_fd, @@ -70,6 +74,7 @@ union bpf_attr.btf_vmlinux_value_type_id, union bpf_attr.dummy, union bpf_attr.expected_attach_type, + union bpf_attr.fd_array, union bpf_attr.file_flags, union bpf_attr.flags, union bpf_attr.func_info, @@ -88,10 +93,21 @@ union bpf_attr.line_info, union bpf_attr.line_info_cnt, union bpf_attr.line_info_rec_size, + union bpf_attr.link_create.addrs, union bpf_attr.link_create.attach_type, + union bpf_attr.link_create.bpf_cookie, + union bpf_attr.link_create.cnt, + union bpf_attr.link_create.cookies, union bpf_attr.link_create.flags, + union bpf_attr.link_create.iter_info, + union bpf_attr.link_create.iter_info_len, + union bpf_attr.link_create.kprobe_multi, + union bpf_attr.link_create.perf_event, union bpf_attr.link_create.prog_fd, + union bpf_attr.link_create.syms, + union bpf_attr.link_create.target_btf_id, union bpf_attr.link_create.target_fd, + union bpf_attr.link_id, union bpf_attr.link_update.flags, union bpf_attr.link_update.link_fd, union bpf_attr.link_update.new_prog_fd, @@ -99,6 +115,7 @@ union bpf_attr.log_buf, union bpf_attr.log_level, union bpf_attr.log_size, + union bpf_attr.map_extra, union bpf_attr.map_fd, union bpf_attr.map_flags, union bpf_attr.map_id, @@ -110,6 +127,7 @@ union bpf_attr.next_key, union bpf_attr.numa_node, union bpf_attr.open_flags, + union bpf_attr.pad, union bpf_attr.pathname, union bpf_attr.prog_btf_fd, union bpf_attr.prog_flags, @@ -137,6 +155,8 @@ union bpf_attr.task_fd_query.probe_addr, union bpf_attr.task_fd_query.probe_offset, union bpf_attr.task_fd_query.prog_id, + union bpf_attr.test.batch_size, + union bpf_attr.test.cpu, union bpf_attr.test.ctx_in, union bpf_attr.test.ctx_out, union bpf_attr.test.ctx_size_in, @@ -146,6 +166,7 @@ union bpf_attr.test.data_size_in, union bpf_attr.test.data_size_out, union bpf_attr.test.duration, + union bpf_attr.test.flags, union bpf_attr.test.prog_fd, union bpf_attr.test.repeat, union bpf_attr.test.retval,
View file
_service:tar_scm:strace-5.14.tar.xz/m4/st_selinux.m4 -> _service:tar_scm:strace-6.1.tar.xz/m4/st_selinux.m4
Changed
@@ -1,6 +1,6 @@ #!/usr/bin/m4 # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2021 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -34,29 +34,25 @@ AS_IF(test "x$found_selinux_h" = xyes, saved_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $libselinux_LDFLAGS" - AC_CHECK_LIB(selinux,getpidcon, - libselinux_LIBS="-lselinux" - enable_secontext=yes - , - if test "x$with_libselinux" != xcheck; then - AC_MSG_FAILURE(failed to find getpidcon in libselinux) - fi - - ) - AC_CHECK_LIB(selinux,getfilecon, - libselinux_LIBS="-lselinux" - enable_secontext=yes - , - if test "x$with_libselinux" != xcheck; then - AC_MSG_FAILURE(failed to find getfilecon in libselinux) - fi - + missing= + for func in getpidcon getfilecon selabel_open selabel_lookup; do + AC_CHECK_LIB(selinux, $func, :, + missing="$missing $func") + done + AS_IF(test "x$missing" = x, + libselinux_LIBS="-lselinux" + enable_secontext=yes + , + AS_IF(test "x$with_libselinux" != xcheck, + AC_MSG_FAILURE(failed to find in libselinux:$missing) + ) + ) LDFLAGS="$saved_LDFLAGS" , - if test "x$with_libselinux" != xcheck; then - AC_MSG_FAILURE(failed to find selinux.h) - fi + AS_IF(test "x$with_libselinux" != xcheck, + AC_MSG_FAILURE(failed to find selinux.h) + ) )
View file
_service:tar_scm:strace-5.14.tar.xz/src/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/src/Makefile.am
Changed
@@ -4,7 +4,7 @@ # Copyright (c) 2006-2016 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2008-2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> -# Copyright (c) 2002-2021 The strace developers. +# Copyright (c) 2002-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -81,6 +81,7 @@ close_range.c \ copy_file_range.c \ count.c \ + counter_ioctl.c \ defs.h \ delay.c \ delay.h \ @@ -131,7 +132,10 @@ fstatfs.c \ fstatfs64.c \ futex.c \ + futex_waitv.c \ gcc_compat.h \ + gen/gen_hdio.c \ + gen/generated.h \ get_personality.c \ get_personality.h \ get_robust_list.c \ @@ -160,6 +164,8 @@ ipc_shm.c \ ipc_shmctl.c \ kcmp.c \ + kd_ioctl.c \ + kd_mpers_ioctl.c \ kernel_dirent.h \ kernel_fcntl.h \ kernel_rusage.h \ @@ -179,6 +185,7 @@ link.c \ linux/x32/asm_stat.h \ linux/x86_64/asm_stat.h \ + lirc_ioctl.c \ list.h \ listen.c \ lookup_dcookie.c \ @@ -298,15 +305,18 @@ rtc.c \ rtnl_addr.c \ rtnl_addrlabel.c \ + rtnl_cachereport.c \ rtnl_dcb.c \ rtnl_link.c \ rtnl_mdb.c \ rtnl_neigh.c \ rtnl_neightbl.c \ rtnl_netconf.c \ + rtnl_nh.c \ rtnl_nsid.c \ rtnl_route.c \ rtnl_rule.c \ + rtnl_stats.c \ rtnl_tc.c \ rtnl_tc_action.c \ s390.c \ @@ -314,6 +324,7 @@ sched_attr.h \ scsi.c \ seccomp.c \ + seccomp_ioctl.c \ sendfile.c \ sg_io_v3.c \ sg_io_v4.c \ @@ -340,6 +351,8 @@ static_assert.h \ statx.c \ statx.h \ + strauss.c \ + strauss.h \ string_to_uint.c \ string_to_uint.h \ swapon.c \ @@ -348,6 +361,7 @@ syscall.c \ syscall.h \ syscall_dummy.h \ + syscall_name.c \ sysctl.c \ sysent.h \ sysent_shorthand_defs.h \ @@ -488,6 +502,7 @@ linux/alpha/signalent.h \ linux/alpha/syscallent.h \ linux/alpha/userent.h \ + linux/arc/arch_defs_.h \ linux/arc/arch_regs.c \ linux/arc/get_error.c \ linux/arc/get_scno.c \ @@ -515,6 +530,7 @@ linux/arm/shuffle_scno.c \ linux/arm/syscallent.h \ linux/arm/userent.h \ + linux/avr32/arch_defs_.h \ linux/avr32/arch_regs.c \ linux/avr32/get_error.c \ linux/avr32/get_scno.c \ @@ -540,6 +556,7 @@ linux/bfin/set_scno.c \ linux/bfin/syscallent.h \ linux/bfin/userent.h \ + linux/csky/arch_defs_.h \ linux/csky/arch_regs.c \ linux/csky/get_error.c \ linux/csky/get_scno.c \ @@ -550,7 +567,6 @@ linux/csky/set_error.c \ linux/csky/set_scno.c \ linux/csky/syscallent.h \ - linux/generic/arch_defs_.h \ linux/generic/arch_fpregset.c \ linux/generic/arch_fpregset.h \ linux/generic/arch_kvm.c \ @@ -634,6 +650,21 @@ linux/ia64/syscallent.h \ linux/ia64/syscallent_base_nr.h \ linux/ia64/userent.h \ + linux/loongarch64/arch_defs_.h \ + linux/loongarch64/arch_fpregset.c \ + linux/loongarch64/arch_fpregset.h \ + linux/loongarch64/arch_prstatus_regset.c \ + linux/loongarch64/arch_prstatus_regset.h \ + linux/loongarch64/arch_regs.c \ + linux/loongarch64/get_error.c \ + linux/loongarch64/get_scno.c \ + linux/loongarch64/get_syscall_args.c \ + linux/loongarch64/ioctls_arch0.h \ + linux/loongarch64/ioctls_inc0.h \ + linux/loongarch64/raw_syscall.h \ + linux/loongarch64/set_error.c \ + linux/loongarch64/set_scno.c \ + linux/loongarch64/syscallent.h \ linux/m68k/arch_defs_.h \ linux/m68k/arch_regs.c \ linux/m68k/arch_rt_sigframe.c \ @@ -649,6 +680,7 @@ linux/m68k/set_scno.c \ linux/m68k/syscallent.h \ linux/m68k/userent.h \ + linux/metag/arch_defs_.h \ linux/metag/arch_regs.c \ linux/metag/arch_rt_sigframe.c \ linux/metag/get_error.c \ @@ -710,6 +742,7 @@ linux/nios2/set_error.c \ linux/nios2/set_scno.c \ linux/nios2/syscallent.h \ + linux/or1k/arch_defs_.h \ linux/or1k/arch_regs.c \ linux/or1k/get_error.c \ linux/or1k/get_scno.c \ @@ -788,6 +821,7 @@ linux/powerpc64le/set_scno.c \ linux/powerpc64le/syscallent.h \ linux/powerpc64le/userent.h \ + linux/riscv64/arch_defs_.h \ linux/riscv64/arch_prstatus_regset.c \ linux/riscv64/arch_prstatus_regset.h \ linux/riscv64/arch_regs.c \ @@ -990,6 +1024,7 @@ linux/x86_64/syscallent1.h \ linux/x86_64/syscallent2.h \ linux/x86_64/userent.h \ + linux/xtensa/arch_defs_.h \ linux/xtensa/arch_regs.c \ linux/xtensa/get_error.c \ linux/xtensa/get_scno.c \ @@ -1115,8 +1150,11 @@ # mpers targets -mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h - for f in $^; do \ +# sys_func.h is an auto-generated file. Make sure it's present before +# preprocessor is ran against it. Example use: +# struct_blk_user_trace_setup.c => syscall.h => sys_func.h (generated) +mpers-m%.stamp: $(srcdir_mpers_source_files) printers.h sys_func.h + for f in $(srcdir_mpers_source_files); do \ D="$(D)" \ READELF="$(READELF)" \ CC="$(mpers_CC)" \
View file
_service:tar_scm:strace-5.14.tar.xz/src/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/src/Makefile.in
Changed
@@ -20,7 +20,7 @@ # Copyright (c) 2006-2016 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2008-2015 Mike Frysinger <vapier@gentoo.org> # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> -# Copyright (c) 2002-2021 The strace developers. +# Copyright (c) 2002-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -144,25 +144,18 @@ @HAVE_MX32_MPERS_TRUE@am__append_26 = $(mpers_mx32_targets) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -194,12 +187,13 @@ fetch_struct_mmsghdr.c fetch_struct_msghdr.c \ fetch_struct_stat.c fetch_struct_stat64.c \ fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c \ - ipc_msgctl.c ipc_semctl.c ipc_shmctl.c loop.c mtd.c \ - perf_ioctl.c print_group_req.c print_kernel_sigset.c \ + ipc_msgctl.c ipc_semctl.c ipc_shmctl.c kd_mpers_ioctl.c loop.c \ + mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c \ print_mq_attr.c print_msgbuf.c print_sg_req_info.c \ print_sigevent.c print_time.c print_timeval.c printrusage.c \ printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c \ - sigaltstack.c sock.c sysinfo.c times.c ustat.c utime.c v4l2.c + sigaltstack.c sock.c sysctl.c sysinfo.c times.c ustat.c \ + utime.c v4l2.c am__objects_1 = libmpers_m32_a-block.$(OBJEXT) \ libmpers_m32_a-btrfs.$(OBJEXT) libmpers_m32_a-dirent.$(OBJEXT) \ libmpers_m32_a-evdev_mpers.$(OBJEXT) \ @@ -217,6 +211,7 @@ libmpers_m32_a-ipc_msgctl.$(OBJEXT) \ libmpers_m32_a-ipc_semctl.$(OBJEXT) \ libmpers_m32_a-ipc_shmctl.$(OBJEXT) \ + libmpers_m32_a-kd_mpers_ioctl.$(OBJEXT) \ libmpers_m32_a-loop.$(OBJEXT) libmpers_m32_a-mtd.$(OBJEXT) \ libmpers_m32_a-perf_ioctl.$(OBJEXT) \ libmpers_m32_a-print_group_req.$(OBJEXT) \ @@ -233,7 +228,8 @@ libmpers_m32_a-rt_sigreturn.$(OBJEXT) \ libmpers_m32_a-rtc.$(OBJEXT) libmpers_m32_a-sg_io_v3.$(OBJEXT) \ libmpers_m32_a-sigaltstack.$(OBJEXT) \ - libmpers_m32_a-sock.$(OBJEXT) libmpers_m32_a-sysinfo.$(OBJEXT) \ + libmpers_m32_a-sock.$(OBJEXT) libmpers_m32_a-sysctl.$(OBJEXT) \ + libmpers_m32_a-sysinfo.$(OBJEXT) \ libmpers_m32_a-times.$(OBJEXT) libmpers_m32_a-ustat.$(OBJEXT) \ libmpers_m32_a-utime.$(OBJEXT) libmpers_m32_a-v4l2.$(OBJEXT) @HAVE_M32_MPERS_TRUE@am_libmpers_m32_a_OBJECTS = $(am__objects_1) @@ -246,12 +242,13 @@ fetch_struct_mmsghdr.c fetch_struct_msghdr.c \ fetch_struct_stat.c fetch_struct_stat64.c \ fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c \ - ipc_msgctl.c ipc_semctl.c ipc_shmctl.c loop.c mtd.c \ - perf_ioctl.c print_group_req.c print_kernel_sigset.c \ + ipc_msgctl.c ipc_semctl.c ipc_shmctl.c kd_mpers_ioctl.c loop.c \ + mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c \ print_mq_attr.c print_msgbuf.c print_sg_req_info.c \ print_sigevent.c print_time.c print_timeval.c printrusage.c \ printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c \ - sigaltstack.c sock.c sysinfo.c times.c ustat.c utime.c v4l2.c + sigaltstack.c sock.c sysctl.c sysinfo.c times.c ustat.c \ + utime.c v4l2.c am__objects_2 = libmpers_mx32_a-block.$(OBJEXT) \ libmpers_mx32_a-btrfs.$(OBJEXT) \ libmpers_mx32_a-dirent.$(OBJEXT) \ @@ -270,6 +267,7 @@ libmpers_mx32_a-ipc_msgctl.$(OBJEXT) \ libmpers_mx32_a-ipc_semctl.$(OBJEXT) \ libmpers_mx32_a-ipc_shmctl.$(OBJEXT) \ + libmpers_mx32_a-kd_mpers_ioctl.$(OBJEXT) \ libmpers_mx32_a-loop.$(OBJEXT) libmpers_mx32_a-mtd.$(OBJEXT) \ libmpers_mx32_a-perf_ioctl.$(OBJEXT) \ libmpers_mx32_a-print_group_req.$(OBJEXT) \ @@ -288,6 +286,7 @@ libmpers_mx32_a-sg_io_v3.$(OBJEXT) \ libmpers_mx32_a-sigaltstack.$(OBJEXT) \ libmpers_mx32_a-sock.$(OBJEXT) \ + libmpers_mx32_a-sysctl.$(OBJEXT) \ libmpers_mx32_a-sysinfo.$(OBJEXT) \ libmpers_mx32_a-times.$(OBJEXT) \ libmpers_mx32_a-ustat.$(OBJEXT) \ @@ -301,10 +300,10 @@ bpf_attr.h bpf_filter.c bpf_filter.h bpf_fprog.h \ bpf_seccomp_filter.c bpf_sock_filter.c btrfs.c cacheflush.c \ capability.c caps0.h caps1.h chdir.c chmod.c clone.c \ - close_range.c copy_file_range.c count.c defs.h delay.c delay.h \ - desc.c dirent.c dirent64.c dirent_types.c dm.c dup.c dyxlat.c \ - empty.h epoll.c error_prints.c error_prints.h evdev.c \ - evdev_mpers.c eventfd.c execve.c fadvise.c fallocate.c \ + close_range.c copy_file_range.c count.c counter_ioctl.c defs.h \ + delay.c delay.h desc.c dirent.c dirent64.c dirent_types.c dm.c \ + dup.c dyxlat.c empty.h epoll.c error_prints.c error_prints.h \ + evdev.c evdev_mpers.c eventfd.c execve.c fadvise.c fallocate.c \ fanotify.c fchownat.c fcntl.c fetch_bpf_fprog.c \ fetch_indirect_syscall_args.c fetch_struct_flock.c \ fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c \ @@ -314,24 +313,26 @@ file_handle.c filter.h filter_qualify.c filter_seccomp.c \ filter_seccomp.h flock.c fs_0x94_ioctl.c fs_f_ioctl.c \ fs_x_ioctl.c fsconfig.c fsmount.c fsopen.c fspick.c fstatfs.c \ - fstatfs64.c futex.c gcc_compat.h get_personality.c \ - get_personality.h get_robust_list.c getcpu.c getcwd.c \ - getpagesize.c getpid.c getrandom.c gpio_ioctl.c hdio.c \ - hostname.c inotify.c inotify_ioctl.c io.c io_uring.c ioctl.c \ - ioperm.c ioprio.c iovec.h ipc.c ipc_defs.h ipc_msg.c \ - ipc_msgctl.c ipc_sem.c ipc_semctl.c ipc_shm.c ipc_shmctl.c \ - kcmp.c kernel_dirent.h kernel_fcntl.h kernel_rusage.h \ - kernel_timespec.h kernel_timeval.h kernel_timex.h \ - kernel_types.h kernel_v4l2_types.h kexec.c keyctl.c \ - keyctl_kdf_params.h kill_save_errno.h kvm.c landlock.c \ - largefile_wrappers.h ldt.c link.c linux/x32/asm_stat.h \ - linux/x86_64/asm_stat.h list.h listen.c lookup_dcookie.c \ - loop.c lseek.c macros.h mem.c membarrier.c memfd_create.c \ - memfd_secret.c mknod.c mmap_cache.c mmap_cache.h mmap_notify.c \ - mmap_notify.h mmsghdr.c mount.c mount_setattr.c move_mount.c \ - mpers_type.h mq.c msghdr.c msghdr.h mtd.c native_defs.h \ - nbd_ioctl.c negated_errno.h net.c netlink.c netlink.h \ - netlink_crypto.c netlink_inet_diag.c netlink_kobject_uevent.c \ + fstatfs64.c futex.c futex_waitv.c gcc_compat.h gen/gen_hdio.c \ + gen/generated.h get_personality.c get_personality.h \ + get_robust_list.c getcpu.c getcwd.c getpagesize.c getpid.c \ + getrandom.c gpio_ioctl.c hdio.c hostname.c inotify.c \ + inotify_ioctl.c io.c io_uring.c ioctl.c ioperm.c ioprio.c \ + iovec.h ipc.c ipc_defs.h ipc_msg.c ipc_msgctl.c ipc_sem.c \ + ipc_semctl.c ipc_shm.c ipc_shmctl.c kcmp.c kd_ioctl.c \ + kd_mpers_ioctl.c kernel_dirent.h kernel_fcntl.h \ + kernel_rusage.h kernel_timespec.h kernel_timeval.h \ + kernel_timex.h kernel_types.h kernel_v4l2_types.h kexec.c \ + keyctl.c keyctl_kdf_params.h kill_save_errno.h kvm.c \ + landlock.c largefile_wrappers.h ldt.c link.c \ + linux/x32/asm_stat.h linux/x86_64/asm_stat.h lirc_ioctl.c \ + list.h listen.c lookup_dcookie.c loop.c lseek.c macros.h mem.c \ + membarrier.c memfd_create.c memfd_secret.c mknod.c \ + mmap_cache.c mmap_cache.h mmap_notify.c mmap_notify.h \ + mmsghdr.c mount.c mount_setattr.c move_mount.c mpers_type.h \ + mq.c msghdr.c msghdr.h mtd.c native_defs.h nbd_ioctl.c \ + negated_errno.h net.c netlink.c netlink.h netlink_crypto.c \ + netlink_inet_diag.c netlink_kobject_uevent.c \ netlink_kobject_uevent.h netlink_netfilter.c \ netlink_netlink_diag.c netlink_packet_diag.c netlink_route.c \ netlink_route.h netlink_selinux.c netlink_smc_diag.c \ @@ -353,25 +354,28 @@ ptrace_syscall_info.h quota.c random_ioctl.c readahead.c \ readlink.c reboot.c regs.h regset.c renameat.c resource.c \ retval.c retval.h riscv.c rt_sigframe.c rt_sigreturn.c rtc.c \ - rtnl_addr.c rtnl_addrlabel.c rtnl_dcb.c rtnl_link.c rtnl_mdb.c \ - rtnl_neigh.c rtnl_neightbl.c rtnl_netconf.c rtnl_nsid.c \ - rtnl_route.c rtnl_rule.c rtnl_tc.c rtnl_tc_action.c s390.c \ - sched.c sched_attr.h scsi.c seccomp.c sendfile.c sg_io_v3.c \ - sg_io_v4.c shutdown.c sigaltstack.c sigevent.h signal.c \ - signalfd.c sigreturn.c sock.c sockaddr.c socketcall.c \ + rtnl_addr.c rtnl_addrlabel.c rtnl_cachereport.c rtnl_dcb.c \ + rtnl_link.c rtnl_mdb.c rtnl_neigh.c rtnl_neightbl.c \ + rtnl_netconf.c rtnl_nh.c rtnl_nsid.c rtnl_route.c rtnl_rule.c \ + rtnl_stats.c rtnl_tc.c rtnl_tc_action.c s390.c sched.c \ + sched_attr.h scsi.c seccomp.c seccomp_ioctl.c sendfile.c \ + sg_io_v3.c sg_io_v4.c shutdown.c sigaltstack.c sigevent.h \ + signal.c signalfd.c sigreturn.c sock.c sockaddr.c socketcall.c \ socketutils.c sparc.c sram_alloc.c stage_output.c stat.c \ stat.h stat64.c statfs.c statfs.h statfs64.c static_assert.h \ - statx.c statx.h string_to_uint.c string_to_uint.h swapon.c \ - sync_file_range.c sync_file_range2.c syscall.c syscall.h \ - syscall_dummy.h sysctl.c sysent.h sysent_shorthand_defs.h \ - sysent_shorthand_undefs.h sysinfo.c syslog.c sysmips.c tee.c \ - term.c time.c times.c trace_event.h trie.c trie.h truncate.c \ - ubi.c ucopy.c uid.c uid16.c umask.c umount.c uname.c upeek.c \ - upoke.c userfaultfd.c ustat.c util.c utime.c utimes.c v4l2.c \ - wait.c wait.h watchdog_ioctl.c xattr.c xgetdents.c xgetdents.h \ - xlat.c xlat.h xmalloc.c xmalloc.h xstring.h bpf_attr_check.c \ - unwind.c unwind.h unwind-libdw.c unwind-libunwind.c \ - secontext.c secontext.h + statx.c statx.h strauss.c strauss.h string_to_uint.c \ + string_to_uint.h swapon.c sync_file_range.c sync_file_range2.c \ + syscall.c syscall.h syscall_dummy.h syscall_name.c sysctl.c \ + sysent.h sysent_shorthand_defs.h sysent_shorthand_undefs.h \ + sysinfo.c syslog.c sysmips.c tee.c term.c time.c times.c \ + trace_event.h trie.c trie.h truncate.c ubi.c ucopy.c uid.c \ + uid16.c umask.c umount.c uname.c upeek.c upoke.c userfaultfd.c \ + ustat.c util.c utime.c utimes.c v4l2.c wait.c wait.h \ + watchdog_ioctl.c xattr.c xgetdents.c xgetdents.h xlat.c xlat.h \ + xmalloc.c xmalloc.h xstring.h bpf_attr_check.c unwind.c \ + unwind.h unwind-libdw.c unwind-libunwind.c secontext.c \ + secontext.h +am__dirstamp = $(am__leading_dot)dirstamp am__objects_3 = libstrace_a-bpf_attr_check.$(OBJEXT) @ENABLE_STACKTRACE_TRUE@am__objects_4 = libstrace_a-unwind.$(OBJEXT) @ENABLE_STACKTRACE_TRUE@@USE_LIBDW_TRUE@am__objects_5 = libstrace_a-unwind-libdw.$(OBJEXT) @@ -391,9 +395,10 @@ libstrace_a-chmod.$(OBJEXT) libstrace_a-clone.$(OBJEXT) \ libstrace_a-close_range.$(OBJEXT) \ libstrace_a-copy_file_range.$(OBJEXT) \ - libstrace_a-count.$(OBJEXT) libstrace_a-delay.$(OBJEXT) \ - libstrace_a-desc.$(OBJEXT) libstrace_a-dirent.$(OBJEXT) \ - libstrace_a-dirent64.$(OBJEXT) \ + libstrace_a-count.$(OBJEXT) \ + libstrace_a-counter_ioctl.$(OBJEXT) \ + libstrace_a-delay.$(OBJEXT) libstrace_a-desc.$(OBJEXT) \ + libstrace_a-dirent.$(OBJEXT) libstrace_a-dirent64.$(OBJEXT) \ libstrace_a-dirent_types.$(OBJEXT) libstrace_a-dm.$(OBJEXT) \ libstrace_a-dup.$(OBJEXT) libstrace_a-dyxlat.$(OBJEXT) \ libstrace_a-epoll.$(OBJEXT) libstrace_a-error_prints.$(OBJEXT) \ @@ -423,7 +428,8 @@ libstrace_a-fsconfig.$(OBJEXT) libstrace_a-fsmount.$(OBJEXT) \ libstrace_a-fsopen.$(OBJEXT) libstrace_a-fspick.$(OBJEXT) \ libstrace_a-fstatfs.$(OBJEXT) libstrace_a-fstatfs64.$(OBJEXT) \ - libstrace_a-futex.$(OBJEXT) \ + libstrace_a-futex.$(OBJEXT) libstrace_a-futex_waitv.$(OBJEXT) \ + gen/libstrace_a-gen_hdio.$(OBJEXT) \ libstrace_a-get_personality.$(OBJEXT) \ libstrace_a-get_robust_list.$(OBJEXT) \ libstrace_a-getcpu.$(OBJEXT) libstrace_a-getcwd.$(OBJEXT) \ @@ -438,10 +444,12 @@ libstrace_a-ipc_msgctl.$(OBJEXT) libstrace_a-ipc_sem.$(OBJEXT) \ libstrace_a-ipc_semctl.$(OBJEXT) libstrace_a-ipc_shm.$(OBJEXT) \ libstrace_a-ipc_shmctl.$(OBJEXT) libstrace_a-kcmp.$(OBJEXT) \ + libstrace_a-kd_ioctl.$(OBJEXT) \ + libstrace_a-kd_mpers_ioctl.$(OBJEXT) \ libstrace_a-kexec.$(OBJEXT) libstrace_a-keyctl.$(OBJEXT) \ libstrace_a-kvm.$(OBJEXT) libstrace_a-landlock.$(OBJEXT) \ libstrace_a-ldt.$(OBJEXT) libstrace_a-link.$(OBJEXT) \ - libstrace_a-listen.$(OBJEXT) \ + libstrace_a-lirc_ioctl.$(OBJEXT) libstrace_a-listen.$(OBJEXT) \ libstrace_a-lookup_dcookie.$(OBJEXT) \ libstrace_a-loop.$(OBJEXT) libstrace_a-lseek.$(OBJEXT) \ libstrace_a-mem.$(OBJEXT) libstrace_a-membarrier.$(OBJEXT) \ @@ -513,17 +521,20 @@ libstrace_a-rt_sigreturn.$(OBJEXT) libstrace_a-rtc.$(OBJEXT) \ libstrace_a-rtnl_addr.$(OBJEXT) \ libstrace_a-rtnl_addrlabel.$(OBJEXT) \ + libstrace_a-rtnl_cachereport.$(OBJEXT) \ libstrace_a-rtnl_dcb.$(OBJEXT) libstrace_a-rtnl_link.$(OBJEXT) \ libstrace_a-rtnl_mdb.$(OBJEXT) \ libstrace_a-rtnl_neigh.$(OBJEXT) \ libstrace_a-rtnl_neightbl.$(OBJEXT) \ libstrace_a-rtnl_netconf.$(OBJEXT) \ - libstrace_a-rtnl_nsid.$(OBJEXT) \ + libstrace_a-rtnl_nh.$(OBJEXT) libstrace_a-rtnl_nsid.$(OBJEXT) \ libstrace_a-rtnl_route.$(OBJEXT) \ - libstrace_a-rtnl_rule.$(OBJEXT) libstrace_a-rtnl_tc.$(OBJEXT) \ + libstrace_a-rtnl_rule.$(OBJEXT) \ + libstrace_a-rtnl_stats.$(OBJEXT) libstrace_a-rtnl_tc.$(OBJEXT) \ libstrace_a-rtnl_tc_action.$(OBJEXT) \ libstrace_a-s390.$(OBJEXT) libstrace_a-sched.$(OBJEXT) \ libstrace_a-scsi.$(OBJEXT) libstrace_a-seccomp.$(OBJEXT) \ + libstrace_a-seccomp_ioctl.$(OBJEXT) \ libstrace_a-sendfile.$(OBJEXT) libstrace_a-sg_io_v3.$(OBJEXT) \ libstrace_a-sg_io_v4.$(OBJEXT) libstrace_a-shutdown.$(OBJEXT) \ libstrace_a-sigaltstack.$(OBJEXT) libstrace_a-signal.$(OBJEXT) \ @@ -535,25 +546,26 @@ libstrace_a-stage_output.$(OBJEXT) libstrace_a-stat.$(OBJEXT) \ libstrace_a-stat64.$(OBJEXT) libstrace_a-statfs.$(OBJEXT) \ libstrace_a-statfs.$(OBJEXT) libstrace_a-statfs64.$(OBJEXT) \ - libstrace_a-statx.$(OBJEXT) \ + libstrace_a-statx.$(OBJEXT) libstrace_a-strauss.$(OBJEXT) \ libstrace_a-string_to_uint.$(OBJEXT) \ libstrace_a-swapon.$(OBJEXT) \ libstrace_a-sync_file_range.$(OBJEXT) \ libstrace_a-sync_file_range2.$(OBJEXT) \ - libstrace_a-syscall.$(OBJEXT) libstrace_a-sysctl.$(OBJEXT) \ - libstrace_a-sysinfo.$(OBJEXT) libstrace_a-syslog.$(OBJEXT) \ - libstrace_a-sysmips.$(OBJEXT) libstrace_a-tee.$(OBJEXT) \ - libstrace_a-term.$(OBJEXT) libstrace_a-time.$(OBJEXT) \ - libstrace_a-times.$(OBJEXT) libstrace_a-trie.$(OBJEXT) \ - libstrace_a-truncate.$(OBJEXT) libstrace_a-ubi.$(OBJEXT) \ - libstrace_a-ucopy.$(OBJEXT) libstrace_a-uid.$(OBJEXT) \ - libstrace_a-uid16.$(OBJEXT) libstrace_a-umask.$(OBJEXT) \ - libstrace_a-umount.$(OBJEXT) libstrace_a-uname.$(OBJEXT) \ - libstrace_a-upeek.$(OBJEXT) libstrace_a-upoke.$(OBJEXT) \ - libstrace_a-userfaultfd.$(OBJEXT) libstrace_a-ustat.$(OBJEXT) \ - libstrace_a-util.$(OBJEXT) libstrace_a-utime.$(OBJEXT) \ - libstrace_a-utimes.$(OBJEXT) libstrace_a-v4l2.$(OBJEXT) \ - libstrace_a-wait.$(OBJEXT) \ + libstrace_a-syscall.$(OBJEXT) \ + libstrace_a-syscall_name.$(OBJEXT) \ + libstrace_a-sysctl.$(OBJEXT) libstrace_a-sysinfo.$(OBJEXT) \ + libstrace_a-syslog.$(OBJEXT) libstrace_a-sysmips.$(OBJEXT) \ + libstrace_a-tee.$(OBJEXT) libstrace_a-term.$(OBJEXT) \ + libstrace_a-time.$(OBJEXT) libstrace_a-times.$(OBJEXT) \ + libstrace_a-trie.$(OBJEXT) libstrace_a-truncate.$(OBJEXT) \ + libstrace_a-ubi.$(OBJEXT) libstrace_a-ucopy.$(OBJEXT) \ + libstrace_a-uid.$(OBJEXT) libstrace_a-uid16.$(OBJEXT) \ + libstrace_a-umask.$(OBJEXT) libstrace_a-umount.$(OBJEXT) \ + libstrace_a-uname.$(OBJEXT) libstrace_a-upeek.$(OBJEXT) \ + libstrace_a-upoke.$(OBJEXT) libstrace_a-userfaultfd.$(OBJEXT) \ + libstrace_a-ustat.$(OBJEXT) libstrace_a-util.$(OBJEXT) \ + libstrace_a-utime.$(OBJEXT) libstrace_a-utimes.$(OBJEXT) \ + libstrace_a-v4l2.$(OBJEXT) libstrace_a-wait.$(OBJEXT) \ libstrace_a-watchdog_ioctl.$(OBJEXT) \ libstrace_a-xattr.$(OBJEXT) libstrace_a-xgetdents.$(OBJEXT) \ libstrace_a-xlat.$(OBJEXT) libstrace_a-xmalloc.$(OBJEXT) \ @@ -651,6 +663,7 @@ ./$(DEPDIR)/libmpers_m32_a-ipc_msgctl.Po \ ./$(DEPDIR)/libmpers_m32_a-ipc_semctl.Po \ ./$(DEPDIR)/libmpers_m32_a-ipc_shmctl.Po \ + ./$(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po \ ./$(DEPDIR)/libmpers_m32_a-loop.Po \ ./$(DEPDIR)/libmpers_m32_a-mtd.Po \ ./$(DEPDIR)/libmpers_m32_a-perf_ioctl.Po \ @@ -670,6 +683,7 @@ ./$(DEPDIR)/libmpers_m32_a-sg_io_v3.Po \ ./$(DEPDIR)/libmpers_m32_a-sigaltstack.Po \ ./$(DEPDIR)/libmpers_m32_a-sock.Po \ + ./$(DEPDIR)/libmpers_m32_a-sysctl.Po \ ./$(DEPDIR)/libmpers_m32_a-sysinfo.Po \ ./$(DEPDIR)/libmpers_m32_a-times.Po \ ./$(DEPDIR)/libmpers_m32_a-ustat.Po \ @@ -693,6 +707,7 @@ ./$(DEPDIR)/libmpers_mx32_a-ipc_msgctl.Po \ ./$(DEPDIR)/libmpers_mx32_a-ipc_semctl.Po \ ./$(DEPDIR)/libmpers_mx32_a-ipc_shmctl.Po \ + ./$(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po \ ./$(DEPDIR)/libmpers_mx32_a-loop.Po \ ./$(DEPDIR)/libmpers_mx32_a-mtd.Po \ ./$(DEPDIR)/libmpers_mx32_a-perf_ioctl.Po \ @@ -712,6 +727,7 @@ ./$(DEPDIR)/libmpers_mx32_a-sg_io_v3.Po \ ./$(DEPDIR)/libmpers_mx32_a-sigaltstack.Po \ ./$(DEPDIR)/libmpers_mx32_a-sock.Po \ + ./$(DEPDIR)/libmpers_mx32_a-sysctl.Po \ ./$(DEPDIR)/libmpers_mx32_a-sysinfo.Po \ ./$(DEPDIR)/libmpers_mx32_a-times.Po \ ./$(DEPDIR)/libmpers_mx32_a-ustat.Po \ @@ -738,6 +754,7 @@ ./$(DEPDIR)/libstrace_a-close_range.Po \ ./$(DEPDIR)/libstrace_a-copy_file_range.Po \ ./$(DEPDIR)/libstrace_a-count.Po \ + ./$(DEPDIR)/libstrace_a-counter_ioctl.Po \ ./$(DEPDIR)/libstrace_a-delay.Po \ ./$(DEPDIR)/libstrace_a-desc.Po \ ./$(DEPDIR)/libstrace_a-dirent.Po \ @@ -781,6 +798,7 @@ ./$(DEPDIR)/libstrace_a-fstatfs.Po \ ./$(DEPDIR)/libstrace_a-fstatfs64.Po \ ./$(DEPDIR)/libstrace_a-futex.Po \ + ./$(DEPDIR)/libstrace_a-futex_waitv.Po \ ./$(DEPDIR)/libstrace_a-get_personality.Po \ ./$(DEPDIR)/libstrace_a-get_robust_list.Po \ ./$(DEPDIR)/libstrace_a-getcpu.Po \ @@ -806,11 +824,14 @@ ./$(DEPDIR)/libstrace_a-ipc_shm.Po \ ./$(DEPDIR)/libstrace_a-ipc_shmctl.Po \ ./$(DEPDIR)/libstrace_a-kcmp.Po \ + ./$(DEPDIR)/libstrace_a-kd_ioctl.Po \ + ./$(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po \ ./$(DEPDIR)/libstrace_a-kexec.Po \ ./$(DEPDIR)/libstrace_a-keyctl.Po \ ./$(DEPDIR)/libstrace_a-kvm.Po \ ./$(DEPDIR)/libstrace_a-landlock.Po \ ./$(DEPDIR)/libstrace_a-ldt.Po ./$(DEPDIR)/libstrace_a-link.Po \ + ./$(DEPDIR)/libstrace_a-lirc_ioctl.Po \ ./$(DEPDIR)/libstrace_a-listen.Po \ ./$(DEPDIR)/libstrace_a-lookup_dcookie.Po \ ./$(DEPDIR)/libstrace_a-loop.Po \ @@ -904,21 +925,25 @@ ./$(DEPDIR)/libstrace_a-rtc.Po \ ./$(DEPDIR)/libstrace_a-rtnl_addr.Po \ ./$(DEPDIR)/libstrace_a-rtnl_addrlabel.Po \ + ./$(DEPDIR)/libstrace_a-rtnl_cachereport.Po \ ./$(DEPDIR)/libstrace_a-rtnl_dcb.Po \ ./$(DEPDIR)/libstrace_a-rtnl_link.Po \ ./$(DEPDIR)/libstrace_a-rtnl_mdb.Po \ ./$(DEPDIR)/libstrace_a-rtnl_neigh.Po \ ./$(DEPDIR)/libstrace_a-rtnl_neightbl.Po \ ./$(DEPDIR)/libstrace_a-rtnl_netconf.Po \ + ./$(DEPDIR)/libstrace_a-rtnl_nh.Po \ ./$(DEPDIR)/libstrace_a-rtnl_nsid.Po \ ./$(DEPDIR)/libstrace_a-rtnl_route.Po \ ./$(DEPDIR)/libstrace_a-rtnl_rule.Po \ + ./$(DEPDIR)/libstrace_a-rtnl_stats.Po \ ./$(DEPDIR)/libstrace_a-rtnl_tc.Po \ ./$(DEPDIR)/libstrace_a-rtnl_tc_action.Po \ ./$(DEPDIR)/libstrace_a-s390.Po \ ./$(DEPDIR)/libstrace_a-sched.Po \ ./$(DEPDIR)/libstrace_a-scsi.Po \ ./$(DEPDIR)/libstrace_a-seccomp.Po \ + ./$(DEPDIR)/libstrace_a-seccomp_ioctl.Po \ ./$(DEPDIR)/libstrace_a-secontext.Po \ ./$(DEPDIR)/libstrace_a-sendfile.Po \ ./$(DEPDIR)/libstrace_a-sg_io_v3.Po \ @@ -940,11 +965,13 @@ ./$(DEPDIR)/libstrace_a-statfs.Po \ ./$(DEPDIR)/libstrace_a-statfs64.Po \ ./$(DEPDIR)/libstrace_a-statx.Po \ + ./$(DEPDIR)/libstrace_a-strauss.Po \ ./$(DEPDIR)/libstrace_a-string_to_uint.Po \ ./$(DEPDIR)/libstrace_a-swapon.Po \ ./$(DEPDIR)/libstrace_a-sync_file_range.Po \ ./$(DEPDIR)/libstrace_a-sync_file_range2.Po \ ./$(DEPDIR)/libstrace_a-syscall.Po \ + ./$(DEPDIR)/libstrace_a-syscall_name.Po \ ./$(DEPDIR)/libstrace_a-sysctl.Po \ ./$(DEPDIR)/libstrace_a-sysinfo.Po \ ./$(DEPDIR)/libstrace_a-syslog.Po \ @@ -978,7 +1005,8 @@ ./$(DEPDIR)/libstrace_a-xgetdents.Po \ ./$(DEPDIR)/libstrace_a-xlat.Po \ ./$(DEPDIR)/libstrace_a-xmalloc.Po \ - ./$(DEPDIR)/strace-strace.Po + ./$(DEPDIR)/strace-strace.Po \ + gen/$(DEPDIR)/libstrace_a-gen_hdio.Po am__mv = mv -f AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) @@ -1101,7 +1129,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -1121,6 +1148,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_LONG = @SIZEOF_LONG@ +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -1188,6 +1217,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -1229,7 +1259,8 @@ xlat/adjtimex_modes.in xlat/adjtimex_state.in \ xlat/adjtimex_status.in xlat/advise.in xlat/af_packet_types.in \ xlat/af_packet_versions.in xlat/aio_cmds.in \ - xlat/aio_iocb_flags.in xlat/archvals.in \ + xlat/aio_iocb_flags.in xlat/alg_sockaddr_flags.in \ + xlat/alpha_trap_codes.in xlat/archvals.in \ xlat/arp_hardware_types.in xlat/at_flags.in \ xlat/at_statx_sync_types.in xlat/atomic_ops.in \ xlat/audit_arch.in xlat/ax25_protocols.in xlat/baud_options.in \ @@ -1238,25 +1269,28 @@ xlat/bootflags1.in xlat/bootflags2.in xlat/bootflags3.in \ xlat/bpf_attach_flags.in xlat/bpf_attach_type.in \ xlat/bpf_class.in xlat/bpf_commands.in \ - xlat/bpf_file_mode_flags.in xlat/bpf_map_flags.in \ - xlat/bpf_map_lookup_elem_flags.in xlat/bpf_map_types.in \ - xlat/bpf_map_update_elem_flags.in xlat/bpf_miscop.in \ - xlat/bpf_mode.in xlat/bpf_op_alu.in xlat/bpf_op_jmp.in \ - xlat/bpf_prog_flags.in xlat/bpf_prog_types.in \ - xlat/bpf_query_flags.in xlat/bpf_rval.in xlat/bpf_size.in \ - xlat/bpf_src.in xlat/bpf_task_fd_type.in xlat/bsg_flags.in \ - xlat/bsg_protocol.in xlat/bsg_subprotocol.in \ + xlat/bpf_file_mode_flags.in \ + xlat/bpf_link_create_kprobe_multi_flags.in \ + xlat/bpf_map_flags.in xlat/bpf_map_lookup_elem_flags.in \ + xlat/bpf_map_types.in xlat/bpf_map_update_elem_flags.in \ + xlat/bpf_miscop.in xlat/bpf_mode.in xlat/bpf_op_alu.in \ + xlat/bpf_op_jmp.in xlat/bpf_prog_flags.in \ + xlat/bpf_prog_types.in xlat/bpf_query_flags.in \ + xlat/bpf_rval.in xlat/bpf_size.in xlat/bpf_src.in \ + xlat/bpf_task_fd_type.in xlat/bpf_test_run_flags.in \ + xlat/bsg_flags.in xlat/bsg_protocol.in xlat/bsg_subprotocol.in \ xlat/bt_protocols.in xlat/btrfs_balance_args.in \ xlat/btrfs_balance_ctl_cmds.in xlat/btrfs_balance_flags.in \ xlat/btrfs_balance_state.in xlat/btrfs_compress_types.in \ xlat/btrfs_cont_reading_from_srcdev_mode.in \ - xlat/btrfs_defrag_flags.in xlat/btrfs_dev_replace_cmds.in \ + xlat/btrfs_csum_types.in xlat/btrfs_defrag_flags.in \ + xlat/btrfs_dev_replace_cmds.in \ xlat/btrfs_dev_replace_results.in \ xlat/btrfs_dev_replace_state.in xlat/btrfs_dev_stats_flags.in \ xlat/btrfs_dev_stats_values.in xlat/btrfs_features_compat.in \ xlat/btrfs_features_compat_ro.in \ - xlat/btrfs_features_incompat.in xlat/btrfs_key_types.in \ - xlat/btrfs_logical_ino_args_flags.in \ + xlat/btrfs_features_incompat.in xlat/btrfs_fs_info_flags.in \ + xlat/btrfs_key_types.in xlat/btrfs_logical_ino_args_flags.in \ xlat/btrfs_qgroup_ctl_cmds.in \ xlat/btrfs_qgroup_inherit_flags.in \ xlat/btrfs_qgroup_limit_flags.in \ @@ -1268,6 +1302,9 @@ xlat/cap_mask0.in xlat/cap_mask1.in xlat/cap_version.in \ xlat/clockflags.in xlat/clocknames.in xlat/clone3_flags.in \ xlat/clone_flags.in xlat/close_range_flags.in \ + xlat/compat_ptrace_cmds.in \ + xlat/counter_ioctl_component_types.in \ + xlat/counter_ioctl_event_types.in xlat/counter_ioctl_scopes.in \ xlat/cpuclocknames.in xlat/crypto_nl_attrs.in \ xlat/dcb_commands.in xlat/delete_module_flags.in \ xlat/dirent_types.in xlat/dm_flags.in xlat/ebpf_class.in \ @@ -1284,33 +1321,60 @@ xlat/faccessat_flags.in xlat/falloc_flags.in \ xlat/fan_classes.in xlat/fan_event_flags.in \ xlat/fan_init_flags.in xlat/fan_mark_flags.in \ - xlat/fcntlcmds.in xlat/fdflags.in xlat/fib_rule_actions.in \ - xlat/fib_rule_flags.in xlat/fiemap_extent_flags.in \ - xlat/fiemap_flags.in xlat/flockcmds.in xlat/fs_ioc_flags.in \ - xlat/fs_xflags.in xlat/fsconfig_cmds.in xlat/fsmagic.in \ + xlat/fcntlcmds.in xlat/fdb_notify_flags.in xlat/fdflags.in \ + xlat/fib_rule_actions.in xlat/fib_rule_flags.in \ + xlat/fiemap_extent_flags.in xlat/fiemap_flags.in \ + xlat/flockcmds.in xlat/fs_ioc_flags.in xlat/fs_xflags.in \ + xlat/fsconfig_cmds.in xlat/fsmagic.in \ xlat/fsmount_attr_flags.in xlat/fsmount_flags.in \ - xlat/fsopen_flags.in xlat/fspick_flags.in xlat/futexbitset.in \ + xlat/fsopen_flags.in xlat/fspick_flags.in \ + xlat/futex_waiter_flags.in xlat/futexbitset.in \ xlat/futexops.in xlat/futexwakecmps.in xlat/futexwakeops.in \ xlat/get_mempolicy_flags.in xlat/getrandom_flags.in \ xlat/getsock_ip_options.in xlat/getsock_ipv6_options.in \ xlat/getsock_options.in xlat/gpio_event_flags.in \ xlat/gpio_handle_flags.in xlat/gpio_line_flags.in \ xlat/gpio_v2_line_attr_ids.in xlat/gpio_v2_line_flags.in \ - xlat/hci_channels.in xlat/hdio_drive_cmds.in \ + xlat/hci_channels.in xlat/hdio_busstates.in \ + xlat/hdio_drive_cmds.in xlat/hdio_ide_nice.in \ xlat/hw_breakpoint_len.in xlat/hw_breakpoint_type.in \ - xlat/icmpfilterflags.in xlat/if_dqblk_valid.in \ - xlat/if_dqinfo_flags.in xlat/if_dqinfo_valid.in \ - xlat/ifaddrflags.in xlat/iffflags.in xlat/in6_addr_gen_mode.in \ + xlat/icmp_filter_flags.in xlat/ieee802154_addr_types.in \ + xlat/ieee802154_addrs.in xlat/ieee802154_pan_ids.in \ + xlat/if_dqblk_valid.in xlat/if_dqinfo_flags.in \ + xlat/if_dqinfo_valid.in xlat/ifaddrflags.in xlat/iffflags.in \ + xlat/ifstats_af_spec_mpls_attrs.in xlat/ifstats_attr_flags.in \ + xlat/ifstats_attrs.in xlat/ifstats_offload_attrs.in \ + xlat/ifstats_xstats_bond_3ad_attrs.in \ + xlat/ifstats_xstats_bond_attrs.in \ + xlat/ifstats_xstats_bridge_attrs.in \ + xlat/ifstats_xstats_bridge_mcast_indices.in \ + xlat/ifstats_xstats_type_attrs.in xlat/in6_addr_gen_mode.in \ xlat/inet6_devconf_indices.in xlat/inet6_if_flags.in \ xlat/inet_devconf_indices.in xlat/inet_diag_attrs.in \ + xlat/inet_diag_bpf_storage_attrs.in \ + xlat/inet_diag_bpf_storages_attrs.in \ xlat/inet_diag_bytecodes.in xlat/inet_diag_extended_flags.in \ - xlat/inet_diag_req_attrs.in xlat/inet_protocols.in \ + xlat/inet_diag_req_attrs.in xlat/inet_diag_shutdown_flags.in \ + xlat/inet_diag_ulp_info_attrs.in \ + xlat/inet_diag_ulp_info_mptcp_attrs.in \ + xlat/inet_diag_ulp_info_tls_attrs.in xlat/inet_protocols.in \ xlat/inotify_flags.in xlat/inotify_init_flags.in \ xlat/ioctl_dirs.in xlat/ioprio_class.in xlat/ioprio_who.in \ xlat/ip_cmsg_types.in xlat/ip_type_of_services.in \ xlat/ipc_msg_flags.in xlat/ipc_private.in xlat/ipccalls.in \ xlat/irda_protocols.in xlat/isdn_protocols.in \ xlat/itimer_which.in xlat/kcm_protocols.in xlat/kcmp_types.in \ + xlat/kd_default_led_flags.in xlat/kd_font_flags.in \ + xlat/kd_font_ops.in xlat/kd_ioctl_cmds.in xlat/kd_kbd_modes.in \ + xlat/kd_kbd_types.in xlat/kd_key_ascii_keys.in \ + xlat/kd_key_brl_keys.in xlat/kd_key_cur_keys.in \ + xlat/kd_key_dead_keys.in xlat/kd_key_fn_key_vals.in \ + xlat/kd_key_fn_keys.in xlat/kd_key_lock_keys.in \ + xlat/kd_key_pad_keys.in xlat/kd_key_shift_keys.in \ + xlat/kd_key_slock_keys.in xlat/kd_key_spec_keys.in \ + xlat/kd_key_tables.in xlat/kd_key_types.in \ + xlat/kd_keymap_flags.in xlat/kd_led_flags.in \ + xlat/kd_meta_vals.in xlat/kd_modes.in \ xlat/kexec_arch_values.in xlat/kexec_file_load_flags.in \ xlat/kexec_load_flags.in xlat/key_perms.in xlat/key_reqkeys.in \ xlat/key_spec.in xlat/keyctl_caps0.in xlat/keyctl_caps1.in \ @@ -1319,25 +1383,27 @@ xlat/kvm_cpuid_flags.in xlat/kvm_exit_reason.in \ xlat/kvm_mem_flags.in xlat/landlock_create_ruleset_flags.in \ xlat/landlock_rule_types.in xlat/landlock_ruleset_access_fs.in \ - xlat/lockfcmds.in xlat/loop_crypt_type_options.in \ - xlat/loop_flags_options.in xlat/lwtunnel_encap_types.in \ - xlat/madvise_cmds.in xlat/mbind_flags.in xlat/mctl_sync.in \ - xlat/mdb_flags.in xlat/mdb_states.in xlat/membarrier_cmds.in \ - xlat/membarrier_flags.in xlat/memfd_create_flags.in \ - xlat/memfd_secret_flags.in xlat/mlock_flags.in \ - xlat/mlockall_flags.in xlat/mmap_flags.in xlat/mmap_prot.in \ - xlat/modem_flags.in xlat/modetypes.in \ + xlat/lirc_features.in xlat/lirc_modes.in xlat/lockfcmds.in \ + xlat/loop_crypt_type_options.in xlat/loop_flags_options.in \ + xlat/lwtunnel_encap_types.in xlat/madvise_cmds.in \ + xlat/mbind_flags.in xlat/mctl_sync.in xlat/mctp_addrs.in \ + xlat/mctp_nets.in xlat/mdb_flags.in xlat/mdb_states.in \ + xlat/membarrier_cmds.in xlat/membarrier_flags.in \ + xlat/memfd_create_flags.in xlat/memfd_secret_flags.in \ + xlat/mlock_flags.in xlat/mlockall_flags.in xlat/mmap_flags.in \ + xlat/mmap_prot.in xlat/modem_flags.in xlat/modetypes.in \ xlat/module_init_flags.in xlat/mount_attr_attr.in \ xlat/mount_attr_propagation.in xlat/mount_flags.in \ xlat/mount_setattr_flags.in xlat/move_mount_flags.in \ xlat/move_pages_flags.in xlat/mpol_mode_flags.in \ - xlat/mpol_modes.in xlat/mq_attr_flags.in xlat/mremap_flags.in \ - xlat/msg_flags.in xlat/msgctl_flags.in \ - xlat/mtd_file_mode_options.in xlat/mtd_flags_options.in \ - xlat/mtd_mode_options.in xlat/mtd_nandecc_options.in \ - xlat/mtd_otp_options.in xlat/mtd_type_options.in \ - xlat/multicast_router_types.in xlat/name_to_handle_at_flags.in \ - xlat/nbd_ioctl_cmds.in xlat/nbd_ioctl_flags.in \ + xlat/mpol_modes.in xlat/mptcp_subflow_flags.in \ + xlat/mq_attr_flags.in xlat/mremap_flags.in xlat/msg_flags.in \ + xlat/msgctl_flags.in xlat/mtd_file_mode_options.in \ + xlat/mtd_flags_options.in xlat/mtd_mode_options.in \ + xlat/mtd_nandecc_options.in xlat/mtd_otp_options.in \ + xlat/mtd_type_options.in xlat/multicast_router_types.in \ + xlat/name_to_handle_at_flags.in xlat/nbd_ioctl_cmds.in \ + xlat/nbd_ioctl_flags.in xlat/neighbor_cache_entry_ext_flags.in \ xlat/neighbor_cache_entry_flags.in \ xlat/neighbor_cache_entry_states.in xlat/netfilter_versions.in \ xlat/netlink_ack_flags.in xlat/netlink_delete_flags.in \ @@ -1354,18 +1420,20 @@ xlat/nf_nft_compat_msg_types.in xlat/nf_nftables_msg_types.in \ xlat/nf_osf_msg_types.in xlat/nf_queue_msg_types.in \ xlat/nf_ulog_msg_types.in xlat/nfc_protocols.in \ - xlat/nl_audit_types.in xlat/nl_crypto_types.in \ - xlat/nl_netfilter_msg_types.in xlat/nl_netfilter_subsys_ids.in \ - xlat/nl_route_types.in xlat/nl_selinux_types.in \ - xlat/nl_sock_diag_types.in xlat/nl_xfrm_types.in \ - xlat/nlmsgerr_attrs.in xlat/notifyflags.in \ - xlat/nt_descriptor_types.in xlat/numa_node.in \ - xlat/open_access_modes.in xlat/open_mode_flags.in \ - xlat/open_resolve_flags.in xlat/open_tree_flags.in \ - xlat/packet_diag_attrs.in xlat/packet_diag_info_flags.in \ - xlat/packet_diag_show.in xlat/packet_mreq_type.in \ - xlat/perf_attr_size.in xlat/perf_branch_sample_type.in \ - xlat/perf_event_open_flags.in xlat/perf_event_read_format.in \ + xlat/nfc_saps.in xlat/nfc_sockaddr_protocols.in \ + xlat/nl_audit_types.in xlat/nl_bridge_vlan_flags.in \ + xlat/nl_crypto_types.in xlat/nl_netfilter_msg_types.in \ + xlat/nl_netfilter_subsys_ids.in xlat/nl_route_types.in \ + xlat/nl_selinux_types.in xlat/nl_sock_diag_types.in \ + xlat/nl_xfrm_types.in xlat/nlmsgerr_attrs.in \ + xlat/notifyflags.in xlat/nt_descriptor_types.in \ + xlat/numa_node.in xlat/open_access_modes.in \ + xlat/open_mode_flags.in xlat/open_resolve_flags.in \ + xlat/open_tree_flags.in xlat/packet_diag_attrs.in \ + xlat/packet_diag_info_flags.in xlat/packet_diag_show.in \ + xlat/packet_mreq_type.in xlat/perf_attr_size.in \ + xlat/perf_branch_sample_type.in xlat/perf_event_open_flags.in \ + xlat/perf_event_read_format.in \ xlat/perf_event_sample_format.in xlat/perf_hw_cache_id.in \ xlat/perf_hw_cache_op_id.in xlat/perf_hw_cache_op_result_id.in \ xlat/perf_hw_id.in xlat/perf_ioctl_cmds.in \ @@ -1377,54 +1445,77 @@ xlat/pr_mce_kill.in xlat/pr_mce_kill_policy.in \ xlat/pr_pac_enabled_keys.in xlat/pr_pac_keys.in \ xlat/pr_sched_core_cmds.in xlat/pr_sched_core_pidtypes.in \ - xlat/pr_set_mm.in xlat/pr_spec_cmds.in \ - xlat/pr_spec_get_store_bypass_flags.in \ + xlat/pr_set_mm.in xlat/pr_set_vma.in xlat/pr_sme_vl_flags.in \ + xlat/pr_spec_cmds.in xlat/pr_spec_get_store_bypass_flags.in \ xlat/pr_spec_set_store_bypass_flags.in xlat/pr_sud_cmds.in \ xlat/pr_sve_vl_flags.in xlat/pr_tagged_addr_enable.in \ xlat/pr_tagged_addr_mte_tcf.in xlat/pr_tsc.in \ xlat/pr_unalign_flags.in xlat/prctl_options.in \ xlat/priorities.in xlat/ptp_extts_flags.in \ - xlat/ptp_perout_flags.in xlat/ptrace_cmds.in \ - xlat/ptrace_events.in xlat/ptrace_peeksiginfo_flags.in \ + xlat/ptp_perout_flags.in xlat/ptp_pin_funcs.in \ + xlat/ptrace_cmds.in xlat/ptrace_events.in \ + xlat/ptrace_peeksiginfo_flags.in \ xlat/ptrace_setoptions_flags.in xlat/ptrace_syscall_info_op.in \ + xlat/qipcrtr_nodes.in xlat/qipcrtr_ports.in \ xlat/quota_formats.in xlat/quotacmds.in xlat/quotatypes.in \ xlat/random_ioctl_cmds.in xlat/rename_flags.in \ xlat/resource_flags.in xlat/resources.in \ xlat/riscv_flush_icache_flags.in xlat/route_nexthop_flags.in \ xlat/routing_flags.in xlat/routing_protocols.in \ xlat/routing_scopes.in xlat/routing_table_ids.in \ - xlat/routing_types.in xlat/rtc_ioctl_cmds.in \ - xlat/rtc_vl_flags.in xlat/rtnl_addr_attrs.in \ - xlat/rtnl_addrlabel_attrs.in xlat/rtnl_dcb_attrs.in \ + xlat/routing_types.in xlat/rtc_backup_switch_modes.in \ + xlat/rtc_feature_bits.in xlat/rtc_features.in \ + xlat/rtc_ioctl_cmds.in xlat/rtc_params.in xlat/rtc_vl_flags.in \ + xlat/rtnl_addr_attrs.in xlat/rtnl_addrlabel_attrs.in \ + xlat/rtnl_dcb_attrs.in xlat/rtnl_family.in \ + xlat/rtnl_ifla_af_spec_bridge_attrs.in \ + xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in \ xlat/rtnl_ifla_af_spec_inet6_attrs.in \ xlat/rtnl_ifla_af_spec_inet_attrs.in \ + xlat/rtnl_ifla_af_spec_mctp_attrs.in \ + xlat/rtnl_ifla_br_boolopt_flags.in \ + xlat/rtnl_ifla_br_boolopts.in \ + xlat/rtnl_ifla_br_mcast_querier_attrs.in \ + xlat/rtnl_ifla_bridge_flags.in xlat/rtnl_ifla_bridge_modes.in \ xlat/rtnl_ifla_brport_attrs.in xlat/rtnl_ifla_events.in \ + xlat/rtnl_ifla_ext_filter_flags.in \ xlat/rtnl_ifla_info_attrs.in \ xlat/rtnl_ifla_info_data_bridge_attrs.in \ xlat/rtnl_ifla_info_data_tun_attrs.in \ xlat/rtnl_ifla_port_attrs.in \ xlat/rtnl_ifla_proto_down_reason_attrs.in \ + xlat/rtnl_ifla_vf_info_attrs.in \ + xlat/rtnl_ifla_vf_link_states.in \ xlat/rtnl_ifla_vf_port_attrs.in \ + xlat/rtnl_ifla_vf_stats_attrs.in \ + xlat/rtnl_ifla_vf_vlan_list_attrs.in \ + xlat/rtnl_ifla_vfinfo_list_attrs.in \ xlat/rtnl_ifla_xdp_attached_mode.in \ - xlat/rtnl_ifla_xdp_attrs.in xlat/rtnl_link_attrs.in \ + xlat/rtnl_ifla_xdp_attrs.in xlat/rtnl_ip6mra_creport_attr.in \ + xlat/rtnl_ip6mra_msg_types.in xlat/rtnl_ipmra_creport_attr.in \ + xlat/rtnl_ipmra_msg_types.in xlat/rtnl_link_attrs.in \ xlat/rtnl_mdb_attrs.in xlat/rtnl_mdba_mdb_attrs.in \ xlat/rtnl_mdba_mdb_eattr_attrs.in \ xlat/rtnl_mdba_mdb_entry_attrs.in \ xlat/rtnl_mdba_router_attrs.in \ xlat/rtnl_mdba_router_pattr_attrs.in xlat/rtnl_neigh_attrs.in \ - xlat/rtnl_neightbl_attrs.in xlat/rtnl_neightbl_parms_attrs.in \ - xlat/rtnl_netconf_attrs.in xlat/rtnl_nsid_attrs.in \ + xlat/rtnl_neigh_fdb_ext_attrs.in xlat/rtnl_neightbl_attrs.in \ + xlat/rtnl_neightbl_parms_attrs.in xlat/rtnl_netconf_attrs.in \ + xlat/rtnl_nexthop_attrs.in xlat/rtnl_nexthop_grp_types.in \ + xlat/rtnl_nha_res_bucket_attrs.in \ + xlat/rtnl_nha_res_group_attrs.in xlat/rtnl_nsid_attrs.in \ xlat/rtnl_route_attrs.in xlat/rtnl_rta_metrics_attrs.in \ xlat/rtnl_rule_attrs.in xlat/rtnl_tc_action_attrs.in \ xlat/rtnl_tc_attrs.in xlat/rtnl_tca_act_flags.in \ xlat/rtnl_tca_act_hw_stats.in xlat/rtnl_tca_stab_attrs.in \ xlat/rtnl_tca_stats_attrs.in xlat/rwf_flags.in \ - xlat/s390_guarded_storage_commands.in \ + xlat/rxrpc_services.in xlat/s390_guarded_storage_commands.in \ xlat/s390_runtime_instr_commands.in \ xlat/s390_sthyi_function_codes.in xlat/sa_handler_values.in \ xlat/sched_flags.in xlat/schedulers.in xlat/scmvals.in \ xlat/scsi_sg_commands.in xlat/secbits.in \ - xlat/seccomp_filter_flags.in xlat/seccomp_mode.in \ + xlat/seccomp_filter_flags.in xlat/seccomp_ioctl_addfd_flags.in \ + xlat/seccomp_ioctl_resp_flags.in xlat/seccomp_mode.in \ xlat/seccomp_ops.in xlat/seccomp_ret_action.in \ xlat/semctl_flags.in xlat/semop_flags.in xlat/setns_types.in \ xlat/setsock_ip_options.in xlat/setsock_ipv6_options.in \ @@ -1439,14 +1530,15 @@ xlat/siginfo_codes.in xlat/sigpoll_codes.in \ xlat/sigprocmaskcmds.in xlat/sigprof_codes.in \ xlat/sigsegv_codes.in xlat/sigsys_codes.in \ - xlat/sigtrap_codes.in xlat/skf_ad.in xlat/skf_off.in \ - xlat/smc_decl_codes.in xlat/smc_diag_attrs.in \ - xlat/smc_diag_extended_flags.in xlat/smc_diag_mode.in \ - xlat/smc_link_group_roles.in xlat/smc_protocols.in \ - xlat/smc_states.in xlat/snmp_icmp6_stats.in \ - xlat/snmp_ip_stats.in xlat/sock_alg_options.in \ - xlat/sock_ax25_options.in xlat/sock_bluetooth_options.in \ - xlat/sock_caif_options.in xlat/sock_dccp_options.in \ + xlat/sigtrap_codes.in xlat/sigtrap_perf_flags.in \ + xlat/skf_ad.in xlat/skf_off.in xlat/smc_decl_codes.in \ + xlat/smc_diag_attrs.in xlat/smc_diag_extended_flags.in \ + xlat/smc_diag_mode.in xlat/smc_link_group_roles.in \ + xlat/smc_protocols.in xlat/smc_states.in \ + xlat/snmp_icmp6_stats.in xlat/snmp_ip_stats.in \ + xlat/sock_alg_options.in xlat/sock_ax25_options.in \ + xlat/sock_bluetooth_options.in xlat/sock_caif_options.in \ + xlat/sock_can_raw_options.in xlat/sock_dccp_options.in \ xlat/sock_ip_options.in xlat/sock_ipv6_options.in \ xlat/sock_ipx_options.in xlat/sock_irda_options.in \ xlat/sock_iucv_options.in xlat/sock_kcm_options.in \ @@ -1458,17 +1550,13 @@ xlat/sock_sctp_options.in xlat/sock_shutdown_flags.in \ xlat/sock_tcp_options.in xlat/sock_tipc_options.in \ xlat/sock_tls_options.in xlat/sock_type_flags.in \ - xlat/sock_udp_options.in xlat/sock_xdp_options.in \ - xlat/socketcalls.in xlat/socketlayers.in xlat/socktypes.in \ - xlat/sparc_kern_features.in xlat/splice_flags.in \ - xlat/sram_alloc_flags.in xlat/statfs_flags.in \ - xlat/statx_attrs.in xlat/statx_masks.in xlat/swap_flags.in \ - xlat/sync_file_range_flags.in xlat/sysctl_kern.in \ - xlat/sysctl_net.in xlat/sysctl_net_core.in \ - xlat/sysctl_net_ipv4.in xlat/sysctl_net_ipv4_conf.in \ - xlat/sysctl_net_ipv4_route.in xlat/sysctl_net_ipv6.in \ - xlat/sysctl_net_ipv6_route.in xlat/sysctl_net_unix.in \ - xlat/sysctl_root.in xlat/sysctl_vm.in \ + xlat/sock_udp_options.in xlat/sock_vsock_options.in \ + xlat/sock_xdp_options.in xlat/socketcalls.in \ + xlat/socketlayers.in xlat/sockopt_txrehash_vals.in \ + xlat/socktypes.in xlat/sparc_kern_features.in \ + xlat/splice_flags.in xlat/sram_alloc_flags.in \ + xlat/statfs_flags.in xlat/statx_attrs.in xlat/statx_masks.in \ + xlat/swap_flags.in xlat/sync_file_range_flags.in \ xlat/syslog_action_type.in xlat/syslog_console_levels.in \ xlat/sysmips_operations.in xlat/tcflsh_options.in \ xlat/tcp_state_flags.in xlat/tcp_states.in \ @@ -1476,7 +1564,15 @@ xlat/tee_ioctl_impl_ids.in xlat/tee_ioctl_login_types.in \ xlat/tee_ioctl_max_arg_size.in xlat/tee_ioctl_optee_caps.in \ xlat/tee_ioctl_origins.in xlat/tee_ioctl_param_attr_types.in \ - xlat/tee_ioctl_shm_flags.in xlat/timerfdflags.in \ + xlat/tee_ioctl_shm_flags.in xlat/term_cflags.in \ + xlat/term_cflags_csize.in xlat/term_iflags.in \ + xlat/term_lflags.in xlat/term_line_discs.in \ + xlat/term_oflags.in xlat/term_oflags_bsdly.in \ + xlat/term_oflags_crdly.in xlat/term_oflags_ffdly.in \ + xlat/term_oflags_nldly.in xlat/term_oflags_tabdly.in \ + xlat/term_oflags_vtdly.in xlat/termio_cc.in xlat/termios_cc.in \ + xlat/timerfdflags.in xlat/tls_info_ciphers.in \ + xlat/tls_info_configs.in xlat/tls_info_versions.in \ xlat/tun_device_types.in xlat/ubi_data_types.in \ xlat/ubi_volume_flags.in xlat/ubi_volume_props.in \ xlat/ubi_volume_types.in xlat/uffd_api_features.in \ @@ -1485,16 +1581,19 @@ xlat/uffd_register_mode_flags.in xlat/uffd_zeropage_flags.in \ xlat/umount_flags.in xlat/unix_diag_attrs.in \ xlat/unix_diag_show.in xlat/unshare_flags.in \ - xlat/uring_cqring_flags.in xlat/uring_enter_flags.in \ - xlat/uring_op_flags.in xlat/uring_ops.in \ - xlat/uring_register_opcodes.in xlat/uring_setup_features.in \ - xlat/uring_setup_flags.in xlat/usagewho.in \ - xlat/v4l2_buf_flags.in xlat/v4l2_buf_flags_ts_src.in \ - xlat/v4l2_buf_flags_ts_type.in xlat/v4l2_buf_types.in \ - xlat/v4l2_capture_modes.in xlat/v4l2_colorspaces.in \ - xlat/v4l2_control_classes.in xlat/v4l2_control_flags.in \ - xlat/v4l2_control_id_bases.in xlat/v4l2_control_ids.in \ - xlat/v4l2_control_query_flags.in xlat/v4l2_control_types.in \ + xlat/uring_enter_flags.in xlat/uring_files_update_fds.in \ + xlat/uring_iowq_acct.in xlat/uring_op_flags.in \ + xlat/uring_ops.in xlat/uring_register_opcodes.in \ + xlat/uring_register_rsrc_flags.in \ + xlat/uring_restriction_opcodes.in xlat/uring_setup_features.in \ + xlat/uring_setup_flags.in xlat/uring_sqe_flags.in \ + xlat/usagewho.in xlat/v4l2_buf_flags.in \ + xlat/v4l2_buf_flags_ts_src.in xlat/v4l2_buf_flags_ts_type.in \ + xlat/v4l2_buf_types.in xlat/v4l2_capture_modes.in \ + xlat/v4l2_colorspaces.in xlat/v4l2_control_classes.in \ + xlat/v4l2_control_flags.in xlat/v4l2_control_id_bases.in \ + xlat/v4l2_control_ids.in xlat/v4l2_control_query_flags.in \ + xlat/v4l2_control_types.in \ xlat/v4l2_device_capabilities_flags.in xlat/v4l2_fields.in \ xlat/v4l2_format_description_flags.in \ xlat/v4l2_frameinterval_types.in xlat/v4l2_framesize_types.in \ @@ -1504,15 +1603,19 @@ xlat/v4l2_streaming_capabilities.in \ xlat/v4l2_tuner_audmodes.in xlat/v4l2_tuner_capabilities.in \ xlat/v4l2_tuner_rxsubchanses.in xlat/v4l2_tuner_types.in \ - xlat/v4l2_vbi_flags.in xlat/wait4_options.in \ - xlat/waitid_types.in xlat/watchdog_ioctl_cmds.in \ - xlat/whence_codes.in xlat/xattrflags.in xlat/xdp_flags.in \ - xlat/xfs_dqblk_flags.in xlat/xfs_quota_flags.in + xlat/v4l2_vbi_flags.in xlat/vsock_cids.in xlat/vsock_flags.in \ + xlat/vsock_ports.in xlat/wait4_options.in xlat/waitid_types.in \ + xlat/watchdog_ioctl_cmds.in xlat/whence_codes.in \ + xlat/x86_xfeature_bits.in xlat/x86_xfeatures.in \ + xlat/xattrflags.in xlat/xdp_flags.in \ + xlat/xdp_sockaddr_flags.in xlat/xfs_dqblk_flags.in \ + xlat/xfs_quota_flags.in XLAT_HEADER_FILES = xlat/access_modes.h xlat/addrfams.h \ xlat/adjtimex_modes.h xlat/adjtimex_state.h \ xlat/adjtimex_status.h xlat/advise.h xlat/af_packet_types.h \ xlat/af_packet_versions.h xlat/aio_cmds.h \ - xlat/aio_iocb_flags.h xlat/archvals.h \ + xlat/aio_iocb_flags.h xlat/alg_sockaddr_flags.h \ + xlat/alpha_trap_codes.h xlat/archvals.h \ xlat/arp_hardware_types.h xlat/at_flags.h \ xlat/at_statx_sync_types.h xlat/atomic_ops.h xlat/audit_arch.h \ xlat/ax25_protocols.h xlat/baud_options.h xlat/bdaddr_types.h \ @@ -1520,24 +1623,27 @@ xlat/bluetooth_l2_psm.h xlat/bootflags1.h xlat/bootflags2.h \ xlat/bootflags3.h xlat/bpf_attach_flags.h \ xlat/bpf_attach_type.h xlat/bpf_class.h xlat/bpf_commands.h \ - xlat/bpf_file_mode_flags.h xlat/bpf_map_flags.h \ + xlat/bpf_file_mode_flags.h \ + xlat/bpf_link_create_kprobe_multi_flags.h xlat/bpf_map_flags.h \ xlat/bpf_map_lookup_elem_flags.h xlat/bpf_map_types.h \ xlat/bpf_map_update_elem_flags.h xlat/bpf_miscop.h \ xlat/bpf_mode.h xlat/bpf_op_alu.h xlat/bpf_op_jmp.h \ xlat/bpf_prog_flags.h xlat/bpf_prog_types.h \ xlat/bpf_query_flags.h xlat/bpf_rval.h xlat/bpf_size.h \ - xlat/bpf_src.h xlat/bpf_task_fd_type.h xlat/bsg_flags.h \ - xlat/bsg_protocol.h xlat/bsg_subprotocol.h xlat/bt_protocols.h \ + xlat/bpf_src.h xlat/bpf_task_fd_type.h \ + xlat/bpf_test_run_flags.h xlat/bsg_flags.h xlat/bsg_protocol.h \ + xlat/bsg_subprotocol.h xlat/bt_protocols.h \ xlat/btrfs_balance_args.h xlat/btrfs_balance_ctl_cmds.h \ xlat/btrfs_balance_flags.h xlat/btrfs_balance_state.h \ xlat/btrfs_compress_types.h \ xlat/btrfs_cont_reading_from_srcdev_mode.h \ - xlat/btrfs_defrag_flags.h xlat/btrfs_dev_replace_cmds.h \ - xlat/btrfs_dev_replace_results.h \ + xlat/btrfs_csum_types.h xlat/btrfs_defrag_flags.h \ + xlat/btrfs_dev_replace_cmds.h xlat/btrfs_dev_replace_results.h \ xlat/btrfs_dev_replace_state.h xlat/btrfs_dev_stats_flags.h \ xlat/btrfs_dev_stats_values.h xlat/btrfs_features_compat.h \ xlat/btrfs_features_compat_ro.h xlat/btrfs_features_incompat.h \ - xlat/btrfs_key_types.h xlat/btrfs_logical_ino_args_flags.h \ + xlat/btrfs_fs_info_flags.h xlat/btrfs_key_types.h \ + xlat/btrfs_logical_ino_args_flags.h \ xlat/btrfs_qgroup_ctl_cmds.h xlat/btrfs_qgroup_inherit_flags.h \ xlat/btrfs_qgroup_limit_flags.h \ xlat/btrfs_qgroup_status_flags.h xlat/btrfs_scrub_flags.h \ @@ -1548,6 +1654,8 @@ xlat/cap_mask0.h xlat/cap_mask1.h xlat/cap_version.h \ xlat/clockflags.h xlat/clocknames.h xlat/clone3_flags.h \ xlat/clone_flags.h xlat/close_range_flags.h \ + xlat/compat_ptrace_cmds.h xlat/counter_ioctl_component_types.h \ + xlat/counter_ioctl_event_types.h xlat/counter_ioctl_scopes.h \ xlat/cpuclocknames.h xlat/crypto_nl_attrs.h \ xlat/dcb_commands.h xlat/delete_module_flags.h \ xlat/dirent_types.h xlat/dm_flags.h xlat/ebpf_class.h \ @@ -1562,34 +1670,59 @@ xlat/evdev_switch.h xlat/f_owner_types.h xlat/f_seals.h \ xlat/faccessat_flags.h xlat/falloc_flags.h xlat/fan_classes.h \ xlat/fan_event_flags.h xlat/fan_init_flags.h \ - xlat/fan_mark_flags.h xlat/fcntlcmds.h xlat/fdflags.h \ - xlat/fib_rule_actions.h xlat/fib_rule_flags.h \ + xlat/fan_mark_flags.h xlat/fcntlcmds.h xlat/fdb_notify_flags.h \ + xlat/fdflags.h xlat/fib_rule_actions.h xlat/fib_rule_flags.h \ xlat/fiemap_extent_flags.h xlat/fiemap_flags.h \ xlat/flockcmds.h xlat/fs_ioc_flags.h xlat/fs_xflags.h \ xlat/fsconfig_cmds.h xlat/fsmagic.h xlat/fsmount_attr_flags.h \ xlat/fsmount_flags.h xlat/fsopen_flags.h xlat/fspick_flags.h \ - xlat/futexbitset.h xlat/futexops.h xlat/futexwakecmps.h \ - xlat/futexwakeops.h xlat/get_mempolicy_flags.h \ - xlat/getrandom_flags.h xlat/getsock_ip_options.h \ - xlat/getsock_ipv6_options.h xlat/getsock_options.h \ - xlat/gpio_event_flags.h xlat/gpio_handle_flags.h \ - xlat/gpio_line_flags.h xlat/gpio_v2_line_attr_ids.h \ - xlat/gpio_v2_line_flags.h xlat/hci_channels.h \ - xlat/hdio_drive_cmds.h xlat/hw_breakpoint_len.h \ - xlat/hw_breakpoint_type.h xlat/icmpfilterflags.h \ + xlat/futex_waiter_flags.h xlat/futexbitset.h xlat/futexops.h \ + xlat/futexwakecmps.h xlat/futexwakeops.h \ + xlat/get_mempolicy_flags.h xlat/getrandom_flags.h \ + xlat/getsock_ip_options.h xlat/getsock_ipv6_options.h \ + xlat/getsock_options.h xlat/gpio_event_flags.h \ + xlat/gpio_handle_flags.h xlat/gpio_line_flags.h \ + xlat/gpio_v2_line_attr_ids.h xlat/gpio_v2_line_flags.h \ + xlat/hci_channels.h xlat/hdio_busstates.h \ + xlat/hdio_drive_cmds.h xlat/hdio_ide_nice.h \ + xlat/hw_breakpoint_len.h xlat/hw_breakpoint_type.h \ + xlat/icmp_filter_flags.h xlat/ieee802154_addr_types.h \ + xlat/ieee802154_addrs.h xlat/ieee802154_pan_ids.h \ xlat/if_dqblk_valid.h xlat/if_dqinfo_flags.h \ xlat/if_dqinfo_valid.h xlat/ifaddrflags.h xlat/iffflags.h \ - xlat/in6_addr_gen_mode.h xlat/inet6_devconf_indices.h \ - xlat/inet6_if_flags.h xlat/inet_devconf_indices.h \ - xlat/inet_diag_attrs.h xlat/inet_diag_bytecodes.h \ + xlat/ifstats_af_spec_mpls_attrs.h xlat/ifstats_attr_flags.h \ + xlat/ifstats_attrs.h xlat/ifstats_offload_attrs.h \ + xlat/ifstats_xstats_bond_3ad_attrs.h \ + xlat/ifstats_xstats_bond_attrs.h \ + xlat/ifstats_xstats_bridge_attrs.h \ + xlat/ifstats_xstats_bridge_mcast_indices.h \ + xlat/ifstats_xstats_type_attrs.h xlat/in6_addr_gen_mode.h \ + xlat/inet6_devconf_indices.h xlat/inet6_if_flags.h \ + xlat/inet_devconf_indices.h xlat/inet_diag_attrs.h \ + xlat/inet_diag_bpf_storage_attrs.h \ + xlat/inet_diag_bpf_storages_attrs.h xlat/inet_diag_bytecodes.h \ xlat/inet_diag_extended_flags.h xlat/inet_diag_req_attrs.h \ - xlat/inet_protocols.h xlat/inotify_flags.h \ - xlat/inotify_init_flags.h xlat/ioctl_dirs.h \ - xlat/ioprio_class.h xlat/ioprio_who.h xlat/ip_cmsg_types.h \ - xlat/ip_type_of_services.h xlat/ipc_msg_flags.h \ - xlat/ipc_private.h xlat/ipccalls.h xlat/irda_protocols.h \ - xlat/isdn_protocols.h xlat/itimer_which.h xlat/kcm_protocols.h \ - xlat/kcmp_types.h xlat/kexec_arch_values.h \ + xlat/inet_diag_shutdown_flags.h \ + xlat/inet_diag_ulp_info_attrs.h \ + xlat/inet_diag_ulp_info_mptcp_attrs.h \ + xlat/inet_diag_ulp_info_tls_attrs.h xlat/inet_protocols.h \ + xlat/inotify_flags.h xlat/inotify_init_flags.h \ + xlat/ioctl_dirs.h xlat/ioprio_class.h xlat/ioprio_who.h \ + xlat/ip_cmsg_types.h xlat/ip_type_of_services.h \ + xlat/ipc_msg_flags.h xlat/ipc_private.h xlat/ipccalls.h \ + xlat/irda_protocols.h xlat/isdn_protocols.h \ + xlat/itimer_which.h xlat/kcm_protocols.h xlat/kcmp_types.h \ + xlat/kd_default_led_flags.h xlat/kd_font_flags.h \ + xlat/kd_font_ops.h xlat/kd_ioctl_cmds.h xlat/kd_kbd_modes.h \ + xlat/kd_kbd_types.h xlat/kd_key_ascii_keys.h \ + xlat/kd_key_brl_keys.h xlat/kd_key_cur_keys.h \ + xlat/kd_key_dead_keys.h xlat/kd_key_fn_key_vals.h \ + xlat/kd_key_fn_keys.h xlat/kd_key_lock_keys.h \ + xlat/kd_key_pad_keys.h xlat/kd_key_shift_keys.h \ + xlat/kd_key_slock_keys.h xlat/kd_key_spec_keys.h \ + xlat/kd_key_tables.h xlat/kd_key_types.h \ + xlat/kd_keymap_flags.h xlat/kd_led_flags.h xlat/kd_meta_vals.h \ + xlat/kd_modes.h xlat/kexec_arch_values.h \ xlat/kexec_file_load_flags.h xlat/kexec_load_flags.h \ xlat/key_perms.h xlat/key_reqkeys.h xlat/key_spec.h \ xlat/keyctl_caps0.h xlat/keyctl_caps1.h xlat/keyctl_commands.h \ @@ -1597,24 +1730,27 @@ xlat/kvm_cpuid_flags.h xlat/kvm_exit_reason.h \ xlat/kvm_mem_flags.h xlat/landlock_create_ruleset_flags.h \ xlat/landlock_rule_types.h xlat/landlock_ruleset_access_fs.h \ - xlat/lockfcmds.h xlat/loop_crypt_type_options.h \ - xlat/loop_flags_options.h xlat/lwtunnel_encap_types.h \ - xlat/madvise_cmds.h xlat/mbind_flags.h xlat/mctl_sync.h \ - xlat/mdb_flags.h xlat/mdb_states.h xlat/membarrier_cmds.h \ - xlat/membarrier_flags.h xlat/memfd_create_flags.h \ - xlat/memfd_secret_flags.h xlat/mlock_flags.h \ - xlat/mlockall_flags.h xlat/mmap_flags.h xlat/mmap_prot.h \ - xlat/modem_flags.h xlat/modetypes.h xlat/module_init_flags.h \ - xlat/mount_attr_attr.h xlat/mount_attr_propagation.h \ - xlat/mount_flags.h xlat/mount_setattr_flags.h \ - xlat/move_mount_flags.h xlat/move_pages_flags.h \ - xlat/mpol_mode_flags.h xlat/mpol_modes.h xlat/mq_attr_flags.h \ - xlat/mremap_flags.h xlat/msg_flags.h xlat/msgctl_flags.h \ - xlat/mtd_file_mode_options.h xlat/mtd_flags_options.h \ - xlat/mtd_mode_options.h xlat/mtd_nandecc_options.h \ - xlat/mtd_otp_options.h xlat/mtd_type_options.h \ - xlat/multicast_router_types.h xlat/name_to_handle_at_flags.h \ - xlat/nbd_ioctl_cmds.h xlat/nbd_ioctl_flags.h \ + xlat/lirc_features.h xlat/lirc_modes.h xlat/lockfcmds.h \ + xlat/loop_crypt_type_options.h xlat/loop_flags_options.h \ + xlat/lwtunnel_encap_types.h xlat/madvise_cmds.h \ + xlat/mbind_flags.h xlat/mctl_sync.h xlat/mctp_addrs.h \ + xlat/mctp_nets.h xlat/mdb_flags.h xlat/mdb_states.h \ + xlat/membarrier_cmds.h xlat/membarrier_flags.h \ + xlat/memfd_create_flags.h xlat/memfd_secret_flags.h \ + xlat/mlock_flags.h xlat/mlockall_flags.h xlat/mmap_flags.h \ + xlat/mmap_prot.h xlat/modem_flags.h xlat/modetypes.h \ + xlat/module_init_flags.h xlat/mount_attr_attr.h \ + xlat/mount_attr_propagation.h xlat/mount_flags.h \ + xlat/mount_setattr_flags.h xlat/move_mount_flags.h \ + xlat/move_pages_flags.h xlat/mpol_mode_flags.h \ + xlat/mpol_modes.h xlat/mptcp_subflow_flags.h \ + xlat/mq_attr_flags.h xlat/mremap_flags.h xlat/msg_flags.h \ + xlat/msgctl_flags.h xlat/mtd_file_mode_options.h \ + xlat/mtd_flags_options.h xlat/mtd_mode_options.h \ + xlat/mtd_nandecc_options.h xlat/mtd_otp_options.h \ + xlat/mtd_type_options.h xlat/multicast_router_types.h \ + xlat/name_to_handle_at_flags.h xlat/nbd_ioctl_cmds.h \ + xlat/nbd_ioctl_flags.h xlat/neighbor_cache_entry_ext_flags.h \ xlat/neighbor_cache_entry_flags.h \ xlat/neighbor_cache_entry_states.h xlat/netfilter_versions.h \ xlat/netlink_ack_flags.h xlat/netlink_delete_flags.h \ @@ -1629,8 +1765,9 @@ xlat/nf_hook_msg_types.h xlat/nf_ipset_msg_types.h \ xlat/nf_nft_compat_msg_types.h xlat/nf_nftables_msg_types.h \ xlat/nf_osf_msg_types.h xlat/nf_queue_msg_types.h \ - xlat/nf_ulog_msg_types.h xlat/nfc_protocols.h \ - xlat/nl_audit_types.h xlat/nl_crypto_types.h \ + xlat/nf_ulog_msg_types.h xlat/nfc_protocols.h xlat/nfc_saps.h \ + xlat/nfc_sockaddr_protocols.h xlat/nl_audit_types.h \ + xlat/nl_bridge_vlan_flags.h xlat/nl_crypto_types.h \ xlat/nl_netfilter_msg_types.h xlat/nl_netfilter_subsys_ids.h \ xlat/nl_route_types.h xlat/nl_selinux_types.h \ xlat/nl_sock_diag_types.h xlat/nl_xfrm_types.h \ @@ -1653,49 +1790,69 @@ xlat/pr_mce_kill_policy.h xlat/pr_pac_enabled_keys.h \ xlat/pr_pac_keys.h xlat/pr_sched_core_cmds.h \ xlat/pr_sched_core_pidtypes.h xlat/pr_set_mm.h \ - xlat/pr_spec_cmds.h xlat/pr_spec_get_store_bypass_flags.h \ + xlat/pr_set_vma.h xlat/pr_sme_vl_flags.h xlat/pr_spec_cmds.h \ + xlat/pr_spec_get_store_bypass_flags.h \ xlat/pr_spec_set_store_bypass_flags.h xlat/pr_sud_cmds.h \ xlat/pr_sve_vl_flags.h xlat/pr_tagged_addr_enable.h \ xlat/pr_tagged_addr_mte_tcf.h xlat/pr_tsc.h \ xlat/pr_unalign_flags.h xlat/prctl_options.h xlat/priorities.h \ xlat/ptp_extts_flags.h xlat/ptp_perout_flags.h \ - xlat/ptrace_cmds.h xlat/ptrace_events.h \ + xlat/ptp_pin_funcs.h xlat/ptrace_cmds.h xlat/ptrace_events.h \ xlat/ptrace_peeksiginfo_flags.h xlat/ptrace_setoptions_flags.h \ - xlat/ptrace_syscall_info_op.h xlat/quota_formats.h \ - xlat/quotacmds.h xlat/quotatypes.h xlat/random_ioctl_cmds.h \ - xlat/rename_flags.h xlat/resource_flags.h xlat/resources.h \ + xlat/ptrace_syscall_info_op.h xlat/qipcrtr_nodes.h \ + xlat/qipcrtr_ports.h xlat/quota_formats.h xlat/quotacmds.h \ + xlat/quotatypes.h xlat/random_ioctl_cmds.h xlat/rename_flags.h \ + xlat/resource_flags.h xlat/resources.h \ xlat/riscv_flush_icache_flags.h xlat/route_nexthop_flags.h \ xlat/routing_flags.h xlat/routing_protocols.h \ xlat/routing_scopes.h xlat/routing_table_ids.h \ - xlat/routing_types.h xlat/rtc_ioctl_cmds.h xlat/rtc_vl_flags.h \ + xlat/routing_types.h xlat/rtc_backup_switch_modes.h \ + xlat/rtc_feature_bits.h xlat/rtc_features.h \ + xlat/rtc_ioctl_cmds.h xlat/rtc_params.h xlat/rtc_vl_flags.h \ xlat/rtnl_addr_attrs.h xlat/rtnl_addrlabel_attrs.h \ - xlat/rtnl_dcb_attrs.h xlat/rtnl_ifla_af_spec_inet6_attrs.h \ + xlat/rtnl_dcb_attrs.h xlat/rtnl_family.h \ + xlat/rtnl_ifla_af_spec_bridge_attrs.h \ + xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h \ + xlat/rtnl_ifla_af_spec_inet6_attrs.h \ xlat/rtnl_ifla_af_spec_inet_attrs.h \ + xlat/rtnl_ifla_af_spec_mctp_attrs.h \ + xlat/rtnl_ifla_br_boolopt_flags.h xlat/rtnl_ifla_br_boolopts.h \ + xlat/rtnl_ifla_br_mcast_querier_attrs.h \ + xlat/rtnl_ifla_bridge_flags.h xlat/rtnl_ifla_bridge_modes.h \ xlat/rtnl_ifla_brport_attrs.h xlat/rtnl_ifla_events.h \ - xlat/rtnl_ifla_info_attrs.h \ + xlat/rtnl_ifla_ext_filter_flags.h xlat/rtnl_ifla_info_attrs.h \ xlat/rtnl_ifla_info_data_bridge_attrs.h \ xlat/rtnl_ifla_info_data_tun_attrs.h \ xlat/rtnl_ifla_port_attrs.h \ xlat/rtnl_ifla_proto_down_reason_attrs.h \ - xlat/rtnl_ifla_vf_port_attrs.h \ + xlat/rtnl_ifla_vf_info_attrs.h xlat/rtnl_ifla_vf_link_states.h \ + xlat/rtnl_ifla_vf_port_attrs.h xlat/rtnl_ifla_vf_stats_attrs.h \ + xlat/rtnl_ifla_vf_vlan_list_attrs.h \ + xlat/rtnl_ifla_vfinfo_list_attrs.h \ xlat/rtnl_ifla_xdp_attached_mode.h xlat/rtnl_ifla_xdp_attrs.h \ + xlat/rtnl_ip6mra_creport_attr.h xlat/rtnl_ip6mra_msg_types.h \ + xlat/rtnl_ipmra_creport_attr.h xlat/rtnl_ipmra_msg_types.h \ xlat/rtnl_link_attrs.h xlat/rtnl_mdb_attrs.h \ xlat/rtnl_mdba_mdb_attrs.h xlat/rtnl_mdba_mdb_eattr_attrs.h \ xlat/rtnl_mdba_mdb_entry_attrs.h xlat/rtnl_mdba_router_attrs.h \ xlat/rtnl_mdba_router_pattr_attrs.h xlat/rtnl_neigh_attrs.h \ - xlat/rtnl_neightbl_attrs.h xlat/rtnl_neightbl_parms_attrs.h \ - xlat/rtnl_netconf_attrs.h xlat/rtnl_nsid_attrs.h \ + xlat/rtnl_neigh_fdb_ext_attrs.h xlat/rtnl_neightbl_attrs.h \ + xlat/rtnl_neightbl_parms_attrs.h xlat/rtnl_netconf_attrs.h \ + xlat/rtnl_nexthop_attrs.h xlat/rtnl_nexthop_grp_types.h \ + xlat/rtnl_nha_res_bucket_attrs.h \ + xlat/rtnl_nha_res_group_attrs.h xlat/rtnl_nsid_attrs.h \ xlat/rtnl_route_attrs.h xlat/rtnl_rta_metrics_attrs.h \ xlat/rtnl_rule_attrs.h xlat/rtnl_tc_action_attrs.h \ xlat/rtnl_tc_attrs.h xlat/rtnl_tca_act_flags.h \ xlat/rtnl_tca_act_hw_stats.h xlat/rtnl_tca_stab_attrs.h \ xlat/rtnl_tca_stats_attrs.h xlat/rwf_flags.h \ - xlat/s390_guarded_storage_commands.h \ + xlat/rxrpc_services.h xlat/s390_guarded_storage_commands.h \ xlat/s390_runtime_instr_commands.h \ xlat/s390_sthyi_function_codes.h xlat/sa_handler_values.h \ xlat/sched_flags.h xlat/schedulers.h xlat/scmvals.h \ xlat/scsi_sg_commands.h xlat/secbits.h \ - xlat/seccomp_filter_flags.h xlat/seccomp_mode.h \ + xlat/seccomp_filter_flags.h xlat/seccomp_ioctl_addfd_flags.h \ + xlat/seccomp_ioctl_resp_flags.h xlat/seccomp_mode.h \ xlat/seccomp_ops.h xlat/seccomp_ret_action.h \ xlat/semctl_flags.h xlat/semop_flags.h xlat/setns_types.h \ xlat/setsock_ip_options.h xlat/setsock_ipv6_options.h \ @@ -1709,54 +1866,61 @@ xlat/sigfpe_codes.h xlat/sigill_codes.h xlat/siginfo_codes.h \ xlat/sigpoll_codes.h xlat/sigprocmaskcmds.h \ xlat/sigprof_codes.h xlat/sigsegv_codes.h xlat/sigsys_codes.h \ - xlat/sigtrap_codes.h xlat/skf_ad.h xlat/skf_off.h \ - xlat/smc_decl_codes.h xlat/smc_diag_attrs.h \ + xlat/sigtrap_codes.h xlat/sigtrap_perf_flags.h xlat/skf_ad.h \ + xlat/skf_off.h xlat/smc_decl_codes.h xlat/smc_diag_attrs.h \ xlat/smc_diag_extended_flags.h xlat/smc_diag_mode.h \ xlat/smc_link_group_roles.h xlat/smc_protocols.h \ xlat/smc_states.h xlat/snmp_icmp6_stats.h xlat/snmp_ip_stats.h \ xlat/sock_alg_options.h xlat/sock_ax25_options.h \ xlat/sock_bluetooth_options.h xlat/sock_caif_options.h \ - xlat/sock_dccp_options.h xlat/sock_ip_options.h \ - xlat/sock_ipv6_options.h xlat/sock_ipx_options.h \ - xlat/sock_irda_options.h xlat/sock_iucv_options.h \ - xlat/sock_kcm_options.h xlat/sock_llc_options.h \ - xlat/sock_netlink_options.h xlat/sock_nfcllcp_options.h \ - xlat/sock_options.h xlat/sock_packet_options.h \ - xlat/sock_pnp_options.h xlat/sock_pppol2tp_options.h \ - xlat/sock_raw_options.h xlat/sock_rds_options.h \ - xlat/sock_rxrpc_options.h xlat/sock_sctp_options.h \ - xlat/sock_shutdown_flags.h xlat/sock_tcp_options.h \ - xlat/sock_tipc_options.h xlat/sock_tls_options.h \ - xlat/sock_type_flags.h xlat/sock_udp_options.h \ + xlat/sock_can_raw_options.h xlat/sock_dccp_options.h \ + xlat/sock_ip_options.h xlat/sock_ipv6_options.h \ + xlat/sock_ipx_options.h xlat/sock_irda_options.h \ + xlat/sock_iucv_options.h xlat/sock_kcm_options.h \ + xlat/sock_llc_options.h xlat/sock_netlink_options.h \ + xlat/sock_nfcllcp_options.h xlat/sock_options.h \ + xlat/sock_packet_options.h xlat/sock_pnp_options.h \ + xlat/sock_pppol2tp_options.h xlat/sock_raw_options.h \ + xlat/sock_rds_options.h xlat/sock_rxrpc_options.h \ + xlat/sock_sctp_options.h xlat/sock_shutdown_flags.h \ + xlat/sock_tcp_options.h xlat/sock_tipc_options.h \ + xlat/sock_tls_options.h xlat/sock_type_flags.h \ + xlat/sock_udp_options.h xlat/sock_vsock_options.h \ xlat/sock_xdp_options.h xlat/socketcalls.h xlat/socketlayers.h \ - xlat/socktypes.h xlat/sparc_kern_features.h \ - xlat/splice_flags.h xlat/sram_alloc_flags.h \ - xlat/statfs_flags.h xlat/statx_attrs.h xlat/statx_masks.h \ - xlat/swap_flags.h xlat/sync_file_range_flags.h \ - xlat/sysctl_kern.h xlat/sysctl_net.h xlat/sysctl_net_core.h \ - xlat/sysctl_net_ipv4.h xlat/sysctl_net_ipv4_conf.h \ - xlat/sysctl_net_ipv4_route.h xlat/sysctl_net_ipv6.h \ - xlat/sysctl_net_ipv6_route.h xlat/sysctl_net_unix.h \ - xlat/sysctl_root.h xlat/sysctl_vm.h xlat/syslog_action_type.h \ + xlat/sockopt_txrehash_vals.h xlat/socktypes.h \ + xlat/sparc_kern_features.h xlat/splice_flags.h \ + xlat/sram_alloc_flags.h xlat/statfs_flags.h xlat/statx_attrs.h \ + xlat/statx_masks.h xlat/swap_flags.h \ + xlat/sync_file_range_flags.h xlat/syslog_action_type.h \ xlat/syslog_console_levels.h xlat/sysmips_operations.h \ xlat/tcflsh_options.h xlat/tcp_state_flags.h xlat/tcp_states.h \ xlat/tcxonc_options.h xlat/tee_ioctl_gen_caps.h \ xlat/tee_ioctl_impl_ids.h xlat/tee_ioctl_login_types.h \ xlat/tee_ioctl_max_arg_size.h xlat/tee_ioctl_optee_caps.h \ xlat/tee_ioctl_origins.h xlat/tee_ioctl_param_attr_types.h \ - xlat/tee_ioctl_shm_flags.h xlat/timerfdflags.h \ - xlat/tun_device_types.h xlat/ubi_data_types.h \ - xlat/ubi_volume_flags.h xlat/ubi_volume_props.h \ - xlat/ubi_volume_types.h xlat/uffd_api_features.h \ - xlat/uffd_api_flags.h xlat/uffd_copy_flags.h xlat/uffd_flags.h \ + xlat/tee_ioctl_shm_flags.h xlat/term_cflags.h \ + xlat/term_cflags_csize.h xlat/term_iflags.h xlat/term_lflags.h \ + xlat/term_line_discs.h xlat/term_oflags.h \ + xlat/term_oflags_bsdly.h xlat/term_oflags_crdly.h \ + xlat/term_oflags_ffdly.h xlat/term_oflags_nldly.h \ + xlat/term_oflags_tabdly.h xlat/term_oflags_vtdly.h \ + xlat/termio_cc.h xlat/termios_cc.h xlat/timerfdflags.h \ + xlat/tls_info_ciphers.h xlat/tls_info_configs.h \ + xlat/tls_info_versions.h xlat/tun_device_types.h \ + xlat/ubi_data_types.h xlat/ubi_volume_flags.h \ + xlat/ubi_volume_props.h xlat/ubi_volume_types.h \ + xlat/uffd_api_features.h xlat/uffd_api_flags.h \ + xlat/uffd_copy_flags.h xlat/uffd_flags.h \ xlat/uffd_register_ioctl_flags.h \ xlat/uffd_register_mode_flags.h xlat/uffd_zeropage_flags.h \ xlat/umount_flags.h xlat/unix_diag_attrs.h \ xlat/unix_diag_show.h xlat/unshare_flags.h \ - xlat/uring_cqring_flags.h xlat/uring_enter_flags.h \ - xlat/uring_op_flags.h xlat/uring_ops.h \ - xlat/uring_register_opcodes.h xlat/uring_setup_features.h \ - xlat/uring_setup_flags.h xlat/usagewho.h xlat/v4l2_buf_flags.h \ + xlat/uring_enter_flags.h xlat/uring_files_update_fds.h \ + xlat/uring_iowq_acct.h xlat/uring_op_flags.h xlat/uring_ops.h \ + xlat/uring_register_opcodes.h xlat/uring_register_rsrc_flags.h \ + xlat/uring_restriction_opcodes.h xlat/uring_setup_features.h \ + xlat/uring_setup_flags.h xlat/uring_sqe_flags.h \ + xlat/usagewho.h xlat/v4l2_buf_flags.h \ xlat/v4l2_buf_flags_ts_src.h xlat/v4l2_buf_flags_ts_type.h \ xlat/v4l2_buf_types.h xlat/v4l2_capture_modes.h \ xlat/v4l2_colorspaces.h xlat/v4l2_control_classes.h \ @@ -1772,10 +1936,12 @@ xlat/v4l2_streaming_capabilities.h xlat/v4l2_tuner_audmodes.h \ xlat/v4l2_tuner_capabilities.h xlat/v4l2_tuner_rxsubchanses.h \ xlat/v4l2_tuner_types.h xlat/v4l2_vbi_flags.h \ + xlat/vsock_cids.h xlat/vsock_flags.h xlat/vsock_ports.h \ xlat/wait4_options.h xlat/waitid_types.h \ xlat/watchdog_ioctl_cmds.h xlat/whence_codes.h \ - xlat/xattrflags.h xlat/xdp_flags.h xlat/xfs_dqblk_flags.h \ - xlat/xfs_quota_flags.h + xlat/x86_xfeature_bits.h xlat/x86_xfeatures.h \ + xlat/xattrflags.h xlat/xdp_flags.h xlat/xdp_sockaddr_flags.h \ + xlat/xfs_dqblk_flags.h xlat/xfs_quota_flags.h strace_CPPFLAGS = $(AM_CPPFLAGS) -DIN_STRACE=1 $(am__append_4) \ $(am__append_9) $(am__append_12) $(am__append_16) \ $(CODE_COVERAGE_CPPFLAGS) @@ -1796,36 +1962,39 @@ bpf_filter.c bpf_filter.h bpf_fprog.h bpf_seccomp_filter.c \ bpf_sock_filter.c btrfs.c cacheflush.c capability.c caps0.h \ caps1.h chdir.c chmod.c clone.c close_range.c \ - copy_file_range.c count.c defs.h delay.c delay.h desc.c \ - dirent.c dirent64.c dirent_types.c dm.c dup.c dyxlat.c empty.h \ - epoll.c error_prints.c error_prints.h evdev.c evdev_mpers.c \ - eventfd.c execve.c fadvise.c fallocate.c fanotify.c fchownat.c \ - fcntl.c fetch_bpf_fprog.c fetch_indirect_syscall_args.c \ - fetch_struct_flock.c fetch_struct_iovec.c \ - fetch_struct_keyctl_kdf_params.c fetch_struct_mmsghdr.c \ - fetch_struct_msghdr.c fetch_struct_stat.c \ - fetch_struct_stat64.c fetch_struct_statfs.c \ - fetch_struct_xfs_quotastat.c file_handle.c filter.h \ - filter_qualify.c filter_seccomp.c filter_seccomp.h flock.c \ - fs_0x94_ioctl.c fs_f_ioctl.c fs_x_ioctl.c fsconfig.c fsmount.c \ - fsopen.c fspick.c fstatfs.c fstatfs64.c futex.c gcc_compat.h \ - get_personality.c get_personality.h get_robust_list.c getcpu.c \ - getcwd.c getpagesize.c getpid.c getrandom.c gpio_ioctl.c \ - hdio.c hostname.c inotify.c inotify_ioctl.c io.c io_uring.c \ - ioctl.c ioperm.c ioprio.c iovec.h ipc.c ipc_defs.h ipc_msg.c \ - ipc_msgctl.c ipc_sem.c ipc_semctl.c ipc_shm.c ipc_shmctl.c \ - kcmp.c kernel_dirent.h kernel_fcntl.h kernel_rusage.h \ - kernel_timespec.h kernel_timeval.h kernel_timex.h \ - kernel_types.h kernel_v4l2_types.h kexec.c keyctl.c \ - keyctl_kdf_params.h kill_save_errno.h kvm.c landlock.c \ - largefile_wrappers.h ldt.c link.c linux/x32/asm_stat.h \ - linux/x86_64/asm_stat.h list.h listen.c lookup_dcookie.c \ - loop.c lseek.c macros.h mem.c membarrier.c memfd_create.c \ - memfd_secret.c mknod.c mmap_cache.c mmap_cache.h mmap_notify.c \ - mmap_notify.h mmsghdr.c mount.c mount_setattr.c move_mount.c \ - mpers_type.h mq.c msghdr.c msghdr.h mtd.c native_defs.h \ - nbd_ioctl.c negated_errno.h net.c netlink.c netlink.h \ - netlink_crypto.c netlink_inet_diag.c netlink_kobject_uevent.c \ + copy_file_range.c count.c counter_ioctl.c defs.h delay.c \ + delay.h desc.c dirent.c dirent64.c dirent_types.c dm.c dup.c \ + dyxlat.c empty.h epoll.c error_prints.c error_prints.h evdev.c \ + evdev_mpers.c eventfd.c execve.c fadvise.c fallocate.c \ + fanotify.c fchownat.c fcntl.c fetch_bpf_fprog.c \ + fetch_indirect_syscall_args.c fetch_struct_flock.c \ + fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c \ + fetch_struct_mmsghdr.c fetch_struct_msghdr.c \ + fetch_struct_stat.c fetch_struct_stat64.c \ + fetch_struct_statfs.c fetch_struct_xfs_quotastat.c \ + file_handle.c filter.h filter_qualify.c filter_seccomp.c \ + filter_seccomp.h flock.c fs_0x94_ioctl.c fs_f_ioctl.c \ + fs_x_ioctl.c fsconfig.c fsmount.c fsopen.c fspick.c fstatfs.c \ + fstatfs64.c futex.c futex_waitv.c gcc_compat.h gen/gen_hdio.c \ + gen/generated.h get_personality.c get_personality.h \ + get_robust_list.c getcpu.c getcwd.c getpagesize.c getpid.c \ + getrandom.c gpio_ioctl.c hdio.c hostname.c inotify.c \ + inotify_ioctl.c io.c io_uring.c ioctl.c ioperm.c ioprio.c \ + iovec.h ipc.c ipc_defs.h ipc_msg.c ipc_msgctl.c ipc_sem.c \ + ipc_semctl.c ipc_shm.c ipc_shmctl.c kcmp.c kd_ioctl.c \ + kd_mpers_ioctl.c kernel_dirent.h kernel_fcntl.h \ + kernel_rusage.h kernel_timespec.h kernel_timeval.h \ + kernel_timex.h kernel_types.h kernel_v4l2_types.h kexec.c \ + keyctl.c keyctl_kdf_params.h kill_save_errno.h kvm.c \ + landlock.c largefile_wrappers.h ldt.c link.c \ + linux/x32/asm_stat.h linux/x86_64/asm_stat.h lirc_ioctl.c \ + list.h listen.c lookup_dcookie.c loop.c lseek.c macros.h mem.c \ + membarrier.c memfd_create.c memfd_secret.c mknod.c \ + mmap_cache.c mmap_cache.h mmap_notify.c mmap_notify.h \ + mmsghdr.c mount.c mount_setattr.c move_mount.c mpers_type.h \ + mq.c msghdr.c msghdr.h mtd.c native_defs.h nbd_ioctl.c \ + negated_errno.h net.c netlink.c netlink.h netlink_crypto.c \ + netlink_inet_diag.c netlink_kobject_uevent.c \ netlink_kobject_uevent.h netlink_netfilter.c \ netlink_netlink_diag.c netlink_packet_diag.c netlink_route.c \ netlink_route.h netlink_selinux.c netlink_smc_diag.c \ @@ -1847,26 +2016,27 @@ ptrace_syscall_info.h quota.c random_ioctl.c readahead.c \ readlink.c reboot.c regs.h regset.c renameat.c resource.c \ retval.c retval.h riscv.c rt_sigframe.c rt_sigreturn.c rtc.c \ - rtnl_addr.c rtnl_addrlabel.c rtnl_dcb.c rtnl_link.c rtnl_mdb.c \ - rtnl_neigh.c rtnl_neightbl.c rtnl_netconf.c rtnl_nsid.c \ - rtnl_route.c rtnl_rule.c rtnl_tc.c rtnl_tc_action.c s390.c \ - sched.c sched_attr.h scsi.c seccomp.c sendfile.c sg_io_v3.c \ - sg_io_v4.c shutdown.c sigaltstack.c sigevent.h signal.c \ - signalfd.c sigreturn.c sock.c sockaddr.c socketcall.c \ + rtnl_addr.c rtnl_addrlabel.c rtnl_cachereport.c rtnl_dcb.c \ + rtnl_link.c rtnl_mdb.c rtnl_neigh.c rtnl_neightbl.c \ + rtnl_netconf.c rtnl_nh.c rtnl_nsid.c rtnl_route.c rtnl_rule.c \ + rtnl_stats.c rtnl_tc.c rtnl_tc_action.c s390.c sched.c \ + sched_attr.h scsi.c seccomp.c seccomp_ioctl.c sendfile.c \ + sg_io_v3.c sg_io_v4.c shutdown.c sigaltstack.c sigevent.h \ + signal.c signalfd.c sigreturn.c sock.c sockaddr.c socketcall.c \ socketutils.c sparc.c sram_alloc.c stage_output.c stat.c \ stat.h stat64.c statfs.c statfs.c statfs.h statfs64.c \ - static_assert.h statx.c statx.h string_to_uint.c \ - string_to_uint.h swapon.c sync_file_range.c sync_file_range2.c \ - syscall.c syscall.h syscall_dummy.h sysctl.c sysent.h \ - sysent_shorthand_defs.h sysent_shorthand_undefs.h sysinfo.c \ - syslog.c sysmips.c tee.c term.c time.c times.c trace_event.h \ - trie.c trie.h truncate.c ubi.c ucopy.c uid.c uid16.c umask.c \ - umount.c uname.c upeek.c upoke.c userfaultfd.c ustat.c util.c \ - utime.c utimes.c v4l2.c wait.c wait.h watchdog_ioctl.c xattr.c \ - xgetdents.c xgetdents.h xlat.c xlat.h xmalloc.c xmalloc.h \ - xstring.h $(TYPES_HEADER_FILES) $(strace_SOURCES_check) \ - $(am__append_2) $(am__append_3) $(am__append_8) \ - $(am__append_15) + static_assert.h statx.c statx.h strauss.c strauss.h \ + string_to_uint.c string_to_uint.h swapon.c sync_file_range.c \ + sync_file_range2.c syscall.c syscall.h syscall_dummy.h \ + syscall_name.c sysctl.c sysent.h sysent_shorthand_defs.h \ + sysent_shorthand_undefs.h sysinfo.c syslog.c sysmips.c tee.c \ + term.c time.c times.c trace_event.h trie.c trie.h truncate.c \ + ubi.c ucopy.c uid.c uid16.c umask.c umount.c uname.c upeek.c \ + upoke.c userfaultfd.c ustat.c util.c utime.c utimes.c v4l2.c \ + wait.c wait.h watchdog_ioctl.c xattr.c xgetdents.c xgetdents.h \ + xlat.c xlat.h xmalloc.c xmalloc.h xstring.h \ + $(TYPES_HEADER_FILES) $(strace_SOURCES_check) $(am__append_2) \ + $(am__append_3) $(am__append_8) $(am__append_15) strace_SOURCES_check = bpf_attr_check.c $(TYPES_CHECK_FILES) # Enable this to get link map generated @@ -1926,6 +2096,7 @@ linux/alpha/signalent.h \ linux/alpha/syscallent.h \ linux/alpha/userent.h \ + linux/arc/arch_defs_.h \ linux/arc/arch_regs.c \ linux/arc/get_error.c \ linux/arc/get_scno.c \ @@ -1953,6 +2124,7 @@ linux/arm/shuffle_scno.c \ linux/arm/syscallent.h \ linux/arm/userent.h \ + linux/avr32/arch_defs_.h \ linux/avr32/arch_regs.c \ linux/avr32/get_error.c \ linux/avr32/get_scno.c \ @@ -1978,6 +2150,7 @@ linux/bfin/set_scno.c \ linux/bfin/syscallent.h \ linux/bfin/userent.h \ + linux/csky/arch_defs_.h \ linux/csky/arch_regs.c \ linux/csky/get_error.c \ linux/csky/get_scno.c \ @@ -1988,7 +2161,6 @@ linux/csky/set_error.c \ linux/csky/set_scno.c \ linux/csky/syscallent.h \ - linux/generic/arch_defs_.h \ linux/generic/arch_fpregset.c \ linux/generic/arch_fpregset.h \ linux/generic/arch_kvm.c \ @@ -2072,6 +2244,21 @@ linux/ia64/syscallent.h \ linux/ia64/syscallent_base_nr.h \ linux/ia64/userent.h \ + linux/loongarch64/arch_defs_.h \ + linux/loongarch64/arch_fpregset.c \ + linux/loongarch64/arch_fpregset.h \ + linux/loongarch64/arch_prstatus_regset.c \ + linux/loongarch64/arch_prstatus_regset.h \ + linux/loongarch64/arch_regs.c \ + linux/loongarch64/get_error.c \ + linux/loongarch64/get_scno.c \ + linux/loongarch64/get_syscall_args.c \ + linux/loongarch64/ioctls_arch0.h \ + linux/loongarch64/ioctls_inc0.h \ + linux/loongarch64/raw_syscall.h \ + linux/loongarch64/set_error.c \ + linux/loongarch64/set_scno.c \ + linux/loongarch64/syscallent.h \ linux/m68k/arch_defs_.h \ linux/m68k/arch_regs.c \ linux/m68k/arch_rt_sigframe.c \ @@ -2087,6 +2274,7 @@ linux/m68k/set_scno.c \ linux/m68k/syscallent.h \ linux/m68k/userent.h \ + linux/metag/arch_defs_.h \ linux/metag/arch_regs.c \ linux/metag/arch_rt_sigframe.c \ linux/metag/get_error.c \ @@ -2148,6 +2336,7 @@ linux/nios2/set_error.c \ linux/nios2/set_scno.c \ linux/nios2/syscallent.h \ + linux/or1k/arch_defs_.h \ linux/or1k/arch_regs.c \ linux/or1k/get_error.c \ linux/or1k/get_scno.c \ @@ -2226,6 +2415,7 @@ linux/powerpc64le/set_scno.c \ linux/powerpc64le/syscallent.h \ linux/powerpc64le/userent.h \ + linux/riscv64/arch_defs_.h \ linux/riscv64/arch_prstatus_regset.c \ linux/riscv64/arch_prstatus_regset.h \ linux/riscv64/arch_regs.c \ @@ -2428,6 +2618,7 @@ linux/x86_64/syscallent1.h \ linux/x86_64/syscallent2.h \ linux/x86_64/userent.h \ + linux/xtensa/arch_defs_.h \ linux/xtensa/arch_regs.c \ linux/xtensa/get_error.c \ linux/xtensa/get_scno.c \ @@ -2492,7 +2683,7 @@ SCNO_SED = /TRACE_INDIRECT_SUBCALL/d; s/^\:space:*\($(digits)\(:space:*+:space:*$(digits)\)\?\)\:space:*=:space:*{^,*,^,*,^,*,:space:*"\($(al_nums)\)":space:*},.*/\#ifndef __NR_\3\n\# define __NR_\3 (SYSCALL_BIT | (\1))\n\#endif/p # Generated by ./src/generate_mpers_am.sh; do not edit. -mpers_source_files = block.c btrfs.c dirent.c evdev_mpers.c fetch_bpf_fprog.c fetch_struct_flock.c fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c fetch_struct_mmsghdr.c fetch_struct_msghdr.c fetch_struct_stat.c fetch_struct_stat64.c fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c ipc_msgctl.c ipc_semctl.c ipc_shmctl.c loop.c mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c print_mq_attr.c print_msgbuf.c print_sg_req_info.c print_sigevent.c print_time.c print_timeval.c printrusage.c printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c sigaltstack.c sock.c sysinfo.c times.c ustat.c utime.c v4l2.c +mpers_source_files = block.c btrfs.c dirent.c evdev_mpers.c fetch_bpf_fprog.c fetch_struct_flock.c fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c fetch_struct_mmsghdr.c fetch_struct_msghdr.c fetch_struct_stat.c fetch_struct_stat64.c fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c ipc_msgctl.c ipc_semctl.c ipc_shmctl.c kd_mpers_ioctl.c loop.c mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c print_mq_attr.c print_msgbuf.c print_sg_req_info.c print_sigevent.c print_time.c print_timeval.c printrusage.c printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c sigaltstack.c sock.c sysctl.c sysinfo.c times.c ustat.c utime.c v4l2.c # defines mpers_source_files srcdir_mpers_source_files = $(patsubst %,$(srcdir)/%,$(mpers_source_files)) @@ -2622,6 +2813,14 @@ $(AM_V_at)-rm -f libmpers-mx32.a $(AM_V_AR)$(libmpers_mx32_a_AR) libmpers-mx32.a $(libmpers_mx32_a_OBJECTS) $(libmpers_mx32_a_LIBADD) $(AM_V_at)$(RANLIB) libmpers-mx32.a +gen/$(am__dirstamp): + @$(MKDIR_P) gen + @: > gen/$(am__dirstamp) +gen/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gen/$(DEPDIR) + @: > gen/$(DEPDIR)/$(am__dirstamp) +gen/libstrace_a-gen_hdio.$(OBJEXT): gen/$(am__dirstamp) \ + gen/$(DEPDIR)/$(am__dirstamp) libstrace.a: $(libstrace_a_OBJECTS) $(libstrace_a_DEPENDENCIES) $(EXTRA_libstrace_a_DEPENDENCIES) $(AM_V_at)-rm -f libstrace.a @@ -2677,6 +2876,7 @@ mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f gen/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @@ -2701,6 +2901,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-ipc_msgctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-ipc_semctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-ipc_shmctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-loop.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-mtd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-perf_ioctl.Po@am__quote@ # am--include-marker @@ -2720,6 +2921,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-sg_io_v3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-sigaltstack.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-sock.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-times.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_m32_a-ustat.Po@am__quote@ # am--include-marker @@ -2743,6 +2945,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-ipc_msgctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-ipc_semctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-ipc_shmctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-loop.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-mtd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-perf_ioctl.Po@am__quote@ # am--include-marker @@ -2762,6 +2965,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-sg_io_v3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-sigaltstack.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-sock.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-times.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmpers_mx32_a-ustat.Po@am__quote@ # am--include-marker @@ -2789,6 +2993,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-close_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-copy_file_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-count.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-counter_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-delay.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-desc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-dirent.Po@am__quote@ # am--include-marker @@ -2833,6 +3038,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-fstatfs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-fstatfs64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-futex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-futex_waitv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-get_personality.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-get_robust_list.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-getcpu.Po@am__quote@ # am--include-marker @@ -2858,12 +3064,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-ipc_shm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-ipc_shmctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-kcmp.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-kd_ioctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-kexec.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-keyctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-kvm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-landlock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-ldt.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-link.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-lirc_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-listen.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-lookup_dcookie.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-loop.Po@am__quote@ # am--include-marker @@ -2957,21 +3166,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_addr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_addrlabel.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_cachereport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_dcb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_link.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_mdb.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_neigh.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_neightbl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_netconf.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_nh.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_nsid.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_route.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_rule.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_stats.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_tc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-rtnl_tc_action.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-s390.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sched.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-scsi.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-seccomp.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-seccomp_ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sendfile.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sg_io_v3.Po@am__quote@ # am--include-marker @@ -2993,11 +3206,13 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-statfs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-statfs64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-statx.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-strauss.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-string_to_uint.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-swapon.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sync_file_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sync_file_range2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-syscall.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-syscall_name.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-syslog.Po@am__quote@ # am--include-marker @@ -3033,6 +3248,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-xlat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libstrace_a-xmalloc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-strace.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@gen/$(DEPDIR)/libstrace_a-gen_hdio.Po@am__quote@ # am--include-marker $(am__depfiles_remade): @$(MKDIR_P) $(@D) @@ -3308,6 +3524,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-ipc_shmctl.obj `if test -f 'ipc_shmctl.c'; then $(CYGPATH_W) 'ipc_shmctl.c'; else $(CYGPATH_W) '$(srcdir)/ipc_shmctl.c'; fi` +libmpers_m32_a-kd_mpers_ioctl.o: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-kd_mpers_ioctl.o -MD -MP -MF $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Tpo -c -o libmpers_m32_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libmpers_m32_a-kd_mpers_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c + +libmpers_m32_a-kd_mpers_ioctl.obj: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-kd_mpers_ioctl.obj -MD -MP -MF $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Tpo -c -o libmpers_m32_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libmpers_m32_a-kd_mpers_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` + libmpers_m32_a-loop.o: loop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-loop.o -MD -MP -MF $(DEPDIR)/libmpers_m32_a-loop.Tpo -c -o libmpers_m32_a-loop.o `test -f 'loop.c' || echo '$(srcdir)/'`loop.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-loop.Tpo $(DEPDIR)/libmpers_m32_a-loop.Po @@ -3574,6 +3804,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-sock.obj `if test -f 'sock.c'; then $(CYGPATH_W) 'sock.c'; else $(CYGPATH_W) '$(srcdir)/sock.c'; fi` +libmpers_m32_a-sysctl.o: sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-sysctl.o -MD -MP -MF $(DEPDIR)/libmpers_m32_a-sysctl.Tpo -c -o libmpers_m32_a-sysctl.o `test -f 'sysctl.c' || echo '$(srcdir)/'`sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-sysctl.Tpo $(DEPDIR)/libmpers_m32_a-sysctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sysctl.c' object='libmpers_m32_a-sysctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-sysctl.o `test -f 'sysctl.c' || echo '$(srcdir)/'`sysctl.c + +libmpers_m32_a-sysctl.obj: sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-sysctl.obj -MD -MP -MF $(DEPDIR)/libmpers_m32_a-sysctl.Tpo -c -o libmpers_m32_a-sysctl.obj `if test -f 'sysctl.c'; then $(CYGPATH_W) 'sysctl.c'; else $(CYGPATH_W) '$(srcdir)/sysctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-sysctl.Tpo $(DEPDIR)/libmpers_m32_a-sysctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sysctl.c' object='libmpers_m32_a-sysctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -c -o libmpers_m32_a-sysctl.obj `if test -f 'sysctl.c'; then $(CYGPATH_W) 'sysctl.c'; else $(CYGPATH_W) '$(srcdir)/sysctl.c'; fi` + libmpers_m32_a-sysinfo.o: sysinfo.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_m32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_m32_a_CFLAGS) $(CFLAGS) -MT libmpers_m32_a-sysinfo.o -MD -MP -MF $(DEPDIR)/libmpers_m32_a-sysinfo.Tpo -c -o libmpers_m32_a-sysinfo.o `test -f 'sysinfo.c' || echo '$(srcdir)/'`sysinfo.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_m32_a-sysinfo.Tpo $(DEPDIR)/libmpers_m32_a-sysinfo.Po @@ -3896,6 +4140,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-ipc_shmctl.obj `if test -f 'ipc_shmctl.c'; then $(CYGPATH_W) 'ipc_shmctl.c'; else $(CYGPATH_W) '$(srcdir)/ipc_shmctl.c'; fi` +libmpers_mx32_a-kd_mpers_ioctl.o: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-kd_mpers_ioctl.o -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Tpo -c -o libmpers_mx32_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libmpers_mx32_a-kd_mpers_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c + +libmpers_mx32_a-kd_mpers_ioctl.obj: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-kd_mpers_ioctl.obj -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Tpo -c -o libmpers_mx32_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libmpers_mx32_a-kd_mpers_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` + libmpers_mx32_a-loop.o: loop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-loop.o -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-loop.Tpo -c -o libmpers_mx32_a-loop.o `test -f 'loop.c' || echo '$(srcdir)/'`loop.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-loop.Tpo $(DEPDIR)/libmpers_mx32_a-loop.Po @@ -4162,6 +4420,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-sock.obj `if test -f 'sock.c'; then $(CYGPATH_W) 'sock.c'; else $(CYGPATH_W) '$(srcdir)/sock.c'; fi` +libmpers_mx32_a-sysctl.o: sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-sysctl.o -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-sysctl.Tpo -c -o libmpers_mx32_a-sysctl.o `test -f 'sysctl.c' || echo '$(srcdir)/'`sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-sysctl.Tpo $(DEPDIR)/libmpers_mx32_a-sysctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sysctl.c' object='libmpers_mx32_a-sysctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-sysctl.o `test -f 'sysctl.c' || echo '$(srcdir)/'`sysctl.c + +libmpers_mx32_a-sysctl.obj: sysctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-sysctl.obj -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-sysctl.Tpo -c -o libmpers_mx32_a-sysctl.obj `if test -f 'sysctl.c'; then $(CYGPATH_W) 'sysctl.c'; else $(CYGPATH_W) '$(srcdir)/sysctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-sysctl.Tpo $(DEPDIR)/libmpers_mx32_a-sysctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sysctl.c' object='libmpers_mx32_a-sysctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -c -o libmpers_mx32_a-sysctl.obj `if test -f 'sysctl.c'; then $(CYGPATH_W) 'sysctl.c'; else $(CYGPATH_W) '$(srcdir)/sysctl.c'; fi` + libmpers_mx32_a-sysinfo.o: sysinfo.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmpers_mx32_a_CPPFLAGS) $(CPPFLAGS) $(libmpers_mx32_a_CFLAGS) $(CFLAGS) -MT libmpers_mx32_a-sysinfo.o -MD -MP -MF $(DEPDIR)/libmpers_mx32_a-sysinfo.Tpo -c -o libmpers_mx32_a-sysinfo.o `test -f 'sysinfo.c' || echo '$(srcdir)/'`sysinfo.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmpers_mx32_a-sysinfo.Tpo $(DEPDIR)/libmpers_mx32_a-sysinfo.Po @@ -4526,6 +4798,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-count.obj `if test -f 'count.c'; then $(CYGPATH_W) 'count.c'; else $(CYGPATH_W) '$(srcdir)/count.c'; fi` +libstrace_a-counter_ioctl.o: counter_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-counter_ioctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-counter_ioctl.Tpo -c -o libstrace_a-counter_ioctl.o `test -f 'counter_ioctl.c' || echo '$(srcdir)/'`counter_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-counter_ioctl.Tpo $(DEPDIR)/libstrace_a-counter_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='counter_ioctl.c' object='libstrace_a-counter_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-counter_ioctl.o `test -f 'counter_ioctl.c' || echo '$(srcdir)/'`counter_ioctl.c + +libstrace_a-counter_ioctl.obj: counter_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-counter_ioctl.obj -MD -MP -MF $(DEPDIR)/libstrace_a-counter_ioctl.Tpo -c -o libstrace_a-counter_ioctl.obj `if test -f 'counter_ioctl.c'; then $(CYGPATH_W) 'counter_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/counter_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-counter_ioctl.Tpo $(DEPDIR)/libstrace_a-counter_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='counter_ioctl.c' object='libstrace_a-counter_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-counter_ioctl.obj `if test -f 'counter_ioctl.c'; then $(CYGPATH_W) 'counter_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/counter_ioctl.c'; fi` + libstrace_a-delay.o: delay.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-delay.o -MD -MP -MF $(DEPDIR)/libstrace_a-delay.Tpo -c -o libstrace_a-delay.o `test -f 'delay.c' || echo '$(srcdir)/'`delay.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-delay.Tpo $(DEPDIR)/libstrace_a-delay.Po @@ -5142,6 +5428,34 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-futex.obj `if test -f 'futex.c'; then $(CYGPATH_W) 'futex.c'; else $(CYGPATH_W) '$(srcdir)/futex.c'; fi` +libstrace_a-futex_waitv.o: futex_waitv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-futex_waitv.o -MD -MP -MF $(DEPDIR)/libstrace_a-futex_waitv.Tpo -c -o libstrace_a-futex_waitv.o `test -f 'futex_waitv.c' || echo '$(srcdir)/'`futex_waitv.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-futex_waitv.Tpo $(DEPDIR)/libstrace_a-futex_waitv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='futex_waitv.c' object='libstrace_a-futex_waitv.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-futex_waitv.o `test -f 'futex_waitv.c' || echo '$(srcdir)/'`futex_waitv.c + +libstrace_a-futex_waitv.obj: futex_waitv.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-futex_waitv.obj -MD -MP -MF $(DEPDIR)/libstrace_a-futex_waitv.Tpo -c -o libstrace_a-futex_waitv.obj `if test -f 'futex_waitv.c'; then $(CYGPATH_W) 'futex_waitv.c'; else $(CYGPATH_W) '$(srcdir)/futex_waitv.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-futex_waitv.Tpo $(DEPDIR)/libstrace_a-futex_waitv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='futex_waitv.c' object='libstrace_a-futex_waitv.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-futex_waitv.obj `if test -f 'futex_waitv.c'; then $(CYGPATH_W) 'futex_waitv.c'; else $(CYGPATH_W) '$(srcdir)/futex_waitv.c'; fi` + +gen/libstrace_a-gen_hdio.o: gen/gen_hdio.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT gen/libstrace_a-gen_hdio.o -MD -MP -MF gen/$(DEPDIR)/libstrace_a-gen_hdio.Tpo -c -o gen/libstrace_a-gen_hdio.o `test -f 'gen/gen_hdio.c' || echo '$(srcdir)/'`gen/gen_hdio.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) gen/$(DEPDIR)/libstrace_a-gen_hdio.Tpo gen/$(DEPDIR)/libstrace_a-gen_hdio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gen/gen_hdio.c' object='gen/libstrace_a-gen_hdio.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o gen/libstrace_a-gen_hdio.o `test -f 'gen/gen_hdio.c' || echo '$(srcdir)/'`gen/gen_hdio.c + +gen/libstrace_a-gen_hdio.obj: gen/gen_hdio.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT gen/libstrace_a-gen_hdio.obj -MD -MP -MF gen/$(DEPDIR)/libstrace_a-gen_hdio.Tpo -c -o gen/libstrace_a-gen_hdio.obj `if test -f 'gen/gen_hdio.c'; then $(CYGPATH_W) 'gen/gen_hdio.c'; else $(CYGPATH_W) '$(srcdir)/gen/gen_hdio.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) gen/$(DEPDIR)/libstrace_a-gen_hdio.Tpo gen/$(DEPDIR)/libstrace_a-gen_hdio.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gen/gen_hdio.c' object='gen/libstrace_a-gen_hdio.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o gen/libstrace_a-gen_hdio.obj `if test -f 'gen/gen_hdio.c'; then $(CYGPATH_W) 'gen/gen_hdio.c'; else $(CYGPATH_W) '$(srcdir)/gen/gen_hdio.c'; fi` + libstrace_a-get_personality.o: get_personality.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-get_personality.o -MD -MP -MF $(DEPDIR)/libstrace_a-get_personality.Tpo -c -o libstrace_a-get_personality.o `test -f 'get_personality.c' || echo '$(srcdir)/'`get_personality.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-get_personality.Tpo $(DEPDIR)/libstrace_a-get_personality.Po @@ -5492,6 +5806,34 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-kcmp.obj `if test -f 'kcmp.c'; then $(CYGPATH_W) 'kcmp.c'; else $(CYGPATH_W) '$(srcdir)/kcmp.c'; fi` +libstrace_a-kd_ioctl.o: kd_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-kd_ioctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-kd_ioctl.Tpo -c -o libstrace_a-kd_ioctl.o `test -f 'kd_ioctl.c' || echo '$(srcdir)/'`kd_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-kd_ioctl.Tpo $(DEPDIR)/libstrace_a-kd_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_ioctl.c' object='libstrace_a-kd_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-kd_ioctl.o `test -f 'kd_ioctl.c' || echo '$(srcdir)/'`kd_ioctl.c + +libstrace_a-kd_ioctl.obj: kd_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-kd_ioctl.obj -MD -MP -MF $(DEPDIR)/libstrace_a-kd_ioctl.Tpo -c -o libstrace_a-kd_ioctl.obj `if test -f 'kd_ioctl.c'; then $(CYGPATH_W) 'kd_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-kd_ioctl.Tpo $(DEPDIR)/libstrace_a-kd_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_ioctl.c' object='libstrace_a-kd_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-kd_ioctl.obj `if test -f 'kd_ioctl.c'; then $(CYGPATH_W) 'kd_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_ioctl.c'; fi` + +libstrace_a-kd_mpers_ioctl.o: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-kd_mpers_ioctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Tpo -c -o libstrace_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libstrace_a-kd_mpers_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-kd_mpers_ioctl.o `test -f 'kd_mpers_ioctl.c' || echo '$(srcdir)/'`kd_mpers_ioctl.c + +libstrace_a-kd_mpers_ioctl.obj: kd_mpers_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-kd_mpers_ioctl.obj -MD -MP -MF $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Tpo -c -o libstrace_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Tpo $(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='kd_mpers_ioctl.c' object='libstrace_a-kd_mpers_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-kd_mpers_ioctl.obj `if test -f 'kd_mpers_ioctl.c'; then $(CYGPATH_W) 'kd_mpers_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/kd_mpers_ioctl.c'; fi` + libstrace_a-kexec.o: kexec.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-kexec.o -MD -MP -MF $(DEPDIR)/libstrace_a-kexec.Tpo -c -o libstrace_a-kexec.o `test -f 'kexec.c' || echo '$(srcdir)/'`kexec.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-kexec.Tpo $(DEPDIR)/libstrace_a-kexec.Po @@ -5576,6 +5918,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-link.obj `if test -f 'link.c'; then $(CYGPATH_W) 'link.c'; else $(CYGPATH_W) '$(srcdir)/link.c'; fi` +libstrace_a-lirc_ioctl.o: lirc_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-lirc_ioctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-lirc_ioctl.Tpo -c -o libstrace_a-lirc_ioctl.o `test -f 'lirc_ioctl.c' || echo '$(srcdir)/'`lirc_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-lirc_ioctl.Tpo $(DEPDIR)/libstrace_a-lirc_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lirc_ioctl.c' object='libstrace_a-lirc_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-lirc_ioctl.o `test -f 'lirc_ioctl.c' || echo '$(srcdir)/'`lirc_ioctl.c + +libstrace_a-lirc_ioctl.obj: lirc_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-lirc_ioctl.obj -MD -MP -MF $(DEPDIR)/libstrace_a-lirc_ioctl.Tpo -c -o libstrace_a-lirc_ioctl.obj `if test -f 'lirc_ioctl.c'; then $(CYGPATH_W) 'lirc_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/lirc_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-lirc_ioctl.Tpo $(DEPDIR)/libstrace_a-lirc_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='lirc_ioctl.c' object='libstrace_a-lirc_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-lirc_ioctl.obj `if test -f 'lirc_ioctl.c'; then $(CYGPATH_W) 'lirc_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/lirc_ioctl.c'; fi` + libstrace_a-listen.o: listen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-listen.o -MD -MP -MF $(DEPDIR)/libstrace_a-listen.Tpo -c -o libstrace_a-listen.o `test -f 'listen.c' || echo '$(srcdir)/'`listen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-listen.Tpo $(DEPDIR)/libstrace_a-listen.Po @@ -6878,6 +7234,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_addrlabel.obj `if test -f 'rtnl_addrlabel.c'; then $(CYGPATH_W) 'rtnl_addrlabel.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_addrlabel.c'; fi` +libstrace_a-rtnl_cachereport.o: rtnl_cachereport.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_cachereport.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_cachereport.Tpo -c -o libstrace_a-rtnl_cachereport.o `test -f 'rtnl_cachereport.c' || echo '$(srcdir)/'`rtnl_cachereport.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_cachereport.Tpo $(DEPDIR)/libstrace_a-rtnl_cachereport.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_cachereport.c' object='libstrace_a-rtnl_cachereport.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_cachereport.o `test -f 'rtnl_cachereport.c' || echo '$(srcdir)/'`rtnl_cachereport.c + +libstrace_a-rtnl_cachereport.obj: rtnl_cachereport.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_cachereport.obj -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_cachereport.Tpo -c -o libstrace_a-rtnl_cachereport.obj `if test -f 'rtnl_cachereport.c'; then $(CYGPATH_W) 'rtnl_cachereport.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_cachereport.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_cachereport.Tpo $(DEPDIR)/libstrace_a-rtnl_cachereport.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_cachereport.c' object='libstrace_a-rtnl_cachereport.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_cachereport.obj `if test -f 'rtnl_cachereport.c'; then $(CYGPATH_W) 'rtnl_cachereport.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_cachereport.c'; fi` + libstrace_a-rtnl_dcb.o: rtnl_dcb.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_dcb.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_dcb.Tpo -c -o libstrace_a-rtnl_dcb.o `test -f 'rtnl_dcb.c' || echo '$(srcdir)/'`rtnl_dcb.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_dcb.Tpo $(DEPDIR)/libstrace_a-rtnl_dcb.Po @@ -6962,6 +7332,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_netconf.obj `if test -f 'rtnl_netconf.c'; then $(CYGPATH_W) 'rtnl_netconf.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_netconf.c'; fi` +libstrace_a-rtnl_nh.o: rtnl_nh.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_nh.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_nh.Tpo -c -o libstrace_a-rtnl_nh.o `test -f 'rtnl_nh.c' || echo '$(srcdir)/'`rtnl_nh.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_nh.Tpo $(DEPDIR)/libstrace_a-rtnl_nh.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_nh.c' object='libstrace_a-rtnl_nh.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_nh.o `test -f 'rtnl_nh.c' || echo '$(srcdir)/'`rtnl_nh.c + +libstrace_a-rtnl_nh.obj: rtnl_nh.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_nh.obj -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_nh.Tpo -c -o libstrace_a-rtnl_nh.obj `if test -f 'rtnl_nh.c'; then $(CYGPATH_W) 'rtnl_nh.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_nh.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_nh.Tpo $(DEPDIR)/libstrace_a-rtnl_nh.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_nh.c' object='libstrace_a-rtnl_nh.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_nh.obj `if test -f 'rtnl_nh.c'; then $(CYGPATH_W) 'rtnl_nh.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_nh.c'; fi` + libstrace_a-rtnl_nsid.o: rtnl_nsid.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_nsid.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_nsid.Tpo -c -o libstrace_a-rtnl_nsid.o `test -f 'rtnl_nsid.c' || echo '$(srcdir)/'`rtnl_nsid.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_nsid.Tpo $(DEPDIR)/libstrace_a-rtnl_nsid.Po @@ -7004,6 +7388,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_rule.obj `if test -f 'rtnl_rule.c'; then $(CYGPATH_W) 'rtnl_rule.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_rule.c'; fi` +libstrace_a-rtnl_stats.o: rtnl_stats.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_stats.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_stats.Tpo -c -o libstrace_a-rtnl_stats.o `test -f 'rtnl_stats.c' || echo '$(srcdir)/'`rtnl_stats.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_stats.Tpo $(DEPDIR)/libstrace_a-rtnl_stats.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_stats.c' object='libstrace_a-rtnl_stats.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_stats.o `test -f 'rtnl_stats.c' || echo '$(srcdir)/'`rtnl_stats.c + +libstrace_a-rtnl_stats.obj: rtnl_stats.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_stats.obj -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_stats.Tpo -c -o libstrace_a-rtnl_stats.obj `if test -f 'rtnl_stats.c'; then $(CYGPATH_W) 'rtnl_stats.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_stats.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_stats.Tpo $(DEPDIR)/libstrace_a-rtnl_stats.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='rtnl_stats.c' object='libstrace_a-rtnl_stats.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-rtnl_stats.obj `if test -f 'rtnl_stats.c'; then $(CYGPATH_W) 'rtnl_stats.c'; else $(CYGPATH_W) '$(srcdir)/rtnl_stats.c'; fi` + libstrace_a-rtnl_tc.o: rtnl_tc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-rtnl_tc.o -MD -MP -MF $(DEPDIR)/libstrace_a-rtnl_tc.Tpo -c -o libstrace_a-rtnl_tc.o `test -f 'rtnl_tc.c' || echo '$(srcdir)/'`rtnl_tc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-rtnl_tc.Tpo $(DEPDIR)/libstrace_a-rtnl_tc.Po @@ -7088,6 +7486,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-seccomp.obj `if test -f 'seccomp.c'; then $(CYGPATH_W) 'seccomp.c'; else $(CYGPATH_W) '$(srcdir)/seccomp.c'; fi` +libstrace_a-seccomp_ioctl.o: seccomp_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-seccomp_ioctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-seccomp_ioctl.Tpo -c -o libstrace_a-seccomp_ioctl.o `test -f 'seccomp_ioctl.c' || echo '$(srcdir)/'`seccomp_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-seccomp_ioctl.Tpo $(DEPDIR)/libstrace_a-seccomp_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='seccomp_ioctl.c' object='libstrace_a-seccomp_ioctl.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-seccomp_ioctl.o `test -f 'seccomp_ioctl.c' || echo '$(srcdir)/'`seccomp_ioctl.c + +libstrace_a-seccomp_ioctl.obj: seccomp_ioctl.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-seccomp_ioctl.obj -MD -MP -MF $(DEPDIR)/libstrace_a-seccomp_ioctl.Tpo -c -o libstrace_a-seccomp_ioctl.obj `if test -f 'seccomp_ioctl.c'; then $(CYGPATH_W) 'seccomp_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/seccomp_ioctl.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-seccomp_ioctl.Tpo $(DEPDIR)/libstrace_a-seccomp_ioctl.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='seccomp_ioctl.c' object='libstrace_a-seccomp_ioctl.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-seccomp_ioctl.obj `if test -f 'seccomp_ioctl.c'; then $(CYGPATH_W) 'seccomp_ioctl.c'; else $(CYGPATH_W) '$(srcdir)/seccomp_ioctl.c'; fi` + libstrace_a-sendfile.o: sendfile.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-sendfile.o -MD -MP -MF $(DEPDIR)/libstrace_a-sendfile.Tpo -c -o libstrace_a-sendfile.o `test -f 'sendfile.c' || echo '$(srcdir)/'`sendfile.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-sendfile.Tpo $(DEPDIR)/libstrace_a-sendfile.Po @@ -7368,6 +7780,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-statx.obj `if test -f 'statx.c'; then $(CYGPATH_W) 'statx.c'; else $(CYGPATH_W) '$(srcdir)/statx.c'; fi` +libstrace_a-strauss.o: strauss.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-strauss.o -MD -MP -MF $(DEPDIR)/libstrace_a-strauss.Tpo -c -o libstrace_a-strauss.o `test -f 'strauss.c' || echo '$(srcdir)/'`strauss.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-strauss.Tpo $(DEPDIR)/libstrace_a-strauss.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='strauss.c' object='libstrace_a-strauss.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-strauss.o `test -f 'strauss.c' || echo '$(srcdir)/'`strauss.c + +libstrace_a-strauss.obj: strauss.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-strauss.obj -MD -MP -MF $(DEPDIR)/libstrace_a-strauss.Tpo -c -o libstrace_a-strauss.obj `if test -f 'strauss.c'; then $(CYGPATH_W) 'strauss.c'; else $(CYGPATH_W) '$(srcdir)/strauss.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-strauss.Tpo $(DEPDIR)/libstrace_a-strauss.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='strauss.c' object='libstrace_a-strauss.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-strauss.obj `if test -f 'strauss.c'; then $(CYGPATH_W) 'strauss.c'; else $(CYGPATH_W) '$(srcdir)/strauss.c'; fi` + libstrace_a-string_to_uint.o: string_to_uint.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-string_to_uint.o -MD -MP -MF $(DEPDIR)/libstrace_a-string_to_uint.Tpo -c -o libstrace_a-string_to_uint.o `test -f 'string_to_uint.c' || echo '$(srcdir)/'`string_to_uint.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-string_to_uint.Tpo $(DEPDIR)/libstrace_a-string_to_uint.Po @@ -7438,6 +7864,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-syscall.obj `if test -f 'syscall.c'; then $(CYGPATH_W) 'syscall.c'; else $(CYGPATH_W) '$(srcdir)/syscall.c'; fi` +libstrace_a-syscall_name.o: syscall_name.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-syscall_name.o -MD -MP -MF $(DEPDIR)/libstrace_a-syscall_name.Tpo -c -o libstrace_a-syscall_name.o `test -f 'syscall_name.c' || echo '$(srcdir)/'`syscall_name.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-syscall_name.Tpo $(DEPDIR)/libstrace_a-syscall_name.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='syscall_name.c' object='libstrace_a-syscall_name.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-syscall_name.o `test -f 'syscall_name.c' || echo '$(srcdir)/'`syscall_name.c + +libstrace_a-syscall_name.obj: syscall_name.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-syscall_name.obj -MD -MP -MF $(DEPDIR)/libstrace_a-syscall_name.Tpo -c -o libstrace_a-syscall_name.obj `if test -f 'syscall_name.c'; then $(CYGPATH_W) 'syscall_name.c'; else $(CYGPATH_W) '$(srcdir)/syscall_name.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-syscall_name.Tpo $(DEPDIR)/libstrace_a-syscall_name.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='syscall_name.c' object='libstrace_a-syscall_name.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -c -o libstrace_a-syscall_name.obj `if test -f 'syscall_name.c'; then $(CYGPATH_W) 'syscall_name.c'; else $(CYGPATH_W) '$(srcdir)/syscall_name.c'; fi` + libstrace_a-sysctl.o: sysctl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libstrace_a_CPPFLAGS) $(CPPFLAGS) $(libstrace_a_CFLAGS) $(CFLAGS) -MT libstrace_a-sysctl.o -MD -MP -MF $(DEPDIR)/libstrace_a-sysctl.Tpo -c -o libstrace_a-sysctl.o `test -f 'sysctl.c' || echo '$(srcdir)/'`sysctl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libstrace_a-sysctl.Tpo $(DEPDIR)/libstrace_a-sysctl.Po @@ -8083,6 +8523,8 @@ distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f gen/$(DEPDIR)/$(am__dirstamp) + -rm -f gen/$(am__dirstamp) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @@ -8135,6 +8577,7 @@ -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_msgctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_semctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_shmctl.Po + -rm -f ./$(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-loop.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-mtd.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-perf_ioctl.Po @@ -8154,6 +8597,7 @@ -rm -f ./$(DEPDIR)/libmpers_m32_a-sg_io_v3.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sigaltstack.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sock.Po + -rm -f ./$(DEPDIR)/libmpers_m32_a-sysctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sysinfo.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-times.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ustat.Po @@ -8177,6 +8621,7 @@ -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_msgctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_semctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_shmctl.Po + -rm -f ./$(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-loop.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-mtd.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-perf_ioctl.Po @@ -8196,6 +8641,7 @@ -rm -f ./$(DEPDIR)/libmpers_mx32_a-sg_io_v3.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sigaltstack.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sock.Po + -rm -f ./$(DEPDIR)/libmpers_mx32_a-sysctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sysinfo.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-times.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ustat.Po @@ -8223,6 +8669,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-close_range.Po -rm -f ./$(DEPDIR)/libstrace_a-copy_file_range.Po -rm -f ./$(DEPDIR)/libstrace_a-count.Po + -rm -f ./$(DEPDIR)/libstrace_a-counter_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-delay.Po -rm -f ./$(DEPDIR)/libstrace_a-desc.Po -rm -f ./$(DEPDIR)/libstrace_a-dirent.Po @@ -8267,6 +8714,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-fstatfs.Po -rm -f ./$(DEPDIR)/libstrace_a-fstatfs64.Po -rm -f ./$(DEPDIR)/libstrace_a-futex.Po + -rm -f ./$(DEPDIR)/libstrace_a-futex_waitv.Po -rm -f ./$(DEPDIR)/libstrace_a-get_personality.Po -rm -f ./$(DEPDIR)/libstrace_a-get_robust_list.Po -rm -f ./$(DEPDIR)/libstrace_a-getcpu.Po @@ -8292,12 +8740,15 @@ -rm -f ./$(DEPDIR)/libstrace_a-ipc_shm.Po -rm -f ./$(DEPDIR)/libstrace_a-ipc_shmctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kcmp.Po + -rm -f ./$(DEPDIR)/libstrace_a-kd_ioctl.Po + -rm -f ./$(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kexec.Po -rm -f ./$(DEPDIR)/libstrace_a-keyctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kvm.Po -rm -f ./$(DEPDIR)/libstrace_a-landlock.Po -rm -f ./$(DEPDIR)/libstrace_a-ldt.Po -rm -f ./$(DEPDIR)/libstrace_a-link.Po + -rm -f ./$(DEPDIR)/libstrace_a-lirc_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-listen.Po -rm -f ./$(DEPDIR)/libstrace_a-lookup_dcookie.Po -rm -f ./$(DEPDIR)/libstrace_a-loop.Po @@ -8391,21 +8842,25 @@ -rm -f ./$(DEPDIR)/libstrace_a-rtc.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_addr.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_addrlabel.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_cachereport.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_dcb.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_link.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_mdb.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_neigh.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_neightbl.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_netconf.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_nh.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_nsid.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_route.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_rule.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_stats.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_tc.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_tc_action.Po -rm -f ./$(DEPDIR)/libstrace_a-s390.Po -rm -f ./$(DEPDIR)/libstrace_a-sched.Po -rm -f ./$(DEPDIR)/libstrace_a-scsi.Po -rm -f ./$(DEPDIR)/libstrace_a-seccomp.Po + -rm -f ./$(DEPDIR)/libstrace_a-seccomp_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-secontext.Po -rm -f ./$(DEPDIR)/libstrace_a-sendfile.Po -rm -f ./$(DEPDIR)/libstrace_a-sg_io_v3.Po @@ -8427,11 +8882,13 @@ -rm -f ./$(DEPDIR)/libstrace_a-statfs.Po -rm -f ./$(DEPDIR)/libstrace_a-statfs64.Po -rm -f ./$(DEPDIR)/libstrace_a-statx.Po + -rm -f ./$(DEPDIR)/libstrace_a-strauss.Po -rm -f ./$(DEPDIR)/libstrace_a-string_to_uint.Po -rm -f ./$(DEPDIR)/libstrace_a-swapon.Po -rm -f ./$(DEPDIR)/libstrace_a-sync_file_range.Po -rm -f ./$(DEPDIR)/libstrace_a-sync_file_range2.Po -rm -f ./$(DEPDIR)/libstrace_a-syscall.Po + -rm -f ./$(DEPDIR)/libstrace_a-syscall_name.Po -rm -f ./$(DEPDIR)/libstrace_a-sysctl.Po -rm -f ./$(DEPDIR)/libstrace_a-sysinfo.Po -rm -f ./$(DEPDIR)/libstrace_a-syslog.Po @@ -8467,6 +8924,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-xlat.Po -rm -f ./$(DEPDIR)/libstrace_a-xmalloc.Po -rm -f ./$(DEPDIR)/strace-strace.Po + -rm -f gen/$(DEPDIR)/libstrace_a-gen_hdio.Po -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags @@ -8532,6 +8990,7 @@ -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_msgctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_semctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ipc_shmctl.Po + -rm -f ./$(DEPDIR)/libmpers_m32_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-loop.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-mtd.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-perf_ioctl.Po @@ -8551,6 +9010,7 @@ -rm -f ./$(DEPDIR)/libmpers_m32_a-sg_io_v3.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sigaltstack.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sock.Po + -rm -f ./$(DEPDIR)/libmpers_m32_a-sysctl.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-sysinfo.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-times.Po -rm -f ./$(DEPDIR)/libmpers_m32_a-ustat.Po @@ -8574,6 +9034,7 @@ -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_msgctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_semctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ipc_shmctl.Po + -rm -f ./$(DEPDIR)/libmpers_mx32_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-loop.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-mtd.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-perf_ioctl.Po @@ -8593,6 +9054,7 @@ -rm -f ./$(DEPDIR)/libmpers_mx32_a-sg_io_v3.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sigaltstack.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sock.Po + -rm -f ./$(DEPDIR)/libmpers_mx32_a-sysctl.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-sysinfo.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-times.Po -rm -f ./$(DEPDIR)/libmpers_mx32_a-ustat.Po @@ -8620,6 +9082,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-close_range.Po -rm -f ./$(DEPDIR)/libstrace_a-copy_file_range.Po -rm -f ./$(DEPDIR)/libstrace_a-count.Po + -rm -f ./$(DEPDIR)/libstrace_a-counter_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-delay.Po -rm -f ./$(DEPDIR)/libstrace_a-desc.Po -rm -f ./$(DEPDIR)/libstrace_a-dirent.Po @@ -8664,6 +9127,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-fstatfs.Po -rm -f ./$(DEPDIR)/libstrace_a-fstatfs64.Po -rm -f ./$(DEPDIR)/libstrace_a-futex.Po + -rm -f ./$(DEPDIR)/libstrace_a-futex_waitv.Po -rm -f ./$(DEPDIR)/libstrace_a-get_personality.Po -rm -f ./$(DEPDIR)/libstrace_a-get_robust_list.Po -rm -f ./$(DEPDIR)/libstrace_a-getcpu.Po @@ -8689,12 +9153,15 @@ -rm -f ./$(DEPDIR)/libstrace_a-ipc_shm.Po -rm -f ./$(DEPDIR)/libstrace_a-ipc_shmctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kcmp.Po + -rm -f ./$(DEPDIR)/libstrace_a-kd_ioctl.Po + -rm -f ./$(DEPDIR)/libstrace_a-kd_mpers_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kexec.Po -rm -f ./$(DEPDIR)/libstrace_a-keyctl.Po -rm -f ./$(DEPDIR)/libstrace_a-kvm.Po -rm -f ./$(DEPDIR)/libstrace_a-landlock.Po -rm -f ./$(DEPDIR)/libstrace_a-ldt.Po -rm -f ./$(DEPDIR)/libstrace_a-link.Po + -rm -f ./$(DEPDIR)/libstrace_a-lirc_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-listen.Po -rm -f ./$(DEPDIR)/libstrace_a-lookup_dcookie.Po -rm -f ./$(DEPDIR)/libstrace_a-loop.Po @@ -8788,21 +9255,25 @@ -rm -f ./$(DEPDIR)/libstrace_a-rtc.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_addr.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_addrlabel.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_cachereport.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_dcb.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_link.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_mdb.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_neigh.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_neightbl.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_netconf.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_nh.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_nsid.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_route.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_rule.Po + -rm -f ./$(DEPDIR)/libstrace_a-rtnl_stats.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_tc.Po -rm -f ./$(DEPDIR)/libstrace_a-rtnl_tc_action.Po -rm -f ./$(DEPDIR)/libstrace_a-s390.Po -rm -f ./$(DEPDIR)/libstrace_a-sched.Po -rm -f ./$(DEPDIR)/libstrace_a-scsi.Po -rm -f ./$(DEPDIR)/libstrace_a-seccomp.Po + -rm -f ./$(DEPDIR)/libstrace_a-seccomp_ioctl.Po -rm -f ./$(DEPDIR)/libstrace_a-secontext.Po -rm -f ./$(DEPDIR)/libstrace_a-sendfile.Po -rm -f ./$(DEPDIR)/libstrace_a-sg_io_v3.Po @@ -8824,11 +9295,13 @@ -rm -f ./$(DEPDIR)/libstrace_a-statfs.Po -rm -f ./$(DEPDIR)/libstrace_a-statfs64.Po -rm -f ./$(DEPDIR)/libstrace_a-statx.Po + -rm -f ./$(DEPDIR)/libstrace_a-strauss.Po -rm -f ./$(DEPDIR)/libstrace_a-string_to_uint.Po -rm -f ./$(DEPDIR)/libstrace_a-swapon.Po -rm -f ./$(DEPDIR)/libstrace_a-sync_file_range.Po -rm -f ./$(DEPDIR)/libstrace_a-sync_file_range2.Po -rm -f ./$(DEPDIR)/libstrace_a-syscall.Po + -rm -f ./$(DEPDIR)/libstrace_a-syscall_name.Po -rm -f ./$(DEPDIR)/libstrace_a-sysctl.Po -rm -f ./$(DEPDIR)/libstrace_a-sysinfo.Po -rm -f ./$(DEPDIR)/libstrace_a-syslog.Po @@ -8864,6 +9337,7 @@ -rm -f ./$(DEPDIR)/libstrace_a-xlat.Po -rm -f ./$(DEPDIR)/libstrace_a-xmalloc.Po -rm -f ./$(DEPDIR)/strace-strace.Po + -rm -f gen/$(DEPDIR)/libstrace_a-gen_hdio.Po -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -8926,6 +9400,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/aio_iocb_flags.h: $(top_srcdir)/src/xlat/aio_iocb_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/alg_sockaddr_flags.h: $(top_srcdir)/src/xlat/alg_sockaddr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/alpha_trap_codes.h: $(top_srcdir)/src/xlat/alpha_trap_codes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/archvals.h: $(top_srcdir)/src/xlat/archvals.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/arp_hardware_types.h: $(top_srcdir)/src/xlat/arp_hardware_types.in $(top_srcdir)/src/xlat/gen.sh @@ -8966,6 +9444,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_file_mode_flags.h: $(top_srcdir)/src/xlat/bpf_file_mode_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/bpf_link_create_kprobe_multi_flags.h: $(top_srcdir)/src/xlat/bpf_link_create_kprobe_multi_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_map_flags.h: $(top_srcdir)/src/xlat/bpf_map_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_map_lookup_elem_flags.h: $(top_srcdir)/src/xlat/bpf_map_lookup_elem_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -8996,6 +9476,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_task_fd_type.h: $(top_srcdir)/src/xlat/bpf_task_fd_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/bpf_test_run_flags.h: $(top_srcdir)/src/xlat/bpf_test_run_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bsg_flags.h: $(top_srcdir)/src/xlat/bsg_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bsg_protocol.h: $(top_srcdir)/src/xlat/bsg_protocol.in $(top_srcdir)/src/xlat/gen.sh @@ -9016,6 +9498,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_cont_reading_from_srcdev_mode.h: $(top_srcdir)/src/xlat/btrfs_cont_reading_from_srcdev_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/btrfs_csum_types.h: $(top_srcdir)/src/xlat/btrfs_csum_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_defrag_flags.h: $(top_srcdir)/src/xlat/btrfs_defrag_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_dev_replace_cmds.h: $(top_srcdir)/src/xlat/btrfs_dev_replace_cmds.in $(top_srcdir)/src/xlat/gen.sh @@ -9034,6 +9518,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_features_incompat.h: $(top_srcdir)/src/xlat/btrfs_features_incompat.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/btrfs_fs_info_flags.h: $(top_srcdir)/src/xlat/btrfs_fs_info_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_key_types.h: $(top_srcdir)/src/xlat/btrfs_key_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_logical_ino_args_flags.h: $(top_srcdir)/src/xlat/btrfs_logical_ino_args_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -9082,6 +9568,14 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/close_range_flags.h: $(top_srcdir)/src/xlat/close_range_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/compat_ptrace_cmds.h: $(top_srcdir)/src/xlat/compat_ptrace_cmds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_component_types.h: $(top_srcdir)/src/xlat/counter_ioctl_component_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_event_types.h: $(top_srcdir)/src/xlat/counter_ioctl_event_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_scopes.h: $(top_srcdir)/src/xlat/counter_ioctl_scopes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/cpuclocknames.h: $(top_srcdir)/src/xlat/cpuclocknames.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/crypto_nl_attrs.h: $(top_srcdir)/src/xlat/crypto_nl_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -9162,6 +9656,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fcntlcmds.h: $(top_srcdir)/src/xlat/fcntlcmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/fdb_notify_flags.h: $(top_srcdir)/src/xlat/fdb_notify_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fdflags.h: $(top_srcdir)/src/xlat/fdflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fib_rule_actions.h: $(top_srcdir)/src/xlat/fib_rule_actions.in $(top_srcdir)/src/xlat/gen.sh @@ -9190,6 +9686,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fspick_flags.h: $(top_srcdir)/src/xlat/fspick_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/futex_waiter_flags.h: $(top_srcdir)/src/xlat/futex_waiter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/futexbitset.h: $(top_srcdir)/src/xlat/futexbitset.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/futexops.h: $(top_srcdir)/src/xlat/futexops.in $(top_srcdir)/src/xlat/gen.sh @@ -9220,13 +9718,23 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hci_channels.h: $(top_srcdir)/src/xlat/hci_channels.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/hdio_busstates.h: $(top_srcdir)/src/xlat/hdio_busstates.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hdio_drive_cmds.h: $(top_srcdir)/src/xlat/hdio_drive_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/hdio_ide_nice.h: $(top_srcdir)/src/xlat/hdio_ide_nice.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hw_breakpoint_len.h: $(top_srcdir)/src/xlat/hw_breakpoint_len.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hw_breakpoint_type.h: $(top_srcdir)/src/xlat/hw_breakpoint_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/icmpfilterflags.h: $(top_srcdir)/src/xlat/icmpfilterflags.in $(top_srcdir)/src/xlat/gen.sh +$(top_srcdir)/src/xlat/icmp_filter_flags.h: $(top_srcdir)/src/xlat/icmp_filter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_addr_types.h: $(top_srcdir)/src/xlat/ieee802154_addr_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_addrs.h: $(top_srcdir)/src/xlat/ieee802154_addrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_pan_ids.h: $(top_srcdir)/src/xlat/ieee802154_pan_ids.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/if_dqblk_valid.h: $(top_srcdir)/src/xlat/if_dqblk_valid.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ @@ -9238,6 +9746,24 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/iffflags.h: $(top_srcdir)/src/xlat/iffflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_af_spec_mpls_attrs.h: $(top_srcdir)/src/xlat/ifstats_af_spec_mpls_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_attr_flags.h: $(top_srcdir)/src/xlat/ifstats_attr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_attrs.h: $(top_srcdir)/src/xlat/ifstats_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_offload_attrs.h: $(top_srcdir)/src/xlat/ifstats_offload_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bond_3ad_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bond_3ad_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bond_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bond_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bridge_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bridge_mcast_indices.h: $(top_srcdir)/src/xlat/ifstats_xstats_bridge_mcast_indices.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_type_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_type_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/in6_addr_gen_mode.h: $(top_srcdir)/src/xlat/in6_addr_gen_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet6_devconf_indices.h: $(top_srcdir)/src/xlat/inet6_devconf_indices.in $(top_srcdir)/src/xlat/gen.sh @@ -9248,12 +9774,24 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_attrs.h: $(top_srcdir)/src/xlat/inet_diag_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_bpf_storage_attrs.h: $(top_srcdir)/src/xlat/inet_diag_bpf_storage_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_bpf_storages_attrs.h: $(top_srcdir)/src/xlat/inet_diag_bpf_storages_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_bytecodes.h: $(top_srcdir)/src/xlat/inet_diag_bytecodes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_extended_flags.h: $(top_srcdir)/src/xlat/inet_diag_extended_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_req_attrs.h: $(top_srcdir)/src/xlat/inet_diag_req_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_shutdown_flags.h: $(top_srcdir)/src/xlat/inet_diag_shutdown_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_mptcp_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_mptcp_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_tls_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_tls_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_protocols.h: $(top_srcdir)/src/xlat/inet_protocols.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inotify_flags.h: $(top_srcdir)/src/xlat/inotify_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -9286,6 +9824,52 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kcmp_types.h: $(top_srcdir)/src/xlat/kcmp_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_default_led_flags.h: $(top_srcdir)/src/xlat/kd_default_led_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_font_flags.h: $(top_srcdir)/src/xlat/kd_font_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_font_ops.h: $(top_srcdir)/src/xlat/kd_font_ops.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_ioctl_cmds.h: $(top_srcdir)/src/xlat/kd_ioctl_cmds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_kbd_modes.h: $(top_srcdir)/src/xlat/kd_kbd_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_kbd_types.h: $(top_srcdir)/src/xlat/kd_kbd_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_ascii_keys.h: $(top_srcdir)/src/xlat/kd_key_ascii_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_brl_keys.h: $(top_srcdir)/src/xlat/kd_key_brl_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_cur_keys.h: $(top_srcdir)/src/xlat/kd_key_cur_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_dead_keys.h: $(top_srcdir)/src/xlat/kd_key_dead_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_fn_key_vals.h: $(top_srcdir)/src/xlat/kd_key_fn_key_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_fn_keys.h: $(top_srcdir)/src/xlat/kd_key_fn_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_lock_keys.h: $(top_srcdir)/src/xlat/kd_key_lock_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_pad_keys.h: $(top_srcdir)/src/xlat/kd_key_pad_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_shift_keys.h: $(top_srcdir)/src/xlat/kd_key_shift_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_slock_keys.h: $(top_srcdir)/src/xlat/kd_key_slock_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_spec_keys.h: $(top_srcdir)/src/xlat/kd_key_spec_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_tables.h: $(top_srcdir)/src/xlat/kd_key_tables.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_types.h: $(top_srcdir)/src/xlat/kd_key_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_keymap_flags.h: $(top_srcdir)/src/xlat/kd_keymap_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_led_flags.h: $(top_srcdir)/src/xlat/kd_led_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_meta_vals.h: $(top_srcdir)/src/xlat/kd_meta_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_modes.h: $(top_srcdir)/src/xlat/kd_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kexec_arch_values.h: $(top_srcdir)/src/xlat/kexec_arch_values.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kexec_file_load_flags.h: $(top_srcdir)/src/xlat/kexec_file_load_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -9322,6 +9906,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/landlock_ruleset_access_fs.h: $(top_srcdir)/src/xlat/landlock_ruleset_access_fs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/lirc_features.h: $(top_srcdir)/src/xlat/lirc_features.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/lirc_modes.h: $(top_srcdir)/src/xlat/lirc_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/lockfcmds.h: $(top_srcdir)/src/xlat/lockfcmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/loop_crypt_type_options.h: $(top_srcdir)/src/xlat/loop_crypt_type_options.in $(top_srcdir)/src/xlat/gen.sh @@ -9336,6 +9924,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mctl_sync.h: $(top_srcdir)/src/xlat/mctl_sync.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mctp_addrs.h: $(top_srcdir)/src/xlat/mctp_addrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mctp_nets.h: $(top_srcdir)/src/xlat/mctp_nets.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mdb_flags.h: $(top_srcdir)/src/xlat/mdb_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mdb_states.h: $(top_srcdir)/src/xlat/mdb_states.in $(top_srcdir)/src/xlat/gen.sh @@ -9378,6 +9970,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mpol_modes.h: $(top_srcdir)/src/xlat/mpol_modes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mptcp_subflow_flags.h: $(top_srcdir)/src/xlat/mptcp_subflow_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mq_attr_flags.h: $(top_srcdir)/src/xlat/mq_attr_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mremap_flags.h: $(top_srcdir)/src/xlat/mremap_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -9406,6 +10000,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nbd_ioctl_flags.h: $(top_srcdir)/src/xlat/nbd_ioctl_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/neighbor_cache_entry_ext_flags.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_ext_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/neighbor_cache_entry_flags.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/neighbor_cache_entry_states.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_states.in $(top_srcdir)/src/xlat/gen.sh @@ -9462,8 +10058,14 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nfc_protocols.h: $(top_srcdir)/src/xlat/nfc_protocols.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nfc_saps.h: $(top_srcdir)/src/xlat/nfc_saps.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nfc_sockaddr_protocols.h: $(top_srcdir)/src/xlat/nfc_sockaddr_protocols.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_audit_types.h: $(top_srcdir)/src/xlat/nl_audit_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nl_bridge_vlan_flags.h: $(top_srcdir)/src/xlat/nl_bridge_vlan_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_crypto_types.h: $(top_srcdir)/src/xlat/nl_crypto_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_netfilter_msg_types.h: $(top_srcdir)/src/xlat/nl_netfilter_msg_types.in $(top_srcdir)/src/xlat/gen.sh @@ -9560,6 +10162,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_set_mm.h: $(top_srcdir)/src/xlat/pr_set_mm.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/pr_set_vma.h: $(top_srcdir)/src/xlat/pr_set_vma.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/pr_sme_vl_flags.h: $(top_srcdir)/src/xlat/pr_sme_vl_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_spec_cmds.h: $(top_srcdir)/src/xlat/pr_spec_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_spec_get_store_bypass_flags.h: $(top_srcdir)/src/xlat/pr_spec_get_store_bypass_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -9586,6 +10192,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptp_perout_flags.h: $(top_srcdir)/src/xlat/ptp_perout_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ptp_pin_funcs.h: $(top_srcdir)/src/xlat/ptp_pin_funcs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_cmds.h: $(top_srcdir)/src/xlat/ptrace_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_events.h: $(top_srcdir)/src/xlat/ptrace_events.in $(top_srcdir)/src/xlat/gen.sh @@ -9596,6 +10204,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_syscall_info_op.h: $(top_srcdir)/src/xlat/ptrace_syscall_info_op.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/qipcrtr_nodes.h: $(top_srcdir)/src/xlat/qipcrtr_nodes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/qipcrtr_ports.h: $(top_srcdir)/src/xlat/qipcrtr_ports.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/quota_formats.h: $(top_srcdir)/src/xlat/quota_formats.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/quotacmds.h: $(top_srcdir)/src/xlat/quotacmds.in $(top_srcdir)/src/xlat/gen.sh @@ -9624,8 +10236,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/routing_types.h: $(top_srcdir)/src/xlat/routing_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_backup_switch_modes.h: $(top_srcdir)/src/xlat/rtc_backup_switch_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_feature_bits.h: $(top_srcdir)/src/xlat/rtc_feature_bits.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_features.h: $(top_srcdir)/src/xlat/rtc_features.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtc_ioctl_cmds.h: $(top_srcdir)/src/xlat/rtc_ioctl_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_params.h: $(top_srcdir)/src/xlat/rtc_params.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtc_vl_flags.h: $(top_srcdir)/src/xlat/rtc_vl_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_addr_attrs.h: $(top_srcdir)/src/xlat/rtnl_addr_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -9634,14 +10254,34 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_dcb_attrs.h: $(top_srcdir)/src/xlat/rtnl_dcb_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_family.h: $(top_srcdir)/src/xlat/rtnl_family.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet6_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet6_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_mctp_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_mctp_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_boolopt_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_boolopt_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_boolopts.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_boolopts.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_mcast_querier_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_mcast_querier_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_bridge_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_bridge_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_bridge_modes.h: $(top_srcdir)/src/xlat/rtnl_ifla_bridge_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_brport_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_brport_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_events.h: $(top_srcdir)/src/xlat/rtnl_ifla_events.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_ext_filter_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_ext_filter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_info_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_info_data_bridge_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_info_data_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -9652,12 +10292,30 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_proto_down_reason_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_proto_down_reason_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_link_states.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_link_states.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_vf_port_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_port_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_stats_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_stats_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_vlan_list_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_vlan_list_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vfinfo_list_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vfinfo_list_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attached_mode.h: $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attached_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ip6mra_creport_attr.h: $(top_srcdir)/src/xlat/rtnl_ip6mra_creport_attr.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ip6mra_msg_types.h: $(top_srcdir)/src/xlat/rtnl_ip6mra_msg_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ipmra_creport_attr.h: $(top_srcdir)/src/xlat/rtnl_ipmra_creport_attr.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ipmra_msg_types.h: $(top_srcdir)/src/xlat/rtnl_ipmra_msg_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_link_attrs.h: $(top_srcdir)/src/xlat/rtnl_link_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_mdb_attrs.h: $(top_srcdir)/src/xlat/rtnl_mdb_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -9674,12 +10332,22 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neigh_attrs.h: $(top_srcdir)/src/xlat/rtnl_neigh_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.h: $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neightbl_attrs.h: $(top_srcdir)/src/xlat/rtnl_neightbl_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neightbl_parms_attrs.h: $(top_srcdir)/src/xlat/rtnl_neightbl_parms_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_netconf_attrs.h: $(top_srcdir)/src/xlat/rtnl_netconf_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nexthop_attrs.h: $(top_srcdir)/src/xlat/rtnl_nexthop_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nexthop_grp_types.h: $(top_srcdir)/src/xlat/rtnl_nexthop_grp_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nha_res_bucket_attrs.h: $(top_srcdir)/src/xlat/rtnl_nha_res_bucket_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nha_res_group_attrs.h: $(top_srcdir)/src/xlat/rtnl_nha_res_group_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_nsid_attrs.h: $(top_srcdir)/src/xlat/rtnl_nsid_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_route_attrs.h: $(top_srcdir)/src/xlat/rtnl_route_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -9702,6 +10370,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rwf_flags.h: $(top_srcdir)/src/xlat/rwf_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rxrpc_services.h: $(top_srcdir)/src/xlat/rxrpc_services.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/s390_guarded_storage_commands.h: $(top_srcdir)/src/xlat/s390_guarded_storage_commands.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/s390_runtime_instr_commands.h: $(top_srcdir)/src/xlat/s390_runtime_instr_commands.in $(top_srcdir)/src/xlat/gen.sh @@ -9722,6 +10392,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_filter_flags.h: $(top_srcdir)/src/xlat/seccomp_filter_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/seccomp_ioctl_addfd_flags.h: $(top_srcdir)/src/xlat/seccomp_ioctl_addfd_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/seccomp_ioctl_resp_flags.h: $(top_srcdir)/src/xlat/seccomp_ioctl_resp_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_mode.h: $(top_srcdir)/src/xlat/seccomp_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_ops.h: $(top_srcdir)/src/xlat/seccomp_ops.in $(top_srcdir)/src/xlat/gen.sh @@ -9788,6 +10462,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sigtrap_codes.h: $(top_srcdir)/src/xlat/sigtrap_codes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sigtrap_perf_flags.h: $(top_srcdir)/src/xlat/sigtrap_perf_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/skf_ad.h: $(top_srcdir)/src/xlat/skf_ad.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/skf_off.h: $(top_srcdir)/src/xlat/skf_off.in $(top_srcdir)/src/xlat/gen.sh @@ -9818,6 +10494,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_caif_options.h: $(top_srcdir)/src/xlat/sock_caif_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sock_can_raw_options.h: $(top_srcdir)/src/xlat/sock_can_raw_options.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_dccp_options.h: $(top_srcdir)/src/xlat/sock_dccp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_ip_options.h: $(top_srcdir)/src/xlat/sock_ip_options.in $(top_srcdir)/src/xlat/gen.sh @@ -9866,12 +10544,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_udp_options.h: $(top_srcdir)/src/xlat/sock_udp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sock_vsock_options.h: $(top_srcdir)/src/xlat/sock_vsock_options.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_xdp_options.h: $(top_srcdir)/src/xlat/sock_xdp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socketcalls.h: $(top_srcdir)/src/xlat/socketcalls.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socketlayers.h: $(top_srcdir)/src/xlat/socketlayers.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sockopt_txrehash_vals.h: $(top_srcdir)/src/xlat/sockopt_txrehash_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socktypes.h: $(top_srcdir)/src/xlat/socktypes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sparc_kern_features.h: $(top_srcdir)/src/xlat/sparc_kern_features.in $(top_srcdir)/src/xlat/gen.sh @@ -9890,28 +10572,6 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sync_file_range_flags.h: $(top_srcdir)/src/xlat/sync_file_range_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_kern.h: $(top_srcdir)/src/xlat/sysctl_kern.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net.h: $(top_srcdir)/src/xlat/sysctl_net.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_core.h: $(top_srcdir)/src/xlat/sysctl_net_core.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4_route.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv6.h: $(top_srcdir)/src/xlat/sysctl_net_ipv6.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv6_route.h: $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_unix.h: $(top_srcdir)/src/xlat/sysctl_net_unix.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_root.h: $(top_srcdir)/src/xlat/sysctl_root.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_vm.h: $(top_srcdir)/src/xlat/sysctl_vm.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/syslog_action_type.h: $(top_srcdir)/src/xlat/syslog_action_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/syslog_console_levels.h: $(top_srcdir)/src/xlat/syslog_console_levels.in $(top_srcdir)/src/xlat/gen.sh @@ -9942,8 +10602,42 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/tee_ioctl_shm_flags.h: $(top_srcdir)/src/xlat/tee_ioctl_shm_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_cflags.h: $(top_srcdir)/src/xlat/term_cflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_cflags_csize.h: $(top_srcdir)/src/xlat/term_cflags_csize.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_iflags.h: $(top_srcdir)/src/xlat/term_iflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_lflags.h: $(top_srcdir)/src/xlat/term_lflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_line_discs.h: $(top_srcdir)/src/xlat/term_line_discs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags.h: $(top_srcdir)/src/xlat/term_oflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_bsdly.h: $(top_srcdir)/src/xlat/term_oflags_bsdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_crdly.h: $(top_srcdir)/src/xlat/term_oflags_crdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_ffdly.h: $(top_srcdir)/src/xlat/term_oflags_ffdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_nldly.h: $(top_srcdir)/src/xlat/term_oflags_nldly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_tabdly.h: $(top_srcdir)/src/xlat/term_oflags_tabdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_vtdly.h: $(top_srcdir)/src/xlat/term_oflags_vtdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/termio_cc.h: $(top_srcdir)/src/xlat/termio_cc.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/termios_cc.h: $(top_srcdir)/src/xlat/termios_cc.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/timerfdflags.h: $(top_srcdir)/src/xlat/timerfdflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_ciphers.h: $(top_srcdir)/src/xlat/tls_info_ciphers.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_configs.h: $(top_srcdir)/src/xlat/tls_info_configs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_versions.h: $(top_srcdir)/src/xlat/tls_info_versions.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/tun_device_types.h: $(top_srcdir)/src/xlat/tun_device_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ubi_data_types.h: $(top_srcdir)/src/xlat/ubi_data_types.in $(top_srcdir)/src/xlat/gen.sh @@ -9976,20 +10670,28 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/unshare_flags.h: $(top_srcdir)/src/xlat/unshare_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/uring_cqring_flags.h: $(top_srcdir)/src/xlat/uring_cqring_flags.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_enter_flags.h: $(top_srcdir)/src/xlat/uring_enter_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_files_update_fds.h: $(top_srcdir)/src/xlat/uring_files_update_fds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_iowq_acct.h: $(top_srcdir)/src/xlat/uring_iowq_acct.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_op_flags.h: $(top_srcdir)/src/xlat/uring_op_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_ops.h: $(top_srcdir)/src/xlat/uring_ops.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_register_opcodes.h: $(top_srcdir)/src/xlat/uring_register_opcodes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_register_rsrc_flags.h: $(top_srcdir)/src/xlat/uring_register_rsrc_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_restriction_opcodes.h: $(top_srcdir)/src/xlat/uring_restriction_opcodes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_setup_features.h: $(top_srcdir)/src/xlat/uring_setup_features.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_setup_flags.h: $(top_srcdir)/src/xlat/uring_setup_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_sqe_flags.h: $(top_srcdir)/src/xlat/uring_sqe_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/usagewho.h: $(top_srcdir)/src/xlat/usagewho.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/v4l2_buf_flags.h: $(top_srcdir)/src/xlat/v4l2_buf_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -10050,6 +10752,12 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/v4l2_vbi_flags.h: $(top_srcdir)/src/xlat/v4l2_vbi_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_cids.h: $(top_srcdir)/src/xlat/vsock_cids.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_flags.h: $(top_srcdir)/src/xlat/vsock_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_ports.h: $(top_srcdir)/src/xlat/vsock_ports.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/wait4_options.h: $(top_srcdir)/src/xlat/wait4_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/waitid_types.h: $(top_srcdir)/src/xlat/waitid_types.in $(top_srcdir)/src/xlat/gen.sh @@ -10058,10 +10766,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/whence_codes.h: $(top_srcdir)/src/xlat/whence_codes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/x86_xfeature_bits.h: $(top_srcdir)/src/xlat/x86_xfeature_bits.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/x86_xfeatures.h: $(top_srcdir)/src/xlat/x86_xfeatures.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xattrflags.h: $(top_srcdir)/src/xlat/xattrflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xdp_flags.h: $(top_srcdir)/src/xlat/xdp_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/xdp_sockaddr_flags.h: $(top_srcdir)/src/xlat/xdp_sockaddr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xfs_dqblk_flags.h: $(top_srcdir)/src/xlat/xfs_dqblk_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xfs_quota_flags.h: $(top_srcdir)/src/xlat/xfs_quota_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -10127,8 +10841,11 @@ # mpers targets -mpers-m%.stamp: $(srcdir_mpers_source_files) | printers.h - for f in $^; do \ +# sys_func.h is an auto-generated file. Make sure it's present before +# preprocessor is ran against it. Example use: +# struct_blk_user_trace_setup.c => syscall.h => sys_func.h (generated) +mpers-m%.stamp: $(srcdir_mpers_source_files) printers.h sys_func.h + for f in $(srcdir_mpers_source_files); do \ D="$(D)" \ READELF="$(READELF)" \ CC="$(mpers_CC)" \
View file
_service:tar_scm:strace-5.14.tar.xz/src/affinity.c -> _service:tar_scm:strace-6.1.tar.xz/src/affinity.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2002-2004 Roland McGrath <roland@redhat.com> * Copyright (c) 2009-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -41,19 +41,29 @@ return cpuset_size; } -static void +void print_affinitylist(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len) { const unsigned int max_size = get_cpuset_size(); - const unsigned int umove_size = len < max_size ? len : max_size; - const unsigned int size = - (umove_size + current_wordsize - 1) & -current_wordsize; + const unsigned int umove_size = MIN(len, max_size); + const unsigned int size = ROUNDUP(umove_size, current_wordsize); const unsigned int ncpu = size * 8; void *cpu; if (!verbose(tcp) || (exiting(tcp) && syserror(tcp)) || - !addr || !len || !(cpu = calloc(size, 1))) { + !addr) { + printaddr(addr); + return; + } + + if (!len) { + tprint_array_begin(); + tprint_array_end(); + return; + } + + if (!(cpu = calloc(size, 1))) { printaddr(addr); return; } @@ -61,28 +71,23 @@ if (!umoven_or_printaddr(tcp, addr, umove_size, cpu)) { bool printed = false; - /* - * XXX: this is a bitset printed as if it was an array, - * should be fixed as soon as we decide on the right way - * of printing such bitsets. - */ - tprint_array_begin(); + tprint_bitset_begin(); for (int i = 0;; i++) { i = next_set_bit(cpu, i, ncpu); if (i < 0) break; if (printed) - tprint_array_next(); + tprint_bitset_next(); else printed = true; PRINT_VAL_D(i); } if (size < len) { if (printed) - tprint_array_next(); + tprint_bitset_next(); tprint_more_data_follows(); } - tprint_array_end(); + tprint_bitset_end(); } free(cpu);
View file
_service:tar_scm:strace-5.14.tar.xz/src/arch_defs.h -> _service:tar_scm:strace-6.1.tar.xz/src/arch_defs.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -41,6 +41,22 @@ # define SUPPORTED_PERSONALITIES 1 # endif +# ifndef PERSONALITY_DESIGNATORS +# if SUPPORTED_PERSONALITIES == 1 +# define PERSONALITY_DESIGNATORS { STRINGIFY_VAL(__WORDSIZE) } +# elif SUPPORTED_PERSONALITIES == 2 +# define PERSONALITY_DESIGNATORS { "64", "32" } +# endif +# endif + +# ifndef PERSONALITY_NAMES +# if SUPPORTED_PERSONALITIES == 1 +# define PERSONALITY_NAMES { STRINGIFY_VAL(__WORDSIZE) " bit" } +# elif SUPPORTED_PERSONALITIES == 2 +# define PERSONALITY_NAMES { "64 bit", "32 bit" } +# endif +# endif + # ifndef HAVE_ARCH_DEDICATED_ERR_REG # define HAVE_ARCH_DEDICATED_ERR_REG 0 # endif @@ -53,6 +69,10 @@ # define ARCH_NEEDS_SET_ERROR_FOR_SCNO_TAMPERING 0 # endif +# ifndef ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK +# define ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK 0 +# endif + # ifndef MIN_WORDSIZE # if SUPPORTED_PERSONALITIES > 1 # define MIN_WORDSIZE 4
View file
_service:tar_scm:strace-5.14.tar.xz/src/basic_filters.c -> _service:tar_scm:strace-6.1.tar.xz/src/basic_filters.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -14,6 +14,10 @@ #include "number_set.h" #include "xstring.h" +/* Personality designators to be used for specifying personality */ +static const char *const personality_designators = PERSONALITY_DESIGNATORS; +static_assert(ARRAY_SIZE(personality_designators) == SUPPORTED_PERSONALITIES, + "ARRAY_SIZE(personality_designators) != SUPPORTED_PERSONALITIES"); /** * Checks whether a @-separated personality specification suffix is present. @@ -23,14 +27,14 @@ * @paramin s Specification string to check. * @paramout p Where to store personality number if it is found. * @return If personality is found, the provided string is copied without - * suffix and returned as a result (callee should de-alllocate it + * suffix and returned as a result (callee should de-allocate it * with free() after use), and personality number is written to p. * Otherwise, NULL is returned and p is untouched. */ static char * qualify_syscall_separate_personality(const char *s, unsigned int *p) { - char *pos = strchr(s, '@'); + const char *pos = strrchr(s, '@'); if (!pos) return NULL; @@ -47,44 +51,20 @@ } static bool -qualify_syscall_number_personality(int n, unsigned int p, - struct number_set *set) +qualify_syscall_number(const char *str, unsigned int p, struct number_set *set) { - if ((unsigned int) n >= nsyscall_vecp) - return false; - - add_number_to_set_array(n, set, p); - - return true; -} - -static bool -qualify_syscall_number(const char *s, struct number_set *set) -{ - unsigned int p; - char *num_str = qualify_syscall_separate_personality(s, &p); - int n; - - if (num_str) { - n = string_to_uint(num_str); - free(num_str); - - if (n < 0) + unsigned int nr = string_to_uint(str); + unsigned int scno = shuffle_scno_pers(nr, p); + if (!scno_pers_is_valid(scno, p)) { + if (ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK && + scno_pers_is_valid(nr, p)) + scno = nr; + else return false; - - return qualify_syscall_number_personality(n, p, set); } - n = string_to_uint(s); - if (n < 0) - return false; - - bool done = false; - - for (p = 0; p < SUPPORTED_PERSONALITIES; ++p) - done |= qualify_syscall_number_personality(n, p, set); - - return done; + add_number_to_set_array(scno, set, p); + return true; } static void @@ -98,105 +78,77 @@ } static bool -qualify_syscall_regex(const char *s, struct number_set *set) +qualify_syscall_regex(const char *str, unsigned int p, struct number_set *set) { regex_t preg; int rc; - if ((rc = regcomp(&preg, s, REG_EXTENDED | REG_NOSUB)) != 0) - regerror_msg_and_die(rc, &preg, "regcomp", s); + if ((rc = regcomp(&preg, str, REG_EXTENDED | REG_NOSUB)) != 0) + regerror_msg_and_die(rc, &preg, "regcomp", str); bool found = false; - for (unsigned int p = 0; p < SUPPORTED_PERSONALITIES; ++p) { - for (unsigned int i = 0; i < nsyscall_vecp; ++i) { - if (!sysent_vecpi.sys_name) - continue; - - rc = regexec(&preg, sysent_vecpi.sys_name, - 0, NULL, 0); - - if (rc == REG_NOMATCH) { - char name_buf128; - char *pos = stpcpy(name_buf, - sysent_vecpi.sys_name); - - (void) xappendstr(name_buf, pos, "@%s", - personality_designatorsp); + for (unsigned int i = 0; i < nsyscall_vecp; ++i) { + if (!sysent_vecpi.sys_name) + continue; - rc = regexec(&preg, name_buf, 0, NULL, 0); - } + rc = regexec(&preg, sysent_vecpi.sys_name, + 0, NULL, 0); + if (rc == REG_NOMATCH) + continue; + else if (rc) + regerror_msg_and_die(rc, &preg, "regexec", str); - if (rc == REG_NOMATCH) - continue; - else if (rc) - regerror_msg_and_die(rc, &preg, "regexec", s); - - add_number_to_set_array(i, set, p); - found = true; - } + add_number_to_set_array(i, set, p); + found = true; } regfree(&preg); return found; } -static unsigned int -lookup_class(const char *s) +static bool +qualify_syscall_class(const char *str, unsigned int p, struct number_set *set) { - static const struct { - const char *name; - unsigned int value; - } syscall_class = { - { "%desc", TRACE_DESC }, - { "%file", TRACE_FILE }, - { "%memory", TRACE_MEMORY }, - { "%process", TRACE_PROCESS }, - { "%creds", TRACE_CREDS }, - { "%signal", TRACE_SIGNAL }, - { "%ipc", TRACE_IPC }, - { "%net", TRACE_NETWORK }, - { "%network", TRACE_NETWORK }, - { "%stat", TRACE_STAT }, - { "%lstat", TRACE_LSTAT }, - { "%fstat", TRACE_FSTAT }, - { "%%stat", TRACE_STAT_LIKE }, - { "%statfs", TRACE_STATFS }, - { "%fstatfs", TRACE_FSTATFS }, - { "%%statfs", TRACE_STATFS_LIKE }, - { "%pure", TRACE_PURE }, - { "%clock", TRACE_CLOCK }, + static const struct xlat_data syscall_class = { + { TRACE_DESC, "%desc" }, + { TRACE_FILE, "%file" }, + { TRACE_MEMORY, "%memory" }, + { TRACE_PROCESS, "%process" }, + { TRACE_CREDS, "%creds" }, + { TRACE_SIGNAL, "%signal" }, + { TRACE_IPC, "%ipc" }, + { TRACE_NETWORK, "%net" }, + { TRACE_NETWORK, "%network" }, + { TRACE_STAT, "%stat" }, + { TRACE_LSTAT, "%lstat" }, + { TRACE_FSTAT, "%fstat" }, + { TRACE_STAT_LIKE, "%%stat" }, + { TRACE_STATFS, "%statfs" }, + { TRACE_FSTATFS, "%fstatfs" }, + { TRACE_STATFS_LIKE, "%%statfs" }, + { TRACE_PURE, "%pure" }, + { TRACE_CLOCK, "%clock" }, /* legacy class names */ - { "desc", TRACE_DESC }, - { "file", TRACE_FILE }, - { "memory", TRACE_MEMORY }, - { "process", TRACE_PROCESS }, - { "signal", TRACE_SIGNAL }, - { "ipc", TRACE_IPC }, - { "network", TRACE_NETWORK }, + { 0, "all" }, + { TRACE_DESC, "desc" }, + { TRACE_FILE, "file" }, + { TRACE_MEMORY, "memory" }, + { TRACE_PROCESS, "process" }, + { TRACE_SIGNAL, "signal" }, + { TRACE_IPC, "ipc" }, + { TRACE_NETWORK, "network" }, }; - - for (unsigned int i = 0; i < ARRAY_SIZE(syscall_class); ++i) { - if (strcmp(s, syscall_classi.name) == 0) - return syscall_classi.value; - } - - return 0; -} - -static bool -qualify_syscall_class(const char *s, struct number_set *set) -{ - const unsigned int n = lookup_class(s); - if (!n) + const struct xlat_data *class = find_xlat_val_case(syscall_class, str); + if (!class) return false; - for (unsigned int p = 0; p < SUPPORTED_PERSONALITIES; ++p) { - for (unsigned int i = 0; i < nsyscall_vecp; ++i) { - if (sysent_vecpi.sys_name && - (sysent_vecpi.sys_flags & n) == n) - add_number_to_set_array(i, set, p); - } + unsigned int n = class->val; + + for (unsigned int i = 0; i < nsyscall_vecp; ++i) { + if (sysent_vecpi.sys_name && + (sysent_vecpi.sys_flags & n) == n) + add_number_to_set_array(i, set, p); } return true; @@ -218,8 +170,7 @@ } static bool -qualify_syscall_name_personality(const char *s, unsigned int p, - struct number_set *set) +qualify_syscall_name(const char *s, unsigned int p, struct number_set *set) { bool found = false; @@ -233,41 +184,36 @@ } static bool -qualify_syscall_name(const char *s, struct number_set *set) +qualify_syscall_pers(const char *token, unsigned int p, struct number_set *set) { - unsigned int p; - char *name_str = qualify_syscall_separate_personality(s, &p); - bool found = false; - - if (name_str) { - found = qualify_syscall_name_personality(name_str, p, set); - free(name_str); - - return found; - } - - for (p = 0; p < SUPPORTED_PERSONALITIES; ++p) - found |= qualify_syscall_name_personality(s, p, set); - - return found; + if (*token >= '0' && *token <= '9') + return qualify_syscall_number(token, p, set); + if (*token == '/') + return qualify_syscall_regex(token + 1, p, set); + return qualify_syscall_class(token, p, set) + || qualify_syscall_name(token, p, set); } static bool qualify_syscall(const char *token, struct number_set *set) { - bool ignore_fail = false; - + bool rc = false; while (*token == '?') { - token++; - ignore_fail = true; + ++token; + rc = true; } - if (*token >= '0' && *token <= '9') - return qualify_syscall_number(token, set) || ignore_fail; - if (*token == '/') - return qualify_syscall_regex(token + 1, set) || ignore_fail; - return qualify_syscall_class(token, set) - || qualify_syscall_name(token, set) - || ignore_fail; + + unsigned int p; + char *str = qualify_syscall_separate_personality(token, &p); + if (str) { + rc |= qualify_syscall_pers(str, p, set); + free(str); + } else { + for (p = 0; p < SUPPORTED_PERSONALITIES; ++p) + rc |= qualify_syscall_pers(token, p, set); + } + + return rc; } /*
View file
_service:tar_scm:strace-5.14.tar.xz/src/block.c -> _service:tar_scm:strace-6.1.tar.xz/src/block.c
Changed
@@ -124,6 +124,7 @@ /* returns an uint64_t */ case BLKGETSIZE64: + case BLKGETDISKSEQ: if (entering(tcp)) return 0; tprint_arg_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf.c -> _service:tar_scm:strace-6.1.tar.xz/src/bpf.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2017 Quentin Monnet <quentin.monnet@6wind.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -28,9 +28,15 @@ #include "xlat/bpf_attach_flags.h" #include "xlat/bpf_query_flags.h" #include "xlat/bpf_task_fd_type.h" +#include "xlat/bpf_test_run_flags.h" +#include "xlat/bpf_link_create_kprobe_multi_flags.h" #include "xlat/ebpf_regs.h" #include "xlat/numa_node.h" +#define XLAT_MACROS_ONLY +# include "xlat/clocknames.h" /* For CLOCK_BOOTTIME */ +#undef XLAT_MACROS_ONLY + #define DECL_BPF_CMD_DECODER(bpf_cmd_decoder) \ int \ bpf_cmd_decoder(struct tcb *const tcp, \ @@ -43,7 +49,7 @@ static DECL_BPF_CMD_DECODER(decode_ ## bpf_cmd) \ { \ struct bpf_cmd ## _struct attr = {}; \ - const size_t attr_size = bpf_cmd ## _struct_size; \ + size_t attr_size = bpf_cmd ## _struct_size; \ const unsigned int len = MIN(size, attr_size); \ memcpy(&attr, data, len); \ do { \ @@ -83,8 +89,7 @@ data += attr_size; size -= attr_size; - unsigned int i; - for (i = 0; i < size; ++i) { + for (unsigned int i = 0; i < size; ++i) { if (datai) { tprint_struct_next(); if (abbrev(tcp)) { @@ -203,10 +208,7 @@ * without the access to the kernel headers. */ tprint_struct_next(); - tprints_field_name("numa_node"); - printxvals_ex(attr.numa_node, NULL, - XLAT_STYLE_FMT_U | XLAT_STYLE_VERBOSE, - numa_node, NULL); + PRINT_FIELD_XVAL_U_VERBOSE(attr, numa_node, numa_node, NULL); } /* map_name field was added in Linux commit v4.15-rc1~84^2~605^2~3. */ @@ -248,6 +250,15 @@ break; tprint_struct_next(); PRINT_FIELD_U(attr, btf_vmlinux_value_type_id); + + /* + * The following field was introduced by Linux commit + * v5.16-rc1~159^2~2^2~20^2~4. + */ + if (len <= offsetof(struct BPF_MAP_CREATE_struct, map_extra)) + break; + tprint_struct_next(); + PRINT_FIELD_U64(attr, map_extra); } END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD) @@ -409,6 +420,12 @@ break; tprint_struct_next(); PRINT_FIELD_FD(attr, attach_prog_fd, tcp); + + /* fd_array was added in Linux commit v5.14-rc1~119^2~501^2~2^2~13. */ + if (len <= offsetof(struct BPF_PROG_LOAD_struct, fd_array)) + break; + tprint_struct_next(); + PRINT_FIELD_ADDR64(attr, fd_array); } END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD) @@ -497,16 +514,47 @@ tprint_struct_next(); PRINT_FIELD_ADDR64(attr, ctx_out); } + /* + * The following two fields were introduced in Linux commit + * v5.10-rc1~107^2~96^2~36. + */ + if (len > offsetof(struct BPF_PROG_TEST_RUN_struct, flags)) { + tprint_struct_next(); + PRINT_FIELD_FLAGS(attr, flags, bpf_test_run_flags, "BPF_F_???"); + tprint_struct_next(); + PRINT_FIELD_U(attr, cpu); + } + /* + * The batch_size field was introduced in Linux commit + * v5.18-rc1~136^2~11^2~58^2~4. + */ + if (len > offsetof(struct BPF_PROG_TEST_RUN_struct, batch_size)) { + tprint_struct_next(); + PRINT_FIELD_U(attr, batch_size); + } tprint_struct_end(); } END_BPF_CMD_DECODER(RVAL_DECODED) BEGIN_BPF_CMD_DECODER(BPF_PROG_GET_NEXT_ID) { - tprint_struct_begin(); - PRINT_FIELD_U(attr, start_id); - tprint_struct_next(); - PRINT_FIELD_U(attr, next_id); + if (entering(tcp)) { + set_tcb_priv_ulong(tcp, attr.next_id); + + tprint_struct_begin(); + PRINT_FIELD_U(attr, start_id); + tprint_struct_next(); + PRINT_FIELD_U(attr, next_id); + + return 0; + } + + uint32_t saved_next_id = get_tcb_priv_ulong(tcp); + + if (saved_next_id != attr.next_id) { + tprint_value_changed(); + PRINT_VAL_U(attr.next_id); + } /* open_flags field has been added in Linux v4.15-rc1~84^2~384^2~4 */ if (len <= offsetof(struct BPF_PROG_GET_NEXT_ID_struct, open_flags)) @@ -518,6 +566,7 @@ #define decode_BPF_MAP_GET_NEXT_ID decode_BPF_PROG_GET_NEXT_ID #define decode_BPF_BTF_GET_NEXT_ID decode_BPF_PROG_GET_NEXT_ID +#define decode_BPF_LINK_GET_NEXT_ID decode_BPF_PROG_GET_NEXT_ID BEGIN_BPF_CMD_DECODER(BPF_PROG_GET_FD_BY_ID) { @@ -652,6 +701,39 @@ tprint_struct_end(); } +/* Prints approximation of local time for a boot time */ +static void +print_boottime(uint64_t boottime_ns) +{ + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW) + return; + + static struct timespec ts_rtc; + struct timespec ts_boottime; + + /* + * There is no good way to obtain RTC-boot time offset directly, + * it seems; there is some information present in /proc/stat, + * in "btime" field, but it has only second precision. + */ + if (!ts_rtc.tv_sec) { + if (clock_gettime(CLOCK_BOOTTIME, &ts_boottime) || + clock_gettime(CLOCK_REALTIME, &ts_rtc)) + return; + + /* Calculating offset */ + ts_sub(&ts_rtc, &ts_rtc, &ts_boottime); + } + + /* Converting boottime */ + ts_boottime.tv_sec = boottime_ns / 1000000000; + ts_boottime.tv_nsec = boottime_ns % 1000000000; + ts_add(&ts_boottime, &ts_boottime, &ts_rtc); + + /* Print only seconds, as the offset calculation is approximate */ + tprints_comment(sprinttime(ts_boottime.tv_sec)); +} + static void print_bpf_prog_info(struct tcb * const tcp, uint32_t bpf_fd, const char *info_buf, uint32_t size, @@ -659,7 +741,7 @@ { struct bpf_prog_info_struct info = { 0 }; const unsigned int len = MIN(size, bpf_prog_info_struct_size); - uint64_t map_id_buf; + uint32_t map_id_buf; memcpy(&info, info_buf, len); @@ -726,6 +808,7 @@ goto print_bpf_prog_info_end; tprint_struct_next(); PRINT_FIELD_U(info, load_time); + print_boottime(info.load_time); tprint_struct_next(); PRINT_FIELD_ID(info, created_by_uid); @@ -742,7 +825,7 @@ print_big_u64_addr(info.map_ids); print_array(tcp, info.map_ids, MIN(saved->nr_map_ids, info.nr_map_ids), &map_id_buf, sizeof(map_id_buf), - tfetch_mem, print_uint32_array_member, 0); + tfetch_mem, print_uint_array_member, 0); tprint_struct_next(); PRINT_FIELD_CSTRING(info, name); @@ -901,6 +984,26 @@ tprint_struct_next(); PRINT_FIELD_U(info, run_cnt); + /* + * The following field was introduced by Linux commit + * v5.12-rc1~200^2~28^2~28. + */ + if (len <= offsetof(struct bpf_prog_info_struct, recursion_misses)) + goto print_bpf_prog_info_end; + + tprint_struct_next(); + PRINT_FIELD_U64(info, recursion_misses); + + /* + * The following field was introduced by Linux commit + * v5.16-rc1~159^2~2^2~43^2~1. + */ + if (len <= offsetof(struct bpf_prog_info_struct, verified_insns)) + goto print_bpf_prog_info_end; + + tprint_struct_next(); + PRINT_FIELD_U(info, verified_insns); + decode_attr_extra_data(tcp, info_buf, size, bpf_prog_info_struct_size); print_bpf_prog_info_end: @@ -1041,7 +1144,7 @@ print_big_u64_addr(attr.prog_ids); print_array(tcp, attr.prog_ids, attr.prog_cnt, &prog_id_buf, sizeof(prog_id_buf), tfetch_mem, - print_uint32_array_member, 0); + print_uint_array_member, 0); tprint_struct_next(); tprints_field_name("prog_cnt"); @@ -1265,6 +1368,41 @@ } END_BPF_CMD_DECODER(0) +union strace_bpf_iter_link_info { + struct { + uint32_t map_fd; + } map; +}; + +static bool +print_iter_info_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + union strace_bpf_iter_link_info *bili = + (union strace_bpf_iter_link_info *) elem_buf; + + tprint_struct_begin(); + tprints_field_name("map"); + tprint_struct_begin(); + PRINT_FIELD_FD(bili->map, map_fd, tcp); + tprint_struct_end(); + tprint_struct_end(); + + return true; +} + +static bool +print_str_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + kernel_ulong_t ptr = opt_wordsize(*(uint64_t *) elem_buf, + *(uint32_t *) elem_buf); + + printstr(tcp, ptr); + + return true; +} + BEGIN_BPF_CMD_DECODER(BPF_LINK_CREATE) { tprint_struct_begin(); @@ -1277,6 +1415,105 @@ PRINT_FIELD_XVAL(attr, attach_type, bpf_attach_type, "BPF_???"); tprint_struct_next(); PRINT_FIELD_X(attr, flags); + + if (len <= offsetof(struct BPF_LINK_CREATE_struct, target_btf_id)) + goto print_bpf_link_create_end; + + /* Trying to guess the union decoding based on the attach type */ + switch (attr.attach_type) { + /* TODO: check that prog type == BPF_PROG_TYPE_EXT */ + /* + * Yes, it is BPF_CGROUP_INET_INGRESS, see the inconceivable genius + * of the expected_attach_type check in v5.6-rc1~151^2~46^2~1^2~2. + */ + case 0: + /* Introduced in Linux commit v5.10-rc1~107^2~96^2~12^2~5 */ + if (attr.target_btf_id) { + tprint_struct_next(); + PRINT_FIELD_U(attr, target_btf_id); + } + attr_size = offsetofend(typeof(attr), target_btf_id); + break; + + /* TODO: prog type == BPF_PROG_TYPE_TRACING */ + case BPF_TRACE_ITER: { + /* Introduced in Linux commit v5.9-rc1~36^2~30^2~8^2~1 */ + union strace_bpf_iter_link_info buf; + + tprint_struct_next(); + tprints_field_name("iter_info"); + print_big_u64_addr(attr.iter_info); + print_array(tcp, attr.iter_info, attr.iter_info_len, + &buf, sizeof(buf), tfetch_mem, + print_iter_info_array_member, 0); + tprint_struct_next(); + PRINT_FIELD_U(attr, iter_info_len); + attr_size = offsetofend(typeof(attr), iter_info_len); + break; + } + + /* TODO: prog type == BPF_PROG_TYPE_{KPROBE,PERF_EVENT,TRACEPOINT} */ + case BPF_PERF_EVENT: + /* Introduced in Linux commit v5.15-rc1~157^2~22^2~33^2~11 */ + tprint_struct_next(); + tprints_field_name("perf_event"); + tprint_struct_begin(); + PRINT_FIELD_X(attr.perf_event, bpf_cookie); + tprint_struct_end(); + attr_size = offsetofend(typeof(attr), perf_event.bpf_cookie); + break; + + /* TODO: prog type == BPF_PROG_TYPE_KPROBE */ + case BPF_TRACE_KPROBE_MULTI: { + /* Introduced in Linux commit v5.18-rc1~136^2~11^2~28^2~10 */ + union { + kernel_ulong_t ptr; + uint64_t addr; + uint64_t cookie; + } buf; + + tprint_struct_next(); + tprints_field_name("kprobe_multi"); + tprint_struct_begin(); + PRINT_FIELD_FLAGS(attr.kprobe_multi, flags, + bpf_link_create_kprobe_multi_flags, + "BPF_F_???"); + tprint_struct_next(); + PRINT_FIELD_U(attr.kprobe_multi, cnt); + tprint_struct_next(); + tprints_field_name("syms"); + print_big_u64_addr(attr.kprobe_multi.syms); + print_array(tcp, attr.kprobe_multi.syms, attr.kprobe_multi.cnt, + &buf.ptr, current_wordsize, + tfetch_mem, print_str_array_member, 0); + tprint_struct_next(); + tprints_field_name("addrs"); + print_big_u64_addr(attr.kprobe_multi.addrs); + print_array(tcp, attr.kprobe_multi.addrs, attr.kprobe_multi.cnt, + &buf.ptr, sizeof(buf.addr), + tfetch_mem, print_xint_array_member, 0); + tprint_struct_next(); + tprints_field_name("cookies"); + print_big_u64_addr(attr.kprobe_multi.cookies); + print_array(tcp, attr.kprobe_multi.cookies, + attr.kprobe_multi.cnt, + &buf.cookie, sizeof(buf.cookie), + tfetch_mem, print_xint_array_member, 0); + tprint_struct_end(); + attr_size = offsetofend(typeof(attr), kprobe_multi.cookies); + break; + } + + default: + /* + * NB: resetting attr_size, so decode_attr_extra_data + * can pick up non-zero values in the union at the end + * of the link_create struct. + */ + attr_size = offsetofend(typeof(attr), flags); + } + +print_bpf_link_create_end: tprint_struct_end(); } END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD) @@ -1299,6 +1536,13 @@ } END_BPF_CMD_DECODER(RVAL_DECODED) +BEGIN_BPF_CMD_DECODER(BPF_LINK_GET_FD_BY_ID) +{ + tprint_struct_begin(); + PRINT_FIELD_U(attr, link_id); +} +END_BPF_CMD_DECODER(RVAL_DECODED | RVAL_FD) + SYS_FUNC(bpf) { static const bpf_cmd_decoder_t bpf_cmd_decoders = { @@ -1332,6 +1576,8 @@ BPF_CMD_ENTRY(BPF_MAP_DELETE_BATCH), BPF_CMD_ENTRY(BPF_LINK_CREATE), BPF_CMD_ENTRY(BPF_LINK_UPDATE), + BPF_CMD_ENTRY(BPF_LINK_GET_NEXT_ID), + BPF_CMD_ENTRY(BPF_LINK_GET_FD_BY_ID), }; const unsigned int cmd = tcp->u_arg0;
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf_attr.h -> _service:tar_scm:strace-6.1.tar.xz/src/bpf_attr.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -50,11 +50,12 @@ uint32_t btf_key_type_id; uint32_t btf_value_type_id; uint32_t btf_vmlinux_value_type_id; + uint64_t ATTRIBUTE_ALIGNED(8) map_extra; }; # define BPF_MAP_CREATE_struct_size \ sizeof(struct BPF_MAP_CREATE_struct) -# define expected_BPF_MAP_CREATE_struct_size 64 +# define expected_BPF_MAP_CREATE_struct_size 72 struct BPF_MAP_LOOKUP_ELEM_struct { uint32_t map_fd; @@ -127,11 +128,13 @@ uint32_t line_info_cnt; uint32_t attach_btf_id; uint32_t attach_prog_fd; + uint32_t pad; + uint64_t ATTRIBUTE_ALIGNED(8) fd_array; }; # define BPF_PROG_LOAD_struct_size \ - offsetofend(struct BPF_PROG_LOAD_struct, attach_prog_fd) -# define expected_BPF_PROG_LOAD_struct_size 116 + sizeof(struct BPF_PROG_LOAD_struct) +# define expected_BPF_PROG_LOAD_struct_size 128 struct BPF_OBJ_PIN_struct { uint64_t ATTRIBUTE_ALIGNED(8) pathname; @@ -181,11 +184,15 @@ uint32_t ctx_size_out; uint64_t ATTRIBUTE_ALIGNED(8) ctx_in; uint64_t ATTRIBUTE_ALIGNED(8) ctx_out; + uint32_t flags; + uint32_t cpu; + uint32_t batch_size; }; # define BPF_PROG_TEST_RUN_struct_size \ - sizeof(struct BPF_PROG_TEST_RUN_struct) -# define expected_BPF_PROG_TEST_RUN_struct_size 64 + offsetofend(struct BPF_PROG_TEST_RUN_struct, batch_size) + /* sizeof(struct BPF_PROG_TEST_RUN_struct) */ +# define expected_BPF_PROG_TEST_RUN_struct_size 76 struct BPF_PROG_GET_NEXT_ID_struct { uint32_t start_id; @@ -310,11 +317,13 @@ uint32_t btf_id; uint32_t btf_key_type_id; uint32_t btf_value_type_id; + uint32_t pad; + uint64_t ATTRIBUTE_ALIGNED(8) map_extra; }; # define bpf_map_info_struct_size \ - offsetofend(struct bpf_map_info_struct, btf_value_type_id) -# define expected_bpf_map_info_struct_size 76 + sizeof(struct bpf_map_info_struct) +# define expected_bpf_map_info_struct_size 88 struct bpf_prog_info_struct { uint32_t type; @@ -355,11 +364,13 @@ uint64_t ATTRIBUTE_ALIGNED(8) prog_tags; uint64_t ATTRIBUTE_ALIGNED(8) run_time_ns; uint64_t ATTRIBUTE_ALIGNED(8) run_cnt; + uint64_t ATTRIBUTE_ALIGNED(8) recursion_misses; + uint32_t verified_insns; }; # define bpf_prog_info_struct_size \ - sizeof(struct bpf_prog_info_struct) -# define expected_bpf_prog_info_struct_size 208 + offsetofend(struct bpf_prog_info_struct, verified_insns) +# define expected_bpf_prog_info_struct_size 220 struct BPF_MAP_LOOKUP_BATCH_struct /* batch */ { uint64_t ATTRIBUTE_ALIGNED(8) in_batch; @@ -390,11 +401,31 @@ uint32_t target_fd; uint32_t attach_type; uint32_t flags; + union { + uint32_t target_btf_id; + + struct { + uint64_t ATTRIBUTE_ALIGNED(8) iter_info; + uint32_t iter_info_len; + }; + + struct { + uint64_t ATTRIBUTE_ALIGNED(8) bpf_cookie; + } perf_event; + + struct { + uint32_t flags; + uint32_t cnt; + uint64_t ATTRIBUTE_ALIGNED(8) syms; + uint64_t ATTRIBUTE_ALIGNED(8) addrs; + uint64_t ATTRIBUTE_ALIGNED(8) cookies; + } kprobe_multi; + }; }; # define BPF_LINK_CREATE_struct_size \ sizeof(struct BPF_LINK_CREATE_struct) -# define expected_BPF_LINK_CREATE_struct_size 16 +# define expected_BPF_LINK_CREATE_struct_size 48 struct BPF_LINK_UPDATE_struct /* link_update */ { uint32_t link_fd; @@ -407,4 +438,12 @@ sizeof(struct BPF_LINK_UPDATE_struct) # define expected_BPF_LINK_UPDATE_struct_size 16 +struct BPF_LINK_GET_FD_BY_ID_struct { + uint32_t link_id; +}; + +# define BPF_LINK_GET_FD_BY_ID_struct_size \ + sizeof(struct BPF_LINK_GET_FD_BY_ID_struct) +# define expected_BPF_LINK_GET_FD_BY_ID_struct_size 4 + #endif /* !STRACE_BPF_ATTR_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf_attr_check.c -> _service:tar_scm:strace-6.1.tar.xz/src/bpf_attr_check.c
Changed
@@ -97,6 +97,13 @@ "BPF_MAP_CREATE_struct.btf_vmlinux_value_type_id offset mismatch"); # endif /* HAVE_UNION_BPF_ATTR_BTF_VMLINUX_VALUE_TYPE_ID */ +# ifdef HAVE_UNION_BPF_ATTR_MAP_EXTRA + static_assert(sizeof_field(struct BPF_MAP_CREATE_struct, map_extra) == sizeof_field(union bpf_attr, map_extra), + "BPF_MAP_CREATE_struct.map_extra size mismatch"); + static_assert(offsetof(struct BPF_MAP_CREATE_struct, map_extra) == offsetof(union bpf_attr, map_extra), + "BPF_MAP_CREATE_struct.map_extra offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_MAP_EXTRA */ + static_assert(BPF_MAP_CREATE_struct_size == expected_BPF_MAP_CREATE_struct_size, "BPF_MAP_CREATE_struct_size mismatch"); @@ -360,6 +367,20 @@ "BPF_PROG_LOAD_struct.attach_prog_fd offset mismatch"); # endif /* HAVE_UNION_BPF_ATTR_ATTACH_PROG_FD */ +# ifdef HAVE_UNION_BPF_ATTR_PAD + static_assert(sizeof_field(struct BPF_PROG_LOAD_struct, pad) == sizeof_field(union bpf_attr, pad), + "BPF_PROG_LOAD_struct.pad size mismatch"); + static_assert(offsetof(struct BPF_PROG_LOAD_struct, pad) == offsetof(union bpf_attr, pad), + "BPF_PROG_LOAD_struct.pad offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_PAD */ + +# ifdef HAVE_UNION_BPF_ATTR_FD_ARRAY + static_assert(sizeof_field(struct BPF_PROG_LOAD_struct, fd_array) == sizeof_field(union bpf_attr, fd_array), + "BPF_PROG_LOAD_struct.fd_array size mismatch"); + static_assert(offsetof(struct BPF_PROG_LOAD_struct, fd_array) == offsetof(union bpf_attr, fd_array), + "BPF_PROG_LOAD_struct.fd_array offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_FD_ARRAY */ + static_assert(BPF_PROG_LOAD_struct_size == expected_BPF_PROG_LOAD_struct_size, "BPF_PROG_LOAD_struct_size mismatch"); @@ -533,6 +554,27 @@ "BPF_PROG_TEST_RUN_struct.ctx_out offset mismatch"); # endif /* HAVE_UNION_BPF_ATTR_TEST_CTX_OUT */ +# ifdef HAVE_UNION_BPF_ATTR_TEST_FLAGS + static_assert(sizeof_field(struct BPF_PROG_TEST_RUN_struct, flags) == sizeof_field(union bpf_attr, test.flags), + "BPF_PROG_TEST_RUN_struct.flags size mismatch"); + static_assert(offsetof(struct BPF_PROG_TEST_RUN_struct, flags) == offsetof(union bpf_attr, test.flags), + "BPF_PROG_TEST_RUN_struct.flags offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_TEST_FLAGS */ + +# ifdef HAVE_UNION_BPF_ATTR_TEST_CPU + static_assert(sizeof_field(struct BPF_PROG_TEST_RUN_struct, cpu) == sizeof_field(union bpf_attr, test.cpu), + "BPF_PROG_TEST_RUN_struct.cpu size mismatch"); + static_assert(offsetof(struct BPF_PROG_TEST_RUN_struct, cpu) == offsetof(union bpf_attr, test.cpu), + "BPF_PROG_TEST_RUN_struct.cpu offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_TEST_CPU */ + +# ifdef HAVE_UNION_BPF_ATTR_TEST_BATCH_SIZE + static_assert(sizeof_field(struct BPF_PROG_TEST_RUN_struct, batch_size) == sizeof_field(union bpf_attr, test.batch_size), + "BPF_PROG_TEST_RUN_struct.batch_size size mismatch"); + static_assert(offsetof(struct BPF_PROG_TEST_RUN_struct, batch_size) == offsetof(union bpf_attr, test.batch_size), + "BPF_PROG_TEST_RUN_struct.batch_size offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_TEST_BATCH_SIZE */ + static_assert(BPF_PROG_TEST_RUN_struct_size == expected_BPF_PROG_TEST_RUN_struct_size, "BPF_PROG_TEST_RUN_struct_size mismatch"); @@ -892,6 +934,20 @@ "bpf_map_info_struct.btf_value_type_id offset mismatch"); # endif /* HAVE_STRUCT_BPF_MAP_INFO_BTF_VALUE_TYPE_ID */ +# ifdef HAVE_STRUCT_BPF_MAP_INFO_PAD + static_assert(sizeof_field(struct bpf_map_info_struct, pad) == sizeof_field(struct bpf_map_info, pad), + "bpf_map_info_struct.pad size mismatch"); + static_assert(offsetof(struct bpf_map_info_struct, pad) == offsetof(struct bpf_map_info, pad), + "bpf_map_info_struct.pad offset mismatch"); +# endif /* HAVE_STRUCT_BPF_MAP_INFO_PAD */ + +# ifdef HAVE_STRUCT_BPF_MAP_INFO_MAP_EXTRA + static_assert(sizeof_field(struct bpf_map_info_struct, map_extra) == sizeof_field(struct bpf_map_info, map_extra), + "bpf_map_info_struct.map_extra size mismatch"); + static_assert(offsetof(struct bpf_map_info_struct, map_extra) == offsetof(struct bpf_map_info, map_extra), + "bpf_map_info_struct.map_extra offset mismatch"); +# endif /* HAVE_STRUCT_BPF_MAP_INFO_MAP_EXTRA */ + static_assert(bpf_map_info_struct_size == expected_bpf_map_info_struct_size, "bpf_map_info_struct_size mismatch"); @@ -1112,6 +1168,20 @@ "bpf_prog_info_struct.run_cnt offset mismatch"); # endif /* HAVE_STRUCT_BPF_PROG_INFO_RUN_CNT */ +# ifdef HAVE_STRUCT_BPF_PROG_INFO_RECURSION_MISSES + static_assert(sizeof_field(struct bpf_prog_info_struct, recursion_misses) == sizeof_field(struct bpf_prog_info, recursion_misses), + "bpf_prog_info_struct.recursion_misses size mismatch"); + static_assert(offsetof(struct bpf_prog_info_struct, recursion_misses) == offsetof(struct bpf_prog_info, recursion_misses), + "bpf_prog_info_struct.recursion_misses offset mismatch"); +# endif /* HAVE_STRUCT_BPF_PROG_INFO_RECURSION_MISSES */ + +# ifdef HAVE_STRUCT_BPF_PROG_INFO_VERIFIED_INSNS + static_assert(sizeof_field(struct bpf_prog_info_struct, verified_insns) == sizeof_field(struct bpf_prog_info, verified_insns), + "bpf_prog_info_struct.verified_insns size mismatch"); + static_assert(offsetof(struct bpf_prog_info_struct, verified_insns) == offsetof(struct bpf_prog_info, verified_insns), + "bpf_prog_info_struct.verified_insns offset mismatch"); +# endif /* HAVE_STRUCT_BPF_PROG_INFO_VERIFIED_INSNS */ + static_assert(bpf_prog_info_struct_size == expected_bpf_prog_info_struct_size, "bpf_prog_info_struct_size mismatch"); @@ -1202,6 +1272,83 @@ "BPF_LINK_CREATE_struct.flags offset mismatch"); # endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS */ +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_BTF_ID + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, target_btf_id) == sizeof_field(union bpf_attr, link_create.target_btf_id), + "BPF_LINK_CREATE_struct.target_btf_id size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, target_btf_id) == offsetof(union bpf_attr, link_create.target_btf_id), + "BPF_LINK_CREATE_struct.target_btf_id offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_BTF_ID */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, iter_info) == sizeof_field(union bpf_attr, link_create.iter_info), + "BPF_LINK_CREATE_struct.iter_info size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, iter_info) == offsetof(union bpf_attr, link_create.iter_info), + "BPF_LINK_CREATE_struct.iter_info offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO_LEN + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, iter_info_len) == sizeof_field(union bpf_attr, link_create.iter_info_len), + "BPF_LINK_CREATE_struct.iter_info_len size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, iter_info_len) == offsetof(union bpf_attr, link_create.iter_info_len), + "BPF_LINK_CREATE_struct.iter_info_len offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO_LEN */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_BPF_COOKIE + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, bpf_cookie) == sizeof_field(union bpf_attr, link_create.bpf_cookie), + "BPF_LINK_CREATE_struct.bpf_cookie size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, bpf_cookie) == offsetof(union bpf_attr, link_create.bpf_cookie), + "BPF_LINK_CREATE_struct.bpf_cookie offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_BPF_COOKIE */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_PERF_EVENT + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, perf_event) == sizeof_field(union bpf_attr, link_create.perf_event), + "BPF_LINK_CREATE_struct.perf_event size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, perf_event) == offsetof(union bpf_attr, link_create.perf_event), + "BPF_LINK_CREATE_struct.perf_event offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_PERF_EVENT */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, flags) == sizeof_field(union bpf_attr, link_create.flags), + "BPF_LINK_CREATE_struct.flags size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, flags) == offsetof(union bpf_attr, link_create.flags), + "BPF_LINK_CREATE_struct.flags offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_CNT + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, cnt) == sizeof_field(union bpf_attr, link_create.cnt), + "BPF_LINK_CREATE_struct.cnt size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, cnt) == offsetof(union bpf_attr, link_create.cnt), + "BPF_LINK_CREATE_struct.cnt offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_CNT */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_SYMS + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, syms) == sizeof_field(union bpf_attr, link_create.syms), + "BPF_LINK_CREATE_struct.syms size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, syms) == offsetof(union bpf_attr, link_create.syms), + "BPF_LINK_CREATE_struct.syms offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_SYMS */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_ADDRS + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, addrs) == sizeof_field(union bpf_attr, link_create.addrs), + "BPF_LINK_CREATE_struct.addrs size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, addrs) == offsetof(union bpf_attr, link_create.addrs), + "BPF_LINK_CREATE_struct.addrs offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_ADDRS */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_COOKIES + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, cookies) == sizeof_field(union bpf_attr, link_create.cookies), + "BPF_LINK_CREATE_struct.cookies size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, cookies) == offsetof(union bpf_attr, link_create.cookies), + "BPF_LINK_CREATE_struct.cookies offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_COOKIES */ + +# ifdef HAVE_UNION_BPF_ATTR_LINK_CREATE_KPROBE_MULTI + static_assert(sizeof_field(struct BPF_LINK_CREATE_struct, kprobe_multi) == sizeof_field(union bpf_attr, link_create.kprobe_multi), + "BPF_LINK_CREATE_struct.kprobe_multi size mismatch"); + static_assert(offsetof(struct BPF_LINK_CREATE_struct, kprobe_multi) == offsetof(union bpf_attr, link_create.kprobe_multi), + "BPF_LINK_CREATE_struct.kprobe_multi offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_CREATE_KPROBE_MULTI */ + static_assert(BPF_LINK_CREATE_struct_size == expected_BPF_LINK_CREATE_struct_size, "BPF_LINK_CREATE_struct_size mismatch"); @@ -1236,4 +1383,14 @@ static_assert(BPF_LINK_UPDATE_struct_size == expected_BPF_LINK_UPDATE_struct_size, "BPF_LINK_UPDATE_struct_size mismatch"); +# ifdef HAVE_UNION_BPF_ATTR_LINK_ID + static_assert(sizeof_field(struct BPF_LINK_GET_FD_BY_ID_struct, link_id) == sizeof_field(union bpf_attr, link_id), + "BPF_LINK_GET_FD_BY_ID_struct.link_id size mismatch"); + static_assert(offsetof(struct BPF_LINK_GET_FD_BY_ID_struct, link_id) == offsetof(union bpf_attr, link_id), + "BPF_LINK_GET_FD_BY_ID_struct.link_id offset mismatch"); +# endif /* HAVE_UNION_BPF_ATTR_LINK_ID */ + +static_assert(BPF_LINK_GET_FD_BY_ID_struct_size == expected_BPF_LINK_GET_FD_BY_ID_struct_size, + "BPF_LINK_GET_FD_BY_ID_struct_size mismatch"); + #endif /* HAVE_LINUX_BPF_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf_filter.c -> _service:tar_scm:strace-6.1.tar.xz/src/bpf_filter.c
Changed
@@ -2,7 +2,7 @@ * Decoder of classic BPF programs. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -43,7 +43,7 @@ case BPF_STX: if (!extended) { if (i) { - tprints("|"); + tprint_or(); PRINT_VAL_X(i); tprints_comment("BPF_???"); } @@ -53,20 +53,20 @@ case BPF_LD: case BPF_LDX: - tprints("|"); + tprint_or(); printxvals(BPF_SIZE(code), "BPF_???", bpf_size, extended ? ebpf_size : NULL, NULL); - tprints("|"); + tprint_or(); printxval(mode, BPF_MODE(code), "BPF_???"); break; case BPF_MISC: /* BPF_ALU64 in eBPF */ if (!extended) { - tprints("|"); + tprint_or(); printxval(bpf_miscop, BPF_MISCOP(code), "BPF_???"); i &= ~BPF_MISCOP(code); if (i) { - tprints("|"); + tprint_or(); PRINT_VAL_X(i); tprints_comment("BPF_???"); } @@ -75,31 +75,31 @@ ATTRIBUTE_FALLTHROUGH; /* extended == true */ case BPF_ALU: - tprints("|"); + tprint_or(); printxval(bpf_src, BPF_SRC(code), "BPF_???"); - tprints("|"); + tprint_or(); printxvals(BPF_OP(code), "BPF_???", bpf_op_alu, extended ? ebpf_op_alu : NULL, NULL); break; case BPF_JMP: - tprints("|"); + tprint_or(); printxval(bpf_src, BPF_SRC(code), "BPF_???"); - tprints("|"); + tprint_or(); printxvals(BPF_OP(code), "BPF_???", bpf_op_jmp, extended ? ebpf_op_jmp : NULL, NULL); break; case BPF_RET: /* Reserved in eBPF */ if (!extended) { - tprints("|"); + tprint_or(); printxval(bpf_rval, BPF_RVAL(code), "BPF_???"); i &= ~BPF_RVAL(code); } if (i) { - tprints("|"); + tprint_or(); PRINT_VAL_X(i); tprints_comment("BPF_???"); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf_seccomp_filter.c -> _service:tar_scm:strace-6.1.tar.xz/src/bpf_seccomp_filter.c
Changed
@@ -1,7 +1,7 @@ /* * Decoder of seccomp filter programs. * - * Copyright (c) 2015-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2015-2022 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -24,7 +24,7 @@ printxval(seccomp_ret_action, action, "SECCOMP_RET_???"); if (data) { - tprints("|"); + tprint_or(); PRINT_VAL_X(data); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/bpf_sock_filter.c -> _service:tar_scm:strace-6.1.tar.xz/src/bpf_sock_filter.c
Changed
@@ -2,7 +2,7 @@ * Decoder of socket filter programs. * * Copyright (c) 2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -24,18 +24,18 @@ if (BPF_CLASS(fp->code) == BPF_LD && BPF_MODE(fp->code) == BPF_ABS) { if (fp->k >= (unsigned int) SKF_AD_OFF) { print_xlat32(SKF_AD_OFF); - tprints("+"); + tprint_plus(); printxval(skf_ad, fp->k - (unsigned int) SKF_AD_OFF, "SKF_AD_???"); return true; } else if (fp->k >= (unsigned int) SKF_NET_OFF) { print_xlat32(SKF_NET_OFF); - tprints("+"); + tprint_plus(); PRINT_VAL_U(fp->k - (unsigned int) SKF_NET_OFF); return true; } else if (fp->k >= (unsigned int) SKF_LL_OFF) { print_xlat32(SKF_LL_OFF); - tprints("+"); + tprint_plus(); PRINT_VAL_U(fp->k - (unsigned int) SKF_LL_OFF); return true; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/btrfs.c -> _service:tar_scm:strace-6.1.tar.xz/src/btrfs.c
Changed
@@ -37,6 +37,7 @@ #include "xlat/btrfs_balance_state.h" #include "xlat/btrfs_compress_types.h" #include "xlat/btrfs_cont_reading_from_srcdev_mode.h" +#include "xlat/btrfs_csum_types.h" #include "xlat/btrfs_defrag_flags.h" #include "xlat/btrfs_dev_replace_cmds.h" #include "xlat/btrfs_dev_replace_results.h" @@ -46,6 +47,7 @@ #include "xlat/btrfs_features_compat.h" #include "xlat/btrfs_features_compat_ro.h" #include "xlat/btrfs_features_incompat.h" +#include "xlat/btrfs_fs_info_flags.h" #include "xlat/btrfs_key_types.h" #include "xlat/btrfs_logical_ino_args_flags.h" #include "xlat/btrfs_qgroup_ctl_cmds.h" @@ -298,7 +300,7 @@ tprints_field_name("qgroups"); print_array(tcp, qgi_addr + offsetof(typeof(inherit), qgroups), inherit.num_qgroups, &record, sizeof(record), - tfetch_mem, print_uint64_array_member, 0); + tfetch_mem, print_uint_array_member, 0); } tprint_struct_end(); } @@ -790,6 +792,24 @@ PRINT_FIELD_U(args, sectorsize); tprint_struct_next(); PRINT_FIELD_U(args, clone_alignment); + if (args.flags & BTRFS_FS_INFO_FLAG_CSUM_INFO) { + tprint_struct_next(); + PRINT_FIELD_XVAL(args, csum_type, btrfs_csum_types, + "BTRFS_CSUM_TYPE_???"); + tprint_struct_next(); + PRINT_FIELD_U(args, csum_size); + } + tprint_struct_next(); + PRINT_FIELD_FLAGS(args, flags, btrfs_fs_info_flags, + "BTRFS_FS_INFO_FLAG_???"); + if (args.flags & BTRFS_FS_INFO_FLAG_GENERATION) { + tprint_struct_next(); + PRINT_FIELD_U(args, generation); + } + if (args.flags & BTRFS_FS_INFO_FLAG_METADATA_UUID) { + tprint_struct_next(); + PRINT_FIELD_UUID(args, metadata_uuid); + } tprint_struct_end(); break; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/capability.c -> _service:tar_scm:strace-6.1.tar.xz/src/capability.c
Changed
@@ -2,7 +2,7 @@ * Copyright (c) 2000 Wichert Akkerman <wakkerma@debian.org> * Copyright (c) 2011 Denys Vlasenko <dvlasenk@redhat.com> * Copyright (c) 2005-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -83,7 +83,7 @@ if (hi) { if (lo) - tprints("|"); + tprint_or(); printflags(cap_mask1, hi, "CAP_???"); } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/clone.c -> _service:tar_scm:strace-6.1.tar.xz/src/clone.c
Changed
@@ -4,7 +4,7 @@ * Copyright (c) 2008 Jan Kratochvil <jan.kratochvil@redhat.com> * Copyright (c) 2009-2013 Denys Vlasenko <dvlasenk@redhat.com> * Copyright (c) 2006-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -89,7 +89,7 @@ if (flags) { printflags64(clone_flags, flags, "CLONE_???"); if (sig) { - tprints("|"); + tprint_or(); printsignal(sig); } } else { @@ -216,7 +216,7 @@ PRINT_FIELD_OBJ_TCB_VAL(arg, set_tid, tcp, print_array, arg.set_tid_size, &buf, sizeof(buf), tfetch_mem, - print_int32_array_member, 0); + print_int_array_member, 0); } tprint_struct_next(); PRINT_FIELD_U(arg, set_tid_size); @@ -299,7 +299,7 @@ { printfd(tcp, tcp->u_arg0); tprint_arg_next(); - printxval(setns_types, tcp->u_arg1, "CLONE_NEW???"); + printflags(setns_types, tcp->u_arg1, "CLONE_NEW???"); return RVAL_DECODED; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/config.h.in -> _service:tar_scm:strace-6.1.tar.xz/src/config.h.in
Changed
@@ -63,1144 +63,65 @@ /* Define to 1 if you have the <bluetooth/bluetooth.h> header file. */ #undef HAVE_BLUETOOTH_BLUETOOTH_H -/* Define to 1 if the C compiler is broken */ -#undef HAVE_BROKEN_CC - -/* Define to 1 if you have the declaration of `CTL_ABI', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_ABI - -/* Define to 1 if you have the declaration of `CTL_ARLAN', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_ARLAN - -/* Define to 1 if you have the declaration of `CTL_BUS', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_BUS - -/* Define to 1 if you have the declaration of `CTL_CPU', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_CPU - -/* Define to 1 if you have the declaration of `CTL_DEBUG', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_DEBUG - -/* Define to 1 if you have the declaration of `CTL_DEV', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_DEV - -/* Define to 1 if you have the declaration of `CTL_FRV', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_FRV - -/* Define to 1 if you have the declaration of `CTL_FS', and to 0 if you don't. - */ -#undef HAVE_DECL_CTL_FS - -/* Define to 1 if you have the declaration of `CTL_KERN', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_KERN - -/* Define to 1 if you have the declaration of `CTL_NET', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_NET - -/* Define to 1 if you have the declaration of `CTL_PM', and to 0 if you don't. - */ -#undef HAVE_DECL_CTL_PM - -/* Define to 1 if you have the declaration of `CTL_PROC', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_PROC - -/* Define to 1 if you have the declaration of `CTL_S390DBF', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_S390DBF - -/* Define to 1 if you have the declaration of `CTL_SUNRPC', and to 0 if you - don't. */ -#undef HAVE_DECL_CTL_SUNRPC - -/* Define to 1 if you have the declaration of `CTL_VM', and to 0 if you don't. - */ -#undef HAVE_DECL_CTL_VM - -/* Define to 1 if you have the declaration of `KERN_ACCT', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_ACCT - -/* Define to 1 if you have the declaration of `KERN_ACPI_VIDEO_FLAGS', and to - 0 if you don't. */ -#undef HAVE_DECL_KERN_ACPI_VIDEO_FLAGS - -/* Define to 1 if you have the declaration of `KERN_BOOTLOADER_TYPE', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_BOOTLOADER_TYPE - -/* Define to 1 if you have the declaration of `KERN_CADPID', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_CADPID - -/* Define to 1 if you have the declaration of `KERN_COMPAT_LOG', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_COMPAT_LOG - -/* Define to 1 if you have the declaration of `KERN_CORE_PATTERN', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_CORE_PATTERN - -/* Define to 1 if you have the declaration of `KERN_CORE_USES_PID', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_CORE_USES_PID - -/* Define to 1 if you have the declaration of `KERN_CTLALTDEL', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_CTLALTDEL - -/* Define to 1 if you have the declaration of `KERN_DOMAINNAME', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_DOMAINNAME - -/* Define to 1 if you have the declaration of `KERN_HOTPLUG', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_HOTPLUG - -/* Define to 1 if you have the declaration of `KERN_HPPA_PWRSW', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_HPPA_PWRSW - -/* Define to 1 if you have the declaration of `KERN_HPPA_UNALIGNED', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_HPPA_UNALIGNED - -/* Define to 1 if you have the declaration of `KERN_HZ_TIMER', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_HZ_TIMER - -/* Define to 1 if you have the declaration of `KERN_IA64_UNALIGNED', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_IA64_UNALIGNED - -/* Define to 1 if you have the declaration of `KERN_IEEE_EMULATION_WARNINGS', - and to 0 if you don't. */ -#undef HAVE_DECL_KERN_IEEE_EMULATION_WARNINGS - -/* Define to 1 if you have the declaration of `KERN_MAX_LOCK_DEPTH', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_MAX_LOCK_DEPTH - -/* Define to 1 if you have the declaration of `KERN_MAX_THREADS', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_MAX_THREADS - -/* Define to 1 if you have the declaration of `KERN_MODPROBE', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_MODPROBE - -/* Define to 1 if you have the declaration of `KERN_MSGMAX', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_MSGMAX - -/* Define to 1 if you have the declaration of `KERN_MSGMNB', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_MSGMNB - -/* Define to 1 if you have the declaration of `KERN_MSGMNI', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_MSGMNI - -/* Define to 1 if you have the declaration of `KERN_MSGPOOL', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_MSGPOOL - -/* Define to 1 if you have the declaration of `KERN_NAMETRANS', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_NAMETRANS - -/* Define to 1 if you have the declaration of `KERN_NGROUPS_MAX', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_NGROUPS_MAX - -/* Define to 1 if you have the declaration of `KERN_NMI_WATCHDOG', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_NMI_WATCHDOG - -/* Define to 1 if you have the declaration of `KERN_NODENAME', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_NODENAME - -/* Define to 1 if you have the declaration of `KERN_OSRELEASE', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_OSRELEASE - -/* Define to 1 if you have the declaration of `KERN_OSREV', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_OSREV - -/* Define to 1 if you have the declaration of `KERN_OSTYPE', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_OSTYPE - -/* Define to 1 if you have the declaration of `KERN_OVERFLOWGID', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_OVERFLOWGID - -/* Define to 1 if you have the declaration of `KERN_OVERFLOWUID', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_OVERFLOWUID - -/* Define to 1 if you have the declaration of `KERN_PANIC', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PANIC - -/* Define to 1 if you have the declaration of `KERN_PANIC_ON_NMI', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_PANIC_ON_NMI - -/* Define to 1 if you have the declaration of `KERN_PANIC_ON_OOPS', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_PANIC_ON_OOPS - -/* Define to 1 if you have the declaration of `KERN_PANIC_ON_WARN', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_PANIC_ON_WARN - -/* Define to 1 if you have the declaration of `KERN_PANIC_PRINT', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_PANIC_PRINT - -/* Define to 1 if you have the declaration of `KERN_PIDMAX', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PIDMAX - -/* Define to 1 if you have the declaration of `KERN_PPC_HTABRECLAIM', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_PPC_HTABRECLAIM - -/* Define to 1 if you have the declaration of `KERN_PPC_L2CR', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PPC_L2CR - -/* Define to 1 if you have the declaration of `KERN_PPC_POWERSAVE_NAP', and to - 0 if you don't. */ -#undef HAVE_DECL_KERN_PPC_POWERSAVE_NAP - -/* Define to 1 if you have the declaration of `KERN_PPC_ZEROPAGED', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_PPC_ZEROPAGED - -/* Define to 1 if you have the declaration of `KERN_PRINTK', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PRINTK - -/* Define to 1 if you have the declaration of `KERN_PRINTK_RATELIMIT', and to - 0 if you don't. */ -#undef HAVE_DECL_KERN_PRINTK_RATELIMIT - -/* Define to 1 if you have the declaration of `KERN_PRINTK_RATELIMIT_BURST', - and to 0 if you don't. */ -#undef HAVE_DECL_KERN_PRINTK_RATELIMIT_BURST - -/* Define to 1 if you have the declaration of `KERN_PROF', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PROF - -/* Define to 1 if you have the declaration of `KERN_PTY', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_PTY - -/* Define to 1 if you have the declaration of `KERN_RANDOM', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_RANDOM - -/* Define to 1 if you have the declaration of `KERN_RANDOMIZE', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_RANDOMIZE - -/* Define to 1 if you have the declaration of `KERN_REALROOTDEV', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_REALROOTDEV - -/* Define to 1 if you have the declaration of `KERN_RTSIGMAX', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_RTSIGMAX - -/* Define to 1 if you have the declaration of `KERN_RTSIGNR', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_RTSIGNR - -/* Define to 1 if you have the declaration of `KERN_S390_USER_DEBUG_LOGGING', - and to 0 if you don't. */ -#undef HAVE_DECL_KERN_S390_USER_DEBUG_LOGGING - -/* Define to 1 if you have the declaration of `KERN_SECUREMASK', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_SECUREMASK - -/* Define to 1 if you have the declaration of `KERN_SEM', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SEM - -/* Define to 1 if you have the declaration of `KERN_SETUID_DUMPABLE', and to 0 - if you don't. */ -#undef HAVE_DECL_KERN_SETUID_DUMPABLE - -/* Define to 1 if you have the declaration of `KERN_SG_BIG_BUFF', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_SG_BIG_BUFF - -/* Define to 1 if you have the declaration of `KERN_SHMALL', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SHMALL - -/* Define to 1 if you have the declaration of `KERN_SHMMAX', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SHMMAX - -/* Define to 1 if you have the declaration of `KERN_SHMMNI', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SHMMNI - -/* Define to 1 if you have the declaration of `KERN_SHMPATH', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SHMPATH - -/* Define to 1 if you have the declaration of `KERN_SPARC_REBOOT', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_SPARC_REBOOT - -/* Define to 1 if you have the declaration of `KERN_SPARC_SCONS_PWROFF', and - to 0 if you don't. */ -#undef HAVE_DECL_KERN_SPARC_SCONS_PWROFF - -/* Define to 1 if you have the declaration of `KERN_SPARC_STOP_A', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_SPARC_STOP_A - -/* Define to 1 if you have the declaration of `KERN_SPIN_RETRY', and to 0 if - you don't. */ -#undef HAVE_DECL_KERN_SPIN_RETRY - -/* Define to 1 if you have the declaration of `KERN_SYSRQ', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_SYSRQ - -/* Define to 1 if you have the declaration of `KERN_TAINTED', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_TAINTED - -/* Define to 1 if you have the declaration of `KERN_UNKNOWN_NMI_PANIC', and to - 0 if you don't. */ -#undef HAVE_DECL_KERN_UNKNOWN_NMI_PANIC - -/* Define to 1 if you have the declaration of `KERN_VERSION', and to 0 if you - don't. */ -#undef HAVE_DECL_KERN_VERSION - -/* Define to 1 if you have the declaration of `LO_FLAGS_AUTOCLEAR', and to 0 - if you don't. */ -#undef HAVE_DECL_LO_FLAGS_AUTOCLEAR - -/* Define to 1 if you have the declaration of `LO_FLAGS_DIRECT_IO', and to 0 - if you don't. */ -#undef HAVE_DECL_LO_FLAGS_DIRECT_IO - -/* Define to 1 if you have the declaration of `LO_FLAGS_PARTSCAN', and to 0 if - you don't. */ -#undef HAVE_DECL_LO_FLAGS_PARTSCAN - -/* Define to 1 if you have the declaration of `LO_FLAGS_READ_ONLY', and to 0 - if you don't. */ -#undef HAVE_DECL_LO_FLAGS_READ_ONLY - -/* Define to 1 if you have the declaration of `LO_FLAGS_USE_AOPS', and to 0 if - you don't. */ -#undef HAVE_DECL_LO_FLAGS_USE_AOPS - -/* Define to 1 if you have the declaration of `NET_802', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_802 - -/* Define to 1 if you have the declaration of `NET_ATALK', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_ATALK - -/* Define to 1 if you have the declaration of `NET_AX25', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_AX25 - -/* Define to 1 if you have the declaration of `NET_BRIDGE', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_BRIDGE - -/* Define to 1 if you have the declaration of `NET_CIPSOV4_CACHE_BUCKET_SIZE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_CIPSOV4_CACHE_BUCKET_SIZE - -/* Define to 1 if you have the declaration of `NET_CIPSOV4_CACHE_ENABLE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_CIPSOV4_CACHE_ENABLE - -/* Define to 1 if you have the declaration of `NET_CIPSOV4_RBM_OPTFMT', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CIPSOV4_RBM_OPTFMT - -/* Define to 1 if you have the declaration of `NET_CIPSOV4_RBM_STRICTVALID', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_CIPSOV4_RBM_STRICTVALID - -/* Define to 1 if you have the declaration of `NET_CORE', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_CORE - -/* Define to 1 if you have the declaration of `NET_CORE_AEVENT_ETIME', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_AEVENT_ETIME - -/* Define to 1 if you have the declaration of `NET_CORE_AEVENT_RSEQTH', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_AEVENT_RSEQTH - -/* Define to 1 if you have the declaration of `NET_CORE_BUDGET', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_BUDGET - -/* Define to 1 if you have the declaration of `NET_CORE_DESTROY_DELAY', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_DESTROY_DELAY - -/* Define to 1 if you have the declaration of `NET_CORE_DEV_WEIGHT', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_DEV_WEIGHT - -/* Define to 1 if you have the declaration of `NET_CORE_DIVERT_VERSION', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_DIVERT_VERSION - -/* Define to 1 if you have the declaration of `NET_CORE_FASTROUTE', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_FASTROUTE - -/* Define to 1 if you have the declaration of `NET_CORE_HOT_LIST_LENGTH', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_HOT_LIST_LENGTH - -/* Define to 1 if you have the declaration of `NET_CORE_LO_CONG', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_LO_CONG - -/* Define to 1 if you have the declaration of `NET_CORE_MAX_BACKLOG', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_MAX_BACKLOG - -/* Define to 1 if you have the declaration of `NET_CORE_MOD_CONG', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_MOD_CONG - -/* Define to 1 if you have the declaration of `NET_CORE_MSG_BURST', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_MSG_BURST - -/* Define to 1 if you have the declaration of `NET_CORE_MSG_COST', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_MSG_COST - -/* Define to 1 if you have the declaration of `NET_CORE_NO_CONG', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_NO_CONG - -/* Define to 1 if you have the declaration of `NET_CORE_NO_CONG_THRESH', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_NO_CONG_THRESH - -/* Define to 1 if you have the declaration of `NET_CORE_OPTMEM_MAX', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_OPTMEM_MAX - -/* Define to 1 if you have the declaration of `NET_CORE_RMEM_DEFAULT', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_RMEM_DEFAULT - -/* Define to 1 if you have the declaration of `NET_CORE_RMEM_MAX', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_RMEM_MAX - -/* Define to 1 if you have the declaration of `NET_CORE_SOMAXCONN', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_CORE_SOMAXCONN - -/* Define to 1 if you have the declaration of `NET_CORE_WARNINGS', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_WARNINGS - -/* Define to 1 if you have the declaration of `NET_CORE_WMEM_DEFAULT', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_CORE_WMEM_DEFAULT - -/* Define to 1 if you have the declaration of `NET_CORE_WMEM_MAX', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_CORE_WMEM_MAX - -/* Define to 1 if you have the declaration of `NET_DCCP', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_DCCP - -/* Define to 1 if you have the declaration of `NET_DECNET', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_DECNET - -/* Define to 1 if you have the declaration of `NET_ECONET', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_ECONET - -/* Define to 1 if you have the declaration of `NET_ETHER', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_ETHER - -/* Define to 1 if you have the declaration of `NET_IPV4', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPV4 - -/* Define to 1 if you have the declaration of `NET_IPV4_ALWAYS_DEFRAG', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ALWAYS_DEFRAG - -/* Define to 1 if you have the declaration of `NET_IPV4_AUTOCONFIG', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_IPV4_AUTOCONFIG - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPV4_CONF - -/* Define to 1 if you have the declaration of - `NET_IPV4_CONF_ACCEPT_REDIRECTS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ACCEPT_REDIRECTS - -/* Define to 1 if you have the declaration of - `NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARPFILTER', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ARPFILTER - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARP_ACCEPT', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ARP_ACCEPT - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARP_ANNOUNCE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ARP_ANNOUNCE - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARP_IGNORE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ARP_IGNORE - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_ARP_NOTIFY', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_ARP_NOTIFY - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_BOOTP_RELAY', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_BOOTP_RELAY - -/* Define to 1 if you have the declaration of - `NET_IPV4_CONF_FORCE_IGMP_VERSION', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_FORCE_IGMP_VERSION - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_FORWARDING', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_FORWARDING - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_LOG_MARTIANS', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_LOG_MARTIANS - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_MC_FORWARDING', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_MC_FORWARDING - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_MEDIUM_ID', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_MEDIUM_ID - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_NOPOLICY', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_NOPOLICY - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_NOXFRM', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_NOXFRM - -/* Define to 1 if you have the declaration of - `NET_IPV4_CONF_PROMOTE_SECONDARIES', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_PROMOTE_SECONDARIES - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_PROXY_ARP', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_PROXY_ARP - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_RP_FILTER', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_RP_FILTER - -/* Define to 1 if you have the declaration of - `NET_IPV4_CONF_SECURE_REDIRECTS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_SECURE_REDIRECTS - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_SEND_REDIRECTS', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_SEND_REDIRECTS - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_SHARED_MEDIA', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_SHARED_MEDIA - -/* Define to 1 if you have the declaration of `NET_IPV4_CONF_TAG', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_CONF_TAG - -/* Define to 1 if you have the declaration of `NET_IPV4_DEFAULT_TTL', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_IPV4_DEFAULT_TTL - -/* Define to 1 if you have the declaration of `NET_IPV4_DYNADDR', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_DYNADDR - -/* Define to 1 if you have the declaration of `NET_IPV4_FIB_HASH', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_FIB_HASH - -/* Define to 1 if you have the declaration of `NET_IPV4_FORWARD', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_FORWARD - -/* Define to 1 if you have the declaration of - `NET_IPV4_ICMP_DESTUNREACH_RATE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_DESTUNREACH_RATE - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_ECHOREPLY_RATE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_ECHOREPLY_RATE - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_ECHO_IGNORE_ALL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_ALL - -/* Define to 1 if you have the declaration of - `NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS - -/* Define to 1 if you have the declaration of - `NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR - -/* Define to 1 if you have the declaration of - `NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_PARAMPROB_RATE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_PARAMPROB_RATE - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_RATELIMIT', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_RATELIMIT - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_RATEMASK', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_RATEMASK - -/* Define to 1 if you have the declaration of - `NET_IPV4_ICMP_SOURCEQUENCH_RATE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_SOURCEQUENCH_RATE - -/* Define to 1 if you have the declaration of `NET_IPV4_ICMP_TIMEEXCEED_RATE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ICMP_TIMEEXCEED_RATE - -/* Define to 1 if you have the declaration of `NET_IPV4_IGMP_MAX_MEMBERSHIPS', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IGMP_MAX_MEMBERSHIPS - -/* Define to 1 if you have the declaration of `NET_IPV4_IGMP_MAX_MSF', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IGMP_MAX_MSF - -/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_GC_MAXTIME', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_INET_PEER_GC_MAXTIME - -/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_GC_MINTIME', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_INET_PEER_GC_MINTIME - -/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_MAXTTL', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_INET_PEER_MAXTTL - -/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_MINTTL', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_INET_PEER_MINTTL - -/* Define to 1 if you have the declaration of `NET_IPV4_INET_PEER_THRESHOLD', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_INET_PEER_THRESHOLD - -/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_HIGH_THRESH', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IPFRAG_HIGH_THRESH - -/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_LOW_THRESH', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IPFRAG_LOW_THRESH - -/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_MAX_DIST', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IPFRAG_MAX_DIST - -/* Define to 1 if you have the declaration of - `NET_IPV4_IPFRAG_SECRET_INTERVAL', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IPFRAG_SECRET_INTERVAL - -/* Define to 1 if you have the declaration of `NET_IPV4_IPFRAG_TIME', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_IPV4_IPFRAG_TIME - -/* Define to 1 if you have the declaration of `NET_IPV4_IP_MASQ_DEBUG', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_IP_MASQ_DEBUG - -/* Define to 1 if you have the declaration of `NET_IPV4_LOCAL_PORT_RANGE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_LOCAL_PORT_RANGE - -/* Define to 1 if you have the declaration of `NET_IPV4_NEIGH', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_NEIGH - -/* Define to 1 if you have the declaration of `NET_IPV4_NETFILTER', and to 0 +/* Define to 1 if you have the declaration of `IEEE802154_ADDR_LONG', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_NETFILTER - -/* Define to 1 if you have the declaration of `NET_IPV4_NONLOCAL_BIND', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_NONLOCAL_BIND +#undef HAVE_DECL_IEEE802154_ADDR_LONG -/* Define to 1 if you have the declaration of `NET_IPV4_NO_PMTU_DISC', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_NO_PMTU_DISC - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_ERROR_BURST', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_ERROR_BURST - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_ERROR_COST', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_ERROR_COST - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_FLUSH', and to 0 +/* Define to 1 if you have the declaration of `IEEE802154_ADDR_NONE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_FLUSH - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_ELASTICITY', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_ELASTICITY - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_INTERVAL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_INTERVAL - -/* Define to 1 if you have the declaration of - `NET_IPV4_ROUTE_GC_MIN_INTERVAL', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL - -/* Define to 1 if you have the declaration of - `NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_THRESH', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_THRESH - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_GC_TIMEOUT', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_GC_TIMEOUT - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MAX_DELAY', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MAX_DELAY - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MAX_SIZE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MAX_SIZE - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_ADVMSS', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_ADVMSS - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_DELAY', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_DELAY +#undef HAVE_DECL_IEEE802154_ADDR_NONE -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MIN_PMTU', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MIN_PMTU - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_MTU_EXPIRES', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_MTU_EXPIRES - -/* Define to 1 if you have the declaration of `NET_IPV4_ROUTE_REDIRECT_LOAD', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_LOAD - -/* Define to 1 if you have the declaration of - `NET_IPV4_ROUTE_REDIRECT_NUMBER', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_NUMBER - -/* Define to 1 if you have the declaration of - `NET_IPV4_ROUTE_REDIRECT_SILENCE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_REDIRECT_SILENCE - -/* Define to 1 if you have the declaration of - `NET_IPV4_ROUTE_SECRET_INTERVAL', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_ROUTE_SECRET_INTERVAL - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_FIN_TIMEOUT', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_FIN_TIMEOUT - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_INTVL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_INTVL - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_PROBES', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_PROBES - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_KEEPALIVE_TIME', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_KEEPALIVE_TIME - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_MAX_KA_PROBES', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_MAX_KA_PROBES - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRANS_COLLAPSE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_RETRANS_COLLAPSE - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRIES1', and to +/* Define to 1 if you have the declaration of `IEEE802154_ADDR_SHORT', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_RETRIES1 - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_RETRIES2', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_RETRIES2 - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_SACK', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_SACK +#undef HAVE_DECL_IEEE802154_ADDR_SHORT -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_SYN_RETRIES', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_SYN_RETRIES - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_TIMESTAMPS', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_TIMESTAMPS - -/* Define to 1 if you have the declaration of `NET_IPV4_TCP_WINDOW_SCALING', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_WINDOW_SCALING - -/* Define to 1 if you have the declaration of - `NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS - -/* Define to 1 if you have the declaration of `NET_IPV6', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPV6 - -/* Define to 1 if you have the declaration of `NET_IPV6_BINDV6ONLY', and to 0 +/* Define to 1 if you have the declaration of `LO_FLAGS_AUTOCLEAR', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_BINDV6ONLY - -/* Define to 1 if you have the declaration of `NET_IPV6_CONF', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPV6_CONF - -/* Define to 1 if you have the declaration of `NET_IPV6_ICMP', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPV6_ICMP - -/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_HIGH_THRESH', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_IP6FRAG_HIGH_THRESH - -/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_LOW_THRESH', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_IP6FRAG_LOW_THRESH - -/* Define to 1 if you have the declaration of - `NET_IPV6_IP6FRAG_SECRET_INTERVAL', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_IP6FRAG_SECRET_INTERVAL - -/* Define to 1 if you have the declaration of `NET_IPV6_IP6FRAG_TIME', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_IP6FRAG_TIME +#undef HAVE_DECL_LO_FLAGS_AUTOCLEAR -/* Define to 1 if you have the declaration of `NET_IPV6_MLD_MAX_MSF', and to 0 +/* Define to 1 if you have the declaration of `LO_FLAGS_DIRECT_IO', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_MLD_MAX_MSF - -/* Define to 1 if you have the declaration of `NET_IPV6_NEIGH', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_IPV6_NEIGH +#undef HAVE_DECL_LO_FLAGS_DIRECT_IO -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE', and to 0 if +/* Define to 1 if you have the declaration of `LO_FLAGS_PARTSCAN', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE +#undef HAVE_DECL_LO_FLAGS_PARTSCAN -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_FLUSH', and to 0 +/* Define to 1 if you have the declaration of `LO_FLAGS_READ_ONLY', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_FLUSH - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_ELASTICITY', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_ELASTICITY - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_INTERVAL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_INTERVAL - -/* Define to 1 if you have the declaration of - `NET_IPV6_ROUTE_GC_MIN_INTERVAL', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL - -/* Define to 1 if you have the declaration of - `NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_THRESH', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_THRESH - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_GC_TIMEOUT', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_GC_TIMEOUT - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MAX_SIZE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_MAX_SIZE - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MIN_ADVMSS', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_MIN_ADVMSS - -/* Define to 1 if you have the declaration of `NET_IPV6_ROUTE_MTU_EXPIRES', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_IPV6_ROUTE_MTU_EXPIRES - -/* Define to 1 if you have the declaration of `NET_IPX', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IPX - -/* Define to 1 if you have the declaration of `NET_IRDA', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_IRDA - -/* Define to 1 if you have the declaration of `NET_LLC', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_LLC - -/* Define to 1 if you have the declaration of `NET_NETFILTER', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_NETFILTER - -/* Define to 1 if you have the declaration of `NET_NETROM', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_NETROM - -/* Define to 1 if you have the declaration of `NET_ROSE', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_ROSE - -/* Define to 1 if you have the declaration of `NET_SCTP', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_SCTP - -/* Define to 1 if you have the declaration of `NET_TCP_ABC', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_TCP_ABC - -/* Define to 1 if you have the declaration of `NET_TCP_ABORT_ON_OVERFLOW', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_ABORT_ON_OVERFLOW - -/* Define to 1 if you have the declaration of `NET_TCP_ADV_WIN_SCALE', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_ADV_WIN_SCALE - -/* Define to 1 if you have the declaration of `NET_TCP_ALLOWED_CONG_CONTROL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_ALLOWED_CONG_CONTROL - -/* Define to 1 if you have the declaration of `NET_TCP_APP_WIN', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_TCP_APP_WIN - -/* Define to 1 if you have the declaration of `NET_TCP_AVAIL_CONG_CONTROL', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_AVAIL_CONG_CONTROL - -/* Define to 1 if you have the declaration of `NET_TCP_BASE_MSS', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_TCP_BASE_MSS +#undef HAVE_DECL_LO_FLAGS_READ_ONLY -/* Define to 1 if you have the declaration of `NET_TCP_BIC_BETA', and to 0 if +/* Define to 1 if you have the declaration of `LO_FLAGS_USE_AOPS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_BIC_BETA +#undef HAVE_DECL_LO_FLAGS_USE_AOPS -/* Define to 1 if you have the declaration of `NET_TCP_CONG_CONTROL', and to 0 +/* Define to 1 if you have the declaration of `NFEA_ACTIVITY_NOTIFY', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_CONG_CONTROL - -/* Define to 1 if you have the declaration of `NET_TCP_DEFAULT_WIN_SCALE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_DEFAULT_WIN_SCALE - -/* Define to 1 if you have the declaration of `NET_TCP_DMA_COPYBREAK', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_DMA_COPYBREAK +#undef HAVE_DECL_NFEA_ACTIVITY_NOTIFY -/* Define to 1 if you have the declaration of `NET_TCP_DSACK', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_TCP_DSACK - -/* Define to 1 if you have the declaration of `NET_TCP_ECN', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_TCP_ECN +/* Define to 1 if you have the declaration of `NFEA_DONT_REFRESH', and to 0 if + you don't. */ +#undef HAVE_DECL_NFEA_DONT_REFRESH -/* Define to 1 if you have the declaration of `NET_TCP_FACK', and to 0 if you +/* Define to 1 if you have the declaration of `NFEA_UNSPEC', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_FACK +#undef HAVE_DECL_NFEA_UNSPEC -/* Define to 1 if you have the declaration of `NET_TCP_FRTO', and to 0 if you +/* Define to 1 if you have the declaration of `PTP_PF_EXTTS', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_FRTO - -/* Define to 1 if you have the declaration of `NET_TCP_FRTO_RESPONSE', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_FRTO_RESPONSE - -/* Define to 1 if you have the declaration of `NET_TCP_LOW_LATENCY', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_LOW_LATENCY +#undef HAVE_DECL_PTP_PF_EXTTS -/* Define to 1 if you have the declaration of `NET_TCP_MAX_ORPHANS', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_MAX_ORPHANS - -/* Define to 1 if you have the declaration of `NET_TCP_MAX_SSTHRESH', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_MAX_SSTHRESH - -/* Define to 1 if you have the declaration of `NET_TCP_MAX_SYN_BACKLOG', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_MAX_SYN_BACKLOG - -/* Define to 1 if you have the declaration of `NET_TCP_MAX_TW_BUCKETS', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_MAX_TW_BUCKETS - -/* Define to 1 if you have the declaration of `NET_TCP_MEM', and to 0 if you +/* Define to 1 if you have the declaration of `PTP_PF_NONE', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_MEM - -/* Define to 1 if you have the declaration of `NET_TCP_MODERATE_RCVBUF', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_MODERATE_RCVBUF +#undef HAVE_DECL_PTP_PF_NONE -/* Define to 1 if you have the declaration of `NET_TCP_MTU_PROBING', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_MTU_PROBING - -/* Define to 1 if you have the declaration of `NET_TCP_NO_METRICS_SAVE', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_NO_METRICS_SAVE - -/* Define to 1 if you have the declaration of `NET_TCP_ORPHAN_RETRIES', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_ORPHAN_RETRIES - -/* Define to 1 if you have the declaration of `NET_TCP_REORDERING', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_REORDERING - -/* Define to 1 if you have the declaration of `NET_TCP_RFC1337', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_TCP_RFC1337 - -/* Define to 1 if you have the declaration of `NET_TCP_RMEM', and to 0 if you +/* Define to 1 if you have the declaration of `PTP_PF_PEROUT', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_RMEM - -/* Define to 1 if you have the declaration of `NET_TCP_SLOW_START_AFTER_IDLE', - and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_SLOW_START_AFTER_IDLE - -/* Define to 1 if you have the declaration of `NET_TCP_STDURG', and to 0 if - you don't. */ -#undef HAVE_DECL_NET_TCP_STDURG - -/* Define to 1 if you have the declaration of `NET_TCP_SYNACK_RETRIES', and to - 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_SYNACK_RETRIES - -/* Define to 1 if you have the declaration of `NET_TCP_SYNCOOKIES', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_SYNCOOKIES +#undef HAVE_DECL_PTP_PF_PEROUT -/* Define to 1 if you have the declaration of `NET_TCP_SYN_TAILDROP', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_SYN_TAILDROP - -/* Define to 1 if you have the declaration of `NET_TCP_TSO_WIN_DIVISOR', and - to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_TSO_WIN_DIVISOR - -/* Define to 1 if you have the declaration of `NET_TCP_TW_RECYCLE', and to 0 - if you don't. */ -#undef HAVE_DECL_NET_TCP_TW_RECYCLE - -/* Define to 1 if you have the declaration of `NET_TCP_TW_REUSE', and to 0 if +/* Define to 1 if you have the declaration of `PTP_PF_PHYSYNC', and to 0 if you don't. */ -#undef HAVE_DECL_NET_TCP_TW_REUSE - -/* Define to 1 if you have the declaration of `NET_TCP_WMEM', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_TCP_WMEM - -/* Define to 1 if you have the declaration of `NET_TR', and to 0 if you don't. - */ -#undef HAVE_DECL_NET_TR - -/* Define to 1 if you have the declaration of `NET_UNIX', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_UNIX - -/* Define to 1 if you have the declaration of `NET_X25', and to 0 if you - don't. */ -#undef HAVE_DECL_NET_X25 +#undef HAVE_DECL_PTP_PF_PHYSYNC /* Define to 1 if you have the declaration of `PTRACE_PEEKUSER', and to 0 if you don't. */ @@ -1246,6 +167,10 @@ don't. */ #undef HAVE_DECL_TCA_ACT_INDEX +/* Define to 1 if you have the declaration of `TCA_ACT_IN_HW_COUNT', and to 0 + if you don't. */ +#undef HAVE_DECL_TCA_ACT_IN_HW_COUNT + /* Define to 1 if you have the declaration of `TCA_ACT_KIND', and to 0 if you don't. */ #undef HAVE_DECL_TCA_ACT_KIND @@ -1270,85 +195,105 @@ 0 if you don't. */ #undef HAVE_DECL_TCA_ACT_USED_HW_STATS -/* Define to 1 if you have the declaration of `VM_BLOCK_DUMP', and to 0 if you - don't. */ -#undef HAVE_DECL_VM_BLOCK_DUMP +/* Define to 1 if you have the declaration of `XFRM_MSG_ACQUIRE', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_ACQUIRE -/* Define to 1 if you have the declaration of `VM_DIRTY_BACKGROUND', and to 0 - if you don't. */ -#undef HAVE_DECL_VM_DIRTY_BACKGROUND +/* Define to 1 if you have the declaration of `XFRM_MSG_ALLOCSPI', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_ALLOCSPI -/* Define to 1 if you have the declaration of `VM_DIRTY_EXPIRE_CS', and to 0 +/* Define to 1 if you have the declaration of `XFRM_MSG_DELPOLICY', and to 0 if you don't. */ -#undef HAVE_DECL_VM_DIRTY_EXPIRE_CS +#undef HAVE_DECL_XFRM_MSG_DELPOLICY -/* Define to 1 if you have the declaration of `VM_DIRTY_RATIO', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_DELSA', and to 0 if you don't. */ -#undef HAVE_DECL_VM_DIRTY_RATIO +#undef HAVE_DECL_XFRM_MSG_DELSA -/* Define to 1 if you have the declaration of `VM_DIRTY_WB_CS', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_EXPIRE', and to 0 if you don't. */ -#undef HAVE_DECL_VM_DIRTY_WB_CS +#undef HAVE_DECL_XFRM_MSG_EXPIRE + +/* Define to 1 if you have the declaration of `XFRM_MSG_FLUSHPOLICY', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_FLUSHPOLICY -/* Define to 1 if you have the declaration of `VM_HUGETLB_GROUP', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_FLUSHSA', and to 0 if you don't. */ -#undef HAVE_DECL_VM_HUGETLB_GROUP +#undef HAVE_DECL_XFRM_MSG_FLUSHSA -/* Define to 1 if you have the declaration of `VM_HUGETLB_PAGES', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_GETAE', and to 0 if you don't. */ -#undef HAVE_DECL_VM_HUGETLB_PAGES +#undef HAVE_DECL_XFRM_MSG_GETAE + +/* Define to 1 if you have the declaration of `XFRM_MSG_GETDEFAULT', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_GETDEFAULT + +/* Define to 1 if you have the declaration of `XFRM_MSG_GETPOLICY', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_GETPOLICY -/* Define to 1 if you have the declaration of `VM_LAPTOP_MODE', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_GETSA', and to 0 if you don't. */ -#undef HAVE_DECL_VM_LAPTOP_MODE +#undef HAVE_DECL_XFRM_MSG_GETSA + +/* Define to 1 if you have the declaration of `XFRM_MSG_GETSADINFO', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_GETSADINFO -/* Define to 1 if you have the declaration of `VM_LEGACY_VA_LAYOUT', and to 0 +/* Define to 1 if you have the declaration of `XFRM_MSG_GETSPDINFO', and to 0 if you don't. */ -#undef HAVE_DECL_VM_LEGACY_VA_LAYOUT +#undef HAVE_DECL_XFRM_MSG_GETSPDINFO + +/* Define to 1 if you have the declaration of `XFRM_MSG_MAPPING', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_MAPPING -/* Define to 1 if you have the declaration of `VM_LOWMEM_RESERVE_RATIO', and - to 0 if you don't. */ -#undef HAVE_DECL_VM_LOWMEM_RESERVE_RATIO +/* Define to 1 if you have the declaration of `XFRM_MSG_MIGRATE', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_MIGRATE -/* Define to 1 if you have the declaration of `VM_MAX_MAP_COUNT', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_NEWAE', and to 0 if you don't. */ -#undef HAVE_DECL_VM_MAX_MAP_COUNT +#undef HAVE_DECL_XFRM_MSG_NEWAE -/* Define to 1 if you have the declaration of `VM_MIN_FREE_KBYTES', and to 0 +/* Define to 1 if you have the declaration of `XFRM_MSG_NEWPOLICY', and to 0 if you don't. */ -#undef HAVE_DECL_VM_MIN_FREE_KBYTES +#undef HAVE_DECL_XFRM_MSG_NEWPOLICY -/* Define to 1 if you have the declaration of `VM_NR_PDFLUSH_THREADS', and to - 0 if you don't. */ -#undef HAVE_DECL_VM_NR_PDFLUSH_THREADS +/* Define to 1 if you have the declaration of `XFRM_MSG_NEWSA', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_NEWSA -/* Define to 1 if you have the declaration of `VM_OVERCOMMIT_MEMORY', and to 0 +/* Define to 1 if you have the declaration of `XFRM_MSG_NEWSADINFO', and to 0 if you don't. */ -#undef HAVE_DECL_VM_OVERCOMMIT_MEMORY +#undef HAVE_DECL_XFRM_MSG_NEWSADINFO -/* Define to 1 if you have the declaration of `VM_OVERCOMMIT_RATIO', and to 0 +/* Define to 1 if you have the declaration of `XFRM_MSG_NEWSPDINFO', and to 0 if you don't. */ -#undef HAVE_DECL_VM_OVERCOMMIT_RATIO +#undef HAVE_DECL_XFRM_MSG_NEWSPDINFO -/* Define to 1 if you have the declaration of `VM_PAGEBUF', and to 0 if you - don't. */ -#undef HAVE_DECL_VM_PAGEBUF +/* Define to 1 if you have the declaration of `XFRM_MSG_POLEXPIRE', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_POLEXPIRE -/* Define to 1 if you have the declaration of `VM_PAGE_CLUSTER', and to 0 if +/* Define to 1 if you have the declaration of `XFRM_MSG_REPORT', and to 0 if you don't. */ -#undef HAVE_DECL_VM_PAGE_CLUSTER +#undef HAVE_DECL_XFRM_MSG_REPORT -/* Define to 1 if you have the declaration of `VM_SWAPPINESS', and to 0 if you - don't. */ -#undef HAVE_DECL_VM_SWAPPINESS +/* Define to 1 if you have the declaration of `XFRM_MSG_SETDEFAULT', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_SETDEFAULT -/* Define to 1 if you have the declaration of `VM_SWAP_TOKEN_TIMEOUT', and to - 0 if you don't. */ -#undef HAVE_DECL_VM_SWAP_TOKEN_TIMEOUT +/* Define to 1 if you have the declaration of `XFRM_MSG_UPDPOLICY', and to 0 + if you don't. */ +#undef HAVE_DECL_XFRM_MSG_UPDPOLICY -/* Define to 1 if you have the declaration of `VM_VFS_CACHE_PRESSURE', and to - 0 if you don't. */ -#undef HAVE_DECL_VM_VFS_CACHE_PRESSURE +/* Define to 1 if you have the declaration of `XFRM_MSG_UPDSA', and to 0 if + you don't. */ +#undef HAVE_DECL_XFRM_MSG_UPDSA /* Define to 1 if you have the <demangle.h> header file. */ #undef HAVE_DEMANGLE_H @@ -1422,9 +367,18 @@ /* Define to 1 if you have the <linux/bpf.h> header file. */ #undef HAVE_LINUX_BPF_H +/* Define to 1 if you have the <linux/if_alg.h> header file. */ +#undef HAVE_LINUX_IF_ALG_H + +/* Define to 1 if you have the <linux/if_xdp.h> header file. */ +#undef HAVE_LINUX_IF_XDP_H + /* Define to 1 if you have the <linux/ipc.h> header file. */ #undef HAVE_LINUX_IPC_H +/* Define to 1 if you have the <linux/ipx.h> header file. */ +#undef HAVE_LINUX_IPX_H + /* Define to 1 if you have the <linux/kvm.h> header file. */ #undef HAVE_LINUX_KVM_H @@ -1444,6 +398,18 @@ file. */ #undef HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H +/* Define to 1 if you have the <linux/nfc.h> header file. */ +#undef HAVE_LINUX_NFC_H + +/* Define to 1 if you have the <linux/qrtr.h> header file. */ +#undef HAVE_LINUX_QRTR_H + +/* Define to 1 if you have the <linux/rxrpc.h> header file. */ +#undef HAVE_LINUX_RXRPC_H + +/* Define to 1 if you have the <linux/vm_sockets.h> header file. */ +#undef HAVE_LINUX_VM_SOCKETS_H + /* Define to 1 if you have m32 mpers support */ #undef HAVE_M32_MPERS @@ -1465,6 +431,9 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + /* Define to 1 if you have the <mqueue.h> header file. */ #undef HAVE_MQUEUE_H @@ -1537,15 +506,36 @@ /* Define to 1 if you have the <selinux/selinux.h> header file. */ #undef HAVE_SELINUX_SELINUX_H +/* Define to 1 if `si_addr_lsb' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_ADDR_LSB + +/* Define to 1 if `si_lower' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_LOWER + /* Define to 1 if `si_overrun' is a member of `siginfo_t'. */ #undef HAVE_SIGINFO_T_SI_OVERRUN +/* Define to 1 if `si_perf_data' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_PERF_DATA + +/* Define to 1 if `si_perf_flags' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_PERF_FLAGS + +/* Define to 1 if `si_perf_type' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_PERF_TYPE + +/* Define to 1 if `si_pkey' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_PKEY + /* Define to 1 if `si_syscall' is a member of `siginfo_t'. */ #undef HAVE_SIGINFO_T_SI_SYSCALL /* Define to 1 if `si_timerid' is a member of `siginfo_t'. */ #undef HAVE_SIGINFO_T_SI_TIMERID +/* Define to 1 if `si_upper' is a member of `siginfo_t'. */ +#undef HAVE_SIGINFO_T_SI_UPPER + /* Define to 1 if you have the `signalfd' function. */ #undef HAVE_SIGNALFD @@ -1604,6 +594,9 @@ /* Define to 1 if `key_size' is a member of `struct bpf_map_info'. */ #undef HAVE_STRUCT_BPF_MAP_INFO_KEY_SIZE +/* Define to 1 if `map_extra' is a member of `struct bpf_map_info'. */ +#undef HAVE_STRUCT_BPF_MAP_INFO_MAP_EXTRA + /* Define to 1 if `map_flags' is a member of `struct bpf_map_info'. */ #undef HAVE_STRUCT_BPF_MAP_INFO_MAP_FLAGS @@ -1613,6 +606,9 @@ /* Define to 1 if `name' is a member of `struct bpf_map_info'. */ #undef HAVE_STRUCT_BPF_MAP_INFO_NAME +/* Define to 1 if `pad' is a member of `struct bpf_map_info'. */ +#undef HAVE_STRUCT_BPF_MAP_INFO_PAD + /* Define to 1 if `type' is a member of `struct bpf_map_info'. */ #undef HAVE_STRUCT_BPF_MAP_INFO_TYPE @@ -1702,6 +698,9 @@ /* Define to 1 if `prog_tags' is a member of `struct bpf_prog_info'. */ #undef HAVE_STRUCT_BPF_PROG_INFO_PROG_TAGS +/* Define to 1 if `recursion_misses' is a member of `struct bpf_prog_info'. */ +#undef HAVE_STRUCT_BPF_PROG_INFO_RECURSION_MISSES + /* Define to 1 if `run_cnt' is a member of `struct bpf_prog_info'. */ #undef HAVE_STRUCT_BPF_PROG_INFO_RUN_CNT @@ -1714,6 +713,9 @@ /* Define to 1 if `type' is a member of `struct bpf_prog_info'. */ #undef HAVE_STRUCT_BPF_PROG_INFO_TYPE +/* Define to 1 if `verified_insns' is a member of `struct bpf_prog_info'. */ +#undef HAVE_STRUCT_BPF_PROG_INFO_VERIFIED_INSNS + /* Define to 1 if `xlated_prog_insns' is a member of `struct bpf_prog_info'. */ #undef HAVE_STRUCT_BPF_PROG_INFO_XLATED_PROG_INSNS @@ -1730,6 +732,12 @@ /* Define to 1 if `aio_rw_flags' is a member of `struct iocb'. */ #undef HAVE_STRUCT_IOCB_AIO_RW_FLAGS +/* Define to 1 if the system has the type `struct kbdiacrsuc'. */ +#undef HAVE_STRUCT_KBDIACRSUC + +/* Define to 1 if the system has the type `struct kbdiacruc'. */ +#undef HAVE_STRUCT_KBDIACRUC + /* Define to 1 if the system has the type `struct kvm_cpuid2'. */ #undef HAVE_STRUCT_KVM_CPUID2 @@ -1758,6 +766,9 @@ /* Define to 1 if the system has the type `struct sigcontext'. */ #undef HAVE_STRUCT_SIGCONTEXT +/* Define to 1 if the system has the type `struct sockaddr_alg_new'. */ +#undef HAVE_STRUCT_SOCKADDR_ALG_NEW + /* Define to 1 if `hci_channel' is a member of `struct sockaddr_hci'. */ #undef HAVE_STRUCT_SOCKADDR_HCI_HCI_CHANNEL @@ -1767,6 +778,15 @@ /* Define to 1 if the system has the type `struct sockaddr_storage'. */ #undef HAVE_STRUCT_SOCKADDR_STORAGE +/* Define to 1 if the system has the type `struct sockaddr_vm'. */ +#undef HAVE_STRUCT_SOCKADDR_VM + +/* Define to 1 if `svm_flags' is a member of `struct sockaddr_vm'. */ +#undef HAVE_STRUCT_SOCKADDR_VM_SVM_FLAGS + +/* Define to 1 if the system has the type `struct sockaddr_xdp'. */ +#undef HAVE_STRUCT_SOCKADDR_XDP + /* Define to 1 if the system has the type `struct stat64'. */ #undef HAVE_STRUCT_STAT64 @@ -1806,6 +826,18 @@ /* Define to 1 if `st_mtime_nsec' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_MTIME_NSEC +/* Define to 1 if the system has the type `struct tcp_diag_md5sig'. */ +#undef HAVE_STRUCT_TCP_DIAG_MD5SIG + +/* Define to 1 if the system has the type `struct termios2'. */ +#undef HAVE_STRUCT_TERMIOS2 + +/* Define to 1 if `c_ispeed' is a member of `struct termios'. */ +#undef HAVE_STRUCT_TERMIOS_C_ISPEED + +/* Define to 1 if `c_ospeed' is a member of `struct termios'. */ +#undef HAVE_STRUCT_TERMIOS_C_OSPEED + /* Define to 1 if the system has the type `struct user_desc'. */ #undef HAVE_STRUCT_USER_DESC @@ -1939,6 +971,9 @@ /* Define to 1 if `expected_attach_type' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_EXPECTED_ATTACH_TYPE +/* Define to 1 if `fd_array' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_FD_ARRAY + /* Define to 1 if `file_flags' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_FILE_FLAGS @@ -1993,19 +1028,55 @@ /* Define to 1 if `line_info_rec_size' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINE_INFO_REC_SIZE +/* Define to 1 if `link_create.addrs' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_ADDRS + /* Define to 1 if `link_create.attach_type' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINK_CREATE_ATTACH_TYPE +/* Define to 1 if `link_create.bpf_cookie' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_BPF_COOKIE + +/* Define to 1 if `link_create.cnt' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_CNT + +/* Define to 1 if `link_create.cookies' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_COOKIES + /* Define to 1 if `link_create.flags' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINK_CREATE_FLAGS +/* Define to 1 if `link_create.iter_info' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO + +/* Define to 1 if `link_create.iter_info_len' is a member of `union bpf_attr'. + */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_ITER_INFO_LEN + +/* Define to 1 if `link_create.kprobe_multi' is a member of `union bpf_attr'. + */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_KPROBE_MULTI + +/* Define to 1 if `link_create.perf_event' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_PERF_EVENT + /* Define to 1 if `link_create.prog_fd' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINK_CREATE_PROG_FD +/* Define to 1 if `link_create.syms' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_SYMS + +/* Define to 1 if `link_create.target_btf_id' is a member of `union bpf_attr'. + */ +#undef HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_BTF_ID + /* Define to 1 if `link_create.target_fd' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINK_CREATE_TARGET_FD +/* Define to 1 if `link_id' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_LINK_ID + /* Define to 1 if `link_update.flags' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LINK_UPDATE_FLAGS @@ -2029,6 +1100,9 @@ /* Define to 1 if `log_size' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_LOG_SIZE +/* Define to 1 if `map_extra' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_MAP_EXTRA + /* Define to 1 if `map_fd' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_MAP_FD @@ -2062,6 +1136,9 @@ /* Define to 1 if `open_flags' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_OPEN_FLAGS +/* Define to 1 if `pad' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_PAD + /* Define to 1 if `pathname' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_PATHNAME @@ -2145,6 +1222,12 @@ /* Define to 1 if `task_fd_query.prog_id' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_TASK_FD_QUERY_PROG_ID +/* Define to 1 if `test.batch_size' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_TEST_BATCH_SIZE + +/* Define to 1 if `test.cpu' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_TEST_CPU + /* Define to 1 if `test.ctx_in' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_TEST_CTX_IN @@ -2172,6 +1255,9 @@ /* Define to 1 if `test.duration' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_TEST_DURATION +/* Define to 1 if `test.flags' is a member of `union bpf_attr'. */ +#undef HAVE_UNION_BPF_ATTR_TEST_FLAGS + /* Define to 1 if `test.prog_fd' is a member of `union bpf_attr'. */ #undef HAVE_UNION_BPF_ATTR_TEST_PROG_FD @@ -2223,6 +1309,9 @@ /* Define for _ABIO32. */ #undef LINUX_MIPSO32 +/* Define for the 64-bit LoongArch architecture. */ +#undef LOONGARCH64 + /* The size of `kernel_long_t', as computed by sizeof. */ #undef M32_SIZEOF_KERNEL_LONG_T @@ -2235,9 +1324,6 @@ /* Define for the m68k architecture. */ #undef M68K -/* Date */ -#undef MANPAGE_DATE - /* Define for the Meta architecture. */ #undef METAG @@ -2325,6 +1411,9 @@ /* The size of `struct msqid64_ds', as computed by sizeof. */ #undef SIZEOF_STRUCT_MSQID64_DS +/* Date */ +#undef SLM_MANPAGE_DATE + /* Define for the SPARC architecture. */ #undef SPARC @@ -2334,6 +1423,9 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Date */ +#undef STRACE_MANPAGE_DATE + /* Define for the Tile architecture */ #undef TILE
View file
_service:tar_scm:strace-5.14.tar.xz/src/count.c -> _service:tar_scm:strace-6.1.tar.xz/src/count.c
Changed
@@ -504,9 +504,9 @@ void call_summary(FILE *outf) { - unsigned int i, old_pers = current_personality; + const unsigned int old_pers = current_personality; - for (i = 0; i < SUPPORTED_PERSONALITIES; ++i) { + for (unsigned int i = 0; i < SUPPORTED_PERSONALITIES; ++i) { if (!countvi) continue;
View file
_service:tar_scm:strace-6.1.tar.xz/src/counter_ioctl.c
Added
@@ -0,0 +1,71 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com>. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +#include <linux/ioctl.h> +#include <linux/counter.h> + +#include "xlat/counter_ioctl_component_types.h" +#include "xlat/counter_ioctl_event_types.h" +#include "xlat/counter_ioctl_scopes.h" + + +static void +print_struct_counter_component(const struct counter_component *const cc) +{ + tprint_struct_begin(); + PRINT_FIELD_XVAL(*cc, type, counter_ioctl_component_types, + "COUNTER_COMPONENT_???"); + tprint_struct_next(); + PRINT_FIELD_XVAL(*cc, scope, counter_ioctl_scopes, + "COUNTER_SCOPE_???"); + tprint_struct_next(); + PRINT_FIELD_U(*cc, parent); + tprint_struct_next(); + PRINT_FIELD_U(*cc, id); + tprint_struct_end(); +} + +static void +print_struct_counter_watch(struct tcb *const tcp, const kernel_ulong_t addr) +{ + CHECK_IOCTL_SIZE(COUNTER_ADD_WATCH_IOCTL, 6); + CHECK_TYPE_SIZE(struct counter_watch, 6); + struct counter_watch w; + + if (umove_or_printaddr(tcp, addr, &w)) + return; + + tprint_struct_begin(); + PRINT_FIELD_OBJ_PTR(w, component, print_struct_counter_component); + tprint_struct_next(); + PRINT_FIELD_XVAL(w, event, counter_ioctl_event_types, + "COUNTER_EVENT_???"); + tprint_struct_next(); + PRINT_FIELD_U(w, channel); + tprint_struct_end(); +} + +int +counter_ioctl(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg) +{ + switch (code) { + case COUNTER_ADD_WATCH_IOCTL: + tprint_arg_next(); + print_struct_counter_watch(tcp, arg); + return RVAL_IOCTL_DECODED; + + case COUNTER_ENABLE_EVENTS_IOCTL: + case COUNTER_DISABLE_EVENTS_IOCTL: + return RVAL_IOCTL_DECODED; + + default: + return RVAL_DECODED; + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/defs.h -> _service:tar_scm:strace-6.1.tar.xz/src/defs.h
Changed
@@ -2,7 +2,7 @@ * Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl> * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -322,6 +322,9 @@ void *unwind_ctx; struct unwind_queue_t *unwind_queue; # endif + +# define PROC_COMM_LEN 16 + char commPROC_COMM_LEN; }; /* TCB flags */ @@ -415,13 +418,17 @@ extern const struct xlat ipc_private; extern const struct xlat msg_flags; extern const struct xlat netlink_protocols; +extern const struct xlat nl_bridge_vlan_flags; extern const struct xlat nl_netfilter_msg_types; extern const struct xlat nl_route_types; extern const struct xlat open_access_modes; extern const struct xlat open_mode_flags; +extern const struct xlat perf_type_id; extern const struct xlat pollflags; extern const struct xlat ptrace_cmds; extern const struct xlat resource_flags; +extern const struct xlat route_nexthop_flags; +extern const struct xlat routing_protocols; extern const struct xlat routing_scopes; extern const struct xlat routing_table_ids; extern const struct xlat routing_types; @@ -473,6 +480,7 @@ enum sock_proto { SOCK_PROTO_UNKNOWN, SOCK_PROTO_UNIX, + SOCK_PROTO_UNIX_STREAM, SOCK_PROTO_TCP, SOCK_PROTO_UDP, SOCK_PROTO_UDPLITE, @@ -505,10 +513,14 @@ extern int Tflag_width; extern bool iflag; extern bool count_wallclock; -extern unsigned int pidns_translation; + +struct path_set_item { + const char *path; +}; + /* are we filtering traces based on paths? */ extern struct path_set { - const char **paths_selected; + struct path_set_item *paths_selected; size_t num_selected; size_t size; } global_path_set; @@ -517,6 +529,12 @@ HEXSTR_NONE, HEXSTR_NON_ASCII, HEXSTR_ALL, + /* + * It is here (after HEXSTR_ALL and not before HEXSTR_NON_ASCII) because + * none/non-ascii/all are historic options values that are supported + * via -x option. + */ + HEXSTR_NON_ASCII_CHARS, NUM_HEXSTR_OPTS }; @@ -565,13 +583,22 @@ extern kernel_ulong_t get_rt_sigframe_addr(struct tcb *); /** - * Convert a (shuffled) syscall number to the corresponding syscall name. + * Convert a pair of (raw) syscall number and arch (defined by an AUDIT_ARCH_* + * constant) to the corresponding syscall name. So far works only for arches + * that are present in personalities supported by strace binary. * - * @param scno Syscall number. - * @return String literal corresponding to the syscall number in case latter - * is valid; NULL otherwise. + * @param nr Raw syscall number. + * @param arch AUDIT_ARCH_* constant that identifies the architecture. + * @param prefix If arch corresponds to current personality (and the argument + * is non-NULL), an appropriate __NR_* constant prefix + * is to be stored at the address pointed by the argument. + * If arch corresponds to a different personality, or syscall + * name has not been found, NULL is stored. + * @return String literal corresponding to the syscall number in case + * the latter is valid; NULL otherwise. */ -extern const char *syscall_name(kernel_ulong_t scno); +extern const char *syscall_name_arch(kernel_ulong_t nr, unsigned int arch, + const char **prefix); /** * Convert a syscall name to the corresponding (shuffled) syscall number. * @@ -588,9 +615,21 @@ * The shuffling should be an involution: shuffle_scno(shuffle_scno(n)) == n. * * @param scno Raw or shuffled syscall number. + * @param pers Personality to shuffle scno for. * @return Shuffled or raw syscall number, respectively. */ -extern kernel_ulong_t shuffle_scno(kernel_ulong_t scno); +extern kernel_ulong_t shuffle_scno_pers(kernel_ulong_t scno, int pers); +/** + * Shorthand for shuffle_scno_pers() for the current personality. + * + * @param scno Raw or shuffled syscall number. + * @return Shuffled or raw syscall number, respectively. + */ +static inline kernel_ulong_t +shuffle_scno(kernel_ulong_t scno) +{ + return shuffle_scno_pers(scno, current_personality); +} /** * Print error name in accordance with current xlat style setting. * @@ -681,6 +720,24 @@ umoven_or_printaddr((pid), (addr), sizeof(*(objp)), (void *) (objp)) /** + * Retrieves up to 8 bytes (that are treated as a single unsigned integer value) + * and puts it into variable pointed by laddr; + * + * @return 0 on success, -1 (and print addr) on error or if len is more + * than size of uint64_t. + */ +extern int +umoven_to_uint64_or_printaddr64(struct tcb *, uint64_t addr, + unsigned int len, uint64_t *laddr); + +static inline int +umoven_to_uint64_or_printaddr(struct tcb *tcp, const kernel_ulong_t addr, + unsigned int len, uint64_t *laddr) +{ + return umoven_to_uint64_or_printaddr64(tcp, addr, len, laddr); +} + +/** * @return 0 on success, -1 on error (and print addr). */ extern int @@ -718,6 +775,7 @@ extern const char *signame(const int); extern const char *sprintsigname(const int); + extern void pathtrace_select_set(const char *, struct path_set *); extern bool pathtrace_match_set(struct tcb *, struct path_set *); @@ -733,12 +791,28 @@ return pathtrace_match_set(tcp, &global_path_set); } -extern int getfdpath_pid(pid_t pid, int fd, char *buf, unsigned bufsize); +/** + * Resolves a path for a fd procfs PID proc_pid (the one got from + * get_proc_pid()). + * + * @param proc_pid PID number in /proc, obtained with get_proc_pid(). + * @param fd FD to resolve path for. + * @param buf Buffer to store the resolved path in. + * @param bufsize The size of buf. + * @param deleted If non-NULL, set to true if the path associated with the FD + * seems to have been unlinked and to false otherwise. + * @return Number of bytes written including terminating '\0'. + */ +extern int get_proc_pid_fd_path(int proc_pid, int fd, char *buf, + unsigned bufsize, bool *deleted); + +extern int getfdpath_pid(pid_t pid, int fd, char *buf, unsigned bufsize, + bool *deleted); static inline int getfdpath(struct tcb *tcp, int fd, char *buf, unsigned bufsize) { - return getfdpath_pid(tcp->pid, fd, buf, bufsize); + return getfdpath_pid(tcp->pid, fd, buf, bufsize, NULL); } extern unsigned long getfdinode(struct tcb *, int); @@ -781,9 +855,29 @@ /** Print ellipsis if the last character is not '\0' */ # define QUOTE_EXPECT_TRAILING_0 0x10 /** Print string in hex (using '\xHH' notation). */ -# define QUOTE_FORCE_HEX 0x20 +# define QUOTE_FORCE_HEX (QUOTE_OVERWRITE_HEXSTR | QUOTE_HEXSTR_ALL) /** Enclose the string in C comment syntax. */ # define QUOTE_EMIT_COMMENT 0x40 +/** Override xflag setting with one of QUOTE_HEXSTR_NA* styles */ +# define QUOTE_OVERWRITE_HEXSTR 0x80 + +/* + * bits 8..9 (mask 0x300) are used for supplying the respective hexstr setting + * if QUOTE_OVERWRITE_HEXSTR is set. + */ +# define QUOTE_HEXSTR_SHIFT 8 +/** + * Mask to be applied to a quoting style to extract the xflag overriding style + * part. + */ +# define QUOTE_HEXSTR_MASK (0x3 << QUOTE_HEXSTR_SHIFT) +static_assert((NUM_HEXSTR_OPTS - 1) <= (QUOTE_HEXSTR_MASK >> QUOTE_HEXSTR_SHIFT), + "xflag options do not fit into QUOTE_HEXSTR_MASK"); + +# define QUOTE_HEXSTR_NONE (HEXSTR_NONE << QUOTE_HEXSTR_SHIFT) +# define QUOTE_HEXSTR_ALL (HEXSTR_ALL << QUOTE_HEXSTR_SHIFT) +# define QUOTE_HEXSTR_NON_ASCII (HEXSTR_NON_ASCII << QUOTE_HEXSTR_SHIFT) +# define QUOTE_HEXSTR_NON_ASCII_CHARS (HEXSTR_NON_ASCII_CHARS << QUOTE_HEXSTR_SHIFT) extern int string_quote(const char *, char *, unsigned int, unsigned int, const char *escape_chars); @@ -906,12 +1000,9 @@ # define MAX_ADDR_LEN 32 # endif -extern const char *sprint_mac_addr(const uint8_t addr, size_t size); extern void print_mac_addr(const char *prefix, const uint8_t addr, size_t size); -extern const char *sprint_hwaddr(const uint8_t addr, size_t size, - uint32_t devtype); extern void print_hwaddr(const char *prefix, const uint8_t addr, size_t size, uint32_t devtype); @@ -925,44 +1016,15 @@ extern void print_abnormal_hi(kernel_ulong_t); extern void print_ioprio(unsigned int ioprio); -extern bool print_int8_array_member(struct tcb *, void *elem_buf, +extern bool print_int_array_member(struct tcb *, void *elem_buf, + size_t elem_size, void *data); +extern bool print_uint_array_member(struct tcb *, void *elem_buf, + size_t elem_size, void *data); +extern bool print_xint_array_member(struct tcb *, void *elem_buf, size_t elem_size, void *data); -extern bool print_uint8_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_xint8_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_int32_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_uint32_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_xint32_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_uint64_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); -extern bool print_xint64_array_member(struct tcb *, void *elem_buf, - size_t elem_size, void *data); extern bool print_fd_array_member(struct tcb *, void *elem_buf, size_t elem_size, void *data); -static inline bool -print_xlong_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - return dispatch_wordsize(print_xint64_array_member, - print_xint32_array_member, - tcp, elem_buf, elem_size, data); -} - -static inline bool -print_kulong_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - return dispatch_klongsize(print_uint64_array_member, - print_uint32_array_member, - tcp, elem_buf, elem_size, data); -} - - typedef bool (*tfetch_mem_fn)(struct tcb *, kernel_ulong_t addr, unsigned int size, void *dest); typedef bool (*print_fn)(struct tcb *, void *elem_buf, @@ -976,29 +1038,32 @@ /** - * Array printing function with over-engineered interface. + * Array printing function with an over-engineered interface. * - * @param start_addr If tfetch_mem_fn is non-NULL: address in tracee's + * @param start_addr If tfetch_mem_fn is non-NULL: an address in tracee's * memory where the start of the array is located. * If tfetch_mem_fn is NULL: ignored. - * @param nmemb Number of elements in array. + * @param nmemb Number of elements in the array. * @param elem_buf If tfetch_mem_fn is non-NULL: a buffer where each * element fetched by tfetch_mem_fn is stored. - * If tfetch_mem_fn is NULL: address of the start of - * the array in local memory. - * @param elem_size Size (in bytes) of each element in the array. - * @param tfetch_mem_fn Fetching function. If NULL, then elem_buf is treated - * as local array of nmemb members elem_size each; - * start_addr is ignored. + * If tfetch_mem_fn is NULL: an address of the start + * of the array in strace's memory. + * @param elem_size Size (in bytes) of the each element in the array. + * @param tfetch_mem_fn Fetching function. If it is NULL, then elem_buf + * is treated as a local array of nmemb members + * of elem_size each, and start_addr is ignored. * @param print_func Element printing callback. * @param opaque_data A value that is unconditionally passed to print_func - * in opaque_data argument. + * in the opaque_data argument. * @param flags Combination of xlat style settings and additional - * flags from enum print_array_flags. - * @param index_xlat Xlat array that is used for printing indices. - * @param index_xlat_size The size of xlat array. + * flags from enum print_array_flags that are appled + * to index printing. + * @param index_xlat xlat that is used for printing indices. * @param index_dflt Default string for the values not found * in index_xlat. + * @return true if at least one element has been fetched + * successfully (tfetch_mem_fn returned true); + * false otherwise. */ extern bool print_array_ex(struct tcb *, @@ -1205,7 +1270,6 @@ extern void print_ax25_addr(const void /* ax25_address */ *addr); extern void print_x25_addr(const void /* struct x25_address */ *addr); extern const char *get_sockaddr_by_inode(struct tcb *, int fd, unsigned long inode); -extern bool print_sockaddr_by_inode(struct tcb *, int fd, unsigned long inode); /** * Prints dirfd file descriptor and saves it in tcp->last_dirfd, @@ -1275,8 +1339,32 @@ extern const char *get_ifname(const unsigned int ifindex); extern void print_ifindex(unsigned int); +struct tcpvegas_info; +extern void print_tcpvegas_info(struct tcb *tcp, + const struct tcpvegas_info *vegas, + unsigned int len); +struct tcp_dctcp_info; +extern void print_tcp_dctcp_info(struct tcb *tcp, + const struct tcp_dctcp_info *dctcp, + unsigned int len); +struct tcp_bbr_info; +extern void print_tcp_bbr_info(struct tcb *tcp, const struct tcp_bbr_info *bbr, + unsigned int len); + extern void print_bpf_filter_code(const uint16_t code, bool extended); +/** + * Prints a CPU set, pointed at by addr, as a list of CPU IDs. CPU set + * (CPU mask, CPU affinity set, CPU affinity list) is a bit set represented + * as an array of elements of unsigned long type. + * + * @param tcp TCB pointer. + * @param addr An address of the CPU set. + * @param len Length of CPU set in bytes. + */ +extern void print_affinitylist(struct tcb *const tcp, const kernel_ulong_t addr, + const unsigned int len); + extern void qualify(const char *); extern void qualify_trace(const char *); extern void qualify_abbrev(const char *); @@ -1286,6 +1374,7 @@ extern void qualify_status(const char *); extern void qualify_quiet(const char *); extern void qualify_decode_fd(const char *); +extern void qualify_decode_pid(const char *); extern void qualify_read(const char *); extern void qualify_write(const char *); extern void qualify_fault(const char *); @@ -1298,6 +1387,7 @@ name ## _ioctl(struct tcb *, unsigned int request, kernel_ulong_t arg) \ /* End of DECL_IOCTL definition. */ +DECL_IOCTL(counter); DECL_IOCTL(dm); DECL_IOCTL(evdev); DECL_IOCTL(fs_0x94); @@ -1305,11 +1395,14 @@ DECL_IOCTL(fs_x); DECL_IOCTL(gpio); DECL_IOCTL(inotify); +DECL_IOCTL(kd); DECL_IOCTL(kvm); +DECL_IOCTL(lirc); DECL_IOCTL(nbd); DECL_IOCTL(nsfs); DECL_IOCTL(ptp); DECL_IOCTL(random); +DECL_IOCTL(seccomp); DECL_IOCTL(scsi); DECL_IOCTL(tee); DECL_IOCTL(term); @@ -1417,12 +1510,14 @@ extern double ts_float(const struct timespec *); extern void ts_add(struct timespec *, const struct timespec *, const struct timespec *); extern void ts_sub(struct timespec *, const struct timespec *, const struct timespec *); -extern void ts_mul(struct timespec *, const struct timespec *, uint64_t); extern void ts_div(struct timespec *, const struct timespec *, uint64_t); extern const struct timespec *ts_min(const struct timespec *, const struct timespec *); extern const struct timespec *ts_max(const struct timespec *, const struct timespec *); extern int parse_ts(const char *s, struct timespec *t); +/** Print a clock_t value, as used by times(2) (and not clock(3)). */ +extern void print_clock_t(uint64_t val); + # ifdef ENABLE_STACKTRACE extern void unwind_init(void); extern void unwind_tcb_init(struct tcb *); @@ -1436,6 +1531,10 @@ extern void kvm_vcpu_info_free(struct tcb *); # endif +extern void maybe_load_task_comm(struct tcb *tcp); +/* Print the contents of /proc/$pid/comm. */ +extern void print_pid_comm(int pid); + static inline int printstrn(struct tcb *tcp, kernel_ulong_t addr, kernel_ulong_t len) { @@ -1707,6 +1806,32 @@ } } +static inline kernel_long_t +truncate_klong_to_current_klongsize(const kernel_long_t v) +{ +# if ANY_WORDSIZE_LESS_THAN_KERNEL_LONG + if (current_klongsize < sizeof(v)) { + return (int) v; + } else +# endif + { + return v; + } +} + +static inline kernel_ulong_t +truncate_kulong_to_current_klongsize(const kernel_ulong_t v) +{ +# if ANY_WORDSIZE_LESS_THAN_KERNEL_LONG + if (current_klongsize < sizeof(v)) { + return (unsigned int) v; + } else +# endif + { + return v; + } +} + /* * Cast a pointer or a pointer-sized integer to kernel_ulong_t. */ @@ -1763,8 +1888,6 @@ extern const struct_ioctlent ioctlent0; extern const char *const personality_names; -/* Personality designators to be used for specifying personality */ -extern const char *const personality_designators; # if SUPPORTED_PERSONALITIES > 1 extern const struct_sysent *sysent; @@ -1781,6 +1904,13 @@ extern const struct_sysent *const sysent_vecSUPPORTED_PERSONALITIES; extern struct inject_opts *inject_vecSUPPORTED_PERSONALITIES; +struct audit_arch_t { + unsigned int arch; /* AUDIT_ARCH_* */ + unsigned int flag; +}; + +extern const struct audit_arch_t audit_arch_vecSUPPORTED_PERSONALITIES; + # ifdef ENABLE_COVERAGE_GCOV # ifdef HAVE_GCOV_H # include <gcov.h> @@ -1817,6 +1947,13 @@ return scno < nsyscalls; } +/* Like scno_in_range but for the specified personality. */ +static inline bool +scno_pers_in_range(kernel_ulong_t scno, unsigned int pers) +{ + return scno < nsyscall_vecpers; +} + /* * Checks whether scno is not out of range, * its corresponding sysentscno.sys_func is non-NULL, @@ -1830,6 +1967,15 @@ && !(sysentscno.sys_flags & TRACE_INDIRECT_SUBCALL); } +/* Like scno_is_valid but for the specified personality. */ +static inline bool +scno_pers_is_valid(kernel_ulong_t scno, unsigned int pers) +{ + return scno_pers_in_range(scno, pers) + && sysent_vecpersscno.sys_func + && !(sysent_vecpersscno.sys_flags & TRACE_INDIRECT_SUBCALL); +} + # define MPERS_FUNC_NAME__(prefix, name) prefix ## name # define MPERS_FUNC_NAME_(prefix, name) MPERS_FUNC_NAME__(prefix, name) # define MPERS_FUNC_NAME(name) MPERS_FUNC_NAME_(MPERS_PREFIX, name)
View file
_service:tar_scm:strace-5.14.tar.xz/src/disable_ptrace_request.c -> _service:tar_scm:strace-6.1.tar.xz/src/disable_ptrace_request.c
Changed
@@ -104,12 +104,6 @@ if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) perror_msg_and_die("PR_SET_NO_NEW_PRIVS"); -# ifdef WORDS_BIGENDIAN -# define ARG_OFFSET sizeof(uint32_t) -# else -# define ARG_OFFSET 0 -# endif - struct sock_filter filter = { /* load the architecture */ BPF_STMT(BPF_LD | BPF_W | BPF_ABS, @@ -123,7 +117,8 @@ BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, __NR_ptrace, 0, 3), /* load the 1st syscall argument */ BPF_STMT(BPF_LD | BPF_W | BPF_ABS, \ - offsetof(struct seccomp_data, args0) + ARG_OFFSET), + offsetof(struct seccomp_data, args0) + + (is_bigendian ? sizeof(uint32_t) : 0)), /* jump to "allow" if it is not equal to DISABLE_PTRACE_REQUEST */ BPF_JUMP(BPF_JMP | BPF_K | BPF_JEQ, DISABLE_PTRACE_REQUEST, 0, 1), /* reject */
View file
_service:tar_scm:strace-5.14.tar.xz/src/dm.c -> _service:tar_scm:strace-6.1.tar.xz/src/dm.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 2016 Masatake Yamato <yamato@redhat.com> * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -99,27 +99,88 @@ PRINT_FIELD_FLAGS(*ioc, flags, dm_flags, "DM_???"); } +static bool +dm_ioctl_has_params(const unsigned int code) +{ + switch (code) { + case DM_VERSION: + case DM_REMOVE_ALL: + case DM_DEV_CREATE: + case DM_DEV_REMOVE: + case DM_DEV_SUSPEND: + case DM_DEV_STATUS: + case DM_TABLE_CLEAR: + case DM_DEV_ARM_POLL: + return false; + } + + return true; +} + +static bool +dm_decode_header(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg, const struct dm_ioctl *const ioc) +{ + bool rc = false; + + tprint_struct_begin(); + /* + * device mapper code uses %d in some places and %u in another, but + * fields themselves are declared as __u32. + */ + PRINT_FIELD_U_ARRAY(*ioc, version); + /* + * if we use a different version of ABI, do not attempt to decode + * ioctl fields + */ + if (ioc->version0 != DM_VERSION_MAJOR) { + tprints_comment("unsupported device mapper ABI version"); + goto skip; + } + + tprint_struct_next(); + PRINT_FIELD_U(*ioc, data_size); + + if (ioc->data_size < offsetof(struct dm_ioctl, data)) { + tprints_comment("data_size too small"); + goto skip; + } + + if (dm_ioctl_has_params(code)) { + tprint_struct_next(); + PRINT_FIELD_U(*ioc, data_start); + } + + dm_decode_device(code, ioc); + dm_decode_values(tcp, code, ioc); + dm_decode_flags(ioc); + rc = true; + + skip: + tprint_struct_end(); + return rc; +} + static void dm_decode_dm_target_spec(struct tcb *const tcp, const kernel_ulong_t addr, const struct dm_ioctl *const ioc) { static const uint32_t target_spec_size = sizeof(struct dm_target_spec); - uint32_t i; uint32_t offset = ioc->data_start; uint32_t offset_end = 0; if (abbrev(tcp)) { if (ioc->target_count) { - tprints(", "); + tprint_array_next(); tprint_more_data_follows(); } return; } - for (i = 0; i < ioc->target_count; i++) { - tprints(", "); + for (uint32_t i = 0; i < ioc->target_count; ++i) { + tprint_array_next(); if (i && offset <= offset_end) goto misplaced; @@ -188,7 +249,7 @@ if (ioc->data_start == ioc->data_size) return; - tprints(", "); + tprint_array_next(); if (abbrev(tcp)) { tprint_more_data_follows(); @@ -240,20 +301,19 @@ struct dm_name_list s; uint32_t offset = ioc->data_start; uint32_t offset_end = 0; - uint32_t count; int rc; if (ioc->data_start == ioc->data_size) return; if (abbrev(tcp)) { - tprint_struct_next(); + tprint_array_next(); tprint_more_data_follows(); return; } - for (count = 0;; count++) { - tprints(", "); + for (uint32_t count = 0;; ++count) { + tprint_array_next(); if (count && offset <= offset_end) goto misplaced; @@ -332,19 +392,18 @@ struct dm_target_versions s; uint32_t offset = ioc->data_start; uint32_t offset_end = 0; - uint32_t count; if (ioc->data_start == ioc->data_size) return; if (abbrev(tcp)) { - tprint_struct_next(); + tprint_array_next(); tprint_more_data_follows(); return; } - for (count = 0;; count++) { - tprints(", "); + for (uint32_t count = 0;; ++count) { + tprint_array_next(); if (count && offset <= offset_end) goto misplaced; @@ -390,7 +449,7 @@ if (ioc->data_start == ioc->data_size) return; - tprints(", "); + tprint_array_next(); if (abbrev(tcp)) { tprint_more_data_follows(); @@ -425,7 +484,7 @@ dm_decode_string(struct tcb *const tcp, const kernel_ulong_t addr, const struct dm_ioctl *const ioc) { - tprints(", "); + tprint_array_next(); if (abbrev(tcp)) { tprint_more_data_follows(); @@ -435,31 +494,55 @@ uint32_t offset = ioc->data_start; if (offset <= ioc->data_size) { + tprint_struct_begin(); tprints_field_name("string"); printstr_ex(tcp, addr + offset, ioc->data_size - offset, QUOTE_0_TERMINATED); + tprint_struct_end(); } else { tprint_unavailable(); tprints_comment("misplaced string"); } } -static inline bool -dm_ioctl_has_params(const unsigned int code) +static void +dm_decode_payload(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg, const struct dm_ioctl *const ioc) { switch (code) { - case DM_VERSION: - case DM_REMOVE_ALL: - case DM_DEV_CREATE: - case DM_DEV_REMOVE: - case DM_DEV_SUSPEND: - case DM_DEV_STATUS: - case DM_TABLE_CLEAR: - case DM_DEV_ARM_POLL: - return false; + case DM_DEV_WAIT: + case DM_TABLE_STATUS: + if (exiting(tcp) && !syserror(tcp)) + dm_decode_dm_target_spec(tcp, arg, ioc); + break; + case DM_TABLE_LOAD: + if (entering(tcp)) + dm_decode_dm_target_spec(tcp, arg, ioc); + break; + case DM_TABLE_DEPS: + if (exiting(tcp) && !syserror(tcp)) + dm_decode_dm_target_deps(tcp, arg, ioc); + break; + case DM_LIST_DEVICES: + if (exiting(tcp) && !syserror(tcp)) + dm_decode_dm_name_list(tcp, arg, ioc); + break; + case DM_LIST_VERSIONS: + if (exiting(tcp) && !syserror(tcp)) + dm_decode_dm_target_versions(tcp, arg, ioc); + break; + case DM_TARGET_MSG: + if (entering(tcp)) + dm_decode_dm_target_msg(tcp, arg, ioc); + else if (!syserror(tcp) && ioc->flags & DM_DATA_OUT_FLAG) + dm_decode_string(tcp, arg, ioc); + break; + case DM_DEV_RENAME: + case DM_DEV_SET_GEOMETRY: + if (entering(tcp)) + dm_decode_string(tcp, arg, ioc); + break; } - - return true; } static int @@ -513,81 +596,11 @@ else tprint_value_changed(); - tprint_struct_begin(); - /* - * device mapper code uses %d in some places and %u in another, but - * fields themselves are declared as __u32. - */ - PRINT_FIELD_U_ARRAY(*ioc, version); - /* - * if we use a different version of ABI, do not attempt to decode - * ioctl fields - */ - if (ioc->version0 != DM_VERSION_MAJOR) { - tprints_comment("unsupported device mapper ABI version"); - goto skip; - } - - tprint_struct_next(); - PRINT_FIELD_U(*ioc, data_size); - - if (ioc->data_size < offsetof(struct dm_ioctl, data)) { - tprints_comment("data_size too small"); - goto skip; - } + tprint_array_begin(); + if (dm_decode_header(tcp, code, arg, ioc)) + dm_decode_payload(tcp, code, arg, ioc); + tprint_array_end(); - if (dm_ioctl_has_params(code)) { - tprint_struct_next(); - PRINT_FIELD_U(*ioc, data_start); - } - - dm_decode_device(code, ioc); - dm_decode_values(tcp, code, ioc); - dm_decode_flags(ioc); - - switch (code) { - case DM_DEV_WAIT: - case DM_TABLE_STATUS: - if (entering(tcp) || syserror(tcp)) - break; - dm_decode_dm_target_spec(tcp, arg, ioc); - break; - case DM_TABLE_LOAD: - if (exiting(tcp)) - break; - dm_decode_dm_target_spec(tcp, arg, ioc); - break; - case DM_TABLE_DEPS: - if (entering(tcp) || syserror(tcp)) - break; - dm_decode_dm_target_deps(tcp, arg, ioc); - break; - case DM_LIST_DEVICES: - if (entering(tcp) || syserror(tcp)) - break; - dm_decode_dm_name_list(tcp, arg, ioc); - break; - case DM_LIST_VERSIONS: - if (entering(tcp) || syserror(tcp)) - break; - dm_decode_dm_target_versions(tcp, arg, ioc); - break; - case DM_TARGET_MSG: - if (entering(tcp)) - dm_decode_dm_target_msg(tcp, arg, ioc); - else if (!syserror(tcp) && ioc->flags & DM_DATA_OUT_FLAG) - dm_decode_string(tcp, arg, ioc); - break; - case DM_DEV_RENAME: - case DM_DEV_SET_GEOMETRY: - if (exiting(tcp)) - break; - dm_decode_string(tcp, arg, ioc); - break; - } - - skip: - tprint_struct_end(); return entering(tcp) ? 0 : RVAL_IOCTL_DECODED; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/dyxlat.c -> _service:tar_scm:strace-6.1.tar.xz/src/dyxlat.c
Changed
@@ -29,9 +29,7 @@ void dyxlat_free(struct dyxlat *const dyxlat) { - size_t i; - - for (i = 0; i < dyxlat->xlat.size; ++i) { + for (size_t i = 0; i < dyxlat->xlat.size; ++i) { free((void *) dyxlat->datai.str); dyxlat->datai.str = NULL; } @@ -51,9 +49,7 @@ dyxlat_add_pair(struct dyxlat *const dyxlat, const uint64_t val, const char *const str, const size_t len) { - size_t i; - - for (i = 0; i < dyxlat->xlat.size; ++i) { + for (size_t i = 0; i < dyxlat->xlat.size; ++i) { if (dyxlat->datai.val == val) { if (strncmp(dyxlat->datai.str, str, len) == 0 && dyxlat->datai.strlen == '\0')
View file
_service:tar_scm:strace-5.14.tar.xz/src/error_prints.c -> _service:tar_scm:strace-6.1.tar.xz/src/error_prints.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -21,15 +21,16 @@ extern char *program_invocation_name; #endif -static void +static void ATTRIBUTE_FORMAT((__printf__, 2, 0)) verror_msg(int err_no, const char *fmt, va_list p) { char *msg; fflush(NULL); - /* We want to print entire message with single fprintf to ensure - * message integrity if stderr is shared with other programs. + /* + * We want to print the entire message with a single fprintf to ensure + * the message integrity if stderr is shared with other programs. * Thus we use vasprintf + single fprintf. */ msg = NULL; @@ -50,9 +51,11 @@ else putc('\n', stderr); } - /* We don't switch stderr to buffered, thus fprintf(stderr) - * always flushes its output and this is not necessary: */ - /* fflush(stderr); */ + /* + * We don't switch stderr to buffered, thus fprintf(stderr) + * always flushes its output and this is not necessary: + * fflush(stderr); + */ } void
View file
_service:tar_scm:strace-5.14.tar.xz/src/evdev.c -> _service:tar_scm:strace-6.1.tar.xz/src/evdev.c
Changed
@@ -198,7 +198,7 @@ if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_ABBREV) { print_local_array_ex(tcp, decoded_arg, size / current_wordsize, - current_wordsize, print_xlong_array_member, + current_wordsize, print_xint_array_member, NULL, 0, NULL, NULL); } @@ -233,7 +233,7 @@ tprints_field_name("values"); int val; print_array(tcp, arg + sizeof(val), size - 1, &val, sizeof(val), - tfetch_mem, print_int32_array_member, NULL); + tfetch_mem, print_int_array_member, NULL); tprint_struct_end();
View file
_service:tar_scm:strace-5.14.tar.xz/src/fanotify.c -> _service:tar_scm:strace-6.1.tar.xz/src/fanotify.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -26,7 +26,7 @@ printxval(fan_classes, flags & FAN_ALL_CLASS_BITS, "FAN_CLASS_???"); flags &= ~FAN_ALL_CLASS_BITS; if (flags) { - tprints("|"); + tprint_or(); printflags(fan_init_flags, flags, "FAN_???"); } tprint_arg_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/fcntl.c -> _service:tar_scm:strace-6.1.tar.xz/src/fcntl.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -12,6 +12,19 @@ #include "defs.h" #include <linux/fcntl.h> +/* Working around UAPI breakage in v5.19-rc1~89^2~9^2~18 */ +#ifndef F_GETLK64 +# ifdef __mips__ +# define F_GETLK64 33 +# define F_SETLK64 34 +# define F_SETLKW64 35 +# else +# define F_GETLK64 12 +# define F_SETLK64 13 +# define F_SETLKW64 14 +# endif +#endif /* !F_GETLK64 */ + #include "xlat/f_owner_types.h" #include "xlat/f_seals.h" #include "xlat/fcntlcmds.h"
View file
_service:tar_scm:strace-5.14.tar.xz/src/filter_qualify.c -> _service:tar_scm:strace-6.1.tar.xz/src/filter_qualify.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -14,6 +14,7 @@ #include "poke.h" #include "retval.h" #include "static_assert.h" +#include "secontext.h" struct number_set *read_set; struct number_set *write_set; @@ -21,6 +22,7 @@ struct number_set *status_set; struct number_set *quiet_set; struct number_set *decode_fd_set; +struct number_set *decode_pid_set; struct number_set *trace_set; bool quiet_set_updated = false; @@ -109,6 +111,17 @@ } static int +decode_pid_str_to_uint(const char *str) +{ + static const struct xlat_data decode_pid_strs = { + { DECODE_PID_NS_TRANSLATION, "pidns" }, + { DECODE_PID_COMM, "comm" }, + }; + + return (int) find_arg_val(str, decode_pid_strs, -1ULL, -1ULL); +} + +static int find_errno_by_name(const char *name) { for (unsigned int i = 1; i < nerrnos; ++i) { @@ -143,11 +156,7 @@ static bool parse_poke_token(const char *input, struct inject_opts *fopts, bool isenter) { - char *token, *str_tokenized, *saveptr = NULL; - const char *val; - size_t data_len; unsigned flag = isenter ? INJECT_F_POKE_ENTER : INJECT_F_POKE_EXIT; - struct poke_payload *poke; /* disallow duplicates */ if (fopts->data.flags & flag) @@ -160,15 +169,17 @@ if (fopts->data.poke_idx == (uint16_t) -1) fopts->data.poke_idx = alloc_poke_data(); - saveptr = NULL; - str_tokenized = xstrdup(input); - for (token = strtok_r(str_tokenized, ",", &saveptr); + char *saveptr = NULL; + char *str_tokenized = xstrdup(input); + struct poke_payload *poke; + for (char *token = strtok_r(str_tokenized, ",", &saveptr); token; token = strtok_r(NULL, ",", &saveptr)) { poke = xcalloc(1, sizeof(*poke)); poke->is_enter = isenter; - if ((val = STR_STRIP_PREFIX(token, "@arg")) == token) + const char *val = STR_STRIP_PREFIX(token, "@arg"); + if (val == token) goto err; if ((val0 >= '1') && (val0 <= '7')) { poke->arg_no = val0 - '0'; @@ -179,7 +190,7 @@ goto err; val += 2; - data_len = strlen(val); + size_t data_len = strlen(val); if ((data_len == 0) || (data_len % 2) || (data_len > 2048)) goto err; data_len /= 2; @@ -205,7 +216,7 @@ return false; } -static inline void +static void check_inadvertent_fault_injection(unsigned long long ullval) { #if ANY_WORDSIZE_LESS_THAN_KERNEL_LONG @@ -468,6 +479,15 @@ } void +qualify_decode_pid(const char *const str) +{ + if (!decode_pid_set) + decode_pid_set = alloc_number_set_array(1); + qualify_tokens(str, decode_pid_set, decode_pid_str_to_uint, + "decode-pids"); +} + +void qualify_trace(const char *const str) { if (!trace_set) @@ -601,6 +621,34 @@ } } +#ifdef ENABLE_SECONTEXT +struct number_set *secontext_set; + +static int +secontextstr_to_uint(const char *s) +{ + static const struct xlat_data secontext_strs = { + { SECONTEXT_FULL, "full" }, + { SECONTEXT_MISMATCH, "mismatch" }, + }; + + return (int) find_arg_val(s, secontext_strs, -1ULL, -1ULL); +} +#endif + +void +qualify_secontext(const char *const str) +{ +#ifdef ENABLE_SECONTEXT + if (!secontext_set) + secontext_set = alloc_number_set_array(1); + qualify_tokens(str, secontext_set, secontextstr_to_uint, "secontext"); +#else + error_msg_and_die("SELinux context printing (--secontext option) " + "is not supported by this build of strace"); +#endif +} + static const struct qual_options { const char *name; void (*qualify)(const char *); @@ -615,8 +663,8 @@ { "x", qualify_raw }, { "signal", qualify_signals }, { "signals", qualify_signals }, - { "status", qualify_status }, { "s", qualify_signals }, + { "status", qualify_status }, { "quiet", qualify_quiet }, { "silent", qualify_quiet }, { "silence", qualify_quiet }, @@ -632,6 +680,9 @@ { "kvm", qualify_kvm }, { "decode-fd", qualify_decode_fd }, { "decode-fds", qualify_decode_fd }, + { "decode-pid", qualify_decode_pid }, + { "decode-pids", qualify_decode_pid }, + { "secontext", qualify_secontext }, }; void
View file
_service:tar_scm:strace-5.14.tar.xz/src/filter_seccomp.c -> _service:tar_scm:strace-6.1.tar.xz/src/filter_seccomp.c
Changed
@@ -24,15 +24,6 @@ #include <linux/seccomp.h> -/* PERSONALITY*_AUDIT_ARCH definitions depend on AUDIT_ARCH_* constants. */ -#ifdef PERSONALITY0_AUDIT_ARCH -# include <linux/audit.h> -# define XLAT_MACROS_ONLY -# include "xlat/elf_em.h" -# include "xlat/audit_arch.h" -# undef XLAT_MACROS_ONLY -#endif - #ifndef BPF_MAXINSNS # define BPF_MAXINSNS 4096 #endif @@ -50,21 +41,6 @@ #define SET_BPF_JUMP(filter, code, k, jt, jf) \ SET_BPF(filter, BPF_JMP | code, jt, jf, k) -struct audit_arch_t { - unsigned int arch; - unsigned int flag; -}; - -static const struct audit_arch_t audit_arch_vecSUPPORTED_PERSONALITIES = { -#if SUPPORTED_PERSONALITIES > 1 - PERSONALITY0_AUDIT_ARCH, - PERSONALITY1_AUDIT_ARCH, -# if SUPPORTED_PERSONALITIES > 2 - PERSONALITY2_AUDIT_ARCH, -# endif -#endif -}; - typedef unsigned short (*filter_generator_t)(struct sock_filter *, bool *overflow); static unsigned short linear_filter_generator(struct sock_filter *, @@ -127,9 +103,7 @@ static int check_seccomp_order_tracer(int pid) { - unsigned int step; - - for (step = 0; ; ++step) { + for (unsigned int step = 0; ; ++step) { int status; for (;;) { @@ -283,7 +257,9 @@ { unsigned int always_trace_flags = TRACE_INDIRECT_SUBCALL | TRACE_SECCOMP_DEFAULT | - (stack_trace_enabled ? MEMORY_MAPPING_CHANGE : 0); + (stack_trace_enabled ? MEMORY_MAPPING_CHANGE : 0) | + (is_number_in_set(DECODE_PID_COMM, decode_pid_set) ? + COMM_CHANGE : 0); return sysent_vecpscno.sys_flags & always_trace_flags || is_number_in_set_array(scno, trace_set, p); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/futex.c -> _service:tar_scm:strace-6.1.tar.xz/src/futex.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 2007-2008 Ulrich Drepper <drepper@redhat.com> * Copyright (c) 2009 Andreas Schwab <schwab@redhat.com> * Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -113,20 +113,26 @@ tprint_arg_next(); if ((val3 >> 28) & FUTEX_OP_OPARG_SHIFT) { print_xlat(FUTEX_OP_OPARG_SHIFT); - tprints("<<28|"); + tprint_shift(); + PRINT_VAL_U(28); + tprint_or(); } comment = printxval(futexwakeops, (val3 >> 28) & 0x7, NULL) ? NULL : "FUTEX_OP_???"; - tprints("<<28"); + tprint_shift(); + PRINT_VAL_U(28); tprints_comment(comment); - tprints("|"); + tprint_or(); PRINT_VAL_X((val3 >> 12) & 0xfff); - tprints("<<12|"); + tprint_shift(); + PRINT_VAL_U(12); + tprint_or(); comment = printxval(futexwakecmps, (val3 >> 24) & 0xf, NULL) ? NULL : "FUTEX_OP_CMP_???"; - tprints("<<24"); + tprint_shift(); + PRINT_VAL_U(24); tprints_comment(comment); - tprints("|"); + tprint_or(); PRINT_VAL_X(val3 & 0xfff); break; case FUTEX_WAIT_REQUEUE_PI:
View file
_service:tar_scm:strace-6.1.tar.xz/src/futex_waitv.c
Added
@@ -0,0 +1,77 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * Copyright (c) 2021 André Almeida <andrealmeid@collabora.com> + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" +#include <linux/futex.h> +#include "xlat/futex_waiter_flags.h" + +struct print_waiter_data { + unsigned int count; +}; + +static bool +print_waiter(struct tcb * const tcp, void * const elem_buf, + const size_t elem_size, void * const data) +{ + struct futex_waitv *waiter = elem_buf; + struct print_waiter_data *p = data; + + if (p->count++ >= FUTEX_WAITV_MAX) { + tprint_more_data_follows(); + return false; + } + + tprint_struct_begin(); + PRINT_FIELD_X(*waiter, val); + + tprint_struct_next(); + PRINT_FIELD_ADDR64(*waiter, uaddr); + + tprint_struct_next(); + PRINT_FIELD_FLAGS(*waiter, flags, futex_waiter_flags, "FUTEX_???"); + + if (waiter->__reserved) { + tprint_struct_next(); + PRINT_FIELD_X(*waiter, __reserved); + } + + tprint_struct_end(); + return true; +} + +static void +print_waiter_array(struct tcb * const tcp, const kernel_ulong_t waiters, + const unsigned int nr_futexes) +{ + struct futex_waitv buf; + struct print_waiter_data data = {}; + + print_array(tcp, waiters, nr_futexes, &buf, sizeof(buf), + tfetch_mem, print_waiter, &data); +} + +SYS_FUNC(futex_waitv) +{ + const kernel_ulong_t waiters = tcp->u_arg0; + const unsigned int nr_futexes = tcp->u_arg1; + const unsigned int flags = tcp->u_arg2; + const kernel_ulong_t timeout = tcp->u_arg3; + const unsigned int clockid = tcp->u_arg4; + + print_waiter_array(tcp, waiters, nr_futexes); + tprint_arg_next(); + PRINT_VAL_U(nr_futexes); + tprint_arg_next(); + PRINT_VAL_X(flags); + tprint_arg_next(); + print_timespec64(tcp, timeout); + tprint_arg_next(); + printxval(clocknames, clockid, "CLOCK_???"); + + return RVAL_DECODED; +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/gcc_compat.h -> _service:tar_scm:strace-6.1.tar.xz/src/gcc_compat.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -58,15 +58,17 @@ # define ATTRIBUTE_PACKED /* empty */ # endif +/* + * Evaluates to: + * 1, if the given two types are known to be the same; + * 0, otherwise. + */ # if GNUC_PREREQ(3, 0) -# define SAME_TYPE(x, y) __builtin_types_compatible_p(typeof(x), typeof(y)) -# define FAIL_BUILD_ON_ZERO(expr) (sizeof(int-1 + 2 * !!(expr)) * 0) -/* &(a)0 is a pointer and not an array, shouldn't be treated as the same */ -# define MUST_BE_ARRAY(a) FAIL_BUILD_ON_ZERO(!SAME_TYPE((a), &(a)0)) +# define IS_SAME_TYPE(x_, y_) \ + __builtin_types_compatible_p(__typeof__(x_), __typeof__(y_)) # else -# define SAME_TYPE(x, y) 0 -# define FAIL_BUILD_ON_ZERO(e) 0 -# define MUST_BE_ARRAY(a) 0 +/* Cannot tell whether these types are the same. */ +# define IS_SAME_TYPE(x_, y_) 0 # endif # if GNUC_PREREQ(3, 0) @@ -111,7 +113,7 @@ _Pragma("clang diagnostic ignored \"-Winitializer-overrides\""); # define DIAG_POP_IGNORE_OVERRIDE_INIT \ _Pragma("clang diagnostic pop"); -# elif GNUC_PREREQ(4, 2) +# elif GNUC_PREREQ(4, 6) /* 4.2 for -Woverride-init, 4.6 for diagnostic push */ # define DIAG_PUSH_IGNORE_OVERRIDE_INIT \ _Pragma("GCC diagnostic push"); \ _Pragma("GCC diagnostic ignored \"-Woverride-init\""); @@ -128,7 +130,7 @@ _Pragma("clang diagnostic ignored \"-Wnonnull\""); # define DIAG_POP_IGNORE_NONNULL \ _Pragma("clang diagnostic pop"); -# elif GNUC_PREREQ(3, 3) +# elif GNUC_PREREQ(4, 6) /* 3.3 for -Wnonnull, 4.6 for diagnostic push/pop */ # define DIAG_PUSH_IGNORE_NONNULL \ _Pragma("GCC diagnostic push"); \ _Pragma("GCC diagnostic ignored \"-Wnonnull\"");
View file
_service:tar_scm:strace-6.1.tar.xz/src/gen
Added
+(directory)
View file
_service:tar_scm:strace-6.1.tar.xz/src/gen/gen_hdio.c
Added
@@ -0,0 +1,452 @@ +/* Generated by ./maint/gen/generate.sh from ./maint/gen/defs/hdio.def; do not edit. */ + +#include <stddef.h> +#include "generated.h" + +typedef kernel_ulong_t kernel_size_t; + +#include <linux/hdreg.h> +#include "xlat/hdio_ide_nice.h" +#include "xlat/hdio_busstates.h" +static int +var_leaf_ioctl_HDIO_DRIVE_RESET(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (array *) */ + /* using decoder from defs/common.def:44:1 */ + + { + uint32_t int_buffer; + print_array(tcp, (arg), (3), &int_buffer, sizeof(int_buffer), + tfetch_mem, print_xint_array_member, 0); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_32BIT(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_ACOUSTIC(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_ADDRESS(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_BUSSTATE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + printxval64(hdio_busstates, zero_extend_signed_to_ull(tmpvar_arg), "BUSSTATE_???"); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_DMA(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_IDENTITY(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: identity (stringnoz *) */ + /* using decoder from defs/common.def:13:1 */ + + if (entering(tcp)) { + printstrn(tcp, (arg), (512)); + } else if (syserror(tcp)) { + printaddr((arg)); + } else { + printstrn(tcp, (arg), (512)); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_KEEPSETTINGS(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: keep_settings (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_keep_settings; + if (!umove_or_printaddr(tcp, arg, &tmpvar_keep_settings)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_keep_settings); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_MULTCOUNT(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: multcount (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_multcount; + if (!umove_or_printaddr(tcp, arg, &tmpvar_multcount)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_multcount); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_NICE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + printflags64(hdio_ide_nice, zero_extend_signed_to_ull(tmpvar_arg), "IDE_NICE_???"); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_NOWERR(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_UNMASKINTR(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: unmaskintr (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_unmaskintr; + if (!umove_or_printaddr(tcp, arg, &tmpvar_unmaskintr)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_unmaskintr); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_GET_WCACHE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: arg (kernel_ulong_t *) */ + kernel_ulong_t tmpvar_arg; + if (!umove_or_printaddr(tcp, arg, &tmpvar_arg)) { + tprint_indirect_begin(); + PRINT_VAL_U((kernel_ulong_t) tmpvar_arg); + tprint_indirect_end(); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_OBSOLETE_IDENTITY(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + /* arg: identity (stringnoz *) */ + /* using decoder from defs/common.def:13:1 */ + + if (entering(tcp)) { + printstrn(tcp, (arg), (142)); + } else if (syserror(tcp)) { + printaddr((arg)); + } else { + printstrn(tcp, (arg), (142)); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SCAN_HWIF(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (array *) */ + /* using decoder from defs/common.def:44:1 */ + + { + uint32_t int_buffer; + print_array(tcp, (arg), (3), &int_buffer, sizeof(int_buffer), + tfetch_mem, print_xint_array_member, 0); + } + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_32BIT(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_ACOUSTIC(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_ADDRESS(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_BUSSTATE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + printxval64(hdio_busstates, zero_extend_signed_to_ull(arg), "BUSSTATE_???"); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_DMA(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_KEEPSETTINGS(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: keep_settings (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_MULTCOUNT(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: multcount (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_NICE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + printflags64(hdio_ide_nice, zero_extend_signed_to_ull(arg), "IDE_NICE_???"); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_NOWERR(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_PIO_MODE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_UNMASKINTR(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: unmaskintr (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_SET_WCACHE(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO_UNREGISTER_HWIF(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + tprint_arg_next(); + /* arg: arg (kernel_ulong_t) */ + PRINT_VAL_U((kernel_ulong_t) arg); + + return RVAL_IOCTL_DECODED; +} +static int +var_leaf_ioctl_HDIO(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + return RVAL_DECODED; +} +int +var_ioctl_HDIO(struct tcb *tcp, unsigned int code, kernel_ulong_t arg) +{ + if ((code) == (HDIO_DRIVE_RESET)) { + return var_leaf_ioctl_HDIO_DRIVE_RESET(tcp, code, arg); + } else if ((code) == (HDIO_GET_32BIT)) { + return var_leaf_ioctl_HDIO_GET_32BIT(tcp, code, arg); + } else if ((code) == (HDIO_GET_ACOUSTIC)) { + return var_leaf_ioctl_HDIO_GET_ACOUSTIC(tcp, code, arg); + } else if ((code) == (HDIO_GET_ADDRESS)) { + return var_leaf_ioctl_HDIO_GET_ADDRESS(tcp, code, arg); + } else if ((code) == (HDIO_GET_BUSSTATE)) { + return var_leaf_ioctl_HDIO_GET_BUSSTATE(tcp, code, arg); + } else if ((code) == (HDIO_GET_DMA)) { + return var_leaf_ioctl_HDIO_GET_DMA(tcp, code, arg); + } else if ((code) == (HDIO_GET_IDENTITY)) { + return var_leaf_ioctl_HDIO_GET_IDENTITY(tcp, code, arg); + } else if ((code) == (HDIO_GET_KEEPSETTINGS)) { + return var_leaf_ioctl_HDIO_GET_KEEPSETTINGS(tcp, code, arg); + } else if ((code) == (HDIO_GET_MULTCOUNT)) { + return var_leaf_ioctl_HDIO_GET_MULTCOUNT(tcp, code, arg); + } else if ((code) == (HDIO_GET_NICE)) { + return var_leaf_ioctl_HDIO_GET_NICE(tcp, code, arg); + } else if ((code) == (HDIO_GET_NOWERR)) { + return var_leaf_ioctl_HDIO_GET_NOWERR(tcp, code, arg); + } else if ((code) == (HDIO_GET_UNMASKINTR)) { + return var_leaf_ioctl_HDIO_GET_UNMASKINTR(tcp, code, arg); + } else if ((code) == (HDIO_GET_WCACHE)) { + return var_leaf_ioctl_HDIO_GET_WCACHE(tcp, code, arg); + } else if ((code) == (HDIO_OBSOLETE_IDENTITY)) { + return var_leaf_ioctl_HDIO_OBSOLETE_IDENTITY(tcp, code, arg); + } else if ((code) == (HDIO_SCAN_HWIF)) { + return var_leaf_ioctl_HDIO_SCAN_HWIF(tcp, code, arg); + } else if ((code) == (HDIO_SET_32BIT)) { + return var_leaf_ioctl_HDIO_SET_32BIT(tcp, code, arg); + } else if ((code) == (HDIO_SET_ACOUSTIC)) { + return var_leaf_ioctl_HDIO_SET_ACOUSTIC(tcp, code, arg); + } else if ((code) == (HDIO_SET_ADDRESS)) { + return var_leaf_ioctl_HDIO_SET_ADDRESS(tcp, code, arg); + } else if ((code) == (HDIO_SET_BUSSTATE)) { + return var_leaf_ioctl_HDIO_SET_BUSSTATE(tcp, code, arg); + } else if ((code) == (HDIO_SET_DMA)) { + return var_leaf_ioctl_HDIO_SET_DMA(tcp, code, arg); + } else if ((code) == (HDIO_SET_KEEPSETTINGS)) { + return var_leaf_ioctl_HDIO_SET_KEEPSETTINGS(tcp, code, arg); + } else if ((code) == (HDIO_SET_MULTCOUNT)) { + return var_leaf_ioctl_HDIO_SET_MULTCOUNT(tcp, code, arg); + } else if ((code) == (HDIO_SET_NICE)) { + return var_leaf_ioctl_HDIO_SET_NICE(tcp, code, arg); + } else if ((code) == (HDIO_SET_NOWERR)) { + return var_leaf_ioctl_HDIO_SET_NOWERR(tcp, code, arg); + } else if ((code) == (HDIO_SET_PIO_MODE)) { + return var_leaf_ioctl_HDIO_SET_PIO_MODE(tcp, code, arg); + } else if ((code) == (HDIO_SET_UNMASKINTR)) { + return var_leaf_ioctl_HDIO_SET_UNMASKINTR(tcp, code, arg); + } else if ((code) == (HDIO_SET_WCACHE)) { + return var_leaf_ioctl_HDIO_SET_WCACHE(tcp, code, arg); + } else if ((code) == (HDIO_UNREGISTER_HWIF)) { + return var_leaf_ioctl_HDIO_UNREGISTER_HWIF(tcp, code, arg); + } else { + return var_leaf_ioctl_HDIO(tcp, code, arg); + } +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/gen/generated.h
Added
@@ -0,0 +1,4 @@ +#include "defs.h" + +int +var_ioctl_HDIO(struct tcb *tcp, unsigned int code, kernel_ulong_t arg);
View file
_service:tar_scm:strace-5.14.tar.xz/src/gen_bpf_attr_check.sh -> _service:tar_scm:strace-6.1.tar.xz/src/gen_bpf_attr_check.sh
Changed
@@ -1,6 +1,6 @@ #!/bin/sh -efu # Copyright (c) 2018 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2018-2021 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: LGPL-2.1-or-later @@ -32,7 +32,7 @@ enum="$enum${enum:+.}" ENUM="$ENUM${ENUM:+_}" sed -n '/^struct '"$struct"' ^{*{/,/^};$/p' < "$input" | - sed -n 's/^:space:\+^;:*:space:\(^:space:;:\+\)\(\^;:*\\)\?;$/\1/p' | + sed -n 's/^:space:\+^;:*:space:\(^}:space:;:\+\)\(\^;:*\\)\?;$/\1/p' | while read field; do FIELD="$(printf %s "$field" |tr ':lower:' ':upper:')" cat <<EOF
View file
_service:tar_scm:strace-5.14.tar.xz/src/gpio_ioctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/gpio_ioctl.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -112,13 +112,13 @@ PRINT_FIELD_U(hr, lines); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(hr, lineoffsets, hr.lines, tcp, - print_uint32_array_member); + print_uint_array_member); tprint_struct_next(); PRINT_FIELD_FLAGS(hr, flags, gpio_handle_flags, "GPIOHANDLE_REQUEST_???"); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(hr, default_values, hr.lines, tcp, - print_uint8_array_member); + print_uint_array_member); tprint_struct_next(); PRINT_FIELD_CSTRING(hr, consumer_label); tprint_struct_end(); @@ -168,7 +168,7 @@ print_gpiohandle_data(struct tcb *const tcp, const struct gpiohandle_data *vals) { tprint_struct_begin(); - PRINT_FIELD_ARRAY(*vals, values, tcp, print_uint8_array_member); + PRINT_FIELD_ARRAY(*vals, values, tcp, print_uint_array_member); tprint_struct_end(); } @@ -212,7 +212,7 @@ tprint_struct_begin(); PRINT_FIELD_FLAGS(hc, flags, gpio_handle_flags, "GPIOHANDLE_REQUEST_???"); tprint_struct_next(); - PRINT_FIELD_ARRAY(hc, default_values, tcp, print_uint8_array_member); + PRINT_FIELD_ARRAY(hc, default_values, tcp, print_uint_array_member); tprint_struct_end(); return RVAL_IOCTL_DECODED; @@ -391,12 +391,12 @@ PRINT_FIELD_U(lr, num_lines); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(lr, offsets, lr.num_lines, tcp, - print_uint32_array_member); + print_uint_array_member); + tprint_struct_next(); + PRINT_FIELD_CSTRING(lr, consumer); tprint_struct_next(); PRINT_FIELD_OBJ_TCB_PTR(lr, config, tcp, print_gpio_v2_line_config); - tprint_struct_next(); - PRINT_FIELD_CSTRING(lr, consumer); if (lr.event_buffer_size) { tprint_struct_next(); PRINT_FIELD_U(lr, event_buffer_size);
View file
_service:tar_scm:strace-5.14.tar.xz/src/hdio.c -> _service:tar_scm:strace-6.1.tar.xz/src/hdio.c
Changed
@@ -19,6 +19,8 @@ #include "xlat/hdio_drive_cmds.h" +#include "gen/generated.h" + static int print_hdio_getgeo(struct tcb *const tcp, const kernel_ulong_t arg) { @@ -113,7 +115,14 @@ case HDIO_DRIVE_CMD: return print_hdio_drive_cmd(tcp, arg); default: - return RVAL_DECODED; + if (current_klongsize == sizeof(kernel_ulong_t)) { + return var_ioctl_HDIO(tcp, code, arg); + } else { + /* + * HDIO compat has never been supported by the kernel. + */ + return RVAL_DECODED; + } } return RVAL_IOCTL_DECODED;
View file
_service:tar_scm:strace-5.14.tar.xz/src/io_uring.c -> _service:tar_scm:strace-6.1.tar.xz/src/io_uring.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,13 +10,17 @@ #include <linux/io_uring.h> +#include "xlat/uring_enter_flags.h" +#include "xlat/uring_files_update_fds.h" +#include "xlat/uring_iowq_acct.h" #include "xlat/uring_op_flags.h" #include "xlat/uring_ops.h" #include "xlat/uring_setup_features.h" #include "xlat/uring_setup_flags.h" -#include "xlat/uring_enter_flags.h" +#include "xlat/uring_sqe_flags.h" #include "xlat/uring_register_opcodes.h" -#include "xlat/uring_cqring_flags.h" +#include "xlat/uring_register_rsrc_flags.h" +#include "xlat/uring_restriction_opcodes.h" static void print_io_sqring_offsets(const struct io_sqring_offsets *const p) @@ -62,7 +66,7 @@ tprint_struct_next(); PRINT_FIELD_U(*p, cqes); tprint_struct_next(); - PRINT_FIELD_FLAGS(*p, flags, uring_cqring_flags, "IORING_CQ_???"); + PRINT_FIELD_U(*p, flags); if (p->resv1) { tprint_struct_next(); PRINT_FIELD_X(*p, resv1); @@ -103,7 +107,7 @@ if (!IS_ARRAY_ZERO(params.resv)) { tprint_struct_next(); PRINT_FIELD_ARRAY(params, resv, tcp, - print_xint32_array_member); + print_xint_array_member); } return 0; } @@ -165,6 +169,20 @@ return RVAL_DECODED; } +static bool +print_files_update_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + int fd = *(int *) elem_buf; + + if (fd < -1) + printxval_d(uring_files_update_fds, fd, NULL); + else + printfd(tcp, fd); + + return true; +} + static void print_io_uring_files_update(struct tcb *tcp, const kernel_ulong_t addr, const unsigned int nargs) @@ -185,7 +203,7 @@ tprints_field_name("fds"); print_big_u64_addr(arg.fds); print_array(tcp, arg.fds, nargs, &buf, sizeof(buf), - tfetch_mem, print_fd_array_member, NULL); + tfetch_mem, print_files_update_array_member, NULL); tprint_struct_end(); } @@ -256,18 +274,325 @@ if (!IS_ARRAY_ZERO(probe->resv2)) { tprint_struct_next(); PRINT_FIELD_ARRAY(*probe, resv2, tcp, - print_xint32_array_member); + print_xint_array_member); } tprint_struct_next(); PRINT_FIELD_OBJ_TCB_VAL(*probe, ops, tcp, print_local_array_ex, - entering(tcp) ? nargs : probe->ops_len, - sizeof(probe->ops0), print_io_uring_probe_op, - NULL, 0, NULL, NULL); + entering(tcp) ? nargs : MIN(probe->ops_len, nargs), + sizeof(probe->ops0), print_io_uring_probe_op, NULL, + exiting(tcp) && (nargs < probe->ops_len) + ? PAF_ARRAY_TRUNCATED : 0, + NULL, NULL); tprint_struct_end(); return 0; } +static bool +print_io_uring_restriction(struct tcb *tcp, void *elem_buf, size_t elem_size, + void *data) +{ + struct io_uring_restriction *r = + (struct io_uring_restriction *) elem_buf; + CHECK_TYPE_SIZE(*r, 16); + CHECK_TYPE_SIZE(r->resv2, 12); + + tprint_struct_begin(); + PRINT_FIELD_XVAL(*r, opcode, uring_restriction_opcodes, + "IORING_RESTRICTION_???"); + switch (r->opcode) { + case IORING_RESTRICTION_REGISTER_OP: + tprint_struct_next(); + PRINT_FIELD_XVAL(*r, register_op, uring_register_opcodes, + "IORING_REGISTER_???"); + break; + case IORING_RESTRICTION_SQE_OP: + tprint_struct_next(); + PRINT_FIELD_XVAL(*r, sqe_op, uring_ops, "IORING_OP_???"); + break; + case IORING_RESTRICTION_SQE_FLAGS_ALLOWED: + case IORING_RESTRICTION_SQE_FLAGS_REQUIRED: + tprint_struct_next(); + PRINT_FIELD_FLAGS(*r, sqe_flags, uring_sqe_flags, "IOSQE_???"); + break; + default: + tprintf_comment("op: %#x", r->register_op); + } + if (r->resv) { + tprint_struct_next(); + PRINT_FIELD_X(*r, resv); + } + if (!IS_ARRAY_ZERO(r->resv2)) { + tprint_struct_next(); + PRINT_FIELD_ARRAY(*r, resv2, tcp, print_xint_array_member); + } + tprint_struct_end(); + + return true; +} + +static void +print_io_uring_restrictions(struct tcb *tcp, const kernel_ulong_t addr, + const unsigned int nargs) +{ + struct io_uring_restriction buf; + print_array(tcp, addr, nargs, &buf, sizeof(buf), + tfetch_mem, print_io_uring_restriction, NULL); +} + +static void +print_io_uring_rsrc_data(struct tcb *tcp, const uint64_t data, + const unsigned int nr, const unsigned int opcode) +{ + int fd_buf; + + switch (opcode) { + case IORING_REGISTER_FILES2: + case IORING_REGISTER_BUFFERS2: + case IORING_REGISTER_BUFFERS_UPDATE: + case IORING_REGISTER_FILES_UPDATE2: + tprint_struct_next(); + tprints_field_name("data"); + print_big_u64_addr(data); + break; + } + + switch (opcode) { + case IORING_REGISTER_FILES2: + print_array(tcp, data, nr, &fd_buf, sizeof(fd_buf), + tfetch_mem, print_fd_array_member, NULL); + break; + case IORING_REGISTER_FILES_UPDATE2: + print_array(tcp, data, nr, &fd_buf, sizeof(fd_buf), + tfetch_mem, print_files_update_array_member, NULL); + break; + case IORING_REGISTER_BUFFERS2: + case IORING_REGISTER_BUFFERS_UPDATE: + tprint_iov(tcp, nr, data, iov_decode_addr); + break; + } +} + +static void +print_io_uring_rsrc_tags(struct tcb *tcp, const uint64_t tags, + const unsigned int nr) +{ + uint64_t tag_buf; + + tprint_struct_next(); + tprints_field_name("tags"); + print_big_u64_addr(tags); + print_array(tcp, tags, nr, &tag_buf, sizeof(tag_buf), + tfetch_mem, print_xint_array_member, NULL); +} + +static void +print_io_uring_register_rsrc(struct tcb *tcp, const kernel_ulong_t addr, + const unsigned int size, const unsigned int opcode) +{ + struct io_uring_rsrc_register arg; + CHECK_TYPE_SIZE(arg, 32); + CHECK_TYPE_SIZE(arg.resv2, sizeof(uint64_t)); + + if (size < 32) { + printaddr(addr); + return; + } + + if (umove_or_printaddr(tcp, addr, &arg)) + return; + + tprint_struct_begin(); + PRINT_FIELD_U(arg, nr); + + tprint_struct_next(); + PRINT_FIELD_FLAGS(arg, flags, uring_register_rsrc_flags, + "IORING_RSRC_REGISTER_???"); + + if (arg.resv2) { + tprint_struct_next(); + PRINT_FIELD_X(arg, resv2); + } + + print_io_uring_rsrc_data(tcp, arg.data, arg.nr, opcode); + + print_io_uring_rsrc_tags(tcp, arg.tags, arg.nr); + + if (size > sizeof(arg)) { + print_nonzero_bytes(tcp, tprint_struct_next, addr, sizeof(arg), + MIN(size, get_pagesize()), QUOTE_FORCE_HEX); + } + + tprint_struct_end(); +} + +static void +print_io_uring_update_rsrc(struct tcb *tcp, const kernel_ulong_t addr, + const unsigned int size, const unsigned int opcode) +{ + struct io_uring_rsrc_update2 arg; + CHECK_TYPE_SIZE(arg, 32); + CHECK_TYPE_SIZE(arg.resv, sizeof(uint32_t)); + CHECK_TYPE_SIZE(arg.resv2, sizeof(uint32_t)); + + if (size < 32) { + printaddr(addr); + return; + } + + if (umove_or_printaddr(tcp, addr, &arg)) + return; + + tprint_struct_begin(); + PRINT_FIELD_U(arg, offset); + + if (arg.resv) { + tprint_struct_next(); + PRINT_FIELD_X(arg, resv); + } + + print_io_uring_rsrc_data(tcp, arg.data, arg.nr, opcode); + + print_io_uring_rsrc_tags(tcp, arg.tags, arg.nr); + + tprint_struct_next(); + PRINT_FIELD_U(arg, nr); + + if (arg.resv2) { + tprint_struct_next(); + PRINT_FIELD_X(arg, resv2); + } + + if (size > sizeof(arg)) { + print_nonzero_bytes(tcp, tprint_struct_next, addr, sizeof(arg), + MIN(size, get_pagesize()), QUOTE_FORCE_HEX); + } + + tprint_struct_end(); +} + +static int +print_io_uring_iowq_acct(struct tcb *tcp, const kernel_ulong_t addr, + const unsigned int nargs) +{ + uint32_t val; + bool ret = print_array_ex(tcp, addr, nargs, &val, sizeof(val), + tfetch_mem, print_uint_array_member, NULL, + PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, + uring_iowq_acct, "IO_WQ_???"); + + return ret ? 0 : RVAL_DECODED; +} + +static bool +print_ringfd_register_array_member(struct tcb *tcp, void *buf, + size_t elem_size, void *data) +{ + /* offset - offset to insert at or -1 for the first free place */ + /* resv - reserved */ + /* data - FD to register */ + struct io_uring_rsrc_update *elem = buf; + + tprint_struct_begin(); + if (elem->offset == -1U) + PRINT_FIELD_D(*elem, offset); + else + PRINT_FIELD_U(*elem, offset); + + if (elem->resv) { + tprint_struct_next(); + PRINT_FIELD_X(*elem, resv); + } + + tprint_struct_next(); + PRINT_FIELD_FD(*elem, data, tcp); + + tprint_struct_end(); + + return true; +} +static void +print_io_uring_ringfds_register(struct tcb *tcp, const kernel_ulong_t arg, + const unsigned int nargs) +{ + struct io_uring_rsrc_update buf; + CHECK_TYPE_SIZE(buf, 16); + CHECK_TYPE_SIZE(buf.resv, sizeof(uint32_t)); + + print_array(tcp, arg, nargs, &buf, sizeof(buf), + tfetch_mem, print_ringfd_register_array_member, NULL); +} + + +static bool +print_ringfd_unregister_array_member(struct tcb *tcp, void *buf, + size_t elem_size, void *data) +{ + /* offset - offset to unregister FD */ + /* resv - reserved */ + /* data - unused */ + struct io_uring_rsrc_update *elem = buf; + + tprint_struct_begin(); + PRINT_FIELD_U(*elem, offset); + + if (elem->resv) { + tprint_struct_next(); + PRINT_FIELD_X(*elem, resv); + } + + if (elem->data) { + tprint_struct_next(); + PRINT_FIELD_X(*elem, data); + } + + tprint_struct_end(); + + return true; +} +static void +print_io_uring_ringfds_unregister(struct tcb *tcp, const kernel_ulong_t arg, + const unsigned int nargs) +{ + struct io_uring_rsrc_update buf; + + print_array(tcp, arg, nargs, &buf, sizeof(buf), + tfetch_mem, print_ringfd_unregister_array_member, NULL); +} + +static void +print_io_uring_buf_reg(struct tcb *tcp, const kernel_ulong_t addr) +{ + struct io_uring_buf_reg arg; + CHECK_TYPE_SIZE(arg, 40); + CHECK_TYPE_SIZE(arg.pad, sizeof(uint16_t)); + CHECK_TYPE_SIZE(arg.resv, sizeof(uint64_t) * 3); + + if (umove_or_printaddr(tcp, addr, &arg)) + return; + + tprint_struct_begin(); + PRINT_FIELD_ADDR64(arg, ring_addr); + + tprint_struct_next(); + PRINT_FIELD_U(arg, ring_entries); + + tprint_struct_next(); + PRINT_FIELD_U(arg, bgid); + + if (arg.pad) { + tprint_struct_next(); + PRINT_FIELD_X(arg, pad); + } + + if (!IS_ARRAY_ZERO(arg.resv)) { + tprint_struct_next(); + PRINT_FIELD_ARRAY(arg, resv, tcp, print_xint_array_member); + } + + tprint_struct_end(); +} + SYS_FUNC(io_uring_register) { const int fd = tcp->u_arg0; @@ -305,6 +630,42 @@ case IORING_REGISTER_PROBE: rc = print_io_uring_probe(tcp, arg, nargs); break; + case IORING_REGISTER_RESTRICTIONS: + print_io_uring_restrictions(tcp, arg, nargs); + break; + case IORING_REGISTER_FILES2: + case IORING_REGISTER_BUFFERS2: + print_io_uring_register_rsrc(tcp, arg, nargs, opcode); + break; + case IORING_REGISTER_FILES_UPDATE2: + case IORING_REGISTER_BUFFERS_UPDATE: + print_io_uring_update_rsrc(tcp, arg, nargs, opcode); + break; + case IORING_REGISTER_IOWQ_AFF: + print_affinitylist(tcp, arg, nargs); + break; + case IORING_REGISTER_IOWQ_MAX_WORKERS: + rc = print_io_uring_iowq_acct(tcp, arg, nargs); + if (entering(tcp) && !rc) + tprint_value_changed(); + break; + case IORING_REGISTER_RING_FDS: + print_io_uring_ringfds_register(tcp, arg, nargs); + break; + case IORING_UNREGISTER_RING_FDS: + print_io_uring_ringfds_unregister(tcp, arg, nargs); + break; + case IORING_REGISTER_PBUF_RING: + case IORING_UNREGISTER_PBUF_RING: + print_io_uring_buf_reg(tcp, arg); + break; + case IORING_UNREGISTER_BUFFERS: + case IORING_UNREGISTER_FILES: + case IORING_UNREGISTER_EVENTFD: + case IORING_REGISTER_PERSONALITY: + case IORING_UNREGISTER_PERSONALITY: + case IORING_REGISTER_ENABLE_RINGS: + case IORING_UNREGISTER_IOWQ_AFF: default: printaddr(arg); break;
View file
_service:tar_scm:strace-5.14.tar.xz/src/ioctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/ioctl.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-2001 Wichert Akkerman <wichert@cistron.nl> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -78,7 +78,7 @@ tprints_arg_begin("_IOC"); - printflags_ex(_IOC_DIR(code), abbrev ? "_IOC_???" : NULL, + printflags_ex(_IOC_DIR(code), abbrev ? "_IOC_???" : "", abbrev ? XLAT_STYLE_DEFAULT : XLAT_STYLE_ABBREV, ioctl_dirs, NULL); tprint_arg_next(); @@ -103,7 +103,7 @@ if (nr >= 0xc0 && nr <= 0xc0 + 0x3f) { tprints_arg_begin("EVIOCSABS"); printxval_ex(evdev_abs, nr - 0xc0, - abbrev ? "ABS_???" : NULL, + abbrev ? "ABS_???" : "", abbrev ? XLAT_STYLE_DEFAULT : XLAT_STYLE_ABBREV); tprint_arg_end(); @@ -120,7 +120,7 @@ PRINT_VAL_U(0); else printxval_ex(evdev_ev, nr - 0x20, - abbrev ? "EV_???" : NULL, + abbrev ? "EV_???" : "", abbrev ? XLAT_STYLE_DEFAULT : XLAT_STYLE_ABBREV); tprint_arg_next(); @@ -129,7 +129,7 @@ return 1; } else if (nr >= 0x40 && nr <= 0x40 + 0x3f) { tprints_arg_begin("EVIOCGABS"); - printxval_ex(evdev_abs, nr - 0x40, abbrev ? "ABS_???" : NULL, + printxval_ex(evdev_abs, nr - 0x40, abbrev ? "ABS_???" : "", abbrev ? XLAT_STYLE_DEFAULT : XLAT_STYLE_ABBREV); tprint_arg_end(); return 1; @@ -245,6 +245,12 @@ const unsigned int code = tcp->u_arg1; switch (_IOC_TYPE(code)) { + case '!': /* 0x21 */ + if (code == _IOC(_IOC_READ, '!', 2, sizeof(uint64_t))) { + tprints("SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR"); + return 1; + } + return 0; case 'E': return evdev_decode_number(code); case 'H': @@ -348,16 +354,22 @@ return hdio_ioctl(tcp, code, arg); case 0x12: return block_ioctl(tcp, code, arg); + case '!': /* 0x21 */ + return seccomp_ioctl(tcp, code, arg); case '"': /* 0x22 */ return scsi_ioctl(tcp, code, arg); case '$': /* 0x24 */ return perf_ioctl(tcp, code, arg); case '=': /* 0x3d */ return ptp_ioctl(tcp, code, arg); + case '>': /* 0x3e */ + return counter_ioctl(tcp, code, arg); case 'E': return evdev_ioctl(tcp, code, arg); case 'I': return inotify_ioctl(tcp, code, arg); + case 'K': + return kd_ioctl(tcp, code, arg); case 'L': return loop_ioctl(tcp, code, arg); case 'M': @@ -376,6 +388,8 @@ return fs_x_ioctl(tcp, code, arg); case 'f': return f_ioctl(tcp, code, arg); + case 'i': + return lirc_ioctl(tcp, code, arg); case 'o': return ubi_ioctl(tcp, code, arg); case 'p': @@ -384,10 +398,11 @@ case 's': return sock_ioctl(tcp, code, arg); #endif -#if defined(ALPHA) || defined(POWERPC) +#if defined(ALPHA) || defined(MIPS) || defined(POWERPC) \ + || defined(SPARC) || defined(SPARC64) case 't': return term_ioctl(tcp, code, arg); -#endif /* !ALPHA */ +#endif case 0x89: return sock_ioctl(tcp, code, arg); case 0x94:
View file
_service:tar_scm:strace-5.14.tar.xz/src/ioctls_zfs.h -> _service:tar_scm:strace-6.1.tar.xz/src/ioctls_zfs.h
Changed
@@ -1,4 +1,4 @@ -/* Generated by ioctls_zfs.sh from OpenZFS version 2.0.4; do not edit. */ +/* Generated by ioctls_zfs.sh from OpenZFS version 2.1.99-654-g1135d0a5f; do not edit. */ { "include/sys/fs/zfs.h", "BLKZNAME", _IOC_READ, (0x12 << 8) | 125, 256 }, { "include/sys/fs/zfs.h", "ZFS_IOC_POOL_CREATE", 0, 0x5A00, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_POOL_DESTROY", 0, 0x5A01, 0 }, @@ -85,6 +85,8 @@ { "include/sys/fs/zfs.h", "ZFS_IOC_GET_BOOKMARK_PROPS", 0, 0x5A52, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_WAIT", 0, 0x5A53, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_WAIT_FS", 0, 0x5A54, 0 }, +{ "include/sys/fs/zfs.h", "ZFS_IOC_VDEV_GET_PROPS", 0, 0x5A55, 0 }, +{ "include/sys/fs/zfs.h", "ZFS_IOC_VDEV_SET_PROPS", 0, 0x5A56, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_EVENTS_NEXT", 0, 0x5A81, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_EVENTS_CLEAR", 0, 0x5A82, 0 }, { "include/sys/fs/zfs.h", "ZFS_IOC_EVENTS_SEEK", 0, 0x5A83, 0 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/ipc.c -> _service:tar_scm:strace-6.1.tar.xz/src/ipc.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -17,13 +17,14 @@ if (version) { PRINT_VAL_U(version); - tprints("<<16|"); + tprint_shift(); + PRINT_VAL_U(16); + tprint_or(); } printxval_u(ipccalls, call, NULL); - unsigned int i; - for (i = 1; i < n_args(tcp); ++i) { + for (unsigned int i = 1; i < n_args(tcp); ++i) { tprint_arg_next(); PRINT_VAL_X(tcp->u_argi); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/ipc_defs.h -> _service:tar_scm:strace-6.1.tar.xz/src/ipc_defs.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2003 Roland McGrath <roland@redhat.com> - * Copyright (c) 2003-2021 The strace developers. + * Copyright (c) 2003-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -63,7 +63,7 @@ do { \ if ((arg) & IPC_64) { \ print_xlat(IPC_64); \ - tprints("|"); \ + tprint_or(); \ } \ printxval((flagset), (arg) & ~IPC_64, dflt); \ } while (0)
View file
_service:tar_scm:strace-5.14.tar.xz/src/ipc_msg.c -> _service:tar_scm:strace-6.1.tar.xz/src/ipc_msg.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2003-2006 Roland McGrath <roland@redhat.com> * Copyright (c) 2006-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -28,7 +28,7 @@ /* msgflg */ if (printflags(resource_flags, tcp->u_arg1 & ~0777, NULL) != 0) - tprints("|"); + tprint_or(); print_numeric_umode_t(tcp->u_arg1 & 0777); return RVAL_DECODED; } @@ -78,7 +78,7 @@ tprint_arg_next(); /* msgtyp */ - PRINT_VAL_D(msgtyp); + PRINT_VAL_D(truncate_klong_to_current_klongsize(msgtyp)); } static int
View file
_service:tar_scm:strace-5.14.tar.xz/src/ipc_sem.c -> _service:tar_scm:strace-6.1.tar.xz/src/ipc_sem.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2003-2006 Roland McGrath <roland@redhat.com> * Copyright (c) 2006-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -113,7 +113,7 @@ /* semflg */ if (printflags(resource_flags, tcp->u_arg2 & ~0777, NULL) != 0) - tprints("|"); + tprint_or(); print_numeric_umode_t(tcp->u_arg2 & 0777); return RVAL_DECODED; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/ipc_shm.c -> _service:tar_scm:strace-6.1.tar.xz/src/ipc_shm.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2003-2006 Roland McGrath <roland@redhat.com> * Copyright (c) 2006-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -47,14 +47,15 @@ printflags(shm_resource_flags, flags, NULL); if (hugetlb_value) { - tprintf("%s%u<<", - flags ? "|" : "", - hugetlb_value >> SHM_HUGE_SHIFT); + if (flags) + tprint_or(); + PRINT_VAL_U(hugetlb_value >> SHM_HUGE_SHIFT); + tprint_shift(); print_xlat_u(SHM_HUGE_SHIFT); } if (flags || hugetlb_value) - tprints("|"); + tprint_or(); print_numeric_umode_t(tcp->u_arg2 & 0777); return RVAL_DECODED;
View file
_service:tar_scm:strace-6.1.tar.xz/src/kd_ioctl.c
Added
@@ -0,0 +1,840 @@ +/* + * Support for decoding of VT ioctl commands. + * + * Copyright (c) 2019-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2019-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +#include <linux/kd.h> +#include <linux/keyboard.h> + +#include "print_fields.h" +#include "print_utils.h" + +#include "xlat/kd_default_led_flags.h" +#include "xlat/kd_kbd_modes.h" +#include "xlat/kd_kbd_types.h" +#include "xlat/kd_keymap_flags.h" +#include "xlat/kd_key_tables.h" +#include "xlat/kd_key_types.h" +#include "xlat/kd_key_fn_keys.h" +#include "xlat/kd_key_fn_key_vals.h" +#include "xlat/kd_key_spec_keys.h" +#include "xlat/kd_key_pad_keys.h" +#include "xlat/kd_key_dead_keys.h" +#include "xlat/kd_key_cur_keys.h" +#include "xlat/kd_key_shift_keys.h" +#include "xlat/kd_key_ascii_keys.h" +#include "xlat/kd_key_lock_keys.h" +#include "xlat/kd_key_slock_keys.h" +#include "xlat/kd_key_brl_keys.h" +#include "xlat/kd_led_flags.h" +#include "xlat/kd_meta_vals.h" +#include "xlat/kd_modes.h" + +#define XLAT_MACROS_ONLY +# include "xlat/kd_ioctl_cmds.h" +#undef XLAT_MACROS_ONLY + +#ifdef HAVE_STRUCT_KBDIACRUC +typedef struct kbdiacruc struct_kbdiacruc; +#else +typedef struct { + unsigned int diacr; + unsigned int base; + unsigned int result; +} struct_kbdiacruc; +#endif + +#ifdef HAVE_STRUCT_KBDIACRSUC +typedef struct kbdiacrsuc struct_kbdiacrsuc; +#else +typedef struct { + unsigned int kb_cnt; + struct_kbdiacruc kbdiacruc256; +} struct_kbdiacrsuc; +#endif + +enum { + KERNEL_PIT_TICK_RATE = 1193182, + KERNEL_E_TABSZ = 256, + KERNEL_MAX_DIACR = 256, +}; + +static int +kiocsound(struct tcb *const tcp, const kernel_ulong_t arg) +{ + unsigned int freq = arg ? KERNEL_PIT_TICK_RATE / arg : 0; + + tprint_arg_next(); + PRINT_VAL_U(arg); + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW) { + if (freq) + tprintf_comment("%u Hz", freq); + else + tprints_comment("off"); + } + + return RVAL_IOCTL_DECODED; +} + +static int +kd_mk_tone(struct tcb *const tcp, const unsigned int arg) +{ + unsigned int ticks = arg >> 16; + unsigned int count = arg & 0xFFFF; + unsigned int freq = ticks && count ? KERNEL_PIT_TICK_RATE / count : 0; + + tprint_arg_next(); + if (ticks) { + PRINT_VAL_U(ticks); + tprint_shift(); + PRINT_VAL_U(16); + tprint_or(); + } + PRINT_VAL_U(count); + + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW) { + if (freq) + tprintf_comment("%u Hz, %u ms", freq, ticks); + else + tprints_comment("off"); + } + + return RVAL_IOCTL_DECODED; +} + +static void +print_leds(struct tcb *const tcp, const kernel_ulong_t arg, + const bool get, const bool dflt) +{ + unsigned char val; + + if (get) { + if (umove_or_printaddr(tcp, arg, &val)) + return; + } else { + val = arg; + } + + if (get) + tprint_indirect_begin(); + printflags(dflt ? kd_default_led_flags : kd_led_flags, val, + "LED_???"); + if (get) + tprint_indirect_end(); +} + +static int +kd_leds(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg) +{ + bool get = false; + bool dflt = false; + + switch (code) { + case KDGETLED: + case KDGKBLED: + get = true; + } + + switch (code) { + case KDGKBLED: + case KDSKBLED: + dflt = true; + } + + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + print_leds(tcp, arg, get, dflt); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_get_kb_type(struct tcb *const tcp, const kernel_ulong_t arg) +{ + unsigned char val; + + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_indirect_begin(); + printxval(kd_kbd_types, val, "KB_???"); + tprint_indirect_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_io(struct tcb *const tcp, kernel_ulong_t arg) +{ + enum { GPFIRST = 0x3b4, GPLAST = 0x3df }; + + tprint_arg_next(); + PRINT_VAL_X(arg); + + if (arg >= GPFIRST && arg <= GPLAST + && xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW) + tprintf_comment("GPFIRST + %" PRI_klu, arg - GPFIRST); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_set_mode(struct tcb *const tcp, const kernel_ulong_t arg) +{ + tprint_arg_next(); + printxval(kd_modes, arg, "KD_???"); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_get_mode(struct tcb *const tcp, const kernel_ulong_t arg) +{ + unsigned int val; + + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_indirect_begin(); + printxval(kd_modes, val, "KD_???"); + tprint_indirect_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_screen_map(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + if (entering(tcp) || !syserror(tcp)) + printstr_ex(tcp, arg, KERNEL_E_TABSZ, QUOTE_FORCE_HEX); + else + printaddr(arg); + + return RVAL_IOCTL_DECODED; +} + +static bool +print_scrmap_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + unsigned short val = *(unsigned short *) elem_buf; + + if ((xlat_verbose(xlat_verbosity) != XLAT_STYLE_ABBREV) || + ((val & ~UNI_DIRECT_MASK) != UNI_DIRECT_BASE)) + PRINT_VAL_X(val); + + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW) + return true; + + if ((val & ~UNI_DIRECT_MASK) == UNI_DIRECT_BASE) + (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE + ? tprintf_comment : tprintf)("UNI_DIRECT_BASE+%#hx", + val & UNI_DIRECT_MASK); + + return true; +} + +static int +kd_uni_screen_map(struct tcb *const tcp, const kernel_ulong_t arg, + const bool get) +{ + unsigned short elem; + + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + print_array(tcp, arg, KERNEL_E_TABSZ, &elem, sizeof(elem), + tfetch_mem, print_scrmap_array_member, 0); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_set_kbd_mode(struct tcb *const tcp, const unsigned int arg) +{ + tprint_arg_next(); + printxval_d(kd_kbd_modes, arg, "K_???"); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_get_kbd_mode(struct tcb *const tcp, const kernel_ulong_t arg) +{ + unsigned int val; + + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_indirect_begin(); + printxval_d(kd_kbd_modes, val, "K_???"); + tprint_indirect_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_kbd_entry(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + static const struct xlat *xlat_tables = { + /* KT_LATIN */ + KT_FN = kd_key_fn_keys, + KT_SPEC = kd_key_spec_keys, + KT_PAD = kd_key_pad_keys, + KT_DEAD = kd_key_dead_keys, + /* KT_CONS */ + KT_CUR = kd_key_cur_keys, + KT_SHIFT = kd_key_shift_keys, + /* KT_META */ + KT_ASCII = kd_key_ascii_keys, + KT_LOCK = kd_key_lock_keys, + /* KT_LETTER */ + KT_SLOCK = kd_key_slock_keys, + /* KT_DEAD2 */ + KT_BRL = kd_key_brl_keys, + }; + + struct kbentry val; + unsigned char ktyp; + unsigned char kval; + const char *str = NULL; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umoven(tcp, arg, offsetofend(struct kbentry, kb_index), + &val)) { + printaddr(arg); + return RVAL_IOCTL_DECODED; + } + + tprint_struct_begin(); + + const char *keymap_str = xlookup(kd_key_tables, val.kb_table); + + if (keymap_str) { + tprints_field_name("kb_table"); + print_xlat_ex(val.kb_table, keymap_str, + XLAT_STYLE_DEFAULT); + } else { + PRINT_FIELD_FLAGS(val, kb_table, kd_keymap_flags, + "K_???"); + } + + tprint_struct_next(); + PRINT_FIELD_U(val, kb_index); + + if (get) + return 0; + } else if (syserror(tcp)) { + goto out; + } + + tprint_struct_next(); + if (umove(tcp, arg + offsetof(struct kbentry, kb_value), + &val.kb_value)) { + tprints_field_name("kb_value"); + tprint_unavailable(); + goto out; + } + + PRINT_FIELD_X(val, kb_value); + + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW) + goto out; + + ktyp = KTYP(val.kb_value); + kval = KVAL(val.kb_value); + + if (ktyp < ARRAY_SIZE(xlat_tables) && xlat_tablesktyp) + str = xlookup(xlat_tablesktyp, val.kb_value); + + if (str) { + tprints_comment(str); + } else { + tprint_comment_begin(); + tprints_arg_begin("K"); + printxvals_ex(ktyp, NULL, XLAT_STYLE_ABBREV, + kd_key_types, NULL); + tprint_arg_next(); + + switch (ktyp) { + case KT_LATIN: + case KT_META: + case KT_LETTER: + case KT_DEAD2: + print_char(kval, SCF_QUOTES | SCF_ESC_WS); + break; + default: + PRINT_VAL_X(kval); + } + + tprint_arg_end(); + tprint_comment_end(); + } + +out: + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_kbd_str_entry(struct tcb *const tcp, const kernel_ulong_t arg, + const bool get) +{ + struct kbsentry val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &(val.kb_func))) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + PRINT_FIELD_XVAL(val, kb_func, kd_key_fn_key_vals, + "KVAL(K_???"")"); + + if (get) + return 0; + } else if (syserror(tcp)) { + goto out; + } + + tprint_struct_next(); + tprints_field_name("kb_string"); + + int ret = umovestr(tcp, arg + offsetof(struct kbsentry, kb_string), + sizeof(val.kb_string), (char *) val.kb_string); + + if (ret < 0) { + tprint_unavailable(); + goto out; + } + + if (print_quoted_string((char *) val.kb_string, + MIN(max_strlen, + (unsigned int) ret ?: sizeof(val.kb_string)), + QUOTE_OMIT_TRAILING_0)) + tprint_more_data_follows(); + +out: + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static bool +print_kbdiacr_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + struct kbdiacr *val = elem_buf; + + tprint_struct_begin(); + PRINT_FIELD_CHAR(*val, diacr, SCF_QUOTES | SCF_ESC_WS); + tprint_struct_next(); + PRINT_FIELD_CHAR(*val, base, SCF_QUOTES | SCF_ESC_WS); + tprint_struct_next(); + PRINT_FIELD_CHAR(*val, result, SCF_QUOTES | SCF_ESC_WS); + tprint_struct_end(); + + return true; +} + +static int +kd_diacr(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + unsigned int kb_cnt; /* struct kbdiacrs.kb_cnt */ + struct kbdiacr elem; + + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + if (umove_or_printaddr(tcp, arg, &kb_cnt)) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + tprints_field_name("kb_cnt"); + PRINT_VAL_U(kb_cnt); + tprint_struct_next(); + tprints_field_name("kbdiacr"); + print_array_ex(tcp, arg + offsetof(struct kbdiacrs, kbdiacr), + MIN(kb_cnt, KERNEL_MAX_DIACR), &elem, sizeof(elem), + tfetch_mem, print_kbdiacr_array_member, 0, + kb_cnt > KERNEL_MAX_DIACR ? PAF_ARRAY_TRUNCATED : 0, + NULL, NULL); + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static bool +print_kbdiacruc_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + struct_kbdiacruc *val = elem_buf; + + tprint_struct_begin(); + PRINT_FIELD_X(*val, diacr); + tprint_struct_next(); + PRINT_FIELD_X(*val, base); + tprint_struct_next(); + PRINT_FIELD_X(*val, result); + tprint_struct_end(); + + return true; +} + +static int +kd_diacr_uc(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + unsigned int kb_cnt; /* struct kbdiacrs.kb_cnt */ + struct_kbdiacruc elem; + + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + if (umove_or_printaddr(tcp, arg, &kb_cnt)) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + tprints_field_name("kb_cnt"); + PRINT_VAL_U(kb_cnt); + tprint_struct_next(); + tprints_field_name("kbdiacruc"); + print_array_ex(tcp, arg + offsetof(struct_kbdiacrsuc, kbdiacruc), + MIN(kb_cnt, KERNEL_MAX_DIACR), &elem, sizeof(elem), + tfetch_mem, print_kbdiacruc_array_member, 0, + kb_cnt > KERNEL_MAX_DIACR ? PAF_ARRAY_TRUNCATED : 0, + NULL, NULL); + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_keycode(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + struct kbkeycode val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + PRINT_FIELD_X(val, scancode); + tprint_struct_next(); + PRINT_FIELD_X(val, keycode); + + if (get) + return 0; + + goto end; + } + + /* exiting */ + if (syserror(tcp) || + umove(tcp, arg + offsetof(struct kbkeycode, keycode), &val.keycode)) + { + tprint_struct_end(); + return RVAL_IOCTL_DECODED; + } + + tprint_value_changed(); + PRINT_VAL_X(val.keycode); + +end: + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_sigaccept(struct tcb *const tcp, const kernel_ulong_t arg) +{ + tprint_arg_next(); + + if (arg < INT_MAX) + printsignal(arg); + else + PRINT_VAL_U(arg); + + return RVAL_IOCTL_DECODED; +} + +static void +print_kbd_repeat(struct kbd_repeat *val) +{ + tprint_struct_begin(); + PRINT_FIELD_D(*val, delay); + tprint_struct_next(); + PRINT_FIELD_D(*val, period); + tprint_struct_end(); +} + +static int +kd_kbdrep(struct tcb *const tcp, const kernel_ulong_t arg) +{ + struct kbd_repeat val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + print_kbd_repeat(&val); + + return 0; + } + + /* exiting */ + if (syserror(tcp) || umove(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_value_changed(); + + print_kbd_repeat(&val); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_font(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + /* + * GPIO_FONT are equivalent to KDFONTOP with width == 8, + * height == 32, and charcount == 256, so the total size + * is (width + 7) / 8 * height * charcount == 8192. + */ + if (exiting(tcp) && syserror(tcp)) + printaddr(arg); + else + printstr_ex(tcp, arg, 8192, QUOTE_FORCE_HEX); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_kbmeta(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + unsigned int val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } + + if (get) { + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + } else { + val = arg; + } + + if (get) + tprint_indirect_begin(); + printxval(kd_meta_vals, val, "K_???"); + if (get) + tprint_indirect_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_unimapclr(struct tcb *const tcp, const kernel_ulong_t arg) +{ + struct unimapinit umi; + + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &umi)) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + PRINT_FIELD_U(umi, advised_hashsize); + tprint_struct_next(); + PRINT_FIELD_U(umi, advised_hashstep); + tprint_struct_next(); + PRINT_FIELD_U(umi, advised_hashlevel); + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; +} + +static int +kd_cmap(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + if (entering(tcp)) { + tprint_arg_next(); + + if (get) + return 0; + } else { + if (syserror(tcp)) { + printaddr(arg); + + return RVAL_IOCTL_DECODED; + } + } + + printstr_ex(tcp, arg, 3 * 16, QUOTE_FORCE_HEX); + + return RVAL_IOCTL_DECODED; +} + +int +kd_ioctl(struct tcb *const tcp, const unsigned int code, + kernel_ulong_t arg) +{ + arg = truncate_kulong_to_current_wordsize(arg); + + switch (code) { + case KIOCSOUND: + return kiocsound(tcp, arg); + + case KDMKTONE: + return kd_mk_tone(tcp, arg); + + case KDGETLED: + case KDSETLED: + case KDGKBLED: + case KDSKBLED: + return kd_leds(tcp, code, arg); + + case KDGKBTYPE: + return kd_get_kb_type(tcp, arg); + + case KDADDIO: + case KDDELIO: + return kd_io(tcp, arg); + + case KDSETMODE: + return kd_set_mode(tcp, arg); + case KDGETMODE: + return kd_get_mode(tcp, arg); + + case GIO_SCRNMAP: + case PIO_SCRNMAP: + return kd_screen_map(tcp, arg, code == GIO_SCRNMAP); + + case GIO_UNISCRNMAP: + case PIO_UNISCRNMAP: + return kd_uni_screen_map(tcp, arg, code == GIO_UNISCRNMAP); + + case KDGKBMODE: + return kd_get_kbd_mode(tcp, arg); + case KDSKBMODE: + return kd_set_kbd_mode(tcp, arg); + + case KDGKBENT: + case KDSKBENT: + return kd_kbd_entry(tcp, arg, code == KDGKBENT); + + case KDGKBSENT: + case KDSKBSENT: + return kd_kbd_str_entry(tcp, arg, code == KDGKBSENT); + + case KDGKBDIACR: + case KDSKBDIACR: + return kd_diacr(tcp, arg, code == KDGKBDIACR); + + case KDGKBDIACRUC: + case KDSKBDIACRUC: + return kd_diacr_uc(tcp, arg, code == KDGKBDIACRUC); + + case KDGETKEYCODE: + case KDSETKEYCODE: + return kd_keycode(tcp, arg, code == KDGETKEYCODE); + + case KDSIGACCEPT: + return kd_sigaccept(tcp, arg); + + case KDKBDREP: + return kd_kbdrep(tcp, arg); + + case GIO_FONT: + case PIO_FONT: + return kd_font(tcp, arg, code == GIO_FONT); + + case KDGKBMETA: + case KDSKBMETA: + return kd_kbmeta(tcp, arg, code == KDGKBMETA); + + case PIO_UNIMAPCLR: + return kd_unimapclr(tcp, arg); + + case GIO_CMAP: + case PIO_CMAP: + return kd_cmap(tcp, arg, code == GIO_CMAP); + + /* no arguments */ + case KDENABIO: + case KDDISABIO: + case KDMAPDISP: + case KDUNMAPDISP: + case PIO_FONTRESET: + return RVAL_IOCTL_DECODED; + } + + /* GIO_UNIMAP, PIO_UNIMAP, GIO_FONTX, PIO_FONTX, KDFONTOP */ + return kd_mpers_ioctl(tcp, code, arg); +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/kd_mpers_ioctl.c
Added
@@ -0,0 +1,269 @@ +/* + * Support for decoding of personality-dependent VT ioctl commands. + * + * Copyright (c) 2019-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +#include <linux/kd.h> + +#include DEF_MPERS_TYPE(struct_unimapdesc) +#include DEF_MPERS_TYPE(struct_consolefontdesc) +#include DEF_MPERS_TYPE(struct_console_font) +#include DEF_MPERS_TYPE(struct_console_font_op) + +typedef struct unimapdesc struct_unimapdesc; +typedef struct consolefontdesc struct_consolefontdesc; +typedef struct console_font struct_console_font; +typedef struct console_font_op struct_console_font_op; + +#include MPERS_DEFS + +#include "print_fields.h" + +#include "xlat/kd_font_flags.h" +#include "xlat/kd_font_ops.h" + +#define XLAT_MACROS_ONLY +# include "xlat/kd_ioctl_cmds.h" +#undef XLAT_MACROS_ONLY + + +static bool +print_unipair_array_member(struct tcb *tcp, void *elem_buf, + size_t elem_size, void *data) +{ + struct unipair *val = elem_buf; + + tprint_struct_begin(); + PRINT_FIELD_X(*val, unicode); + tprint_struct_next(); + PRINT_FIELD_X(*val, fontpos); + tprint_struct_end(); + + return true; +} + +static int +kd_unimap(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + struct_unimapdesc val; + struct unipair elem; + uint16_t cnt; + + if (entering(tcp)) + tprint_arg_next(); + + if (umove_or_printaddr_ignore_syserror(tcp, arg, &val)) { + if (exiting(tcp)) + tprint_struct_end(); + + return RVAL_IOCTL_DECODED; + } + + if (entering(tcp)) { + set_tcb_priv_ulong(tcp, val.entry_ct); + tprint_struct_begin(); + PRINT_FIELD_U(val, entry_ct); + + if (get) + return 0; + } else { + tprint_value_changed(); + PRINT_VAL_U(val.entry_ct); + } + + if (exiting(tcp) && syserror(tcp) && tcp->u_error != ENOMEM) { + tprint_struct_next(); + PRINT_FIELD_PTR(val, entries); + tprint_struct_end(); + return RVAL_IOCTL_DECODED; + } + + cnt = entering(tcp) ? val.entry_ct : get_tcb_priv_ulong(tcp); + + tprint_struct_next(); + tprints_field_name("entries"); + print_array(tcp, (mpers_ptr_t) val.entries, cnt, &elem, sizeof(elem), + tfetch_mem, print_unipair_array_member, 0); + + tprint_struct_end(); + + return get && entering(tcp) ? 0 : RVAL_IOCTL_DECODED; +} + +static void +print_consolefontdesc(struct tcb *const tcp, const struct_consolefontdesc *cfd, + const bool get) +{ + tprint_struct_begin(); + PRINT_FIELD_U(*cfd, charcount); + tprint_struct_next(); + PRINT_FIELD_U(*cfd, charheight); + tprint_struct_next(); + if (get) { + PRINT_FIELD_PTR(*cfd, chardata); + } else { + tprints_field_name("chardata"); + printstr_ex(tcp, (mpers_ptr_t) cfd->chardata, + MIN(cfd->charcount, 512) * 32, QUOTE_FORCE_HEX); + } + + tprint_struct_end(); +} + +static int +kd_fontx(struct tcb *const tcp, const kernel_ulong_t arg, const bool get) +{ + struct_consolefontdesc val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + } else { + if (syserror(tcp) || umove(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_value_changed(); + } + + print_consolefontdesc(tcp, &val, get && entering(tcp)); + + return get && entering(tcp) ? 0 : RVAL_IOCTL_DECODED; +} + +static void +print_console_font_op(struct tcb *const tcp, const struct_console_font_op *cfo) +{ + enum { KERNEL_MAX_FONT_NAME = 32 }; + + tprint_struct_begin(); + + if (entering(tcp)) { + PRINT_FIELD_XVAL(*cfo, op, kd_font_ops, "KD_FONT_OP_???"); + + switch (cfo->op) { + case KD_FONT_OP_SET_DEFAULT: + case KD_FONT_OP_COPY: + break; + default: + tprint_struct_next(); + PRINT_FIELD_FLAGS(*cfo, flags, kd_font_flags, + "KD_FONT_FLAG_???"); + } + + tprint_struct_next(); + } + + switch (cfo->op) { + case KD_FONT_OP_COPY: + PRINT_FIELD_U(*cfo, height); + break; + default: + PRINT_FIELD_U(*cfo, width); + tprint_struct_next(); + PRINT_FIELD_U(*cfo, height); + } + + switch (cfo->op) { + case KD_FONT_OP_SET_DEFAULT: + case KD_FONT_OP_COPY: + break; + default: + tprint_struct_next(); + PRINT_FIELD_U(*cfo, charcount); + } + + switch (cfo->op) { + case KD_FONT_OP_GET: + if (entering(tcp)) { + tprint_struct_next(); + PRINT_FIELD_PTR(*cfo, data); + break; + } + ATTRIBUTE_FALLTHROUGH; + + case KD_FONT_OP_SET: + tprint_struct_next(); + tprints_field_name("data"); + printstr_ex(tcp, (mpers_ptr_t) cfo->data, + ROUNDUP_DIV(MIN(cfo->width, 32), 8) * 32 * + MIN(cfo->charcount, 512), + QUOTE_FORCE_HEX); + break; + + case KD_FONT_OP_SET_DEFAULT: + if (entering(tcp)) { + tprint_struct_next(); + tprints_field_name("data"); + printstr_ex(tcp, (mpers_ptr_t) cfo->data, + KERNEL_MAX_FONT_NAME, + QUOTE_0_TERMINATED + | QUOTE_EXPECT_TRAILING_0); + } + break; + + case KD_FONT_OP_COPY: + break; + + default: + tprint_struct_next(); + PRINT_FIELD_PTR(*cfo, data); + } + + tprint_struct_end(); +} + +static int +kd_font_op(struct tcb *const tcp, const kernel_ulong_t arg) +{ + struct_console_font_op val; + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + } else { + if (syserror(tcp) || umove(tcp, arg, &val)) + return RVAL_IOCTL_DECODED; + + tprint_value_changed(); + } + + print_console_font_op(tcp, &val); + + switch (val.op) { + case KD_FONT_OP_SET: + case KD_FONT_OP_COPY: + return RVAL_IOCTL_DECODED; + } + + return entering(tcp) ? 0 : RVAL_IOCTL_DECODED; +} + +MPERS_PRINTER_DECL(int, kd_mpers_ioctl, struct tcb *const tcp, + const unsigned int code, const kernel_ulong_t arg) +{ + switch (code) + { + case GIO_UNIMAP: + case PIO_UNIMAP: + return kd_unimap(tcp, arg, code == GIO_UNIMAP); + + case GIO_FONTX: + case PIO_FONTX: + return kd_fontx(tcp, arg, code == GIO_FONTX); + + case KDFONTOP: + return kd_font_op(tcp, arg); + } + + return RVAL_DECODED; +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/kexec.c -> _service:tar_scm:strace-6.1.tar.xz/src/kexec.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -19,9 +19,7 @@ kernel_ulong_t seg_buf4; if (elem_size < sizeof(seg_buf)) { - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(seg_buf); ++i) + for (unsigned int i = 0; i < ARRAY_SIZE(seg_buf); ++i) seg_bufi = ((unsigned int *) elem_buf)i; seg = seg_buf; } else { @@ -80,7 +78,7 @@ printxval64(kexec_arch_values, n & KEXEC_ARCH_MASK, "KEXEC_ARCH_???"); n &= ~(kernel_ulong_t) KEXEC_ARCH_MASK; if (n) { - tprints("|"); + tprint_or(); printflags64(kexec_load_flags, n, "KEXEC_???"); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/keyctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/keyctl.c
Changed
@@ -309,7 +309,7 @@ if (!IS_ARRAY_ZERO(kdf.__spare)) { tprint_struct_next(); PRINT_FIELD_ARRAY(kdf, __spare, tcp, - print_xint32_array_member); + print_xint_array_member); } tprint_struct_end(); @@ -342,7 +342,7 @@ if (!IS_ARRAY_ZERO(query.__spare)) { tprint_struct_next(); PRINT_FIELD_ARRAY(query, __spare, tcp, - print_xint32_array_member); + print_xint_array_member); } tprint_struct_end(); @@ -392,7 +392,7 @@ if (!IS_ARRAY_ZERO(params->__spare)) { tprint_struct_next(); PRINT_FIELD_ARRAY(*params, __spare, tcp, - print_xint32_array_member); + print_xint_array_member); } tprint_struct_end();
View file
_service:tar_scm:strace-5.14.tar.xz/src/kvm.c -> _service:tar_scm:strace-6.1.tar.xz/src/kvm.c
Changed
@@ -57,9 +57,9 @@ void kvm_vcpu_info_free(struct tcb *tcp) { - struct vcpu_info *head, *next; + struct vcpu_info *next; - for (head = tcp->vcpu_info_list; head; head = next) { + for (struct vcpu_info *head = tcp->vcpu_info_list; head; head = next) { next = head->next; free(head); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/landlock.c -> _service:tar_scm:strace-6.1.tar.xz/src/landlock.c
Changed
@@ -17,9 +17,7 @@ print_landlock_ruleset_attr(struct tcb *tcp, const kernel_ulong_t addr, const kernel_ulong_t size) { - struct { - uint64_t handled_access_fs; - } attr; + struct landlock_ruleset_attr attr; if (size < offsetofend(typeof(attr), handled_access_fs)) { printaddr(addr); @@ -66,10 +64,7 @@ static void print_landlock_path_beneath_attr(struct tcb *tcp, const kernel_ulong_t addr) { - struct { - uint64_t allowed_access; - int32_t parent_fd; - } ATTRIBUTE_PACKED attr; + struct landlock_path_beneath_attr attr; if (umove_or_printaddr(tcp, addr, &attr)) return;
View file
_service:tar_scm:strace-5.14.tar.xz/src/largefile_wrappers.h -> _service:tar_scm:strace-6.1.tar.xz/src/largefile_wrappers.h
Changed
@@ -2,7 +2,7 @@ * Wrappers for handling discrepancies in LF64-themed syscalls availability and * necessity between various architectures and kernel versions. * - * Copyright (c) 2012-2021 The strace developers. + * Copyright (c) 2012-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -31,6 +31,7 @@ # endif # define fstat_fd fstat64 # define strace_stat_t struct stat64 +# define lstat_file lstat64 # define stat_file stat64 # define struct_dirent struct dirent64 # define read_dir readdir64 @@ -42,6 +43,7 @@ # define fcntl_fd fcntl # define fstat_fd fstat # define strace_stat_t struct stat +# define lstat_file lstat # define stat_file stat # define struct_dirent struct dirent # define read_dir readdir
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/32/ioctls_inc_align16.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/32/ioctls_inc_align16.h
Changed
@@ -334,7 +334,8 @@ { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_MADVISE", _IOC_READ|_IOC_WRITE, 0x6448, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6442, 0x10 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6446, 0x48 }, -{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x18 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SET_PARAM", _IOC_WRITE, 0x6441, 0x18 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE", _IOC_WRITE, 0x644b, 0x04 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 }, @@ -437,6 +438,11 @@ { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_ALLOC", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_FREE", _IOC_WRITE, 0x6445, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_INIT", _IOC_WRITE, 0x6456, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_CLOSE", _IOC_READ|_IOC_WRITE, 0x6451, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_MAP", _IOC_READ|_IOC_WRITE, 0x6452, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_OPEN", _IOC_READ|_IOC_WRITE, 0x6450, 0x18 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6454, 0x40 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_UNMAP", _IOC_READ|_IOC_WRITE, 0x6453, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CLOSE_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6446, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_CREATE", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_GET_FLAGS", _IOC_READ|_IOC_WRITE, 0x644d, 0x08 }, @@ -448,6 +454,9 @@ { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GET_SYNCPT_BASE", _IOC_READ|_IOC_WRITE, 0x6449, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_OPEN_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6445, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x58 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE", _IOC_READ|_IOC_WRITE, 0x6460, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_FREE", _IOC_READ|_IOC_WRITE, 0x6461, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_WAIT", _IOC_READ|_IOC_WRITE, 0x6462, 0x18 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_INCR", _IOC_READ|_IOC_WRITE, 0x6443, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_READ", _IOC_READ|_IOC_WRITE, 0x6442, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_WAIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, @@ -455,9 +464,12 @@ { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_BO_OFFSET", _IOC_READ|_IOC_WRITE, 0x6445, 0x08 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_MMAP_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x38 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x40 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x54 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 }, @@ -490,7 +502,8 @@ { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 }, -{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, @@ -500,13 +513,17 @@ { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 }, +{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x22 }, { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 }, +{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x22 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 }, { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 }, @@ -556,6 +573,7 @@ { "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 }, { "linux/android/binder.h", "BINDER_ENABLE_ONEWAY_SPAM_DETECTION", _IOC_WRITE, 0x6210, 0x04 }, { "linux/android/binder.h", "BINDER_FREEZE", _IOC_WRITE, 0x620e, 0x0c }, +{ "linux/android/binder.h", "BINDER_GET_EXTENDED_ERROR", _IOC_READ|_IOC_WRITE, 0x6211, 0x0c }, { "linux/android/binder.h", "BINDER_GET_FROZEN_INFO", _IOC_READ|_IOC_WRITE, 0x620f, 0x0c }, { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 }, { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 }, @@ -693,6 +711,8 @@ { "linux/btrfs.h", "BTRFS_IOC_DEVICES_READY", _IOC_READ, 0x9427, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa22 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_READ", _IOC_READ, 0x9440, 0x78 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_WRITE", _IOC_WRITE, 0x9440, 0x78 }, { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 }, { "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 }, @@ -739,6 +759,7 @@ { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH", _IOC_READ|_IOC_WRITE, 0x9411, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH_V2", _IOC_READ|_IOC_WRITE, 0x9411, 0x70 }, { "linux/btrfs.h", "BTRFS_IOC_WAIT_SYNC", _IOC_WRITE, 0x9416, 0x08 }, +{ "linux/cachefiles.h", "CACHEFILES_IOC_READ_COMPLETE", _IOC_WRITE, 0x9801, 0x04 }, { "linux/capi.h", "CAPI_CLR_FLAGS", _IOC_READ, 0x4325, 0x04 }, { "linux/capi.h", "CAPI_GET_ERRCODE", _IOC_READ, 0x4321, 0x02 }, { "linux/capi.h", "CAPI_GET_FLAGS", _IOC_READ, 0x4323, 0x04 }, @@ -811,6 +832,7 @@ { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 }, { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 }, { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 }, +{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 }, { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 }, { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 }, { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 }, @@ -843,6 +865,26 @@ { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 }, { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 }, { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 }, +{ "linux/comedi.h", "COMEDI_BUFCONFIG", _IOC_READ, 0x640d, 0x20 }, +{ "linux/comedi.h", "COMEDI_BUFINFO", _IOC_READ|_IOC_WRITE, 0x640e, 0x2c }, +{ "linux/comedi.h", "COMEDI_CANCEL", _IOC_NONE, 0x6407, 0x00 }, +{ "linux/comedi.h", "COMEDI_CHANINFO", _IOC_READ, 0x6403, 0x20 }, +{ "linux/comedi.h", "COMEDI_CMD", _IOC_READ, 0x6409, 0x40 }, +{ "linux/comedi.h", "COMEDI_CMDTEST", _IOC_READ, 0x640a, 0x40 }, +{ "linux/comedi.h", "COMEDI_DEVCONFIG", _IOC_WRITE, 0x6400, 0x94 }, +{ "linux/comedi.h", "COMEDI_DEVINFO", _IOC_READ, 0x6401, 0xb0 }, +{ "linux/comedi.h", "COMEDI_INSN", _IOC_READ, 0x640c, 0x20 }, +{ "linux/comedi.h", "COMEDI_INSNLIST", _IOC_READ, 0x640b, 0x08 }, +{ "linux/comedi.h", "COMEDI_LOCK", _IOC_NONE, 0x6405, 0x00 }, +{ "linux/comedi.h", "COMEDI_POLL", _IOC_NONE, 0x640f, 0x00 }, +{ "linux/comedi.h", "COMEDI_RANGEINFO", _IOC_READ, 0x6408, 0x08 }, +{ "linux/comedi.h", "COMEDI_SETRSUBD", _IOC_NONE, 0x6410, 0x00 }, +{ "linux/comedi.h", "COMEDI_SETWSUBD", _IOC_NONE, 0x6411, 0x00 }, +{ "linux/comedi.h", "COMEDI_SUBDINFO", _IOC_READ, 0x6402, 0x48 }, +{ "linux/comedi.h", "COMEDI_UNLOCK", _IOC_NONE, 0x6406, 0x00 }, +{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 }, +{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 }, +{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 }, { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 }, { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 }, { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 }, @@ -863,12 +905,12 @@ { "linux/dm-ioctl.h", "DM_TABLE_STATUS", _IOC_READ|_IOC_WRITE, 0xfd0c, 0x138 }, { "linux/dm-ioctl.h", "DM_TARGET_MSG", _IOC_READ|_IOC_WRITE, 0xfd0e, 0x138 }, { "linux/dm-ioctl.h", "DM_VERSION", _IOC_READ|_IOC_WRITE, 0xfd00, 0x138 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_EXPORT_SYNC_FILE", _IOC_READ|_IOC_WRITE, 0x6202, 0x08 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_IMPORT_SYNC_FILE", _IOC_WRITE, 0x6203, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_IOCTL_SYNC", _IOC_WRITE, 0x6200, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_A", _IOC_WRITE, 0x6201, 0x04 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_B", _IOC_WRITE, 0x6201, 0x08 }, { "linux/dma-heap.h", "DMA_HEAP_IOCTL_ALLOC", _IOC_READ|_IOC_WRITE, 0x4800, 0x18 }, -{ "linux/dn.h", "OSIOCGNETADDR", _IOC_READ, 0x89e1, 0x04 }, -{ "linux/dn.h", "OSIOCSNETADDR", _IOC_WRITE, 0x89e0, 0x04 }, { "linux/dvb/audio.h", "AUDIO_BILINGUAL_CHANNEL_SELECT", _IOC_NONE, 0x6f14, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CHANNEL_SELECT", _IOC_NONE, 0x6f09, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CLEAR_BUFFER", _IOC_NONE, 0x6f0c, 0x00 }, @@ -952,7 +994,7 @@ { "linux/dvb/video.h", "VIDEO_STILLPICTURE", _IOC_WRITE, 0x6f1e, 0x08 }, { "linux/dvb/video.h", "VIDEO_STOP", _IOC_NONE, 0x6f15, 0x00 }, { "linux/dvb/video.h", "VIDEO_TRY_COMMAND", _IOC_READ|_IOC_WRITE, 0x6f3c, 0x48 }, -{ "linux/f2fs.h", "F2FS_IOC_ABORT_VOLATILE_WRITE", _IOC_NONE, 0xf505, 0x00 }, +{ "linux/f2fs.h", "F2FS_IOC_ABORT_ATOMIC_WRITE", _IOC_NONE, 0xf505, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMMIT_ATOMIC_WRITE", _IOC_NONE, 0xf502, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMPRESS_FILE", _IOC_NONE, 0xf518, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_DECOMPRESS_FILE", _IOC_NONE, 0xf517, 0x00 }, @@ -1069,6 +1111,7 @@ { "linux/fs.h", "BLKFLSBUF", _IOC_NONE, 0x1261, 0x00 }, { "linux/fs.h", "BLKFRAGET", _IOC_NONE, 0x1265, 0x00 }, { "linux/fs.h", "BLKFRASET", _IOC_NONE, 0x1264, 0x00 }, +{ "linux/fs.h", "BLKGETDISKSEQ", _IOC_READ, 0x1280, 0x08 }, { "linux/fs.h", "BLKGETSIZE", _IOC_NONE, 0x1260, 0x00 }, { "linux/fs.h", "BLKGETSIZE64", _IOC_READ, 0x1272, 0x04 }, { "linux/fs.h", "BLKIOMIN", _IOC_NONE, 0x1278, 0x00 }, @@ -1115,6 +1158,7 @@ { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 }, { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 }, { "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c }, +{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x1e }, { "linux/fsi.h", "FSI_SCOM_RESET", _IOC_WRITE, 0x7303, 0x04 }, @@ -1415,12 +1459,14 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_ACQUIRE_VM", _IOC_WRITE, 0x4b15, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_MEMORY_OF_GPU", _IOC_READ|_IOC_WRITE, 0x4b16, 0x28 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_QUEUE_GWS", _IOC_READ|_IOC_WRITE, 0x4b1e, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_AVAILABLE_MEMORY", _IOC_READ|_IOC_WRITE, 0x4b23, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_EVENT", _IOC_READ|_IOC_WRITE, 0x4b08, 0x20 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b02, 0x58 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH", _IOC_WRITE, 0x4b0f, 0x10 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER", _IOC_WRITE, 0x4b0d, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER", _IOC_WRITE, 0x4b0e, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL", _IOC_WRITE, 0x4b10, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_CRIU_OP", _IOC_READ|_IOC_WRITE, 0x4b22, 0x34 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED", _IOC_WRITE, 0x4b0f, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER_DEPRECATED", _IOC_WRITE, 0x4b0d, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED", _IOC_WRITE, 0x4b0e, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED", _IOC_WRITE, 0x4b10, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_EVENT", _IOC_WRITE, 0x4b09, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b03, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_FREE_MEMORY_OF_GPU", _IOC_WRITE, 0x4b17, 0x08 }, @@ -1445,15 +1491,6 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU", _IOC_READ|_IOC_WRITE, 0x4b19, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 }, -{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 }, -{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 }, -{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c }, -{ "linux/lightnvm.h", "NVM_DEV_REMOVE", _IOC_WRITE, 0x4c23, 0x24 }, -{ "linux/lightnvm.h", "NVM_GET_DEVICES", _IOC_READ, 0x4c21, 0x1000 }, -{ "linux/lightnvm.h", "NVM_INFO", _IOC_READ|_IOC_WRITE, 0x4c20, 0x1000 }, { "linux/lirc.h", "LIRC_GET_FEATURES", _IOC_READ, 0x6900, 0x04 }, { "linux/lirc.h", "LIRC_GET_LENGTH", _IOC_READ, 0x690f, 0x04 }, { "linux/lirc.h", "LIRC_GET_MAX_TIMEOUT", _IOC_READ, 0x6909, 0x04 }, @@ -1473,6 +1510,7 @@ { "linux/lirc.h", "LIRC_SET_SEND_MODE", _IOC_WRITE, 0x6911, 0x04 }, { "linux/lirc.h", "LIRC_SET_TRANSMITTER_MASK", _IOC_WRITE, 0x6917, 0x04 }, { "linux/lirc.h", "LIRC_SET_WIDEBAND_RECEIVER", _IOC_WRITE, 0x6923, 0x04 }, +{ "linux/loadpin.h", "LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS", _IOC_WRITE, 0x4c00, 0x04 }, { "linux/loop.h", "LOOP_CHANGE_FD", 0, 0x4C06, 0 }, { "linux/loop.h", "LOOP_CLR_FD", 0, 0x4C01, 0 }, { "linux/loop.h", "LOOP_CONFIGURE", 0, 0x4C0A, 0 }, @@ -1497,6 +1535,7 @@ { "linux/mISDNif.h", "IMGETVERSION", _IOC_READ, 0x4942, 0x04 }, { "linux/mISDNif.h", "IMHOLD_L1", _IOC_READ, 0x4948, 0x04 }, { "linux/mISDNif.h", "IMSETDEVNAME", _IOC_READ, 0x4947, 0x18 }, +{ "linux/map_benchmark.h", "DMA_MAP_BENCHMARK", _IOC_READ|_IOC_WRITE, 0x6401, 0x3c }, { "linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", _IOC_READ, 0x6efb, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", _IOC_READ, 0x6ef9, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", _IOC_READ, 0x6ef8, 0x04 }, @@ -1586,11 +1625,16 @@ { "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_ID", _IOC_NONE, 0x4e40, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD", _IOC_READ|_IOC_WRITE, 0x4e48, 0x50 }, +{ "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD_VEC", _IOC_READ|_IOC_WRITE, 0x4e49, 0x50 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO_CMD", _IOC_READ|_IOC_WRITE, 0x4e43, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESCAN", _IOC_NONE, 0x4e46, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESET", _IOC_NONE, 0x4e44, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBMIT_IO", _IOC_WRITE, 0x4e42, 0x2c }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBSYS_RESET", _IOC_NONE, 0x4e45, 0x00 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN", _IOC_READ|_IOC_WRITE, 0x4e82, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN_VEC", _IOC_READ|_IOC_WRITE, 0x4e83, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO", _IOC_READ|_IOC_WRITE, 0x4e80, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO_VEC", _IOC_READ|_IOC_WRITE, 0x4e81, 0x48 }, { "linux/nvram.h", "NVRAM_INIT", _IOC_NONE, 0x7040, 0x00 }, { "linux/nvram.h", "NVRAM_SETCKS", _IOC_NONE, 0x7041, 0x00 }, { "linux/omap3isp.h", "VIDIOC_OMAP3ISP_AEWB_CFG", _IOC_READ|_IOC_WRITE, 0x56c3, 0x1e }, @@ -1645,6 +1689,14 @@ { "linux/perf_event.h", "PERF_EVENT_IOC_SET_BPF", _IOC_WRITE, 0x2408, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_FILTER", _IOC_WRITE, 0x2406, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_OUTPUT", _IOC_NONE, 0x2405, 0x00 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_DATA_INFO", _IOC_READ, 0xee08, 0x3c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_INFO", _IOC_READ, 0xee07, 0x0c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_SET_INFO", _IOC_WRITE, 0xee06, 0x0c }, +{ "linux/pfrut.h", "PFRU_IOC_ACTIVATE", _IOC_WRITE, 0xee03, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_QUERY_CAP", _IOC_READ, 0xee05, 0x5c }, +{ "linux/pfrut.h", "PFRU_IOC_SET_REV", _IOC_WRITE, 0xee01, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE", _IOC_WRITE, 0xee02, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE_ACTIVATE", _IOC_WRITE, 0xee04, 0x04 }, { "linux/phantom.h", "PHN_GETREG", _IOC_READ|_IOC_WRITE, 0x7005, 0x08 }, { "linux/phantom.h", "PHN_GETREGS", _IOC_READ|_IOC_WRITE, 0x7007, 0x28 }, { "linux/phantom.h", "PHN_GET_REG", _IOC_READ|_IOC_WRITE, 0x7000, 0x04 }, @@ -1786,6 +1838,7 @@ { "linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", _IOC_WRITE, 0xcd01, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_GET_SHUTDOWN_ON_RELEASE", _IOC_READ, 0xb702, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_SET_SHUTDOWN_ON_RELEASE", _IOC_WRITE, 0xb701, 0x04 }, +{ "linux/rfkill.h", "RFKILL_IOCTL_MAX_SIZE", _IOC_WRITE, 0x5202, 0x04 }, { "linux/rfkill.h", "RFKILL_IOCTL_NOINPUT", _IOC_NONE, 0x5201, 0x00 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_ACCEPT", _IOC_READ|_IOC_WRITE, 0x6307, 0x08 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_BIND", _IOC_WRITE, 0x6305, 0x08 }, @@ -1822,8 +1875,10 @@ { "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 }, { "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 }, { "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 }, +{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 }, { "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 }, { "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 }, +{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 }, { "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 }, { "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 }, { "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 }, @@ -1832,6 +1887,8 @@ { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 }, { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 }, { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 }, +{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 }, +{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 }, { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 }, { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 }, { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c }, @@ -1873,6 +1930,7 @@ { "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 }, +{ "linux/sed-opal.h", "IOC_OPAL_GET_STATUS", _IOC_READ, 0x70ec, 0x08 }, { "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 }, { "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 }, { "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 }, @@ -1884,6 +1942,9 @@ { "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 }, { "linux/sed-opal.h", "IOC_OPAL_WRITE_SHADOW_MBR", _IOC_WRITE, 0x70ea, 0x120 }, { "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 }, +{ "linux/sev-guest.h", "SNP_GET_DERIVED_KEY", _IOC_READ|_IOC_WRITE, 0x5301, 0x1a }, +{ "linux/sev-guest.h", "SNP_GET_EXT_REPORT", _IOC_READ|_IOC_WRITE, 0x5302, 0x1a }, +{ "linux/sev-guest.h", "SNP_GET_REPORT", _IOC_READ|_IOC_WRITE, 0x5300, 0x1a }, { "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 }, { "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 }, { "linux/sockios.h", "SIOCADDRT", 0, 0x890B, 0 }, @@ -2271,6 +2332,8 @@ { "linux/usbdevice_fs.h", "USBDEVFS_SETINTERFACE", _IOC_READ, 0x5504, 0x08 }, { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", _IOC_READ, 0x550a, 0x2a }, { "linux/usbdevice_fs.h", "USBDEVFS_WAIT_FOR_RESUME", _IOC_NONE, 0x5523, 0x00 }, +{ "linux/user_events.h", "DIAG_IOCSDEL", _IOC_WRITE, 0x2a01, 0x04 }, +{ "linux/user_events.h", "DIAG_IOCSREG", _IOC_READ|_IOC_WRITE, 0x2a00, 0x04 }, { "linux/userfaultfd.h", "UFFDIO_API", _IOC_READ|_IOC_WRITE, 0xaa3f, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_CONTINUE", _IOC_READ|_IOC_WRITE, 0xaa07, 0x20 }, { "linux/userfaultfd.h", "UFFDIO_COPY", _IOC_READ|_IOC_WRITE, 0xaa03, 0x28 }, @@ -2279,6 +2342,7 @@ { "linux/userfaultfd.h", "UFFDIO_WAKE", _IOC_READ, 0xaa02, 0x10 }, { "linux/userfaultfd.h", "UFFDIO_WRITEPROTECT", _IOC_READ|_IOC_WRITE, 0xaa06, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_ZEROPAGE", _IOC_READ|_IOC_WRITE, 0xaa04, 0x20 }, +{ "linux/userfaultfd.h", "USERFAULTFD_IOC_NEW", _IOC_NONE, 0xaa00, 0x00 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_MAP", _IOC_READ|_IOC_WRITE, 0x7520, 0x58 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_QUERY", _IOC_READ|_IOC_WRITE, 0x7521, 0x0a }, { "linux/v4l2-subdev.h", "VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL", _IOC_READ|_IOC_WRITE, 0x564b, 0x40 }, @@ -2304,6 +2368,21 @@ { "linux/vboxguest.h", "VBG_IOCTL_VMMDEV_REQUEST_BIG", _IOC_NONE, 0x5603, 0x00 }, { "linux/vboxguest.h", "VBG_IOCTL_WAIT_FOR_EVENTS", _IOC_READ|_IOC_WRITE, 0x560a, 0x20 }, { "linux/vboxguest.h", "VBG_IOCTL_WRITE_CORE_DUMP", _IOC_READ|_IOC_WRITE, 0x5613, 0x1c }, +{ "linux/vduse.h", "VDUSE_CREATE_DEV", _IOC_WRITE, 0x8102, 0x150 }, +{ "linux/vduse.h", "VDUSE_DESTROY_DEV", _IOC_WRITE, 0x8103, 0x100 }, +{ "linux/vduse.h", "VDUSE_DEV_GET_FEATURES", _IOC_READ, 0x8111, 0x08 }, +{ "linux/vduse.h", "VDUSE_DEV_INJECT_CONFIG_IRQ", _IOC_NONE, 0x8113, 0x00 }, +{ "linux/vduse.h", "VDUSE_DEV_SET_CONFIG", _IOC_WRITE, 0x8112, 0x08 }, +{ "linux/vduse.h", "VDUSE_GET_API_VERSION", _IOC_READ, 0x8100, 0x08 }, +{ "linux/vduse.h", "VDUSE_IOTLB_DEREG_UMEM", _IOC_WRITE, 0x8119, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_FD", _IOC_READ|_IOC_WRITE, 0x8110, 0x1a }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_INFO", _IOC_READ|_IOC_WRITE, 0x811a, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_REG_UMEM", _IOC_WRITE, 0x8118, 0x30 }, +{ "linux/vduse.h", "VDUSE_SET_API_VERSION", _IOC_WRITE, 0x8101, 0x08 }, +{ "linux/vduse.h", "VDUSE_VQ_GET_INFO", _IOC_READ|_IOC_WRITE, 0x8115, 0x2a }, +{ "linux/vduse.h", "VDUSE_VQ_INJECT_IRQ", _IOC_WRITE, 0x8117, 0x04 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 }, { "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 }, @@ -2360,15 +2439,22 @@ { "linux/vhost.h", "VHOST_SET_VRING_ERR", _IOC_WRITE, 0xaf22, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_KICK", _IOC_WRITE, 0xaf20, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_NUM", _IOC_WRITE, 0xaf10, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_AS_NUM", _IOC_READ, 0xaf7a, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_CONFIG", _IOC_READ, 0xaf73, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_CONFIG_SIZE", _IOC_READ, 0xaf79, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_DEVICE_ID", _IOC_READ, 0xaf70, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_GROUP_NUM", _IOC_READ, 0xaf81, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_IOVA_RANGE", _IOC_READ, 0xaf78, 0x10 }, { "linux/vhost.h", "VHOST_VDPA_GET_STATUS", _IOC_READ, 0xaf71, 0x01 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VQS_COUNT", _IOC_READ, 0xaf80, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VRING_GROUP", _IOC_READ|_IOC_WRITE, 0xaf7b, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_GET_VRING_NUM", _IOC_READ, 0xaf76, 0x02 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG", _IOC_WRITE, 0xaf74, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG_CALL", _IOC_WRITE, 0xaf77, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_SET_GROUP_ASID", _IOC_WRITE, 0xaf7c, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_STATUS", _IOC_WRITE, 0xaf72, 0x01 }, { "linux/vhost.h", "VHOST_VDPA_SET_VRING_ENABLE", _IOC_WRITE, 0xaf75, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_SUSPEND", _IOC_NONE, 0xaf7d, 0x00 }, { "linux/vhost.h", "VHOST_VSOCK_SET_GUEST_CID", _IOC_WRITE, 0xaf60, 0x08 }, { "linux/vhost.h", "VHOST_VSOCK_SET_RUNNING", _IOC_WRITE, 0xaf61, 0x04 }, { "linux/videodev2.h", "VIDIOC_CREATE_BUFS", _IOC_READ|_IOC_WRITE, 0x565c, 0xf8 }, @@ -2583,18 +2669,21 @@ { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_GET_DSP_INFO", _IOC_READ|_IOC_WRITE, 0x520d, 0x1c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH_SNS", _IOC_NONE, 0x5208, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_MAP", _IOC_READ|_IOC_WRITE, 0x520a, 0x3c }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_UNMAP", _IOC_READ|_IOC_WRITE, 0x520b, 0x2c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MMAP", _IOC_READ|_IOC_WRITE, 0x5206, 0x20 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MUNMAP", _IOC_READ|_IOC_WRITE, 0x5207, 0x10 }, { "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 }, -{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x2c }, +{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x30 }, { "misc/habanalabs.h", "HL_IOCTL_DEBUG", _IOC_READ|_IOC_WRITE, 0x4806, 0x28 }, { "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 }, { "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 }, -{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 }, +{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x38 }, { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 }, @@ -2603,6 +2692,7 @@ { "misc/ocxl.h", "OCXL_IOCTL_IRQ_FREE", _IOC_WRITE, 0xca12, 0x08 }, { "misc/ocxl.h", "OCXL_IOCTL_IRQ_SET_FD", _IOC_WRITE, 0xca13, 0x10 }, { "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_CTX", _IOC_READ|_IOC_WRITE, 0x480a, 0x04 }, +{ "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_INFO", _IOC_READ|_IOC_WRITE, 0x480b, 0x10 }, { "misc/uacce/uacce.h", "UACCE_CMD_PUT_Q", _IOC_NONE, 0x5701, 0x00 }, { "misc/uacce/uacce.h", "UACCE_CMD_START_Q", _IOC_NONE, 0x5700, 0x00 }, { "misc/xilinx_sdfec.h", "XSDFEC_ADD_LDPC_CODE_PARAMS", _IOC_WRITE, 0x6605, 0x4a }, @@ -2630,6 +2720,7 @@ { "mtd/mtd-abi.h", "MEMGETREGIONINFO", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 }, { "mtd/mtd-abi.h", "MEMISLOCKED", _IOC_READ, 0x4d17, 0x08 }, { "mtd/mtd-abi.h", "MEMLOCK", _IOC_WRITE, 0x4d05, 0x08 }, +{ "mtd/mtd-abi.h", "MEMREAD", _IOC_READ|_IOC_WRITE, 0x4d1a, 0x3c }, { "mtd/mtd-abi.h", "MEMREADOOB", _IOC_READ|_IOC_WRITE, 0x4d04, 0x0c }, { "mtd/mtd-abi.h", "MEMREADOOB64", _IOC_READ|_IOC_WRITE, 0x4d16, 0x18 }, { "mtd/mtd-abi.h", "MEMSETBADBLOCK", _IOC_WRITE, 0x4d0c, 0x08 }, @@ -2845,6 +2936,7 @@ { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PARAMS", _IOC_READ|_IOC_WRITE, 0x5710, 0x1e }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PVERSION", _IOC_READ, 0x5700, 0x04 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_STATUS", _IOC_READ|_IOC_WRITE, 0x5720, 0x24 }, +{ "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_USER_PVERSION", _IOC_WRITE, 0x5702, 0x04 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", _IOC_NONE, 0x54a2, 0x00 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", _IOC_READ|_IOC_WRITE, 0x5403, 0xe0 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", _IOC_WRITE, 0x5404, 0x3c }, @@ -2900,6 +2992,9 @@ { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 }, { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 }, @@ -2935,16 +3030,6 @@ { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_RESET_SAMPLES", _IOC_NONE, 0x4882, 0x00 }, { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_VERSION", _IOC_READ, 0x4880, 0x04 }, { "sound/usb_stream.h", "SNDRV_USB_STREAM_IOCTL_SET_PARAMS", _IOC_WRITE, 0x4890, 0x10 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_NAME", _IOC_READ, 0x7702, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PIN_STATUS", _IOC_NONE, 0x7709, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PROT_MASK", _IOC_NONE, 0x7706, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_SIZE", _IOC_NONE, 0x7704, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_PIN", _IOC_WRITE, 0x7707, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_PURGE_ALL_CACHES", _IOC_NONE, 0x770a, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_NAME", _IOC_WRITE, 0x7701, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_PROT_MASK", _IOC_WRITE, 0x7705, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_SIZE", _IOC_WRITE, 0x7703, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_UNPIN", _IOC_WRITE, 0x7708, 0x08 }, { "video/da8xx-fb.h", "FBIGET_BRIGHTNESS", _IOC_READ, 0x4603, 0x04 }, { "video/da8xx-fb.h", "FBIGET_COLOR", _IOC_READ, 0x4605, 0x04 }, { "video/da8xx-fb.h", "FBIOGET_CONTRAST", _IOC_READ, 0x4601, 0x04 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/32/ioctls_inc_align32.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/32/ioctls_inc_align32.h
Changed
@@ -334,7 +334,8 @@ { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_MADVISE", _IOC_READ|_IOC_WRITE, 0x6448, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6442, 0x10 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6446, 0x48 }, -{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x18 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SET_PARAM", _IOC_WRITE, 0x6441, 0x18 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE", _IOC_WRITE, 0x644b, 0x04 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 }, @@ -437,6 +438,11 @@ { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_ALLOC", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_FREE", _IOC_WRITE, 0x6445, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_INIT", _IOC_WRITE, 0x6456, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_CLOSE", _IOC_READ|_IOC_WRITE, 0x6451, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_MAP", _IOC_READ|_IOC_WRITE, 0x6452, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_OPEN", _IOC_READ|_IOC_WRITE, 0x6450, 0x18 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6454, 0x40 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_UNMAP", _IOC_READ|_IOC_WRITE, 0x6453, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CLOSE_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6446, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_CREATE", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_GET_FLAGS", _IOC_READ|_IOC_WRITE, 0x644d, 0x08 }, @@ -448,6 +454,9 @@ { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GET_SYNCPT_BASE", _IOC_READ|_IOC_WRITE, 0x6449, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_OPEN_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6445, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x58 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE", _IOC_READ|_IOC_WRITE, 0x6460, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_FREE", _IOC_READ|_IOC_WRITE, 0x6461, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_WAIT", _IOC_READ|_IOC_WRITE, 0x6462, 0x18 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_INCR", _IOC_READ|_IOC_WRITE, 0x6443, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_READ", _IOC_READ|_IOC_WRITE, 0x6442, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_WAIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, @@ -455,9 +464,12 @@ { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_BO_OFFSET", _IOC_READ|_IOC_WRITE, 0x6445, 0x08 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_MMAP_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x38 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x40 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x54 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 }, @@ -490,7 +502,8 @@ { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 }, -{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, @@ -500,13 +513,17 @@ { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 }, +{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 }, +{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 }, { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 }, @@ -556,6 +573,7 @@ { "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 }, { "linux/android/binder.h", "BINDER_ENABLE_ONEWAY_SPAM_DETECTION", _IOC_WRITE, 0x6210, 0x04 }, { "linux/android/binder.h", "BINDER_FREEZE", _IOC_WRITE, 0x620e, 0x0c }, +{ "linux/android/binder.h", "BINDER_GET_EXTENDED_ERROR", _IOC_READ|_IOC_WRITE, 0x6211, 0x0c }, { "linux/android/binder.h", "BINDER_GET_FROZEN_INFO", _IOC_READ|_IOC_WRITE, 0x620f, 0x0c }, { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 }, { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 }, @@ -693,6 +711,8 @@ { "linux/btrfs.h", "BTRFS_IOC_DEVICES_READY", _IOC_READ, 0x9427, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa24 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_READ", _IOC_READ, 0x9440, 0x78 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_WRITE", _IOC_WRITE, 0x9440, 0x78 }, { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 }, { "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 }, @@ -739,6 +759,7 @@ { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH", _IOC_READ|_IOC_WRITE, 0x9411, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH_V2", _IOC_READ|_IOC_WRITE, 0x9411, 0x70 }, { "linux/btrfs.h", "BTRFS_IOC_WAIT_SYNC", _IOC_WRITE, 0x9416, 0x08 }, +{ "linux/cachefiles.h", "CACHEFILES_IOC_READ_COMPLETE", _IOC_WRITE, 0x9801, 0x04 }, { "linux/capi.h", "CAPI_CLR_FLAGS", _IOC_READ, 0x4325, 0x04 }, { "linux/capi.h", "CAPI_GET_ERRCODE", _IOC_READ, 0x4321, 0x02 }, { "linux/capi.h", "CAPI_GET_FLAGS", _IOC_READ, 0x4323, 0x04 }, @@ -811,6 +832,7 @@ { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 }, { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 }, { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 }, +{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 }, { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 }, { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 }, { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 }, @@ -843,6 +865,26 @@ { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 }, { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 }, { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 }, +{ "linux/comedi.h", "COMEDI_BUFCONFIG", _IOC_READ, 0x640d, 0x20 }, +{ "linux/comedi.h", "COMEDI_BUFINFO", _IOC_READ|_IOC_WRITE, 0x640e, 0x2c }, +{ "linux/comedi.h", "COMEDI_CANCEL", _IOC_NONE, 0x6407, 0x00 }, +{ "linux/comedi.h", "COMEDI_CHANINFO", _IOC_READ, 0x6403, 0x20 }, +{ "linux/comedi.h", "COMEDI_CMD", _IOC_READ, 0x6409, 0x40 }, +{ "linux/comedi.h", "COMEDI_CMDTEST", _IOC_READ, 0x640a, 0x40 }, +{ "linux/comedi.h", "COMEDI_DEVCONFIG", _IOC_WRITE, 0x6400, 0x94 }, +{ "linux/comedi.h", "COMEDI_DEVINFO", _IOC_READ, 0x6401, 0xb0 }, +{ "linux/comedi.h", "COMEDI_INSN", _IOC_READ, 0x640c, 0x20 }, +{ "linux/comedi.h", "COMEDI_INSNLIST", _IOC_READ, 0x640b, 0x08 }, +{ "linux/comedi.h", "COMEDI_LOCK", _IOC_NONE, 0x6405, 0x00 }, +{ "linux/comedi.h", "COMEDI_POLL", _IOC_NONE, 0x640f, 0x00 }, +{ "linux/comedi.h", "COMEDI_RANGEINFO", _IOC_READ, 0x6408, 0x08 }, +{ "linux/comedi.h", "COMEDI_SETRSUBD", _IOC_NONE, 0x6410, 0x00 }, +{ "linux/comedi.h", "COMEDI_SETWSUBD", _IOC_NONE, 0x6411, 0x00 }, +{ "linux/comedi.h", "COMEDI_SUBDINFO", _IOC_READ, 0x6402, 0x48 }, +{ "linux/comedi.h", "COMEDI_UNLOCK", _IOC_NONE, 0x6406, 0x00 }, +{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 }, +{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 }, +{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 }, { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 }, { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 }, { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 }, @@ -863,12 +905,12 @@ { "linux/dm-ioctl.h", "DM_TABLE_STATUS", _IOC_READ|_IOC_WRITE, 0xfd0c, 0x138 }, { "linux/dm-ioctl.h", "DM_TARGET_MSG", _IOC_READ|_IOC_WRITE, 0xfd0e, 0x138 }, { "linux/dm-ioctl.h", "DM_VERSION", _IOC_READ|_IOC_WRITE, 0xfd00, 0x138 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_EXPORT_SYNC_FILE", _IOC_READ|_IOC_WRITE, 0x6202, 0x08 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_IMPORT_SYNC_FILE", _IOC_WRITE, 0x6203, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_IOCTL_SYNC", _IOC_WRITE, 0x6200, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_A", _IOC_WRITE, 0x6201, 0x04 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_B", _IOC_WRITE, 0x6201, 0x08 }, { "linux/dma-heap.h", "DMA_HEAP_IOCTL_ALLOC", _IOC_READ|_IOC_WRITE, 0x4800, 0x18 }, -{ "linux/dn.h", "OSIOCGNETADDR", _IOC_READ, 0x89e1, 0x04 }, -{ "linux/dn.h", "OSIOCSNETADDR", _IOC_WRITE, 0x89e0, 0x04 }, { "linux/dvb/audio.h", "AUDIO_BILINGUAL_CHANNEL_SELECT", _IOC_NONE, 0x6f14, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CHANNEL_SELECT", _IOC_NONE, 0x6f09, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CLEAR_BUFFER", _IOC_NONE, 0x6f0c, 0x00 }, @@ -952,7 +994,7 @@ { "linux/dvb/video.h", "VIDEO_STILLPICTURE", _IOC_WRITE, 0x6f1e, 0x08 }, { "linux/dvb/video.h", "VIDEO_STOP", _IOC_NONE, 0x6f15, 0x00 }, { "linux/dvb/video.h", "VIDEO_TRY_COMMAND", _IOC_READ|_IOC_WRITE, 0x6f3c, 0x48 }, -{ "linux/f2fs.h", "F2FS_IOC_ABORT_VOLATILE_WRITE", _IOC_NONE, 0xf505, 0x00 }, +{ "linux/f2fs.h", "F2FS_IOC_ABORT_ATOMIC_WRITE", _IOC_NONE, 0xf505, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMMIT_ATOMIC_WRITE", _IOC_NONE, 0xf502, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMPRESS_FILE", _IOC_NONE, 0xf518, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_DECOMPRESS_FILE", _IOC_NONE, 0xf517, 0x00 }, @@ -1069,6 +1111,7 @@ { "linux/fs.h", "BLKFLSBUF", _IOC_NONE, 0x1261, 0x00 }, { "linux/fs.h", "BLKFRAGET", _IOC_NONE, 0x1265, 0x00 }, { "linux/fs.h", "BLKFRASET", _IOC_NONE, 0x1264, 0x00 }, +{ "linux/fs.h", "BLKGETDISKSEQ", _IOC_READ, 0x1280, 0x08 }, { "linux/fs.h", "BLKGETSIZE", _IOC_NONE, 0x1260, 0x00 }, { "linux/fs.h", "BLKGETSIZE64", _IOC_READ, 0x1272, 0x04 }, { "linux/fs.h", "BLKIOMIN", _IOC_NONE, 0x1278, 0x00 }, @@ -1115,6 +1158,7 @@ { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 }, { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 }, { "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c }, +{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 }, { "linux/fsi.h", "FSI_SCOM_RESET", _IOC_WRITE, 0x7303, 0x04 }, @@ -1415,12 +1459,14 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_ACQUIRE_VM", _IOC_WRITE, 0x4b15, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_MEMORY_OF_GPU", _IOC_READ|_IOC_WRITE, 0x4b16, 0x28 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_QUEUE_GWS", _IOC_READ|_IOC_WRITE, 0x4b1e, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_AVAILABLE_MEMORY", _IOC_READ|_IOC_WRITE, 0x4b23, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_EVENT", _IOC_READ|_IOC_WRITE, 0x4b08, 0x20 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b02, 0x58 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH", _IOC_WRITE, 0x4b0f, 0x10 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER", _IOC_WRITE, 0x4b0d, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER", _IOC_WRITE, 0x4b0e, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL", _IOC_WRITE, 0x4b10, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_CRIU_OP", _IOC_READ|_IOC_WRITE, 0x4b22, 0x34 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED", _IOC_WRITE, 0x4b0f, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER_DEPRECATED", _IOC_WRITE, 0x4b0d, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED", _IOC_WRITE, 0x4b0e, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED", _IOC_WRITE, 0x4b10, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_EVENT", _IOC_WRITE, 0x4b09, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b03, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_FREE_MEMORY_OF_GPU", _IOC_WRITE, 0x4b17, 0x08 }, @@ -1445,15 +1491,6 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU", _IOC_READ|_IOC_WRITE, 0x4b19, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 }, -{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 }, -{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 }, -{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c }, -{ "linux/lightnvm.h", "NVM_DEV_REMOVE", _IOC_WRITE, 0x4c23, 0x24 }, -{ "linux/lightnvm.h", "NVM_GET_DEVICES", _IOC_READ, 0x4c21, 0x1000 }, -{ "linux/lightnvm.h", "NVM_INFO", _IOC_READ|_IOC_WRITE, 0x4c20, 0x1000 }, { "linux/lirc.h", "LIRC_GET_FEATURES", _IOC_READ, 0x6900, 0x04 }, { "linux/lirc.h", "LIRC_GET_LENGTH", _IOC_READ, 0x690f, 0x04 }, { "linux/lirc.h", "LIRC_GET_MAX_TIMEOUT", _IOC_READ, 0x6909, 0x04 }, @@ -1473,6 +1510,7 @@ { "linux/lirc.h", "LIRC_SET_SEND_MODE", _IOC_WRITE, 0x6911, 0x04 }, { "linux/lirc.h", "LIRC_SET_TRANSMITTER_MASK", _IOC_WRITE, 0x6917, 0x04 }, { "linux/lirc.h", "LIRC_SET_WIDEBAND_RECEIVER", _IOC_WRITE, 0x6923, 0x04 }, +{ "linux/loadpin.h", "LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS", _IOC_WRITE, 0x4c00, 0x04 }, { "linux/loop.h", "LOOP_CHANGE_FD", 0, 0x4C06, 0 }, { "linux/loop.h", "LOOP_CLR_FD", 0, 0x4C01, 0 }, { "linux/loop.h", "LOOP_CONFIGURE", 0, 0x4C0A, 0 }, @@ -1497,6 +1535,7 @@ { "linux/mISDNif.h", "IMGETVERSION", _IOC_READ, 0x4942, 0x04 }, { "linux/mISDNif.h", "IMHOLD_L1", _IOC_READ, 0x4948, 0x04 }, { "linux/mISDNif.h", "IMSETDEVNAME", _IOC_READ, 0x4947, 0x18 }, +{ "linux/map_benchmark.h", "DMA_MAP_BENCHMARK", _IOC_READ|_IOC_WRITE, 0x6401, 0x3c }, { "linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", _IOC_READ, 0x6efb, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", _IOC_READ, 0x6ef9, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", _IOC_READ, 0x6ef8, 0x04 }, @@ -1586,11 +1625,16 @@ { "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_ID", _IOC_NONE, 0x4e40, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD", _IOC_READ|_IOC_WRITE, 0x4e48, 0x50 }, +{ "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD_VEC", _IOC_READ|_IOC_WRITE, 0x4e49, 0x50 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO_CMD", _IOC_READ|_IOC_WRITE, 0x4e43, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESCAN", _IOC_NONE, 0x4e46, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESET", _IOC_NONE, 0x4e44, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBMIT_IO", _IOC_WRITE, 0x4e42, 0x2c }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBSYS_RESET", _IOC_NONE, 0x4e45, 0x00 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN", _IOC_READ|_IOC_WRITE, 0x4e82, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN_VEC", _IOC_READ|_IOC_WRITE, 0x4e83, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO", _IOC_READ|_IOC_WRITE, 0x4e80, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO_VEC", _IOC_READ|_IOC_WRITE, 0x4e81, 0x48 }, { "linux/nvram.h", "NVRAM_INIT", _IOC_NONE, 0x7040, 0x00 }, { "linux/nvram.h", "NVRAM_SETCKS", _IOC_NONE, 0x7041, 0x00 }, { "linux/omap3isp.h", "VIDIOC_OMAP3ISP_AEWB_CFG", _IOC_READ|_IOC_WRITE, 0x56c3, 0x20 }, @@ -1645,6 +1689,14 @@ { "linux/perf_event.h", "PERF_EVENT_IOC_SET_BPF", _IOC_WRITE, 0x2408, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_FILTER", _IOC_WRITE, 0x2406, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_OUTPUT", _IOC_NONE, 0x2405, 0x00 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_DATA_INFO", _IOC_READ, 0xee08, 0x3c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_INFO", _IOC_READ, 0xee07, 0x0c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_SET_INFO", _IOC_WRITE, 0xee06, 0x0c }, +{ "linux/pfrut.h", "PFRU_IOC_ACTIVATE", _IOC_WRITE, 0xee03, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_QUERY_CAP", _IOC_READ, 0xee05, 0x5c }, +{ "linux/pfrut.h", "PFRU_IOC_SET_REV", _IOC_WRITE, 0xee01, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE", _IOC_WRITE, 0xee02, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE_ACTIVATE", _IOC_WRITE, 0xee04, 0x04 }, { "linux/phantom.h", "PHN_GETREG", _IOC_READ|_IOC_WRITE, 0x7005, 0x08 }, { "linux/phantom.h", "PHN_GETREGS", _IOC_READ|_IOC_WRITE, 0x7007, 0x28 }, { "linux/phantom.h", "PHN_GET_REG", _IOC_READ|_IOC_WRITE, 0x7000, 0x04 }, @@ -1786,6 +1838,7 @@ { "linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", _IOC_WRITE, 0xcd01, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_GET_SHUTDOWN_ON_RELEASE", _IOC_READ, 0xb702, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_SET_SHUTDOWN_ON_RELEASE", _IOC_WRITE, 0xb701, 0x04 }, +{ "linux/rfkill.h", "RFKILL_IOCTL_MAX_SIZE", _IOC_WRITE, 0x5202, 0x04 }, { "linux/rfkill.h", "RFKILL_IOCTL_NOINPUT", _IOC_NONE, 0x5201, 0x00 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_ACCEPT", _IOC_READ|_IOC_WRITE, 0x6307, 0x08 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_BIND", _IOC_WRITE, 0x6305, 0x08 }, @@ -1822,8 +1875,10 @@ { "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 }, { "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 }, { "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 }, +{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 }, { "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 }, { "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 }, +{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 }, { "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 }, { "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 }, { "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 }, @@ -1832,6 +1887,8 @@ { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 }, { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 }, { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 }, +{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 }, +{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 }, { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 }, { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 }, { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c }, @@ -1873,6 +1930,7 @@ { "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 }, +{ "linux/sed-opal.h", "IOC_OPAL_GET_STATUS", _IOC_READ, 0x70ec, 0x08 }, { "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 }, { "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 }, { "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 }, @@ -1884,6 +1942,9 @@ { "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 }, { "linux/sed-opal.h", "IOC_OPAL_WRITE_SHADOW_MBR", _IOC_WRITE, 0x70ea, 0x120 }, { "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 }, +{ "linux/sev-guest.h", "SNP_GET_DERIVED_KEY", _IOC_READ|_IOC_WRITE, 0x5301, 0x1c }, +{ "linux/sev-guest.h", "SNP_GET_EXT_REPORT", _IOC_READ|_IOC_WRITE, 0x5302, 0x1c }, +{ "linux/sev-guest.h", "SNP_GET_REPORT", _IOC_READ|_IOC_WRITE, 0x5300, 0x1c }, { "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 }, { "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 }, { "linux/sockios.h", "SIOCADDRT", 0, 0x890B, 0 }, @@ -2272,6 +2333,8 @@ { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", _IOC_READ, 0x550a, 0x2c }, { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", _IOC_READ, 0x550a, 0x2a }, { "linux/usbdevice_fs.h", "USBDEVFS_WAIT_FOR_RESUME", _IOC_NONE, 0x5523, 0x00 }, +{ "linux/user_events.h", "DIAG_IOCSDEL", _IOC_WRITE, 0x2a01, 0x04 }, +{ "linux/user_events.h", "DIAG_IOCSREG", _IOC_READ|_IOC_WRITE, 0x2a00, 0x04 }, { "linux/userfaultfd.h", "UFFDIO_API", _IOC_READ|_IOC_WRITE, 0xaa3f, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_CONTINUE", _IOC_READ|_IOC_WRITE, 0xaa07, 0x20 }, { "linux/userfaultfd.h", "UFFDIO_COPY", _IOC_READ|_IOC_WRITE, 0xaa03, 0x28 }, @@ -2280,6 +2343,7 @@ { "linux/userfaultfd.h", "UFFDIO_WAKE", _IOC_READ, 0xaa02, 0x10 }, { "linux/userfaultfd.h", "UFFDIO_WRITEPROTECT", _IOC_READ|_IOC_WRITE, 0xaa06, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_ZEROPAGE", _IOC_READ|_IOC_WRITE, 0xaa04, 0x20 }, +{ "linux/userfaultfd.h", "USERFAULTFD_IOC_NEW", _IOC_NONE, 0xaa00, 0x00 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_MAP", _IOC_READ|_IOC_WRITE, 0x7520, 0x58 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_QUERY", _IOC_READ|_IOC_WRITE, 0x7521, 0x0c }, { "linux/v4l2-subdev.h", "VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL", _IOC_READ|_IOC_WRITE, 0x564b, 0x40 }, @@ -2305,6 +2369,21 @@ { "linux/vboxguest.h", "VBG_IOCTL_VMMDEV_REQUEST_BIG", _IOC_NONE, 0x5603, 0x00 }, { "linux/vboxguest.h", "VBG_IOCTL_WAIT_FOR_EVENTS", _IOC_READ|_IOC_WRITE, 0x560a, 0x20 }, { "linux/vboxguest.h", "VBG_IOCTL_WRITE_CORE_DUMP", _IOC_READ|_IOC_WRITE, 0x5613, 0x1c }, +{ "linux/vduse.h", "VDUSE_CREATE_DEV", _IOC_WRITE, 0x8102, 0x150 }, +{ "linux/vduse.h", "VDUSE_DESTROY_DEV", _IOC_WRITE, 0x8103, 0x100 }, +{ "linux/vduse.h", "VDUSE_DEV_GET_FEATURES", _IOC_READ, 0x8111, 0x08 }, +{ "linux/vduse.h", "VDUSE_DEV_INJECT_CONFIG_IRQ", _IOC_NONE, 0x8113, 0x00 }, +{ "linux/vduse.h", "VDUSE_DEV_SET_CONFIG", _IOC_WRITE, 0x8112, 0x08 }, +{ "linux/vduse.h", "VDUSE_GET_API_VERSION", _IOC_READ, 0x8100, 0x08 }, +{ "linux/vduse.h", "VDUSE_IOTLB_DEREG_UMEM", _IOC_WRITE, 0x8119, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_FD", _IOC_READ|_IOC_WRITE, 0x8110, 0x1c }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_INFO", _IOC_READ|_IOC_WRITE, 0x811a, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_REG_UMEM", _IOC_WRITE, 0x8118, 0x30 }, +{ "linux/vduse.h", "VDUSE_SET_API_VERSION", _IOC_WRITE, 0x8101, 0x08 }, +{ "linux/vduse.h", "VDUSE_VQ_GET_INFO", _IOC_READ|_IOC_WRITE, 0x8115, 0x2c }, +{ "linux/vduse.h", "VDUSE_VQ_INJECT_IRQ", _IOC_WRITE, 0x8117, 0x04 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 }, { "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 }, @@ -2361,15 +2440,22 @@ { "linux/vhost.h", "VHOST_SET_VRING_ERR", _IOC_WRITE, 0xaf22, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_KICK", _IOC_WRITE, 0xaf20, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_NUM", _IOC_WRITE, 0xaf10, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_AS_NUM", _IOC_READ, 0xaf7a, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_CONFIG", _IOC_READ, 0xaf73, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_CONFIG_SIZE", _IOC_READ, 0xaf79, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_DEVICE_ID", _IOC_READ, 0xaf70, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_GROUP_NUM", _IOC_READ, 0xaf81, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_IOVA_RANGE", _IOC_READ, 0xaf78, 0x10 }, { "linux/vhost.h", "VHOST_VDPA_GET_STATUS", _IOC_READ, 0xaf71, 0x01 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VQS_COUNT", _IOC_READ, 0xaf80, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VRING_GROUP", _IOC_READ|_IOC_WRITE, 0xaf7b, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_GET_VRING_NUM", _IOC_READ, 0xaf76, 0x02 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG", _IOC_WRITE, 0xaf74, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG_CALL", _IOC_WRITE, 0xaf77, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_SET_GROUP_ASID", _IOC_WRITE, 0xaf7c, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_STATUS", _IOC_WRITE, 0xaf72, 0x01 }, { "linux/vhost.h", "VHOST_VDPA_SET_VRING_ENABLE", _IOC_WRITE, 0xaf75, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_SUSPEND", _IOC_NONE, 0xaf7d, 0x00 }, { "linux/vhost.h", "VHOST_VSOCK_SET_GUEST_CID", _IOC_WRITE, 0xaf60, 0x08 }, { "linux/vhost.h", "VHOST_VSOCK_SET_RUNNING", _IOC_WRITE, 0xaf61, 0x04 }, { "linux/videodev2.h", "VIDIOC_CREATE_BUFS", _IOC_READ|_IOC_WRITE, 0x565c, 0xf8 }, @@ -2584,18 +2670,21 @@ { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_GET_DSP_INFO", _IOC_READ|_IOC_WRITE, 0x520d, 0x1c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH_SNS", _IOC_NONE, 0x5208, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_MAP", _IOC_READ|_IOC_WRITE, 0x520a, 0x3c }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_UNMAP", _IOC_READ|_IOC_WRITE, 0x520b, 0x2c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MMAP", _IOC_READ|_IOC_WRITE, 0x5206, 0x20 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MUNMAP", _IOC_READ|_IOC_WRITE, 0x5207, 0x10 }, { "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 }, -{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x2c }, +{ "misc/habanalabs.h", "HL_IOCTL_CS", _IOC_READ|_IOC_WRITE, 0x4803, 0x30 }, { "misc/habanalabs.h", "HL_IOCTL_DEBUG", _IOC_READ|_IOC_WRITE, 0x4806, 0x28 }, { "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 }, { "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 }, -{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 }, +{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x38 }, { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 }, @@ -2604,6 +2693,7 @@ { "misc/ocxl.h", "OCXL_IOCTL_IRQ_FREE", _IOC_WRITE, 0xca12, 0x08 }, { "misc/ocxl.h", "OCXL_IOCTL_IRQ_SET_FD", _IOC_WRITE, 0xca13, 0x10 }, { "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_CTX", _IOC_READ|_IOC_WRITE, 0x480a, 0x04 }, +{ "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_INFO", _IOC_READ|_IOC_WRITE, 0x480b, 0x10 }, { "misc/uacce/uacce.h", "UACCE_CMD_PUT_Q", _IOC_NONE, 0x5701, 0x00 }, { "misc/uacce/uacce.h", "UACCE_CMD_START_Q", _IOC_NONE, 0x5700, 0x00 }, { "misc/xilinx_sdfec.h", "XSDFEC_ADD_LDPC_CODE_PARAMS", _IOC_WRITE, 0x6605, 0x4c }, @@ -2631,6 +2721,7 @@ { "mtd/mtd-abi.h", "MEMGETREGIONINFO", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 }, { "mtd/mtd-abi.h", "MEMISLOCKED", _IOC_READ, 0x4d17, 0x08 }, { "mtd/mtd-abi.h", "MEMLOCK", _IOC_WRITE, 0x4d05, 0x08 }, +{ "mtd/mtd-abi.h", "MEMREAD", _IOC_READ|_IOC_WRITE, 0x4d1a, 0x3c }, { "mtd/mtd-abi.h", "MEMREADOOB", _IOC_READ|_IOC_WRITE, 0x4d04, 0x0c }, { "mtd/mtd-abi.h", "MEMREADOOB64", _IOC_READ|_IOC_WRITE, 0x4d16, 0x18 }, { "mtd/mtd-abi.h", "MEMSETBADBLOCK", _IOC_WRITE, 0x4d0c, 0x08 }, @@ -2846,6 +2937,7 @@ { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PARAMS", _IOC_READ|_IOC_WRITE, 0x5710, 0x20 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PVERSION", _IOC_READ, 0x5700, 0x04 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_STATUS", _IOC_READ|_IOC_WRITE, 0x5720, 0x24 }, +{ "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_USER_PVERSION", _IOC_WRITE, 0x5702, 0x04 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", _IOC_NONE, 0x54a2, 0x00 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", _IOC_READ|_IOC_WRITE, 0x5403, 0xe0 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", _IOC_WRITE, 0x5404, 0x3c }, @@ -2901,6 +2993,9 @@ { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 }, { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 }, @@ -2936,16 +3031,6 @@ { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_RESET_SAMPLES", _IOC_NONE, 0x4882, 0x00 }, { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_VERSION", _IOC_READ, 0x4880, 0x04 }, { "sound/usb_stream.h", "SNDRV_USB_STREAM_IOCTL_SET_PARAMS", _IOC_WRITE, 0x4890, 0x10 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_NAME", _IOC_READ, 0x7702, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PIN_STATUS", _IOC_NONE, 0x7709, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PROT_MASK", _IOC_NONE, 0x7706, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_SIZE", _IOC_NONE, 0x7704, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_PIN", _IOC_WRITE, 0x7707, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_PURGE_ALL_CACHES", _IOC_NONE, 0x770a, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_NAME", _IOC_WRITE, 0x7701, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_PROT_MASK", _IOC_WRITE, 0x7705, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_SIZE", _IOC_WRITE, 0x7703, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_UNPIN", _IOC_WRITE, 0x7708, 0x08 }, { "video/da8xx-fb.h", "FBIGET_BRIGHTNESS", _IOC_READ, 0x4603, 0x04 }, { "video/da8xx-fb.h", "FBIGET_COLOR", _IOC_READ, 0x4605, 0x04 }, { "video/da8xx-fb.h", "FBIOGET_CONTRAST", _IOC_READ, 0x4601, 0x04 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/32/ioctls_inc_align64.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/32/ioctls_inc_align64.h
Changed
@@ -334,7 +334,8 @@ { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_MADVISE", _IOC_READ|_IOC_WRITE, 0x6448, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6442, 0x10 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6446, 0x48 }, -{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x18 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SET_PARAM", _IOC_WRITE, 0x6441, 0x18 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE", _IOC_WRITE, 0x644b, 0x04 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 }, @@ -437,6 +438,11 @@ { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_ALLOC", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_FREE", _IOC_WRITE, 0x6445, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_INIT", _IOC_WRITE, 0x6456, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_CLOSE", _IOC_READ|_IOC_WRITE, 0x6451, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_MAP", _IOC_READ|_IOC_WRITE, 0x6452, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_OPEN", _IOC_READ|_IOC_WRITE, 0x6450, 0x18 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6454, 0x40 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_UNMAP", _IOC_READ|_IOC_WRITE, 0x6453, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CLOSE_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6446, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_CREATE", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_GET_FLAGS", _IOC_READ|_IOC_WRITE, 0x644d, 0x08 }, @@ -448,6 +454,9 @@ { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GET_SYNCPT_BASE", _IOC_READ|_IOC_WRITE, 0x6449, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_OPEN_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6445, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x58 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE", _IOC_READ|_IOC_WRITE, 0x6460, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_FREE", _IOC_READ|_IOC_WRITE, 0x6461, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_WAIT", _IOC_READ|_IOC_WRITE, 0x6462, 0x18 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_INCR", _IOC_READ|_IOC_WRITE, 0x6443, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_READ", _IOC_READ|_IOC_WRITE, 0x6442, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_WAIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, @@ -455,9 +464,12 @@ { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_BO_OFFSET", _IOC_READ|_IOC_WRITE, 0x6445, 0x08 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_MMAP_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x38 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 }, @@ -490,7 +502,8 @@ { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 }, -{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, @@ -500,13 +513,17 @@ { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 }, +{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 }, +{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 }, { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 }, @@ -556,6 +573,7 @@ { "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 }, { "linux/android/binder.h", "BINDER_ENABLE_ONEWAY_SPAM_DETECTION", _IOC_WRITE, 0x6210, 0x04 }, { "linux/android/binder.h", "BINDER_FREEZE", _IOC_WRITE, 0x620e, 0x0c }, +{ "linux/android/binder.h", "BINDER_GET_EXTENDED_ERROR", _IOC_READ|_IOC_WRITE, 0x6211, 0x0c }, { "linux/android/binder.h", "BINDER_GET_FROZEN_INFO", _IOC_READ|_IOC_WRITE, 0x620f, 0x0c }, { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 }, { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 }, @@ -693,6 +711,8 @@ { "linux/btrfs.h", "BTRFS_IOC_DEVICES_READY", _IOC_READ, 0x9427, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_READ", _IOC_READ, 0x9440, 0x78 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_WRITE", _IOC_WRITE, 0x9440, 0x78 }, { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 }, { "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 }, @@ -739,6 +759,7 @@ { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH", _IOC_READ|_IOC_WRITE, 0x9411, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH_V2", _IOC_READ|_IOC_WRITE, 0x9411, 0x70 }, { "linux/btrfs.h", "BTRFS_IOC_WAIT_SYNC", _IOC_WRITE, 0x9416, 0x08 }, +{ "linux/cachefiles.h", "CACHEFILES_IOC_READ_COMPLETE", _IOC_WRITE, 0x9801, 0x04 }, { "linux/capi.h", "CAPI_CLR_FLAGS", _IOC_READ, 0x4325, 0x04 }, { "linux/capi.h", "CAPI_GET_ERRCODE", _IOC_READ, 0x4321, 0x02 }, { "linux/capi.h", "CAPI_GET_FLAGS", _IOC_READ, 0x4323, 0x04 }, @@ -811,6 +832,7 @@ { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 }, { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 }, { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 }, +{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 }, { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 }, { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 }, { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 }, @@ -843,6 +865,26 @@ { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 }, { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 }, { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 }, +{ "linux/comedi.h", "COMEDI_BUFCONFIG", _IOC_READ, 0x640d, 0x20 }, +{ "linux/comedi.h", "COMEDI_BUFINFO", _IOC_READ|_IOC_WRITE, 0x640e, 0x2c }, +{ "linux/comedi.h", "COMEDI_CANCEL", _IOC_NONE, 0x6407, 0x00 }, +{ "linux/comedi.h", "COMEDI_CHANINFO", _IOC_READ, 0x6403, 0x20 }, +{ "linux/comedi.h", "COMEDI_CMD", _IOC_READ, 0x6409, 0x40 }, +{ "linux/comedi.h", "COMEDI_CMDTEST", _IOC_READ, 0x640a, 0x40 }, +{ "linux/comedi.h", "COMEDI_DEVCONFIG", _IOC_WRITE, 0x6400, 0x94 }, +{ "linux/comedi.h", "COMEDI_DEVINFO", _IOC_READ, 0x6401, 0xb0 }, +{ "linux/comedi.h", "COMEDI_INSN", _IOC_READ, 0x640c, 0x20 }, +{ "linux/comedi.h", "COMEDI_INSNLIST", _IOC_READ, 0x640b, 0x08 }, +{ "linux/comedi.h", "COMEDI_LOCK", _IOC_NONE, 0x6405, 0x00 }, +{ "linux/comedi.h", "COMEDI_POLL", _IOC_NONE, 0x640f, 0x00 }, +{ "linux/comedi.h", "COMEDI_RANGEINFO", _IOC_READ, 0x6408, 0x08 }, +{ "linux/comedi.h", "COMEDI_SETRSUBD", _IOC_NONE, 0x6410, 0x00 }, +{ "linux/comedi.h", "COMEDI_SETWSUBD", _IOC_NONE, 0x6411, 0x00 }, +{ "linux/comedi.h", "COMEDI_SUBDINFO", _IOC_READ, 0x6402, 0x48 }, +{ "linux/comedi.h", "COMEDI_UNLOCK", _IOC_NONE, 0x6406, 0x00 }, +{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 }, +{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 }, +{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 }, { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 }, { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 }, { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 }, @@ -863,12 +905,12 @@ { "linux/dm-ioctl.h", "DM_TABLE_STATUS", _IOC_READ|_IOC_WRITE, 0xfd0c, 0x138 }, { "linux/dm-ioctl.h", "DM_TARGET_MSG", _IOC_READ|_IOC_WRITE, 0xfd0e, 0x138 }, { "linux/dm-ioctl.h", "DM_VERSION", _IOC_READ|_IOC_WRITE, 0xfd00, 0x138 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_EXPORT_SYNC_FILE", _IOC_READ|_IOC_WRITE, 0x6202, 0x08 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_IMPORT_SYNC_FILE", _IOC_WRITE, 0x6203, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_IOCTL_SYNC", _IOC_WRITE, 0x6200, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_A", _IOC_WRITE, 0x6201, 0x04 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_B", _IOC_WRITE, 0x6201, 0x08 }, { "linux/dma-heap.h", "DMA_HEAP_IOCTL_ALLOC", _IOC_READ|_IOC_WRITE, 0x4800, 0x18 }, -{ "linux/dn.h", "OSIOCGNETADDR", _IOC_READ, 0x89e1, 0x04 }, -{ "linux/dn.h", "OSIOCSNETADDR", _IOC_WRITE, 0x89e0, 0x04 }, { "linux/dvb/audio.h", "AUDIO_BILINGUAL_CHANNEL_SELECT", _IOC_NONE, 0x6f14, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CHANNEL_SELECT", _IOC_NONE, 0x6f09, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CLEAR_BUFFER", _IOC_NONE, 0x6f0c, 0x00 }, @@ -952,7 +994,7 @@ { "linux/dvb/video.h", "VIDEO_STILLPICTURE", _IOC_WRITE, 0x6f1e, 0x08 }, { "linux/dvb/video.h", "VIDEO_STOP", _IOC_NONE, 0x6f15, 0x00 }, { "linux/dvb/video.h", "VIDEO_TRY_COMMAND", _IOC_READ|_IOC_WRITE, 0x6f3c, 0x48 }, -{ "linux/f2fs.h", "F2FS_IOC_ABORT_VOLATILE_WRITE", _IOC_NONE, 0xf505, 0x00 }, +{ "linux/f2fs.h", "F2FS_IOC_ABORT_ATOMIC_WRITE", _IOC_NONE, 0xf505, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMMIT_ATOMIC_WRITE", _IOC_NONE, 0xf502, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMPRESS_FILE", _IOC_NONE, 0xf518, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_DECOMPRESS_FILE", _IOC_NONE, 0xf517, 0x00 }, @@ -1069,6 +1111,7 @@ { "linux/fs.h", "BLKFLSBUF", _IOC_NONE, 0x1261, 0x00 }, { "linux/fs.h", "BLKFRAGET", _IOC_NONE, 0x1265, 0x00 }, { "linux/fs.h", "BLKFRASET", _IOC_NONE, 0x1264, 0x00 }, +{ "linux/fs.h", "BLKGETDISKSEQ", _IOC_READ, 0x1280, 0x08 }, { "linux/fs.h", "BLKGETSIZE", _IOC_NONE, 0x1260, 0x00 }, { "linux/fs.h", "BLKGETSIZE64", _IOC_READ, 0x1272, 0x04 }, { "linux/fs.h", "BLKIOMIN", _IOC_NONE, 0x1278, 0x00 }, @@ -1115,6 +1158,7 @@ { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 }, { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 }, { "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c }, +{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 }, { "linux/fsi.h", "FSI_SCOM_RESET", _IOC_WRITE, 0x7303, 0x04 }, @@ -1415,12 +1459,14 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_ACQUIRE_VM", _IOC_WRITE, 0x4b15, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_MEMORY_OF_GPU", _IOC_READ|_IOC_WRITE, 0x4b16, 0x28 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_QUEUE_GWS", _IOC_READ|_IOC_WRITE, 0x4b1e, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_AVAILABLE_MEMORY", _IOC_READ|_IOC_WRITE, 0x4b23, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_EVENT", _IOC_READ|_IOC_WRITE, 0x4b08, 0x20 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b02, 0x58 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH", _IOC_WRITE, 0x4b0f, 0x10 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER", _IOC_WRITE, 0x4b0d, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER", _IOC_WRITE, 0x4b0e, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL", _IOC_WRITE, 0x4b10, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_CRIU_OP", _IOC_READ|_IOC_WRITE, 0x4b22, 0x38 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED", _IOC_WRITE, 0x4b0f, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER_DEPRECATED", _IOC_WRITE, 0x4b0d, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED", _IOC_WRITE, 0x4b0e, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED", _IOC_WRITE, 0x4b10, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_EVENT", _IOC_WRITE, 0x4b09, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b03, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_FREE_MEMORY_OF_GPU", _IOC_WRITE, 0x4b17, 0x08 }, @@ -1445,15 +1491,6 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU", _IOC_READ|_IOC_WRITE, 0x4b19, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 }, -{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 }, -{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 }, -{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c }, -{ "linux/lightnvm.h", "NVM_DEV_REMOVE", _IOC_WRITE, 0x4c23, 0x24 }, -{ "linux/lightnvm.h", "NVM_GET_DEVICES", _IOC_READ, 0x4c21, 0x1000 }, -{ "linux/lightnvm.h", "NVM_INFO", _IOC_READ|_IOC_WRITE, 0x4c20, 0x1000 }, { "linux/lirc.h", "LIRC_GET_FEATURES", _IOC_READ, 0x6900, 0x04 }, { "linux/lirc.h", "LIRC_GET_LENGTH", _IOC_READ, 0x690f, 0x04 }, { "linux/lirc.h", "LIRC_GET_MAX_TIMEOUT", _IOC_READ, 0x6909, 0x04 }, @@ -1473,6 +1510,7 @@ { "linux/lirc.h", "LIRC_SET_SEND_MODE", _IOC_WRITE, 0x6911, 0x04 }, { "linux/lirc.h", "LIRC_SET_TRANSMITTER_MASK", _IOC_WRITE, 0x6917, 0x04 }, { "linux/lirc.h", "LIRC_SET_WIDEBAND_RECEIVER", _IOC_WRITE, 0x6923, 0x04 }, +{ "linux/loadpin.h", "LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS", _IOC_WRITE, 0x4c00, 0x04 }, { "linux/loop.h", "LOOP_CHANGE_FD", 0, 0x4C06, 0 }, { "linux/loop.h", "LOOP_CLR_FD", 0, 0x4C01, 0 }, { "linux/loop.h", "LOOP_CONFIGURE", 0, 0x4C0A, 0 }, @@ -1497,6 +1535,7 @@ { "linux/mISDNif.h", "IMGETVERSION", _IOC_READ, 0x4942, 0x04 }, { "linux/mISDNif.h", "IMHOLD_L1", _IOC_READ, 0x4948, 0x04 }, { "linux/mISDNif.h", "IMSETDEVNAME", _IOC_READ, 0x4947, 0x18 }, +{ "linux/map_benchmark.h", "DMA_MAP_BENCHMARK", _IOC_READ|_IOC_WRITE, 0x6401, 0x40 }, { "linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", _IOC_READ, 0x6efb, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", _IOC_READ, 0x6ef9, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", _IOC_READ, 0x6ef8, 0x04 }, @@ -1586,11 +1625,16 @@ { "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_ID", _IOC_NONE, 0x4e40, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD", _IOC_READ|_IOC_WRITE, 0x4e48, 0x50 }, +{ "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD_VEC", _IOC_READ|_IOC_WRITE, 0x4e49, 0x50 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO_CMD", _IOC_READ|_IOC_WRITE, 0x4e43, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESCAN", _IOC_NONE, 0x4e46, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESET", _IOC_NONE, 0x4e44, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBMIT_IO", _IOC_WRITE, 0x4e42, 0x30 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBSYS_RESET", _IOC_NONE, 0x4e45, 0x00 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN", _IOC_READ|_IOC_WRITE, 0x4e82, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN_VEC", _IOC_READ|_IOC_WRITE, 0x4e83, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO", _IOC_READ|_IOC_WRITE, 0x4e80, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO_VEC", _IOC_READ|_IOC_WRITE, 0x4e81, 0x48 }, { "linux/nvram.h", "NVRAM_INIT", _IOC_NONE, 0x7040, 0x00 }, { "linux/nvram.h", "NVRAM_SETCKS", _IOC_NONE, 0x7041, 0x00 }, { "linux/omap3isp.h", "VIDIOC_OMAP3ISP_AEWB_CFG", _IOC_READ|_IOC_WRITE, 0x56c3, 0x20 }, @@ -1645,6 +1689,14 @@ { "linux/perf_event.h", "PERF_EVENT_IOC_SET_BPF", _IOC_WRITE, 0x2408, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_FILTER", _IOC_WRITE, 0x2406, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_OUTPUT", _IOC_NONE, 0x2405, 0x00 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_DATA_INFO", _IOC_READ, 0xee08, 0x40 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_INFO", _IOC_READ, 0xee07, 0x0c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_SET_INFO", _IOC_WRITE, 0xee06, 0x0c }, +{ "linux/pfrut.h", "PFRU_IOC_ACTIVATE", _IOC_WRITE, 0xee03, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_QUERY_CAP", _IOC_READ, 0xee05, 0x5c }, +{ "linux/pfrut.h", "PFRU_IOC_SET_REV", _IOC_WRITE, 0xee01, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE", _IOC_WRITE, 0xee02, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE_ACTIVATE", _IOC_WRITE, 0xee04, 0x04 }, { "linux/phantom.h", "PHN_GETREG", _IOC_READ|_IOC_WRITE, 0x7005, 0x08 }, { "linux/phantom.h", "PHN_GETREGS", _IOC_READ|_IOC_WRITE, 0x7007, 0x28 }, { "linux/phantom.h", "PHN_GET_REG", _IOC_READ|_IOC_WRITE, 0x7000, 0x04 }, @@ -1786,6 +1838,7 @@ { "linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", _IOC_WRITE, 0xcd01, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_GET_SHUTDOWN_ON_RELEASE", _IOC_READ, 0xb702, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_SET_SHUTDOWN_ON_RELEASE", _IOC_WRITE, 0xb701, 0x04 }, +{ "linux/rfkill.h", "RFKILL_IOCTL_MAX_SIZE", _IOC_WRITE, 0x5202, 0x04 }, { "linux/rfkill.h", "RFKILL_IOCTL_NOINPUT", _IOC_NONE, 0x5201, 0x00 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_ACCEPT", _IOC_READ|_IOC_WRITE, 0x6307, 0x08 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_BIND", _IOC_WRITE, 0x6305, 0x08 }, @@ -1822,8 +1875,10 @@ { "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 }, { "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 }, { "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 }, +{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 }, { "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 }, { "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 }, +{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 }, { "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 }, { "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 }, { "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 }, @@ -1832,6 +1887,8 @@ { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 }, { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 }, { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 }, +{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 }, +{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 }, { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 }, { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 }, { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c }, @@ -1873,6 +1930,7 @@ { "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 }, +{ "linux/sed-opal.h", "IOC_OPAL_GET_STATUS", _IOC_READ, 0x70ec, 0x08 }, { "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 }, { "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 }, { "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 }, @@ -1884,6 +1942,9 @@ { "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 }, { "linux/sed-opal.h", "IOC_OPAL_WRITE_SHADOW_MBR", _IOC_WRITE, 0x70ea, 0x120 }, { "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 }, +{ "linux/sev-guest.h", "SNP_GET_DERIVED_KEY", _IOC_READ|_IOC_WRITE, 0x5301, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_EXT_REPORT", _IOC_READ|_IOC_WRITE, 0x5302, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_REPORT", _IOC_READ|_IOC_WRITE, 0x5300, 0x20 }, { "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 }, { "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 }, { "linux/sockios.h", "SIOCADDRT", 0, 0x890B, 0 }, @@ -2272,6 +2333,8 @@ { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", _IOC_READ, 0x550a, 0x2c }, { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", _IOC_READ, 0x550a, 0x2a }, { "linux/usbdevice_fs.h", "USBDEVFS_WAIT_FOR_RESUME", _IOC_NONE, 0x5523, 0x00 }, +{ "linux/user_events.h", "DIAG_IOCSDEL", _IOC_WRITE, 0x2a01, 0x04 }, +{ "linux/user_events.h", "DIAG_IOCSREG", _IOC_READ|_IOC_WRITE, 0x2a00, 0x04 }, { "linux/userfaultfd.h", "UFFDIO_API", _IOC_READ|_IOC_WRITE, 0xaa3f, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_CONTINUE", _IOC_READ|_IOC_WRITE, 0xaa07, 0x20 }, { "linux/userfaultfd.h", "UFFDIO_COPY", _IOC_READ|_IOC_WRITE, 0xaa03, 0x28 }, @@ -2280,6 +2343,7 @@ { "linux/userfaultfd.h", "UFFDIO_WAKE", _IOC_READ, 0xaa02, 0x10 }, { "linux/userfaultfd.h", "UFFDIO_WRITEPROTECT", _IOC_READ|_IOC_WRITE, 0xaa06, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_ZEROPAGE", _IOC_READ|_IOC_WRITE, 0xaa04, 0x20 }, +{ "linux/userfaultfd.h", "USERFAULTFD_IOC_NEW", _IOC_NONE, 0xaa00, 0x00 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_MAP", _IOC_READ|_IOC_WRITE, 0x7520, 0x58 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_QUERY", _IOC_READ|_IOC_WRITE, 0x7521, 0x0c }, { "linux/v4l2-subdev.h", "VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL", _IOC_READ|_IOC_WRITE, 0x564b, 0x40 }, @@ -2305,6 +2369,21 @@ { "linux/vboxguest.h", "VBG_IOCTL_VMMDEV_REQUEST_BIG", _IOC_NONE, 0x5603, 0x00 }, { "linux/vboxguest.h", "VBG_IOCTL_WAIT_FOR_EVENTS", _IOC_READ|_IOC_WRITE, 0x560a, 0x20 }, { "linux/vboxguest.h", "VBG_IOCTL_WRITE_CORE_DUMP", _IOC_READ|_IOC_WRITE, 0x5613, 0x1c }, +{ "linux/vduse.h", "VDUSE_CREATE_DEV", _IOC_WRITE, 0x8102, 0x150 }, +{ "linux/vduse.h", "VDUSE_DESTROY_DEV", _IOC_WRITE, 0x8103, 0x100 }, +{ "linux/vduse.h", "VDUSE_DEV_GET_FEATURES", _IOC_READ, 0x8111, 0x08 }, +{ "linux/vduse.h", "VDUSE_DEV_INJECT_CONFIG_IRQ", _IOC_NONE, 0x8113, 0x00 }, +{ "linux/vduse.h", "VDUSE_DEV_SET_CONFIG", _IOC_WRITE, 0x8112, 0x08 }, +{ "linux/vduse.h", "VDUSE_GET_API_VERSION", _IOC_READ, 0x8100, 0x08 }, +{ "linux/vduse.h", "VDUSE_IOTLB_DEREG_UMEM", _IOC_WRITE, 0x8119, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_FD", _IOC_READ|_IOC_WRITE, 0x8110, 0x20 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_INFO", _IOC_READ|_IOC_WRITE, 0x811a, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_REG_UMEM", _IOC_WRITE, 0x8118, 0x30 }, +{ "linux/vduse.h", "VDUSE_SET_API_VERSION", _IOC_WRITE, 0x8101, 0x08 }, +{ "linux/vduse.h", "VDUSE_VQ_GET_INFO", _IOC_READ|_IOC_WRITE, 0x8115, 0x30 }, +{ "linux/vduse.h", "VDUSE_VQ_INJECT_IRQ", _IOC_WRITE, 0x8117, 0x04 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 }, { "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 }, @@ -2361,15 +2440,22 @@ { "linux/vhost.h", "VHOST_SET_VRING_ERR", _IOC_WRITE, 0xaf22, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_KICK", _IOC_WRITE, 0xaf20, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_NUM", _IOC_WRITE, 0xaf10, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_AS_NUM", _IOC_READ, 0xaf7a, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_CONFIG", _IOC_READ, 0xaf73, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_CONFIG_SIZE", _IOC_READ, 0xaf79, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_DEVICE_ID", _IOC_READ, 0xaf70, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_GROUP_NUM", _IOC_READ, 0xaf81, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_IOVA_RANGE", _IOC_READ, 0xaf78, 0x10 }, { "linux/vhost.h", "VHOST_VDPA_GET_STATUS", _IOC_READ, 0xaf71, 0x01 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VQS_COUNT", _IOC_READ, 0xaf80, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VRING_GROUP", _IOC_READ|_IOC_WRITE, 0xaf7b, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_GET_VRING_NUM", _IOC_READ, 0xaf76, 0x02 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG", _IOC_WRITE, 0xaf74, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG_CALL", _IOC_WRITE, 0xaf77, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_SET_GROUP_ASID", _IOC_WRITE, 0xaf7c, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_STATUS", _IOC_WRITE, 0xaf72, 0x01 }, { "linux/vhost.h", "VHOST_VDPA_SET_VRING_ENABLE", _IOC_WRITE, 0xaf75, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_SUSPEND", _IOC_NONE, 0xaf7d, 0x00 }, { "linux/vhost.h", "VHOST_VSOCK_SET_GUEST_CID", _IOC_WRITE, 0xaf60, 0x08 }, { "linux/vhost.h", "VHOST_VSOCK_SET_RUNNING", _IOC_WRITE, 0xaf61, 0x04 }, { "linux/videodev2.h", "VIDIOC_CREATE_BUFS", _IOC_READ|_IOC_WRITE, 0x565c, 0xf8 }, @@ -2584,10 +2670,13 @@ { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_GET_DSP_INFO", _IOC_READ|_IOC_WRITE, 0x520d, 0x1c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH_SNS", _IOC_NONE, 0x5208, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_MAP", _IOC_READ|_IOC_WRITE, 0x520a, 0x40 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_UNMAP", _IOC_READ|_IOC_WRITE, 0x520b, 0x30 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MMAP", _IOC_READ|_IOC_WRITE, 0x5206, 0x20 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MUNMAP", _IOC_READ|_IOC_WRITE, 0x5207, 0x10 }, { "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 }, @@ -2595,7 +2684,7 @@ { "misc/habanalabs.h", "HL_IOCTL_DEBUG", _IOC_READ|_IOC_WRITE, 0x4806, 0x28 }, { "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 }, { "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 }, -{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 }, +{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x38 }, { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 }, @@ -2604,6 +2693,7 @@ { "misc/ocxl.h", "OCXL_IOCTL_IRQ_FREE", _IOC_WRITE, 0xca12, 0x08 }, { "misc/ocxl.h", "OCXL_IOCTL_IRQ_SET_FD", _IOC_WRITE, 0xca13, 0x10 }, { "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_CTX", _IOC_READ|_IOC_WRITE, 0x480a, 0x04 }, +{ "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_INFO", _IOC_READ|_IOC_WRITE, 0x480b, 0x10 }, { "misc/uacce/uacce.h", "UACCE_CMD_PUT_Q", _IOC_NONE, 0x5701, 0x00 }, { "misc/uacce/uacce.h", "UACCE_CMD_START_Q", _IOC_NONE, 0x5700, 0x00 }, { "misc/xilinx_sdfec.h", "XSDFEC_ADD_LDPC_CODE_PARAMS", _IOC_WRITE, 0x6605, 0x4c }, @@ -2631,6 +2721,7 @@ { "mtd/mtd-abi.h", "MEMGETREGIONINFO", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 }, { "mtd/mtd-abi.h", "MEMISLOCKED", _IOC_READ, 0x4d17, 0x08 }, { "mtd/mtd-abi.h", "MEMLOCK", _IOC_WRITE, 0x4d05, 0x08 }, +{ "mtd/mtd-abi.h", "MEMREAD", _IOC_READ|_IOC_WRITE, 0x4d1a, 0x40 }, { "mtd/mtd-abi.h", "MEMREADOOB", _IOC_READ|_IOC_WRITE, 0x4d04, 0x0c }, { "mtd/mtd-abi.h", "MEMREADOOB64", _IOC_READ|_IOC_WRITE, 0x4d16, 0x18 }, { "mtd/mtd-abi.h", "MEMSETBADBLOCK", _IOC_WRITE, 0x4d0c, 0x08 }, @@ -2846,6 +2937,7 @@ { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PARAMS", _IOC_READ|_IOC_WRITE, 0x5710, 0x20 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PVERSION", _IOC_READ, 0x5700, 0x04 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_STATUS", _IOC_READ|_IOC_WRITE, 0x5720, 0x24 }, +{ "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_USER_PVERSION", _IOC_WRITE, 0x5702, 0x04 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", _IOC_NONE, 0x54a2, 0x00 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", _IOC_READ|_IOC_WRITE, 0x5403, 0xe0 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", _IOC_WRITE, 0x5404, 0x3c }, @@ -2901,6 +2993,9 @@ { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 }, { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 }, @@ -2936,16 +3031,6 @@ { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_RESET_SAMPLES", _IOC_NONE, 0x4882, 0x00 }, { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_VERSION", _IOC_READ, 0x4880, 0x04 }, { "sound/usb_stream.h", "SNDRV_USB_STREAM_IOCTL_SET_PARAMS", _IOC_WRITE, 0x4890, 0x10 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_NAME", _IOC_READ, 0x7702, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PIN_STATUS", _IOC_NONE, 0x7709, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PROT_MASK", _IOC_NONE, 0x7706, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_SIZE", _IOC_NONE, 0x7704, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_PIN", _IOC_WRITE, 0x7707, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_PURGE_ALL_CACHES", _IOC_NONE, 0x770a, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_NAME", _IOC_WRITE, 0x7701, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_PROT_MASK", _IOC_WRITE, 0x7705, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_SIZE", _IOC_WRITE, 0x7703, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_UNPIN", _IOC_WRITE, 0x7708, 0x08 }, { "video/da8xx-fb.h", "FBIGET_BRIGHTNESS", _IOC_READ, 0x4603, 0x04 }, { "video/da8xx-fb.h", "FBIGET_COLOR", _IOC_READ, 0x4605, 0x04 }, { "video/da8xx-fb.h", "FBIOGET_CONTRAST", _IOC_READ, 0x4601, 0x04 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/32/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/32/syscallent.h
Changed
@@ -179,7 +179,7 @@ 164 = { 2, 0, SEN(setrlimit), "setrlimit" }, 165 = { 2, 0, SEN(getrusage), "getrusage" }, 166 = { 1, NF, SEN(umask), "umask" }, -167 = { 5, TC, SEN(prctl), "prctl" }, +167 = { 5, CC|TC, SEN(prctl), "prctl" }, 168 = { 3, 0, SEN(getcpu), "getcpu" }, /* 169 gettimeofday */ /* 170 settimeofday */ @@ -233,7 +233,7 @@ 218 = { 4, 0, SEN(request_key), "request_key" }, 219 = { 5, 0, SEN(keyctl), "keyctl" }, 220 = { 5, TP, SEN(clone), "clone" }, -221 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +221 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 222 = { 6, TD|TM|SI, SEN(ARCH_mmap), "mmap2" }, 223 = { 6, TD, SEN(fadvise64_64), "fadvise64_64" }, 224 = { 2, TF, SEN(swapon), "swapon" }, @@ -278,7 +278,7 @@ 278 = { 3, 0, SEN(getrandom), "getrandom" }, 279 = { 2, TD, SEN(memfd_create), "memfd_create" }, 280 = { 3, TD, SEN(bpf), "bpf" }, -281 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +281 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 282 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 283 = { 3, 0, SEN(membarrier), "membarrier" }, 284 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/64/ioctls_inc.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/64/ioctls_inc.h
Changed
@@ -334,7 +334,8 @@ { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_MADVISE", _IOC_READ|_IOC_WRITE, 0x6448, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6442, 0x10 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6446, 0x48 }, -{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x18 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SET_PARAM", _IOC_WRITE, 0x6441, 0x18 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE", _IOC_WRITE, 0x644b, 0x04 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 }, @@ -437,6 +438,11 @@ { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_ALLOC", _IOC_READ|_IOC_WRITE, 0x6444, 0x20 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_FREE", _IOC_WRITE, 0x6445, 0x20 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_INIT", _IOC_WRITE, 0x6456, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_CLOSE", _IOC_READ|_IOC_WRITE, 0x6451, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_MAP", _IOC_READ|_IOC_WRITE, 0x6452, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_OPEN", _IOC_READ|_IOC_WRITE, 0x6450, 0x18 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6454, 0x40 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_UNMAP", _IOC_READ|_IOC_WRITE, 0x6453, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CLOSE_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6446, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_CREATE", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_GET_FLAGS", _IOC_READ|_IOC_WRITE, 0x644d, 0x08 }, @@ -448,6 +454,9 @@ { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GET_SYNCPT_BASE", _IOC_READ|_IOC_WRITE, 0x6449, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_OPEN_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6445, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x58 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE", _IOC_READ|_IOC_WRITE, 0x6460, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_FREE", _IOC_READ|_IOC_WRITE, 0x6461, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_WAIT", _IOC_READ|_IOC_WRITE, 0x6462, 0x18 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_INCR", _IOC_READ|_IOC_WRITE, 0x6443, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_READ", _IOC_READ|_IOC_WRITE, 0x6442, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_WAIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, @@ -455,9 +464,12 @@ { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_BO_OFFSET", _IOC_READ|_IOC_WRITE, 0x6445, 0x08 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_MMAP_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x38 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 }, @@ -490,7 +502,8 @@ { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x28 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x10 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x18 }, -{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, @@ -500,13 +513,17 @@ { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 }, +{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 }, +{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 }, { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 }, @@ -556,6 +573,7 @@ { "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 }, { "linux/android/binder.h", "BINDER_ENABLE_ONEWAY_SPAM_DETECTION", _IOC_WRITE, 0x6210, 0x04 }, { "linux/android/binder.h", "BINDER_FREEZE", _IOC_WRITE, 0x620e, 0x0c }, +{ "linux/android/binder.h", "BINDER_GET_EXTENDED_ERROR", _IOC_READ|_IOC_WRITE, 0x6211, 0x0c }, { "linux/android/binder.h", "BINDER_GET_FROZEN_INFO", _IOC_READ|_IOC_WRITE, 0x620f, 0x0c }, { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 }, { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 }, @@ -694,6 +712,8 @@ { "linux/btrfs.h", "BTRFS_IOC_DEVICES_READY", _IOC_READ, 0x9427, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_READ", _IOC_READ, 0x9440, 0x80 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_WRITE", _IOC_WRITE, 0x9440, 0x80 }, { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 }, { "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 }, @@ -740,6 +760,7 @@ { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH", _IOC_READ|_IOC_WRITE, 0x9411, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH_V2", _IOC_READ|_IOC_WRITE, 0x9411, 0x70 }, { "linux/btrfs.h", "BTRFS_IOC_WAIT_SYNC", _IOC_WRITE, 0x9416, 0x08 }, +{ "linux/cachefiles.h", "CACHEFILES_IOC_READ_COMPLETE", _IOC_WRITE, 0x9801, 0x04 }, { "linux/capi.h", "CAPI_CLR_FLAGS", _IOC_READ, 0x4325, 0x04 }, { "linux/capi.h", "CAPI_GET_ERRCODE", _IOC_READ, 0x4321, 0x02 }, { "linux/capi.h", "CAPI_GET_FLAGS", _IOC_READ, 0x4323, 0x04 }, @@ -812,6 +833,7 @@ { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 }, { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 }, { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 }, +{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 }, { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 }, { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 }, { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 }, @@ -844,6 +866,26 @@ { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 }, { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x08 }, { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x08 }, +{ "linux/comedi.h", "COMEDI_BUFCONFIG", _IOC_READ, 0x640d, 0x20 }, +{ "linux/comedi.h", "COMEDI_BUFINFO", _IOC_READ|_IOC_WRITE, 0x640e, 0x2c }, +{ "linux/comedi.h", "COMEDI_CANCEL", _IOC_NONE, 0x6407, 0x00 }, +{ "linux/comedi.h", "COMEDI_CHANINFO", _IOC_READ, 0x6403, 0x30 }, +{ "linux/comedi.h", "COMEDI_CMD", _IOC_READ, 0x6409, 0x50 }, +{ "linux/comedi.h", "COMEDI_CMDTEST", _IOC_READ, 0x640a, 0x50 }, +{ "linux/comedi.h", "COMEDI_DEVCONFIG", _IOC_WRITE, 0x6400, 0x94 }, +{ "linux/comedi.h", "COMEDI_DEVINFO", _IOC_READ, 0x6401, 0xb0 }, +{ "linux/comedi.h", "COMEDI_INSN", _IOC_READ, 0x640c, 0x28 }, +{ "linux/comedi.h", "COMEDI_INSNLIST", _IOC_READ, 0x640b, 0x10 }, +{ "linux/comedi.h", "COMEDI_LOCK", _IOC_NONE, 0x6405, 0x00 }, +{ "linux/comedi.h", "COMEDI_POLL", _IOC_NONE, 0x640f, 0x00 }, +{ "linux/comedi.h", "COMEDI_RANGEINFO", _IOC_READ, 0x6408, 0x10 }, +{ "linux/comedi.h", "COMEDI_SETRSUBD", _IOC_NONE, 0x6410, 0x00 }, +{ "linux/comedi.h", "COMEDI_SETWSUBD", _IOC_NONE, 0x6411, 0x00 }, +{ "linux/comedi.h", "COMEDI_SUBDINFO", _IOC_READ, 0x6402, 0x48 }, +{ "linux/comedi.h", "COMEDI_UNLOCK", _IOC_NONE, 0x6406, 0x00 }, +{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 }, +{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 }, +{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 }, { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 }, { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 }, { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 }, @@ -864,12 +906,12 @@ { "linux/dm-ioctl.h", "DM_TABLE_STATUS", _IOC_READ|_IOC_WRITE, 0xfd0c, 0x138 }, { "linux/dm-ioctl.h", "DM_TARGET_MSG", _IOC_READ|_IOC_WRITE, 0xfd0e, 0x138 }, { "linux/dm-ioctl.h", "DM_VERSION", _IOC_READ|_IOC_WRITE, 0xfd00, 0x138 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_EXPORT_SYNC_FILE", _IOC_READ|_IOC_WRITE, 0x6202, 0x08 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_IMPORT_SYNC_FILE", _IOC_WRITE, 0x6203, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_IOCTL_SYNC", _IOC_WRITE, 0x6200, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_A", _IOC_WRITE, 0x6201, 0x04 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_B", _IOC_WRITE, 0x6201, 0x08 }, { "linux/dma-heap.h", "DMA_HEAP_IOCTL_ALLOC", _IOC_READ|_IOC_WRITE, 0x4800, 0x18 }, -{ "linux/dn.h", "OSIOCGNETADDR", _IOC_READ, 0x89e1, 0x04 }, -{ "linux/dn.h", "OSIOCSNETADDR", _IOC_WRITE, 0x89e0, 0x04 }, { "linux/dvb/audio.h", "AUDIO_BILINGUAL_CHANNEL_SELECT", _IOC_NONE, 0x6f14, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CHANNEL_SELECT", _IOC_NONE, 0x6f09, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CLEAR_BUFFER", _IOC_NONE, 0x6f0c, 0x00 }, @@ -953,7 +995,7 @@ { "linux/dvb/video.h", "VIDEO_STILLPICTURE", _IOC_WRITE, 0x6f1e, 0x10 }, { "linux/dvb/video.h", "VIDEO_STOP", _IOC_NONE, 0x6f15, 0x00 }, { "linux/dvb/video.h", "VIDEO_TRY_COMMAND", _IOC_READ|_IOC_WRITE, 0x6f3c, 0x48 }, -{ "linux/f2fs.h", "F2FS_IOC_ABORT_VOLATILE_WRITE", _IOC_NONE, 0xf505, 0x00 }, +{ "linux/f2fs.h", "F2FS_IOC_ABORT_ATOMIC_WRITE", _IOC_NONE, 0xf505, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMMIT_ATOMIC_WRITE", _IOC_NONE, 0xf502, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMPRESS_FILE", _IOC_NONE, 0xf518, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_DECOMPRESS_FILE", _IOC_NONE, 0xf517, 0x00 }, @@ -1070,6 +1112,7 @@ { "linux/fs.h", "BLKFLSBUF", _IOC_NONE, 0x1261, 0x00 }, { "linux/fs.h", "BLKFRAGET", _IOC_NONE, 0x1265, 0x00 }, { "linux/fs.h", "BLKFRASET", _IOC_NONE, 0x1264, 0x00 }, +{ "linux/fs.h", "BLKGETDISKSEQ", _IOC_READ, 0x1280, 0x08 }, { "linux/fs.h", "BLKGETSIZE", _IOC_NONE, 0x1260, 0x00 }, { "linux/fs.h", "BLKGETSIZE64", _IOC_READ, 0x1272, 0x08 }, { "linux/fs.h", "BLKIOMIN", _IOC_NONE, 0x1278, 0x00 }, @@ -1120,6 +1163,7 @@ { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 }, { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 }, { "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c }, +{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 }, { "linux/fsi.h", "FSI_SCOM_RESET", _IOC_WRITE, 0x7303, 0x04 }, @@ -1421,12 +1465,14 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_ACQUIRE_VM", _IOC_WRITE, 0x4b15, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_MEMORY_OF_GPU", _IOC_READ|_IOC_WRITE, 0x4b16, 0x28 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_QUEUE_GWS", _IOC_READ|_IOC_WRITE, 0x4b1e, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_AVAILABLE_MEMORY", _IOC_READ|_IOC_WRITE, 0x4b23, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_EVENT", _IOC_READ|_IOC_WRITE, 0x4b08, 0x20 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b02, 0x58 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH", _IOC_WRITE, 0x4b0f, 0x10 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER", _IOC_WRITE, 0x4b0d, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER", _IOC_WRITE, 0x4b0e, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL", _IOC_WRITE, 0x4b10, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_CRIU_OP", _IOC_READ|_IOC_WRITE, 0x4b22, 0x38 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED", _IOC_WRITE, 0x4b0f, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER_DEPRECATED", _IOC_WRITE, 0x4b0d, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED", _IOC_WRITE, 0x4b0e, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED", _IOC_WRITE, 0x4b10, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_EVENT", _IOC_WRITE, 0x4b09, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b03, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_FREE_MEMORY_OF_GPU", _IOC_WRITE, 0x4b17, 0x08 }, @@ -1451,15 +1497,6 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU", _IOC_READ|_IOC_WRITE, 0x4b19, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 }, -{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 }, -{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 }, -{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c }, -{ "linux/lightnvm.h", "NVM_DEV_REMOVE", _IOC_WRITE, 0x4c23, 0x24 }, -{ "linux/lightnvm.h", "NVM_GET_DEVICES", _IOC_READ, 0x4c21, 0x1000 }, -{ "linux/lightnvm.h", "NVM_INFO", _IOC_READ|_IOC_WRITE, 0x4c20, 0x1000 }, { "linux/lirc.h", "LIRC_GET_FEATURES", _IOC_READ, 0x6900, 0x04 }, { "linux/lirc.h", "LIRC_GET_LENGTH", _IOC_READ, 0x690f, 0x04 }, { "linux/lirc.h", "LIRC_GET_MAX_TIMEOUT", _IOC_READ, 0x6909, 0x04 }, @@ -1479,6 +1516,7 @@ { "linux/lirc.h", "LIRC_SET_SEND_MODE", _IOC_WRITE, 0x6911, 0x04 }, { "linux/lirc.h", "LIRC_SET_TRANSMITTER_MASK", _IOC_WRITE, 0x6917, 0x04 }, { "linux/lirc.h", "LIRC_SET_WIDEBAND_RECEIVER", _IOC_WRITE, 0x6923, 0x04 }, +{ "linux/loadpin.h", "LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS", _IOC_WRITE, 0x4c00, 0x04 }, { "linux/loop.h", "LOOP_CHANGE_FD", 0, 0x4C06, 0 }, { "linux/loop.h", "LOOP_CLR_FD", 0, 0x4C01, 0 }, { "linux/loop.h", "LOOP_CONFIGURE", 0, 0x4C0A, 0 }, @@ -1503,6 +1541,7 @@ { "linux/mISDNif.h", "IMGETVERSION", _IOC_READ, 0x4942, 0x04 }, { "linux/mISDNif.h", "IMHOLD_L1", _IOC_READ, 0x4948, 0x04 }, { "linux/mISDNif.h", "IMSETDEVNAME", _IOC_READ, 0x4947, 0x18 }, +{ "linux/map_benchmark.h", "DMA_MAP_BENCHMARK", _IOC_READ|_IOC_WRITE, 0x6401, 0x40 }, { "linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", _IOC_READ, 0x6efb, 0x08 }, { "linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", _IOC_READ, 0x6ef9, 0x08 }, { "linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", _IOC_READ, 0x6ef8, 0x08 }, @@ -1592,11 +1631,16 @@ { "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_ID", _IOC_NONE, 0x4e40, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD", _IOC_READ|_IOC_WRITE, 0x4e48, 0x50 }, +{ "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD_VEC", _IOC_READ|_IOC_WRITE, 0x4e49, 0x50 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO_CMD", _IOC_READ|_IOC_WRITE, 0x4e43, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESCAN", _IOC_NONE, 0x4e46, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESET", _IOC_NONE, 0x4e44, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBMIT_IO", _IOC_WRITE, 0x4e42, 0x30 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBSYS_RESET", _IOC_NONE, 0x4e45, 0x00 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN", _IOC_READ|_IOC_WRITE, 0x4e82, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN_VEC", _IOC_READ|_IOC_WRITE, 0x4e83, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO", _IOC_READ|_IOC_WRITE, 0x4e80, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO_VEC", _IOC_READ|_IOC_WRITE, 0x4e81, 0x48 }, { "linux/nvram.h", "NVRAM_INIT", _IOC_NONE, 0x7040, 0x00 }, { "linux/nvram.h", "NVRAM_SETCKS", _IOC_NONE, 0x7041, 0x00 }, { "linux/omap3isp.h", "VIDIOC_OMAP3ISP_AEWB_CFG", _IOC_READ|_IOC_WRITE, 0x56c3, 0x20 }, @@ -1652,6 +1696,14 @@ { "linux/perf_event.h", "PERF_EVENT_IOC_SET_BPF", _IOC_WRITE, 0x2408, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_FILTER", _IOC_WRITE, 0x2406, 0x08 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_OUTPUT", _IOC_NONE, 0x2405, 0x00 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_DATA_INFO", _IOC_READ, 0xee08, 0x40 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_INFO", _IOC_READ, 0xee07, 0x0c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_SET_INFO", _IOC_WRITE, 0xee06, 0x0c }, +{ "linux/pfrut.h", "PFRU_IOC_ACTIVATE", _IOC_WRITE, 0xee03, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_QUERY_CAP", _IOC_READ, 0xee05, 0x5c }, +{ "linux/pfrut.h", "PFRU_IOC_SET_REV", _IOC_WRITE, 0xee01, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE", _IOC_WRITE, 0xee02, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE_ACTIVATE", _IOC_WRITE, 0xee04, 0x04 }, { "linux/phantom.h", "PHN_GETREG", _IOC_READ|_IOC_WRITE, 0x7005, 0x08 }, { "linux/phantom.h", "PHN_GETREGS", _IOC_READ|_IOC_WRITE, 0x7007, 0x28 }, { "linux/phantom.h", "PHN_GET_REG", _IOC_READ|_IOC_WRITE, 0x7000, 0x08 }, @@ -1793,6 +1845,7 @@ { "linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", _IOC_WRITE, 0xcd01, 0x08 }, { "linux/remoteproc_cdev.h", "RPROC_GET_SHUTDOWN_ON_RELEASE", _IOC_READ, 0xb702, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_SET_SHUTDOWN_ON_RELEASE", _IOC_WRITE, 0xb701, 0x04 }, +{ "linux/rfkill.h", "RFKILL_IOCTL_MAX_SIZE", _IOC_WRITE, 0x5202, 0x04 }, { "linux/rfkill.h", "RFKILL_IOCTL_NOINPUT", _IOC_NONE, 0x5201, 0x00 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_ACCEPT", _IOC_READ|_IOC_WRITE, 0x6307, 0x08 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_BIND", _IOC_WRITE, 0x6305, 0x08 }, @@ -1829,8 +1882,10 @@ { "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 }, { "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 }, { "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 }, +{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 }, { "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 }, { "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 }, +{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 }, { "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 }, { "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 }, { "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 }, @@ -1839,6 +1894,8 @@ { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x08 }, { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x08 }, { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x08 }, +{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 }, +{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 }, { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 }, { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 }, { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x20 }, @@ -1880,6 +1937,7 @@ { "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 }, +{ "linux/sed-opal.h", "IOC_OPAL_GET_STATUS", _IOC_READ, 0x70ec, 0x08 }, { "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 }, { "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 }, { "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 }, @@ -1891,6 +1949,9 @@ { "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 }, { "linux/sed-opal.h", "IOC_OPAL_WRITE_SHADOW_MBR", _IOC_WRITE, 0x70ea, 0x120 }, { "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x08 }, +{ "linux/sev-guest.h", "SNP_GET_DERIVED_KEY", _IOC_READ|_IOC_WRITE, 0x5301, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_EXT_REPORT", _IOC_READ|_IOC_WRITE, 0x5302, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_REPORT", _IOC_READ|_IOC_WRITE, 0x5300, 0x20 }, { "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 }, { "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 }, { "linux/sockios.h", "SIOCADDRT", 0, 0x890B, 0 }, @@ -2285,6 +2346,8 @@ { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", _IOC_READ, 0x550a, 0x38 }, { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", _IOC_READ, 0x550a, 0x2a }, { "linux/usbdevice_fs.h", "USBDEVFS_WAIT_FOR_RESUME", _IOC_NONE, 0x5523, 0x00 }, +{ "linux/user_events.h", "DIAG_IOCSDEL", _IOC_WRITE, 0x2a01, 0x08 }, +{ "linux/user_events.h", "DIAG_IOCSREG", _IOC_READ|_IOC_WRITE, 0x2a00, 0x08 }, { "linux/userfaultfd.h", "UFFDIO_API", _IOC_READ|_IOC_WRITE, 0xaa3f, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_CONTINUE", _IOC_READ|_IOC_WRITE, 0xaa07, 0x20 }, { "linux/userfaultfd.h", "UFFDIO_COPY", _IOC_READ|_IOC_WRITE, 0xaa03, 0x28 }, @@ -2293,6 +2356,7 @@ { "linux/userfaultfd.h", "UFFDIO_WAKE", _IOC_READ, 0xaa02, 0x10 }, { "linux/userfaultfd.h", "UFFDIO_WRITEPROTECT", _IOC_READ|_IOC_WRITE, 0xaa06, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_ZEROPAGE", _IOC_READ|_IOC_WRITE, 0xaa04, 0x20 }, +{ "linux/userfaultfd.h", "USERFAULTFD_IOC_NEW", _IOC_NONE, 0xaa00, 0x00 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_MAP", _IOC_READ|_IOC_WRITE, 0x7520, 0x60 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_QUERY", _IOC_READ|_IOC_WRITE, 0x7521, 0x10 }, { "linux/v4l2-subdev.h", "VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL", _IOC_READ|_IOC_WRITE, 0x564b, 0x40 }, @@ -2318,6 +2382,21 @@ { "linux/vboxguest.h", "VBG_IOCTL_VMMDEV_REQUEST_BIG", _IOC_NONE, 0x5603, 0x00 }, { "linux/vboxguest.h", "VBG_IOCTL_WAIT_FOR_EVENTS", _IOC_READ|_IOC_WRITE, 0x560a, 0x20 }, { "linux/vboxguest.h", "VBG_IOCTL_WRITE_CORE_DUMP", _IOC_READ|_IOC_WRITE, 0x5613, 0x1c }, +{ "linux/vduse.h", "VDUSE_CREATE_DEV", _IOC_WRITE, 0x8102, 0x150 }, +{ "linux/vduse.h", "VDUSE_DESTROY_DEV", _IOC_WRITE, 0x8103, 0x100 }, +{ "linux/vduse.h", "VDUSE_DEV_GET_FEATURES", _IOC_READ, 0x8111, 0x08 }, +{ "linux/vduse.h", "VDUSE_DEV_INJECT_CONFIG_IRQ", _IOC_NONE, 0x8113, 0x00 }, +{ "linux/vduse.h", "VDUSE_DEV_SET_CONFIG", _IOC_WRITE, 0x8112, 0x08 }, +{ "linux/vduse.h", "VDUSE_GET_API_VERSION", _IOC_READ, 0x8100, 0x08 }, +{ "linux/vduse.h", "VDUSE_IOTLB_DEREG_UMEM", _IOC_WRITE, 0x8119, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_FD", _IOC_READ|_IOC_WRITE, 0x8110, 0x20 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_INFO", _IOC_READ|_IOC_WRITE, 0x811a, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_REG_UMEM", _IOC_WRITE, 0x8118, 0x30 }, +{ "linux/vduse.h", "VDUSE_SET_API_VERSION", _IOC_WRITE, 0x8101, 0x08 }, +{ "linux/vduse.h", "VDUSE_VQ_GET_INFO", _IOC_READ|_IOC_WRITE, 0x8115, 0x30 }, +{ "linux/vduse.h", "VDUSE_VQ_INJECT_IRQ", _IOC_WRITE, 0x8117, 0x04 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 }, { "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 }, @@ -2374,15 +2453,22 @@ { "linux/vhost.h", "VHOST_SET_VRING_ERR", _IOC_WRITE, 0xaf22, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_KICK", _IOC_WRITE, 0xaf20, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_NUM", _IOC_WRITE, 0xaf10, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_AS_NUM", _IOC_READ, 0xaf7a, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_CONFIG", _IOC_READ, 0xaf73, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_CONFIG_SIZE", _IOC_READ, 0xaf79, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_DEVICE_ID", _IOC_READ, 0xaf70, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_GROUP_NUM", _IOC_READ, 0xaf81, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_IOVA_RANGE", _IOC_READ, 0xaf78, 0x10 }, { "linux/vhost.h", "VHOST_VDPA_GET_STATUS", _IOC_READ, 0xaf71, 0x01 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VQS_COUNT", _IOC_READ, 0xaf80, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VRING_GROUP", _IOC_READ|_IOC_WRITE, 0xaf7b, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_GET_VRING_NUM", _IOC_READ, 0xaf76, 0x02 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG", _IOC_WRITE, 0xaf74, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG_CALL", _IOC_WRITE, 0xaf77, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_SET_GROUP_ASID", _IOC_WRITE, 0xaf7c, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_STATUS", _IOC_WRITE, 0xaf72, 0x01 }, { "linux/vhost.h", "VHOST_VDPA_SET_VRING_ENABLE", _IOC_WRITE, 0xaf75, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_SUSPEND", _IOC_NONE, 0xaf7d, 0x00 }, { "linux/vhost.h", "VHOST_VSOCK_SET_GUEST_CID", _IOC_WRITE, 0xaf60, 0x08 }, { "linux/vhost.h", "VHOST_VSOCK_SET_RUNNING", _IOC_WRITE, 0xaf61, 0x04 }, { "linux/videodev2.h", "VIDIOC_CREATE_BUFS", _IOC_READ|_IOC_WRITE, 0x565c, 0x100 }, @@ -2597,10 +2683,13 @@ { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_GET_DSP_INFO", _IOC_READ|_IOC_WRITE, 0x520d, 0x1c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH_SNS", _IOC_NONE, 0x5208, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_MAP", _IOC_READ|_IOC_WRITE, 0x520a, 0x40 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_UNMAP", _IOC_READ|_IOC_WRITE, 0x520b, 0x30 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MMAP", _IOC_READ|_IOC_WRITE, 0x5206, 0x20 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MUNMAP", _IOC_READ|_IOC_WRITE, 0x5207, 0x10 }, { "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 }, @@ -2608,7 +2697,7 @@ { "misc/habanalabs.h", "HL_IOCTL_DEBUG", _IOC_READ|_IOC_WRITE, 0x4806, 0x28 }, { "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 }, { "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 }, -{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 }, +{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x38 }, { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 }, @@ -2617,6 +2706,7 @@ { "misc/ocxl.h", "OCXL_IOCTL_IRQ_FREE", _IOC_WRITE, 0xca12, 0x08 }, { "misc/ocxl.h", "OCXL_IOCTL_IRQ_SET_FD", _IOC_WRITE, 0xca13, 0x10 }, { "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_CTX", _IOC_READ|_IOC_WRITE, 0x480a, 0x04 }, +{ "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_INFO", _IOC_READ|_IOC_WRITE, 0x480b, 0x10 }, { "misc/uacce/uacce.h", "UACCE_CMD_PUT_Q", _IOC_NONE, 0x5701, 0x00 }, { "misc/uacce/uacce.h", "UACCE_CMD_START_Q", _IOC_NONE, 0x5700, 0x00 }, { "misc/xilinx_sdfec.h", "XSDFEC_ADD_LDPC_CODE_PARAMS", _IOC_WRITE, 0x6605, 0x60 }, @@ -2644,6 +2734,7 @@ { "mtd/mtd-abi.h", "MEMGETREGIONINFO", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 }, { "mtd/mtd-abi.h", "MEMISLOCKED", _IOC_READ, 0x4d17, 0x08 }, { "mtd/mtd-abi.h", "MEMLOCK", _IOC_WRITE, 0x4d05, 0x08 }, +{ "mtd/mtd-abi.h", "MEMREAD", _IOC_READ|_IOC_WRITE, 0x4d1a, 0x40 }, { "mtd/mtd-abi.h", "MEMREADOOB", _IOC_READ|_IOC_WRITE, 0x4d04, 0x10 }, { "mtd/mtd-abi.h", "MEMREADOOB64", _IOC_READ|_IOC_WRITE, 0x4d16, 0x18 }, { "mtd/mtd-abi.h", "MEMSETBADBLOCK", _IOC_WRITE, 0x4d0c, 0x08 }, @@ -2859,6 +2950,7 @@ { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PARAMS", _IOC_READ|_IOC_WRITE, 0x5710, 0x30 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PVERSION", _IOC_READ, 0x5700, 0x04 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_STATUS", _IOC_READ|_IOC_WRITE, 0x5720, 0x38 }, +{ "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_USER_PVERSION", _IOC_WRITE, 0x5702, 0x04 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", _IOC_NONE, 0x54a2, 0x00 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", _IOC_READ|_IOC_WRITE, 0x5403, 0xf8 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", _IOC_WRITE, 0x5404, 0x48 }, @@ -2914,6 +3006,9 @@ { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 }, { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 }, @@ -2949,16 +3044,6 @@ { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_RESET_SAMPLES", _IOC_NONE, 0x4882, 0x00 }, { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_VERSION", _IOC_READ, 0x4880, 0x04 }, { "sound/usb_stream.h", "SNDRV_USB_STREAM_IOCTL_SET_PARAMS", _IOC_WRITE, 0x4890, 0x10 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_NAME", _IOC_READ, 0x7702, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PIN_STATUS", _IOC_NONE, 0x7709, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PROT_MASK", _IOC_NONE, 0x7706, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_SIZE", _IOC_NONE, 0x7704, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_PIN", _IOC_WRITE, 0x7707, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_PURGE_ALL_CACHES", _IOC_NONE, 0x770a, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_NAME", _IOC_WRITE, 0x7701, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_PROT_MASK", _IOC_WRITE, 0x7705, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_SIZE", _IOC_WRITE, 0x7703, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_UNPIN", _IOC_WRITE, 0x7708, 0x08 }, { "video/da8xx-fb.h", "FBIGET_BRIGHTNESS", _IOC_READ, 0x4603, 0x04 }, { "video/da8xx-fb.h", "FBIGET_COLOR", _IOC_READ, 0x4605, 0x04 }, { "video/da8xx-fb.h", "FBIOGET_CONTRAST", _IOC_READ, 0x4601, 0x04 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/64/syscallent.h
Changed
@@ -172,7 +172,7 @@ 164 = { 2, 0, SEN(setrlimit), "setrlimit" }, 165 = { 2, 0, SEN(getrusage), "getrusage" }, 166 = { 1, NF, SEN(umask), "umask" }, -167 = { 5, TC, SEN(prctl), "prctl" }, +167 = { 5, CC|TC, SEN(prctl), "prctl" }, 168 = { 3, 0, SEN(getcpu), "getcpu" }, 169 = { 2, TCL, SEN(gettimeofday), "gettimeofday" }, 170 = { 2, TCL, SEN(settimeofday), "settimeofday" }, @@ -226,7 +226,7 @@ 218 = { 4, 0, SEN(request_key), "request_key" }, 219 = { 5, 0, SEN(keyctl), "keyctl" }, 220 = { 5, TP, SEN(clone), "clone" }, -221 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +221 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 222 = { 6, TD|TM|SI, SEN(mmap), "mmap" }, 223 = { 4, TD, SEN(fadvise64), "fadvise64" }, 224 = { 2, TF, SEN(swapon), "swapon" }, @@ -271,7 +271,7 @@ 278 = { 3, 0, SEN(getrandom), "getrandom" }, 279 = { 2, TD, SEN(memfd_create), "memfd_create" }, 280 = { 3, TD, SEN(bpf), "bpf" }, -281 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +281 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 282 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 283 = { 3, 0, SEN(membarrier), "membarrier" }, 284 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/aarch64/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/aarch64/arch_prstatus_regset.c
Changed
@@ -23,7 +23,7 @@ tprint_struct_begin(); PRINT_FIELD_ARRAY_UPTO(regs, regs, fetch_size / 8, tcp, - print_xint64_array_member); + print_xint_array_member); if (fetch_size > offsetof(struct_prstatus_regset, sp)) { tprint_struct_next(); PRINT_FIELD_X(regs, sp);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/aarch64/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/aarch64/ioctls_arch0.h
Changed
@@ -75,6 +75,7 @@ { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/aarch64/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/aarch64/shuffle_scno.c
Changed
@@ -5,17 +5,17 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#define shuffle_scno_is_static -#define shuffle_scno arm_shuffle_scno +#define shuffle_scno_pers_is_static +#define shuffle_scno_pers arm_shuffle_scno_pers #include "../arm/shuffle_scno.c" -#undef shuffle_scno -#undef shuffle_scno_is_static +#undef shuffle_scno_pers +#undef shuffle_scno_pers_is_static kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { - if (current_personality == 1) - return arm_shuffle_scno(scno); + if (pers == 1) + return arm_shuffle_scno_pers(scno, pers); return scno; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/alpha/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/alpha/arch_defs_.h
Changed
@@ -8,3 +8,4 @@ #define HAVE_ARCH_GETRVAL2 1 #define HAVE_ARCH_DEDICATED_ERR_REG 1 #define HAVE_ARCH_TIME32_SYSCALLS 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_ALPHA, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/alpha/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/alpha/get_syscall_args.c
Changed
@@ -9,9 +9,7 @@ static int arch_get_syscall_args(struct tcb *tcp) { - unsigned int i; - - for (i = 0; i < n_args(tcp); ++i) + for (unsigned int i = 0; i < n_args(tcp); ++i) if (upeek(tcp, REG_A0+i, &tcp->u_argi) < 0) return -1; return 1;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/alpha/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/alpha/syscallent.h
Changed
@@ -66,7 +66,7 @@ 56 = { 5, 0, SEN(printargs), "osf_revoke" }, /* not implemented */ 57 = { 2, TF, SEN(symlink), "symlink" }, 58 = { 3, TF, SEN(readlink), "readlink" }, - 59 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 59 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 60 = { 1, NF, SEN(umask), "umask" }, 61 = { 1, TF, SEN(chroot), "chroot" }, 62 = { 5, TD|TFST|TSTA, SEN(printargs), "osf_old_fstat" }, /* not implemented */ @@ -292,7 +292,7 @@ 345 = { 5, 0, SEN(printargs), "pciconfig_read" }, 346 = { 5, 0, SEN(printargs), "pciconfig_write" }, 347 = { 5, 0, SEN(query_module), "query_module" }, /* not implemented */ -348 = { 5, TC, SEN(prctl), "prctl" }, +348 = { 5, CC|TC, SEN(prctl), "prctl" }, 349 = { 4, TD, SEN(pread), "pread64" }, 350 = { 4, TD, SEN(pwrite), "pwrite64" }, 351 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, @@ -456,7 +456,7 @@ 510 = { 5, TD|TF, SEN(renameat2), "renameat2" }, 511 = { 3, 0, SEN(getrandom), "getrandom" }, 512 = { 2, TD, SEN(memfd_create), "memfd_create" }, -513 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +513 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 514 = { 3, 0, SEN(seccomp), "seccomp" }, 515 = { 3, TD, SEN(bpf), "bpf" }, 516 = { 1, TD, SEN(userfaultfd), "userfaultfd" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/arc/arch_defs_.h
Added
@@ -0,0 +1,5 @@ +#ifdef WORDS_BIGENDIAN +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_ARCOMPACTBE, 0 } +#else +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_ARCOMPACT, 0 } +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arc/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arc/get_syscall_args.c
Changed
@@ -10,9 +10,8 @@ arch_get_syscall_args(struct tcb *tcp) { unsigned long *arc_args = &arc_regs.scratch.r0; - unsigned int i; - for (i = 0; i < MAX_ARGS; ++i) + for (unsigned int i = 0; i < MAX_ARGS; ++i) tcp->u_argi = *arc_args--; return 1; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arm/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arm/arch_defs_.h
Changed
@@ -9,3 +9,8 @@ #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 +#ifdef WORDS_BIGENDIAN +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_ARMEB, 0 } +#else +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_ARM, 0 } +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arm/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arm/arch_prstatus_regset.c
Changed
@@ -19,7 +19,7 @@ tprint_struct_begin(); PRINT_FIELD_ARRAY_UPTO(regs, uregs, fetch_size / 4, tcp, - print_xint32_array_member); + print_xint_array_member); if (size > sizeof(regs)) { tprint_struct_next(); tprint_more_data_follows();
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arm/nr_prefix.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arm/nr_prefix.c
Changed
@@ -5,7 +5,7 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -static inline const char * +static const char * nr_prefix(kernel_ulong_t scno) { /*
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arm/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arm/shuffle_scno.c
Changed
@@ -5,11 +5,11 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifdef shuffle_scno_is_static +#ifdef shuffle_scno_pers_is_static static #endif kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { if (scno < ARM_FIRST_SHUFFLED_SYSCALL) return scno;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/arm/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/arm/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -394,7 +394,7 @@ 384 = { 3, 0, SEN(getrandom), "getrandom" }, 385 = { 2, TD, SEN(memfd_create), "memfd_create" }, 386 = { 3, TD, SEN(bpf), "bpf" }, -387 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +387 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 388 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 389 = { 3, 0, SEN(membarrier), "membarrier" }, 390 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/avr32/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { EM_AVR32, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/avr32/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/avr32/syscallent.h
Changed
@@ -17,7 +17,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -154,7 +154,7 @@ 145 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 146 = { 3, TC, SEN(setresgid), "setresgid" }, 147 = { 3, TC, SEN(getresgid), "getresgid" }, -148 = { 5, TC, SEN(prctl), "prctl" }, +148 = { 5, CC|TC, SEN(prctl), "prctl" }, 149 = { 3, TN, SEN(socket), "socket" }, 150 = { 3, TN, SEN(bind), "bind" }, 151 = { 3, TN, SEN(connect), "connect" }, @@ -326,7 +326,7 @@ 317 = { 3, 0, SEN(getrandom), "getrandom" }, 318 = { 2, TD, SEN(memfd_create), "memfd_create" }, 319 = { 3, TD, SEN(bpf), "bpf" }, -320 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +320 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 321 = { 4, TN, SEN(accept4), "accept4" }, 322 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 323 = { 3, 0, SEN(membarrier), "membarrier" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/bfin/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/bfin/arch_defs_.h
Changed
@@ -7,3 +7,4 @@ #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 +#define PERSONALITY0_AUDIT_ARCH { EM_BLACKFIN|__AUDIT_ARCH_LE, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/bfin/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/bfin/get_syscall_args.c
Changed
@@ -12,9 +12,8 @@ static const int argregMAX_ARGS = { PT_R0, PT_R1, PT_R2, PT_R3, PT_R4, PT_R5 }; - unsigned int i; - for (i = 0; i < n_args(tcp); ++i) + for (unsigned int i = 0; i < n_args(tcp); ++i) if (upeek(tcp, argregi, &tcp->u_argi) < 0) return -1; return 1;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/bfin/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/bfin/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -398,4 +398,4 @@ 389 = { 3, 0, SEN(getrandom), "getrandom" }, 390 = { 2, TD, SEN(memfd_create), "memfd_create" }, 391 = { 3, TD, SEN(bpf), "bpf" }, -392 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +392 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/csky/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_CSKY, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/generic/nr_prefix.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/generic/nr_prefix.c
Changed
@@ -11,7 +11,7 @@ * and sys26 with __ARM_NR_* prefix instead of __NR_*, so we can't simply print * "__NR_". */ -static inline const char * +static const char * nr_prefix(kernel_ulong_t scno) { return "__NR_";
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/generic/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/generic/shuffle_scno.c
Changed
@@ -6,7 +6,7 @@ */ kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { return scno; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/generic/syscallent-common.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/generic/syscallent-common.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -32,3 +32,6 @@ BASE_NR + 445 = { 4, TD, SEN(landlock_add_rule), "landlock_add_rule" }, BASE_NR + 446 = { 2, TD, SEN(landlock_restrict_self), "landlock_restrict_self" }, BASE_NR + 447 = { 1, TD, SEN(memfd_secret), "memfd_secret" }, +BASE_NR + 448 = { 2, TD, SEN(process_mrelease), "process_mrelease" }, +BASE_NR + 449 = { 5, 0, SEN(futex_waitv), "futex_waitv" }, +BASE_NR + 450 = { 4, TM, SEN(set_mempolicy_home_node), "set_mempolicy_home_node" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/hppa/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/hppa/arch_defs_.h
Changed
@@ -14,3 +14,4 @@ * Workaround this by initializing %r28 ourselves. */ #define ARCH_NEEDS_SET_ERROR_FOR_SCNO_TAMPERING 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_PARISC, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/hppa/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/hppa/syscallent.h
Changed
@@ -14,7 +14,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -175,7 +175,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid), "setresgid" }, 171 = { 3, TC, SEN(getresgid), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -345,7 +345,7 @@ 339 = { 3, 0, SEN(getrandom), "getrandom" }, 340 = { 2, TD, SEN(memfd_create), "memfd_create" }, 341 = { 3, TD, SEN(bpf), "bpf" }, -342 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +342 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 343 = { 3, 0, SEN(membarrier), "membarrier" }, 344 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 345 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/i386/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/i386/arch_defs_.h
Changed
@@ -9,3 +9,4 @@ #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_I386, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/i386/arch_fpregset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/i386/arch_fpregset.c
Changed
@@ -47,7 +47,7 @@ offsetof(struct_fpregset, st_space); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, st_space, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (size > sizeof(regs)) { tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/i386/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/i386/ioctls_arch0.h
Changed
@@ -1,4 +1,5 @@ /* Generated by ioctls_gen.sh from definitions found in $linux/arch/x86/include/ tree. */ +{ "asm/amd_hsmp.h", "HSMP_IOCTL_CMD", _IOC_READ|_IOC_WRITE, 0xf800, 0x2c }, { "asm/mce.h", "MCE_GETCLEAR_FLAGS", _IOC_READ, 0x4d03, 0x04 }, { "asm/mce.h", "MCE_GET_LOG_LEN", _IOC_READ, 0x4d02, 0x04 }, { "asm/mce.h", "MCE_GET_RECORD_LEN", _IOC_READ, 0x4d01, 0x04 }, @@ -17,7 +18,11 @@ { "asm/sgx.h", "SGX_IOC_ENCLAVE_ADD_PAGES", _IOC_READ|_IOC_WRITE, 0xa401, 0x30 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_CREATE", _IOC_WRITE, 0xa400, 0x08 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_INIT", _IOC_WRITE, 0xa402, 0x08 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_MODIFY_TYPES", _IOC_READ|_IOC_WRITE, 0xa406, 0x28 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_PROVISION", _IOC_WRITE, 0xa403, 0x08 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_REMOVE_PAGES", _IOC_READ|_IOC_WRITE, 0xa407, 0x18 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_RESTRICT_PERMISSIONS", _IOC_READ|_IOC_WRITE, 0xa405, 0x28 }, +{ "asm/sgx.h", "SGX_IOC_VEPC_REMOVE_ALL", _IOC_NONE, 0xa404, 0x00 }, { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 }, { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 }, { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 }, @@ -66,6 +71,7 @@ { "linux/kvm.h", "KVM_GET_VCPU_MMAP_SIZE", _IOC_NONE, 0xae04, 0x00 }, { "linux/kvm.h", "KVM_GET_XCRS", _IOC_READ, 0xaea6, 0x188 }, { "linux/kvm.h", "KVM_GET_XSAVE", _IOC_READ, 0xaea4, 0x1000 }, +{ "linux/kvm.h", "KVM_GET_XSAVE2", _IOC_READ, 0xaecf, 0x1000 }, { "linux/kvm.h", "KVM_HAS_DEVICE_ATTR", _IOC_WRITE, 0xaee3, 0x18 }, { "linux/kvm.h", "KVM_HYPERV_EVENTFD", _IOC_WRITE, 0xaebd, 0x18 }, { "linux/kvm.h", "KVM_INTERRUPT", _IOC_WRITE, 0xae86, 0x04 }, @@ -125,6 +131,7 @@ { "linux/kvm.h", "KVM_X86_SET_MCE", _IOC_WRITE, 0xae9e, 0x40 }, { "linux/kvm.h", "KVM_X86_SET_MSR_FILTER", _IOC_WRITE, 0xaec6, 0x104 }, { "linux/kvm.h", "KVM_XEN_HVM_CONFIG", _IOC_WRITE, 0xae7a, 0x38 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/i386/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/i386/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -364,7 +364,7 @@ 355 = { 3, 0, SEN(getrandom), "getrandom" }, 356 = { 2, TD, SEN(memfd_create), "memfd_create" }, 357 = { 3, TD, SEN(bpf), "bpf" }, -358 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +358 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 359 = { 3, TN, SEN(socket), "socket" }, 360 = { 4, TN, SEN(socketpair), "socketpair" }, 361 = { 3, TN, SEN(bind), "bind" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/ia64/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/ia64/arch_defs_.h
Changed
@@ -5,6 +5,8 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ +#include "syscallent_base_nr.h" + #define HAVE_ARCH_GETRVAL2 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define HAVE_ARCH_SA_RESTORER 0
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/ia64/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/ia64/get_syscall_args.c
Changed
@@ -16,9 +16,8 @@ unsigned long sof = (ia64_regs.cfm >> 0) & 0x7f; unsigned long sol = (ia64_regs.cfm >> 7) & 0x7f; unsigned long *out0 = ia64_rse_skip_regs(rbs_end, -sof + sol); - unsigned int i; - for (i = 0; i < n_args(tcp); ++i) { + for (unsigned int i = 0; i < n_args(tcp); ++i) { if (umove(tcp, (unsigned long) ia64_rse_skip_regs(out0, i), &tcp->u_argi) < 0) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/ia64/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/ia64/shuffle_scno.c
Changed
@@ -5,7 +5,7 @@ "shuffling will only make everything worse"); kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { return scno ^ SYSCALLENT_BASE_NR; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/ia64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/ia64/syscallent.h
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 1999, 2001 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> - * Copyright (c) 2000-2021 The strace developers. + * Copyright (c) 2000-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -29,7 +29,7 @@ BASE_NR + 6 = { 2, TD|TF, SEN(creat), "creat" }, BASE_NR + 7 = { 2, TF, SEN(link), "link" }, BASE_NR + 8 = { 1, TF, SEN(unlink), "unlink" }, -BASE_NR + 9 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +BASE_NR + 9 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, BASE_NR + 10 = { 1, TF, SEN(chdir), "chdir" }, BASE_NR + 11 = { 1, TD, SEN(fchdir), "fchdir" }, BASE_NR + 12 = { 2, TF, SEN(utimes), "utimes" }, @@ -146,7 +146,7 @@ BASE_NR + 123 = { 3, TD, SEN(writev), "writev" }, BASE_NR + 124 = { 4, TD, SEN(pread), "pread64" }, BASE_NR + 125 = { 4, TD, SEN(pwrite), "pwrite64" }, -BASE_NR + 126 = { 1, 0, SEN(printargs), "_sysctl" }, +BASE_NR + 126 = { 1, 0, SEN(sysctl), "_sysctl" }, BASE_NR + 127 = { 6, TD|TM|SI, SEN(mmap), "mmap" }, BASE_NR + 128 = { 2, TM|SI, SEN(munmap), "munmap" }, BASE_NR + 129 = { 2, TM, SEN(mlock), "mlock" }, @@ -166,7 +166,7 @@ BASE_NR + 143 = { 2, 0, SEN(sched_rr_get_interval_time64),"sched_rr_get_interval"}, BASE_NR + 144 = { 2, 0, SEN(nanosleep_time64), "nanosleep" }, BASE_NR + 145 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, -BASE_NR + 146 = { 5, TC, SEN(prctl), "prctl" }, +BASE_NR + 146 = { 5, CC|TC, SEN(prctl), "prctl" }, BASE_NR + 147 = { 0, PU|NF, SEN(getpagesize), "old_getpagesize" }, BASE_NR + 148 = { 6, TD|TM|SI, SEN(mmap_pgoff), "mmap2" }, BASE_NR + 149 = { 5, 0, SEN(printargs), "pciconfig_read" }, @@ -338,7 +338,7 @@ BASE_NR + 315 = { 3, 0, SEN(getrandom), "getrandom" }, BASE_NR + 316 = { 2, TD, SEN(memfd_create), "memfd_create" }, BASE_NR + 317 = { 3, TD, SEN(bpf), "bpf" }, -BASE_NR + 318 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +BASE_NR + 318 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, BASE_NR + 319 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, BASE_NR + 320 = { 3, 0, SEN(membarrier), "membarrier" }, BASE_NR + 321 = { 5, 0, SEN(kcmp), "kcmp" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64
Added
+(directory)
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_defs_.h
Added
@@ -0,0 +1,8 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_LOONGARCH64, 0 }
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_fpregset.c
Added
@@ -0,0 +1,36 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +static void +arch_decode_fpregset(struct tcb *const tcp, + const kernel_ulong_t addr, + const kernel_ulong_t size) +{ + struct_fpregset regs; + const size_t fetch_size = MIN(sizeof(regs), size); + + if (!size || size & 7) { + printaddr(addr); + } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { + tprint_struct_begin(); + PRINT_FIELD_ARRAY_UPTO(regs, fpr, fetch_size / 8, tcp, + print_xint_array_member); + if (fetch_size > offsetof(struct_fpregset, fcc)) { + tprint_struct_next(); + PRINT_FIELD_X(regs, fcc); + } + if (fetch_size > offsetof(struct_fpregset, fcsr)) { + tprint_struct_next(); + PRINT_FIELD_X(regs, fcsr); + } + if (size > sizeof(regs)) { + tprint_struct_next(); + tprint_more_data_follows(); + } + tprint_struct_end(); + } +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_fpregset.h
Added
@@ -0,0 +1,15 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifndef STRACE_ARCH_FPREGSET_H +# define STRACE_ARCH_FPREGSET_H + +typedef struct user_fp_state struct_fpregset; + +# define HAVE_ARCH_FPREGSET 1 + +#endif /* !STRACE_ARCH_FPREGSET_H */
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_prstatus_regset.c
Added
@@ -0,0 +1,49 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +static void +arch_decode_prstatus_regset(struct tcb *const tcp, + const kernel_ulong_t addr, + const kernel_ulong_t size) +{ + struct_prstatus_regset regs; + const size_t fetch_size = MIN(sizeof(regs), size); + + if (!size || size & 7) { + printaddr(addr); + } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { + tprint_struct_begin(); + PRINT_FIELD_ARRAY_UPTO(regs, regs, + fetch_size / 8, tcp, + print_xint_array_member); + if (fetch_size > offsetof(struct_prstatus_regset, orig_a0)) { + tprint_struct_next(); + PRINT_FIELD_X(regs, orig_a0); + } + if (fetch_size > offsetof(struct_prstatus_regset, csr_era)) { + tprint_struct_next(); + PRINT_FIELD_X(regs, csr_era); + } + if (fetch_size > offsetof(struct_prstatus_regset, csr_badv)) { + tprint_struct_next(); + PRINT_FIELD_X(regs, csr_badv); + } + const size_t offset_of_reserved = + offsetof(struct_prstatus_regset, reserved); + if (fetch_size > offset_of_reserved) { + tprint_struct_next(); + PRINT_FIELD_ARRAY_UPTO(regs, reserved, + (fetch_size - offset_of_reserved) / 8, + tcp, print_xint_array_member); + } + if (size > sizeof(regs)) { + tprint_struct_next(); + tprint_more_data_follows(); + } + tprint_struct_end(); + } +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_prstatus_regset.h
Added
@@ -0,0 +1,15 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifndef STRACE_ARCH_PRSTATUS_REGSET_H +# define STRACE_ARCH_PRSTATUS_REGSET_H + +typedef struct user_pt_regs struct_prstatus_regset; + +# define HAVE_ARCH_PRSTATUS_REGSET 1 + +#endif /* !STRACE_ARCH_PRSTATUS_REGSET_H */
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/arch_regs.c
Added
@@ -0,0 +1,11 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +static struct user_pt_regs loongarch_regs; +#define ARCH_REGS_FOR_GETREGSET loongarch_regs +#define ARCH_PC_REG loongarch_regs.csr_era +#define ARCH_SP_REG loongarch_regs.regs3
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/get_error.c
Added
@@ -0,0 +1,19 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "negated_errno.h" + +static void +arch_get_error(struct tcb *tcp, const bool check_errno) +{ + if (check_errno && is_negated_errno(loongarch_regs.regs4)) { + tcp->u_rval = -1; + tcp->u_error = -loongarch_regs.regs4; + } else { + tcp->u_rval = loongarch_regs.regs4; + } +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/get_scno.c
Added
@@ -0,0 +1,14 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +/* Return codes: 1 - ok, 0 - ignore, other - error. */ +static int +arch_get_scno(struct tcb *tcp) +{ + tcp->scno = loongarch_regs.regs11; + return 1; +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/get_syscall_args.c
Added
@@ -0,0 +1,19 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +/* Return -1 on error or 1 on success (never 0!). */ +static int +arch_get_syscall_args(struct tcb *tcp) +{ + tcp->u_arg0 = loongarch_regs.orig_a0; + tcp->u_arg1 = loongarch_regs.regs5; + tcp->u_arg2 = loongarch_regs.regs6; + tcp->u_arg3 = loongarch_regs.regs7; + tcp->u_arg4 = loongarch_regs.regs8; + tcp->u_arg5 = loongarch_regs.regs9; + return 1; +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/ioctls_arch0.h
Added
@@ -0,0 +1,1 @@ +/* Generated by ioctls_gen.sh from definitions found in $linux/arch/loongarch/include/ tree. */
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/ioctls_inc0.h
Added
@@ -0,0 +1,1 @@ +#include "../64/ioctls_inc.h"
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/raw_syscall.h
Added
@@ -0,0 +1,29 @@ +/* + * Raw syscalls. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifndef STRACE_RAW_SYSCALL_H +# define STRACE_RAW_SYSCALL_H + +# include "kernel_types.h" + +static inline kernel_ulong_t +raw_syscall_0(const kernel_ulong_t nr, kernel_ulong_t *err) +{ + *err = 0; + register kernel_ulong_t a7 __asm__("a7") = nr; + register kernel_ulong_t a0 __asm__("a0"); + __asm__ __volatile__("syscall 0" + : "=r"(a0) + : "r"(a7) + : "memory"); + return a0; +} +# define raw_syscall_0 raw_syscall_0 + +#endif /* !STRACE_RAW_SYSCALL_H */
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/set_error.c
Added
@@ -0,0 +1,20 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +static int +arch_set_error(struct tcb *tcp) +{ + loongarch_regs.regs4 = -tcp->u_error; + return set_regs(tcp->pid); +} + +static int +arch_set_success(struct tcb *tcp) +{ + loongarch_regs.regs4 = tcp->u_rval; + return set_regs(tcp->pid); +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/set_scno.c
Added
@@ -0,0 +1,15 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +static int +arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) +{ + if (ptrace_syscall_info_is_valid() && get_regs(tcp) < 0) + return -1; + loongarch_regs.regs11 = scno; + return set_regs(tcp->pid); +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/loongarch64/syscallent.h
Added
@@ -0,0 +1,8 @@ +/* + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "../64/syscallent.h"
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/m68k/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/m68k/arch_defs_.h
Changed
@@ -9,3 +9,4 @@ #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define HAVE_ARCH_SA_RESTORER 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_M68K, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/m68k/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/m68k/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -361,7 +361,7 @@ 352 = { 3, 0, SEN(getrandom), "getrandom" }, 353 = { 2, TD, SEN(memfd_create), "memfd_create" }, 354 = { 3, TD, SEN(bpf), "bpf" }, -355 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +355 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 356 = { 3, TN, SEN(socket), "socket" }, 357 = { 4, TN, SEN(socketpair), "socketpair" }, 358 = { 3, TN, SEN(bind), "bind" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/metag/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { EM_METAG|__AUDIT_ARCH_LE, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/metag/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/metag/get_syscall_args.c
Changed
@@ -9,9 +9,7 @@ static int arch_get_syscall_args(struct tcb *tcp) { - unsigned int i; - - for (i = 0; i < MAX_ARGS; i++) { + for (unsigned int i = 0; i < MAX_ARGS; ++i) { /* arguments go backwards from D1Ar1 (D1.3) */ tcp->u_argi = (&metag_regs.dx31)-i; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/microblaze/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/microblaze/arch_defs_.h
Changed
@@ -7,3 +7,4 @@ #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MICROBLAZE, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/microblaze/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/microblaze/get_syscall_args.c
Changed
@@ -9,9 +9,7 @@ static int arch_get_syscall_args(struct tcb *tcp) { - unsigned int i; - - for (i = 0; i < n_args(tcp); ++i) + for (unsigned int i = 0; i < n_args(tcp); ++i) if (upeek(tcp, (5 + i) * 4, &tcp->u_argi) < 0) return -1; return 1;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/microblaze/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/microblaze/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -394,7 +394,7 @@ 385 = { 3, 0, SEN(getrandom), "getrandom" }, 386 = { 2, TD, SEN(memfd_create), "memfd_create" }, 387 = { 3, TD, SEN(bpf), "bpf" }, -388 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +388 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 389 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 390 = { 3, 0, SEN(membarrier), "membarrier" }, 391 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/arch_defs_.h
Changed
@@ -8,3 +8,21 @@ #define HAVE_ARCH_GETRVAL2 1 #define HAVE_ARCH_DEDICATED_ERR_REG 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 + +#ifdef WORDS_BIGENDIAN +# if defined(LINUX_MIPSN64) +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPS64, 0 } +# elif defined(LINUX_MIPSN32) +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPS64N32, 0 } +# else /* LINUX_MIPSO32 */ +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPS, 0 } +# endif +#else /* !WORDS_BIGENDIAN */ +# if defined(LINUX_MIPSN64) +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPSEL64, 0 } +# elif defined(LINUX_MIPSN32) +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPSEL64N32, 0 } +# else /* LINUX_MIPSO32 */ +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_MIPSEL, 0 } +# endif +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/arch_prstatus_regset.c
Changed
@@ -20,14 +20,8 @@ if (fetch_size > offsetof(struct_prstatus_regset, regs)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, regs); - PRINT_FIELD_ARRAY_UPTO(regs, regs, - len / SIZEOF_LONG, tcp, -#if SIZEOF_LONG == 4 - print_xint32_array_member -#else - print_xint64_array_member -#endif - ); + PRINT_FIELD_ARRAY_UPTO(regs, regs, len / SIZEOF_LONG, + tcp, print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, lo)) { tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/arch_pt_regs.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/arch_pt_regs.c
Changed
@@ -16,7 +16,7 @@ return; tprint_struct_begin(); - PRINT_FIELD_ARRAY(regs, regs, tcp, print_xint64_array_member); + PRINT_FIELD_ARRAY(regs, regs, tcp, print_xint_array_member); tprint_struct_next(); PRINT_FIELD_X(regs, lo);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/ioctls_arch0.h
Changed
@@ -152,6 +152,7 @@ { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/syscallent-n32.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/syscallent-n32.h
Changed
@@ -65,7 +65,7 @@ BASE_NR + 54 = { 5, TN, SEN(getsockopt), "getsockopt" }, BASE_NR + 55 = { 5, TP, SEN(clone), "clone" }, BASE_NR + 56 = { 0, TP, SEN(fork), "fork" }, -BASE_NR + 57 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +BASE_NR + 57 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, BASE_NR + 58 = { 1, TP|SE, SEN(exit), "exit" }, BASE_NR + 59 = { 4, TP, SEN(wait4), "wait4" }, BASE_NR + 60 = { 2, TS|TP, SEN(kill), "kill" }, @@ -161,7 +161,7 @@ BASE_NR + 150 = { 0, 0, SEN(vhangup), "vhangup" }, BASE_NR + 151 = { 2, TF, SEN(pivotroot), "pivot_root" }, BASE_NR + 152 = { 1, 0, SEN(sysctl), "_sysctl" }, -BASE_NR + 153 = { 5, TC, SEN(prctl), "prctl" }, +BASE_NR + 153 = { 5, CC|TC, SEN(prctl), "prctl" }, BASE_NR + 154 = { 1, TCL, SEN(adjtimex32), "adjtimex" }, BASE_NR + 155 = { 2, 0, SEN(setrlimit), "setrlimit" }, BASE_NR + 156 = { 1, TF, SEN(chroot), "chroot" }, @@ -328,7 +328,7 @@ BASE_NR + 317 = { 3, 0, SEN(getrandom), "getrandom" }, BASE_NR + 318 = { 2, TD, SEN(memfd_create), "memfd_create" }, BASE_NR + 319 = { 3, TD, SEN(bpf), "bpf" }, -BASE_NR + 320 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +BASE_NR + 320 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, BASE_NR + 321 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, BASE_NR + 322 = { 3, 0, SEN(membarrier), "membarrier" }, BASE_NR + 323 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/syscallent-n64.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/syscallent-n64.h
Changed
@@ -65,7 +65,7 @@ BASE_NR + 54 = { 5, TN, SEN(getsockopt), "getsockopt" }, BASE_NR + 55 = { 5, TP, SEN(clone), "clone" }, BASE_NR + 56 = { 0, TP, SEN(fork), "fork" }, -BASE_NR + 57 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +BASE_NR + 57 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, BASE_NR + 58 = { 1, TP|SE, SEN(exit), "exit" }, BASE_NR + 59 = { 4, TP, SEN(wait4), "wait4" }, BASE_NR + 60 = { 2, TS|TP, SEN(kill), "kill" }, @@ -161,7 +161,7 @@ BASE_NR + 150 = { 0, 0, SEN(vhangup), "vhangup" }, BASE_NR + 151 = { 2, TF, SEN(pivotroot), "pivot_root" }, BASE_NR + 152 = { 1, 0, SEN(sysctl), "_sysctl" }, -BASE_NR + 153 = { 5, TC, SEN(prctl), "prctl" }, +BASE_NR + 153 = { 5, CC|TC, SEN(prctl), "prctl" }, BASE_NR + 154 = { 1, TCL, SEN(adjtimex64), "adjtimex" }, BASE_NR + 155 = { 2, 0, SEN(setrlimit), "setrlimit" }, BASE_NR + 156 = { 1, TF, SEN(chroot), "chroot" }, @@ -324,7 +324,7 @@ BASE_NR + 313 = { 3, 0, SEN(getrandom), "getrandom" }, BASE_NR + 314 = { 2, TD, SEN(memfd_create), "memfd_create" }, BASE_NR + 315 = { 3, TD, SEN(bpf), "bpf" }, -BASE_NR + 316 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +BASE_NR + 316 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, BASE_NR + 317 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, BASE_NR + 318 = { 3, 0, SEN(membarrier), "membarrier" }, BASE_NR + 319 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/syscallent-o32.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/syscallent-o32.h
Changed
@@ -20,7 +20,7 @@ BASE_NR + 8 = { 2, TD|TF, SEN(creat), "creat" }, BASE_NR + 9 = { 2, TF, SEN(link), "link" }, BASE_NR + 10 = { 1, TF, SEN(unlink), "unlink" }, -BASE_NR + 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +BASE_NR + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, BASE_NR + 12 = { 1, TF, SEN(chdir), "chdir" }, BASE_NR + 13 = { 1, TCL, SEN(time), "time" }, BASE_NR + 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -201,7 +201,7 @@ BASE_NR + 189 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, BASE_NR + 190 = { 3, TC, SEN(setresgid), "setresgid" }, BASE_NR + 191 = { 3, TC, SEN(getresgid), "getresgid" }, -BASE_NR + 192 = { 5, TC, SEN(prctl), "prctl" }, +BASE_NR + 192 = { 5, CC|TC, SEN(prctl), "prctl" }, BASE_NR + 193 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, BASE_NR + 194 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, BASE_NR + 195 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -365,7 +365,7 @@ BASE_NR + 353 = { 3, 0, SEN(getrandom), "getrandom" }, BASE_NR + 354 = { 2, TD, SEN(memfd_create), "memfd_create" }, BASE_NR + 355 = { 3, TD, SEN(bpf), "bpf" }, -BASE_NR + 356 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +BASE_NR + 356 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, BASE_NR + 357 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, BASE_NR + 358 = { 3, 0, SEN(membarrier), "membarrier" }, BASE_NR + 359 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/mips/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/mips/syscallent.h
Changed
@@ -1,4 +1,3 @@ -#include "syscall_dummy.h" #include "syscallent-compat.h" #include "syscallent-o32.h" #include "syscallent-n64.h"
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/nios2/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/nios2/arch_defs_.h
Changed
@@ -6,3 +6,4 @@ */ #define HAVE_ARCH_DEDICATED_ERR_REG 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_NIOS2, 0 }
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/or1k/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_OPENRISC, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/arch_defs_.h
Changed
@@ -7,3 +7,4 @@ #define HAVE_ARCH_OLD_SELECT 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_PPC, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/arch_fpregset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/arch_fpregset.c
Changed
@@ -18,7 +18,7 @@ } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { tprint_struct_begin(); PRINT_FIELD_ARRAY_UPTO(regs, fpr, fetch_size / 8, tcp, - print_xint64_array_member); + print_xint_array_member); if (fetch_size > offsetof(struct_fpregset, fpscr)) { tprint_struct_next(); PRINT_FIELD_X(regs, fpscr);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/arch_prstatus_regset.c
Changed
@@ -23,14 +23,8 @@ printaddr(addr); } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { tprint_struct_begin(); - PRINT_FIELD_ARRAY_UPTO(regs, gpr, - fetch_size / TRACEE_KLONGSIZE, tcp, -#if TRACEE_KLONGSIZE == 4 - print_xint32_array_member -#else - print_xint64_array_member -#endif - ); + PRINT_FIELD_ARRAY_UPTO(regs, gpr, fetch_size / TRACEE_KLONGSIZE, + tcp, print_xint_array_member); if (fetch_size > offsetof(struct_prstatus_regset, nip)) { tprint_struct_next(); PRINT_FIELD_X(regs, nip);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/arch_pt_regs64.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/arch_pt_regs64.c
Changed
@@ -16,7 +16,7 @@ return; tprint_struct_begin(); - PRINT_FIELD_ARRAY(regs, gpr, tcp, print_xint64_array_member); + PRINT_FIELD_ARRAY(regs, gpr, tcp, print_xint_array_member); tprint_struct_next(); PRINT_FIELD_X(regs, nip);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/ioctls_arch0.h
Changed
@@ -175,6 +175,7 @@ { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -178,7 +178,7 @@ 168 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 169 = { 3, TC, SEN(setresgid), "setresgid" }, 170 = { 3, TC, SEN(getresgid), "getresgid" }, -171 = { 5, TC, SEN(prctl), "prctl" }, +171 = { 5, CC|TC, SEN(prctl), "prctl" }, 172 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 173 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 174 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -231,7 +231,7 @@ 221 = { 6, 0, SEN(futex_time32), "futex" }, 222 = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, 223 = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, -224 = { }, +/* 224 - was security */ 225 = { 5, 0, SEN(printargs), "tuxcall" }, 226 = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, 227 = { 2, TM, SEN(io_setup), "io_setup" }, @@ -369,7 +369,7 @@ 359 = { 3, 0, SEN(getrandom), "getrandom" }, 360 = { 2, TD, SEN(memfd_create), "memfd_create" }, 361 = { 3, TD, SEN(bpf), "bpf" }, -362 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +362 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 363 = { 0, 0, SEN(printargs), "switch_endian" }, 364 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 365 = { 3, 0, SEN(membarrier), "membarrier" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc64/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -178,7 +178,7 @@ 168 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 169 = { 3, TC, SEN(setresgid), "setresgid" }, 170 = { 3, TC, SEN(getresgid), "getresgid" }, -171 = { 5, TC, SEN(prctl), "prctl" }, +171 = { 5, CC|TC, SEN(prctl), "prctl" }, 172 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 173 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 174 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -199,14 +199,19 @@ 189 = { 0, TP, SEN(vfork), "vfork" }, 190 = { 2, 0, SEN(getrlimit), "ugetrlimit" }, 191 = { 3, TD, SEN(readahead), "readahead" }, -192 ... 197 = { }, +/* 192 - mmap2, powerpc32 only */ +/* 193 - truncate64, powerpc32 only */ +/* 194 - ftruncate64, powerpc32 only */ +/* 195 - stat64, powerpc32 only */ +/* 196 - lstat64, powerpc32 only */ +/* 197 - fstat64, powerpc32 only */ 198 = { 5, 0, SEN(printargs), "pciconfig_read" }, 199 = { 5, 0, SEN(printargs), "pciconfig_write" }, 200 = { 3, 0, SEN(printargs), "pciconfig_iobase" }, 201 = { 6, 0, SEN(printargs), "multiplexer" }, 202 = { 3, TD, SEN(getdents64), "getdents64" }, 203 = { 2, TF, SEN(pivotroot), "pivot_root" }, -204 = { }, +/* 204 - fcntl64, powerpc32 only */ 205 = { 3, TM, SEN(madvise), "madvise" }, 206 = { 3, TM, SEN(mincore), "mincore" }, 207 = { 0, PU|NF, SEN(gettid), "gettid" }, @@ -226,9 +231,9 @@ 221 = { 6, 0, SEN(futex_time64), "futex" }, 222 = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" }, 223 = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" }, -224 = { }, +/* 224 - was security */ 225 = { 5, 0, SEN(printargs), "tuxcall" }, -226 = { }, +/* 226 - sendfile64, powerpc32 only */ 227 = { 2, TM, SEN(io_setup), "io_setup" }, 228 = { 1, TM, SEN(io_destroy), "io_destroy" }, 229 = { 5, 0, SEN(io_getevents_time64), "io_getevents" }, @@ -256,7 +261,7 @@ 251 = { 2, TF, SEN(utimes), "utimes" }, 252 = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" }, 253 = { 3, TD|TFSF|TSFA, SEN(fstatfs64), "fstatfs64" }, -254 = { }, +/* 254 - fadvise64_64, powerpc32 only */ 255 = { 1, 0, SEN(printargs), "rtas" }, 256 = { 5, 0, SEN(printargs), "sys_debug_setcontext" }, 257 = { 5, 0, SEN(vserver), "vserver" }, @@ -364,7 +369,7 @@ 359 = { 3, 0, SEN(getrandom), "getrandom" }, 360 = { 2, TD, SEN(memfd_create), "memfd_create" }, 361 = { 3, TD, SEN(bpf), "bpf" }, -362 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +362 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 363 = { 0, 0, SEN(printargs), "switch_endian" }, 364 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 365 = { 3, 0, SEN(membarrier), "membarrier" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/powerpc64le/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/powerpc64le/arch_defs_.h
Changed
@@ -6,3 +6,4 @@ */ #define HAVE_ARCH_OLD_SELECT 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_PPC64LE, 0 }
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/riscv64/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_RISCV64, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390/arch_defs_.h
Changed
@@ -9,3 +9,4 @@ #define HAVE_ARCH_OLD_MMAP_PGOFF 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_S390, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390/arch_prstatus_regset.c
Changed
@@ -37,12 +37,7 @@ tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, gprs, len / sizeof(regs.gprs0), tcp, -#if TRACEE_KLONGSIZE == 4 - print_xint32_array_member -#else - print_xint64_array_member -#endif - ); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, acrs)) { const size_t len = @@ -50,7 +45,7 @@ tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, acrs, len / sizeof(regs.acrs0), tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, orig_gpr2)) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390/ioctls_arch0.h
Changed
@@ -17,6 +17,7 @@ { "asm/dasd.h", "BIODASDABORTIO", _IOC_NONE, 0x44f0, 0x00 }, { "asm/dasd.h", "BIODASDALLOWIO", _IOC_NONE, 0x44f1, 0x00 }, { "asm/dasd.h", "BIODASDCHECKFMT", _IOC_READ|_IOC_WRITE, 0x4402, 0x28 }, +{ "asm/dasd.h", "BIODASDCOPYPAIRSWAP", _IOC_WRITE, 0x4404, 0x68 }, { "asm/dasd.h", "BIODASDDISABLE", _IOC_NONE, 0x4400, 0x00 }, { "asm/dasd.h", "BIODASDENABLE", _IOC_NONE, 0x4401, 0x00 }, { "asm/dasd.h", "BIODASDFMT", _IOC_WRITE, 0x4401, 0x10 }, @@ -64,6 +65,7 @@ { "asm/tape390.h", "TAPE390_DISPLAY", _IOC_WRITE, 0x6401, 0x11 }, { "asm/tape390.h", "TAPE390_KEKL_QUERY", _IOC_READ, 0x6405, 0x86 }, { "asm/tape390.h", "TAPE390_KEKL_SET", _IOC_WRITE, 0x6404, 0x86 }, +{ "asm/uvdevice.h", "UVIO_IOCTL_ATT", _IOC_READ|_IOC_WRITE, 0x7501, 0x40 }, { "asm/vmcp.h", "VMCP_GETCODE", _IOC_READ, 0x1001, 0x04 }, { "asm/vmcp.h", "VMCP_GETSIZE", _IOC_READ, 0x1003, 0x04 }, { "asm/vmcp.h", "VMCP_SETBUF", _IOC_WRITE, 0x1002, 0x04 }, @@ -141,6 +143,7 @@ { "linux/kvm.h", "KVM_S390_MEM_OP", _IOC_WRITE, 0xaeb1, 0x40 }, { "linux/kvm.h", "KVM_S390_NORMAL_RESET", _IOC_NONE, 0xaec3, 0x00 }, { "linux/kvm.h", "KVM_S390_PV_COMMAND", _IOC_READ|_IOC_WRITE, 0xaec5, 0x20 }, +{ "linux/kvm.h", "KVM_S390_PV_CPU_COMMAND", _IOC_READ|_IOC_WRITE, 0xaed0, 0x20 }, { "linux/kvm.h", "KVM_S390_SET_CMMA_BITS", _IOC_WRITE, 0xaeb9, 0x20 }, { "linux/kvm.h", "KVM_S390_SET_INITIAL_PSW", _IOC_WRITE, 0xae96, 0x10 }, { "linux/kvm.h", "KVM_S390_SET_IRQ_STATE", _IOC_WRITE, 0xaeb5, 0x20 }, @@ -149,6 +152,7 @@ { "linux/kvm.h", "KVM_S390_UCAS_MAP", _IOC_WRITE, 0xae50, 0x18 }, { "linux/kvm.h", "KVM_S390_UCAS_UNMAP", _IOC_WRITE, 0xae51, 0x18 }, { "linux/kvm.h", "KVM_S390_VCPU_FAULT", _IOC_WRITE, 0xae52, 0x04 }, +{ "linux/kvm.h", "KVM_S390_ZPCI_OP", _IOC_WRITE, 0xaed1, 0x48 }, { "linux/kvm.h", "KVM_SET_BOOT_CPU_ID", _IOC_NONE, 0xae78, 0x00 }, { "linux/kvm.h", "KVM_SET_CLOCK", _IOC_WRITE, 0xae7b, 0x30 }, { "linux/kvm.h", "KVM_SET_DEVICE_ATTR", _IOC_WRITE, 0xaee1, 0x18 }, @@ -173,6 +177,7 @@ { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390/syscallent.h
Changed
@@ -20,7 +20,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -181,7 +181,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -363,7 +363,7 @@ 351 = { 3, TD, SEN(bpf), "bpf" }, 352 = { 3, 0, SEN(s390_pci_mmio_write), "s390_pci_mmio_write" }, 353 = { 3, 0, SEN(s390_pci_mmio_read), "s390_pci_mmio_read" }, -354 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +354 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 355 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 356 = { 3, 0, SEN(membarrier), "membarrier" }, 357 = { 5, TN, SEN(recvmmsg_time32), "recvmmsg" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390x/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390x/ioctls_arch0.h
Changed
@@ -17,6 +17,7 @@ { "asm/dasd.h", "BIODASDABORTIO", _IOC_NONE, 0x44f0, 0x00 }, { "asm/dasd.h", "BIODASDALLOWIO", _IOC_NONE, 0x44f1, 0x00 }, { "asm/dasd.h", "BIODASDCHECKFMT", _IOC_READ|_IOC_WRITE, 0x4402, 0x28 }, +{ "asm/dasd.h", "BIODASDCOPYPAIRSWAP", _IOC_WRITE, 0x4404, 0x68 }, { "asm/dasd.h", "BIODASDDISABLE", _IOC_NONE, 0x4400, 0x00 }, { "asm/dasd.h", "BIODASDENABLE", _IOC_NONE, 0x4401, 0x00 }, { "asm/dasd.h", "BIODASDFMT", _IOC_WRITE, 0x4401, 0x10 }, @@ -64,6 +65,7 @@ { "asm/tape390.h", "TAPE390_DISPLAY", _IOC_WRITE, 0x6401, 0x11 }, { "asm/tape390.h", "TAPE390_KEKL_QUERY", _IOC_READ, 0x6405, 0x86 }, { "asm/tape390.h", "TAPE390_KEKL_SET", _IOC_WRITE, 0x6404, 0x86 }, +{ "asm/uvdevice.h", "UVIO_IOCTL_ATT", _IOC_READ|_IOC_WRITE, 0x7501, 0x40 }, { "asm/vmcp.h", "VMCP_GETCODE", _IOC_READ, 0x1001, 0x04 }, { "asm/vmcp.h", "VMCP_GETSIZE", _IOC_READ, 0x1003, 0x04 }, { "asm/vmcp.h", "VMCP_SETBUF", _IOC_WRITE, 0x1002, 0x04 }, @@ -141,6 +143,7 @@ { "linux/kvm.h", "KVM_S390_MEM_OP", _IOC_WRITE, 0xaeb1, 0x40 }, { "linux/kvm.h", "KVM_S390_NORMAL_RESET", _IOC_NONE, 0xaec3, 0x00 }, { "linux/kvm.h", "KVM_S390_PV_COMMAND", _IOC_READ|_IOC_WRITE, 0xaec5, 0x20 }, +{ "linux/kvm.h", "KVM_S390_PV_CPU_COMMAND", _IOC_READ|_IOC_WRITE, 0xaed0, 0x20 }, { "linux/kvm.h", "KVM_S390_SET_CMMA_BITS", _IOC_WRITE, 0xaeb9, 0x20 }, { "linux/kvm.h", "KVM_S390_SET_INITIAL_PSW", _IOC_WRITE, 0xae96, 0x10 }, { "linux/kvm.h", "KVM_S390_SET_IRQ_STATE", _IOC_WRITE, 0xaeb5, 0x20 }, @@ -149,6 +152,7 @@ { "linux/kvm.h", "KVM_S390_UCAS_MAP", _IOC_WRITE, 0xae50, 0x18 }, { "linux/kvm.h", "KVM_S390_UCAS_UNMAP", _IOC_WRITE, 0xae51, 0x18 }, { "linux/kvm.h", "KVM_S390_VCPU_FAULT", _IOC_WRITE, 0xae52, 0x08 }, +{ "linux/kvm.h", "KVM_S390_ZPCI_OP", _IOC_WRITE, 0xaed1, 0x48 }, { "linux/kvm.h", "KVM_SET_BOOT_CPU_ID", _IOC_NONE, 0xae78, 0x00 }, { "linux/kvm.h", "KVM_SET_CLOCK", _IOC_WRITE, 0xae7b, 0x30 }, { "linux/kvm.h", "KVM_SET_DEVICE_ATTR", _IOC_WRITE, 0xaee1, 0x18 }, @@ -173,6 +177,7 @@ { "linux/kvm.h", "KVM_TPR_ACCESS_REPORTING", _IOC_READ|_IOC_WRITE, 0xae92, 0x28 }, { "linux/kvm.h", "KVM_TRANSLATE", _IOC_READ|_IOC_WRITE, 0xae85, 0x18 }, { "linux/kvm.h", "KVM_UNREGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae68, 0x10 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/s390x/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/s390x/syscallent.h
Changed
@@ -19,7 +19,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -170,7 +170,7 @@ 168 = { 3, TD, SEN(poll_time64), "poll" }, 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 ... 171 = { }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -347,7 +347,7 @@ 351 = { 3, TD, SEN(bpf), "bpf" }, 352 = { 3, 0, SEN(s390_pci_mmio_write), "s390_pci_mmio_write" }, 353 = { 3, 0, SEN(s390_pci_mmio_read), "s390_pci_mmio_read" }, -354 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +354 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 355 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 356 = { 3, 0, SEN(membarrier), "membarrier" }, 357 = { 5, TN, SEN(recvmmsg_time64), "recvmmsg" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sh/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sh/arch_defs_.h
Changed
@@ -8,3 +8,8 @@ #define HAVE_ARCH_GETRVAL2 1 #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 +#ifdef WORDS_BIGENDIAN +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_SH, 0 } +#else +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_SHEL, 0 } +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sh/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sh/syscallent.h
Changed
@@ -20,7 +20,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -181,7 +181,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -382,7 +382,7 @@ 373 = { 3, 0, SEN(getrandom), "getrandom" }, 374 = { 2, TD, SEN(memfd_create), "memfd_create" }, 375 = { 3, TD, SEN(bpf), "bpf" }, -376 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +376 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 377 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 378 = { 3, 0, SEN(membarrier), "membarrier" }, 379 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sh64/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sh64/arch_defs_.h
Changed
@@ -6,3 +6,8 @@ */ #define HAVE_ARCH_UID16_SYSCALLS 1 +#ifdef WORDS_BIGENDIAN +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_SH64, 0 } +#else +# define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_SHEL64, 0 } +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sh64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sh64/syscallent.h
Changed
@@ -18,7 +18,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 11 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 1, TCL, SEN(time), "time" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -179,7 +179,7 @@ 169 = { 3, 0, SEN(nfsservctl), "nfsservctl" }, 170 = { 3, TC, SEN(setresgid16), "setresgid" }, 171 = { 3, TC, SEN(getresgid16), "getresgid" }, -172 = { 5, TC, SEN(prctl), "prctl" }, +172 = { 5, CC|TC, SEN(prctl), "prctl" }, 173 = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" }, 174 = { 4, TS, SEN(rt_sigaction), "rt_sigaction" }, 175 = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" }, @@ -391,7 +391,7 @@ 384 = { 3, 0, SEN(getrandom), "getrandom" }, 385 = { 2, TD, SEN(memfd_create), "memfd_create" }, 386 = { 3, TD, SEN(bpf), "bpf" }, -387 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +387 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 388 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 389 = { 3, 0, SEN(membarrier), "membarrier" }, 390 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc/arch_defs_.h
Changed
@@ -11,3 +11,4 @@ #define HAVE_ARCH_SA_RESTORER 1 #define HAVE_ARCH_DEDICATED_ERR_REG 1 #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_SPARC, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc/arch_prstatus_regset.c
Changed
@@ -18,27 +18,27 @@ } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { tprint_struct_begin(); PRINT_FIELD_ARRAY_UPTO(regs, g, fetch_size / 4, tcp, - print_xint32_array_member); + print_xint_array_member); if (fetch_size > offsetof(struct_prstatus_regset, o)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, o); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, o, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, l)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, l); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, l, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, i)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, i); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, i, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, psr)) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc/arch_pt_regs.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc/arch_pt_regs.c
Changed
@@ -32,7 +32,7 @@ PRINT_FIELD_X(regs, y); tprint_struct_next(); - PRINT_FIELD_ARRAY(regs, u_regs, tcp, print_xint32_array_member); + PRINT_FIELD_ARRAY(regs, u_regs, tcp, print_xint_array_member); tprint_struct_end(); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc/syscallent.h
Changed
@@ -16,7 +16,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 2, TF|TP|TSD|SE|SI, SEN(execv), "execv" }, + 11 = { 2, CC|TF|TP|TSD|SE|SI, SEN(execv), "execv" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 3, TF, SEN(chown16), "chown" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -57,14 +57,14 @@ 49 = { 0, TC|PU|NF, SEN(geteuid16), "geteuid" }, 50 = { 0, TC|PU|NF, SEN(getegid16), "getegid" }, 51 = { 1, TF, SEN(acct), "acct" }, - 52 = { }, +/* 52 - memory_ordering on sparc64 */ 53 = { 0, TC|PU|NF, SEN(getgid), "getgid32" }, 54 = { 3, TD, SEN(ioctl), "ioctl" }, 55 = { 4, 0, SEN(reboot), "reboot" }, 56 = { 6, TD|TM|SI, SEN(mmap_4koff), "mmap2" }, 57 = { 2, TF, SEN(symlink), "symlink" }, 58 = { 3, TF, SEN(readlink), "readlink" }, - 59 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 59 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 60 = { 1, NF, SEN(umask), "umask" }, 61 = { 1, TF, SEN(chroot), "chroot" }, 62 = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, @@ -152,7 +152,7 @@ 144 = { 2, 0, SEN(getrlimit), "getrlimit" }, 145 = { 2, 0, SEN(setrlimit), "setrlimit" }, 146 = { 2, TF, SEN(pivotroot), "pivot_root" }, -147 = { 5, TC, SEN(prctl), "prctl" }, +147 = { 5, CC|TC, SEN(prctl), "prctl" }, 148 = { 5, 0, SEN(printargs), "pciconfig_read" }, 149 = { 5, 0, SEN(printargs), "pciconfig_write" }, 150 = { 3, TN, SEN(getsockname), "getsockname" }, @@ -169,7 +169,7 @@ 161 = { 3, 0, SEN(sched_getaffinity), "sched_get_affinity" }, 162 = { 2, 0, SEN(printargs), "getdomainname" }, 163 = { 2, 0, SEN(setdomainname), "setdomainname" }, -164 = { }, +/* 164 - utrap_install on sparc64 */ 165 = { 4, TF, SEN(quotactl), "quotactl" }, 166 = { 1, 0, SEN(set_tid_address), "set_tid_address" }, 167 = { 5, TF, SEN(mount), "mount" }, @@ -355,7 +355,7 @@ 347 = { 3, 0, SEN(getrandom), "getrandom" }, 348 = { 2, TD, SEN(memfd_create), "memfd_create" }, 349 = { 3, TD, SEN(bpf), "bpf" }, -350 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +350 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 351 = { 3, 0, SEN(membarrier), "membarrier" }, 352 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 353 = { 3, TN, SEN(bind), "bind" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc64/arch_prstatus_regset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc64/arch_prstatus_regset.c
Changed
@@ -22,27 +22,27 @@ } else if (!umoven_or_printaddr(tcp, addr, fetch_size, ®s)) { tprint_struct_begin(); PRINT_FIELD_ARRAY_UPTO(regs, g, fetch_size / 8, tcp, - print_xint64_array_member); + print_xint_array_member); if (fetch_size > offsetof(struct_prstatus_regset, o)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, o); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, o, len / 8, tcp, - print_xint64_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, l)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, l); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, l, len / 8, tcp, - print_xint64_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, i)) { const size_t len = fetch_size - offsetof(struct_prstatus_regset, i); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, i, len / 8, tcp, - print_xint64_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_prstatus_regset, tstate)) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc64/arch_pt_regs64.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc64/arch_pt_regs64.c
Changed
@@ -19,7 +19,7 @@ return; tprint_struct_begin(); - PRINT_FIELD_ARRAY(regs, u_regs, tcp, print_xint64_array_member); + PRINT_FIELD_ARRAY(regs, u_regs, tcp, print_xint_array_member); tprint_struct_next(); PRINT_FIELD_X(regs, tstate);
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/sparc64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/sparc64/syscallent.h
Changed
@@ -16,7 +16,7 @@ 8 = { 2, TD|TF, SEN(creat), "creat" }, 9 = { 2, TF, SEN(link), "link" }, 10 = { 1, TF, SEN(unlink), "unlink" }, - 11 = { 2, TF|TP|TSD|SE|SI, SEN(execv), "execv" }, + 11 = { 2, CC|TF|TP|TSD|SE|SI, SEN(execv), "execv" }, 12 = { 1, TF, SEN(chdir), "chdir" }, 13 = { 3, TF, SEN(chown), "chown" }, 14 = { 3, TF, SEN(mknod), "mknod" }, @@ -36,10 +36,11 @@ 28 = { 2, TS, SEN(sigaltstack), "sigaltstack" }, 29 = { 0, TS, SEN(pause), "pause" }, 30 = { 2, TF, SEN(utime), "utime" }, - 31 ... 32 = { }, +/* 31 - lchown32 on sparc32 */ +/* 32 - fchown32 on sparc32 */ 33 = { 2, TF, SEN(access), "access" }, 34 = { 1, 0, SEN(nice), "nice" }, - 35 = { }, +/* 35 - chown32 on sparc32 */ 36 = { 0, 0, SEN(sync), "sync" }, 37 = { 2, TS|TP, SEN(kill), "kill" }, 38 = { 2, TF|TST|TSTA, SEN(stat), "stat" }, @@ -48,7 +49,7 @@ 41 = { 1, TD, SEN(dup), "dup" }, 42 = { 0, TD, SEN(pipe), "pipe" }, 43 = { 1, 0, SEN(times), "times" }, - 44 = { }, +/* 44 - getuid32 on sparc32 */ 45 = { 2, TF, SEN(umount2), "umount2" }, 46 = { 1, TC, SEN(setgid), "setgid" }, 47 = { 0, TC|PU|NF, SEN(getgid), "getgid" }, @@ -57,13 +58,13 @@ 50 = { 0, TC|PU|NF, SEN(getegid), "getegid" }, 51 = { 1, TF, SEN(acct), "acct" }, 52 = { 2, 0, SEN(printargs), "memory_ordering" }, - 53 = { }, +/* 53 - getgid32 on sparc32 */ 54 = { 3, TD, SEN(ioctl), "ioctl" }, 55 = { 4, 0, SEN(reboot), "reboot" }, - 56 = { }, +/* 56 - mmap2 on sparc32 */ 57 = { 2, TF, SEN(symlink), "symlink" }, 58 = { 3, TF, SEN(readlink), "readlink" }, - 59 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 59 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 60 = { 1, NF, SEN(umask), "umask" }, 61 = { 1, TF, SEN(chroot), "chroot" }, 62 = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, @@ -73,31 +74,32 @@ 66 = { 0, TP, SEN(vfork), "vfork" }, 67 = { 4, TD, SEN(pread), "pread64" }, 68 = { 4, TD, SEN(pwrite), "pwrite64" }, - 69 ... 70 = { }, +/* 69 - geteuid32 on sparc32 */ +/* 70 - getegid32 on sparc32 */ 71 = { 6, TD|TM|SI, SEN(mmap), "mmap" }, - 72 = { }, +/* 72 - setreuid32 on sparc32 */ 73 = { 2, TM|SI, SEN(munmap), "munmap" }, 74 = { 3, TM|SI, SEN(mprotect), "mprotect" }, 75 = { 3, TM, SEN(madvise), "madvise" }, 76 = { 0, 0, SEN(vhangup), "vhangup" }, - 77 = { }, +/* 77 - truncate64 on sparc32 */ 78 = { 3, TM, SEN(mincore), "mincore" }, 79 = { 2, TC, SEN(getgroups), "getgroups" }, 80 = { 2, TC, SEN(setgroups), "setgroups" }, 81 = { 0, PU|NF, SEN(getpgrp), "getpgrp" }, - 82 = { }, +/* 82 - setgroups32 on sparc32 */ 83 = { 3, 0, SEN(setitimer), "setitimer" }, - 84 = { }, +/* 84 - ftruncate64 on sparc32 */ 85 = { 2, TF, SEN(swapon), "swapon" }, 86 = { 2, 0, SEN(getitimer), "getitimer" }, - 87 = { }, +/* 87 - setuid32 on sparc32 */ 88 = { 2, 0, SEN(sethostname), "sethostname" }, - 89 = { }, +/* 89 - setgid32 on sparc32 */ 90 = { 2, TD, SEN(dup2), "dup2" }, - 91 = { }, +/* 91 - setfsuid32 on sparc32 */ 92 = { 3, TD, SEN(fcntl), "fcntl" }, 93 = { 5, TD, SEN(select), "select" }, - 94 = { }, +/* 94 - setfsgid32 on sparc32 */ 95 = { 1, TD, SEN(fsync), "fsync" }, 96 = { 3, 0, SEN(setpriority), "setpriority" }, 97 = { 3, TN, SEN(socket), "socket" }, @@ -115,10 +117,10 @@ 109 = { 3, TC, SEN(getresuid), "getresuid" }, 110 = { 3, TC, SEN(setresgid), "setresgid" }, 111 = { 3, TC, SEN(getresgid), "getresgid" }, -112 = { }, +/* 112 - setregid32 on sparc32 */ 113 = { 3, TN, SEN(recvmsg), "recvmsg" }, 114 = { 3, TN, SEN(sendmsg), "sendmsg" }, -115 = { }, +/* 115 - getgroups32 on sparc32 */ 116 = { 2, TCL, SEN(gettimeofday), "gettimeofday" }, 117 = { 2, 0, SEN(getrusage), "getrusage" }, 118 = { 5, TN, SEN(getsockopt), "getsockopt" }, @@ -150,7 +152,7 @@ 144 = { 2, 0, SEN(getrlimit), "getrlimit" }, 145 = { 2, 0, SEN(setrlimit), "setrlimit" }, 146 = { 2, TF, SEN(pivotroot), "pivot_root" }, -147 = { 5, TC, SEN(prctl), "prctl" }, +147 = { 5, CC|TC, SEN(prctl), "prctl" }, 148 = { 5, 0, SEN(printargs), "pciconfig_read" }, 149 = { 5, 0, SEN(printargs), "pciconfig_write" }, 150 = { 3, TN, SEN(getsockname), "getsockname" }, @@ -158,7 +160,7 @@ 152 = { 3, TD|TF, SEN(inotify_add_watch), "inotify_add_watch" }, 153 = { 3, TD, SEN(poll_time64), "poll" }, 154 = { 3, TD, SEN(getdents64), "getdents64" }, -155 = { }, +/* 155 - fcntl64 on sparc32 */ 156 = { 2, TD, SEN(inotify_rm_watch), "inotify_rm_watch" }, 157 = { 2, TF|TSF|TSFA, SEN(statfs), "statfs" }, 158 = { 2, TD|TFSF|TSFA, SEN(fstatfs), "fstatfs" }, @@ -234,7 +236,7 @@ 228 = { 1, TC|NF, SEN(setfsuid), "setfsuid" }, 229 = { 1, TC|NF, SEN(setfsgid), "setfsgid" }, 230 = { 5, TD, SEN(select), "_newselect" }, -231 = { }, +/* 231 - time on sparc32 */ 232 = { 6, TD, SEN(splice), "splice" }, 233 = { 1, 0, SEN(stime), "stime" }, 234 = { 3, TF|TSF|TSFA, SEN(statfs64), "statfs64" }, @@ -353,7 +355,7 @@ 347 = { 3, 0, SEN(getrandom), "getrandom" }, 348 = { 2, TD, SEN(memfd_create), "memfd_create" }, 349 = { 3, TD, SEN(bpf), "bpf" }, -350 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +350 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 351 = { 3, 0, SEN(membarrier), "membarrier" }, 352 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 353 = { 3, TN, SEN(bind), "bind" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/tile/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/tile/arch_defs_.h
Changed
@@ -7,7 +7,11 @@ #define SUPPORTED_PERSONALITIES 2 #define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_TILEGX, 0 } -#define PERSONALITY1_AUDIT_ARCH { AUDIT_ARCH_TILEGX32, 0 } +#ifdef __tilepro__ +# define PERSONALITY1_AUDIT_ARCH { AUDIT_ARCH_TILEPRO, 0 } +#else +# define PERSONALITY1_AUDIT_ARCH { AUDIT_ARCH_TILEGX32, 0 } +#endif #define CAN_ARCH_BE_COMPAT_ON_64BIT_KERNEL 1 #ifdef __tilepro__
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x32/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x32/arch_defs_.h
Changed
@@ -1,15 +1,18 @@ /* - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ +#define ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK 1 #define ARCH_SIZEOF_STRUCT_MSQID64_DS 120 #define HAVE_ARCH_OLD_MMAP 1 #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define HAVE_ARCH_OLD_TIME64_SYSCALLS 1 #define SUPPORTED_PERSONALITIES 2 +#define PERSONALITY_DESIGNATORS { "x32", "32" } +#define PERSONALITY_NAMES { "x32", "32 bit" } #define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_X86_64, __X32_SYSCALL_BIT } #define PERSONALITY1_AUDIT_ARCH { AUDIT_ARCH_I386, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x32/ioctls_inc0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x32/ioctls_inc0.h
Changed
@@ -334,7 +334,8 @@ { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_MADVISE", _IOC_READ|_IOC_WRITE, 0x6448, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_NEW", _IOC_READ|_IOC_WRITE, 0x6442, 0x10 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_GEM_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6446, 0x48 }, -{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6440, 0x18 }, +{ "drm/msm_drm.h", "DRM_IOCTL_MSM_SET_PARAM", _IOC_WRITE, 0x6441, 0x18 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_CLOSE", _IOC_WRITE, 0x644b, 0x04 }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_NEW", _IOC_READ|_IOC_WRITE, 0x644a, 0x0c }, { "drm/msm_drm.h", "DRM_IOCTL_MSM_SUBMITQUEUE_QUERY", _IOC_WRITE, 0x644c, 0x18 }, @@ -437,6 +438,11 @@ { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_ALLOC", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_FREE", _IOC_WRITE, 0x6445, 0x10 }, { "drm/sis_drm.h", "DRM_IOCTL_SIS_FB_INIT", _IOC_WRITE, 0x6456, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_CLOSE", _IOC_READ|_IOC_WRITE, 0x6451, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_MAP", _IOC_READ|_IOC_WRITE, 0x6452, 0x10 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_OPEN", _IOC_READ|_IOC_WRITE, 0x6450, 0x18 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6454, 0x40 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CHANNEL_UNMAP", _IOC_READ|_IOC_WRITE, 0x6453, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_CLOSE_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6446, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_CREATE", _IOC_READ|_IOC_WRITE, 0x6440, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GEM_GET_FLAGS", _IOC_READ|_IOC_WRITE, 0x644d, 0x08 }, @@ -448,6 +454,9 @@ { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_GET_SYNCPT_BASE", _IOC_READ|_IOC_WRITE, 0x6449, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_OPEN_CHANNEL", _IOC_READ|_IOC_WRITE, 0x6445, 0x10 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SUBMIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x58 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_ALLOCATE", _IOC_READ|_IOC_WRITE, 0x6460, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_FREE", _IOC_READ|_IOC_WRITE, 0x6461, 0x08 }, +{ "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPOINT_WAIT", _IOC_READ|_IOC_WRITE, 0x6462, 0x18 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_INCR", _IOC_READ|_IOC_WRITE, 0x6443, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_READ", _IOC_READ|_IOC_WRITE, 0x6442, 0x08 }, { "drm/tegra_drm.h", "DRM_IOCTL_TEGRA_SYNCPT_WAIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, @@ -455,9 +464,12 @@ { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_BO_OFFSET", _IOC_READ|_IOC_WRITE, 0x6445, 0x08 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_GET_PARAM", _IOC_READ|_IOC_WRITE, 0x6444, 0x10 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_MMAP_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x38 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x48 }, -{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x44 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_CREATE", _IOC_READ|_IOC_WRITE, 0x6448, 0x28 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_DESTROY", _IOC_READ|_IOC_WRITE, 0x6449, 0x04 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_PERFMON_GET_VALUES", _IOC_READ|_IOC_WRITE, 0x644a, 0x10 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CL", _IOC_READ|_IOC_WRITE, 0x6440, 0x48 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_CSD", _IOC_WRITE, 0x6447, 0x58 }, +{ "drm/v3d_drm.h", "DRM_IOCTL_V3D_SUBMIT_TFU", _IOC_WRITE, 0x6446, 0x50 }, { "drm/v3d_drm.h", "DRM_IOCTL_V3D_WAIT_BO", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_BO", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/vc4_drm.h", "DRM_IOCTL_VC4_CREATE_SHADER_BO", _IOC_READ|_IOC_WRITE, 0x6445, 0x18 }, @@ -490,7 +502,8 @@ { "drm/via_drm.h", "DRM_IOCTL_VIA_MAP_INIT", _IOC_READ|_IOC_WRITE, 0x6444, 0x14 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_PCICMD", _IOC_WRITE, 0x644a, 0x08 }, { "drm/via_drm.h", "DRM_IOCTL_VIA_WAIT_IRQ", _IOC_READ|_IOC_WRITE, 0x644d, 0x10 }, -{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x20 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_CONTEXT_INIT", _IOC_READ|_IOC_WRITE, 0x644b, 0x10 }, +{ "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_EXECBUFFER", _IOC_READ|_IOC_WRITE, 0x6442, 0x28 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GETPARAM", _IOC_READ|_IOC_WRITE, 0x6443, 0x10 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_GET_CAPS", _IOC_READ|_IOC_WRITE, 0x6449, 0x18 }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_MAP", _IOC_READ|_IOC_WRITE, 0x6441, 0x10 }, @@ -500,13 +513,17 @@ { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST", _IOC_READ|_IOC_WRITE, 0x6446, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST", _IOC_READ|_IOC_WRITE, 0x6447, 0x2c }, { "drm/virtgpu_drm.h", "DRM_IOCTL_VIRTGPU_WAIT", _IOC_READ|_IOC_WRITE, 0x6448, 0x08 }, +{ "linux/acrn.h", "ACRN_IOCTL_ASSIGN_MMIODEV", _IOC_WRITE, 0xa257, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_ASSIGN_PCIDEV", _IOC_WRITE, 0xa255, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_ATTACH_IOREQ_CLIENT", _IOC_NONE, 0xa233, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CLEAR_VM_IOREQ", _IOC_NONE, 0xa235, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_IOREQ_CLIENT", _IOC_NONE, 0xa232, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_CREATE_VDEV", _IOC_WRITE, 0xa259, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_CREATE_VM", _IOC_READ|_IOC_WRITE, 0xa210, 0x30 }, +{ "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_MMIODEV", _IOC_WRITE, 0xa258, 0x68 }, { "linux/acrn.h", "ACRN_IOCTL_DEASSIGN_PCIDEV", _IOC_WRITE, 0xa256, 0x24 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_IOREQ_CLIENT", _IOC_NONE, 0xa234, 0x00 }, +{ "linux/acrn.h", "ACRN_IOCTL_DESTROY_VDEV", _IOC_WRITE, 0xa25a, 0xc0 }, { "linux/acrn.h", "ACRN_IOCTL_DESTROY_VM", _IOC_NONE, 0xa211, 0x00 }, { "linux/acrn.h", "ACRN_IOCTL_INJECT_MSI", _IOC_WRITE, 0xa223, 0x10 }, { "linux/acrn.h", "ACRN_IOCTL_IOEVENTFD", _IOC_WRITE, 0xa270, 0x20 }, @@ -556,6 +573,7 @@ { "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 }, { "linux/android/binder.h", "BINDER_ENABLE_ONEWAY_SPAM_DETECTION", _IOC_WRITE, 0x6210, 0x04 }, { "linux/android/binder.h", "BINDER_FREEZE", _IOC_WRITE, 0x620e, 0x0c }, +{ "linux/android/binder.h", "BINDER_GET_EXTENDED_ERROR", _IOC_READ|_IOC_WRITE, 0x6211, 0x0c }, { "linux/android/binder.h", "BINDER_GET_FROZEN_INFO", _IOC_READ|_IOC_WRITE, 0x620f, 0x0c }, { "linux/android/binder.h", "BINDER_GET_NODE_DEBUG_INFO", _IOC_READ|_IOC_WRITE, 0x620b, 0x18 }, { "linux/android/binder.h", "BINDER_GET_NODE_INFO_FOR_REF", _IOC_READ|_IOC_WRITE, 0x620c, 0x18 }, @@ -693,6 +711,8 @@ { "linux/btrfs.h", "BTRFS_IOC_DEVICES_READY", _IOC_READ, 0x9427, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_INFO", _IOC_READ|_IOC_WRITE, 0x941e, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_DEV_REPLACE", _IOC_READ|_IOC_WRITE, 0x9435, 0xa28 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_READ", _IOC_READ, 0x9440, 0x78 }, +{ "linux/btrfs.h", "BTRFS_IOC_ENCODED_WRITE", _IOC_WRITE, 0x9440, 0x78 }, { "linux/btrfs.h", "BTRFS_IOC_FILE_EXTENT_SAME", _IOC_READ|_IOC_WRITE, 0x9436, 0x18 }, { "linux/btrfs.h", "BTRFS_IOC_FORGET_DEV", _IOC_WRITE, 0x9405, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_FS_INFO", _IOC_READ, 0x941f, 0x400 }, @@ -739,6 +759,7 @@ { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH", _IOC_READ|_IOC_WRITE, 0x9411, 0x1000 }, { "linux/btrfs.h", "BTRFS_IOC_TREE_SEARCH_V2", _IOC_READ|_IOC_WRITE, 0x9411, 0x70 }, { "linux/btrfs.h", "BTRFS_IOC_WAIT_SYNC", _IOC_WRITE, 0x9416, 0x08 }, +{ "linux/cachefiles.h", "CACHEFILES_IOC_READ_COMPLETE", _IOC_WRITE, 0x9801, 0x04 }, { "linux/capi.h", "CAPI_CLR_FLAGS", _IOC_READ, 0x4325, 0x04 }, { "linux/capi.h", "CAPI_GET_ERRCODE", _IOC_READ, 0x4321, 0x02 }, { "linux/capi.h", "CAPI_GET_FLAGS", _IOC_READ, 0x4323, 0x04 }, @@ -811,6 +832,7 @@ { "linux/cdrom.h", "CDROM_SELECT_SPEED", 0, 0x5322, 0 }, { "linux/cdrom.h", "CDROM_SEND_PACKET", 0, 0x5393, 0 }, { "linux/cdrom.h", "CDROM_SET_OPTIONS", 0, 0x5320, 0 }, +{ "linux/cdrom.h", "CDROM_TIMED_MEDIA_CHANGE", 0, 0x5396, 0 }, { "linux/cdrom.h", "DVD_AUTH", 0, 0x5392, 0 }, { "linux/cdrom.h", "DVD_READ_STRUCT", 0, 0x5390, 0 }, { "linux/cdrom.h", "DVD_WRITE_STRUCT", 0, 0x5391, 0 }, @@ -843,6 +865,26 @@ { "linux/cm4000_cs.h", "CM_IOCSRDR", _IOC_NONE, 0x6303, 0x00 }, { "linux/cm4000_cs.h", "CM_IOSDBGLVL", _IOC_WRITE, 0x63fa, 0x04 }, { "linux/coda.h", "CIOC_KERNEL_VERSION", _IOC_READ|_IOC_WRITE, 0x630a, 0x04 }, +{ "linux/comedi.h", "COMEDI_BUFCONFIG", _IOC_READ, 0x640d, 0x20 }, +{ "linux/comedi.h", "COMEDI_BUFINFO", _IOC_READ|_IOC_WRITE, 0x640e, 0x2c }, +{ "linux/comedi.h", "COMEDI_CANCEL", _IOC_NONE, 0x6407, 0x00 }, +{ "linux/comedi.h", "COMEDI_CHANINFO", _IOC_READ, 0x6403, 0x20 }, +{ "linux/comedi.h", "COMEDI_CMD", _IOC_READ, 0x6409, 0x40 }, +{ "linux/comedi.h", "COMEDI_CMDTEST", _IOC_READ, 0x640a, 0x40 }, +{ "linux/comedi.h", "COMEDI_DEVCONFIG", _IOC_WRITE, 0x6400, 0x94 }, +{ "linux/comedi.h", "COMEDI_DEVINFO", _IOC_READ, 0x6401, 0xb0 }, +{ "linux/comedi.h", "COMEDI_INSN", _IOC_READ, 0x640c, 0x20 }, +{ "linux/comedi.h", "COMEDI_INSNLIST", _IOC_READ, 0x640b, 0x08 }, +{ "linux/comedi.h", "COMEDI_LOCK", _IOC_NONE, 0x6405, 0x00 }, +{ "linux/comedi.h", "COMEDI_POLL", _IOC_NONE, 0x640f, 0x00 }, +{ "linux/comedi.h", "COMEDI_RANGEINFO", _IOC_READ, 0x6408, 0x08 }, +{ "linux/comedi.h", "COMEDI_SETRSUBD", _IOC_NONE, 0x6410, 0x00 }, +{ "linux/comedi.h", "COMEDI_SETWSUBD", _IOC_NONE, 0x6411, 0x00 }, +{ "linux/comedi.h", "COMEDI_SUBDINFO", _IOC_READ, 0x6402, 0x48 }, +{ "linux/comedi.h", "COMEDI_UNLOCK", _IOC_NONE, 0x6406, 0x00 }, +{ "linux/counter.h", "COUNTER_ADD_WATCH_IOCTL", _IOC_WRITE, 0x3e00, 0x06 }, +{ "linux/counter.h", "COUNTER_DISABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e02, 0x00 }, +{ "linux/counter.h", "COUNTER_ENABLE_EVENTS_IOCTL", _IOC_NONE, 0x3e01, 0x00 }, { "linux/cxl_mem.h", "CXL_MEM_QUERY_COMMANDS", _IOC_READ, 0xce01, 0x08 }, { "linux/cxl_mem.h", "CXL_MEM_SEND_COMMAND", _IOC_READ|_IOC_WRITE, 0xce02, 0x30 }, { "linux/dm-ioctl.h", "DM_DEV_ARM_POLL", _IOC_READ|_IOC_WRITE, 0xfd10, 0x138 }, @@ -863,12 +905,12 @@ { "linux/dm-ioctl.h", "DM_TABLE_STATUS", _IOC_READ|_IOC_WRITE, 0xfd0c, 0x138 }, { "linux/dm-ioctl.h", "DM_TARGET_MSG", _IOC_READ|_IOC_WRITE, 0xfd0e, 0x138 }, { "linux/dm-ioctl.h", "DM_VERSION", _IOC_READ|_IOC_WRITE, 0xfd00, 0x138 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_EXPORT_SYNC_FILE", _IOC_READ|_IOC_WRITE, 0x6202, 0x08 }, +{ "linux/dma-buf.h", "DMA_BUF_IOCTL_IMPORT_SYNC_FILE", _IOC_WRITE, 0x6203, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_IOCTL_SYNC", _IOC_WRITE, 0x6200, 0x08 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_A", _IOC_WRITE, 0x6201, 0x04 }, { "linux/dma-buf.h", "DMA_BUF_SET_NAME_B", _IOC_WRITE, 0x6201, 0x08 }, { "linux/dma-heap.h", "DMA_HEAP_IOCTL_ALLOC", _IOC_READ|_IOC_WRITE, 0x4800, 0x18 }, -{ "linux/dn.h", "OSIOCGNETADDR", _IOC_READ, 0x89e1, 0x04 }, -{ "linux/dn.h", "OSIOCSNETADDR", _IOC_WRITE, 0x89e0, 0x04 }, { "linux/dvb/audio.h", "AUDIO_BILINGUAL_CHANNEL_SELECT", _IOC_NONE, 0x6f14, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CHANNEL_SELECT", _IOC_NONE, 0x6f09, 0x00 }, { "linux/dvb/audio.h", "AUDIO_CLEAR_BUFFER", _IOC_NONE, 0x6f0c, 0x00 }, @@ -952,7 +994,7 @@ { "linux/dvb/video.h", "VIDEO_STILLPICTURE", _IOC_WRITE, 0x6f1e, 0x08 }, { "linux/dvb/video.h", "VIDEO_STOP", _IOC_NONE, 0x6f15, 0x00 }, { "linux/dvb/video.h", "VIDEO_TRY_COMMAND", _IOC_READ|_IOC_WRITE, 0x6f3c, 0x48 }, -{ "linux/f2fs.h", "F2FS_IOC_ABORT_VOLATILE_WRITE", _IOC_NONE, 0xf505, 0x00 }, +{ "linux/f2fs.h", "F2FS_IOC_ABORT_ATOMIC_WRITE", _IOC_NONE, 0xf505, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMMIT_ATOMIC_WRITE", _IOC_NONE, 0xf502, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_COMPRESS_FILE", _IOC_NONE, 0xf518, 0x00 }, { "linux/f2fs.h", "F2FS_IOC_DECOMPRESS_FILE", _IOC_NONE, 0xf517, 0x00 }, @@ -1069,6 +1111,7 @@ { "linux/fs.h", "BLKFLSBUF", _IOC_NONE, 0x1261, 0x00 }, { "linux/fs.h", "BLKFRAGET", _IOC_NONE, 0x1265, 0x00 }, { "linux/fs.h", "BLKFRASET", _IOC_NONE, 0x1264, 0x00 }, +{ "linux/fs.h", "BLKGETDISKSEQ", _IOC_READ, 0x1280, 0x08 }, { "linux/fs.h", "BLKGETSIZE", _IOC_NONE, 0x1260, 0x00 }, { "linux/fs.h", "BLKGETSIZE64", _IOC_READ, 0x1272, 0x04 }, { "linux/fs.h", "BLKIOMIN", _IOC_NONE, 0x1278, 0x00 }, @@ -1115,6 +1158,7 @@ { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY", _IOC_READ|_IOC_WRITE, 0x6618, 0x40 }, { "linux/fscrypt.h", "FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS", _IOC_READ|_IOC_WRITE, 0x6619, 0x40 }, { "linux/fscrypt.h", "FS_IOC_SET_ENCRYPTION_POLICY", _IOC_READ, 0x6613, 0x0c }, +{ "linux/fsi.h", "FSI_SBEFIFO_READ_TIMEOUT_SECONDS", _IOC_WRITE, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_CHECK", _IOC_READ, 0x7300, 0x04 }, { "linux/fsi.h", "FSI_SCOM_READ", _IOC_READ|_IOC_WRITE, 0x7301, 0x20 }, { "linux/fsi.h", "FSI_SCOM_RESET", _IOC_WRITE, 0x7303, 0x04 }, @@ -1415,12 +1459,14 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_ACQUIRE_VM", _IOC_WRITE, 0x4b15, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_MEMORY_OF_GPU", _IOC_READ|_IOC_WRITE, 0x4b16, 0x28 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_ALLOC_QUEUE_GWS", _IOC_READ|_IOC_WRITE, 0x4b1e, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_AVAILABLE_MEMORY", _IOC_READ|_IOC_WRITE, 0x4b23, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_EVENT", _IOC_READ|_IOC_WRITE, 0x4b08, 0x20 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_CREATE_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b02, 0x58 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH", _IOC_WRITE, 0x4b0f, 0x10 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER", _IOC_WRITE, 0x4b0d, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER", _IOC_WRITE, 0x4b0e, 0x08 }, -{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL", _IOC_WRITE, 0x4b10, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_CRIU_OP", _IOC_READ|_IOC_WRITE, 0x4b22, 0x38 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_ADDRESS_WATCH_DEPRECATED", _IOC_WRITE, 0x4b0f, 0x10 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_REGISTER_DEPRECATED", _IOC_WRITE, 0x4b0d, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_UNREGISTER_DEPRECATED", _IOC_WRITE, 0x4b0e, 0x08 }, +{ "linux/kfd_ioctl.h", "AMDKFD_IOC_DBG_WAVE_CONTROL_DEPRECATED", _IOC_WRITE, 0x4b10, 0x10 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_EVENT", _IOC_WRITE, 0x4b09, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_DESTROY_QUEUE", _IOC_READ|_IOC_WRITE, 0x4b03, 0x08 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_FREE_MEMORY_OF_GPU", _IOC_WRITE, 0x4b17, 0x08 }, @@ -1445,15 +1491,6 @@ { "linux/kfd_ioctl.h", "AMDKFD_IOC_UNMAP_MEMORY_FROM_GPU", _IOC_READ|_IOC_WRITE, 0x4b19, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 }, { "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 }, -{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 }, -{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 }, -{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 }, -{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c }, -{ "linux/lightnvm.h", "NVM_DEV_REMOVE", _IOC_WRITE, 0x4c23, 0x24 }, -{ "linux/lightnvm.h", "NVM_GET_DEVICES", _IOC_READ, 0x4c21, 0x1000 }, -{ "linux/lightnvm.h", "NVM_INFO", _IOC_READ|_IOC_WRITE, 0x4c20, 0x1000 }, { "linux/lirc.h", "LIRC_GET_FEATURES", _IOC_READ, 0x6900, 0x04 }, { "linux/lirc.h", "LIRC_GET_LENGTH", _IOC_READ, 0x690f, 0x04 }, { "linux/lirc.h", "LIRC_GET_MAX_TIMEOUT", _IOC_READ, 0x6909, 0x04 }, @@ -1473,6 +1510,7 @@ { "linux/lirc.h", "LIRC_SET_SEND_MODE", _IOC_WRITE, 0x6911, 0x04 }, { "linux/lirc.h", "LIRC_SET_TRANSMITTER_MASK", _IOC_WRITE, 0x6917, 0x04 }, { "linux/lirc.h", "LIRC_SET_WIDEBAND_RECEIVER", _IOC_WRITE, 0x6923, 0x04 }, +{ "linux/loadpin.h", "LOADPIN_IOC_SET_TRUSTED_VERITY_DIGESTS", _IOC_WRITE, 0x4c00, 0x04 }, { "linux/loop.h", "LOOP_CHANGE_FD", 0, 0x4C06, 0 }, { "linux/loop.h", "LOOP_CLR_FD", 0, 0x4C01, 0 }, { "linux/loop.h", "LOOP_CONFIGURE", 0, 0x4C0A, 0 }, @@ -1497,6 +1535,7 @@ { "linux/mISDNif.h", "IMGETVERSION", _IOC_READ, 0x4942, 0x04 }, { "linux/mISDNif.h", "IMHOLD_L1", _IOC_READ, 0x4948, 0x04 }, { "linux/mISDNif.h", "IMSETDEVNAME", _IOC_READ, 0x4947, 0x18 }, +{ "linux/map_benchmark.h", "DMA_MAP_BENCHMARK", _IOC_READ|_IOC_WRITE, 0x6401, 0x40 }, { "linux/matroxfb.h", "MATROXFB_GET_ALL_OUTPUTS", _IOC_READ, 0x6efb, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_AVAILABLE_OUTPUTS", _IOC_READ, 0x6ef9, 0x04 }, { "linux/matroxfb.h", "MATROXFB_GET_OUTPUT_CONNECTION", _IOC_READ, 0x6ef8, 0x04 }, @@ -1586,11 +1625,16 @@ { "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_ID", _IOC_NONE, 0x4e40, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD", _IOC_READ|_IOC_WRITE, 0x4e48, 0x50 }, +{ "linux/nvme_ioctl.h", "NVME_IOCTL_IO64_CMD_VEC", _IOC_READ|_IOC_WRITE, 0x4e49, 0x50 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_IO_CMD", _IOC_READ|_IOC_WRITE, 0x4e43, 0x48 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESCAN", _IOC_NONE, 0x4e46, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_RESET", _IOC_NONE, 0x4e44, 0x00 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBMIT_IO", _IOC_WRITE, 0x4e42, 0x30 }, { "linux/nvme_ioctl.h", "NVME_IOCTL_SUBSYS_RESET", _IOC_NONE, 0x4e45, 0x00 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN", _IOC_READ|_IOC_WRITE, 0x4e82, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_ADMIN_VEC", _IOC_READ|_IOC_WRITE, 0x4e83, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO", _IOC_READ|_IOC_WRITE, 0x4e80, 0x48 }, +{ "linux/nvme_ioctl.h", "NVME_URING_CMD_IO_VEC", _IOC_READ|_IOC_WRITE, 0x4e81, 0x48 }, { "linux/nvram.h", "NVRAM_INIT", _IOC_NONE, 0x7040, 0x00 }, { "linux/nvram.h", "NVRAM_SETCKS", _IOC_NONE, 0x7041, 0x00 }, { "linux/omap3isp.h", "VIDIOC_OMAP3ISP_AEWB_CFG", _IOC_READ|_IOC_WRITE, 0x56c3, 0x20 }, @@ -1646,6 +1690,14 @@ { "linux/perf_event.h", "PERF_EVENT_IOC_SET_BPF", _IOC_WRITE, 0x2408, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_FILTER", _IOC_WRITE, 0x2406, 0x04 }, { "linux/perf_event.h", "PERF_EVENT_IOC_SET_OUTPUT", _IOC_NONE, 0x2405, 0x00 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_DATA_INFO", _IOC_READ, 0xee08, 0x40 }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_GET_INFO", _IOC_READ, 0xee07, 0x0c }, +{ "linux/pfrut.h", "PFRT_LOG_IOC_SET_INFO", _IOC_WRITE, 0xee06, 0x0c }, +{ "linux/pfrut.h", "PFRU_IOC_ACTIVATE", _IOC_WRITE, 0xee03, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_QUERY_CAP", _IOC_READ, 0xee05, 0x5c }, +{ "linux/pfrut.h", "PFRU_IOC_SET_REV", _IOC_WRITE, 0xee01, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE", _IOC_WRITE, 0xee02, 0x04 }, +{ "linux/pfrut.h", "PFRU_IOC_STAGE_ACTIVATE", _IOC_WRITE, 0xee04, 0x04 }, { "linux/phantom.h", "PHN_GETREG", _IOC_READ|_IOC_WRITE, 0x7005, 0x08 }, { "linux/phantom.h", "PHN_GETREGS", _IOC_READ|_IOC_WRITE, 0x7007, 0x28 }, { "linux/phantom.h", "PHN_GET_REG", _IOC_READ|_IOC_WRITE, 0x7000, 0x04 }, @@ -1787,6 +1839,7 @@ { "linux/reiserfs_fs.h", "REISERFS_IOC_UNPACK", _IOC_WRITE, 0xcd01, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_GET_SHUTDOWN_ON_RELEASE", _IOC_READ, 0xb702, 0x04 }, { "linux/remoteproc_cdev.h", "RPROC_SET_SHUTDOWN_ON_RELEASE", _IOC_WRITE, 0xb701, 0x04 }, +{ "linux/rfkill.h", "RFKILL_IOCTL_MAX_SIZE", _IOC_WRITE, 0x5202, 0x04 }, { "linux/rfkill.h", "RFKILL_IOCTL_NOINPUT", _IOC_NONE, 0x5201, 0x00 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_ACCEPT", _IOC_READ|_IOC_WRITE, 0x6307, 0x08 }, { "linux/rio_cm_cdev.h", "RIO_CM_CHAN_BIND", _IOC_WRITE, 0x6305, 0x08 }, @@ -1823,8 +1876,10 @@ { "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 }, { "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 }, { "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 }, +{ "linux/rpmsg.h", "RPMSG_CREATE_DEV_IOCTL", _IOC_WRITE, 0xb503, 0x28 }, { "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 }, { "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 }, +{ "linux/rpmsg.h", "RPMSG_RELEASE_DEV_IOCTL", _IOC_WRITE, 0xb504, 0x28 }, { "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 }, { "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 }, { "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 }, @@ -1833,6 +1888,8 @@ { "linux/rtc.h", "RTC_EPOCH_SET", _IOC_WRITE, 0x700e, 0x04 }, { "linux/rtc.h", "RTC_IRQP_READ", _IOC_READ, 0x700b, 0x04 }, { "linux/rtc.h", "RTC_IRQP_SET", _IOC_WRITE, 0x700c, 0x04 }, +{ "linux/rtc.h", "RTC_PARAM_GET", _IOC_WRITE, 0x7013, 0x18 }, +{ "linux/rtc.h", "RTC_PARAM_SET", _IOC_WRITE, 0x7014, 0x18 }, { "linux/rtc.h", "RTC_PIE_OFF", _IOC_NONE, 0x7006, 0x00 }, { "linux/rtc.h", "RTC_PIE_ON", _IOC_NONE, 0x7005, 0x00 }, { "linux/rtc.h", "RTC_PLL_GET", _IOC_READ, 0x7011, 0x1c }, @@ -1874,6 +1931,7 @@ { "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 }, { "linux/sed-opal.h", "IOC_OPAL_GENERIC_TABLE_RW", _IOC_WRITE, 0x70eb, 0x138 }, +{ "linux/sed-opal.h", "IOC_OPAL_GET_STATUS", _IOC_READ, 0x70ec, 0x08 }, { "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 }, { "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 }, { "linux/sed-opal.h", "IOC_OPAL_MBR_DONE", _IOC_WRITE, 0x70e9, 0x110 }, @@ -1885,6 +1943,9 @@ { "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 }, { "linux/sed-opal.h", "IOC_OPAL_WRITE_SHADOW_MBR", _IOC_WRITE, 0x70ea, 0x120 }, { "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 }, +{ "linux/sev-guest.h", "SNP_GET_DERIVED_KEY", _IOC_READ|_IOC_WRITE, 0x5301, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_EXT_REPORT", _IOC_READ|_IOC_WRITE, 0x5302, 0x20 }, +{ "linux/sev-guest.h", "SNP_GET_REPORT", _IOC_READ|_IOC_WRITE, 0x5300, 0x20 }, { "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 }, { "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 }, { "linux/sockios.h", "SIOCADDRT", 0, 0x890B, 0 }, @@ -2273,6 +2334,8 @@ { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB", _IOC_READ, 0x550a, 0x2c }, { "linux/usbdevice_fs.h", "USBDEVFS_SUBMITURB32", _IOC_READ, 0x550a, 0x2a }, { "linux/usbdevice_fs.h", "USBDEVFS_WAIT_FOR_RESUME", _IOC_NONE, 0x5523, 0x00 }, +{ "linux/user_events.h", "DIAG_IOCSDEL", _IOC_WRITE, 0x2a01, 0x04 }, +{ "linux/user_events.h", "DIAG_IOCSREG", _IOC_READ|_IOC_WRITE, 0x2a00, 0x04 }, { "linux/userfaultfd.h", "UFFDIO_API", _IOC_READ|_IOC_WRITE, 0xaa3f, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_CONTINUE", _IOC_READ|_IOC_WRITE, 0xaa07, 0x20 }, { "linux/userfaultfd.h", "UFFDIO_COPY", _IOC_READ|_IOC_WRITE, 0xaa03, 0x28 }, @@ -2281,6 +2344,7 @@ { "linux/userfaultfd.h", "UFFDIO_WAKE", _IOC_READ, 0xaa02, 0x10 }, { "linux/userfaultfd.h", "UFFDIO_WRITEPROTECT", _IOC_READ|_IOC_WRITE, 0xaa06, 0x18 }, { "linux/userfaultfd.h", "UFFDIO_ZEROPAGE", _IOC_READ|_IOC_WRITE, 0xaa04, 0x20 }, +{ "linux/userfaultfd.h", "USERFAULTFD_IOC_NEW", _IOC_NONE, 0xaa00, 0x00 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_MAP", _IOC_READ|_IOC_WRITE, 0x7520, 0x58 }, { "linux/uvcvideo.h", "UVCIOC_CTRL_QUERY", _IOC_READ|_IOC_WRITE, 0x7521, 0x0c }, { "linux/v4l2-subdev.h", "VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL", _IOC_READ|_IOC_WRITE, 0x564b, 0x40 }, @@ -2306,6 +2370,21 @@ { "linux/vboxguest.h", "VBG_IOCTL_VMMDEV_REQUEST_BIG", _IOC_NONE, 0x5603, 0x00 }, { "linux/vboxguest.h", "VBG_IOCTL_WAIT_FOR_EVENTS", _IOC_READ|_IOC_WRITE, 0x560a, 0x20 }, { "linux/vboxguest.h", "VBG_IOCTL_WRITE_CORE_DUMP", _IOC_READ|_IOC_WRITE, 0x5613, 0x1c }, +{ "linux/vduse.h", "VDUSE_CREATE_DEV", _IOC_WRITE, 0x8102, 0x150 }, +{ "linux/vduse.h", "VDUSE_DESTROY_DEV", _IOC_WRITE, 0x8103, 0x100 }, +{ "linux/vduse.h", "VDUSE_DEV_GET_FEATURES", _IOC_READ, 0x8111, 0x08 }, +{ "linux/vduse.h", "VDUSE_DEV_INJECT_CONFIG_IRQ", _IOC_NONE, 0x8113, 0x00 }, +{ "linux/vduse.h", "VDUSE_DEV_SET_CONFIG", _IOC_WRITE, 0x8112, 0x08 }, +{ "linux/vduse.h", "VDUSE_GET_API_VERSION", _IOC_READ, 0x8100, 0x08 }, +{ "linux/vduse.h", "VDUSE_IOTLB_DEREG_UMEM", _IOC_WRITE, 0x8119, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_FD", _IOC_READ|_IOC_WRITE, 0x8110, 0x20 }, +{ "linux/vduse.h", "VDUSE_IOTLB_GET_INFO", _IOC_READ|_IOC_WRITE, 0x811a, 0x30 }, +{ "linux/vduse.h", "VDUSE_IOTLB_REG_UMEM", _IOC_WRITE, 0x8118, 0x30 }, +{ "linux/vduse.h", "VDUSE_SET_API_VERSION", _IOC_WRITE, 0x8101, 0x08 }, +{ "linux/vduse.h", "VDUSE_VQ_GET_INFO", _IOC_READ|_IOC_WRITE, 0x8115, 0x30 }, +{ "linux/vduse.h", "VDUSE_VQ_INJECT_IRQ", _IOC_WRITE, 0x8117, 0x04 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP", _IOC_WRITE, 0x8114, 0x20 }, +{ "linux/vduse.h", "VDUSE_VQ_SETUP_KICKFD", _IOC_WRITE, 0x8116, 0x08 }, { "linux/vfio.h", "VFIO_CHECK_EXTENSION", _IOC_NONE, 0x3b65, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_FEATURE", _IOC_NONE, 0x3b75, 0x00 }, { "linux/vfio.h", "VFIO_DEVICE_GET_GFX_DMABUF", _IOC_NONE, 0x3b73, 0x00 }, @@ -2362,15 +2441,22 @@ { "linux/vhost.h", "VHOST_SET_VRING_ERR", _IOC_WRITE, 0xaf22, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_KICK", _IOC_WRITE, 0xaf20, 0x08 }, { "linux/vhost.h", "VHOST_SET_VRING_NUM", _IOC_WRITE, 0xaf10, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_AS_NUM", _IOC_READ, 0xaf7a, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_CONFIG", _IOC_READ, 0xaf73, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_CONFIG_SIZE", _IOC_READ, 0xaf79, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_DEVICE_ID", _IOC_READ, 0xaf70, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_GROUP_NUM", _IOC_READ, 0xaf81, 0x04 }, { "linux/vhost.h", "VHOST_VDPA_GET_IOVA_RANGE", _IOC_READ, 0xaf78, 0x10 }, { "linux/vhost.h", "VHOST_VDPA_GET_STATUS", _IOC_READ, 0xaf71, 0x01 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VQS_COUNT", _IOC_READ, 0xaf80, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_GET_VRING_GROUP", _IOC_READ|_IOC_WRITE, 0xaf7b, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_GET_VRING_NUM", _IOC_READ, 0xaf76, 0x02 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG", _IOC_WRITE, 0xaf74, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_CONFIG_CALL", _IOC_WRITE, 0xaf77, 0x04 }, +{ "linux/vhost.h", "VHOST_VDPA_SET_GROUP_ASID", _IOC_WRITE, 0xaf7c, 0x08 }, { "linux/vhost.h", "VHOST_VDPA_SET_STATUS", _IOC_WRITE, 0xaf72, 0x01 }, { "linux/vhost.h", "VHOST_VDPA_SET_VRING_ENABLE", _IOC_WRITE, 0xaf75, 0x08 }, +{ "linux/vhost.h", "VHOST_VDPA_SUSPEND", _IOC_NONE, 0xaf7d, 0x00 }, { "linux/vhost.h", "VHOST_VSOCK_SET_GUEST_CID", _IOC_WRITE, 0xaf60, 0x08 }, { "linux/vhost.h", "VHOST_VSOCK_SET_RUNNING", _IOC_WRITE, 0xaf61, 0x04 }, { "linux/videodev2.h", "VIDIOC_CREATE_BUFS", _IOC_READ|_IOC_WRITE, 0x565c, 0xf8 }, @@ -2585,10 +2671,13 @@ { "misc/cxl.h", "CXL_IOCTL_VALIDATE_IMAGE", _IOC_WRITE, 0xca0b, 0x40 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_ALLOC_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5201, 0x10 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_FREE_DMA_BUFF", _IOC_READ|_IOC_WRITE, 0x5202, 0x04 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_GET_DSP_INFO", _IOC_READ|_IOC_WRITE, 0x520d, 0x1c }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH", _IOC_NONE, 0x5204, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_ATTACH_SNS", _IOC_NONE, 0x5208, 0x00 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INIT_CREATE", _IOC_READ|_IOC_WRITE, 0x5205, 0x18 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_INVOKE", _IOC_READ|_IOC_WRITE, 0x5203, 0x10 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_MAP", _IOC_READ|_IOC_WRITE, 0x520a, 0x40 }, +{ "misc/fastrpc.h", "FASTRPC_IOCTL_MEM_UNMAP", _IOC_READ|_IOC_WRITE, 0x520b, 0x30 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MMAP", _IOC_READ|_IOC_WRITE, 0x5206, 0x20 }, { "misc/fastrpc.h", "FASTRPC_IOCTL_MUNMAP", _IOC_READ|_IOC_WRITE, 0x5207, 0x10 }, { "misc/habanalabs.h", "HL_IOCTL_CB", _IOC_READ|_IOC_WRITE, 0x4802, 0x18 }, @@ -2596,7 +2685,7 @@ { "misc/habanalabs.h", "HL_IOCTL_DEBUG", _IOC_READ|_IOC_WRITE, 0x4806, 0x28 }, { "misc/habanalabs.h", "HL_IOCTL_INFO", _IOC_READ|_IOC_WRITE, 0x4801, 0x18 }, { "misc/habanalabs.h", "HL_IOCTL_MEMORY", _IOC_READ|_IOC_WRITE, 0x4805, 0x28 }, -{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x18 }, +{ "misc/habanalabs.h", "HL_IOCTL_WAIT_CS", _IOC_READ|_IOC_WRITE, 0x4804, 0x38 }, { "misc/ocxl.h", "OCXL_IOCTL_ATTACH", _IOC_WRITE, 0xca10, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_ENABLE_P9_WAIT", _IOC_READ, 0xca15, 0x20 }, { "misc/ocxl.h", "OCXL_IOCTL_GET_FEATURES", _IOC_READ, 0xca16, 0x20 }, @@ -2605,6 +2694,7 @@ { "misc/ocxl.h", "OCXL_IOCTL_IRQ_FREE", _IOC_WRITE, 0xca12, 0x08 }, { "misc/ocxl.h", "OCXL_IOCTL_IRQ_SET_FD", _IOC_WRITE, 0xca13, 0x10 }, { "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_CTX", _IOC_READ|_IOC_WRITE, 0x480a, 0x04 }, +{ "misc/uacce/hisi_qm.h", "UACCE_CMD_QM_SET_QP_INFO", _IOC_READ|_IOC_WRITE, 0x480b, 0x10 }, { "misc/uacce/uacce.h", "UACCE_CMD_PUT_Q", _IOC_NONE, 0x5701, 0x00 }, { "misc/uacce/uacce.h", "UACCE_CMD_START_Q", _IOC_NONE, 0x5700, 0x00 }, { "misc/xilinx_sdfec.h", "XSDFEC_ADD_LDPC_CODE_PARAMS", _IOC_WRITE, 0x6605, 0x4c }, @@ -2632,6 +2722,7 @@ { "mtd/mtd-abi.h", "MEMGETREGIONINFO", _IOC_READ|_IOC_WRITE, 0x4d08, 0x10 }, { "mtd/mtd-abi.h", "MEMISLOCKED", _IOC_READ, 0x4d17, 0x08 }, { "mtd/mtd-abi.h", "MEMLOCK", _IOC_WRITE, 0x4d05, 0x08 }, +{ "mtd/mtd-abi.h", "MEMREAD", _IOC_READ|_IOC_WRITE, 0x4d1a, 0x40 }, { "mtd/mtd-abi.h", "MEMREADOOB", _IOC_READ|_IOC_WRITE, 0x4d04, 0x0c }, { "mtd/mtd-abi.h", "MEMREADOOB64", _IOC_READ|_IOC_WRITE, 0x4d16, 0x18 }, { "mtd/mtd-abi.h", "MEMSETBADBLOCK", _IOC_WRITE, 0x4d0c, 0x08 }, @@ -2847,6 +2938,7 @@ { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PARAMS", _IOC_READ|_IOC_WRITE, 0x5710, 0x20 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_PVERSION", _IOC_READ, 0x5700, 0x04 }, { "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_STATUS", _IOC_READ|_IOC_WRITE, 0x5720, 0x30 }, +{ "sound/asound.h", "SNDRV_RAWMIDI_IOCTL_USER_PVERSION", _IOC_WRITE, 0x5702, 0x04 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_CONTINUE", _IOC_NONE, 0x54a2, 0x00 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GINFO", _IOC_READ|_IOC_WRITE, 0x5403, 0xe0 }, { "sound/asound.h", "SNDRV_TIMER_IOCTL_GPARAMS", _IOC_WRITE, 0x5404, 0x3c }, @@ -2902,6 +2994,9 @@ { "sound/emu10k1.h", "SNDRV_EMU10K1_IOCTL_ZERO_TRAM_COUNTER", _IOC_NONE, 0x4882, 0x00 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_GET_INFO", _IOC_READ, 0x48f8, 0x20 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_LOCK", _IOC_NONE, 0x48f9, 0x00 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_COMMAND_DSP_METER", _IOC_READ, 0x48fd, 0x640 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_METER", _IOC_READ, 0x48fc, 0x30 }, +{ "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_MOTU_REGISTER_DSP_PARAMETER", _IOC_READ, 0x48fe, 0x200 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_TASCAM_STATE", _IOC_READ, 0x48fb, 0x100 }, { "sound/firewire.h", "SNDRV_FIREWIRE_IOCTL_UNLOCK", _IOC_NONE, 0x48fa, 0x00 }, { "sound/hda_hwdep.h", "HDA_IOCTL_GET_WCAP", _IOC_READ|_IOC_WRITE, 0x4812, 0x08 }, @@ -2937,16 +3032,6 @@ { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_RESET_SAMPLES", _IOC_NONE, 0x4882, 0x00 }, { "sound/sfnt_info.h", "SNDRV_EMUX_IOCTL_VERSION", _IOC_READ, 0x4880, 0x04 }, { "sound/usb_stream.h", "SNDRV_USB_STREAM_IOCTL_SET_PARAMS", _IOC_WRITE, 0x4890, 0x10 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_NAME", _IOC_READ, 0x7702, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PIN_STATUS", _IOC_NONE, 0x7709, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_PROT_MASK", _IOC_NONE, 0x7706, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_GET_SIZE", _IOC_NONE, 0x7704, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_PIN", _IOC_WRITE, 0x7707, 0x08 }, -{ "staging/android/ashmem.h", "ASHMEM_PURGE_ALL_CACHES", _IOC_NONE, 0x770a, 0x00 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_NAME", _IOC_WRITE, 0x7701, 0x100 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_PROT_MASK", _IOC_WRITE, 0x7705, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_SET_SIZE", _IOC_WRITE, 0x7703, 0x04 }, -{ "staging/android/ashmem.h", "ASHMEM_UNPIN", _IOC_WRITE, 0x7708, 0x08 }, { "video/da8xx-fb.h", "FBIGET_BRIGHTNESS", _IOC_READ, 0x4603, 0x04 }, { "video/da8xx-fb.h", "FBIGET_COLOR", _IOC_READ, 0x4605, 0x04 }, { "video/da8xx-fb.h", "FBIOGET_CONTRAST", _IOC_READ, 0x4601, 0x04 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x32/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x32/shuffle_scno.c
Changed
@@ -6,9 +6,9 @@ */ kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { - if (current_personality == 0 && scno != (kernel_ulong_t) -1) + if (pers == 0 && scno != (kernel_ulong_t) -1) scno ^= __X32_SYSCALL_BIT; return scno;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x32/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x32/syscallent.h
Changed
@@ -64,7 +64,7 @@ 56 = { 5, TP, SEN(clone), "clone" }, 57 = { 0, TP, SEN(fork), "fork" }, 58 = { 0, TP, SEN(vfork), "vfork" }, - 59 = { 3, TF|TP|SE|SI, SEN(printargs), "execve#64" }, + 59 = { 3, CC|TF|TP|TSD|SE|SI, SEN(printargs), "execve#64" }, 60 = { 1, TP|SE, SEN(exit), "exit" }, 61 = { 4, TP, SEN(wait4), "wait4" }, 62 = { 2, TS|TP, SEN(kill), "kill" }, @@ -162,7 +162,7 @@ 154 = { 3, 0, SEN(modify_ldt), "modify_ldt" }, 155 = { 2, TF, SEN(pivotroot), "pivot_root" }, 156 = { 1, 0, SEN(printargs), "_sysctl#64" }, -157 = { 5, TC, SEN(prctl), "prctl" }, +157 = { 5, CC|TC, SEN(prctl), "prctl" }, 158 = { 2, 0, SEN(arch_prctl), "arch_prctl" }, 159 = { 1, TCL, SEN(adjtimex64), "adjtimex" }, 160 = { 2, 0, SEN(setrlimit), "setrlimit" }, @@ -327,7 +327,7 @@ 319 = { 2, TD, SEN(memfd_create), "memfd_create" }, 320 = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, 321 = { 3, TD, SEN(bpf), "bpf" }, -322 = { 5, TD|TF|TP|SE|SI, SEN(printargs), "execveat#64" }, +322 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(printargs), "execveat#64" }, 323 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 324 = { 3, 0, SEN(membarrier), "membarrier" }, 325 = { 3, TM, SEN(mlock2), "mlock2" }, @@ -354,7 +354,7 @@ 517 = { 6, CST|TN, SEN(recvfrom), "recvfrom" }, 518 = { 3, CST|TN, SEN(sendmsg), "sendmsg" }, 519 = { 3, CST|TN, SEN(recvmsg), "recvmsg" }, -520 = { 3, CST|TF|TP|TSD|SE|SI,SEN(execve), "execve" }, +520 = { 3, CST|CC|TF|TP|TSD|SE|SI,SEN(execve), "execve" }, 521 = { 4, CST, SEN(ptrace), "ptrace" }, 522 = { 2, CST|TS, SEN(rt_sigpending), "rt_sigpending" }, 523 = { 4, CST|TS, SEN(rt_sigtimedwait_time64), "rt_sigtimedwait" }, @@ -379,6 +379,6 @@ 542 = { 5, CST|TN, SEN(getsockopt), "getsockopt" }, 543 = { 2, CST|TM, SEN(io_setup), "io_setup" }, 544 = { 3, CST, SEN(io_submit), "io_submit" }, -545 = { 5, CST|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +545 = { 5, CST|CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 546 = { 5, TD, SEN(preadv2), "preadv2" }, 547 = { 5, TD, SEN(pwritev2), "pwritev2" },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x86_64/arch_defs_.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x86_64/arch_defs_.h
Changed
@@ -1,15 +1,18 @@ /* - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ +#define ARCH_NEEDS_NON_SHUFFLED_SCNO_CHECK 1 #define ARCH_MX32_SIZEOF_STRUCT_MSQID64_DS 120 #define HAVE_ARCH_OLD_MMAP 1 #define HAVE_ARCH_OLD_SELECT 1 #define HAVE_ARCH_UID16_SYSCALLS 1 #define SUPPORTED_PERSONALITIES 3 +#define PERSONALITY_DESIGNATORS { "64", "32", "x32" } +#define PERSONALITY_NAMES { "64 bit", "32 bit", "x32" } #define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_X86_64, 0 } #define PERSONALITY1_AUDIT_ARCH { AUDIT_ARCH_I386, 0 } #define PERSONALITY2_AUDIT_ARCH { AUDIT_ARCH_X86_64, __X32_SYSCALL_BIT }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x86_64/arch_fpregset.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x86_64/arch_fpregset.c
Changed
@@ -55,21 +55,21 @@ offsetof(struct_fpregset, st_space); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, st_space, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_fpregset, xmm_space)) { const size_t len = fetch_size - offsetof(struct_fpregset, xmm_space); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, xmm_space, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (fetch_size > offsetof(struct_fpregset, padding)) { const size_t len = fetch_size - offsetof(struct_fpregset, padding); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(regs, padding, len / 4, tcp, - print_xint32_array_member); + print_xint_array_member); } if (size > sizeof(regs)) { tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x86_64/ioctls_arch0.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x86_64/ioctls_arch0.h
Changed
@@ -1,4 +1,5 @@ /* Generated by ioctls_gen.sh from definitions found in $linux/arch/x86/include/ tree. */ +{ "asm/amd_hsmp.h", "HSMP_IOCTL_CMD", _IOC_READ|_IOC_WRITE, 0xf800, 0x2c }, { "asm/mce.h", "MCE_GETCLEAR_FLAGS", _IOC_READ, 0x4d03, 0x04 }, { "asm/mce.h", "MCE_GET_LOG_LEN", _IOC_READ, 0x4d02, 0x04 }, { "asm/mce.h", "MCE_GET_RECORD_LEN", _IOC_READ, 0x4d01, 0x04 }, @@ -17,7 +18,11 @@ { "asm/sgx.h", "SGX_IOC_ENCLAVE_ADD_PAGES", _IOC_READ|_IOC_WRITE, 0xa401, 0x30 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_CREATE", _IOC_WRITE, 0xa400, 0x08 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_INIT", _IOC_WRITE, 0xa402, 0x08 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_MODIFY_TYPES", _IOC_READ|_IOC_WRITE, 0xa406, 0x28 }, { "asm/sgx.h", "SGX_IOC_ENCLAVE_PROVISION", _IOC_WRITE, 0xa403, 0x08 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_REMOVE_PAGES", _IOC_READ|_IOC_WRITE, 0xa407, 0x18 }, +{ "asm/sgx.h", "SGX_IOC_ENCLAVE_RESTRICT_PERMISSIONS", _IOC_READ|_IOC_WRITE, 0xa405, 0x28 }, +{ "asm/sgx.h", "SGX_IOC_VEPC_REMOVE_ALL", _IOC_NONE, 0xa404, 0x00 }, { "linux/kvm.h", "KVM_ASSIGN_DEV_IRQ", _IOC_WRITE, 0xae70, 0x40 }, { "linux/kvm.h", "KVM_ASSIGN_PCI_DEVICE", _IOC_READ, 0xae69, 0x40 }, { "linux/kvm.h", "KVM_ASSIGN_SET_INTX_MASK", _IOC_WRITE, 0xaea4, 0x40 }, @@ -66,6 +71,7 @@ { "linux/kvm.h", "KVM_GET_VCPU_MMAP_SIZE", _IOC_NONE, 0xae04, 0x00 }, { "linux/kvm.h", "KVM_GET_XCRS", _IOC_READ, 0xaea6, 0x188 }, { "linux/kvm.h", "KVM_GET_XSAVE", _IOC_READ, 0xaea4, 0x1000 }, +{ "linux/kvm.h", "KVM_GET_XSAVE2", _IOC_READ, 0xaecf, 0x1000 }, { "linux/kvm.h", "KVM_HAS_DEVICE_ATTR", _IOC_WRITE, 0xaee3, 0x18 }, { "linux/kvm.h", "KVM_HYPERV_EVENTFD", _IOC_WRITE, 0xaebd, 0x18 }, { "linux/kvm.h", "KVM_INTERRUPT", _IOC_WRITE, 0xae86, 0x04 }, @@ -125,6 +131,7 @@ { "linux/kvm.h", "KVM_X86_SET_MCE", _IOC_WRITE, 0xae9e, 0x40 }, { "linux/kvm.h", "KVM_X86_SET_MSR_FILTER", _IOC_WRITE, 0xaec6, 0x188 }, { "linux/kvm.h", "KVM_XEN_HVM_CONFIG", _IOC_WRITE, 0xae7a, 0x38 }, +{ "linux/kvm.h", "KVM_XEN_HVM_EVTCHN_SEND", _IOC_WRITE, 0xaed0, 0x0c }, { "linux/kvm.h", "KVM_XEN_HVM_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaec8, 0x48 }, { "linux/kvm.h", "KVM_XEN_HVM_SET_ATTR", _IOC_WRITE, 0xaec9, 0x48 }, { "linux/kvm.h", "KVM_XEN_VCPU_GET_ATTR", _IOC_READ|_IOC_WRITE, 0xaeca, 0x48 },
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x86_64/shuffle_scno.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x86_64/shuffle_scno.c
Changed
@@ -6,9 +6,9 @@ */ kernel_ulong_t -shuffle_scno(kernel_ulong_t scno) +shuffle_scno_pers(kernel_ulong_t scno, int pers) { - if (current_personality == 2) + if (pers == 2) scno ^= __X32_SYSCALL_BIT; return scno;
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/x86_64/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/x86_64/syscallent.h
Changed
@@ -64,7 +64,7 @@ 56 = { 5, TP, SEN(clone), "clone" }, 57 = { 0, TP, SEN(fork), "fork" }, 58 = { 0, TP, SEN(vfork), "vfork" }, - 59 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, + 59 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 60 = { 1, TP|SE, SEN(exit), "exit" }, 61 = { 4, TP, SEN(wait4), "wait4" }, 62 = { 2, TS|TP, SEN(kill), "kill" }, @@ -162,7 +162,7 @@ 154 = { 3, 0, SEN(modify_ldt), "modify_ldt" }, 155 = { 2, TF, SEN(pivotroot), "pivot_root" }, 156 = { 1, 0, SEN(sysctl), "_sysctl" }, -157 = { 5, TC, SEN(prctl), "prctl" }, +157 = { 5, CC|TC, SEN(prctl), "prctl" }, 158 = { 2, 0, SEN(arch_prctl), "arch_prctl" }, 159 = { 1, TCL, SEN(adjtimex64), "adjtimex" }, 160 = { 2, 0, SEN(setrlimit), "setrlimit" }, @@ -327,7 +327,7 @@ 319 = { 2, TD, SEN(memfd_create), "memfd_create" }, 320 = { 5, TD, SEN(kexec_file_load), "kexec_file_load" }, 321 = { 3, TD, SEN(bpf), "bpf" }, -322 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +322 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 323 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 324 = { 3, 0, SEN(membarrier), "membarrier" }, 325 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/arch_defs_.h
Added
@@ -0,0 +1,1 @@ +#define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_XTENSA, 0 }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/xtensa/arch_regs.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/arch_regs.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -8,4 +8,4 @@ static struct user_pt_regs xtensa_regs; #define ARCH_REGS_FOR_GETREGS xtensa_regs #define ARCH_PC_REG xtensa_regs.pc -#define ARCH_SP_REG xtensa_regs.a1 +#define ARCH_SP_REG xtensa_regs.axtensa_regs.windowbase * 4 + 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/xtensa/get_error.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/get_error.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,10 +10,12 @@ static void arch_get_error(struct tcb *tcp, const bool check_errno) { - if (check_errno && is_negated_errno(xtensa_regs.a2)) { + unsigned int status_reg = xtensa_regs.windowbase * 4 + 2; + + if (check_errno && is_negated_errno(xtensa_regs.astatus_reg)) { tcp->u_rval = -1; - tcp->u_error = -xtensa_regs.a2; + tcp->u_error = -xtensa_regs.astatus_reg; } else { - tcp->u_rval = xtensa_regs.a2; + tcp->u_rval = xtensa_regs.astatus_reg; } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/xtensa/get_syscall_args.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/get_syscall_args.c
Changed
@@ -1,17 +1,37 @@ /* - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ +static unsigned int xtensa_probe_naregs(struct tcb *tcp) +{ + struct user_pt_regs tmp = xtensa_regs; + unsigned int n = 8; + + do { + n *= 2; + xtensa_regs.windowbase = n / 4; + } while (n < ARRAY_SIZE(xtensa_regs.a) && + set_regs(tcp->pid) == 0); + xtensa_regs = tmp; + set_regs(tcp->pid); + return n; +} + /* Return -1 on error or 1 on success (never 0!). */ static int arch_get_syscall_args(struct tcb *tcp) { static const unsigned int syscall_regsMAX_ARGS = { 6, 3, 4, 5, 8, 9 }; + static unsigned int naregs_mask; + + if (naregs_mask == 0) + naregs_mask = xtensa_probe_naregs(tcp) - 1; for (unsigned int i = 0; i < n_args(tcp); ++i) - tcp->u_argi = xtensa_regs.asyscall_regsi; + tcp->u_argi = xtensa_regs.a(xtensa_regs.windowbase * 4 + + syscall_regsi) & naregs_mask; return 1; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/xtensa/set_error.c -> _service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/set_error.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -8,13 +8,13 @@ static int arch_set_error(struct tcb *tcp) { - xtensa_regs.a2 = -tcp->u_error; + xtensa_regs.axtensa_regs.windowbase * 4 + 2 = -tcp->u_error; return set_regs(tcp->pid); } static int arch_set_success(struct tcb *tcp) { - xtensa_regs.a2 = tcp->u_rval; + xtensa_regs.axtensa_regs.windowbase * 4 + 2 = tcp->u_rval; return set_regs(tcp->pid); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/linux/xtensa/syscallent.h -> _service:tar_scm:strace-6.1.tar.xz/src/linux/xtensa/syscallent.h
Changed
@@ -117,7 +117,7 @@ 114 = { 4, TD|TN, SEN(sendfile64), "sendfile64" }, 115 = { 4, TN, SEN(sendmmsg), "sendmmsg" }, 116 = { 5, TP, SEN(clone), "clone" }, -117 = { 3, TF|TP|TSD|SE|SI, SEN(execve), "execve" }, +117 = { 3, CC|TF|TP|TSD|SE|SI, SEN(execve), "execve" }, 118 = { 1, TP|SE, SEN(exit), "exit" }, 119 = { 1, TP|SE, SEN(exit), "exit_group" }, 120 = { 0, PU|NF, SEN(getpid), "getpid" }, @@ -130,7 +130,7 @@ 127 = { 0, PU|NF, SEN(gettid), "gettid" }, 128 = { 0, 0, SEN(setsid), "setsid" }, 129 = { 1, 0, SEN(getsid), "getsid" }, -130 = { 5, TC, SEN(prctl), "prctl" }, +130 = { 5, CC|TC, SEN(prctl), "prctl" }, 131 = { 1, NF, SEN(personality), "personality" }, 132 = { 2, 0, SEN(getpriority), "getpriority" }, 133 = { 3, 0, SEN(setpriority), "setpriority" }, @@ -336,7 +336,7 @@ 338 = { 3, 0, SEN(getrandom), "getrandom" }, 339 = { 2, TD, SEN(memfd_create), "memfd_create" }, 340 = { 3, TD, SEN(bpf), "bpf" }, -341 = { 5, TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, +341 = { 5, CC|TD|TF|TP|TSD|SE|SI, SEN(execveat), "execveat" }, 342 = { 1, TD, SEN(userfaultfd), "userfaultfd" }, 343 = { 3, 0, SEN(membarrier), "membarrier" }, 344 = { 3, TM, SEN(mlock2), "mlock2" },
View file
_service:tar_scm:strace-6.1.tar.xz/src/lirc_ioctl.c
Added
@@ -0,0 +1,75 @@ +/* + * Copyright (c) 2022 Sean Young <sean@mess.org> + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" +#include <linux/lirc.h> +#include "xlat/lirc_features.h" +#include "xlat/lirc_modes.h" + +int +lirc_ioctl(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg) +{ + unsigned int value; + + switch (code) { + case LIRC_GET_FEATURES: + case LIRC_GET_SEND_MODE: + case LIRC_GET_REC_MODE: + case LIRC_GET_REC_RESOLUTION: + case LIRC_GET_MIN_TIMEOUT: + case LIRC_GET_MAX_TIMEOUT: + case LIRC_GET_LENGTH: + case LIRC_SET_SEND_MODE: + case LIRC_SET_REC_MODE: + case LIRC_SET_SEND_CARRIER: + case LIRC_SET_REC_CARRIER: + case LIRC_SET_SEND_DUTY_CYCLE: + case LIRC_SET_TRANSMITTER_MASK: + case LIRC_SET_REC_TIMEOUT: + case LIRC_SET_REC_TIMEOUT_REPORTS: + case LIRC_SET_MEASURE_CARRIER_MODE: + case LIRC_SET_REC_CARRIER_RANGE: + case LIRC_SET_WIDEBAND_RECEIVER: + case LIRC_GET_REC_TIMEOUT: + break; + default: + return RVAL_DECODED; + } + + if (entering(tcp)) { + tprint_arg_next(); + if (_IOC_DIR(code) == _IOC_READ) + return 0; + } + + if (umove_or_printaddr(tcp, arg, &value)) + return RVAL_IOCTL_DECODED; + + tprint_indirect_begin(); + + switch (code) { + case LIRC_GET_FEATURES: + printflags(lirc_features, value, "LIRC_CAN_???"); + break; + case LIRC_GET_SEND_MODE: + case LIRC_GET_REC_MODE: + case LIRC_SET_SEND_MODE: + case LIRC_SET_REC_MODE: + printxval(lirc_modes, value, "LIRC_MODE_???"); + break; + case LIRC_SET_TRANSMITTER_MASK: + PRINT_VAL_X(value); + break; + default: + PRINT_VAL_U(value); + break; + } + + tprint_indirect_end(); + + return RVAL_IOCTL_DECODED; +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/macros.h -> _service:tar_scm:strace-6.1.tar.xz/src/macros.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2021 The strace developers. + * Copyright (c) 2001-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -13,7 +13,30 @@ # include <sys/types.h> # include "gcc_compat.h" +# include "static_assert.h" +/* + * Evaluates to: + * a syntax error, if the argument is 0; + * 0, otherwise. + */ +# define FAIL_BUILD_ON_ZERO(e_) (sizeof(int-1 + 2 * !!(e_)) * 0) + +/* + * Evaluates to: + * 1, if the given type is known to be a non-array type; + * 0, otherwise. + */ +# define IS_NOT_ARRAY(a_) IS_SAME_TYPE((a_), &(a_)0) + +/* + * Evaluates to: + * a syntax error, if the argument is not an array; + * 0, otherwise. + */ +# define MUST_BE_ARRAY(a_) FAIL_BUILD_ON_ZERO(!IS_NOT_ARRAY(a_)) + +/* Evaluates to the number of elements in the specified array. */ # define ARRAY_SIZE(a_) (sizeof(a_) / sizeof((a_)0) + MUST_BE_ARRAY(a_)) # define ARRSZ_PAIR(a_) a_, ARRAY_SIZE(a_) @@ -108,4 +131,29 @@ # define FLAG(name_) name_ = BIT32(name_##_BIT) +/** + * A shorthand for a build-time check of a type size that provides + * a corresponding "update the decoder" message in a case of failure. + * @param type_ Type whose size is to be checked. + * @param sz_ Expected type size in bytes. + */ +# define CHECK_TYPE_SIZE(type_, sz_) \ + static_assert(sizeof(type_) == (sz_), \ + "Unexpected size of " #type_ "(" #sz_ " expected)") + +/** Checks that ioctl code's size field contains the expected value. */ +#define CHECK_IOCTL_SIZE(ioc_, sz_) \ + static_assert(_IOC_SIZE(ioc_) == (sz_), \ + "Unexpected size field value in " #ioc_ " (" #sz_" expected)") + +# ifdef WORDS_BIGENDIAN +# define BE16(val_) val_ +# define BE32(val_) val_ +# define BE64(val_) val_ +# else +# define BE16(val_) ((((val_) & 0xff) << 8) | (((val_) >> 8) & 0xff)) +# define BE32(val_) ((BE16(val_) << 16) | BE16((val_) >> 16)) +# define BE64(val_) ((BE32(val_) << 32) | BE32((val_) >> 32)) +# endif + #endif /* !STRACE_MACROS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/mem.c -> _service:tar_scm:strace-6.1.tar.xz/src/mem.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2000 PocketPenguins Inc. Linux for Hitachi SuperH * port by Greg Banks <gbanks@pocketpenguins.com> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -74,14 +74,21 @@ flags &= ~mask; if (flags) { - tprints("|"); + tprint_or(); printflags_ex(flags, NULL, XLAT_STYLE_ABBREV, mmap_flags, NULL); } - if (hugetlb_value) - tprintf("|%u<<MAP_HUGE_SHIFT", - hugetlb_value >> MAP_HUGE_SHIFT); + if (hugetlb_value) { + tprint_or(); + PRINT_VAL_U(hugetlb_value >> MAP_HUGE_SHIFT); + tprint_shift(); + /* + * print_xlat_u is not used here because the whole thing + * is potentially inside a comment already. + */ + tprints("MAP_HUGE_SHIFT"); + } if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) tprint_comment_end(); @@ -319,6 +326,19 @@ return RVAL_DECODED; } +SYS_FUNC(process_mrelease) +{ + const int pidfd = tcp->u_arg0; + const unsigned int flags = tcp->u_arg1; + + printfd(tcp, pidfd); + tprint_arg_next(); + + PRINT_VAL_X(flags); + + return RVAL_DECODED; +} + #include "xlat/mlockall_flags.h" SYS_FUNC(mlockall)
View file
_service:tar_scm:strace-5.14.tar.xz/src/memfd_create.c -> _service:tar_scm:strace-6.1.tar.xz/src/memfd_create.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -40,10 +40,17 @@ printflags_ex(flags, "MFD_???", XLAT_STYLE_ABBREV, memfd_create_flags, NULL); - if (hugetlb_value) - tprintf("%s%u<<MFD_HUGE_SHIFT", - flags ? "|" : "", - hugetlb_value >> MFD_HUGE_SHIFT); + if (hugetlb_value) { + if (flags) + tprint_or(); + PRINT_VAL_U(hugetlb_value >> MFD_HUGE_SHIFT); + tprint_shift(); + /* + * print_xlat_u is not used here because the whole thing + * is potentially inside a comment already. + */ + tprints("MFD_HUGE_SHIFT"); + } if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) tprint_comment_end();
View file
_service:tar_scm:strace-5.14.tar.xz/src/mmap_notify.c -> _service:tar_scm:strace-6.1.tar.xz/src/mmap_notify.c
Changed
@@ -27,8 +27,7 @@ void mmap_notify_report(struct tcb *tcp) { - struct mmap_notify_client *client; - - for (client = clients; client; client = client->next) + for (struct mmap_notify_client *client = clients; + client; client = client->next) client->fn(tcp, client->data); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/mmsghdr.c -> _service:tar_scm:strace-6.1.tar.xz/src/mmsghdr.c
Changed
@@ -131,10 +131,10 @@ dumpiov_in_mmsghdr(struct tcb *const tcp, kernel_ulong_t addr) { unsigned int len = tcp->u_rval; - unsigned int i, fetched; - struct mmsghdr mmsg; + unsigned int fetched; - for (i = 0; i < len; ++i, addr += fetched) { + for (unsigned int i = 0; i < len; ++i, addr += fetched) { + struct mmsghdr mmsg; fetched = fetch_struct_mmsghdr(tcp, addr, &mmsg); if (!fetched) break;
View file
_service:tar_scm:strace-5.14.tar.xz/src/mount.c -> _service:tar_scm:strace-6.1.tar.xz/src/mount.c
Changed
@@ -5,7 +5,7 @@ * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2005 Roland McGrath <roland@redhat.com> * Copyright (c) 2007-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -56,7 +56,7 @@ if (old_magic) { print_xlat(MS_MGC_VAL); if (flags) - tprints("|"); + tprint_or(); } if (flags || !old_magic) printflags64(mount_flags, flags, "MS_???");
View file
_service:tar_scm:strace-5.14.tar.xz/src/mpers.am -> _service:tar_scm:strace-6.1.tar.xz/src/mpers.am
Changed
@@ -1,2 +1,2 @@ # Generated by ./src/generate_mpers_am.sh; do not edit. -mpers_source_files = block.c btrfs.c dirent.c evdev_mpers.c fetch_bpf_fprog.c fetch_struct_flock.c fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c fetch_struct_mmsghdr.c fetch_struct_msghdr.c fetch_struct_stat.c fetch_struct_stat64.c fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c ipc_msgctl.c ipc_semctl.c ipc_shmctl.c loop.c mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c print_mq_attr.c print_msgbuf.c print_sg_req_info.c print_sigevent.c print_time.c print_timeval.c printrusage.c printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c sigaltstack.c sock.c sysinfo.c times.c ustat.c utime.c v4l2.c +mpers_source_files = block.c btrfs.c dirent.c evdev_mpers.c fetch_bpf_fprog.c fetch_struct_flock.c fetch_struct_iovec.c fetch_struct_keyctl_kdf_params.c fetch_struct_mmsghdr.c fetch_struct_msghdr.c fetch_struct_stat.c fetch_struct_stat64.c fetch_struct_statfs.c fetch_struct_xfs_quotastat.c hdio.c ipc_msgctl.c ipc_semctl.c ipc_shmctl.c kd_mpers_ioctl.c loop.c mtd.c perf_ioctl.c print_group_req.c print_kernel_sigset.c print_mq_attr.c print_msgbuf.c print_sg_req_info.c print_sigevent.c print_time.c print_timeval.c printrusage.c printsiginfo.c regset.c rt_sigreturn.c rtc.c sg_io_v3.c sigaltstack.c sock.c sysctl.c sysinfo.c times.c ustat.c utime.c v4l2.c
View file
_service:tar_scm:strace-5.14.tar.xz/src/mpers_xlat.h -> _service:tar_scm:strace-6.1.tar.xz/src/mpers_xlat.h
Changed
@@ -5,6 +5,7 @@ extern const struct xlat btrfs_balance_state; extern const struct xlat btrfs_compress_types; extern const struct xlat btrfs_cont_reading_from_srcdev_mode; +extern const struct xlat btrfs_csum_types; extern const struct xlat btrfs_defrag_flags; extern const struct xlat btrfs_dev_replace_cmds; extern const struct xlat btrfs_dev_replace_results; @@ -14,6 +15,7 @@ extern const struct xlat btrfs_features_compat; extern const struct xlat btrfs_features_compat_ro; extern const struct xlat btrfs_features_incompat; +extern const struct xlat btrfs_fs_info_flags; extern const struct xlat btrfs_key_types; extern const struct xlat btrfs_logical_ino_args_flags; extern const struct xlat btrfs_qgroup_ctl_cmds; @@ -29,6 +31,9 @@ extern const struct xlat msgctl_flags; extern const struct xlat semctl_flags; extern const struct xlat shmctl_flags; +extern const struct xlat kd_font_flags; +extern const struct xlat kd_font_ops; +extern const struct xlat kd_ioctl_cmds; extern const struct xlat loop_flags_options; extern const struct xlat loop_crypt_type_options; extern const struct xlat mtd_mode_options; @@ -53,9 +58,15 @@ extern const struct xlat sigsegv_codes; extern const struct xlat sigsys_codes; extern const struct xlat sigtrap_codes; +extern const struct xlat alpha_trap_codes; extern const struct xlat sigemt_codes; -extern const struct xlat rtc_vl_flags; +extern const struct xlat sigtrap_perf_flags; extern const struct xlat rtc_ioctl_cmds; +extern const struct xlat rtc_feature_bits; +extern const struct xlat rtc_vl_flags; +extern const struct xlat rtc_params; +extern const struct xlat rtc_features; +extern const struct xlat rtc_backup_switch_modes; extern const struct xlat sg_io_info; extern const struct xlat sg_io_dxfer_direction; extern const struct xlat sg_io_flags;
View file
_service:tar_scm:strace-5.14.tar.xz/src/msghdr.c -> _service:tar_scm:strace-6.1.tar.xz/src/msghdr.c
Changed
@@ -156,7 +156,7 @@ const unsigned int *p = cmsg_data; print_local_array_ex(tcp, p, data_len / sizeof(*p), sizeof(*p), - print_uint32_array_member, NULL, 0, NULL, NULL); + print_uint_array_member, NULL, 0, NULL, NULL); } static void @@ -164,7 +164,7 @@ const unsigned int data_len) { print_local_array_ex(tcp, cmsg_data, data_len, 1, - print_xint8_array_member, NULL, 0, NULL, NULL); + print_xint_array_member, NULL, 0, NULL, NULL); } struct sock_ee {
View file
_service:tar_scm:strace-5.14.tar.xz/src/mtd.c -> _service:tar_scm:strace-6.1.tar.xz/src/mtd.c
Changed
@@ -169,7 +169,7 @@ void *data) { print_local_array_ex(tcp, elem_buf, 2, sizeof(int), - print_xint32_array_member, NULL, 0, NULL, NULL); + print_xint_array_member, NULL, 0, NULL, NULL); return true; } @@ -188,7 +188,7 @@ tprint_struct_next(); PRINT_FIELD_ARRAY(ninfo, oobfree, tcp, print_xint32x2_array_member); tprint_struct_next(); - PRINT_FIELD_ARRAY(ninfo, eccpos, tcp, print_xint32_array_member); + PRINT_FIELD_ARRAY(ninfo, eccpos, tcp, print_xint_array_member); tprint_struct_end(); } @@ -216,7 +216,7 @@ tprint_struct_begin(); PRINT_FIELD_X(nlay, eccbytes); tprint_struct_next(); - PRINT_FIELD_ARRAY(nlay, eccpos, tcp, print_xint32_array_member); + PRINT_FIELD_ARRAY(nlay, eccpos, tcp, print_xint_array_member); tprint_struct_next(); PRINT_FIELD_X(nlay, oobavail); tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/net.c -> _service:tar_scm:strace-6.1.tar.xz/src/net.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-2000 Wichert Akkerman <wichert@cistron.nl> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -28,11 +28,6 @@ #include <arpa/inet.h> #include <net/if.h> #include <asm/types.h> -#ifdef HAVE_NETIPX_IPX_H -# include <netipx/ipx.h> -#else -# include <linux/ipx.h> -#endif #include <linux/ip_vs.h> #include "netlink.h" @@ -50,6 +45,7 @@ #endif #include <linux/if_packet.h> #include <linux/icmp.h> +#include <linux/vm_sockets.h> #include "xlat/socktypes.h" #include "xlat/sock_type_flags.h" @@ -76,8 +72,6 @@ #include "xlat/kcm_protocols.h" #include "xlat/smc_protocols.h" -const size_t inet_protocols_size = ARRAY_SIZE(inet_protocols) - 1; - static void decode_sockbuf(struct tcb *const tcp, const int fd, const kernel_ulong_t addr, const kernel_ulong_t addrlen) @@ -106,7 +100,7 @@ flags &= ~SOCK_TYPE_MASK; if (!flags) return; - tprints("|"); + tprint_or(); } printflags(sock_type_flags, flags, "SOCK_???"); } @@ -497,6 +491,7 @@ #include "xlat/sock_ip_options.h" #include "xlat/getsock_ip_options.h" #include "xlat/setsock_ip_options.h" +#include "xlat/sock_vsock_options.h" #include "xlat/sock_ipv6_options.h" #include "xlat/getsock_ipv6_options.h" #include "xlat/setsock_ipv6_options.h" @@ -508,6 +503,7 @@ #include "xlat/sock_sctp_options.h" #include "xlat/sock_tcp_options.h" #include "xlat/sock_udp_options.h" +#include "xlat/sock_can_raw_options.h" #include "xlat/sock_irda_options.h" #include "xlat/sock_llc_options.h" #include "xlat/sock_dccp_options.h" @@ -525,25 +521,6 @@ #include "xlat/sock_tls_options.h" #include "xlat/sock_xdp_options.h" -#define MAYBE_PRINT_FIELD_LEN(print_prefix_, where_, field_, \ - len_, print_func_, ...) \ - do { \ - unsigned int start = offsetof(typeof(where_), field_); \ - unsigned int end = start + sizeof(where_.field_); \ - if (len_ > start) { \ - print_prefix_; \ - if (len_ >= end) { \ - print_func_(where_, field_, \ - ##__VA_ARGS__); \ - } else { \ - tprints_field_name(#field_); \ - print_quoted_string( \ - (void *)&where_.field_, \ - len_ - start, QUOTE_FORCE_HEX); \ - } \ - } \ - } while (0) - static void print_sockopt_fd_level_name(struct tcb *tcp, int fd, unsigned int level, unsigned int name, bool is_getsockopt) @@ -568,6 +545,14 @@ is_getsockopt ? getsock_ip_options : setsock_ip_options, NULL); break; + /* + * Yes, VMWare in their infinite wisdom have decided to use address + * family instead of a socket option layer for the socket option layer + * check, see net/vmw_vsock/af_vsock.c:vsock_connectible_gsetsockopt. + */ + case AF_VSOCK: + printxval(sock_vsock_options, name, "SO_VM_???"); + break; case SOL_IPV6: printxvals(name, "IPV6_???", sock_ipv6_options, is_getsockopt ? getsock_ipv6_options : @@ -585,6 +570,9 @@ case SOL_TCP: printxval(sock_tcp_options, name, "TCP_???"); break; + case SOL_CAN_RAW: + printxval(sock_can_raw_options, name, "CAN_RAW_???"); + break; case SOL_SCTP: printxval(sock_sctp_options, name, "SCTP_???"); break; @@ -703,14 +691,16 @@ static void print_get_error(struct tcb *const tcp, const kernel_ulong_t addr, - unsigned int len) + const unsigned int len) { unsigned int err; - if (len > sizeof(err)) - err = sizeof(err); + if (len < sizeof(err)) { + printstr_ex(tcp, addr, len, QUOTE_FORCE_HEX); + return; + } - if (umoven_or_printaddr(tcp, addr, len, &err)) + if (umove_or_printaddr(tcp, addr, &err)) return; tprint_indirect_begin(); @@ -718,7 +708,29 @@ tprint_indirect_end(); } -#ifdef PACKET_STATISTICS +#include "xlat/sockopt_txrehash_vals.h" + +static void +print_txrehash(struct tcb *const tcp, const kernel_ulong_t addr, const int len) +{ + int val = 0; + + if (len < (int) sizeof(val)) { + if (entering(tcp)) + printaddr(addr); + else + printstr_ex(tcp, addr, len, QUOTE_FORCE_HEX); + return; + } + + if (umove_or_printaddr(tcp, addr, &val)) + return; + + tprint_indirect_begin(); + printxval_d(sockopt_txrehash_vals, val, "SOCK_TXREHASH_???"); + tprint_indirect_end(); +} + static void print_tpacket_stats(struct tcb *const tcp, const kernel_ulong_t addr, unsigned int len) @@ -745,14 +757,13 @@ stats, tp_freeze_q_cnt, len, PRINT_FIELD_U); tprint_struct_end(); } -#endif /* PACKET_STATISTICS */ -#include "xlat/icmpfilterflags.h" +#include "xlat/icmp_filter_flags.h" static void print_icmp_filter(struct tcb *const tcp, const kernel_ulong_t addr, int len) { - struct icmp_filter filter = {}; + struct icmp_filter filter = { ~0U }; if (len > (int) sizeof(filter)) len = sizeof(filter); @@ -764,9 +775,40 @@ if (umoven_or_printaddr(tcp, addr, len, &filter)) return; - tprints("~("); - printflags(icmpfilterflags, ~filter.data, "ICMP_???"); - tprints(")"); + uint32_t data32 = filter.data; + static_assert(sizeof(filter.data) == sizeof(data32), + "struct icmp_filter.data is not 32-bit long"); + + /* check whether more than half of the bits are set */ + if (popcount32(&data32, 1) > sizeof(data32) * 8 / 2) { + /* show those bits that are NOT in the set */ + data32 = ~data32; + tprints("~"); + } + + /* next_set_bit operates on current_wordsize words */ + unsigned long data; + void *p; + if (current_wordsize > sizeof(data32)) { + data = data32; + p = &data; + } else { + p = &data32; + } + + tprint_bitset_begin(); + bool next = false; + for (int i = 0;; ++i) { + i = next_set_bit(p, i, sizeof(data32) * 8); + if (i < 0) + break; + if (next) + tprint_bitset_next(); + else + next = true; + printxval(icmp_filter_flags, i, "ICMP_???"); + } + tprint_bitset_end(); } static void @@ -810,16 +852,67 @@ case SO_ERROR: print_get_error(tcp, addr, rlen); return; + case SO_TXREHASH: + print_txrehash(tcp, addr, rlen); + return; + + /* All known int-like options */ + case SO_DEBUG: + case SO_REUSEADDR: + case SO_DONTROUTE: + case SO_BROADCAST: + case SO_SNDBUF: + case SO_RCVBUF: + case SO_KEEPALIVE: + case SO_OOBINLINE: + case SO_NO_CHECK: + case SO_PRIORITY: + case SO_BSDCOMPAT: + case SO_REUSEPORT: + case SO_PASSCRED: + case SO_RCVLOWAT: + case SO_SNDLOWAT: + case SO_DETACH_FILTER: + case SO_TIMESTAMP_OLD: + case SO_ACCEPTCONN: + case SO_SNDBUFFORCE: + case SO_RCVBUFFORCE: + case SO_PASSSEC: + case SO_TIMESTAMPNS_OLD: + case SO_MARK: + case SO_TIMESTAMPING_OLD: + case SO_RXQ_OVFL: + case SO_WIFI_STATUS: + case SO_PEEK_OFF: + case SO_NOFCS: + case SO_LOCK_FILTER: + case SO_SELECT_ERR_QUEUE: + case SO_BUSY_POLL: + case SO_INCOMING_CPU: + case SO_CNX_ADVICE: + case SO_INCOMING_NAPI_ID: + case SO_ZEROCOPY: + case SO_TIMESTAMP_NEW: + case SO_TIMESTAMPNS_NEW: + case SO_TIMESTAMPING_NEW: + case SO_DETACH_REUSEPORT_BPF: + case SO_PREFER_BUSY_POLL: + case SO_BUSY_POLL_BUDGET: + case SO_RESERVE_MEM: + case SO_RCVMARK: + if (rlen >= (int) sizeof(int)) + printnum_int(tcp, addr, "%d"); + else + printstr_ex(tcp, addr, rlen, QUOTE_FORCE_HEX); + return; } break; case SOL_PACKET: switch (name) { -#ifdef PACKET_STATISTICS case PACKET_STATISTICS: print_tpacket_stats(tcp, addr, rlen); return; -#endif } break; @@ -837,7 +930,7 @@ uint32_t buf; print_array(tcp, addr, MIN(ulen, rlen) / sizeof(buf), &buf, sizeof(buf), - tfetch_mem, print_uint32_array_member, 0); + tfetch_mem, print_uint_array_member, 0); break; } default: @@ -930,7 +1023,6 @@ } } -#ifdef IP_ADD_MEMBERSHIP static void print_mreq(struct tcb *const tcp, const kernel_ulong_t addr, const int len) @@ -947,9 +1039,7 @@ tprint_struct_end(); } } -#endif /* IP_ADD_MEMBERSHIP */ -#ifdef IPV6_ADD_MEMBERSHIP static void print_mreq6(struct tcb *const tcp, const kernel_ulong_t addr, const int len) @@ -966,9 +1056,7 @@ tprint_struct_end(); } } -#endif /* IPV6_ADD_MEMBERSHIP */ -#ifdef PACKET_RX_RING static void print_tpacket_req(struct tcb *const tcp, const kernel_ulong_t addr, const int len) { @@ -989,10 +1077,8 @@ tprint_struct_end(); } } -#endif /* PACKET_RX_RING */ -#ifdef PACKET_ADD_MEMBERSHIP -# include "xlat/packet_mreq_type.h" +#include "xlat/packet_mreq_type.h" static void print_packet_mreq(struct tcb *const tcp, const kernel_ulong_t addr, const int len) @@ -1015,7 +1101,6 @@ tprint_struct_end(); } } -#endif /* PACKET_ADD_MEMBERSHIP */ static void print_setsockopt(struct tcb *const tcp, const unsigned int level, @@ -1036,65 +1121,100 @@ else printaddr(addr); return; + case SO_TXREHASH: + print_txrehash(tcp, addr, len); + return; + + /* All known int-like options */ + case SO_DEBUG: + case SO_REUSEADDR: + case SO_DONTROUTE: + case SO_BROADCAST: + case SO_SNDBUF: + case SO_RCVBUF: + case SO_KEEPALIVE: + case SO_OOBINLINE: + case SO_NO_CHECK: + case SO_PRIORITY: + case SO_BSDCOMPAT: + case SO_REUSEPORT: + case SO_PASSCRED: + case SO_RCVLOWAT: + case SO_SNDLOWAT: + case SO_DETACH_FILTER: + case SO_TIMESTAMP_OLD: + case SO_ACCEPTCONN: + case SO_SNDBUFFORCE: + case SO_RCVBUFFORCE: + case SO_PASSSEC: + case SO_TIMESTAMPNS_OLD: + case SO_MARK: + case SO_TIMESTAMPING_OLD: + case SO_RXQ_OVFL: + case SO_WIFI_STATUS: + case SO_PEEK_OFF: + case SO_NOFCS: + case SO_LOCK_FILTER: + case SO_SELECT_ERR_QUEUE: + case SO_BUSY_POLL: + case SO_INCOMING_CPU: + case SO_CNX_ADVICE: + case SO_INCOMING_NAPI_ID: + case SO_ZEROCOPY: + case SO_TIMESTAMP_NEW: + case SO_TIMESTAMPNS_NEW: + case SO_TIMESTAMPING_NEW: + case SO_DETACH_REUSEPORT_BPF: + case SO_PREFER_BUSY_POLL: + case SO_BUSY_POLL_BUDGET: + case SO_RESERVE_MEM: + case SO_RCVMARK: + if (len < (int) sizeof(int)) + printaddr(addr); + else + printnum_int(tcp, addr, "%d"); + return; } break; case SOL_IP: switch (name) { -#ifdef IP_ADD_MEMBERSHIP case IP_ADD_MEMBERSHIP: case IP_DROP_MEMBERSHIP: print_mreq(tcp, addr, len); return; -#endif /* IP_ADD_MEMBERSHIP */ -#ifdef MCAST_JOIN_GROUP case MCAST_JOIN_GROUP: case MCAST_LEAVE_GROUP: print_group_req(tcp, addr, len); return; -#endif /* MCAST_JOIN_GROUP */ } break; case SOL_IPV6: switch (name) { -#ifdef IPV6_ADD_MEMBERSHIP case IPV6_ADD_MEMBERSHIP: case IPV6_DROP_MEMBERSHIP: -# ifdef IPV6_JOIN_ANYCAST case IPV6_JOIN_ANYCAST: -# endif -# ifdef IPV6_LEAVE_ANYCAST case IPV6_LEAVE_ANYCAST: -# endif print_mreq6(tcp, addr, len); return; -#endif /* IPV6_ADD_MEMBERSHIP */ -#ifdef MCAST_JOIN_GROUP case MCAST_JOIN_GROUP: case MCAST_LEAVE_GROUP: print_group_req(tcp, addr, len); return; -#endif /* MCAST_JOIN_GROUP */ } break; case SOL_PACKET: switch (name) { -#ifdef PACKET_RX_RING case PACKET_RX_RING: -# ifdef PACKET_TX_RING case PACKET_TX_RING: -# endif print_tpacket_req(tcp, addr, len); return; -#endif /* PACKET_RX_RING */ -#ifdef PACKET_ADD_MEMBERSHIP case PACKET_ADD_MEMBERSHIP: case PACKET_DROP_MEMBERSHIP: print_packet_mreq(tcp, addr, len); return; -#endif /* PACKET_ADD_MEMBERSHIP */ } break;
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink.c -> _service:tar_scm:strace-6.1.tar.xz/src/netlink.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -180,7 +180,9 @@ printxval(xlat, subsys_id, dflt); - tprints("<<8|"); + tprint_shift(); + PRINT_VAL_U(8); + tprint_or(); if (subsys_id < ARRAY_SIZE(nf_nlmsg_types)) printxval(nf_nlmsg_typessubsys_id.xlat, msg_type, nf_nlmsg_typessubsys_id.dflt);
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink_inet_diag.c -> _service:tar_scm:strace-6.1.tar.xz/src/netlink_inet_diag.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -16,15 +16,31 @@ #include <linux/sock_diag.h> #include <linux/inet_diag.h> +#include <linux/mptcp.h> +#include <linux/tcp.h> +#include <linux/tls.h> #include "xlat/inet_diag_attrs.h" +#include "xlat/inet_diag_bpf_storage_attrs.h" +#include "xlat/inet_diag_bpf_storages_attrs.h" #include "xlat/inet_diag_bytecodes.h" #include "xlat/inet_diag_extended_flags.h" #include "xlat/inet_diag_req_attrs.h" +#include "xlat/inet_diag_shutdown_flags.h" +#include "xlat/inet_diag_ulp_info_attrs.h" +#include "xlat/inet_diag_ulp_info_mptcp_attrs.h" +#include "xlat/inet_diag_ulp_info_tls_attrs.h" + +#include "xlat/mptcp_subflow_flags.h" #include "xlat/tcp_states.h" #include "xlat/tcp_state_flags.h" +#include "xlat/tls_info_ciphers.h" +#include "xlat/tls_info_configs.h" +#include "xlat/tls_info_versions.h" + + void print_inet_diag_sockid(const struct inet_diag_sockid *id, const uint8_t family) { @@ -171,7 +187,10 @@ } static const nla_decoder_t inet_diag_req_nla_decoders = { - INET_DIAG_REQ_BYTECODE = decode_inet_diag_bc_op + INET_DIAG_REQ_NONE = NULL, + INET_DIAG_REQ_BYTECODE = decode_inet_diag_bc_op, + INET_DIAG_REQ_SK_BPF_STORAGES = NULL, /* no payload */ + INET_DIAG_REQ_PROTOCOL = decode_nla_ip_proto, }; static void @@ -306,6 +325,21 @@ return true; } +void +print_tcpvegas_info(struct tcb *tcp, const struct tcpvegas_info *const vegas, + const unsigned int len) +{ + MAYBE_PRINT_FIELD_LEN(tprint_struct_begin(), + *vegas, tcpv_enabled, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *vegas, tcpv_rttcnt, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *vegas, tcpv_rtt, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *vegas, tcpv_minrtt, len, PRINT_FIELD_U); + tprint_struct_end(); +} + static bool decode_tcpvegas_info(struct tcb *const tcp, const kernel_ulong_t addr, @@ -319,20 +353,52 @@ if (umove_or_printaddr(tcp, addr, &vegas)) return true; - tprint_struct_begin(); - PRINT_FIELD_U(vegas, tcpv_enabled); - tprint_struct_next(); - PRINT_FIELD_U(vegas, tcpv_rttcnt); - tprint_struct_next(); - PRINT_FIELD_U(vegas, tcpv_rtt); - tprint_struct_next(); - PRINT_FIELD_U(vegas, tcpv_minrtt); - tprint_struct_end(); + print_tcpvegas_info(tcp, &vegas, len); return true; } static bool +decode_diag_shutdown(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct decode_nla_xlat_opts opts = { + .xlat = inet_diag_shutdown_flags, + .dflt = "???_SHUTDOWN", + /* + * While these values are exposed to the user space all over + * the place, the associated RCV_SHUTDOWN/SEND_SHUTDOWN + * constants are not part of UAPI for whatever reason, + * hence we cannot print only the symbolic names. + */ + .style = xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE, + .size = 1, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +void +print_tcp_dctcp_info(struct tcb *tcp, const struct tcp_dctcp_info *const dctcp, + const unsigned int len) +{ + MAYBE_PRINT_FIELD_LEN(tprint_struct_begin(), + *dctcp, dctcp_enabled, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *dctcp, dctcp_ce_state, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *dctcp, dctcp_alpha, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *dctcp, dctcp_ab_ecn, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *dctcp, dctcp_ab_tot, len, PRINT_FIELD_U); + tprint_struct_end(); +} + +static bool decode_tcp_dctcp_info(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, @@ -345,21 +411,55 @@ if (umove_or_printaddr(tcp, addr, &dctcp)) return true; - tprint_struct_begin(); - PRINT_FIELD_U(dctcp, dctcp_enabled); - tprint_struct_next(); - PRINT_FIELD_U(dctcp, dctcp_ce_state); - tprint_struct_next(); - PRINT_FIELD_U(dctcp, dctcp_alpha); - tprint_struct_next(); - PRINT_FIELD_U(dctcp, dctcp_ab_ecn); - tprint_struct_next(); - PRINT_FIELD_U(dctcp, dctcp_ab_tot); - tprint_struct_end(); + print_tcp_dctcp_info(tcp, &dctcp, len); + + return true; +} + +static bool +print_sockaddr_array_member(struct tcb *const tcp, void *const elem_buf, + const size_t elem_size, void *const data) +{ + print_sockaddr(tcp, elem_buf, elem_size); + + return true; +} + +static bool +decode_nla_sockaddrs(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct sockaddr_storage sas; + const size_t nmemb = len / sizeof(sas); + + if (!nmemb) + return false; + + print_array(tcp, addr, nmemb, &sas, sizeof(sas), + tfetch_mem, print_sockaddr_array_member, 0); return true; } +void +print_tcp_bbr_info(struct tcb *tcp, const struct tcp_bbr_info *const bbr, + const unsigned int len) +{ + MAYBE_PRINT_FIELD_LEN(tprint_struct_begin(), + *bbr, bbr_bw_lo, len, PRINT_FIELD_X); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *bbr, bbr_bw_hi, len, PRINT_FIELD_X); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *bbr, bbr_min_rtt, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *bbr, bbr_pacing_gain, len, PRINT_FIELD_U); + MAYBE_PRINT_FIELD_LEN(tprint_struct_next(), + *bbr, bbr_cwnd_gain, len, PRINT_FIELD_U); + tprint_struct_end(); +} + static bool decode_tcp_bbr_info(struct tcb *const tcp, const kernel_ulong_t addr, @@ -373,39 +473,325 @@ if (umove_or_printaddr(tcp, addr, &bbr)) return true; + print_tcp_bbr_info(tcp, &bbr, len); + + return true; +} + +static bool +print_tcp_md5sig(struct tcb *const tcp, void *const elem_buf, + const size_t elem_size, void *const data) +{ + const struct tcp_diag_md5sig *const sig = + (const struct tcp_diag_md5sig *) elem_buf; + tprint_struct_begin(); - PRINT_FIELD_X(bbr, bbr_bw_lo); + PRINT_FIELD_XVAL(*sig, tcpm_family, addrfams, "AF_???"); tprint_struct_next(); - PRINT_FIELD_X(bbr, bbr_bw_hi); + PRINT_FIELD_U(*sig, tcpm_prefixlen); tprint_struct_next(); - PRINT_FIELD_U(bbr, bbr_min_rtt); + PRINT_FIELD_U(*sig, tcpm_keylen); tprint_struct_next(); - PRINT_FIELD_U(bbr, bbr_pacing_gain); + PRINT_FIELD_INET_ADDR(*sig, tcpm_addr, sig->tcpm_family); tprint_struct_next(); - PRINT_FIELD_U(bbr, bbr_cwnd_gain); + PRINT_FIELD_HEX_ARRAY_UPTO(*sig, tcpm_key, + MIN(sizeof(sig->tcpm_key), + sig->tcpm_keylen)); tprint_struct_end(); return true; } +static bool +decode_tcp_md5sig(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct tcp_diag_md5sig sig; + const size_t nmemb = len / sizeof(sig); + + if (!nmemb) + return false; + + print_array(tcp, addr, nmemb, &sig, sizeof(sig), + tfetch_mem, print_tcp_md5sig, 0); + + return true; +} + +static bool +decode_tls_version(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + .xlat = tls_info_versions, + .dflt = "TLS_???_VERSION", + .size = 2, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static bool +decode_tls_cipher(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + .xlat = tls_info_ciphers, + .dflt = "TLS_CIPHER_???", + .size = 2, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static bool +decode_tls_config(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + .xlat = tls_info_configs, + .dflt = "TLS_CONF_???", + .size = 2, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static const nla_decoder_t diag_ulp_info_tls_nla_decoders = { + TLS_INFO_UNSPEC = NULL, + TLS_INFO_VERSION = decode_tls_version, + TLS_INFO_CIPHER = decode_tls_cipher, + TLS_INFO_TXCONF = decode_tls_config, + TLS_INFO_RXCONF = decode_tls_config, + TLS_INFO_ZC_RO_TX = NULL, /* flag nlattr, no payload */ + TLS_INFO_RX_NO_PAD = NULL, /* flag nlattr, no payload */ +}; + +static bool +decode_diag_ulp_info_tls(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, inet_diag_ulp_info_tls_attrs, + "TLS_INFO_???", + ARRSZ_PAIR(diag_ulp_info_tls_nla_decoders), NULL); + + return true; +} + +static bool +decode_mptcp_subflow_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + .xlat = mptcp_subflow_flags, + .dflt = "MPTCP_SUBFLOW_FLAG_???", + .size = 4, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static const nla_decoder_t diag_ulp_info_mptcp_nla_decoders = { + MPTCP_SUBFLOW_ATTR_UNSPEC = NULL, + MPTCP_SUBFLOW_ATTR_TOKEN_REM = decode_nla_x32, + MPTCP_SUBFLOW_ATTR_TOKEN_LOC = decode_nla_x32, + MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ = decode_nla_u32, + MPTCP_SUBFLOW_ATTR_MAP_SEQ = decode_nla_u64, + MPTCP_SUBFLOW_ATTR_MAP_SFSEQ = decode_nla_u32, + MPTCP_SUBFLOW_ATTR_SSN_OFFSET = decode_nla_u32, + MPTCP_SUBFLOW_ATTR_MAP_DATALEN = decode_nla_u16, + MPTCP_SUBFLOW_ATTR_FLAGS = decode_mptcp_subflow_flags, + MPTCP_SUBFLOW_ATTR_ID_REM = decode_nla_u8, + MPTCP_SUBFLOW_ATTR_ID_LOC = decode_nla_u8, + MPTCP_SUBFLOW_ATTR_PAD = NULL, +}; + +static bool +decode_diag_ulp_info_mptcp(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, inet_diag_ulp_info_mptcp_attrs, + "MPTCP_SUBFLOW_ATTR_???", + ARRSZ_PAIR(diag_ulp_info_mptcp_nla_decoders), NULL); + + return true; +} + +static const nla_decoder_t diag_ulp_info_nla_decoders = { + INET_ULP_INFO_UNSPEC = NULL, + INET_ULP_INFO_NAME = decode_nla_str, + /* + * In theory, the decoding of INTEL_ULP_* attributes depends + * on the value of INET_ULP_INFO_NAME attribute, but, luckily, + * all currently implemented ULPs that return information + * simply use their own attribute types. + */ + INET_ULP_INFO_TLS = decode_diag_ulp_info_tls, + INET_ULP_INFO_MPTCP = decode_diag_ulp_info_mptcp, +}; + +static bool +decode_diag_ulp_info(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, inet_diag_ulp_info_attrs, + "INET_ULP_INFO_???", + ARRSZ_PAIR(diag_ulp_info_nla_decoders), NULL); + + return true; +} + +static const nla_decoder_t diag_bpf_storage_nla_decoders = { + SK_DIAG_BPF_STORAGE_NONE = NULL, + SK_DIAG_BPF_STORAGE_PAD = NULL, + SK_DIAG_BPF_STORAGE_MAP_ID = decode_nla_u32, + SK_DIAG_BPF_STORAGE_MAP_VALUE = decode_nla_xint, +}; + +static bool +decode_diag_bpf_storage(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, inet_diag_bpf_storage_attrs, + "SK_DIAG_BPF_STORAGE_???", + ARRSZ_PAIR(diag_bpf_storage_nla_decoders), NULL); + + return true; +} + +static const nla_decoder_t diag_bpf_storages_nla_decoders = { + SK_DIAG_BPF_STORAGE_REP_NONE = NULL, + SK_DIAG_BPF_STORAGE = decode_diag_bpf_storage, +}; + +static bool +decode_diag_bpf_storages(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, inet_diag_bpf_storages_attrs, + "SK_DIAG_BPF_STORAGE_???", + ARRSZ_PAIR(diag_bpf_storages_nla_decoders), NULL); + + return true; +} + +static bool +decode_diag_sockopt(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + /* + * The own version of struct inet_diag_sockopt here since + * there is no trivial way to detect new bit fields and, as a result, + * shrinkage of the "unused" field. + */ + struct inet_diag_sockopt { + uint8_t recverr :1, + is_icsk :1, + freebind :1, + hdrincl :1, + mc_loop :1, + transparent :1, + mc_all :1, + nodefrag :1; + uint8_t bind_address_no_port :1, + recverr_rfc4884 :1, + defer_connect :1, + unused :5; + } sockopt; + + if (len < sizeof(sockopt)) + return false; + if (umove_or_printaddr(tcp, addr, &sockopt)) + return true; + + void (*delim_f)(void) = tprint_struct_begin; + +#define OPT_PRINT_FIELD_U(where_, field_) \ + do { \ + if (!abbrev(tcp) || ((where_).field_)) { \ + delim_f(); \ + delim_f = tprint_struct_next; \ + PRINT_FIELD_U_CAST((where_), field_, uint8_t); \ + } \ + } while (0) + + OPT_PRINT_FIELD_U(sockopt, recverr); + OPT_PRINT_FIELD_U(sockopt, is_icsk); + OPT_PRINT_FIELD_U(sockopt, freebind); + OPT_PRINT_FIELD_U(sockopt, hdrincl); + OPT_PRINT_FIELD_U(sockopt, mc_loop); + OPT_PRINT_FIELD_U(sockopt, transparent); + OPT_PRINT_FIELD_U(sockopt, mc_all); + OPT_PRINT_FIELD_U(sockopt, nodefrag); + OPT_PRINT_FIELD_U(sockopt, bind_address_no_port); + OPT_PRINT_FIELD_U(sockopt, recverr_rfc4884); + OPT_PRINT_FIELD_U(sockopt, defer_connect); + + if (!abbrev(tcp) || sockopt.unused) { + delim_f(); + delim_f = tprint_struct_next; + PRINT_FIELD_X_CAST(sockopt, unused, uint8_t); + tprints_comment("bits 3..8"); + } + + if (delim_f == tprint_struct_begin) + tprint_struct_begin(); + + tprint_struct_end(); + +#undef OPT_PRINT_FIELD_U + + print_nonzero_bytes(tcp, tprint_array_next, addr, sizeof(sockopt), + MIN(len, get_pagesize()), QUOTE_FORCE_HEX); + + return true; +} + static const nla_decoder_t inet_diag_msg_nla_decoders = { - INET_DIAG_MEMINFO = decode_inet_diag_meminfo, - INET_DIAG_INFO = NULL, /* unimplemented */ - INET_DIAG_VEGASINFO = decode_tcpvegas_info, - INET_DIAG_CONG = decode_nla_str, - INET_DIAG_TOS = decode_nla_u8, - INET_DIAG_TCLASS = decode_nla_u8, - INET_DIAG_SKMEMINFO = decode_nla_meminfo, - INET_DIAG_SHUTDOWN = decode_nla_u8, - INET_DIAG_DCTCPINFO = decode_tcp_dctcp_info, - INET_DIAG_PROTOCOL = decode_nla_u8, - INET_DIAG_SKV6ONLY = decode_nla_u8, - INET_DIAG_LOCALS = NULL, /* unimplemented */ - INET_DIAG_PEERS = NULL, /* unimplemented */ - INET_DIAG_PAD = NULL, - INET_DIAG_MARK = decode_nla_u32, - INET_DIAG_BBRINFO = decode_tcp_bbr_info, - INET_DIAG_CLASS_ID = decode_nla_u32 + INET_DIAG_MEMINFO = decode_inet_diag_meminfo, + INET_DIAG_INFO = NULL, /* unimplemented */ + INET_DIAG_VEGASINFO = decode_tcpvegas_info, + INET_DIAG_CONG = decode_nla_str, + INET_DIAG_TOS = decode_nla_u8, + INET_DIAG_TCLASS = decode_nla_u8, + INET_DIAG_SKMEMINFO = decode_nla_meminfo, + INET_DIAG_SHUTDOWN = decode_diag_shutdown, + INET_DIAG_DCTCPINFO = decode_tcp_dctcp_info, + INET_DIAG_PROTOCOL = decode_nla_ip_proto, + INET_DIAG_SKV6ONLY = decode_nla_u8, + INET_DIAG_LOCALS = decode_nla_sockaddrs, + INET_DIAG_PEERS = decode_nla_sockaddrs, + INET_DIAG_PAD = NULL, + INET_DIAG_MARK = decode_nla_u32, + INET_DIAG_BBRINFO = decode_tcp_bbr_info, + INET_DIAG_CLASS_ID = decode_nla_u32, + INET_DIAG_MD5SIG = decode_tcp_md5sig, + INET_DIAG_ULP_INFO = decode_diag_ulp_info, + INET_DIAG_SK_BPF_STORAGES = decode_diag_bpf_storages, + INET_DIAG_CGROUP_ID = decode_nla_u64, + INET_DIAG_SOCKOPT = decode_diag_sockopt, }; DECL_NETLINK_DIAG_DECODER(decode_inet_diag_msg)
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink_netlink_diag.c -> _service:tar_scm:strace-6.1.tar.xz/src/netlink_netlink_diag.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -60,12 +60,13 @@ const size_t elem_size, void *const opaque_data) { - if (elem_size < sizeof(kernel_ulong_t)) - tprintf("%#0*x", (int) elem_size * 2 + 2, - *(unsigned int *) elem_buf); - else - tprintf("%#0*" PRI_klx, (int) elem_size * 2 + 2, - *(kernel_ulong_t *) elem_buf); + if (elem_size < sizeof(kernel_ulong_t)) { + unsigned int val = *(unsigned int *) elem_buf; + PRINT_VAL_0X(val); + } else { + kernel_ulong_t val = *(kernel_ulong_t *) elem_buf; + PRINT_VAL_0X(val); + } return true; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink_route.c -> _service:tar_scm:strace-6.1.tar.xz/src/netlink_route.c
Changed
@@ -34,69 +34,86 @@ typedef DECL_NETLINK_ROUTE_DECODER((*netlink_route_decoder_t)); static const netlink_route_decoder_t route_decoders = { + RTM_NEWLINK - RTM_BASE = decode_ifinfomsg, RTM_DELLINK - RTM_BASE = decode_ifinfomsg, RTM_GETLINK - RTM_BASE = decode_ifinfomsg, - RTM_NEWLINK - RTM_BASE = decode_ifinfomsg, RTM_SETLINK - RTM_BASE = decode_ifinfomsg, + RTM_NEWADDR - RTM_BASE = decode_ifaddrmsg, RTM_DELADDR - RTM_BASE = decode_ifaddrmsg, RTM_GETADDR - RTM_BASE = decode_ifaddrmsg, - RTM_GETANYCAST - RTM_BASE = decode_ifaddrmsg, - RTM_GETMULTICAST - RTM_BASE = decode_ifaddrmsg, - RTM_NEWADDR - RTM_BASE = decode_ifaddrmsg, + RTM_NEWROUTE - RTM_BASE = decode_rtmsg, RTM_DELROUTE - RTM_BASE = decode_rtmsg, RTM_GETROUTE - RTM_BASE = decode_rtmsg, - RTM_NEWROUTE - RTM_BASE = decode_rtmsg, - - RTM_DELRULE - RTM_BASE = decode_fib_rule_hdr, - RTM_GETRULE - RTM_BASE = decode_fib_rule_hdr, - RTM_NEWRULE - RTM_BASE = decode_fib_rule_hdr, + RTM_NEWNEIGH - RTM_BASE = decode_ndmsg, RTM_DELNEIGH - RTM_BASE = decode_ndmsg, RTM_GETNEIGH - RTM_BASE = decode_rtm_getneigh, - RTM_NEWNEIGH - RTM_BASE = decode_ndmsg, - RTM_GETNEIGHTBL - RTM_BASE = decode_ndtmsg, - RTM_NEWNEIGHTBL - RTM_BASE = decode_ndtmsg, - RTM_SETNEIGHTBL - RTM_BASE = decode_ndtmsg, + RTM_NEWRULE - RTM_BASE = decode_fib_rule_hdr, + RTM_DELRULE - RTM_BASE = decode_fib_rule_hdr, + RTM_GETRULE - RTM_BASE = decode_fib_rule_hdr, + RTM_NEWQDISC - RTM_BASE = decode_tcmsg, RTM_DELQDISC - RTM_BASE = decode_tcmsg, RTM_GETQDISC - RTM_BASE = decode_tcmsg, - RTM_NEWQDISC - RTM_BASE = decode_tcmsg, + + RTM_NEWTCLASS - RTM_BASE = decode_tcmsg, RTM_DELTCLASS - RTM_BASE = decode_tcmsg, RTM_GETTCLASS - RTM_BASE = decode_tcmsg, - RTM_NEWTCLASS - RTM_BASE = decode_tcmsg, + + RTM_NEWTFILTER - RTM_BASE = decode_tcmsg, RTM_DELTFILTER - RTM_BASE = decode_tcmsg, RTM_GETTFILTER - RTM_BASE = decode_tcmsg, - RTM_NEWTFILTER - RTM_BASE = decode_tcmsg, + RTM_NEWACTION - RTM_BASE = decode_tcamsg, RTM_DELACTION - RTM_BASE = decode_tcamsg, RTM_GETACTION - RTM_BASE = decode_tcamsg, - RTM_NEWACTION - RTM_BASE = decode_tcamsg, + /* RTM_NEWPREFIX */ + + RTM_GETMULTICAST - RTM_BASE = decode_ifaddrmsg, + + RTM_GETANYCAST - RTM_BASE = decode_ifaddrmsg, + + RTM_NEWNEIGHTBL - RTM_BASE = decode_ndtmsg, + RTM_GETNEIGHTBL - RTM_BASE = decode_ndtmsg, + RTM_SETNEIGHTBL - RTM_BASE = decode_ndtmsg, + + /* RTM_NEWNDUSEROPT */ + + RTM_NEWADDRLABEL - RTM_BASE = decode_ifaddrlblmsg, RTM_DELADDRLABEL - RTM_BASE = decode_ifaddrlblmsg, RTM_GETADDRLABEL - RTM_BASE = decode_ifaddrlblmsg, - RTM_NEWADDRLABEL - RTM_BASE = decode_ifaddrlblmsg, RTM_GETDCB - RTM_BASE = decode_dcbmsg, RTM_SETDCB - RTM_BASE = decode_dcbmsg, + RTM_NEWNETCONF - RTM_BASE = decode_netconfmsg, RTM_DELNETCONF - RTM_BASE = decode_netconfmsg, RTM_GETNETCONF - RTM_BASE = decode_netconfmsg, - RTM_NEWNETCONF - RTM_BASE = decode_netconfmsg, + RTM_NEWMDB - RTM_BASE = decode_br_port_msg, RTM_DELMDB - RTM_BASE = decode_br_port_msg, RTM_GETMDB - RTM_BASE = decode_br_port_msg, - RTM_NEWMDB - RTM_BASE = decode_br_port_msg, - RTM_DELNSID - RTM_BASE = decode_rtgenmsg, - RTM_GETNSID - RTM_BASE = decode_rtgenmsg, - RTM_NEWNSID - RTM_BASE = decode_rtgenmsg, + RTM_NEWNSID - RTM_BASE = decode_nsid, + RTM_DELNSID - RTM_BASE = decode_nsid, + RTM_GETNSID - RTM_BASE = decode_nsid, + + RTM_NEWSTATS - RTM_BASE = decode_ifstatsmsg, + RTM_GETSTATS - RTM_BASE = decode_ifstatsmsg, + + RTM_NEWCACHEREPORT - RTM_BASE = decode_cachereport, RTM_NEWCHAIN - RTM_BASE = decode_tcmsg, RTM_DELCHAIN - RTM_BASE = decode_tcmsg, RTM_GETCHAIN - RTM_BASE = decode_tcmsg, + + RTM_NEWNEXTHOP - RTM_BASE = decode_nhmsg, + RTM_DELNEXTHOP - RTM_BASE = decode_nhmsg, + RTM_GETNEXTHOP - RTM_BASE = decode_nhmsg, }; bool
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink_route.h -> _service:tar_scm:strace-6.1.tar.xz/src/netlink_route.h
Changed
@@ -20,15 +20,18 @@ /* End of DECL_NETLINK_ROUTE_DECODER definition. */ extern DECL_NETLINK_ROUTE_DECODER(decode_br_port_msg); +extern DECL_NETLINK_ROUTE_DECODER(decode_cachereport); extern DECL_NETLINK_ROUTE_DECODER(decode_dcbmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_fib_rule_hdr); extern DECL_NETLINK_ROUTE_DECODER(decode_ifaddrlblmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_ifaddrmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_ifinfomsg); +extern DECL_NETLINK_ROUTE_DECODER(decode_ifstatsmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_ndmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_ndtmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_netconfmsg); -extern DECL_NETLINK_ROUTE_DECODER(decode_rtgenmsg); +extern DECL_NETLINK_ROUTE_DECODER(decode_nhmsg); +extern DECL_NETLINK_ROUTE_DECODER(decode_nsid); extern DECL_NETLINK_ROUTE_DECODER(decode_rtm_getneigh); extern DECL_NETLINK_ROUTE_DECODER(decode_rtmsg); extern DECL_NETLINK_ROUTE_DECODER(decode_tcamsg);
View file
_service:tar_scm:strace-5.14.tar.xz/src/netlink_smc_diag.c -> _service:tar_scm:strace-6.1.tar.xz/src/netlink_smc_diag.c
Changed
@@ -219,13 +219,11 @@ * net/smc/smc_clc.h */ tprint_struct_begin(); - tprints_field_name("reason"); - printxval_ex(smc_decl_codes, fb.reason, "SMC_CLC_DECL_???", - XLAT_STYLE_VERBOSE); + PRINT_FIELD_XVAL_VERBOSE(fb, reason, smc_decl_codes, + "SMC_CLC_DECL_???"); tprint_struct_next(); - tprints_field_name("peer_diagnosis"); - printxval_ex(smc_decl_codes, fb.peer_diagnosis, "SMC_CLC_DECL_???", - XLAT_STYLE_VERBOSE); + PRINT_FIELD_XVAL_VERBOSE(fb, peer_diagnosis, smc_decl_codes, + "SMC_CLC_DECL_???"); tprint_struct_end(); return true;
View file
_service:tar_scm:strace-5.14.tar.xz/src/nlattr.c -> _service:tar_scm:strace-6.1.tar.xz/src/nlattr.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -55,11 +55,11 @@ tprints_field_name("nla_type"); if (nla->nla_type & NLA_F_NESTED) { print_xlat(NLA_F_NESTED); - tprints("|"); + tprint_or(); } if (nla->nla_type & NLA_F_NET_BYTEORDER) { print_xlat(NLA_F_NET_BYTEORDER); - tprints("|"); + tprint_or(); } printxval(table, nla->nla_type & NLA_TYPE_MASK, dflt); tprint_struct_end(); @@ -115,7 +115,6 @@ { struct nlattr nla; bool is_array = false; - unsigned int elt; if (decoders && !size && opaque_data) error_func_msg("xlat %p, dflt \"%s\", decoders %p " @@ -124,7 +123,9 @@ "- will be ignored", table, dflt, decoders, opaque_data); - for (elt = 0; fetch_nlattr(tcp, &nla, addr, len, is_array); elt++) { + for (unsigned int elt = 0; + fetch_nlattr(tcp, &nla, addr, len, is_array); + ++elt) { if (abbrev(tcp) && elt == max_strlen) { tprint_more_data_follows(); break; @@ -199,7 +200,7 @@ unsigned int count = 0; print_array_ex(tcp, addr, nmemb, &mem, sizeof(mem), - tfetch_mem, print_uint32_array_member, &count, + tfetch_mem, print_uint_array_member, &count, PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, netlink_sk_meminfo_indices, "SK_MEMINFO_???"); @@ -248,6 +249,23 @@ } bool +decode_nla_clock_t(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + uint64_t val; + + if (len > sizeof(val)) + return false; + + if (!umoven_to_uint64_or_printaddr(tcp, addr, len, &val)) + print_clock_t(val); + + return true; +} + +bool decode_nla_ifindex(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, @@ -270,10 +288,7 @@ const void *const opaque_data) { const struct decode_nla_xlat_opts * const opts = opaque_data; - union { - uint64_t val; - uint8_t bytessizeof(uint64_t); - } data = { .val = 0 }; + uint64_t data; if (len > sizeof(data) || len < opts->size) return false; @@ -281,16 +296,14 @@ if (opts->size) len = MIN(len, opts->size); - const size_t bytes_offs = is_bigendian ? sizeof(data) - len : 0; - - if (!umoven_or_printaddr(tcp, addr, len, data.bytes + bytes_offs)) { + if (!umoven_to_uint64_or_printaddr(tcp, addr, len, &data)) { if (opts->process_fn) - data.val = opts->process_fn(data.val); - if (opts->prefix) - tprints(opts->prefix); - printxval_ex(opts->xlat, data.val, opts->dflt, opts->style); - if (opts->suffix) - tprints(opts->suffix); + data = opts->process_fn(data); + if (opts->fn_str) + tprints_arg_begin(opts->fn_str); + printxval_ex(opts->xlat, data, opts->dflt, opts->style); + if (opts->fn_str) + tprint_arg_end(); } return true; @@ -311,10 +324,9 @@ static const struct decode_nla_xlat_opts opts = { .xlat = ethernet_protocols, .dflt = "ETHER_P_???", - .prefix = "htons(", - .suffix = ")", .size = 2, .process_fn = process_host_order, + .fn_str = "htons", }; return decode_nla_xval(tcp, addr, len, &opts); @@ -329,7 +341,6 @@ static const struct decode_nla_xlat_opts opts = { .xlat = inet_protocols, .dflt = "IPPROTO_???", - .size = 1, }; return decode_nla_xval(tcp, addr, len, &opts); @@ -394,10 +405,7 @@ const void *const opaque_data) { const struct decode_nla_xlat_opts * const opts = opaque_data; - union { - uint64_t flags; - uint8_t bytessizeof(uint64_t); - } data = { .flags = 0 }; + uint64_t data; if (len > sizeof(data) || len < opts->size) return false; @@ -405,22 +413,46 @@ if (opts->size) len = MIN(len, opts->size); - const size_t bytes_offs = is_bigendian ? sizeof(data) - len : 0; - - if (!umoven_or_printaddr(tcp, addr, len, data.bytes + bytes_offs)) { + if (!umoven_to_uint64_or_printaddr(tcp, addr, len, &data)) { if (opts->process_fn) - data.flags = opts->process_fn(data.flags); - if (opts->prefix) - tprints(opts->prefix); - printflags_ex(data.flags, opts->dflt, opts->style, opts->xlat, - NULL); - if (opts->suffix) - tprints(opts->suffix); + data = opts->process_fn(data); + if (opts->fn_str) + tprints_arg_begin(opts->fn_str); + printflags_ex(data, opts->dflt, opts->style, opts->xlat, NULL); + if (opts->fn_str) + tprint_arg_end(); } return true; } +void +decode_nla_af_spec(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + uint8_t af, + const struct af_spec_decoder_desc *descs, + size_t desc_cnt) +{ + const struct af_spec_decoder_desc *const descs_end = descs + desc_cnt; + const struct af_spec_decoder_desc *desc = descs; + + for (; desc < descs_end; desc++) { + if (desc->af == af) + break; + } + + if (desc >= descs_end) { + printstr_ex(tcp, addr, len, QUOTE_FORCE_HEX); + + } else { + decode_nlattr(tcp, addr, len, + desc->xlat, desc->dflt, desc->table, desc->size, + NULL); + } +} + + bool decode_nla_be16(struct tcb *const tcp, const kernel_ulong_t addr, @@ -491,3 +523,24 @@ DECODE_NLA_INTEGER(s16, int16_t, "%" PRId16) DECODE_NLA_INTEGER(s32, int32_t, "%" PRId32) DECODE_NLA_INTEGER(s64, int64_t, "%" PRId64) + +bool +decode_nla_xint(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + nla_decoder_t f = NULL; + + switch (len) { + case sizeof(uint8_t): f = decode_nla_x8; break; + case sizeof(uint16_t): f = decode_nla_x16; break; + case sizeof(uint32_t): f = decode_nla_x32; break; + case sizeof(uint64_t): f = decode_nla_x64; break; + } + + if (f) + return f(tcp, addr, len, opaque_data); + + return false; +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/nlattr.h -> _service:tar_scm:strace-6.1.tar.xz/src/nlattr.h
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -16,8 +16,7 @@ const struct xlat *xlat; const char *dflt; enum xlat_style style; - const char *prefix; - const char *suffix; + const char *fn_str; uint64_t (*process_fn)(uint64_t val); size_t size; }; @@ -29,7 +28,8 @@ * between calls as an opaque data. */ struct ifla_linkinfo_ctx { - char kind16; + char kind64; + char slave_kind64; }; typedef bool (*nla_decoder_t)(struct tcb *, kernel_ulong_t addr, @@ -60,6 +60,7 @@ DECL_NLA(x16); DECL_NLA(x32); DECL_NLA(x64); +DECL_NLA(xint); DECL_NLA(u8); DECL_NLA(u16); DECL_NLA(u32); @@ -77,14 +78,18 @@ DECL_NLA(fd); DECL_NLA(uid); DECL_NLA(gid); +DECL_NLA(clock_t); DECL_NLA(ifindex); +DECL_NLA(ifla_af_spec); DECL_NLA(ether_proto); DECL_NLA(ip_proto); DECL_NLA(in_addr); DECL_NLA(in6_addr); +DECL_NLA(lwt_encap_type); DECL_NLA(meminfo); DECL_NLA(rt_class); DECL_NLA(rt_proto); +DECL_NLA(rtnl_link_stats64); DECL_NLA(tc_stats); # define NLA_HWADDR_FAMILY_OFFSET 1024 @@ -117,4 +122,30 @@ return decode_nla_hwaddr(tcp, addr, len, NULL); } +/* Common handling for AF_SPEC-type decoders */ + +struct af_spec_decoder_desc { + uint8_t af; + const struct xlat *xlat; + const char *dflt; + const nla_decoder_t *table; + size_t size; +}; + +/** + * Non-standard decoder for handling AF_SPEC-type netlink attributes. + * + * @param af Address family (AF_*), as passed to decoder in opaque_data + * parameter through zero-sized decoder table decode_nlattr + * hack. + * @param descs List of supported decoders. + * @param desc_cnt Number of items in descs. + */ +extern void decode_nla_af_spec(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + uint8_t af, + const struct af_spec_decoder_desc *descs, + size_t desc_cnt); + #endif /* !STRACE_NLATTR_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/numa.c -> _service:tar_scm:strace-6.1.tar.xz/src/numa.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2003-2007 Ulrich Drepper <drepper@redhat.com> * Copyright (c) 2005-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -13,11 +13,11 @@ print_node(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) { if (elem_size < sizeof(kernel_ulong_t)) { - tprintf("%#0*x", (int) elem_size * 2 + 2, - *(unsigned int *) elem_buf); + unsigned int val = *(unsigned int *) elem_buf; + PRINT_VAL_0X(val); } else { - tprintf("%#0*" PRI_klx, (int) elem_size * 2 + 2, - *(kernel_ulong_t *) elem_buf); + kernel_ulong_t val = *(kernel_ulong_t *) elem_buf; + PRINT_VAL_0X(val); } return true; @@ -96,7 +96,7 @@ tprint_comment_begin(); tprints(mode_str); - tprints("|"); + tprint_or(); printflags_ex(flags, NULL, XLAT_STYLE_ABBREV, mpol_mode_flags, NULL); if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) @@ -179,6 +179,26 @@ return 0; } +SYS_FUNC(set_mempolicy_home_node) +{ + /* start */ + printaddr(tcp->u_arg0); + tprint_arg_next(); + + /* len */ + PRINT_VAL_U(tcp->u_arg1); + tprint_arg_next(); + + /* home_node */ + PRINT_VAL_U(tcp->u_arg2); + tprint_arg_next(); + + /* flags */ + PRINT_VAL_X(tcp->u_arg3); + + return RVAL_DECODED; +} + #include "xlat/move_pages_flags.h" static bool @@ -228,7 +248,7 @@ /* nodes */ print_array(tcp, tcp->u_arg3, npages, &buf, sizeof(int), - tfetch_mem, print_int32_array_member, 0); + tfetch_mem, print_int_array_member, 0); tprint_arg_next(); } else { /* status */
View file
_service:tar_scm:strace-5.14.tar.xz/src/number_set.c -> _service:tar_scm:strace-6.1.tar.xz/src/number_set.c
Changed
@@ -116,9 +116,7 @@ void clear_number_set_array(struct number_set *const set, const unsigned int nmemb) { - unsigned int i; - - for (i = 0; i < nmemb; ++i) { + for (unsigned int i = 0; i < nmemb; ++i) { if (seti.nslots) memset(seti.vec, 0, sizeof(*seti.vec) * seti.nslots); @@ -129,9 +127,7 @@ void invert_number_set_array(struct number_set *const set, const unsigned int nmemb) { - unsigned int i; - - for (i = 0; i < nmemb; ++i) + for (unsigned int i = 0; i < nmemb; ++i) seti.not = !seti.not; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/number_set.h -> _service:tar_scm:strace-6.1.tar.xz/src/number_set.h
Changed
@@ -80,6 +80,13 @@ NUM_DECODE_FD_BITS }; +enum decode_pid_bits { + DECODE_PID_NS_TRANSLATION, + DECODE_PID_COMM, + + NUM_DECODE_PID_BITS +}; + extern bool quiet_set_updated; extern bool decode_fd_set_updated; @@ -89,6 +96,7 @@ extern struct number_set *status_set; extern struct number_set *quiet_set; extern struct number_set *decode_fd_set; +extern struct number_set *decode_pid_set; extern struct number_set *trace_set; #endif /* !STRACE_NUMBER_SET_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/open.c -> _service:tar_scm:strace-6.1.tar.xz/src/open.c
Changed
@@ -7,7 +7,7 @@ * Copyright (c) 2006-2007 Ulrich Drepper <drepper@redhat.com> * Copyright (c) 2009-2013 Denys Vlasenko <dvlasenk@redhat.com> * Copyright (c) 2005-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -16,6 +16,7 @@ #include "defs.h" #include "xstring.h" #include "kernel_fcntl.h" +#include "number_set.h" #include <linux/openat2.h> #include <linux/fcntl.h> @@ -29,10 +30,34 @@ void print_dirfd(struct tcb *tcp, int fd) { - if (fd == AT_FDCWD) + if (fd == AT_FDCWD) { print_xlat_d(AT_FDCWD); - else + + if (!is_number_in_set(DECODE_FD_PATH, decode_fd_set)) + goto done; + + int proc_pid = get_proc_pid(tcp->pid); + if (!proc_pid) + goto done; + + static const char cwd_path = "/proc/%u/cwd"; + char linkpathsizeof(cwd_path) + sizeof(int) * 3; + xsprintf(linkpath, cwd_path, proc_pid); + + char bufPATH_MAX; + ssize_t n = readlink(linkpath, buf, sizeof(buf)); + if ((size_t) n >= sizeof(buf)) + goto done; + + tprint_associated_info_begin(); + print_quoted_string_ex(buf, n, + QUOTE_OMIT_LEADING_TRAILING_QUOTES, + "<>"); + tprint_associated_info_end(); +done: ; + } else { printfd(tcp, fd); + } #ifdef ENABLE_SECONTEXT tcp->last_dirfd = fd; #endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/pathtrace.c -> _service:tar_scm:strace-6.1.tar.xz/src/pathtrace.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2011 Comtrol Corp. - * Copyright (c) 2011-2021 The strace developers. + * Copyright (c) 2011-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,7 +10,11 @@ #include "defs.h" #include <limits.h> #include <poll.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <unistd.h> +#include "largefile_wrappers.h" #include "number_set.h" #include "sen.h" #include "xstring.h" @@ -23,10 +27,8 @@ static bool pathmatch(const char *path, struct path_set *set) { - unsigned i; - - for (i = 0; i < set->num_selected; ++i) { - if (strcmp(path, set->paths_selectedi) == 0) + for (unsigned int i = 0; i < set->num_selected; ++i) { + if (strcmp(path, set->paths_selectedi.path) == 0) return true; } return false; @@ -72,14 +74,12 @@ xgrowarray(set->paths_selected, &set->size, sizeof(set->paths_selected0)); - set->paths_selectedset->num_selected++ = path; + set->paths_selectedset->num_selected++.path = path; } -/* - * Get path associated with fd of a process with pid. - */ int -getfdpath_pid(pid_t pid, int fd, char *buf, unsigned bufsize) +get_proc_pid_fd_path(int proc_pid, int fd, char *buf, unsigned bufsize, + bool *deleted) { char linkpathsizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3; ssize_t n; @@ -87,22 +87,72 @@ if (fd < 0) return -1; - int proc_pid = get_proc_pid(pid); - if (!proc_pid) - return -1; - xsprintf(linkpath, "/proc/%u/fd/%u", proc_pid, fd); n = readlink(linkpath, buf, bufsize - 1); + if (n < 0) + goto end; + /* * NB: if buf is too small, readlink doesn't fail, * it returns truncated result (IOW: n == bufsize - 1). */ - if (n >= 0) - bufn = '\0'; + bufn = '\0'; + if (deleted) + *deleted = false; + + /* + * Try to figure out if the kernel has appended " (deleted)" + * to the end of a potentially unlinked path and set deleted + * if it is the case. + */ + static const char del_sfx = " (deleted)"; + if ((size_t) n <= sizeof(del_sfx)) + goto end; + + char *del = buf + n + 1 - sizeof(del_sfx); + + if (memcmp(del, del_sfx, sizeof(del_sfx))) + goto end; + + strace_stat_t st_link; + strace_stat_t st_path; + int rc = stat_file(linkpath, &st_link); + + if (rc) + goto end; + + rc = lstat_file(buf, &st_path); + + if (rc || + (st_link.st_ino != st_path.st_ino) || + (st_link.st_dev != st_path.st_dev)) { + *del = '\0'; + n = del - buf + 1; + if (deleted) + *deleted = true; + } + +end: return n; } /* + * Get path associated with fd of a process with pid. + */ +int +getfdpath_pid(pid_t pid, int fd, char *buf, unsigned bufsize, bool *deleted) +{ + if (fd < 0) + return -1; + + int proc_pid = get_proc_pid(pid); + if (!proc_pid) + return -1; + + return get_proc_pid_fd_path(proc_pid, fd, buf, bufsize, deleted); +} + +/* * Add a path to the set we're tracing. Also add the canonicalized * version of the path. Specifying NULL will delete all paths. */ @@ -318,20 +368,17 @@ case SEN_ppoll_time64: { struct pollfd fds; - unsigned nfds; - kernel_ulong_t start, cur, end; - - start = tcp->u_arg0; - nfds = tcp->u_arg1; + const kernel_ulong_t start = tcp->u_arg0; + unsigned int nfds = tcp->u_arg1; if (nfds > 1024 * 1024) nfds = 1024 * 1024; - end = start + sizeof(fds) * nfds; + const kernel_ulong_t end = start + sizeof(fds) * nfds; if (nfds == 0 || end < start) return false; - for (cur = start; cur < end; cur += sizeof(fds)) { + for (kernel_ulong_t cur = start; cur < end; cur += sizeof(fds)) { if (umove(tcp, cur, &fds)) break; if (fdmatch(tcp, fds.fd, set))
View file
_service:tar_scm:strace-5.14.tar.xz/src/perf.c -> _service:tar_scm:strace-6.1.tar.xz/src/perf.c
Changed
@@ -2,7 +2,7 @@ * Copyright (c) 2013 Ben Noordhuis <info@bnoordhuis.nl> * Copyright (c) 2013-2015 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -159,7 +159,9 @@ tprints_field_name("config"); if (attr->config >> 32) { PRINT_VAL_X(attr->config >> 32); - tprints("<<32|"); + tprint_shift(); + PRINT_VAL_U(32); + tprint_or(); } printxval(perf_hw_id, attr->config & PERF_HW_EVENT_MASK, "PERF_COUNT_HW_???"); @@ -190,19 +192,27 @@ tprints_field_name("config"); if (attr->config >> 32){ PRINT_VAL_X(attr->config >> 32); - tprints("<<32|"); + tprint_shift(); + PRINT_VAL_U(32); + tprint_or(); } if ((attr->config & PERF_HW_EVENT_MASK) >> 24) { PRINT_VAL_X((attr->config & PERF_HW_EVENT_MASK) >> 24); - tprints("<<24|"); + tprint_shift(); + PRINT_VAL_U(24); + tprint_or(); } printxval(perf_hw_cache_op_result_id, (attr->config >> 16) & 0xFF, "PERF_COUNT_HW_CACHE_RESULT_???"); - tprints("<<16|"); + tprint_shift(); + PRINT_VAL_U(16); + tprint_or(); printxval(perf_hw_cache_op_id, (attr->config >> 8) & 0xFF, "PERF_COUNT_HW_CACHE_OP_???"); - tprints("<<8|"); + tprint_shift(); + PRINT_VAL_U(8); + tprint_or(); printxval(perf_hw_cache_id, attr->config & 0xFF, "PERF_COUNT_HW_CACHE_???"); break;
View file
_service:tar_scm:strace-5.14.tar.xz/src/perf_ioctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/perf_ioctl.c
Changed
@@ -54,7 +54,7 @@ tprints_field_name("ids"); print_array(tcp, arg + offsetof(struct perf_event_query_bpf, ids), info, &info, sizeof(info), - tfetch_mem, print_uint32_array_member, NULL); + tfetch_mem, print_uint_array_member, NULL); tprint_struct_end();
View file
_service:tar_scm:strace-5.14.tar.xz/src/personality.c -> _service:tar_scm:strace-6.1.tar.xz/src/personality.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -18,12 +18,12 @@ if (entering(tcp)) { pers = tcp->u_arg0; if (0xffffffff == pers) { - tprints("0xffffffff"); + PRINT_VAL_X(0xffffffff); } else { printxval(personality_types, pers & PER_MASK, "PER_???"); pers &= ~PER_MASK; if (pers) { - tprints("|"); + tprint_or(); printflags(personality_flags, pers, NULL); } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/pidns.c -> _service:tar_scm:strace-6.1.tar.xz/src/pidns.c
Changed
@@ -23,6 +23,7 @@ #include <linux/nsfs.h> #include "largefile_wrappers.h" +#include "number_set.h" #include "trie.h" #include "xmalloc.h" #include "xstring.h" @@ -314,17 +315,17 @@ * Parameters for id translation */ struct translate_id_params { - /* The result (output) */ - int result_id; - /* The proc data of the process (output) */ - struct proc_data *pd; - /* The namespace to be translated from */ unsigned int from_ns; /* The id to be translated */ int from_id; /* The type of the id */ enum pid_type type; + + /* The result (output) */ + int result_id; + /* The proc data of the process (output) */ + struct proc_data *pd; }; /** @@ -471,11 +472,11 @@ } struct translate_id_params tip = { - .result_id = 0, - .pd = NULL, .from_ns = tcp ? get_ns(tcp) : get_our_ns(), .from_id = from_id, .type = type, + .result_id = 0, + .pd = NULL, }; if (!tip.from_ns) @@ -527,12 +528,22 @@ static void printpid_translation(struct tcb *tcp, int pid, enum pid_type type) { - if (!pidns_translation) - return; - - int strace_pid = translate_pid(tcp, pid, type, NULL); - if (strace_pid && strace_pid != pid) - tprintf_comment("%d in strace's PID NS", strace_pid); + bool print_ns_translation = + is_number_in_set(DECODE_PID_NS_TRANSLATION, decode_pid_set); + bool print_comm = + is_number_in_set(DECODE_PID_COMM, decode_pid_set) && + (type == PT_TID || type == PT_TGID); + + if (print_ns_translation || print_comm) { + int strace_pid = translate_pid(tcp, pid, type, NULL); + if (strace_pid) { + if (print_comm) + print_pid_comm(strace_pid); + if (print_ns_translation && strace_pid != pid) + tprintf_comment("%d in strace's PID NS", + strace_pid); + } + } } void
View file
_service:tar_scm:strace-5.14.tar.xz/src/poll.c -> _service:tar_scm:strace-6.1.tar.xz/src/poll.c
Changed
@@ -55,10 +55,9 @@ const unsigned long size = sizeof(fds) * nfds; const kernel_ulong_t start = tcp->u_arg0; const kernel_ulong_t end = start + size; - kernel_ulong_t cur; const unsigned int max_printed = abbrev(tcp) ? max_strlen : -1U; - unsigned int printed; + unsigned int printed = 0; static char outstr1024; char *outptr; @@ -77,7 +76,7 @@ outptr = outstr; - for (printed = 0, cur = start; cur < end; cur += sizeof(fds)) { + for (kernel_ulong_t cur = start; cur < end; cur += sizeof(fds)) { if (umove(tcp, cur, &fds) < 0) { if (outptr == outstr) *outptr++ = '';
View file
_service:tar_scm:strace-5.14.tar.xz/src/prctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/prctl.c
Changed
@@ -3,24 +3,17 @@ * Copyright (c) 1996-2000 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2005-2007 Roland McGrath <roland@redhat.com> * Copyright (c) 2008-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "defs.h" +#include "xstring.h" #include <linux/prctl.h> -#ifdef __ANDROID__ -# ifndef PR_SET_VMA -# define PR_SET_VMA 0x53564d41 /* "SVMA" */ -# endif -#endif - -#include "xstring.h" - #include "xlat/prctl_options.h" #include "xlat/pr_cap_ambient.h" #include "xlat/pr_dumpable.h" @@ -32,6 +25,8 @@ #include "xlat/pr_sched_core_cmds.h" #include "xlat/pr_sched_core_pidtypes.h" #include "xlat/pr_set_mm.h" +#include "xlat/pr_set_vma.h" +#include "xlat/pr_sme_vl_flags.h" #include "xlat/pr_spec_cmds.h" #include "xlat/pr_spec_get_store_bypass_flags.h" #include "xlat/pr_spec_set_store_bypass_flags.h" @@ -70,17 +65,73 @@ } static char * -sprint_sve_val(kernel_ulong_t arg) +sprint_sve_val(kernel_ulong_t arg, bool aux) { - static char outsizeof("PR_SVE_SET_VL_ONEXEC|PR_SVE_VL_INHERIT|0x") + - sizeof(kernel_ulong_t) * 2; + static char outsizeof("0x /* PR_SVE_SET_VL_ONEXEC|PR_SVE_VL_INHERIT" + "|0x|0x */") + sizeof(kernel_ulong_t) * 2 * 3; + + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW) { + if (aux) + return NULL; + + xsprintf(out, "%#" PRI_klx, arg); + + return out; + } kernel_ulong_t vl = arg & PR_SVE_VL_LEN_MASK; kernel_ulong_t flags = arg & ~PR_SVE_VL_LEN_MASK; - const char *flags_str = sprintflags("", pr_sve_vl_flags, flags); - xsprintf(out, "%s%s%#" PRI_klx, - flags_str ?: "", flags_str ? "|" : "", vl); + if (!flags && aux) + return NULL; + + const char *flags_str = sprintflags_ex("", pr_sve_vl_flags, flags, '\0', + XLAT_STYLE_ABBREV); + + if (!aux && flags && xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) + { + xsprintf(out, "%#" PRI_klx " /* %s%s%#" PRI_klx " */", + arg, flags_str ?: "", flags_str ? "|" : "", vl); + } else { + xsprintf(out, "%s%s%#" PRI_klx, + flags_str ?: "", flags_str ? "|" : "", vl); + } + + return out; +} + +static char * +sprint_sme_val(kernel_ulong_t arg, bool aux) +{ + static char outsizeof("0x /* PR_SME_SET_VL_ONEXEC|PR_SME_VL_INHERIT" + "|0x|0x */") + sizeof(kernel_ulong_t) * 2 * 3; + + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW) { + if (aux) + return NULL; + + xsprintf(out, "%#" PRI_klx, arg); + + return out; + } + + kernel_ulong_t vl = arg & PR_SME_VL_LEN_MASK; + kernel_ulong_t flags = arg & ~PR_SME_VL_LEN_MASK; + + if (!flags && aux) + return NULL; + + const char *flags_str = sprintflags_ex("", pr_sme_vl_flags, flags, '\0', + XLAT_STYLE_ABBREV); + + if (!aux && flags && xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) + { + xsprintf(out, "%#" PRI_klx " /* %s%s%#" PRI_klx " */", + arg, flags_str ?: "", flags_str ? "|" : "", vl); + } else { + xsprintf(out, "%s%s%#" PRI_klx, + flags_str ?: "", flags_str ? "|" : "", vl); + } return out; } @@ -235,7 +286,7 @@ case PR_SVE_SET_VL: if (entering(tcp)) { tprint_arg_next(); - tprints(sprint_sve_val(arg2)); + tprints(sprint_sve_val(arg2, false)); return 0; } ATTRIBUTE_FALLTHROUGH; @@ -246,9 +297,9 @@ if (syserror(tcp) || tcp->u_rval == 0) return 0; - tcp->auxstr = sprint_sve_val(tcp->u_rval); + tcp->auxstr = sprint_sve_val(tcp->u_rval, true); - return RVAL_STR; + return RVAL_HEX | RVAL_STR; case PR_GET_SPECULATION_CTRL: if (entering(tcp)) { @@ -264,6 +315,7 @@ switch (arg2) { case PR_SPEC_STORE_BYPASS: case PR_SPEC_INDIRECT_BRANCH: + case PR_SPEC_L1D_FLUSH: tcp->auxstr = sprintflags_ex("", pr_spec_get_store_bypass_flags, (kernel_ulong_t) tcp->u_rval, '\0', @@ -290,6 +342,24 @@ return RVAL_HEX | RVAL_STR; + case PR_SME_SET_VL: + if (entering(tcp)) { + tprint_arg_next(); + tprints(sprint_sme_val(arg2, false)); + return 0; + } + ATTRIBUTE_FALLTHROUGH; + + case PR_SME_GET_VL: + if (entering(tcp)) + break; + if (syserror(tcp) || tcp->u_rval == 0) + return 0; + + tcp->auxstr = sprint_sme_val(tcp->u_rval, true); + + return RVAL_HEX | RVAL_STR; + /* PR_TASK_PERF_EVENTS_* take no arguments. */ case PR_TASK_PERF_EVENTS_DISABLE: case PR_TASK_PERF_EVENTS_ENABLE: @@ -352,16 +422,12 @@ QUOTE_0_TERMINATED); return RVAL_DECODED; -#ifdef __ANDROID__ -# ifndef PR_SET_VMA_ANON_NAME -# define PR_SET_VMA_ANON_NAME 0 -# endif case PR_SET_VMA: + tprint_arg_next(); + printxval64(pr_set_vma, arg2, "PR_SET_VMA_???"); if (arg2 == PR_SET_VMA_ANON_NAME) { tprint_arg_next(); - print_xlat(PR_SET_VMA_ANON_NAME); - tprint_arg_next(); - PRINT_VAL_X(arg3); + printaddr(arg3); tprint_arg_next(); PRINT_VAL_U(arg4); tprint_arg_next(); @@ -369,10 +435,9 @@ } else { /* There are no other sub-options now, but there * might be in future... */ - print_prctl_args(tcp, 1); + print_prctl_args(tcp, 2); } return RVAL_DECODED; -#endif case PR_SET_MM: tprint_arg_next(); @@ -464,6 +529,7 @@ switch (arg2) { case PR_SPEC_STORE_BYPASS: case PR_SPEC_INDIRECT_BRANCH: + case PR_SPEC_L1D_FLUSH: printxval64(pr_spec_set_store_bypass_flags, arg3, "PR_SPEC_???"); break; @@ -571,6 +637,8 @@ #if defined X86_64 || defined X32 || defined I386 # include "xlat/archvals.h" +# include "xlat/x86_xfeature_bits.h" +# include "xlat/x86_xfeatures.h" SYS_FUNC(arch_prctl) { @@ -591,6 +659,60 @@ case ARCH_GET_CPUID: /* has no arguments */ return RVAL_DECODED; + + case ARCH_GET_XCOMP_SUPP: + case ARCH_GET_XCOMP_PERM: + case ARCH_GET_XCOMP_GUEST_PERM: + if (entering(tcp)) { + tprint_arg_next(); + } else { + uint64_t val; + + if (umove_or_printaddr(tcp, addr, &val)) + return 0; + + /* XFEATURE_MASK_* macros are not publicly exposed */ + tprint_indirect_begin(); + printflags_ex(val, "XFEATURE_MASK_???", + xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE, + x86_xfeatures, NULL); + tprint_indirect_end(); + } + + return 0; + + case ARCH_REQ_XCOMP_PERM: + case ARCH_REQ_XCOMP_GUEST_PERM: + if (entering(tcp)) { + /* XFEATURE_* enum is not publicly exposed */ + tprint_arg_next(); + printxvals_ex(addr, "XFEATURE_???", + xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE, + x86_xfeature_bits, NULL); + } else { + if (tcp->u_rval <= 0) + return 0; + + tcp->auxstr = sprintflags_ex("", x86_xfeatures, + (kernel_ulong_t) tcp->u_rval, '\0', + XLAT_STYLE_DEFAULT | SPFF_AUXSTR_MODE); + + return RVAL_HEX | RVAL_STR; + } + + return 0; + + /* default handling: print arg2 in hexadecimal on entering */ + case ARCH_SET_GS: + case ARCH_SET_FS: + case ARCH_SET_CPUID: + case ARCH_MAP_VDSO_X32: + case ARCH_MAP_VDSO_32: + case ARCH_MAP_VDSO_64: + default: + break; } tprint_arg_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_fields.h -> _service:tar_scm:strace-6.1.tar.xz/src/print_fields.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -13,276 +13,233 @@ # ifdef IN_STRACE -static inline void -tprint_struct_begin(void) -{ - tprints("{"); -} +# define STRACE_PRINTS(s_) tprints(s_) -static inline void -tprint_struct_next(void) -{ - tprints(", "); -} +/* + * The printf-like function to use in header files + * shared between strace and its tests. + */ +# define STRACE_PRINTF tprintf -static inline void -tprint_struct_end(void) -{ - tprints("}"); -} +# else /* !IN_STRACE */ -static inline void -tprint_array_begin(void) -{ - tprints(""); -} +# include <stdio.h> -static inline void -tprint_array_next(void) -{ - tprints(", "); -} +# define STRACE_PRINTS(s_) fputs((s_), stdout) -static inline void -tprint_array_end(void) -{ - tprints(""); -} +/* + * The printf-like function to use in header files + * shared between strace and its tests. + */ +# define STRACE_PRINTF printf -static inline void -tprint_array_index_begin(void) -{ - tprints(""); -} +# endif /* !IN_STRACE */ -static inline void -tprint_array_index_end(void) -{ - tprints(" = "); -} static inline void -tprint_arg_next(void) +tprint_struct_begin(void) { - tprints(", "); + STRACE_PRINTS("{"); } static inline void -tprint_arg_end(void) +tprint_struct_next(void) { - tprints(")"); + STRACE_PRINTS(", "); } static inline void -tprint_bitset_begin(void) +tprint_struct_end(void) { - tprints(""); + STRACE_PRINTS("}"); } static inline void -tprint_bitset_next(void) +tprint_union_begin(void) { - tprints(" "); + STRACE_PRINTS("{"); } static inline void -tprint_bitset_end(void) +tprint_union_next(void) { - tprints(""); + STRACE_PRINTS(", "); } static inline void -tprint_comment_begin(void) +tprint_union_end(void) { - tprints(" /* "); + STRACE_PRINTS("}"); } static inline void -tprint_comment_end(void) +tprint_array_begin(void) { - tprints(" */"); + STRACE_PRINTS(""); } static inline void -tprint_indirect_begin(void) +tprint_array_next(void) { - tprints(""); + STRACE_PRINTS(", "); } static inline void -tprint_indirect_end(void) +tprint_array_end(void) { - tprints(""); + STRACE_PRINTS(""); } static inline void -tprint_more_data_follows(void) +tprint_array_index_begin(void) { - tprints("..."); + STRACE_PRINTS(""); } static inline void -tprint_value_changed(void) +tprint_array_index_end(void) { - tprints(" => "); + STRACE_PRINTS("="); } static inline void -tprint_alternative_value(void) +tprint_arg_next(void) { - tprints(" or "); + STRACE_PRINTS(", "); } static inline void -tprint_unavailable(void) +tprint_arg_end(void) { - tprints("???"); + STRACE_PRINTS(")"); } -/* - * The printf-like function to use in header files - * shared between strace and its tests. - */ -# define STRACE_PRINTF tprintf - -# else /* !IN_STRACE */ - -# include <stdio.h> - static inline void -tprint_struct_begin(void) +tprint_bitset_begin(void) { - fputs("{", stdout); + STRACE_PRINTS(""); } static inline void -tprint_struct_next(void) +tprint_bitset_next(void) { - fputs(", ", stdout); + STRACE_PRINTS(" "); } static inline void -tprint_struct_end(void) +tprint_bitset_end(void) { - fputs("}", stdout); + STRACE_PRINTS(""); } static inline void -tprint_array_begin(void) +tprint_comment_begin(void) { - fputs("", stdout); + STRACE_PRINTS(" /* "); } static inline void -tprint_array_next(void) +tprint_comment_end(void) { - fputs(", ", stdout); + STRACE_PRINTS(" */"); } static inline void -tprint_array_end(void) +tprint_indirect_begin(void) { - fputs("", stdout); + STRACE_PRINTS(""); } static inline void -tprint_array_index_begin(void) +tprint_indirect_end(void) { - fputs("", stdout); + STRACE_PRINTS(""); } static inline void -tprint_array_index_end(void) +tprint_attribute_begin(void) { - fputs(" = ", stdout); + STRACE_PRINTS(""); } static inline void -tprint_arg_next(void) +tprint_attribute_end(void) { - fputs(", ", stdout); + STRACE_PRINTS(""); } static inline void -tprint_arg_end(void) +tprint_associated_info_begin(void) { - fputs(")", stdout); + STRACE_PRINTS("<"); } static inline void -tprint_bitset_begin(void) +tprint_associated_info_end(void) { - fputs("", stdout); + STRACE_PRINTS(">"); } static inline void -tprint_bitset_next(void) +tprint_more_data_follows(void) { - fputs(" ", stdout); + STRACE_PRINTS("..."); } static inline void -tprint_bitset_end(void) +tprint_value_changed(void) { - fputs("", stdout); + STRACE_PRINTS(" => "); } static inline void -tprint_comment_begin(void) +tprint_alternative_value(void) { - fputs(" /* ", stdout); + STRACE_PRINTS(" or "); } static inline void -tprint_comment_end(void) +tprint_unavailable(void) { - fputs(" */", stdout); + STRACE_PRINTS("???"); } static inline void -tprint_indirect_begin(void) +tprint_shift(void) { - fputs("", stdout); + STRACE_PRINTS("<<"); } static inline void -tprint_indirect_end(void) +tprint_or(void) { - fputs("", stdout); + STRACE_PRINTS("|"); } static inline void -tprint_more_data_follows(void) +tprint_plus(void) { - fputs("...", stdout); + STRACE_PRINTS("+"); } static inline void -tprint_value_changed(void) +tprint_space(void) { - fputs(" => ", stdout); + STRACE_PRINTS(" "); } static inline void -tprint_alternative_value(void) +tprint_null(void) { - fputs(" or ", stdout); + STRACE_PRINTS("NULL"); } static inline void -tprint_unavailable(void) +tprint_newline(void) { - fputs("???", stdout); + STRACE_PRINTS("\n"); } -/* - * The printf-like function to use in header files - * shared between strace and its tests. - */ -# define STRACE_PRINTF printf - -# endif /* !IN_STRACE */ - static inline void tprints_field_name(const char *name) { @@ -433,12 +390,40 @@ (dflt_)); \ } while (0) +# define PRINT_FIELD_FLAGS_VERBOSE(where_, field_, xlat_, dflt_) \ + do { \ + tprints_field_name(#field_); \ + printflags_ex(zero_extend_signed_to_ull((where_).field_), \ + (dflt_), \ + xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW \ + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE, \ + (xlat_), NULL); \ + } while (0) + # define PRINT_FIELD_XVAL(where_, field_, xlat_, dflt_) \ do { \ tprints_field_name(#field_); \ printxval64((xlat_), \ zero_extend_signed_to_ull((where_).field_), \ - (dflt_)); \ + (dflt_)); \ + } while (0) + +# define PRINT_FIELD_XVAL_VERBOSE(where_, field_, xlat_, dflt_) \ + do { \ + tprints_field_name(#field_); \ + printxval_ex((xlat_), \ + zero_extend_signed_to_ull((where_).field_), \ + (dflt_), \ + xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW \ + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE); \ + } while (0) + +# define PRINT_FIELD_XVAL_D(where_, field_, xlat_, dflt_) \ + do { \ + tprints_field_name(#field_); \ + printxval64_d((xlat_), \ + sign_extend_unsigned_to_ll((where_).field_), \ + (dflt_)); \ } while (0) # define PRINT_FIELD_XVAL_U(where_, field_, xlat_, dflt_) \ @@ -449,6 +434,17 @@ (dflt_)); \ } while (0) +# define PRINT_FIELD_XVAL_U_VERBOSE(where_, field_, xlat_, dflt_) \ + do { \ + tprints_field_name(#field_); \ + printxval_ex((xlat_), \ + zero_extend_signed_to_ull((where_).field_), \ + (dflt_), \ + (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW \ + ? XLAT_STYLE_RAW : XLAT_STYLE_VERBOSE) \ + | XLAT_STYLE_FMT_U); \ + } while (0) + # define PRINT_FIELD_ERR_D(where_, field_) \ do { \ tprints_field_name(#field_); \ @@ -488,6 +484,12 @@ PRINT_VAL_U((where_).field_); \ } while (0) +# define PRINT_FIELD_CLOCK_T(where_, field_) \ + do { \ + tprints_field_name(#field_); \ + print_clock_t((where_).field_); \ + } while (0) + # define PRINT_FIELD_STRING(where_, field_, len_, style_) \ do { \ tprints_field_name(#field_); \ @@ -517,6 +519,18 @@ (print_func_)); \ } while (0) +# define PRINT_FIELD_ARRAY_INDEXED(where_, field_, tcp_, print_func_, \ + ind_xlat_, ind_dflt_) \ + do { \ + tprints_field_name(#field_); \ + print_local_array_ex((tcp_), (where_).field_, \ + ARRAY_SIZE((where_).field_), \ + sizeof(((where_).field_)0), \ + (print_func_), \ + NULL, PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, \ + (ind_xlat_), (ind_dflt_)); \ + } while (0) + # define PRINT_FIELD_ARRAY_UPTO(where_, field_, \ upto_, tcp_, print_func_) \ do { \ @@ -534,6 +548,13 @@ QUOTE_FORCE_HEX); \ } while (0) +# define PRINT_FIELD_HEX_ARRAY_UPTO(where_, field_, upto_) \ + do { \ + tprints_field_name(#field_); \ + print_quoted_string((const char *)(where_).field_, \ + (upto_), QUOTE_FORCE_HEX); \ + } while (0) + # define PRINT_FIELD_INET_ADDR(where_, field_, af_) \ print_inet_addr((af_), &(where_).field_, \ sizeof((where_).field_), #field_) @@ -596,12 +617,41 @@ printfd((tcp_), (where_).field_); \ } while (0) +# define PRINT_FIELD_CHAR(where_, field_, flags_) \ + do { \ + tprints_field_name(#field_); \ + print_char((where_).field_, (flags_)); \ + } while (0) + # define PRINT_FIELD_TGID(where_, field_, tcp_) \ do { \ tprints_field_name(#field_); \ printpid((tcp_), (where_).field_, PT_TGID); \ } while (0) +# define PRINT_FIELD_SYSCALL_NAME(where_, field_, audit_arch_) \ + do { \ + tprints_field_name(#field_); \ + const char *nr_prefix_ = NULL; \ + const char *name = syscall_name_arch((where_).field_, \ + (audit_arch_), &nr_prefix_); \ + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_ABBREV \ + || !nr_prefix_) \ + PRINT_VAL_U((where_).field_); \ + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_RAW \ + || !name) \ + break; \ + if (!nr_prefix_ || \ + xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) \ + tprint_comment_begin(); \ + if (nr_prefix_) \ + tprints(nr_prefix_); \ + tprints(name); \ + if (!nr_prefix_ || \ + xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) \ + tprint_comment_end(); \ + } while (0) + # define PRINT_FIELD_MAC(where_, field_) \ PRINT_FIELD_MAC_SZ((where_), field_, ARRAY_SIZE((where_).field_)) @@ -623,6 +673,7 @@ (size_), (hwtype_)); \ } while (0) + # define PRINT_FIELD_OBJ_PTR(where_, field_, print_func_, ...) \ do { \ tprints_field_name(#field_); \ @@ -657,4 +708,24 @@ (print_func_)((tcp_), (where_).field_, ##__VA_ARGS__); \ } while (0) + +#define MAYBE_PRINT_FIELD_LEN(print_prefix_, where_, field_, \ + len_, print_func_, ...) \ + do { \ + unsigned int start = offsetof(typeof(where_), field_); \ + unsigned int end = start + sizeof((where_).field_); \ + if (len_ > start) { \ + print_prefix_; \ + if (len_ >= end) { \ + print_func_((where_), field_, \ + ##__VA_ARGS__); \ + } else { \ + tprints_field_name(#field_); \ + print_quoted_string( \ + (void *)&(where_).field_, \ + len_ - start, QUOTE_FORCE_HEX); \ + } \ + } \ + } while (0) + #endif /* !STRACE_PRINT_FIELDS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_group_req.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_group_req.c
Changed
@@ -8,17 +8,11 @@ #include "defs.h" #include <netinet/in.h> -#ifdef MCAST_JOIN_GROUP - # include DEF_MPERS_TYPE(struct_group_req) typedef struct group_req struct_group_req; -#endif /* MCAST_JOIN_GROUP */ - #include MPERS_DEFS -#ifdef MCAST_JOIN_GROUP - MPERS_PRINTER_DECL(void, print_group_req, struct tcb *const tcp, const kernel_ulong_t addr, const int len) { @@ -34,5 +28,3 @@ tprint_struct_end(); } } - -#endif /* MCAST_JOIN_GROUP */
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_ifindex.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_ifindex.c
Changed
@@ -13,7 +13,7 @@ # define INI_PFX "if_nametoindex(\"" # define INI_SFX "\")" -# define IFNAME_QUOTED_SZ (sizeof(IFNAMSIZ) * 4 + 3) +# define IFNAME_QUOTED_SZ (IFNAMSIZ * 4 + 3) const char * get_ifname(const unsigned int ifindex)
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_instruction_pointer.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_instruction_pointer.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -12,13 +12,16 @@ { kernel_ulong_t ip; + tprint_attribute_begin(); if (get_instruction_pointer(tcp, &ip)) { tprintf(current_wordsize == 4 - ? "%08" PRI_klx " " - : "%016" PRI_klx " ", ip); + ? "%08" PRI_klx + : "%016" PRI_klx, ip); } else { tprints(current_wordsize == 4 - ? "???????? " - : "???????????????? "); + ? "????????" + : "????????????????"); } + tprint_attribute_end(); + tprint_space(); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_mac.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_mac.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -44,6 +44,7 @@ ARPHRD_X25 = 0, /* ARPHRD_HWX25 - no actual devices in Linux */ ARPHRD_CAN = 0, + ARPHRD_MCTP = 1, ARPHRD_PPP = 0, /* ARPHRD_CISCO - no actual devices in Linux */ /* ARPHRD_LAPB - no actual devices in Linux */ @@ -90,7 +91,7 @@ DIAG_POP_IGNORE_OVERRIDE_INIT -const char * +static const char * sprint_mac_addr(const uint8_t addr, size_t size) { static char resMAX_ADDR_LEN * 3; @@ -125,7 +126,7 @@ ? tprints_comment : tprints)(sprint_mac_addr(addr, size)); } -const char * +static const char * sprint_hwaddr(const uint8_t hwaddr, size_t size, uint32_t devtype) { uint8_t sz = (devtype < ARRAY_SIZE(hwaddr_sizes))
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_statfs.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_statfs.c
Changed
@@ -19,7 +19,7 @@ struct tcb *const tcp) { tprint_struct_begin(); - PRINT_FIELD_ARRAY(*p, val, tcp, print_xint64_array_member); + PRINT_FIELD_ARRAY(*p, val, tcp, print_xint_array_member); tprint_struct_end(); } #endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_syscall_number.c -> _service:tar_scm:strace-6.1.tar.xz/src/print_syscall_number.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,9 +10,11 @@ void print_syscall_number(struct tcb *tcp) { - if (tcp->true_scno != (kernel_ulong_t) -1) { - tprintf("%4" PRI_klu " ", tcp->true_scno); - } else { - tprints("???? "); - } + tprint_attribute_begin(); + if (tcp->true_scno != (kernel_ulong_t) -1) + tprintf("%4" PRI_klu, tcp->true_scno); + else + tprint_unavailable(); + tprint_attribute_end(); + tprint_space(); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/print_utils.h -> _service:tar_scm:strace-6.1.tar.xz/src/print_utils.h
Changed
@@ -14,10 +14,37 @@ */ # define BYTE_HEX_CHARS(b_) \ hex_chars((uint8_t) (b_)) >> 4, hex_chars((uint8_t) (b_)) & 0xf -# define BYTE_HEX_CHARS_PRINTF(b_) \ - '\\', 'x', BYTE_HEX_CHARS(b_) -# define BYTE_HEX_CHARS_PRINTF_QUOTED(b_) \ - '\'', BYTE_HEX_CHARS_PRINTF(b_), '\'' + +/* Character classification utils */ + +static inline bool +is_print(uint8_t c) +{ + return (c >= ' ') && (c < 0x7f); +} + +/* Character printing functions */ + +/** @param unabbrev Whether to always print \ooo instead of \ooo. */ +static inline char * +sprint_byte_oct(char *s, uint8_t c, bool unabbrev) +{ + if (unabbrev) { + /* Print \ooo */ + *s++ = '0' + (c >> 6); + *s++ = '0' + ((c >> 3) & 0x7); + } else { + /* Print \ooo */ + if ((c >> 3) != 0) { + if ((c >> 6) != 0) + *s++ = '0' + (c >> 6); + *s++ = '0' + ((c >> 3) & 0x7); + } + } + *s++ = '0' + (c & 0x7); + + return s; +} static inline char * sprint_byte_hex(char *buf, uint8_t val) @@ -28,12 +55,57 @@ return buf; } -/* Character classification utils */ +/** Maximum number of characters emitted by sprint_char */ +# define SPRINT_CHAR_BUFSZ 7 -static inline bool -is_print(uint8_t c) +enum sprint_char_flag_bits { + SCF_QUOTES_BIT, + SCF_NUL_BIT, + SCF_ESC_WS_BIT, +}; + +enum sprint_char_flags { + FLAG(SCF_QUOTES), /**< Whether to emit quotes */ + FLAG(SCF_NUL), /**< Whether to terminate output with \0 */ + FLAG(SCF_ESC_WS), /**< Whether to print \t\n\v\f\r in symbolic form */ +}; + +/** Emits a character into buf (SPRINT_CHAR_BUFSZ max), returns new position. */ +static inline char * +sprint_char(char *buf, const unsigned char c, const enum sprint_char_flags f) { - return (c >= ' ') && (c < 0x7f); + if (f & SCF_QUOTES) + *buf++ = '\''; + + if (is_print(c)) { + if (c == '\'' || c == '\\') + *buf++ = '\\'; + *buf++ = c; + } else if ((f & SCF_ESC_WS) && (c >= '\t') && (c <= '\r')) { + static const char ws_chars = "tnvfr"; + + *buf++ = '\\'; + *buf++ = ws_charsc - '\t'; + } else { + *buf++ = '\\'; + *buf++ = 'x'; + buf = sprint_byte_hex(buf, c); + } + + if (f & SCF_QUOTES) + *buf++ = '\''; + if (f & SCF_NUL) + *buf++ = '\0'; + + return buf; } +# define print_char(c_, flags_) \ + do { \ + char bufSPRINT_CHAR_BUFSZ; \ + \ + sprint_char(buf, (c_), (flags_) | SCF_NUL); \ + tprints(buf); \ + } while (0) + #endif /* STRACE_PRINT_UTILS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/printsiginfo.c -> _service:tar_scm:strace-6.1.tar.xz/src/printsiginfo.c
Changed
@@ -7,7 +7,7 @@ * Copyright (c) 2013 Denys Vlasenko <vda.linux@googlemail.com> * Copyright (c) 2011-2015 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -22,8 +22,6 @@ #include MPERS_DEFS -#include "nr_prefix.c" - #ifndef IN_MPERS # include "printsiginfo.h" #endif @@ -45,10 +43,18 @@ #include "xlat/sigsys_codes.h" #include "xlat/sigtrap_codes.h" +#ifdef ALPHA +# include "xlat/alpha_trap_codes.h" +#endif + #ifdef SIGEMT # include "xlat/sigemt_codes.h" #endif +#ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS +# include "xlat/sigtrap_perf_flags.h" +#endif + #ifndef SI_FROMUSER # define SI_FROMUSER(sip) ((sip)->si_code <= 0) #endif @@ -74,75 +80,29 @@ static void print_si_code(const unsigned int si_code, const int si_signo) { - const char *code = xlookup(siginfo_codes, si_code); - - if (!code) { - switch (si_signo) { - case SIGTRAP: - code = xlookup(sigtrap_codes, si_code); - break; - case SIGCHLD: - code = xlookup(sigchld_codes, si_code); - break; - case SIGPOLL: - code = xlookup(sigpoll_codes, si_code); - break; - case SIGPROF: - code = xlookup(sigprof_codes, si_code); - break; - case SIGILL: - code = xlookup(sigill_codes, si_code); - break; + static const struct xlat * const si_codes = { + SIGTRAP = sigtrap_codes, + SIGCHLD = sigchld_codes, + SIGIO = sigpoll_codes, /* SIGPOLL */ + SIGPROF = sigprof_codes, + SIGILL = sigill_codes, #ifdef SIGEMT - case SIGEMT: - code = xlookup(sigemt_codes, si_code); - break; + SIGEMT = sigemt_codes, #endif - case SIGFPE: - code = xlookup(sigfpe_codes, si_code); - break; - case SIGSEGV: - code = xlookup(sigsegv_codes, si_code); - break; - case SIGBUS: - code = xlookup(sigbus_codes, si_code); - break; - case SIGSYS: - code = xlookup(sigsys_codes, si_code); - break; - } - } + SIGFPE = sigfpe_codes, + SIGSEGV = sigsegv_codes, + SIGBUS = sigbus_codes, + SIGSYS = sigsys_codes, + }; - print_xlat_ex(si_code, code, XLAT_STYLE_DEFAULT); -} + const char *code = xlookup(siginfo_codes, si_code); -#ifdef HAVE_SIGINFO_T_SI_SYSCALL -static void -print_si_syscall(const unsigned int scno) -{ - /* - * Note that we can safely use the personality set in - * current_personality here (and don't have to guess it - * based on X32_SYSCALL_BIT and si_arch, for example): - * - The signal is delivered as a result of seccomp - * filtering to the process executing forbidden - * syscall. - * - We have set the personality for the tracee during - * the syscall entering. - * - The current_personality is reliably switched in - * the next_event routine, it is set to the - * personality of the last call made (the one that - * triggered the signal delivery). - * - Looks like there are no other cases where SIGSYS - * is delivered from the kernel so far. - */ - const char *scname = syscall_name(shuffle_scno(scno)); - if (scname) - tprintf("%s%s", nr_prefix(scno), scname); - else - PRINT_VAL_U(scno); + if (!code && (unsigned int) si_signo < ARRAY_SIZE(si_codes) + && si_codessi_signo) + code = xlookup(si_codessi_signo, si_code); + + print_xlat_ex(si_code, code, XLAT_STYLE_DEFAULT); } -#endif static void print_si_info(struct tcb *tcp, const siginfo_t *sip) @@ -169,6 +129,12 @@ printsigval(sip); break; #endif + case SI_SIGIO: + tprint_struct_next(); + PRINT_FIELD_D(*sip, si_band); + tprint_struct_next(); + PRINT_FIELD_FD(*sip, si_fd, tcp); + break; default: printsigsource(tcp, sip); if (sip->si_ptr) @@ -187,20 +153,109 @@ PRINT_FIELD_OBJ_VAL(*sip, si_status, printsignal); } tprint_struct_next(); - PRINT_FIELD_U(*sip, si_utime); + PRINT_FIELD_CLOCK_T(*sip, si_utime); tprint_struct_next(); - PRINT_FIELD_U(*sip, si_stime); + PRINT_FIELD_CLOCK_T(*sip, si_stime); break; - case SIGILL: case SIGFPE: - case SIGSEGV: case SIGBUS: + case SIGILL: tprint_struct_next(); PRINT_FIELD_PTR(*sip, si_addr); +#if defined(SPARC) || defined(SPARC64) + tprint_struct_next(); + PRINT_FIELD_D(*sip, si_trapno); +#endif /* SPARC || SPARC64 */ break; - case SIGPOLL: + case SIGFPE: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_addr); +#ifdef ALPHA + tprint_struct_next(); + PRINT_FIELD_XVAL_D(*sip, si_trapno, alpha_trap_codes, + "GEN_???"); +#endif /* ALPHA */ + break; + case SIGBUS: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_addr); +#if !defined(BUS_OPFETCH) && defined(HAVE_SIGINFO_T_SI_ADDR_LSB) switch (sip->si_code) { - case POLL_IN: case POLL_OUT: case POLL_MSG: + case BUS_MCEERR_AR: + case BUS_MCEERR_AO: + tprint_struct_next(); + PRINT_FIELD_X(*sip, si_addr_lsb); + break; + } +#endif /* !BUS_OPFETCH && HAVE_SIGINFO_T_SI_ADDR_LSB */ + break; + case SIGSEGV: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_addr); +#if (!defined(SEGV_STACKFLOW) && defined(HAVE_SIGINFO_T_SI_LOWER)) \ + || (!defined(__SEGV_PSTKOVF) && defined(HAVE_SIGINFO_T_SI_PKEY)) + switch (sip->si_code) { +# if !defined(SEGV_STACKFLOW) && defined(HAVE_SIGINFO_T_SI_LOWER) + case SEGV_BNDERR: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_lower); + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_upper); + break; +# endif /* !SEGV_STACKFLOW && HAVE_SIGINFO_T_SI_LOWER */ +# if !defined(__SEGV_PSTKOVF) && defined(HAVE_SIGINFO_T_SI_PKEY) + case SEGV_PKUERR: + tprint_struct_next(); + PRINT_FIELD_U(*sip, si_pkey); + break; +# endif /* !__SEGV_PSTKOVF && HAVE_SIGINFO_T_SI_PKEY */ + } +#endif /* !SEGV_STACKFLOW && HAVE_SIGINFO_T_SI_LOWER + * || !__SEGV_PSTKOVF && HAVE_SIGINFO_T_SI_PKEY */ + break; + case SIGTRAP: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_addr); +#if defined(ALPHA) || defined(HAVE_SIGINFO_T_SI_PERF_DATA) + switch (sip->si_code) { +# ifdef ALPHA + case TRAP_UNK: + tprint_struct_next(); + PRINT_FIELD_XVAL_D(*sip, si_trapno, + alpha_trap_codes, "GEN_???"); + break; +# endif /* ALPHA */ +# ifdef HAVE_SIGINFO_T_SI_PERF_DATA + case TRAP_PERF: + tprint_struct_next(); + PRINT_FIELD_X(*sip, si_perf_data); +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + tprint_struct_next(); + PRINT_FIELD_XVAL(*sip, si_perf_type, + perf_type_id, "PERF_TYPE_???"); +# endif /* HAVE_SIGINFO_T_SI_PERF_TYPE */ +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + tprint_struct_next(); + PRINT_FIELD_FLAGS(*sip, si_perf_flags, + sigtrap_perf_flags, + "TRAP_PERF_FLAG_???"); +# endif /* HAVE_SIGINFO_T_SI_PERF_FLAGS */ +# endif /* HAVE_SIGINFO_T_SI_PERF_DATA */ + } +#endif /* ALPHA || HAVE_SIGINFO_T_SI_PERF_DATA */ + break; +#ifdef SIGEMT + case SIGEMT: + tprint_struct_next(); + PRINT_FIELD_PTR(*sip, si_addr); + break; +#endif + case SIGIO: /* SIGPOLL */ + switch (sip->si_code) { + case POLL_IN: case POLL_OUT: case POLL_MSG: + case POLL_ERR: case POLL_PRI: case POLL_HUP: tprint_struct_next(); PRINT_FIELD_D(*sip, si_band); + tprint_struct_next(); + PRINT_FIELD_FD(*sip, si_fd, tcp); break; } break; @@ -209,8 +264,8 @@ tprint_struct_next(); PRINT_FIELD_PTR(*sip, si_call_addr); tprint_struct_next(); - PRINT_FIELD_OBJ_VAL(*sip, si_syscall, - print_si_syscall); + PRINT_FIELD_SYSCALL_NAME(*sip, si_syscall, + sip->si_arch); tprint_struct_next(); PRINT_FIELD_XVAL(*sip, si_arch, audit_arch, "AUDIT_ARCH_???");
View file
_service:tar_scm:strace-5.14.tar.xz/src/ptp.c -> _service:tar_scm:strace-6.1.tar.xz/src/ptp.c
Changed
@@ -14,26 +14,59 @@ # include "xlat/ptp_extts_flags.h" # include "xlat/ptp_perout_flags.h" +# include "xlat/ptp_pin_funcs.h" static void -print_ptp_clock_time(const struct ptp_clock_time *const p) +print_ptp_clock_time(const struct ptp_clock_time *const p, bool rtc) { tprint_struct_begin(); PRINT_FIELD_D(*p, sec); tprint_struct_next(); PRINT_FIELD_U(*p, nsec); + if (p->reserved) { + tprint_struct_next(); + PRINT_FIELD_X(*p, reserved); + } tprint_struct_end(); - tprints_comment(sprinttime_nsec(p->sec, p->nsec)); + + if (rtc && xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW) + tprints_comment(sprinttime_nsec(p->sec, p->nsec)); } static bool print_ptp_clock_time_am(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) { - print_ptp_clock_time(elem_buf); + print_ptp_clock_time(elem_buf, true); return true; } +static bool +print_ptp_clock_time3_am(struct tcb *tcp, void *elem_buf, size_t elem_size, + void *data) +{ + const struct ptp_clock_time *const p = elem_buf; + + tprint_array_begin(); + print_ptp_clock_time(p, true); + tprint_array_next(); + print_ptp_clock_time(p + 1, true); + tprint_array_next(); + print_ptp_clock_time(p + 2, true); + tprint_array_end(); + + return true; +} + +#define PRINT_RSV(where_, field_) \ + do { \ + if (!IS_ARRAY_ZERO(where_.field_)) { \ + tprint_struct_next(); \ + PRINT_FIELD_ARRAY(where_, field_, tcp, \ + print_xint_array_member); \ + } \ + } while (0) + int ptp_ioctl(struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) @@ -42,18 +75,59 @@ return RVAL_DECODED; switch (code) { + case PTP_CLOCK_GETCAPS: + case PTP_CLOCK_GETCAPS2: { + struct ptp_clock_caps caps; + CHECK_TYPE_SIZE(caps.rsv, sizeof(unsigned int) * 12); + CHECK_IOCTL_SIZE(PTP_CLOCK_GETCAPS, 80); + CHECK_IOCTL_SIZE(PTP_CLOCK_GETCAPS2, 80); + + if (entering(tcp)) { + tprint_arg_next(); + return 0; + } + + if (umove_or_printaddr(tcp, arg, &caps)) + break; + + tprint_struct_begin(); + PRINT_FIELD_D(caps, max_adj); + tprint_struct_next(); + PRINT_FIELD_D(caps, n_alarm); + tprint_struct_next(); + PRINT_FIELD_D(caps, n_ext_ts); + tprint_struct_next(); + PRINT_FIELD_D(caps, n_per_out); + tprint_struct_next(); + PRINT_FIELD_D(caps, pps); + tprint_struct_next(); + PRINT_FIELD_D(caps, n_pins); + tprint_struct_next(); + PRINT_FIELD_D(caps, cross_timestamping); + tprint_struct_next(); + PRINT_FIELD_D(caps, adjust_phase); + PRINT_RSV(caps, rsv); + tprint_struct_end(); + break; + } + case PTP_EXTTS_REQUEST: case PTP_EXTTS_REQUEST2: { struct ptp_extts_request extts; + CHECK_TYPE_SIZE(extts.rsv, sizeof(unsigned int) * 2); + CHECK_IOCTL_SIZE(PTP_EXTTS_REQUEST, 16); + CHECK_IOCTL_SIZE(PTP_EXTTS_REQUEST2, 16); tprint_arg_next(); if (umove_or_printaddr(tcp, arg, &extts)) break; tprint_struct_begin(); - PRINT_FIELD_D(extts, index); + PRINT_FIELD_U(extts, index); tprint_struct_next(); PRINT_FIELD_FLAGS(extts, flags, ptp_extts_flags, "PTP_???"); + if (code == PTP_EXTTS_REQUEST2) + PRINT_RSV(extts, rsv); tprint_struct_end(); break; } @@ -61,20 +135,37 @@ case PTP_PEROUT_REQUEST: case PTP_PEROUT_REQUEST2: { struct ptp_perout_request perout; + CHECK_TYPE_SIZE(perout.rsv, sizeof(unsigned int) * 4); + CHECK_IOCTL_SIZE(PTP_PEROUT_REQUEST, 56); + CHECK_IOCTL_SIZE(PTP_PEROUT_REQUEST2, 56); tprint_arg_next(); if (umove_or_printaddr(tcp, arg, &perout)) break; tprint_struct_begin(); - PRINT_FIELD_OBJ_PTR(perout, start, print_ptp_clock_time); + if (perout.flags & PTP_PEROUT_PHASE) { + PRINT_FIELD_OBJ_PTR(perout, phase, print_ptp_clock_time, + false); + } else { + PRINT_FIELD_OBJ_PTR(perout, start, print_ptp_clock_time, + true); + } tprint_struct_next(); - PRINT_FIELD_OBJ_PTR(perout, period, print_ptp_clock_time); + PRINT_FIELD_OBJ_PTR(perout, period, print_ptp_clock_time, + false); tprint_struct_next(); - PRINT_FIELD_D(perout, index); + PRINT_FIELD_U(perout, index); tprint_struct_next(); PRINT_FIELD_FLAGS(perout, flags, ptp_perout_flags, - "PTP_???"); + "PTP_PEROUT_???"); + if (perout.flags & PTP_PEROUT_DUTY_CYCLE) { + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(perout, on, print_ptp_clock_time, + false); + } else if (code == PTP_PEROUT_REQUEST2) { + PRINT_RSV(perout, rsv); + } tprint_struct_end(); break; } @@ -82,12 +173,15 @@ case PTP_ENABLE_PPS: case PTP_ENABLE_PPS2: tprint_arg_next(); - PRINT_VAL_D(arg); + PRINT_VAL_X(arg); break; case PTP_SYS_OFFSET: case PTP_SYS_OFFSET2: { struct ptp_sys_offset sysoff; + CHECK_TYPE_SIZE(sysoff.rsv, sizeof(unsigned int) * 3); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET, 832); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET2, 832); if (entering(tcp)) { tprint_arg_next(); @@ -96,42 +190,145 @@ tprint_struct_begin(); PRINT_FIELD_U(sysoff, n_samples); + PRINT_RSV(sysoff, rsv); return 0; } else { - if (tfetch_mem(tcp, arg, sizeof(sysoff), &sysoff)) { + if (syserror(tcp)) { + /* ... */ + } else if (!umove(tcp, arg, &sysoff)) { unsigned int n_samples = - sysoff.n_samples > PTP_MAX_SAMPLES - ? PTP_MAX_SAMPLES : sysoff.n_samples; + MIN(sysoff.n_samples, PTP_MAX_SAMPLES); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(sysoff, ts, 2 * n_samples + 1, tcp, print_ptp_clock_time_am); + } else { + tprint_struct_next(); + tprint_unavailable(); } tprint_struct_end(); break; } } - case PTP_CLOCK_GETCAPS: - case PTP_CLOCK_GETCAPS2: { - struct ptp_clock_caps caps; - if (entering(tcp)) + case PTP_PIN_GETFUNC: + case PTP_PIN_GETFUNC2: + case PTP_PIN_SETFUNC: + case PTP_PIN_SETFUNC2: { + struct ptp_pin_desc pinfunc; + CHECK_TYPE_SIZE(pinfunc.rsv, sizeof(unsigned int) * 5); + CHECK_IOCTL_SIZE(PTP_PIN_GETFUNC, 96); + CHECK_IOCTL_SIZE(PTP_PIN_GETFUNC2, 96); + CHECK_IOCTL_SIZE(PTP_PIN_SETFUNC, 96); + CHECK_IOCTL_SIZE(PTP_PIN_SETFUNC2, 96); + + if (entering(tcp)) { + tprint_arg_next(); + + if (umove_or_printaddr(tcp, arg, &pinfunc)) + break; + + tprint_struct_begin(); + PRINT_FIELD_U(pinfunc, index); + + switch (code) { + case PTP_PIN_GETFUNC2: + PRINT_RSV(pinfunc, rsv); + ATTRIBUTE_FALLTHROUGH; + case PTP_PIN_GETFUNC: + return 0; + } + } else /* getter syscall exit */ { + if (syserror(tcp)) { + tprint_struct_end(); + break; + } + + if (umove(tcp, arg, &pinfunc) < 0) { + tprint_arg_next(); + tprint_unavailable(); + tprint_struct_end(); + break; + } + } + + /* setter syscall enter or getter syscall exit */ + switch (code) { + case PTP_PIN_GETFUNC: + case PTP_PIN_GETFUNC2: + tprint_struct_next(); + PRINT_FIELD_CSTRING(pinfunc, name); + } + tprint_struct_next(); + PRINT_FIELD_XVAL(pinfunc, func, ptp_pin_funcs, "PTP_PF_???"); + tprint_struct_next(); + PRINT_FIELD_U(pinfunc, chan); + if (code == PTP_PIN_SETFUNC2) { + PRINT_RSV(pinfunc, rsv); + } + tprint_struct_end(); + break; + } + + case PTP_SYS_OFFSET_PRECISE: + case PTP_SYS_OFFSET_PRECISE2: { + struct ptp_sys_offset_precise sysoff; + CHECK_TYPE_SIZE(sysoff.rsv, sizeof(unsigned int) * 4); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET_PRECISE, 64); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET_PRECISE2, 64); + + if (entering(tcp)) { + tprint_arg_next(); return 0; + } - tprint_arg_next(); - if (umove_or_printaddr(tcp, arg, &caps)) + if (umove_or_printaddr(tcp, arg, &sysoff)) break; tprint_struct_begin(); - PRINT_FIELD_D(caps, max_adj); - tprint_struct_next(); - PRINT_FIELD_D(caps, n_alarm); + PRINT_FIELD_OBJ_PTR(sysoff, device, print_ptp_clock_time, true); tprint_struct_next(); - PRINT_FIELD_D(caps, n_ext_ts); - tprint_struct_next(); - PRINT_FIELD_D(caps, n_per_out); + PRINT_FIELD_OBJ_PTR(sysoff, sys_realtime, print_ptp_clock_time, + true); tprint_struct_next(); - PRINT_FIELD_D(caps, pps); + PRINT_FIELD_OBJ_PTR(sysoff, sys_monoraw, print_ptp_clock_time, + false); + PRINT_RSV(sysoff, rsv); + tprint_struct_end(); + break; + } + + case PTP_SYS_OFFSET_EXTENDED: + case PTP_SYS_OFFSET_EXTENDED2: { + struct ptp_sys_offset_extended sysoff; + CHECK_TYPE_SIZE(sysoff.rsv, sizeof(unsigned int) * 3); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET_EXTENDED, 1216); + CHECK_IOCTL_SIZE(PTP_SYS_OFFSET_EXTENDED2, 1216); + + if (entering(tcp)) { + tprint_arg_next(); + if (umove_or_printaddr(tcp, arg, &sysoff)) + break; + + tprint_struct_begin(); + PRINT_FIELD_U(sysoff, n_samples); + PRINT_RSV(sysoff, rsv); + return 0; + } + + if (syserror(tcp)) { + /* ... */ + } else if (!umove(tcp, arg, &sysoff)) { + unsigned int n_samples = + MIN(sysoff.n_samples, PTP_MAX_SAMPLES); + tprint_struct_next(); + PRINT_FIELD_ARRAY_UPTO(sysoff, ts, + n_samples, tcp, + print_ptp_clock_time3_am); + } else { + tprint_struct_next(); + tprint_unavailable(); + } tprint_struct_end(); break; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/src/ptrace.c
Changed
@@ -8,7 +8,7 @@ * <barrow_dj@mail.yahoo.com,djbarrow@de.ibm.com> * Copyright (c) 2000 PocketPenguins Inc. Linux for Hitachi SuperH * port by Greg Banks <gbanks@pocketpenguins.com> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * * All rights reserved. * @@ -28,12 +28,19 @@ #include "xlat/nt_descriptor_types.h" #include "xlat/ptrace_cmds.h" +#include "xlat/compat_ptrace_cmds.h" #include "xlat/ptrace_setoptions_flags.h" #include "xlat/ptrace_peeksiginfo_flags.h" #define uoff(member) offsetof(struct user, member) #define XLAT_UOFF(member) { uoff(member), "offsetof(struct user, " #member ")" } +#ifdef COMPAT_PTRACE_GETREGS +# define HAVE_COMPAT_PTRACE_MACROS 1 +#else +# define HAVE_COMPAT_PTRACE_MACROS 0 +#endif + static const struct xlat_data struct_user_offsets_data = { #include "userent.h" { 0, 0 } @@ -66,11 +73,11 @@ if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) tprint_comment_begin(); - if (base_addr == addr) - tprints(str); - else - tprintf("%s + %" PRI_klu, - str, addr - (kernel_ulong_t) base_addr); + tprints(str); + if (base_addr != addr) { + tprint_plus(); + PRINT_VAL_U(addr - (kernel_ulong_t) base_addr); + } if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) tprint_comment_end(); @@ -256,6 +263,36 @@ # define regs_addr data #endif + /* COMPAT_PTRACE_* */ +#if HAVE_COMPAT_PTRACE_MACROS + if (current_personality != 1) { + switch (request) { + case COMPAT_PTRACE_GETREGS: + case COMPAT_PTRACE_SETREGS: + case COMPAT_PTRACE_GETFPREGS: + case COMPAT_PTRACE_SETFPREGS: + case COMPAT_PTRACE_GET_THREAD_AREA: + case COMPAT_PTRACE_SET_SYSCALL: + case COMPAT_PTRACE_GETVFPREGS: + case COMPAT_PTRACE_SETVFPREGS: + case COMPAT_PTRACE_GETHBPREGS: + case COMPAT_PTRACE_SETHBPREGS: + printxvals_ex(request, "COMPAT_PTRACE_???", + xlat_verbose(xlat_verbosity) + == XLAT_STYLE_RAW ? XLAT_STYLE_RAW + : XLAT_STYLE_VERBOSE, + compat_ptrace_cmds, NULL); + tprint_arg_next(); + printpid(tcp, pid, PT_TGID); + tprint_arg_next(); + printaddr(addr); + tprint_arg_next(); + printaddr(data); + return RVAL_DECODED; + } + } +#endif /* HAVE_COMPAT_PTRACE_MACROS */ + /* request */ printxval64(ptrace_cmds, request, "PTRACE_???");
View file
_service:tar_scm:strace-5.14.tar.xz/src/ptrace_syscall_info.c -> _service:tar_scm:strace-6.1.tar.xz/src/ptrace_syscall_info.c
Changed
@@ -272,34 +272,36 @@ static void print_psi_entry(const typeof_field(struct_ptrace_syscall_info, entry) *const p, - const kernel_ulong_t fetch_size, struct tcb *const tcp) + const kernel_ulong_t fetch_size, struct tcb *const tcp, + unsigned int arch) { tprint_struct_begin(); - PRINT_FIELD_U(*p, nr); + PRINT_FIELD_SYSCALL_NAME(*p, nr, arch); const kernel_ulong_t nargs = (fetch_size - offsetof(struct_ptrace_syscall_info, entry.args)) / sizeof(p->args0); if (nargs) { tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(*p, args, nargs, tcp, - print_xint64_array_member); + print_xint_array_member); } tprint_struct_end(); } static void print_psi_seccomp(const typeof_field(struct_ptrace_syscall_info, seccomp) *const p, - const kernel_ulong_t fetch_size, struct tcb *const tcp) + const kernel_ulong_t fetch_size, struct tcb *const tcp, + unsigned int arch) { tprint_struct_begin(); - PRINT_FIELD_U(*p, nr); + PRINT_FIELD_SYSCALL_NAME(*p, nr, arch); const kernel_ulong_t nargs = (fetch_size - offsetof(struct_ptrace_syscall_info, seccomp.args)) / sizeof(p->args0); if (nargs) { tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(*p, args, nargs, tcp, - print_xint64_array_member); + print_xint_array_member); } if (fetch_size >= expected_seccomp_size) { tprint_struct_next(); @@ -365,12 +367,14 @@ case PTRACE_SYSCALL_INFO_ENTRY: tprint_struct_next(); PRINT_FIELD_OBJ_PTR(info, entry, - print_psi_entry, fetch_size, tcp); + print_psi_entry, fetch_size, tcp, + info.arch); break; case PTRACE_SYSCALL_INFO_SECCOMP: tprint_struct_next(); PRINT_FIELD_OBJ_PTR(info, seccomp, - print_psi_seccomp, fetch_size, tcp); + print_psi_seccomp, fetch_size, tcp, + info.arch); break; case PTRACE_SYSCALL_INFO_EXIT: tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtc.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtc.c
Changed
@@ -18,12 +18,27 @@ #include MPERS_DEFS -#include "xlat/rtc_vl_flags.h" +typedef struct { + uint64_t param; + union { + uint64_t uvalue; + int64_t svalue; + uint64_t ptr; + }; + uint32_t index; + uint32_t __pad; +} struct_rtc_param; #define XLAT_MACROS_ONLY # include "xlat/rtc_ioctl_cmds.h" +# include "xlat/rtc_feature_bits.h" #undef XLAT_MACROS_ONLY +#include "xlat/rtc_vl_flags.h" +#include "xlat/rtc_params.h" +#include "xlat/rtc_features.h" +#include "xlat/rtc_backup_switch_modes.h" + static void print_rtc_time(struct tcb *tcp, const struct rtc_time *rt) { @@ -117,6 +132,49 @@ tprint_indirect_end(); } +static long +decode_rtc_param(struct tcb *const tcp, const kernel_ulong_t addr, const bool get) +{ + struct_rtc_param param; + + if (umove_or_printaddr(tcp, addr, ¶m)) + return RVAL_IOCTL_DECODED; + + tprint_struct_begin(); + if (entering(tcp)) + PRINT_FIELD_XVAL(param, param, rtc_params, "RTC_PARAM_???"); + if (entering(tcp) ^ get) { + if (entering(tcp)) + tprint_struct_next(); + switch (param.param) { + case RTC_PARAM_FEATURES: + PRINT_FIELD_FLAGS(param, uvalue, rtc_features, + "1<<RTC_FEATURE_???"); + break; + case RTC_PARAM_CORRECTION: + PRINT_FIELD_D(param, svalue); + break; + case RTC_PARAM_BACKUP_SWITCH_MODE: + PRINT_FIELD_XVAL(param, uvalue, rtc_backup_switch_modes, + "RTC_BSM_???"); + break; + default: + PRINT_FIELD_X(param, uvalue); + } + } + if (entering(tcp)) { + tprint_struct_next(); + PRINT_FIELD_U(param, index); + } + if (param.__pad) { + tprint_struct_next(); + PRINT_FIELD_X(param, __pad); + } + tprint_struct_end(); + + return entering(tcp) && get ? 0 : RVAL_IOCTL_DECODED; +} + MPERS_PRINTER_DECL(int, rtc_ioctl, struct tcb *const tcp, const unsigned int code, const kernel_ulong_t arg) { @@ -165,6 +223,13 @@ tprint_arg_next(); decode_rtc_vl(tcp, arg); break; + case RTC_PARAM_GET: + case RTC_PARAM_SET: + if (entering(tcp)) + tprint_arg_next(); + else + tprint_value_changed(); + return decode_rtc_param(tcp, arg, code == RTC_PARAM_GET); case RTC_AIE_ON: case RTC_AIE_OFF: case RTC_UIE_ON:
View file
_service:tar_scm:strace-6.1.tar.xz/src/rtnl_cachereport.c
Added
@@ -0,0 +1,100 @@ +/* + * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" +#include "netlink_route.h" +#include "nlattr.h" +#include "print_fields.h" + +#include "netlink.h" +#include <linux/mroute.h> +#include <linux/mroute6.h> +#include <linux/rtnetlink.h> + +#include "xlat/rtnl_ip6mra_creport_attr.h" +#include "xlat/rtnl_ip6mra_msg_types.h" +#include "xlat/rtnl_ipmra_creport_attr.h" +#include "xlat/rtnl_ipmra_msg_types.h" +#include "xlat/rtnl_family.h" + +static bool +decode_nla_ipmra_msg_type(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + const struct decode_nla_xlat_opts opts = { + .xlat = rtnl_ipmra_msg_types, + .dflt = "IGMPMSG_???", + .size = 1, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static const nla_decoder_t rtnl_creport_ipmra_decoders = { + IPMRA_CREPORT_UNSPEC = NULL, + IPMRA_CREPORT_MSGTYPE = decode_nla_ipmra_msg_type, + IPMRA_CREPORT_VIF_ID = decode_nla_u32, + IPMRA_CREPORT_SRC_ADDR = decode_nla_in_addr, + IPMRA_CREPORT_DST_ADDR = decode_nla_in_addr, + IPMRA_CREPORT_PKT = NULL, /* raw packet data */ + IPMRA_CREPORT_TABLE = decode_nla_u32, +}; + +static bool +decode_nla_ip6mra_msg_type(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + const struct decode_nla_xlat_opts opts = { + .xlat = rtnl_ip6mra_msg_types, + .dflt = "MRT6MSG_???", + .size = 1, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static const nla_decoder_t rtnl_creport_ip6mra_decoders = { + IP6MRA_CREPORT_UNSPEC = NULL, + IP6MRA_CREPORT_MSGTYPE = decode_nla_ip6mra_msg_type, + IP6MRA_CREPORT_MIF_ID = decode_nla_u32, + IP6MRA_CREPORT_SRC_ADDR = decode_nla_in6_addr, + IP6MRA_CREPORT_DST_ADDR = decode_nla_in6_addr, + IP6MRA_CREPORT_PKT = NULL, /* raw packet data */ +}; + +DECL_NETLINK_ROUTE_DECODER(decode_cachereport) +{ + static const struct af_spec_decoder_desc cachereport_descs = { + { RTNL_FAMILY_IPMR, + rtnl_ipmra_creport_attr, "IPMRA_CREPORT_???", + ARRSZ_PAIR(rtnl_creport_ipmra_decoders) }, + { RTNL_FAMILY_IP6MR, + rtnl_ip6mra_creport_attr, "IP6MRA_CREPORT_???", + ARRSZ_PAIR(rtnl_creport_ip6mra_decoders) }, + }; + + struct rtgenmsg rtgenmsg = { .rtgen_family = family }; + + tprint_struct_begin(); + tprints_field_name("rtgen_family"); + printxvals_ex(rtgenmsg.rtgen_family, "RTNL_FAMILY_???", + XLAT_STYLE_DEFAULT, rtnl_family, addrfams, NULL); + tprint_struct_end(); + + const size_t offset = NLMSG_ALIGN(sizeof(rtgenmsg)); + + if (len > offset) { + tprint_array_next(); + decode_nla_af_spec(tcp, addr + offset, len - offset, + rtgenmsg.rtgen_family, + ARRSZ_PAIR(cachereport_descs)); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_link.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_link.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -16,22 +16,38 @@ #include <netinet/in.h> #include <linux/rtnetlink.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> +#include <linux/if_bridge.h> #include "xlat/in6_addr_gen_mode.h" #include "xlat/inet_devconf_indices.h" #include "xlat/inet6_devconf_indices.h" #include "xlat/inet6_if_flags.h" +#include "xlat/rtnl_ifla_af_spec_bridge_attrs.h" +#include "xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h" #include "xlat/rtnl_ifla_af_spec_inet_attrs.h" #include "xlat/rtnl_ifla_af_spec_inet6_attrs.h" +#include "xlat/rtnl_ifla_af_spec_mctp_attrs.h" +#include "xlat/rtnl_ifla_bridge_flags.h" +#include "xlat/rtnl_ifla_bridge_modes.h" #include "xlat/rtnl_ifla_brport_attrs.h" +#include "xlat/rtnl_ifla_br_boolopts.h" +#include "xlat/rtnl_ifla_br_boolopt_flags.h" +#include "xlat/rtnl_ifla_br_mcast_querier_attrs.h" #include "xlat/rtnl_ifla_events.h" +#include "xlat/rtnl_ifla_ext_filter_flags.h" #include "xlat/rtnl_ifla_info_attrs.h" #include "xlat/rtnl_ifla_info_data_bridge_attrs.h" #include "xlat/rtnl_ifla_info_data_tun_attrs.h" #include "xlat/rtnl_ifla_port_attrs.h" #include "xlat/rtnl_ifla_proto_down_reason_attrs.h" +#include "xlat/rtnl_ifla_vf_info_attrs.h" +#include "xlat/rtnl_ifla_vf_link_states.h" #include "xlat/rtnl_ifla_vf_port_attrs.h" +#include "xlat/rtnl_ifla_vf_stats_attrs.h" +#include "xlat/rtnl_ifla_vf_vlan_list_attrs.h" +#include "xlat/rtnl_ifla_vfinfo_list_attrs.h" #include "xlat/rtnl_ifla_xdp_attached_mode.h" #include "xlat/rtnl_ifla_xdp_attrs.h" #include "xlat/rtnl_link_attrs.h" @@ -40,6 +56,10 @@ #include "xlat/tun_device_types.h" #include "xlat/xdp_flags.h" +#define XLAT_MACROS_ONLY +# include "xlat/addrfams.h" +#undef XLAT_MACROS_ONLY + static bool decode_ifla_hwaddr(struct tcb *const tcp, const kernel_ulong_t addr, @@ -142,7 +162,7 @@ else if (!umove_or_printaddr(tcp, addr, &id)) { tprint_struct_begin(); PRINT_FIELD_ARRAY(id, prio, tcp, - print_uint8_array_member); + print_uint_array_member); tprint_struct_next(); PRINT_FIELD_MAC(id, addr); tprint_struct_end(); @@ -172,9 +192,9 @@ IFLA_BRPORT_NO = decode_nla_u16, IFLA_BRPORT_TOPOLOGY_CHANGE_ACK = decode_nla_u8, IFLA_BRPORT_CONFIG_PENDING = decode_nla_u8, - IFLA_BRPORT_MESSAGE_AGE_TIMER = decode_nla_u64, - IFLA_BRPORT_FORWARD_DELAY_TIMER = decode_nla_u64, - IFLA_BRPORT_HOLD_TIMER = decode_nla_u64, + IFLA_BRPORT_MESSAGE_AGE_TIMER = decode_nla_clock_t, + IFLA_BRPORT_FORWARD_DELAY_TIMER = decode_nla_clock_t, + IFLA_BRPORT_HOLD_TIMER = decode_nla_clock_t, IFLA_BRPORT_FLUSH = NULL, IFLA_BRPORT_MULTICAST_ROUTER = decode_nla_u8, IFLA_BRPORT_PAD = NULL, @@ -182,7 +202,7 @@ IFLA_BRPORT_MCAST_TO_UCAST = decode_nla_u8, IFLA_BRPORT_VLAN_TUNNEL = decode_nla_u8, IFLA_BRPORT_BCAST_FLOOD = decode_nla_u8, - IFLA_BRPORT_GROUP_FWD_MASK = decode_nla_u16, + IFLA_BRPORT_GROUP_FWD_MASK = decode_nla_x16, IFLA_BRPORT_NEIGH_SUPPRESS = decode_nla_u8, IFLA_BRPORT_ISOLATED = decode_nla_u8, IFLA_BRPORT_BACKUP_PORT = decode_nla_ifindex, @@ -190,6 +210,132 @@ IFLA_BRPORT_MRP_IN_OPEN = decode_nla_u8, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT = decode_nla_u32, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = decode_nla_u32, + IFLA_BRPORT_LOCKED = decode_nla_u8, +}; + +static bool +decode_ifla_inet6_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + inet6_if_flags, "IF_???", + .size = 4, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static bool +decode_ifla_inet6_conf(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + int elem; + size_t cnt = len / sizeof(elem); + + if (!cnt) + return false; + + print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), + tfetch_mem, print_int_array_member, NULL, + PAF_PRINT_INDICES | XLAT_STYLE_FMT_D, + inet6_devconf_indices, "DEVCONF_???"); + + return true; +} + +static bool +decode_ifla_inet6_stats(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + uint64_t elem; + size_t cnt = len / sizeof(elem); + + if (!cnt) + return false; + + print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), + tfetch_mem, print_uint_array_member, NULL, + PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, + snmp_ip_stats, "IPSTATS_MIB_???"); + + return true; +} + +static bool +decode_ifla_inet6_cacheinfo(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_cacheinfo ci; + + if (len < sizeof(ci)) + return false; + else if (!umove_or_printaddr(tcp, addr, &ci)) { + tprint_struct_begin(); + PRINT_FIELD_U(ci, max_reasm_len); + tprint_struct_next(); + PRINT_FIELD_U(ci, tstamp); + tprint_struct_next(); + PRINT_FIELD_U(ci, reachable_time); + tprint_struct_next(); + PRINT_FIELD_U(ci, retrans_time); + tprint_struct_end(); + } + + return true; +} + +static bool +decode_ifla_inet6_icmp6_stats(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + uint64_t elem; + size_t cnt = len / sizeof(elem); + + if (!cnt) + return false; + + print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), + tfetch_mem, print_uint_array_member, NULL, + PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, + snmp_icmp6_stats, "ICMP6_MIB_???"); + + return true; +} + +static bool +decode_ifla_inet6_agm(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + in6_addr_gen_mode, "IN6_ADDR_GEN_MODE_???", + .size = 1, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static const nla_decoder_t ifla_inet6_nla_decoders = { + IFLA_INET6_FLAGS = decode_ifla_inet6_flags, + IFLA_INET6_CONF = decode_ifla_inet6_conf, + IFLA_INET6_STATS = decode_ifla_inet6_stats, + IFLA_INET6_MCAST = NULL, /* unused */ + IFLA_INET6_CACHEINFO = decode_ifla_inet6_cacheinfo, + IFLA_INET6_ICMP6STATS = decode_ifla_inet6_icmp6_stats, + IFLA_INET6_TOKEN = decode_nla_in6_addr, + IFLA_INET6_ADDR_GEN_MODE = decode_ifla_inet6_agm, + IFLA_INET6_RA_MTU = decode_nla_u32, }; static bool @@ -198,9 +344,21 @@ const unsigned int len, const void *const opaque_data) { - decode_nlattr(tcp, addr, len, rtnl_ifla_brport_attrs, - "IFLA_BRPORT_???", - ARRSZ_PAIR(ifla_brport_nla_decoders), opaque_data); + static const struct af_spec_decoder_desc protos = { + { AF_BRIDGE, rtnl_ifla_brport_attrs, "IFLA_BRPORT_???", + ARRSZ_PAIR(ifla_brport_nla_decoders) }, + /* + * For AF_INET6, it is the same as for IFLA_AF_SPEC, see + * the call sites of net/ipv6/addrconf.c:inet6_fill_ifla6_attrs. + */ + { AF_INET6, rtnl_ifla_af_spec_inet6_attrs, "IFLA_INET6_???", + ARRSZ_PAIR(ifla_inet6_nla_decoders) }, + }; + + const struct ifinfomsg *ifinfo = (const struct ifinfomsg *) opaque_data; + + decode_nla_af_spec(tcp, addr, len, + ifinfo->ifi_family, ARRSZ_PAIR(protos)); return true; } @@ -236,6 +394,26 @@ return true; } +static void +update_ctx_str(struct tcb *const tcp, + const kernel_ulong_t addr, const unsigned int len, + char *const str, const size_t sz) +{ + memset(str, '\0', sz); + + if (len >= sz) + return; + + if (umoven(tcp, addr, len, str) < 0 || strnlen(str, sz) > len) { + /* + * If we haven't seen NUL or an error occurred, set str + * to an empty string. + */ + str0 = '\0'; + return; + } +} + static bool decode_nla_linkinfo_kind(struct tcb *const tcp, const kernel_ulong_t addr, @@ -244,15 +422,7 @@ { struct ifla_linkinfo_ctx *ctx = (void *) opaque_data; - memset(ctx->kind, '\0', sizeof(ctx->kind)); - - if (umovestr(tcp, addr, sizeof(ctx->kind), ctx->kind) <= 0) { - /* - * If we haven't seen NUL or an error occurred, set kind to - * an empty string. - */ - ctx->kind0 = '\0'; - } + update_ctx_str(tcp, addr, len, ARRSZ_PAIR(ctx->kind)); printstr_ex(tcp, addr, len, QUOTE_0_TERMINATED); @@ -317,12 +487,61 @@ return false; } +static bool +decode_ifla_br_boolopt(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct br_boolopt_multi bom; + + if (len < sizeof(bom)) + return false; + + if (umoven_or_printaddr(tcp, addr, sizeof(bom), &bom)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_FLAGS(bom, optval, rtnl_ifla_br_boolopt_flags, + "1<<BR_BOOLOPT_???"); + tprint_struct_next(); + PRINT_FIELD_FLAGS(bom, optmask, rtnl_ifla_br_boolopt_flags, + "1<<BR_BOOLOPT_???"); + tprint_struct_end(); + + return true; +} + +static const nla_decoder_t ifla_br_mcast_querier_decoders = { + BRIDGE_QUERIER_UNSPEC = NULL, + BRIDGE_QUERIER_IP_ADDRESS = decode_nla_in_addr, + BRIDGE_QUERIER_IP_PORT = decode_nla_ifindex, + BRIDGE_QUERIER_IP_OTHER_TIMER = decode_nla_clock_t, + BRIDGE_QUERIER_PAD = NULL, + BRIDGE_QUERIER_IPV6_ADDRESS = decode_nla_in6_addr, + BRIDGE_QUERIER_IPV6_PORT = decode_nla_ifindex, + BRIDGE_QUERIER_IPV6_OTHER_TIMER = decode_nla_clock_t, +}; + +static bool +decode_ifla_br_mcast_qstate(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_br_mcast_querier_attrs, + "BRIDGE_QUERIER_???", + ARRSZ_PAIR(ifla_br_mcast_querier_decoders), opaque_data); + + return true; +} + static const nla_decoder_t ifla_info_data_bridge_nla_decoders = { IFLA_BR_UNSPEC = NULL, - IFLA_BR_FORWARD_DELAY = decode_nla_u32, - IFLA_BR_HELLO_TIME = decode_nla_u32, - IFLA_BR_MAX_AGE = decode_nla_u32, - IFLA_BR_AGEING_TIME = decode_nla_u32, + IFLA_BR_FORWARD_DELAY = decode_nla_clock_t, + IFLA_BR_HELLO_TIME = decode_nla_clock_t, + IFLA_BR_MAX_AGE = decode_nla_clock_t, + IFLA_BR_AGEING_TIME = decode_nla_clock_t, IFLA_BR_STP_STATE = decode_nla_u32, IFLA_BR_PRIORITY = decode_nla_u16, IFLA_BR_VLAN_FILTERING = decode_nla_u8, @@ -334,10 +553,10 @@ IFLA_BR_ROOT_PATH_COST = decode_nla_u32, IFLA_BR_TOPOLOGY_CHANGE = decode_nla_u8, IFLA_BR_TOPOLOGY_CHANGE_DETECTED = decode_nla_u8, - IFLA_BR_HELLO_TIMER = decode_nla_u64, - IFLA_BR_TCN_TIMER = decode_nla_u64, - IFLA_BR_TOPOLOGY_CHANGE_TIMER = decode_nla_u64, - IFLA_BR_GC_TIMER = decode_nla_u64, + IFLA_BR_HELLO_TIMER = decode_nla_clock_t, + IFLA_BR_TCN_TIMER = decode_nla_clock_t, + IFLA_BR_TOPOLOGY_CHANGE_TIMER = decode_nla_clock_t, + IFLA_BR_GC_TIMER = decode_nla_clock_t, IFLA_BR_GROUP_ADDR = decode_nla_hwaddr_nofamily, IFLA_BR_FDB_FLUSH = NULL, /* unspecified */ IFLA_BR_MCAST_ROUTER = decode_nla_u8, @@ -348,12 +567,12 @@ IFLA_BR_MCAST_HASH_MAX = decode_nla_u32, IFLA_BR_MCAST_LAST_MEMBER_CNT = decode_nla_u32, IFLA_BR_MCAST_STARTUP_QUERY_CNT = decode_nla_u32, - IFLA_BR_MCAST_LAST_MEMBER_INTVL = decode_nla_u64, - IFLA_BR_MCAST_MEMBERSHIP_INTVL = decode_nla_u64, - IFLA_BR_MCAST_QUERIER_INTVL = decode_nla_u64, - IFLA_BR_MCAST_QUERY_INTVL = decode_nla_u64, - IFLA_BR_MCAST_QUERY_RESPONSE_INTVL = decode_nla_u64, - IFLA_BR_MCAST_STARTUP_QUERY_INTVL = decode_nla_u64, + IFLA_BR_MCAST_LAST_MEMBER_INTVL = decode_nla_clock_t, + IFLA_BR_MCAST_MEMBERSHIP_INTVL = decode_nla_clock_t, + IFLA_BR_MCAST_QUERIER_INTVL = decode_nla_clock_t, + IFLA_BR_MCAST_QUERY_INTVL = decode_nla_clock_t, + IFLA_BR_MCAST_QUERY_RESPONSE_INTVL = decode_nla_clock_t, + IFLA_BR_MCAST_STARTUP_QUERY_INTVL = decode_nla_clock_t, IFLA_BR_NF_CALL_IPTABLES = decode_nla_u8, IFLA_BR_NF_CALL_IP6TABLES = decode_nla_u8, IFLA_BR_NF_CALL_ARPTABLES = decode_nla_u8, @@ -364,6 +583,8 @@ IFLA_BR_MCAST_IGMP_VERSION = decode_nla_u8, IFLA_BR_MCAST_MLD_VERSION = decode_nla_u8, IFLA_BR_VLAN_STATS_PER_PORT = decode_nla_u8, + IFLA_BR_MULTI_BOOLOPT = decode_ifla_br_boolopt, + IFLA_BR_MCAST_QUERIER_STATE = decode_ifla_br_mcast_qstate, }; static bool @@ -442,12 +663,59 @@ return false; } +static bool +decode_nla_linkinfo_slave_kind(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_linkinfo_ctx *ctx = (void *) opaque_data; + + update_ctx_str(tcp, addr, len, ARRSZ_PAIR(ctx->slave_kind)); + + printstr_ex(tcp, addr, len, QUOTE_0_TERMINATED); + + return true; +} + +static bool +decode_nla_linkinfo_slave_data_bridge(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_brport_attrs, + "IFLA_BRPORT_???", + ARRSZ_PAIR(ifla_brport_nla_decoders), + opaque_data); + + return true; +} + +static bool +decode_nla_linkinfo_slave_data(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_linkinfo_ctx *ctx = (void *) opaque_data; + nla_decoder_t func = NULL; + + if (!strcmp(ctx->slave_kind, "bridge")) + func = decode_nla_linkinfo_slave_data_bridge; + + if (func) + return func(tcp, addr, len, opaque_data); + + return false; +} + static const nla_decoder_t ifla_linkinfo_nla_decoders = { IFLA_INFO_KIND = decode_nla_linkinfo_kind, IFLA_INFO_DATA = decode_nla_linkinfo_data, IFLA_INFO_XSTATS = decode_nla_linkinfo_xstats, - IFLA_INFO_SLAVE_KIND = decode_nla_str, - IFLA_INFO_SLAVE_DATA = NULL, /* unimplemented */ + IFLA_INFO_SLAVE_KIND = decode_nla_linkinfo_slave_kind, + IFLA_INFO_SLAVE_DATA = decode_nla_linkinfo_slave_data, }; static bool @@ -466,56 +734,444 @@ } static bool -decode_rtnl_link_stats64(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_vf_mac(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - struct rtnl_link_stats64 st; - const unsigned int min_size = - offsetofend(struct rtnl_link_stats64, tx_compressed); - const unsigned int def_size = sizeof(st); - const unsigned int size = - (len >= def_size) ? def_size : - ((len == min_size) ? min_size : 0); + struct ifla_vf_mac ivm; - if (!size) + if (len < sizeof(ivm)) return false; + if (umove_or_printaddr(tcp, addr, &ivm)) + return true; - if (!umoven_or_printaddr(tcp, addr, size, &st)) { - tprint_struct_begin(); - PRINT_FIELD_U(st, rx_packets); - tprint_struct_next(); - PRINT_FIELD_U(st, tx_packets); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_bytes); - tprint_struct_next(); - PRINT_FIELD_U(st, tx_bytes); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, tx_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_dropped); - tprint_struct_next(); - PRINT_FIELD_U(st, tx_dropped); - tprint_struct_next(); - PRINT_FIELD_U(st, multicast); - tprint_struct_next(); - PRINT_FIELD_U(st, collisions); + tprint_struct_begin(); + PRINT_FIELD_U(ivm, vf); + tprint_struct_next(); + PRINT_FIELD_MAC(ivm, mac); + tprint_struct_end(); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_length_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_over_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_crc_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_frame_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_fifo_errors); - tprint_struct_next(); - PRINT_FIELD_U(st, rx_missed_errors); + return true; +} + +static bool +decode_ifla_vf_vlan(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_vlan ivv; + + if (len < sizeof(ivv)) + return false; + if (umove_or_printaddr(tcp, addr, &ivv)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivv, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivv, vlan); + tprint_struct_next(); + PRINT_FIELD_U(ivv, qos); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_tx_rate(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_tx_rate ivtr; + + if (len < sizeof(ivtr)) + return false; + if (umove_or_printaddr(tcp, addr, &ivtr)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivtr, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivtr, rate); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_spoofchk(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_spoofchk ivs; + + if (len < sizeof(ivs)) + return false; + if (umove_or_printaddr(tcp, addr, &ivs)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivs, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivs, setting); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_link_state(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_link_state ivls; + + if (len < sizeof(ivls)) + return false; + if (umove_or_printaddr(tcp, addr, &ivls)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivls, vf); + tprint_struct_next(); + PRINT_FIELD_XVAL(ivls, link_state, rtnl_ifla_vf_link_states, + "IFLA_VF_LINK_STATE_???"); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_rate(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_rate ivr; + + if (len < sizeof(ivr)) + return false; + if (umove_or_printaddr(tcp, addr, &ivr)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivr, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivr, min_tx_rate); + tprint_struct_next(); + PRINT_FIELD_U(ivr, max_tx_rate); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_rss_query_en(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_rss_query_en ivrqe; + + if (len < sizeof(ivrqe)) + return false; + if (umove_or_printaddr(tcp, addr, &ivrqe)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivrqe, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivrqe, setting); + tprint_struct_end(); + + return true; +} + +static const nla_decoder_t ifla_vf_stats_nla_decoders = { + IFLA_VF_STATS_RX_PACKETS = decode_nla_u64, + IFLA_VF_STATS_TX_PACKETS = decode_nla_u64, + IFLA_VF_STATS_RX_BYTES = decode_nla_u64, + IFLA_VF_STATS_TX_BYTES = decode_nla_u64, + IFLA_VF_STATS_BROADCAST = decode_nla_u64, + IFLA_VF_STATS_MULTICAST = decode_nla_u64, + IFLA_VF_STATS_PAD = NULL, + IFLA_VF_STATS_RX_DROPPED = decode_nla_u64, + IFLA_VF_STATS_TX_DROPPED = decode_nla_u64, +}; + +static bool +decode_ifla_vf_stats(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_vf_stats_attrs, + "IFLA_VF_STATS_???", + ARRSZ_PAIR(ifla_vf_stats_nla_decoders), + opaque_data); + + return true; +} + +static bool +decode_ifla_vf_trust(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_trust ivt; + + if (len < sizeof(ivt)) + return false; + if (umove_or_printaddr(tcp, addr, &ivt)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivt, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivt, setting); + tprint_struct_end(); + + return true; +} + +static bool +decode_ifla_vf_guid(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + /* + * This all is broken because struct ifla_vf_guid.guid is not naturally + * aligned; trying to handle both possible attribute sizes. + */ + union { + struct { + uint32_t vf; + uint64_t guid; + } ATTRIBUTE_PACKED ivg_32; + struct { + uint32_t vf; + uint64_t ATTRIBUTE_ALIGNED(8) guid; + } ivg_64; + } ivg; + + static_assert(sizeof(struct ifla_vf_guid) == sizeof(ivg.ivg_32) + || sizeof(struct ifla_vf_guid) == sizeof(ivg.ivg_64), + "Unexpected struct ifla_vf_guid size"); + CHECK_TYPE_SIZE(ivg.ivg_32, 12); + CHECK_TYPE_SIZE(ivg.ivg_64, 16); + + switch (len) { + case sizeof(ivg.ivg_32): + case sizeof(ivg.ivg_64): + break; + default: + return false; + } + + if (umoven_or_printaddr(tcp, addr, len, &ivg)) + return true; + + switch (len) { + case sizeof(ivg.ivg_32): + tprint_struct_begin(); + PRINT_FIELD_U(ivg.ivg_32, vf); + tprint_struct_next(); + PRINT_FIELD_X(ivg.ivg_32, guid); + tprint_struct_end(); + break; + + case sizeof(ivg.ivg_64): + tprint_struct_begin(); + PRINT_FIELD_U(ivg.ivg_64, vf); + tprint_struct_next(); + PRINT_FIELD_X(ivg.ivg_64, guid); + tprint_struct_end(); + break; + } + + return true; +} + +static bool +decode_ifla_vf_vlan_info(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_vlan_info ivvi; + + if (len < sizeof(ivvi)) + return false; + if (umove_or_printaddr(tcp, addr, &ivvi)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(ivvi, vf); + tprint_struct_next(); + PRINT_FIELD_U(ivvi, vlan); + tprint_struct_next(); + PRINT_FIELD_U(ivvi, qos); + tprint_struct_next(); + tprints_field_name("vlan_proto"); + tprints_arg_begin("htons"); + printxval(ethernet_protocols, ntohs(ivvi.vlan_proto), "ETH_P_???"); + tprint_arg_end(); + tprint_struct_end(); + + return true; +} + +static const nla_decoder_t ifla_vf_vlan_list_nla_decoders = { + IFLA_VF_VLAN_INFO_UNSPEC = NULL, + IFLA_VF_VLAN_INFO = decode_ifla_vf_vlan_info, +}; + +static bool +decode_ifla_vf_vlan_list(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_vf_vlan_list_attrs, + "IFLA_VF_VLAN_INFO_???", + ARRSZ_PAIR(ifla_vf_vlan_list_nla_decoders), + opaque_data); + + return true; +} + +static bool +decode_ifla_vf_broadcast(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct ifla_vf_broadcast ivb; + + if (len < sizeof(ivb)) + return false; + if (umove_or_printaddr(tcp, addr, &ivb)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_MAC(ivb, broadcast); + tprint_struct_end(); + + return true; +} + +static const nla_decoder_t ifla_vf_info_nla_decoders = { + IFLA_VF_UNSPEC = NULL, + IFLA_VF_MAC = decode_ifla_vf_mac, + IFLA_VF_VLAN = decode_ifla_vf_vlan, + IFLA_VF_TX_RATE = decode_ifla_vf_tx_rate, + IFLA_VF_SPOOFCHK = decode_ifla_vf_spoofchk, + IFLA_VF_LINK_STATE = decode_ifla_vf_link_state, + IFLA_VF_RATE = decode_ifla_vf_rate, + IFLA_VF_RSS_QUERY_EN = decode_ifla_vf_rss_query_en, + IFLA_VF_STATS = decode_ifla_vf_stats, + IFLA_VF_TRUST = decode_ifla_vf_trust, + IFLA_VF_IB_NODE_GUID = decode_ifla_vf_guid, + IFLA_VF_IB_PORT_GUID = decode_ifla_vf_guid, + IFLA_VF_VLAN_LIST = decode_ifla_vf_vlan_list, + IFLA_VF_BROADCAST = decode_ifla_vf_broadcast, +}; + +static bool +decode_ifla_vf_info(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_vf_info_attrs, + "IFLA_VF_???", ARRSZ_PAIR(ifla_vf_info_nla_decoders), + opaque_data); + + return true; +} + +static const nla_decoder_t ifla_vfinfo_list_nla_decoders = { + IFLA_VF_INFO_UNSPEC = NULL, + IFLA_VF_INFO = decode_ifla_vf_info, +}; + +static bool +decode_ifla_vfinfo_list(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_ifla_vfinfo_list_attrs, + "IFLA_VF_INFO_???", + ARRSZ_PAIR(ifla_vfinfo_list_nla_decoders), + opaque_data); + + return true; +} + +bool +decode_nla_rtnl_link_stats64(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct rtnl_link_stats64 st; + const unsigned int min_size = + offsetofend(struct rtnl_link_stats64, tx_compressed); + const unsigned int rx_nohandler_size = + offsetofend(struct rtnl_link_stats64, rx_nohandler); + const unsigned int def_size = sizeof(st); + const unsigned int size = + (len >= def_size) + ? def_size + : ((len == rx_nohandler_size) + ? rx_nohandler_size + : ((len == min_size) ? min_size : 0)); + + if (!size) + return false; + + if (!umoven_or_printaddr(tcp, addr, size, &st)) { + tprint_struct_begin(); + PRINT_FIELD_U(st, rx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_dropped); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_dropped); + tprint_struct_next(); + PRINT_FIELD_U(st, multicast); + tprint_struct_next(); + PRINT_FIELD_U(st, collisions); + + tprint_struct_next(); + PRINT_FIELD_U(st, rx_length_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_over_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_crc_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_frame_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_fifo_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_missed_errors); tprint_struct_next(); PRINT_FIELD_U(st, tx_aborted_errors); @@ -533,9 +1189,14 @@ tprint_struct_next(); PRINT_FIELD_U(st, tx_compressed); - if (len >= def_size) { + if (len >= rx_nohandler_size) { tprint_struct_next(); PRINT_FIELD_U(st, rx_nohandler); + + if (len >= def_size) { + tprint_struct_next(); + PRINT_FIELD_U(st, rx_otherhost_dropped); + } } tprint_struct_end(); } @@ -615,6 +1276,19 @@ } static bool +decode_ifla_ext_mask(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + rtnl_ifla_ext_filter_flags, "RTEXT_FILTER_???", .size = 4, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static bool decode_ifla_xdp_flags(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, @@ -699,7 +1373,7 @@ return false; print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), - tfetch_mem, print_int32_array_member, NULL, + tfetch_mem, print_int_array_member, NULL, PAF_PRINT_INDICES | XLAT_STYLE_FMT_D, inet_devconf_indices, "IPV4_DEVCONF_???"); @@ -710,181 +1384,186 @@ IFLA_INET_CONF = decode_ifla_inet_conf, }; +static const nla_decoder_t ifla_mctp_nla_decoders = { + IFLA_MCTP_UNSPEC = NULL, + IFLA_MCTP_NET = decode_nla_u32, +}; + static bool -decode_ifla_inet6_flags(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_af(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - static const struct decode_nla_xlat_opts opts = { - inet6_if_flags, "IF_???", - .size = 4, + static const struct af_spec_decoder_desc protos = { + { AF_INET, rtnl_ifla_af_spec_inet_attrs, "IFLA_INET_???", + ARRSZ_PAIR(ifla_inet_nla_decoders) }, + { AF_INET6, rtnl_ifla_af_spec_inet6_attrs, "IFLA_INET6_???", + ARRSZ_PAIR(ifla_inet6_nla_decoders) }, + { AF_MCTP, rtnl_ifla_af_spec_mctp_attrs, "IFLA_MCTP_???", + ARRSZ_PAIR(ifla_mctp_nla_decoders) }, }; - return decode_nla_flags(tcp, addr, len, &opts); + decode_nla_af_spec(tcp, addr, len, + (uintptr_t) opaque_data, ARRSZ_PAIR(protos)); + + return true; } static bool -decode_ifla_inet6_conf(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_bridge_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - int elem; - size_t cnt = len / sizeof(elem); - - if (!cnt) - return false; - - print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), - tfetch_mem, print_int32_array_member, NULL, - PAF_PRINT_INDICES | XLAT_STYLE_FMT_D, - inet6_devconf_indices, "DEVCONF_???"); + static const struct decode_nla_xlat_opts opts = { + rtnl_ifla_bridge_flags, "BRIDGE_FLAGS_???", .size = 2, + }; - return true; + return decode_nla_flags(tcp, addr, len, &opts); } static bool -decode_ifla_inet6_stats(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_bridge_mode(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - uint64_t elem; - size_t cnt = len / sizeof(elem); - - if (!cnt) - return false; - - print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), - tfetch_mem, print_uint64_array_member, NULL, - PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, - snmp_ip_stats, "IPSTATS_MIB_???"); + static const struct decode_nla_xlat_opts opts = { + rtnl_ifla_bridge_modes, "BRIDGE_MODE_???", .size = 2, + }; - return true; + return decode_nla_xval(tcp, addr, len, &opts); } static bool -decode_ifla_inet6_cacheinfo(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_bridge_vlan_info(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - struct { - uint32_t max_reasm_len; - uint32_t tstamp; - uint32_t reachable_time; - uint32_t retrans_time; - } ci; + struct bridge_vlan_info bvi; - if (len < sizeof(ci)) + if (len < sizeof(bvi)) return false; - else if (!umove_or_printaddr(tcp, addr, &ci)) { - tprint_struct_begin(); - PRINT_FIELD_U(ci, max_reasm_len); - tprint_struct_next(); - PRINT_FIELD_U(ci, tstamp); - tprint_struct_next(); - PRINT_FIELD_U(ci, reachable_time); - tprint_struct_next(); - PRINT_FIELD_U(ci, retrans_time); - tprint_struct_end(); + + if (umove_or_printaddr(tcp, addr, &bvi)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_FLAGS(bvi, flags, nl_bridge_vlan_flags, + "BRIDGE_VLAN_INFO_???"); + tprint_struct_next(); + PRINT_FIELD_U(bvi, vid); + tprint_struct_end(); + + if (len > sizeof(bvi)) { + tprint_array_next(); + printstr_ex(tcp, addr + sizeof(bvi), len - sizeof(bvi), + QUOTE_FORCE_HEX); } return true; } static bool -decode_ifla_inet6_icmp6_stats(struct tcb *const tcp, +decode_bridge_vlan_info_flags(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, const void *const opaque_data) { - uint64_t elem; - size_t cnt = len / sizeof(elem); - - if (!cnt) - return false; - - print_array_ex(tcp, addr, cnt, &elem, sizeof(elem), - tfetch_mem, print_uint64_array_member, NULL, - PAF_PRINT_INDICES | XLAT_STYLE_FMT_U, - snmp_icmp6_stats, "ICMP6_MIB_???"); - - return true; -} - -static bool -decode_ifla_inet6_agm(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) -{ static const struct decode_nla_xlat_opts opts = { - in6_addr_gen_mode, "IN6_ADDR_GEN_MODE_???", - .size = 1, + nl_bridge_vlan_flags, "BRIDGE_VLAN_INFO_???", .size = 2, }; - return decode_nla_xval(tcp, addr, len, &opts); + return decode_nla_flags(tcp, addr, len, &opts); } -static const nla_decoder_t ifla_inet6_nla_decoders = { - IFLA_INET6_FLAGS = decode_ifla_inet6_flags, - IFLA_INET6_CONF = decode_ifla_inet6_conf, - IFLA_INET6_STATS = decode_ifla_inet6_stats, - IFLA_INET6_MCAST = NULL, /* unused */ - IFLA_INET6_CACHEINFO = decode_ifla_inet6_cacheinfo, - IFLA_INET6_ICMP6STATS = decode_ifla_inet6_icmp6_stats, - IFLA_INET6_TOKEN = decode_nla_in6_addr, - IFLA_INET6_ADDR_GEN_MODE = decode_ifla_inet6_agm, -}; - -static const struct nla_decoder_table_desc { - const struct xlat *xlat; - const char *dflt; - const nla_decoder_t *table; - size_t size; -} ifla_af_spec_protos = { - AF_INET = { - rtnl_ifla_af_spec_inet_attrs, "IFLA_INET_???", - ARRSZ_PAIR(ifla_inet_nla_decoders), - }, - AF_INET6 = { - rtnl_ifla_af_spec_inet6_attrs, "IFLA_INET6_???", - ARRSZ_PAIR(ifla_inet6_nla_decoders), - }, +static const nla_decoder_t ifla_af_spec_bridge_vlan_tunnel_info_decoders = { + IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC = NULL, + IFLA_BRIDGE_VLAN_TUNNEL_ID = decode_nla_u32, + IFLA_BRIDGE_VLAN_TUNNEL_VID = decode_nla_u16, + IFLA_BRIDGE_VLAN_TUNNEL_FLAGS = decode_bridge_vlan_info_flags, }; static bool -decode_ifla_af(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +decode_ifla_bridge_vlan_tunnel_info(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { - uintptr_t proto = (uintptr_t) opaque_data; - const struct nla_decoder_table_desc *desc - = proto < ARRAY_SIZE(ifla_af_spec_protos) - ? ifla_af_spec_protos + proto : NULL; - - if (!desc || !desc->table) - return false; - decode_nlattr(tcp, addr, len, - desc->xlat, desc->dflt, desc->table, desc->size, NULL); + rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs, + "IFLA_BRIDGE_VLAN_TUNNEL_???", + ARRSZ_PAIR(ifla_af_spec_bridge_vlan_tunnel_info_decoders), + opaque_data); return true; } +static const nla_decoder_t ifla_af_spec_bridge_nla_decoders = { + IFLA_BRIDGE_FLAGS = decode_ifla_bridge_flags, + IFLA_BRIDGE_MODE = decode_ifla_bridge_mode, + IFLA_BRIDGE_VLAN_INFO = decode_ifla_bridge_vlan_info, + IFLA_BRIDGE_VLAN_TUNNEL_INFO = decode_ifla_bridge_vlan_tunnel_info, + IFLA_BRIDGE_MRP = NULL, /* unimplemented */ + IFLA_BRIDGE_CFM = NULL, /* unimplemented */ + IFLA_BRIDGE_MST = NULL, /* unimplemented */ +}; + +/** + * In a wonderful world of netlink interfaces (thanks, the author + * of Linux commit v3.8-rc1~139^2~542 who completely ignored the original + * IFLA_AF_SPEC attribute description provided in if_link.h since + * v2.6.38-rc1~476^2~532!), IFLA_AF_SPEC has different structure depending + * on context, cf. the original IFLA_AF_SPEC comment in if_link.h + * and the IFLA_AF_SPEC description in if_bridge.h: + * + * <if_link.h> + * IFLA_AF_SPEC + * Contains nested attributes for address family specific attributes. + * Each address family may create a attribute with the address family + * number as type and create its own attribute structure in it. + * + * Example: + * IFLA_AF_SPEC = { + * AF_INET = { + * IFLA_INET_CONF = ..., + * }, + * AF_INET6 = { + * IFLA_INET6_FLAGS = ..., + * IFLA_INET6_CONF = ..., + * } + * } + * + * <if_bridge.h> + * Bridge management nested attributes + * IFLA_AF_SPEC = { + * IFLA_BRIDGE_FLAGS + * IFLA_BRIDGE_MODE + * IFLA_BRIDGE_VLAN_INFO + * } + */ static bool decode_ifla_af_spec(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, const void *const opaque_data) { - nla_decoder_t af_spec_decoder = &decode_ifla_af; + const struct ifinfomsg *ifinfo = (const struct ifinfomsg *) opaque_data; - decode_nlattr(tcp, addr, len, addrfams, "AF_???", - &af_spec_decoder, 0, 0); + /* AF_BRIDGE is a special snowflake */ + if (ifinfo->ifi_family == AF_BRIDGE) { + decode_nlattr(tcp, addr, len, rtnl_ifla_af_spec_bridge_attrs, + "IFLA_BRIDGE_???", + ARRSZ_PAIR(ifla_af_spec_bridge_nla_decoders), + opaque_data); + } else { + nla_decoder_t af_spec_decoder = &decode_ifla_af; + + decode_nlattr(tcp, addr, len, addrfams, "AF_???", + &af_spec_decoder, 0, 0); + } return true; } @@ -969,14 +1648,14 @@ IFLA_NET_NS_PID = decode_nla_u32, IFLA_IFALIAS = decode_nla_str, IFLA_NUM_VF = decode_nla_u32, - IFLA_VFINFO_LIST = NULL, /* unimplemented */ - IFLA_STATS64 = decode_rtnl_link_stats64, + IFLA_VFINFO_LIST = decode_ifla_vfinfo_list, + IFLA_STATS64 = decode_nla_rtnl_link_stats64, IFLA_VF_PORTS = decode_ifla_vf_ports, IFLA_PORT_SELF = decode_ifla_port, IFLA_AF_SPEC = decode_ifla_af_spec, IFLA_GROUP = decode_nla_u32, IFLA_NET_NS_FD = decode_nla_fd, - IFLA_EXT_MASK = decode_nla_u32, + IFLA_EXT_MASK = decode_ifla_ext_mask, IFLA_PROMISCUITY = decode_nla_u32, IFLA_NUM_TX_QUEUES = decode_nla_u32, IFLA_NUM_RX_QUEUES = decode_nla_u32, @@ -1005,6 +1684,10 @@ IFLA_PROTO_DOWN_REASON = decode_ifla_proto_down_reason, IFLA_PARENT_DEV_NAME = decode_nla_str, IFLA_PARENT_DEV_BUS_NAME = decode_nla_str, + IFLA_GRO_MAX_SIZE = decode_nla_u32, + IFLA_TSO_MAX_SIZE = decode_nla_u32, + IFLA_TSO_MAX_SEGS = decode_nla_u32, + IFLA_ALLMULTI = decode_nla_u32, }; DECL_NETLINK_ROUTE_DECODER(decode_ifinfomsg)
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_mdb.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_mdb.c
Changed
@@ -26,7 +26,7 @@ #include "xlat/rtnl_mdba_router_pattr_attrs.h" static const nla_decoder_t mdba_mdb_eattr_nla_decoders = { - MDBA_MDB_EATTR_TIMER = decode_nla_u32 + MDBA_MDB_EATTR_TIMER = decode_nla_clock_t, }; static bool @@ -133,10 +133,10 @@ } static const nla_decoder_t mdba_router_pattr_nla_decoders = { - MDBA_ROUTER_PATTR_TIMER = decode_nla_u32, + MDBA_ROUTER_PATTR_TIMER = decode_nla_clock_t, MDBA_ROUTER_PATTR_TYPE = decode_multicast_router_type, - MDBA_ROUTER_PATTR_INET_TIMER = decode_nla_u32, - MDBA_ROUTER_PATTR_INET6_TIMER = decode_nla_u32, + MDBA_ROUTER_PATTR_INET_TIMER = decode_nla_clock_t, + MDBA_ROUTER_PATTR_INET6_TIMER = decode_nla_clock_t, }; static bool
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_neigh.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_neigh.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -14,9 +14,12 @@ #include "netlink.h" #include <linux/neighbour.h> +#include "xlat/fdb_notify_flags.h" +#include "xlat/neighbor_cache_entry_ext_flags.h" #include "xlat/neighbor_cache_entry_flags.h" #include "xlat/neighbor_cache_entry_states.h" #include "xlat/rtnl_neigh_attrs.h" +#include "xlat/rtnl_neigh_fdb_ext_attrs.h" static bool decode_neigh_addr(struct tcb *const tcp, @@ -56,6 +59,81 @@ return true; } +static bool +decode_fdb_notify_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + fdb_notify_flags, "FDB_NOTIFY_???", + .size = 1, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static const nla_decoder_t nda_fdb_ext_attrs_nla_decoders = { + NFEA_UNSPEC = NULL, + NFEA_ACTIVITY_NOTIFY = decode_fdb_notify_flags, + NFEA_DONT_REFRESH = NULL, /* flag attr, no payload is expected */ +}; + +static bool +decode_nda_fdb_ext_attrs(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_neigh_fdb_ext_attrs, + "NFEA_???", ARRSZ_PAIR(nda_fdb_ext_attrs_nla_decoders), + opaque_data); + + return true; +} + +static bool +decode_nda_ext_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + neighbor_cache_entry_ext_flags, "NTF_EXT_???", + .size = 4, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static bool +decode_nda_ndm_states(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + neighbor_cache_entry_states, "NUD_???", + .size = 2, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + +static bool +decode_nda_ndm_flags(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + neighbor_cache_entry_flags, "NTF_???", + .size = 1, + }; + + return decode_nla_flags(tcp, addr, len, &opts); +} + static const nla_decoder_t ndmsg_nla_decoders = { NDA_DST = decode_neigh_addr, NDA_LLADDR = decode_nla_hwaddr_nofamily, @@ -67,9 +145,13 @@ NDA_IFINDEX = decode_nla_ifindex, NDA_MASTER = decode_nla_ifindex, NDA_LINK_NETNSID = decode_nla_u32, - NDA_SRC_VNI = NULL, - NDA_PROTOCOL = decode_nla_u8, + NDA_SRC_VNI = decode_nla_u32, + NDA_PROTOCOL = decode_nla_ip_proto, NDA_NH_ID = decode_nla_u32, + NDA_FDB_EXT_ATTRS = decode_nda_fdb_ext_attrs, + NDA_FLAGS_EXT = decode_nda_ext_flags, + NDA_NDM_STATE_MASK = decode_nda_ndm_states, + NDA_NDM_FLAGS_MASK = decode_nda_ndm_flags, }; DECL_NETLINK_ROUTE_DECODER(decode_ndmsg)
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_neightbl.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_neightbl.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -69,7 +69,8 @@ NDTPA_LOCKTIME = decode_nla_u64, NDTPA_QUEUE_LENBYTES = decode_nla_u32, NDTPA_MCAST_REPROBES = decode_nla_u32, - NDTPA_PAD = NULL + NDTPA_PAD = NULL, + NDTPA_INTERVAL_PROBE_TIME_MS = decode_nla_u64, }; static bool
View file
_service:tar_scm:strace-6.1.tar.xz/src/rtnl_nh.c
Added
@@ -0,0 +1,188 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" +#include "netlink_route.h" +#include "nlattr.h" +#include "print_fields.h" + +#include <linux/rtnetlink.h> +#include <linux/nexthop.h> + +#include "xlat/rtnl_nexthop_attrs.h" +#include "xlat/rtnl_nexthop_grp_types.h" +#include "xlat/rtnl_nha_res_bucket_attrs.h" +#include "xlat/rtnl_nha_res_group_attrs.h" + +static bool +print_nh_grp(struct tcb *const tcp, void *const elem_buf, + const size_t elem_size, void *const opaque_data) +{ + struct nexthop_grp *grp = (struct nexthop_grp *) elem_buf; + + tprint_struct_begin(); + PRINT_FIELD_U(*grp, id); + tprint_struct_next(); + PRINT_FIELD_U(*grp, weight); + if (grp->resvd1) { + tprint_struct_next(); + PRINT_FIELD_X(*grp, resvd1); + } + if (grp->resvd2) { + tprint_struct_next(); + PRINT_FIELD_X(*grp, resvd2); + } + tprint_struct_end(); + + return true; +} + +static bool +decode_nha_nh_grp(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct nexthop_grp elem; + const size_t nmemb = len / sizeof(elem); + + if (!nmemb) + return false; + + print_array(tcp, addr, nmemb, &elem, sizeof(elem), + tfetch_mem, print_nh_grp, NULL); + + return true; +} + +static bool +decode_nha_nh_grp_type(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct decode_nla_xlat_opts opts = { + .xlat = rtnl_nexthop_grp_types, + .dflt = "NEXTHOP_GRP_TYPE_???", + .size = 2, + }; + + return decode_nla_xval(tcp, addr, len, &opts); +} + +static bool +decode_nha_addr(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + const struct nhmsg *const nhmsg = opaque_data; + + decode_inet_addr(tcp, addr, len, nhmsg->nh_family, NULL); + + return true; +} + +static const nla_decoder_t nha_res_group_nla_decoders = { + NHA_RES_GROUP_PAD = NULL, + NHA_RES_GROUP_BUCKETS = decode_nla_u16, + NHA_RES_GROUP_IDLE_TIMER = decode_nla_clock_t, + NHA_RES_GROUP_UNBALANCED_TIMER = decode_nla_clock_t, + NHA_RES_GROUP_UNBALANCED_TIME = decode_nla_clock_t, +}; + +static bool +decode_nha_res_group(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_nha_res_group_attrs, + "NHA_RES_GROUP_???", + ARRSZ_PAIR(nha_res_group_nla_decoders), opaque_data); + + return true; +} + +static const nla_decoder_t nha_res_bucket_nla_decoders = { + NHA_RES_BUCKET_PAD = NULL, + NHA_RES_BUCKET_INDEX = decode_nla_u16, + NHA_RES_BUCKET_IDLE_TIME = decode_nla_clock_t, + NHA_RES_BUCKET_NH_ID = decode_nla_u32, +}; + +static bool +decode_nha_res_bucket(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, rtnl_nha_res_bucket_attrs, + "NHA_RES_BUCKET_???", + ARRSZ_PAIR(nha_res_bucket_nla_decoders), opaque_data); + + return true; +} + +static const nla_decoder_t nhmsg_nla_decoders = { + NHA_UNSPEC = NULL, + NHA_ID = decode_nla_u32, + NHA_GROUP = decode_nha_nh_grp, + NHA_GROUP_TYPE = decode_nha_nh_grp_type, + NHA_BLACKHOLE = decode_nla_u32, + NHA_OIF = decode_nla_ifindex, + NHA_GATEWAY = decode_nha_addr, + NHA_ENCAP_TYPE = decode_nla_lwt_encap_type, + NHA_ENCAP = NULL, /* unimplemented */ + NHA_GROUPS = decode_nla_u32, + NHA_MASTER = decode_nla_ifindex, + NHA_FDB = decode_nla_u32, + NHA_RES_GROUP = decode_nha_res_group, + NHA_RES_BUCKET = decode_nha_res_bucket, +}; + +DECL_NETLINK_ROUTE_DECODER(decode_nhmsg) +{ + struct nhmsg nhmsg = { .nh_family = family }; + size_t offset = sizeof(nhmsg.nh_family); + bool decode_nla = false; + + tprint_struct_begin(); + PRINT_FIELD_XVAL(nhmsg, nh_family, addrfams, "AF_???"); + tprint_struct_next(); + + if (len >= sizeof(nhmsg)) { + if (!umoven_or_printaddr(tcp, addr + offset, + sizeof(nhmsg) - offset, + (char *) &nhmsg + offset)) { + PRINT_FIELD_XVAL(nhmsg, nh_scope, + routing_scopes, NULL); + tprint_struct_next(); + PRINT_FIELD_XVAL(nhmsg, nh_protocol, + routing_protocols, "RTPROT_???"); + if (nhmsg.resvd) { + tprint_struct_next(); + PRINT_FIELD_X(nhmsg, resvd); + } + tprint_struct_next(); + PRINT_FIELD_FLAGS(nhmsg, nh_flags, + route_nexthop_flags, "RTNH_F_???"); + decode_nla = true; + } + } else { + tprint_more_data_follows(); + } + tprint_struct_end(); + + offset = NLMSG_ALIGN(sizeof(nhmsg)); + if (decode_nla && len > offset) { + tprint_array_next(); + decode_nlattr(tcp, addr + offset, len - offset, + rtnl_nexthop_attrs, "NHA_???", + ARRSZ_PAIR(nhmsg_nla_decoders), &nhmsg); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_nsid.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_nsid.c
Changed
@@ -16,7 +16,7 @@ #include "xlat/rtnl_nsid_attrs.h" -static const nla_decoder_t rtgenmsg_nla_decoders = { +static const nla_decoder_t nsid_nla_decoders = { NETNSA_NSID = decode_nla_s32, NETNSA_PID = decode_nla_u32, NETNSA_FD = decode_nla_fd, @@ -24,7 +24,7 @@ NETNSA_CURRENT_NSID = decode_nla_s32 }; -DECL_NETLINK_ROUTE_DECODER(decode_rtgenmsg) +DECL_NETLINK_ROUTE_DECODER(decode_nsid) { struct rtgenmsg rtgenmsg = { .rtgen_family = family }; @@ -37,7 +37,7 @@ tprint_array_next(); decode_nlattr(tcp, addr + offset, len - offset, rtnl_nsid_attrs, "NETNSA_???", - rtgenmsg_nla_decoders, - ARRAY_SIZE(rtgenmsg_nla_decoders), NULL); + nsid_nla_decoders, + ARRAY_SIZE(nsid_nla_decoders), NULL); } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_route.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_route.c
Changed
@@ -188,11 +188,11 @@ return true; } -static bool -decode_rta_encap_type(struct tcb *const tcp, - const kernel_ulong_t addr, - const unsigned int len, - const void *const opaque_data) +bool +decode_nla_lwt_encap_type(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) { uint16_t type; @@ -225,7 +225,7 @@ RTA_VIA = decode_rtvia, RTA_NEWDST = decode_route_addr, RTA_PREF = decode_nla_u8, - RTA_ENCAP_TYPE = decode_rta_encap_type, + RTA_ENCAP_TYPE = decode_nla_lwt_encap_type, RTA_ENCAP = NULL, /* unimplemented */ RTA_EXPIRES = decode_nla_u64, RTA_PAD = NULL, @@ -236,17 +236,42 @@ RTA_DPORT = decode_nla_u16 }; +/* + * RTA_MULTIPATH payload is a list of struct rtnexthop-headed RTA_* netlink + * attributes: + * + * {RTA_MULTIPATH nlattr hdr} {struct rtnexthop}, {RTA_* nlattr}, + * {struct rtnexthop}, {RTA_* nlattr}, ... + */ static bool decode_rta_multipath(struct tcb *const tcp, const kernel_ulong_t addr, const unsigned int len, const void *const opaque_data) { + bool is_array = false; struct rtnexthop nh; + kernel_ulong_t cur = addr; + kernel_ulong_t left = len; if (len < sizeof(nh)) return false; - else if (!umove_or_printaddr(tcp, addr, &nh)) { + + while (!umove_or_printaddr(tcp, cur, &nh)) { + static const size_t offset = RTNH_ALIGN(sizeof(nh)); + const unsigned int rtnh_len = MIN(left, nh.rtnh_len); + + if (cur == addr && nh.rtnh_len < len) { + tprint_array_begin(); + is_array = true; + } + + if (cur > addr) + tprint_array_next(); + + if (rtnh_len > offset) + tprint_array_begin(); + /* print the whole structure regardless of its rtnh_len */ tprint_struct_begin(); PRINT_FIELD_U(nh, rtnh_len); @@ -259,18 +284,28 @@ PRINT_FIELD_IFINDEX(nh, rtnh_ifindex); tprint_struct_end(); - const unsigned short rtnh_len = MIN(len, nh.rtnh_len); - const size_t offset = RTNH_ALIGN(sizeof(nh)); if (rtnh_len > offset) { tprint_array_next(); - decode_nlattr(tcp, addr + offset, rtnh_len - offset, + decode_nlattr(tcp, cur + offset, rtnh_len - offset, rtnl_route_attrs, "RTA_???", rtmsg_nla_decoders, ARRAY_SIZE(rtmsg_nla_decoders), opaque_data); } + + if (rtnh_len > offset) + tprint_array_end(); + + if (RTNH_ALIGN(rtnh_len) >= left) + break; + + cur += RTNH_ALIGN(rtnh_len); + left -= RTNH_ALIGN(rtnh_len); } + if (is_array) + tprint_array_end(); + return true; }
View file
_service:tar_scm:strace-6.1.tar.xz/src/rtnl_stats.c
Added
@@ -0,0 +1,419 @@ +/* + * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" +#include "netlink_route.h" +#include "nlattr.h" +#include "print_fields.h" + +#include "netlink.h" + +#include <netinet/in.h> + +#include <linux/if_bonding.h> +#include <linux/if_bridge.h> +#include <linux/if_link.h> +#include <linux/mpls.h> +#include <linux/rtnetlink.h> + +#include "xlat/ifstats_af_spec_mpls_attrs.h" +#include "xlat/ifstats_attrs.h" +#include "xlat/ifstats_attr_flags.h" +#include "xlat/ifstats_offload_attrs.h" +#include "xlat/ifstats_xstats_bond_attrs.h" +#include "xlat/ifstats_xstats_bond_3ad_attrs.h" +#include "xlat/ifstats_xstats_bridge_attrs.h" +#include "xlat/ifstats_xstats_bridge_mcast_indices.h" +#include "xlat/ifstats_xstats_type_attrs.h" +#include "xlat/nl_bridge_vlan_flags.h" + +#define XLAT_MACROS_ONLY +# include "xlat/addrfams.h" /* AF_MPLS */ +#undef XLAT_MACROS_ONLY + +static bool +decode_ifstats_link_xstats_bridge_vlan(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct bridge_vlan_xstats st; + + if (len < sizeof(st)) + return false; + + if (umove_or_printaddr(tcp, addr, &st)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(st, rx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, vid); + tprint_struct_next(); + PRINT_FIELD_FLAGS(st, flags, nl_bridge_vlan_flags, + "BRIDGE_VLAN_INFO_???"); + if (st.pad2) { + tprint_struct_next(); + PRINT_FIELD_X(st, pad2); + } + tprint_struct_end(); + + if (len > sizeof(st)) { + tprint_array_next(); + printstr_ex(tcp, addr + sizeof(st), len - sizeof(st), + QUOTE_FORCE_HEX); + } + + return true; +} + +static bool +decode_ifstats_link_xstats_bridge_mcast(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct br_mcast_stats st; + + if (len < sizeof(st)) + return false; + + if (umove_or_printaddr(tcp, addr, &st)) + return true; + +#define PRINT_FIELD_MCAST_ARRAY_(where_, field_) \ + PRINT_FIELD_ARRAY_INDEXED(where_, field_, \ + tcp, print_uint_array_member, \ + ifstats_xstats_bridge_mcast_indices, \ + NULL); + + tprint_struct_begin(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v1queries); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v2queries); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v3queries); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_leaves); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v1reports); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v2reports); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, igmp_v3reports); + tprint_struct_next(); + PRINT_FIELD_U(st, igmp_parse_errors); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mld_v1queries); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mld_v2queries); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mld_leaves); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mld_v1reports); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mld_v2reports); + tprint_struct_next(); + PRINT_FIELD_U(st, mld_parse_errors); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mcast_bytes); + tprint_struct_next(); + PRINT_FIELD_MCAST_ARRAY_(st, mcast_packets); + tprint_struct_end(); + +#undef PRINT_FIELD_MCAST_ARRAY_ + + if (len > sizeof(st)) { + tprint_array_next(); + printstr_ex(tcp, addr + sizeof(st), len - sizeof(st), + QUOTE_FORCE_HEX); + } + + return true; +} + +static bool +decode_ifstats_link_xstats_bridge_stp(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct bridge_stp_xstats st; + + if (len < sizeof(st)) + return false; + + if (umove_or_printaddr(tcp, addr, &st)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(st, transition_blk); + tprint_struct_next(); + PRINT_FIELD_U(st, transition_fwd); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_bpdu); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_bpdu); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_tcn); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_tcn); + tprint_struct_end(); + + if (len > sizeof(st)) { + tprint_array_next(); + printstr_ex(tcp, addr + sizeof(st), len - sizeof(st), + QUOTE_FORCE_HEX); + } + + return true; +} + +static const nla_decoder_t ifstats_xstats_bridge_decoders = { + BRIDGE_XSTATS_UNSPEC = NULL, + BRIDGE_XSTATS_VLAN = decode_ifstats_link_xstats_bridge_vlan, + BRIDGE_XSTATS_MCAST = decode_ifstats_link_xstats_bridge_mcast, + BRIDGE_XSTATS_PAD = NULL, + BRIDGE_XSTATS_STP = decode_ifstats_link_xstats_bridge_stp, +}; + +static bool +decode_ifstats_link_xstats_bridge(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, ifstats_xstats_bridge_attrs, + "BRIDGE_XSTATS_???", + ARRSZ_PAIR(ifstats_xstats_bridge_decoders), + opaque_data); + + return true; +} + +static const nla_decoder_t ifstats_xstats_bond_3ad_decoders = { + BOND_3AD_STAT_LACPDU_RX = decode_nla_u64, + BOND_3AD_STAT_LACPDU_TX = decode_nla_u64, + BOND_3AD_STAT_LACPDU_UNKNOWN_RX = decode_nla_u64, + BOND_3AD_STAT_LACPDU_ILLEGAL_RX = decode_nla_u64, + BOND_3AD_STAT_MARKER_RX = decode_nla_u64, + BOND_3AD_STAT_MARKER_TX = decode_nla_u64, + BOND_3AD_STAT_MARKER_RESP_RX = decode_nla_u64, + BOND_3AD_STAT_MARKER_RESP_TX = decode_nla_u64, + BOND_3AD_STAT_MARKER_UNKNOWN_RX = decode_nla_u64, + BOND_3AD_STAT_PAD = NULL, +}; + +static bool +decode_ifstats_link_xstats_bond_3ad(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, ifstats_xstats_bond_3ad_attrs, + "BOND_XSTATS_???", + ARRSZ_PAIR(ifstats_xstats_bond_3ad_decoders), + opaque_data); + + return true; +} + +static const nla_decoder_t ifstats_xstats_bond_decoders = { + BOND_XSTATS_UNSPEC = NULL, + BOND_XSTATS_3AD = decode_ifstats_link_xstats_bond_3ad, +}; + +static bool +decode_ifstats_link_xstats_bond(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, ifstats_xstats_bond_attrs, + "BOND_XSTATS_???", + ARRSZ_PAIR(ifstats_xstats_bond_decoders), + opaque_data); + + return true; +} + +static const nla_decoder_t ifstats_xstats_decoders = { + LINK_XSTATS_TYPE_UNSPEC = NULL, + LINK_XSTATS_TYPE_BRIDGE = decode_ifstats_link_xstats_bridge, + LINK_XSTATS_TYPE_BOND = decode_ifstats_link_xstats_bond, +}; + +static bool +decode_ifstats_link_xstats(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, ifstats_xstats_type_attrs, + "LINK_XSTATS_TYPE_???", + ARRSZ_PAIR(ifstats_xstats_decoders), + opaque_data); + + return true; +} + +static const nla_decoder_t ifstats_offload_xstats_decoders = { + IFLA_OFFLOAD_XSTATS_UNSPEC = NULL, + IFLA_OFFLOAD_XSTATS_CPU_HIT = decode_nla_rtnl_link_stats64, +}; + +static bool +decode_ifstats_link_offload_xstats(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + decode_nlattr(tcp, addr, len, ifstats_offload_attrs, + "IFLA_OFFLOAD_XSTATS_???", + ARRSZ_PAIR(ifstats_offload_xstats_decoders), + opaque_data); + + return true; +} + +static bool +decode_ifstats_af_mpls_stats_link(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + struct mpls_link_stats st; + + if (len < sizeof(st)) + return false; + + if (umove_or_printaddr(tcp, addr, &st)) + return true; + + tprint_struct_begin(); + PRINT_FIELD_U(st, rx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_packets); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_bytes); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_errors); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_dropped); + tprint_struct_next(); + PRINT_FIELD_U(st, tx_dropped); + tprint_struct_next(); + PRINT_FIELD_U(st, rx_noroute); + tprint_struct_end(); + + if (len > sizeof(st)) { + tprint_array_next(); + printstr_ex(tcp, addr + sizeof(st), len - sizeof(st), + QUOTE_FORCE_HEX); + } + + return true; +} + +static const nla_decoder_t ifla_stats_mpls_nla_decoders = { + MPLS_STATS_UNSPEC = NULL, + MPLS_STATS_LINK = decode_ifstats_af_mpls_stats_link, +}; + +static bool +decode_ifstats_af(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const struct af_spec_decoder_desc protos = { + { AF_MPLS, ifstats_af_spec_mpls_attrs, "MPLS_STATS_???", + ARRSZ_PAIR(ifla_stats_mpls_nla_decoders) }, + }; + + decode_nla_af_spec(tcp, addr, len, + (uintptr_t) opaque_data, ARRSZ_PAIR(protos)); + + return true; +} + +static bool +decode_ifstats_af_spec(struct tcb *const tcp, + const kernel_ulong_t addr, + const unsigned int len, + const void *const opaque_data) +{ + static const nla_decoder_t af_spec_decoder = &decode_ifstats_af; + + decode_nlattr(tcp, addr, len, addrfams, "AF_???", + &af_spec_decoder, 0, 0); + + return true; +} + + +static const nla_decoder_t ifstatsmsg_nla_decoders = { + IFLA_STATS_UNSPEC = NULL, + IFLA_STATS_LINK_64 = decode_nla_rtnl_link_stats64, + IFLA_STATS_LINK_XSTATS = decode_ifstats_link_xstats, + IFLA_STATS_LINK_XSTATS_SLAVE = decode_ifstats_link_xstats, + IFLA_STATS_LINK_OFFLOAD_XSTATS = decode_ifstats_link_offload_xstats, + IFLA_STATS_AF_SPEC = decode_ifstats_af_spec, +}; + +DECL_NETLINK_ROUTE_DECODER(decode_ifstatsmsg) +{ + struct if_stats_msg ifstats = { .family = family }; + size_t offset = sizeof(ifstats.family); + bool decode_nla = false; + + tprint_struct_begin(); + PRINT_FIELD_XVAL(ifstats, family, addrfams, "AF_???"); + tprint_struct_next(); + + if (len >= sizeof(ifstats)) { + if (!umoven_or_printaddr(tcp, addr + offset, + sizeof(ifstats) - offset, + (char *) &ifstats + offset)) { + if (ifstats.pad1) { + PRINT_FIELD_X(ifstats, pad1); + tprint_struct_next(); + } + if (ifstats.pad2) { + PRINT_FIELD_X(ifstats, pad2); + tprint_struct_next(); + } + PRINT_FIELD_IFINDEX(ifstats, ifindex); + tprint_struct_next(); + PRINT_FIELD_FLAGS(ifstats, filter_mask, + ifstats_attr_flags, + "1<<IFLA_STATS_???"); + decode_nla = true; + } + } else { + tprint_more_data_follows(); + } + tprint_struct_end(); + + offset = NLMSG_ALIGN(sizeof(ifstats)); + if (decode_nla && len > offset) { + tprint_array_next(); + decode_nlattr(tcp, addr + offset, len - offset, + ifstats_attrs, "IFLA_STATS_???", + ARRSZ_PAIR(ifstatsmsg_nla_decoders), &ifstats); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/rtnl_tc_action.c -> _service:tar_scm:strace-6.1.tar.xz/src/rtnl_tc_action.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -58,6 +58,7 @@ TCA_ACT_FLAGS = decode_tca_act_flags, TCA_ACT_HW_STATS = decode_tca_act_hw_stats, TCA_ACT_USED_HW_STATS = decode_tca_act_hw_stats, + TCA_ACT_IN_HW_COUNT = decode_nla_u32, }; DECL_NETLINK_ROUTE_DECODER(decode_tcamsg)
View file
_service:tar_scm:strace-5.14.tar.xz/src/s390.c -> _service:tar_scm:strace-6.1.tar.xz/src/s390.c
Changed
@@ -1,7 +1,7 @@ /* * s390-specific syscalls decoders. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -72,8 +72,7 @@ uint16_t infgoff3; /**< Offset to Guest Section3 mapped by INF0GST */ uint16_t infglen3; /**< Length of Guest Section3 */ } ATTRIBUTE_PACKED; -static_assert(sizeof(struct sthyi_hdr) == 44, - "Unexpected struct sthyi_hdr size"); +CHECK_TYPE_SIZE(struct sthyi_hdr, 44); struct sthyi_machine { uint8_t infmflg1; /**< Machine Flag Byte 1 reserved for IBM use */ @@ -125,8 +124,7 @@ char reserved_1__4; /**< Reserved for future IBM use */ char infmplnm8; /**< EBCDIC Reserved for IBM use */ } ATTRIBUTE_PACKED; -static_assert(sizeof(struct sthyi_machine) == 72, - "Unexpected struct sthyi_machine size"); +CHECK_TYPE_SIZE(struct sthyi_machine, 72); struct sthyi_partition { /** @@ -229,8 +227,7 @@ uint32_t infplgif; char infpplnm8; /**< Reserved for future IBM use. */ } ATTRIBUTE_PACKED; -static_assert(sizeof(struct sthyi_partition) == 64, - "Unexpected struct sthyi_partition size"); +CHECK_TYPE_SIZE(struct sthyi_partition, 64); struct sthyi_hypervisor { /** @@ -318,8 +315,7 @@ */ uint8_t infyautf8; } ATTRIBUTE_PACKED; -static_assert(sizeof(struct sthyi_hypervisor) == 48, - "Unexpected struct sthyi_hypervisor size"); +CHECK_TYPE_SIZE(struct sthyi_hypervisor, 48); struct sthyi_guest { /** @@ -406,8 +402,7 @@ */ uint32_t infgpicc; } ATTRIBUTE_PACKED; -static_assert(sizeof(struct sthyi_guest) == 56, - "Unexpected struct sthyi_guest size"); +CHECK_TYPE_SIZE(struct sthyi_guest, 56); static void @@ -496,7 +491,7 @@ if ((size_) > (hdr_size_) && \ !is_filled(((char *) hdr_) + (hdr_size_), '\0', \ (size_) - (hdr_size_))) { \ - tprints(", "); \ + tprint_struct_next(); \ print_quoted_string(((char *) hdr_) + (hdr_size_), \ (size_) - (hdr_size_), \ QUOTE_FORCE_HEX); \ @@ -520,12 +515,11 @@ if (!abbrev(tcp)) { if (hdr->infmflg1) { /* Reserved */ PRINT_FIELD_0X(*hdr, infmflg1); - tprints(", "); + tprint_struct_next(); } if (hdr->infmflg2) { /* Reserved */ - tprint_struct_next(); PRINT_FIELD_0X(*hdr, infmflg2); - tprints(", "); + tprint_struct_next(); } } @@ -567,7 +561,7 @@ } if (!abbrev(tcp)) { - if (name_val || hdr->infmname) { + if (name_val || !IS_ARRAY_ZERO(hdr->infmname)) { tprint_struct_next(); PRINT_FIELD_EBCDIC(*hdr, infmname); } @@ -1107,7 +1101,7 @@ do { \ if (hdr->inf ##l_## off && hdr->inf ##l_## off + \ hdr->inf ##l_## len <= sizeof(data)) { \ - tprints(", "); \ + tprint_struct_next(); \ print_sthyi_ ##name_(tcp, (struct sthyi_ ##name_ *) \ (data + hdr->inf ##l_## off), \ hdr->inf ##l_## len, &mt); \ @@ -1118,7 +1112,7 @@ do { \ if (hdr->inf ##l_## off ##n_ && hdr->inf ##l_## off ##n_ + \ hdr->inf ##l_## len ##n_ <= sizeof(data)) { \ - tprints(", "); \ + tprint_struct_next(); \ print_sthyi_ ##name_(tcp, (struct sthyi_ ##name_ *) \ (data + hdr->inf ##l_## off ##n_), \ hdr->inf ##l_## len ##n_, n_, mt); \ @@ -1276,7 +1270,7 @@ if (entering(tcp)) { printxval64(s390_sthyi_function_codes, function_code, "STHYI_FC_???"); - tprints(", "); + tprint_arg_next(); } else { switch (function_code) { case STHYI_FC_CP_IFL_CAP: @@ -1287,9 +1281,11 @@ printaddr(resp_buffer_ptr); } - tprints(", "); + tprint_arg_next(); printnum_int64(tcp, return_code_ptr, "%" PRIu64); - tprintf(", %#" PRI_klx, flags); + + tprint_arg_next(); + PRINT_VAL_X(flags); } return 0; @@ -1361,13 +1357,13 @@ if (umove_or_printaddr(tcp, addr, &gsepl)) return; - tprints(""); + tprint_indirect_begin(); tprint_struct_begin(); if (!abbrev(tcp)) { if (gsepl.pad1) { PRINT_FIELD_0X(gsepl, pad1); - tprints(", "); + tprint_struct_next(); } PRINT_FIELD_0X(gsepl, gs_eam); @@ -1395,7 +1391,7 @@ PRINT_FIELD_0X(gsepl, pad2); } - tprints(", "); + tprint_struct_next(); } PRINT_FIELD_X(gsepl, gs_eha); @@ -1415,7 +1411,7 @@ } tprint_struct_end(); - tprints(""); + tprint_indirect_end(); } # define DIV_ROUND_UP(x,y) (((x) + ((y) - 1)) / (y)) @@ -1432,7 +1428,7 @@ if (gscb.reserved) { PRINT_FIELD_0X(gscb, reserved); - tprints(", "); + tprint_struct_next(); } PRINT_FIELD_0X(gscb, gsd); @@ -1475,12 +1471,12 @@ break; case GS_SET_BC_CB: - tprints(", "); + tprint_arg_next(); guard_storage_print_gscb(tcp, gs_cb); break; default: - tprints(", "); + tprint_arg_next(); printaddr(gs_cb); } @@ -1502,7 +1498,7 @@ */ switch (command) { case S390_RUNTIME_INSTR_START: - tprints(", "); + tprint_arg_next(); printsignal(signum); break; @@ -1520,9 +1516,13 @@ kernel_ulong_t user_buf = tcp->u_arg1; kernel_ulong_t length = tcp->u_arg2; - tprintf("%#" PRI_klx ", ", mmio_addr); + PRINT_VAL_X(mmio_addr); + + tprint_arg_next(); printstr_ex(tcp, user_buf, length, QUOTE_FORCE_HEX); - tprintf(", %" PRI_klu, length); + + tprint_arg_next(); + PRINT_VAL_U(length); return RVAL_DECODED; } @@ -1534,14 +1534,16 @@ kernel_ulong_t length = tcp->u_arg2; if (entering(tcp)) { - tprintf("%#" PRI_klx ", ", mmio_addr); + PRINT_VAL_X(mmio_addr); + tprint_arg_next(); } else { if (!syserror(tcp)) printstr_ex(tcp, user_buf, length, QUOTE_FORCE_HEX); else printaddr(user_buf); - tprintf(", %" PRI_klu, length); + tprint_arg_next(); + PRINT_VAL_U(length); } return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/src/scsi.c -> _service:tar_scm:strace-6.1.tar.xz/src/scsi.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2007 Vladimir Nadvornik <nadvornik@suse.cz> * Copyright (c) 2007-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2007-2021 The strace developers. + * Copyright (c) 2007-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -110,7 +110,7 @@ if (val & SG_SCSI_RESET_NO_ESCALATE) { printxval(sg_scsi_reset, SG_SCSI_RESET_NO_ESCALATE, 0); - tprints("|"); + tprint_or(); } printxval(sg_scsi_reset, val & ~SG_SCSI_RESET_NO_ESCALATE,
View file
_service:tar_scm:strace-5.14.tar.xz/src/seccomp.c -> _service:tar_scm:strace-6.1.tar.xz/src/seccomp.c
Changed
@@ -18,13 +18,15 @@ unsigned int act; /* operation */ - printxval(seccomp_ops, op, "SECCOMP_SET_MODE_???"); - tprint_arg_next(); + if (entering(tcp)) { + printxval(seccomp_ops, op, "SECCOMP_SET_MODE_???"); + tprint_arg_next(); + } switch (op) { case SECCOMP_GET_ACTION_AVAIL: /* flags */ - PRINT_VAL_U(flags); + PRINT_VAL_X(flags); tprint_arg_next(); /* args */ @@ -35,6 +37,29 @@ } break; + case SECCOMP_GET_NOTIF_SIZES: + if (entering(tcp)) { + /* flags */ + PRINT_VAL_X(flags); + tprint_arg_next(); + + return 0; + } else { + struct seccomp_notif_sizes szs; + + /* args */ + if (!umove_or_printaddr(tcp, tcp->u_arg2, &szs)) { + tprint_struct_begin(); + PRINT_FIELD_U(szs, seccomp_notif); + tprint_struct_next(); + PRINT_FIELD_U(szs, seccomp_notif_resp); + tprint_struct_next(); + PRINT_FIELD_U(szs, seccomp_data); + tprint_struct_end(); + } + } + break; + case SECCOMP_SET_MODE_FILTER: /* flags */ printflags(seccomp_filter_flags, flags, @@ -48,7 +73,7 @@ case SECCOMP_SET_MODE_STRICT: default: /* flags */ - PRINT_VAL_U(flags); + PRINT_VAL_X(flags); tprint_arg_next(); /* args */
View file
_service:tar_scm:strace-6.1.tar.xz/src/seccomp_ioctl.c
Added
@@ -0,0 +1,157 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com>. + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +#include <linux/ioctl.h> +#include <linux/seccomp.h> + +#include "xlat/seccomp_ioctl_addfd_flags.h" +#include "xlat/seccomp_ioctl_resp_flags.h" + +#define SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR SECCOMP_IOR(2, __u64) + +static void +print_struct_seccomp_data(struct tcb *const tcp, + const struct seccomp_data *const data) +{ + tprint_struct_begin(); + PRINT_FIELD_SYSCALL_NAME(*data, nr, data->arch); + tprint_struct_next(); + PRINT_FIELD_XVAL(*data, arch, audit_arch, "AUDIT_ARCH_???"); + tprint_struct_next(); + PRINT_FIELD_ADDR64(*data, instruction_pointer); + tprint_struct_next(); + PRINT_FIELD_ARRAY(*data, args, tcp, print_xint_array_member); + tprint_struct_end(); +} + +static int +print_struct_seccomp_notif(struct tcb *const tcp, const kernel_ulong_t addr) +{ + /* + * NB: There is a (poorly designed) seccomp(SECCOMP_GET_NOTIF_SIZES) + * operation that hints that struct seccomp_notif/seccomp_notif_data + * may vary, but that in turn will change the ID of the respective + * ioctl, rendering the whole idea of getting the struct size + * in advance dubious at best. Let's just put some safeguards + * in place for the time being, in case updated headers bring + * changes in either ioctl code or struct size. + */ + CHECK_IOCTL_SIZE(SECCOMP_IOCTL_NOTIF_RECV, 80); + CHECK_TYPE_SIZE(struct seccomp_notif, 80); + struct seccomp_notif notif; + + if (umove_or_printaddr(tcp, addr, ¬if)) + return RVAL_IOCTL_DECODED; + + if (entering(tcp)) { + if (is_filled((const char *) ¬if, 0, sizeof(notif))) + return 0; + } + + tprint_struct_begin(); + PRINT_FIELD_X(notif, id); + tprint_struct_next(); + PRINT_FIELD_TGID(notif, pid, tcp); + tprint_struct_next(); + PRINT_FIELD_X(notif, flags); + tprint_struct_next(); + PRINT_FIELD_OBJ_TCB_PTR(notif, data, tcp, print_struct_seccomp_data); + tprint_struct_end(); + + if (entering(tcp)) { + tprint_value_changed(); + return 0; + } + + return RVAL_IOCTL_DECODED; +} + +static void +print_struct_seccomp_notif_resp(struct tcb *const tcp, + const kernel_ulong_t addr) +{ + CHECK_IOCTL_SIZE(SECCOMP_IOCTL_NOTIF_SEND, 24); + CHECK_TYPE_SIZE(struct seccomp_notif_resp, 24); + struct seccomp_notif_resp resp; + + if (umove_or_printaddr(tcp, addr, &resp)) + return; + + tprint_struct_begin(); + PRINT_FIELD_X(resp, id); + tprint_struct_next(); + PRINT_FIELD_D(resp, val); + tprint_struct_next(); + PRINT_FIELD_ERR_D(resp, error); + tprint_struct_next(); + PRINT_FIELD_FLAGS(resp, flags, seccomp_ioctl_resp_flags, + "SECCOMP_USER_NOTIF_FLAG_???"); + tprint_struct_end(); +} + +static void +print_struct_seccomp_notif_addfd(struct tcb *const tcp, + const kernel_ulong_t addr) +{ + CHECK_IOCTL_SIZE(SECCOMP_IOCTL_NOTIF_ADDFD, 24); + CHECK_TYPE_SIZE(struct seccomp_notif_addfd, 24); + struct seccomp_notif_addfd addfd; + + if (umove_or_printaddr(tcp, addr, &addfd)) + return; + + tprint_struct_begin(); + PRINT_FIELD_X(addfd, id); + tprint_struct_next(); + PRINT_FIELD_FLAGS(addfd, flags, seccomp_ioctl_addfd_flags, + "SECCOMP_ADDFD_FLAG_???"); + tprint_struct_next(); + PRINT_FIELD_FD(addfd, srcfd, tcp); + tprint_struct_next(); + PRINT_FIELD_D(addfd, newfd); + tprint_struct_next(); + PRINT_FIELD_FLAGS(addfd, newfd_flags, open_mode_flags, "O_???"); + tprint_struct_end(); +} + +int +seccomp_ioctl(struct tcb *const tcp, const unsigned int code, + const kernel_ulong_t arg) +{ + switch (code) { + case SECCOMP_IOCTL_NOTIF_RECV: + if (entering(tcp)) + tprint_arg_next(); + + return print_struct_seccomp_notif(tcp, arg); + + case SECCOMP_IOCTL_NOTIF_SEND: + tprint_arg_next(); + print_struct_seccomp_notif_resp(tcp, arg); + + return RVAL_IOCTL_DECODED; + + case SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR: + case SECCOMP_IOCTL_NOTIF_ID_VALID: + tprint_arg_next(); + printnum_int64(tcp, arg, "%#" PRIx64); + + return RVAL_IOCTL_DECODED; + + case SECCOMP_IOCTL_NOTIF_ADDFD: + tprint_arg_next(); + print_struct_seccomp_notif_addfd(tcp, arg); + + return RVAL_IOCTL_DECODED; + + default: + return RVAL_DECODED; + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/secontext.c -> _service:tar_scm:strace-6.1.tar.xz/src/secontext.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,72 +10,95 @@ #include <stdlib.h> #include <fcntl.h> #include <limits.h> +#include <sys/stat.h> +#include <unistd.h> #include <selinux/selinux.h> +#include <selinux/label.h> +#include "largefile_wrappers.h" +#include "number_set.h" #include "secontext.h" +#include "xmalloc.h" #include "xstring.h" -bool selinux_context = false; -bool selinux_context_full = false; - -static int -getcontext(int rc, char **secontext, char **result) +/** + * @param secontext Pointer to security context string. + * @param result Stores pointer to the beginning of the part to print. + * @return Number of characters of the string to be printed. + */ +static size_t +parse_secontext(char *secontext, char **result) { - if (rc < 0) - return rc; + char *end_pos = NULL; - *result = NULL; - if (!selinux_context_full) { - char *saveptr = NULL; - char *secontext_copy = xstrdup(*secontext); - const char *token; - unsigned int i; - - /* - * We only want to keep the type (3rd field, ':' separator). - */ - for (token = strtok_r(secontext_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - *result = xstrdup(token); + if (!is_number_in_set(SECONTEXT_FULL, secontext_set)) { + /* We're looking for the type wihch is the third field */ + enum { SECONTEXT_TYPE = 2 }; + char *start_pos = secontext; + + for (unsigned int i = 0; i <= SECONTEXT_TYPE; i++) { + end_pos = strchr(start_pos, ':'); + + if (i == SECONTEXT_TYPE) { + secontext = start_pos; break; } + + if (!end_pos) + break; + + start_pos = end_pos + 1; } - free(secontext_copy); } - if (*result == NULL) { - /* - * On the CI at least, the context may have a trailing \n, - * let's remove it just in case. - */ - size_t len = strlen(*secontext); - for (; len > 0; --len) { - if ((*secontext)len - 1 != '\n') - break; + size_t len = end_pos ? (size_t) (end_pos - secontext) + : strlen(secontext); + + /* Strip terminating \n as these tend to be present sometimes */ + while (len && secontextlen - 1 == '\n') + len--; + + return *result = secontext, len; +} + +static int +get_expected_filecontext(const char *path, char **secontext, int mode) +{ + static struct selabel_handle *hdl; + + if (!hdl) { + static bool disabled; + if (disabled) + return -1; + + hdl = selabel_open(SELABEL_CTX_FILE, NULL, 0); + if (!hdl) { + perror_msg("could not open SELinux database, disabling " + "context mismatch checking"); + disabled = true; + return -1; } - *result = xstrndup(*secontext, len); } - freecon(*secontext); - return 0; + + return selabel_lookup(hdl, secontext, path, mode); } + /* * Retrieves the SELinux context of the given PID (extracted from the tcb). * Memory must be freed. * Returns 0 on success, -1 on failure. */ -int -selinux_getpidcon(struct tcb *tcp, char **result) +static int +selinux_getpidcon(struct tcb *tcp, char **secontext) { - if (!selinux_context) + if (number_set_array_is_empty(secontext_set, 0)) return -1; int proc_pid = get_proc_pid(tcp->pid); if (!proc_pid) return -1; - char *secontext; - return getcontext(getpidcon(proc_pid, &secontext), &secontext, result); + return getpidcon(proc_pid, secontext); } /* @@ -83,10 +106,10 @@ * Memory must be freed. * Returns 0 on success, -1 on failure. */ -int -selinux_getfdcon(pid_t pid, int fd, char **result) +static int +selinux_getfdcon(pid_t pid, int fd, char **secontext, char **expected) { - if (!selinux_context || pid <= 0 || fd < 0) + if (number_set_array_is_empty(secontext_set, 0) || pid <= 0 || fd < 0) return -1; int proc_pid = get_proc_pid(pid); @@ -96,8 +119,30 @@ char linkpathsizeof("/proc/%u/fd/%u") + 2 * sizeof(int)*3; xsprintf(linkpath, "/proc/%u/fd/%u", proc_pid, fd); - char *secontext; - return getcontext(getfilecon(linkpath, &secontext), &secontext, result); + int rc = getfilecon(linkpath, secontext); + if (rc < 0 || !is_number_in_set(SECONTEXT_MISMATCH, secontext_set)) + return rc; + + /* + * We need to resolve the path, because selabel_lookup() doesn't + * resolve anything. + */ + char bufPATH_MAX + 1; + ssize_t n = get_proc_pid_fd_path(proc_pid, fd, buf, sizeof(buf), NULL); + if ((size_t) n >= (sizeof(buf) - 1)) + return 0; + + /* + * We retrieve stat() here since the path the procfs link resolves into + * may be reused by a different file with different context. + */ + strace_stat_t st; + if (stat_file(linkpath, &st)) + return 0; + + get_expected_filecontext(buf, expected, st.st_mode); + + return 0; } /* @@ -105,32 +150,132 @@ * Memory must be freed. * Returns 0 on success, -1 on failure. */ -int -selinux_getfilecon(struct tcb *tcp, const char *path, char **result) +static int +selinux_getfilecon(struct tcb *tcp, const char *path, char **secontext, + char **expected) { - if (!selinux_context) + if (number_set_array_is_empty(secontext_set, 0)) return -1; int proc_pid = get_proc_pid(tcp->pid); if (!proc_pid) return -1; - int ret = -1; + int rc = -1; char fnamePATH_MAX; if (path0 == '/') - ret = snprintf(fname, sizeof(fname), "/proc/%u/root%s", + rc = snprintf(fname, sizeof(fname), "/proc/%u/root%s", proc_pid, path); else if (tcp->last_dirfd == AT_FDCWD) - ret = snprintf(fname, sizeof(fname), "/proc/%u/cwd/%s", + rc = snprintf(fname, sizeof(fname), "/proc/%u/cwd/%s", proc_pid, path); else if (tcp->last_dirfd >= 0 ) - ret = snprintf(fname, sizeof(fname), "/proc/%u/fd/%u/%s", + rc = snprintf(fname, sizeof(fname), "/proc/%u/fd/%u/%s", proc_pid, tcp->last_dirfd, path); - if ((unsigned int) ret >= sizeof(fname)) + if ((unsigned int) rc >= sizeof(fname)) return -1; - char *secontext; - return getcontext(getfilecon(fname, &secontext), &secontext, result); + rc = getfilecon(fname, secontext); + if (rc < 0 || !is_number_in_set(SECONTEXT_MISMATCH, secontext_set)) + return rc; + + /* + * We need to fully resolve the path, because selabel_lookup() doesn't + * resolve anything. Using realpath() is the only solution here to make + * sure the path is canonicalized. + */ + + char *resolved = realpath(fname, NULL); + if (!resolved) + return 0; + + strace_stat_t st; + if (stat_file(resolved, &st) < 0) + goto out; + + get_expected_filecontext(resolved, expected, st.st_mode); + +out: + free(resolved); + + return 0; +} + +static void +print_context(char *secontext, char *expected) +{ + if (!secontext) + return; + + unsigned int style = QUOTE_OMIT_LEADING_TRAILING_QUOTES + | QUOTE_OVERWRITE_HEXSTR | + (xflag == HEXSTR_NONE + ? QUOTE_HEXSTR_NONE + : QUOTE_HEXSTR_NON_ASCII_CHARS); + + char *ctx_str; + ssize_t ctx_len = parse_secontext(secontext, &ctx_str); + + print_quoted_string_ex(ctx_str, ctx_len, style, "!"); + + if (!expected) + goto freecon_secontext; + + char *exp_str; + ssize_t exp_len = parse_secontext(expected, &exp_str); + + if (ctx_len != exp_len || strncmp(ctx_str, exp_str, ctx_len)) { + tprints("!!"); + print_quoted_string_ex(exp_str, exp_len, style, "!"); + } + + freecon(expected); +freecon_secontext: + freecon(secontext); +} + +void +selinux_printfdcon(pid_t pid, int fd) +{ + char *ctx = NULL; + char *exp = NULL; + + if (selinux_getfdcon(pid, fd, &ctx, &exp) < 0) + return; + + tprint_space(); + tprint_attribute_begin(); + print_context(ctx, exp); + tprint_attribute_end(); +} + +void +selinux_printfilecon(struct tcb *tcp, const char *path) +{ + char *ctx = NULL; + char *exp = NULL; + + if (selinux_getfilecon(tcp, path, &ctx, &exp) < 0) + return; + + tprint_space(); + tprint_attribute_begin(); + print_context(ctx, exp); + tprint_attribute_end(); +} + +void +selinux_printpidcon(struct tcb *tcp) +{ + char *ctx = NULL; + + if (selinux_getpidcon(tcp, &ctx) < 0) + return; + + tprint_attribute_begin(); + print_context(ctx, NULL); + tprint_attribute_end(); + tprint_space(); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/secontext.h -> _service:tar_scm:strace-6.1.tar.xz/src/secontext.h
Changed
@@ -1,7 +1,7 @@ /* * SELinux interface. * - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * * SPDX-License-Identifier: LGPL-2.1-or-later */ @@ -11,11 +11,31 @@ # include "defs.h" -extern bool selinux_context; -extern bool selinux_context_full; +void qualify_secontext(const char *const str); -int selinux_getfdcon(pid_t pid, int fd, char **context); -int selinux_getfilecon(struct tcb *tcp, const char *path, char **context); -int selinux_getpidcon(struct tcb *tcp, char **context); +# ifdef ENABLE_SECONTEXT + +enum secontext_bits { + /* Display full context instead of type only */ + SECONTEXT_FULL, + /* Check for context mismatch */ + SECONTEXT_MISMATCH, + + NUMBER_OF_SECONTEXT_BITS +}; + +extern struct number_set *secontext_set; + +void selinux_printfdcon(pid_t pid, int fd); +void selinux_printfilecon(struct tcb *tcp, const char *path); +void selinux_printpidcon(struct tcb *tcp); + +# else + +static inline void selinux_printfdcon(pid_t pid, int fd) {} +static inline void selinux_printfilecon(struct tcb *tcp, const char *path) {} +static inline void selinux_printpidcon(struct tcb *tcp) {} + +# endif /* ENABLE_SECONTEXT */ #endif /* !STRACE_SECONTEXT_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/signal.c -> _service:tar_scm:strace-6.1.tar.xz/src/signal.c
Changed
@@ -154,7 +154,6 @@ const uint32_t *mask; uint32_t inverted_maskNSIG_BYTES / 4; unsigned int size; - int i; char sep; s = stpcpy(outstr, prefix); @@ -166,28 +165,37 @@ /* check whether 2/3 or more bits are set */ if (popcount32(mask, size) >= size * (4 * 8) * 2 / 3) { /* show those signals that are NOT in the mask */ - unsigned int j; - for (j = 0; j < size; ++j) + for (unsigned int j = 0; j < size; ++j) inverted_maskj = ~maskj; mask = inverted_mask; *s++ = '~'; } sep = ''; - for (i = 0; (i = next_set_bit(mask, i, size * (4 * 8))) >= 0; ) { + for (int i = 0; (i = next_set_bit(mask, i, size * (4 * 8))) >= 0; ) { ++i; *s++ = sep; - if ((unsigned) i < nsignals) { - s = stpcpy(s, signalenti + 3); - } + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_ABBREV) + s = xappendstr(outstr, s, "%u", i); + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) + s = xappendstr(outstr, s, " /* "); + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW) { + if ((unsigned) i < nsignals) { + s = stpcpy(s, signalenti + 3); + } #ifdef ASM_SIGRTMAX - else if (i >= ASM_SIGRTMIN && i <= ASM_SIGRTMAX) { - s = xappendstr(outstr, s, "RT_%u", i - ASM_SIGRTMIN); - } + else if (i >= ASM_SIGRTMIN && i <= ASM_SIGRTMAX) { + s = xappendstr(outstr, s, "RT_%u", + i - ASM_SIGRTMIN); + } #endif - else { - s = xappendstr(outstr, s, "%u", i); + else if (xlat_verbose(xlat_verbosity) + != XLAT_STYLE_ABBREV) { + s = xappendstr(outstr, s, "%u", i); + } } + if (xlat_verbose(xlat_verbosity) == XLAT_STYLE_VERBOSE) + s = xappendstr(outstr, s, " */"); sep = ' '; } if (sep == '')
View file
_service:tar_scm:strace-5.14.tar.xz/src/sigreturn.c -> _service:tar_scm:strace-6.1.tar.xz/src/sigreturn.c
Changed
@@ -14,6 +14,7 @@ # include <asm/sigcontext.h> #endif +/* The following function might be unused, hence the inline qualifier. */ static inline void print_sigmask_addr_size(const void *const addr, const unsigned int size) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/sockaddr.c -> _service:tar_scm:strace-6.1.tar.xz/src/sockaddr.c
Changed
@@ -4,7 +4,7 @@ * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-2000 Wichert Akkerman <wichert@cistron.nl> * Copyright (c) 2005-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -20,16 +20,16 @@ #include "netlink.h" #include <linux/ax25.h> #include <linux/if_packet.h> +#include <linux/if_alg.h> #include <linux/if_arp.h> #include <linux/if_ether.h> +#include <linux/if_xdp.h> +#include <linux/mctp.h> +#include <linux/nfc.h> +#include <linux/qrtr.h> +#include <linux/vm_sockets.h> #include <linux/x25.h> -#ifdef HAVE_NETIPX_IPX_H -# include <netipx/ipx.h> -#else -# include <linux/ipx.h> -#endif - #include "xlat/addrfams.h" #include "xlat/arp_hardware_types.h" #include "xlat/ethernet_protocols.h" @@ -40,10 +40,70 @@ #include "xlat/bluetooth_l2_psm.h" #include "xlat/hci_channels.h" +#include "xlat/rxrpc_services.h" + +#include "xlat/ieee802154_addr_types.h" +#include "xlat/ieee802154_addrs.h" +#include "xlat/ieee802154_pan_ids.h" + +#include "xlat/alg_sockaddr_flags.h" + +#include "xlat/nfc_saps.h" +#include "xlat/nfc_sockaddr_protocols.h" + +#include "xlat/vsock_cids.h" +#include "xlat/vsock_flags.h" +#include "xlat/vsock_ports.h" + +#include "xlat/qipcrtr_nodes.h" +#include "xlat/qipcrtr_ports.h" + +#include "xlat/xdp_sockaddr_flags.h" + +#include "xlat/mctp_addrs.h" +#include "xlat/mctp_nets.h" + +#include "secontext.h" + #define SIZEOF_SA_FAMILY sizeof_field(struct sockaddr, sa_family) -const size_t arp_hardware_types_size = ARRAY_SIZE(arp_hardware_types) - 1; -const size_t ethernet_protocols_size = ARRAY_SIZE(ethernet_protocols) - 1; +struct sockaddr_rxrpc { + uint16_t srx_family; + uint16_t srx_service; + uint16_t transport_type; + uint16_t transport_len; + union { + uint16_t family; + struct sockaddr_in sin; + struct sockaddr_in6 sin6; + } transport; +}; + +#define IEEE802154_ADDR_LEN 8 +struct ieee802154_addr_sa { + int addr_type; + uint16_t pan_id; + union { + uint8_t hwaddrIEEE802154_ADDR_LEN; + uint16_t short_addr; + }; +}; + + +struct sockaddr_ieee802154 { + uint16_t family; + struct ieee802154_addr_sa addr; +}; + +#define IPX_NODE_LEN 6 +struct sockaddr_ipx { + uint16_t sipx_family; + uint16_t sipx_port; + uint32_t sipx_network; + unsigned char sipx_nodeIPX_NODE_LEN; + uint8_t sipx_type; + unsigned char sipx_zero; +}; static void print_sockaddr_data_un(struct tcb *tcp, const void *const buf, const int addrlen) @@ -57,6 +117,7 @@ if (sa_un->sun_path0) { print_quoted_string(sa_un->sun_path, path_len + 1, QUOTE_0_TERMINATED); + selinux_printfilecon(tcp, sa_un->sun_path); } else { tprints("@"); print_quoted_string(sa_un->sun_path + 1, path_len - 1, 0); @@ -344,6 +405,15 @@ (xs == XLAT_STYLE_VERBOSE ? tprints_comment : tprints)(addr_str); } +static bool +print_ax25_array_member(struct tcb *const tcp, void *const elem_buf, + const size_t elem_size, void *const data) +{ + print_ax25_addr(elem_buf); + + return true; +} + static void print_sockaddr_data_ax25(struct tcb *tcp, const void *const buf, const int addrlen) @@ -380,25 +450,16 @@ tprint_struct_next(); tprints_field_name("fsa_digipeater"); - tprint_array_begin(); - for (size_t i = 0; i < digis; i++) { - if (i) - tprint_array_next(); - print_ax25_addr(sax25->fsa_digipeater + i); - } - - if (want_digis > has_digis) { - if (digis) - tprint_array_next(); - tprint_unavailable(); - } - - tprint_array_end(); + print_local_array_ex(tcp, sax25->fsa_digipeater, digis, + sizeof(sax25->fsa_digipeater0), + print_ax25_array_member, NULL, + want_digis > has_digis ? PAF_ARRAY_TRUNCATED : 0, + NULL, NULL); digis_end: if (addrlen_us > (has_digis * sizeof(sax25->fsa_digipeater0) + sizeof(sax25->fsa_ax25))) { - tprints(", "); + tprint_struct_next(); tprint_more_data_follows(); } } @@ -419,6 +480,10 @@ PRINT_FIELD_VAL_ARRAY(*sa_ipx, sipx_node, PRINT_VAL_0X); tprint_struct_next(); PRINT_FIELD_0X(*sa_ipx, sipx_type); + if (sa_ipx->sipx_zero) { + tprint_struct_next(); + PRINT_FIELD_X(*sa_ipx, sipx_zero); + } } void @@ -445,6 +510,10 @@ { const struct sockaddr_nl *const sa_nl = buf; + if (sa_nl->nl_pad) { + PRINT_FIELD_X(*sa_nl, nl_pad); + tprint_struct_next(); + } PRINT_FIELD_TGID(*sa_nl, nl_pid, tcp); tprint_struct_next(); PRINT_FIELD_0X(*sa_nl, nl_groups); @@ -494,19 +563,18 @@ if (sa_ll->sll_halen) { const unsigned int oob_halen = addrlen - offsetof(struct sockaddr_ll, sll_addr); - unsigned int i; tprint_struct_next(); tprints_field_name("sll_addr"); tprint_array_begin(); - for (i = 0; i < sa_ll->sll_halen; ++i) { + for (unsigned int i = 0; i < sa_ll->sll_halen; ++i) { if (i) tprint_array_next(); if (i >= oob_halen) { tprint_more_data_follows(); break; } - tprintf("%#02x", sa_ll->sll_addri); + PRINT_VAL_0X(sa_ll->sll_addri); } tprint_array_end(); } @@ -525,11 +593,7 @@ static uint16_t btohs(uint16_t val) { -#ifdef WORDS_BIGENDIAN - return (val << 8) | (val >> 8); -#else - return val; -#endif + return is_bigendian ? (val << 8) | (val >> 8) : val; } static void @@ -557,11 +621,11 @@ } else if (psm_he >= L2CAP_PSM_LE_DYN_START && psm_he <= L2CAP_PSM_LE_DYN_END) { print_xlat(L2CAP_PSM_LE_DYN_START); - tprints(" + "); + tprint_plus(); PRINT_VAL_U(psm_he - L2CAP_PSM_LE_DYN_START); } else if (psm_he >= L2CAP_PSM_DYN_START) { print_xlat(L2CAP_PSM_DYN_START); - tprints(" + "); + tprint_plus(); PRINT_VAL_U(psm_he - L2CAP_PSM_DYN_START); } else { tprints("L2CAP_PSM_???"); @@ -596,7 +660,7 @@ tprints(cid_name); } else if (cid_he >= L2CAP_CID_DYN_START) { print_xlat(L2CAP_CID_DYN_START); - tprints(" + "); + tprint_plus(); PRINT_VAL_U(cid_he - L2CAP_CID_DYN_START); } else { tprints("L2CAP_CID_???"); @@ -700,6 +764,265 @@ } } +static void +print_sockaddr_data_rxrpc(struct tcb *tcp, const void *const buf, + const int len) +{ + const struct sockaddr_rxrpc *const sa = buf; + + PRINT_FIELD_XVAL_VERBOSE(*sa, srx_service, rxrpc_services, + "???_SERVICE"); + tprint_struct_next(); + PRINT_FIELD_XVAL(*sa, transport_type, socktypes, "SOCK_???"); + tprint_struct_next(); + PRINT_FIELD_U(*sa, transport_len); + tprint_struct_next(); + tprints_field_name("transport"); + tprint_struct_begin(); + + const void *const transport_buf = (void *) &sa->transport + + sizeof(sa->transport.family); + const int transport_len = MIN(sa->transport_len, + len - offsetof(struct sockaddr_rxrpc, + transport.family)); + const int transport_rest = MAX(0, transport_len + - (int) sizeof(sa->transport.family)); + + /* Only AF_INET and AF_INET6 are supported as RxRPC transports */ + switch (sa->transport.family) { + case AF_INET: + tprints_field_name("sin"); + tprint_struct_begin(); + PRINT_FIELD_XVAL(sa->transport.sin, sin_family, addrfams, + "AF_???"); + if (sa->transport_len >= sizeof(struct sockaddr_in)) { + tprint_struct_next(); + print_sockaddr_data_in(tcp, &sa->transport, + transport_len); + } else if (transport_rest > 0) { + tprint_struct_next(); + print_quoted_string(transport_buf, transport_rest, 0); + } + tprint_struct_end(); + break; + + case AF_INET6: + tprints_field_name("sin6"); + tprint_struct_begin(); + PRINT_FIELD_XVAL(sa->transport.sin6, sin6_family, addrfams, + "AF_???"); + if (sa->transport_len >= SIN6_MIN_LEN) { + tprint_struct_next(); + print_sockaddr_data_in6(tcp, &sa->transport, + transport_len); + } else if (transport_rest > 0) { + tprint_struct_next(); + print_quoted_string(transport_buf, transport_rest, 0); + } + tprint_struct_end(); + break; + + default: + PRINT_FIELD_XVAL(sa->transport, family, addrfams, "AF_???"); + if (transport_rest > 0) { + tprint_struct_next(); + print_quoted_string(transport_buf, transport_rest, 0); + } + } + + tprint_struct_end(); +} + +static void +print_sockaddr_data_ieee802154(struct tcb *tcp, const void *const buf, + const int len) +{ + const struct sockaddr_ieee802154 *const sa = buf; + + tprints_field_name("addr"); + tprint_struct_begin(); + PRINT_FIELD_XVAL_VERBOSE(sa->addr, addr_type, ieee802154_addr_types, + "IEEE802154_ADDR_???"); + tprint_struct_next(); + PRINT_FIELD_XVAL_VERBOSE(sa->addr, pan_id, ieee802154_pan_ids, NULL); + switch (sa->addr.addr_type) { + case IEEE802154_ADDR_NONE: + break; + case IEEE802154_ADDR_SHORT: + tprint_struct_next(); + PRINT_FIELD_XVAL_VERBOSE(sa->addr, short_addr, ieee802154_addrs, + NULL); + break; + case IEEE802154_ADDR_LONG: + default: + tprint_struct_next(); + PRINT_FIELD_HWADDR_SZ(sa->addr, hwaddr, sizeof(sa->addr.hwaddr), + ARPHRD_IEEE802154); + } + tprint_struct_end(); +} + +static void +print_sockaddr_data_alg(struct tcb *tcp, const void *const buf, + const int len) +{ + const struct sockaddr_alg_new *const sa_alg = buf; + + PRINT_FIELD_STRING(*sa_alg, salg_type, sizeof(sa_alg->salg_type), + QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0); + tprint_struct_next(); + PRINT_FIELD_FLAGS_VERBOSE(*sa_alg, salg_feat, alg_sockaddr_flags, + "CRYPTO_ALG_???"); + tprint_struct_next(); + PRINT_FIELD_FLAGS_VERBOSE(*sa_alg, salg_mask, alg_sockaddr_flags, + "CRYPTO_ALG_???"); + tprint_struct_next(); + PRINT_FIELD_STRING(*sa_alg, salg_name, + len - offsetof(struct sockaddr_alg_new, salg_name), + QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0); +} + +static void +print_sockaddr_data_nfc(struct tcb *tcp, const void *const buf, + const int addrlen) +{ + const union { + struct { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; + uint8_t dsap; + uint8_t ssap; + char service_nameNFC_LLCP_MAX_SERVICE_NAME; + uint32_t service_name_len; + } nfc_32; + struct { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; + uint8_t dsap; + uint8_t ssap; + char service_nameNFC_LLCP_MAX_SERVICE_NAME; + uint64_t ATTRIBUTE_ALIGNED(8) service_name_len; + } nfc_64; + } *const sa_nfc = buf; + + PRINT_FIELD_IFINDEX(sa_nfc->nfc_32, dev_idx); + tprint_struct_next(); + PRINT_FIELD_X(sa_nfc->nfc_32, target_idx); + tprint_struct_next(); + PRINT_FIELD_XVAL(sa_nfc->nfc_32, nfc_protocol, nfc_sockaddr_protocols, + "NFC_PROTO_???"); + + size_t sa_nfc_llcp_len = current_wordsize == 8 ? sizeof(sa_nfc->nfc_64) + : sizeof(sa_nfc->nfc_32); + if ((uint32_t) addrlen < sa_nfc_llcp_len) + { + if ((uint32_t) addrlen > sizeof(struct sockaddr_nfc)) { + tprint_struct_next(); + tprint_more_data_follows(); + } + + return; + } + + uint64_t snsz = current_wordsize == 8 ? sa_nfc->nfc_64.service_name_len + : sa_nfc->nfc_32.service_name_len; + + tprint_struct_next(); + PRINT_FIELD_XVAL_VERBOSE(sa_nfc->nfc_32, dsap, nfc_saps, NULL); + tprint_struct_next(); + PRINT_FIELD_XVAL_VERBOSE(sa_nfc->nfc_32, ssap, nfc_saps, NULL); + tprint_struct_next(); + PRINT_FIELD_STRING(sa_nfc->nfc_32, service_name, + MIN(sizeof(sa_nfc->nfc_32.service_name), snsz), 0); + tprint_struct_next(); + tprints_field_name("service_name_len"); + PRINT_VAL_U(snsz); +} + +static void +print_sockaddr_data_vsock(struct tcb *tcp, const void *const buf, + const int addrlen) +{ + const struct sockaddr_vm *const sa_vm = buf; + + if (sa_vm->svm_reserved1) { + PRINT_FIELD_X(*sa_vm, svm_reserved1); + tprint_struct_next(); + } + PRINT_FIELD_XVAL(*sa_vm, svm_cid, vsock_cids, NULL); + tprint_struct_next(); + PRINT_FIELD_XVAL(*sa_vm, svm_port, vsock_ports, NULL); + tprint_struct_next(); + PRINT_FIELD_FLAGS(*sa_vm, svm_flags, vsock_flags, "VMADDR_FLAG_???"); + if (!IS_ARRAY_ZERO(sa_vm->svm_zero)) { + tprint_struct_next(); + PRINT_FIELD_HEX_ARRAY(*sa_vm, svm_zero); + } +} + +static void +print_sockaddr_data_qrtr(struct tcb *tcp, const void *const buf, + const int addrlen) +{ + const struct sockaddr_qrtr *const sa_qrtr = buf; + + PRINT_FIELD_XVAL(*sa_qrtr, sq_node, qipcrtr_nodes, NULL); + tprint_struct_next(); + PRINT_FIELD_XVAL(*sa_qrtr, sq_port, qipcrtr_ports, NULL); +} + +static void +print_sockaddr_data_xdp(struct tcb *tcp, const void *const buf, + const int addrlen) +{ + const struct sockaddr_xdp *const sa_xdp = buf; + + PRINT_FIELD_FLAGS(*sa_xdp, sxdp_flags, xdp_sockaddr_flags, "XDP_???"); + tprint_struct_next(); + PRINT_FIELD_IFINDEX(*sa_xdp, sxdp_ifindex); + tprint_struct_next(); + PRINT_FIELD_U(*sa_xdp, sxdp_queue_id); + + if (sa_xdp->sxdp_flags & XDP_SHARED_UMEM) { + tprint_struct_next(); + PRINT_FIELD_FD(*sa_xdp, sxdp_shared_umem_fd, tcp); + } else if (sa_xdp->sxdp_shared_umem_fd) { + tprint_struct_next(); + PRINT_FIELD_X(*sa_xdp, sxdp_shared_umem_fd); + } +} + +static void +print_sockaddr_data_mctp(struct tcb *tcp, const void *const buf, + const int addrlen) +{ + const struct sockaddr_mctp *const sa_mctp = buf; + + if (sa_mctp->__smctp_pad0) { + PRINT_FIELD_X(*sa_mctp, __smctp_pad0); + tprint_struct_next(); + } + PRINT_FIELD_XVAL(*sa_mctp, smctp_network, mctp_nets, NULL); + tprint_struct_next(); + tprints_field_name("smctp_addr"); + tprint_struct_begin(); + PRINT_FIELD_XVAL(sa_mctp->smctp_addr, s_addr, mctp_addrs, NULL); + tprint_struct_end(); + tprint_struct_next(); + PRINT_FIELD_X(*sa_mctp, smctp_type); + tprint_struct_next(); + PRINT_FIELD_X(*sa_mctp, smctp_tag); + if (sa_mctp->__smctp_pad1) { + tprint_struct_next(); + PRINT_FIELD_X(*sa_mctp, __smctp_pad1); + } + +} + typedef void (* const sockaddr_printer)(struct tcb *tcp, const void *const, const int); static const struct { @@ -712,9 +1035,19 @@ AF_IPX = { print_sockaddr_data_ipx, sizeof(struct sockaddr_ipx) }, AF_X25 = { print_sockaddr_data_x25, sizeof(struct sockaddr_x25) }, AF_INET6 = { print_sockaddr_data_in6, SIN6_MIN_LEN }, - AF_NETLINK = { print_sockaddr_data_nl, SIZEOF_SA_FAMILY + 1 }, + AF_NETLINK = { print_sockaddr_data_nl, sizeof(struct sockaddr_nl) }, AF_PACKET = { print_sockaddr_data_ll, sizeof(struct sockaddr_ll) }, AF_BLUETOOTH = { print_sockaddr_data_bt, SIZEOF_SA_FAMILY + 1 }, + AF_RXRPC = { print_sockaddr_data_rxrpc, sizeof(struct sockaddr_rxrpc) }, + AF_IEEE802154 = { print_sockaddr_data_ieee802154, sizeof(struct sockaddr_ieee802154) }, + AF_ALG = { print_sockaddr_data_alg, sizeof(struct sockaddr_alg_new) + 1 }, + AF_NFC = { print_sockaddr_data_nfc, sizeof(struct sockaddr_nfc) }, + AF_VSOCK = { print_sockaddr_data_vsock, sizeof(struct sockaddr_vm) }, + /* AF_KCM does not support connect/bind calls on its sockets */ + AF_QIPCRTR = { print_sockaddr_data_qrtr, sizeof(struct sockaddr_qrtr) }, + /* AF_SMC doesn't have sockaddr (INET{,6} sockaddrs are used instead) */ + AF_XDP = { print_sockaddr_data_xdp, sizeof(struct sockaddr_xdp) }, + AF_MCTP = { print_sockaddr_data_mctp, sizeof(struct sockaddr_mctp) }, }; void
View file
_service:tar_scm:strace-5.14.tar.xz/src/socketutils.c -> _service:tar_scm:strace-6.1.tar.xz/src/socketutils.c
Changed
@@ -58,17 +58,6 @@ } static bool -print_sockaddr_by_inode_cached(const unsigned long inode) -{ - const char *const details = get_sockaddr_by_inode_cached(inode); - if (details) { - tprints(details); - return true; - } - return false; -} - -static bool send_query(struct tcb *tcp, const int fd, void *req, size_t req_size) { struct sockaddr_nl nladdr = { @@ -267,7 +256,6 @@ { const char *proto_name = opaque_data; const struct unix_diag_msg *diag_msg = data; - struct rtattr *attr; int rta_len = data_len - NLMSG_LENGTH(sizeof(*diag_msg)); uint32_t peer = 0; size_t path_len = 0; @@ -280,7 +268,7 @@ if (diag_msg->udiag_family != AF_UNIX) return -1; - for (attr = (struct rtattr *) (diag_msg + 1); + for (struct rtattr *attr = (struct rtattr *) (diag_msg + 1); RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) { switch (attr->rta_type) { @@ -433,6 +421,7 @@ int proto; } protocols = { SOCK_PROTO_UNIX = { "UNIX", unix_get, AF_UNIX}, + SOCK_PROTO_UNIX_STREAM= { "UNIX-STREAM", unix_get, AF_UNIX}, /* * inet_diag handlers are currently implemented only for TCP, * UDP(lite), SCTP, RAW, and DCCP, but we try to resolve it for all @@ -476,8 +465,7 @@ enum sock_proto get_proto_by_name(const char *const name) { - unsigned int i; - for (i = (unsigned int) SOCK_PROTO_UNKNOWN + 1; + for (unsigned int i = (unsigned int) SOCK_PROTO_UNKNOWN + 1; i < ARRAY_SIZE(protocols); ++i) { if (protocolsi.name && !strcmp(name, protocolsi.name)) return (enum sock_proto) i; @@ -495,8 +483,8 @@ } static const char * -get_sockaddr_by_inode_uncached(struct tcb *tcp, const unsigned long inode, - const enum sock_proto proto) +get_sockaddr_by_inode_lookup(struct tcb *tcp, const unsigned long inode, + const enum sock_proto proto) { if ((unsigned int) proto >= ARRAY_SIZE(protocols) || (proto != SOCK_PROTO_UNKNOWN && !protocolsproto.get)) @@ -512,16 +500,15 @@ protocolsproto.proto, inode, protocolsproto.name); } else { - unsigned int i; - for (i = (unsigned int) SOCK_PROTO_UNKNOWN + 1; + for (unsigned int i = (unsigned int) SOCK_PROTO_UNKNOWN + 1; i < ARRAY_SIZE(protocols); ++i) { if (!protocolsi.get) continue; details = protocolsi.get(tcp, fd, - protocolsproto.family, - protocolsproto.proto, + protocolsi.family, + protocolsi.proto, inode, - protocolsproto.name); + protocolsi.name); if (details) break; } @@ -531,24 +518,25 @@ return details; } -static bool -print_sockaddr_by_inode_uncached(struct tcb *tcp, const unsigned long inode, - const enum sock_proto proto) +static const char * +get_sockaddr_by_inode_uncached(struct tcb *tcp, const unsigned long inode, + const enum sock_proto proto) { - const char *details = get_sockaddr_by_inode_uncached(tcp, inode, proto); + const char *details = get_sockaddr_by_inode_lookup(tcp, inode, proto); - if (details) { - tprints(details); - return true; - } + if (details) + return details; - if ((unsigned int) proto < ARRAY_SIZE(protocols) && - protocolsproto.name) { - tprintf("%s:%lu", protocolsproto.name, inode); - return true; - } + if ((unsigned int) proto >= ARRAY_SIZE(protocols) || + !protocolsproto.name) + return NULL; + + static char *str; + free(str); + if (asprintf(&str, "%s:%lu", protocolsproto.name, inode) < 0) + return str = NULL; - return false; + return str; } /* Given an inode number of a socket, return its protocol details. */ @@ -561,16 +549,6 @@ get_sockaddr_by_inode_uncached(tcp, inode, getfdproto(tcp, fd)); } -/* Given an inode number of a socket, print out its protocol details. */ -bool -print_sockaddr_by_inode(struct tcb *const tcp, const int fd, - const unsigned long inode) -{ - return print_sockaddr_by_inode_cached(inode) ? true : - print_sockaddr_by_inode_uncached(tcp, inode, - getfdproto(tcp, fd)); -} - /* * Managing the cache for decoding communications of Netlink GENERIC protocol * @@ -606,7 +584,6 @@ { struct dyxlat *const dyxlat = opaque_data; const struct genlmsghdr *const gnlh = data; - struct rtattr *attr; int rta_len = data_len - NLMSG_LENGTH(sizeof(*gnlh)); char *name = NULL; @@ -620,7 +597,7 @@ if (gnlh->version != 2) return -1; - for (attr = (struct rtattr *) (gnlh + 1); + for (struct rtattr *attr = (struct rtattr *) (gnlh + 1); RTA_OK(attr, rta_len); attr = RTA_NEXT(attr, rta_len)) { switch (attr->rta_type) {
View file
_service:tar_scm:strace-5.14.tar.xz/src/static_assert.h -> _service:tar_scm:strace-6.1.tar.xz/src/static_assert.h
Changed
@@ -10,7 +10,7 @@ # include "assert.h" -# if defined HAVE_STATIC_ASSERT +# if defined HAVE_STATIC_ASSERT || defined static_assert /* static_assert is already available */ @@ -21,6 +21,11 @@ # else /* !HAVE_STATIC_ASSERT && !HAVE__STATIC_ASSERT */ +/* Otherwise it is impossible to use the fallback inside functions. */ +# if defined __GNUC__ +# pragma GCC diagnostic ignored "-Wnested-externs" +# endif + # define static_assert(expr, message) \ extern int (*strace_static_assert(int))sizeof(int2 * !!(expr) - 1)
View file
_service:tar_scm:strace-5.14.tar.xz/src/statx.c -> _service:tar_scm:strace-6.1.tar.xz/src/statx.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -44,7 +44,7 @@ NULL); flags &= ~AT_STATX_SYNC_TYPE; if (flags) { - tprints("|"); + tprint_or(); printflags(at_flags, flags, NULL); } tprint_arg_next(); @@ -72,43 +72,66 @@ "STATX_ATTR_???"); if (!abbrev(tcp)) { - tprint_struct_next(); - PRINT_FIELD_U(stx, stx_nlink); - tprint_struct_next(); - PRINT_FIELD_ID(stx, stx_uid); - tprint_struct_next(); - PRINT_FIELD_ID(stx, stx_gid); + if (stx.stx_mask & STATX_NLINK) { + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_nlink); + } + if (stx.stx_mask & STATX_UID) { + tprint_struct_next(); + PRINT_FIELD_ID(stx, stx_uid); + } + if (stx.stx_mask & STATX_GID) { + tprint_struct_next(); + PRINT_FIELD_ID(stx, stx_gid); + } } - tprint_struct_next(); - PRINT_FIELD_OBJ_VAL(stx, stx_mode, print_symbolic_mode_t); + if (stx.stx_mask & (STATX_TYPE|STATX_MODE)) { + tprint_struct_next(); + PRINT_FIELD_OBJ_VAL(stx, stx_mode, + print_symbolic_mode_t); + } if (!abbrev(tcp)) { - tprint_struct_next(); - PRINT_FIELD_U(stx, stx_ino); + if (stx.stx_mask & STATX_INO) { + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_ino); + } } - tprint_struct_next(); - PRINT_FIELD_U(stx, stx_size); + if (stx.stx_mask & STATX_SIZE) { + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_size); + } if (!abbrev(tcp)) { - tprint_struct_next(); - PRINT_FIELD_U(stx, stx_blocks); + if (stx.stx_mask & STATX_BLOCKS) { + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_blocks); + } tprint_struct_next(); PRINT_FIELD_FLAGS(stx, stx_attributes_mask, statx_attrs, "STATX_ATTR_???"); - tprint_struct_next(); - PRINT_FIELD_OBJ_PTR(stx, stx_atime, - print_statx_timestamp); - tprint_struct_next(); - PRINT_FIELD_OBJ_PTR(stx, stx_btime, - print_statx_timestamp); - tprint_struct_next(); - PRINT_FIELD_OBJ_PTR(stx, stx_ctime, - print_statx_timestamp); - tprint_struct_next(); - PRINT_FIELD_OBJ_PTR(stx, stx_mtime, - print_statx_timestamp); + if (stx.stx_mask & STATX_ATIME) { + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(stx, stx_atime, + print_statx_timestamp); + } + if (stx.stx_mask & STATX_BTIME) { + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(stx, stx_btime, + print_statx_timestamp); + } + if (stx.stx_mask & STATX_CTIME) { + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(stx, stx_ctime, + print_statx_timestamp); + } + if (stx.stx_mask & STATX_MTIME) { + tprint_struct_next(); + PRINT_FIELD_OBJ_PTR(stx, stx_mtime, + print_statx_timestamp); + } tprint_struct_next(); PRINT_FIELD_U(stx, stx_rdev_major); tprint_struct_next(); @@ -117,6 +140,16 @@ PRINT_FIELD_U(stx, stx_dev_major); tprint_struct_next(); PRINT_FIELD_U(stx, stx_dev_minor); + if (stx.stx_mask & STATX_MNT_ID) { + tprint_struct_next(); + PRINT_FIELD_X(stx, stx_mnt_id); + } + if (stx.stx_mask & STATX_DIOALIGN) { + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_dio_mem_align); + tprint_struct_next(); + PRINT_FIELD_U(stx, stx_dio_offset_align); + } } else { tprint_struct_next(); tprint_more_data_follows();
View file
_service:tar_scm:strace-5.14.tar.xz/src/statx.h -> _service:tar_scm:strace-6.1.tar.xz/src/statx.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -44,7 +44,11 @@ uint32_t stx_dev_major; /* ID of device containing file uncond */ uint32_t stx_dev_minor; - uint64_t reserved214; /* Spare space for future expansion */ + uint64_t stx_mnt_id; + uint32_t stx_dio_mem_align; /* Memory buffer alignment for direct I/O */ + uint32_t stx_dio_offset_align; /* File offset alignment for direct I/O */ + + uint64_t reserved212; /* Spare space for future expansion */ } struct_statx; #endif /* !STRACE_STATX_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/strace.c -> _service:tar_scm:strace-6.1.tar.xz/src/strace.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -36,6 +36,7 @@ #include "ptrace_syscall_info.h" #include "scno.h" #include "printsiginfo.h" +#include "strauss.h" #include "trace_event.h" #include "xstring.h" #include "delay.h" @@ -70,9 +71,11 @@ bool output_separately; unsigned int ptrace_setoptions = PTRACE_O_TRACESYSGOOD | PTRACE_O_TRACEEXEC | PTRACE_O_TRACEEXIT; -static struct xlat_data xflag_str = { - { HEXSTR_NON_ASCII, "non-ascii" }, - { HEXSTR_ALL, "all" }, +static const struct xlat_data xflag_str = { + { HEXSTR_NONE, "none" }, + { HEXSTR_NON_ASCII_CHARS, "non-ascii-chars" }, + { HEXSTR_NON_ASCII, "non-ascii" }, + { HEXSTR_ALL, "all" }, }; unsigned int xflag; bool debug_flag; @@ -90,6 +93,8 @@ static int rflag_width = 6; static bool print_pid_pfx; +static unsigned int version_verbosity; + /* -I n */ enum { INTR_NOT_SET = 0, @@ -112,7 +117,7 @@ DAEMONIZE_OPTS_GUARD__, MAX_DAEMONIZE_OPTS = DAEMONIZE_OPTS_GUARD__ - 1 }; -static struct xlat_data daemonize_str = { +static const struct xlat_data daemonize_str = { { DAEMONIZE_GRANDCHILD, "grandchild" }, { DAEMONIZE_NEW_PGROUP, "pgroup" }, { DAEMONIZE_NEW_PGROUP, "pgrp" }, @@ -135,8 +140,6 @@ static int post_attach_sigstop = TCB_IGNORE_ONE_SIGSTOP; #define use_seize (post_attach_sigstop == 0) -unsigned int pidns_translation; - static bool detach_on_execve; static int exit_code; @@ -218,7 +221,7 @@ #endif /* HAVE_STERRROR */ static void -print_version(void) +print_version(unsigned int verbosity) { static const char features = #ifdef ENABLE_STACKTRACE @@ -253,6 +256,9 @@ PACKAGE_NAME, PACKAGE_VERSION, COPYRIGHT_YEAR, PACKAGE_URL); printf("\nOptional features enabled:%s\n", features0 ? features : " (none)"); + + /* Raise strauss awareness */ + print_strauss(verbosity); } static void @@ -264,9 +270,11 @@ # define K_OPT "" #endif #ifdef ENABLE_SECONTEXT -# define SECONTEXT_OPT "--secontext=full\n" +# define SECONTEXT_OPT " --secontext=FORMAT\n" +# define SECONTEXT_E_QUAL ", secontext" #else # define SECONTEXT_OPT "" +# define SECONTEXT_E_QUAL "" #endif printf("\ @@ -282,7 +290,7 @@ General:\n\ -e EXPR a qualifying expression: OPTION=!all or OPTION=!VAL1,VAL2...\n\ options: trace, abbrev, verbose, raw, signal, read, write, fault,\n\ - inject, status, quiet, kvm, decode-fds\n\ + inject, status, quiet, kvm, decode-fds" SECONTEXT_E_QUAL "\n\ \n\ Startup:\n\ -E VAR=VAL, --env=VAR=VAL\n\ @@ -315,8 +323,8 @@ (useful to make 'strace -o FILE PROG' not stop on ^Z)\n\ \n\ Filtering:\n\ - -e trace=!{?SYSCALL@64|@32|@x32|?/REGEX|GROUP|all|none},\n\ - --trace=!{?SYSCALL@64|@32|@x32|?/REGEX|GROUP|all|none}\n\ + -e trace=!?{{SYSCALL|GROUP|all|/REGEX}@64|@32|@x32|none},\n\ + --trace=!?{{SYSCALL|GROUP|all|/REGEX}@64|@32|@x32|none}\n\ trace only specified syscalls.\n\ groups: %%clock, %%creds, %%desc, %%file, %%fstat, %%fstatfs %%ipc, %%lstat,\n\ %%memory, %%net, %%process, %%pure, %%signal, %%stat, %%%%stat,\n\ @@ -358,6 +366,19 @@ path (file path),\n\ pidfd (associated PID for pidfds),\n\ socket (protocol-specific information for socket descriptors)\n\ +" +#ifdef ENABLE_SECONTEXT +"\ + -e secontext=FORMAT, --secontext=FORMAT\n\ + print SELinux contexts in square brackets\n\ + formats: comma-separated list of all, full, mismatch, none\n\ + all: equivalent to full,mismatch\n\ + full: print the full context instead of the type only\n\ + mismatch: print expected context when actual is not matching\n\ + none: equivalent to not specifying the option at all\n\ +" +#endif +"\ -i, --instruction-pointer\n\ print instruction pointer at time of syscall\n\ " @@ -402,8 +423,10 @@ precision: one of s, ms, us, ns; default is microseconds\n\ -v, --no-abbrev\n\ verbose mode: print entities unabbreviated\n\ + --strings-in-hex=non-ascii-chars\n\ + use hex instead of octal in escape sequences\n\ -x, --strings-in-hex=non-ascii\n\ - print non-ascii strings in hex\n\ + print non-ASCII strings in hex\n\ -xx, --strings-in-hex=all\n\ print all strings in hex\n\ -X FORMAT, --const-print-style=FORMAT\n\ @@ -414,14 +437,10 @@ -yy, --decode-fds=all\n\ print all available information associated with file\n\ descriptors in addition to paths\n\ -" -#ifdef ENABLE_SECONTEXT -"\ - --secontext=full\n\ - print SELinux contexts (type only unless 'full' is specified)\n\ -" -#endif -"\ + --decode-pids=pidns\n\ + print PIDs in strace's namespace, too\n\ + -Y, --decode-pids=comm\n\ + print command names associated with PIDs\n\ \n\ Statistics:\n\ -c, --summary-only\n\ @@ -463,6 +482,10 @@ -d, --debug enable debug output to stderr\n\ -h, --help print help message\n\ --seccomp-bpf enable seccomp-bpf filtering\n\ + --tips=id:ID,format:FORMAT\n\ + show strace tips, tricks, and tweaks on exit\n\ + id: non-negative integer or random; default is random\n\ + format: none, compact, full; default is compact\n\ -V, --version print version\n\ " /* ancient, no one should use it @@ -550,8 +573,10 @@ * but before we tried to restart it. Log looks ugly. */ if (current_tcp && current_tcp->curcol != 0) { - tprintf(" <Cannot restart pid %d with ptrace(%s): %s>\n", + tprint_space(); + tprintf("<Cannot restart pid %d with ptrace(%s): %s>", tcp->pid, ptrace_op_str(op), strerror(err)); + tprint_newline(); line_ended(); } errno = err; @@ -766,6 +791,17 @@ set_personality(current_tcp->currpers); } +static void +print_comm_str(const char *str, const size_t len) +{ + if (!len) + return; + tprint_associated_info_begin(); + print_quoted_string_ex(str, len, + QUOTE_OMIT_LEADING_TRAILING_QUOTES, "<>"); + tprint_associated_info_end(); +} + void printleader(struct tcb *tcp) { @@ -785,7 +821,9 @@ * case 2: split log, we are the same tcb, but our last line * didn't finish ("SIGKILL nuked us after syscall entry" etc). */ - tprints(" <unfinished ...>\n"); + tprint_space(); + tprints("<unfinished ...>"); + tprint_newline(); printing_tcp->curcol = 0; } } @@ -794,18 +832,28 @@ set_current_tcp(tcp); current_tcp->curcol = 0; - if (print_pid_pfx) - tprintf("%-5d ", tcp->pid); - else if (nprocs > 1 && !outfname) - tprintf("pid %5u ", tcp->pid); + if (print_pid_pfx || (nprocs > 1 && !outfname)) { + size_t len = is_number_in_set(DECODE_PID_COMM, decode_pid_set) + ? strlen(tcp->comm) : 0; + + if (print_pid_pfx) { + if (len) + tprintf("%u", tcp->pid); + else + tprintf("%-5u", tcp->pid); + } else { + tprint_attribute_begin(); + tprintf("pid %5u", tcp->pid); + } -#ifdef ENABLE_SECONTEXT - char *context; - if (!selinux_getpidcon(tcp, &context)) { - tprintf("%s ", context); - free(context); + print_comm_str(tcp->comm, len); + + if (!print_pid_pfx) + tprint_attribute_end(); + tprint_space(); } -#endif + + selinux_printpidcon(tcp); if (tflag_format) { struct timespec ts; @@ -891,33 +939,77 @@ free the TCBs, we allocate a single chunk of many. */ size_t old_tcbtabsize; struct tcb *newtcbs; - struct tcb **tcb_ptr; old_tcbtabsize = tcbtabsize; tcbtab = xgrowarray(tcbtab, &tcbtabsize, sizeof(tcbtab0)); newtcbs = xcalloc(tcbtabsize - old_tcbtabsize, sizeof(newtcbs0)); - for (tcb_ptr = tcbtab + old_tcbtabsize; - tcb_ptr < tcbtab + tcbtabsize; tcb_ptr++, newtcbs++) + for (struct tcb **tcb_ptr = tcbtab + old_tcbtabsize; + tcb_ptr < tcbtab + tcbtabsize; + ++tcb_ptr, ++newtcbs) *tcb_ptr = newtcbs; } +static char * +strip_trailing_newlines(char *str) +{ + size_t len = strlen(str); + for (; len > 0; --len) { + if (strlen - 1 != '\n') + break; + } + strlen = '\0'; + return str; +} + +/* Load the contents of /proc/$pid/comm into `buf'. */ +static void +load_pid_comm(int pid, char *buf, size_t buf_size) +{ + static const char comm_path = "/proc/%d/comm"; + char procfilesizeof(comm_path) + sizeof(int) * 3; + + buf0 = '\0'; + xsprintf(procfile, comm_path, pid); + FILE *fp = fopen_stream(procfile, "r"); + if (fp) { + if (fgets(buf, buf_size, fp)) + strip_trailing_newlines(buf); + fclose(fp); + } +} + +void +print_pid_comm(int pid) +{ + char bufPROC_COMM_LEN; + load_pid_comm(pid, buf, sizeof(buf)); + print_comm_str(buf, strlen(buf)); +} + +void +maybe_load_task_comm(struct tcb *tcp) +{ + if (!is_number_in_set(DECODE_PID_COMM, decode_pid_set)) + return; + + load_pid_comm(get_proc_pid(tcp->pid), tcp->comm, sizeof(tcp->comm)); +} + static struct tcb * alloctcb(int pid) { - unsigned int i; - struct tcb *tcp; - if (nprocs == tcbtabsize) expand_tcbtab(); - for (i = 0; i < tcbtabsize; i++) { - tcp = tcbtabi; + for (unsigned int i = 0; i < tcbtabsize; ++i) { + struct tcb *tcp = tcbtabi; if (!tcp->pid) { memset(tcp, 0, sizeof(*tcp)); list_init(&tcp->wait_list); tcp->pid = pid; + maybe_load_task_comm(tcp); #if SUPPORTED_PERSONALITIES > 1 tcp->currpers = current_personality; #endif @@ -978,8 +1070,7 @@ "since attach", tcp->pid, ts_float(&dt)); } - int p; - for (p = 0; p < SUPPORTED_PERSONALITIES; ++p) + for (int p = 0; p < SUPPORTED_PERSONALITIES; ++p) free(tcp->inject_vecp); free_tcb_priv_data(tcp); @@ -1281,7 +1372,6 @@ startup_attach(void) { pid_t parent_pid = strace_tracer_pid; - unsigned int tcbi; struct tcb *tcp; if (daemonized_tracer) { @@ -1325,7 +1415,7 @@ } } - for (tcbi = 0; tcbi < tcbtabsize; tcbi++) { + for (unsigned int tcbi = 0; tcbi < tcbtabsize; ++tcbi) { tcp = tcbtabtcbi; if (!tcp->pid) @@ -1418,7 +1508,8 @@ alarm(3); /* we depend on SIGCHLD set to SIG_DFL by init code */ /* if it happens to be SIG_IGN'ed, wait won't block */ - wait(NULL); + while (wait(NULL) < 0 && errno == EINTR) + ; alarm(0); } @@ -1483,13 +1574,11 @@ static void redirect_standard_fds(void) { - int i; - /* * It might be a good idea to redirect stderr as well, * but we sometimes need to print error messages. */ - for (i = 0; i <= 1; ++i) { + for (int i = 0; i <= 1; ++i) { if (!fd_is_placeholderi) { close(i); open_dummy_desc(); @@ -1871,6 +1960,71 @@ return 0; } +static int +parse_tips_arg(const char *in_arg) +{ + static const char id_pfx = "id:"; + static const char fmt_pfx = "format:"; + + enum { + TOKEN_ID = 1 << 0, + TOKEN_FORMAT = 1 << 1, + } token_type; + int id = tip_id; + enum tips_fmt fmt = show_tips == TIPS_NONE ? TIPS_COMPACT : show_tips; + char *arg = xstrdup(in_arg); + char *saveptr = NULL; + + for (const char *token = strtok_r(arg, ",", &saveptr); + token; token = strtok_r(NULL, ",", &saveptr)) { + token_type = TOKEN_ID | TOKEN_FORMAT; + + if (!strncasecmp(token, id_pfx, sizeof(id_pfx) - 1)) { + token += sizeof(id_pfx) - 1; + token_type = TOKEN_ID; + } else if (!strncasecmp(token, fmt_pfx, + sizeof(fmt_pfx) - 1)) { + token += sizeof(fmt_pfx) - 1; + token_type = TOKEN_FORMAT; + + } + + if (token_type & TOKEN_ID) { + int ret; + + if (!strcasecmp(token, "random")) { + id = TIP_ID_RANDOM; + continue; + } else if ((ret = string_to_uint(token)) >= 0) { + id = ret; + continue; + } + } + + if (token_type & TOKEN_FORMAT) { + if (!strcasecmp(token, "none")) { + fmt = TIPS_NONE; + continue; + } else if (!strcasecmp(token, "compact")) { + fmt = TIPS_COMPACT; + continue; + } else if (!strcasecmp(token, "full")) { + fmt = TIPS_FULL; + continue; + } + } + + free(arg); + return -1; + } + + tip_id = id; + show_tips = fmt; + + free(arg); + return 0; +} + static void remove_from_env(char **env, size_t *env_count, const char *var) { @@ -1974,6 +2128,31 @@ return new_env; } +static void +increase_version_verbosity(void) +{ + if (version_verbosity < (STRAUSS_START_VERBOSITY + strauss_lines)) + version_verbosity++; +} + +struct pathtrace { + struct path_set_item *paths; + size_t size; + size_t count; +}; + +static void +add_path_trace(struct pathtrace *pt, const char *path) +{ + if (pt->count >= pt->size) { + pt->paths = xgrowarray(pt->paths, &pt->size, + sizeof(pt->paths0)); + } + + pt->pathspt->count.path = path; + pt->count++; +} + /* * Initialization part of main() was eating much stack (~0.5k), * which was unused after init. @@ -1993,12 +2172,13 @@ static const char tflag_str = "format:time"; static const char ttflag_str = "precision:us,format:time"; static const char tttflag_str = "format:unix,precision:us"; + static const char secontext_qual = "!full,mismatch"; int c, i; int optF = 0, zflags = 0; int lopt_idx; int daemonized_tracer_long = DAEMONIZE_NONE; - int xflag_long = HEXSTR_NONE; + int xflag_long = -1; int qflag_short = 0; int followfork_short = 0; int yflag_short = 0; @@ -2014,9 +2194,7 @@ * after the successful backend initialisation, iterate over it * in order to add them to global_path_set. */ - const char **pathtrace_paths = NULL; - size_t pathtrace_size = 0; - size_t pathtrace_count = 0; + struct pathtrace pathtrace = { NULL }; /** * Storage for environment changes requested for command. They @@ -2056,9 +2234,12 @@ qualify_quiet("none"); qualify_decode_fd("none"); qualify_signals("all"); +#ifdef ENABLE_SECONTEXT + qualify_secontext("none"); +#endif static const char optstring = - "+a:Ab:cCdDe:E:fFhiI:kno:O:p:P:qrs:S:tTu:U:vVwxX:yzZ"; + "+a:Ab:cCdDe:E:fFhiI:kno:O:p:P:qrs:S:tTu:U:vVwxX:yYzZ"; enum { GETOPT_SECCOMP = 0x100, @@ -2068,9 +2249,7 @@ GETOPT_OUTPUT_SEPARATELY, GETOPT_TS, GETOPT_PIDNS_TRANSLATION, -#ifdef ENABLE_SECONTEXT - GETOPT_SECONTEXT, -#endif + GETOPT_TIPS, GETOPT_QUAL_TRACE, GETOPT_QUAL_ABBREV, @@ -2085,6 +2264,8 @@ GETOPT_QUAL_KVM, GETOPT_QUAL_QUIET, GETOPT_QUAL_DECODE_FD, + GETOPT_QUAL_DECODE_PID, + GETOPT_QUAL_SECONTEXT, }; static const struct option longopts = { { "columns", required_argument, 0, 'a' }, @@ -2127,9 +2308,7 @@ { "failed-only", no_argument, 0, 'Z' }, { "failing-only", no_argument, 0, 'Z' }, { "seccomp-bpf", no_argument, 0, GETOPT_SECCOMP }, -#ifdef ENABLE_SECONTEXT - { "secontext", optional_argument, 0, GETOPT_SECONTEXT }, -#endif + { "tips", optional_argument, 0, GETOPT_TIPS }, { "trace", required_argument, 0, GETOPT_QUAL_TRACE }, { "abbrev", required_argument, 0, GETOPT_QUAL_ABBREV }, @@ -2146,6 +2325,8 @@ { "silent", optional_argument, 0, GETOPT_QUAL_QUIET }, { "silence", optional_argument, 0, GETOPT_QUAL_QUIET }, { "decode-fds", optional_argument, 0, GETOPT_QUAL_DECODE_FD }, + { "decode-pids",required_argument, 0, GETOPT_QUAL_DECODE_PID }, + { "secontext", optional_argument, 0, GETOPT_QUAL_SECONTEXT }, { 0, 0, 0, 0 } }; @@ -2259,12 +2440,7 @@ process_opt_p_list(optarg); break; case 'P': - if (pathtrace_count >= pathtrace_size) - pathtrace_paths = xgrowarray(pathtrace_paths, - &pathtrace_size, - sizeof(pathtrace_paths0)); - - pathtrace_pathspathtrace_count++ = optarg; + add_path_trace(&pathtrace, optarg); break; case 'q': qflag_short++; @@ -2314,19 +2490,18 @@ qualify_abbrev("none"); break; case 'V': - print_version(); - exit(0); + increase_version_verbosity(); break; case 'w': count_wallclock = 1; break; case 'x': - xflag++; + xflag = MIN(xflag + 1, HEXSTR_ALL); break; case GETOPT_HEX_STR: xflag_long = find_arg_val(optarg, xflag_str, - HEXSTR_ALL, HEXSTR_NONE); - if (xflag_long <= HEXSTR_NONE) + HEXSTR_ALL, -1); + if (xflag_long < HEXSTR_NONE) error_opt_arg(c, lopt, optarg); break; case 'X': @@ -2342,8 +2517,11 @@ case 'y': yflag_short++; break; + case 'Y': + qualify_decode_pid("comm"); + break; case GETOPT_PIDNS_TRANSLATION: - pidns_translation++; + qualify_decode_pid("pidns"); break; case 'z': clear_number_set_array(status_set, 1); @@ -2358,17 +2536,13 @@ case GETOPT_SECCOMP: seccomp_filtering = true; break; -#ifdef ENABLE_SECONTEXT - case GETOPT_SECONTEXT: - selinux_context = true; - if (optarg) { - if (!strcmp(optarg, "full")) - selinux_context_full = true; - else - error_opt_arg(c, lopt, optarg); - } + case GETOPT_TIPS: + if (parse_tips_arg(optarg ?: "")) + error_opt_arg(c, lopt, optarg); + break; + case GETOPT_QUAL_SECONTEXT: + qualify_secontext(optarg ? optarg : secontext_qual); break; -#endif case GETOPT_QUAL_TRACE: qualify_trace(optarg); break; @@ -2408,12 +2582,20 @@ case GETOPT_QUAL_DECODE_FD: qualify_decode_fd(optarg ?: yflag_qual); break; + case GETOPT_QUAL_DECODE_PID: + qualify_decode_pid(optarg); + break; default: error_msg_and_help(NULL); break; } } + if (version_verbosity) { + print_version(version_verbosity); + exit(0); + } + argv += optind; argc -= optind; @@ -2450,7 +2632,7 @@ tflag_short == 2 ? ttflag_str : tttflag_str); } - if (xflag_long) { + if (xflag_long >= 0) { if (xflag) { error_msg_and_die("-x and --strings-in-hex cannot" " be provided simultaneously"); @@ -2468,6 +2650,19 @@ qualify_decode_fd(yflag_short == 1 ? yflag_qual : yyflag_qual); } + if (is_number_in_set(DECODE_PID_COMM, decode_pid_set)) { + /* + * If --decode-pids=comm option comes after -p, comm fields + * of tcbs are not filled though tcbs are initialized. + * We must fill the fields here. + */ + for (unsigned int i = 0; i < tcbtabsize; ++i) { + struct tcb *tcp = tcbtabi; + if (tcp->comm0 == 0) + maybe_load_task_comm(tcp); + } + } + if (seccomp_filtering && detach_on_execve) { error_msg("--seccomp-bpf is not enabled because" " it is not compatible with -b"); @@ -2552,7 +2747,7 @@ error_msg("-y/--decode-fds has no effect " "with -c/--summary-only"); #ifdef ENABLE_SECONTEXT - if (selinux_context) + if (!number_set_array_is_empty(secontext_set, 0)) error_msg("--secontext has no effect with " "-c/--summary-only"); #endif @@ -2578,9 +2773,9 @@ "take effect. " "See status qualifier for more complex filters."); - for (size_t cnt = 0; cnt < pathtrace_count; ++cnt) - pathtrace_select(pathtrace_pathscnt); - free(pathtrace_paths); + for (size_t cnt = 0; cnt < pathtrace.count; ++cnt) + pathtrace_select(pathtrace.pathscnt.path); + free(pathtrace.paths); acolumn_spaces = xmalloc(acolumn + 1); memset(acolumn_spaces, ' ', acolumn); @@ -2781,14 +2976,11 @@ static void cleanup(int fatal_sig) { - unsigned int i; - struct tcb *tcp; - if (!fatal_sig) fatal_sig = SIGTERM; - for (i = 0; i < tcbtabsize; i++) { - tcp = tcbtabi; + for (unsigned int i = 0; i < tcbtabsize; ++i) { + struct tcb *tcp = tcbtabi; if (!tcp->pid) continue; debug_func_msg("looking at pid %u", tcp->pid); @@ -2950,8 +3142,9 @@ if (cflag != CFLAG_ONLY_STATS) { if (!is_number_in_set(QUIET_THREAD_EXECVE, quiet_set)) { printleader(tcp); - tprintf("+++ superseded by execve in pid %lu +++\n", + tprintf("+++ superseded by execve in pid %lu +++", old_pid); + tprint_newline(); line_ended(); } /* @@ -2988,9 +3181,10 @@ if (cflag != CFLAG_ONLY_STATS && is_number_in_set(WTERMSIG(status), signal_set)) { printleader(tcp); - tprintf("+++ killed by %s %s+++\n", + tprintf("+++ killed by %s %s+++", sprintsigname(WTERMSIG(status)), WCOREDUMP(status) ? "(core dumped) " : ""); + tprint_newline(); line_ended(); } } @@ -3006,7 +3200,8 @@ if (cflag != CFLAG_ONLY_STATS && !is_number_in_set(QUIET_EXIT, quiet_set)) { printleader(tcp); - tprintf("+++ exited with %d +++\n", WEXITSTATUS(status)); + tprintf("+++ exited with %d +++", WEXITSTATUS(status)); + tprint_newline(); line_ended(); } } @@ -3021,9 +3216,10 @@ if (si) { tprintf("--- %s ", sprintsigname(sig)); printsiginfo(tcp, si); - tprints(" ---\n"); + tprints(" ---"); } else - tprintf("--- stopped by %s ---\n", sprintsigname(sig)); + tprintf("--- stopped by %s ---", sprintsigname(sig)); + tprint_newline(); line_ended(); #ifdef ENABLE_STACKTRACE @@ -3070,7 +3266,9 @@ if (!output_separately && printing_tcp && printing_tcp != tcp && printing_tcp->curcol != 0) { set_current_tcp(printing_tcp); - tprints(" <unfinished ...>\n"); + tprint_space(); + tprints("<unfinished ...>"); + tprint_newline(); flush_tcp_output(printing_tcp); printing_tcp->curcol = 0; set_current_tcp(tcp); @@ -3083,13 +3281,15 @@ * The decoder has probably decided to print something * on exiting syscall which is not going to happen. */ - tprints(" <unfinished ...>"); + tprint_space(); + tprints("<unfinished ...>"); } printing_tcp = tcp; tprints(") "); tabto(); - tprints("= ?\n"); + tprints("= ?"); + tprint_newline(); if (!is_complete_set(status_set, NUMBER_OF_STATUSES)) { bool publish = is_number_in_set(STATUS_UNFINISHED, status_set); strace_close_memstream(tcp, publish); @@ -3749,6 +3949,7 @@ /* Child was killed by a signal, mimic that. */ exit_code &= 0xff; signal(exit_code, SIG_DFL); + print_totd(); GCOV_DUMP; raise(exit_code); @@ -3763,6 +3964,8 @@ Exit with 128 + signo then. */ exit_code += 128; } + + print_totd(); exit(exit_code); }
View file
_service:tar_scm:strace-6.1.tar.xz/src/strauss.c
Added
@@ -0,0 +1,389 @@ +/* + * Strauss awareness implementation. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +#include <stdio.h> +#include <stdlib.h> +#include <sys/time.h> + +#include "strauss.h" + +static const char *strauss = { + "", + " ____", + " / \\", + " |-. .-.|", + " (_@)(_@)", + " .---_ \\", + " /.. \\_/", + " |__.-^ /", + " } |", + " | ", + " ", + " |", + " | ", + " ", + " / | __", + " \\| |/ _/ /_", + " \\ | |//___/__/__/_", + "\\\\ \\ / // -____/_", + "// \" \\\\ \\___.-", + " // \\\\ __.----._/_", + "/ '/|||\\` .- __>", + " / __.-", + " }", + "\\ \\ /", + " \"-._____ \\.____.--\"", + " | | | |", + " | | | |", + " | | | |", + " | | | |", + " { } { }", + " | | | |", + " | | | |", + " | | | |", + " / { | |", + " .-\" / -._", + "/___/ / \\ \\___\"-.", + " -\" \"-", + }; + +const size_t strauss_lines = ARRAY_SIZE(strauss); + +enum { MAX_TIP_LINES = 13 }; + +static const char *tips_tricks_tweaksMAX_TIP_LINES = { + { "strace has an extensive manual page", + "that covers all the possible options", + "and contains several useful invocation", + "examples." }, + { "You can use -o|COMMAND to redirect strace's", + "output to COMMAND. This may be useful", + "in cases when there is a redirection", + "in place for the traced program. Don't", + "forget to escape the pipe character, though,", + "as it is usually interpreted by the shell." }, + { "It's possible to display timestamps", + " produced by -r, -t, and -T options", + "with nanosecond precision using their", + "long variants: --relative-timestamps=ns,", + "--absolute-timestamps=ns, and", + "--syscall-times=ns, respectively.", "", + "Why microsecond precision is the default?", + "To preserve the historic output format", + "which was limited by struct timeval", + "precision." }, + { "A particular quote from a particular novel", + "by Arthur C. Clarke is printed if an attempt", + "is made to attach to a particular process." }, + { "It's possible to tune the environment", + "of the traced process using the -E/--env", + "option:", "", + " strace -E REMOVE_VAR -E VAR=new_val" }, +#ifdef ENABLE_STACKTRACE + { "You can print a stack trace for each traced", + "call by specifying -k/--stack-traces option.", +# ifdef USE_DEMANGLE + "It can even demangle symbol names.", +# endif + }, +#else + { "We wish we could tell you that you can", + "specify -k/--stack-traces option to print", + "stack traces for each traced system call,", + "but, unfortunately, you can't: this strace", + "binary is built without stack tracing", + "support." }, +#endif +#ifdef ENABLE_SECONTEXT + { "You can print SELinux contexts associated", + "with PIDs, FDs, and paths by specifying", + "--secontext option. Unless provided", + "with the \"full\" parameter, it prints only", + "SELinux context type, and the \"mismatch\"", + "parameter enables printing of the expected", + "context in case of mismatch, so", "", + " strace --secontext=full,mismatch", "", + "will show all gory SELinux details." }, +#else + { "We wish we could tell you that you can", + "specify --secontext option to print SELinux", + "context for each PID, FD, and path occurred", + "in the trace, but, unfortunately, you can't:", + "this strace binary is built without SELinux", + "support." }, +#endif + { "Have you ever been bitten by an accidental", + "overwrite of the output file specified", + "in the -o option? Specify", + "-A/--output-append-mode as well,", + "and this problem will never bite you again!" }, + { "strace is about as old as the Linux kernel.", + "It has been originally written for SunOS", + "by Paul Kranenburg in 1991. The support", + "for all OSes except Linux was dropped" + "in 2012, though, in strace 4.7." }, + { "strace is able to decode netlink messages.", + "It does so automatically for I/O performed", + "on netlink sockets. Try it yourself:", "", + " strace -e%network ip a" }, + { "Filtered syscalls, errors, and signals can", + "be specified either by name or by number,", + "for example:", "", + " strace --trace=0,1,2 --signal=2,15 true" }, + { "It is possible to specify -r and -t options", + "simultaneously since strace 4.22." }, + { "Strace can print only successful syscall", + "invocations when supplied with", + "-z/--successful-only option. There's also", + "a possibility to filter calls with other", + "statuses, please refer to -e status option", + "documentation." }, + { "If you trace a process that uses KVM", + "subsystem, --kvm=vcpu option may be of use:", + "it prints KVM VCPU exit reason. It requires", + "Linux 4.16+, however." }, + { "It is possible to get strace out of your way", + "(in terms of parent/child relationships and", + "signal communication) with -D/--daemonize", + "option. Another option that may be of use", + "in this case is -I/--interruptible, it", + "restricts the set of signals that interrupt", + "strace." }, + { "If strace is too chatty to your taste, you", + "can silence it with -qqq option." }, + { "strace prints file paths along with file", + "descriptor numbers when it is invoked with", + "-y/--decode-fds option.", + "When -yy (or --decode-fds=all) is provided,", + "it also prints protocol-specific information", + "for sockets and device numbers for character", + "and block device files." }, + { "You can control what columns are shown", + "in the call summary table produced by -c/-C", + "options with -U/--summary-columns option.", + "It is a way to get minimum/maximum call", + "duration printed, for example:", "", + " strace -c -U name,min-time,max-time ls" }, + { "If you feel that syscall duration shown", + "in the call summary table (-c/-C option)", + "is not right, you can try to use -w option", + "(that collects wall clock time,", + "instead of system time), maybe that is what", + "you are looking for." }, + { "strace understands -z option since 2002,", + "but it wasn't documented because its", + "implementation was broken. Only 17 years", + "later, in strace 5.2, it was properly", + "implemented and documented." }, + { "If you feel that strace is too slow, you may", + "want to try --seccomp-bpf option, maybe you", + "will feel better." }, + { "-v is a shorthand for -e abbrev=none and not", + "for -e verbose=all. It is idiosyncratic,", + "but it is the historic behaviour." }, + { "strace uses netlink for printing", + "protocol-specific information about socket", + "descriptors (-yy option)." }, + { "strace is able to tamper with tracees'", + "execution by injecting an arbitrary return", + "or error value instead of syscall execution,", + "for example:", "", + " strace --inject=unlink:retval=0", "", + "will prevent execution of unlink calls, but", + "the traced process will think that the calls", + "have succeeded." }, + { "strace's tampering capabilities include", + "injection of arbitrary return/error values,", + "injection of a signal, injection of a delay", + "or data before or after syscall execution." }, + { "If you want to see numerical values of named", + "constants, there is an option for that:", + "-X/--const-print-style. When -Xraw", + "(or --const-print-style=raw) is provided,", + "strace prints just the numerical value", + "of an argument; with -Xverbose, it prints", + "values in both numerical and symbolic form." }, + { "getpid syscall is present on all", + "architectures except on Alpha, where getxpid", + "syscall (that returns a pair of PID and PPID", + "in a pair of registers) is used instead.", + "Other two examples of syscalls that utilise", + "two registers for their return values are", + "getxuid and getxgid: they return a pair", + "of real and effective UIDs/GIDs." }, + { "There are three syscalls that implement", + "generic \"open file\" task: open, openat,", + "and openat2. On some (newly supported)", + "architectures, open syscall is not even", + "present. How to write a robust filtering", + "expression in this case?", + "With the conditional syntax, for example:", "", + " strace --trace=?open,?openat,?openat2", "", + "You may want to escape question marks, since", + "your shell may interpret them as a path glob", + "expression." }, + { "It is possible to use regular expressions", + "for syscall names in the -e trace", + "expression, for example:", "", + " strace -e trace=/^sched_.*", "", + "will trace all scheduling-related syscalls." }, + { "IA-64 (Itanium) uses syscall numbers", + "beginning from 1024, because numbers", + "beginning from 0 were designated for i386", + "compat layer (that has never been", + "upstreamed). Another example", + "of an architecture with sparse syscall table", + "is MIPS, with parts of it beginning at index", + "0 (SVR4 ABI), 1000 (SysV ABI), 2000", + "(BSD 4.3 ABI), 3000 (POSIX ABI), 4000 (Linux", + "O32 ABI), 5000 (Linux N64 ABI), and 6000", + "(Linux N32 ABI)." }, + { "Der Strauss, the strace's project mascot,", + "was conceived in 2017. It is a brainchild", + "of Vitaly Chaykovsky." }, + /* https://github.com/strace/strace/issues/14 */ + { "Medicinal effects of strace can be achieved", + "by invoking it with the following options:", "", + " strace -DDDqqq -enone --signal=none" }, + { "Historically, supplying -o option to strace", + "leads to silencing of messages about tracee", + "attach/detach and personality changes.", + "It can be now overridden with --quiet=none", + "option." }, + { "You can avoid tracing of \"other programs\"", + "that are executed by the traced program", + "with -b execve option." }, + { "-F option used to be a separate option", + "for following vfork calls." }, + { "It is possible to provide multiple PIDs", + "to a single -p option with white space", + "or comma as accepted delimiter, in order", + "to support usage like", "", + " strace -p \"`pidof PROG`\"", + "or", + " strace -p \"`pgrep PROG`\"", "", + "pidof uses space as a delimiter, pgrep uses", + "newline." }, + { "-n option, that prints syscall numbers,", + "while seemingly quite obvious functionality,", + "was added to strace only in version 5.9,", + "in the year 2020." }, + { "Instead of tirelessly specifying", + "architecture- and libc-specific sets", + "of syscalls pertaining specific task each", + "time, one can try to use pre-defined syscall", + "classes. For example,", "", + " strace -e%creds", "", + "will trace all syscalls related to accessing", + "and modifying process's user/group IDs", + "and capability sets. Other pre-defined", + "syscall classes include %clock, %desc," + "%file, %ipc, %memory, %net, %process," + "and %signal." }, + { "Trying to figure out communication between", + "tracees inside a different PID namespace", + "(in so-called \"containers\", for example)?", + "Try out the --pidns-translation option,", + "it prints PIDs in strace's PID NS when a PID", + "reference from a different PID NS occurs", + "in trace. It is not enabled by default", + "because there is no sane kernel API", + "to perform PID translation between", + "namespaces, so each such translation", + "requires many reads and ioctls in procfs,", + "which may incur severe performance penalty." }, + { "If you don't like the way strace escapes", + "non-printable characters using octal", + "numbers, and don't want to sacrifice", + "readability of the ASCII output with -x/-xx", + "options, you might want to try", "", + " strace --strings-in-hex=non-ascii-chars", "", + "that will change escape sequences", + "to hexadecimal numbers usage." }, + { "-Y option (an alias to --decode-pids=comm)", + "shows comm string associated with the PID." }, +}; + +static const char tip_top = + " ______________________________________________ "; +static const char tip_bottom = + " \\______________________________________________/ "; +static const char *tip_left = { " / ", " | "}; +static const char *tip_right = { + " \\ ", + " | ", + " \\ ", + " \\ ", + " _\\ ", + " / ", + " | ", }; + +enum tips_fmt show_tips = TIPS_NONE; +int tip_id = TIP_ID_RANDOM; + +void +print_strauss(size_t verbosity) +{ + if (verbosity < STRAUSS_START_VERBOSITY) + return; + + verbosity = MIN(verbosity - STRAUSS_START_VERBOSITY, strauss_lines); + + for (size_t i = 0; i < verbosity; i++) + puts(straussi); +} + +void +print_totd(void) +{ + static bool printed = false; + const int w = (int) (sizeof(tip_top) - 1 - strlen(tip_left0) + - strlen(tip_right0)); + struct timeval tv; + size_t id; + size_t i; + + if (printed || show_tips == TIPS_NONE) + return; + + if (tip_id == TIP_ID_RANDOM) { + gettimeofday(&tv, NULL); + srand(tv.tv_sec ^ tv.tv_usec); + id = rand(); + } else { + id = tip_id; + } + id %= ARRAY_SIZE(tips_tricks_tweaks); + + fprintf(stderr, "%s%s\n", tip_top, strauss1); + fprintf(stderr, "%s%-*s%s%s\n", + tip_left0, w, "", tip_right0, strauss2); + for (i = 0; (i < MAX_TIP_LINES) && (tips_tricks_tweaksidi || + (i < (ARRAY_SIZE(tip_right) - 1))); + i++) { + fprintf(stderr, "%s%-*.*s%s%s\n", + tip_leftMIN(i + 1, ARRAY_SIZE(tip_left) - 1), + w, w, tips_tricks_tweaksidi ?: "", + tip_rightMIN(i + 1, ARRAY_SIZE(tip_right) - 1), + straussMIN(3 + i, strauss_lines - 1)); + } + fprintf(stderr, "%s%s\n", + tip_bottom, straussMIN(3 + i, strauss_lines - 1)); + do { + fprintf(stderr, "%*s%*s%*s%s\n", + (int) strlen(tip_left0), "", + w, "", + (int) strlen(tip_right0), "", + straussMIN(4 + i, strauss_lines - 1)); + } while ((show_tips == TIPS_FULL) && (4 + ++i < strauss_lines)); + + printed = true; +}
View file
_service:tar_scm:strace-6.1.tar.xz/src/strauss.h
Added
@@ -0,0 +1,33 @@ +/* + * Strauss awareness interface declarations. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifndef STRACE_STRAUSS_H +#define STRACE_STRAUSS_H + +enum { STRAUSS_START_VERBOSITY = 5 }; + + +enum tips_fmt { + TIPS_NONE, + TIPS_COMPACT, + TIPS_FULL, +}; + +enum tip_ids { + TIP_ID_RANDOM = -1, +}; + +extern const size_t strauss_lines; +extern enum tips_fmt show_tips; +extern int tip_id; + +extern void print_strauss(size_t verbosity); +extern void print_totd(void); + +#endif /* STRACE_STRAUSS_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/swapon.c -> _service:tar_scm:strace-6.1.tar.xz/src/swapon.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -24,10 +24,9 @@ /* swapflags */ if (flags) { printflags(swap_flags, flags, "SWAP_FLAG_???"); - tprintf("|%u", prio); - } else { - PRINT_VAL_U(prio); + tprint_or(); } + PRINT_VAL_U(prio); return RVAL_DECODED; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/sync_file_range.c -> _service:tar_scm:strace-6.1.tar.xz/src/sync_file_range.c
Changed
@@ -9,6 +9,7 @@ #include "defs.h" #include <fcntl.h> +#include <linux/fs.h> #include "xlat/sync_file_range_flags.h" SYS_FUNC(sync_file_range)
View file
_service:tar_scm:strace-5.14.tar.xz/src/sync_file_range2.c -> _service:tar_scm:strace-6.1.tar.xz/src/sync_file_range2.c
Changed
@@ -9,6 +9,7 @@ #include "defs.h" #include <fcntl.h> +#include <linux/fs.h> #include "xlat/sync_file_range_flags.h" SYS_FUNC(sync_file_range2)
View file
_service:tar_scm:strace-5.14.tar.xz/src/syscall.c -> _service:tar_scm:strace-6.1.tar.xz/src/syscall.c
Changed
@@ -6,7 +6,7 @@ * Copyright (c) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Linux for s390 port by D.J. Barrow * <barrow_dj@mail.yahoo.com,djbarrow@de.ibm.com> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -29,6 +29,9 @@ /* for struct iovec */ #include <sys/uio.h> +/* for PR_SET_NAME */ +#include <linux/prctl.h> + /* for __X32_SYSCALL_BIT */ #include "scno.h" @@ -164,29 +167,9 @@ #endif }; -const char *const personality_names = -#if defined X86_64 - {"64 bit", "32 bit", "x32"} -#elif defined X32 - {"x32", "32 bit"} -#elif SUPPORTED_PERSONALITIES == 2 - {"64 bit", "32 bit"} -#else - {STRINGIFY_VAL(__WORDSIZE) " bit"} -#endif - ; - -const char *const personality_designators = -#if defined X86_64 - { "64", "32", "x32" } -#elif defined X32 - { "x32", "32" } -#elif SUPPORTED_PERSONALITIES == 2 - { "64", "32" } -#else - { STRINGIFY_VAL(__WORDSIZE) } -#endif - ; +const char *const personality_names = PERSONALITY_NAMES; +static_assert(ARRAY_SIZE(personality_names) == SUPPORTED_PERSONALITIES, + "ARRAY_SIZE(personality_names) != SUPPORTED_PERSONALITIES"); #if SUPPORTED_PERSONALITIES > 1 @@ -313,8 +296,7 @@ tcp->qual_flg = qual_flags(scno); tcp->s_ent = &sysentscno; - unsigned int i; - for (i = 0; i < nargs; ++i) + for (unsigned int i = 0; i < nargs; ++i) tcp->u_argi = (sizeof(uint32_t) == current_wordsize) ? ((uint32_t *) (void *) buf)i : bufi; } @@ -354,8 +336,7 @@ tcp->s_ent = &sysenttcp->scno; const unsigned int n = n_args(tcp); - unsigned int i; - for (i = 0; i < n; i++) + for (unsigned int i = 0; i < n; ++i) tcp->u_argi = tcp->u_argi + 1; } #endif /* SYS_ipc_subcall */ @@ -737,6 +718,10 @@ if (tcp_sysent(tcp)->sys_flags & MEMORY_MAPPING_CHANGE) mmap_notify_report(tcp); + if ((tcp_sysent(tcp)->sys_flags & COMM_CHANGE) && !syserror(tcp) && + (tcp_sysent(tcp)->sen != SEN_prctl || tcp->u_arg0 == PR_SET_NAME)) + maybe_load_task_comm(tcp); + if (filtered(tcp)) return 0; @@ -807,9 +792,10 @@ if (res != 1) { /* There was error in one of prior ptrace ops */ tprint_arg_end(); - tprints(" "); + tprint_space(); tabto(); - tprints("= ? <unavailable>\n"); + tprints("= ? <unavailable>"); + tprint_newline(); if (!is_complete_set(status_set, NUMBER_OF_STATUSES)) { bool publish = is_number_in_set(STATUS_UNAVAILABLE, status_set); @@ -843,7 +829,7 @@ } tprint_arg_end(); - tprints(" "); + tprint_space(); tabto(); if (raw(tcp)) { @@ -991,15 +977,17 @@ print_injected_note(tcp); } if (Tflag) { + tprint_space(); + tprint_associated_info_begin(); ts_sub(ts, ts, &tcp->etime); - tprintf(" <%ld", (long) ts->tv_sec); + PRINT_VAL_D(ts->tv_sec); if (Tflag_width) { tprintf(".%0*ld", Tflag_width, (long) ts->tv_nsec / Tflag_scale); } - tprints(">"); + tprint_associated_info_end(); } - tprints("\n"); + tprint_newline(); dumpio(tcp); line_ended(); @@ -1369,7 +1357,7 @@ .sys_flags = MEMORY_MAPPING_CHANGE, .sen = SEN_printargs, .sys_func = printargs, - .sys_name = "????", + .sys_name = "???", }; /* @@ -1378,7 +1366,7 @@ * out silently" code. * 1: ok, continue in syscall_entering_decode(). * other: error, syscall_entering_decode() should print error indicator - * ("????" etc) and return an appropriate code. + * ("???" etc) and return an appropriate code. */ int get_scno(struct tcb *tcp) @@ -1471,7 +1459,7 @@ /* Returns: * 1: ok, continue in syscall_exiting_trace(). * -1: error, syscall_exiting_trace() should print error indicator - * ("????" etc) and bail out. + * ("???" etc) and bail out. */ static int get_syscall_result(struct tcb *tcp) @@ -1567,9 +1555,3 @@ # include "getregs_old.c" #endif #include "shuffle_scno.c" - -const char * -syscall_name(kernel_ulong_t scno) -{ - return scno_is_valid(scno) ? sysentscno.sys_name : NULL; -}
View file
_service:tar_scm:strace-6.1.tar.xz/src/syscall_name.c
Added
@@ -0,0 +1,59 @@ +/* + * Copyright (c) 2015 Mike Frysinger <vapier@gentoo.org> + * Copyright (c) 2016-2020 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2016-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2017 Chen Jingpiao <chenjingpiao@gmail.com> + * Copyright (c) 2018 Paul Chaignon <paul.chaignon@gmail.com> + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#include "defs.h" + +/* for __X32_SYSCALL_BIT */ +#include "scno.h" + +/* PERSONALITY*_AUDIT_ARCH definitions depend on AUDIT_ARCH_* constants. */ +#include <linux/audit.h> +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +# include "xlat/audit_arch.h" +#undef XLAT_MACROS_ONLY + +#include "nr_prefix.c" + +const struct audit_arch_t audit_arch_vecSUPPORTED_PERSONALITIES = { + PERSONALITY0_AUDIT_ARCH, +#if SUPPORTED_PERSONALITIES > 1 + PERSONALITY1_AUDIT_ARCH, +# if SUPPORTED_PERSONALITIES > 2 + PERSONALITY2_AUDIT_ARCH, +# endif +#endif +}; + + +const char * +syscall_name_arch(kernel_ulong_t nr, unsigned int arch, const char **prefix) +{ + for (size_t i = 0; i < SUPPORTED_PERSONALITIES; i++) { + if (arch != audit_arch_veci.arch) + continue; + + kernel_ulong_t scno = shuffle_scno_pers(nr, i); + if (!scno_pers_is_valid(scno, i)) + continue; + + if (prefix) { + *prefix = (i == current_personality) ? nr_prefix(nr) + : NULL; + } + return sysent_veciscno.sys_name; + } + + if (prefix) + *prefix = NULL; + return NULL; +}
View file
_service:tar_scm:strace-5.14.tar.xz/src/sysctl.c -> _service:tar_scm:strace-6.1.tar.xz/src/sysctl.c
Changed
@@ -1,8 +1,5 @@ /* - * Copyright (c) 1999 Ulrich Drepper <drepper@cygnus.com> - * Copyright (c) 2005 Roland McGrath <roland@redhat.com> - * Copyright (c) 2005-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -10,164 +7,31 @@ #include "defs.h" +#include DEF_MPERS_TYPE(struct_sysctl_args) #include <linux/sysctl.h> - -#include "xlat/sysctl_root.h" -#include "xlat/sysctl_kern.h" -#include "xlat/sysctl_vm.h" -#include "xlat/sysctl_net.h" -#include "xlat/sysctl_net_core.h" -#include "xlat/sysctl_net_unix.h" -#include "xlat/sysctl_net_ipv4.h" -#include "xlat/sysctl_net_ipv4_route.h" -#include "xlat/sysctl_net_ipv4_conf.h" -#include "xlat/sysctl_net_ipv6.h" -#include "xlat/sysctl_net_ipv6_route.h" +typedef struct __sysctl_args struct_sysctl_args; +#include MPERS_DEFS SYS_FUNC(sysctl) { - struct __sysctl_args info; - int *name; - unsigned long size; + struct_sysctl_args info; if (umove_or_printaddr(tcp, tcp->u_arg0, &info)) return RVAL_DECODED; - size = sizeof(int) * (unsigned long) info.nlen; - name = (size / sizeof(int) != (unsigned long) info.nlen) ? NULL : malloc(size); - if (name == NULL || - umoven(tcp, (unsigned long) info.name, size, name) < 0) { - free(name); - if (entering(tcp)) - tprintf("{%p, %d, %p, %p, %p, %lu}", - info.name, info.nlen, info.oldval, - info.oldlenp, info.newval, (unsigned long)info.newlen); - return RVAL_DECODED; - } - - if (entering(tcp)) { - unsigned int cnt = 0, max_cnt; - - tprints("{{"); - - if (info.nlen == 0) - goto out; - printxval(sysctl_root, name0, "CTL_???"); - ++cnt; - - if (info.nlen == 1) - goto out; - switch (name0) { - case CTL_KERN: - tprints(", "); - printxval(sysctl_kern, name1, "KERN_???"); - ++cnt; - break; - case CTL_VM: - tprints(", "); - printxval(sysctl_vm, name1, "VM_???"); - ++cnt; - break; - case CTL_NET: - tprints(", "); - printxval(sysctl_net, name1, "NET_???"); - ++cnt; - - if (info.nlen == 2) - goto out; - switch (name1) { - case NET_CORE: - tprints(", "); - printxval(sysctl_net_core, name2, - "NET_CORE_???"); - break; - case NET_UNIX: - tprints(", "); - printxval(sysctl_net_unix, name2, - "NET_UNIX_???"); - break; - case NET_IPV4: - tprints(", "); - printxval(sysctl_net_ipv4, name2, - "NET_IPV4_???"); - - if (info.nlen == 3) - goto out; - switch (name2) { - case NET_IPV4_ROUTE: - tprints(", "); - printxval(sysctl_net_ipv4_route, - name3, - "NET_IPV4_ROUTE_???"); - break; - case NET_IPV4_CONF: - tprints(", "); - printxval(sysctl_net_ipv4_conf, - name3, - "NET_IPV4_CONF_???"); - break; - default: - goto out; - } - break; - case NET_IPV6: - tprints(", "); - printxval(sysctl_net_ipv6, name2, - "NET_IPV6_???"); - - if (info.nlen == 3) - goto out; - switch (name2) { - case NET_IPV6_ROUTE: - tprints(", "); - printxval(sysctl_net_ipv6_route, - name3, - "NET_IPV6_ROUTE_???"); - break; - default: - goto out; - } - break; - default: - goto out; - } - break; - default: - goto out; - } -out: - max_cnt = info.nlen; - if (abbrev(tcp) && max_cnt > max_strlen) - max_cnt = max_strlen; - while (cnt < max_cnt) - tprintf(", %x", namecnt++); - if (cnt < (unsigned) info.nlen) - tprints(", ..."); - tprintf("}, %d, ", info.nlen); - } else { - size_t oldlen = 0; - if (info.oldval == NULL) { - tprints("NULL"); - } else if (umove(tcp, ptr_to_kulong(info.oldlenp), &oldlen) >= 0 - && info.nlen >= 2 - && ((name0 == CTL_KERN - && (name1 == KERN_OSRELEASE - || name1 == KERN_OSTYPE - )))) { - printpath(tcp, ptr_to_kulong(info.oldval)); - } else { - tprintf("%p", info.oldval); - } - tprintf(", %lu, ", (unsigned long)oldlen); - if (info.newval == NULL) - tprints("NULL"); - else if (syserror(tcp)) - tprintf("%p", info.newval); - else - printpath(tcp, ptr_to_kulong(info.newval)); - tprintf(", %lu", (unsigned long)info.newlen); - } - - free(name); - return 0; + tprint_struct_begin(); + PRINT_FIELD_PTR(info, name); + tprint_struct_next(); + PRINT_FIELD_D(info, nlen); + tprint_struct_next(); + PRINT_FIELD_PTR(info, oldval); + tprint_struct_next(); + PRINT_FIELD_PTR(info, oldlenp); + tprint_struct_next(); + PRINT_FIELD_PTR(info, newval); + tprint_struct_next(); + PRINT_FIELD_U(info, newlen); + tprint_struct_end(); + + return RVAL_DECODED; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/sysent.h -> _service:tar_scm:strace-6.1.tar.xz/src/sysent.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -8,11 +8,13 @@ #ifndef STRACE_SYSENT_H # define STRACE_SYSENT_H +struct tcb; + typedef struct sysent { unsigned nargs; int sys_flags; int sen; - int (*sys_func)(); + int (*sys_func)(struct tcb *); const char *sys_name; } struct_sysent; @@ -39,5 +41,6 @@ # define TRACE_SECCOMP_DEFAULT 004000000 /* Syscall is traced by seccomp filter by default. */ # define TRACE_CREDS 010000000 /* Trace process credentials-related syscalls. */ # define TRACE_CLOCK 020000000 /* Trace syscalls reading or modifying system clocks. */ +# define COMM_CHANGE 040000000 /* Trigger /proc/$pid/comm cache update. */ #endif /* !STRACE_SYSENT_H */
View file
_service:tar_scm:strace-5.14.tar.xz/src/sysent_shorthand_defs.h -> _service:tar_scm:strace-6.1.tar.xz/src/sysent_shorthand_defs.h
Changed
@@ -30,6 +30,7 @@ # define TSD 0 # define TC 0 # define TCL 0 +# define CC 0 # define SEN(a) 0, 0 #else /* !STRACE_TESTS_H */ @@ -57,6 +58,7 @@ # define TSD TRACE_SECCOMP_DEFAULT # define TC TRACE_CREDS # define TCL TRACE_CLOCK +# define CC COMM_CHANGE /* SEN(a) is defined elsewhere */ #endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/sysent_shorthand_undefs.h -> _service:tar_scm:strace-6.1.tar.xz/src/sysent_shorthand_undefs.h
Changed
@@ -28,4 +28,5 @@ #undef TSD #undef TC #undef TCL +#undef CC #undef SEN
View file
_service:tar_scm:strace-5.14.tar.xz/src/sysinfo.c -> _service:tar_scm:strace-6.1.tar.xz/src/sysinfo.c
Changed
@@ -31,7 +31,7 @@ PRINT_FIELD_U(si, uptime); tprint_struct_next(); PRINT_FIELD_ARRAY(si, loads, tcp, - print_kulong_array_member); + print_uint_array_member); tprint_struct_next(); PRINT_FIELD_U(si, totalram); tprint_struct_next();
View file
_service:tar_scm:strace-5.14.tar.xz/src/tee.c -> _service:tar_scm:strace-6.1.tar.xz/src/tee.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -104,8 +104,10 @@ printxval(tee_ioctl_param_attr_types, param->attr & ~TEE_IOCTL_PARAM_ATTR_META, "TEE_IOCTL_PARAM_ATTR_"); - if (param->attr & TEE_IOCTL_PARAM_ATTR_META) - tprints("|TEE_IOCTL_PARAM_ATTR_META"); + if (param->attr & TEE_IOCTL_PARAM_ATTR_META) { + tprint_or(); + tprints("TEE_IOCTL_PARAM_ATTR_META"); + } switch (param->attr) { case TEE_IOCTL_PARAM_ATTR_TYPE_NONE:
View file
_service:tar_scm:strace-5.14.tar.xz/src/term.c -> _service:tar_scm:strace-6.1.tar.xz/src/term.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> - * Copyright (c) 1996-2021 The strace developers. + * Copyright (c) 1996-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -18,86 +18,237 @@ #include "xlat/baud_options.h" #include "xlat/modem_flags.h" +#include "xlat/term_cflags.h" +#include "xlat/term_cflags_csize.h" +#include "xlat/term_iflags.h" +#include "xlat/term_lflags.h" +#include "xlat/term_oflags.h" +#include "xlat/term_oflags_bsdly.h" +#include "xlat/term_oflags_crdly.h" +#include "xlat/term_oflags_ffdly.h" +#include "xlat/term_oflags_nldly.h" +#include "xlat/term_oflags_tabdly.h" +#include "xlat/term_oflags_vtdly.h" + +#include "xlat/term_line_discs.h" + +#include "xlat/termios_cc.h" + +#ifdef _VMIN /* thanks, alpha and powerpc */ +# include "xlat/termio_cc.h" +#else +# define termio_cc termios_cc +#endif + static void -decode_termios(struct tcb *const tcp, const kernel_ulong_t addr) +decode_oflag(uint64_t val) { - struct termios tios; + static const struct { + const struct xlat *xl; + uint64_t mask; + const char *dfl; + } xlats = { + { term_oflags_nldly, NLDLY, "NL?" }, + { term_oflags_crdly, CRDLY, "CR?" }, + { term_oflags_tabdly, TABDLY, "TAB?" }, + { term_oflags_bsdly, BSDLY, "BS?" }, + { term_oflags_vtdly, VTDLY, "VT?" }, + { term_oflags_ffdly, FFDLY, "FF?" }, + }; + + for (unsigned int i = 0; i < ARRAY_SIZE(xlats); i++) { + printxval64(xlatsi.xl, val & xlatsi.mask, xlatsi.dfl); + tprint_or(); + + val &= ~xlatsi.mask; + } + + printflags64(term_oflags, val, NULL); +} + +static void +decode_cflag(uint64_t val) +{ + printxval64(baud_options, val & CBAUD, "B???"); + tprint_or(); + + if (val & CIBAUD) { + printxval64(baud_options, (val & CIBAUD) >> IBSHIFT, "B???"); + tprint_shift(); + print_xlat(IBSHIFT); + tprint_or(); + } + + printxval64(term_cflags_csize, val & CSIZE, "CS?"); + tprint_or(); + + val &= ~(CBAUD | CIBAUD | CSIZE); + printflags64(term_cflags, val, NULL); +} + +static void +decode_flags(uint64_t iflag, uint64_t oflag, uint64_t cflag, uint64_t lflag) +{ + tprints_field_name("c_iflag"); + printflags64(term_iflags, iflag, NULL); - tprints(", "); + tprint_struct_next(); + tprints_field_name("c_oflag"); + decode_oflag(oflag); + + tprint_struct_next(); + tprints_field_name("c_cflag"); + decode_cflag(cflag); + + tprint_struct_next(); + tprints_field_name("c_lflag"); + printflags64(term_lflags, lflag, NULL); +} + +static void +print_cc_char(bool *first, const unsigned char *data, const char *s, + unsigned int idx) +{ + if (*first) + *first = false; + else + tprint_array_next(); + + tprint_array_index_begin(); + if (s) + tprints(s); + else + PRINT_VAL_U(idx); + tprint_array_index_end(); + + PRINT_VAL_X(dataidx); +} + +static void +decode_term_cc(const struct xlat *xl, const unsigned char *data, unsigned size) +{ + tprints_field_name("c_cc"); + tprint_array_begin(); + bool first = true; + for (unsigned int i = 0; i < size; i++) + print_cc_char(&first, data, xlookup(xl, i), i); + tprint_array_end(); +} + +#ifdef HAVE_STRUCT_TERMIOS2 +static void +decode_termios2(struct tcb *const tcp, const kernel_ulong_t addr) +{ + struct termios2 tios; if (umove_or_printaddr(tcp, addr, &tios)) return; + + tprint_struct_begin(); + decode_flags(tios.c_iflag, tios.c_oflag, tios.c_cflag, tios.c_lflag); + tprint_struct_next(); + if (abbrev(tcp)) { - tprints("{"); - printxval(baud_options, tios.c_cflag & CBAUD, "B???"); - tprintf(" %sopost %sisig %sicanon %secho ...}", - (tios.c_oflag & OPOST) ? "" : "-", - (tios.c_lflag & ISIG) ? "" : "-", - (tios.c_lflag & ICANON) ? "" : "-", - (tios.c_lflag & ECHO) ? "" : "-"); + tprint_more_data_follows(); + } else { + PRINT_FIELD_XVAL(tios, c_line, term_line_discs, "N_???"); + + tprint_struct_next(); + /* SPARC has two additional bytes in c_cc. */ + decode_term_cc(termios_cc, tios.c_cc, sizeof(tios.c_cc)); + + tprint_struct_next(); + PRINT_FIELD_U(tios, c_ispeed); + + tprint_struct_next(); + PRINT_FIELD_U(tios, c_ospeed); + } + tprint_struct_end(); +} +#endif /* HAVE_STRUCT_TERMIOS2 */ + +static void +decode_termios(struct tcb *const tcp, const kernel_ulong_t addr) +{ + struct termios tios; + if (umove_or_printaddr(tcp, addr, &tios)) return; + + tprint_struct_begin(); + decode_flags(tios.c_iflag, tios.c_oflag, tios.c_cflag, tios.c_lflag); + tprint_struct_next(); + + if (abbrev(tcp)) { + tprint_more_data_follows(); + } else { + PRINT_FIELD_XVAL(tios, c_line, term_line_discs, "N_???"); + + tprint_struct_next(); + /* + * Fun fact: MIPS has NCCS defined to 23, SPARC to 17 and + * everything else to 19. + */ + decode_term_cc(termios_cc, tios.c_cc, + MIN(NCCS, sizeof(tios.c_cc))); + + /* + * alpha and powerpc have those in struct termios instead of + * having a separate struct termios2. + */ +#ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + tprint_struct_next(); + PRINT_FIELD_U(tios, c_ispeed); +#endif +#ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + tprint_struct_next(); + PRINT_FIELD_U(tios, c_ospeed); +#endif } - tprintf("{c_iflags=%#lx, c_oflags=%#lx, ", - (long) tios.c_iflag, (long) tios.c_oflag); - tprintf("c_cflags=%#lx, c_lflags=%#lx, ", - (long) tios.c_cflag, (long) tios.c_lflag); - tprintf("c_line=%u, ", tios.c_line); - if (!(tios.c_lflag & ICANON)) - tprintf("c_ccVMIN=%d, c_ccVTIME=%d, ", - tios.c_ccVMIN, tios.c_ccVTIME); - tprints("c_cc="); - print_quoted_string((char *) tios.c_cc, NCCS, QUOTE_FORCE_HEX); - tprints("}"); + tprint_struct_end(); } static void decode_termio(struct tcb *const tcp, const kernel_ulong_t addr) { struct termio tio; - int i; - - tprints(", "); if (umove_or_printaddr(tcp, addr, &tio)) return; + + tprint_struct_begin(); + decode_flags(tio.c_iflag, tio.c_oflag, tio.c_cflag, tio.c_lflag); + tprint_struct_next(); + if (abbrev(tcp)) { - tprints("{"); - printxval(baud_options, tio.c_cflag & CBAUD, "B???"); - tprintf(" %sopost %sisig %sicanon %secho ...}", - (tio.c_oflag & OPOST) ? "" : "-", - (tio.c_lflag & ISIG) ? "" : "-", - (tio.c_lflag & ICANON) ? "" : "-", - (tio.c_lflag & ECHO) ? "" : "-"); - return; + tprint_more_data_follows(); + } else { + PRINT_FIELD_XVAL(tio, c_line, term_line_discs, "N_???"); + + tprint_struct_next(); + decode_term_cc(termio_cc, tio.c_cc, + MIN(NCC, sizeof(tio.c_cc))); } - tprintf("{c_iflags=%#lx, c_oflags=%#lx, ", - (long) tio.c_iflag, (long) tio.c_oflag); - tprintf("c_cflags=%#lx, c_lflags=%#lx, ", - (long) tio.c_cflag, (long) tio.c_lflag); - tprintf("c_line=%u, ", tio.c_line); -#ifdef _VMIN - if (!(tio.c_lflag & ICANON)) - tprintf("c_cc_VMIN=%d, c_cc_VTIME=%d, ", - tio.c_cc_VMIN, tio.c_cc_VTIME); -#else /* !_VMIN */ - if (!(tio.c_lflag & ICANON)) - tprintf("c_ccVMIN=%d, c_ccVTIME=%d, ", - tio.c_ccVMIN, tio.c_ccVTIME); -#endif /* !_VMIN */ - tprints("c_cc=\""); - for (i = 0; i < NCC; i++) - tprintf("\\x%02x", tio.c_cci); - tprints("\"}"); + tprint_struct_end(); } static void decode_winsize(struct tcb *const tcp, const kernel_ulong_t addr) { struct winsize ws; - - tprints(", "); if (umove_or_printaddr(tcp, addr, &ws)) return; - tprintf("{ws_row=%d, ws_col=%d, ws_xpixel=%d, ws_ypixel=%d}", - ws.ws_row, ws.ws_col, ws.ws_xpixel, ws.ws_ypixel); + + tprint_struct_begin(); + PRINT_FIELD_U(ws, ws_row); + + tprint_struct_next(); + PRINT_FIELD_U(ws, ws_col); + + tprint_struct_next(); + PRINT_FIELD_U(ws, ws_xpixel); + + tprint_struct_next(); + PRINT_FIELD_U(ws, ws_ypixel); + + tprint_struct_end(); } #ifdef TIOCGSIZE @@ -105,26 +256,27 @@ decode_ttysize(struct tcb *const tcp, const kernel_ulong_t addr) { struct ttysize ts; - - tprints(", "); if (umove_or_printaddr(tcp, addr, &ts)) return; - tprintf("{ts_lines=%d, ts_cols=%d}", - ts.ts_lines, ts.ts_cols); + + tprint_struct_begin(); + PRINT_FIELD_U(ts, ts_lines); + tprint_struct_next(); + PRINT_FIELD_U(ts, ts_cols); + tprint_struct_end(); } #endif static void decode_modem_flags(struct tcb *const tcp, const kernel_ulong_t addr) { - int i; - - tprints(", "); - if (umove_or_printaddr(tcp, addr, &i)) + unsigned int flags; + if (umove_or_printaddr(tcp, addr, &flags)) return; - tprints(""); - printflags(modem_flags, i, "TIOCM_???"); - tprints(""); + + tprint_indirect_begin(); + printflags(modem_flags, flags, "TIOCM_???"); + tprint_indirect_end(); } int @@ -132,28 +284,39 @@ const kernel_ulong_t arg) { switch (code) { +#ifdef HAVE_STRUCT_TERMIOS2 + /* struct termios2 */ +# ifdef TCGETS2 + case TCGETS2: +# endif + if (entering(tcp)) + return 0; + ATTRIBUTE_FALLTHROUGH; +# ifdef TCSETS2 + case TCSETS2: +# endif +# ifdef TCSETSW2 + case TCSETSW2: +# endif +# ifdef TCSETSF2 + case TCSETSF2: +# endif + tprint_arg_next(); + decode_termios2(tcp, arg); + break; +#endif /* HAVE_STRUCT_TERMIOS2 */ + /* struct termios */ case TCGETS: -#ifdef TCGETS2 - case TCGETS2: -#endif case TIOCGLCKTRMIOS: if (entering(tcp)) return 0; ATTRIBUTE_FALLTHROUGH; case TCSETS: -#ifdef TCSETS2 - case TCSETS2: -#endif case TCSETSW: -#ifdef TCSETSW2 - case TCSETSW2: -#endif case TCSETSF: -#ifdef TCSETSF2 - case TCSETSF2: -#endif case TIOCSLCKTRMIOS: + tprint_arg_next(); decode_termios(tcp, arg); break; @@ -165,6 +328,7 @@ case TCSETA: case TCSETAW: case TCSETAF: + tprint_arg_next(); decode_termio(tcp, arg); break; @@ -174,6 +338,7 @@ return 0; ATTRIBUTE_FALLTHROUGH; case TIOCSWINSZ: + tprint_arg_next(); decode_winsize(tcp, arg); break; @@ -184,23 +349,25 @@ return 0; ATTRIBUTE_FALLTHROUGH; case TIOCSSIZE: + tprint_arg_next(); decode_ttysize(tcp, arg); break; #endif /* ioctls with a direct decodable arg */ case TCXONC: - tprints(", "); + tprint_arg_next(); printxval64(tcxonc_options, arg, "TC???"); break; case TCFLSH: - tprints(", "); + tprint_arg_next(); printxval64(tcflsh_options, arg, "TC???"); break; case TCSBRK: case TCSBRKP: case TIOCSCTTY: - tprintf(", %d", (int) arg); + tprint_arg_next(); + PRINT_VAL_D((int) arg); break; /* ioctls with an indirect parameter displayed as modem flags */ @@ -211,6 +378,7 @@ case TIOCMBIS: case TIOCMBIC: case TIOCMSET: + tprint_arg_next(); decode_modem_flags(tcp, arg); break; @@ -238,13 +406,13 @@ case TIOCPKT: case TIOCSSOFTCAR: case TIOCSPTLCK: - tprints(", "); + tprint_arg_next(); printnum_int(tcp, arg, "%d"); break; /* ioctls with an indirect parameter displayed as a char */ case TIOCSTI: - tprints(", "); + tprint_arg_next(); printstrn(tcp, arg, 1); break;
View file
_service:tar_scm:strace-5.14.tar.xz/src/times.c -> _service:tar_scm:strace-6.1.tar.xz/src/times.c
Changed
@@ -24,13 +24,13 @@ if (exiting(tcp) && !umove_or_printaddr(tcp, tcp->u_arg0, &tbuf)) { tprint_struct_begin(); - PRINT_FIELD_U(tbuf, tms_utime); + PRINT_FIELD_CLOCK_T(tbuf, tms_utime); tprint_struct_next(); - PRINT_FIELD_U(tbuf, tms_stime); + PRINT_FIELD_CLOCK_T(tbuf, tms_stime); tprint_struct_next(); - PRINT_FIELD_U(tbuf, tms_cutime); + PRINT_FIELD_CLOCK_T(tbuf, tms_cutime); tprint_struct_next(); - PRINT_FIELD_U(tbuf, tms_cstime); + PRINT_FIELD_CLOCK_T(tbuf, tms_cstime); tprint_struct_end(); }
View file
_service:tar_scm:strace-5.14.tar.xz/src/ucopy.c -> _service:tar_scm:strace-6.1.tar.xz/src/ucopy.c
Changed
@@ -235,6 +235,11 @@ #endif } +typedef union { + long val; + char datasizeof(long); +} dissected_long_t; + /* legacy method of copying from tracee */ static int umoven_peekdata(const int pid, kernel_ulong_t addr, unsigned int len, @@ -247,10 +252,9 @@ addr &= -sizeof(long); /* aligned address */ errno = 0; - union { - long val; - char xsizeof(long); - } u = { .val = ptrace(PTRACE_PEEKDATA, pid, addr, 0) }; + dissected_long_t u = { + .val = ptrace(PTRACE_PEEKDATA, pid, addr, 0) + }; switch (errno) { case 0: @@ -275,7 +279,7 @@ } unsigned int m = MIN(sizeof(long) - residue, len); - memcpy(laddr, &u.xresidue, m); + memcpy(laddr, &u.dataresidue, m); residue = 0; addr += sizeof(long); laddr += m; @@ -344,10 +348,9 @@ addr &= -sizeof(long); /* aligned address */ errno = 0; - union { - unsigned long val; - char xsizeof(long); - } u = { .val = ptrace(PTRACE_PEEKDATA, pid, addr, 0) }; + dissected_long_t u = { + .val = ptrace(PTRACE_PEEKDATA, pid, addr, 0) + }; switch (errno) { case 0: @@ -372,9 +375,9 @@ } unsigned int m = MIN(sizeof(long) - residue, len); - memcpy(laddr, &u.xresidue, m); + memcpy(laddr, &u.dataresidue, m); while (residue < sizeof(long)) - if (u.xresidue++ == '\0') + if (u.dataresidue++ == '\0') return (laddr - orig_addr) + residue; residue = 0; addr += sizeof(long); @@ -465,47 +468,50 @@ return 0; } +static bool +upoken_peekpoke(const int pid, const kernel_ulong_t addr, + const unsigned int len, void *const our_addr, + const unsigned int offset) +{ + errno = 0; + dissected_long_t u = { + .val = ptrace(PTRACE_PEEKDATA, pid, addr, 0) + }; + if (errno) + return false; + + memcpy(u.data + offset, our_addr, len); + + /* write it back */ + return ptrace(PTRACE_POKEDATA, pid, addr, u.val) == 0; +} + static unsigned int upoken_pokedata(const int pid, kernel_ulong_t addr, unsigned int len, void *our_addr) { unsigned int nwritten = 0; - if (len & (sizeof(long) - 1)) { - error_func_msg("cannot poke unaligned data len %u", len); - return nwritten; - } - if (addr & (sizeof(long) - 1)) { - error_func_msg("cannot poke at unaligned address 0x%" PRI_klx, - addr); - return nwritten; - } + if (len && (addr & (sizeof(long) - 1))) { + /* addr is not a multiple of sizeof(long) */ + unsigned int residue = addr & (sizeof(long) - 1); + unsigned int npoke = MIN(sizeof(long) - residue, len); + addr &= -sizeof(long); /* aligned address */ + if (!upoken_peekpoke(pid, addr, npoke, our_addr, residue)) + goto poke_error; - while (len) { - errno = 0; - ptrace(PTRACE_POKEDATA, pid, addr, * (long *) our_addr); + addr += sizeof(long); + nwritten += npoke; + our_addr += npoke; + len -= npoke; + } - switch (errno) { - case 0: - break; - case ESRCH: case EINVAL: - /* these could be seen if the process is gone */ - return nwritten; - case EFAULT: case EIO: case EPERM: - /* address space is inaccessible */ - if (nwritten) { - perror_func_msg("pid:%d short write (%u < %u)" - " @0x%" PRI_klx, - pid, nwritten, nwritten + len, - addr - nwritten); - } - return nwritten; - default: - /* all the rest is strange and should be reported */ - perror_func_msg("pid:%d @0x%" PRI_klx, - pid, addr); - return nwritten; - } + while (len >= sizeof(long)) { + /* our_addr may be unaligned */ + long word; + memcpy(&word, our_addr, sizeof(word)); + if (ptrace(PTRACE_POKEDATA, pid, addr, word) < 0) + goto poke_error; addr += sizeof(long); nwritten += sizeof(long); @@ -513,6 +519,34 @@ len -= sizeof(long); } + if (len) { + if (!upoken_peekpoke(pid, addr, len, our_addr, 0)) + goto poke_error; + nwritten += len; + } + + return nwritten; + +poke_error: + switch (errno) { + case ESRCH: case EINVAL: + /* these could be seen if the process is gone */ + break; + case EFAULT: case EIO: case EPERM: + /* address space is inaccessible */ + if (nwritten) { + perror_func_msg("pid:%d short write (%u < %u)" + " @0x%" PRI_klx, + pid, nwritten, nwritten + len, + addr - nwritten); + } + break; + default: + /* all the rest is strange and should be reported */ + perror_func_msg("pid:%d @0x%" PRI_klx, pid, addr); + break; + } + return nwritten; } @@ -541,16 +575,13 @@ return (unsigned int) r; } switch (errno) { - case ENOSYS: - case EPERM: + case ENOSYS: case EPERM: /* could not use process_vm_writev */ + case EFAULT: case EIO: /* address space is inaccessible */ /* try PTRACE_POKEDATA */ return upoken_pokedata(pid, addr, len, our_addr); case ESRCH: /* the process is gone */ return 0; - case EFAULT: case EIO: - /* address space is inaccessible */ - return 0; default: /* all the rest is strange and should be reported */ perror_func_msg("pid:%d @0x%" PRI_klx, pid, addr);
View file
_service:tar_scm:strace-5.14.tar.xz/src/util.c -> _service:tar_scm:strace-6.1.tar.xz/src/util.c
Changed
@@ -6,7 +6,7 @@ * Copyright (c) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation * Linux for s390 port by D.J. Barrow * <barrow_dj@mail.yahoo.com,djbarrow@de.ibm.com> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -25,6 +25,7 @@ #include "largefile_wrappers.h" #include "number_set.h" +#include "print_fields.h" #include "print_utils.h" #include "secontext.h" #include "static_assert.h" @@ -33,8 +34,8 @@ #include "xstring.h" const struct xlat_data * -find_xlat_val_ex(const struct xlat_data *items, const char *s, size_t num_items, - unsigned int flags) +find_xlat_val_ex(const struct xlat_data * const items, const char * const s, + const size_t num_items, const unsigned int flags) { for (size_t i = 0; i < num_items; i++) { if (!(flags & FXL_CASE_SENSITIVE ? strcmp @@ -135,14 +136,6 @@ tv->tv_nsec = nsec % 1000000000; } -void -ts_mul(struct timespec *tv, const struct timespec *a, uint64_t n) -{ - long long nsec = a->tv_nsec * n; - tv->tv_sec = a->tv_sec * n + nsec / 1000000000; - tv->tv_nsec = nsec % 1000000000; -} - const struct timespec * ts_min(const struct timespec *a, const struct timespec *b) { @@ -202,6 +195,76 @@ return 0; } +#define ILOG10_ITER_(val_, div_, ret_, pow_) \ + do { \ + if ((val_) >= (div_)) { \ + (val_) /= (div_); \ + (ret_) += (pow_); \ + } \ + } while (0) \ + /* End of ILOG10_ITER_ */ + +/* Returns 0 for 0. */ +static int +ilog10(uint64_t val) +{ + int ret = 0; + + ILOG10_ITER_(val, 10000000000000000ULL, ret, 16); + ILOG10_ITER_(val, 100000000, ret, 8); + ILOG10_ITER_(val, 10000, ret, 4); + ILOG10_ITER_(val, 100, ret, 2); + ILOG10_ITER_(val, 10, ret, 1); + + return ret; +} + +void +print_clock_t(uint64_t val) +{ + static long clk_tck; + static int frac_width; + + if (!clk_tck) { + errno = 0; + clk_tck = sysconf(_SC_CLK_TCK); + if (clk_tck == -1 && errno) + debug_func_perror_msg("sysconf(_SC_CLK_TCK)"); + if (clk_tck == 0) + clk_tck = -1; + if (clk_tck > 0) + frac_width = MIN(ilog10(clk_tck), 9); + } + + PRINT_VAL_U(val); + if (xlat_verbose(xlat_verbosity) != XLAT_STYLE_RAW + && clk_tck > 0 && val > 0) { + /* + * This dance here is due to the fact that this calculation + * may occasionally hit double precision limitations (52-bit + * mantissa) with large values of val. + */ + char bufsizeof(uint64_t) * 3 + sizeof("0.0 s"); + size_t offs = ilog10(val / clk_tck); + /* + * This check is mostly to appease covscan, which thinks + * that offs can go as high as 31 (it cannot), but since + * there is no proper sanity checks against offs overrunning + * buf down the code, it may as well be here. + */ + if (offs > (sizeof(buf) - sizeof("0.0 s"))) + return; + int ret = snprintf(buf + offs, sizeof(buf) - offs, "%.*f s", + frac_width, + (double) (val % clk_tck) / clk_tck); + if (ret >= 0 && (unsigned) ret < sizeof(buf) - offs) { + snprintf(buf, offs + 2, "%" PRIu64, val / clk_tck); + bufoffs + 1 = '.'; + tprints_comment(buf); + } + } +} + #if !defined HAVE_STPCPY char * stpcpy(char *dst, const char *src) @@ -339,7 +402,7 @@ printaddr64(const uint64_t addr) { if (!addr) - tprints("NULL"); + tprint_null(); else PRINT_VAL_X(addr); } @@ -534,36 +597,54 @@ #endif } +static unsigned long +get_inode_of_socket_path(const char *path) +{ + const char *str = STR_STRIP_PREFIX(path, "socket:"); + char *end; + size_t len; + unsigned long r; + + if ((str != path) + && (len = strlen(str)) + && (strlen - 1 == '') + && (r = strtoul(str, &end, 10)) + && (end == &strlen - 1)) + return r; + + return 0; +} + unsigned long getfdinode(struct tcb *tcp, int fd) { char pathPATH_MAX + 1; - if (getfdpath(tcp, fd, path, sizeof(path)) >= 0) { - const char *str = STR_STRIP_PREFIX(path, "socket:"); - - if (str != path) { - const size_t str_len = strlen(str); - if (str_len && strstr_len - 1 == '') - return strtoul(str, NULL, 10); - } - } + if (getfdpath(tcp, fd, path, sizeof(path)) >= 0) + return get_inode_of_socket_path(path); return 0; } +static void +print_string_in_angle_brackets(const char *str) +{ + tprint_associated_info_begin(); + tprints(str); + tprint_associated_info_end(); +} + static bool printsocket(struct tcb *tcp, int fd, const char *path) { - const char *str = STR_STRIP_PREFIX(path, "socket:"); - size_t len; - unsigned long inode; + unsigned long inode = get_inode_of_socket_path(path); + if (!inode) + return false; + + const char *details = get_sockaddr_by_inode(tcp, fd, inode); + print_string_in_angle_brackets(details ?: path); - return (str != path) - && (len = strlen(str)) - && (strlen - 1 == '') - && (inode = strtoul(str, NULL, 10)) - && print_sockaddr_by_inode(tcp, fd, inode); + return true; } static bool @@ -582,12 +663,16 @@ switch (st.st_mode & S_IFMT) { case S_IFBLK: case S_IFCHR: + tprint_associated_info_begin(); print_quoted_string_ex(path, strlen(path), QUOTE_OMIT_LEADING_TRAILING_QUOTES, "<>"); - tprintf("<%s %u:%u>", + tprint_associated_info_begin(); + tprintf("%s %u:%u", S_ISBLK(st.st_mode)? "block" : "char", major(st.st_rdev), minor(st.st_rdev)); + tprint_associated_info_end(); + tprint_associated_info_end(); return true; } @@ -637,22 +722,43 @@ return false; pid_t pid = pidfd_get_pid(pid_of_fd, fd); - if (pid <= 0) - return false; + if (pid > 0) { + tprint_associated_info_begin(); + tprints("pid:"); + /* + * The pid translation is not needed because + * the pid is in strace's namespace. + */ + printpid(NULL, pid, PT_TID); + tprint_associated_info_end(); + } else { + print_string_in_angle_brackets(path); + } - tprints("pid:"); - PRINT_VAL_D(pid); return true; } +static void +print_quoted_string_in_angle_brackets(const char *str, const bool deleted) +{ + tprint_associated_info_begin(); + print_quoted_string_ex(str, strlen(str), + QUOTE_OMIT_LEADING_TRAILING_QUOTES, "<>"); + tprint_associated_info_end(); + + if (deleted) + tprints("(deleted)"); +} + void printfd_pid(struct tcb *tcp, pid_t pid, int fd) { + PRINT_VAL_D(fd); + char pathPATH_MAX + 1; + bool deleted; if (pid > 0 && !number_set_array_is_empty(decode_fd_set, 0) - && getfdpath_pid(pid, fd, path, sizeof(path)) >= 0) { - PRINT_VAL_D(fd); - tprints("<"); + && getfdpath_pid(pid, fd, path, sizeof(path), &deleted) >= 0) { if (is_number_in_set(DECODE_FD_SOCKET, decode_fd_set) && printsocket(tcp, fd, path)) goto printed; @@ -662,21 +768,12 @@ if (is_number_in_set(DECODE_FD_PIDFD, decode_fd_set) && printpidfd(pid, fd, path)) goto printed; - print_quoted_string_ex(path, strlen(path), - QUOTE_OMIT_LEADING_TRAILING_QUOTES, "<>"); - -printed: - tprints(">"); - } else { - PRINT_VAL_D(fd); + if (is_number_in_set(DECODE_FD_PATH, decode_fd_set)) + print_quoted_string_in_angle_brackets(path, deleted); +printed: ; } -#ifdef ENABLE_SECONTEXT - char *context; - if (!selinux_getfdcon(pid, fd, &context)) { - tprintf(" %s", context); - free(context); - } -#endif + + selinux_printfdcon(pid, fd); } void @@ -771,6 +868,10 @@ unsigned int i; int usehex, c, eol; bool printable; + enum xflag_opts xstyle = style & QUOTE_OVERWRITE_HEXSTR + ? ((style & QUOTE_HEXSTR_MASK) + >> QUOTE_HEXSTR_SHIFT) + : xflag; if (style & QUOTE_0_TERMINATED) eol = '\0'; @@ -778,9 +879,9 @@ eol = 0x100; /* this can never match a char */ usehex = 0; - if ((xflag > 1) || (style & QUOTE_FORCE_HEX)) { + if (xstyle == HEXSTR_ALL) { usehex = 1; - } else if (xflag) { + } else if (xstyle == HEXSTR_NON_ASCII) { /* Check for presence of symbol which require to hex-quote the whole string. */ for (i = 0; i < size; ++i) { @@ -866,24 +967,19 @@ if (printable) { *s++ = c; } else { - /* Print \octal */ - *s++ = '\\'; - if (i + 1 < size - && ustri + 1 >= '0' - && ustri + 1 <= '7' - ) { - /* Print \ooo */ - *s++ = '0' + (c >> 6); - *s++ = '0' + ((c >> 3) & 0x7); + if (xstyle == HEXSTR_NON_ASCII_CHARS) { + /* Print he\x */ + *s++ = '\\'; + *s++ = 'x'; + s = sprint_byte_hex(s, c); } else { - /* Print \ooo */ - if ((c >> 3) != 0) { - if ((c >> 6) != 0) - *s++ = '0' + (c >> 6); - *s++ = '0' + ((c >> 3) & 0x7); - } + /* Print \octal */ + *s++ = '\\'; + s = sprint_byte_oct(s, c, + i + 1 < size + && ustri + 1 >= '0' + && ustri + 1 <= '7'); } - *s++ = '0' + (c & 0x7); } } } @@ -971,6 +1067,11 @@ rc = string_quote(str, outstr, size, style, escape_chars); tprints(outstr); + if (((style & (QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0)) + == (QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0)) && rc) { + tprint_more_data_follows(); + } + free(buf); return rc; } @@ -1013,7 +1114,7 @@ int nul_seen; if (!addr) { - tprints("NULL"); + tprint_null(); return -1; } @@ -1029,13 +1130,8 @@ pathn++ = !nul_seen; print_quoted_cstring(path, n); -#ifdef ENABLE_SECONTEXT - char *context; - if (nul_seen && !selinux_getfilecon(tcp, path, &context)) { - tprintf(" %s", context); - free(context); - } -#endif + if (nul_seen) + selinux_printfilecon(tcp, path); } return nul_seen; @@ -1072,7 +1168,7 @@ int ellipsis; if (!addr) { - tprints("NULL"); + tprint_null(); return -1; } /* Allocate static buffers if they are not allocated yet. */ @@ -1108,6 +1204,12 @@ else strsize = '\xff'; + if ((style & (QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0)) + == (QUOTE_0_TERMINATED | QUOTE_EXPECT_TRAILING_0) + && size == len && size) { + --size; + } + /* If string_quote didn't see NUL and (it was supposed to be ASCIZ str * or we were requested to print more than -s NUM chars)... */ @@ -1192,7 +1294,6 @@ # define iov_iov_base(i) ptr_to_kulong(iovi.iov_base) # define iov_iov_len(i) iovi.iov_len #endif - int i; unsigned int size = sizeof_iov * len; if (size / sizeof_iov != (unsigned int) len) { error_func_msg("requested %u iovec elements exceeds" @@ -1207,7 +1308,7 @@ return; } if (umoven(tcp, addr, size, iov) >= 0) { - for (i = 0; i < len; i++) { + for (int i = 0; i < len; ++i) { kernel_ulong_t iov_len = iov_iov_len(i); if (iov_len > data_size) iov_len = data_size; @@ -1400,74 +1501,72 @@ return -1; } -bool -print_int8_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - PRINT_VAL_D(*(int8_t *) elem_buf); - - return true; -} - -bool -print_uint8_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - PRINT_VAL_U(*(uint8_t *) elem_buf); - - return true; -} - -bool -print_xint8_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - PRINT_VAL_X(*(uint8_t *) elem_buf); - - return true; -} - -bool -print_int32_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - PRINT_VAL_D(*(int32_t *) elem_buf); - - return true; -} - -bool -print_uint32_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) +int +umoven_to_uint64_or_printaddr64(struct tcb *const tcp, const uint64_t addr, + unsigned int len, uint64_t *const our_addr) { - PRINT_VAL_U(*(uint32_t *) elem_buf); - - return true; + union { + uint64_t val; + uint8_t bytessizeof(uint64_t); + } data = { .val = 0 }; + const size_t offs = is_bigendian ? sizeof(data) - len : 0; + + if (len <= sizeof(data) && + tfetch_mem64_ignore_syserror(tcp, addr, len, data.bytes + offs)) { + *our_addr = data.val; + return 0; + } + printaddr64(addr); + return -1; } bool -print_xint32_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) -{ - PRINT_VAL_X(*(uint32_t *) elem_buf); +print_int_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, + void *data) +{ + switch (elem_size) { + case sizeof(int8_t): PRINT_VAL_D(*(int8_t *) elem_buf); break; + case sizeof(int16_t): PRINT_VAL_D(*(int16_t *) elem_buf); break; + case sizeof(int32_t): PRINT_VAL_D(*(int32_t *) elem_buf); break; + case sizeof(int64_t): PRINT_VAL_D(*(int64_t *) elem_buf); break; + default: + error_func_msg("Unexpected elem_size: %zu", elem_size); + return false; + } return true; } bool -print_uint64_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) +print_uint_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, + void *data) { - PRINT_VAL_U(*(uint64_t *) elem_buf); + switch (elem_size) { + case sizeof(uint8_t): PRINT_VAL_U(*(uint8_t *) elem_buf); break; + case sizeof(uint16_t): PRINT_VAL_U(*(uint16_t *) elem_buf); break; + case sizeof(uint32_t): PRINT_VAL_U(*(uint32_t *) elem_buf); break; + case sizeof(uint64_t): PRINT_VAL_U(*(uint64_t *) elem_buf); break; + default: + error_func_msg("Unexpected elem_size: %zu", elem_size); + return false; + } return true; } bool -print_xint64_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, - void *data) +print_xint_array_member(struct tcb *tcp, void *elem_buf, size_t elem_size, + void *data) { - PRINT_VAL_X(*(uint64_t *) elem_buf); + switch (elem_size) { + case sizeof(uint8_t): PRINT_VAL_X(*(uint8_t *) elem_buf); break; + case sizeof(uint16_t): PRINT_VAL_X(*(uint16_t *) elem_buf); break; + case sizeof(uint32_t): PRINT_VAL_X(*(uint32_t *) elem_buf); break; + case sizeof(uint64_t): PRINT_VAL_X(*(uint64_t *) elem_buf); break; + default: + error_func_msg("Unexpected elem_size: %zu", elem_size); + return false; + } return true; } @@ -1525,12 +1624,14 @@ const char *index_dflt) { if (!start_addr) { - tprints("NULL"); + tprint_null(); return false; } if (!nmemb) { tprint_array_begin(); + if (flags & PAF_ARRAY_TRUNCATED) + tprint_more_data_follows(); tprint_array_end(); return false; } @@ -1589,8 +1690,8 @@ if (!index_xlat) { print_xlat_ex(idx, NULL, xlat_style); } else { - printxval_ex(idx ? NULL : index_xlat, idx, - index_dflt, xlat_style); + printxval_ex(index_xlat, idx, index_dflt, + xlat_style); } tprint_array_index_end(); @@ -1658,8 +1759,12 @@ { if (current_klongsize > 4) { const unsigned int hi = (unsigned int) ((uint64_t) val >> 32); - if (hi) - tprintf("%#x<<32|", hi); + if (hi) { + PRINT_VAL_X(hi); + tprint_shift(); + PRINT_VAL_U(32); + tprint_or(); + } } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/v4l2.c -> _service:tar_scm:strace-6.1.tar.xz/src/v4l2.c
Changed
@@ -2,7 +2,7 @@ * Copyright (c) 2014 Philippe De Muyter <phdm@macqel.be> * Copyright (c) 2014 William Manley <will@williammanley.net> * Copyright (c) 2011 Peter Zotov <whitequark@whitequark.org> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -80,39 +80,16 @@ (unsigned char) (fourcc >> 16), (unsigned char) (fourcc >> 24), }; - unsigned int i; tprints_arg_begin("v4l2_fourcc"); /* Generic char array printing routine. */ - for (i = 0; i < ARRAY_SIZE(a); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(a); ++i) { unsigned char c = ai; if (i) tprint_arg_next(); - if (c == '\'' || c == '\\') { - char sym = { - '\'', - '\\', - c, - '\'', - '\0' - }; - tprints(sym); - } else if (is_print(c)) { - char sym = { - '\'', - c, - '\'', - '\0' - }; - tprints(sym); - } else { - char hex = { - BYTE_HEX_CHARS_PRINTF_QUOTED(c), - '\0' - }; - tprints(hex); - } + + print_char(c, SCF_QUOTES); } tprint_arg_end(); @@ -528,11 +505,11 @@ if (flags) { printflags(v4l2_buf_flags, flags, "V4L2_BUF_FLAG_???"); - tprints("|"); + tprint_or(); } printxval(v4l2_buf_flags_ts_type, ts_type, "V4L2_BUF_FLAG_TIMESTAMP_???"); - tprints("|"); + tprint_or(); printxval(v4l2_buf_flags_ts_src, ts_src, "V4L2_BUF_FLAG_TSTAMP_SRC_???"); } @@ -731,7 +708,13 @@ tprint_struct_end(); return RVAL_IOCTL_DECODED; } - tprints(is_get ? ", " : "} => {"); + if (is_get) { + tprint_struct_next(); + } else { + tprint_struct_end(); + tprint_value_changed(); + tprint_struct_begin(); + } } if (s.type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { @@ -832,8 +815,7 @@ if (flags) { printflags(v4l2_control_query_flags, flags, "V4L2_CTRL_FLAG_NEXT_???"); - tprints("|"); - + tprint_or(); cid &= ~flags; } } @@ -929,7 +911,13 @@ tprint_struct_end(); return RVAL_IOCTL_DECODED; } - tprints(is_get ? ", " : "} => {"); + if (is_get) { + tprint_struct_next(); + } else { + tprint_struct_end(); + tprint_value_changed(); + tprint_struct_begin(); + } } PRINT_FIELD_CSTRING(c, name); @@ -1014,7 +1002,7 @@ if (!IS_ARRAY_ZERO(c.reserved)) { tprint_struct_next(); PRINT_FIELD_ARRAY(c, reserved, tcp, - print_xint32_array_member); + print_xint_array_member); } } else { tprint_struct_next(); @@ -1080,11 +1068,11 @@ PRINT_FIELD_U(c, nr_of_dims); tprint_struct_next(); PRINT_FIELD_ARRAY_UPTO(c, dims, c.nr_of_dims, tcp, - print_uint32_array_member); + print_uint_array_member); if (!IS_ARRAY_ZERO(c.reserved)) { tprint_struct_next(); PRINT_FIELD_ARRAY(c, reserved, tcp, - print_xint32_array_member); + print_xint_array_member); } } else { tprint_struct_next(); @@ -1208,7 +1196,13 @@ tprint_struct_end(); return RVAL_IOCTL_DECODED; } - tprints(is_get ? ", " : "} => {"); + if (is_get) { + tprint_struct_next(); + } else { + tprint_struct_end(); + tprint_value_changed(); + tprint_struct_begin(); + } } tprints_field_name("controls");
View file
_service:tar_scm:strace-5.14.tar.xz/src/wait.c -> _service:tar_scm:strace-6.1.tar.xz/src/wait.c
Changed
@@ -7,7 +7,7 @@ * Copyright (c) 2004 Ulrich Drepper <drepper@redhat.com> * Copyright (c) 2009-2013 Denys Vlasenko <dvlasenk@redhat.com> * Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2014-2021 The strace developers. + * Copyright (c) 2014-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -64,13 +64,14 @@ if (status) { unsigned int event = (unsigned int) status >> 16; if (event) { - tprints(" | "); + tprint_or(); printxval(ptrace_events, event, "PTRACE_EVENT_???"); - tprints(" << 16"); + tprint_shift(); + PRINT_VAL_U(16); status &= 0xffff; } if (status) { - tprints(" | "); + tprint_or(); PRINT_VAL_X(status); } }
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat.c -> _service:tar_scm:strace-6.1.tar.xz/src/xlat.c
Changed
@@ -3,7 +3,7 @@ * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl> * Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com> * Copyright (c) 1996-1999 Wichert Akkerman <wichert@cistron.nl> - * Copyright (c) 1999-2021 The strace developers. + * Copyright (c) 1999-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -13,7 +13,7 @@ #include "xstring.h" #include <stdarg.h> -static inline enum xlat_style +static enum xlat_style get_xlat_style(enum xlat_style style) { if (xlat_verbose(style) == XLAT_STYLE_DEFAULT) @@ -22,7 +22,7 @@ return style; } -static inline const char * +static const char * sprint_xlat_val(uint64_t val, enum xlat_style style) { static char bufsizeof(val) * 3; @@ -44,7 +44,7 @@ return buf; } -static inline void +static void print_xlat_val(uint64_t val, enum xlat_style style) { tprints(sprint_xlat_val(val, style)); @@ -59,37 +59,27 @@ } const char * -xlookup(const struct xlat *xlat, const uint64_t val) +xlookup(const struct xlat *x, const uint64_t val) { - static const struct xlat *x; - static size_t idx; const struct xlat_data *e; - if (xlat) { - x = xlat; - idx = 0; - } - if (!x || !x->data) return NULL; switch (x->type) { case XT_NORMAL: - for (; idx < x->size; idx++) + for (size_t idx = 0; idx < x->size; idx++) if (x->dataidx.val == val) return x->dataidx.str; break; case XT_SORTED: e = bsearch((const void *) &val, - x->data + idx, - x->size - idx, + x->data, x->size, sizeof(x->data0), xlat_bsearch_compare); - if (e) { - idx = e - x->data; + if (e) return e->str; - } break; case XT_INDEXED: @@ -206,22 +196,21 @@ } /** - * Print entry in struct xlat table, if there. + * Print an entry in struct xlat table, if it is there. * - * @param val Value to search a literal representation for. - * @param dflt String (abbreviated in comment syntax) which should be emitted + * @param val A value to search a literal representation for. + * @param dflt A string (encased in comment syntax) which is to be emitted * if no appropriate xlat value has been found. - * @param style Style in which xlat value should be printed. - * @param xlat (And the following arguments) Pointers to arrays of xlat values. + * @param style A style which is to be used for xlat value printing. + * @param xlat (and the following arguments) Pointers xlat description + * structures. * The last argument should be NULL. - * @return 1 if appropriate xlat value has been found, 0 otherwise. + * @return 1 if an appropriate xlat value has been found, 0 otherwise. */ int printxvals_ex(const uint64_t val, const char *dflt, enum xlat_style style, const struct xlat *xlat, ...) { - static const struct xlat *last; - style = get_xlat_style(style); if (xlat_verbose(style) == XLAT_STYLE_RAW) { @@ -234,12 +223,7 @@ va_start(args, xlat); - if (!xlat) - xlat = last; - for (; xlat; xlat = va_arg(args, const struct xlat *)) { - last = xlat; - str = xlookup(xlat, val); if (str) { @@ -454,7 +438,7 @@ && !flags) PRINT_VAL_U(0); if (n++) - tprints("|"); + tprint_or(); else if (need_comment) tprint_comment_begin(); tprints(xlat->dataidx.str); @@ -468,7 +452,7 @@ if (n) { if (flags) { - tprints("|"); + tprint_or(); print_xlat_val(flags, style); n++; }
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/Makemodule.am -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/Makemodule.am
Changed
@@ -1,5 +1,5 @@ -XLAT_INPUT_FILES = xlat/access_modes.in xlat/addrfams.in xlat/adjtimex_modes.in xlat/adjtimex_state.in xlat/adjtimex_status.in xlat/advise.in xlat/af_packet_types.in xlat/af_packet_versions.in xlat/aio_cmds.in xlat/aio_iocb_flags.in xlat/archvals.in xlat/arp_hardware_types.in xlat/at_flags.in xlat/at_statx_sync_types.in xlat/atomic_ops.in xlat/audit_arch.in xlat/ax25_protocols.in xlat/baud_options.in xlat/bdaddr_types.in xlat/blkpg_ops.in xlat/bluetooth_l2_cid.in xlat/bluetooth_l2_psm.in xlat/bootflags1.in xlat/bootflags2.in xlat/bootflags3.in xlat/bpf_attach_flags.in xlat/bpf_attach_type.in xlat/bpf_class.in xlat/bpf_commands.in xlat/bpf_file_mode_flags.in xlat/bpf_map_flags.in xlat/bpf_map_lookup_elem_flags.in xlat/bpf_map_types.in xlat/bpf_map_update_elem_flags.in xlat/bpf_miscop.in xlat/bpf_mode.in xlat/bpf_op_alu.in xlat/bpf_op_jmp.in xlat/bpf_prog_flags.in xlat/bpf_prog_types.in xlat/bpf_query_flags.in xlat/bpf_rval.in xlat/bpf_size.in xlat/bpf_src.in xlat/bpf_task_fd_type.in xlat/bsg_flags.in xlat/bsg_protocol.in xlat/bsg_subprotocol.in xlat/bt_protocols.in xlat/btrfs_balance_args.in xlat/btrfs_balance_ctl_cmds.in xlat/btrfs_balance_flags.in xlat/btrfs_balance_state.in xlat/btrfs_compress_types.in xlat/btrfs_cont_reading_from_srcdev_mode.in xlat/btrfs_defrag_flags.in xlat/btrfs_dev_replace_cmds.in xlat/btrfs_dev_replace_results.in xlat/btrfs_dev_replace_state.in xlat/btrfs_dev_stats_flags.in xlat/btrfs_dev_stats_values.in xlat/btrfs_features_compat.in xlat/btrfs_features_compat_ro.in xlat/btrfs_features_incompat.in xlat/btrfs_key_types.in xlat/btrfs_logical_ino_args_flags.in xlat/btrfs_qgroup_ctl_cmds.in xlat/btrfs_qgroup_inherit_flags.in xlat/btrfs_qgroup_limit_flags.in xlat/btrfs_qgroup_status_flags.in xlat/btrfs_scrub_flags.in xlat/btrfs_send_flags.in xlat/btrfs_snap_flags_v2.in xlat/btrfs_space_info_flags.in xlat/btrfs_tree_objectids.in xlat/cacheflush_flags.in xlat/cacheflush_scope.in xlat/caif_protocols.in xlat/can_protocols.in xlat/cap.in xlat/cap_mask0.in xlat/cap_mask1.in xlat/cap_version.in xlat/clockflags.in xlat/clocknames.in xlat/clone3_flags.in xlat/clone_flags.in xlat/close_range_flags.in xlat/cpuclocknames.in xlat/crypto_nl_attrs.in xlat/dcb_commands.in xlat/delete_module_flags.in xlat/dirent_types.in xlat/dm_flags.in xlat/ebpf_class.in xlat/ebpf_mode.in xlat/ebpf_op_alu.in xlat/ebpf_op_jmp.in xlat/ebpf_regs.in xlat/ebpf_size.in xlat/efd_flags.in xlat/elf_em.in xlat/epollctls.in xlat/epollevents.in xlat/epollflags.in xlat/ethernet_protocols.in xlat/evdev_abs.in xlat/evdev_autorepeat.in xlat/evdev_ev.in xlat/evdev_ff_status.in xlat/evdev_ff_types.in xlat/evdev_keycode.in xlat/evdev_leds.in xlat/evdev_misc.in xlat/evdev_mtslots.in xlat/evdev_prop.in xlat/evdev_relative_axes.in xlat/evdev_snd.in xlat/evdev_switch.in xlat/f_owner_types.in xlat/f_seals.in xlat/faccessat_flags.in xlat/falloc_flags.in xlat/fan_classes.in xlat/fan_event_flags.in xlat/fan_init_flags.in xlat/fan_mark_flags.in xlat/fcntlcmds.in xlat/fdflags.in xlat/fib_rule_actions.in xlat/fib_rule_flags.in xlat/fiemap_extent_flags.in xlat/fiemap_flags.in xlat/flockcmds.in xlat/fs_ioc_flags.in xlat/fs_xflags.in xlat/fsconfig_cmds.in xlat/fsmagic.in xlat/fsmount_attr_flags.in xlat/fsmount_flags.in xlat/fsopen_flags.in xlat/fspick_flags.in xlat/futexbitset.in xlat/futexops.in xlat/futexwakecmps.in xlat/futexwakeops.in xlat/get_mempolicy_flags.in xlat/getrandom_flags.in xlat/getsock_ip_options.in xlat/getsock_ipv6_options.in xlat/getsock_options.in xlat/gpio_event_flags.in xlat/gpio_handle_flags.in xlat/gpio_line_flags.in xlat/gpio_v2_line_attr_ids.in xlat/gpio_v2_line_flags.in xlat/hci_channels.in xlat/hdio_drive_cmds.in xlat/hw_breakpoint_len.in xlat/hw_breakpoint_type.in xlat/icmpfilterflags.in xlat/if_dqblk_valid.in xlat/if_dqinfo_flags.in xlat/if_dqinfo_valid.in xlat/ifaddrflags.in xlat/iffflags.in xlat/in6_addr_gen_mode.in xlat/inet6_devconf_indices.in xlat/inet6_if_flags.in xlat/inet_devconf_indices.in xlat/inet_diag_attrs.in xlat/inet_diag_bytecodes.in xlat/inet_diag_extended_flags.in xlat/inet_diag_req_attrs.in xlat/inet_protocols.in xlat/inotify_flags.in xlat/inotify_init_flags.in xlat/ioctl_dirs.in xlat/ioprio_class.in xlat/ioprio_who.in xlat/ip_cmsg_types.in xlat/ip_type_of_services.in xlat/ipc_msg_flags.in xlat/ipc_private.in xlat/ipccalls.in xlat/irda_protocols.in xlat/isdn_protocols.in xlat/itimer_which.in xlat/kcm_protocols.in xlat/kcmp_types.in xlat/kexec_arch_values.in xlat/kexec_file_load_flags.in xlat/kexec_load_flags.in xlat/key_perms.in xlat/key_reqkeys.in xlat/key_spec.in xlat/keyctl_caps0.in xlat/keyctl_caps1.in xlat/keyctl_commands.in xlat/keyctl_move_flags.in xlat/keyctl_pkey_ops.in xlat/kvm_cap.in xlat/kvm_cpuid_flags.in xlat/kvm_exit_reason.in xlat/kvm_mem_flags.in xlat/landlock_create_ruleset_flags.in xlat/landlock_rule_types.in xlat/landlock_ruleset_access_fs.in xlat/lockfcmds.in xlat/loop_crypt_type_options.in xlat/loop_flags_options.in xlat/lwtunnel_encap_types.in xlat/madvise_cmds.in xlat/mbind_flags.in xlat/mctl_sync.in xlat/mdb_flags.in xlat/mdb_states.in xlat/membarrier_cmds.in xlat/membarrier_flags.in xlat/memfd_create_flags.in xlat/memfd_secret_flags.in xlat/mlock_flags.in xlat/mlockall_flags.in xlat/mmap_flags.in xlat/mmap_prot.in xlat/modem_flags.in xlat/modetypes.in xlat/module_init_flags.in xlat/mount_attr_attr.in xlat/mount_attr_propagation.in xlat/mount_flags.in xlat/mount_setattr_flags.in xlat/move_mount_flags.in xlat/move_pages_flags.in xlat/mpol_mode_flags.in xlat/mpol_modes.in xlat/mq_attr_flags.in xlat/mremap_flags.in xlat/msg_flags.in xlat/msgctl_flags.in xlat/mtd_file_mode_options.in xlat/mtd_flags_options.in xlat/mtd_mode_options.in xlat/mtd_nandecc_options.in xlat/mtd_otp_options.in xlat/mtd_type_options.in xlat/multicast_router_types.in xlat/name_to_handle_at_flags.in xlat/nbd_ioctl_cmds.in xlat/nbd_ioctl_flags.in xlat/neighbor_cache_entry_flags.in xlat/neighbor_cache_entry_states.in xlat/netfilter_versions.in xlat/netlink_ack_flags.in xlat/netlink_delete_flags.in xlat/netlink_diag_attrs.in xlat/netlink_diag_show.in xlat/netlink_flags.in xlat/netlink_get_flags.in xlat/netlink_new_flags.in xlat/netlink_protocols.in xlat/netlink_sk_meminfo_indices.in xlat/netlink_socket_flags.in xlat/netlink_states.in xlat/netlink_types.in xlat/nf_acct_msg_types.in xlat/nf_cthelper_msg_types.in xlat/nf_ctnetlink_exp_msg_types.in xlat/nf_ctnetlink_msg_types.in xlat/nf_cttimeout_msg_types.in xlat/nf_hook_msg_types.in xlat/nf_ipset_msg_types.in xlat/nf_nft_compat_msg_types.in xlat/nf_nftables_msg_types.in xlat/nf_osf_msg_types.in xlat/nf_queue_msg_types.in xlat/nf_ulog_msg_types.in xlat/nfc_protocols.in xlat/nl_audit_types.in xlat/nl_crypto_types.in xlat/nl_netfilter_msg_types.in xlat/nl_netfilter_subsys_ids.in xlat/nl_route_types.in xlat/nl_selinux_types.in xlat/nl_sock_diag_types.in xlat/nl_xfrm_types.in xlat/nlmsgerr_attrs.in xlat/notifyflags.in xlat/nt_descriptor_types.in xlat/numa_node.in xlat/open_access_modes.in xlat/open_mode_flags.in xlat/open_resolve_flags.in xlat/open_tree_flags.in xlat/packet_diag_attrs.in xlat/packet_diag_info_flags.in xlat/packet_diag_show.in xlat/packet_mreq_type.in xlat/perf_attr_size.in xlat/perf_branch_sample_type.in xlat/perf_event_open_flags.in xlat/perf_event_read_format.in xlat/perf_event_sample_format.in xlat/perf_hw_cache_id.in xlat/perf_hw_cache_op_id.in xlat/perf_hw_cache_op_result_id.in xlat/perf_hw_id.in xlat/perf_ioctl_cmds.in xlat/perf_ioctl_flags.in xlat/perf_sw_ids.in xlat/perf_type_id.in xlat/personality_flags.in xlat/personality_types.in xlat/phonet_protocols.in xlat/pidfd_open_flags.in xlat/pkey_access.in xlat/pollflags.in xlat/pr_cap_ambient.in xlat/pr_dumpable.in xlat/pr_fp_mode.in xlat/pr_mce_kill.in xlat/pr_mce_kill_policy.in xlat/pr_pac_enabled_keys.in xlat/pr_pac_keys.in xlat/pr_sched_core_cmds.in xlat/pr_sched_core_pidtypes.in xlat/pr_set_mm.in xlat/pr_spec_cmds.in xlat/pr_spec_get_store_bypass_flags.in xlat/pr_spec_set_store_bypass_flags.in xlat/pr_sud_cmds.in xlat/pr_sve_vl_flags.in xlat/pr_tagged_addr_enable.in xlat/pr_tagged_addr_mte_tcf.in xlat/pr_tsc.in xlat/pr_unalign_flags.in xlat/prctl_options.in xlat/priorities.in xlat/ptp_extts_flags.in xlat/ptp_perout_flags.in xlat/ptrace_cmds.in xlat/ptrace_events.in xlat/ptrace_peeksiginfo_flags.in xlat/ptrace_setoptions_flags.in xlat/ptrace_syscall_info_op.in xlat/quota_formats.in xlat/quotacmds.in xlat/quotatypes.in xlat/random_ioctl_cmds.in xlat/rename_flags.in xlat/resource_flags.in xlat/resources.in xlat/riscv_flush_icache_flags.in xlat/route_nexthop_flags.in xlat/routing_flags.in xlat/routing_protocols.in xlat/routing_scopes.in xlat/routing_table_ids.in xlat/routing_types.in xlat/rtc_ioctl_cmds.in xlat/rtc_vl_flags.in xlat/rtnl_addr_attrs.in xlat/rtnl_addrlabel_attrs.in xlat/rtnl_dcb_attrs.in xlat/rtnl_ifla_af_spec_inet6_attrs.in xlat/rtnl_ifla_af_spec_inet_attrs.in xlat/rtnl_ifla_brport_attrs.in xlat/rtnl_ifla_events.in xlat/rtnl_ifla_info_attrs.in xlat/rtnl_ifla_info_data_bridge_attrs.in xlat/rtnl_ifla_info_data_tun_attrs.in xlat/rtnl_ifla_port_attrs.in xlat/rtnl_ifla_proto_down_reason_attrs.in xlat/rtnl_ifla_vf_port_attrs.in xlat/rtnl_ifla_xdp_attached_mode.in xlat/rtnl_ifla_xdp_attrs.in xlat/rtnl_link_attrs.in xlat/rtnl_mdb_attrs.in xlat/rtnl_mdba_mdb_attrs.in xlat/rtnl_mdba_mdb_eattr_attrs.in xlat/rtnl_mdba_mdb_entry_attrs.in xlat/rtnl_mdba_router_attrs.in xlat/rtnl_mdba_router_pattr_attrs.in xlat/rtnl_neigh_attrs.in xlat/rtnl_neightbl_attrs.in xlat/rtnl_neightbl_parms_attrs.in xlat/rtnl_netconf_attrs.in xlat/rtnl_nsid_attrs.in xlat/rtnl_route_attrs.in xlat/rtnl_rta_metrics_attrs.in xlat/rtnl_rule_attrs.in xlat/rtnl_tc_action_attrs.in xlat/rtnl_tc_attrs.in xlat/rtnl_tca_act_flags.in xlat/rtnl_tca_act_hw_stats.in xlat/rtnl_tca_stab_attrs.in xlat/rtnl_tca_stats_attrs.in xlat/rwf_flags.in xlat/s390_guarded_storage_commands.in xlat/s390_runtime_instr_commands.in xlat/s390_sthyi_function_codes.in xlat/sa_handler_values.in xlat/sched_flags.in xlat/schedulers.in xlat/scmvals.in xlat/scsi_sg_commands.in xlat/secbits.in xlat/seccomp_filter_flags.in xlat/seccomp_mode.in xlat/seccomp_ops.in xlat/seccomp_ret_action.in xlat/semctl_flags.in xlat/semop_flags.in xlat/setns_types.in xlat/setsock_ip_options.in xlat/setsock_ipv6_options.in xlat/setsock_options.in xlat/sfd_flags.in xlat/sg_io_dxfer_direction.in xlat/sg_io_flags.in xlat/sg_io_info.in xlat/sg_scsi_reset.in xlat/shm_flags.in xlat/shm_resource_flags.in xlat/shmctl_flags.in xlat/shutdown_modes.in xlat/sigact_flags.in xlat/sigaltstack_flags.in xlat/sigbus_codes.in xlat/sigchld_codes.in xlat/sigemt_codes.in xlat/sigev_value.in xlat/sigfpe_codes.in xlat/sigill_codes.in xlat/siginfo_codes.in xlat/sigpoll_codes.in xlat/sigprocmaskcmds.in xlat/sigprof_codes.in xlat/sigsegv_codes.in xlat/sigsys_codes.in xlat/sigtrap_codes.in xlat/skf_ad.in xlat/skf_off.in xlat/smc_decl_codes.in xlat/smc_diag_attrs.in xlat/smc_diag_extended_flags.in xlat/smc_diag_mode.in xlat/smc_link_group_roles.in xlat/smc_protocols.in xlat/smc_states.in xlat/snmp_icmp6_stats.in xlat/snmp_ip_stats.in xlat/sock_alg_options.in xlat/sock_ax25_options.in xlat/sock_bluetooth_options.in xlat/sock_caif_options.in xlat/sock_dccp_options.in xlat/sock_ip_options.in xlat/sock_ipv6_options.in xlat/sock_ipx_options.in xlat/sock_irda_options.in xlat/sock_iucv_options.in xlat/sock_kcm_options.in xlat/sock_llc_options.in xlat/sock_netlink_options.in xlat/sock_nfcllcp_options.in xlat/sock_options.in xlat/sock_packet_options.in xlat/sock_pnp_options.in xlat/sock_pppol2tp_options.in xlat/sock_raw_options.in xlat/sock_rds_options.in xlat/sock_rxrpc_options.in xlat/sock_sctp_options.in xlat/sock_shutdown_flags.in xlat/sock_tcp_options.in xlat/sock_tipc_options.in xlat/sock_tls_options.in xlat/sock_type_flags.in xlat/sock_udp_options.in xlat/sock_xdp_options.in xlat/socketcalls.in xlat/socketlayers.in xlat/socktypes.in xlat/sparc_kern_features.in xlat/splice_flags.in xlat/sram_alloc_flags.in xlat/statfs_flags.in xlat/statx_attrs.in xlat/statx_masks.in xlat/swap_flags.in xlat/sync_file_range_flags.in xlat/sysctl_kern.in xlat/sysctl_net.in xlat/sysctl_net_core.in xlat/sysctl_net_ipv4.in xlat/sysctl_net_ipv4_conf.in xlat/sysctl_net_ipv4_route.in xlat/sysctl_net_ipv6.in xlat/sysctl_net_ipv6_route.in xlat/sysctl_net_unix.in xlat/sysctl_root.in xlat/sysctl_vm.in xlat/syslog_action_type.in xlat/syslog_console_levels.in xlat/sysmips_operations.in xlat/tcflsh_options.in xlat/tcp_state_flags.in xlat/tcp_states.in xlat/tcxonc_options.in xlat/tee_ioctl_gen_caps.in xlat/tee_ioctl_impl_ids.in xlat/tee_ioctl_login_types.in xlat/tee_ioctl_max_arg_size.in xlat/tee_ioctl_optee_caps.in xlat/tee_ioctl_origins.in xlat/tee_ioctl_param_attr_types.in xlat/tee_ioctl_shm_flags.in xlat/timerfdflags.in xlat/tun_device_types.in xlat/ubi_data_types.in xlat/ubi_volume_flags.in xlat/ubi_volume_props.in xlat/ubi_volume_types.in xlat/uffd_api_features.in xlat/uffd_api_flags.in xlat/uffd_copy_flags.in xlat/uffd_flags.in xlat/uffd_register_ioctl_flags.in xlat/uffd_register_mode_flags.in xlat/uffd_zeropage_flags.in xlat/umount_flags.in xlat/unix_diag_attrs.in xlat/unix_diag_show.in xlat/unshare_flags.in xlat/uring_cqring_flags.in xlat/uring_enter_flags.in xlat/uring_op_flags.in xlat/uring_ops.in xlat/uring_register_opcodes.in xlat/uring_setup_features.in xlat/uring_setup_flags.in xlat/usagewho.in xlat/v4l2_buf_flags.in xlat/v4l2_buf_flags_ts_src.in xlat/v4l2_buf_flags_ts_type.in xlat/v4l2_buf_types.in xlat/v4l2_capture_modes.in xlat/v4l2_colorspaces.in xlat/v4l2_control_classes.in xlat/v4l2_control_flags.in xlat/v4l2_control_id_bases.in xlat/v4l2_control_ids.in xlat/v4l2_control_query_flags.in xlat/v4l2_control_types.in xlat/v4l2_device_capabilities_flags.in xlat/v4l2_fields.in xlat/v4l2_format_description_flags.in xlat/v4l2_frameinterval_types.in xlat/v4l2_framesize_types.in xlat/v4l2_input_types.in xlat/v4l2_memories.in xlat/v4l2_meta_fmts.in xlat/v4l2_pix_fmts.in xlat/v4l2_sdr_fmts.in xlat/v4l2_sliced_flags.in xlat/v4l2_streaming_capabilities.in xlat/v4l2_tuner_audmodes.in xlat/v4l2_tuner_capabilities.in xlat/v4l2_tuner_rxsubchanses.in xlat/v4l2_tuner_types.in xlat/v4l2_vbi_flags.in xlat/wait4_options.in xlat/waitid_types.in xlat/watchdog_ioctl_cmds.in xlat/whence_codes.in xlat/xattrflags.in xlat/xdp_flags.in xlat/xfs_dqblk_flags.in xlat/xfs_quota_flags.in -XLAT_HEADER_FILES = xlat/access_modes.h xlat/addrfams.h xlat/adjtimex_modes.h xlat/adjtimex_state.h xlat/adjtimex_status.h xlat/advise.h xlat/af_packet_types.h xlat/af_packet_versions.h xlat/aio_cmds.h xlat/aio_iocb_flags.h xlat/archvals.h xlat/arp_hardware_types.h xlat/at_flags.h xlat/at_statx_sync_types.h xlat/atomic_ops.h xlat/audit_arch.h xlat/ax25_protocols.h xlat/baud_options.h xlat/bdaddr_types.h xlat/blkpg_ops.h xlat/bluetooth_l2_cid.h xlat/bluetooth_l2_psm.h xlat/bootflags1.h xlat/bootflags2.h xlat/bootflags3.h xlat/bpf_attach_flags.h xlat/bpf_attach_type.h xlat/bpf_class.h xlat/bpf_commands.h xlat/bpf_file_mode_flags.h xlat/bpf_map_flags.h xlat/bpf_map_lookup_elem_flags.h xlat/bpf_map_types.h xlat/bpf_map_update_elem_flags.h xlat/bpf_miscop.h xlat/bpf_mode.h xlat/bpf_op_alu.h xlat/bpf_op_jmp.h xlat/bpf_prog_flags.h xlat/bpf_prog_types.h xlat/bpf_query_flags.h xlat/bpf_rval.h xlat/bpf_size.h xlat/bpf_src.h xlat/bpf_task_fd_type.h xlat/bsg_flags.h xlat/bsg_protocol.h xlat/bsg_subprotocol.h xlat/bt_protocols.h xlat/btrfs_balance_args.h xlat/btrfs_balance_ctl_cmds.h xlat/btrfs_balance_flags.h xlat/btrfs_balance_state.h xlat/btrfs_compress_types.h xlat/btrfs_cont_reading_from_srcdev_mode.h xlat/btrfs_defrag_flags.h xlat/btrfs_dev_replace_cmds.h xlat/btrfs_dev_replace_results.h xlat/btrfs_dev_replace_state.h xlat/btrfs_dev_stats_flags.h xlat/btrfs_dev_stats_values.h xlat/btrfs_features_compat.h xlat/btrfs_features_compat_ro.h xlat/btrfs_features_incompat.h xlat/btrfs_key_types.h xlat/btrfs_logical_ino_args_flags.h xlat/btrfs_qgroup_ctl_cmds.h xlat/btrfs_qgroup_inherit_flags.h xlat/btrfs_qgroup_limit_flags.h xlat/btrfs_qgroup_status_flags.h xlat/btrfs_scrub_flags.h xlat/btrfs_send_flags.h xlat/btrfs_snap_flags_v2.h xlat/btrfs_space_info_flags.h xlat/btrfs_tree_objectids.h xlat/cacheflush_flags.h xlat/cacheflush_scope.h xlat/caif_protocols.h xlat/can_protocols.h xlat/cap.h xlat/cap_mask0.h xlat/cap_mask1.h xlat/cap_version.h xlat/clockflags.h xlat/clocknames.h xlat/clone3_flags.h xlat/clone_flags.h xlat/close_range_flags.h xlat/cpuclocknames.h xlat/crypto_nl_attrs.h xlat/dcb_commands.h xlat/delete_module_flags.h xlat/dirent_types.h xlat/dm_flags.h xlat/ebpf_class.h xlat/ebpf_mode.h xlat/ebpf_op_alu.h xlat/ebpf_op_jmp.h xlat/ebpf_regs.h xlat/ebpf_size.h xlat/efd_flags.h xlat/elf_em.h xlat/epollctls.h xlat/epollevents.h xlat/epollflags.h xlat/ethernet_protocols.h xlat/evdev_abs.h xlat/evdev_autorepeat.h xlat/evdev_ev.h xlat/evdev_ff_status.h xlat/evdev_ff_types.h xlat/evdev_keycode.h xlat/evdev_leds.h xlat/evdev_misc.h xlat/evdev_mtslots.h xlat/evdev_prop.h xlat/evdev_relative_axes.h xlat/evdev_snd.h xlat/evdev_switch.h xlat/f_owner_types.h xlat/f_seals.h xlat/faccessat_flags.h xlat/falloc_flags.h xlat/fan_classes.h xlat/fan_event_flags.h xlat/fan_init_flags.h xlat/fan_mark_flags.h xlat/fcntlcmds.h xlat/fdflags.h xlat/fib_rule_actions.h xlat/fib_rule_flags.h xlat/fiemap_extent_flags.h xlat/fiemap_flags.h xlat/flockcmds.h xlat/fs_ioc_flags.h xlat/fs_xflags.h xlat/fsconfig_cmds.h xlat/fsmagic.h xlat/fsmount_attr_flags.h xlat/fsmount_flags.h xlat/fsopen_flags.h xlat/fspick_flags.h xlat/futexbitset.h xlat/futexops.h xlat/futexwakecmps.h xlat/futexwakeops.h xlat/get_mempolicy_flags.h xlat/getrandom_flags.h xlat/getsock_ip_options.h xlat/getsock_ipv6_options.h xlat/getsock_options.h xlat/gpio_event_flags.h xlat/gpio_handle_flags.h xlat/gpio_line_flags.h xlat/gpio_v2_line_attr_ids.h xlat/gpio_v2_line_flags.h xlat/hci_channels.h xlat/hdio_drive_cmds.h xlat/hw_breakpoint_len.h xlat/hw_breakpoint_type.h xlat/icmpfilterflags.h xlat/if_dqblk_valid.h xlat/if_dqinfo_flags.h xlat/if_dqinfo_valid.h xlat/ifaddrflags.h xlat/iffflags.h xlat/in6_addr_gen_mode.h xlat/inet6_devconf_indices.h xlat/inet6_if_flags.h xlat/inet_devconf_indices.h xlat/inet_diag_attrs.h xlat/inet_diag_bytecodes.h xlat/inet_diag_extended_flags.h xlat/inet_diag_req_attrs.h xlat/inet_protocols.h xlat/inotify_flags.h xlat/inotify_init_flags.h xlat/ioctl_dirs.h xlat/ioprio_class.h xlat/ioprio_who.h xlat/ip_cmsg_types.h xlat/ip_type_of_services.h xlat/ipc_msg_flags.h xlat/ipc_private.h xlat/ipccalls.h xlat/irda_protocols.h xlat/isdn_protocols.h xlat/itimer_which.h xlat/kcm_protocols.h xlat/kcmp_types.h xlat/kexec_arch_values.h xlat/kexec_file_load_flags.h xlat/kexec_load_flags.h xlat/key_perms.h xlat/key_reqkeys.h xlat/key_spec.h xlat/keyctl_caps0.h xlat/keyctl_caps1.h xlat/keyctl_commands.h xlat/keyctl_move_flags.h xlat/keyctl_pkey_ops.h xlat/kvm_cap.h xlat/kvm_cpuid_flags.h xlat/kvm_exit_reason.h xlat/kvm_mem_flags.h xlat/landlock_create_ruleset_flags.h xlat/landlock_rule_types.h xlat/landlock_ruleset_access_fs.h xlat/lockfcmds.h xlat/loop_crypt_type_options.h xlat/loop_flags_options.h xlat/lwtunnel_encap_types.h xlat/madvise_cmds.h xlat/mbind_flags.h xlat/mctl_sync.h xlat/mdb_flags.h xlat/mdb_states.h xlat/membarrier_cmds.h xlat/membarrier_flags.h xlat/memfd_create_flags.h xlat/memfd_secret_flags.h xlat/mlock_flags.h xlat/mlockall_flags.h xlat/mmap_flags.h xlat/mmap_prot.h xlat/modem_flags.h xlat/modetypes.h xlat/module_init_flags.h xlat/mount_attr_attr.h xlat/mount_attr_propagation.h xlat/mount_flags.h xlat/mount_setattr_flags.h xlat/move_mount_flags.h xlat/move_pages_flags.h xlat/mpol_mode_flags.h xlat/mpol_modes.h xlat/mq_attr_flags.h xlat/mremap_flags.h xlat/msg_flags.h xlat/msgctl_flags.h xlat/mtd_file_mode_options.h xlat/mtd_flags_options.h xlat/mtd_mode_options.h xlat/mtd_nandecc_options.h xlat/mtd_otp_options.h xlat/mtd_type_options.h xlat/multicast_router_types.h xlat/name_to_handle_at_flags.h xlat/nbd_ioctl_cmds.h xlat/nbd_ioctl_flags.h xlat/neighbor_cache_entry_flags.h xlat/neighbor_cache_entry_states.h xlat/netfilter_versions.h xlat/netlink_ack_flags.h xlat/netlink_delete_flags.h xlat/netlink_diag_attrs.h xlat/netlink_diag_show.h xlat/netlink_flags.h xlat/netlink_get_flags.h xlat/netlink_new_flags.h xlat/netlink_protocols.h xlat/netlink_sk_meminfo_indices.h xlat/netlink_socket_flags.h xlat/netlink_states.h xlat/netlink_types.h xlat/nf_acct_msg_types.h xlat/nf_cthelper_msg_types.h xlat/nf_ctnetlink_exp_msg_types.h xlat/nf_ctnetlink_msg_types.h xlat/nf_cttimeout_msg_types.h xlat/nf_hook_msg_types.h xlat/nf_ipset_msg_types.h xlat/nf_nft_compat_msg_types.h xlat/nf_nftables_msg_types.h xlat/nf_osf_msg_types.h xlat/nf_queue_msg_types.h xlat/nf_ulog_msg_types.h xlat/nfc_protocols.h xlat/nl_audit_types.h xlat/nl_crypto_types.h xlat/nl_netfilter_msg_types.h xlat/nl_netfilter_subsys_ids.h xlat/nl_route_types.h xlat/nl_selinux_types.h xlat/nl_sock_diag_types.h xlat/nl_xfrm_types.h xlat/nlmsgerr_attrs.h xlat/notifyflags.h xlat/nt_descriptor_types.h xlat/numa_node.h xlat/open_access_modes.h xlat/open_mode_flags.h xlat/open_resolve_flags.h xlat/open_tree_flags.h xlat/packet_diag_attrs.h xlat/packet_diag_info_flags.h xlat/packet_diag_show.h xlat/packet_mreq_type.h xlat/perf_attr_size.h xlat/perf_branch_sample_type.h xlat/perf_event_open_flags.h xlat/perf_event_read_format.h xlat/perf_event_sample_format.h xlat/perf_hw_cache_id.h xlat/perf_hw_cache_op_id.h xlat/perf_hw_cache_op_result_id.h xlat/perf_hw_id.h xlat/perf_ioctl_cmds.h xlat/perf_ioctl_flags.h xlat/perf_sw_ids.h xlat/perf_type_id.h xlat/personality_flags.h xlat/personality_types.h xlat/phonet_protocols.h xlat/pidfd_open_flags.h xlat/pkey_access.h xlat/pollflags.h xlat/pr_cap_ambient.h xlat/pr_dumpable.h xlat/pr_fp_mode.h xlat/pr_mce_kill.h xlat/pr_mce_kill_policy.h xlat/pr_pac_enabled_keys.h xlat/pr_pac_keys.h xlat/pr_sched_core_cmds.h xlat/pr_sched_core_pidtypes.h xlat/pr_set_mm.h xlat/pr_spec_cmds.h xlat/pr_spec_get_store_bypass_flags.h xlat/pr_spec_set_store_bypass_flags.h xlat/pr_sud_cmds.h xlat/pr_sve_vl_flags.h xlat/pr_tagged_addr_enable.h xlat/pr_tagged_addr_mte_tcf.h xlat/pr_tsc.h xlat/pr_unalign_flags.h xlat/prctl_options.h xlat/priorities.h xlat/ptp_extts_flags.h xlat/ptp_perout_flags.h xlat/ptrace_cmds.h xlat/ptrace_events.h xlat/ptrace_peeksiginfo_flags.h xlat/ptrace_setoptions_flags.h xlat/ptrace_syscall_info_op.h xlat/quota_formats.h xlat/quotacmds.h xlat/quotatypes.h xlat/random_ioctl_cmds.h xlat/rename_flags.h xlat/resource_flags.h xlat/resources.h xlat/riscv_flush_icache_flags.h xlat/route_nexthop_flags.h xlat/routing_flags.h xlat/routing_protocols.h xlat/routing_scopes.h xlat/routing_table_ids.h xlat/routing_types.h xlat/rtc_ioctl_cmds.h xlat/rtc_vl_flags.h xlat/rtnl_addr_attrs.h xlat/rtnl_addrlabel_attrs.h xlat/rtnl_dcb_attrs.h xlat/rtnl_ifla_af_spec_inet6_attrs.h xlat/rtnl_ifla_af_spec_inet_attrs.h xlat/rtnl_ifla_brport_attrs.h xlat/rtnl_ifla_events.h xlat/rtnl_ifla_info_attrs.h xlat/rtnl_ifla_info_data_bridge_attrs.h xlat/rtnl_ifla_info_data_tun_attrs.h xlat/rtnl_ifla_port_attrs.h xlat/rtnl_ifla_proto_down_reason_attrs.h xlat/rtnl_ifla_vf_port_attrs.h xlat/rtnl_ifla_xdp_attached_mode.h xlat/rtnl_ifla_xdp_attrs.h xlat/rtnl_link_attrs.h xlat/rtnl_mdb_attrs.h xlat/rtnl_mdba_mdb_attrs.h xlat/rtnl_mdba_mdb_eattr_attrs.h xlat/rtnl_mdba_mdb_entry_attrs.h xlat/rtnl_mdba_router_attrs.h xlat/rtnl_mdba_router_pattr_attrs.h xlat/rtnl_neigh_attrs.h xlat/rtnl_neightbl_attrs.h xlat/rtnl_neightbl_parms_attrs.h xlat/rtnl_netconf_attrs.h xlat/rtnl_nsid_attrs.h xlat/rtnl_route_attrs.h xlat/rtnl_rta_metrics_attrs.h xlat/rtnl_rule_attrs.h xlat/rtnl_tc_action_attrs.h xlat/rtnl_tc_attrs.h xlat/rtnl_tca_act_flags.h xlat/rtnl_tca_act_hw_stats.h xlat/rtnl_tca_stab_attrs.h xlat/rtnl_tca_stats_attrs.h xlat/rwf_flags.h xlat/s390_guarded_storage_commands.h xlat/s390_runtime_instr_commands.h xlat/s390_sthyi_function_codes.h xlat/sa_handler_values.h xlat/sched_flags.h xlat/schedulers.h xlat/scmvals.h xlat/scsi_sg_commands.h xlat/secbits.h xlat/seccomp_filter_flags.h xlat/seccomp_mode.h xlat/seccomp_ops.h xlat/seccomp_ret_action.h xlat/semctl_flags.h xlat/semop_flags.h xlat/setns_types.h xlat/setsock_ip_options.h xlat/setsock_ipv6_options.h xlat/setsock_options.h xlat/sfd_flags.h xlat/sg_io_dxfer_direction.h xlat/sg_io_flags.h xlat/sg_io_info.h xlat/sg_scsi_reset.h xlat/shm_flags.h xlat/shm_resource_flags.h xlat/shmctl_flags.h xlat/shutdown_modes.h xlat/sigact_flags.h xlat/sigaltstack_flags.h xlat/sigbus_codes.h xlat/sigchld_codes.h xlat/sigemt_codes.h xlat/sigev_value.h xlat/sigfpe_codes.h xlat/sigill_codes.h xlat/siginfo_codes.h xlat/sigpoll_codes.h xlat/sigprocmaskcmds.h xlat/sigprof_codes.h xlat/sigsegv_codes.h xlat/sigsys_codes.h xlat/sigtrap_codes.h xlat/skf_ad.h xlat/skf_off.h xlat/smc_decl_codes.h xlat/smc_diag_attrs.h xlat/smc_diag_extended_flags.h xlat/smc_diag_mode.h xlat/smc_link_group_roles.h xlat/smc_protocols.h xlat/smc_states.h xlat/snmp_icmp6_stats.h xlat/snmp_ip_stats.h xlat/sock_alg_options.h xlat/sock_ax25_options.h xlat/sock_bluetooth_options.h xlat/sock_caif_options.h xlat/sock_dccp_options.h xlat/sock_ip_options.h xlat/sock_ipv6_options.h xlat/sock_ipx_options.h xlat/sock_irda_options.h xlat/sock_iucv_options.h xlat/sock_kcm_options.h xlat/sock_llc_options.h xlat/sock_netlink_options.h xlat/sock_nfcllcp_options.h xlat/sock_options.h xlat/sock_packet_options.h xlat/sock_pnp_options.h xlat/sock_pppol2tp_options.h xlat/sock_raw_options.h xlat/sock_rds_options.h xlat/sock_rxrpc_options.h xlat/sock_sctp_options.h xlat/sock_shutdown_flags.h xlat/sock_tcp_options.h xlat/sock_tipc_options.h xlat/sock_tls_options.h xlat/sock_type_flags.h xlat/sock_udp_options.h xlat/sock_xdp_options.h xlat/socketcalls.h xlat/socketlayers.h xlat/socktypes.h xlat/sparc_kern_features.h xlat/splice_flags.h xlat/sram_alloc_flags.h xlat/statfs_flags.h xlat/statx_attrs.h xlat/statx_masks.h xlat/swap_flags.h xlat/sync_file_range_flags.h xlat/sysctl_kern.h xlat/sysctl_net.h xlat/sysctl_net_core.h xlat/sysctl_net_ipv4.h xlat/sysctl_net_ipv4_conf.h xlat/sysctl_net_ipv4_route.h xlat/sysctl_net_ipv6.h xlat/sysctl_net_ipv6_route.h xlat/sysctl_net_unix.h xlat/sysctl_root.h xlat/sysctl_vm.h xlat/syslog_action_type.h xlat/syslog_console_levels.h xlat/sysmips_operations.h xlat/tcflsh_options.h xlat/tcp_state_flags.h xlat/tcp_states.h xlat/tcxonc_options.h xlat/tee_ioctl_gen_caps.h xlat/tee_ioctl_impl_ids.h xlat/tee_ioctl_login_types.h xlat/tee_ioctl_max_arg_size.h xlat/tee_ioctl_optee_caps.h xlat/tee_ioctl_origins.h xlat/tee_ioctl_param_attr_types.h xlat/tee_ioctl_shm_flags.h xlat/timerfdflags.h xlat/tun_device_types.h xlat/ubi_data_types.h xlat/ubi_volume_flags.h xlat/ubi_volume_props.h xlat/ubi_volume_types.h xlat/uffd_api_features.h xlat/uffd_api_flags.h xlat/uffd_copy_flags.h xlat/uffd_flags.h xlat/uffd_register_ioctl_flags.h xlat/uffd_register_mode_flags.h xlat/uffd_zeropage_flags.h xlat/umount_flags.h xlat/unix_diag_attrs.h xlat/unix_diag_show.h xlat/unshare_flags.h xlat/uring_cqring_flags.h xlat/uring_enter_flags.h xlat/uring_op_flags.h xlat/uring_ops.h xlat/uring_register_opcodes.h xlat/uring_setup_features.h xlat/uring_setup_flags.h xlat/usagewho.h xlat/v4l2_buf_flags.h xlat/v4l2_buf_flags_ts_src.h xlat/v4l2_buf_flags_ts_type.h xlat/v4l2_buf_types.h xlat/v4l2_capture_modes.h xlat/v4l2_colorspaces.h xlat/v4l2_control_classes.h xlat/v4l2_control_flags.h xlat/v4l2_control_id_bases.h xlat/v4l2_control_ids.h xlat/v4l2_control_query_flags.h xlat/v4l2_control_types.h xlat/v4l2_device_capabilities_flags.h xlat/v4l2_fields.h xlat/v4l2_format_description_flags.h xlat/v4l2_frameinterval_types.h xlat/v4l2_framesize_types.h xlat/v4l2_input_types.h xlat/v4l2_memories.h xlat/v4l2_meta_fmts.h xlat/v4l2_pix_fmts.h xlat/v4l2_sdr_fmts.h xlat/v4l2_sliced_flags.h xlat/v4l2_streaming_capabilities.h xlat/v4l2_tuner_audmodes.h xlat/v4l2_tuner_capabilities.h xlat/v4l2_tuner_rxsubchanses.h xlat/v4l2_tuner_types.h xlat/v4l2_vbi_flags.h xlat/wait4_options.h xlat/waitid_types.h xlat/watchdog_ioctl_cmds.h xlat/whence_codes.h xlat/xattrflags.h xlat/xdp_flags.h xlat/xfs_dqblk_flags.h xlat/xfs_quota_flags.h +XLAT_INPUT_FILES = xlat/access_modes.in xlat/addrfams.in xlat/adjtimex_modes.in xlat/adjtimex_state.in xlat/adjtimex_status.in xlat/advise.in xlat/af_packet_types.in xlat/af_packet_versions.in xlat/aio_cmds.in xlat/aio_iocb_flags.in xlat/alg_sockaddr_flags.in xlat/alpha_trap_codes.in xlat/archvals.in xlat/arp_hardware_types.in xlat/at_flags.in xlat/at_statx_sync_types.in xlat/atomic_ops.in xlat/audit_arch.in xlat/ax25_protocols.in xlat/baud_options.in xlat/bdaddr_types.in xlat/blkpg_ops.in xlat/bluetooth_l2_cid.in xlat/bluetooth_l2_psm.in xlat/bootflags1.in xlat/bootflags2.in xlat/bootflags3.in xlat/bpf_attach_flags.in xlat/bpf_attach_type.in xlat/bpf_class.in xlat/bpf_commands.in xlat/bpf_file_mode_flags.in xlat/bpf_link_create_kprobe_multi_flags.in xlat/bpf_map_flags.in xlat/bpf_map_lookup_elem_flags.in xlat/bpf_map_types.in xlat/bpf_map_update_elem_flags.in xlat/bpf_miscop.in xlat/bpf_mode.in xlat/bpf_op_alu.in xlat/bpf_op_jmp.in xlat/bpf_prog_flags.in xlat/bpf_prog_types.in xlat/bpf_query_flags.in xlat/bpf_rval.in xlat/bpf_size.in xlat/bpf_src.in xlat/bpf_task_fd_type.in xlat/bpf_test_run_flags.in xlat/bsg_flags.in xlat/bsg_protocol.in xlat/bsg_subprotocol.in xlat/bt_protocols.in xlat/btrfs_balance_args.in xlat/btrfs_balance_ctl_cmds.in xlat/btrfs_balance_flags.in xlat/btrfs_balance_state.in xlat/btrfs_compress_types.in xlat/btrfs_cont_reading_from_srcdev_mode.in xlat/btrfs_csum_types.in xlat/btrfs_defrag_flags.in xlat/btrfs_dev_replace_cmds.in xlat/btrfs_dev_replace_results.in xlat/btrfs_dev_replace_state.in xlat/btrfs_dev_stats_flags.in xlat/btrfs_dev_stats_values.in xlat/btrfs_features_compat.in xlat/btrfs_features_compat_ro.in xlat/btrfs_features_incompat.in xlat/btrfs_fs_info_flags.in xlat/btrfs_key_types.in xlat/btrfs_logical_ino_args_flags.in xlat/btrfs_qgroup_ctl_cmds.in xlat/btrfs_qgroup_inherit_flags.in xlat/btrfs_qgroup_limit_flags.in xlat/btrfs_qgroup_status_flags.in xlat/btrfs_scrub_flags.in xlat/btrfs_send_flags.in xlat/btrfs_snap_flags_v2.in xlat/btrfs_space_info_flags.in xlat/btrfs_tree_objectids.in xlat/cacheflush_flags.in xlat/cacheflush_scope.in xlat/caif_protocols.in xlat/can_protocols.in xlat/cap.in xlat/cap_mask0.in xlat/cap_mask1.in xlat/cap_version.in xlat/clockflags.in xlat/clocknames.in xlat/clone3_flags.in xlat/clone_flags.in xlat/close_range_flags.in xlat/compat_ptrace_cmds.in xlat/counter_ioctl_component_types.in xlat/counter_ioctl_event_types.in xlat/counter_ioctl_scopes.in xlat/cpuclocknames.in xlat/crypto_nl_attrs.in xlat/dcb_commands.in xlat/delete_module_flags.in xlat/dirent_types.in xlat/dm_flags.in xlat/ebpf_class.in xlat/ebpf_mode.in xlat/ebpf_op_alu.in xlat/ebpf_op_jmp.in xlat/ebpf_regs.in xlat/ebpf_size.in xlat/efd_flags.in xlat/elf_em.in xlat/epollctls.in xlat/epollevents.in xlat/epollflags.in xlat/ethernet_protocols.in xlat/evdev_abs.in xlat/evdev_autorepeat.in xlat/evdev_ev.in xlat/evdev_ff_status.in xlat/evdev_ff_types.in xlat/evdev_keycode.in xlat/evdev_leds.in xlat/evdev_misc.in xlat/evdev_mtslots.in xlat/evdev_prop.in xlat/evdev_relative_axes.in xlat/evdev_snd.in xlat/evdev_switch.in xlat/f_owner_types.in xlat/f_seals.in xlat/faccessat_flags.in xlat/falloc_flags.in xlat/fan_classes.in xlat/fan_event_flags.in xlat/fan_init_flags.in xlat/fan_mark_flags.in xlat/fcntlcmds.in xlat/fdb_notify_flags.in xlat/fdflags.in xlat/fib_rule_actions.in xlat/fib_rule_flags.in xlat/fiemap_extent_flags.in xlat/fiemap_flags.in xlat/flockcmds.in xlat/fs_ioc_flags.in xlat/fs_xflags.in xlat/fsconfig_cmds.in xlat/fsmagic.in xlat/fsmount_attr_flags.in xlat/fsmount_flags.in xlat/fsopen_flags.in xlat/fspick_flags.in xlat/futex_waiter_flags.in xlat/futexbitset.in xlat/futexops.in xlat/futexwakecmps.in xlat/futexwakeops.in xlat/get_mempolicy_flags.in xlat/getrandom_flags.in xlat/getsock_ip_options.in xlat/getsock_ipv6_options.in xlat/getsock_options.in xlat/gpio_event_flags.in xlat/gpio_handle_flags.in xlat/gpio_line_flags.in xlat/gpio_v2_line_attr_ids.in xlat/gpio_v2_line_flags.in xlat/hci_channels.in xlat/hdio_busstates.in xlat/hdio_drive_cmds.in xlat/hdio_ide_nice.in xlat/hw_breakpoint_len.in xlat/hw_breakpoint_type.in xlat/icmp_filter_flags.in xlat/ieee802154_addr_types.in xlat/ieee802154_addrs.in xlat/ieee802154_pan_ids.in xlat/if_dqblk_valid.in xlat/if_dqinfo_flags.in xlat/if_dqinfo_valid.in xlat/ifaddrflags.in xlat/iffflags.in xlat/ifstats_af_spec_mpls_attrs.in xlat/ifstats_attr_flags.in xlat/ifstats_attrs.in xlat/ifstats_offload_attrs.in xlat/ifstats_xstats_bond_3ad_attrs.in xlat/ifstats_xstats_bond_attrs.in xlat/ifstats_xstats_bridge_attrs.in xlat/ifstats_xstats_bridge_mcast_indices.in xlat/ifstats_xstats_type_attrs.in xlat/in6_addr_gen_mode.in xlat/inet6_devconf_indices.in xlat/inet6_if_flags.in xlat/inet_devconf_indices.in xlat/inet_diag_attrs.in xlat/inet_diag_bpf_storage_attrs.in xlat/inet_diag_bpf_storages_attrs.in xlat/inet_diag_bytecodes.in xlat/inet_diag_extended_flags.in xlat/inet_diag_req_attrs.in xlat/inet_diag_shutdown_flags.in xlat/inet_diag_ulp_info_attrs.in xlat/inet_diag_ulp_info_mptcp_attrs.in xlat/inet_diag_ulp_info_tls_attrs.in xlat/inet_protocols.in xlat/inotify_flags.in xlat/inotify_init_flags.in xlat/ioctl_dirs.in xlat/ioprio_class.in xlat/ioprio_who.in xlat/ip_cmsg_types.in xlat/ip_type_of_services.in xlat/ipc_msg_flags.in xlat/ipc_private.in xlat/ipccalls.in xlat/irda_protocols.in xlat/isdn_protocols.in xlat/itimer_which.in xlat/kcm_protocols.in xlat/kcmp_types.in xlat/kd_default_led_flags.in xlat/kd_font_flags.in xlat/kd_font_ops.in xlat/kd_ioctl_cmds.in xlat/kd_kbd_modes.in xlat/kd_kbd_types.in xlat/kd_key_ascii_keys.in xlat/kd_key_brl_keys.in xlat/kd_key_cur_keys.in xlat/kd_key_dead_keys.in xlat/kd_key_fn_key_vals.in xlat/kd_key_fn_keys.in xlat/kd_key_lock_keys.in xlat/kd_key_pad_keys.in xlat/kd_key_shift_keys.in xlat/kd_key_slock_keys.in xlat/kd_key_spec_keys.in xlat/kd_key_tables.in xlat/kd_key_types.in xlat/kd_keymap_flags.in xlat/kd_led_flags.in xlat/kd_meta_vals.in xlat/kd_modes.in xlat/kexec_arch_values.in xlat/kexec_file_load_flags.in xlat/kexec_load_flags.in xlat/key_perms.in xlat/key_reqkeys.in xlat/key_spec.in xlat/keyctl_caps0.in xlat/keyctl_caps1.in xlat/keyctl_commands.in xlat/keyctl_move_flags.in xlat/keyctl_pkey_ops.in xlat/kvm_cap.in xlat/kvm_cpuid_flags.in xlat/kvm_exit_reason.in xlat/kvm_mem_flags.in xlat/landlock_create_ruleset_flags.in xlat/landlock_rule_types.in xlat/landlock_ruleset_access_fs.in xlat/lirc_features.in xlat/lirc_modes.in xlat/lockfcmds.in xlat/loop_crypt_type_options.in xlat/loop_flags_options.in xlat/lwtunnel_encap_types.in xlat/madvise_cmds.in xlat/mbind_flags.in xlat/mctl_sync.in xlat/mctp_addrs.in xlat/mctp_nets.in xlat/mdb_flags.in xlat/mdb_states.in xlat/membarrier_cmds.in xlat/membarrier_flags.in xlat/memfd_create_flags.in xlat/memfd_secret_flags.in xlat/mlock_flags.in xlat/mlockall_flags.in xlat/mmap_flags.in xlat/mmap_prot.in xlat/modem_flags.in xlat/modetypes.in xlat/module_init_flags.in xlat/mount_attr_attr.in xlat/mount_attr_propagation.in xlat/mount_flags.in xlat/mount_setattr_flags.in xlat/move_mount_flags.in xlat/move_pages_flags.in xlat/mpol_mode_flags.in xlat/mpol_modes.in xlat/mptcp_subflow_flags.in xlat/mq_attr_flags.in xlat/mremap_flags.in xlat/msg_flags.in xlat/msgctl_flags.in xlat/mtd_file_mode_options.in xlat/mtd_flags_options.in xlat/mtd_mode_options.in xlat/mtd_nandecc_options.in xlat/mtd_otp_options.in xlat/mtd_type_options.in xlat/multicast_router_types.in xlat/name_to_handle_at_flags.in xlat/nbd_ioctl_cmds.in xlat/nbd_ioctl_flags.in xlat/neighbor_cache_entry_ext_flags.in xlat/neighbor_cache_entry_flags.in xlat/neighbor_cache_entry_states.in xlat/netfilter_versions.in xlat/netlink_ack_flags.in xlat/netlink_delete_flags.in xlat/netlink_diag_attrs.in xlat/netlink_diag_show.in xlat/netlink_flags.in xlat/netlink_get_flags.in xlat/netlink_new_flags.in xlat/netlink_protocols.in xlat/netlink_sk_meminfo_indices.in xlat/netlink_socket_flags.in xlat/netlink_states.in xlat/netlink_types.in xlat/nf_acct_msg_types.in xlat/nf_cthelper_msg_types.in xlat/nf_ctnetlink_exp_msg_types.in xlat/nf_ctnetlink_msg_types.in xlat/nf_cttimeout_msg_types.in xlat/nf_hook_msg_types.in xlat/nf_ipset_msg_types.in xlat/nf_nft_compat_msg_types.in xlat/nf_nftables_msg_types.in xlat/nf_osf_msg_types.in xlat/nf_queue_msg_types.in xlat/nf_ulog_msg_types.in xlat/nfc_protocols.in xlat/nfc_saps.in xlat/nfc_sockaddr_protocols.in xlat/nl_audit_types.in xlat/nl_bridge_vlan_flags.in xlat/nl_crypto_types.in xlat/nl_netfilter_msg_types.in xlat/nl_netfilter_subsys_ids.in xlat/nl_route_types.in xlat/nl_selinux_types.in xlat/nl_sock_diag_types.in xlat/nl_xfrm_types.in xlat/nlmsgerr_attrs.in xlat/notifyflags.in xlat/nt_descriptor_types.in xlat/numa_node.in xlat/open_access_modes.in xlat/open_mode_flags.in xlat/open_resolve_flags.in xlat/open_tree_flags.in xlat/packet_diag_attrs.in xlat/packet_diag_info_flags.in xlat/packet_diag_show.in xlat/packet_mreq_type.in xlat/perf_attr_size.in xlat/perf_branch_sample_type.in xlat/perf_event_open_flags.in xlat/perf_event_read_format.in xlat/perf_event_sample_format.in xlat/perf_hw_cache_id.in xlat/perf_hw_cache_op_id.in xlat/perf_hw_cache_op_result_id.in xlat/perf_hw_id.in xlat/perf_ioctl_cmds.in xlat/perf_ioctl_flags.in xlat/perf_sw_ids.in xlat/perf_type_id.in xlat/personality_flags.in xlat/personality_types.in xlat/phonet_protocols.in xlat/pidfd_open_flags.in xlat/pkey_access.in xlat/pollflags.in xlat/pr_cap_ambient.in xlat/pr_dumpable.in xlat/pr_fp_mode.in xlat/pr_mce_kill.in xlat/pr_mce_kill_policy.in xlat/pr_pac_enabled_keys.in xlat/pr_pac_keys.in xlat/pr_sched_core_cmds.in xlat/pr_sched_core_pidtypes.in xlat/pr_set_mm.in xlat/pr_set_vma.in xlat/pr_sme_vl_flags.in xlat/pr_spec_cmds.in xlat/pr_spec_get_store_bypass_flags.in xlat/pr_spec_set_store_bypass_flags.in xlat/pr_sud_cmds.in xlat/pr_sve_vl_flags.in xlat/pr_tagged_addr_enable.in xlat/pr_tagged_addr_mte_tcf.in xlat/pr_tsc.in xlat/pr_unalign_flags.in xlat/prctl_options.in xlat/priorities.in xlat/ptp_extts_flags.in xlat/ptp_perout_flags.in xlat/ptp_pin_funcs.in xlat/ptrace_cmds.in xlat/ptrace_events.in xlat/ptrace_peeksiginfo_flags.in xlat/ptrace_setoptions_flags.in xlat/ptrace_syscall_info_op.in xlat/qipcrtr_nodes.in xlat/qipcrtr_ports.in xlat/quota_formats.in xlat/quotacmds.in xlat/quotatypes.in xlat/random_ioctl_cmds.in xlat/rename_flags.in xlat/resource_flags.in xlat/resources.in xlat/riscv_flush_icache_flags.in xlat/route_nexthop_flags.in xlat/routing_flags.in xlat/routing_protocols.in xlat/routing_scopes.in xlat/routing_table_ids.in xlat/routing_types.in xlat/rtc_backup_switch_modes.in xlat/rtc_feature_bits.in xlat/rtc_features.in xlat/rtc_ioctl_cmds.in xlat/rtc_params.in xlat/rtc_vl_flags.in xlat/rtnl_addr_attrs.in xlat/rtnl_addrlabel_attrs.in xlat/rtnl_dcb_attrs.in xlat/rtnl_family.in xlat/rtnl_ifla_af_spec_bridge_attrs.in xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in xlat/rtnl_ifla_af_spec_inet6_attrs.in xlat/rtnl_ifla_af_spec_inet_attrs.in xlat/rtnl_ifla_af_spec_mctp_attrs.in xlat/rtnl_ifla_br_boolopt_flags.in xlat/rtnl_ifla_br_boolopts.in xlat/rtnl_ifla_br_mcast_querier_attrs.in xlat/rtnl_ifla_bridge_flags.in xlat/rtnl_ifla_bridge_modes.in xlat/rtnl_ifla_brport_attrs.in xlat/rtnl_ifla_events.in xlat/rtnl_ifla_ext_filter_flags.in xlat/rtnl_ifla_info_attrs.in xlat/rtnl_ifla_info_data_bridge_attrs.in xlat/rtnl_ifla_info_data_tun_attrs.in xlat/rtnl_ifla_port_attrs.in xlat/rtnl_ifla_proto_down_reason_attrs.in xlat/rtnl_ifla_vf_info_attrs.in xlat/rtnl_ifla_vf_link_states.in xlat/rtnl_ifla_vf_port_attrs.in xlat/rtnl_ifla_vf_stats_attrs.in xlat/rtnl_ifla_vf_vlan_list_attrs.in xlat/rtnl_ifla_vfinfo_list_attrs.in xlat/rtnl_ifla_xdp_attached_mode.in xlat/rtnl_ifla_xdp_attrs.in xlat/rtnl_ip6mra_creport_attr.in xlat/rtnl_ip6mra_msg_types.in xlat/rtnl_ipmra_creport_attr.in xlat/rtnl_ipmra_msg_types.in xlat/rtnl_link_attrs.in xlat/rtnl_mdb_attrs.in xlat/rtnl_mdba_mdb_attrs.in xlat/rtnl_mdba_mdb_eattr_attrs.in xlat/rtnl_mdba_mdb_entry_attrs.in xlat/rtnl_mdba_router_attrs.in xlat/rtnl_mdba_router_pattr_attrs.in xlat/rtnl_neigh_attrs.in xlat/rtnl_neigh_fdb_ext_attrs.in xlat/rtnl_neightbl_attrs.in xlat/rtnl_neightbl_parms_attrs.in xlat/rtnl_netconf_attrs.in xlat/rtnl_nexthop_attrs.in xlat/rtnl_nexthop_grp_types.in xlat/rtnl_nha_res_bucket_attrs.in xlat/rtnl_nha_res_group_attrs.in xlat/rtnl_nsid_attrs.in xlat/rtnl_route_attrs.in xlat/rtnl_rta_metrics_attrs.in xlat/rtnl_rule_attrs.in xlat/rtnl_tc_action_attrs.in xlat/rtnl_tc_attrs.in xlat/rtnl_tca_act_flags.in xlat/rtnl_tca_act_hw_stats.in xlat/rtnl_tca_stab_attrs.in xlat/rtnl_tca_stats_attrs.in xlat/rwf_flags.in xlat/rxrpc_services.in xlat/s390_guarded_storage_commands.in xlat/s390_runtime_instr_commands.in xlat/s390_sthyi_function_codes.in xlat/sa_handler_values.in xlat/sched_flags.in xlat/schedulers.in xlat/scmvals.in xlat/scsi_sg_commands.in xlat/secbits.in xlat/seccomp_filter_flags.in xlat/seccomp_ioctl_addfd_flags.in xlat/seccomp_ioctl_resp_flags.in xlat/seccomp_mode.in xlat/seccomp_ops.in xlat/seccomp_ret_action.in xlat/semctl_flags.in xlat/semop_flags.in xlat/setns_types.in xlat/setsock_ip_options.in xlat/setsock_ipv6_options.in xlat/setsock_options.in xlat/sfd_flags.in xlat/sg_io_dxfer_direction.in xlat/sg_io_flags.in xlat/sg_io_info.in xlat/sg_scsi_reset.in xlat/shm_flags.in xlat/shm_resource_flags.in xlat/shmctl_flags.in xlat/shutdown_modes.in xlat/sigact_flags.in xlat/sigaltstack_flags.in xlat/sigbus_codes.in xlat/sigchld_codes.in xlat/sigemt_codes.in xlat/sigev_value.in xlat/sigfpe_codes.in xlat/sigill_codes.in xlat/siginfo_codes.in xlat/sigpoll_codes.in xlat/sigprocmaskcmds.in xlat/sigprof_codes.in xlat/sigsegv_codes.in xlat/sigsys_codes.in xlat/sigtrap_codes.in xlat/sigtrap_perf_flags.in xlat/skf_ad.in xlat/skf_off.in xlat/smc_decl_codes.in xlat/smc_diag_attrs.in xlat/smc_diag_extended_flags.in xlat/smc_diag_mode.in xlat/smc_link_group_roles.in xlat/smc_protocols.in xlat/smc_states.in xlat/snmp_icmp6_stats.in xlat/snmp_ip_stats.in xlat/sock_alg_options.in xlat/sock_ax25_options.in xlat/sock_bluetooth_options.in xlat/sock_caif_options.in xlat/sock_can_raw_options.in xlat/sock_dccp_options.in xlat/sock_ip_options.in xlat/sock_ipv6_options.in xlat/sock_ipx_options.in xlat/sock_irda_options.in xlat/sock_iucv_options.in xlat/sock_kcm_options.in xlat/sock_llc_options.in xlat/sock_netlink_options.in xlat/sock_nfcllcp_options.in xlat/sock_options.in xlat/sock_packet_options.in xlat/sock_pnp_options.in xlat/sock_pppol2tp_options.in xlat/sock_raw_options.in xlat/sock_rds_options.in xlat/sock_rxrpc_options.in xlat/sock_sctp_options.in xlat/sock_shutdown_flags.in xlat/sock_tcp_options.in xlat/sock_tipc_options.in xlat/sock_tls_options.in xlat/sock_type_flags.in xlat/sock_udp_options.in xlat/sock_vsock_options.in xlat/sock_xdp_options.in xlat/socketcalls.in xlat/socketlayers.in xlat/sockopt_txrehash_vals.in xlat/socktypes.in xlat/sparc_kern_features.in xlat/splice_flags.in xlat/sram_alloc_flags.in xlat/statfs_flags.in xlat/statx_attrs.in xlat/statx_masks.in xlat/swap_flags.in xlat/sync_file_range_flags.in xlat/syslog_action_type.in xlat/syslog_console_levels.in xlat/sysmips_operations.in xlat/tcflsh_options.in xlat/tcp_state_flags.in xlat/tcp_states.in xlat/tcxonc_options.in xlat/tee_ioctl_gen_caps.in xlat/tee_ioctl_impl_ids.in xlat/tee_ioctl_login_types.in xlat/tee_ioctl_max_arg_size.in xlat/tee_ioctl_optee_caps.in xlat/tee_ioctl_origins.in xlat/tee_ioctl_param_attr_types.in xlat/tee_ioctl_shm_flags.in xlat/term_cflags.in xlat/term_cflags_csize.in xlat/term_iflags.in xlat/term_lflags.in xlat/term_line_discs.in xlat/term_oflags.in xlat/term_oflags_bsdly.in xlat/term_oflags_crdly.in xlat/term_oflags_ffdly.in xlat/term_oflags_nldly.in xlat/term_oflags_tabdly.in xlat/term_oflags_vtdly.in xlat/termio_cc.in xlat/termios_cc.in xlat/timerfdflags.in xlat/tls_info_ciphers.in xlat/tls_info_configs.in xlat/tls_info_versions.in xlat/tun_device_types.in xlat/ubi_data_types.in xlat/ubi_volume_flags.in xlat/ubi_volume_props.in xlat/ubi_volume_types.in xlat/uffd_api_features.in xlat/uffd_api_flags.in xlat/uffd_copy_flags.in xlat/uffd_flags.in xlat/uffd_register_ioctl_flags.in xlat/uffd_register_mode_flags.in xlat/uffd_zeropage_flags.in xlat/umount_flags.in xlat/unix_diag_attrs.in xlat/unix_diag_show.in xlat/unshare_flags.in xlat/uring_enter_flags.in xlat/uring_files_update_fds.in xlat/uring_iowq_acct.in xlat/uring_op_flags.in xlat/uring_ops.in xlat/uring_register_opcodes.in xlat/uring_register_rsrc_flags.in xlat/uring_restriction_opcodes.in xlat/uring_setup_features.in xlat/uring_setup_flags.in xlat/uring_sqe_flags.in xlat/usagewho.in xlat/v4l2_buf_flags.in xlat/v4l2_buf_flags_ts_src.in xlat/v4l2_buf_flags_ts_type.in xlat/v4l2_buf_types.in xlat/v4l2_capture_modes.in xlat/v4l2_colorspaces.in xlat/v4l2_control_classes.in xlat/v4l2_control_flags.in xlat/v4l2_control_id_bases.in xlat/v4l2_control_ids.in xlat/v4l2_control_query_flags.in xlat/v4l2_control_types.in xlat/v4l2_device_capabilities_flags.in xlat/v4l2_fields.in xlat/v4l2_format_description_flags.in xlat/v4l2_frameinterval_types.in xlat/v4l2_framesize_types.in xlat/v4l2_input_types.in xlat/v4l2_memories.in xlat/v4l2_meta_fmts.in xlat/v4l2_pix_fmts.in xlat/v4l2_sdr_fmts.in xlat/v4l2_sliced_flags.in xlat/v4l2_streaming_capabilities.in xlat/v4l2_tuner_audmodes.in xlat/v4l2_tuner_capabilities.in xlat/v4l2_tuner_rxsubchanses.in xlat/v4l2_tuner_types.in xlat/v4l2_vbi_flags.in xlat/vsock_cids.in xlat/vsock_flags.in xlat/vsock_ports.in xlat/wait4_options.in xlat/waitid_types.in xlat/watchdog_ioctl_cmds.in xlat/whence_codes.in xlat/x86_xfeature_bits.in xlat/x86_xfeatures.in xlat/xattrflags.in xlat/xdp_flags.in xlat/xdp_sockaddr_flags.in xlat/xfs_dqblk_flags.in xlat/xfs_quota_flags.in +XLAT_HEADER_FILES = xlat/access_modes.h xlat/addrfams.h xlat/adjtimex_modes.h xlat/adjtimex_state.h xlat/adjtimex_status.h xlat/advise.h xlat/af_packet_types.h xlat/af_packet_versions.h xlat/aio_cmds.h xlat/aio_iocb_flags.h xlat/alg_sockaddr_flags.h xlat/alpha_trap_codes.h xlat/archvals.h xlat/arp_hardware_types.h xlat/at_flags.h xlat/at_statx_sync_types.h xlat/atomic_ops.h xlat/audit_arch.h xlat/ax25_protocols.h xlat/baud_options.h xlat/bdaddr_types.h xlat/blkpg_ops.h xlat/bluetooth_l2_cid.h xlat/bluetooth_l2_psm.h xlat/bootflags1.h xlat/bootflags2.h xlat/bootflags3.h xlat/bpf_attach_flags.h xlat/bpf_attach_type.h xlat/bpf_class.h xlat/bpf_commands.h xlat/bpf_file_mode_flags.h xlat/bpf_link_create_kprobe_multi_flags.h xlat/bpf_map_flags.h xlat/bpf_map_lookup_elem_flags.h xlat/bpf_map_types.h xlat/bpf_map_update_elem_flags.h xlat/bpf_miscop.h xlat/bpf_mode.h xlat/bpf_op_alu.h xlat/bpf_op_jmp.h xlat/bpf_prog_flags.h xlat/bpf_prog_types.h xlat/bpf_query_flags.h xlat/bpf_rval.h xlat/bpf_size.h xlat/bpf_src.h xlat/bpf_task_fd_type.h xlat/bpf_test_run_flags.h xlat/bsg_flags.h xlat/bsg_protocol.h xlat/bsg_subprotocol.h xlat/bt_protocols.h xlat/btrfs_balance_args.h xlat/btrfs_balance_ctl_cmds.h xlat/btrfs_balance_flags.h xlat/btrfs_balance_state.h xlat/btrfs_compress_types.h xlat/btrfs_cont_reading_from_srcdev_mode.h xlat/btrfs_csum_types.h xlat/btrfs_defrag_flags.h xlat/btrfs_dev_replace_cmds.h xlat/btrfs_dev_replace_results.h xlat/btrfs_dev_replace_state.h xlat/btrfs_dev_stats_flags.h xlat/btrfs_dev_stats_values.h xlat/btrfs_features_compat.h xlat/btrfs_features_compat_ro.h xlat/btrfs_features_incompat.h xlat/btrfs_fs_info_flags.h xlat/btrfs_key_types.h xlat/btrfs_logical_ino_args_flags.h xlat/btrfs_qgroup_ctl_cmds.h xlat/btrfs_qgroup_inherit_flags.h xlat/btrfs_qgroup_limit_flags.h xlat/btrfs_qgroup_status_flags.h xlat/btrfs_scrub_flags.h xlat/btrfs_send_flags.h xlat/btrfs_snap_flags_v2.h xlat/btrfs_space_info_flags.h xlat/btrfs_tree_objectids.h xlat/cacheflush_flags.h xlat/cacheflush_scope.h xlat/caif_protocols.h xlat/can_protocols.h xlat/cap.h xlat/cap_mask0.h xlat/cap_mask1.h xlat/cap_version.h xlat/clockflags.h xlat/clocknames.h xlat/clone3_flags.h xlat/clone_flags.h xlat/close_range_flags.h xlat/compat_ptrace_cmds.h xlat/counter_ioctl_component_types.h xlat/counter_ioctl_event_types.h xlat/counter_ioctl_scopes.h xlat/cpuclocknames.h xlat/crypto_nl_attrs.h xlat/dcb_commands.h xlat/delete_module_flags.h xlat/dirent_types.h xlat/dm_flags.h xlat/ebpf_class.h xlat/ebpf_mode.h xlat/ebpf_op_alu.h xlat/ebpf_op_jmp.h xlat/ebpf_regs.h xlat/ebpf_size.h xlat/efd_flags.h xlat/elf_em.h xlat/epollctls.h xlat/epollevents.h xlat/epollflags.h xlat/ethernet_protocols.h xlat/evdev_abs.h xlat/evdev_autorepeat.h xlat/evdev_ev.h xlat/evdev_ff_status.h xlat/evdev_ff_types.h xlat/evdev_keycode.h xlat/evdev_leds.h xlat/evdev_misc.h xlat/evdev_mtslots.h xlat/evdev_prop.h xlat/evdev_relative_axes.h xlat/evdev_snd.h xlat/evdev_switch.h xlat/f_owner_types.h xlat/f_seals.h xlat/faccessat_flags.h xlat/falloc_flags.h xlat/fan_classes.h xlat/fan_event_flags.h xlat/fan_init_flags.h xlat/fan_mark_flags.h xlat/fcntlcmds.h xlat/fdb_notify_flags.h xlat/fdflags.h xlat/fib_rule_actions.h xlat/fib_rule_flags.h xlat/fiemap_extent_flags.h xlat/fiemap_flags.h xlat/flockcmds.h xlat/fs_ioc_flags.h xlat/fs_xflags.h xlat/fsconfig_cmds.h xlat/fsmagic.h xlat/fsmount_attr_flags.h xlat/fsmount_flags.h xlat/fsopen_flags.h xlat/fspick_flags.h xlat/futex_waiter_flags.h xlat/futexbitset.h xlat/futexops.h xlat/futexwakecmps.h xlat/futexwakeops.h xlat/get_mempolicy_flags.h xlat/getrandom_flags.h xlat/getsock_ip_options.h xlat/getsock_ipv6_options.h xlat/getsock_options.h xlat/gpio_event_flags.h xlat/gpio_handle_flags.h xlat/gpio_line_flags.h xlat/gpio_v2_line_attr_ids.h xlat/gpio_v2_line_flags.h xlat/hci_channels.h xlat/hdio_busstates.h xlat/hdio_drive_cmds.h xlat/hdio_ide_nice.h xlat/hw_breakpoint_len.h xlat/hw_breakpoint_type.h xlat/icmp_filter_flags.h xlat/ieee802154_addr_types.h xlat/ieee802154_addrs.h xlat/ieee802154_pan_ids.h xlat/if_dqblk_valid.h xlat/if_dqinfo_flags.h xlat/if_dqinfo_valid.h xlat/ifaddrflags.h xlat/iffflags.h xlat/ifstats_af_spec_mpls_attrs.h xlat/ifstats_attr_flags.h xlat/ifstats_attrs.h xlat/ifstats_offload_attrs.h xlat/ifstats_xstats_bond_3ad_attrs.h xlat/ifstats_xstats_bond_attrs.h xlat/ifstats_xstats_bridge_attrs.h xlat/ifstats_xstats_bridge_mcast_indices.h xlat/ifstats_xstats_type_attrs.h xlat/in6_addr_gen_mode.h xlat/inet6_devconf_indices.h xlat/inet6_if_flags.h xlat/inet_devconf_indices.h xlat/inet_diag_attrs.h xlat/inet_diag_bpf_storage_attrs.h xlat/inet_diag_bpf_storages_attrs.h xlat/inet_diag_bytecodes.h xlat/inet_diag_extended_flags.h xlat/inet_diag_req_attrs.h xlat/inet_diag_shutdown_flags.h xlat/inet_diag_ulp_info_attrs.h xlat/inet_diag_ulp_info_mptcp_attrs.h xlat/inet_diag_ulp_info_tls_attrs.h xlat/inet_protocols.h xlat/inotify_flags.h xlat/inotify_init_flags.h xlat/ioctl_dirs.h xlat/ioprio_class.h xlat/ioprio_who.h xlat/ip_cmsg_types.h xlat/ip_type_of_services.h xlat/ipc_msg_flags.h xlat/ipc_private.h xlat/ipccalls.h xlat/irda_protocols.h xlat/isdn_protocols.h xlat/itimer_which.h xlat/kcm_protocols.h xlat/kcmp_types.h xlat/kd_default_led_flags.h xlat/kd_font_flags.h xlat/kd_font_ops.h xlat/kd_ioctl_cmds.h xlat/kd_kbd_modes.h xlat/kd_kbd_types.h xlat/kd_key_ascii_keys.h xlat/kd_key_brl_keys.h xlat/kd_key_cur_keys.h xlat/kd_key_dead_keys.h xlat/kd_key_fn_key_vals.h xlat/kd_key_fn_keys.h xlat/kd_key_lock_keys.h xlat/kd_key_pad_keys.h xlat/kd_key_shift_keys.h xlat/kd_key_slock_keys.h xlat/kd_key_spec_keys.h xlat/kd_key_tables.h xlat/kd_key_types.h xlat/kd_keymap_flags.h xlat/kd_led_flags.h xlat/kd_meta_vals.h xlat/kd_modes.h xlat/kexec_arch_values.h xlat/kexec_file_load_flags.h xlat/kexec_load_flags.h xlat/key_perms.h xlat/key_reqkeys.h xlat/key_spec.h xlat/keyctl_caps0.h xlat/keyctl_caps1.h xlat/keyctl_commands.h xlat/keyctl_move_flags.h xlat/keyctl_pkey_ops.h xlat/kvm_cap.h xlat/kvm_cpuid_flags.h xlat/kvm_exit_reason.h xlat/kvm_mem_flags.h xlat/landlock_create_ruleset_flags.h xlat/landlock_rule_types.h xlat/landlock_ruleset_access_fs.h xlat/lirc_features.h xlat/lirc_modes.h xlat/lockfcmds.h xlat/loop_crypt_type_options.h xlat/loop_flags_options.h xlat/lwtunnel_encap_types.h xlat/madvise_cmds.h xlat/mbind_flags.h xlat/mctl_sync.h xlat/mctp_addrs.h xlat/mctp_nets.h xlat/mdb_flags.h xlat/mdb_states.h xlat/membarrier_cmds.h xlat/membarrier_flags.h xlat/memfd_create_flags.h xlat/memfd_secret_flags.h xlat/mlock_flags.h xlat/mlockall_flags.h xlat/mmap_flags.h xlat/mmap_prot.h xlat/modem_flags.h xlat/modetypes.h xlat/module_init_flags.h xlat/mount_attr_attr.h xlat/mount_attr_propagation.h xlat/mount_flags.h xlat/mount_setattr_flags.h xlat/move_mount_flags.h xlat/move_pages_flags.h xlat/mpol_mode_flags.h xlat/mpol_modes.h xlat/mptcp_subflow_flags.h xlat/mq_attr_flags.h xlat/mremap_flags.h xlat/msg_flags.h xlat/msgctl_flags.h xlat/mtd_file_mode_options.h xlat/mtd_flags_options.h xlat/mtd_mode_options.h xlat/mtd_nandecc_options.h xlat/mtd_otp_options.h xlat/mtd_type_options.h xlat/multicast_router_types.h xlat/name_to_handle_at_flags.h xlat/nbd_ioctl_cmds.h xlat/nbd_ioctl_flags.h xlat/neighbor_cache_entry_ext_flags.h xlat/neighbor_cache_entry_flags.h xlat/neighbor_cache_entry_states.h xlat/netfilter_versions.h xlat/netlink_ack_flags.h xlat/netlink_delete_flags.h xlat/netlink_diag_attrs.h xlat/netlink_diag_show.h xlat/netlink_flags.h xlat/netlink_get_flags.h xlat/netlink_new_flags.h xlat/netlink_protocols.h xlat/netlink_sk_meminfo_indices.h xlat/netlink_socket_flags.h xlat/netlink_states.h xlat/netlink_types.h xlat/nf_acct_msg_types.h xlat/nf_cthelper_msg_types.h xlat/nf_ctnetlink_exp_msg_types.h xlat/nf_ctnetlink_msg_types.h xlat/nf_cttimeout_msg_types.h xlat/nf_hook_msg_types.h xlat/nf_ipset_msg_types.h xlat/nf_nft_compat_msg_types.h xlat/nf_nftables_msg_types.h xlat/nf_osf_msg_types.h xlat/nf_queue_msg_types.h xlat/nf_ulog_msg_types.h xlat/nfc_protocols.h xlat/nfc_saps.h xlat/nfc_sockaddr_protocols.h xlat/nl_audit_types.h xlat/nl_bridge_vlan_flags.h xlat/nl_crypto_types.h xlat/nl_netfilter_msg_types.h xlat/nl_netfilter_subsys_ids.h xlat/nl_route_types.h xlat/nl_selinux_types.h xlat/nl_sock_diag_types.h xlat/nl_xfrm_types.h xlat/nlmsgerr_attrs.h xlat/notifyflags.h xlat/nt_descriptor_types.h xlat/numa_node.h xlat/open_access_modes.h xlat/open_mode_flags.h xlat/open_resolve_flags.h xlat/open_tree_flags.h xlat/packet_diag_attrs.h xlat/packet_diag_info_flags.h xlat/packet_diag_show.h xlat/packet_mreq_type.h xlat/perf_attr_size.h xlat/perf_branch_sample_type.h xlat/perf_event_open_flags.h xlat/perf_event_read_format.h xlat/perf_event_sample_format.h xlat/perf_hw_cache_id.h xlat/perf_hw_cache_op_id.h xlat/perf_hw_cache_op_result_id.h xlat/perf_hw_id.h xlat/perf_ioctl_cmds.h xlat/perf_ioctl_flags.h xlat/perf_sw_ids.h xlat/perf_type_id.h xlat/personality_flags.h xlat/personality_types.h xlat/phonet_protocols.h xlat/pidfd_open_flags.h xlat/pkey_access.h xlat/pollflags.h xlat/pr_cap_ambient.h xlat/pr_dumpable.h xlat/pr_fp_mode.h xlat/pr_mce_kill.h xlat/pr_mce_kill_policy.h xlat/pr_pac_enabled_keys.h xlat/pr_pac_keys.h xlat/pr_sched_core_cmds.h xlat/pr_sched_core_pidtypes.h xlat/pr_set_mm.h xlat/pr_set_vma.h xlat/pr_sme_vl_flags.h xlat/pr_spec_cmds.h xlat/pr_spec_get_store_bypass_flags.h xlat/pr_spec_set_store_bypass_flags.h xlat/pr_sud_cmds.h xlat/pr_sve_vl_flags.h xlat/pr_tagged_addr_enable.h xlat/pr_tagged_addr_mte_tcf.h xlat/pr_tsc.h xlat/pr_unalign_flags.h xlat/prctl_options.h xlat/priorities.h xlat/ptp_extts_flags.h xlat/ptp_perout_flags.h xlat/ptp_pin_funcs.h xlat/ptrace_cmds.h xlat/ptrace_events.h xlat/ptrace_peeksiginfo_flags.h xlat/ptrace_setoptions_flags.h xlat/ptrace_syscall_info_op.h xlat/qipcrtr_nodes.h xlat/qipcrtr_ports.h xlat/quota_formats.h xlat/quotacmds.h xlat/quotatypes.h xlat/random_ioctl_cmds.h xlat/rename_flags.h xlat/resource_flags.h xlat/resources.h xlat/riscv_flush_icache_flags.h xlat/route_nexthop_flags.h xlat/routing_flags.h xlat/routing_protocols.h xlat/routing_scopes.h xlat/routing_table_ids.h xlat/routing_types.h xlat/rtc_backup_switch_modes.h xlat/rtc_feature_bits.h xlat/rtc_features.h xlat/rtc_ioctl_cmds.h xlat/rtc_params.h xlat/rtc_vl_flags.h xlat/rtnl_addr_attrs.h xlat/rtnl_addrlabel_attrs.h xlat/rtnl_dcb_attrs.h xlat/rtnl_family.h xlat/rtnl_ifla_af_spec_bridge_attrs.h xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h xlat/rtnl_ifla_af_spec_inet6_attrs.h xlat/rtnl_ifla_af_spec_inet_attrs.h xlat/rtnl_ifla_af_spec_mctp_attrs.h xlat/rtnl_ifla_br_boolopt_flags.h xlat/rtnl_ifla_br_boolopts.h xlat/rtnl_ifla_br_mcast_querier_attrs.h xlat/rtnl_ifla_bridge_flags.h xlat/rtnl_ifla_bridge_modes.h xlat/rtnl_ifla_brport_attrs.h xlat/rtnl_ifla_events.h xlat/rtnl_ifla_ext_filter_flags.h xlat/rtnl_ifla_info_attrs.h xlat/rtnl_ifla_info_data_bridge_attrs.h xlat/rtnl_ifla_info_data_tun_attrs.h xlat/rtnl_ifla_port_attrs.h xlat/rtnl_ifla_proto_down_reason_attrs.h xlat/rtnl_ifla_vf_info_attrs.h xlat/rtnl_ifla_vf_link_states.h xlat/rtnl_ifla_vf_port_attrs.h xlat/rtnl_ifla_vf_stats_attrs.h xlat/rtnl_ifla_vf_vlan_list_attrs.h xlat/rtnl_ifla_vfinfo_list_attrs.h xlat/rtnl_ifla_xdp_attached_mode.h xlat/rtnl_ifla_xdp_attrs.h xlat/rtnl_ip6mra_creport_attr.h xlat/rtnl_ip6mra_msg_types.h xlat/rtnl_ipmra_creport_attr.h xlat/rtnl_ipmra_msg_types.h xlat/rtnl_link_attrs.h xlat/rtnl_mdb_attrs.h xlat/rtnl_mdba_mdb_attrs.h xlat/rtnl_mdba_mdb_eattr_attrs.h xlat/rtnl_mdba_mdb_entry_attrs.h xlat/rtnl_mdba_router_attrs.h xlat/rtnl_mdba_router_pattr_attrs.h xlat/rtnl_neigh_attrs.h xlat/rtnl_neigh_fdb_ext_attrs.h xlat/rtnl_neightbl_attrs.h xlat/rtnl_neightbl_parms_attrs.h xlat/rtnl_netconf_attrs.h xlat/rtnl_nexthop_attrs.h xlat/rtnl_nexthop_grp_types.h xlat/rtnl_nha_res_bucket_attrs.h xlat/rtnl_nha_res_group_attrs.h xlat/rtnl_nsid_attrs.h xlat/rtnl_route_attrs.h xlat/rtnl_rta_metrics_attrs.h xlat/rtnl_rule_attrs.h xlat/rtnl_tc_action_attrs.h xlat/rtnl_tc_attrs.h xlat/rtnl_tca_act_flags.h xlat/rtnl_tca_act_hw_stats.h xlat/rtnl_tca_stab_attrs.h xlat/rtnl_tca_stats_attrs.h xlat/rwf_flags.h xlat/rxrpc_services.h xlat/s390_guarded_storage_commands.h xlat/s390_runtime_instr_commands.h xlat/s390_sthyi_function_codes.h xlat/sa_handler_values.h xlat/sched_flags.h xlat/schedulers.h xlat/scmvals.h xlat/scsi_sg_commands.h xlat/secbits.h xlat/seccomp_filter_flags.h xlat/seccomp_ioctl_addfd_flags.h xlat/seccomp_ioctl_resp_flags.h xlat/seccomp_mode.h xlat/seccomp_ops.h xlat/seccomp_ret_action.h xlat/semctl_flags.h xlat/semop_flags.h xlat/setns_types.h xlat/setsock_ip_options.h xlat/setsock_ipv6_options.h xlat/setsock_options.h xlat/sfd_flags.h xlat/sg_io_dxfer_direction.h xlat/sg_io_flags.h xlat/sg_io_info.h xlat/sg_scsi_reset.h xlat/shm_flags.h xlat/shm_resource_flags.h xlat/shmctl_flags.h xlat/shutdown_modes.h xlat/sigact_flags.h xlat/sigaltstack_flags.h xlat/sigbus_codes.h xlat/sigchld_codes.h xlat/sigemt_codes.h xlat/sigev_value.h xlat/sigfpe_codes.h xlat/sigill_codes.h xlat/siginfo_codes.h xlat/sigpoll_codes.h xlat/sigprocmaskcmds.h xlat/sigprof_codes.h xlat/sigsegv_codes.h xlat/sigsys_codes.h xlat/sigtrap_codes.h xlat/sigtrap_perf_flags.h xlat/skf_ad.h xlat/skf_off.h xlat/smc_decl_codes.h xlat/smc_diag_attrs.h xlat/smc_diag_extended_flags.h xlat/smc_diag_mode.h xlat/smc_link_group_roles.h xlat/smc_protocols.h xlat/smc_states.h xlat/snmp_icmp6_stats.h xlat/snmp_ip_stats.h xlat/sock_alg_options.h xlat/sock_ax25_options.h xlat/sock_bluetooth_options.h xlat/sock_caif_options.h xlat/sock_can_raw_options.h xlat/sock_dccp_options.h xlat/sock_ip_options.h xlat/sock_ipv6_options.h xlat/sock_ipx_options.h xlat/sock_irda_options.h xlat/sock_iucv_options.h xlat/sock_kcm_options.h xlat/sock_llc_options.h xlat/sock_netlink_options.h xlat/sock_nfcllcp_options.h xlat/sock_options.h xlat/sock_packet_options.h xlat/sock_pnp_options.h xlat/sock_pppol2tp_options.h xlat/sock_raw_options.h xlat/sock_rds_options.h xlat/sock_rxrpc_options.h xlat/sock_sctp_options.h xlat/sock_shutdown_flags.h xlat/sock_tcp_options.h xlat/sock_tipc_options.h xlat/sock_tls_options.h xlat/sock_type_flags.h xlat/sock_udp_options.h xlat/sock_vsock_options.h xlat/sock_xdp_options.h xlat/socketcalls.h xlat/socketlayers.h xlat/sockopt_txrehash_vals.h xlat/socktypes.h xlat/sparc_kern_features.h xlat/splice_flags.h xlat/sram_alloc_flags.h xlat/statfs_flags.h xlat/statx_attrs.h xlat/statx_masks.h xlat/swap_flags.h xlat/sync_file_range_flags.h xlat/syslog_action_type.h xlat/syslog_console_levels.h xlat/sysmips_operations.h xlat/tcflsh_options.h xlat/tcp_state_flags.h xlat/tcp_states.h xlat/tcxonc_options.h xlat/tee_ioctl_gen_caps.h xlat/tee_ioctl_impl_ids.h xlat/tee_ioctl_login_types.h xlat/tee_ioctl_max_arg_size.h xlat/tee_ioctl_optee_caps.h xlat/tee_ioctl_origins.h xlat/tee_ioctl_param_attr_types.h xlat/tee_ioctl_shm_flags.h xlat/term_cflags.h xlat/term_cflags_csize.h xlat/term_iflags.h xlat/term_lflags.h xlat/term_line_discs.h xlat/term_oflags.h xlat/term_oflags_bsdly.h xlat/term_oflags_crdly.h xlat/term_oflags_ffdly.h xlat/term_oflags_nldly.h xlat/term_oflags_tabdly.h xlat/term_oflags_vtdly.h xlat/termio_cc.h xlat/termios_cc.h xlat/timerfdflags.h xlat/tls_info_ciphers.h xlat/tls_info_configs.h xlat/tls_info_versions.h xlat/tun_device_types.h xlat/ubi_data_types.h xlat/ubi_volume_flags.h xlat/ubi_volume_props.h xlat/ubi_volume_types.h xlat/uffd_api_features.h xlat/uffd_api_flags.h xlat/uffd_copy_flags.h xlat/uffd_flags.h xlat/uffd_register_ioctl_flags.h xlat/uffd_register_mode_flags.h xlat/uffd_zeropage_flags.h xlat/umount_flags.h xlat/unix_diag_attrs.h xlat/unix_diag_show.h xlat/unshare_flags.h xlat/uring_enter_flags.h xlat/uring_files_update_fds.h xlat/uring_iowq_acct.h xlat/uring_op_flags.h xlat/uring_ops.h xlat/uring_register_opcodes.h xlat/uring_register_rsrc_flags.h xlat/uring_restriction_opcodes.h xlat/uring_setup_features.h xlat/uring_setup_flags.h xlat/uring_sqe_flags.h xlat/usagewho.h xlat/v4l2_buf_flags.h xlat/v4l2_buf_flags_ts_src.h xlat/v4l2_buf_flags_ts_type.h xlat/v4l2_buf_types.h xlat/v4l2_capture_modes.h xlat/v4l2_colorspaces.h xlat/v4l2_control_classes.h xlat/v4l2_control_flags.h xlat/v4l2_control_id_bases.h xlat/v4l2_control_ids.h xlat/v4l2_control_query_flags.h xlat/v4l2_control_types.h xlat/v4l2_device_capabilities_flags.h xlat/v4l2_fields.h xlat/v4l2_format_description_flags.h xlat/v4l2_frameinterval_types.h xlat/v4l2_framesize_types.h xlat/v4l2_input_types.h xlat/v4l2_memories.h xlat/v4l2_meta_fmts.h xlat/v4l2_pix_fmts.h xlat/v4l2_sdr_fmts.h xlat/v4l2_sliced_flags.h xlat/v4l2_streaming_capabilities.h xlat/v4l2_tuner_audmodes.h xlat/v4l2_tuner_capabilities.h xlat/v4l2_tuner_rxsubchanses.h xlat/v4l2_tuner_types.h xlat/v4l2_vbi_flags.h xlat/vsock_cids.h xlat/vsock_flags.h xlat/vsock_ports.h xlat/wait4_options.h xlat/waitid_types.h xlat/watchdog_ioctl_cmds.h xlat/whence_codes.h xlat/x86_xfeature_bits.h xlat/x86_xfeatures.h xlat/xattrflags.h xlat/xdp_flags.h xlat/xdp_sockaddr_flags.h xlat/xfs_dqblk_flags.h xlat/xfs_quota_flags.h $(top_srcdir)/src/xlat/access_modes.h: $(top_srcdir)/src/xlat/access_modes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/addrfams.h: $(top_srcdir)/src/xlat/addrfams.in $(top_srcdir)/src/xlat/gen.sh @@ -20,6 +20,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/aio_iocb_flags.h: $(top_srcdir)/src/xlat/aio_iocb_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/alg_sockaddr_flags.h: $(top_srcdir)/src/xlat/alg_sockaddr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/alpha_trap_codes.h: $(top_srcdir)/src/xlat/alpha_trap_codes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/archvals.h: $(top_srcdir)/src/xlat/archvals.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/arp_hardware_types.h: $(top_srcdir)/src/xlat/arp_hardware_types.in $(top_srcdir)/src/xlat/gen.sh @@ -60,6 +64,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_file_mode_flags.h: $(top_srcdir)/src/xlat/bpf_file_mode_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/bpf_link_create_kprobe_multi_flags.h: $(top_srcdir)/src/xlat/bpf_link_create_kprobe_multi_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_map_flags.h: $(top_srcdir)/src/xlat/bpf_map_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_map_lookup_elem_flags.h: $(top_srcdir)/src/xlat/bpf_map_lookup_elem_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -90,6 +96,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bpf_task_fd_type.h: $(top_srcdir)/src/xlat/bpf_task_fd_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/bpf_test_run_flags.h: $(top_srcdir)/src/xlat/bpf_test_run_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bsg_flags.h: $(top_srcdir)/src/xlat/bsg_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/bsg_protocol.h: $(top_srcdir)/src/xlat/bsg_protocol.in $(top_srcdir)/src/xlat/gen.sh @@ -110,6 +118,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_cont_reading_from_srcdev_mode.h: $(top_srcdir)/src/xlat/btrfs_cont_reading_from_srcdev_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/btrfs_csum_types.h: $(top_srcdir)/src/xlat/btrfs_csum_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_defrag_flags.h: $(top_srcdir)/src/xlat/btrfs_defrag_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_dev_replace_cmds.h: $(top_srcdir)/src/xlat/btrfs_dev_replace_cmds.in $(top_srcdir)/src/xlat/gen.sh @@ -128,6 +138,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_features_incompat.h: $(top_srcdir)/src/xlat/btrfs_features_incompat.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/btrfs_fs_info_flags.h: $(top_srcdir)/src/xlat/btrfs_fs_info_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_key_types.h: $(top_srcdir)/src/xlat/btrfs_key_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/btrfs_logical_ino_args_flags.h: $(top_srcdir)/src/xlat/btrfs_logical_ino_args_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -176,6 +188,14 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/close_range_flags.h: $(top_srcdir)/src/xlat/close_range_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/compat_ptrace_cmds.h: $(top_srcdir)/src/xlat/compat_ptrace_cmds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_component_types.h: $(top_srcdir)/src/xlat/counter_ioctl_component_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_event_types.h: $(top_srcdir)/src/xlat/counter_ioctl_event_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/counter_ioctl_scopes.h: $(top_srcdir)/src/xlat/counter_ioctl_scopes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/cpuclocknames.h: $(top_srcdir)/src/xlat/cpuclocknames.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/crypto_nl_attrs.h: $(top_srcdir)/src/xlat/crypto_nl_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -256,6 +276,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fcntlcmds.h: $(top_srcdir)/src/xlat/fcntlcmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/fdb_notify_flags.h: $(top_srcdir)/src/xlat/fdb_notify_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fdflags.h: $(top_srcdir)/src/xlat/fdflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fib_rule_actions.h: $(top_srcdir)/src/xlat/fib_rule_actions.in $(top_srcdir)/src/xlat/gen.sh @@ -284,6 +306,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/fspick_flags.h: $(top_srcdir)/src/xlat/fspick_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/futex_waiter_flags.h: $(top_srcdir)/src/xlat/futex_waiter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/futexbitset.h: $(top_srcdir)/src/xlat/futexbitset.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/futexops.h: $(top_srcdir)/src/xlat/futexops.in $(top_srcdir)/src/xlat/gen.sh @@ -314,13 +338,23 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hci_channels.h: $(top_srcdir)/src/xlat/hci_channels.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/hdio_busstates.h: $(top_srcdir)/src/xlat/hdio_busstates.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hdio_drive_cmds.h: $(top_srcdir)/src/xlat/hdio_drive_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/hdio_ide_nice.h: $(top_srcdir)/src/xlat/hdio_ide_nice.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hw_breakpoint_len.h: $(top_srcdir)/src/xlat/hw_breakpoint_len.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/hw_breakpoint_type.h: $(top_srcdir)/src/xlat/hw_breakpoint_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/icmpfilterflags.h: $(top_srcdir)/src/xlat/icmpfilterflags.in $(top_srcdir)/src/xlat/gen.sh +$(top_srcdir)/src/xlat/icmp_filter_flags.h: $(top_srcdir)/src/xlat/icmp_filter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_addr_types.h: $(top_srcdir)/src/xlat/ieee802154_addr_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_addrs.h: $(top_srcdir)/src/xlat/ieee802154_addrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ieee802154_pan_ids.h: $(top_srcdir)/src/xlat/ieee802154_pan_ids.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/if_dqblk_valid.h: $(top_srcdir)/src/xlat/if_dqblk_valid.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ @@ -332,6 +366,24 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/iffflags.h: $(top_srcdir)/src/xlat/iffflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_af_spec_mpls_attrs.h: $(top_srcdir)/src/xlat/ifstats_af_spec_mpls_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_attr_flags.h: $(top_srcdir)/src/xlat/ifstats_attr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_attrs.h: $(top_srcdir)/src/xlat/ifstats_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_offload_attrs.h: $(top_srcdir)/src/xlat/ifstats_offload_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bond_3ad_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bond_3ad_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bond_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bond_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bridge_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_bridge_mcast_indices.h: $(top_srcdir)/src/xlat/ifstats_xstats_bridge_mcast_indices.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ifstats_xstats_type_attrs.h: $(top_srcdir)/src/xlat/ifstats_xstats_type_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/in6_addr_gen_mode.h: $(top_srcdir)/src/xlat/in6_addr_gen_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet6_devconf_indices.h: $(top_srcdir)/src/xlat/inet6_devconf_indices.in $(top_srcdir)/src/xlat/gen.sh @@ -342,12 +394,24 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_attrs.h: $(top_srcdir)/src/xlat/inet_diag_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_bpf_storage_attrs.h: $(top_srcdir)/src/xlat/inet_diag_bpf_storage_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_bpf_storages_attrs.h: $(top_srcdir)/src/xlat/inet_diag_bpf_storages_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_bytecodes.h: $(top_srcdir)/src/xlat/inet_diag_bytecodes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_extended_flags.h: $(top_srcdir)/src/xlat/inet_diag_extended_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_diag_req_attrs.h: $(top_srcdir)/src/xlat/inet_diag_req_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_shutdown_flags.h: $(top_srcdir)/src/xlat/inet_diag_shutdown_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_mptcp_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_mptcp_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/inet_diag_ulp_info_tls_attrs.h: $(top_srcdir)/src/xlat/inet_diag_ulp_info_tls_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inet_protocols.h: $(top_srcdir)/src/xlat/inet_protocols.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/inotify_flags.h: $(top_srcdir)/src/xlat/inotify_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -380,6 +444,52 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kcmp_types.h: $(top_srcdir)/src/xlat/kcmp_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_default_led_flags.h: $(top_srcdir)/src/xlat/kd_default_led_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_font_flags.h: $(top_srcdir)/src/xlat/kd_font_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_font_ops.h: $(top_srcdir)/src/xlat/kd_font_ops.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_ioctl_cmds.h: $(top_srcdir)/src/xlat/kd_ioctl_cmds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_kbd_modes.h: $(top_srcdir)/src/xlat/kd_kbd_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_kbd_types.h: $(top_srcdir)/src/xlat/kd_kbd_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_ascii_keys.h: $(top_srcdir)/src/xlat/kd_key_ascii_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_brl_keys.h: $(top_srcdir)/src/xlat/kd_key_brl_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_cur_keys.h: $(top_srcdir)/src/xlat/kd_key_cur_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_dead_keys.h: $(top_srcdir)/src/xlat/kd_key_dead_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_fn_key_vals.h: $(top_srcdir)/src/xlat/kd_key_fn_key_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_fn_keys.h: $(top_srcdir)/src/xlat/kd_key_fn_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_lock_keys.h: $(top_srcdir)/src/xlat/kd_key_lock_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_pad_keys.h: $(top_srcdir)/src/xlat/kd_key_pad_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_shift_keys.h: $(top_srcdir)/src/xlat/kd_key_shift_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_slock_keys.h: $(top_srcdir)/src/xlat/kd_key_slock_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_spec_keys.h: $(top_srcdir)/src/xlat/kd_key_spec_keys.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_tables.h: $(top_srcdir)/src/xlat/kd_key_tables.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_key_types.h: $(top_srcdir)/src/xlat/kd_key_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_keymap_flags.h: $(top_srcdir)/src/xlat/kd_keymap_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_led_flags.h: $(top_srcdir)/src/xlat/kd_led_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_meta_vals.h: $(top_srcdir)/src/xlat/kd_meta_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/kd_modes.h: $(top_srcdir)/src/xlat/kd_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kexec_arch_values.h: $(top_srcdir)/src/xlat/kexec_arch_values.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/kexec_file_load_flags.h: $(top_srcdir)/src/xlat/kexec_file_load_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -416,6 +526,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/landlock_ruleset_access_fs.h: $(top_srcdir)/src/xlat/landlock_ruleset_access_fs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/lirc_features.h: $(top_srcdir)/src/xlat/lirc_features.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/lirc_modes.h: $(top_srcdir)/src/xlat/lirc_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/lockfcmds.h: $(top_srcdir)/src/xlat/lockfcmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/loop_crypt_type_options.h: $(top_srcdir)/src/xlat/loop_crypt_type_options.in $(top_srcdir)/src/xlat/gen.sh @@ -430,6 +544,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mctl_sync.h: $(top_srcdir)/src/xlat/mctl_sync.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mctp_addrs.h: $(top_srcdir)/src/xlat/mctp_addrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mctp_nets.h: $(top_srcdir)/src/xlat/mctp_nets.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mdb_flags.h: $(top_srcdir)/src/xlat/mdb_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mdb_states.h: $(top_srcdir)/src/xlat/mdb_states.in $(top_srcdir)/src/xlat/gen.sh @@ -472,6 +590,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mpol_modes.h: $(top_srcdir)/src/xlat/mpol_modes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/mptcp_subflow_flags.h: $(top_srcdir)/src/xlat/mptcp_subflow_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mq_attr_flags.h: $(top_srcdir)/src/xlat/mq_attr_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/mremap_flags.h: $(top_srcdir)/src/xlat/mremap_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -500,6 +620,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nbd_ioctl_flags.h: $(top_srcdir)/src/xlat/nbd_ioctl_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/neighbor_cache_entry_ext_flags.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_ext_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/neighbor_cache_entry_flags.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/neighbor_cache_entry_states.h: $(top_srcdir)/src/xlat/neighbor_cache_entry_states.in $(top_srcdir)/src/xlat/gen.sh @@ -556,8 +678,14 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nfc_protocols.h: $(top_srcdir)/src/xlat/nfc_protocols.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nfc_saps.h: $(top_srcdir)/src/xlat/nfc_saps.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nfc_sockaddr_protocols.h: $(top_srcdir)/src/xlat/nfc_sockaddr_protocols.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_audit_types.h: $(top_srcdir)/src/xlat/nl_audit_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/nl_bridge_vlan_flags.h: $(top_srcdir)/src/xlat/nl_bridge_vlan_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_crypto_types.h: $(top_srcdir)/src/xlat/nl_crypto_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/nl_netfilter_msg_types.h: $(top_srcdir)/src/xlat/nl_netfilter_msg_types.in $(top_srcdir)/src/xlat/gen.sh @@ -654,6 +782,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_set_mm.h: $(top_srcdir)/src/xlat/pr_set_mm.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/pr_set_vma.h: $(top_srcdir)/src/xlat/pr_set_vma.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/pr_sme_vl_flags.h: $(top_srcdir)/src/xlat/pr_sme_vl_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_spec_cmds.h: $(top_srcdir)/src/xlat/pr_spec_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/pr_spec_get_store_bypass_flags.h: $(top_srcdir)/src/xlat/pr_spec_get_store_bypass_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -680,6 +812,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptp_perout_flags.h: $(top_srcdir)/src/xlat/ptp_perout_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/ptp_pin_funcs.h: $(top_srcdir)/src/xlat/ptp_pin_funcs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_cmds.h: $(top_srcdir)/src/xlat/ptrace_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_events.h: $(top_srcdir)/src/xlat/ptrace_events.in $(top_srcdir)/src/xlat/gen.sh @@ -690,6 +824,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ptrace_syscall_info_op.h: $(top_srcdir)/src/xlat/ptrace_syscall_info_op.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/qipcrtr_nodes.h: $(top_srcdir)/src/xlat/qipcrtr_nodes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/qipcrtr_ports.h: $(top_srcdir)/src/xlat/qipcrtr_ports.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/quota_formats.h: $(top_srcdir)/src/xlat/quota_formats.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/quotacmds.h: $(top_srcdir)/src/xlat/quotacmds.in $(top_srcdir)/src/xlat/gen.sh @@ -718,8 +856,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/routing_types.h: $(top_srcdir)/src/xlat/routing_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_backup_switch_modes.h: $(top_srcdir)/src/xlat/rtc_backup_switch_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_feature_bits.h: $(top_srcdir)/src/xlat/rtc_feature_bits.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_features.h: $(top_srcdir)/src/xlat/rtc_features.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtc_ioctl_cmds.h: $(top_srcdir)/src/xlat/rtc_ioctl_cmds.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtc_params.h: $(top_srcdir)/src/xlat/rtc_params.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtc_vl_flags.h: $(top_srcdir)/src/xlat/rtc_vl_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_addr_attrs.h: $(top_srcdir)/src/xlat/rtnl_addr_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -728,14 +874,34 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_dcb_attrs.h: $(top_srcdir)/src/xlat/rtnl_dcb_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_family.h: $(top_srcdir)/src/xlat/rtnl_family.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet6_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet6_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_inet_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_af_spec_mctp_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_af_spec_mctp_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_boolopt_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_boolopt_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_boolopts.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_boolopts.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_br_mcast_querier_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_br_mcast_querier_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_bridge_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_bridge_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_bridge_modes.h: $(top_srcdir)/src/xlat/rtnl_ifla_bridge_modes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_brport_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_brport_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_events.h: $(top_srcdir)/src/xlat/rtnl_ifla_events.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_ext_filter_flags.h: $(top_srcdir)/src/xlat/rtnl_ifla_ext_filter_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_info_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_info_data_bridge_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_info_data_bridge_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -746,12 +912,30 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_proto_down_reason_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_proto_down_reason_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_info_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_info_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_link_states.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_link_states.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_vf_port_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_port_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_stats_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_stats_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vf_vlan_list_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vf_vlan_list_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ifla_vfinfo_list_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_vfinfo_list_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attached_mode.h: $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attached_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attrs.h: $(top_srcdir)/src/xlat/rtnl_ifla_xdp_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ip6mra_creport_attr.h: $(top_srcdir)/src/xlat/rtnl_ip6mra_creport_attr.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ip6mra_msg_types.h: $(top_srcdir)/src/xlat/rtnl_ip6mra_msg_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ipmra_creport_attr.h: $(top_srcdir)/src/xlat/rtnl_ipmra_creport_attr.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_ipmra_msg_types.h: $(top_srcdir)/src/xlat/rtnl_ipmra_msg_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_link_attrs.h: $(top_srcdir)/src/xlat/rtnl_link_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_mdb_attrs.h: $(top_srcdir)/src/xlat/rtnl_mdb_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -768,12 +952,22 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neigh_attrs.h: $(top_srcdir)/src/xlat/rtnl_neigh_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.h: $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neightbl_attrs.h: $(top_srcdir)/src/xlat/rtnl_neightbl_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_neightbl_parms_attrs.h: $(top_srcdir)/src/xlat/rtnl_neightbl_parms_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_netconf_attrs.h: $(top_srcdir)/src/xlat/rtnl_netconf_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nexthop_attrs.h: $(top_srcdir)/src/xlat/rtnl_nexthop_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nexthop_grp_types.h: $(top_srcdir)/src/xlat/rtnl_nexthop_grp_types.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nha_res_bucket_attrs.h: $(top_srcdir)/src/xlat/rtnl_nha_res_bucket_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rtnl_nha_res_group_attrs.h: $(top_srcdir)/src/xlat/rtnl_nha_res_group_attrs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_nsid_attrs.h: $(top_srcdir)/src/xlat/rtnl_nsid_attrs.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rtnl_route_attrs.h: $(top_srcdir)/src/xlat/rtnl_route_attrs.in $(top_srcdir)/src/xlat/gen.sh @@ -796,6 +990,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/rwf_flags.h: $(top_srcdir)/src/xlat/rwf_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/rxrpc_services.h: $(top_srcdir)/src/xlat/rxrpc_services.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/s390_guarded_storage_commands.h: $(top_srcdir)/src/xlat/s390_guarded_storage_commands.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/s390_runtime_instr_commands.h: $(top_srcdir)/src/xlat/s390_runtime_instr_commands.in $(top_srcdir)/src/xlat/gen.sh @@ -816,6 +1012,10 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_filter_flags.h: $(top_srcdir)/src/xlat/seccomp_filter_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/seccomp_ioctl_addfd_flags.h: $(top_srcdir)/src/xlat/seccomp_ioctl_addfd_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/seccomp_ioctl_resp_flags.h: $(top_srcdir)/src/xlat/seccomp_ioctl_resp_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_mode.h: $(top_srcdir)/src/xlat/seccomp_mode.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/seccomp_ops.h: $(top_srcdir)/src/xlat/seccomp_ops.in $(top_srcdir)/src/xlat/gen.sh @@ -882,6 +1082,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sigtrap_codes.h: $(top_srcdir)/src/xlat/sigtrap_codes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sigtrap_perf_flags.h: $(top_srcdir)/src/xlat/sigtrap_perf_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/skf_ad.h: $(top_srcdir)/src/xlat/skf_ad.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/skf_off.h: $(top_srcdir)/src/xlat/skf_off.in $(top_srcdir)/src/xlat/gen.sh @@ -912,6 +1114,8 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_caif_options.h: $(top_srcdir)/src/xlat/sock_caif_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sock_can_raw_options.h: $(top_srcdir)/src/xlat/sock_can_raw_options.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_dccp_options.h: $(top_srcdir)/src/xlat/sock_dccp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_ip_options.h: $(top_srcdir)/src/xlat/sock_ip_options.in $(top_srcdir)/src/xlat/gen.sh @@ -960,12 +1164,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_udp_options.h: $(top_srcdir)/src/xlat/sock_udp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sock_vsock_options.h: $(top_srcdir)/src/xlat/sock_vsock_options.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sock_xdp_options.h: $(top_srcdir)/src/xlat/sock_xdp_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socketcalls.h: $(top_srcdir)/src/xlat/socketcalls.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socketlayers.h: $(top_srcdir)/src/xlat/socketlayers.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/sockopt_txrehash_vals.h: $(top_srcdir)/src/xlat/sockopt_txrehash_vals.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/socktypes.h: $(top_srcdir)/src/xlat/socktypes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sparc_kern_features.h: $(top_srcdir)/src/xlat/sparc_kern_features.in $(top_srcdir)/src/xlat/gen.sh @@ -984,28 +1192,6 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/sync_file_range_flags.h: $(top_srcdir)/src/xlat/sync_file_range_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_kern.h: $(top_srcdir)/src/xlat/sysctl_kern.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net.h: $(top_srcdir)/src/xlat/sysctl_net.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_core.h: $(top_srcdir)/src/xlat/sysctl_net_core.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv4_route.h: $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv6.h: $(top_srcdir)/src/xlat/sysctl_net_ipv6.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_ipv6_route.h: $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_net_unix.h: $(top_srcdir)/src/xlat/sysctl_net_unix.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_root.h: $(top_srcdir)/src/xlat/sysctl_root.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/sysctl_vm.h: $(top_srcdir)/src/xlat/sysctl_vm.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/syslog_action_type.h: $(top_srcdir)/src/xlat/syslog_action_type.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/syslog_console_levels.h: $(top_srcdir)/src/xlat/syslog_console_levels.in $(top_srcdir)/src/xlat/gen.sh @@ -1036,8 +1222,42 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/tee_ioctl_shm_flags.h: $(top_srcdir)/src/xlat/tee_ioctl_shm_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_cflags.h: $(top_srcdir)/src/xlat/term_cflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_cflags_csize.h: $(top_srcdir)/src/xlat/term_cflags_csize.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_iflags.h: $(top_srcdir)/src/xlat/term_iflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_lflags.h: $(top_srcdir)/src/xlat/term_lflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_line_discs.h: $(top_srcdir)/src/xlat/term_line_discs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags.h: $(top_srcdir)/src/xlat/term_oflags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_bsdly.h: $(top_srcdir)/src/xlat/term_oflags_bsdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_crdly.h: $(top_srcdir)/src/xlat/term_oflags_crdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_ffdly.h: $(top_srcdir)/src/xlat/term_oflags_ffdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_nldly.h: $(top_srcdir)/src/xlat/term_oflags_nldly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_tabdly.h: $(top_srcdir)/src/xlat/term_oflags_tabdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/term_oflags_vtdly.h: $(top_srcdir)/src/xlat/term_oflags_vtdly.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/termio_cc.h: $(top_srcdir)/src/xlat/termio_cc.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/termios_cc.h: $(top_srcdir)/src/xlat/termios_cc.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/timerfdflags.h: $(top_srcdir)/src/xlat/timerfdflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_ciphers.h: $(top_srcdir)/src/xlat/tls_info_ciphers.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_configs.h: $(top_srcdir)/src/xlat/tls_info_configs.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/tls_info_versions.h: $(top_srcdir)/src/xlat/tls_info_versions.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/tun_device_types.h: $(top_srcdir)/src/xlat/tun_device_types.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/ubi_data_types.h: $(top_srcdir)/src/xlat/ubi_data_types.in $(top_srcdir)/src/xlat/gen.sh @@ -1070,20 +1290,28 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/unshare_flags.h: $(top_srcdir)/src/xlat/unshare_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ -$(top_srcdir)/src/xlat/uring_cqring_flags.h: $(top_srcdir)/src/xlat/uring_cqring_flags.in $(top_srcdir)/src/xlat/gen.sh - $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_enter_flags.h: $(top_srcdir)/src/xlat/uring_enter_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_files_update_fds.h: $(top_srcdir)/src/xlat/uring_files_update_fds.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_iowq_acct.h: $(top_srcdir)/src/xlat/uring_iowq_acct.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_op_flags.h: $(top_srcdir)/src/xlat/uring_op_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_ops.h: $(top_srcdir)/src/xlat/uring_ops.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_register_opcodes.h: $(top_srcdir)/src/xlat/uring_register_opcodes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_register_rsrc_flags.h: $(top_srcdir)/src/xlat/uring_register_rsrc_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_restriction_opcodes.h: $(top_srcdir)/src/xlat/uring_restriction_opcodes.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_setup_features.h: $(top_srcdir)/src/xlat/uring_setup_features.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/uring_setup_flags.h: $(top_srcdir)/src/xlat/uring_setup_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/uring_sqe_flags.h: $(top_srcdir)/src/xlat/uring_sqe_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/usagewho.h: $(top_srcdir)/src/xlat/usagewho.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/v4l2_buf_flags.h: $(top_srcdir)/src/xlat/v4l2_buf_flags.in $(top_srcdir)/src/xlat/gen.sh @@ -1144,6 +1372,12 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/v4l2_vbi_flags.h: $(top_srcdir)/src/xlat/v4l2_vbi_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_cids.h: $(top_srcdir)/src/xlat/vsock_cids.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_flags.h: $(top_srcdir)/src/xlat/vsock_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/vsock_ports.h: $(top_srcdir)/src/xlat/vsock_ports.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/wait4_options.h: $(top_srcdir)/src/xlat/wait4_options.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/waitid_types.h: $(top_srcdir)/src/xlat/waitid_types.in $(top_srcdir)/src/xlat/gen.sh @@ -1152,10 +1386,16 @@ $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/whence_codes.h: $(top_srcdir)/src/xlat/whence_codes.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/x86_xfeature_bits.h: $(top_srcdir)/src/xlat/x86_xfeature_bits.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/x86_xfeatures.h: $(top_srcdir)/src/xlat/x86_xfeatures.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xattrflags.h: $(top_srcdir)/src/xlat/xattrflags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xdp_flags.h: $(top_srcdir)/src/xlat/xdp_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ +$(top_srcdir)/src/xlat/xdp_sockaddr_flags.h: $(top_srcdir)/src/xlat/xdp_sockaddr_flags.in $(top_srcdir)/src/xlat/gen.sh + $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xfs_dqblk_flags.h: $(top_srcdir)/src/xlat/xfs_dqblk_flags.in $(top_srcdir)/src/xlat/gen.sh $(AM_V_GEN)$(top_srcdir)/src/xlat/gen.sh $< $@ $(top_srcdir)/src/xlat/xfs_quota_flags.h: $(top_srcdir)/src/xlat/xfs_quota_flags.in $(top_srcdir)/src/xlat/gen.sh
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/access_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/access_modes.h
Changed
@@ -31,6 +31,7 @@ #else # define X_OK 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/addrfams.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/addrfams.h
Changed
@@ -318,6 +318,14 @@ #else # define AF_XDP 44 #endif +#if defined(AF_MCTP) || (defined(HAVE_DECL_AF_MCTP) && HAVE_DECL_AF_MCTP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AF_MCTP) == (45), "AF_MCTP != 45"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AF_MCTP 45 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -460,6 +468,9 @@ AF_XDP = XLAT(AF_XDP), #define XLAT_VAL_44 ((unsigned) (AF_XDP)) #define XLAT_STR_44 STRINGIFY(AF_XDP) + AF_MCTP = XLAT(AF_MCTP), + #define XLAT_VAL_45 ((unsigned) (AF_MCTP)) + #define XLAT_STR_45 STRINGIFY(AF_MCTP) }; const struct xlat addrfams1 = { { .data = addrfams_xdata, @@ -601,6 +612,9 @@ # ifdef XLAT_VAL_44 | XLAT_VAL_44 # endif +# ifdef XLAT_VAL_45 + | XLAT_VAL_45 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -738,6 +752,9 @@ # ifdef XLAT_STR_44 + sizeof(XLAT_STR_44) # endif +# ifdef XLAT_STR_45 + + sizeof(XLAT_STR_45) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -832,6 +849,8 @@ # undef XLAT_VAL_43 # undef XLAT_STR_44 # undef XLAT_VAL_44 +# undef XLAT_STR_45 +# undef XLAT_VAL_45 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/addrfams.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/addrfams.in
Changed
@@ -44,3 +44,4 @@ AF_QIPCRTR 42 AF_SMC 43 AF_XDP 44 +AF_MCTP 45
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/adjtimex_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/adjtimex_modes.h
Changed
@@ -94,6 +94,7 @@ #else # define ADJ_TICK 0x4000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/adjtimex_state.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/adjtimex_state.h
Changed
@@ -45,6 +45,7 @@ #else # define TIME_ERROR 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/adjtimex_status.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/adjtimex_status.h
Changed
@@ -115,6 +115,7 @@ #else # define STA_CLK 0x8000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/advise.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/advise.h
Changed
@@ -62,6 +62,7 @@ # define POSIX_FADV_NOREUSE 5 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/af_packet_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/af_packet_types.h
Changed
@@ -59,6 +59,7 @@ #else # define PACKET_KERNEL 7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/af_packet_versions.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/af_packet_versions.h
Changed
@@ -24,6 +24,7 @@ #else # define TPACKET_V3 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/aio_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/aio_cmds.h
Changed
@@ -66,6 +66,7 @@ #else # define IOCB_CMD_PWRITEV 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/aio_iocb_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/aio_iocb_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define IOCB_FLAG_IOPRIO 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/alg_sockaddr_flags.h
Added
@@ -0,0 +1,52 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/alg_sockaddr_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(CRYPTO_ALG_KERN_DRIVER_ONLY) || (defined(HAVE_DECL_CRYPTO_ALG_KERN_DRIVER_ONLY) && HAVE_DECL_CRYPTO_ALG_KERN_DRIVER_ONLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CRYPTO_ALG_KERN_DRIVER_ONLY) == (0x1000), "CRYPTO_ALG_KERN_DRIVER_ONLY != 0x1000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CRYPTO_ALG_KERN_DRIVER_ONLY 0x1000 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat alg_sockaddr_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data alg_sockaddr_flags_xdata = { + + XLAT(CRYPTO_ALG_KERN_DRIVER_ONLY), + #define XLAT_VAL_0 ((unsigned) (CRYPTO_ALG_KERN_DRIVER_ONLY)) + #define XLAT_STR_0 STRINGIFY(CRYPTO_ALG_KERN_DRIVER_ONLY) +}; +static +const struct xlat alg_sockaddr_flags1 = { { + .data = alg_sockaddr_flags_xdata, + .size = ARRAY_SIZE(alg_sockaddr_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/alg_sockaddr_flags.in
Added
@@ -0,0 +1,2 @@ +/* include/linux/crypto.h */ +CRYPTO_ALG_KERN_DRIVER_ONLY 0x1000
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/alpha_trap_codes.h
Added
@@ -0,0 +1,485 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/alpha_trap_codes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(GEN_INTOVF) || (defined(HAVE_DECL_GEN_INTOVF) && HAVE_DECL_GEN_INTOVF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_INTOVF) == (-1), "GEN_INTOVF != -1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_INTOVF -1 +#endif +#if defined(GEN_INTDIV) || (defined(HAVE_DECL_GEN_INTDIV) && HAVE_DECL_GEN_INTDIV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_INTDIV) == (-2), "GEN_INTDIV != -2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_INTDIV -2 +#endif +#if defined(GEN_FLTOVF) || (defined(HAVE_DECL_GEN_FLTOVF) && HAVE_DECL_GEN_FLTOVF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_FLTOVF) == (-3), "GEN_FLTOVF != -3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_FLTOVF -3 +#endif +#if defined(GEN_FLTDIV) || (defined(HAVE_DECL_GEN_FLTDIV) && HAVE_DECL_GEN_FLTDIV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_FLTDIV) == (-4), "GEN_FLTDIV != -4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_FLTDIV -4 +#endif +#if defined(GEN_FLTUND) || (defined(HAVE_DECL_GEN_FLTUND) && HAVE_DECL_GEN_FLTUND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_FLTUND) == (-5), "GEN_FLTUND != -5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_FLTUND -5 +#endif +#if defined(GEN_FLTINV) || (defined(HAVE_DECL_GEN_FLTINV) && HAVE_DECL_GEN_FLTINV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_FLTINV) == (-6), "GEN_FLTINV != -6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_FLTINV -6 +#endif +#if defined(GEN_FLTINE) || (defined(HAVE_DECL_GEN_FLTINE) && HAVE_DECL_GEN_FLTINE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_FLTINE) == (-7), "GEN_FLTINE != -7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_FLTINE -7 +#endif +#if defined(GEN_DECOVF) || (defined(HAVE_DECL_GEN_DECOVF) && HAVE_DECL_GEN_DECOVF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_DECOVF) == (-8), "GEN_DECOVF != -8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_DECOVF -8 +#endif +#if defined(GEN_DECDIV) || (defined(HAVE_DECL_GEN_DECDIV) && HAVE_DECL_GEN_DECDIV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_DECDIV) == (-9), "GEN_DECDIV != -9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_DECDIV -9 +#endif +#if defined(GEN_DECINV) || (defined(HAVE_DECL_GEN_DECINV) && HAVE_DECL_GEN_DECINV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_DECINV) == (-10), "GEN_DECINV != -10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_DECINV -10 +#endif +#if defined(GEN_ROPRAND) || (defined(HAVE_DECL_GEN_ROPRAND) && HAVE_DECL_GEN_ROPRAND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_ROPRAND) == (-11), "GEN_ROPRAND != -11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_ROPRAND -11 +#endif +#if defined(GEN_ASSERTERR) || (defined(HAVE_DECL_GEN_ASSERTERR) && HAVE_DECL_GEN_ASSERTERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_ASSERTERR) == (-12), "GEN_ASSERTERR != -12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_ASSERTERR -12 +#endif +#if defined(GEN_NULPTRERR) || (defined(HAVE_DECL_GEN_NULPTRERR) && HAVE_DECL_GEN_NULPTRERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_NULPTRERR) == (-13), "GEN_NULPTRERR != -13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_NULPTRERR -13 +#endif +#if defined(GEN_STKOVF) || (defined(HAVE_DECL_GEN_STKOVF) && HAVE_DECL_GEN_STKOVF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_STKOVF) == (-14), "GEN_STKOVF != -14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_STKOVF -14 +#endif +#if defined(GEN_STRLENERR) || (defined(HAVE_DECL_GEN_STRLENERR) && HAVE_DECL_GEN_STRLENERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_STRLENERR) == (-15), "GEN_STRLENERR != -15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_STRLENERR -15 +#endif +#if defined(GEN_SUBSTRERR) || (defined(HAVE_DECL_GEN_SUBSTRERR) && HAVE_DECL_GEN_SUBSTRERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBSTRERR) == (-16), "GEN_SUBSTRERR != -16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBSTRERR -16 +#endif +#if defined(GEN_RANGERR) || (defined(HAVE_DECL_GEN_RANGERR) && HAVE_DECL_GEN_RANGERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_RANGERR) == (-17), "GEN_RANGERR != -17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_RANGERR -17 +#endif +#if defined(GEN_SUBRNG) || (defined(HAVE_DECL_GEN_SUBRNG) && HAVE_DECL_GEN_SUBRNG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG) == (-18), "GEN_SUBRNG != -18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG -18 +#endif +#if defined(GEN_SUBRNG1) || (defined(HAVE_DECL_GEN_SUBRNG1) && HAVE_DECL_GEN_SUBRNG1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG1) == (-19), "GEN_SUBRNG1 != -19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG1 -19 +#endif +#if defined(GEN_SUBRNG2) || (defined(HAVE_DECL_GEN_SUBRNG2) && HAVE_DECL_GEN_SUBRNG2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG2) == (-20), "GEN_SUBRNG2 != -20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG2 -20 +#endif +#if defined(GEN_SUBRNG3) || (defined(HAVE_DECL_GEN_SUBRNG3) && HAVE_DECL_GEN_SUBRNG3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG3) == (-21), "GEN_SUBRNG3 != -21"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG3 -21 +#endif +#if defined(GEN_SUBRNG4) || (defined(HAVE_DECL_GEN_SUBRNG4) && HAVE_DECL_GEN_SUBRNG4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG4) == (-22), "GEN_SUBRNG4 != -22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG4 -22 +#endif +#if defined(GEN_SUBRNG5) || (defined(HAVE_DECL_GEN_SUBRNG5) && HAVE_DECL_GEN_SUBRNG5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG5) == (-23), "GEN_SUBRNG5 != -23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG5 -23 +#endif +#if defined(GEN_SUBRNG6) || (defined(HAVE_DECL_GEN_SUBRNG6) && HAVE_DECL_GEN_SUBRNG6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG6) == (-24), "GEN_SUBRNG6 != -24"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG6 -24 +#endif +#if defined(GEN_SUBRNG7) || (defined(HAVE_DECL_GEN_SUBRNG7) && HAVE_DECL_GEN_SUBRNG7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GEN_SUBRNG7) == (-25), "GEN_SUBRNG7 != -25"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GEN_SUBRNG7 -25 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat alpha_trap_codes; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data alpha_trap_codes_xdata = { + XLAT(GEN_INTOVF), + #define XLAT_VAL_0 ((unsigned) (GEN_INTOVF)) + #define XLAT_STR_0 STRINGIFY(GEN_INTOVF) + XLAT(GEN_INTDIV), + #define XLAT_VAL_1 ((unsigned) (GEN_INTDIV)) + #define XLAT_STR_1 STRINGIFY(GEN_INTDIV) + XLAT(GEN_FLTOVF), + #define XLAT_VAL_2 ((unsigned) (GEN_FLTOVF)) + #define XLAT_STR_2 STRINGIFY(GEN_FLTOVF) + XLAT(GEN_FLTDIV), + #define XLAT_VAL_3 ((unsigned) (GEN_FLTDIV)) + #define XLAT_STR_3 STRINGIFY(GEN_FLTDIV) + XLAT(GEN_FLTUND), + #define XLAT_VAL_4 ((unsigned) (GEN_FLTUND)) + #define XLAT_STR_4 STRINGIFY(GEN_FLTUND) + XLAT(GEN_FLTINV), + #define XLAT_VAL_5 ((unsigned) (GEN_FLTINV)) + #define XLAT_STR_5 STRINGIFY(GEN_FLTINV) + XLAT(GEN_FLTINE), + #define XLAT_VAL_6 ((unsigned) (GEN_FLTINE)) + #define XLAT_STR_6 STRINGIFY(GEN_FLTINE) + XLAT(GEN_DECOVF), + #define XLAT_VAL_7 ((unsigned) (GEN_DECOVF)) + #define XLAT_STR_7 STRINGIFY(GEN_DECOVF) + XLAT(GEN_DECDIV), + #define XLAT_VAL_8 ((unsigned) (GEN_DECDIV)) + #define XLAT_STR_8 STRINGIFY(GEN_DECDIV) + XLAT(GEN_DECINV), + #define XLAT_VAL_9 ((unsigned) (GEN_DECINV)) + #define XLAT_STR_9 STRINGIFY(GEN_DECINV) + XLAT(GEN_ROPRAND), + #define XLAT_VAL_10 ((unsigned) (GEN_ROPRAND)) + #define XLAT_STR_10 STRINGIFY(GEN_ROPRAND) + XLAT(GEN_ASSERTERR), + #define XLAT_VAL_11 ((unsigned) (GEN_ASSERTERR)) + #define XLAT_STR_11 STRINGIFY(GEN_ASSERTERR) + XLAT(GEN_NULPTRERR), + #define XLAT_VAL_12 ((unsigned) (GEN_NULPTRERR)) + #define XLAT_STR_12 STRINGIFY(GEN_NULPTRERR) + XLAT(GEN_STKOVF), + #define XLAT_VAL_13 ((unsigned) (GEN_STKOVF)) + #define XLAT_STR_13 STRINGIFY(GEN_STKOVF) + XLAT(GEN_STRLENERR), + #define XLAT_VAL_14 ((unsigned) (GEN_STRLENERR)) + #define XLAT_STR_14 STRINGIFY(GEN_STRLENERR) + XLAT(GEN_SUBSTRERR), + #define XLAT_VAL_15 ((unsigned) (GEN_SUBSTRERR)) + #define XLAT_STR_15 STRINGIFY(GEN_SUBSTRERR) + XLAT(GEN_RANGERR), + #define XLAT_VAL_16 ((unsigned) (GEN_RANGERR)) + #define XLAT_STR_16 STRINGIFY(GEN_RANGERR) + XLAT(GEN_SUBRNG), + #define XLAT_VAL_17 ((unsigned) (GEN_SUBRNG)) + #define XLAT_STR_17 STRINGIFY(GEN_SUBRNG) + XLAT(GEN_SUBRNG1), + #define XLAT_VAL_18 ((unsigned) (GEN_SUBRNG1)) + #define XLAT_STR_18 STRINGIFY(GEN_SUBRNG1) + XLAT(GEN_SUBRNG2), + #define XLAT_VAL_19 ((unsigned) (GEN_SUBRNG2)) + #define XLAT_STR_19 STRINGIFY(GEN_SUBRNG2) + XLAT(GEN_SUBRNG3), + #define XLAT_VAL_20 ((unsigned) (GEN_SUBRNG3)) + #define XLAT_STR_20 STRINGIFY(GEN_SUBRNG3) + XLAT(GEN_SUBRNG4), + #define XLAT_VAL_21 ((unsigned) (GEN_SUBRNG4)) + #define XLAT_STR_21 STRINGIFY(GEN_SUBRNG4) + XLAT(GEN_SUBRNG5), + #define XLAT_VAL_22 ((unsigned) (GEN_SUBRNG5)) + #define XLAT_STR_22 STRINGIFY(GEN_SUBRNG5) + XLAT(GEN_SUBRNG6), + #define XLAT_VAL_23 ((unsigned) (GEN_SUBRNG6)) + #define XLAT_STR_23 STRINGIFY(GEN_SUBRNG6) + XLAT(GEN_SUBRNG7), + #define XLAT_VAL_24 ((unsigned) (GEN_SUBRNG7)) + #define XLAT_STR_24 STRINGIFY(GEN_SUBRNG7) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat alpha_trap_codes1 = { { + .data = alpha_trap_codes_xdata, + .size = ARRAY_SIZE(alpha_trap_codes_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/alpha_trap_codes.in
Added
@@ -0,0 +1,25 @@ +GEN_INTOVF -1 +GEN_INTDIV -2 +GEN_FLTOVF -3 +GEN_FLTDIV -4 +GEN_FLTUND -5 +GEN_FLTINV -6 +GEN_FLTINE -7 +GEN_DECOVF -8 +GEN_DECDIV -9 +GEN_DECINV -10 +GEN_ROPRAND -11 +GEN_ASSERTERR -12 +GEN_NULPTRERR -13 +GEN_STKOVF -14 +GEN_STRLENERR -15 +GEN_SUBSTRERR -16 +GEN_RANGERR -17 +GEN_SUBRNG -18 +GEN_SUBRNG1 -19 +GEN_SUBRNG2 -20 +GEN_SUBRNG3 -21 +GEN_SUBRNG4 -22 +GEN_SUBRNG5 -23 +GEN_SUBRNG6 -24 +GEN_SUBRNG7 -25
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/archvals.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/archvals.h
Changed
@@ -10,6 +10,16 @@ #else # define ARCH_SET_GS 0x1001 #endif +#if defined(ARCH_SET_GS) || (defined(HAVE_DECL_ARCH_SET_GS) && HAVE_DECL_ARCH_SET_GS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_SET_GS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_SET_GS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_SET_GS) +#endif #if defined(ARCH_SET_FS) || (defined(HAVE_DECL_ARCH_SET_FS) && HAVE_DECL_ARCH_SET_FS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_SET_FS) == (0x1002), "ARCH_SET_FS != 0x1002"); @@ -17,6 +27,16 @@ #else # define ARCH_SET_FS 0x1002 #endif +#if defined(ARCH_SET_FS) || (defined(HAVE_DECL_ARCH_SET_FS) && HAVE_DECL_ARCH_SET_FS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_SET_FS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_SET_FS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_SET_FS) +#endif #if defined(ARCH_GET_FS) || (defined(HAVE_DECL_ARCH_GET_FS) && HAVE_DECL_ARCH_GET_FS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_GET_FS) == (0x1003), "ARCH_GET_FS != 0x1003"); @@ -24,6 +44,16 @@ #else # define ARCH_GET_FS 0x1003 #endif +#if defined(ARCH_GET_FS) || (defined(HAVE_DECL_ARCH_GET_FS) && HAVE_DECL_ARCH_GET_FS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_FS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_FS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_FS) +#endif #if defined(ARCH_GET_GS) || (defined(HAVE_DECL_ARCH_GET_GS) && HAVE_DECL_ARCH_GET_GS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_GET_GS) == (0x1004), "ARCH_GET_GS != 0x1004"); @@ -31,6 +61,16 @@ #else # define ARCH_GET_GS 0x1004 #endif +#if defined(ARCH_GET_GS) || (defined(HAVE_DECL_ARCH_GET_GS) && HAVE_DECL_ARCH_GET_GS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_GS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_GS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_GS) +#endif #if defined(ARCH_GET_CPUID) || (defined(HAVE_DECL_ARCH_GET_CPUID) && HAVE_DECL_ARCH_GET_CPUID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_GET_CPUID) == (0x1011), "ARCH_GET_CPUID != 0x1011"); @@ -38,6 +78,16 @@ #else # define ARCH_GET_CPUID 0x1011 #endif +#if defined(ARCH_GET_CPUID) || (defined(HAVE_DECL_ARCH_GET_CPUID) && HAVE_DECL_ARCH_GET_CPUID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_CPUID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_CPUID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_CPUID) +#endif #if defined(ARCH_SET_CPUID) || (defined(HAVE_DECL_ARCH_SET_CPUID) && HAVE_DECL_ARCH_SET_CPUID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_SET_CPUID) == (0x1012), "ARCH_SET_CPUID != 0x1012"); @@ -45,6 +95,101 @@ #else # define ARCH_SET_CPUID 0x1012 #endif +#if defined(ARCH_SET_CPUID) || (defined(HAVE_DECL_ARCH_SET_CPUID) && HAVE_DECL_ARCH_SET_CPUID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_SET_CPUID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_SET_CPUID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_SET_CPUID) +#endif +#if defined(ARCH_GET_XCOMP_SUPP) || (defined(HAVE_DECL_ARCH_GET_XCOMP_SUPP) && HAVE_DECL_ARCH_GET_XCOMP_SUPP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARCH_GET_XCOMP_SUPP) == (0x1021), "ARCH_GET_XCOMP_SUPP != 0x1021"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARCH_GET_XCOMP_SUPP 0x1021 +#endif +#if defined(ARCH_GET_XCOMP_SUPP) || (defined(HAVE_DECL_ARCH_GET_XCOMP_SUPP) && HAVE_DECL_ARCH_GET_XCOMP_SUPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_XCOMP_SUPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_SUPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_XCOMP_SUPP) +#endif +#if defined(ARCH_GET_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_PERM) && HAVE_DECL_ARCH_GET_XCOMP_PERM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARCH_GET_XCOMP_PERM) == (0x1022), "ARCH_GET_XCOMP_PERM != 0x1022"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARCH_GET_XCOMP_PERM 0x1022 +#endif +#if defined(ARCH_GET_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_PERM) && HAVE_DECL_ARCH_GET_XCOMP_PERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_XCOMP_PERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_PERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_XCOMP_PERM) +#endif +#if defined(ARCH_REQ_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_PERM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARCH_REQ_XCOMP_PERM) == (0x1023), "ARCH_REQ_XCOMP_PERM != 0x1023"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARCH_REQ_XCOMP_PERM 0x1023 +#endif +#if defined(ARCH_REQ_XCOMP_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_PERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_REQ_XCOMP_PERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_REQ_XCOMP_PERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_REQ_XCOMP_PERM) +#endif +#if defined(ARCH_GET_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARCH_GET_XCOMP_GUEST_PERM) == (0x1024), "ARCH_GET_XCOMP_GUEST_PERM != 0x1024"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARCH_GET_XCOMP_GUEST_PERM 0x1024 +#endif +#if defined(ARCH_GET_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_GET_XCOMP_GUEST_PERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_GET_XCOMP_GUEST_PERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_GET_XCOMP_GUEST_PERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_GET_XCOMP_GUEST_PERM) +#endif +#if defined(ARCH_REQ_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARCH_REQ_XCOMP_GUEST_PERM) == (0x1025), "ARCH_REQ_XCOMP_GUEST_PERM != 0x1025"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARCH_REQ_XCOMP_GUEST_PERM 0x1025 +#endif +#if defined(ARCH_REQ_XCOMP_GUEST_PERM) || (defined(HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) && HAVE_DECL_ARCH_REQ_XCOMP_GUEST_PERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_REQ_XCOMP_GUEST_PERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_REQ_XCOMP_GUEST_PERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_REQ_XCOMP_GUEST_PERM) +#endif #if defined(ARCH_MAP_VDSO_X32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_X32) && HAVE_DECL_ARCH_MAP_VDSO_X32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_MAP_VDSO_X32) == (0x2001), "ARCH_MAP_VDSO_X32 != 0x2001"); @@ -52,6 +197,16 @@ #else # define ARCH_MAP_VDSO_X32 0x2001 #endif +#if defined(ARCH_MAP_VDSO_X32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_X32) && HAVE_DECL_ARCH_MAP_VDSO_X32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_MAP_VDSO_X32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_X32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_MAP_VDSO_X32) +#endif #if defined(ARCH_MAP_VDSO_32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_32) && HAVE_DECL_ARCH_MAP_VDSO_32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_MAP_VDSO_32) == (0x2002), "ARCH_MAP_VDSO_32 != 0x2002"); @@ -59,6 +214,16 @@ #else # define ARCH_MAP_VDSO_32 0x2002 #endif +#if defined(ARCH_MAP_VDSO_32) || (defined(HAVE_DECL_ARCH_MAP_VDSO_32) && HAVE_DECL_ARCH_MAP_VDSO_32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_MAP_VDSO_32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_MAP_VDSO_32) +#endif #if defined(ARCH_MAP_VDSO_64) || (defined(HAVE_DECL_ARCH_MAP_VDSO_64) && HAVE_DECL_ARCH_MAP_VDSO_64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARCH_MAP_VDSO_64) == (0x2003), "ARCH_MAP_VDSO_64 != 0x2003"); @@ -66,6 +231,17 @@ #else # define ARCH_MAP_VDSO_64 0x2003 #endif +#if defined(ARCH_MAP_VDSO_64) || (defined(HAVE_DECL_ARCH_MAP_VDSO_64) && HAVE_DECL_ARCH_MAP_VDSO_64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARCH_MAP_VDSO_64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARCH_MAP_VDSO_64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARCH_MAP_VDSO_64) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -95,21 +271,36 @@ XLAT(ARCH_SET_CPUID), #define XLAT_VAL_5 ((unsigned) (ARCH_SET_CPUID)) #define XLAT_STR_5 STRINGIFY(ARCH_SET_CPUID) + XLAT(ARCH_GET_XCOMP_SUPP), + #define XLAT_VAL_6 ((unsigned) (ARCH_GET_XCOMP_SUPP)) + #define XLAT_STR_6 STRINGIFY(ARCH_GET_XCOMP_SUPP) + XLAT(ARCH_GET_XCOMP_PERM), + #define XLAT_VAL_7 ((unsigned) (ARCH_GET_XCOMP_PERM)) + #define XLAT_STR_7 STRINGIFY(ARCH_GET_XCOMP_PERM) + XLAT(ARCH_REQ_XCOMP_PERM), + #define XLAT_VAL_8 ((unsigned) (ARCH_REQ_XCOMP_PERM)) + #define XLAT_STR_8 STRINGIFY(ARCH_REQ_XCOMP_PERM) + XLAT(ARCH_GET_XCOMP_GUEST_PERM), + #define XLAT_VAL_9 ((unsigned) (ARCH_GET_XCOMP_GUEST_PERM)) + #define XLAT_STR_9 STRINGIFY(ARCH_GET_XCOMP_GUEST_PERM) + XLAT(ARCH_REQ_XCOMP_GUEST_PERM), + #define XLAT_VAL_10 ((unsigned) (ARCH_REQ_XCOMP_GUEST_PERM)) + #define XLAT_STR_10 STRINGIFY(ARCH_REQ_XCOMP_GUEST_PERM) XLAT(ARCH_MAP_VDSO_X32), - #define XLAT_VAL_6 ((unsigned) (ARCH_MAP_VDSO_X32)) - #define XLAT_STR_6 STRINGIFY(ARCH_MAP_VDSO_X32) + #define XLAT_VAL_11 ((unsigned) (ARCH_MAP_VDSO_X32)) + #define XLAT_STR_11 STRINGIFY(ARCH_MAP_VDSO_X32) XLAT(ARCH_MAP_VDSO_32), - #define XLAT_VAL_7 ((unsigned) (ARCH_MAP_VDSO_32)) - #define XLAT_STR_7 STRINGIFY(ARCH_MAP_VDSO_32) + #define XLAT_VAL_12 ((unsigned) (ARCH_MAP_VDSO_32)) + #define XLAT_STR_12 STRINGIFY(ARCH_MAP_VDSO_32) XLAT(ARCH_MAP_VDSO_64), - #define XLAT_VAL_8 ((unsigned) (ARCH_MAP_VDSO_64)) - #define XLAT_STR_8 STRINGIFY(ARCH_MAP_VDSO_64) + #define XLAT_VAL_13 ((unsigned) (ARCH_MAP_VDSO_64)) + #define XLAT_STR_13 STRINGIFY(ARCH_MAP_VDSO_64) }; static const struct xlat archvals1 = { { .data = archvals_xdata, .size = ARRAY_SIZE(archvals_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -138,6 +329,21 @@ # ifdef XLAT_VAL_8 | XLAT_VAL_8 # endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -167,6 +373,21 @@ # ifdef XLAT_STR_8 + sizeof(XLAT_STR_8) # endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -189,6 +410,16 @@ # undef XLAT_VAL_7 # undef XLAT_STR_8 # undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/archvals.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/archvals.in
Changed
@@ -1,9 +1,15 @@ -ARCH_SET_GS 0x1001 -ARCH_SET_FS 0x1002 -ARCH_GET_FS 0x1003 -ARCH_GET_GS 0x1004 -ARCH_GET_CPUID 0x1011 -ARCH_SET_CPUID 0x1012 -ARCH_MAP_VDSO_X32 0x2001 -ARCH_MAP_VDSO_32 0x2002 -ARCH_MAP_VDSO_64 0x2003 +#sorted +ARCH_SET_GS 0x1001 +ARCH_SET_FS 0x1002 +ARCH_GET_FS 0x1003 +ARCH_GET_GS 0x1004 +ARCH_GET_CPUID 0x1011 +ARCH_SET_CPUID 0x1012 +ARCH_GET_XCOMP_SUPP 0x1021 +ARCH_GET_XCOMP_PERM 0x1022 +ARCH_REQ_XCOMP_PERM 0x1023 +ARCH_GET_XCOMP_GUEST_PERM 0x1024 +ARCH_REQ_XCOMP_GUEST_PERM 0x1025 +ARCH_MAP_VDSO_X32 0x2001 +ARCH_MAP_VDSO_32 0x2002 +ARCH_MAP_VDSO_64 0x2003
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/arp_hardware_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/arp_hardware_types.h
Changed
@@ -10,6 +10,16 @@ #else # define ARPHRD_NETROM 0 #endif +#if defined(ARPHRD_NETROM) || (defined(HAVE_DECL_ARPHRD_NETROM) && HAVE_DECL_ARPHRD_NETROM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_NETROM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_NETROM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_NETROM) +#endif #if defined(ARPHRD_ETHER) || (defined(HAVE_DECL_ARPHRD_ETHER) && HAVE_DECL_ARPHRD_ETHER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ETHER) == (1), "ARPHRD_ETHER != 1"); @@ -17,6 +27,16 @@ #else # define ARPHRD_ETHER 1 #endif +#if defined(ARPHRD_ETHER) || (defined(HAVE_DECL_ARPHRD_ETHER) && HAVE_DECL_ARPHRD_ETHER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ETHER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ETHER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ETHER) +#endif #if defined(ARPHRD_EETHER) || (defined(HAVE_DECL_ARPHRD_EETHER) && HAVE_DECL_ARPHRD_EETHER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_EETHER) == (2), "ARPHRD_EETHER != 2"); @@ -24,6 +44,16 @@ #else # define ARPHRD_EETHER 2 #endif +#if defined(ARPHRD_EETHER) || (defined(HAVE_DECL_ARPHRD_EETHER) && HAVE_DECL_ARPHRD_EETHER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_EETHER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_EETHER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_EETHER) +#endif #if defined(ARPHRD_AX25) || (defined(HAVE_DECL_ARPHRD_AX25) && HAVE_DECL_ARPHRD_AX25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_AX25) == (3), "ARPHRD_AX25 != 3"); @@ -31,6 +61,16 @@ #else # define ARPHRD_AX25 3 #endif +#if defined(ARPHRD_AX25) || (defined(HAVE_DECL_ARPHRD_AX25) && HAVE_DECL_ARPHRD_AX25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_AX25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_AX25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_AX25) +#endif #if defined(ARPHRD_PRONET) || (defined(HAVE_DECL_ARPHRD_PRONET) && HAVE_DECL_ARPHRD_PRONET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_PRONET) == (4), "ARPHRD_PRONET != 4"); @@ -38,6 +78,16 @@ #else # define ARPHRD_PRONET 4 #endif +#if defined(ARPHRD_PRONET) || (defined(HAVE_DECL_ARPHRD_PRONET) && HAVE_DECL_ARPHRD_PRONET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_PRONET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_PRONET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_PRONET) +#endif #if defined(ARPHRD_CHAOS) || (defined(HAVE_DECL_ARPHRD_CHAOS) && HAVE_DECL_ARPHRD_CHAOS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CHAOS) == (5), "ARPHRD_CHAOS != 5"); @@ -45,6 +95,16 @@ #else # define ARPHRD_CHAOS 5 #endif +#if defined(ARPHRD_CHAOS) || (defined(HAVE_DECL_ARPHRD_CHAOS) && HAVE_DECL_ARPHRD_CHAOS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CHAOS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CHAOS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CHAOS) +#endif #if defined(ARPHRD_IEEE802) || (defined(HAVE_DECL_ARPHRD_IEEE802) && HAVE_DECL_ARPHRD_IEEE802) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE802) == (6), "ARPHRD_IEEE802 != 6"); @@ -52,6 +112,16 @@ #else # define ARPHRD_IEEE802 6 #endif +#if defined(ARPHRD_IEEE802) || (defined(HAVE_DECL_ARPHRD_IEEE802) && HAVE_DECL_ARPHRD_IEEE802) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE802) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE802" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE802) +#endif #if defined(ARPHRD_ARCNET) || (defined(HAVE_DECL_ARPHRD_ARCNET) && HAVE_DECL_ARPHRD_ARCNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ARCNET) == (7), "ARPHRD_ARCNET != 7"); @@ -59,6 +129,16 @@ #else # define ARPHRD_ARCNET 7 #endif +#if defined(ARPHRD_ARCNET) || (defined(HAVE_DECL_ARPHRD_ARCNET) && HAVE_DECL_ARPHRD_ARCNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ARCNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ARCNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ARCNET) +#endif #if defined(ARPHRD_APPLETLK) || (defined(HAVE_DECL_ARPHRD_APPLETLK) && HAVE_DECL_ARPHRD_APPLETLK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_APPLETLK) == (8), "ARPHRD_APPLETLK != 8"); @@ -66,6 +146,16 @@ #else # define ARPHRD_APPLETLK 8 #endif +#if defined(ARPHRD_APPLETLK) || (defined(HAVE_DECL_ARPHRD_APPLETLK) && HAVE_DECL_ARPHRD_APPLETLK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_APPLETLK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_APPLETLK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_APPLETLK) +#endif #if defined(ARPHRD_DLCI) || (defined(HAVE_DECL_ARPHRD_DLCI) && HAVE_DECL_ARPHRD_DLCI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_DLCI) == (15), "ARPHRD_DLCI != 15"); @@ -73,6 +163,16 @@ #else # define ARPHRD_DLCI 15 #endif +#if defined(ARPHRD_DLCI) || (defined(HAVE_DECL_ARPHRD_DLCI) && HAVE_DECL_ARPHRD_DLCI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_DLCI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_DLCI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_DLCI) +#endif #if defined(ARPHRD_ATM) || (defined(HAVE_DECL_ARPHRD_ATM) && HAVE_DECL_ARPHRD_ATM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ATM) == (19), "ARPHRD_ATM != 19"); @@ -80,6 +180,16 @@ #else # define ARPHRD_ATM 19 #endif +#if defined(ARPHRD_ATM) || (defined(HAVE_DECL_ARPHRD_ATM) && HAVE_DECL_ARPHRD_ATM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ATM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ATM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ATM) +#endif #if defined(ARPHRD_METRICOM) || (defined(HAVE_DECL_ARPHRD_METRICOM) && HAVE_DECL_ARPHRD_METRICOM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_METRICOM) == (23), "ARPHRD_METRICOM != 23"); @@ -87,6 +197,16 @@ #else # define ARPHRD_METRICOM 23 #endif +#if defined(ARPHRD_METRICOM) || (defined(HAVE_DECL_ARPHRD_METRICOM) && HAVE_DECL_ARPHRD_METRICOM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_METRICOM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_METRICOM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_METRICOM) +#endif #if defined(ARPHRD_IEEE1394) || (defined(HAVE_DECL_ARPHRD_IEEE1394) && HAVE_DECL_ARPHRD_IEEE1394) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE1394) == (24), "ARPHRD_IEEE1394 != 24"); @@ -94,6 +214,16 @@ #else # define ARPHRD_IEEE1394 24 #endif +#if defined(ARPHRD_IEEE1394) || (defined(HAVE_DECL_ARPHRD_IEEE1394) && HAVE_DECL_ARPHRD_IEEE1394) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE1394) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE1394" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE1394) +#endif #if defined(ARPHRD_EUI64) || (defined(HAVE_DECL_ARPHRD_EUI64) && HAVE_DECL_ARPHRD_EUI64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_EUI64) == (27), "ARPHRD_EUI64 != 27"); @@ -101,6 +231,16 @@ #else # define ARPHRD_EUI64 27 #endif +#if defined(ARPHRD_EUI64) || (defined(HAVE_DECL_ARPHRD_EUI64) && HAVE_DECL_ARPHRD_EUI64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_EUI64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_EUI64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_EUI64) +#endif #if defined(ARPHRD_INFINIBAND) || (defined(HAVE_DECL_ARPHRD_INFINIBAND) && HAVE_DECL_ARPHRD_INFINIBAND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_INFINIBAND) == (32), "ARPHRD_INFINIBAND != 32"); @@ -108,6 +248,16 @@ #else # define ARPHRD_INFINIBAND 32 #endif +#if defined(ARPHRD_INFINIBAND) || (defined(HAVE_DECL_ARPHRD_INFINIBAND) && HAVE_DECL_ARPHRD_INFINIBAND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_INFINIBAND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_INFINIBAND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_INFINIBAND) +#endif #if defined(ARPHRD_SLIP) || (defined(HAVE_DECL_ARPHRD_SLIP) && HAVE_DECL_ARPHRD_SLIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_SLIP) == (256), "ARPHRD_SLIP != 256"); @@ -115,6 +265,16 @@ #else # define ARPHRD_SLIP 256 #endif +#if defined(ARPHRD_SLIP) || (defined(HAVE_DECL_ARPHRD_SLIP) && HAVE_DECL_ARPHRD_SLIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_SLIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_SLIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_SLIP) +#endif #if defined(ARPHRD_CSLIP) || (defined(HAVE_DECL_ARPHRD_CSLIP) && HAVE_DECL_ARPHRD_CSLIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CSLIP) == (257), "ARPHRD_CSLIP != 257"); @@ -122,6 +282,16 @@ #else # define ARPHRD_CSLIP 257 #endif +#if defined(ARPHRD_CSLIP) || (defined(HAVE_DECL_ARPHRD_CSLIP) && HAVE_DECL_ARPHRD_CSLIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CSLIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CSLIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CSLIP) +#endif #if defined(ARPHRD_SLIP6) || (defined(HAVE_DECL_ARPHRD_SLIP6) && HAVE_DECL_ARPHRD_SLIP6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_SLIP6) == (258), "ARPHRD_SLIP6 != 258"); @@ -129,6 +299,16 @@ #else # define ARPHRD_SLIP6 258 #endif +#if defined(ARPHRD_SLIP6) || (defined(HAVE_DECL_ARPHRD_SLIP6) && HAVE_DECL_ARPHRD_SLIP6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_SLIP6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_SLIP6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_SLIP6) +#endif #if defined(ARPHRD_CSLIP6) || (defined(HAVE_DECL_ARPHRD_CSLIP6) && HAVE_DECL_ARPHRD_CSLIP6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CSLIP6) == (259), "ARPHRD_CSLIP6 != 259"); @@ -136,6 +316,16 @@ #else # define ARPHRD_CSLIP6 259 #endif +#if defined(ARPHRD_CSLIP6) || (defined(HAVE_DECL_ARPHRD_CSLIP6) && HAVE_DECL_ARPHRD_CSLIP6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CSLIP6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CSLIP6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CSLIP6) +#endif #if defined(ARPHRD_RSRVD) || (defined(HAVE_DECL_ARPHRD_RSRVD) && HAVE_DECL_ARPHRD_RSRVD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_RSRVD) == (260), "ARPHRD_RSRVD != 260"); @@ -143,6 +333,16 @@ #else # define ARPHRD_RSRVD 260 #endif +#if defined(ARPHRD_RSRVD) || (defined(HAVE_DECL_ARPHRD_RSRVD) && HAVE_DECL_ARPHRD_RSRVD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_RSRVD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_RSRVD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_RSRVD) +#endif #if defined(ARPHRD_ADAPT) || (defined(HAVE_DECL_ARPHRD_ADAPT) && HAVE_DECL_ARPHRD_ADAPT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ADAPT) == (264), "ARPHRD_ADAPT != 264"); @@ -150,6 +350,16 @@ #else # define ARPHRD_ADAPT 264 #endif +#if defined(ARPHRD_ADAPT) || (defined(HAVE_DECL_ARPHRD_ADAPT) && HAVE_DECL_ARPHRD_ADAPT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ADAPT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ADAPT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ADAPT) +#endif #if defined(ARPHRD_ROSE) || (defined(HAVE_DECL_ARPHRD_ROSE) && HAVE_DECL_ARPHRD_ROSE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ROSE) == (270), "ARPHRD_ROSE != 270"); @@ -157,6 +367,16 @@ #else # define ARPHRD_ROSE 270 #endif +#if defined(ARPHRD_ROSE) || (defined(HAVE_DECL_ARPHRD_ROSE) && HAVE_DECL_ARPHRD_ROSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ROSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ROSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ROSE) +#endif #if defined(ARPHRD_X25) || (defined(HAVE_DECL_ARPHRD_X25) && HAVE_DECL_ARPHRD_X25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_X25) == (271), "ARPHRD_X25 != 271"); @@ -164,6 +384,16 @@ #else # define ARPHRD_X25 271 #endif +#if defined(ARPHRD_X25) || (defined(HAVE_DECL_ARPHRD_X25) && HAVE_DECL_ARPHRD_X25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_X25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_X25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_X25) +#endif #if defined(ARPHRD_HWX25) || (defined(HAVE_DECL_ARPHRD_HWX25) && HAVE_DECL_ARPHRD_HWX25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_HWX25) == (272), "ARPHRD_HWX25 != 272"); @@ -171,6 +401,16 @@ #else # define ARPHRD_HWX25 272 #endif +#if defined(ARPHRD_HWX25) || (defined(HAVE_DECL_ARPHRD_HWX25) && HAVE_DECL_ARPHRD_HWX25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_HWX25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_HWX25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_HWX25) +#endif #if defined(ARPHRD_CAN) || (defined(HAVE_DECL_ARPHRD_CAN) && HAVE_DECL_ARPHRD_CAN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CAN) == (280), "ARPHRD_CAN != 280"); @@ -178,6 +418,33 @@ #else # define ARPHRD_CAN 280 #endif +#if defined(ARPHRD_CAN) || (defined(HAVE_DECL_ARPHRD_CAN) && HAVE_DECL_ARPHRD_CAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CAN) +#endif +#if defined(ARPHRD_MCTP) || (defined(HAVE_DECL_ARPHRD_MCTP) && HAVE_DECL_ARPHRD_MCTP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ARPHRD_MCTP) == (290), "ARPHRD_MCTP != 290"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ARPHRD_MCTP 290 +#endif +#if defined(ARPHRD_MCTP) || (defined(HAVE_DECL_ARPHRD_MCTP) && HAVE_DECL_ARPHRD_MCTP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_MCTP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_MCTP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_MCTP) +#endif #if defined(ARPHRD_PPP) || (defined(HAVE_DECL_ARPHRD_PPP) && HAVE_DECL_ARPHRD_PPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_PPP) == (512), "ARPHRD_PPP != 512"); @@ -185,6 +452,16 @@ #else # define ARPHRD_PPP 512 #endif +#if defined(ARPHRD_PPP) || (defined(HAVE_DECL_ARPHRD_PPP) && HAVE_DECL_ARPHRD_PPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_PPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_PPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_PPP) +#endif #if defined(ARPHRD_CISCO) || (defined(HAVE_DECL_ARPHRD_CISCO) && HAVE_DECL_ARPHRD_CISCO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CISCO) == (513), "ARPHRD_CISCO != 513"); @@ -192,6 +469,16 @@ #else # define ARPHRD_CISCO 513 #endif +#if defined(ARPHRD_CISCO) || (defined(HAVE_DECL_ARPHRD_CISCO) && HAVE_DECL_ARPHRD_CISCO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CISCO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CISCO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CISCO) +#endif #if defined(ARPHRD_LAPB) || (defined(HAVE_DECL_ARPHRD_LAPB) && HAVE_DECL_ARPHRD_LAPB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_LAPB) == (516), "ARPHRD_LAPB != 516"); @@ -199,6 +486,16 @@ #else # define ARPHRD_LAPB 516 #endif +#if defined(ARPHRD_LAPB) || (defined(HAVE_DECL_ARPHRD_LAPB) && HAVE_DECL_ARPHRD_LAPB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_LAPB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_LAPB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_LAPB) +#endif #if defined(ARPHRD_DDCMP) || (defined(HAVE_DECL_ARPHRD_DDCMP) && HAVE_DECL_ARPHRD_DDCMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_DDCMP) == (517), "ARPHRD_DDCMP != 517"); @@ -206,6 +503,16 @@ #else # define ARPHRD_DDCMP 517 #endif +#if defined(ARPHRD_DDCMP) || (defined(HAVE_DECL_ARPHRD_DDCMP) && HAVE_DECL_ARPHRD_DDCMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_DDCMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_DDCMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_DDCMP) +#endif #if defined(ARPHRD_RAWHDLC) || (defined(HAVE_DECL_ARPHRD_RAWHDLC) && HAVE_DECL_ARPHRD_RAWHDLC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_RAWHDLC) == (518), "ARPHRD_RAWHDLC != 518"); @@ -213,6 +520,16 @@ #else # define ARPHRD_RAWHDLC 518 #endif +#if defined(ARPHRD_RAWHDLC) || (defined(HAVE_DECL_ARPHRD_RAWHDLC) && HAVE_DECL_ARPHRD_RAWHDLC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_RAWHDLC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_RAWHDLC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_RAWHDLC) +#endif #if defined(ARPHRD_RAWIP) || (defined(HAVE_DECL_ARPHRD_RAWIP) && HAVE_DECL_ARPHRD_RAWIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_RAWIP) == (519), "ARPHRD_RAWIP != 519"); @@ -220,6 +537,16 @@ #else # define ARPHRD_RAWIP 519 #endif +#if defined(ARPHRD_RAWIP) || (defined(HAVE_DECL_ARPHRD_RAWIP) && HAVE_DECL_ARPHRD_RAWIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_RAWIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_RAWIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_RAWIP) +#endif #if defined(ARPHRD_TUNNEL) || (defined(HAVE_DECL_ARPHRD_TUNNEL) && HAVE_DECL_ARPHRD_TUNNEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_TUNNEL) == (768), "ARPHRD_TUNNEL != 768"); @@ -227,6 +554,16 @@ #else # define ARPHRD_TUNNEL 768 #endif +#if defined(ARPHRD_TUNNEL) || (defined(HAVE_DECL_ARPHRD_TUNNEL) && HAVE_DECL_ARPHRD_TUNNEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_TUNNEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_TUNNEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_TUNNEL) +#endif #if defined(ARPHRD_TUNNEL6) || (defined(HAVE_DECL_ARPHRD_TUNNEL6) && HAVE_DECL_ARPHRD_TUNNEL6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_TUNNEL6) == (769), "ARPHRD_TUNNEL6 != 769"); @@ -234,6 +571,16 @@ #else # define ARPHRD_TUNNEL6 769 #endif +#if defined(ARPHRD_TUNNEL6) || (defined(HAVE_DECL_ARPHRD_TUNNEL6) && HAVE_DECL_ARPHRD_TUNNEL6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_TUNNEL6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_TUNNEL6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_TUNNEL6) +#endif #if defined(ARPHRD_FRAD) || (defined(HAVE_DECL_ARPHRD_FRAD) && HAVE_DECL_ARPHRD_FRAD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FRAD) == (770), "ARPHRD_FRAD != 770"); @@ -241,6 +588,16 @@ #else # define ARPHRD_FRAD 770 #endif +#if defined(ARPHRD_FRAD) || (defined(HAVE_DECL_ARPHRD_FRAD) && HAVE_DECL_ARPHRD_FRAD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FRAD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FRAD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FRAD) +#endif #if defined(ARPHRD_SKIP) || (defined(HAVE_DECL_ARPHRD_SKIP) && HAVE_DECL_ARPHRD_SKIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_SKIP) == (771), "ARPHRD_SKIP != 771"); @@ -248,6 +605,16 @@ #else # define ARPHRD_SKIP 771 #endif +#if defined(ARPHRD_SKIP) || (defined(HAVE_DECL_ARPHRD_SKIP) && HAVE_DECL_ARPHRD_SKIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_SKIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_SKIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_SKIP) +#endif #if defined(ARPHRD_LOOPBACK) || (defined(HAVE_DECL_ARPHRD_LOOPBACK) && HAVE_DECL_ARPHRD_LOOPBACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_LOOPBACK) == (772), "ARPHRD_LOOPBACK != 772"); @@ -255,6 +622,16 @@ #else # define ARPHRD_LOOPBACK 772 #endif +#if defined(ARPHRD_LOOPBACK) || (defined(HAVE_DECL_ARPHRD_LOOPBACK) && HAVE_DECL_ARPHRD_LOOPBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_LOOPBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_LOOPBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_LOOPBACK) +#endif #if defined(ARPHRD_LOCALTLK) || (defined(HAVE_DECL_ARPHRD_LOCALTLK) && HAVE_DECL_ARPHRD_LOCALTLK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_LOCALTLK) == (773), "ARPHRD_LOCALTLK != 773"); @@ -262,6 +639,16 @@ #else # define ARPHRD_LOCALTLK 773 #endif +#if defined(ARPHRD_LOCALTLK) || (defined(HAVE_DECL_ARPHRD_LOCALTLK) && HAVE_DECL_ARPHRD_LOCALTLK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_LOCALTLK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_LOCALTLK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_LOCALTLK) +#endif #if defined(ARPHRD_FDDI) || (defined(HAVE_DECL_ARPHRD_FDDI) && HAVE_DECL_ARPHRD_FDDI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FDDI) == (774), "ARPHRD_FDDI != 774"); @@ -269,6 +656,16 @@ #else # define ARPHRD_FDDI 774 #endif +#if defined(ARPHRD_FDDI) || (defined(HAVE_DECL_ARPHRD_FDDI) && HAVE_DECL_ARPHRD_FDDI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FDDI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FDDI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FDDI) +#endif #if defined(ARPHRD_BIF) || (defined(HAVE_DECL_ARPHRD_BIF) && HAVE_DECL_ARPHRD_BIF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_BIF) == (775), "ARPHRD_BIF != 775"); @@ -276,6 +673,16 @@ #else # define ARPHRD_BIF 775 #endif +#if defined(ARPHRD_BIF) || (defined(HAVE_DECL_ARPHRD_BIF) && HAVE_DECL_ARPHRD_BIF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_BIF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_BIF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_BIF) +#endif #if defined(ARPHRD_SIT) || (defined(HAVE_DECL_ARPHRD_SIT) && HAVE_DECL_ARPHRD_SIT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_SIT) == (776), "ARPHRD_SIT != 776"); @@ -283,6 +690,16 @@ #else # define ARPHRD_SIT 776 #endif +#if defined(ARPHRD_SIT) || (defined(HAVE_DECL_ARPHRD_SIT) && HAVE_DECL_ARPHRD_SIT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_SIT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_SIT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_SIT) +#endif #if defined(ARPHRD_IPDDP) || (defined(HAVE_DECL_ARPHRD_IPDDP) && HAVE_DECL_ARPHRD_IPDDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IPDDP) == (777), "ARPHRD_IPDDP != 777"); @@ -290,6 +707,16 @@ #else # define ARPHRD_IPDDP 777 #endif +#if defined(ARPHRD_IPDDP) || (defined(HAVE_DECL_ARPHRD_IPDDP) && HAVE_DECL_ARPHRD_IPDDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IPDDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IPDDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IPDDP) +#endif #if defined(ARPHRD_IPGRE) || (defined(HAVE_DECL_ARPHRD_IPGRE) && HAVE_DECL_ARPHRD_IPGRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IPGRE) == (778), "ARPHRD_IPGRE != 778"); @@ -297,6 +724,16 @@ #else # define ARPHRD_IPGRE 778 #endif +#if defined(ARPHRD_IPGRE) || (defined(HAVE_DECL_ARPHRD_IPGRE) && HAVE_DECL_ARPHRD_IPGRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IPGRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IPGRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IPGRE) +#endif #if defined(ARPHRD_PIMREG) || (defined(HAVE_DECL_ARPHRD_PIMREG) && HAVE_DECL_ARPHRD_PIMREG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_PIMREG) == (779), "ARPHRD_PIMREG != 779"); @@ -304,6 +741,16 @@ #else # define ARPHRD_PIMREG 779 #endif +#if defined(ARPHRD_PIMREG) || (defined(HAVE_DECL_ARPHRD_PIMREG) && HAVE_DECL_ARPHRD_PIMREG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_PIMREG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_PIMREG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_PIMREG) +#endif #if defined(ARPHRD_HIPPI) || (defined(HAVE_DECL_ARPHRD_HIPPI) && HAVE_DECL_ARPHRD_HIPPI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_HIPPI) == (780), "ARPHRD_HIPPI != 780"); @@ -311,6 +758,16 @@ #else # define ARPHRD_HIPPI 780 #endif +#if defined(ARPHRD_HIPPI) || (defined(HAVE_DECL_ARPHRD_HIPPI) && HAVE_DECL_ARPHRD_HIPPI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_HIPPI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_HIPPI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_HIPPI) +#endif #if defined(ARPHRD_ASH) || (defined(HAVE_DECL_ARPHRD_ASH) && HAVE_DECL_ARPHRD_ASH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ASH) == (781), "ARPHRD_ASH != 781"); @@ -318,6 +775,16 @@ #else # define ARPHRD_ASH 781 #endif +#if defined(ARPHRD_ASH) || (defined(HAVE_DECL_ARPHRD_ASH) && HAVE_DECL_ARPHRD_ASH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ASH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ASH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ASH) +#endif #if defined(ARPHRD_ECONET) || (defined(HAVE_DECL_ARPHRD_ECONET) && HAVE_DECL_ARPHRD_ECONET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_ECONET) == (782), "ARPHRD_ECONET != 782"); @@ -325,6 +792,16 @@ #else # define ARPHRD_ECONET 782 #endif +#if defined(ARPHRD_ECONET) || (defined(HAVE_DECL_ARPHRD_ECONET) && HAVE_DECL_ARPHRD_ECONET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_ECONET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_ECONET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_ECONET) +#endif #if defined(ARPHRD_IRDA) || (defined(HAVE_DECL_ARPHRD_IRDA) && HAVE_DECL_ARPHRD_IRDA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IRDA) == (783), "ARPHRD_IRDA != 783"); @@ -332,6 +809,16 @@ #else # define ARPHRD_IRDA 783 #endif +#if defined(ARPHRD_IRDA) || (defined(HAVE_DECL_ARPHRD_IRDA) && HAVE_DECL_ARPHRD_IRDA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IRDA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IRDA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IRDA) +#endif #if defined(ARPHRD_FCPP) || (defined(HAVE_DECL_ARPHRD_FCPP) && HAVE_DECL_ARPHRD_FCPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FCPP) == (784), "ARPHRD_FCPP != 784"); @@ -339,6 +826,16 @@ #else # define ARPHRD_FCPP 784 #endif +#if defined(ARPHRD_FCPP) || (defined(HAVE_DECL_ARPHRD_FCPP) && HAVE_DECL_ARPHRD_FCPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FCPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FCPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FCPP) +#endif #if defined(ARPHRD_FCAL) || (defined(HAVE_DECL_ARPHRD_FCAL) && HAVE_DECL_ARPHRD_FCAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FCAL) == (785), "ARPHRD_FCAL != 785"); @@ -346,6 +843,16 @@ #else # define ARPHRD_FCAL 785 #endif +#if defined(ARPHRD_FCAL) || (defined(HAVE_DECL_ARPHRD_FCAL) && HAVE_DECL_ARPHRD_FCAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FCAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FCAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FCAL) +#endif #if defined(ARPHRD_FCPL) || (defined(HAVE_DECL_ARPHRD_FCPL) && HAVE_DECL_ARPHRD_FCPL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FCPL) == (786), "ARPHRD_FCPL != 786"); @@ -353,6 +860,16 @@ #else # define ARPHRD_FCPL 786 #endif +#if defined(ARPHRD_FCPL) || (defined(HAVE_DECL_ARPHRD_FCPL) && HAVE_DECL_ARPHRD_FCPL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FCPL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FCPL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FCPL) +#endif #if defined(ARPHRD_FCFABRIC) || (defined(HAVE_DECL_ARPHRD_FCFABRIC) && HAVE_DECL_ARPHRD_FCFABRIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_FCFABRIC) == (787), "ARPHRD_FCFABRIC != 787"); @@ -360,6 +877,16 @@ #else # define ARPHRD_FCFABRIC 787 #endif +#if defined(ARPHRD_FCFABRIC) || (defined(HAVE_DECL_ARPHRD_FCFABRIC) && HAVE_DECL_ARPHRD_FCFABRIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_FCFABRIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_FCFABRIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_FCFABRIC) +#endif #if defined(ARPHRD_IEEE802_TR) || (defined(HAVE_DECL_ARPHRD_IEEE802_TR) && HAVE_DECL_ARPHRD_IEEE802_TR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE802_TR) == (800), "ARPHRD_IEEE802_TR != 800"); @@ -367,6 +894,16 @@ #else # define ARPHRD_IEEE802_TR 800 #endif +#if defined(ARPHRD_IEEE802_TR) || (defined(HAVE_DECL_ARPHRD_IEEE802_TR) && HAVE_DECL_ARPHRD_IEEE802_TR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE802_TR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE802_TR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE802_TR) +#endif #if defined(ARPHRD_IEEE80211) || (defined(HAVE_DECL_ARPHRD_IEEE80211) && HAVE_DECL_ARPHRD_IEEE80211) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE80211) == (801), "ARPHRD_IEEE80211 != 801"); @@ -374,6 +911,16 @@ #else # define ARPHRD_IEEE80211 801 #endif +#if defined(ARPHRD_IEEE80211) || (defined(HAVE_DECL_ARPHRD_IEEE80211) && HAVE_DECL_ARPHRD_IEEE80211) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE80211) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE80211" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE80211) +#endif #if defined(ARPHRD_IEEE80211_PRISM) || (defined(HAVE_DECL_ARPHRD_IEEE80211_PRISM) && HAVE_DECL_ARPHRD_IEEE80211_PRISM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE80211_PRISM) == (802), "ARPHRD_IEEE80211_PRISM != 802"); @@ -381,6 +928,16 @@ #else # define ARPHRD_IEEE80211_PRISM 802 #endif +#if defined(ARPHRD_IEEE80211_PRISM) || (defined(HAVE_DECL_ARPHRD_IEEE80211_PRISM) && HAVE_DECL_ARPHRD_IEEE80211_PRISM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE80211_PRISM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE80211_PRISM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE80211_PRISM) +#endif #if defined(ARPHRD_IEEE80211_RADIOTAP) || (defined(HAVE_DECL_ARPHRD_IEEE80211_RADIOTAP) && HAVE_DECL_ARPHRD_IEEE80211_RADIOTAP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE80211_RADIOTAP) == (803), "ARPHRD_IEEE80211_RADIOTAP != 803"); @@ -388,6 +945,16 @@ #else # define ARPHRD_IEEE80211_RADIOTAP 803 #endif +#if defined(ARPHRD_IEEE80211_RADIOTAP) || (defined(HAVE_DECL_ARPHRD_IEEE80211_RADIOTAP) && HAVE_DECL_ARPHRD_IEEE80211_RADIOTAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE80211_RADIOTAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE80211_RADIOTAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE80211_RADIOTAP) +#endif #if defined(ARPHRD_IEEE802154) || (defined(HAVE_DECL_ARPHRD_IEEE802154) && HAVE_DECL_ARPHRD_IEEE802154) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE802154) == (804), "ARPHRD_IEEE802154 != 804"); @@ -395,6 +962,16 @@ #else # define ARPHRD_IEEE802154 804 #endif +#if defined(ARPHRD_IEEE802154) || (defined(HAVE_DECL_ARPHRD_IEEE802154) && HAVE_DECL_ARPHRD_IEEE802154) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE802154) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE802154" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE802154) +#endif #if defined(ARPHRD_IEEE802154_MONITOR) || (defined(HAVE_DECL_ARPHRD_IEEE802154_MONITOR) && HAVE_DECL_ARPHRD_IEEE802154_MONITOR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IEEE802154_MONITOR) == (805), "ARPHRD_IEEE802154_MONITOR != 805"); @@ -402,6 +979,16 @@ #else # define ARPHRD_IEEE802154_MONITOR 805 #endif +#if defined(ARPHRD_IEEE802154_MONITOR) || (defined(HAVE_DECL_ARPHRD_IEEE802154_MONITOR) && HAVE_DECL_ARPHRD_IEEE802154_MONITOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IEEE802154_MONITOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IEEE802154_MONITOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IEEE802154_MONITOR) +#endif #if defined(ARPHRD_PHONET) || (defined(HAVE_DECL_ARPHRD_PHONET) && HAVE_DECL_ARPHRD_PHONET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_PHONET) == (820), "ARPHRD_PHONET != 820"); @@ -409,6 +996,16 @@ #else # define ARPHRD_PHONET 820 #endif +#if defined(ARPHRD_PHONET) || (defined(HAVE_DECL_ARPHRD_PHONET) && HAVE_DECL_ARPHRD_PHONET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_PHONET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_PHONET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_PHONET) +#endif #if defined(ARPHRD_PHONET_PIPE) || (defined(HAVE_DECL_ARPHRD_PHONET_PIPE) && HAVE_DECL_ARPHRD_PHONET_PIPE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_PHONET_PIPE) == (821), "ARPHRD_PHONET_PIPE != 821"); @@ -416,6 +1013,16 @@ #else # define ARPHRD_PHONET_PIPE 821 #endif +#if defined(ARPHRD_PHONET_PIPE) || (defined(HAVE_DECL_ARPHRD_PHONET_PIPE) && HAVE_DECL_ARPHRD_PHONET_PIPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_PHONET_PIPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_PHONET_PIPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_PHONET_PIPE) +#endif #if defined(ARPHRD_CAIF) || (defined(HAVE_DECL_ARPHRD_CAIF) && HAVE_DECL_ARPHRD_CAIF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_CAIF) == (822), "ARPHRD_CAIF != 822"); @@ -423,6 +1030,16 @@ #else # define ARPHRD_CAIF 822 #endif +#if defined(ARPHRD_CAIF) || (defined(HAVE_DECL_ARPHRD_CAIF) && HAVE_DECL_ARPHRD_CAIF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_CAIF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_CAIF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_CAIF) +#endif #if defined(ARPHRD_IP6GRE) || (defined(HAVE_DECL_ARPHRD_IP6GRE) && HAVE_DECL_ARPHRD_IP6GRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_IP6GRE) == (823), "ARPHRD_IP6GRE != 823"); @@ -430,6 +1047,16 @@ #else # define ARPHRD_IP6GRE 823 #endif +#if defined(ARPHRD_IP6GRE) || (defined(HAVE_DECL_ARPHRD_IP6GRE) && HAVE_DECL_ARPHRD_IP6GRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_IP6GRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_IP6GRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_IP6GRE) +#endif #if defined(ARPHRD_NETLINK) || (defined(HAVE_DECL_ARPHRD_NETLINK) && HAVE_DECL_ARPHRD_NETLINK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_NETLINK) == (824), "ARPHRD_NETLINK != 824"); @@ -437,6 +1064,16 @@ #else # define ARPHRD_NETLINK 824 #endif +#if defined(ARPHRD_NETLINK) || (defined(HAVE_DECL_ARPHRD_NETLINK) && HAVE_DECL_ARPHRD_NETLINK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_NETLINK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_NETLINK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_NETLINK) +#endif #if defined(ARPHRD_6LOWPAN) || (defined(HAVE_DECL_ARPHRD_6LOWPAN) && HAVE_DECL_ARPHRD_6LOWPAN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_6LOWPAN) == (825), "ARPHRD_6LOWPAN != 825"); @@ -444,6 +1081,16 @@ #else # define ARPHRD_6LOWPAN 825 #endif +#if defined(ARPHRD_6LOWPAN) || (defined(HAVE_DECL_ARPHRD_6LOWPAN) && HAVE_DECL_ARPHRD_6LOWPAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_6LOWPAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_6LOWPAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_6LOWPAN) +#endif #if defined(ARPHRD_VSOCKMON) || (defined(HAVE_DECL_ARPHRD_VSOCKMON) && HAVE_DECL_ARPHRD_VSOCKMON) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_VSOCKMON) == (826), "ARPHRD_VSOCKMON != 826"); @@ -451,6 +1098,16 @@ #else # define ARPHRD_VSOCKMON 826 #endif +#if defined(ARPHRD_VSOCKMON) || (defined(HAVE_DECL_ARPHRD_VSOCKMON) && HAVE_DECL_ARPHRD_VSOCKMON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_VSOCKMON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_VSOCKMON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_VSOCKMON) +#endif #if defined(ARPHRD_NONE) || (defined(HAVE_DECL_ARPHRD_NONE) && HAVE_DECL_ARPHRD_NONE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_NONE) == (0xFFFE), "ARPHRD_NONE != 0xFFFE"); @@ -458,6 +1115,16 @@ #else # define ARPHRD_NONE 0xFFFE #endif +#if defined(ARPHRD_NONE) || (defined(HAVE_DECL_ARPHRD_NONE) && HAVE_DECL_ARPHRD_NONE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_NONE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_NONE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_NONE) +#endif #if defined(ARPHRD_VOID) || (defined(HAVE_DECL_ARPHRD_VOID) && HAVE_DECL_ARPHRD_VOID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ARPHRD_VOID) == (0xFFFF), "ARPHRD_VOID != 0xFFFF"); @@ -465,6 +1132,17 @@ #else # define ARPHRD_VOID 0xFFFF #endif +#if defined(ARPHRD_VOID) || (defined(HAVE_DECL_ARPHRD_VOID) && HAVE_DECL_ARPHRD_VOID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ARPHRD_VOID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ARPHRD_VOID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ARPHRD_VOID) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -547,129 +1225,132 @@ XLAT(ARPHRD_CAN), #define XLAT_VAL_24 ((unsigned) (ARPHRD_CAN)) #define XLAT_STR_24 STRINGIFY(ARPHRD_CAN) + XLAT(ARPHRD_MCTP), + #define XLAT_VAL_25 ((unsigned) (ARPHRD_MCTP)) + #define XLAT_STR_25 STRINGIFY(ARPHRD_MCTP) XLAT(ARPHRD_PPP), - #define XLAT_VAL_25 ((unsigned) (ARPHRD_PPP)) - #define XLAT_STR_25 STRINGIFY(ARPHRD_PPP) + #define XLAT_VAL_26 ((unsigned) (ARPHRD_PPP)) + #define XLAT_STR_26 STRINGIFY(ARPHRD_PPP) XLAT(ARPHRD_CISCO), - #define XLAT_VAL_26 ((unsigned) (ARPHRD_CISCO)) - #define XLAT_STR_26 STRINGIFY(ARPHRD_CISCO) + #define XLAT_VAL_27 ((unsigned) (ARPHRD_CISCO)) + #define XLAT_STR_27 STRINGIFY(ARPHRD_CISCO) XLAT(ARPHRD_LAPB), - #define XLAT_VAL_27 ((unsigned) (ARPHRD_LAPB)) - #define XLAT_STR_27 STRINGIFY(ARPHRD_LAPB) + #define XLAT_VAL_28 ((unsigned) (ARPHRD_LAPB)) + #define XLAT_STR_28 STRINGIFY(ARPHRD_LAPB) XLAT(ARPHRD_DDCMP), - #define XLAT_VAL_28 ((unsigned) (ARPHRD_DDCMP)) - #define XLAT_STR_28 STRINGIFY(ARPHRD_DDCMP) + #define XLAT_VAL_29 ((unsigned) (ARPHRD_DDCMP)) + #define XLAT_STR_29 STRINGIFY(ARPHRD_DDCMP) XLAT(ARPHRD_RAWHDLC), - #define XLAT_VAL_29 ((unsigned) (ARPHRD_RAWHDLC)) - #define XLAT_STR_29 STRINGIFY(ARPHRD_RAWHDLC) + #define XLAT_VAL_30 ((unsigned) (ARPHRD_RAWHDLC)) + #define XLAT_STR_30 STRINGIFY(ARPHRD_RAWHDLC) XLAT(ARPHRD_RAWIP), - #define XLAT_VAL_30 ((unsigned) (ARPHRD_RAWIP)) - #define XLAT_STR_30 STRINGIFY(ARPHRD_RAWIP) + #define XLAT_VAL_31 ((unsigned) (ARPHRD_RAWIP)) + #define XLAT_STR_31 STRINGIFY(ARPHRD_RAWIP) XLAT(ARPHRD_TUNNEL), - #define XLAT_VAL_31 ((unsigned) (ARPHRD_TUNNEL)) - #define XLAT_STR_31 STRINGIFY(ARPHRD_TUNNEL) + #define XLAT_VAL_32 ((unsigned) (ARPHRD_TUNNEL)) + #define XLAT_STR_32 STRINGIFY(ARPHRD_TUNNEL) XLAT(ARPHRD_TUNNEL6), - #define XLAT_VAL_32 ((unsigned) (ARPHRD_TUNNEL6)) - #define XLAT_STR_32 STRINGIFY(ARPHRD_TUNNEL6) + #define XLAT_VAL_33 ((unsigned) (ARPHRD_TUNNEL6)) + #define XLAT_STR_33 STRINGIFY(ARPHRD_TUNNEL6) XLAT(ARPHRD_FRAD), - #define XLAT_VAL_33 ((unsigned) (ARPHRD_FRAD)) - #define XLAT_STR_33 STRINGIFY(ARPHRD_FRAD) + #define XLAT_VAL_34 ((unsigned) (ARPHRD_FRAD)) + #define XLAT_STR_34 STRINGIFY(ARPHRD_FRAD) XLAT(ARPHRD_SKIP), - #define XLAT_VAL_34 ((unsigned) (ARPHRD_SKIP)) - #define XLAT_STR_34 STRINGIFY(ARPHRD_SKIP) + #define XLAT_VAL_35 ((unsigned) (ARPHRD_SKIP)) + #define XLAT_STR_35 STRINGIFY(ARPHRD_SKIP) XLAT(ARPHRD_LOOPBACK), - #define XLAT_VAL_35 ((unsigned) (ARPHRD_LOOPBACK)) - #define XLAT_STR_35 STRINGIFY(ARPHRD_LOOPBACK) + #define XLAT_VAL_36 ((unsigned) (ARPHRD_LOOPBACK)) + #define XLAT_STR_36 STRINGIFY(ARPHRD_LOOPBACK) XLAT(ARPHRD_LOCALTLK), - #define XLAT_VAL_36 ((unsigned) (ARPHRD_LOCALTLK)) - #define XLAT_STR_36 STRINGIFY(ARPHRD_LOCALTLK) + #define XLAT_VAL_37 ((unsigned) (ARPHRD_LOCALTLK)) + #define XLAT_STR_37 STRINGIFY(ARPHRD_LOCALTLK) XLAT(ARPHRD_FDDI), - #define XLAT_VAL_37 ((unsigned) (ARPHRD_FDDI)) - #define XLAT_STR_37 STRINGIFY(ARPHRD_FDDI) + #define XLAT_VAL_38 ((unsigned) (ARPHRD_FDDI)) + #define XLAT_STR_38 STRINGIFY(ARPHRD_FDDI) XLAT(ARPHRD_BIF), - #define XLAT_VAL_38 ((unsigned) (ARPHRD_BIF)) - #define XLAT_STR_38 STRINGIFY(ARPHRD_BIF) + #define XLAT_VAL_39 ((unsigned) (ARPHRD_BIF)) + #define XLAT_STR_39 STRINGIFY(ARPHRD_BIF) XLAT(ARPHRD_SIT), - #define XLAT_VAL_39 ((unsigned) (ARPHRD_SIT)) - #define XLAT_STR_39 STRINGIFY(ARPHRD_SIT) + #define XLAT_VAL_40 ((unsigned) (ARPHRD_SIT)) + #define XLAT_STR_40 STRINGIFY(ARPHRD_SIT) XLAT(ARPHRD_IPDDP), - #define XLAT_VAL_40 ((unsigned) (ARPHRD_IPDDP)) - #define XLAT_STR_40 STRINGIFY(ARPHRD_IPDDP) + #define XLAT_VAL_41 ((unsigned) (ARPHRD_IPDDP)) + #define XLAT_STR_41 STRINGIFY(ARPHRD_IPDDP) XLAT(ARPHRD_IPGRE), - #define XLAT_VAL_41 ((unsigned) (ARPHRD_IPGRE)) - #define XLAT_STR_41 STRINGIFY(ARPHRD_IPGRE) + #define XLAT_VAL_42 ((unsigned) (ARPHRD_IPGRE)) + #define XLAT_STR_42 STRINGIFY(ARPHRD_IPGRE) XLAT(ARPHRD_PIMREG), - #define XLAT_VAL_42 ((unsigned) (ARPHRD_PIMREG)) - #define XLAT_STR_42 STRINGIFY(ARPHRD_PIMREG) + #define XLAT_VAL_43 ((unsigned) (ARPHRD_PIMREG)) + #define XLAT_STR_43 STRINGIFY(ARPHRD_PIMREG) XLAT(ARPHRD_HIPPI), - #define XLAT_VAL_43 ((unsigned) (ARPHRD_HIPPI)) - #define XLAT_STR_43 STRINGIFY(ARPHRD_HIPPI) + #define XLAT_VAL_44 ((unsigned) (ARPHRD_HIPPI)) + #define XLAT_STR_44 STRINGIFY(ARPHRD_HIPPI) XLAT(ARPHRD_ASH), - #define XLAT_VAL_44 ((unsigned) (ARPHRD_ASH)) - #define XLAT_STR_44 STRINGIFY(ARPHRD_ASH) + #define XLAT_VAL_45 ((unsigned) (ARPHRD_ASH)) + #define XLAT_STR_45 STRINGIFY(ARPHRD_ASH) XLAT(ARPHRD_ECONET), - #define XLAT_VAL_45 ((unsigned) (ARPHRD_ECONET)) - #define XLAT_STR_45 STRINGIFY(ARPHRD_ECONET) + #define XLAT_VAL_46 ((unsigned) (ARPHRD_ECONET)) + #define XLAT_STR_46 STRINGIFY(ARPHRD_ECONET) XLAT(ARPHRD_IRDA), - #define XLAT_VAL_46 ((unsigned) (ARPHRD_IRDA)) - #define XLAT_STR_46 STRINGIFY(ARPHRD_IRDA) + #define XLAT_VAL_47 ((unsigned) (ARPHRD_IRDA)) + #define XLAT_STR_47 STRINGIFY(ARPHRD_IRDA) XLAT(ARPHRD_FCPP), - #define XLAT_VAL_47 ((unsigned) (ARPHRD_FCPP)) - #define XLAT_STR_47 STRINGIFY(ARPHRD_FCPP) + #define XLAT_VAL_48 ((unsigned) (ARPHRD_FCPP)) + #define XLAT_STR_48 STRINGIFY(ARPHRD_FCPP) XLAT(ARPHRD_FCAL), - #define XLAT_VAL_48 ((unsigned) (ARPHRD_FCAL)) - #define XLAT_STR_48 STRINGIFY(ARPHRD_FCAL) + #define XLAT_VAL_49 ((unsigned) (ARPHRD_FCAL)) + #define XLAT_STR_49 STRINGIFY(ARPHRD_FCAL) XLAT(ARPHRD_FCPL), - #define XLAT_VAL_49 ((unsigned) (ARPHRD_FCPL)) - #define XLAT_STR_49 STRINGIFY(ARPHRD_FCPL) + #define XLAT_VAL_50 ((unsigned) (ARPHRD_FCPL)) + #define XLAT_STR_50 STRINGIFY(ARPHRD_FCPL) XLAT(ARPHRD_FCFABRIC), - #define XLAT_VAL_50 ((unsigned) (ARPHRD_FCFABRIC)) - #define XLAT_STR_50 STRINGIFY(ARPHRD_FCFABRIC) + #define XLAT_VAL_51 ((unsigned) (ARPHRD_FCFABRIC)) + #define XLAT_STR_51 STRINGIFY(ARPHRD_FCFABRIC) XLAT(ARPHRD_IEEE802_TR), - #define XLAT_VAL_51 ((unsigned) (ARPHRD_IEEE802_TR)) - #define XLAT_STR_51 STRINGIFY(ARPHRD_IEEE802_TR) + #define XLAT_VAL_52 ((unsigned) (ARPHRD_IEEE802_TR)) + #define XLAT_STR_52 STRINGIFY(ARPHRD_IEEE802_TR) XLAT(ARPHRD_IEEE80211), - #define XLAT_VAL_52 ((unsigned) (ARPHRD_IEEE80211)) - #define XLAT_STR_52 STRINGIFY(ARPHRD_IEEE80211) + #define XLAT_VAL_53 ((unsigned) (ARPHRD_IEEE80211)) + #define XLAT_STR_53 STRINGIFY(ARPHRD_IEEE80211) XLAT(ARPHRD_IEEE80211_PRISM), - #define XLAT_VAL_53 ((unsigned) (ARPHRD_IEEE80211_PRISM)) - #define XLAT_STR_53 STRINGIFY(ARPHRD_IEEE80211_PRISM) + #define XLAT_VAL_54 ((unsigned) (ARPHRD_IEEE80211_PRISM)) + #define XLAT_STR_54 STRINGIFY(ARPHRD_IEEE80211_PRISM) XLAT(ARPHRD_IEEE80211_RADIOTAP), - #define XLAT_VAL_54 ((unsigned) (ARPHRD_IEEE80211_RADIOTAP)) - #define XLAT_STR_54 STRINGIFY(ARPHRD_IEEE80211_RADIOTAP) + #define XLAT_VAL_55 ((unsigned) (ARPHRD_IEEE80211_RADIOTAP)) + #define XLAT_STR_55 STRINGIFY(ARPHRD_IEEE80211_RADIOTAP) XLAT(ARPHRD_IEEE802154), - #define XLAT_VAL_55 ((unsigned) (ARPHRD_IEEE802154)) - #define XLAT_STR_55 STRINGIFY(ARPHRD_IEEE802154) + #define XLAT_VAL_56 ((unsigned) (ARPHRD_IEEE802154)) + #define XLAT_STR_56 STRINGIFY(ARPHRD_IEEE802154) XLAT(ARPHRD_IEEE802154_MONITOR), - #define XLAT_VAL_56 ((unsigned) (ARPHRD_IEEE802154_MONITOR)) - #define XLAT_STR_56 STRINGIFY(ARPHRD_IEEE802154_MONITOR) + #define XLAT_VAL_57 ((unsigned) (ARPHRD_IEEE802154_MONITOR)) + #define XLAT_STR_57 STRINGIFY(ARPHRD_IEEE802154_MONITOR) XLAT(ARPHRD_PHONET), - #define XLAT_VAL_57 ((unsigned) (ARPHRD_PHONET)) - #define XLAT_STR_57 STRINGIFY(ARPHRD_PHONET) + #define XLAT_VAL_58 ((unsigned) (ARPHRD_PHONET)) + #define XLAT_STR_58 STRINGIFY(ARPHRD_PHONET) XLAT(ARPHRD_PHONET_PIPE), - #define XLAT_VAL_58 ((unsigned) (ARPHRD_PHONET_PIPE)) - #define XLAT_STR_58 STRINGIFY(ARPHRD_PHONET_PIPE) + #define XLAT_VAL_59 ((unsigned) (ARPHRD_PHONET_PIPE)) + #define XLAT_STR_59 STRINGIFY(ARPHRD_PHONET_PIPE) XLAT(ARPHRD_CAIF), - #define XLAT_VAL_59 ((unsigned) (ARPHRD_CAIF)) - #define XLAT_STR_59 STRINGIFY(ARPHRD_CAIF) + #define XLAT_VAL_60 ((unsigned) (ARPHRD_CAIF)) + #define XLAT_STR_60 STRINGIFY(ARPHRD_CAIF) XLAT(ARPHRD_IP6GRE), - #define XLAT_VAL_60 ((unsigned) (ARPHRD_IP6GRE)) - #define XLAT_STR_60 STRINGIFY(ARPHRD_IP6GRE) + #define XLAT_VAL_61 ((unsigned) (ARPHRD_IP6GRE)) + #define XLAT_STR_61 STRINGIFY(ARPHRD_IP6GRE) XLAT(ARPHRD_NETLINK), - #define XLAT_VAL_61 ((unsigned) (ARPHRD_NETLINK)) - #define XLAT_STR_61 STRINGIFY(ARPHRD_NETLINK) + #define XLAT_VAL_62 ((unsigned) (ARPHRD_NETLINK)) + #define XLAT_STR_62 STRINGIFY(ARPHRD_NETLINK) XLAT(ARPHRD_6LOWPAN), - #define XLAT_VAL_62 ((unsigned) (ARPHRD_6LOWPAN)) - #define XLAT_STR_62 STRINGIFY(ARPHRD_6LOWPAN) + #define XLAT_VAL_63 ((unsigned) (ARPHRD_6LOWPAN)) + #define XLAT_STR_63 STRINGIFY(ARPHRD_6LOWPAN) XLAT(ARPHRD_VSOCKMON), - #define XLAT_VAL_63 ((unsigned) (ARPHRD_VSOCKMON)) - #define XLAT_STR_63 STRINGIFY(ARPHRD_VSOCKMON) + #define XLAT_VAL_64 ((unsigned) (ARPHRD_VSOCKMON)) + #define XLAT_STR_64 STRINGIFY(ARPHRD_VSOCKMON) XLAT(ARPHRD_NONE), - #define XLAT_VAL_64 ((unsigned) (ARPHRD_NONE)) - #define XLAT_STR_64 STRINGIFY(ARPHRD_NONE) + #define XLAT_VAL_65 ((unsigned) (ARPHRD_NONE)) + #define XLAT_STR_65 STRINGIFY(ARPHRD_NONE) XLAT(ARPHRD_VOID), - #define XLAT_VAL_65 ((unsigned) (ARPHRD_VOID)) - #define XLAT_STR_65 STRINGIFY(ARPHRD_VOID) + #define XLAT_VAL_66 ((unsigned) (ARPHRD_VOID)) + #define XLAT_STR_66 STRINGIFY(ARPHRD_VOID) }; const struct xlat arp_hardware_types1 = { { .data = arp_hardware_types_xdata, @@ -874,6 +1555,9 @@ # ifdef XLAT_VAL_65 | XLAT_VAL_65 # endif +# ifdef XLAT_VAL_66 + | XLAT_VAL_66 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1074,6 +1758,9 @@ # ifdef XLAT_STR_65 + sizeof(XLAT_STR_65) # endif +# ifdef XLAT_STR_66 + + sizeof(XLAT_STR_66) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -1210,6 +1897,8 @@ # undef XLAT_VAL_64 # undef XLAT_STR_65 # undef XLAT_VAL_65 +# undef XLAT_STR_66 +# undef XLAT_VAL_66 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/arp_hardware_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/arp_hardware_types.in
Changed
@@ -24,6 +24,7 @@ ARPHRD_X25 271 ARPHRD_HWX25 272 ARPHRD_CAN 280 +ARPHRD_MCTP 290 ARPHRD_PPP 512 ARPHRD_CISCO 513 ARPHRD_LAPB 516
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/at_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/at_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/at_statx_sync_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/at_statx_sync_types.h
Changed
@@ -31,6 +31,7 @@ #else # define AT_STATX_SYNC_TYPE 0x6000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/atomic_ops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/atomic_ops.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/audit_arch.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/audit_arch.h
Changed
@@ -131,6 +131,20 @@ #else # define AUDIT_ARCH_IA64 (EM_IA_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) #endif +#if defined(AUDIT_ARCH_LOONGARCH32) || (defined(HAVE_DECL_AUDIT_ARCH_LOONGARCH32) && HAVE_DECL_AUDIT_ARCH_LOONGARCH32) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_ARCH_LOONGARCH32) == ((EM_LOONGARCH|__AUDIT_ARCH_LE)), "AUDIT_ARCH_LOONGARCH32 != (EM_LOONGARCH|__AUDIT_ARCH_LE)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_ARCH_LOONGARCH32 (EM_LOONGARCH|__AUDIT_ARCH_LE) +#endif +#if defined(AUDIT_ARCH_LOONGARCH64) || (defined(HAVE_DECL_AUDIT_ARCH_LOONGARCH64) && HAVE_DECL_AUDIT_ARCH_LOONGARCH64) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_ARCH_LOONGARCH64) == ((EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)), "AUDIT_ARCH_LOONGARCH64 != (EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_ARCH_LOONGARCH64 (EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +#endif #if defined(AUDIT_ARCH_M32R) || (defined(HAVE_DECL_AUDIT_ARCH_M32R) && HAVE_DECL_AUDIT_ARCH_M32R) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ARCH_M32R) == ((EM_M32R)), "AUDIT_ARCH_M32R != (EM_M32R)"); @@ -376,6 +390,7 @@ #else # define AUDIT_ARCH_XTENSA (EM_XTENSA) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -444,111 +459,117 @@ XLAT(AUDIT_ARCH_IA64), #define XLAT_VAL_16 ((unsigned) (AUDIT_ARCH_IA64)) #define XLAT_STR_16 STRINGIFY(AUDIT_ARCH_IA64) + XLAT(AUDIT_ARCH_LOONGARCH32), + #define XLAT_VAL_17 ((unsigned) (AUDIT_ARCH_LOONGARCH32)) + #define XLAT_STR_17 STRINGIFY(AUDIT_ARCH_LOONGARCH32) + XLAT(AUDIT_ARCH_LOONGARCH64), + #define XLAT_VAL_18 ((unsigned) (AUDIT_ARCH_LOONGARCH64)) + #define XLAT_STR_18 STRINGIFY(AUDIT_ARCH_LOONGARCH64) XLAT(AUDIT_ARCH_M32R), - #define XLAT_VAL_17 ((unsigned) (AUDIT_ARCH_M32R)) - #define XLAT_STR_17 STRINGIFY(AUDIT_ARCH_M32R) + #define XLAT_VAL_19 ((unsigned) (AUDIT_ARCH_M32R)) + #define XLAT_STR_19 STRINGIFY(AUDIT_ARCH_M32R) XLAT(AUDIT_ARCH_M68K), - #define XLAT_VAL_18 ((unsigned) (AUDIT_ARCH_M68K)) - #define XLAT_STR_18 STRINGIFY(AUDIT_ARCH_M68K) + #define XLAT_VAL_20 ((unsigned) (AUDIT_ARCH_M68K)) + #define XLAT_STR_20 STRINGIFY(AUDIT_ARCH_M68K) XLAT(AUDIT_ARCH_MICROBLAZE), - #define XLAT_VAL_19 ((unsigned) (AUDIT_ARCH_MICROBLAZE)) - #define XLAT_STR_19 STRINGIFY(AUDIT_ARCH_MICROBLAZE) + #define XLAT_VAL_21 ((unsigned) (AUDIT_ARCH_MICROBLAZE)) + #define XLAT_STR_21 STRINGIFY(AUDIT_ARCH_MICROBLAZE) XLAT(AUDIT_ARCH_MIPS), - #define XLAT_VAL_20 ((unsigned) (AUDIT_ARCH_MIPS)) - #define XLAT_STR_20 STRINGIFY(AUDIT_ARCH_MIPS) + #define XLAT_VAL_22 ((unsigned) (AUDIT_ARCH_MIPS)) + #define XLAT_STR_22 STRINGIFY(AUDIT_ARCH_MIPS) XLAT(AUDIT_ARCH_MIPS64), - #define XLAT_VAL_21 ((unsigned) (AUDIT_ARCH_MIPS64)) - #define XLAT_STR_21 STRINGIFY(AUDIT_ARCH_MIPS64) + #define XLAT_VAL_23 ((unsigned) (AUDIT_ARCH_MIPS64)) + #define XLAT_STR_23 STRINGIFY(AUDIT_ARCH_MIPS64) XLAT(AUDIT_ARCH_MIPS64N32), - #define XLAT_VAL_22 ((unsigned) (AUDIT_ARCH_MIPS64N32)) - #define XLAT_STR_22 STRINGIFY(AUDIT_ARCH_MIPS64N32) + #define XLAT_VAL_24 ((unsigned) (AUDIT_ARCH_MIPS64N32)) + #define XLAT_STR_24 STRINGIFY(AUDIT_ARCH_MIPS64N32) XLAT(AUDIT_ARCH_MIPSEL), - #define XLAT_VAL_23 ((unsigned) (AUDIT_ARCH_MIPSEL)) - #define XLAT_STR_23 STRINGIFY(AUDIT_ARCH_MIPSEL) + #define XLAT_VAL_25 ((unsigned) (AUDIT_ARCH_MIPSEL)) + #define XLAT_STR_25 STRINGIFY(AUDIT_ARCH_MIPSEL) XLAT(AUDIT_ARCH_MIPSEL64), - #define XLAT_VAL_24 ((unsigned) (AUDIT_ARCH_MIPSEL64)) - #define XLAT_STR_24 STRINGIFY(AUDIT_ARCH_MIPSEL64) + #define XLAT_VAL_26 ((unsigned) (AUDIT_ARCH_MIPSEL64)) + #define XLAT_STR_26 STRINGIFY(AUDIT_ARCH_MIPSEL64) XLAT(AUDIT_ARCH_MIPSEL64N32), - #define XLAT_VAL_25 ((unsigned) (AUDIT_ARCH_MIPSEL64N32)) - #define XLAT_STR_25 STRINGIFY(AUDIT_ARCH_MIPSEL64N32) + #define XLAT_VAL_27 ((unsigned) (AUDIT_ARCH_MIPSEL64N32)) + #define XLAT_STR_27 STRINGIFY(AUDIT_ARCH_MIPSEL64N32) XLAT(AUDIT_ARCH_NDS32), - #define XLAT_VAL_26 ((unsigned) (AUDIT_ARCH_NDS32)) - #define XLAT_STR_26 STRINGIFY(AUDIT_ARCH_NDS32) + #define XLAT_VAL_28 ((unsigned) (AUDIT_ARCH_NDS32)) + #define XLAT_STR_28 STRINGIFY(AUDIT_ARCH_NDS32) XLAT(AUDIT_ARCH_NDS32BE), - #define XLAT_VAL_27 ((unsigned) (AUDIT_ARCH_NDS32BE)) - #define XLAT_STR_27 STRINGIFY(AUDIT_ARCH_NDS32BE) + #define XLAT_VAL_29 ((unsigned) (AUDIT_ARCH_NDS32BE)) + #define XLAT_STR_29 STRINGIFY(AUDIT_ARCH_NDS32BE) XLAT(AUDIT_ARCH_NIOS2), - #define XLAT_VAL_28 ((unsigned) (AUDIT_ARCH_NIOS2)) - #define XLAT_STR_28 STRINGIFY(AUDIT_ARCH_NIOS2) + #define XLAT_VAL_30 ((unsigned) (AUDIT_ARCH_NIOS2)) + #define XLAT_STR_30 STRINGIFY(AUDIT_ARCH_NIOS2) XLAT(AUDIT_ARCH_OPENRISC), - #define XLAT_VAL_29 ((unsigned) (AUDIT_ARCH_OPENRISC)) - #define XLAT_STR_29 STRINGIFY(AUDIT_ARCH_OPENRISC) + #define XLAT_VAL_31 ((unsigned) (AUDIT_ARCH_OPENRISC)) + #define XLAT_STR_31 STRINGIFY(AUDIT_ARCH_OPENRISC) XLAT(AUDIT_ARCH_PARISC), - #define XLAT_VAL_30 ((unsigned) (AUDIT_ARCH_PARISC)) - #define XLAT_STR_30 STRINGIFY(AUDIT_ARCH_PARISC) + #define XLAT_VAL_32 ((unsigned) (AUDIT_ARCH_PARISC)) + #define XLAT_STR_32 STRINGIFY(AUDIT_ARCH_PARISC) XLAT(AUDIT_ARCH_PARISC64), - #define XLAT_VAL_31 ((unsigned) (AUDIT_ARCH_PARISC64)) - #define XLAT_STR_31 STRINGIFY(AUDIT_ARCH_PARISC64) + #define XLAT_VAL_33 ((unsigned) (AUDIT_ARCH_PARISC64)) + #define XLAT_STR_33 STRINGIFY(AUDIT_ARCH_PARISC64) XLAT(AUDIT_ARCH_PPC), - #define XLAT_VAL_32 ((unsigned) (AUDIT_ARCH_PPC)) - #define XLAT_STR_32 STRINGIFY(AUDIT_ARCH_PPC) + #define XLAT_VAL_34 ((unsigned) (AUDIT_ARCH_PPC)) + #define XLAT_STR_34 STRINGIFY(AUDIT_ARCH_PPC) XLAT(AUDIT_ARCH_PPC64), - #define XLAT_VAL_33 ((unsigned) (AUDIT_ARCH_PPC64)) - #define XLAT_STR_33 STRINGIFY(AUDIT_ARCH_PPC64) + #define XLAT_VAL_35 ((unsigned) (AUDIT_ARCH_PPC64)) + #define XLAT_STR_35 STRINGIFY(AUDIT_ARCH_PPC64) XLAT(AUDIT_ARCH_PPC64LE), - #define XLAT_VAL_34 ((unsigned) (AUDIT_ARCH_PPC64LE)) - #define XLAT_STR_34 STRINGIFY(AUDIT_ARCH_PPC64LE) + #define XLAT_VAL_36 ((unsigned) (AUDIT_ARCH_PPC64LE)) + #define XLAT_STR_36 STRINGIFY(AUDIT_ARCH_PPC64LE) XLAT(AUDIT_ARCH_RISCV32), - #define XLAT_VAL_35 ((unsigned) (AUDIT_ARCH_RISCV32)) - #define XLAT_STR_35 STRINGIFY(AUDIT_ARCH_RISCV32) + #define XLAT_VAL_37 ((unsigned) (AUDIT_ARCH_RISCV32)) + #define XLAT_STR_37 STRINGIFY(AUDIT_ARCH_RISCV32) XLAT(AUDIT_ARCH_RISCV64), - #define XLAT_VAL_36 ((unsigned) (AUDIT_ARCH_RISCV64)) - #define XLAT_STR_36 STRINGIFY(AUDIT_ARCH_RISCV64) + #define XLAT_VAL_38 ((unsigned) (AUDIT_ARCH_RISCV64)) + #define XLAT_STR_38 STRINGIFY(AUDIT_ARCH_RISCV64) XLAT(AUDIT_ARCH_S390), - #define XLAT_VAL_37 ((unsigned) (AUDIT_ARCH_S390)) - #define XLAT_STR_37 STRINGIFY(AUDIT_ARCH_S390) + #define XLAT_VAL_39 ((unsigned) (AUDIT_ARCH_S390)) + #define XLAT_STR_39 STRINGIFY(AUDIT_ARCH_S390) XLAT(AUDIT_ARCH_S390X), - #define XLAT_VAL_38 ((unsigned) (AUDIT_ARCH_S390X)) - #define XLAT_STR_38 STRINGIFY(AUDIT_ARCH_S390X) + #define XLAT_VAL_40 ((unsigned) (AUDIT_ARCH_S390X)) + #define XLAT_STR_40 STRINGIFY(AUDIT_ARCH_S390X) XLAT(AUDIT_ARCH_SH), - #define XLAT_VAL_39 ((unsigned) (AUDIT_ARCH_SH)) - #define XLAT_STR_39 STRINGIFY(AUDIT_ARCH_SH) + #define XLAT_VAL_41 ((unsigned) (AUDIT_ARCH_SH)) + #define XLAT_STR_41 STRINGIFY(AUDIT_ARCH_SH) XLAT(AUDIT_ARCH_SH64), - #define XLAT_VAL_40 ((unsigned) (AUDIT_ARCH_SH64)) - #define XLAT_STR_40 STRINGIFY(AUDIT_ARCH_SH64) + #define XLAT_VAL_42 ((unsigned) (AUDIT_ARCH_SH64)) + #define XLAT_STR_42 STRINGIFY(AUDIT_ARCH_SH64) XLAT(AUDIT_ARCH_SHEL), - #define XLAT_VAL_41 ((unsigned) (AUDIT_ARCH_SHEL)) - #define XLAT_STR_41 STRINGIFY(AUDIT_ARCH_SHEL) + #define XLAT_VAL_43 ((unsigned) (AUDIT_ARCH_SHEL)) + #define XLAT_STR_43 STRINGIFY(AUDIT_ARCH_SHEL) XLAT(AUDIT_ARCH_SHEL64), - #define XLAT_VAL_42 ((unsigned) (AUDIT_ARCH_SHEL64)) - #define XLAT_STR_42 STRINGIFY(AUDIT_ARCH_SHEL64) + #define XLAT_VAL_44 ((unsigned) (AUDIT_ARCH_SHEL64)) + #define XLAT_STR_44 STRINGIFY(AUDIT_ARCH_SHEL64) XLAT(AUDIT_ARCH_SPARC), - #define XLAT_VAL_43 ((unsigned) (AUDIT_ARCH_SPARC)) - #define XLAT_STR_43 STRINGIFY(AUDIT_ARCH_SPARC) + #define XLAT_VAL_45 ((unsigned) (AUDIT_ARCH_SPARC)) + #define XLAT_STR_45 STRINGIFY(AUDIT_ARCH_SPARC) XLAT(AUDIT_ARCH_SPARC64), - #define XLAT_VAL_44 ((unsigned) (AUDIT_ARCH_SPARC64)) - #define XLAT_STR_44 STRINGIFY(AUDIT_ARCH_SPARC64) + #define XLAT_VAL_46 ((unsigned) (AUDIT_ARCH_SPARC64)) + #define XLAT_STR_46 STRINGIFY(AUDIT_ARCH_SPARC64) XLAT(AUDIT_ARCH_TILEGX), - #define XLAT_VAL_45 ((unsigned) (AUDIT_ARCH_TILEGX)) - #define XLAT_STR_45 STRINGIFY(AUDIT_ARCH_TILEGX) + #define XLAT_VAL_47 ((unsigned) (AUDIT_ARCH_TILEGX)) + #define XLAT_STR_47 STRINGIFY(AUDIT_ARCH_TILEGX) XLAT(AUDIT_ARCH_TILEGX32), - #define XLAT_VAL_46 ((unsigned) (AUDIT_ARCH_TILEGX32)) - #define XLAT_STR_46 STRINGIFY(AUDIT_ARCH_TILEGX32) + #define XLAT_VAL_48 ((unsigned) (AUDIT_ARCH_TILEGX32)) + #define XLAT_STR_48 STRINGIFY(AUDIT_ARCH_TILEGX32) XLAT(AUDIT_ARCH_TILEPRO), - #define XLAT_VAL_47 ((unsigned) (AUDIT_ARCH_TILEPRO)) - #define XLAT_STR_47 STRINGIFY(AUDIT_ARCH_TILEPRO) + #define XLAT_VAL_49 ((unsigned) (AUDIT_ARCH_TILEPRO)) + #define XLAT_STR_49 STRINGIFY(AUDIT_ARCH_TILEPRO) XLAT(AUDIT_ARCH_UNICORE), - #define XLAT_VAL_48 ((unsigned) (AUDIT_ARCH_UNICORE)) - #define XLAT_STR_48 STRINGIFY(AUDIT_ARCH_UNICORE) + #define XLAT_VAL_50 ((unsigned) (AUDIT_ARCH_UNICORE)) + #define XLAT_STR_50 STRINGIFY(AUDIT_ARCH_UNICORE) XLAT(AUDIT_ARCH_V850), - #define XLAT_VAL_49 ((unsigned) (AUDIT_ARCH_V850)) - #define XLAT_STR_49 STRINGIFY(AUDIT_ARCH_V850) + #define XLAT_VAL_51 ((unsigned) (AUDIT_ARCH_V850)) + #define XLAT_STR_51 STRINGIFY(AUDIT_ARCH_V850) XLAT(AUDIT_ARCH_X86_64), - #define XLAT_VAL_50 ((unsigned) (AUDIT_ARCH_X86_64)) - #define XLAT_STR_50 STRINGIFY(AUDIT_ARCH_X86_64) + #define XLAT_VAL_52 ((unsigned) (AUDIT_ARCH_X86_64)) + #define XLAT_STR_52 STRINGIFY(AUDIT_ARCH_X86_64) XLAT(AUDIT_ARCH_XTENSA), - #define XLAT_VAL_51 ((unsigned) (AUDIT_ARCH_XTENSA)) - #define XLAT_STR_51 STRINGIFY(AUDIT_ARCH_XTENSA) + #define XLAT_VAL_53 ((unsigned) (AUDIT_ARCH_XTENSA)) + #define XLAT_STR_53 STRINGIFY(AUDIT_ARCH_XTENSA) }; const struct xlat audit_arch1 = { { .data = audit_arch_xdata, @@ -711,6 +732,12 @@ # ifdef XLAT_VAL_51 | XLAT_VAL_51 # endif +# ifdef XLAT_VAL_52 + | XLAT_VAL_52 +# endif +# ifdef XLAT_VAL_53 + | XLAT_VAL_53 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -869,6 +896,12 @@ # ifdef XLAT_STR_51 + sizeof(XLAT_STR_51) # endif +# ifdef XLAT_STR_52 + + sizeof(XLAT_STR_52) +# endif +# ifdef XLAT_STR_53 + + sizeof(XLAT_STR_53) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -977,6 +1010,10 @@ # undef XLAT_VAL_50 # undef XLAT_STR_51 # undef XLAT_VAL_51 +# undef XLAT_STR_52 +# undef XLAT_VAL_52 +# undef XLAT_STR_53 +# undef XLAT_VAL_53 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/audit_arch.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/audit_arch.in
Changed
@@ -25,6 +25,8 @@ AUDIT_ARCH_HEXAGON (EM_HEXAGON) AUDIT_ARCH_I386 (EM_386|__AUDIT_ARCH_LE) AUDIT_ARCH_IA64 (EM_IA_64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) +AUDIT_ARCH_LOONGARCH32 (EM_LOONGARCH|__AUDIT_ARCH_LE) +AUDIT_ARCH_LOONGARCH64 (EM_LOONGARCH|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) AUDIT_ARCH_M32R (EM_M32R) AUDIT_ARCH_M68K (EM_68K) AUDIT_ARCH_MICROBLAZE (EM_MICROBLAZE)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ax25_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ax25_protocols.h
Changed
@@ -10,6 +10,16 @@ #else # define AX25_P_ROSE 0x01 #endif +#if defined(AX25_P_ROSE) || (defined(HAVE_DECL_AX25_P_ROSE) && HAVE_DECL_AX25_P_ROSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_ROSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_ROSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_ROSE) +#endif #if defined(AX25_P_VJCOMP) || (defined(HAVE_DECL_AX25_P_VJCOMP) && HAVE_DECL_AX25_P_VJCOMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_VJCOMP) == (0x06), "AX25_P_VJCOMP != 0x06"); @@ -17,6 +27,16 @@ #else # define AX25_P_VJCOMP 0x06 #endif +#if defined(AX25_P_VJCOMP) || (defined(HAVE_DECL_AX25_P_VJCOMP) && HAVE_DECL_AX25_P_VJCOMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_VJCOMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_VJCOMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_VJCOMP) +#endif #if defined(AX25_P_VJUNCOMP) || (defined(HAVE_DECL_AX25_P_VJUNCOMP) && HAVE_DECL_AX25_P_VJUNCOMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_VJUNCOMP) == (0x07), "AX25_P_VJUNCOMP != 0x07"); @@ -24,6 +44,16 @@ #else # define AX25_P_VJUNCOMP 0x07 #endif +#if defined(AX25_P_VJUNCOMP) || (defined(HAVE_DECL_AX25_P_VJUNCOMP) && HAVE_DECL_AX25_P_VJUNCOMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_VJUNCOMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_VJUNCOMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_VJUNCOMP) +#endif #if defined(AX25_P_SEGMENT) || (defined(HAVE_DECL_AX25_P_SEGMENT) && HAVE_DECL_AX25_P_SEGMENT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_SEGMENT) == (0x08), "AX25_P_SEGMENT != 0x08"); @@ -31,6 +61,16 @@ #else # define AX25_P_SEGMENT 0x08 #endif +#if defined(AX25_P_SEGMENT) || (defined(HAVE_DECL_AX25_P_SEGMENT) && HAVE_DECL_AX25_P_SEGMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_SEGMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_SEGMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_SEGMENT) +#endif #if defined(AX25_P_TEXNET) || (defined(HAVE_DECL_AX25_P_TEXNET) && HAVE_DECL_AX25_P_TEXNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_TEXNET) == (0xc3), "AX25_P_TEXNET != 0xc3"); @@ -38,6 +78,16 @@ #else # define AX25_P_TEXNET 0xc3 #endif +#if defined(AX25_P_TEXNET) || (defined(HAVE_DECL_AX25_P_TEXNET) && HAVE_DECL_AX25_P_TEXNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_TEXNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_TEXNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_TEXNET) +#endif #if defined(AX25_P_LQ) || (defined(HAVE_DECL_AX25_P_LQ) && HAVE_DECL_AX25_P_LQ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_LQ) == (0xc4), "AX25_P_LQ != 0xc4"); @@ -45,6 +95,16 @@ #else # define AX25_P_LQ 0xc4 #endif +#if defined(AX25_P_LQ) || (defined(HAVE_DECL_AX25_P_LQ) && HAVE_DECL_AX25_P_LQ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_LQ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_LQ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_LQ) +#endif #if defined(AX25_P_ATALK) || (defined(HAVE_DECL_AX25_P_ATALK) && HAVE_DECL_AX25_P_ATALK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_ATALK) == (0xca), "AX25_P_ATALK != 0xca"); @@ -52,6 +112,16 @@ #else # define AX25_P_ATALK 0xca #endif +#if defined(AX25_P_ATALK) || (defined(HAVE_DECL_AX25_P_ATALK) && HAVE_DECL_AX25_P_ATALK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_ATALK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_ATALK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_ATALK) +#endif #if defined(AX25_P_ATALK_ARP) || (defined(HAVE_DECL_AX25_P_ATALK_ARP) && HAVE_DECL_AX25_P_ATALK_ARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_ATALK_ARP) == (0xcb), "AX25_P_ATALK_ARP != 0xcb"); @@ -59,6 +129,16 @@ #else # define AX25_P_ATALK_ARP 0xcb #endif +#if defined(AX25_P_ATALK_ARP) || (defined(HAVE_DECL_AX25_P_ATALK_ARP) && HAVE_DECL_AX25_P_ATALK_ARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_ATALK_ARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_ATALK_ARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_ATALK_ARP) +#endif #if defined(AX25_P_IP) || (defined(HAVE_DECL_AX25_P_IP) && HAVE_DECL_AX25_P_IP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_IP) == (0xcc), "AX25_P_IP != 0xcc"); @@ -66,6 +146,16 @@ #else # define AX25_P_IP 0xcc #endif +#if defined(AX25_P_IP) || (defined(HAVE_DECL_AX25_P_IP) && HAVE_DECL_AX25_P_IP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_IP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_IP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_IP) +#endif #if defined(AX25_P_ARP) || (defined(HAVE_DECL_AX25_P_ARP) && HAVE_DECL_AX25_P_ARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_ARP) == (0xcd), "AX25_P_ARP != 0xcd"); @@ -73,6 +163,16 @@ #else # define AX25_P_ARP 0xcd #endif +#if defined(AX25_P_ARP) || (defined(HAVE_DECL_AX25_P_ARP) && HAVE_DECL_AX25_P_ARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_ARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_ARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_ARP) +#endif #if defined(AX25_P_FLEXNET) || (defined(HAVE_DECL_AX25_P_FLEXNET) && HAVE_DECL_AX25_P_FLEXNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_FLEXNET) == (0xce), "AX25_P_FLEXNET != 0xce"); @@ -80,6 +180,16 @@ #else # define AX25_P_FLEXNET 0xce #endif +#if defined(AX25_P_FLEXNET) || (defined(HAVE_DECL_AX25_P_FLEXNET) && HAVE_DECL_AX25_P_FLEXNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_FLEXNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_FLEXNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_FLEXNET) +#endif #if defined(AX25_P_NETROM) || (defined(HAVE_DECL_AX25_P_NETROM) && HAVE_DECL_AX25_P_NETROM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_NETROM) == (0xcf), "AX25_P_NETROM != 0xcf"); @@ -87,6 +197,16 @@ #else # define AX25_P_NETROM 0xcf #endif +#if defined(AX25_P_NETROM) || (defined(HAVE_DECL_AX25_P_NETROM) && HAVE_DECL_AX25_P_NETROM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_NETROM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_NETROM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_NETROM) +#endif #if defined(AX25_P_TEXT) || (defined(HAVE_DECL_AX25_P_TEXT) && HAVE_DECL_AX25_P_TEXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_P_TEXT) == (0xf0), "AX25_P_TEXT != 0xf0"); @@ -94,6 +214,17 @@ #else # define AX25_P_TEXT 0xf0 #endif +#if defined(AX25_P_TEXT) || (defined(HAVE_DECL_AX25_P_TEXT) && HAVE_DECL_AX25_P_TEXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_P_TEXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_P_TEXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_P_TEXT) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/baud_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/baud_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -99,85 +100,110 @@ #define XLAT_VAL_16 ((unsigned) (B57600)) #define XLAT_STR_16 STRINGIFY(B57600) #endif +#if defined(B76800) || (defined(HAVE_DECL_B76800) && HAVE_DECL_B76800) + XLAT(B76800), + #define XLAT_VAL_17 ((unsigned) (B76800)) + #define XLAT_STR_17 STRINGIFY(B76800) +#endif #if defined(B115200) || (defined(HAVE_DECL_B115200) && HAVE_DECL_B115200) XLAT(B115200), - #define XLAT_VAL_17 ((unsigned) (B115200)) - #define XLAT_STR_17 STRINGIFY(B115200) + #define XLAT_VAL_18 ((unsigned) (B115200)) + #define XLAT_STR_18 STRINGIFY(B115200) +#endif +#if defined(B153600) || (defined(HAVE_DECL_B153600) && HAVE_DECL_B153600) + XLAT(B153600), + #define XLAT_VAL_19 ((unsigned) (B153600)) + #define XLAT_STR_19 STRINGIFY(B153600) #endif #if defined(B230400) || (defined(HAVE_DECL_B230400) && HAVE_DECL_B230400) XLAT(B230400), - #define XLAT_VAL_18 ((unsigned) (B230400)) - #define XLAT_STR_18 STRINGIFY(B230400) + #define XLAT_VAL_20 ((unsigned) (B230400)) + #define XLAT_STR_20 STRINGIFY(B230400) +#endif +#if defined(B307200) || (defined(HAVE_DECL_B307200) && HAVE_DECL_B307200) + XLAT(B307200), + #define XLAT_VAL_21 ((unsigned) (B307200)) + #define XLAT_STR_21 STRINGIFY(B307200) #endif #if defined(B460800) || (defined(HAVE_DECL_B460800) && HAVE_DECL_B460800) XLAT(B460800), - #define XLAT_VAL_19 ((unsigned) (B460800)) - #define XLAT_STR_19 STRINGIFY(B460800) + #define XLAT_VAL_22 ((unsigned) (B460800)) + #define XLAT_STR_22 STRINGIFY(B460800) #endif #if defined(B500000) || (defined(HAVE_DECL_B500000) && HAVE_DECL_B500000) XLAT(B500000), - #define XLAT_VAL_20 ((unsigned) (B500000)) - #define XLAT_STR_20 STRINGIFY(B500000) + #define XLAT_VAL_23 ((unsigned) (B500000)) + #define XLAT_STR_23 STRINGIFY(B500000) #endif #if defined(B576000) || (defined(HAVE_DECL_B576000) && HAVE_DECL_B576000) XLAT(B576000), - #define XLAT_VAL_21 ((unsigned) (B576000)) - #define XLAT_STR_21 STRINGIFY(B576000) + #define XLAT_VAL_24 ((unsigned) (B576000)) + #define XLAT_STR_24 STRINGIFY(B576000) +#endif +#if defined(B614400) || (defined(HAVE_DECL_B614400) && HAVE_DECL_B614400) + XLAT(B614400), + #define XLAT_VAL_25 ((unsigned) (B614400)) + #define XLAT_STR_25 STRINGIFY(B614400) #endif #if defined(B921600) || (defined(HAVE_DECL_B921600) && HAVE_DECL_B921600) XLAT(B921600), - #define XLAT_VAL_22 ((unsigned) (B921600)) - #define XLAT_STR_22 STRINGIFY(B921600) + #define XLAT_VAL_26 ((unsigned) (B921600)) + #define XLAT_STR_26 STRINGIFY(B921600) #endif #if defined(B1000000) || (defined(HAVE_DECL_B1000000) && HAVE_DECL_B1000000) XLAT(B1000000), - #define XLAT_VAL_23 ((unsigned) (B1000000)) - #define XLAT_STR_23 STRINGIFY(B1000000) + #define XLAT_VAL_27 ((unsigned) (B1000000)) + #define XLAT_STR_27 STRINGIFY(B1000000) #endif #if defined(B1152000) || (defined(HAVE_DECL_B1152000) && HAVE_DECL_B1152000) XLAT(B1152000), - #define XLAT_VAL_24 ((unsigned) (B1152000)) - #define XLAT_STR_24 STRINGIFY(B1152000) + #define XLAT_VAL_28 ((unsigned) (B1152000)) + #define XLAT_STR_28 STRINGIFY(B1152000) #endif #if defined(B1500000) || (defined(HAVE_DECL_B1500000) && HAVE_DECL_B1500000) XLAT(B1500000), - #define XLAT_VAL_25 ((unsigned) (B1500000)) - #define XLAT_STR_25 STRINGIFY(B1500000) + #define XLAT_VAL_29 ((unsigned) (B1500000)) + #define XLAT_STR_29 STRINGIFY(B1500000) #endif #if defined(B2000000) || (defined(HAVE_DECL_B2000000) && HAVE_DECL_B2000000) XLAT(B2000000), - #define XLAT_VAL_26 ((unsigned) (B2000000)) - #define XLAT_STR_26 STRINGIFY(B2000000) + #define XLAT_VAL_30 ((unsigned) (B2000000)) + #define XLAT_STR_30 STRINGIFY(B2000000) #endif #if defined(B2500000) || (defined(HAVE_DECL_B2500000) && HAVE_DECL_B2500000) XLAT(B2500000), - #define XLAT_VAL_27 ((unsigned) (B2500000)) - #define XLAT_STR_27 STRINGIFY(B2500000) + #define XLAT_VAL_31 ((unsigned) (B2500000)) + #define XLAT_STR_31 STRINGIFY(B2500000) #endif #if defined(B3000000) || (defined(HAVE_DECL_B3000000) && HAVE_DECL_B3000000) XLAT(B3000000), - #define XLAT_VAL_28 ((unsigned) (B3000000)) - #define XLAT_STR_28 STRINGIFY(B3000000) + #define XLAT_VAL_32 ((unsigned) (B3000000)) + #define XLAT_STR_32 STRINGIFY(B3000000) #endif #if defined(B3500000) || (defined(HAVE_DECL_B3500000) && HAVE_DECL_B3500000) XLAT(B3500000), - #define XLAT_VAL_29 ((unsigned) (B3500000)) - #define XLAT_STR_29 STRINGIFY(B3500000) + #define XLAT_VAL_33 ((unsigned) (B3500000)) + #define XLAT_STR_33 STRINGIFY(B3500000) #endif #if defined(B4000000) || (defined(HAVE_DECL_B4000000) && HAVE_DECL_B4000000) XLAT(B4000000), - #define XLAT_VAL_30 ((unsigned) (B4000000)) - #define XLAT_STR_30 STRINGIFY(B4000000) + #define XLAT_VAL_34 ((unsigned) (B4000000)) + #define XLAT_STR_34 STRINGIFY(B4000000) #endif #if defined(EXTA) || (defined(HAVE_DECL_EXTA) && HAVE_DECL_EXTA) XLAT(EXTA), - #define XLAT_VAL_31 ((unsigned) (EXTA)) - #define XLAT_STR_31 STRINGIFY(EXTA) + #define XLAT_VAL_35 ((unsigned) (EXTA)) + #define XLAT_STR_35 STRINGIFY(EXTA) #endif #if defined(EXTB) || (defined(HAVE_DECL_EXTB) && HAVE_DECL_EXTB) XLAT(EXTB), - #define XLAT_VAL_32 ((unsigned) (EXTB)) - #define XLAT_STR_32 STRINGIFY(EXTB) + #define XLAT_VAL_36 ((unsigned) (EXTB)) + #define XLAT_STR_36 STRINGIFY(EXTB) +#endif +#if defined(BOTHER) || (defined(HAVE_DECL_BOTHER) && HAVE_DECL_BOTHER) + XLAT(BOTHER), + #define XLAT_VAL_37 ((unsigned) (BOTHER)) + #define XLAT_STR_37 STRINGIFY(BOTHER) #endif }; static @@ -285,6 +311,21 @@ # ifdef XLAT_VAL_32 | XLAT_VAL_32 # endif +# ifdef XLAT_VAL_33 + | XLAT_VAL_33 +# endif +# ifdef XLAT_VAL_34 + | XLAT_VAL_34 +# endif +# ifdef XLAT_VAL_35 + | XLAT_VAL_35 +# endif +# ifdef XLAT_VAL_36 + | XLAT_VAL_36 +# endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -386,6 +427,21 @@ # ifdef XLAT_STR_32 + sizeof(XLAT_STR_32) # endif +# ifdef XLAT_STR_33 + + sizeof(XLAT_STR_33) +# endif +# ifdef XLAT_STR_34 + + sizeof(XLAT_STR_34) +# endif +# ifdef XLAT_STR_35 + + sizeof(XLAT_STR_35) +# endif +# ifdef XLAT_STR_36 + + sizeof(XLAT_STR_36) +# endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -456,6 +512,16 @@ # undef XLAT_VAL_31 # undef XLAT_STR_32 # undef XLAT_VAL_32 +# undef XLAT_STR_33 +# undef XLAT_VAL_33 +# undef XLAT_STR_34 +# undef XLAT_VAL_34 +# undef XLAT_STR_35 +# undef XLAT_VAL_35 +# undef XLAT_STR_36 +# undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/baud_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/baud_options.in
Changed
@@ -15,11 +15,15 @@ B19200 B38400 B57600 +B76800 B115200 +B153600 B230400 +B307200 B460800 B500000 B576000 +B614400 B921600 B1000000 B1152000 @@ -31,3 +35,4 @@ B4000000 EXTA EXTB +BOTHER
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bdaddr_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bdaddr_types.h
Changed
@@ -24,6 +24,7 @@ #else # define BDADDR_LE_RANDOM 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/blkpg_ops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/blkpg_ops.h
Changed
@@ -3,27 +3,16 @@ #include "gcc_compat.h" #include "static_assert.h" -#if defined(BLKPG_ADD_PARTITION) || (defined(HAVE_DECL_BLKPG_ADD_PARTITION) && HAVE_DECL_BLKPG_ADD_PARTITION) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BLKPG_ADD_PARTITION) == (1), "BLKPG_ADD_PARTITION != 1"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define BLKPG_ADD_PARTITION 1 -#endif -#if defined(BLKPG_DEL_PARTITION) || (defined(HAVE_DECL_BLKPG_DEL_PARTITION) && HAVE_DECL_BLKPG_DEL_PARTITION) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BLKPG_DEL_PARTITION) == (2), "BLKPG_DEL_PARTITION != 2"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define BLKPG_DEL_PARTITION 2 -#endif -#if defined(BLKPG_RESIZE_PARTITION) || (defined(HAVE_DECL_BLKPG_RESIZE_PARTITION) && HAVE_DECL_BLKPG_RESIZE_PARTITION) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BLKPG_RESIZE_PARTITION) == (3), "BLKPG_RESIZE_PARTITION != 3"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define BLKPG_RESIZE_PARTITION 3 -#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/blkpg_ops.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/blkpg_ops.in
Changed
@@ -1,3 +1,4 @@ +#unconditional #value_indexed BLKPG_ADD_PARTITION 1 BLKPG_DEL_PARTITION 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bluetooth_l2_cid.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bluetooth_l2_cid.h
Changed
@@ -10,6 +10,16 @@ #else # define L2CAP_CID_SIGNALING 0x0001 #endif +#if defined(L2CAP_CID_SIGNALING) || (defined(HAVE_DECL_L2CAP_CID_SIGNALING) && HAVE_DECL_L2CAP_CID_SIGNALING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_SIGNALING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_SIGNALING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_SIGNALING) +#endif #if defined(L2CAP_CID_CONN_LESS) || (defined(HAVE_DECL_L2CAP_CID_CONN_LESS) && HAVE_DECL_L2CAP_CID_CONN_LESS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_CONN_LESS) == (0x0002), "L2CAP_CID_CONN_LESS != 0x0002"); @@ -17,6 +27,16 @@ #else # define L2CAP_CID_CONN_LESS 0x0002 #endif +#if defined(L2CAP_CID_CONN_LESS) || (defined(HAVE_DECL_L2CAP_CID_CONN_LESS) && HAVE_DECL_L2CAP_CID_CONN_LESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_CONN_LESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_CONN_LESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_CONN_LESS) +#endif #if defined(L2CAP_CID_A2MP) || (defined(HAVE_DECL_L2CAP_CID_A2MP) && HAVE_DECL_L2CAP_CID_A2MP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_A2MP) == (0x0003), "L2CAP_CID_A2MP != 0x0003"); @@ -24,6 +44,16 @@ #else # define L2CAP_CID_A2MP 0x0003 #endif +#if defined(L2CAP_CID_A2MP) || (defined(HAVE_DECL_L2CAP_CID_A2MP) && HAVE_DECL_L2CAP_CID_A2MP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_A2MP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_A2MP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_A2MP) +#endif #if defined(L2CAP_CID_ATT) || (defined(HAVE_DECL_L2CAP_CID_ATT) && HAVE_DECL_L2CAP_CID_ATT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_ATT) == (0x0004), "L2CAP_CID_ATT != 0x0004"); @@ -31,6 +61,16 @@ #else # define L2CAP_CID_ATT 0x0004 #endif +#if defined(L2CAP_CID_ATT) || (defined(HAVE_DECL_L2CAP_CID_ATT) && HAVE_DECL_L2CAP_CID_ATT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_ATT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_ATT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_ATT) +#endif #if defined(L2CAP_CID_LE_SIGNALING) || (defined(HAVE_DECL_L2CAP_CID_LE_SIGNALING) && HAVE_DECL_L2CAP_CID_LE_SIGNALING) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_LE_SIGNALING) == (0x0005), "L2CAP_CID_LE_SIGNALING != 0x0005"); @@ -38,6 +78,16 @@ #else # define L2CAP_CID_LE_SIGNALING 0x0005 #endif +#if defined(L2CAP_CID_LE_SIGNALING) || (defined(HAVE_DECL_L2CAP_CID_LE_SIGNALING) && HAVE_DECL_L2CAP_CID_LE_SIGNALING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_LE_SIGNALING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_LE_SIGNALING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_LE_SIGNALING) +#endif #if defined(L2CAP_CID_SMP) || (defined(HAVE_DECL_L2CAP_CID_SMP) && HAVE_DECL_L2CAP_CID_SMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_SMP) == (0x0006), "L2CAP_CID_SMP != 0x0006"); @@ -45,6 +95,16 @@ #else # define L2CAP_CID_SMP 0x0006 #endif +#if defined(L2CAP_CID_SMP) || (defined(HAVE_DECL_L2CAP_CID_SMP) && HAVE_DECL_L2CAP_CID_SMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_SMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_SMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_SMP) +#endif #if defined(L2CAP_CID_SMP_BREDR) || (defined(HAVE_DECL_L2CAP_CID_SMP_BREDR) && HAVE_DECL_L2CAP_CID_SMP_BREDR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_SMP_BREDR) == (0x0007), "L2CAP_CID_SMP_BREDR != 0x0007"); @@ -52,6 +112,16 @@ #else # define L2CAP_CID_SMP_BREDR 0x0007 #endif +#if defined(L2CAP_CID_SMP_BREDR) || (defined(HAVE_DECL_L2CAP_CID_SMP_BREDR) && HAVE_DECL_L2CAP_CID_SMP_BREDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_SMP_BREDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_SMP_BREDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_SMP_BREDR) +#endif #if defined(L2CAP_CID_DYN_START) || (defined(HAVE_DECL_L2CAP_CID_DYN_START) && HAVE_DECL_L2CAP_CID_DYN_START) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_DYN_START) == (0x0040), "L2CAP_CID_DYN_START != 0x0040"); @@ -59,6 +129,16 @@ #else # define L2CAP_CID_DYN_START 0x0040 #endif +#if defined(L2CAP_CID_DYN_START) || (defined(HAVE_DECL_L2CAP_CID_DYN_START) && HAVE_DECL_L2CAP_CID_DYN_START) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_DYN_START) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_DYN_START" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_DYN_START) +#endif #if defined(L2CAP_CID_LE_DYN_END) || (defined(HAVE_DECL_L2CAP_CID_LE_DYN_END) && HAVE_DECL_L2CAP_CID_LE_DYN_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_LE_DYN_END) == (0x007f), "L2CAP_CID_LE_DYN_END != 0x007f"); @@ -66,6 +146,16 @@ #else # define L2CAP_CID_LE_DYN_END 0x007f #endif +#if defined(L2CAP_CID_LE_DYN_END) || (defined(HAVE_DECL_L2CAP_CID_LE_DYN_END) && HAVE_DECL_L2CAP_CID_LE_DYN_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_LE_DYN_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_LE_DYN_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_LE_DYN_END) +#endif #if defined(L2CAP_CID_DYN_END) || (defined(HAVE_DECL_L2CAP_CID_DYN_END) && HAVE_DECL_L2CAP_CID_DYN_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_CID_DYN_END) == (0xffff), "L2CAP_CID_DYN_END != 0xffff"); @@ -73,6 +163,17 @@ #else # define L2CAP_CID_DYN_END 0xffff #endif +#if defined(L2CAP_CID_DYN_END) || (defined(HAVE_DECL_L2CAP_CID_DYN_END) && HAVE_DECL_L2CAP_CID_DYN_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_CID_DYN_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_CID_DYN_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_CID_DYN_END) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bluetooth_l2_psm.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bluetooth_l2_psm.h
Changed
@@ -10,6 +10,16 @@ #else # define L2CAP_PSM_SDP 0x0001 #endif +#if defined(L2CAP_PSM_SDP) || (defined(HAVE_DECL_L2CAP_PSM_SDP) && HAVE_DECL_L2CAP_PSM_SDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_SDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_SDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_SDP) +#endif #if defined(L2CAP_PSM_RFCOMM) || (defined(HAVE_DECL_L2CAP_PSM_RFCOMM) && HAVE_DECL_L2CAP_PSM_RFCOMM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_RFCOMM) == (0x0003), "L2CAP_PSM_RFCOMM != 0x0003"); @@ -17,6 +27,16 @@ #else # define L2CAP_PSM_RFCOMM 0x0003 #endif +#if defined(L2CAP_PSM_RFCOMM) || (defined(HAVE_DECL_L2CAP_PSM_RFCOMM) && HAVE_DECL_L2CAP_PSM_RFCOMM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_RFCOMM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_RFCOMM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_RFCOMM) +#endif #if defined(L2CAP_PSM_3DSP) || (defined(HAVE_DECL_L2CAP_PSM_3DSP) && HAVE_DECL_L2CAP_PSM_3DSP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_3DSP) == (0x0021), "L2CAP_PSM_3DSP != 0x0021"); @@ -24,6 +44,16 @@ #else # define L2CAP_PSM_3DSP 0x0021 #endif +#if defined(L2CAP_PSM_3DSP) || (defined(HAVE_DECL_L2CAP_PSM_3DSP) && HAVE_DECL_L2CAP_PSM_3DSP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_3DSP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_3DSP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_3DSP) +#endif #if defined(L2CAP_PSM_IPSP) || (defined(HAVE_DECL_L2CAP_PSM_IPSP) && HAVE_DECL_L2CAP_PSM_IPSP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_IPSP) == (0x0023), "L2CAP_PSM_IPSP != 0x0023"); @@ -31,6 +61,16 @@ #else # define L2CAP_PSM_IPSP 0x0023 #endif +#if defined(L2CAP_PSM_IPSP) || (defined(HAVE_DECL_L2CAP_PSM_IPSP) && HAVE_DECL_L2CAP_PSM_IPSP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_IPSP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_IPSP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_IPSP) +#endif #if defined(L2CAP_PSM_LE_DYN_START) || (defined(HAVE_DECL_L2CAP_PSM_LE_DYN_START) && HAVE_DECL_L2CAP_PSM_LE_DYN_START) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_LE_DYN_START) == (0x0080), "L2CAP_PSM_LE_DYN_START != 0x0080"); @@ -38,6 +78,16 @@ #else # define L2CAP_PSM_LE_DYN_START 0x0080 #endif +#if defined(L2CAP_PSM_LE_DYN_START) || (defined(HAVE_DECL_L2CAP_PSM_LE_DYN_START) && HAVE_DECL_L2CAP_PSM_LE_DYN_START) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_LE_DYN_START) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_LE_DYN_START" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_LE_DYN_START) +#endif #if defined(L2CAP_PSM_LE_DYN_END) || (defined(HAVE_DECL_L2CAP_PSM_LE_DYN_END) && HAVE_DECL_L2CAP_PSM_LE_DYN_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_LE_DYN_END) == (0x00ff), "L2CAP_PSM_LE_DYN_END != 0x00ff"); @@ -45,6 +95,16 @@ #else # define L2CAP_PSM_LE_DYN_END 0x00ff #endif +#if defined(L2CAP_PSM_LE_DYN_END) || (defined(HAVE_DECL_L2CAP_PSM_LE_DYN_END) && HAVE_DECL_L2CAP_PSM_LE_DYN_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_LE_DYN_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_LE_DYN_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_LE_DYN_END) +#endif #if defined(L2CAP_PSM_DYN_START) || (defined(HAVE_DECL_L2CAP_PSM_DYN_START) && HAVE_DECL_L2CAP_PSM_DYN_START) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_DYN_START) == (0x1001), "L2CAP_PSM_DYN_START != 0x1001"); @@ -52,6 +112,16 @@ #else # define L2CAP_PSM_DYN_START 0x1001 #endif +#if defined(L2CAP_PSM_DYN_START) || (defined(HAVE_DECL_L2CAP_PSM_DYN_START) && HAVE_DECL_L2CAP_PSM_DYN_START) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_DYN_START) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_DYN_START" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_DYN_START) +#endif #if defined(L2CAP_PSM_AUTO_END) || (defined(HAVE_DECL_L2CAP_PSM_AUTO_END) && HAVE_DECL_L2CAP_PSM_AUTO_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_AUTO_END) == (0x10ff), "L2CAP_PSM_AUTO_END != 0x10ff"); @@ -59,6 +129,16 @@ #else # define L2CAP_PSM_AUTO_END 0x10ff #endif +#if defined(L2CAP_PSM_AUTO_END) || (defined(HAVE_DECL_L2CAP_PSM_AUTO_END) && HAVE_DECL_L2CAP_PSM_AUTO_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_AUTO_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_AUTO_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_AUTO_END) +#endif #if defined(L2CAP_PSM_DYN_END) || (defined(HAVE_DECL_L2CAP_PSM_DYN_END) && HAVE_DECL_L2CAP_PSM_DYN_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((L2CAP_PSM_DYN_END) == (0xffff), "L2CAP_PSM_DYN_END != 0xffff"); @@ -66,6 +146,17 @@ #else # define L2CAP_PSM_DYN_END 0xffff #endif +#if defined(L2CAP_PSM_DYN_END) || (defined(HAVE_DECL_L2CAP_PSM_DYN_END) && HAVE_DECL_L2CAP_PSM_DYN_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (L2CAP_PSM_DYN_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: L2CAP_PSM_DYN_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (L2CAP_PSM_DYN_END) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bootflags1.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bootflags1.h
Changed
@@ -10,6 +10,7 @@ #else # define LINUX_REBOOT_MAGIC1 0xfee1dead #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bootflags2.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bootflags2.h
Changed
@@ -31,6 +31,7 @@ #else # define LINUX_REBOOT_MAGIC2C 537993216 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bootflags3.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bootflags3.h
Changed
@@ -59,6 +59,7 @@ #else # define LINUX_REBOOT_CMD_KEXEC 0x45584543 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_attach_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_attach_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define BPF_F_REPLACE (1U << 2) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_attach_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_attach_type.h
Changed
@@ -290,6 +290,28 @@ #else # define BPF_SK_REUSEPORT_SELECT_OR_MIGRATE 40 #endif +#if defined(BPF_PERF_EVENT) || (defined(HAVE_DECL_BPF_PERF_EVENT) && HAVE_DECL_BPF_PERF_EVENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_PERF_EVENT) == (41), "BPF_PERF_EVENT != 41"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_PERF_EVENT 41 +#endif +#if defined(BPF_TRACE_KPROBE_MULTI) || (defined(HAVE_DECL_BPF_TRACE_KPROBE_MULTI) && HAVE_DECL_BPF_TRACE_KPROBE_MULTI) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_TRACE_KPROBE_MULTI) == (42), "BPF_TRACE_KPROBE_MULTI != 42"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_TRACE_KPROBE_MULTI 42 +#endif +#if defined(BPF_LSM_CGROUP) || (defined(HAVE_DECL_BPF_LSM_CGROUP) && HAVE_DECL_BPF_LSM_CGROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_LSM_CGROUP) == (43), "BPF_LSM_CGROUP != 43"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_LSM_CGROUP 43 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -424,6 +446,15 @@ BPF_SK_REUSEPORT_SELECT_OR_MIGRATE = XLAT(BPF_SK_REUSEPORT_SELECT_OR_MIGRATE), #define XLAT_VAL_40 ((unsigned) (BPF_SK_REUSEPORT_SELECT_OR_MIGRATE)) #define XLAT_STR_40 STRINGIFY(BPF_SK_REUSEPORT_SELECT_OR_MIGRATE) + BPF_PERF_EVENT = XLAT(BPF_PERF_EVENT), + #define XLAT_VAL_41 ((unsigned) (BPF_PERF_EVENT)) + #define XLAT_STR_41 STRINGIFY(BPF_PERF_EVENT) + BPF_TRACE_KPROBE_MULTI = XLAT(BPF_TRACE_KPROBE_MULTI), + #define XLAT_VAL_42 ((unsigned) (BPF_TRACE_KPROBE_MULTI)) + #define XLAT_STR_42 STRINGIFY(BPF_TRACE_KPROBE_MULTI) + BPF_LSM_CGROUP = XLAT(BPF_LSM_CGROUP), + #define XLAT_VAL_43 ((unsigned) (BPF_LSM_CGROUP)) + #define XLAT_STR_43 STRINGIFY(BPF_LSM_CGROUP) }; static const struct xlat bpf_attach_type1 = { { @@ -554,6 +585,15 @@ # ifdef XLAT_VAL_40 | XLAT_VAL_40 # endif +# ifdef XLAT_VAL_41 + | XLAT_VAL_41 +# endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif +# ifdef XLAT_VAL_43 + | XLAT_VAL_43 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -679,6 +719,15 @@ # ifdef XLAT_STR_40 + sizeof(XLAT_STR_40) # endif +# ifdef XLAT_STR_41 + + sizeof(XLAT_STR_41) +# endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif +# ifdef XLAT_STR_43 + + sizeof(XLAT_STR_43) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -765,6 +814,12 @@ # undef XLAT_VAL_39 # undef XLAT_STR_40 # undef XLAT_VAL_40 +# undef XLAT_STR_41 +# undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 +# undef XLAT_STR_43 +# undef XLAT_VAL_43 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_attach_type.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_attach_type.in
Changed
@@ -40,3 +40,6 @@ BPF_SK_SKB_VERDICT 38 BPF_SK_REUSEPORT_SELECT 39 BPF_SK_REUSEPORT_SELECT_OR_MIGRATE 40 +BPF_PERF_EVENT 41 +BPF_TRACE_KPROBE_MULTI 42 +BPF_LSM_CGROUP 43
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_class.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_class.h
Changed
@@ -59,6 +59,7 @@ #else # define BPF_MISC 0x7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_commands.h
Changed
@@ -255,6 +255,7 @@ #else # define BPF_PROG_BIND_MAP 35 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_file_mode_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_file_mode_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define BPF_F_WRONLY (1U << 4) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_link_create_kprobe_multi_flags.h
Added
@@ -0,0 +1,51 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/bpf_link_create_kprobe_multi_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(BPF_F_KPROBE_MULTI_RETURN) || (defined(HAVE_DECL_BPF_F_KPROBE_MULTI_RETURN) && HAVE_DECL_BPF_F_KPROBE_MULTI_RETURN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_F_KPROBE_MULTI_RETURN) == ((1U << 0)), "BPF_F_KPROBE_MULTI_RETURN != (1U << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_F_KPROBE_MULTI_RETURN (1U << 0) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat bpf_link_create_kprobe_multi_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data bpf_link_create_kprobe_multi_flags_xdata = { + XLAT(BPF_F_KPROBE_MULTI_RETURN), + #define XLAT_VAL_0 ((unsigned) (BPF_F_KPROBE_MULTI_RETURN)) + #define XLAT_STR_0 STRINGIFY(BPF_F_KPROBE_MULTI_RETURN) +}; +static +const struct xlat bpf_link_create_kprobe_multi_flags1 = { { + .data = bpf_link_create_kprobe_multi_flags_xdata, + .size = ARRAY_SIZE(bpf_link_create_kprobe_multi_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_link_create_kprobe_multi_flags.in
Added
@@ -0,0 +1,1 @@ +BPF_F_KPROBE_MULTI_RETURN (1U << 0)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_map_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_map_flags.h
Changed
@@ -94,6 +94,7 @@ #else # define BPF_F_INNER_MAP (1U << 12) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_map_lookup_elem_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_map_lookup_elem_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define BPF_F_LOCK 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_map_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_map_types.h
Changed
@@ -213,6 +213,21 @@ #else # define BPF_MAP_TYPE_TASK_STORAGE 29 #endif +#if defined(BPF_MAP_TYPE_BLOOM_FILTER) || (defined(HAVE_DECL_BPF_MAP_TYPE_BLOOM_FILTER) && HAVE_DECL_BPF_MAP_TYPE_BLOOM_FILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_MAP_TYPE_BLOOM_FILTER) == (30), "BPF_MAP_TYPE_BLOOM_FILTER != 30"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_MAP_TYPE_BLOOM_FILTER 30 +#endif +#if defined(BPF_MAP_TYPE_USER_RINGBUF) || (defined(HAVE_DECL_BPF_MAP_TYPE_USER_RINGBUF) && HAVE_DECL_BPF_MAP_TYPE_USER_RINGBUF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_MAP_TYPE_USER_RINGBUF) == (31), "BPF_MAP_TYPE_USER_RINGBUF != 31"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_MAP_TYPE_USER_RINGBUF 31 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -314,6 +329,12 @@ BPF_MAP_TYPE_TASK_STORAGE = XLAT(BPF_MAP_TYPE_TASK_STORAGE), #define XLAT_VAL_29 ((unsigned) (BPF_MAP_TYPE_TASK_STORAGE)) #define XLAT_STR_29 STRINGIFY(BPF_MAP_TYPE_TASK_STORAGE) + BPF_MAP_TYPE_BLOOM_FILTER = XLAT(BPF_MAP_TYPE_BLOOM_FILTER), + #define XLAT_VAL_30 ((unsigned) (BPF_MAP_TYPE_BLOOM_FILTER)) + #define XLAT_STR_30 STRINGIFY(BPF_MAP_TYPE_BLOOM_FILTER) + BPF_MAP_TYPE_USER_RINGBUF = XLAT(BPF_MAP_TYPE_USER_RINGBUF), + #define XLAT_VAL_31 ((unsigned) (BPF_MAP_TYPE_USER_RINGBUF)) + #define XLAT_STR_31 STRINGIFY(BPF_MAP_TYPE_USER_RINGBUF) }; static const struct xlat bpf_map_types1 = { { @@ -411,6 +432,12 @@ # ifdef XLAT_VAL_29 | XLAT_VAL_29 # endif +# ifdef XLAT_VAL_30 + | XLAT_VAL_30 +# endif +# ifdef XLAT_VAL_31 + | XLAT_VAL_31 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -503,6 +530,12 @@ # ifdef XLAT_STR_29 + sizeof(XLAT_STR_29) # endif +# ifdef XLAT_STR_30 + + sizeof(XLAT_STR_30) +# endif +# ifdef XLAT_STR_31 + + sizeof(XLAT_STR_31) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -567,6 +600,10 @@ # undef XLAT_VAL_28 # undef XLAT_STR_29 # undef XLAT_VAL_29 +# undef XLAT_STR_30 +# undef XLAT_VAL_30 +# undef XLAT_STR_31 +# undef XLAT_VAL_31 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_map_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_map_types.in
Changed
@@ -29,3 +29,5 @@ BPF_MAP_TYPE_RINGBUF 27 BPF_MAP_TYPE_INODE_STORAGE 28 BPF_MAP_TYPE_TASK_STORAGE 29 +BPF_MAP_TYPE_BLOOM_FILTER 30 +BPF_MAP_TYPE_USER_RINGBUF 31
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_map_update_elem_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_map_update_elem_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define BPF_F_LOCK 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_miscop.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_miscop.h
Changed
@@ -17,6 +17,7 @@ #else # define BPF_TXA 0x80 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_mode.h
Changed
@@ -52,6 +52,7 @@ #else # define BPF_XADD 0xc0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_op_alu.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_op_alu.h
Changed
@@ -101,6 +101,7 @@ #else # define BPF_END 0xd0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_op_jmp.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_op_jmp.h
Changed
@@ -101,6 +101,7 @@ #else # define BPF_JSLE 0xd0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_prog_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_prog_flags.h
Changed
@@ -38,6 +38,7 @@ #else # define BPF_F_SLEEPABLE (1U << 4) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_prog_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_prog_types.h
Changed
@@ -227,6 +227,7 @@ #else # define BPF_PROG_TYPE_SYSCALL 31 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_query_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_query_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define BPF_F_QUERY_EFFECTIVE (1U << 0) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_rval.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_rval.h
Changed
@@ -24,6 +24,7 @@ #else # define BPF_A 0x10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_size.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_size.h
Changed
@@ -31,6 +31,7 @@ #else # define BPF_DW 0x18 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_src.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_src.h
Changed
@@ -17,6 +17,7 @@ #else # define BPF_X 0x08 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bpf_task_fd_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_task_fd_type.h
Changed
@@ -45,6 +45,7 @@ #else # define BPF_FD_TYPE_URETPROBE 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_test_run_flags.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/bpf_test_run_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(BPF_F_TEST_RUN_ON_CPU) || (defined(HAVE_DECL_BPF_F_TEST_RUN_ON_CPU) && HAVE_DECL_BPF_F_TEST_RUN_ON_CPU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_F_TEST_RUN_ON_CPU) == ((1U << 0)), "BPF_F_TEST_RUN_ON_CPU != (1U << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_F_TEST_RUN_ON_CPU (1U << 0) +#endif +#if defined(BPF_F_TEST_XDP_LIVE_FRAMES) || (defined(HAVE_DECL_BPF_F_TEST_XDP_LIVE_FRAMES) && HAVE_DECL_BPF_F_TEST_XDP_LIVE_FRAMES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BPF_F_TEST_XDP_LIVE_FRAMES) == ((1U << 1)), "BPF_F_TEST_XDP_LIVE_FRAMES != (1U << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define BPF_F_TEST_XDP_LIVE_FRAMES (1U << 1) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat bpf_test_run_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data bpf_test_run_flags_xdata = { + XLAT(BPF_F_TEST_RUN_ON_CPU), + #define XLAT_VAL_0 ((unsigned) (BPF_F_TEST_RUN_ON_CPU)) + #define XLAT_STR_0 STRINGIFY(BPF_F_TEST_RUN_ON_CPU) + XLAT(BPF_F_TEST_XDP_LIVE_FRAMES), + #define XLAT_VAL_1 ((unsigned) (BPF_F_TEST_XDP_LIVE_FRAMES)) + #define XLAT_STR_1 STRINGIFY(BPF_F_TEST_XDP_LIVE_FRAMES) +}; +static +const struct xlat bpf_test_run_flags1 = { { + .data = bpf_test_run_flags_xdata, + .size = ARRAY_SIZE(bpf_test_run_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/bpf_test_run_flags.in
Added
@@ -0,0 +1,2 @@ +BPF_F_TEST_RUN_ON_CPU (1U << 0) +BPF_F_TEST_XDP_LIVE_FRAMES (1U << 1)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bsg_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bsg_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bsg_protocol.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bsg_protocol.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bsg_subprotocol.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bsg_subprotocol.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/bt_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/bt_protocols.h
Changed
@@ -59,6 +59,7 @@ #else # define BTPROTO_AVDTP 7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_balance_args.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_balance_args.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_balance_ctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_balance_ctl_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_balance_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_balance_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_balance_state.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_balance_state.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_compress_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_compress_types.h
Changed
@@ -31,6 +31,7 @@ #else # define BTRFS_COMPRESS_ZSTD 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_cont_reading_from_srcdev_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_cont_reading_from_srcdev_mode.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_csum_types.h
Added
@@ -0,0 +1,79 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/btrfs_csum_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat btrfs_csum_types; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data btrfs_csum_types_xdata = { + BTRFS_CSUM_TYPE_CRC32 = XLAT(BTRFS_CSUM_TYPE_CRC32), + #define XLAT_VAL_0 ((unsigned) (BTRFS_CSUM_TYPE_CRC32)) + #define XLAT_STR_0 STRINGIFY(BTRFS_CSUM_TYPE_CRC32) + BTRFS_CSUM_TYPE_XXHASH = XLAT(BTRFS_CSUM_TYPE_XXHASH), + #define XLAT_VAL_1 ((unsigned) (BTRFS_CSUM_TYPE_XXHASH)) + #define XLAT_STR_1 STRINGIFY(BTRFS_CSUM_TYPE_XXHASH) + BTRFS_CSUM_TYPE_SHA256 = XLAT(BTRFS_CSUM_TYPE_SHA256), + #define XLAT_VAL_2 ((unsigned) (BTRFS_CSUM_TYPE_SHA256)) + #define XLAT_STR_2 STRINGIFY(BTRFS_CSUM_TYPE_SHA256) + BTRFS_CSUM_TYPE_BLAKE2 = XLAT(BTRFS_CSUM_TYPE_BLAKE2), + #define XLAT_VAL_3 ((unsigned) (BTRFS_CSUM_TYPE_BLAKE2)) + #define XLAT_STR_3 STRINGIFY(BTRFS_CSUM_TYPE_BLAKE2) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat btrfs_csum_types1 = { { + .data = btrfs_csum_types_xdata, + .size = ARRAY_SIZE(btrfs_csum_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_csum_types.in
Added
@@ -0,0 +1,6 @@ +#unconditional +#value_indexed +BTRFS_CSUM_TYPE_CRC32 +BTRFS_CSUM_TYPE_XXHASH +BTRFS_CSUM_TYPE_SHA256 +BTRFS_CSUM_TYPE_BLAKE2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_defrag_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_defrag_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_dev_replace_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_dev_replace_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_dev_replace_results.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_dev_replace_results.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_dev_replace_state.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_dev_replace_state.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_dev_stats_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_dev_stats_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_dev_stats_values.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_dev_stats_values.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_features_compat.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_features_compat.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_features_compat_ro.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_features_compat_ro.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -20,6 +21,12 @@ XLAT_TYPE(uint64_t, BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID), #define XLAT_VAL_1 ((uint64_t) (BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID)) #define XLAT_STR_1 STRINGIFY(BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID) + XLAT_TYPE(uint64_t, BTRFS_FEATURE_COMPAT_RO_VERITY), + #define XLAT_VAL_2 ((uint64_t) (BTRFS_FEATURE_COMPAT_RO_VERITY)) + #define XLAT_STR_2 STRINGIFY(BTRFS_FEATURE_COMPAT_RO_VERITY) + XLAT_TYPE(uint64_t, BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE), + #define XLAT_VAL_3 ((uint64_t) (BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE)) + #define XLAT_STR_3 STRINGIFY(BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -35,6 +42,12 @@ # ifdef XLAT_VAL_1 | XLAT_VAL_1 # endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -43,6 +56,12 @@ # ifdef XLAT_STR_1 + sizeof(XLAT_STR_1) # endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -51,6 +70,10 @@ # undef XLAT_VAL_0 # undef XLAT_STR_1 # undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_features_compat_ro.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_features_compat_ro.in
Changed
@@ -2,3 +2,5 @@ #val_type uint64_t BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID +BTRFS_FEATURE_COMPAT_RO_VERITY +BTRFS_FEATURE_COMPAT_RO_BLOCK_GROUP_TREE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_features_incompat.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_features_incompat.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -53,6 +54,9 @@ XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_ZONED), #define XLAT_VAL_12 ((uint64_t) (BTRFS_FEATURE_INCOMPAT_ZONED)) #define XLAT_STR_12 STRINGIFY(BTRFS_FEATURE_INCOMPAT_ZONED) + XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2), + #define XLAT_VAL_13 ((uint64_t) (BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2)) + #define XLAT_STR_13 STRINGIFY(BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -101,6 +105,9 @@ # ifdef XLAT_VAL_12 | XLAT_VAL_12 # endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -142,6 +149,9 @@ # ifdef XLAT_STR_12 + sizeof(XLAT_STR_12) # endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -172,6 +182,8 @@ # undef XLAT_VAL_11 # undef XLAT_STR_12 # undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_features_incompat.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_features_incompat.in
Changed
@@ -13,3 +13,4 @@ BTRFS_FEATURE_INCOMPAT_METADATA_UUID BTRFS_FEATURE_INCOMPAT_RAID1C34 BTRFS_FEATURE_INCOMPAT_ZONED +BTRFS_FEATURE_INCOMPAT_EXTENT_TREE_V2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_fs_info_flags.h
Added
@@ -0,0 +1,68 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/btrfs_fs_info_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat btrfs_fs_info_flags; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data btrfs_fs_info_flags_xdata = { + XLAT(BTRFS_FS_INFO_FLAG_CSUM_INFO), + #define XLAT_VAL_0 ((unsigned) (BTRFS_FS_INFO_FLAG_CSUM_INFO)) + #define XLAT_STR_0 STRINGIFY(BTRFS_FS_INFO_FLAG_CSUM_INFO) + XLAT(BTRFS_FS_INFO_FLAG_GENERATION), + #define XLAT_VAL_1 ((unsigned) (BTRFS_FS_INFO_FLAG_GENERATION)) + #define XLAT_STR_1 STRINGIFY(BTRFS_FS_INFO_FLAG_GENERATION) + XLAT(BTRFS_FS_INFO_FLAG_METADATA_UUID), + #define XLAT_VAL_2 ((unsigned) (BTRFS_FS_INFO_FLAG_METADATA_UUID)) + #define XLAT_STR_2 STRINGIFY(BTRFS_FS_INFO_FLAG_METADATA_UUID) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat btrfs_fs_info_flags1 = { { + .data = btrfs_fs_info_flags_xdata, + .size = ARRAY_SIZE(btrfs_fs_info_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_fs_info_flags.in
Added
@@ -0,0 +1,4 @@ +#unconditional +BTRFS_FS_INFO_FLAG_CSUM_INFO +BTRFS_FS_INFO_FLAG_GENERATION +BTRFS_FS_INFO_FLAG_METADATA_UUID
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_key_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_key_types.h
Changed
@@ -3,6 +3,335 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_INODE_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_INODE_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_INODE_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_INODE_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_INODE_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_INODE_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_INODE_EXTREF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_INODE_EXTREF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_INODE_EXTREF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_XATTR_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_XATTR_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_XATTR_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_VERITY_DESC_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_VERITY_DESC_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_VERITY_DESC_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_VERITY_MERKLE_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_VERITY_MERKLE_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_VERITY_MERKLE_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_ORPHAN_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_ORPHAN_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_ORPHAN_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DIR_LOG_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DIR_LOG_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DIR_LOG_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DIR_LOG_INDEX_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DIR_LOG_INDEX_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DIR_LOG_INDEX_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DIR_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DIR_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DIR_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DIR_INDEX_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DIR_INDEX_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DIR_INDEX_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_EXTENT_DATA_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_EXTENT_DATA_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_EXTENT_DATA_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_EXTENT_CSUM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_EXTENT_CSUM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_EXTENT_CSUM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_ROOT_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_ROOT_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_ROOT_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_ROOT_BACKREF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_ROOT_BACKREF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_ROOT_BACKREF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_ROOT_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_ROOT_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_ROOT_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_EXTENT_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_EXTENT_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_EXTENT_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_METADATA_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_METADATA_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_METADATA_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_TREE_BLOCK_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_TREE_BLOCK_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_TREE_BLOCK_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_EXTENT_DATA_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_EXTENT_DATA_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_EXTENT_DATA_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_EXTENT_REF_V0_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_EXTENT_REF_V0_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_EXTENT_REF_V0_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_SHARED_BLOCK_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_SHARED_BLOCK_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_SHARED_BLOCK_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_SHARED_DATA_REF_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_SHARED_DATA_REF_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_SHARED_DATA_REF_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_BLOCK_GROUP_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_BLOCK_GROUP_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_BLOCK_GROUP_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_FREE_SPACE_INFO_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_FREE_SPACE_INFO_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_FREE_SPACE_INFO_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_FREE_SPACE_EXTENT_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_FREE_SPACE_EXTENT_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_FREE_SPACE_EXTENT_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_FREE_SPACE_BITMAP_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_FREE_SPACE_BITMAP_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_FREE_SPACE_BITMAP_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DEV_EXTENT_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DEV_EXTENT_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DEV_EXTENT_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DEV_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DEV_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DEV_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_CHUNK_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_CHUNK_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_CHUNK_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_QGROUP_STATUS_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_QGROUP_STATUS_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_QGROUP_STATUS_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_QGROUP_INFO_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_QGROUP_INFO_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_QGROUP_INFO_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_QGROUP_LIMIT_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_QGROUP_LIMIT_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_QGROUP_LIMIT_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_QGROUP_RELATION_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_QGROUP_RELATION_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_QGROUP_RELATION_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_TEMPORARY_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_TEMPORARY_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_TEMPORARY_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_PERSISTENT_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_PERSISTENT_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_PERSISTENT_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_DEV_REPLACE_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_DEV_REPLACE_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_DEV_REPLACE_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_UUID_KEY_SUBVOL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_UUID_KEY_SUBVOL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_UUID_KEY_SUBVOL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_UUID_KEY_RECEIVED_SUBVOL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_UUID_KEY_RECEIVED_SUBVOL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_UUID_KEY_RECEIVED_SUBVOL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_STRING_ITEM_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_STRING_ITEM_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_STRING_ITEM_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (UINT32_MAX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: UINT32_MAX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (UINT32_MAX) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -26,99 +355,99 @@ XLAT_TYPE(uint64_t, BTRFS_XATTR_ITEM_KEY), #define XLAT_VAL_3 ((uint64_t) (BTRFS_XATTR_ITEM_KEY)) #define XLAT_STR_3 STRINGIFY(BTRFS_XATTR_ITEM_KEY) + XLAT_TYPE(uint64_t, BTRFS_VERITY_DESC_ITEM_KEY), + #define XLAT_VAL_4 ((uint64_t) (BTRFS_VERITY_DESC_ITEM_KEY)) + #define XLAT_STR_4 STRINGIFY(BTRFS_VERITY_DESC_ITEM_KEY) + XLAT_TYPE(uint64_t, BTRFS_VERITY_MERKLE_ITEM_KEY), + #define XLAT_VAL_5 ((uint64_t) (BTRFS_VERITY_MERKLE_ITEM_KEY)) + #define XLAT_STR_5 STRINGIFY(BTRFS_VERITY_MERKLE_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_ORPHAN_ITEM_KEY), - #define XLAT_VAL_4 ((uint64_t) (BTRFS_ORPHAN_ITEM_KEY)) - #define XLAT_STR_4 STRINGIFY(BTRFS_ORPHAN_ITEM_KEY) + #define XLAT_VAL_6 ((uint64_t) (BTRFS_ORPHAN_ITEM_KEY)) + #define XLAT_STR_6 STRINGIFY(BTRFS_ORPHAN_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_DIR_LOG_ITEM_KEY), - #define XLAT_VAL_5 ((uint64_t) (BTRFS_DIR_LOG_ITEM_KEY)) - #define XLAT_STR_5 STRINGIFY(BTRFS_DIR_LOG_ITEM_KEY) + #define XLAT_VAL_7 ((uint64_t) (BTRFS_DIR_LOG_ITEM_KEY)) + #define XLAT_STR_7 STRINGIFY(BTRFS_DIR_LOG_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_DIR_LOG_INDEX_KEY), - #define XLAT_VAL_6 ((uint64_t) (BTRFS_DIR_LOG_INDEX_KEY)) - #define XLAT_STR_6 STRINGIFY(BTRFS_DIR_LOG_INDEX_KEY) + #define XLAT_VAL_8 ((uint64_t) (BTRFS_DIR_LOG_INDEX_KEY)) + #define XLAT_STR_8 STRINGIFY(BTRFS_DIR_LOG_INDEX_KEY) XLAT_TYPE(uint64_t, BTRFS_DIR_ITEM_KEY), - #define XLAT_VAL_7 ((uint64_t) (BTRFS_DIR_ITEM_KEY)) - #define XLAT_STR_7 STRINGIFY(BTRFS_DIR_ITEM_KEY) + #define XLAT_VAL_9 ((uint64_t) (BTRFS_DIR_ITEM_KEY)) + #define XLAT_STR_9 STRINGIFY(BTRFS_DIR_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_DIR_INDEX_KEY), - #define XLAT_VAL_8 ((uint64_t) (BTRFS_DIR_INDEX_KEY)) - #define XLAT_STR_8 STRINGIFY(BTRFS_DIR_INDEX_KEY) + #define XLAT_VAL_10 ((uint64_t) (BTRFS_DIR_INDEX_KEY)) + #define XLAT_STR_10 STRINGIFY(BTRFS_DIR_INDEX_KEY) XLAT_TYPE(uint64_t, BTRFS_EXTENT_DATA_KEY), - #define XLAT_VAL_9 ((uint64_t) (BTRFS_EXTENT_DATA_KEY)) - #define XLAT_STR_9 STRINGIFY(BTRFS_EXTENT_DATA_KEY) + #define XLAT_VAL_11 ((uint64_t) (BTRFS_EXTENT_DATA_KEY)) + #define XLAT_STR_11 STRINGIFY(BTRFS_EXTENT_DATA_KEY) XLAT_TYPE(uint64_t, BTRFS_EXTENT_CSUM_KEY), - #define XLAT_VAL_10 ((uint64_t) (BTRFS_EXTENT_CSUM_KEY)) - #define XLAT_STR_10 STRINGIFY(BTRFS_EXTENT_CSUM_KEY) + #define XLAT_VAL_12 ((uint64_t) (BTRFS_EXTENT_CSUM_KEY)) + #define XLAT_STR_12 STRINGIFY(BTRFS_EXTENT_CSUM_KEY) XLAT_TYPE(uint64_t, BTRFS_ROOT_ITEM_KEY), - #define XLAT_VAL_11 ((uint64_t) (BTRFS_ROOT_ITEM_KEY)) - #define XLAT_STR_11 STRINGIFY(BTRFS_ROOT_ITEM_KEY) + #define XLAT_VAL_13 ((uint64_t) (BTRFS_ROOT_ITEM_KEY)) + #define XLAT_STR_13 STRINGIFY(BTRFS_ROOT_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_ROOT_BACKREF_KEY), - #define XLAT_VAL_12 ((uint64_t) (BTRFS_ROOT_BACKREF_KEY)) - #define XLAT_STR_12 STRINGIFY(BTRFS_ROOT_BACKREF_KEY) + #define XLAT_VAL_14 ((uint64_t) (BTRFS_ROOT_BACKREF_KEY)) + #define XLAT_STR_14 STRINGIFY(BTRFS_ROOT_BACKREF_KEY) XLAT_TYPE(uint64_t, BTRFS_ROOT_REF_KEY), - #define XLAT_VAL_13 ((uint64_t) (BTRFS_ROOT_REF_KEY)) - #define XLAT_STR_13 STRINGIFY(BTRFS_ROOT_REF_KEY) + #define XLAT_VAL_15 ((uint64_t) (BTRFS_ROOT_REF_KEY)) + #define XLAT_STR_15 STRINGIFY(BTRFS_ROOT_REF_KEY) XLAT_TYPE(uint64_t, BTRFS_EXTENT_ITEM_KEY), - #define XLAT_VAL_14 ((uint64_t) (BTRFS_EXTENT_ITEM_KEY)) - #define XLAT_STR_14 STRINGIFY(BTRFS_EXTENT_ITEM_KEY) + #define XLAT_VAL_16 ((uint64_t) (BTRFS_EXTENT_ITEM_KEY)) + #define XLAT_STR_16 STRINGIFY(BTRFS_EXTENT_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_METADATA_ITEM_KEY), - #define XLAT_VAL_15 ((uint64_t) (BTRFS_METADATA_ITEM_KEY)) - #define XLAT_STR_15 STRINGIFY(BTRFS_METADATA_ITEM_KEY) + #define XLAT_VAL_17 ((uint64_t) (BTRFS_METADATA_ITEM_KEY)) + #define XLAT_STR_17 STRINGIFY(BTRFS_METADATA_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_TREE_BLOCK_REF_KEY), - #define XLAT_VAL_16 ((uint64_t) (BTRFS_TREE_BLOCK_REF_KEY)) - #define XLAT_STR_16 STRINGIFY(BTRFS_TREE_BLOCK_REF_KEY) + #define XLAT_VAL_18 ((uint64_t) (BTRFS_TREE_BLOCK_REF_KEY)) + #define XLAT_STR_18 STRINGIFY(BTRFS_TREE_BLOCK_REF_KEY) XLAT_TYPE(uint64_t, BTRFS_EXTENT_DATA_REF_KEY), - #define XLAT_VAL_17 ((uint64_t) (BTRFS_EXTENT_DATA_REF_KEY)) - #define XLAT_STR_17 STRINGIFY(BTRFS_EXTENT_DATA_REF_KEY) + #define XLAT_VAL_19 ((uint64_t) (BTRFS_EXTENT_DATA_REF_KEY)) + #define XLAT_STR_19 STRINGIFY(BTRFS_EXTENT_DATA_REF_KEY) XLAT_TYPE(uint64_t, BTRFS_EXTENT_REF_V0_KEY), - #define XLAT_VAL_18 ((uint64_t) (BTRFS_EXTENT_REF_V0_KEY)) - #define XLAT_STR_18 STRINGIFY(BTRFS_EXTENT_REF_V0_KEY) + #define XLAT_VAL_20 ((uint64_t) (BTRFS_EXTENT_REF_V0_KEY)) + #define XLAT_STR_20 STRINGIFY(BTRFS_EXTENT_REF_V0_KEY) XLAT_TYPE(uint64_t, BTRFS_SHARED_BLOCK_REF_KEY), - #define XLAT_VAL_19 ((uint64_t) (BTRFS_SHARED_BLOCK_REF_KEY)) - #define XLAT_STR_19 STRINGIFY(BTRFS_SHARED_BLOCK_REF_KEY) + #define XLAT_VAL_21 ((uint64_t) (BTRFS_SHARED_BLOCK_REF_KEY)) + #define XLAT_STR_21 STRINGIFY(BTRFS_SHARED_BLOCK_REF_KEY) XLAT_TYPE(uint64_t, BTRFS_SHARED_DATA_REF_KEY), - #define XLAT_VAL_20 ((uint64_t) (BTRFS_SHARED_DATA_REF_KEY)) - #define XLAT_STR_20 STRINGIFY(BTRFS_SHARED_DATA_REF_KEY) + #define XLAT_VAL_22 ((uint64_t) (BTRFS_SHARED_DATA_REF_KEY)) + #define XLAT_STR_22 STRINGIFY(BTRFS_SHARED_DATA_REF_KEY) XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_ITEM_KEY), - #define XLAT_VAL_21 ((uint64_t) (BTRFS_BLOCK_GROUP_ITEM_KEY)) - #define XLAT_STR_21 STRINGIFY(BTRFS_BLOCK_GROUP_ITEM_KEY) + #define XLAT_VAL_23 ((uint64_t) (BTRFS_BLOCK_GROUP_ITEM_KEY)) + #define XLAT_STR_23 STRINGIFY(BTRFS_BLOCK_GROUP_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_FREE_SPACE_INFO_KEY), - #define XLAT_VAL_22 ((uint64_t) (BTRFS_FREE_SPACE_INFO_KEY)) - #define XLAT_STR_22 STRINGIFY(BTRFS_FREE_SPACE_INFO_KEY) + #define XLAT_VAL_24 ((uint64_t) (BTRFS_FREE_SPACE_INFO_KEY)) + #define XLAT_STR_24 STRINGIFY(BTRFS_FREE_SPACE_INFO_KEY) XLAT_TYPE(uint64_t, BTRFS_FREE_SPACE_EXTENT_KEY), - #define XLAT_VAL_23 ((uint64_t) (BTRFS_FREE_SPACE_EXTENT_KEY)) - #define XLAT_STR_23 STRINGIFY(BTRFS_FREE_SPACE_EXTENT_KEY) + #define XLAT_VAL_25 ((uint64_t) (BTRFS_FREE_SPACE_EXTENT_KEY)) + #define XLAT_STR_25 STRINGIFY(BTRFS_FREE_SPACE_EXTENT_KEY) XLAT_TYPE(uint64_t, BTRFS_FREE_SPACE_BITMAP_KEY), - #define XLAT_VAL_24 ((uint64_t) (BTRFS_FREE_SPACE_BITMAP_KEY)) - #define XLAT_STR_24 STRINGIFY(BTRFS_FREE_SPACE_BITMAP_KEY) + #define XLAT_VAL_26 ((uint64_t) (BTRFS_FREE_SPACE_BITMAP_KEY)) + #define XLAT_STR_26 STRINGIFY(BTRFS_FREE_SPACE_BITMAP_KEY) XLAT_TYPE(uint64_t, BTRFS_DEV_EXTENT_KEY), - #define XLAT_VAL_25 ((uint64_t) (BTRFS_DEV_EXTENT_KEY)) - #define XLAT_STR_25 STRINGIFY(BTRFS_DEV_EXTENT_KEY) + #define XLAT_VAL_27 ((uint64_t) (BTRFS_DEV_EXTENT_KEY)) + #define XLAT_STR_27 STRINGIFY(BTRFS_DEV_EXTENT_KEY) XLAT_TYPE(uint64_t, BTRFS_DEV_ITEM_KEY), - #define XLAT_VAL_26 ((uint64_t) (BTRFS_DEV_ITEM_KEY)) - #define XLAT_STR_26 STRINGIFY(BTRFS_DEV_ITEM_KEY) + #define XLAT_VAL_28 ((uint64_t) (BTRFS_DEV_ITEM_KEY)) + #define XLAT_STR_28 STRINGIFY(BTRFS_DEV_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_CHUNK_ITEM_KEY), - #define XLAT_VAL_27 ((uint64_t) (BTRFS_CHUNK_ITEM_KEY)) - #define XLAT_STR_27 STRINGIFY(BTRFS_CHUNK_ITEM_KEY) + #define XLAT_VAL_29 ((uint64_t) (BTRFS_CHUNK_ITEM_KEY)) + #define XLAT_STR_29 STRINGIFY(BTRFS_CHUNK_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_QGROUP_STATUS_KEY), - #define XLAT_VAL_28 ((uint64_t) (BTRFS_QGROUP_STATUS_KEY)) - #define XLAT_STR_28 STRINGIFY(BTRFS_QGROUP_STATUS_KEY) + #define XLAT_VAL_30 ((uint64_t) (BTRFS_QGROUP_STATUS_KEY)) + #define XLAT_STR_30 STRINGIFY(BTRFS_QGROUP_STATUS_KEY) XLAT_TYPE(uint64_t, BTRFS_QGROUP_INFO_KEY), - #define XLAT_VAL_29 ((uint64_t) (BTRFS_QGROUP_INFO_KEY)) - #define XLAT_STR_29 STRINGIFY(BTRFS_QGROUP_INFO_KEY) + #define XLAT_VAL_31 ((uint64_t) (BTRFS_QGROUP_INFO_KEY)) + #define XLAT_STR_31 STRINGIFY(BTRFS_QGROUP_INFO_KEY) XLAT_TYPE(uint64_t, BTRFS_QGROUP_LIMIT_KEY), - #define XLAT_VAL_30 ((uint64_t) (BTRFS_QGROUP_LIMIT_KEY)) - #define XLAT_STR_30 STRINGIFY(BTRFS_QGROUP_LIMIT_KEY) + #define XLAT_VAL_32 ((uint64_t) (BTRFS_QGROUP_LIMIT_KEY)) + #define XLAT_STR_32 STRINGIFY(BTRFS_QGROUP_LIMIT_KEY) XLAT_TYPE(uint64_t, BTRFS_QGROUP_RELATION_KEY), - #define XLAT_VAL_31 ((uint64_t) (BTRFS_QGROUP_RELATION_KEY)) - #define XLAT_STR_31 STRINGIFY(BTRFS_QGROUP_RELATION_KEY) - XLAT_TYPE(uint64_t, BTRFS_BALANCE_ITEM_KEY), - #define XLAT_VAL_32 ((uint64_t) (BTRFS_BALANCE_ITEM_KEY)) - #define XLAT_STR_32 STRINGIFY(BTRFS_BALANCE_ITEM_KEY) + #define XLAT_VAL_33 ((uint64_t) (BTRFS_QGROUP_RELATION_KEY)) + #define XLAT_STR_33 STRINGIFY(BTRFS_QGROUP_RELATION_KEY) XLAT_TYPE(uint64_t, BTRFS_TEMPORARY_ITEM_KEY), - #define XLAT_VAL_33 ((uint64_t) (BTRFS_TEMPORARY_ITEM_KEY)) - #define XLAT_STR_33 STRINGIFY(BTRFS_TEMPORARY_ITEM_KEY) - XLAT_TYPE(uint64_t, BTRFS_DEV_STATS_KEY), - #define XLAT_VAL_34 ((uint64_t) (BTRFS_DEV_STATS_KEY)) - #define XLAT_STR_34 STRINGIFY(BTRFS_DEV_STATS_KEY) + #define XLAT_VAL_34 ((uint64_t) (BTRFS_TEMPORARY_ITEM_KEY)) + #define XLAT_STR_34 STRINGIFY(BTRFS_TEMPORARY_ITEM_KEY) XLAT_TYPE(uint64_t, BTRFS_PERSISTENT_ITEM_KEY), #define XLAT_VAL_35 ((uint64_t) (BTRFS_PERSISTENT_ITEM_KEY)) #define XLAT_STR_35 STRINGIFY(BTRFS_PERSISTENT_ITEM_KEY) @@ -144,7 +473,7 @@ const struct xlat btrfs_key_types1 = { { .data = btrfs_key_types_xdata, .size = ARRAY_SIZE(btrfs_key_types_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_key_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_key_types.in
Changed
@@ -1,9 +1,12 @@ #unconditional +#sorted #val_type uint64_t BTRFS_INODE_ITEM_KEY BTRFS_INODE_REF_KEY BTRFS_INODE_EXTREF_KEY BTRFS_XATTR_ITEM_KEY +BTRFS_VERITY_DESC_ITEM_KEY +BTRFS_VERITY_MERKLE_ITEM_KEY BTRFS_ORPHAN_ITEM_KEY BTRFS_DIR_LOG_ITEM_KEY BTRFS_DIR_LOG_INDEX_KEY @@ -32,9 +35,7 @@ BTRFS_QGROUP_INFO_KEY BTRFS_QGROUP_LIMIT_KEY BTRFS_QGROUP_RELATION_KEY -BTRFS_BALANCE_ITEM_KEY BTRFS_TEMPORARY_ITEM_KEY -BTRFS_DEV_STATS_KEY BTRFS_PERSISTENT_ITEM_KEY BTRFS_DEV_REPLACE_KEY BTRFS_UUID_KEY_SUBVOL
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_logical_ino_args_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_logical_ino_args_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_qgroup_ctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_qgroup_ctl_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_qgroup_inherit_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_qgroup_inherit_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_qgroup_limit_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_qgroup_limit_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_qgroup_status_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_qgroup_status_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_scrub_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_scrub_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_send_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_send_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -23,6 +24,12 @@ XLAT(BTRFS_SEND_FLAG_OMIT_END_CMD), #define XLAT_VAL_2 ((unsigned) (BTRFS_SEND_FLAG_OMIT_END_CMD)) #define XLAT_STR_2 STRINGIFY(BTRFS_SEND_FLAG_OMIT_END_CMD) + XLAT(BTRFS_SEND_FLAG_VERSION), + #define XLAT_VAL_3 ((unsigned) (BTRFS_SEND_FLAG_VERSION)) + #define XLAT_STR_3 STRINGIFY(BTRFS_SEND_FLAG_VERSION) + XLAT(BTRFS_SEND_FLAG_COMPRESSED), + #define XLAT_VAL_4 ((unsigned) (BTRFS_SEND_FLAG_COMPRESSED)) + #define XLAT_STR_4 STRINGIFY(BTRFS_SEND_FLAG_COMPRESSED) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -41,6 +48,12 @@ # ifdef XLAT_VAL_2 | XLAT_VAL_2 # endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -52,6 +65,12 @@ # ifdef XLAT_STR_2 + sizeof(XLAT_STR_2) # endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -62,6 +81,10 @@ # undef XLAT_VAL_1 # undef XLAT_STR_2 # undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_send_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_send_flags.in
Changed
@@ -2,3 +2,5 @@ BTRFS_SEND_FLAG_NO_FILE_DATA BTRFS_SEND_FLAG_OMIT_STREAM_HEADER BTRFS_SEND_FLAG_OMIT_END_CMD +BTRFS_SEND_FLAG_VERSION +BTRFS_SEND_FLAG_COMPRESSED
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_snap_flags_v2.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_snap_flags_v2.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_space_info_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_space_info_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_tree_objectids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_tree_objectids.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -44,15 +45,18 @@ XLAT_TYPE(uint64_t, BTRFS_FREE_SPACE_TREE_OBJECTID), #define XLAT_VAL_9 ((uint64_t) (BTRFS_FREE_SPACE_TREE_OBJECTID)) #define XLAT_STR_9 STRINGIFY(BTRFS_FREE_SPACE_TREE_OBJECTID) + XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_TREE_OBJECTID), + #define XLAT_VAL_10 ((uint64_t) (BTRFS_BLOCK_GROUP_TREE_OBJECTID)) + #define XLAT_STR_10 STRINGIFY(BTRFS_BLOCK_GROUP_TREE_OBJECTID) XLAT_TYPE(uint64_t, BTRFS_FIRST_FREE_OBJECTID), - #define XLAT_VAL_10 ((uint64_t) (BTRFS_FIRST_FREE_OBJECTID)) - #define XLAT_STR_10 STRINGIFY(BTRFS_FIRST_FREE_OBJECTID) + #define XLAT_VAL_11 ((uint64_t) (BTRFS_FIRST_FREE_OBJECTID)) + #define XLAT_STR_11 STRINGIFY(BTRFS_FIRST_FREE_OBJECTID) XLAT_TYPE(uint64_t, BTRFS_LAST_FREE_OBJECTID), - #define XLAT_VAL_11 ((uint64_t) (BTRFS_LAST_FREE_OBJECTID)) - #define XLAT_STR_11 STRINGIFY(BTRFS_LAST_FREE_OBJECTID) + #define XLAT_VAL_12 ((uint64_t) (BTRFS_LAST_FREE_OBJECTID)) + #define XLAT_STR_12 STRINGIFY(BTRFS_LAST_FREE_OBJECTID) XLAT_TYPE(uint64_t, UINT64_MAX), - #define XLAT_VAL_12 ((uint64_t) (UINT64_MAX)) - #define XLAT_STR_12 STRINGIFY(UINT64_MAX) + #define XLAT_VAL_13 ((uint64_t) (UINT64_MAX)) + #define XLAT_STR_13 STRINGIFY(UINT64_MAX) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -101,6 +105,9 @@ # ifdef XLAT_VAL_12 | XLAT_VAL_12 # endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -142,6 +149,9 @@ # ifdef XLAT_STR_12 + sizeof(XLAT_STR_12) # endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -172,6 +182,8 @@ # undef XLAT_VAL_11 # undef XLAT_STR_12 # undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/btrfs_tree_objectids.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/btrfs_tree_objectids.in
Changed
@@ -10,6 +10,7 @@ BTRFS_QUOTA_TREE_OBJECTID BTRFS_UUID_TREE_OBJECTID BTRFS_FREE_SPACE_TREE_OBJECTID +BTRFS_BLOCK_GROUP_TREE_OBJECTID BTRFS_FIRST_FREE_OBJECTID BTRFS_LAST_FREE_OBJECTID UINT64_MAX
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cacheflush_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cacheflush_flags.h
Changed
@@ -84,6 +84,7 @@ # define CACHEFLUSH_D_WB 2 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cacheflush_scope.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cacheflush_scope.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/caif_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/caif_protocols.h
Changed
@@ -45,6 +45,7 @@ #else # define CAIFPROTO_DEBUG 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/can_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/can_protocols.h
Changed
@@ -52,6 +52,7 @@ #else # define CAN_J1939 7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cap.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cap.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cap_mask0.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cap_mask0.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cap_mask1.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cap_mask1.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cap_version.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cap_version.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/clockflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/clockflags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/clocknames.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/clocknames.h
Changed
@@ -87,6 +87,7 @@ #else # define CLOCK_TAI 11 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/clone3_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/clone3_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/clone_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/clone_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/close_range_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/close_range_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/compat_ptrace_cmds.h
Added
@@ -0,0 +1,323 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/compat_ptrace_cmds.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined __arm64__ || defined __aarch64__ +#if defined(COMPAT_PTRACE_GETREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETREGS) && HAVE_DECL_COMPAT_PTRACE_GETREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_GETREGS) == (12), "COMPAT_PTRACE_GETREGS != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_GETREGS 12 +#endif +#if defined(COMPAT_PTRACE_GETREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETREGS) && HAVE_DECL_COMPAT_PTRACE_GETREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_GETREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_GETREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_GETREGS) +#endif +#if defined(COMPAT_PTRACE_SETREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETREGS) && HAVE_DECL_COMPAT_PTRACE_SETREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_SETREGS) == (13), "COMPAT_PTRACE_SETREGS != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_SETREGS 13 +#endif +#if defined(COMPAT_PTRACE_SETREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETREGS) && HAVE_DECL_COMPAT_PTRACE_SETREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_SETREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_SETREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_SETREGS) +#endif +#if defined(COMPAT_PTRACE_GETFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETFPREGS) && HAVE_DECL_COMPAT_PTRACE_GETFPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_GETFPREGS) == (14), "COMPAT_PTRACE_GETFPREGS != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_GETFPREGS 14 +#endif +#if defined(COMPAT_PTRACE_GETFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETFPREGS) && HAVE_DECL_COMPAT_PTRACE_GETFPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_GETFPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_GETFPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_GETFPREGS) +#endif +#if defined(COMPAT_PTRACE_SETFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETFPREGS) && HAVE_DECL_COMPAT_PTRACE_SETFPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_SETFPREGS) == (15), "COMPAT_PTRACE_SETFPREGS != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_SETFPREGS 15 +#endif +#if defined(COMPAT_PTRACE_SETFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETFPREGS) && HAVE_DECL_COMPAT_PTRACE_SETFPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_SETFPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_SETFPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_SETFPREGS) +#endif +#if defined(COMPAT_PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_COMPAT_PTRACE_GET_THREAD_AREA) && HAVE_DECL_COMPAT_PTRACE_GET_THREAD_AREA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_GET_THREAD_AREA) == (22), "COMPAT_PTRACE_GET_THREAD_AREA != 22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_GET_THREAD_AREA 22 +#endif +#if defined(COMPAT_PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_COMPAT_PTRACE_GET_THREAD_AREA) && HAVE_DECL_COMPAT_PTRACE_GET_THREAD_AREA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_GET_THREAD_AREA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_GET_THREAD_AREA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_GET_THREAD_AREA) +#endif +#if defined(COMPAT_PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_COMPAT_PTRACE_SET_SYSCALL) && HAVE_DECL_COMPAT_PTRACE_SET_SYSCALL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_SET_SYSCALL) == (23), "COMPAT_PTRACE_SET_SYSCALL != 23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_SET_SYSCALL 23 +#endif +#if defined(COMPAT_PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_COMPAT_PTRACE_SET_SYSCALL) && HAVE_DECL_COMPAT_PTRACE_SET_SYSCALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_SET_SYSCALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_SET_SYSCALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_SET_SYSCALL) +#endif +#if defined(COMPAT_PTRACE_GETVFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETVFPREGS) && HAVE_DECL_COMPAT_PTRACE_GETVFPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_GETVFPREGS) == (27), "COMPAT_PTRACE_GETVFPREGS != 27"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_GETVFPREGS 27 +#endif +#if defined(COMPAT_PTRACE_GETVFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETVFPREGS) && HAVE_DECL_COMPAT_PTRACE_GETVFPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_GETVFPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_GETVFPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_GETVFPREGS) +#endif +#if defined(COMPAT_PTRACE_SETVFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETVFPREGS) && HAVE_DECL_COMPAT_PTRACE_SETVFPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_SETVFPREGS) == (28), "COMPAT_PTRACE_SETVFPREGS != 28"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_SETVFPREGS 28 +#endif +#if defined(COMPAT_PTRACE_SETVFPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETVFPREGS) && HAVE_DECL_COMPAT_PTRACE_SETVFPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_SETVFPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_SETVFPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_SETVFPREGS) +#endif +#if defined(COMPAT_PTRACE_GETHBPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETHBPREGS) && HAVE_DECL_COMPAT_PTRACE_GETHBPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_GETHBPREGS) == (29), "COMPAT_PTRACE_GETHBPREGS != 29"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_GETHBPREGS 29 +#endif +#if defined(COMPAT_PTRACE_GETHBPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_GETHBPREGS) && HAVE_DECL_COMPAT_PTRACE_GETHBPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_GETHBPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_GETHBPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_GETHBPREGS) +#endif +#if defined(COMPAT_PTRACE_SETHBPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETHBPREGS) && HAVE_DECL_COMPAT_PTRACE_SETHBPREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COMPAT_PTRACE_SETHBPREGS) == (30), "COMPAT_PTRACE_SETHBPREGS != 30"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define COMPAT_PTRACE_SETHBPREGS 30 +#endif +#if defined(COMPAT_PTRACE_SETHBPREGS) || (defined(HAVE_DECL_COMPAT_PTRACE_SETHBPREGS) && HAVE_DECL_COMPAT_PTRACE_SETHBPREGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COMPAT_PTRACE_SETHBPREGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COMPAT_PTRACE_SETHBPREGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COMPAT_PTRACE_SETHBPREGS) +#endif +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat compat_ptrace_cmds in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data compat_ptrace_cmds_xdata = { +#if defined __arm64__ || defined __aarch64__ + XLAT(COMPAT_PTRACE_GETREGS), + #define XLAT_VAL_0 ((unsigned) (COMPAT_PTRACE_GETREGS)) + #define XLAT_STR_0 STRINGIFY(COMPAT_PTRACE_GETREGS) + XLAT(COMPAT_PTRACE_SETREGS), + #define XLAT_VAL_1 ((unsigned) (COMPAT_PTRACE_SETREGS)) + #define XLAT_STR_1 STRINGIFY(COMPAT_PTRACE_SETREGS) + +/* +* These two are not defined in arch/arm64/include/asm/ptrace.h, +* but we still support decoding of PTRACE_GSETFPREGS for m32 tracees. +*/ + XLAT(COMPAT_PTRACE_GETFPREGS), + #define XLAT_VAL_2 ((unsigned) (COMPAT_PTRACE_GETFPREGS)) + #define XLAT_STR_2 STRINGIFY(COMPAT_PTRACE_GETFPREGS) + XLAT(COMPAT_PTRACE_SETFPREGS), + #define XLAT_VAL_3 ((unsigned) (COMPAT_PTRACE_SETFPREGS)) + #define XLAT_STR_3 STRINGIFY(COMPAT_PTRACE_SETFPREGS) + + XLAT(COMPAT_PTRACE_GET_THREAD_AREA), + #define XLAT_VAL_4 ((unsigned) (COMPAT_PTRACE_GET_THREAD_AREA)) + #define XLAT_STR_4 STRINGIFY(COMPAT_PTRACE_GET_THREAD_AREA) + XLAT(COMPAT_PTRACE_SET_SYSCALL), + #define XLAT_VAL_5 ((unsigned) (COMPAT_PTRACE_SET_SYSCALL)) + #define XLAT_STR_5 STRINGIFY(COMPAT_PTRACE_SET_SYSCALL) + XLAT(COMPAT_PTRACE_GETVFPREGS), + #define XLAT_VAL_6 ((unsigned) (COMPAT_PTRACE_GETVFPREGS)) + #define XLAT_STR_6 STRINGIFY(COMPAT_PTRACE_GETVFPREGS) + XLAT(COMPAT_PTRACE_SETVFPREGS), + #define XLAT_VAL_7 ((unsigned) (COMPAT_PTRACE_SETVFPREGS)) + #define XLAT_STR_7 STRINGIFY(COMPAT_PTRACE_SETVFPREGS) + XLAT(COMPAT_PTRACE_GETHBPREGS), + #define XLAT_VAL_8 ((unsigned) (COMPAT_PTRACE_GETHBPREGS)) + #define XLAT_STR_8 STRINGIFY(COMPAT_PTRACE_GETHBPREGS) + XLAT(COMPAT_PTRACE_SETHBPREGS), + #define XLAT_VAL_9 ((unsigned) (COMPAT_PTRACE_SETHBPREGS)) + #define XLAT_STR_9 STRINGIFY(COMPAT_PTRACE_SETHBPREGS) +#endif +}; +static +const struct xlat compat_ptrace_cmds1 = { { + .data = compat_ptrace_cmds_xdata, + .size = ARRAY_SIZE(compat_ptrace_cmds_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/compat_ptrace_cmds.in
Added
@@ -0,0 +1,19 @@ +#sorted +#if defined __arm64__ || defined __aarch64__ +COMPAT_PTRACE_GETREGS 12 +COMPAT_PTRACE_SETREGS 13 + +/* + * These two are not defined in arch/arm64/include/asm/ptrace.h, + * but we still support decoding of PTRACE_GSETFPREGS for m32 tracees. + */ +COMPAT_PTRACE_GETFPREGS 14 +COMPAT_PTRACE_SETFPREGS 15 + +COMPAT_PTRACE_GET_THREAD_AREA 22 +COMPAT_PTRACE_SET_SYSCALL 23 +COMPAT_PTRACE_GETVFPREGS 27 +COMPAT_PTRACE_SETVFPREGS 28 +COMPAT_PTRACE_GETHBPREGS 29 +COMPAT_PTRACE_SETHBPREGS 30 +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_component_types.h
Added
@@ -0,0 +1,117 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/counter_ioctl_component_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_NONE) == (0), "COUNTER_COMPONENT_NONE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_SIGNAL) == (1), "COUNTER_COMPONENT_SIGNAL != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_COUNT) == (2), "COUNTER_COMPONENT_COUNT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_FUNCTION) == (3), "COUNTER_COMPONENT_FUNCTION != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_SYNAPSE_ACTION) == (4), "COUNTER_COMPONENT_SYNAPSE_ACTION != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_COMPONENT_EXTENSION) == (5), "COUNTER_COMPONENT_EXTENSION != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat counter_ioctl_component_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data counter_ioctl_component_types_xdata = { + COUNTER_COMPONENT_NONE = XLAT(COUNTER_COMPONENT_NONE), + #define XLAT_VAL_0 ((unsigned) (COUNTER_COMPONENT_NONE)) + #define XLAT_STR_0 STRINGIFY(COUNTER_COMPONENT_NONE) + COUNTER_COMPONENT_SIGNAL = XLAT(COUNTER_COMPONENT_SIGNAL), + #define XLAT_VAL_1 ((unsigned) (COUNTER_COMPONENT_SIGNAL)) + #define XLAT_STR_1 STRINGIFY(COUNTER_COMPONENT_SIGNAL) + COUNTER_COMPONENT_COUNT = XLAT(COUNTER_COMPONENT_COUNT), + #define XLAT_VAL_2 ((unsigned) (COUNTER_COMPONENT_COUNT)) + #define XLAT_STR_2 STRINGIFY(COUNTER_COMPONENT_COUNT) + COUNTER_COMPONENT_FUNCTION = XLAT(COUNTER_COMPONENT_FUNCTION), + #define XLAT_VAL_3 ((unsigned) (COUNTER_COMPONENT_FUNCTION)) + #define XLAT_STR_3 STRINGIFY(COUNTER_COMPONENT_FUNCTION) + COUNTER_COMPONENT_SYNAPSE_ACTION = XLAT(COUNTER_COMPONENT_SYNAPSE_ACTION), + #define XLAT_VAL_4 ((unsigned) (COUNTER_COMPONENT_SYNAPSE_ACTION)) + #define XLAT_STR_4 STRINGIFY(COUNTER_COMPONENT_SYNAPSE_ACTION) + COUNTER_COMPONENT_EXTENSION = XLAT(COUNTER_COMPONENT_EXTENSION), + #define XLAT_VAL_5 ((unsigned) (COUNTER_COMPONENT_EXTENSION)) + #define XLAT_STR_5 STRINGIFY(COUNTER_COMPONENT_EXTENSION) +}; +static +const struct xlat counter_ioctl_component_types1 = { { + .data = counter_ioctl_component_types_xdata, + .size = ARRAY_SIZE(counter_ioctl_component_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_component_types.in
Added
@@ -0,0 +1,9 @@ +#enum +#value_indexed +#unconditional +COUNTER_COMPONENT_NONE 0 +COUNTER_COMPONENT_SIGNAL 1 +COUNTER_COMPONENT_COUNT 2 +COUNTER_COMPONENT_FUNCTION 3 +COUNTER_COMPONENT_SYNAPSE_ACTION 4 +COUNTER_COMPONENT_EXTENSION 5
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_event_types.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/counter_ioctl_event_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_OVERFLOW) == (0), "COUNTER_EVENT_OVERFLOW != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_UNDERFLOW) == (1), "COUNTER_EVENT_UNDERFLOW != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_OVERFLOW_UNDERFLOW) == (2), "COUNTER_EVENT_OVERFLOW_UNDERFLOW != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_THRESHOLD) == (3), "COUNTER_EVENT_THRESHOLD != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_INDEX) == (4), "COUNTER_EVENT_INDEX != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_CHANGE_OF_STATE) == (5), "COUNTER_EVENT_CHANGE_OF_STATE != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_EVENT_CAPTURE) == (6), "COUNTER_EVENT_CAPTURE != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat counter_ioctl_event_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data counter_ioctl_event_types_xdata = { + COUNTER_EVENT_OVERFLOW = XLAT(COUNTER_EVENT_OVERFLOW), + #define XLAT_VAL_0 ((unsigned) (COUNTER_EVENT_OVERFLOW)) + #define XLAT_STR_0 STRINGIFY(COUNTER_EVENT_OVERFLOW) + COUNTER_EVENT_UNDERFLOW = XLAT(COUNTER_EVENT_UNDERFLOW), + #define XLAT_VAL_1 ((unsigned) (COUNTER_EVENT_UNDERFLOW)) + #define XLAT_STR_1 STRINGIFY(COUNTER_EVENT_UNDERFLOW) + COUNTER_EVENT_OVERFLOW_UNDERFLOW = XLAT(COUNTER_EVENT_OVERFLOW_UNDERFLOW), + #define XLAT_VAL_2 ((unsigned) (COUNTER_EVENT_OVERFLOW_UNDERFLOW)) + #define XLAT_STR_2 STRINGIFY(COUNTER_EVENT_OVERFLOW_UNDERFLOW) + COUNTER_EVENT_THRESHOLD = XLAT(COUNTER_EVENT_THRESHOLD), + #define XLAT_VAL_3 ((unsigned) (COUNTER_EVENT_THRESHOLD)) + #define XLAT_STR_3 STRINGIFY(COUNTER_EVENT_THRESHOLD) + COUNTER_EVENT_INDEX = XLAT(COUNTER_EVENT_INDEX), + #define XLAT_VAL_4 ((unsigned) (COUNTER_EVENT_INDEX)) + #define XLAT_STR_4 STRINGIFY(COUNTER_EVENT_INDEX) + COUNTER_EVENT_CHANGE_OF_STATE = XLAT(COUNTER_EVENT_CHANGE_OF_STATE), + #define XLAT_VAL_5 ((unsigned) (COUNTER_EVENT_CHANGE_OF_STATE)) + #define XLAT_STR_5 STRINGIFY(COUNTER_EVENT_CHANGE_OF_STATE) + COUNTER_EVENT_CAPTURE = XLAT(COUNTER_EVENT_CAPTURE), + #define XLAT_VAL_6 ((unsigned) (COUNTER_EVENT_CAPTURE)) + #define XLAT_STR_6 STRINGIFY(COUNTER_EVENT_CAPTURE) +}; +static +const struct xlat counter_ioctl_event_types1 = { { + .data = counter_ioctl_event_types_xdata, + .size = ARRAY_SIZE(counter_ioctl_event_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_event_types.in
Added
@@ -0,0 +1,10 @@ +#enum +#value_indexed +#unconditional +COUNTER_EVENT_OVERFLOW 0 +COUNTER_EVENT_UNDERFLOW 1 +COUNTER_EVENT_OVERFLOW_UNDERFLOW 2 +COUNTER_EVENT_THRESHOLD 3 +COUNTER_EVENT_INDEX 4 +COUNTER_EVENT_CHANGE_OF_STATE 5 +COUNTER_EVENT_CAPTURE 6
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_scopes.h
Added
@@ -0,0 +1,75 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/counter_ioctl_scopes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_SCOPE_DEVICE) == (0), "COUNTER_SCOPE_DEVICE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_SCOPE_SIGNAL) == (1), "COUNTER_SCOPE_SIGNAL != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((COUNTER_SCOPE_COUNT) == (2), "COUNTER_SCOPE_COUNT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat counter_ioctl_scopes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data counter_ioctl_scopes_xdata = { + COUNTER_SCOPE_DEVICE = XLAT(COUNTER_SCOPE_DEVICE), + #define XLAT_VAL_0 ((unsigned) (COUNTER_SCOPE_DEVICE)) + #define XLAT_STR_0 STRINGIFY(COUNTER_SCOPE_DEVICE) + COUNTER_SCOPE_SIGNAL = XLAT(COUNTER_SCOPE_SIGNAL), + #define XLAT_VAL_1 ((unsigned) (COUNTER_SCOPE_SIGNAL)) + #define XLAT_STR_1 STRINGIFY(COUNTER_SCOPE_SIGNAL) + COUNTER_SCOPE_COUNT = XLAT(COUNTER_SCOPE_COUNT), + #define XLAT_VAL_2 ((unsigned) (COUNTER_SCOPE_COUNT)) + #define XLAT_STR_2 STRINGIFY(COUNTER_SCOPE_COUNT) +}; +static +const struct xlat counter_ioctl_scopes1 = { { + .data = counter_ioctl_scopes_xdata, + .size = ARRAY_SIZE(counter_ioctl_scopes_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/counter_ioctl_scopes.in
Added
@@ -0,0 +1,6 @@ +#enum +#value_indexed +#unconditional +COUNTER_SCOPE_DEVICE 0 +COUNTER_SCOPE_SIGNAL 1 +COUNTER_SCOPE_COUNT 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/cpuclocknames.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/cpuclocknames.h
Changed
@@ -24,6 +24,7 @@ #else # define CPUCLOCK_SCHED 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/crypto_nl_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/crypto_nl_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/dcb_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/dcb_commands.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/delete_module_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/delete_module_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/dirent_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/dirent_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/dm_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/dm_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -68,6 +69,9 @@ XLAT(DM_INTERNAL_SUSPEND_FLAG), #define XLAT_VAL_17 ((unsigned) (DM_INTERNAL_SUSPEND_FLAG)) #define XLAT_STR_17 STRINGIFY(DM_INTERNAL_SUSPEND_FLAG) + XLAT(DM_IMA_MEASUREMENT_FLAG), + #define XLAT_VAL_18 ((unsigned) (DM_IMA_MEASUREMENT_FLAG)) + #define XLAT_STR_18 STRINGIFY(DM_IMA_MEASUREMENT_FLAG) }; static const struct xlat dm_flags1 = { { @@ -129,6 +133,9 @@ # ifdef XLAT_VAL_17 | XLAT_VAL_17 # endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -185,6 +192,9 @@ # ifdef XLAT_STR_17 + sizeof(XLAT_STR_17) # endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -225,6 +235,8 @@ # undef XLAT_VAL_16 # undef XLAT_STR_17 # undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/dm_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/dm_flags.in
Changed
@@ -17,3 +17,4 @@ DM_DATA_OUT_FLAG DM_DEFERRED_REMOVE DM_INTERNAL_SUSPEND_FLAG +DM_IMA_MEASUREMENT_FLAG
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_class.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_class.h
Changed
@@ -59,6 +59,7 @@ #else # define BPF_ALU64 0x7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_mode.h
Changed
@@ -38,6 +38,7 @@ #else # define BPF_XADD 0xc0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_op_alu.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_op_alu.h
Changed
@@ -24,6 +24,7 @@ #else # define BPF_END 0xd0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_op_jmp.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_op_jmp.h
Changed
@@ -66,6 +66,7 @@ #else # define BPF_JSLE 0xd0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_regs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_regs.h
Changed
@@ -80,6 +80,7 @@ #else # define BPF_REG_10 10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ebpf_size.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ebpf_size.h
Changed
@@ -10,6 +10,7 @@ #else # define BPF_DW 0x18 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/efd_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/efd_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define EFD_NONBLOCK O_NONBLOCK #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/elf_em.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/elf_em.h
Changed
@@ -10,6 +10,16 @@ #else # define EM_NONE 0 #endif +#if defined(EM_NONE) || (defined(HAVE_DECL_EM_NONE) && HAVE_DECL_EM_NONE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NONE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NONE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NONE) +#endif #if defined(EM_M32) || (defined(HAVE_DECL_EM_M32) && HAVE_DECL_EM_M32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_M32) == (1), "EM_M32 != 1"); @@ -17,6 +27,16 @@ #else # define EM_M32 1 #endif +#if defined(EM_M32) || (defined(HAVE_DECL_EM_M32) && HAVE_DECL_EM_M32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_M32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_M32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_M32) +#endif #if defined(EM_SPARC) || (defined(HAVE_DECL_EM_SPARC) && HAVE_DECL_EM_SPARC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SPARC) == (2), "EM_SPARC != 2"); @@ -24,6 +44,16 @@ #else # define EM_SPARC 2 #endif +#if defined(EM_SPARC) || (defined(HAVE_DECL_EM_SPARC) && HAVE_DECL_EM_SPARC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SPARC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SPARC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SPARC) +#endif #if defined(EM_386) || (defined(HAVE_DECL_EM_386) && HAVE_DECL_EM_386) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_386) == (3), "EM_386 != 3"); @@ -31,6 +61,16 @@ #else # define EM_386 3 #endif +#if defined(EM_386) || (defined(HAVE_DECL_EM_386) && HAVE_DECL_EM_386) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_386) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_386" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_386) +#endif #if defined(EM_68K) || (defined(HAVE_DECL_EM_68K) && HAVE_DECL_EM_68K) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68K) == (4), "EM_68K != 4"); @@ -38,6 +78,16 @@ #else # define EM_68K 4 #endif +#if defined(EM_68K) || (defined(HAVE_DECL_EM_68K) && HAVE_DECL_EM_68K) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68K) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68K" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68K) +#endif #if defined(EM_88K) || (defined(HAVE_DECL_EM_88K) && HAVE_DECL_EM_88K) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_88K) == (5), "EM_88K != 5"); @@ -45,6 +95,16 @@ #else # define EM_88K 5 #endif +#if defined(EM_88K) || (defined(HAVE_DECL_EM_88K) && HAVE_DECL_EM_88K) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_88K) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_88K" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_88K) +#endif #if defined(EM_486) || (defined(HAVE_DECL_EM_486) && HAVE_DECL_EM_486) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_486) == (6), "EM_486 != 6"); @@ -52,6 +112,16 @@ #else # define EM_486 6 #endif +#if defined(EM_486) || (defined(HAVE_DECL_EM_486) && HAVE_DECL_EM_486) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_486) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_486" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_486) +#endif #if defined(EM_860) || (defined(HAVE_DECL_EM_860) && HAVE_DECL_EM_860) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_860) == (7), "EM_860 != 7"); @@ -59,6 +129,16 @@ #else # define EM_860 7 #endif +#if defined(EM_860) || (defined(HAVE_DECL_EM_860) && HAVE_DECL_EM_860) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_860) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_860" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_860) +#endif #if defined(EM_MIPS) || (defined(HAVE_DECL_EM_MIPS) && HAVE_DECL_EM_MIPS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MIPS) == (8), "EM_MIPS != 8"); @@ -66,6 +146,16 @@ #else # define EM_MIPS 8 #endif +#if defined(EM_MIPS) || (defined(HAVE_DECL_EM_MIPS) && HAVE_DECL_EM_MIPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MIPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MIPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MIPS) +#endif #if defined(EM_S370) || (defined(HAVE_DECL_EM_S370) && HAVE_DECL_EM_S370) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_S370) == (9), "EM_S370 != 9"); @@ -73,6 +163,16 @@ #else # define EM_S370 9 #endif +#if defined(EM_S370) || (defined(HAVE_DECL_EM_S370) && HAVE_DECL_EM_S370) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_S370) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_S370" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_S370) +#endif #if defined(EM_MIPS_RS3_LE) || (defined(HAVE_DECL_EM_MIPS_RS3_LE) && HAVE_DECL_EM_MIPS_RS3_LE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MIPS_RS3_LE) == (10), "EM_MIPS_RS3_LE != 10"); @@ -80,6 +180,16 @@ #else # define EM_MIPS_RS3_LE 10 #endif +#if defined(EM_MIPS_RS3_LE) || (defined(HAVE_DECL_EM_MIPS_RS3_LE) && HAVE_DECL_EM_MIPS_RS3_LE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MIPS_RS3_LE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MIPS_RS3_LE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MIPS_RS3_LE) +#endif #if defined(EM_PARISC) || (defined(HAVE_DECL_EM_PARISC) && HAVE_DECL_EM_PARISC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PARISC) == (15), "EM_PARISC != 15"); @@ -87,6 +197,16 @@ #else # define EM_PARISC 15 #endif +#if defined(EM_PARISC) || (defined(HAVE_DECL_EM_PARISC) && HAVE_DECL_EM_PARISC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PARISC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PARISC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PARISC) +#endif #if defined(EM_VPP500) || (defined(HAVE_DECL_EM_VPP500) && HAVE_DECL_EM_VPP500) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VPP500) == (17), "EM_VPP500 != 17"); @@ -94,6 +214,16 @@ #else # define EM_VPP500 17 #endif +#if defined(EM_VPP500) || (defined(HAVE_DECL_EM_VPP500) && HAVE_DECL_EM_VPP500) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VPP500) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VPP500" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VPP500) +#endif #if defined(EM_SPARC32PLUS) || (defined(HAVE_DECL_EM_SPARC32PLUS) && HAVE_DECL_EM_SPARC32PLUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SPARC32PLUS) == (18), "EM_SPARC32PLUS != 18"); @@ -101,6 +231,16 @@ #else # define EM_SPARC32PLUS 18 #endif +#if defined(EM_SPARC32PLUS) || (defined(HAVE_DECL_EM_SPARC32PLUS) && HAVE_DECL_EM_SPARC32PLUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SPARC32PLUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SPARC32PLUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SPARC32PLUS) +#endif #if defined(EM_960) || (defined(HAVE_DECL_EM_960) && HAVE_DECL_EM_960) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_960) == (19), "EM_960 != 19"); @@ -108,6 +248,16 @@ #else # define EM_960 19 #endif +#if defined(EM_960) || (defined(HAVE_DECL_EM_960) && HAVE_DECL_EM_960) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_960) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_960" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_960) +#endif #if defined(EM_PPC) || (defined(HAVE_DECL_EM_PPC) && HAVE_DECL_EM_PPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PPC) == (20), "EM_PPC != 20"); @@ -115,6 +265,16 @@ #else # define EM_PPC 20 #endif +#if defined(EM_PPC) || (defined(HAVE_DECL_EM_PPC) && HAVE_DECL_EM_PPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PPC) +#endif #if defined(EM_PPC64) || (defined(HAVE_DECL_EM_PPC64) && HAVE_DECL_EM_PPC64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PPC64) == (21), "EM_PPC64 != 21"); @@ -122,6 +282,16 @@ #else # define EM_PPC64 21 #endif +#if defined(EM_PPC64) || (defined(HAVE_DECL_EM_PPC64) && HAVE_DECL_EM_PPC64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PPC64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PPC64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PPC64) +#endif #if defined(EM_S390) || (defined(HAVE_DECL_EM_S390) && HAVE_DECL_EM_S390) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_S390) == (22), "EM_S390 != 22"); @@ -129,6 +299,16 @@ #else # define EM_S390 22 #endif +#if defined(EM_S390) || (defined(HAVE_DECL_EM_S390) && HAVE_DECL_EM_S390) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_S390) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_S390" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_S390) +#endif #if defined(EM_SPU) || (defined(HAVE_DECL_EM_SPU) && HAVE_DECL_EM_SPU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SPU) == (23), "EM_SPU != 23"); @@ -136,6 +316,16 @@ #else # define EM_SPU 23 #endif +#if defined(EM_SPU) || (defined(HAVE_DECL_EM_SPU) && HAVE_DECL_EM_SPU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SPU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SPU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SPU) +#endif #if defined(EM_V800) || (defined(HAVE_DECL_EM_V800) && HAVE_DECL_EM_V800) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_V800) == (36), "EM_V800 != 36"); @@ -143,6 +333,16 @@ #else # define EM_V800 36 #endif +#if defined(EM_V800) || (defined(HAVE_DECL_EM_V800) && HAVE_DECL_EM_V800) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_V800) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_V800" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_V800) +#endif #if defined(EM_FR20) || (defined(HAVE_DECL_EM_FR20) && HAVE_DECL_EM_FR20) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FR20) == (37), "EM_FR20 != 37"); @@ -150,6 +350,16 @@ #else # define EM_FR20 37 #endif +#if defined(EM_FR20) || (defined(HAVE_DECL_EM_FR20) && HAVE_DECL_EM_FR20) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FR20) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FR20" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FR20) +#endif #if defined(EM_RH32) || (defined(HAVE_DECL_EM_RH32) && HAVE_DECL_EM_RH32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RH32) == (38), "EM_RH32 != 38"); @@ -157,6 +367,16 @@ #else # define EM_RH32 38 #endif +#if defined(EM_RH32) || (defined(HAVE_DECL_EM_RH32) && HAVE_DECL_EM_RH32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RH32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RH32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RH32) +#endif #if defined(EM_RCE) || (defined(HAVE_DECL_EM_RCE) && HAVE_DECL_EM_RCE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RCE) == (39), "EM_RCE != 39"); @@ -164,6 +384,16 @@ #else # define EM_RCE 39 #endif +#if defined(EM_RCE) || (defined(HAVE_DECL_EM_RCE) && HAVE_DECL_EM_RCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RCE) +#endif #if defined(EM_ARM) || (defined(HAVE_DECL_EM_ARM) && HAVE_DECL_EM_ARM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ARM) == (40), "EM_ARM != 40"); @@ -171,6 +401,16 @@ #else # define EM_ARM 40 #endif +#if defined(EM_ARM) || (defined(HAVE_DECL_EM_ARM) && HAVE_DECL_EM_ARM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ARM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ARM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ARM) +#endif #if defined(EM_SH) || (defined(HAVE_DECL_EM_SH) && HAVE_DECL_EM_SH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SH) == (42), "EM_SH != 42"); @@ -178,6 +418,16 @@ #else # define EM_SH 42 #endif +#if defined(EM_SH) || (defined(HAVE_DECL_EM_SH) && HAVE_DECL_EM_SH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SH) +#endif #if defined(EM_SPARCV9) || (defined(HAVE_DECL_EM_SPARCV9) && HAVE_DECL_EM_SPARCV9) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SPARCV9) == (43), "EM_SPARCV9 != 43"); @@ -185,6 +435,16 @@ #else # define EM_SPARCV9 43 #endif +#if defined(EM_SPARCV9) || (defined(HAVE_DECL_EM_SPARCV9) && HAVE_DECL_EM_SPARCV9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SPARCV9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SPARCV9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SPARCV9) +#endif #if defined(EM_TRICORE) || (defined(HAVE_DECL_EM_TRICORE) && HAVE_DECL_EM_TRICORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TRICORE) == (44), "EM_TRICORE != 44"); @@ -192,6 +452,16 @@ #else # define EM_TRICORE 44 #endif +#if defined(EM_TRICORE) || (defined(HAVE_DECL_EM_TRICORE) && HAVE_DECL_EM_TRICORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TRICORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TRICORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TRICORE) +#endif #if defined(EM_ARC) || (defined(HAVE_DECL_EM_ARC) && HAVE_DECL_EM_ARC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ARC) == (45), "EM_ARC != 45"); @@ -199,6 +469,16 @@ #else # define EM_ARC 45 #endif +#if defined(EM_ARC) || (defined(HAVE_DECL_EM_ARC) && HAVE_DECL_EM_ARC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ARC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ARC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ARC) +#endif #if defined(EM_H8_300) || (defined(HAVE_DECL_EM_H8_300) && HAVE_DECL_EM_H8_300) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_H8_300) == (46), "EM_H8_300 != 46"); @@ -206,6 +486,16 @@ #else # define EM_H8_300 46 #endif +#if defined(EM_H8_300) || (defined(HAVE_DECL_EM_H8_300) && HAVE_DECL_EM_H8_300) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_H8_300) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_H8_300" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_H8_300) +#endif #if defined(EM_H8_300H) || (defined(HAVE_DECL_EM_H8_300H) && HAVE_DECL_EM_H8_300H) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_H8_300H) == (47), "EM_H8_300H != 47"); @@ -213,6 +503,16 @@ #else # define EM_H8_300H 47 #endif +#if defined(EM_H8_300H) || (defined(HAVE_DECL_EM_H8_300H) && HAVE_DECL_EM_H8_300H) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_H8_300H) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_H8_300H" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_H8_300H) +#endif #if defined(EM_H8S) || (defined(HAVE_DECL_EM_H8S) && HAVE_DECL_EM_H8S) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_H8S) == (48), "EM_H8S != 48"); @@ -220,6 +520,16 @@ #else # define EM_H8S 48 #endif +#if defined(EM_H8S) || (defined(HAVE_DECL_EM_H8S) && HAVE_DECL_EM_H8S) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_H8S) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_H8S" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_H8S) +#endif #if defined(EM_H8_500) || (defined(HAVE_DECL_EM_H8_500) && HAVE_DECL_EM_H8_500) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_H8_500) == (49), "EM_H8_500 != 49"); @@ -227,6 +537,16 @@ #else # define EM_H8_500 49 #endif +#if defined(EM_H8_500) || (defined(HAVE_DECL_EM_H8_500) && HAVE_DECL_EM_H8_500) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_H8_500) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_H8_500" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_H8_500) +#endif #if defined(EM_IA_64) || (defined(HAVE_DECL_EM_IA_64) && HAVE_DECL_EM_IA_64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_IA_64) == (50), "EM_IA_64 != 50"); @@ -234,6 +554,16 @@ #else # define EM_IA_64 50 #endif +#if defined(EM_IA_64) || (defined(HAVE_DECL_EM_IA_64) && HAVE_DECL_EM_IA_64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_IA_64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_IA_64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_IA_64) +#endif #if defined(EM_MIPS_X) || (defined(HAVE_DECL_EM_MIPS_X) && HAVE_DECL_EM_MIPS_X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MIPS_X) == (51), "EM_MIPS_X != 51"); @@ -241,6 +571,16 @@ #else # define EM_MIPS_X 51 #endif +#if defined(EM_MIPS_X) || (defined(HAVE_DECL_EM_MIPS_X) && HAVE_DECL_EM_MIPS_X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MIPS_X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MIPS_X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MIPS_X) +#endif #if defined(EM_COLDFIRE) || (defined(HAVE_DECL_EM_COLDFIRE) && HAVE_DECL_EM_COLDFIRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_COLDFIRE) == (52), "EM_COLDFIRE != 52"); @@ -248,6 +588,16 @@ #else # define EM_COLDFIRE 52 #endif +#if defined(EM_COLDFIRE) || (defined(HAVE_DECL_EM_COLDFIRE) && HAVE_DECL_EM_COLDFIRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_COLDFIRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_COLDFIRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_COLDFIRE) +#endif #if defined(EM_68HC12) || (defined(HAVE_DECL_EM_68HC12) && HAVE_DECL_EM_68HC12) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68HC12) == (53), "EM_68HC12 != 53"); @@ -255,6 +605,16 @@ #else # define EM_68HC12 53 #endif +#if defined(EM_68HC12) || (defined(HAVE_DECL_EM_68HC12) && HAVE_DECL_EM_68HC12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68HC12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68HC12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68HC12) +#endif #if defined(EM_MMA) || (defined(HAVE_DECL_EM_MMA) && HAVE_DECL_EM_MMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MMA) == (54), "EM_MMA != 54"); @@ -262,6 +622,16 @@ #else # define EM_MMA 54 #endif +#if defined(EM_MMA) || (defined(HAVE_DECL_EM_MMA) && HAVE_DECL_EM_MMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MMA) +#endif #if defined(EM_PCP) || (defined(HAVE_DECL_EM_PCP) && HAVE_DECL_EM_PCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PCP) == (55), "EM_PCP != 55"); @@ -269,6 +639,16 @@ #else # define EM_PCP 55 #endif +#if defined(EM_PCP) || (defined(HAVE_DECL_EM_PCP) && HAVE_DECL_EM_PCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PCP) +#endif #if defined(EM_NCPU) || (defined(HAVE_DECL_EM_NCPU) && HAVE_DECL_EM_NCPU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_NCPU) == (56), "EM_NCPU != 56"); @@ -276,6 +656,16 @@ #else # define EM_NCPU 56 #endif +#if defined(EM_NCPU) || (defined(HAVE_DECL_EM_NCPU) && HAVE_DECL_EM_NCPU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NCPU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NCPU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NCPU) +#endif #if defined(EM_NDR1) || (defined(HAVE_DECL_EM_NDR1) && HAVE_DECL_EM_NDR1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_NDR1) == (57), "EM_NDR1 != 57"); @@ -283,6 +673,16 @@ #else # define EM_NDR1 57 #endif +#if defined(EM_NDR1) || (defined(HAVE_DECL_EM_NDR1) && HAVE_DECL_EM_NDR1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NDR1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NDR1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NDR1) +#endif #if defined(EM_STARCORE) || (defined(HAVE_DECL_EM_STARCORE) && HAVE_DECL_EM_STARCORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_STARCORE) == (58), "EM_STARCORE != 58"); @@ -290,6 +690,16 @@ #else # define EM_STARCORE 58 #endif +#if defined(EM_STARCORE) || (defined(HAVE_DECL_EM_STARCORE) && HAVE_DECL_EM_STARCORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_STARCORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_STARCORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_STARCORE) +#endif #if defined(EM_ME16) || (defined(HAVE_DECL_EM_ME16) && HAVE_DECL_EM_ME16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ME16) == (59), "EM_ME16 != 59"); @@ -297,6 +707,16 @@ #else # define EM_ME16 59 #endif +#if defined(EM_ME16) || (defined(HAVE_DECL_EM_ME16) && HAVE_DECL_EM_ME16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ME16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ME16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ME16) +#endif #if defined(EM_ST100) || (defined(HAVE_DECL_EM_ST100) && HAVE_DECL_EM_ST100) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ST100) == (60), "EM_ST100 != 60"); @@ -304,6 +724,16 @@ #else # define EM_ST100 60 #endif +#if defined(EM_ST100) || (defined(HAVE_DECL_EM_ST100) && HAVE_DECL_EM_ST100) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ST100) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ST100" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ST100) +#endif #if defined(EM_TINYJ) || (defined(HAVE_DECL_EM_TINYJ) && HAVE_DECL_EM_TINYJ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TINYJ) == (61), "EM_TINYJ != 61"); @@ -311,6 +741,16 @@ #else # define EM_TINYJ 61 #endif +#if defined(EM_TINYJ) || (defined(HAVE_DECL_EM_TINYJ) && HAVE_DECL_EM_TINYJ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TINYJ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TINYJ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TINYJ) +#endif #if defined(EM_X86_64) || (defined(HAVE_DECL_EM_X86_64) && HAVE_DECL_EM_X86_64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_X86_64) == (62), "EM_X86_64 != 62"); @@ -318,6 +758,16 @@ #else # define EM_X86_64 62 #endif +#if defined(EM_X86_64) || (defined(HAVE_DECL_EM_X86_64) && HAVE_DECL_EM_X86_64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_X86_64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_X86_64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_X86_64) +#endif #if defined(EM_PDSP) || (defined(HAVE_DECL_EM_PDSP) && HAVE_DECL_EM_PDSP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PDSP) == (63), "EM_PDSP != 63"); @@ -325,6 +775,16 @@ #else # define EM_PDSP 63 #endif +#if defined(EM_PDSP) || (defined(HAVE_DECL_EM_PDSP) && HAVE_DECL_EM_PDSP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PDSP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PDSP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PDSP) +#endif #if defined(EM_PDP10) || (defined(HAVE_DECL_EM_PDP10) && HAVE_DECL_EM_PDP10) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PDP10) == (64), "EM_PDP10 != 64"); @@ -332,6 +792,16 @@ #else # define EM_PDP10 64 #endif +#if defined(EM_PDP10) || (defined(HAVE_DECL_EM_PDP10) && HAVE_DECL_EM_PDP10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PDP10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PDP10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PDP10) +#endif #if defined(EM_PDP11) || (defined(HAVE_DECL_EM_PDP11) && HAVE_DECL_EM_PDP11) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PDP11) == (65), "EM_PDP11 != 65"); @@ -339,6 +809,16 @@ #else # define EM_PDP11 65 #endif +#if defined(EM_PDP11) || (defined(HAVE_DECL_EM_PDP11) && HAVE_DECL_EM_PDP11) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PDP11) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PDP11" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PDP11) +#endif #if defined(EM_FX66) || (defined(HAVE_DECL_EM_FX66) && HAVE_DECL_EM_FX66) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FX66) == (66), "EM_FX66 != 66"); @@ -346,6 +826,16 @@ #else # define EM_FX66 66 #endif +#if defined(EM_FX66) || (defined(HAVE_DECL_EM_FX66) && HAVE_DECL_EM_FX66) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FX66) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FX66" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FX66) +#endif #if defined(EM_ST9PLUS) || (defined(HAVE_DECL_EM_ST9PLUS) && HAVE_DECL_EM_ST9PLUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ST9PLUS) == (67), "EM_ST9PLUS != 67"); @@ -353,6 +843,16 @@ #else # define EM_ST9PLUS 67 #endif +#if defined(EM_ST9PLUS) || (defined(HAVE_DECL_EM_ST9PLUS) && HAVE_DECL_EM_ST9PLUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ST9PLUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ST9PLUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ST9PLUS) +#endif #if defined(EM_ST7) || (defined(HAVE_DECL_EM_ST7) && HAVE_DECL_EM_ST7) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ST7) == (68), "EM_ST7 != 68"); @@ -360,6 +860,16 @@ #else # define EM_ST7 68 #endif +#if defined(EM_ST7) || (defined(HAVE_DECL_EM_ST7) && HAVE_DECL_EM_ST7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ST7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ST7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ST7) +#endif #if defined(EM_68HC16) || (defined(HAVE_DECL_EM_68HC16) && HAVE_DECL_EM_68HC16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68HC16) == (69), "EM_68HC16 != 69"); @@ -367,6 +877,16 @@ #else # define EM_68HC16 69 #endif +#if defined(EM_68HC16) || (defined(HAVE_DECL_EM_68HC16) && HAVE_DECL_EM_68HC16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68HC16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68HC16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68HC16) +#endif #if defined(EM_68HC11) || (defined(HAVE_DECL_EM_68HC11) && HAVE_DECL_EM_68HC11) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68HC11) == (70), "EM_68HC11 != 70"); @@ -374,6 +894,16 @@ #else # define EM_68HC11 70 #endif +#if defined(EM_68HC11) || (defined(HAVE_DECL_EM_68HC11) && HAVE_DECL_EM_68HC11) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68HC11) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68HC11" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68HC11) +#endif #if defined(EM_68HC08) || (defined(HAVE_DECL_EM_68HC08) && HAVE_DECL_EM_68HC08) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68HC08) == (71), "EM_68HC08 != 71"); @@ -381,6 +911,16 @@ #else # define EM_68HC08 71 #endif +#if defined(EM_68HC08) || (defined(HAVE_DECL_EM_68HC08) && HAVE_DECL_EM_68HC08) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68HC08) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68HC08" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68HC08) +#endif #if defined(EM_68HC05) || (defined(HAVE_DECL_EM_68HC05) && HAVE_DECL_EM_68HC05) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_68HC05) == (72), "EM_68HC05 != 72"); @@ -388,6 +928,16 @@ #else # define EM_68HC05 72 #endif +#if defined(EM_68HC05) || (defined(HAVE_DECL_EM_68HC05) && HAVE_DECL_EM_68HC05) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_68HC05) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_68HC05" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_68HC05) +#endif #if defined(EM_SVX) || (defined(HAVE_DECL_EM_SVX) && HAVE_DECL_EM_SVX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SVX) == (73), "EM_SVX != 73"); @@ -395,6 +945,16 @@ #else # define EM_SVX 73 #endif +#if defined(EM_SVX) || (defined(HAVE_DECL_EM_SVX) && HAVE_DECL_EM_SVX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SVX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SVX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SVX) +#endif #if defined(EM_ST19) || (defined(HAVE_DECL_EM_ST19) && HAVE_DECL_EM_ST19) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ST19) == (74), "EM_ST19 != 74"); @@ -402,6 +962,16 @@ #else # define EM_ST19 74 #endif +#if defined(EM_ST19) || (defined(HAVE_DECL_EM_ST19) && HAVE_DECL_EM_ST19) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ST19) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ST19" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ST19) +#endif #if defined(EM_VAX) || (defined(HAVE_DECL_EM_VAX) && HAVE_DECL_EM_VAX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VAX) == (75), "EM_VAX != 75"); @@ -409,6 +979,16 @@ #else # define EM_VAX 75 #endif +#if defined(EM_VAX) || (defined(HAVE_DECL_EM_VAX) && HAVE_DECL_EM_VAX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VAX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VAX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VAX) +#endif #if defined(EM_CRIS) || (defined(HAVE_DECL_EM_CRIS) && HAVE_DECL_EM_CRIS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CRIS) == (76), "EM_CRIS != 76"); @@ -416,6 +996,16 @@ #else # define EM_CRIS 76 #endif +#if defined(EM_CRIS) || (defined(HAVE_DECL_EM_CRIS) && HAVE_DECL_EM_CRIS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CRIS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CRIS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CRIS) +#endif #if defined(EM_JAVELIN) || (defined(HAVE_DECL_EM_JAVELIN) && HAVE_DECL_EM_JAVELIN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_JAVELIN) == (77), "EM_JAVELIN != 77"); @@ -423,6 +1013,16 @@ #else # define EM_JAVELIN 77 #endif +#if defined(EM_JAVELIN) || (defined(HAVE_DECL_EM_JAVELIN) && HAVE_DECL_EM_JAVELIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_JAVELIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_JAVELIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_JAVELIN) +#endif #if defined(EM_FIREPATH) || (defined(HAVE_DECL_EM_FIREPATH) && HAVE_DECL_EM_FIREPATH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FIREPATH) == (78), "EM_FIREPATH != 78"); @@ -430,6 +1030,16 @@ #else # define EM_FIREPATH 78 #endif +#if defined(EM_FIREPATH) || (defined(HAVE_DECL_EM_FIREPATH) && HAVE_DECL_EM_FIREPATH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FIREPATH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FIREPATH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FIREPATH) +#endif #if defined(EM_ZSP) || (defined(HAVE_DECL_EM_ZSP) && HAVE_DECL_EM_ZSP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ZSP) == (79), "EM_ZSP != 79"); @@ -437,6 +1047,16 @@ #else # define EM_ZSP 79 #endif +#if defined(EM_ZSP) || (defined(HAVE_DECL_EM_ZSP) && HAVE_DECL_EM_ZSP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ZSP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ZSP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ZSP) +#endif #if defined(EM_MMIX) || (defined(HAVE_DECL_EM_MMIX) && HAVE_DECL_EM_MMIX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MMIX) == (80), "EM_MMIX != 80"); @@ -444,6 +1064,16 @@ #else # define EM_MMIX 80 #endif +#if defined(EM_MMIX) || (defined(HAVE_DECL_EM_MMIX) && HAVE_DECL_EM_MMIX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MMIX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MMIX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MMIX) +#endif #if defined(EM_HUANY) || (defined(HAVE_DECL_EM_HUANY) && HAVE_DECL_EM_HUANY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_HUANY) == (81), "EM_HUANY != 81"); @@ -451,6 +1081,16 @@ #else # define EM_HUANY 81 #endif +#if defined(EM_HUANY) || (defined(HAVE_DECL_EM_HUANY) && HAVE_DECL_EM_HUANY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_HUANY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_HUANY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_HUANY) +#endif #if defined(EM_PRISM) || (defined(HAVE_DECL_EM_PRISM) && HAVE_DECL_EM_PRISM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PRISM) == (82), "EM_PRISM != 82"); @@ -458,6 +1098,16 @@ #else # define EM_PRISM 82 #endif +#if defined(EM_PRISM) || (defined(HAVE_DECL_EM_PRISM) && HAVE_DECL_EM_PRISM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PRISM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PRISM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PRISM) +#endif #if defined(EM_AVR) || (defined(HAVE_DECL_EM_AVR) && HAVE_DECL_EM_AVR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_AVR) == (83), "EM_AVR != 83"); @@ -465,6 +1115,16 @@ #else # define EM_AVR 83 #endif +#if defined(EM_AVR) || (defined(HAVE_DECL_EM_AVR) && HAVE_DECL_EM_AVR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_AVR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_AVR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_AVR) +#endif #if defined(EM_FR30) || (defined(HAVE_DECL_EM_FR30) && HAVE_DECL_EM_FR30) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FR30) == (84), "EM_FR30 != 84"); @@ -472,6 +1132,16 @@ #else # define EM_FR30 84 #endif +#if defined(EM_FR30) || (defined(HAVE_DECL_EM_FR30) && HAVE_DECL_EM_FR30) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FR30) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FR30" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FR30) +#endif #if defined(EM_D10V) || (defined(HAVE_DECL_EM_D10V) && HAVE_DECL_EM_D10V) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_D10V) == (85), "EM_D10V != 85"); @@ -479,6 +1149,16 @@ #else # define EM_D10V 85 #endif +#if defined(EM_D10V) || (defined(HAVE_DECL_EM_D10V) && HAVE_DECL_EM_D10V) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_D10V) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_D10V" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_D10V) +#endif #if defined(EM_D30V) || (defined(HAVE_DECL_EM_D30V) && HAVE_DECL_EM_D30V) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_D30V) == (86), "EM_D30V != 86"); @@ -486,6 +1166,16 @@ #else # define EM_D30V 86 #endif +#if defined(EM_D30V) || (defined(HAVE_DECL_EM_D30V) && HAVE_DECL_EM_D30V) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_D30V) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_D30V" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_D30V) +#endif #if defined(EM_V850) || (defined(HAVE_DECL_EM_V850) && HAVE_DECL_EM_V850) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_V850) == (87), "EM_V850 != 87"); @@ -493,6 +1183,16 @@ #else # define EM_V850 87 #endif +#if defined(EM_V850) || (defined(HAVE_DECL_EM_V850) && HAVE_DECL_EM_V850) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_V850) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_V850" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_V850) +#endif #if defined(EM_M32R) || (defined(HAVE_DECL_EM_M32R) && HAVE_DECL_EM_M32R) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_M32R) == (88), "EM_M32R != 88"); @@ -500,6 +1200,16 @@ #else # define EM_M32R 88 #endif +#if defined(EM_M32R) || (defined(HAVE_DECL_EM_M32R) && HAVE_DECL_EM_M32R) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_M32R) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_M32R" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_M32R) +#endif #if defined(EM_MN10300) || (defined(HAVE_DECL_EM_MN10300) && HAVE_DECL_EM_MN10300) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MN10300) == (89), "EM_MN10300 != 89"); @@ -507,6 +1217,16 @@ #else # define EM_MN10300 89 #endif +#if defined(EM_MN10300) || (defined(HAVE_DECL_EM_MN10300) && HAVE_DECL_EM_MN10300) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MN10300) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MN10300" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MN10300) +#endif #if defined(EM_MN10200) || (defined(HAVE_DECL_EM_MN10200) && HAVE_DECL_EM_MN10200) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MN10200) == (90), "EM_MN10200 != 90"); @@ -514,6 +1234,16 @@ #else # define EM_MN10200 90 #endif +#if defined(EM_MN10200) || (defined(HAVE_DECL_EM_MN10200) && HAVE_DECL_EM_MN10200) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MN10200) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MN10200" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MN10200) +#endif #if defined(EM_PJ) || (defined(HAVE_DECL_EM_PJ) && HAVE_DECL_EM_PJ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_PJ) == (91), "EM_PJ != 91"); @@ -521,6 +1251,16 @@ #else # define EM_PJ 91 #endif +#if defined(EM_PJ) || (defined(HAVE_DECL_EM_PJ) && HAVE_DECL_EM_PJ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_PJ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_PJ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_PJ) +#endif #if defined(EM_OPENRISC) || (defined(HAVE_DECL_EM_OPENRISC) && HAVE_DECL_EM_OPENRISC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_OPENRISC) == (92), "EM_OPENRISC != 92"); @@ -528,6 +1268,16 @@ #else # define EM_OPENRISC 92 #endif +#if defined(EM_OPENRISC) || (defined(HAVE_DECL_EM_OPENRISC) && HAVE_DECL_EM_OPENRISC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_OPENRISC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_OPENRISC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_OPENRISC) +#endif #if defined(EM_ARCOMPACT) || (defined(HAVE_DECL_EM_ARCOMPACT) && HAVE_DECL_EM_ARCOMPACT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ARCOMPACT) == (93), "EM_ARCOMPACT != 93"); @@ -535,6 +1285,16 @@ #else # define EM_ARCOMPACT 93 #endif +#if defined(EM_ARCOMPACT) || (defined(HAVE_DECL_EM_ARCOMPACT) && HAVE_DECL_EM_ARCOMPACT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ARCOMPACT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ARCOMPACT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ARCOMPACT) +#endif #if defined(EM_XTENSA) || (defined(HAVE_DECL_EM_XTENSA) && HAVE_DECL_EM_XTENSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_XTENSA) == (94), "EM_XTENSA != 94"); @@ -542,6 +1302,16 @@ #else # define EM_XTENSA 94 #endif +#if defined(EM_XTENSA) || (defined(HAVE_DECL_EM_XTENSA) && HAVE_DECL_EM_XTENSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_XTENSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_XTENSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_XTENSA) +#endif #if defined(EM_VIDEOCORE) || (defined(HAVE_DECL_EM_VIDEOCORE) && HAVE_DECL_EM_VIDEOCORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VIDEOCORE) == (95), "EM_VIDEOCORE != 95"); @@ -549,6 +1319,16 @@ #else # define EM_VIDEOCORE 95 #endif +#if defined(EM_VIDEOCORE) || (defined(HAVE_DECL_EM_VIDEOCORE) && HAVE_DECL_EM_VIDEOCORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VIDEOCORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VIDEOCORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VIDEOCORE) +#endif #if defined(EM_TMM_GPP) || (defined(HAVE_DECL_EM_TMM_GPP) && HAVE_DECL_EM_TMM_GPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TMM_GPP) == (96), "EM_TMM_GPP != 96"); @@ -556,6 +1336,16 @@ #else # define EM_TMM_GPP 96 #endif +#if defined(EM_TMM_GPP) || (defined(HAVE_DECL_EM_TMM_GPP) && HAVE_DECL_EM_TMM_GPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TMM_GPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TMM_GPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TMM_GPP) +#endif #if defined(EM_NS32K) || (defined(HAVE_DECL_EM_NS32K) && HAVE_DECL_EM_NS32K) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_NS32K) == (97), "EM_NS32K != 97"); @@ -563,6 +1353,16 @@ #else # define EM_NS32K 97 #endif +#if defined(EM_NS32K) || (defined(HAVE_DECL_EM_NS32K) && HAVE_DECL_EM_NS32K) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NS32K) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NS32K" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NS32K) +#endif #if defined(EM_TPC) || (defined(HAVE_DECL_EM_TPC) && HAVE_DECL_EM_TPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TPC) == (98), "EM_TPC != 98"); @@ -570,6 +1370,16 @@ #else # define EM_TPC 98 #endif +#if defined(EM_TPC) || (defined(HAVE_DECL_EM_TPC) && HAVE_DECL_EM_TPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TPC) +#endif #if defined(EM_SNP1K) || (defined(HAVE_DECL_EM_SNP1K) && HAVE_DECL_EM_SNP1K) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SNP1K) == (99), "EM_SNP1K != 99"); @@ -577,6 +1387,16 @@ #else # define EM_SNP1K 99 #endif +#if defined(EM_SNP1K) || (defined(HAVE_DECL_EM_SNP1K) && HAVE_DECL_EM_SNP1K) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SNP1K) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SNP1K" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SNP1K) +#endif #if defined(EM_ST200) || (defined(HAVE_DECL_EM_ST200) && HAVE_DECL_EM_ST200) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ST200) == (100), "EM_ST200 != 100"); @@ -584,6 +1404,16 @@ #else # define EM_ST200 100 #endif +#if defined(EM_ST200) || (defined(HAVE_DECL_EM_ST200) && HAVE_DECL_EM_ST200) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ST200) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ST200" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ST200) +#endif #if defined(EM_IP2K) || (defined(HAVE_DECL_EM_IP2K) && HAVE_DECL_EM_IP2K) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_IP2K) == (101), "EM_IP2K != 101"); @@ -591,6 +1421,16 @@ #else # define EM_IP2K 101 #endif +#if defined(EM_IP2K) || (defined(HAVE_DECL_EM_IP2K) && HAVE_DECL_EM_IP2K) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_IP2K) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_IP2K" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_IP2K) +#endif #if defined(EM_MAX) || (defined(HAVE_DECL_EM_MAX) && HAVE_DECL_EM_MAX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MAX) == (102), "EM_MAX != 102"); @@ -598,6 +1438,16 @@ #else # define EM_MAX 102 #endif +#if defined(EM_MAX) || (defined(HAVE_DECL_EM_MAX) && HAVE_DECL_EM_MAX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MAX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MAX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MAX) +#endif #if defined(EM_CR) || (defined(HAVE_DECL_EM_CR) && HAVE_DECL_EM_CR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CR) == (103), "EM_CR != 103"); @@ -605,6 +1455,16 @@ #else # define EM_CR 103 #endif +#if defined(EM_CR) || (defined(HAVE_DECL_EM_CR) && HAVE_DECL_EM_CR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CR) +#endif #if defined(EM_F2MC16) || (defined(HAVE_DECL_EM_F2MC16) && HAVE_DECL_EM_F2MC16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_F2MC16) == (104), "EM_F2MC16 != 104"); @@ -612,6 +1472,16 @@ #else # define EM_F2MC16 104 #endif +#if defined(EM_F2MC16) || (defined(HAVE_DECL_EM_F2MC16) && HAVE_DECL_EM_F2MC16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_F2MC16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_F2MC16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_F2MC16) +#endif #if defined(EM_MSP430) || (defined(HAVE_DECL_EM_MSP430) && HAVE_DECL_EM_MSP430) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MSP430) == (105), "EM_MSP430 != 105"); @@ -619,6 +1489,16 @@ #else # define EM_MSP430 105 #endif +#if defined(EM_MSP430) || (defined(HAVE_DECL_EM_MSP430) && HAVE_DECL_EM_MSP430) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MSP430) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MSP430" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MSP430) +#endif #if defined(EM_BLACKFIN) || (defined(HAVE_DECL_EM_BLACKFIN) && HAVE_DECL_EM_BLACKFIN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_BLACKFIN) == (106), "EM_BLACKFIN != 106"); @@ -626,6 +1506,16 @@ #else # define EM_BLACKFIN 106 #endif +#if defined(EM_BLACKFIN) || (defined(HAVE_DECL_EM_BLACKFIN) && HAVE_DECL_EM_BLACKFIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_BLACKFIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_BLACKFIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_BLACKFIN) +#endif #if defined(EM_SE_C33) || (defined(HAVE_DECL_EM_SE_C33) && HAVE_DECL_EM_SE_C33) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SE_C33) == (107), "EM_SE_C33 != 107"); @@ -633,6 +1523,16 @@ #else # define EM_SE_C33 107 #endif +#if defined(EM_SE_C33) || (defined(HAVE_DECL_EM_SE_C33) && HAVE_DECL_EM_SE_C33) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SE_C33) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SE_C33" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SE_C33) +#endif #if defined(EM_SEP) || (defined(HAVE_DECL_EM_SEP) && HAVE_DECL_EM_SEP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SEP) == (108), "EM_SEP != 108"); @@ -640,6 +1540,16 @@ #else # define EM_SEP 108 #endif +#if defined(EM_SEP) || (defined(HAVE_DECL_EM_SEP) && HAVE_DECL_EM_SEP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SEP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SEP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SEP) +#endif #if defined(EM_ARCA) || (defined(HAVE_DECL_EM_ARCA) && HAVE_DECL_EM_ARCA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ARCA) == (109), "EM_ARCA != 109"); @@ -647,6 +1557,16 @@ #else # define EM_ARCA 109 #endif +#if defined(EM_ARCA) || (defined(HAVE_DECL_EM_ARCA) && HAVE_DECL_EM_ARCA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ARCA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ARCA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ARCA) +#endif #if defined(EM_UNICORE) || (defined(HAVE_DECL_EM_UNICORE) && HAVE_DECL_EM_UNICORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_UNICORE) == (110), "EM_UNICORE != 110"); @@ -654,6 +1574,16 @@ #else # define EM_UNICORE 110 #endif +#if defined(EM_UNICORE) || (defined(HAVE_DECL_EM_UNICORE) && HAVE_DECL_EM_UNICORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_UNICORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_UNICORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_UNICORE) +#endif #if defined(EM_EXCESS) || (defined(HAVE_DECL_EM_EXCESS) && HAVE_DECL_EM_EXCESS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_EXCESS) == (111), "EM_EXCESS != 111"); @@ -661,6 +1591,16 @@ #else # define EM_EXCESS 111 #endif +#if defined(EM_EXCESS) || (defined(HAVE_DECL_EM_EXCESS) && HAVE_DECL_EM_EXCESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_EXCESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_EXCESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_EXCESS) +#endif #if defined(EM_DXP) || (defined(HAVE_DECL_EM_DXP) && HAVE_DECL_EM_DXP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_DXP) == (112), "EM_DXP != 112"); @@ -668,6 +1608,16 @@ #else # define EM_DXP 112 #endif +#if defined(EM_DXP) || (defined(HAVE_DECL_EM_DXP) && HAVE_DECL_EM_DXP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_DXP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_DXP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_DXP) +#endif #if defined(EM_ALTERA_NIOS2) || (defined(HAVE_DECL_EM_ALTERA_NIOS2) && HAVE_DECL_EM_ALTERA_NIOS2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ALTERA_NIOS2) == (113), "EM_ALTERA_NIOS2 != 113"); @@ -675,6 +1625,16 @@ #else # define EM_ALTERA_NIOS2 113 #endif +#if defined(EM_ALTERA_NIOS2) || (defined(HAVE_DECL_EM_ALTERA_NIOS2) && HAVE_DECL_EM_ALTERA_NIOS2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ALTERA_NIOS2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ALTERA_NIOS2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ALTERA_NIOS2) +#endif #if defined(EM_CRX) || (defined(HAVE_DECL_EM_CRX) && HAVE_DECL_EM_CRX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CRX) == (114), "EM_CRX != 114"); @@ -682,6 +1642,16 @@ #else # define EM_CRX 114 #endif +#if defined(EM_CRX) || (defined(HAVE_DECL_EM_CRX) && HAVE_DECL_EM_CRX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CRX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CRX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CRX) +#endif #if defined(EM_XGATE) || (defined(HAVE_DECL_EM_XGATE) && HAVE_DECL_EM_XGATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_XGATE) == (115), "EM_XGATE != 115"); @@ -689,6 +1659,16 @@ #else # define EM_XGATE 115 #endif +#if defined(EM_XGATE) || (defined(HAVE_DECL_EM_XGATE) && HAVE_DECL_EM_XGATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_XGATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_XGATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_XGATE) +#endif #if defined(EM_C166) || (defined(HAVE_DECL_EM_C166) && HAVE_DECL_EM_C166) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_C166) == (116), "EM_C166 != 116"); @@ -696,6 +1676,16 @@ #else # define EM_C166 116 #endif +#if defined(EM_C166) || (defined(HAVE_DECL_EM_C166) && HAVE_DECL_EM_C166) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_C166) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_C166" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_C166) +#endif #if defined(EM_M16C) || (defined(HAVE_DECL_EM_M16C) && HAVE_DECL_EM_M16C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_M16C) == (117), "EM_M16C != 117"); @@ -703,6 +1693,16 @@ #else # define EM_M16C 117 #endif +#if defined(EM_M16C) || (defined(HAVE_DECL_EM_M16C) && HAVE_DECL_EM_M16C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_M16C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_M16C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_M16C) +#endif #if defined(EM_DSPIC30F) || (defined(HAVE_DECL_EM_DSPIC30F) && HAVE_DECL_EM_DSPIC30F) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_DSPIC30F) == (118), "EM_DSPIC30F != 118"); @@ -710,6 +1710,16 @@ #else # define EM_DSPIC30F 118 #endif +#if defined(EM_DSPIC30F) || (defined(HAVE_DECL_EM_DSPIC30F) && HAVE_DECL_EM_DSPIC30F) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_DSPIC30F) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_DSPIC30F" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_DSPIC30F) +#endif #if defined(EM_CE) || (defined(HAVE_DECL_EM_CE) && HAVE_DECL_EM_CE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CE) == (119), "EM_CE != 119"); @@ -717,6 +1727,16 @@ #else # define EM_CE 119 #endif +#if defined(EM_CE) || (defined(HAVE_DECL_EM_CE) && HAVE_DECL_EM_CE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CE) +#endif #if defined(EM_M32C) || (defined(HAVE_DECL_EM_M32C) && HAVE_DECL_EM_M32C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_M32C) == (120), "EM_M32C != 120"); @@ -724,6 +1744,16 @@ #else # define EM_M32C 120 #endif +#if defined(EM_M32C) || (defined(HAVE_DECL_EM_M32C) && HAVE_DECL_EM_M32C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_M32C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_M32C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_M32C) +#endif #if defined(EM_TSK3000) || (defined(HAVE_DECL_EM_TSK3000) && HAVE_DECL_EM_TSK3000) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TSK3000) == (131), "EM_TSK3000 != 131"); @@ -731,6 +1761,16 @@ #else # define EM_TSK3000 131 #endif +#if defined(EM_TSK3000) || (defined(HAVE_DECL_EM_TSK3000) && HAVE_DECL_EM_TSK3000) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TSK3000) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TSK3000" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TSK3000) +#endif #if defined(EM_RS08) || (defined(HAVE_DECL_EM_RS08) && HAVE_DECL_EM_RS08) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RS08) == (132), "EM_RS08 != 132"); @@ -738,6 +1778,16 @@ #else # define EM_RS08 132 #endif +#if defined(EM_RS08) || (defined(HAVE_DECL_EM_RS08) && HAVE_DECL_EM_RS08) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RS08) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RS08" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RS08) +#endif #if defined(EM_SHARC) || (defined(HAVE_DECL_EM_SHARC) && HAVE_DECL_EM_SHARC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SHARC) == (133), "EM_SHARC != 133"); @@ -745,6 +1795,16 @@ #else # define EM_SHARC 133 #endif +#if defined(EM_SHARC) || (defined(HAVE_DECL_EM_SHARC) && HAVE_DECL_EM_SHARC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SHARC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SHARC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SHARC) +#endif #if defined(EM_ECOG2) || (defined(HAVE_DECL_EM_ECOG2) && HAVE_DECL_EM_ECOG2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ECOG2) == (134), "EM_ECOG2 != 134"); @@ -752,6 +1812,16 @@ #else # define EM_ECOG2 134 #endif +#if defined(EM_ECOG2) || (defined(HAVE_DECL_EM_ECOG2) && HAVE_DECL_EM_ECOG2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ECOG2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ECOG2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ECOG2) +#endif #if defined(EM_SCORE7) || (defined(HAVE_DECL_EM_SCORE7) && HAVE_DECL_EM_SCORE7) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SCORE7) == (135), "EM_SCORE7 != 135"); @@ -759,6 +1829,16 @@ #else # define EM_SCORE7 135 #endif +#if defined(EM_SCORE7) || (defined(HAVE_DECL_EM_SCORE7) && HAVE_DECL_EM_SCORE7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SCORE7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SCORE7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SCORE7) +#endif #if defined(EM_DSP24) || (defined(HAVE_DECL_EM_DSP24) && HAVE_DECL_EM_DSP24) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_DSP24) == (136), "EM_DSP24 != 136"); @@ -766,6 +1846,16 @@ #else # define EM_DSP24 136 #endif +#if defined(EM_DSP24) || (defined(HAVE_DECL_EM_DSP24) && HAVE_DECL_EM_DSP24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_DSP24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_DSP24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_DSP24) +#endif #if defined(EM_VIDEOCORE3) || (defined(HAVE_DECL_EM_VIDEOCORE3) && HAVE_DECL_EM_VIDEOCORE3) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VIDEOCORE3) == (137), "EM_VIDEOCORE3 != 137"); @@ -773,6 +1863,16 @@ #else # define EM_VIDEOCORE3 137 #endif +#if defined(EM_VIDEOCORE3) || (defined(HAVE_DECL_EM_VIDEOCORE3) && HAVE_DECL_EM_VIDEOCORE3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VIDEOCORE3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VIDEOCORE3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VIDEOCORE3) +#endif #if defined(EM_LATTICEMICO32) || (defined(HAVE_DECL_EM_LATTICEMICO32) && HAVE_DECL_EM_LATTICEMICO32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_LATTICEMICO32) == (138), "EM_LATTICEMICO32 != 138"); @@ -780,6 +1880,16 @@ #else # define EM_LATTICEMICO32 138 #endif +#if defined(EM_LATTICEMICO32) || (defined(HAVE_DECL_EM_LATTICEMICO32) && HAVE_DECL_EM_LATTICEMICO32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_LATTICEMICO32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_LATTICEMICO32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_LATTICEMICO32) +#endif #if defined(EM_SE_C17) || (defined(HAVE_DECL_EM_SE_C17) && HAVE_DECL_EM_SE_C17) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SE_C17) == (139), "EM_SE_C17 != 139"); @@ -787,6 +1897,16 @@ #else # define EM_SE_C17 139 #endif +#if defined(EM_SE_C17) || (defined(HAVE_DECL_EM_SE_C17) && HAVE_DECL_EM_SE_C17) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SE_C17) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SE_C17" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SE_C17) +#endif #if defined(EM_TI_C6000) || (defined(HAVE_DECL_EM_TI_C6000) && HAVE_DECL_EM_TI_C6000) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TI_C6000) == (140), "EM_TI_C6000 != 140"); @@ -794,6 +1914,16 @@ #else # define EM_TI_C6000 140 #endif +#if defined(EM_TI_C6000) || (defined(HAVE_DECL_EM_TI_C6000) && HAVE_DECL_EM_TI_C6000) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TI_C6000) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TI_C6000" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TI_C6000) +#endif #if defined(EM_TI_C2000) || (defined(HAVE_DECL_EM_TI_C2000) && HAVE_DECL_EM_TI_C2000) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TI_C2000) == (141), "EM_TI_C2000 != 141"); @@ -801,6 +1931,16 @@ #else # define EM_TI_C2000 141 #endif +#if defined(EM_TI_C2000) || (defined(HAVE_DECL_EM_TI_C2000) && HAVE_DECL_EM_TI_C2000) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TI_C2000) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TI_C2000" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TI_C2000) +#endif #if defined(EM_TI_C5500) || (defined(HAVE_DECL_EM_TI_C5500) && HAVE_DECL_EM_TI_C5500) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TI_C5500) == (142), "EM_TI_C5500 != 142"); @@ -808,6 +1948,16 @@ #else # define EM_TI_C5500 142 #endif +#if defined(EM_TI_C5500) || (defined(HAVE_DECL_EM_TI_C5500) && HAVE_DECL_EM_TI_C5500) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TI_C5500) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TI_C5500" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TI_C5500) +#endif #if defined(EM_TI_ARP32) || (defined(HAVE_DECL_EM_TI_ARP32) && HAVE_DECL_EM_TI_ARP32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TI_ARP32) == (143), "EM_TI_ARP32 != 143"); @@ -815,6 +1965,16 @@ #else # define EM_TI_ARP32 143 #endif +#if defined(EM_TI_ARP32) || (defined(HAVE_DECL_EM_TI_ARP32) && HAVE_DECL_EM_TI_ARP32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TI_ARP32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TI_ARP32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TI_ARP32) +#endif #if defined(EM_TI_PRU) || (defined(HAVE_DECL_EM_TI_PRU) && HAVE_DECL_EM_TI_PRU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TI_PRU) == (144), "EM_TI_PRU != 144"); @@ -822,6 +1982,16 @@ #else # define EM_TI_PRU 144 #endif +#if defined(EM_TI_PRU) || (defined(HAVE_DECL_EM_TI_PRU) && HAVE_DECL_EM_TI_PRU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TI_PRU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TI_PRU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TI_PRU) +#endif #if defined(EM_MMDSP_PLUS) || (defined(HAVE_DECL_EM_MMDSP_PLUS) && HAVE_DECL_EM_MMDSP_PLUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MMDSP_PLUS) == (160), "EM_MMDSP_PLUS != 160"); @@ -829,6 +1999,16 @@ #else # define EM_MMDSP_PLUS 160 #endif +#if defined(EM_MMDSP_PLUS) || (defined(HAVE_DECL_EM_MMDSP_PLUS) && HAVE_DECL_EM_MMDSP_PLUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MMDSP_PLUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MMDSP_PLUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MMDSP_PLUS) +#endif #if defined(EM_CYPRESS_M8C) || (defined(HAVE_DECL_EM_CYPRESS_M8C) && HAVE_DECL_EM_CYPRESS_M8C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CYPRESS_M8C) == (161), "EM_CYPRESS_M8C != 161"); @@ -836,6 +2016,16 @@ #else # define EM_CYPRESS_M8C 161 #endif +#if defined(EM_CYPRESS_M8C) || (defined(HAVE_DECL_EM_CYPRESS_M8C) && HAVE_DECL_EM_CYPRESS_M8C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CYPRESS_M8C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CYPRESS_M8C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CYPRESS_M8C) +#endif #if defined(EM_R32C) || (defined(HAVE_DECL_EM_R32C) && HAVE_DECL_EM_R32C) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_R32C) == (162), "EM_R32C != 162"); @@ -843,6 +2033,16 @@ #else # define EM_R32C 162 #endif +#if defined(EM_R32C) || (defined(HAVE_DECL_EM_R32C) && HAVE_DECL_EM_R32C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_R32C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_R32C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_R32C) +#endif #if defined(EM_TRIMEDIA) || (defined(HAVE_DECL_EM_TRIMEDIA) && HAVE_DECL_EM_TRIMEDIA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TRIMEDIA) == (163), "EM_TRIMEDIA != 163"); @@ -850,6 +2050,16 @@ #else # define EM_TRIMEDIA 163 #endif +#if defined(EM_TRIMEDIA) || (defined(HAVE_DECL_EM_TRIMEDIA) && HAVE_DECL_EM_TRIMEDIA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TRIMEDIA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TRIMEDIA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TRIMEDIA) +#endif #if defined(EM_HEXAGON) || (defined(HAVE_DECL_EM_HEXAGON) && HAVE_DECL_EM_HEXAGON) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_HEXAGON) == (164), "EM_HEXAGON != 164"); @@ -857,6 +2067,16 @@ #else # define EM_HEXAGON 164 #endif +#if defined(EM_HEXAGON) || (defined(HAVE_DECL_EM_HEXAGON) && HAVE_DECL_EM_HEXAGON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_HEXAGON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_HEXAGON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_HEXAGON) +#endif #if defined(EM_8051) || (defined(HAVE_DECL_EM_8051) && HAVE_DECL_EM_8051) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_8051) == (165), "EM_8051 != 165"); @@ -864,6 +2084,16 @@ #else # define EM_8051 165 #endif +#if defined(EM_8051) || (defined(HAVE_DECL_EM_8051) && HAVE_DECL_EM_8051) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_8051) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_8051" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_8051) +#endif #if defined(EM_STXP7X) || (defined(HAVE_DECL_EM_STXP7X) && HAVE_DECL_EM_STXP7X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_STXP7X) == (166), "EM_STXP7X != 166"); @@ -871,6 +2101,16 @@ #else # define EM_STXP7X 166 #endif +#if defined(EM_STXP7X) || (defined(HAVE_DECL_EM_STXP7X) && HAVE_DECL_EM_STXP7X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_STXP7X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_STXP7X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_STXP7X) +#endif #if defined(EM_NDS32) || (defined(HAVE_DECL_EM_NDS32) && HAVE_DECL_EM_NDS32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_NDS32) == (167), "EM_NDS32 != 167"); @@ -878,6 +2118,16 @@ #else # define EM_NDS32 167 #endif +#if defined(EM_NDS32) || (defined(HAVE_DECL_EM_NDS32) && HAVE_DECL_EM_NDS32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NDS32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NDS32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NDS32) +#endif #if defined(EM_ECOG1X) || (defined(HAVE_DECL_EM_ECOG1X) && HAVE_DECL_EM_ECOG1X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ECOG1X) == (168), "EM_ECOG1X != 168"); @@ -885,6 +2135,16 @@ #else # define EM_ECOG1X 168 #endif +#if defined(EM_ECOG1X) || (defined(HAVE_DECL_EM_ECOG1X) && HAVE_DECL_EM_ECOG1X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ECOG1X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ECOG1X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ECOG1X) +#endif #if defined(EM_MAXQ30) || (defined(HAVE_DECL_EM_MAXQ30) && HAVE_DECL_EM_MAXQ30) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MAXQ30) == (169), "EM_MAXQ30 != 169"); @@ -892,6 +2152,16 @@ #else # define EM_MAXQ30 169 #endif +#if defined(EM_MAXQ30) || (defined(HAVE_DECL_EM_MAXQ30) && HAVE_DECL_EM_MAXQ30) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MAXQ30) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MAXQ30" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MAXQ30) +#endif #if defined(EM_XIMO16) || (defined(HAVE_DECL_EM_XIMO16) && HAVE_DECL_EM_XIMO16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_XIMO16) == (170), "EM_XIMO16 != 170"); @@ -899,6 +2169,16 @@ #else # define EM_XIMO16 170 #endif +#if defined(EM_XIMO16) || (defined(HAVE_DECL_EM_XIMO16) && HAVE_DECL_EM_XIMO16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_XIMO16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_XIMO16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_XIMO16) +#endif #if defined(EM_MANIK) || (defined(HAVE_DECL_EM_MANIK) && HAVE_DECL_EM_MANIK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MANIK) == (171), "EM_MANIK != 171"); @@ -906,6 +2186,16 @@ #else # define EM_MANIK 171 #endif +#if defined(EM_MANIK) || (defined(HAVE_DECL_EM_MANIK) && HAVE_DECL_EM_MANIK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MANIK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MANIK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MANIK) +#endif #if defined(EM_CRAYNV2) || (defined(HAVE_DECL_EM_CRAYNV2) && HAVE_DECL_EM_CRAYNV2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CRAYNV2) == (172), "EM_CRAYNV2 != 172"); @@ -913,6 +2203,16 @@ #else # define EM_CRAYNV2 172 #endif +#if defined(EM_CRAYNV2) || (defined(HAVE_DECL_EM_CRAYNV2) && HAVE_DECL_EM_CRAYNV2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CRAYNV2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CRAYNV2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CRAYNV2) +#endif #if defined(EM_RX) || (defined(HAVE_DECL_EM_RX) && HAVE_DECL_EM_RX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RX) == (173), "EM_RX != 173"); @@ -920,6 +2220,16 @@ #else # define EM_RX 173 #endif +#if defined(EM_RX) || (defined(HAVE_DECL_EM_RX) && HAVE_DECL_EM_RX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RX) +#endif #if defined(EM_METAG) || (defined(HAVE_DECL_EM_METAG) && HAVE_DECL_EM_METAG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_METAG) == (174), "EM_METAG != 174"); @@ -927,6 +2237,16 @@ #else # define EM_METAG 174 #endif +#if defined(EM_METAG) || (defined(HAVE_DECL_EM_METAG) && HAVE_DECL_EM_METAG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_METAG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_METAG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_METAG) +#endif #if defined(EM_MCST_ELBRUS) || (defined(HAVE_DECL_EM_MCST_ELBRUS) && HAVE_DECL_EM_MCST_ELBRUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MCST_ELBRUS) == (175), "EM_MCST_ELBRUS != 175"); @@ -934,6 +2254,16 @@ #else # define EM_MCST_ELBRUS 175 #endif +#if defined(EM_MCST_ELBRUS) || (defined(HAVE_DECL_EM_MCST_ELBRUS) && HAVE_DECL_EM_MCST_ELBRUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MCST_ELBRUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MCST_ELBRUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MCST_ELBRUS) +#endif #if defined(EM_ECOG16) || (defined(HAVE_DECL_EM_ECOG16) && HAVE_DECL_EM_ECOG16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ECOG16) == (176), "EM_ECOG16 != 176"); @@ -941,6 +2271,16 @@ #else # define EM_ECOG16 176 #endif +#if defined(EM_ECOG16) || (defined(HAVE_DECL_EM_ECOG16) && HAVE_DECL_EM_ECOG16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ECOG16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ECOG16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ECOG16) +#endif #if defined(EM_CR16) || (defined(HAVE_DECL_EM_CR16) && HAVE_DECL_EM_CR16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CR16) == (177), "EM_CR16 != 177"); @@ -948,6 +2288,16 @@ #else # define EM_CR16 177 #endif +#if defined(EM_CR16) || (defined(HAVE_DECL_EM_CR16) && HAVE_DECL_EM_CR16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CR16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CR16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CR16) +#endif #if defined(EM_ETPU) || (defined(HAVE_DECL_EM_ETPU) && HAVE_DECL_EM_ETPU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ETPU) == (178), "EM_ETPU != 178"); @@ -955,6 +2305,16 @@ #else # define EM_ETPU 178 #endif +#if defined(EM_ETPU) || (defined(HAVE_DECL_EM_ETPU) && HAVE_DECL_EM_ETPU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ETPU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ETPU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ETPU) +#endif #if defined(EM_SLE9X) || (defined(HAVE_DECL_EM_SLE9X) && HAVE_DECL_EM_SLE9X) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_SLE9X) == (179), "EM_SLE9X != 179"); @@ -962,6 +2322,16 @@ #else # define EM_SLE9X 179 #endif +#if defined(EM_SLE9X) || (defined(HAVE_DECL_EM_SLE9X) && HAVE_DECL_EM_SLE9X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_SLE9X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_SLE9X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_SLE9X) +#endif #if defined(EM_L10M) || (defined(HAVE_DECL_EM_L10M) && HAVE_DECL_EM_L10M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_L10M) == (180), "EM_L10M != 180"); @@ -969,6 +2339,16 @@ #else # define EM_L10M 180 #endif +#if defined(EM_L10M) || (defined(HAVE_DECL_EM_L10M) && HAVE_DECL_EM_L10M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_L10M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_L10M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_L10M) +#endif #if defined(EM_K10M) || (defined(HAVE_DECL_EM_K10M) && HAVE_DECL_EM_K10M) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_K10M) == (181), "EM_K10M != 181"); @@ -976,6 +2356,16 @@ #else # define EM_K10M 181 #endif +#if defined(EM_K10M) || (defined(HAVE_DECL_EM_K10M) && HAVE_DECL_EM_K10M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_K10M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_K10M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_K10M) +#endif #if defined(EM_AARCH64) || (defined(HAVE_DECL_EM_AARCH64) && HAVE_DECL_EM_AARCH64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_AARCH64) == (183), "EM_AARCH64 != 183"); @@ -983,6 +2373,16 @@ #else # define EM_AARCH64 183 #endif +#if defined(EM_AARCH64) || (defined(HAVE_DECL_EM_AARCH64) && HAVE_DECL_EM_AARCH64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_AARCH64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_AARCH64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_AARCH64) +#endif #if defined(EM_STM8) || (defined(HAVE_DECL_EM_STM8) && HAVE_DECL_EM_STM8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_STM8) == (186), "EM_STM8 != 186"); @@ -990,6 +2390,16 @@ #else # define EM_STM8 186 #endif +#if defined(EM_STM8) || (defined(HAVE_DECL_EM_STM8) && HAVE_DECL_EM_STM8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_STM8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_STM8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_STM8) +#endif #if defined(EM_TILE64) || (defined(HAVE_DECL_EM_TILE64) && HAVE_DECL_EM_TILE64) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TILE64) == (187), "EM_TILE64 != 187"); @@ -997,6 +2407,16 @@ #else # define EM_TILE64 187 #endif +#if defined(EM_TILE64) || (defined(HAVE_DECL_EM_TILE64) && HAVE_DECL_EM_TILE64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TILE64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TILE64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TILE64) +#endif #if defined(EM_TILEPRO) || (defined(HAVE_DECL_EM_TILEPRO) && HAVE_DECL_EM_TILEPRO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TILEPRO) == (188), "EM_TILEPRO != 188"); @@ -1004,6 +2424,16 @@ #else # define EM_TILEPRO 188 #endif +#if defined(EM_TILEPRO) || (defined(HAVE_DECL_EM_TILEPRO) && HAVE_DECL_EM_TILEPRO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TILEPRO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TILEPRO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TILEPRO) +#endif #if defined(EM_MICROBLAZE) || (defined(HAVE_DECL_EM_MICROBLAZE) && HAVE_DECL_EM_MICROBLAZE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MICROBLAZE) == (189), "EM_MICROBLAZE != 189"); @@ -1011,6 +2441,16 @@ #else # define EM_MICROBLAZE 189 #endif +#if defined(EM_MICROBLAZE) || (defined(HAVE_DECL_EM_MICROBLAZE) && HAVE_DECL_EM_MICROBLAZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MICROBLAZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MICROBLAZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MICROBLAZE) +#endif #if defined(EM_CUDA) || (defined(HAVE_DECL_EM_CUDA) && HAVE_DECL_EM_CUDA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CUDA) == (190), "EM_CUDA != 190"); @@ -1018,6 +2458,16 @@ #else # define EM_CUDA 190 #endif +#if defined(EM_CUDA) || (defined(HAVE_DECL_EM_CUDA) && HAVE_DECL_EM_CUDA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CUDA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CUDA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CUDA) +#endif #if defined(EM_TILEGX) || (defined(HAVE_DECL_EM_TILEGX) && HAVE_DECL_EM_TILEGX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_TILEGX) == (191), "EM_TILEGX != 191"); @@ -1025,6 +2475,16 @@ #else # define EM_TILEGX 191 #endif +#if defined(EM_TILEGX) || (defined(HAVE_DECL_EM_TILEGX) && HAVE_DECL_EM_TILEGX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_TILEGX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_TILEGX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_TILEGX) +#endif #if defined(EM_CLOUDSHIELD) || (defined(HAVE_DECL_EM_CLOUDSHIELD) && HAVE_DECL_EM_CLOUDSHIELD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CLOUDSHIELD) == (192), "EM_CLOUDSHIELD != 192"); @@ -1032,6 +2492,16 @@ #else # define EM_CLOUDSHIELD 192 #endif +#if defined(EM_CLOUDSHIELD) || (defined(HAVE_DECL_EM_CLOUDSHIELD) && HAVE_DECL_EM_CLOUDSHIELD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CLOUDSHIELD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CLOUDSHIELD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CLOUDSHIELD) +#endif #if defined(EM_COREA_1ST) || (defined(HAVE_DECL_EM_COREA_1ST) && HAVE_DECL_EM_COREA_1ST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_COREA_1ST) == (193), "EM_COREA_1ST != 193"); @@ -1039,6 +2509,16 @@ #else # define EM_COREA_1ST 193 #endif +#if defined(EM_COREA_1ST) || (defined(HAVE_DECL_EM_COREA_1ST) && HAVE_DECL_EM_COREA_1ST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_COREA_1ST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_COREA_1ST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_COREA_1ST) +#endif #if defined(EM_COREA_2ND) || (defined(HAVE_DECL_EM_COREA_2ND) && HAVE_DECL_EM_COREA_2ND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_COREA_2ND) == (194), "EM_COREA_2ND != 194"); @@ -1046,6 +2526,16 @@ #else # define EM_COREA_2ND 194 #endif +#if defined(EM_COREA_2ND) || (defined(HAVE_DECL_EM_COREA_2ND) && HAVE_DECL_EM_COREA_2ND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_COREA_2ND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_COREA_2ND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_COREA_2ND) +#endif #if defined(EM_ARCV2) || (defined(HAVE_DECL_EM_ARCV2) && HAVE_DECL_EM_ARCV2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ARCV2) == (195), "EM_ARCV2 != 195"); @@ -1053,6 +2543,16 @@ #else # define EM_ARCV2 195 #endif +#if defined(EM_ARCV2) || (defined(HAVE_DECL_EM_ARCV2) && HAVE_DECL_EM_ARCV2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ARCV2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ARCV2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ARCV2) +#endif #if defined(EM_OPEN8) || (defined(HAVE_DECL_EM_OPEN8) && HAVE_DECL_EM_OPEN8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_OPEN8) == (196), "EM_OPEN8 != 196"); @@ -1060,6 +2560,16 @@ #else # define EM_OPEN8 196 #endif +#if defined(EM_OPEN8) || (defined(HAVE_DECL_EM_OPEN8) && HAVE_DECL_EM_OPEN8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_OPEN8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_OPEN8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_OPEN8) +#endif #if defined(EM_RL78) || (defined(HAVE_DECL_EM_RL78) && HAVE_DECL_EM_RL78) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RL78) == (197), "EM_RL78 != 197"); @@ -1067,6 +2577,16 @@ #else # define EM_RL78 197 #endif +#if defined(EM_RL78) || (defined(HAVE_DECL_EM_RL78) && HAVE_DECL_EM_RL78) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RL78) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RL78" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RL78) +#endif #if defined(EM_VIDEOCORE5) || (defined(HAVE_DECL_EM_VIDEOCORE5) && HAVE_DECL_EM_VIDEOCORE5) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VIDEOCORE5) == (198), "EM_VIDEOCORE5 != 198"); @@ -1074,6 +2594,16 @@ #else # define EM_VIDEOCORE5 198 #endif +#if defined(EM_VIDEOCORE5) || (defined(HAVE_DECL_EM_VIDEOCORE5) && HAVE_DECL_EM_VIDEOCORE5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VIDEOCORE5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VIDEOCORE5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VIDEOCORE5) +#endif #if defined(EM_78KOR) || (defined(HAVE_DECL_EM_78KOR) && HAVE_DECL_EM_78KOR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_78KOR) == (199), "EM_78KOR != 199"); @@ -1081,6 +2611,16 @@ #else # define EM_78KOR 199 #endif +#if defined(EM_78KOR) || (defined(HAVE_DECL_EM_78KOR) && HAVE_DECL_EM_78KOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_78KOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_78KOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_78KOR) +#endif #if defined(EM_56800EX) || (defined(HAVE_DECL_EM_56800EX) && HAVE_DECL_EM_56800EX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_56800EX) == (200), "EM_56800EX != 200"); @@ -1088,6 +2628,16 @@ #else # define EM_56800EX 200 #endif +#if defined(EM_56800EX) || (defined(HAVE_DECL_EM_56800EX) && HAVE_DECL_EM_56800EX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_56800EX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_56800EX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_56800EX) +#endif #if defined(EM_BA1) || (defined(HAVE_DECL_EM_BA1) && HAVE_DECL_EM_BA1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_BA1) == (201), "EM_BA1 != 201"); @@ -1095,6 +2645,16 @@ #else # define EM_BA1 201 #endif +#if defined(EM_BA1) || (defined(HAVE_DECL_EM_BA1) && HAVE_DECL_EM_BA1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_BA1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_BA1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_BA1) +#endif #if defined(EM_BA2) || (defined(HAVE_DECL_EM_BA2) && HAVE_DECL_EM_BA2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_BA2) == (202), "EM_BA2 != 202"); @@ -1102,6 +2662,16 @@ #else # define EM_BA2 202 #endif +#if defined(EM_BA2) || (defined(HAVE_DECL_EM_BA2) && HAVE_DECL_EM_BA2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_BA2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_BA2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_BA2) +#endif #if defined(EM_XCORE) || (defined(HAVE_DECL_EM_XCORE) && HAVE_DECL_EM_XCORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_XCORE) == (203), "EM_XCORE != 203"); @@ -1109,6 +2679,16 @@ #else # define EM_XCORE 203 #endif +#if defined(EM_XCORE) || (defined(HAVE_DECL_EM_XCORE) && HAVE_DECL_EM_XCORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_XCORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_XCORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_XCORE) +#endif #if defined(EM_MCHP_PIC) || (defined(HAVE_DECL_EM_MCHP_PIC) && HAVE_DECL_EM_MCHP_PIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MCHP_PIC) == (204), "EM_MCHP_PIC != 204"); @@ -1116,6 +2696,16 @@ #else # define EM_MCHP_PIC 204 #endif +#if defined(EM_MCHP_PIC) || (defined(HAVE_DECL_EM_MCHP_PIC) && HAVE_DECL_EM_MCHP_PIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MCHP_PIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MCHP_PIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MCHP_PIC) +#endif #if defined(EM_KM32) || (defined(HAVE_DECL_EM_KM32) && HAVE_DECL_EM_KM32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_KM32) == (210), "EM_KM32 != 210"); @@ -1123,6 +2713,16 @@ #else # define EM_KM32 210 #endif +#if defined(EM_KM32) || (defined(HAVE_DECL_EM_KM32) && HAVE_DECL_EM_KM32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_KM32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_KM32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_KM32) +#endif #if defined(EM_KMX32) || (defined(HAVE_DECL_EM_KMX32) && HAVE_DECL_EM_KMX32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_KMX32) == (211), "EM_KMX32 != 211"); @@ -1130,6 +2730,16 @@ #else # define EM_KMX32 211 #endif +#if defined(EM_KMX32) || (defined(HAVE_DECL_EM_KMX32) && HAVE_DECL_EM_KMX32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_KMX32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_KMX32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_KMX32) +#endif #if defined(EM_KMX16) || (defined(HAVE_DECL_EM_KMX16) && HAVE_DECL_EM_KMX16) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_KMX16) == (212), "EM_KMX16 != 212"); @@ -1137,6 +2747,16 @@ #else # define EM_KMX16 212 #endif +#if defined(EM_KMX16) || (defined(HAVE_DECL_EM_KMX16) && HAVE_DECL_EM_KMX16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_KMX16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_KMX16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_KMX16) +#endif #if defined(EM_KMX8) || (defined(HAVE_DECL_EM_KMX8) && HAVE_DECL_EM_KMX8) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_KMX8) == (213), "EM_KMX8 != 213"); @@ -1144,6 +2764,16 @@ #else # define EM_KMX8 213 #endif +#if defined(EM_KMX8) || (defined(HAVE_DECL_EM_KMX8) && HAVE_DECL_EM_KMX8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_KMX8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_KMX8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_KMX8) +#endif #if defined(EM_KVARC) || (defined(HAVE_DECL_EM_KVARC) && HAVE_DECL_EM_KVARC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_KVARC) == (214), "EM_KVARC != 214"); @@ -1151,6 +2781,16 @@ #else # define EM_KVARC 214 #endif +#if defined(EM_KVARC) || (defined(HAVE_DECL_EM_KVARC) && HAVE_DECL_EM_KVARC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_KVARC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_KVARC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_KVARC) +#endif #if defined(EM_CDP) || (defined(HAVE_DECL_EM_CDP) && HAVE_DECL_EM_CDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CDP) == (215), "EM_CDP != 215"); @@ -1158,6 +2798,16 @@ #else # define EM_CDP 215 #endif +#if defined(EM_CDP) || (defined(HAVE_DECL_EM_CDP) && HAVE_DECL_EM_CDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CDP) +#endif #if defined(EM_COGE) || (defined(HAVE_DECL_EM_COGE) && HAVE_DECL_EM_COGE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_COGE) == (216), "EM_COGE != 216"); @@ -1165,6 +2815,16 @@ #else # define EM_COGE 216 #endif +#if defined(EM_COGE) || (defined(HAVE_DECL_EM_COGE) && HAVE_DECL_EM_COGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_COGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_COGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_COGE) +#endif #if defined(EM_COOL) || (defined(HAVE_DECL_EM_COOL) && HAVE_DECL_EM_COOL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_COOL) == (217), "EM_COOL != 217"); @@ -1172,6 +2832,16 @@ #else # define EM_COOL 217 #endif +#if defined(EM_COOL) || (defined(HAVE_DECL_EM_COOL) && HAVE_DECL_EM_COOL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_COOL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_COOL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_COOL) +#endif #if defined(EM_NORC) || (defined(HAVE_DECL_EM_NORC) && HAVE_DECL_EM_NORC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_NORC) == (218), "EM_NORC != 218"); @@ -1179,6 +2849,16 @@ #else # define EM_NORC 218 #endif +#if defined(EM_NORC) || (defined(HAVE_DECL_EM_NORC) && HAVE_DECL_EM_NORC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_NORC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_NORC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_NORC) +#endif #if defined(EM_CSR_KALIMBA) || (defined(HAVE_DECL_EM_CSR_KALIMBA) && HAVE_DECL_EM_CSR_KALIMBA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CSR_KALIMBA) == (219), "EM_CSR_KALIMBA != 219"); @@ -1186,6 +2866,16 @@ #else # define EM_CSR_KALIMBA 219 #endif +#if defined(EM_CSR_KALIMBA) || (defined(HAVE_DECL_EM_CSR_KALIMBA) && HAVE_DECL_EM_CSR_KALIMBA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CSR_KALIMBA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CSR_KALIMBA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CSR_KALIMBA) +#endif #if defined(EM_Z80) || (defined(HAVE_DECL_EM_Z80) && HAVE_DECL_EM_Z80) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_Z80) == (220), "EM_Z80 != 220"); @@ -1193,6 +2883,16 @@ #else # define EM_Z80 220 #endif +#if defined(EM_Z80) || (defined(HAVE_DECL_EM_Z80) && HAVE_DECL_EM_Z80) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_Z80) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_Z80" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_Z80) +#endif #if defined(EM_VISIUM) || (defined(HAVE_DECL_EM_VISIUM) && HAVE_DECL_EM_VISIUM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_VISIUM) == (221), "EM_VISIUM != 221"); @@ -1200,6 +2900,16 @@ #else # define EM_VISIUM 221 #endif +#if defined(EM_VISIUM) || (defined(HAVE_DECL_EM_VISIUM) && HAVE_DECL_EM_VISIUM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_VISIUM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_VISIUM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_VISIUM) +#endif #if defined(EM_FT32) || (defined(HAVE_DECL_EM_FT32) && HAVE_DECL_EM_FT32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FT32) == (222), "EM_FT32 != 222"); @@ -1207,6 +2917,16 @@ #else # define EM_FT32 222 #endif +#if defined(EM_FT32) || (defined(HAVE_DECL_EM_FT32) && HAVE_DECL_EM_FT32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FT32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FT32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FT32) +#endif #if defined(EM_MOXIE) || (defined(HAVE_DECL_EM_MOXIE) && HAVE_DECL_EM_MOXIE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MOXIE) == (223), "EM_MOXIE != 223"); @@ -1214,6 +2934,16 @@ #else # define EM_MOXIE 223 #endif +#if defined(EM_MOXIE) || (defined(HAVE_DECL_EM_MOXIE) && HAVE_DECL_EM_MOXIE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MOXIE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MOXIE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MOXIE) +#endif #if defined(EM_AMDGPU) || (defined(HAVE_DECL_EM_AMDGPU) && HAVE_DECL_EM_AMDGPU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_AMDGPU) == (224), "EM_AMDGPU != 224"); @@ -1221,6 +2951,16 @@ #else # define EM_AMDGPU 224 #endif +#if defined(EM_AMDGPU) || (defined(HAVE_DECL_EM_AMDGPU) && HAVE_DECL_EM_AMDGPU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_AMDGPU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_AMDGPU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_AMDGPU) +#endif #if defined(EM_RISCV) || (defined(HAVE_DECL_EM_RISCV) && HAVE_DECL_EM_RISCV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_RISCV) == (243), "EM_RISCV != 243"); @@ -1228,6 +2968,16 @@ #else # define EM_RISCV 243 #endif +#if defined(EM_RISCV) || (defined(HAVE_DECL_EM_RISCV) && HAVE_DECL_EM_RISCV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_RISCV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_RISCV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_RISCV) +#endif #if defined(EM_BPF) || (defined(HAVE_DECL_EM_BPF) && HAVE_DECL_EM_BPF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_BPF) == (247), "EM_BPF != 247"); @@ -1235,6 +2985,16 @@ #else # define EM_BPF 247 #endif +#if defined(EM_BPF) || (defined(HAVE_DECL_EM_BPF) && HAVE_DECL_EM_BPF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_BPF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_BPF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_BPF) +#endif #if defined(EM_CSKY) || (defined(HAVE_DECL_EM_CSKY) && HAVE_DECL_EM_CSKY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CSKY) == (252), "EM_CSKY != 252"); @@ -1242,6 +3002,33 @@ #else # define EM_CSKY 252 #endif +#if defined(EM_CSKY) || (defined(HAVE_DECL_EM_CSKY) && HAVE_DECL_EM_CSKY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CSKY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CSKY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CSKY) +#endif +#if defined(EM_LOONGARCH) || (defined(HAVE_DECL_EM_LOONGARCH) && HAVE_DECL_EM_LOONGARCH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((EM_LOONGARCH) == (258), "EM_LOONGARCH != 258"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define EM_LOONGARCH 258 +#endif +#if defined(EM_LOONGARCH) || (defined(HAVE_DECL_EM_LOONGARCH) && HAVE_DECL_EM_LOONGARCH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_LOONGARCH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_LOONGARCH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_LOONGARCH) +#endif #if defined(EM_AVR32) || (defined(HAVE_DECL_EM_AVR32) && HAVE_DECL_EM_AVR32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_AVR32) == (0x18ad), "EM_AVR32 != 0x18ad"); @@ -1249,6 +3036,16 @@ #else # define EM_AVR32 0x18ad #endif +#if defined(EM_AVR32) || (defined(HAVE_DECL_EM_AVR32) && HAVE_DECL_EM_AVR32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_AVR32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_AVR32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_AVR32) +#endif #if defined(EM_FRV) || (defined(HAVE_DECL_EM_FRV) && HAVE_DECL_EM_FRV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_FRV) == (0x5441), "EM_FRV != 0x5441"); @@ -1256,6 +3053,16 @@ #else # define EM_FRV 0x5441 #endif +#if defined(EM_FRV) || (defined(HAVE_DECL_EM_FRV) && HAVE_DECL_EM_FRV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_FRV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_FRV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_FRV) +#endif #if defined(EM_OR32) || (defined(HAVE_DECL_EM_OR32) && HAVE_DECL_EM_OR32) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_OR32) == (0x8472), "EM_OR32 != 0x8472"); @@ -1263,6 +3070,16 @@ #else # define EM_OR32 0x8472 #endif +#if defined(EM_OR32) || (defined(HAVE_DECL_EM_OR32) && HAVE_DECL_EM_OR32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_OR32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_OR32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_OR32) +#endif #if defined(EM_ALPHA) || (defined(HAVE_DECL_EM_ALPHA) && HAVE_DECL_EM_ALPHA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_ALPHA) == (0x9026), "EM_ALPHA != 0x9026"); @@ -1270,19 +3087,49 @@ #else # define EM_ALPHA 0x9026 #endif -#if defined(EM_CYGNUS_V850) || (defined(HAVE_DECL_EM_CYGNUS_V850) && HAVE_DECL_EM_CYGNUS_V850) +#if defined(EM_ALPHA) || (defined(HAVE_DECL_EM_ALPHA) && HAVE_DECL_EM_ALPHA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_ALPHA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_ALPHA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_ALPHA) +#endif +#if defined(EM_CYGNUS_M32R) || (defined(HAVE_DECL_EM_CYGNUS_M32R) && HAVE_DECL_EM_CYGNUS_M32R) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((EM_CYGNUS_V850) == (0x9080), "EM_CYGNUS_V850 != 0x9080"); +static_assert((EM_CYGNUS_M32R) == (0x9041), "EM_CYGNUS_M32R != 0x9041"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define EM_CYGNUS_V850 0x9080 +# define EM_CYGNUS_M32R 0x9041 #endif #if defined(EM_CYGNUS_M32R) || (defined(HAVE_DECL_EM_CYGNUS_M32R) && HAVE_DECL_EM_CYGNUS_M32R) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CYGNUS_M32R) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CYGNUS_M32R" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CYGNUS_M32R) +#endif +#if defined(EM_CYGNUS_V850) || (defined(HAVE_DECL_EM_CYGNUS_V850) && HAVE_DECL_EM_CYGNUS_V850) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((EM_CYGNUS_M32R) == (0x9041), "EM_CYGNUS_M32R != 0x9041"); +static_assert((EM_CYGNUS_V850) == (0x9080), "EM_CYGNUS_V850 != 0x9080"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define EM_CYGNUS_M32R 0x9041 +# define EM_CYGNUS_V850 0x9080 +#endif +#if defined(EM_CYGNUS_V850) || (defined(HAVE_DECL_EM_CYGNUS_V850) && HAVE_DECL_EM_CYGNUS_V850) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CYGNUS_V850) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CYGNUS_V850" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CYGNUS_V850) #endif #if defined(EM_S390_OLD) || (defined(HAVE_DECL_EM_S390_OLD) && HAVE_DECL_EM_S390_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -1291,6 +3138,16 @@ #else # define EM_S390_OLD 0xa390 #endif +#if defined(EM_S390_OLD) || (defined(HAVE_DECL_EM_S390_OLD) && HAVE_DECL_EM_S390_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_S390_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_S390_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_S390_OLD) +#endif #if defined(EM_XTENSA_OLD) || (defined(HAVE_DECL_EM_XTENSA_OLD) && HAVE_DECL_EM_XTENSA_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_XTENSA_OLD) == (0xabc7), "EM_XTENSA_OLD != 0xabc7"); @@ -1298,6 +3155,16 @@ #else # define EM_XTENSA_OLD 0xabc7 #endif +#if defined(EM_XTENSA_OLD) || (defined(HAVE_DECL_EM_XTENSA_OLD) && HAVE_DECL_EM_XTENSA_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_XTENSA_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_XTENSA_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_XTENSA_OLD) +#endif #if defined(EM_MICROBLAZE_OLD) || (defined(HAVE_DECL_EM_MICROBLAZE_OLD) && HAVE_DECL_EM_MICROBLAZE_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_MICROBLAZE_OLD) == (0xbaab), "EM_MICROBLAZE_OLD != 0xbaab"); @@ -1305,6 +3172,16 @@ #else # define EM_MICROBLAZE_OLD 0xbaab #endif +#if defined(EM_MICROBLAZE_OLD) || (defined(HAVE_DECL_EM_MICROBLAZE_OLD) && HAVE_DECL_EM_MICROBLAZE_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_MICROBLAZE_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_MICROBLAZE_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_MICROBLAZE_OLD) +#endif #if defined(EM_CYGNUS_MN10300) || (defined(HAVE_DECL_EM_CYGNUS_MN10300) && HAVE_DECL_EM_CYGNUS_MN10300) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EM_CYGNUS_MN10300) == (0xbeef), "EM_CYGNUS_MN10300 != 0xbeef"); @@ -1312,6 +3189,17 @@ #else # define EM_CYGNUS_MN10300 0xbeef #endif +#if defined(EM_CYGNUS_MN10300) || (defined(HAVE_DECL_EM_CYGNUS_MN10300) && HAVE_DECL_EM_CYGNUS_MN10300) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EM_CYGNUS_MN10300) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EM_CYGNUS_MN10300" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EM_CYGNUS_MN10300) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -1868,36 +3756,39 @@ XLAT(EM_CSKY), #define XLAT_VAL_176 ((unsigned) (EM_CSKY)) #define XLAT_STR_176 STRINGIFY(EM_CSKY) + XLAT(EM_LOONGARCH), + #define XLAT_VAL_177 ((unsigned) (EM_LOONGARCH)) + #define XLAT_STR_177 STRINGIFY(EM_LOONGARCH) XLAT(EM_AVR32), - #define XLAT_VAL_177 ((unsigned) (EM_AVR32)) - #define XLAT_STR_177 STRINGIFY(EM_AVR32) + #define XLAT_VAL_178 ((unsigned) (EM_AVR32)) + #define XLAT_STR_178 STRINGIFY(EM_AVR32) XLAT(EM_FRV), - #define XLAT_VAL_178 ((unsigned) (EM_FRV)) - #define XLAT_STR_178 STRINGIFY(EM_FRV) + #define XLAT_VAL_179 ((unsigned) (EM_FRV)) + #define XLAT_STR_179 STRINGIFY(EM_FRV) XLAT(EM_OR32), - #define XLAT_VAL_179 ((unsigned) (EM_OR32)) - #define XLAT_STR_179 STRINGIFY(EM_OR32) + #define XLAT_VAL_180 ((unsigned) (EM_OR32)) + #define XLAT_STR_180 STRINGIFY(EM_OR32) XLAT(EM_ALPHA), - #define XLAT_VAL_180 ((unsigned) (EM_ALPHA)) - #define XLAT_STR_180 STRINGIFY(EM_ALPHA) - XLAT(EM_CYGNUS_V850), - #define XLAT_VAL_181 ((unsigned) (EM_CYGNUS_V850)) - #define XLAT_STR_181 STRINGIFY(EM_CYGNUS_V850) + #define XLAT_VAL_181 ((unsigned) (EM_ALPHA)) + #define XLAT_STR_181 STRINGIFY(EM_ALPHA) XLAT(EM_CYGNUS_M32R), #define XLAT_VAL_182 ((unsigned) (EM_CYGNUS_M32R)) #define XLAT_STR_182 STRINGIFY(EM_CYGNUS_M32R) + XLAT(EM_CYGNUS_V850), + #define XLAT_VAL_183 ((unsigned) (EM_CYGNUS_V850)) + #define XLAT_STR_183 STRINGIFY(EM_CYGNUS_V850) XLAT(EM_S390_OLD), - #define XLAT_VAL_183 ((unsigned) (EM_S390_OLD)) - #define XLAT_STR_183 STRINGIFY(EM_S390_OLD) + #define XLAT_VAL_184 ((unsigned) (EM_S390_OLD)) + #define XLAT_STR_184 STRINGIFY(EM_S390_OLD) XLAT(EM_XTENSA_OLD), - #define XLAT_VAL_184 ((unsigned) (EM_XTENSA_OLD)) - #define XLAT_STR_184 STRINGIFY(EM_XTENSA_OLD) + #define XLAT_VAL_185 ((unsigned) (EM_XTENSA_OLD)) + #define XLAT_STR_185 STRINGIFY(EM_XTENSA_OLD) XLAT(EM_MICROBLAZE_OLD), - #define XLAT_VAL_185 ((unsigned) (EM_MICROBLAZE_OLD)) - #define XLAT_STR_185 STRINGIFY(EM_MICROBLAZE_OLD) + #define XLAT_VAL_186 ((unsigned) (EM_MICROBLAZE_OLD)) + #define XLAT_STR_186 STRINGIFY(EM_MICROBLAZE_OLD) XLAT(EM_CYGNUS_MN10300), - #define XLAT_VAL_186 ((unsigned) (EM_CYGNUS_MN10300)) - #define XLAT_STR_186 STRINGIFY(EM_CYGNUS_MN10300) + #define XLAT_VAL_187 ((unsigned) (EM_CYGNUS_MN10300)) + #define XLAT_STR_187 STRINGIFY(EM_CYGNUS_MN10300) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -2468,6 +4359,9 @@ # ifdef XLAT_VAL_186 | XLAT_VAL_186 # endif +# ifdef XLAT_VAL_187 + | XLAT_VAL_187 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -3031,6 +4925,9 @@ # ifdef XLAT_STR_186 + sizeof(XLAT_STR_186) # endif +# ifdef XLAT_STR_187 + + sizeof(XLAT_STR_187) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -3409,6 +5306,8 @@ # undef XLAT_VAL_185 # undef XLAT_STR_186 # undef XLAT_VAL_186 +# undef XLAT_STR_187 +# undef XLAT_VAL_187 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/elf_em.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/elf_em.in
Changed
@@ -190,12 +190,13 @@ EM_RISCV 243 /* RISC-V */ EM_BPF 247 /* Linux BPF - in-kernel virtual machine */ EM_CSKY 252 /* C-SKY */ +EM_LOONGARCH 258 /* LoongArch */ EM_AVR32 0x18ad /* Atmel AVR32, removed in v4.12-rc1~159^2~5 */ EM_FRV 0x5441 /* Fujitsu FR-V */ EM_OR32 0x8472 /* arch/openrisc/include/uapi/asm/elf.h */ EM_ALPHA 0x9026 /* "This is an interim value that we will use until the committee comes up with a final number."; see also 41 */ -EM_CYGNUS_V850 0x9080 /* Bogus old v850 magic number, used by old tools, removed in v4.6-rc1~95^2~36 */ EM_CYGNUS_M32R 0x9041 /* Bogus old m32r magic number, used by old tools. */ +EM_CYGNUS_V850 0x9080 /* Bogus old v850 magic number, used by old tools, removed in v4.6-rc1~95^2~36 */ EM_S390_OLD 0xa390 /* This is the old interim value for S/390 architecture */ EM_XTENSA_OLD 0xabc7 /* arch/xtensa/include/asm/elf.h */ EM_MICROBLAZE_OLD 0xbaab /* arch/microblaze/include/uapi/asm/elf.h */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/epollctls.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/epollctls.h
Changed
@@ -24,6 +24,7 @@ #else # define EPOLL_CTL_MOD 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/epollevents.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/epollevents.h
Changed
@@ -115,6 +115,7 @@ #else # define EPOLLET 0x80000000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/epollflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/epollflags.h
Changed
@@ -10,6 +10,7 @@ #else # define EPOLL_CLOEXEC O_CLOEXEC #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ethernet_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ethernet_protocols.h
Changed
@@ -10,6 +10,16 @@ #else # define ETH_P_802_3 0x0001 #endif +#if defined(ETH_P_802_3) || (defined(HAVE_DECL_ETH_P_802_3) && HAVE_DECL_ETH_P_802_3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_802_3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_802_3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_802_3) +#endif #if defined(ETH_P_AX25) || (defined(HAVE_DECL_ETH_P_AX25) && HAVE_DECL_ETH_P_AX25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_AX25) == (0x0002), "ETH_P_AX25 != 0x0002"); @@ -17,6 +27,16 @@ #else # define ETH_P_AX25 0x0002 #endif +#if defined(ETH_P_AX25) || (defined(HAVE_DECL_ETH_P_AX25) && HAVE_DECL_ETH_P_AX25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_AX25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_AX25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_AX25) +#endif #if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ALL) == (0x0003), "ETH_P_ALL != 0x0003"); @@ -24,6 +44,16 @@ #else # define ETH_P_ALL 0x0003 #endif +#if defined(ETH_P_ALL) || (defined(HAVE_DECL_ETH_P_ALL) && HAVE_DECL_ETH_P_ALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ALL) +#endif #if defined(ETH_P_802_2) || (defined(HAVE_DECL_ETH_P_802_2) && HAVE_DECL_ETH_P_802_2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_802_2) == (0x0004), "ETH_P_802_2 != 0x0004"); @@ -31,6 +61,16 @@ #else # define ETH_P_802_2 0x0004 #endif +#if defined(ETH_P_802_2) || (defined(HAVE_DECL_ETH_P_802_2) && HAVE_DECL_ETH_P_802_2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_802_2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_802_2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_802_2) +#endif #if defined(ETH_P_SNAP) || (defined(HAVE_DECL_ETH_P_SNAP) && HAVE_DECL_ETH_P_SNAP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_SNAP) == (0x0005), "ETH_P_SNAP != 0x0005"); @@ -38,6 +78,16 @@ #else # define ETH_P_SNAP 0x0005 #endif +#if defined(ETH_P_SNAP) || (defined(HAVE_DECL_ETH_P_SNAP) && HAVE_DECL_ETH_P_SNAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_SNAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_SNAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_SNAP) +#endif #if defined(ETH_P_DDCMP) || (defined(HAVE_DECL_ETH_P_DDCMP) && HAVE_DECL_ETH_P_DDCMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DDCMP) == (0x0006), "ETH_P_DDCMP != 0x0006"); @@ -45,6 +95,16 @@ #else # define ETH_P_DDCMP 0x0006 #endif +#if defined(ETH_P_DDCMP) || (defined(HAVE_DECL_ETH_P_DDCMP) && HAVE_DECL_ETH_P_DDCMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DDCMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DDCMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DDCMP) +#endif #if defined(ETH_P_WAN_PPP) || (defined(HAVE_DECL_ETH_P_WAN_PPP) && HAVE_DECL_ETH_P_WAN_PPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_WAN_PPP) == (0x0007), "ETH_P_WAN_PPP != 0x0007"); @@ -52,6 +112,16 @@ #else # define ETH_P_WAN_PPP 0x0007 #endif +#if defined(ETH_P_WAN_PPP) || (defined(HAVE_DECL_ETH_P_WAN_PPP) && HAVE_DECL_ETH_P_WAN_PPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_WAN_PPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_WAN_PPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_WAN_PPP) +#endif #if defined(ETH_P_PPP_MP) || (defined(HAVE_DECL_ETH_P_PPP_MP) && HAVE_DECL_ETH_P_PPP_MP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PPP_MP) == (0x0008), "ETH_P_PPP_MP != 0x0008"); @@ -59,6 +129,16 @@ #else # define ETH_P_PPP_MP 0x0008 #endif +#if defined(ETH_P_PPP_MP) || (defined(HAVE_DECL_ETH_P_PPP_MP) && HAVE_DECL_ETH_P_PPP_MP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PPP_MP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PPP_MP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PPP_MP) +#endif #if defined(ETH_P_LOCALTALK) || (defined(HAVE_DECL_ETH_P_LOCALTALK) && HAVE_DECL_ETH_P_LOCALTALK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LOCALTALK) == (0x0009), "ETH_P_LOCALTALK != 0x0009"); @@ -66,6 +146,16 @@ #else # define ETH_P_LOCALTALK 0x0009 #endif +#if defined(ETH_P_LOCALTALK) || (defined(HAVE_DECL_ETH_P_LOCALTALK) && HAVE_DECL_ETH_P_LOCALTALK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LOCALTALK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LOCALTALK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LOCALTALK) +#endif #if defined(ETH_P_CAN) || (defined(HAVE_DECL_ETH_P_CAN) && HAVE_DECL_ETH_P_CAN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CAN) == (0x000C), "ETH_P_CAN != 0x000C"); @@ -73,6 +163,16 @@ #else # define ETH_P_CAN 0x000C #endif +#if defined(ETH_P_CAN) || (defined(HAVE_DECL_ETH_P_CAN) && HAVE_DECL_ETH_P_CAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CAN) +#endif #if defined(ETH_P_CANFD) || (defined(HAVE_DECL_ETH_P_CANFD) && HAVE_DECL_ETH_P_CANFD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CANFD) == (0x000D), "ETH_P_CANFD != 0x000D"); @@ -80,6 +180,33 @@ #else # define ETH_P_CANFD 0x000D #endif +#if defined(ETH_P_CANFD) || (defined(HAVE_DECL_ETH_P_CANFD) && HAVE_DECL_ETH_P_CANFD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CANFD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CANFD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CANFD) +#endif +#if defined(ETH_P_CANXL) || (defined(HAVE_DECL_ETH_P_CANXL) && HAVE_DECL_ETH_P_CANXL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ETH_P_CANXL) == (0x000E), "ETH_P_CANXL != 0x000E"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ETH_P_CANXL 0x000E +#endif +#if defined(ETH_P_CANXL) || (defined(HAVE_DECL_ETH_P_CANXL) && HAVE_DECL_ETH_P_CANXL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CANXL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CANXL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CANXL) +#endif #if defined(ETH_P_PPPTALK) || (defined(HAVE_DECL_ETH_P_PPPTALK) && HAVE_DECL_ETH_P_PPPTALK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PPPTALK) == (0x0010), "ETH_P_PPPTALK != 0x0010"); @@ -87,6 +214,16 @@ #else # define ETH_P_PPPTALK 0x0010 #endif +#if defined(ETH_P_PPPTALK) || (defined(HAVE_DECL_ETH_P_PPPTALK) && HAVE_DECL_ETH_P_PPPTALK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PPPTALK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PPPTALK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PPPTALK) +#endif #if defined(ETH_P_TR_802_2) || (defined(HAVE_DECL_ETH_P_TR_802_2) && HAVE_DECL_ETH_P_TR_802_2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TR_802_2) == (0x0011), "ETH_P_TR_802_2 != 0x0011"); @@ -94,6 +231,16 @@ #else # define ETH_P_TR_802_2 0x0011 #endif +#if defined(ETH_P_TR_802_2) || (defined(HAVE_DECL_ETH_P_TR_802_2) && HAVE_DECL_ETH_P_TR_802_2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TR_802_2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TR_802_2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TR_802_2) +#endif #if defined(ETH_P_MOBITEX) || (defined(HAVE_DECL_ETH_P_MOBITEX) && HAVE_DECL_ETH_P_MOBITEX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MOBITEX) == (0x0015), "ETH_P_MOBITEX != 0x0015"); @@ -101,6 +248,16 @@ #else # define ETH_P_MOBITEX 0x0015 #endif +#if defined(ETH_P_MOBITEX) || (defined(HAVE_DECL_ETH_P_MOBITEX) && HAVE_DECL_ETH_P_MOBITEX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MOBITEX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MOBITEX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MOBITEX) +#endif #if defined(ETH_P_CONTROL) || (defined(HAVE_DECL_ETH_P_CONTROL) && HAVE_DECL_ETH_P_CONTROL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CONTROL) == (0x0016), "ETH_P_CONTROL != 0x0016"); @@ -108,6 +265,16 @@ #else # define ETH_P_CONTROL 0x0016 #endif +#if defined(ETH_P_CONTROL) || (defined(HAVE_DECL_ETH_P_CONTROL) && HAVE_DECL_ETH_P_CONTROL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CONTROL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CONTROL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CONTROL) +#endif #if defined(ETH_P_IRDA) || (defined(HAVE_DECL_ETH_P_IRDA) && HAVE_DECL_ETH_P_IRDA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IRDA) == (0x0017), "ETH_P_IRDA != 0x0017"); @@ -115,6 +282,16 @@ #else # define ETH_P_IRDA 0x0017 #endif +#if defined(ETH_P_IRDA) || (defined(HAVE_DECL_ETH_P_IRDA) && HAVE_DECL_ETH_P_IRDA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IRDA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IRDA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IRDA) +#endif #if defined(ETH_P_ECONET) || (defined(HAVE_DECL_ETH_P_ECONET) && HAVE_DECL_ETH_P_ECONET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ECONET) == (0x0018), "ETH_P_ECONET != 0x0018"); @@ -122,6 +299,16 @@ #else # define ETH_P_ECONET 0x0018 #endif +#if defined(ETH_P_ECONET) || (defined(HAVE_DECL_ETH_P_ECONET) && HAVE_DECL_ETH_P_ECONET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ECONET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ECONET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ECONET) +#endif #if defined(ETH_P_HDLC) || (defined(HAVE_DECL_ETH_P_HDLC) && HAVE_DECL_ETH_P_HDLC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_HDLC) == (0x0019), "ETH_P_HDLC != 0x0019"); @@ -129,6 +316,16 @@ #else # define ETH_P_HDLC 0x0019 #endif +#if defined(ETH_P_HDLC) || (defined(HAVE_DECL_ETH_P_HDLC) && HAVE_DECL_ETH_P_HDLC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_HDLC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_HDLC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_HDLC) +#endif #if defined(ETH_P_ARCNET) || (defined(HAVE_DECL_ETH_P_ARCNET) && HAVE_DECL_ETH_P_ARCNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ARCNET) == (0x001A), "ETH_P_ARCNET != 0x001A"); @@ -136,6 +333,16 @@ #else # define ETH_P_ARCNET 0x001A #endif +#if defined(ETH_P_ARCNET) || (defined(HAVE_DECL_ETH_P_ARCNET) && HAVE_DECL_ETH_P_ARCNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ARCNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ARCNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ARCNET) +#endif #if defined(ETH_P_DSA) || (defined(HAVE_DECL_ETH_P_DSA) && HAVE_DECL_ETH_P_DSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DSA) == (0x001B), "ETH_P_DSA != 0x001B"); @@ -143,6 +350,16 @@ #else # define ETH_P_DSA 0x001B #endif +#if defined(ETH_P_DSA) || (defined(HAVE_DECL_ETH_P_DSA) && HAVE_DECL_ETH_P_DSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DSA) +#endif #if defined(ETH_P_TRAILER) || (defined(HAVE_DECL_ETH_P_TRAILER) && HAVE_DECL_ETH_P_TRAILER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TRAILER) == (0x001C), "ETH_P_TRAILER != 0x001C"); @@ -150,6 +367,16 @@ #else # define ETH_P_TRAILER 0x001C #endif +#if defined(ETH_P_TRAILER) || (defined(HAVE_DECL_ETH_P_TRAILER) && HAVE_DECL_ETH_P_TRAILER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TRAILER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TRAILER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TRAILER) +#endif #if defined(ETH_P_LOOP) || (defined(HAVE_DECL_ETH_P_LOOP) && HAVE_DECL_ETH_P_LOOP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LOOP) == (0x0060), "ETH_P_LOOP != 0x0060"); @@ -157,6 +384,16 @@ #else # define ETH_P_LOOP 0x0060 #endif +#if defined(ETH_P_LOOP) || (defined(HAVE_DECL_ETH_P_LOOP) && HAVE_DECL_ETH_P_LOOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LOOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LOOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LOOP) +#endif #if defined(ETH_P_PHONET) || (defined(HAVE_DECL_ETH_P_PHONET) && HAVE_DECL_ETH_P_PHONET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PHONET) == (0x00F5), "ETH_P_PHONET != 0x00F5"); @@ -164,6 +401,16 @@ #else # define ETH_P_PHONET 0x00F5 #endif +#if defined(ETH_P_PHONET) || (defined(HAVE_DECL_ETH_P_PHONET) && HAVE_DECL_ETH_P_PHONET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PHONET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PHONET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PHONET) +#endif #if defined(ETH_P_IEEE802154) || (defined(HAVE_DECL_ETH_P_IEEE802154) && HAVE_DECL_ETH_P_IEEE802154) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IEEE802154) == (0x00F6), "ETH_P_IEEE802154 != 0x00F6"); @@ -171,6 +418,16 @@ #else # define ETH_P_IEEE802154 0x00F6 #endif +#if defined(ETH_P_IEEE802154) || (defined(HAVE_DECL_ETH_P_IEEE802154) && HAVE_DECL_ETH_P_IEEE802154) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IEEE802154) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IEEE802154" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IEEE802154) +#endif #if defined(ETH_P_CAIF) || (defined(HAVE_DECL_ETH_P_CAIF) && HAVE_DECL_ETH_P_CAIF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CAIF) == (0x00F7), "ETH_P_CAIF != 0x00F7"); @@ -178,6 +435,16 @@ #else # define ETH_P_CAIF 0x00F7 #endif +#if defined(ETH_P_CAIF) || (defined(HAVE_DECL_ETH_P_CAIF) && HAVE_DECL_ETH_P_CAIF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CAIF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CAIF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CAIF) +#endif #if defined(ETH_P_XDSA) || (defined(HAVE_DECL_ETH_P_XDSA) && HAVE_DECL_ETH_P_XDSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_XDSA) == (0x00F8), "ETH_P_XDSA != 0x00F8"); @@ -185,6 +452,16 @@ #else # define ETH_P_XDSA 0x00F8 #endif +#if defined(ETH_P_XDSA) || (defined(HAVE_DECL_ETH_P_XDSA) && HAVE_DECL_ETH_P_XDSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_XDSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_XDSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_XDSA) +#endif #if defined(ETH_P_MAP) || (defined(HAVE_DECL_ETH_P_MAP) && HAVE_DECL_ETH_P_MAP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MAP) == (0x00F9), "ETH_P_MAP != 0x00F9"); @@ -192,6 +469,33 @@ #else # define ETH_P_MAP 0x00F9 #endif +#if defined(ETH_P_MAP) || (defined(HAVE_DECL_ETH_P_MAP) && HAVE_DECL_ETH_P_MAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MAP) +#endif +#if defined(ETH_P_MCTP) || (defined(HAVE_DECL_ETH_P_MCTP) && HAVE_DECL_ETH_P_MCTP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ETH_P_MCTP) == (0x00FA), "ETH_P_MCTP != 0x00FA"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ETH_P_MCTP 0x00FA +#endif +#if defined(ETH_P_MCTP) || (defined(HAVE_DECL_ETH_P_MCTP) && HAVE_DECL_ETH_P_MCTP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MCTP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MCTP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MCTP) +#endif #if defined(ETH_P_PUP) || (defined(HAVE_DECL_ETH_P_PUP) && HAVE_DECL_ETH_P_PUP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PUP) == (0x0200), "ETH_P_PUP != 0x0200"); @@ -199,6 +503,16 @@ #else # define ETH_P_PUP 0x0200 #endif +#if defined(ETH_P_PUP) || (defined(HAVE_DECL_ETH_P_PUP) && HAVE_DECL_ETH_P_PUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PUP) +#endif #if defined(ETH_P_PUPAT) || (defined(HAVE_DECL_ETH_P_PUPAT) && HAVE_DECL_ETH_P_PUPAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PUPAT) == (0x0201), "ETH_P_PUPAT != 0x0201"); @@ -206,6 +520,16 @@ #else # define ETH_P_PUPAT 0x0201 #endif +#if defined(ETH_P_PUPAT) || (defined(HAVE_DECL_ETH_P_PUPAT) && HAVE_DECL_ETH_P_PUPAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PUPAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PUPAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PUPAT) +#endif #if defined(ETH_P_802_3_MIN) || (defined(HAVE_DECL_ETH_P_802_3_MIN) && HAVE_DECL_ETH_P_802_3_MIN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_802_3_MIN) == (0x0600), "ETH_P_802_3_MIN != 0x0600"); @@ -213,6 +537,16 @@ #else # define ETH_P_802_3_MIN 0x0600 #endif +#if defined(ETH_P_802_3_MIN) || (defined(HAVE_DECL_ETH_P_802_3_MIN) && HAVE_DECL_ETH_P_802_3_MIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_802_3_MIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_802_3_MIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_802_3_MIN) +#endif #if defined(ETH_P_IP) || (defined(HAVE_DECL_ETH_P_IP) && HAVE_DECL_ETH_P_IP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IP) == (0x0800), "ETH_P_IP != 0x0800"); @@ -220,6 +554,16 @@ #else # define ETH_P_IP 0x0800 #endif +#if defined(ETH_P_IP) || (defined(HAVE_DECL_ETH_P_IP) && HAVE_DECL_ETH_P_IP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IP) +#endif #if defined(ETH_P_X25) || (defined(HAVE_DECL_ETH_P_X25) && HAVE_DECL_ETH_P_X25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_X25) == (0x0805), "ETH_P_X25 != 0x0805"); @@ -227,6 +571,16 @@ #else # define ETH_P_X25 0x0805 #endif +#if defined(ETH_P_X25) || (defined(HAVE_DECL_ETH_P_X25) && HAVE_DECL_ETH_P_X25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_X25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_X25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_X25) +#endif #if defined(ETH_P_ARP) || (defined(HAVE_DECL_ETH_P_ARP) && HAVE_DECL_ETH_P_ARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ARP) == (0x0806), "ETH_P_ARP != 0x0806"); @@ -234,6 +588,16 @@ #else # define ETH_P_ARP 0x0806 #endif +#if defined(ETH_P_ARP) || (defined(HAVE_DECL_ETH_P_ARP) && HAVE_DECL_ETH_P_ARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ARP) +#endif #if defined(ETH_P_BPQ) || (defined(HAVE_DECL_ETH_P_BPQ) && HAVE_DECL_ETH_P_BPQ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_BPQ) == (0x08FF), "ETH_P_BPQ != 0x08FF"); @@ -241,6 +605,16 @@ #else # define ETH_P_BPQ 0x08FF #endif +#if defined(ETH_P_BPQ) || (defined(HAVE_DECL_ETH_P_BPQ) && HAVE_DECL_ETH_P_BPQ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_BPQ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_BPQ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_BPQ) +#endif #if defined(ETH_P_IEEEPUP) || (defined(HAVE_DECL_ETH_P_IEEEPUP) && HAVE_DECL_ETH_P_IEEEPUP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IEEEPUP) == (0x0a00), "ETH_P_IEEEPUP != 0x0a00"); @@ -248,6 +622,16 @@ #else # define ETH_P_IEEEPUP 0x0a00 #endif +#if defined(ETH_P_IEEEPUP) || (defined(HAVE_DECL_ETH_P_IEEEPUP) && HAVE_DECL_ETH_P_IEEEPUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IEEEPUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IEEEPUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IEEEPUP) +#endif #if defined(ETH_P_IEEEPUPAT) || (defined(HAVE_DECL_ETH_P_IEEEPUPAT) && HAVE_DECL_ETH_P_IEEEPUPAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IEEEPUPAT) == (0x0a01), "ETH_P_IEEEPUPAT != 0x0a01"); @@ -255,6 +639,16 @@ #else # define ETH_P_IEEEPUPAT 0x0a01 #endif +#if defined(ETH_P_IEEEPUPAT) || (defined(HAVE_DECL_ETH_P_IEEEPUPAT) && HAVE_DECL_ETH_P_IEEEPUPAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IEEEPUPAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IEEEPUPAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IEEEPUPAT) +#endif #if defined(ETH_P_ERSPAN2) || (defined(HAVE_DECL_ETH_P_ERSPAN2) && HAVE_DECL_ETH_P_ERSPAN2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ERSPAN2) == (0x22EB), "ETH_P_ERSPAN2 != 0x22EB"); @@ -262,6 +656,16 @@ #else # define ETH_P_ERSPAN2 0x22EB #endif +#if defined(ETH_P_ERSPAN2) || (defined(HAVE_DECL_ETH_P_ERSPAN2) && HAVE_DECL_ETH_P_ERSPAN2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ERSPAN2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ERSPAN2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ERSPAN2) +#endif #if defined(ETH_P_TSN) || (defined(HAVE_DECL_ETH_P_TSN) && HAVE_DECL_ETH_P_TSN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TSN) == (0x22F0), "ETH_P_TSN != 0x22F0"); @@ -269,6 +673,16 @@ #else # define ETH_P_TSN 0x22F0 #endif +#if defined(ETH_P_TSN) || (defined(HAVE_DECL_ETH_P_TSN) && HAVE_DECL_ETH_P_TSN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TSN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TSN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TSN) +#endif #if defined(ETH_P_BATMAN) || (defined(HAVE_DECL_ETH_P_BATMAN) && HAVE_DECL_ETH_P_BATMAN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_BATMAN) == (0x4305), "ETH_P_BATMAN != 0x4305"); @@ -276,6 +690,16 @@ #else # define ETH_P_BATMAN 0x4305 #endif +#if defined(ETH_P_BATMAN) || (defined(HAVE_DECL_ETH_P_BATMAN) && HAVE_DECL_ETH_P_BATMAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_BATMAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_BATMAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_BATMAN) +#endif #if defined(ETH_P_DEC) || (defined(HAVE_DECL_ETH_P_DEC) && HAVE_DECL_ETH_P_DEC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DEC) == (0x6000), "ETH_P_DEC != 0x6000"); @@ -283,6 +707,16 @@ #else # define ETH_P_DEC 0x6000 #endif +#if defined(ETH_P_DEC) || (defined(HAVE_DECL_ETH_P_DEC) && HAVE_DECL_ETH_P_DEC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DEC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DEC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DEC) +#endif #if defined(ETH_P_DNA_DL) || (defined(HAVE_DECL_ETH_P_DNA_DL) && HAVE_DECL_ETH_P_DNA_DL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DNA_DL) == (0x6001), "ETH_P_DNA_DL != 0x6001"); @@ -290,6 +724,16 @@ #else # define ETH_P_DNA_DL 0x6001 #endif +#if defined(ETH_P_DNA_DL) || (defined(HAVE_DECL_ETH_P_DNA_DL) && HAVE_DECL_ETH_P_DNA_DL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DNA_DL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DNA_DL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DNA_DL) +#endif #if defined(ETH_P_DNA_RC) || (defined(HAVE_DECL_ETH_P_DNA_RC) && HAVE_DECL_ETH_P_DNA_RC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DNA_RC) == (0x6002), "ETH_P_DNA_RC != 0x6002"); @@ -297,6 +741,16 @@ #else # define ETH_P_DNA_RC 0x6002 #endif +#if defined(ETH_P_DNA_RC) || (defined(HAVE_DECL_ETH_P_DNA_RC) && HAVE_DECL_ETH_P_DNA_RC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DNA_RC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DNA_RC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DNA_RC) +#endif #if defined(ETH_P_DNA_RT) || (defined(HAVE_DECL_ETH_P_DNA_RT) && HAVE_DECL_ETH_P_DNA_RT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DNA_RT) == (0x6003), "ETH_P_DNA_RT != 0x6003"); @@ -304,6 +758,16 @@ #else # define ETH_P_DNA_RT 0x6003 #endif +#if defined(ETH_P_DNA_RT) || (defined(HAVE_DECL_ETH_P_DNA_RT) && HAVE_DECL_ETH_P_DNA_RT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DNA_RT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DNA_RT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DNA_RT) +#endif #if defined(ETH_P_LAT) || (defined(HAVE_DECL_ETH_P_LAT) && HAVE_DECL_ETH_P_LAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LAT) == (0x6004), "ETH_P_LAT != 0x6004"); @@ -311,6 +775,16 @@ #else # define ETH_P_LAT 0x6004 #endif +#if defined(ETH_P_LAT) || (defined(HAVE_DECL_ETH_P_LAT) && HAVE_DECL_ETH_P_LAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LAT) +#endif #if defined(ETH_P_DIAG) || (defined(HAVE_DECL_ETH_P_DIAG) && HAVE_DECL_ETH_P_DIAG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DIAG) == (0x6005), "ETH_P_DIAG != 0x6005"); @@ -318,6 +792,16 @@ #else # define ETH_P_DIAG 0x6005 #endif +#if defined(ETH_P_DIAG) || (defined(HAVE_DECL_ETH_P_DIAG) && HAVE_DECL_ETH_P_DIAG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DIAG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DIAG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DIAG) +#endif #if defined(ETH_P_CUST) || (defined(HAVE_DECL_ETH_P_CUST) && HAVE_DECL_ETH_P_CUST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CUST) == (0x6006), "ETH_P_CUST != 0x6006"); @@ -325,6 +809,16 @@ #else # define ETH_P_CUST 0x6006 #endif +#if defined(ETH_P_CUST) || (defined(HAVE_DECL_ETH_P_CUST) && HAVE_DECL_ETH_P_CUST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CUST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CUST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CUST) +#endif #if defined(ETH_P_SCA) || (defined(HAVE_DECL_ETH_P_SCA) && HAVE_DECL_ETH_P_SCA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_SCA) == (0x6007), "ETH_P_SCA != 0x6007"); @@ -332,6 +826,16 @@ #else # define ETH_P_SCA 0x6007 #endif +#if defined(ETH_P_SCA) || (defined(HAVE_DECL_ETH_P_SCA) && HAVE_DECL_ETH_P_SCA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_SCA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_SCA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_SCA) +#endif #if defined(ETH_P_TEB) || (defined(HAVE_DECL_ETH_P_TEB) && HAVE_DECL_ETH_P_TEB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TEB) == (0x6558), "ETH_P_TEB != 0x6558"); @@ -339,6 +843,16 @@ #else # define ETH_P_TEB 0x6558 #endif +#if defined(ETH_P_TEB) || (defined(HAVE_DECL_ETH_P_TEB) && HAVE_DECL_ETH_P_TEB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TEB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TEB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TEB) +#endif #if defined(ETH_P_RARP) || (defined(HAVE_DECL_ETH_P_RARP) && HAVE_DECL_ETH_P_RARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_RARP) == (0x8035), "ETH_P_RARP != 0x8035"); @@ -346,6 +860,16 @@ #else # define ETH_P_RARP 0x8035 #endif +#if defined(ETH_P_RARP) || (defined(HAVE_DECL_ETH_P_RARP) && HAVE_DECL_ETH_P_RARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_RARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_RARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_RARP) +#endif #if defined(ETH_P_ATALK) || (defined(HAVE_DECL_ETH_P_ATALK) && HAVE_DECL_ETH_P_ATALK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ATALK) == (0x809B), "ETH_P_ATALK != 0x809B"); @@ -353,6 +877,16 @@ #else # define ETH_P_ATALK 0x809B #endif +#if defined(ETH_P_ATALK) || (defined(HAVE_DECL_ETH_P_ATALK) && HAVE_DECL_ETH_P_ATALK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ATALK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ATALK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ATALK) +#endif #if defined(ETH_P_AARP) || (defined(HAVE_DECL_ETH_P_AARP) && HAVE_DECL_ETH_P_AARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_AARP) == (0x80F3), "ETH_P_AARP != 0x80F3"); @@ -360,6 +894,16 @@ #else # define ETH_P_AARP 0x80F3 #endif +#if defined(ETH_P_AARP) || (defined(HAVE_DECL_ETH_P_AARP) && HAVE_DECL_ETH_P_AARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_AARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_AARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_AARP) +#endif #if defined(ETH_P_8021Q) || (defined(HAVE_DECL_ETH_P_8021Q) && HAVE_DECL_ETH_P_8021Q) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_8021Q) == (0x8100), "ETH_P_8021Q != 0x8100"); @@ -367,6 +911,16 @@ #else # define ETH_P_8021Q 0x8100 #endif +#if defined(ETH_P_8021Q) || (defined(HAVE_DECL_ETH_P_8021Q) && HAVE_DECL_ETH_P_8021Q) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_8021Q) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_8021Q" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_8021Q) +#endif #if defined(ETH_P_IPX) || (defined(HAVE_DECL_ETH_P_IPX) && HAVE_DECL_ETH_P_IPX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IPX) == (0x8137), "ETH_P_IPX != 0x8137"); @@ -374,6 +928,16 @@ #else # define ETH_P_IPX 0x8137 #endif +#if defined(ETH_P_IPX) || (defined(HAVE_DECL_ETH_P_IPX) && HAVE_DECL_ETH_P_IPX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IPX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IPX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IPX) +#endif #if defined(ETH_P_IPV6) || (defined(HAVE_DECL_ETH_P_IPV6) && HAVE_DECL_ETH_P_IPV6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IPV6) == (0x86DD), "ETH_P_IPV6 != 0x86DD"); @@ -381,6 +945,16 @@ #else # define ETH_P_IPV6 0x86DD #endif +#if defined(ETH_P_IPV6) || (defined(HAVE_DECL_ETH_P_IPV6) && HAVE_DECL_ETH_P_IPV6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IPV6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IPV6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IPV6) +#endif #if defined(ETH_P_PAUSE) || (defined(HAVE_DECL_ETH_P_PAUSE) && HAVE_DECL_ETH_P_PAUSE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PAUSE) == (0x8808), "ETH_P_PAUSE != 0x8808"); @@ -388,6 +962,16 @@ #else # define ETH_P_PAUSE 0x8808 #endif +#if defined(ETH_P_PAUSE) || (defined(HAVE_DECL_ETH_P_PAUSE) && HAVE_DECL_ETH_P_PAUSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PAUSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PAUSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PAUSE) +#endif #if defined(ETH_P_SLOW) || (defined(HAVE_DECL_ETH_P_SLOW) && HAVE_DECL_ETH_P_SLOW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_SLOW) == (0x8809), "ETH_P_SLOW != 0x8809"); @@ -395,6 +979,16 @@ #else # define ETH_P_SLOW 0x8809 #endif +#if defined(ETH_P_SLOW) || (defined(HAVE_DECL_ETH_P_SLOW) && HAVE_DECL_ETH_P_SLOW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_SLOW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_SLOW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_SLOW) +#endif #if defined(ETH_P_WCCP) || (defined(HAVE_DECL_ETH_P_WCCP) && HAVE_DECL_ETH_P_WCCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_WCCP) == (0x883E), "ETH_P_WCCP != 0x883E"); @@ -402,6 +996,16 @@ #else # define ETH_P_WCCP 0x883E #endif +#if defined(ETH_P_WCCP) || (defined(HAVE_DECL_ETH_P_WCCP) && HAVE_DECL_ETH_P_WCCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_WCCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_WCCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_WCCP) +#endif #if defined(ETH_P_MPLS_UC) || (defined(HAVE_DECL_ETH_P_MPLS_UC) && HAVE_DECL_ETH_P_MPLS_UC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MPLS_UC) == (0x8847), "ETH_P_MPLS_UC != 0x8847"); @@ -409,6 +1013,16 @@ #else # define ETH_P_MPLS_UC 0x8847 #endif +#if defined(ETH_P_MPLS_UC) || (defined(HAVE_DECL_ETH_P_MPLS_UC) && HAVE_DECL_ETH_P_MPLS_UC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MPLS_UC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MPLS_UC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MPLS_UC) +#endif #if defined(ETH_P_MPLS_MC) || (defined(HAVE_DECL_ETH_P_MPLS_MC) && HAVE_DECL_ETH_P_MPLS_MC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MPLS_MC) == (0x8848), "ETH_P_MPLS_MC != 0x8848"); @@ -416,6 +1030,16 @@ #else # define ETH_P_MPLS_MC 0x8848 #endif +#if defined(ETH_P_MPLS_MC) || (defined(HAVE_DECL_ETH_P_MPLS_MC) && HAVE_DECL_ETH_P_MPLS_MC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MPLS_MC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MPLS_MC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MPLS_MC) +#endif #if defined(ETH_P_ATMMPOA) || (defined(HAVE_DECL_ETH_P_ATMMPOA) && HAVE_DECL_ETH_P_ATMMPOA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ATMMPOA) == (0x884c), "ETH_P_ATMMPOA != 0x884c"); @@ -423,6 +1047,16 @@ #else # define ETH_P_ATMMPOA 0x884c #endif +#if defined(ETH_P_ATMMPOA) || (defined(HAVE_DECL_ETH_P_ATMMPOA) && HAVE_DECL_ETH_P_ATMMPOA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ATMMPOA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ATMMPOA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ATMMPOA) +#endif #if defined(ETH_P_PPP_DISC) || (defined(HAVE_DECL_ETH_P_PPP_DISC) && HAVE_DECL_ETH_P_PPP_DISC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PPP_DISC) == (0x8863), "ETH_P_PPP_DISC != 0x8863"); @@ -430,6 +1064,16 @@ #else # define ETH_P_PPP_DISC 0x8863 #endif +#if defined(ETH_P_PPP_DISC) || (defined(HAVE_DECL_ETH_P_PPP_DISC) && HAVE_DECL_ETH_P_PPP_DISC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PPP_DISC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PPP_DISC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PPP_DISC) +#endif #if defined(ETH_P_PPP_SES) || (defined(HAVE_DECL_ETH_P_PPP_SES) && HAVE_DECL_ETH_P_PPP_SES) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PPP_SES) == (0x8864), "ETH_P_PPP_SES != 0x8864"); @@ -437,6 +1081,16 @@ #else # define ETH_P_PPP_SES 0x8864 #endif +#if defined(ETH_P_PPP_SES) || (defined(HAVE_DECL_ETH_P_PPP_SES) && HAVE_DECL_ETH_P_PPP_SES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PPP_SES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PPP_SES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PPP_SES) +#endif #if defined(ETH_P_LINK_CTL) || (defined(HAVE_DECL_ETH_P_LINK_CTL) && HAVE_DECL_ETH_P_LINK_CTL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LINK_CTL) == (0x886c), "ETH_P_LINK_CTL != 0x886c"); @@ -444,6 +1098,16 @@ #else # define ETH_P_LINK_CTL 0x886c #endif +#if defined(ETH_P_LINK_CTL) || (defined(HAVE_DECL_ETH_P_LINK_CTL) && HAVE_DECL_ETH_P_LINK_CTL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LINK_CTL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LINK_CTL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LINK_CTL) +#endif #if defined(ETH_P_ATMFATE) || (defined(HAVE_DECL_ETH_P_ATMFATE) && HAVE_DECL_ETH_P_ATMFATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ATMFATE) == (0x8884), "ETH_P_ATMFATE != 0x8884"); @@ -451,6 +1115,16 @@ #else # define ETH_P_ATMFATE 0x8884 #endif +#if defined(ETH_P_ATMFATE) || (defined(HAVE_DECL_ETH_P_ATMFATE) && HAVE_DECL_ETH_P_ATMFATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ATMFATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ATMFATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ATMFATE) +#endif #if defined(ETH_P_PAE) || (defined(HAVE_DECL_ETH_P_PAE) && HAVE_DECL_ETH_P_PAE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PAE) == (0x888E), "ETH_P_PAE != 0x888E"); @@ -458,6 +1132,33 @@ #else # define ETH_P_PAE 0x888E #endif +#if defined(ETH_P_PAE) || (defined(HAVE_DECL_ETH_P_PAE) && HAVE_DECL_ETH_P_PAE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PAE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PAE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PAE) +#endif +#if defined(ETH_P_REALTEK) || (defined(HAVE_DECL_ETH_P_REALTEK) && HAVE_DECL_ETH_P_REALTEK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ETH_P_REALTEK) == (0x8899), "ETH_P_REALTEK != 0x8899"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ETH_P_REALTEK 0x8899 +#endif +#if defined(ETH_P_REALTEK) || (defined(HAVE_DECL_ETH_P_REALTEK) && HAVE_DECL_ETH_P_REALTEK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_REALTEK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_REALTEK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_REALTEK) +#endif #if defined(ETH_P_AOE) || (defined(HAVE_DECL_ETH_P_AOE) && HAVE_DECL_ETH_P_AOE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_AOE) == (0x88A2), "ETH_P_AOE != 0x88A2"); @@ -465,6 +1166,16 @@ #else # define ETH_P_AOE 0x88A2 #endif +#if defined(ETH_P_AOE) || (defined(HAVE_DECL_ETH_P_AOE) && HAVE_DECL_ETH_P_AOE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_AOE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_AOE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_AOE) +#endif #if defined(ETH_P_8021AD) || (defined(HAVE_DECL_ETH_P_8021AD) && HAVE_DECL_ETH_P_8021AD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_8021AD) == (0x88A8), "ETH_P_8021AD != 0x88A8"); @@ -472,6 +1183,16 @@ #else # define ETH_P_8021AD 0x88A8 #endif +#if defined(ETH_P_8021AD) || (defined(HAVE_DECL_ETH_P_8021AD) && HAVE_DECL_ETH_P_8021AD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_8021AD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_8021AD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_8021AD) +#endif #if defined(ETH_P_802_EX1) || (defined(HAVE_DECL_ETH_P_802_EX1) && HAVE_DECL_ETH_P_802_EX1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_802_EX1) == (0x88B5), "ETH_P_802_EX1 != 0x88B5"); @@ -479,6 +1200,16 @@ #else # define ETH_P_802_EX1 0x88B5 #endif +#if defined(ETH_P_802_EX1) || (defined(HAVE_DECL_ETH_P_802_EX1) && HAVE_DECL_ETH_P_802_EX1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_802_EX1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_802_EX1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_802_EX1) +#endif #if defined(ETH_P_ERSPAN) || (defined(HAVE_DECL_ETH_P_ERSPAN) && HAVE_DECL_ETH_P_ERSPAN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_ERSPAN) == (0x88BE), "ETH_P_ERSPAN != 0x88BE"); @@ -486,6 +1217,16 @@ #else # define ETH_P_ERSPAN 0x88BE #endif +#if defined(ETH_P_ERSPAN) || (defined(HAVE_DECL_ETH_P_ERSPAN) && HAVE_DECL_ETH_P_ERSPAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_ERSPAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_ERSPAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_ERSPAN) +#endif #if defined(ETH_P_PREAUTH) || (defined(HAVE_DECL_ETH_P_PREAUTH) && HAVE_DECL_ETH_P_PREAUTH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PREAUTH) == (0x88C7), "ETH_P_PREAUTH != 0x88C7"); @@ -493,6 +1234,16 @@ #else # define ETH_P_PREAUTH 0x88C7 #endif +#if defined(ETH_P_PREAUTH) || (defined(HAVE_DECL_ETH_P_PREAUTH) && HAVE_DECL_ETH_P_PREAUTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PREAUTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PREAUTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PREAUTH) +#endif #if defined(ETH_P_TIPC) || (defined(HAVE_DECL_ETH_P_TIPC) && HAVE_DECL_ETH_P_TIPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TIPC) == (0x88CA), "ETH_P_TIPC != 0x88CA"); @@ -500,6 +1251,16 @@ #else # define ETH_P_TIPC 0x88CA #endif +#if defined(ETH_P_TIPC) || (defined(HAVE_DECL_ETH_P_TIPC) && HAVE_DECL_ETH_P_TIPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TIPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TIPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TIPC) +#endif #if defined(ETH_P_LLDP) || (defined(HAVE_DECL_ETH_P_LLDP) && HAVE_DECL_ETH_P_LLDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LLDP) == (0x88CC), "ETH_P_LLDP != 0x88CC"); @@ -507,6 +1268,16 @@ #else # define ETH_P_LLDP 0x88CC #endif +#if defined(ETH_P_LLDP) || (defined(HAVE_DECL_ETH_P_LLDP) && HAVE_DECL_ETH_P_LLDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LLDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LLDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LLDP) +#endif #if defined(ETH_P_MRP) || (defined(HAVE_DECL_ETH_P_MRP) && HAVE_DECL_ETH_P_MRP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MRP) == (0x88E3), "ETH_P_MRP != 0x88E3"); @@ -514,6 +1285,16 @@ #else # define ETH_P_MRP 0x88E3 #endif +#if defined(ETH_P_MRP) || (defined(HAVE_DECL_ETH_P_MRP) && HAVE_DECL_ETH_P_MRP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MRP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MRP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MRP) +#endif #if defined(ETH_P_MACSEC) || (defined(HAVE_DECL_ETH_P_MACSEC) && HAVE_DECL_ETH_P_MACSEC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MACSEC) == (0x88E5), "ETH_P_MACSEC != 0x88E5"); @@ -521,6 +1302,16 @@ #else # define ETH_P_MACSEC 0x88E5 #endif +#if defined(ETH_P_MACSEC) || (defined(HAVE_DECL_ETH_P_MACSEC) && HAVE_DECL_ETH_P_MACSEC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MACSEC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MACSEC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MACSEC) +#endif #if defined(ETH_P_8021AH) || (defined(HAVE_DECL_ETH_P_8021AH) && HAVE_DECL_ETH_P_8021AH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_8021AH) == (0x88E7), "ETH_P_8021AH != 0x88E7"); @@ -528,6 +1319,16 @@ #else # define ETH_P_8021AH 0x88E7 #endif +#if defined(ETH_P_8021AH) || (defined(HAVE_DECL_ETH_P_8021AH) && HAVE_DECL_ETH_P_8021AH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_8021AH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_8021AH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_8021AH) +#endif #if defined(ETH_P_MVRP) || (defined(HAVE_DECL_ETH_P_MVRP) && HAVE_DECL_ETH_P_MVRP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_MVRP) == (0x88F5), "ETH_P_MVRP != 0x88F5"); @@ -535,6 +1336,16 @@ #else # define ETH_P_MVRP 0x88F5 #endif +#if defined(ETH_P_MVRP) || (defined(HAVE_DECL_ETH_P_MVRP) && HAVE_DECL_ETH_P_MVRP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_MVRP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_MVRP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_MVRP) +#endif #if defined(ETH_P_1588) || (defined(HAVE_DECL_ETH_P_1588) && HAVE_DECL_ETH_P_1588) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_1588) == (0x88F7), "ETH_P_1588 != 0x88F7"); @@ -542,6 +1353,16 @@ #else # define ETH_P_1588 0x88F7 #endif +#if defined(ETH_P_1588) || (defined(HAVE_DECL_ETH_P_1588) && HAVE_DECL_ETH_P_1588) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_1588) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_1588" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_1588) +#endif #if defined(ETH_P_NCSI) || (defined(HAVE_DECL_ETH_P_NCSI) && HAVE_DECL_ETH_P_NCSI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_NCSI) == (0x88F8), "ETH_P_NCSI != 0x88F8"); @@ -549,6 +1370,16 @@ #else # define ETH_P_NCSI 0x88F8 #endif +#if defined(ETH_P_NCSI) || (defined(HAVE_DECL_ETH_P_NCSI) && HAVE_DECL_ETH_P_NCSI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_NCSI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_NCSI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_NCSI) +#endif #if defined(ETH_P_PRP) || (defined(HAVE_DECL_ETH_P_PRP) && HAVE_DECL_ETH_P_PRP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_PRP) == (0x88FB), "ETH_P_PRP != 0x88FB"); @@ -556,6 +1387,16 @@ #else # define ETH_P_PRP 0x88FB #endif +#if defined(ETH_P_PRP) || (defined(HAVE_DECL_ETH_P_PRP) && HAVE_DECL_ETH_P_PRP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_PRP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_PRP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_PRP) +#endif #if defined(ETH_P_CFM) || (defined(HAVE_DECL_ETH_P_CFM) && HAVE_DECL_ETH_P_CFM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_CFM) == (0x8902), "ETH_P_CFM != 0x8902"); @@ -563,6 +1404,16 @@ #else # define ETH_P_CFM 0x8902 #endif +#if defined(ETH_P_CFM) || (defined(HAVE_DECL_ETH_P_CFM) && HAVE_DECL_ETH_P_CFM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_CFM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_CFM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_CFM) +#endif #if defined(ETH_P_FCOE) || (defined(HAVE_DECL_ETH_P_FCOE) && HAVE_DECL_ETH_P_FCOE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_FCOE) == (0x8906), "ETH_P_FCOE != 0x8906"); @@ -570,6 +1421,16 @@ #else # define ETH_P_FCOE 0x8906 #endif +#if defined(ETH_P_FCOE) || (defined(HAVE_DECL_ETH_P_FCOE) && HAVE_DECL_ETH_P_FCOE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_FCOE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_FCOE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_FCOE) +#endif #if defined(ETH_P_TDLS) || (defined(HAVE_DECL_ETH_P_TDLS) && HAVE_DECL_ETH_P_TDLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_TDLS) == (0x890D), "ETH_P_TDLS != 0x890D"); @@ -577,6 +1438,16 @@ #else # define ETH_P_TDLS 0x890D #endif +#if defined(ETH_P_TDLS) || (defined(HAVE_DECL_ETH_P_TDLS) && HAVE_DECL_ETH_P_TDLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_TDLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_TDLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_TDLS) +#endif #if defined(ETH_P_FIP) || (defined(HAVE_DECL_ETH_P_FIP) && HAVE_DECL_ETH_P_FIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_FIP) == (0x8914), "ETH_P_FIP != 0x8914"); @@ -584,6 +1455,16 @@ #else # define ETH_P_FIP 0x8914 #endif +#if defined(ETH_P_FIP) || (defined(HAVE_DECL_ETH_P_FIP) && HAVE_DECL_ETH_P_FIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_FIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_FIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_FIP) +#endif #if defined(ETH_P_IBOE) || (defined(HAVE_DECL_ETH_P_IBOE) && HAVE_DECL_ETH_P_IBOE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IBOE) == (0x8915), "ETH_P_IBOE != 0x8915"); @@ -591,6 +1472,16 @@ #else # define ETH_P_IBOE 0x8915 #endif +#if defined(ETH_P_IBOE) || (defined(HAVE_DECL_ETH_P_IBOE) && HAVE_DECL_ETH_P_IBOE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IBOE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IBOE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IBOE) +#endif #if defined(ETH_P_80221) || (defined(HAVE_DECL_ETH_P_80221) && HAVE_DECL_ETH_P_80221) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_80221) == (0x8917), "ETH_P_80221 != 0x8917"); @@ -598,6 +1489,16 @@ #else # define ETH_P_80221 0x8917 #endif +#if defined(ETH_P_80221) || (defined(HAVE_DECL_ETH_P_80221) && HAVE_DECL_ETH_P_80221) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_80221) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_80221" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_80221) +#endif #if defined(ETH_P_HSR) || (defined(HAVE_DECL_ETH_P_HSR) && HAVE_DECL_ETH_P_HSR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_HSR) == (0x892F), "ETH_P_HSR != 0x892F"); @@ -605,6 +1506,16 @@ #else # define ETH_P_HSR 0x892F #endif +#if defined(ETH_P_HSR) || (defined(HAVE_DECL_ETH_P_HSR) && HAVE_DECL_ETH_P_HSR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_HSR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_HSR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_HSR) +#endif #if defined(ETH_P_NSH) || (defined(HAVE_DECL_ETH_P_NSH) && HAVE_DECL_ETH_P_NSH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_NSH) == (0x894F), "ETH_P_NSH != 0x894F"); @@ -612,6 +1523,16 @@ #else # define ETH_P_NSH 0x894F #endif +#if defined(ETH_P_NSH) || (defined(HAVE_DECL_ETH_P_NSH) && HAVE_DECL_ETH_P_NSH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_NSH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_NSH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_NSH) +#endif #if defined(ETH_P_LOOPBACK) || (defined(HAVE_DECL_ETH_P_LOOPBACK) && HAVE_DECL_ETH_P_LOOPBACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_LOOPBACK) == (0x9000), "ETH_P_LOOPBACK != 0x9000"); @@ -619,6 +1540,16 @@ #else # define ETH_P_LOOPBACK 0x9000 #endif +#if defined(ETH_P_LOOPBACK) || (defined(HAVE_DECL_ETH_P_LOOPBACK) && HAVE_DECL_ETH_P_LOOPBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_LOOPBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_LOOPBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_LOOPBACK) +#endif #if defined(ETH_P_QINQ1) || (defined(HAVE_DECL_ETH_P_QINQ1) && HAVE_DECL_ETH_P_QINQ1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_QINQ1) == (0x9100), "ETH_P_QINQ1 != 0x9100"); @@ -626,6 +1557,16 @@ #else # define ETH_P_QINQ1 0x9100 #endif +#if defined(ETH_P_QINQ1) || (defined(HAVE_DECL_ETH_P_QINQ1) && HAVE_DECL_ETH_P_QINQ1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_QINQ1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_QINQ1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_QINQ1) +#endif #if defined(ETH_P_QINQ2) || (defined(HAVE_DECL_ETH_P_QINQ2) && HAVE_DECL_ETH_P_QINQ2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_QINQ2) == (0x9200), "ETH_P_QINQ2 != 0x9200"); @@ -633,6 +1574,16 @@ #else # define ETH_P_QINQ2 0x9200 #endif +#if defined(ETH_P_QINQ2) || (defined(HAVE_DECL_ETH_P_QINQ2) && HAVE_DECL_ETH_P_QINQ2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_QINQ2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_QINQ2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_QINQ2) +#endif #if defined(ETH_P_QINQ3) || (defined(HAVE_DECL_ETH_P_QINQ3) && HAVE_DECL_ETH_P_QINQ3) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_QINQ3) == (0x9300), "ETH_P_QINQ3 != 0x9300"); @@ -640,6 +1591,16 @@ #else # define ETH_P_QINQ3 0x9300 #endif +#if defined(ETH_P_QINQ3) || (defined(HAVE_DECL_ETH_P_QINQ3) && HAVE_DECL_ETH_P_QINQ3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_QINQ3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_QINQ3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_QINQ3) +#endif #if defined(ETH_P_EDSA) || (defined(HAVE_DECL_ETH_P_EDSA) && HAVE_DECL_ETH_P_EDSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_EDSA) == (0xDADA), "ETH_P_EDSA != 0xDADA"); @@ -647,6 +1608,16 @@ #else # define ETH_P_EDSA 0xDADA #endif +#if defined(ETH_P_EDSA) || (defined(HAVE_DECL_ETH_P_EDSA) && HAVE_DECL_ETH_P_EDSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_EDSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_EDSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_EDSA) +#endif #if defined(ETH_P_DSA_8021Q) || (defined(HAVE_DECL_ETH_P_DSA_8021Q) && HAVE_DECL_ETH_P_DSA_8021Q) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_DSA_8021Q) == (0xDADB), "ETH_P_DSA_8021Q != 0xDADB"); @@ -654,6 +1625,33 @@ #else # define ETH_P_DSA_8021Q 0xDADB #endif +#if defined(ETH_P_DSA_8021Q) || (defined(HAVE_DECL_ETH_P_DSA_8021Q) && HAVE_DECL_ETH_P_DSA_8021Q) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DSA_8021Q) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DSA_8021Q" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DSA_8021Q) +#endif +#if defined(ETH_P_DSA_A5PSW) || (defined(HAVE_DECL_ETH_P_DSA_A5PSW) && HAVE_DECL_ETH_P_DSA_A5PSW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ETH_P_DSA_A5PSW) == (0xE001), "ETH_P_DSA_A5PSW != 0xE001"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ETH_P_DSA_A5PSW 0xE001 +#endif +#if defined(ETH_P_DSA_A5PSW) || (defined(HAVE_DECL_ETH_P_DSA_A5PSW) && HAVE_DECL_ETH_P_DSA_A5PSW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_DSA_A5PSW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_DSA_A5PSW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_DSA_A5PSW) +#endif #if defined(ETH_P_IFE) || (defined(HAVE_DECL_ETH_P_IFE) && HAVE_DECL_ETH_P_IFE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_IFE) == (0xED3E), "ETH_P_IFE != 0xED3E"); @@ -661,6 +1659,16 @@ #else # define ETH_P_IFE 0xED3E #endif +#if defined(ETH_P_IFE) || (defined(HAVE_DECL_ETH_P_IFE) && HAVE_DECL_ETH_P_IFE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_IFE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_IFE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_IFE) +#endif #if defined(ETH_P_AF_IUCV) || (defined(HAVE_DECL_ETH_P_AF_IUCV) && HAVE_DECL_ETH_P_AF_IUCV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ETH_P_AF_IUCV) == (0xFBFB), "ETH_P_AF_IUCV != 0xFBFB"); @@ -668,6 +1676,17 @@ #else # define ETH_P_AF_IUCV 0xFBFB #endif +#if defined(ETH_P_AF_IUCV) || (defined(HAVE_DECL_ETH_P_AF_IUCV) && HAVE_DECL_ETH_P_AF_IUCV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ETH_P_AF_IUCV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ETH_P_AF_IUCV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ETH_P_AF_IUCV) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -708,258 +1727,270 @@ XLAT(ETH_P_CANFD), #define XLAT_VAL_10 ((unsigned) (ETH_P_CANFD)) #define XLAT_STR_10 STRINGIFY(ETH_P_CANFD) + XLAT(ETH_P_CANXL), + #define XLAT_VAL_11 ((unsigned) (ETH_P_CANXL)) + #define XLAT_STR_11 STRINGIFY(ETH_P_CANXL) XLAT(ETH_P_PPPTALK), - #define XLAT_VAL_11 ((unsigned) (ETH_P_PPPTALK)) - #define XLAT_STR_11 STRINGIFY(ETH_P_PPPTALK) + #define XLAT_VAL_12 ((unsigned) (ETH_P_PPPTALK)) + #define XLAT_STR_12 STRINGIFY(ETH_P_PPPTALK) XLAT(ETH_P_TR_802_2), - #define XLAT_VAL_12 ((unsigned) (ETH_P_TR_802_2)) - #define XLAT_STR_12 STRINGIFY(ETH_P_TR_802_2) + #define XLAT_VAL_13 ((unsigned) (ETH_P_TR_802_2)) + #define XLAT_STR_13 STRINGIFY(ETH_P_TR_802_2) XLAT(ETH_P_MOBITEX), - #define XLAT_VAL_13 ((unsigned) (ETH_P_MOBITEX)) - #define XLAT_STR_13 STRINGIFY(ETH_P_MOBITEX) + #define XLAT_VAL_14 ((unsigned) (ETH_P_MOBITEX)) + #define XLAT_STR_14 STRINGIFY(ETH_P_MOBITEX) XLAT(ETH_P_CONTROL), - #define XLAT_VAL_14 ((unsigned) (ETH_P_CONTROL)) - #define XLAT_STR_14 STRINGIFY(ETH_P_CONTROL) + #define XLAT_VAL_15 ((unsigned) (ETH_P_CONTROL)) + #define XLAT_STR_15 STRINGIFY(ETH_P_CONTROL) XLAT(ETH_P_IRDA), - #define XLAT_VAL_15 ((unsigned) (ETH_P_IRDA)) - #define XLAT_STR_15 STRINGIFY(ETH_P_IRDA) + #define XLAT_VAL_16 ((unsigned) (ETH_P_IRDA)) + #define XLAT_STR_16 STRINGIFY(ETH_P_IRDA) XLAT(ETH_P_ECONET), - #define XLAT_VAL_16 ((unsigned) (ETH_P_ECONET)) - #define XLAT_STR_16 STRINGIFY(ETH_P_ECONET) + #define XLAT_VAL_17 ((unsigned) (ETH_P_ECONET)) + #define XLAT_STR_17 STRINGIFY(ETH_P_ECONET) XLAT(ETH_P_HDLC), - #define XLAT_VAL_17 ((unsigned) (ETH_P_HDLC)) - #define XLAT_STR_17 STRINGIFY(ETH_P_HDLC) + #define XLAT_VAL_18 ((unsigned) (ETH_P_HDLC)) + #define XLAT_STR_18 STRINGIFY(ETH_P_HDLC) XLAT(ETH_P_ARCNET), - #define XLAT_VAL_18 ((unsigned) (ETH_P_ARCNET)) - #define XLAT_STR_18 STRINGIFY(ETH_P_ARCNET) + #define XLAT_VAL_19 ((unsigned) (ETH_P_ARCNET)) + #define XLAT_STR_19 STRINGIFY(ETH_P_ARCNET) XLAT(ETH_P_DSA), - #define XLAT_VAL_19 ((unsigned) (ETH_P_DSA)) - #define XLAT_STR_19 STRINGIFY(ETH_P_DSA) + #define XLAT_VAL_20 ((unsigned) (ETH_P_DSA)) + #define XLAT_STR_20 STRINGIFY(ETH_P_DSA) XLAT(ETH_P_TRAILER), - #define XLAT_VAL_20 ((unsigned) (ETH_P_TRAILER)) - #define XLAT_STR_20 STRINGIFY(ETH_P_TRAILER) + #define XLAT_VAL_21 ((unsigned) (ETH_P_TRAILER)) + #define XLAT_STR_21 STRINGIFY(ETH_P_TRAILER) XLAT(ETH_P_LOOP), - #define XLAT_VAL_21 ((unsigned) (ETH_P_LOOP)) - #define XLAT_STR_21 STRINGIFY(ETH_P_LOOP) + #define XLAT_VAL_22 ((unsigned) (ETH_P_LOOP)) + #define XLAT_STR_22 STRINGIFY(ETH_P_LOOP) XLAT(ETH_P_PHONET), - #define XLAT_VAL_22 ((unsigned) (ETH_P_PHONET)) - #define XLAT_STR_22 STRINGIFY(ETH_P_PHONET) + #define XLAT_VAL_23 ((unsigned) (ETH_P_PHONET)) + #define XLAT_STR_23 STRINGIFY(ETH_P_PHONET) XLAT(ETH_P_IEEE802154), - #define XLAT_VAL_23 ((unsigned) (ETH_P_IEEE802154)) - #define XLAT_STR_23 STRINGIFY(ETH_P_IEEE802154) + #define XLAT_VAL_24 ((unsigned) (ETH_P_IEEE802154)) + #define XLAT_STR_24 STRINGIFY(ETH_P_IEEE802154) XLAT(ETH_P_CAIF), - #define XLAT_VAL_24 ((unsigned) (ETH_P_CAIF)) - #define XLAT_STR_24 STRINGIFY(ETH_P_CAIF) + #define XLAT_VAL_25 ((unsigned) (ETH_P_CAIF)) + #define XLAT_STR_25 STRINGIFY(ETH_P_CAIF) XLAT(ETH_P_XDSA), - #define XLAT_VAL_25 ((unsigned) (ETH_P_XDSA)) - #define XLAT_STR_25 STRINGIFY(ETH_P_XDSA) + #define XLAT_VAL_26 ((unsigned) (ETH_P_XDSA)) + #define XLAT_STR_26 STRINGIFY(ETH_P_XDSA) XLAT(ETH_P_MAP), - #define XLAT_VAL_26 ((unsigned) (ETH_P_MAP)) - #define XLAT_STR_26 STRINGIFY(ETH_P_MAP) + #define XLAT_VAL_27 ((unsigned) (ETH_P_MAP)) + #define XLAT_STR_27 STRINGIFY(ETH_P_MAP) + XLAT(ETH_P_MCTP), + #define XLAT_VAL_28 ((unsigned) (ETH_P_MCTP)) + #define XLAT_STR_28 STRINGIFY(ETH_P_MCTP) XLAT(ETH_P_PUP), - #define XLAT_VAL_27 ((unsigned) (ETH_P_PUP)) - #define XLAT_STR_27 STRINGIFY(ETH_P_PUP) + #define XLAT_VAL_29 ((unsigned) (ETH_P_PUP)) + #define XLAT_STR_29 STRINGIFY(ETH_P_PUP) XLAT(ETH_P_PUPAT), - #define XLAT_VAL_28 ((unsigned) (ETH_P_PUPAT)) - #define XLAT_STR_28 STRINGIFY(ETH_P_PUPAT) + #define XLAT_VAL_30 ((unsigned) (ETH_P_PUPAT)) + #define XLAT_STR_30 STRINGIFY(ETH_P_PUPAT) XLAT(ETH_P_802_3_MIN), - #define XLAT_VAL_29 ((unsigned) (ETH_P_802_3_MIN)) - #define XLAT_STR_29 STRINGIFY(ETH_P_802_3_MIN) + #define XLAT_VAL_31 ((unsigned) (ETH_P_802_3_MIN)) + #define XLAT_STR_31 STRINGIFY(ETH_P_802_3_MIN) XLAT(ETH_P_IP), - #define XLAT_VAL_30 ((unsigned) (ETH_P_IP)) - #define XLAT_STR_30 STRINGIFY(ETH_P_IP) + #define XLAT_VAL_32 ((unsigned) (ETH_P_IP)) + #define XLAT_STR_32 STRINGIFY(ETH_P_IP) XLAT(ETH_P_X25), - #define XLAT_VAL_31 ((unsigned) (ETH_P_X25)) - #define XLAT_STR_31 STRINGIFY(ETH_P_X25) + #define XLAT_VAL_33 ((unsigned) (ETH_P_X25)) + #define XLAT_STR_33 STRINGIFY(ETH_P_X25) XLAT(ETH_P_ARP), - #define XLAT_VAL_32 ((unsigned) (ETH_P_ARP)) - #define XLAT_STR_32 STRINGIFY(ETH_P_ARP) + #define XLAT_VAL_34 ((unsigned) (ETH_P_ARP)) + #define XLAT_STR_34 STRINGIFY(ETH_P_ARP) XLAT(ETH_P_BPQ), - #define XLAT_VAL_33 ((unsigned) (ETH_P_BPQ)) - #define XLAT_STR_33 STRINGIFY(ETH_P_BPQ) + #define XLAT_VAL_35 ((unsigned) (ETH_P_BPQ)) + #define XLAT_STR_35 STRINGIFY(ETH_P_BPQ) XLAT(ETH_P_IEEEPUP), - #define XLAT_VAL_34 ((unsigned) (ETH_P_IEEEPUP)) - #define XLAT_STR_34 STRINGIFY(ETH_P_IEEEPUP) + #define XLAT_VAL_36 ((unsigned) (ETH_P_IEEEPUP)) + #define XLAT_STR_36 STRINGIFY(ETH_P_IEEEPUP) XLAT(ETH_P_IEEEPUPAT), - #define XLAT_VAL_35 ((unsigned) (ETH_P_IEEEPUPAT)) - #define XLAT_STR_35 STRINGIFY(ETH_P_IEEEPUPAT) + #define XLAT_VAL_37 ((unsigned) (ETH_P_IEEEPUPAT)) + #define XLAT_STR_37 STRINGIFY(ETH_P_IEEEPUPAT) XLAT(ETH_P_ERSPAN2), - #define XLAT_VAL_36 ((unsigned) (ETH_P_ERSPAN2)) - #define XLAT_STR_36 STRINGIFY(ETH_P_ERSPAN2) + #define XLAT_VAL_38 ((unsigned) (ETH_P_ERSPAN2)) + #define XLAT_STR_38 STRINGIFY(ETH_P_ERSPAN2) XLAT(ETH_P_TSN), - #define XLAT_VAL_37 ((unsigned) (ETH_P_TSN)) - #define XLAT_STR_37 STRINGIFY(ETH_P_TSN) + #define XLAT_VAL_39 ((unsigned) (ETH_P_TSN)) + #define XLAT_STR_39 STRINGIFY(ETH_P_TSN) XLAT(ETH_P_BATMAN), - #define XLAT_VAL_38 ((unsigned) (ETH_P_BATMAN)) - #define XLAT_STR_38 STRINGIFY(ETH_P_BATMAN) + #define XLAT_VAL_40 ((unsigned) (ETH_P_BATMAN)) + #define XLAT_STR_40 STRINGIFY(ETH_P_BATMAN) XLAT(ETH_P_DEC), - #define XLAT_VAL_39 ((unsigned) (ETH_P_DEC)) - #define XLAT_STR_39 STRINGIFY(ETH_P_DEC) + #define XLAT_VAL_41 ((unsigned) (ETH_P_DEC)) + #define XLAT_STR_41 STRINGIFY(ETH_P_DEC) XLAT(ETH_P_DNA_DL), - #define XLAT_VAL_40 ((unsigned) (ETH_P_DNA_DL)) - #define XLAT_STR_40 STRINGIFY(ETH_P_DNA_DL) + #define XLAT_VAL_42 ((unsigned) (ETH_P_DNA_DL)) + #define XLAT_STR_42 STRINGIFY(ETH_P_DNA_DL) XLAT(ETH_P_DNA_RC), - #define XLAT_VAL_41 ((unsigned) (ETH_P_DNA_RC)) - #define XLAT_STR_41 STRINGIFY(ETH_P_DNA_RC) + #define XLAT_VAL_43 ((unsigned) (ETH_P_DNA_RC)) + #define XLAT_STR_43 STRINGIFY(ETH_P_DNA_RC) XLAT(ETH_P_DNA_RT), - #define XLAT_VAL_42 ((unsigned) (ETH_P_DNA_RT)) - #define XLAT_STR_42 STRINGIFY(ETH_P_DNA_RT) + #define XLAT_VAL_44 ((unsigned) (ETH_P_DNA_RT)) + #define XLAT_STR_44 STRINGIFY(ETH_P_DNA_RT) XLAT(ETH_P_LAT), - #define XLAT_VAL_43 ((unsigned) (ETH_P_LAT)) - #define XLAT_STR_43 STRINGIFY(ETH_P_LAT) + #define XLAT_VAL_45 ((unsigned) (ETH_P_LAT)) + #define XLAT_STR_45 STRINGIFY(ETH_P_LAT) XLAT(ETH_P_DIAG), - #define XLAT_VAL_44 ((unsigned) (ETH_P_DIAG)) - #define XLAT_STR_44 STRINGIFY(ETH_P_DIAG) + #define XLAT_VAL_46 ((unsigned) (ETH_P_DIAG)) + #define XLAT_STR_46 STRINGIFY(ETH_P_DIAG) XLAT(ETH_P_CUST), - #define XLAT_VAL_45 ((unsigned) (ETH_P_CUST)) - #define XLAT_STR_45 STRINGIFY(ETH_P_CUST) + #define XLAT_VAL_47 ((unsigned) (ETH_P_CUST)) + #define XLAT_STR_47 STRINGIFY(ETH_P_CUST) XLAT(ETH_P_SCA), - #define XLAT_VAL_46 ((unsigned) (ETH_P_SCA)) - #define XLAT_STR_46 STRINGIFY(ETH_P_SCA) + #define XLAT_VAL_48 ((unsigned) (ETH_P_SCA)) + #define XLAT_STR_48 STRINGIFY(ETH_P_SCA) XLAT(ETH_P_TEB), - #define XLAT_VAL_47 ((unsigned) (ETH_P_TEB)) - #define XLAT_STR_47 STRINGIFY(ETH_P_TEB) + #define XLAT_VAL_49 ((unsigned) (ETH_P_TEB)) + #define XLAT_STR_49 STRINGIFY(ETH_P_TEB) XLAT(ETH_P_RARP), - #define XLAT_VAL_48 ((unsigned) (ETH_P_RARP)) - #define XLAT_STR_48 STRINGIFY(ETH_P_RARP) + #define XLAT_VAL_50 ((unsigned) (ETH_P_RARP)) + #define XLAT_STR_50 STRINGIFY(ETH_P_RARP) XLAT(ETH_P_ATALK), - #define XLAT_VAL_49 ((unsigned) (ETH_P_ATALK)) - #define XLAT_STR_49 STRINGIFY(ETH_P_ATALK) + #define XLAT_VAL_51 ((unsigned) (ETH_P_ATALK)) + #define XLAT_STR_51 STRINGIFY(ETH_P_ATALK) XLAT(ETH_P_AARP), - #define XLAT_VAL_50 ((unsigned) (ETH_P_AARP)) - #define XLAT_STR_50 STRINGIFY(ETH_P_AARP) + #define XLAT_VAL_52 ((unsigned) (ETH_P_AARP)) + #define XLAT_STR_52 STRINGIFY(ETH_P_AARP) XLAT(ETH_P_8021Q), - #define XLAT_VAL_51 ((unsigned) (ETH_P_8021Q)) - #define XLAT_STR_51 STRINGIFY(ETH_P_8021Q) + #define XLAT_VAL_53 ((unsigned) (ETH_P_8021Q)) + #define XLAT_STR_53 STRINGIFY(ETH_P_8021Q) XLAT(ETH_P_IPX), - #define XLAT_VAL_52 ((unsigned) (ETH_P_IPX)) - #define XLAT_STR_52 STRINGIFY(ETH_P_IPX) + #define XLAT_VAL_54 ((unsigned) (ETH_P_IPX)) + #define XLAT_STR_54 STRINGIFY(ETH_P_IPX) XLAT(ETH_P_IPV6), - #define XLAT_VAL_53 ((unsigned) (ETH_P_IPV6)) - #define XLAT_STR_53 STRINGIFY(ETH_P_IPV6) + #define XLAT_VAL_55 ((unsigned) (ETH_P_IPV6)) + #define XLAT_STR_55 STRINGIFY(ETH_P_IPV6) XLAT(ETH_P_PAUSE), - #define XLAT_VAL_54 ((unsigned) (ETH_P_PAUSE)) - #define XLAT_STR_54 STRINGIFY(ETH_P_PAUSE) + #define XLAT_VAL_56 ((unsigned) (ETH_P_PAUSE)) + #define XLAT_STR_56 STRINGIFY(ETH_P_PAUSE) XLAT(ETH_P_SLOW), - #define XLAT_VAL_55 ((unsigned) (ETH_P_SLOW)) - #define XLAT_STR_55 STRINGIFY(ETH_P_SLOW) + #define XLAT_VAL_57 ((unsigned) (ETH_P_SLOW)) + #define XLAT_STR_57 STRINGIFY(ETH_P_SLOW) XLAT(ETH_P_WCCP), - #define XLAT_VAL_56 ((unsigned) (ETH_P_WCCP)) - #define XLAT_STR_56 STRINGIFY(ETH_P_WCCP) + #define XLAT_VAL_58 ((unsigned) (ETH_P_WCCP)) + #define XLAT_STR_58 STRINGIFY(ETH_P_WCCP) XLAT(ETH_P_MPLS_UC), - #define XLAT_VAL_57 ((unsigned) (ETH_P_MPLS_UC)) - #define XLAT_STR_57 STRINGIFY(ETH_P_MPLS_UC) + #define XLAT_VAL_59 ((unsigned) (ETH_P_MPLS_UC)) + #define XLAT_STR_59 STRINGIFY(ETH_P_MPLS_UC) XLAT(ETH_P_MPLS_MC), - #define XLAT_VAL_58 ((unsigned) (ETH_P_MPLS_MC)) - #define XLAT_STR_58 STRINGIFY(ETH_P_MPLS_MC) + #define XLAT_VAL_60 ((unsigned) (ETH_P_MPLS_MC)) + #define XLAT_STR_60 STRINGIFY(ETH_P_MPLS_MC) XLAT(ETH_P_ATMMPOA), - #define XLAT_VAL_59 ((unsigned) (ETH_P_ATMMPOA)) - #define XLAT_STR_59 STRINGIFY(ETH_P_ATMMPOA) + #define XLAT_VAL_61 ((unsigned) (ETH_P_ATMMPOA)) + #define XLAT_STR_61 STRINGIFY(ETH_P_ATMMPOA) XLAT(ETH_P_PPP_DISC), - #define XLAT_VAL_60 ((unsigned) (ETH_P_PPP_DISC)) - #define XLAT_STR_60 STRINGIFY(ETH_P_PPP_DISC) + #define XLAT_VAL_62 ((unsigned) (ETH_P_PPP_DISC)) + #define XLAT_STR_62 STRINGIFY(ETH_P_PPP_DISC) XLAT(ETH_P_PPP_SES), - #define XLAT_VAL_61 ((unsigned) (ETH_P_PPP_SES)) - #define XLAT_STR_61 STRINGIFY(ETH_P_PPP_SES) + #define XLAT_VAL_63 ((unsigned) (ETH_P_PPP_SES)) + #define XLAT_STR_63 STRINGIFY(ETH_P_PPP_SES) XLAT(ETH_P_LINK_CTL), - #define XLAT_VAL_62 ((unsigned) (ETH_P_LINK_CTL)) - #define XLAT_STR_62 STRINGIFY(ETH_P_LINK_CTL) + #define XLAT_VAL_64 ((unsigned) (ETH_P_LINK_CTL)) + #define XLAT_STR_64 STRINGIFY(ETH_P_LINK_CTL) XLAT(ETH_P_ATMFATE), - #define XLAT_VAL_63 ((unsigned) (ETH_P_ATMFATE)) - #define XLAT_STR_63 STRINGIFY(ETH_P_ATMFATE) + #define XLAT_VAL_65 ((unsigned) (ETH_P_ATMFATE)) + #define XLAT_STR_65 STRINGIFY(ETH_P_ATMFATE) XLAT(ETH_P_PAE), - #define XLAT_VAL_64 ((unsigned) (ETH_P_PAE)) - #define XLAT_STR_64 STRINGIFY(ETH_P_PAE) + #define XLAT_VAL_66 ((unsigned) (ETH_P_PAE)) + #define XLAT_STR_66 STRINGIFY(ETH_P_PAE) + XLAT(ETH_P_REALTEK), + #define XLAT_VAL_67 ((unsigned) (ETH_P_REALTEK)) + #define XLAT_STR_67 STRINGIFY(ETH_P_REALTEK) XLAT(ETH_P_AOE), - #define XLAT_VAL_65 ((unsigned) (ETH_P_AOE)) - #define XLAT_STR_65 STRINGIFY(ETH_P_AOE) + #define XLAT_VAL_68 ((unsigned) (ETH_P_AOE)) + #define XLAT_STR_68 STRINGIFY(ETH_P_AOE) XLAT(ETH_P_8021AD), - #define XLAT_VAL_66 ((unsigned) (ETH_P_8021AD)) - #define XLAT_STR_66 STRINGIFY(ETH_P_8021AD) + #define XLAT_VAL_69 ((unsigned) (ETH_P_8021AD)) + #define XLAT_STR_69 STRINGIFY(ETH_P_8021AD) XLAT(ETH_P_802_EX1), - #define XLAT_VAL_67 ((unsigned) (ETH_P_802_EX1)) - #define XLAT_STR_67 STRINGIFY(ETH_P_802_EX1) + #define XLAT_VAL_70 ((unsigned) (ETH_P_802_EX1)) + #define XLAT_STR_70 STRINGIFY(ETH_P_802_EX1) XLAT(ETH_P_ERSPAN), - #define XLAT_VAL_68 ((unsigned) (ETH_P_ERSPAN)) - #define XLAT_STR_68 STRINGIFY(ETH_P_ERSPAN) + #define XLAT_VAL_71 ((unsigned) (ETH_P_ERSPAN)) + #define XLAT_STR_71 STRINGIFY(ETH_P_ERSPAN) XLAT(ETH_P_PREAUTH), - #define XLAT_VAL_69 ((unsigned) (ETH_P_PREAUTH)) - #define XLAT_STR_69 STRINGIFY(ETH_P_PREAUTH) + #define XLAT_VAL_72 ((unsigned) (ETH_P_PREAUTH)) + #define XLAT_STR_72 STRINGIFY(ETH_P_PREAUTH) XLAT(ETH_P_TIPC), - #define XLAT_VAL_70 ((unsigned) (ETH_P_TIPC)) - #define XLAT_STR_70 STRINGIFY(ETH_P_TIPC) + #define XLAT_VAL_73 ((unsigned) (ETH_P_TIPC)) + #define XLAT_STR_73 STRINGIFY(ETH_P_TIPC) XLAT(ETH_P_LLDP), - #define XLAT_VAL_71 ((unsigned) (ETH_P_LLDP)) - #define XLAT_STR_71 STRINGIFY(ETH_P_LLDP) + #define XLAT_VAL_74 ((unsigned) (ETH_P_LLDP)) + #define XLAT_STR_74 STRINGIFY(ETH_P_LLDP) XLAT(ETH_P_MRP), - #define XLAT_VAL_72 ((unsigned) (ETH_P_MRP)) - #define XLAT_STR_72 STRINGIFY(ETH_P_MRP) + #define XLAT_VAL_75 ((unsigned) (ETH_P_MRP)) + #define XLAT_STR_75 STRINGIFY(ETH_P_MRP) XLAT(ETH_P_MACSEC), - #define XLAT_VAL_73 ((unsigned) (ETH_P_MACSEC)) - #define XLAT_STR_73 STRINGIFY(ETH_P_MACSEC) + #define XLAT_VAL_76 ((unsigned) (ETH_P_MACSEC)) + #define XLAT_STR_76 STRINGIFY(ETH_P_MACSEC) XLAT(ETH_P_8021AH), - #define XLAT_VAL_74 ((unsigned) (ETH_P_8021AH)) - #define XLAT_STR_74 STRINGIFY(ETH_P_8021AH) + #define XLAT_VAL_77 ((unsigned) (ETH_P_8021AH)) + #define XLAT_STR_77 STRINGIFY(ETH_P_8021AH) XLAT(ETH_P_MVRP), - #define XLAT_VAL_75 ((unsigned) (ETH_P_MVRP)) - #define XLAT_STR_75 STRINGIFY(ETH_P_MVRP) + #define XLAT_VAL_78 ((unsigned) (ETH_P_MVRP)) + #define XLAT_STR_78 STRINGIFY(ETH_P_MVRP) XLAT(ETH_P_1588), - #define XLAT_VAL_76 ((unsigned) (ETH_P_1588)) - #define XLAT_STR_76 STRINGIFY(ETH_P_1588) + #define XLAT_VAL_79 ((unsigned) (ETH_P_1588)) + #define XLAT_STR_79 STRINGIFY(ETH_P_1588) XLAT(ETH_P_NCSI), - #define XLAT_VAL_77 ((unsigned) (ETH_P_NCSI)) - #define XLAT_STR_77 STRINGIFY(ETH_P_NCSI) + #define XLAT_VAL_80 ((unsigned) (ETH_P_NCSI)) + #define XLAT_STR_80 STRINGIFY(ETH_P_NCSI) XLAT(ETH_P_PRP), - #define XLAT_VAL_78 ((unsigned) (ETH_P_PRP)) - #define XLAT_STR_78 STRINGIFY(ETH_P_PRP) + #define XLAT_VAL_81 ((unsigned) (ETH_P_PRP)) + #define XLAT_STR_81 STRINGIFY(ETH_P_PRP) XLAT(ETH_P_CFM), - #define XLAT_VAL_79 ((unsigned) (ETH_P_CFM)) - #define XLAT_STR_79 STRINGIFY(ETH_P_CFM) + #define XLAT_VAL_82 ((unsigned) (ETH_P_CFM)) + #define XLAT_STR_82 STRINGIFY(ETH_P_CFM) XLAT(ETH_P_FCOE), - #define XLAT_VAL_80 ((unsigned) (ETH_P_FCOE)) - #define XLAT_STR_80 STRINGIFY(ETH_P_FCOE) + #define XLAT_VAL_83 ((unsigned) (ETH_P_FCOE)) + #define XLAT_STR_83 STRINGIFY(ETH_P_FCOE) XLAT(ETH_P_TDLS), - #define XLAT_VAL_81 ((unsigned) (ETH_P_TDLS)) - #define XLAT_STR_81 STRINGIFY(ETH_P_TDLS) + #define XLAT_VAL_84 ((unsigned) (ETH_P_TDLS)) + #define XLAT_STR_84 STRINGIFY(ETH_P_TDLS) XLAT(ETH_P_FIP), - #define XLAT_VAL_82 ((unsigned) (ETH_P_FIP)) - #define XLAT_STR_82 STRINGIFY(ETH_P_FIP) + #define XLAT_VAL_85 ((unsigned) (ETH_P_FIP)) + #define XLAT_STR_85 STRINGIFY(ETH_P_FIP) XLAT(ETH_P_IBOE), - #define XLAT_VAL_83 ((unsigned) (ETH_P_IBOE)) - #define XLAT_STR_83 STRINGIFY(ETH_P_IBOE) + #define XLAT_VAL_86 ((unsigned) (ETH_P_IBOE)) + #define XLAT_STR_86 STRINGIFY(ETH_P_IBOE) XLAT(ETH_P_80221), - #define XLAT_VAL_84 ((unsigned) (ETH_P_80221)) - #define XLAT_STR_84 STRINGIFY(ETH_P_80221) + #define XLAT_VAL_87 ((unsigned) (ETH_P_80221)) + #define XLAT_STR_87 STRINGIFY(ETH_P_80221) XLAT(ETH_P_HSR), - #define XLAT_VAL_85 ((unsigned) (ETH_P_HSR)) - #define XLAT_STR_85 STRINGIFY(ETH_P_HSR) + #define XLAT_VAL_88 ((unsigned) (ETH_P_HSR)) + #define XLAT_STR_88 STRINGIFY(ETH_P_HSR) XLAT(ETH_P_NSH), - #define XLAT_VAL_86 ((unsigned) (ETH_P_NSH)) - #define XLAT_STR_86 STRINGIFY(ETH_P_NSH) + #define XLAT_VAL_89 ((unsigned) (ETH_P_NSH)) + #define XLAT_STR_89 STRINGIFY(ETH_P_NSH) XLAT(ETH_P_LOOPBACK), - #define XLAT_VAL_87 ((unsigned) (ETH_P_LOOPBACK)) - #define XLAT_STR_87 STRINGIFY(ETH_P_LOOPBACK) + #define XLAT_VAL_90 ((unsigned) (ETH_P_LOOPBACK)) + #define XLAT_STR_90 STRINGIFY(ETH_P_LOOPBACK) XLAT(ETH_P_QINQ1), - #define XLAT_VAL_88 ((unsigned) (ETH_P_QINQ1)) - #define XLAT_STR_88 STRINGIFY(ETH_P_QINQ1) + #define XLAT_VAL_91 ((unsigned) (ETH_P_QINQ1)) + #define XLAT_STR_91 STRINGIFY(ETH_P_QINQ1) XLAT(ETH_P_QINQ2), - #define XLAT_VAL_89 ((unsigned) (ETH_P_QINQ2)) - #define XLAT_STR_89 STRINGIFY(ETH_P_QINQ2) + #define XLAT_VAL_92 ((unsigned) (ETH_P_QINQ2)) + #define XLAT_STR_92 STRINGIFY(ETH_P_QINQ2) XLAT(ETH_P_QINQ3), - #define XLAT_VAL_90 ((unsigned) (ETH_P_QINQ3)) - #define XLAT_STR_90 STRINGIFY(ETH_P_QINQ3) + #define XLAT_VAL_93 ((unsigned) (ETH_P_QINQ3)) + #define XLAT_STR_93 STRINGIFY(ETH_P_QINQ3) XLAT(ETH_P_EDSA), - #define XLAT_VAL_91 ((unsigned) (ETH_P_EDSA)) - #define XLAT_STR_91 STRINGIFY(ETH_P_EDSA) + #define XLAT_VAL_94 ((unsigned) (ETH_P_EDSA)) + #define XLAT_STR_94 STRINGIFY(ETH_P_EDSA) XLAT(ETH_P_DSA_8021Q), - #define XLAT_VAL_92 ((unsigned) (ETH_P_DSA_8021Q)) - #define XLAT_STR_92 STRINGIFY(ETH_P_DSA_8021Q) + #define XLAT_VAL_95 ((unsigned) (ETH_P_DSA_8021Q)) + #define XLAT_STR_95 STRINGIFY(ETH_P_DSA_8021Q) + XLAT(ETH_P_DSA_A5PSW), + #define XLAT_VAL_96 ((unsigned) (ETH_P_DSA_A5PSW)) + #define XLAT_STR_96 STRINGIFY(ETH_P_DSA_A5PSW) XLAT(ETH_P_IFE), - #define XLAT_VAL_93 ((unsigned) (ETH_P_IFE)) - #define XLAT_STR_93 STRINGIFY(ETH_P_IFE) + #define XLAT_VAL_97 ((unsigned) (ETH_P_IFE)) + #define XLAT_STR_97 STRINGIFY(ETH_P_IFE) XLAT(ETH_P_AF_IUCV), - #define XLAT_VAL_94 ((unsigned) (ETH_P_AF_IUCV)) - #define XLAT_STR_94 STRINGIFY(ETH_P_AF_IUCV) + #define XLAT_VAL_98 ((unsigned) (ETH_P_AF_IUCV)) + #define XLAT_STR_98 STRINGIFY(ETH_P_AF_IUCV) }; const struct xlat ethernet_protocols1 = { { .data = ethernet_protocols_xdata, @@ -1251,6 +2282,18 @@ # ifdef XLAT_VAL_94 | XLAT_VAL_94 # endif +# ifdef XLAT_VAL_95 + | XLAT_VAL_95 +# endif +# ifdef XLAT_VAL_96 + | XLAT_VAL_96 +# endif +# ifdef XLAT_VAL_97 + | XLAT_VAL_97 +# endif +# ifdef XLAT_VAL_98 + | XLAT_VAL_98 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1538,6 +2581,18 @@ # ifdef XLAT_STR_94 + sizeof(XLAT_STR_94) # endif +# ifdef XLAT_STR_95 + + sizeof(XLAT_STR_95) +# endif +# ifdef XLAT_STR_96 + + sizeof(XLAT_STR_96) +# endif +# ifdef XLAT_STR_97 + + sizeof(XLAT_STR_97) +# endif +# ifdef XLAT_STR_98 + + sizeof(XLAT_STR_98) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -1732,6 +2787,14 @@ # undef XLAT_VAL_93 # undef XLAT_STR_94 # undef XLAT_VAL_94 +# undef XLAT_STR_95 +# undef XLAT_VAL_95 +# undef XLAT_STR_96 +# undef XLAT_VAL_96 +# undef XLAT_STR_97 +# undef XLAT_VAL_97 +# undef XLAT_STR_98 +# undef XLAT_VAL_98 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ethernet_protocols.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ethernet_protocols.in
Changed
@@ -10,6 +10,7 @@ ETH_P_LOCALTALK 0x0009 /* Localtalk pseudo type */ ETH_P_CAN 0x000C /* CAN: Controller Area Network */ ETH_P_CANFD 0x000D /* CANFD: CAN flexible data rate*/ +ETH_P_CANXL 0x000E /* CANXL: eXtended frame Length */ ETH_P_PPPTALK 0x0010 /* Dummy type for Atalk over PPP*/ ETH_P_TR_802_2 0x0011 /* 802.2 frames */ ETH_P_MOBITEX 0x0015 /* Mobitex (kaz@cafe.net) */ @@ -26,6 +27,7 @@ ETH_P_CAIF 0x00F7 /* ST-Ericsson CAIF protocol */ ETH_P_XDSA 0x00F8 /* Multiplexed DSA protocol */ ETH_P_MAP 0x00F9 /* Qualcomm multiplexing and aggregation protocol */ +ETH_P_MCTP 0x00FA /* Management component transport protocol (MCTP) packets */ ETH_P_PUP 0x0200 /* Xerox PUP packet */ ETH_P_PUPAT 0x0201 /* Xerox PUP Addr Trans packet */ ETH_P_802_3_MIN 0x0600 /* If the value in the ethernet type is less than this value then the frame is Ethernet II. Else it is 802.3 */ @@ -64,6 +66,7 @@ ETH_P_LINK_CTL 0x886c /* HPNA, wlan link local tunnel */ ETH_P_ATMFATE 0x8884 /* Frame-based ATM Transport over Ethernet */ ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */ +ETH_P_REALTEK 0x8899 /* Multiple proprietary protocols */ ETH_P_AOE 0x88A2 /* ATA over Ethernet */ ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ ETH_P_802_EX1 0x88B5 /* 802.1 Local Experimental 1. */ @@ -92,5 +95,6 @@ ETH_P_QINQ3 0x9300 /* deprecated QinQ VLAN NOT AN OFFICIALLY REGISTERED ID */ ETH_P_EDSA 0xDADA /* Ethertype DSA NOT AN OFFICIALLY REGISTERED ID */ ETH_P_DSA_8021Q 0xDADB /* Fake VLAN Header for DSA NOT AN OFFICIALLY REGISTERED ID */ +ETH_P_DSA_A5PSW 0xE001 /* A5PSW Tag Value NOT AN OFFICIALLY REGISTERED ID */ ETH_P_IFE 0xED3E /* ForCES inter-FE LFB type */ ETH_P_AF_IUCV 0xFBFB /* IBM af_iucv NOT AN OFFICIALLY REGISTERED ID */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_abs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_abs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -85,57 +86,60 @@ ABS_VOLUME = XLAT(ABS_VOLUME), #define XLAT_VAL_24 ((unsigned) (ABS_VOLUME)) #define XLAT_STR_24 STRINGIFY(ABS_VOLUME) + ABS_PROFILE = XLAT(ABS_PROFILE), + #define XLAT_VAL_25 ((unsigned) (ABS_PROFILE)) + #define XLAT_STR_25 STRINGIFY(ABS_PROFILE) ABS_MISC = XLAT(ABS_MISC), - #define XLAT_VAL_25 ((unsigned) (ABS_MISC)) - #define XLAT_STR_25 STRINGIFY(ABS_MISC) + #define XLAT_VAL_26 ((unsigned) (ABS_MISC)) + #define XLAT_STR_26 STRINGIFY(ABS_MISC) ABS_RESERVED = XLAT(ABS_RESERVED), - #define XLAT_VAL_26 ((unsigned) (ABS_RESERVED)) - #define XLAT_STR_26 STRINGIFY(ABS_RESERVED) + #define XLAT_VAL_27 ((unsigned) (ABS_RESERVED)) + #define XLAT_STR_27 STRINGIFY(ABS_RESERVED) ABS_MT_SLOT = XLAT(ABS_MT_SLOT), - #define XLAT_VAL_27 ((unsigned) (ABS_MT_SLOT)) - #define XLAT_STR_27 STRINGIFY(ABS_MT_SLOT) + #define XLAT_VAL_28 ((unsigned) (ABS_MT_SLOT)) + #define XLAT_STR_28 STRINGIFY(ABS_MT_SLOT) ABS_MT_TOUCH_MAJOR = XLAT(ABS_MT_TOUCH_MAJOR), - #define XLAT_VAL_28 ((unsigned) (ABS_MT_TOUCH_MAJOR)) - #define XLAT_STR_28 STRINGIFY(ABS_MT_TOUCH_MAJOR) + #define XLAT_VAL_29 ((unsigned) (ABS_MT_TOUCH_MAJOR)) + #define XLAT_STR_29 STRINGIFY(ABS_MT_TOUCH_MAJOR) ABS_MT_TOUCH_MINOR = XLAT(ABS_MT_TOUCH_MINOR), - #define XLAT_VAL_29 ((unsigned) (ABS_MT_TOUCH_MINOR)) - #define XLAT_STR_29 STRINGIFY(ABS_MT_TOUCH_MINOR) + #define XLAT_VAL_30 ((unsigned) (ABS_MT_TOUCH_MINOR)) + #define XLAT_STR_30 STRINGIFY(ABS_MT_TOUCH_MINOR) ABS_MT_WIDTH_MAJOR = XLAT(ABS_MT_WIDTH_MAJOR), - #define XLAT_VAL_30 ((unsigned) (ABS_MT_WIDTH_MAJOR)) - #define XLAT_STR_30 STRINGIFY(ABS_MT_WIDTH_MAJOR) + #define XLAT_VAL_31 ((unsigned) (ABS_MT_WIDTH_MAJOR)) + #define XLAT_STR_31 STRINGIFY(ABS_MT_WIDTH_MAJOR) ABS_MT_WIDTH_MINOR = XLAT(ABS_MT_WIDTH_MINOR), - #define XLAT_VAL_31 ((unsigned) (ABS_MT_WIDTH_MINOR)) - #define XLAT_STR_31 STRINGIFY(ABS_MT_WIDTH_MINOR) + #define XLAT_VAL_32 ((unsigned) (ABS_MT_WIDTH_MINOR)) + #define XLAT_STR_32 STRINGIFY(ABS_MT_WIDTH_MINOR) ABS_MT_ORIENTATION = XLAT(ABS_MT_ORIENTATION), - #define XLAT_VAL_32 ((unsigned) (ABS_MT_ORIENTATION)) - #define XLAT_STR_32 STRINGIFY(ABS_MT_ORIENTATION) + #define XLAT_VAL_33 ((unsigned) (ABS_MT_ORIENTATION)) + #define XLAT_STR_33 STRINGIFY(ABS_MT_ORIENTATION) ABS_MT_POSITION_X = XLAT(ABS_MT_POSITION_X), - #define XLAT_VAL_33 ((unsigned) (ABS_MT_POSITION_X)) - #define XLAT_STR_33 STRINGIFY(ABS_MT_POSITION_X) + #define XLAT_VAL_34 ((unsigned) (ABS_MT_POSITION_X)) + #define XLAT_STR_34 STRINGIFY(ABS_MT_POSITION_X) ABS_MT_POSITION_Y = XLAT(ABS_MT_POSITION_Y), - #define XLAT_VAL_34 ((unsigned) (ABS_MT_POSITION_Y)) - #define XLAT_STR_34 STRINGIFY(ABS_MT_POSITION_Y) + #define XLAT_VAL_35 ((unsigned) (ABS_MT_POSITION_Y)) + #define XLAT_STR_35 STRINGIFY(ABS_MT_POSITION_Y) ABS_MT_TOOL_TYPE = XLAT(ABS_MT_TOOL_TYPE), - #define XLAT_VAL_35 ((unsigned) (ABS_MT_TOOL_TYPE)) - #define XLAT_STR_35 STRINGIFY(ABS_MT_TOOL_TYPE) + #define XLAT_VAL_36 ((unsigned) (ABS_MT_TOOL_TYPE)) + #define XLAT_STR_36 STRINGIFY(ABS_MT_TOOL_TYPE) ABS_MT_BLOB_ID = XLAT(ABS_MT_BLOB_ID), - #define XLAT_VAL_36 ((unsigned) (ABS_MT_BLOB_ID)) - #define XLAT_STR_36 STRINGIFY(ABS_MT_BLOB_ID) + #define XLAT_VAL_37 ((unsigned) (ABS_MT_BLOB_ID)) + #define XLAT_STR_37 STRINGIFY(ABS_MT_BLOB_ID) ABS_MT_TRACKING_ID = XLAT(ABS_MT_TRACKING_ID), - #define XLAT_VAL_37 ((unsigned) (ABS_MT_TRACKING_ID)) - #define XLAT_STR_37 STRINGIFY(ABS_MT_TRACKING_ID) + #define XLAT_VAL_38 ((unsigned) (ABS_MT_TRACKING_ID)) + #define XLAT_STR_38 STRINGIFY(ABS_MT_TRACKING_ID) ABS_MT_PRESSURE = XLAT(ABS_MT_PRESSURE), - #define XLAT_VAL_38 ((unsigned) (ABS_MT_PRESSURE)) - #define XLAT_STR_38 STRINGIFY(ABS_MT_PRESSURE) + #define XLAT_VAL_39 ((unsigned) (ABS_MT_PRESSURE)) + #define XLAT_STR_39 STRINGIFY(ABS_MT_PRESSURE) ABS_MT_DISTANCE = XLAT(ABS_MT_DISTANCE), - #define XLAT_VAL_39 ((unsigned) (ABS_MT_DISTANCE)) - #define XLAT_STR_39 STRINGIFY(ABS_MT_DISTANCE) + #define XLAT_VAL_40 ((unsigned) (ABS_MT_DISTANCE)) + #define XLAT_STR_40 STRINGIFY(ABS_MT_DISTANCE) ABS_MT_TOOL_X = XLAT(ABS_MT_TOOL_X), - #define XLAT_VAL_40 ((unsigned) (ABS_MT_TOOL_X)) - #define XLAT_STR_40 STRINGIFY(ABS_MT_TOOL_X) + #define XLAT_VAL_41 ((unsigned) (ABS_MT_TOOL_X)) + #define XLAT_STR_41 STRINGIFY(ABS_MT_TOOL_X) ABS_MT_TOOL_Y = XLAT(ABS_MT_TOOL_Y), - #define XLAT_VAL_41 ((unsigned) (ABS_MT_TOOL_Y)) - #define XLAT_STR_41 STRINGIFY(ABS_MT_TOOL_Y) + #define XLAT_VAL_42 ((unsigned) (ABS_MT_TOOL_Y)) + #define XLAT_STR_42 STRINGIFY(ABS_MT_TOOL_Y) }; const struct xlat evdev_abs1 = { { .data = evdev_abs_xdata, @@ -268,6 +272,9 @@ # ifdef XLAT_VAL_41 | XLAT_VAL_41 # endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -396,6 +403,9 @@ # ifdef XLAT_STR_41 + sizeof(XLAT_STR_41) # endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -484,6 +494,8 @@ # undef XLAT_VAL_40 # undef XLAT_STR_41 # undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_abs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_abs.in
Changed
@@ -25,6 +25,7 @@ ABS_TILT_Y ABS_TOOL_WIDTH ABS_VOLUME +ABS_PROFILE ABS_MISC ABS_RESERVED ABS_MT_SLOT
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_autorepeat.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_autorepeat.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_ev.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_ev.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_ff_status.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_ff_status.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_ff_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_ff_types.h
Changed
@@ -3,6 +3,135 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_RUMBLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_RUMBLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_RUMBLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_PERIODIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_PERIODIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_PERIODIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_CONSTANT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_CONSTANT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_CONSTANT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_SPRING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_SPRING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_SPRING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_FRICTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_FRICTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_FRICTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_DAMPER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_DAMPER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_DAMPER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_INERTIA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_INERTIA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_INERTIA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_RAMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_RAMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_RAMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_SQUARE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_SQUARE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_SQUARE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_TRIANGLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_TRIANGLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_TRIANGLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_SINE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_SINE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_SINE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_SAW_UP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_SAW_UP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_SAW_UP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_SAW_DOWN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_SAW_DOWN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_SAW_DOWN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_CUSTOM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_CUSTOM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_CUSTOM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FF_AUTOCENTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FF_AUTOCENTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FF_AUTOCENTER) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_keycode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_keycode.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -614,9 +615,9 @@ KEY_PROG4 = XLAT(KEY_PROG4), #define XLAT_VAL_197 ((unsigned) (KEY_PROG4)) #define XLAT_STR_197 STRINGIFY(KEY_PROG4) - KEY_DASHBOARD = XLAT(KEY_DASHBOARD), - #define XLAT_VAL_198 ((unsigned) (KEY_DASHBOARD)) - #define XLAT_STR_198 STRINGIFY(KEY_DASHBOARD) + KEY_ALL_APPLICATIONS = XLAT(KEY_ALL_APPLICATIONS), + #define XLAT_VAL_198 ((unsigned) (KEY_ALL_APPLICATIONS)) + #define XLAT_STR_198 STRINGIFY(KEY_ALL_APPLICATIONS) KEY_SUSPEND = XLAT(KEY_SUSPEND), #define XLAT_VAL_199 ((unsigned) (KEY_SUSPEND)) #define XLAT_STR_199 STRINGIFY(KEY_SUSPEND) @@ -1501,347 +1502,398 @@ KEY_EMOJI_PICKER = XLAT(KEY_EMOJI_PICKER), #define XLAT_VAL_483 ((unsigned) (KEY_EMOJI_PICKER)) #define XLAT_STR_483 STRINGIFY(KEY_EMOJI_PICKER) + KEY_DICTATE = XLAT(KEY_DICTATE), + #define XLAT_VAL_484 ((unsigned) (KEY_DICTATE)) + #define XLAT_STR_484 STRINGIFY(KEY_DICTATE) KEY_BRIGHTNESS_MIN = XLAT(KEY_BRIGHTNESS_MIN), - #define XLAT_VAL_484 ((unsigned) (KEY_BRIGHTNESS_MIN)) - #define XLAT_STR_484 STRINGIFY(KEY_BRIGHTNESS_MIN) + #define XLAT_VAL_485 ((unsigned) (KEY_BRIGHTNESS_MIN)) + #define XLAT_STR_485 STRINGIFY(KEY_BRIGHTNESS_MIN) KEY_BRIGHTNESS_MAX = XLAT(KEY_BRIGHTNESS_MAX), - #define XLAT_VAL_485 ((unsigned) (KEY_BRIGHTNESS_MAX)) - #define XLAT_STR_485 STRINGIFY(KEY_BRIGHTNESS_MAX) + #define XLAT_VAL_486 ((unsigned) (KEY_BRIGHTNESS_MAX)) + #define XLAT_STR_486 STRINGIFY(KEY_BRIGHTNESS_MAX) KEY_KBDINPUTASSIST_PREV = XLAT(KEY_KBDINPUTASSIST_PREV), - #define XLAT_VAL_486 ((unsigned) (KEY_KBDINPUTASSIST_PREV)) - #define XLAT_STR_486 STRINGIFY(KEY_KBDINPUTASSIST_PREV) + #define XLAT_VAL_487 ((unsigned) (KEY_KBDINPUTASSIST_PREV)) + #define XLAT_STR_487 STRINGIFY(KEY_KBDINPUTASSIST_PREV) KEY_KBDINPUTASSIST_NEXT = XLAT(KEY_KBDINPUTASSIST_NEXT), - #define XLAT_VAL_487 ((unsigned) (KEY_KBDINPUTASSIST_NEXT)) - #define XLAT_STR_487 STRINGIFY(KEY_KBDINPUTASSIST_NEXT) + #define XLAT_VAL_488 ((unsigned) (KEY_KBDINPUTASSIST_NEXT)) + #define XLAT_STR_488 STRINGIFY(KEY_KBDINPUTASSIST_NEXT) KEY_KBDINPUTASSIST_PREVGROUP = XLAT(KEY_KBDINPUTASSIST_PREVGROUP), - #define XLAT_VAL_488 ((unsigned) (KEY_KBDINPUTASSIST_PREVGROUP)) - #define XLAT_STR_488 STRINGIFY(KEY_KBDINPUTASSIST_PREVGROUP) + #define XLAT_VAL_489 ((unsigned) (KEY_KBDINPUTASSIST_PREVGROUP)) + #define XLAT_STR_489 STRINGIFY(KEY_KBDINPUTASSIST_PREVGROUP) KEY_KBDINPUTASSIST_NEXTGROUP = XLAT(KEY_KBDINPUTASSIST_NEXTGROUP), - #define XLAT_VAL_489 ((unsigned) (KEY_KBDINPUTASSIST_NEXTGROUP)) - #define XLAT_STR_489 STRINGIFY(KEY_KBDINPUTASSIST_NEXTGROUP) + #define XLAT_VAL_490 ((unsigned) (KEY_KBDINPUTASSIST_NEXTGROUP)) + #define XLAT_STR_490 STRINGIFY(KEY_KBDINPUTASSIST_NEXTGROUP) KEY_KBDINPUTASSIST_ACCEPT = XLAT(KEY_KBDINPUTASSIST_ACCEPT), - #define XLAT_VAL_490 ((unsigned) (KEY_KBDINPUTASSIST_ACCEPT)) - #define XLAT_STR_490 STRINGIFY(KEY_KBDINPUTASSIST_ACCEPT) + #define XLAT_VAL_491 ((unsigned) (KEY_KBDINPUTASSIST_ACCEPT)) + #define XLAT_STR_491 STRINGIFY(KEY_KBDINPUTASSIST_ACCEPT) KEY_KBDINPUTASSIST_CANCEL = XLAT(KEY_KBDINPUTASSIST_CANCEL), - #define XLAT_VAL_491 ((unsigned) (KEY_KBDINPUTASSIST_CANCEL)) - #define XLAT_STR_491 STRINGIFY(KEY_KBDINPUTASSIST_CANCEL) + #define XLAT_VAL_492 ((unsigned) (KEY_KBDINPUTASSIST_CANCEL)) + #define XLAT_STR_492 STRINGIFY(KEY_KBDINPUTASSIST_CANCEL) KEY_RIGHT_UP = XLAT(KEY_RIGHT_UP), - #define XLAT_VAL_492 ((unsigned) (KEY_RIGHT_UP)) - #define XLAT_STR_492 STRINGIFY(KEY_RIGHT_UP) + #define XLAT_VAL_493 ((unsigned) (KEY_RIGHT_UP)) + #define XLAT_STR_493 STRINGIFY(KEY_RIGHT_UP) KEY_RIGHT_DOWN = XLAT(KEY_RIGHT_DOWN), - #define XLAT_VAL_493 ((unsigned) (KEY_RIGHT_DOWN)) - #define XLAT_STR_493 STRINGIFY(KEY_RIGHT_DOWN) + #define XLAT_VAL_494 ((unsigned) (KEY_RIGHT_DOWN)) + #define XLAT_STR_494 STRINGIFY(KEY_RIGHT_DOWN) KEY_LEFT_UP = XLAT(KEY_LEFT_UP), - #define XLAT_VAL_494 ((unsigned) (KEY_LEFT_UP)) - #define XLAT_STR_494 STRINGIFY(KEY_LEFT_UP) + #define XLAT_VAL_495 ((unsigned) (KEY_LEFT_UP)) + #define XLAT_STR_495 STRINGIFY(KEY_LEFT_UP) KEY_LEFT_DOWN = XLAT(KEY_LEFT_DOWN), - #define XLAT_VAL_495 ((unsigned) (KEY_LEFT_DOWN)) - #define XLAT_STR_495 STRINGIFY(KEY_LEFT_DOWN) + #define XLAT_VAL_496 ((unsigned) (KEY_LEFT_DOWN)) + #define XLAT_STR_496 STRINGIFY(KEY_LEFT_DOWN) KEY_ROOT_MENU = XLAT(KEY_ROOT_MENU), - #define XLAT_VAL_496 ((unsigned) (KEY_ROOT_MENU)) - #define XLAT_STR_496 STRINGIFY(KEY_ROOT_MENU) + #define XLAT_VAL_497 ((unsigned) (KEY_ROOT_MENU)) + #define XLAT_STR_497 STRINGIFY(KEY_ROOT_MENU) KEY_MEDIA_TOP_MENU = XLAT(KEY_MEDIA_TOP_MENU), - #define XLAT_VAL_497 ((unsigned) (KEY_MEDIA_TOP_MENU)) - #define XLAT_STR_497 STRINGIFY(KEY_MEDIA_TOP_MENU) + #define XLAT_VAL_498 ((unsigned) (KEY_MEDIA_TOP_MENU)) + #define XLAT_STR_498 STRINGIFY(KEY_MEDIA_TOP_MENU) KEY_NUMERIC_11 = XLAT(KEY_NUMERIC_11), - #define XLAT_VAL_498 ((unsigned) (KEY_NUMERIC_11)) - #define XLAT_STR_498 STRINGIFY(KEY_NUMERIC_11) + #define XLAT_VAL_499 ((unsigned) (KEY_NUMERIC_11)) + #define XLAT_STR_499 STRINGIFY(KEY_NUMERIC_11) KEY_NUMERIC_12 = XLAT(KEY_NUMERIC_12), - #define XLAT_VAL_499 ((unsigned) (KEY_NUMERIC_12)) - #define XLAT_STR_499 STRINGIFY(KEY_NUMERIC_12) + #define XLAT_VAL_500 ((unsigned) (KEY_NUMERIC_12)) + #define XLAT_STR_500 STRINGIFY(KEY_NUMERIC_12) KEY_AUDIO_DESC = XLAT(KEY_AUDIO_DESC), - #define XLAT_VAL_500 ((unsigned) (KEY_AUDIO_DESC)) - #define XLAT_STR_500 STRINGIFY(KEY_AUDIO_DESC) + #define XLAT_VAL_501 ((unsigned) (KEY_AUDIO_DESC)) + #define XLAT_STR_501 STRINGIFY(KEY_AUDIO_DESC) KEY_3D_MODE = XLAT(KEY_3D_MODE), - #define XLAT_VAL_501 ((unsigned) (KEY_3D_MODE)) - #define XLAT_STR_501 STRINGIFY(KEY_3D_MODE) + #define XLAT_VAL_502 ((unsigned) (KEY_3D_MODE)) + #define XLAT_STR_502 STRINGIFY(KEY_3D_MODE) KEY_NEXT_FAVORITE = XLAT(KEY_NEXT_FAVORITE), - #define XLAT_VAL_502 ((unsigned) (KEY_NEXT_FAVORITE)) - #define XLAT_STR_502 STRINGIFY(KEY_NEXT_FAVORITE) + #define XLAT_VAL_503 ((unsigned) (KEY_NEXT_FAVORITE)) + #define XLAT_STR_503 STRINGIFY(KEY_NEXT_FAVORITE) KEY_STOP_RECORD = XLAT(KEY_STOP_RECORD), - #define XLAT_VAL_503 ((unsigned) (KEY_STOP_RECORD)) - #define XLAT_STR_503 STRINGIFY(KEY_STOP_RECORD) + #define XLAT_VAL_504 ((unsigned) (KEY_STOP_RECORD)) + #define XLAT_STR_504 STRINGIFY(KEY_STOP_RECORD) KEY_PAUSE_RECORD = XLAT(KEY_PAUSE_RECORD), - #define XLAT_VAL_504 ((unsigned) (KEY_PAUSE_RECORD)) - #define XLAT_STR_504 STRINGIFY(KEY_PAUSE_RECORD) + #define XLAT_VAL_505 ((unsigned) (KEY_PAUSE_RECORD)) + #define XLAT_STR_505 STRINGIFY(KEY_PAUSE_RECORD) KEY_VOD = XLAT(KEY_VOD), - #define XLAT_VAL_505 ((unsigned) (KEY_VOD)) - #define XLAT_STR_505 STRINGIFY(KEY_VOD) + #define XLAT_VAL_506 ((unsigned) (KEY_VOD)) + #define XLAT_STR_506 STRINGIFY(KEY_VOD) KEY_UNMUTE = XLAT(KEY_UNMUTE), - #define XLAT_VAL_506 ((unsigned) (KEY_UNMUTE)) - #define XLAT_STR_506 STRINGIFY(KEY_UNMUTE) + #define XLAT_VAL_507 ((unsigned) (KEY_UNMUTE)) + #define XLAT_STR_507 STRINGIFY(KEY_UNMUTE) KEY_FASTREVERSE = XLAT(KEY_FASTREVERSE), - #define XLAT_VAL_507 ((unsigned) (KEY_FASTREVERSE)) - #define XLAT_STR_507 STRINGIFY(KEY_FASTREVERSE) + #define XLAT_VAL_508 ((unsigned) (KEY_FASTREVERSE)) + #define XLAT_STR_508 STRINGIFY(KEY_FASTREVERSE) KEY_SLOWREVERSE = XLAT(KEY_SLOWREVERSE), - #define XLAT_VAL_508 ((unsigned) (KEY_SLOWREVERSE)) - #define XLAT_STR_508 STRINGIFY(KEY_SLOWREVERSE) + #define XLAT_VAL_509 ((unsigned) (KEY_SLOWREVERSE)) + #define XLAT_STR_509 STRINGIFY(KEY_SLOWREVERSE) KEY_DATA = XLAT(KEY_DATA), - #define XLAT_VAL_509 ((unsigned) (KEY_DATA)) - #define XLAT_STR_509 STRINGIFY(KEY_DATA) + #define XLAT_VAL_510 ((unsigned) (KEY_DATA)) + #define XLAT_STR_510 STRINGIFY(KEY_DATA) KEY_ONSCREEN_KEYBOARD = XLAT(KEY_ONSCREEN_KEYBOARD), - #define XLAT_VAL_510 ((unsigned) (KEY_ONSCREEN_KEYBOARD)) - #define XLAT_STR_510 STRINGIFY(KEY_ONSCREEN_KEYBOARD) + #define XLAT_VAL_511 ((unsigned) (KEY_ONSCREEN_KEYBOARD)) + #define XLAT_STR_511 STRINGIFY(KEY_ONSCREEN_KEYBOARD) KEY_PRIVACY_SCREEN_TOGGLE = XLAT(KEY_PRIVACY_SCREEN_TOGGLE), - #define XLAT_VAL_511 ((unsigned) (KEY_PRIVACY_SCREEN_TOGGLE)) - #define XLAT_STR_511 STRINGIFY(KEY_PRIVACY_SCREEN_TOGGLE) + #define XLAT_VAL_512 ((unsigned) (KEY_PRIVACY_SCREEN_TOGGLE)) + #define XLAT_STR_512 STRINGIFY(KEY_PRIVACY_SCREEN_TOGGLE) KEY_SELECTIVE_SCREENSHOT = XLAT(KEY_SELECTIVE_SCREENSHOT), - #define XLAT_VAL_512 ((unsigned) (KEY_SELECTIVE_SCREENSHOT)) - #define XLAT_STR_512 STRINGIFY(KEY_SELECTIVE_SCREENSHOT) + #define XLAT_VAL_513 ((unsigned) (KEY_SELECTIVE_SCREENSHOT)) + #define XLAT_STR_513 STRINGIFY(KEY_SELECTIVE_SCREENSHOT) + + KEY_NEXT_ELEMENT = XLAT(KEY_NEXT_ELEMENT), + #define XLAT_VAL_514 ((unsigned) (KEY_NEXT_ELEMENT)) + #define XLAT_STR_514 STRINGIFY(KEY_NEXT_ELEMENT) + KEY_PREVIOUS_ELEMENT = XLAT(KEY_PREVIOUS_ELEMENT), + #define XLAT_VAL_515 ((unsigned) (KEY_PREVIOUS_ELEMENT)) + #define XLAT_STR_515 STRINGIFY(KEY_PREVIOUS_ELEMENT) + + KEY_AUTOPILOT_ENGAGE_TOGGLE = XLAT(KEY_AUTOPILOT_ENGAGE_TOGGLE), + #define XLAT_VAL_516 ((unsigned) (KEY_AUTOPILOT_ENGAGE_TOGGLE)) + #define XLAT_STR_516 STRINGIFY(KEY_AUTOPILOT_ENGAGE_TOGGLE) + + KEY_MARK_WAYPOINT = XLAT(KEY_MARK_WAYPOINT), + #define XLAT_VAL_517 ((unsigned) (KEY_MARK_WAYPOINT)) + #define XLAT_STR_517 STRINGIFY(KEY_MARK_WAYPOINT) + KEY_SOS = XLAT(KEY_SOS), + #define XLAT_VAL_518 ((unsigned) (KEY_SOS)) + #define XLAT_STR_518 STRINGIFY(KEY_SOS) + KEY_NAV_CHART = XLAT(KEY_NAV_CHART), + #define XLAT_VAL_519 ((unsigned) (KEY_NAV_CHART)) + #define XLAT_STR_519 STRINGIFY(KEY_NAV_CHART) + KEY_FISHING_CHART = XLAT(KEY_FISHING_CHART), + #define XLAT_VAL_520 ((unsigned) (KEY_FISHING_CHART)) + #define XLAT_STR_520 STRINGIFY(KEY_FISHING_CHART) + KEY_SINGLE_RANGE_RADAR = XLAT(KEY_SINGLE_RANGE_RADAR), + #define XLAT_VAL_521 ((unsigned) (KEY_SINGLE_RANGE_RADAR)) + #define XLAT_STR_521 STRINGIFY(KEY_SINGLE_RANGE_RADAR) + KEY_DUAL_RANGE_RADAR = XLAT(KEY_DUAL_RANGE_RADAR), + #define XLAT_VAL_522 ((unsigned) (KEY_DUAL_RANGE_RADAR)) + #define XLAT_STR_522 STRINGIFY(KEY_DUAL_RANGE_RADAR) + KEY_RADAR_OVERLAY = XLAT(KEY_RADAR_OVERLAY), + #define XLAT_VAL_523 ((unsigned) (KEY_RADAR_OVERLAY)) + #define XLAT_STR_523 STRINGIFY(KEY_RADAR_OVERLAY) + KEY_TRADITIONAL_SONAR = XLAT(KEY_TRADITIONAL_SONAR), + #define XLAT_VAL_524 ((unsigned) (KEY_TRADITIONAL_SONAR)) + #define XLAT_STR_524 STRINGIFY(KEY_TRADITIONAL_SONAR) + KEY_CLEARVU_SONAR = XLAT(KEY_CLEARVU_SONAR), + #define XLAT_VAL_525 ((unsigned) (KEY_CLEARVU_SONAR)) + #define XLAT_STR_525 STRINGIFY(KEY_CLEARVU_SONAR) + KEY_SIDEVU_SONAR = XLAT(KEY_SIDEVU_SONAR), + #define XLAT_VAL_526 ((unsigned) (KEY_SIDEVU_SONAR)) + #define XLAT_STR_526 STRINGIFY(KEY_SIDEVU_SONAR) + KEY_NAV_INFO = XLAT(KEY_NAV_INFO), + #define XLAT_VAL_527 ((unsigned) (KEY_NAV_INFO)) + #define XLAT_STR_527 STRINGIFY(KEY_NAV_INFO) + KEY_BRIGHTNESS_MENU = XLAT(KEY_BRIGHTNESS_MENU), + #define XLAT_VAL_528 ((unsigned) (KEY_BRIGHTNESS_MENU)) + #define XLAT_STR_528 STRINGIFY(KEY_BRIGHTNESS_MENU) KEY_MACRO1 = XLAT(KEY_MACRO1), - #define XLAT_VAL_513 ((unsigned) (KEY_MACRO1)) - #define XLAT_STR_513 STRINGIFY(KEY_MACRO1) + #define XLAT_VAL_529 ((unsigned) (KEY_MACRO1)) + #define XLAT_STR_529 STRINGIFY(KEY_MACRO1) KEY_MACRO2 = XLAT(KEY_MACRO2), - #define XLAT_VAL_514 ((unsigned) (KEY_MACRO2)) - #define XLAT_STR_514 STRINGIFY(KEY_MACRO2) + #define XLAT_VAL_530 ((unsigned) (KEY_MACRO2)) + #define XLAT_STR_530 STRINGIFY(KEY_MACRO2) KEY_MACRO3 = XLAT(KEY_MACRO3), - #define XLAT_VAL_515 ((unsigned) (KEY_MACRO3)) - #define XLAT_STR_515 STRINGIFY(KEY_MACRO3) + #define XLAT_VAL_531 ((unsigned) (KEY_MACRO3)) + #define XLAT_STR_531 STRINGIFY(KEY_MACRO3) KEY_MACRO4 = XLAT(KEY_MACRO4), - #define XLAT_VAL_516 ((unsigned) (KEY_MACRO4)) - #define XLAT_STR_516 STRINGIFY(KEY_MACRO4) + #define XLAT_VAL_532 ((unsigned) (KEY_MACRO4)) + #define XLAT_STR_532 STRINGIFY(KEY_MACRO4) KEY_MACRO5 = XLAT(KEY_MACRO5), - #define XLAT_VAL_517 ((unsigned) (KEY_MACRO5)) - #define XLAT_STR_517 STRINGIFY(KEY_MACRO5) + #define XLAT_VAL_533 ((unsigned) (KEY_MACRO5)) + #define XLAT_STR_533 STRINGIFY(KEY_MACRO5) KEY_MACRO6 = XLAT(KEY_MACRO6), - #define XLAT_VAL_518 ((unsigned) (KEY_MACRO6)) - #define XLAT_STR_518 STRINGIFY(KEY_MACRO6) + #define XLAT_VAL_534 ((unsigned) (KEY_MACRO6)) + #define XLAT_STR_534 STRINGIFY(KEY_MACRO6) KEY_MACRO7 = XLAT(KEY_MACRO7), - #define XLAT_VAL_519 ((unsigned) (KEY_MACRO7)) - #define XLAT_STR_519 STRINGIFY(KEY_MACRO7) + #define XLAT_VAL_535 ((unsigned) (KEY_MACRO7)) + #define XLAT_STR_535 STRINGIFY(KEY_MACRO7) KEY_MACRO8 = XLAT(KEY_MACRO8), - #define XLAT_VAL_520 ((unsigned) (KEY_MACRO8)) - #define XLAT_STR_520 STRINGIFY(KEY_MACRO8) + #define XLAT_VAL_536 ((unsigned) (KEY_MACRO8)) + #define XLAT_STR_536 STRINGIFY(KEY_MACRO8) KEY_MACRO9 = XLAT(KEY_MACRO9), - #define XLAT_VAL_521 ((unsigned) (KEY_MACRO9)) - #define XLAT_STR_521 STRINGIFY(KEY_MACRO9) + #define XLAT_VAL_537 ((unsigned) (KEY_MACRO9)) + #define XLAT_STR_537 STRINGIFY(KEY_MACRO9) KEY_MACRO10 = XLAT(KEY_MACRO10), - #define XLAT_VAL_522 ((unsigned) (KEY_MACRO10)) - #define XLAT_STR_522 STRINGIFY(KEY_MACRO10) + #define XLAT_VAL_538 ((unsigned) (KEY_MACRO10)) + #define XLAT_STR_538 STRINGIFY(KEY_MACRO10) KEY_MACRO11 = XLAT(KEY_MACRO11), - #define XLAT_VAL_523 ((unsigned) (KEY_MACRO11)) - #define XLAT_STR_523 STRINGIFY(KEY_MACRO11) + #define XLAT_VAL_539 ((unsigned) (KEY_MACRO11)) + #define XLAT_STR_539 STRINGIFY(KEY_MACRO11) KEY_MACRO12 = XLAT(KEY_MACRO12), - #define XLAT_VAL_524 ((unsigned) (KEY_MACRO12)) - #define XLAT_STR_524 STRINGIFY(KEY_MACRO12) + #define XLAT_VAL_540 ((unsigned) (KEY_MACRO12)) + #define XLAT_STR_540 STRINGIFY(KEY_MACRO12) KEY_MACRO13 = XLAT(KEY_MACRO13), - #define XLAT_VAL_525 ((unsigned) (KEY_MACRO13)) - #define XLAT_STR_525 STRINGIFY(KEY_MACRO13) + #define XLAT_VAL_541 ((unsigned) (KEY_MACRO13)) + #define XLAT_STR_541 STRINGIFY(KEY_MACRO13) KEY_MACRO14 = XLAT(KEY_MACRO14), - #define XLAT_VAL_526 ((unsigned) (KEY_MACRO14)) - #define XLAT_STR_526 STRINGIFY(KEY_MACRO14) + #define XLAT_VAL_542 ((unsigned) (KEY_MACRO14)) + #define XLAT_STR_542 STRINGIFY(KEY_MACRO14) KEY_MACRO15 = XLAT(KEY_MACRO15), - #define XLAT_VAL_527 ((unsigned) (KEY_MACRO15)) - #define XLAT_STR_527 STRINGIFY(KEY_MACRO15) + #define XLAT_VAL_543 ((unsigned) (KEY_MACRO15)) + #define XLAT_STR_543 STRINGIFY(KEY_MACRO15) KEY_MACRO16 = XLAT(KEY_MACRO16), - #define XLAT_VAL_528 ((unsigned) (KEY_MACRO16)) - #define XLAT_STR_528 STRINGIFY(KEY_MACRO16) + #define XLAT_VAL_544 ((unsigned) (KEY_MACRO16)) + #define XLAT_STR_544 STRINGIFY(KEY_MACRO16) KEY_MACRO17 = XLAT(KEY_MACRO17), - #define XLAT_VAL_529 ((unsigned) (KEY_MACRO17)) - #define XLAT_STR_529 STRINGIFY(KEY_MACRO17) + #define XLAT_VAL_545 ((unsigned) (KEY_MACRO17)) + #define XLAT_STR_545 STRINGIFY(KEY_MACRO17) KEY_MACRO18 = XLAT(KEY_MACRO18), - #define XLAT_VAL_530 ((unsigned) (KEY_MACRO18)) - #define XLAT_STR_530 STRINGIFY(KEY_MACRO18) + #define XLAT_VAL_546 ((unsigned) (KEY_MACRO18)) + #define XLAT_STR_546 STRINGIFY(KEY_MACRO18) KEY_MACRO19 = XLAT(KEY_MACRO19), - #define XLAT_VAL_531 ((unsigned) (KEY_MACRO19)) - #define XLAT_STR_531 STRINGIFY(KEY_MACRO19) + #define XLAT_VAL_547 ((unsigned) (KEY_MACRO19)) + #define XLAT_STR_547 STRINGIFY(KEY_MACRO19) KEY_MACRO20 = XLAT(KEY_MACRO20), - #define XLAT_VAL_532 ((unsigned) (KEY_MACRO20)) - #define XLAT_STR_532 STRINGIFY(KEY_MACRO20) + #define XLAT_VAL_548 ((unsigned) (KEY_MACRO20)) + #define XLAT_STR_548 STRINGIFY(KEY_MACRO20) KEY_MACRO21 = XLAT(KEY_MACRO21), - #define XLAT_VAL_533 ((unsigned) (KEY_MACRO21)) - #define XLAT_STR_533 STRINGIFY(KEY_MACRO21) + #define XLAT_VAL_549 ((unsigned) (KEY_MACRO21)) + #define XLAT_STR_549 STRINGIFY(KEY_MACRO21) KEY_MACRO22 = XLAT(KEY_MACRO22), - #define XLAT_VAL_534 ((unsigned) (KEY_MACRO22)) - #define XLAT_STR_534 STRINGIFY(KEY_MACRO22) + #define XLAT_VAL_550 ((unsigned) (KEY_MACRO22)) + #define XLAT_STR_550 STRINGIFY(KEY_MACRO22) KEY_MACRO23 = XLAT(KEY_MACRO23), - #define XLAT_VAL_535 ((unsigned) (KEY_MACRO23)) - #define XLAT_STR_535 STRINGIFY(KEY_MACRO23) + #define XLAT_VAL_551 ((unsigned) (KEY_MACRO23)) + #define XLAT_STR_551 STRINGIFY(KEY_MACRO23) KEY_MACRO24 = XLAT(KEY_MACRO24), - #define XLAT_VAL_536 ((unsigned) (KEY_MACRO24)) - #define XLAT_STR_536 STRINGIFY(KEY_MACRO24) + #define XLAT_VAL_552 ((unsigned) (KEY_MACRO24)) + #define XLAT_STR_552 STRINGIFY(KEY_MACRO24) KEY_MACRO25 = XLAT(KEY_MACRO25), - #define XLAT_VAL_537 ((unsigned) (KEY_MACRO25)) - #define XLAT_STR_537 STRINGIFY(KEY_MACRO25) + #define XLAT_VAL_553 ((unsigned) (KEY_MACRO25)) + #define XLAT_STR_553 STRINGIFY(KEY_MACRO25) KEY_MACRO26 = XLAT(KEY_MACRO26), - #define XLAT_VAL_538 ((unsigned) (KEY_MACRO26)) - #define XLAT_STR_538 STRINGIFY(KEY_MACRO26) + #define XLAT_VAL_554 ((unsigned) (KEY_MACRO26)) + #define XLAT_STR_554 STRINGIFY(KEY_MACRO26) KEY_MACRO27 = XLAT(KEY_MACRO27), - #define XLAT_VAL_539 ((unsigned) (KEY_MACRO27)) - #define XLAT_STR_539 STRINGIFY(KEY_MACRO27) + #define XLAT_VAL_555 ((unsigned) (KEY_MACRO27)) + #define XLAT_STR_555 STRINGIFY(KEY_MACRO27) KEY_MACRO28 = XLAT(KEY_MACRO28), - #define XLAT_VAL_540 ((unsigned) (KEY_MACRO28)) - #define XLAT_STR_540 STRINGIFY(KEY_MACRO28) + #define XLAT_VAL_556 ((unsigned) (KEY_MACRO28)) + #define XLAT_STR_556 STRINGIFY(KEY_MACRO28) KEY_MACRO29 = XLAT(KEY_MACRO29), - #define XLAT_VAL_541 ((unsigned) (KEY_MACRO29)) - #define XLAT_STR_541 STRINGIFY(KEY_MACRO29) + #define XLAT_VAL_557 ((unsigned) (KEY_MACRO29)) + #define XLAT_STR_557 STRINGIFY(KEY_MACRO29) KEY_MACRO30 = XLAT(KEY_MACRO30), - #define XLAT_VAL_542 ((unsigned) (KEY_MACRO30)) - #define XLAT_STR_542 STRINGIFY(KEY_MACRO30) + #define XLAT_VAL_558 ((unsigned) (KEY_MACRO30)) + #define XLAT_STR_558 STRINGIFY(KEY_MACRO30) KEY_MACRO_RECORD_START = XLAT(KEY_MACRO_RECORD_START), - #define XLAT_VAL_543 ((unsigned) (KEY_MACRO_RECORD_START)) - #define XLAT_STR_543 STRINGIFY(KEY_MACRO_RECORD_START) + #define XLAT_VAL_559 ((unsigned) (KEY_MACRO_RECORD_START)) + #define XLAT_STR_559 STRINGIFY(KEY_MACRO_RECORD_START) KEY_MACRO_RECORD_STOP = XLAT(KEY_MACRO_RECORD_STOP), - #define XLAT_VAL_544 ((unsigned) (KEY_MACRO_RECORD_STOP)) - #define XLAT_STR_544 STRINGIFY(KEY_MACRO_RECORD_STOP) + #define XLAT_VAL_560 ((unsigned) (KEY_MACRO_RECORD_STOP)) + #define XLAT_STR_560 STRINGIFY(KEY_MACRO_RECORD_STOP) KEY_MACRO_PRESET_CYCLE = XLAT(KEY_MACRO_PRESET_CYCLE), - #define XLAT_VAL_545 ((unsigned) (KEY_MACRO_PRESET_CYCLE)) - #define XLAT_STR_545 STRINGIFY(KEY_MACRO_PRESET_CYCLE) + #define XLAT_VAL_561 ((unsigned) (KEY_MACRO_PRESET_CYCLE)) + #define XLAT_STR_561 STRINGIFY(KEY_MACRO_PRESET_CYCLE) KEY_MACRO_PRESET1 = XLAT(KEY_MACRO_PRESET1), - #define XLAT_VAL_546 ((unsigned) (KEY_MACRO_PRESET1)) - #define XLAT_STR_546 STRINGIFY(KEY_MACRO_PRESET1) + #define XLAT_VAL_562 ((unsigned) (KEY_MACRO_PRESET1)) + #define XLAT_STR_562 STRINGIFY(KEY_MACRO_PRESET1) KEY_MACRO_PRESET2 = XLAT(KEY_MACRO_PRESET2), - #define XLAT_VAL_547 ((unsigned) (KEY_MACRO_PRESET2)) - #define XLAT_STR_547 STRINGIFY(KEY_MACRO_PRESET2) + #define XLAT_VAL_563 ((unsigned) (KEY_MACRO_PRESET2)) + #define XLAT_STR_563 STRINGIFY(KEY_MACRO_PRESET2) KEY_MACRO_PRESET3 = XLAT(KEY_MACRO_PRESET3), - #define XLAT_VAL_548 ((unsigned) (KEY_MACRO_PRESET3)) - #define XLAT_STR_548 STRINGIFY(KEY_MACRO_PRESET3) + #define XLAT_VAL_564 ((unsigned) (KEY_MACRO_PRESET3)) + #define XLAT_STR_564 STRINGIFY(KEY_MACRO_PRESET3) KEY_KBD_LCD_MENU1 = XLAT(KEY_KBD_LCD_MENU1), - #define XLAT_VAL_549 ((unsigned) (KEY_KBD_LCD_MENU1)) - #define XLAT_STR_549 STRINGIFY(KEY_KBD_LCD_MENU1) + #define XLAT_VAL_565 ((unsigned) (KEY_KBD_LCD_MENU1)) + #define XLAT_STR_565 STRINGIFY(KEY_KBD_LCD_MENU1) KEY_KBD_LCD_MENU2 = XLAT(KEY_KBD_LCD_MENU2), - #define XLAT_VAL_550 ((unsigned) (KEY_KBD_LCD_MENU2)) - #define XLAT_STR_550 STRINGIFY(KEY_KBD_LCD_MENU2) + #define XLAT_VAL_566 ((unsigned) (KEY_KBD_LCD_MENU2)) + #define XLAT_STR_566 STRINGIFY(KEY_KBD_LCD_MENU2) KEY_KBD_LCD_MENU3 = XLAT(KEY_KBD_LCD_MENU3), - #define XLAT_VAL_551 ((unsigned) (KEY_KBD_LCD_MENU3)) - #define XLAT_STR_551 STRINGIFY(KEY_KBD_LCD_MENU3) + #define XLAT_VAL_567 ((unsigned) (KEY_KBD_LCD_MENU3)) + #define XLAT_STR_567 STRINGIFY(KEY_KBD_LCD_MENU3) KEY_KBD_LCD_MENU4 = XLAT(KEY_KBD_LCD_MENU4), - #define XLAT_VAL_552 ((unsigned) (KEY_KBD_LCD_MENU4)) - #define XLAT_STR_552 STRINGIFY(KEY_KBD_LCD_MENU4) + #define XLAT_VAL_568 ((unsigned) (KEY_KBD_LCD_MENU4)) + #define XLAT_STR_568 STRINGIFY(KEY_KBD_LCD_MENU4) KEY_KBD_LCD_MENU5 = XLAT(KEY_KBD_LCD_MENU5), - #define XLAT_VAL_553 ((unsigned) (KEY_KBD_LCD_MENU5)) - #define XLAT_STR_553 STRINGIFY(KEY_KBD_LCD_MENU5) + #define XLAT_VAL_569 ((unsigned) (KEY_KBD_LCD_MENU5)) + #define XLAT_STR_569 STRINGIFY(KEY_KBD_LCD_MENU5) BTN_TRIGGER_HAPPY1 = XLAT(BTN_TRIGGER_HAPPY1), - #define XLAT_VAL_554 ((unsigned) (BTN_TRIGGER_HAPPY1)) - #define XLAT_STR_554 STRINGIFY(BTN_TRIGGER_HAPPY1) + #define XLAT_VAL_570 ((unsigned) (BTN_TRIGGER_HAPPY1)) + #define XLAT_STR_570 STRINGIFY(BTN_TRIGGER_HAPPY1) BTN_TRIGGER_HAPPY2 = XLAT(BTN_TRIGGER_HAPPY2), - #define XLAT_VAL_555 ((unsigned) (BTN_TRIGGER_HAPPY2)) - #define XLAT_STR_555 STRINGIFY(BTN_TRIGGER_HAPPY2) + #define XLAT_VAL_571 ((unsigned) (BTN_TRIGGER_HAPPY2)) + #define XLAT_STR_571 STRINGIFY(BTN_TRIGGER_HAPPY2) BTN_TRIGGER_HAPPY3 = XLAT(BTN_TRIGGER_HAPPY3), - #define XLAT_VAL_556 ((unsigned) (BTN_TRIGGER_HAPPY3)) - #define XLAT_STR_556 STRINGIFY(BTN_TRIGGER_HAPPY3) + #define XLAT_VAL_572 ((unsigned) (BTN_TRIGGER_HAPPY3)) + #define XLAT_STR_572 STRINGIFY(BTN_TRIGGER_HAPPY3) BTN_TRIGGER_HAPPY4 = XLAT(BTN_TRIGGER_HAPPY4), - #define XLAT_VAL_557 ((unsigned) (BTN_TRIGGER_HAPPY4)) - #define XLAT_STR_557 STRINGIFY(BTN_TRIGGER_HAPPY4) + #define XLAT_VAL_573 ((unsigned) (BTN_TRIGGER_HAPPY4)) + #define XLAT_STR_573 STRINGIFY(BTN_TRIGGER_HAPPY4) BTN_TRIGGER_HAPPY5 = XLAT(BTN_TRIGGER_HAPPY5), - #define XLAT_VAL_558 ((unsigned) (BTN_TRIGGER_HAPPY5)) - #define XLAT_STR_558 STRINGIFY(BTN_TRIGGER_HAPPY5) + #define XLAT_VAL_574 ((unsigned) (BTN_TRIGGER_HAPPY5)) + #define XLAT_STR_574 STRINGIFY(BTN_TRIGGER_HAPPY5) BTN_TRIGGER_HAPPY6 = XLAT(BTN_TRIGGER_HAPPY6), - #define XLAT_VAL_559 ((unsigned) (BTN_TRIGGER_HAPPY6)) - #define XLAT_STR_559 STRINGIFY(BTN_TRIGGER_HAPPY6) + #define XLAT_VAL_575 ((unsigned) (BTN_TRIGGER_HAPPY6)) + #define XLAT_STR_575 STRINGIFY(BTN_TRIGGER_HAPPY6) BTN_TRIGGER_HAPPY7 = XLAT(BTN_TRIGGER_HAPPY7), - #define XLAT_VAL_560 ((unsigned) (BTN_TRIGGER_HAPPY7)) - #define XLAT_STR_560 STRINGIFY(BTN_TRIGGER_HAPPY7) + #define XLAT_VAL_576 ((unsigned) (BTN_TRIGGER_HAPPY7)) + #define XLAT_STR_576 STRINGIFY(BTN_TRIGGER_HAPPY7) BTN_TRIGGER_HAPPY8 = XLAT(BTN_TRIGGER_HAPPY8), - #define XLAT_VAL_561 ((unsigned) (BTN_TRIGGER_HAPPY8)) - #define XLAT_STR_561 STRINGIFY(BTN_TRIGGER_HAPPY8) + #define XLAT_VAL_577 ((unsigned) (BTN_TRIGGER_HAPPY8)) + #define XLAT_STR_577 STRINGIFY(BTN_TRIGGER_HAPPY8) BTN_TRIGGER_HAPPY9 = XLAT(BTN_TRIGGER_HAPPY9), - #define XLAT_VAL_562 ((unsigned) (BTN_TRIGGER_HAPPY9)) - #define XLAT_STR_562 STRINGIFY(BTN_TRIGGER_HAPPY9) + #define XLAT_VAL_578 ((unsigned) (BTN_TRIGGER_HAPPY9)) + #define XLAT_STR_578 STRINGIFY(BTN_TRIGGER_HAPPY9) BTN_TRIGGER_HAPPY10 = XLAT(BTN_TRIGGER_HAPPY10), - #define XLAT_VAL_563 ((unsigned) (BTN_TRIGGER_HAPPY10)) - #define XLAT_STR_563 STRINGIFY(BTN_TRIGGER_HAPPY10) + #define XLAT_VAL_579 ((unsigned) (BTN_TRIGGER_HAPPY10)) + #define XLAT_STR_579 STRINGIFY(BTN_TRIGGER_HAPPY10) BTN_TRIGGER_HAPPY11 = XLAT(BTN_TRIGGER_HAPPY11), - #define XLAT_VAL_564 ((unsigned) (BTN_TRIGGER_HAPPY11)) - #define XLAT_STR_564 STRINGIFY(BTN_TRIGGER_HAPPY11) + #define XLAT_VAL_580 ((unsigned) (BTN_TRIGGER_HAPPY11)) + #define XLAT_STR_580 STRINGIFY(BTN_TRIGGER_HAPPY11) BTN_TRIGGER_HAPPY12 = XLAT(BTN_TRIGGER_HAPPY12), - #define XLAT_VAL_565 ((unsigned) (BTN_TRIGGER_HAPPY12)) - #define XLAT_STR_565 STRINGIFY(BTN_TRIGGER_HAPPY12) + #define XLAT_VAL_581 ((unsigned) (BTN_TRIGGER_HAPPY12)) + #define XLAT_STR_581 STRINGIFY(BTN_TRIGGER_HAPPY12) BTN_TRIGGER_HAPPY13 = XLAT(BTN_TRIGGER_HAPPY13), - #define XLAT_VAL_566 ((unsigned) (BTN_TRIGGER_HAPPY13)) - #define XLAT_STR_566 STRINGIFY(BTN_TRIGGER_HAPPY13) + #define XLAT_VAL_582 ((unsigned) (BTN_TRIGGER_HAPPY13)) + #define XLAT_STR_582 STRINGIFY(BTN_TRIGGER_HAPPY13) BTN_TRIGGER_HAPPY14 = XLAT(BTN_TRIGGER_HAPPY14), - #define XLAT_VAL_567 ((unsigned) (BTN_TRIGGER_HAPPY14)) - #define XLAT_STR_567 STRINGIFY(BTN_TRIGGER_HAPPY14) + #define XLAT_VAL_583 ((unsigned) (BTN_TRIGGER_HAPPY14)) + #define XLAT_STR_583 STRINGIFY(BTN_TRIGGER_HAPPY14) BTN_TRIGGER_HAPPY15 = XLAT(BTN_TRIGGER_HAPPY15), - #define XLAT_VAL_568 ((unsigned) (BTN_TRIGGER_HAPPY15)) - #define XLAT_STR_568 STRINGIFY(BTN_TRIGGER_HAPPY15) + #define XLAT_VAL_584 ((unsigned) (BTN_TRIGGER_HAPPY15)) + #define XLAT_STR_584 STRINGIFY(BTN_TRIGGER_HAPPY15) BTN_TRIGGER_HAPPY16 = XLAT(BTN_TRIGGER_HAPPY16), - #define XLAT_VAL_569 ((unsigned) (BTN_TRIGGER_HAPPY16)) - #define XLAT_STR_569 STRINGIFY(BTN_TRIGGER_HAPPY16) + #define XLAT_VAL_585 ((unsigned) (BTN_TRIGGER_HAPPY16)) + #define XLAT_STR_585 STRINGIFY(BTN_TRIGGER_HAPPY16) BTN_TRIGGER_HAPPY17 = XLAT(BTN_TRIGGER_HAPPY17), - #define XLAT_VAL_570 ((unsigned) (BTN_TRIGGER_HAPPY17)) - #define XLAT_STR_570 STRINGIFY(BTN_TRIGGER_HAPPY17) + #define XLAT_VAL_586 ((unsigned) (BTN_TRIGGER_HAPPY17)) + #define XLAT_STR_586 STRINGIFY(BTN_TRIGGER_HAPPY17) BTN_TRIGGER_HAPPY18 = XLAT(BTN_TRIGGER_HAPPY18), - #define XLAT_VAL_571 ((unsigned) (BTN_TRIGGER_HAPPY18)) - #define XLAT_STR_571 STRINGIFY(BTN_TRIGGER_HAPPY18) + #define XLAT_VAL_587 ((unsigned) (BTN_TRIGGER_HAPPY18)) + #define XLAT_STR_587 STRINGIFY(BTN_TRIGGER_HAPPY18) BTN_TRIGGER_HAPPY19 = XLAT(BTN_TRIGGER_HAPPY19), - #define XLAT_VAL_572 ((unsigned) (BTN_TRIGGER_HAPPY19)) - #define XLAT_STR_572 STRINGIFY(BTN_TRIGGER_HAPPY19) + #define XLAT_VAL_588 ((unsigned) (BTN_TRIGGER_HAPPY19)) + #define XLAT_STR_588 STRINGIFY(BTN_TRIGGER_HAPPY19) BTN_TRIGGER_HAPPY20 = XLAT(BTN_TRIGGER_HAPPY20), - #define XLAT_VAL_573 ((unsigned) (BTN_TRIGGER_HAPPY20)) - #define XLAT_STR_573 STRINGIFY(BTN_TRIGGER_HAPPY20) + #define XLAT_VAL_589 ((unsigned) (BTN_TRIGGER_HAPPY20)) + #define XLAT_STR_589 STRINGIFY(BTN_TRIGGER_HAPPY20) BTN_TRIGGER_HAPPY21 = XLAT(BTN_TRIGGER_HAPPY21), - #define XLAT_VAL_574 ((unsigned) (BTN_TRIGGER_HAPPY21)) - #define XLAT_STR_574 STRINGIFY(BTN_TRIGGER_HAPPY21) + #define XLAT_VAL_590 ((unsigned) (BTN_TRIGGER_HAPPY21)) + #define XLAT_STR_590 STRINGIFY(BTN_TRIGGER_HAPPY21) BTN_TRIGGER_HAPPY22 = XLAT(BTN_TRIGGER_HAPPY22), - #define XLAT_VAL_575 ((unsigned) (BTN_TRIGGER_HAPPY22)) - #define XLAT_STR_575 STRINGIFY(BTN_TRIGGER_HAPPY22) + #define XLAT_VAL_591 ((unsigned) (BTN_TRIGGER_HAPPY22)) + #define XLAT_STR_591 STRINGIFY(BTN_TRIGGER_HAPPY22) BTN_TRIGGER_HAPPY23 = XLAT(BTN_TRIGGER_HAPPY23), - #define XLAT_VAL_576 ((unsigned) (BTN_TRIGGER_HAPPY23)) - #define XLAT_STR_576 STRINGIFY(BTN_TRIGGER_HAPPY23) + #define XLAT_VAL_592 ((unsigned) (BTN_TRIGGER_HAPPY23)) + #define XLAT_STR_592 STRINGIFY(BTN_TRIGGER_HAPPY23) BTN_TRIGGER_HAPPY24 = XLAT(BTN_TRIGGER_HAPPY24), - #define XLAT_VAL_577 ((unsigned) (BTN_TRIGGER_HAPPY24)) - #define XLAT_STR_577 STRINGIFY(BTN_TRIGGER_HAPPY24) + #define XLAT_VAL_593 ((unsigned) (BTN_TRIGGER_HAPPY24)) + #define XLAT_STR_593 STRINGIFY(BTN_TRIGGER_HAPPY24) BTN_TRIGGER_HAPPY25 = XLAT(BTN_TRIGGER_HAPPY25), - #define XLAT_VAL_578 ((unsigned) (BTN_TRIGGER_HAPPY25)) - #define XLAT_STR_578 STRINGIFY(BTN_TRIGGER_HAPPY25) + #define XLAT_VAL_594 ((unsigned) (BTN_TRIGGER_HAPPY25)) + #define XLAT_STR_594 STRINGIFY(BTN_TRIGGER_HAPPY25) BTN_TRIGGER_HAPPY26 = XLAT(BTN_TRIGGER_HAPPY26), - #define XLAT_VAL_579 ((unsigned) (BTN_TRIGGER_HAPPY26)) - #define XLAT_STR_579 STRINGIFY(BTN_TRIGGER_HAPPY26) + #define XLAT_VAL_595 ((unsigned) (BTN_TRIGGER_HAPPY26)) + #define XLAT_STR_595 STRINGIFY(BTN_TRIGGER_HAPPY26) BTN_TRIGGER_HAPPY27 = XLAT(BTN_TRIGGER_HAPPY27), - #define XLAT_VAL_580 ((unsigned) (BTN_TRIGGER_HAPPY27)) - #define XLAT_STR_580 STRINGIFY(BTN_TRIGGER_HAPPY27) + #define XLAT_VAL_596 ((unsigned) (BTN_TRIGGER_HAPPY27)) + #define XLAT_STR_596 STRINGIFY(BTN_TRIGGER_HAPPY27) BTN_TRIGGER_HAPPY28 = XLAT(BTN_TRIGGER_HAPPY28), - #define XLAT_VAL_581 ((unsigned) (BTN_TRIGGER_HAPPY28)) - #define XLAT_STR_581 STRINGIFY(BTN_TRIGGER_HAPPY28) + #define XLAT_VAL_597 ((unsigned) (BTN_TRIGGER_HAPPY28)) + #define XLAT_STR_597 STRINGIFY(BTN_TRIGGER_HAPPY28) BTN_TRIGGER_HAPPY29 = XLAT(BTN_TRIGGER_HAPPY29), - #define XLAT_VAL_582 ((unsigned) (BTN_TRIGGER_HAPPY29)) - #define XLAT_STR_582 STRINGIFY(BTN_TRIGGER_HAPPY29) + #define XLAT_VAL_598 ((unsigned) (BTN_TRIGGER_HAPPY29)) + #define XLAT_STR_598 STRINGIFY(BTN_TRIGGER_HAPPY29) BTN_TRIGGER_HAPPY30 = XLAT(BTN_TRIGGER_HAPPY30), - #define XLAT_VAL_583 ((unsigned) (BTN_TRIGGER_HAPPY30)) - #define XLAT_STR_583 STRINGIFY(BTN_TRIGGER_HAPPY30) + #define XLAT_VAL_599 ((unsigned) (BTN_TRIGGER_HAPPY30)) + #define XLAT_STR_599 STRINGIFY(BTN_TRIGGER_HAPPY30) BTN_TRIGGER_HAPPY31 = XLAT(BTN_TRIGGER_HAPPY31), - #define XLAT_VAL_584 ((unsigned) (BTN_TRIGGER_HAPPY31)) - #define XLAT_STR_584 STRINGIFY(BTN_TRIGGER_HAPPY31) + #define XLAT_VAL_600 ((unsigned) (BTN_TRIGGER_HAPPY31)) + #define XLAT_STR_600 STRINGIFY(BTN_TRIGGER_HAPPY31) BTN_TRIGGER_HAPPY32 = XLAT(BTN_TRIGGER_HAPPY32), - #define XLAT_VAL_585 ((unsigned) (BTN_TRIGGER_HAPPY32)) - #define XLAT_STR_585 STRINGIFY(BTN_TRIGGER_HAPPY32) + #define XLAT_VAL_601 ((unsigned) (BTN_TRIGGER_HAPPY32)) + #define XLAT_STR_601 STRINGIFY(BTN_TRIGGER_HAPPY32) BTN_TRIGGER_HAPPY33 = XLAT(BTN_TRIGGER_HAPPY33), - #define XLAT_VAL_586 ((unsigned) (BTN_TRIGGER_HAPPY33)) - #define XLAT_STR_586 STRINGIFY(BTN_TRIGGER_HAPPY33) + #define XLAT_VAL_602 ((unsigned) (BTN_TRIGGER_HAPPY33)) + #define XLAT_STR_602 STRINGIFY(BTN_TRIGGER_HAPPY33) BTN_TRIGGER_HAPPY34 = XLAT(BTN_TRIGGER_HAPPY34), - #define XLAT_VAL_587 ((unsigned) (BTN_TRIGGER_HAPPY34)) - #define XLAT_STR_587 STRINGIFY(BTN_TRIGGER_HAPPY34) + #define XLAT_VAL_603 ((unsigned) (BTN_TRIGGER_HAPPY34)) + #define XLAT_STR_603 STRINGIFY(BTN_TRIGGER_HAPPY34) BTN_TRIGGER_HAPPY35 = XLAT(BTN_TRIGGER_HAPPY35), - #define XLAT_VAL_588 ((unsigned) (BTN_TRIGGER_HAPPY35)) - #define XLAT_STR_588 STRINGIFY(BTN_TRIGGER_HAPPY35) + #define XLAT_VAL_604 ((unsigned) (BTN_TRIGGER_HAPPY35)) + #define XLAT_STR_604 STRINGIFY(BTN_TRIGGER_HAPPY35) BTN_TRIGGER_HAPPY36 = XLAT(BTN_TRIGGER_HAPPY36), - #define XLAT_VAL_589 ((unsigned) (BTN_TRIGGER_HAPPY36)) - #define XLAT_STR_589 STRINGIFY(BTN_TRIGGER_HAPPY36) + #define XLAT_VAL_605 ((unsigned) (BTN_TRIGGER_HAPPY36)) + #define XLAT_STR_605 STRINGIFY(BTN_TRIGGER_HAPPY36) BTN_TRIGGER_HAPPY37 = XLAT(BTN_TRIGGER_HAPPY37), - #define XLAT_VAL_590 ((unsigned) (BTN_TRIGGER_HAPPY37)) - #define XLAT_STR_590 STRINGIFY(BTN_TRIGGER_HAPPY37) + #define XLAT_VAL_606 ((unsigned) (BTN_TRIGGER_HAPPY37)) + #define XLAT_STR_606 STRINGIFY(BTN_TRIGGER_HAPPY37) BTN_TRIGGER_HAPPY38 = XLAT(BTN_TRIGGER_HAPPY38), - #define XLAT_VAL_591 ((unsigned) (BTN_TRIGGER_HAPPY38)) - #define XLAT_STR_591 STRINGIFY(BTN_TRIGGER_HAPPY38) + #define XLAT_VAL_607 ((unsigned) (BTN_TRIGGER_HAPPY38)) + #define XLAT_STR_607 STRINGIFY(BTN_TRIGGER_HAPPY38) BTN_TRIGGER_HAPPY39 = XLAT(BTN_TRIGGER_HAPPY39), - #define XLAT_VAL_592 ((unsigned) (BTN_TRIGGER_HAPPY39)) - #define XLAT_STR_592 STRINGIFY(BTN_TRIGGER_HAPPY39) + #define XLAT_VAL_608 ((unsigned) (BTN_TRIGGER_HAPPY39)) + #define XLAT_STR_608 STRINGIFY(BTN_TRIGGER_HAPPY39) BTN_TRIGGER_HAPPY40 = XLAT(BTN_TRIGGER_HAPPY40), - #define XLAT_VAL_593 ((unsigned) (BTN_TRIGGER_HAPPY40)) - #define XLAT_STR_593 STRINGIFY(BTN_TRIGGER_HAPPY40) + #define XLAT_VAL_609 ((unsigned) (BTN_TRIGGER_HAPPY40)) + #define XLAT_STR_609 STRINGIFY(BTN_TRIGGER_HAPPY40) }; static const struct xlat evdev_keycode1 = { { @@ -3631,6 +3683,54 @@ # ifdef XLAT_VAL_593 | XLAT_VAL_593 # endif +# ifdef XLAT_VAL_594 + | XLAT_VAL_594 +# endif +# ifdef XLAT_VAL_595 + | XLAT_VAL_595 +# endif +# ifdef XLAT_VAL_596 + | XLAT_VAL_596 +# endif +# ifdef XLAT_VAL_597 + | XLAT_VAL_597 +# endif +# ifdef XLAT_VAL_598 + | XLAT_VAL_598 +# endif +# ifdef XLAT_VAL_599 + | XLAT_VAL_599 +# endif +# ifdef XLAT_VAL_600 + | XLAT_VAL_600 +# endif +# ifdef XLAT_VAL_601 + | XLAT_VAL_601 +# endif +# ifdef XLAT_VAL_602 + | XLAT_VAL_602 +# endif +# ifdef XLAT_VAL_603 + | XLAT_VAL_603 +# endif +# ifdef XLAT_VAL_604 + | XLAT_VAL_604 +# endif +# ifdef XLAT_VAL_605 + | XLAT_VAL_605 +# endif +# ifdef XLAT_VAL_606 + | XLAT_VAL_606 +# endif +# ifdef XLAT_VAL_607 + | XLAT_VAL_607 +# endif +# ifdef XLAT_VAL_608 + | XLAT_VAL_608 +# endif +# ifdef XLAT_VAL_609 + | XLAT_VAL_609 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -5415,6 +5515,54 @@ # ifdef XLAT_STR_593 + sizeof(XLAT_STR_593) # endif +# ifdef XLAT_STR_594 + + sizeof(XLAT_STR_594) +# endif +# ifdef XLAT_STR_595 + + sizeof(XLAT_STR_595) +# endif +# ifdef XLAT_STR_596 + + sizeof(XLAT_STR_596) +# endif +# ifdef XLAT_STR_597 + + sizeof(XLAT_STR_597) +# endif +# ifdef XLAT_STR_598 + + sizeof(XLAT_STR_598) +# endif +# ifdef XLAT_STR_599 + + sizeof(XLAT_STR_599) +# endif +# ifdef XLAT_STR_600 + + sizeof(XLAT_STR_600) +# endif +# ifdef XLAT_STR_601 + + sizeof(XLAT_STR_601) +# endif +# ifdef XLAT_STR_602 + + sizeof(XLAT_STR_602) +# endif +# ifdef XLAT_STR_603 + + sizeof(XLAT_STR_603) +# endif +# ifdef XLAT_STR_604 + + sizeof(XLAT_STR_604) +# endif +# ifdef XLAT_STR_605 + + sizeof(XLAT_STR_605) +# endif +# ifdef XLAT_STR_606 + + sizeof(XLAT_STR_606) +# endif +# ifdef XLAT_STR_607 + + sizeof(XLAT_STR_607) +# endif +# ifdef XLAT_STR_608 + + sizeof(XLAT_STR_608) +# endif +# ifdef XLAT_STR_609 + + sizeof(XLAT_STR_609) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -6607,6 +6755,38 @@ # undef XLAT_VAL_592 # undef XLAT_STR_593 # undef XLAT_VAL_593 +# undef XLAT_STR_594 +# undef XLAT_VAL_594 +# undef XLAT_STR_595 +# undef XLAT_VAL_595 +# undef XLAT_STR_596 +# undef XLAT_VAL_596 +# undef XLAT_STR_597 +# undef XLAT_VAL_597 +# undef XLAT_STR_598 +# undef XLAT_VAL_598 +# undef XLAT_STR_599 +# undef XLAT_VAL_599 +# undef XLAT_STR_600 +# undef XLAT_VAL_600 +# undef XLAT_STR_601 +# undef XLAT_VAL_601 +# undef XLAT_STR_602 +# undef XLAT_VAL_602 +# undef XLAT_STR_603 +# undef XLAT_VAL_603 +# undef XLAT_STR_604 +# undef XLAT_VAL_604 +# undef XLAT_STR_605 +# undef XLAT_VAL_605 +# undef XLAT_STR_606 +# undef XLAT_VAL_606 +# undef XLAT_STR_607 +# undef XLAT_VAL_607 +# undef XLAT_STR_608 +# undef XLAT_VAL_608 +# undef XLAT_STR_609 +# undef XLAT_VAL_609 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_keycode.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_keycode.in
Changed
@@ -204,7 +204,7 @@ KEY_PAUSECD KEY_PROG3 KEY_PROG4 -KEY_DASHBOARD +KEY_ALL_APPLICATIONS KEY_SUSPEND KEY_CLOSE KEY_PLAY @@ -519,6 +519,7 @@ KEY_ASSISTANT KEY_KBD_LAYOUT_NEXT KEY_EMOJI_PICKER +KEY_DICTATE KEY_BRIGHTNESS_MIN KEY_BRIGHTNESS_MAX @@ -556,6 +557,24 @@ KEY_SELECTIVE_SCREENSHOT +KEY_NEXT_ELEMENT +KEY_PREVIOUS_ELEMENT + +KEY_AUTOPILOT_ENGAGE_TOGGLE + +KEY_MARK_WAYPOINT +KEY_SOS +KEY_NAV_CHART +KEY_FISHING_CHART +KEY_SINGLE_RANGE_RADAR +KEY_DUAL_RANGE_RADAR +KEY_RADAR_OVERLAY +KEY_TRADITIONAL_SONAR +KEY_CLEARVU_SONAR +KEY_SIDEVU_SONAR +KEY_NAV_INFO +KEY_BRIGHTNESS_MENU + KEY_MACRO1 KEY_MACRO2 KEY_MACRO3
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_leds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_leds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_misc.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_misc.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_mtslots.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_mtslots.h
Changed
@@ -3,6 +3,127 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_SLOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_SLOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_SLOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TOUCH_MAJOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TOUCH_MAJOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TOUCH_MAJOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TOUCH_MINOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TOUCH_MINOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TOUCH_MINOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_WIDTH_MAJOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_WIDTH_MAJOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_WIDTH_MAJOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_WIDTH_MINOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_WIDTH_MINOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_WIDTH_MINOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_ORIENTATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_ORIENTATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_ORIENTATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_POSITION_X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_POSITION_X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_POSITION_X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_POSITION_Y) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_POSITION_Y" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_POSITION_Y) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TOOL_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TOOL_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TOOL_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_BLOB_ID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_BLOB_ID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_BLOB_ID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TRACKING_ID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TRACKING_ID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TRACKING_ID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_PRESSURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_PRESSURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_PRESSURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_DISTANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_DISTANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_DISTANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TOOL_X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TOOL_X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TOOL_X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ABS_MT_TOOL_Y) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ABS_MT_TOOL_Y" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ABS_MT_TOOL_Y) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_prop.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_prop.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_relative_axes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_relative_axes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_snd.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_snd.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/evdev_switch.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/evdev_switch.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/f_owner_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/f_owner_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/f_seals.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/f_seals.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/faccessat_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/faccessat_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define AT_EMPTY_PATH 0x1000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/falloc_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/falloc_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_classes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_classes.h
Changed
@@ -24,6 +24,7 @@ #else # define FAN_CLASS_PRE_CONTENT 0x00000008 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_event_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_event_flags.h
Changed
@@ -101,6 +101,13 @@ #else # define FAN_Q_OVERFLOW 0x00004000 #endif +#if defined(FAN_FS_ERROR) || (defined(HAVE_DECL_FAN_FS_ERROR) && HAVE_DECL_FAN_FS_ERROR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_FS_ERROR) == (0x00008000), "FAN_FS_ERROR != 0x00008000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_FS_ERROR 0x00008000 +#endif #if defined(FAN_OPEN_PERM) || (defined(HAVE_DECL_FAN_OPEN_PERM) && HAVE_DECL_FAN_OPEN_PERM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((FAN_OPEN_PERM) == (0x00010000), "FAN_OPEN_PERM != 0x00010000"); @@ -143,6 +150,14 @@ #else # define FAN_EVENT_ON_CHILD 0x08000000 #endif +#if defined(FAN_RENAME) || (defined(HAVE_DECL_FAN_RENAME) && HAVE_DECL_FAN_RENAME) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_RENAME) == (0x10000000), "FAN_RENAME != 0x10000000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_RENAME 0x10000000 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -196,24 +211,30 @@ XLAT(FAN_Q_OVERFLOW), #define XLAT_VAL_13 ((unsigned) (FAN_Q_OVERFLOW)) #define XLAT_STR_13 STRINGIFY(FAN_Q_OVERFLOW) + XLAT(FAN_FS_ERROR), + #define XLAT_VAL_14 ((unsigned) (FAN_FS_ERROR)) + #define XLAT_STR_14 STRINGIFY(FAN_FS_ERROR) XLAT(FAN_OPEN_PERM), - #define XLAT_VAL_14 ((unsigned) (FAN_OPEN_PERM)) - #define XLAT_STR_14 STRINGIFY(FAN_OPEN_PERM) + #define XLAT_VAL_15 ((unsigned) (FAN_OPEN_PERM)) + #define XLAT_STR_15 STRINGIFY(FAN_OPEN_PERM) XLAT(FAN_ACCESS_PERM), - #define XLAT_VAL_15 ((unsigned) (FAN_ACCESS_PERM)) - #define XLAT_STR_15 STRINGIFY(FAN_ACCESS_PERM) + #define XLAT_VAL_16 ((unsigned) (FAN_ACCESS_PERM)) + #define XLAT_STR_16 STRINGIFY(FAN_ACCESS_PERM) XLAT(FAN_OPEN_EXEC_PERM), - #define XLAT_VAL_16 ((unsigned) (FAN_OPEN_EXEC_PERM)) - #define XLAT_STR_16 STRINGIFY(FAN_OPEN_EXEC_PERM) + #define XLAT_VAL_17 ((unsigned) (FAN_OPEN_EXEC_PERM)) + #define XLAT_STR_17 STRINGIFY(FAN_OPEN_EXEC_PERM) XLAT(FAN_DIR_MODIFY), - #define XLAT_VAL_17 ((unsigned) (FAN_DIR_MODIFY)) - #define XLAT_STR_17 STRINGIFY(FAN_DIR_MODIFY) + #define XLAT_VAL_18 ((unsigned) (FAN_DIR_MODIFY)) + #define XLAT_STR_18 STRINGIFY(FAN_DIR_MODIFY) XLAT(FAN_ONDIR), - #define XLAT_VAL_18 ((unsigned) (FAN_ONDIR)) - #define XLAT_STR_18 STRINGIFY(FAN_ONDIR) + #define XLAT_VAL_19 ((unsigned) (FAN_ONDIR)) + #define XLAT_STR_19 STRINGIFY(FAN_ONDIR) XLAT(FAN_EVENT_ON_CHILD), - #define XLAT_VAL_19 ((unsigned) (FAN_EVENT_ON_CHILD)) - #define XLAT_STR_19 STRINGIFY(FAN_EVENT_ON_CHILD) + #define XLAT_VAL_20 ((unsigned) (FAN_EVENT_ON_CHILD)) + #define XLAT_STR_20 STRINGIFY(FAN_EVENT_ON_CHILD) + XLAT(FAN_RENAME), + #define XLAT_VAL_21 ((unsigned) (FAN_RENAME)) + #define XLAT_STR_21 STRINGIFY(FAN_RENAME) }; static const struct xlat fan_event_flags1 = { { @@ -281,6 +302,12 @@ # ifdef XLAT_VAL_19 | XLAT_VAL_19 # endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -343,6 +370,12 @@ # ifdef XLAT_STR_19 + sizeof(XLAT_STR_19) # endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -387,6 +420,10 @@ # undef XLAT_VAL_18 # undef XLAT_STR_19 # undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_event_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_event_flags.in
Changed
@@ -12,9 +12,11 @@ FAN_MOVE_SELF 0x00000800 FAN_OPEN_EXEC 0x00001000 FAN_Q_OVERFLOW 0x00004000 +FAN_FS_ERROR 0x00008000 FAN_OPEN_PERM 0x00010000 FAN_ACCESS_PERM 0x00020000 FAN_OPEN_EXEC_PERM 0x00040000 FAN_DIR_MODIFY 0x00080000 FAN_ONDIR 0x40000000 FAN_EVENT_ON_CHILD 0x08000000 +FAN_RENAME 0x10000000
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_init_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_init_flags.h
Changed
@@ -38,6 +38,13 @@ #else # define FAN_ENABLE_AUDIT 0x00000040 #endif +#if defined(FAN_REPORT_PIDFD) || (defined(HAVE_DECL_FAN_REPORT_PIDFD) && HAVE_DECL_FAN_REPORT_PIDFD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_REPORT_PIDFD) == (0x00000080), "FAN_REPORT_PIDFD != 0x00000080"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_REPORT_PIDFD 0x00000080 +#endif #if defined(FAN_REPORT_TID) || (defined(HAVE_DECL_FAN_REPORT_TID) && HAVE_DECL_FAN_REPORT_TID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((FAN_REPORT_TID) == (0x00000100), "FAN_REPORT_TID != 0x00000100"); @@ -66,6 +73,14 @@ #else # define FAN_REPORT_NAME 0x00000800 #endif +#if defined(FAN_REPORT_TARGET_FID) || (defined(HAVE_DECL_FAN_REPORT_TARGET_FID) && HAVE_DECL_FAN_REPORT_TARGET_FID) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_REPORT_TARGET_FID) == (0x00001000), "FAN_REPORT_TARGET_FID != 0x00001000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_REPORT_TARGET_FID 0x00001000 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -92,18 +107,24 @@ XLAT(FAN_ENABLE_AUDIT), #define XLAT_VAL_4 ((unsigned) (FAN_ENABLE_AUDIT)) #define XLAT_STR_4 STRINGIFY(FAN_ENABLE_AUDIT) + XLAT(FAN_REPORT_PIDFD), + #define XLAT_VAL_5 ((unsigned) (FAN_REPORT_PIDFD)) + #define XLAT_STR_5 STRINGIFY(FAN_REPORT_PIDFD) XLAT(FAN_REPORT_TID), - #define XLAT_VAL_5 ((unsigned) (FAN_REPORT_TID)) - #define XLAT_STR_5 STRINGIFY(FAN_REPORT_TID) + #define XLAT_VAL_6 ((unsigned) (FAN_REPORT_TID)) + #define XLAT_STR_6 STRINGIFY(FAN_REPORT_TID) XLAT(FAN_REPORT_FID), - #define XLAT_VAL_6 ((unsigned) (FAN_REPORT_FID)) - #define XLAT_STR_6 STRINGIFY(FAN_REPORT_FID) + #define XLAT_VAL_7 ((unsigned) (FAN_REPORT_FID)) + #define XLAT_STR_7 STRINGIFY(FAN_REPORT_FID) XLAT(FAN_REPORT_DIR_FID), - #define XLAT_VAL_7 ((unsigned) (FAN_REPORT_DIR_FID)) - #define XLAT_STR_7 STRINGIFY(FAN_REPORT_DIR_FID) + #define XLAT_VAL_8 ((unsigned) (FAN_REPORT_DIR_FID)) + #define XLAT_STR_8 STRINGIFY(FAN_REPORT_DIR_FID) XLAT(FAN_REPORT_NAME), - #define XLAT_VAL_8 ((unsigned) (FAN_REPORT_NAME)) - #define XLAT_STR_8 STRINGIFY(FAN_REPORT_NAME) + #define XLAT_VAL_9 ((unsigned) (FAN_REPORT_NAME)) + #define XLAT_STR_9 STRINGIFY(FAN_REPORT_NAME) + XLAT(FAN_REPORT_TARGET_FID), + #define XLAT_VAL_10 ((unsigned) (FAN_REPORT_TARGET_FID)) + #define XLAT_STR_10 STRINGIFY(FAN_REPORT_TARGET_FID) }; static const struct xlat fan_init_flags1 = { { @@ -138,6 +159,12 @@ # ifdef XLAT_VAL_8 | XLAT_VAL_8 # endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -167,6 +194,12 @@ # ifdef XLAT_STR_8 + sizeof(XLAT_STR_8) # endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -189,6 +222,10 @@ # undef XLAT_VAL_7 # undef XLAT_STR_8 # undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_init_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_init_flags.in
Changed
@@ -1,9 +1,11 @@ -FAN_CLOEXEC 0x00000001 -FAN_NONBLOCK 0x00000002 -FAN_UNLIMITED_QUEUE 0x00000010 -FAN_UNLIMITED_MARKS 0x00000020 -FAN_ENABLE_AUDIT 0x00000040 -FAN_REPORT_TID 0x00000100 -FAN_REPORT_FID 0x00000200 -FAN_REPORT_DIR_FID 0x00000400 -FAN_REPORT_NAME 0x00000800 +FAN_CLOEXEC 0x00000001 +FAN_NONBLOCK 0x00000002 +FAN_UNLIMITED_QUEUE 0x00000010 +FAN_UNLIMITED_MARKS 0x00000020 +FAN_ENABLE_AUDIT 0x00000040 +FAN_REPORT_PIDFD 0x00000080 +FAN_REPORT_TID 0x00000100 +FAN_REPORT_FID 0x00000200 +FAN_REPORT_DIR_FID 0x00000400 +FAN_REPORT_NAME 0x00000800 +FAN_REPORT_TARGET_FID 0x00001000
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_mark_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_mark_flags.h
Changed
@@ -66,6 +66,21 @@ #else # define FAN_MARK_FILESYSTEM 0x00000100 #endif +#if defined(FAN_MARK_EVICTABLE) || (defined(HAVE_DECL_FAN_MARK_EVICTABLE) && HAVE_DECL_FAN_MARK_EVICTABLE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_MARK_EVICTABLE) == (0x00000200), "FAN_MARK_EVICTABLE != 0x00000200"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_MARK_EVICTABLE 0x00000200 +#endif +#if defined(FAN_MARK_IGNORE) || (defined(HAVE_DECL_FAN_MARK_IGNORE) && HAVE_DECL_FAN_MARK_IGNORE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FAN_MARK_IGNORE) == (0x00000400), "FAN_MARK_IGNORE != 0x00000400"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FAN_MARK_IGNORE 0x00000400 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -104,6 +119,12 @@ XLAT(FAN_MARK_FILESYSTEM), #define XLAT_VAL_8 ((unsigned) (FAN_MARK_FILESYSTEM)) #define XLAT_STR_8 STRINGIFY(FAN_MARK_FILESYSTEM) + XLAT(FAN_MARK_EVICTABLE), + #define XLAT_VAL_9 ((unsigned) (FAN_MARK_EVICTABLE)) + #define XLAT_STR_9 STRINGIFY(FAN_MARK_EVICTABLE) + XLAT(FAN_MARK_IGNORE), + #define XLAT_VAL_10 ((unsigned) (FAN_MARK_IGNORE)) + #define XLAT_STR_10 STRINGIFY(FAN_MARK_IGNORE) }; static const struct xlat fan_mark_flags1 = { { @@ -138,6 +159,12 @@ # ifdef XLAT_VAL_8 | XLAT_VAL_8 # endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -167,6 +194,12 @@ # ifdef XLAT_STR_8 + sizeof(XLAT_STR_8) # endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -189,6 +222,10 @@ # undef XLAT_VAL_7 # undef XLAT_STR_8 # undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fan_mark_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fan_mark_flags.in
Changed
@@ -1,9 +1,11 @@ -FAN_MARK_ADD 0x00000001 -FAN_MARK_REMOVE 0x00000002 -FAN_MARK_DONT_FOLLOW 0x00000004 -FAN_MARK_ONLYDIR 0x00000008 -FAN_MARK_MOUNT 0x00000010 -FAN_MARK_IGNORED_MASK 0x00000020 -FAN_MARK_IGNORED_SURV_MODIFY 0x00000040 -FAN_MARK_FLUSH 0x00000080 -FAN_MARK_FILESYSTEM 0x00000100 +FAN_MARK_ADD 0x00000001 +FAN_MARK_REMOVE 0x00000002 +FAN_MARK_DONT_FOLLOW 0x00000004 +FAN_MARK_ONLYDIR 0x00000008 +FAN_MARK_MOUNT 0x00000010 +FAN_MARK_IGNORED_MASK 0x00000020 +FAN_MARK_IGNORED_SURV_MODIFY 0x00000040 +FAN_MARK_FLUSH 0x00000080 +FAN_MARK_FILESYSTEM 0x00000100 +FAN_MARK_EVICTABLE 0x00000200 +FAN_MARK_IGNORE 0x00000400
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fcntlcmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fcntlcmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/fdb_notify_flags.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/fdb_notify_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(FDB_NOTIFY_BIT) || (defined(HAVE_DECL_FDB_NOTIFY_BIT) && HAVE_DECL_FDB_NOTIFY_BIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FDB_NOTIFY_BIT) == ((1 << 0)), "FDB_NOTIFY_BIT != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FDB_NOTIFY_BIT (1 << 0) +#endif +#if defined(FDB_NOTIFY_INACTIVE_BIT) || (defined(HAVE_DECL_FDB_NOTIFY_INACTIVE_BIT) && HAVE_DECL_FDB_NOTIFY_INACTIVE_BIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((FDB_NOTIFY_INACTIVE_BIT) == ((1 << 1)), "FDB_NOTIFY_INACTIVE_BIT != (1 << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define FDB_NOTIFY_INACTIVE_BIT (1 << 1) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat fdb_notify_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data fdb_notify_flags_xdata = { + XLAT(FDB_NOTIFY_BIT), + #define XLAT_VAL_0 ((unsigned) (FDB_NOTIFY_BIT)) + #define XLAT_STR_0 STRINGIFY(FDB_NOTIFY_BIT) + XLAT(FDB_NOTIFY_INACTIVE_BIT), + #define XLAT_VAL_1 ((unsigned) (FDB_NOTIFY_INACTIVE_BIT)) + #define XLAT_STR_1 STRINGIFY(FDB_NOTIFY_INACTIVE_BIT) +}; +static +const struct xlat fdb_notify_flags1 = { { + .data = fdb_notify_flags_xdata, + .size = ARRAY_SIZE(fdb_notify_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/fdb_notify_flags.in
Added
@@ -0,0 +1,2 @@ +FDB_NOTIFY_BIT (1 << 0) +FDB_NOTIFY_INACTIVE_BIT (1 << 1)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fdflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fdflags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fib_rule_actions.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fib_rule_actions.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fib_rule_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fib_rule_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fiemap_extent_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fiemap_extent_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fiemap_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fiemap_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/flockcmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/flockcmds.h
Changed
@@ -59,6 +59,7 @@ #else # define LOCK_WRITE 128 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fs_ioc_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fs_ioc_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fs_xflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fs_xflags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsconfig_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsconfig_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsmagic.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsmagic.h
Changed
@@ -10,6 +10,16 @@ #else # define QNX4_SUPER_MAGIC 0x0000002f #endif +#if defined(QNX4_SUPER_MAGIC) || (defined(HAVE_DECL_QNX4_SUPER_MAGIC) && HAVE_DECL_QNX4_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (QNX4_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: QNX4_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (QNX4_SUPER_MAGIC) +#endif #if defined(Z3FOLD_MAGIC) || (defined(HAVE_DECL_Z3FOLD_MAGIC) && HAVE_DECL_Z3FOLD_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((Z3FOLD_MAGIC) == (0x00000033), "Z3FOLD_MAGIC != 0x00000033"); @@ -17,6 +27,16 @@ #else # define Z3FOLD_MAGIC 0x00000033 #endif +#if defined(Z3FOLD_MAGIC) || (defined(HAVE_DECL_Z3FOLD_MAGIC) && HAVE_DECL_Z3FOLD_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (Z3FOLD_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: Z3FOLD_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (Z3FOLD_MAGIC) +#endif #if defined(AUTOFS_SUPER_MAGIC) || (defined(HAVE_DECL_AUTOFS_SUPER_MAGIC) && HAVE_DECL_AUTOFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUTOFS_SUPER_MAGIC) == (0x00000187), "AUTOFS_SUPER_MAGIC != 0x00000187"); @@ -24,6 +44,16 @@ #else # define AUTOFS_SUPER_MAGIC 0x00000187 #endif +#if defined(AUTOFS_SUPER_MAGIC) || (defined(HAVE_DECL_AUTOFS_SUPER_MAGIC) && HAVE_DECL_AUTOFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUTOFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUTOFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUTOFS_SUPER_MAGIC) +#endif #if defined(DEVFS_SUPER_MAGIC) || (defined(HAVE_DECL_DEVFS_SUPER_MAGIC) && HAVE_DECL_DEVFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DEVFS_SUPER_MAGIC) == (0x00001373), "DEVFS_SUPER_MAGIC != 0x00001373"); @@ -31,6 +61,16 @@ #else # define DEVFS_SUPER_MAGIC 0x00001373 #endif +#if defined(DEVFS_SUPER_MAGIC) || (defined(HAVE_DECL_DEVFS_SUPER_MAGIC) && HAVE_DECL_DEVFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DEVFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DEVFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DEVFS_SUPER_MAGIC) +#endif #if defined(EXT_SUPER_MAGIC) || (defined(HAVE_DECL_EXT_SUPER_MAGIC) && HAVE_DECL_EXT_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EXT_SUPER_MAGIC) == (0x0000137d), "EXT_SUPER_MAGIC != 0x0000137d"); @@ -38,6 +78,16 @@ #else # define EXT_SUPER_MAGIC 0x0000137d #endif +#if defined(EXT_SUPER_MAGIC) || (defined(HAVE_DECL_EXT_SUPER_MAGIC) && HAVE_DECL_EXT_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EXT_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EXT_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EXT_SUPER_MAGIC) +#endif #if defined(MINIX_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX_SUPER_MAGIC) && HAVE_DECL_MINIX_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MINIX_SUPER_MAGIC) == (0x0000137f), "MINIX_SUPER_MAGIC != 0x0000137f"); @@ -45,6 +95,16 @@ #else # define MINIX_SUPER_MAGIC 0x0000137f #endif +#if defined(MINIX_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX_SUPER_MAGIC) && HAVE_DECL_MINIX_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MINIX_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MINIX_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MINIX_SUPER_MAGIC) +#endif #if defined(MINIX_SUPER_MAGIC2) || (defined(HAVE_DECL_MINIX_SUPER_MAGIC2) && HAVE_DECL_MINIX_SUPER_MAGIC2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MINIX_SUPER_MAGIC2) == (0x0000138f), "MINIX_SUPER_MAGIC2 != 0x0000138f"); @@ -52,6 +112,16 @@ #else # define MINIX_SUPER_MAGIC2 0x0000138f #endif +#if defined(MINIX_SUPER_MAGIC2) || (defined(HAVE_DECL_MINIX_SUPER_MAGIC2) && HAVE_DECL_MINIX_SUPER_MAGIC2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MINIX_SUPER_MAGIC2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MINIX_SUPER_MAGIC2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MINIX_SUPER_MAGIC2) +#endif #if defined(DEVPTS_SUPER_MAGIC) || (defined(HAVE_DECL_DEVPTS_SUPER_MAGIC) && HAVE_DECL_DEVPTS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DEVPTS_SUPER_MAGIC) == (0x00001cd1), "DEVPTS_SUPER_MAGIC != 0x00001cd1"); @@ -59,6 +129,16 @@ #else # define DEVPTS_SUPER_MAGIC 0x00001cd1 #endif +#if defined(DEVPTS_SUPER_MAGIC) || (defined(HAVE_DECL_DEVPTS_SUPER_MAGIC) && HAVE_DECL_DEVPTS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DEVPTS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DEVPTS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DEVPTS_SUPER_MAGIC) +#endif #if defined(MINIX2_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX2_SUPER_MAGIC) && HAVE_DECL_MINIX2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MINIX2_SUPER_MAGIC) == (0x00002468), "MINIX2_SUPER_MAGIC != 0x00002468"); @@ -66,6 +146,16 @@ #else # define MINIX2_SUPER_MAGIC 0x00002468 #endif +#if defined(MINIX2_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX2_SUPER_MAGIC) && HAVE_DECL_MINIX2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MINIX2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MINIX2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MINIX2_SUPER_MAGIC) +#endif #if defined(MINIX2_SUPER_MAGIC2) || (defined(HAVE_DECL_MINIX2_SUPER_MAGIC2) && HAVE_DECL_MINIX2_SUPER_MAGIC2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MINIX2_SUPER_MAGIC2) == (0x00002478), "MINIX2_SUPER_MAGIC2 != 0x00002478"); @@ -73,6 +163,16 @@ #else # define MINIX2_SUPER_MAGIC2 0x00002478 #endif +#if defined(MINIX2_SUPER_MAGIC2) || (defined(HAVE_DECL_MINIX2_SUPER_MAGIC2) && HAVE_DECL_MINIX2_SUPER_MAGIC2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MINIX2_SUPER_MAGIC2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MINIX2_SUPER_MAGIC2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MINIX2_SUPER_MAGIC2) +#endif #if defined(NILFS_SUPER_MAGIC) || (defined(HAVE_DECL_NILFS_SUPER_MAGIC) && HAVE_DECL_NILFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NILFS_SUPER_MAGIC) == (0x00003434), "NILFS_SUPER_MAGIC != 0x00003434"); @@ -80,6 +180,16 @@ #else # define NILFS_SUPER_MAGIC 0x00003434 #endif +#if defined(NILFS_SUPER_MAGIC) || (defined(HAVE_DECL_NILFS_SUPER_MAGIC) && HAVE_DECL_NILFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NILFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NILFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NILFS_SUPER_MAGIC) +#endif #if defined(HFS_SUPER_MAGIC) || (defined(HAVE_DECL_HFS_SUPER_MAGIC) && HAVE_DECL_HFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((HFS_SUPER_MAGIC) == (0x00004244), "HFS_SUPER_MAGIC != 0x00004244"); @@ -87,6 +197,16 @@ #else # define HFS_SUPER_MAGIC 0x00004244 #endif +#if defined(HFS_SUPER_MAGIC) || (defined(HAVE_DECL_HFS_SUPER_MAGIC) && HAVE_DECL_HFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (HFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: HFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (HFS_SUPER_MAGIC) +#endif #if defined(HFSPLUS_SUPER_MAGIC) || (defined(HAVE_DECL_HFSPLUS_SUPER_MAGIC) && HAVE_DECL_HFSPLUS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((HFSPLUS_SUPER_MAGIC) == (0x0000482b), "HFSPLUS_SUPER_MAGIC != 0x0000482b"); @@ -94,6 +214,16 @@ #else # define HFSPLUS_SUPER_MAGIC 0x0000482b #endif +#if defined(HFSPLUS_SUPER_MAGIC) || (defined(HAVE_DECL_HFSPLUS_SUPER_MAGIC) && HAVE_DECL_HFSPLUS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (HFSPLUS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: HFSPLUS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (HFSPLUS_SUPER_MAGIC) +#endif #if defined(MSDOS_SUPER_MAGIC) || (defined(HAVE_DECL_MSDOS_SUPER_MAGIC) && HAVE_DECL_MSDOS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MSDOS_SUPER_MAGIC) == (0x00004d44), "MSDOS_SUPER_MAGIC != 0x00004d44"); @@ -101,6 +231,16 @@ #else # define MSDOS_SUPER_MAGIC 0x00004d44 #endif +#if defined(MSDOS_SUPER_MAGIC) || (defined(HAVE_DECL_MSDOS_SUPER_MAGIC) && HAVE_DECL_MSDOS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MSDOS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MSDOS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MSDOS_SUPER_MAGIC) +#endif #if defined(MINIX3_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX3_SUPER_MAGIC) && HAVE_DECL_MINIX3_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MINIX3_SUPER_MAGIC) == (0x00004d5a), "MINIX3_SUPER_MAGIC != 0x00004d5a"); @@ -108,6 +248,16 @@ #else # define MINIX3_SUPER_MAGIC 0x00004d5a #endif +#if defined(MINIX3_SUPER_MAGIC) || (defined(HAVE_DECL_MINIX3_SUPER_MAGIC) && HAVE_DECL_MINIX3_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MINIX3_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MINIX3_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MINIX3_SUPER_MAGIC) +#endif #if defined(SMB_SUPER_MAGIC) || (defined(HAVE_DECL_SMB_SUPER_MAGIC) && HAVE_DECL_SMB_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMB_SUPER_MAGIC) == (0x0000517b), "SMB_SUPER_MAGIC != 0x0000517b"); @@ -115,6 +265,16 @@ #else # define SMB_SUPER_MAGIC 0x0000517b #endif +#if defined(SMB_SUPER_MAGIC) || (defined(HAVE_DECL_SMB_SUPER_MAGIC) && HAVE_DECL_SMB_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMB_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMB_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMB_SUPER_MAGIC) +#endif #if defined(NCP_SUPER_MAGIC) || (defined(HAVE_DECL_NCP_SUPER_MAGIC) && HAVE_DECL_NCP_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NCP_SUPER_MAGIC) == (0x0000564c), "NCP_SUPER_MAGIC != 0x0000564c"); @@ -122,6 +282,16 @@ #else # define NCP_SUPER_MAGIC 0x0000564c #endif +#if defined(NCP_SUPER_MAGIC) || (defined(HAVE_DECL_NCP_SUPER_MAGIC) && HAVE_DECL_NCP_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NCP_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NCP_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NCP_SUPER_MAGIC) +#endif #if defined(EXOFS_SUPER_MAGIC) || (defined(HAVE_DECL_EXOFS_SUPER_MAGIC) && HAVE_DECL_EXOFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EXOFS_SUPER_MAGIC) == (0x00005df5), "EXOFS_SUPER_MAGIC != 0x00005df5"); @@ -129,6 +299,16 @@ #else # define EXOFS_SUPER_MAGIC 0x00005df5 #endif +#if defined(EXOFS_SUPER_MAGIC) || (defined(HAVE_DECL_EXOFS_SUPER_MAGIC) && HAVE_DECL_EXOFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EXOFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EXOFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EXOFS_SUPER_MAGIC) +#endif #if defined(NFS_SUPER_MAGIC) || (defined(HAVE_DECL_NFS_SUPER_MAGIC) && HAVE_DECL_NFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NFS_SUPER_MAGIC) == (0x00006969), "NFS_SUPER_MAGIC != 0x00006969"); @@ -136,6 +316,16 @@ #else # define NFS_SUPER_MAGIC 0x00006969 #endif +#if defined(NFS_SUPER_MAGIC) || (defined(HAVE_DECL_NFS_SUPER_MAGIC) && HAVE_DECL_NFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NFS_SUPER_MAGIC) +#endif #if defined(ROMFS_MAGIC) || (defined(HAVE_DECL_ROMFS_MAGIC) && HAVE_DECL_ROMFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ROMFS_MAGIC) == (0x00007275), "ROMFS_MAGIC != 0x00007275"); @@ -143,6 +333,16 @@ #else # define ROMFS_MAGIC 0x00007275 #endif +#if defined(ROMFS_MAGIC) || (defined(HAVE_DECL_ROMFS_MAGIC) && HAVE_DECL_ROMFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ROMFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ROMFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ROMFS_MAGIC) +#endif #if defined(JFFS2_SUPER_MAGIC) || (defined(HAVE_DECL_JFFS2_SUPER_MAGIC) && HAVE_DECL_JFFS2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((JFFS2_SUPER_MAGIC) == (0x000072b6), "JFFS2_SUPER_MAGIC != 0x000072b6"); @@ -150,6 +350,16 @@ #else # define JFFS2_SUPER_MAGIC 0x000072b6 #endif +#if defined(JFFS2_SUPER_MAGIC) || (defined(HAVE_DECL_JFFS2_SUPER_MAGIC) && HAVE_DECL_JFFS2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (JFFS2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: JFFS2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (JFFS2_SUPER_MAGIC) +#endif #if defined(ISOFS_SUPER_MAGIC) || (defined(HAVE_DECL_ISOFS_SUPER_MAGIC) && HAVE_DECL_ISOFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ISOFS_SUPER_MAGIC) == (0x00009660), "ISOFS_SUPER_MAGIC != 0x00009660"); @@ -157,6 +367,16 @@ #else # define ISOFS_SUPER_MAGIC 0x00009660 #endif +#if defined(ISOFS_SUPER_MAGIC) || (defined(HAVE_DECL_ISOFS_SUPER_MAGIC) && HAVE_DECL_ISOFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ISOFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ISOFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ISOFS_SUPER_MAGIC) +#endif #if defined(PROC_SUPER_MAGIC) || (defined(HAVE_DECL_PROC_SUPER_MAGIC) && HAVE_DECL_PROC_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PROC_SUPER_MAGIC) == (0x00009fa0), "PROC_SUPER_MAGIC != 0x00009fa0"); @@ -164,6 +384,16 @@ #else # define PROC_SUPER_MAGIC 0x00009fa0 #endif +#if defined(PROC_SUPER_MAGIC) || (defined(HAVE_DECL_PROC_SUPER_MAGIC) && HAVE_DECL_PROC_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PROC_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PROC_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PROC_SUPER_MAGIC) +#endif #if defined(OPENPROM_SUPER_MAGIC) || (defined(HAVE_DECL_OPENPROM_SUPER_MAGIC) && HAVE_DECL_OPENPROM_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((OPENPROM_SUPER_MAGIC) == (0x00009fa1), "OPENPROM_SUPER_MAGIC != 0x00009fa1"); @@ -171,6 +401,16 @@ #else # define OPENPROM_SUPER_MAGIC 0x00009fa1 #endif +#if defined(OPENPROM_SUPER_MAGIC) || (defined(HAVE_DECL_OPENPROM_SUPER_MAGIC) && HAVE_DECL_OPENPROM_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (OPENPROM_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: OPENPROM_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (OPENPROM_SUPER_MAGIC) +#endif #if defined(USBDEVICE_SUPER_MAGIC) || (defined(HAVE_DECL_USBDEVICE_SUPER_MAGIC) && HAVE_DECL_USBDEVICE_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((USBDEVICE_SUPER_MAGIC) == (0x00009fa2), "USBDEVICE_SUPER_MAGIC != 0x00009fa2"); @@ -178,6 +418,16 @@ #else # define USBDEVICE_SUPER_MAGIC 0x00009fa2 #endif +#if defined(USBDEVICE_SUPER_MAGIC) || (defined(HAVE_DECL_USBDEVICE_SUPER_MAGIC) && HAVE_DECL_USBDEVICE_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (USBDEVICE_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: USBDEVICE_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (USBDEVICE_SUPER_MAGIC) +#endif #if defined(ADFS_SUPER_MAGIC) || (defined(HAVE_DECL_ADFS_SUPER_MAGIC) && HAVE_DECL_ADFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ADFS_SUPER_MAGIC) == (0x0000adf5), "ADFS_SUPER_MAGIC != 0x0000adf5"); @@ -185,6 +435,16 @@ #else # define ADFS_SUPER_MAGIC 0x0000adf5 #endif +#if defined(ADFS_SUPER_MAGIC) || (defined(HAVE_DECL_ADFS_SUPER_MAGIC) && HAVE_DECL_ADFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ADFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ADFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ADFS_SUPER_MAGIC) +#endif #if defined(AFFS_SUPER_MAGIC) || (defined(HAVE_DECL_AFFS_SUPER_MAGIC) && HAVE_DECL_AFFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AFFS_SUPER_MAGIC) == (0x0000adff), "AFFS_SUPER_MAGIC != 0x0000adff"); @@ -192,6 +452,16 @@ #else # define AFFS_SUPER_MAGIC 0x0000adff #endif +#if defined(AFFS_SUPER_MAGIC) || (defined(HAVE_DECL_AFFS_SUPER_MAGIC) && HAVE_DECL_AFFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AFFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AFFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AFFS_SUPER_MAGIC) +#endif #if defined(EXT2_OLD_SUPER_MAGIC) || (defined(HAVE_DECL_EXT2_OLD_SUPER_MAGIC) && HAVE_DECL_EXT2_OLD_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EXT2_OLD_SUPER_MAGIC) == (0x0000ef51), "EXT2_OLD_SUPER_MAGIC != 0x0000ef51"); @@ -199,6 +469,16 @@ #else # define EXT2_OLD_SUPER_MAGIC 0x0000ef51 #endif +#if defined(EXT2_OLD_SUPER_MAGIC) || (defined(HAVE_DECL_EXT2_OLD_SUPER_MAGIC) && HAVE_DECL_EXT2_OLD_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EXT2_OLD_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EXT2_OLD_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EXT2_OLD_SUPER_MAGIC) +#endif #if defined(EXT2_SUPER_MAGIC) || (defined(HAVE_DECL_EXT2_SUPER_MAGIC) && HAVE_DECL_EXT2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EXT2_SUPER_MAGIC) == (0x0000ef53), "EXT2_SUPER_MAGIC != 0x0000ef53"); @@ -206,6 +486,16 @@ #else # define EXT2_SUPER_MAGIC 0x0000ef53 #endif +#if defined(EXT2_SUPER_MAGIC) || (defined(HAVE_DECL_EXT2_SUPER_MAGIC) && HAVE_DECL_EXT2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EXT2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EXT2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EXT2_SUPER_MAGIC) +#endif #if defined(ECRYPTFS_SUPER_MAGIC) || (defined(HAVE_DECL_ECRYPTFS_SUPER_MAGIC) && HAVE_DECL_ECRYPTFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ECRYPTFS_SUPER_MAGIC) == (0x0000f15f), "ECRYPTFS_SUPER_MAGIC != 0x0000f15f"); @@ -213,6 +503,16 @@ #else # define ECRYPTFS_SUPER_MAGIC 0x0000f15f #endif +#if defined(ECRYPTFS_SUPER_MAGIC) || (defined(HAVE_DECL_ECRYPTFS_SUPER_MAGIC) && HAVE_DECL_ECRYPTFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ECRYPTFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ECRYPTFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ECRYPTFS_SUPER_MAGIC) +#endif #if defined(UFS_MAGIC) || (defined(HAVE_DECL_UFS_MAGIC) && HAVE_DECL_UFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((UFS_MAGIC) == (0x00011954), "UFS_MAGIC != 0x00011954"); @@ -220,6 +520,16 @@ #else # define UFS_MAGIC 0x00011954 #endif +#if defined(UFS_MAGIC) || (defined(HAVE_DECL_UFS_MAGIC) && HAVE_DECL_UFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (UFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: UFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (UFS_MAGIC) +#endif #if defined(CGROUP_SUPER_MAGIC) || (defined(HAVE_DECL_CGROUP_SUPER_MAGIC) && HAVE_DECL_CGROUP_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CGROUP_SUPER_MAGIC) == (0x0027e0eb), "CGROUP_SUPER_MAGIC != 0x0027e0eb"); @@ -227,6 +537,16 @@ #else # define CGROUP_SUPER_MAGIC 0x0027e0eb #endif +#if defined(CGROUP_SUPER_MAGIC) || (defined(HAVE_DECL_CGROUP_SUPER_MAGIC) && HAVE_DECL_CGROUP_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CGROUP_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CGROUP_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CGROUP_SUPER_MAGIC) +#endif #if defined(EFS_SUPER_MAGIC) || (defined(HAVE_DECL_EFS_SUPER_MAGIC) && HAVE_DECL_EFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EFS_SUPER_MAGIC) == (0x00414a53), "EFS_SUPER_MAGIC != 0x00414a53"); @@ -234,6 +554,16 @@ #else # define EFS_SUPER_MAGIC 0x00414a53 #endif +#if defined(EFS_SUPER_MAGIC) || (defined(HAVE_DECL_EFS_SUPER_MAGIC) && HAVE_DECL_EFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EFS_SUPER_MAGIC) +#endif #if defined(HOSTFS_SUPER_MAGIC) || (defined(HAVE_DECL_HOSTFS_SUPER_MAGIC) && HAVE_DECL_HOSTFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((HOSTFS_SUPER_MAGIC) == (0x00c0ffee), "HOSTFS_SUPER_MAGIC != 0x00c0ffee"); @@ -241,6 +571,16 @@ #else # define HOSTFS_SUPER_MAGIC 0x00c0ffee #endif +#if defined(HOSTFS_SUPER_MAGIC) || (defined(HAVE_DECL_HOSTFS_SUPER_MAGIC) && HAVE_DECL_HOSTFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (HOSTFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: HOSTFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (HOSTFS_SUPER_MAGIC) +#endif #if defined(CEPH_SUPER_MAGIC) || (defined(HAVE_DECL_CEPH_SUPER_MAGIC) && HAVE_DECL_CEPH_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CEPH_SUPER_MAGIC) == (0x00c36400), "CEPH_SUPER_MAGIC != 0x00c36400"); @@ -248,6 +588,16 @@ #else # define CEPH_SUPER_MAGIC 0x00c36400 #endif +#if defined(CEPH_SUPER_MAGIC) || (defined(HAVE_DECL_CEPH_SUPER_MAGIC) && HAVE_DECL_CEPH_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CEPH_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CEPH_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CEPH_SUPER_MAGIC) +#endif #if defined(TMPFS_MAGIC) || (defined(HAVE_DECL_TMPFS_MAGIC) && HAVE_DECL_TMPFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TMPFS_MAGIC) == (0x01021994), "TMPFS_MAGIC != 0x01021994"); @@ -255,6 +605,16 @@ #else # define TMPFS_MAGIC 0x01021994 #endif +#if defined(TMPFS_MAGIC) || (defined(HAVE_DECL_TMPFS_MAGIC) && HAVE_DECL_TMPFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TMPFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TMPFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TMPFS_MAGIC) +#endif #if defined(V9FS_MAGIC) || (defined(HAVE_DECL_V9FS_MAGIC) && HAVE_DECL_V9FS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((V9FS_MAGIC) == (0x01021997), "V9FS_MAGIC != 0x01021997"); @@ -262,6 +622,16 @@ #else # define V9FS_MAGIC 0x01021997 #endif +#if defined(V9FS_MAGIC) || (defined(HAVE_DECL_V9FS_MAGIC) && HAVE_DECL_V9FS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V9FS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V9FS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V9FS_MAGIC) +#endif #if defined(GFS2_MAGIC) || (defined(HAVE_DECL_GFS2_MAGIC) && HAVE_DECL_GFS2_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GFS2_MAGIC) == (0x01161970), "GFS2_MAGIC != 0x01161970"); @@ -269,6 +639,16 @@ #else # define GFS2_MAGIC 0x01161970 #endif +#if defined(GFS2_MAGIC) || (defined(HAVE_DECL_GFS2_MAGIC) && HAVE_DECL_GFS2_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GFS2_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GFS2_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GFS2_MAGIC) +#endif #if defined(XIAFS_SUPER_MAGIC) || (defined(HAVE_DECL_XIAFS_SUPER_MAGIC) && HAVE_DECL_XIAFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XIAFS_SUPER_MAGIC) == (0x012fd16d), "XIAFS_SUPER_MAGIC != 0x012fd16d"); @@ -276,6 +656,16 @@ #else # define XIAFS_SUPER_MAGIC 0x012fd16d #endif +#if defined(XIAFS_SUPER_MAGIC) || (defined(HAVE_DECL_XIAFS_SUPER_MAGIC) && HAVE_DECL_XIAFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XIAFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XIAFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XIAFS_SUPER_MAGIC) +#endif #if defined(XENIX_SUPER_MAGIC) || (defined(HAVE_DECL_XENIX_SUPER_MAGIC) && HAVE_DECL_XENIX_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XENIX_SUPER_MAGIC) == (0x012ff7b4), "XENIX_SUPER_MAGIC != 0x012ff7b4"); @@ -283,6 +673,16 @@ #else # define XENIX_SUPER_MAGIC 0x012ff7b4 #endif +#if defined(XENIX_SUPER_MAGIC) || (defined(HAVE_DECL_XENIX_SUPER_MAGIC) && HAVE_DECL_XENIX_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XENIX_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XENIX_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XENIX_SUPER_MAGIC) +#endif #if defined(SYSV4_SUPER_MAGIC) || (defined(HAVE_DECL_SYSV4_SUPER_MAGIC) && HAVE_DECL_SYSV4_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYSV4_SUPER_MAGIC) == (0x012ff7b5), "SYSV4_SUPER_MAGIC != 0x012ff7b5"); @@ -290,6 +690,16 @@ #else # define SYSV4_SUPER_MAGIC 0x012ff7b5 #endif +#if defined(SYSV4_SUPER_MAGIC) || (defined(HAVE_DECL_SYSV4_SUPER_MAGIC) && HAVE_DECL_SYSV4_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SYSV4_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SYSV4_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SYSV4_SUPER_MAGIC) +#endif #if defined(SYSV2_SUPER_MAGIC) || (defined(HAVE_DECL_SYSV2_SUPER_MAGIC) && HAVE_DECL_SYSV2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYSV2_SUPER_MAGIC) == (0x012ff7b6), "SYSV2_SUPER_MAGIC != 0x012ff7b6"); @@ -297,6 +707,16 @@ #else # define SYSV2_SUPER_MAGIC 0x012ff7b6 #endif +#if defined(SYSV2_SUPER_MAGIC) || (defined(HAVE_DECL_SYSV2_SUPER_MAGIC) && HAVE_DECL_SYSV2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SYSV2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SYSV2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SYSV2_SUPER_MAGIC) +#endif #if defined(COH_SUPER_MAGIC) || (defined(HAVE_DECL_COH_SUPER_MAGIC) && HAVE_DECL_COH_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((COH_SUPER_MAGIC) == (0x012ff7b7), "COH_SUPER_MAGIC != 0x012ff7b7"); @@ -304,6 +724,16 @@ #else # define COH_SUPER_MAGIC 0x012ff7b7 #endif +#if defined(COH_SUPER_MAGIC) || (defined(HAVE_DECL_COH_SUPER_MAGIC) && HAVE_DECL_COH_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (COH_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: COH_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (COH_SUPER_MAGIC) +#endif #if defined(SHMFS_SUPER_MAGIC) || (defined(HAVE_DECL_SHMFS_SUPER_MAGIC) && HAVE_DECL_SHMFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHMFS_SUPER_MAGIC) == (0x02011994), "SHMFS_SUPER_MAGIC != 0x02011994"); @@ -311,6 +741,16 @@ #else # define SHMFS_SUPER_MAGIC 0x02011994 #endif +#if defined(SHMFS_SUPER_MAGIC) || (defined(HAVE_DECL_SHMFS_SUPER_MAGIC) && HAVE_DECL_SHMFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHMFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHMFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHMFS_SUPER_MAGIC) +#endif #if defined(ANON_INODE_FS_MAGIC) || (defined(HAVE_DECL_ANON_INODE_FS_MAGIC) && HAVE_DECL_ANON_INODE_FS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ANON_INODE_FS_MAGIC) == (0x09041934), "ANON_INODE_FS_MAGIC != 0x09041934"); @@ -318,6 +758,16 @@ #else # define ANON_INODE_FS_MAGIC 0x09041934 #endif +#if defined(ANON_INODE_FS_MAGIC) || (defined(HAVE_DECL_ANON_INODE_FS_MAGIC) && HAVE_DECL_ANON_INODE_FS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ANON_INODE_FS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ANON_INODE_FS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ANON_INODE_FS_MAGIC) +#endif #if defined(FUTEXFS_SUPER_MAGIC) || (defined(HAVE_DECL_FUTEXFS_SUPER_MAGIC) && HAVE_DECL_FUTEXFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((FUTEXFS_SUPER_MAGIC) == (0x0bad1dea), "FUTEXFS_SUPER_MAGIC != 0x0bad1dea"); @@ -325,6 +775,16 @@ #else # define FUTEXFS_SUPER_MAGIC 0x0bad1dea #endif +#if defined(FUTEXFS_SUPER_MAGIC) || (defined(HAVE_DECL_FUTEXFS_SUPER_MAGIC) && HAVE_DECL_FUTEXFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FUTEXFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FUTEXFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FUTEXFS_SUPER_MAGIC) +#endif #if defined(MTD_INODE_FS_MAGIC) || (defined(HAVE_DECL_MTD_INODE_FS_MAGIC) && HAVE_DECL_MTD_INODE_FS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MTD_INODE_FS_MAGIC) == (0x11307854), "MTD_INODE_FS_MAGIC != 0x11307854"); @@ -332,6 +792,16 @@ #else # define MTD_INODE_FS_MAGIC 0x11307854 #endif +#if defined(MTD_INODE_FS_MAGIC) || (defined(HAVE_DECL_MTD_INODE_FS_MAGIC) && HAVE_DECL_MTD_INODE_FS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MTD_INODE_FS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MTD_INODE_FS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MTD_INODE_FS_MAGIC) +#endif #if defined(BALLOON_KVM_MAGIC) || (defined(HAVE_DECL_BALLOON_KVM_MAGIC) && HAVE_DECL_BALLOON_KVM_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BALLOON_KVM_MAGIC) == (0x13661366), "BALLOON_KVM_MAGIC != 0x13661366"); @@ -339,6 +809,16 @@ #else # define BALLOON_KVM_MAGIC 0x13661366 #endif +#if defined(BALLOON_KVM_MAGIC) || (defined(HAVE_DECL_BALLOON_KVM_MAGIC) && HAVE_DECL_BALLOON_KVM_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BALLOON_KVM_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BALLOON_KVM_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BALLOON_KVM_MAGIC) +#endif #if defined(UDF_SUPER_MAGIC) || (defined(HAVE_DECL_UDF_SUPER_MAGIC) && HAVE_DECL_UDF_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((UDF_SUPER_MAGIC) == (0x15013346), "UDF_SUPER_MAGIC != 0x15013346"); @@ -346,6 +826,16 @@ #else # define UDF_SUPER_MAGIC 0x15013346 #endif +#if defined(UDF_SUPER_MAGIC) || (defined(HAVE_DECL_UDF_SUPER_MAGIC) && HAVE_DECL_UDF_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (UDF_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: UDF_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (UDF_SUPER_MAGIC) +#endif #if defined(BFS_MAGIC) || (defined(HAVE_DECL_BFS_MAGIC) && HAVE_DECL_BFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BFS_MAGIC) == (0x1badface), "BFS_MAGIC != 0x1badface"); @@ -353,6 +843,33 @@ #else # define BFS_MAGIC 0x1badface #endif +#if defined(BFS_MAGIC) || (defined(HAVE_DECL_BFS_MAGIC) && HAVE_DECL_BFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BFS_MAGIC) +#endif +#if defined(EXFAT_SUPER_MAGIC) || (defined(HAVE_DECL_EXFAT_SUPER_MAGIC) && HAVE_DECL_EXFAT_SUPER_MAGIC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((EXFAT_SUPER_MAGIC) == (0x2011bab0), "EXFAT_SUPER_MAGIC != 0x2011bab0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define EXFAT_SUPER_MAGIC 0x2011bab0 +#endif +#if defined(EXFAT_SUPER_MAGIC) || (defined(HAVE_DECL_EXFAT_SUPER_MAGIC) && HAVE_DECL_EXFAT_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EXFAT_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EXFAT_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EXFAT_SUPER_MAGIC) +#endif #if defined(UBIFS_SUPER_MAGIC) || (defined(HAVE_DECL_UBIFS_SUPER_MAGIC) && HAVE_DECL_UBIFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((UBIFS_SUPER_MAGIC) == (0x24051905), "UBIFS_SUPER_MAGIC != 0x24051905"); @@ -360,6 +877,16 @@ #else # define UBIFS_SUPER_MAGIC 0x24051905 #endif +#if defined(UBIFS_SUPER_MAGIC) || (defined(HAVE_DECL_UBIFS_SUPER_MAGIC) && HAVE_DECL_UBIFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (UBIFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: UBIFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (UBIFS_SUPER_MAGIC) +#endif #if defined(CRAMFS_MAGIC) || (defined(HAVE_DECL_CRAMFS_MAGIC) && HAVE_DECL_CRAMFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CRAMFS_MAGIC) == (0x28cd3d45), "CRAMFS_MAGIC != 0x28cd3d45"); @@ -367,6 +894,16 @@ #else # define CRAMFS_MAGIC 0x28cd3d45 #endif +#if defined(CRAMFS_MAGIC) || (defined(HAVE_DECL_CRAMFS_MAGIC) && HAVE_DECL_CRAMFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CRAMFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CRAMFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CRAMFS_MAGIC) +#endif #if defined(ZFS_SUPER_MAGIC) || (defined(HAVE_DECL_ZFS_SUPER_MAGIC) && HAVE_DECL_ZFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ZFS_SUPER_MAGIC) == (0x2fc12fc1), "ZFS_SUPER_MAGIC != 0x2fc12fc1"); @@ -374,6 +911,16 @@ #else # define ZFS_SUPER_MAGIC 0x2fc12fc1 #endif +#if defined(ZFS_SUPER_MAGIC) || (defined(HAVE_DECL_ZFS_SUPER_MAGIC) && HAVE_DECL_ZFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ZFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ZFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ZFS_SUPER_MAGIC) +#endif #if defined(JFS_SUPER_MAGIC) || (defined(HAVE_DECL_JFS_SUPER_MAGIC) && HAVE_DECL_JFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((JFS_SUPER_MAGIC) == (0x3153464a), "JFS_SUPER_MAGIC != 0x3153464a"); @@ -381,6 +928,16 @@ #else # define JFS_SUPER_MAGIC 0x3153464a #endif +#if defined(JFS_SUPER_MAGIC) || (defined(HAVE_DECL_JFS_SUPER_MAGIC) && HAVE_DECL_JFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (JFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: JFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (JFS_SUPER_MAGIC) +#endif #if defined(BEFS_SUPER_MAGIC) || (defined(HAVE_DECL_BEFS_SUPER_MAGIC) && HAVE_DECL_BEFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BEFS_SUPER_MAGIC) == (0x42465331), "BEFS_SUPER_MAGIC != 0x42465331"); @@ -388,6 +945,16 @@ #else # define BEFS_SUPER_MAGIC 0x42465331 #endif +#if defined(BEFS_SUPER_MAGIC) || (defined(HAVE_DECL_BEFS_SUPER_MAGIC) && HAVE_DECL_BEFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BEFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BEFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BEFS_SUPER_MAGIC) +#endif #if defined(BINFMTFS_MAGIC) || (defined(HAVE_DECL_BINFMTFS_MAGIC) && HAVE_DECL_BINFMTFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BINFMTFS_MAGIC) == (0x42494e4d), "BINFMTFS_MAGIC != 0x42494e4d"); @@ -395,6 +962,16 @@ #else # define BINFMTFS_MAGIC 0x42494e4d #endif +#if defined(BINFMTFS_MAGIC) || (defined(HAVE_DECL_BINFMTFS_MAGIC) && HAVE_DECL_BINFMTFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BINFMTFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BINFMTFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BINFMTFS_MAGIC) +#endif #if defined(SMACK_MAGIC) || (defined(HAVE_DECL_SMACK_MAGIC) && HAVE_DECL_SMACK_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMACK_MAGIC) == (0x43415d53), "SMACK_MAGIC != 0x43415d53"); @@ -402,6 +979,16 @@ #else # define SMACK_MAGIC 0x43415d53 #endif +#if defined(SMACK_MAGIC) || (defined(HAVE_DECL_SMACK_MAGIC) && HAVE_DECL_SMACK_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMACK_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMACK_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMACK_MAGIC) +#endif #if defined(DMA_BUF_MAGIC) || (defined(HAVE_DECL_DMA_BUF_MAGIC) && HAVE_DECL_DMA_BUF_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DMA_BUF_MAGIC) == (0x444d4142), "DMA_BUF_MAGIC != 0x444d4142"); @@ -409,6 +996,16 @@ #else # define DMA_BUF_MAGIC 0x444d4142 #endif +#if defined(DMA_BUF_MAGIC) || (defined(HAVE_DECL_DMA_BUF_MAGIC) && HAVE_DECL_DMA_BUF_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DMA_BUF_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DMA_BUF_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DMA_BUF_MAGIC) +#endif #if defined(CRAMFS_MAGIC_WEND) || (defined(HAVE_DECL_CRAMFS_MAGIC_WEND) && HAVE_DECL_CRAMFS_MAGIC_WEND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CRAMFS_MAGIC_WEND) == (0x453dcd28), "CRAMFS_MAGIC_WEND != 0x453dcd28"); @@ -416,6 +1013,16 @@ #else # define CRAMFS_MAGIC_WEND 0x453dcd28 #endif +#if defined(CRAMFS_MAGIC_WEND) || (defined(HAVE_DECL_CRAMFS_MAGIC_WEND) && HAVE_DECL_CRAMFS_MAGIC_WEND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CRAMFS_MAGIC_WEND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CRAMFS_MAGIC_WEND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CRAMFS_MAGIC_WEND) +#endif #if defined(DEVMEM_MAGIC) || (defined(HAVE_DECL_DEVMEM_MAGIC) && HAVE_DECL_DEVMEM_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DEVMEM_MAGIC) == (0x454d444d), "DEVMEM_MAGIC != 0x454d444d"); @@ -423,6 +1030,16 @@ #else # define DEVMEM_MAGIC 0x454d444d #endif +#if defined(DEVMEM_MAGIC) || (defined(HAVE_DECL_DEVMEM_MAGIC) && HAVE_DECL_DEVMEM_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DEVMEM_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DEVMEM_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DEVMEM_MAGIC) +#endif #if defined(GPFS_SUPER_MAGIC) || (defined(HAVE_DECL_GPFS_SUPER_MAGIC) && HAVE_DECL_GPFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GPFS_SUPER_MAGIC) == (0x47504653), "GPFS_SUPER_MAGIC != 0x47504653"); @@ -430,6 +1047,16 @@ #else # define GPFS_SUPER_MAGIC 0x47504653 #endif +#if defined(GPFS_SUPER_MAGIC) || (defined(HAVE_DECL_GPFS_SUPER_MAGIC) && HAVE_DECL_GPFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GPFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GPFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GPFS_SUPER_MAGIC) +#endif #if defined(PIPEFS_MAGIC) || (defined(HAVE_DECL_PIPEFS_MAGIC) && HAVE_DECL_PIPEFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PIPEFS_MAGIC) == (0x50495045), "PIPEFS_MAGIC != 0x50495045"); @@ -437,6 +1064,16 @@ #else # define PIPEFS_MAGIC 0x50495045 #endif +#if defined(PIPEFS_MAGIC) || (defined(HAVE_DECL_PIPEFS_MAGIC) && HAVE_DECL_PIPEFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIPEFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIPEFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIPEFS_MAGIC) +#endif #if defined(REISERFS_SUPER_MAGIC) || (defined(HAVE_DECL_REISERFS_SUPER_MAGIC) && HAVE_DECL_REISERFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((REISERFS_SUPER_MAGIC) == (0x52654973), "REISERFS_SUPER_MAGIC != 0x52654973"); @@ -444,6 +1081,16 @@ #else # define REISERFS_SUPER_MAGIC 0x52654973 #endif +#if defined(REISERFS_SUPER_MAGIC) || (defined(HAVE_DECL_REISERFS_SUPER_MAGIC) && HAVE_DECL_REISERFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (REISERFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: REISERFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (REISERFS_SUPER_MAGIC) +#endif #if defined(SECRETMEM_MAGIC) || (defined(HAVE_DECL_SECRETMEM_MAGIC) && HAVE_DECL_SECRETMEM_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SECRETMEM_MAGIC) == (0x5345434d), "SECRETMEM_MAGIC != 0x5345434d"); @@ -451,6 +1098,16 @@ #else # define SECRETMEM_MAGIC 0x5345434d #endif +#if defined(SECRETMEM_MAGIC) || (defined(HAVE_DECL_SECRETMEM_MAGIC) && HAVE_DECL_SECRETMEM_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SECRETMEM_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SECRETMEM_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SECRETMEM_MAGIC) +#endif #if defined(AFS_SUPER_MAGIC) || (defined(HAVE_DECL_AFS_SUPER_MAGIC) && HAVE_DECL_AFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AFS_SUPER_MAGIC) == (0x5346414f), "AFS_SUPER_MAGIC != 0x5346414f"); @@ -458,6 +1115,16 @@ #else # define AFS_SUPER_MAGIC 0x5346414f #endif +#if defined(AFS_SUPER_MAGIC) || (defined(HAVE_DECL_AFS_SUPER_MAGIC) && HAVE_DECL_AFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AFS_SUPER_MAGIC) +#endif #if defined(NTFS_SB_MAGIC) || (defined(HAVE_DECL_NTFS_SB_MAGIC) && HAVE_DECL_NTFS_SB_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NTFS_SB_MAGIC) == (0x5346544e), "NTFS_SB_MAGIC != 0x5346544e"); @@ -465,6 +1132,16 @@ #else # define NTFS_SB_MAGIC 0x5346544e #endif +#if defined(NTFS_SB_MAGIC) || (defined(HAVE_DECL_NTFS_SB_MAGIC) && HAVE_DECL_NTFS_SB_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NTFS_SB_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NTFS_SB_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NTFS_SB_MAGIC) +#endif #if defined(SOCKFS_MAGIC) || (defined(HAVE_DECL_SOCKFS_MAGIC) && HAVE_DECL_SOCKFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOCKFS_MAGIC) == (0x534f434b), "SOCKFS_MAGIC != 0x534f434b"); @@ -472,6 +1149,16 @@ #else # define SOCKFS_MAGIC 0x534f434b #endif +#if defined(SOCKFS_MAGIC) || (defined(HAVE_DECL_SOCKFS_MAGIC) && HAVE_DECL_SOCKFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOCKFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOCKFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOCKFS_MAGIC) +#endif #if defined(UFS_CIGAM) || (defined(HAVE_DECL_UFS_CIGAM) && HAVE_DECL_UFS_CIGAM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((UFS_CIGAM) == (0x54190100), "UFS_CIGAM != 0x54190100"); @@ -479,6 +1166,16 @@ #else # define UFS_CIGAM 0x54190100 #endif +#if defined(UFS_CIGAM) || (defined(HAVE_DECL_UFS_CIGAM) && HAVE_DECL_UFS_CIGAM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (UFS_CIGAM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: UFS_CIGAM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (UFS_CIGAM) +#endif #if defined(VZFS_SUPER_MAGIC) || (defined(HAVE_DECL_VZFS_SUPER_MAGIC) && HAVE_DECL_VZFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((VZFS_SUPER_MAGIC) == (0x565a4653), "VZFS_SUPER_MAGIC != 0x565a4653"); @@ -486,6 +1183,16 @@ #else # define VZFS_SUPER_MAGIC 0x565a4653 #endif +#if defined(VZFS_SUPER_MAGIC) || (defined(HAVE_DECL_VZFS_SUPER_MAGIC) && HAVE_DECL_VZFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (VZFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: VZFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (VZFS_SUPER_MAGIC) +#endif #if defined(STACK_END_MAGIC) || (defined(HAVE_DECL_STACK_END_MAGIC) && HAVE_DECL_STACK_END_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((STACK_END_MAGIC) == (0x57ac6e9d), "STACK_END_MAGIC != 0x57ac6e9d"); @@ -493,6 +1200,16 @@ #else # define STACK_END_MAGIC 0x57ac6e9d #endif +#if defined(STACK_END_MAGIC) || (defined(HAVE_DECL_STACK_END_MAGIC) && HAVE_DECL_STACK_END_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (STACK_END_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: STACK_END_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (STACK_END_MAGIC) +#endif #if defined(ZSMALLOC_MAGIC) || (defined(HAVE_DECL_ZSMALLOC_MAGIC) && HAVE_DECL_ZSMALLOC_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ZSMALLOC_MAGIC) == (0x58295829), "ZSMALLOC_MAGIC != 0x58295829"); @@ -500,12 +1217,32 @@ #else # define ZSMALLOC_MAGIC 0x58295829 #endif -#if defined(XFS_SB_MAGIC) || (defined(HAVE_DECL_XFS_SB_MAGIC) && HAVE_DECL_XFS_SB_MAGIC) +#if defined(ZSMALLOC_MAGIC) || (defined(HAVE_DECL_ZSMALLOC_MAGIC) && HAVE_DECL_ZSMALLOC_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ZSMALLOC_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ZSMALLOC_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ZSMALLOC_MAGIC) +#endif +#if defined(XFS_SUPER_MAGIC) || (defined(HAVE_DECL_XFS_SUPER_MAGIC) && HAVE_DECL_XFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((XFS_SB_MAGIC) == (0x58465342), "XFS_SB_MAGIC != 0x58465342"); +static_assert((XFS_SUPER_MAGIC) == (0x58465342), "XFS_SUPER_MAGIC != 0x58465342"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define XFS_SB_MAGIC 0x58465342 +# define XFS_SUPER_MAGIC 0x58465342 +#endif +#if defined(XFS_SUPER_MAGIC) || (defined(HAVE_DECL_XFS_SUPER_MAGIC) && HAVE_DECL_XFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFS_SUPER_MAGIC) #endif #if defined(AAFS_MAGIC) || (defined(HAVE_DECL_AAFS_MAGIC) && HAVE_DECL_AAFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -514,6 +1251,16 @@ #else # define AAFS_MAGIC 0x5a3c69f0 #endif +#if defined(AAFS_MAGIC) || (defined(HAVE_DECL_AAFS_MAGIC) && HAVE_DECL_AAFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AAFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AAFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AAFS_MAGIC) +#endif #if defined(ZONEFS_MAGIC) || (defined(HAVE_DECL_ZONEFS_MAGIC) && HAVE_DECL_ZONEFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ZONEFS_MAGIC) == (0x5a4f4653), "ZONEFS_MAGIC != 0x5a4f4653"); @@ -521,6 +1268,16 @@ #else # define ZONEFS_MAGIC 0x5a4f4653 #endif +#if defined(ZONEFS_MAGIC) || (defined(HAVE_DECL_ZONEFS_MAGIC) && HAVE_DECL_ZONEFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ZONEFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ZONEFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ZONEFS_MAGIC) +#endif #if defined(PSTOREFS_MAGIC) || (defined(HAVE_DECL_PSTOREFS_MAGIC) && HAVE_DECL_PSTOREFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PSTOREFS_MAGIC) == (0x6165676c), "PSTOREFS_MAGIC != 0x6165676c"); @@ -528,6 +1285,16 @@ #else # define PSTOREFS_MAGIC 0x6165676c #endif +#if defined(PSTOREFS_MAGIC) || (defined(HAVE_DECL_PSTOREFS_MAGIC) && HAVE_DECL_PSTOREFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PSTOREFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PSTOREFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PSTOREFS_MAGIC) +#endif #if defined(AUFS_SUPER_MAGIC) || (defined(HAVE_DECL_AUFS_SUPER_MAGIC) && HAVE_DECL_AUFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUFS_SUPER_MAGIC) == (0x61756673), "AUFS_SUPER_MAGIC != 0x61756673"); @@ -535,6 +1302,16 @@ #else # define AUFS_SUPER_MAGIC 0x61756673 #endif +#if defined(AUFS_SUPER_MAGIC) || (defined(HAVE_DECL_AUFS_SUPER_MAGIC) && HAVE_DECL_AUFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUFS_SUPER_MAGIC) +#endif #if defined(BDEVFS_MAGIC) || (defined(HAVE_DECL_BDEVFS_MAGIC) && HAVE_DECL_BDEVFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BDEVFS_MAGIC) == (0x62646576), "BDEVFS_MAGIC != 0x62646576"); @@ -542,6 +1319,16 @@ #else # define BDEVFS_MAGIC 0x62646576 #endif +#if defined(BDEVFS_MAGIC) || (defined(HAVE_DECL_BDEVFS_MAGIC) && HAVE_DECL_BDEVFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BDEVFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BDEVFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BDEVFS_MAGIC) +#endif #if defined(CONFIGFS_MAGIC) || (defined(HAVE_DECL_CONFIGFS_MAGIC) && HAVE_DECL_CONFIGFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CONFIGFS_MAGIC) == (0x62656570), "CONFIGFS_MAGIC != 0x62656570"); @@ -549,6 +1336,16 @@ #else # define CONFIGFS_MAGIC 0x62656570 #endif +#if defined(CONFIGFS_MAGIC) || (defined(HAVE_DECL_CONFIGFS_MAGIC) && HAVE_DECL_CONFIGFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CONFIGFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CONFIGFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CONFIGFS_MAGIC) +#endif #if defined(SYSFS_MAGIC) || (defined(HAVE_DECL_SYSFS_MAGIC) && HAVE_DECL_SYSFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYSFS_MAGIC) == (0x62656572), "SYSFS_MAGIC != 0x62656572"); @@ -556,6 +1353,16 @@ #else # define SYSFS_MAGIC 0x62656572 #endif +#if defined(SYSFS_MAGIC) || (defined(HAVE_DECL_SYSFS_MAGIC) && HAVE_DECL_SYSFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SYSFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SYSFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SYSFS_MAGIC) +#endif #if defined(CGROUP2_SUPER_MAGIC) || (defined(HAVE_DECL_CGROUP2_SUPER_MAGIC) && HAVE_DECL_CGROUP2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CGROUP2_SUPER_MAGIC) == (0x63677270), "CGROUP2_SUPER_MAGIC != 0x63677270"); @@ -563,6 +1370,16 @@ #else # define CGROUP2_SUPER_MAGIC 0x63677270 #endif +#if defined(CGROUP2_SUPER_MAGIC) || (defined(HAVE_DECL_CGROUP2_SUPER_MAGIC) && HAVE_DECL_CGROUP2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CGROUP2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CGROUP2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CGROUP2_SUPER_MAGIC) +#endif #if defined(DEBUGFS_MAGIC) || (defined(HAVE_DECL_DEBUGFS_MAGIC) && HAVE_DECL_DEBUGFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DEBUGFS_MAGIC) == (0x64626720), "DEBUGFS_MAGIC != 0x64626720"); @@ -570,6 +1387,16 @@ #else # define DEBUGFS_MAGIC 0x64626720 #endif +#if defined(DEBUGFS_MAGIC) || (defined(HAVE_DECL_DEBUGFS_MAGIC) && HAVE_DECL_DEBUGFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DEBUGFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DEBUGFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DEBUGFS_MAGIC) +#endif #if defined(DAXFS_MAGIC) || (defined(HAVE_DECL_DAXFS_MAGIC) && HAVE_DECL_DAXFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DAXFS_MAGIC) == (0x64646178), "DAXFS_MAGIC != 0x64646178"); @@ -577,6 +1404,16 @@ #else # define DAXFS_MAGIC 0x64646178 #endif +#if defined(DAXFS_MAGIC) || (defined(HAVE_DECL_DAXFS_MAGIC) && HAVE_DECL_DAXFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DAXFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DAXFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DAXFS_MAGIC) +#endif #if defined(FUSE_CTL_SUPER_MAGIC) || (defined(HAVE_DECL_FUSE_CTL_SUPER_MAGIC) && HAVE_DECL_FUSE_CTL_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((FUSE_CTL_SUPER_MAGIC) == (0x65735543), "FUSE_CTL_SUPER_MAGIC != 0x65735543"); @@ -584,6 +1421,16 @@ #else # define FUSE_CTL_SUPER_MAGIC 0x65735543 #endif +#if defined(FUSE_CTL_SUPER_MAGIC) || (defined(HAVE_DECL_FUSE_CTL_SUPER_MAGIC) && HAVE_DECL_FUSE_CTL_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FUSE_CTL_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FUSE_CTL_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FUSE_CTL_SUPER_MAGIC) +#endif #if defined(FUSE_SUPER_MAGIC) || (defined(HAVE_DECL_FUSE_SUPER_MAGIC) && HAVE_DECL_FUSE_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((FUSE_SUPER_MAGIC) == (0x65735546), "FUSE_SUPER_MAGIC != 0x65735546"); @@ -591,6 +1438,16 @@ #else # define FUSE_SUPER_MAGIC 0x65735546 #endif +#if defined(FUSE_SUPER_MAGIC) || (defined(HAVE_DECL_FUSE_SUPER_MAGIC) && HAVE_DECL_FUSE_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (FUSE_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: FUSE_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (FUSE_SUPER_MAGIC) +#endif #if defined(QNX6_SUPER_MAGIC) || (defined(HAVE_DECL_QNX6_SUPER_MAGIC) && HAVE_DECL_QNX6_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((QNX6_SUPER_MAGIC) == (0x68191122), "QNX6_SUPER_MAGIC != 0x68191122"); @@ -598,6 +1455,16 @@ #else # define QNX6_SUPER_MAGIC 0x68191122 #endif +#if defined(QNX6_SUPER_MAGIC) || (defined(HAVE_DECL_QNX6_SUPER_MAGIC) && HAVE_DECL_QNX6_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (QNX6_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: QNX6_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (QNX6_SUPER_MAGIC) +#endif #if defined(AFS_FS_MAGIC) || (defined(HAVE_DECL_AFS_FS_MAGIC) && HAVE_DECL_AFS_FS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AFS_FS_MAGIC) == (0x6b414653), "AFS_FS_MAGIC != 0x6b414653"); @@ -605,6 +1472,16 @@ #else # define AFS_FS_MAGIC 0x6b414653 #endif +#if defined(AFS_FS_MAGIC) || (defined(HAVE_DECL_AFS_FS_MAGIC) && HAVE_DECL_AFS_FS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AFS_FS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AFS_FS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AFS_FS_MAGIC) +#endif #if defined(BINDERFS_SUPER_MAGIC) || (defined(HAVE_DECL_BINDERFS_SUPER_MAGIC) && HAVE_DECL_BINDERFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BINDERFS_SUPER_MAGIC) == (0x6c6f6f70), "BINDERFS_SUPER_MAGIC != 0x6c6f6f70"); @@ -612,6 +1489,16 @@ #else # define BINDERFS_SUPER_MAGIC 0x6c6f6f70 #endif +#if defined(BINDERFS_SUPER_MAGIC) || (defined(HAVE_DECL_BINDERFS_SUPER_MAGIC) && HAVE_DECL_BINDERFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BINDERFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BINDERFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BINDERFS_SUPER_MAGIC) +#endif #if defined(NSFS_MAGIC) || (defined(HAVE_DECL_NSFS_MAGIC) && HAVE_DECL_NSFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NSFS_MAGIC) == (0x6e736673), "NSFS_MAGIC != 0x6e736673"); @@ -619,6 +1506,16 @@ #else # define NSFS_MAGIC 0x6e736673 #endif +#if defined(NSFS_MAGIC) || (defined(HAVE_DECL_NSFS_MAGIC) && HAVE_DECL_NSFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NSFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NSFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NSFS_MAGIC) +#endif #if defined(SECURITYFS_MAGIC) || (defined(HAVE_DECL_SECURITYFS_MAGIC) && HAVE_DECL_SECURITYFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SECURITYFS_MAGIC) == (0x73636673), "SECURITYFS_MAGIC != 0x73636673"); @@ -626,6 +1523,16 @@ #else # define SECURITYFS_MAGIC 0x73636673 #endif +#if defined(SECURITYFS_MAGIC) || (defined(HAVE_DECL_SECURITYFS_MAGIC) && HAVE_DECL_SECURITYFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SECURITYFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SECURITYFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SECURITYFS_MAGIC) +#endif #if defined(SQUASHFS_MAGIC) || (defined(HAVE_DECL_SQUASHFS_MAGIC) && HAVE_DECL_SQUASHFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SQUASHFS_MAGIC) == (0x73717368), "SQUASHFS_MAGIC != 0x73717368"); @@ -633,6 +1540,16 @@ #else # define SQUASHFS_MAGIC 0x73717368 #endif +#if defined(SQUASHFS_MAGIC) || (defined(HAVE_DECL_SQUASHFS_MAGIC) && HAVE_DECL_SQUASHFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SQUASHFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SQUASHFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SQUASHFS_MAGIC) +#endif #if defined(BTRFS_TEST_MAGIC) || (defined(HAVE_DECL_BTRFS_TEST_MAGIC) && HAVE_DECL_BTRFS_TEST_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BTRFS_TEST_MAGIC) == (0x73727279), "BTRFS_TEST_MAGIC != 0x73727279"); @@ -640,6 +1557,16 @@ #else # define BTRFS_TEST_MAGIC 0x73727279 #endif +#if defined(BTRFS_TEST_MAGIC) || (defined(HAVE_DECL_BTRFS_TEST_MAGIC) && HAVE_DECL_BTRFS_TEST_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_TEST_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_TEST_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_TEST_MAGIC) +#endif #if defined(CODA_SUPER_MAGIC) || (defined(HAVE_DECL_CODA_SUPER_MAGIC) && HAVE_DECL_CODA_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((CODA_SUPER_MAGIC) == (0x73757245), "CODA_SUPER_MAGIC != 0x73757245"); @@ -647,6 +1574,16 @@ #else # define CODA_SUPER_MAGIC 0x73757245 #endif +#if defined(CODA_SUPER_MAGIC) || (defined(HAVE_DECL_CODA_SUPER_MAGIC) && HAVE_DECL_CODA_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CODA_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CODA_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CODA_SUPER_MAGIC) +#endif #if defined(OCFS2_SUPER_MAGIC) || (defined(HAVE_DECL_OCFS2_SUPER_MAGIC) && HAVE_DECL_OCFS2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((OCFS2_SUPER_MAGIC) == (0x7461636f), "OCFS2_SUPER_MAGIC != 0x7461636f"); @@ -654,6 +1591,16 @@ #else # define OCFS2_SUPER_MAGIC 0x7461636f #endif +#if defined(OCFS2_SUPER_MAGIC) || (defined(HAVE_DECL_OCFS2_SUPER_MAGIC) && HAVE_DECL_OCFS2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (OCFS2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: OCFS2_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (OCFS2_SUPER_MAGIC) +#endif #if defined(TRACEFS_MAGIC) || (defined(HAVE_DECL_TRACEFS_MAGIC) && HAVE_DECL_TRACEFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TRACEFS_MAGIC) == (0x74726163), "TRACEFS_MAGIC != 0x74726163"); @@ -661,6 +1608,16 @@ #else # define TRACEFS_MAGIC 0x74726163 #endif +#if defined(TRACEFS_MAGIC) || (defined(HAVE_DECL_TRACEFS_MAGIC) && HAVE_DECL_TRACEFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TRACEFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TRACEFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TRACEFS_MAGIC) +#endif #if defined(OVERLAYFS_SUPER_MAGIC) || (defined(HAVE_DECL_OVERLAYFS_SUPER_MAGIC) && HAVE_DECL_OVERLAYFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((OVERLAYFS_SUPER_MAGIC) == (0x794c7630), "OVERLAYFS_SUPER_MAGIC != 0x794c7630"); @@ -668,6 +1625,16 @@ #else # define OVERLAYFS_SUPER_MAGIC 0x794c7630 #endif +#if defined(OVERLAYFS_SUPER_MAGIC) || (defined(HAVE_DECL_OVERLAYFS_SUPER_MAGIC) && HAVE_DECL_OVERLAYFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (OVERLAYFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: OVERLAYFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (OVERLAYFS_SUPER_MAGIC) +#endif #if defined(RAMFS_MAGIC) || (defined(HAVE_DECL_RAMFS_MAGIC) && HAVE_DECL_RAMFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((RAMFS_MAGIC) == (0x858458f6), "RAMFS_MAGIC != 0x858458f6"); @@ -675,6 +1642,16 @@ #else # define RAMFS_MAGIC 0x858458f6 #endif +#if defined(RAMFS_MAGIC) || (defined(HAVE_DECL_RAMFS_MAGIC) && HAVE_DECL_RAMFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RAMFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RAMFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RAMFS_MAGIC) +#endif #if defined(BTRFS_SUPER_MAGIC) || (defined(HAVE_DECL_BTRFS_SUPER_MAGIC) && HAVE_DECL_BTRFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BTRFS_SUPER_MAGIC) == (0x9123683e), "BTRFS_SUPER_MAGIC != 0x9123683e"); @@ -682,6 +1659,16 @@ #else # define BTRFS_SUPER_MAGIC 0x9123683e #endif +#if defined(BTRFS_SUPER_MAGIC) || (defined(HAVE_DECL_BTRFS_SUPER_MAGIC) && HAVE_DECL_BTRFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BTRFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BTRFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BTRFS_SUPER_MAGIC) +#endif #if defined(HUGETLBFS_MAGIC) || (defined(HAVE_DECL_HUGETLBFS_MAGIC) && HAVE_DECL_HUGETLBFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((HUGETLBFS_MAGIC) == (0x958458f6), "HUGETLBFS_MAGIC != 0x958458f6"); @@ -689,6 +1676,16 @@ #else # define HUGETLBFS_MAGIC 0x958458f6 #endif +#if defined(HUGETLBFS_MAGIC) || (defined(HAVE_DECL_HUGETLBFS_MAGIC) && HAVE_DECL_HUGETLBFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (HUGETLBFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: HUGETLBFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (HUGETLBFS_MAGIC) +#endif #if defined(VXFS_SUPER_MAGIC) || (defined(HAVE_DECL_VXFS_SUPER_MAGIC) && HAVE_DECL_VXFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((VXFS_SUPER_MAGIC) == (0xa501fcf5), "VXFS_SUPER_MAGIC != 0xa501fcf5"); @@ -696,6 +1693,16 @@ #else # define VXFS_SUPER_MAGIC 0xa501fcf5 #endif +#if defined(VXFS_SUPER_MAGIC) || (defined(HAVE_DECL_VXFS_SUPER_MAGIC) && HAVE_DECL_VXFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (VXFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: VXFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (VXFS_SUPER_MAGIC) +#endif #if defined(XENFS_SUPER_MAGIC) || (defined(HAVE_DECL_XENFS_SUPER_MAGIC) && HAVE_DECL_XENFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XENFS_SUPER_MAGIC) == (0xabba1974), "XENFS_SUPER_MAGIC != 0xabba1974"); @@ -703,6 +1710,16 @@ #else # define XENFS_SUPER_MAGIC 0xabba1974 #endif +#if defined(XENFS_SUPER_MAGIC) || (defined(HAVE_DECL_XENFS_SUPER_MAGIC) && HAVE_DECL_XENFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XENFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XENFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XENFS_SUPER_MAGIC) +#endif #if defined(PPC_CMM_MAGIC) || (defined(HAVE_DECL_PPC_CMM_MAGIC) && HAVE_DECL_PPC_CMM_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PPC_CMM_MAGIC) == (0xc7571590), "PPC_CMM_MAGIC != 0xc7571590"); @@ -710,6 +1727,16 @@ #else # define PPC_CMM_MAGIC 0xc7571590 #endif +#if defined(PPC_CMM_MAGIC) || (defined(HAVE_DECL_PPC_CMM_MAGIC) && HAVE_DECL_PPC_CMM_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PPC_CMM_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PPC_CMM_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PPC_CMM_MAGIC) +#endif #if defined(LOGFS_MAGIC) || (defined(HAVE_DECL_LOGFS_MAGIC) && HAVE_DECL_LOGFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((LOGFS_MAGIC) == (0xc97e8168), "LOGFS_MAGIC != 0xc97e8168"); @@ -717,6 +1744,16 @@ #else # define LOGFS_MAGIC 0xc97e8168 #endif +#if defined(LOGFS_MAGIC) || (defined(HAVE_DECL_LOGFS_MAGIC) && HAVE_DECL_LOGFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (LOGFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: LOGFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (LOGFS_MAGIC) +#endif #if defined(BPF_FS_MAGIC) || (defined(HAVE_DECL_BPF_FS_MAGIC) && HAVE_DECL_BPF_FS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BPF_FS_MAGIC) == (0xcafe4a11), "BPF_FS_MAGIC != 0xcafe4a11"); @@ -724,6 +1761,16 @@ #else # define BPF_FS_MAGIC 0xcafe4a11 #endif +#if defined(BPF_FS_MAGIC) || (defined(HAVE_DECL_BPF_FS_MAGIC) && HAVE_DECL_BPF_FS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BPF_FS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BPF_FS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BPF_FS_MAGIC) +#endif #if defined(EFIVARFS_MAGIC) || (defined(HAVE_DECL_EFIVARFS_MAGIC) && HAVE_DECL_EFIVARFS_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EFIVARFS_MAGIC) == (0xde5e81e4), "EFIVARFS_MAGIC != 0xde5e81e4"); @@ -731,6 +1778,16 @@ #else # define EFIVARFS_MAGIC 0xde5e81e4 #endif +#if defined(EFIVARFS_MAGIC) || (defined(HAVE_DECL_EFIVARFS_MAGIC) && HAVE_DECL_EFIVARFS_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EFIVARFS_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EFIVARFS_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EFIVARFS_MAGIC) +#endif #if defined(EROFS_SUPER_MAGIC_V1) || (defined(HAVE_DECL_EROFS_SUPER_MAGIC_V1) && HAVE_DECL_EROFS_SUPER_MAGIC_V1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((EROFS_SUPER_MAGIC_V1) == (0xe0f5e1e2), "EROFS_SUPER_MAGIC_V1 != 0xe0f5e1e2"); @@ -738,6 +1795,16 @@ #else # define EROFS_SUPER_MAGIC_V1 0xe0f5e1e2 #endif +#if defined(EROFS_SUPER_MAGIC_V1) || (defined(HAVE_DECL_EROFS_SUPER_MAGIC_V1) && HAVE_DECL_EROFS_SUPER_MAGIC_V1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (EROFS_SUPER_MAGIC_V1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: EROFS_SUPER_MAGIC_V1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (EROFS_SUPER_MAGIC_V1) +#endif #if defined(F2FS_SUPER_MAGIC) || (defined(HAVE_DECL_F2FS_SUPER_MAGIC) && HAVE_DECL_F2FS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((F2FS_SUPER_MAGIC) == (0xf2f52010), "F2FS_SUPER_MAGIC != 0xf2f52010"); @@ -745,6 +1812,16 @@ #else # define F2FS_SUPER_MAGIC 0xf2f52010 #endif +#if defined(F2FS_SUPER_MAGIC) || (defined(HAVE_DECL_F2FS_SUPER_MAGIC) && HAVE_DECL_F2FS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (F2FS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: F2FS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (F2FS_SUPER_MAGIC) +#endif #if defined(SELINUX_MAGIC) || (defined(HAVE_DECL_SELINUX_MAGIC) && HAVE_DECL_SELINUX_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SELINUX_MAGIC) == (0xf97cff8c), "SELINUX_MAGIC != 0xf97cff8c"); @@ -752,6 +1829,16 @@ #else # define SELINUX_MAGIC 0xf97cff8c #endif +#if defined(SELINUX_MAGIC) || (defined(HAVE_DECL_SELINUX_MAGIC) && HAVE_DECL_SELINUX_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SELINUX_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SELINUX_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SELINUX_MAGIC) +#endif #if defined(HPFS_SUPER_MAGIC) || (defined(HAVE_DECL_HPFS_SUPER_MAGIC) && HAVE_DECL_HPFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((HPFS_SUPER_MAGIC) == (0xf995e849), "HPFS_SUPER_MAGIC != 0xf995e849"); @@ -759,20 +1846,51 @@ #else # define HPFS_SUPER_MAGIC 0xf995e849 #endif -#if defined(SMB2_MAGIC_NUMBER) || (defined(HAVE_DECL_SMB2_MAGIC_NUMBER) && HAVE_DECL_SMB2_MAGIC_NUMBER) +#if defined(HPFS_SUPER_MAGIC) || (defined(HAVE_DECL_HPFS_SUPER_MAGIC) && HAVE_DECL_HPFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (HPFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: HPFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (HPFS_SUPER_MAGIC) +#endif +#if defined(SMB2_SUPER_MAGIC) || (defined(HAVE_DECL_SMB2_SUPER_MAGIC) && HAVE_DECL_SMB2_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((SMB2_MAGIC_NUMBER) == (0xfe534d42), "SMB2_MAGIC_NUMBER != 0xfe534d42"); +static_assert((SMB2_SUPER_MAGIC) == (0xfe534d42), "SMB2_SUPER_MAGIC != 0xfe534d42"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define SMB2_MAGIC_NUMBER 0xfe534d42 +# define SMB2_SUPER_MAGIC 0xfe534d42 +#endif +#if defined(SMB2_SUPER_MAGIC) || (defined(HAVE_DECL_SMB2_SUPER_MAGIC) && HAVE_DECL_SMB2_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMB2_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMB2_SUPER_MAGIC" + " is not larger than the previous value"); #endif -#if defined(CIFS_MAGIC_NUMBER) || (defined(HAVE_DECL_CIFS_MAGIC_NUMBER) && HAVE_DECL_CIFS_MAGIC_NUMBER) +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMB2_SUPER_MAGIC) +#endif +#if defined(CIFS_SUPER_MAGIC) || (defined(HAVE_DECL_CIFS_SUPER_MAGIC) && HAVE_DECL_CIFS_SUPER_MAGIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((CIFS_MAGIC_NUMBER) == (0xff534d42), "CIFS_MAGIC_NUMBER != 0xff534d42"); +static_assert((CIFS_SUPER_MAGIC) == (0xff534d42), "CIFS_SUPER_MAGIC != 0xff534d42"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define CIFS_MAGIC_NUMBER 0xff534d42 +# define CIFS_SUPER_MAGIC 0xff534d42 +#endif +#if defined(CIFS_SUPER_MAGIC) || (defined(HAVE_DECL_CIFS_SUPER_MAGIC) && HAVE_DECL_CIFS_SUPER_MAGIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CIFS_SUPER_MAGIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CIFS_SUPER_MAGIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CIFS_SUPER_MAGIC) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -934,186 +2052,189 @@ XLAT(BFS_MAGIC), #define XLAT_VAL_49 ((unsigned) (BFS_MAGIC)) #define XLAT_STR_49 STRINGIFY(BFS_MAGIC) + XLAT(EXFAT_SUPER_MAGIC), + #define XLAT_VAL_50 ((unsigned) (EXFAT_SUPER_MAGIC)) + #define XLAT_STR_50 STRINGIFY(EXFAT_SUPER_MAGIC) XLAT(UBIFS_SUPER_MAGIC), - #define XLAT_VAL_50 ((unsigned) (UBIFS_SUPER_MAGIC)) - #define XLAT_STR_50 STRINGIFY(UBIFS_SUPER_MAGIC) + #define XLAT_VAL_51 ((unsigned) (UBIFS_SUPER_MAGIC)) + #define XLAT_STR_51 STRINGIFY(UBIFS_SUPER_MAGIC) XLAT(CRAMFS_MAGIC), - #define XLAT_VAL_51 ((unsigned) (CRAMFS_MAGIC)) - #define XLAT_STR_51 STRINGIFY(CRAMFS_MAGIC) + #define XLAT_VAL_52 ((unsigned) (CRAMFS_MAGIC)) + #define XLAT_STR_52 STRINGIFY(CRAMFS_MAGIC) XLAT(ZFS_SUPER_MAGIC), - #define XLAT_VAL_52 ((unsigned) (ZFS_SUPER_MAGIC)) - #define XLAT_STR_52 STRINGIFY(ZFS_SUPER_MAGIC) + #define XLAT_VAL_53 ((unsigned) (ZFS_SUPER_MAGIC)) + #define XLAT_STR_53 STRINGIFY(ZFS_SUPER_MAGIC) XLAT(JFS_SUPER_MAGIC), - #define XLAT_VAL_53 ((unsigned) (JFS_SUPER_MAGIC)) - #define XLAT_STR_53 STRINGIFY(JFS_SUPER_MAGIC) + #define XLAT_VAL_54 ((unsigned) (JFS_SUPER_MAGIC)) + #define XLAT_STR_54 STRINGIFY(JFS_SUPER_MAGIC) XLAT(BEFS_SUPER_MAGIC), - #define XLAT_VAL_54 ((unsigned) (BEFS_SUPER_MAGIC)) - #define XLAT_STR_54 STRINGIFY(BEFS_SUPER_MAGIC) + #define XLAT_VAL_55 ((unsigned) (BEFS_SUPER_MAGIC)) + #define XLAT_STR_55 STRINGIFY(BEFS_SUPER_MAGIC) XLAT(BINFMTFS_MAGIC), - #define XLAT_VAL_55 ((unsigned) (BINFMTFS_MAGIC)) - #define XLAT_STR_55 STRINGIFY(BINFMTFS_MAGIC) + #define XLAT_VAL_56 ((unsigned) (BINFMTFS_MAGIC)) + #define XLAT_STR_56 STRINGIFY(BINFMTFS_MAGIC) XLAT(SMACK_MAGIC), - #define XLAT_VAL_56 ((unsigned) (SMACK_MAGIC)) - #define XLAT_STR_56 STRINGIFY(SMACK_MAGIC) + #define XLAT_VAL_57 ((unsigned) (SMACK_MAGIC)) + #define XLAT_STR_57 STRINGIFY(SMACK_MAGIC) XLAT(DMA_BUF_MAGIC), - #define XLAT_VAL_57 ((unsigned) (DMA_BUF_MAGIC)) - #define XLAT_STR_57 STRINGIFY(DMA_BUF_MAGIC) + #define XLAT_VAL_58 ((unsigned) (DMA_BUF_MAGIC)) + #define XLAT_STR_58 STRINGIFY(DMA_BUF_MAGIC) XLAT(CRAMFS_MAGIC_WEND), - #define XLAT_VAL_58 ((unsigned) (CRAMFS_MAGIC_WEND)) - #define XLAT_STR_58 STRINGIFY(CRAMFS_MAGIC_WEND) + #define XLAT_VAL_59 ((unsigned) (CRAMFS_MAGIC_WEND)) + #define XLAT_STR_59 STRINGIFY(CRAMFS_MAGIC_WEND) XLAT(DEVMEM_MAGIC), - #define XLAT_VAL_59 ((unsigned) (DEVMEM_MAGIC)) - #define XLAT_STR_59 STRINGIFY(DEVMEM_MAGIC) + #define XLAT_VAL_60 ((unsigned) (DEVMEM_MAGIC)) + #define XLAT_STR_60 STRINGIFY(DEVMEM_MAGIC) XLAT(GPFS_SUPER_MAGIC), - #define XLAT_VAL_60 ((unsigned) (GPFS_SUPER_MAGIC)) - #define XLAT_STR_60 STRINGIFY(GPFS_SUPER_MAGIC) + #define XLAT_VAL_61 ((unsigned) (GPFS_SUPER_MAGIC)) + #define XLAT_STR_61 STRINGIFY(GPFS_SUPER_MAGIC) XLAT(PIPEFS_MAGIC), - #define XLAT_VAL_61 ((unsigned) (PIPEFS_MAGIC)) - #define XLAT_STR_61 STRINGIFY(PIPEFS_MAGIC) + #define XLAT_VAL_62 ((unsigned) (PIPEFS_MAGIC)) + #define XLAT_STR_62 STRINGIFY(PIPEFS_MAGIC) XLAT(REISERFS_SUPER_MAGIC), - #define XLAT_VAL_62 ((unsigned) (REISERFS_SUPER_MAGIC)) - #define XLAT_STR_62 STRINGIFY(REISERFS_SUPER_MAGIC) + #define XLAT_VAL_63 ((unsigned) (REISERFS_SUPER_MAGIC)) + #define XLAT_STR_63 STRINGIFY(REISERFS_SUPER_MAGIC) XLAT(SECRETMEM_MAGIC), - #define XLAT_VAL_63 ((unsigned) (SECRETMEM_MAGIC)) - #define XLAT_STR_63 STRINGIFY(SECRETMEM_MAGIC) + #define XLAT_VAL_64 ((unsigned) (SECRETMEM_MAGIC)) + #define XLAT_STR_64 STRINGIFY(SECRETMEM_MAGIC) XLAT(AFS_SUPER_MAGIC), - #define XLAT_VAL_64 ((unsigned) (AFS_SUPER_MAGIC)) - #define XLAT_STR_64 STRINGIFY(AFS_SUPER_MAGIC) + #define XLAT_VAL_65 ((unsigned) (AFS_SUPER_MAGIC)) + #define XLAT_STR_65 STRINGIFY(AFS_SUPER_MAGIC) XLAT(NTFS_SB_MAGIC), - #define XLAT_VAL_65 ((unsigned) (NTFS_SB_MAGIC)) - #define XLAT_STR_65 STRINGIFY(NTFS_SB_MAGIC) + #define XLAT_VAL_66 ((unsigned) (NTFS_SB_MAGIC)) + #define XLAT_STR_66 STRINGIFY(NTFS_SB_MAGIC) XLAT(SOCKFS_MAGIC), - #define XLAT_VAL_66 ((unsigned) (SOCKFS_MAGIC)) - #define XLAT_STR_66 STRINGIFY(SOCKFS_MAGIC) + #define XLAT_VAL_67 ((unsigned) (SOCKFS_MAGIC)) + #define XLAT_STR_67 STRINGIFY(SOCKFS_MAGIC) XLAT(UFS_CIGAM), - #define XLAT_VAL_67 ((unsigned) (UFS_CIGAM)) - #define XLAT_STR_67 STRINGIFY(UFS_CIGAM) + #define XLAT_VAL_68 ((unsigned) (UFS_CIGAM)) + #define XLAT_STR_68 STRINGIFY(UFS_CIGAM) XLAT(VZFS_SUPER_MAGIC), - #define XLAT_VAL_68 ((unsigned) (VZFS_SUPER_MAGIC)) - #define XLAT_STR_68 STRINGIFY(VZFS_SUPER_MAGIC) + #define XLAT_VAL_69 ((unsigned) (VZFS_SUPER_MAGIC)) + #define XLAT_STR_69 STRINGIFY(VZFS_SUPER_MAGIC) XLAT(STACK_END_MAGIC), - #define XLAT_VAL_69 ((unsigned) (STACK_END_MAGIC)) - #define XLAT_STR_69 STRINGIFY(STACK_END_MAGIC) + #define XLAT_VAL_70 ((unsigned) (STACK_END_MAGIC)) + #define XLAT_STR_70 STRINGIFY(STACK_END_MAGIC) XLAT(ZSMALLOC_MAGIC), - #define XLAT_VAL_70 ((unsigned) (ZSMALLOC_MAGIC)) - #define XLAT_STR_70 STRINGIFY(ZSMALLOC_MAGIC) - XLAT(XFS_SB_MAGIC), - #define XLAT_VAL_71 ((unsigned) (XFS_SB_MAGIC)) - #define XLAT_STR_71 STRINGIFY(XFS_SB_MAGIC) + #define XLAT_VAL_71 ((unsigned) (ZSMALLOC_MAGIC)) + #define XLAT_STR_71 STRINGIFY(ZSMALLOC_MAGIC) + XLAT(XFS_SUPER_MAGIC), + #define XLAT_VAL_72 ((unsigned) (XFS_SUPER_MAGIC)) + #define XLAT_STR_72 STRINGIFY(XFS_SUPER_MAGIC) XLAT(AAFS_MAGIC), - #define XLAT_VAL_72 ((unsigned) (AAFS_MAGIC)) - #define XLAT_STR_72 STRINGIFY(AAFS_MAGIC) + #define XLAT_VAL_73 ((unsigned) (AAFS_MAGIC)) + #define XLAT_STR_73 STRINGIFY(AAFS_MAGIC) XLAT(ZONEFS_MAGIC), - #define XLAT_VAL_73 ((unsigned) (ZONEFS_MAGIC)) - #define XLAT_STR_73 STRINGIFY(ZONEFS_MAGIC) + #define XLAT_VAL_74 ((unsigned) (ZONEFS_MAGIC)) + #define XLAT_STR_74 STRINGIFY(ZONEFS_MAGIC) XLAT(PSTOREFS_MAGIC), - #define XLAT_VAL_74 ((unsigned) (PSTOREFS_MAGIC)) - #define XLAT_STR_74 STRINGIFY(PSTOREFS_MAGIC) + #define XLAT_VAL_75 ((unsigned) (PSTOREFS_MAGIC)) + #define XLAT_STR_75 STRINGIFY(PSTOREFS_MAGIC) XLAT(AUFS_SUPER_MAGIC), - #define XLAT_VAL_75 ((unsigned) (AUFS_SUPER_MAGIC)) - #define XLAT_STR_75 STRINGIFY(AUFS_SUPER_MAGIC) + #define XLAT_VAL_76 ((unsigned) (AUFS_SUPER_MAGIC)) + #define XLAT_STR_76 STRINGIFY(AUFS_SUPER_MAGIC) XLAT(BDEVFS_MAGIC), - #define XLAT_VAL_76 ((unsigned) (BDEVFS_MAGIC)) - #define XLAT_STR_76 STRINGIFY(BDEVFS_MAGIC) + #define XLAT_VAL_77 ((unsigned) (BDEVFS_MAGIC)) + #define XLAT_STR_77 STRINGIFY(BDEVFS_MAGIC) XLAT(CONFIGFS_MAGIC), - #define XLAT_VAL_77 ((unsigned) (CONFIGFS_MAGIC)) - #define XLAT_STR_77 STRINGIFY(CONFIGFS_MAGIC) + #define XLAT_VAL_78 ((unsigned) (CONFIGFS_MAGIC)) + #define XLAT_STR_78 STRINGIFY(CONFIGFS_MAGIC) XLAT(SYSFS_MAGIC), - #define XLAT_VAL_78 ((unsigned) (SYSFS_MAGIC)) - #define XLAT_STR_78 STRINGIFY(SYSFS_MAGIC) + #define XLAT_VAL_79 ((unsigned) (SYSFS_MAGIC)) + #define XLAT_STR_79 STRINGIFY(SYSFS_MAGIC) XLAT(CGROUP2_SUPER_MAGIC), - #define XLAT_VAL_79 ((unsigned) (CGROUP2_SUPER_MAGIC)) - #define XLAT_STR_79 STRINGIFY(CGROUP2_SUPER_MAGIC) + #define XLAT_VAL_80 ((unsigned) (CGROUP2_SUPER_MAGIC)) + #define XLAT_STR_80 STRINGIFY(CGROUP2_SUPER_MAGIC) XLAT(DEBUGFS_MAGIC), - #define XLAT_VAL_80 ((unsigned) (DEBUGFS_MAGIC)) - #define XLAT_STR_80 STRINGIFY(DEBUGFS_MAGIC) + #define XLAT_VAL_81 ((unsigned) (DEBUGFS_MAGIC)) + #define XLAT_STR_81 STRINGIFY(DEBUGFS_MAGIC) XLAT(DAXFS_MAGIC), - #define XLAT_VAL_81 ((unsigned) (DAXFS_MAGIC)) - #define XLAT_STR_81 STRINGIFY(DAXFS_MAGIC) + #define XLAT_VAL_82 ((unsigned) (DAXFS_MAGIC)) + #define XLAT_STR_82 STRINGIFY(DAXFS_MAGIC) XLAT(FUSE_CTL_SUPER_MAGIC), - #define XLAT_VAL_82 ((unsigned) (FUSE_CTL_SUPER_MAGIC)) - #define XLAT_STR_82 STRINGIFY(FUSE_CTL_SUPER_MAGIC) + #define XLAT_VAL_83 ((unsigned) (FUSE_CTL_SUPER_MAGIC)) + #define XLAT_STR_83 STRINGIFY(FUSE_CTL_SUPER_MAGIC) XLAT(FUSE_SUPER_MAGIC), - #define XLAT_VAL_83 ((unsigned) (FUSE_SUPER_MAGIC)) - #define XLAT_STR_83 STRINGIFY(FUSE_SUPER_MAGIC) + #define XLAT_VAL_84 ((unsigned) (FUSE_SUPER_MAGIC)) + #define XLAT_STR_84 STRINGIFY(FUSE_SUPER_MAGIC) XLAT(QNX6_SUPER_MAGIC), - #define XLAT_VAL_84 ((unsigned) (QNX6_SUPER_MAGIC)) - #define XLAT_STR_84 STRINGIFY(QNX6_SUPER_MAGIC) + #define XLAT_VAL_85 ((unsigned) (QNX6_SUPER_MAGIC)) + #define XLAT_STR_85 STRINGIFY(QNX6_SUPER_MAGIC) XLAT(AFS_FS_MAGIC), - #define XLAT_VAL_85 ((unsigned) (AFS_FS_MAGIC)) - #define XLAT_STR_85 STRINGIFY(AFS_FS_MAGIC) + #define XLAT_VAL_86 ((unsigned) (AFS_FS_MAGIC)) + #define XLAT_STR_86 STRINGIFY(AFS_FS_MAGIC) XLAT(BINDERFS_SUPER_MAGIC), - #define XLAT_VAL_86 ((unsigned) (BINDERFS_SUPER_MAGIC)) - #define XLAT_STR_86 STRINGIFY(BINDERFS_SUPER_MAGIC) + #define XLAT_VAL_87 ((unsigned) (BINDERFS_SUPER_MAGIC)) + #define XLAT_STR_87 STRINGIFY(BINDERFS_SUPER_MAGIC) XLAT(NSFS_MAGIC), - #define XLAT_VAL_87 ((unsigned) (NSFS_MAGIC)) - #define XLAT_STR_87 STRINGIFY(NSFS_MAGIC) + #define XLAT_VAL_88 ((unsigned) (NSFS_MAGIC)) + #define XLAT_STR_88 STRINGIFY(NSFS_MAGIC) XLAT(SECURITYFS_MAGIC), - #define XLAT_VAL_88 ((unsigned) (SECURITYFS_MAGIC)) - #define XLAT_STR_88 STRINGIFY(SECURITYFS_MAGIC) + #define XLAT_VAL_89 ((unsigned) (SECURITYFS_MAGIC)) + #define XLAT_STR_89 STRINGIFY(SECURITYFS_MAGIC) XLAT(SQUASHFS_MAGIC), - #define XLAT_VAL_89 ((unsigned) (SQUASHFS_MAGIC)) - #define XLAT_STR_89 STRINGIFY(SQUASHFS_MAGIC) + #define XLAT_VAL_90 ((unsigned) (SQUASHFS_MAGIC)) + #define XLAT_STR_90 STRINGIFY(SQUASHFS_MAGIC) XLAT(BTRFS_TEST_MAGIC), - #define XLAT_VAL_90 ((unsigned) (BTRFS_TEST_MAGIC)) - #define XLAT_STR_90 STRINGIFY(BTRFS_TEST_MAGIC) + #define XLAT_VAL_91 ((unsigned) (BTRFS_TEST_MAGIC)) + #define XLAT_STR_91 STRINGIFY(BTRFS_TEST_MAGIC) XLAT(CODA_SUPER_MAGIC), - #define XLAT_VAL_91 ((unsigned) (CODA_SUPER_MAGIC)) - #define XLAT_STR_91 STRINGIFY(CODA_SUPER_MAGIC) + #define XLAT_VAL_92 ((unsigned) (CODA_SUPER_MAGIC)) + #define XLAT_STR_92 STRINGIFY(CODA_SUPER_MAGIC) XLAT(OCFS2_SUPER_MAGIC), - #define XLAT_VAL_92 ((unsigned) (OCFS2_SUPER_MAGIC)) - #define XLAT_STR_92 STRINGIFY(OCFS2_SUPER_MAGIC) + #define XLAT_VAL_93 ((unsigned) (OCFS2_SUPER_MAGIC)) + #define XLAT_STR_93 STRINGIFY(OCFS2_SUPER_MAGIC) XLAT(TRACEFS_MAGIC), - #define XLAT_VAL_93 ((unsigned) (TRACEFS_MAGIC)) - #define XLAT_STR_93 STRINGIFY(TRACEFS_MAGIC) + #define XLAT_VAL_94 ((unsigned) (TRACEFS_MAGIC)) + #define XLAT_STR_94 STRINGIFY(TRACEFS_MAGIC) XLAT(OVERLAYFS_SUPER_MAGIC), - #define XLAT_VAL_94 ((unsigned) (OVERLAYFS_SUPER_MAGIC)) - #define XLAT_STR_94 STRINGIFY(OVERLAYFS_SUPER_MAGIC) + #define XLAT_VAL_95 ((unsigned) (OVERLAYFS_SUPER_MAGIC)) + #define XLAT_STR_95 STRINGIFY(OVERLAYFS_SUPER_MAGIC) XLAT(RAMFS_MAGIC), - #define XLAT_VAL_95 ((unsigned) (RAMFS_MAGIC)) - #define XLAT_STR_95 STRINGIFY(RAMFS_MAGIC) + #define XLAT_VAL_96 ((unsigned) (RAMFS_MAGIC)) + #define XLAT_STR_96 STRINGIFY(RAMFS_MAGIC) XLAT(BTRFS_SUPER_MAGIC), - #define XLAT_VAL_96 ((unsigned) (BTRFS_SUPER_MAGIC)) - #define XLAT_STR_96 STRINGIFY(BTRFS_SUPER_MAGIC) + #define XLAT_VAL_97 ((unsigned) (BTRFS_SUPER_MAGIC)) + #define XLAT_STR_97 STRINGIFY(BTRFS_SUPER_MAGIC) XLAT(HUGETLBFS_MAGIC), - #define XLAT_VAL_97 ((unsigned) (HUGETLBFS_MAGIC)) - #define XLAT_STR_97 STRINGIFY(HUGETLBFS_MAGIC) + #define XLAT_VAL_98 ((unsigned) (HUGETLBFS_MAGIC)) + #define XLAT_STR_98 STRINGIFY(HUGETLBFS_MAGIC) XLAT(VXFS_SUPER_MAGIC), - #define XLAT_VAL_98 ((unsigned) (VXFS_SUPER_MAGIC)) - #define XLAT_STR_98 STRINGIFY(VXFS_SUPER_MAGIC) + #define XLAT_VAL_99 ((unsigned) (VXFS_SUPER_MAGIC)) + #define XLAT_STR_99 STRINGIFY(VXFS_SUPER_MAGIC) XLAT(XENFS_SUPER_MAGIC), - #define XLAT_VAL_99 ((unsigned) (XENFS_SUPER_MAGIC)) - #define XLAT_STR_99 STRINGIFY(XENFS_SUPER_MAGIC) + #define XLAT_VAL_100 ((unsigned) (XENFS_SUPER_MAGIC)) + #define XLAT_STR_100 STRINGIFY(XENFS_SUPER_MAGIC) XLAT(PPC_CMM_MAGIC), - #define XLAT_VAL_100 ((unsigned) (PPC_CMM_MAGIC)) - #define XLAT_STR_100 STRINGIFY(PPC_CMM_MAGIC) + #define XLAT_VAL_101 ((unsigned) (PPC_CMM_MAGIC)) + #define XLAT_STR_101 STRINGIFY(PPC_CMM_MAGIC) XLAT(LOGFS_MAGIC), - #define XLAT_VAL_101 ((unsigned) (LOGFS_MAGIC)) - #define XLAT_STR_101 STRINGIFY(LOGFS_MAGIC) + #define XLAT_VAL_102 ((unsigned) (LOGFS_MAGIC)) + #define XLAT_STR_102 STRINGIFY(LOGFS_MAGIC) XLAT(BPF_FS_MAGIC), - #define XLAT_VAL_102 ((unsigned) (BPF_FS_MAGIC)) - #define XLAT_STR_102 STRINGIFY(BPF_FS_MAGIC) + #define XLAT_VAL_103 ((unsigned) (BPF_FS_MAGIC)) + #define XLAT_STR_103 STRINGIFY(BPF_FS_MAGIC) XLAT(EFIVARFS_MAGIC), - #define XLAT_VAL_103 ((unsigned) (EFIVARFS_MAGIC)) - #define XLAT_STR_103 STRINGIFY(EFIVARFS_MAGIC) + #define XLAT_VAL_104 ((unsigned) (EFIVARFS_MAGIC)) + #define XLAT_STR_104 STRINGIFY(EFIVARFS_MAGIC) XLAT(EROFS_SUPER_MAGIC_V1), - #define XLAT_VAL_104 ((unsigned) (EROFS_SUPER_MAGIC_V1)) - #define XLAT_STR_104 STRINGIFY(EROFS_SUPER_MAGIC_V1) + #define XLAT_VAL_105 ((unsigned) (EROFS_SUPER_MAGIC_V1)) + #define XLAT_STR_105 STRINGIFY(EROFS_SUPER_MAGIC_V1) XLAT(F2FS_SUPER_MAGIC), - #define XLAT_VAL_105 ((unsigned) (F2FS_SUPER_MAGIC)) - #define XLAT_STR_105 STRINGIFY(F2FS_SUPER_MAGIC) + #define XLAT_VAL_106 ((unsigned) (F2FS_SUPER_MAGIC)) + #define XLAT_STR_106 STRINGIFY(F2FS_SUPER_MAGIC) XLAT(SELINUX_MAGIC), - #define XLAT_VAL_106 ((unsigned) (SELINUX_MAGIC)) - #define XLAT_STR_106 STRINGIFY(SELINUX_MAGIC) + #define XLAT_VAL_107 ((unsigned) (SELINUX_MAGIC)) + #define XLAT_STR_107 STRINGIFY(SELINUX_MAGIC) XLAT(HPFS_SUPER_MAGIC), - #define XLAT_VAL_107 ((unsigned) (HPFS_SUPER_MAGIC)) - #define XLAT_STR_107 STRINGIFY(HPFS_SUPER_MAGIC) - XLAT(SMB2_MAGIC_NUMBER), - #define XLAT_VAL_108 ((unsigned) (SMB2_MAGIC_NUMBER)) - #define XLAT_STR_108 STRINGIFY(SMB2_MAGIC_NUMBER) - XLAT(CIFS_MAGIC_NUMBER), - #define XLAT_VAL_109 ((unsigned) (CIFS_MAGIC_NUMBER)) - #define XLAT_STR_109 STRINGIFY(CIFS_MAGIC_NUMBER) + #define XLAT_VAL_108 ((unsigned) (HPFS_SUPER_MAGIC)) + #define XLAT_STR_108 STRINGIFY(HPFS_SUPER_MAGIC) + XLAT(SMB2_SUPER_MAGIC), + #define XLAT_VAL_109 ((unsigned) (SMB2_SUPER_MAGIC)) + #define XLAT_STR_109 STRINGIFY(SMB2_SUPER_MAGIC) + XLAT(CIFS_SUPER_MAGIC), + #define XLAT_VAL_110 ((unsigned) (CIFS_SUPER_MAGIC)) + #define XLAT_STR_110 STRINGIFY(CIFS_SUPER_MAGIC) }; static const struct xlat fsmagic1 = { { @@ -1451,6 +2572,9 @@ # ifdef XLAT_VAL_109 | XLAT_VAL_109 # endif +# ifdef XLAT_VAL_110 + | XLAT_VAL_110 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1783,6 +2907,9 @@ # ifdef XLAT_STR_109 + sizeof(XLAT_STR_109) # endif +# ifdef XLAT_STR_110 + + sizeof(XLAT_STR_110) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -2007,6 +3134,8 @@ # undef XLAT_VAL_108 # undef XLAT_STR_109 # undef XLAT_VAL_109 +# undef XLAT_STR_110 +# undef XLAT_VAL_110 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsmagic.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsmagic.in
Changed
@@ -49,6 +49,7 @@ BALLOON_KVM_MAGIC 0x13661366 UDF_SUPER_MAGIC 0x15013346 BFS_MAGIC 0x1badface +EXFAT_SUPER_MAGIC 0x2011bab0 UBIFS_SUPER_MAGIC 0x24051905 CRAMFS_MAGIC 0x28cd3d45 ZFS_SUPER_MAGIC 0x2fc12fc1 @@ -70,7 +71,7 @@ VZFS_SUPER_MAGIC 0x565a4653 STACK_END_MAGIC 0x57ac6e9d ZSMALLOC_MAGIC 0x58295829 -XFS_SB_MAGIC 0x58465342 +XFS_SUPER_MAGIC 0x58465342 AAFS_MAGIC 0x5a3c69f0 ZONEFS_MAGIC 0x5a4f4653 PSTOREFS_MAGIC 0x6165676c @@ -107,5 +108,5 @@ F2FS_SUPER_MAGIC 0xf2f52010 SELINUX_MAGIC 0xf97cff8c HPFS_SUPER_MAGIC 0xf995e849 -SMB2_MAGIC_NUMBER 0xfe534d42 -CIFS_MAGIC_NUMBER 0xff534d42 +SMB2_SUPER_MAGIC 0xfe534d42 +CIFS_SUPER_MAGIC 0xff534d42
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsmount_attr_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsmount_attr_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsmount_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsmount_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fsopen_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fsopen_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/fspick_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/fspick_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/futex_waiter_flags.h
Added
@@ -0,0 +1,55 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/futex_waiter_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat futex_waiter_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data futex_waiter_flags_xdata = { + XLAT(FUTEX_32), + #define XLAT_VAL_0 ((unsigned) (FUTEX_32)) + #define XLAT_STR_0 STRINGIFY(FUTEX_32) + XLAT(FUTEX_PRIVATE_FLAG), + #define XLAT_VAL_1 ((unsigned) (FUTEX_PRIVATE_FLAG)) + #define XLAT_STR_1 STRINGIFY(FUTEX_PRIVATE_FLAG) +}; +static +const struct xlat futex_waiter_flags1 = { { + .data = futex_waiter_flags_xdata, + .size = ARRAY_SIZE(futex_waiter_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/futex_waiter_flags.in
Added
@@ -0,0 +1,3 @@ +#unconditional +FUTEX_32 +FUTEX_PRIVATE_FLAG
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/futexbitset.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/futexbitset.h
Changed
@@ -10,6 +10,7 @@ #else # define FUTEX_BITSET_MATCH_ANY 0xffffffff #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/futexops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/futexops.h
Changed
@@ -192,6 +192,7 @@ #else # define FUTEX_LOCK_PI2_PRIVATE (FUTEX_LOCK_PI2 | FUTEX_PRIVATE_FLAG) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/futexwakecmps.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/futexwakecmps.h
Changed
@@ -45,6 +45,7 @@ #else # define FUTEX_OP_CMP_GE 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/futexwakeops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/futexwakeops.h
Changed
@@ -38,6 +38,7 @@ #else # define FUTEX_OP_XOR 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gen.sh -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gen.sh
Changed
@@ -40,6 +40,8 @@ { local line line="$1"; shift + local xlat_type + xlat_type="$1"; shift local val val="${line%%!A-Za-z0-9_*}" @@ -54,15 +56,46 @@ fi if -n "$def" ; then - printf "%s\n" \ - "#if defined($val) || (defined(HAVE_DECL_$val) && HAVE_DECL_$val)" \ + -n "$unconditional" || + printf '%s\n' \ + "#if defined($val) || (defined(HAVE_DECL_$val) && HAVE_DECL_$val)" + printf '%s\n' \ "DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE" \ "static_assert(($val) == ($def), \"$val != $def\");" \ - "DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE" \ - "#else" \ - "# define $val $def" \ - "#endif" + "DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE" + -n "$unconditional" || + printf '%s\n' \ + "#else" \ + "# define $val $def" \ + "#endif" + fi + + if XT_SORTED = "$xlat_type" ; then + -n "$unconditional" || + printf '%s\n' \ + "#if defined($val) || (defined(HAVE_DECL_$val) && HAVE_DECL_$val)" + check_sort_order "$val" + -n "$unconditional" || + printf '%s\n' "#endif" fi + +} + +check_sort_order() +{ + local val + val="$1"; shift + + cat <<-EOF + #if defined XLAT_PREV_VAL + static_assert((unsigned long long) ($val) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: $val" + " is not larger than the previous value"); + #endif + #undef XLAT_PREV_VAL + #define XLAT_PREV_VAL ($val) + EOF } print_xlat() @@ -121,13 +154,13 @@ xlat="$(print_xlat_pair "1ULL<<${val#1<<}" "${val}" "$m")" fi - if -z "${def}" ; then - printf "%s\n" \ + if -z "${def}${unconditional}" ; then + printf '%s\n' \ "#if defined(${m}) || (defined(HAVE_DECL_${m}) && HAVE_DECL_${m})" \ " ${xlat}" \ "#endif" else - echo "$xlat" + printf '%s\n' "$xlat" fi } @@ -207,13 +240,21 @@ echo "${line}" ;; A-Z_*) - -n "$unconditional" || - cond_def "$line" + cond_def "$line" "$xlat_type" + ;; + '1<<'A-Z_*) # symbolic constants with shift + XT_SORTED != "$xlat_type" || + check_sort_order "1ULL<<${line#1<<}" + ;; + 0-9*) # numeric constants + XT_SORTED != "$xlat_type" || + check_sort_order "${line}" ;; esac done < "$input" cat <<-EOF + #undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -289,18 +330,10 @@ val_type="${line#\#val_type }" ;; A-Z_!*) # symbolic constants - if -n "${unconditional}" ; then - print_xlat "${line}" - else - cond_xlat "${line}" - fi + cond_xlat "${line}" ;; '1<<'A-Z_*) # symbolic constants with shift - if -n "${unconditional}" ; then - print_xlat_pair "1ULL<<${line#1<<}" "${line}" "${line#1<<}" - else - cond_xlat "${line}" - fi + cond_xlat "${line}" ;; 0-9*) # numeric constants print_xlat "${line}"
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/get_mempolicy_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/get_mempolicy_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define MPOL_F_MEMS_ALLOWED 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/getrandom_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/getrandom_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define GRND_INSECURE 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/getsock_ip_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/getsock_ip_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/getsock_ipv6_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/getsock_ipv6_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/getsock_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/getsock_options.h
Changed
@@ -20,6 +20,7 @@ # define SO_GET_FILTER 26 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_event_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_event_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_handle_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_handle_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_line_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_line_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_v2_line_attr_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_v2_line_attr_ids.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_v2_line_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_v2_line_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -50,6 +51,9 @@ XLAT(GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME), #define XLAT_VAL_11 ((unsigned) (GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME)) #define XLAT_STR_11 STRINGIFY(GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME) + XLAT(GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE), + #define XLAT_VAL_12 ((unsigned) (GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)) + #define XLAT_STR_12 STRINGIFY(GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) }; static const struct xlat gpio_v2_line_flags1 = { { @@ -93,6 +97,9 @@ # ifdef XLAT_VAL_11 | XLAT_VAL_11 # endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -131,6 +138,9 @@ # ifdef XLAT_STR_11 + sizeof(XLAT_STR_11) # endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -159,6 +169,8 @@ # undef XLAT_VAL_10 # undef XLAT_STR_11 # undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/gpio_v2_line_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/gpio_v2_line_flags.in
Changed
@@ -11,3 +11,4 @@ GPIO_V2_LINE_FLAG_BIAS_PULL_DOWN GPIO_V2_LINE_FLAG_BIAS_DISABLED GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME +GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/hci_channels.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/hci_channels.h
Changed
@@ -38,6 +38,7 @@ #else # define HCI_CHANNEL_LOGGING 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/hdio_busstates.h
Added
@@ -0,0 +1,66 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/hdio_busstates.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat hdio_busstates in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data hdio_busstates_xdata = { + BUSSTATE_OFF = XLAT(BUSSTATE_OFF), + #define XLAT_VAL_0 ((unsigned) (BUSSTATE_OFF)) + #define XLAT_STR_0 STRINGIFY(BUSSTATE_OFF) + BUSSTATE_ON = XLAT(BUSSTATE_ON), + #define XLAT_VAL_1 ((unsigned) (BUSSTATE_ON)) + #define XLAT_STR_1 STRINGIFY(BUSSTATE_ON) + BUSSTATE_TRISTATE = XLAT(BUSSTATE_TRISTATE), + #define XLAT_VAL_2 ((unsigned) (BUSSTATE_TRISTATE)) + #define XLAT_STR_2 STRINGIFY(BUSSTATE_TRISTATE) +}; +static +const struct xlat hdio_busstates1 = { { + .data = hdio_busstates_xdata, + .size = ARRAY_SIZE(hdio_busstates_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/hdio_busstates.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#value_indexed +BUSSTATE_OFF +BUSSTATE_ON +BUSSTATE_TRISTATE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/hdio_drive_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/hdio_drive_cmds.h
Changed
@@ -10,6 +10,16 @@ #else # define ATA_CMD_NOP 0x00 #endif +#if defined(ATA_CMD_NOP) || (defined(HAVE_DECL_ATA_CMD_NOP) && HAVE_DECL_ATA_CMD_NOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_NOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_NOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_NOP) +#endif #if defined(ATA_CMD_CFA_REQ_EXT_ERR) || (defined(HAVE_DECL_ATA_CMD_CFA_REQ_EXT_ERR) && HAVE_DECL_ATA_CMD_CFA_REQ_EXT_ERR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CFA_REQ_EXT_ERR) == (0x03), "ATA_CMD_CFA_REQ_EXT_ERR != 0x03"); @@ -17,6 +27,16 @@ #else # define ATA_CMD_CFA_REQ_EXT_ERR 0x03 #endif +#if defined(ATA_CMD_CFA_REQ_EXT_ERR) || (defined(HAVE_DECL_ATA_CMD_CFA_REQ_EXT_ERR) && HAVE_DECL_ATA_CMD_CFA_REQ_EXT_ERR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CFA_REQ_EXT_ERR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CFA_REQ_EXT_ERR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CFA_REQ_EXT_ERR) +#endif #if defined(ATA_CMD_DSM) || (defined(HAVE_DECL_ATA_CMD_DSM) && HAVE_DECL_ATA_CMD_DSM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_DSM) == (0x06), "ATA_CMD_DSM != 0x06"); @@ -24,6 +44,16 @@ #else # define ATA_CMD_DSM 0x06 #endif +#if defined(ATA_CMD_DSM) || (defined(HAVE_DECL_ATA_CMD_DSM) && HAVE_DECL_ATA_CMD_DSM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_DSM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_DSM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_DSM) +#endif #if defined(ATA_CMD_DEV_RESET) || (defined(HAVE_DECL_ATA_CMD_DEV_RESET) && HAVE_DECL_ATA_CMD_DEV_RESET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_DEV_RESET) == (0x08), "ATA_CMD_DEV_RESET != 0x08"); @@ -31,6 +61,16 @@ #else # define ATA_CMD_DEV_RESET 0x08 #endif +#if defined(ATA_CMD_DEV_RESET) || (defined(HAVE_DECL_ATA_CMD_DEV_RESET) && HAVE_DECL_ATA_CMD_DEV_RESET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_DEV_RESET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_DEV_RESET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_DEV_RESET) +#endif #if defined(ATA_CMD_REQ_SENSE_DATA) || (defined(HAVE_DECL_ATA_CMD_REQ_SENSE_DATA) && HAVE_DECL_ATA_CMD_REQ_SENSE_DATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_REQ_SENSE_DATA) == (0x0B), "ATA_CMD_REQ_SENSE_DATA != 0x0B"); @@ -38,6 +78,16 @@ #else # define ATA_CMD_REQ_SENSE_DATA 0x0B #endif +#if defined(ATA_CMD_REQ_SENSE_DATA) || (defined(HAVE_DECL_ATA_CMD_REQ_SENSE_DATA) && HAVE_DECL_ATA_CMD_REQ_SENSE_DATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_REQ_SENSE_DATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_REQ_SENSE_DATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_REQ_SENSE_DATA) +#endif #if defined(ATA_CMD_RESTORE) || (defined(HAVE_DECL_ATA_CMD_RESTORE) && HAVE_DECL_ATA_CMD_RESTORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_RESTORE) == (0x10), "ATA_CMD_RESTORE != 0x10"); @@ -45,6 +95,16 @@ #else # define ATA_CMD_RESTORE 0x10 #endif +#if defined(ATA_CMD_RESTORE) || (defined(HAVE_DECL_ATA_CMD_RESTORE) && HAVE_DECL_ATA_CMD_RESTORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_RESTORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_RESTORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_RESTORE) +#endif #if defined(ATA_CMD_PIO_READ) || (defined(HAVE_DECL_ATA_CMD_PIO_READ) && HAVE_DECL_ATA_CMD_PIO_READ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PIO_READ) == (0x20), "ATA_CMD_PIO_READ != 0x20"); @@ -52,6 +112,16 @@ #else # define ATA_CMD_PIO_READ 0x20 #endif +#if defined(ATA_CMD_PIO_READ) || (defined(HAVE_DECL_ATA_CMD_PIO_READ) && HAVE_DECL_ATA_CMD_PIO_READ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PIO_READ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PIO_READ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PIO_READ) +#endif #if defined(ATA_CMD_READ_LONG) || (defined(HAVE_DECL_ATA_CMD_READ_LONG) && HAVE_DECL_ATA_CMD_READ_LONG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_LONG) == (0x22), "ATA_CMD_READ_LONG != 0x22"); @@ -59,6 +129,16 @@ #else # define ATA_CMD_READ_LONG 0x22 #endif +#if defined(ATA_CMD_READ_LONG) || (defined(HAVE_DECL_ATA_CMD_READ_LONG) && HAVE_DECL_ATA_CMD_READ_LONG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_LONG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_LONG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_LONG) +#endif #if defined(ATA_CMD_READ_LONG_ONCE) || (defined(HAVE_DECL_ATA_CMD_READ_LONG_ONCE) && HAVE_DECL_ATA_CMD_READ_LONG_ONCE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_LONG_ONCE) == (0x23), "ATA_CMD_READ_LONG_ONCE != 0x23"); @@ -66,6 +146,16 @@ #else # define ATA_CMD_READ_LONG_ONCE 0x23 #endif +#if defined(ATA_CMD_READ_LONG_ONCE) || (defined(HAVE_DECL_ATA_CMD_READ_LONG_ONCE) && HAVE_DECL_ATA_CMD_READ_LONG_ONCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_LONG_ONCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_LONG_ONCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_LONG_ONCE) +#endif #if defined(ATA_CMD_PIO_READ_EXT) || (defined(HAVE_DECL_ATA_CMD_PIO_READ_EXT) && HAVE_DECL_ATA_CMD_PIO_READ_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PIO_READ_EXT) == (0x24), "ATA_CMD_PIO_READ_EXT != 0x24"); @@ -73,6 +163,16 @@ #else # define ATA_CMD_PIO_READ_EXT 0x24 #endif +#if defined(ATA_CMD_PIO_READ_EXT) || (defined(HAVE_DECL_ATA_CMD_PIO_READ_EXT) && HAVE_DECL_ATA_CMD_PIO_READ_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PIO_READ_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PIO_READ_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PIO_READ_EXT) +#endif #if defined(ATA_CMD_READ_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_EXT) && HAVE_DECL_ATA_CMD_READ_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_EXT) == (0x25), "ATA_CMD_READ_EXT != 0x25"); @@ -80,6 +180,16 @@ #else # define ATA_CMD_READ_EXT 0x25 #endif +#if defined(ATA_CMD_READ_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_EXT) && HAVE_DECL_ATA_CMD_READ_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_EXT) +#endif #if defined(ATA_CMD_READ_QUEUED) || (defined(HAVE_DECL_ATA_CMD_READ_QUEUED) && HAVE_DECL_ATA_CMD_READ_QUEUED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_QUEUED) == (0x26), "ATA_CMD_READ_QUEUED != 0x26"); @@ -87,6 +197,16 @@ #else # define ATA_CMD_READ_QUEUED 0x26 #endif +#if defined(ATA_CMD_READ_QUEUED) || (defined(HAVE_DECL_ATA_CMD_READ_QUEUED) && HAVE_DECL_ATA_CMD_READ_QUEUED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_QUEUED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_QUEUED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_QUEUED) +#endif #if defined(ATA_CMD_READ_NATIVE_MAX_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_NATIVE_MAX_EXT) && HAVE_DECL_ATA_CMD_READ_NATIVE_MAX_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_NATIVE_MAX_EXT) == (0x27), "ATA_CMD_READ_NATIVE_MAX_EXT != 0x27"); @@ -94,6 +214,16 @@ #else # define ATA_CMD_READ_NATIVE_MAX_EXT 0x27 #endif +#if defined(ATA_CMD_READ_NATIVE_MAX_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_NATIVE_MAX_EXT) && HAVE_DECL_ATA_CMD_READ_NATIVE_MAX_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_NATIVE_MAX_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_NATIVE_MAX_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_NATIVE_MAX_EXT) +#endif #if defined(ATA_CMD_READ_MULTI_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_MULTI_EXT) && HAVE_DECL_ATA_CMD_READ_MULTI_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_MULTI_EXT) == (0x29), "ATA_CMD_READ_MULTI_EXT != 0x29"); @@ -101,6 +231,16 @@ #else # define ATA_CMD_READ_MULTI_EXT 0x29 #endif +#if defined(ATA_CMD_READ_MULTI_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_MULTI_EXT) && HAVE_DECL_ATA_CMD_READ_MULTI_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_MULTI_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_MULTI_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_MULTI_EXT) +#endif #if defined(ATA_CMD_READ_STREAM_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_STREAM_DMA_EXT) && HAVE_DECL_ATA_CMD_READ_STREAM_DMA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_STREAM_DMA_EXT) == (0x2A), "ATA_CMD_READ_STREAM_DMA_EXT != 0x2A"); @@ -108,6 +248,16 @@ #else # define ATA_CMD_READ_STREAM_DMA_EXT 0x2A #endif +#if defined(ATA_CMD_READ_STREAM_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_STREAM_DMA_EXT) && HAVE_DECL_ATA_CMD_READ_STREAM_DMA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_STREAM_DMA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_STREAM_DMA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_STREAM_DMA_EXT) +#endif #if defined(ATA_CMD_READ_STREAM_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_STREAM_EXT) && HAVE_DECL_ATA_CMD_READ_STREAM_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_STREAM_EXT) == (0x2B), "ATA_CMD_READ_STREAM_EXT != 0x2B"); @@ -115,6 +265,16 @@ #else # define ATA_CMD_READ_STREAM_EXT 0x2B #endif +#if defined(ATA_CMD_READ_STREAM_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_STREAM_EXT) && HAVE_DECL_ATA_CMD_READ_STREAM_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_STREAM_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_STREAM_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_STREAM_EXT) +#endif #if defined(ATA_CMD_READ_LOG_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_LOG_EXT) && HAVE_DECL_ATA_CMD_READ_LOG_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_LOG_EXT) == (0x2F), "ATA_CMD_READ_LOG_EXT != 0x2F"); @@ -122,6 +282,16 @@ #else # define ATA_CMD_READ_LOG_EXT 0x2F #endif +#if defined(ATA_CMD_READ_LOG_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_LOG_EXT) && HAVE_DECL_ATA_CMD_READ_LOG_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_LOG_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_LOG_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_LOG_EXT) +#endif #if defined(ATA_CMD_PIO_WRITE) || (defined(HAVE_DECL_ATA_CMD_PIO_WRITE) && HAVE_DECL_ATA_CMD_PIO_WRITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PIO_WRITE) == (0x30), "ATA_CMD_PIO_WRITE != 0x30"); @@ -129,6 +299,16 @@ #else # define ATA_CMD_PIO_WRITE 0x30 #endif +#if defined(ATA_CMD_PIO_WRITE) || (defined(HAVE_DECL_ATA_CMD_PIO_WRITE) && HAVE_DECL_ATA_CMD_PIO_WRITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PIO_WRITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PIO_WRITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PIO_WRITE) +#endif #if defined(ATA_CMD_WRITE_LONG) || (defined(HAVE_DECL_ATA_CMD_WRITE_LONG) && HAVE_DECL_ATA_CMD_WRITE_LONG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_LONG) == (0x32), "ATA_CMD_WRITE_LONG != 0x32"); @@ -136,6 +316,16 @@ #else # define ATA_CMD_WRITE_LONG 0x32 #endif +#if defined(ATA_CMD_WRITE_LONG) || (defined(HAVE_DECL_ATA_CMD_WRITE_LONG) && HAVE_DECL_ATA_CMD_WRITE_LONG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_LONG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_LONG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_LONG) +#endif #if defined(ATA_CMD_WRITE_LONG_ONCE) || (defined(HAVE_DECL_ATA_CMD_WRITE_LONG_ONCE) && HAVE_DECL_ATA_CMD_WRITE_LONG_ONCE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_LONG_ONCE) == (0x33), "ATA_CMD_WRITE_LONG_ONCE != 0x33"); @@ -143,6 +333,16 @@ #else # define ATA_CMD_WRITE_LONG_ONCE 0x33 #endif +#if defined(ATA_CMD_WRITE_LONG_ONCE) || (defined(HAVE_DECL_ATA_CMD_WRITE_LONG_ONCE) && HAVE_DECL_ATA_CMD_WRITE_LONG_ONCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_LONG_ONCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_LONG_ONCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_LONG_ONCE) +#endif #if defined(ATA_CMD_PIO_WRITE_EXT) || (defined(HAVE_DECL_ATA_CMD_PIO_WRITE_EXT) && HAVE_DECL_ATA_CMD_PIO_WRITE_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PIO_WRITE_EXT) == (0x34), "ATA_CMD_PIO_WRITE_EXT != 0x34"); @@ -150,6 +350,16 @@ #else # define ATA_CMD_PIO_WRITE_EXT 0x34 #endif +#if defined(ATA_CMD_PIO_WRITE_EXT) || (defined(HAVE_DECL_ATA_CMD_PIO_WRITE_EXT) && HAVE_DECL_ATA_CMD_PIO_WRITE_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PIO_WRITE_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PIO_WRITE_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PIO_WRITE_EXT) +#endif #if defined(ATA_CMD_WRITE_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_EXT) && HAVE_DECL_ATA_CMD_WRITE_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_EXT) == (0x35), "ATA_CMD_WRITE_EXT != 0x35"); @@ -157,6 +367,16 @@ #else # define ATA_CMD_WRITE_EXT 0x35 #endif +#if defined(ATA_CMD_WRITE_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_EXT) && HAVE_DECL_ATA_CMD_WRITE_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_EXT) +#endif #if defined(ATA_CMD_WRITE_QUEUED) || (defined(HAVE_DECL_ATA_CMD_WRITE_QUEUED) && HAVE_DECL_ATA_CMD_WRITE_QUEUED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_QUEUED) == (0x36), "ATA_CMD_WRITE_QUEUED != 0x36"); @@ -164,6 +384,16 @@ #else # define ATA_CMD_WRITE_QUEUED 0x36 #endif +#if defined(ATA_CMD_WRITE_QUEUED) || (defined(HAVE_DECL_ATA_CMD_WRITE_QUEUED) && HAVE_DECL_ATA_CMD_WRITE_QUEUED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_QUEUED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_QUEUED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_QUEUED) +#endif #if defined(ATA_CMD_SET_MAX_EXT) || (defined(HAVE_DECL_ATA_CMD_SET_MAX_EXT) && HAVE_DECL_ATA_CMD_SET_MAX_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SET_MAX_EXT) == (0x37), "ATA_CMD_SET_MAX_EXT != 0x37"); @@ -171,6 +401,16 @@ #else # define ATA_CMD_SET_MAX_EXT 0x37 #endif +#if defined(ATA_CMD_SET_MAX_EXT) || (defined(HAVE_DECL_ATA_CMD_SET_MAX_EXT) && HAVE_DECL_ATA_CMD_SET_MAX_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SET_MAX_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SET_MAX_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SET_MAX_EXT) +#endif #if defined(ATA_CMD_CFA_WRITE_NE) || (defined(HAVE_DECL_ATA_CMD_CFA_WRITE_NE) && HAVE_DECL_ATA_CMD_CFA_WRITE_NE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CFA_WRITE_NE) == (0x38), "ATA_CMD_CFA_WRITE_NE != 0x38"); @@ -178,6 +418,16 @@ #else # define ATA_CMD_CFA_WRITE_NE 0x38 #endif +#if defined(ATA_CMD_CFA_WRITE_NE) || (defined(HAVE_DECL_ATA_CMD_CFA_WRITE_NE) && HAVE_DECL_ATA_CMD_CFA_WRITE_NE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CFA_WRITE_NE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CFA_WRITE_NE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CFA_WRITE_NE) +#endif #if defined(ATA_CMD_WRITE_MULTI_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI_EXT) && HAVE_DECL_ATA_CMD_WRITE_MULTI_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_MULTI_EXT) == (0x39), "ATA_CMD_WRITE_MULTI_EXT != 0x39"); @@ -185,6 +435,16 @@ #else # define ATA_CMD_WRITE_MULTI_EXT 0x39 #endif +#if defined(ATA_CMD_WRITE_MULTI_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI_EXT) && HAVE_DECL_ATA_CMD_WRITE_MULTI_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_MULTI_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_MULTI_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_MULTI_EXT) +#endif #if defined(ATA_CMD_WRITE_STREAM_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_STREAM_DMA_EXT) && HAVE_DECL_ATA_CMD_WRITE_STREAM_DMA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_STREAM_DMA_EXT) == (0x3A), "ATA_CMD_WRITE_STREAM_DMA_EXT != 0x3A"); @@ -192,6 +452,16 @@ #else # define ATA_CMD_WRITE_STREAM_DMA_EXT 0x3A #endif +#if defined(ATA_CMD_WRITE_STREAM_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_STREAM_DMA_EXT) && HAVE_DECL_ATA_CMD_WRITE_STREAM_DMA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_STREAM_DMA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_STREAM_DMA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_STREAM_DMA_EXT) +#endif #if defined(ATA_CMD_WRITE_STREAM_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_STREAM_EXT) && HAVE_DECL_ATA_CMD_WRITE_STREAM_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_STREAM_EXT) == (0x3B), "ATA_CMD_WRITE_STREAM_EXT != 0x3B"); @@ -199,6 +469,16 @@ #else # define ATA_CMD_WRITE_STREAM_EXT 0x3B #endif +#if defined(ATA_CMD_WRITE_STREAM_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_STREAM_EXT) && HAVE_DECL_ATA_CMD_WRITE_STREAM_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_STREAM_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_STREAM_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_STREAM_EXT) +#endif #if defined(ATA_CMD_WRITE_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_FUA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_FUA_EXT) == (0x3D), "ATA_CMD_WRITE_FUA_EXT != 0x3D"); @@ -206,6 +486,16 @@ #else # define ATA_CMD_WRITE_FUA_EXT 0x3D #endif +#if defined(ATA_CMD_WRITE_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_FUA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_FUA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_FUA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_FUA_EXT) +#endif #if defined(ATA_CMD_WRITE_QUEUED_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_QUEUED_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_QUEUED_FUA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_QUEUED_FUA_EXT) == (0x3E), "ATA_CMD_WRITE_QUEUED_FUA_EXT != 0x3E"); @@ -213,6 +503,16 @@ #else # define ATA_CMD_WRITE_QUEUED_FUA_EXT 0x3E #endif +#if defined(ATA_CMD_WRITE_QUEUED_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_QUEUED_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_QUEUED_FUA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_QUEUED_FUA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_QUEUED_FUA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_QUEUED_FUA_EXT) +#endif #if defined(ATA_CMD_WRITE_LOG_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_LOG_EXT) && HAVE_DECL_ATA_CMD_WRITE_LOG_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_LOG_EXT) == (0x3F), "ATA_CMD_WRITE_LOG_EXT != 0x3F"); @@ -220,6 +520,16 @@ #else # define ATA_CMD_WRITE_LOG_EXT 0x3F #endif +#if defined(ATA_CMD_WRITE_LOG_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_LOG_EXT) && HAVE_DECL_ATA_CMD_WRITE_LOG_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_LOG_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_LOG_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_LOG_EXT) +#endif #if defined(ATA_CMD_VERIFY) || (defined(HAVE_DECL_ATA_CMD_VERIFY) && HAVE_DECL_ATA_CMD_VERIFY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_VERIFY) == (0x40), "ATA_CMD_VERIFY != 0x40"); @@ -227,6 +537,16 @@ #else # define ATA_CMD_VERIFY 0x40 #endif +#if defined(ATA_CMD_VERIFY) || (defined(HAVE_DECL_ATA_CMD_VERIFY) && HAVE_DECL_ATA_CMD_VERIFY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_VERIFY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_VERIFY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_VERIFY) +#endif #if defined(ATA_CMD_VERIFY_EXT) || (defined(HAVE_DECL_ATA_CMD_VERIFY_EXT) && HAVE_DECL_ATA_CMD_VERIFY_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_VERIFY_EXT) == (0x42), "ATA_CMD_VERIFY_EXT != 0x42"); @@ -234,6 +554,16 @@ #else # define ATA_CMD_VERIFY_EXT 0x42 #endif +#if defined(ATA_CMD_VERIFY_EXT) || (defined(HAVE_DECL_ATA_CMD_VERIFY_EXT) && HAVE_DECL_ATA_CMD_VERIFY_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_VERIFY_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_VERIFY_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_VERIFY_EXT) +#endif #if defined(ATA_CMD_WRITE_UNCORR_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_UNCORR_EXT) && HAVE_DECL_ATA_CMD_WRITE_UNCORR_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_UNCORR_EXT) == (0x45), "ATA_CMD_WRITE_UNCORR_EXT != 0x45"); @@ -241,6 +571,16 @@ #else # define ATA_CMD_WRITE_UNCORR_EXT 0x45 #endif +#if defined(ATA_CMD_WRITE_UNCORR_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_UNCORR_EXT) && HAVE_DECL_ATA_CMD_WRITE_UNCORR_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_UNCORR_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_UNCORR_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_UNCORR_EXT) +#endif #if defined(ATA_CMD_READ_LOG_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_LOG_DMA_EXT) && HAVE_DECL_ATA_CMD_READ_LOG_DMA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_LOG_DMA_EXT) == (0x47), "ATA_CMD_READ_LOG_DMA_EXT != 0x47"); @@ -248,6 +588,16 @@ #else # define ATA_CMD_READ_LOG_DMA_EXT 0x47 #endif +#if defined(ATA_CMD_READ_LOG_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_READ_LOG_DMA_EXT) && HAVE_DECL_ATA_CMD_READ_LOG_DMA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_LOG_DMA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_LOG_DMA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_LOG_DMA_EXT) +#endif #if defined(ATA_CMD_ZAC_MGMT_IN) || (defined(HAVE_DECL_ATA_CMD_ZAC_MGMT_IN) && HAVE_DECL_ATA_CMD_ZAC_MGMT_IN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_ZAC_MGMT_IN) == (0x4A), "ATA_CMD_ZAC_MGMT_IN != 0x4A"); @@ -255,6 +605,16 @@ #else # define ATA_CMD_ZAC_MGMT_IN 0x4A #endif +#if defined(ATA_CMD_ZAC_MGMT_IN) || (defined(HAVE_DECL_ATA_CMD_ZAC_MGMT_IN) && HAVE_DECL_ATA_CMD_ZAC_MGMT_IN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_ZAC_MGMT_IN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_ZAC_MGMT_IN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_ZAC_MGMT_IN) +#endif #if defined(ATA_CMD_CONFIG_STREAM) || (defined(HAVE_DECL_ATA_CMD_CONFIG_STREAM) && HAVE_DECL_ATA_CMD_CONFIG_STREAM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CONFIG_STREAM) == (0x51), "ATA_CMD_CONFIG_STREAM != 0x51"); @@ -262,6 +622,16 @@ #else # define ATA_CMD_CONFIG_STREAM 0x51 #endif +#if defined(ATA_CMD_CONFIG_STREAM) || (defined(HAVE_DECL_ATA_CMD_CONFIG_STREAM) && HAVE_DECL_ATA_CMD_CONFIG_STREAM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CONFIG_STREAM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CONFIG_STREAM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CONFIG_STREAM) +#endif #if defined(ATA_CMD_WRITE_LOG_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_LOG_DMA_EXT) && HAVE_DECL_ATA_CMD_WRITE_LOG_DMA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_LOG_DMA_EXT) == (0x57), "ATA_CMD_WRITE_LOG_DMA_EXT != 0x57"); @@ -269,6 +639,16 @@ #else # define ATA_CMD_WRITE_LOG_DMA_EXT 0x57 #endif +#if defined(ATA_CMD_WRITE_LOG_DMA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_LOG_DMA_EXT) && HAVE_DECL_ATA_CMD_WRITE_LOG_DMA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_LOG_DMA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_LOG_DMA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_LOG_DMA_EXT) +#endif #if defined(ATA_CMD_TRUSTED_NONDATA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_NONDATA) && HAVE_DECL_ATA_CMD_TRUSTED_NONDATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_TRUSTED_NONDATA) == (0x5B), "ATA_CMD_TRUSTED_NONDATA != 0x5B"); @@ -276,6 +656,16 @@ #else # define ATA_CMD_TRUSTED_NONDATA 0x5B #endif +#if defined(ATA_CMD_TRUSTED_NONDATA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_NONDATA) && HAVE_DECL_ATA_CMD_TRUSTED_NONDATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_TRUSTED_NONDATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_TRUSTED_NONDATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_TRUSTED_NONDATA) +#endif #if defined(ATA_CMD_TRUSTED_RCV) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_RCV) && HAVE_DECL_ATA_CMD_TRUSTED_RCV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_TRUSTED_RCV) == (0x5C), "ATA_CMD_TRUSTED_RCV != 0x5C"); @@ -283,6 +673,16 @@ #else # define ATA_CMD_TRUSTED_RCV 0x5C #endif +#if defined(ATA_CMD_TRUSTED_RCV) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_RCV) && HAVE_DECL_ATA_CMD_TRUSTED_RCV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_TRUSTED_RCV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_TRUSTED_RCV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_TRUSTED_RCV) +#endif #if defined(ATA_CMD_TRUSTED_RCV_DMA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_RCV_DMA) && HAVE_DECL_ATA_CMD_TRUSTED_RCV_DMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_TRUSTED_RCV_DMA) == (0x5D), "ATA_CMD_TRUSTED_RCV_DMA != 0x5D"); @@ -290,6 +690,16 @@ #else # define ATA_CMD_TRUSTED_RCV_DMA 0x5D #endif +#if defined(ATA_CMD_TRUSTED_RCV_DMA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_RCV_DMA) && HAVE_DECL_ATA_CMD_TRUSTED_RCV_DMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_TRUSTED_RCV_DMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_TRUSTED_RCV_DMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_TRUSTED_RCV_DMA) +#endif #if defined(ATA_CMD_TRUSTED_SND) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_SND) && HAVE_DECL_ATA_CMD_TRUSTED_SND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_TRUSTED_SND) == (0x5E), "ATA_CMD_TRUSTED_SND != 0x5E"); @@ -297,6 +707,16 @@ #else # define ATA_CMD_TRUSTED_SND 0x5E #endif +#if defined(ATA_CMD_TRUSTED_SND) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_SND) && HAVE_DECL_ATA_CMD_TRUSTED_SND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_TRUSTED_SND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_TRUSTED_SND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_TRUSTED_SND) +#endif #if defined(ATA_CMD_TRUSTED_SND_DMA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_SND_DMA) && HAVE_DECL_ATA_CMD_TRUSTED_SND_DMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_TRUSTED_SND_DMA) == (0x5F), "ATA_CMD_TRUSTED_SND_DMA != 0x5F"); @@ -304,6 +724,16 @@ #else # define ATA_CMD_TRUSTED_SND_DMA 0x5F #endif +#if defined(ATA_CMD_TRUSTED_SND_DMA) || (defined(HAVE_DECL_ATA_CMD_TRUSTED_SND_DMA) && HAVE_DECL_ATA_CMD_TRUSTED_SND_DMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_TRUSTED_SND_DMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_TRUSTED_SND_DMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_TRUSTED_SND_DMA) +#endif #if defined(ATA_CMD_FPDMA_READ) || (defined(HAVE_DECL_ATA_CMD_FPDMA_READ) && HAVE_DECL_ATA_CMD_FPDMA_READ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FPDMA_READ) == (0x60), "ATA_CMD_FPDMA_READ != 0x60"); @@ -311,6 +741,16 @@ #else # define ATA_CMD_FPDMA_READ 0x60 #endif +#if defined(ATA_CMD_FPDMA_READ) || (defined(HAVE_DECL_ATA_CMD_FPDMA_READ) && HAVE_DECL_ATA_CMD_FPDMA_READ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FPDMA_READ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FPDMA_READ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FPDMA_READ) +#endif #if defined(ATA_CMD_FPDMA_WRITE) || (defined(HAVE_DECL_ATA_CMD_FPDMA_WRITE) && HAVE_DECL_ATA_CMD_FPDMA_WRITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FPDMA_WRITE) == (0x61), "ATA_CMD_FPDMA_WRITE != 0x61"); @@ -318,6 +758,16 @@ #else # define ATA_CMD_FPDMA_WRITE 0x61 #endif +#if defined(ATA_CMD_FPDMA_WRITE) || (defined(HAVE_DECL_ATA_CMD_FPDMA_WRITE) && HAVE_DECL_ATA_CMD_FPDMA_WRITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FPDMA_WRITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FPDMA_WRITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FPDMA_WRITE) +#endif #if defined(ATA_CMD_NCQ_NON_DATA) || (defined(HAVE_DECL_ATA_CMD_NCQ_NON_DATA) && HAVE_DECL_ATA_CMD_NCQ_NON_DATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_NCQ_NON_DATA) == (0x63), "ATA_CMD_NCQ_NON_DATA != 0x63"); @@ -325,6 +775,16 @@ #else # define ATA_CMD_NCQ_NON_DATA 0x63 #endif +#if defined(ATA_CMD_NCQ_NON_DATA) || (defined(HAVE_DECL_ATA_CMD_NCQ_NON_DATA) && HAVE_DECL_ATA_CMD_NCQ_NON_DATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_NCQ_NON_DATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_NCQ_NON_DATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_NCQ_NON_DATA) +#endif #if defined(ATA_CMD_FPDMA_SEND) || (defined(HAVE_DECL_ATA_CMD_FPDMA_SEND) && HAVE_DECL_ATA_CMD_FPDMA_SEND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FPDMA_SEND) == (0x64), "ATA_CMD_FPDMA_SEND != 0x64"); @@ -332,6 +792,16 @@ #else # define ATA_CMD_FPDMA_SEND 0x64 #endif +#if defined(ATA_CMD_FPDMA_SEND) || (defined(HAVE_DECL_ATA_CMD_FPDMA_SEND) && HAVE_DECL_ATA_CMD_FPDMA_SEND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FPDMA_SEND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FPDMA_SEND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FPDMA_SEND) +#endif #if defined(ATA_CMD_FPDMA_RECV) || (defined(HAVE_DECL_ATA_CMD_FPDMA_RECV) && HAVE_DECL_ATA_CMD_FPDMA_RECV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FPDMA_RECV) == (0x65), "ATA_CMD_FPDMA_RECV != 0x65"); @@ -339,6 +809,16 @@ #else # define ATA_CMD_FPDMA_RECV 0x65 #endif +#if defined(ATA_CMD_FPDMA_RECV) || (defined(HAVE_DECL_ATA_CMD_FPDMA_RECV) && HAVE_DECL_ATA_CMD_FPDMA_RECV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FPDMA_RECV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FPDMA_RECV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FPDMA_RECV) +#endif #if defined(ATA_CMD_CFA_TRANS_SECT) || (defined(HAVE_DECL_ATA_CMD_CFA_TRANS_SECT) && HAVE_DECL_ATA_CMD_CFA_TRANS_SECT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CFA_TRANS_SECT) == (0x87), "ATA_CMD_CFA_TRANS_SECT != 0x87"); @@ -346,6 +826,16 @@ #else # define ATA_CMD_CFA_TRANS_SECT 0x87 #endif +#if defined(ATA_CMD_CFA_TRANS_SECT) || (defined(HAVE_DECL_ATA_CMD_CFA_TRANS_SECT) && HAVE_DECL_ATA_CMD_CFA_TRANS_SECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CFA_TRANS_SECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CFA_TRANS_SECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CFA_TRANS_SECT) +#endif #if defined(ATA_CMD_EDD) || (defined(HAVE_DECL_ATA_CMD_EDD) && HAVE_DECL_ATA_CMD_EDD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_EDD) == (0x90), "ATA_CMD_EDD != 0x90"); @@ -353,6 +843,16 @@ #else # define ATA_CMD_EDD 0x90 #endif +#if defined(ATA_CMD_EDD) || (defined(HAVE_DECL_ATA_CMD_EDD) && HAVE_DECL_ATA_CMD_EDD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_EDD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_EDD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_EDD) +#endif #if defined(ATA_CMD_INIT_DEV_PARAMS) || (defined(HAVE_DECL_ATA_CMD_INIT_DEV_PARAMS) && HAVE_DECL_ATA_CMD_INIT_DEV_PARAMS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_INIT_DEV_PARAMS) == (0x91), "ATA_CMD_INIT_DEV_PARAMS != 0x91"); @@ -360,6 +860,16 @@ #else # define ATA_CMD_INIT_DEV_PARAMS 0x91 #endif +#if defined(ATA_CMD_INIT_DEV_PARAMS) || (defined(HAVE_DECL_ATA_CMD_INIT_DEV_PARAMS) && HAVE_DECL_ATA_CMD_INIT_DEV_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_INIT_DEV_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_INIT_DEV_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_INIT_DEV_PARAMS) +#endif #if defined(ATA_CMD_DOWNLOAD_MICRO) || (defined(HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO) && HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_DOWNLOAD_MICRO) == (0x92), "ATA_CMD_DOWNLOAD_MICRO != 0x92"); @@ -367,6 +877,16 @@ #else # define ATA_CMD_DOWNLOAD_MICRO 0x92 #endif +#if defined(ATA_CMD_DOWNLOAD_MICRO) || (defined(HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO) && HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_DOWNLOAD_MICRO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_DOWNLOAD_MICRO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_DOWNLOAD_MICRO) +#endif #if defined(ATA_CMD_DOWNLOAD_MICRO_DMA) || (defined(HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO_DMA) && HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO_DMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_DOWNLOAD_MICRO_DMA) == (0x93), "ATA_CMD_DOWNLOAD_MICRO_DMA != 0x93"); @@ -374,6 +894,16 @@ #else # define ATA_CMD_DOWNLOAD_MICRO_DMA 0x93 #endif +#if defined(ATA_CMD_DOWNLOAD_MICRO_DMA) || (defined(HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO_DMA) && HAVE_DECL_ATA_CMD_DOWNLOAD_MICRO_DMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_DOWNLOAD_MICRO_DMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_DOWNLOAD_MICRO_DMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_DOWNLOAD_MICRO_DMA) +#endif #if defined(ATA_CMD_ZAC_MGMT_OUT) || (defined(HAVE_DECL_ATA_CMD_ZAC_MGMT_OUT) && HAVE_DECL_ATA_CMD_ZAC_MGMT_OUT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_ZAC_MGMT_OUT) == (0x9F), "ATA_CMD_ZAC_MGMT_OUT != 0x9F"); @@ -381,6 +911,16 @@ #else # define ATA_CMD_ZAC_MGMT_OUT 0x9F #endif +#if defined(ATA_CMD_ZAC_MGMT_OUT) || (defined(HAVE_DECL_ATA_CMD_ZAC_MGMT_OUT) && HAVE_DECL_ATA_CMD_ZAC_MGMT_OUT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_ZAC_MGMT_OUT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_ZAC_MGMT_OUT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_ZAC_MGMT_OUT) +#endif #if defined(ATA_CMD_PACKET) || (defined(HAVE_DECL_ATA_CMD_PACKET) && HAVE_DECL_ATA_CMD_PACKET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PACKET) == (0xA0), "ATA_CMD_PACKET != 0xA0"); @@ -388,6 +928,16 @@ #else # define ATA_CMD_PACKET 0xA0 #endif +#if defined(ATA_CMD_PACKET) || (defined(HAVE_DECL_ATA_CMD_PACKET) && HAVE_DECL_ATA_CMD_PACKET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PACKET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PACKET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PACKET) +#endif #if defined(ATA_CMD_ID_ATAPI) || (defined(HAVE_DECL_ATA_CMD_ID_ATAPI) && HAVE_DECL_ATA_CMD_ID_ATAPI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_ID_ATAPI) == (0xA1), "ATA_CMD_ID_ATAPI != 0xA1"); @@ -395,6 +945,16 @@ #else # define ATA_CMD_ID_ATAPI 0xA1 #endif +#if defined(ATA_CMD_ID_ATAPI) || (defined(HAVE_DECL_ATA_CMD_ID_ATAPI) && HAVE_DECL_ATA_CMD_ID_ATAPI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_ID_ATAPI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_ID_ATAPI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_ID_ATAPI) +#endif #if defined(ATA_CMD_SERVICE) || (defined(HAVE_DECL_ATA_CMD_SERVICE) && HAVE_DECL_ATA_CMD_SERVICE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SERVICE) == (0xA2), "ATA_CMD_SERVICE != 0xA2"); @@ -402,6 +962,16 @@ #else # define ATA_CMD_SERVICE 0xA2 #endif +#if defined(ATA_CMD_SERVICE) || (defined(HAVE_DECL_ATA_CMD_SERVICE) && HAVE_DECL_ATA_CMD_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SERVICE) +#endif #if defined(ATA_CMD_SMART) || (defined(HAVE_DECL_ATA_CMD_SMART) && HAVE_DECL_ATA_CMD_SMART) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SMART) == (0xB0), "ATA_CMD_SMART != 0xB0"); @@ -409,6 +979,16 @@ #else # define ATA_CMD_SMART 0xB0 #endif +#if defined(ATA_CMD_SMART) || (defined(HAVE_DECL_ATA_CMD_SMART) && HAVE_DECL_ATA_CMD_SMART) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SMART) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SMART" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SMART) +#endif #if defined(ATA_CMD_CONF_OVERLAY) || (defined(HAVE_DECL_ATA_CMD_CONF_OVERLAY) && HAVE_DECL_ATA_CMD_CONF_OVERLAY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CONF_OVERLAY) == (0xB1), "ATA_CMD_CONF_OVERLAY != 0xB1"); @@ -416,6 +996,16 @@ #else # define ATA_CMD_CONF_OVERLAY 0xB1 #endif +#if defined(ATA_CMD_CONF_OVERLAY) || (defined(HAVE_DECL_ATA_CMD_CONF_OVERLAY) && HAVE_DECL_ATA_CMD_CONF_OVERLAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CONF_OVERLAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CONF_OVERLAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CONF_OVERLAY) +#endif #if defined(ATA_CMD_SANITIZE_DEVICE) || (defined(HAVE_DECL_ATA_CMD_SANITIZE_DEVICE) && HAVE_DECL_ATA_CMD_SANITIZE_DEVICE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SANITIZE_DEVICE) == (0xB4), "ATA_CMD_SANITIZE_DEVICE != 0xB4"); @@ -423,6 +1013,16 @@ #else # define ATA_CMD_SANITIZE_DEVICE 0xB4 #endif +#if defined(ATA_CMD_SANITIZE_DEVICE) || (defined(HAVE_DECL_ATA_CMD_SANITIZE_DEVICE) && HAVE_DECL_ATA_CMD_SANITIZE_DEVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SANITIZE_DEVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SANITIZE_DEVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SANITIZE_DEVICE) +#endif #if defined(ATA_CMD_CFA_ERASE) || (defined(HAVE_DECL_ATA_CMD_CFA_ERASE) && HAVE_DECL_ATA_CMD_CFA_ERASE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CFA_ERASE) == (0xC0), "ATA_CMD_CFA_ERASE != 0xC0"); @@ -430,6 +1030,16 @@ #else # define ATA_CMD_CFA_ERASE 0xC0 #endif +#if defined(ATA_CMD_CFA_ERASE) || (defined(HAVE_DECL_ATA_CMD_CFA_ERASE) && HAVE_DECL_ATA_CMD_CFA_ERASE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CFA_ERASE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CFA_ERASE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CFA_ERASE) +#endif #if defined(ATA_CMD_READ_MULTI) || (defined(HAVE_DECL_ATA_CMD_READ_MULTI) && HAVE_DECL_ATA_CMD_READ_MULTI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_MULTI) == (0xC4), "ATA_CMD_READ_MULTI != 0xC4"); @@ -437,6 +1047,16 @@ #else # define ATA_CMD_READ_MULTI 0xC4 #endif +#if defined(ATA_CMD_READ_MULTI) || (defined(HAVE_DECL_ATA_CMD_READ_MULTI) && HAVE_DECL_ATA_CMD_READ_MULTI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_MULTI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_MULTI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_MULTI) +#endif #if defined(ATA_CMD_WRITE_MULTI) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI) && HAVE_DECL_ATA_CMD_WRITE_MULTI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_MULTI) == (0xC5), "ATA_CMD_WRITE_MULTI != 0xC5"); @@ -444,6 +1064,16 @@ #else # define ATA_CMD_WRITE_MULTI 0xC5 #endif +#if defined(ATA_CMD_WRITE_MULTI) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI) && HAVE_DECL_ATA_CMD_WRITE_MULTI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_MULTI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_MULTI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_MULTI) +#endif #if defined(ATA_CMD_SET_MULTI) || (defined(HAVE_DECL_ATA_CMD_SET_MULTI) && HAVE_DECL_ATA_CMD_SET_MULTI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SET_MULTI) == (0xC6), "ATA_CMD_SET_MULTI != 0xC6"); @@ -451,6 +1081,16 @@ #else # define ATA_CMD_SET_MULTI 0xC6 #endif +#if defined(ATA_CMD_SET_MULTI) || (defined(HAVE_DECL_ATA_CMD_SET_MULTI) && HAVE_DECL_ATA_CMD_SET_MULTI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SET_MULTI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SET_MULTI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SET_MULTI) +#endif #if defined(ATA_CMD_READ) || (defined(HAVE_DECL_ATA_CMD_READ) && HAVE_DECL_ATA_CMD_READ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ) == (0xC8), "ATA_CMD_READ != 0xC8"); @@ -458,6 +1098,16 @@ #else # define ATA_CMD_READ 0xC8 #endif +#if defined(ATA_CMD_READ) || (defined(HAVE_DECL_ATA_CMD_READ) && HAVE_DECL_ATA_CMD_READ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ) +#endif #if defined(ATA_CMD_WRITE) || (defined(HAVE_DECL_ATA_CMD_WRITE) && HAVE_DECL_ATA_CMD_WRITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE) == (0xCA), "ATA_CMD_WRITE != 0xCA"); @@ -465,6 +1115,16 @@ #else # define ATA_CMD_WRITE 0xCA #endif +#if defined(ATA_CMD_WRITE) || (defined(HAVE_DECL_ATA_CMD_WRITE) && HAVE_DECL_ATA_CMD_WRITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE) +#endif #if defined(ATA_CMD_CFA_WRITE_MULT_NE) || (defined(HAVE_DECL_ATA_CMD_CFA_WRITE_MULT_NE) && HAVE_DECL_ATA_CMD_CFA_WRITE_MULT_NE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CFA_WRITE_MULT_NE) == (0xCD), "ATA_CMD_CFA_WRITE_MULT_NE != 0xCD"); @@ -472,6 +1132,16 @@ #else # define ATA_CMD_CFA_WRITE_MULT_NE 0xCD #endif +#if defined(ATA_CMD_CFA_WRITE_MULT_NE) || (defined(HAVE_DECL_ATA_CMD_CFA_WRITE_MULT_NE) && HAVE_DECL_ATA_CMD_CFA_WRITE_MULT_NE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CFA_WRITE_MULT_NE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CFA_WRITE_MULT_NE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CFA_WRITE_MULT_NE) +#endif #if defined(ATA_CMD_WRITE_MULTI_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_MULTI_FUA_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_WRITE_MULTI_FUA_EXT) == (0xCE), "ATA_CMD_WRITE_MULTI_FUA_EXT != 0xCE"); @@ -479,6 +1149,16 @@ #else # define ATA_CMD_WRITE_MULTI_FUA_EXT 0xCE #endif +#if defined(ATA_CMD_WRITE_MULTI_FUA_EXT) || (defined(HAVE_DECL_ATA_CMD_WRITE_MULTI_FUA_EXT) && HAVE_DECL_ATA_CMD_WRITE_MULTI_FUA_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_WRITE_MULTI_FUA_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_WRITE_MULTI_FUA_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_WRITE_MULTI_FUA_EXT) +#endif #if defined(ATA_CMD_CHK_MED_CRD_TYP) || (defined(HAVE_DECL_ATA_CMD_CHK_MED_CRD_TYP) && HAVE_DECL_ATA_CMD_CHK_MED_CRD_TYP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CHK_MED_CRD_TYP) == (0xD1), "ATA_CMD_CHK_MED_CRD_TYP != 0xD1"); @@ -486,6 +1166,16 @@ #else # define ATA_CMD_CHK_MED_CRD_TYP 0xD1 #endif +#if defined(ATA_CMD_CHK_MED_CRD_TYP) || (defined(HAVE_DECL_ATA_CMD_CHK_MED_CRD_TYP) && HAVE_DECL_ATA_CMD_CHK_MED_CRD_TYP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CHK_MED_CRD_TYP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CHK_MED_CRD_TYP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CHK_MED_CRD_TYP) +#endif #if defined(ATA_CMD_MEDIA_LOCK) || (defined(HAVE_DECL_ATA_CMD_MEDIA_LOCK) && HAVE_DECL_ATA_CMD_MEDIA_LOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_MEDIA_LOCK) == (0xDE), "ATA_CMD_MEDIA_LOCK != 0xDE"); @@ -493,6 +1183,16 @@ #else # define ATA_CMD_MEDIA_LOCK 0xDE #endif +#if defined(ATA_CMD_MEDIA_LOCK) || (defined(HAVE_DECL_ATA_CMD_MEDIA_LOCK) && HAVE_DECL_ATA_CMD_MEDIA_LOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_MEDIA_LOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_MEDIA_LOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_MEDIA_LOCK) +#endif #if defined(ATA_CMD_MEDIA_UNLOCK) || (defined(HAVE_DECL_ATA_CMD_MEDIA_UNLOCK) && HAVE_DECL_ATA_CMD_MEDIA_UNLOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_MEDIA_UNLOCK) == (0xDF), "ATA_CMD_MEDIA_UNLOCK != 0xDF"); @@ -500,6 +1200,16 @@ #else # define ATA_CMD_MEDIA_UNLOCK 0xDF #endif +#if defined(ATA_CMD_MEDIA_UNLOCK) || (defined(HAVE_DECL_ATA_CMD_MEDIA_UNLOCK) && HAVE_DECL_ATA_CMD_MEDIA_UNLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_MEDIA_UNLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_MEDIA_UNLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_MEDIA_UNLOCK) +#endif #if defined(ATA_CMD_STANDBYNOW1) || (defined(HAVE_DECL_ATA_CMD_STANDBYNOW1) && HAVE_DECL_ATA_CMD_STANDBYNOW1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_STANDBYNOW1) == (0xE0), "ATA_CMD_STANDBYNOW1 != 0xE0"); @@ -507,6 +1217,16 @@ #else # define ATA_CMD_STANDBYNOW1 0xE0 #endif +#if defined(ATA_CMD_STANDBYNOW1) || (defined(HAVE_DECL_ATA_CMD_STANDBYNOW1) && HAVE_DECL_ATA_CMD_STANDBYNOW1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_STANDBYNOW1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_STANDBYNOW1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_STANDBYNOW1) +#endif #if defined(ATA_CMD_IDLEIMMEDIATE) || (defined(HAVE_DECL_ATA_CMD_IDLEIMMEDIATE) && HAVE_DECL_ATA_CMD_IDLEIMMEDIATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_IDLEIMMEDIATE) == (0xE1), "ATA_CMD_IDLEIMMEDIATE != 0xE1"); @@ -514,6 +1234,16 @@ #else # define ATA_CMD_IDLEIMMEDIATE 0xE1 #endif +#if defined(ATA_CMD_IDLEIMMEDIATE) || (defined(HAVE_DECL_ATA_CMD_IDLEIMMEDIATE) && HAVE_DECL_ATA_CMD_IDLEIMMEDIATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_IDLEIMMEDIATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_IDLEIMMEDIATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_IDLEIMMEDIATE) +#endif #if defined(ATA_CMD_STANDBY) || (defined(HAVE_DECL_ATA_CMD_STANDBY) && HAVE_DECL_ATA_CMD_STANDBY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_STANDBY) == (0xE2), "ATA_CMD_STANDBY != 0xE2"); @@ -521,6 +1251,16 @@ #else # define ATA_CMD_STANDBY 0xE2 #endif +#if defined(ATA_CMD_STANDBY) || (defined(HAVE_DECL_ATA_CMD_STANDBY) && HAVE_DECL_ATA_CMD_STANDBY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_STANDBY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_STANDBY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_STANDBY) +#endif #if defined(ATA_CMD_IDLE) || (defined(HAVE_DECL_ATA_CMD_IDLE) && HAVE_DECL_ATA_CMD_IDLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_IDLE) == (0xE3), "ATA_CMD_IDLE != 0xE3"); @@ -528,6 +1268,16 @@ #else # define ATA_CMD_IDLE 0xE3 #endif +#if defined(ATA_CMD_IDLE) || (defined(HAVE_DECL_ATA_CMD_IDLE) && HAVE_DECL_ATA_CMD_IDLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_IDLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_IDLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_IDLE) +#endif #if defined(ATA_CMD_PMP_READ) || (defined(HAVE_DECL_ATA_CMD_PMP_READ) && HAVE_DECL_ATA_CMD_PMP_READ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PMP_READ) == (0xE4), "ATA_CMD_PMP_READ != 0xE4"); @@ -535,6 +1285,16 @@ #else # define ATA_CMD_PMP_READ 0xE4 #endif +#if defined(ATA_CMD_PMP_READ) || (defined(HAVE_DECL_ATA_CMD_PMP_READ) && HAVE_DECL_ATA_CMD_PMP_READ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PMP_READ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PMP_READ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PMP_READ) +#endif #if defined(ATA_CMD_CHK_POWER) || (defined(HAVE_DECL_ATA_CMD_CHK_POWER) && HAVE_DECL_ATA_CMD_CHK_POWER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_CHK_POWER) == (0xE5), "ATA_CMD_CHK_POWER != 0xE5"); @@ -542,6 +1302,16 @@ #else # define ATA_CMD_CHK_POWER 0xE5 #endif +#if defined(ATA_CMD_CHK_POWER) || (defined(HAVE_DECL_ATA_CMD_CHK_POWER) && HAVE_DECL_ATA_CMD_CHK_POWER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_CHK_POWER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_CHK_POWER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_CHK_POWER) +#endif #if defined(ATA_CMD_SLEEP) || (defined(HAVE_DECL_ATA_CMD_SLEEP) && HAVE_DECL_ATA_CMD_SLEEP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SLEEP) == (0xE6), "ATA_CMD_SLEEP != 0xE6"); @@ -549,6 +1319,16 @@ #else # define ATA_CMD_SLEEP 0xE6 #endif +#if defined(ATA_CMD_SLEEP) || (defined(HAVE_DECL_ATA_CMD_SLEEP) && HAVE_DECL_ATA_CMD_SLEEP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SLEEP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SLEEP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SLEEP) +#endif #if defined(ATA_CMD_FLUSH) || (defined(HAVE_DECL_ATA_CMD_FLUSH) && HAVE_DECL_ATA_CMD_FLUSH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FLUSH) == (0xE7), "ATA_CMD_FLUSH != 0xE7"); @@ -556,6 +1336,16 @@ #else # define ATA_CMD_FLUSH 0xE7 #endif +#if defined(ATA_CMD_FLUSH) || (defined(HAVE_DECL_ATA_CMD_FLUSH) && HAVE_DECL_ATA_CMD_FLUSH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FLUSH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FLUSH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FLUSH) +#endif #if defined(ATA_CMD_PMP_WRITE) || (defined(HAVE_DECL_ATA_CMD_PMP_WRITE) && HAVE_DECL_ATA_CMD_PMP_WRITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PMP_WRITE) == (0xE8), "ATA_CMD_PMP_WRITE != 0xE8"); @@ -563,6 +1353,16 @@ #else # define ATA_CMD_PMP_WRITE 0xE8 #endif +#if defined(ATA_CMD_PMP_WRITE) || (defined(HAVE_DECL_ATA_CMD_PMP_WRITE) && HAVE_DECL_ATA_CMD_PMP_WRITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PMP_WRITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PMP_WRITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PMP_WRITE) +#endif #if defined(ATA_CMD_PMP_READ_DMA) || (defined(HAVE_DECL_ATA_CMD_PMP_READ_DMA) && HAVE_DECL_ATA_CMD_PMP_READ_DMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PMP_READ_DMA) == (0xE9), "ATA_CMD_PMP_READ_DMA != 0xE9"); @@ -570,6 +1370,16 @@ #else # define ATA_CMD_PMP_READ_DMA 0xE9 #endif +#if defined(ATA_CMD_PMP_READ_DMA) || (defined(HAVE_DECL_ATA_CMD_PMP_READ_DMA) && HAVE_DECL_ATA_CMD_PMP_READ_DMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PMP_READ_DMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PMP_READ_DMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PMP_READ_DMA) +#endif #if defined(ATA_CMD_FLUSH_EXT) || (defined(HAVE_DECL_ATA_CMD_FLUSH_EXT) && HAVE_DECL_ATA_CMD_FLUSH_EXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_FLUSH_EXT) == (0xEA), "ATA_CMD_FLUSH_EXT != 0xEA"); @@ -577,6 +1387,16 @@ #else # define ATA_CMD_FLUSH_EXT 0xEA #endif +#if defined(ATA_CMD_FLUSH_EXT) || (defined(HAVE_DECL_ATA_CMD_FLUSH_EXT) && HAVE_DECL_ATA_CMD_FLUSH_EXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_FLUSH_EXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_FLUSH_EXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_FLUSH_EXT) +#endif #if defined(ATA_CMD_PMP_WRITE_DMA) || (defined(HAVE_DECL_ATA_CMD_PMP_WRITE_DMA) && HAVE_DECL_ATA_CMD_PMP_WRITE_DMA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_PMP_WRITE_DMA) == (0xEB), "ATA_CMD_PMP_WRITE_DMA != 0xEB"); @@ -584,6 +1404,16 @@ #else # define ATA_CMD_PMP_WRITE_DMA 0xEB #endif +#if defined(ATA_CMD_PMP_WRITE_DMA) || (defined(HAVE_DECL_ATA_CMD_PMP_WRITE_DMA) && HAVE_DECL_ATA_CMD_PMP_WRITE_DMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_PMP_WRITE_DMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_PMP_WRITE_DMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_PMP_WRITE_DMA) +#endif #if defined(ATA_CMD_ID_ATA) || (defined(HAVE_DECL_ATA_CMD_ID_ATA) && HAVE_DECL_ATA_CMD_ID_ATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_ID_ATA) == (0xEC), "ATA_CMD_ID_ATA != 0xEC"); @@ -591,6 +1421,16 @@ #else # define ATA_CMD_ID_ATA 0xEC #endif +#if defined(ATA_CMD_ID_ATA) || (defined(HAVE_DECL_ATA_CMD_ID_ATA) && HAVE_DECL_ATA_CMD_ID_ATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_ID_ATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_ID_ATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_ID_ATA) +#endif #if defined(ATA_CMD_SET_FEATURES) || (defined(HAVE_DECL_ATA_CMD_SET_FEATURES) && HAVE_DECL_ATA_CMD_SET_FEATURES) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SET_FEATURES) == (0xEF), "ATA_CMD_SET_FEATURES != 0xEF"); @@ -598,6 +1438,16 @@ #else # define ATA_CMD_SET_FEATURES 0xEF #endif +#if defined(ATA_CMD_SET_FEATURES) || (defined(HAVE_DECL_ATA_CMD_SET_FEATURES) && HAVE_DECL_ATA_CMD_SET_FEATURES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SET_FEATURES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SET_FEATURES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SET_FEATURES) +#endif #if defined(ATA_CMD_SEC_SET_PASS) || (defined(HAVE_DECL_ATA_CMD_SEC_SET_PASS) && HAVE_DECL_ATA_CMD_SEC_SET_PASS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_SET_PASS) == (0xF1), "ATA_CMD_SEC_SET_PASS != 0xF1"); @@ -605,6 +1455,16 @@ #else # define ATA_CMD_SEC_SET_PASS 0xF1 #endif +#if defined(ATA_CMD_SEC_SET_PASS) || (defined(HAVE_DECL_ATA_CMD_SEC_SET_PASS) && HAVE_DECL_ATA_CMD_SEC_SET_PASS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_SET_PASS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_SET_PASS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_SET_PASS) +#endif #if defined(ATA_CMD_SEC_UNLOCK) || (defined(HAVE_DECL_ATA_CMD_SEC_UNLOCK) && HAVE_DECL_ATA_CMD_SEC_UNLOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_UNLOCK) == (0xF2), "ATA_CMD_SEC_UNLOCK != 0xF2"); @@ -612,6 +1472,16 @@ #else # define ATA_CMD_SEC_UNLOCK 0xF2 #endif +#if defined(ATA_CMD_SEC_UNLOCK) || (defined(HAVE_DECL_ATA_CMD_SEC_UNLOCK) && HAVE_DECL_ATA_CMD_SEC_UNLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_UNLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_UNLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_UNLOCK) +#endif #if defined(ATA_CMD_SEC_ERASE_PREP) || (defined(HAVE_DECL_ATA_CMD_SEC_ERASE_PREP) && HAVE_DECL_ATA_CMD_SEC_ERASE_PREP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_ERASE_PREP) == (0xF3), "ATA_CMD_SEC_ERASE_PREP != 0xF3"); @@ -619,6 +1489,16 @@ #else # define ATA_CMD_SEC_ERASE_PREP 0xF3 #endif +#if defined(ATA_CMD_SEC_ERASE_PREP) || (defined(HAVE_DECL_ATA_CMD_SEC_ERASE_PREP) && HAVE_DECL_ATA_CMD_SEC_ERASE_PREP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_ERASE_PREP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_ERASE_PREP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_ERASE_PREP) +#endif #if defined(ATA_CMD_SEC_ERASE_UNIT) || (defined(HAVE_DECL_ATA_CMD_SEC_ERASE_UNIT) && HAVE_DECL_ATA_CMD_SEC_ERASE_UNIT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_ERASE_UNIT) == (0xF4), "ATA_CMD_SEC_ERASE_UNIT != 0xF4"); @@ -626,6 +1506,16 @@ #else # define ATA_CMD_SEC_ERASE_UNIT 0xF4 #endif +#if defined(ATA_CMD_SEC_ERASE_UNIT) || (defined(HAVE_DECL_ATA_CMD_SEC_ERASE_UNIT) && HAVE_DECL_ATA_CMD_SEC_ERASE_UNIT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_ERASE_UNIT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_ERASE_UNIT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_ERASE_UNIT) +#endif #if defined(ATA_CMD_SEC_FREEZE_LOCK) || (defined(HAVE_DECL_ATA_CMD_SEC_FREEZE_LOCK) && HAVE_DECL_ATA_CMD_SEC_FREEZE_LOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_FREEZE_LOCK) == (0xF5), "ATA_CMD_SEC_FREEZE_LOCK != 0xF5"); @@ -633,6 +1523,16 @@ #else # define ATA_CMD_SEC_FREEZE_LOCK 0xF5 #endif +#if defined(ATA_CMD_SEC_FREEZE_LOCK) || (defined(HAVE_DECL_ATA_CMD_SEC_FREEZE_LOCK) && HAVE_DECL_ATA_CMD_SEC_FREEZE_LOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_FREEZE_LOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_FREEZE_LOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_FREEZE_LOCK) +#endif #if defined(ATA_CMD_SEC_DISABLE_PASS) || (defined(HAVE_DECL_ATA_CMD_SEC_DISABLE_PASS) && HAVE_DECL_ATA_CMD_SEC_DISABLE_PASS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SEC_DISABLE_PASS) == (0xF6), "ATA_CMD_SEC_DISABLE_PASS != 0xF6"); @@ -640,6 +1540,16 @@ #else # define ATA_CMD_SEC_DISABLE_PASS 0xF6 #endif +#if defined(ATA_CMD_SEC_DISABLE_PASS) || (defined(HAVE_DECL_ATA_CMD_SEC_DISABLE_PASS) && HAVE_DECL_ATA_CMD_SEC_DISABLE_PASS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SEC_DISABLE_PASS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SEC_DISABLE_PASS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SEC_DISABLE_PASS) +#endif #if defined(ATA_CMD_READ_NATIVE_MAX) || (defined(HAVE_DECL_ATA_CMD_READ_NATIVE_MAX) && HAVE_DECL_ATA_CMD_READ_NATIVE_MAX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_READ_NATIVE_MAX) == (0xF8), "ATA_CMD_READ_NATIVE_MAX != 0xF8"); @@ -647,6 +1557,16 @@ #else # define ATA_CMD_READ_NATIVE_MAX 0xF8 #endif +#if defined(ATA_CMD_READ_NATIVE_MAX) || (defined(HAVE_DECL_ATA_CMD_READ_NATIVE_MAX) && HAVE_DECL_ATA_CMD_READ_NATIVE_MAX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_READ_NATIVE_MAX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_READ_NATIVE_MAX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_READ_NATIVE_MAX) +#endif #if defined(ATA_CMD_SET_MAX) || (defined(HAVE_DECL_ATA_CMD_SET_MAX) && HAVE_DECL_ATA_CMD_SET_MAX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((ATA_CMD_SET_MAX) == (0xF9), "ATA_CMD_SET_MAX != 0xF9"); @@ -654,6 +1574,17 @@ #else # define ATA_CMD_SET_MAX 0xF9 #endif +#if defined(ATA_CMD_SET_MAX) || (defined(HAVE_DECL_ATA_CMD_SET_MAX) && HAVE_DECL_ATA_CMD_SET_MAX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (ATA_CMD_SET_MAX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: ATA_CMD_SET_MAX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (ATA_CMD_SET_MAX) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/hdio_ide_nice.h
Added
@@ -0,0 +1,88 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/hdio_ide_nice.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat hdio_ide_nice in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data hdio_ide_nice_xdata = { + XLAT(1 << IDE_NICE_DSC_OVERLAP), + #define XLAT_VAL_0 ((unsigned) (1 << IDE_NICE_DSC_OVERLAP)) + #define XLAT_STR_0 STRINGIFY(1 << IDE_NICE_DSC_OVERLAP) + XLAT(1 << IDE_NICE_ATAPI_OVERLAP), + #define XLAT_VAL_1 ((unsigned) (1 << IDE_NICE_ATAPI_OVERLAP)) + #define XLAT_STR_1 STRINGIFY(1 << IDE_NICE_ATAPI_OVERLAP) + XLAT(1 << IDE_NICE_1), + #define XLAT_VAL_2 ((unsigned) (1 << IDE_NICE_1)) + #define XLAT_STR_2 STRINGIFY(1 << IDE_NICE_1) + XLAT(1 << IDE_NICE_0), + #define XLAT_VAL_3 ((unsigned) (1 << IDE_NICE_0)) + #define XLAT_STR_3 STRINGIFY(1 << IDE_NICE_0) + XLAT(1 << IDE_NICE_2), + #define XLAT_VAL_4 ((unsigned) (1 << IDE_NICE_2)) + #define XLAT_STR_4 STRINGIFY(1 << IDE_NICE_2) +}; +static +const struct xlat hdio_ide_nice1 = { { + .data = hdio_ide_nice_xdata, + .size = ARRAY_SIZE(hdio_ide_nice_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/hdio_ide_nice.in
Added
@@ -0,0 +1,5 @@ +1 << IDE_NICE_DSC_OVERLAP +1 << IDE_NICE_ATAPI_OVERLAP +1 << IDE_NICE_1 +1 << IDE_NICE_0 +1 << IDE_NICE_2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/hw_breakpoint_len.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/hw_breakpoint_len.h
Changed
@@ -31,6 +31,7 @@ #else # define HW_BREAKPOINT_LEN_8 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/hw_breakpoint_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/hw_breakpoint_type.h
Changed
@@ -38,6 +38,7 @@ #else # define HW_BREAKPOINT_X 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -49,19 +50,19 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data hw_breakpoint_type_xdata = { - XLAT(HW_BREAKPOINT_EMPTY), + HW_BREAKPOINT_EMPTY = XLAT(HW_BREAKPOINT_EMPTY), #define XLAT_VAL_0 ((unsigned) (HW_BREAKPOINT_EMPTY)) #define XLAT_STR_0 STRINGIFY(HW_BREAKPOINT_EMPTY) - XLAT(HW_BREAKPOINT_R), + HW_BREAKPOINT_R = XLAT(HW_BREAKPOINT_R), #define XLAT_VAL_1 ((unsigned) (HW_BREAKPOINT_R)) #define XLAT_STR_1 STRINGIFY(HW_BREAKPOINT_R) - XLAT(HW_BREAKPOINT_W), + HW_BREAKPOINT_W = XLAT(HW_BREAKPOINT_W), #define XLAT_VAL_2 ((unsigned) (HW_BREAKPOINT_W)) #define XLAT_STR_2 STRINGIFY(HW_BREAKPOINT_W) - XLAT(HW_BREAKPOINT_RW), + HW_BREAKPOINT_RW = XLAT(HW_BREAKPOINT_RW), #define XLAT_VAL_3 ((unsigned) (HW_BREAKPOINT_RW)) #define XLAT_STR_3 STRINGIFY(HW_BREAKPOINT_RW) - XLAT(HW_BREAKPOINT_X), + HW_BREAKPOINT_X = XLAT(HW_BREAKPOINT_X), #define XLAT_VAL_4 ((unsigned) (HW_BREAKPOINT_X)) #define XLAT_STR_4 STRINGIFY(HW_BREAKPOINT_X) }; @@ -69,7 +70,7 @@ const struct xlat hw_breakpoint_type1 = { { .data = hw_breakpoint_type_xdata, .size = ARRAY_SIZE(hw_breakpoint_type_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/hw_breakpoint_type.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/hw_breakpoint_type.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed HW_BREAKPOINT_EMPTY 0 HW_BREAKPOINT_R 1 HW_BREAKPOINT_W 2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/icmp_filter_flags.h
Added
@@ -0,0 +1,267 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/icmp_filter_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(ICMP_ECHOREPLY) || (defined(HAVE_DECL_ICMP_ECHOREPLY) && HAVE_DECL_ICMP_ECHOREPLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_ECHOREPLY) == (0), "ICMP_ECHOREPLY != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_ECHOREPLY 0 +#endif +#if defined(ICMP_DEST_UNREACH) || (defined(HAVE_DECL_ICMP_DEST_UNREACH) && HAVE_DECL_ICMP_DEST_UNREACH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_DEST_UNREACH) == (3), "ICMP_DEST_UNREACH != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_DEST_UNREACH 3 +#endif +#if defined(ICMP_SOURCE_QUENCH) || (defined(HAVE_DECL_ICMP_SOURCE_QUENCH) && HAVE_DECL_ICMP_SOURCE_QUENCH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_SOURCE_QUENCH) == (4), "ICMP_SOURCE_QUENCH != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_SOURCE_QUENCH 4 +#endif +#if defined(ICMP_REDIRECT) || (defined(HAVE_DECL_ICMP_REDIRECT) && HAVE_DECL_ICMP_REDIRECT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_REDIRECT) == (5), "ICMP_REDIRECT != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_REDIRECT 5 +#endif +#if defined(ICMP_ECHO) || (defined(HAVE_DECL_ICMP_ECHO) && HAVE_DECL_ICMP_ECHO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_ECHO) == (8), "ICMP_ECHO != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_ECHO 8 +#endif +#if defined(ICMP_TIME_EXCEEDED) || (defined(HAVE_DECL_ICMP_TIME_EXCEEDED) && HAVE_DECL_ICMP_TIME_EXCEEDED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_TIME_EXCEEDED) == (11), "ICMP_TIME_EXCEEDED != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_TIME_EXCEEDED 11 +#endif +#if defined(ICMP_PARAMETERPROB) || (defined(HAVE_DECL_ICMP_PARAMETERPROB) && HAVE_DECL_ICMP_PARAMETERPROB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_PARAMETERPROB) == (12), "ICMP_PARAMETERPROB != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_PARAMETERPROB 12 +#endif +#if defined(ICMP_TIMESTAMP) || (defined(HAVE_DECL_ICMP_TIMESTAMP) && HAVE_DECL_ICMP_TIMESTAMP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_TIMESTAMP) == (13), "ICMP_TIMESTAMP != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_TIMESTAMP 13 +#endif +#if defined(ICMP_TIMESTAMPREPLY) || (defined(HAVE_DECL_ICMP_TIMESTAMPREPLY) && HAVE_DECL_ICMP_TIMESTAMPREPLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_TIMESTAMPREPLY) == (14), "ICMP_TIMESTAMPREPLY != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_TIMESTAMPREPLY 14 +#endif +#if defined(ICMP_INFO_REQUEST) || (defined(HAVE_DECL_ICMP_INFO_REQUEST) && HAVE_DECL_ICMP_INFO_REQUEST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_INFO_REQUEST) == (15), "ICMP_INFO_REQUEST != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_INFO_REQUEST 15 +#endif +#if defined(ICMP_INFO_REPLY) || (defined(HAVE_DECL_ICMP_INFO_REPLY) && HAVE_DECL_ICMP_INFO_REPLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_INFO_REPLY) == (16), "ICMP_INFO_REPLY != 16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_INFO_REPLY 16 +#endif +#if defined(ICMP_ADDRESS) || (defined(HAVE_DECL_ICMP_ADDRESS) && HAVE_DECL_ICMP_ADDRESS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_ADDRESS) == (17), "ICMP_ADDRESS != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_ADDRESS 17 +#endif +#if defined(ICMP_ADDRESSREPLY) || (defined(HAVE_DECL_ICMP_ADDRESSREPLY) && HAVE_DECL_ICMP_ADDRESSREPLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((ICMP_ADDRESSREPLY) == (18), "ICMP_ADDRESSREPLY != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define ICMP_ADDRESSREPLY 18 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat icmp_filter_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data icmp_filter_flags_xdata = { + ICMP_ECHOREPLY = XLAT(ICMP_ECHOREPLY), + #define XLAT_VAL_0 ((unsigned) (ICMP_ECHOREPLY)) + #define XLAT_STR_0 STRINGIFY(ICMP_ECHOREPLY) + ICMP_DEST_UNREACH = XLAT(ICMP_DEST_UNREACH), + #define XLAT_VAL_1 ((unsigned) (ICMP_DEST_UNREACH)) + #define XLAT_STR_1 STRINGIFY(ICMP_DEST_UNREACH) + ICMP_SOURCE_QUENCH = XLAT(ICMP_SOURCE_QUENCH), + #define XLAT_VAL_2 ((unsigned) (ICMP_SOURCE_QUENCH)) + #define XLAT_STR_2 STRINGIFY(ICMP_SOURCE_QUENCH) + ICMP_REDIRECT = XLAT(ICMP_REDIRECT), + #define XLAT_VAL_3 ((unsigned) (ICMP_REDIRECT)) + #define XLAT_STR_3 STRINGIFY(ICMP_REDIRECT) + ICMP_ECHO = XLAT(ICMP_ECHO), + #define XLAT_VAL_4 ((unsigned) (ICMP_ECHO)) + #define XLAT_STR_4 STRINGIFY(ICMP_ECHO) + ICMP_TIME_EXCEEDED = XLAT(ICMP_TIME_EXCEEDED), + #define XLAT_VAL_5 ((unsigned) (ICMP_TIME_EXCEEDED)) + #define XLAT_STR_5 STRINGIFY(ICMP_TIME_EXCEEDED) + ICMP_PARAMETERPROB = XLAT(ICMP_PARAMETERPROB), + #define XLAT_VAL_6 ((unsigned) (ICMP_PARAMETERPROB)) + #define XLAT_STR_6 STRINGIFY(ICMP_PARAMETERPROB) + ICMP_TIMESTAMP = XLAT(ICMP_TIMESTAMP), + #define XLAT_VAL_7 ((unsigned) (ICMP_TIMESTAMP)) + #define XLAT_STR_7 STRINGIFY(ICMP_TIMESTAMP) + ICMP_TIMESTAMPREPLY = XLAT(ICMP_TIMESTAMPREPLY), + #define XLAT_VAL_8 ((unsigned) (ICMP_TIMESTAMPREPLY)) + #define XLAT_STR_8 STRINGIFY(ICMP_TIMESTAMPREPLY) + ICMP_INFO_REQUEST = XLAT(ICMP_INFO_REQUEST), + #define XLAT_VAL_9 ((unsigned) (ICMP_INFO_REQUEST)) + #define XLAT_STR_9 STRINGIFY(ICMP_INFO_REQUEST) + ICMP_INFO_REPLY = XLAT(ICMP_INFO_REPLY), + #define XLAT_VAL_10 ((unsigned) (ICMP_INFO_REPLY)) + #define XLAT_STR_10 STRINGIFY(ICMP_INFO_REPLY) + ICMP_ADDRESS = XLAT(ICMP_ADDRESS), + #define XLAT_VAL_11 ((unsigned) (ICMP_ADDRESS)) + #define XLAT_STR_11 STRINGIFY(ICMP_ADDRESS) + ICMP_ADDRESSREPLY = XLAT(ICMP_ADDRESSREPLY), + #define XLAT_VAL_12 ((unsigned) (ICMP_ADDRESSREPLY)) + #define XLAT_STR_12 STRINGIFY(ICMP_ADDRESSREPLY) +}; +static +const struct xlat icmp_filter_flags1 = { { + .data = icmp_filter_flags_xdata, + .size = ARRAY_SIZE(icmp_filter_flags_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/icmp_filter_flags.in
Added
@@ -0,0 +1,14 @@ +#value_indexed +ICMP_ECHOREPLY 0 +ICMP_DEST_UNREACH 3 +ICMP_SOURCE_QUENCH 4 +ICMP_REDIRECT 5 +ICMP_ECHO 8 +ICMP_TIME_EXCEEDED 11 +ICMP_PARAMETERPROB 12 +ICMP_TIMESTAMP 13 +ICMP_TIMESTAMPREPLY 14 +ICMP_INFO_REQUEST 15 +ICMP_INFO_REPLY 16 +ICMP_ADDRESS 17 +ICMP_ADDRESSREPLY 18
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_addr_types.h
Added
@@ -0,0 +1,87 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ieee802154_addr_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(IEEE802154_ADDR_NONE) || (defined(HAVE_DECL_IEEE802154_ADDR_NONE) && HAVE_DECL_IEEE802154_ADDR_NONE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_ADDR_NONE) == (0), "IEEE802154_ADDR_NONE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_ADDR_NONE 0 +#endif +#if defined(IEEE802154_ADDR_SHORT) || (defined(HAVE_DECL_IEEE802154_ADDR_SHORT) && HAVE_DECL_IEEE802154_ADDR_SHORT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_ADDR_SHORT) == (2), "IEEE802154_ADDR_SHORT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_ADDR_SHORT 2 +#endif +#if defined(IEEE802154_ADDR_LONG) || (defined(HAVE_DECL_IEEE802154_ADDR_LONG) && HAVE_DECL_IEEE802154_ADDR_LONG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_ADDR_LONG) == (3), "IEEE802154_ADDR_LONG != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_ADDR_LONG 3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ieee802154_addr_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ieee802154_addr_types_xdata = { + IEEE802154_ADDR_NONE = XLAT(IEEE802154_ADDR_NONE), + #define XLAT_VAL_0 ((unsigned) (IEEE802154_ADDR_NONE)) + #define XLAT_STR_0 STRINGIFY(IEEE802154_ADDR_NONE) + IEEE802154_ADDR_SHORT = XLAT(IEEE802154_ADDR_SHORT), + #define XLAT_VAL_1 ((unsigned) (IEEE802154_ADDR_SHORT)) + #define XLAT_STR_1 STRINGIFY(IEEE802154_ADDR_SHORT) + IEEE802154_ADDR_LONG = XLAT(IEEE802154_ADDR_LONG), + #define XLAT_VAL_2 ((unsigned) (IEEE802154_ADDR_LONG)) + #define XLAT_STR_2 STRINGIFY(IEEE802154_ADDR_LONG) +}; +static +const struct xlat ieee802154_addr_types1 = { { + .data = ieee802154_addr_types_xdata, + .size = ARRAY_SIZE(ieee802154_addr_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_addr_types.in
Added
@@ -0,0 +1,5 @@ +#value_indexed +#enum +IEEE802154_ADDR_NONE 0 +IEEE802154_ADDR_SHORT 2 +IEEE802154_ADDR_LONG 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_addr_types.m4
Added
@@ -0,0 +1,8 @@ +dnl Generated by ./src/xlat/gen.sh from ./src/xlat/ieee802154_addr_types.in; do not edit. +AC_DEFUN(st_CHECK_ENUMS_ieee802154_addr_types, +AC_CHECK_DECLS(m4_normalize( +IEEE802154_ADDR_NONE, +IEEE802154_ADDR_SHORT, +IEEE802154_ADDR_LONG +),,, +)))
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_addrs.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ieee802154_addrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(IEEE802154_ADDR_UNDEF) || (defined(HAVE_DECL_IEEE802154_ADDR_UNDEF) && HAVE_DECL_IEEE802154_ADDR_UNDEF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_ADDR_UNDEF) == (0xfffe), "IEEE802154_ADDR_UNDEF != 0xfffe"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_ADDR_UNDEF 0xfffe +#endif +#if defined(IEEE802154_ADDR_BROADCAST) || (defined(HAVE_DECL_IEEE802154_ADDR_BROADCAST) && HAVE_DECL_IEEE802154_ADDR_BROADCAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_ADDR_BROADCAST) == (0xffff), "IEEE802154_ADDR_BROADCAST != 0xffff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_ADDR_BROADCAST 0xffff +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ieee802154_addrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ieee802154_addrs_xdata = { + XLAT(IEEE802154_ADDR_UNDEF), + #define XLAT_VAL_0 ((unsigned) (IEEE802154_ADDR_UNDEF)) + #define XLAT_STR_0 STRINGIFY(IEEE802154_ADDR_UNDEF) + XLAT(IEEE802154_ADDR_BROADCAST), + #define XLAT_VAL_1 ((unsigned) (IEEE802154_ADDR_BROADCAST)) + #define XLAT_STR_1 STRINGIFY(IEEE802154_ADDR_BROADCAST) +}; +static +const struct xlat ieee802154_addrs1 = { { + .data = ieee802154_addrs_xdata, + .size = ARRAY_SIZE(ieee802154_addrs_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_addrs.in
Added
@@ -0,0 +1,2 @@ +IEEE802154_ADDR_UNDEF 0xfffe +IEEE802154_ADDR_BROADCAST 0xffff
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_pan_ids.h
Added
@@ -0,0 +1,51 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ieee802154_pan_ids.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(IEEE802154_PANID_BROADCAST) || (defined(HAVE_DECL_IEEE802154_PANID_BROADCAST) && HAVE_DECL_IEEE802154_PANID_BROADCAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IEEE802154_PANID_BROADCAST) == (0xffff), "IEEE802154_PANID_BROADCAST != 0xffff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IEEE802154_PANID_BROADCAST 0xffff +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ieee802154_pan_ids in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ieee802154_pan_ids_xdata = { + XLAT(IEEE802154_PANID_BROADCAST), + #define XLAT_VAL_0 ((unsigned) (IEEE802154_PANID_BROADCAST)) + #define XLAT_STR_0 STRINGIFY(IEEE802154_PANID_BROADCAST) +}; +static +const struct xlat ieee802154_pan_ids1 = { { + .data = ieee802154_pan_ids_xdata, + .size = ARRAY_SIZE(ieee802154_pan_ids_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ieee802154_pan_ids.in
Added
@@ -0,0 +1,1 @@ +IEEE802154_PANID_BROADCAST 0xffff
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/if_dqblk_valid.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/if_dqblk_valid.h
Changed
@@ -45,6 +45,7 @@ #else # define QIF_ITIME (1 << 5) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/if_dqinfo_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/if_dqinfo_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define DQF_SYS_FILE (1 << 16) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/if_dqinfo_valid.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/if_dqinfo_valid.h
Changed
@@ -24,6 +24,7 @@ #else # define IIF_FLAGS (1 << 2) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ifaddrflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ifaddrflags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/iffflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/iffflags.h
Changed
@@ -10,6 +10,16 @@ #else # define IFF_UP (1 << 0) #endif +#if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_UP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_UP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_UP) +#endif #if defined(IFF_BROADCAST) || (defined(HAVE_DECL_IFF_BROADCAST) && HAVE_DECL_IFF_BROADCAST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_BROADCAST) == ((1 << 1)), "IFF_BROADCAST != (1 << 1)"); @@ -17,6 +27,16 @@ #else # define IFF_BROADCAST (1 << 1) #endif +#if defined(IFF_BROADCAST) || (defined(HAVE_DECL_IFF_BROADCAST) && HAVE_DECL_IFF_BROADCAST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_BROADCAST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_BROADCAST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_BROADCAST) +#endif #if defined(IFF_DEBUG) || (defined(HAVE_DECL_IFF_DEBUG) && HAVE_DECL_IFF_DEBUG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_DEBUG) == ((1 << 2)), "IFF_DEBUG != (1 << 2)"); @@ -24,6 +44,16 @@ #else # define IFF_DEBUG (1 << 2) #endif +#if defined(IFF_DEBUG) || (defined(HAVE_DECL_IFF_DEBUG) && HAVE_DECL_IFF_DEBUG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_DEBUG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_DEBUG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_DEBUG) +#endif #if defined(IFF_LOOPBACK) || (defined(HAVE_DECL_IFF_LOOPBACK) && HAVE_DECL_IFF_LOOPBACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_LOOPBACK) == ((1 << 3)), "IFF_LOOPBACK != (1 << 3)"); @@ -31,6 +61,16 @@ #else # define IFF_LOOPBACK (1 << 3) #endif +#if defined(IFF_LOOPBACK) || (defined(HAVE_DECL_IFF_LOOPBACK) && HAVE_DECL_IFF_LOOPBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_LOOPBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_LOOPBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_LOOPBACK) +#endif #if defined(IFF_POINTOPOINT) || (defined(HAVE_DECL_IFF_POINTOPOINT) && HAVE_DECL_IFF_POINTOPOINT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_POINTOPOINT) == ((1 << 4)), "IFF_POINTOPOINT != (1 << 4)"); @@ -38,6 +78,16 @@ #else # define IFF_POINTOPOINT (1 << 4) #endif +#if defined(IFF_POINTOPOINT) || (defined(HAVE_DECL_IFF_POINTOPOINT) && HAVE_DECL_IFF_POINTOPOINT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_POINTOPOINT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_POINTOPOINT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_POINTOPOINT) +#endif #if defined(IFF_NOTRAILERS) || (defined(HAVE_DECL_IFF_NOTRAILERS) && HAVE_DECL_IFF_NOTRAILERS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_NOTRAILERS) == ((1 << 5)), "IFF_NOTRAILERS != (1 << 5)"); @@ -45,6 +95,16 @@ #else # define IFF_NOTRAILERS (1 << 5) #endif +#if defined(IFF_NOTRAILERS) || (defined(HAVE_DECL_IFF_NOTRAILERS) && HAVE_DECL_IFF_NOTRAILERS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_NOTRAILERS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_NOTRAILERS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_NOTRAILERS) +#endif #if defined(IFF_RUNNING) || (defined(HAVE_DECL_IFF_RUNNING) && HAVE_DECL_IFF_RUNNING) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_RUNNING) == ((1 << 6)), "IFF_RUNNING != (1 << 6)"); @@ -52,6 +112,16 @@ #else # define IFF_RUNNING (1 << 6) #endif +#if defined(IFF_RUNNING) || (defined(HAVE_DECL_IFF_RUNNING) && HAVE_DECL_IFF_RUNNING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_RUNNING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_RUNNING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_RUNNING) +#endif #if defined(IFF_NOARP) || (defined(HAVE_DECL_IFF_NOARP) && HAVE_DECL_IFF_NOARP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_NOARP) == ((1 << 7)), "IFF_NOARP != (1 << 7)"); @@ -59,6 +129,16 @@ #else # define IFF_NOARP (1 << 7) #endif +#if defined(IFF_NOARP) || (defined(HAVE_DECL_IFF_NOARP) && HAVE_DECL_IFF_NOARP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_NOARP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_NOARP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_NOARP) +#endif #if defined(IFF_PROMISC) || (defined(HAVE_DECL_IFF_PROMISC) && HAVE_DECL_IFF_PROMISC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_PROMISC) == ((1 << 8)), "IFF_PROMISC != (1 << 8)"); @@ -66,6 +146,16 @@ #else # define IFF_PROMISC (1 << 8) #endif +#if defined(IFF_PROMISC) || (defined(HAVE_DECL_IFF_PROMISC) && HAVE_DECL_IFF_PROMISC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_PROMISC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_PROMISC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_PROMISC) +#endif #if defined(IFF_ALLMULTI) || (defined(HAVE_DECL_IFF_ALLMULTI) && HAVE_DECL_IFF_ALLMULTI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_ALLMULTI) == ((1 << 9)), "IFF_ALLMULTI != (1 << 9)"); @@ -73,6 +163,16 @@ #else # define IFF_ALLMULTI (1 << 9) #endif +#if defined(IFF_ALLMULTI) || (defined(HAVE_DECL_IFF_ALLMULTI) && HAVE_DECL_IFF_ALLMULTI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_ALLMULTI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_ALLMULTI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_ALLMULTI) +#endif #if defined(IFF_MASTER) || (defined(HAVE_DECL_IFF_MASTER) && HAVE_DECL_IFF_MASTER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_MASTER) == ((1 << 10)), "IFF_MASTER != (1 << 10)"); @@ -80,6 +180,16 @@ #else # define IFF_MASTER (1 << 10) #endif +#if defined(IFF_MASTER) || (defined(HAVE_DECL_IFF_MASTER) && HAVE_DECL_IFF_MASTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_MASTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_MASTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_MASTER) +#endif #if defined(IFF_SLAVE) || (defined(HAVE_DECL_IFF_SLAVE) && HAVE_DECL_IFF_SLAVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_SLAVE) == ((1 << 11)), "IFF_SLAVE != (1 << 11)"); @@ -87,6 +197,16 @@ #else # define IFF_SLAVE (1 << 11) #endif +#if defined(IFF_SLAVE) || (defined(HAVE_DECL_IFF_SLAVE) && HAVE_DECL_IFF_SLAVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_SLAVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_SLAVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_SLAVE) +#endif #if defined(IFF_MULTICAST) || (defined(HAVE_DECL_IFF_MULTICAST) && HAVE_DECL_IFF_MULTICAST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_MULTICAST) == ((1 << 12)), "IFF_MULTICAST != (1 << 12)"); @@ -94,6 +214,16 @@ #else # define IFF_MULTICAST (1 << 12) #endif +#if defined(IFF_MULTICAST) || (defined(HAVE_DECL_IFF_MULTICAST) && HAVE_DECL_IFF_MULTICAST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_MULTICAST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_MULTICAST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_MULTICAST) +#endif #if defined(IFF_PORTSEL) || (defined(HAVE_DECL_IFF_PORTSEL) && HAVE_DECL_IFF_PORTSEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_PORTSEL) == ((1 << 13)), "IFF_PORTSEL != (1 << 13)"); @@ -101,6 +231,16 @@ #else # define IFF_PORTSEL (1 << 13) #endif +#if defined(IFF_PORTSEL) || (defined(HAVE_DECL_IFF_PORTSEL) && HAVE_DECL_IFF_PORTSEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_PORTSEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_PORTSEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_PORTSEL) +#endif #if defined(IFF_AUTOMEDIA) || (defined(HAVE_DECL_IFF_AUTOMEDIA) && HAVE_DECL_IFF_AUTOMEDIA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_AUTOMEDIA) == ((1 << 14)), "IFF_AUTOMEDIA != (1 << 14)"); @@ -108,6 +248,16 @@ #else # define IFF_AUTOMEDIA (1 << 14) #endif +#if defined(IFF_AUTOMEDIA) || (defined(HAVE_DECL_IFF_AUTOMEDIA) && HAVE_DECL_IFF_AUTOMEDIA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_AUTOMEDIA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_AUTOMEDIA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_AUTOMEDIA) +#endif #if defined(IFF_DYNAMIC) || (defined(HAVE_DECL_IFF_DYNAMIC) && HAVE_DECL_IFF_DYNAMIC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_DYNAMIC) == ((1 << 15)), "IFF_DYNAMIC != (1 << 15)"); @@ -115,6 +265,16 @@ #else # define IFF_DYNAMIC (1 << 15) #endif +#if defined(IFF_DYNAMIC) || (defined(HAVE_DECL_IFF_DYNAMIC) && HAVE_DECL_IFF_DYNAMIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_DYNAMIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_DYNAMIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_DYNAMIC) +#endif #if defined(IFF_LOWER_UP) || (defined(HAVE_DECL_IFF_LOWER_UP) && HAVE_DECL_IFF_LOWER_UP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_LOWER_UP) == ((1 << 16)), "IFF_LOWER_UP != (1 << 16)"); @@ -122,6 +282,16 @@ #else # define IFF_LOWER_UP (1 << 16) #endif +#if defined(IFF_LOWER_UP) || (defined(HAVE_DECL_IFF_LOWER_UP) && HAVE_DECL_IFF_LOWER_UP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_LOWER_UP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_LOWER_UP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_LOWER_UP) +#endif #if defined(IFF_DORMANT) || (defined(HAVE_DECL_IFF_DORMANT) && HAVE_DECL_IFF_DORMANT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_DORMANT) == ((1 << 17)), "IFF_DORMANT != (1 << 17)"); @@ -129,6 +299,16 @@ #else # define IFF_DORMANT (1 << 17) #endif +#if defined(IFF_DORMANT) || (defined(HAVE_DECL_IFF_DORMANT) && HAVE_DECL_IFF_DORMANT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_DORMANT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_DORMANT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_DORMANT) +#endif #if defined(IFF_ECHO) || (defined(HAVE_DECL_IFF_ECHO) && HAVE_DECL_IFF_ECHO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IFF_ECHO) == ((1 << 18)), "IFF_ECHO != (1 << 18)"); @@ -136,6 +316,17 @@ #else # define IFF_ECHO (1 << 18) #endif +#if defined(IFF_ECHO) || (defined(HAVE_DECL_IFF_ECHO) && HAVE_DECL_IFF_ECHO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IFF_ECHO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IFF_ECHO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IFF_ECHO) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_af_spec_mpls_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_af_spec_mpls_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPLS_STATS_UNSPEC) == (0), "MPLS_STATS_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPLS_STATS_LINK) == (1), "MPLS_STATS_LINK != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_af_spec_mpls_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_af_spec_mpls_attrs_xdata = { + MPLS_STATS_UNSPEC = XLAT(MPLS_STATS_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (MPLS_STATS_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(MPLS_STATS_UNSPEC) + MPLS_STATS_LINK = XLAT(MPLS_STATS_LINK), + #define XLAT_VAL_1 ((unsigned) (MPLS_STATS_LINK)) + #define XLAT_STR_1 STRINGIFY(MPLS_STATS_LINK) +}; +static +const struct xlat ifstats_af_spec_mpls_attrs1 = { { + .data = ifstats_af_spec_mpls_attrs_xdata, + .size = ARRAY_SIZE(ifstats_af_spec_mpls_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_af_spec_mpls_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +MPLS_STATS_UNSPEC 0 +MPLS_STATS_LINK 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_attr_flags.h
Added
@@ -0,0 +1,99 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_attr_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_attr_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_attr_flags_xdata = { + XLAT_PAIR(1ULL<<IFLA_STATS_UNSPEC, "1<<IFLA_STATS_UNSPEC"), + #define XLAT_VAL_0 ((unsigned) (1ULL<<IFLA_STATS_UNSPEC)) + #define XLAT_STR_0 "1<<IFLA_STATS_UNSPEC" + XLAT_PAIR(1ULL<<IFLA_STATS_LINK_64, "1<<IFLA_STATS_LINK_64"), + #define XLAT_VAL_1 ((unsigned) (1ULL<<IFLA_STATS_LINK_64)) + #define XLAT_STR_1 "1<<IFLA_STATS_LINK_64" + XLAT_PAIR(1ULL<<IFLA_STATS_LINK_XSTATS, "1<<IFLA_STATS_LINK_XSTATS"), + #define XLAT_VAL_2 ((unsigned) (1ULL<<IFLA_STATS_LINK_XSTATS)) + #define XLAT_STR_2 "1<<IFLA_STATS_LINK_XSTATS" + XLAT_PAIR(1ULL<<IFLA_STATS_LINK_XSTATS_SLAVE, "1<<IFLA_STATS_LINK_XSTATS_SLAVE"), + #define XLAT_VAL_3 ((unsigned) (1ULL<<IFLA_STATS_LINK_XSTATS_SLAVE)) + #define XLAT_STR_3 "1<<IFLA_STATS_LINK_XSTATS_SLAVE" + XLAT_PAIR(1ULL<<IFLA_STATS_LINK_OFFLOAD_XSTATS, "1<<IFLA_STATS_LINK_OFFLOAD_XSTATS"), + #define XLAT_VAL_4 ((unsigned) (1ULL<<IFLA_STATS_LINK_OFFLOAD_XSTATS)) + #define XLAT_STR_4 "1<<IFLA_STATS_LINK_OFFLOAD_XSTATS" + XLAT_PAIR(1ULL<<IFLA_STATS_AF_SPEC, "1<<IFLA_STATS_AF_SPEC"), + #define XLAT_VAL_5 ((unsigned) (1ULL<<IFLA_STATS_AF_SPEC)) + #define XLAT_STR_5 "1<<IFLA_STATS_AF_SPEC" +}; +static +const struct xlat ifstats_attr_flags1 = { { + .data = ifstats_attr_flags_xdata, + .size = ARRAY_SIZE(ifstats_attr_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_attr_flags.in
Added
@@ -0,0 +1,7 @@ +#unconditional +1<<IFLA_STATS_UNSPEC +1<<IFLA_STATS_LINK_64 +1<<IFLA_STATS_LINK_XSTATS +1<<IFLA_STATS_LINK_XSTATS_SLAVE +1<<IFLA_STATS_LINK_OFFLOAD_XSTATS +1<<IFLA_STATS_AF_SPEC
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_attrs.h
Added
@@ -0,0 +1,117 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_UNSPEC) == (0), "IFLA_STATS_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_LINK_64) == (1), "IFLA_STATS_LINK_64 != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_LINK_XSTATS) == (2), "IFLA_STATS_LINK_XSTATS != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_LINK_XSTATS_SLAVE) == (3), "IFLA_STATS_LINK_XSTATS_SLAVE != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_LINK_OFFLOAD_XSTATS) == (4), "IFLA_STATS_LINK_OFFLOAD_XSTATS != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_STATS_AF_SPEC) == (5), "IFLA_STATS_AF_SPEC != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_attrs_xdata = { + IFLA_STATS_UNSPEC = XLAT(IFLA_STATS_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_STATS_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_STATS_UNSPEC) + IFLA_STATS_LINK_64 = XLAT(IFLA_STATS_LINK_64), + #define XLAT_VAL_1 ((unsigned) (IFLA_STATS_LINK_64)) + #define XLAT_STR_1 STRINGIFY(IFLA_STATS_LINK_64) + IFLA_STATS_LINK_XSTATS = XLAT(IFLA_STATS_LINK_XSTATS), + #define XLAT_VAL_2 ((unsigned) (IFLA_STATS_LINK_XSTATS)) + #define XLAT_STR_2 STRINGIFY(IFLA_STATS_LINK_XSTATS) + IFLA_STATS_LINK_XSTATS_SLAVE = XLAT(IFLA_STATS_LINK_XSTATS_SLAVE), + #define XLAT_VAL_3 ((unsigned) (IFLA_STATS_LINK_XSTATS_SLAVE)) + #define XLAT_STR_3 STRINGIFY(IFLA_STATS_LINK_XSTATS_SLAVE) + IFLA_STATS_LINK_OFFLOAD_XSTATS = XLAT(IFLA_STATS_LINK_OFFLOAD_XSTATS), + #define XLAT_VAL_4 ((unsigned) (IFLA_STATS_LINK_OFFLOAD_XSTATS)) + #define XLAT_STR_4 STRINGIFY(IFLA_STATS_LINK_OFFLOAD_XSTATS) + IFLA_STATS_AF_SPEC = XLAT(IFLA_STATS_AF_SPEC), + #define XLAT_VAL_5 ((unsigned) (IFLA_STATS_AF_SPEC)) + #define XLAT_STR_5 STRINGIFY(IFLA_STATS_AF_SPEC) +}; +static +const struct xlat ifstats_attrs1 = { { + .data = ifstats_attrs_xdata, + .size = ARRAY_SIZE(ifstats_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_attrs.in
Added
@@ -0,0 +1,8 @@ +#unconditional +#value_indexed +IFLA_STATS_UNSPEC 0 +IFLA_STATS_LINK_64 1 +IFLA_STATS_LINK_XSTATS 2 +IFLA_STATS_LINK_XSTATS_SLAVE 3 +IFLA_STATS_LINK_OFFLOAD_XSTATS 4 +IFLA_STATS_AF_SPEC 5
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_offload_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_offload_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_OFFLOAD_XSTATS_UNSPEC) == (0), "IFLA_OFFLOAD_XSTATS_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_OFFLOAD_XSTATS_CPU_HIT) == (1), "IFLA_OFFLOAD_XSTATS_CPU_HIT != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_offload_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_offload_attrs_xdata = { + IFLA_OFFLOAD_XSTATS_UNSPEC = XLAT(IFLA_OFFLOAD_XSTATS_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_OFFLOAD_XSTATS_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_OFFLOAD_XSTATS_UNSPEC) + IFLA_OFFLOAD_XSTATS_CPU_HIT = XLAT(IFLA_OFFLOAD_XSTATS_CPU_HIT), + #define XLAT_VAL_1 ((unsigned) (IFLA_OFFLOAD_XSTATS_CPU_HIT)) + #define XLAT_STR_1 STRINGIFY(IFLA_OFFLOAD_XSTATS_CPU_HIT) +}; +static +const struct xlat ifstats_offload_attrs1 = { { + .data = ifstats_offload_attrs_xdata, + .size = ARRAY_SIZE(ifstats_offload_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_offload_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +IFLA_OFFLOAD_XSTATS_UNSPEC 0 +IFLA_OFFLOAD_XSTATS_CPU_HIT 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bond_3ad_attrs.h
Added
@@ -0,0 +1,173 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_bond_3ad_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_LACPDU_RX) == (0), "BOND_3AD_STAT_LACPDU_RX != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_LACPDU_TX) == (1), "BOND_3AD_STAT_LACPDU_TX != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_LACPDU_UNKNOWN_RX) == (2), "BOND_3AD_STAT_LACPDU_UNKNOWN_RX != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_LACPDU_ILLEGAL_RX) == (3), "BOND_3AD_STAT_LACPDU_ILLEGAL_RX != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_MARKER_RX) == (4), "BOND_3AD_STAT_MARKER_RX != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_MARKER_TX) == (5), "BOND_3AD_STAT_MARKER_TX != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_MARKER_RESP_RX) == (6), "BOND_3AD_STAT_MARKER_RESP_RX != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_MARKER_RESP_TX) == (7), "BOND_3AD_STAT_MARKER_RESP_TX != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_MARKER_UNKNOWN_RX) == (8), "BOND_3AD_STAT_MARKER_UNKNOWN_RX != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_3AD_STAT_PAD) == (9), "BOND_3AD_STAT_PAD != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_xstats_bond_3ad_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_xstats_bond_3ad_attrs_xdata = { + BOND_3AD_STAT_LACPDU_RX = XLAT(BOND_3AD_STAT_LACPDU_RX), + #define XLAT_VAL_0 ((unsigned) (BOND_3AD_STAT_LACPDU_RX)) + #define XLAT_STR_0 STRINGIFY(BOND_3AD_STAT_LACPDU_RX) + BOND_3AD_STAT_LACPDU_TX = XLAT(BOND_3AD_STAT_LACPDU_TX), + #define XLAT_VAL_1 ((unsigned) (BOND_3AD_STAT_LACPDU_TX)) + #define XLAT_STR_1 STRINGIFY(BOND_3AD_STAT_LACPDU_TX) + BOND_3AD_STAT_LACPDU_UNKNOWN_RX = XLAT(BOND_3AD_STAT_LACPDU_UNKNOWN_RX), + #define XLAT_VAL_2 ((unsigned) (BOND_3AD_STAT_LACPDU_UNKNOWN_RX)) + #define XLAT_STR_2 STRINGIFY(BOND_3AD_STAT_LACPDU_UNKNOWN_RX) + BOND_3AD_STAT_LACPDU_ILLEGAL_RX = XLAT(BOND_3AD_STAT_LACPDU_ILLEGAL_RX), + #define XLAT_VAL_3 ((unsigned) (BOND_3AD_STAT_LACPDU_ILLEGAL_RX)) + #define XLAT_STR_3 STRINGIFY(BOND_3AD_STAT_LACPDU_ILLEGAL_RX) + BOND_3AD_STAT_MARKER_RX = XLAT(BOND_3AD_STAT_MARKER_RX), + #define XLAT_VAL_4 ((unsigned) (BOND_3AD_STAT_MARKER_RX)) + #define XLAT_STR_4 STRINGIFY(BOND_3AD_STAT_MARKER_RX) + BOND_3AD_STAT_MARKER_TX = XLAT(BOND_3AD_STAT_MARKER_TX), + #define XLAT_VAL_5 ((unsigned) (BOND_3AD_STAT_MARKER_TX)) + #define XLAT_STR_5 STRINGIFY(BOND_3AD_STAT_MARKER_TX) + BOND_3AD_STAT_MARKER_RESP_RX = XLAT(BOND_3AD_STAT_MARKER_RESP_RX), + #define XLAT_VAL_6 ((unsigned) (BOND_3AD_STAT_MARKER_RESP_RX)) + #define XLAT_STR_6 STRINGIFY(BOND_3AD_STAT_MARKER_RESP_RX) + BOND_3AD_STAT_MARKER_RESP_TX = XLAT(BOND_3AD_STAT_MARKER_RESP_TX), + #define XLAT_VAL_7 ((unsigned) (BOND_3AD_STAT_MARKER_RESP_TX)) + #define XLAT_STR_7 STRINGIFY(BOND_3AD_STAT_MARKER_RESP_TX) + BOND_3AD_STAT_MARKER_UNKNOWN_RX = XLAT(BOND_3AD_STAT_MARKER_UNKNOWN_RX), + #define XLAT_VAL_8 ((unsigned) (BOND_3AD_STAT_MARKER_UNKNOWN_RX)) + #define XLAT_STR_8 STRINGIFY(BOND_3AD_STAT_MARKER_UNKNOWN_RX) + BOND_3AD_STAT_PAD = XLAT(BOND_3AD_STAT_PAD), + #define XLAT_VAL_9 ((unsigned) (BOND_3AD_STAT_PAD)) + #define XLAT_STR_9 STRINGIFY(BOND_3AD_STAT_PAD) +}; +static +const struct xlat ifstats_xstats_bond_3ad_attrs1 = { { + .data = ifstats_xstats_bond_3ad_attrs_xdata, + .size = ARRAY_SIZE(ifstats_xstats_bond_3ad_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bond_3ad_attrs.in
Added
@@ -0,0 +1,12 @@ +#unconditional +#value_indexed +BOND_3AD_STAT_LACPDU_RX 0 +BOND_3AD_STAT_LACPDU_TX 1 +BOND_3AD_STAT_LACPDU_UNKNOWN_RX 2 +BOND_3AD_STAT_LACPDU_ILLEGAL_RX 3 +BOND_3AD_STAT_MARKER_RX 4 +BOND_3AD_STAT_MARKER_TX 5 +BOND_3AD_STAT_MARKER_RESP_RX 6 +BOND_3AD_STAT_MARKER_RESP_TX 7 +BOND_3AD_STAT_MARKER_UNKNOWN_RX 8 +BOND_3AD_STAT_PAD 9
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bond_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_bond_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_XSTATS_UNSPEC) == (0), "BOND_XSTATS_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BOND_XSTATS_3AD) == (1), "BOND_XSTATS_3AD != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_xstats_bond_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_xstats_bond_attrs_xdata = { + BOND_XSTATS_UNSPEC = XLAT(BOND_XSTATS_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (BOND_XSTATS_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(BOND_XSTATS_UNSPEC) + BOND_XSTATS_3AD = XLAT(BOND_XSTATS_3AD), + #define XLAT_VAL_1 ((unsigned) (BOND_XSTATS_3AD)) + #define XLAT_STR_1 STRINGIFY(BOND_XSTATS_3AD) +}; +static +const struct xlat ifstats_xstats_bond_attrs1 = { { + .data = ifstats_xstats_bond_attrs_xdata, + .size = ARRAY_SIZE(ifstats_xstats_bond_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bond_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +BOND_XSTATS_UNSPEC 0 +BOND_XSTATS_3AD 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bridge_attrs.h
Added
@@ -0,0 +1,103 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_bridge_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_XSTATS_UNSPEC) == (0), "BRIDGE_XSTATS_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_XSTATS_VLAN) == (1), "BRIDGE_XSTATS_VLAN != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_XSTATS_MCAST) == (2), "BRIDGE_XSTATS_MCAST != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_XSTATS_PAD) == (3), "BRIDGE_XSTATS_PAD != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_XSTATS_STP) == (4), "BRIDGE_XSTATS_STP != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_xstats_bridge_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_xstats_bridge_attrs_xdata = { + BRIDGE_XSTATS_UNSPEC = XLAT(BRIDGE_XSTATS_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (BRIDGE_XSTATS_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(BRIDGE_XSTATS_UNSPEC) + BRIDGE_XSTATS_VLAN = XLAT(BRIDGE_XSTATS_VLAN), + #define XLAT_VAL_1 ((unsigned) (BRIDGE_XSTATS_VLAN)) + #define XLAT_STR_1 STRINGIFY(BRIDGE_XSTATS_VLAN) + BRIDGE_XSTATS_MCAST = XLAT(BRIDGE_XSTATS_MCAST), + #define XLAT_VAL_2 ((unsigned) (BRIDGE_XSTATS_MCAST)) + #define XLAT_STR_2 STRINGIFY(BRIDGE_XSTATS_MCAST) + BRIDGE_XSTATS_PAD = XLAT(BRIDGE_XSTATS_PAD), + #define XLAT_VAL_3 ((unsigned) (BRIDGE_XSTATS_PAD)) + #define XLAT_STR_3 STRINGIFY(BRIDGE_XSTATS_PAD) + BRIDGE_XSTATS_STP = XLAT(BRIDGE_XSTATS_STP), + #define XLAT_VAL_4 ((unsigned) (BRIDGE_XSTATS_STP)) + #define XLAT_STR_4 STRINGIFY(BRIDGE_XSTATS_STP) +}; +static +const struct xlat ifstats_xstats_bridge_attrs1 = { { + .data = ifstats_xstats_bridge_attrs_xdata, + .size = ARRAY_SIZE(ifstats_xstats_bridge_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bridge_attrs.in
Added
@@ -0,0 +1,7 @@ +#unconditional +#value_indexed +BRIDGE_XSTATS_UNSPEC 0 +BRIDGE_XSTATS_VLAN 1 +BRIDGE_XSTATS_MCAST 2 +BRIDGE_XSTATS_PAD 3 +BRIDGE_XSTATS_STP 4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bridge_mcast_indices.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_bridge_mcast_indices.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BR_MCAST_DIR_RX) == (0), "BR_MCAST_DIR_RX != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BR_MCAST_DIR_TX) == (1), "BR_MCAST_DIR_TX != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_xstats_bridge_mcast_indices in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_xstats_bridge_mcast_indices_xdata = { + BR_MCAST_DIR_RX = XLAT(BR_MCAST_DIR_RX), + #define XLAT_VAL_0 ((unsigned) (BR_MCAST_DIR_RX)) + #define XLAT_STR_0 STRINGIFY(BR_MCAST_DIR_RX) + BR_MCAST_DIR_TX = XLAT(BR_MCAST_DIR_TX), + #define XLAT_VAL_1 ((unsigned) (BR_MCAST_DIR_TX)) + #define XLAT_STR_1 STRINGIFY(BR_MCAST_DIR_TX) +}; +static +const struct xlat ifstats_xstats_bridge_mcast_indices1 = { { + .data = ifstats_xstats_bridge_mcast_indices_xdata, + .size = ARRAY_SIZE(ifstats_xstats_bridge_mcast_indices_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_bridge_mcast_indices.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +BR_MCAST_DIR_RX 0 +BR_MCAST_DIR_TX 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_type_attrs.h
Added
@@ -0,0 +1,75 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ifstats_xstats_type_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LINK_XSTATS_TYPE_UNSPEC) == (0), "LINK_XSTATS_TYPE_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LINK_XSTATS_TYPE_BRIDGE) == (1), "LINK_XSTATS_TYPE_BRIDGE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LINK_XSTATS_TYPE_BOND) == (2), "LINK_XSTATS_TYPE_BOND != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ifstats_xstats_type_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ifstats_xstats_type_attrs_xdata = { + LINK_XSTATS_TYPE_UNSPEC = XLAT(LINK_XSTATS_TYPE_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (LINK_XSTATS_TYPE_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(LINK_XSTATS_TYPE_UNSPEC) + LINK_XSTATS_TYPE_BRIDGE = XLAT(LINK_XSTATS_TYPE_BRIDGE), + #define XLAT_VAL_1 ((unsigned) (LINK_XSTATS_TYPE_BRIDGE)) + #define XLAT_STR_1 STRINGIFY(LINK_XSTATS_TYPE_BRIDGE) + LINK_XSTATS_TYPE_BOND = XLAT(LINK_XSTATS_TYPE_BOND), + #define XLAT_VAL_2 ((unsigned) (LINK_XSTATS_TYPE_BOND)) + #define XLAT_STR_2 STRINGIFY(LINK_XSTATS_TYPE_BOND) +}; +static +const struct xlat ifstats_xstats_type_attrs1 = { { + .data = ifstats_xstats_type_attrs_xdata, + .size = ARRAY_SIZE(ifstats_xstats_type_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ifstats_xstats_type_attrs.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#value_indexed +LINK_XSTATS_TYPE_UNSPEC 0 +LINK_XSTATS_TYPE_BRIDGE 1 +LINK_XSTATS_TYPE_BOND 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/in6_addr_gen_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/in6_addr_gen_mode.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet6_devconf_indices.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet6_devconf_indices.h
Changed
@@ -374,6 +374,42 @@ #else # define DEVCONF_RA_DEFRTR_METRIC 52 #endif +#if defined(DEVCONF_IOAM6_ENABLED) || (defined(HAVE_DECL_DEVCONF_IOAM6_ENABLED) && HAVE_DECL_DEVCONF_IOAM6_ENABLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((DEVCONF_IOAM6_ENABLED) == (53), "DEVCONF_IOAM6_ENABLED != 53"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define DEVCONF_IOAM6_ENABLED 53 +#endif +#if defined(DEVCONF_IOAM6_ID) || (defined(HAVE_DECL_DEVCONF_IOAM6_ID) && HAVE_DECL_DEVCONF_IOAM6_ID) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((DEVCONF_IOAM6_ID) == (54), "DEVCONF_IOAM6_ID != 54"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define DEVCONF_IOAM6_ID 54 +#endif +#if defined(DEVCONF_IOAM6_ID_WIDE) || (defined(HAVE_DECL_DEVCONF_IOAM6_ID_WIDE) && HAVE_DECL_DEVCONF_IOAM6_ID_WIDE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((DEVCONF_IOAM6_ID_WIDE) == (55), "DEVCONF_IOAM6_ID_WIDE != 55"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define DEVCONF_IOAM6_ID_WIDE 55 +#endif +#if defined(DEVCONF_NDISC_EVICT_NOCARRIER) || (defined(HAVE_DECL_DEVCONF_NDISC_EVICT_NOCARRIER) && HAVE_DECL_DEVCONF_NDISC_EVICT_NOCARRIER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((DEVCONF_NDISC_EVICT_NOCARRIER) == (56), "DEVCONF_NDISC_EVICT_NOCARRIER != 56"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define DEVCONF_NDISC_EVICT_NOCARRIER 56 +#endif +#if defined(DEVCONF_ACCEPT_UNTRACKED_NA) || (defined(HAVE_DECL_DEVCONF_ACCEPT_UNTRACKED_NA) && HAVE_DECL_DEVCONF_ACCEPT_UNTRACKED_NA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((DEVCONF_ACCEPT_UNTRACKED_NA) == (57), "DEVCONF_ACCEPT_UNTRACKED_NA != 57"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define DEVCONF_ACCEPT_UNTRACKED_NA 57 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -544,6 +580,21 @@ DEVCONF_RA_DEFRTR_METRIC = XLAT(DEVCONF_RA_DEFRTR_METRIC), #define XLAT_VAL_52 ((unsigned) (DEVCONF_RA_DEFRTR_METRIC)) #define XLAT_STR_52 STRINGIFY(DEVCONF_RA_DEFRTR_METRIC) + DEVCONF_IOAM6_ENABLED = XLAT(DEVCONF_IOAM6_ENABLED), + #define XLAT_VAL_53 ((unsigned) (DEVCONF_IOAM6_ENABLED)) + #define XLAT_STR_53 STRINGIFY(DEVCONF_IOAM6_ENABLED) + DEVCONF_IOAM6_ID = XLAT(DEVCONF_IOAM6_ID), + #define XLAT_VAL_54 ((unsigned) (DEVCONF_IOAM6_ID)) + #define XLAT_STR_54 STRINGIFY(DEVCONF_IOAM6_ID) + DEVCONF_IOAM6_ID_WIDE = XLAT(DEVCONF_IOAM6_ID_WIDE), + #define XLAT_VAL_55 ((unsigned) (DEVCONF_IOAM6_ID_WIDE)) + #define XLAT_STR_55 STRINGIFY(DEVCONF_IOAM6_ID_WIDE) + DEVCONF_NDISC_EVICT_NOCARRIER = XLAT(DEVCONF_NDISC_EVICT_NOCARRIER), + #define XLAT_VAL_56 ((unsigned) (DEVCONF_NDISC_EVICT_NOCARRIER)) + #define XLAT_STR_56 STRINGIFY(DEVCONF_NDISC_EVICT_NOCARRIER) + DEVCONF_ACCEPT_UNTRACKED_NA = XLAT(DEVCONF_ACCEPT_UNTRACKED_NA), + #define XLAT_VAL_57 ((unsigned) (DEVCONF_ACCEPT_UNTRACKED_NA)) + #define XLAT_STR_57 STRINGIFY(DEVCONF_ACCEPT_UNTRACKED_NA) }; static const struct xlat inet6_devconf_indices1 = { { @@ -710,6 +761,21 @@ # ifdef XLAT_VAL_52 | XLAT_VAL_52 # endif +# ifdef XLAT_VAL_53 + | XLAT_VAL_53 +# endif +# ifdef XLAT_VAL_54 + | XLAT_VAL_54 +# endif +# ifdef XLAT_VAL_55 + | XLAT_VAL_55 +# endif +# ifdef XLAT_VAL_56 + | XLAT_VAL_56 +# endif +# ifdef XLAT_VAL_57 + | XLAT_VAL_57 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -871,6 +937,21 @@ # ifdef XLAT_STR_52 + sizeof(XLAT_STR_52) # endif +# ifdef XLAT_STR_53 + + sizeof(XLAT_STR_53) +# endif +# ifdef XLAT_STR_54 + + sizeof(XLAT_STR_54) +# endif +# ifdef XLAT_STR_55 + + sizeof(XLAT_STR_55) +# endif +# ifdef XLAT_STR_56 + + sizeof(XLAT_STR_56) +# endif +# ifdef XLAT_STR_57 + + sizeof(XLAT_STR_57) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -981,6 +1062,16 @@ # undef XLAT_VAL_51 # undef XLAT_STR_52 # undef XLAT_VAL_52 +# undef XLAT_STR_53 +# undef XLAT_VAL_53 +# undef XLAT_STR_54 +# undef XLAT_VAL_54 +# undef XLAT_STR_55 +# undef XLAT_VAL_55 +# undef XLAT_STR_56 +# undef XLAT_VAL_56 +# undef XLAT_STR_57 +# undef XLAT_VAL_57 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet6_devconf_indices.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet6_devconf_indices.in
Changed
@@ -52,3 +52,8 @@ DEVCONF_NDISC_TCLASS 50 DEVCONF_RPL_SEG_ENABLED 51 DEVCONF_RA_DEFRTR_METRIC 52 +DEVCONF_IOAM6_ENABLED 53 +DEVCONF_IOAM6_ID 54 +DEVCONF_IOAM6_ID_WIDE 55 +DEVCONF_NDISC_EVICT_NOCARRIER 56 +DEVCONF_ACCEPT_UNTRACKED_NA 57
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet6_if_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet6_if_flags.h
Changed
@@ -10,6 +10,16 @@ #else # define IF_RS_SENT 0x10 #endif +#if defined(IF_RS_SENT) || (defined(HAVE_DECL_IF_RS_SENT) && HAVE_DECL_IF_RS_SENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IF_RS_SENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IF_RS_SENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IF_RS_SENT) +#endif #if defined(IF_RA_RCVD) || (defined(HAVE_DECL_IF_RA_RCVD) && HAVE_DECL_IF_RA_RCVD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IF_RA_RCVD) == (0x20), "IF_RA_RCVD != 0x20"); @@ -17,6 +27,16 @@ #else # define IF_RA_RCVD 0x20 #endif +#if defined(IF_RA_RCVD) || (defined(HAVE_DECL_IF_RA_RCVD) && HAVE_DECL_IF_RA_RCVD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IF_RA_RCVD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IF_RA_RCVD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IF_RA_RCVD) +#endif #if defined(IF_RA_MANAGED) || (defined(HAVE_DECL_IF_RA_MANAGED) && HAVE_DECL_IF_RA_MANAGED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IF_RA_MANAGED) == (0x40), "IF_RA_MANAGED != 0x40"); @@ -24,6 +44,16 @@ #else # define IF_RA_MANAGED 0x40 #endif +#if defined(IF_RA_MANAGED) || (defined(HAVE_DECL_IF_RA_MANAGED) && HAVE_DECL_IF_RA_MANAGED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IF_RA_MANAGED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IF_RA_MANAGED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IF_RA_MANAGED) +#endif #if defined(IF_RA_OTHERCONF) || (defined(HAVE_DECL_IF_RA_OTHERCONF) && HAVE_DECL_IF_RA_OTHERCONF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IF_RA_OTHERCONF) == (0x80), "IF_RA_OTHERCONF != 0x80"); @@ -31,6 +61,16 @@ #else # define IF_RA_OTHERCONF 0x80 #endif +#if defined(IF_RA_OTHERCONF) || (defined(HAVE_DECL_IF_RA_OTHERCONF) && HAVE_DECL_IF_RA_OTHERCONF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IF_RA_OTHERCONF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IF_RA_OTHERCONF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IF_RA_OTHERCONF) +#endif #if defined(IF_READY) || (defined(HAVE_DECL_IF_READY) && HAVE_DECL_IF_READY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IF_READY) == (0x80000000), "IF_READY != 0x80000000"); @@ -38,6 +78,17 @@ #else # define IF_READY 0x80000000 #endif +#if defined(IF_READY) || (defined(HAVE_DECL_IF_READY) && HAVE_DECL_IF_READY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IF_READY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IF_READY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IF_READY) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_devconf_indices.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_devconf_indices.h
Changed
@@ -227,6 +227,14 @@ #else # define IPV4_DEVCONF_BC_FORWARDING 32 #endif +#if defined(IPV4_DEVCONF_ARP_EVICT_NOCARRIER) || (defined(HAVE_DECL_IPV4_DEVCONF_ARP_EVICT_NOCARRIER) && HAVE_DECL_IPV4_DEVCONF_ARP_EVICT_NOCARRIER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV4_DEVCONF_ARP_EVICT_NOCARRIER) == (33), "IPV4_DEVCONF_ARP_EVICT_NOCARRIER != 33"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV4_DEVCONF_ARP_EVICT_NOCARRIER 33 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -335,6 +343,9 @@ IPV4_DEVCONF_BC_FORWARDING-1 = XLAT(IPV4_DEVCONF_BC_FORWARDING-1), #define XLAT_VAL_31 ((unsigned) (IPV4_DEVCONF_BC_FORWARDING-1)) #define XLAT_STR_31 STRINGIFY(IPV4_DEVCONF_BC_FORWARDING-1) + IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1 = XLAT(IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1), + #define XLAT_VAL_32 ((unsigned) (IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1)) + #define XLAT_STR_32 STRINGIFY(IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1) }; static const struct xlat inet_devconf_indices1 = { { @@ -438,6 +449,9 @@ # ifdef XLAT_VAL_31 | XLAT_VAL_31 # endif +# ifdef XLAT_VAL_32 + | XLAT_VAL_32 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -536,6 +550,9 @@ # ifdef XLAT_STR_31 + sizeof(XLAT_STR_31) # endif +# ifdef XLAT_STR_32 + + sizeof(XLAT_STR_32) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -604,6 +621,8 @@ # undef XLAT_VAL_30 # undef XLAT_STR_31 # undef XLAT_VAL_31 +# undef XLAT_STR_32 +# undef XLAT_VAL_32 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_devconf_indices.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_devconf_indices.in
Changed
@@ -32,3 +32,4 @@ IPV4_DEVCONF_DROP_UNICAST_IN_L2_MULTICAST-1 30 IPV4_DEVCONF_DROP_GRATUITOUS_ARP-1 31 IPV4_DEVCONF_BC_FORWARDING-1 32 +IPV4_DEVCONF_ARP_EVICT_NOCARRIER-1 33
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_diag_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_bpf_storage_attrs.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_bpf_storage_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE_NONE) == (0), "SK_DIAG_BPF_STORAGE_NONE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE_PAD) == (1), "SK_DIAG_BPF_STORAGE_PAD != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE_MAP_ID) == (2), "SK_DIAG_BPF_STORAGE_MAP_ID != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE_MAP_VALUE) == (3), "SK_DIAG_BPF_STORAGE_MAP_VALUE != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_bpf_storage_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_bpf_storage_attrs_xdata = { + SK_DIAG_BPF_STORAGE_NONE = XLAT(SK_DIAG_BPF_STORAGE_NONE), + #define XLAT_VAL_0 ((unsigned) (SK_DIAG_BPF_STORAGE_NONE)) + #define XLAT_STR_0 STRINGIFY(SK_DIAG_BPF_STORAGE_NONE) + SK_DIAG_BPF_STORAGE_PAD = XLAT(SK_DIAG_BPF_STORAGE_PAD), + #define XLAT_VAL_1 ((unsigned) (SK_DIAG_BPF_STORAGE_PAD)) + #define XLAT_STR_1 STRINGIFY(SK_DIAG_BPF_STORAGE_PAD) + SK_DIAG_BPF_STORAGE_MAP_ID = XLAT(SK_DIAG_BPF_STORAGE_MAP_ID), + #define XLAT_VAL_2 ((unsigned) (SK_DIAG_BPF_STORAGE_MAP_ID)) + #define XLAT_STR_2 STRINGIFY(SK_DIAG_BPF_STORAGE_MAP_ID) + SK_DIAG_BPF_STORAGE_MAP_VALUE = XLAT(SK_DIAG_BPF_STORAGE_MAP_VALUE), + #define XLAT_VAL_3 ((unsigned) (SK_DIAG_BPF_STORAGE_MAP_VALUE)) + #define XLAT_STR_3 STRINGIFY(SK_DIAG_BPF_STORAGE_MAP_VALUE) +}; +static +const struct xlat inet_diag_bpf_storage_attrs1 = { { + .data = inet_diag_bpf_storage_attrs_xdata, + .size = ARRAY_SIZE(inet_diag_bpf_storage_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_bpf_storage_attrs.in
Added
@@ -0,0 +1,6 @@ +#value_indexed +#unconditional +SK_DIAG_BPF_STORAGE_NONE 0 +SK_DIAG_BPF_STORAGE_PAD 1 +SK_DIAG_BPF_STORAGE_MAP_ID 2 +SK_DIAG_BPF_STORAGE_MAP_VALUE 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_bpf_storages_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_bpf_storages_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE_REP_NONE) == (0), "SK_DIAG_BPF_STORAGE_REP_NONE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SK_DIAG_BPF_STORAGE) == (1), "SK_DIAG_BPF_STORAGE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_bpf_storages_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_bpf_storages_attrs_xdata = { + SK_DIAG_BPF_STORAGE_REP_NONE = XLAT(SK_DIAG_BPF_STORAGE_REP_NONE), + #define XLAT_VAL_0 ((unsigned) (SK_DIAG_BPF_STORAGE_REP_NONE)) + #define XLAT_STR_0 STRINGIFY(SK_DIAG_BPF_STORAGE_REP_NONE) + SK_DIAG_BPF_STORAGE = XLAT(SK_DIAG_BPF_STORAGE), + #define XLAT_VAL_1 ((unsigned) (SK_DIAG_BPF_STORAGE)) + #define XLAT_STR_1 STRINGIFY(SK_DIAG_BPF_STORAGE) +}; +static +const struct xlat inet_diag_bpf_storages_attrs1 = { { + .data = inet_diag_bpf_storages_attrs_xdata, + .size = ARRAY_SIZE(inet_diag_bpf_storages_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_bpf_storages_attrs.in
Added
@@ -0,0 +1,4 @@ +#value_indexed +#unconditional +SK_DIAG_BPF_STORAGE_REP_NONE 0 +SK_DIAG_BPF_STORAGE 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_diag_bytecodes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_bytecodes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_diag_extended_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_extended_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_diag_req_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_req_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_shutdown_flags.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_shutdown_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(RCV_SHUTDOWN) || (defined(HAVE_DECL_RCV_SHUTDOWN) && HAVE_DECL_RCV_SHUTDOWN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RCV_SHUTDOWN) == (1), "RCV_SHUTDOWN != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RCV_SHUTDOWN 1 +#endif +#if defined(SEND_SHUTDOWN) || (defined(HAVE_DECL_SEND_SHUTDOWN) && HAVE_DECL_SEND_SHUTDOWN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SEND_SHUTDOWN) == (2), "SEND_SHUTDOWN != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SEND_SHUTDOWN 2 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_shutdown_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_shutdown_flags_xdata = { + XLAT(RCV_SHUTDOWN), + #define XLAT_VAL_0 ((unsigned) (RCV_SHUTDOWN)) + #define XLAT_STR_0 STRINGIFY(RCV_SHUTDOWN) + XLAT(SEND_SHUTDOWN), + #define XLAT_VAL_1 ((unsigned) (SEND_SHUTDOWN)) + #define XLAT_STR_1 STRINGIFY(SEND_SHUTDOWN) +}; +static +const struct xlat inet_diag_shutdown_flags1 = { { + .data = inet_diag_shutdown_flags_xdata, + .size = ARRAY_SIZE(inet_diag_shutdown_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_shutdown_flags.in
Added
@@ -0,0 +1,2 @@ +RCV_SHUTDOWN 1 +SEND_SHUTDOWN 2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_attrs.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_ulp_info_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((INET_ULP_INFO_UNSPEC) == (0), "INET_ULP_INFO_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((INET_ULP_INFO_NAME) == (1), "INET_ULP_INFO_NAME != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((INET_ULP_INFO_TLS) == (2), "INET_ULP_INFO_TLS != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((INET_ULP_INFO_MPTCP) == (3), "INET_ULP_INFO_MPTCP != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_ulp_info_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_ulp_info_attrs_xdata = { + INET_ULP_INFO_UNSPEC = XLAT(INET_ULP_INFO_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (INET_ULP_INFO_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(INET_ULP_INFO_UNSPEC) + INET_ULP_INFO_NAME = XLAT(INET_ULP_INFO_NAME), + #define XLAT_VAL_1 ((unsigned) (INET_ULP_INFO_NAME)) + #define XLAT_STR_1 STRINGIFY(INET_ULP_INFO_NAME) + INET_ULP_INFO_TLS = XLAT(INET_ULP_INFO_TLS), + #define XLAT_VAL_2 ((unsigned) (INET_ULP_INFO_TLS)) + #define XLAT_STR_2 STRINGIFY(INET_ULP_INFO_TLS) + INET_ULP_INFO_MPTCP = XLAT(INET_ULP_INFO_MPTCP), + #define XLAT_VAL_3 ((unsigned) (INET_ULP_INFO_MPTCP)) + #define XLAT_STR_3 STRINGIFY(INET_ULP_INFO_MPTCP) +}; +static +const struct xlat inet_diag_ulp_info_attrs1 = { { + .data = inet_diag_ulp_info_attrs_xdata, + .size = ARRAY_SIZE(inet_diag_ulp_info_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_attrs.in
Added
@@ -0,0 +1,6 @@ +#value_indexed +#unconditional +INET_ULP_INFO_UNSPEC 0 +INET_ULP_INFO_NAME 1 +INET_ULP_INFO_TLS 2 +INET_ULP_INFO_MPTCP 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_mptcp_attrs.h
Added
@@ -0,0 +1,201 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_ulp_info_mptcp_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_UNSPEC) == (0), "MPTCP_SUBFLOW_ATTR_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_TOKEN_REM) == (1), "MPTCP_SUBFLOW_ATTR_TOKEN_REM != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_TOKEN_LOC) == (2), "MPTCP_SUBFLOW_ATTR_TOKEN_LOC != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ) == (3), "MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_MAP_SEQ) == (4), "MPTCP_SUBFLOW_ATTR_MAP_SEQ != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_MAP_SFSEQ) == (5), "MPTCP_SUBFLOW_ATTR_MAP_SFSEQ != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_SSN_OFFSET) == (6), "MPTCP_SUBFLOW_ATTR_SSN_OFFSET != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_MAP_DATALEN) == (7), "MPTCP_SUBFLOW_ATTR_MAP_DATALEN != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_FLAGS) == (8), "MPTCP_SUBFLOW_ATTR_FLAGS != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_ID_REM) == (9), "MPTCP_SUBFLOW_ATTR_ID_REM != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_ID_LOC) == (10), "MPTCP_SUBFLOW_ATTR_ID_LOC != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_ATTR_PAD) == (11), "MPTCP_SUBFLOW_ATTR_PAD != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_ulp_info_mptcp_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_ulp_info_mptcp_attrs_xdata = { + MPTCP_SUBFLOW_ATTR_UNSPEC = XLAT(MPTCP_SUBFLOW_ATTR_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (MPTCP_SUBFLOW_ATTR_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(MPTCP_SUBFLOW_ATTR_UNSPEC) + MPTCP_SUBFLOW_ATTR_TOKEN_REM = XLAT(MPTCP_SUBFLOW_ATTR_TOKEN_REM), + #define XLAT_VAL_1 ((unsigned) (MPTCP_SUBFLOW_ATTR_TOKEN_REM)) + #define XLAT_STR_1 STRINGIFY(MPTCP_SUBFLOW_ATTR_TOKEN_REM) + MPTCP_SUBFLOW_ATTR_TOKEN_LOC = XLAT(MPTCP_SUBFLOW_ATTR_TOKEN_LOC), + #define XLAT_VAL_2 ((unsigned) (MPTCP_SUBFLOW_ATTR_TOKEN_LOC)) + #define XLAT_STR_2 STRINGIFY(MPTCP_SUBFLOW_ATTR_TOKEN_LOC) + MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ = XLAT(MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ), + #define XLAT_VAL_3 ((unsigned) (MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ)) + #define XLAT_STR_3 STRINGIFY(MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ) + MPTCP_SUBFLOW_ATTR_MAP_SEQ = XLAT(MPTCP_SUBFLOW_ATTR_MAP_SEQ), + #define XLAT_VAL_4 ((unsigned) (MPTCP_SUBFLOW_ATTR_MAP_SEQ)) + #define XLAT_STR_4 STRINGIFY(MPTCP_SUBFLOW_ATTR_MAP_SEQ) + MPTCP_SUBFLOW_ATTR_MAP_SFSEQ = XLAT(MPTCP_SUBFLOW_ATTR_MAP_SFSEQ), + #define XLAT_VAL_5 ((unsigned) (MPTCP_SUBFLOW_ATTR_MAP_SFSEQ)) + #define XLAT_STR_5 STRINGIFY(MPTCP_SUBFLOW_ATTR_MAP_SFSEQ) + MPTCP_SUBFLOW_ATTR_SSN_OFFSET = XLAT(MPTCP_SUBFLOW_ATTR_SSN_OFFSET), + #define XLAT_VAL_6 ((unsigned) (MPTCP_SUBFLOW_ATTR_SSN_OFFSET)) + #define XLAT_STR_6 STRINGIFY(MPTCP_SUBFLOW_ATTR_SSN_OFFSET) + MPTCP_SUBFLOW_ATTR_MAP_DATALEN = XLAT(MPTCP_SUBFLOW_ATTR_MAP_DATALEN), + #define XLAT_VAL_7 ((unsigned) (MPTCP_SUBFLOW_ATTR_MAP_DATALEN)) + #define XLAT_STR_7 STRINGIFY(MPTCP_SUBFLOW_ATTR_MAP_DATALEN) + MPTCP_SUBFLOW_ATTR_FLAGS = XLAT(MPTCP_SUBFLOW_ATTR_FLAGS), + #define XLAT_VAL_8 ((unsigned) (MPTCP_SUBFLOW_ATTR_FLAGS)) + #define XLAT_STR_8 STRINGIFY(MPTCP_SUBFLOW_ATTR_FLAGS) + MPTCP_SUBFLOW_ATTR_ID_REM = XLAT(MPTCP_SUBFLOW_ATTR_ID_REM), + #define XLAT_VAL_9 ((unsigned) (MPTCP_SUBFLOW_ATTR_ID_REM)) + #define XLAT_STR_9 STRINGIFY(MPTCP_SUBFLOW_ATTR_ID_REM) + MPTCP_SUBFLOW_ATTR_ID_LOC = XLAT(MPTCP_SUBFLOW_ATTR_ID_LOC), + #define XLAT_VAL_10 ((unsigned) (MPTCP_SUBFLOW_ATTR_ID_LOC)) + #define XLAT_STR_10 STRINGIFY(MPTCP_SUBFLOW_ATTR_ID_LOC) + MPTCP_SUBFLOW_ATTR_PAD = XLAT(MPTCP_SUBFLOW_ATTR_PAD), + #define XLAT_VAL_11 ((unsigned) (MPTCP_SUBFLOW_ATTR_PAD)) + #define XLAT_STR_11 STRINGIFY(MPTCP_SUBFLOW_ATTR_PAD) +}; +static +const struct xlat inet_diag_ulp_info_mptcp_attrs1 = { { + .data = inet_diag_ulp_info_mptcp_attrs_xdata, + .size = ARRAY_SIZE(inet_diag_ulp_info_mptcp_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_mptcp_attrs.in
Added
@@ -0,0 +1,14 @@ +#value_indexed +#unconditional +MPTCP_SUBFLOW_ATTR_UNSPEC 0 +MPTCP_SUBFLOW_ATTR_TOKEN_REM 1 +MPTCP_SUBFLOW_ATTR_TOKEN_LOC 2 +MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ 3 +MPTCP_SUBFLOW_ATTR_MAP_SEQ 4 +MPTCP_SUBFLOW_ATTR_MAP_SFSEQ 5 +MPTCP_SUBFLOW_ATTR_SSN_OFFSET 6 +MPTCP_SUBFLOW_ATTR_MAP_DATALEN 7 +MPTCP_SUBFLOW_ATTR_FLAGS 8 +MPTCP_SUBFLOW_ATTR_ID_REM 9 +MPTCP_SUBFLOW_ATTR_ID_LOC 10 +MPTCP_SUBFLOW_ATTR_PAD 11
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_tls_attrs.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/inet_diag_ulp_info_tls_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_UNSPEC) == (0), "TLS_INFO_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_VERSION) == (1), "TLS_INFO_VERSION != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_CIPHER) == (2), "TLS_INFO_CIPHER != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_TXCONF) == (3), "TLS_INFO_TXCONF != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_RXCONF) == (4), "TLS_INFO_RXCONF != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_ZC_RO_TX) == (5), "TLS_INFO_ZC_RO_TX != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_INFO_RX_NO_PAD) == (6), "TLS_INFO_RX_NO_PAD != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat inet_diag_ulp_info_tls_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data inet_diag_ulp_info_tls_attrs_xdata = { + TLS_INFO_UNSPEC = XLAT(TLS_INFO_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (TLS_INFO_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(TLS_INFO_UNSPEC) + TLS_INFO_VERSION = XLAT(TLS_INFO_VERSION), + #define XLAT_VAL_1 ((unsigned) (TLS_INFO_VERSION)) + #define XLAT_STR_1 STRINGIFY(TLS_INFO_VERSION) + TLS_INFO_CIPHER = XLAT(TLS_INFO_CIPHER), + #define XLAT_VAL_2 ((unsigned) (TLS_INFO_CIPHER)) + #define XLAT_STR_2 STRINGIFY(TLS_INFO_CIPHER) + TLS_INFO_TXCONF = XLAT(TLS_INFO_TXCONF), + #define XLAT_VAL_3 ((unsigned) (TLS_INFO_TXCONF)) + #define XLAT_STR_3 STRINGIFY(TLS_INFO_TXCONF) + TLS_INFO_RXCONF = XLAT(TLS_INFO_RXCONF), + #define XLAT_VAL_4 ((unsigned) (TLS_INFO_RXCONF)) + #define XLAT_STR_4 STRINGIFY(TLS_INFO_RXCONF) + TLS_INFO_ZC_RO_TX = XLAT(TLS_INFO_ZC_RO_TX), + #define XLAT_VAL_5 ((unsigned) (TLS_INFO_ZC_RO_TX)) + #define XLAT_STR_5 STRINGIFY(TLS_INFO_ZC_RO_TX) + TLS_INFO_RX_NO_PAD = XLAT(TLS_INFO_RX_NO_PAD), + #define XLAT_VAL_6 ((unsigned) (TLS_INFO_RX_NO_PAD)) + #define XLAT_STR_6 STRINGIFY(TLS_INFO_RX_NO_PAD) +}; +static +const struct xlat inet_diag_ulp_info_tls_attrs1 = { { + .data = inet_diag_ulp_info_tls_attrs_xdata, + .size = ARRAY_SIZE(inet_diag_ulp_info_tls_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_diag_ulp_info_tls_attrs.in
Added
@@ -0,0 +1,9 @@ +#value_indexed +#unconditional +TLS_INFO_UNSPEC 0 +TLS_INFO_VERSION 1 +TLS_INFO_CIPHER 2 +TLS_INFO_TXCONF 3 +TLS_INFO_RXCONF 4 +TLS_INFO_ZC_RO_TX 5 +TLS_INFO_RX_NO_PAD 6
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inet_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inet_protocols.h
Changed
@@ -10,6 +10,16 @@ #else # define IPPROTO_IP 0 #endif +#if defined(IPPROTO_IP) || (defined(HAVE_DECL_IPPROTO_IP) && HAVE_DECL_IPPROTO_IP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_IP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_IP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_IP) +#endif #if defined(IPPROTO_ICMP) || (defined(HAVE_DECL_IPPROTO_ICMP) && HAVE_DECL_IPPROTO_ICMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ICMP) == (1), "IPPROTO_ICMP != 1"); @@ -17,6 +27,16 @@ #else # define IPPROTO_ICMP 1 #endif +#if defined(IPPROTO_ICMP) || (defined(HAVE_DECL_IPPROTO_ICMP) && HAVE_DECL_IPPROTO_ICMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ICMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ICMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ICMP) +#endif #if defined(IPPROTO_IGMP) || (defined(HAVE_DECL_IPPROTO_IGMP) && HAVE_DECL_IPPROTO_IGMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_IGMP) == (2), "IPPROTO_IGMP != 2"); @@ -24,6 +44,16 @@ #else # define IPPROTO_IGMP 2 #endif +#if defined(IPPROTO_IGMP) || (defined(HAVE_DECL_IPPROTO_IGMP) && HAVE_DECL_IPPROTO_IGMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_IGMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_IGMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_IGMP) +#endif #if defined(IPPROTO_IPIP) || (defined(HAVE_DECL_IPPROTO_IPIP) && HAVE_DECL_IPPROTO_IPIP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_IPIP) == (4), "IPPROTO_IPIP != 4"); @@ -31,6 +61,16 @@ #else # define IPPROTO_IPIP 4 #endif +#if defined(IPPROTO_IPIP) || (defined(HAVE_DECL_IPPROTO_IPIP) && HAVE_DECL_IPPROTO_IPIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_IPIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_IPIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_IPIP) +#endif #if defined(IPPROTO_TCP) || (defined(HAVE_DECL_IPPROTO_TCP) && HAVE_DECL_IPPROTO_TCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_TCP) == (6), "IPPROTO_TCP != 6"); @@ -38,6 +78,16 @@ #else # define IPPROTO_TCP 6 #endif +#if defined(IPPROTO_TCP) || (defined(HAVE_DECL_IPPROTO_TCP) && HAVE_DECL_IPPROTO_TCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_TCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_TCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_TCP) +#endif #if defined(IPPROTO_EGP) || (defined(HAVE_DECL_IPPROTO_EGP) && HAVE_DECL_IPPROTO_EGP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_EGP) == (8), "IPPROTO_EGP != 8"); @@ -45,6 +95,16 @@ #else # define IPPROTO_EGP 8 #endif +#if defined(IPPROTO_EGP) || (defined(HAVE_DECL_IPPROTO_EGP) && HAVE_DECL_IPPROTO_EGP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_EGP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_EGP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_EGP) +#endif #if defined(IPPROTO_PUP) || (defined(HAVE_DECL_IPPROTO_PUP) && HAVE_DECL_IPPROTO_PUP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_PUP) == (12), "IPPROTO_PUP != 12"); @@ -52,6 +112,16 @@ #else # define IPPROTO_PUP 12 #endif +#if defined(IPPROTO_PUP) || (defined(HAVE_DECL_IPPROTO_PUP) && HAVE_DECL_IPPROTO_PUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_PUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_PUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_PUP) +#endif #if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_UDP) == (17), "IPPROTO_UDP != 17"); @@ -59,6 +129,16 @@ #else # define IPPROTO_UDP 17 #endif +#if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_UDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_UDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_UDP) +#endif #if defined(IPPROTO_IDP) || (defined(HAVE_DECL_IPPROTO_IDP) && HAVE_DECL_IPPROTO_IDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_IDP) == (22), "IPPROTO_IDP != 22"); @@ -66,6 +146,16 @@ #else # define IPPROTO_IDP 22 #endif +#if defined(IPPROTO_IDP) || (defined(HAVE_DECL_IPPROTO_IDP) && HAVE_DECL_IPPROTO_IDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_IDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_IDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_IDP) +#endif #if defined(IPPROTO_TP) || (defined(HAVE_DECL_IPPROTO_TP) && HAVE_DECL_IPPROTO_TP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_TP) == (29), "IPPROTO_TP != 29"); @@ -73,6 +163,16 @@ #else # define IPPROTO_TP 29 #endif +#if defined(IPPROTO_TP) || (defined(HAVE_DECL_IPPROTO_TP) && HAVE_DECL_IPPROTO_TP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_TP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_TP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_TP) +#endif #if defined(IPPROTO_DCCP) || (defined(HAVE_DECL_IPPROTO_DCCP) && HAVE_DECL_IPPROTO_DCCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_DCCP) == (33), "IPPROTO_DCCP != 33"); @@ -80,6 +180,16 @@ #else # define IPPROTO_DCCP 33 #endif +#if defined(IPPROTO_DCCP) || (defined(HAVE_DECL_IPPROTO_DCCP) && HAVE_DECL_IPPROTO_DCCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_DCCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_DCCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_DCCP) +#endif #if defined(IPPROTO_IPV6) || (defined(HAVE_DECL_IPPROTO_IPV6) && HAVE_DECL_IPPROTO_IPV6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_IPV6) == (41), "IPPROTO_IPV6 != 41"); @@ -87,6 +197,16 @@ #else # define IPPROTO_IPV6 41 #endif +#if defined(IPPROTO_IPV6) || (defined(HAVE_DECL_IPPROTO_IPV6) && HAVE_DECL_IPPROTO_IPV6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_IPV6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_IPV6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_IPV6) +#endif #if defined(IPPROTO_ROUTING) || (defined(HAVE_DECL_IPPROTO_ROUTING) && HAVE_DECL_IPPROTO_ROUTING) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ROUTING) == (43), "IPPROTO_ROUTING != 43"); @@ -94,6 +214,16 @@ #else # define IPPROTO_ROUTING 43 #endif +#if defined(IPPROTO_ROUTING) || (defined(HAVE_DECL_IPPROTO_ROUTING) && HAVE_DECL_IPPROTO_ROUTING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ROUTING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ROUTING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ROUTING) +#endif #if defined(IPPROTO_FRAGMENT) || (defined(HAVE_DECL_IPPROTO_FRAGMENT) && HAVE_DECL_IPPROTO_FRAGMENT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_FRAGMENT) == (44), "IPPROTO_FRAGMENT != 44"); @@ -101,6 +231,16 @@ #else # define IPPROTO_FRAGMENT 44 #endif +#if defined(IPPROTO_FRAGMENT) || (defined(HAVE_DECL_IPPROTO_FRAGMENT) && HAVE_DECL_IPPROTO_FRAGMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_FRAGMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_FRAGMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_FRAGMENT) +#endif #if defined(IPPROTO_RSVP) || (defined(HAVE_DECL_IPPROTO_RSVP) && HAVE_DECL_IPPROTO_RSVP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_RSVP) == (46), "IPPROTO_RSVP != 46"); @@ -108,6 +248,16 @@ #else # define IPPROTO_RSVP 46 #endif +#if defined(IPPROTO_RSVP) || (defined(HAVE_DECL_IPPROTO_RSVP) && HAVE_DECL_IPPROTO_RSVP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_RSVP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_RSVP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_RSVP) +#endif #if defined(IPPROTO_GRE) || (defined(HAVE_DECL_IPPROTO_GRE) && HAVE_DECL_IPPROTO_GRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_GRE) == (47), "IPPROTO_GRE != 47"); @@ -115,6 +265,16 @@ #else # define IPPROTO_GRE 47 #endif +#if defined(IPPROTO_GRE) || (defined(HAVE_DECL_IPPROTO_GRE) && HAVE_DECL_IPPROTO_GRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_GRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_GRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_GRE) +#endif #if defined(IPPROTO_ESP) || (defined(HAVE_DECL_IPPROTO_ESP) && HAVE_DECL_IPPROTO_ESP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ESP) == (50), "IPPROTO_ESP != 50"); @@ -122,6 +282,16 @@ #else # define IPPROTO_ESP 50 #endif +#if defined(IPPROTO_ESP) || (defined(HAVE_DECL_IPPROTO_ESP) && HAVE_DECL_IPPROTO_ESP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ESP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ESP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ESP) +#endif #if defined(IPPROTO_AH) || (defined(HAVE_DECL_IPPROTO_AH) && HAVE_DECL_IPPROTO_AH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_AH) == (51), "IPPROTO_AH != 51"); @@ -129,6 +299,16 @@ #else # define IPPROTO_AH 51 #endif +#if defined(IPPROTO_AH) || (defined(HAVE_DECL_IPPROTO_AH) && HAVE_DECL_IPPROTO_AH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_AH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_AH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_AH) +#endif #if defined(IPPROTO_ICMPV6) || (defined(HAVE_DECL_IPPROTO_ICMPV6) && HAVE_DECL_IPPROTO_ICMPV6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ICMPV6) == (58), "IPPROTO_ICMPV6 != 58"); @@ -136,6 +316,16 @@ #else # define IPPROTO_ICMPV6 58 #endif +#if defined(IPPROTO_ICMPV6) || (defined(HAVE_DECL_IPPROTO_ICMPV6) && HAVE_DECL_IPPROTO_ICMPV6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ICMPV6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ICMPV6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ICMPV6) +#endif #if defined(IPPROTO_NONE) || (defined(HAVE_DECL_IPPROTO_NONE) && HAVE_DECL_IPPROTO_NONE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_NONE) == (59), "IPPROTO_NONE != 59"); @@ -143,6 +333,16 @@ #else # define IPPROTO_NONE 59 #endif +#if defined(IPPROTO_NONE) || (defined(HAVE_DECL_IPPROTO_NONE) && HAVE_DECL_IPPROTO_NONE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_NONE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_NONE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_NONE) +#endif #if defined(IPPROTO_DSTOPTS) || (defined(HAVE_DECL_IPPROTO_DSTOPTS) && HAVE_DECL_IPPROTO_DSTOPTS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_DSTOPTS) == (60), "IPPROTO_DSTOPTS != 60"); @@ -150,6 +350,16 @@ #else # define IPPROTO_DSTOPTS 60 #endif +#if defined(IPPROTO_DSTOPTS) || (defined(HAVE_DECL_IPPROTO_DSTOPTS) && HAVE_DECL_IPPROTO_DSTOPTS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_DSTOPTS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_DSTOPTS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_DSTOPTS) +#endif #if defined(IPPROTO_MTP) || (defined(HAVE_DECL_IPPROTO_MTP) && HAVE_DECL_IPPROTO_MTP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_MTP) == (92), "IPPROTO_MTP != 92"); @@ -157,6 +367,16 @@ #else # define IPPROTO_MTP 92 #endif +#if defined(IPPROTO_MTP) || (defined(HAVE_DECL_IPPROTO_MTP) && HAVE_DECL_IPPROTO_MTP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_MTP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_MTP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_MTP) +#endif #if defined(IPPROTO_BEETPH) || (defined(HAVE_DECL_IPPROTO_BEETPH) && HAVE_DECL_IPPROTO_BEETPH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_BEETPH) == (94), "IPPROTO_BEETPH != 94"); @@ -164,6 +384,16 @@ #else # define IPPROTO_BEETPH 94 #endif +#if defined(IPPROTO_BEETPH) || (defined(HAVE_DECL_IPPROTO_BEETPH) && HAVE_DECL_IPPROTO_BEETPH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_BEETPH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_BEETPH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_BEETPH) +#endif #if defined(IPPROTO_ENCAP) || (defined(HAVE_DECL_IPPROTO_ENCAP) && HAVE_DECL_IPPROTO_ENCAP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ENCAP) == (98), "IPPROTO_ENCAP != 98"); @@ -171,6 +401,16 @@ #else # define IPPROTO_ENCAP 98 #endif +#if defined(IPPROTO_ENCAP) || (defined(HAVE_DECL_IPPROTO_ENCAP) && HAVE_DECL_IPPROTO_ENCAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ENCAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ENCAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ENCAP) +#endif #if defined(IPPROTO_PIM) || (defined(HAVE_DECL_IPPROTO_PIM) && HAVE_DECL_IPPROTO_PIM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_PIM) == (103), "IPPROTO_PIM != 103"); @@ -178,6 +418,16 @@ #else # define IPPROTO_PIM 103 #endif +#if defined(IPPROTO_PIM) || (defined(HAVE_DECL_IPPROTO_PIM) && HAVE_DECL_IPPROTO_PIM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_PIM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_PIM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_PIM) +#endif #if defined(IPPROTO_COMP) || (defined(HAVE_DECL_IPPROTO_COMP) && HAVE_DECL_IPPROTO_COMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_COMP) == (108), "IPPROTO_COMP != 108"); @@ -185,6 +435,16 @@ #else # define IPPROTO_COMP 108 #endif +#if defined(IPPROTO_COMP) || (defined(HAVE_DECL_IPPROTO_COMP) && HAVE_DECL_IPPROTO_COMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_COMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_COMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_COMP) +#endif #if defined(IPPROTO_L2TP) || (defined(HAVE_DECL_IPPROTO_L2TP) && HAVE_DECL_IPPROTO_L2TP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_L2TP) == (115), "IPPROTO_L2TP != 115"); @@ -192,6 +452,16 @@ #else # define IPPROTO_L2TP 115 #endif +#if defined(IPPROTO_L2TP) || (defined(HAVE_DECL_IPPROTO_L2TP) && HAVE_DECL_IPPROTO_L2TP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_L2TP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_L2TP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_L2TP) +#endif #if defined(IPPROTO_SCTP) || (defined(HAVE_DECL_IPPROTO_SCTP) && HAVE_DECL_IPPROTO_SCTP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_SCTP) == (132), "IPPROTO_SCTP != 132"); @@ -199,6 +469,16 @@ #else # define IPPROTO_SCTP 132 #endif +#if defined(IPPROTO_SCTP) || (defined(HAVE_DECL_IPPROTO_SCTP) && HAVE_DECL_IPPROTO_SCTP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_SCTP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_SCTP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_SCTP) +#endif #if defined(IPPROTO_MH) || (defined(HAVE_DECL_IPPROTO_MH) && HAVE_DECL_IPPROTO_MH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_MH) == (135), "IPPROTO_MH != 135"); @@ -206,6 +486,16 @@ #else # define IPPROTO_MH 135 #endif +#if defined(IPPROTO_MH) || (defined(HAVE_DECL_IPPROTO_MH) && HAVE_DECL_IPPROTO_MH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_MH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_MH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_MH) +#endif #if defined(IPPROTO_UDPLITE) || (defined(HAVE_DECL_IPPROTO_UDPLITE) && HAVE_DECL_IPPROTO_UDPLITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_UDPLITE) == (136), "IPPROTO_UDPLITE != 136"); @@ -213,6 +503,16 @@ #else # define IPPROTO_UDPLITE 136 #endif +#if defined(IPPROTO_UDPLITE) || (defined(HAVE_DECL_IPPROTO_UDPLITE) && HAVE_DECL_IPPROTO_UDPLITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_UDPLITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_UDPLITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_UDPLITE) +#endif #if defined(IPPROTO_MPLS) || (defined(HAVE_DECL_IPPROTO_MPLS) && HAVE_DECL_IPPROTO_MPLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_MPLS) == (137), "IPPROTO_MPLS != 137"); @@ -220,6 +520,16 @@ #else # define IPPROTO_MPLS 137 #endif +#if defined(IPPROTO_MPLS) || (defined(HAVE_DECL_IPPROTO_MPLS) && HAVE_DECL_IPPROTO_MPLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_MPLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_MPLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_MPLS) +#endif #if defined(IPPROTO_ETHERNET) || (defined(HAVE_DECL_IPPROTO_ETHERNET) && HAVE_DECL_IPPROTO_ETHERNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_ETHERNET) == (143), "IPPROTO_ETHERNET != 143"); @@ -227,6 +537,16 @@ #else # define IPPROTO_ETHERNET 143 #endif +#if defined(IPPROTO_ETHERNET) || (defined(HAVE_DECL_IPPROTO_ETHERNET) && HAVE_DECL_IPPROTO_ETHERNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_ETHERNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_ETHERNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_ETHERNET) +#endif #if defined(IPPROTO_RAW) || (defined(HAVE_DECL_IPPROTO_RAW) && HAVE_DECL_IPPROTO_RAW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_RAW) == (255), "IPPROTO_RAW != 255"); @@ -234,6 +554,16 @@ #else # define IPPROTO_RAW 255 #endif +#if defined(IPPROTO_RAW) || (defined(HAVE_DECL_IPPROTO_RAW) && HAVE_DECL_IPPROTO_RAW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_RAW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_RAW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_RAW) +#endif #if defined(IPPROTO_MPTCP) || (defined(HAVE_DECL_IPPROTO_MPTCP) && HAVE_DECL_IPPROTO_MPTCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPPROTO_MPTCP) == (262), "IPPROTO_MPTCP != 262"); @@ -241,6 +571,17 @@ #else # define IPPROTO_MPTCP 262 #endif +#if defined(IPPROTO_MPTCP) || (defined(HAVE_DECL_IPPROTO_MPTCP) && HAVE_DECL_IPPROTO_MPTCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPPROTO_MPTCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPPROTO_MPTCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPPROTO_MPTCP) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inotify_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inotify_flags.h
Changed
@@ -157,6 +157,7 @@ #else # define IN_ONESHOT 0x80000000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/inotify_init_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/inotify_init_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define IN_CLOEXEC O_CLOEXEC #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ioctl_dirs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ioctl_dirs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ioprio_class.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ioprio_class.h
Changed
@@ -31,6 +31,7 @@ #else # define IOPRIO_CLASS_IDLE 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ioprio_who.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ioprio_who.h
Changed
@@ -24,6 +24,7 @@ #else # define IOPRIO_WHO_USER 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ip_cmsg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ip_cmsg_types.h
Changed
@@ -59,6 +59,7 @@ #else # define IP_CHECKSUM 23 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ip_type_of_services.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ip_type_of_services.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ipc_msg_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ipc_msg_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define IPC_NOWAIT 004000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ipc_private.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ipc_private.h
Changed
@@ -10,6 +10,7 @@ #else # define IPC_PRIVATE 0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ipccalls.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ipccalls.h
Changed
@@ -87,6 +87,7 @@ #else # define SHMCTL 24 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/irda_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/irda_protocols.h
Changed
@@ -17,6 +17,7 @@ #else # define IRDAPROTO_ULTRA 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/isdn_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/isdn_protocols.h
Changed
@@ -94,6 +94,7 @@ #else # define ISDN_P_B_L2DSPHDLC 0x26 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/itimer_which.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/itimer_which.h
Changed
@@ -24,6 +24,7 @@ #else # define ITIMER_PROF 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kcm_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kcm_protocols.h
Changed
@@ -10,6 +10,7 @@ #else # define KCMPROTO_CONNECTED 0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kcmp_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kcmp_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_default_led_flags.h
Added
@@ -0,0 +1,99 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_default_led_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_default_led_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_default_led_flags_xdata = { + XLAT(LED_SCR), + #define XLAT_VAL_0 ((unsigned) (LED_SCR)) + #define XLAT_STR_0 STRINGIFY(LED_SCR) + XLAT(LED_NUM), + #define XLAT_VAL_1 ((unsigned) (LED_NUM)) + #define XLAT_STR_1 STRINGIFY(LED_NUM) + XLAT(LED_CAP), + #define XLAT_VAL_2 ((unsigned) (LED_CAP)) + #define XLAT_STR_2 STRINGIFY(LED_CAP) + XLAT(LED_SCR<<4), + #define XLAT_VAL_3 ((unsigned) (LED_SCR<<4)) + #define XLAT_STR_3 STRINGIFY(LED_SCR<<4) + XLAT(LED_NUM<<4), + #define XLAT_VAL_4 ((unsigned) (LED_NUM<<4)) + #define XLAT_STR_4 STRINGIFY(LED_NUM<<4) + XLAT(LED_CAP<<4), + #define XLAT_VAL_5 ((unsigned) (LED_CAP<<4)) + #define XLAT_STR_5 STRINGIFY(LED_CAP<<4) +}; +static +const struct xlat kd_default_led_flags1 = { { + .data = kd_default_led_flags_xdata, + .size = ARRAY_SIZE(kd_default_led_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_default_led_flags.in
Added
@@ -0,0 +1,7 @@ +#unconditional +LED_SCR +LED_NUM +LED_CAP +LED_SCR<<4 +LED_NUM<<4 +LED_CAP<<4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_font_flags.h
Added
@@ -0,0 +1,71 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_font_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KD_FONT_FLAG_DONT_RECALC) || (defined(HAVE_DECL_KD_FONT_FLAG_DONT_RECALC) && HAVE_DECL_KD_FONT_FLAG_DONT_RECALC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_FLAG_DONT_RECALC) == (0x1), "KD_FONT_FLAG_DONT_RECALC != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_FLAG_DONT_RECALC 0x1 +#endif +#if defined(KD_FONT_FLAG_OLD) || (defined(HAVE_DECL_KD_FONT_FLAG_OLD) && HAVE_DECL_KD_FONT_FLAG_OLD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_FLAG_OLD) == (0x80000000), "KD_FONT_FLAG_OLD != 0x80000000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_FLAG_OLD 0x80000000 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat kd_font_flags; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_font_flags_xdata = { + XLAT(KD_FONT_FLAG_DONT_RECALC), + #define XLAT_VAL_0 ((unsigned) (KD_FONT_FLAG_DONT_RECALC)) + #define XLAT_STR_0 STRINGIFY(KD_FONT_FLAG_DONT_RECALC) + XLAT(KD_FONT_FLAG_OLD), + #define XLAT_VAL_1 ((unsigned) (KD_FONT_FLAG_OLD)) + #define XLAT_STR_1 STRINGIFY(KD_FONT_FLAG_OLD) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat kd_font_flags1 = { { + .data = kd_font_flags_xdata, + .size = ARRAY_SIZE(kd_font_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_font_flags.in
Added
@@ -0,0 +1,2 @@ +KD_FONT_FLAG_DONT_RECALC 0x1 +KD_FONT_FLAG_OLD 0x80000000
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_font_ops.h
Added
@@ -0,0 +1,107 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_font_ops.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KD_FONT_OP_SET) || (defined(HAVE_DECL_KD_FONT_OP_SET) && HAVE_DECL_KD_FONT_OP_SET) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_OP_SET) == (0), "KD_FONT_OP_SET != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_OP_SET 0 +#endif +#if defined(KD_FONT_OP_GET) || (defined(HAVE_DECL_KD_FONT_OP_GET) && HAVE_DECL_KD_FONT_OP_GET) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_OP_GET) == (1), "KD_FONT_OP_GET != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_OP_GET 1 +#endif +#if defined(KD_FONT_OP_SET_DEFAULT) || (defined(HAVE_DECL_KD_FONT_OP_SET_DEFAULT) && HAVE_DECL_KD_FONT_OP_SET_DEFAULT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_OP_SET_DEFAULT) == (2), "KD_FONT_OP_SET_DEFAULT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_OP_SET_DEFAULT 2 +#endif +#if defined(KD_FONT_OP_COPY) || (defined(HAVE_DECL_KD_FONT_OP_COPY) && HAVE_DECL_KD_FONT_OP_COPY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_FONT_OP_COPY) == (3), "KD_FONT_OP_COPY != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_FONT_OP_COPY 3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat kd_font_ops; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_font_ops_xdata = { + KD_FONT_OP_SET = XLAT(KD_FONT_OP_SET), + #define XLAT_VAL_0 ((unsigned) (KD_FONT_OP_SET)) + #define XLAT_STR_0 STRINGIFY(KD_FONT_OP_SET) + KD_FONT_OP_GET = XLAT(KD_FONT_OP_GET), + #define XLAT_VAL_1 ((unsigned) (KD_FONT_OP_GET)) + #define XLAT_STR_1 STRINGIFY(KD_FONT_OP_GET) + KD_FONT_OP_SET_DEFAULT = XLAT(KD_FONT_OP_SET_DEFAULT), + #define XLAT_VAL_2 ((unsigned) (KD_FONT_OP_SET_DEFAULT)) + #define XLAT_STR_2 STRINGIFY(KD_FONT_OP_SET_DEFAULT) + KD_FONT_OP_COPY = XLAT(KD_FONT_OP_COPY), + #define XLAT_VAL_3 ((unsigned) (KD_FONT_OP_COPY)) + #define XLAT_STR_3 STRINGIFY(KD_FONT_OP_COPY) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat kd_font_ops1 = { { + .data = kd_font_ops_xdata, + .size = ARRAY_SIZE(kd_font_ops_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_font_ops.in
Added
@@ -0,0 +1,5 @@ +#value_indexed +KD_FONT_OP_SET 0 +KD_FONT_OP_GET 1 +KD_FONT_OP_SET_DEFAULT 2 +KD_FONT_OP_COPY 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_ioctl_cmds.h
Added
@@ -0,0 +1,1324 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_ioctl_cmds.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KIOCSOUND) || (defined(HAVE_DECL_KIOCSOUND) && HAVE_DECL_KIOCSOUND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KIOCSOUND) == (0x4B2F), "KIOCSOUND != 0x4B2F"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KIOCSOUND 0x4B2F +#endif +#if defined(KIOCSOUND) || (defined(HAVE_DECL_KIOCSOUND) && HAVE_DECL_KIOCSOUND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KIOCSOUND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KIOCSOUND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KIOCSOUND) +#endif +#if defined(KDMKTONE) || (defined(HAVE_DECL_KDMKTONE) && HAVE_DECL_KDMKTONE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDMKTONE) == (0x4B30), "KDMKTONE != 0x4B30"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDMKTONE 0x4B30 +#endif +#if defined(KDMKTONE) || (defined(HAVE_DECL_KDMKTONE) && HAVE_DECL_KDMKTONE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDMKTONE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDMKTONE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDMKTONE) +#endif +#if defined(KDGETLED) || (defined(HAVE_DECL_KDGETLED) && HAVE_DECL_KDGETLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGETLED) == (0x4B31), "KDGETLED != 0x4B31"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGETLED 0x4B31 +#endif +#if defined(KDGETLED) || (defined(HAVE_DECL_KDGETLED) && HAVE_DECL_KDGETLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGETLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGETLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGETLED) +#endif +#if defined(KDSETLED) || (defined(HAVE_DECL_KDSETLED) && HAVE_DECL_KDSETLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSETLED) == (0x4B32), "KDSETLED != 0x4B32"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSETLED 0x4B32 +#endif +#if defined(KDSETLED) || (defined(HAVE_DECL_KDSETLED) && HAVE_DECL_KDSETLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSETLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSETLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSETLED) +#endif +#if defined(KDGKBTYPE) || (defined(HAVE_DECL_KDGKBTYPE) && HAVE_DECL_KDGKBTYPE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBTYPE) == (0x4B33), "KDGKBTYPE != 0x4B33"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBTYPE 0x4B33 +#endif +#if defined(KDGKBTYPE) || (defined(HAVE_DECL_KDGKBTYPE) && HAVE_DECL_KDGKBTYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBTYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBTYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBTYPE) +#endif +#if defined(KDADDIO) || (defined(HAVE_DECL_KDADDIO) && HAVE_DECL_KDADDIO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDADDIO) == (0x4B34), "KDADDIO != 0x4B34"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDADDIO 0x4B34 +#endif +#if defined(KDADDIO) || (defined(HAVE_DECL_KDADDIO) && HAVE_DECL_KDADDIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDADDIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDADDIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDADDIO) +#endif +#if defined(KDDELIO) || (defined(HAVE_DECL_KDDELIO) && HAVE_DECL_KDDELIO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDDELIO) == (0x4B35), "KDDELIO != 0x4B35"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDDELIO 0x4B35 +#endif +#if defined(KDDELIO) || (defined(HAVE_DECL_KDDELIO) && HAVE_DECL_KDDELIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDDELIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDDELIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDDELIO) +#endif +#if defined(KDENABIO) || (defined(HAVE_DECL_KDENABIO) && HAVE_DECL_KDENABIO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDENABIO) == (0x4B36), "KDENABIO != 0x4B36"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDENABIO 0x4B36 +#endif +#if defined(KDENABIO) || (defined(HAVE_DECL_KDENABIO) && HAVE_DECL_KDENABIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDENABIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDENABIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDENABIO) +#endif +#if defined(KDDISABIO) || (defined(HAVE_DECL_KDDISABIO) && HAVE_DECL_KDDISABIO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDDISABIO) == (0x4B37), "KDDISABIO != 0x4B37"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDDISABIO 0x4B37 +#endif +#if defined(KDDISABIO) || (defined(HAVE_DECL_KDDISABIO) && HAVE_DECL_KDDISABIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDDISABIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDDISABIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDDISABIO) +#endif +#if defined(KDSETMODE) || (defined(HAVE_DECL_KDSETMODE) && HAVE_DECL_KDSETMODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSETMODE) == (0x4B3A), "KDSETMODE != 0x4B3A"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSETMODE 0x4B3A +#endif +#if defined(KDSETMODE) || (defined(HAVE_DECL_KDSETMODE) && HAVE_DECL_KDSETMODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSETMODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSETMODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSETMODE) +#endif +#if defined(KDGETMODE) || (defined(HAVE_DECL_KDGETMODE) && HAVE_DECL_KDGETMODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGETMODE) == (0x4B3B), "KDGETMODE != 0x4B3B"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGETMODE 0x4B3B +#endif +#if defined(KDGETMODE) || (defined(HAVE_DECL_KDGETMODE) && HAVE_DECL_KDGETMODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGETMODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGETMODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGETMODE) +#endif +#if defined(KDMAPDISP) || (defined(HAVE_DECL_KDMAPDISP) && HAVE_DECL_KDMAPDISP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDMAPDISP) == (0x4B3C), "KDMAPDISP != 0x4B3C"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDMAPDISP 0x4B3C +#endif +#if defined(KDMAPDISP) || (defined(HAVE_DECL_KDMAPDISP) && HAVE_DECL_KDMAPDISP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDMAPDISP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDMAPDISP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDMAPDISP) +#endif +#if defined(KDUNMAPDISP) || (defined(HAVE_DECL_KDUNMAPDISP) && HAVE_DECL_KDUNMAPDISP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDUNMAPDISP) == (0x4B3D), "KDUNMAPDISP != 0x4B3D"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDUNMAPDISP 0x4B3D +#endif +#if defined(KDUNMAPDISP) || (defined(HAVE_DECL_KDUNMAPDISP) && HAVE_DECL_KDUNMAPDISP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDUNMAPDISP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDUNMAPDISP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDUNMAPDISP) +#endif +#if defined(GIO_SCRNMAP) || (defined(HAVE_DECL_GIO_SCRNMAP) && HAVE_DECL_GIO_SCRNMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_SCRNMAP) == (0x4B40), "GIO_SCRNMAP != 0x4B40"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_SCRNMAP 0x4B40 +#endif +#if defined(GIO_SCRNMAP) || (defined(HAVE_DECL_GIO_SCRNMAP) && HAVE_DECL_GIO_SCRNMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_SCRNMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_SCRNMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_SCRNMAP) +#endif +#if defined(PIO_SCRNMAP) || (defined(HAVE_DECL_PIO_SCRNMAP) && HAVE_DECL_PIO_SCRNMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_SCRNMAP) == (0x4B41), "PIO_SCRNMAP != 0x4B41"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_SCRNMAP 0x4B41 +#endif +#if defined(PIO_SCRNMAP) || (defined(HAVE_DECL_PIO_SCRNMAP) && HAVE_DECL_PIO_SCRNMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_SCRNMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_SCRNMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_SCRNMAP) +#endif +#if defined(KDGKBMODE) || (defined(HAVE_DECL_KDGKBMODE) && HAVE_DECL_KDGKBMODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBMODE) == (0x4B44), "KDGKBMODE != 0x4B44"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBMODE 0x4B44 +#endif +#if defined(KDGKBMODE) || (defined(HAVE_DECL_KDGKBMODE) && HAVE_DECL_KDGKBMODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBMODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBMODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBMODE) +#endif +#if defined(KDSKBMODE) || (defined(HAVE_DECL_KDSKBMODE) && HAVE_DECL_KDSKBMODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBMODE) == (0x4B45), "KDSKBMODE != 0x4B45"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBMODE 0x4B45 +#endif +#if defined(KDSKBMODE) || (defined(HAVE_DECL_KDSKBMODE) && HAVE_DECL_KDSKBMODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBMODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBMODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBMODE) +#endif +#if defined(KDGKBENT) || (defined(HAVE_DECL_KDGKBENT) && HAVE_DECL_KDGKBENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBENT) == (0x4B46), "KDGKBENT != 0x4B46"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBENT 0x4B46 +#endif +#if defined(KDGKBENT) || (defined(HAVE_DECL_KDGKBENT) && HAVE_DECL_KDGKBENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBENT) +#endif +#if defined(KDSKBENT) || (defined(HAVE_DECL_KDSKBENT) && HAVE_DECL_KDSKBENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBENT) == (0x4B47), "KDSKBENT != 0x4B47"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBENT 0x4B47 +#endif +#if defined(KDSKBENT) || (defined(HAVE_DECL_KDSKBENT) && HAVE_DECL_KDSKBENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBENT) +#endif +#if defined(KDGKBSENT) || (defined(HAVE_DECL_KDGKBSENT) && HAVE_DECL_KDGKBSENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBSENT) == (0x4B48), "KDGKBSENT != 0x4B48"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBSENT 0x4B48 +#endif +#if defined(KDGKBSENT) || (defined(HAVE_DECL_KDGKBSENT) && HAVE_DECL_KDGKBSENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBSENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBSENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBSENT) +#endif +#if defined(KDSKBSENT) || (defined(HAVE_DECL_KDSKBSENT) && HAVE_DECL_KDSKBSENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBSENT) == (0x4B49), "KDSKBSENT != 0x4B49"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBSENT 0x4B49 +#endif +#if defined(KDSKBSENT) || (defined(HAVE_DECL_KDSKBSENT) && HAVE_DECL_KDSKBSENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBSENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBSENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBSENT) +#endif +#if defined(KDGKBDIACR) || (defined(HAVE_DECL_KDGKBDIACR) && HAVE_DECL_KDGKBDIACR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBDIACR) == (0x4B4A), "KDGKBDIACR != 0x4B4A"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBDIACR 0x4B4A +#endif +#if defined(KDGKBDIACR) || (defined(HAVE_DECL_KDGKBDIACR) && HAVE_DECL_KDGKBDIACR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBDIACR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBDIACR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBDIACR) +#endif +#if defined(KDSKBDIACR) || (defined(HAVE_DECL_KDSKBDIACR) && HAVE_DECL_KDSKBDIACR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBDIACR) == (0x4B4B), "KDSKBDIACR != 0x4B4B"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBDIACR 0x4B4B +#endif +#if defined(KDSKBDIACR) || (defined(HAVE_DECL_KDSKBDIACR) && HAVE_DECL_KDSKBDIACR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBDIACR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBDIACR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBDIACR) +#endif +#if defined(KDGETKEYCODE) || (defined(HAVE_DECL_KDGETKEYCODE) && HAVE_DECL_KDGETKEYCODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGETKEYCODE) == (0x4B4C), "KDGETKEYCODE != 0x4B4C"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGETKEYCODE 0x4B4C +#endif +#if defined(KDGETKEYCODE) || (defined(HAVE_DECL_KDGETKEYCODE) && HAVE_DECL_KDGETKEYCODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGETKEYCODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGETKEYCODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGETKEYCODE) +#endif +#if defined(KDSETKEYCODE) || (defined(HAVE_DECL_KDSETKEYCODE) && HAVE_DECL_KDSETKEYCODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSETKEYCODE) == (0x4B4D), "KDSETKEYCODE != 0x4B4D"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSETKEYCODE 0x4B4D +#endif +#if defined(KDSETKEYCODE) || (defined(HAVE_DECL_KDSETKEYCODE) && HAVE_DECL_KDSETKEYCODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSETKEYCODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSETKEYCODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSETKEYCODE) +#endif +#if defined(KDSIGACCEPT) || (defined(HAVE_DECL_KDSIGACCEPT) && HAVE_DECL_KDSIGACCEPT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSIGACCEPT) == (0x4B4E), "KDSIGACCEPT != 0x4B4E"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSIGACCEPT 0x4B4E +#endif +#if defined(KDSIGACCEPT) || (defined(HAVE_DECL_KDSIGACCEPT) && HAVE_DECL_KDSIGACCEPT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSIGACCEPT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSIGACCEPT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSIGACCEPT) +#endif +#if defined(KDKBDREP) || (defined(HAVE_DECL_KDKBDREP) && HAVE_DECL_KDKBDREP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDKBDREP) == (0x4B52), "KDKBDREP != 0x4B52"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDKBDREP 0x4B52 +#endif +#if defined(KDKBDREP) || (defined(HAVE_DECL_KDKBDREP) && HAVE_DECL_KDKBDREP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDKBDREP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDKBDREP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDKBDREP) +#endif +#if defined(GIO_FONT) || (defined(HAVE_DECL_GIO_FONT) && HAVE_DECL_GIO_FONT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_FONT) == (0x4B60), "GIO_FONT != 0x4B60"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_FONT 0x4B60 +#endif +#if defined(GIO_FONT) || (defined(HAVE_DECL_GIO_FONT) && HAVE_DECL_GIO_FONT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_FONT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_FONT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_FONT) +#endif +#if defined(PIO_FONT) || (defined(HAVE_DECL_PIO_FONT) && HAVE_DECL_PIO_FONT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_FONT) == (0x4B61), "PIO_FONT != 0x4B61"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_FONT 0x4B61 +#endif +#if defined(PIO_FONT) || (defined(HAVE_DECL_PIO_FONT) && HAVE_DECL_PIO_FONT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_FONT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_FONT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_FONT) +#endif +#if defined(KDGKBMETA) || (defined(HAVE_DECL_KDGKBMETA) && HAVE_DECL_KDGKBMETA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBMETA) == (0x4B62), "KDGKBMETA != 0x4B62"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBMETA 0x4B62 +#endif +#if defined(KDGKBMETA) || (defined(HAVE_DECL_KDGKBMETA) && HAVE_DECL_KDGKBMETA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBMETA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBMETA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBMETA) +#endif +#if defined(KDSKBMETA) || (defined(HAVE_DECL_KDSKBMETA) && HAVE_DECL_KDSKBMETA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBMETA) == (0x4B63), "KDSKBMETA != 0x4B63"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBMETA 0x4B63 +#endif +#if defined(KDSKBMETA) || (defined(HAVE_DECL_KDSKBMETA) && HAVE_DECL_KDSKBMETA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBMETA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBMETA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBMETA) +#endif +#if defined(KDGKBLED) || (defined(HAVE_DECL_KDGKBLED) && HAVE_DECL_KDGKBLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBLED) == (0x4B64), "KDGKBLED != 0x4B64"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBLED 0x4B64 +#endif +#if defined(KDGKBLED) || (defined(HAVE_DECL_KDGKBLED) && HAVE_DECL_KDGKBLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBLED) +#endif +#if defined(KDSKBLED) || (defined(HAVE_DECL_KDSKBLED) && HAVE_DECL_KDSKBLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBLED) == (0x4B65), "KDSKBLED != 0x4B65"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBLED 0x4B65 +#endif +#if defined(KDSKBLED) || (defined(HAVE_DECL_KDSKBLED) && HAVE_DECL_KDSKBLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBLED) +#endif +#if defined(GIO_UNIMAP) || (defined(HAVE_DECL_GIO_UNIMAP) && HAVE_DECL_GIO_UNIMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_UNIMAP) == (0x4B66), "GIO_UNIMAP != 0x4B66"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_UNIMAP 0x4B66 +#endif +#if defined(GIO_UNIMAP) || (defined(HAVE_DECL_GIO_UNIMAP) && HAVE_DECL_GIO_UNIMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_UNIMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_UNIMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_UNIMAP) +#endif +#if defined(PIO_UNIMAP) || (defined(HAVE_DECL_PIO_UNIMAP) && HAVE_DECL_PIO_UNIMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_UNIMAP) == (0x4B67), "PIO_UNIMAP != 0x4B67"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_UNIMAP 0x4B67 +#endif +#if defined(PIO_UNIMAP) || (defined(HAVE_DECL_PIO_UNIMAP) && HAVE_DECL_PIO_UNIMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_UNIMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_UNIMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_UNIMAP) +#endif +#if defined(PIO_UNIMAPCLR) || (defined(HAVE_DECL_PIO_UNIMAPCLR) && HAVE_DECL_PIO_UNIMAPCLR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_UNIMAPCLR) == (0x4B68), "PIO_UNIMAPCLR != 0x4B68"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_UNIMAPCLR 0x4B68 +#endif +#if defined(PIO_UNIMAPCLR) || (defined(HAVE_DECL_PIO_UNIMAPCLR) && HAVE_DECL_PIO_UNIMAPCLR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_UNIMAPCLR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_UNIMAPCLR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_UNIMAPCLR) +#endif +#if defined(GIO_UNISCRNMAP) || (defined(HAVE_DECL_GIO_UNISCRNMAP) && HAVE_DECL_GIO_UNISCRNMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_UNISCRNMAP) == (0x4B69), "GIO_UNISCRNMAP != 0x4B69"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_UNISCRNMAP 0x4B69 +#endif +#if defined(GIO_UNISCRNMAP) || (defined(HAVE_DECL_GIO_UNISCRNMAP) && HAVE_DECL_GIO_UNISCRNMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_UNISCRNMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_UNISCRNMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_UNISCRNMAP) +#endif +#if defined(PIO_UNISCRNMAP) || (defined(HAVE_DECL_PIO_UNISCRNMAP) && HAVE_DECL_PIO_UNISCRNMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_UNISCRNMAP) == (0x4B6A), "PIO_UNISCRNMAP != 0x4B6A"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_UNISCRNMAP 0x4B6A +#endif +#if defined(PIO_UNISCRNMAP) || (defined(HAVE_DECL_PIO_UNISCRNMAP) && HAVE_DECL_PIO_UNISCRNMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_UNISCRNMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_UNISCRNMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_UNISCRNMAP) +#endif +#if defined(GIO_FONTX) || (defined(HAVE_DECL_GIO_FONTX) && HAVE_DECL_GIO_FONTX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_FONTX) == (0x4B6B), "GIO_FONTX != 0x4B6B"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_FONTX 0x4B6B +#endif +#if defined(GIO_FONTX) || (defined(HAVE_DECL_GIO_FONTX) && HAVE_DECL_GIO_FONTX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_FONTX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_FONTX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_FONTX) +#endif +#if defined(PIO_FONTX) || (defined(HAVE_DECL_PIO_FONTX) && HAVE_DECL_PIO_FONTX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_FONTX) == (0x4B6C), "PIO_FONTX != 0x4B6C"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_FONTX 0x4B6C +#endif +#if defined(PIO_FONTX) || (defined(HAVE_DECL_PIO_FONTX) && HAVE_DECL_PIO_FONTX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_FONTX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_FONTX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_FONTX) +#endif +#if defined(PIO_FONTRESET) || (defined(HAVE_DECL_PIO_FONTRESET) && HAVE_DECL_PIO_FONTRESET) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_FONTRESET) == (0x4B6D), "PIO_FONTRESET != 0x4B6D"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_FONTRESET 0x4B6D +#endif +#if defined(PIO_FONTRESET) || (defined(HAVE_DECL_PIO_FONTRESET) && HAVE_DECL_PIO_FONTRESET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_FONTRESET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_FONTRESET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_FONTRESET) +#endif +#if defined(GIO_CMAP) || (defined(HAVE_DECL_GIO_CMAP) && HAVE_DECL_GIO_CMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((GIO_CMAP) == (0x4B70), "GIO_CMAP != 0x4B70"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define GIO_CMAP 0x4B70 +#endif +#if defined(GIO_CMAP) || (defined(HAVE_DECL_GIO_CMAP) && HAVE_DECL_GIO_CMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GIO_CMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GIO_CMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GIO_CMAP) +#endif +#if defined(PIO_CMAP) || (defined(HAVE_DECL_PIO_CMAP) && HAVE_DECL_PIO_CMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PIO_CMAP) == (0x4B71), "PIO_CMAP != 0x4B71"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PIO_CMAP 0x4B71 +#endif +#if defined(PIO_CMAP) || (defined(HAVE_DECL_PIO_CMAP) && HAVE_DECL_PIO_CMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PIO_CMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PIO_CMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PIO_CMAP) +#endif +#if defined(KDFONTOP) || (defined(HAVE_DECL_KDFONTOP) && HAVE_DECL_KDFONTOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDFONTOP) == (0x4B72), "KDFONTOP != 0x4B72"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDFONTOP 0x4B72 +#endif +#if defined(KDFONTOP) || (defined(HAVE_DECL_KDFONTOP) && HAVE_DECL_KDFONTOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDFONTOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDFONTOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDFONTOP) +#endif +#if defined(KDGKBDIACRUC) || (defined(HAVE_DECL_KDGKBDIACRUC) && HAVE_DECL_KDGKBDIACRUC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDGKBDIACRUC) == (0x4BFA), "KDGKBDIACRUC != 0x4BFA"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDGKBDIACRUC 0x4BFA +#endif +#if defined(KDGKBDIACRUC) || (defined(HAVE_DECL_KDGKBDIACRUC) && HAVE_DECL_KDGKBDIACRUC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDGKBDIACRUC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDGKBDIACRUC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDGKBDIACRUC) +#endif +#if defined(KDSKBDIACRUC) || (defined(HAVE_DECL_KDSKBDIACRUC) && HAVE_DECL_KDSKBDIACRUC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KDSKBDIACRUC) == (0x4BFB), "KDSKBDIACRUC != 0x4BFB"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KDSKBDIACRUC 0x4BFB +#endif +#if defined(KDSKBDIACRUC) || (defined(HAVE_DECL_KDSKBDIACRUC) && HAVE_DECL_KDSKBDIACRUC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (KDSKBDIACRUC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: KDSKBDIACRUC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (KDSKBDIACRUC) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat kd_ioctl_cmds; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_ioctl_cmds_xdata = { + + XLAT(KIOCSOUND), + #define XLAT_VAL_0 ((unsigned) (KIOCSOUND)) + #define XLAT_STR_0 STRINGIFY(KIOCSOUND) + XLAT(KDMKTONE), + #define XLAT_VAL_1 ((unsigned) (KDMKTONE)) + #define XLAT_STR_1 STRINGIFY(KDMKTONE) + XLAT(KDGETLED), + #define XLAT_VAL_2 ((unsigned) (KDGETLED)) + #define XLAT_STR_2 STRINGIFY(KDGETLED) + XLAT(KDSETLED), + #define XLAT_VAL_3 ((unsigned) (KDSETLED)) + #define XLAT_STR_3 STRINGIFY(KDSETLED) + XLAT(KDGKBTYPE), + #define XLAT_VAL_4 ((unsigned) (KDGKBTYPE)) + #define XLAT_STR_4 STRINGIFY(KDGKBTYPE) + XLAT(KDADDIO), + #define XLAT_VAL_5 ((unsigned) (KDADDIO)) + #define XLAT_STR_5 STRINGIFY(KDADDIO) + XLAT(KDDELIO), + #define XLAT_VAL_6 ((unsigned) (KDDELIO)) + #define XLAT_STR_6 STRINGIFY(KDDELIO) + XLAT(KDENABIO), + #define XLAT_VAL_7 ((unsigned) (KDENABIO)) + #define XLAT_STR_7 STRINGIFY(KDENABIO) + XLAT(KDDISABIO), + #define XLAT_VAL_8 ((unsigned) (KDDISABIO)) + #define XLAT_STR_8 STRINGIFY(KDDISABIO) + XLAT(KDSETMODE), + #define XLAT_VAL_9 ((unsigned) (KDSETMODE)) + #define XLAT_STR_9 STRINGIFY(KDSETMODE) + XLAT(KDGETMODE), + #define XLAT_VAL_10 ((unsigned) (KDGETMODE)) + #define XLAT_STR_10 STRINGIFY(KDGETMODE) + XLAT(KDMAPDISP), + #define XLAT_VAL_11 ((unsigned) (KDMAPDISP)) + #define XLAT_STR_11 STRINGIFY(KDMAPDISP) + XLAT(KDUNMAPDISP), + #define XLAT_VAL_12 ((unsigned) (KDUNMAPDISP)) + #define XLAT_STR_12 STRINGIFY(KDUNMAPDISP) + XLAT(GIO_SCRNMAP), + #define XLAT_VAL_13 ((unsigned) (GIO_SCRNMAP)) + #define XLAT_STR_13 STRINGIFY(GIO_SCRNMAP) + XLAT(PIO_SCRNMAP), + #define XLAT_VAL_14 ((unsigned) (PIO_SCRNMAP)) + #define XLAT_STR_14 STRINGIFY(PIO_SCRNMAP) + XLAT(KDGKBMODE), + #define XLAT_VAL_15 ((unsigned) (KDGKBMODE)) + #define XLAT_STR_15 STRINGIFY(KDGKBMODE) + XLAT(KDSKBMODE), + #define XLAT_VAL_16 ((unsigned) (KDSKBMODE)) + #define XLAT_STR_16 STRINGIFY(KDSKBMODE) + XLAT(KDGKBENT), + #define XLAT_VAL_17 ((unsigned) (KDGKBENT)) + #define XLAT_STR_17 STRINGIFY(KDGKBENT) + XLAT(KDSKBENT), + #define XLAT_VAL_18 ((unsigned) (KDSKBENT)) + #define XLAT_STR_18 STRINGIFY(KDSKBENT) + XLAT(KDGKBSENT), + #define XLAT_VAL_19 ((unsigned) (KDGKBSENT)) + #define XLAT_STR_19 STRINGIFY(KDGKBSENT) + XLAT(KDSKBSENT), + #define XLAT_VAL_20 ((unsigned) (KDSKBSENT)) + #define XLAT_STR_20 STRINGIFY(KDSKBSENT) + XLAT(KDGKBDIACR), + #define XLAT_VAL_21 ((unsigned) (KDGKBDIACR)) + #define XLAT_STR_21 STRINGIFY(KDGKBDIACR) + XLAT(KDSKBDIACR), + #define XLAT_VAL_22 ((unsigned) (KDSKBDIACR)) + #define XLAT_STR_22 STRINGIFY(KDSKBDIACR) + XLAT(KDGETKEYCODE), + #define XLAT_VAL_23 ((unsigned) (KDGETKEYCODE)) + #define XLAT_STR_23 STRINGIFY(KDGETKEYCODE) + XLAT(KDSETKEYCODE), + #define XLAT_VAL_24 ((unsigned) (KDSETKEYCODE)) + #define XLAT_STR_24 STRINGIFY(KDSETKEYCODE) + XLAT(KDSIGACCEPT), + #define XLAT_VAL_25 ((unsigned) (KDSIGACCEPT)) + #define XLAT_STR_25 STRINGIFY(KDSIGACCEPT) + XLAT(KDKBDREP), + #define XLAT_VAL_26 ((unsigned) (KDKBDREP)) + #define XLAT_STR_26 STRINGIFY(KDKBDREP) + XLAT(GIO_FONT), + #define XLAT_VAL_27 ((unsigned) (GIO_FONT)) + #define XLAT_STR_27 STRINGIFY(GIO_FONT) + XLAT(PIO_FONT), + #define XLAT_VAL_28 ((unsigned) (PIO_FONT)) + #define XLAT_STR_28 STRINGIFY(PIO_FONT) + XLAT(KDGKBMETA), + #define XLAT_VAL_29 ((unsigned) (KDGKBMETA)) + #define XLAT_STR_29 STRINGIFY(KDGKBMETA) + XLAT(KDSKBMETA), + #define XLAT_VAL_30 ((unsigned) (KDSKBMETA)) + #define XLAT_STR_30 STRINGIFY(KDSKBMETA) + XLAT(KDGKBLED), + #define XLAT_VAL_31 ((unsigned) (KDGKBLED)) + #define XLAT_STR_31 STRINGIFY(KDGKBLED) + XLAT(KDSKBLED), + #define XLAT_VAL_32 ((unsigned) (KDSKBLED)) + #define XLAT_STR_32 STRINGIFY(KDSKBLED) + XLAT(GIO_UNIMAP), + #define XLAT_VAL_33 ((unsigned) (GIO_UNIMAP)) + #define XLAT_STR_33 STRINGIFY(GIO_UNIMAP) + XLAT(PIO_UNIMAP), + #define XLAT_VAL_34 ((unsigned) (PIO_UNIMAP)) + #define XLAT_STR_34 STRINGIFY(PIO_UNIMAP) + XLAT(PIO_UNIMAPCLR), + #define XLAT_VAL_35 ((unsigned) (PIO_UNIMAPCLR)) + #define XLAT_STR_35 STRINGIFY(PIO_UNIMAPCLR) + XLAT(GIO_UNISCRNMAP), + #define XLAT_VAL_36 ((unsigned) (GIO_UNISCRNMAP)) + #define XLAT_STR_36 STRINGIFY(GIO_UNISCRNMAP) + XLAT(PIO_UNISCRNMAP), + #define XLAT_VAL_37 ((unsigned) (PIO_UNISCRNMAP)) + #define XLAT_STR_37 STRINGIFY(PIO_UNISCRNMAP) + XLAT(GIO_FONTX), + #define XLAT_VAL_38 ((unsigned) (GIO_FONTX)) + #define XLAT_STR_38 STRINGIFY(GIO_FONTX) + XLAT(PIO_FONTX), + #define XLAT_VAL_39 ((unsigned) (PIO_FONTX)) + #define XLAT_STR_39 STRINGIFY(PIO_FONTX) + XLAT(PIO_FONTRESET), + #define XLAT_VAL_40 ((unsigned) (PIO_FONTRESET)) + #define XLAT_STR_40 STRINGIFY(PIO_FONTRESET) + XLAT(GIO_CMAP), + #define XLAT_VAL_41 ((unsigned) (GIO_CMAP)) + #define XLAT_STR_41 STRINGIFY(GIO_CMAP) + XLAT(PIO_CMAP), + #define XLAT_VAL_42 ((unsigned) (PIO_CMAP)) + #define XLAT_STR_42 STRINGIFY(PIO_CMAP) + XLAT(KDFONTOP), + #define XLAT_VAL_43 ((unsigned) (KDFONTOP)) + #define XLAT_STR_43 STRINGIFY(KDFONTOP) + XLAT(KDGKBDIACRUC), + #define XLAT_VAL_44 ((unsigned) (KDGKBDIACRUC)) + #define XLAT_STR_44 STRINGIFY(KDGKBDIACRUC) + XLAT(KDSKBDIACRUC), + #define XLAT_VAL_45 ((unsigned) (KDSKBDIACRUC)) + #define XLAT_STR_45 STRINGIFY(KDSKBDIACRUC) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat kd_ioctl_cmds1 = { { + .data = kd_ioctl_cmds_xdata, + .size = ARRAY_SIZE(kd_ioctl_cmds_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif +# ifdef XLAT_VAL_26 + | XLAT_VAL_26 +# endif +# ifdef XLAT_VAL_27 + | XLAT_VAL_27 +# endif +# ifdef XLAT_VAL_28 + | XLAT_VAL_28 +# endif +# ifdef XLAT_VAL_29 + | XLAT_VAL_29 +# endif +# ifdef XLAT_VAL_30 + | XLAT_VAL_30 +# endif +# ifdef XLAT_VAL_31 + | XLAT_VAL_31 +# endif +# ifdef XLAT_VAL_32 + | XLAT_VAL_32 +# endif +# ifdef XLAT_VAL_33 + | XLAT_VAL_33 +# endif +# ifdef XLAT_VAL_34 + | XLAT_VAL_34 +# endif +# ifdef XLAT_VAL_35 + | XLAT_VAL_35 +# endif +# ifdef XLAT_VAL_36 + | XLAT_VAL_36 +# endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif +# ifdef XLAT_VAL_38 + | XLAT_VAL_38 +# endif +# ifdef XLAT_VAL_39 + | XLAT_VAL_39 +# endif +# ifdef XLAT_VAL_40 + | XLAT_VAL_40 +# endif +# ifdef XLAT_VAL_41 + | XLAT_VAL_41 +# endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif +# ifdef XLAT_VAL_43 + | XLAT_VAL_43 +# endif +# ifdef XLAT_VAL_44 + | XLAT_VAL_44 +# endif +# ifdef XLAT_VAL_45 + | XLAT_VAL_45 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif +# ifdef XLAT_STR_26 + + sizeof(XLAT_STR_26) +# endif +# ifdef XLAT_STR_27 + + sizeof(XLAT_STR_27) +# endif +# ifdef XLAT_STR_28 + + sizeof(XLAT_STR_28) +# endif +# ifdef XLAT_STR_29 + + sizeof(XLAT_STR_29) +# endif +# ifdef XLAT_STR_30 + + sizeof(XLAT_STR_30) +# endif +# ifdef XLAT_STR_31 + + sizeof(XLAT_STR_31) +# endif +# ifdef XLAT_STR_32 + + sizeof(XLAT_STR_32) +# endif +# ifdef XLAT_STR_33 + + sizeof(XLAT_STR_33) +# endif +# ifdef XLAT_STR_34 + + sizeof(XLAT_STR_34) +# endif +# ifdef XLAT_STR_35 + + sizeof(XLAT_STR_35) +# endif +# ifdef XLAT_STR_36 + + sizeof(XLAT_STR_36) +# endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif +# ifdef XLAT_STR_38 + + sizeof(XLAT_STR_38) +# endif +# ifdef XLAT_STR_39 + + sizeof(XLAT_STR_39) +# endif +# ifdef XLAT_STR_40 + + sizeof(XLAT_STR_40) +# endif +# ifdef XLAT_STR_41 + + sizeof(XLAT_STR_41) +# endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif +# ifdef XLAT_STR_43 + + sizeof(XLAT_STR_43) +# endif +# ifdef XLAT_STR_44 + + sizeof(XLAT_STR_44) +# endif +# ifdef XLAT_STR_45 + + sizeof(XLAT_STR_45) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# undef XLAT_STR_26 +# undef XLAT_VAL_26 +# undef XLAT_STR_27 +# undef XLAT_VAL_27 +# undef XLAT_STR_28 +# undef XLAT_VAL_28 +# undef XLAT_STR_29 +# undef XLAT_VAL_29 +# undef XLAT_STR_30 +# undef XLAT_VAL_30 +# undef XLAT_STR_31 +# undef XLAT_VAL_31 +# undef XLAT_STR_32 +# undef XLAT_VAL_32 +# undef XLAT_STR_33 +# undef XLAT_VAL_33 +# undef XLAT_STR_34 +# undef XLAT_VAL_34 +# undef XLAT_STR_35 +# undef XLAT_VAL_35 +# undef XLAT_STR_36 +# undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 +# undef XLAT_STR_38 +# undef XLAT_VAL_38 +# undef XLAT_STR_39 +# undef XLAT_VAL_39 +# undef XLAT_STR_40 +# undef XLAT_VAL_40 +# undef XLAT_STR_41 +# undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 +# undef XLAT_STR_43 +# undef XLAT_VAL_43 +# undef XLAT_STR_44 +# undef XLAT_VAL_44 +# undef XLAT_STR_45 +# undef XLAT_VAL_45 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_ioctl_cmds.in
Added
@@ -0,0 +1,48 @@ +#sorted +/* include/uapi/linux/kd.h */ +KIOCSOUND 0x4B2F +KDMKTONE 0x4B30 +KDGETLED 0x4B31 +KDSETLED 0x4B32 +KDGKBTYPE 0x4B33 +KDADDIO 0x4B34 +KDDELIO 0x4B35 +KDENABIO 0x4B36 +KDDISABIO 0x4B37 +KDSETMODE 0x4B3A +KDGETMODE 0x4B3B +KDMAPDISP 0x4B3C +KDUNMAPDISP 0x4B3D +GIO_SCRNMAP 0x4B40 +PIO_SCRNMAP 0x4B41 +KDGKBMODE 0x4B44 +KDSKBMODE 0x4B45 +KDGKBENT 0x4B46 +KDSKBENT 0x4B47 +KDGKBSENT 0x4B48 +KDSKBSENT 0x4B49 +KDGKBDIACR 0x4B4A +KDSKBDIACR 0x4B4B +KDGETKEYCODE 0x4B4C +KDSETKEYCODE 0x4B4D +KDSIGACCEPT 0x4B4E +KDKBDREP 0x4B52 +GIO_FONT 0x4B60 +PIO_FONT 0x4B61 +KDGKBMETA 0x4B62 +KDSKBMETA 0x4B63 +KDGKBLED 0x4B64 +KDSKBLED 0x4B65 +GIO_UNIMAP 0x4B66 +PIO_UNIMAP 0x4B67 +PIO_UNIMAPCLR 0x4B68 +GIO_UNISCRNMAP 0x4B69 +PIO_UNISCRNMAP 0x4B6A +GIO_FONTX 0x4B6B +PIO_FONTX 0x4B6C +PIO_FONTRESET 0x4B6D +GIO_CMAP 0x4B70 +PIO_CMAP 0x4B71 +KDFONTOP 0x4B72 +KDGKBDIACRUC 0x4BFA +KDSKBDIACRUC 0x4BFB
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_kbd_modes.h
Added
@@ -0,0 +1,123 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_kbd_modes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_RAW) || (defined(HAVE_DECL_K_RAW) && HAVE_DECL_K_RAW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_RAW) == (0), "K_RAW != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_RAW 0 +#endif +#if defined(K_XLATE) || (defined(HAVE_DECL_K_XLATE) && HAVE_DECL_K_XLATE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_XLATE) == (1), "K_XLATE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_XLATE 1 +#endif +#if defined(K_MEDIUMRAW) || (defined(HAVE_DECL_K_MEDIUMRAW) && HAVE_DECL_K_MEDIUMRAW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_MEDIUMRAW) == (2), "K_MEDIUMRAW != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_MEDIUMRAW 2 +#endif +#if defined(K_UNICODE) || (defined(HAVE_DECL_K_UNICODE) && HAVE_DECL_K_UNICODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_UNICODE) == (3), "K_UNICODE != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_UNICODE 3 +#endif +#if defined(K_OFF) || (defined(HAVE_DECL_K_OFF) && HAVE_DECL_K_OFF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_OFF) == (4), "K_OFF != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_OFF 4 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_kbd_modes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_kbd_modes_xdata = { + K_RAW = XLAT(K_RAW), + #define XLAT_VAL_0 ((unsigned) (K_RAW)) + #define XLAT_STR_0 STRINGIFY(K_RAW) + K_XLATE = XLAT(K_XLATE), + #define XLAT_VAL_1 ((unsigned) (K_XLATE)) + #define XLAT_STR_1 STRINGIFY(K_XLATE) + K_MEDIUMRAW = XLAT(K_MEDIUMRAW), + #define XLAT_VAL_2 ((unsigned) (K_MEDIUMRAW)) + #define XLAT_STR_2 STRINGIFY(K_MEDIUMRAW) + K_UNICODE = XLAT(K_UNICODE), + #define XLAT_VAL_3 ((unsigned) (K_UNICODE)) + #define XLAT_STR_3 STRINGIFY(K_UNICODE) + K_OFF = XLAT(K_OFF), + #define XLAT_VAL_4 ((unsigned) (K_OFF)) + #define XLAT_STR_4 STRINGIFY(K_OFF) +}; +static +const struct xlat kd_kbd_modes1 = { { + .data = kd_kbd_modes_xdata, + .size = ARRAY_SIZE(kd_kbd_modes_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_kbd_modes.in
Added
@@ -0,0 +1,6 @@ +#value_indexed +K_RAW 0 +K_XLATE 1 +K_MEDIUMRAW 2 +K_UNICODE 3 +K_OFF 4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_kbd_types.h
Added
@@ -0,0 +1,87 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_kbd_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KB_84) || (defined(HAVE_DECL_KB_84) && HAVE_DECL_KB_84) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KB_84) == (0x1), "KB_84 != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KB_84 0x1 +#endif +#if defined(KB_101) || (defined(HAVE_DECL_KB_101) && HAVE_DECL_KB_101) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KB_101) == (0x2), "KB_101 != 0x2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KB_101 0x2 +#endif +#if defined(KB_OTHER) || (defined(HAVE_DECL_KB_OTHER) && HAVE_DECL_KB_OTHER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KB_OTHER) == (0x3), "KB_OTHER != 0x3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KB_OTHER 0x3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_kbd_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_kbd_types_xdata = { + XLAT(KB_84), + #define XLAT_VAL_0 ((unsigned) (KB_84)) + #define XLAT_STR_0 STRINGIFY(KB_84) + XLAT(KB_101), + #define XLAT_VAL_1 ((unsigned) (KB_101)) + #define XLAT_STR_1 STRINGIFY(KB_101) + XLAT(KB_OTHER), + #define XLAT_VAL_2 ((unsigned) (KB_OTHER)) + #define XLAT_STR_2 STRINGIFY(KB_OTHER) +}; +static +const struct xlat kd_kbd_types1 = { { + .data = kd_kbd_types_xdata, + .size = ARRAY_SIZE(kd_kbd_types_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_kbd_types.in
Added
@@ -0,0 +1,3 @@ +KB_84 0x1 +KB_101 0x2 +KB_OTHER 0x3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_ascii_keys.h
Added
@@ -0,0 +1,761 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_ascii_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_ASC0) || (defined(HAVE_DECL_K_ASC0) && HAVE_DECL_K_ASC0) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC0) == (K(KT_ASCII,0)), "K_ASC0 != K(KT_ASCII,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC0 K(KT_ASCII,0) +#endif +#if defined(K_ASC0) || (defined(HAVE_DECL_K_ASC0) && HAVE_DECL_K_ASC0) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC0) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC0" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC0) +#endif +#if defined(K_ASC1) || (defined(HAVE_DECL_K_ASC1) && HAVE_DECL_K_ASC1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC1) == (K(KT_ASCII,1)), "K_ASC1 != K(KT_ASCII,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC1 K(KT_ASCII,1) +#endif +#if defined(K_ASC1) || (defined(HAVE_DECL_K_ASC1) && HAVE_DECL_K_ASC1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC1) +#endif +#if defined(K_ASC2) || (defined(HAVE_DECL_K_ASC2) && HAVE_DECL_K_ASC2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC2) == (K(KT_ASCII,2)), "K_ASC2 != K(KT_ASCII,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC2 K(KT_ASCII,2) +#endif +#if defined(K_ASC2) || (defined(HAVE_DECL_K_ASC2) && HAVE_DECL_K_ASC2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC2) +#endif +#if defined(K_ASC3) || (defined(HAVE_DECL_K_ASC3) && HAVE_DECL_K_ASC3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC3) == (K(KT_ASCII,3)), "K_ASC3 != K(KT_ASCII,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC3 K(KT_ASCII,3) +#endif +#if defined(K_ASC3) || (defined(HAVE_DECL_K_ASC3) && HAVE_DECL_K_ASC3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC3) +#endif +#if defined(K_ASC4) || (defined(HAVE_DECL_K_ASC4) && HAVE_DECL_K_ASC4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC4) == (K(KT_ASCII,4)), "K_ASC4 != K(KT_ASCII,4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC4 K(KT_ASCII,4) +#endif +#if defined(K_ASC4) || (defined(HAVE_DECL_K_ASC4) && HAVE_DECL_K_ASC4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC4) +#endif +#if defined(K_ASC5) || (defined(HAVE_DECL_K_ASC5) && HAVE_DECL_K_ASC5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC5) == (K(KT_ASCII,5)), "K_ASC5 != K(KT_ASCII,5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC5 K(KT_ASCII,5) +#endif +#if defined(K_ASC5) || (defined(HAVE_DECL_K_ASC5) && HAVE_DECL_K_ASC5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC5) +#endif +#if defined(K_ASC6) || (defined(HAVE_DECL_K_ASC6) && HAVE_DECL_K_ASC6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC6) == (K(KT_ASCII,6)), "K_ASC6 != K(KT_ASCII,6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC6 K(KT_ASCII,6) +#endif +#if defined(K_ASC6) || (defined(HAVE_DECL_K_ASC6) && HAVE_DECL_K_ASC6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC6) +#endif +#if defined(K_ASC7) || (defined(HAVE_DECL_K_ASC7) && HAVE_DECL_K_ASC7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC7) == (K(KT_ASCII,7)), "K_ASC7 != K(KT_ASCII,7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC7 K(KT_ASCII,7) +#endif +#if defined(K_ASC7) || (defined(HAVE_DECL_K_ASC7) && HAVE_DECL_K_ASC7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC7) +#endif +#if defined(K_ASC8) || (defined(HAVE_DECL_K_ASC8) && HAVE_DECL_K_ASC8) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC8) == (K(KT_ASCII,8)), "K_ASC8 != K(KT_ASCII,8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC8 K(KT_ASCII,8) +#endif +#if defined(K_ASC8) || (defined(HAVE_DECL_K_ASC8) && HAVE_DECL_K_ASC8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC8) +#endif +#if defined(K_ASC9) || (defined(HAVE_DECL_K_ASC9) && HAVE_DECL_K_ASC9) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ASC9) == (K(KT_ASCII,9)), "K_ASC9 != K(KT_ASCII,9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ASC9 K(KT_ASCII,9) +#endif +#if defined(K_ASC9) || (defined(HAVE_DECL_K_ASC9) && HAVE_DECL_K_ASC9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ASC9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ASC9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ASC9) +#endif +#if defined(K_HEX0) || (defined(HAVE_DECL_K_HEX0) && HAVE_DECL_K_HEX0) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX0) == (K(KT_ASCII,10)), "K_HEX0 != K(KT_ASCII,10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX0 K(KT_ASCII,10) +#endif +#if defined(K_HEX0) || (defined(HAVE_DECL_K_HEX0) && HAVE_DECL_K_HEX0) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX0) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX0" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX0) +#endif +#if defined(K_HEX1) || (defined(HAVE_DECL_K_HEX1) && HAVE_DECL_K_HEX1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX1) == (K(KT_ASCII,11)), "K_HEX1 != K(KT_ASCII,11)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX1 K(KT_ASCII,11) +#endif +#if defined(K_HEX1) || (defined(HAVE_DECL_K_HEX1) && HAVE_DECL_K_HEX1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX1) +#endif +#if defined(K_HEX2) || (defined(HAVE_DECL_K_HEX2) && HAVE_DECL_K_HEX2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX2) == (K(KT_ASCII,12)), "K_HEX2 != K(KT_ASCII,12)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX2 K(KT_ASCII,12) +#endif +#if defined(K_HEX2) || (defined(HAVE_DECL_K_HEX2) && HAVE_DECL_K_HEX2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX2) +#endif +#if defined(K_HEX3) || (defined(HAVE_DECL_K_HEX3) && HAVE_DECL_K_HEX3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX3) == (K(KT_ASCII,13)), "K_HEX3 != K(KT_ASCII,13)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX3 K(KT_ASCII,13) +#endif +#if defined(K_HEX3) || (defined(HAVE_DECL_K_HEX3) && HAVE_DECL_K_HEX3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX3) +#endif +#if defined(K_HEX4) || (defined(HAVE_DECL_K_HEX4) && HAVE_DECL_K_HEX4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX4) == (K(KT_ASCII,14)), "K_HEX4 != K(KT_ASCII,14)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX4 K(KT_ASCII,14) +#endif +#if defined(K_HEX4) || (defined(HAVE_DECL_K_HEX4) && HAVE_DECL_K_HEX4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX4) +#endif +#if defined(K_HEX5) || (defined(HAVE_DECL_K_HEX5) && HAVE_DECL_K_HEX5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX5) == (K(KT_ASCII,15)), "K_HEX5 != K(KT_ASCII,15)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX5 K(KT_ASCII,15) +#endif +#if defined(K_HEX5) || (defined(HAVE_DECL_K_HEX5) && HAVE_DECL_K_HEX5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX5) +#endif +#if defined(K_HEX6) || (defined(HAVE_DECL_K_HEX6) && HAVE_DECL_K_HEX6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX6) == (K(KT_ASCII,16)), "K_HEX6 != K(KT_ASCII,16)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX6 K(KT_ASCII,16) +#endif +#if defined(K_HEX6) || (defined(HAVE_DECL_K_HEX6) && HAVE_DECL_K_HEX6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX6) +#endif +#if defined(K_HEX7) || (defined(HAVE_DECL_K_HEX7) && HAVE_DECL_K_HEX7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX7) == (K(KT_ASCII,17)), "K_HEX7 != K(KT_ASCII,17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX7 K(KT_ASCII,17) +#endif +#if defined(K_HEX7) || (defined(HAVE_DECL_K_HEX7) && HAVE_DECL_K_HEX7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX7) +#endif +#if defined(K_HEX8) || (defined(HAVE_DECL_K_HEX8) && HAVE_DECL_K_HEX8) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX8) == (K(KT_ASCII,18)), "K_HEX8 != K(KT_ASCII,18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX8 K(KT_ASCII,18) +#endif +#if defined(K_HEX8) || (defined(HAVE_DECL_K_HEX8) && HAVE_DECL_K_HEX8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX8) +#endif +#if defined(K_HEX9) || (defined(HAVE_DECL_K_HEX9) && HAVE_DECL_K_HEX9) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEX9) == (K(KT_ASCII,19)), "K_HEX9 != K(KT_ASCII,19)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEX9 K(KT_ASCII,19) +#endif +#if defined(K_HEX9) || (defined(HAVE_DECL_K_HEX9) && HAVE_DECL_K_HEX9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEX9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEX9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEX9) +#endif +#if defined(K_HEXa) || (defined(HAVE_DECL_K_HEXa) && HAVE_DECL_K_HEXa) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXa) == (K(KT_ASCII,20)), "K_HEXa != K(KT_ASCII,20)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXa K(KT_ASCII,20) +#endif +#if defined(K_HEXa) || (defined(HAVE_DECL_K_HEXa) && HAVE_DECL_K_HEXa) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXa) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXa" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXa) +#endif +#if defined(K_HEXb) || (defined(HAVE_DECL_K_HEXb) && HAVE_DECL_K_HEXb) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXb) == (K(KT_ASCII,21)), "K_HEXb != K(KT_ASCII,21)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXb K(KT_ASCII,21) +#endif +#if defined(K_HEXb) || (defined(HAVE_DECL_K_HEXb) && HAVE_DECL_K_HEXb) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXb) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXb" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXb) +#endif +#if defined(K_HEXc) || (defined(HAVE_DECL_K_HEXc) && HAVE_DECL_K_HEXc) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXc) == (K(KT_ASCII,22)), "K_HEXc != K(KT_ASCII,22)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXc K(KT_ASCII,22) +#endif +#if defined(K_HEXc) || (defined(HAVE_DECL_K_HEXc) && HAVE_DECL_K_HEXc) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXc) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXc" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXc) +#endif +#if defined(K_HEXd) || (defined(HAVE_DECL_K_HEXd) && HAVE_DECL_K_HEXd) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXd) == (K(KT_ASCII,23)), "K_HEXd != K(KT_ASCII,23)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXd K(KT_ASCII,23) +#endif +#if defined(K_HEXd) || (defined(HAVE_DECL_K_HEXd) && HAVE_DECL_K_HEXd) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXd) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXd" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXd) +#endif +#if defined(K_HEXe) || (defined(HAVE_DECL_K_HEXe) && HAVE_DECL_K_HEXe) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXe) == (K(KT_ASCII,24)), "K_HEXe != K(KT_ASCII,24)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXe K(KT_ASCII,24) +#endif +#if defined(K_HEXe) || (defined(HAVE_DECL_K_HEXe) && HAVE_DECL_K_HEXe) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXe) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXe" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXe) +#endif +#if defined(K_HEXf) || (defined(HAVE_DECL_K_HEXf) && HAVE_DECL_K_HEXf) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HEXf) == (K(KT_ASCII,25)), "K_HEXf != K(KT_ASCII,25)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HEXf K(KT_ASCII,25) +#endif +#if defined(K_HEXf) || (defined(HAVE_DECL_K_HEXf) && HAVE_DECL_K_HEXf) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HEXf) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HEXf" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HEXf) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_ascii_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_ascii_keys_xdata = { + XLAT(K_ASC0), + #define XLAT_VAL_0 ((unsigned) (K_ASC0)) + #define XLAT_STR_0 STRINGIFY(K_ASC0) + XLAT(K_ASC1), + #define XLAT_VAL_1 ((unsigned) (K_ASC1)) + #define XLAT_STR_1 STRINGIFY(K_ASC1) + XLAT(K_ASC2), + #define XLAT_VAL_2 ((unsigned) (K_ASC2)) + #define XLAT_STR_2 STRINGIFY(K_ASC2) + XLAT(K_ASC3), + #define XLAT_VAL_3 ((unsigned) (K_ASC3)) + #define XLAT_STR_3 STRINGIFY(K_ASC3) + XLAT(K_ASC4), + #define XLAT_VAL_4 ((unsigned) (K_ASC4)) + #define XLAT_STR_4 STRINGIFY(K_ASC4) + XLAT(K_ASC5), + #define XLAT_VAL_5 ((unsigned) (K_ASC5)) + #define XLAT_STR_5 STRINGIFY(K_ASC5) + XLAT(K_ASC6), + #define XLAT_VAL_6 ((unsigned) (K_ASC6)) + #define XLAT_STR_6 STRINGIFY(K_ASC6) + XLAT(K_ASC7), + #define XLAT_VAL_7 ((unsigned) (K_ASC7)) + #define XLAT_STR_7 STRINGIFY(K_ASC7) + XLAT(K_ASC8), + #define XLAT_VAL_8 ((unsigned) (K_ASC8)) + #define XLAT_STR_8 STRINGIFY(K_ASC8) + XLAT(K_ASC9), + #define XLAT_VAL_9 ((unsigned) (K_ASC9)) + #define XLAT_STR_9 STRINGIFY(K_ASC9) + XLAT(K_HEX0), + #define XLAT_VAL_10 ((unsigned) (K_HEX0)) + #define XLAT_STR_10 STRINGIFY(K_HEX0) + XLAT(K_HEX1), + #define XLAT_VAL_11 ((unsigned) (K_HEX1)) + #define XLAT_STR_11 STRINGIFY(K_HEX1) + XLAT(K_HEX2), + #define XLAT_VAL_12 ((unsigned) (K_HEX2)) + #define XLAT_STR_12 STRINGIFY(K_HEX2) + XLAT(K_HEX3), + #define XLAT_VAL_13 ((unsigned) (K_HEX3)) + #define XLAT_STR_13 STRINGIFY(K_HEX3) + XLAT(K_HEX4), + #define XLAT_VAL_14 ((unsigned) (K_HEX4)) + #define XLAT_STR_14 STRINGIFY(K_HEX4) + XLAT(K_HEX5), + #define XLAT_VAL_15 ((unsigned) (K_HEX5)) + #define XLAT_STR_15 STRINGIFY(K_HEX5) + XLAT(K_HEX6), + #define XLAT_VAL_16 ((unsigned) (K_HEX6)) + #define XLAT_STR_16 STRINGIFY(K_HEX6) + XLAT(K_HEX7), + #define XLAT_VAL_17 ((unsigned) (K_HEX7)) + #define XLAT_STR_17 STRINGIFY(K_HEX7) + XLAT(K_HEX8), + #define XLAT_VAL_18 ((unsigned) (K_HEX8)) + #define XLAT_STR_18 STRINGIFY(K_HEX8) + XLAT(K_HEX9), + #define XLAT_VAL_19 ((unsigned) (K_HEX9)) + #define XLAT_STR_19 STRINGIFY(K_HEX9) + XLAT(K_HEXa), + #define XLAT_VAL_20 ((unsigned) (K_HEXa)) + #define XLAT_STR_20 STRINGIFY(K_HEXa) + XLAT(K_HEXb), + #define XLAT_VAL_21 ((unsigned) (K_HEXb)) + #define XLAT_STR_21 STRINGIFY(K_HEXb) + XLAT(K_HEXc), + #define XLAT_VAL_22 ((unsigned) (K_HEXc)) + #define XLAT_STR_22 STRINGIFY(K_HEXc) + XLAT(K_HEXd), + #define XLAT_VAL_23 ((unsigned) (K_HEXd)) + #define XLAT_STR_23 STRINGIFY(K_HEXd) + XLAT(K_HEXe), + #define XLAT_VAL_24 ((unsigned) (K_HEXe)) + #define XLAT_STR_24 STRINGIFY(K_HEXe) + XLAT(K_HEXf), + #define XLAT_VAL_25 ((unsigned) (K_HEXf)) + #define XLAT_STR_25 STRINGIFY(K_HEXf) +}; +static +const struct xlat kd_key_ascii_keys1 = { { + .data = kd_key_ascii_keys_xdata, + .size = ARRAY_SIZE(kd_key_ascii_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_ascii_keys.in
Added
@@ -0,0 +1,27 @@ +#sorted +K_ASC0 K(KT_ASCII,0) +K_ASC1 K(KT_ASCII,1) +K_ASC2 K(KT_ASCII,2) +K_ASC3 K(KT_ASCII,3) +K_ASC4 K(KT_ASCII,4) +K_ASC5 K(KT_ASCII,5) +K_ASC6 K(KT_ASCII,6) +K_ASC7 K(KT_ASCII,7) +K_ASC8 K(KT_ASCII,8) +K_ASC9 K(KT_ASCII,9) +K_HEX0 K(KT_ASCII,10) +K_HEX1 K(KT_ASCII,11) +K_HEX2 K(KT_ASCII,12) +K_HEX3 K(KT_ASCII,13) +K_HEX4 K(KT_ASCII,14) +K_HEX5 K(KT_ASCII,15) +K_HEX6 K(KT_ASCII,16) +K_HEX7 K(KT_ASCII,17) +K_HEX8 K(KT_ASCII,18) +K_HEX9 K(KT_ASCII,19) +K_HEXa K(KT_ASCII,20) +K_HEXb K(KT_ASCII,21) +K_HEXc K(KT_ASCII,22) +K_HEXd K(KT_ASCII,23) +K_HEXe K(KT_ASCII,24) +K_HEXf K(KT_ASCII,25)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_brl_keys.h
Added
@@ -0,0 +1,341 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_brl_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_BRL_BLANK) || (defined(HAVE_DECL_K_BRL_BLANK) && HAVE_DECL_K_BRL_BLANK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_BLANK) == (K(KT_BRL, 0)), "K_BRL_BLANK != K(KT_BRL, 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_BLANK K(KT_BRL, 0) +#endif +#if defined(K_BRL_BLANK) || (defined(HAVE_DECL_K_BRL_BLANK) && HAVE_DECL_K_BRL_BLANK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_BLANK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_BLANK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_BLANK) +#endif +#if defined(K_BRL_DOT1) || (defined(HAVE_DECL_K_BRL_DOT1) && HAVE_DECL_K_BRL_DOT1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT1) == (K(KT_BRL, 1)), "K_BRL_DOT1 != K(KT_BRL, 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT1 K(KT_BRL, 1) +#endif +#if defined(K_BRL_DOT1) || (defined(HAVE_DECL_K_BRL_DOT1) && HAVE_DECL_K_BRL_DOT1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT1) +#endif +#if defined(K_BRL_DOT2) || (defined(HAVE_DECL_K_BRL_DOT2) && HAVE_DECL_K_BRL_DOT2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT2) == (K(KT_BRL, 2)), "K_BRL_DOT2 != K(KT_BRL, 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT2 K(KT_BRL, 2) +#endif +#if defined(K_BRL_DOT2) || (defined(HAVE_DECL_K_BRL_DOT2) && HAVE_DECL_K_BRL_DOT2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT2) +#endif +#if defined(K_BRL_DOT3) || (defined(HAVE_DECL_K_BRL_DOT3) && HAVE_DECL_K_BRL_DOT3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT3) == (K(KT_BRL, 3)), "K_BRL_DOT3 != K(KT_BRL, 3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT3 K(KT_BRL, 3) +#endif +#if defined(K_BRL_DOT3) || (defined(HAVE_DECL_K_BRL_DOT3) && HAVE_DECL_K_BRL_DOT3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT3) +#endif +#if defined(K_BRL_DOT4) || (defined(HAVE_DECL_K_BRL_DOT4) && HAVE_DECL_K_BRL_DOT4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT4) == (K(KT_BRL, 4)), "K_BRL_DOT4 != K(KT_BRL, 4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT4 K(KT_BRL, 4) +#endif +#if defined(K_BRL_DOT4) || (defined(HAVE_DECL_K_BRL_DOT4) && HAVE_DECL_K_BRL_DOT4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT4) +#endif +#if defined(K_BRL_DOT5) || (defined(HAVE_DECL_K_BRL_DOT5) && HAVE_DECL_K_BRL_DOT5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT5) == (K(KT_BRL, 5)), "K_BRL_DOT5 != K(KT_BRL, 5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT5 K(KT_BRL, 5) +#endif +#if defined(K_BRL_DOT5) || (defined(HAVE_DECL_K_BRL_DOT5) && HAVE_DECL_K_BRL_DOT5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT5) +#endif +#if defined(K_BRL_DOT6) || (defined(HAVE_DECL_K_BRL_DOT6) && HAVE_DECL_K_BRL_DOT6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT6) == (K(KT_BRL, 6)), "K_BRL_DOT6 != K(KT_BRL, 6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT6 K(KT_BRL, 6) +#endif +#if defined(K_BRL_DOT6) || (defined(HAVE_DECL_K_BRL_DOT6) && HAVE_DECL_K_BRL_DOT6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT6) +#endif +#if defined(K_BRL_DOT7) || (defined(HAVE_DECL_K_BRL_DOT7) && HAVE_DECL_K_BRL_DOT7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT7) == (K(KT_BRL, 7)), "K_BRL_DOT7 != K(KT_BRL, 7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT7 K(KT_BRL, 7) +#endif +#if defined(K_BRL_DOT7) || (defined(HAVE_DECL_K_BRL_DOT7) && HAVE_DECL_K_BRL_DOT7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT7) +#endif +#if defined(K_BRL_DOT8) || (defined(HAVE_DECL_K_BRL_DOT8) && HAVE_DECL_K_BRL_DOT8) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT8) == (K(KT_BRL, 8)), "K_BRL_DOT8 != K(KT_BRL, 8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT8 K(KT_BRL, 8) +#endif +#if defined(K_BRL_DOT8) || (defined(HAVE_DECL_K_BRL_DOT8) && HAVE_DECL_K_BRL_DOT8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT8) +#endif +#if defined(K_BRL_DOT9) || (defined(HAVE_DECL_K_BRL_DOT9) && HAVE_DECL_K_BRL_DOT9) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT9) == (K(KT_BRL, 9)), "K_BRL_DOT9 != K(KT_BRL, 9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT9 K(KT_BRL, 9) +#endif +#if defined(K_BRL_DOT9) || (defined(HAVE_DECL_K_BRL_DOT9) && HAVE_DECL_K_BRL_DOT9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT9) +#endif +#if defined(K_BRL_DOT10) || (defined(HAVE_DECL_K_BRL_DOT10) && HAVE_DECL_K_BRL_DOT10) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BRL_DOT10) == (K(KT_BRL, 10)), "K_BRL_DOT10 != K(KT_BRL, 10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BRL_DOT10 K(KT_BRL, 10) +#endif +#if defined(K_BRL_DOT10) || (defined(HAVE_DECL_K_BRL_DOT10) && HAVE_DECL_K_BRL_DOT10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BRL_DOT10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BRL_DOT10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BRL_DOT10) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_brl_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_brl_keys_xdata = { + XLAT(K_BRL_BLANK), + #define XLAT_VAL_0 ((unsigned) (K_BRL_BLANK)) + #define XLAT_STR_0 STRINGIFY(K_BRL_BLANK) + XLAT(K_BRL_DOT1), + #define XLAT_VAL_1 ((unsigned) (K_BRL_DOT1)) + #define XLAT_STR_1 STRINGIFY(K_BRL_DOT1) + XLAT(K_BRL_DOT2), + #define XLAT_VAL_2 ((unsigned) (K_BRL_DOT2)) + #define XLAT_STR_2 STRINGIFY(K_BRL_DOT2) + XLAT(K_BRL_DOT3), + #define XLAT_VAL_3 ((unsigned) (K_BRL_DOT3)) + #define XLAT_STR_3 STRINGIFY(K_BRL_DOT3) + XLAT(K_BRL_DOT4), + #define XLAT_VAL_4 ((unsigned) (K_BRL_DOT4)) + #define XLAT_STR_4 STRINGIFY(K_BRL_DOT4) + XLAT(K_BRL_DOT5), + #define XLAT_VAL_5 ((unsigned) (K_BRL_DOT5)) + #define XLAT_STR_5 STRINGIFY(K_BRL_DOT5) + XLAT(K_BRL_DOT6), + #define XLAT_VAL_6 ((unsigned) (K_BRL_DOT6)) + #define XLAT_STR_6 STRINGIFY(K_BRL_DOT6) + XLAT(K_BRL_DOT7), + #define XLAT_VAL_7 ((unsigned) (K_BRL_DOT7)) + #define XLAT_STR_7 STRINGIFY(K_BRL_DOT7) + XLAT(K_BRL_DOT8), + #define XLAT_VAL_8 ((unsigned) (K_BRL_DOT8)) + #define XLAT_STR_8 STRINGIFY(K_BRL_DOT8) + XLAT(K_BRL_DOT9), + #define XLAT_VAL_9 ((unsigned) (K_BRL_DOT9)) + #define XLAT_STR_9 STRINGIFY(K_BRL_DOT9) + XLAT(K_BRL_DOT10), + #define XLAT_VAL_10 ((unsigned) (K_BRL_DOT10)) + #define XLAT_STR_10 STRINGIFY(K_BRL_DOT10) +}; +static +const struct xlat kd_key_brl_keys1 = { { + .data = kd_key_brl_keys_xdata, + .size = ARRAY_SIZE(kd_key_brl_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_brl_keys.in
Added
@@ -0,0 +1,12 @@ +#sorted +K_BRL_BLANK K(KT_BRL, 0) +K_BRL_DOT1 K(KT_BRL, 1) +K_BRL_DOT2 K(KT_BRL, 2) +K_BRL_DOT3 K(KT_BRL, 3) +K_BRL_DOT4 K(KT_BRL, 4) +K_BRL_DOT5 K(KT_BRL, 5) +K_BRL_DOT6 K(KT_BRL, 6) +K_BRL_DOT7 K(KT_BRL, 7) +K_BRL_DOT8 K(KT_BRL, 8) +K_BRL_DOT9 K(KT_BRL, 9) +K_BRL_DOT10 K(KT_BRL, 10)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_cur_keys.h
Added
@@ -0,0 +1,145 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_cur_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_DOWN) || (defined(HAVE_DECL_K_DOWN) && HAVE_DECL_K_DOWN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DOWN) == (K(KT_CUR,0)), "K_DOWN != K(KT_CUR,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DOWN K(KT_CUR,0) +#endif +#if defined(K_DOWN) || (defined(HAVE_DECL_K_DOWN) && HAVE_DECL_K_DOWN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DOWN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DOWN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DOWN) +#endif +#if defined(K_LEFT) || (defined(HAVE_DECL_K_LEFT) && HAVE_DECL_K_LEFT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_LEFT) == (K(KT_CUR,1)), "K_LEFT != K(KT_CUR,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_LEFT K(KT_CUR,1) +#endif +#if defined(K_LEFT) || (defined(HAVE_DECL_K_LEFT) && HAVE_DECL_K_LEFT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_LEFT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_LEFT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_LEFT) +#endif +#if defined(K_RIGHT) || (defined(HAVE_DECL_K_RIGHT) && HAVE_DECL_K_RIGHT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_RIGHT) == (K(KT_CUR,2)), "K_RIGHT != K(KT_CUR,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_RIGHT K(KT_CUR,2) +#endif +#if defined(K_RIGHT) || (defined(HAVE_DECL_K_RIGHT) && HAVE_DECL_K_RIGHT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_RIGHT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_RIGHT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_RIGHT) +#endif +#if defined(K_UP) || (defined(HAVE_DECL_K_UP) && HAVE_DECL_K_UP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_UP) == (K(KT_CUR,3)), "K_UP != K(KT_CUR,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_UP K(KT_CUR,3) +#endif +#if defined(K_UP) || (defined(HAVE_DECL_K_UP) && HAVE_DECL_K_UP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_UP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_UP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_UP) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_cur_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_cur_keys_xdata = { + XLAT(K_DOWN), + #define XLAT_VAL_0 ((unsigned) (K_DOWN)) + #define XLAT_STR_0 STRINGIFY(K_DOWN) + XLAT(K_LEFT), + #define XLAT_VAL_1 ((unsigned) (K_LEFT)) + #define XLAT_STR_1 STRINGIFY(K_LEFT) + XLAT(K_RIGHT), + #define XLAT_VAL_2 ((unsigned) (K_RIGHT)) + #define XLAT_STR_2 STRINGIFY(K_RIGHT) + XLAT(K_UP), + #define XLAT_VAL_3 ((unsigned) (K_UP)) + #define XLAT_STR_3 STRINGIFY(K_UP) +}; +static +const struct xlat kd_key_cur_keys1 = { { + .data = kd_key_cur_keys_xdata, + .size = ARRAY_SIZE(kd_key_cur_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_cur_keys.in
Added
@@ -0,0 +1,5 @@ +#sorted +K_DOWN K(KT_CUR,0) +K_LEFT K(KT_CUR,1) +K_RIGHT K(KT_CUR,2) +K_UP K(KT_CUR,3)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_dead_keys.h
Added
@@ -0,0 +1,789 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_dead_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_DGRAVE) || (defined(HAVE_DECL_K_DGRAVE) && HAVE_DECL_K_DGRAVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DGRAVE) == (K(KT_DEAD,0)), "K_DGRAVE != K(KT_DEAD,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DGRAVE K(KT_DEAD,0) +#endif +#if defined(K_DGRAVE) || (defined(HAVE_DECL_K_DGRAVE) && HAVE_DECL_K_DGRAVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DGRAVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DGRAVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DGRAVE) +#endif +#if defined(K_DACUTE) || (defined(HAVE_DECL_K_DACUTE) && HAVE_DECL_K_DACUTE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DACUTE) == (K(KT_DEAD,1)), "K_DACUTE != K(KT_DEAD,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DACUTE K(KT_DEAD,1) +#endif +#if defined(K_DACUTE) || (defined(HAVE_DECL_K_DACUTE) && HAVE_DECL_K_DACUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DACUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DACUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DACUTE) +#endif +#if defined(K_DCIRCM) || (defined(HAVE_DECL_K_DCIRCM) && HAVE_DECL_K_DCIRCM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DCIRCM) == (K(KT_DEAD,2)), "K_DCIRCM != K(KT_DEAD,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DCIRCM K(KT_DEAD,2) +#endif +#if defined(K_DCIRCM) || (defined(HAVE_DECL_K_DCIRCM) && HAVE_DECL_K_DCIRCM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DCIRCM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DCIRCM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DCIRCM) +#endif +#if defined(K_DTILDE) || (defined(HAVE_DECL_K_DTILDE) && HAVE_DECL_K_DTILDE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DTILDE) == (K(KT_DEAD,3)), "K_DTILDE != K(KT_DEAD,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DTILDE K(KT_DEAD,3) +#endif +#if defined(K_DTILDE) || (defined(HAVE_DECL_K_DTILDE) && HAVE_DECL_K_DTILDE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DTILDE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DTILDE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DTILDE) +#endif +#if defined(K_DDIERE) || (defined(HAVE_DECL_K_DDIERE) && HAVE_DECL_K_DDIERE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DDIERE) == (K(KT_DEAD,4)), "K_DDIERE != K(KT_DEAD,4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DDIERE K(KT_DEAD,4) +#endif +#if defined(K_DDIERE) || (defined(HAVE_DECL_K_DDIERE) && HAVE_DECL_K_DDIERE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DDIERE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DDIERE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DDIERE) +#endif +#if defined(K_DCEDIL) || (defined(HAVE_DECL_K_DCEDIL) && HAVE_DECL_K_DCEDIL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DCEDIL) == (K(KT_DEAD,5)), "K_DCEDIL != K(KT_DEAD,5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DCEDIL K(KT_DEAD,5) +#endif +#if defined(K_DCEDIL) || (defined(HAVE_DECL_K_DCEDIL) && HAVE_DECL_K_DCEDIL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DCEDIL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DCEDIL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DCEDIL) +#endif +#if defined(K_DMACRON) || (defined(HAVE_DECL_K_DMACRON) && HAVE_DECL_K_DMACRON) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DMACRON) == (K(KT_DEAD,6)), "K_DMACRON != K(KT_DEAD,6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DMACRON K(KT_DEAD,6) +#endif +#if defined(K_DMACRON) || (defined(HAVE_DECL_K_DMACRON) && HAVE_DECL_K_DMACRON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DMACRON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DMACRON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DMACRON) +#endif +#if defined(K_DBREVE) || (defined(HAVE_DECL_K_DBREVE) && HAVE_DECL_K_DBREVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DBREVE) == (K(KT_DEAD,7)), "K_DBREVE != K(KT_DEAD,7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DBREVE K(KT_DEAD,7) +#endif +#if defined(K_DBREVE) || (defined(HAVE_DECL_K_DBREVE) && HAVE_DECL_K_DBREVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DBREVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DBREVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DBREVE) +#endif +#if defined(K_DABDOT) || (defined(HAVE_DECL_K_DABDOT) && HAVE_DECL_K_DABDOT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DABDOT) == (K(KT_DEAD,8)), "K_DABDOT != K(KT_DEAD,8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DABDOT K(KT_DEAD,8) +#endif +#if defined(K_DABDOT) || (defined(HAVE_DECL_K_DABDOT) && HAVE_DECL_K_DABDOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DABDOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DABDOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DABDOT) +#endif +#if defined(K_DABRING) || (defined(HAVE_DECL_K_DABRING) && HAVE_DECL_K_DABRING) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DABRING) == (K(KT_DEAD,9)), "K_DABRING != K(KT_DEAD,9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DABRING K(KT_DEAD,9) +#endif +#if defined(K_DABRING) || (defined(HAVE_DECL_K_DABRING) && HAVE_DECL_K_DABRING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DABRING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DABRING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DABRING) +#endif +#if defined(K_DDBACUTE) || (defined(HAVE_DECL_K_DDBACUTE) && HAVE_DECL_K_DDBACUTE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DDBACUTE) == (K(KT_DEAD,10)), "K_DDBACUTE != K(KT_DEAD,10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DDBACUTE K(KT_DEAD,10) +#endif +#if defined(K_DDBACUTE) || (defined(HAVE_DECL_K_DDBACUTE) && HAVE_DECL_K_DDBACUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DDBACUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DDBACUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DDBACUTE) +#endif +#if defined(K_DCARON) || (defined(HAVE_DECL_K_DCARON) && HAVE_DECL_K_DCARON) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DCARON) == (K(KT_DEAD,11)), "K_DCARON != K(KT_DEAD,11)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DCARON K(KT_DEAD,11) +#endif +#if defined(K_DCARON) || (defined(HAVE_DECL_K_DCARON) && HAVE_DECL_K_DCARON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DCARON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DCARON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DCARON) +#endif +#if defined(K_DOGONEK) || (defined(HAVE_DECL_K_DOGONEK) && HAVE_DECL_K_DOGONEK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DOGONEK) == (K(KT_DEAD,12)), "K_DOGONEK != K(KT_DEAD,12)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DOGONEK K(KT_DEAD,12) +#endif +#if defined(K_DOGONEK) || (defined(HAVE_DECL_K_DOGONEK) && HAVE_DECL_K_DOGONEK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DOGONEK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DOGONEK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DOGONEK) +#endif +#if defined(K_DIOTA) || (defined(HAVE_DECL_K_DIOTA) && HAVE_DECL_K_DIOTA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DIOTA) == (K(KT_DEAD,13)), "K_DIOTA != K(KT_DEAD,13)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DIOTA K(KT_DEAD,13) +#endif +#if defined(K_DIOTA) || (defined(HAVE_DECL_K_DIOTA) && HAVE_DECL_K_DIOTA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DIOTA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DIOTA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DIOTA) +#endif +#if defined(K_DVOICED) || (defined(HAVE_DECL_K_DVOICED) && HAVE_DECL_K_DVOICED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DVOICED) == (K(KT_DEAD,14)), "K_DVOICED != K(KT_DEAD,14)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DVOICED K(KT_DEAD,14) +#endif +#if defined(K_DVOICED) || (defined(HAVE_DECL_K_DVOICED) && HAVE_DECL_K_DVOICED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DVOICED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DVOICED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DVOICED) +#endif +#if defined(K_DSEMVOICED) || (defined(HAVE_DECL_K_DSEMVOICED) && HAVE_DECL_K_DSEMVOICED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DSEMVOICED) == (K(KT_DEAD,15)), "K_DSEMVOICED != K(KT_DEAD,15)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DSEMVOICED K(KT_DEAD,15) +#endif +#if defined(K_DSEMVOICED) || (defined(HAVE_DECL_K_DSEMVOICED) && HAVE_DECL_K_DSEMVOICED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DSEMVOICED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DSEMVOICED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DSEMVOICED) +#endif +#if defined(K_DBEDOT) || (defined(HAVE_DECL_K_DBEDOT) && HAVE_DECL_K_DBEDOT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DBEDOT) == (K(KT_DEAD,16)), "K_DBEDOT != K(KT_DEAD,16)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DBEDOT K(KT_DEAD,16) +#endif +#if defined(K_DBEDOT) || (defined(HAVE_DECL_K_DBEDOT) && HAVE_DECL_K_DBEDOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DBEDOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DBEDOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DBEDOT) +#endif +#if defined(K_DHOOK) || (defined(HAVE_DECL_K_DHOOK) && HAVE_DECL_K_DHOOK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DHOOK) == (K(KT_DEAD,17)), "K_DHOOK != K(KT_DEAD,17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DHOOK K(KT_DEAD,17) +#endif +#if defined(K_DHOOK) || (defined(HAVE_DECL_K_DHOOK) && HAVE_DECL_K_DHOOK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DHOOK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DHOOK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DHOOK) +#endif +#if defined(K_DHORN) || (defined(HAVE_DECL_K_DHORN) && HAVE_DECL_K_DHORN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DHORN) == (K(KT_DEAD,18)), "K_DHORN != K(KT_DEAD,18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DHORN K(KT_DEAD,18) +#endif +#if defined(K_DHORN) || (defined(HAVE_DECL_K_DHORN) && HAVE_DECL_K_DHORN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DHORN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DHORN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DHORN) +#endif +#if defined(K_DSTROKE) || (defined(HAVE_DECL_K_DSTROKE) && HAVE_DECL_K_DSTROKE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DSTROKE) == (K(KT_DEAD,19)), "K_DSTROKE != K(KT_DEAD,19)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DSTROKE K(KT_DEAD,19) +#endif +#if defined(K_DSTROKE) || (defined(HAVE_DECL_K_DSTROKE) && HAVE_DECL_K_DSTROKE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DSTROKE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DSTROKE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DSTROKE) +#endif +#if defined(K_DABCOMMA) || (defined(HAVE_DECL_K_DABCOMMA) && HAVE_DECL_K_DABCOMMA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DABCOMMA) == (K(KT_DEAD,20)), "K_DABCOMMA != K(KT_DEAD,20)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DABCOMMA K(KT_DEAD,20) +#endif +#if defined(K_DABCOMMA) || (defined(HAVE_DECL_K_DABCOMMA) && HAVE_DECL_K_DABCOMMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DABCOMMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DABCOMMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DABCOMMA) +#endif +#if defined(K_DABREVCOMMA) || (defined(HAVE_DECL_K_DABREVCOMMA) && HAVE_DECL_K_DABREVCOMMA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DABREVCOMMA) == (K(KT_DEAD,21)), "K_DABREVCOMMA != K(KT_DEAD,21)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DABREVCOMMA K(KT_DEAD,21) +#endif +#if defined(K_DABREVCOMMA) || (defined(HAVE_DECL_K_DABREVCOMMA) && HAVE_DECL_K_DABREVCOMMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DABREVCOMMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DABREVCOMMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DABREVCOMMA) +#endif +#if defined(K_DDBGRAVE) || (defined(HAVE_DECL_K_DDBGRAVE) && HAVE_DECL_K_DDBGRAVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DDBGRAVE) == (K(KT_DEAD,22)), "K_DDBGRAVE != K(KT_DEAD,22)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DDBGRAVE K(KT_DEAD,22) +#endif +#if defined(K_DDBGRAVE) || (defined(HAVE_DECL_K_DDBGRAVE) && HAVE_DECL_K_DDBGRAVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DDBGRAVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DDBGRAVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DDBGRAVE) +#endif +#if defined(K_DINVBREVE) || (defined(HAVE_DECL_K_DINVBREVE) && HAVE_DECL_K_DINVBREVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DINVBREVE) == (K(KT_DEAD,23)), "K_DINVBREVE != K(KT_DEAD,23)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DINVBREVE K(KT_DEAD,23) +#endif +#if defined(K_DINVBREVE) || (defined(HAVE_DECL_K_DINVBREVE) && HAVE_DECL_K_DINVBREVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DINVBREVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DINVBREVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DINVBREVE) +#endif +#if defined(K_DBECOMMA) || (defined(HAVE_DECL_K_DBECOMMA) && HAVE_DECL_K_DBECOMMA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DBECOMMA) == (K(KT_DEAD,24)), "K_DBECOMMA != K(KT_DEAD,24)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DBECOMMA K(KT_DEAD,24) +#endif +#if defined(K_DBECOMMA) || (defined(HAVE_DECL_K_DBECOMMA) && HAVE_DECL_K_DBECOMMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DBECOMMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DBECOMMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DBECOMMA) +#endif +#if defined(K_DCURRENCY) || (defined(HAVE_DECL_K_DCURRENCY) && HAVE_DECL_K_DCURRENCY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DCURRENCY) == (K(KT_DEAD,25)), "K_DCURRENCY != K(KT_DEAD,25)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DCURRENCY K(KT_DEAD,25) +#endif +#if defined(K_DCURRENCY) || (defined(HAVE_DECL_K_DCURRENCY) && HAVE_DECL_K_DCURRENCY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DCURRENCY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DCURRENCY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DCURRENCY) +#endif +#if defined(K_DGREEK) || (defined(HAVE_DECL_K_DGREEK) && HAVE_DECL_K_DGREEK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DGREEK) == (K(KT_DEAD,26)), "K_DGREEK != K(KT_DEAD,26)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DGREEK K(KT_DEAD,26) +#endif +#if defined(K_DGREEK) || (defined(HAVE_DECL_K_DGREEK) && HAVE_DECL_K_DGREEK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DGREEK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DGREEK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DGREEK) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_dead_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_dead_keys_xdata = { + XLAT(K_DGRAVE), + #define XLAT_VAL_0 ((unsigned) (K_DGRAVE)) + #define XLAT_STR_0 STRINGIFY(K_DGRAVE) + XLAT(K_DACUTE), + #define XLAT_VAL_1 ((unsigned) (K_DACUTE)) + #define XLAT_STR_1 STRINGIFY(K_DACUTE) + XLAT(K_DCIRCM), + #define XLAT_VAL_2 ((unsigned) (K_DCIRCM)) + #define XLAT_STR_2 STRINGIFY(K_DCIRCM) + XLAT(K_DTILDE), + #define XLAT_VAL_3 ((unsigned) (K_DTILDE)) + #define XLAT_STR_3 STRINGIFY(K_DTILDE) + XLAT(K_DDIERE), + #define XLAT_VAL_4 ((unsigned) (K_DDIERE)) + #define XLAT_STR_4 STRINGIFY(K_DDIERE) + XLAT(K_DCEDIL), + #define XLAT_VAL_5 ((unsigned) (K_DCEDIL)) + #define XLAT_STR_5 STRINGIFY(K_DCEDIL) + XLAT(K_DMACRON), + #define XLAT_VAL_6 ((unsigned) (K_DMACRON)) + #define XLAT_STR_6 STRINGIFY(K_DMACRON) + XLAT(K_DBREVE), + #define XLAT_VAL_7 ((unsigned) (K_DBREVE)) + #define XLAT_STR_7 STRINGIFY(K_DBREVE) + XLAT(K_DABDOT), + #define XLAT_VAL_8 ((unsigned) (K_DABDOT)) + #define XLAT_STR_8 STRINGIFY(K_DABDOT) + XLAT(K_DABRING), + #define XLAT_VAL_9 ((unsigned) (K_DABRING)) + #define XLAT_STR_9 STRINGIFY(K_DABRING) + XLAT(K_DDBACUTE), + #define XLAT_VAL_10 ((unsigned) (K_DDBACUTE)) + #define XLAT_STR_10 STRINGIFY(K_DDBACUTE) + XLAT(K_DCARON), + #define XLAT_VAL_11 ((unsigned) (K_DCARON)) + #define XLAT_STR_11 STRINGIFY(K_DCARON) + XLAT(K_DOGONEK), + #define XLAT_VAL_12 ((unsigned) (K_DOGONEK)) + #define XLAT_STR_12 STRINGIFY(K_DOGONEK) + XLAT(K_DIOTA), + #define XLAT_VAL_13 ((unsigned) (K_DIOTA)) + #define XLAT_STR_13 STRINGIFY(K_DIOTA) + XLAT(K_DVOICED), + #define XLAT_VAL_14 ((unsigned) (K_DVOICED)) + #define XLAT_STR_14 STRINGIFY(K_DVOICED) + XLAT(K_DSEMVOICED), + #define XLAT_VAL_15 ((unsigned) (K_DSEMVOICED)) + #define XLAT_STR_15 STRINGIFY(K_DSEMVOICED) + XLAT(K_DBEDOT), + #define XLAT_VAL_16 ((unsigned) (K_DBEDOT)) + #define XLAT_STR_16 STRINGIFY(K_DBEDOT) + XLAT(K_DHOOK), + #define XLAT_VAL_17 ((unsigned) (K_DHOOK)) + #define XLAT_STR_17 STRINGIFY(K_DHOOK) + XLAT(K_DHORN), + #define XLAT_VAL_18 ((unsigned) (K_DHORN)) + #define XLAT_STR_18 STRINGIFY(K_DHORN) + XLAT(K_DSTROKE), + #define XLAT_VAL_19 ((unsigned) (K_DSTROKE)) + #define XLAT_STR_19 STRINGIFY(K_DSTROKE) + XLAT(K_DABCOMMA), + #define XLAT_VAL_20 ((unsigned) (K_DABCOMMA)) + #define XLAT_STR_20 STRINGIFY(K_DABCOMMA) + XLAT(K_DABREVCOMMA), + #define XLAT_VAL_21 ((unsigned) (K_DABREVCOMMA)) + #define XLAT_STR_21 STRINGIFY(K_DABREVCOMMA) + XLAT(K_DDBGRAVE), + #define XLAT_VAL_22 ((unsigned) (K_DDBGRAVE)) + #define XLAT_STR_22 STRINGIFY(K_DDBGRAVE) + XLAT(K_DINVBREVE), + #define XLAT_VAL_23 ((unsigned) (K_DINVBREVE)) + #define XLAT_STR_23 STRINGIFY(K_DINVBREVE) + XLAT(K_DBECOMMA), + #define XLAT_VAL_24 ((unsigned) (K_DBECOMMA)) + #define XLAT_STR_24 STRINGIFY(K_DBECOMMA) + XLAT(K_DCURRENCY), + #define XLAT_VAL_25 ((unsigned) (K_DCURRENCY)) + #define XLAT_STR_25 STRINGIFY(K_DCURRENCY) + XLAT(K_DGREEK), + #define XLAT_VAL_26 ((unsigned) (K_DGREEK)) + #define XLAT_STR_26 STRINGIFY(K_DGREEK) +}; +static +const struct xlat kd_key_dead_keys1 = { { + .data = kd_key_dead_keys_xdata, + .size = ARRAY_SIZE(kd_key_dead_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif +# ifdef XLAT_VAL_26 + | XLAT_VAL_26 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif +# ifdef XLAT_STR_26 + + sizeof(XLAT_STR_26) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# undef XLAT_STR_26 +# undef XLAT_VAL_26 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_dead_keys.in
Added
@@ -0,0 +1,28 @@ +#sorted +K_DGRAVE K(KT_DEAD,0) +K_DACUTE K(KT_DEAD,1) +K_DCIRCM K(KT_DEAD,2) +K_DTILDE K(KT_DEAD,3) +K_DDIERE K(KT_DEAD,4) +K_DCEDIL K(KT_DEAD,5) +K_DMACRON K(KT_DEAD,6) +K_DBREVE K(KT_DEAD,7) +K_DABDOT K(KT_DEAD,8) +K_DABRING K(KT_DEAD,9) +K_DDBACUTE K(KT_DEAD,10) +K_DCARON K(KT_DEAD,11) +K_DOGONEK K(KT_DEAD,12) +K_DIOTA K(KT_DEAD,13) +K_DVOICED K(KT_DEAD,14) +K_DSEMVOICED K(KT_DEAD,15) +K_DBEDOT K(KT_DEAD,16) +K_DHOOK K(KT_DEAD,17) +K_DHORN K(KT_DEAD,18) +K_DSTROKE K(KT_DEAD,19) +K_DABCOMMA K(KT_DEAD,20) +K_DABREVCOMMA K(KT_DEAD,21) +K_DDBGRAVE K(KT_DEAD,22) +K_DINVBREVE K(KT_DEAD,23) +K_DBECOMMA K(KT_DEAD,24) +K_DCURRENCY K(KT_DEAD,25) +K_DGREEK K(KT_DEAD,26)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_fn_key_vals.h
Added
@@ -0,0 +1,2849 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_fn_key_vals.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_fn_key_vals in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_fn_key_vals_xdata = { + KVAL(K_F1) = XLAT(KVAL(K_F1)), + #define XLAT_VAL_0 ((unsigned) (KVAL(K_F1))) + #define XLAT_STR_0 STRINGIFY(KVAL(K_F1)) + KVAL(K_F2) = XLAT(KVAL(K_F2)), + #define XLAT_VAL_1 ((unsigned) (KVAL(K_F2))) + #define XLAT_STR_1 STRINGIFY(KVAL(K_F2)) + KVAL(K_F3) = XLAT(KVAL(K_F3)), + #define XLAT_VAL_2 ((unsigned) (KVAL(K_F3))) + #define XLAT_STR_2 STRINGIFY(KVAL(K_F3)) + KVAL(K_F4) = XLAT(KVAL(K_F4)), + #define XLAT_VAL_3 ((unsigned) (KVAL(K_F4))) + #define XLAT_STR_3 STRINGIFY(KVAL(K_F4)) + KVAL(K_F5) = XLAT(KVAL(K_F5)), + #define XLAT_VAL_4 ((unsigned) (KVAL(K_F5))) + #define XLAT_STR_4 STRINGIFY(KVAL(K_F5)) + KVAL(K_F6) = XLAT(KVAL(K_F6)), + #define XLAT_VAL_5 ((unsigned) (KVAL(K_F6))) + #define XLAT_STR_5 STRINGIFY(KVAL(K_F6)) + KVAL(K_F7) = XLAT(KVAL(K_F7)), + #define XLAT_VAL_6 ((unsigned) (KVAL(K_F7))) + #define XLAT_STR_6 STRINGIFY(KVAL(K_F7)) + KVAL(K_F8) = XLAT(KVAL(K_F8)), + #define XLAT_VAL_7 ((unsigned) (KVAL(K_F8))) + #define XLAT_STR_7 STRINGIFY(KVAL(K_F8)) + KVAL(K_F9) = XLAT(KVAL(K_F9)), + #define XLAT_VAL_8 ((unsigned) (KVAL(K_F9))) + #define XLAT_STR_8 STRINGIFY(KVAL(K_F9)) + KVAL(K_F10) = XLAT(KVAL(K_F10)), + #define XLAT_VAL_9 ((unsigned) (KVAL(K_F10))) + #define XLAT_STR_9 STRINGIFY(KVAL(K_F10)) + KVAL(K_F11) = XLAT(KVAL(K_F11)), + #define XLAT_VAL_10 ((unsigned) (KVAL(K_F11))) + #define XLAT_STR_10 STRINGIFY(KVAL(K_F11)) + KVAL(K_F12) = XLAT(KVAL(K_F12)), + #define XLAT_VAL_11 ((unsigned) (KVAL(K_F12))) + #define XLAT_STR_11 STRINGIFY(KVAL(K_F12)) + KVAL(K_F13) = XLAT(KVAL(K_F13)), + #define XLAT_VAL_12 ((unsigned) (KVAL(K_F13))) + #define XLAT_STR_12 STRINGIFY(KVAL(K_F13)) + KVAL(K_F14) = XLAT(KVAL(K_F14)), + #define XLAT_VAL_13 ((unsigned) (KVAL(K_F14))) + #define XLAT_STR_13 STRINGIFY(KVAL(K_F14)) + KVAL(K_F15) = XLAT(KVAL(K_F15)), + #define XLAT_VAL_14 ((unsigned) (KVAL(K_F15))) + #define XLAT_STR_14 STRINGIFY(KVAL(K_F15)) + KVAL(K_F16) = XLAT(KVAL(K_F16)), + #define XLAT_VAL_15 ((unsigned) (KVAL(K_F16))) + #define XLAT_STR_15 STRINGIFY(KVAL(K_F16)) + KVAL(K_F17) = XLAT(KVAL(K_F17)), + #define XLAT_VAL_16 ((unsigned) (KVAL(K_F17))) + #define XLAT_STR_16 STRINGIFY(KVAL(K_F17)) + KVAL(K_F18) = XLAT(KVAL(K_F18)), + #define XLAT_VAL_17 ((unsigned) (KVAL(K_F18))) + #define XLAT_STR_17 STRINGIFY(KVAL(K_F18)) + KVAL(K_F19) = XLAT(KVAL(K_F19)), + #define XLAT_VAL_18 ((unsigned) (KVAL(K_F19))) + #define XLAT_STR_18 STRINGIFY(KVAL(K_F19)) + KVAL(K_F20) = XLAT(KVAL(K_F20)), + #define XLAT_VAL_19 ((unsigned) (KVAL(K_F20))) + #define XLAT_STR_19 STRINGIFY(KVAL(K_F20)) + KVAL(K_FIND) = XLAT(KVAL(K_FIND)), + #define XLAT_VAL_20 ((unsigned) (KVAL(K_FIND))) + #define XLAT_STR_20 STRINGIFY(KVAL(K_FIND)) + KVAL(K_INSERT) = XLAT(KVAL(K_INSERT)), + #define XLAT_VAL_21 ((unsigned) (KVAL(K_INSERT))) + #define XLAT_STR_21 STRINGIFY(KVAL(K_INSERT)) + KVAL(K_REMOVE) = XLAT(KVAL(K_REMOVE)), + #define XLAT_VAL_22 ((unsigned) (KVAL(K_REMOVE))) + #define XLAT_STR_22 STRINGIFY(KVAL(K_REMOVE)) + KVAL(K_SELECT) = XLAT(KVAL(K_SELECT)), + #define XLAT_VAL_23 ((unsigned) (KVAL(K_SELECT))) + #define XLAT_STR_23 STRINGIFY(KVAL(K_SELECT)) + KVAL(K_PGUP) = XLAT(KVAL(K_PGUP)), + #define XLAT_VAL_24 ((unsigned) (KVAL(K_PGUP))) + #define XLAT_STR_24 STRINGIFY(KVAL(K_PGUP)) + KVAL(K_PGDN) = XLAT(KVAL(K_PGDN)), + #define XLAT_VAL_25 ((unsigned) (KVAL(K_PGDN))) + #define XLAT_STR_25 STRINGIFY(KVAL(K_PGDN)) + KVAL(K_MACRO) = XLAT(KVAL(K_MACRO)), + #define XLAT_VAL_26 ((unsigned) (KVAL(K_MACRO))) + #define XLAT_STR_26 STRINGIFY(KVAL(K_MACRO)) + KVAL(K_HELP) = XLAT(KVAL(K_HELP)), + #define XLAT_VAL_27 ((unsigned) (KVAL(K_HELP))) + #define XLAT_STR_27 STRINGIFY(KVAL(K_HELP)) + KVAL(K_DO) = XLAT(KVAL(K_DO)), + #define XLAT_VAL_28 ((unsigned) (KVAL(K_DO))) + #define XLAT_STR_28 STRINGIFY(KVAL(K_DO)) + KVAL(K_PAUSE) = XLAT(KVAL(K_PAUSE)), + #define XLAT_VAL_29 ((unsigned) (KVAL(K_PAUSE))) + #define XLAT_STR_29 STRINGIFY(KVAL(K_PAUSE)) + KVAL(K_F21) = XLAT(KVAL(K_F21)), + #define XLAT_VAL_30 ((unsigned) (KVAL(K_F21))) + #define XLAT_STR_30 STRINGIFY(KVAL(K_F21)) + KVAL(K_F22) = XLAT(KVAL(K_F22)), + #define XLAT_VAL_31 ((unsigned) (KVAL(K_F22))) + #define XLAT_STR_31 STRINGIFY(KVAL(K_F22)) + KVAL(K_F23) = XLAT(KVAL(K_F23)), + #define XLAT_VAL_32 ((unsigned) (KVAL(K_F23))) + #define XLAT_STR_32 STRINGIFY(KVAL(K_F23)) + KVAL(K_F24) = XLAT(KVAL(K_F24)), + #define XLAT_VAL_33 ((unsigned) (KVAL(K_F24))) + #define XLAT_STR_33 STRINGIFY(KVAL(K_F24)) + KVAL(K_F25) = XLAT(KVAL(K_F25)), + #define XLAT_VAL_34 ((unsigned) (KVAL(K_F25))) + #define XLAT_STR_34 STRINGIFY(KVAL(K_F25)) + KVAL(K_F26) = XLAT(KVAL(K_F26)), + #define XLAT_VAL_35 ((unsigned) (KVAL(K_F26))) + #define XLAT_STR_35 STRINGIFY(KVAL(K_F26)) + KVAL(K_F27) = XLAT(KVAL(K_F27)), + #define XLAT_VAL_36 ((unsigned) (KVAL(K_F27))) + #define XLAT_STR_36 STRINGIFY(KVAL(K_F27)) + KVAL(K_F28) = XLAT(KVAL(K_F28)), + #define XLAT_VAL_37 ((unsigned) (KVAL(K_F28))) + #define XLAT_STR_37 STRINGIFY(KVAL(K_F28)) + KVAL(K_F29) = XLAT(KVAL(K_F29)), + #define XLAT_VAL_38 ((unsigned) (KVAL(K_F29))) + #define XLAT_STR_38 STRINGIFY(KVAL(K_F29)) + KVAL(K_F30) = XLAT(KVAL(K_F30)), + #define XLAT_VAL_39 ((unsigned) (KVAL(K_F30))) + #define XLAT_STR_39 STRINGIFY(KVAL(K_F30)) + KVAL(K_F31) = XLAT(KVAL(K_F31)), + #define XLAT_VAL_40 ((unsigned) (KVAL(K_F31))) + #define XLAT_STR_40 STRINGIFY(KVAL(K_F31)) + KVAL(K_F32) = XLAT(KVAL(K_F32)), + #define XLAT_VAL_41 ((unsigned) (KVAL(K_F32))) + #define XLAT_STR_41 STRINGIFY(KVAL(K_F32)) + KVAL(K_F33) = XLAT(KVAL(K_F33)), + #define XLAT_VAL_42 ((unsigned) (KVAL(K_F33))) + #define XLAT_STR_42 STRINGIFY(KVAL(K_F33)) + KVAL(K_F34) = XLAT(KVAL(K_F34)), + #define XLAT_VAL_43 ((unsigned) (KVAL(K_F34))) + #define XLAT_STR_43 STRINGIFY(KVAL(K_F34)) + KVAL(K_F35) = XLAT(KVAL(K_F35)), + #define XLAT_VAL_44 ((unsigned) (KVAL(K_F35))) + #define XLAT_STR_44 STRINGIFY(KVAL(K_F35)) + KVAL(K_F36) = XLAT(KVAL(K_F36)), + #define XLAT_VAL_45 ((unsigned) (KVAL(K_F36))) + #define XLAT_STR_45 STRINGIFY(KVAL(K_F36)) + KVAL(K_F37) = XLAT(KVAL(K_F37)), + #define XLAT_VAL_46 ((unsigned) (KVAL(K_F37))) + #define XLAT_STR_46 STRINGIFY(KVAL(K_F37)) + KVAL(K_F38) = XLAT(KVAL(K_F38)), + #define XLAT_VAL_47 ((unsigned) (KVAL(K_F38))) + #define XLAT_STR_47 STRINGIFY(KVAL(K_F38)) + KVAL(K_F39) = XLAT(KVAL(K_F39)), + #define XLAT_VAL_48 ((unsigned) (KVAL(K_F39))) + #define XLAT_STR_48 STRINGIFY(KVAL(K_F39)) + KVAL(K_F40) = XLAT(KVAL(K_F40)), + #define XLAT_VAL_49 ((unsigned) (KVAL(K_F40))) + #define XLAT_STR_49 STRINGIFY(KVAL(K_F40)) + KVAL(K_F41) = XLAT(KVAL(K_F41)), + #define XLAT_VAL_50 ((unsigned) (KVAL(K_F41))) + #define XLAT_STR_50 STRINGIFY(KVAL(K_F41)) + KVAL(K_F42) = XLAT(KVAL(K_F42)), + #define XLAT_VAL_51 ((unsigned) (KVAL(K_F42))) + #define XLAT_STR_51 STRINGIFY(KVAL(K_F42)) + KVAL(K_F43) = XLAT(KVAL(K_F43)), + #define XLAT_VAL_52 ((unsigned) (KVAL(K_F43))) + #define XLAT_STR_52 STRINGIFY(KVAL(K_F43)) + KVAL(K_F44) = XLAT(KVAL(K_F44)), + #define XLAT_VAL_53 ((unsigned) (KVAL(K_F44))) + #define XLAT_STR_53 STRINGIFY(KVAL(K_F44)) + KVAL(K_F45) = XLAT(KVAL(K_F45)), + #define XLAT_VAL_54 ((unsigned) (KVAL(K_F45))) + #define XLAT_STR_54 STRINGIFY(KVAL(K_F45)) + KVAL(K_F46) = XLAT(KVAL(K_F46)), + #define XLAT_VAL_55 ((unsigned) (KVAL(K_F46))) + #define XLAT_STR_55 STRINGIFY(KVAL(K_F46)) + KVAL(K_F47) = XLAT(KVAL(K_F47)), + #define XLAT_VAL_56 ((unsigned) (KVAL(K_F47))) + #define XLAT_STR_56 STRINGIFY(KVAL(K_F47)) + KVAL(K_F48) = XLAT(KVAL(K_F48)), + #define XLAT_VAL_57 ((unsigned) (KVAL(K_F48))) + #define XLAT_STR_57 STRINGIFY(KVAL(K_F48)) + KVAL(K_F49) = XLAT(KVAL(K_F49)), + #define XLAT_VAL_58 ((unsigned) (KVAL(K_F49))) + #define XLAT_STR_58 STRINGIFY(KVAL(K_F49)) + KVAL(K_F50) = XLAT(KVAL(K_F50)), + #define XLAT_VAL_59 ((unsigned) (KVAL(K_F50))) + #define XLAT_STR_59 STRINGIFY(KVAL(K_F50)) + KVAL(K_F51) = XLAT(KVAL(K_F51)), + #define XLAT_VAL_60 ((unsigned) (KVAL(K_F51))) + #define XLAT_STR_60 STRINGIFY(KVAL(K_F51)) + KVAL(K_F52) = XLAT(KVAL(K_F52)), + #define XLAT_VAL_61 ((unsigned) (KVAL(K_F52))) + #define XLAT_STR_61 STRINGIFY(KVAL(K_F52)) + KVAL(K_F53) = XLAT(KVAL(K_F53)), + #define XLAT_VAL_62 ((unsigned) (KVAL(K_F53))) + #define XLAT_STR_62 STRINGIFY(KVAL(K_F53)) + KVAL(K_F54) = XLAT(KVAL(K_F54)), + #define XLAT_VAL_63 ((unsigned) (KVAL(K_F54))) + #define XLAT_STR_63 STRINGIFY(KVAL(K_F54)) + KVAL(K_F55) = XLAT(KVAL(K_F55)), + #define XLAT_VAL_64 ((unsigned) (KVAL(K_F55))) + #define XLAT_STR_64 STRINGIFY(KVAL(K_F55)) + KVAL(K_F56) = XLAT(KVAL(K_F56)), + #define XLAT_VAL_65 ((unsigned) (KVAL(K_F56))) + #define XLAT_STR_65 STRINGIFY(KVAL(K_F56)) + KVAL(K_F57) = XLAT(KVAL(K_F57)), + #define XLAT_VAL_66 ((unsigned) (KVAL(K_F57))) + #define XLAT_STR_66 STRINGIFY(KVAL(K_F57)) + KVAL(K_F58) = XLAT(KVAL(K_F58)), + #define XLAT_VAL_67 ((unsigned) (KVAL(K_F58))) + #define XLAT_STR_67 STRINGIFY(KVAL(K_F58)) + KVAL(K_F59) = XLAT(KVAL(K_F59)), + #define XLAT_VAL_68 ((unsigned) (KVAL(K_F59))) + #define XLAT_STR_68 STRINGIFY(KVAL(K_F59)) + KVAL(K_F60) = XLAT(KVAL(K_F60)), + #define XLAT_VAL_69 ((unsigned) (KVAL(K_F60))) + #define XLAT_STR_69 STRINGIFY(KVAL(K_F60)) + KVAL(K_F61) = XLAT(KVAL(K_F61)), + #define XLAT_VAL_70 ((unsigned) (KVAL(K_F61))) + #define XLAT_STR_70 STRINGIFY(KVAL(K_F61)) + KVAL(K_F62) = XLAT(KVAL(K_F62)), + #define XLAT_VAL_71 ((unsigned) (KVAL(K_F62))) + #define XLAT_STR_71 STRINGIFY(KVAL(K_F62)) + KVAL(K_F63) = XLAT(KVAL(K_F63)), + #define XLAT_VAL_72 ((unsigned) (KVAL(K_F63))) + #define XLAT_STR_72 STRINGIFY(KVAL(K_F63)) + KVAL(K_F64) = XLAT(KVAL(K_F64)), + #define XLAT_VAL_73 ((unsigned) (KVAL(K_F64))) + #define XLAT_STR_73 STRINGIFY(KVAL(K_F64)) + KVAL(K_F65) = XLAT(KVAL(K_F65)), + #define XLAT_VAL_74 ((unsigned) (KVAL(K_F65))) + #define XLAT_STR_74 STRINGIFY(KVAL(K_F65)) + KVAL(K_F66) = XLAT(KVAL(K_F66)), + #define XLAT_VAL_75 ((unsigned) (KVAL(K_F66))) + #define XLAT_STR_75 STRINGIFY(KVAL(K_F66)) + KVAL(K_F67) = XLAT(KVAL(K_F67)), + #define XLAT_VAL_76 ((unsigned) (KVAL(K_F67))) + #define XLAT_STR_76 STRINGIFY(KVAL(K_F67)) + KVAL(K_F68) = XLAT(KVAL(K_F68)), + #define XLAT_VAL_77 ((unsigned) (KVAL(K_F68))) + #define XLAT_STR_77 STRINGIFY(KVAL(K_F68)) + KVAL(K_F69) = XLAT(KVAL(K_F69)), + #define XLAT_VAL_78 ((unsigned) (KVAL(K_F69))) + #define XLAT_STR_78 STRINGIFY(KVAL(K_F69)) + KVAL(K_F70) = XLAT(KVAL(K_F70)), + #define XLAT_VAL_79 ((unsigned) (KVAL(K_F70))) + #define XLAT_STR_79 STRINGIFY(KVAL(K_F70)) + KVAL(K_F71) = XLAT(KVAL(K_F71)), + #define XLAT_VAL_80 ((unsigned) (KVAL(K_F71))) + #define XLAT_STR_80 STRINGIFY(KVAL(K_F71)) + KVAL(K_F72) = XLAT(KVAL(K_F72)), + #define XLAT_VAL_81 ((unsigned) (KVAL(K_F72))) + #define XLAT_STR_81 STRINGIFY(KVAL(K_F72)) + KVAL(K_F73) = XLAT(KVAL(K_F73)), + #define XLAT_VAL_82 ((unsigned) (KVAL(K_F73))) + #define XLAT_STR_82 STRINGIFY(KVAL(K_F73)) + KVAL(K_F74) = XLAT(KVAL(K_F74)), + #define XLAT_VAL_83 ((unsigned) (KVAL(K_F74))) + #define XLAT_STR_83 STRINGIFY(KVAL(K_F74)) + KVAL(K_F75) = XLAT(KVAL(K_F75)), + #define XLAT_VAL_84 ((unsigned) (KVAL(K_F75))) + #define XLAT_STR_84 STRINGIFY(KVAL(K_F75)) + KVAL(K_F76) = XLAT(KVAL(K_F76)), + #define XLAT_VAL_85 ((unsigned) (KVAL(K_F76))) + #define XLAT_STR_85 STRINGIFY(KVAL(K_F76)) + KVAL(K_F77) = XLAT(KVAL(K_F77)), + #define XLAT_VAL_86 ((unsigned) (KVAL(K_F77))) + #define XLAT_STR_86 STRINGIFY(KVAL(K_F77)) + KVAL(K_F78) = XLAT(KVAL(K_F78)), + #define XLAT_VAL_87 ((unsigned) (KVAL(K_F78))) + #define XLAT_STR_87 STRINGIFY(KVAL(K_F78)) + KVAL(K_F79) = XLAT(KVAL(K_F79)), + #define XLAT_VAL_88 ((unsigned) (KVAL(K_F79))) + #define XLAT_STR_88 STRINGIFY(KVAL(K_F79)) + KVAL(K_F80) = XLAT(KVAL(K_F80)), + #define XLAT_VAL_89 ((unsigned) (KVAL(K_F80))) + #define XLAT_STR_89 STRINGIFY(KVAL(K_F80)) + KVAL(K_F81) = XLAT(KVAL(K_F81)), + #define XLAT_VAL_90 ((unsigned) (KVAL(K_F81))) + #define XLAT_STR_90 STRINGIFY(KVAL(K_F81)) + KVAL(K_F82) = XLAT(KVAL(K_F82)), + #define XLAT_VAL_91 ((unsigned) (KVAL(K_F82))) + #define XLAT_STR_91 STRINGIFY(KVAL(K_F82)) + KVAL(K_F83) = XLAT(KVAL(K_F83)), + #define XLAT_VAL_92 ((unsigned) (KVAL(K_F83))) + #define XLAT_STR_92 STRINGIFY(KVAL(K_F83)) + KVAL(K_F84) = XLAT(KVAL(K_F84)), + #define XLAT_VAL_93 ((unsigned) (KVAL(K_F84))) + #define XLAT_STR_93 STRINGIFY(KVAL(K_F84)) + KVAL(K_F85) = XLAT(KVAL(K_F85)), + #define XLAT_VAL_94 ((unsigned) (KVAL(K_F85))) + #define XLAT_STR_94 STRINGIFY(KVAL(K_F85)) + KVAL(K_F86) = XLAT(KVAL(K_F86)), + #define XLAT_VAL_95 ((unsigned) (KVAL(K_F86))) + #define XLAT_STR_95 STRINGIFY(KVAL(K_F86)) + KVAL(K_F87) = XLAT(KVAL(K_F87)), + #define XLAT_VAL_96 ((unsigned) (KVAL(K_F87))) + #define XLAT_STR_96 STRINGIFY(KVAL(K_F87)) + KVAL(K_F88) = XLAT(KVAL(K_F88)), + #define XLAT_VAL_97 ((unsigned) (KVAL(K_F88))) + #define XLAT_STR_97 STRINGIFY(KVAL(K_F88)) + KVAL(K_F89) = XLAT(KVAL(K_F89)), + #define XLAT_VAL_98 ((unsigned) (KVAL(K_F89))) + #define XLAT_STR_98 STRINGIFY(KVAL(K_F89)) + KVAL(K_F90) = XLAT(KVAL(K_F90)), + #define XLAT_VAL_99 ((unsigned) (KVAL(K_F90))) + #define XLAT_STR_99 STRINGIFY(KVAL(K_F90)) + KVAL(K_F91) = XLAT(KVAL(K_F91)), + #define XLAT_VAL_100 ((unsigned) (KVAL(K_F91))) + #define XLAT_STR_100 STRINGIFY(KVAL(K_F91)) + KVAL(K_F92) = XLAT(KVAL(K_F92)), + #define XLAT_VAL_101 ((unsigned) (KVAL(K_F92))) + #define XLAT_STR_101 STRINGIFY(KVAL(K_F92)) + KVAL(K_F93) = XLAT(KVAL(K_F93)), + #define XLAT_VAL_102 ((unsigned) (KVAL(K_F93))) + #define XLAT_STR_102 STRINGIFY(KVAL(K_F93)) + KVAL(K_F94) = XLAT(KVAL(K_F94)), + #define XLAT_VAL_103 ((unsigned) (KVAL(K_F94))) + #define XLAT_STR_103 STRINGIFY(KVAL(K_F94)) + KVAL(K_F95) = XLAT(KVAL(K_F95)), + #define XLAT_VAL_104 ((unsigned) (KVAL(K_F95))) + #define XLAT_STR_104 STRINGIFY(KVAL(K_F95)) + KVAL(K_F96) = XLAT(KVAL(K_F96)), + #define XLAT_VAL_105 ((unsigned) (KVAL(K_F96))) + #define XLAT_STR_105 STRINGIFY(KVAL(K_F96)) + KVAL(K_F97) = XLAT(KVAL(K_F97)), + #define XLAT_VAL_106 ((unsigned) (KVAL(K_F97))) + #define XLAT_STR_106 STRINGIFY(KVAL(K_F97)) + KVAL(K_F98) = XLAT(KVAL(K_F98)), + #define XLAT_VAL_107 ((unsigned) (KVAL(K_F98))) + #define XLAT_STR_107 STRINGIFY(KVAL(K_F98)) + KVAL(K_F99) = XLAT(KVAL(K_F99)), + #define XLAT_VAL_108 ((unsigned) (KVAL(K_F99))) + #define XLAT_STR_108 STRINGIFY(KVAL(K_F99)) + KVAL(K_F100) = XLAT(KVAL(K_F100)), + #define XLAT_VAL_109 ((unsigned) (KVAL(K_F100))) + #define XLAT_STR_109 STRINGIFY(KVAL(K_F100)) + KVAL(K_F101) = XLAT(KVAL(K_F101)), + #define XLAT_VAL_110 ((unsigned) (KVAL(K_F101))) + #define XLAT_STR_110 STRINGIFY(KVAL(K_F101)) + KVAL(K_F102) = XLAT(KVAL(K_F102)), + #define XLAT_VAL_111 ((unsigned) (KVAL(K_F102))) + #define XLAT_STR_111 STRINGIFY(KVAL(K_F102)) + KVAL(K_F103) = XLAT(KVAL(K_F103)), + #define XLAT_VAL_112 ((unsigned) (KVAL(K_F103))) + #define XLAT_STR_112 STRINGIFY(KVAL(K_F103)) + KVAL(K_F104) = XLAT(KVAL(K_F104)), + #define XLAT_VAL_113 ((unsigned) (KVAL(K_F104))) + #define XLAT_STR_113 STRINGIFY(KVAL(K_F104)) + KVAL(K_F105) = XLAT(KVAL(K_F105)), + #define XLAT_VAL_114 ((unsigned) (KVAL(K_F105))) + #define XLAT_STR_114 STRINGIFY(KVAL(K_F105)) + KVAL(K_F106) = XLAT(KVAL(K_F106)), + #define XLAT_VAL_115 ((unsigned) (KVAL(K_F106))) + #define XLAT_STR_115 STRINGIFY(KVAL(K_F106)) + KVAL(K_F107) = XLAT(KVAL(K_F107)), + #define XLAT_VAL_116 ((unsigned) (KVAL(K_F107))) + #define XLAT_STR_116 STRINGIFY(KVAL(K_F107)) + KVAL(K_F108) = XLAT(KVAL(K_F108)), + #define XLAT_VAL_117 ((unsigned) (KVAL(K_F108))) + #define XLAT_STR_117 STRINGIFY(KVAL(K_F108)) + KVAL(K_F109) = XLAT(KVAL(K_F109)), + #define XLAT_VAL_118 ((unsigned) (KVAL(K_F109))) + #define XLAT_STR_118 STRINGIFY(KVAL(K_F109)) + KVAL(K_F110) = XLAT(KVAL(K_F110)), + #define XLAT_VAL_119 ((unsigned) (KVAL(K_F110))) + #define XLAT_STR_119 STRINGIFY(KVAL(K_F110)) + KVAL(K_F111) = XLAT(KVAL(K_F111)), + #define XLAT_VAL_120 ((unsigned) (KVAL(K_F111))) + #define XLAT_STR_120 STRINGIFY(KVAL(K_F111)) + KVAL(K_F112) = XLAT(KVAL(K_F112)), + #define XLAT_VAL_121 ((unsigned) (KVAL(K_F112))) + #define XLAT_STR_121 STRINGIFY(KVAL(K_F112)) + KVAL(K_F113) = XLAT(KVAL(K_F113)), + #define XLAT_VAL_122 ((unsigned) (KVAL(K_F113))) + #define XLAT_STR_122 STRINGIFY(KVAL(K_F113)) + KVAL(K_F114) = XLAT(KVAL(K_F114)), + #define XLAT_VAL_123 ((unsigned) (KVAL(K_F114))) + #define XLAT_STR_123 STRINGIFY(KVAL(K_F114)) + KVAL(K_F115) = XLAT(KVAL(K_F115)), + #define XLAT_VAL_124 ((unsigned) (KVAL(K_F115))) + #define XLAT_STR_124 STRINGIFY(KVAL(K_F115)) + KVAL(K_F116) = XLAT(KVAL(K_F116)), + #define XLAT_VAL_125 ((unsigned) (KVAL(K_F116))) + #define XLAT_STR_125 STRINGIFY(KVAL(K_F116)) + KVAL(K_F117) = XLAT(KVAL(K_F117)), + #define XLAT_VAL_126 ((unsigned) (KVAL(K_F117))) + #define XLAT_STR_126 STRINGIFY(KVAL(K_F117)) + KVAL(K_F118) = XLAT(KVAL(K_F118)), + #define XLAT_VAL_127 ((unsigned) (KVAL(K_F118))) + #define XLAT_STR_127 STRINGIFY(KVAL(K_F118)) + KVAL(K_F119) = XLAT(KVAL(K_F119)), + #define XLAT_VAL_128 ((unsigned) (KVAL(K_F119))) + #define XLAT_STR_128 STRINGIFY(KVAL(K_F119)) + KVAL(K_F120) = XLAT(KVAL(K_F120)), + #define XLAT_VAL_129 ((unsigned) (KVAL(K_F120))) + #define XLAT_STR_129 STRINGIFY(KVAL(K_F120)) + KVAL(K_F121) = XLAT(KVAL(K_F121)), + #define XLAT_VAL_130 ((unsigned) (KVAL(K_F121))) + #define XLAT_STR_130 STRINGIFY(KVAL(K_F121)) + KVAL(K_F122) = XLAT(KVAL(K_F122)), + #define XLAT_VAL_131 ((unsigned) (KVAL(K_F122))) + #define XLAT_STR_131 STRINGIFY(KVAL(K_F122)) + KVAL(K_F123) = XLAT(KVAL(K_F123)), + #define XLAT_VAL_132 ((unsigned) (KVAL(K_F123))) + #define XLAT_STR_132 STRINGIFY(KVAL(K_F123)) + KVAL(K_F124) = XLAT(KVAL(K_F124)), + #define XLAT_VAL_133 ((unsigned) (KVAL(K_F124))) + #define XLAT_STR_133 STRINGIFY(KVAL(K_F124)) + KVAL(K_F125) = XLAT(KVAL(K_F125)), + #define XLAT_VAL_134 ((unsigned) (KVAL(K_F125))) + #define XLAT_STR_134 STRINGIFY(KVAL(K_F125)) + KVAL(K_F126) = XLAT(KVAL(K_F126)), + #define XLAT_VAL_135 ((unsigned) (KVAL(K_F126))) + #define XLAT_STR_135 STRINGIFY(KVAL(K_F126)) + KVAL(K_F127) = XLAT(KVAL(K_F127)), + #define XLAT_VAL_136 ((unsigned) (KVAL(K_F127))) + #define XLAT_STR_136 STRINGIFY(KVAL(K_F127)) + KVAL(K_F128) = XLAT(KVAL(K_F128)), + #define XLAT_VAL_137 ((unsigned) (KVAL(K_F128))) + #define XLAT_STR_137 STRINGIFY(KVAL(K_F128)) + KVAL(K_F129) = XLAT(KVAL(K_F129)), + #define XLAT_VAL_138 ((unsigned) (KVAL(K_F129))) + #define XLAT_STR_138 STRINGIFY(KVAL(K_F129)) + KVAL(K_F130) = XLAT(KVAL(K_F130)), + #define XLAT_VAL_139 ((unsigned) (KVAL(K_F130))) + #define XLAT_STR_139 STRINGIFY(KVAL(K_F130)) + KVAL(K_F131) = XLAT(KVAL(K_F131)), + #define XLAT_VAL_140 ((unsigned) (KVAL(K_F131))) + #define XLAT_STR_140 STRINGIFY(KVAL(K_F131)) + KVAL(K_F132) = XLAT(KVAL(K_F132)), + #define XLAT_VAL_141 ((unsigned) (KVAL(K_F132))) + #define XLAT_STR_141 STRINGIFY(KVAL(K_F132)) + KVAL(K_F133) = XLAT(KVAL(K_F133)), + #define XLAT_VAL_142 ((unsigned) (KVAL(K_F133))) + #define XLAT_STR_142 STRINGIFY(KVAL(K_F133)) + KVAL(K_F134) = XLAT(KVAL(K_F134)), + #define XLAT_VAL_143 ((unsigned) (KVAL(K_F134))) + #define XLAT_STR_143 STRINGIFY(KVAL(K_F134)) + KVAL(K_F135) = XLAT(KVAL(K_F135)), + #define XLAT_VAL_144 ((unsigned) (KVAL(K_F135))) + #define XLAT_STR_144 STRINGIFY(KVAL(K_F135)) + KVAL(K_F136) = XLAT(KVAL(K_F136)), + #define XLAT_VAL_145 ((unsigned) (KVAL(K_F136))) + #define XLAT_STR_145 STRINGIFY(KVAL(K_F136)) + KVAL(K_F137) = XLAT(KVAL(K_F137)), + #define XLAT_VAL_146 ((unsigned) (KVAL(K_F137))) + #define XLAT_STR_146 STRINGIFY(KVAL(K_F137)) + KVAL(K_F138) = XLAT(KVAL(K_F138)), + #define XLAT_VAL_147 ((unsigned) (KVAL(K_F138))) + #define XLAT_STR_147 STRINGIFY(KVAL(K_F138)) + KVAL(K_F139) = XLAT(KVAL(K_F139)), + #define XLAT_VAL_148 ((unsigned) (KVAL(K_F139))) + #define XLAT_STR_148 STRINGIFY(KVAL(K_F139)) + KVAL(K_F140) = XLAT(KVAL(K_F140)), + #define XLAT_VAL_149 ((unsigned) (KVAL(K_F140))) + #define XLAT_STR_149 STRINGIFY(KVAL(K_F140)) + KVAL(K_F141) = XLAT(KVAL(K_F141)), + #define XLAT_VAL_150 ((unsigned) (KVAL(K_F141))) + #define XLAT_STR_150 STRINGIFY(KVAL(K_F141)) + KVAL(K_F142) = XLAT(KVAL(K_F142)), + #define XLAT_VAL_151 ((unsigned) (KVAL(K_F142))) + #define XLAT_STR_151 STRINGIFY(KVAL(K_F142)) + KVAL(K_F143) = XLAT(KVAL(K_F143)), + #define XLAT_VAL_152 ((unsigned) (KVAL(K_F143))) + #define XLAT_STR_152 STRINGIFY(KVAL(K_F143)) + KVAL(K_F144) = XLAT(KVAL(K_F144)), + #define XLAT_VAL_153 ((unsigned) (KVAL(K_F144))) + #define XLAT_STR_153 STRINGIFY(KVAL(K_F144)) + KVAL(K_F145) = XLAT(KVAL(K_F145)), + #define XLAT_VAL_154 ((unsigned) (KVAL(K_F145))) + #define XLAT_STR_154 STRINGIFY(KVAL(K_F145)) + KVAL(K_F146) = XLAT(KVAL(K_F146)), + #define XLAT_VAL_155 ((unsigned) (KVAL(K_F146))) + #define XLAT_STR_155 STRINGIFY(KVAL(K_F146)) + KVAL(K_F147) = XLAT(KVAL(K_F147)), + #define XLAT_VAL_156 ((unsigned) (KVAL(K_F147))) + #define XLAT_STR_156 STRINGIFY(KVAL(K_F147)) + KVAL(K_F148) = XLAT(KVAL(K_F148)), + #define XLAT_VAL_157 ((unsigned) (KVAL(K_F148))) + #define XLAT_STR_157 STRINGIFY(KVAL(K_F148)) + KVAL(K_F149) = XLAT(KVAL(K_F149)), + #define XLAT_VAL_158 ((unsigned) (KVAL(K_F149))) + #define XLAT_STR_158 STRINGIFY(KVAL(K_F149)) + KVAL(K_F150) = XLAT(KVAL(K_F150)), + #define XLAT_VAL_159 ((unsigned) (KVAL(K_F150))) + #define XLAT_STR_159 STRINGIFY(KVAL(K_F150)) + KVAL(K_F151) = XLAT(KVAL(K_F151)), + #define XLAT_VAL_160 ((unsigned) (KVAL(K_F151))) + #define XLAT_STR_160 STRINGIFY(KVAL(K_F151)) + KVAL(K_F152) = XLAT(KVAL(K_F152)), + #define XLAT_VAL_161 ((unsigned) (KVAL(K_F152))) + #define XLAT_STR_161 STRINGIFY(KVAL(K_F152)) + KVAL(K_F153) = XLAT(KVAL(K_F153)), + #define XLAT_VAL_162 ((unsigned) (KVAL(K_F153))) + #define XLAT_STR_162 STRINGIFY(KVAL(K_F153)) + KVAL(K_F154) = XLAT(KVAL(K_F154)), + #define XLAT_VAL_163 ((unsigned) (KVAL(K_F154))) + #define XLAT_STR_163 STRINGIFY(KVAL(K_F154)) + KVAL(K_F155) = XLAT(KVAL(K_F155)), + #define XLAT_VAL_164 ((unsigned) (KVAL(K_F155))) + #define XLAT_STR_164 STRINGIFY(KVAL(K_F155)) + KVAL(K_F156) = XLAT(KVAL(K_F156)), + #define XLAT_VAL_165 ((unsigned) (KVAL(K_F156))) + #define XLAT_STR_165 STRINGIFY(KVAL(K_F156)) + KVAL(K_F157) = XLAT(KVAL(K_F157)), + #define XLAT_VAL_166 ((unsigned) (KVAL(K_F157))) + #define XLAT_STR_166 STRINGIFY(KVAL(K_F157)) + KVAL(K_F158) = XLAT(KVAL(K_F158)), + #define XLAT_VAL_167 ((unsigned) (KVAL(K_F158))) + #define XLAT_STR_167 STRINGIFY(KVAL(K_F158)) + KVAL(K_F159) = XLAT(KVAL(K_F159)), + #define XLAT_VAL_168 ((unsigned) (KVAL(K_F159))) + #define XLAT_STR_168 STRINGIFY(KVAL(K_F159)) + KVAL(K_F160) = XLAT(KVAL(K_F160)), + #define XLAT_VAL_169 ((unsigned) (KVAL(K_F160))) + #define XLAT_STR_169 STRINGIFY(KVAL(K_F160)) + KVAL(K_F161) = XLAT(KVAL(K_F161)), + #define XLAT_VAL_170 ((unsigned) (KVAL(K_F161))) + #define XLAT_STR_170 STRINGIFY(KVAL(K_F161)) + KVAL(K_F162) = XLAT(KVAL(K_F162)), + #define XLAT_VAL_171 ((unsigned) (KVAL(K_F162))) + #define XLAT_STR_171 STRINGIFY(KVAL(K_F162)) + KVAL(K_F163) = XLAT(KVAL(K_F163)), + #define XLAT_VAL_172 ((unsigned) (KVAL(K_F163))) + #define XLAT_STR_172 STRINGIFY(KVAL(K_F163)) + KVAL(K_F164) = XLAT(KVAL(K_F164)), + #define XLAT_VAL_173 ((unsigned) (KVAL(K_F164))) + #define XLAT_STR_173 STRINGIFY(KVAL(K_F164)) + KVAL(K_F165) = XLAT(KVAL(K_F165)), + #define XLAT_VAL_174 ((unsigned) (KVAL(K_F165))) + #define XLAT_STR_174 STRINGIFY(KVAL(K_F165)) + KVAL(K_F166) = XLAT(KVAL(K_F166)), + #define XLAT_VAL_175 ((unsigned) (KVAL(K_F166))) + #define XLAT_STR_175 STRINGIFY(KVAL(K_F166)) + KVAL(K_F167) = XLAT(KVAL(K_F167)), + #define XLAT_VAL_176 ((unsigned) (KVAL(K_F167))) + #define XLAT_STR_176 STRINGIFY(KVAL(K_F167)) + KVAL(K_F168) = XLAT(KVAL(K_F168)), + #define XLAT_VAL_177 ((unsigned) (KVAL(K_F168))) + #define XLAT_STR_177 STRINGIFY(KVAL(K_F168)) + KVAL(K_F169) = XLAT(KVAL(K_F169)), + #define XLAT_VAL_178 ((unsigned) (KVAL(K_F169))) + #define XLAT_STR_178 STRINGIFY(KVAL(K_F169)) + KVAL(K_F170) = XLAT(KVAL(K_F170)), + #define XLAT_VAL_179 ((unsigned) (KVAL(K_F170))) + #define XLAT_STR_179 STRINGIFY(KVAL(K_F170)) + KVAL(K_F171) = XLAT(KVAL(K_F171)), + #define XLAT_VAL_180 ((unsigned) (KVAL(K_F171))) + #define XLAT_STR_180 STRINGIFY(KVAL(K_F171)) + KVAL(K_F172) = XLAT(KVAL(K_F172)), + #define XLAT_VAL_181 ((unsigned) (KVAL(K_F172))) + #define XLAT_STR_181 STRINGIFY(KVAL(K_F172)) + KVAL(K_F173) = XLAT(KVAL(K_F173)), + #define XLAT_VAL_182 ((unsigned) (KVAL(K_F173))) + #define XLAT_STR_182 STRINGIFY(KVAL(K_F173)) + KVAL(K_F174) = XLAT(KVAL(K_F174)), + #define XLAT_VAL_183 ((unsigned) (KVAL(K_F174))) + #define XLAT_STR_183 STRINGIFY(KVAL(K_F174)) + KVAL(K_F175) = XLAT(KVAL(K_F175)), + #define XLAT_VAL_184 ((unsigned) (KVAL(K_F175))) + #define XLAT_STR_184 STRINGIFY(KVAL(K_F175)) + KVAL(K_F176) = XLAT(KVAL(K_F176)), + #define XLAT_VAL_185 ((unsigned) (KVAL(K_F176))) + #define XLAT_STR_185 STRINGIFY(KVAL(K_F176)) + KVAL(K_F177) = XLAT(KVAL(K_F177)), + #define XLAT_VAL_186 ((unsigned) (KVAL(K_F177))) + #define XLAT_STR_186 STRINGIFY(KVAL(K_F177)) + KVAL(K_F178) = XLAT(KVAL(K_F178)), + #define XLAT_VAL_187 ((unsigned) (KVAL(K_F178))) + #define XLAT_STR_187 STRINGIFY(KVAL(K_F178)) + KVAL(K_F179) = XLAT(KVAL(K_F179)), + #define XLAT_VAL_188 ((unsigned) (KVAL(K_F179))) + #define XLAT_STR_188 STRINGIFY(KVAL(K_F179)) + KVAL(K_F180) = XLAT(KVAL(K_F180)), + #define XLAT_VAL_189 ((unsigned) (KVAL(K_F180))) + #define XLAT_STR_189 STRINGIFY(KVAL(K_F180)) + KVAL(K_F181) = XLAT(KVAL(K_F181)), + #define XLAT_VAL_190 ((unsigned) (KVAL(K_F181))) + #define XLAT_STR_190 STRINGIFY(KVAL(K_F181)) + KVAL(K_F182) = XLAT(KVAL(K_F182)), + #define XLAT_VAL_191 ((unsigned) (KVAL(K_F182))) + #define XLAT_STR_191 STRINGIFY(KVAL(K_F182)) + KVAL(K_F183) = XLAT(KVAL(K_F183)), + #define XLAT_VAL_192 ((unsigned) (KVAL(K_F183))) + #define XLAT_STR_192 STRINGIFY(KVAL(K_F183)) + KVAL(K_F184) = XLAT(KVAL(K_F184)), + #define XLAT_VAL_193 ((unsigned) (KVAL(K_F184))) + #define XLAT_STR_193 STRINGIFY(KVAL(K_F184)) + KVAL(K_F185) = XLAT(KVAL(K_F185)), + #define XLAT_VAL_194 ((unsigned) (KVAL(K_F185))) + #define XLAT_STR_194 STRINGIFY(KVAL(K_F185)) + KVAL(K_F186) = XLAT(KVAL(K_F186)), + #define XLAT_VAL_195 ((unsigned) (KVAL(K_F186))) + #define XLAT_STR_195 STRINGIFY(KVAL(K_F186)) + KVAL(K_F187) = XLAT(KVAL(K_F187)), + #define XLAT_VAL_196 ((unsigned) (KVAL(K_F187))) + #define XLAT_STR_196 STRINGIFY(KVAL(K_F187)) + KVAL(K_F188) = XLAT(KVAL(K_F188)), + #define XLAT_VAL_197 ((unsigned) (KVAL(K_F188))) + #define XLAT_STR_197 STRINGIFY(KVAL(K_F188)) + KVAL(K_F189) = XLAT(KVAL(K_F189)), + #define XLAT_VAL_198 ((unsigned) (KVAL(K_F189))) + #define XLAT_STR_198 STRINGIFY(KVAL(K_F189)) + KVAL(K_F190) = XLAT(KVAL(K_F190)), + #define XLAT_VAL_199 ((unsigned) (KVAL(K_F190))) + #define XLAT_STR_199 STRINGIFY(KVAL(K_F190)) + KVAL(K_F191) = XLAT(KVAL(K_F191)), + #define XLAT_VAL_200 ((unsigned) (KVAL(K_F191))) + #define XLAT_STR_200 STRINGIFY(KVAL(K_F191)) + KVAL(K_F192) = XLAT(KVAL(K_F192)), + #define XLAT_VAL_201 ((unsigned) (KVAL(K_F192))) + #define XLAT_STR_201 STRINGIFY(KVAL(K_F192)) + KVAL(K_F193) = XLAT(KVAL(K_F193)), + #define XLAT_VAL_202 ((unsigned) (KVAL(K_F193))) + #define XLAT_STR_202 STRINGIFY(KVAL(K_F193)) + KVAL(K_F194) = XLAT(KVAL(K_F194)), + #define XLAT_VAL_203 ((unsigned) (KVAL(K_F194))) + #define XLAT_STR_203 STRINGIFY(KVAL(K_F194)) + KVAL(K_F195) = XLAT(KVAL(K_F195)), + #define XLAT_VAL_204 ((unsigned) (KVAL(K_F195))) + #define XLAT_STR_204 STRINGIFY(KVAL(K_F195)) + KVAL(K_F196) = XLAT(KVAL(K_F196)), + #define XLAT_VAL_205 ((unsigned) (KVAL(K_F196))) + #define XLAT_STR_205 STRINGIFY(KVAL(K_F196)) + KVAL(K_F197) = XLAT(KVAL(K_F197)), + #define XLAT_VAL_206 ((unsigned) (KVAL(K_F197))) + #define XLAT_STR_206 STRINGIFY(KVAL(K_F197)) + KVAL(K_F198) = XLAT(KVAL(K_F198)), + #define XLAT_VAL_207 ((unsigned) (KVAL(K_F198))) + #define XLAT_STR_207 STRINGIFY(KVAL(K_F198)) + KVAL(K_F199) = XLAT(KVAL(K_F199)), + #define XLAT_VAL_208 ((unsigned) (KVAL(K_F199))) + #define XLAT_STR_208 STRINGIFY(KVAL(K_F199)) + KVAL(K_F200) = XLAT(KVAL(K_F200)), + #define XLAT_VAL_209 ((unsigned) (KVAL(K_F200))) + #define XLAT_STR_209 STRINGIFY(KVAL(K_F200)) + KVAL(K_F201) = XLAT(KVAL(K_F201)), + #define XLAT_VAL_210 ((unsigned) (KVAL(K_F201))) + #define XLAT_STR_210 STRINGIFY(KVAL(K_F201)) + KVAL(K_F202) = XLAT(KVAL(K_F202)), + #define XLAT_VAL_211 ((unsigned) (KVAL(K_F202))) + #define XLAT_STR_211 STRINGIFY(KVAL(K_F202)) + KVAL(K_F203) = XLAT(KVAL(K_F203)), + #define XLAT_VAL_212 ((unsigned) (KVAL(K_F203))) + #define XLAT_STR_212 STRINGIFY(KVAL(K_F203)) + KVAL(K_F204) = XLAT(KVAL(K_F204)), + #define XLAT_VAL_213 ((unsigned) (KVAL(K_F204))) + #define XLAT_STR_213 STRINGIFY(KVAL(K_F204)) + KVAL(K_F205) = XLAT(KVAL(K_F205)), + #define XLAT_VAL_214 ((unsigned) (KVAL(K_F205))) + #define XLAT_STR_214 STRINGIFY(KVAL(K_F205)) + KVAL(K_F206) = XLAT(KVAL(K_F206)), + #define XLAT_VAL_215 ((unsigned) (KVAL(K_F206))) + #define XLAT_STR_215 STRINGIFY(KVAL(K_F206)) + KVAL(K_F207) = XLAT(KVAL(K_F207)), + #define XLAT_VAL_216 ((unsigned) (KVAL(K_F207))) + #define XLAT_STR_216 STRINGIFY(KVAL(K_F207)) + KVAL(K_F208) = XLAT(KVAL(K_F208)), + #define XLAT_VAL_217 ((unsigned) (KVAL(K_F208))) + #define XLAT_STR_217 STRINGIFY(KVAL(K_F208)) + KVAL(K_F209) = XLAT(KVAL(K_F209)), + #define XLAT_VAL_218 ((unsigned) (KVAL(K_F209))) + #define XLAT_STR_218 STRINGIFY(KVAL(K_F209)) + KVAL(K_F210) = XLAT(KVAL(K_F210)), + #define XLAT_VAL_219 ((unsigned) (KVAL(K_F210))) + #define XLAT_STR_219 STRINGIFY(KVAL(K_F210)) + KVAL(K_F211) = XLAT(KVAL(K_F211)), + #define XLAT_VAL_220 ((unsigned) (KVAL(K_F211))) + #define XLAT_STR_220 STRINGIFY(KVAL(K_F211)) + KVAL(K_F212) = XLAT(KVAL(K_F212)), + #define XLAT_VAL_221 ((unsigned) (KVAL(K_F212))) + #define XLAT_STR_221 STRINGIFY(KVAL(K_F212)) + KVAL(K_F213) = XLAT(KVAL(K_F213)), + #define XLAT_VAL_222 ((unsigned) (KVAL(K_F213))) + #define XLAT_STR_222 STRINGIFY(KVAL(K_F213)) + KVAL(K_F214) = XLAT(KVAL(K_F214)), + #define XLAT_VAL_223 ((unsigned) (KVAL(K_F214))) + #define XLAT_STR_223 STRINGIFY(KVAL(K_F214)) + KVAL(K_F215) = XLAT(KVAL(K_F215)), + #define XLAT_VAL_224 ((unsigned) (KVAL(K_F215))) + #define XLAT_STR_224 STRINGIFY(KVAL(K_F215)) + KVAL(K_F216) = XLAT(KVAL(K_F216)), + #define XLAT_VAL_225 ((unsigned) (KVAL(K_F216))) + #define XLAT_STR_225 STRINGIFY(KVAL(K_F216)) + KVAL(K_F217) = XLAT(KVAL(K_F217)), + #define XLAT_VAL_226 ((unsigned) (KVAL(K_F217))) + #define XLAT_STR_226 STRINGIFY(KVAL(K_F217)) + KVAL(K_F218) = XLAT(KVAL(K_F218)), + #define XLAT_VAL_227 ((unsigned) (KVAL(K_F218))) + #define XLAT_STR_227 STRINGIFY(KVAL(K_F218)) + KVAL(K_F219) = XLAT(KVAL(K_F219)), + #define XLAT_VAL_228 ((unsigned) (KVAL(K_F219))) + #define XLAT_STR_228 STRINGIFY(KVAL(K_F219)) + KVAL(K_F220) = XLAT(KVAL(K_F220)), + #define XLAT_VAL_229 ((unsigned) (KVAL(K_F220))) + #define XLAT_STR_229 STRINGIFY(KVAL(K_F220)) + KVAL(K_F221) = XLAT(KVAL(K_F221)), + #define XLAT_VAL_230 ((unsigned) (KVAL(K_F221))) + #define XLAT_STR_230 STRINGIFY(KVAL(K_F221)) + KVAL(K_F222) = XLAT(KVAL(K_F222)), + #define XLAT_VAL_231 ((unsigned) (KVAL(K_F222))) + #define XLAT_STR_231 STRINGIFY(KVAL(K_F222)) + KVAL(K_F223) = XLAT(KVAL(K_F223)), + #define XLAT_VAL_232 ((unsigned) (KVAL(K_F223))) + #define XLAT_STR_232 STRINGIFY(KVAL(K_F223)) + KVAL(K_F224) = XLAT(KVAL(K_F224)), + #define XLAT_VAL_233 ((unsigned) (KVAL(K_F224))) + #define XLAT_STR_233 STRINGIFY(KVAL(K_F224)) + KVAL(K_F225) = XLAT(KVAL(K_F225)), + #define XLAT_VAL_234 ((unsigned) (KVAL(K_F225))) + #define XLAT_STR_234 STRINGIFY(KVAL(K_F225)) + KVAL(K_F226) = XLAT(KVAL(K_F226)), + #define XLAT_VAL_235 ((unsigned) (KVAL(K_F226))) + #define XLAT_STR_235 STRINGIFY(KVAL(K_F226)) + KVAL(K_F227) = XLAT(KVAL(K_F227)), + #define XLAT_VAL_236 ((unsigned) (KVAL(K_F227))) + #define XLAT_STR_236 STRINGIFY(KVAL(K_F227)) + KVAL(K_F228) = XLAT(KVAL(K_F228)), + #define XLAT_VAL_237 ((unsigned) (KVAL(K_F228))) + #define XLAT_STR_237 STRINGIFY(KVAL(K_F228)) + KVAL(K_F229) = XLAT(KVAL(K_F229)), + #define XLAT_VAL_238 ((unsigned) (KVAL(K_F229))) + #define XLAT_STR_238 STRINGIFY(KVAL(K_F229)) + KVAL(K_F230) = XLAT(KVAL(K_F230)), + #define XLAT_VAL_239 ((unsigned) (KVAL(K_F230))) + #define XLAT_STR_239 STRINGIFY(KVAL(K_F230)) + KVAL(K_F231) = XLAT(KVAL(K_F231)), + #define XLAT_VAL_240 ((unsigned) (KVAL(K_F231))) + #define XLAT_STR_240 STRINGIFY(KVAL(K_F231)) + KVAL(K_F232) = XLAT(KVAL(K_F232)), + #define XLAT_VAL_241 ((unsigned) (KVAL(K_F232))) + #define XLAT_STR_241 STRINGIFY(KVAL(K_F232)) + KVAL(K_F233) = XLAT(KVAL(K_F233)), + #define XLAT_VAL_242 ((unsigned) (KVAL(K_F233))) + #define XLAT_STR_242 STRINGIFY(KVAL(K_F233)) + KVAL(K_F234) = XLAT(KVAL(K_F234)), + #define XLAT_VAL_243 ((unsigned) (KVAL(K_F234))) + #define XLAT_STR_243 STRINGIFY(KVAL(K_F234)) + KVAL(K_F235) = XLAT(KVAL(K_F235)), + #define XLAT_VAL_244 ((unsigned) (KVAL(K_F235))) + #define XLAT_STR_244 STRINGIFY(KVAL(K_F235)) + KVAL(K_F236) = XLAT(KVAL(K_F236)), + #define XLAT_VAL_245 ((unsigned) (KVAL(K_F236))) + #define XLAT_STR_245 STRINGIFY(KVAL(K_F236)) + KVAL(K_F237) = XLAT(KVAL(K_F237)), + #define XLAT_VAL_246 ((unsigned) (KVAL(K_F237))) + #define XLAT_STR_246 STRINGIFY(KVAL(K_F237)) + KVAL(K_F238) = XLAT(KVAL(K_F238)), + #define XLAT_VAL_247 ((unsigned) (KVAL(K_F238))) + #define XLAT_STR_247 STRINGIFY(KVAL(K_F238)) + KVAL(K_F239) = XLAT(KVAL(K_F239)), + #define XLAT_VAL_248 ((unsigned) (KVAL(K_F239))) + #define XLAT_STR_248 STRINGIFY(KVAL(K_F239)) + KVAL(K_F240) = XLAT(KVAL(K_F240)), + #define XLAT_VAL_249 ((unsigned) (KVAL(K_F240))) + #define XLAT_STR_249 STRINGIFY(KVAL(K_F240)) + KVAL(K_F241) = XLAT(KVAL(K_F241)), + #define XLAT_VAL_250 ((unsigned) (KVAL(K_F241))) + #define XLAT_STR_250 STRINGIFY(KVAL(K_F241)) + KVAL(K_F242) = XLAT(KVAL(K_F242)), + #define XLAT_VAL_251 ((unsigned) (KVAL(K_F242))) + #define XLAT_STR_251 STRINGIFY(KVAL(K_F242)) + KVAL(K_F243) = XLAT(KVAL(K_F243)), + #define XLAT_VAL_252 ((unsigned) (KVAL(K_F243))) + #define XLAT_STR_252 STRINGIFY(KVAL(K_F243)) + KVAL(K_F244) = XLAT(KVAL(K_F244)), + #define XLAT_VAL_253 ((unsigned) (KVAL(K_F244))) + #define XLAT_STR_253 STRINGIFY(KVAL(K_F244)) + KVAL(K_F245) = XLAT(KVAL(K_F245)), + #define XLAT_VAL_254 ((unsigned) (KVAL(K_F245))) + #define XLAT_STR_254 STRINGIFY(KVAL(K_F245)) + KVAL(K_UNDO) = XLAT(KVAL(K_UNDO)), + #define XLAT_VAL_255 ((unsigned) (KVAL(K_UNDO))) + #define XLAT_STR_255 STRINGIFY(KVAL(K_UNDO)) +}; +static +const struct xlat kd_key_fn_key_vals1 = { { + .data = kd_key_fn_key_vals_xdata, + .size = ARRAY_SIZE(kd_key_fn_key_vals_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif +# ifdef XLAT_VAL_26 + | XLAT_VAL_26 +# endif +# ifdef XLAT_VAL_27 + | XLAT_VAL_27 +# endif +# ifdef XLAT_VAL_28 + | XLAT_VAL_28 +# endif +# ifdef XLAT_VAL_29 + | XLAT_VAL_29 +# endif +# ifdef XLAT_VAL_30 + | XLAT_VAL_30 +# endif +# ifdef XLAT_VAL_31 + | XLAT_VAL_31 +# endif +# ifdef XLAT_VAL_32 + | XLAT_VAL_32 +# endif +# ifdef XLAT_VAL_33 + | XLAT_VAL_33 +# endif +# ifdef XLAT_VAL_34 + | XLAT_VAL_34 +# endif +# ifdef XLAT_VAL_35 + | XLAT_VAL_35 +# endif +# ifdef XLAT_VAL_36 + | XLAT_VAL_36 +# endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif +# ifdef XLAT_VAL_38 + | XLAT_VAL_38 +# endif +# ifdef XLAT_VAL_39 + | XLAT_VAL_39 +# endif +# ifdef XLAT_VAL_40 + | XLAT_VAL_40 +# endif +# ifdef XLAT_VAL_41 + | XLAT_VAL_41 +# endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif +# ifdef XLAT_VAL_43 + | XLAT_VAL_43 +# endif +# ifdef XLAT_VAL_44 + | XLAT_VAL_44 +# endif +# ifdef XLAT_VAL_45 + | XLAT_VAL_45 +# endif +# ifdef XLAT_VAL_46 + | XLAT_VAL_46 +# endif +# ifdef XLAT_VAL_47 + | XLAT_VAL_47 +# endif +# ifdef XLAT_VAL_48 + | XLAT_VAL_48 +# endif +# ifdef XLAT_VAL_49 + | XLAT_VAL_49 +# endif +# ifdef XLAT_VAL_50 + | XLAT_VAL_50 +# endif +# ifdef XLAT_VAL_51 + | XLAT_VAL_51 +# endif +# ifdef XLAT_VAL_52 + | XLAT_VAL_52 +# endif +# ifdef XLAT_VAL_53 + | XLAT_VAL_53 +# endif +# ifdef XLAT_VAL_54 + | XLAT_VAL_54 +# endif +# ifdef XLAT_VAL_55 + | XLAT_VAL_55 +# endif +# ifdef XLAT_VAL_56 + | XLAT_VAL_56 +# endif +# ifdef XLAT_VAL_57 + | XLAT_VAL_57 +# endif +# ifdef XLAT_VAL_58 + | XLAT_VAL_58 +# endif +# ifdef XLAT_VAL_59 + | XLAT_VAL_59 +# endif +# ifdef XLAT_VAL_60 + | XLAT_VAL_60 +# endif +# ifdef XLAT_VAL_61 + | XLAT_VAL_61 +# endif +# ifdef XLAT_VAL_62 + | XLAT_VAL_62 +# endif +# ifdef XLAT_VAL_63 + | XLAT_VAL_63 +# endif +# ifdef XLAT_VAL_64 + | XLAT_VAL_64 +# endif +# ifdef XLAT_VAL_65 + | XLAT_VAL_65 +# endif +# ifdef XLAT_VAL_66 + | XLAT_VAL_66 +# endif +# ifdef XLAT_VAL_67 + | XLAT_VAL_67 +# endif +# ifdef XLAT_VAL_68 + | XLAT_VAL_68 +# endif +# ifdef XLAT_VAL_69 + | XLAT_VAL_69 +# endif +# ifdef XLAT_VAL_70 + | XLAT_VAL_70 +# endif +# ifdef XLAT_VAL_71 + | XLAT_VAL_71 +# endif +# ifdef XLAT_VAL_72 + | XLAT_VAL_72 +# endif +# ifdef XLAT_VAL_73 + | XLAT_VAL_73 +# endif +# ifdef XLAT_VAL_74 + | XLAT_VAL_74 +# endif +# ifdef XLAT_VAL_75 + | XLAT_VAL_75 +# endif +# ifdef XLAT_VAL_76 + | XLAT_VAL_76 +# endif +# ifdef XLAT_VAL_77 + | XLAT_VAL_77 +# endif +# ifdef XLAT_VAL_78 + | XLAT_VAL_78 +# endif +# ifdef XLAT_VAL_79 + | XLAT_VAL_79 +# endif +# ifdef XLAT_VAL_80 + | XLAT_VAL_80 +# endif +# ifdef XLAT_VAL_81 + | XLAT_VAL_81 +# endif +# ifdef XLAT_VAL_82 + | XLAT_VAL_82 +# endif +# ifdef XLAT_VAL_83 + | XLAT_VAL_83 +# endif +# ifdef XLAT_VAL_84 + | XLAT_VAL_84 +# endif +# ifdef XLAT_VAL_85 + | XLAT_VAL_85 +# endif +# ifdef XLAT_VAL_86 + | XLAT_VAL_86 +# endif +# ifdef XLAT_VAL_87 + | XLAT_VAL_87 +# endif +# ifdef XLAT_VAL_88 + | XLAT_VAL_88 +# endif +# ifdef XLAT_VAL_89 + | XLAT_VAL_89 +# endif +# ifdef XLAT_VAL_90 + | XLAT_VAL_90 +# endif +# ifdef XLAT_VAL_91 + | XLAT_VAL_91 +# endif +# ifdef XLAT_VAL_92 + | XLAT_VAL_92 +# endif +# ifdef XLAT_VAL_93 + | XLAT_VAL_93 +# endif +# ifdef XLAT_VAL_94 + | XLAT_VAL_94 +# endif +# ifdef XLAT_VAL_95 + | XLAT_VAL_95 +# endif +# ifdef XLAT_VAL_96 + | XLAT_VAL_96 +# endif +# ifdef XLAT_VAL_97 + | XLAT_VAL_97 +# endif +# ifdef XLAT_VAL_98 + | XLAT_VAL_98 +# endif +# ifdef XLAT_VAL_99 + | XLAT_VAL_99 +# endif +# ifdef XLAT_VAL_100 + | XLAT_VAL_100 +# endif +# ifdef XLAT_VAL_101 + | XLAT_VAL_101 +# endif +# ifdef XLAT_VAL_102 + | XLAT_VAL_102 +# endif +# ifdef XLAT_VAL_103 + | XLAT_VAL_103 +# endif +# ifdef XLAT_VAL_104 + | XLAT_VAL_104 +# endif +# ifdef XLAT_VAL_105 + | XLAT_VAL_105 +# endif +# ifdef XLAT_VAL_106 + | XLAT_VAL_106 +# endif +# ifdef XLAT_VAL_107 + | XLAT_VAL_107 +# endif +# ifdef XLAT_VAL_108 + | XLAT_VAL_108 +# endif +# ifdef XLAT_VAL_109 + | XLAT_VAL_109 +# endif +# ifdef XLAT_VAL_110 + | XLAT_VAL_110 +# endif +# ifdef XLAT_VAL_111 + | XLAT_VAL_111 +# endif +# ifdef XLAT_VAL_112 + | XLAT_VAL_112 +# endif +# ifdef XLAT_VAL_113 + | XLAT_VAL_113 +# endif +# ifdef XLAT_VAL_114 + | XLAT_VAL_114 +# endif +# ifdef XLAT_VAL_115 + | XLAT_VAL_115 +# endif +# ifdef XLAT_VAL_116 + | XLAT_VAL_116 +# endif +# ifdef XLAT_VAL_117 + | XLAT_VAL_117 +# endif +# ifdef XLAT_VAL_118 + | XLAT_VAL_118 +# endif +# ifdef XLAT_VAL_119 + | XLAT_VAL_119 +# endif +# ifdef XLAT_VAL_120 + | XLAT_VAL_120 +# endif +# ifdef XLAT_VAL_121 + | XLAT_VAL_121 +# endif +# ifdef XLAT_VAL_122 + | XLAT_VAL_122 +# endif +# ifdef XLAT_VAL_123 + | XLAT_VAL_123 +# endif +# ifdef XLAT_VAL_124 + | XLAT_VAL_124 +# endif +# ifdef XLAT_VAL_125 + | XLAT_VAL_125 +# endif +# ifdef XLAT_VAL_126 + | XLAT_VAL_126 +# endif +# ifdef XLAT_VAL_127 + | XLAT_VAL_127 +# endif +# ifdef XLAT_VAL_128 + | XLAT_VAL_128 +# endif +# ifdef XLAT_VAL_129 + | XLAT_VAL_129 +# endif +# ifdef XLAT_VAL_130 + | XLAT_VAL_130 +# endif +# ifdef XLAT_VAL_131 + | XLAT_VAL_131 +# endif +# ifdef XLAT_VAL_132 + | XLAT_VAL_132 +# endif +# ifdef XLAT_VAL_133 + | XLAT_VAL_133 +# endif +# ifdef XLAT_VAL_134 + | XLAT_VAL_134 +# endif +# ifdef XLAT_VAL_135 + | XLAT_VAL_135 +# endif +# ifdef XLAT_VAL_136 + | XLAT_VAL_136 +# endif +# ifdef XLAT_VAL_137 + | XLAT_VAL_137 +# endif +# ifdef XLAT_VAL_138 + | XLAT_VAL_138 +# endif +# ifdef XLAT_VAL_139 + | XLAT_VAL_139 +# endif +# ifdef XLAT_VAL_140 + | XLAT_VAL_140 +# endif +# ifdef XLAT_VAL_141 + | XLAT_VAL_141 +# endif +# ifdef XLAT_VAL_142 + | XLAT_VAL_142 +# endif +# ifdef XLAT_VAL_143 + | XLAT_VAL_143 +# endif +# ifdef XLAT_VAL_144 + | XLAT_VAL_144 +# endif +# ifdef XLAT_VAL_145 + | XLAT_VAL_145 +# endif +# ifdef XLAT_VAL_146 + | XLAT_VAL_146 +# endif +# ifdef XLAT_VAL_147 + | XLAT_VAL_147 +# endif +# ifdef XLAT_VAL_148 + | XLAT_VAL_148 +# endif +# ifdef XLAT_VAL_149 + | XLAT_VAL_149 +# endif +# ifdef XLAT_VAL_150 + | XLAT_VAL_150 +# endif +# ifdef XLAT_VAL_151 + | XLAT_VAL_151 +# endif +# ifdef XLAT_VAL_152 + | XLAT_VAL_152 +# endif +# ifdef XLAT_VAL_153 + | XLAT_VAL_153 +# endif +# ifdef XLAT_VAL_154 + | XLAT_VAL_154 +# endif +# ifdef XLAT_VAL_155 + | XLAT_VAL_155 +# endif +# ifdef XLAT_VAL_156 + | XLAT_VAL_156 +# endif +# ifdef XLAT_VAL_157 + | XLAT_VAL_157 +# endif +# ifdef XLAT_VAL_158 + | XLAT_VAL_158 +# endif +# ifdef XLAT_VAL_159 + | XLAT_VAL_159 +# endif +# ifdef XLAT_VAL_160 + | XLAT_VAL_160 +# endif +# ifdef XLAT_VAL_161 + | XLAT_VAL_161 +# endif +# ifdef XLAT_VAL_162 + | XLAT_VAL_162 +# endif +# ifdef XLAT_VAL_163 + | XLAT_VAL_163 +# endif +# ifdef XLAT_VAL_164 + | XLAT_VAL_164 +# endif +# ifdef XLAT_VAL_165 + | XLAT_VAL_165 +# endif +# ifdef XLAT_VAL_166 + | XLAT_VAL_166 +# endif +# ifdef XLAT_VAL_167 + | XLAT_VAL_167 +# endif +# ifdef XLAT_VAL_168 + | XLAT_VAL_168 +# endif +# ifdef XLAT_VAL_169 + | XLAT_VAL_169 +# endif +# ifdef XLAT_VAL_170 + | XLAT_VAL_170 +# endif +# ifdef XLAT_VAL_171 + | XLAT_VAL_171 +# endif +# ifdef XLAT_VAL_172 + | XLAT_VAL_172 +# endif +# ifdef XLAT_VAL_173 + | XLAT_VAL_173 +# endif +# ifdef XLAT_VAL_174 + | XLAT_VAL_174 +# endif +# ifdef XLAT_VAL_175 + | XLAT_VAL_175 +# endif +# ifdef XLAT_VAL_176 + | XLAT_VAL_176 +# endif +# ifdef XLAT_VAL_177 + | XLAT_VAL_177 +# endif +# ifdef XLAT_VAL_178 + | XLAT_VAL_178 +# endif +# ifdef XLAT_VAL_179 + | XLAT_VAL_179 +# endif +# ifdef XLAT_VAL_180 + | XLAT_VAL_180 +# endif +# ifdef XLAT_VAL_181 + | XLAT_VAL_181 +# endif +# ifdef XLAT_VAL_182 + | XLAT_VAL_182 +# endif +# ifdef XLAT_VAL_183 + | XLAT_VAL_183 +# endif +# ifdef XLAT_VAL_184 + | XLAT_VAL_184 +# endif +# ifdef XLAT_VAL_185 + | XLAT_VAL_185 +# endif +# ifdef XLAT_VAL_186 + | XLAT_VAL_186 +# endif +# ifdef XLAT_VAL_187 + | XLAT_VAL_187 +# endif +# ifdef XLAT_VAL_188 + | XLAT_VAL_188 +# endif +# ifdef XLAT_VAL_189 + | XLAT_VAL_189 +# endif +# ifdef XLAT_VAL_190 + | XLAT_VAL_190 +# endif +# ifdef XLAT_VAL_191 + | XLAT_VAL_191 +# endif +# ifdef XLAT_VAL_192 + | XLAT_VAL_192 +# endif +# ifdef XLAT_VAL_193 + | XLAT_VAL_193 +# endif +# ifdef XLAT_VAL_194 + | XLAT_VAL_194 +# endif +# ifdef XLAT_VAL_195 + | XLAT_VAL_195 +# endif +# ifdef XLAT_VAL_196 + | XLAT_VAL_196 +# endif +# ifdef XLAT_VAL_197 + | XLAT_VAL_197 +# endif +# ifdef XLAT_VAL_198 + | XLAT_VAL_198 +# endif +# ifdef XLAT_VAL_199 + | XLAT_VAL_199 +# endif +# ifdef XLAT_VAL_200 + | XLAT_VAL_200 +# endif +# ifdef XLAT_VAL_201 + | XLAT_VAL_201 +# endif +# ifdef XLAT_VAL_202 + | XLAT_VAL_202 +# endif +# ifdef XLAT_VAL_203 + | XLAT_VAL_203 +# endif +# ifdef XLAT_VAL_204 + | XLAT_VAL_204 +# endif +# ifdef XLAT_VAL_205 + | XLAT_VAL_205 +# endif +# ifdef XLAT_VAL_206 + | XLAT_VAL_206 +# endif +# ifdef XLAT_VAL_207 + | XLAT_VAL_207 +# endif +# ifdef XLAT_VAL_208 + | XLAT_VAL_208 +# endif +# ifdef XLAT_VAL_209 + | XLAT_VAL_209 +# endif +# ifdef XLAT_VAL_210 + | XLAT_VAL_210 +# endif +# ifdef XLAT_VAL_211 + | XLAT_VAL_211 +# endif +# ifdef XLAT_VAL_212 + | XLAT_VAL_212 +# endif +# ifdef XLAT_VAL_213 + | XLAT_VAL_213 +# endif +# ifdef XLAT_VAL_214 + | XLAT_VAL_214 +# endif +# ifdef XLAT_VAL_215 + | XLAT_VAL_215 +# endif +# ifdef XLAT_VAL_216 + | XLAT_VAL_216 +# endif +# ifdef XLAT_VAL_217 + | XLAT_VAL_217 +# endif +# ifdef XLAT_VAL_218 + | XLAT_VAL_218 +# endif +# ifdef XLAT_VAL_219 + | XLAT_VAL_219 +# endif +# ifdef XLAT_VAL_220 + | XLAT_VAL_220 +# endif +# ifdef XLAT_VAL_221 + | XLAT_VAL_221 +# endif +# ifdef XLAT_VAL_222 + | XLAT_VAL_222 +# endif +# ifdef XLAT_VAL_223 + | XLAT_VAL_223 +# endif +# ifdef XLAT_VAL_224 + | XLAT_VAL_224 +# endif +# ifdef XLAT_VAL_225 + | XLAT_VAL_225 +# endif +# ifdef XLAT_VAL_226 + | XLAT_VAL_226 +# endif +# ifdef XLAT_VAL_227 + | XLAT_VAL_227 +# endif +# ifdef XLAT_VAL_228 + | XLAT_VAL_228 +# endif +# ifdef XLAT_VAL_229 + | XLAT_VAL_229 +# endif +# ifdef XLAT_VAL_230 + | XLAT_VAL_230 +# endif +# ifdef XLAT_VAL_231 + | XLAT_VAL_231 +# endif +# ifdef XLAT_VAL_232 + | XLAT_VAL_232 +# endif +# ifdef XLAT_VAL_233 + | XLAT_VAL_233 +# endif +# ifdef XLAT_VAL_234 + | XLAT_VAL_234 +# endif +# ifdef XLAT_VAL_235 + | XLAT_VAL_235 +# endif +# ifdef XLAT_VAL_236 + | XLAT_VAL_236 +# endif +# ifdef XLAT_VAL_237 + | XLAT_VAL_237 +# endif +# ifdef XLAT_VAL_238 + | XLAT_VAL_238 +# endif +# ifdef XLAT_VAL_239 + | XLAT_VAL_239 +# endif +# ifdef XLAT_VAL_240 + | XLAT_VAL_240 +# endif +# ifdef XLAT_VAL_241 + | XLAT_VAL_241 +# endif +# ifdef XLAT_VAL_242 + | XLAT_VAL_242 +# endif +# ifdef XLAT_VAL_243 + | XLAT_VAL_243 +# endif +# ifdef XLAT_VAL_244 + | XLAT_VAL_244 +# endif +# ifdef XLAT_VAL_245 + | XLAT_VAL_245 +# endif +# ifdef XLAT_VAL_246 + | XLAT_VAL_246 +# endif +# ifdef XLAT_VAL_247 + | XLAT_VAL_247 +# endif +# ifdef XLAT_VAL_248 + | XLAT_VAL_248 +# endif +# ifdef XLAT_VAL_249 + | XLAT_VAL_249 +# endif +# ifdef XLAT_VAL_250 + | XLAT_VAL_250 +# endif +# ifdef XLAT_VAL_251 + | XLAT_VAL_251 +# endif +# ifdef XLAT_VAL_252 + | XLAT_VAL_252 +# endif +# ifdef XLAT_VAL_253 + | XLAT_VAL_253 +# endif +# ifdef XLAT_VAL_254 + | XLAT_VAL_254 +# endif +# ifdef XLAT_VAL_255 + | XLAT_VAL_255 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif +# ifdef XLAT_STR_26 + + sizeof(XLAT_STR_26) +# endif +# ifdef XLAT_STR_27 + + sizeof(XLAT_STR_27) +# endif +# ifdef XLAT_STR_28 + + sizeof(XLAT_STR_28) +# endif +# ifdef XLAT_STR_29 + + sizeof(XLAT_STR_29) +# endif +# ifdef XLAT_STR_30 + + sizeof(XLAT_STR_30) +# endif +# ifdef XLAT_STR_31 + + sizeof(XLAT_STR_31) +# endif +# ifdef XLAT_STR_32 + + sizeof(XLAT_STR_32) +# endif +# ifdef XLAT_STR_33 + + sizeof(XLAT_STR_33) +# endif +# ifdef XLAT_STR_34 + + sizeof(XLAT_STR_34) +# endif +# ifdef XLAT_STR_35 + + sizeof(XLAT_STR_35) +# endif +# ifdef XLAT_STR_36 + + sizeof(XLAT_STR_36) +# endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif +# ifdef XLAT_STR_38 + + sizeof(XLAT_STR_38) +# endif +# ifdef XLAT_STR_39 + + sizeof(XLAT_STR_39) +# endif +# ifdef XLAT_STR_40 + + sizeof(XLAT_STR_40) +# endif +# ifdef XLAT_STR_41 + + sizeof(XLAT_STR_41) +# endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif +# ifdef XLAT_STR_43 + + sizeof(XLAT_STR_43) +# endif +# ifdef XLAT_STR_44 + + sizeof(XLAT_STR_44) +# endif +# ifdef XLAT_STR_45 + + sizeof(XLAT_STR_45) +# endif +# ifdef XLAT_STR_46 + + sizeof(XLAT_STR_46) +# endif +# ifdef XLAT_STR_47 + + sizeof(XLAT_STR_47) +# endif +# ifdef XLAT_STR_48 + + sizeof(XLAT_STR_48) +# endif +# ifdef XLAT_STR_49 + + sizeof(XLAT_STR_49) +# endif +# ifdef XLAT_STR_50 + + sizeof(XLAT_STR_50) +# endif +# ifdef XLAT_STR_51 + + sizeof(XLAT_STR_51) +# endif +# ifdef XLAT_STR_52 + + sizeof(XLAT_STR_52) +# endif +# ifdef XLAT_STR_53 + + sizeof(XLAT_STR_53) +# endif +# ifdef XLAT_STR_54 + + sizeof(XLAT_STR_54) +# endif +# ifdef XLAT_STR_55 + + sizeof(XLAT_STR_55) +# endif +# ifdef XLAT_STR_56 + + sizeof(XLAT_STR_56) +# endif +# ifdef XLAT_STR_57 + + sizeof(XLAT_STR_57) +# endif +# ifdef XLAT_STR_58 + + sizeof(XLAT_STR_58) +# endif +# ifdef XLAT_STR_59 + + sizeof(XLAT_STR_59) +# endif +# ifdef XLAT_STR_60 + + sizeof(XLAT_STR_60) +# endif +# ifdef XLAT_STR_61 + + sizeof(XLAT_STR_61) +# endif +# ifdef XLAT_STR_62 + + sizeof(XLAT_STR_62) +# endif +# ifdef XLAT_STR_63 + + sizeof(XLAT_STR_63) +# endif +# ifdef XLAT_STR_64 + + sizeof(XLAT_STR_64) +# endif +# ifdef XLAT_STR_65 + + sizeof(XLAT_STR_65) +# endif +# ifdef XLAT_STR_66 + + sizeof(XLAT_STR_66) +# endif +# ifdef XLAT_STR_67 + + sizeof(XLAT_STR_67) +# endif +# ifdef XLAT_STR_68 + + sizeof(XLAT_STR_68) +# endif +# ifdef XLAT_STR_69 + + sizeof(XLAT_STR_69) +# endif +# ifdef XLAT_STR_70 + + sizeof(XLAT_STR_70) +# endif +# ifdef XLAT_STR_71 + + sizeof(XLAT_STR_71) +# endif +# ifdef XLAT_STR_72 + + sizeof(XLAT_STR_72) +# endif +# ifdef XLAT_STR_73 + + sizeof(XLAT_STR_73) +# endif +# ifdef XLAT_STR_74 + + sizeof(XLAT_STR_74) +# endif +# ifdef XLAT_STR_75 + + sizeof(XLAT_STR_75) +# endif +# ifdef XLAT_STR_76 + + sizeof(XLAT_STR_76) +# endif +# ifdef XLAT_STR_77 + + sizeof(XLAT_STR_77) +# endif +# ifdef XLAT_STR_78 + + sizeof(XLAT_STR_78) +# endif +# ifdef XLAT_STR_79 + + sizeof(XLAT_STR_79) +# endif +# ifdef XLAT_STR_80 + + sizeof(XLAT_STR_80) +# endif +# ifdef XLAT_STR_81 + + sizeof(XLAT_STR_81) +# endif +# ifdef XLAT_STR_82 + + sizeof(XLAT_STR_82) +# endif +# ifdef XLAT_STR_83 + + sizeof(XLAT_STR_83) +# endif +# ifdef XLAT_STR_84 + + sizeof(XLAT_STR_84) +# endif +# ifdef XLAT_STR_85 + + sizeof(XLAT_STR_85) +# endif +# ifdef XLAT_STR_86 + + sizeof(XLAT_STR_86) +# endif +# ifdef XLAT_STR_87 + + sizeof(XLAT_STR_87) +# endif +# ifdef XLAT_STR_88 + + sizeof(XLAT_STR_88) +# endif +# ifdef XLAT_STR_89 + + sizeof(XLAT_STR_89) +# endif +# ifdef XLAT_STR_90 + + sizeof(XLAT_STR_90) +# endif +# ifdef XLAT_STR_91 + + sizeof(XLAT_STR_91) +# endif +# ifdef XLAT_STR_92 + + sizeof(XLAT_STR_92) +# endif +# ifdef XLAT_STR_93 + + sizeof(XLAT_STR_93) +# endif +# ifdef XLAT_STR_94 + + sizeof(XLAT_STR_94) +# endif +# ifdef XLAT_STR_95 + + sizeof(XLAT_STR_95) +# endif +# ifdef XLAT_STR_96 + + sizeof(XLAT_STR_96) +# endif +# ifdef XLAT_STR_97 + + sizeof(XLAT_STR_97) +# endif +# ifdef XLAT_STR_98 + + sizeof(XLAT_STR_98) +# endif +# ifdef XLAT_STR_99 + + sizeof(XLAT_STR_99) +# endif +# ifdef XLAT_STR_100 + + sizeof(XLAT_STR_100) +# endif +# ifdef XLAT_STR_101 + + sizeof(XLAT_STR_101) +# endif +# ifdef XLAT_STR_102 + + sizeof(XLAT_STR_102) +# endif +# ifdef XLAT_STR_103 + + sizeof(XLAT_STR_103) +# endif +# ifdef XLAT_STR_104 + + sizeof(XLAT_STR_104) +# endif +# ifdef XLAT_STR_105 + + sizeof(XLAT_STR_105) +# endif +# ifdef XLAT_STR_106 + + sizeof(XLAT_STR_106) +# endif +# ifdef XLAT_STR_107 + + sizeof(XLAT_STR_107) +# endif +# ifdef XLAT_STR_108 + + sizeof(XLAT_STR_108) +# endif +# ifdef XLAT_STR_109 + + sizeof(XLAT_STR_109) +# endif +# ifdef XLAT_STR_110 + + sizeof(XLAT_STR_110) +# endif +# ifdef XLAT_STR_111 + + sizeof(XLAT_STR_111) +# endif +# ifdef XLAT_STR_112 + + sizeof(XLAT_STR_112) +# endif +# ifdef XLAT_STR_113 + + sizeof(XLAT_STR_113) +# endif +# ifdef XLAT_STR_114 + + sizeof(XLAT_STR_114) +# endif +# ifdef XLAT_STR_115 + + sizeof(XLAT_STR_115) +# endif +# ifdef XLAT_STR_116 + + sizeof(XLAT_STR_116) +# endif +# ifdef XLAT_STR_117 + + sizeof(XLAT_STR_117) +# endif +# ifdef XLAT_STR_118 + + sizeof(XLAT_STR_118) +# endif +# ifdef XLAT_STR_119 + + sizeof(XLAT_STR_119) +# endif +# ifdef XLAT_STR_120 + + sizeof(XLAT_STR_120) +# endif +# ifdef XLAT_STR_121 + + sizeof(XLAT_STR_121) +# endif +# ifdef XLAT_STR_122 + + sizeof(XLAT_STR_122) +# endif +# ifdef XLAT_STR_123 + + sizeof(XLAT_STR_123) +# endif +# ifdef XLAT_STR_124 + + sizeof(XLAT_STR_124) +# endif +# ifdef XLAT_STR_125 + + sizeof(XLAT_STR_125) +# endif +# ifdef XLAT_STR_126 + + sizeof(XLAT_STR_126) +# endif +# ifdef XLAT_STR_127 + + sizeof(XLAT_STR_127) +# endif +# ifdef XLAT_STR_128 + + sizeof(XLAT_STR_128) +# endif +# ifdef XLAT_STR_129 + + sizeof(XLAT_STR_129) +# endif +# ifdef XLAT_STR_130 + + sizeof(XLAT_STR_130) +# endif +# ifdef XLAT_STR_131 + + sizeof(XLAT_STR_131) +# endif +# ifdef XLAT_STR_132 + + sizeof(XLAT_STR_132) +# endif +# ifdef XLAT_STR_133 + + sizeof(XLAT_STR_133) +# endif +# ifdef XLAT_STR_134 + + sizeof(XLAT_STR_134) +# endif +# ifdef XLAT_STR_135 + + sizeof(XLAT_STR_135) +# endif +# ifdef XLAT_STR_136 + + sizeof(XLAT_STR_136) +# endif +# ifdef XLAT_STR_137 + + sizeof(XLAT_STR_137) +# endif +# ifdef XLAT_STR_138 + + sizeof(XLAT_STR_138) +# endif +# ifdef XLAT_STR_139 + + sizeof(XLAT_STR_139) +# endif +# ifdef XLAT_STR_140 + + sizeof(XLAT_STR_140) +# endif +# ifdef XLAT_STR_141 + + sizeof(XLAT_STR_141) +# endif +# ifdef XLAT_STR_142 + + sizeof(XLAT_STR_142) +# endif +# ifdef XLAT_STR_143 + + sizeof(XLAT_STR_143) +# endif +# ifdef XLAT_STR_144 + + sizeof(XLAT_STR_144) +# endif +# ifdef XLAT_STR_145 + + sizeof(XLAT_STR_145) +# endif +# ifdef XLAT_STR_146 + + sizeof(XLAT_STR_146) +# endif +# ifdef XLAT_STR_147 + + sizeof(XLAT_STR_147) +# endif +# ifdef XLAT_STR_148 + + sizeof(XLAT_STR_148) +# endif +# ifdef XLAT_STR_149 + + sizeof(XLAT_STR_149) +# endif +# ifdef XLAT_STR_150 + + sizeof(XLAT_STR_150) +# endif +# ifdef XLAT_STR_151 + + sizeof(XLAT_STR_151) +# endif +# ifdef XLAT_STR_152 + + sizeof(XLAT_STR_152) +# endif +# ifdef XLAT_STR_153 + + sizeof(XLAT_STR_153) +# endif +# ifdef XLAT_STR_154 + + sizeof(XLAT_STR_154) +# endif +# ifdef XLAT_STR_155 + + sizeof(XLAT_STR_155) +# endif +# ifdef XLAT_STR_156 + + sizeof(XLAT_STR_156) +# endif +# ifdef XLAT_STR_157 + + sizeof(XLAT_STR_157) +# endif +# ifdef XLAT_STR_158 + + sizeof(XLAT_STR_158) +# endif +# ifdef XLAT_STR_159 + + sizeof(XLAT_STR_159) +# endif +# ifdef XLAT_STR_160 + + sizeof(XLAT_STR_160) +# endif +# ifdef XLAT_STR_161 + + sizeof(XLAT_STR_161) +# endif +# ifdef XLAT_STR_162 + + sizeof(XLAT_STR_162) +# endif +# ifdef XLAT_STR_163 + + sizeof(XLAT_STR_163) +# endif +# ifdef XLAT_STR_164 + + sizeof(XLAT_STR_164) +# endif +# ifdef XLAT_STR_165 + + sizeof(XLAT_STR_165) +# endif +# ifdef XLAT_STR_166 + + sizeof(XLAT_STR_166) +# endif +# ifdef XLAT_STR_167 + + sizeof(XLAT_STR_167) +# endif +# ifdef XLAT_STR_168 + + sizeof(XLAT_STR_168) +# endif +# ifdef XLAT_STR_169 + + sizeof(XLAT_STR_169) +# endif +# ifdef XLAT_STR_170 + + sizeof(XLAT_STR_170) +# endif +# ifdef XLAT_STR_171 + + sizeof(XLAT_STR_171) +# endif +# ifdef XLAT_STR_172 + + sizeof(XLAT_STR_172) +# endif +# ifdef XLAT_STR_173 + + sizeof(XLAT_STR_173) +# endif +# ifdef XLAT_STR_174 + + sizeof(XLAT_STR_174) +# endif +# ifdef XLAT_STR_175 + + sizeof(XLAT_STR_175) +# endif +# ifdef XLAT_STR_176 + + sizeof(XLAT_STR_176) +# endif +# ifdef XLAT_STR_177 + + sizeof(XLAT_STR_177) +# endif +# ifdef XLAT_STR_178 + + sizeof(XLAT_STR_178) +# endif +# ifdef XLAT_STR_179 + + sizeof(XLAT_STR_179) +# endif +# ifdef XLAT_STR_180 + + sizeof(XLAT_STR_180) +# endif +# ifdef XLAT_STR_181 + + sizeof(XLAT_STR_181) +# endif +# ifdef XLAT_STR_182 + + sizeof(XLAT_STR_182) +# endif +# ifdef XLAT_STR_183 + + sizeof(XLAT_STR_183) +# endif +# ifdef XLAT_STR_184 + + sizeof(XLAT_STR_184) +# endif +# ifdef XLAT_STR_185 + + sizeof(XLAT_STR_185) +# endif +# ifdef XLAT_STR_186 + + sizeof(XLAT_STR_186) +# endif +# ifdef XLAT_STR_187 + + sizeof(XLAT_STR_187) +# endif +# ifdef XLAT_STR_188 + + sizeof(XLAT_STR_188) +# endif +# ifdef XLAT_STR_189 + + sizeof(XLAT_STR_189) +# endif +# ifdef XLAT_STR_190 + + sizeof(XLAT_STR_190) +# endif +# ifdef XLAT_STR_191 + + sizeof(XLAT_STR_191) +# endif +# ifdef XLAT_STR_192 + + sizeof(XLAT_STR_192) +# endif +# ifdef XLAT_STR_193 + + sizeof(XLAT_STR_193) +# endif +# ifdef XLAT_STR_194 + + sizeof(XLAT_STR_194) +# endif +# ifdef XLAT_STR_195 + + sizeof(XLAT_STR_195) +# endif +# ifdef XLAT_STR_196 + + sizeof(XLAT_STR_196) +# endif +# ifdef XLAT_STR_197 + + sizeof(XLAT_STR_197) +# endif +# ifdef XLAT_STR_198 + + sizeof(XLAT_STR_198) +# endif +# ifdef XLAT_STR_199 + + sizeof(XLAT_STR_199) +# endif +# ifdef XLAT_STR_200 + + sizeof(XLAT_STR_200) +# endif +# ifdef XLAT_STR_201 + + sizeof(XLAT_STR_201) +# endif +# ifdef XLAT_STR_202 + + sizeof(XLAT_STR_202) +# endif +# ifdef XLAT_STR_203 + + sizeof(XLAT_STR_203) +# endif +# ifdef XLAT_STR_204 + + sizeof(XLAT_STR_204) +# endif +# ifdef XLAT_STR_205 + + sizeof(XLAT_STR_205) +# endif +# ifdef XLAT_STR_206 + + sizeof(XLAT_STR_206) +# endif +# ifdef XLAT_STR_207 + + sizeof(XLAT_STR_207) +# endif +# ifdef XLAT_STR_208 + + sizeof(XLAT_STR_208) +# endif +# ifdef XLAT_STR_209 + + sizeof(XLAT_STR_209) +# endif +# ifdef XLAT_STR_210 + + sizeof(XLAT_STR_210) +# endif +# ifdef XLAT_STR_211 + + sizeof(XLAT_STR_211) +# endif +# ifdef XLAT_STR_212 + + sizeof(XLAT_STR_212) +# endif +# ifdef XLAT_STR_213 + + sizeof(XLAT_STR_213) +# endif +# ifdef XLAT_STR_214 + + sizeof(XLAT_STR_214) +# endif +# ifdef XLAT_STR_215 + + sizeof(XLAT_STR_215) +# endif +# ifdef XLAT_STR_216 + + sizeof(XLAT_STR_216) +# endif +# ifdef XLAT_STR_217 + + sizeof(XLAT_STR_217) +# endif +# ifdef XLAT_STR_218 + + sizeof(XLAT_STR_218) +# endif +# ifdef XLAT_STR_219 + + sizeof(XLAT_STR_219) +# endif +# ifdef XLAT_STR_220 + + sizeof(XLAT_STR_220) +# endif +# ifdef XLAT_STR_221 + + sizeof(XLAT_STR_221) +# endif +# ifdef XLAT_STR_222 + + sizeof(XLAT_STR_222) +# endif +# ifdef XLAT_STR_223 + + sizeof(XLAT_STR_223) +# endif +# ifdef XLAT_STR_224 + + sizeof(XLAT_STR_224) +# endif +# ifdef XLAT_STR_225 + + sizeof(XLAT_STR_225) +# endif +# ifdef XLAT_STR_226 + + sizeof(XLAT_STR_226) +# endif +# ifdef XLAT_STR_227 + + sizeof(XLAT_STR_227) +# endif +# ifdef XLAT_STR_228 + + sizeof(XLAT_STR_228) +# endif +# ifdef XLAT_STR_229 + + sizeof(XLAT_STR_229) +# endif +# ifdef XLAT_STR_230 + + sizeof(XLAT_STR_230) +# endif +# ifdef XLAT_STR_231 + + sizeof(XLAT_STR_231) +# endif +# ifdef XLAT_STR_232 + + sizeof(XLAT_STR_232) +# endif +# ifdef XLAT_STR_233 + + sizeof(XLAT_STR_233) +# endif +# ifdef XLAT_STR_234 + + sizeof(XLAT_STR_234) +# endif +# ifdef XLAT_STR_235 + + sizeof(XLAT_STR_235) +# endif +# ifdef XLAT_STR_236 + + sizeof(XLAT_STR_236) +# endif +# ifdef XLAT_STR_237 + + sizeof(XLAT_STR_237) +# endif +# ifdef XLAT_STR_238 + + sizeof(XLAT_STR_238) +# endif +# ifdef XLAT_STR_239 + + sizeof(XLAT_STR_239) +# endif +# ifdef XLAT_STR_240 + + sizeof(XLAT_STR_240) +# endif +# ifdef XLAT_STR_241 + + sizeof(XLAT_STR_241) +# endif +# ifdef XLAT_STR_242 + + sizeof(XLAT_STR_242) +# endif +# ifdef XLAT_STR_243 + + sizeof(XLAT_STR_243) +# endif +# ifdef XLAT_STR_244 + + sizeof(XLAT_STR_244) +# endif +# ifdef XLAT_STR_245 + + sizeof(XLAT_STR_245) +# endif +# ifdef XLAT_STR_246 + + sizeof(XLAT_STR_246) +# endif +# ifdef XLAT_STR_247 + + sizeof(XLAT_STR_247) +# endif +# ifdef XLAT_STR_248 + + sizeof(XLAT_STR_248) +# endif +# ifdef XLAT_STR_249 + + sizeof(XLAT_STR_249) +# endif +# ifdef XLAT_STR_250 + + sizeof(XLAT_STR_250) +# endif +# ifdef XLAT_STR_251 + + sizeof(XLAT_STR_251) +# endif +# ifdef XLAT_STR_252 + + sizeof(XLAT_STR_252) +# endif +# ifdef XLAT_STR_253 + + sizeof(XLAT_STR_253) +# endif +# ifdef XLAT_STR_254 + + sizeof(XLAT_STR_254) +# endif +# ifdef XLAT_STR_255 + + sizeof(XLAT_STR_255) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# undef XLAT_STR_26 +# undef XLAT_VAL_26 +# undef XLAT_STR_27 +# undef XLAT_VAL_27 +# undef XLAT_STR_28 +# undef XLAT_VAL_28 +# undef XLAT_STR_29 +# undef XLAT_VAL_29 +# undef XLAT_STR_30 +# undef XLAT_VAL_30 +# undef XLAT_STR_31 +# undef XLAT_VAL_31 +# undef XLAT_STR_32 +# undef XLAT_VAL_32 +# undef XLAT_STR_33 +# undef XLAT_VAL_33 +# undef XLAT_STR_34 +# undef XLAT_VAL_34 +# undef XLAT_STR_35 +# undef XLAT_VAL_35 +# undef XLAT_STR_36 +# undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 +# undef XLAT_STR_38 +# undef XLAT_VAL_38 +# undef XLAT_STR_39 +# undef XLAT_VAL_39 +# undef XLAT_STR_40 +# undef XLAT_VAL_40 +# undef XLAT_STR_41 +# undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 +# undef XLAT_STR_43 +# undef XLAT_VAL_43 +# undef XLAT_STR_44 +# undef XLAT_VAL_44 +# undef XLAT_STR_45 +# undef XLAT_VAL_45 +# undef XLAT_STR_46 +# undef XLAT_VAL_46 +# undef XLAT_STR_47 +# undef XLAT_VAL_47 +# undef XLAT_STR_48 +# undef XLAT_VAL_48 +# undef XLAT_STR_49 +# undef XLAT_VAL_49 +# undef XLAT_STR_50 +# undef XLAT_VAL_50 +# undef XLAT_STR_51 +# undef XLAT_VAL_51 +# undef XLAT_STR_52 +# undef XLAT_VAL_52 +# undef XLAT_STR_53 +# undef XLAT_VAL_53 +# undef XLAT_STR_54 +# undef XLAT_VAL_54 +# undef XLAT_STR_55 +# undef XLAT_VAL_55 +# undef XLAT_STR_56 +# undef XLAT_VAL_56 +# undef XLAT_STR_57 +# undef XLAT_VAL_57 +# undef XLAT_STR_58 +# undef XLAT_VAL_58 +# undef XLAT_STR_59 +# undef XLAT_VAL_59 +# undef XLAT_STR_60 +# undef XLAT_VAL_60 +# undef XLAT_STR_61 +# undef XLAT_VAL_61 +# undef XLAT_STR_62 +# undef XLAT_VAL_62 +# undef XLAT_STR_63 +# undef XLAT_VAL_63 +# undef XLAT_STR_64 +# undef XLAT_VAL_64 +# undef XLAT_STR_65 +# undef XLAT_VAL_65 +# undef XLAT_STR_66 +# undef XLAT_VAL_66 +# undef XLAT_STR_67 +# undef XLAT_VAL_67 +# undef XLAT_STR_68 +# undef XLAT_VAL_68 +# undef XLAT_STR_69 +# undef XLAT_VAL_69 +# undef XLAT_STR_70 +# undef XLAT_VAL_70 +# undef XLAT_STR_71 +# undef XLAT_VAL_71 +# undef XLAT_STR_72 +# undef XLAT_VAL_72 +# undef XLAT_STR_73 +# undef XLAT_VAL_73 +# undef XLAT_STR_74 +# undef XLAT_VAL_74 +# undef XLAT_STR_75 +# undef XLAT_VAL_75 +# undef XLAT_STR_76 +# undef XLAT_VAL_76 +# undef XLAT_STR_77 +# undef XLAT_VAL_77 +# undef XLAT_STR_78 +# undef XLAT_VAL_78 +# undef XLAT_STR_79 +# undef XLAT_VAL_79 +# undef XLAT_STR_80 +# undef XLAT_VAL_80 +# undef XLAT_STR_81 +# undef XLAT_VAL_81 +# undef XLAT_STR_82 +# undef XLAT_VAL_82 +# undef XLAT_STR_83 +# undef XLAT_VAL_83 +# undef XLAT_STR_84 +# undef XLAT_VAL_84 +# undef XLAT_STR_85 +# undef XLAT_VAL_85 +# undef XLAT_STR_86 +# undef XLAT_VAL_86 +# undef XLAT_STR_87 +# undef XLAT_VAL_87 +# undef XLAT_STR_88 +# undef XLAT_VAL_88 +# undef XLAT_STR_89 +# undef XLAT_VAL_89 +# undef XLAT_STR_90 +# undef XLAT_VAL_90 +# undef XLAT_STR_91 +# undef XLAT_VAL_91 +# undef XLAT_STR_92 +# undef XLAT_VAL_92 +# undef XLAT_STR_93 +# undef XLAT_VAL_93 +# undef XLAT_STR_94 +# undef XLAT_VAL_94 +# undef XLAT_STR_95 +# undef XLAT_VAL_95 +# undef XLAT_STR_96 +# undef XLAT_VAL_96 +# undef XLAT_STR_97 +# undef XLAT_VAL_97 +# undef XLAT_STR_98 +# undef XLAT_VAL_98 +# undef XLAT_STR_99 +# undef XLAT_VAL_99 +# undef XLAT_STR_100 +# undef XLAT_VAL_100 +# undef XLAT_STR_101 +# undef XLAT_VAL_101 +# undef XLAT_STR_102 +# undef XLAT_VAL_102 +# undef XLAT_STR_103 +# undef XLAT_VAL_103 +# undef XLAT_STR_104 +# undef XLAT_VAL_104 +# undef XLAT_STR_105 +# undef XLAT_VAL_105 +# undef XLAT_STR_106 +# undef XLAT_VAL_106 +# undef XLAT_STR_107 +# undef XLAT_VAL_107 +# undef XLAT_STR_108 +# undef XLAT_VAL_108 +# undef XLAT_STR_109 +# undef XLAT_VAL_109 +# undef XLAT_STR_110 +# undef XLAT_VAL_110 +# undef XLAT_STR_111 +# undef XLAT_VAL_111 +# undef XLAT_STR_112 +# undef XLAT_VAL_112 +# undef XLAT_STR_113 +# undef XLAT_VAL_113 +# undef XLAT_STR_114 +# undef XLAT_VAL_114 +# undef XLAT_STR_115 +# undef XLAT_VAL_115 +# undef XLAT_STR_116 +# undef XLAT_VAL_116 +# undef XLAT_STR_117 +# undef XLAT_VAL_117 +# undef XLAT_STR_118 +# undef XLAT_VAL_118 +# undef XLAT_STR_119 +# undef XLAT_VAL_119 +# undef XLAT_STR_120 +# undef XLAT_VAL_120 +# undef XLAT_STR_121 +# undef XLAT_VAL_121 +# undef XLAT_STR_122 +# undef XLAT_VAL_122 +# undef XLAT_STR_123 +# undef XLAT_VAL_123 +# undef XLAT_STR_124 +# undef XLAT_VAL_124 +# undef XLAT_STR_125 +# undef XLAT_VAL_125 +# undef XLAT_STR_126 +# undef XLAT_VAL_126 +# undef XLAT_STR_127 +# undef XLAT_VAL_127 +# undef XLAT_STR_128 +# undef XLAT_VAL_128 +# undef XLAT_STR_129 +# undef XLAT_VAL_129 +# undef XLAT_STR_130 +# undef XLAT_VAL_130 +# undef XLAT_STR_131 +# undef XLAT_VAL_131 +# undef XLAT_STR_132 +# undef XLAT_VAL_132 +# undef XLAT_STR_133 +# undef XLAT_VAL_133 +# undef XLAT_STR_134 +# undef XLAT_VAL_134 +# undef XLAT_STR_135 +# undef XLAT_VAL_135 +# undef XLAT_STR_136 +# undef XLAT_VAL_136 +# undef XLAT_STR_137 +# undef XLAT_VAL_137 +# undef XLAT_STR_138 +# undef XLAT_VAL_138 +# undef XLAT_STR_139 +# undef XLAT_VAL_139 +# undef XLAT_STR_140 +# undef XLAT_VAL_140 +# undef XLAT_STR_141 +# undef XLAT_VAL_141 +# undef XLAT_STR_142 +# undef XLAT_VAL_142 +# undef XLAT_STR_143 +# undef XLAT_VAL_143 +# undef XLAT_STR_144 +# undef XLAT_VAL_144 +# undef XLAT_STR_145 +# undef XLAT_VAL_145 +# undef XLAT_STR_146 +# undef XLAT_VAL_146 +# undef XLAT_STR_147 +# undef XLAT_VAL_147 +# undef XLAT_STR_148 +# undef XLAT_VAL_148 +# undef XLAT_STR_149 +# undef XLAT_VAL_149 +# undef XLAT_STR_150 +# undef XLAT_VAL_150 +# undef XLAT_STR_151 +# undef XLAT_VAL_151 +# undef XLAT_STR_152 +# undef XLAT_VAL_152 +# undef XLAT_STR_153 +# undef XLAT_VAL_153 +# undef XLAT_STR_154 +# undef XLAT_VAL_154 +# undef XLAT_STR_155 +# undef XLAT_VAL_155 +# undef XLAT_STR_156 +# undef XLAT_VAL_156 +# undef XLAT_STR_157 +# undef XLAT_VAL_157 +# undef XLAT_STR_158 +# undef XLAT_VAL_158 +# undef XLAT_STR_159 +# undef XLAT_VAL_159 +# undef XLAT_STR_160 +# undef XLAT_VAL_160 +# undef XLAT_STR_161 +# undef XLAT_VAL_161 +# undef XLAT_STR_162 +# undef XLAT_VAL_162 +# undef XLAT_STR_163 +# undef XLAT_VAL_163 +# undef XLAT_STR_164 +# undef XLAT_VAL_164 +# undef XLAT_STR_165 +# undef XLAT_VAL_165 +# undef XLAT_STR_166 +# undef XLAT_VAL_166 +# undef XLAT_STR_167 +# undef XLAT_VAL_167 +# undef XLAT_STR_168 +# undef XLAT_VAL_168 +# undef XLAT_STR_169 +# undef XLAT_VAL_169 +# undef XLAT_STR_170 +# undef XLAT_VAL_170 +# undef XLAT_STR_171 +# undef XLAT_VAL_171 +# undef XLAT_STR_172 +# undef XLAT_VAL_172 +# undef XLAT_STR_173 +# undef XLAT_VAL_173 +# undef XLAT_STR_174 +# undef XLAT_VAL_174 +# undef XLAT_STR_175 +# undef XLAT_VAL_175 +# undef XLAT_STR_176 +# undef XLAT_VAL_176 +# undef XLAT_STR_177 +# undef XLAT_VAL_177 +# undef XLAT_STR_178 +# undef XLAT_VAL_178 +# undef XLAT_STR_179 +# undef XLAT_VAL_179 +# undef XLAT_STR_180 +# undef XLAT_VAL_180 +# undef XLAT_STR_181 +# undef XLAT_VAL_181 +# undef XLAT_STR_182 +# undef XLAT_VAL_182 +# undef XLAT_STR_183 +# undef XLAT_VAL_183 +# undef XLAT_STR_184 +# undef XLAT_VAL_184 +# undef XLAT_STR_185 +# undef XLAT_VAL_185 +# undef XLAT_STR_186 +# undef XLAT_VAL_186 +# undef XLAT_STR_187 +# undef XLAT_VAL_187 +# undef XLAT_STR_188 +# undef XLAT_VAL_188 +# undef XLAT_STR_189 +# undef XLAT_VAL_189 +# undef XLAT_STR_190 +# undef XLAT_VAL_190 +# undef XLAT_STR_191 +# undef XLAT_VAL_191 +# undef XLAT_STR_192 +# undef XLAT_VAL_192 +# undef XLAT_STR_193 +# undef XLAT_VAL_193 +# undef XLAT_STR_194 +# undef XLAT_VAL_194 +# undef XLAT_STR_195 +# undef XLAT_VAL_195 +# undef XLAT_STR_196 +# undef XLAT_VAL_196 +# undef XLAT_STR_197 +# undef XLAT_VAL_197 +# undef XLAT_STR_198 +# undef XLAT_VAL_198 +# undef XLAT_STR_199 +# undef XLAT_VAL_199 +# undef XLAT_STR_200 +# undef XLAT_VAL_200 +# undef XLAT_STR_201 +# undef XLAT_VAL_201 +# undef XLAT_STR_202 +# undef XLAT_VAL_202 +# undef XLAT_STR_203 +# undef XLAT_VAL_203 +# undef XLAT_STR_204 +# undef XLAT_VAL_204 +# undef XLAT_STR_205 +# undef XLAT_VAL_205 +# undef XLAT_STR_206 +# undef XLAT_VAL_206 +# undef XLAT_STR_207 +# undef XLAT_VAL_207 +# undef XLAT_STR_208 +# undef XLAT_VAL_208 +# undef XLAT_STR_209 +# undef XLAT_VAL_209 +# undef XLAT_STR_210 +# undef XLAT_VAL_210 +# undef XLAT_STR_211 +# undef XLAT_VAL_211 +# undef XLAT_STR_212 +# undef XLAT_VAL_212 +# undef XLAT_STR_213 +# undef XLAT_VAL_213 +# undef XLAT_STR_214 +# undef XLAT_VAL_214 +# undef XLAT_STR_215 +# undef XLAT_VAL_215 +# undef XLAT_STR_216 +# undef XLAT_VAL_216 +# undef XLAT_STR_217 +# undef XLAT_VAL_217 +# undef XLAT_STR_218 +# undef XLAT_VAL_218 +# undef XLAT_STR_219 +# undef XLAT_VAL_219 +# undef XLAT_STR_220 +# undef XLAT_VAL_220 +# undef XLAT_STR_221 +# undef XLAT_VAL_221 +# undef XLAT_STR_222 +# undef XLAT_VAL_222 +# undef XLAT_STR_223 +# undef XLAT_VAL_223 +# undef XLAT_STR_224 +# undef XLAT_VAL_224 +# undef XLAT_STR_225 +# undef XLAT_VAL_225 +# undef XLAT_STR_226 +# undef XLAT_VAL_226 +# undef XLAT_STR_227 +# undef XLAT_VAL_227 +# undef XLAT_STR_228 +# undef XLAT_VAL_228 +# undef XLAT_STR_229 +# undef XLAT_VAL_229 +# undef XLAT_STR_230 +# undef XLAT_VAL_230 +# undef XLAT_STR_231 +# undef XLAT_VAL_231 +# undef XLAT_STR_232 +# undef XLAT_VAL_232 +# undef XLAT_STR_233 +# undef XLAT_VAL_233 +# undef XLAT_STR_234 +# undef XLAT_VAL_234 +# undef XLAT_STR_235 +# undef XLAT_VAL_235 +# undef XLAT_STR_236 +# undef XLAT_VAL_236 +# undef XLAT_STR_237 +# undef XLAT_VAL_237 +# undef XLAT_STR_238 +# undef XLAT_VAL_238 +# undef XLAT_STR_239 +# undef XLAT_VAL_239 +# undef XLAT_STR_240 +# undef XLAT_VAL_240 +# undef XLAT_STR_241 +# undef XLAT_VAL_241 +# undef XLAT_STR_242 +# undef XLAT_VAL_242 +# undef XLAT_STR_243 +# undef XLAT_VAL_243 +# undef XLAT_STR_244 +# undef XLAT_VAL_244 +# undef XLAT_STR_245 +# undef XLAT_VAL_245 +# undef XLAT_STR_246 +# undef XLAT_VAL_246 +# undef XLAT_STR_247 +# undef XLAT_VAL_247 +# undef XLAT_STR_248 +# undef XLAT_VAL_248 +# undef XLAT_STR_249 +# undef XLAT_VAL_249 +# undef XLAT_STR_250 +# undef XLAT_VAL_250 +# undef XLAT_STR_251 +# undef XLAT_VAL_251 +# undef XLAT_STR_252 +# undef XLAT_VAL_252 +# undef XLAT_STR_253 +# undef XLAT_VAL_253 +# undef XLAT_STR_254 +# undef XLAT_VAL_254 +# undef XLAT_STR_255 +# undef XLAT_VAL_255 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_fn_key_vals.in
Added
@@ -0,0 +1,258 @@ +#unconditional +#value_indexed +KVAL(K_F1) +KVAL(K_F2) +KVAL(K_F3) +KVAL(K_F4) +KVAL(K_F5) +KVAL(K_F6) +KVAL(K_F7) +KVAL(K_F8) +KVAL(K_F9) +KVAL(K_F10) +KVAL(K_F11) +KVAL(K_F12) +KVAL(K_F13) +KVAL(K_F14) +KVAL(K_F15) +KVAL(K_F16) +KVAL(K_F17) +KVAL(K_F18) +KVAL(K_F19) +KVAL(K_F20) +KVAL(K_FIND) +KVAL(K_INSERT) +KVAL(K_REMOVE) +KVAL(K_SELECT) +KVAL(K_PGUP) +KVAL(K_PGDN) +KVAL(K_MACRO) +KVAL(K_HELP) +KVAL(K_DO) +KVAL(K_PAUSE) +KVAL(K_F21) +KVAL(K_F22) +KVAL(K_F23) +KVAL(K_F24) +KVAL(K_F25) +KVAL(K_F26) +KVAL(K_F27) +KVAL(K_F28) +KVAL(K_F29) +KVAL(K_F30) +KVAL(K_F31) +KVAL(K_F32) +KVAL(K_F33) +KVAL(K_F34) +KVAL(K_F35) +KVAL(K_F36) +KVAL(K_F37) +KVAL(K_F38) +KVAL(K_F39) +KVAL(K_F40) +KVAL(K_F41) +KVAL(K_F42) +KVAL(K_F43) +KVAL(K_F44) +KVAL(K_F45) +KVAL(K_F46) +KVAL(K_F47) +KVAL(K_F48) +KVAL(K_F49) +KVAL(K_F50) +KVAL(K_F51) +KVAL(K_F52) +KVAL(K_F53) +KVAL(K_F54) +KVAL(K_F55) +KVAL(K_F56) +KVAL(K_F57) +KVAL(K_F58) +KVAL(K_F59) +KVAL(K_F60) +KVAL(K_F61) +KVAL(K_F62) +KVAL(K_F63) +KVAL(K_F64) +KVAL(K_F65) +KVAL(K_F66) +KVAL(K_F67) +KVAL(K_F68) +KVAL(K_F69) +KVAL(K_F70) +KVAL(K_F71) +KVAL(K_F72) +KVAL(K_F73) +KVAL(K_F74) +KVAL(K_F75) +KVAL(K_F76) +KVAL(K_F77) +KVAL(K_F78) +KVAL(K_F79) +KVAL(K_F80) +KVAL(K_F81) +KVAL(K_F82) +KVAL(K_F83) +KVAL(K_F84) +KVAL(K_F85) +KVAL(K_F86) +KVAL(K_F87) +KVAL(K_F88) +KVAL(K_F89) +KVAL(K_F90) +KVAL(K_F91) +KVAL(K_F92) +KVAL(K_F93) +KVAL(K_F94) +KVAL(K_F95) +KVAL(K_F96) +KVAL(K_F97) +KVAL(K_F98) +KVAL(K_F99) +KVAL(K_F100) +KVAL(K_F101) +KVAL(K_F102) +KVAL(K_F103) +KVAL(K_F104) +KVAL(K_F105) +KVAL(K_F106) +KVAL(K_F107) +KVAL(K_F108) +KVAL(K_F109) +KVAL(K_F110) +KVAL(K_F111) +KVAL(K_F112) +KVAL(K_F113) +KVAL(K_F114) +KVAL(K_F115) +KVAL(K_F116) +KVAL(K_F117) +KVAL(K_F118) +KVAL(K_F119) +KVAL(K_F120) +KVAL(K_F121) +KVAL(K_F122) +KVAL(K_F123) +KVAL(K_F124) +KVAL(K_F125) +KVAL(K_F126) +KVAL(K_F127) +KVAL(K_F128) +KVAL(K_F129) +KVAL(K_F130) +KVAL(K_F131) +KVAL(K_F132) +KVAL(K_F133) +KVAL(K_F134) +KVAL(K_F135) +KVAL(K_F136) +KVAL(K_F137) +KVAL(K_F138) +KVAL(K_F139) +KVAL(K_F140) +KVAL(K_F141) +KVAL(K_F142) +KVAL(K_F143) +KVAL(K_F144) +KVAL(K_F145) +KVAL(K_F146) +KVAL(K_F147) +KVAL(K_F148) +KVAL(K_F149) +KVAL(K_F150) +KVAL(K_F151) +KVAL(K_F152) +KVAL(K_F153) +KVAL(K_F154) +KVAL(K_F155) +KVAL(K_F156) +KVAL(K_F157) +KVAL(K_F158) +KVAL(K_F159) +KVAL(K_F160) +KVAL(K_F161) +KVAL(K_F162) +KVAL(K_F163) +KVAL(K_F164) +KVAL(K_F165) +KVAL(K_F166) +KVAL(K_F167) +KVAL(K_F168) +KVAL(K_F169) +KVAL(K_F170) +KVAL(K_F171) +KVAL(K_F172) +KVAL(K_F173) +KVAL(K_F174) +KVAL(K_F175) +KVAL(K_F176) +KVAL(K_F177) +KVAL(K_F178) +KVAL(K_F179) +KVAL(K_F180) +KVAL(K_F181) +KVAL(K_F182) +KVAL(K_F183) +KVAL(K_F184) +KVAL(K_F185) +KVAL(K_F186) +KVAL(K_F187) +KVAL(K_F188) +KVAL(K_F189) +KVAL(K_F190) +KVAL(K_F191) +KVAL(K_F192) +KVAL(K_F193) +KVAL(K_F194) +KVAL(K_F195) +KVAL(K_F196) +KVAL(K_F197) +KVAL(K_F198) +KVAL(K_F199) +KVAL(K_F200) +KVAL(K_F201) +KVAL(K_F202) +KVAL(K_F203) +KVAL(K_F204) +KVAL(K_F205) +KVAL(K_F206) +KVAL(K_F207) +KVAL(K_F208) +KVAL(K_F209) +KVAL(K_F210) +KVAL(K_F211) +KVAL(K_F212) +KVAL(K_F213) +KVAL(K_F214) +KVAL(K_F215) +KVAL(K_F216) +KVAL(K_F217) +KVAL(K_F218) +KVAL(K_F219) +KVAL(K_F220) +KVAL(K_F221) +KVAL(K_F222) +KVAL(K_F223) +KVAL(K_F224) +KVAL(K_F225) +KVAL(K_F226) +KVAL(K_F227) +KVAL(K_F228) +KVAL(K_F229) +KVAL(K_F230) +KVAL(K_F231) +KVAL(K_F232) +KVAL(K_F233) +KVAL(K_F234) +KVAL(K_F235) +KVAL(K_F236) +KVAL(K_F237) +KVAL(K_F238) +KVAL(K_F239) +KVAL(K_F240) +KVAL(K_F241) +KVAL(K_F242) +KVAL(K_F243) +KVAL(K_F244) +KVAL(K_F245) +KVAL(K_UNDO)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_fn_keys.h
Added
@@ -0,0 +1,7201 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_fn_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_F1) || (defined(HAVE_DECL_K_F1) && HAVE_DECL_K_F1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F1) == (K(KT_FN,0)), "K_F1 != K(KT_FN,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F1 K(KT_FN,0) +#endif +#if defined(K_F1) || (defined(HAVE_DECL_K_F1) && HAVE_DECL_K_F1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F1) +#endif +#if defined(K_F2) || (defined(HAVE_DECL_K_F2) && HAVE_DECL_K_F2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F2) == (K(KT_FN,1)), "K_F2 != K(KT_FN,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F2 K(KT_FN,1) +#endif +#if defined(K_F2) || (defined(HAVE_DECL_K_F2) && HAVE_DECL_K_F2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F2) +#endif +#if defined(K_F3) || (defined(HAVE_DECL_K_F3) && HAVE_DECL_K_F3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F3) == (K(KT_FN,2)), "K_F3 != K(KT_FN,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F3 K(KT_FN,2) +#endif +#if defined(K_F3) || (defined(HAVE_DECL_K_F3) && HAVE_DECL_K_F3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F3) +#endif +#if defined(K_F4) || (defined(HAVE_DECL_K_F4) && HAVE_DECL_K_F4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F4) == (K(KT_FN,3)), "K_F4 != K(KT_FN,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F4 K(KT_FN,3) +#endif +#if defined(K_F4) || (defined(HAVE_DECL_K_F4) && HAVE_DECL_K_F4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F4) +#endif +#if defined(K_F5) || (defined(HAVE_DECL_K_F5) && HAVE_DECL_K_F5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F5) == (K(KT_FN,4)), "K_F5 != K(KT_FN,4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F5 K(KT_FN,4) +#endif +#if defined(K_F5) || (defined(HAVE_DECL_K_F5) && HAVE_DECL_K_F5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F5) +#endif +#if defined(K_F6) || (defined(HAVE_DECL_K_F6) && HAVE_DECL_K_F6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F6) == (K(KT_FN,5)), "K_F6 != K(KT_FN,5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F6 K(KT_FN,5) +#endif +#if defined(K_F6) || (defined(HAVE_DECL_K_F6) && HAVE_DECL_K_F6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F6) +#endif +#if defined(K_F7) || (defined(HAVE_DECL_K_F7) && HAVE_DECL_K_F7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F7) == (K(KT_FN,6)), "K_F7 != K(KT_FN,6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F7 K(KT_FN,6) +#endif +#if defined(K_F7) || (defined(HAVE_DECL_K_F7) && HAVE_DECL_K_F7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F7) +#endif +#if defined(K_F8) || (defined(HAVE_DECL_K_F8) && HAVE_DECL_K_F8) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F8) == (K(KT_FN,7)), "K_F8 != K(KT_FN,7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F8 K(KT_FN,7) +#endif +#if defined(K_F8) || (defined(HAVE_DECL_K_F8) && HAVE_DECL_K_F8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F8) +#endif +#if defined(K_F9) || (defined(HAVE_DECL_K_F9) && HAVE_DECL_K_F9) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F9) == (K(KT_FN,8)), "K_F9 != K(KT_FN,8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F9 K(KT_FN,8) +#endif +#if defined(K_F9) || (defined(HAVE_DECL_K_F9) && HAVE_DECL_K_F9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F9) +#endif +#if defined(K_F10) || (defined(HAVE_DECL_K_F10) && HAVE_DECL_K_F10) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F10) == (K(KT_FN,9)), "K_F10 != K(KT_FN,9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F10 K(KT_FN,9) +#endif +#if defined(K_F10) || (defined(HAVE_DECL_K_F10) && HAVE_DECL_K_F10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F10) +#endif +#if defined(K_F11) || (defined(HAVE_DECL_K_F11) && HAVE_DECL_K_F11) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F11) == (K(KT_FN,10)), "K_F11 != K(KT_FN,10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F11 K(KT_FN,10) +#endif +#if defined(K_F11) || (defined(HAVE_DECL_K_F11) && HAVE_DECL_K_F11) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F11) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F11" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F11) +#endif +#if defined(K_F12) || (defined(HAVE_DECL_K_F12) && HAVE_DECL_K_F12) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F12) == (K(KT_FN,11)), "K_F12 != K(KT_FN,11)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F12 K(KT_FN,11) +#endif +#if defined(K_F12) || (defined(HAVE_DECL_K_F12) && HAVE_DECL_K_F12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F12) +#endif +#if defined(K_F13) || (defined(HAVE_DECL_K_F13) && HAVE_DECL_K_F13) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F13) == (K(KT_FN,12)), "K_F13 != K(KT_FN,12)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F13 K(KT_FN,12) +#endif +#if defined(K_F13) || (defined(HAVE_DECL_K_F13) && HAVE_DECL_K_F13) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F13) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F13" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F13) +#endif +#if defined(K_F14) || (defined(HAVE_DECL_K_F14) && HAVE_DECL_K_F14) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F14) == (K(KT_FN,13)), "K_F14 != K(KT_FN,13)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F14 K(KT_FN,13) +#endif +#if defined(K_F14) || (defined(HAVE_DECL_K_F14) && HAVE_DECL_K_F14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F14) +#endif +#if defined(K_F15) || (defined(HAVE_DECL_K_F15) && HAVE_DECL_K_F15) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F15) == (K(KT_FN,14)), "K_F15 != K(KT_FN,14)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F15 K(KT_FN,14) +#endif +#if defined(K_F15) || (defined(HAVE_DECL_K_F15) && HAVE_DECL_K_F15) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F15) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F15" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F15) +#endif +#if defined(K_F16) || (defined(HAVE_DECL_K_F16) && HAVE_DECL_K_F16) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F16) == (K(KT_FN,15)), "K_F16 != K(KT_FN,15)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F16 K(KT_FN,15) +#endif +#if defined(K_F16) || (defined(HAVE_DECL_K_F16) && HAVE_DECL_K_F16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F16) +#endif +#if defined(K_F17) || (defined(HAVE_DECL_K_F17) && HAVE_DECL_K_F17) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F17) == (K(KT_FN,16)), "K_F17 != K(KT_FN,16)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F17 K(KT_FN,16) +#endif +#if defined(K_F17) || (defined(HAVE_DECL_K_F17) && HAVE_DECL_K_F17) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F17) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F17" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F17) +#endif +#if defined(K_F18) || (defined(HAVE_DECL_K_F18) && HAVE_DECL_K_F18) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F18) == (K(KT_FN,17)), "K_F18 != K(KT_FN,17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F18 K(KT_FN,17) +#endif +#if defined(K_F18) || (defined(HAVE_DECL_K_F18) && HAVE_DECL_K_F18) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F18) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F18" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F18) +#endif +#if defined(K_F19) || (defined(HAVE_DECL_K_F19) && HAVE_DECL_K_F19) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F19) == (K(KT_FN,18)), "K_F19 != K(KT_FN,18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F19 K(KT_FN,18) +#endif +#if defined(K_F19) || (defined(HAVE_DECL_K_F19) && HAVE_DECL_K_F19) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F19) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F19" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F19) +#endif +#if defined(K_F20) || (defined(HAVE_DECL_K_F20) && HAVE_DECL_K_F20) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F20) == (K(KT_FN,19)), "K_F20 != K(KT_FN,19)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F20 K(KT_FN,19) +#endif +#if defined(K_F20) || (defined(HAVE_DECL_K_F20) && HAVE_DECL_K_F20) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F20) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F20" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F20) +#endif +#if defined(K_FIND) || (defined(HAVE_DECL_K_FIND) && HAVE_DECL_K_FIND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_FIND) == (K(KT_FN,20)), "K_FIND != K(KT_FN,20)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_FIND K(KT_FN,20) +#endif +#if defined(K_FIND) || (defined(HAVE_DECL_K_FIND) && HAVE_DECL_K_FIND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_FIND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_FIND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_FIND) +#endif +#if defined(K_INSERT) || (defined(HAVE_DECL_K_INSERT) && HAVE_DECL_K_INSERT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_INSERT) == (K(KT_FN,21)), "K_INSERT != K(KT_FN,21)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_INSERT K(KT_FN,21) +#endif +#if defined(K_INSERT) || (defined(HAVE_DECL_K_INSERT) && HAVE_DECL_K_INSERT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_INSERT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_INSERT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_INSERT) +#endif +#if defined(K_REMOVE) || (defined(HAVE_DECL_K_REMOVE) && HAVE_DECL_K_REMOVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_REMOVE) == (K(KT_FN,22)), "K_REMOVE != K(KT_FN,22)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_REMOVE K(KT_FN,22) +#endif +#if defined(K_REMOVE) || (defined(HAVE_DECL_K_REMOVE) && HAVE_DECL_K_REMOVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_REMOVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_REMOVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_REMOVE) +#endif +#if defined(K_SELECT) || (defined(HAVE_DECL_K_SELECT) && HAVE_DECL_K_SELECT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SELECT) == (K(KT_FN,23)), "K_SELECT != K(KT_FN,23)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SELECT K(KT_FN,23) +#endif +#if defined(K_SELECT) || (defined(HAVE_DECL_K_SELECT) && HAVE_DECL_K_SELECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SELECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SELECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SELECT) +#endif +#if defined(K_PGUP) || (defined(HAVE_DECL_K_PGUP) && HAVE_DECL_K_PGUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PGUP) == (K(KT_FN,24)), "K_PGUP != K(KT_FN,24)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PGUP K(KT_FN,24) +#endif +#if defined(K_PGUP) || (defined(HAVE_DECL_K_PGUP) && HAVE_DECL_K_PGUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PGUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PGUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PGUP) +#endif +#if defined(K_PGDN) || (defined(HAVE_DECL_K_PGDN) && HAVE_DECL_K_PGDN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PGDN) == (K(KT_FN,25)), "K_PGDN != K(KT_FN,25)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PGDN K(KT_FN,25) +#endif +#if defined(K_PGDN) || (defined(HAVE_DECL_K_PGDN) && HAVE_DECL_K_PGDN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PGDN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PGDN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PGDN) +#endif +#if defined(K_MACRO) || (defined(HAVE_DECL_K_MACRO) && HAVE_DECL_K_MACRO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_MACRO) == (K(KT_FN,26)), "K_MACRO != K(KT_FN,26)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_MACRO K(KT_FN,26) +#endif +#if defined(K_MACRO) || (defined(HAVE_DECL_K_MACRO) && HAVE_DECL_K_MACRO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_MACRO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_MACRO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_MACRO) +#endif +#if defined(K_HELP) || (defined(HAVE_DECL_K_HELP) && HAVE_DECL_K_HELP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HELP) == (K(KT_FN,27)), "K_HELP != K(KT_FN,27)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HELP K(KT_FN,27) +#endif +#if defined(K_HELP) || (defined(HAVE_DECL_K_HELP) && HAVE_DECL_K_HELP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HELP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HELP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HELP) +#endif +#if defined(K_DO) || (defined(HAVE_DECL_K_DO) && HAVE_DECL_K_DO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DO) == (K(KT_FN,28)), "K_DO != K(KT_FN,28)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DO K(KT_FN,28) +#endif +#if defined(K_DO) || (defined(HAVE_DECL_K_DO) && HAVE_DECL_K_DO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DO) +#endif +#if defined(K_PAUSE) || (defined(HAVE_DECL_K_PAUSE) && HAVE_DECL_K_PAUSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PAUSE) == (K(KT_FN,29)), "K_PAUSE != K(KT_FN,29)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PAUSE K(KT_FN,29) +#endif +#if defined(K_PAUSE) || (defined(HAVE_DECL_K_PAUSE) && HAVE_DECL_K_PAUSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PAUSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PAUSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PAUSE) +#endif +#if defined(K_F21) || (defined(HAVE_DECL_K_F21) && HAVE_DECL_K_F21) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F21) == (K(KT_FN,30)), "K_F21 != K(KT_FN,30)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F21 K(KT_FN,30) +#endif +#if defined(K_F21) || (defined(HAVE_DECL_K_F21) && HAVE_DECL_K_F21) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F21) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F21" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F21) +#endif +#if defined(K_F22) || (defined(HAVE_DECL_K_F22) && HAVE_DECL_K_F22) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F22) == (K(KT_FN,31)), "K_F22 != K(KT_FN,31)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F22 K(KT_FN,31) +#endif +#if defined(K_F22) || (defined(HAVE_DECL_K_F22) && HAVE_DECL_K_F22) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F22) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F22" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F22) +#endif +#if defined(K_F23) || (defined(HAVE_DECL_K_F23) && HAVE_DECL_K_F23) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F23) == (K(KT_FN,32)), "K_F23 != K(KT_FN,32)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F23 K(KT_FN,32) +#endif +#if defined(K_F23) || (defined(HAVE_DECL_K_F23) && HAVE_DECL_K_F23) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F23) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F23" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F23) +#endif +#if defined(K_F24) || (defined(HAVE_DECL_K_F24) && HAVE_DECL_K_F24) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F24) == (K(KT_FN,33)), "K_F24 != K(KT_FN,33)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F24 K(KT_FN,33) +#endif +#if defined(K_F24) || (defined(HAVE_DECL_K_F24) && HAVE_DECL_K_F24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F24) +#endif +#if defined(K_F25) || (defined(HAVE_DECL_K_F25) && HAVE_DECL_K_F25) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F25) == (K(KT_FN,34)), "K_F25 != K(KT_FN,34)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F25 K(KT_FN,34) +#endif +#if defined(K_F25) || (defined(HAVE_DECL_K_F25) && HAVE_DECL_K_F25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F25) +#endif +#if defined(K_F26) || (defined(HAVE_DECL_K_F26) && HAVE_DECL_K_F26) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F26) == (K(KT_FN,35)), "K_F26 != K(KT_FN,35)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F26 K(KT_FN,35) +#endif +#if defined(K_F26) || (defined(HAVE_DECL_K_F26) && HAVE_DECL_K_F26) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F26) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F26" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F26) +#endif +#if defined(K_F27) || (defined(HAVE_DECL_K_F27) && HAVE_DECL_K_F27) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F27) == (K(KT_FN,36)), "K_F27 != K(KT_FN,36)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F27 K(KT_FN,36) +#endif +#if defined(K_F27) || (defined(HAVE_DECL_K_F27) && HAVE_DECL_K_F27) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F27) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F27" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F27) +#endif +#if defined(K_F28) || (defined(HAVE_DECL_K_F28) && HAVE_DECL_K_F28) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F28) == (K(KT_FN,37)), "K_F28 != K(KT_FN,37)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F28 K(KT_FN,37) +#endif +#if defined(K_F28) || (defined(HAVE_DECL_K_F28) && HAVE_DECL_K_F28) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F28) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F28" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F28) +#endif +#if defined(K_F29) || (defined(HAVE_DECL_K_F29) && HAVE_DECL_K_F29) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F29) == (K(KT_FN,38)), "K_F29 != K(KT_FN,38)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F29 K(KT_FN,38) +#endif +#if defined(K_F29) || (defined(HAVE_DECL_K_F29) && HAVE_DECL_K_F29) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F29) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F29" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F29) +#endif +#if defined(K_F30) || (defined(HAVE_DECL_K_F30) && HAVE_DECL_K_F30) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F30) == (K(KT_FN,39)), "K_F30 != K(KT_FN,39)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F30 K(KT_FN,39) +#endif +#if defined(K_F30) || (defined(HAVE_DECL_K_F30) && HAVE_DECL_K_F30) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F30) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F30" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F30) +#endif +#if defined(K_F31) || (defined(HAVE_DECL_K_F31) && HAVE_DECL_K_F31) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F31) == (K(KT_FN,40)), "K_F31 != K(KT_FN,40)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F31 K(KT_FN,40) +#endif +#if defined(K_F31) || (defined(HAVE_DECL_K_F31) && HAVE_DECL_K_F31) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F31) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F31" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F31) +#endif +#if defined(K_F32) || (defined(HAVE_DECL_K_F32) && HAVE_DECL_K_F32) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F32) == (K(KT_FN,41)), "K_F32 != K(KT_FN,41)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F32 K(KT_FN,41) +#endif +#if defined(K_F32) || (defined(HAVE_DECL_K_F32) && HAVE_DECL_K_F32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F32) +#endif +#if defined(K_F33) || (defined(HAVE_DECL_K_F33) && HAVE_DECL_K_F33) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F33) == (K(KT_FN,42)), "K_F33 != K(KT_FN,42)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F33 K(KT_FN,42) +#endif +#if defined(K_F33) || (defined(HAVE_DECL_K_F33) && HAVE_DECL_K_F33) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F33) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F33" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F33) +#endif +#if defined(K_F34) || (defined(HAVE_DECL_K_F34) && HAVE_DECL_K_F34) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F34) == (K(KT_FN,43)), "K_F34 != K(KT_FN,43)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F34 K(KT_FN,43) +#endif +#if defined(K_F34) || (defined(HAVE_DECL_K_F34) && HAVE_DECL_K_F34) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F34) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F34" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F34) +#endif +#if defined(K_F35) || (defined(HAVE_DECL_K_F35) && HAVE_DECL_K_F35) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F35) == (K(KT_FN,44)), "K_F35 != K(KT_FN,44)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F35 K(KT_FN,44) +#endif +#if defined(K_F35) || (defined(HAVE_DECL_K_F35) && HAVE_DECL_K_F35) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F35) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F35" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F35) +#endif +#if defined(K_F36) || (defined(HAVE_DECL_K_F36) && HAVE_DECL_K_F36) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F36) == (K(KT_FN,45)), "K_F36 != K(KT_FN,45)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F36 K(KT_FN,45) +#endif +#if defined(K_F36) || (defined(HAVE_DECL_K_F36) && HAVE_DECL_K_F36) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F36) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F36" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F36) +#endif +#if defined(K_F37) || (defined(HAVE_DECL_K_F37) && HAVE_DECL_K_F37) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F37) == (K(KT_FN,46)), "K_F37 != K(KT_FN,46)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F37 K(KT_FN,46) +#endif +#if defined(K_F37) || (defined(HAVE_DECL_K_F37) && HAVE_DECL_K_F37) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F37) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F37" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F37) +#endif +#if defined(K_F38) || (defined(HAVE_DECL_K_F38) && HAVE_DECL_K_F38) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F38) == (K(KT_FN,47)), "K_F38 != K(KT_FN,47)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F38 K(KT_FN,47) +#endif +#if defined(K_F38) || (defined(HAVE_DECL_K_F38) && HAVE_DECL_K_F38) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F38) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F38" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F38) +#endif +#if defined(K_F39) || (defined(HAVE_DECL_K_F39) && HAVE_DECL_K_F39) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F39) == (K(KT_FN,48)), "K_F39 != K(KT_FN,48)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F39 K(KT_FN,48) +#endif +#if defined(K_F39) || (defined(HAVE_DECL_K_F39) && HAVE_DECL_K_F39) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F39) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F39" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F39) +#endif +#if defined(K_F40) || (defined(HAVE_DECL_K_F40) && HAVE_DECL_K_F40) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F40) == (K(KT_FN,49)), "K_F40 != K(KT_FN,49)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F40 K(KT_FN,49) +#endif +#if defined(K_F40) || (defined(HAVE_DECL_K_F40) && HAVE_DECL_K_F40) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F40) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F40" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F40) +#endif +#if defined(K_F41) || (defined(HAVE_DECL_K_F41) && HAVE_DECL_K_F41) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F41) == (K(KT_FN,50)), "K_F41 != K(KT_FN,50)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F41 K(KT_FN,50) +#endif +#if defined(K_F41) || (defined(HAVE_DECL_K_F41) && HAVE_DECL_K_F41) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F41) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F41" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F41) +#endif +#if defined(K_F42) || (defined(HAVE_DECL_K_F42) && HAVE_DECL_K_F42) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F42) == (K(KT_FN,51)), "K_F42 != K(KT_FN,51)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F42 K(KT_FN,51) +#endif +#if defined(K_F42) || (defined(HAVE_DECL_K_F42) && HAVE_DECL_K_F42) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F42) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F42" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F42) +#endif +#if defined(K_F43) || (defined(HAVE_DECL_K_F43) && HAVE_DECL_K_F43) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F43) == (K(KT_FN,52)), "K_F43 != K(KT_FN,52)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F43 K(KT_FN,52) +#endif +#if defined(K_F43) || (defined(HAVE_DECL_K_F43) && HAVE_DECL_K_F43) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F43) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F43" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F43) +#endif +#if defined(K_F44) || (defined(HAVE_DECL_K_F44) && HAVE_DECL_K_F44) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F44) == (K(KT_FN,53)), "K_F44 != K(KT_FN,53)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F44 K(KT_FN,53) +#endif +#if defined(K_F44) || (defined(HAVE_DECL_K_F44) && HAVE_DECL_K_F44) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F44) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F44" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F44) +#endif +#if defined(K_F45) || (defined(HAVE_DECL_K_F45) && HAVE_DECL_K_F45) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F45) == (K(KT_FN,54)), "K_F45 != K(KT_FN,54)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F45 K(KT_FN,54) +#endif +#if defined(K_F45) || (defined(HAVE_DECL_K_F45) && HAVE_DECL_K_F45) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F45) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F45" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F45) +#endif +#if defined(K_F46) || (defined(HAVE_DECL_K_F46) && HAVE_DECL_K_F46) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F46) == (K(KT_FN,55)), "K_F46 != K(KT_FN,55)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F46 K(KT_FN,55) +#endif +#if defined(K_F46) || (defined(HAVE_DECL_K_F46) && HAVE_DECL_K_F46) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F46) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F46" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F46) +#endif +#if defined(K_F47) || (defined(HAVE_DECL_K_F47) && HAVE_DECL_K_F47) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F47) == (K(KT_FN,56)), "K_F47 != K(KT_FN,56)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F47 K(KT_FN,56) +#endif +#if defined(K_F47) || (defined(HAVE_DECL_K_F47) && HAVE_DECL_K_F47) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F47) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F47" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F47) +#endif +#if defined(K_F48) || (defined(HAVE_DECL_K_F48) && HAVE_DECL_K_F48) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F48) == (K(KT_FN,57)), "K_F48 != K(KT_FN,57)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F48 K(KT_FN,57) +#endif +#if defined(K_F48) || (defined(HAVE_DECL_K_F48) && HAVE_DECL_K_F48) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F48) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F48" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F48) +#endif +#if defined(K_F49) || (defined(HAVE_DECL_K_F49) && HAVE_DECL_K_F49) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F49) == (K(KT_FN,58)), "K_F49 != K(KT_FN,58)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F49 K(KT_FN,58) +#endif +#if defined(K_F49) || (defined(HAVE_DECL_K_F49) && HAVE_DECL_K_F49) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F49) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F49" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F49) +#endif +#if defined(K_F50) || (defined(HAVE_DECL_K_F50) && HAVE_DECL_K_F50) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F50) == (K(KT_FN,59)), "K_F50 != K(KT_FN,59)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F50 K(KT_FN,59) +#endif +#if defined(K_F50) || (defined(HAVE_DECL_K_F50) && HAVE_DECL_K_F50) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F50) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F50" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F50) +#endif +#if defined(K_F51) || (defined(HAVE_DECL_K_F51) && HAVE_DECL_K_F51) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F51) == (K(KT_FN,60)), "K_F51 != K(KT_FN,60)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F51 K(KT_FN,60) +#endif +#if defined(K_F51) || (defined(HAVE_DECL_K_F51) && HAVE_DECL_K_F51) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F51) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F51" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F51) +#endif +#if defined(K_F52) || (defined(HAVE_DECL_K_F52) && HAVE_DECL_K_F52) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F52) == (K(KT_FN,61)), "K_F52 != K(KT_FN,61)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F52 K(KT_FN,61) +#endif +#if defined(K_F52) || (defined(HAVE_DECL_K_F52) && HAVE_DECL_K_F52) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F52) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F52" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F52) +#endif +#if defined(K_F53) || (defined(HAVE_DECL_K_F53) && HAVE_DECL_K_F53) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F53) == (K(KT_FN,62)), "K_F53 != K(KT_FN,62)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F53 K(KT_FN,62) +#endif +#if defined(K_F53) || (defined(HAVE_DECL_K_F53) && HAVE_DECL_K_F53) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F53) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F53" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F53) +#endif +#if defined(K_F54) || (defined(HAVE_DECL_K_F54) && HAVE_DECL_K_F54) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F54) == (K(KT_FN,63)), "K_F54 != K(KT_FN,63)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F54 K(KT_FN,63) +#endif +#if defined(K_F54) || (defined(HAVE_DECL_K_F54) && HAVE_DECL_K_F54) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F54) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F54" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F54) +#endif +#if defined(K_F55) || (defined(HAVE_DECL_K_F55) && HAVE_DECL_K_F55) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F55) == (K(KT_FN,64)), "K_F55 != K(KT_FN,64)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F55 K(KT_FN,64) +#endif +#if defined(K_F55) || (defined(HAVE_DECL_K_F55) && HAVE_DECL_K_F55) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F55) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F55" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F55) +#endif +#if defined(K_F56) || (defined(HAVE_DECL_K_F56) && HAVE_DECL_K_F56) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F56) == (K(KT_FN,65)), "K_F56 != K(KT_FN,65)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F56 K(KT_FN,65) +#endif +#if defined(K_F56) || (defined(HAVE_DECL_K_F56) && HAVE_DECL_K_F56) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F56) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F56" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F56) +#endif +#if defined(K_F57) || (defined(HAVE_DECL_K_F57) && HAVE_DECL_K_F57) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F57) == (K(KT_FN,66)), "K_F57 != K(KT_FN,66)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F57 K(KT_FN,66) +#endif +#if defined(K_F57) || (defined(HAVE_DECL_K_F57) && HAVE_DECL_K_F57) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F57) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F57" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F57) +#endif +#if defined(K_F58) || (defined(HAVE_DECL_K_F58) && HAVE_DECL_K_F58) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F58) == (K(KT_FN,67)), "K_F58 != K(KT_FN,67)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F58 K(KT_FN,67) +#endif +#if defined(K_F58) || (defined(HAVE_DECL_K_F58) && HAVE_DECL_K_F58) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F58) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F58" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F58) +#endif +#if defined(K_F59) || (defined(HAVE_DECL_K_F59) && HAVE_DECL_K_F59) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F59) == (K(KT_FN,68)), "K_F59 != K(KT_FN,68)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F59 K(KT_FN,68) +#endif +#if defined(K_F59) || (defined(HAVE_DECL_K_F59) && HAVE_DECL_K_F59) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F59) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F59" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F59) +#endif +#if defined(K_F60) || (defined(HAVE_DECL_K_F60) && HAVE_DECL_K_F60) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F60) == (K(KT_FN,69)), "K_F60 != K(KT_FN,69)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F60 K(KT_FN,69) +#endif +#if defined(K_F60) || (defined(HAVE_DECL_K_F60) && HAVE_DECL_K_F60) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F60) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F60" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F60) +#endif +#if defined(K_F61) || (defined(HAVE_DECL_K_F61) && HAVE_DECL_K_F61) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F61) == (K(KT_FN,70)), "K_F61 != K(KT_FN,70)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F61 K(KT_FN,70) +#endif +#if defined(K_F61) || (defined(HAVE_DECL_K_F61) && HAVE_DECL_K_F61) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F61) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F61" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F61) +#endif +#if defined(K_F62) || (defined(HAVE_DECL_K_F62) && HAVE_DECL_K_F62) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F62) == (K(KT_FN,71)), "K_F62 != K(KT_FN,71)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F62 K(KT_FN,71) +#endif +#if defined(K_F62) || (defined(HAVE_DECL_K_F62) && HAVE_DECL_K_F62) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F62) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F62" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F62) +#endif +#if defined(K_F63) || (defined(HAVE_DECL_K_F63) && HAVE_DECL_K_F63) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F63) == (K(KT_FN,72)), "K_F63 != K(KT_FN,72)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F63 K(KT_FN,72) +#endif +#if defined(K_F63) || (defined(HAVE_DECL_K_F63) && HAVE_DECL_K_F63) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F63) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F63" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F63) +#endif +#if defined(K_F64) || (defined(HAVE_DECL_K_F64) && HAVE_DECL_K_F64) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F64) == (K(KT_FN,73)), "K_F64 != K(KT_FN,73)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F64 K(KT_FN,73) +#endif +#if defined(K_F64) || (defined(HAVE_DECL_K_F64) && HAVE_DECL_K_F64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F64) +#endif +#if defined(K_F65) || (defined(HAVE_DECL_K_F65) && HAVE_DECL_K_F65) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F65) == (K(KT_FN,74)), "K_F65 != K(KT_FN,74)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F65 K(KT_FN,74) +#endif +#if defined(K_F65) || (defined(HAVE_DECL_K_F65) && HAVE_DECL_K_F65) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F65) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F65" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F65) +#endif +#if defined(K_F66) || (defined(HAVE_DECL_K_F66) && HAVE_DECL_K_F66) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F66) == (K(KT_FN,75)), "K_F66 != K(KT_FN,75)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F66 K(KT_FN,75) +#endif +#if defined(K_F66) || (defined(HAVE_DECL_K_F66) && HAVE_DECL_K_F66) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F66) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F66" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F66) +#endif +#if defined(K_F67) || (defined(HAVE_DECL_K_F67) && HAVE_DECL_K_F67) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F67) == (K(KT_FN,76)), "K_F67 != K(KT_FN,76)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F67 K(KT_FN,76) +#endif +#if defined(K_F67) || (defined(HAVE_DECL_K_F67) && HAVE_DECL_K_F67) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F67) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F67" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F67) +#endif +#if defined(K_F68) || (defined(HAVE_DECL_K_F68) && HAVE_DECL_K_F68) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F68) == (K(KT_FN,77)), "K_F68 != K(KT_FN,77)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F68 K(KT_FN,77) +#endif +#if defined(K_F68) || (defined(HAVE_DECL_K_F68) && HAVE_DECL_K_F68) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F68) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F68" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F68) +#endif +#if defined(K_F69) || (defined(HAVE_DECL_K_F69) && HAVE_DECL_K_F69) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F69) == (K(KT_FN,78)), "K_F69 != K(KT_FN,78)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F69 K(KT_FN,78) +#endif +#if defined(K_F69) || (defined(HAVE_DECL_K_F69) && HAVE_DECL_K_F69) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F69) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F69" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F69) +#endif +#if defined(K_F70) || (defined(HAVE_DECL_K_F70) && HAVE_DECL_K_F70) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F70) == (K(KT_FN,79)), "K_F70 != K(KT_FN,79)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F70 K(KT_FN,79) +#endif +#if defined(K_F70) || (defined(HAVE_DECL_K_F70) && HAVE_DECL_K_F70) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F70) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F70" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F70) +#endif +#if defined(K_F71) || (defined(HAVE_DECL_K_F71) && HAVE_DECL_K_F71) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F71) == (K(KT_FN,80)), "K_F71 != K(KT_FN,80)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F71 K(KT_FN,80) +#endif +#if defined(K_F71) || (defined(HAVE_DECL_K_F71) && HAVE_DECL_K_F71) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F71) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F71" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F71) +#endif +#if defined(K_F72) || (defined(HAVE_DECL_K_F72) && HAVE_DECL_K_F72) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F72) == (K(KT_FN,81)), "K_F72 != K(KT_FN,81)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F72 K(KT_FN,81) +#endif +#if defined(K_F72) || (defined(HAVE_DECL_K_F72) && HAVE_DECL_K_F72) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F72) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F72" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F72) +#endif +#if defined(K_F73) || (defined(HAVE_DECL_K_F73) && HAVE_DECL_K_F73) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F73) == (K(KT_FN,82)), "K_F73 != K(KT_FN,82)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F73 K(KT_FN,82) +#endif +#if defined(K_F73) || (defined(HAVE_DECL_K_F73) && HAVE_DECL_K_F73) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F73) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F73" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F73) +#endif +#if defined(K_F74) || (defined(HAVE_DECL_K_F74) && HAVE_DECL_K_F74) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F74) == (K(KT_FN,83)), "K_F74 != K(KT_FN,83)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F74 K(KT_FN,83) +#endif +#if defined(K_F74) || (defined(HAVE_DECL_K_F74) && HAVE_DECL_K_F74) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F74) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F74" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F74) +#endif +#if defined(K_F75) || (defined(HAVE_DECL_K_F75) && HAVE_DECL_K_F75) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F75) == (K(KT_FN,84)), "K_F75 != K(KT_FN,84)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F75 K(KT_FN,84) +#endif +#if defined(K_F75) || (defined(HAVE_DECL_K_F75) && HAVE_DECL_K_F75) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F75) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F75" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F75) +#endif +#if defined(K_F76) || (defined(HAVE_DECL_K_F76) && HAVE_DECL_K_F76) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F76) == (K(KT_FN,85)), "K_F76 != K(KT_FN,85)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F76 K(KT_FN,85) +#endif +#if defined(K_F76) || (defined(HAVE_DECL_K_F76) && HAVE_DECL_K_F76) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F76) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F76" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F76) +#endif +#if defined(K_F77) || (defined(HAVE_DECL_K_F77) && HAVE_DECL_K_F77) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F77) == (K(KT_FN,86)), "K_F77 != K(KT_FN,86)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F77 K(KT_FN,86) +#endif +#if defined(K_F77) || (defined(HAVE_DECL_K_F77) && HAVE_DECL_K_F77) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F77) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F77" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F77) +#endif +#if defined(K_F78) || (defined(HAVE_DECL_K_F78) && HAVE_DECL_K_F78) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F78) == (K(KT_FN,87)), "K_F78 != K(KT_FN,87)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F78 K(KT_FN,87) +#endif +#if defined(K_F78) || (defined(HAVE_DECL_K_F78) && HAVE_DECL_K_F78) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F78) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F78" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F78) +#endif +#if defined(K_F79) || (defined(HAVE_DECL_K_F79) && HAVE_DECL_K_F79) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F79) == (K(KT_FN,88)), "K_F79 != K(KT_FN,88)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F79 K(KT_FN,88) +#endif +#if defined(K_F79) || (defined(HAVE_DECL_K_F79) && HAVE_DECL_K_F79) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F79) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F79" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F79) +#endif +#if defined(K_F80) || (defined(HAVE_DECL_K_F80) && HAVE_DECL_K_F80) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F80) == (K(KT_FN,89)), "K_F80 != K(KT_FN,89)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F80 K(KT_FN,89) +#endif +#if defined(K_F80) || (defined(HAVE_DECL_K_F80) && HAVE_DECL_K_F80) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F80) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F80" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F80) +#endif +#if defined(K_F81) || (defined(HAVE_DECL_K_F81) && HAVE_DECL_K_F81) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F81) == (K(KT_FN,90)), "K_F81 != K(KT_FN,90)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F81 K(KT_FN,90) +#endif +#if defined(K_F81) || (defined(HAVE_DECL_K_F81) && HAVE_DECL_K_F81) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F81) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F81" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F81) +#endif +#if defined(K_F82) || (defined(HAVE_DECL_K_F82) && HAVE_DECL_K_F82) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F82) == (K(KT_FN,91)), "K_F82 != K(KT_FN,91)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F82 K(KT_FN,91) +#endif +#if defined(K_F82) || (defined(HAVE_DECL_K_F82) && HAVE_DECL_K_F82) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F82) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F82" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F82) +#endif +#if defined(K_F83) || (defined(HAVE_DECL_K_F83) && HAVE_DECL_K_F83) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F83) == (K(KT_FN,92)), "K_F83 != K(KT_FN,92)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F83 K(KT_FN,92) +#endif +#if defined(K_F83) || (defined(HAVE_DECL_K_F83) && HAVE_DECL_K_F83) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F83) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F83" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F83) +#endif +#if defined(K_F84) || (defined(HAVE_DECL_K_F84) && HAVE_DECL_K_F84) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F84) == (K(KT_FN,93)), "K_F84 != K(KT_FN,93)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F84 K(KT_FN,93) +#endif +#if defined(K_F84) || (defined(HAVE_DECL_K_F84) && HAVE_DECL_K_F84) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F84) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F84" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F84) +#endif +#if defined(K_F85) || (defined(HAVE_DECL_K_F85) && HAVE_DECL_K_F85) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F85) == (K(KT_FN,94)), "K_F85 != K(KT_FN,94)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F85 K(KT_FN,94) +#endif +#if defined(K_F85) || (defined(HAVE_DECL_K_F85) && HAVE_DECL_K_F85) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F85) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F85" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F85) +#endif +#if defined(K_F86) || (defined(HAVE_DECL_K_F86) && HAVE_DECL_K_F86) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F86) == (K(KT_FN,95)), "K_F86 != K(KT_FN,95)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F86 K(KT_FN,95) +#endif +#if defined(K_F86) || (defined(HAVE_DECL_K_F86) && HAVE_DECL_K_F86) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F86) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F86" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F86) +#endif +#if defined(K_F87) || (defined(HAVE_DECL_K_F87) && HAVE_DECL_K_F87) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F87) == (K(KT_FN,96)), "K_F87 != K(KT_FN,96)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F87 K(KT_FN,96) +#endif +#if defined(K_F87) || (defined(HAVE_DECL_K_F87) && HAVE_DECL_K_F87) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F87) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F87" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F87) +#endif +#if defined(K_F88) || (defined(HAVE_DECL_K_F88) && HAVE_DECL_K_F88) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F88) == (K(KT_FN,97)), "K_F88 != K(KT_FN,97)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F88 K(KT_FN,97) +#endif +#if defined(K_F88) || (defined(HAVE_DECL_K_F88) && HAVE_DECL_K_F88) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F88) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F88" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F88) +#endif +#if defined(K_F89) || (defined(HAVE_DECL_K_F89) && HAVE_DECL_K_F89) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F89) == (K(KT_FN,98)), "K_F89 != K(KT_FN,98)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F89 K(KT_FN,98) +#endif +#if defined(K_F89) || (defined(HAVE_DECL_K_F89) && HAVE_DECL_K_F89) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F89) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F89" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F89) +#endif +#if defined(K_F90) || (defined(HAVE_DECL_K_F90) && HAVE_DECL_K_F90) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F90) == (K(KT_FN,99)), "K_F90 != K(KT_FN,99)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F90 K(KT_FN,99) +#endif +#if defined(K_F90) || (defined(HAVE_DECL_K_F90) && HAVE_DECL_K_F90) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F90) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F90" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F90) +#endif +#if defined(K_F91) || (defined(HAVE_DECL_K_F91) && HAVE_DECL_K_F91) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F91) == (K(KT_FN,100)), "K_F91 != K(KT_FN,100)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F91 K(KT_FN,100) +#endif +#if defined(K_F91) || (defined(HAVE_DECL_K_F91) && HAVE_DECL_K_F91) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F91) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F91" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F91) +#endif +#if defined(K_F92) || (defined(HAVE_DECL_K_F92) && HAVE_DECL_K_F92) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F92) == (K(KT_FN,101)), "K_F92 != K(KT_FN,101)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F92 K(KT_FN,101) +#endif +#if defined(K_F92) || (defined(HAVE_DECL_K_F92) && HAVE_DECL_K_F92) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F92) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F92" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F92) +#endif +#if defined(K_F93) || (defined(HAVE_DECL_K_F93) && HAVE_DECL_K_F93) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F93) == (K(KT_FN,102)), "K_F93 != K(KT_FN,102)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F93 K(KT_FN,102) +#endif +#if defined(K_F93) || (defined(HAVE_DECL_K_F93) && HAVE_DECL_K_F93) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F93) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F93" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F93) +#endif +#if defined(K_F94) || (defined(HAVE_DECL_K_F94) && HAVE_DECL_K_F94) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F94) == (K(KT_FN,103)), "K_F94 != K(KT_FN,103)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F94 K(KT_FN,103) +#endif +#if defined(K_F94) || (defined(HAVE_DECL_K_F94) && HAVE_DECL_K_F94) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F94) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F94" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F94) +#endif +#if defined(K_F95) || (defined(HAVE_DECL_K_F95) && HAVE_DECL_K_F95) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F95) == (K(KT_FN,104)), "K_F95 != K(KT_FN,104)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F95 K(KT_FN,104) +#endif +#if defined(K_F95) || (defined(HAVE_DECL_K_F95) && HAVE_DECL_K_F95) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F95) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F95" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F95) +#endif +#if defined(K_F96) || (defined(HAVE_DECL_K_F96) && HAVE_DECL_K_F96) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F96) == (K(KT_FN,105)), "K_F96 != K(KT_FN,105)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F96 K(KT_FN,105) +#endif +#if defined(K_F96) || (defined(HAVE_DECL_K_F96) && HAVE_DECL_K_F96) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F96) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F96" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F96) +#endif +#if defined(K_F97) || (defined(HAVE_DECL_K_F97) && HAVE_DECL_K_F97) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F97) == (K(KT_FN,106)), "K_F97 != K(KT_FN,106)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F97 K(KT_FN,106) +#endif +#if defined(K_F97) || (defined(HAVE_DECL_K_F97) && HAVE_DECL_K_F97) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F97) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F97" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F97) +#endif +#if defined(K_F98) || (defined(HAVE_DECL_K_F98) && HAVE_DECL_K_F98) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F98) == (K(KT_FN,107)), "K_F98 != K(KT_FN,107)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F98 K(KT_FN,107) +#endif +#if defined(K_F98) || (defined(HAVE_DECL_K_F98) && HAVE_DECL_K_F98) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F98) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F98" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F98) +#endif +#if defined(K_F99) || (defined(HAVE_DECL_K_F99) && HAVE_DECL_K_F99) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F99) == (K(KT_FN,108)), "K_F99 != K(KT_FN,108)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F99 K(KT_FN,108) +#endif +#if defined(K_F99) || (defined(HAVE_DECL_K_F99) && HAVE_DECL_K_F99) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F99) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F99" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F99) +#endif +#if defined(K_F100) || (defined(HAVE_DECL_K_F100) && HAVE_DECL_K_F100) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F100) == (K(KT_FN,109)), "K_F100 != K(KT_FN,109)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F100 K(KT_FN,109) +#endif +#if defined(K_F100) || (defined(HAVE_DECL_K_F100) && HAVE_DECL_K_F100) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F100) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F100" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F100) +#endif +#if defined(K_F101) || (defined(HAVE_DECL_K_F101) && HAVE_DECL_K_F101) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F101) == (K(KT_FN,110)), "K_F101 != K(KT_FN,110)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F101 K(KT_FN,110) +#endif +#if defined(K_F101) || (defined(HAVE_DECL_K_F101) && HAVE_DECL_K_F101) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F101) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F101" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F101) +#endif +#if defined(K_F102) || (defined(HAVE_DECL_K_F102) && HAVE_DECL_K_F102) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F102) == (K(KT_FN,111)), "K_F102 != K(KT_FN,111)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F102 K(KT_FN,111) +#endif +#if defined(K_F102) || (defined(HAVE_DECL_K_F102) && HAVE_DECL_K_F102) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F102) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F102" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F102) +#endif +#if defined(K_F103) || (defined(HAVE_DECL_K_F103) && HAVE_DECL_K_F103) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F103) == (K(KT_FN,112)), "K_F103 != K(KT_FN,112)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F103 K(KT_FN,112) +#endif +#if defined(K_F103) || (defined(HAVE_DECL_K_F103) && HAVE_DECL_K_F103) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F103) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F103" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F103) +#endif +#if defined(K_F104) || (defined(HAVE_DECL_K_F104) && HAVE_DECL_K_F104) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F104) == (K(KT_FN,113)), "K_F104 != K(KT_FN,113)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F104 K(KT_FN,113) +#endif +#if defined(K_F104) || (defined(HAVE_DECL_K_F104) && HAVE_DECL_K_F104) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F104) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F104" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F104) +#endif +#if defined(K_F105) || (defined(HAVE_DECL_K_F105) && HAVE_DECL_K_F105) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F105) == (K(KT_FN,114)), "K_F105 != K(KT_FN,114)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F105 K(KT_FN,114) +#endif +#if defined(K_F105) || (defined(HAVE_DECL_K_F105) && HAVE_DECL_K_F105) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F105) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F105" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F105) +#endif +#if defined(K_F106) || (defined(HAVE_DECL_K_F106) && HAVE_DECL_K_F106) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F106) == (K(KT_FN,115)), "K_F106 != K(KT_FN,115)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F106 K(KT_FN,115) +#endif +#if defined(K_F106) || (defined(HAVE_DECL_K_F106) && HAVE_DECL_K_F106) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F106) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F106" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F106) +#endif +#if defined(K_F107) || (defined(HAVE_DECL_K_F107) && HAVE_DECL_K_F107) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F107) == (K(KT_FN,116)), "K_F107 != K(KT_FN,116)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F107 K(KT_FN,116) +#endif +#if defined(K_F107) || (defined(HAVE_DECL_K_F107) && HAVE_DECL_K_F107) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F107) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F107" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F107) +#endif +#if defined(K_F108) || (defined(HAVE_DECL_K_F108) && HAVE_DECL_K_F108) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F108) == (K(KT_FN,117)), "K_F108 != K(KT_FN,117)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F108 K(KT_FN,117) +#endif +#if defined(K_F108) || (defined(HAVE_DECL_K_F108) && HAVE_DECL_K_F108) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F108) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F108" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F108) +#endif +#if defined(K_F109) || (defined(HAVE_DECL_K_F109) && HAVE_DECL_K_F109) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F109) == (K(KT_FN,118)), "K_F109 != K(KT_FN,118)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F109 K(KT_FN,118) +#endif +#if defined(K_F109) || (defined(HAVE_DECL_K_F109) && HAVE_DECL_K_F109) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F109) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F109" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F109) +#endif +#if defined(K_F110) || (defined(HAVE_DECL_K_F110) && HAVE_DECL_K_F110) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F110) == (K(KT_FN,119)), "K_F110 != K(KT_FN,119)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F110 K(KT_FN,119) +#endif +#if defined(K_F110) || (defined(HAVE_DECL_K_F110) && HAVE_DECL_K_F110) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F110) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F110" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F110) +#endif +#if defined(K_F111) || (defined(HAVE_DECL_K_F111) && HAVE_DECL_K_F111) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F111) == (K(KT_FN,120)), "K_F111 != K(KT_FN,120)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F111 K(KT_FN,120) +#endif +#if defined(K_F111) || (defined(HAVE_DECL_K_F111) && HAVE_DECL_K_F111) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F111) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F111" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F111) +#endif +#if defined(K_F112) || (defined(HAVE_DECL_K_F112) && HAVE_DECL_K_F112) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F112) == (K(KT_FN,121)), "K_F112 != K(KT_FN,121)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F112 K(KT_FN,121) +#endif +#if defined(K_F112) || (defined(HAVE_DECL_K_F112) && HAVE_DECL_K_F112) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F112) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F112" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F112) +#endif +#if defined(K_F113) || (defined(HAVE_DECL_K_F113) && HAVE_DECL_K_F113) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F113) == (K(KT_FN,122)), "K_F113 != K(KT_FN,122)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F113 K(KT_FN,122) +#endif +#if defined(K_F113) || (defined(HAVE_DECL_K_F113) && HAVE_DECL_K_F113) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F113) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F113" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F113) +#endif +#if defined(K_F114) || (defined(HAVE_DECL_K_F114) && HAVE_DECL_K_F114) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F114) == (K(KT_FN,123)), "K_F114 != K(KT_FN,123)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F114 K(KT_FN,123) +#endif +#if defined(K_F114) || (defined(HAVE_DECL_K_F114) && HAVE_DECL_K_F114) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F114) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F114" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F114) +#endif +#if defined(K_F115) || (defined(HAVE_DECL_K_F115) && HAVE_DECL_K_F115) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F115) == (K(KT_FN,124)), "K_F115 != K(KT_FN,124)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F115 K(KT_FN,124) +#endif +#if defined(K_F115) || (defined(HAVE_DECL_K_F115) && HAVE_DECL_K_F115) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F115) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F115" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F115) +#endif +#if defined(K_F116) || (defined(HAVE_DECL_K_F116) && HAVE_DECL_K_F116) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F116) == (K(KT_FN,125)), "K_F116 != K(KT_FN,125)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F116 K(KT_FN,125) +#endif +#if defined(K_F116) || (defined(HAVE_DECL_K_F116) && HAVE_DECL_K_F116) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F116) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F116" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F116) +#endif +#if defined(K_F117) || (defined(HAVE_DECL_K_F117) && HAVE_DECL_K_F117) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F117) == (K(KT_FN,126)), "K_F117 != K(KT_FN,126)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F117 K(KT_FN,126) +#endif +#if defined(K_F117) || (defined(HAVE_DECL_K_F117) && HAVE_DECL_K_F117) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F117) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F117" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F117) +#endif +#if defined(K_F118) || (defined(HAVE_DECL_K_F118) && HAVE_DECL_K_F118) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F118) == (K(KT_FN,127)), "K_F118 != K(KT_FN,127)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F118 K(KT_FN,127) +#endif +#if defined(K_F118) || (defined(HAVE_DECL_K_F118) && HAVE_DECL_K_F118) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F118) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F118" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F118) +#endif +#if defined(K_F119) || (defined(HAVE_DECL_K_F119) && HAVE_DECL_K_F119) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F119) == (K(KT_FN,128)), "K_F119 != K(KT_FN,128)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F119 K(KT_FN,128) +#endif +#if defined(K_F119) || (defined(HAVE_DECL_K_F119) && HAVE_DECL_K_F119) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F119) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F119" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F119) +#endif +#if defined(K_F120) || (defined(HAVE_DECL_K_F120) && HAVE_DECL_K_F120) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F120) == (K(KT_FN,129)), "K_F120 != K(KT_FN,129)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F120 K(KT_FN,129) +#endif +#if defined(K_F120) || (defined(HAVE_DECL_K_F120) && HAVE_DECL_K_F120) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F120) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F120" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F120) +#endif +#if defined(K_F121) || (defined(HAVE_DECL_K_F121) && HAVE_DECL_K_F121) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F121) == (K(KT_FN,130)), "K_F121 != K(KT_FN,130)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F121 K(KT_FN,130) +#endif +#if defined(K_F121) || (defined(HAVE_DECL_K_F121) && HAVE_DECL_K_F121) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F121) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F121" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F121) +#endif +#if defined(K_F122) || (defined(HAVE_DECL_K_F122) && HAVE_DECL_K_F122) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F122) == (K(KT_FN,131)), "K_F122 != K(KT_FN,131)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F122 K(KT_FN,131) +#endif +#if defined(K_F122) || (defined(HAVE_DECL_K_F122) && HAVE_DECL_K_F122) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F122) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F122" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F122) +#endif +#if defined(K_F123) || (defined(HAVE_DECL_K_F123) && HAVE_DECL_K_F123) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F123) == (K(KT_FN,132)), "K_F123 != K(KT_FN,132)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F123 K(KT_FN,132) +#endif +#if defined(K_F123) || (defined(HAVE_DECL_K_F123) && HAVE_DECL_K_F123) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F123) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F123" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F123) +#endif +#if defined(K_F124) || (defined(HAVE_DECL_K_F124) && HAVE_DECL_K_F124) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F124) == (K(KT_FN,133)), "K_F124 != K(KT_FN,133)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F124 K(KT_FN,133) +#endif +#if defined(K_F124) || (defined(HAVE_DECL_K_F124) && HAVE_DECL_K_F124) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F124) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F124" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F124) +#endif +#if defined(K_F125) || (defined(HAVE_DECL_K_F125) && HAVE_DECL_K_F125) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F125) == (K(KT_FN,134)), "K_F125 != K(KT_FN,134)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F125 K(KT_FN,134) +#endif +#if defined(K_F125) || (defined(HAVE_DECL_K_F125) && HAVE_DECL_K_F125) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F125) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F125" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F125) +#endif +#if defined(K_F126) || (defined(HAVE_DECL_K_F126) && HAVE_DECL_K_F126) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F126) == (K(KT_FN,135)), "K_F126 != K(KT_FN,135)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F126 K(KT_FN,135) +#endif +#if defined(K_F126) || (defined(HAVE_DECL_K_F126) && HAVE_DECL_K_F126) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F126) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F126" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F126) +#endif +#if defined(K_F127) || (defined(HAVE_DECL_K_F127) && HAVE_DECL_K_F127) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F127) == (K(KT_FN,136)), "K_F127 != K(KT_FN,136)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F127 K(KT_FN,136) +#endif +#if defined(K_F127) || (defined(HAVE_DECL_K_F127) && HAVE_DECL_K_F127) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F127) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F127" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F127) +#endif +#if defined(K_F128) || (defined(HAVE_DECL_K_F128) && HAVE_DECL_K_F128) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F128) == (K(KT_FN,137)), "K_F128 != K(KT_FN,137)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F128 K(KT_FN,137) +#endif +#if defined(K_F128) || (defined(HAVE_DECL_K_F128) && HAVE_DECL_K_F128) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F128) +#endif +#if defined(K_F129) || (defined(HAVE_DECL_K_F129) && HAVE_DECL_K_F129) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F129) == (K(KT_FN,138)), "K_F129 != K(KT_FN,138)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F129 K(KT_FN,138) +#endif +#if defined(K_F129) || (defined(HAVE_DECL_K_F129) && HAVE_DECL_K_F129) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F129) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F129" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F129) +#endif +#if defined(K_F130) || (defined(HAVE_DECL_K_F130) && HAVE_DECL_K_F130) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F130) == (K(KT_FN,139)), "K_F130 != K(KT_FN,139)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F130 K(KT_FN,139) +#endif +#if defined(K_F130) || (defined(HAVE_DECL_K_F130) && HAVE_DECL_K_F130) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F130) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F130" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F130) +#endif +#if defined(K_F131) || (defined(HAVE_DECL_K_F131) && HAVE_DECL_K_F131) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F131) == (K(KT_FN,140)), "K_F131 != K(KT_FN,140)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F131 K(KT_FN,140) +#endif +#if defined(K_F131) || (defined(HAVE_DECL_K_F131) && HAVE_DECL_K_F131) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F131) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F131" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F131) +#endif +#if defined(K_F132) || (defined(HAVE_DECL_K_F132) && HAVE_DECL_K_F132) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F132) == (K(KT_FN,141)), "K_F132 != K(KT_FN,141)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F132 K(KT_FN,141) +#endif +#if defined(K_F132) || (defined(HAVE_DECL_K_F132) && HAVE_DECL_K_F132) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F132) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F132" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F132) +#endif +#if defined(K_F133) || (defined(HAVE_DECL_K_F133) && HAVE_DECL_K_F133) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F133) == (K(KT_FN,142)), "K_F133 != K(KT_FN,142)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F133 K(KT_FN,142) +#endif +#if defined(K_F133) || (defined(HAVE_DECL_K_F133) && HAVE_DECL_K_F133) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F133) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F133" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F133) +#endif +#if defined(K_F134) || (defined(HAVE_DECL_K_F134) && HAVE_DECL_K_F134) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F134) == (K(KT_FN,143)), "K_F134 != K(KT_FN,143)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F134 K(KT_FN,143) +#endif +#if defined(K_F134) || (defined(HAVE_DECL_K_F134) && HAVE_DECL_K_F134) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F134) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F134" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F134) +#endif +#if defined(K_F135) || (defined(HAVE_DECL_K_F135) && HAVE_DECL_K_F135) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F135) == (K(KT_FN,144)), "K_F135 != K(KT_FN,144)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F135 K(KT_FN,144) +#endif +#if defined(K_F135) || (defined(HAVE_DECL_K_F135) && HAVE_DECL_K_F135) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F135) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F135" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F135) +#endif +#if defined(K_F136) || (defined(HAVE_DECL_K_F136) && HAVE_DECL_K_F136) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F136) == (K(KT_FN,145)), "K_F136 != K(KT_FN,145)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F136 K(KT_FN,145) +#endif +#if defined(K_F136) || (defined(HAVE_DECL_K_F136) && HAVE_DECL_K_F136) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F136) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F136" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F136) +#endif +#if defined(K_F137) || (defined(HAVE_DECL_K_F137) && HAVE_DECL_K_F137) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F137) == (K(KT_FN,146)), "K_F137 != K(KT_FN,146)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F137 K(KT_FN,146) +#endif +#if defined(K_F137) || (defined(HAVE_DECL_K_F137) && HAVE_DECL_K_F137) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F137) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F137" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F137) +#endif +#if defined(K_F138) || (defined(HAVE_DECL_K_F138) && HAVE_DECL_K_F138) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F138) == (K(KT_FN,147)), "K_F138 != K(KT_FN,147)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F138 K(KT_FN,147) +#endif +#if defined(K_F138) || (defined(HAVE_DECL_K_F138) && HAVE_DECL_K_F138) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F138) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F138" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F138) +#endif +#if defined(K_F139) || (defined(HAVE_DECL_K_F139) && HAVE_DECL_K_F139) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F139) == (K(KT_FN,148)), "K_F139 != K(KT_FN,148)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F139 K(KT_FN,148) +#endif +#if defined(K_F139) || (defined(HAVE_DECL_K_F139) && HAVE_DECL_K_F139) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F139) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F139" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F139) +#endif +#if defined(K_F140) || (defined(HAVE_DECL_K_F140) && HAVE_DECL_K_F140) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F140) == (K(KT_FN,149)), "K_F140 != K(KT_FN,149)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F140 K(KT_FN,149) +#endif +#if defined(K_F140) || (defined(HAVE_DECL_K_F140) && HAVE_DECL_K_F140) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F140) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F140" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F140) +#endif +#if defined(K_F141) || (defined(HAVE_DECL_K_F141) && HAVE_DECL_K_F141) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F141) == (K(KT_FN,150)), "K_F141 != K(KT_FN,150)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F141 K(KT_FN,150) +#endif +#if defined(K_F141) || (defined(HAVE_DECL_K_F141) && HAVE_DECL_K_F141) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F141) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F141" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F141) +#endif +#if defined(K_F142) || (defined(HAVE_DECL_K_F142) && HAVE_DECL_K_F142) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F142) == (K(KT_FN,151)), "K_F142 != K(KT_FN,151)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F142 K(KT_FN,151) +#endif +#if defined(K_F142) || (defined(HAVE_DECL_K_F142) && HAVE_DECL_K_F142) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F142) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F142" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F142) +#endif +#if defined(K_F143) || (defined(HAVE_DECL_K_F143) && HAVE_DECL_K_F143) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F143) == (K(KT_FN,152)), "K_F143 != K(KT_FN,152)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F143 K(KT_FN,152) +#endif +#if defined(K_F143) || (defined(HAVE_DECL_K_F143) && HAVE_DECL_K_F143) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F143) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F143" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F143) +#endif +#if defined(K_F144) || (defined(HAVE_DECL_K_F144) && HAVE_DECL_K_F144) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F144) == (K(KT_FN,153)), "K_F144 != K(KT_FN,153)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F144 K(KT_FN,153) +#endif +#if defined(K_F144) || (defined(HAVE_DECL_K_F144) && HAVE_DECL_K_F144) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F144) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F144" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F144) +#endif +#if defined(K_F145) || (defined(HAVE_DECL_K_F145) && HAVE_DECL_K_F145) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F145) == (K(KT_FN,154)), "K_F145 != K(KT_FN,154)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F145 K(KT_FN,154) +#endif +#if defined(K_F145) || (defined(HAVE_DECL_K_F145) && HAVE_DECL_K_F145) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F145) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F145" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F145) +#endif +#if defined(K_F146) || (defined(HAVE_DECL_K_F146) && HAVE_DECL_K_F146) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F146) == (K(KT_FN,155)), "K_F146 != K(KT_FN,155)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F146 K(KT_FN,155) +#endif +#if defined(K_F146) || (defined(HAVE_DECL_K_F146) && HAVE_DECL_K_F146) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F146) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F146" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F146) +#endif +#if defined(K_F147) || (defined(HAVE_DECL_K_F147) && HAVE_DECL_K_F147) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F147) == (K(KT_FN,156)), "K_F147 != K(KT_FN,156)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F147 K(KT_FN,156) +#endif +#if defined(K_F147) || (defined(HAVE_DECL_K_F147) && HAVE_DECL_K_F147) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F147) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F147" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F147) +#endif +#if defined(K_F148) || (defined(HAVE_DECL_K_F148) && HAVE_DECL_K_F148) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F148) == (K(KT_FN,157)), "K_F148 != K(KT_FN,157)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F148 K(KT_FN,157) +#endif +#if defined(K_F148) || (defined(HAVE_DECL_K_F148) && HAVE_DECL_K_F148) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F148) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F148" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F148) +#endif +#if defined(K_F149) || (defined(HAVE_DECL_K_F149) && HAVE_DECL_K_F149) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F149) == (K(KT_FN,158)), "K_F149 != K(KT_FN,158)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F149 K(KT_FN,158) +#endif +#if defined(K_F149) || (defined(HAVE_DECL_K_F149) && HAVE_DECL_K_F149) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F149) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F149" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F149) +#endif +#if defined(K_F150) || (defined(HAVE_DECL_K_F150) && HAVE_DECL_K_F150) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F150) == (K(KT_FN,159)), "K_F150 != K(KT_FN,159)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F150 K(KT_FN,159) +#endif +#if defined(K_F150) || (defined(HAVE_DECL_K_F150) && HAVE_DECL_K_F150) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F150) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F150" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F150) +#endif +#if defined(K_F151) || (defined(HAVE_DECL_K_F151) && HAVE_DECL_K_F151) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F151) == (K(KT_FN,160)), "K_F151 != K(KT_FN,160)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F151 K(KT_FN,160) +#endif +#if defined(K_F151) || (defined(HAVE_DECL_K_F151) && HAVE_DECL_K_F151) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F151) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F151" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F151) +#endif +#if defined(K_F152) || (defined(HAVE_DECL_K_F152) && HAVE_DECL_K_F152) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F152) == (K(KT_FN,161)), "K_F152 != K(KT_FN,161)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F152 K(KT_FN,161) +#endif +#if defined(K_F152) || (defined(HAVE_DECL_K_F152) && HAVE_DECL_K_F152) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F152) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F152" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F152) +#endif +#if defined(K_F153) || (defined(HAVE_DECL_K_F153) && HAVE_DECL_K_F153) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F153) == (K(KT_FN,162)), "K_F153 != K(KT_FN,162)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F153 K(KT_FN,162) +#endif +#if defined(K_F153) || (defined(HAVE_DECL_K_F153) && HAVE_DECL_K_F153) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F153) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F153" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F153) +#endif +#if defined(K_F154) || (defined(HAVE_DECL_K_F154) && HAVE_DECL_K_F154) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F154) == (K(KT_FN,163)), "K_F154 != K(KT_FN,163)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F154 K(KT_FN,163) +#endif +#if defined(K_F154) || (defined(HAVE_DECL_K_F154) && HAVE_DECL_K_F154) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F154) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F154" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F154) +#endif +#if defined(K_F155) || (defined(HAVE_DECL_K_F155) && HAVE_DECL_K_F155) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F155) == (K(KT_FN,164)), "K_F155 != K(KT_FN,164)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F155 K(KT_FN,164) +#endif +#if defined(K_F155) || (defined(HAVE_DECL_K_F155) && HAVE_DECL_K_F155) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F155) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F155" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F155) +#endif +#if defined(K_F156) || (defined(HAVE_DECL_K_F156) && HAVE_DECL_K_F156) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F156) == (K(KT_FN,165)), "K_F156 != K(KT_FN,165)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F156 K(KT_FN,165) +#endif +#if defined(K_F156) || (defined(HAVE_DECL_K_F156) && HAVE_DECL_K_F156) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F156) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F156" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F156) +#endif +#if defined(K_F157) || (defined(HAVE_DECL_K_F157) && HAVE_DECL_K_F157) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F157) == (K(KT_FN,166)), "K_F157 != K(KT_FN,166)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F157 K(KT_FN,166) +#endif +#if defined(K_F157) || (defined(HAVE_DECL_K_F157) && HAVE_DECL_K_F157) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F157) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F157" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F157) +#endif +#if defined(K_F158) || (defined(HAVE_DECL_K_F158) && HAVE_DECL_K_F158) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F158) == (K(KT_FN,167)), "K_F158 != K(KT_FN,167)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F158 K(KT_FN,167) +#endif +#if defined(K_F158) || (defined(HAVE_DECL_K_F158) && HAVE_DECL_K_F158) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F158) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F158" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F158) +#endif +#if defined(K_F159) || (defined(HAVE_DECL_K_F159) && HAVE_DECL_K_F159) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F159) == (K(KT_FN,168)), "K_F159 != K(KT_FN,168)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F159 K(KT_FN,168) +#endif +#if defined(K_F159) || (defined(HAVE_DECL_K_F159) && HAVE_DECL_K_F159) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F159) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F159" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F159) +#endif +#if defined(K_F160) || (defined(HAVE_DECL_K_F160) && HAVE_DECL_K_F160) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F160) == (K(KT_FN,169)), "K_F160 != K(KT_FN,169)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F160 K(KT_FN,169) +#endif +#if defined(K_F160) || (defined(HAVE_DECL_K_F160) && HAVE_DECL_K_F160) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F160) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F160" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F160) +#endif +#if defined(K_F161) || (defined(HAVE_DECL_K_F161) && HAVE_DECL_K_F161) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F161) == (K(KT_FN,170)), "K_F161 != K(KT_FN,170)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F161 K(KT_FN,170) +#endif +#if defined(K_F161) || (defined(HAVE_DECL_K_F161) && HAVE_DECL_K_F161) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F161) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F161" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F161) +#endif +#if defined(K_F162) || (defined(HAVE_DECL_K_F162) && HAVE_DECL_K_F162) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F162) == (K(KT_FN,171)), "K_F162 != K(KT_FN,171)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F162 K(KT_FN,171) +#endif +#if defined(K_F162) || (defined(HAVE_DECL_K_F162) && HAVE_DECL_K_F162) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F162) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F162" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F162) +#endif +#if defined(K_F163) || (defined(HAVE_DECL_K_F163) && HAVE_DECL_K_F163) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F163) == (K(KT_FN,172)), "K_F163 != K(KT_FN,172)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F163 K(KT_FN,172) +#endif +#if defined(K_F163) || (defined(HAVE_DECL_K_F163) && HAVE_DECL_K_F163) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F163) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F163" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F163) +#endif +#if defined(K_F164) || (defined(HAVE_DECL_K_F164) && HAVE_DECL_K_F164) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F164) == (K(KT_FN,173)), "K_F164 != K(KT_FN,173)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F164 K(KT_FN,173) +#endif +#if defined(K_F164) || (defined(HAVE_DECL_K_F164) && HAVE_DECL_K_F164) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F164) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F164" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F164) +#endif +#if defined(K_F165) || (defined(HAVE_DECL_K_F165) && HAVE_DECL_K_F165) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F165) == (K(KT_FN,174)), "K_F165 != K(KT_FN,174)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F165 K(KT_FN,174) +#endif +#if defined(K_F165) || (defined(HAVE_DECL_K_F165) && HAVE_DECL_K_F165) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F165) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F165" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F165) +#endif +#if defined(K_F166) || (defined(HAVE_DECL_K_F166) && HAVE_DECL_K_F166) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F166) == (K(KT_FN,175)), "K_F166 != K(KT_FN,175)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F166 K(KT_FN,175) +#endif +#if defined(K_F166) || (defined(HAVE_DECL_K_F166) && HAVE_DECL_K_F166) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F166) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F166" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F166) +#endif +#if defined(K_F167) || (defined(HAVE_DECL_K_F167) && HAVE_DECL_K_F167) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F167) == (K(KT_FN,176)), "K_F167 != K(KT_FN,176)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F167 K(KT_FN,176) +#endif +#if defined(K_F167) || (defined(HAVE_DECL_K_F167) && HAVE_DECL_K_F167) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F167) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F167" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F167) +#endif +#if defined(K_F168) || (defined(HAVE_DECL_K_F168) && HAVE_DECL_K_F168) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F168) == (K(KT_FN,177)), "K_F168 != K(KT_FN,177)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F168 K(KT_FN,177) +#endif +#if defined(K_F168) || (defined(HAVE_DECL_K_F168) && HAVE_DECL_K_F168) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F168) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F168" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F168) +#endif +#if defined(K_F169) || (defined(HAVE_DECL_K_F169) && HAVE_DECL_K_F169) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F169) == (K(KT_FN,178)), "K_F169 != K(KT_FN,178)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F169 K(KT_FN,178) +#endif +#if defined(K_F169) || (defined(HAVE_DECL_K_F169) && HAVE_DECL_K_F169) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F169) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F169" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F169) +#endif +#if defined(K_F170) || (defined(HAVE_DECL_K_F170) && HAVE_DECL_K_F170) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F170) == (K(KT_FN,179)), "K_F170 != K(KT_FN,179)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F170 K(KT_FN,179) +#endif +#if defined(K_F170) || (defined(HAVE_DECL_K_F170) && HAVE_DECL_K_F170) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F170) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F170" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F170) +#endif +#if defined(K_F171) || (defined(HAVE_DECL_K_F171) && HAVE_DECL_K_F171) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F171) == (K(KT_FN,180)), "K_F171 != K(KT_FN,180)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F171 K(KT_FN,180) +#endif +#if defined(K_F171) || (defined(HAVE_DECL_K_F171) && HAVE_DECL_K_F171) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F171) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F171" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F171) +#endif +#if defined(K_F172) || (defined(HAVE_DECL_K_F172) && HAVE_DECL_K_F172) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F172) == (K(KT_FN,181)), "K_F172 != K(KT_FN,181)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F172 K(KT_FN,181) +#endif +#if defined(K_F172) || (defined(HAVE_DECL_K_F172) && HAVE_DECL_K_F172) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F172) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F172" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F172) +#endif +#if defined(K_F173) || (defined(HAVE_DECL_K_F173) && HAVE_DECL_K_F173) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F173) == (K(KT_FN,182)), "K_F173 != K(KT_FN,182)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F173 K(KT_FN,182) +#endif +#if defined(K_F173) || (defined(HAVE_DECL_K_F173) && HAVE_DECL_K_F173) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F173) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F173" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F173) +#endif +#if defined(K_F174) || (defined(HAVE_DECL_K_F174) && HAVE_DECL_K_F174) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F174) == (K(KT_FN,183)), "K_F174 != K(KT_FN,183)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F174 K(KT_FN,183) +#endif +#if defined(K_F174) || (defined(HAVE_DECL_K_F174) && HAVE_DECL_K_F174) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F174) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F174" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F174) +#endif +#if defined(K_F175) || (defined(HAVE_DECL_K_F175) && HAVE_DECL_K_F175) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F175) == (K(KT_FN,184)), "K_F175 != K(KT_FN,184)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F175 K(KT_FN,184) +#endif +#if defined(K_F175) || (defined(HAVE_DECL_K_F175) && HAVE_DECL_K_F175) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F175) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F175" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F175) +#endif +#if defined(K_F176) || (defined(HAVE_DECL_K_F176) && HAVE_DECL_K_F176) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F176) == (K(KT_FN,185)), "K_F176 != K(KT_FN,185)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F176 K(KT_FN,185) +#endif +#if defined(K_F176) || (defined(HAVE_DECL_K_F176) && HAVE_DECL_K_F176) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F176) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F176" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F176) +#endif +#if defined(K_F177) || (defined(HAVE_DECL_K_F177) && HAVE_DECL_K_F177) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F177) == (K(KT_FN,186)), "K_F177 != K(KT_FN,186)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F177 K(KT_FN,186) +#endif +#if defined(K_F177) || (defined(HAVE_DECL_K_F177) && HAVE_DECL_K_F177) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F177) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F177" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F177) +#endif +#if defined(K_F178) || (defined(HAVE_DECL_K_F178) && HAVE_DECL_K_F178) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F178) == (K(KT_FN,187)), "K_F178 != K(KT_FN,187)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F178 K(KT_FN,187) +#endif +#if defined(K_F178) || (defined(HAVE_DECL_K_F178) && HAVE_DECL_K_F178) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F178) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F178" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F178) +#endif +#if defined(K_F179) || (defined(HAVE_DECL_K_F179) && HAVE_DECL_K_F179) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F179) == (K(KT_FN,188)), "K_F179 != K(KT_FN,188)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F179 K(KT_FN,188) +#endif +#if defined(K_F179) || (defined(HAVE_DECL_K_F179) && HAVE_DECL_K_F179) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F179) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F179" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F179) +#endif +#if defined(K_F180) || (defined(HAVE_DECL_K_F180) && HAVE_DECL_K_F180) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F180) == (K(KT_FN,189)), "K_F180 != K(KT_FN,189)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F180 K(KT_FN,189) +#endif +#if defined(K_F180) || (defined(HAVE_DECL_K_F180) && HAVE_DECL_K_F180) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F180) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F180" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F180) +#endif +#if defined(K_F181) || (defined(HAVE_DECL_K_F181) && HAVE_DECL_K_F181) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F181) == (K(KT_FN,190)), "K_F181 != K(KT_FN,190)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F181 K(KT_FN,190) +#endif +#if defined(K_F181) || (defined(HAVE_DECL_K_F181) && HAVE_DECL_K_F181) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F181) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F181" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F181) +#endif +#if defined(K_F182) || (defined(HAVE_DECL_K_F182) && HAVE_DECL_K_F182) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F182) == (K(KT_FN,191)), "K_F182 != K(KT_FN,191)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F182 K(KT_FN,191) +#endif +#if defined(K_F182) || (defined(HAVE_DECL_K_F182) && HAVE_DECL_K_F182) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F182) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F182" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F182) +#endif +#if defined(K_F183) || (defined(HAVE_DECL_K_F183) && HAVE_DECL_K_F183) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F183) == (K(KT_FN,192)), "K_F183 != K(KT_FN,192)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F183 K(KT_FN,192) +#endif +#if defined(K_F183) || (defined(HAVE_DECL_K_F183) && HAVE_DECL_K_F183) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F183) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F183" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F183) +#endif +#if defined(K_F184) || (defined(HAVE_DECL_K_F184) && HAVE_DECL_K_F184) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F184) == (K(KT_FN,193)), "K_F184 != K(KT_FN,193)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F184 K(KT_FN,193) +#endif +#if defined(K_F184) || (defined(HAVE_DECL_K_F184) && HAVE_DECL_K_F184) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F184) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F184" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F184) +#endif +#if defined(K_F185) || (defined(HAVE_DECL_K_F185) && HAVE_DECL_K_F185) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F185) == (K(KT_FN,194)), "K_F185 != K(KT_FN,194)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F185 K(KT_FN,194) +#endif +#if defined(K_F185) || (defined(HAVE_DECL_K_F185) && HAVE_DECL_K_F185) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F185) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F185" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F185) +#endif +#if defined(K_F186) || (defined(HAVE_DECL_K_F186) && HAVE_DECL_K_F186) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F186) == (K(KT_FN,195)), "K_F186 != K(KT_FN,195)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F186 K(KT_FN,195) +#endif +#if defined(K_F186) || (defined(HAVE_DECL_K_F186) && HAVE_DECL_K_F186) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F186) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F186" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F186) +#endif +#if defined(K_F187) || (defined(HAVE_DECL_K_F187) && HAVE_DECL_K_F187) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F187) == (K(KT_FN,196)), "K_F187 != K(KT_FN,196)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F187 K(KT_FN,196) +#endif +#if defined(K_F187) || (defined(HAVE_DECL_K_F187) && HAVE_DECL_K_F187) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F187) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F187" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F187) +#endif +#if defined(K_F188) || (defined(HAVE_DECL_K_F188) && HAVE_DECL_K_F188) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F188) == (K(KT_FN,197)), "K_F188 != K(KT_FN,197)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F188 K(KT_FN,197) +#endif +#if defined(K_F188) || (defined(HAVE_DECL_K_F188) && HAVE_DECL_K_F188) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F188) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F188" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F188) +#endif +#if defined(K_F189) || (defined(HAVE_DECL_K_F189) && HAVE_DECL_K_F189) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F189) == (K(KT_FN,198)), "K_F189 != K(KT_FN,198)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F189 K(KT_FN,198) +#endif +#if defined(K_F189) || (defined(HAVE_DECL_K_F189) && HAVE_DECL_K_F189) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F189) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F189" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F189) +#endif +#if defined(K_F190) || (defined(HAVE_DECL_K_F190) && HAVE_DECL_K_F190) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F190) == (K(KT_FN,199)), "K_F190 != K(KT_FN,199)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F190 K(KT_FN,199) +#endif +#if defined(K_F190) || (defined(HAVE_DECL_K_F190) && HAVE_DECL_K_F190) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F190) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F190" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F190) +#endif +#if defined(K_F191) || (defined(HAVE_DECL_K_F191) && HAVE_DECL_K_F191) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F191) == (K(KT_FN,200)), "K_F191 != K(KT_FN,200)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F191 K(KT_FN,200) +#endif +#if defined(K_F191) || (defined(HAVE_DECL_K_F191) && HAVE_DECL_K_F191) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F191) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F191" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F191) +#endif +#if defined(K_F192) || (defined(HAVE_DECL_K_F192) && HAVE_DECL_K_F192) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F192) == (K(KT_FN,201)), "K_F192 != K(KT_FN,201)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F192 K(KT_FN,201) +#endif +#if defined(K_F192) || (defined(HAVE_DECL_K_F192) && HAVE_DECL_K_F192) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F192) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F192" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F192) +#endif +#if defined(K_F193) || (defined(HAVE_DECL_K_F193) && HAVE_DECL_K_F193) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F193) == (K(KT_FN,202)), "K_F193 != K(KT_FN,202)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F193 K(KT_FN,202) +#endif +#if defined(K_F193) || (defined(HAVE_DECL_K_F193) && HAVE_DECL_K_F193) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F193) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F193" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F193) +#endif +#if defined(K_F194) || (defined(HAVE_DECL_K_F194) && HAVE_DECL_K_F194) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F194) == (K(KT_FN,203)), "K_F194 != K(KT_FN,203)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F194 K(KT_FN,203) +#endif +#if defined(K_F194) || (defined(HAVE_DECL_K_F194) && HAVE_DECL_K_F194) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F194) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F194" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F194) +#endif +#if defined(K_F195) || (defined(HAVE_DECL_K_F195) && HAVE_DECL_K_F195) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F195) == (K(KT_FN,204)), "K_F195 != K(KT_FN,204)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F195 K(KT_FN,204) +#endif +#if defined(K_F195) || (defined(HAVE_DECL_K_F195) && HAVE_DECL_K_F195) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F195) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F195" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F195) +#endif +#if defined(K_F196) || (defined(HAVE_DECL_K_F196) && HAVE_DECL_K_F196) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F196) == (K(KT_FN,205)), "K_F196 != K(KT_FN,205)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F196 K(KT_FN,205) +#endif +#if defined(K_F196) || (defined(HAVE_DECL_K_F196) && HAVE_DECL_K_F196) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F196) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F196" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F196) +#endif +#if defined(K_F197) || (defined(HAVE_DECL_K_F197) && HAVE_DECL_K_F197) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F197) == (K(KT_FN,206)), "K_F197 != K(KT_FN,206)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F197 K(KT_FN,206) +#endif +#if defined(K_F197) || (defined(HAVE_DECL_K_F197) && HAVE_DECL_K_F197) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F197) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F197" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F197) +#endif +#if defined(K_F198) || (defined(HAVE_DECL_K_F198) && HAVE_DECL_K_F198) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F198) == (K(KT_FN,207)), "K_F198 != K(KT_FN,207)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F198 K(KT_FN,207) +#endif +#if defined(K_F198) || (defined(HAVE_DECL_K_F198) && HAVE_DECL_K_F198) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F198) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F198" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F198) +#endif +#if defined(K_F199) || (defined(HAVE_DECL_K_F199) && HAVE_DECL_K_F199) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F199) == (K(KT_FN,208)), "K_F199 != K(KT_FN,208)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F199 K(KT_FN,208) +#endif +#if defined(K_F199) || (defined(HAVE_DECL_K_F199) && HAVE_DECL_K_F199) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F199) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F199" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F199) +#endif +#if defined(K_F200) || (defined(HAVE_DECL_K_F200) && HAVE_DECL_K_F200) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F200) == (K(KT_FN,209)), "K_F200 != K(KT_FN,209)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F200 K(KT_FN,209) +#endif +#if defined(K_F200) || (defined(HAVE_DECL_K_F200) && HAVE_DECL_K_F200) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F200) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F200" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F200) +#endif +#if defined(K_F201) || (defined(HAVE_DECL_K_F201) && HAVE_DECL_K_F201) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F201) == (K(KT_FN,210)), "K_F201 != K(KT_FN,210)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F201 K(KT_FN,210) +#endif +#if defined(K_F201) || (defined(HAVE_DECL_K_F201) && HAVE_DECL_K_F201) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F201) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F201" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F201) +#endif +#if defined(K_F202) || (defined(HAVE_DECL_K_F202) && HAVE_DECL_K_F202) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F202) == (K(KT_FN,211)), "K_F202 != K(KT_FN,211)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F202 K(KT_FN,211) +#endif +#if defined(K_F202) || (defined(HAVE_DECL_K_F202) && HAVE_DECL_K_F202) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F202) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F202" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F202) +#endif +#if defined(K_F203) || (defined(HAVE_DECL_K_F203) && HAVE_DECL_K_F203) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F203) == (K(KT_FN,212)), "K_F203 != K(KT_FN,212)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F203 K(KT_FN,212) +#endif +#if defined(K_F203) || (defined(HAVE_DECL_K_F203) && HAVE_DECL_K_F203) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F203) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F203" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F203) +#endif +#if defined(K_F204) || (defined(HAVE_DECL_K_F204) && HAVE_DECL_K_F204) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F204) == (K(KT_FN,213)), "K_F204 != K(KT_FN,213)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F204 K(KT_FN,213) +#endif +#if defined(K_F204) || (defined(HAVE_DECL_K_F204) && HAVE_DECL_K_F204) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F204) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F204" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F204) +#endif +#if defined(K_F205) || (defined(HAVE_DECL_K_F205) && HAVE_DECL_K_F205) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F205) == (K(KT_FN,214)), "K_F205 != K(KT_FN,214)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F205 K(KT_FN,214) +#endif +#if defined(K_F205) || (defined(HAVE_DECL_K_F205) && HAVE_DECL_K_F205) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F205) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F205" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F205) +#endif +#if defined(K_F206) || (defined(HAVE_DECL_K_F206) && HAVE_DECL_K_F206) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F206) == (K(KT_FN,215)), "K_F206 != K(KT_FN,215)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F206 K(KT_FN,215) +#endif +#if defined(K_F206) || (defined(HAVE_DECL_K_F206) && HAVE_DECL_K_F206) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F206) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F206" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F206) +#endif +#if defined(K_F207) || (defined(HAVE_DECL_K_F207) && HAVE_DECL_K_F207) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F207) == (K(KT_FN,216)), "K_F207 != K(KT_FN,216)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F207 K(KT_FN,216) +#endif +#if defined(K_F207) || (defined(HAVE_DECL_K_F207) && HAVE_DECL_K_F207) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F207) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F207" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F207) +#endif +#if defined(K_F208) || (defined(HAVE_DECL_K_F208) && HAVE_DECL_K_F208) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F208) == (K(KT_FN,217)), "K_F208 != K(KT_FN,217)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F208 K(KT_FN,217) +#endif +#if defined(K_F208) || (defined(HAVE_DECL_K_F208) && HAVE_DECL_K_F208) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F208) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F208" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F208) +#endif +#if defined(K_F209) || (defined(HAVE_DECL_K_F209) && HAVE_DECL_K_F209) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F209) == (K(KT_FN,218)), "K_F209 != K(KT_FN,218)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F209 K(KT_FN,218) +#endif +#if defined(K_F209) || (defined(HAVE_DECL_K_F209) && HAVE_DECL_K_F209) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F209) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F209" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F209) +#endif +#if defined(K_F210) || (defined(HAVE_DECL_K_F210) && HAVE_DECL_K_F210) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F210) == (K(KT_FN,219)), "K_F210 != K(KT_FN,219)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F210 K(KT_FN,219) +#endif +#if defined(K_F210) || (defined(HAVE_DECL_K_F210) && HAVE_DECL_K_F210) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F210) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F210" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F210) +#endif +#if defined(K_F211) || (defined(HAVE_DECL_K_F211) && HAVE_DECL_K_F211) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F211) == (K(KT_FN,220)), "K_F211 != K(KT_FN,220)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F211 K(KT_FN,220) +#endif +#if defined(K_F211) || (defined(HAVE_DECL_K_F211) && HAVE_DECL_K_F211) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F211) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F211" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F211) +#endif +#if defined(K_F212) || (defined(HAVE_DECL_K_F212) && HAVE_DECL_K_F212) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F212) == (K(KT_FN,221)), "K_F212 != K(KT_FN,221)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F212 K(KT_FN,221) +#endif +#if defined(K_F212) || (defined(HAVE_DECL_K_F212) && HAVE_DECL_K_F212) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F212) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F212" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F212) +#endif +#if defined(K_F213) || (defined(HAVE_DECL_K_F213) && HAVE_DECL_K_F213) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F213) == (K(KT_FN,222)), "K_F213 != K(KT_FN,222)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F213 K(KT_FN,222) +#endif +#if defined(K_F213) || (defined(HAVE_DECL_K_F213) && HAVE_DECL_K_F213) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F213) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F213" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F213) +#endif +#if defined(K_F214) || (defined(HAVE_DECL_K_F214) && HAVE_DECL_K_F214) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F214) == (K(KT_FN,223)), "K_F214 != K(KT_FN,223)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F214 K(KT_FN,223) +#endif +#if defined(K_F214) || (defined(HAVE_DECL_K_F214) && HAVE_DECL_K_F214) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F214) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F214" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F214) +#endif +#if defined(K_F215) || (defined(HAVE_DECL_K_F215) && HAVE_DECL_K_F215) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F215) == (K(KT_FN,224)), "K_F215 != K(KT_FN,224)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F215 K(KT_FN,224) +#endif +#if defined(K_F215) || (defined(HAVE_DECL_K_F215) && HAVE_DECL_K_F215) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F215) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F215" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F215) +#endif +#if defined(K_F216) || (defined(HAVE_DECL_K_F216) && HAVE_DECL_K_F216) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F216) == (K(KT_FN,225)), "K_F216 != K(KT_FN,225)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F216 K(KT_FN,225) +#endif +#if defined(K_F216) || (defined(HAVE_DECL_K_F216) && HAVE_DECL_K_F216) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F216) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F216" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F216) +#endif +#if defined(K_F217) || (defined(HAVE_DECL_K_F217) && HAVE_DECL_K_F217) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F217) == (K(KT_FN,226)), "K_F217 != K(KT_FN,226)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F217 K(KT_FN,226) +#endif +#if defined(K_F217) || (defined(HAVE_DECL_K_F217) && HAVE_DECL_K_F217) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F217) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F217" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F217) +#endif +#if defined(K_F218) || (defined(HAVE_DECL_K_F218) && HAVE_DECL_K_F218) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F218) == (K(KT_FN,227)), "K_F218 != K(KT_FN,227)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F218 K(KT_FN,227) +#endif +#if defined(K_F218) || (defined(HAVE_DECL_K_F218) && HAVE_DECL_K_F218) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F218) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F218" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F218) +#endif +#if defined(K_F219) || (defined(HAVE_DECL_K_F219) && HAVE_DECL_K_F219) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F219) == (K(KT_FN,228)), "K_F219 != K(KT_FN,228)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F219 K(KT_FN,228) +#endif +#if defined(K_F219) || (defined(HAVE_DECL_K_F219) && HAVE_DECL_K_F219) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F219) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F219" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F219) +#endif +#if defined(K_F220) || (defined(HAVE_DECL_K_F220) && HAVE_DECL_K_F220) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F220) == (K(KT_FN,229)), "K_F220 != K(KT_FN,229)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F220 K(KT_FN,229) +#endif +#if defined(K_F220) || (defined(HAVE_DECL_K_F220) && HAVE_DECL_K_F220) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F220) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F220" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F220) +#endif +#if defined(K_F221) || (defined(HAVE_DECL_K_F221) && HAVE_DECL_K_F221) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F221) == (K(KT_FN,230)), "K_F221 != K(KT_FN,230)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F221 K(KT_FN,230) +#endif +#if defined(K_F221) || (defined(HAVE_DECL_K_F221) && HAVE_DECL_K_F221) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F221) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F221" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F221) +#endif +#if defined(K_F222) || (defined(HAVE_DECL_K_F222) && HAVE_DECL_K_F222) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F222) == (K(KT_FN,231)), "K_F222 != K(KT_FN,231)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F222 K(KT_FN,231) +#endif +#if defined(K_F222) || (defined(HAVE_DECL_K_F222) && HAVE_DECL_K_F222) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F222) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F222" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F222) +#endif +#if defined(K_F223) || (defined(HAVE_DECL_K_F223) && HAVE_DECL_K_F223) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F223) == (K(KT_FN,232)), "K_F223 != K(KT_FN,232)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F223 K(KT_FN,232) +#endif +#if defined(K_F223) || (defined(HAVE_DECL_K_F223) && HAVE_DECL_K_F223) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F223) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F223" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F223) +#endif +#if defined(K_F224) || (defined(HAVE_DECL_K_F224) && HAVE_DECL_K_F224) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F224) == (K(KT_FN,233)), "K_F224 != K(KT_FN,233)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F224 K(KT_FN,233) +#endif +#if defined(K_F224) || (defined(HAVE_DECL_K_F224) && HAVE_DECL_K_F224) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F224) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F224" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F224) +#endif +#if defined(K_F225) || (defined(HAVE_DECL_K_F225) && HAVE_DECL_K_F225) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F225) == (K(KT_FN,234)), "K_F225 != K(KT_FN,234)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F225 K(KT_FN,234) +#endif +#if defined(K_F225) || (defined(HAVE_DECL_K_F225) && HAVE_DECL_K_F225) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F225) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F225" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F225) +#endif +#if defined(K_F226) || (defined(HAVE_DECL_K_F226) && HAVE_DECL_K_F226) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F226) == (K(KT_FN,235)), "K_F226 != K(KT_FN,235)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F226 K(KT_FN,235) +#endif +#if defined(K_F226) || (defined(HAVE_DECL_K_F226) && HAVE_DECL_K_F226) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F226) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F226" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F226) +#endif +#if defined(K_F227) || (defined(HAVE_DECL_K_F227) && HAVE_DECL_K_F227) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F227) == (K(KT_FN,236)), "K_F227 != K(KT_FN,236)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F227 K(KT_FN,236) +#endif +#if defined(K_F227) || (defined(HAVE_DECL_K_F227) && HAVE_DECL_K_F227) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F227) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F227" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F227) +#endif +#if defined(K_F228) || (defined(HAVE_DECL_K_F228) && HAVE_DECL_K_F228) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F228) == (K(KT_FN,237)), "K_F228 != K(KT_FN,237)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F228 K(KT_FN,237) +#endif +#if defined(K_F228) || (defined(HAVE_DECL_K_F228) && HAVE_DECL_K_F228) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F228) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F228" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F228) +#endif +#if defined(K_F229) || (defined(HAVE_DECL_K_F229) && HAVE_DECL_K_F229) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F229) == (K(KT_FN,238)), "K_F229 != K(KT_FN,238)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F229 K(KT_FN,238) +#endif +#if defined(K_F229) || (defined(HAVE_DECL_K_F229) && HAVE_DECL_K_F229) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F229) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F229" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F229) +#endif +#if defined(K_F230) || (defined(HAVE_DECL_K_F230) && HAVE_DECL_K_F230) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F230) == (K(KT_FN,239)), "K_F230 != K(KT_FN,239)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F230 K(KT_FN,239) +#endif +#if defined(K_F230) || (defined(HAVE_DECL_K_F230) && HAVE_DECL_K_F230) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F230) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F230" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F230) +#endif +#if defined(K_F231) || (defined(HAVE_DECL_K_F231) && HAVE_DECL_K_F231) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F231) == (K(KT_FN,240)), "K_F231 != K(KT_FN,240)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F231 K(KT_FN,240) +#endif +#if defined(K_F231) || (defined(HAVE_DECL_K_F231) && HAVE_DECL_K_F231) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F231) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F231" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F231) +#endif +#if defined(K_F232) || (defined(HAVE_DECL_K_F232) && HAVE_DECL_K_F232) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F232) == (K(KT_FN,241)), "K_F232 != K(KT_FN,241)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F232 K(KT_FN,241) +#endif +#if defined(K_F232) || (defined(HAVE_DECL_K_F232) && HAVE_DECL_K_F232) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F232) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F232" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F232) +#endif +#if defined(K_F233) || (defined(HAVE_DECL_K_F233) && HAVE_DECL_K_F233) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F233) == (K(KT_FN,242)), "K_F233 != K(KT_FN,242)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F233 K(KT_FN,242) +#endif +#if defined(K_F233) || (defined(HAVE_DECL_K_F233) && HAVE_DECL_K_F233) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F233) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F233" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F233) +#endif +#if defined(K_F234) || (defined(HAVE_DECL_K_F234) && HAVE_DECL_K_F234) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F234) == (K(KT_FN,243)), "K_F234 != K(KT_FN,243)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F234 K(KT_FN,243) +#endif +#if defined(K_F234) || (defined(HAVE_DECL_K_F234) && HAVE_DECL_K_F234) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F234) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F234" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F234) +#endif +#if defined(K_F235) || (defined(HAVE_DECL_K_F235) && HAVE_DECL_K_F235) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F235) == (K(KT_FN,244)), "K_F235 != K(KT_FN,244)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F235 K(KT_FN,244) +#endif +#if defined(K_F235) || (defined(HAVE_DECL_K_F235) && HAVE_DECL_K_F235) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F235) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F235" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F235) +#endif +#if defined(K_F236) || (defined(HAVE_DECL_K_F236) && HAVE_DECL_K_F236) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F236) == (K(KT_FN,245)), "K_F236 != K(KT_FN,245)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F236 K(KT_FN,245) +#endif +#if defined(K_F236) || (defined(HAVE_DECL_K_F236) && HAVE_DECL_K_F236) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F236) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F236" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F236) +#endif +#if defined(K_F237) || (defined(HAVE_DECL_K_F237) && HAVE_DECL_K_F237) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F237) == (K(KT_FN,246)), "K_F237 != K(KT_FN,246)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F237 K(KT_FN,246) +#endif +#if defined(K_F237) || (defined(HAVE_DECL_K_F237) && HAVE_DECL_K_F237) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F237) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F237" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F237) +#endif +#if defined(K_F238) || (defined(HAVE_DECL_K_F238) && HAVE_DECL_K_F238) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F238) == (K(KT_FN,247)), "K_F238 != K(KT_FN,247)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F238 K(KT_FN,247) +#endif +#if defined(K_F238) || (defined(HAVE_DECL_K_F238) && HAVE_DECL_K_F238) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F238) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F238" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F238) +#endif +#if defined(K_F239) || (defined(HAVE_DECL_K_F239) && HAVE_DECL_K_F239) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F239) == (K(KT_FN,248)), "K_F239 != K(KT_FN,248)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F239 K(KT_FN,248) +#endif +#if defined(K_F239) || (defined(HAVE_DECL_K_F239) && HAVE_DECL_K_F239) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F239) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F239" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F239) +#endif +#if defined(K_F240) || (defined(HAVE_DECL_K_F240) && HAVE_DECL_K_F240) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F240) == (K(KT_FN,249)), "K_F240 != K(KT_FN,249)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F240 K(KT_FN,249) +#endif +#if defined(K_F240) || (defined(HAVE_DECL_K_F240) && HAVE_DECL_K_F240) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F240) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F240" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F240) +#endif +#if defined(K_F241) || (defined(HAVE_DECL_K_F241) && HAVE_DECL_K_F241) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F241) == (K(KT_FN,250)), "K_F241 != K(KT_FN,250)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F241 K(KT_FN,250) +#endif +#if defined(K_F241) || (defined(HAVE_DECL_K_F241) && HAVE_DECL_K_F241) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F241) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F241" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F241) +#endif +#if defined(K_F242) || (defined(HAVE_DECL_K_F242) && HAVE_DECL_K_F242) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F242) == (K(KT_FN,251)), "K_F242 != K(KT_FN,251)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F242 K(KT_FN,251) +#endif +#if defined(K_F242) || (defined(HAVE_DECL_K_F242) && HAVE_DECL_K_F242) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F242) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F242" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F242) +#endif +#if defined(K_F243) || (defined(HAVE_DECL_K_F243) && HAVE_DECL_K_F243) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F243) == (K(KT_FN,252)), "K_F243 != K(KT_FN,252)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F243 K(KT_FN,252) +#endif +#if defined(K_F243) || (defined(HAVE_DECL_K_F243) && HAVE_DECL_K_F243) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F243) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F243" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F243) +#endif +#if defined(K_F244) || (defined(HAVE_DECL_K_F244) && HAVE_DECL_K_F244) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F244) == (K(KT_FN,253)), "K_F244 != K(KT_FN,253)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F244 K(KT_FN,253) +#endif +#if defined(K_F244) || (defined(HAVE_DECL_K_F244) && HAVE_DECL_K_F244) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F244) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F244" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F244) +#endif +#if defined(K_F245) || (defined(HAVE_DECL_K_F245) && HAVE_DECL_K_F245) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_F245) == (K(KT_FN,254)), "K_F245 != K(KT_FN,254)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_F245 K(KT_FN,254) +#endif +#if defined(K_F245) || (defined(HAVE_DECL_K_F245) && HAVE_DECL_K_F245) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_F245) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_F245" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_F245) +#endif +#if defined(K_UNDO) || (defined(HAVE_DECL_K_UNDO) && HAVE_DECL_K_UNDO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_UNDO) == (K(KT_FN,255)), "K_UNDO != K(KT_FN,255)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_UNDO K(KT_FN,255) +#endif +#if defined(K_UNDO) || (defined(HAVE_DECL_K_UNDO) && HAVE_DECL_K_UNDO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_UNDO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_UNDO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_UNDO) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_fn_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_fn_keys_xdata = { + XLAT(K_F1), + #define XLAT_VAL_0 ((unsigned) (K_F1)) + #define XLAT_STR_0 STRINGIFY(K_F1) + XLAT(K_F2), + #define XLAT_VAL_1 ((unsigned) (K_F2)) + #define XLAT_STR_1 STRINGIFY(K_F2) + XLAT(K_F3), + #define XLAT_VAL_2 ((unsigned) (K_F3)) + #define XLAT_STR_2 STRINGIFY(K_F3) + XLAT(K_F4), + #define XLAT_VAL_3 ((unsigned) (K_F4)) + #define XLAT_STR_3 STRINGIFY(K_F4) + XLAT(K_F5), + #define XLAT_VAL_4 ((unsigned) (K_F5)) + #define XLAT_STR_4 STRINGIFY(K_F5) + XLAT(K_F6), + #define XLAT_VAL_5 ((unsigned) (K_F6)) + #define XLAT_STR_5 STRINGIFY(K_F6) + XLAT(K_F7), + #define XLAT_VAL_6 ((unsigned) (K_F7)) + #define XLAT_STR_6 STRINGIFY(K_F7) + XLAT(K_F8), + #define XLAT_VAL_7 ((unsigned) (K_F8)) + #define XLAT_STR_7 STRINGIFY(K_F8) + XLAT(K_F9), + #define XLAT_VAL_8 ((unsigned) (K_F9)) + #define XLAT_STR_8 STRINGIFY(K_F9) + XLAT(K_F10), + #define XLAT_VAL_9 ((unsigned) (K_F10)) + #define XLAT_STR_9 STRINGIFY(K_F10) + XLAT(K_F11), + #define XLAT_VAL_10 ((unsigned) (K_F11)) + #define XLAT_STR_10 STRINGIFY(K_F11) + XLAT(K_F12), + #define XLAT_VAL_11 ((unsigned) (K_F12)) + #define XLAT_STR_11 STRINGIFY(K_F12) + XLAT(K_F13), + #define XLAT_VAL_12 ((unsigned) (K_F13)) + #define XLAT_STR_12 STRINGIFY(K_F13) + XLAT(K_F14), + #define XLAT_VAL_13 ((unsigned) (K_F14)) + #define XLAT_STR_13 STRINGIFY(K_F14) + XLAT(K_F15), + #define XLAT_VAL_14 ((unsigned) (K_F15)) + #define XLAT_STR_14 STRINGIFY(K_F15) + XLAT(K_F16), + #define XLAT_VAL_15 ((unsigned) (K_F16)) + #define XLAT_STR_15 STRINGIFY(K_F16) + XLAT(K_F17), + #define XLAT_VAL_16 ((unsigned) (K_F17)) + #define XLAT_STR_16 STRINGIFY(K_F17) + XLAT(K_F18), + #define XLAT_VAL_17 ((unsigned) (K_F18)) + #define XLAT_STR_17 STRINGIFY(K_F18) + XLAT(K_F19), + #define XLAT_VAL_18 ((unsigned) (K_F19)) + #define XLAT_STR_18 STRINGIFY(K_F19) + XLAT(K_F20), + #define XLAT_VAL_19 ((unsigned) (K_F20)) + #define XLAT_STR_19 STRINGIFY(K_F20) + XLAT(K_FIND), + #define XLAT_VAL_20 ((unsigned) (K_FIND)) + #define XLAT_STR_20 STRINGIFY(K_FIND) + XLAT(K_INSERT), + #define XLAT_VAL_21 ((unsigned) (K_INSERT)) + #define XLAT_STR_21 STRINGIFY(K_INSERT) + XLAT(K_REMOVE), + #define XLAT_VAL_22 ((unsigned) (K_REMOVE)) + #define XLAT_STR_22 STRINGIFY(K_REMOVE) + XLAT(K_SELECT), + #define XLAT_VAL_23 ((unsigned) (K_SELECT)) + #define XLAT_STR_23 STRINGIFY(K_SELECT) + XLAT(K_PGUP), + #define XLAT_VAL_24 ((unsigned) (K_PGUP)) + #define XLAT_STR_24 STRINGIFY(K_PGUP) + XLAT(K_PGDN), + #define XLAT_VAL_25 ((unsigned) (K_PGDN)) + #define XLAT_STR_25 STRINGIFY(K_PGDN) + XLAT(K_MACRO), + #define XLAT_VAL_26 ((unsigned) (K_MACRO)) + #define XLAT_STR_26 STRINGIFY(K_MACRO) + XLAT(K_HELP), + #define XLAT_VAL_27 ((unsigned) (K_HELP)) + #define XLAT_STR_27 STRINGIFY(K_HELP) + XLAT(K_DO), + #define XLAT_VAL_28 ((unsigned) (K_DO)) + #define XLAT_STR_28 STRINGIFY(K_DO) + XLAT(K_PAUSE), + #define XLAT_VAL_29 ((unsigned) (K_PAUSE)) + #define XLAT_STR_29 STRINGIFY(K_PAUSE) + XLAT(K_F21), + #define XLAT_VAL_30 ((unsigned) (K_F21)) + #define XLAT_STR_30 STRINGIFY(K_F21) + XLAT(K_F22), + #define XLAT_VAL_31 ((unsigned) (K_F22)) + #define XLAT_STR_31 STRINGIFY(K_F22) + XLAT(K_F23), + #define XLAT_VAL_32 ((unsigned) (K_F23)) + #define XLAT_STR_32 STRINGIFY(K_F23) + XLAT(K_F24), + #define XLAT_VAL_33 ((unsigned) (K_F24)) + #define XLAT_STR_33 STRINGIFY(K_F24) + XLAT(K_F25), + #define XLAT_VAL_34 ((unsigned) (K_F25)) + #define XLAT_STR_34 STRINGIFY(K_F25) + XLAT(K_F26), + #define XLAT_VAL_35 ((unsigned) (K_F26)) + #define XLAT_STR_35 STRINGIFY(K_F26) + XLAT(K_F27), + #define XLAT_VAL_36 ((unsigned) (K_F27)) + #define XLAT_STR_36 STRINGIFY(K_F27) + XLAT(K_F28), + #define XLAT_VAL_37 ((unsigned) (K_F28)) + #define XLAT_STR_37 STRINGIFY(K_F28) + XLAT(K_F29), + #define XLAT_VAL_38 ((unsigned) (K_F29)) + #define XLAT_STR_38 STRINGIFY(K_F29) + XLAT(K_F30), + #define XLAT_VAL_39 ((unsigned) (K_F30)) + #define XLAT_STR_39 STRINGIFY(K_F30) + XLAT(K_F31), + #define XLAT_VAL_40 ((unsigned) (K_F31)) + #define XLAT_STR_40 STRINGIFY(K_F31) + XLAT(K_F32), + #define XLAT_VAL_41 ((unsigned) (K_F32)) + #define XLAT_STR_41 STRINGIFY(K_F32) + XLAT(K_F33), + #define XLAT_VAL_42 ((unsigned) (K_F33)) + #define XLAT_STR_42 STRINGIFY(K_F33) + XLAT(K_F34), + #define XLAT_VAL_43 ((unsigned) (K_F34)) + #define XLAT_STR_43 STRINGIFY(K_F34) + XLAT(K_F35), + #define XLAT_VAL_44 ((unsigned) (K_F35)) + #define XLAT_STR_44 STRINGIFY(K_F35) + XLAT(K_F36), + #define XLAT_VAL_45 ((unsigned) (K_F36)) + #define XLAT_STR_45 STRINGIFY(K_F36) + XLAT(K_F37), + #define XLAT_VAL_46 ((unsigned) (K_F37)) + #define XLAT_STR_46 STRINGIFY(K_F37) + XLAT(K_F38), + #define XLAT_VAL_47 ((unsigned) (K_F38)) + #define XLAT_STR_47 STRINGIFY(K_F38) + XLAT(K_F39), + #define XLAT_VAL_48 ((unsigned) (K_F39)) + #define XLAT_STR_48 STRINGIFY(K_F39) + XLAT(K_F40), + #define XLAT_VAL_49 ((unsigned) (K_F40)) + #define XLAT_STR_49 STRINGIFY(K_F40) + XLAT(K_F41), + #define XLAT_VAL_50 ((unsigned) (K_F41)) + #define XLAT_STR_50 STRINGIFY(K_F41) + XLAT(K_F42), + #define XLAT_VAL_51 ((unsigned) (K_F42)) + #define XLAT_STR_51 STRINGIFY(K_F42) + XLAT(K_F43), + #define XLAT_VAL_52 ((unsigned) (K_F43)) + #define XLAT_STR_52 STRINGIFY(K_F43) + XLAT(K_F44), + #define XLAT_VAL_53 ((unsigned) (K_F44)) + #define XLAT_STR_53 STRINGIFY(K_F44) + XLAT(K_F45), + #define XLAT_VAL_54 ((unsigned) (K_F45)) + #define XLAT_STR_54 STRINGIFY(K_F45) + XLAT(K_F46), + #define XLAT_VAL_55 ((unsigned) (K_F46)) + #define XLAT_STR_55 STRINGIFY(K_F46) + XLAT(K_F47), + #define XLAT_VAL_56 ((unsigned) (K_F47)) + #define XLAT_STR_56 STRINGIFY(K_F47) + XLAT(K_F48), + #define XLAT_VAL_57 ((unsigned) (K_F48)) + #define XLAT_STR_57 STRINGIFY(K_F48) + XLAT(K_F49), + #define XLAT_VAL_58 ((unsigned) (K_F49)) + #define XLAT_STR_58 STRINGIFY(K_F49) + XLAT(K_F50), + #define XLAT_VAL_59 ((unsigned) (K_F50)) + #define XLAT_STR_59 STRINGIFY(K_F50) + XLAT(K_F51), + #define XLAT_VAL_60 ((unsigned) (K_F51)) + #define XLAT_STR_60 STRINGIFY(K_F51) + XLAT(K_F52), + #define XLAT_VAL_61 ((unsigned) (K_F52)) + #define XLAT_STR_61 STRINGIFY(K_F52) + XLAT(K_F53), + #define XLAT_VAL_62 ((unsigned) (K_F53)) + #define XLAT_STR_62 STRINGIFY(K_F53) + XLAT(K_F54), + #define XLAT_VAL_63 ((unsigned) (K_F54)) + #define XLAT_STR_63 STRINGIFY(K_F54) + XLAT(K_F55), + #define XLAT_VAL_64 ((unsigned) (K_F55)) + #define XLAT_STR_64 STRINGIFY(K_F55) + XLAT(K_F56), + #define XLAT_VAL_65 ((unsigned) (K_F56)) + #define XLAT_STR_65 STRINGIFY(K_F56) + XLAT(K_F57), + #define XLAT_VAL_66 ((unsigned) (K_F57)) + #define XLAT_STR_66 STRINGIFY(K_F57) + XLAT(K_F58), + #define XLAT_VAL_67 ((unsigned) (K_F58)) + #define XLAT_STR_67 STRINGIFY(K_F58) + XLAT(K_F59), + #define XLAT_VAL_68 ((unsigned) (K_F59)) + #define XLAT_STR_68 STRINGIFY(K_F59) + XLAT(K_F60), + #define XLAT_VAL_69 ((unsigned) (K_F60)) + #define XLAT_STR_69 STRINGIFY(K_F60) + XLAT(K_F61), + #define XLAT_VAL_70 ((unsigned) (K_F61)) + #define XLAT_STR_70 STRINGIFY(K_F61) + XLAT(K_F62), + #define XLAT_VAL_71 ((unsigned) (K_F62)) + #define XLAT_STR_71 STRINGIFY(K_F62) + XLAT(K_F63), + #define XLAT_VAL_72 ((unsigned) (K_F63)) + #define XLAT_STR_72 STRINGIFY(K_F63) + XLAT(K_F64), + #define XLAT_VAL_73 ((unsigned) (K_F64)) + #define XLAT_STR_73 STRINGIFY(K_F64) + XLAT(K_F65), + #define XLAT_VAL_74 ((unsigned) (K_F65)) + #define XLAT_STR_74 STRINGIFY(K_F65) + XLAT(K_F66), + #define XLAT_VAL_75 ((unsigned) (K_F66)) + #define XLAT_STR_75 STRINGIFY(K_F66) + XLAT(K_F67), + #define XLAT_VAL_76 ((unsigned) (K_F67)) + #define XLAT_STR_76 STRINGIFY(K_F67) + XLAT(K_F68), + #define XLAT_VAL_77 ((unsigned) (K_F68)) + #define XLAT_STR_77 STRINGIFY(K_F68) + XLAT(K_F69), + #define XLAT_VAL_78 ((unsigned) (K_F69)) + #define XLAT_STR_78 STRINGIFY(K_F69) + XLAT(K_F70), + #define XLAT_VAL_79 ((unsigned) (K_F70)) + #define XLAT_STR_79 STRINGIFY(K_F70) + XLAT(K_F71), + #define XLAT_VAL_80 ((unsigned) (K_F71)) + #define XLAT_STR_80 STRINGIFY(K_F71) + XLAT(K_F72), + #define XLAT_VAL_81 ((unsigned) (K_F72)) + #define XLAT_STR_81 STRINGIFY(K_F72) + XLAT(K_F73), + #define XLAT_VAL_82 ((unsigned) (K_F73)) + #define XLAT_STR_82 STRINGIFY(K_F73) + XLAT(K_F74), + #define XLAT_VAL_83 ((unsigned) (K_F74)) + #define XLAT_STR_83 STRINGIFY(K_F74) + XLAT(K_F75), + #define XLAT_VAL_84 ((unsigned) (K_F75)) + #define XLAT_STR_84 STRINGIFY(K_F75) + XLAT(K_F76), + #define XLAT_VAL_85 ((unsigned) (K_F76)) + #define XLAT_STR_85 STRINGIFY(K_F76) + XLAT(K_F77), + #define XLAT_VAL_86 ((unsigned) (K_F77)) + #define XLAT_STR_86 STRINGIFY(K_F77) + XLAT(K_F78), + #define XLAT_VAL_87 ((unsigned) (K_F78)) + #define XLAT_STR_87 STRINGIFY(K_F78) + XLAT(K_F79), + #define XLAT_VAL_88 ((unsigned) (K_F79)) + #define XLAT_STR_88 STRINGIFY(K_F79) + XLAT(K_F80), + #define XLAT_VAL_89 ((unsigned) (K_F80)) + #define XLAT_STR_89 STRINGIFY(K_F80) + XLAT(K_F81), + #define XLAT_VAL_90 ((unsigned) (K_F81)) + #define XLAT_STR_90 STRINGIFY(K_F81) + XLAT(K_F82), + #define XLAT_VAL_91 ((unsigned) (K_F82)) + #define XLAT_STR_91 STRINGIFY(K_F82) + XLAT(K_F83), + #define XLAT_VAL_92 ((unsigned) (K_F83)) + #define XLAT_STR_92 STRINGIFY(K_F83) + XLAT(K_F84), + #define XLAT_VAL_93 ((unsigned) (K_F84)) + #define XLAT_STR_93 STRINGIFY(K_F84) + XLAT(K_F85), + #define XLAT_VAL_94 ((unsigned) (K_F85)) + #define XLAT_STR_94 STRINGIFY(K_F85) + XLAT(K_F86), + #define XLAT_VAL_95 ((unsigned) (K_F86)) + #define XLAT_STR_95 STRINGIFY(K_F86) + XLAT(K_F87), + #define XLAT_VAL_96 ((unsigned) (K_F87)) + #define XLAT_STR_96 STRINGIFY(K_F87) + XLAT(K_F88), + #define XLAT_VAL_97 ((unsigned) (K_F88)) + #define XLAT_STR_97 STRINGIFY(K_F88) + XLAT(K_F89), + #define XLAT_VAL_98 ((unsigned) (K_F89)) + #define XLAT_STR_98 STRINGIFY(K_F89) + XLAT(K_F90), + #define XLAT_VAL_99 ((unsigned) (K_F90)) + #define XLAT_STR_99 STRINGIFY(K_F90) + XLAT(K_F91), + #define XLAT_VAL_100 ((unsigned) (K_F91)) + #define XLAT_STR_100 STRINGIFY(K_F91) + XLAT(K_F92), + #define XLAT_VAL_101 ((unsigned) (K_F92)) + #define XLAT_STR_101 STRINGIFY(K_F92) + XLAT(K_F93), + #define XLAT_VAL_102 ((unsigned) (K_F93)) + #define XLAT_STR_102 STRINGIFY(K_F93) + XLAT(K_F94), + #define XLAT_VAL_103 ((unsigned) (K_F94)) + #define XLAT_STR_103 STRINGIFY(K_F94) + XLAT(K_F95), + #define XLAT_VAL_104 ((unsigned) (K_F95)) + #define XLAT_STR_104 STRINGIFY(K_F95) + XLAT(K_F96), + #define XLAT_VAL_105 ((unsigned) (K_F96)) + #define XLAT_STR_105 STRINGIFY(K_F96) + XLAT(K_F97), + #define XLAT_VAL_106 ((unsigned) (K_F97)) + #define XLAT_STR_106 STRINGIFY(K_F97) + XLAT(K_F98), + #define XLAT_VAL_107 ((unsigned) (K_F98)) + #define XLAT_STR_107 STRINGIFY(K_F98) + XLAT(K_F99), + #define XLAT_VAL_108 ((unsigned) (K_F99)) + #define XLAT_STR_108 STRINGIFY(K_F99) + XLAT(K_F100), + #define XLAT_VAL_109 ((unsigned) (K_F100)) + #define XLAT_STR_109 STRINGIFY(K_F100) + XLAT(K_F101), + #define XLAT_VAL_110 ((unsigned) (K_F101)) + #define XLAT_STR_110 STRINGIFY(K_F101) + XLAT(K_F102), + #define XLAT_VAL_111 ((unsigned) (K_F102)) + #define XLAT_STR_111 STRINGIFY(K_F102) + XLAT(K_F103), + #define XLAT_VAL_112 ((unsigned) (K_F103)) + #define XLAT_STR_112 STRINGIFY(K_F103) + XLAT(K_F104), + #define XLAT_VAL_113 ((unsigned) (K_F104)) + #define XLAT_STR_113 STRINGIFY(K_F104) + XLAT(K_F105), + #define XLAT_VAL_114 ((unsigned) (K_F105)) + #define XLAT_STR_114 STRINGIFY(K_F105) + XLAT(K_F106), + #define XLAT_VAL_115 ((unsigned) (K_F106)) + #define XLAT_STR_115 STRINGIFY(K_F106) + XLAT(K_F107), + #define XLAT_VAL_116 ((unsigned) (K_F107)) + #define XLAT_STR_116 STRINGIFY(K_F107) + XLAT(K_F108), + #define XLAT_VAL_117 ((unsigned) (K_F108)) + #define XLAT_STR_117 STRINGIFY(K_F108) + XLAT(K_F109), + #define XLAT_VAL_118 ((unsigned) (K_F109)) + #define XLAT_STR_118 STRINGIFY(K_F109) + XLAT(K_F110), + #define XLAT_VAL_119 ((unsigned) (K_F110)) + #define XLAT_STR_119 STRINGIFY(K_F110) + XLAT(K_F111), + #define XLAT_VAL_120 ((unsigned) (K_F111)) + #define XLAT_STR_120 STRINGIFY(K_F111) + XLAT(K_F112), + #define XLAT_VAL_121 ((unsigned) (K_F112)) + #define XLAT_STR_121 STRINGIFY(K_F112) + XLAT(K_F113), + #define XLAT_VAL_122 ((unsigned) (K_F113)) + #define XLAT_STR_122 STRINGIFY(K_F113) + XLAT(K_F114), + #define XLAT_VAL_123 ((unsigned) (K_F114)) + #define XLAT_STR_123 STRINGIFY(K_F114) + XLAT(K_F115), + #define XLAT_VAL_124 ((unsigned) (K_F115)) + #define XLAT_STR_124 STRINGIFY(K_F115) + XLAT(K_F116), + #define XLAT_VAL_125 ((unsigned) (K_F116)) + #define XLAT_STR_125 STRINGIFY(K_F116) + XLAT(K_F117), + #define XLAT_VAL_126 ((unsigned) (K_F117)) + #define XLAT_STR_126 STRINGIFY(K_F117) + XLAT(K_F118), + #define XLAT_VAL_127 ((unsigned) (K_F118)) + #define XLAT_STR_127 STRINGIFY(K_F118) + XLAT(K_F119), + #define XLAT_VAL_128 ((unsigned) (K_F119)) + #define XLAT_STR_128 STRINGIFY(K_F119) + XLAT(K_F120), + #define XLAT_VAL_129 ((unsigned) (K_F120)) + #define XLAT_STR_129 STRINGIFY(K_F120) + XLAT(K_F121), + #define XLAT_VAL_130 ((unsigned) (K_F121)) + #define XLAT_STR_130 STRINGIFY(K_F121) + XLAT(K_F122), + #define XLAT_VAL_131 ((unsigned) (K_F122)) + #define XLAT_STR_131 STRINGIFY(K_F122) + XLAT(K_F123), + #define XLAT_VAL_132 ((unsigned) (K_F123)) + #define XLAT_STR_132 STRINGIFY(K_F123) + XLAT(K_F124), + #define XLAT_VAL_133 ((unsigned) (K_F124)) + #define XLAT_STR_133 STRINGIFY(K_F124) + XLAT(K_F125), + #define XLAT_VAL_134 ((unsigned) (K_F125)) + #define XLAT_STR_134 STRINGIFY(K_F125) + XLAT(K_F126), + #define XLAT_VAL_135 ((unsigned) (K_F126)) + #define XLAT_STR_135 STRINGIFY(K_F126) + XLAT(K_F127), + #define XLAT_VAL_136 ((unsigned) (K_F127)) + #define XLAT_STR_136 STRINGIFY(K_F127) + XLAT(K_F128), + #define XLAT_VAL_137 ((unsigned) (K_F128)) + #define XLAT_STR_137 STRINGIFY(K_F128) + XLAT(K_F129), + #define XLAT_VAL_138 ((unsigned) (K_F129)) + #define XLAT_STR_138 STRINGIFY(K_F129) + XLAT(K_F130), + #define XLAT_VAL_139 ((unsigned) (K_F130)) + #define XLAT_STR_139 STRINGIFY(K_F130) + XLAT(K_F131), + #define XLAT_VAL_140 ((unsigned) (K_F131)) + #define XLAT_STR_140 STRINGIFY(K_F131) + XLAT(K_F132), + #define XLAT_VAL_141 ((unsigned) (K_F132)) + #define XLAT_STR_141 STRINGIFY(K_F132) + XLAT(K_F133), + #define XLAT_VAL_142 ((unsigned) (K_F133)) + #define XLAT_STR_142 STRINGIFY(K_F133) + XLAT(K_F134), + #define XLAT_VAL_143 ((unsigned) (K_F134)) + #define XLAT_STR_143 STRINGIFY(K_F134) + XLAT(K_F135), + #define XLAT_VAL_144 ((unsigned) (K_F135)) + #define XLAT_STR_144 STRINGIFY(K_F135) + XLAT(K_F136), + #define XLAT_VAL_145 ((unsigned) (K_F136)) + #define XLAT_STR_145 STRINGIFY(K_F136) + XLAT(K_F137), + #define XLAT_VAL_146 ((unsigned) (K_F137)) + #define XLAT_STR_146 STRINGIFY(K_F137) + XLAT(K_F138), + #define XLAT_VAL_147 ((unsigned) (K_F138)) + #define XLAT_STR_147 STRINGIFY(K_F138) + XLAT(K_F139), + #define XLAT_VAL_148 ((unsigned) (K_F139)) + #define XLAT_STR_148 STRINGIFY(K_F139) + XLAT(K_F140), + #define XLAT_VAL_149 ((unsigned) (K_F140)) + #define XLAT_STR_149 STRINGIFY(K_F140) + XLAT(K_F141), + #define XLAT_VAL_150 ((unsigned) (K_F141)) + #define XLAT_STR_150 STRINGIFY(K_F141) + XLAT(K_F142), + #define XLAT_VAL_151 ((unsigned) (K_F142)) + #define XLAT_STR_151 STRINGIFY(K_F142) + XLAT(K_F143), + #define XLAT_VAL_152 ((unsigned) (K_F143)) + #define XLAT_STR_152 STRINGIFY(K_F143) + XLAT(K_F144), + #define XLAT_VAL_153 ((unsigned) (K_F144)) + #define XLAT_STR_153 STRINGIFY(K_F144) + XLAT(K_F145), + #define XLAT_VAL_154 ((unsigned) (K_F145)) + #define XLAT_STR_154 STRINGIFY(K_F145) + XLAT(K_F146), + #define XLAT_VAL_155 ((unsigned) (K_F146)) + #define XLAT_STR_155 STRINGIFY(K_F146) + XLAT(K_F147), + #define XLAT_VAL_156 ((unsigned) (K_F147)) + #define XLAT_STR_156 STRINGIFY(K_F147) + XLAT(K_F148), + #define XLAT_VAL_157 ((unsigned) (K_F148)) + #define XLAT_STR_157 STRINGIFY(K_F148) + XLAT(K_F149), + #define XLAT_VAL_158 ((unsigned) (K_F149)) + #define XLAT_STR_158 STRINGIFY(K_F149) + XLAT(K_F150), + #define XLAT_VAL_159 ((unsigned) (K_F150)) + #define XLAT_STR_159 STRINGIFY(K_F150) + XLAT(K_F151), + #define XLAT_VAL_160 ((unsigned) (K_F151)) + #define XLAT_STR_160 STRINGIFY(K_F151) + XLAT(K_F152), + #define XLAT_VAL_161 ((unsigned) (K_F152)) + #define XLAT_STR_161 STRINGIFY(K_F152) + XLAT(K_F153), + #define XLAT_VAL_162 ((unsigned) (K_F153)) + #define XLAT_STR_162 STRINGIFY(K_F153) + XLAT(K_F154), + #define XLAT_VAL_163 ((unsigned) (K_F154)) + #define XLAT_STR_163 STRINGIFY(K_F154) + XLAT(K_F155), + #define XLAT_VAL_164 ((unsigned) (K_F155)) + #define XLAT_STR_164 STRINGIFY(K_F155) + XLAT(K_F156), + #define XLAT_VAL_165 ((unsigned) (K_F156)) + #define XLAT_STR_165 STRINGIFY(K_F156) + XLAT(K_F157), + #define XLAT_VAL_166 ((unsigned) (K_F157)) + #define XLAT_STR_166 STRINGIFY(K_F157) + XLAT(K_F158), + #define XLAT_VAL_167 ((unsigned) (K_F158)) + #define XLAT_STR_167 STRINGIFY(K_F158) + XLAT(K_F159), + #define XLAT_VAL_168 ((unsigned) (K_F159)) + #define XLAT_STR_168 STRINGIFY(K_F159) + XLAT(K_F160), + #define XLAT_VAL_169 ((unsigned) (K_F160)) + #define XLAT_STR_169 STRINGIFY(K_F160) + XLAT(K_F161), + #define XLAT_VAL_170 ((unsigned) (K_F161)) + #define XLAT_STR_170 STRINGIFY(K_F161) + XLAT(K_F162), + #define XLAT_VAL_171 ((unsigned) (K_F162)) + #define XLAT_STR_171 STRINGIFY(K_F162) + XLAT(K_F163), + #define XLAT_VAL_172 ((unsigned) (K_F163)) + #define XLAT_STR_172 STRINGIFY(K_F163) + XLAT(K_F164), + #define XLAT_VAL_173 ((unsigned) (K_F164)) + #define XLAT_STR_173 STRINGIFY(K_F164) + XLAT(K_F165), + #define XLAT_VAL_174 ((unsigned) (K_F165)) + #define XLAT_STR_174 STRINGIFY(K_F165) + XLAT(K_F166), + #define XLAT_VAL_175 ((unsigned) (K_F166)) + #define XLAT_STR_175 STRINGIFY(K_F166) + XLAT(K_F167), + #define XLAT_VAL_176 ((unsigned) (K_F167)) + #define XLAT_STR_176 STRINGIFY(K_F167) + XLAT(K_F168), + #define XLAT_VAL_177 ((unsigned) (K_F168)) + #define XLAT_STR_177 STRINGIFY(K_F168) + XLAT(K_F169), + #define XLAT_VAL_178 ((unsigned) (K_F169)) + #define XLAT_STR_178 STRINGIFY(K_F169) + XLAT(K_F170), + #define XLAT_VAL_179 ((unsigned) (K_F170)) + #define XLAT_STR_179 STRINGIFY(K_F170) + XLAT(K_F171), + #define XLAT_VAL_180 ((unsigned) (K_F171)) + #define XLAT_STR_180 STRINGIFY(K_F171) + XLAT(K_F172), + #define XLAT_VAL_181 ((unsigned) (K_F172)) + #define XLAT_STR_181 STRINGIFY(K_F172) + XLAT(K_F173), + #define XLAT_VAL_182 ((unsigned) (K_F173)) + #define XLAT_STR_182 STRINGIFY(K_F173) + XLAT(K_F174), + #define XLAT_VAL_183 ((unsigned) (K_F174)) + #define XLAT_STR_183 STRINGIFY(K_F174) + XLAT(K_F175), + #define XLAT_VAL_184 ((unsigned) (K_F175)) + #define XLAT_STR_184 STRINGIFY(K_F175) + XLAT(K_F176), + #define XLAT_VAL_185 ((unsigned) (K_F176)) + #define XLAT_STR_185 STRINGIFY(K_F176) + XLAT(K_F177), + #define XLAT_VAL_186 ((unsigned) (K_F177)) + #define XLAT_STR_186 STRINGIFY(K_F177) + XLAT(K_F178), + #define XLAT_VAL_187 ((unsigned) (K_F178)) + #define XLAT_STR_187 STRINGIFY(K_F178) + XLAT(K_F179), + #define XLAT_VAL_188 ((unsigned) (K_F179)) + #define XLAT_STR_188 STRINGIFY(K_F179) + XLAT(K_F180), + #define XLAT_VAL_189 ((unsigned) (K_F180)) + #define XLAT_STR_189 STRINGIFY(K_F180) + XLAT(K_F181), + #define XLAT_VAL_190 ((unsigned) (K_F181)) + #define XLAT_STR_190 STRINGIFY(K_F181) + XLAT(K_F182), + #define XLAT_VAL_191 ((unsigned) (K_F182)) + #define XLAT_STR_191 STRINGIFY(K_F182) + XLAT(K_F183), + #define XLAT_VAL_192 ((unsigned) (K_F183)) + #define XLAT_STR_192 STRINGIFY(K_F183) + XLAT(K_F184), + #define XLAT_VAL_193 ((unsigned) (K_F184)) + #define XLAT_STR_193 STRINGIFY(K_F184) + XLAT(K_F185), + #define XLAT_VAL_194 ((unsigned) (K_F185)) + #define XLAT_STR_194 STRINGIFY(K_F185) + XLAT(K_F186), + #define XLAT_VAL_195 ((unsigned) (K_F186)) + #define XLAT_STR_195 STRINGIFY(K_F186) + XLAT(K_F187), + #define XLAT_VAL_196 ((unsigned) (K_F187)) + #define XLAT_STR_196 STRINGIFY(K_F187) + XLAT(K_F188), + #define XLAT_VAL_197 ((unsigned) (K_F188)) + #define XLAT_STR_197 STRINGIFY(K_F188) + XLAT(K_F189), + #define XLAT_VAL_198 ((unsigned) (K_F189)) + #define XLAT_STR_198 STRINGIFY(K_F189) + XLAT(K_F190), + #define XLAT_VAL_199 ((unsigned) (K_F190)) + #define XLAT_STR_199 STRINGIFY(K_F190) + XLAT(K_F191), + #define XLAT_VAL_200 ((unsigned) (K_F191)) + #define XLAT_STR_200 STRINGIFY(K_F191) + XLAT(K_F192), + #define XLAT_VAL_201 ((unsigned) (K_F192)) + #define XLAT_STR_201 STRINGIFY(K_F192) + XLAT(K_F193), + #define XLAT_VAL_202 ((unsigned) (K_F193)) + #define XLAT_STR_202 STRINGIFY(K_F193) + XLAT(K_F194), + #define XLAT_VAL_203 ((unsigned) (K_F194)) + #define XLAT_STR_203 STRINGIFY(K_F194) + XLAT(K_F195), + #define XLAT_VAL_204 ((unsigned) (K_F195)) + #define XLAT_STR_204 STRINGIFY(K_F195) + XLAT(K_F196), + #define XLAT_VAL_205 ((unsigned) (K_F196)) + #define XLAT_STR_205 STRINGIFY(K_F196) + XLAT(K_F197), + #define XLAT_VAL_206 ((unsigned) (K_F197)) + #define XLAT_STR_206 STRINGIFY(K_F197) + XLAT(K_F198), + #define XLAT_VAL_207 ((unsigned) (K_F198)) + #define XLAT_STR_207 STRINGIFY(K_F198) + XLAT(K_F199), + #define XLAT_VAL_208 ((unsigned) (K_F199)) + #define XLAT_STR_208 STRINGIFY(K_F199) + XLAT(K_F200), + #define XLAT_VAL_209 ((unsigned) (K_F200)) + #define XLAT_STR_209 STRINGIFY(K_F200) + XLAT(K_F201), + #define XLAT_VAL_210 ((unsigned) (K_F201)) + #define XLAT_STR_210 STRINGIFY(K_F201) + XLAT(K_F202), + #define XLAT_VAL_211 ((unsigned) (K_F202)) + #define XLAT_STR_211 STRINGIFY(K_F202) + XLAT(K_F203), + #define XLAT_VAL_212 ((unsigned) (K_F203)) + #define XLAT_STR_212 STRINGIFY(K_F203) + XLAT(K_F204), + #define XLAT_VAL_213 ((unsigned) (K_F204)) + #define XLAT_STR_213 STRINGIFY(K_F204) + XLAT(K_F205), + #define XLAT_VAL_214 ((unsigned) (K_F205)) + #define XLAT_STR_214 STRINGIFY(K_F205) + XLAT(K_F206), + #define XLAT_VAL_215 ((unsigned) (K_F206)) + #define XLAT_STR_215 STRINGIFY(K_F206) + XLAT(K_F207), + #define XLAT_VAL_216 ((unsigned) (K_F207)) + #define XLAT_STR_216 STRINGIFY(K_F207) + XLAT(K_F208), + #define XLAT_VAL_217 ((unsigned) (K_F208)) + #define XLAT_STR_217 STRINGIFY(K_F208) + XLAT(K_F209), + #define XLAT_VAL_218 ((unsigned) (K_F209)) + #define XLAT_STR_218 STRINGIFY(K_F209) + XLAT(K_F210), + #define XLAT_VAL_219 ((unsigned) (K_F210)) + #define XLAT_STR_219 STRINGIFY(K_F210) + XLAT(K_F211), + #define XLAT_VAL_220 ((unsigned) (K_F211)) + #define XLAT_STR_220 STRINGIFY(K_F211) + XLAT(K_F212), + #define XLAT_VAL_221 ((unsigned) (K_F212)) + #define XLAT_STR_221 STRINGIFY(K_F212) + XLAT(K_F213), + #define XLAT_VAL_222 ((unsigned) (K_F213)) + #define XLAT_STR_222 STRINGIFY(K_F213) + XLAT(K_F214), + #define XLAT_VAL_223 ((unsigned) (K_F214)) + #define XLAT_STR_223 STRINGIFY(K_F214) + XLAT(K_F215), + #define XLAT_VAL_224 ((unsigned) (K_F215)) + #define XLAT_STR_224 STRINGIFY(K_F215) + XLAT(K_F216), + #define XLAT_VAL_225 ((unsigned) (K_F216)) + #define XLAT_STR_225 STRINGIFY(K_F216) + XLAT(K_F217), + #define XLAT_VAL_226 ((unsigned) (K_F217)) + #define XLAT_STR_226 STRINGIFY(K_F217) + XLAT(K_F218), + #define XLAT_VAL_227 ((unsigned) (K_F218)) + #define XLAT_STR_227 STRINGIFY(K_F218) + XLAT(K_F219), + #define XLAT_VAL_228 ((unsigned) (K_F219)) + #define XLAT_STR_228 STRINGIFY(K_F219) + XLAT(K_F220), + #define XLAT_VAL_229 ((unsigned) (K_F220)) + #define XLAT_STR_229 STRINGIFY(K_F220) + XLAT(K_F221), + #define XLAT_VAL_230 ((unsigned) (K_F221)) + #define XLAT_STR_230 STRINGIFY(K_F221) + XLAT(K_F222), + #define XLAT_VAL_231 ((unsigned) (K_F222)) + #define XLAT_STR_231 STRINGIFY(K_F222) + XLAT(K_F223), + #define XLAT_VAL_232 ((unsigned) (K_F223)) + #define XLAT_STR_232 STRINGIFY(K_F223) + XLAT(K_F224), + #define XLAT_VAL_233 ((unsigned) (K_F224)) + #define XLAT_STR_233 STRINGIFY(K_F224) + XLAT(K_F225), + #define XLAT_VAL_234 ((unsigned) (K_F225)) + #define XLAT_STR_234 STRINGIFY(K_F225) + XLAT(K_F226), + #define XLAT_VAL_235 ((unsigned) (K_F226)) + #define XLAT_STR_235 STRINGIFY(K_F226) + XLAT(K_F227), + #define XLAT_VAL_236 ((unsigned) (K_F227)) + #define XLAT_STR_236 STRINGIFY(K_F227) + XLAT(K_F228), + #define XLAT_VAL_237 ((unsigned) (K_F228)) + #define XLAT_STR_237 STRINGIFY(K_F228) + XLAT(K_F229), + #define XLAT_VAL_238 ((unsigned) (K_F229)) + #define XLAT_STR_238 STRINGIFY(K_F229) + XLAT(K_F230), + #define XLAT_VAL_239 ((unsigned) (K_F230)) + #define XLAT_STR_239 STRINGIFY(K_F230) + XLAT(K_F231), + #define XLAT_VAL_240 ((unsigned) (K_F231)) + #define XLAT_STR_240 STRINGIFY(K_F231) + XLAT(K_F232), + #define XLAT_VAL_241 ((unsigned) (K_F232)) + #define XLAT_STR_241 STRINGIFY(K_F232) + XLAT(K_F233), + #define XLAT_VAL_242 ((unsigned) (K_F233)) + #define XLAT_STR_242 STRINGIFY(K_F233) + XLAT(K_F234), + #define XLAT_VAL_243 ((unsigned) (K_F234)) + #define XLAT_STR_243 STRINGIFY(K_F234) + XLAT(K_F235), + #define XLAT_VAL_244 ((unsigned) (K_F235)) + #define XLAT_STR_244 STRINGIFY(K_F235) + XLAT(K_F236), + #define XLAT_VAL_245 ((unsigned) (K_F236)) + #define XLAT_STR_245 STRINGIFY(K_F236) + XLAT(K_F237), + #define XLAT_VAL_246 ((unsigned) (K_F237)) + #define XLAT_STR_246 STRINGIFY(K_F237) + XLAT(K_F238), + #define XLAT_VAL_247 ((unsigned) (K_F238)) + #define XLAT_STR_247 STRINGIFY(K_F238) + XLAT(K_F239), + #define XLAT_VAL_248 ((unsigned) (K_F239)) + #define XLAT_STR_248 STRINGIFY(K_F239) + XLAT(K_F240), + #define XLAT_VAL_249 ((unsigned) (K_F240)) + #define XLAT_STR_249 STRINGIFY(K_F240) + XLAT(K_F241), + #define XLAT_VAL_250 ((unsigned) (K_F241)) + #define XLAT_STR_250 STRINGIFY(K_F241) + XLAT(K_F242), + #define XLAT_VAL_251 ((unsigned) (K_F242)) + #define XLAT_STR_251 STRINGIFY(K_F242) + XLAT(K_F243), + #define XLAT_VAL_252 ((unsigned) (K_F243)) + #define XLAT_STR_252 STRINGIFY(K_F243) + XLAT(K_F244), + #define XLAT_VAL_253 ((unsigned) (K_F244)) + #define XLAT_STR_253 STRINGIFY(K_F244) + XLAT(K_F245), + #define XLAT_VAL_254 ((unsigned) (K_F245)) + #define XLAT_STR_254 STRINGIFY(K_F245) + XLAT(K_UNDO), + #define XLAT_VAL_255 ((unsigned) (K_UNDO)) + #define XLAT_STR_255 STRINGIFY(K_UNDO) +}; +static +const struct xlat kd_key_fn_keys1 = { { + .data = kd_key_fn_keys_xdata, + .size = ARRAY_SIZE(kd_key_fn_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif +# ifdef XLAT_VAL_26 + | XLAT_VAL_26 +# endif +# ifdef XLAT_VAL_27 + | XLAT_VAL_27 +# endif +# ifdef XLAT_VAL_28 + | XLAT_VAL_28 +# endif +# ifdef XLAT_VAL_29 + | XLAT_VAL_29 +# endif +# ifdef XLAT_VAL_30 + | XLAT_VAL_30 +# endif +# ifdef XLAT_VAL_31 + | XLAT_VAL_31 +# endif +# ifdef XLAT_VAL_32 + | XLAT_VAL_32 +# endif +# ifdef XLAT_VAL_33 + | XLAT_VAL_33 +# endif +# ifdef XLAT_VAL_34 + | XLAT_VAL_34 +# endif +# ifdef XLAT_VAL_35 + | XLAT_VAL_35 +# endif +# ifdef XLAT_VAL_36 + | XLAT_VAL_36 +# endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif +# ifdef XLAT_VAL_38 + | XLAT_VAL_38 +# endif +# ifdef XLAT_VAL_39 + | XLAT_VAL_39 +# endif +# ifdef XLAT_VAL_40 + | XLAT_VAL_40 +# endif +# ifdef XLAT_VAL_41 + | XLAT_VAL_41 +# endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif +# ifdef XLAT_VAL_43 + | XLAT_VAL_43 +# endif +# ifdef XLAT_VAL_44 + | XLAT_VAL_44 +# endif +# ifdef XLAT_VAL_45 + | XLAT_VAL_45 +# endif +# ifdef XLAT_VAL_46 + | XLAT_VAL_46 +# endif +# ifdef XLAT_VAL_47 + | XLAT_VAL_47 +# endif +# ifdef XLAT_VAL_48 + | XLAT_VAL_48 +# endif +# ifdef XLAT_VAL_49 + | XLAT_VAL_49 +# endif +# ifdef XLAT_VAL_50 + | XLAT_VAL_50 +# endif +# ifdef XLAT_VAL_51 + | XLAT_VAL_51 +# endif +# ifdef XLAT_VAL_52 + | XLAT_VAL_52 +# endif +# ifdef XLAT_VAL_53 + | XLAT_VAL_53 +# endif +# ifdef XLAT_VAL_54 + | XLAT_VAL_54 +# endif +# ifdef XLAT_VAL_55 + | XLAT_VAL_55 +# endif +# ifdef XLAT_VAL_56 + | XLAT_VAL_56 +# endif +# ifdef XLAT_VAL_57 + | XLAT_VAL_57 +# endif +# ifdef XLAT_VAL_58 + | XLAT_VAL_58 +# endif +# ifdef XLAT_VAL_59 + | XLAT_VAL_59 +# endif +# ifdef XLAT_VAL_60 + | XLAT_VAL_60 +# endif +# ifdef XLAT_VAL_61 + | XLAT_VAL_61 +# endif +# ifdef XLAT_VAL_62 + | XLAT_VAL_62 +# endif +# ifdef XLAT_VAL_63 + | XLAT_VAL_63 +# endif +# ifdef XLAT_VAL_64 + | XLAT_VAL_64 +# endif +# ifdef XLAT_VAL_65 + | XLAT_VAL_65 +# endif +# ifdef XLAT_VAL_66 + | XLAT_VAL_66 +# endif +# ifdef XLAT_VAL_67 + | XLAT_VAL_67 +# endif +# ifdef XLAT_VAL_68 + | XLAT_VAL_68 +# endif +# ifdef XLAT_VAL_69 + | XLAT_VAL_69 +# endif +# ifdef XLAT_VAL_70 + | XLAT_VAL_70 +# endif +# ifdef XLAT_VAL_71 + | XLAT_VAL_71 +# endif +# ifdef XLAT_VAL_72 + | XLAT_VAL_72 +# endif +# ifdef XLAT_VAL_73 + | XLAT_VAL_73 +# endif +# ifdef XLAT_VAL_74 + | XLAT_VAL_74 +# endif +# ifdef XLAT_VAL_75 + | XLAT_VAL_75 +# endif +# ifdef XLAT_VAL_76 + | XLAT_VAL_76 +# endif +# ifdef XLAT_VAL_77 + | XLAT_VAL_77 +# endif +# ifdef XLAT_VAL_78 + | XLAT_VAL_78 +# endif +# ifdef XLAT_VAL_79 + | XLAT_VAL_79 +# endif +# ifdef XLAT_VAL_80 + | XLAT_VAL_80 +# endif +# ifdef XLAT_VAL_81 + | XLAT_VAL_81 +# endif +# ifdef XLAT_VAL_82 + | XLAT_VAL_82 +# endif +# ifdef XLAT_VAL_83 + | XLAT_VAL_83 +# endif +# ifdef XLAT_VAL_84 + | XLAT_VAL_84 +# endif +# ifdef XLAT_VAL_85 + | XLAT_VAL_85 +# endif +# ifdef XLAT_VAL_86 + | XLAT_VAL_86 +# endif +# ifdef XLAT_VAL_87 + | XLAT_VAL_87 +# endif +# ifdef XLAT_VAL_88 + | XLAT_VAL_88 +# endif +# ifdef XLAT_VAL_89 + | XLAT_VAL_89 +# endif +# ifdef XLAT_VAL_90 + | XLAT_VAL_90 +# endif +# ifdef XLAT_VAL_91 + | XLAT_VAL_91 +# endif +# ifdef XLAT_VAL_92 + | XLAT_VAL_92 +# endif +# ifdef XLAT_VAL_93 + | XLAT_VAL_93 +# endif +# ifdef XLAT_VAL_94 + | XLAT_VAL_94 +# endif +# ifdef XLAT_VAL_95 + | XLAT_VAL_95 +# endif +# ifdef XLAT_VAL_96 + | XLAT_VAL_96 +# endif +# ifdef XLAT_VAL_97 + | XLAT_VAL_97 +# endif +# ifdef XLAT_VAL_98 + | XLAT_VAL_98 +# endif +# ifdef XLAT_VAL_99 + | XLAT_VAL_99 +# endif +# ifdef XLAT_VAL_100 + | XLAT_VAL_100 +# endif +# ifdef XLAT_VAL_101 + | XLAT_VAL_101 +# endif +# ifdef XLAT_VAL_102 + | XLAT_VAL_102 +# endif +# ifdef XLAT_VAL_103 + | XLAT_VAL_103 +# endif +# ifdef XLAT_VAL_104 + | XLAT_VAL_104 +# endif +# ifdef XLAT_VAL_105 + | XLAT_VAL_105 +# endif +# ifdef XLAT_VAL_106 + | XLAT_VAL_106 +# endif +# ifdef XLAT_VAL_107 + | XLAT_VAL_107 +# endif +# ifdef XLAT_VAL_108 + | XLAT_VAL_108 +# endif +# ifdef XLAT_VAL_109 + | XLAT_VAL_109 +# endif +# ifdef XLAT_VAL_110 + | XLAT_VAL_110 +# endif +# ifdef XLAT_VAL_111 + | XLAT_VAL_111 +# endif +# ifdef XLAT_VAL_112 + | XLAT_VAL_112 +# endif +# ifdef XLAT_VAL_113 + | XLAT_VAL_113 +# endif +# ifdef XLAT_VAL_114 + | XLAT_VAL_114 +# endif +# ifdef XLAT_VAL_115 + | XLAT_VAL_115 +# endif +# ifdef XLAT_VAL_116 + | XLAT_VAL_116 +# endif +# ifdef XLAT_VAL_117 + | XLAT_VAL_117 +# endif +# ifdef XLAT_VAL_118 + | XLAT_VAL_118 +# endif +# ifdef XLAT_VAL_119 + | XLAT_VAL_119 +# endif +# ifdef XLAT_VAL_120 + | XLAT_VAL_120 +# endif +# ifdef XLAT_VAL_121 + | XLAT_VAL_121 +# endif +# ifdef XLAT_VAL_122 + | XLAT_VAL_122 +# endif +# ifdef XLAT_VAL_123 + | XLAT_VAL_123 +# endif +# ifdef XLAT_VAL_124 + | XLAT_VAL_124 +# endif +# ifdef XLAT_VAL_125 + | XLAT_VAL_125 +# endif +# ifdef XLAT_VAL_126 + | XLAT_VAL_126 +# endif +# ifdef XLAT_VAL_127 + | XLAT_VAL_127 +# endif +# ifdef XLAT_VAL_128 + | XLAT_VAL_128 +# endif +# ifdef XLAT_VAL_129 + | XLAT_VAL_129 +# endif +# ifdef XLAT_VAL_130 + | XLAT_VAL_130 +# endif +# ifdef XLAT_VAL_131 + | XLAT_VAL_131 +# endif +# ifdef XLAT_VAL_132 + | XLAT_VAL_132 +# endif +# ifdef XLAT_VAL_133 + | XLAT_VAL_133 +# endif +# ifdef XLAT_VAL_134 + | XLAT_VAL_134 +# endif +# ifdef XLAT_VAL_135 + | XLAT_VAL_135 +# endif +# ifdef XLAT_VAL_136 + | XLAT_VAL_136 +# endif +# ifdef XLAT_VAL_137 + | XLAT_VAL_137 +# endif +# ifdef XLAT_VAL_138 + | XLAT_VAL_138 +# endif +# ifdef XLAT_VAL_139 + | XLAT_VAL_139 +# endif +# ifdef XLAT_VAL_140 + | XLAT_VAL_140 +# endif +# ifdef XLAT_VAL_141 + | XLAT_VAL_141 +# endif +# ifdef XLAT_VAL_142 + | XLAT_VAL_142 +# endif +# ifdef XLAT_VAL_143 + | XLAT_VAL_143 +# endif +# ifdef XLAT_VAL_144 + | XLAT_VAL_144 +# endif +# ifdef XLAT_VAL_145 + | XLAT_VAL_145 +# endif +# ifdef XLAT_VAL_146 + | XLAT_VAL_146 +# endif +# ifdef XLAT_VAL_147 + | XLAT_VAL_147 +# endif +# ifdef XLAT_VAL_148 + | XLAT_VAL_148 +# endif +# ifdef XLAT_VAL_149 + | XLAT_VAL_149 +# endif +# ifdef XLAT_VAL_150 + | XLAT_VAL_150 +# endif +# ifdef XLAT_VAL_151 + | XLAT_VAL_151 +# endif +# ifdef XLAT_VAL_152 + | XLAT_VAL_152 +# endif +# ifdef XLAT_VAL_153 + | XLAT_VAL_153 +# endif +# ifdef XLAT_VAL_154 + | XLAT_VAL_154 +# endif +# ifdef XLAT_VAL_155 + | XLAT_VAL_155 +# endif +# ifdef XLAT_VAL_156 + | XLAT_VAL_156 +# endif +# ifdef XLAT_VAL_157 + | XLAT_VAL_157 +# endif +# ifdef XLAT_VAL_158 + | XLAT_VAL_158 +# endif +# ifdef XLAT_VAL_159 + | XLAT_VAL_159 +# endif +# ifdef XLAT_VAL_160 + | XLAT_VAL_160 +# endif +# ifdef XLAT_VAL_161 + | XLAT_VAL_161 +# endif +# ifdef XLAT_VAL_162 + | XLAT_VAL_162 +# endif +# ifdef XLAT_VAL_163 + | XLAT_VAL_163 +# endif +# ifdef XLAT_VAL_164 + | XLAT_VAL_164 +# endif +# ifdef XLAT_VAL_165 + | XLAT_VAL_165 +# endif +# ifdef XLAT_VAL_166 + | XLAT_VAL_166 +# endif +# ifdef XLAT_VAL_167 + | XLAT_VAL_167 +# endif +# ifdef XLAT_VAL_168 + | XLAT_VAL_168 +# endif +# ifdef XLAT_VAL_169 + | XLAT_VAL_169 +# endif +# ifdef XLAT_VAL_170 + | XLAT_VAL_170 +# endif +# ifdef XLAT_VAL_171 + | XLAT_VAL_171 +# endif +# ifdef XLAT_VAL_172 + | XLAT_VAL_172 +# endif +# ifdef XLAT_VAL_173 + | XLAT_VAL_173 +# endif +# ifdef XLAT_VAL_174 + | XLAT_VAL_174 +# endif +# ifdef XLAT_VAL_175 + | XLAT_VAL_175 +# endif +# ifdef XLAT_VAL_176 + | XLAT_VAL_176 +# endif +# ifdef XLAT_VAL_177 + | XLAT_VAL_177 +# endif +# ifdef XLAT_VAL_178 + | XLAT_VAL_178 +# endif +# ifdef XLAT_VAL_179 + | XLAT_VAL_179 +# endif +# ifdef XLAT_VAL_180 + | XLAT_VAL_180 +# endif +# ifdef XLAT_VAL_181 + | XLAT_VAL_181 +# endif +# ifdef XLAT_VAL_182 + | XLAT_VAL_182 +# endif +# ifdef XLAT_VAL_183 + | XLAT_VAL_183 +# endif +# ifdef XLAT_VAL_184 + | XLAT_VAL_184 +# endif +# ifdef XLAT_VAL_185 + | XLAT_VAL_185 +# endif +# ifdef XLAT_VAL_186 + | XLAT_VAL_186 +# endif +# ifdef XLAT_VAL_187 + | XLAT_VAL_187 +# endif +# ifdef XLAT_VAL_188 + | XLAT_VAL_188 +# endif +# ifdef XLAT_VAL_189 + | XLAT_VAL_189 +# endif +# ifdef XLAT_VAL_190 + | XLAT_VAL_190 +# endif +# ifdef XLAT_VAL_191 + | XLAT_VAL_191 +# endif +# ifdef XLAT_VAL_192 + | XLAT_VAL_192 +# endif +# ifdef XLAT_VAL_193 + | XLAT_VAL_193 +# endif +# ifdef XLAT_VAL_194 + | XLAT_VAL_194 +# endif +# ifdef XLAT_VAL_195 + | XLAT_VAL_195 +# endif +# ifdef XLAT_VAL_196 + | XLAT_VAL_196 +# endif +# ifdef XLAT_VAL_197 + | XLAT_VAL_197 +# endif +# ifdef XLAT_VAL_198 + | XLAT_VAL_198 +# endif +# ifdef XLAT_VAL_199 + | XLAT_VAL_199 +# endif +# ifdef XLAT_VAL_200 + | XLAT_VAL_200 +# endif +# ifdef XLAT_VAL_201 + | XLAT_VAL_201 +# endif +# ifdef XLAT_VAL_202 + | XLAT_VAL_202 +# endif +# ifdef XLAT_VAL_203 + | XLAT_VAL_203 +# endif +# ifdef XLAT_VAL_204 + | XLAT_VAL_204 +# endif +# ifdef XLAT_VAL_205 + | XLAT_VAL_205 +# endif +# ifdef XLAT_VAL_206 + | XLAT_VAL_206 +# endif +# ifdef XLAT_VAL_207 + | XLAT_VAL_207 +# endif +# ifdef XLAT_VAL_208 + | XLAT_VAL_208 +# endif +# ifdef XLAT_VAL_209 + | XLAT_VAL_209 +# endif +# ifdef XLAT_VAL_210 + | XLAT_VAL_210 +# endif +# ifdef XLAT_VAL_211 + | XLAT_VAL_211 +# endif +# ifdef XLAT_VAL_212 + | XLAT_VAL_212 +# endif +# ifdef XLAT_VAL_213 + | XLAT_VAL_213 +# endif +# ifdef XLAT_VAL_214 + | XLAT_VAL_214 +# endif +# ifdef XLAT_VAL_215 + | XLAT_VAL_215 +# endif +# ifdef XLAT_VAL_216 + | XLAT_VAL_216 +# endif +# ifdef XLAT_VAL_217 + | XLAT_VAL_217 +# endif +# ifdef XLAT_VAL_218 + | XLAT_VAL_218 +# endif +# ifdef XLAT_VAL_219 + | XLAT_VAL_219 +# endif +# ifdef XLAT_VAL_220 + | XLAT_VAL_220 +# endif +# ifdef XLAT_VAL_221 + | XLAT_VAL_221 +# endif +# ifdef XLAT_VAL_222 + | XLAT_VAL_222 +# endif +# ifdef XLAT_VAL_223 + | XLAT_VAL_223 +# endif +# ifdef XLAT_VAL_224 + | XLAT_VAL_224 +# endif +# ifdef XLAT_VAL_225 + | XLAT_VAL_225 +# endif +# ifdef XLAT_VAL_226 + | XLAT_VAL_226 +# endif +# ifdef XLAT_VAL_227 + | XLAT_VAL_227 +# endif +# ifdef XLAT_VAL_228 + | XLAT_VAL_228 +# endif +# ifdef XLAT_VAL_229 + | XLAT_VAL_229 +# endif +# ifdef XLAT_VAL_230 + | XLAT_VAL_230 +# endif +# ifdef XLAT_VAL_231 + | XLAT_VAL_231 +# endif +# ifdef XLAT_VAL_232 + | XLAT_VAL_232 +# endif +# ifdef XLAT_VAL_233 + | XLAT_VAL_233 +# endif +# ifdef XLAT_VAL_234 + | XLAT_VAL_234 +# endif +# ifdef XLAT_VAL_235 + | XLAT_VAL_235 +# endif +# ifdef XLAT_VAL_236 + | XLAT_VAL_236 +# endif +# ifdef XLAT_VAL_237 + | XLAT_VAL_237 +# endif +# ifdef XLAT_VAL_238 + | XLAT_VAL_238 +# endif +# ifdef XLAT_VAL_239 + | XLAT_VAL_239 +# endif +# ifdef XLAT_VAL_240 + | XLAT_VAL_240 +# endif +# ifdef XLAT_VAL_241 + | XLAT_VAL_241 +# endif +# ifdef XLAT_VAL_242 + | XLAT_VAL_242 +# endif +# ifdef XLAT_VAL_243 + | XLAT_VAL_243 +# endif +# ifdef XLAT_VAL_244 + | XLAT_VAL_244 +# endif +# ifdef XLAT_VAL_245 + | XLAT_VAL_245 +# endif +# ifdef XLAT_VAL_246 + | XLAT_VAL_246 +# endif +# ifdef XLAT_VAL_247 + | XLAT_VAL_247 +# endif +# ifdef XLAT_VAL_248 + | XLAT_VAL_248 +# endif +# ifdef XLAT_VAL_249 + | XLAT_VAL_249 +# endif +# ifdef XLAT_VAL_250 + | XLAT_VAL_250 +# endif +# ifdef XLAT_VAL_251 + | XLAT_VAL_251 +# endif +# ifdef XLAT_VAL_252 + | XLAT_VAL_252 +# endif +# ifdef XLAT_VAL_253 + | XLAT_VAL_253 +# endif +# ifdef XLAT_VAL_254 + | XLAT_VAL_254 +# endif +# ifdef XLAT_VAL_255 + | XLAT_VAL_255 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif +# ifdef XLAT_STR_26 + + sizeof(XLAT_STR_26) +# endif +# ifdef XLAT_STR_27 + + sizeof(XLAT_STR_27) +# endif +# ifdef XLAT_STR_28 + + sizeof(XLAT_STR_28) +# endif +# ifdef XLAT_STR_29 + + sizeof(XLAT_STR_29) +# endif +# ifdef XLAT_STR_30 + + sizeof(XLAT_STR_30) +# endif +# ifdef XLAT_STR_31 + + sizeof(XLAT_STR_31) +# endif +# ifdef XLAT_STR_32 + + sizeof(XLAT_STR_32) +# endif +# ifdef XLAT_STR_33 + + sizeof(XLAT_STR_33) +# endif +# ifdef XLAT_STR_34 + + sizeof(XLAT_STR_34) +# endif +# ifdef XLAT_STR_35 + + sizeof(XLAT_STR_35) +# endif +# ifdef XLAT_STR_36 + + sizeof(XLAT_STR_36) +# endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif +# ifdef XLAT_STR_38 + + sizeof(XLAT_STR_38) +# endif +# ifdef XLAT_STR_39 + + sizeof(XLAT_STR_39) +# endif +# ifdef XLAT_STR_40 + + sizeof(XLAT_STR_40) +# endif +# ifdef XLAT_STR_41 + + sizeof(XLAT_STR_41) +# endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif +# ifdef XLAT_STR_43 + + sizeof(XLAT_STR_43) +# endif +# ifdef XLAT_STR_44 + + sizeof(XLAT_STR_44) +# endif +# ifdef XLAT_STR_45 + + sizeof(XLAT_STR_45) +# endif +# ifdef XLAT_STR_46 + + sizeof(XLAT_STR_46) +# endif +# ifdef XLAT_STR_47 + + sizeof(XLAT_STR_47) +# endif +# ifdef XLAT_STR_48 + + sizeof(XLAT_STR_48) +# endif +# ifdef XLAT_STR_49 + + sizeof(XLAT_STR_49) +# endif +# ifdef XLAT_STR_50 + + sizeof(XLAT_STR_50) +# endif +# ifdef XLAT_STR_51 + + sizeof(XLAT_STR_51) +# endif +# ifdef XLAT_STR_52 + + sizeof(XLAT_STR_52) +# endif +# ifdef XLAT_STR_53 + + sizeof(XLAT_STR_53) +# endif +# ifdef XLAT_STR_54 + + sizeof(XLAT_STR_54) +# endif +# ifdef XLAT_STR_55 + + sizeof(XLAT_STR_55) +# endif +# ifdef XLAT_STR_56 + + sizeof(XLAT_STR_56) +# endif +# ifdef XLAT_STR_57 + + sizeof(XLAT_STR_57) +# endif +# ifdef XLAT_STR_58 + + sizeof(XLAT_STR_58) +# endif +# ifdef XLAT_STR_59 + + sizeof(XLAT_STR_59) +# endif +# ifdef XLAT_STR_60 + + sizeof(XLAT_STR_60) +# endif +# ifdef XLAT_STR_61 + + sizeof(XLAT_STR_61) +# endif +# ifdef XLAT_STR_62 + + sizeof(XLAT_STR_62) +# endif +# ifdef XLAT_STR_63 + + sizeof(XLAT_STR_63) +# endif +# ifdef XLAT_STR_64 + + sizeof(XLAT_STR_64) +# endif +# ifdef XLAT_STR_65 + + sizeof(XLAT_STR_65) +# endif +# ifdef XLAT_STR_66 + + sizeof(XLAT_STR_66) +# endif +# ifdef XLAT_STR_67 + + sizeof(XLAT_STR_67) +# endif +# ifdef XLAT_STR_68 + + sizeof(XLAT_STR_68) +# endif +# ifdef XLAT_STR_69 + + sizeof(XLAT_STR_69) +# endif +# ifdef XLAT_STR_70 + + sizeof(XLAT_STR_70) +# endif +# ifdef XLAT_STR_71 + + sizeof(XLAT_STR_71) +# endif +# ifdef XLAT_STR_72 + + sizeof(XLAT_STR_72) +# endif +# ifdef XLAT_STR_73 + + sizeof(XLAT_STR_73) +# endif +# ifdef XLAT_STR_74 + + sizeof(XLAT_STR_74) +# endif +# ifdef XLAT_STR_75 + + sizeof(XLAT_STR_75) +# endif +# ifdef XLAT_STR_76 + + sizeof(XLAT_STR_76) +# endif +# ifdef XLAT_STR_77 + + sizeof(XLAT_STR_77) +# endif +# ifdef XLAT_STR_78 + + sizeof(XLAT_STR_78) +# endif +# ifdef XLAT_STR_79 + + sizeof(XLAT_STR_79) +# endif +# ifdef XLAT_STR_80 + + sizeof(XLAT_STR_80) +# endif +# ifdef XLAT_STR_81 + + sizeof(XLAT_STR_81) +# endif +# ifdef XLAT_STR_82 + + sizeof(XLAT_STR_82) +# endif +# ifdef XLAT_STR_83 + + sizeof(XLAT_STR_83) +# endif +# ifdef XLAT_STR_84 + + sizeof(XLAT_STR_84) +# endif +# ifdef XLAT_STR_85 + + sizeof(XLAT_STR_85) +# endif +# ifdef XLAT_STR_86 + + sizeof(XLAT_STR_86) +# endif +# ifdef XLAT_STR_87 + + sizeof(XLAT_STR_87) +# endif +# ifdef XLAT_STR_88 + + sizeof(XLAT_STR_88) +# endif +# ifdef XLAT_STR_89 + + sizeof(XLAT_STR_89) +# endif +# ifdef XLAT_STR_90 + + sizeof(XLAT_STR_90) +# endif +# ifdef XLAT_STR_91 + + sizeof(XLAT_STR_91) +# endif +# ifdef XLAT_STR_92 + + sizeof(XLAT_STR_92) +# endif +# ifdef XLAT_STR_93 + + sizeof(XLAT_STR_93) +# endif +# ifdef XLAT_STR_94 + + sizeof(XLAT_STR_94) +# endif +# ifdef XLAT_STR_95 + + sizeof(XLAT_STR_95) +# endif +# ifdef XLAT_STR_96 + + sizeof(XLAT_STR_96) +# endif +# ifdef XLAT_STR_97 + + sizeof(XLAT_STR_97) +# endif +# ifdef XLAT_STR_98 + + sizeof(XLAT_STR_98) +# endif +# ifdef XLAT_STR_99 + + sizeof(XLAT_STR_99) +# endif +# ifdef XLAT_STR_100 + + sizeof(XLAT_STR_100) +# endif +# ifdef XLAT_STR_101 + + sizeof(XLAT_STR_101) +# endif +# ifdef XLAT_STR_102 + + sizeof(XLAT_STR_102) +# endif +# ifdef XLAT_STR_103 + + sizeof(XLAT_STR_103) +# endif +# ifdef XLAT_STR_104 + + sizeof(XLAT_STR_104) +# endif +# ifdef XLAT_STR_105 + + sizeof(XLAT_STR_105) +# endif +# ifdef XLAT_STR_106 + + sizeof(XLAT_STR_106) +# endif +# ifdef XLAT_STR_107 + + sizeof(XLAT_STR_107) +# endif +# ifdef XLAT_STR_108 + + sizeof(XLAT_STR_108) +# endif +# ifdef XLAT_STR_109 + + sizeof(XLAT_STR_109) +# endif +# ifdef XLAT_STR_110 + + sizeof(XLAT_STR_110) +# endif +# ifdef XLAT_STR_111 + + sizeof(XLAT_STR_111) +# endif +# ifdef XLAT_STR_112 + + sizeof(XLAT_STR_112) +# endif +# ifdef XLAT_STR_113 + + sizeof(XLAT_STR_113) +# endif +# ifdef XLAT_STR_114 + + sizeof(XLAT_STR_114) +# endif +# ifdef XLAT_STR_115 + + sizeof(XLAT_STR_115) +# endif +# ifdef XLAT_STR_116 + + sizeof(XLAT_STR_116) +# endif +# ifdef XLAT_STR_117 + + sizeof(XLAT_STR_117) +# endif +# ifdef XLAT_STR_118 + + sizeof(XLAT_STR_118) +# endif +# ifdef XLAT_STR_119 + + sizeof(XLAT_STR_119) +# endif +# ifdef XLAT_STR_120 + + sizeof(XLAT_STR_120) +# endif +# ifdef XLAT_STR_121 + + sizeof(XLAT_STR_121) +# endif +# ifdef XLAT_STR_122 + + sizeof(XLAT_STR_122) +# endif +# ifdef XLAT_STR_123 + + sizeof(XLAT_STR_123) +# endif +# ifdef XLAT_STR_124 + + sizeof(XLAT_STR_124) +# endif +# ifdef XLAT_STR_125 + + sizeof(XLAT_STR_125) +# endif +# ifdef XLAT_STR_126 + + sizeof(XLAT_STR_126) +# endif +# ifdef XLAT_STR_127 + + sizeof(XLAT_STR_127) +# endif +# ifdef XLAT_STR_128 + + sizeof(XLAT_STR_128) +# endif +# ifdef XLAT_STR_129 + + sizeof(XLAT_STR_129) +# endif +# ifdef XLAT_STR_130 + + sizeof(XLAT_STR_130) +# endif +# ifdef XLAT_STR_131 + + sizeof(XLAT_STR_131) +# endif +# ifdef XLAT_STR_132 + + sizeof(XLAT_STR_132) +# endif +# ifdef XLAT_STR_133 + + sizeof(XLAT_STR_133) +# endif +# ifdef XLAT_STR_134 + + sizeof(XLAT_STR_134) +# endif +# ifdef XLAT_STR_135 + + sizeof(XLAT_STR_135) +# endif +# ifdef XLAT_STR_136 + + sizeof(XLAT_STR_136) +# endif +# ifdef XLAT_STR_137 + + sizeof(XLAT_STR_137) +# endif +# ifdef XLAT_STR_138 + + sizeof(XLAT_STR_138) +# endif +# ifdef XLAT_STR_139 + + sizeof(XLAT_STR_139) +# endif +# ifdef XLAT_STR_140 + + sizeof(XLAT_STR_140) +# endif +# ifdef XLAT_STR_141 + + sizeof(XLAT_STR_141) +# endif +# ifdef XLAT_STR_142 + + sizeof(XLAT_STR_142) +# endif +# ifdef XLAT_STR_143 + + sizeof(XLAT_STR_143) +# endif +# ifdef XLAT_STR_144 + + sizeof(XLAT_STR_144) +# endif +# ifdef XLAT_STR_145 + + sizeof(XLAT_STR_145) +# endif +# ifdef XLAT_STR_146 + + sizeof(XLAT_STR_146) +# endif +# ifdef XLAT_STR_147 + + sizeof(XLAT_STR_147) +# endif +# ifdef XLAT_STR_148 + + sizeof(XLAT_STR_148) +# endif +# ifdef XLAT_STR_149 + + sizeof(XLAT_STR_149) +# endif +# ifdef XLAT_STR_150 + + sizeof(XLAT_STR_150) +# endif +# ifdef XLAT_STR_151 + + sizeof(XLAT_STR_151) +# endif +# ifdef XLAT_STR_152 + + sizeof(XLAT_STR_152) +# endif +# ifdef XLAT_STR_153 + + sizeof(XLAT_STR_153) +# endif +# ifdef XLAT_STR_154 + + sizeof(XLAT_STR_154) +# endif +# ifdef XLAT_STR_155 + + sizeof(XLAT_STR_155) +# endif +# ifdef XLAT_STR_156 + + sizeof(XLAT_STR_156) +# endif +# ifdef XLAT_STR_157 + + sizeof(XLAT_STR_157) +# endif +# ifdef XLAT_STR_158 + + sizeof(XLAT_STR_158) +# endif +# ifdef XLAT_STR_159 + + sizeof(XLAT_STR_159) +# endif +# ifdef XLAT_STR_160 + + sizeof(XLAT_STR_160) +# endif +# ifdef XLAT_STR_161 + + sizeof(XLAT_STR_161) +# endif +# ifdef XLAT_STR_162 + + sizeof(XLAT_STR_162) +# endif +# ifdef XLAT_STR_163 + + sizeof(XLAT_STR_163) +# endif +# ifdef XLAT_STR_164 + + sizeof(XLAT_STR_164) +# endif +# ifdef XLAT_STR_165 + + sizeof(XLAT_STR_165) +# endif +# ifdef XLAT_STR_166 + + sizeof(XLAT_STR_166) +# endif +# ifdef XLAT_STR_167 + + sizeof(XLAT_STR_167) +# endif +# ifdef XLAT_STR_168 + + sizeof(XLAT_STR_168) +# endif +# ifdef XLAT_STR_169 + + sizeof(XLAT_STR_169) +# endif +# ifdef XLAT_STR_170 + + sizeof(XLAT_STR_170) +# endif +# ifdef XLAT_STR_171 + + sizeof(XLAT_STR_171) +# endif +# ifdef XLAT_STR_172 + + sizeof(XLAT_STR_172) +# endif +# ifdef XLAT_STR_173 + + sizeof(XLAT_STR_173) +# endif +# ifdef XLAT_STR_174 + + sizeof(XLAT_STR_174) +# endif +# ifdef XLAT_STR_175 + + sizeof(XLAT_STR_175) +# endif +# ifdef XLAT_STR_176 + + sizeof(XLAT_STR_176) +# endif +# ifdef XLAT_STR_177 + + sizeof(XLAT_STR_177) +# endif +# ifdef XLAT_STR_178 + + sizeof(XLAT_STR_178) +# endif +# ifdef XLAT_STR_179 + + sizeof(XLAT_STR_179) +# endif +# ifdef XLAT_STR_180 + + sizeof(XLAT_STR_180) +# endif +# ifdef XLAT_STR_181 + + sizeof(XLAT_STR_181) +# endif +# ifdef XLAT_STR_182 + + sizeof(XLAT_STR_182) +# endif +# ifdef XLAT_STR_183 + + sizeof(XLAT_STR_183) +# endif +# ifdef XLAT_STR_184 + + sizeof(XLAT_STR_184) +# endif +# ifdef XLAT_STR_185 + + sizeof(XLAT_STR_185) +# endif +# ifdef XLAT_STR_186 + + sizeof(XLAT_STR_186) +# endif +# ifdef XLAT_STR_187 + + sizeof(XLAT_STR_187) +# endif +# ifdef XLAT_STR_188 + + sizeof(XLAT_STR_188) +# endif +# ifdef XLAT_STR_189 + + sizeof(XLAT_STR_189) +# endif +# ifdef XLAT_STR_190 + + sizeof(XLAT_STR_190) +# endif +# ifdef XLAT_STR_191 + + sizeof(XLAT_STR_191) +# endif +# ifdef XLAT_STR_192 + + sizeof(XLAT_STR_192) +# endif +# ifdef XLAT_STR_193 + + sizeof(XLAT_STR_193) +# endif +# ifdef XLAT_STR_194 + + sizeof(XLAT_STR_194) +# endif +# ifdef XLAT_STR_195 + + sizeof(XLAT_STR_195) +# endif +# ifdef XLAT_STR_196 + + sizeof(XLAT_STR_196) +# endif +# ifdef XLAT_STR_197 + + sizeof(XLAT_STR_197) +# endif +# ifdef XLAT_STR_198 + + sizeof(XLAT_STR_198) +# endif +# ifdef XLAT_STR_199 + + sizeof(XLAT_STR_199) +# endif +# ifdef XLAT_STR_200 + + sizeof(XLAT_STR_200) +# endif +# ifdef XLAT_STR_201 + + sizeof(XLAT_STR_201) +# endif +# ifdef XLAT_STR_202 + + sizeof(XLAT_STR_202) +# endif +# ifdef XLAT_STR_203 + + sizeof(XLAT_STR_203) +# endif +# ifdef XLAT_STR_204 + + sizeof(XLAT_STR_204) +# endif +# ifdef XLAT_STR_205 + + sizeof(XLAT_STR_205) +# endif +# ifdef XLAT_STR_206 + + sizeof(XLAT_STR_206) +# endif +# ifdef XLAT_STR_207 + + sizeof(XLAT_STR_207) +# endif +# ifdef XLAT_STR_208 + + sizeof(XLAT_STR_208) +# endif +# ifdef XLAT_STR_209 + + sizeof(XLAT_STR_209) +# endif +# ifdef XLAT_STR_210 + + sizeof(XLAT_STR_210) +# endif +# ifdef XLAT_STR_211 + + sizeof(XLAT_STR_211) +# endif +# ifdef XLAT_STR_212 + + sizeof(XLAT_STR_212) +# endif +# ifdef XLAT_STR_213 + + sizeof(XLAT_STR_213) +# endif +# ifdef XLAT_STR_214 + + sizeof(XLAT_STR_214) +# endif +# ifdef XLAT_STR_215 + + sizeof(XLAT_STR_215) +# endif +# ifdef XLAT_STR_216 + + sizeof(XLAT_STR_216) +# endif +# ifdef XLAT_STR_217 + + sizeof(XLAT_STR_217) +# endif +# ifdef XLAT_STR_218 + + sizeof(XLAT_STR_218) +# endif +# ifdef XLAT_STR_219 + + sizeof(XLAT_STR_219) +# endif +# ifdef XLAT_STR_220 + + sizeof(XLAT_STR_220) +# endif +# ifdef XLAT_STR_221 + + sizeof(XLAT_STR_221) +# endif +# ifdef XLAT_STR_222 + + sizeof(XLAT_STR_222) +# endif +# ifdef XLAT_STR_223 + + sizeof(XLAT_STR_223) +# endif +# ifdef XLAT_STR_224 + + sizeof(XLAT_STR_224) +# endif +# ifdef XLAT_STR_225 + + sizeof(XLAT_STR_225) +# endif +# ifdef XLAT_STR_226 + + sizeof(XLAT_STR_226) +# endif +# ifdef XLAT_STR_227 + + sizeof(XLAT_STR_227) +# endif +# ifdef XLAT_STR_228 + + sizeof(XLAT_STR_228) +# endif +# ifdef XLAT_STR_229 + + sizeof(XLAT_STR_229) +# endif +# ifdef XLAT_STR_230 + + sizeof(XLAT_STR_230) +# endif +# ifdef XLAT_STR_231 + + sizeof(XLAT_STR_231) +# endif +# ifdef XLAT_STR_232 + + sizeof(XLAT_STR_232) +# endif +# ifdef XLAT_STR_233 + + sizeof(XLAT_STR_233) +# endif +# ifdef XLAT_STR_234 + + sizeof(XLAT_STR_234) +# endif +# ifdef XLAT_STR_235 + + sizeof(XLAT_STR_235) +# endif +# ifdef XLAT_STR_236 + + sizeof(XLAT_STR_236) +# endif +# ifdef XLAT_STR_237 + + sizeof(XLAT_STR_237) +# endif +# ifdef XLAT_STR_238 + + sizeof(XLAT_STR_238) +# endif +# ifdef XLAT_STR_239 + + sizeof(XLAT_STR_239) +# endif +# ifdef XLAT_STR_240 + + sizeof(XLAT_STR_240) +# endif +# ifdef XLAT_STR_241 + + sizeof(XLAT_STR_241) +# endif +# ifdef XLAT_STR_242 + + sizeof(XLAT_STR_242) +# endif +# ifdef XLAT_STR_243 + + sizeof(XLAT_STR_243) +# endif +# ifdef XLAT_STR_244 + + sizeof(XLAT_STR_244) +# endif +# ifdef XLAT_STR_245 + + sizeof(XLAT_STR_245) +# endif +# ifdef XLAT_STR_246 + + sizeof(XLAT_STR_246) +# endif +# ifdef XLAT_STR_247 + + sizeof(XLAT_STR_247) +# endif +# ifdef XLAT_STR_248 + + sizeof(XLAT_STR_248) +# endif +# ifdef XLAT_STR_249 + + sizeof(XLAT_STR_249) +# endif +# ifdef XLAT_STR_250 + + sizeof(XLAT_STR_250) +# endif +# ifdef XLAT_STR_251 + + sizeof(XLAT_STR_251) +# endif +# ifdef XLAT_STR_252 + + sizeof(XLAT_STR_252) +# endif +# ifdef XLAT_STR_253 + + sizeof(XLAT_STR_253) +# endif +# ifdef XLAT_STR_254 + + sizeof(XLAT_STR_254) +# endif +# ifdef XLAT_STR_255 + + sizeof(XLAT_STR_255) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# undef XLAT_STR_26 +# undef XLAT_VAL_26 +# undef XLAT_STR_27 +# undef XLAT_VAL_27 +# undef XLAT_STR_28 +# undef XLAT_VAL_28 +# undef XLAT_STR_29 +# undef XLAT_VAL_29 +# undef XLAT_STR_30 +# undef XLAT_VAL_30 +# undef XLAT_STR_31 +# undef XLAT_VAL_31 +# undef XLAT_STR_32 +# undef XLAT_VAL_32 +# undef XLAT_STR_33 +# undef XLAT_VAL_33 +# undef XLAT_STR_34 +# undef XLAT_VAL_34 +# undef XLAT_STR_35 +# undef XLAT_VAL_35 +# undef XLAT_STR_36 +# undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 +# undef XLAT_STR_38 +# undef XLAT_VAL_38 +# undef XLAT_STR_39 +# undef XLAT_VAL_39 +# undef XLAT_STR_40 +# undef XLAT_VAL_40 +# undef XLAT_STR_41 +# undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 +# undef XLAT_STR_43 +# undef XLAT_VAL_43 +# undef XLAT_STR_44 +# undef XLAT_VAL_44 +# undef XLAT_STR_45 +# undef XLAT_VAL_45 +# undef XLAT_STR_46 +# undef XLAT_VAL_46 +# undef XLAT_STR_47 +# undef XLAT_VAL_47 +# undef XLAT_STR_48 +# undef XLAT_VAL_48 +# undef XLAT_STR_49 +# undef XLAT_VAL_49 +# undef XLAT_STR_50 +# undef XLAT_VAL_50 +# undef XLAT_STR_51 +# undef XLAT_VAL_51 +# undef XLAT_STR_52 +# undef XLAT_VAL_52 +# undef XLAT_STR_53 +# undef XLAT_VAL_53 +# undef XLAT_STR_54 +# undef XLAT_VAL_54 +# undef XLAT_STR_55 +# undef XLAT_VAL_55 +# undef XLAT_STR_56 +# undef XLAT_VAL_56 +# undef XLAT_STR_57 +# undef XLAT_VAL_57 +# undef XLAT_STR_58 +# undef XLAT_VAL_58 +# undef XLAT_STR_59 +# undef XLAT_VAL_59 +# undef XLAT_STR_60 +# undef XLAT_VAL_60 +# undef XLAT_STR_61 +# undef XLAT_VAL_61 +# undef XLAT_STR_62 +# undef XLAT_VAL_62 +# undef XLAT_STR_63 +# undef XLAT_VAL_63 +# undef XLAT_STR_64 +# undef XLAT_VAL_64 +# undef XLAT_STR_65 +# undef XLAT_VAL_65 +# undef XLAT_STR_66 +# undef XLAT_VAL_66 +# undef XLAT_STR_67 +# undef XLAT_VAL_67 +# undef XLAT_STR_68 +# undef XLAT_VAL_68 +# undef XLAT_STR_69 +# undef XLAT_VAL_69 +# undef XLAT_STR_70 +# undef XLAT_VAL_70 +# undef XLAT_STR_71 +# undef XLAT_VAL_71 +# undef XLAT_STR_72 +# undef XLAT_VAL_72 +# undef XLAT_STR_73 +# undef XLAT_VAL_73 +# undef XLAT_STR_74 +# undef XLAT_VAL_74 +# undef XLAT_STR_75 +# undef XLAT_VAL_75 +# undef XLAT_STR_76 +# undef XLAT_VAL_76 +# undef XLAT_STR_77 +# undef XLAT_VAL_77 +# undef XLAT_STR_78 +# undef XLAT_VAL_78 +# undef XLAT_STR_79 +# undef XLAT_VAL_79 +# undef XLAT_STR_80 +# undef XLAT_VAL_80 +# undef XLAT_STR_81 +# undef XLAT_VAL_81 +# undef XLAT_STR_82 +# undef XLAT_VAL_82 +# undef XLAT_STR_83 +# undef XLAT_VAL_83 +# undef XLAT_STR_84 +# undef XLAT_VAL_84 +# undef XLAT_STR_85 +# undef XLAT_VAL_85 +# undef XLAT_STR_86 +# undef XLAT_VAL_86 +# undef XLAT_STR_87 +# undef XLAT_VAL_87 +# undef XLAT_STR_88 +# undef XLAT_VAL_88 +# undef XLAT_STR_89 +# undef XLAT_VAL_89 +# undef XLAT_STR_90 +# undef XLAT_VAL_90 +# undef XLAT_STR_91 +# undef XLAT_VAL_91 +# undef XLAT_STR_92 +# undef XLAT_VAL_92 +# undef XLAT_STR_93 +# undef XLAT_VAL_93 +# undef XLAT_STR_94 +# undef XLAT_VAL_94 +# undef XLAT_STR_95 +# undef XLAT_VAL_95 +# undef XLAT_STR_96 +# undef XLAT_VAL_96 +# undef XLAT_STR_97 +# undef XLAT_VAL_97 +# undef XLAT_STR_98 +# undef XLAT_VAL_98 +# undef XLAT_STR_99 +# undef XLAT_VAL_99 +# undef XLAT_STR_100 +# undef XLAT_VAL_100 +# undef XLAT_STR_101 +# undef XLAT_VAL_101 +# undef XLAT_STR_102 +# undef XLAT_VAL_102 +# undef XLAT_STR_103 +# undef XLAT_VAL_103 +# undef XLAT_STR_104 +# undef XLAT_VAL_104 +# undef XLAT_STR_105 +# undef XLAT_VAL_105 +# undef XLAT_STR_106 +# undef XLAT_VAL_106 +# undef XLAT_STR_107 +# undef XLAT_VAL_107 +# undef XLAT_STR_108 +# undef XLAT_VAL_108 +# undef XLAT_STR_109 +# undef XLAT_VAL_109 +# undef XLAT_STR_110 +# undef XLAT_VAL_110 +# undef XLAT_STR_111 +# undef XLAT_VAL_111 +# undef XLAT_STR_112 +# undef XLAT_VAL_112 +# undef XLAT_STR_113 +# undef XLAT_VAL_113 +# undef XLAT_STR_114 +# undef XLAT_VAL_114 +# undef XLAT_STR_115 +# undef XLAT_VAL_115 +# undef XLAT_STR_116 +# undef XLAT_VAL_116 +# undef XLAT_STR_117 +# undef XLAT_VAL_117 +# undef XLAT_STR_118 +# undef XLAT_VAL_118 +# undef XLAT_STR_119 +# undef XLAT_VAL_119 +# undef XLAT_STR_120 +# undef XLAT_VAL_120 +# undef XLAT_STR_121 +# undef XLAT_VAL_121 +# undef XLAT_STR_122 +# undef XLAT_VAL_122 +# undef XLAT_STR_123 +# undef XLAT_VAL_123 +# undef XLAT_STR_124 +# undef XLAT_VAL_124 +# undef XLAT_STR_125 +# undef XLAT_VAL_125 +# undef XLAT_STR_126 +# undef XLAT_VAL_126 +# undef XLAT_STR_127 +# undef XLAT_VAL_127 +# undef XLAT_STR_128 +# undef XLAT_VAL_128 +# undef XLAT_STR_129 +# undef XLAT_VAL_129 +# undef XLAT_STR_130 +# undef XLAT_VAL_130 +# undef XLAT_STR_131 +# undef XLAT_VAL_131 +# undef XLAT_STR_132 +# undef XLAT_VAL_132 +# undef XLAT_STR_133 +# undef XLAT_VAL_133 +# undef XLAT_STR_134 +# undef XLAT_VAL_134 +# undef XLAT_STR_135 +# undef XLAT_VAL_135 +# undef XLAT_STR_136 +# undef XLAT_VAL_136 +# undef XLAT_STR_137 +# undef XLAT_VAL_137 +# undef XLAT_STR_138 +# undef XLAT_VAL_138 +# undef XLAT_STR_139 +# undef XLAT_VAL_139 +# undef XLAT_STR_140 +# undef XLAT_VAL_140 +# undef XLAT_STR_141 +# undef XLAT_VAL_141 +# undef XLAT_STR_142 +# undef XLAT_VAL_142 +# undef XLAT_STR_143 +# undef XLAT_VAL_143 +# undef XLAT_STR_144 +# undef XLAT_VAL_144 +# undef XLAT_STR_145 +# undef XLAT_VAL_145 +# undef XLAT_STR_146 +# undef XLAT_VAL_146 +# undef XLAT_STR_147 +# undef XLAT_VAL_147 +# undef XLAT_STR_148 +# undef XLAT_VAL_148 +# undef XLAT_STR_149 +# undef XLAT_VAL_149 +# undef XLAT_STR_150 +# undef XLAT_VAL_150 +# undef XLAT_STR_151 +# undef XLAT_VAL_151 +# undef XLAT_STR_152 +# undef XLAT_VAL_152 +# undef XLAT_STR_153 +# undef XLAT_VAL_153 +# undef XLAT_STR_154 +# undef XLAT_VAL_154 +# undef XLAT_STR_155 +# undef XLAT_VAL_155 +# undef XLAT_STR_156 +# undef XLAT_VAL_156 +# undef XLAT_STR_157 +# undef XLAT_VAL_157 +# undef XLAT_STR_158 +# undef XLAT_VAL_158 +# undef XLAT_STR_159 +# undef XLAT_VAL_159 +# undef XLAT_STR_160 +# undef XLAT_VAL_160 +# undef XLAT_STR_161 +# undef XLAT_VAL_161 +# undef XLAT_STR_162 +# undef XLAT_VAL_162 +# undef XLAT_STR_163 +# undef XLAT_VAL_163 +# undef XLAT_STR_164 +# undef XLAT_VAL_164 +# undef XLAT_STR_165 +# undef XLAT_VAL_165 +# undef XLAT_STR_166 +# undef XLAT_VAL_166 +# undef XLAT_STR_167 +# undef XLAT_VAL_167 +# undef XLAT_STR_168 +# undef XLAT_VAL_168 +# undef XLAT_STR_169 +# undef XLAT_VAL_169 +# undef XLAT_STR_170 +# undef XLAT_VAL_170 +# undef XLAT_STR_171 +# undef XLAT_VAL_171 +# undef XLAT_STR_172 +# undef XLAT_VAL_172 +# undef XLAT_STR_173 +# undef XLAT_VAL_173 +# undef XLAT_STR_174 +# undef XLAT_VAL_174 +# undef XLAT_STR_175 +# undef XLAT_VAL_175 +# undef XLAT_STR_176 +# undef XLAT_VAL_176 +# undef XLAT_STR_177 +# undef XLAT_VAL_177 +# undef XLAT_STR_178 +# undef XLAT_VAL_178 +# undef XLAT_STR_179 +# undef XLAT_VAL_179 +# undef XLAT_STR_180 +# undef XLAT_VAL_180 +# undef XLAT_STR_181 +# undef XLAT_VAL_181 +# undef XLAT_STR_182 +# undef XLAT_VAL_182 +# undef XLAT_STR_183 +# undef XLAT_VAL_183 +# undef XLAT_STR_184 +# undef XLAT_VAL_184 +# undef XLAT_STR_185 +# undef XLAT_VAL_185 +# undef XLAT_STR_186 +# undef XLAT_VAL_186 +# undef XLAT_STR_187 +# undef XLAT_VAL_187 +# undef XLAT_STR_188 +# undef XLAT_VAL_188 +# undef XLAT_STR_189 +# undef XLAT_VAL_189 +# undef XLAT_STR_190 +# undef XLAT_VAL_190 +# undef XLAT_STR_191 +# undef XLAT_VAL_191 +# undef XLAT_STR_192 +# undef XLAT_VAL_192 +# undef XLAT_STR_193 +# undef XLAT_VAL_193 +# undef XLAT_STR_194 +# undef XLAT_VAL_194 +# undef XLAT_STR_195 +# undef XLAT_VAL_195 +# undef XLAT_STR_196 +# undef XLAT_VAL_196 +# undef XLAT_STR_197 +# undef XLAT_VAL_197 +# undef XLAT_STR_198 +# undef XLAT_VAL_198 +# undef XLAT_STR_199 +# undef XLAT_VAL_199 +# undef XLAT_STR_200 +# undef XLAT_VAL_200 +# undef XLAT_STR_201 +# undef XLAT_VAL_201 +# undef XLAT_STR_202 +# undef XLAT_VAL_202 +# undef XLAT_STR_203 +# undef XLAT_VAL_203 +# undef XLAT_STR_204 +# undef XLAT_VAL_204 +# undef XLAT_STR_205 +# undef XLAT_VAL_205 +# undef XLAT_STR_206 +# undef XLAT_VAL_206 +# undef XLAT_STR_207 +# undef XLAT_VAL_207 +# undef XLAT_STR_208 +# undef XLAT_VAL_208 +# undef XLAT_STR_209 +# undef XLAT_VAL_209 +# undef XLAT_STR_210 +# undef XLAT_VAL_210 +# undef XLAT_STR_211 +# undef XLAT_VAL_211 +# undef XLAT_STR_212 +# undef XLAT_VAL_212 +# undef XLAT_STR_213 +# undef XLAT_VAL_213 +# undef XLAT_STR_214 +# undef XLAT_VAL_214 +# undef XLAT_STR_215 +# undef XLAT_VAL_215 +# undef XLAT_STR_216 +# undef XLAT_VAL_216 +# undef XLAT_STR_217 +# undef XLAT_VAL_217 +# undef XLAT_STR_218 +# undef XLAT_VAL_218 +# undef XLAT_STR_219 +# undef XLAT_VAL_219 +# undef XLAT_STR_220 +# undef XLAT_VAL_220 +# undef XLAT_STR_221 +# undef XLAT_VAL_221 +# undef XLAT_STR_222 +# undef XLAT_VAL_222 +# undef XLAT_STR_223 +# undef XLAT_VAL_223 +# undef XLAT_STR_224 +# undef XLAT_VAL_224 +# undef XLAT_STR_225 +# undef XLAT_VAL_225 +# undef XLAT_STR_226 +# undef XLAT_VAL_226 +# undef XLAT_STR_227 +# undef XLAT_VAL_227 +# undef XLAT_STR_228 +# undef XLAT_VAL_228 +# undef XLAT_STR_229 +# undef XLAT_VAL_229 +# undef XLAT_STR_230 +# undef XLAT_VAL_230 +# undef XLAT_STR_231 +# undef XLAT_VAL_231 +# undef XLAT_STR_232 +# undef XLAT_VAL_232 +# undef XLAT_STR_233 +# undef XLAT_VAL_233 +# undef XLAT_STR_234 +# undef XLAT_VAL_234 +# undef XLAT_STR_235 +# undef XLAT_VAL_235 +# undef XLAT_STR_236 +# undef XLAT_VAL_236 +# undef XLAT_STR_237 +# undef XLAT_VAL_237 +# undef XLAT_STR_238 +# undef XLAT_VAL_238 +# undef XLAT_STR_239 +# undef XLAT_VAL_239 +# undef XLAT_STR_240 +# undef XLAT_VAL_240 +# undef XLAT_STR_241 +# undef XLAT_VAL_241 +# undef XLAT_STR_242 +# undef XLAT_VAL_242 +# undef XLAT_STR_243 +# undef XLAT_VAL_243 +# undef XLAT_STR_244 +# undef XLAT_VAL_244 +# undef XLAT_STR_245 +# undef XLAT_VAL_245 +# undef XLAT_STR_246 +# undef XLAT_VAL_246 +# undef XLAT_STR_247 +# undef XLAT_VAL_247 +# undef XLAT_STR_248 +# undef XLAT_VAL_248 +# undef XLAT_STR_249 +# undef XLAT_VAL_249 +# undef XLAT_STR_250 +# undef XLAT_VAL_250 +# undef XLAT_STR_251 +# undef XLAT_VAL_251 +# undef XLAT_STR_252 +# undef XLAT_VAL_252 +# undef XLAT_STR_253 +# undef XLAT_VAL_253 +# undef XLAT_STR_254 +# undef XLAT_VAL_254 +# undef XLAT_STR_255 +# undef XLAT_VAL_255 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_fn_keys.in
Added
@@ -0,0 +1,257 @@ +#sorted +K_F1 K(KT_FN,0) +K_F2 K(KT_FN,1) +K_F3 K(KT_FN,2) +K_F4 K(KT_FN,3) +K_F5 K(KT_FN,4) +K_F6 K(KT_FN,5) +K_F7 K(KT_FN,6) +K_F8 K(KT_FN,7) +K_F9 K(KT_FN,8) +K_F10 K(KT_FN,9) +K_F11 K(KT_FN,10) +K_F12 K(KT_FN,11) +K_F13 K(KT_FN,12) +K_F14 K(KT_FN,13) +K_F15 K(KT_FN,14) +K_F16 K(KT_FN,15) +K_F17 K(KT_FN,16) +K_F18 K(KT_FN,17) +K_F19 K(KT_FN,18) +K_F20 K(KT_FN,19) +K_FIND K(KT_FN,20) +K_INSERT K(KT_FN,21) +K_REMOVE K(KT_FN,22) +K_SELECT K(KT_FN,23) +K_PGUP K(KT_FN,24) +K_PGDN K(KT_FN,25) +K_MACRO K(KT_FN,26) +K_HELP K(KT_FN,27) +K_DO K(KT_FN,28) +K_PAUSE K(KT_FN,29) +K_F21 K(KT_FN,30) +K_F22 K(KT_FN,31) +K_F23 K(KT_FN,32) +K_F24 K(KT_FN,33) +K_F25 K(KT_FN,34) +K_F26 K(KT_FN,35) +K_F27 K(KT_FN,36) +K_F28 K(KT_FN,37) +K_F29 K(KT_FN,38) +K_F30 K(KT_FN,39) +K_F31 K(KT_FN,40) +K_F32 K(KT_FN,41) +K_F33 K(KT_FN,42) +K_F34 K(KT_FN,43) +K_F35 K(KT_FN,44) +K_F36 K(KT_FN,45) +K_F37 K(KT_FN,46) +K_F38 K(KT_FN,47) +K_F39 K(KT_FN,48) +K_F40 K(KT_FN,49) +K_F41 K(KT_FN,50) +K_F42 K(KT_FN,51) +K_F43 K(KT_FN,52) +K_F44 K(KT_FN,53) +K_F45 K(KT_FN,54) +K_F46 K(KT_FN,55) +K_F47 K(KT_FN,56) +K_F48 K(KT_FN,57) +K_F49 K(KT_FN,58) +K_F50 K(KT_FN,59) +K_F51 K(KT_FN,60) +K_F52 K(KT_FN,61) +K_F53 K(KT_FN,62) +K_F54 K(KT_FN,63) +K_F55 K(KT_FN,64) +K_F56 K(KT_FN,65) +K_F57 K(KT_FN,66) +K_F58 K(KT_FN,67) +K_F59 K(KT_FN,68) +K_F60 K(KT_FN,69) +K_F61 K(KT_FN,70) +K_F62 K(KT_FN,71) +K_F63 K(KT_FN,72) +K_F64 K(KT_FN,73) +K_F65 K(KT_FN,74) +K_F66 K(KT_FN,75) +K_F67 K(KT_FN,76) +K_F68 K(KT_FN,77) +K_F69 K(KT_FN,78) +K_F70 K(KT_FN,79) +K_F71 K(KT_FN,80) +K_F72 K(KT_FN,81) +K_F73 K(KT_FN,82) +K_F74 K(KT_FN,83) +K_F75 K(KT_FN,84) +K_F76 K(KT_FN,85) +K_F77 K(KT_FN,86) +K_F78 K(KT_FN,87) +K_F79 K(KT_FN,88) +K_F80 K(KT_FN,89) +K_F81 K(KT_FN,90) +K_F82 K(KT_FN,91) +K_F83 K(KT_FN,92) +K_F84 K(KT_FN,93) +K_F85 K(KT_FN,94) +K_F86 K(KT_FN,95) +K_F87 K(KT_FN,96) +K_F88 K(KT_FN,97) +K_F89 K(KT_FN,98) +K_F90 K(KT_FN,99) +K_F91 K(KT_FN,100) +K_F92 K(KT_FN,101) +K_F93 K(KT_FN,102) +K_F94 K(KT_FN,103) +K_F95 K(KT_FN,104) +K_F96 K(KT_FN,105) +K_F97 K(KT_FN,106) +K_F98 K(KT_FN,107) +K_F99 K(KT_FN,108) +K_F100 K(KT_FN,109) +K_F101 K(KT_FN,110) +K_F102 K(KT_FN,111) +K_F103 K(KT_FN,112) +K_F104 K(KT_FN,113) +K_F105 K(KT_FN,114) +K_F106 K(KT_FN,115) +K_F107 K(KT_FN,116) +K_F108 K(KT_FN,117) +K_F109 K(KT_FN,118) +K_F110 K(KT_FN,119) +K_F111 K(KT_FN,120) +K_F112 K(KT_FN,121) +K_F113 K(KT_FN,122) +K_F114 K(KT_FN,123) +K_F115 K(KT_FN,124) +K_F116 K(KT_FN,125) +K_F117 K(KT_FN,126) +K_F118 K(KT_FN,127) +K_F119 K(KT_FN,128) +K_F120 K(KT_FN,129) +K_F121 K(KT_FN,130) +K_F122 K(KT_FN,131) +K_F123 K(KT_FN,132) +K_F124 K(KT_FN,133) +K_F125 K(KT_FN,134) +K_F126 K(KT_FN,135) +K_F127 K(KT_FN,136) +K_F128 K(KT_FN,137) +K_F129 K(KT_FN,138) +K_F130 K(KT_FN,139) +K_F131 K(KT_FN,140) +K_F132 K(KT_FN,141) +K_F133 K(KT_FN,142) +K_F134 K(KT_FN,143) +K_F135 K(KT_FN,144) +K_F136 K(KT_FN,145) +K_F137 K(KT_FN,146) +K_F138 K(KT_FN,147) +K_F139 K(KT_FN,148) +K_F140 K(KT_FN,149) +K_F141 K(KT_FN,150) +K_F142 K(KT_FN,151) +K_F143 K(KT_FN,152) +K_F144 K(KT_FN,153) +K_F145 K(KT_FN,154) +K_F146 K(KT_FN,155) +K_F147 K(KT_FN,156) +K_F148 K(KT_FN,157) +K_F149 K(KT_FN,158) +K_F150 K(KT_FN,159) +K_F151 K(KT_FN,160) +K_F152 K(KT_FN,161) +K_F153 K(KT_FN,162) +K_F154 K(KT_FN,163) +K_F155 K(KT_FN,164) +K_F156 K(KT_FN,165) +K_F157 K(KT_FN,166) +K_F158 K(KT_FN,167) +K_F159 K(KT_FN,168) +K_F160 K(KT_FN,169) +K_F161 K(KT_FN,170) +K_F162 K(KT_FN,171) +K_F163 K(KT_FN,172) +K_F164 K(KT_FN,173) +K_F165 K(KT_FN,174) +K_F166 K(KT_FN,175) +K_F167 K(KT_FN,176) +K_F168 K(KT_FN,177) +K_F169 K(KT_FN,178) +K_F170 K(KT_FN,179) +K_F171 K(KT_FN,180) +K_F172 K(KT_FN,181) +K_F173 K(KT_FN,182) +K_F174 K(KT_FN,183) +K_F175 K(KT_FN,184) +K_F176 K(KT_FN,185) +K_F177 K(KT_FN,186) +K_F178 K(KT_FN,187) +K_F179 K(KT_FN,188) +K_F180 K(KT_FN,189) +K_F181 K(KT_FN,190) +K_F182 K(KT_FN,191) +K_F183 K(KT_FN,192) +K_F184 K(KT_FN,193) +K_F185 K(KT_FN,194) +K_F186 K(KT_FN,195) +K_F187 K(KT_FN,196) +K_F188 K(KT_FN,197) +K_F189 K(KT_FN,198) +K_F190 K(KT_FN,199) +K_F191 K(KT_FN,200) +K_F192 K(KT_FN,201) +K_F193 K(KT_FN,202) +K_F194 K(KT_FN,203) +K_F195 K(KT_FN,204) +K_F196 K(KT_FN,205) +K_F197 K(KT_FN,206) +K_F198 K(KT_FN,207) +K_F199 K(KT_FN,208) +K_F200 K(KT_FN,209) +K_F201 K(KT_FN,210) +K_F202 K(KT_FN,211) +K_F203 K(KT_FN,212) +K_F204 K(KT_FN,213) +K_F205 K(KT_FN,214) +K_F206 K(KT_FN,215) +K_F207 K(KT_FN,216) +K_F208 K(KT_FN,217) +K_F209 K(KT_FN,218) +K_F210 K(KT_FN,219) +K_F211 K(KT_FN,220) +K_F212 K(KT_FN,221) +K_F213 K(KT_FN,222) +K_F214 K(KT_FN,223) +K_F215 K(KT_FN,224) +K_F216 K(KT_FN,225) +K_F217 K(KT_FN,226) +K_F218 K(KT_FN,227) +K_F219 K(KT_FN,228) +K_F220 K(KT_FN,229) +K_F221 K(KT_FN,230) +K_F222 K(KT_FN,231) +K_F223 K(KT_FN,232) +K_F224 K(KT_FN,233) +K_F225 K(KT_FN,234) +K_F226 K(KT_FN,235) +K_F227 K(KT_FN,236) +K_F228 K(KT_FN,237) +K_F229 K(KT_FN,238) +K_F230 K(KT_FN,239) +K_F231 K(KT_FN,240) +K_F232 K(KT_FN,241) +K_F233 K(KT_FN,242) +K_F234 K(KT_FN,243) +K_F235 K(KT_FN,244) +K_F236 K(KT_FN,245) +K_F237 K(KT_FN,246) +K_F238 K(KT_FN,247) +K_F239 K(KT_FN,248) +K_F240 K(KT_FN,249) +K_F241 K(KT_FN,250) +K_F242 K(KT_FN,251) +K_F243 K(KT_FN,252) +K_F244 K(KT_FN,253) +K_F245 K(KT_FN,254) +K_UNDO K(KT_FN,255)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_lock_keys.h
Added
@@ -0,0 +1,285 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_lock_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_SHIFTLOCK) || (defined(HAVE_DECL_K_SHIFTLOCK) && HAVE_DECL_K_SHIFTLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTLOCK) == (K(KT_LOCK,KG_SHIFT)), "K_SHIFTLOCK != K(KT_LOCK,KG_SHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTLOCK K(KT_LOCK,KG_SHIFT) +#endif +#if defined(K_SHIFTLOCK) || (defined(HAVE_DECL_K_SHIFTLOCK) && HAVE_DECL_K_SHIFTLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTLOCK) +#endif +#if defined(K_ALTGRLOCK) || (defined(HAVE_DECL_K_ALTGRLOCK) && HAVE_DECL_K_ALTGRLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTGRLOCK) == (K(KT_LOCK,KG_ALTGR)), "K_ALTGRLOCK != K(KT_LOCK,KG_ALTGR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTGRLOCK K(KT_LOCK,KG_ALTGR) +#endif +#if defined(K_ALTGRLOCK) || (defined(HAVE_DECL_K_ALTGRLOCK) && HAVE_DECL_K_ALTGRLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALTGRLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALTGRLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALTGRLOCK) +#endif +#if defined(K_CTRLLOCK) || (defined(HAVE_DECL_K_CTRLLOCK) && HAVE_DECL_K_CTRLLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLLOCK) == (K(KT_LOCK,KG_CTRL)), "K_CTRLLOCK != K(KT_LOCK,KG_CTRL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLLOCK K(KT_LOCK,KG_CTRL) +#endif +#if defined(K_CTRLLOCK) || (defined(HAVE_DECL_K_CTRLLOCK) && HAVE_DECL_K_CTRLLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLLOCK) +#endif +#if defined(K_ALTLOCK) || (defined(HAVE_DECL_K_ALTLOCK) && HAVE_DECL_K_ALTLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTLOCK) == (K(KT_LOCK,KG_ALT)), "K_ALTLOCK != K(KT_LOCK,KG_ALT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTLOCK K(KT_LOCK,KG_ALT) +#endif +#if defined(K_ALTLOCK) || (defined(HAVE_DECL_K_ALTLOCK) && HAVE_DECL_K_ALTLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALTLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALTLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALTLOCK) +#endif +#if defined(K_SHIFTLLOCK) || (defined(HAVE_DECL_K_SHIFTLLOCK) && HAVE_DECL_K_SHIFTLLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTLLOCK) == (K(KT_LOCK,KG_SHIFTL)), "K_SHIFTLLOCK != K(KT_LOCK,KG_SHIFTL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTLLOCK K(KT_LOCK,KG_SHIFTL) +#endif +#if defined(K_SHIFTLLOCK) || (defined(HAVE_DECL_K_SHIFTLLOCK) && HAVE_DECL_K_SHIFTLLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTLLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTLLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTLLOCK) +#endif +#if defined(K_SHIFTRLOCK) || (defined(HAVE_DECL_K_SHIFTRLOCK) && HAVE_DECL_K_SHIFTRLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTRLOCK) == (K(KT_LOCK,KG_SHIFTR)), "K_SHIFTRLOCK != K(KT_LOCK,KG_SHIFTR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR) +#endif +#if defined(K_SHIFTRLOCK) || (defined(HAVE_DECL_K_SHIFTRLOCK) && HAVE_DECL_K_SHIFTRLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTRLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTRLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTRLOCK) +#endif +#if defined(K_CTRLLLOCK) || (defined(HAVE_DECL_K_CTRLLLOCK) && HAVE_DECL_K_CTRLLLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLLLOCK) == (K(KT_LOCK,KG_CTRLL)), "K_CTRLLLOCK != K(KT_LOCK,KG_CTRLL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLLLOCK K(KT_LOCK,KG_CTRLL) +#endif +#if defined(K_CTRLLLOCK) || (defined(HAVE_DECL_K_CTRLLLOCK) && HAVE_DECL_K_CTRLLLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLLLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLLLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLLLOCK) +#endif +#if defined(K_CTRLRLOCK) || (defined(HAVE_DECL_K_CTRLRLOCK) && HAVE_DECL_K_CTRLRLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLRLOCK) == (K(KT_LOCK,KG_CTRLR)), "K_CTRLRLOCK != K(KT_LOCK,KG_CTRLR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLRLOCK K(KT_LOCK,KG_CTRLR) +#endif +#if defined(K_CTRLRLOCK) || (defined(HAVE_DECL_K_CTRLRLOCK) && HAVE_DECL_K_CTRLRLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLRLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLRLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLRLOCK) +#endif +#if defined(K_CAPSSHIFTLOCK) || (defined(HAVE_DECL_K_CAPSSHIFTLOCK) && HAVE_DECL_K_CAPSSHIFTLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CAPSSHIFTLOCK) == (K(KT_LOCK,KG_CAPSSHIFT)), "K_CAPSSHIFTLOCK != K(KT_LOCK,KG_CAPSSHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CAPSSHIFTLOCK K(KT_LOCK,KG_CAPSSHIFT) +#endif +#if defined(K_CAPSSHIFTLOCK) || (defined(HAVE_DECL_K_CAPSSHIFTLOCK) && HAVE_DECL_K_CAPSSHIFTLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CAPSSHIFTLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CAPSSHIFTLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CAPSSHIFTLOCK) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_lock_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_lock_keys_xdata = { + XLAT(K_SHIFTLOCK), + #define XLAT_VAL_0 ((unsigned) (K_SHIFTLOCK)) + #define XLAT_STR_0 STRINGIFY(K_SHIFTLOCK) + XLAT(K_ALTGRLOCK), + #define XLAT_VAL_1 ((unsigned) (K_ALTGRLOCK)) + #define XLAT_STR_1 STRINGIFY(K_ALTGRLOCK) + XLAT(K_CTRLLOCK), + #define XLAT_VAL_2 ((unsigned) (K_CTRLLOCK)) + #define XLAT_STR_2 STRINGIFY(K_CTRLLOCK) + XLAT(K_ALTLOCK), + #define XLAT_VAL_3 ((unsigned) (K_ALTLOCK)) + #define XLAT_STR_3 STRINGIFY(K_ALTLOCK) + XLAT(K_SHIFTLLOCK), + #define XLAT_VAL_4 ((unsigned) (K_SHIFTLLOCK)) + #define XLAT_STR_4 STRINGIFY(K_SHIFTLLOCK) + XLAT(K_SHIFTRLOCK), + #define XLAT_VAL_5 ((unsigned) (K_SHIFTRLOCK)) + #define XLAT_STR_5 STRINGIFY(K_SHIFTRLOCK) + XLAT(K_CTRLLLOCK), + #define XLAT_VAL_6 ((unsigned) (K_CTRLLLOCK)) + #define XLAT_STR_6 STRINGIFY(K_CTRLLLOCK) + XLAT(K_CTRLRLOCK), + #define XLAT_VAL_7 ((unsigned) (K_CTRLRLOCK)) + #define XLAT_STR_7 STRINGIFY(K_CTRLRLOCK) + XLAT(K_CAPSSHIFTLOCK), + #define XLAT_VAL_8 ((unsigned) (K_CAPSSHIFTLOCK)) + #define XLAT_STR_8 STRINGIFY(K_CAPSSHIFTLOCK) +}; +static +const struct xlat kd_key_lock_keys1 = { { + .data = kd_key_lock_keys_xdata, + .size = ARRAY_SIZE(kd_key_lock_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_lock_keys.in
Added
@@ -0,0 +1,10 @@ +#sorted +K_SHIFTLOCK K(KT_LOCK,KG_SHIFT) +K_ALTGRLOCK K(KT_LOCK,KG_ALTGR) +K_CTRLLOCK K(KT_LOCK,KG_CTRL) +K_ALTLOCK K(KT_LOCK,KG_ALT) +K_SHIFTLLOCK K(KT_LOCK,KG_SHIFTL) +K_SHIFTRLOCK K(KT_LOCK,KG_SHIFTR) +K_CTRLLLOCK K(KT_LOCK,KG_CTRLL) +K_CTRLRLOCK K(KT_LOCK,KG_CTRLR) +K_CAPSSHIFTLOCK K(KT_LOCK,KG_CAPSSHIFT)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_pad_keys.h
Added
@@ -0,0 +1,593 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_pad_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_P0) || (defined(HAVE_DECL_K_P0) && HAVE_DECL_K_P0) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P0) == (K(KT_PAD,0)), "K_P0 != K(KT_PAD,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P0 K(KT_PAD,0) +#endif +#if defined(K_P0) || (defined(HAVE_DECL_K_P0) && HAVE_DECL_K_P0) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P0) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P0" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P0) +#endif +#if defined(K_P1) || (defined(HAVE_DECL_K_P1) && HAVE_DECL_K_P1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P1) == (K(KT_PAD,1)), "K_P1 != K(KT_PAD,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P1 K(KT_PAD,1) +#endif +#if defined(K_P1) || (defined(HAVE_DECL_K_P1) && HAVE_DECL_K_P1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P1) +#endif +#if defined(K_P2) || (defined(HAVE_DECL_K_P2) && HAVE_DECL_K_P2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P2) == (K(KT_PAD,2)), "K_P2 != K(KT_PAD,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P2 K(KT_PAD,2) +#endif +#if defined(K_P2) || (defined(HAVE_DECL_K_P2) && HAVE_DECL_K_P2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P2) +#endif +#if defined(K_P3) || (defined(HAVE_DECL_K_P3) && HAVE_DECL_K_P3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P3) == (K(KT_PAD,3)), "K_P3 != K(KT_PAD,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P3 K(KT_PAD,3) +#endif +#if defined(K_P3) || (defined(HAVE_DECL_K_P3) && HAVE_DECL_K_P3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P3) +#endif +#if defined(K_P4) || (defined(HAVE_DECL_K_P4) && HAVE_DECL_K_P4) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P4) == (K(KT_PAD,4)), "K_P4 != K(KT_PAD,4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P4 K(KT_PAD,4) +#endif +#if defined(K_P4) || (defined(HAVE_DECL_K_P4) && HAVE_DECL_K_P4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P4) +#endif +#if defined(K_P5) || (defined(HAVE_DECL_K_P5) && HAVE_DECL_K_P5) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P5) == (K(KT_PAD,5)), "K_P5 != K(KT_PAD,5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P5 K(KT_PAD,5) +#endif +#if defined(K_P5) || (defined(HAVE_DECL_K_P5) && HAVE_DECL_K_P5) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P5) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P5" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P5) +#endif +#if defined(K_P6) || (defined(HAVE_DECL_K_P6) && HAVE_DECL_K_P6) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P6) == (K(KT_PAD,6)), "K_P6 != K(KT_PAD,6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P6 K(KT_PAD,6) +#endif +#if defined(K_P6) || (defined(HAVE_DECL_K_P6) && HAVE_DECL_K_P6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P6) +#endif +#if defined(K_P7) || (defined(HAVE_DECL_K_P7) && HAVE_DECL_K_P7) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P7) == (K(KT_PAD,7)), "K_P7 != K(KT_PAD,7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P7 K(KT_PAD,7) +#endif +#if defined(K_P7) || (defined(HAVE_DECL_K_P7) && HAVE_DECL_K_P7) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P7) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P7" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P7) +#endif +#if defined(K_P8) || (defined(HAVE_DECL_K_P8) && HAVE_DECL_K_P8) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P8) == (K(KT_PAD,8)), "K_P8 != K(KT_PAD,8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P8 K(KT_PAD,8) +#endif +#if defined(K_P8) || (defined(HAVE_DECL_K_P8) && HAVE_DECL_K_P8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P8) +#endif +#if defined(K_P9) || (defined(HAVE_DECL_K_P9) && HAVE_DECL_K_P9) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_P9) == (K(KT_PAD,9)), "K_P9 != K(KT_PAD,9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_P9 K(KT_PAD,9) +#endif +#if defined(K_P9) || (defined(HAVE_DECL_K_P9) && HAVE_DECL_K_P9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_P9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_P9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_P9) +#endif +#if defined(K_PPLUS) || (defined(HAVE_DECL_K_PPLUS) && HAVE_DECL_K_PPLUS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PPLUS) == (K(KT_PAD,10)), "K_PPLUS != K(KT_PAD,10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PPLUS K(KT_PAD,10) +#endif +#if defined(K_PPLUS) || (defined(HAVE_DECL_K_PPLUS) && HAVE_DECL_K_PPLUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PPLUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PPLUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PPLUS) +#endif +#if defined(K_PMINUS) || (defined(HAVE_DECL_K_PMINUS) && HAVE_DECL_K_PMINUS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PMINUS) == (K(KT_PAD,11)), "K_PMINUS != K(KT_PAD,11)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PMINUS K(KT_PAD,11) +#endif +#if defined(K_PMINUS) || (defined(HAVE_DECL_K_PMINUS) && HAVE_DECL_K_PMINUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PMINUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PMINUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PMINUS) +#endif +#if defined(K_PSTAR) || (defined(HAVE_DECL_K_PSTAR) && HAVE_DECL_K_PSTAR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PSTAR) == (K(KT_PAD,12)), "K_PSTAR != K(KT_PAD,12)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PSTAR K(KT_PAD,12) +#endif +#if defined(K_PSTAR) || (defined(HAVE_DECL_K_PSTAR) && HAVE_DECL_K_PSTAR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PSTAR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PSTAR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PSTAR) +#endif +#if defined(K_PSLASH) || (defined(HAVE_DECL_K_PSLASH) && HAVE_DECL_K_PSLASH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PSLASH) == (K(KT_PAD,13)), "K_PSLASH != K(KT_PAD,13)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PSLASH K(KT_PAD,13) +#endif +#if defined(K_PSLASH) || (defined(HAVE_DECL_K_PSLASH) && HAVE_DECL_K_PSLASH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PSLASH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PSLASH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PSLASH) +#endif +#if defined(K_PENTER) || (defined(HAVE_DECL_K_PENTER) && HAVE_DECL_K_PENTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PENTER) == (K(KT_PAD,14)), "K_PENTER != K(KT_PAD,14)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PENTER K(KT_PAD,14) +#endif +#if defined(K_PENTER) || (defined(HAVE_DECL_K_PENTER) && HAVE_DECL_K_PENTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PENTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PENTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PENTER) +#endif +#if defined(K_PCOMMA) || (defined(HAVE_DECL_K_PCOMMA) && HAVE_DECL_K_PCOMMA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PCOMMA) == (K(KT_PAD,15)), "K_PCOMMA != K(KT_PAD,15)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PCOMMA K(KT_PAD,15) +#endif +#if defined(K_PCOMMA) || (defined(HAVE_DECL_K_PCOMMA) && HAVE_DECL_K_PCOMMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PCOMMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PCOMMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PCOMMA) +#endif +#if defined(K_PDOT) || (defined(HAVE_DECL_K_PDOT) && HAVE_DECL_K_PDOT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PDOT) == (K(KT_PAD,16)), "K_PDOT != K(KT_PAD,16)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PDOT K(KT_PAD,16) +#endif +#if defined(K_PDOT) || (defined(HAVE_DECL_K_PDOT) && HAVE_DECL_K_PDOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PDOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PDOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PDOT) +#endif +#if defined(K_PPLUSMINUS) || (defined(HAVE_DECL_K_PPLUSMINUS) && HAVE_DECL_K_PPLUSMINUS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PPLUSMINUS) == (K(KT_PAD,17)), "K_PPLUSMINUS != K(KT_PAD,17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PPLUSMINUS K(KT_PAD,17) +#endif +#if defined(K_PPLUSMINUS) || (defined(HAVE_DECL_K_PPLUSMINUS) && HAVE_DECL_K_PPLUSMINUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PPLUSMINUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PPLUSMINUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PPLUSMINUS) +#endif +#if defined(K_PPARENL) || (defined(HAVE_DECL_K_PPARENL) && HAVE_DECL_K_PPARENL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PPARENL) == (K(KT_PAD,18)), "K_PPARENL != K(KT_PAD,18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PPARENL K(KT_PAD,18) +#endif +#if defined(K_PPARENL) || (defined(HAVE_DECL_K_PPARENL) && HAVE_DECL_K_PPARENL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PPARENL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PPARENL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PPARENL) +#endif +#if defined(K_PPARENR) || (defined(HAVE_DECL_K_PPARENR) && HAVE_DECL_K_PPARENR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_PPARENR) == (K(KT_PAD,19)), "K_PPARENR != K(KT_PAD,19)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_PPARENR K(KT_PAD,19) +#endif +#if defined(K_PPARENR) || (defined(HAVE_DECL_K_PPARENR) && HAVE_DECL_K_PPARENR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_PPARENR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_PPARENR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_PPARENR) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_pad_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_pad_keys_xdata = { + XLAT(K_P0), + #define XLAT_VAL_0 ((unsigned) (K_P0)) + #define XLAT_STR_0 STRINGIFY(K_P0) + XLAT(K_P1), + #define XLAT_VAL_1 ((unsigned) (K_P1)) + #define XLAT_STR_1 STRINGIFY(K_P1) + XLAT(K_P2), + #define XLAT_VAL_2 ((unsigned) (K_P2)) + #define XLAT_STR_2 STRINGIFY(K_P2) + XLAT(K_P3), + #define XLAT_VAL_3 ((unsigned) (K_P3)) + #define XLAT_STR_3 STRINGIFY(K_P3) + XLAT(K_P4), + #define XLAT_VAL_4 ((unsigned) (K_P4)) + #define XLAT_STR_4 STRINGIFY(K_P4) + XLAT(K_P5), + #define XLAT_VAL_5 ((unsigned) (K_P5)) + #define XLAT_STR_5 STRINGIFY(K_P5) + XLAT(K_P6), + #define XLAT_VAL_6 ((unsigned) (K_P6)) + #define XLAT_STR_6 STRINGIFY(K_P6) + XLAT(K_P7), + #define XLAT_VAL_7 ((unsigned) (K_P7)) + #define XLAT_STR_7 STRINGIFY(K_P7) + XLAT(K_P8), + #define XLAT_VAL_8 ((unsigned) (K_P8)) + #define XLAT_STR_8 STRINGIFY(K_P8) + XLAT(K_P9), + #define XLAT_VAL_9 ((unsigned) (K_P9)) + #define XLAT_STR_9 STRINGIFY(K_P9) + XLAT(K_PPLUS), + #define XLAT_VAL_10 ((unsigned) (K_PPLUS)) + #define XLAT_STR_10 STRINGIFY(K_PPLUS) + XLAT(K_PMINUS), + #define XLAT_VAL_11 ((unsigned) (K_PMINUS)) + #define XLAT_STR_11 STRINGIFY(K_PMINUS) + XLAT(K_PSTAR), + #define XLAT_VAL_12 ((unsigned) (K_PSTAR)) + #define XLAT_STR_12 STRINGIFY(K_PSTAR) + XLAT(K_PSLASH), + #define XLAT_VAL_13 ((unsigned) (K_PSLASH)) + #define XLAT_STR_13 STRINGIFY(K_PSLASH) + XLAT(K_PENTER), + #define XLAT_VAL_14 ((unsigned) (K_PENTER)) + #define XLAT_STR_14 STRINGIFY(K_PENTER) + XLAT(K_PCOMMA), + #define XLAT_VAL_15 ((unsigned) (K_PCOMMA)) + #define XLAT_STR_15 STRINGIFY(K_PCOMMA) + XLAT(K_PDOT), + #define XLAT_VAL_16 ((unsigned) (K_PDOT)) + #define XLAT_STR_16 STRINGIFY(K_PDOT) + XLAT(K_PPLUSMINUS), + #define XLAT_VAL_17 ((unsigned) (K_PPLUSMINUS)) + #define XLAT_STR_17 STRINGIFY(K_PPLUSMINUS) + XLAT(K_PPARENL), + #define XLAT_VAL_18 ((unsigned) (K_PPARENL)) + #define XLAT_STR_18 STRINGIFY(K_PPARENL) + XLAT(K_PPARENR), + #define XLAT_VAL_19 ((unsigned) (K_PPARENR)) + #define XLAT_STR_19 STRINGIFY(K_PPARENR) +}; +static +const struct xlat kd_key_pad_keys1 = { { + .data = kd_key_pad_keys_xdata, + .size = ARRAY_SIZE(kd_key_pad_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_pad_keys.in
Added
@@ -0,0 +1,21 @@ +#sorted +K_P0 K(KT_PAD,0) +K_P1 K(KT_PAD,1) +K_P2 K(KT_PAD,2) +K_P3 K(KT_PAD,3) +K_P4 K(KT_PAD,4) +K_P5 K(KT_PAD,5) +K_P6 K(KT_PAD,6) +K_P7 K(KT_PAD,7) +K_P8 K(KT_PAD,8) +K_P9 K(KT_PAD,9) +K_PPLUS K(KT_PAD,10) +K_PMINUS K(KT_PAD,11) +K_PSTAR K(KT_PAD,12) +K_PSLASH K(KT_PAD,13) +K_PENTER K(KT_PAD,14) +K_PCOMMA K(KT_PAD,15) +K_PDOT K(KT_PAD,16) +K_PPLUSMINUS K(KT_PAD,17) +K_PPARENL K(KT_PAD,18) +K_PPARENR K(KT_PAD,19)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_shift_keys.h
Added
@@ -0,0 +1,285 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_shift_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_SHIFT) || (defined(HAVE_DECL_K_SHIFT) && HAVE_DECL_K_SHIFT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFT) == (K(KT_SHIFT,KG_SHIFT)), "K_SHIFT != K(KT_SHIFT,KG_SHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFT K(KT_SHIFT,KG_SHIFT) +#endif +#if defined(K_SHIFT) || (defined(HAVE_DECL_K_SHIFT) && HAVE_DECL_K_SHIFT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFT) +#endif +#if defined(K_ALTGR) || (defined(HAVE_DECL_K_ALTGR) && HAVE_DECL_K_ALTGR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTGR) == (K(KT_SHIFT,KG_ALTGR)), "K_ALTGR != K(KT_SHIFT,KG_ALTGR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTGR K(KT_SHIFT,KG_ALTGR) +#endif +#if defined(K_ALTGR) || (defined(HAVE_DECL_K_ALTGR) && HAVE_DECL_K_ALTGR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALTGR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALTGR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALTGR) +#endif +#if defined(K_CTRL) || (defined(HAVE_DECL_K_CTRL) && HAVE_DECL_K_CTRL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRL) == (K(KT_SHIFT,KG_CTRL)), "K_CTRL != K(KT_SHIFT,KG_CTRL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRL K(KT_SHIFT,KG_CTRL) +#endif +#if defined(K_CTRL) || (defined(HAVE_DECL_K_CTRL) && HAVE_DECL_K_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRL) +#endif +#if defined(K_ALT) || (defined(HAVE_DECL_K_ALT) && HAVE_DECL_K_ALT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALT) == (K(KT_SHIFT,KG_ALT)), "K_ALT != K(KT_SHIFT,KG_ALT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALT K(KT_SHIFT,KG_ALT) +#endif +#if defined(K_ALT) || (defined(HAVE_DECL_K_ALT) && HAVE_DECL_K_ALT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALT) +#endif +#if defined(K_SHIFTL) || (defined(HAVE_DECL_K_SHIFTL) && HAVE_DECL_K_SHIFTL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTL) == (K(KT_SHIFT,KG_SHIFTL)), "K_SHIFTL != K(KT_SHIFT,KG_SHIFTL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTL K(KT_SHIFT,KG_SHIFTL) +#endif +#if defined(K_SHIFTL) || (defined(HAVE_DECL_K_SHIFTL) && HAVE_DECL_K_SHIFTL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTL) +#endif +#if defined(K_SHIFTR) || (defined(HAVE_DECL_K_SHIFTR) && HAVE_DECL_K_SHIFTR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTR) == (K(KT_SHIFT,KG_SHIFTR)), "K_SHIFTR != K(KT_SHIFT,KG_SHIFTR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTR K(KT_SHIFT,KG_SHIFTR) +#endif +#if defined(K_SHIFTR) || (defined(HAVE_DECL_K_SHIFTR) && HAVE_DECL_K_SHIFTR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTR) +#endif +#if defined(K_CTRLL) || (defined(HAVE_DECL_K_CTRLL) && HAVE_DECL_K_CTRLL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLL) == (K(KT_SHIFT,KG_CTRLL)), "K_CTRLL != K(KT_SHIFT,KG_CTRLL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLL K(KT_SHIFT,KG_CTRLL) +#endif +#if defined(K_CTRLL) || (defined(HAVE_DECL_K_CTRLL) && HAVE_DECL_K_CTRLL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLL) +#endif +#if defined(K_CTRLR) || (defined(HAVE_DECL_K_CTRLR) && HAVE_DECL_K_CTRLR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLR) == (K(KT_SHIFT,KG_CTRLR)), "K_CTRLR != K(KT_SHIFT,KG_CTRLR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLR K(KT_SHIFT,KG_CTRLR) +#endif +#if defined(K_CTRLR) || (defined(HAVE_DECL_K_CTRLR) && HAVE_DECL_K_CTRLR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLR) +#endif +#if defined(K_CAPSSHIFT) || (defined(HAVE_DECL_K_CAPSSHIFT) && HAVE_DECL_K_CAPSSHIFT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CAPSSHIFT) == (K(KT_SHIFT,KG_CAPSSHIFT)), "K_CAPSSHIFT != K(KT_SHIFT,KG_CAPSSHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CAPSSHIFT K(KT_SHIFT,KG_CAPSSHIFT) +#endif +#if defined(K_CAPSSHIFT) || (defined(HAVE_DECL_K_CAPSSHIFT) && HAVE_DECL_K_CAPSSHIFT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CAPSSHIFT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CAPSSHIFT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CAPSSHIFT) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_shift_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_shift_keys_xdata = { + XLAT(K_SHIFT), + #define XLAT_VAL_0 ((unsigned) (K_SHIFT)) + #define XLAT_STR_0 STRINGIFY(K_SHIFT) + XLAT(K_ALTGR), + #define XLAT_VAL_1 ((unsigned) (K_ALTGR)) + #define XLAT_STR_1 STRINGIFY(K_ALTGR) + XLAT(K_CTRL), + #define XLAT_VAL_2 ((unsigned) (K_CTRL)) + #define XLAT_STR_2 STRINGIFY(K_CTRL) + XLAT(K_ALT), + #define XLAT_VAL_3 ((unsigned) (K_ALT)) + #define XLAT_STR_3 STRINGIFY(K_ALT) + XLAT(K_SHIFTL), + #define XLAT_VAL_4 ((unsigned) (K_SHIFTL)) + #define XLAT_STR_4 STRINGIFY(K_SHIFTL) + XLAT(K_SHIFTR), + #define XLAT_VAL_5 ((unsigned) (K_SHIFTR)) + #define XLAT_STR_5 STRINGIFY(K_SHIFTR) + XLAT(K_CTRLL), + #define XLAT_VAL_6 ((unsigned) (K_CTRLL)) + #define XLAT_STR_6 STRINGIFY(K_CTRLL) + XLAT(K_CTRLR), + #define XLAT_VAL_7 ((unsigned) (K_CTRLR)) + #define XLAT_STR_7 STRINGIFY(K_CTRLR) + XLAT(K_CAPSSHIFT), + #define XLAT_VAL_8 ((unsigned) (K_CAPSSHIFT)) + #define XLAT_STR_8 STRINGIFY(K_CAPSSHIFT) +}; +static +const struct xlat kd_key_shift_keys1 = { { + .data = kd_key_shift_keys_xdata, + .size = ARRAY_SIZE(kd_key_shift_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_shift_keys.in
Added
@@ -0,0 +1,10 @@ +#sorted +K_SHIFT K(KT_SHIFT,KG_SHIFT) +K_ALTGR K(KT_SHIFT,KG_ALTGR) +K_CTRL K(KT_SHIFT,KG_CTRL) +K_ALT K(KT_SHIFT,KG_ALT) +K_SHIFTL K(KT_SHIFT,KG_SHIFTL) +K_SHIFTR K(KT_SHIFT,KG_SHIFTR) +K_CTRLL K(KT_SHIFT,KG_CTRLL) +K_CTRLR K(KT_SHIFT,KG_CTRLR) +K_CAPSSHIFT K(KT_SHIFT,KG_CAPSSHIFT)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_slock_keys.h
Added
@@ -0,0 +1,285 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_slock_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_SHIFT_SLOCK) || (defined(HAVE_DECL_K_SHIFT_SLOCK) && HAVE_DECL_K_SHIFT_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFT_SLOCK) == (K(KT_SLOCK,KG_SHIFT)), "K_SHIFT_SLOCK != K(KT_SLOCK,KG_SHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT) +#endif +#if defined(K_SHIFT_SLOCK) || (defined(HAVE_DECL_K_SHIFT_SLOCK) && HAVE_DECL_K_SHIFT_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFT_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFT_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFT_SLOCK) +#endif +#if defined(K_ALTGR_SLOCK) || (defined(HAVE_DECL_K_ALTGR_SLOCK) && HAVE_DECL_K_ALTGR_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTGR_SLOCK) == (K(KT_SLOCK,KG_ALTGR)), "K_ALTGR_SLOCK != K(KT_SLOCK,KG_ALTGR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTGR_SLOCK K(KT_SLOCK,KG_ALTGR) +#endif +#if defined(K_ALTGR_SLOCK) || (defined(HAVE_DECL_K_ALTGR_SLOCK) && HAVE_DECL_K_ALTGR_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALTGR_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALTGR_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALTGR_SLOCK) +#endif +#if defined(K_CTRL_SLOCK) || (defined(HAVE_DECL_K_CTRL_SLOCK) && HAVE_DECL_K_CTRL_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRL_SLOCK) == (K(KT_SLOCK,KG_CTRL)), "K_CTRL_SLOCK != K(KT_SLOCK,KG_CTRL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL) +#endif +#if defined(K_CTRL_SLOCK) || (defined(HAVE_DECL_K_CTRL_SLOCK) && HAVE_DECL_K_CTRL_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRL_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRL_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRL_SLOCK) +#endif +#if defined(K_ALT_SLOCK) || (defined(HAVE_DECL_K_ALT_SLOCK) && HAVE_DECL_K_ALT_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALT_SLOCK) == (K(KT_SLOCK,KG_ALT)), "K_ALT_SLOCK != K(KT_SLOCK,KG_ALT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALT_SLOCK K(KT_SLOCK,KG_ALT) +#endif +#if defined(K_ALT_SLOCK) || (defined(HAVE_DECL_K_ALT_SLOCK) && HAVE_DECL_K_ALT_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALT_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALT_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALT_SLOCK) +#endif +#if defined(K_SHIFTL_SLOCK) || (defined(HAVE_DECL_K_SHIFTL_SLOCK) && HAVE_DECL_K_SHIFTL_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTL_SLOCK) == (K(KT_SLOCK,KG_SHIFTL)), "K_SHIFTL_SLOCK != K(KT_SLOCK,KG_SHIFTL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTL_SLOCK K(KT_SLOCK,KG_SHIFTL) +#endif +#if defined(K_SHIFTL_SLOCK) || (defined(HAVE_DECL_K_SHIFTL_SLOCK) && HAVE_DECL_K_SHIFTL_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTL_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTL_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTL_SLOCK) +#endif +#if defined(K_SHIFTR_SLOCK) || (defined(HAVE_DECL_K_SHIFTR_SLOCK) && HAVE_DECL_K_SHIFTR_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTR_SLOCK) == (K(KT_SLOCK,KG_SHIFTR)), "K_SHIFTR_SLOCK != K(KT_SLOCK,KG_SHIFTR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR) +#endif +#if defined(K_SHIFTR_SLOCK) || (defined(HAVE_DECL_K_SHIFTR_SLOCK) && HAVE_DECL_K_SHIFTR_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SHIFTR_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SHIFTR_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SHIFTR_SLOCK) +#endif +#if defined(K_CTRLL_SLOCK) || (defined(HAVE_DECL_K_CTRLL_SLOCK) && HAVE_DECL_K_CTRLL_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLL_SLOCK) == (K(KT_SLOCK,KG_CTRLL)), "K_CTRLL_SLOCK != K(KT_SLOCK,KG_CTRLL)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL) +#endif +#if defined(K_CTRLL_SLOCK) || (defined(HAVE_DECL_K_CTRLL_SLOCK) && HAVE_DECL_K_CTRLL_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLL_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLL_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLL_SLOCK) +#endif +#if defined(K_CTRLR_SLOCK) || (defined(HAVE_DECL_K_CTRLR_SLOCK) && HAVE_DECL_K_CTRLR_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CTRLR_SLOCK) == (K(KT_SLOCK,KG_CTRLR)), "K_CTRLR_SLOCK != K(KT_SLOCK,KG_CTRLR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR) +#endif +#if defined(K_CTRLR_SLOCK) || (defined(HAVE_DECL_K_CTRLR_SLOCK) && HAVE_DECL_K_CTRLR_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CTRLR_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CTRLR_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CTRLR_SLOCK) +#endif +#if defined(K_CAPSSHIFT_SLOCK) || (defined(HAVE_DECL_K_CAPSSHIFT_SLOCK) && HAVE_DECL_K_CAPSSHIFT_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CAPSSHIFT_SLOCK) == (K(KT_SLOCK,KG_CAPSSHIFT)), "K_CAPSSHIFT_SLOCK != K(KT_SLOCK,KG_CAPSSHIFT)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CAPSSHIFT_SLOCK K(KT_SLOCK,KG_CAPSSHIFT) +#endif +#if defined(K_CAPSSHIFT_SLOCK) || (defined(HAVE_DECL_K_CAPSSHIFT_SLOCK) && HAVE_DECL_K_CAPSSHIFT_SLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CAPSSHIFT_SLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CAPSSHIFT_SLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CAPSSHIFT_SLOCK) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_slock_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_slock_keys_xdata = { + XLAT(K_SHIFT_SLOCK), + #define XLAT_VAL_0 ((unsigned) (K_SHIFT_SLOCK)) + #define XLAT_STR_0 STRINGIFY(K_SHIFT_SLOCK) + XLAT(K_ALTGR_SLOCK), + #define XLAT_VAL_1 ((unsigned) (K_ALTGR_SLOCK)) + #define XLAT_STR_1 STRINGIFY(K_ALTGR_SLOCK) + XLAT(K_CTRL_SLOCK), + #define XLAT_VAL_2 ((unsigned) (K_CTRL_SLOCK)) + #define XLAT_STR_2 STRINGIFY(K_CTRL_SLOCK) + XLAT(K_ALT_SLOCK), + #define XLAT_VAL_3 ((unsigned) (K_ALT_SLOCK)) + #define XLAT_STR_3 STRINGIFY(K_ALT_SLOCK) + XLAT(K_SHIFTL_SLOCK), + #define XLAT_VAL_4 ((unsigned) (K_SHIFTL_SLOCK)) + #define XLAT_STR_4 STRINGIFY(K_SHIFTL_SLOCK) + XLAT(K_SHIFTR_SLOCK), + #define XLAT_VAL_5 ((unsigned) (K_SHIFTR_SLOCK)) + #define XLAT_STR_5 STRINGIFY(K_SHIFTR_SLOCK) + XLAT(K_CTRLL_SLOCK), + #define XLAT_VAL_6 ((unsigned) (K_CTRLL_SLOCK)) + #define XLAT_STR_6 STRINGIFY(K_CTRLL_SLOCK) + XLAT(K_CTRLR_SLOCK), + #define XLAT_VAL_7 ((unsigned) (K_CTRLR_SLOCK)) + #define XLAT_STR_7 STRINGIFY(K_CTRLR_SLOCK) + XLAT(K_CAPSSHIFT_SLOCK), + #define XLAT_VAL_8 ((unsigned) (K_CAPSSHIFT_SLOCK)) + #define XLAT_STR_8 STRINGIFY(K_CAPSSHIFT_SLOCK) +}; +static +const struct xlat kd_key_slock_keys1 = { { + .data = kd_key_slock_keys_xdata, + .size = ARRAY_SIZE(kd_key_slock_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_slock_keys.in
Added
@@ -0,0 +1,10 @@ +#sorted +K_SHIFT_SLOCK K(KT_SLOCK,KG_SHIFT) +K_ALTGR_SLOCK K(KT_SLOCK,KG_ALTGR) +K_CTRL_SLOCK K(KT_SLOCK,KG_CTRL) +K_ALT_SLOCK K(KT_SLOCK,KG_ALT) +K_SHIFTL_SLOCK K(KT_SLOCK,KG_SHIFTL) +K_SHIFTR_SLOCK K(KT_SLOCK,KG_SHIFTR) +K_CTRLL_SLOCK K(KT_SLOCK,KG_CTRLL) +K_CTRLR_SLOCK K(KT_SLOCK,KG_CTRLR) +K_CAPSSHIFT_SLOCK K(KT_SLOCK,KG_CAPSSHIFT)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_spec_keys.h
Added
@@ -0,0 +1,649 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_spec_keys.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_HOLE) || (defined(HAVE_DECL_K_HOLE) && HAVE_DECL_K_HOLE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HOLE) == (K(KT_SPEC,0)), "K_HOLE != K(KT_SPEC,0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HOLE K(KT_SPEC,0) +#endif +#if defined(K_HOLE) || (defined(HAVE_DECL_K_HOLE) && HAVE_DECL_K_HOLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HOLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HOLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HOLE) +#endif +#if defined(K_ENTER) || (defined(HAVE_DECL_K_ENTER) && HAVE_DECL_K_ENTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ENTER) == (K(KT_SPEC,1)), "K_ENTER != K(KT_SPEC,1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ENTER K(KT_SPEC,1) +#endif +#if defined(K_ENTER) || (defined(HAVE_DECL_K_ENTER) && HAVE_DECL_K_ENTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ENTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ENTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ENTER) +#endif +#if defined(K_SH_REGS) || (defined(HAVE_DECL_K_SH_REGS) && HAVE_DECL_K_SH_REGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SH_REGS) == (K(KT_SPEC,2)), "K_SH_REGS != K(KT_SPEC,2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SH_REGS K(KT_SPEC,2) +#endif +#if defined(K_SH_REGS) || (defined(HAVE_DECL_K_SH_REGS) && HAVE_DECL_K_SH_REGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SH_REGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SH_REGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SH_REGS) +#endif +#if defined(K_SH_MEM) || (defined(HAVE_DECL_K_SH_MEM) && HAVE_DECL_K_SH_MEM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SH_MEM) == (K(KT_SPEC,3)), "K_SH_MEM != K(KT_SPEC,3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SH_MEM K(KT_SPEC,3) +#endif +#if defined(K_SH_MEM) || (defined(HAVE_DECL_K_SH_MEM) && HAVE_DECL_K_SH_MEM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SH_MEM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SH_MEM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SH_MEM) +#endif +#if defined(K_SH_STAT) || (defined(HAVE_DECL_K_SH_STAT) && HAVE_DECL_K_SH_STAT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SH_STAT) == (K(KT_SPEC,4)), "K_SH_STAT != K(KT_SPEC,4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SH_STAT K(KT_SPEC,4) +#endif +#if defined(K_SH_STAT) || (defined(HAVE_DECL_K_SH_STAT) && HAVE_DECL_K_SH_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SH_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SH_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SH_STAT) +#endif +#if defined(K_BREAK) || (defined(HAVE_DECL_K_BREAK) && HAVE_DECL_K_BREAK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BREAK) == (K(KT_SPEC,5)), "K_BREAK != K(KT_SPEC,5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BREAK K(KT_SPEC,5) +#endif +#if defined(K_BREAK) || (defined(HAVE_DECL_K_BREAK) && HAVE_DECL_K_BREAK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BREAK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BREAK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BREAK) +#endif +#if defined(K_CONS) || (defined(HAVE_DECL_K_CONS) && HAVE_DECL_K_CONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CONS) == (K(KT_SPEC,6)), "K_CONS != K(KT_SPEC,6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CONS K(KT_SPEC,6) +#endif +#if defined(K_CONS) || (defined(HAVE_DECL_K_CONS) && HAVE_DECL_K_CONS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CONS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CONS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CONS) +#endif +#if defined(K_CAPS) || (defined(HAVE_DECL_K_CAPS) && HAVE_DECL_K_CAPS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CAPS) == (K(KT_SPEC,7)), "K_CAPS != K(KT_SPEC,7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CAPS K(KT_SPEC,7) +#endif +#if defined(K_CAPS) || (defined(HAVE_DECL_K_CAPS) && HAVE_DECL_K_CAPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CAPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CAPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CAPS) +#endif +#if defined(K_NUM) || (defined(HAVE_DECL_K_NUM) && HAVE_DECL_K_NUM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_NUM) == (K(KT_SPEC,8)), "K_NUM != K(KT_SPEC,8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_NUM K(KT_SPEC,8) +#endif +#if defined(K_NUM) || (defined(HAVE_DECL_K_NUM) && HAVE_DECL_K_NUM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_NUM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_NUM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_NUM) +#endif +#if defined(K_HOLD) || (defined(HAVE_DECL_K_HOLD) && HAVE_DECL_K_HOLD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_HOLD) == (K(KT_SPEC,9)), "K_HOLD != K(KT_SPEC,9)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_HOLD K(KT_SPEC,9) +#endif +#if defined(K_HOLD) || (defined(HAVE_DECL_K_HOLD) && HAVE_DECL_K_HOLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_HOLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_HOLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_HOLD) +#endif +#if defined(K_SCROLLFORW) || (defined(HAVE_DECL_K_SCROLLFORW) && HAVE_DECL_K_SCROLLFORW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SCROLLFORW) == (K(KT_SPEC,10)), "K_SCROLLFORW != K(KT_SPEC,10)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SCROLLFORW K(KT_SPEC,10) +#endif +#if defined(K_SCROLLFORW) || (defined(HAVE_DECL_K_SCROLLFORW) && HAVE_DECL_K_SCROLLFORW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SCROLLFORW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SCROLLFORW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SCROLLFORW) +#endif +#if defined(K_SCROLLBACK) || (defined(HAVE_DECL_K_SCROLLBACK) && HAVE_DECL_K_SCROLLBACK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SCROLLBACK) == (K(KT_SPEC,11)), "K_SCROLLBACK != K(KT_SPEC,11)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SCROLLBACK K(KT_SPEC,11) +#endif +#if defined(K_SCROLLBACK) || (defined(HAVE_DECL_K_SCROLLBACK) && HAVE_DECL_K_SCROLLBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SCROLLBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SCROLLBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SCROLLBACK) +#endif +#if defined(K_BOOT) || (defined(HAVE_DECL_K_BOOT) && HAVE_DECL_K_BOOT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BOOT) == (K(KT_SPEC,12)), "K_BOOT != K(KT_SPEC,12)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BOOT K(KT_SPEC,12) +#endif +#if defined(K_BOOT) || (defined(HAVE_DECL_K_BOOT) && HAVE_DECL_K_BOOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BOOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BOOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BOOT) +#endif +#if defined(K_CAPSON) || (defined(HAVE_DECL_K_CAPSON) && HAVE_DECL_K_CAPSON) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_CAPSON) == (K(KT_SPEC,13)), "K_CAPSON != K(KT_SPEC,13)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_CAPSON K(KT_SPEC,13) +#endif +#if defined(K_CAPSON) || (defined(HAVE_DECL_K_CAPSON) && HAVE_DECL_K_CAPSON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_CAPSON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_CAPSON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_CAPSON) +#endif +#if defined(K_COMPOSE) || (defined(HAVE_DECL_K_COMPOSE) && HAVE_DECL_K_COMPOSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_COMPOSE) == (K(KT_SPEC,14)), "K_COMPOSE != K(KT_SPEC,14)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_COMPOSE K(KT_SPEC,14) +#endif +#if defined(K_COMPOSE) || (defined(HAVE_DECL_K_COMPOSE) && HAVE_DECL_K_COMPOSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_COMPOSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_COMPOSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_COMPOSE) +#endif +#if defined(K_SAK) || (defined(HAVE_DECL_K_SAK) && HAVE_DECL_K_SAK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SAK) == (K(KT_SPEC,15)), "K_SAK != K(KT_SPEC,15)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SAK K(KT_SPEC,15) +#endif +#if defined(K_SAK) || (defined(HAVE_DECL_K_SAK) && HAVE_DECL_K_SAK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SAK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SAK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SAK) +#endif +#if defined(K_DECRCONSOLE) || (defined(HAVE_DECL_K_DECRCONSOLE) && HAVE_DECL_K_DECRCONSOLE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_DECRCONSOLE) == (K(KT_SPEC,16)), "K_DECRCONSOLE != K(KT_SPEC,16)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_DECRCONSOLE K(KT_SPEC,16) +#endif +#if defined(K_DECRCONSOLE) || (defined(HAVE_DECL_K_DECRCONSOLE) && HAVE_DECL_K_DECRCONSOLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_DECRCONSOLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_DECRCONSOLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_DECRCONSOLE) +#endif +#if defined(K_INCRCONSOLE) || (defined(HAVE_DECL_K_INCRCONSOLE) && HAVE_DECL_K_INCRCONSOLE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_INCRCONSOLE) == (K(KT_SPEC,17)), "K_INCRCONSOLE != K(KT_SPEC,17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_INCRCONSOLE K(KT_SPEC,17) +#endif +#if defined(K_INCRCONSOLE) || (defined(HAVE_DECL_K_INCRCONSOLE) && HAVE_DECL_K_INCRCONSOLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_INCRCONSOLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_INCRCONSOLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_INCRCONSOLE) +#endif +#if defined(K_SPAWNCONSOLE) || (defined(HAVE_DECL_K_SPAWNCONSOLE) && HAVE_DECL_K_SPAWNCONSOLE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SPAWNCONSOLE) == (K(KT_SPEC,18)), "K_SPAWNCONSOLE != K(KT_SPEC,18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SPAWNCONSOLE K(KT_SPEC,18) +#endif +#if defined(K_SPAWNCONSOLE) || (defined(HAVE_DECL_K_SPAWNCONSOLE) && HAVE_DECL_K_SPAWNCONSOLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_SPAWNCONSOLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_SPAWNCONSOLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_SPAWNCONSOLE) +#endif +#if defined(K_BARENUMLOCK) || (defined(HAVE_DECL_K_BARENUMLOCK) && HAVE_DECL_K_BARENUMLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_BARENUMLOCK) == (K(KT_SPEC,19)), "K_BARENUMLOCK != K(KT_SPEC,19)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_BARENUMLOCK K(KT_SPEC,19) +#endif +#if defined(K_BARENUMLOCK) || (defined(HAVE_DECL_K_BARENUMLOCK) && HAVE_DECL_K_BARENUMLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_BARENUMLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_BARENUMLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_BARENUMLOCK) +#endif +#if defined(K_ALLOCATED) || (defined(HAVE_DECL_K_ALLOCATED) && HAVE_DECL_K_ALLOCATED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALLOCATED) == (K(KT_SPEC,126)), "K_ALLOCATED != K(KT_SPEC,126)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALLOCATED K(KT_SPEC,126) +#endif +#if defined(K_ALLOCATED) || (defined(HAVE_DECL_K_ALLOCATED) && HAVE_DECL_K_ALLOCATED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_ALLOCATED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_ALLOCATED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_ALLOCATED) +#endif +#if defined(K_NOSUCHMAP) || (defined(HAVE_DECL_K_NOSUCHMAP) && HAVE_DECL_K_NOSUCHMAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_NOSUCHMAP) == (K(KT_SPEC,127)), "K_NOSUCHMAP != K(KT_SPEC,127)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_NOSUCHMAP K(KT_SPEC,127) +#endif +#if defined(K_NOSUCHMAP) || (defined(HAVE_DECL_K_NOSUCHMAP) && HAVE_DECL_K_NOSUCHMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (K_NOSUCHMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: K_NOSUCHMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (K_NOSUCHMAP) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_spec_keys in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_spec_keys_xdata = { + XLAT(K_HOLE), + #define XLAT_VAL_0 ((unsigned) (K_HOLE)) + #define XLAT_STR_0 STRINGIFY(K_HOLE) + XLAT(K_ENTER), + #define XLAT_VAL_1 ((unsigned) (K_ENTER)) + #define XLAT_STR_1 STRINGIFY(K_ENTER) + XLAT(K_SH_REGS), + #define XLAT_VAL_2 ((unsigned) (K_SH_REGS)) + #define XLAT_STR_2 STRINGIFY(K_SH_REGS) + XLAT(K_SH_MEM), + #define XLAT_VAL_3 ((unsigned) (K_SH_MEM)) + #define XLAT_STR_3 STRINGIFY(K_SH_MEM) + XLAT(K_SH_STAT), + #define XLAT_VAL_4 ((unsigned) (K_SH_STAT)) + #define XLAT_STR_4 STRINGIFY(K_SH_STAT) + XLAT(K_BREAK), + #define XLAT_VAL_5 ((unsigned) (K_BREAK)) + #define XLAT_STR_5 STRINGIFY(K_BREAK) + XLAT(K_CONS), + #define XLAT_VAL_6 ((unsigned) (K_CONS)) + #define XLAT_STR_6 STRINGIFY(K_CONS) + XLAT(K_CAPS), + #define XLAT_VAL_7 ((unsigned) (K_CAPS)) + #define XLAT_STR_7 STRINGIFY(K_CAPS) + XLAT(K_NUM), + #define XLAT_VAL_8 ((unsigned) (K_NUM)) + #define XLAT_STR_8 STRINGIFY(K_NUM) + XLAT(K_HOLD), + #define XLAT_VAL_9 ((unsigned) (K_HOLD)) + #define XLAT_STR_9 STRINGIFY(K_HOLD) + XLAT(K_SCROLLFORW), + #define XLAT_VAL_10 ((unsigned) (K_SCROLLFORW)) + #define XLAT_STR_10 STRINGIFY(K_SCROLLFORW) + XLAT(K_SCROLLBACK), + #define XLAT_VAL_11 ((unsigned) (K_SCROLLBACK)) + #define XLAT_STR_11 STRINGIFY(K_SCROLLBACK) + XLAT(K_BOOT), + #define XLAT_VAL_12 ((unsigned) (K_BOOT)) + #define XLAT_STR_12 STRINGIFY(K_BOOT) + XLAT(K_CAPSON), + #define XLAT_VAL_13 ((unsigned) (K_CAPSON)) + #define XLAT_STR_13 STRINGIFY(K_CAPSON) + XLAT(K_COMPOSE), + #define XLAT_VAL_14 ((unsigned) (K_COMPOSE)) + #define XLAT_STR_14 STRINGIFY(K_COMPOSE) + XLAT(K_SAK), + #define XLAT_VAL_15 ((unsigned) (K_SAK)) + #define XLAT_STR_15 STRINGIFY(K_SAK) + XLAT(K_DECRCONSOLE), + #define XLAT_VAL_16 ((unsigned) (K_DECRCONSOLE)) + #define XLAT_STR_16 STRINGIFY(K_DECRCONSOLE) + XLAT(K_INCRCONSOLE), + #define XLAT_VAL_17 ((unsigned) (K_INCRCONSOLE)) + #define XLAT_STR_17 STRINGIFY(K_INCRCONSOLE) + XLAT(K_SPAWNCONSOLE), + #define XLAT_VAL_18 ((unsigned) (K_SPAWNCONSOLE)) + #define XLAT_STR_18 STRINGIFY(K_SPAWNCONSOLE) + XLAT(K_BARENUMLOCK), + #define XLAT_VAL_19 ((unsigned) (K_BARENUMLOCK)) + #define XLAT_STR_19 STRINGIFY(K_BARENUMLOCK) + XLAT(K_ALLOCATED), + #define XLAT_VAL_20 ((unsigned) (K_ALLOCATED)) + #define XLAT_STR_20 STRINGIFY(K_ALLOCATED) + XLAT(K_NOSUCHMAP), + #define XLAT_VAL_21 ((unsigned) (K_NOSUCHMAP)) + #define XLAT_STR_21 STRINGIFY(K_NOSUCHMAP) +}; +static +const struct xlat kd_key_spec_keys1 = { { + .data = kd_key_spec_keys_xdata, + .size = ARRAY_SIZE(kd_key_spec_keys_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_spec_keys.in
Added
@@ -0,0 +1,23 @@ +#sorted +K_HOLE K(KT_SPEC,0) +K_ENTER K(KT_SPEC,1) +K_SH_REGS K(KT_SPEC,2) +K_SH_MEM K(KT_SPEC,3) +K_SH_STAT K(KT_SPEC,4) +K_BREAK K(KT_SPEC,5) +K_CONS K(KT_SPEC,6) +K_CAPS K(KT_SPEC,7) +K_NUM K(KT_SPEC,8) +K_HOLD K(KT_SPEC,9) +K_SCROLLFORW K(KT_SPEC,10) +K_SCROLLBACK K(KT_SPEC,11) +K_BOOT K(KT_SPEC,12) +K_CAPSON K(KT_SPEC,13) +K_COMPOSE K(KT_SPEC,14) +K_SAK K(KT_SPEC,15) +K_DECRCONSOLE K(KT_SPEC,16) +K_INCRCONSOLE K(KT_SPEC,17) +K_SPAWNCONSOLE K(KT_SPEC,18) +K_BARENUMLOCK K(KT_SPEC,19) +K_ALLOCATED K(KT_SPEC,126) +K_NOSUCHMAP K(KT_SPEC,127)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_tables.h
Added
@@ -0,0 +1,105 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_tables.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_NORMTAB) || (defined(HAVE_DECL_K_NORMTAB) && HAVE_DECL_K_NORMTAB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_NORMTAB) == (0), "K_NORMTAB != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_NORMTAB 0 +#endif +#if defined(K_SHIFTTAB) || (defined(HAVE_DECL_K_SHIFTTAB) && HAVE_DECL_K_SHIFTTAB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_SHIFTTAB) == (1), "K_SHIFTTAB != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_SHIFTTAB 1 +#endif +#if defined(K_ALTTAB) || (defined(HAVE_DECL_K_ALTTAB) && HAVE_DECL_K_ALTTAB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTTAB) == (2), "K_ALTTAB != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTTAB 2 +#endif +#if defined(K_ALTSHIFTTAB) || (defined(HAVE_DECL_K_ALTSHIFTTAB) && HAVE_DECL_K_ALTSHIFTTAB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ALTSHIFTTAB) == (3), "K_ALTSHIFTTAB != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ALTSHIFTTAB 3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_tables in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_tables_xdata = { + K_NORMTAB = XLAT(K_NORMTAB), + #define XLAT_VAL_0 ((unsigned) (K_NORMTAB)) + #define XLAT_STR_0 STRINGIFY(K_NORMTAB) + K_SHIFTTAB = XLAT(K_SHIFTTAB), + #define XLAT_VAL_1 ((unsigned) (K_SHIFTTAB)) + #define XLAT_STR_1 STRINGIFY(K_SHIFTTAB) + K_ALTTAB = XLAT(K_ALTTAB), + #define XLAT_VAL_2 ((unsigned) (K_ALTTAB)) + #define XLAT_STR_2 STRINGIFY(K_ALTTAB) + K_ALTSHIFTTAB = XLAT(K_ALTSHIFTTAB), + #define XLAT_VAL_3 ((unsigned) (K_ALTSHIFTTAB)) + #define XLAT_STR_3 STRINGIFY(K_ALTSHIFTTAB) +}; +static +const struct xlat kd_key_tables1 = { { + .data = kd_key_tables_xdata, + .size = ARRAY_SIZE(kd_key_tables_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_tables.in
Added
@@ -0,0 +1,5 @@ +#value_indexed +K_NORMTAB 0 +K_SHIFTTAB 1 +K_ALTTAB 2 +K_ALTSHIFTTAB 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_types.h
Added
@@ -0,0 +1,303 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_key_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KT_LATIN) || (defined(HAVE_DECL_KT_LATIN) && HAVE_DECL_KT_LATIN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_LATIN) == (0), "KT_LATIN != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_LATIN 0 +#endif +#if defined(KT_FN) || (defined(HAVE_DECL_KT_FN) && HAVE_DECL_KT_FN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_FN) == (1), "KT_FN != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_FN 1 +#endif +#if defined(KT_SPEC) || (defined(HAVE_DECL_KT_SPEC) && HAVE_DECL_KT_SPEC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_SPEC) == (2), "KT_SPEC != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_SPEC 2 +#endif +#if defined(KT_PAD) || (defined(HAVE_DECL_KT_PAD) && HAVE_DECL_KT_PAD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_PAD) == (3), "KT_PAD != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_PAD 3 +#endif +#if defined(KT_DEAD) || (defined(HAVE_DECL_KT_DEAD) && HAVE_DECL_KT_DEAD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_DEAD) == (4), "KT_DEAD != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_DEAD 4 +#endif +#if defined(KT_CONS) || (defined(HAVE_DECL_KT_CONS) && HAVE_DECL_KT_CONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_CONS) == (5), "KT_CONS != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_CONS 5 +#endif +#if defined(KT_CUR) || (defined(HAVE_DECL_KT_CUR) && HAVE_DECL_KT_CUR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_CUR) == (6), "KT_CUR != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_CUR 6 +#endif +#if defined(KT_SHIFT) || (defined(HAVE_DECL_KT_SHIFT) && HAVE_DECL_KT_SHIFT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_SHIFT) == (7), "KT_SHIFT != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_SHIFT 7 +#endif +#if defined(KT_META) || (defined(HAVE_DECL_KT_META) && HAVE_DECL_KT_META) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_META) == (8), "KT_META != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_META 8 +#endif +#if defined(KT_ASCII) || (defined(HAVE_DECL_KT_ASCII) && HAVE_DECL_KT_ASCII) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_ASCII) == (9), "KT_ASCII != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_ASCII 9 +#endif +#if defined(KT_LOCK) || (defined(HAVE_DECL_KT_LOCK) && HAVE_DECL_KT_LOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_LOCK) == (10), "KT_LOCK != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_LOCK 10 +#endif +#if defined(KT_LETTER) || (defined(HAVE_DECL_KT_LETTER) && HAVE_DECL_KT_LETTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_LETTER) == (11), "KT_LETTER != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_LETTER 11 +#endif +#if defined(KT_SLOCK) || (defined(HAVE_DECL_KT_SLOCK) && HAVE_DECL_KT_SLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_SLOCK) == (12), "KT_SLOCK != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_SLOCK 12 +#endif +#if defined(KT_DEAD2) || (defined(HAVE_DECL_KT_DEAD2) && HAVE_DECL_KT_DEAD2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_DEAD2) == (13), "KT_DEAD2 != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_DEAD2 13 +#endif +#if defined(KT_BRL) || (defined(HAVE_DECL_KT_BRL) && HAVE_DECL_KT_BRL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KT_BRL) == (14), "KT_BRL != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KT_BRL 14 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_key_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_key_types_xdata = { + KT_LATIN = XLAT(KT_LATIN), + #define XLAT_VAL_0 ((unsigned) (KT_LATIN)) + #define XLAT_STR_0 STRINGIFY(KT_LATIN) + KT_FN = XLAT(KT_FN), + #define XLAT_VAL_1 ((unsigned) (KT_FN)) + #define XLAT_STR_1 STRINGIFY(KT_FN) + KT_SPEC = XLAT(KT_SPEC), + #define XLAT_VAL_2 ((unsigned) (KT_SPEC)) + #define XLAT_STR_2 STRINGIFY(KT_SPEC) + KT_PAD = XLAT(KT_PAD), + #define XLAT_VAL_3 ((unsigned) (KT_PAD)) + #define XLAT_STR_3 STRINGIFY(KT_PAD) + KT_DEAD = XLAT(KT_DEAD), + #define XLAT_VAL_4 ((unsigned) (KT_DEAD)) + #define XLAT_STR_4 STRINGIFY(KT_DEAD) + KT_CONS = XLAT(KT_CONS), + #define XLAT_VAL_5 ((unsigned) (KT_CONS)) + #define XLAT_STR_5 STRINGIFY(KT_CONS) + KT_CUR = XLAT(KT_CUR), + #define XLAT_VAL_6 ((unsigned) (KT_CUR)) + #define XLAT_STR_6 STRINGIFY(KT_CUR) + KT_SHIFT = XLAT(KT_SHIFT), + #define XLAT_VAL_7 ((unsigned) (KT_SHIFT)) + #define XLAT_STR_7 STRINGIFY(KT_SHIFT) + KT_META = XLAT(KT_META), + #define XLAT_VAL_8 ((unsigned) (KT_META)) + #define XLAT_STR_8 STRINGIFY(KT_META) + KT_ASCII = XLAT(KT_ASCII), + #define XLAT_VAL_9 ((unsigned) (KT_ASCII)) + #define XLAT_STR_9 STRINGIFY(KT_ASCII) + KT_LOCK = XLAT(KT_LOCK), + #define XLAT_VAL_10 ((unsigned) (KT_LOCK)) + #define XLAT_STR_10 STRINGIFY(KT_LOCK) + KT_LETTER = XLAT(KT_LETTER), + #define XLAT_VAL_11 ((unsigned) (KT_LETTER)) + #define XLAT_STR_11 STRINGIFY(KT_LETTER) + KT_SLOCK = XLAT(KT_SLOCK), + #define XLAT_VAL_12 ((unsigned) (KT_SLOCK)) + #define XLAT_STR_12 STRINGIFY(KT_SLOCK) + KT_DEAD2 = XLAT(KT_DEAD2), + #define XLAT_VAL_13 ((unsigned) (KT_DEAD2)) + #define XLAT_STR_13 STRINGIFY(KT_DEAD2) + KT_BRL = XLAT(KT_BRL), + #define XLAT_VAL_14 ((unsigned) (KT_BRL)) + #define XLAT_STR_14 STRINGIFY(KT_BRL) +}; +static +const struct xlat kd_key_types1 = { { + .data = kd_key_types_xdata, + .size = ARRAY_SIZE(kd_key_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_key_types.in
Added
@@ -0,0 +1,16 @@ +#value_indexed +KT_LATIN 0 +KT_FN 1 +KT_SPEC 2 +KT_PAD 3 +KT_DEAD 4 +KT_CONS 5 +KT_CUR 6 +KT_SHIFT 7 +KT_META 8 +KT_ASCII 9 +KT_LOCK 10 +KT_LETTER 11 +KT_SLOCK 12 +KT_DEAD2 13 +KT_BRL 14
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_keymap_flags.h
Added
@@ -0,0 +1,121 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_keymap_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_keymap_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_keymap_flags_xdata = { + XLAT_PAIR(1ULL<<KG_SHIFT, "1<<KG_SHIFT"), + #define XLAT_VAL_0 ((unsigned) (1ULL<<KG_SHIFT)) + #define XLAT_STR_0 "1<<KG_SHIFT" + XLAT_PAIR(1ULL<<KG_ALTGR, "1<<KG_ALTGR"), + #define XLAT_VAL_1 ((unsigned) (1ULL<<KG_ALTGR)) + #define XLAT_STR_1 "1<<KG_ALTGR" + XLAT_PAIR(1ULL<<KG_CTRL, "1<<KG_CTRL"), + #define XLAT_VAL_2 ((unsigned) (1ULL<<KG_CTRL)) + #define XLAT_STR_2 "1<<KG_CTRL" + XLAT_PAIR(1ULL<<KG_ALT, "1<<KG_ALT"), + #define XLAT_VAL_3 ((unsigned) (1ULL<<KG_ALT)) + #define XLAT_STR_3 "1<<KG_ALT" + XLAT_PAIR(1ULL<<KG_SHIFTL, "1<<KG_SHIFTL"), + #define XLAT_VAL_4 ((unsigned) (1ULL<<KG_SHIFTL)) + #define XLAT_STR_4 "1<<KG_SHIFTL" + XLAT_PAIR(1ULL<<KG_SHIFTR, "1<<KG_SHIFTR"), + #define XLAT_VAL_5 ((unsigned) (1ULL<<KG_SHIFTR)) + #define XLAT_STR_5 "1<<KG_SHIFTR" + XLAT_PAIR(1ULL<<KG_CTRLL, "1<<KG_CTRLL"), + #define XLAT_VAL_6 ((unsigned) (1ULL<<KG_CTRLL)) + #define XLAT_STR_6 "1<<KG_CTRLL" + XLAT_PAIR(1ULL<<KG_CTRLR, "1<<KG_CTRLR"), + #define XLAT_VAL_7 ((unsigned) (1ULL<<KG_CTRLR)) + #define XLAT_STR_7 "1<<KG_CTRLR" +}; +static +const struct xlat kd_keymap_flags1 = { { + .data = kd_keymap_flags_xdata, + .size = ARRAY_SIZE(kd_keymap_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_keymap_flags.in
Added
@@ -0,0 +1,8 @@ +1<<KG_SHIFT 1<<0 +1<<KG_ALTGR 1<<1 +1<<KG_CTRL 1<<2 +1<<KG_ALT 1<<3 +1<<KG_SHIFTL 1<<4 +1<<KG_SHIFTR 1<<5 +1<<KG_CTRLL 1<<6 +1<<KG_CTRLR 1<<7
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_led_flags.h
Added
@@ -0,0 +1,87 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_led_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(LED_SCR) || (defined(HAVE_DECL_LED_SCR) && HAVE_DECL_LED_SCR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LED_SCR) == (0x1), "LED_SCR != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LED_SCR 0x1 +#endif +#if defined(LED_NUM) || (defined(HAVE_DECL_LED_NUM) && HAVE_DECL_LED_NUM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LED_NUM) == (0x2), "LED_NUM != 0x2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LED_NUM 0x2 +#endif +#if defined(LED_CAP) || (defined(HAVE_DECL_LED_CAP) && HAVE_DECL_LED_CAP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LED_CAP) == (0x4), "LED_CAP != 0x4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LED_CAP 0x4 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_led_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_led_flags_xdata = { + XLAT(LED_SCR), + #define XLAT_VAL_0 ((unsigned) (LED_SCR)) + #define XLAT_STR_0 STRINGIFY(LED_SCR) + XLAT(LED_NUM), + #define XLAT_VAL_1 ((unsigned) (LED_NUM)) + #define XLAT_STR_1 STRINGIFY(LED_NUM) + XLAT(LED_CAP), + #define XLAT_VAL_2 ((unsigned) (LED_CAP)) + #define XLAT_STR_2 STRINGIFY(LED_CAP) +}; +static +const struct xlat kd_led_flags1 = { { + .data = kd_led_flags_xdata, + .size = ARRAY_SIZE(kd_led_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_led_flags.in
Added
@@ -0,0 +1,3 @@ +LED_SCR 0x1 +LED_NUM 0x2 +LED_CAP 0x4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_meta_vals.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_meta_vals.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(K_METABIT) || (defined(HAVE_DECL_K_METABIT) && HAVE_DECL_K_METABIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_METABIT) == (0x3), "K_METABIT != 0x3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_METABIT 0x3 +#endif +#if defined(K_ESCPREFIX) || (defined(HAVE_DECL_K_ESCPREFIX) && HAVE_DECL_K_ESCPREFIX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((K_ESCPREFIX) == (0x4), "K_ESCPREFIX != 0x4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define K_ESCPREFIX 0x4 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_meta_vals in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_meta_vals_xdata = { + XLAT(K_METABIT), + #define XLAT_VAL_0 ((unsigned) (K_METABIT)) + #define XLAT_STR_0 STRINGIFY(K_METABIT) + XLAT(K_ESCPREFIX), + #define XLAT_VAL_1 ((unsigned) (K_ESCPREFIX)) + #define XLAT_STR_1 STRINGIFY(K_ESCPREFIX) +}; +static +const struct xlat kd_meta_vals1 = { { + .data = kd_meta_vals_xdata, + .size = ARRAY_SIZE(kd_meta_vals_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_meta_vals.in
Added
@@ -0,0 +1,2 @@ +K_METABIT 0x3 +K_ESCPREFIX 0x4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_modes.h
Added
@@ -0,0 +1,105 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/kd_modes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(KD_TEXT) || (defined(HAVE_DECL_KD_TEXT) && HAVE_DECL_KD_TEXT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_TEXT) == (0x0), "KD_TEXT != 0x0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_TEXT 0x0 +#endif +#if defined(KD_GRAPHICS) || (defined(HAVE_DECL_KD_GRAPHICS) && HAVE_DECL_KD_GRAPHICS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_GRAPHICS) == (0x1), "KD_GRAPHICS != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_GRAPHICS 0x1 +#endif +#if defined(KD_TEXT0) || (defined(HAVE_DECL_KD_TEXT0) && HAVE_DECL_KD_TEXT0) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_TEXT0) == (0x2), "KD_TEXT0 != 0x2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_TEXT0 0x2 +#endif +#if defined(KD_TEXT1) || (defined(HAVE_DECL_KD_TEXT1) && HAVE_DECL_KD_TEXT1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KD_TEXT1) == (0x3), "KD_TEXT1 != 0x3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KD_TEXT1 0x3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat kd_modes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data kd_modes_xdata = { + KD_TEXT = XLAT(KD_TEXT), + #define XLAT_VAL_0 ((unsigned) (KD_TEXT)) + #define XLAT_STR_0 STRINGIFY(KD_TEXT) + KD_GRAPHICS = XLAT(KD_GRAPHICS), + #define XLAT_VAL_1 ((unsigned) (KD_GRAPHICS)) + #define XLAT_STR_1 STRINGIFY(KD_GRAPHICS) + KD_TEXT0 = XLAT(KD_TEXT0), + #define XLAT_VAL_2 ((unsigned) (KD_TEXT0)) + #define XLAT_STR_2 STRINGIFY(KD_TEXT0) + KD_TEXT1 = XLAT(KD_TEXT1), + #define XLAT_VAL_3 ((unsigned) (KD_TEXT1)) + #define XLAT_STR_3 STRINGIFY(KD_TEXT1) +}; +static +const struct xlat kd_modes1 = { { + .data = kd_modes_xdata, + .size = ARRAY_SIZE(kd_modes_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/kd_modes.in
Added
@@ -0,0 +1,5 @@ +#value_indexed +KD_TEXT 0x0 +KD_GRAPHICS 0x1 +KD_TEXT0 0x2 +KD_TEXT1 0x3
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kexec_arch_values.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kexec_arch_values.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -59,6 +60,9 @@ XLAT(KEXEC_ARCH_RISCV), #define XLAT_VAL_14 ((unsigned) (KEXEC_ARCH_RISCV)) #define XLAT_STR_14 STRINGIFY(KEXEC_ARCH_RISCV) + XLAT(KEXEC_ARCH_LOONGARCH), + #define XLAT_VAL_15 ((unsigned) (KEXEC_ARCH_LOONGARCH)) + #define XLAT_STR_15 STRINGIFY(KEXEC_ARCH_LOONGARCH) }; static const struct xlat kexec_arch_values1 = { { @@ -111,6 +115,9 @@ # ifdef XLAT_VAL_14 | XLAT_VAL_14 # endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -158,6 +165,9 @@ # ifdef XLAT_STR_14 + sizeof(XLAT_STR_14) # endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -192,6 +202,8 @@ # undef XLAT_VAL_13 # undef XLAT_STR_14 # undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kexec_arch_values.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kexec_arch_values.in
Changed
@@ -14,3 +14,4 @@ KEXEC_ARCH_MIPS KEXEC_ARCH_AARCH64 KEXEC_ARCH_RISCV +KEXEC_ARCH_LOONGARCH
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kexec_file_load_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kexec_file_load_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kexec_load_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kexec_load_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/key_perms.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/key_perms.h
Changed
@@ -199,6 +199,7 @@ #else # define KEY_OTH_ALL 0x0000003f #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/key_reqkeys.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/key_reqkeys.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/key_spec.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/key_spec.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/keyctl_caps0.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/keyctl_caps0.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/keyctl_caps1.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/keyctl_caps1.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/keyctl_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/keyctl_commands.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/keyctl_move_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/keyctl_move_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/keyctl_pkey_ops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/keyctl_pkey_ops.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_cap.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_cap.h
Changed
@@ -1354,6 +1354,182 @@ #else # define KVM_CAP_PTP_KVM 198 #endif +#if defined(KVM_CAP_HYPERV_ENFORCE_CPUID) || (defined(HAVE_DECL_KVM_CAP_HYPERV_ENFORCE_CPUID) && HAVE_DECL_KVM_CAP_HYPERV_ENFORCE_CPUID) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_HYPERV_ENFORCE_CPUID) == (199), "KVM_CAP_HYPERV_ENFORCE_CPUID != 199"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_HYPERV_ENFORCE_CPUID 199 +#endif +#if defined(KVM_CAP_SREGS2) || (defined(HAVE_DECL_KVM_CAP_SREGS2) && HAVE_DECL_KVM_CAP_SREGS2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_SREGS2) == (200), "KVM_CAP_SREGS2 != 200"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_SREGS2 200 +#endif +#if defined(KVM_CAP_EXIT_HYPERCALL) || (defined(HAVE_DECL_KVM_CAP_EXIT_HYPERCALL) && HAVE_DECL_KVM_CAP_EXIT_HYPERCALL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_EXIT_HYPERCALL) == (201), "KVM_CAP_EXIT_HYPERCALL != 201"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_EXIT_HYPERCALL 201 +#endif +#if defined(KVM_CAP_PPC_RPT_INVALIDATE) || (defined(HAVE_DECL_KVM_CAP_PPC_RPT_INVALIDATE) && HAVE_DECL_KVM_CAP_PPC_RPT_INVALIDATE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_PPC_RPT_INVALIDATE) == (202), "KVM_CAP_PPC_RPT_INVALIDATE != 202"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_PPC_RPT_INVALIDATE 202 +#endif +#if defined(KVM_CAP_BINARY_STATS_FD) || (defined(HAVE_DECL_KVM_CAP_BINARY_STATS_FD) && HAVE_DECL_KVM_CAP_BINARY_STATS_FD) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_BINARY_STATS_FD) == (203), "KVM_CAP_BINARY_STATS_FD != 203"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_BINARY_STATS_FD 203 +#endif +#if defined(KVM_CAP_EXIT_ON_EMULATION_FAILURE) || (defined(HAVE_DECL_KVM_CAP_EXIT_ON_EMULATION_FAILURE) && HAVE_DECL_KVM_CAP_EXIT_ON_EMULATION_FAILURE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_EXIT_ON_EMULATION_FAILURE) == (204), "KVM_CAP_EXIT_ON_EMULATION_FAILURE != 204"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_EXIT_ON_EMULATION_FAILURE 204 +#endif +#if defined(KVM_CAP_ARM_MTE) || (defined(HAVE_DECL_KVM_CAP_ARM_MTE) && HAVE_DECL_KVM_CAP_ARM_MTE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_ARM_MTE) == (205), "KVM_CAP_ARM_MTE != 205"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_ARM_MTE 205 +#endif +#if defined(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM) || (defined(HAVE_DECL_KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM) && HAVE_DECL_KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM) == (206), "KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM != 206"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM 206 +#endif +#if defined(KVM_CAP_VM_GPA_BITS) || (defined(HAVE_DECL_KVM_CAP_VM_GPA_BITS) && HAVE_DECL_KVM_CAP_VM_GPA_BITS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_VM_GPA_BITS) == (207), "KVM_CAP_VM_GPA_BITS != 207"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_VM_GPA_BITS 207 +#endif +#if defined(KVM_CAP_XSAVE2) || (defined(HAVE_DECL_KVM_CAP_XSAVE2) && HAVE_DECL_KVM_CAP_XSAVE2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_XSAVE2) == (208), "KVM_CAP_XSAVE2 != 208"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_XSAVE2 208 +#endif +#if defined(KVM_CAP_SYS_ATTRIBUTES) || (defined(HAVE_DECL_KVM_CAP_SYS_ATTRIBUTES) && HAVE_DECL_KVM_CAP_SYS_ATTRIBUTES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_SYS_ATTRIBUTES) == (209), "KVM_CAP_SYS_ATTRIBUTES != 209"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_SYS_ATTRIBUTES 209 +#endif +#if defined(KVM_CAP_PPC_AIL_MODE_3) || (defined(HAVE_DECL_KVM_CAP_PPC_AIL_MODE_3) && HAVE_DECL_KVM_CAP_PPC_AIL_MODE_3) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_PPC_AIL_MODE_3) == (210), "KVM_CAP_PPC_AIL_MODE_3 != 210"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_PPC_AIL_MODE_3 210 +#endif +#if defined(KVM_CAP_S390_MEM_OP_EXTENSION) || (defined(HAVE_DECL_KVM_CAP_S390_MEM_OP_EXTENSION) && HAVE_DECL_KVM_CAP_S390_MEM_OP_EXTENSION) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_S390_MEM_OP_EXTENSION) == (211), "KVM_CAP_S390_MEM_OP_EXTENSION != 211"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_S390_MEM_OP_EXTENSION 211 +#endif +#if defined(KVM_CAP_PMU_CAPABILITY) || (defined(HAVE_DECL_KVM_CAP_PMU_CAPABILITY) && HAVE_DECL_KVM_CAP_PMU_CAPABILITY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_PMU_CAPABILITY) == (212), "KVM_CAP_PMU_CAPABILITY != 212"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_PMU_CAPABILITY 212 +#endif +#if defined(KVM_CAP_DISABLE_QUIRKS2) || (defined(HAVE_DECL_KVM_CAP_DISABLE_QUIRKS2) && HAVE_DECL_KVM_CAP_DISABLE_QUIRKS2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_DISABLE_QUIRKS2) == (213), "KVM_CAP_DISABLE_QUIRKS2 != 213"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_DISABLE_QUIRKS2 213 +#endif +#if defined(KVM_CAP_VM_TSC_CONTROL) || (defined(HAVE_DECL_KVM_CAP_VM_TSC_CONTROL) && HAVE_DECL_KVM_CAP_VM_TSC_CONTROL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_VM_TSC_CONTROL) == (214), "KVM_CAP_VM_TSC_CONTROL != 214"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_VM_TSC_CONTROL 214 +#endif +#if defined(KVM_CAP_SYSTEM_EVENT_DATA) || (defined(HAVE_DECL_KVM_CAP_SYSTEM_EVENT_DATA) && HAVE_DECL_KVM_CAP_SYSTEM_EVENT_DATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_SYSTEM_EVENT_DATA) == (215), "KVM_CAP_SYSTEM_EVENT_DATA != 215"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_SYSTEM_EVENT_DATA 215 +#endif +#if defined(KVM_CAP_ARM_SYSTEM_SUSPEND) || (defined(HAVE_DECL_KVM_CAP_ARM_SYSTEM_SUSPEND) && HAVE_DECL_KVM_CAP_ARM_SYSTEM_SUSPEND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_ARM_SYSTEM_SUSPEND) == (216), "KVM_CAP_ARM_SYSTEM_SUSPEND != 216"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_ARM_SYSTEM_SUSPEND 216 +#endif +#if defined(KVM_CAP_S390_PROTECTED_DUMP) || (defined(HAVE_DECL_KVM_CAP_S390_PROTECTED_DUMP) && HAVE_DECL_KVM_CAP_S390_PROTECTED_DUMP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_S390_PROTECTED_DUMP) == (217), "KVM_CAP_S390_PROTECTED_DUMP != 217"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_S390_PROTECTED_DUMP 217 +#endif +#if defined(KVM_CAP_X86_TRIPLE_FAULT_EVENT) || (defined(HAVE_DECL_KVM_CAP_X86_TRIPLE_FAULT_EVENT) && HAVE_DECL_KVM_CAP_X86_TRIPLE_FAULT_EVENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_X86_TRIPLE_FAULT_EVENT) == (218), "KVM_CAP_X86_TRIPLE_FAULT_EVENT != 218"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_X86_TRIPLE_FAULT_EVENT 218 +#endif +#if defined(KVM_CAP_X86_NOTIFY_VMEXIT) || (defined(HAVE_DECL_KVM_CAP_X86_NOTIFY_VMEXIT) && HAVE_DECL_KVM_CAP_X86_NOTIFY_VMEXIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_X86_NOTIFY_VMEXIT) == (219), "KVM_CAP_X86_NOTIFY_VMEXIT != 219"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_X86_NOTIFY_VMEXIT 219 +#endif +#if defined(KVM_CAP_VM_DISABLE_NX_HUGE_PAGES) || (defined(HAVE_DECL_KVM_CAP_VM_DISABLE_NX_HUGE_PAGES) && HAVE_DECL_KVM_CAP_VM_DISABLE_NX_HUGE_PAGES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_VM_DISABLE_NX_HUGE_PAGES) == (220), "KVM_CAP_VM_DISABLE_NX_HUGE_PAGES != 220"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_VM_DISABLE_NX_HUGE_PAGES 220 +#endif +#if defined(KVM_CAP_S390_ZPCI_OP) || (defined(HAVE_DECL_KVM_CAP_S390_ZPCI_OP) && HAVE_DECL_KVM_CAP_S390_ZPCI_OP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_S390_ZPCI_OP) == (221), "KVM_CAP_S390_ZPCI_OP != 221"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_S390_ZPCI_OP 221 +#endif +#if defined(KVM_CAP_S390_CPU_TOPOLOGY) || (defined(HAVE_DECL_KVM_CAP_S390_CPU_TOPOLOGY) && HAVE_DECL_KVM_CAP_S390_CPU_TOPOLOGY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_S390_CPU_TOPOLOGY) == (222), "KVM_CAP_S390_CPU_TOPOLOGY != 222"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_S390_CPU_TOPOLOGY 222 +#endif +#if defined(KVM_CAP_DIRTY_LOG_RING_ACQ_REL) || (defined(HAVE_DECL_KVM_CAP_DIRTY_LOG_RING_ACQ_REL) && HAVE_DECL_KVM_CAP_DIRTY_LOG_RING_ACQ_REL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_CAP_DIRTY_LOG_RING_ACQ_REL) == (223), "KVM_CAP_DIRTY_LOG_RING_ACQ_REL != 223"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_CAP_DIRTY_LOG_RING_ACQ_REL 223 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -1944,6 +2120,81 @@ KVM_CAP_PTP_KVM = XLAT(KVM_CAP_PTP_KVM), #define XLAT_VAL_192 ((unsigned) (KVM_CAP_PTP_KVM)) #define XLAT_STR_192 STRINGIFY(KVM_CAP_PTP_KVM) + KVM_CAP_HYPERV_ENFORCE_CPUID = XLAT(KVM_CAP_HYPERV_ENFORCE_CPUID), + #define XLAT_VAL_193 ((unsigned) (KVM_CAP_HYPERV_ENFORCE_CPUID)) + #define XLAT_STR_193 STRINGIFY(KVM_CAP_HYPERV_ENFORCE_CPUID) + KVM_CAP_SREGS2 = XLAT(KVM_CAP_SREGS2), + #define XLAT_VAL_194 ((unsigned) (KVM_CAP_SREGS2)) + #define XLAT_STR_194 STRINGIFY(KVM_CAP_SREGS2) + KVM_CAP_EXIT_HYPERCALL = XLAT(KVM_CAP_EXIT_HYPERCALL), + #define XLAT_VAL_195 ((unsigned) (KVM_CAP_EXIT_HYPERCALL)) + #define XLAT_STR_195 STRINGIFY(KVM_CAP_EXIT_HYPERCALL) + KVM_CAP_PPC_RPT_INVALIDATE = XLAT(KVM_CAP_PPC_RPT_INVALIDATE), + #define XLAT_VAL_196 ((unsigned) (KVM_CAP_PPC_RPT_INVALIDATE)) + #define XLAT_STR_196 STRINGIFY(KVM_CAP_PPC_RPT_INVALIDATE) + KVM_CAP_BINARY_STATS_FD = XLAT(KVM_CAP_BINARY_STATS_FD), + #define XLAT_VAL_197 ((unsigned) (KVM_CAP_BINARY_STATS_FD)) + #define XLAT_STR_197 STRINGIFY(KVM_CAP_BINARY_STATS_FD) + KVM_CAP_EXIT_ON_EMULATION_FAILURE = XLAT(KVM_CAP_EXIT_ON_EMULATION_FAILURE), + #define XLAT_VAL_198 ((unsigned) (KVM_CAP_EXIT_ON_EMULATION_FAILURE)) + #define XLAT_STR_198 STRINGIFY(KVM_CAP_EXIT_ON_EMULATION_FAILURE) + KVM_CAP_ARM_MTE = XLAT(KVM_CAP_ARM_MTE), + #define XLAT_VAL_199 ((unsigned) (KVM_CAP_ARM_MTE)) + #define XLAT_STR_199 STRINGIFY(KVM_CAP_ARM_MTE) + KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM = XLAT(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM), + #define XLAT_VAL_200 ((unsigned) (KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM)) + #define XLAT_STR_200 STRINGIFY(KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM) + KVM_CAP_VM_GPA_BITS = XLAT(KVM_CAP_VM_GPA_BITS), + #define XLAT_VAL_201 ((unsigned) (KVM_CAP_VM_GPA_BITS)) + #define XLAT_STR_201 STRINGIFY(KVM_CAP_VM_GPA_BITS) + KVM_CAP_XSAVE2 = XLAT(KVM_CAP_XSAVE2), + #define XLAT_VAL_202 ((unsigned) (KVM_CAP_XSAVE2)) + #define XLAT_STR_202 STRINGIFY(KVM_CAP_XSAVE2) + KVM_CAP_SYS_ATTRIBUTES = XLAT(KVM_CAP_SYS_ATTRIBUTES), + #define XLAT_VAL_203 ((unsigned) (KVM_CAP_SYS_ATTRIBUTES)) + #define XLAT_STR_203 STRINGIFY(KVM_CAP_SYS_ATTRIBUTES) + KVM_CAP_PPC_AIL_MODE_3 = XLAT(KVM_CAP_PPC_AIL_MODE_3), + #define XLAT_VAL_204 ((unsigned) (KVM_CAP_PPC_AIL_MODE_3)) + #define XLAT_STR_204 STRINGIFY(KVM_CAP_PPC_AIL_MODE_3) + KVM_CAP_S390_MEM_OP_EXTENSION = XLAT(KVM_CAP_S390_MEM_OP_EXTENSION), + #define XLAT_VAL_205 ((unsigned) (KVM_CAP_S390_MEM_OP_EXTENSION)) + #define XLAT_STR_205 STRINGIFY(KVM_CAP_S390_MEM_OP_EXTENSION) + KVM_CAP_PMU_CAPABILITY = XLAT(KVM_CAP_PMU_CAPABILITY), + #define XLAT_VAL_206 ((unsigned) (KVM_CAP_PMU_CAPABILITY)) + #define XLAT_STR_206 STRINGIFY(KVM_CAP_PMU_CAPABILITY) + KVM_CAP_DISABLE_QUIRKS2 = XLAT(KVM_CAP_DISABLE_QUIRKS2), + #define XLAT_VAL_207 ((unsigned) (KVM_CAP_DISABLE_QUIRKS2)) + #define XLAT_STR_207 STRINGIFY(KVM_CAP_DISABLE_QUIRKS2) + KVM_CAP_VM_TSC_CONTROL = XLAT(KVM_CAP_VM_TSC_CONTROL), + #define XLAT_VAL_208 ((unsigned) (KVM_CAP_VM_TSC_CONTROL)) + #define XLAT_STR_208 STRINGIFY(KVM_CAP_VM_TSC_CONTROL) + KVM_CAP_SYSTEM_EVENT_DATA = XLAT(KVM_CAP_SYSTEM_EVENT_DATA), + #define XLAT_VAL_209 ((unsigned) (KVM_CAP_SYSTEM_EVENT_DATA)) + #define XLAT_STR_209 STRINGIFY(KVM_CAP_SYSTEM_EVENT_DATA) + KVM_CAP_ARM_SYSTEM_SUSPEND = XLAT(KVM_CAP_ARM_SYSTEM_SUSPEND), + #define XLAT_VAL_210 ((unsigned) (KVM_CAP_ARM_SYSTEM_SUSPEND)) + #define XLAT_STR_210 STRINGIFY(KVM_CAP_ARM_SYSTEM_SUSPEND) + KVM_CAP_S390_PROTECTED_DUMP = XLAT(KVM_CAP_S390_PROTECTED_DUMP), + #define XLAT_VAL_211 ((unsigned) (KVM_CAP_S390_PROTECTED_DUMP)) + #define XLAT_STR_211 STRINGIFY(KVM_CAP_S390_PROTECTED_DUMP) + KVM_CAP_X86_TRIPLE_FAULT_EVENT = XLAT(KVM_CAP_X86_TRIPLE_FAULT_EVENT), + #define XLAT_VAL_212 ((unsigned) (KVM_CAP_X86_TRIPLE_FAULT_EVENT)) + #define XLAT_STR_212 STRINGIFY(KVM_CAP_X86_TRIPLE_FAULT_EVENT) + KVM_CAP_X86_NOTIFY_VMEXIT = XLAT(KVM_CAP_X86_NOTIFY_VMEXIT), + #define XLAT_VAL_213 ((unsigned) (KVM_CAP_X86_NOTIFY_VMEXIT)) + #define XLAT_STR_213 STRINGIFY(KVM_CAP_X86_NOTIFY_VMEXIT) + KVM_CAP_VM_DISABLE_NX_HUGE_PAGES = XLAT(KVM_CAP_VM_DISABLE_NX_HUGE_PAGES), + #define XLAT_VAL_214 ((unsigned) (KVM_CAP_VM_DISABLE_NX_HUGE_PAGES)) + #define XLAT_STR_214 STRINGIFY(KVM_CAP_VM_DISABLE_NX_HUGE_PAGES) + KVM_CAP_S390_ZPCI_OP = XLAT(KVM_CAP_S390_ZPCI_OP), + #define XLAT_VAL_215 ((unsigned) (KVM_CAP_S390_ZPCI_OP)) + #define XLAT_STR_215 STRINGIFY(KVM_CAP_S390_ZPCI_OP) + KVM_CAP_S390_CPU_TOPOLOGY = XLAT(KVM_CAP_S390_CPU_TOPOLOGY), + #define XLAT_VAL_216 ((unsigned) (KVM_CAP_S390_CPU_TOPOLOGY)) + #define XLAT_STR_216 STRINGIFY(KVM_CAP_S390_CPU_TOPOLOGY) + KVM_CAP_DIRTY_LOG_RING_ACQ_REL = XLAT(KVM_CAP_DIRTY_LOG_RING_ACQ_REL), + #define XLAT_VAL_217 ((unsigned) (KVM_CAP_DIRTY_LOG_RING_ACQ_REL)) + #define XLAT_STR_217 STRINGIFY(KVM_CAP_DIRTY_LOG_RING_ACQ_REL) }; static const struct xlat kvm_cap1 = { { @@ -2530,6 +2781,81 @@ # ifdef XLAT_VAL_192 | XLAT_VAL_192 # endif +# ifdef XLAT_VAL_193 + | XLAT_VAL_193 +# endif +# ifdef XLAT_VAL_194 + | XLAT_VAL_194 +# endif +# ifdef XLAT_VAL_195 + | XLAT_VAL_195 +# endif +# ifdef XLAT_VAL_196 + | XLAT_VAL_196 +# endif +# ifdef XLAT_VAL_197 + | XLAT_VAL_197 +# endif +# ifdef XLAT_VAL_198 + | XLAT_VAL_198 +# endif +# ifdef XLAT_VAL_199 + | XLAT_VAL_199 +# endif +# ifdef XLAT_VAL_200 + | XLAT_VAL_200 +# endif +# ifdef XLAT_VAL_201 + | XLAT_VAL_201 +# endif +# ifdef XLAT_VAL_202 + | XLAT_VAL_202 +# endif +# ifdef XLAT_VAL_203 + | XLAT_VAL_203 +# endif +# ifdef XLAT_VAL_204 + | XLAT_VAL_204 +# endif +# ifdef XLAT_VAL_205 + | XLAT_VAL_205 +# endif +# ifdef XLAT_VAL_206 + | XLAT_VAL_206 +# endif +# ifdef XLAT_VAL_207 + | XLAT_VAL_207 +# endif +# ifdef XLAT_VAL_208 + | XLAT_VAL_208 +# endif +# ifdef XLAT_VAL_209 + | XLAT_VAL_209 +# endif +# ifdef XLAT_VAL_210 + | XLAT_VAL_210 +# endif +# ifdef XLAT_VAL_211 + | XLAT_VAL_211 +# endif +# ifdef XLAT_VAL_212 + | XLAT_VAL_212 +# endif +# ifdef XLAT_VAL_213 + | XLAT_VAL_213 +# endif +# ifdef XLAT_VAL_214 + | XLAT_VAL_214 +# endif +# ifdef XLAT_VAL_215 + | XLAT_VAL_215 +# endif +# ifdef XLAT_VAL_216 + | XLAT_VAL_216 +# endif +# ifdef XLAT_VAL_217 + | XLAT_VAL_217 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -3111,6 +3437,81 @@ # ifdef XLAT_STR_192 + sizeof(XLAT_STR_192) # endif +# ifdef XLAT_STR_193 + + sizeof(XLAT_STR_193) +# endif +# ifdef XLAT_STR_194 + + sizeof(XLAT_STR_194) +# endif +# ifdef XLAT_STR_195 + + sizeof(XLAT_STR_195) +# endif +# ifdef XLAT_STR_196 + + sizeof(XLAT_STR_196) +# endif +# ifdef XLAT_STR_197 + + sizeof(XLAT_STR_197) +# endif +# ifdef XLAT_STR_198 + + sizeof(XLAT_STR_198) +# endif +# ifdef XLAT_STR_199 + + sizeof(XLAT_STR_199) +# endif +# ifdef XLAT_STR_200 + + sizeof(XLAT_STR_200) +# endif +# ifdef XLAT_STR_201 + + sizeof(XLAT_STR_201) +# endif +# ifdef XLAT_STR_202 + + sizeof(XLAT_STR_202) +# endif +# ifdef XLAT_STR_203 + + sizeof(XLAT_STR_203) +# endif +# ifdef XLAT_STR_204 + + sizeof(XLAT_STR_204) +# endif +# ifdef XLAT_STR_205 + + sizeof(XLAT_STR_205) +# endif +# ifdef XLAT_STR_206 + + sizeof(XLAT_STR_206) +# endif +# ifdef XLAT_STR_207 + + sizeof(XLAT_STR_207) +# endif +# ifdef XLAT_STR_208 + + sizeof(XLAT_STR_208) +# endif +# ifdef XLAT_STR_209 + + sizeof(XLAT_STR_209) +# endif +# ifdef XLAT_STR_210 + + sizeof(XLAT_STR_210) +# endif +# ifdef XLAT_STR_211 + + sizeof(XLAT_STR_211) +# endif +# ifdef XLAT_STR_212 + + sizeof(XLAT_STR_212) +# endif +# ifdef XLAT_STR_213 + + sizeof(XLAT_STR_213) +# endif +# ifdef XLAT_STR_214 + + sizeof(XLAT_STR_214) +# endif +# ifdef XLAT_STR_215 + + sizeof(XLAT_STR_215) +# endif +# ifdef XLAT_STR_216 + + sizeof(XLAT_STR_216) +# endif +# ifdef XLAT_STR_217 + + sizeof(XLAT_STR_217) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -3501,6 +3902,56 @@ # undef XLAT_VAL_191 # undef XLAT_STR_192 # undef XLAT_VAL_192 +# undef XLAT_STR_193 +# undef XLAT_VAL_193 +# undef XLAT_STR_194 +# undef XLAT_VAL_194 +# undef XLAT_STR_195 +# undef XLAT_VAL_195 +# undef XLAT_STR_196 +# undef XLAT_VAL_196 +# undef XLAT_STR_197 +# undef XLAT_VAL_197 +# undef XLAT_STR_198 +# undef XLAT_VAL_198 +# undef XLAT_STR_199 +# undef XLAT_VAL_199 +# undef XLAT_STR_200 +# undef XLAT_VAL_200 +# undef XLAT_STR_201 +# undef XLAT_VAL_201 +# undef XLAT_STR_202 +# undef XLAT_VAL_202 +# undef XLAT_STR_203 +# undef XLAT_VAL_203 +# undef XLAT_STR_204 +# undef XLAT_VAL_204 +# undef XLAT_STR_205 +# undef XLAT_VAL_205 +# undef XLAT_STR_206 +# undef XLAT_VAL_206 +# undef XLAT_STR_207 +# undef XLAT_VAL_207 +# undef XLAT_STR_208 +# undef XLAT_VAL_208 +# undef XLAT_STR_209 +# undef XLAT_VAL_209 +# undef XLAT_STR_210 +# undef XLAT_VAL_210 +# undef XLAT_STR_211 +# undef XLAT_VAL_211 +# undef XLAT_STR_212 +# undef XLAT_VAL_212 +# undef XLAT_STR_213 +# undef XLAT_VAL_213 +# undef XLAT_STR_214 +# undef XLAT_VAL_214 +# undef XLAT_STR_215 +# undef XLAT_VAL_215 +# undef XLAT_STR_216 +# undef XLAT_VAL_216 +# undef XLAT_STR_217 +# undef XLAT_VAL_217 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_cap.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_cap.in
Changed
@@ -192,3 +192,28 @@ KVM_CAP_SGX_ATTRIBUTE 196 KVM_CAP_VM_COPY_ENC_CONTEXT_FROM 197 KVM_CAP_PTP_KVM 198 +KVM_CAP_HYPERV_ENFORCE_CPUID 199 +KVM_CAP_SREGS2 200 +KVM_CAP_EXIT_HYPERCALL 201 +KVM_CAP_PPC_RPT_INVALIDATE 202 +KVM_CAP_BINARY_STATS_FD 203 +KVM_CAP_EXIT_ON_EMULATION_FAILURE 204 +KVM_CAP_ARM_MTE 205 +KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM 206 +KVM_CAP_VM_GPA_BITS 207 +KVM_CAP_XSAVE2 208 +KVM_CAP_SYS_ATTRIBUTES 209 +KVM_CAP_PPC_AIL_MODE_3 210 +KVM_CAP_S390_MEM_OP_EXTENSION 211 +KVM_CAP_PMU_CAPABILITY 212 +KVM_CAP_DISABLE_QUIRKS2 213 +KVM_CAP_VM_TSC_CONTROL 214 +KVM_CAP_SYSTEM_EVENT_DATA 215 +KVM_CAP_ARM_SYSTEM_SUSPEND 216 +KVM_CAP_S390_PROTECTED_DUMP 217 +KVM_CAP_X86_TRIPLE_FAULT_EVENT 218 +KVM_CAP_X86_NOTIFY_VMEXIT 219 +KVM_CAP_VM_DISABLE_NX_HUGE_PAGES 220 +KVM_CAP_S390_ZPCI_OP 221 +KVM_CAP_S390_CPU_TOPOLOGY 222 +KVM_CAP_DIRTY_LOG_RING_ACQ_REL 223
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_cpuid_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_cpuid_flags.h
Changed
@@ -27,6 +27,7 @@ #else # define KVM_CPUID_FLAG_STATE_READ_NEXT (1 << 2) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_exit_reason.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_exit_reason.h
Changed
@@ -248,6 +248,28 @@ #else # define KVM_EXIT_XEN 34 #endif +#if defined(KVM_EXIT_RISCV_SBI) || (defined(HAVE_DECL_KVM_EXIT_RISCV_SBI) && HAVE_DECL_KVM_EXIT_RISCV_SBI) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_EXIT_RISCV_SBI) == (35), "KVM_EXIT_RISCV_SBI != 35"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_EXIT_RISCV_SBI 35 +#endif +#if defined(KVM_EXIT_RISCV_CSR) || (defined(HAVE_DECL_KVM_EXIT_RISCV_CSR) && HAVE_DECL_KVM_EXIT_RISCV_CSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_EXIT_RISCV_CSR) == (36), "KVM_EXIT_RISCV_CSR != 36"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_EXIT_RISCV_CSR 36 +#endif +#if defined(KVM_EXIT_NOTIFY) || (defined(HAVE_DECL_KVM_EXIT_NOTIFY) && HAVE_DECL_KVM_EXIT_NOTIFY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((KVM_EXIT_NOTIFY) == (37), "KVM_EXIT_NOTIFY != 37"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define KVM_EXIT_NOTIFY 37 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -365,6 +387,15 @@ KVM_EXIT_XEN = XLAT(KVM_EXIT_XEN), #define XLAT_VAL_34 ((unsigned) (KVM_EXIT_XEN)) #define XLAT_STR_34 STRINGIFY(KVM_EXIT_XEN) + KVM_EXIT_RISCV_SBI = XLAT(KVM_EXIT_RISCV_SBI), + #define XLAT_VAL_35 ((unsigned) (KVM_EXIT_RISCV_SBI)) + #define XLAT_STR_35 STRINGIFY(KVM_EXIT_RISCV_SBI) + KVM_EXIT_RISCV_CSR = XLAT(KVM_EXIT_RISCV_CSR), + #define XLAT_VAL_36 ((unsigned) (KVM_EXIT_RISCV_CSR)) + #define XLAT_STR_36 STRINGIFY(KVM_EXIT_RISCV_CSR) + KVM_EXIT_NOTIFY = XLAT(KVM_EXIT_NOTIFY), + #define XLAT_VAL_37 ((unsigned) (KVM_EXIT_NOTIFY)) + #define XLAT_STR_37 STRINGIFY(KVM_EXIT_NOTIFY) }; static const struct xlat kvm_exit_reason1 = { { @@ -477,6 +508,15 @@ # ifdef XLAT_VAL_34 | XLAT_VAL_34 # endif +# ifdef XLAT_VAL_35 + | XLAT_VAL_35 +# endif +# ifdef XLAT_VAL_36 + | XLAT_VAL_36 +# endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -584,6 +624,15 @@ # ifdef XLAT_STR_34 + sizeof(XLAT_STR_34) # endif +# ifdef XLAT_STR_35 + + sizeof(XLAT_STR_35) +# endif +# ifdef XLAT_STR_36 + + sizeof(XLAT_STR_36) +# endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -658,6 +707,12 @@ # undef XLAT_VAL_33 # undef XLAT_STR_34 # undef XLAT_VAL_34 +# undef XLAT_STR_35 +# undef XLAT_VAL_35 +# undef XLAT_STR_36 +# undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_exit_reason.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_exit_reason.in
Changed
@@ -35,3 +35,6 @@ KVM_EXIT_AP_RESET_HOLD 32 KVM_EXIT_X86_BUS_LOCK 33 KVM_EXIT_XEN 34 +KVM_EXIT_RISCV_SBI 35 +KVM_EXIT_RISCV_CSR 36 +KVM_EXIT_NOTIFY 37
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/kvm_mem_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/kvm_mem_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define KVM_MEM_READONLY (1 << 1) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/landlock_create_ruleset_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/landlock_create_ruleset_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/landlock_rule_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/landlock_rule_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/landlock_ruleset_access_fs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/landlock_ruleset_access_fs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -53,6 +54,9 @@ XLAT(LANDLOCK_ACCESS_FS_MAKE_SYM), #define XLAT_VAL_12 ((unsigned) (LANDLOCK_ACCESS_FS_MAKE_SYM)) #define XLAT_STR_12 STRINGIFY(LANDLOCK_ACCESS_FS_MAKE_SYM) + XLAT(LANDLOCK_ACCESS_FS_REFER), + #define XLAT_VAL_13 ((unsigned) (LANDLOCK_ACCESS_FS_REFER)) + #define XLAT_STR_13 STRINGIFY(LANDLOCK_ACCESS_FS_REFER) }; static const struct xlat landlock_ruleset_access_fs1 = { { @@ -99,6 +103,9 @@ # ifdef XLAT_VAL_12 | XLAT_VAL_12 # endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -140,6 +147,9 @@ # ifdef XLAT_STR_12 + sizeof(XLAT_STR_12) # endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -170,6 +180,8 @@ # undef XLAT_VAL_11 # undef XLAT_STR_12 # undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/landlock_ruleset_access_fs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/landlock_ruleset_access_fs.in
Changed
@@ -12,3 +12,4 @@ LANDLOCK_ACCESS_FS_MAKE_FIFO LANDLOCK_ACCESS_FS_MAKE_BLOCK LANDLOCK_ACCESS_FS_MAKE_SYM +LANDLOCK_ACCESS_FS_REFER
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/lirc_features.h
Added
@@ -0,0 +1,187 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/lirc_features.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat lirc_features in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data lirc_features_xdata = { + XLAT(LIRC_CAN_SEND_PULSE), + #define XLAT_VAL_0 ((unsigned) (LIRC_CAN_SEND_PULSE)) + #define XLAT_STR_0 STRINGIFY(LIRC_CAN_SEND_PULSE) + XLAT(LIRC_CAN_SEND_LIRCCODE), + #define XLAT_VAL_1 ((unsigned) (LIRC_CAN_SEND_LIRCCODE)) + #define XLAT_STR_1 STRINGIFY(LIRC_CAN_SEND_LIRCCODE) + XLAT(LIRC_CAN_SET_SEND_CARRIER), + #define XLAT_VAL_2 ((unsigned) (LIRC_CAN_SET_SEND_CARRIER)) + #define XLAT_STR_2 STRINGIFY(LIRC_CAN_SET_SEND_CARRIER) + XLAT(LIRC_CAN_SET_SEND_DUTY_CYCLE), + #define XLAT_VAL_3 ((unsigned) (LIRC_CAN_SET_SEND_DUTY_CYCLE)) + #define XLAT_STR_3 STRINGIFY(LIRC_CAN_SET_SEND_DUTY_CYCLE) + XLAT(LIRC_CAN_SET_TRANSMITTER_MASK), + #define XLAT_VAL_4 ((unsigned) (LIRC_CAN_SET_TRANSMITTER_MASK)) + #define XLAT_STR_4 STRINGIFY(LIRC_CAN_SET_TRANSMITTER_MASK) + XLAT(LIRC_CAN_REC_MODE2), + #define XLAT_VAL_5 ((unsigned) (LIRC_CAN_REC_MODE2)) + #define XLAT_STR_5 STRINGIFY(LIRC_CAN_REC_MODE2) + XLAT(LIRC_CAN_REC_SCANCODE), + #define XLAT_VAL_6 ((unsigned) (LIRC_CAN_REC_SCANCODE)) + #define XLAT_STR_6 STRINGIFY(LIRC_CAN_REC_SCANCODE) + XLAT(LIRC_CAN_REC_LIRCCODE), + #define XLAT_VAL_7 ((unsigned) (LIRC_CAN_REC_LIRCCODE)) + #define XLAT_STR_7 STRINGIFY(LIRC_CAN_REC_LIRCCODE) + XLAT(LIRC_CAN_SET_REC_CARRIER), + #define XLAT_VAL_8 ((unsigned) (LIRC_CAN_SET_REC_CARRIER)) + #define XLAT_STR_8 STRINGIFY(LIRC_CAN_SET_REC_CARRIER) + XLAT(LIRC_CAN_MEASURE_CARRIER), + #define XLAT_VAL_9 ((unsigned) (LIRC_CAN_MEASURE_CARRIER)) + #define XLAT_STR_9 STRINGIFY(LIRC_CAN_MEASURE_CARRIER) + XLAT(LIRC_CAN_USE_WIDEBAND_RECEIVER), + #define XLAT_VAL_10 ((unsigned) (LIRC_CAN_USE_WIDEBAND_RECEIVER)) + #define XLAT_STR_10 STRINGIFY(LIRC_CAN_USE_WIDEBAND_RECEIVER) + XLAT(LIRC_CAN_SET_REC_TIMEOUT), + #define XLAT_VAL_11 ((unsigned) (LIRC_CAN_SET_REC_TIMEOUT)) + #define XLAT_STR_11 STRINGIFY(LIRC_CAN_SET_REC_TIMEOUT) + XLAT(LIRC_CAN_GET_REC_RESOLUTION), + #define XLAT_VAL_12 ((unsigned) (LIRC_CAN_GET_REC_RESOLUTION)) + #define XLAT_STR_12 STRINGIFY(LIRC_CAN_GET_REC_RESOLUTION) + XLAT(LIRC_CAN_SET_REC_CARRIER_RANGE), + #define XLAT_VAL_13 ((unsigned) (LIRC_CAN_SET_REC_CARRIER_RANGE)) + #define XLAT_STR_13 STRINGIFY(LIRC_CAN_SET_REC_CARRIER_RANGE) +}; +static +const struct xlat lirc_features1 = { { + .data = lirc_features_xdata, + .size = ARRAY_SIZE(lirc_features_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/lirc_features.in
Added
@@ -0,0 +1,15 @@ +#unconditional +LIRC_CAN_SEND_PULSE +LIRC_CAN_SEND_LIRCCODE +LIRC_CAN_SET_SEND_CARRIER +LIRC_CAN_SET_SEND_DUTY_CYCLE +LIRC_CAN_SET_TRANSMITTER_MASK +LIRC_CAN_REC_MODE2 +LIRC_CAN_REC_SCANCODE +LIRC_CAN_REC_LIRCCODE +LIRC_CAN_SET_REC_CARRIER +LIRC_CAN_MEASURE_CARRIER +LIRC_CAN_USE_WIDEBAND_RECEIVER +LIRC_CAN_SET_REC_TIMEOUT +LIRC_CAN_GET_REC_RESOLUTION +LIRC_CAN_SET_REC_CARRIER_RANGE
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/lirc_modes.h
Added
@@ -0,0 +1,88 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/lirc_modes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat lirc_modes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data lirc_modes_xdata = { + XLAT(LIRC_MODE_RAW), + #define XLAT_VAL_0 ((unsigned) (LIRC_MODE_RAW)) + #define XLAT_STR_0 STRINGIFY(LIRC_MODE_RAW) + XLAT(LIRC_MODE_PULSE), + #define XLAT_VAL_1 ((unsigned) (LIRC_MODE_PULSE)) + #define XLAT_STR_1 STRINGIFY(LIRC_MODE_PULSE) + XLAT(LIRC_MODE_MODE2), + #define XLAT_VAL_2 ((unsigned) (LIRC_MODE_MODE2)) + #define XLAT_STR_2 STRINGIFY(LIRC_MODE_MODE2) + XLAT(LIRC_MODE_SCANCODE), + #define XLAT_VAL_3 ((unsigned) (LIRC_MODE_SCANCODE)) + #define XLAT_STR_3 STRINGIFY(LIRC_MODE_SCANCODE) + XLAT(LIRC_MODE_LIRCCODE), + #define XLAT_VAL_4 ((unsigned) (LIRC_MODE_LIRCCODE)) + #define XLAT_STR_4 STRINGIFY(LIRC_MODE_LIRCCODE) +}; +static +const struct xlat lirc_modes1 = { { + .data = lirc_modes_xdata, + .size = ARRAY_SIZE(lirc_modes_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/lirc_modes.in
Added
@@ -0,0 +1,6 @@ +#unconditional +LIRC_MODE_RAW +LIRC_MODE_PULSE +LIRC_MODE_MODE2 +LIRC_MODE_SCANCODE +LIRC_MODE_LIRCCODE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/lockfcmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/lockfcmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/loop_crypt_type_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/loop_crypt_type_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/loop_flags_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/loop_flags_options.h
Changed
@@ -38,6 +38,7 @@ #else # define LO_FLAGS_DIRECT_IO 16 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/lwtunnel_encap_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/lwtunnel_encap_types.h
Changed
@@ -66,6 +66,7 @@ #else # define LWTUNNEL_ENCAP_RPL 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/madvise_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/madvise_cmds.h
Changed
@@ -240,6 +240,30 @@ #else # define MADV_POPULATE_WRITE 23 #endif +#if defined(MADV_DONTNEED_LOCKED) || (defined(HAVE_DECL_MADV_DONTNEED_LOCKED) && HAVE_DECL_MADV_DONTNEED_LOCKED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MADV_DONTNEED_LOCKED) == (24), "MADV_DONTNEED_LOCKED != 24"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MADV_DONTNEED_LOCKED 24 +#endif +#if defined __hppa__ +#if defined(MADV_COLLAPSE) || (defined(HAVE_DECL_MADV_COLLAPSE) && HAVE_DECL_MADV_COLLAPSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MADV_COLLAPSE) == (73), "MADV_COLLAPSE != 73"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MADV_COLLAPSE 73 +#endif +#else +#if defined(MADV_COLLAPSE) || (defined(HAVE_DECL_MADV_COLLAPSE) && HAVE_DECL_MADV_COLLAPSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MADV_COLLAPSE) == (25), "MADV_COLLAPSE != 25"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MADV_COLLAPSE 25 +#endif +#endif #if defined(MADV_HWPOISON) || (defined(HAVE_DECL_MADV_HWPOISON) && HAVE_DECL_MADV_HWPOISON) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MADV_HWPOISON) == (100), "MADV_HWPOISON != 100"); @@ -254,6 +278,7 @@ #else # define MADV_SOFT_OFFLINE 101 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -405,13 +430,27 @@ #define XLAT_VAL_29 ((unsigned) (MADV_POPULATE_WRITE)) #define XLAT_STR_29 STRINGIFY(MADV_POPULATE_WRITE) + XLAT(MADV_DONTNEED_LOCKED), + #define XLAT_VAL_30 ((unsigned) (MADV_DONTNEED_LOCKED)) + #define XLAT_STR_30 STRINGIFY(MADV_DONTNEED_LOCKED) + +#if defined __hppa__ + XLAT(MADV_COLLAPSE), + #define XLAT_VAL_31 ((unsigned) (MADV_COLLAPSE)) + #define XLAT_STR_31 STRINGIFY(MADV_COLLAPSE) +#else + XLAT(MADV_COLLAPSE), + #define XLAT_VAL_32 ((unsigned) (MADV_COLLAPSE)) + #define XLAT_STR_32 STRINGIFY(MADV_COLLAPSE) +#endif + XLAT(MADV_HWPOISON), - #define XLAT_VAL_30 ((unsigned) (MADV_HWPOISON)) - #define XLAT_STR_30 STRINGIFY(MADV_HWPOISON) + #define XLAT_VAL_33 ((unsigned) (MADV_HWPOISON)) + #define XLAT_STR_33 STRINGIFY(MADV_HWPOISON) XLAT(MADV_SOFT_OFFLINE), - #define XLAT_VAL_31 ((unsigned) (MADV_SOFT_OFFLINE)) - #define XLAT_STR_31 STRINGIFY(MADV_SOFT_OFFLINE) + #define XLAT_VAL_34 ((unsigned) (MADV_SOFT_OFFLINE)) + #define XLAT_STR_34 STRINGIFY(MADV_SOFT_OFFLINE) }; static const struct xlat madvise_cmds1 = { { @@ -515,6 +554,15 @@ # ifdef XLAT_VAL_31 | XLAT_VAL_31 # endif +# ifdef XLAT_VAL_32 + | XLAT_VAL_32 +# endif +# ifdef XLAT_VAL_33 + | XLAT_VAL_33 +# endif +# ifdef XLAT_VAL_34 + | XLAT_VAL_34 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -613,6 +661,15 @@ # ifdef XLAT_STR_31 + sizeof(XLAT_STR_31) # endif +# ifdef XLAT_STR_32 + + sizeof(XLAT_STR_32) +# endif +# ifdef XLAT_STR_33 + + sizeof(XLAT_STR_33) +# endif +# ifdef XLAT_STR_34 + + sizeof(XLAT_STR_34) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -681,6 +738,12 @@ # undef XLAT_VAL_30 # undef XLAT_STR_31 # undef XLAT_VAL_31 +# undef XLAT_STR_32 +# undef XLAT_VAL_32 +# undef XLAT_STR_33 +# undef XLAT_VAL_33 +# undef XLAT_STR_34 +# undef XLAT_VAL_34 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/madvise_cmds.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/madvise_cmds.in
Changed
@@ -78,6 +78,14 @@ MADV_POPULATE_WRITE 23 +MADV_DONTNEED_LOCKED 24 + +#if defined __hppa__ +MADV_COLLAPSE 73 +#else +MADV_COLLAPSE 25 +#endif + MADV_HWPOISON 100 MADV_SOFT_OFFLINE 101
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mbind_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mbind_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define MPOL_MF_MOVE_ALL 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mctl_sync.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mctl_sync.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mctp_addrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/mctp_addrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCTP_ADDR_NULL) == (0x00), "MCTP_ADDR_NULL != 0x00"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCTP_ADDR_ANY) == (0xff), "MCTP_ADDR_ANY != 0xff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat mctp_addrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data mctp_addrs_xdata = { + XLAT(MCTP_ADDR_NULL), + #define XLAT_VAL_0 ((unsigned) (MCTP_ADDR_NULL)) + #define XLAT_STR_0 STRINGIFY(MCTP_ADDR_NULL) + XLAT(MCTP_ADDR_ANY), + #define XLAT_VAL_1 ((unsigned) (MCTP_ADDR_ANY)) + #define XLAT_STR_1 STRINGIFY(MCTP_ADDR_ANY) +}; +static +const struct xlat mctp_addrs1 = { { + .data = mctp_addrs_xdata, + .size = ARRAY_SIZE(mctp_addrs_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mctp_addrs.in
Added
@@ -0,0 +1,3 @@ +#unconditional +MCTP_ADDR_NULL 0x00 +MCTP_ADDR_ANY 0xff
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mctp_nets.h
Added
@@ -0,0 +1,47 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/mctp_nets.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCTP_NET_ANY) == (0x0), "MCTP_NET_ANY != 0x0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat mctp_nets in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data mctp_nets_xdata = { + XLAT(MCTP_NET_ANY), + #define XLAT_VAL_0 ((unsigned) (MCTP_NET_ANY)) + #define XLAT_STR_0 STRINGIFY(MCTP_NET_ANY) +}; +static +const struct xlat mctp_nets1 = { { + .data = mctp_nets_xdata, + .size = ARRAY_SIZE(mctp_nets_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mctp_nets.in
Added
@@ -0,0 +1,2 @@ +#unconditional +MCTP_NET_ANY 0x0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mdb_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mdb_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mdb_states.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mdb_states.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/membarrier_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/membarrier_cmds.h
Changed
@@ -73,6 +73,7 @@ #else # define MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ (1 << 8) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/membarrier_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/membarrier_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define MEMBARRIER_CMD_FLAG_CPU (1 << 0) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/memfd_create_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/memfd_create_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/memfd_secret_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/memfd_secret_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mlock_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mlock_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define MLOCK_ONFAULT 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mlockall_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mlockall_flags.h
Changed
@@ -48,6 +48,7 @@ # define MCL_ONFAULT 4 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mmap_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mmap_flags.h
Changed
@@ -467,6 +467,7 @@ #endif #else #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mmap_prot.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mmap_prot.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/modem_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/modem_flags.h
Changed
@@ -3,6 +3,136 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined(TIOCM_LE) || (defined(HAVE_DECL_TIOCM_LE) && HAVE_DECL_TIOCM_LE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_LE) == (0x001), "TIOCM_LE != 0x001"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_LE 0x001 +#endif +#if defined(TIOCM_DTR) || (defined(HAVE_DECL_TIOCM_DTR) && HAVE_DECL_TIOCM_DTR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_DTR) == (0x002), "TIOCM_DTR != 0x002"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_DTR 0x002 +#endif +#if defined(TIOCM_RTS) || (defined(HAVE_DECL_TIOCM_RTS) && HAVE_DECL_TIOCM_RTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_RTS) == (0x004), "TIOCM_RTS != 0x004"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_RTS 0x004 +#endif +#ifdef __mips__ +#if defined(TIOCM_ST) || (defined(HAVE_DECL_TIOCM_ST) && HAVE_DECL_TIOCM_ST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_ST) == (0x010), "TIOCM_ST != 0x010"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_ST 0x010 +#endif +#if defined(TIOCM_SR) || (defined(HAVE_DECL_TIOCM_SR) && HAVE_DECL_TIOCM_SR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_SR) == (0x020), "TIOCM_SR != 0x020"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_SR 0x020 +#endif +#if defined(TIOCM_CTS) || (defined(HAVE_DECL_TIOCM_CTS) && HAVE_DECL_TIOCM_CTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_CTS) == (0x040), "TIOCM_CTS != 0x040"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_CTS 0x040 +#endif +#if defined(TIOCM_CAR) || (defined(HAVE_DECL_TIOCM_CAR) && HAVE_DECL_TIOCM_CAR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_CAR) == (0x100), "TIOCM_CAR != 0x100"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_CAR 0x100 +#endif +#if defined(TIOCM_RNG) || (defined(HAVE_DECL_TIOCM_RNG) && HAVE_DECL_TIOCM_RNG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_RNG) == (0x200), "TIOCM_RNG != 0x200"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_RNG 0x200 +#endif +#if defined(TIOCM_DSR) || (defined(HAVE_DECL_TIOCM_DSR) && HAVE_DECL_TIOCM_DSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_DSR) == (0x400), "TIOCM_DSR != 0x400"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_DSR 0x400 +#endif +#else +#if defined(TIOCM_ST) || (defined(HAVE_DECL_TIOCM_ST) && HAVE_DECL_TIOCM_ST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_ST) == (0x008), "TIOCM_ST != 0x008"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_ST 0x008 +#endif +#if defined(TIOCM_SR) || (defined(HAVE_DECL_TIOCM_SR) && HAVE_DECL_TIOCM_SR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_SR) == (0x010), "TIOCM_SR != 0x010"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_SR 0x010 +#endif +#if defined(TIOCM_CTS) || (defined(HAVE_DECL_TIOCM_CTS) && HAVE_DECL_TIOCM_CTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_CTS) == (0x020), "TIOCM_CTS != 0x020"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_CTS 0x020 +#endif +#if defined(TIOCM_CAR) || (defined(HAVE_DECL_TIOCM_CAR) && HAVE_DECL_TIOCM_CAR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_CAR) == (0x040), "TIOCM_CAR != 0x040"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_CAR 0x040 +#endif +#if defined(TIOCM_RNG) || (defined(HAVE_DECL_TIOCM_RNG) && HAVE_DECL_TIOCM_RNG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_RNG) == (0x080), "TIOCM_RNG != 0x080"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_RNG 0x080 +#endif +#if defined(TIOCM_DSR) || (defined(HAVE_DECL_TIOCM_DSR) && HAVE_DECL_TIOCM_DSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_DSR) == (0x100), "TIOCM_DSR != 0x100"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_DSR 0x100 +#endif +#endif +#if defined(TIOCM_OUT1) || (defined(HAVE_DECL_TIOCM_OUT1) && HAVE_DECL_TIOCM_OUT1) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_OUT1) == (0x2000), "TIOCM_OUT1 != 0x2000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_OUT1 0x2000 +#endif +#if defined(TIOCM_OUT2) || (defined(HAVE_DECL_TIOCM_OUT2) && HAVE_DECL_TIOCM_OUT2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_OUT2) == (0x4000), "TIOCM_OUT2 != 0x4000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_OUT2 0x4000 +#endif +#if defined(TIOCM_LOOP) || (defined(HAVE_DECL_TIOCM_LOOP) && HAVE_DECL_TIOCM_LOOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TIOCM_LOOP) == (0x8000), "TIOCM_LOOP != 0x8000"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TIOCM_LOOP 0x8000 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,61 +144,65 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data modem_flags_xdata = { -#if defined(TIOCM_LE) || (defined(HAVE_DECL_TIOCM_LE) && HAVE_DECL_TIOCM_LE) - XLAT(TIOCM_LE), + XLAT(TIOCM_LE), #define XLAT_VAL_0 ((unsigned) (TIOCM_LE)) #define XLAT_STR_0 STRINGIFY(TIOCM_LE) -#endif -#if defined(TIOCM_DTR) || (defined(HAVE_DECL_TIOCM_DTR) && HAVE_DECL_TIOCM_DTR) - XLAT(TIOCM_DTR), + XLAT(TIOCM_DTR), #define XLAT_VAL_1 ((unsigned) (TIOCM_DTR)) #define XLAT_STR_1 STRINGIFY(TIOCM_DTR) -#endif -#if defined(TIOCM_RTS) || (defined(HAVE_DECL_TIOCM_RTS) && HAVE_DECL_TIOCM_RTS) - XLAT(TIOCM_RTS), + XLAT(TIOCM_RTS), #define XLAT_VAL_2 ((unsigned) (TIOCM_RTS)) #define XLAT_STR_2 STRINGIFY(TIOCM_RTS) -#endif -#if defined(TIOCM_ST) || (defined(HAVE_DECL_TIOCM_ST) && HAVE_DECL_TIOCM_ST) - XLAT(TIOCM_ST), + +#ifdef __mips__ + XLAT(TIOCM_ST), #define XLAT_VAL_3 ((unsigned) (TIOCM_ST)) #define XLAT_STR_3 STRINGIFY(TIOCM_ST) -#endif -#if defined(TIOCM_SR) || (defined(HAVE_DECL_TIOCM_SR) && HAVE_DECL_TIOCM_SR) - XLAT(TIOCM_SR), + XLAT(TIOCM_SR), #define XLAT_VAL_4 ((unsigned) (TIOCM_SR)) #define XLAT_STR_4 STRINGIFY(TIOCM_SR) -#endif -#if defined(TIOCM_CTS) || (defined(HAVE_DECL_TIOCM_CTS) && HAVE_DECL_TIOCM_CTS) - XLAT(TIOCM_CTS), + XLAT(TIOCM_CTS), #define XLAT_VAL_5 ((unsigned) (TIOCM_CTS)) #define XLAT_STR_5 STRINGIFY(TIOCM_CTS) -#endif -#if defined(TIOCM_CAR) || (defined(HAVE_DECL_TIOCM_CAR) && HAVE_DECL_TIOCM_CAR) - XLAT(TIOCM_CAR), + XLAT(TIOCM_CAR), #define XLAT_VAL_6 ((unsigned) (TIOCM_CAR)) #define XLAT_STR_6 STRINGIFY(TIOCM_CAR) + XLAT(TIOCM_RNG), + #define XLAT_VAL_7 ((unsigned) (TIOCM_RNG)) + #define XLAT_STR_7 STRINGIFY(TIOCM_RNG) + XLAT(TIOCM_DSR), + #define XLAT_VAL_8 ((unsigned) (TIOCM_DSR)) + #define XLAT_STR_8 STRINGIFY(TIOCM_DSR) +#else + XLAT(TIOCM_ST), + #define XLAT_VAL_9 ((unsigned) (TIOCM_ST)) + #define XLAT_STR_9 STRINGIFY(TIOCM_ST) + XLAT(TIOCM_SR), + #define XLAT_VAL_10 ((unsigned) (TIOCM_SR)) + #define XLAT_STR_10 STRINGIFY(TIOCM_SR) + XLAT(TIOCM_CTS), + #define XLAT_VAL_11 ((unsigned) (TIOCM_CTS)) + #define XLAT_STR_11 STRINGIFY(TIOCM_CTS) + XLAT(TIOCM_CAR), + #define XLAT_VAL_12 ((unsigned) (TIOCM_CAR)) + #define XLAT_STR_12 STRINGIFY(TIOCM_CAR) + XLAT(TIOCM_RNG), + #define XLAT_VAL_13 ((unsigned) (TIOCM_RNG)) + #define XLAT_STR_13 STRINGIFY(TIOCM_RNG) + XLAT(TIOCM_DSR), + #define XLAT_VAL_14 ((unsigned) (TIOCM_DSR)) + #define XLAT_STR_14 STRINGIFY(TIOCM_DSR) #endif -#if defined(TIOCM_CD) || (defined(HAVE_DECL_TIOCM_CD) && HAVE_DECL_TIOCM_CD) - XLAT(TIOCM_CD), - #define XLAT_VAL_7 ((unsigned) (TIOCM_CD)) - #define XLAT_STR_7 STRINGIFY(TIOCM_CD) -#endif -#if defined(TIOCM_RNG) || (defined(HAVE_DECL_TIOCM_RNG) && HAVE_DECL_TIOCM_RNG) - XLAT(TIOCM_RNG), - #define XLAT_VAL_8 ((unsigned) (TIOCM_RNG)) - #define XLAT_STR_8 STRINGIFY(TIOCM_RNG) -#endif -#if defined(TIOCM_RI) || (defined(HAVE_DECL_TIOCM_RI) && HAVE_DECL_TIOCM_RI) - XLAT(TIOCM_RI), - #define XLAT_VAL_9 ((unsigned) (TIOCM_RI)) - #define XLAT_STR_9 STRINGIFY(TIOCM_RI) -#endif -#if defined(TIOCM_DSR) || (defined(HAVE_DECL_TIOCM_DSR) && HAVE_DECL_TIOCM_DSR) - XLAT(TIOCM_DSR), - #define XLAT_VAL_10 ((unsigned) (TIOCM_DSR)) - #define XLAT_STR_10 STRINGIFY(TIOCM_DSR) -#endif + + XLAT(TIOCM_OUT1), + #define XLAT_VAL_15 ((unsigned) (TIOCM_OUT1)) + #define XLAT_STR_15 STRINGIFY(TIOCM_OUT1) + XLAT(TIOCM_OUT2), + #define XLAT_VAL_16 ((unsigned) (TIOCM_OUT2)) + #define XLAT_STR_16 STRINGIFY(TIOCM_OUT2) + XLAT(TIOCM_LOOP), + #define XLAT_VAL_17 ((unsigned) (TIOCM_LOOP)) + #define XLAT_STR_17 STRINGIFY(TIOCM_LOOP) }; static const struct xlat modem_flags1 = { { @@ -109,6 +243,27 @@ # ifdef XLAT_VAL_10 | XLAT_VAL_10 # endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -144,6 +299,27 @@ # ifdef XLAT_STR_10 + sizeof(XLAT_STR_10) # endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -170,6 +346,20 @@ # undef XLAT_VAL_9 # undef XLAT_STR_10 # undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/modem_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/modem_flags.in
Changed
@@ -1,11 +1,23 @@ -TIOCM_LE -TIOCM_DTR -TIOCM_RTS -TIOCM_ST -TIOCM_SR -TIOCM_CTS -TIOCM_CAR -TIOCM_CD -TIOCM_RNG -TIOCM_RI -TIOCM_DSR +TIOCM_LE 0x001 +TIOCM_DTR 0x002 +TIOCM_RTS 0x004 + +#ifdef __mips__ +TIOCM_ST 0x010 +TIOCM_SR 0x020 +TIOCM_CTS 0x040 +TIOCM_CAR 0x100 +TIOCM_RNG 0x200 +TIOCM_DSR 0x400 +#else +TIOCM_ST 0x008 +TIOCM_SR 0x010 +TIOCM_CTS 0x020 +TIOCM_CAR 0x040 +TIOCM_RNG 0x080 +TIOCM_DSR 0x100 +#endif + +TIOCM_OUT1 0x2000 +TIOCM_OUT2 0x4000 +TIOCM_LOOP 0x8000
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/modetypes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/modetypes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/module_init_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/module_init_flags.h
Changed
@@ -17,6 +17,14 @@ #else # define MODULE_INIT_IGNORE_VERMAGIC (1 << 1) #endif +#if defined(MODULE_INIT_COMPRESSED_FILE) || (defined(HAVE_DECL_MODULE_INIT_COMPRESSED_FILE) && HAVE_DECL_MODULE_INIT_COMPRESSED_FILE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MODULE_INIT_COMPRESSED_FILE) == ((1 << 2)), "MODULE_INIT_COMPRESSED_FILE != (1 << 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MODULE_INIT_COMPRESSED_FILE (1 << 2) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -34,6 +42,9 @@ XLAT(MODULE_INIT_IGNORE_VERMAGIC), #define XLAT_VAL_1 ((unsigned) (MODULE_INIT_IGNORE_VERMAGIC)) #define XLAT_STR_1 STRINGIFY(MODULE_INIT_IGNORE_VERMAGIC) + XLAT(MODULE_INIT_COMPRESSED_FILE), + #define XLAT_VAL_2 ((unsigned) (MODULE_INIT_COMPRESSED_FILE)) + #define XLAT_STR_2 STRINGIFY(MODULE_INIT_COMPRESSED_FILE) }; static const struct xlat module_init_flags1 = { { @@ -47,6 +58,9 @@ # ifdef XLAT_VAL_1 | XLAT_VAL_1 # endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -55,6 +69,9 @@ # ifdef XLAT_STR_1 + sizeof(XLAT_STR_1) # endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -63,6 +80,8 @@ # undef XLAT_VAL_0 # undef XLAT_STR_1 # undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/module_init_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/module_init_flags.in
Changed
@@ -1,2 +1,3 @@ MODULE_INIT_IGNORE_MODVERSIONS (1 << 0) MODULE_INIT_IGNORE_VERMAGIC (1 << 1) +MODULE_INIT_COMPRESSED_FILE (1 << 2)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mount_attr_attr.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mount_attr_attr.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mount_attr_propagation.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mount_attr_propagation.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mount_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mount_flags.h
Changed
@@ -220,6 +220,7 @@ #else # define MS_NOUSER (1U<<31) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mount_setattr_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mount_setattr_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/move_mount_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/move_mount_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -32,6 +33,9 @@ XLAT(MOVE_MOUNT_T_EMPTY_PATH), #define XLAT_VAL_5 ((unsigned) (MOVE_MOUNT_T_EMPTY_PATH)) #define XLAT_STR_5 STRINGIFY(MOVE_MOUNT_T_EMPTY_PATH) + XLAT(MOVE_MOUNT_SET_GROUP), + #define XLAT_VAL_6 ((unsigned) (MOVE_MOUNT_SET_GROUP)) + #define XLAT_STR_6 STRINGIFY(MOVE_MOUNT_SET_GROUP) }; static const struct xlat move_mount_flags1 = { { @@ -57,6 +61,9 @@ # ifdef XLAT_VAL_5 | XLAT_VAL_5 # endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -77,6 +84,9 @@ # ifdef XLAT_STR_5 + sizeof(XLAT_STR_5) # endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -93,6 +103,8 @@ # undef XLAT_VAL_4 # undef XLAT_STR_5 # undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/move_mount_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/move_mount_flags.in
Changed
@@ -5,3 +5,4 @@ MOVE_MOUNT_T_SYMLINKS MOVE_MOUNT_T_AUTOMOUNTS MOVE_MOUNT_T_EMPTY_PATH +MOVE_MOUNT_SET_GROUP
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/move_pages_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/move_pages_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mpol_mode_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mpol_mode_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define MPOL_F_NUMA_BALANCING (1U << 13) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mpol_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mpol_modes.h
Changed
@@ -38,6 +38,14 @@ #else # define MPOL_LOCAL 4 #endif +#if defined(MPOL_PREFERRED_MANY) || (defined(HAVE_DECL_MPOL_PREFERRED_MANY) && HAVE_DECL_MPOL_PREFERRED_MANY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPOL_PREFERRED_MANY) == (5), "MPOL_PREFERRED_MANY != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MPOL_PREFERRED_MANY 5 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -64,6 +72,9 @@ MPOL_LOCAL = XLAT(MPOL_LOCAL), #define XLAT_VAL_4 ((unsigned) (MPOL_LOCAL)) #define XLAT_STR_4 STRINGIFY(MPOL_LOCAL) + MPOL_PREFERRED_MANY = XLAT(MPOL_PREFERRED_MANY), + #define XLAT_VAL_5 ((unsigned) (MPOL_PREFERRED_MANY)) + #define XLAT_STR_5 STRINGIFY(MPOL_PREFERRED_MANY) }; static const struct xlat mpol_modes1 = { { @@ -86,6 +97,9 @@ # ifdef XLAT_VAL_4 | XLAT_VAL_4 # endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -103,6 +117,9 @@ # ifdef XLAT_STR_4 + sizeof(XLAT_STR_4) # endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -117,6 +134,8 @@ # undef XLAT_VAL_3 # undef XLAT_STR_4 # undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mpol_modes.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mpol_modes.in
Changed
@@ -1,6 +1,7 @@ #value_indexed -MPOL_DEFAULT 0 -MPOL_PREFERRED 1 -MPOL_BIND 2 -MPOL_INTERLEAVE 3 -MPOL_LOCAL 4 +MPOL_DEFAULT 0 +MPOL_PREFERRED 1 +MPOL_BIND 2 +MPOL_INTERLEAVE 3 +MPOL_LOCAL 4 +MPOL_PREFERRED_MANY 5
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mptcp_subflow_flags.h
Added
@@ -0,0 +1,159 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/mptcp_subflow_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_MCAP_REM) == ((1 << 0)), "MPTCP_SUBFLOW_FLAG_MCAP_REM != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_MCAP_LOC) == ((1 << 1)), "MPTCP_SUBFLOW_FLAG_MCAP_LOC != (1 << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_JOIN_REM) == ((1 << 2)), "MPTCP_SUBFLOW_FLAG_JOIN_REM != (1 << 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_JOIN_LOC) == ((1 << 3)), "MPTCP_SUBFLOW_FLAG_JOIN_LOC != (1 << 3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_BKUP_REM) == ((1 << 4)), "MPTCP_SUBFLOW_FLAG_BKUP_REM != (1 << 4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_BKUP_LOC) == ((1 << 5)), "MPTCP_SUBFLOW_FLAG_BKUP_LOC != (1 << 5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED) == ((1 << 6)), "MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED != (1 << 6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_CONNECTED) == ((1 << 7)), "MPTCP_SUBFLOW_FLAG_CONNECTED != (1 << 7)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MPTCP_SUBFLOW_FLAG_MAPVALID) == ((1 << 8)), "MPTCP_SUBFLOW_FLAG_MAPVALID != (1 << 8)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat mptcp_subflow_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data mptcp_subflow_flags_xdata = { + XLAT(MPTCP_SUBFLOW_FLAG_MCAP_REM), + #define XLAT_VAL_0 ((unsigned) (MPTCP_SUBFLOW_FLAG_MCAP_REM)) + #define XLAT_STR_0 STRINGIFY(MPTCP_SUBFLOW_FLAG_MCAP_REM) + XLAT(MPTCP_SUBFLOW_FLAG_MCAP_LOC), + #define XLAT_VAL_1 ((unsigned) (MPTCP_SUBFLOW_FLAG_MCAP_LOC)) + #define XLAT_STR_1 STRINGIFY(MPTCP_SUBFLOW_FLAG_MCAP_LOC) + XLAT(MPTCP_SUBFLOW_FLAG_JOIN_REM), + #define XLAT_VAL_2 ((unsigned) (MPTCP_SUBFLOW_FLAG_JOIN_REM)) + #define XLAT_STR_2 STRINGIFY(MPTCP_SUBFLOW_FLAG_JOIN_REM) + XLAT(MPTCP_SUBFLOW_FLAG_JOIN_LOC), + #define XLAT_VAL_3 ((unsigned) (MPTCP_SUBFLOW_FLAG_JOIN_LOC)) + #define XLAT_STR_3 STRINGIFY(MPTCP_SUBFLOW_FLAG_JOIN_LOC) + XLAT(MPTCP_SUBFLOW_FLAG_BKUP_REM), + #define XLAT_VAL_4 ((unsigned) (MPTCP_SUBFLOW_FLAG_BKUP_REM)) + #define XLAT_STR_4 STRINGIFY(MPTCP_SUBFLOW_FLAG_BKUP_REM) + XLAT(MPTCP_SUBFLOW_FLAG_BKUP_LOC), + #define XLAT_VAL_5 ((unsigned) (MPTCP_SUBFLOW_FLAG_BKUP_LOC)) + #define XLAT_STR_5 STRINGIFY(MPTCP_SUBFLOW_FLAG_BKUP_LOC) + XLAT(MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED), + #define XLAT_VAL_6 ((unsigned) (MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED)) + #define XLAT_STR_6 STRINGIFY(MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED) + XLAT(MPTCP_SUBFLOW_FLAG_CONNECTED), + #define XLAT_VAL_7 ((unsigned) (MPTCP_SUBFLOW_FLAG_CONNECTED)) + #define XLAT_STR_7 STRINGIFY(MPTCP_SUBFLOW_FLAG_CONNECTED) + XLAT(MPTCP_SUBFLOW_FLAG_MAPVALID), + #define XLAT_VAL_8 ((unsigned) (MPTCP_SUBFLOW_FLAG_MAPVALID)) + #define XLAT_STR_8 STRINGIFY(MPTCP_SUBFLOW_FLAG_MAPVALID) +}; +static +const struct xlat mptcp_subflow_flags1 = { { + .data = mptcp_subflow_flags_xdata, + .size = ARRAY_SIZE(mptcp_subflow_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/mptcp_subflow_flags.in
Added
@@ -0,0 +1,10 @@ +#unconditional +MPTCP_SUBFLOW_FLAG_MCAP_REM (1 << 0) +MPTCP_SUBFLOW_FLAG_MCAP_LOC (1 << 1) +MPTCP_SUBFLOW_FLAG_JOIN_REM (1 << 2) +MPTCP_SUBFLOW_FLAG_JOIN_LOC (1 << 3) +MPTCP_SUBFLOW_FLAG_BKUP_REM (1 << 4) +MPTCP_SUBFLOW_FLAG_BKUP_LOC (1 << 5) +MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED (1 << 6) +MPTCP_SUBFLOW_FLAG_CONNECTED (1 << 7) +MPTCP_SUBFLOW_FLAG_MAPVALID (1 << 8)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mq_attr_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mq_attr_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mremap_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mremap_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define MREMAP_DONTUNMAP 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/msg_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/msg_flags.h
Changed
@@ -175,6 +175,7 @@ #else # define MSG_CMSG_COMPAT 0x80000000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/msgctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/msgctl_flags.h
Changed
@@ -10,6 +10,16 @@ #else # define IPC_RMID 0 #endif +#if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_RMID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_RMID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_RMID) +#endif #if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_SET) == (1), "IPC_SET != 1"); @@ -17,6 +27,16 @@ #else # define IPC_SET 1 #endif +#if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_SET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_SET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_SET) +#endif #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); @@ -24,6 +44,16 @@ #else # define IPC_STAT 2 #endif +#if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_STAT) +#endif #if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_INFO) == (3), "IPC_INFO != 3"); @@ -31,6 +61,16 @@ #else # define IPC_INFO 3 #endif +#if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_INFO) +#endif #if defined(MSG_STAT) || (defined(HAVE_DECL_MSG_STAT) && HAVE_DECL_MSG_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MSG_STAT) == (11), "MSG_STAT != 11"); @@ -38,6 +78,16 @@ #else # define MSG_STAT 11 #endif +#if defined(MSG_STAT) || (defined(HAVE_DECL_MSG_STAT) && HAVE_DECL_MSG_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MSG_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MSG_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MSG_STAT) +#endif #if defined(MSG_INFO) || (defined(HAVE_DECL_MSG_INFO) && HAVE_DECL_MSG_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MSG_INFO) == (12), "MSG_INFO != 12"); @@ -45,6 +95,16 @@ #else # define MSG_INFO 12 #endif +#if defined(MSG_INFO) || (defined(HAVE_DECL_MSG_INFO) && HAVE_DECL_MSG_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MSG_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MSG_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MSG_INFO) +#endif #if defined(MSG_STAT_ANY) || (defined(HAVE_DECL_MSG_STAT_ANY) && HAVE_DECL_MSG_STAT_ANY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((MSG_STAT_ANY) == (13), "MSG_STAT_ANY != 13"); @@ -52,6 +112,17 @@ #else # define MSG_STAT_ANY 13 #endif +#if defined(MSG_STAT_ANY) || (defined(HAVE_DECL_MSG_STAT_ANY) && HAVE_DECL_MSG_STAT_ANY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (MSG_STAT_ANY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: MSG_STAT_ANY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (MSG_STAT_ANY) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_file_mode_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_file_mode_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_flags_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_flags_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_mode_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_mode_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_nandecc_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_nandecc_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_otp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_otp_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/mtd_type_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/mtd_type_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/multicast_router_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/multicast_router_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/name_to_handle_at_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/name_to_handle_at_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nbd_ioctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nbd_ioctl_cmds.h
Changed
@@ -80,6 +80,7 @@ #else # define NBD_SET_FLAGS _IO( 0xab, 10) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nbd_ioctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nbd_ioctl_flags.h
Changed
@@ -80,6 +80,7 @@ #else # define NBD_FLAG_SEND_CACHE (1 << 10) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/neighbor_cache_entry_ext_flags.h
Added
@@ -0,0 +1,51 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/neighbor_cache_entry_ext_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(NTF_EXT_MANAGED) || (defined(HAVE_DECL_NTF_EXT_MANAGED) && HAVE_DECL_NTF_EXT_MANAGED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NTF_EXT_MANAGED) == ((1 << 0)), "NTF_EXT_MANAGED != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NTF_EXT_MANAGED (1 << 0) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat neighbor_cache_entry_ext_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data neighbor_cache_entry_ext_flags_xdata = { + XLAT(NTF_EXT_MANAGED), + #define XLAT_VAL_0 ((unsigned) (NTF_EXT_MANAGED)) + #define XLAT_STR_0 STRINGIFY(NTF_EXT_MANAGED) +}; +static +const struct xlat neighbor_cache_entry_ext_flags1 = { { + .data = neighbor_cache_entry_ext_flags_xdata, + .size = ARRAY_SIZE(neighbor_cache_entry_ext_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/neighbor_cache_entry_ext_flags.in
Added
@@ -0,0 +1,1 @@ +NTF_EXT_MANAGED (1 << 0)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/neighbor_cache_entry_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/neighbor_cache_entry_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/neighbor_cache_entry_states.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/neighbor_cache_entry_states.h
Changed
@@ -3,6 +3,34 @@ #include "gcc_compat.h" #include "static_assert.h" +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_NONE) == (0x00), "NUD_NONE != 0x00"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_INCOMPLETE) == (0x01), "NUD_INCOMPLETE != 0x01"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_REACHABLE) == (0x02), "NUD_REACHABLE != 0x02"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_STALE) == (0x04), "NUD_STALE != 0x04"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_DELAY) == (0x08), "NUD_DELAY != 0x08"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_PROBE) == (0x10), "NUD_PROBE != 0x10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_FAILED) == (0x20), "NUD_FAILED != 0x20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_NOARP) == (0x40), "NUD_NOARP != 0x40"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NUD_PERMANENT) == (0x80), "NUD_PERMANENT != 0x80"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,33 +42,33 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data neighbor_cache_entry_states_xdata = { + XLAT(NUD_NONE), + #define XLAT_VAL_0 ((unsigned) (NUD_NONE)) + #define XLAT_STR_0 STRINGIFY(NUD_NONE) XLAT(NUD_INCOMPLETE), - #define XLAT_VAL_0 ((unsigned) (NUD_INCOMPLETE)) - #define XLAT_STR_0 STRINGIFY(NUD_INCOMPLETE) + #define XLAT_VAL_1 ((unsigned) (NUD_INCOMPLETE)) + #define XLAT_STR_1 STRINGIFY(NUD_INCOMPLETE) XLAT(NUD_REACHABLE), - #define XLAT_VAL_1 ((unsigned) (NUD_REACHABLE)) - #define XLAT_STR_1 STRINGIFY(NUD_REACHABLE) + #define XLAT_VAL_2 ((unsigned) (NUD_REACHABLE)) + #define XLAT_STR_2 STRINGIFY(NUD_REACHABLE) XLAT(NUD_STALE), - #define XLAT_VAL_2 ((unsigned) (NUD_STALE)) - #define XLAT_STR_2 STRINGIFY(NUD_STALE) + #define XLAT_VAL_3 ((unsigned) (NUD_STALE)) + #define XLAT_STR_3 STRINGIFY(NUD_STALE) XLAT(NUD_DELAY), - #define XLAT_VAL_3 ((unsigned) (NUD_DELAY)) - #define XLAT_STR_3 STRINGIFY(NUD_DELAY) + #define XLAT_VAL_4 ((unsigned) (NUD_DELAY)) + #define XLAT_STR_4 STRINGIFY(NUD_DELAY) XLAT(NUD_PROBE), - #define XLAT_VAL_4 ((unsigned) (NUD_PROBE)) - #define XLAT_STR_4 STRINGIFY(NUD_PROBE) + #define XLAT_VAL_5 ((unsigned) (NUD_PROBE)) + #define XLAT_STR_5 STRINGIFY(NUD_PROBE) XLAT(NUD_FAILED), - #define XLAT_VAL_5 ((unsigned) (NUD_FAILED)) - #define XLAT_STR_5 STRINGIFY(NUD_FAILED) + #define XLAT_VAL_6 ((unsigned) (NUD_FAILED)) + #define XLAT_STR_6 STRINGIFY(NUD_FAILED) XLAT(NUD_NOARP), - #define XLAT_VAL_6 ((unsigned) (NUD_NOARP)) - #define XLAT_STR_6 STRINGIFY(NUD_NOARP) + #define XLAT_VAL_7 ((unsigned) (NUD_NOARP)) + #define XLAT_STR_7 STRINGIFY(NUD_NOARP) XLAT(NUD_PERMANENT), - #define XLAT_VAL_7 ((unsigned) (NUD_PERMANENT)) - #define XLAT_STR_7 STRINGIFY(NUD_PERMANENT) - XLAT(NUD_NONE), - #define XLAT_VAL_8 ((unsigned) (NUD_NONE)) - #define XLAT_STR_8 STRINGIFY(NUD_NONE) + #define XLAT_VAL_8 ((unsigned) (NUD_PERMANENT)) + #define XLAT_STR_8 STRINGIFY(NUD_PERMANENT) }; static const struct xlat neighbor_cache_entry_states1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/neighbor_cache_entry_states.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/neighbor_cache_entry_states.in
Changed
@@ -1,10 +1,10 @@ #unconditional -NUD_INCOMPLETE -NUD_REACHABLE -NUD_STALE -NUD_DELAY -NUD_PROBE -NUD_FAILED -NUD_NOARP -NUD_PERMANENT -NUD_NONE +NUD_NONE 0x00 +NUD_INCOMPLETE 0x01 +NUD_REACHABLE 0x02 +NUD_STALE 0x04 +NUD_DELAY 0x08 +NUD_PROBE 0x10 +NUD_FAILED 0x20 +NUD_NOARP 0x40 +NUD_PERMANENT 0x80
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netfilter_versions.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netfilter_versions.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_ack_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_ack_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_delete_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_delete_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -17,6 +18,9 @@ XLAT(NLM_F_NONREC), #define XLAT_VAL_0 ((unsigned) (NLM_F_NONREC)) #define XLAT_STR_0 STRINGIFY(NLM_F_NONREC) + XLAT(NLM_F_BULK), + #define XLAT_VAL_1 ((unsigned) (NLM_F_BULK)) + #define XLAT_STR_1 STRINGIFY(NLM_F_BULK) }; static const struct xlat netlink_delete_flags1 = { { @@ -27,17 +31,25 @@ # ifdef XLAT_VAL_0 | XLAT_VAL_0 # endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 + sizeof(XLAT_STR_0) # endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE # undef XLAT_STR_0 # undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_delete_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_delete_flags.in
Changed
@@ -1,2 +1,3 @@ #unconditional NLM_F_NONREC +NLM_F_BULK
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_diag_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_diag_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_diag_show.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_diag_show.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,26 +15,18 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data netlink_diag_show_xdata = { -#if defined(NDIAG_SHOW_MEMINFO) || (defined(HAVE_DECL_NDIAG_SHOW_MEMINFO) && HAVE_DECL_NDIAG_SHOW_MEMINFO) - XLAT(NDIAG_SHOW_MEMINFO), + XLAT(NDIAG_SHOW_MEMINFO), #define XLAT_VAL_0 ((unsigned) (NDIAG_SHOW_MEMINFO)) #define XLAT_STR_0 STRINGIFY(NDIAG_SHOW_MEMINFO) -#endif -#if defined(NDIAG_SHOW_GROUPS) || (defined(HAVE_DECL_NDIAG_SHOW_GROUPS) && HAVE_DECL_NDIAG_SHOW_GROUPS) - XLAT(NDIAG_SHOW_GROUPS), + XLAT(NDIAG_SHOW_GROUPS), #define XLAT_VAL_1 ((unsigned) (NDIAG_SHOW_GROUPS)) #define XLAT_STR_1 STRINGIFY(NDIAG_SHOW_GROUPS) -#endif -#if defined(NDIAG_SHOW_RING_CFG) || (defined(HAVE_DECL_NDIAG_SHOW_RING_CFG) && HAVE_DECL_NDIAG_SHOW_RING_CFG) - XLAT(NDIAG_SHOW_RING_CFG), + XLAT(NDIAG_SHOW_RING_CFG), #define XLAT_VAL_2 ((unsigned) (NDIAG_SHOW_RING_CFG)) #define XLAT_STR_2 STRINGIFY(NDIAG_SHOW_RING_CFG) -#endif -#if defined(NDIAG_SHOW_FLAGS) || (defined(HAVE_DECL_NDIAG_SHOW_FLAGS) && HAVE_DECL_NDIAG_SHOW_FLAGS) - XLAT(NDIAG_SHOW_FLAGS), + XLAT(NDIAG_SHOW_FLAGS), #define XLAT_VAL_3 ((unsigned) (NDIAG_SHOW_FLAGS)) #define XLAT_STR_3 STRINGIFY(NDIAG_SHOW_FLAGS) -#endif }; static const struct xlat netlink_diag_show1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_diag_show.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_diag_show.in
Changed
@@ -1,3 +1,4 @@ +#unconditional NDIAG_SHOW_MEMINFO NDIAG_SHOW_GROUPS NDIAG_SHOW_RING_CFG
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_get_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_get_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_new_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_new_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_protocols.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_sk_meminfo_indices.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_sk_meminfo_indices.h
Changed
@@ -66,6 +66,7 @@ #else # define SK_MEMINFO_DROPS 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_socket_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_socket_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,36 +15,24 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data netlink_socket_flags_xdata = { -#if defined(NDIAG_FLAG_CB_RUNNING) || (defined(HAVE_DECL_NDIAG_FLAG_CB_RUNNING) && HAVE_DECL_NDIAG_FLAG_CB_RUNNING) - XLAT(NDIAG_FLAG_CB_RUNNING), + XLAT(NDIAG_FLAG_CB_RUNNING), #define XLAT_VAL_0 ((unsigned) (NDIAG_FLAG_CB_RUNNING)) #define XLAT_STR_0 STRINGIFY(NDIAG_FLAG_CB_RUNNING) -#endif -#if defined(NDIAG_FLAG_PKTINFO) || (defined(HAVE_DECL_NDIAG_FLAG_PKTINFO) && HAVE_DECL_NDIAG_FLAG_PKTINFO) - XLAT(NDIAG_FLAG_PKTINFO), + XLAT(NDIAG_FLAG_PKTINFO), #define XLAT_VAL_1 ((unsigned) (NDIAG_FLAG_PKTINFO)) #define XLAT_STR_1 STRINGIFY(NDIAG_FLAG_PKTINFO) -#endif -#if defined(NDIAG_FLAG_BROADCAST_ERROR) || (defined(HAVE_DECL_NDIAG_FLAG_BROADCAST_ERROR) && HAVE_DECL_NDIAG_FLAG_BROADCAST_ERROR) - XLAT(NDIAG_FLAG_BROADCAST_ERROR), + XLAT(NDIAG_FLAG_BROADCAST_ERROR), #define XLAT_VAL_2 ((unsigned) (NDIAG_FLAG_BROADCAST_ERROR)) #define XLAT_STR_2 STRINGIFY(NDIAG_FLAG_BROADCAST_ERROR) -#endif -#if defined(NDIAG_FLAG_NO_ENOBUFS) || (defined(HAVE_DECL_NDIAG_FLAG_NO_ENOBUFS) && HAVE_DECL_NDIAG_FLAG_NO_ENOBUFS) - XLAT(NDIAG_FLAG_NO_ENOBUFS), + XLAT(NDIAG_FLAG_NO_ENOBUFS), #define XLAT_VAL_3 ((unsigned) (NDIAG_FLAG_NO_ENOBUFS)) #define XLAT_STR_3 STRINGIFY(NDIAG_FLAG_NO_ENOBUFS) -#endif -#if defined(NDIAG_FLAG_LISTEN_ALL_NSID) || (defined(HAVE_DECL_NDIAG_FLAG_LISTEN_ALL_NSID) && HAVE_DECL_NDIAG_FLAG_LISTEN_ALL_NSID) - XLAT(NDIAG_FLAG_LISTEN_ALL_NSID), + XLAT(NDIAG_FLAG_LISTEN_ALL_NSID), #define XLAT_VAL_4 ((unsigned) (NDIAG_FLAG_LISTEN_ALL_NSID)) #define XLAT_STR_4 STRINGIFY(NDIAG_FLAG_LISTEN_ALL_NSID) -#endif -#if defined(NDIAG_FLAG_CAP_ACK) || (defined(HAVE_DECL_NDIAG_FLAG_CAP_ACK) && HAVE_DECL_NDIAG_FLAG_CAP_ACK) - XLAT(NDIAG_FLAG_CAP_ACK), + XLAT(NDIAG_FLAG_CAP_ACK), #define XLAT_VAL_5 ((unsigned) (NDIAG_FLAG_CAP_ACK)) #define XLAT_STR_5 STRINGIFY(NDIAG_FLAG_CAP_ACK) -#endif }; static const struct xlat netlink_socket_flags1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_socket_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_socket_flags.in
Changed
@@ -1,3 +1,4 @@ +#unconditional NDIAG_FLAG_CB_RUNNING NDIAG_FLAG_PKTINFO NDIAG_FLAG_BROADCAST_ERROR
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_states.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_states.h
Changed
@@ -24,6 +24,7 @@ #else # define TCP_CLOSE 7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/netlink_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/netlink_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_acct_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_acct_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_cthelper_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_cthelper_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_ctnetlink_exp_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_ctnetlink_exp_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_ctnetlink_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_ctnetlink_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_cttimeout_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_cttimeout_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_hook_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_hook_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_ipset_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_ipset_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_nft_compat_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_nft_compat_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_nftables_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_nftables_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_osf_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_osf_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_queue_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_queue_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nf_ulog_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nf_ulog_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nfc_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nfc_protocols.h
Changed
@@ -17,6 +17,7 @@ #else # define NFC_SOCKPROTO_LLCP 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nfc_saps.h
Added
@@ -0,0 +1,123 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/nfc_saps.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(LLCP_SAP_SDP) || (defined(HAVE_DECL_LLCP_SAP_SDP) && HAVE_DECL_LLCP_SAP_SDP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LLCP_SAP_SDP) == (0x1), "LLCP_SAP_SDP != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LLCP_SAP_SDP 0x1 +#endif +#if defined(LLCP_SAP_IP) || (defined(HAVE_DECL_LLCP_SAP_IP) && HAVE_DECL_LLCP_SAP_IP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LLCP_SAP_IP) == (0x2), "LLCP_SAP_IP != 0x2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LLCP_SAP_IP 0x2 +#endif +#if defined(LLCP_SAP_OBEX) || (defined(HAVE_DECL_LLCP_SAP_OBEX) && HAVE_DECL_LLCP_SAP_OBEX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LLCP_SAP_OBEX) == (0x3), "LLCP_SAP_OBEX != 0x3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LLCP_SAP_OBEX 0x3 +#endif +#if defined(LLCP_SAP_SNEP) || (defined(HAVE_DECL_LLCP_SAP_SNEP) && HAVE_DECL_LLCP_SAP_SNEP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LLCP_SAP_SNEP) == (0x4), "LLCP_SAP_SNEP != 0x4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LLCP_SAP_SNEP 0x4 +#endif +#if defined(LLCP_SAP_MAX) || (defined(HAVE_DECL_LLCP_SAP_MAX) && HAVE_DECL_LLCP_SAP_MAX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((LLCP_SAP_MAX) == (0xff), "LLCP_SAP_MAX != 0xff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define LLCP_SAP_MAX 0xff +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat nfc_saps in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data nfc_saps_xdata = { + XLAT(LLCP_SAP_SDP), + #define XLAT_VAL_0 ((unsigned) (LLCP_SAP_SDP)) + #define XLAT_STR_0 STRINGIFY(LLCP_SAP_SDP) + XLAT(LLCP_SAP_IP), + #define XLAT_VAL_1 ((unsigned) (LLCP_SAP_IP)) + #define XLAT_STR_1 STRINGIFY(LLCP_SAP_IP) + XLAT(LLCP_SAP_OBEX), + #define XLAT_VAL_2 ((unsigned) (LLCP_SAP_OBEX)) + #define XLAT_STR_2 STRINGIFY(LLCP_SAP_OBEX) + XLAT(LLCP_SAP_SNEP), + #define XLAT_VAL_3 ((unsigned) (LLCP_SAP_SNEP)) + #define XLAT_STR_3 STRINGIFY(LLCP_SAP_SNEP) + XLAT(LLCP_SAP_MAX), + #define XLAT_VAL_4 ((unsigned) (LLCP_SAP_MAX)) + #define XLAT_STR_4 STRINGIFY(LLCP_SAP_MAX) +}; +static +const struct xlat nfc_saps1 = { { + .data = nfc_saps_xdata, + .size = ARRAY_SIZE(nfc_saps_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nfc_saps.in
Added
@@ -0,0 +1,5 @@ +LLCP_SAP_SDP 0x1 +LLCP_SAP_IP 0x2 +LLCP_SAP_OBEX 0x3 +LLCP_SAP_SNEP 0x4 +LLCP_SAP_MAX 0xff
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nfc_sockaddr_protocols.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/nfc_sockaddr_protocols.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_JEWEL) == (1), "NFC_PROTO_JEWEL != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_MIFARE) == (2), "NFC_PROTO_MIFARE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_FELICA) == (3), "NFC_PROTO_FELICA != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_ISO14443) == (4), "NFC_PROTO_ISO14443 != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_NFC_DEP) == (5), "NFC_PROTO_NFC_DEP != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_ISO14443_B) == (6), "NFC_PROTO_ISO14443_B != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFC_PROTO_ISO15693) == (7), "NFC_PROTO_ISO15693 != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat nfc_sockaddr_protocols in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data nfc_sockaddr_protocols_xdata = { + NFC_PROTO_JEWEL = XLAT(NFC_PROTO_JEWEL), + #define XLAT_VAL_0 ((unsigned) (NFC_PROTO_JEWEL)) + #define XLAT_STR_0 STRINGIFY(NFC_PROTO_JEWEL) + NFC_PROTO_MIFARE = XLAT(NFC_PROTO_MIFARE), + #define XLAT_VAL_1 ((unsigned) (NFC_PROTO_MIFARE)) + #define XLAT_STR_1 STRINGIFY(NFC_PROTO_MIFARE) + NFC_PROTO_FELICA = XLAT(NFC_PROTO_FELICA), + #define XLAT_VAL_2 ((unsigned) (NFC_PROTO_FELICA)) + #define XLAT_STR_2 STRINGIFY(NFC_PROTO_FELICA) + NFC_PROTO_ISO14443 = XLAT(NFC_PROTO_ISO14443), + #define XLAT_VAL_3 ((unsigned) (NFC_PROTO_ISO14443)) + #define XLAT_STR_3 STRINGIFY(NFC_PROTO_ISO14443) + NFC_PROTO_NFC_DEP = XLAT(NFC_PROTO_NFC_DEP), + #define XLAT_VAL_4 ((unsigned) (NFC_PROTO_NFC_DEP)) + #define XLAT_STR_4 STRINGIFY(NFC_PROTO_NFC_DEP) + NFC_PROTO_ISO14443_B = XLAT(NFC_PROTO_ISO14443_B), + #define XLAT_VAL_5 ((unsigned) (NFC_PROTO_ISO14443_B)) + #define XLAT_STR_5 STRINGIFY(NFC_PROTO_ISO14443_B) + NFC_PROTO_ISO15693 = XLAT(NFC_PROTO_ISO15693), + #define XLAT_VAL_6 ((unsigned) (NFC_PROTO_ISO15693)) + #define XLAT_STR_6 STRINGIFY(NFC_PROTO_ISO15693) +}; +static +const struct xlat nfc_sockaddr_protocols1 = { { + .data = nfc_sockaddr_protocols_xdata, + .size = ARRAY_SIZE(nfc_sockaddr_protocols_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nfc_sockaddr_protocols.in
Added
@@ -0,0 +1,9 @@ +#unconditional +#value_indexed +NFC_PROTO_JEWEL 1 +NFC_PROTO_MIFARE 2 +NFC_PROTO_FELICA 3 +NFC_PROTO_ISO14443 4 +NFC_PROTO_NFC_DEP 5 +NFC_PROTO_ISO14443_B 6 +NFC_PROTO_ISO15693 7
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_audit_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_audit_types.h
Changed
@@ -10,6 +10,16 @@ #else # define AUDIT_GET 1000 #endif +#if defined(AUDIT_GET) || (defined(HAVE_DECL_AUDIT_GET) && HAVE_DECL_AUDIT_GET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_GET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_GET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_GET) +#endif #if defined(AUDIT_SET) || (defined(HAVE_DECL_AUDIT_SET) && HAVE_DECL_AUDIT_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SET) == (1001), "AUDIT_SET != 1001"); @@ -17,6 +27,16 @@ #else # define AUDIT_SET 1001 #endif +#if defined(AUDIT_SET) || (defined(HAVE_DECL_AUDIT_SET) && HAVE_DECL_AUDIT_SET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SET) +#endif #if defined(AUDIT_LIST) || (defined(HAVE_DECL_AUDIT_LIST) && HAVE_DECL_AUDIT_LIST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LIST) == (1002), "AUDIT_LIST != 1002"); @@ -24,6 +44,16 @@ #else # define AUDIT_LIST 1002 #endif +#if defined(AUDIT_LIST) || (defined(HAVE_DECL_AUDIT_LIST) && HAVE_DECL_AUDIT_LIST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LIST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LIST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LIST) +#endif #if defined(AUDIT_ADD) || (defined(HAVE_DECL_AUDIT_ADD) && HAVE_DECL_AUDIT_ADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ADD) == (1003), "AUDIT_ADD != 1003"); @@ -31,6 +61,16 @@ #else # define AUDIT_ADD 1003 #endif +#if defined(AUDIT_ADD) || (defined(HAVE_DECL_AUDIT_ADD) && HAVE_DECL_AUDIT_ADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ADD) +#endif #if defined(AUDIT_DEL) || (defined(HAVE_DECL_AUDIT_DEL) && HAVE_DECL_AUDIT_DEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DEL) == (1004), "AUDIT_DEL != 1004"); @@ -38,6 +78,16 @@ #else # define AUDIT_DEL 1004 #endif +#if defined(AUDIT_DEL) || (defined(HAVE_DECL_AUDIT_DEL) && HAVE_DECL_AUDIT_DEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DEL) +#endif #if defined(AUDIT_USER) || (defined(HAVE_DECL_AUDIT_USER) && HAVE_DECL_AUDIT_USER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_USER) == (1005), "AUDIT_USER != 1005"); @@ -45,6 +95,16 @@ #else # define AUDIT_USER 1005 #endif +#if defined(AUDIT_USER) || (defined(HAVE_DECL_AUDIT_USER) && HAVE_DECL_AUDIT_USER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_USER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_USER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_USER) +#endif #if defined(AUDIT_LOGIN) || (defined(HAVE_DECL_AUDIT_LOGIN) && HAVE_DECL_AUDIT_LOGIN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LOGIN) == (1006), "AUDIT_LOGIN != 1006"); @@ -52,6 +112,16 @@ #else # define AUDIT_LOGIN 1006 #endif +#if defined(AUDIT_LOGIN) || (defined(HAVE_DECL_AUDIT_LOGIN) && HAVE_DECL_AUDIT_LOGIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LOGIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LOGIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LOGIN) +#endif #if defined(AUDIT_WATCH_INS) || (defined(HAVE_DECL_AUDIT_WATCH_INS) && HAVE_DECL_AUDIT_WATCH_INS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_WATCH_INS) == (1007), "AUDIT_WATCH_INS != 1007"); @@ -59,6 +129,16 @@ #else # define AUDIT_WATCH_INS 1007 #endif +#if defined(AUDIT_WATCH_INS) || (defined(HAVE_DECL_AUDIT_WATCH_INS) && HAVE_DECL_AUDIT_WATCH_INS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_WATCH_INS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_WATCH_INS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_WATCH_INS) +#endif #if defined(AUDIT_WATCH_REM) || (defined(HAVE_DECL_AUDIT_WATCH_REM) && HAVE_DECL_AUDIT_WATCH_REM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_WATCH_REM) == (1008), "AUDIT_WATCH_REM != 1008"); @@ -66,6 +146,16 @@ #else # define AUDIT_WATCH_REM 1008 #endif +#if defined(AUDIT_WATCH_REM) || (defined(HAVE_DECL_AUDIT_WATCH_REM) && HAVE_DECL_AUDIT_WATCH_REM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_WATCH_REM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_WATCH_REM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_WATCH_REM) +#endif #if defined(AUDIT_WATCH_LIST) || (defined(HAVE_DECL_AUDIT_WATCH_LIST) && HAVE_DECL_AUDIT_WATCH_LIST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_WATCH_LIST) == (1009), "AUDIT_WATCH_LIST != 1009"); @@ -73,6 +163,16 @@ #else # define AUDIT_WATCH_LIST 1009 #endif +#if defined(AUDIT_WATCH_LIST) || (defined(HAVE_DECL_AUDIT_WATCH_LIST) && HAVE_DECL_AUDIT_WATCH_LIST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_WATCH_LIST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_WATCH_LIST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_WATCH_LIST) +#endif #if defined(AUDIT_SIGNAL_INFO) || (defined(HAVE_DECL_AUDIT_SIGNAL_INFO) && HAVE_DECL_AUDIT_SIGNAL_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SIGNAL_INFO) == (1010), "AUDIT_SIGNAL_INFO != 1010"); @@ -80,6 +180,16 @@ #else # define AUDIT_SIGNAL_INFO 1010 #endif +#if defined(AUDIT_SIGNAL_INFO) || (defined(HAVE_DECL_AUDIT_SIGNAL_INFO) && HAVE_DECL_AUDIT_SIGNAL_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SIGNAL_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SIGNAL_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SIGNAL_INFO) +#endif #if defined(AUDIT_ADD_RULE) || (defined(HAVE_DECL_AUDIT_ADD_RULE) && HAVE_DECL_AUDIT_ADD_RULE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ADD_RULE) == (1011), "AUDIT_ADD_RULE != 1011"); @@ -87,6 +197,16 @@ #else # define AUDIT_ADD_RULE 1011 #endif +#if defined(AUDIT_ADD_RULE) || (defined(HAVE_DECL_AUDIT_ADD_RULE) && HAVE_DECL_AUDIT_ADD_RULE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ADD_RULE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ADD_RULE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ADD_RULE) +#endif #if defined(AUDIT_DEL_RULE) || (defined(HAVE_DECL_AUDIT_DEL_RULE) && HAVE_DECL_AUDIT_DEL_RULE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DEL_RULE) == (1012), "AUDIT_DEL_RULE != 1012"); @@ -94,6 +214,16 @@ #else # define AUDIT_DEL_RULE 1012 #endif +#if defined(AUDIT_DEL_RULE) || (defined(HAVE_DECL_AUDIT_DEL_RULE) && HAVE_DECL_AUDIT_DEL_RULE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DEL_RULE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DEL_RULE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DEL_RULE) +#endif #if defined(AUDIT_LIST_RULES) || (defined(HAVE_DECL_AUDIT_LIST_RULES) && HAVE_DECL_AUDIT_LIST_RULES) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LIST_RULES) == (1013), "AUDIT_LIST_RULES != 1013"); @@ -101,6 +231,16 @@ #else # define AUDIT_LIST_RULES 1013 #endif +#if defined(AUDIT_LIST_RULES) || (defined(HAVE_DECL_AUDIT_LIST_RULES) && HAVE_DECL_AUDIT_LIST_RULES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LIST_RULES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LIST_RULES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LIST_RULES) +#endif #if defined(AUDIT_TRIM) || (defined(HAVE_DECL_AUDIT_TRIM) && HAVE_DECL_AUDIT_TRIM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TRIM) == (1014), "AUDIT_TRIM != 1014"); @@ -108,6 +248,16 @@ #else # define AUDIT_TRIM 1014 #endif +#if defined(AUDIT_TRIM) || (defined(HAVE_DECL_AUDIT_TRIM) && HAVE_DECL_AUDIT_TRIM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TRIM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TRIM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TRIM) +#endif #if defined(AUDIT_MAKE_EQUIV) || (defined(HAVE_DECL_AUDIT_MAKE_EQUIV) && HAVE_DECL_AUDIT_MAKE_EQUIV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAKE_EQUIV) == (1015), "AUDIT_MAKE_EQUIV != 1015"); @@ -115,6 +265,16 @@ #else # define AUDIT_MAKE_EQUIV 1015 #endif +#if defined(AUDIT_MAKE_EQUIV) || (defined(HAVE_DECL_AUDIT_MAKE_EQUIV) && HAVE_DECL_AUDIT_MAKE_EQUIV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAKE_EQUIV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAKE_EQUIV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAKE_EQUIV) +#endif #if defined(AUDIT_TTY_GET) || (defined(HAVE_DECL_AUDIT_TTY_GET) && HAVE_DECL_AUDIT_TTY_GET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TTY_GET) == (1016), "AUDIT_TTY_GET != 1016"); @@ -122,6 +282,16 @@ #else # define AUDIT_TTY_GET 1016 #endif +#if defined(AUDIT_TTY_GET) || (defined(HAVE_DECL_AUDIT_TTY_GET) && HAVE_DECL_AUDIT_TTY_GET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TTY_GET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TTY_GET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TTY_GET) +#endif #if defined(AUDIT_TTY_SET) || (defined(HAVE_DECL_AUDIT_TTY_SET) && HAVE_DECL_AUDIT_TTY_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TTY_SET) == (1017), "AUDIT_TTY_SET != 1017"); @@ -129,6 +299,16 @@ #else # define AUDIT_TTY_SET 1017 #endif +#if defined(AUDIT_TTY_SET) || (defined(HAVE_DECL_AUDIT_TTY_SET) && HAVE_DECL_AUDIT_TTY_SET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TTY_SET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TTY_SET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TTY_SET) +#endif #if defined(AUDIT_SET_FEATURE) || (defined(HAVE_DECL_AUDIT_SET_FEATURE) && HAVE_DECL_AUDIT_SET_FEATURE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SET_FEATURE) == (1018), "AUDIT_SET_FEATURE != 1018"); @@ -136,6 +316,16 @@ #else # define AUDIT_SET_FEATURE 1018 #endif +#if defined(AUDIT_SET_FEATURE) || (defined(HAVE_DECL_AUDIT_SET_FEATURE) && HAVE_DECL_AUDIT_SET_FEATURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SET_FEATURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SET_FEATURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SET_FEATURE) +#endif #if defined(AUDIT_GET_FEATURE) || (defined(HAVE_DECL_AUDIT_GET_FEATURE) && HAVE_DECL_AUDIT_GET_FEATURE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_GET_FEATURE) == (1019), "AUDIT_GET_FEATURE != 1019"); @@ -143,6 +333,16 @@ #else # define AUDIT_GET_FEATURE 1019 #endif +#if defined(AUDIT_GET_FEATURE) || (defined(HAVE_DECL_AUDIT_GET_FEATURE) && HAVE_DECL_AUDIT_GET_FEATURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_GET_FEATURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_GET_FEATURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_GET_FEATURE) +#endif #if defined(AUDIT_FIRST_USER_MSG) || (defined(HAVE_DECL_AUDIT_FIRST_USER_MSG) && HAVE_DECL_AUDIT_FIRST_USER_MSG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_FIRST_USER_MSG) == (1100), "AUDIT_FIRST_USER_MSG != 1100"); @@ -150,6 +350,16 @@ #else # define AUDIT_FIRST_USER_MSG 1100 #endif +#if defined(AUDIT_FIRST_USER_MSG) || (defined(HAVE_DECL_AUDIT_FIRST_USER_MSG) && HAVE_DECL_AUDIT_FIRST_USER_MSG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FIRST_USER_MSG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FIRST_USER_MSG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FIRST_USER_MSG) +#endif #if defined(AUDIT_USER_AVC) || (defined(HAVE_DECL_AUDIT_USER_AVC) && HAVE_DECL_AUDIT_USER_AVC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_USER_AVC) == (1107), "AUDIT_USER_AVC != 1107"); @@ -157,6 +367,16 @@ #else # define AUDIT_USER_AVC 1107 #endif +#if defined(AUDIT_USER_AVC) || (defined(HAVE_DECL_AUDIT_USER_AVC) && HAVE_DECL_AUDIT_USER_AVC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_USER_AVC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_USER_AVC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_USER_AVC) +#endif #if defined(AUDIT_USER_TTY) || (defined(HAVE_DECL_AUDIT_USER_TTY) && HAVE_DECL_AUDIT_USER_TTY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_USER_TTY) == (1124), "AUDIT_USER_TTY != 1124"); @@ -164,6 +384,16 @@ #else # define AUDIT_USER_TTY 1124 #endif +#if defined(AUDIT_USER_TTY) || (defined(HAVE_DECL_AUDIT_USER_TTY) && HAVE_DECL_AUDIT_USER_TTY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_USER_TTY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_USER_TTY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_USER_TTY) +#endif #if defined(AUDIT_LAST_USER_MSG) || (defined(HAVE_DECL_AUDIT_LAST_USER_MSG) && HAVE_DECL_AUDIT_LAST_USER_MSG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LAST_USER_MSG) == (1199), "AUDIT_LAST_USER_MSG != 1199"); @@ -171,6 +401,16 @@ #else # define AUDIT_LAST_USER_MSG 1199 #endif +#if defined(AUDIT_LAST_USER_MSG) || (defined(HAVE_DECL_AUDIT_LAST_USER_MSG) && HAVE_DECL_AUDIT_LAST_USER_MSG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LAST_USER_MSG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LAST_USER_MSG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LAST_USER_MSG) +#endif #if defined(AUDIT_DAEMON_START) || (defined(HAVE_DECL_AUDIT_DAEMON_START) && HAVE_DECL_AUDIT_DAEMON_START) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DAEMON_START) == (1200), "AUDIT_DAEMON_START != 1200"); @@ -178,6 +418,16 @@ #else # define AUDIT_DAEMON_START 1200 #endif +#if defined(AUDIT_DAEMON_START) || (defined(HAVE_DECL_AUDIT_DAEMON_START) && HAVE_DECL_AUDIT_DAEMON_START) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DAEMON_START) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DAEMON_START" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DAEMON_START) +#endif #if defined(AUDIT_DAEMON_END) || (defined(HAVE_DECL_AUDIT_DAEMON_END) && HAVE_DECL_AUDIT_DAEMON_END) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DAEMON_END) == (1201), "AUDIT_DAEMON_END != 1201"); @@ -185,6 +435,16 @@ #else # define AUDIT_DAEMON_END 1201 #endif +#if defined(AUDIT_DAEMON_END) || (defined(HAVE_DECL_AUDIT_DAEMON_END) && HAVE_DECL_AUDIT_DAEMON_END) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DAEMON_END) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DAEMON_END" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DAEMON_END) +#endif #if defined(AUDIT_DAEMON_ABORT) || (defined(HAVE_DECL_AUDIT_DAEMON_ABORT) && HAVE_DECL_AUDIT_DAEMON_ABORT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DAEMON_ABORT) == (1202), "AUDIT_DAEMON_ABORT != 1202"); @@ -192,6 +452,16 @@ #else # define AUDIT_DAEMON_ABORT 1202 #endif +#if defined(AUDIT_DAEMON_ABORT) || (defined(HAVE_DECL_AUDIT_DAEMON_ABORT) && HAVE_DECL_AUDIT_DAEMON_ABORT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DAEMON_ABORT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DAEMON_ABORT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DAEMON_ABORT) +#endif #if defined(AUDIT_DAEMON_CONFIG) || (defined(HAVE_DECL_AUDIT_DAEMON_CONFIG) && HAVE_DECL_AUDIT_DAEMON_CONFIG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_DAEMON_CONFIG) == (1203), "AUDIT_DAEMON_CONFIG != 1203"); @@ -199,6 +469,16 @@ #else # define AUDIT_DAEMON_CONFIG 1203 #endif +#if defined(AUDIT_DAEMON_CONFIG) || (defined(HAVE_DECL_AUDIT_DAEMON_CONFIG) && HAVE_DECL_AUDIT_DAEMON_CONFIG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DAEMON_CONFIG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DAEMON_CONFIG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DAEMON_CONFIG) +#endif #if defined(AUDIT_SYSCALL) || (defined(HAVE_DECL_AUDIT_SYSCALL) && HAVE_DECL_AUDIT_SYSCALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SYSCALL) == (1300), "AUDIT_SYSCALL != 1300"); @@ -206,6 +486,16 @@ #else # define AUDIT_SYSCALL 1300 #endif +#if defined(AUDIT_SYSCALL) || (defined(HAVE_DECL_AUDIT_SYSCALL) && HAVE_DECL_AUDIT_SYSCALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SYSCALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SYSCALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SYSCALL) +#endif #if defined(AUDIT_FS_WATCH) || (defined(HAVE_DECL_AUDIT_FS_WATCH) && HAVE_DECL_AUDIT_FS_WATCH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_FS_WATCH) == (1301), "AUDIT_FS_WATCH != 1301"); @@ -213,6 +503,16 @@ #else # define AUDIT_FS_WATCH 1301 #endif +#if defined(AUDIT_FS_WATCH) || (defined(HAVE_DECL_AUDIT_FS_WATCH) && HAVE_DECL_AUDIT_FS_WATCH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FS_WATCH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FS_WATCH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FS_WATCH) +#endif #if defined(AUDIT_PATH) || (defined(HAVE_DECL_AUDIT_PATH) && HAVE_DECL_AUDIT_PATH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_PATH) == (1302), "AUDIT_PATH != 1302"); @@ -220,6 +520,16 @@ #else # define AUDIT_PATH 1302 #endif +#if defined(AUDIT_PATH) || (defined(HAVE_DECL_AUDIT_PATH) && HAVE_DECL_AUDIT_PATH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_PATH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_PATH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_PATH) +#endif #if defined(AUDIT_IPC) || (defined(HAVE_DECL_AUDIT_IPC) && HAVE_DECL_AUDIT_IPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_IPC) == (1303), "AUDIT_IPC != 1303"); @@ -227,6 +537,16 @@ #else # define AUDIT_IPC 1303 #endif +#if defined(AUDIT_IPC) || (defined(HAVE_DECL_AUDIT_IPC) && HAVE_DECL_AUDIT_IPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_IPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_IPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_IPC) +#endif #if defined(AUDIT_SOCKETCALL) || (defined(HAVE_DECL_AUDIT_SOCKETCALL) && HAVE_DECL_AUDIT_SOCKETCALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SOCKETCALL) == (1304), "AUDIT_SOCKETCALL != 1304"); @@ -234,6 +554,16 @@ #else # define AUDIT_SOCKETCALL 1304 #endif +#if defined(AUDIT_SOCKETCALL) || (defined(HAVE_DECL_AUDIT_SOCKETCALL) && HAVE_DECL_AUDIT_SOCKETCALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SOCKETCALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SOCKETCALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SOCKETCALL) +#endif #if defined(AUDIT_CONFIG_CHANGE) || (defined(HAVE_DECL_AUDIT_CONFIG_CHANGE) && HAVE_DECL_AUDIT_CONFIG_CHANGE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_CONFIG_CHANGE) == (1305), "AUDIT_CONFIG_CHANGE != 1305"); @@ -241,6 +571,16 @@ #else # define AUDIT_CONFIG_CHANGE 1305 #endif +#if defined(AUDIT_CONFIG_CHANGE) || (defined(HAVE_DECL_AUDIT_CONFIG_CHANGE) && HAVE_DECL_AUDIT_CONFIG_CHANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_CONFIG_CHANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_CONFIG_CHANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_CONFIG_CHANGE) +#endif #if defined(AUDIT_SOCKADDR) || (defined(HAVE_DECL_AUDIT_SOCKADDR) && HAVE_DECL_AUDIT_SOCKADDR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SOCKADDR) == (1306), "AUDIT_SOCKADDR != 1306"); @@ -248,6 +588,16 @@ #else # define AUDIT_SOCKADDR 1306 #endif +#if defined(AUDIT_SOCKADDR) || (defined(HAVE_DECL_AUDIT_SOCKADDR) && HAVE_DECL_AUDIT_SOCKADDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SOCKADDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SOCKADDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SOCKADDR) +#endif #if defined(AUDIT_CWD) || (defined(HAVE_DECL_AUDIT_CWD) && HAVE_DECL_AUDIT_CWD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_CWD) == (1307), "AUDIT_CWD != 1307"); @@ -255,6 +605,16 @@ #else # define AUDIT_CWD 1307 #endif +#if defined(AUDIT_CWD) || (defined(HAVE_DECL_AUDIT_CWD) && HAVE_DECL_AUDIT_CWD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_CWD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_CWD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_CWD) +#endif #if defined(AUDIT_EXECVE) || (defined(HAVE_DECL_AUDIT_EXECVE) && HAVE_DECL_AUDIT_EXECVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_EXECVE) == (1309), "AUDIT_EXECVE != 1309"); @@ -262,6 +622,16 @@ #else # define AUDIT_EXECVE 1309 #endif +#if defined(AUDIT_EXECVE) || (defined(HAVE_DECL_AUDIT_EXECVE) && HAVE_DECL_AUDIT_EXECVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_EXECVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_EXECVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_EXECVE) +#endif #if defined(AUDIT_IPC_SET_PERM) || (defined(HAVE_DECL_AUDIT_IPC_SET_PERM) && HAVE_DECL_AUDIT_IPC_SET_PERM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_IPC_SET_PERM) == (1311), "AUDIT_IPC_SET_PERM != 1311"); @@ -269,6 +639,16 @@ #else # define AUDIT_IPC_SET_PERM 1311 #endif +#if defined(AUDIT_IPC_SET_PERM) || (defined(HAVE_DECL_AUDIT_IPC_SET_PERM) && HAVE_DECL_AUDIT_IPC_SET_PERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_IPC_SET_PERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_IPC_SET_PERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_IPC_SET_PERM) +#endif #if defined(AUDIT_MQ_OPEN) || (defined(HAVE_DECL_AUDIT_MQ_OPEN) && HAVE_DECL_AUDIT_MQ_OPEN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MQ_OPEN) == (1312), "AUDIT_MQ_OPEN != 1312"); @@ -276,6 +656,16 @@ #else # define AUDIT_MQ_OPEN 1312 #endif +#if defined(AUDIT_MQ_OPEN) || (defined(HAVE_DECL_AUDIT_MQ_OPEN) && HAVE_DECL_AUDIT_MQ_OPEN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MQ_OPEN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MQ_OPEN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MQ_OPEN) +#endif #if defined(AUDIT_MQ_SENDRECV) || (defined(HAVE_DECL_AUDIT_MQ_SENDRECV) && HAVE_DECL_AUDIT_MQ_SENDRECV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MQ_SENDRECV) == (1313), "AUDIT_MQ_SENDRECV != 1313"); @@ -283,6 +673,16 @@ #else # define AUDIT_MQ_SENDRECV 1313 #endif +#if defined(AUDIT_MQ_SENDRECV) || (defined(HAVE_DECL_AUDIT_MQ_SENDRECV) && HAVE_DECL_AUDIT_MQ_SENDRECV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MQ_SENDRECV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MQ_SENDRECV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MQ_SENDRECV) +#endif #if defined(AUDIT_MQ_NOTIFY) || (defined(HAVE_DECL_AUDIT_MQ_NOTIFY) && HAVE_DECL_AUDIT_MQ_NOTIFY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MQ_NOTIFY) == (1314), "AUDIT_MQ_NOTIFY != 1314"); @@ -290,6 +690,16 @@ #else # define AUDIT_MQ_NOTIFY 1314 #endif +#if defined(AUDIT_MQ_NOTIFY) || (defined(HAVE_DECL_AUDIT_MQ_NOTIFY) && HAVE_DECL_AUDIT_MQ_NOTIFY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MQ_NOTIFY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MQ_NOTIFY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MQ_NOTIFY) +#endif #if defined(AUDIT_MQ_GETSETATTR) || (defined(HAVE_DECL_AUDIT_MQ_GETSETATTR) && HAVE_DECL_AUDIT_MQ_GETSETATTR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MQ_GETSETATTR) == (1315), "AUDIT_MQ_GETSETATTR != 1315"); @@ -297,6 +707,16 @@ #else # define AUDIT_MQ_GETSETATTR 1315 #endif +#if defined(AUDIT_MQ_GETSETATTR) || (defined(HAVE_DECL_AUDIT_MQ_GETSETATTR) && HAVE_DECL_AUDIT_MQ_GETSETATTR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MQ_GETSETATTR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MQ_GETSETATTR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MQ_GETSETATTR) +#endif #if defined(AUDIT_KERNEL_OTHER) || (defined(HAVE_DECL_AUDIT_KERNEL_OTHER) && HAVE_DECL_AUDIT_KERNEL_OTHER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_KERNEL_OTHER) == (1316), "AUDIT_KERNEL_OTHER != 1316"); @@ -304,6 +724,16 @@ #else # define AUDIT_KERNEL_OTHER 1316 #endif +#if defined(AUDIT_KERNEL_OTHER) || (defined(HAVE_DECL_AUDIT_KERNEL_OTHER) && HAVE_DECL_AUDIT_KERNEL_OTHER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_KERNEL_OTHER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_KERNEL_OTHER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_KERNEL_OTHER) +#endif #if defined(AUDIT_FD_PAIR) || (defined(HAVE_DECL_AUDIT_FD_PAIR) && HAVE_DECL_AUDIT_FD_PAIR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_FD_PAIR) == (1317), "AUDIT_FD_PAIR != 1317"); @@ -311,6 +741,16 @@ #else # define AUDIT_FD_PAIR 1317 #endif +#if defined(AUDIT_FD_PAIR) || (defined(HAVE_DECL_AUDIT_FD_PAIR) && HAVE_DECL_AUDIT_FD_PAIR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FD_PAIR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FD_PAIR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FD_PAIR) +#endif #if defined(AUDIT_OBJ_PID) || (defined(HAVE_DECL_AUDIT_OBJ_PID) && HAVE_DECL_AUDIT_OBJ_PID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_OBJ_PID) == (1318), "AUDIT_OBJ_PID != 1318"); @@ -318,6 +758,16 @@ #else # define AUDIT_OBJ_PID 1318 #endif +#if defined(AUDIT_OBJ_PID) || (defined(HAVE_DECL_AUDIT_OBJ_PID) && HAVE_DECL_AUDIT_OBJ_PID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_OBJ_PID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_OBJ_PID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_OBJ_PID) +#endif #if defined(AUDIT_TTY) || (defined(HAVE_DECL_AUDIT_TTY) && HAVE_DECL_AUDIT_TTY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TTY) == (1319), "AUDIT_TTY != 1319"); @@ -325,6 +775,16 @@ #else # define AUDIT_TTY 1319 #endif +#if defined(AUDIT_TTY) || (defined(HAVE_DECL_AUDIT_TTY) && HAVE_DECL_AUDIT_TTY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TTY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TTY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TTY) +#endif #if defined(AUDIT_EOE) || (defined(HAVE_DECL_AUDIT_EOE) && HAVE_DECL_AUDIT_EOE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_EOE) == (1320), "AUDIT_EOE != 1320"); @@ -332,6 +792,16 @@ #else # define AUDIT_EOE 1320 #endif +#if defined(AUDIT_EOE) || (defined(HAVE_DECL_AUDIT_EOE) && HAVE_DECL_AUDIT_EOE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_EOE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_EOE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_EOE) +#endif #if defined(AUDIT_BPRM_FCAPS) || (defined(HAVE_DECL_AUDIT_BPRM_FCAPS) && HAVE_DECL_AUDIT_BPRM_FCAPS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_BPRM_FCAPS) == (1321), "AUDIT_BPRM_FCAPS != 1321"); @@ -339,6 +809,16 @@ #else # define AUDIT_BPRM_FCAPS 1321 #endif +#if defined(AUDIT_BPRM_FCAPS) || (defined(HAVE_DECL_AUDIT_BPRM_FCAPS) && HAVE_DECL_AUDIT_BPRM_FCAPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_BPRM_FCAPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_BPRM_FCAPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_BPRM_FCAPS) +#endif #if defined(AUDIT_CAPSET) || (defined(HAVE_DECL_AUDIT_CAPSET) && HAVE_DECL_AUDIT_CAPSET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_CAPSET) == (1322), "AUDIT_CAPSET != 1322"); @@ -346,6 +826,16 @@ #else # define AUDIT_CAPSET 1322 #endif +#if defined(AUDIT_CAPSET) || (defined(HAVE_DECL_AUDIT_CAPSET) && HAVE_DECL_AUDIT_CAPSET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_CAPSET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_CAPSET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_CAPSET) +#endif #if defined(AUDIT_MMAP) || (defined(HAVE_DECL_AUDIT_MMAP) && HAVE_DECL_AUDIT_MMAP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MMAP) == (1323), "AUDIT_MMAP != 1323"); @@ -353,6 +843,16 @@ #else # define AUDIT_MMAP 1323 #endif +#if defined(AUDIT_MMAP) || (defined(HAVE_DECL_AUDIT_MMAP) && HAVE_DECL_AUDIT_MMAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MMAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MMAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MMAP) +#endif #if defined(AUDIT_NETFILTER_PKT) || (defined(HAVE_DECL_AUDIT_NETFILTER_PKT) && HAVE_DECL_AUDIT_NETFILTER_PKT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_NETFILTER_PKT) == (1324), "AUDIT_NETFILTER_PKT != 1324"); @@ -360,6 +860,16 @@ #else # define AUDIT_NETFILTER_PKT 1324 #endif +#if defined(AUDIT_NETFILTER_PKT) || (defined(HAVE_DECL_AUDIT_NETFILTER_PKT) && HAVE_DECL_AUDIT_NETFILTER_PKT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_NETFILTER_PKT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_NETFILTER_PKT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_NETFILTER_PKT) +#endif #if defined(AUDIT_NETFILTER_CFG) || (defined(HAVE_DECL_AUDIT_NETFILTER_CFG) && HAVE_DECL_AUDIT_NETFILTER_CFG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_NETFILTER_CFG) == (1325), "AUDIT_NETFILTER_CFG != 1325"); @@ -367,6 +877,16 @@ #else # define AUDIT_NETFILTER_CFG 1325 #endif +#if defined(AUDIT_NETFILTER_CFG) || (defined(HAVE_DECL_AUDIT_NETFILTER_CFG) && HAVE_DECL_AUDIT_NETFILTER_CFG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_NETFILTER_CFG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_NETFILTER_CFG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_NETFILTER_CFG) +#endif #if defined(AUDIT_SECCOMP) || (defined(HAVE_DECL_AUDIT_SECCOMP) && HAVE_DECL_AUDIT_SECCOMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SECCOMP) == (1326), "AUDIT_SECCOMP != 1326"); @@ -374,6 +894,16 @@ #else # define AUDIT_SECCOMP 1326 #endif +#if defined(AUDIT_SECCOMP) || (defined(HAVE_DECL_AUDIT_SECCOMP) && HAVE_DECL_AUDIT_SECCOMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SECCOMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SECCOMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SECCOMP) +#endif #if defined(AUDIT_PROCTITLE) || (defined(HAVE_DECL_AUDIT_PROCTITLE) && HAVE_DECL_AUDIT_PROCTITLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_PROCTITLE) == (1327), "AUDIT_PROCTITLE != 1327"); @@ -381,6 +911,16 @@ #else # define AUDIT_PROCTITLE 1327 #endif +#if defined(AUDIT_PROCTITLE) || (defined(HAVE_DECL_AUDIT_PROCTITLE) && HAVE_DECL_AUDIT_PROCTITLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_PROCTITLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_PROCTITLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_PROCTITLE) +#endif #ifndef STRACE_WORKAROUND_FOR_AUDIT_FEATURE_CHANGE # define STRACE_WORKAROUND_FOR_AUDIT_FEATURE_CHANGE # undef AUDIT_FEATURE_CHANGE @@ -392,6 +932,16 @@ #else # define AUDIT_FEATURE_CHANGE 1328 #endif +#if defined(AUDIT_FEATURE_CHANGE) || (defined(HAVE_DECL_AUDIT_FEATURE_CHANGE) && HAVE_DECL_AUDIT_FEATURE_CHANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FEATURE_CHANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FEATURE_CHANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FEATURE_CHANGE) +#endif #if defined(AUDIT_REPLACE) || (defined(HAVE_DECL_AUDIT_REPLACE) && HAVE_DECL_AUDIT_REPLACE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_REPLACE) == (1329), "AUDIT_REPLACE != 1329"); @@ -399,6 +949,16 @@ #else # define AUDIT_REPLACE 1329 #endif +#if defined(AUDIT_REPLACE) || (defined(HAVE_DECL_AUDIT_REPLACE) && HAVE_DECL_AUDIT_REPLACE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_REPLACE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_REPLACE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_REPLACE) +#endif #if defined(AUDIT_KERN_MODULE) || (defined(HAVE_DECL_AUDIT_KERN_MODULE) && HAVE_DECL_AUDIT_KERN_MODULE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_KERN_MODULE) == (1330), "AUDIT_KERN_MODULE != 1330"); @@ -406,6 +966,16 @@ #else # define AUDIT_KERN_MODULE 1330 #endif +#if defined(AUDIT_KERN_MODULE) || (defined(HAVE_DECL_AUDIT_KERN_MODULE) && HAVE_DECL_AUDIT_KERN_MODULE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_KERN_MODULE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_KERN_MODULE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_KERN_MODULE) +#endif #if defined(AUDIT_FANOTIFY) || (defined(HAVE_DECL_AUDIT_FANOTIFY) && HAVE_DECL_AUDIT_FANOTIFY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_FANOTIFY) == (1331), "AUDIT_FANOTIFY != 1331"); @@ -413,6 +983,16 @@ #else # define AUDIT_FANOTIFY 1331 #endif +#if defined(AUDIT_FANOTIFY) || (defined(HAVE_DECL_AUDIT_FANOTIFY) && HAVE_DECL_AUDIT_FANOTIFY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FANOTIFY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FANOTIFY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FANOTIFY) +#endif #if defined(AUDIT_TIME_INJOFFSET) || (defined(HAVE_DECL_AUDIT_TIME_INJOFFSET) && HAVE_DECL_AUDIT_TIME_INJOFFSET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TIME_INJOFFSET) == (1332), "AUDIT_TIME_INJOFFSET != 1332"); @@ -420,6 +1000,16 @@ #else # define AUDIT_TIME_INJOFFSET 1332 #endif +#if defined(AUDIT_TIME_INJOFFSET) || (defined(HAVE_DECL_AUDIT_TIME_INJOFFSET) && HAVE_DECL_AUDIT_TIME_INJOFFSET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TIME_INJOFFSET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TIME_INJOFFSET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TIME_INJOFFSET) +#endif #if defined(AUDIT_TIME_ADJNTPVAL) || (defined(HAVE_DECL_AUDIT_TIME_ADJNTPVAL) && HAVE_DECL_AUDIT_TIME_ADJNTPVAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_TIME_ADJNTPVAL) == (1333), "AUDIT_TIME_ADJNTPVAL != 1333"); @@ -427,6 +1017,16 @@ #else # define AUDIT_TIME_ADJNTPVAL 1333 #endif +#if defined(AUDIT_TIME_ADJNTPVAL) || (defined(HAVE_DECL_AUDIT_TIME_ADJNTPVAL) && HAVE_DECL_AUDIT_TIME_ADJNTPVAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_TIME_ADJNTPVAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_TIME_ADJNTPVAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_TIME_ADJNTPVAL) +#endif #if defined(AUDIT_BPF) || (defined(HAVE_DECL_AUDIT_BPF) && HAVE_DECL_AUDIT_BPF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_BPF) == (1334), "AUDIT_BPF != 1334"); @@ -434,6 +1034,16 @@ #else # define AUDIT_BPF 1334 #endif +#if defined(AUDIT_BPF) || (defined(HAVE_DECL_AUDIT_BPF) && HAVE_DECL_AUDIT_BPF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_BPF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_BPF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_BPF) +#endif #if defined(AUDIT_EVENT_LISTENER) || (defined(HAVE_DECL_AUDIT_EVENT_LISTENER) && HAVE_DECL_AUDIT_EVENT_LISTENER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_EVENT_LISTENER) == (1335), "AUDIT_EVENT_LISTENER != 1335"); @@ -441,6 +1051,84 @@ #else # define AUDIT_EVENT_LISTENER 1335 #endif +#if defined(AUDIT_EVENT_LISTENER) || (defined(HAVE_DECL_AUDIT_EVENT_LISTENER) && HAVE_DECL_AUDIT_EVENT_LISTENER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_EVENT_LISTENER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_EVENT_LISTENER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_EVENT_LISTENER) +#endif +#if defined(AUDIT_URINGOP) || (defined(HAVE_DECL_AUDIT_URINGOP) && HAVE_DECL_AUDIT_URINGOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_URINGOP) == (1336), "AUDIT_URINGOP != 1336"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_URINGOP 1336 +#endif +#if defined(AUDIT_URINGOP) || (defined(HAVE_DECL_AUDIT_URINGOP) && HAVE_DECL_AUDIT_URINGOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_URINGOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_URINGOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_URINGOP) +#endif +#if defined(AUDIT_OPENAT2) || (defined(HAVE_DECL_AUDIT_OPENAT2) && HAVE_DECL_AUDIT_OPENAT2) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_OPENAT2) == (1337), "AUDIT_OPENAT2 != 1337"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_OPENAT2 1337 +#endif +#if defined(AUDIT_OPENAT2) || (defined(HAVE_DECL_AUDIT_OPENAT2) && HAVE_DECL_AUDIT_OPENAT2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_OPENAT2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_OPENAT2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_OPENAT2) +#endif +#if defined(AUDIT_DM_CTRL) || (defined(HAVE_DECL_AUDIT_DM_CTRL) && HAVE_DECL_AUDIT_DM_CTRL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_DM_CTRL) == (1338), "AUDIT_DM_CTRL != 1338"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_DM_CTRL 1338 +#endif +#if defined(AUDIT_DM_CTRL) || (defined(HAVE_DECL_AUDIT_DM_CTRL) && HAVE_DECL_AUDIT_DM_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DM_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DM_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DM_CTRL) +#endif +#if defined(AUDIT_DM_EVENT) || (defined(HAVE_DECL_AUDIT_DM_EVENT) && HAVE_DECL_AUDIT_DM_EVENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AUDIT_DM_EVENT) == (1339), "AUDIT_DM_EVENT != 1339"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AUDIT_DM_EVENT 1339 +#endif +#if defined(AUDIT_DM_EVENT) || (defined(HAVE_DECL_AUDIT_DM_EVENT) && HAVE_DECL_AUDIT_DM_EVENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_DM_EVENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_DM_EVENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_DM_EVENT) +#endif #if defined(AUDIT_AVC) || (defined(HAVE_DECL_AUDIT_AVC) && HAVE_DECL_AUDIT_AVC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_AVC) == (1400), "AUDIT_AVC != 1400"); @@ -448,6 +1136,16 @@ #else # define AUDIT_AVC 1400 #endif +#if defined(AUDIT_AVC) || (defined(HAVE_DECL_AUDIT_AVC) && HAVE_DECL_AUDIT_AVC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_AVC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_AVC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_AVC) +#endif #if defined(AUDIT_SELINUX_ERR) || (defined(HAVE_DECL_AUDIT_SELINUX_ERR) && HAVE_DECL_AUDIT_SELINUX_ERR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_SELINUX_ERR) == (1401), "AUDIT_SELINUX_ERR != 1401"); @@ -455,6 +1153,16 @@ #else # define AUDIT_SELINUX_ERR 1401 #endif +#if defined(AUDIT_SELINUX_ERR) || (defined(HAVE_DECL_AUDIT_SELINUX_ERR) && HAVE_DECL_AUDIT_SELINUX_ERR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_SELINUX_ERR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_SELINUX_ERR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_SELINUX_ERR) +#endif #if defined(AUDIT_AVC_PATH) || (defined(HAVE_DECL_AUDIT_AVC_PATH) && HAVE_DECL_AUDIT_AVC_PATH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_AVC_PATH) == (1402), "AUDIT_AVC_PATH != 1402"); @@ -462,6 +1170,16 @@ #else # define AUDIT_AVC_PATH 1402 #endif +#if defined(AUDIT_AVC_PATH) || (defined(HAVE_DECL_AUDIT_AVC_PATH) && HAVE_DECL_AUDIT_AVC_PATH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_AVC_PATH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_AVC_PATH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_AVC_PATH) +#endif #if defined(AUDIT_MAC_POLICY_LOAD) || (defined(HAVE_DECL_AUDIT_MAC_POLICY_LOAD) && HAVE_DECL_AUDIT_MAC_POLICY_LOAD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_POLICY_LOAD) == (1403), "AUDIT_MAC_POLICY_LOAD != 1403"); @@ -469,6 +1187,16 @@ #else # define AUDIT_MAC_POLICY_LOAD 1403 #endif +#if defined(AUDIT_MAC_POLICY_LOAD) || (defined(HAVE_DECL_AUDIT_MAC_POLICY_LOAD) && HAVE_DECL_AUDIT_MAC_POLICY_LOAD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_POLICY_LOAD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_POLICY_LOAD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_POLICY_LOAD) +#endif #if defined(AUDIT_MAC_STATUS) || (defined(HAVE_DECL_AUDIT_MAC_STATUS) && HAVE_DECL_AUDIT_MAC_STATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_STATUS) == (1404), "AUDIT_MAC_STATUS != 1404"); @@ -476,6 +1204,16 @@ #else # define AUDIT_MAC_STATUS 1404 #endif +#if defined(AUDIT_MAC_STATUS) || (defined(HAVE_DECL_AUDIT_MAC_STATUS) && HAVE_DECL_AUDIT_MAC_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_STATUS) +#endif #if defined(AUDIT_MAC_CONFIG_CHANGE) || (defined(HAVE_DECL_AUDIT_MAC_CONFIG_CHANGE) && HAVE_DECL_AUDIT_MAC_CONFIG_CHANGE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_CONFIG_CHANGE) == (1405), "AUDIT_MAC_CONFIG_CHANGE != 1405"); @@ -483,6 +1221,16 @@ #else # define AUDIT_MAC_CONFIG_CHANGE 1405 #endif +#if defined(AUDIT_MAC_CONFIG_CHANGE) || (defined(HAVE_DECL_AUDIT_MAC_CONFIG_CHANGE) && HAVE_DECL_AUDIT_MAC_CONFIG_CHANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_CONFIG_CHANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_CONFIG_CHANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_CONFIG_CHANGE) +#endif #if defined(AUDIT_MAC_UNLBL_ALLOW) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_ALLOW) && HAVE_DECL_AUDIT_MAC_UNLBL_ALLOW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_UNLBL_ALLOW) == (1406), "AUDIT_MAC_UNLBL_ALLOW != 1406"); @@ -490,6 +1238,16 @@ #else # define AUDIT_MAC_UNLBL_ALLOW 1406 #endif +#if defined(AUDIT_MAC_UNLBL_ALLOW) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_ALLOW) && HAVE_DECL_AUDIT_MAC_UNLBL_ALLOW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_UNLBL_ALLOW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_UNLBL_ALLOW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_UNLBL_ALLOW) +#endif #if defined(AUDIT_MAC_CIPSOV4_ADD) || (defined(HAVE_DECL_AUDIT_MAC_CIPSOV4_ADD) && HAVE_DECL_AUDIT_MAC_CIPSOV4_ADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_CIPSOV4_ADD) == (1407), "AUDIT_MAC_CIPSOV4_ADD != 1407"); @@ -497,6 +1255,16 @@ #else # define AUDIT_MAC_CIPSOV4_ADD 1407 #endif +#if defined(AUDIT_MAC_CIPSOV4_ADD) || (defined(HAVE_DECL_AUDIT_MAC_CIPSOV4_ADD) && HAVE_DECL_AUDIT_MAC_CIPSOV4_ADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_CIPSOV4_ADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_CIPSOV4_ADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_CIPSOV4_ADD) +#endif #if defined(AUDIT_MAC_CIPSOV4_DEL) || (defined(HAVE_DECL_AUDIT_MAC_CIPSOV4_DEL) && HAVE_DECL_AUDIT_MAC_CIPSOV4_DEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_CIPSOV4_DEL) == (1408), "AUDIT_MAC_CIPSOV4_DEL != 1408"); @@ -504,6 +1272,16 @@ #else # define AUDIT_MAC_CIPSOV4_DEL 1408 #endif +#if defined(AUDIT_MAC_CIPSOV4_DEL) || (defined(HAVE_DECL_AUDIT_MAC_CIPSOV4_DEL) && HAVE_DECL_AUDIT_MAC_CIPSOV4_DEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_CIPSOV4_DEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_CIPSOV4_DEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_CIPSOV4_DEL) +#endif #if defined(AUDIT_MAC_MAP_ADD) || (defined(HAVE_DECL_AUDIT_MAC_MAP_ADD) && HAVE_DECL_AUDIT_MAC_MAP_ADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_MAP_ADD) == (1409), "AUDIT_MAC_MAP_ADD != 1409"); @@ -511,6 +1289,16 @@ #else # define AUDIT_MAC_MAP_ADD 1409 #endif +#if defined(AUDIT_MAC_MAP_ADD) || (defined(HAVE_DECL_AUDIT_MAC_MAP_ADD) && HAVE_DECL_AUDIT_MAC_MAP_ADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_MAP_ADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_MAP_ADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_MAP_ADD) +#endif #if defined(AUDIT_MAC_MAP_DEL) || (defined(HAVE_DECL_AUDIT_MAC_MAP_DEL) && HAVE_DECL_AUDIT_MAC_MAP_DEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_MAP_DEL) == (1410), "AUDIT_MAC_MAP_DEL != 1410"); @@ -518,6 +1306,16 @@ #else # define AUDIT_MAC_MAP_DEL 1410 #endif +#if defined(AUDIT_MAC_MAP_DEL) || (defined(HAVE_DECL_AUDIT_MAC_MAP_DEL) && HAVE_DECL_AUDIT_MAC_MAP_DEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_MAP_DEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_MAP_DEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_MAP_DEL) +#endif #if defined(AUDIT_MAC_IPSEC_ADDSA) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_ADDSA) && HAVE_DECL_AUDIT_MAC_IPSEC_ADDSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_IPSEC_ADDSA) == (1411), "AUDIT_MAC_IPSEC_ADDSA != 1411"); @@ -525,6 +1323,16 @@ #else # define AUDIT_MAC_IPSEC_ADDSA 1411 #endif +#if defined(AUDIT_MAC_IPSEC_ADDSA) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_ADDSA) && HAVE_DECL_AUDIT_MAC_IPSEC_ADDSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_IPSEC_ADDSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_IPSEC_ADDSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_IPSEC_ADDSA) +#endif #if defined(AUDIT_MAC_IPSEC_DELSA) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_DELSA) && HAVE_DECL_AUDIT_MAC_IPSEC_DELSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_IPSEC_DELSA) == (1412), "AUDIT_MAC_IPSEC_DELSA != 1412"); @@ -532,6 +1340,16 @@ #else # define AUDIT_MAC_IPSEC_DELSA 1412 #endif +#if defined(AUDIT_MAC_IPSEC_DELSA) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_DELSA) && HAVE_DECL_AUDIT_MAC_IPSEC_DELSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_IPSEC_DELSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_IPSEC_DELSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_IPSEC_DELSA) +#endif #if defined(AUDIT_MAC_IPSEC_ADDSPD) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_ADDSPD) && HAVE_DECL_AUDIT_MAC_IPSEC_ADDSPD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_IPSEC_ADDSPD) == (1413), "AUDIT_MAC_IPSEC_ADDSPD != 1413"); @@ -539,6 +1357,16 @@ #else # define AUDIT_MAC_IPSEC_ADDSPD 1413 #endif +#if defined(AUDIT_MAC_IPSEC_ADDSPD) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_ADDSPD) && HAVE_DECL_AUDIT_MAC_IPSEC_ADDSPD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_IPSEC_ADDSPD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_IPSEC_ADDSPD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_IPSEC_ADDSPD) +#endif #if defined(AUDIT_MAC_IPSEC_DELSPD) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_DELSPD) && HAVE_DECL_AUDIT_MAC_IPSEC_DELSPD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_IPSEC_DELSPD) == (1414), "AUDIT_MAC_IPSEC_DELSPD != 1414"); @@ -546,6 +1374,16 @@ #else # define AUDIT_MAC_IPSEC_DELSPD 1414 #endif +#if defined(AUDIT_MAC_IPSEC_DELSPD) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_DELSPD) && HAVE_DECL_AUDIT_MAC_IPSEC_DELSPD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_IPSEC_DELSPD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_IPSEC_DELSPD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_IPSEC_DELSPD) +#endif #if defined(AUDIT_MAC_IPSEC_EVENT) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_EVENT) && HAVE_DECL_AUDIT_MAC_IPSEC_EVENT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_IPSEC_EVENT) == (1415), "AUDIT_MAC_IPSEC_EVENT != 1415"); @@ -553,6 +1391,16 @@ #else # define AUDIT_MAC_IPSEC_EVENT 1415 #endif +#if defined(AUDIT_MAC_IPSEC_EVENT) || (defined(HAVE_DECL_AUDIT_MAC_IPSEC_EVENT) && HAVE_DECL_AUDIT_MAC_IPSEC_EVENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_IPSEC_EVENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_IPSEC_EVENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_IPSEC_EVENT) +#endif #if defined(AUDIT_MAC_UNLBL_STCADD) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_STCADD) && HAVE_DECL_AUDIT_MAC_UNLBL_STCADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_UNLBL_STCADD) == (1416), "AUDIT_MAC_UNLBL_STCADD != 1416"); @@ -560,6 +1408,16 @@ #else # define AUDIT_MAC_UNLBL_STCADD 1416 #endif +#if defined(AUDIT_MAC_UNLBL_STCADD) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_STCADD) && HAVE_DECL_AUDIT_MAC_UNLBL_STCADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_UNLBL_STCADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_UNLBL_STCADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_UNLBL_STCADD) +#endif #if defined(AUDIT_MAC_UNLBL_STCDEL) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_STCDEL) && HAVE_DECL_AUDIT_MAC_UNLBL_STCDEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_UNLBL_STCDEL) == (1417), "AUDIT_MAC_UNLBL_STCDEL != 1417"); @@ -567,6 +1425,16 @@ #else # define AUDIT_MAC_UNLBL_STCDEL 1417 #endif +#if defined(AUDIT_MAC_UNLBL_STCDEL) || (defined(HAVE_DECL_AUDIT_MAC_UNLBL_STCDEL) && HAVE_DECL_AUDIT_MAC_UNLBL_STCDEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_UNLBL_STCDEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_UNLBL_STCDEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_UNLBL_STCDEL) +#endif #if defined(AUDIT_MAC_CALIPSO_ADD) || (defined(HAVE_DECL_AUDIT_MAC_CALIPSO_ADD) && HAVE_DECL_AUDIT_MAC_CALIPSO_ADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_CALIPSO_ADD) == (1418), "AUDIT_MAC_CALIPSO_ADD != 1418"); @@ -574,6 +1442,16 @@ #else # define AUDIT_MAC_CALIPSO_ADD 1418 #endif +#if defined(AUDIT_MAC_CALIPSO_ADD) || (defined(HAVE_DECL_AUDIT_MAC_CALIPSO_ADD) && HAVE_DECL_AUDIT_MAC_CALIPSO_ADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_CALIPSO_ADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_CALIPSO_ADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_CALIPSO_ADD) +#endif #if defined(AUDIT_MAC_CALIPSO_DEL) || (defined(HAVE_DECL_AUDIT_MAC_CALIPSO_DEL) && HAVE_DECL_AUDIT_MAC_CALIPSO_DEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_MAC_CALIPSO_DEL) == (1419), "AUDIT_MAC_CALIPSO_DEL != 1419"); @@ -581,6 +1459,16 @@ #else # define AUDIT_MAC_CALIPSO_DEL 1419 #endif +#if defined(AUDIT_MAC_CALIPSO_DEL) || (defined(HAVE_DECL_AUDIT_MAC_CALIPSO_DEL) && HAVE_DECL_AUDIT_MAC_CALIPSO_DEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_MAC_CALIPSO_DEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_MAC_CALIPSO_DEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_MAC_CALIPSO_DEL) +#endif #if defined(AUDIT_ANOM_PROMISCUOUS) || (defined(HAVE_DECL_AUDIT_ANOM_PROMISCUOUS) && HAVE_DECL_AUDIT_ANOM_PROMISCUOUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ANOM_PROMISCUOUS) == (1700), "AUDIT_ANOM_PROMISCUOUS != 1700"); @@ -588,6 +1476,16 @@ #else # define AUDIT_ANOM_PROMISCUOUS 1700 #endif +#if defined(AUDIT_ANOM_PROMISCUOUS) || (defined(HAVE_DECL_AUDIT_ANOM_PROMISCUOUS) && HAVE_DECL_AUDIT_ANOM_PROMISCUOUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ANOM_PROMISCUOUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ANOM_PROMISCUOUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ANOM_PROMISCUOUS) +#endif #if defined(AUDIT_ANOM_ABEND) || (defined(HAVE_DECL_AUDIT_ANOM_ABEND) && HAVE_DECL_AUDIT_ANOM_ABEND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ANOM_ABEND) == (1701), "AUDIT_ANOM_ABEND != 1701"); @@ -595,6 +1493,16 @@ #else # define AUDIT_ANOM_ABEND 1701 #endif +#if defined(AUDIT_ANOM_ABEND) || (defined(HAVE_DECL_AUDIT_ANOM_ABEND) && HAVE_DECL_AUDIT_ANOM_ABEND) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ANOM_ABEND) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ANOM_ABEND" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ANOM_ABEND) +#endif #if defined(AUDIT_ANOM_LINK) || (defined(HAVE_DECL_AUDIT_ANOM_LINK) && HAVE_DECL_AUDIT_ANOM_LINK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ANOM_LINK) == (1702), "AUDIT_ANOM_LINK != 1702"); @@ -602,6 +1510,16 @@ #else # define AUDIT_ANOM_LINK 1702 #endif +#if defined(AUDIT_ANOM_LINK) || (defined(HAVE_DECL_AUDIT_ANOM_LINK) && HAVE_DECL_AUDIT_ANOM_LINK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ANOM_LINK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ANOM_LINK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ANOM_LINK) +#endif #if defined(AUDIT_ANOM_CREAT) || (defined(HAVE_DECL_AUDIT_ANOM_CREAT) && HAVE_DECL_AUDIT_ANOM_CREAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_ANOM_CREAT) == (1703), "AUDIT_ANOM_CREAT != 1703"); @@ -609,6 +1527,16 @@ #else # define AUDIT_ANOM_CREAT 1703 #endif +#if defined(AUDIT_ANOM_CREAT) || (defined(HAVE_DECL_AUDIT_ANOM_CREAT) && HAVE_DECL_AUDIT_ANOM_CREAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_ANOM_CREAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_ANOM_CREAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_ANOM_CREAT) +#endif #if defined(AUDIT_LAST_KERN_ANOM_MSG) || (defined(HAVE_DECL_AUDIT_LAST_KERN_ANOM_MSG) && HAVE_DECL_AUDIT_LAST_KERN_ANOM_MSG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LAST_KERN_ANOM_MSG) == (1799), "AUDIT_LAST_KERN_ANOM_MSG != 1799"); @@ -616,6 +1544,16 @@ #else # define AUDIT_LAST_KERN_ANOM_MSG 1799 #endif +#if defined(AUDIT_LAST_KERN_ANOM_MSG) || (defined(HAVE_DECL_AUDIT_LAST_KERN_ANOM_MSG) && HAVE_DECL_AUDIT_LAST_KERN_ANOM_MSG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LAST_KERN_ANOM_MSG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LAST_KERN_ANOM_MSG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LAST_KERN_ANOM_MSG) +#endif #if defined(AUDIT_INTEGRITY_DATA) || (defined(HAVE_DECL_AUDIT_INTEGRITY_DATA) && HAVE_DECL_AUDIT_INTEGRITY_DATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_DATA) == (1800), "AUDIT_INTEGRITY_DATA != 1800"); @@ -623,6 +1561,16 @@ #else # define AUDIT_INTEGRITY_DATA 1800 #endif +#if defined(AUDIT_INTEGRITY_DATA) || (defined(HAVE_DECL_AUDIT_INTEGRITY_DATA) && HAVE_DECL_AUDIT_INTEGRITY_DATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_DATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_DATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_DATA) +#endif #if defined(AUDIT_INTEGRITY_METADATA) || (defined(HAVE_DECL_AUDIT_INTEGRITY_METADATA) && HAVE_DECL_AUDIT_INTEGRITY_METADATA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_METADATA) == (1801), "AUDIT_INTEGRITY_METADATA != 1801"); @@ -630,6 +1578,16 @@ #else # define AUDIT_INTEGRITY_METADATA 1801 #endif +#if defined(AUDIT_INTEGRITY_METADATA) || (defined(HAVE_DECL_AUDIT_INTEGRITY_METADATA) && HAVE_DECL_AUDIT_INTEGRITY_METADATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_METADATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_METADATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_METADATA) +#endif #if defined(AUDIT_INTEGRITY_STATUS) || (defined(HAVE_DECL_AUDIT_INTEGRITY_STATUS) && HAVE_DECL_AUDIT_INTEGRITY_STATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_STATUS) == (1802), "AUDIT_INTEGRITY_STATUS != 1802"); @@ -637,6 +1595,16 @@ #else # define AUDIT_INTEGRITY_STATUS 1802 #endif +#if defined(AUDIT_INTEGRITY_STATUS) || (defined(HAVE_DECL_AUDIT_INTEGRITY_STATUS) && HAVE_DECL_AUDIT_INTEGRITY_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_STATUS) +#endif #if defined(AUDIT_INTEGRITY_HASH) || (defined(HAVE_DECL_AUDIT_INTEGRITY_HASH) && HAVE_DECL_AUDIT_INTEGRITY_HASH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_HASH) == (1803), "AUDIT_INTEGRITY_HASH != 1803"); @@ -644,6 +1612,16 @@ #else # define AUDIT_INTEGRITY_HASH 1803 #endif +#if defined(AUDIT_INTEGRITY_HASH) || (defined(HAVE_DECL_AUDIT_INTEGRITY_HASH) && HAVE_DECL_AUDIT_INTEGRITY_HASH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_HASH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_HASH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_HASH) +#endif #if defined(AUDIT_INTEGRITY_PCR) || (defined(HAVE_DECL_AUDIT_INTEGRITY_PCR) && HAVE_DECL_AUDIT_INTEGRITY_PCR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_PCR) == (1804), "AUDIT_INTEGRITY_PCR != 1804"); @@ -651,6 +1629,16 @@ #else # define AUDIT_INTEGRITY_PCR 1804 #endif +#if defined(AUDIT_INTEGRITY_PCR) || (defined(HAVE_DECL_AUDIT_INTEGRITY_PCR) && HAVE_DECL_AUDIT_INTEGRITY_PCR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_PCR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_PCR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_PCR) +#endif #if defined(AUDIT_INTEGRITY_RULE) || (defined(HAVE_DECL_AUDIT_INTEGRITY_RULE) && HAVE_DECL_AUDIT_INTEGRITY_RULE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_RULE) == (1805), "AUDIT_INTEGRITY_RULE != 1805"); @@ -658,6 +1646,16 @@ #else # define AUDIT_INTEGRITY_RULE 1805 #endif +#if defined(AUDIT_INTEGRITY_RULE) || (defined(HAVE_DECL_AUDIT_INTEGRITY_RULE) && HAVE_DECL_AUDIT_INTEGRITY_RULE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_RULE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_RULE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_RULE) +#endif #if defined(AUDIT_INTEGRITY_EVM_XATTR) || (defined(HAVE_DECL_AUDIT_INTEGRITY_EVM_XATTR) && HAVE_DECL_AUDIT_INTEGRITY_EVM_XATTR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_EVM_XATTR) == (1806), "AUDIT_INTEGRITY_EVM_XATTR != 1806"); @@ -665,6 +1663,16 @@ #else # define AUDIT_INTEGRITY_EVM_XATTR 1806 #endif +#if defined(AUDIT_INTEGRITY_EVM_XATTR) || (defined(HAVE_DECL_AUDIT_INTEGRITY_EVM_XATTR) && HAVE_DECL_AUDIT_INTEGRITY_EVM_XATTR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_EVM_XATTR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_EVM_XATTR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_EVM_XATTR) +#endif #if defined(AUDIT_INTEGRITY_POLICY_RULE) || (defined(HAVE_DECL_AUDIT_INTEGRITY_POLICY_RULE) && HAVE_DECL_AUDIT_INTEGRITY_POLICY_RULE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_INTEGRITY_POLICY_RULE) == (1807), "AUDIT_INTEGRITY_POLICY_RULE != 1807"); @@ -672,6 +1680,16 @@ #else # define AUDIT_INTEGRITY_POLICY_RULE 1807 #endif +#if defined(AUDIT_INTEGRITY_POLICY_RULE) || (defined(HAVE_DECL_AUDIT_INTEGRITY_POLICY_RULE) && HAVE_DECL_AUDIT_INTEGRITY_POLICY_RULE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_INTEGRITY_POLICY_RULE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_INTEGRITY_POLICY_RULE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_INTEGRITY_POLICY_RULE) +#endif #if defined(AUDIT_KERNEL) || (defined(HAVE_DECL_AUDIT_KERNEL) && HAVE_DECL_AUDIT_KERNEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_KERNEL) == (2000), "AUDIT_KERNEL != 2000"); @@ -679,6 +1697,16 @@ #else # define AUDIT_KERNEL 2000 #endif +#if defined(AUDIT_KERNEL) || (defined(HAVE_DECL_AUDIT_KERNEL) && HAVE_DECL_AUDIT_KERNEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_KERNEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_KERNEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_KERNEL) +#endif #if defined(AUDIT_FIRST_USER_MSG2) || (defined(HAVE_DECL_AUDIT_FIRST_USER_MSG2) && HAVE_DECL_AUDIT_FIRST_USER_MSG2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_FIRST_USER_MSG2) == (2100), "AUDIT_FIRST_USER_MSG2 != 2100"); @@ -686,6 +1714,16 @@ #else # define AUDIT_FIRST_USER_MSG2 2100 #endif +#if defined(AUDIT_FIRST_USER_MSG2) || (defined(HAVE_DECL_AUDIT_FIRST_USER_MSG2) && HAVE_DECL_AUDIT_FIRST_USER_MSG2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_FIRST_USER_MSG2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_FIRST_USER_MSG2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_FIRST_USER_MSG2) +#endif #if defined(AUDIT_LAST_USER_MSG2) || (defined(HAVE_DECL_AUDIT_LAST_USER_MSG2) && HAVE_DECL_AUDIT_LAST_USER_MSG2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AUDIT_LAST_USER_MSG2) == (2999), "AUDIT_LAST_USER_MSG2 != 2999"); @@ -693,6 +1731,17 @@ #else # define AUDIT_LAST_USER_MSG2 2999 #endif +#if defined(AUDIT_LAST_USER_MSG2) || (defined(HAVE_DECL_AUDIT_LAST_USER_MSG2) && HAVE_DECL_AUDIT_LAST_USER_MSG2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AUDIT_LAST_USER_MSG2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AUDIT_LAST_USER_MSG2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AUDIT_LAST_USER_MSG2) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -910,119 +1959,131 @@ XLAT(AUDIT_EVENT_LISTENER), #define XLAT_VAL_61 ((unsigned) (AUDIT_EVENT_LISTENER)) #define XLAT_STR_61 STRINGIFY(AUDIT_EVENT_LISTENER) + XLAT(AUDIT_URINGOP), + #define XLAT_VAL_62 ((unsigned) (AUDIT_URINGOP)) + #define XLAT_STR_62 STRINGIFY(AUDIT_URINGOP) + XLAT(AUDIT_OPENAT2), + #define XLAT_VAL_63 ((unsigned) (AUDIT_OPENAT2)) + #define XLAT_STR_63 STRINGIFY(AUDIT_OPENAT2) + XLAT(AUDIT_DM_CTRL), + #define XLAT_VAL_64 ((unsigned) (AUDIT_DM_CTRL)) + #define XLAT_STR_64 STRINGIFY(AUDIT_DM_CTRL) + XLAT(AUDIT_DM_EVENT), + #define XLAT_VAL_65 ((unsigned) (AUDIT_DM_EVENT)) + #define XLAT_STR_65 STRINGIFY(AUDIT_DM_EVENT) XLAT(AUDIT_AVC), - #define XLAT_VAL_62 ((unsigned) (AUDIT_AVC)) - #define XLAT_STR_62 STRINGIFY(AUDIT_AVC) + #define XLAT_VAL_66 ((unsigned) (AUDIT_AVC)) + #define XLAT_STR_66 STRINGIFY(AUDIT_AVC) XLAT(AUDIT_SELINUX_ERR), - #define XLAT_VAL_63 ((unsigned) (AUDIT_SELINUX_ERR)) - #define XLAT_STR_63 STRINGIFY(AUDIT_SELINUX_ERR) + #define XLAT_VAL_67 ((unsigned) (AUDIT_SELINUX_ERR)) + #define XLAT_STR_67 STRINGIFY(AUDIT_SELINUX_ERR) XLAT(AUDIT_AVC_PATH), - #define XLAT_VAL_64 ((unsigned) (AUDIT_AVC_PATH)) - #define XLAT_STR_64 STRINGIFY(AUDIT_AVC_PATH) + #define XLAT_VAL_68 ((unsigned) (AUDIT_AVC_PATH)) + #define XLAT_STR_68 STRINGIFY(AUDIT_AVC_PATH) XLAT(AUDIT_MAC_POLICY_LOAD), - #define XLAT_VAL_65 ((unsigned) (AUDIT_MAC_POLICY_LOAD)) - #define XLAT_STR_65 STRINGIFY(AUDIT_MAC_POLICY_LOAD) + #define XLAT_VAL_69 ((unsigned) (AUDIT_MAC_POLICY_LOAD)) + #define XLAT_STR_69 STRINGIFY(AUDIT_MAC_POLICY_LOAD) XLAT(AUDIT_MAC_STATUS), - #define XLAT_VAL_66 ((unsigned) (AUDIT_MAC_STATUS)) - #define XLAT_STR_66 STRINGIFY(AUDIT_MAC_STATUS) + #define XLAT_VAL_70 ((unsigned) (AUDIT_MAC_STATUS)) + #define XLAT_STR_70 STRINGIFY(AUDIT_MAC_STATUS) XLAT(AUDIT_MAC_CONFIG_CHANGE), - #define XLAT_VAL_67 ((unsigned) (AUDIT_MAC_CONFIG_CHANGE)) - #define XLAT_STR_67 STRINGIFY(AUDIT_MAC_CONFIG_CHANGE) + #define XLAT_VAL_71 ((unsigned) (AUDIT_MAC_CONFIG_CHANGE)) + #define XLAT_STR_71 STRINGIFY(AUDIT_MAC_CONFIG_CHANGE) XLAT(AUDIT_MAC_UNLBL_ALLOW), - #define XLAT_VAL_68 ((unsigned) (AUDIT_MAC_UNLBL_ALLOW)) - #define XLAT_STR_68 STRINGIFY(AUDIT_MAC_UNLBL_ALLOW) + #define XLAT_VAL_72 ((unsigned) (AUDIT_MAC_UNLBL_ALLOW)) + #define XLAT_STR_72 STRINGIFY(AUDIT_MAC_UNLBL_ALLOW) XLAT(AUDIT_MAC_CIPSOV4_ADD), - #define XLAT_VAL_69 ((unsigned) (AUDIT_MAC_CIPSOV4_ADD)) - #define XLAT_STR_69 STRINGIFY(AUDIT_MAC_CIPSOV4_ADD) + #define XLAT_VAL_73 ((unsigned) (AUDIT_MAC_CIPSOV4_ADD)) + #define XLAT_STR_73 STRINGIFY(AUDIT_MAC_CIPSOV4_ADD) XLAT(AUDIT_MAC_CIPSOV4_DEL), - #define XLAT_VAL_70 ((unsigned) (AUDIT_MAC_CIPSOV4_DEL)) - #define XLAT_STR_70 STRINGIFY(AUDIT_MAC_CIPSOV4_DEL) + #define XLAT_VAL_74 ((unsigned) (AUDIT_MAC_CIPSOV4_DEL)) + #define XLAT_STR_74 STRINGIFY(AUDIT_MAC_CIPSOV4_DEL) XLAT(AUDIT_MAC_MAP_ADD), - #define XLAT_VAL_71 ((unsigned) (AUDIT_MAC_MAP_ADD)) - #define XLAT_STR_71 STRINGIFY(AUDIT_MAC_MAP_ADD) + #define XLAT_VAL_75 ((unsigned) (AUDIT_MAC_MAP_ADD)) + #define XLAT_STR_75 STRINGIFY(AUDIT_MAC_MAP_ADD) XLAT(AUDIT_MAC_MAP_DEL), - #define XLAT_VAL_72 ((unsigned) (AUDIT_MAC_MAP_DEL)) - #define XLAT_STR_72 STRINGIFY(AUDIT_MAC_MAP_DEL) + #define XLAT_VAL_76 ((unsigned) (AUDIT_MAC_MAP_DEL)) + #define XLAT_STR_76 STRINGIFY(AUDIT_MAC_MAP_DEL) XLAT(AUDIT_MAC_IPSEC_ADDSA), - #define XLAT_VAL_73 ((unsigned) (AUDIT_MAC_IPSEC_ADDSA)) - #define XLAT_STR_73 STRINGIFY(AUDIT_MAC_IPSEC_ADDSA) + #define XLAT_VAL_77 ((unsigned) (AUDIT_MAC_IPSEC_ADDSA)) + #define XLAT_STR_77 STRINGIFY(AUDIT_MAC_IPSEC_ADDSA) XLAT(AUDIT_MAC_IPSEC_DELSA), - #define XLAT_VAL_74 ((unsigned) (AUDIT_MAC_IPSEC_DELSA)) - #define XLAT_STR_74 STRINGIFY(AUDIT_MAC_IPSEC_DELSA) + #define XLAT_VAL_78 ((unsigned) (AUDIT_MAC_IPSEC_DELSA)) + #define XLAT_STR_78 STRINGIFY(AUDIT_MAC_IPSEC_DELSA) XLAT(AUDIT_MAC_IPSEC_ADDSPD), - #define XLAT_VAL_75 ((unsigned) (AUDIT_MAC_IPSEC_ADDSPD)) - #define XLAT_STR_75 STRINGIFY(AUDIT_MAC_IPSEC_ADDSPD) + #define XLAT_VAL_79 ((unsigned) (AUDIT_MAC_IPSEC_ADDSPD)) + #define XLAT_STR_79 STRINGIFY(AUDIT_MAC_IPSEC_ADDSPD) XLAT(AUDIT_MAC_IPSEC_DELSPD), - #define XLAT_VAL_76 ((unsigned) (AUDIT_MAC_IPSEC_DELSPD)) - #define XLAT_STR_76 STRINGIFY(AUDIT_MAC_IPSEC_DELSPD) + #define XLAT_VAL_80 ((unsigned) (AUDIT_MAC_IPSEC_DELSPD)) + #define XLAT_STR_80 STRINGIFY(AUDIT_MAC_IPSEC_DELSPD) XLAT(AUDIT_MAC_IPSEC_EVENT), - #define XLAT_VAL_77 ((unsigned) (AUDIT_MAC_IPSEC_EVENT)) - #define XLAT_STR_77 STRINGIFY(AUDIT_MAC_IPSEC_EVENT) + #define XLAT_VAL_81 ((unsigned) (AUDIT_MAC_IPSEC_EVENT)) + #define XLAT_STR_81 STRINGIFY(AUDIT_MAC_IPSEC_EVENT) XLAT(AUDIT_MAC_UNLBL_STCADD), - #define XLAT_VAL_78 ((unsigned) (AUDIT_MAC_UNLBL_STCADD)) - #define XLAT_STR_78 STRINGIFY(AUDIT_MAC_UNLBL_STCADD) + #define XLAT_VAL_82 ((unsigned) (AUDIT_MAC_UNLBL_STCADD)) + #define XLAT_STR_82 STRINGIFY(AUDIT_MAC_UNLBL_STCADD) XLAT(AUDIT_MAC_UNLBL_STCDEL), - #define XLAT_VAL_79 ((unsigned) (AUDIT_MAC_UNLBL_STCDEL)) - #define XLAT_STR_79 STRINGIFY(AUDIT_MAC_UNLBL_STCDEL) + #define XLAT_VAL_83 ((unsigned) (AUDIT_MAC_UNLBL_STCDEL)) + #define XLAT_STR_83 STRINGIFY(AUDIT_MAC_UNLBL_STCDEL) XLAT(AUDIT_MAC_CALIPSO_ADD), - #define XLAT_VAL_80 ((unsigned) (AUDIT_MAC_CALIPSO_ADD)) - #define XLAT_STR_80 STRINGIFY(AUDIT_MAC_CALIPSO_ADD) + #define XLAT_VAL_84 ((unsigned) (AUDIT_MAC_CALIPSO_ADD)) + #define XLAT_STR_84 STRINGIFY(AUDIT_MAC_CALIPSO_ADD) XLAT(AUDIT_MAC_CALIPSO_DEL), - #define XLAT_VAL_81 ((unsigned) (AUDIT_MAC_CALIPSO_DEL)) - #define XLAT_STR_81 STRINGIFY(AUDIT_MAC_CALIPSO_DEL) + #define XLAT_VAL_85 ((unsigned) (AUDIT_MAC_CALIPSO_DEL)) + #define XLAT_STR_85 STRINGIFY(AUDIT_MAC_CALIPSO_DEL) XLAT(AUDIT_ANOM_PROMISCUOUS), - #define XLAT_VAL_82 ((unsigned) (AUDIT_ANOM_PROMISCUOUS)) - #define XLAT_STR_82 STRINGIFY(AUDIT_ANOM_PROMISCUOUS) + #define XLAT_VAL_86 ((unsigned) (AUDIT_ANOM_PROMISCUOUS)) + #define XLAT_STR_86 STRINGIFY(AUDIT_ANOM_PROMISCUOUS) XLAT(AUDIT_ANOM_ABEND), - #define XLAT_VAL_83 ((unsigned) (AUDIT_ANOM_ABEND)) - #define XLAT_STR_83 STRINGIFY(AUDIT_ANOM_ABEND) + #define XLAT_VAL_87 ((unsigned) (AUDIT_ANOM_ABEND)) + #define XLAT_STR_87 STRINGIFY(AUDIT_ANOM_ABEND) XLAT(AUDIT_ANOM_LINK), - #define XLAT_VAL_84 ((unsigned) (AUDIT_ANOM_LINK)) - #define XLAT_STR_84 STRINGIFY(AUDIT_ANOM_LINK) + #define XLAT_VAL_88 ((unsigned) (AUDIT_ANOM_LINK)) + #define XLAT_STR_88 STRINGIFY(AUDIT_ANOM_LINK) XLAT(AUDIT_ANOM_CREAT), - #define XLAT_VAL_85 ((unsigned) (AUDIT_ANOM_CREAT)) - #define XLAT_STR_85 STRINGIFY(AUDIT_ANOM_CREAT) + #define XLAT_VAL_89 ((unsigned) (AUDIT_ANOM_CREAT)) + #define XLAT_STR_89 STRINGIFY(AUDIT_ANOM_CREAT) XLAT(AUDIT_LAST_KERN_ANOM_MSG), - #define XLAT_VAL_86 ((unsigned) (AUDIT_LAST_KERN_ANOM_MSG)) - #define XLAT_STR_86 STRINGIFY(AUDIT_LAST_KERN_ANOM_MSG) + #define XLAT_VAL_90 ((unsigned) (AUDIT_LAST_KERN_ANOM_MSG)) + #define XLAT_STR_90 STRINGIFY(AUDIT_LAST_KERN_ANOM_MSG) XLAT(AUDIT_INTEGRITY_DATA), - #define XLAT_VAL_87 ((unsigned) (AUDIT_INTEGRITY_DATA)) - #define XLAT_STR_87 STRINGIFY(AUDIT_INTEGRITY_DATA) + #define XLAT_VAL_91 ((unsigned) (AUDIT_INTEGRITY_DATA)) + #define XLAT_STR_91 STRINGIFY(AUDIT_INTEGRITY_DATA) XLAT(AUDIT_INTEGRITY_METADATA), - #define XLAT_VAL_88 ((unsigned) (AUDIT_INTEGRITY_METADATA)) - #define XLAT_STR_88 STRINGIFY(AUDIT_INTEGRITY_METADATA) + #define XLAT_VAL_92 ((unsigned) (AUDIT_INTEGRITY_METADATA)) + #define XLAT_STR_92 STRINGIFY(AUDIT_INTEGRITY_METADATA) XLAT(AUDIT_INTEGRITY_STATUS), - #define XLAT_VAL_89 ((unsigned) (AUDIT_INTEGRITY_STATUS)) - #define XLAT_STR_89 STRINGIFY(AUDIT_INTEGRITY_STATUS) + #define XLAT_VAL_93 ((unsigned) (AUDIT_INTEGRITY_STATUS)) + #define XLAT_STR_93 STRINGIFY(AUDIT_INTEGRITY_STATUS) XLAT(AUDIT_INTEGRITY_HASH), - #define XLAT_VAL_90 ((unsigned) (AUDIT_INTEGRITY_HASH)) - #define XLAT_STR_90 STRINGIFY(AUDIT_INTEGRITY_HASH) + #define XLAT_VAL_94 ((unsigned) (AUDIT_INTEGRITY_HASH)) + #define XLAT_STR_94 STRINGIFY(AUDIT_INTEGRITY_HASH) XLAT(AUDIT_INTEGRITY_PCR), - #define XLAT_VAL_91 ((unsigned) (AUDIT_INTEGRITY_PCR)) - #define XLAT_STR_91 STRINGIFY(AUDIT_INTEGRITY_PCR) + #define XLAT_VAL_95 ((unsigned) (AUDIT_INTEGRITY_PCR)) + #define XLAT_STR_95 STRINGIFY(AUDIT_INTEGRITY_PCR) XLAT(AUDIT_INTEGRITY_RULE), - #define XLAT_VAL_92 ((unsigned) (AUDIT_INTEGRITY_RULE)) - #define XLAT_STR_92 STRINGIFY(AUDIT_INTEGRITY_RULE) + #define XLAT_VAL_96 ((unsigned) (AUDIT_INTEGRITY_RULE)) + #define XLAT_STR_96 STRINGIFY(AUDIT_INTEGRITY_RULE) XLAT(AUDIT_INTEGRITY_EVM_XATTR), - #define XLAT_VAL_93 ((unsigned) (AUDIT_INTEGRITY_EVM_XATTR)) - #define XLAT_STR_93 STRINGIFY(AUDIT_INTEGRITY_EVM_XATTR) + #define XLAT_VAL_97 ((unsigned) (AUDIT_INTEGRITY_EVM_XATTR)) + #define XLAT_STR_97 STRINGIFY(AUDIT_INTEGRITY_EVM_XATTR) XLAT(AUDIT_INTEGRITY_POLICY_RULE), - #define XLAT_VAL_94 ((unsigned) (AUDIT_INTEGRITY_POLICY_RULE)) - #define XLAT_STR_94 STRINGIFY(AUDIT_INTEGRITY_POLICY_RULE) + #define XLAT_VAL_98 ((unsigned) (AUDIT_INTEGRITY_POLICY_RULE)) + #define XLAT_STR_98 STRINGIFY(AUDIT_INTEGRITY_POLICY_RULE) XLAT(AUDIT_KERNEL), - #define XLAT_VAL_95 ((unsigned) (AUDIT_KERNEL)) - #define XLAT_STR_95 STRINGIFY(AUDIT_KERNEL) + #define XLAT_VAL_99 ((unsigned) (AUDIT_KERNEL)) + #define XLAT_STR_99 STRINGIFY(AUDIT_KERNEL) XLAT(AUDIT_FIRST_USER_MSG2), - #define XLAT_VAL_96 ((unsigned) (AUDIT_FIRST_USER_MSG2)) - #define XLAT_STR_96 STRINGIFY(AUDIT_FIRST_USER_MSG2) + #define XLAT_VAL_100 ((unsigned) (AUDIT_FIRST_USER_MSG2)) + #define XLAT_STR_100 STRINGIFY(AUDIT_FIRST_USER_MSG2) XLAT(AUDIT_LAST_USER_MSG2), - #define XLAT_VAL_97 ((unsigned) (AUDIT_LAST_USER_MSG2)) - #define XLAT_STR_97 STRINGIFY(AUDIT_LAST_USER_MSG2) + #define XLAT_VAL_101 ((unsigned) (AUDIT_LAST_USER_MSG2)) + #define XLAT_STR_101 STRINGIFY(AUDIT_LAST_USER_MSG2) }; static const struct xlat nl_audit_types1 = { { @@ -1324,6 +2385,18 @@ # ifdef XLAT_VAL_97 | XLAT_VAL_97 # endif +# ifdef XLAT_VAL_98 + | XLAT_VAL_98 +# endif +# ifdef XLAT_VAL_99 + | XLAT_VAL_99 +# endif +# ifdef XLAT_VAL_100 + | XLAT_VAL_100 +# endif +# ifdef XLAT_VAL_101 + | XLAT_VAL_101 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1620,6 +2693,18 @@ # ifdef XLAT_STR_97 + sizeof(XLAT_STR_97) # endif +# ifdef XLAT_STR_98 + + sizeof(XLAT_STR_98) +# endif +# ifdef XLAT_STR_99 + + sizeof(XLAT_STR_99) +# endif +# ifdef XLAT_STR_100 + + sizeof(XLAT_STR_100) +# endif +# ifdef XLAT_STR_101 + + sizeof(XLAT_STR_101) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -1820,6 +2905,14 @@ # undef XLAT_VAL_96 # undef XLAT_STR_97 # undef XLAT_VAL_97 +# undef XLAT_STR_98 +# undef XLAT_VAL_98 +# undef XLAT_STR_99 +# undef XLAT_VAL_99 +# undef XLAT_STR_100 +# undef XLAT_VAL_100 +# undef XLAT_STR_101 +# undef XLAT_VAL_101 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_audit_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_audit_types.in
Changed
@@ -81,6 +81,10 @@ AUDIT_TIME_ADJNTPVAL 1333 AUDIT_BPF 1334 AUDIT_EVENT_LISTENER 1335 +AUDIT_URINGOP 1336 +AUDIT_OPENAT2 1337 +AUDIT_DM_CTRL 1338 +AUDIT_DM_EVENT 1339 AUDIT_AVC 1400 AUDIT_SELINUX_ERR 1401
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_bridge_vlan_flags.h
Added
@@ -0,0 +1,126 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/nl_bridge_vlan_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_MASTER) == ((1<<0)), "BRIDGE_VLAN_INFO_MASTER != (1<<0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_PVID) == ((1<<1)), "BRIDGE_VLAN_INFO_PVID != (1<<1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_UNTAGGED) == ((1<<2)), "BRIDGE_VLAN_INFO_UNTAGGED != (1<<2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_RANGE_BEGIN) == ((1<<3)), "BRIDGE_VLAN_INFO_RANGE_BEGIN != (1<<3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_RANGE_END) == ((1<<4)), "BRIDGE_VLAN_INFO_RANGE_END != (1<<4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_BRENTRY) == ((1<<5)), "BRIDGE_VLAN_INFO_BRENTRY != (1<<5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_VLAN_INFO_ONLY_OPTS) == ((1<<6)), "BRIDGE_VLAN_INFO_ONLY_OPTS != (1<<6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifndef IN_MPERS + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data nl_bridge_vlan_flags_xdata = { + XLAT(BRIDGE_VLAN_INFO_MASTER), + #define XLAT_VAL_0 ((unsigned) (BRIDGE_VLAN_INFO_MASTER)) + #define XLAT_STR_0 STRINGIFY(BRIDGE_VLAN_INFO_MASTER) + XLAT(BRIDGE_VLAN_INFO_PVID), + #define XLAT_VAL_1 ((unsigned) (BRIDGE_VLAN_INFO_PVID)) + #define XLAT_STR_1 STRINGIFY(BRIDGE_VLAN_INFO_PVID) + XLAT(BRIDGE_VLAN_INFO_UNTAGGED), + #define XLAT_VAL_2 ((unsigned) (BRIDGE_VLAN_INFO_UNTAGGED)) + #define XLAT_STR_2 STRINGIFY(BRIDGE_VLAN_INFO_UNTAGGED) + XLAT(BRIDGE_VLAN_INFO_RANGE_BEGIN), + #define XLAT_VAL_3 ((unsigned) (BRIDGE_VLAN_INFO_RANGE_BEGIN)) + #define XLAT_STR_3 STRINGIFY(BRIDGE_VLAN_INFO_RANGE_BEGIN) + XLAT(BRIDGE_VLAN_INFO_RANGE_END), + #define XLAT_VAL_4 ((unsigned) (BRIDGE_VLAN_INFO_RANGE_END)) + #define XLAT_STR_4 STRINGIFY(BRIDGE_VLAN_INFO_RANGE_END) + XLAT(BRIDGE_VLAN_INFO_BRENTRY), + #define XLAT_VAL_5 ((unsigned) (BRIDGE_VLAN_INFO_BRENTRY)) + #define XLAT_STR_5 STRINGIFY(BRIDGE_VLAN_INFO_BRENTRY) + XLAT(BRIDGE_VLAN_INFO_ONLY_OPTS), + #define XLAT_VAL_6 ((unsigned) (BRIDGE_VLAN_INFO_ONLY_OPTS)) + #define XLAT_STR_6 STRINGIFY(BRIDGE_VLAN_INFO_ONLY_OPTS) +}; +const struct xlat nl_bridge_vlan_flags1 = { { + .data = nl_bridge_vlan_flags_xdata, + .size = ARRAY_SIZE(nl_bridge_vlan_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_bridge_vlan_flags.in
Added
@@ -0,0 +1,8 @@ +#unconditional +BRIDGE_VLAN_INFO_MASTER (1<<0) +BRIDGE_VLAN_INFO_PVID (1<<1) +BRIDGE_VLAN_INFO_UNTAGGED (1<<2) +BRIDGE_VLAN_INFO_RANGE_BEGIN (1<<3) +BRIDGE_VLAN_INFO_RANGE_END (1<<4) +BRIDGE_VLAN_INFO_BRENTRY (1<<5) +BRIDGE_VLAN_INFO_ONLY_OPTS (1<<6)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_crypto_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_crypto_types.h
Changed
@@ -38,6 +38,7 @@ #else # define CRYPTO_MSG_DELRNG 0x14 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_netfilter_msg_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_netfilter_msg_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_netfilter_subsys_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_netfilter_subsys_ids.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_route_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_route_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -184,55 +185,59 @@ #define XLAT_VAL_50 ((unsigned) (RTM_GETSTATS)) #define XLAT_STR_50 STRINGIFY(RTM_GETSTATS) + XLAT(RTM_NEWCACHEREPORT), + #define XLAT_VAL_51 ((unsigned) (RTM_NEWCACHEREPORT)) + #define XLAT_STR_51 STRINGIFY(RTM_NEWCACHEREPORT) + XLAT(RTM_NEWCHAIN), - #define XLAT_VAL_51 ((unsigned) (RTM_NEWCHAIN)) - #define XLAT_STR_51 STRINGIFY(RTM_NEWCHAIN) + #define XLAT_VAL_52 ((unsigned) (RTM_NEWCHAIN)) + #define XLAT_STR_52 STRINGIFY(RTM_NEWCHAIN) XLAT(RTM_DELCHAIN), - #define XLAT_VAL_52 ((unsigned) (RTM_DELCHAIN)) - #define XLAT_STR_52 STRINGIFY(RTM_DELCHAIN) + #define XLAT_VAL_53 ((unsigned) (RTM_DELCHAIN)) + #define XLAT_STR_53 STRINGIFY(RTM_DELCHAIN) XLAT(RTM_GETCHAIN), - #define XLAT_VAL_53 ((unsigned) (RTM_GETCHAIN)) - #define XLAT_STR_53 STRINGIFY(RTM_GETCHAIN) + #define XLAT_VAL_54 ((unsigned) (RTM_GETCHAIN)) + #define XLAT_STR_54 STRINGIFY(RTM_GETCHAIN) XLAT(RTM_NEWNEXTHOP), - #define XLAT_VAL_54 ((unsigned) (RTM_NEWNEXTHOP)) - #define XLAT_STR_54 STRINGIFY(RTM_NEWNEXTHOP) + #define XLAT_VAL_55 ((unsigned) (RTM_NEWNEXTHOP)) + #define XLAT_STR_55 STRINGIFY(RTM_NEWNEXTHOP) XLAT(RTM_DELNEXTHOP), - #define XLAT_VAL_55 ((unsigned) (RTM_DELNEXTHOP)) - #define XLAT_STR_55 STRINGIFY(RTM_DELNEXTHOP) + #define XLAT_VAL_56 ((unsigned) (RTM_DELNEXTHOP)) + #define XLAT_STR_56 STRINGIFY(RTM_DELNEXTHOP) XLAT(RTM_GETNEXTHOP), - #define XLAT_VAL_56 ((unsigned) (RTM_GETNEXTHOP)) - #define XLAT_STR_56 STRINGIFY(RTM_GETNEXTHOP) + #define XLAT_VAL_57 ((unsigned) (RTM_GETNEXTHOP)) + #define XLAT_STR_57 STRINGIFY(RTM_GETNEXTHOP) XLAT(RTM_NEWLINKPROP), - #define XLAT_VAL_57 ((unsigned) (RTM_NEWLINKPROP)) - #define XLAT_STR_57 STRINGIFY(RTM_NEWLINKPROP) + #define XLAT_VAL_58 ((unsigned) (RTM_NEWLINKPROP)) + #define XLAT_STR_58 STRINGIFY(RTM_NEWLINKPROP) XLAT(RTM_DELLINKPROP), - #define XLAT_VAL_58 ((unsigned) (RTM_DELLINKPROP)) - #define XLAT_STR_58 STRINGIFY(RTM_DELLINKPROP) + #define XLAT_VAL_59 ((unsigned) (RTM_DELLINKPROP)) + #define XLAT_STR_59 STRINGIFY(RTM_DELLINKPROP) XLAT(RTM_GETLINKPROP), - #define XLAT_VAL_59 ((unsigned) (RTM_GETLINKPROP)) - #define XLAT_STR_59 STRINGIFY(RTM_GETLINKPROP) + #define XLAT_VAL_60 ((unsigned) (RTM_GETLINKPROP)) + #define XLAT_STR_60 STRINGIFY(RTM_GETLINKPROP) XLAT(RTM_NEWVLAN), - #define XLAT_VAL_60 ((unsigned) (RTM_NEWVLAN)) - #define XLAT_STR_60 STRINGIFY(RTM_NEWVLAN) + #define XLAT_VAL_61 ((unsigned) (RTM_NEWVLAN)) + #define XLAT_STR_61 STRINGIFY(RTM_NEWVLAN) XLAT(RTM_DELVLAN), - #define XLAT_VAL_61 ((unsigned) (RTM_DELVLAN)) - #define XLAT_STR_61 STRINGIFY(RTM_DELVLAN) + #define XLAT_VAL_62 ((unsigned) (RTM_DELVLAN)) + #define XLAT_STR_62 STRINGIFY(RTM_DELVLAN) XLAT(RTM_GETVLAN), - #define XLAT_VAL_62 ((unsigned) (RTM_GETVLAN)) - #define XLAT_STR_62 STRINGIFY(RTM_GETVLAN) + #define XLAT_VAL_63 ((unsigned) (RTM_GETVLAN)) + #define XLAT_STR_63 STRINGIFY(RTM_GETVLAN) XLAT(RTM_NEWNEXTHOPBUCKET), - #define XLAT_VAL_63 ((unsigned) (RTM_NEWNEXTHOPBUCKET)) - #define XLAT_STR_63 STRINGIFY(RTM_NEWNEXTHOPBUCKET) + #define XLAT_VAL_64 ((unsigned) (RTM_NEWNEXTHOPBUCKET)) + #define XLAT_STR_64 STRINGIFY(RTM_NEWNEXTHOPBUCKET) XLAT(RTM_DELNEXTHOPBUCKET), - #define XLAT_VAL_64 ((unsigned) (RTM_DELNEXTHOPBUCKET)) - #define XLAT_STR_64 STRINGIFY(RTM_DELNEXTHOPBUCKET) + #define XLAT_VAL_65 ((unsigned) (RTM_DELNEXTHOPBUCKET)) + #define XLAT_STR_65 STRINGIFY(RTM_DELNEXTHOPBUCKET) XLAT(RTM_GETNEXTHOPBUCKET), - #define XLAT_VAL_65 ((unsigned) (RTM_GETNEXTHOPBUCKET)) - #define XLAT_STR_65 STRINGIFY(RTM_GETNEXTHOPBUCKET) + #define XLAT_VAL_66 ((unsigned) (RTM_GETNEXTHOPBUCKET)) + #define XLAT_STR_66 STRINGIFY(RTM_GETNEXTHOPBUCKET) }; const struct xlat nl_route_types1 = { { .data = nl_route_types_xdata, @@ -437,6 +442,9 @@ # ifdef XLAT_VAL_65 | XLAT_VAL_65 # endif +# ifdef XLAT_VAL_66 + | XLAT_VAL_66 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -637,6 +645,9 @@ # ifdef XLAT_STR_65 + sizeof(XLAT_STR_65) # endif +# ifdef XLAT_STR_66 + + sizeof(XLAT_STR_66) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -773,6 +784,8 @@ # undef XLAT_VAL_64 # undef XLAT_STR_65 # undef XLAT_VAL_65 +# undef XLAT_STR_66 +# undef XLAT_VAL_66 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_route_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_route_types.in
Changed
@@ -71,6 +71,8 @@ RTM_NEWSTATS RTM_GETSTATS +RTM_NEWCACHEREPORT + RTM_NEWCHAIN RTM_DELCHAIN RTM_GETCHAIN
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_selinux_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_selinux_types.h
Changed
@@ -17,6 +17,7 @@ #else # define SELNL_MSG_POLICYLOAD 0x11 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_sock_diag_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_sock_diag_types.h
Changed
@@ -31,6 +31,7 @@ #else # define SOCK_DESTROY 21 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_xfrm_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_xfrm_types.h
Changed
@@ -10,6 +10,16 @@ #else # define XFRM_MSG_NEWSA 0x10 #endif +#if defined(XFRM_MSG_NEWSA) || (defined(HAVE_DECL_XFRM_MSG_NEWSA) && HAVE_DECL_XFRM_MSG_NEWSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_NEWSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_NEWSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_NEWSA) +#endif #if defined(XFRM_MSG_DELSA) || (defined(HAVE_DECL_XFRM_MSG_DELSA) && HAVE_DECL_XFRM_MSG_DELSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_DELSA) == (0x11), "XFRM_MSG_DELSA != 0x11"); @@ -17,6 +27,16 @@ #else # define XFRM_MSG_DELSA 0x11 #endif +#if defined(XFRM_MSG_DELSA) || (defined(HAVE_DECL_XFRM_MSG_DELSA) && HAVE_DECL_XFRM_MSG_DELSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_DELSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_DELSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_DELSA) +#endif #if defined(XFRM_MSG_GETSA) || (defined(HAVE_DECL_XFRM_MSG_GETSA) && HAVE_DECL_XFRM_MSG_GETSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_GETSA) == (0x12), "XFRM_MSG_GETSA != 0x12"); @@ -24,6 +44,16 @@ #else # define XFRM_MSG_GETSA 0x12 #endif +#if defined(XFRM_MSG_GETSA) || (defined(HAVE_DECL_XFRM_MSG_GETSA) && HAVE_DECL_XFRM_MSG_GETSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETSA) +#endif #if defined(XFRM_MSG_NEWPOLICY) || (defined(HAVE_DECL_XFRM_MSG_NEWPOLICY) && HAVE_DECL_XFRM_MSG_NEWPOLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_NEWPOLICY) == (0x13), "XFRM_MSG_NEWPOLICY != 0x13"); @@ -31,6 +61,16 @@ #else # define XFRM_MSG_NEWPOLICY 0x13 #endif +#if defined(XFRM_MSG_NEWPOLICY) || (defined(HAVE_DECL_XFRM_MSG_NEWPOLICY) && HAVE_DECL_XFRM_MSG_NEWPOLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_NEWPOLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_NEWPOLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_NEWPOLICY) +#endif #if defined(XFRM_MSG_DELPOLICY) || (defined(HAVE_DECL_XFRM_MSG_DELPOLICY) && HAVE_DECL_XFRM_MSG_DELPOLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_DELPOLICY) == (0x14), "XFRM_MSG_DELPOLICY != 0x14"); @@ -38,6 +78,16 @@ #else # define XFRM_MSG_DELPOLICY 0x14 #endif +#if defined(XFRM_MSG_DELPOLICY) || (defined(HAVE_DECL_XFRM_MSG_DELPOLICY) && HAVE_DECL_XFRM_MSG_DELPOLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_DELPOLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_DELPOLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_DELPOLICY) +#endif #if defined(XFRM_MSG_GETPOLICY) || (defined(HAVE_DECL_XFRM_MSG_GETPOLICY) && HAVE_DECL_XFRM_MSG_GETPOLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_GETPOLICY) == (0x15), "XFRM_MSG_GETPOLICY != 0x15"); @@ -45,6 +95,16 @@ #else # define XFRM_MSG_GETPOLICY 0x15 #endif +#if defined(XFRM_MSG_GETPOLICY) || (defined(HAVE_DECL_XFRM_MSG_GETPOLICY) && HAVE_DECL_XFRM_MSG_GETPOLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETPOLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETPOLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETPOLICY) +#endif #if defined(XFRM_MSG_ALLOCSPI) || (defined(HAVE_DECL_XFRM_MSG_ALLOCSPI) && HAVE_DECL_XFRM_MSG_ALLOCSPI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_ALLOCSPI) == (0x16), "XFRM_MSG_ALLOCSPI != 0x16"); @@ -52,6 +112,16 @@ #else # define XFRM_MSG_ALLOCSPI 0x16 #endif +#if defined(XFRM_MSG_ALLOCSPI) || (defined(HAVE_DECL_XFRM_MSG_ALLOCSPI) && HAVE_DECL_XFRM_MSG_ALLOCSPI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_ALLOCSPI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_ALLOCSPI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_ALLOCSPI) +#endif #if defined(XFRM_MSG_ACQUIRE) || (defined(HAVE_DECL_XFRM_MSG_ACQUIRE) && HAVE_DECL_XFRM_MSG_ACQUIRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_ACQUIRE) == (0x17), "XFRM_MSG_ACQUIRE != 0x17"); @@ -59,6 +129,16 @@ #else # define XFRM_MSG_ACQUIRE 0x17 #endif +#if defined(XFRM_MSG_ACQUIRE) || (defined(HAVE_DECL_XFRM_MSG_ACQUIRE) && HAVE_DECL_XFRM_MSG_ACQUIRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_ACQUIRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_ACQUIRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_ACQUIRE) +#endif #if defined(XFRM_MSG_EXPIRE) || (defined(HAVE_DECL_XFRM_MSG_EXPIRE) && HAVE_DECL_XFRM_MSG_EXPIRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_EXPIRE) == (0x18), "XFRM_MSG_EXPIRE != 0x18"); @@ -66,6 +146,16 @@ #else # define XFRM_MSG_EXPIRE 0x18 #endif +#if defined(XFRM_MSG_EXPIRE) || (defined(HAVE_DECL_XFRM_MSG_EXPIRE) && HAVE_DECL_XFRM_MSG_EXPIRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_EXPIRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_EXPIRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_EXPIRE) +#endif #if defined(XFRM_MSG_UPDPOLICY) || (defined(HAVE_DECL_XFRM_MSG_UPDPOLICY) && HAVE_DECL_XFRM_MSG_UPDPOLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_UPDPOLICY) == (0x19), "XFRM_MSG_UPDPOLICY != 0x19"); @@ -73,6 +163,16 @@ #else # define XFRM_MSG_UPDPOLICY 0x19 #endif +#if defined(XFRM_MSG_UPDPOLICY) || (defined(HAVE_DECL_XFRM_MSG_UPDPOLICY) && HAVE_DECL_XFRM_MSG_UPDPOLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_UPDPOLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_UPDPOLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_UPDPOLICY) +#endif #if defined(XFRM_MSG_UPDSA) || (defined(HAVE_DECL_XFRM_MSG_UPDSA) && HAVE_DECL_XFRM_MSG_UPDSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_UPDSA) == (0x1a), "XFRM_MSG_UPDSA != 0x1a"); @@ -80,6 +180,16 @@ #else # define XFRM_MSG_UPDSA 0x1a #endif +#if defined(XFRM_MSG_UPDSA) || (defined(HAVE_DECL_XFRM_MSG_UPDSA) && HAVE_DECL_XFRM_MSG_UPDSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_UPDSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_UPDSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_UPDSA) +#endif #if defined(XFRM_MSG_POLEXPIRE) || (defined(HAVE_DECL_XFRM_MSG_POLEXPIRE) && HAVE_DECL_XFRM_MSG_POLEXPIRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_POLEXPIRE) == (0x1b), "XFRM_MSG_POLEXPIRE != 0x1b"); @@ -87,6 +197,16 @@ #else # define XFRM_MSG_POLEXPIRE 0x1b #endif +#if defined(XFRM_MSG_POLEXPIRE) || (defined(HAVE_DECL_XFRM_MSG_POLEXPIRE) && HAVE_DECL_XFRM_MSG_POLEXPIRE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_POLEXPIRE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_POLEXPIRE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_POLEXPIRE) +#endif #if defined(XFRM_MSG_FLUSHSA) || (defined(HAVE_DECL_XFRM_MSG_FLUSHSA) && HAVE_DECL_XFRM_MSG_FLUSHSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_FLUSHSA) == (0x1c), "XFRM_MSG_FLUSHSA != 0x1c"); @@ -94,6 +214,16 @@ #else # define XFRM_MSG_FLUSHSA 0x1c #endif +#if defined(XFRM_MSG_FLUSHSA) || (defined(HAVE_DECL_XFRM_MSG_FLUSHSA) && HAVE_DECL_XFRM_MSG_FLUSHSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_FLUSHSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_FLUSHSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_FLUSHSA) +#endif #if defined(XFRM_MSG_FLUSHPOLICY) || (defined(HAVE_DECL_XFRM_MSG_FLUSHPOLICY) && HAVE_DECL_XFRM_MSG_FLUSHPOLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_FLUSHPOLICY) == (0x1d), "XFRM_MSG_FLUSHPOLICY != 0x1d"); @@ -101,6 +231,16 @@ #else # define XFRM_MSG_FLUSHPOLICY 0x1d #endif +#if defined(XFRM_MSG_FLUSHPOLICY) || (defined(HAVE_DECL_XFRM_MSG_FLUSHPOLICY) && HAVE_DECL_XFRM_MSG_FLUSHPOLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_FLUSHPOLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_FLUSHPOLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_FLUSHPOLICY) +#endif #if defined(XFRM_MSG_NEWAE) || (defined(HAVE_DECL_XFRM_MSG_NEWAE) && HAVE_DECL_XFRM_MSG_NEWAE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_NEWAE) == (0x1e), "XFRM_MSG_NEWAE != 0x1e"); @@ -108,6 +248,16 @@ #else # define XFRM_MSG_NEWAE 0x1e #endif +#if defined(XFRM_MSG_NEWAE) || (defined(HAVE_DECL_XFRM_MSG_NEWAE) && HAVE_DECL_XFRM_MSG_NEWAE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_NEWAE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_NEWAE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_NEWAE) +#endif #if defined(XFRM_MSG_GETAE) || (defined(HAVE_DECL_XFRM_MSG_GETAE) && HAVE_DECL_XFRM_MSG_GETAE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_GETAE) == (0x1f), "XFRM_MSG_GETAE != 0x1f"); @@ -115,6 +265,16 @@ #else # define XFRM_MSG_GETAE 0x1f #endif +#if defined(XFRM_MSG_GETAE) || (defined(HAVE_DECL_XFRM_MSG_GETAE) && HAVE_DECL_XFRM_MSG_GETAE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETAE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETAE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETAE) +#endif #if defined(XFRM_MSG_REPORT) || (defined(HAVE_DECL_XFRM_MSG_REPORT) && HAVE_DECL_XFRM_MSG_REPORT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_REPORT) == (0x20), "XFRM_MSG_REPORT != 0x20"); @@ -122,6 +282,16 @@ #else # define XFRM_MSG_REPORT 0x20 #endif +#if defined(XFRM_MSG_REPORT) || (defined(HAVE_DECL_XFRM_MSG_REPORT) && HAVE_DECL_XFRM_MSG_REPORT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_REPORT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_REPORT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_REPORT) +#endif #if defined(XFRM_MSG_MIGRATE) || (defined(HAVE_DECL_XFRM_MSG_MIGRATE) && HAVE_DECL_XFRM_MSG_MIGRATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_MIGRATE) == (0x21), "XFRM_MSG_MIGRATE != 0x21"); @@ -129,6 +299,16 @@ #else # define XFRM_MSG_MIGRATE 0x21 #endif +#if defined(XFRM_MSG_MIGRATE) || (defined(HAVE_DECL_XFRM_MSG_MIGRATE) && HAVE_DECL_XFRM_MSG_MIGRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_MIGRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_MIGRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_MIGRATE) +#endif #if defined(XFRM_MSG_NEWSADINFO) || (defined(HAVE_DECL_XFRM_MSG_NEWSADINFO) && HAVE_DECL_XFRM_MSG_NEWSADINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_NEWSADINFO) == (0x22), "XFRM_MSG_NEWSADINFO != 0x22"); @@ -136,6 +316,16 @@ #else # define XFRM_MSG_NEWSADINFO 0x22 #endif +#if defined(XFRM_MSG_NEWSADINFO) || (defined(HAVE_DECL_XFRM_MSG_NEWSADINFO) && HAVE_DECL_XFRM_MSG_NEWSADINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_NEWSADINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_NEWSADINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_NEWSADINFO) +#endif #if defined(XFRM_MSG_GETSADINFO) || (defined(HAVE_DECL_XFRM_MSG_GETSADINFO) && HAVE_DECL_XFRM_MSG_GETSADINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_GETSADINFO) == (0x23), "XFRM_MSG_GETSADINFO != 0x23"); @@ -143,6 +333,16 @@ #else # define XFRM_MSG_GETSADINFO 0x23 #endif +#if defined(XFRM_MSG_GETSADINFO) || (defined(HAVE_DECL_XFRM_MSG_GETSADINFO) && HAVE_DECL_XFRM_MSG_GETSADINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETSADINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETSADINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETSADINFO) +#endif #if defined(XFRM_MSG_NEWSPDINFO) || (defined(HAVE_DECL_XFRM_MSG_NEWSPDINFO) && HAVE_DECL_XFRM_MSG_NEWSPDINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_NEWSPDINFO) == (0x24), "XFRM_MSG_NEWSPDINFO != 0x24"); @@ -150,6 +350,16 @@ #else # define XFRM_MSG_NEWSPDINFO 0x24 #endif +#if defined(XFRM_MSG_NEWSPDINFO) || (defined(HAVE_DECL_XFRM_MSG_NEWSPDINFO) && HAVE_DECL_XFRM_MSG_NEWSPDINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_NEWSPDINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_NEWSPDINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_NEWSPDINFO) +#endif #if defined(XFRM_MSG_GETSPDINFO) || (defined(HAVE_DECL_XFRM_MSG_GETSPDINFO) && HAVE_DECL_XFRM_MSG_GETSPDINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_GETSPDINFO) == (0x25), "XFRM_MSG_GETSPDINFO != 0x25"); @@ -157,6 +367,16 @@ #else # define XFRM_MSG_GETSPDINFO 0x25 #endif +#if defined(XFRM_MSG_GETSPDINFO) || (defined(HAVE_DECL_XFRM_MSG_GETSPDINFO) && HAVE_DECL_XFRM_MSG_GETSPDINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETSPDINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETSPDINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETSPDINFO) +#endif #if defined(XFRM_MSG_MAPPING) || (defined(HAVE_DECL_XFRM_MSG_MAPPING) && HAVE_DECL_XFRM_MSG_MAPPING) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((XFRM_MSG_MAPPING) == (0x26), "XFRM_MSG_MAPPING != 0x26"); @@ -164,6 +384,51 @@ #else # define XFRM_MSG_MAPPING 0x26 #endif +#if defined(XFRM_MSG_MAPPING) || (defined(HAVE_DECL_XFRM_MSG_MAPPING) && HAVE_DECL_XFRM_MSG_MAPPING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_MAPPING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_MAPPING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_MAPPING) +#endif +#if defined(XFRM_MSG_SETDEFAULT) || (defined(HAVE_DECL_XFRM_MSG_SETDEFAULT) && HAVE_DECL_XFRM_MSG_SETDEFAULT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFRM_MSG_SETDEFAULT) == (0x27), "XFRM_MSG_SETDEFAULT != 0x27"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFRM_MSG_SETDEFAULT 0x27 +#endif +#if defined(XFRM_MSG_SETDEFAULT) || (defined(HAVE_DECL_XFRM_MSG_SETDEFAULT) && HAVE_DECL_XFRM_MSG_SETDEFAULT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_SETDEFAULT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_SETDEFAULT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_SETDEFAULT) +#endif +#if defined(XFRM_MSG_GETDEFAULT) || (defined(HAVE_DECL_XFRM_MSG_GETDEFAULT) && HAVE_DECL_XFRM_MSG_GETDEFAULT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFRM_MSG_GETDEFAULT) == (0x28), "XFRM_MSG_GETDEFAULT != 0x28"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFRM_MSG_GETDEFAULT 0x28 +#endif +#if defined(XFRM_MSG_GETDEFAULT) || (defined(HAVE_DECL_XFRM_MSG_GETDEFAULT) && HAVE_DECL_XFRM_MSG_GETDEFAULT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (XFRM_MSG_GETDEFAULT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: XFRM_MSG_GETDEFAULT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (XFRM_MSG_GETDEFAULT) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -255,12 +520,19 @@ XLAT(XFRM_MSG_MAPPING), #define XLAT_VAL_22 ((unsigned) (XFRM_MSG_MAPPING)) #define XLAT_STR_22 STRINGIFY(XFRM_MSG_MAPPING) + + XLAT(XFRM_MSG_SETDEFAULT), + #define XLAT_VAL_23 ((unsigned) (XFRM_MSG_SETDEFAULT)) + #define XLAT_STR_23 STRINGIFY(XFRM_MSG_SETDEFAULT) + XLAT(XFRM_MSG_GETDEFAULT), + #define XLAT_VAL_24 ((unsigned) (XFRM_MSG_GETDEFAULT)) + #define XLAT_STR_24 STRINGIFY(XFRM_MSG_GETDEFAULT) }; static const struct xlat nl_xfrm_types1 = { { .data = nl_xfrm_types_xdata, .size = ARRAY_SIZE(nl_xfrm_types_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -331,6 +603,12 @@ # ifdef XLAT_VAL_22 | XLAT_VAL_22 # endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -402,6 +680,12 @@ # ifdef XLAT_STR_22 + sizeof(XLAT_STR_22) # endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -452,6 +736,10 @@ # undef XLAT_VAL_21 # undef XLAT_STR_22 # undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nl_xfrm_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_xfrm_types.in
Changed
@@ -1,3 +1,6 @@ +#sorted +#enum +#include <linux/xfrm.h> XFRM_MSG_NEWSA 0x10 XFRM_MSG_DELSA 0x11 XFRM_MSG_GETSA 0x12 @@ -32,3 +35,6 @@ XFRM_MSG_GETSPDINFO 0x25 XFRM_MSG_MAPPING 0x26 + +XFRM_MSG_SETDEFAULT 0x27 +XFRM_MSG_GETDEFAULT 0x28
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/nl_xfrm_types.m4
Added
@@ -0,0 +1,31 @@ +dnl Generated by ./src/xlat/gen.sh from ./src/xlat/nl_xfrm_types.in; do not edit. +AC_DEFUN(st_CHECK_ENUMS_nl_xfrm_types, +AC_CHECK_DECLS(m4_normalize( +XFRM_MSG_NEWSA, +XFRM_MSG_DELSA, +XFRM_MSG_GETSA, +XFRM_MSG_NEWPOLICY, +XFRM_MSG_DELPOLICY, +XFRM_MSG_GETPOLICY, +XFRM_MSG_ALLOCSPI, +XFRM_MSG_ACQUIRE, +XFRM_MSG_EXPIRE, +XFRM_MSG_UPDPOLICY, +XFRM_MSG_UPDSA, +XFRM_MSG_POLEXPIRE, +XFRM_MSG_FLUSHSA, +XFRM_MSG_FLUSHPOLICY, +XFRM_MSG_NEWAE, +XFRM_MSG_GETAE, +XFRM_MSG_REPORT, +XFRM_MSG_MIGRATE, +XFRM_MSG_NEWSADINFO, +XFRM_MSG_GETSADINFO, +XFRM_MSG_NEWSPDINFO, +XFRM_MSG_GETSPDINFO, +XFRM_MSG_MAPPING, +XFRM_MSG_SETDEFAULT, +XFRM_MSG_GETDEFAULT +),,, +#include <linux/xfrm.h> +)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nlmsgerr_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nlmsgerr_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -29,6 +30,12 @@ NLMSGERR_ATTR_POLICY = XLAT(NLMSGERR_ATTR_POLICY), #define XLAT_VAL_4 ((unsigned) (NLMSGERR_ATTR_POLICY)) #define XLAT_STR_4 STRINGIFY(NLMSGERR_ATTR_POLICY) + NLMSGERR_ATTR_MISS_TYPE = XLAT(NLMSGERR_ATTR_MISS_TYPE), + #define XLAT_VAL_5 ((unsigned) (NLMSGERR_ATTR_MISS_TYPE)) + #define XLAT_STR_5 STRINGIFY(NLMSGERR_ATTR_MISS_TYPE) + NLMSGERR_ATTR_MISS_NEST = XLAT(NLMSGERR_ATTR_MISS_NEST), + #define XLAT_VAL_6 ((unsigned) (NLMSGERR_ATTR_MISS_NEST)) + #define XLAT_STR_6 STRINGIFY(NLMSGERR_ATTR_MISS_NEST) }; static const struct xlat nlmsgerr_attrs1 = { { @@ -51,6 +58,12 @@ # ifdef XLAT_VAL_4 | XLAT_VAL_4 # endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -68,6 +81,12 @@ # ifdef XLAT_STR_4 + sizeof(XLAT_STR_4) # endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -82,6 +101,10 @@ # undef XLAT_VAL_3 # undef XLAT_STR_4 # undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nlmsgerr_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nlmsgerr_attrs.in
Changed
@@ -5,3 +5,5 @@ NLMSGERR_ATTR_OFFS NLMSGERR_ATTR_COOKIE NLMSGERR_ATTR_POLICY +NLMSGERR_ATTR_MISS_TYPE +NLMSGERR_ATTR_MISS_NEST
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/notifyflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/notifyflags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nt_descriptor_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nt_descriptor_types.h
Changed
@@ -10,6 +10,16 @@ #else # define NT_PRSTATUS 1 #endif +#if defined(NT_PRSTATUS) || (defined(HAVE_DECL_NT_PRSTATUS) && HAVE_DECL_NT_PRSTATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRSTATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRSTATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRSTATUS) +#endif #if defined(NT_FPREGSET) || (defined(HAVE_DECL_NT_FPREGSET) && HAVE_DECL_NT_FPREGSET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_FPREGSET) == (2), "NT_FPREGSET != 2"); @@ -17,6 +27,16 @@ #else # define NT_FPREGSET 2 #endif +#if defined(NT_FPREGSET) || (defined(HAVE_DECL_NT_FPREGSET) && HAVE_DECL_NT_FPREGSET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_FPREGSET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_FPREGSET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_FPREGSET) +#endif #if defined(NT_PRPSINFO) || (defined(HAVE_DECL_NT_PRPSINFO) && HAVE_DECL_NT_PRPSINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PRPSINFO) == (3), "NT_PRPSINFO != 3"); @@ -24,6 +44,16 @@ #else # define NT_PRPSINFO 3 #endif +#if defined(NT_PRPSINFO) || (defined(HAVE_DECL_NT_PRPSINFO) && HAVE_DECL_NT_PRPSINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRPSINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRPSINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRPSINFO) +#endif #if defined(NT_PRXREG) || (defined(HAVE_DECL_NT_PRXREG) && HAVE_DECL_NT_PRXREG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PRXREG) == (4), "NT_PRXREG != 4"); @@ -31,12 +61,15 @@ #else # define NT_PRXREG 4 #endif -#if defined(NT_TASKSTRUCT) || (defined(HAVE_DECL_NT_TASKSTRUCT) && HAVE_DECL_NT_TASKSTRUCT) -DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((NT_TASKSTRUCT) == (4), "NT_TASKSTRUCT != 4"); -DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define NT_TASKSTRUCT 4 +#if defined(NT_PRXREG) || (defined(HAVE_DECL_NT_PRXREG) && HAVE_DECL_NT_PRXREG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRXREG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRXREG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRXREG) #endif #if defined(NT_PLATFORM) || (defined(HAVE_DECL_NT_PLATFORM) && HAVE_DECL_NT_PLATFORM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -45,6 +78,16 @@ #else # define NT_PLATFORM 5 #endif +#if defined(NT_PLATFORM) || (defined(HAVE_DECL_NT_PLATFORM) && HAVE_DECL_NT_PLATFORM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PLATFORM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PLATFORM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PLATFORM) +#endif #if defined(NT_AUXV) || (defined(HAVE_DECL_NT_AUXV) && HAVE_DECL_NT_AUXV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_AUXV) == (6), "NT_AUXV != 6"); @@ -52,6 +95,16 @@ #else # define NT_AUXV 6 #endif +#if defined(NT_AUXV) || (defined(HAVE_DECL_NT_AUXV) && HAVE_DECL_NT_AUXV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_AUXV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_AUXV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_AUXV) +#endif #if defined(NT_GWINDOWS) || (defined(HAVE_DECL_NT_GWINDOWS) && HAVE_DECL_NT_GWINDOWS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_GWINDOWS) == (7), "NT_GWINDOWS != 7"); @@ -59,6 +112,16 @@ #else # define NT_GWINDOWS 7 #endif +#if defined(NT_GWINDOWS) || (defined(HAVE_DECL_NT_GWINDOWS) && HAVE_DECL_NT_GWINDOWS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_GWINDOWS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_GWINDOWS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_GWINDOWS) +#endif #if defined(NT_ASRS) || (defined(HAVE_DECL_NT_ASRS) && HAVE_DECL_NT_ASRS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ASRS) == (8), "NT_ASRS != 8"); @@ -66,6 +129,16 @@ #else # define NT_ASRS 8 #endif +#if defined(NT_ASRS) || (defined(HAVE_DECL_NT_ASRS) && HAVE_DECL_NT_ASRS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ASRS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ASRS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ASRS) +#endif #if defined(NT_PSTATUS) || (defined(HAVE_DECL_NT_PSTATUS) && HAVE_DECL_NT_PSTATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PSTATUS) == (10), "NT_PSTATUS != 10"); @@ -73,6 +146,16 @@ #else # define NT_PSTATUS 10 #endif +#if defined(NT_PSTATUS) || (defined(HAVE_DECL_NT_PSTATUS) && HAVE_DECL_NT_PSTATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PSTATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PSTATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PSTATUS) +#endif #if defined(NT_PSINFO) || (defined(HAVE_DECL_NT_PSINFO) && HAVE_DECL_NT_PSINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PSINFO) == (13), "NT_PSINFO != 13"); @@ -80,6 +163,16 @@ #else # define NT_PSINFO 13 #endif +#if defined(NT_PSINFO) || (defined(HAVE_DECL_NT_PSINFO) && HAVE_DECL_NT_PSINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PSINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PSINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PSINFO) +#endif #if defined(NT_PRCRED) || (defined(HAVE_DECL_NT_PRCRED) && HAVE_DECL_NT_PRCRED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PRCRED) == (14), "NT_PRCRED != 14"); @@ -87,6 +180,16 @@ #else # define NT_PRCRED 14 #endif +#if defined(NT_PRCRED) || (defined(HAVE_DECL_NT_PRCRED) && HAVE_DECL_NT_PRCRED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRCRED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRCRED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRCRED) +#endif #if defined(NT_UTSNAME) || (defined(HAVE_DECL_NT_UTSNAME) && HAVE_DECL_NT_UTSNAME) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_UTSNAME) == (15), "NT_UTSNAME != 15"); @@ -94,6 +197,16 @@ #else # define NT_UTSNAME 15 #endif +#if defined(NT_UTSNAME) || (defined(HAVE_DECL_NT_UTSNAME) && HAVE_DECL_NT_UTSNAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_UTSNAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_UTSNAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_UTSNAME) +#endif #if defined(NT_LWPSTATUS) || (defined(HAVE_DECL_NT_LWPSTATUS) && HAVE_DECL_NT_LWPSTATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_LWPSTATUS) == (16), "NT_LWPSTATUS != 16"); @@ -101,6 +214,16 @@ #else # define NT_LWPSTATUS 16 #endif +#if defined(NT_LWPSTATUS) || (defined(HAVE_DECL_NT_LWPSTATUS) && HAVE_DECL_NT_LWPSTATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LWPSTATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LWPSTATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LWPSTATUS) +#endif #if defined(NT_LWPSINFO) || (defined(HAVE_DECL_NT_LWPSINFO) && HAVE_DECL_NT_LWPSINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_LWPSINFO) == (17), "NT_LWPSINFO != 17"); @@ -108,6 +231,16 @@ #else # define NT_LWPSINFO 17 #endif +#if defined(NT_LWPSINFO) || (defined(HAVE_DECL_NT_LWPSINFO) && HAVE_DECL_NT_LWPSINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LWPSINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LWPSINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LWPSINFO) +#endif #if defined(NT_PRFPXREG) || (defined(HAVE_DECL_NT_PRFPXREG) && HAVE_DECL_NT_PRFPXREG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PRFPXREG) == (20), "NT_PRFPXREG != 20"); @@ -115,26 +248,15 @@ #else # define NT_PRFPXREG 20 #endif -#if defined(NT_SIGINFO) || (defined(HAVE_DECL_NT_SIGINFO) && HAVE_DECL_NT_SIGINFO) -DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((NT_SIGINFO) == (0x53494749), "NT_SIGINFO != 0x53494749"); -DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define NT_SIGINFO 0x53494749 -#endif -#if defined(NT_FILE) || (defined(HAVE_DECL_NT_FILE) && HAVE_DECL_NT_FILE) -DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((NT_FILE) == (0x46494c45), "NT_FILE != 0x46494c45"); -DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define NT_FILE 0x46494c45 +#if defined(NT_PRFPXREG) || (defined(HAVE_DECL_NT_PRFPXREG) && HAVE_DECL_NT_PRFPXREG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRFPXREG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRFPXREG" + " is not larger than the previous value"); #endif -#if defined(NT_PRXFPREG) || (defined(HAVE_DECL_NT_PRXFPREG) && HAVE_DECL_NT_PRXFPREG) -DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((NT_PRXFPREG) == (0x46e62b7f), "NT_PRXFPREG != 0x46e62b7f"); -DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define NT_PRXFPREG 0x46e62b7f +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRFPXREG) #endif #if defined(NT_PPC_VMX) || (defined(HAVE_DECL_NT_PPC_VMX) && HAVE_DECL_NT_PPC_VMX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -143,6 +265,16 @@ #else # define NT_PPC_VMX 0x100 #endif +#if defined(NT_PPC_VMX) || (defined(HAVE_DECL_NT_PPC_VMX) && HAVE_DECL_NT_PPC_VMX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_VMX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_VMX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_VMX) +#endif #if defined(NT_PPC_SPE) || (defined(HAVE_DECL_NT_PPC_SPE) && HAVE_DECL_NT_PPC_SPE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_SPE) == (0x101), "NT_PPC_SPE != 0x101"); @@ -150,6 +282,16 @@ #else # define NT_PPC_SPE 0x101 #endif +#if defined(NT_PPC_SPE) || (defined(HAVE_DECL_NT_PPC_SPE) && HAVE_DECL_NT_PPC_SPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_SPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_SPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_SPE) +#endif #if defined(NT_PPC_VSX) || (defined(HAVE_DECL_NT_PPC_VSX) && HAVE_DECL_NT_PPC_VSX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_VSX) == (0x102), "NT_PPC_VSX != 0x102"); @@ -157,6 +299,16 @@ #else # define NT_PPC_VSX 0x102 #endif +#if defined(NT_PPC_VSX) || (defined(HAVE_DECL_NT_PPC_VSX) && HAVE_DECL_NT_PPC_VSX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_VSX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_VSX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_VSX) +#endif #if defined(NT_PPC_TAR) || (defined(HAVE_DECL_NT_PPC_TAR) && HAVE_DECL_NT_PPC_TAR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TAR) == (0x103), "NT_PPC_TAR != 0x103"); @@ -164,6 +316,16 @@ #else # define NT_PPC_TAR 0x103 #endif +#if defined(NT_PPC_TAR) || (defined(HAVE_DECL_NT_PPC_TAR) && HAVE_DECL_NT_PPC_TAR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TAR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TAR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TAR) +#endif #if defined(NT_PPC_PPR) || (defined(HAVE_DECL_NT_PPC_PPR) && HAVE_DECL_NT_PPC_PPR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_PPR) == (0x104), "NT_PPC_PPR != 0x104"); @@ -171,6 +333,16 @@ #else # define NT_PPC_PPR 0x104 #endif +#if defined(NT_PPC_PPR) || (defined(HAVE_DECL_NT_PPC_PPR) && HAVE_DECL_NT_PPC_PPR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_PPR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_PPR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_PPR) +#endif #if defined(NT_PPC_DSCR) || (defined(HAVE_DECL_NT_PPC_DSCR) && HAVE_DECL_NT_PPC_DSCR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_DSCR) == (0x105), "NT_PPC_DSCR != 0x105"); @@ -178,6 +350,16 @@ #else # define NT_PPC_DSCR 0x105 #endif +#if defined(NT_PPC_DSCR) || (defined(HAVE_DECL_NT_PPC_DSCR) && HAVE_DECL_NT_PPC_DSCR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_DSCR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_DSCR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_DSCR) +#endif #if defined(NT_PPC_EBB) || (defined(HAVE_DECL_NT_PPC_EBB) && HAVE_DECL_NT_PPC_EBB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_EBB) == (0x106), "NT_PPC_EBB != 0x106"); @@ -185,6 +367,16 @@ #else # define NT_PPC_EBB 0x106 #endif +#if defined(NT_PPC_EBB) || (defined(HAVE_DECL_NT_PPC_EBB) && HAVE_DECL_NT_PPC_EBB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_EBB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_EBB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_EBB) +#endif #if defined(NT_PPC_PMU) || (defined(HAVE_DECL_NT_PPC_PMU) && HAVE_DECL_NT_PPC_PMU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_PMU) == (0x107), "NT_PPC_PMU != 0x107"); @@ -192,6 +384,16 @@ #else # define NT_PPC_PMU 0x107 #endif +#if defined(NT_PPC_PMU) || (defined(HAVE_DECL_NT_PPC_PMU) && HAVE_DECL_NT_PPC_PMU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_PMU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_PMU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_PMU) +#endif #if defined(NT_PPC_TM_CGPR) || (defined(HAVE_DECL_NT_PPC_TM_CGPR) && HAVE_DECL_NT_PPC_TM_CGPR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CGPR) == (0x108), "NT_PPC_TM_CGPR != 0x108"); @@ -199,6 +401,16 @@ #else # define NT_PPC_TM_CGPR 0x108 #endif +#if defined(NT_PPC_TM_CGPR) || (defined(HAVE_DECL_NT_PPC_TM_CGPR) && HAVE_DECL_NT_PPC_TM_CGPR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CGPR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CGPR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CGPR) +#endif #if defined(NT_PPC_TM_CFPR) || (defined(HAVE_DECL_NT_PPC_TM_CFPR) && HAVE_DECL_NT_PPC_TM_CFPR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CFPR) == (0x109), "NT_PPC_TM_CFPR != 0x109"); @@ -206,6 +418,16 @@ #else # define NT_PPC_TM_CFPR 0x109 #endif +#if defined(NT_PPC_TM_CFPR) || (defined(HAVE_DECL_NT_PPC_TM_CFPR) && HAVE_DECL_NT_PPC_TM_CFPR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CFPR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CFPR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CFPR) +#endif #if defined(NT_PPC_TM_CVMX) || (defined(HAVE_DECL_NT_PPC_TM_CVMX) && HAVE_DECL_NT_PPC_TM_CVMX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CVMX) == (0x10a), "NT_PPC_TM_CVMX != 0x10a"); @@ -213,6 +435,16 @@ #else # define NT_PPC_TM_CVMX 0x10a #endif +#if defined(NT_PPC_TM_CVMX) || (defined(HAVE_DECL_NT_PPC_TM_CVMX) && HAVE_DECL_NT_PPC_TM_CVMX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CVMX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CVMX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CVMX) +#endif #if defined(NT_PPC_TM_CVSX) || (defined(HAVE_DECL_NT_PPC_TM_CVSX) && HAVE_DECL_NT_PPC_TM_CVSX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CVSX) == (0x10b), "NT_PPC_TM_CVSX != 0x10b"); @@ -220,6 +452,16 @@ #else # define NT_PPC_TM_CVSX 0x10b #endif +#if defined(NT_PPC_TM_CVSX) || (defined(HAVE_DECL_NT_PPC_TM_CVSX) && HAVE_DECL_NT_PPC_TM_CVSX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CVSX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CVSX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CVSX) +#endif #if defined(NT_PPC_TM_SPR) || (defined(HAVE_DECL_NT_PPC_TM_SPR) && HAVE_DECL_NT_PPC_TM_SPR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_SPR) == (0x10c), "NT_PPC_TM_SPR != 0x10c"); @@ -227,6 +469,16 @@ #else # define NT_PPC_TM_SPR 0x10c #endif +#if defined(NT_PPC_TM_SPR) || (defined(HAVE_DECL_NT_PPC_TM_SPR) && HAVE_DECL_NT_PPC_TM_SPR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_SPR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_SPR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_SPR) +#endif #if defined(NT_PPC_TM_CTAR) || (defined(HAVE_DECL_NT_PPC_TM_CTAR) && HAVE_DECL_NT_PPC_TM_CTAR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CTAR) == (0x10d), "NT_PPC_TM_CTAR != 0x10d"); @@ -234,6 +486,16 @@ #else # define NT_PPC_TM_CTAR 0x10d #endif +#if defined(NT_PPC_TM_CTAR) || (defined(HAVE_DECL_NT_PPC_TM_CTAR) && HAVE_DECL_NT_PPC_TM_CTAR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CTAR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CTAR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CTAR) +#endif #if defined(NT_PPC_TM_CPPR) || (defined(HAVE_DECL_NT_PPC_TM_CPPR) && HAVE_DECL_NT_PPC_TM_CPPR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CPPR) == (0x10e), "NT_PPC_TM_CPPR != 0x10e"); @@ -241,6 +503,16 @@ #else # define NT_PPC_TM_CPPR 0x10e #endif +#if defined(NT_PPC_TM_CPPR) || (defined(HAVE_DECL_NT_PPC_TM_CPPR) && HAVE_DECL_NT_PPC_TM_CPPR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CPPR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CPPR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CPPR) +#endif #if defined(NT_PPC_TM_CDSCR) || (defined(HAVE_DECL_NT_PPC_TM_CDSCR) && HAVE_DECL_NT_PPC_TM_CDSCR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_TM_CDSCR) == (0x10f), "NT_PPC_TM_CDSCR != 0x10f"); @@ -248,6 +520,16 @@ #else # define NT_PPC_TM_CDSCR 0x10f #endif +#if defined(NT_PPC_TM_CDSCR) || (defined(HAVE_DECL_NT_PPC_TM_CDSCR) && HAVE_DECL_NT_PPC_TM_CDSCR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_TM_CDSCR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_TM_CDSCR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_TM_CDSCR) +#endif #if defined(NT_PPC_PKEY) || (defined(HAVE_DECL_NT_PPC_PKEY) && HAVE_DECL_NT_PPC_PKEY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_PPC_PKEY) == (0x110), "NT_PPC_PKEY != 0x110"); @@ -255,6 +537,16 @@ #else # define NT_PPC_PKEY 0x110 #endif +#if defined(NT_PPC_PKEY) || (defined(HAVE_DECL_NT_PPC_PKEY) && HAVE_DECL_NT_PPC_PKEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PPC_PKEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PPC_PKEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PPC_PKEY) +#endif #if defined(NT_386_TLS) || (defined(HAVE_DECL_NT_386_TLS) && HAVE_DECL_NT_386_TLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_386_TLS) == (0x200), "NT_386_TLS != 0x200"); @@ -262,6 +554,16 @@ #else # define NT_386_TLS 0x200 #endif +#if defined(NT_386_TLS) || (defined(HAVE_DECL_NT_386_TLS) && HAVE_DECL_NT_386_TLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_386_TLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_386_TLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_386_TLS) +#endif #if defined(NT_386_IOPERM) || (defined(HAVE_DECL_NT_386_IOPERM) && HAVE_DECL_NT_386_IOPERM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_386_IOPERM) == (0x201), "NT_386_IOPERM != 0x201"); @@ -269,6 +571,16 @@ #else # define NT_386_IOPERM 0x201 #endif +#if defined(NT_386_IOPERM) || (defined(HAVE_DECL_NT_386_IOPERM) && HAVE_DECL_NT_386_IOPERM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_386_IOPERM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_386_IOPERM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_386_IOPERM) +#endif #if defined(NT_X86_XSTATE) || (defined(HAVE_DECL_NT_X86_XSTATE) && HAVE_DECL_NT_X86_XSTATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_X86_XSTATE) == (0x202), "NT_X86_XSTATE != 0x202"); @@ -276,6 +588,16 @@ #else # define NT_X86_XSTATE 0x202 #endif +#if defined(NT_X86_XSTATE) || (defined(HAVE_DECL_NT_X86_XSTATE) && HAVE_DECL_NT_X86_XSTATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_X86_XSTATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_X86_XSTATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_X86_XSTATE) +#endif #if defined(NT_S390_HIGH_GPRS) || (defined(HAVE_DECL_NT_S390_HIGH_GPRS) && HAVE_DECL_NT_S390_HIGH_GPRS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_HIGH_GPRS) == (0x300), "NT_S390_HIGH_GPRS != 0x300"); @@ -283,6 +605,16 @@ #else # define NT_S390_HIGH_GPRS 0x300 #endif +#if defined(NT_S390_HIGH_GPRS) || (defined(HAVE_DECL_NT_S390_HIGH_GPRS) && HAVE_DECL_NT_S390_HIGH_GPRS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_HIGH_GPRS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_HIGH_GPRS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_HIGH_GPRS) +#endif #if defined(NT_S390_TIMER) || (defined(HAVE_DECL_NT_S390_TIMER) && HAVE_DECL_NT_S390_TIMER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_TIMER) == (0x301), "NT_S390_TIMER != 0x301"); @@ -290,6 +622,16 @@ #else # define NT_S390_TIMER 0x301 #endif +#if defined(NT_S390_TIMER) || (defined(HAVE_DECL_NT_S390_TIMER) && HAVE_DECL_NT_S390_TIMER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_TIMER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_TIMER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_TIMER) +#endif #if defined(NT_S390_TODCMP) || (defined(HAVE_DECL_NT_S390_TODCMP) && HAVE_DECL_NT_S390_TODCMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_TODCMP) == (0x302), "NT_S390_TODCMP != 0x302"); @@ -297,6 +639,16 @@ #else # define NT_S390_TODCMP 0x302 #endif +#if defined(NT_S390_TODCMP) || (defined(HAVE_DECL_NT_S390_TODCMP) && HAVE_DECL_NT_S390_TODCMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_TODCMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_TODCMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_TODCMP) +#endif #if defined(NT_S390_TODPREG) || (defined(HAVE_DECL_NT_S390_TODPREG) && HAVE_DECL_NT_S390_TODPREG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_TODPREG) == (0x303), "NT_S390_TODPREG != 0x303"); @@ -304,6 +656,16 @@ #else # define NT_S390_TODPREG 0x303 #endif +#if defined(NT_S390_TODPREG) || (defined(HAVE_DECL_NT_S390_TODPREG) && HAVE_DECL_NT_S390_TODPREG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_TODPREG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_TODPREG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_TODPREG) +#endif #if defined(NT_S390_CTRS) || (defined(HAVE_DECL_NT_S390_CTRS) && HAVE_DECL_NT_S390_CTRS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_CTRS) == (0x304), "NT_S390_CTRS != 0x304"); @@ -311,6 +673,16 @@ #else # define NT_S390_CTRS 0x304 #endif +#if defined(NT_S390_CTRS) || (defined(HAVE_DECL_NT_S390_CTRS) && HAVE_DECL_NT_S390_CTRS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_CTRS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_CTRS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_CTRS) +#endif #if defined(NT_S390_PREFIX) || (defined(HAVE_DECL_NT_S390_PREFIX) && HAVE_DECL_NT_S390_PREFIX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_PREFIX) == (0x305), "NT_S390_PREFIX != 0x305"); @@ -318,6 +690,16 @@ #else # define NT_S390_PREFIX 0x305 #endif +#if defined(NT_S390_PREFIX) || (defined(HAVE_DECL_NT_S390_PREFIX) && HAVE_DECL_NT_S390_PREFIX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_PREFIX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_PREFIX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_PREFIX) +#endif #if defined(NT_S390_LAST_BREAK) || (defined(HAVE_DECL_NT_S390_LAST_BREAK) && HAVE_DECL_NT_S390_LAST_BREAK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_LAST_BREAK) == (0x306), "NT_S390_LAST_BREAK != 0x306"); @@ -325,6 +707,16 @@ #else # define NT_S390_LAST_BREAK 0x306 #endif +#if defined(NT_S390_LAST_BREAK) || (defined(HAVE_DECL_NT_S390_LAST_BREAK) && HAVE_DECL_NT_S390_LAST_BREAK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_LAST_BREAK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_LAST_BREAK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_LAST_BREAK) +#endif #if defined(NT_S390_SYSTEM_CALL) || (defined(HAVE_DECL_NT_S390_SYSTEM_CALL) && HAVE_DECL_NT_S390_SYSTEM_CALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_SYSTEM_CALL) == (0x307), "NT_S390_SYSTEM_CALL != 0x307"); @@ -332,6 +724,16 @@ #else # define NT_S390_SYSTEM_CALL 0x307 #endif +#if defined(NT_S390_SYSTEM_CALL) || (defined(HAVE_DECL_NT_S390_SYSTEM_CALL) && HAVE_DECL_NT_S390_SYSTEM_CALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_SYSTEM_CALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_SYSTEM_CALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_SYSTEM_CALL) +#endif #if defined(NT_S390_TDB) || (defined(HAVE_DECL_NT_S390_TDB) && HAVE_DECL_NT_S390_TDB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_TDB) == (0x308), "NT_S390_TDB != 0x308"); @@ -339,6 +741,16 @@ #else # define NT_S390_TDB 0x308 #endif +#if defined(NT_S390_TDB) || (defined(HAVE_DECL_NT_S390_TDB) && HAVE_DECL_NT_S390_TDB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_TDB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_TDB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_TDB) +#endif #if defined(NT_S390_VXRS_LOW) || (defined(HAVE_DECL_NT_S390_VXRS_LOW) && HAVE_DECL_NT_S390_VXRS_LOW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_VXRS_LOW) == (0x309), "NT_S390_VXRS_LOW != 0x309"); @@ -346,6 +758,16 @@ #else # define NT_S390_VXRS_LOW 0x309 #endif +#if defined(NT_S390_VXRS_LOW) || (defined(HAVE_DECL_NT_S390_VXRS_LOW) && HAVE_DECL_NT_S390_VXRS_LOW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_VXRS_LOW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_VXRS_LOW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_VXRS_LOW) +#endif #if defined(NT_S390_VXRS_HIGH) || (defined(HAVE_DECL_NT_S390_VXRS_HIGH) && HAVE_DECL_NT_S390_VXRS_HIGH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_VXRS_HIGH) == (0x30a), "NT_S390_VXRS_HIGH != 0x30a"); @@ -353,6 +775,16 @@ #else # define NT_S390_VXRS_HIGH 0x30a #endif +#if defined(NT_S390_VXRS_HIGH) || (defined(HAVE_DECL_NT_S390_VXRS_HIGH) && HAVE_DECL_NT_S390_VXRS_HIGH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_VXRS_HIGH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_VXRS_HIGH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_VXRS_HIGH) +#endif #if defined(NT_S390_GS_CB) || (defined(HAVE_DECL_NT_S390_GS_CB) && HAVE_DECL_NT_S390_GS_CB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_GS_CB) == (0x30b), "NT_S390_GS_CB != 0x30b"); @@ -360,6 +792,16 @@ #else # define NT_S390_GS_CB 0x30b #endif +#if defined(NT_S390_GS_CB) || (defined(HAVE_DECL_NT_S390_GS_CB) && HAVE_DECL_NT_S390_GS_CB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_GS_CB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_GS_CB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_GS_CB) +#endif #if defined(NT_S390_GS_BC) || (defined(HAVE_DECL_NT_S390_GS_BC) && HAVE_DECL_NT_S390_GS_BC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_GS_BC) == (0x30c), "NT_S390_GS_BC != 0x30c"); @@ -367,6 +809,16 @@ #else # define NT_S390_GS_BC 0x30c #endif +#if defined(NT_S390_GS_BC) || (defined(HAVE_DECL_NT_S390_GS_BC) && HAVE_DECL_NT_S390_GS_BC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_GS_BC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_GS_BC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_GS_BC) +#endif #if defined(NT_S390_RI_CB) || (defined(HAVE_DECL_NT_S390_RI_CB) && HAVE_DECL_NT_S390_RI_CB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_S390_RI_CB) == (0x30d), "NT_S390_RI_CB != 0x30d"); @@ -374,6 +826,33 @@ #else # define NT_S390_RI_CB 0x30d #endif +#if defined(NT_S390_RI_CB) || (defined(HAVE_DECL_NT_S390_RI_CB) && HAVE_DECL_NT_S390_RI_CB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_RI_CB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_RI_CB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_RI_CB) +#endif +#if defined(NT_S390_PV_CPU_DATA) || (defined(HAVE_DECL_NT_S390_PV_CPU_DATA) && HAVE_DECL_NT_S390_PV_CPU_DATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_S390_PV_CPU_DATA) == (0x30e), "NT_S390_PV_CPU_DATA != 0x30e"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_S390_PV_CPU_DATA 0x30e +#endif +#if defined(NT_S390_PV_CPU_DATA) || (defined(HAVE_DECL_NT_S390_PV_CPU_DATA) && HAVE_DECL_NT_S390_PV_CPU_DATA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_S390_PV_CPU_DATA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_S390_PV_CPU_DATA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_S390_PV_CPU_DATA) +#endif #if defined(NT_ARM_VFP) || (defined(HAVE_DECL_NT_ARM_VFP) && HAVE_DECL_NT_ARM_VFP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_VFP) == (0x400), "NT_ARM_VFP != 0x400"); @@ -381,6 +860,16 @@ #else # define NT_ARM_VFP 0x400 #endif +#if defined(NT_ARM_VFP) || (defined(HAVE_DECL_NT_ARM_VFP) && HAVE_DECL_NT_ARM_VFP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_VFP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_VFP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_VFP) +#endif #if defined(NT_ARM_TLS) || (defined(HAVE_DECL_NT_ARM_TLS) && HAVE_DECL_NT_ARM_TLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_TLS) == (0x401), "NT_ARM_TLS != 0x401"); @@ -388,6 +877,16 @@ #else # define NT_ARM_TLS 0x401 #endif +#if defined(NT_ARM_TLS) || (defined(HAVE_DECL_NT_ARM_TLS) && HAVE_DECL_NT_ARM_TLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_TLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_TLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_TLS) +#endif #if defined(NT_ARM_HW_BREAK) || (defined(HAVE_DECL_NT_ARM_HW_BREAK) && HAVE_DECL_NT_ARM_HW_BREAK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_HW_BREAK) == (0x402), "NT_ARM_HW_BREAK != 0x402"); @@ -395,6 +894,16 @@ #else # define NT_ARM_HW_BREAK 0x402 #endif +#if defined(NT_ARM_HW_BREAK) || (defined(HAVE_DECL_NT_ARM_HW_BREAK) && HAVE_DECL_NT_ARM_HW_BREAK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_HW_BREAK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_HW_BREAK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_HW_BREAK) +#endif #if defined(NT_ARM_HW_WATCH) || (defined(HAVE_DECL_NT_ARM_HW_WATCH) && HAVE_DECL_NT_ARM_HW_WATCH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_HW_WATCH) == (0x403), "NT_ARM_HW_WATCH != 0x403"); @@ -402,6 +911,16 @@ #else # define NT_ARM_HW_WATCH 0x403 #endif +#if defined(NT_ARM_HW_WATCH) || (defined(HAVE_DECL_NT_ARM_HW_WATCH) && HAVE_DECL_NT_ARM_HW_WATCH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_HW_WATCH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_HW_WATCH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_HW_WATCH) +#endif #if defined(NT_ARM_SYSTEM_CALL) || (defined(HAVE_DECL_NT_ARM_SYSTEM_CALL) && HAVE_DECL_NT_ARM_SYSTEM_CALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_SYSTEM_CALL) == (0x404), "NT_ARM_SYSTEM_CALL != 0x404"); @@ -409,6 +928,16 @@ #else # define NT_ARM_SYSTEM_CALL 0x404 #endif +#if defined(NT_ARM_SYSTEM_CALL) || (defined(HAVE_DECL_NT_ARM_SYSTEM_CALL) && HAVE_DECL_NT_ARM_SYSTEM_CALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_SYSTEM_CALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_SYSTEM_CALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_SYSTEM_CALL) +#endif #if defined(NT_ARM_SVE) || (defined(HAVE_DECL_NT_ARM_SVE) && HAVE_DECL_NT_ARM_SVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_SVE) == (0x405), "NT_ARM_SVE != 0x405"); @@ -416,6 +945,16 @@ #else # define NT_ARM_SVE 0x405 #endif +#if defined(NT_ARM_SVE) || (defined(HAVE_DECL_NT_ARM_SVE) && HAVE_DECL_NT_ARM_SVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_SVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_SVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_SVE) +#endif #if defined(NT_ARM_PAC_MASK) || (defined(HAVE_DECL_NT_ARM_PAC_MASK) && HAVE_DECL_NT_ARM_PAC_MASK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_PAC_MASK) == (0x406), "NT_ARM_PAC_MASK != 0x406"); @@ -423,6 +962,16 @@ #else # define NT_ARM_PAC_MASK 0x406 #endif +#if defined(NT_ARM_PAC_MASK) || (defined(HAVE_DECL_NT_ARM_PAC_MASK) && HAVE_DECL_NT_ARM_PAC_MASK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_PAC_MASK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_PAC_MASK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_PAC_MASK) +#endif #if defined(NT_ARM_PACA_KEYS) || (defined(HAVE_DECL_NT_ARM_PACA_KEYS) && HAVE_DECL_NT_ARM_PACA_KEYS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_PACA_KEYS) == (0x407), "NT_ARM_PACA_KEYS != 0x407"); @@ -430,6 +979,16 @@ #else # define NT_ARM_PACA_KEYS 0x407 #endif +#if defined(NT_ARM_PACA_KEYS) || (defined(HAVE_DECL_NT_ARM_PACA_KEYS) && HAVE_DECL_NT_ARM_PACA_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_PACA_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_PACA_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_PACA_KEYS) +#endif #if defined(NT_ARM_PACG_KEYS) || (defined(HAVE_DECL_NT_ARM_PACG_KEYS) && HAVE_DECL_NT_ARM_PACG_KEYS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_PACG_KEYS) == (0x408), "NT_ARM_PACG_KEYS != 0x408"); @@ -437,6 +996,16 @@ #else # define NT_ARM_PACG_KEYS 0x408 #endif +#if defined(NT_ARM_PACG_KEYS) || (defined(HAVE_DECL_NT_ARM_PACG_KEYS) && HAVE_DECL_NT_ARM_PACG_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_PACG_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_PACG_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_PACG_KEYS) +#endif #if defined(NT_ARM_TAGGED_ADDR_CTRL) || (defined(HAVE_DECL_NT_ARM_TAGGED_ADDR_CTRL) && HAVE_DECL_NT_ARM_TAGGED_ADDR_CTRL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_TAGGED_ADDR_CTRL) == (0x409), "NT_ARM_TAGGED_ADDR_CTRL != 0x409"); @@ -444,6 +1013,16 @@ #else # define NT_ARM_TAGGED_ADDR_CTRL 0x409 #endif +#if defined(NT_ARM_TAGGED_ADDR_CTRL) || (defined(HAVE_DECL_NT_ARM_TAGGED_ADDR_CTRL) && HAVE_DECL_NT_ARM_TAGGED_ADDR_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_TAGGED_ADDR_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_TAGGED_ADDR_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_TAGGED_ADDR_CTRL) +#endif #if defined(NT_ARM_PAC_ENABLED_KEYS) || (defined(HAVE_DECL_NT_ARM_PAC_ENABLED_KEYS) && HAVE_DECL_NT_ARM_PAC_ENABLED_KEYS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARM_PAC_ENABLED_KEYS) == (0x40a), "NT_ARM_PAC_ENABLED_KEYS != 0x40a"); @@ -451,6 +1030,50 @@ #else # define NT_ARM_PAC_ENABLED_KEYS 0x40a #endif +#if defined(NT_ARM_PAC_ENABLED_KEYS) || (defined(HAVE_DECL_NT_ARM_PAC_ENABLED_KEYS) && HAVE_DECL_NT_ARM_PAC_ENABLED_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_PAC_ENABLED_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_PAC_ENABLED_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_PAC_ENABLED_KEYS) +#endif +#if defined(NT_ARM_SSVE) || (defined(HAVE_DECL_NT_ARM_SSVE) && HAVE_DECL_NT_ARM_SSVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_ARM_SSVE) == (0x40b), "NT_ARM_SSVE != 0x40b"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_ARM_SSVE 0x40b +#endif +#if defined(NT_ARM_SSVE) || (defined(HAVE_DECL_NT_ARM_SSVE) && HAVE_DECL_NT_ARM_SSVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_SSVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_SSVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_SSVE) +#endif +#if defined(NT_ARM_ZA) || (defined(HAVE_DECL_NT_ARM_ZA) && HAVE_DECL_NT_ARM_ZA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_ARM_ZA) == (0x40c), "NT_ARM_ZA != 0x40c"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_ARM_ZA 0x40c +#endif +#if defined(NT_ARM_ZA) || (defined(HAVE_DECL_NT_ARM_ZA) && HAVE_DECL_NT_ARM_ZA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARM_ZA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARM_ZA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARM_ZA) +#endif #if defined(NT_METAG_CBUF) || (defined(HAVE_DECL_NT_METAG_CBUF) && HAVE_DECL_NT_METAG_CBUF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_METAG_CBUF) == (0x500), "NT_METAG_CBUF != 0x500"); @@ -458,6 +1081,16 @@ #else # define NT_METAG_CBUF 0x500 #endif +#if defined(NT_METAG_CBUF) || (defined(HAVE_DECL_NT_METAG_CBUF) && HAVE_DECL_NT_METAG_CBUF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_METAG_CBUF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_METAG_CBUF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_METAG_CBUF) +#endif #if defined(NT_METAG_RPIPE) || (defined(HAVE_DECL_NT_METAG_RPIPE) && HAVE_DECL_NT_METAG_RPIPE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_METAG_RPIPE) == (0x501), "NT_METAG_RPIPE != 0x501"); @@ -465,6 +1098,16 @@ #else # define NT_METAG_RPIPE 0x501 #endif +#if defined(NT_METAG_RPIPE) || (defined(HAVE_DECL_NT_METAG_RPIPE) && HAVE_DECL_NT_METAG_RPIPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_METAG_RPIPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_METAG_RPIPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_METAG_RPIPE) +#endif #if defined(NT_METAG_TLS) || (defined(HAVE_DECL_NT_METAG_TLS) && HAVE_DECL_NT_METAG_TLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_METAG_TLS) == (0x502), "NT_METAG_TLS != 0x502"); @@ -472,6 +1115,16 @@ #else # define NT_METAG_TLS 0x502 #endif +#if defined(NT_METAG_TLS) || (defined(HAVE_DECL_NT_METAG_TLS) && HAVE_DECL_NT_METAG_TLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_METAG_TLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_METAG_TLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_METAG_TLS) +#endif #if defined(NT_ARC_V2) || (defined(HAVE_DECL_NT_ARC_V2) && HAVE_DECL_NT_ARC_V2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_ARC_V2) == (0x600), "NT_ARC_V2 != 0x600"); @@ -479,6 +1132,16 @@ #else # define NT_ARC_V2 0x600 #endif +#if defined(NT_ARC_V2) || (defined(HAVE_DECL_NT_ARC_V2) && HAVE_DECL_NT_ARC_V2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_ARC_V2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_ARC_V2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_ARC_V2) +#endif #if defined(NT_VMCOREDD) || (defined(HAVE_DECL_NT_VMCOREDD) && HAVE_DECL_NT_VMCOREDD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_VMCOREDD) == (0x700), "NT_VMCOREDD != 0x700"); @@ -486,6 +1149,16 @@ #else # define NT_VMCOREDD 0x700 #endif +#if defined(NT_VMCOREDD) || (defined(HAVE_DECL_NT_VMCOREDD) && HAVE_DECL_NT_VMCOREDD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_VMCOREDD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_VMCOREDD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_VMCOREDD) +#endif #if defined(NT_MIPS_DSP) || (defined(HAVE_DECL_NT_MIPS_DSP) && HAVE_DECL_NT_MIPS_DSP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_MIPS_DSP) == (0x800), "NT_MIPS_DSP != 0x800"); @@ -493,6 +1166,16 @@ #else # define NT_MIPS_DSP 0x800 #endif +#if defined(NT_MIPS_DSP) || (defined(HAVE_DECL_NT_MIPS_DSP) && HAVE_DECL_NT_MIPS_DSP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_MIPS_DSP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_MIPS_DSP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_MIPS_DSP) +#endif #if defined(NT_MIPS_FP_MODE) || (defined(HAVE_DECL_NT_MIPS_FP_MODE) && HAVE_DECL_NT_MIPS_FP_MODE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_MIPS_FP_MODE) == (0x801), "NT_MIPS_FP_MODE != 0x801"); @@ -500,6 +1183,16 @@ #else # define NT_MIPS_FP_MODE 0x801 #endif +#if defined(NT_MIPS_FP_MODE) || (defined(HAVE_DECL_NT_MIPS_FP_MODE) && HAVE_DECL_NT_MIPS_FP_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_MIPS_FP_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_MIPS_FP_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_MIPS_FP_MODE) +#endif #if defined(NT_MIPS_MSA) || (defined(HAVE_DECL_NT_MIPS_MSA) && HAVE_DECL_NT_MIPS_MSA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((NT_MIPS_MSA) == (0x802), "NT_MIPS_MSA != 0x802"); @@ -507,6 +1200,153 @@ #else # define NT_MIPS_MSA 0x802 #endif +#if defined(NT_MIPS_MSA) || (defined(HAVE_DECL_NT_MIPS_MSA) && HAVE_DECL_NT_MIPS_MSA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_MIPS_MSA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_MIPS_MSA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_MIPS_MSA) +#endif +#if defined(NT_LOONGARCH_CPUCFG) || (defined(HAVE_DECL_NT_LOONGARCH_CPUCFG) && HAVE_DECL_NT_LOONGARCH_CPUCFG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_LOONGARCH_CPUCFG) == (0xa00), "NT_LOONGARCH_CPUCFG != 0xa00"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_LOONGARCH_CPUCFG 0xa00 +#endif +#if defined(NT_LOONGARCH_CPUCFG) || (defined(HAVE_DECL_NT_LOONGARCH_CPUCFG) && HAVE_DECL_NT_LOONGARCH_CPUCFG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LOONGARCH_CPUCFG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LOONGARCH_CPUCFG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LOONGARCH_CPUCFG) +#endif +#if defined(NT_LOONGARCH_CSR) || (defined(HAVE_DECL_NT_LOONGARCH_CSR) && HAVE_DECL_NT_LOONGARCH_CSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_LOONGARCH_CSR) == (0xa01), "NT_LOONGARCH_CSR != 0xa01"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_LOONGARCH_CSR 0xa01 +#endif +#if defined(NT_LOONGARCH_CSR) || (defined(HAVE_DECL_NT_LOONGARCH_CSR) && HAVE_DECL_NT_LOONGARCH_CSR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LOONGARCH_CSR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LOONGARCH_CSR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LOONGARCH_CSR) +#endif +#if defined(NT_LOONGARCH_LSX) || (defined(HAVE_DECL_NT_LOONGARCH_LSX) && HAVE_DECL_NT_LOONGARCH_LSX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_LOONGARCH_LSX) == (0xa02), "NT_LOONGARCH_LSX != 0xa02"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_LOONGARCH_LSX 0xa02 +#endif +#if defined(NT_LOONGARCH_LSX) || (defined(HAVE_DECL_NT_LOONGARCH_LSX) && HAVE_DECL_NT_LOONGARCH_LSX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LOONGARCH_LSX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LOONGARCH_LSX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LOONGARCH_LSX) +#endif +#if defined(NT_LOONGARCH_LASX) || (defined(HAVE_DECL_NT_LOONGARCH_LASX) && HAVE_DECL_NT_LOONGARCH_LASX) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_LOONGARCH_LASX) == (0xa03), "NT_LOONGARCH_LASX != 0xa03"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_LOONGARCH_LASX 0xa03 +#endif +#if defined(NT_LOONGARCH_LASX) || (defined(HAVE_DECL_NT_LOONGARCH_LASX) && HAVE_DECL_NT_LOONGARCH_LASX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LOONGARCH_LASX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LOONGARCH_LASX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LOONGARCH_LASX) +#endif +#if defined(NT_LOONGARCH_LBT) || (defined(HAVE_DECL_NT_LOONGARCH_LBT) && HAVE_DECL_NT_LOONGARCH_LBT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_LOONGARCH_LBT) == (0xa04), "NT_LOONGARCH_LBT != 0xa04"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_LOONGARCH_LBT 0xa04 +#endif +#if defined(NT_LOONGARCH_LBT) || (defined(HAVE_DECL_NT_LOONGARCH_LBT) && HAVE_DECL_NT_LOONGARCH_LBT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_LOONGARCH_LBT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_LOONGARCH_LBT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_LOONGARCH_LBT) +#endif +#if defined(NT_FILE) || (defined(HAVE_DECL_NT_FILE) && HAVE_DECL_NT_FILE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_FILE) == (0x46494c45), "NT_FILE != 0x46494c45"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_FILE 0x46494c45 +#endif +#if defined(NT_FILE) || (defined(HAVE_DECL_NT_FILE) && HAVE_DECL_NT_FILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_FILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_FILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_FILE) +#endif +#if defined(NT_PRXFPREG) || (defined(HAVE_DECL_NT_PRXFPREG) && HAVE_DECL_NT_PRXFPREG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_PRXFPREG) == (0x46e62b7f), "NT_PRXFPREG != 0x46e62b7f"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_PRXFPREG 0x46e62b7f +#endif +#if defined(NT_PRXFPREG) || (defined(HAVE_DECL_NT_PRXFPREG) && HAVE_DECL_NT_PRXFPREG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_PRXFPREG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_PRXFPREG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_PRXFPREG) +#endif +#if defined(NT_SIGINFO) || (defined(HAVE_DECL_NT_SIGINFO) && HAVE_DECL_NT_SIGINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NT_SIGINFO) == (0x53494749), "NT_SIGINFO != 0x53494749"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NT_SIGINFO 0x53494749 +#endif +#if defined(NT_SIGINFO) || (defined(HAVE_DECL_NT_SIGINFO) && HAVE_DECL_NT_SIGINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (NT_SIGINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: NT_SIGINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (NT_SIGINFO) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -530,216 +1370,237 @@ XLAT(NT_PRXREG), #define XLAT_VAL_3 ((unsigned) (NT_PRXREG)) #define XLAT_STR_3 STRINGIFY(NT_PRXREG) - XLAT(NT_TASKSTRUCT), - #define XLAT_VAL_4 ((unsigned) (NT_TASKSTRUCT)) - #define XLAT_STR_4 STRINGIFY(NT_TASKSTRUCT) XLAT(NT_PLATFORM), - #define XLAT_VAL_5 ((unsigned) (NT_PLATFORM)) - #define XLAT_STR_5 STRINGIFY(NT_PLATFORM) + #define XLAT_VAL_4 ((unsigned) (NT_PLATFORM)) + #define XLAT_STR_4 STRINGIFY(NT_PLATFORM) XLAT(NT_AUXV), - #define XLAT_VAL_6 ((unsigned) (NT_AUXV)) - #define XLAT_STR_6 STRINGIFY(NT_AUXV) + #define XLAT_VAL_5 ((unsigned) (NT_AUXV)) + #define XLAT_STR_5 STRINGIFY(NT_AUXV) XLAT(NT_GWINDOWS), - #define XLAT_VAL_7 ((unsigned) (NT_GWINDOWS)) - #define XLAT_STR_7 STRINGIFY(NT_GWINDOWS) + #define XLAT_VAL_6 ((unsigned) (NT_GWINDOWS)) + #define XLAT_STR_6 STRINGIFY(NT_GWINDOWS) XLAT(NT_ASRS), - #define XLAT_VAL_8 ((unsigned) (NT_ASRS)) - #define XLAT_STR_8 STRINGIFY(NT_ASRS) + #define XLAT_VAL_7 ((unsigned) (NT_ASRS)) + #define XLAT_STR_7 STRINGIFY(NT_ASRS) XLAT(NT_PSTATUS), - #define XLAT_VAL_9 ((unsigned) (NT_PSTATUS)) - #define XLAT_STR_9 STRINGIFY(NT_PSTATUS) + #define XLAT_VAL_8 ((unsigned) (NT_PSTATUS)) + #define XLAT_STR_8 STRINGIFY(NT_PSTATUS) XLAT(NT_PSINFO), - #define XLAT_VAL_10 ((unsigned) (NT_PSINFO)) - #define XLAT_STR_10 STRINGIFY(NT_PSINFO) + #define XLAT_VAL_9 ((unsigned) (NT_PSINFO)) + #define XLAT_STR_9 STRINGIFY(NT_PSINFO) XLAT(NT_PRCRED), - #define XLAT_VAL_11 ((unsigned) (NT_PRCRED)) - #define XLAT_STR_11 STRINGIFY(NT_PRCRED) + #define XLAT_VAL_10 ((unsigned) (NT_PRCRED)) + #define XLAT_STR_10 STRINGIFY(NT_PRCRED) XLAT(NT_UTSNAME), - #define XLAT_VAL_12 ((unsigned) (NT_UTSNAME)) - #define XLAT_STR_12 STRINGIFY(NT_UTSNAME) + #define XLAT_VAL_11 ((unsigned) (NT_UTSNAME)) + #define XLAT_STR_11 STRINGIFY(NT_UTSNAME) XLAT(NT_LWPSTATUS), - #define XLAT_VAL_13 ((unsigned) (NT_LWPSTATUS)) - #define XLAT_STR_13 STRINGIFY(NT_LWPSTATUS) + #define XLAT_VAL_12 ((unsigned) (NT_LWPSTATUS)) + #define XLAT_STR_12 STRINGIFY(NT_LWPSTATUS) XLAT(NT_LWPSINFO), - #define XLAT_VAL_14 ((unsigned) (NT_LWPSINFO)) - #define XLAT_STR_14 STRINGIFY(NT_LWPSINFO) + #define XLAT_VAL_13 ((unsigned) (NT_LWPSINFO)) + #define XLAT_STR_13 STRINGIFY(NT_LWPSINFO) XLAT(NT_PRFPXREG), - #define XLAT_VAL_15 ((unsigned) (NT_PRFPXREG)) - #define XLAT_STR_15 STRINGIFY(NT_PRFPXREG) - XLAT(NT_SIGINFO), - #define XLAT_VAL_16 ((unsigned) (NT_SIGINFO)) - #define XLAT_STR_16 STRINGIFY(NT_SIGINFO) - XLAT(NT_FILE), - #define XLAT_VAL_17 ((unsigned) (NT_FILE)) - #define XLAT_STR_17 STRINGIFY(NT_FILE) - XLAT(NT_PRXFPREG), - #define XLAT_VAL_18 ((unsigned) (NT_PRXFPREG)) - #define XLAT_STR_18 STRINGIFY(NT_PRXFPREG) + #define XLAT_VAL_14 ((unsigned) (NT_PRFPXREG)) + #define XLAT_STR_14 STRINGIFY(NT_PRFPXREG) XLAT(NT_PPC_VMX), - #define XLAT_VAL_19 ((unsigned) (NT_PPC_VMX)) - #define XLAT_STR_19 STRINGIFY(NT_PPC_VMX) + #define XLAT_VAL_15 ((unsigned) (NT_PPC_VMX)) + #define XLAT_STR_15 STRINGIFY(NT_PPC_VMX) XLAT(NT_PPC_SPE), - #define XLAT_VAL_20 ((unsigned) (NT_PPC_SPE)) - #define XLAT_STR_20 STRINGIFY(NT_PPC_SPE) + #define XLAT_VAL_16 ((unsigned) (NT_PPC_SPE)) + #define XLAT_STR_16 STRINGIFY(NT_PPC_SPE) XLAT(NT_PPC_VSX), - #define XLAT_VAL_21 ((unsigned) (NT_PPC_VSX)) - #define XLAT_STR_21 STRINGIFY(NT_PPC_VSX) + #define XLAT_VAL_17 ((unsigned) (NT_PPC_VSX)) + #define XLAT_STR_17 STRINGIFY(NT_PPC_VSX) XLAT(NT_PPC_TAR), - #define XLAT_VAL_22 ((unsigned) (NT_PPC_TAR)) - #define XLAT_STR_22 STRINGIFY(NT_PPC_TAR) + #define XLAT_VAL_18 ((unsigned) (NT_PPC_TAR)) + #define XLAT_STR_18 STRINGIFY(NT_PPC_TAR) XLAT(NT_PPC_PPR), - #define XLAT_VAL_23 ((unsigned) (NT_PPC_PPR)) - #define XLAT_STR_23 STRINGIFY(NT_PPC_PPR) + #define XLAT_VAL_19 ((unsigned) (NT_PPC_PPR)) + #define XLAT_STR_19 STRINGIFY(NT_PPC_PPR) XLAT(NT_PPC_DSCR), - #define XLAT_VAL_24 ((unsigned) (NT_PPC_DSCR)) - #define XLAT_STR_24 STRINGIFY(NT_PPC_DSCR) + #define XLAT_VAL_20 ((unsigned) (NT_PPC_DSCR)) + #define XLAT_STR_20 STRINGIFY(NT_PPC_DSCR) XLAT(NT_PPC_EBB), - #define XLAT_VAL_25 ((unsigned) (NT_PPC_EBB)) - #define XLAT_STR_25 STRINGIFY(NT_PPC_EBB) + #define XLAT_VAL_21 ((unsigned) (NT_PPC_EBB)) + #define XLAT_STR_21 STRINGIFY(NT_PPC_EBB) XLAT(NT_PPC_PMU), - #define XLAT_VAL_26 ((unsigned) (NT_PPC_PMU)) - #define XLAT_STR_26 STRINGIFY(NT_PPC_PMU) + #define XLAT_VAL_22 ((unsigned) (NT_PPC_PMU)) + #define XLAT_STR_22 STRINGIFY(NT_PPC_PMU) XLAT(NT_PPC_TM_CGPR), - #define XLAT_VAL_27 ((unsigned) (NT_PPC_TM_CGPR)) - #define XLAT_STR_27 STRINGIFY(NT_PPC_TM_CGPR) + #define XLAT_VAL_23 ((unsigned) (NT_PPC_TM_CGPR)) + #define XLAT_STR_23 STRINGIFY(NT_PPC_TM_CGPR) XLAT(NT_PPC_TM_CFPR), - #define XLAT_VAL_28 ((unsigned) (NT_PPC_TM_CFPR)) - #define XLAT_STR_28 STRINGIFY(NT_PPC_TM_CFPR) + #define XLAT_VAL_24 ((unsigned) (NT_PPC_TM_CFPR)) + #define XLAT_STR_24 STRINGIFY(NT_PPC_TM_CFPR) XLAT(NT_PPC_TM_CVMX), - #define XLAT_VAL_29 ((unsigned) (NT_PPC_TM_CVMX)) - #define XLAT_STR_29 STRINGIFY(NT_PPC_TM_CVMX) + #define XLAT_VAL_25 ((unsigned) (NT_PPC_TM_CVMX)) + #define XLAT_STR_25 STRINGIFY(NT_PPC_TM_CVMX) XLAT(NT_PPC_TM_CVSX), - #define XLAT_VAL_30 ((unsigned) (NT_PPC_TM_CVSX)) - #define XLAT_STR_30 STRINGIFY(NT_PPC_TM_CVSX) + #define XLAT_VAL_26 ((unsigned) (NT_PPC_TM_CVSX)) + #define XLAT_STR_26 STRINGIFY(NT_PPC_TM_CVSX) XLAT(NT_PPC_TM_SPR), - #define XLAT_VAL_31 ((unsigned) (NT_PPC_TM_SPR)) - #define XLAT_STR_31 STRINGIFY(NT_PPC_TM_SPR) + #define XLAT_VAL_27 ((unsigned) (NT_PPC_TM_SPR)) + #define XLAT_STR_27 STRINGIFY(NT_PPC_TM_SPR) XLAT(NT_PPC_TM_CTAR), - #define XLAT_VAL_32 ((unsigned) (NT_PPC_TM_CTAR)) - #define XLAT_STR_32 STRINGIFY(NT_PPC_TM_CTAR) + #define XLAT_VAL_28 ((unsigned) (NT_PPC_TM_CTAR)) + #define XLAT_STR_28 STRINGIFY(NT_PPC_TM_CTAR) XLAT(NT_PPC_TM_CPPR), - #define XLAT_VAL_33 ((unsigned) (NT_PPC_TM_CPPR)) - #define XLAT_STR_33 STRINGIFY(NT_PPC_TM_CPPR) + #define XLAT_VAL_29 ((unsigned) (NT_PPC_TM_CPPR)) + #define XLAT_STR_29 STRINGIFY(NT_PPC_TM_CPPR) XLAT(NT_PPC_TM_CDSCR), - #define XLAT_VAL_34 ((unsigned) (NT_PPC_TM_CDSCR)) - #define XLAT_STR_34 STRINGIFY(NT_PPC_TM_CDSCR) + #define XLAT_VAL_30 ((unsigned) (NT_PPC_TM_CDSCR)) + #define XLAT_STR_30 STRINGIFY(NT_PPC_TM_CDSCR) XLAT(NT_PPC_PKEY), - #define XLAT_VAL_35 ((unsigned) (NT_PPC_PKEY)) - #define XLAT_STR_35 STRINGIFY(NT_PPC_PKEY) + #define XLAT_VAL_31 ((unsigned) (NT_PPC_PKEY)) + #define XLAT_STR_31 STRINGIFY(NT_PPC_PKEY) XLAT(NT_386_TLS), - #define XLAT_VAL_36 ((unsigned) (NT_386_TLS)) - #define XLAT_STR_36 STRINGIFY(NT_386_TLS) + #define XLAT_VAL_32 ((unsigned) (NT_386_TLS)) + #define XLAT_STR_32 STRINGIFY(NT_386_TLS) XLAT(NT_386_IOPERM), - #define XLAT_VAL_37 ((unsigned) (NT_386_IOPERM)) - #define XLAT_STR_37 STRINGIFY(NT_386_IOPERM) + #define XLAT_VAL_33 ((unsigned) (NT_386_IOPERM)) + #define XLAT_STR_33 STRINGIFY(NT_386_IOPERM) XLAT(NT_X86_XSTATE), - #define XLAT_VAL_38 ((unsigned) (NT_X86_XSTATE)) - #define XLAT_STR_38 STRINGIFY(NT_X86_XSTATE) + #define XLAT_VAL_34 ((unsigned) (NT_X86_XSTATE)) + #define XLAT_STR_34 STRINGIFY(NT_X86_XSTATE) XLAT(NT_S390_HIGH_GPRS), - #define XLAT_VAL_39 ((unsigned) (NT_S390_HIGH_GPRS)) - #define XLAT_STR_39 STRINGIFY(NT_S390_HIGH_GPRS) + #define XLAT_VAL_35 ((unsigned) (NT_S390_HIGH_GPRS)) + #define XLAT_STR_35 STRINGIFY(NT_S390_HIGH_GPRS) XLAT(NT_S390_TIMER), - #define XLAT_VAL_40 ((unsigned) (NT_S390_TIMER)) - #define XLAT_STR_40 STRINGIFY(NT_S390_TIMER) + #define XLAT_VAL_36 ((unsigned) (NT_S390_TIMER)) + #define XLAT_STR_36 STRINGIFY(NT_S390_TIMER) XLAT(NT_S390_TODCMP), - #define XLAT_VAL_41 ((unsigned) (NT_S390_TODCMP)) - #define XLAT_STR_41 STRINGIFY(NT_S390_TODCMP) + #define XLAT_VAL_37 ((unsigned) (NT_S390_TODCMP)) + #define XLAT_STR_37 STRINGIFY(NT_S390_TODCMP) XLAT(NT_S390_TODPREG), - #define XLAT_VAL_42 ((unsigned) (NT_S390_TODPREG)) - #define XLAT_STR_42 STRINGIFY(NT_S390_TODPREG) + #define XLAT_VAL_38 ((unsigned) (NT_S390_TODPREG)) + #define XLAT_STR_38 STRINGIFY(NT_S390_TODPREG) XLAT(NT_S390_CTRS), - #define XLAT_VAL_43 ((unsigned) (NT_S390_CTRS)) - #define XLAT_STR_43 STRINGIFY(NT_S390_CTRS) + #define XLAT_VAL_39 ((unsigned) (NT_S390_CTRS)) + #define XLAT_STR_39 STRINGIFY(NT_S390_CTRS) XLAT(NT_S390_PREFIX), - #define XLAT_VAL_44 ((unsigned) (NT_S390_PREFIX)) - #define XLAT_STR_44 STRINGIFY(NT_S390_PREFIX) + #define XLAT_VAL_40 ((unsigned) (NT_S390_PREFIX)) + #define XLAT_STR_40 STRINGIFY(NT_S390_PREFIX) XLAT(NT_S390_LAST_BREAK), - #define XLAT_VAL_45 ((unsigned) (NT_S390_LAST_BREAK)) - #define XLAT_STR_45 STRINGIFY(NT_S390_LAST_BREAK) + #define XLAT_VAL_41 ((unsigned) (NT_S390_LAST_BREAK)) + #define XLAT_STR_41 STRINGIFY(NT_S390_LAST_BREAK) XLAT(NT_S390_SYSTEM_CALL), - #define XLAT_VAL_46 ((unsigned) (NT_S390_SYSTEM_CALL)) - #define XLAT_STR_46 STRINGIFY(NT_S390_SYSTEM_CALL) + #define XLAT_VAL_42 ((unsigned) (NT_S390_SYSTEM_CALL)) + #define XLAT_STR_42 STRINGIFY(NT_S390_SYSTEM_CALL) XLAT(NT_S390_TDB), - #define XLAT_VAL_47 ((unsigned) (NT_S390_TDB)) - #define XLAT_STR_47 STRINGIFY(NT_S390_TDB) + #define XLAT_VAL_43 ((unsigned) (NT_S390_TDB)) + #define XLAT_STR_43 STRINGIFY(NT_S390_TDB) XLAT(NT_S390_VXRS_LOW), - #define XLAT_VAL_48 ((unsigned) (NT_S390_VXRS_LOW)) - #define XLAT_STR_48 STRINGIFY(NT_S390_VXRS_LOW) + #define XLAT_VAL_44 ((unsigned) (NT_S390_VXRS_LOW)) + #define XLAT_STR_44 STRINGIFY(NT_S390_VXRS_LOW) XLAT(NT_S390_VXRS_HIGH), - #define XLAT_VAL_49 ((unsigned) (NT_S390_VXRS_HIGH)) - #define XLAT_STR_49 STRINGIFY(NT_S390_VXRS_HIGH) + #define XLAT_VAL_45 ((unsigned) (NT_S390_VXRS_HIGH)) + #define XLAT_STR_45 STRINGIFY(NT_S390_VXRS_HIGH) XLAT(NT_S390_GS_CB), - #define XLAT_VAL_50 ((unsigned) (NT_S390_GS_CB)) - #define XLAT_STR_50 STRINGIFY(NT_S390_GS_CB) + #define XLAT_VAL_46 ((unsigned) (NT_S390_GS_CB)) + #define XLAT_STR_46 STRINGIFY(NT_S390_GS_CB) XLAT(NT_S390_GS_BC), - #define XLAT_VAL_51 ((unsigned) (NT_S390_GS_BC)) - #define XLAT_STR_51 STRINGIFY(NT_S390_GS_BC) + #define XLAT_VAL_47 ((unsigned) (NT_S390_GS_BC)) + #define XLAT_STR_47 STRINGIFY(NT_S390_GS_BC) XLAT(NT_S390_RI_CB), - #define XLAT_VAL_52 ((unsigned) (NT_S390_RI_CB)) - #define XLAT_STR_52 STRINGIFY(NT_S390_RI_CB) + #define XLAT_VAL_48 ((unsigned) (NT_S390_RI_CB)) + #define XLAT_STR_48 STRINGIFY(NT_S390_RI_CB) + XLAT(NT_S390_PV_CPU_DATA), + #define XLAT_VAL_49 ((unsigned) (NT_S390_PV_CPU_DATA)) + #define XLAT_STR_49 STRINGIFY(NT_S390_PV_CPU_DATA) XLAT(NT_ARM_VFP), - #define XLAT_VAL_53 ((unsigned) (NT_ARM_VFP)) - #define XLAT_STR_53 STRINGIFY(NT_ARM_VFP) + #define XLAT_VAL_50 ((unsigned) (NT_ARM_VFP)) + #define XLAT_STR_50 STRINGIFY(NT_ARM_VFP) XLAT(NT_ARM_TLS), - #define XLAT_VAL_54 ((unsigned) (NT_ARM_TLS)) - #define XLAT_STR_54 STRINGIFY(NT_ARM_TLS) + #define XLAT_VAL_51 ((unsigned) (NT_ARM_TLS)) + #define XLAT_STR_51 STRINGIFY(NT_ARM_TLS) XLAT(NT_ARM_HW_BREAK), - #define XLAT_VAL_55 ((unsigned) (NT_ARM_HW_BREAK)) - #define XLAT_STR_55 STRINGIFY(NT_ARM_HW_BREAK) + #define XLAT_VAL_52 ((unsigned) (NT_ARM_HW_BREAK)) + #define XLAT_STR_52 STRINGIFY(NT_ARM_HW_BREAK) XLAT(NT_ARM_HW_WATCH), - #define XLAT_VAL_56 ((unsigned) (NT_ARM_HW_WATCH)) - #define XLAT_STR_56 STRINGIFY(NT_ARM_HW_WATCH) + #define XLAT_VAL_53 ((unsigned) (NT_ARM_HW_WATCH)) + #define XLAT_STR_53 STRINGIFY(NT_ARM_HW_WATCH) XLAT(NT_ARM_SYSTEM_CALL), - #define XLAT_VAL_57 ((unsigned) (NT_ARM_SYSTEM_CALL)) - #define XLAT_STR_57 STRINGIFY(NT_ARM_SYSTEM_CALL) + #define XLAT_VAL_54 ((unsigned) (NT_ARM_SYSTEM_CALL)) + #define XLAT_STR_54 STRINGIFY(NT_ARM_SYSTEM_CALL) XLAT(NT_ARM_SVE), - #define XLAT_VAL_58 ((unsigned) (NT_ARM_SVE)) - #define XLAT_STR_58 STRINGIFY(NT_ARM_SVE) + #define XLAT_VAL_55 ((unsigned) (NT_ARM_SVE)) + #define XLAT_STR_55 STRINGIFY(NT_ARM_SVE) XLAT(NT_ARM_PAC_MASK), - #define XLAT_VAL_59 ((unsigned) (NT_ARM_PAC_MASK)) - #define XLAT_STR_59 STRINGIFY(NT_ARM_PAC_MASK) + #define XLAT_VAL_56 ((unsigned) (NT_ARM_PAC_MASK)) + #define XLAT_STR_56 STRINGIFY(NT_ARM_PAC_MASK) XLAT(NT_ARM_PACA_KEYS), - #define XLAT_VAL_60 ((unsigned) (NT_ARM_PACA_KEYS)) - #define XLAT_STR_60 STRINGIFY(NT_ARM_PACA_KEYS) + #define XLAT_VAL_57 ((unsigned) (NT_ARM_PACA_KEYS)) + #define XLAT_STR_57 STRINGIFY(NT_ARM_PACA_KEYS) XLAT(NT_ARM_PACG_KEYS), - #define XLAT_VAL_61 ((unsigned) (NT_ARM_PACG_KEYS)) - #define XLAT_STR_61 STRINGIFY(NT_ARM_PACG_KEYS) + #define XLAT_VAL_58 ((unsigned) (NT_ARM_PACG_KEYS)) + #define XLAT_STR_58 STRINGIFY(NT_ARM_PACG_KEYS) XLAT(NT_ARM_TAGGED_ADDR_CTRL), - #define XLAT_VAL_62 ((unsigned) (NT_ARM_TAGGED_ADDR_CTRL)) - #define XLAT_STR_62 STRINGIFY(NT_ARM_TAGGED_ADDR_CTRL) + #define XLAT_VAL_59 ((unsigned) (NT_ARM_TAGGED_ADDR_CTRL)) + #define XLAT_STR_59 STRINGIFY(NT_ARM_TAGGED_ADDR_CTRL) XLAT(NT_ARM_PAC_ENABLED_KEYS), - #define XLAT_VAL_63 ((unsigned) (NT_ARM_PAC_ENABLED_KEYS)) - #define XLAT_STR_63 STRINGIFY(NT_ARM_PAC_ENABLED_KEYS) + #define XLAT_VAL_60 ((unsigned) (NT_ARM_PAC_ENABLED_KEYS)) + #define XLAT_STR_60 STRINGIFY(NT_ARM_PAC_ENABLED_KEYS) + XLAT(NT_ARM_SSVE), + #define XLAT_VAL_61 ((unsigned) (NT_ARM_SSVE)) + #define XLAT_STR_61 STRINGIFY(NT_ARM_SSVE) + XLAT(NT_ARM_ZA), + #define XLAT_VAL_62 ((unsigned) (NT_ARM_ZA)) + #define XLAT_STR_62 STRINGIFY(NT_ARM_ZA) XLAT(NT_METAG_CBUF), - #define XLAT_VAL_64 ((unsigned) (NT_METAG_CBUF)) - #define XLAT_STR_64 STRINGIFY(NT_METAG_CBUF) + #define XLAT_VAL_63 ((unsigned) (NT_METAG_CBUF)) + #define XLAT_STR_63 STRINGIFY(NT_METAG_CBUF) XLAT(NT_METAG_RPIPE), - #define XLAT_VAL_65 ((unsigned) (NT_METAG_RPIPE)) - #define XLAT_STR_65 STRINGIFY(NT_METAG_RPIPE) + #define XLAT_VAL_64 ((unsigned) (NT_METAG_RPIPE)) + #define XLAT_STR_64 STRINGIFY(NT_METAG_RPIPE) XLAT(NT_METAG_TLS), - #define XLAT_VAL_66 ((unsigned) (NT_METAG_TLS)) - #define XLAT_STR_66 STRINGIFY(NT_METAG_TLS) + #define XLAT_VAL_65 ((unsigned) (NT_METAG_TLS)) + #define XLAT_STR_65 STRINGIFY(NT_METAG_TLS) XLAT(NT_ARC_V2), - #define XLAT_VAL_67 ((unsigned) (NT_ARC_V2)) - #define XLAT_STR_67 STRINGIFY(NT_ARC_V2) + #define XLAT_VAL_66 ((unsigned) (NT_ARC_V2)) + #define XLAT_STR_66 STRINGIFY(NT_ARC_V2) XLAT(NT_VMCOREDD), - #define XLAT_VAL_68 ((unsigned) (NT_VMCOREDD)) - #define XLAT_STR_68 STRINGIFY(NT_VMCOREDD) + #define XLAT_VAL_67 ((unsigned) (NT_VMCOREDD)) + #define XLAT_STR_67 STRINGIFY(NT_VMCOREDD) XLAT(NT_MIPS_DSP), - #define XLAT_VAL_69 ((unsigned) (NT_MIPS_DSP)) - #define XLAT_STR_69 STRINGIFY(NT_MIPS_DSP) + #define XLAT_VAL_68 ((unsigned) (NT_MIPS_DSP)) + #define XLAT_STR_68 STRINGIFY(NT_MIPS_DSP) XLAT(NT_MIPS_FP_MODE), - #define XLAT_VAL_70 ((unsigned) (NT_MIPS_FP_MODE)) - #define XLAT_STR_70 STRINGIFY(NT_MIPS_FP_MODE) + #define XLAT_VAL_69 ((unsigned) (NT_MIPS_FP_MODE)) + #define XLAT_STR_69 STRINGIFY(NT_MIPS_FP_MODE) XLAT(NT_MIPS_MSA), - #define XLAT_VAL_71 ((unsigned) (NT_MIPS_MSA)) - #define XLAT_STR_71 STRINGIFY(NT_MIPS_MSA) + #define XLAT_VAL_70 ((unsigned) (NT_MIPS_MSA)) + #define XLAT_STR_70 STRINGIFY(NT_MIPS_MSA) + XLAT(NT_LOONGARCH_CPUCFG), + #define XLAT_VAL_71 ((unsigned) (NT_LOONGARCH_CPUCFG)) + #define XLAT_STR_71 STRINGIFY(NT_LOONGARCH_CPUCFG) + XLAT(NT_LOONGARCH_CSR), + #define XLAT_VAL_72 ((unsigned) (NT_LOONGARCH_CSR)) + #define XLAT_STR_72 STRINGIFY(NT_LOONGARCH_CSR) + XLAT(NT_LOONGARCH_LSX), + #define XLAT_VAL_73 ((unsigned) (NT_LOONGARCH_LSX)) + #define XLAT_STR_73 STRINGIFY(NT_LOONGARCH_LSX) + XLAT(NT_LOONGARCH_LASX), + #define XLAT_VAL_74 ((unsigned) (NT_LOONGARCH_LASX)) + #define XLAT_STR_74 STRINGIFY(NT_LOONGARCH_LASX) + XLAT(NT_LOONGARCH_LBT), + #define XLAT_VAL_75 ((unsigned) (NT_LOONGARCH_LBT)) + #define XLAT_STR_75 STRINGIFY(NT_LOONGARCH_LBT) + XLAT(NT_FILE), + #define XLAT_VAL_76 ((unsigned) (NT_FILE)) + #define XLAT_STR_76 STRINGIFY(NT_FILE) + XLAT(NT_PRXFPREG), + #define XLAT_VAL_77 ((unsigned) (NT_PRXFPREG)) + #define XLAT_STR_77 STRINGIFY(NT_PRXFPREG) + XLAT(NT_SIGINFO), + #define XLAT_VAL_78 ((unsigned) (NT_SIGINFO)) + #define XLAT_STR_78 STRINGIFY(NT_SIGINFO) }; static const struct xlat nt_descriptor_types1 = { { .data = nt_descriptor_types_xdata, .size = ARRAY_SIZE(nt_descriptor_types_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -957,6 +1818,27 @@ # ifdef XLAT_VAL_71 | XLAT_VAL_71 # endif +# ifdef XLAT_VAL_72 + | XLAT_VAL_72 +# endif +# ifdef XLAT_VAL_73 + | XLAT_VAL_73 +# endif +# ifdef XLAT_VAL_74 + | XLAT_VAL_74 +# endif +# ifdef XLAT_VAL_75 + | XLAT_VAL_75 +# endif +# ifdef XLAT_VAL_76 + | XLAT_VAL_76 +# endif +# ifdef XLAT_VAL_77 + | XLAT_VAL_77 +# endif +# ifdef XLAT_VAL_78 + | XLAT_VAL_78 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1175,6 +2057,27 @@ # ifdef XLAT_STR_71 + sizeof(XLAT_STR_71) # endif +# ifdef XLAT_STR_72 + + sizeof(XLAT_STR_72) +# endif +# ifdef XLAT_STR_73 + + sizeof(XLAT_STR_73) +# endif +# ifdef XLAT_STR_74 + + sizeof(XLAT_STR_74) +# endif +# ifdef XLAT_STR_75 + + sizeof(XLAT_STR_75) +# endif +# ifdef XLAT_STR_76 + + sizeof(XLAT_STR_76) +# endif +# ifdef XLAT_STR_77 + + sizeof(XLAT_STR_77) +# endif +# ifdef XLAT_STR_78 + + sizeof(XLAT_STR_78) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -1323,6 +2226,20 @@ # undef XLAT_VAL_70 # undef XLAT_STR_71 # undef XLAT_VAL_71 +# undef XLAT_STR_72 +# undef XLAT_VAL_72 +# undef XLAT_STR_73 +# undef XLAT_VAL_73 +# undef XLAT_STR_74 +# undef XLAT_VAL_74 +# undef XLAT_STR_75 +# undef XLAT_VAL_75 +# undef XLAT_STR_76 +# undef XLAT_VAL_76 +# undef XLAT_STR_77 +# undef XLAT_VAL_77 +# undef XLAT_STR_78 +# undef XLAT_VAL_78 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/nt_descriptor_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/nt_descriptor_types.in
Changed
@@ -1,8 +1,8 @@ +#sorted NT_PRSTATUS 1 NT_FPREGSET 2 NT_PRPSINFO 3 NT_PRXREG 4 -NT_TASKSTRUCT 4 NT_PLATFORM 5 NT_AUXV 6 NT_GWINDOWS 7 @@ -14,9 +14,6 @@ NT_LWPSTATUS 16 NT_LWPSINFO 17 NT_PRFPXREG 20 -NT_SIGINFO 0x53494749 -NT_FILE 0x46494c45 -NT_PRXFPREG 0x46e62b7f NT_PPC_VMX 0x100 NT_PPC_SPE 0x101 NT_PPC_VSX 0x102 @@ -51,6 +48,7 @@ NT_S390_GS_CB 0x30b NT_S390_GS_BC 0x30c NT_S390_RI_CB 0x30d +NT_S390_PV_CPU_DATA 0x30e NT_ARM_VFP 0x400 NT_ARM_TLS 0x401 NT_ARM_HW_BREAK 0x402 @@ -62,6 +60,8 @@ NT_ARM_PACG_KEYS 0x408 NT_ARM_TAGGED_ADDR_CTRL 0x409 NT_ARM_PAC_ENABLED_KEYS 0x40a +NT_ARM_SSVE 0x40b +NT_ARM_ZA 0x40c NT_METAG_CBUF 0x500 NT_METAG_RPIPE 0x501 NT_METAG_TLS 0x502 @@ -70,3 +70,11 @@ NT_MIPS_DSP 0x800 NT_MIPS_FP_MODE 0x801 NT_MIPS_MSA 0x802 +NT_LOONGARCH_CPUCFG 0xa00 +NT_LOONGARCH_CSR 0xa01 +NT_LOONGARCH_LSX 0xa02 +NT_LOONGARCH_LASX 0xa03 +NT_LOONGARCH_LBT 0xa04 +NT_FILE 0x46494c45 +NT_PRXFPREG 0x46e62b7f +NT_SIGINFO 0x53494749
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/numa_node.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/numa_node.h
Changed
@@ -10,6 +10,7 @@ #else # define NUMA_NO_NODE -1U #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/open_access_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/open_access_modes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/open_mode_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/open_mode_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/open_resolve_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/open_resolve_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/open_tree_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/open_tree_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_diag_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_diag_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_diag_info_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_diag_info_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,31 +15,21 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data packet_diag_info_flags_xdata = { -#if defined(PDI_RUNNING) || (defined(HAVE_DECL_PDI_RUNNING) && HAVE_DECL_PDI_RUNNING) - XLAT(PDI_RUNNING), + XLAT(PDI_RUNNING), #define XLAT_VAL_0 ((unsigned) (PDI_RUNNING)) #define XLAT_STR_0 STRINGIFY(PDI_RUNNING) -#endif -#if defined(PDI_AUXDATA) || (defined(HAVE_DECL_PDI_AUXDATA) && HAVE_DECL_PDI_AUXDATA) - XLAT(PDI_AUXDATA), + XLAT(PDI_AUXDATA), #define XLAT_VAL_1 ((unsigned) (PDI_AUXDATA)) #define XLAT_STR_1 STRINGIFY(PDI_AUXDATA) -#endif -#if defined(PDI_ORIGDEV) || (defined(HAVE_DECL_PDI_ORIGDEV) && HAVE_DECL_PDI_ORIGDEV) - XLAT(PDI_ORIGDEV), + XLAT(PDI_ORIGDEV), #define XLAT_VAL_2 ((unsigned) (PDI_ORIGDEV)) #define XLAT_STR_2 STRINGIFY(PDI_ORIGDEV) -#endif -#if defined(PDI_VNETHDR) || (defined(HAVE_DECL_PDI_VNETHDR) && HAVE_DECL_PDI_VNETHDR) - XLAT(PDI_VNETHDR), + XLAT(PDI_VNETHDR), #define XLAT_VAL_3 ((unsigned) (PDI_VNETHDR)) #define XLAT_STR_3 STRINGIFY(PDI_VNETHDR) -#endif -#if defined(PDI_LOSS) || (defined(HAVE_DECL_PDI_LOSS) && HAVE_DECL_PDI_LOSS) - XLAT(PDI_LOSS), + XLAT(PDI_LOSS), #define XLAT_VAL_4 ((unsigned) (PDI_LOSS)) #define XLAT_STR_4 STRINGIFY(PDI_LOSS) -#endif }; static const struct xlat packet_diag_info_flags1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_diag_info_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_diag_info_flags.in
Changed
@@ -1,3 +1,4 @@ +#unconditional PDI_RUNNING PDI_AUXDATA PDI_ORIGDEV
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_diag_show.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_diag_show.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,36 +15,24 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data packet_diag_show_xdata = { -#if defined(PACKET_SHOW_INFO) || (defined(HAVE_DECL_PACKET_SHOW_INFO) && HAVE_DECL_PACKET_SHOW_INFO) - XLAT(PACKET_SHOW_INFO), + XLAT(PACKET_SHOW_INFO), #define XLAT_VAL_0 ((unsigned) (PACKET_SHOW_INFO)) #define XLAT_STR_0 STRINGIFY(PACKET_SHOW_INFO) -#endif -#if defined(PACKET_SHOW_MCLIST) || (defined(HAVE_DECL_PACKET_SHOW_MCLIST) && HAVE_DECL_PACKET_SHOW_MCLIST) - XLAT(PACKET_SHOW_MCLIST), + XLAT(PACKET_SHOW_MCLIST), #define XLAT_VAL_1 ((unsigned) (PACKET_SHOW_MCLIST)) #define XLAT_STR_1 STRINGIFY(PACKET_SHOW_MCLIST) -#endif -#if defined(PACKET_SHOW_RING_CFG) || (defined(HAVE_DECL_PACKET_SHOW_RING_CFG) && HAVE_DECL_PACKET_SHOW_RING_CFG) - XLAT(PACKET_SHOW_RING_CFG), + XLAT(PACKET_SHOW_RING_CFG), #define XLAT_VAL_2 ((unsigned) (PACKET_SHOW_RING_CFG)) #define XLAT_STR_2 STRINGIFY(PACKET_SHOW_RING_CFG) -#endif -#if defined(PACKET_SHOW_FANOUT) || (defined(HAVE_DECL_PACKET_SHOW_FANOUT) && HAVE_DECL_PACKET_SHOW_FANOUT) - XLAT(PACKET_SHOW_FANOUT), + XLAT(PACKET_SHOW_FANOUT), #define XLAT_VAL_3 ((unsigned) (PACKET_SHOW_FANOUT)) #define XLAT_STR_3 STRINGIFY(PACKET_SHOW_FANOUT) -#endif -#if defined(PACKET_SHOW_MEMINFO) || (defined(HAVE_DECL_PACKET_SHOW_MEMINFO) && HAVE_DECL_PACKET_SHOW_MEMINFO) - XLAT(PACKET_SHOW_MEMINFO), + XLAT(PACKET_SHOW_MEMINFO), #define XLAT_VAL_4 ((unsigned) (PACKET_SHOW_MEMINFO)) #define XLAT_STR_4 STRINGIFY(PACKET_SHOW_MEMINFO) -#endif -#if defined(PACKET_SHOW_FILTER) || (defined(HAVE_DECL_PACKET_SHOW_FILTER) && HAVE_DECL_PACKET_SHOW_FILTER) - XLAT(PACKET_SHOW_FILTER), + XLAT(PACKET_SHOW_FILTER), #define XLAT_VAL_5 ((unsigned) (PACKET_SHOW_FILTER)) #define XLAT_STR_5 STRINGIFY(PACKET_SHOW_FILTER) -#endif }; static const struct xlat packet_diag_show1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_diag_show.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_diag_show.in
Changed
@@ -1,3 +1,4 @@ +#unconditional PACKET_SHOW_INFO PACKET_SHOW_MCLIST PACKET_SHOW_RING_CFG
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_mreq_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_mreq_type.h
Changed
@@ -3,6 +3,35 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined(PACKET_MR_MULTICAST) || (defined(HAVE_DECL_PACKET_MR_MULTICAST) && HAVE_DECL_PACKET_MR_MULTICAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_MR_MULTICAST) == (0), "PACKET_MR_MULTICAST != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_MR_MULTICAST 0 +#endif +#if defined(PACKET_MR_PROMISC) || (defined(HAVE_DECL_PACKET_MR_PROMISC) && HAVE_DECL_PACKET_MR_PROMISC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_MR_PROMISC) == (1), "PACKET_MR_PROMISC != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_MR_PROMISC 1 +#endif +#if defined(PACKET_MR_ALLMULTI) || (defined(HAVE_DECL_PACKET_MR_ALLMULTI) && HAVE_DECL_PACKET_MR_ALLMULTI) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_MR_ALLMULTI) == (2), "PACKET_MR_ALLMULTI != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_MR_ALLMULTI 2 +#endif +#if defined(PACKET_MR_UNICAST) || (defined(HAVE_DECL_PACKET_MR_UNICAST) && HAVE_DECL_PACKET_MR_UNICAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_MR_UNICAST) == (3), "PACKET_MR_UNICAST != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_MR_UNICAST 3 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,32 +43,24 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data packet_mreq_type_xdata = { -#if defined(PACKET_MR_MULTICAST) || (defined(HAVE_DECL_PACKET_MR_MULTICAST) && HAVE_DECL_PACKET_MR_MULTICAST) - XLAT(PACKET_MR_MULTICAST), + PACKET_MR_MULTICAST = XLAT(PACKET_MR_MULTICAST), #define XLAT_VAL_0 ((unsigned) (PACKET_MR_MULTICAST)) #define XLAT_STR_0 STRINGIFY(PACKET_MR_MULTICAST) -#endif -#if defined(PACKET_MR_PROMISC) || (defined(HAVE_DECL_PACKET_MR_PROMISC) && HAVE_DECL_PACKET_MR_PROMISC) - XLAT(PACKET_MR_PROMISC), + PACKET_MR_PROMISC = XLAT(PACKET_MR_PROMISC), #define XLAT_VAL_1 ((unsigned) (PACKET_MR_PROMISC)) #define XLAT_STR_1 STRINGIFY(PACKET_MR_PROMISC) -#endif -#if defined(PACKET_MR_ALLMULTI) || (defined(HAVE_DECL_PACKET_MR_ALLMULTI) && HAVE_DECL_PACKET_MR_ALLMULTI) - XLAT(PACKET_MR_ALLMULTI), + PACKET_MR_ALLMULTI = XLAT(PACKET_MR_ALLMULTI), #define XLAT_VAL_2 ((unsigned) (PACKET_MR_ALLMULTI)) #define XLAT_STR_2 STRINGIFY(PACKET_MR_ALLMULTI) -#endif -#if defined(PACKET_MR_UNICAST) || (defined(HAVE_DECL_PACKET_MR_UNICAST) && HAVE_DECL_PACKET_MR_UNICAST) - XLAT(PACKET_MR_UNICAST), + PACKET_MR_UNICAST = XLAT(PACKET_MR_UNICAST), #define XLAT_VAL_3 ((unsigned) (PACKET_MR_UNICAST)) #define XLAT_STR_3 STRINGIFY(PACKET_MR_UNICAST) -#endif }; static const struct xlat packet_mreq_type1 = { { .data = packet_mreq_type_xdata, .size = ARRAY_SIZE(packet_mreq_type_xdata), - .type = XT_NORMAL, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/packet_mreq_type.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/packet_mreq_type.in
Changed
@@ -1,4 +1,5 @@ -PACKET_MR_MULTICAST -PACKET_MR_PROMISC -PACKET_MR_ALLMULTI -PACKET_MR_UNICAST +#value_indexed +PACKET_MR_MULTICAST 0 +PACKET_MR_PROMISC 1 +PACKET_MR_ALLMULTI 2 +PACKET_MR_UNICAST 3
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_attr_size.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_attr_size.h
Changed
@@ -59,6 +59,7 @@ #else # define PERF_ATTR_SIZE_VER7 128 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_branch_sample_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_branch_sample_type.h
Changed
@@ -5,130 +5,138 @@ #if defined(PERF_SAMPLE_BRANCH_USER) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_USER) && HAVE_DECL_PERF_SAMPLE_BRANCH_USER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_USER) == (1 << 0), "PERF_SAMPLE_BRANCH_USER != 1 << 0"); +static_assert((PERF_SAMPLE_BRANCH_USER) == (1U << 0), "PERF_SAMPLE_BRANCH_USER != 1U << 0"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_USER 1 << 0 +# define PERF_SAMPLE_BRANCH_USER 1U << 0 #endif #if defined(PERF_SAMPLE_BRANCH_KERNEL) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_KERNEL) && HAVE_DECL_PERF_SAMPLE_BRANCH_KERNEL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_KERNEL) == (1 << 1), "PERF_SAMPLE_BRANCH_KERNEL != 1 << 1"); +static_assert((PERF_SAMPLE_BRANCH_KERNEL) == (1U << 1), "PERF_SAMPLE_BRANCH_KERNEL != 1U << 1"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_KERNEL 1 << 1 +# define PERF_SAMPLE_BRANCH_KERNEL 1U << 1 #endif #if defined(PERF_SAMPLE_BRANCH_HV) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_HV) && HAVE_DECL_PERF_SAMPLE_BRANCH_HV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_HV) == (1 << 2), "PERF_SAMPLE_BRANCH_HV != 1 << 2"); +static_assert((PERF_SAMPLE_BRANCH_HV) == (1U << 2), "PERF_SAMPLE_BRANCH_HV != 1U << 2"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_HV 1 << 2 +# define PERF_SAMPLE_BRANCH_HV 1U << 2 #endif #if defined(PERF_SAMPLE_BRANCH_ANY) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_ANY) && HAVE_DECL_PERF_SAMPLE_BRANCH_ANY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_ANY) == (1 << 3), "PERF_SAMPLE_BRANCH_ANY != 1 << 3"); +static_assert((PERF_SAMPLE_BRANCH_ANY) == (1U << 3), "PERF_SAMPLE_BRANCH_ANY != 1U << 3"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_ANY 1 << 3 +# define PERF_SAMPLE_BRANCH_ANY 1U << 3 #endif #if defined(PERF_SAMPLE_BRANCH_ANY_CALL) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_ANY_CALL) && HAVE_DECL_PERF_SAMPLE_BRANCH_ANY_CALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_ANY_CALL) == (1 << 4), "PERF_SAMPLE_BRANCH_ANY_CALL != 1 << 4"); +static_assert((PERF_SAMPLE_BRANCH_ANY_CALL) == (1U << 4), "PERF_SAMPLE_BRANCH_ANY_CALL != 1U << 4"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_ANY_CALL 1 << 4 +# define PERF_SAMPLE_BRANCH_ANY_CALL 1U << 4 #endif #if defined(PERF_SAMPLE_BRANCH_ANY_RETURN) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_ANY_RETURN) && HAVE_DECL_PERF_SAMPLE_BRANCH_ANY_RETURN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_ANY_RETURN) == (1 << 5), "PERF_SAMPLE_BRANCH_ANY_RETURN != 1 << 5"); +static_assert((PERF_SAMPLE_BRANCH_ANY_RETURN) == (1U << 5), "PERF_SAMPLE_BRANCH_ANY_RETURN != 1U << 5"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_ANY_RETURN 1 << 5 +# define PERF_SAMPLE_BRANCH_ANY_RETURN 1U << 5 #endif #if defined(PERF_SAMPLE_BRANCH_IND_CALL) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_IND_CALL) && HAVE_DECL_PERF_SAMPLE_BRANCH_IND_CALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_IND_CALL) == (1 << 6), "PERF_SAMPLE_BRANCH_IND_CALL != 1 << 6"); +static_assert((PERF_SAMPLE_BRANCH_IND_CALL) == (1U << 6), "PERF_SAMPLE_BRANCH_IND_CALL != 1U << 6"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_IND_CALL 1 << 6 +# define PERF_SAMPLE_BRANCH_IND_CALL 1U << 6 #endif #if defined(PERF_SAMPLE_BRANCH_ABORT_TX) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_ABORT_TX) && HAVE_DECL_PERF_SAMPLE_BRANCH_ABORT_TX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_ABORT_TX) == (1 << 7), "PERF_SAMPLE_BRANCH_ABORT_TX != 1 << 7"); +static_assert((PERF_SAMPLE_BRANCH_ABORT_TX) == (1U << 7), "PERF_SAMPLE_BRANCH_ABORT_TX != 1U << 7"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_ABORT_TX 1 << 7 +# define PERF_SAMPLE_BRANCH_ABORT_TX 1U << 7 #endif #if defined(PERF_SAMPLE_BRANCH_IN_TX) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_IN_TX) && HAVE_DECL_PERF_SAMPLE_BRANCH_IN_TX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_IN_TX) == (1 << 8), "PERF_SAMPLE_BRANCH_IN_TX != 1 << 8"); +static_assert((PERF_SAMPLE_BRANCH_IN_TX) == (1U << 8), "PERF_SAMPLE_BRANCH_IN_TX != 1U << 8"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_IN_TX 1 << 8 +# define PERF_SAMPLE_BRANCH_IN_TX 1U << 8 #endif #if defined(PERF_SAMPLE_BRANCH_NO_TX) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_NO_TX) && HAVE_DECL_PERF_SAMPLE_BRANCH_NO_TX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_NO_TX) == (1 << 9), "PERF_SAMPLE_BRANCH_NO_TX != 1 << 9"); +static_assert((PERF_SAMPLE_BRANCH_NO_TX) == (1U << 9), "PERF_SAMPLE_BRANCH_NO_TX != 1U << 9"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_NO_TX 1 << 9 +# define PERF_SAMPLE_BRANCH_NO_TX 1U << 9 #endif #if defined(PERF_SAMPLE_BRANCH_COND) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_COND) && HAVE_DECL_PERF_SAMPLE_BRANCH_COND) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_COND) == (1 << 10), "PERF_SAMPLE_BRANCH_COND != 1 << 10"); +static_assert((PERF_SAMPLE_BRANCH_COND) == (1U << 10), "PERF_SAMPLE_BRANCH_COND != 1U << 10"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_COND 1 << 10 +# define PERF_SAMPLE_BRANCH_COND 1U << 10 #endif #if defined(PERF_SAMPLE_BRANCH_CALL_STACK) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_CALL_STACK) && HAVE_DECL_PERF_SAMPLE_BRANCH_CALL_STACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_CALL_STACK) == (1 << 11), "PERF_SAMPLE_BRANCH_CALL_STACK != 1 << 11"); +static_assert((PERF_SAMPLE_BRANCH_CALL_STACK) == (1U << 11), "PERF_SAMPLE_BRANCH_CALL_STACK != 1U << 11"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_CALL_STACK 1 << 11 +# define PERF_SAMPLE_BRANCH_CALL_STACK 1U << 11 #endif #if defined(PERF_SAMPLE_BRANCH_IND_JUMP) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_IND_JUMP) && HAVE_DECL_PERF_SAMPLE_BRANCH_IND_JUMP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_IND_JUMP) == (1 << 12), "PERF_SAMPLE_BRANCH_IND_JUMP != 1 << 12"); +static_assert((PERF_SAMPLE_BRANCH_IND_JUMP) == (1U << 12), "PERF_SAMPLE_BRANCH_IND_JUMP != 1U << 12"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_IND_JUMP 1 << 12 +# define PERF_SAMPLE_BRANCH_IND_JUMP 1U << 12 #endif #if defined(PERF_SAMPLE_BRANCH_CALL) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_CALL) && HAVE_DECL_PERF_SAMPLE_BRANCH_CALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_CALL) == (1 << 13), "PERF_SAMPLE_BRANCH_CALL != 1 << 13"); +static_assert((PERF_SAMPLE_BRANCH_CALL) == (1U << 13), "PERF_SAMPLE_BRANCH_CALL != 1U << 13"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_CALL 1 << 13 +# define PERF_SAMPLE_BRANCH_CALL 1U << 13 #endif #if defined(PERF_SAMPLE_BRANCH_NO_FLAGS) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_NO_FLAGS) && HAVE_DECL_PERF_SAMPLE_BRANCH_NO_FLAGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_NO_FLAGS) == (1 << 14), "PERF_SAMPLE_BRANCH_NO_FLAGS != 1 << 14"); +static_assert((PERF_SAMPLE_BRANCH_NO_FLAGS) == (1U << 14), "PERF_SAMPLE_BRANCH_NO_FLAGS != 1U << 14"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_NO_FLAGS 1 << 14 +# define PERF_SAMPLE_BRANCH_NO_FLAGS 1U << 14 #endif #if defined(PERF_SAMPLE_BRANCH_NO_CYCLES) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_NO_CYCLES) && HAVE_DECL_PERF_SAMPLE_BRANCH_NO_CYCLES) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_NO_CYCLES) == (1 << 15), "PERF_SAMPLE_BRANCH_NO_CYCLES != 1 << 15"); +static_assert((PERF_SAMPLE_BRANCH_NO_CYCLES) == (1U << 15), "PERF_SAMPLE_BRANCH_NO_CYCLES != 1U << 15"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_NO_CYCLES 1 << 15 +# define PERF_SAMPLE_BRANCH_NO_CYCLES 1U << 15 #endif #if defined(PERF_SAMPLE_BRANCH_TYPE_SAVE) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_TYPE_SAVE) && HAVE_DECL_PERF_SAMPLE_BRANCH_TYPE_SAVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_TYPE_SAVE) == (1 << 16), "PERF_SAMPLE_BRANCH_TYPE_SAVE != 1 << 16"); +static_assert((PERF_SAMPLE_BRANCH_TYPE_SAVE) == (1U << 16), "PERF_SAMPLE_BRANCH_TYPE_SAVE != 1U << 16"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_TYPE_SAVE 1 << 16 +# define PERF_SAMPLE_BRANCH_TYPE_SAVE 1U << 16 #endif #if defined(PERF_SAMPLE_BRANCH_HW_INDEX) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_HW_INDEX) && HAVE_DECL_PERF_SAMPLE_BRANCH_HW_INDEX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((PERF_SAMPLE_BRANCH_HW_INDEX) == (1 << 17), "PERF_SAMPLE_BRANCH_HW_INDEX != 1 << 17"); +static_assert((PERF_SAMPLE_BRANCH_HW_INDEX) == (1U << 17), "PERF_SAMPLE_BRANCH_HW_INDEX != 1U << 17"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define PERF_SAMPLE_BRANCH_HW_INDEX 1 << 17 +# define PERF_SAMPLE_BRANCH_HW_INDEX 1U << 17 #endif +#if defined(PERF_SAMPLE_BRANCH_PRIV_SAVE) || (defined(HAVE_DECL_PERF_SAMPLE_BRANCH_PRIV_SAVE) && HAVE_DECL_PERF_SAMPLE_BRANCH_PRIV_SAVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PERF_SAMPLE_BRANCH_PRIV_SAVE) == (1U << 18), "PERF_SAMPLE_BRANCH_PRIV_SAVE != 1U << 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PERF_SAMPLE_BRANCH_PRIV_SAVE 1U << 18 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -194,6 +202,9 @@ XLAT(PERF_SAMPLE_BRANCH_HW_INDEX), #define XLAT_VAL_17 ((unsigned) (PERF_SAMPLE_BRANCH_HW_INDEX)) #define XLAT_STR_17 STRINGIFY(PERF_SAMPLE_BRANCH_HW_INDEX) + XLAT(PERF_SAMPLE_BRANCH_PRIV_SAVE), + #define XLAT_VAL_18 ((unsigned) (PERF_SAMPLE_BRANCH_PRIV_SAVE)) + #define XLAT_STR_18 STRINGIFY(PERF_SAMPLE_BRANCH_PRIV_SAVE) }; static const struct xlat perf_branch_sample_type1 = { { @@ -255,6 +266,9 @@ # ifdef XLAT_VAL_17 | XLAT_VAL_17 # endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -311,6 +325,9 @@ # ifdef XLAT_STR_17 + sizeof(XLAT_STR_17) # endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -351,6 +368,8 @@ # undef XLAT_VAL_16 # undef XLAT_STR_17 # undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_branch_sample_type.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_branch_sample_type.in
Changed
@@ -1,18 +1,19 @@ -PERF_SAMPLE_BRANCH_USER 1 << 0 -PERF_SAMPLE_BRANCH_KERNEL 1 << 1 -PERF_SAMPLE_BRANCH_HV 1 << 2 -PERF_SAMPLE_BRANCH_ANY 1 << 3 -PERF_SAMPLE_BRANCH_ANY_CALL 1 << 4 -PERF_SAMPLE_BRANCH_ANY_RETURN 1 << 5 -PERF_SAMPLE_BRANCH_IND_CALL 1 << 6 -PERF_SAMPLE_BRANCH_ABORT_TX 1 << 7 -PERF_SAMPLE_BRANCH_IN_TX 1 << 8 -PERF_SAMPLE_BRANCH_NO_TX 1 << 9 -PERF_SAMPLE_BRANCH_COND 1 << 10 -PERF_SAMPLE_BRANCH_CALL_STACK 1 << 11 -PERF_SAMPLE_BRANCH_IND_JUMP 1 << 12 -PERF_SAMPLE_BRANCH_CALL 1 << 13 -PERF_SAMPLE_BRANCH_NO_FLAGS 1 << 14 -PERF_SAMPLE_BRANCH_NO_CYCLES 1 << 15 -PERF_SAMPLE_BRANCH_TYPE_SAVE 1 << 16 -PERF_SAMPLE_BRANCH_HW_INDEX 1 << 17 +PERF_SAMPLE_BRANCH_USER 1U << 0 +PERF_SAMPLE_BRANCH_KERNEL 1U << 1 +PERF_SAMPLE_BRANCH_HV 1U << 2 +PERF_SAMPLE_BRANCH_ANY 1U << 3 +PERF_SAMPLE_BRANCH_ANY_CALL 1U << 4 +PERF_SAMPLE_BRANCH_ANY_RETURN 1U << 5 +PERF_SAMPLE_BRANCH_IND_CALL 1U << 6 +PERF_SAMPLE_BRANCH_ABORT_TX 1U << 7 +PERF_SAMPLE_BRANCH_IN_TX 1U << 8 +PERF_SAMPLE_BRANCH_NO_TX 1U << 9 +PERF_SAMPLE_BRANCH_COND 1U << 10 +PERF_SAMPLE_BRANCH_CALL_STACK 1U << 11 +PERF_SAMPLE_BRANCH_IND_JUMP 1U << 12 +PERF_SAMPLE_BRANCH_CALL 1U << 13 +PERF_SAMPLE_BRANCH_NO_FLAGS 1U << 14 +PERF_SAMPLE_BRANCH_NO_CYCLES 1U << 15 +PERF_SAMPLE_BRANCH_TYPE_SAVE 1U << 16 +PERF_SAMPLE_BRANCH_HW_INDEX 1U << 17 +PERF_SAMPLE_BRANCH_PRIV_SAVE 1U << 18
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_event_open_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_event_open_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define PERF_FLAG_FD_CLOEXEC 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_event_read_format.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_event_read_format.h
Changed
@@ -31,6 +31,14 @@ #else # define PERF_FORMAT_GROUP 1 << 3 #endif +#if defined(PERF_FORMAT_LOST) || (defined(HAVE_DECL_PERF_FORMAT_LOST) && HAVE_DECL_PERF_FORMAT_LOST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PERF_FORMAT_LOST) == (1 << 4), "PERF_FORMAT_LOST != 1 << 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PERF_FORMAT_LOST 1 << 4 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -54,6 +62,9 @@ XLAT(PERF_FORMAT_GROUP), #define XLAT_VAL_3 ((unsigned) (PERF_FORMAT_GROUP)) #define XLAT_STR_3 STRINGIFY(PERF_FORMAT_GROUP) + XLAT(PERF_FORMAT_LOST), + #define XLAT_VAL_4 ((unsigned) (PERF_FORMAT_LOST)) + #define XLAT_STR_4 STRINGIFY(PERF_FORMAT_LOST) }; static const struct xlat perf_event_read_format1 = { { @@ -73,6 +84,9 @@ # ifdef XLAT_VAL_3 | XLAT_VAL_3 # endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -87,6 +101,9 @@ # ifdef XLAT_STR_3 + sizeof(XLAT_STR_3) # endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -99,6 +116,8 @@ # undef XLAT_VAL_2 # undef XLAT_STR_3 # undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_event_read_format.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_event_read_format.in
Changed
@@ -2,3 +2,4 @@ PERF_FORMAT_TOTAL_TIME_RUNNING 1 << 1 PERF_FORMAT_ID 1 << 2 PERF_FORMAT_GROUP 1 << 3 +PERF_FORMAT_LOST 1 << 4
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_event_sample_format.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_event_sample_format.h
Changed
@@ -178,6 +178,7 @@ #else # define PERF_SAMPLE_WEIGHT_STRUCT 1 << 24 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_id.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_id.h
Changed
@@ -52,6 +52,7 @@ #else # define PERF_COUNT_HW_CACHE_NODE 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -63,25 +64,25 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_hw_cache_id_xdata = { - XLAT(PERF_COUNT_HW_CACHE_L1D), + PERF_COUNT_HW_CACHE_L1D = XLAT(PERF_COUNT_HW_CACHE_L1D), #define XLAT_VAL_0 ((unsigned) (PERF_COUNT_HW_CACHE_L1D)) #define XLAT_STR_0 STRINGIFY(PERF_COUNT_HW_CACHE_L1D) - XLAT(PERF_COUNT_HW_CACHE_L1I), + PERF_COUNT_HW_CACHE_L1I = XLAT(PERF_COUNT_HW_CACHE_L1I), #define XLAT_VAL_1 ((unsigned) (PERF_COUNT_HW_CACHE_L1I)) #define XLAT_STR_1 STRINGIFY(PERF_COUNT_HW_CACHE_L1I) - XLAT(PERF_COUNT_HW_CACHE_LL), + PERF_COUNT_HW_CACHE_LL = XLAT(PERF_COUNT_HW_CACHE_LL), #define XLAT_VAL_2 ((unsigned) (PERF_COUNT_HW_CACHE_LL)) #define XLAT_STR_2 STRINGIFY(PERF_COUNT_HW_CACHE_LL) - XLAT(PERF_COUNT_HW_CACHE_DTLB), + PERF_COUNT_HW_CACHE_DTLB = XLAT(PERF_COUNT_HW_CACHE_DTLB), #define XLAT_VAL_3 ((unsigned) (PERF_COUNT_HW_CACHE_DTLB)) #define XLAT_STR_3 STRINGIFY(PERF_COUNT_HW_CACHE_DTLB) - XLAT(PERF_COUNT_HW_CACHE_ITLB), + PERF_COUNT_HW_CACHE_ITLB = XLAT(PERF_COUNT_HW_CACHE_ITLB), #define XLAT_VAL_4 ((unsigned) (PERF_COUNT_HW_CACHE_ITLB)) #define XLAT_STR_4 STRINGIFY(PERF_COUNT_HW_CACHE_ITLB) - XLAT(PERF_COUNT_HW_CACHE_BPU), + PERF_COUNT_HW_CACHE_BPU = XLAT(PERF_COUNT_HW_CACHE_BPU), #define XLAT_VAL_5 ((unsigned) (PERF_COUNT_HW_CACHE_BPU)) #define XLAT_STR_5 STRINGIFY(PERF_COUNT_HW_CACHE_BPU) - XLAT(PERF_COUNT_HW_CACHE_NODE), + PERF_COUNT_HW_CACHE_NODE = XLAT(PERF_COUNT_HW_CACHE_NODE), #define XLAT_VAL_6 ((unsigned) (PERF_COUNT_HW_CACHE_NODE)) #define XLAT_STR_6 STRINGIFY(PERF_COUNT_HW_CACHE_NODE) }; @@ -89,7 +90,7 @@ const struct xlat perf_hw_cache_id1 = { { .data = perf_hw_cache_id_xdata, .size = ARRAY_SIZE(perf_hw_cache_id_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_id.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_id.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed PERF_COUNT_HW_CACHE_L1D 0 PERF_COUNT_HW_CACHE_L1I 1 PERF_COUNT_HW_CACHE_LL 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_op_id.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_op_id.h
Changed
@@ -24,6 +24,7 @@ #else # define PERF_COUNT_HW_CACHE_OP_PREFETCH 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -35,13 +36,13 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_hw_cache_op_id_xdata = { - XLAT(PERF_COUNT_HW_CACHE_OP_READ), + PERF_COUNT_HW_CACHE_OP_READ = XLAT(PERF_COUNT_HW_CACHE_OP_READ), #define XLAT_VAL_0 ((unsigned) (PERF_COUNT_HW_CACHE_OP_READ)) #define XLAT_STR_0 STRINGIFY(PERF_COUNT_HW_CACHE_OP_READ) - XLAT(PERF_COUNT_HW_CACHE_OP_WRITE), + PERF_COUNT_HW_CACHE_OP_WRITE = XLAT(PERF_COUNT_HW_CACHE_OP_WRITE), #define XLAT_VAL_1 ((unsigned) (PERF_COUNT_HW_CACHE_OP_WRITE)) #define XLAT_STR_1 STRINGIFY(PERF_COUNT_HW_CACHE_OP_WRITE) - XLAT(PERF_COUNT_HW_CACHE_OP_PREFETCH), + PERF_COUNT_HW_CACHE_OP_PREFETCH = XLAT(PERF_COUNT_HW_CACHE_OP_PREFETCH), #define XLAT_VAL_2 ((unsigned) (PERF_COUNT_HW_CACHE_OP_PREFETCH)) #define XLAT_STR_2 STRINGIFY(PERF_COUNT_HW_CACHE_OP_PREFETCH) }; @@ -49,7 +50,7 @@ const struct xlat perf_hw_cache_op_id1 = { { .data = perf_hw_cache_op_id_xdata, .size = ARRAY_SIZE(perf_hw_cache_op_id_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_op_id.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_op_id.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed PERF_COUNT_HW_CACHE_OP_READ 0 PERF_COUNT_HW_CACHE_OP_WRITE 1 PERF_COUNT_HW_CACHE_OP_PREFETCH 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_op_result_id.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_op_result_id.h
Changed
@@ -17,6 +17,7 @@ #else # define PERF_COUNT_HW_CACHE_RESULT_MISS 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -28,10 +29,10 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_hw_cache_op_result_id_xdata = { - XLAT(PERF_COUNT_HW_CACHE_RESULT_ACCESS), + PERF_COUNT_HW_CACHE_RESULT_ACCESS = XLAT(PERF_COUNT_HW_CACHE_RESULT_ACCESS), #define XLAT_VAL_0 ((unsigned) (PERF_COUNT_HW_CACHE_RESULT_ACCESS)) #define XLAT_STR_0 STRINGIFY(PERF_COUNT_HW_CACHE_RESULT_ACCESS) - XLAT(PERF_COUNT_HW_CACHE_RESULT_MISS), + PERF_COUNT_HW_CACHE_RESULT_MISS = XLAT(PERF_COUNT_HW_CACHE_RESULT_MISS), #define XLAT_VAL_1 ((unsigned) (PERF_COUNT_HW_CACHE_RESULT_MISS)) #define XLAT_STR_1 STRINGIFY(PERF_COUNT_HW_CACHE_RESULT_MISS) }; @@ -39,7 +40,7 @@ const struct xlat perf_hw_cache_op_result_id1 = { { .data = perf_hw_cache_op_result_id_xdata, .size = ARRAY_SIZE(perf_hw_cache_op_result_id_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_cache_op_result_id.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_cache_op_result_id.in
Changed
@@ -1,3 +1,3 @@ -#sorted sort -k2,2n +#value_indexed PERF_COUNT_HW_CACHE_RESULT_ACCESS 0 PERF_COUNT_HW_CACHE_RESULT_MISS 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_id.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_id.h
Changed
@@ -73,6 +73,7 @@ #else # define PERF_COUNT_HW_REF_CPU_CYCLES 9 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -84,34 +85,34 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_hw_id_xdata = { - XLAT(PERF_COUNT_HW_CPU_CYCLES), + PERF_COUNT_HW_CPU_CYCLES = XLAT(PERF_COUNT_HW_CPU_CYCLES), #define XLAT_VAL_0 ((unsigned) (PERF_COUNT_HW_CPU_CYCLES)) #define XLAT_STR_0 STRINGIFY(PERF_COUNT_HW_CPU_CYCLES) - XLAT(PERF_COUNT_HW_INSTRUCTIONS), + PERF_COUNT_HW_INSTRUCTIONS = XLAT(PERF_COUNT_HW_INSTRUCTIONS), #define XLAT_VAL_1 ((unsigned) (PERF_COUNT_HW_INSTRUCTIONS)) #define XLAT_STR_1 STRINGIFY(PERF_COUNT_HW_INSTRUCTIONS) - XLAT(PERF_COUNT_HW_CACHE_REFERENCES), + PERF_COUNT_HW_CACHE_REFERENCES = XLAT(PERF_COUNT_HW_CACHE_REFERENCES), #define XLAT_VAL_2 ((unsigned) (PERF_COUNT_HW_CACHE_REFERENCES)) #define XLAT_STR_2 STRINGIFY(PERF_COUNT_HW_CACHE_REFERENCES) - XLAT(PERF_COUNT_HW_CACHE_MISSES), + PERF_COUNT_HW_CACHE_MISSES = XLAT(PERF_COUNT_HW_CACHE_MISSES), #define XLAT_VAL_3 ((unsigned) (PERF_COUNT_HW_CACHE_MISSES)) #define XLAT_STR_3 STRINGIFY(PERF_COUNT_HW_CACHE_MISSES) - XLAT(PERF_COUNT_HW_BRANCH_INSTRUCTIONS), + PERF_COUNT_HW_BRANCH_INSTRUCTIONS = XLAT(PERF_COUNT_HW_BRANCH_INSTRUCTIONS), #define XLAT_VAL_4 ((unsigned) (PERF_COUNT_HW_BRANCH_INSTRUCTIONS)) #define XLAT_STR_4 STRINGIFY(PERF_COUNT_HW_BRANCH_INSTRUCTIONS) - XLAT(PERF_COUNT_HW_BRANCH_MISSES), + PERF_COUNT_HW_BRANCH_MISSES = XLAT(PERF_COUNT_HW_BRANCH_MISSES), #define XLAT_VAL_5 ((unsigned) (PERF_COUNT_HW_BRANCH_MISSES)) #define XLAT_STR_5 STRINGIFY(PERF_COUNT_HW_BRANCH_MISSES) - XLAT(PERF_COUNT_HW_BUS_CYCLES), + PERF_COUNT_HW_BUS_CYCLES = XLAT(PERF_COUNT_HW_BUS_CYCLES), #define XLAT_VAL_6 ((unsigned) (PERF_COUNT_HW_BUS_CYCLES)) #define XLAT_STR_6 STRINGIFY(PERF_COUNT_HW_BUS_CYCLES) - XLAT(PERF_COUNT_HW_STALLED_CYCLES_FRONTEND), + PERF_COUNT_HW_STALLED_CYCLES_FRONTEND = XLAT(PERF_COUNT_HW_STALLED_CYCLES_FRONTEND), #define XLAT_VAL_7 ((unsigned) (PERF_COUNT_HW_STALLED_CYCLES_FRONTEND)) #define XLAT_STR_7 STRINGIFY(PERF_COUNT_HW_STALLED_CYCLES_FRONTEND) - XLAT(PERF_COUNT_HW_STALLED_CYCLES_BACKEND), + PERF_COUNT_HW_STALLED_CYCLES_BACKEND = XLAT(PERF_COUNT_HW_STALLED_CYCLES_BACKEND), #define XLAT_VAL_8 ((unsigned) (PERF_COUNT_HW_STALLED_CYCLES_BACKEND)) #define XLAT_STR_8 STRINGIFY(PERF_COUNT_HW_STALLED_CYCLES_BACKEND) - XLAT(PERF_COUNT_HW_REF_CPU_CYCLES), + PERF_COUNT_HW_REF_CPU_CYCLES = XLAT(PERF_COUNT_HW_REF_CPU_CYCLES), #define XLAT_VAL_9 ((unsigned) (PERF_COUNT_HW_REF_CPU_CYCLES)) #define XLAT_STR_9 STRINGIFY(PERF_COUNT_HW_REF_CPU_CYCLES) }; @@ -119,7 +120,7 @@ const struct xlat perf_hw_id1 = { { .data = perf_hw_id_xdata, .size = ARRAY_SIZE(perf_hw_id_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_hw_id.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_hw_id.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed PERF_COUNT_HW_CPU_CYCLES 0 PERF_COUNT_HW_INSTRUCTIONS 1 PERF_COUNT_HW_CACHE_REFERENCES 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_ioctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_ioctl_cmds.h
Changed
@@ -87,6 +87,7 @@ #else # define PERF_EVENT_IOC_MODIFY_ATTRIBUTES _IOW('$', 11, struct perf_event_attr *) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_ioctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_ioctl_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define PERF_IOC_FLAG_GROUP (1U << 0) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_sw_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_sw_ids.h
Changed
@@ -87,6 +87,7 @@ #else # define PERF_COUNT_SW_CGROUP_SWITCHES 11 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -98,40 +99,40 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_sw_ids_xdata = { - XLAT(PERF_COUNT_SW_CPU_CLOCK), + PERF_COUNT_SW_CPU_CLOCK = XLAT(PERF_COUNT_SW_CPU_CLOCK), #define XLAT_VAL_0 ((unsigned) (PERF_COUNT_SW_CPU_CLOCK)) #define XLAT_STR_0 STRINGIFY(PERF_COUNT_SW_CPU_CLOCK) - XLAT(PERF_COUNT_SW_TASK_CLOCK), + PERF_COUNT_SW_TASK_CLOCK = XLAT(PERF_COUNT_SW_TASK_CLOCK), #define XLAT_VAL_1 ((unsigned) (PERF_COUNT_SW_TASK_CLOCK)) #define XLAT_STR_1 STRINGIFY(PERF_COUNT_SW_TASK_CLOCK) - XLAT(PERF_COUNT_SW_PAGE_FAULTS), + PERF_COUNT_SW_PAGE_FAULTS = XLAT(PERF_COUNT_SW_PAGE_FAULTS), #define XLAT_VAL_2 ((unsigned) (PERF_COUNT_SW_PAGE_FAULTS)) #define XLAT_STR_2 STRINGIFY(PERF_COUNT_SW_PAGE_FAULTS) - XLAT(PERF_COUNT_SW_CONTEXT_SWITCHES), + PERF_COUNT_SW_CONTEXT_SWITCHES = XLAT(PERF_COUNT_SW_CONTEXT_SWITCHES), #define XLAT_VAL_3 ((unsigned) (PERF_COUNT_SW_CONTEXT_SWITCHES)) #define XLAT_STR_3 STRINGIFY(PERF_COUNT_SW_CONTEXT_SWITCHES) - XLAT(PERF_COUNT_SW_CPU_MIGRATIONS), + PERF_COUNT_SW_CPU_MIGRATIONS = XLAT(PERF_COUNT_SW_CPU_MIGRATIONS), #define XLAT_VAL_4 ((unsigned) (PERF_COUNT_SW_CPU_MIGRATIONS)) #define XLAT_STR_4 STRINGIFY(PERF_COUNT_SW_CPU_MIGRATIONS) - XLAT(PERF_COUNT_SW_PAGE_FAULTS_MIN), + PERF_COUNT_SW_PAGE_FAULTS_MIN = XLAT(PERF_COUNT_SW_PAGE_FAULTS_MIN), #define XLAT_VAL_5 ((unsigned) (PERF_COUNT_SW_PAGE_FAULTS_MIN)) #define XLAT_STR_5 STRINGIFY(PERF_COUNT_SW_PAGE_FAULTS_MIN) - XLAT(PERF_COUNT_SW_PAGE_FAULTS_MAJ), + PERF_COUNT_SW_PAGE_FAULTS_MAJ = XLAT(PERF_COUNT_SW_PAGE_FAULTS_MAJ), #define XLAT_VAL_6 ((unsigned) (PERF_COUNT_SW_PAGE_FAULTS_MAJ)) #define XLAT_STR_6 STRINGIFY(PERF_COUNT_SW_PAGE_FAULTS_MAJ) - XLAT(PERF_COUNT_SW_ALIGNMENT_FAULTS), + PERF_COUNT_SW_ALIGNMENT_FAULTS = XLAT(PERF_COUNT_SW_ALIGNMENT_FAULTS), #define XLAT_VAL_7 ((unsigned) (PERF_COUNT_SW_ALIGNMENT_FAULTS)) #define XLAT_STR_7 STRINGIFY(PERF_COUNT_SW_ALIGNMENT_FAULTS) - XLAT(PERF_COUNT_SW_EMULATION_FAULTS), + PERF_COUNT_SW_EMULATION_FAULTS = XLAT(PERF_COUNT_SW_EMULATION_FAULTS), #define XLAT_VAL_8 ((unsigned) (PERF_COUNT_SW_EMULATION_FAULTS)) #define XLAT_STR_8 STRINGIFY(PERF_COUNT_SW_EMULATION_FAULTS) - XLAT(PERF_COUNT_SW_DUMMY), + PERF_COUNT_SW_DUMMY = XLAT(PERF_COUNT_SW_DUMMY), #define XLAT_VAL_9 ((unsigned) (PERF_COUNT_SW_DUMMY)) #define XLAT_STR_9 STRINGIFY(PERF_COUNT_SW_DUMMY) - XLAT(PERF_COUNT_SW_BPF_OUTPUT), + PERF_COUNT_SW_BPF_OUTPUT = XLAT(PERF_COUNT_SW_BPF_OUTPUT), #define XLAT_VAL_10 ((unsigned) (PERF_COUNT_SW_BPF_OUTPUT)) #define XLAT_STR_10 STRINGIFY(PERF_COUNT_SW_BPF_OUTPUT) - XLAT(PERF_COUNT_SW_CGROUP_SWITCHES), + PERF_COUNT_SW_CGROUP_SWITCHES = XLAT(PERF_COUNT_SW_CGROUP_SWITCHES), #define XLAT_VAL_11 ((unsigned) (PERF_COUNT_SW_CGROUP_SWITCHES)) #define XLAT_STR_11 STRINGIFY(PERF_COUNT_SW_CGROUP_SWITCHES) }; @@ -139,7 +140,7 @@ const struct xlat perf_sw_ids1 = { { .data = perf_sw_ids_xdata, .size = ARRAY_SIZE(perf_sw_ids_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_sw_ids.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_sw_ids.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed PERF_COUNT_SW_CPU_CLOCK 0 PERF_COUNT_SW_TASK_CLOCK 1 PERF_COUNT_SW_PAGE_FAULTS 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_type_id.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_type_id.h
Changed
@@ -45,41 +45,37 @@ #else # define PERF_TYPE_BREAKPOINT 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY -# ifdef IN_MPERS - -# error static const struct xlat perf_type_id in mpers mode - -# else +# ifndef IN_MPERS DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data perf_type_id_xdata = { - XLAT(PERF_TYPE_HARDWARE), + PERF_TYPE_HARDWARE = XLAT(PERF_TYPE_HARDWARE), #define XLAT_VAL_0 ((unsigned) (PERF_TYPE_HARDWARE)) #define XLAT_STR_0 STRINGIFY(PERF_TYPE_HARDWARE) - XLAT(PERF_TYPE_SOFTWARE), + PERF_TYPE_SOFTWARE = XLAT(PERF_TYPE_SOFTWARE), #define XLAT_VAL_1 ((unsigned) (PERF_TYPE_SOFTWARE)) #define XLAT_STR_1 STRINGIFY(PERF_TYPE_SOFTWARE) - XLAT(PERF_TYPE_TRACEPOINT), + PERF_TYPE_TRACEPOINT = XLAT(PERF_TYPE_TRACEPOINT), #define XLAT_VAL_2 ((unsigned) (PERF_TYPE_TRACEPOINT)) #define XLAT_STR_2 STRINGIFY(PERF_TYPE_TRACEPOINT) - XLAT(PERF_TYPE_HW_CACHE), + PERF_TYPE_HW_CACHE = XLAT(PERF_TYPE_HW_CACHE), #define XLAT_VAL_3 ((unsigned) (PERF_TYPE_HW_CACHE)) #define XLAT_STR_3 STRINGIFY(PERF_TYPE_HW_CACHE) - XLAT(PERF_TYPE_RAW), + PERF_TYPE_RAW = XLAT(PERF_TYPE_RAW), #define XLAT_VAL_4 ((unsigned) (PERF_TYPE_RAW)) #define XLAT_STR_4 STRINGIFY(PERF_TYPE_RAW) - XLAT(PERF_TYPE_BREAKPOINT), + PERF_TYPE_BREAKPOINT = XLAT(PERF_TYPE_BREAKPOINT), #define XLAT_VAL_5 ((unsigned) (PERF_TYPE_BREAKPOINT)) #define XLAT_STR_5 STRINGIFY(PERF_TYPE_BREAKPOINT) }; -static const struct xlat perf_type_id1 = { { .data = perf_type_id_xdata, .size = ARRAY_SIZE(perf_type_id_xdata), - .type = XT_SORTED, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/perf_type_id.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/perf_type_id.in
Changed
@@ -1,4 +1,4 @@ -#sorted sort -k2,2n +#value_indexed PERF_TYPE_HARDWARE 0 PERF_TYPE_SOFTWARE 1 PERF_TYPE_TRACEPOINT 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/personality_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/personality_flags.h
Changed
@@ -80,6 +80,7 @@ #else # define ADDR_LIMIT_3GB 0x8000000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/personality_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/personality_types.h
Changed
@@ -164,6 +164,7 @@ #else # define PER_MASK 0x00ff #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/phonet_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/phonet_protocols.h
Changed
@@ -24,6 +24,7 @@ #else # define PN_PROTO_PIPE 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pidfd_open_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pidfd_open_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define PIDFD_NONBLOCK O_NONBLOCK #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pkey_access.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pkey_access.h
Changed
@@ -24,6 +24,7 @@ #else # define PKEY_DISABLE_EXECUTE 0x4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pollflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pollflags.h
Changed
@@ -152,6 +152,7 @@ #else # define POLL_BUSY_LOOP 0x8000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_cap_ambient.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_cap_ambient.h
Changed
@@ -3,34 +3,19 @@ #include "gcc_compat.h" #include "static_assert.h" -#if defined(PR_CAP_AMBIENT_IS_SET) || (defined(HAVE_DECL_PR_CAP_AMBIENT_IS_SET) && HAVE_DECL_PR_CAP_AMBIENT_IS_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_CAP_AMBIENT_IS_SET) == (1), "PR_CAP_AMBIENT_IS_SET != 1"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_CAP_AMBIENT_IS_SET 1 -#endif -#if defined(PR_CAP_AMBIENT_RAISE) || (defined(HAVE_DECL_PR_CAP_AMBIENT_RAISE) && HAVE_DECL_PR_CAP_AMBIENT_RAISE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_CAP_AMBIENT_RAISE) == (2), "PR_CAP_AMBIENT_RAISE != 2"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_CAP_AMBIENT_RAISE 2 -#endif -#if defined(PR_CAP_AMBIENT_LOWER) || (defined(HAVE_DECL_PR_CAP_AMBIENT_LOWER) && HAVE_DECL_PR_CAP_AMBIENT_LOWER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_CAP_AMBIENT_LOWER) == (3), "PR_CAP_AMBIENT_LOWER != 3"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_CAP_AMBIENT_LOWER 3 -#endif -#if defined(PR_CAP_AMBIENT_CLEAR_ALL) || (defined(HAVE_DECL_PR_CAP_AMBIENT_CLEAR_ALL) && HAVE_DECL_PR_CAP_AMBIENT_CLEAR_ALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_CAP_AMBIENT_CLEAR_ALL) == (4), "PR_CAP_AMBIENT_CLEAR_ALL != 4"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_CAP_AMBIENT_CLEAR_ALL 4 -#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_cap_ambient.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_cap_ambient.in
Changed
@@ -1,3 +1,4 @@ +#unconditional #value_indexed PR_CAP_AMBIENT_IS_SET 1 PR_CAP_AMBIENT_RAISE 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_dumpable.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_dumpable.h
Changed
@@ -24,6 +24,7 @@ #else # define SUID_DUMP_ROOT 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_fp_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_fp_mode.h
Changed
@@ -3,20 +3,13 @@ #include "gcc_compat.h" #include "static_assert.h" -#if defined(PR_FP_MODE_FR) || (defined(HAVE_DECL_PR_FP_MODE_FR) && HAVE_DECL_PR_FP_MODE_FR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_FP_MODE_FR) == ((1 << 0)), "PR_FP_MODE_FR != (1 << 0)"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_FP_MODE_FR (1 << 0) -#endif -#if defined(PR_FP_MODE_FRE) || (defined(HAVE_DECL_PR_FP_MODE_FRE) && HAVE_DECL_PR_FP_MODE_FRE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_FP_MODE_FRE) == ((1 << 1)), "PR_FP_MODE_FRE != (1 << 1)"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_FP_MODE_FRE (1 << 1) -#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_fp_mode.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_fp_mode.in
Changed
@@ -1,2 +1,3 @@ +#unconditional PR_FP_MODE_FR (1 << 0) /* 64b FP registers */ PR_FP_MODE_FRE (1 << 1) /* 32b compatibility */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_mce_kill.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_mce_kill.h
Changed
@@ -17,6 +17,7 @@ #else # define PR_MCE_KILL_SET 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_mce_kill_policy.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_mce_kill_policy.h
Changed
@@ -3,27 +3,16 @@ #include "gcc_compat.h" #include "static_assert.h" -#if defined(PR_MCE_KILL_LATE) || (defined(HAVE_DECL_PR_MCE_KILL_LATE) && HAVE_DECL_PR_MCE_KILL_LATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_MCE_KILL_LATE) == (0), "PR_MCE_KILL_LATE != 0"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_MCE_KILL_LATE 0 -#endif -#if defined(PR_MCE_KILL_EARLY) || (defined(HAVE_DECL_PR_MCE_KILL_EARLY) && HAVE_DECL_PR_MCE_KILL_EARLY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_MCE_KILL_EARLY) == (1), "PR_MCE_KILL_EARLY != 1"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_MCE_KILL_EARLY 1 -#endif -#if defined(PR_MCE_KILL_DEFAULT) || (defined(HAVE_DECL_PR_MCE_KILL_DEFAULT) && HAVE_DECL_PR_MCE_KILL_DEFAULT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PR_MCE_KILL_DEFAULT) == (2), "PR_MCE_KILL_DEFAULT != 2"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define PR_MCE_KILL_DEFAULT 2 -#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_mce_kill_policy.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_mce_kill_policy.in
Changed
@@ -1,3 +1,4 @@ +#unconditional #value_indexed PR_MCE_KILL_LATE 0 PR_MCE_KILL_EARLY 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_pac_enabled_keys.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_pac_enabled_keys.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_pac_keys.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_pac_keys.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_sched_core_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sched_core_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_sched_core_pidtypes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sched_core_pidtypes.h
Changed
@@ -31,6 +31,7 @@ #else # define PIDTYPE_SID 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_set_mm.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_set_mm.h
Changed
@@ -108,6 +108,7 @@ #else # define PR_SET_MM_MAP_SIZE 15 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_set_vma.h
Added
@@ -0,0 +1,44 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/pr_set_vma.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat pr_set_vma in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data pr_set_vma_xdata = { + PR_SET_VMA_ANON_NAME = XLAT(PR_SET_VMA_ANON_NAME), + #define XLAT_VAL_0 ((unsigned) (PR_SET_VMA_ANON_NAME)) + #define XLAT_STR_0 STRINGIFY(PR_SET_VMA_ANON_NAME) +}; +static +const struct xlat pr_set_vma1 = { { + .data = pr_set_vma_xdata, + .size = ARRAY_SIZE(pr_set_vma_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_set_vma.in
Added
@@ -0,0 +1,3 @@ +#unconditional +#value_indexed +PR_SET_VMA_ANON_NAME
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sme_vl_flags.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/pr_sme_vl_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(PR_SME_SET_VL_ONEXEC) || (defined(HAVE_DECL_PR_SME_SET_VL_ONEXEC) && HAVE_DECL_PR_SME_SET_VL_ONEXEC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PR_SME_SET_VL_ONEXEC) == ((1 << 18)), "PR_SME_SET_VL_ONEXEC != (1 << 18)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PR_SME_SET_VL_ONEXEC (1 << 18) +#endif +#if defined(PR_SME_VL_INHERIT) || (defined(HAVE_DECL_PR_SME_VL_INHERIT) && HAVE_DECL_PR_SME_VL_INHERIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PR_SME_VL_INHERIT) == ((1 << 17)), "PR_SME_VL_INHERIT != (1 << 17)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PR_SME_VL_INHERIT (1 << 17) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat pr_sme_vl_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data pr_sme_vl_flags_xdata = { + XLAT(PR_SME_SET_VL_ONEXEC), + #define XLAT_VAL_0 ((unsigned) (PR_SME_SET_VL_ONEXEC)) + #define XLAT_STR_0 STRINGIFY(PR_SME_SET_VL_ONEXEC) + XLAT(PR_SME_VL_INHERIT), + #define XLAT_VAL_1 ((unsigned) (PR_SME_VL_INHERIT)) + #define XLAT_STR_1 STRINGIFY(PR_SME_VL_INHERIT) +}; +static +const struct xlat pr_sme_vl_flags1 = { { + .data = pr_sme_vl_flags_xdata, + .size = ARRAY_SIZE(pr_sme_vl_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sme_vl_flags.in
Added
@@ -0,0 +1,2 @@ +PR_SME_SET_VL_ONEXEC (1 << 18) +PR_SME_VL_INHERIT (1 << 17)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_spec_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_spec_cmds.h
Changed
@@ -17,6 +17,14 @@ #else # define PR_SPEC_INDIRECT_BRANCH 1 #endif +#if defined(PR_SPEC_L1D_FLUSH) || (defined(HAVE_DECL_PR_SPEC_L1D_FLUSH) && HAVE_DECL_PR_SPEC_L1D_FLUSH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PR_SPEC_L1D_FLUSH) == (2), "PR_SPEC_L1D_FLUSH != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PR_SPEC_L1D_FLUSH 2 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -34,6 +42,9 @@ PR_SPEC_INDIRECT_BRANCH = XLAT(PR_SPEC_INDIRECT_BRANCH), #define XLAT_VAL_1 ((unsigned) (PR_SPEC_INDIRECT_BRANCH)) #define XLAT_STR_1 STRINGIFY(PR_SPEC_INDIRECT_BRANCH) + PR_SPEC_L1D_FLUSH = XLAT(PR_SPEC_L1D_FLUSH), + #define XLAT_VAL_2 ((unsigned) (PR_SPEC_L1D_FLUSH)) + #define XLAT_STR_2 STRINGIFY(PR_SPEC_L1D_FLUSH) }; static const struct xlat pr_spec_cmds1 = { { @@ -47,6 +58,9 @@ # ifdef XLAT_VAL_1 | XLAT_VAL_1 # endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -55,6 +69,9 @@ # ifdef XLAT_STR_1 + sizeof(XLAT_STR_1) # endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -63,6 +80,8 @@ # undef XLAT_VAL_0 # undef XLAT_STR_1 # undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_spec_cmds.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_spec_cmds.in
Changed
@@ -1,3 +1,4 @@ #value_indexed PR_SPEC_STORE_BYPASS 0 PR_SPEC_INDIRECT_BRANCH 1 +PR_SPEC_L1D_FLUSH 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_spec_get_store_bypass_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_spec_get_store_bypass_flags.h
Changed
@@ -45,6 +45,7 @@ #else # define PR_SPEC_DISABLE_NOEXEC (1 << 4) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_spec_set_store_bypass_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_spec_set_store_bypass_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define PR_SPEC_DISABLE_NOEXEC (1 << 4) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_sud_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sud_cmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_sve_vl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_sve_vl_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define PR_SVE_VL_INHERIT (1 << 17) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_tagged_addr_enable.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_tagged_addr_enable.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_tagged_addr_mte_tcf.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_tagged_addr_mte_tcf.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_tsc.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_tsc.h
Changed
@@ -17,6 +17,7 @@ #else # define PR_TSC_SIGSEGV 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/pr_unalign_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/pr_unalign_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define PR_UNALIGN_SIGBUS 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/prctl_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/prctl_options.h
Changed
@@ -3,8 +3,503 @@ #include "gcc_compat.h" #include "static_assert.h" -#ifdef __ANDROID__ +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_PDEATHSIG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_PDEATHSIG" + " is not larger than the previous value"); #endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_PDEATHSIG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_PDEATHSIG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_PDEATHSIG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_PDEATHSIG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_DUMPABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_DUMPABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_DUMPABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_DUMPABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_DUMPABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_DUMPABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_UNALIGN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_UNALIGN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_UNALIGN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_UNALIGN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_UNALIGN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_UNALIGN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_KEEPCAPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_KEEPCAPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_KEEPCAPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_KEEPCAPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_KEEPCAPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_KEEPCAPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_FPEMU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_FPEMU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_FPEMU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_FPEMU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_FPEMU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_FPEMU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_FPEXC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_FPEXC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_FPEXC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_FPEXC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_FPEXC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_FPEXC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_TIMING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_TIMING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_TIMING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_TIMING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_TIMING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_TIMING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_NAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_NAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_NAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_NAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_NAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_NAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_ENDIAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_ENDIAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_ENDIAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_ENDIAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_ENDIAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_ENDIAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_SECCOMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_SECCOMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_SECCOMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_SECCOMP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_SECCOMP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_SECCOMP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_CAPBSET_READ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_CAPBSET_READ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_CAPBSET_READ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_CAPBSET_DROP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_CAPBSET_DROP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_CAPBSET_DROP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_TSC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_TSC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_TSC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_TSC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_TSC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_TSC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_SECUREBITS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_SECUREBITS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_SECUREBITS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_SECUREBITS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_SECUREBITS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_SECUREBITS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_TIMERSLACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_TIMERSLACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_TIMERSLACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_TIMERSLACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_TIMERSLACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_TIMERSLACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_TASK_PERF_EVENTS_DISABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_TASK_PERF_EVENTS_DISABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_TASK_PERF_EVENTS_DISABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_TASK_PERF_EVENTS_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_TASK_PERF_EVENTS_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_TASK_PERF_EVENTS_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_MCE_KILL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_MCE_KILL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_MCE_KILL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_MCE_KILL_GET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_MCE_KILL_GET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_MCE_KILL_GET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_MM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_MM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_MM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_CHILD_SUBREAPER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_CHILD_SUBREAPER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_CHILD_SUBREAPER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_CHILD_SUBREAPER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_CHILD_SUBREAPER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_CHILD_SUBREAPER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_NO_NEW_PRIVS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_NO_NEW_PRIVS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_NO_NEW_PRIVS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_NO_NEW_PRIVS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_NO_NEW_PRIVS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_NO_NEW_PRIVS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_TID_ADDRESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_TID_ADDRESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_TID_ADDRESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_THP_DISABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_THP_DISABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_THP_DISABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_THP_DISABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_THP_DISABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_THP_DISABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_MPX_ENABLE_MANAGEMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_MPX_ENABLE_MANAGEMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_MPX_ENABLE_MANAGEMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_MPX_DISABLE_MANAGEMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_MPX_DISABLE_MANAGEMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_MPX_DISABLE_MANAGEMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_FP_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_FP_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_FP_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_FP_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_FP_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_FP_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_CAP_AMBIENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_CAP_AMBIENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_CAP_AMBIENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SVE_SET_VL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SVE_SET_VL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SVE_SET_VL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SVE_GET_VL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SVE_GET_VL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SVE_GET_VL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_SPECULATION_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_SPECULATION_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_SPECULATION_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_SPECULATION_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_SPECULATION_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_SPECULATION_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_PAC_RESET_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_PAC_RESET_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_PAC_RESET_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_TAGGED_ADDR_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_TAGGED_ADDR_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_TAGGED_ADDR_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_TAGGED_ADDR_CTRL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_TAGGED_ADDR_CTRL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_TAGGED_ADDR_CTRL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_IO_FLUSHER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_IO_FLUSHER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_IO_FLUSHER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_GET_IO_FLUSHER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_GET_IO_FLUSHER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_GET_IO_FLUSHER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_SYSCALL_USER_DISPATCH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_SYSCALL_USER_DISPATCH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_SYSCALL_USER_DISPATCH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_PAC_SET_ENABLED_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_PAC_SET_ENABLED_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_PAC_SET_ENABLED_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_PAC_GET_ENABLED_KEYS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_PAC_GET_ENABLED_KEYS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_PAC_GET_ENABLED_KEYS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SCHED_CORE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SCHED_CORE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SCHED_CORE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SME_SET_VL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SME_SET_VL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SME_SET_VL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SME_GET_VL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SME_GET_VL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SME_GET_VL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_VMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_VMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_VMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (PR_SET_PTRACER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: PR_SET_PTRACER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (PR_SET_PTRACER) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -190,14 +685,18 @@ XLAT(PR_SCHED_CORE), #define XLAT_VAL_57 ((unsigned) (PR_SCHED_CORE)) #define XLAT_STR_57 STRINGIFY(PR_SCHED_CORE) -#ifdef __ANDROID__ + XLAT(PR_SME_SET_VL), + #define XLAT_VAL_58 ((unsigned) (PR_SME_SET_VL)) + #define XLAT_STR_58 STRINGIFY(PR_SME_SET_VL) + XLAT(PR_SME_GET_VL), + #define XLAT_VAL_59 ((unsigned) (PR_SME_GET_VL)) + #define XLAT_STR_59 STRINGIFY(PR_SME_GET_VL) XLAT(PR_SET_VMA), - #define XLAT_VAL_58 ((unsigned) (PR_SET_VMA)) - #define XLAT_STR_58 STRINGIFY(PR_SET_VMA) -#endif + #define XLAT_VAL_60 ((unsigned) (PR_SET_VMA)) + #define XLAT_STR_60 STRINGIFY(PR_SET_VMA) XLAT(PR_SET_PTRACER), - #define XLAT_VAL_59 ((unsigned) (PR_SET_PTRACER)) - #define XLAT_STR_59 STRINGIFY(PR_SET_PTRACER) + #define XLAT_VAL_61 ((unsigned) (PR_SET_PTRACER)) + #define XLAT_STR_61 STRINGIFY(PR_SET_PTRACER) }; static const struct xlat prctl_options1 = { { @@ -385,6 +884,12 @@ # ifdef XLAT_VAL_59 | XLAT_VAL_59 # endif +# ifdef XLAT_VAL_60 + | XLAT_VAL_60 +# endif +# ifdef XLAT_VAL_61 + | XLAT_VAL_61 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -567,6 +1072,12 @@ # ifdef XLAT_STR_59 + sizeof(XLAT_STR_59) # endif +# ifdef XLAT_STR_60 + + sizeof(XLAT_STR_60) +# endif +# ifdef XLAT_STR_61 + + sizeof(XLAT_STR_61) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -691,6 +1202,10 @@ # undef XLAT_VAL_58 # undef XLAT_STR_59 # undef XLAT_VAL_59 +# undef XLAT_STR_60 +# undef XLAT_VAL_60 +# undef XLAT_STR_61 +# undef XLAT_VAL_61 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/prctl_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/prctl_options.in
Changed
@@ -58,7 +58,7 @@ PR_PAC_SET_ENABLED_KEYS PR_PAC_GET_ENABLED_KEYS PR_SCHED_CORE -#ifdef __ANDROID__ +PR_SME_SET_VL +PR_SME_GET_VL PR_SET_VMA -#endif PR_SET_PTRACER
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/priorities.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/priorities.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptp_extts_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptp_extts_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptp_perout_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptp_perout_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ptp_pin_funcs.h
Added
@@ -0,0 +1,105 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/ptp_pin_funcs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(PTP_PF_NONE) || (defined(HAVE_DECL_PTP_PF_NONE) && HAVE_DECL_PTP_PF_NONE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PTP_PF_NONE) == (0), "PTP_PF_NONE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PTP_PF_NONE 0 +#endif +#if defined(PTP_PF_EXTTS) || (defined(HAVE_DECL_PTP_PF_EXTTS) && HAVE_DECL_PTP_PF_EXTTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PTP_PF_EXTTS) == (1), "PTP_PF_EXTTS != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PTP_PF_EXTTS 1 +#endif +#if defined(PTP_PF_PEROUT) || (defined(HAVE_DECL_PTP_PF_PEROUT) && HAVE_DECL_PTP_PF_PEROUT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PTP_PF_PEROUT) == (2), "PTP_PF_PEROUT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PTP_PF_PEROUT 2 +#endif +#if defined(PTP_PF_PHYSYNC) || (defined(HAVE_DECL_PTP_PF_PHYSYNC) && HAVE_DECL_PTP_PF_PHYSYNC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PTP_PF_PHYSYNC) == (3), "PTP_PF_PHYSYNC != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PTP_PF_PHYSYNC 3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat ptp_pin_funcs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data ptp_pin_funcs_xdata = { + PTP_PF_NONE = XLAT(PTP_PF_NONE), + #define XLAT_VAL_0 ((unsigned) (PTP_PF_NONE)) + #define XLAT_STR_0 STRINGIFY(PTP_PF_NONE) + PTP_PF_EXTTS = XLAT(PTP_PF_EXTTS), + #define XLAT_VAL_1 ((unsigned) (PTP_PF_EXTTS)) + #define XLAT_STR_1 STRINGIFY(PTP_PF_EXTTS) + PTP_PF_PEROUT = XLAT(PTP_PF_PEROUT), + #define XLAT_VAL_2 ((unsigned) (PTP_PF_PEROUT)) + #define XLAT_STR_2 STRINGIFY(PTP_PF_PEROUT) + PTP_PF_PHYSYNC = XLAT(PTP_PF_PHYSYNC), + #define XLAT_VAL_3 ((unsigned) (PTP_PF_PHYSYNC)) + #define XLAT_STR_3 STRINGIFY(PTP_PF_PHYSYNC) +}; +static +const struct xlat ptp_pin_funcs1 = { { + .data = ptp_pin_funcs_xdata, + .size = ARRAY_SIZE(ptp_pin_funcs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ptp_pin_funcs.in
Added
@@ -0,0 +1,6 @@ +#enum +#value_indexed +PTP_PF_NONE 0 +PTP_PF_EXTTS 1 +PTP_PF_PEROUT 2 +PTP_PF_PHYSYNC 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/ptp_pin_funcs.m4
Added
@@ -0,0 +1,9 @@ +dnl Generated by ./src/xlat/gen.sh from ./src/xlat/ptp_pin_funcs.in; do not edit. +AC_DEFUN(st_CHECK_ENUMS_ptp_pin_funcs, +AC_CHECK_DECLS(m4_normalize( +PTP_PF_NONE, +PTP_PF_EXTTS, +PTP_PF_PEROUT, +PTP_PF_PHYSYNC +),,, +)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_cmds.h
Changed
@@ -209,7 +209,7 @@ #else # define PTRACE_GET_RSEQ_CONFIGURATION 0x420f #endif -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ #if defined(PTRACE_GETREGS) || (defined(HAVE_DECL_PTRACE_GETREGS) && HAVE_DECL_PTRACE_GETREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_GETREGS) == (0xc), "PTRACE_GETREGS != 0xc"); @@ -227,7 +227,7 @@ #endif #else #endif -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ #if defined(PTRACE_SETREGS) || (defined(HAVE_DECL_PTRACE_SETREGS) && HAVE_DECL_PTRACE_SETREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_SETREGS) == (0xd), "PTRACE_SETREGS != 0xd"); @@ -245,7 +245,7 @@ #endif #else #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ #if defined(PTRACE_GETFPREGS) || (defined(HAVE_DECL_PTRACE_GETFPREGS) && HAVE_DECL_PTRACE_GETFPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_GETFPREGS) == (0xe), "PTRACE_GETFPREGS != 0xe"); @@ -255,7 +255,7 @@ #endif #else #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ #if defined(PTRACE_SETFPREGS) || (defined(HAVE_DECL_PTRACE_SETFPREGS) && HAVE_DECL_PTRACE_SETFPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_SETFPREGS) == (0xf), "PTRACE_SETFPREGS != 0xf"); @@ -293,7 +293,7 @@ #else # define PTRACE_GETHBPREGS 0x14 #endif -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ #if defined(PTRACE_GETHBPREGS) || (defined(HAVE_DECL_PTRACE_GETHBPREGS) && HAVE_DECL_PTRACE_GETHBPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_GETHBPREGS) == (0x1d), "PTRACE_GETHBPREGS != 0x1d"); @@ -311,7 +311,7 @@ #else # define PTRACE_SETHBPREGS 0x15 #endif -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ #if defined(PTRACE_SETHBPREGS) || (defined(HAVE_DECL_PTRACE_SETHBPREGS) && HAVE_DECL_PTRACE_SETHBPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_SETHBPREGS) == (0x1e), "PTRACE_SETHBPREGS != 0x1e"); @@ -351,7 +351,7 @@ #endif #else #endif -#if defined __arm__ || defined __unicore32__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __unicore32__ #if defined(PTRACE_GET_THREAD_AREA) || (defined(HAVE_DECL_PTRACE_GET_THREAD_AREA) && HAVE_DECL_PTRACE_GET_THREAD_AREA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_GET_THREAD_AREA) == (0x16), "PTRACE_GET_THREAD_AREA != 0x16"); @@ -491,7 +491,7 @@ #endif #else #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ #if defined(PTRACE_SET_SYSCALL) || (defined(HAVE_DECL_PTRACE_SET_SYSCALL) && HAVE_DECL_PTRACE_SET_SYSCALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_SET_SYSCALL) == (0x17), "PTRACE_SET_SYSCALL != 0x17"); @@ -521,7 +521,7 @@ #endif #else #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ #if defined(PTRACE_GETVFPREGS) || (defined(HAVE_DECL_PTRACE_GETVFPREGS) && HAVE_DECL_PTRACE_GETVFPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_GETVFPREGS) == (0x1b), "PTRACE_GETVFPREGS != 0x1b"); @@ -531,7 +531,7 @@ #endif #else #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ #if defined(PTRACE_SETVFPREGS) || (defined(HAVE_DECL_PTRACE_SETVFPREGS) && HAVE_DECL_PTRACE_SETVFPREGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((PTRACE_SETVFPREGS) == (0x1c), "PTRACE_SETVFPREGS != 0x1c"); @@ -1061,6 +1061,7 @@ #endif #else #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -1174,7 +1175,7 @@ #define XLAT_STR_29 STRINGIFY(PTRACE_GET_RSEQ_CONFIGURATION) -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ XLAT(PTRACE_GETREGS), #define XLAT_VAL_30 ((unsigned) (PTRACE_GETREGS)) #define XLAT_STR_30 STRINGIFY(PTRACE_GETREGS) @@ -1190,7 +1191,7 @@ #endif #endif -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ XLAT(PTRACE_SETREGS), #define XLAT_VAL_33 ((unsigned) (PTRACE_SETREGS)) #define XLAT_STR_33 STRINGIFY(PTRACE_SETREGS) @@ -1206,7 +1207,7 @@ #endif #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ XLAT(PTRACE_GETFPREGS), #define XLAT_VAL_36 ((unsigned) (PTRACE_GETFPREGS)) #define XLAT_STR_36 STRINGIFY(PTRACE_GETFPREGS) @@ -1218,7 +1219,7 @@ #endif #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ XLAT(PTRACE_SETFPREGS), #define XLAT_VAL_38 ((unsigned) (PTRACE_SETFPREGS)) #define XLAT_STR_38 STRINGIFY(PTRACE_SETFPREGS) @@ -1258,7 +1259,7 @@ XLAT(PTRACE_GETHBPREGS), #define XLAT_VAL_44 ((unsigned) (PTRACE_GETHBPREGS)) #define XLAT_STR_44 STRINGIFY(PTRACE_GETHBPREGS) -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ XLAT(PTRACE_GETHBPREGS), #define XLAT_VAL_45 ((unsigned) (PTRACE_GETHBPREGS)) #define XLAT_STR_45 STRINGIFY(PTRACE_GETHBPREGS) @@ -1274,7 +1275,7 @@ XLAT(PTRACE_SETHBPREGS), #define XLAT_VAL_47 ((unsigned) (PTRACE_SETHBPREGS)) #define XLAT_STR_47 STRINGIFY(PTRACE_SETHBPREGS) -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ XLAT(PTRACE_SETHBPREGS), #define XLAT_VAL_48 ((unsigned) (PTRACE_SETHBPREGS)) #define XLAT_STR_48 STRINGIFY(PTRACE_SETHBPREGS) @@ -1321,7 +1322,7 @@ #endif #endif -#if defined __arm__ || defined __unicore32__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __unicore32__ XLAT(PTRACE_GET_THREAD_AREA), #define XLAT_VAL_56 ((unsigned) (PTRACE_GET_THREAD_AREA)) #define XLAT_STR_56 STRINGIFY(PTRACE_GET_THREAD_AREA) @@ -1460,7 +1461,7 @@ #define XLAT_STR_80 STRINGIFY(PTRACE_SETWMMXREGS) #endif #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ XLAT(PTRACE_SET_SYSCALL), #define XLAT_VAL_81 ((unsigned) (PTRACE_SET_SYSCALL)) #define XLAT_STR_81 STRINGIFY(PTRACE_SET_SYSCALL) @@ -1493,7 +1494,7 @@ #define XLAT_STR_86 STRINGIFY(PTRACE_SETCRUNCHREGS) #endif #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ XLAT(PTRACE_GETVFPREGS), #define XLAT_VAL_87 ((unsigned) (PTRACE_GETVFPREGS)) #define XLAT_STR_87 STRINGIFY(PTRACE_GETVFPREGS) @@ -1504,7 +1505,7 @@ #define XLAT_STR_88 STRINGIFY(PTRACE_GETVFPREGS) #endif #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ XLAT(PTRACE_SETVFPREGS), #define XLAT_VAL_89 ((unsigned) (PTRACE_SETVFPREGS)) #define XLAT_STR_89 STRINGIFY(PTRACE_SETVFPREGS)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_cmds.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_cmds.in
Changed
@@ -42,7 +42,7 @@ PTRACE_GET_RSEQ_CONFIGURATION 0x420f /* arch-specific */ -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ PTRACE_GETREGS 0xc #elif defined __hppa__ || defined __ia64__ PTRACE_GETREGS 0x12 @@ -50,7 +50,7 @@ PTRACE_GETREGS #endif -#if defined __arm__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ || defined __xtensa__ PTRACE_SETREGS 0xd #elif defined __hppa__ || defined __ia64__ PTRACE_SETREGS 0x13 @@ -58,13 +58,13 @@ PTRACE_SETREGS #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ PTRACE_GETFPREGS 0xe #else PTRACE_GETFPREGS #endif -#if defined __arm__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __hppa__ || defined __m68k__ || defined __mips__ || defined __powerpc__ || defined __sh__ || defined __sparc__ || defined __x86_64__ || defined __i386__ PTRACE_SETFPREGS 0xf #else PTRACE_SETFPREGS @@ -84,7 +84,7 @@ #if defined __xtensa__ PTRACE_GETHBPREGS 0x14 -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ PTRACE_GETHBPREGS 0x1d #else PTRACE_GETHBPREGS @@ -92,7 +92,7 @@ #if defined __xtensa__ PTRACE_SETHBPREGS 0x15 -#elif defined __arm__ +#elif defined __arm__ || defined __arm64__ || defined __aarch64__ PTRACE_SETHBPREGS 0x1e #else PTRACE_SETHBPREGS @@ -115,7 +115,7 @@ PTRACE_SETREGS64 #endif -#if defined __arm__ || defined __unicore32__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ || defined __unicore32__ PTRACE_GET_THREAD_AREA 0x16 #elif defined __arc__ || defined __m68k__ || defined __mips__ || defined __x86_64__ || defined __i386__ PTRACE_GET_THREAD_AREA 0x19 @@ -184,7 +184,7 @@ #else PTRACE_SETWMMXREGS #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ PTRACE_SET_SYSCALL 0x17 #else PTRACE_SET_SYSCALL @@ -199,12 +199,12 @@ #else PTRACE_SETCRUNCHREGS #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ PTRACE_GETVFPREGS 0x1b #else PTRACE_GETVFPREGS #endif -#if defined __arm__ +#if defined __arm__ || defined __arm64__ || defined __aarch64__ PTRACE_SETVFPREGS 0x1c #else PTRACE_SETVFPREGS
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_events.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_events.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_peeksiginfo_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_peeksiginfo_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define PTRACE_PEEKSIGINFO_SHARED 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_setoptions_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_setoptions_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ptrace_syscall_info_op.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ptrace_syscall_info_op.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/qipcrtr_nodes.h
Added
@@ -0,0 +1,47 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/qipcrtr_nodes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((QRTR_NODE_BCAST) == (0xffffffffU), "QRTR_NODE_BCAST != 0xffffffffU"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat qipcrtr_nodes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data qipcrtr_nodes_xdata = { + XLAT(QRTR_NODE_BCAST), + #define XLAT_VAL_0 ((unsigned) (QRTR_NODE_BCAST)) + #define XLAT_STR_0 STRINGIFY(QRTR_NODE_BCAST) +}; +static +const struct xlat qipcrtr_nodes1 = { { + .data = qipcrtr_nodes_xdata, + .size = ARRAY_SIZE(qipcrtr_nodes_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/qipcrtr_nodes.in
Added
@@ -0,0 +1,2 @@ +#unconditional +QRTR_NODE_BCAST 0xffffffffU
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/qipcrtr_ports.h
Added
@@ -0,0 +1,47 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/qipcrtr_ports.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((QRTR_PORT_CTRL) == (0xfffffffeU), "QRTR_PORT_CTRL != 0xfffffffeU"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat qipcrtr_ports in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data qipcrtr_ports_xdata = { + XLAT(QRTR_PORT_CTRL), + #define XLAT_VAL_0 ((unsigned) (QRTR_PORT_CTRL)) + #define XLAT_STR_0 STRINGIFY(QRTR_PORT_CTRL) +}; +static +const struct xlat qipcrtr_ports1 = { { + .data = qipcrtr_ports_xdata, + .size = ARRAY_SIZE(qipcrtr_ports_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/qipcrtr_ports.in
Added
@@ -0,0 +1,2 @@ +#unconditional +QRTR_PORT_CTRL 0xfffffffeU
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/quota_formats.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/quota_formats.h
Changed
@@ -31,6 +31,7 @@ #else # define QFMT_VFS_V1 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/quotacmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/quotacmds.h
Changed
@@ -248,6 +248,7 @@ #else # define Q_XGETNEXTQUOTA XQM_CMD(0x9) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/quotatypes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/quotatypes.h
Changed
@@ -24,6 +24,7 @@ #else # define PRJQUOTA 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/random_ioctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/random_ioctl_cmds.h
Changed
@@ -52,6 +52,7 @@ #else # define RNDRESEEDCRNG _IO( 'R', 0x07 ) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rename_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rename_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define RENAME_WHITEOUT 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/resource_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/resource_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/resources.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/resources.h
Changed
@@ -225,6 +225,7 @@ #else # define RLIMIT_RTTIME 15 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/riscv_flush_icache_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/riscv_flush_icache_flags.h
Changed
@@ -10,6 +10,7 @@ #else # define SYS_RISCV_FLUSH_ICACHE_LOCAL 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/route_nexthop_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/route_nexthop_flags.h
Changed
@@ -3,14 +3,11 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY -# ifdef IN_MPERS - -# error static const struct xlat route_nexthop_flags in mpers mode - -# else +# ifndef IN_MPERS DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data route_nexthop_flags_xdata = { @@ -36,7 +33,6 @@ #define XLAT_VAL_6 ((unsigned) (RTNH_F_TRAP)) #define XLAT_STR_6 STRINGIFY(RTNH_F_TRAP) }; -static const struct xlat route_nexthop_flags1 = { { .data = route_nexthop_flags_xdata, .size = ARRAY_SIZE(route_nexthop_flags_xdata),
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/routing_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/routing_flags.h
Changed
@@ -3,6 +3,79 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_NOTIFY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_NOTIFY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_NOTIFY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_CLONED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_CLONED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_CLONED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_EQUALIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_EQUALIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_EQUALIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_PREFIX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_PREFIX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_PREFIX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_LOOKUP_TABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_LOOKUP_TABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_LOOKUP_TABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_FIB_MATCH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_FIB_MATCH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_FIB_MATCH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_OFFLOAD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_OFFLOAD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_OFFLOAD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_TRAP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_TRAP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_TRAP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTM_F_OFFLOAD_FAILED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTM_F_OFFLOAD_FAILED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTM_F_OFFLOAD_FAILED) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/routing_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/routing_protocols.h
Changed
@@ -3,14 +3,195 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_UNSPEC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_UNSPEC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_UNSPEC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_REDIRECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_REDIRECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_REDIRECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_KERNEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_KERNEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_KERNEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_BOOT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_BOOT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_BOOT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_STATIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_STATIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_STATIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_GATED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_GATED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_GATED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_RA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_RA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_RA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_MRT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_MRT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_MRT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_ZEBRA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_ZEBRA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_ZEBRA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_BIRD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_BIRD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_BIRD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_DNROUTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_DNROUTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_DNROUTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_XORP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_XORP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_XORP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_NTK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_NTK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_NTK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_DHCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_DHCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_DHCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_MROUTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_MROUTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_MROUTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_KEEPALIVED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_KEEPALIVED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_KEEPALIVED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_BABEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_BABEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_BABEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_OPENR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_OPENR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_OPENR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_BGP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_BGP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_BGP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_ISIS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_ISIS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_ISIS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_OSPF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_OSPF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_OSPF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_RIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_RIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_RIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (RTPROT_EIGRP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: RTPROT_EIGRP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (RTPROT_EIGRP) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY -# ifdef IN_MPERS - -# error static const struct xlat routing_protocols in mpers mode - -# else +# ifndef IN_MPERS DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data routing_protocols_xdata = { @@ -84,7 +265,6 @@ #define XLAT_VAL_22 ((unsigned) (RTPROT_EIGRP)) #define XLAT_STR_22 STRINGIFY(RTPROT_EIGRP) }; -static const struct xlat routing_protocols1 = { { .data = routing_protocols_xdata, .size = ARRAY_SIZE(routing_protocols_xdata),
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/routing_scopes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/routing_scopes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/routing_table_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/routing_table_ids.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/routing_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/routing_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_backup_switch_modes.h
Added
@@ -0,0 +1,107 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtc_backup_switch_modes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(RTC_BSM_DISABLED) || (defined(HAVE_DECL_RTC_BSM_DISABLED) && HAVE_DECL_RTC_BSM_DISABLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_BSM_DISABLED) == (0), "RTC_BSM_DISABLED != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_BSM_DISABLED 0 +#endif +#if defined(RTC_BSM_DIRECT) || (defined(HAVE_DECL_RTC_BSM_DIRECT) && HAVE_DECL_RTC_BSM_DIRECT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_BSM_DIRECT) == (1), "RTC_BSM_DIRECT != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_BSM_DIRECT 1 +#endif +#if defined(RTC_BSM_LEVEL) || (defined(HAVE_DECL_RTC_BSM_LEVEL) && HAVE_DECL_RTC_BSM_LEVEL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_BSM_LEVEL) == (2), "RTC_BSM_LEVEL != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_BSM_LEVEL 2 +#endif +#if defined(RTC_BSM_STANDBY) || (defined(HAVE_DECL_RTC_BSM_STANDBY) && HAVE_DECL_RTC_BSM_STANDBY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_BSM_STANDBY) == (3), "RTC_BSM_STANDBY != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_BSM_STANDBY 3 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat rtc_backup_switch_modes; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtc_backup_switch_modes_xdata = { + RTC_BSM_DISABLED = XLAT(RTC_BSM_DISABLED), + #define XLAT_VAL_0 ((unsigned) (RTC_BSM_DISABLED)) + #define XLAT_STR_0 STRINGIFY(RTC_BSM_DISABLED) + RTC_BSM_DIRECT = XLAT(RTC_BSM_DIRECT), + #define XLAT_VAL_1 ((unsigned) (RTC_BSM_DIRECT)) + #define XLAT_STR_1 STRINGIFY(RTC_BSM_DIRECT) + RTC_BSM_LEVEL = XLAT(RTC_BSM_LEVEL), + #define XLAT_VAL_2 ((unsigned) (RTC_BSM_LEVEL)) + #define XLAT_STR_2 STRINGIFY(RTC_BSM_LEVEL) + RTC_BSM_STANDBY = XLAT(RTC_BSM_STANDBY), + #define XLAT_VAL_3 ((unsigned) (RTC_BSM_STANDBY)) + #define XLAT_STR_3 STRINGIFY(RTC_BSM_STANDBY) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat rtc_backup_switch_modes1 = { { + .data = rtc_backup_switch_modes_xdata, + .size = ARRAY_SIZE(rtc_backup_switch_modes_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_backup_switch_modes.in
Added
@@ -0,0 +1,5 @@ +#value_indexed +RTC_BSM_DISABLED 0 +RTC_BSM_DIRECT 1 +RTC_BSM_LEVEL 2 +RTC_BSM_STANDBY 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_feature_bits.h
Added
@@ -0,0 +1,180 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtc_feature_bits.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(RTC_FEATURE_ALARM) || (defined(HAVE_DECL_RTC_FEATURE_ALARM) && HAVE_DECL_RTC_FEATURE_ALARM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_ALARM) == (0), "RTC_FEATURE_ALARM != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_ALARM 0 +#endif +#if defined(RTC_FEATURE_ALARM_RES_MINUTE) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_RES_MINUTE) && HAVE_DECL_RTC_FEATURE_ALARM_RES_MINUTE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_ALARM_RES_MINUTE) == (1), "RTC_FEATURE_ALARM_RES_MINUTE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_ALARM_RES_MINUTE 1 +#endif +#if defined(RTC_FEATURE_NEED_WEEK_DAY) || (defined(HAVE_DECL_RTC_FEATURE_NEED_WEEK_DAY) && HAVE_DECL_RTC_FEATURE_NEED_WEEK_DAY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_NEED_WEEK_DAY) == (2), "RTC_FEATURE_NEED_WEEK_DAY != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_NEED_WEEK_DAY 2 +#endif +#if defined(RTC_FEATURE_ALARM_RES_2S) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_RES_2S) && HAVE_DECL_RTC_FEATURE_ALARM_RES_2S) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_ALARM_RES_2S) == (3), "RTC_FEATURE_ALARM_RES_2S != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_ALARM_RES_2S 3 +#endif +#if defined(RTC_FEATURE_UPDATE_INTERRUPT) || (defined(HAVE_DECL_RTC_FEATURE_UPDATE_INTERRUPT) && HAVE_DECL_RTC_FEATURE_UPDATE_INTERRUPT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_UPDATE_INTERRUPT) == (4), "RTC_FEATURE_UPDATE_INTERRUPT != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_UPDATE_INTERRUPT 4 +#endif +#if defined(RTC_FEATURE_CORRECTION) || (defined(HAVE_DECL_RTC_FEATURE_CORRECTION) && HAVE_DECL_RTC_FEATURE_CORRECTION) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_CORRECTION) == (5), "RTC_FEATURE_CORRECTION != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_CORRECTION 5 +#endif +#if defined(RTC_FEATURE_BACKUP_SWITCH_MODE) || (defined(HAVE_DECL_RTC_FEATURE_BACKUP_SWITCH_MODE) && HAVE_DECL_RTC_FEATURE_BACKUP_SWITCH_MODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_BACKUP_SWITCH_MODE) == (6), "RTC_FEATURE_BACKUP_SWITCH_MODE != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_BACKUP_SWITCH_MODE 6 +#endif +#if defined(RTC_FEATURE_ALARM_WAKEUP_ONLY) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_WAKEUP_ONLY) && HAVE_DECL_RTC_FEATURE_ALARM_WAKEUP_ONLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_FEATURE_ALARM_WAKEUP_ONLY) == (7), "RTC_FEATURE_ALARM_WAKEUP_ONLY != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_FEATURE_ALARM_WAKEUP_ONLY 7 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat rtc_feature_bits; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtc_feature_bits_xdata = { + RTC_FEATURE_ALARM = XLAT(RTC_FEATURE_ALARM), + #define XLAT_VAL_0 ((unsigned) (RTC_FEATURE_ALARM)) + #define XLAT_STR_0 STRINGIFY(RTC_FEATURE_ALARM) + RTC_FEATURE_ALARM_RES_MINUTE = XLAT(RTC_FEATURE_ALARM_RES_MINUTE), + #define XLAT_VAL_1 ((unsigned) (RTC_FEATURE_ALARM_RES_MINUTE)) + #define XLAT_STR_1 STRINGIFY(RTC_FEATURE_ALARM_RES_MINUTE) + RTC_FEATURE_NEED_WEEK_DAY = XLAT(RTC_FEATURE_NEED_WEEK_DAY), + #define XLAT_VAL_2 ((unsigned) (RTC_FEATURE_NEED_WEEK_DAY)) + #define XLAT_STR_2 STRINGIFY(RTC_FEATURE_NEED_WEEK_DAY) + RTC_FEATURE_ALARM_RES_2S = XLAT(RTC_FEATURE_ALARM_RES_2S), + #define XLAT_VAL_3 ((unsigned) (RTC_FEATURE_ALARM_RES_2S)) + #define XLAT_STR_3 STRINGIFY(RTC_FEATURE_ALARM_RES_2S) + RTC_FEATURE_UPDATE_INTERRUPT = XLAT(RTC_FEATURE_UPDATE_INTERRUPT), + #define XLAT_VAL_4 ((unsigned) (RTC_FEATURE_UPDATE_INTERRUPT)) + #define XLAT_STR_4 STRINGIFY(RTC_FEATURE_UPDATE_INTERRUPT) + RTC_FEATURE_CORRECTION = XLAT(RTC_FEATURE_CORRECTION), + #define XLAT_VAL_5 ((unsigned) (RTC_FEATURE_CORRECTION)) + #define XLAT_STR_5 STRINGIFY(RTC_FEATURE_CORRECTION) + RTC_FEATURE_BACKUP_SWITCH_MODE = XLAT(RTC_FEATURE_BACKUP_SWITCH_MODE), + #define XLAT_VAL_6 ((unsigned) (RTC_FEATURE_BACKUP_SWITCH_MODE)) + #define XLAT_STR_6 STRINGIFY(RTC_FEATURE_BACKUP_SWITCH_MODE) + RTC_FEATURE_ALARM_WAKEUP_ONLY = XLAT(RTC_FEATURE_ALARM_WAKEUP_ONLY), + #define XLAT_VAL_7 ((unsigned) (RTC_FEATURE_ALARM_WAKEUP_ONLY)) + #define XLAT_STR_7 STRINGIFY(RTC_FEATURE_ALARM_WAKEUP_ONLY) + +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat rtc_feature_bits1 = { { + .data = rtc_feature_bits_xdata, + .size = ARRAY_SIZE(rtc_feature_bits_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_feature_bits.in
Added
@@ -0,0 +1,10 @@ +#value_indexed +RTC_FEATURE_ALARM 0 +RTC_FEATURE_ALARM_RES_MINUTE 1 +RTC_FEATURE_NEED_WEEK_DAY 2 +RTC_FEATURE_ALARM_RES_2S 3 +RTC_FEATURE_UPDATE_INTERRUPT 4 +RTC_FEATURE_CORRECTION 5 +RTC_FEATURE_BACKUP_SWITCH_MODE 6 +RTC_FEATURE_ALARM_WAKEUP_ONLY 7 +/* RTC_FEATURE_CNT - non-UAPI */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_features.h
Added
@@ -0,0 +1,140 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtc_features.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat rtc_features; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtc_features_xdata = { +#if defined(RTC_FEATURE_ALARM) || (defined(HAVE_DECL_RTC_FEATURE_ALARM) && HAVE_DECL_RTC_FEATURE_ALARM) + XLAT_PAIR(1ULL<<RTC_FEATURE_ALARM, "1<<RTC_FEATURE_ALARM"), + #define XLAT_VAL_0 ((unsigned) (1ULL<<RTC_FEATURE_ALARM)) + #define XLAT_STR_0 "1<<RTC_FEATURE_ALARM" +#endif +#if defined(RTC_FEATURE_ALARM_RES_MINUTE) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_RES_MINUTE) && HAVE_DECL_RTC_FEATURE_ALARM_RES_MINUTE) + XLAT_PAIR(1ULL<<RTC_FEATURE_ALARM_RES_MINUTE, "1<<RTC_FEATURE_ALARM_RES_MINUTE"), + #define XLAT_VAL_1 ((unsigned) (1ULL<<RTC_FEATURE_ALARM_RES_MINUTE)) + #define XLAT_STR_1 "1<<RTC_FEATURE_ALARM_RES_MINUTE" +#endif +#if defined(RTC_FEATURE_NEED_WEEK_DAY) || (defined(HAVE_DECL_RTC_FEATURE_NEED_WEEK_DAY) && HAVE_DECL_RTC_FEATURE_NEED_WEEK_DAY) + XLAT_PAIR(1ULL<<RTC_FEATURE_NEED_WEEK_DAY, "1<<RTC_FEATURE_NEED_WEEK_DAY"), + #define XLAT_VAL_2 ((unsigned) (1ULL<<RTC_FEATURE_NEED_WEEK_DAY)) + #define XLAT_STR_2 "1<<RTC_FEATURE_NEED_WEEK_DAY" +#endif +#if defined(RTC_FEATURE_ALARM_RES_2S) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_RES_2S) && HAVE_DECL_RTC_FEATURE_ALARM_RES_2S) + XLAT_PAIR(1ULL<<RTC_FEATURE_ALARM_RES_2S, "1<<RTC_FEATURE_ALARM_RES_2S"), + #define XLAT_VAL_3 ((unsigned) (1ULL<<RTC_FEATURE_ALARM_RES_2S)) + #define XLAT_STR_3 "1<<RTC_FEATURE_ALARM_RES_2S" +#endif +#if defined(RTC_FEATURE_UPDATE_INTERRUPT) || (defined(HAVE_DECL_RTC_FEATURE_UPDATE_INTERRUPT) && HAVE_DECL_RTC_FEATURE_UPDATE_INTERRUPT) + XLAT_PAIR(1ULL<<RTC_FEATURE_UPDATE_INTERRUPT, "1<<RTC_FEATURE_UPDATE_INTERRUPT"), + #define XLAT_VAL_4 ((unsigned) (1ULL<<RTC_FEATURE_UPDATE_INTERRUPT)) + #define XLAT_STR_4 "1<<RTC_FEATURE_UPDATE_INTERRUPT" +#endif +#if defined(RTC_FEATURE_CORRECTION) || (defined(HAVE_DECL_RTC_FEATURE_CORRECTION) && HAVE_DECL_RTC_FEATURE_CORRECTION) + XLAT_PAIR(1ULL<<RTC_FEATURE_CORRECTION, "1<<RTC_FEATURE_CORRECTION"), + #define XLAT_VAL_5 ((unsigned) (1ULL<<RTC_FEATURE_CORRECTION)) + #define XLAT_STR_5 "1<<RTC_FEATURE_CORRECTION" +#endif +#if defined(RTC_FEATURE_BACKUP_SWITCH_MODE) || (defined(HAVE_DECL_RTC_FEATURE_BACKUP_SWITCH_MODE) && HAVE_DECL_RTC_FEATURE_BACKUP_SWITCH_MODE) + XLAT_PAIR(1ULL<<RTC_FEATURE_BACKUP_SWITCH_MODE, "1<<RTC_FEATURE_BACKUP_SWITCH_MODE"), + #define XLAT_VAL_6 ((unsigned) (1ULL<<RTC_FEATURE_BACKUP_SWITCH_MODE)) + #define XLAT_STR_6 "1<<RTC_FEATURE_BACKUP_SWITCH_MODE" +#endif +#if defined(RTC_FEATURE_ALARM_WAKEUP_ONLY) || (defined(HAVE_DECL_RTC_FEATURE_ALARM_WAKEUP_ONLY) && HAVE_DECL_RTC_FEATURE_ALARM_WAKEUP_ONLY) + XLAT_PAIR(1ULL<<RTC_FEATURE_ALARM_WAKEUP_ONLY, "1<<RTC_FEATURE_ALARM_WAKEUP_ONLY"), + #define XLAT_VAL_7 ((unsigned) (1ULL<<RTC_FEATURE_ALARM_WAKEUP_ONLY)) + #define XLAT_STR_7 "1<<RTC_FEATURE_ALARM_WAKEUP_ONLY" +#endif + +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat rtc_features1 = { { + .data = rtc_features_xdata, + .size = ARRAY_SIZE(rtc_features_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_features.in
Added
@@ -0,0 +1,9 @@ +1<<RTC_FEATURE_ALARM +1<<RTC_FEATURE_ALARM_RES_MINUTE +1<<RTC_FEATURE_NEED_WEEK_DAY +1<<RTC_FEATURE_ALARM_RES_2S +1<<RTC_FEATURE_UPDATE_INTERRUPT +1<<RTC_FEATURE_CORRECTION +1<<RTC_FEATURE_BACKUP_SWITCH_MODE +1<<RTC_FEATURE_ALARM_WAKEUP_ONLY +/* RTC_FEATURE_CNT - non-UAPI */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtc_ioctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_ioctl_cmds.h
Changed
@@ -129,6 +129,21 @@ #else # define RTC_VL_CLR _IO ('p', 0x14) #endif +#if defined(RTC_PARAM_GET) || (defined(HAVE_DECL_RTC_PARAM_GET) && HAVE_DECL_RTC_PARAM_GET) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_PARAM_GET) == (_IOW('p', 0x13, struct_rtc_param)), "RTC_PARAM_GET != _IOW('p', 0x13, struct_rtc_param)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_PARAM_GET _IOW('p', 0x13, struct_rtc_param) +#endif +#if defined(RTC_PARAM_SET) || (defined(HAVE_DECL_RTC_PARAM_SET) && HAVE_DECL_RTC_PARAM_SET) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_PARAM_SET) == (_IOW('p', 0x14, struct_rtc_param)), "RTC_PARAM_SET != _IOW('p', 0x14, struct_rtc_param)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_PARAM_SET _IOW('p', 0x14, struct_rtc_param) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -198,6 +213,12 @@ XLAT(RTC_VL_CLR), #define XLAT_VAL_17 ((unsigned) (RTC_VL_CLR)) #define XLAT_STR_17 STRINGIFY(RTC_VL_CLR) + XLAT(RTC_PARAM_GET), + #define XLAT_VAL_18 ((unsigned) (RTC_PARAM_GET)) + #define XLAT_STR_18 STRINGIFY(RTC_PARAM_GET) + XLAT(RTC_PARAM_SET), + #define XLAT_VAL_19 ((unsigned) (RTC_PARAM_SET)) + #define XLAT_STR_19 STRINGIFY(RTC_PARAM_SET) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -261,6 +282,12 @@ # ifdef XLAT_VAL_17 | XLAT_VAL_17 # endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -317,6 +344,12 @@ # ifdef XLAT_STR_17 + sizeof(XLAT_STR_17) # endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -357,6 +390,10 @@ # undef XLAT_VAL_16 # undef XLAT_STR_17 # undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtc_ioctl_cmds.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_ioctl_cmds.in
Changed
@@ -20,3 +20,5 @@ RTC_PLL_SET _IOW('p', 0x12, struct_rtc_pll_info) RTC_VL_READ _IOR('p', 0x13, unsigned int) RTC_VL_CLR _IO ('p', 0x14) +RTC_PARAM_GET _IOW('p', 0x13, struct_rtc_param) +RTC_PARAM_SET _IOW('p', 0x14, struct_rtc_param)
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_params.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtc_params.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(RTC_PARAM_FEATURES) || (defined(HAVE_DECL_RTC_PARAM_FEATURES) && HAVE_DECL_RTC_PARAM_FEATURES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_PARAM_FEATURES) == (0), "RTC_PARAM_FEATURES != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_PARAM_FEATURES 0 +#endif +#if defined(RTC_PARAM_CORRECTION) || (defined(HAVE_DECL_RTC_PARAM_CORRECTION) && HAVE_DECL_RTC_PARAM_CORRECTION) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_PARAM_CORRECTION) == (1), "RTC_PARAM_CORRECTION != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_PARAM_CORRECTION 1 +#endif +#if defined(RTC_PARAM_BACKUP_SWITCH_MODE) || (defined(HAVE_DECL_RTC_PARAM_BACKUP_SWITCH_MODE) && HAVE_DECL_RTC_PARAM_BACKUP_SWITCH_MODE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTC_PARAM_BACKUP_SWITCH_MODE) == (2), "RTC_PARAM_BACKUP_SWITCH_MODE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define RTC_PARAM_BACKUP_SWITCH_MODE 2 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat rtc_params; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtc_params_xdata = { + RTC_PARAM_FEATURES = XLAT(RTC_PARAM_FEATURES), + #define XLAT_VAL_0 ((unsigned) (RTC_PARAM_FEATURES)) + #define XLAT_STR_0 STRINGIFY(RTC_PARAM_FEATURES) + RTC_PARAM_CORRECTION = XLAT(RTC_PARAM_CORRECTION), + #define XLAT_VAL_1 ((unsigned) (RTC_PARAM_CORRECTION)) + #define XLAT_STR_1 STRINGIFY(RTC_PARAM_CORRECTION) + RTC_PARAM_BACKUP_SWITCH_MODE = XLAT(RTC_PARAM_BACKUP_SWITCH_MODE), + #define XLAT_VAL_2 ((unsigned) (RTC_PARAM_BACKUP_SWITCH_MODE)) + #define XLAT_STR_2 STRINGIFY(RTC_PARAM_BACKUP_SWITCH_MODE) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat rtc_params1 = { { + .data = rtc_params_xdata, + .size = ARRAY_SIZE(rtc_params_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_params.in
Added
@@ -0,0 +1,4 @@ +#value_indexed +RTC_PARAM_FEATURES 0 +RTC_PARAM_CORRECTION 1 +RTC_PARAM_BACKUP_SWITCH_MODE 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtc_vl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtc_vl_flags.h
Changed
@@ -38,6 +38,7 @@ #else # define RTC_VL_BACKUP_SWITCH (1 << 4) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_addr_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_addr_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -47,6 +48,9 @@ IFA_TARGET_NETNSID = XLAT(IFA_TARGET_NETNSID), #define XLAT_VAL_10 ((unsigned) (IFA_TARGET_NETNSID)) #define XLAT_STR_10 STRINGIFY(IFA_TARGET_NETNSID) + IFA_PROTO = XLAT(IFA_PROTO), + #define XLAT_VAL_11 ((unsigned) (IFA_PROTO)) + #define XLAT_STR_11 STRINGIFY(IFA_PROTO) }; static const struct xlat rtnl_addr_attrs1 = { { @@ -87,6 +91,9 @@ # ifdef XLAT_VAL_10 | XLAT_VAL_10 # endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -122,6 +129,9 @@ # ifdef XLAT_STR_10 + sizeof(XLAT_STR_10) # endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -148,6 +158,8 @@ # undef XLAT_VAL_9 # undef XLAT_STR_10 # undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_addr_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_addr_attrs.in
Changed
@@ -11,3 +11,4 @@ IFA_FLAGS IFA_RT_PRIORITY IFA_TARGET_NETNSID +IFA_PROTO
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_addrlabel_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_addrlabel_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_dcb_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_dcb_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_family.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_family.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTNL_FAMILY_IPMR) == (128), "RTNL_FAMILY_IPMR != 128"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTNL_FAMILY_IP6MR) == (129), "RTNL_FAMILY_IP6MR != 129"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_family in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_family_xdata = { + XLAT(RTNL_FAMILY_IPMR), + #define XLAT_VAL_0 ((unsigned) (RTNL_FAMILY_IPMR)) + #define XLAT_STR_0 STRINGIFY(RTNL_FAMILY_IPMR) + XLAT(RTNL_FAMILY_IP6MR), + #define XLAT_VAL_1 ((unsigned) (RTNL_FAMILY_IP6MR)) + #define XLAT_STR_1 STRINGIFY(RTNL_FAMILY_IP6MR) +}; +static +const struct xlat rtnl_family1 = { { + .data = rtnl_family_xdata, + .size = ARRAY_SIZE(rtnl_family_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_family.in
Added
@@ -0,0 +1,3 @@ +#unconditional +RTNL_FAMILY_IPMR 128 +RTNL_FAMILY_IP6MR 129
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_bridge_attrs.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_af_spec_bridge_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_FLAGS) == (0), "IFLA_BRIDGE_FLAGS != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_MODE) == (1), "IFLA_BRIDGE_MODE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_INFO) == (2), "IFLA_BRIDGE_VLAN_INFO != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_TUNNEL_INFO) == (3), "IFLA_BRIDGE_VLAN_TUNNEL_INFO != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_MRP) == (4), "IFLA_BRIDGE_MRP != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_CFM) == (5), "IFLA_BRIDGE_CFM != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_MST) == (6), "IFLA_BRIDGE_MST != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_af_spec_bridge_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_af_spec_bridge_attrs_xdata = { + IFLA_BRIDGE_FLAGS = XLAT(IFLA_BRIDGE_FLAGS), + #define XLAT_VAL_0 ((unsigned) (IFLA_BRIDGE_FLAGS)) + #define XLAT_STR_0 STRINGIFY(IFLA_BRIDGE_FLAGS) + IFLA_BRIDGE_MODE = XLAT(IFLA_BRIDGE_MODE), + #define XLAT_VAL_1 ((unsigned) (IFLA_BRIDGE_MODE)) + #define XLAT_STR_1 STRINGIFY(IFLA_BRIDGE_MODE) + IFLA_BRIDGE_VLAN_INFO = XLAT(IFLA_BRIDGE_VLAN_INFO), + #define XLAT_VAL_2 ((unsigned) (IFLA_BRIDGE_VLAN_INFO)) + #define XLAT_STR_2 STRINGIFY(IFLA_BRIDGE_VLAN_INFO) + IFLA_BRIDGE_VLAN_TUNNEL_INFO = XLAT(IFLA_BRIDGE_VLAN_TUNNEL_INFO), + #define XLAT_VAL_3 ((unsigned) (IFLA_BRIDGE_VLAN_TUNNEL_INFO)) + #define XLAT_STR_3 STRINGIFY(IFLA_BRIDGE_VLAN_TUNNEL_INFO) + IFLA_BRIDGE_MRP = XLAT(IFLA_BRIDGE_MRP), + #define XLAT_VAL_4 ((unsigned) (IFLA_BRIDGE_MRP)) + #define XLAT_STR_4 STRINGIFY(IFLA_BRIDGE_MRP) + IFLA_BRIDGE_CFM = XLAT(IFLA_BRIDGE_CFM), + #define XLAT_VAL_5 ((unsigned) (IFLA_BRIDGE_CFM)) + #define XLAT_STR_5 STRINGIFY(IFLA_BRIDGE_CFM) + IFLA_BRIDGE_MST = XLAT(IFLA_BRIDGE_MST), + #define XLAT_VAL_6 ((unsigned) (IFLA_BRIDGE_MST)) + #define XLAT_STR_6 STRINGIFY(IFLA_BRIDGE_MST) +}; +static +const struct xlat rtnl_ifla_af_spec_bridge_attrs1 = { { + .data = rtnl_ifla_af_spec_bridge_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_af_spec_bridge_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_bridge_attrs.in
Added
@@ -0,0 +1,9 @@ +#unconditional +#value_indexed +IFLA_BRIDGE_FLAGS 0 +IFLA_BRIDGE_MODE 1 +IFLA_BRIDGE_VLAN_INFO 2 +IFLA_BRIDGE_VLAN_TUNNEL_INFO 3 +IFLA_BRIDGE_MRP 4 +IFLA_BRIDGE_CFM 5 +IFLA_BRIDGE_MST 6
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC) == (0), "IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_TUNNEL_ID) == (1), "IFLA_BRIDGE_VLAN_TUNNEL_ID != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_TUNNEL_VID) == (2), "IFLA_BRIDGE_VLAN_TUNNEL_VID != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_BRIDGE_VLAN_TUNNEL_FLAGS) == (3), "IFLA_BRIDGE_VLAN_TUNNEL_FLAGS != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs_xdata = { + IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC = XLAT(IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC) + IFLA_BRIDGE_VLAN_TUNNEL_ID = XLAT(IFLA_BRIDGE_VLAN_TUNNEL_ID), + #define XLAT_VAL_1 ((unsigned) (IFLA_BRIDGE_VLAN_TUNNEL_ID)) + #define XLAT_STR_1 STRINGIFY(IFLA_BRIDGE_VLAN_TUNNEL_ID) + IFLA_BRIDGE_VLAN_TUNNEL_VID = XLAT(IFLA_BRIDGE_VLAN_TUNNEL_VID), + #define XLAT_VAL_2 ((unsigned) (IFLA_BRIDGE_VLAN_TUNNEL_VID)) + #define XLAT_STR_2 STRINGIFY(IFLA_BRIDGE_VLAN_TUNNEL_VID) + IFLA_BRIDGE_VLAN_TUNNEL_FLAGS = XLAT(IFLA_BRIDGE_VLAN_TUNNEL_FLAGS), + #define XLAT_VAL_3 ((unsigned) (IFLA_BRIDGE_VLAN_TUNNEL_FLAGS)) + #define XLAT_STR_3 STRINGIFY(IFLA_BRIDGE_VLAN_TUNNEL_FLAGS) +}; +static +const struct xlat rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs1 = { { + .data = rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_bridge_vlan_tunnel_info_attrs.in
Added
@@ -0,0 +1,6 @@ +#unconditional +#value_indexed +IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC 0 +IFLA_BRIDGE_VLAN_TUNNEL_ID 1 +IFLA_BRIDGE_VLAN_TUNNEL_VID 2 +IFLA_BRIDGE_VLAN_TUNNEL_FLAGS 3
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_af_spec_inet6_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_inet6_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -41,6 +42,9 @@ IFLA_INET6_ADDR_GEN_MODE = XLAT(IFLA_INET6_ADDR_GEN_MODE), #define XLAT_VAL_8 ((unsigned) (IFLA_INET6_ADDR_GEN_MODE)) #define XLAT_STR_8 STRINGIFY(IFLA_INET6_ADDR_GEN_MODE) + IFLA_INET6_RA_MTU = XLAT(IFLA_INET6_RA_MTU), + #define XLAT_VAL_9 ((unsigned) (IFLA_INET6_RA_MTU)) + #define XLAT_STR_9 STRINGIFY(IFLA_INET6_RA_MTU) }; static const struct xlat rtnl_ifla_af_spec_inet6_attrs1 = { { @@ -75,6 +79,9 @@ # ifdef XLAT_VAL_8 | XLAT_VAL_8 # endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -104,6 +111,9 @@ # ifdef XLAT_STR_8 + sizeof(XLAT_STR_8) # endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -126,6 +136,8 @@ # undef XLAT_VAL_7 # undef XLAT_STR_8 # undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_af_spec_inet6_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_inet6_attrs.in
Changed
@@ -9,3 +9,4 @@ IFLA_INET6_ICMP6STATS IFLA_INET6_TOKEN IFLA_INET6_ADDR_GEN_MODE +IFLA_INET6_RA_MTU
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_af_spec_inet_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_inet_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_mctp_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_af_spec_mctp_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_MCTP_UNSPEC) == (0), "IFLA_MCTP_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_MCTP_NET) == (1), "IFLA_MCTP_NET != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_af_spec_mctp_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_af_spec_mctp_attrs_xdata = { + IFLA_MCTP_UNSPEC = XLAT(IFLA_MCTP_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_MCTP_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_MCTP_UNSPEC) + IFLA_MCTP_NET = XLAT(IFLA_MCTP_NET), + #define XLAT_VAL_1 ((unsigned) (IFLA_MCTP_NET)) + #define XLAT_STR_1 STRINGIFY(IFLA_MCTP_NET) +}; +static +const struct xlat rtnl_ifla_af_spec_mctp_attrs1 = { { + .data = rtnl_ifla_af_spec_mctp_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_af_spec_mctp_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_af_spec_mctp_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +IFLA_MCTP_UNSPEC 0 +IFLA_MCTP_NET 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_boolopt_flags.h
Added
@@ -0,0 +1,66 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_br_boolopt_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_br_boolopt_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_br_boolopt_flags_xdata = { + XLAT_PAIR(1ULL<<BR_BOOLOPT_NO_LL_LEARN, "1<<BR_BOOLOPT_NO_LL_LEARN"), + #define XLAT_VAL_0 ((unsigned) (1ULL<<BR_BOOLOPT_NO_LL_LEARN)) + #define XLAT_STR_0 "1<<BR_BOOLOPT_NO_LL_LEARN" + XLAT_PAIR(1ULL<<BR_BOOLOPT_MCAST_VLAN_SNOOPING, "1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING"), + #define XLAT_VAL_1 ((unsigned) (1ULL<<BR_BOOLOPT_MCAST_VLAN_SNOOPING)) + #define XLAT_STR_1 "1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + XLAT_PAIR(1ULL<<BR_BOOLOPT_MST_ENABLE, "1<<BR_BOOLOPT_MST_ENABLE"), + #define XLAT_VAL_2 ((unsigned) (1ULL<<BR_BOOLOPT_MST_ENABLE)) + #define XLAT_STR_2 "1<<BR_BOOLOPT_MST_ENABLE" +}; +static +const struct xlat rtnl_ifla_br_boolopt_flags1 = { { + .data = rtnl_ifla_br_boolopt_flags_xdata, + .size = ARRAY_SIZE(rtnl_ifla_br_boolopt_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_boolopt_flags.in
Added
@@ -0,0 +1,4 @@ +#unconditional +1<<BR_BOOLOPT_NO_LL_LEARN +1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING +1<<BR_BOOLOPT_MST_ENABLE
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_boolopts.h
Added
@@ -0,0 +1,75 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_br_boolopts.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BR_BOOLOPT_NO_LL_LEARN) == (0), "BR_BOOLOPT_NO_LL_LEARN != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BR_BOOLOPT_MCAST_VLAN_SNOOPING) == (1), "BR_BOOLOPT_MCAST_VLAN_SNOOPING != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BR_BOOLOPT_MST_ENABLE) == (2), "BR_BOOLOPT_MST_ENABLE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_br_boolopts in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_br_boolopts_xdata = { + BR_BOOLOPT_NO_LL_LEARN = XLAT(BR_BOOLOPT_NO_LL_LEARN), + #define XLAT_VAL_0 ((unsigned) (BR_BOOLOPT_NO_LL_LEARN)) + #define XLAT_STR_0 STRINGIFY(BR_BOOLOPT_NO_LL_LEARN) + BR_BOOLOPT_MCAST_VLAN_SNOOPING = XLAT(BR_BOOLOPT_MCAST_VLAN_SNOOPING), + #define XLAT_VAL_1 ((unsigned) (BR_BOOLOPT_MCAST_VLAN_SNOOPING)) + #define XLAT_STR_1 STRINGIFY(BR_BOOLOPT_MCAST_VLAN_SNOOPING) + BR_BOOLOPT_MST_ENABLE = XLAT(BR_BOOLOPT_MST_ENABLE), + #define XLAT_VAL_2 ((unsigned) (BR_BOOLOPT_MST_ENABLE)) + #define XLAT_STR_2 STRINGIFY(BR_BOOLOPT_MST_ENABLE) +}; +static +const struct xlat rtnl_ifla_br_boolopts1 = { { + .data = rtnl_ifla_br_boolopts_xdata, + .size = ARRAY_SIZE(rtnl_ifla_br_boolopts_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_boolopts.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#value_indexed +BR_BOOLOPT_NO_LL_LEARN 0 +BR_BOOLOPT_MCAST_VLAN_SNOOPING 1 +BR_BOOLOPT_MST_ENABLE 2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_mcast_querier_attrs.h
Added
@@ -0,0 +1,145 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_br_mcast_querier_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_UNSPEC) == (0), "BRIDGE_QUERIER_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IP_ADDRESS) == (1), "BRIDGE_QUERIER_IP_ADDRESS != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IP_PORT) == (2), "BRIDGE_QUERIER_IP_PORT != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IP_OTHER_TIMER) == (3), "BRIDGE_QUERIER_IP_OTHER_TIMER != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_PAD) == (4), "BRIDGE_QUERIER_PAD != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IPV6_ADDRESS) == (5), "BRIDGE_QUERIER_IPV6_ADDRESS != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IPV6_PORT) == (6), "BRIDGE_QUERIER_IPV6_PORT != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_QUERIER_IPV6_OTHER_TIMER) == (7), "BRIDGE_QUERIER_IPV6_OTHER_TIMER != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_br_mcast_querier_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_br_mcast_querier_attrs_xdata = { + BRIDGE_QUERIER_UNSPEC = XLAT(BRIDGE_QUERIER_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (BRIDGE_QUERIER_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(BRIDGE_QUERIER_UNSPEC) + BRIDGE_QUERIER_IP_ADDRESS = XLAT(BRIDGE_QUERIER_IP_ADDRESS), + #define XLAT_VAL_1 ((unsigned) (BRIDGE_QUERIER_IP_ADDRESS)) + #define XLAT_STR_1 STRINGIFY(BRIDGE_QUERIER_IP_ADDRESS) + BRIDGE_QUERIER_IP_PORT = XLAT(BRIDGE_QUERIER_IP_PORT), + #define XLAT_VAL_2 ((unsigned) (BRIDGE_QUERIER_IP_PORT)) + #define XLAT_STR_2 STRINGIFY(BRIDGE_QUERIER_IP_PORT) + BRIDGE_QUERIER_IP_OTHER_TIMER = XLAT(BRIDGE_QUERIER_IP_OTHER_TIMER), + #define XLAT_VAL_3 ((unsigned) (BRIDGE_QUERIER_IP_OTHER_TIMER)) + #define XLAT_STR_3 STRINGIFY(BRIDGE_QUERIER_IP_OTHER_TIMER) + BRIDGE_QUERIER_PAD = XLAT(BRIDGE_QUERIER_PAD), + #define XLAT_VAL_4 ((unsigned) (BRIDGE_QUERIER_PAD)) + #define XLAT_STR_4 STRINGIFY(BRIDGE_QUERIER_PAD) + BRIDGE_QUERIER_IPV6_ADDRESS = XLAT(BRIDGE_QUERIER_IPV6_ADDRESS), + #define XLAT_VAL_5 ((unsigned) (BRIDGE_QUERIER_IPV6_ADDRESS)) + #define XLAT_STR_5 STRINGIFY(BRIDGE_QUERIER_IPV6_ADDRESS) + BRIDGE_QUERIER_IPV6_PORT = XLAT(BRIDGE_QUERIER_IPV6_PORT), + #define XLAT_VAL_6 ((unsigned) (BRIDGE_QUERIER_IPV6_PORT)) + #define XLAT_STR_6 STRINGIFY(BRIDGE_QUERIER_IPV6_PORT) + BRIDGE_QUERIER_IPV6_OTHER_TIMER = XLAT(BRIDGE_QUERIER_IPV6_OTHER_TIMER), + #define XLAT_VAL_7 ((unsigned) (BRIDGE_QUERIER_IPV6_OTHER_TIMER)) + #define XLAT_STR_7 STRINGIFY(BRIDGE_QUERIER_IPV6_OTHER_TIMER) +}; +static +const struct xlat rtnl_ifla_br_mcast_querier_attrs1 = { { + .data = rtnl_ifla_br_mcast_querier_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_br_mcast_querier_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_br_mcast_querier_attrs.in
Added
@@ -0,0 +1,10 @@ +#unconditional +#value_indexed +BRIDGE_QUERIER_UNSPEC 0 +BRIDGE_QUERIER_IP_ADDRESS 1 +BRIDGE_QUERIER_IP_PORT 2 +BRIDGE_QUERIER_IP_OTHER_TIMER 3 +BRIDGE_QUERIER_PAD 4 +BRIDGE_QUERIER_IPV6_ADDRESS 5 +BRIDGE_QUERIER_IPV6_PORT 6 +BRIDGE_QUERIER_IPV6_OTHER_TIMER 7
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_bridge_flags.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_bridge_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_FLAGS_MASTER) == (1), "BRIDGE_FLAGS_MASTER != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_FLAGS_SELF) == (2), "BRIDGE_FLAGS_SELF != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_bridge_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_bridge_flags_xdata = { + XLAT(BRIDGE_FLAGS_MASTER), + #define XLAT_VAL_0 ((unsigned) (BRIDGE_FLAGS_MASTER)) + #define XLAT_STR_0 STRINGIFY(BRIDGE_FLAGS_MASTER) + XLAT(BRIDGE_FLAGS_SELF), + #define XLAT_VAL_1 ((unsigned) (BRIDGE_FLAGS_SELF)) + #define XLAT_STR_1 STRINGIFY(BRIDGE_FLAGS_SELF) +}; +static +const struct xlat rtnl_ifla_bridge_flags1 = { { + .data = rtnl_ifla_bridge_flags_xdata, + .size = ARRAY_SIZE(rtnl_ifla_bridge_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_bridge_flags.in
Added
@@ -0,0 +1,3 @@ +#unconditional +BRIDGE_FLAGS_MASTER 1 +BRIDGE_FLAGS_SELF 2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_bridge_modes.h
Added
@@ -0,0 +1,99 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_bridge_modes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_MODE_VEB) == (0), "BRIDGE_MODE_VEB != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BRIDGE_MODE_VEB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BRIDGE_MODE_VEB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BRIDGE_MODE_VEB) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_MODE_VEPA) == (1), "BRIDGE_MODE_VEPA != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BRIDGE_MODE_VEPA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BRIDGE_MODE_VEPA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BRIDGE_MODE_VEPA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((BRIDGE_MODE_UNDEF) == (0xffff), "BRIDGE_MODE_UNDEF != 0xffff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BRIDGE_MODE_UNDEF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BRIDGE_MODE_UNDEF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BRIDGE_MODE_UNDEF) +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_bridge_modes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_bridge_modes_xdata = { + XLAT(BRIDGE_MODE_VEB), + #define XLAT_VAL_0 ((unsigned) (BRIDGE_MODE_VEB)) + #define XLAT_STR_0 STRINGIFY(BRIDGE_MODE_VEB) + XLAT(BRIDGE_MODE_VEPA), + #define XLAT_VAL_1 ((unsigned) (BRIDGE_MODE_VEPA)) + #define XLAT_STR_1 STRINGIFY(BRIDGE_MODE_VEPA) + XLAT(BRIDGE_MODE_UNDEF), + #define XLAT_VAL_2 ((unsigned) (BRIDGE_MODE_UNDEF)) + #define XLAT_STR_2 STRINGIFY(BRIDGE_MODE_UNDEF) +}; +static +const struct xlat rtnl_ifla_bridge_modes1 = { { + .data = rtnl_ifla_bridge_modes_xdata, + .size = ARRAY_SIZE(rtnl_ifla_bridge_modes_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_bridge_modes.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#sorted +BRIDGE_MODE_VEB 0 +BRIDGE_MODE_VEPA 1 +BRIDGE_MODE_UNDEF 0xffff
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_brport_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_brport_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -131,6 +132,9 @@ IFLA_BRPORT_MCAST_EHT_HOSTS_CNT = XLAT(IFLA_BRPORT_MCAST_EHT_HOSTS_CNT), #define XLAT_VAL_38 ((unsigned) (IFLA_BRPORT_MCAST_EHT_HOSTS_CNT)) #define XLAT_STR_38 STRINGIFY(IFLA_BRPORT_MCAST_EHT_HOSTS_CNT) + IFLA_BRPORT_LOCKED = XLAT(IFLA_BRPORT_LOCKED), + #define XLAT_VAL_39 ((unsigned) (IFLA_BRPORT_LOCKED)) + #define XLAT_STR_39 STRINGIFY(IFLA_BRPORT_LOCKED) }; static const struct xlat rtnl_ifla_brport_attrs1 = { { @@ -255,6 +259,9 @@ # ifdef XLAT_VAL_38 | XLAT_VAL_38 # endif +# ifdef XLAT_VAL_39 + | XLAT_VAL_39 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -374,6 +381,9 @@ # ifdef XLAT_STR_38 + sizeof(XLAT_STR_38) # endif +# ifdef XLAT_STR_39 + + sizeof(XLAT_STR_39) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -456,6 +466,8 @@ # undef XLAT_VAL_37 # undef XLAT_STR_38 # undef XLAT_VAL_38 +# undef XLAT_STR_39 +# undef XLAT_VAL_39 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_brport_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_brport_attrs.in
Changed
@@ -39,3 +39,4 @@ IFLA_BRPORT_MRP_IN_OPEN IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT IFLA_BRPORT_MCAST_EHT_HOSTS_CNT +IFLA_BRPORT_LOCKED
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_events.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_events.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_ext_filter_flags.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_ext_filter_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_VF) == ((1 << 0)), "RTEXT_FILTER_VF != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_BRVLAN) == ((1 << 1)), "RTEXT_FILTER_BRVLAN != (1 << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_BRVLAN_COMPRESSED) == ((1 << 2)), "RTEXT_FILTER_BRVLAN_COMPRESSED != (1 << 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_SKIP_STATS) == ((1 << 3)), "RTEXT_FILTER_SKIP_STATS != (1 << 3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_MRP) == ((1 << 4)), "RTEXT_FILTER_MRP != (1 << 4)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_CFM_CONFIG) == ((1 << 5)), "RTEXT_FILTER_CFM_CONFIG != (1 << 5)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((RTEXT_FILTER_CFM_STATUS) == ((1 << 6)), "RTEXT_FILTER_CFM_STATUS != (1 << 6)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_ext_filter_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_ext_filter_flags_xdata = { + XLAT(RTEXT_FILTER_VF), + #define XLAT_VAL_0 ((unsigned) (RTEXT_FILTER_VF)) + #define XLAT_STR_0 STRINGIFY(RTEXT_FILTER_VF) + XLAT(RTEXT_FILTER_BRVLAN), + #define XLAT_VAL_1 ((unsigned) (RTEXT_FILTER_BRVLAN)) + #define XLAT_STR_1 STRINGIFY(RTEXT_FILTER_BRVLAN) + XLAT(RTEXT_FILTER_BRVLAN_COMPRESSED), + #define XLAT_VAL_2 ((unsigned) (RTEXT_FILTER_BRVLAN_COMPRESSED)) + #define XLAT_STR_2 STRINGIFY(RTEXT_FILTER_BRVLAN_COMPRESSED) + XLAT(RTEXT_FILTER_SKIP_STATS), + #define XLAT_VAL_3 ((unsigned) (RTEXT_FILTER_SKIP_STATS)) + #define XLAT_STR_3 STRINGIFY(RTEXT_FILTER_SKIP_STATS) + XLAT(RTEXT_FILTER_MRP), + #define XLAT_VAL_4 ((unsigned) (RTEXT_FILTER_MRP)) + #define XLAT_STR_4 STRINGIFY(RTEXT_FILTER_MRP) + XLAT(RTEXT_FILTER_CFM_CONFIG), + #define XLAT_VAL_5 ((unsigned) (RTEXT_FILTER_CFM_CONFIG)) + #define XLAT_STR_5 STRINGIFY(RTEXT_FILTER_CFM_CONFIG) + XLAT(RTEXT_FILTER_CFM_STATUS), + #define XLAT_VAL_6 ((unsigned) (RTEXT_FILTER_CFM_STATUS)) + #define XLAT_STR_6 STRINGIFY(RTEXT_FILTER_CFM_STATUS) +}; +static +const struct xlat rtnl_ifla_ext_filter_flags1 = { { + .data = rtnl_ifla_ext_filter_flags_xdata, + .size = ARRAY_SIZE(rtnl_ifla_ext_filter_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_ext_filter_flags.in
Added
@@ -0,0 +1,8 @@ +#unconditional +RTEXT_FILTER_VF (1 << 0) +RTEXT_FILTER_BRVLAN (1 << 1) +RTEXT_FILTER_BRVLAN_COMPRESSED (1 << 2) +RTEXT_FILTER_SKIP_STATS (1 << 3) +RTEXT_FILTER_MRP (1 << 4) +RTEXT_FILTER_CFM_CONFIG (1 << 5) +RTEXT_FILTER_CFM_STATUS (1 << 6)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_info_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_info_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_info_data_bridge_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_info_data_bridge_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -155,6 +156,9 @@ IFLA_BR_MULTI_BOOLOPT = XLAT(IFLA_BR_MULTI_BOOLOPT), #define XLAT_VAL_46 ((unsigned) (IFLA_BR_MULTI_BOOLOPT)) #define XLAT_STR_46 STRINGIFY(IFLA_BR_MULTI_BOOLOPT) + IFLA_BR_MCAST_QUERIER_STATE = XLAT(IFLA_BR_MCAST_QUERIER_STATE), + #define XLAT_VAL_47 ((unsigned) (IFLA_BR_MCAST_QUERIER_STATE)) + #define XLAT_STR_47 STRINGIFY(IFLA_BR_MCAST_QUERIER_STATE) }; static const struct xlat rtnl_ifla_info_data_bridge_attrs1 = { { @@ -303,6 +307,9 @@ # ifdef XLAT_VAL_46 | XLAT_VAL_46 # endif +# ifdef XLAT_VAL_47 + | XLAT_VAL_47 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -446,6 +453,9 @@ # ifdef XLAT_STR_46 + sizeof(XLAT_STR_46) # endif +# ifdef XLAT_STR_47 + + sizeof(XLAT_STR_47) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -544,6 +554,8 @@ # undef XLAT_VAL_45 # undef XLAT_STR_46 # undef XLAT_VAL_46 +# undef XLAT_STR_47 +# undef XLAT_VAL_47 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_info_data_bridge_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_info_data_bridge_attrs.in
Changed
@@ -47,3 +47,4 @@ IFLA_BR_MCAST_MLD_VERSION IFLA_BR_VLAN_STATS_PER_PORT IFLA_BR_MULTI_BOOLOPT +IFLA_BR_MCAST_QUERIER_STATE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_info_data_tun_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_info_data_tun_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_port_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_port_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_proto_down_reason_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_proto_down_reason_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_info_attrs.h
Added
@@ -0,0 +1,229 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_vf_info_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_UNSPEC) == (0), "IFLA_VF_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_MAC) == (1), "IFLA_VF_MAC != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_VLAN) == (2), "IFLA_VF_VLAN != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_TX_RATE) == (3), "IFLA_VF_TX_RATE != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_SPOOFCHK) == (4), "IFLA_VF_SPOOFCHK != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_LINK_STATE) == (5), "IFLA_VF_LINK_STATE != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_RATE) == (6), "IFLA_VF_RATE != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_RSS_QUERY_EN) == (7), "IFLA_VF_RSS_QUERY_EN != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS) == (8), "IFLA_VF_STATS != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_TRUST) == (9), "IFLA_VF_TRUST != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_IB_NODE_GUID) == (10), "IFLA_VF_IB_NODE_GUID != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_IB_PORT_GUID) == (11), "IFLA_VF_IB_PORT_GUID != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_VLAN_LIST) == (12), "IFLA_VF_VLAN_LIST != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_BROADCAST) == (13), "IFLA_VF_BROADCAST != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_vf_info_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_vf_info_attrs_xdata = { + IFLA_VF_UNSPEC = XLAT(IFLA_VF_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_VF_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_VF_UNSPEC) + IFLA_VF_MAC = XLAT(IFLA_VF_MAC), + #define XLAT_VAL_1 ((unsigned) (IFLA_VF_MAC)) + #define XLAT_STR_1 STRINGIFY(IFLA_VF_MAC) + IFLA_VF_VLAN = XLAT(IFLA_VF_VLAN), + #define XLAT_VAL_2 ((unsigned) (IFLA_VF_VLAN)) + #define XLAT_STR_2 STRINGIFY(IFLA_VF_VLAN) + IFLA_VF_TX_RATE = XLAT(IFLA_VF_TX_RATE), + #define XLAT_VAL_3 ((unsigned) (IFLA_VF_TX_RATE)) + #define XLAT_STR_3 STRINGIFY(IFLA_VF_TX_RATE) + IFLA_VF_SPOOFCHK = XLAT(IFLA_VF_SPOOFCHK), + #define XLAT_VAL_4 ((unsigned) (IFLA_VF_SPOOFCHK)) + #define XLAT_STR_4 STRINGIFY(IFLA_VF_SPOOFCHK) + IFLA_VF_LINK_STATE = XLAT(IFLA_VF_LINK_STATE), + #define XLAT_VAL_5 ((unsigned) (IFLA_VF_LINK_STATE)) + #define XLAT_STR_5 STRINGIFY(IFLA_VF_LINK_STATE) + IFLA_VF_RATE = XLAT(IFLA_VF_RATE), + #define XLAT_VAL_6 ((unsigned) (IFLA_VF_RATE)) + #define XLAT_STR_6 STRINGIFY(IFLA_VF_RATE) + IFLA_VF_RSS_QUERY_EN = XLAT(IFLA_VF_RSS_QUERY_EN), + #define XLAT_VAL_7 ((unsigned) (IFLA_VF_RSS_QUERY_EN)) + #define XLAT_STR_7 STRINGIFY(IFLA_VF_RSS_QUERY_EN) + IFLA_VF_STATS = XLAT(IFLA_VF_STATS), + #define XLAT_VAL_8 ((unsigned) (IFLA_VF_STATS)) + #define XLAT_STR_8 STRINGIFY(IFLA_VF_STATS) + IFLA_VF_TRUST = XLAT(IFLA_VF_TRUST), + #define XLAT_VAL_9 ((unsigned) (IFLA_VF_TRUST)) + #define XLAT_STR_9 STRINGIFY(IFLA_VF_TRUST) + IFLA_VF_IB_NODE_GUID = XLAT(IFLA_VF_IB_NODE_GUID), + #define XLAT_VAL_10 ((unsigned) (IFLA_VF_IB_NODE_GUID)) + #define XLAT_STR_10 STRINGIFY(IFLA_VF_IB_NODE_GUID) + IFLA_VF_IB_PORT_GUID = XLAT(IFLA_VF_IB_PORT_GUID), + #define XLAT_VAL_11 ((unsigned) (IFLA_VF_IB_PORT_GUID)) + #define XLAT_STR_11 STRINGIFY(IFLA_VF_IB_PORT_GUID) + IFLA_VF_VLAN_LIST = XLAT(IFLA_VF_VLAN_LIST), + #define XLAT_VAL_12 ((unsigned) (IFLA_VF_VLAN_LIST)) + #define XLAT_STR_12 STRINGIFY(IFLA_VF_VLAN_LIST) + IFLA_VF_BROADCAST = XLAT(IFLA_VF_BROADCAST), + #define XLAT_VAL_13 ((unsigned) (IFLA_VF_BROADCAST)) + #define XLAT_STR_13 STRINGIFY(IFLA_VF_BROADCAST) +}; +static +const struct xlat rtnl_ifla_vf_info_attrs1 = { { + .data = rtnl_ifla_vf_info_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_vf_info_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_info_attrs.in
Added
@@ -0,0 +1,16 @@ +#unconditional +#value_indexed +IFLA_VF_UNSPEC 0 +IFLA_VF_MAC 1 +IFLA_VF_VLAN 2 +IFLA_VF_TX_RATE 3 +IFLA_VF_SPOOFCHK 4 +IFLA_VF_LINK_STATE 5 +IFLA_VF_RATE 6 +IFLA_VF_RSS_QUERY_EN 7 +IFLA_VF_STATS 8 +IFLA_VF_TRUST 9 +IFLA_VF_IB_NODE_GUID 10 +IFLA_VF_IB_PORT_GUID 11 +IFLA_VF_VLAN_LIST 12 +IFLA_VF_BROADCAST 13
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_link_states.h
Added
@@ -0,0 +1,75 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_vf_link_states.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_LINK_STATE_AUTO) == (0), "IFLA_VF_LINK_STATE_AUTO != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_LINK_STATE_ENABLE) == (1), "IFLA_VF_LINK_STATE_ENABLE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_LINK_STATE_DISABLE) == (2), "IFLA_VF_LINK_STATE_DISABLE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_vf_link_states in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_vf_link_states_xdata = { + IFLA_VF_LINK_STATE_AUTO = XLAT(IFLA_VF_LINK_STATE_AUTO), + #define XLAT_VAL_0 ((unsigned) (IFLA_VF_LINK_STATE_AUTO)) + #define XLAT_STR_0 STRINGIFY(IFLA_VF_LINK_STATE_AUTO) + IFLA_VF_LINK_STATE_ENABLE = XLAT(IFLA_VF_LINK_STATE_ENABLE), + #define XLAT_VAL_1 ((unsigned) (IFLA_VF_LINK_STATE_ENABLE)) + #define XLAT_STR_1 STRINGIFY(IFLA_VF_LINK_STATE_ENABLE) + IFLA_VF_LINK_STATE_DISABLE = XLAT(IFLA_VF_LINK_STATE_DISABLE), + #define XLAT_VAL_2 ((unsigned) (IFLA_VF_LINK_STATE_DISABLE)) + #define XLAT_STR_2 STRINGIFY(IFLA_VF_LINK_STATE_DISABLE) +}; +static +const struct xlat rtnl_ifla_vf_link_states1 = { { + .data = rtnl_ifla_vf_link_states_xdata, + .size = ARRAY_SIZE(rtnl_ifla_vf_link_states_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_link_states.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#value_indexed +IFLA_VF_LINK_STATE_AUTO 0 +IFLA_VF_LINK_STATE_ENABLE 1 +IFLA_VF_LINK_STATE_DISABLE 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_vf_port_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_port_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_stats_attrs.h
Added
@@ -0,0 +1,159 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_vf_stats_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_RX_PACKETS) == (0), "IFLA_VF_STATS_RX_PACKETS != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_TX_PACKETS) == (1), "IFLA_VF_STATS_TX_PACKETS != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_RX_BYTES) == (2), "IFLA_VF_STATS_RX_BYTES != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_TX_BYTES) == (3), "IFLA_VF_STATS_TX_BYTES != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_BROADCAST) == (4), "IFLA_VF_STATS_BROADCAST != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_MULTICAST) == (5), "IFLA_VF_STATS_MULTICAST != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_PAD) == (6), "IFLA_VF_STATS_PAD != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_RX_DROPPED) == (7), "IFLA_VF_STATS_RX_DROPPED != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_STATS_TX_DROPPED) == (8), "IFLA_VF_STATS_TX_DROPPED != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_vf_stats_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_vf_stats_attrs_xdata = { + IFLA_VF_STATS_RX_PACKETS = XLAT(IFLA_VF_STATS_RX_PACKETS), + #define XLAT_VAL_0 ((unsigned) (IFLA_VF_STATS_RX_PACKETS)) + #define XLAT_STR_0 STRINGIFY(IFLA_VF_STATS_RX_PACKETS) + IFLA_VF_STATS_TX_PACKETS = XLAT(IFLA_VF_STATS_TX_PACKETS), + #define XLAT_VAL_1 ((unsigned) (IFLA_VF_STATS_TX_PACKETS)) + #define XLAT_STR_1 STRINGIFY(IFLA_VF_STATS_TX_PACKETS) + IFLA_VF_STATS_RX_BYTES = XLAT(IFLA_VF_STATS_RX_BYTES), + #define XLAT_VAL_2 ((unsigned) (IFLA_VF_STATS_RX_BYTES)) + #define XLAT_STR_2 STRINGIFY(IFLA_VF_STATS_RX_BYTES) + IFLA_VF_STATS_TX_BYTES = XLAT(IFLA_VF_STATS_TX_BYTES), + #define XLAT_VAL_3 ((unsigned) (IFLA_VF_STATS_TX_BYTES)) + #define XLAT_STR_3 STRINGIFY(IFLA_VF_STATS_TX_BYTES) + IFLA_VF_STATS_BROADCAST = XLAT(IFLA_VF_STATS_BROADCAST), + #define XLAT_VAL_4 ((unsigned) (IFLA_VF_STATS_BROADCAST)) + #define XLAT_STR_4 STRINGIFY(IFLA_VF_STATS_BROADCAST) + IFLA_VF_STATS_MULTICAST = XLAT(IFLA_VF_STATS_MULTICAST), + #define XLAT_VAL_5 ((unsigned) (IFLA_VF_STATS_MULTICAST)) + #define XLAT_STR_5 STRINGIFY(IFLA_VF_STATS_MULTICAST) + IFLA_VF_STATS_PAD = XLAT(IFLA_VF_STATS_PAD), + #define XLAT_VAL_6 ((unsigned) (IFLA_VF_STATS_PAD)) + #define XLAT_STR_6 STRINGIFY(IFLA_VF_STATS_PAD) + IFLA_VF_STATS_RX_DROPPED = XLAT(IFLA_VF_STATS_RX_DROPPED), + #define XLAT_VAL_7 ((unsigned) (IFLA_VF_STATS_RX_DROPPED)) + #define XLAT_STR_7 STRINGIFY(IFLA_VF_STATS_RX_DROPPED) + IFLA_VF_STATS_TX_DROPPED = XLAT(IFLA_VF_STATS_TX_DROPPED), + #define XLAT_VAL_8 ((unsigned) (IFLA_VF_STATS_TX_DROPPED)) + #define XLAT_STR_8 STRINGIFY(IFLA_VF_STATS_TX_DROPPED) +}; +static +const struct xlat rtnl_ifla_vf_stats_attrs1 = { { + .data = rtnl_ifla_vf_stats_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_vf_stats_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_stats_attrs.in
Added
@@ -0,0 +1,11 @@ +#unconditional +#value_indexed +IFLA_VF_STATS_RX_PACKETS 0 +IFLA_VF_STATS_TX_PACKETS 1 +IFLA_VF_STATS_RX_BYTES 2 +IFLA_VF_STATS_TX_BYTES 3 +IFLA_VF_STATS_BROADCAST 4 +IFLA_VF_STATS_MULTICAST 5 +IFLA_VF_STATS_PAD 6 +IFLA_VF_STATS_RX_DROPPED 7 +IFLA_VF_STATS_TX_DROPPED 8
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_vlan_list_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_vf_vlan_list_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_VLAN_INFO_UNSPEC) == (0), "IFLA_VF_VLAN_INFO_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_VLAN_INFO) == (1), "IFLA_VF_VLAN_INFO != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_vf_vlan_list_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_vf_vlan_list_attrs_xdata = { + IFLA_VF_VLAN_INFO_UNSPEC = XLAT(IFLA_VF_VLAN_INFO_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_VF_VLAN_INFO_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_VF_VLAN_INFO_UNSPEC) + IFLA_VF_VLAN_INFO = XLAT(IFLA_VF_VLAN_INFO), + #define XLAT_VAL_1 ((unsigned) (IFLA_VF_VLAN_INFO)) + #define XLAT_STR_1 STRINGIFY(IFLA_VF_VLAN_INFO) +}; +static +const struct xlat rtnl_ifla_vf_vlan_list_attrs1 = { { + .data = rtnl_ifla_vf_vlan_list_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_vf_vlan_list_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vf_vlan_list_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +IFLA_VF_VLAN_INFO_UNSPEC 0 +IFLA_VF_VLAN_INFO 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vfinfo_list_attrs.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ifla_vfinfo_list_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_INFO_UNSPEC) == (0), "IFLA_VF_INFO_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IFLA_VF_INFO) == (1), "IFLA_VF_INFO != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ifla_vfinfo_list_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ifla_vfinfo_list_attrs_xdata = { + IFLA_VF_INFO_UNSPEC = XLAT(IFLA_VF_INFO_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IFLA_VF_INFO_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IFLA_VF_INFO_UNSPEC) + IFLA_VF_INFO = XLAT(IFLA_VF_INFO), + #define XLAT_VAL_1 ((unsigned) (IFLA_VF_INFO)) + #define XLAT_STR_1 STRINGIFY(IFLA_VF_INFO) +}; +static +const struct xlat rtnl_ifla_vfinfo_list_attrs1 = { { + .data = rtnl_ifla_vfinfo_list_attrs_xdata, + .size = ARRAY_SIZE(rtnl_ifla_vfinfo_list_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_vfinfo_list_attrs.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +IFLA_VF_INFO_UNSPEC 0 +IFLA_VF_INFO 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_xdp_attached_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_xdp_attached_mode.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_ifla_xdp_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ifla_xdp_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ip6mra_creport_attr.h
Added
@@ -0,0 +1,117 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ip6mra_creport_attr.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_UNSPEC) == (0), "IP6MRA_CREPORT_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_MSGTYPE) == (1), "IP6MRA_CREPORT_MSGTYPE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_MIF_ID) == (2), "IP6MRA_CREPORT_MIF_ID != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_SRC_ADDR) == (3), "IP6MRA_CREPORT_SRC_ADDR != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_DST_ADDR) == (4), "IP6MRA_CREPORT_DST_ADDR != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP6MRA_CREPORT_PKT) == (5), "IP6MRA_CREPORT_PKT != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ip6mra_creport_attr in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ip6mra_creport_attr_xdata = { + IP6MRA_CREPORT_UNSPEC = XLAT(IP6MRA_CREPORT_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IP6MRA_CREPORT_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IP6MRA_CREPORT_UNSPEC) + IP6MRA_CREPORT_MSGTYPE = XLAT(IP6MRA_CREPORT_MSGTYPE), + #define XLAT_VAL_1 ((unsigned) (IP6MRA_CREPORT_MSGTYPE)) + #define XLAT_STR_1 STRINGIFY(IP6MRA_CREPORT_MSGTYPE) + IP6MRA_CREPORT_MIF_ID = XLAT(IP6MRA_CREPORT_MIF_ID), + #define XLAT_VAL_2 ((unsigned) (IP6MRA_CREPORT_MIF_ID)) + #define XLAT_STR_2 STRINGIFY(IP6MRA_CREPORT_MIF_ID) + IP6MRA_CREPORT_SRC_ADDR = XLAT(IP6MRA_CREPORT_SRC_ADDR), + #define XLAT_VAL_3 ((unsigned) (IP6MRA_CREPORT_SRC_ADDR)) + #define XLAT_STR_3 STRINGIFY(IP6MRA_CREPORT_SRC_ADDR) + IP6MRA_CREPORT_DST_ADDR = XLAT(IP6MRA_CREPORT_DST_ADDR), + #define XLAT_VAL_4 ((unsigned) (IP6MRA_CREPORT_DST_ADDR)) + #define XLAT_STR_4 STRINGIFY(IP6MRA_CREPORT_DST_ADDR) + IP6MRA_CREPORT_PKT = XLAT(IP6MRA_CREPORT_PKT), + #define XLAT_VAL_5 ((unsigned) (IP6MRA_CREPORT_PKT)) + #define XLAT_STR_5 STRINGIFY(IP6MRA_CREPORT_PKT) +}; +static +const struct xlat rtnl_ip6mra_creport_attr1 = { { + .data = rtnl_ip6mra_creport_attr_xdata, + .size = ARRAY_SIZE(rtnl_ip6mra_creport_attr_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ip6mra_creport_attr.in
Added
@@ -0,0 +1,8 @@ +#unconditional +#value_indexed +IP6MRA_CREPORT_UNSPEC 0 +IP6MRA_CREPORT_MSGTYPE 1 +IP6MRA_CREPORT_MIF_ID 2 +IP6MRA_CREPORT_SRC_ADDR 3 +IP6MRA_CREPORT_DST_ADDR 4 +IP6MRA_CREPORT_PKT 5
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ip6mra_msg_types.h
Added
@@ -0,0 +1,75 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ip6mra_msg_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MRT6MSG_NOCACHE) == (1), "MRT6MSG_NOCACHE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MRT6MSG_WRONGMIF) == (2), "MRT6MSG_WRONGMIF != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MRT6MSG_WHOLEPKT) == (3), "MRT6MSG_WHOLEPKT != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ip6mra_msg_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ip6mra_msg_types_xdata = { + MRT6MSG_NOCACHE = XLAT(MRT6MSG_NOCACHE), + #define XLAT_VAL_0 ((unsigned) (MRT6MSG_NOCACHE)) + #define XLAT_STR_0 STRINGIFY(MRT6MSG_NOCACHE) + MRT6MSG_WRONGMIF = XLAT(MRT6MSG_WRONGMIF), + #define XLAT_VAL_1 ((unsigned) (MRT6MSG_WRONGMIF)) + #define XLAT_STR_1 STRINGIFY(MRT6MSG_WRONGMIF) + MRT6MSG_WHOLEPKT = XLAT(MRT6MSG_WHOLEPKT), + #define XLAT_VAL_2 ((unsigned) (MRT6MSG_WHOLEPKT)) + #define XLAT_STR_2 STRINGIFY(MRT6MSG_WHOLEPKT) +}; +static +const struct xlat rtnl_ip6mra_msg_types1 = { { + .data = rtnl_ip6mra_msg_types_xdata, + .size = ARRAY_SIZE(rtnl_ip6mra_msg_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ip6mra_msg_types.in
Added
@@ -0,0 +1,5 @@ +#unconditional +#value_indexed +MRT6MSG_NOCACHE 1 +MRT6MSG_WRONGMIF 2 +MRT6MSG_WHOLEPKT 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ipmra_creport_attr.h
Added
@@ -0,0 +1,131 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ipmra_creport_attr.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_UNSPEC) == (0), "IPMRA_CREPORT_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_MSGTYPE) == (1), "IPMRA_CREPORT_MSGTYPE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_VIF_ID) == (2), "IPMRA_CREPORT_VIF_ID != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_SRC_ADDR) == (3), "IPMRA_CREPORT_SRC_ADDR != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_DST_ADDR) == (4), "IPMRA_CREPORT_DST_ADDR != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_PKT) == (5), "IPMRA_CREPORT_PKT != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPMRA_CREPORT_TABLE) == (6), "IPMRA_CREPORT_TABLE != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ipmra_creport_attr in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ipmra_creport_attr_xdata = { + IPMRA_CREPORT_UNSPEC = XLAT(IPMRA_CREPORT_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (IPMRA_CREPORT_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(IPMRA_CREPORT_UNSPEC) + IPMRA_CREPORT_MSGTYPE = XLAT(IPMRA_CREPORT_MSGTYPE), + #define XLAT_VAL_1 ((unsigned) (IPMRA_CREPORT_MSGTYPE)) + #define XLAT_STR_1 STRINGIFY(IPMRA_CREPORT_MSGTYPE) + IPMRA_CREPORT_VIF_ID = XLAT(IPMRA_CREPORT_VIF_ID), + #define XLAT_VAL_2 ((unsigned) (IPMRA_CREPORT_VIF_ID)) + #define XLAT_STR_2 STRINGIFY(IPMRA_CREPORT_VIF_ID) + IPMRA_CREPORT_SRC_ADDR = XLAT(IPMRA_CREPORT_SRC_ADDR), + #define XLAT_VAL_3 ((unsigned) (IPMRA_CREPORT_SRC_ADDR)) + #define XLAT_STR_3 STRINGIFY(IPMRA_CREPORT_SRC_ADDR) + IPMRA_CREPORT_DST_ADDR = XLAT(IPMRA_CREPORT_DST_ADDR), + #define XLAT_VAL_4 ((unsigned) (IPMRA_CREPORT_DST_ADDR)) + #define XLAT_STR_4 STRINGIFY(IPMRA_CREPORT_DST_ADDR) + IPMRA_CREPORT_PKT = XLAT(IPMRA_CREPORT_PKT), + #define XLAT_VAL_5 ((unsigned) (IPMRA_CREPORT_PKT)) + #define XLAT_STR_5 STRINGIFY(IPMRA_CREPORT_PKT) + IPMRA_CREPORT_TABLE = XLAT(IPMRA_CREPORT_TABLE), + #define XLAT_VAL_6 ((unsigned) (IPMRA_CREPORT_TABLE)) + #define XLAT_STR_6 STRINGIFY(IPMRA_CREPORT_TABLE) +}; +static +const struct xlat rtnl_ipmra_creport_attr1 = { { + .data = rtnl_ipmra_creport_attr_xdata, + .size = ARRAY_SIZE(rtnl_ipmra_creport_attr_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ipmra_creport_attr.in
Added
@@ -0,0 +1,9 @@ +#unconditional +#value_indexed +IPMRA_CREPORT_UNSPEC 0 +IPMRA_CREPORT_MSGTYPE 1 +IPMRA_CREPORT_VIF_ID 2 +IPMRA_CREPORT_SRC_ADDR 3 +IPMRA_CREPORT_DST_ADDR 4 +IPMRA_CREPORT_PKT 5 +IPMRA_CREPORT_TABLE 6
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ipmra_msg_types.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_ipmra_msg_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IGMPMSG_NOCACHE) == (1), "IGMPMSG_NOCACHE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IGMPMSG_WRONGVIF) == (2), "IGMPMSG_WRONGVIF != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IGMPMSG_WHOLEPKT) == (3), "IGMPMSG_WHOLEPKT != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IGMPMSG_WRVIFWHOLE) == (4), "IGMPMSG_WRVIFWHOLE != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_ipmra_msg_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_ipmra_msg_types_xdata = { + IGMPMSG_NOCACHE = XLAT(IGMPMSG_NOCACHE), + #define XLAT_VAL_0 ((unsigned) (IGMPMSG_NOCACHE)) + #define XLAT_STR_0 STRINGIFY(IGMPMSG_NOCACHE) + IGMPMSG_WRONGVIF = XLAT(IGMPMSG_WRONGVIF), + #define XLAT_VAL_1 ((unsigned) (IGMPMSG_WRONGVIF)) + #define XLAT_STR_1 STRINGIFY(IGMPMSG_WRONGVIF) + IGMPMSG_WHOLEPKT = XLAT(IGMPMSG_WHOLEPKT), + #define XLAT_VAL_2 ((unsigned) (IGMPMSG_WHOLEPKT)) + #define XLAT_STR_2 STRINGIFY(IGMPMSG_WHOLEPKT) + IGMPMSG_WRVIFWHOLE = XLAT(IGMPMSG_WRVIFWHOLE), + #define XLAT_VAL_3 ((unsigned) (IGMPMSG_WRVIFWHOLE)) + #define XLAT_STR_3 STRINGIFY(IGMPMSG_WRVIFWHOLE) +}; +static +const struct xlat rtnl_ipmra_msg_types1 = { { + .data = rtnl_ipmra_msg_types_xdata, + .size = ARRAY_SIZE(rtnl_ipmra_msg_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_ipmra_msg_types.in
Added
@@ -0,0 +1,6 @@ +#unconditional +#value_indexed +IGMPMSG_NOCACHE 1 +IGMPMSG_WRONGVIF 2 +IGMPMSG_WHOLEPKT 3 +IGMPMSG_WRVIFWHOLE 4
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_link_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_link_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -188,6 +189,18 @@ IFLA_PARENT_DEV_BUS_NAME = XLAT(IFLA_PARENT_DEV_BUS_NAME), #define XLAT_VAL_57 ((unsigned) (IFLA_PARENT_DEV_BUS_NAME)) #define XLAT_STR_57 STRINGIFY(IFLA_PARENT_DEV_BUS_NAME) + IFLA_GRO_MAX_SIZE = XLAT(IFLA_GRO_MAX_SIZE), + #define XLAT_VAL_58 ((unsigned) (IFLA_GRO_MAX_SIZE)) + #define XLAT_STR_58 STRINGIFY(IFLA_GRO_MAX_SIZE) + IFLA_TSO_MAX_SIZE = XLAT(IFLA_TSO_MAX_SIZE), + #define XLAT_VAL_59 ((unsigned) (IFLA_TSO_MAX_SIZE)) + #define XLAT_STR_59 STRINGIFY(IFLA_TSO_MAX_SIZE) + IFLA_TSO_MAX_SEGS = XLAT(IFLA_TSO_MAX_SEGS), + #define XLAT_VAL_60 ((unsigned) (IFLA_TSO_MAX_SEGS)) + #define XLAT_STR_60 STRINGIFY(IFLA_TSO_MAX_SEGS) + IFLA_ALLMULTI = XLAT(IFLA_ALLMULTI), + #define XLAT_VAL_61 ((unsigned) (IFLA_ALLMULTI)) + #define XLAT_STR_61 STRINGIFY(IFLA_ALLMULTI) }; static const struct xlat rtnl_link_attrs1 = { { @@ -369,6 +382,18 @@ # ifdef XLAT_VAL_57 | XLAT_VAL_57 # endif +# ifdef XLAT_VAL_58 + | XLAT_VAL_58 +# endif +# ifdef XLAT_VAL_59 + | XLAT_VAL_59 +# endif +# ifdef XLAT_VAL_60 + | XLAT_VAL_60 +# endif +# ifdef XLAT_VAL_61 + | XLAT_VAL_61 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -545,6 +570,18 @@ # ifdef XLAT_STR_57 + sizeof(XLAT_STR_57) # endif +# ifdef XLAT_STR_58 + + sizeof(XLAT_STR_58) +# endif +# ifdef XLAT_STR_59 + + sizeof(XLAT_STR_59) +# endif +# ifdef XLAT_STR_60 + + sizeof(XLAT_STR_60) +# endif +# ifdef XLAT_STR_61 + + sizeof(XLAT_STR_61) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -665,6 +702,14 @@ # undef XLAT_VAL_56 # undef XLAT_STR_57 # undef XLAT_VAL_57 +# undef XLAT_STR_58 +# undef XLAT_VAL_58 +# undef XLAT_STR_59 +# undef XLAT_VAL_59 +# undef XLAT_STR_60 +# undef XLAT_VAL_60 +# undef XLAT_STR_61 +# undef XLAT_VAL_61 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_link_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_link_attrs.in
Changed
@@ -58,3 +58,7 @@ IFLA_PROTO_DOWN_REASON IFLA_PARENT_DEV_NAME IFLA_PARENT_DEV_BUS_NAME +IFLA_GRO_MAX_SIZE +IFLA_TSO_MAX_SIZE +IFLA_TSO_MAX_SEGS +IFLA_ALLMULTI
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdb_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdb_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdba_mdb_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdba_mdb_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdba_mdb_eattr_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdba_mdb_eattr_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdba_mdb_entry_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdba_mdb_entry_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdba_router_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdba_router_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_mdba_router_pattr_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_mdba_router_pattr_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_neigh_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neigh_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -59,6 +60,15 @@ NDA_FDB_EXT_ATTRS = XLAT(NDA_FDB_EXT_ATTRS), #define XLAT_VAL_14 ((unsigned) (NDA_FDB_EXT_ATTRS)) #define XLAT_STR_14 STRINGIFY(NDA_FDB_EXT_ATTRS) + NDA_FLAGS_EXT = XLAT(NDA_FLAGS_EXT), + #define XLAT_VAL_15 ((unsigned) (NDA_FLAGS_EXT)) + #define XLAT_STR_15 STRINGIFY(NDA_FLAGS_EXT) + NDA_NDM_STATE_MASK = XLAT(NDA_NDM_STATE_MASK), + #define XLAT_VAL_16 ((unsigned) (NDA_NDM_STATE_MASK)) + #define XLAT_STR_16 STRINGIFY(NDA_NDM_STATE_MASK) + NDA_NDM_FLAGS_MASK = XLAT(NDA_NDM_FLAGS_MASK), + #define XLAT_VAL_17 ((unsigned) (NDA_NDM_FLAGS_MASK)) + #define XLAT_STR_17 STRINGIFY(NDA_NDM_FLAGS_MASK) }; static const struct xlat rtnl_neigh_attrs1 = { { @@ -111,6 +121,15 @@ # ifdef XLAT_VAL_14 | XLAT_VAL_14 # endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -158,6 +177,15 @@ # ifdef XLAT_STR_14 + sizeof(XLAT_STR_14) # endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -192,6 +220,12 @@ # undef XLAT_VAL_13 # undef XLAT_STR_14 # undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_neigh_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neigh_attrs.in
Changed
@@ -15,3 +15,6 @@ NDA_PROTOCOL NDA_NH_ID NDA_FDB_EXT_ATTRS +NDA_FLAGS_EXT +NDA_NDM_STATE_MASK +NDA_NDM_FLAGS_MASK
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neigh_fdb_ext_attrs.h
Added
@@ -0,0 +1,87 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_neigh_fdb_ext_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(NFEA_UNSPEC) || (defined(HAVE_DECL_NFEA_UNSPEC) && HAVE_DECL_NFEA_UNSPEC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFEA_UNSPEC) == (0), "NFEA_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NFEA_UNSPEC 0 +#endif +#if defined(NFEA_ACTIVITY_NOTIFY) || (defined(HAVE_DECL_NFEA_ACTIVITY_NOTIFY) && HAVE_DECL_NFEA_ACTIVITY_NOTIFY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFEA_ACTIVITY_NOTIFY) == (1), "NFEA_ACTIVITY_NOTIFY != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NFEA_ACTIVITY_NOTIFY 1 +#endif +#if defined(NFEA_DONT_REFRESH) || (defined(HAVE_DECL_NFEA_DONT_REFRESH) && HAVE_DECL_NFEA_DONT_REFRESH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NFEA_DONT_REFRESH) == (2), "NFEA_DONT_REFRESH != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NFEA_DONT_REFRESH 2 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_neigh_fdb_ext_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_neigh_fdb_ext_attrs_xdata = { + NFEA_UNSPEC = XLAT(NFEA_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (NFEA_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(NFEA_UNSPEC) + NFEA_ACTIVITY_NOTIFY = XLAT(NFEA_ACTIVITY_NOTIFY), + #define XLAT_VAL_1 ((unsigned) (NFEA_ACTIVITY_NOTIFY)) + #define XLAT_STR_1 STRINGIFY(NFEA_ACTIVITY_NOTIFY) + NFEA_DONT_REFRESH = XLAT(NFEA_DONT_REFRESH), + #define XLAT_VAL_2 ((unsigned) (NFEA_DONT_REFRESH)) + #define XLAT_STR_2 STRINGIFY(NFEA_DONT_REFRESH) +}; +static +const struct xlat rtnl_neigh_fdb_ext_attrs1 = { { + .data = rtnl_neigh_fdb_ext_attrs_xdata, + .size = ARRAY_SIZE(rtnl_neigh_fdb_ext_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neigh_fdb_ext_attrs.in
Added
@@ -0,0 +1,5 @@ +#enum +#value_indexed +NFEA_UNSPEC 0 +NFEA_ACTIVITY_NOTIFY 1 +NFEA_DONT_REFRESH 2
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neigh_fdb_ext_attrs.m4
Added
@@ -0,0 +1,8 @@ +dnl Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_neigh_fdb_ext_attrs.in; do not edit. +AC_DEFUN(st_CHECK_ENUMS_rtnl_neigh_fdb_ext_attrs, +AC_CHECK_DECLS(m4_normalize( +NFEA_UNSPEC, +NFEA_ACTIVITY_NOTIFY, +NFEA_DONT_REFRESH +),,, +)))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_neightbl_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neightbl_attrs.h
Changed
@@ -73,6 +73,7 @@ #else # define NDTA_PAD 9 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_neightbl_parms_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neightbl_parms_attrs.h
Changed
@@ -136,6 +136,14 @@ #else # define NDTPA_PAD 18 #endif +#if defined(NDTPA_INTERVAL_PROBE_TIME_MS) || (defined(HAVE_DECL_NDTPA_INTERVAL_PROBE_TIME_MS) && HAVE_DECL_NDTPA_INTERVAL_PROBE_TIME_MS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NDTPA_INTERVAL_PROBE_TIME_MS) == (19), "NDTPA_INTERVAL_PROBE_TIME_MS != 19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define NDTPA_INTERVAL_PROBE_TIME_MS 19 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -204,6 +212,9 @@ NDTPA_PAD = XLAT(NDTPA_PAD), #define XLAT_VAL_18 ((unsigned) (NDTPA_PAD)) #define XLAT_STR_18 STRINGIFY(NDTPA_PAD) + NDTPA_INTERVAL_PROBE_TIME_MS = XLAT(NDTPA_INTERVAL_PROBE_TIME_MS), + #define XLAT_VAL_19 ((unsigned) (NDTPA_INTERVAL_PROBE_TIME_MS)) + #define XLAT_STR_19 STRINGIFY(NDTPA_INTERVAL_PROBE_TIME_MS) }; static const struct xlat rtnl_neightbl_parms_attrs1 = { { @@ -268,6 +279,9 @@ # ifdef XLAT_VAL_18 | XLAT_VAL_18 # endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -327,6 +341,9 @@ # ifdef XLAT_STR_18 + sizeof(XLAT_STR_18) # endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -369,6 +386,8 @@ # undef XLAT_VAL_17 # undef XLAT_STR_18 # undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_neightbl_parms_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_neightbl_parms_attrs.in
Changed
@@ -18,3 +18,4 @@ NDTPA_QUEUE_LENBYTES 16 NDTPA_MCAST_REPROBES 17 NDTPA_PAD 18 +NDTPA_INTERVAL_PROBE_TIME_MS 19
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_netconf_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_netconf_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nexthop_attrs.h
Added
@@ -0,0 +1,229 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_nexthop_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_UNSPEC) == (0), "NHA_UNSPEC != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_ID) == (1), "NHA_ID != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_GROUP) == (2), "NHA_GROUP != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_GROUP_TYPE) == (3), "NHA_GROUP_TYPE != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_BLACKHOLE) == (4), "NHA_BLACKHOLE != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_OIF) == (5), "NHA_OIF != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_GATEWAY) == (6), "NHA_GATEWAY != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_ENCAP_TYPE) == (7), "NHA_ENCAP_TYPE != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_ENCAP) == (8), "NHA_ENCAP != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_GROUPS) == (9), "NHA_GROUPS != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_MASTER) == (10), "NHA_MASTER != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_FDB) == (11), "NHA_FDB != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP) == (12), "NHA_RES_GROUP != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_BUCKET) == (13), "NHA_RES_BUCKET != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_nexthop_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_nexthop_attrs_xdata = { + NHA_UNSPEC = XLAT(NHA_UNSPEC), + #define XLAT_VAL_0 ((unsigned) (NHA_UNSPEC)) + #define XLAT_STR_0 STRINGIFY(NHA_UNSPEC) + NHA_ID = XLAT(NHA_ID), + #define XLAT_VAL_1 ((unsigned) (NHA_ID)) + #define XLAT_STR_1 STRINGIFY(NHA_ID) + NHA_GROUP = XLAT(NHA_GROUP), + #define XLAT_VAL_2 ((unsigned) (NHA_GROUP)) + #define XLAT_STR_2 STRINGIFY(NHA_GROUP) + NHA_GROUP_TYPE = XLAT(NHA_GROUP_TYPE), + #define XLAT_VAL_3 ((unsigned) (NHA_GROUP_TYPE)) + #define XLAT_STR_3 STRINGIFY(NHA_GROUP_TYPE) + NHA_BLACKHOLE = XLAT(NHA_BLACKHOLE), + #define XLAT_VAL_4 ((unsigned) (NHA_BLACKHOLE)) + #define XLAT_STR_4 STRINGIFY(NHA_BLACKHOLE) + NHA_OIF = XLAT(NHA_OIF), + #define XLAT_VAL_5 ((unsigned) (NHA_OIF)) + #define XLAT_STR_5 STRINGIFY(NHA_OIF) + NHA_GATEWAY = XLAT(NHA_GATEWAY), + #define XLAT_VAL_6 ((unsigned) (NHA_GATEWAY)) + #define XLAT_STR_6 STRINGIFY(NHA_GATEWAY) + NHA_ENCAP_TYPE = XLAT(NHA_ENCAP_TYPE), + #define XLAT_VAL_7 ((unsigned) (NHA_ENCAP_TYPE)) + #define XLAT_STR_7 STRINGIFY(NHA_ENCAP_TYPE) + NHA_ENCAP = XLAT(NHA_ENCAP), + #define XLAT_VAL_8 ((unsigned) (NHA_ENCAP)) + #define XLAT_STR_8 STRINGIFY(NHA_ENCAP) + NHA_GROUPS = XLAT(NHA_GROUPS), + #define XLAT_VAL_9 ((unsigned) (NHA_GROUPS)) + #define XLAT_STR_9 STRINGIFY(NHA_GROUPS) + NHA_MASTER = XLAT(NHA_MASTER), + #define XLAT_VAL_10 ((unsigned) (NHA_MASTER)) + #define XLAT_STR_10 STRINGIFY(NHA_MASTER) + NHA_FDB = XLAT(NHA_FDB), + #define XLAT_VAL_11 ((unsigned) (NHA_FDB)) + #define XLAT_STR_11 STRINGIFY(NHA_FDB) + NHA_RES_GROUP = XLAT(NHA_RES_GROUP), + #define XLAT_VAL_12 ((unsigned) (NHA_RES_GROUP)) + #define XLAT_STR_12 STRINGIFY(NHA_RES_GROUP) + NHA_RES_BUCKET = XLAT(NHA_RES_BUCKET), + #define XLAT_VAL_13 ((unsigned) (NHA_RES_BUCKET)) + #define XLAT_STR_13 STRINGIFY(NHA_RES_BUCKET) +}; +static +const struct xlat rtnl_nexthop_attrs1 = { { + .data = rtnl_nexthop_attrs_xdata, + .size = ARRAY_SIZE(rtnl_nexthop_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nexthop_attrs.in
Added
@@ -0,0 +1,16 @@ +#unconditional +#value_indexed +NHA_UNSPEC 0 +NHA_ID 1 +NHA_GROUP 2 +NHA_GROUP_TYPE 3 +NHA_BLACKHOLE 4 +NHA_OIF 5 +NHA_GATEWAY 6 +NHA_ENCAP_TYPE 7 +NHA_ENCAP 8 +NHA_GROUPS 9 +NHA_MASTER 10 +NHA_FDB 11 +NHA_RES_GROUP 12 +NHA_RES_BUCKET 13
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nexthop_grp_types.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_nexthop_grp_types.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NEXTHOP_GRP_TYPE_MPATH) == (0), "NEXTHOP_GRP_TYPE_MPATH != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NEXTHOP_GRP_TYPE_RES) == (1), "NEXTHOP_GRP_TYPE_RES != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_nexthop_grp_types in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_nexthop_grp_types_xdata = { + NEXTHOP_GRP_TYPE_MPATH = XLAT(NEXTHOP_GRP_TYPE_MPATH), + #define XLAT_VAL_0 ((unsigned) (NEXTHOP_GRP_TYPE_MPATH)) + #define XLAT_STR_0 STRINGIFY(NEXTHOP_GRP_TYPE_MPATH) + NEXTHOP_GRP_TYPE_RES = XLAT(NEXTHOP_GRP_TYPE_RES), + #define XLAT_VAL_1 ((unsigned) (NEXTHOP_GRP_TYPE_RES)) + #define XLAT_STR_1 STRINGIFY(NEXTHOP_GRP_TYPE_RES) +}; +static +const struct xlat rtnl_nexthop_grp_types1 = { { + .data = rtnl_nexthop_grp_types_xdata, + .size = ARRAY_SIZE(rtnl_nexthop_grp_types_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nexthop_grp_types.in
Added
@@ -0,0 +1,4 @@ +#unconditional +#value_indexed +NEXTHOP_GRP_TYPE_MPATH 0 +NEXTHOP_GRP_TYPE_RES 1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nha_res_bucket_attrs.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_nha_res_bucket_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_BUCKET_PAD) == (0), "NHA_RES_BUCKET_PAD != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_BUCKET_INDEX) == (1), "NHA_RES_BUCKET_INDEX != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_BUCKET_IDLE_TIME) == (2), "NHA_RES_BUCKET_IDLE_TIME != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_BUCKET_NH_ID) == (3), "NHA_RES_BUCKET_NH_ID != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_nha_res_bucket_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_nha_res_bucket_attrs_xdata = { + NHA_RES_BUCKET_PAD = XLAT(NHA_RES_BUCKET_PAD), + #define XLAT_VAL_0 ((unsigned) (NHA_RES_BUCKET_PAD)) + #define XLAT_STR_0 STRINGIFY(NHA_RES_BUCKET_PAD) + NHA_RES_BUCKET_INDEX = XLAT(NHA_RES_BUCKET_INDEX), + #define XLAT_VAL_1 ((unsigned) (NHA_RES_BUCKET_INDEX)) + #define XLAT_STR_1 STRINGIFY(NHA_RES_BUCKET_INDEX) + NHA_RES_BUCKET_IDLE_TIME = XLAT(NHA_RES_BUCKET_IDLE_TIME), + #define XLAT_VAL_2 ((unsigned) (NHA_RES_BUCKET_IDLE_TIME)) + #define XLAT_STR_2 STRINGIFY(NHA_RES_BUCKET_IDLE_TIME) + NHA_RES_BUCKET_NH_ID = XLAT(NHA_RES_BUCKET_NH_ID), + #define XLAT_VAL_3 ((unsigned) (NHA_RES_BUCKET_NH_ID)) + #define XLAT_STR_3 STRINGIFY(NHA_RES_BUCKET_NH_ID) +}; +static +const struct xlat rtnl_nha_res_bucket_attrs1 = { { + .data = rtnl_nha_res_bucket_attrs_xdata, + .size = ARRAY_SIZE(rtnl_nha_res_bucket_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nha_res_bucket_attrs.in
Added
@@ -0,0 +1,6 @@ +#unconditional +#value_indexed +NHA_RES_BUCKET_PAD 0 +NHA_RES_BUCKET_INDEX 1 +NHA_RES_BUCKET_IDLE_TIME 2 +NHA_RES_BUCKET_NH_ID 3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nha_res_group_attrs.h
Added
@@ -0,0 +1,103 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rtnl_nha_res_group_attrs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP_PAD) == (0), "NHA_RES_GROUP_PAD != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP_BUCKETS) == (1), "NHA_RES_GROUP_BUCKETS != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP_IDLE_TIMER) == (2), "NHA_RES_GROUP_IDLE_TIMER != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP_UNBALANCED_TIMER) == (3), "NHA_RES_GROUP_UNBALANCED_TIMER != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((NHA_RES_GROUP_UNBALANCED_TIME) == (4), "NHA_RES_GROUP_UNBALANCED_TIME != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rtnl_nha_res_group_attrs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rtnl_nha_res_group_attrs_xdata = { + NHA_RES_GROUP_PAD = XLAT(NHA_RES_GROUP_PAD), + #define XLAT_VAL_0 ((unsigned) (NHA_RES_GROUP_PAD)) + #define XLAT_STR_0 STRINGIFY(NHA_RES_GROUP_PAD) + NHA_RES_GROUP_BUCKETS = XLAT(NHA_RES_GROUP_BUCKETS), + #define XLAT_VAL_1 ((unsigned) (NHA_RES_GROUP_BUCKETS)) + #define XLAT_STR_1 STRINGIFY(NHA_RES_GROUP_BUCKETS) + NHA_RES_GROUP_IDLE_TIMER = XLAT(NHA_RES_GROUP_IDLE_TIMER), + #define XLAT_VAL_2 ((unsigned) (NHA_RES_GROUP_IDLE_TIMER)) + #define XLAT_STR_2 STRINGIFY(NHA_RES_GROUP_IDLE_TIMER) + NHA_RES_GROUP_UNBALANCED_TIMER = XLAT(NHA_RES_GROUP_UNBALANCED_TIMER), + #define XLAT_VAL_3 ((unsigned) (NHA_RES_GROUP_UNBALANCED_TIMER)) + #define XLAT_STR_3 STRINGIFY(NHA_RES_GROUP_UNBALANCED_TIMER) + NHA_RES_GROUP_UNBALANCED_TIME = XLAT(NHA_RES_GROUP_UNBALANCED_TIME), + #define XLAT_VAL_4 ((unsigned) (NHA_RES_GROUP_UNBALANCED_TIME)) + #define XLAT_STR_4 STRINGIFY(NHA_RES_GROUP_UNBALANCED_TIME) +}; +static +const struct xlat rtnl_nha_res_group_attrs1 = { { + .data = rtnl_nha_res_group_attrs_xdata, + .size = ARRAY_SIZE(rtnl_nha_res_group_attrs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nha_res_group_attrs.in
Added
@@ -0,0 +1,7 @@ +#unconditional +#value_indexed +NHA_RES_GROUP_PAD 0 +NHA_RES_GROUP_BUCKETS 1 +NHA_RES_GROUP_IDLE_TIMER 2 +NHA_RES_GROUP_UNBALANCED_TIMER 3 +NHA_RES_GROUP_UNBALANCED_TIME 4
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_nsid_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_nsid_attrs.h
Changed
@@ -52,6 +52,7 @@ #else # define NETNSA_CURRENT_NSID 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_route_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_route_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_rta_metrics_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_rta_metrics_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_rule_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_rule_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tc_action_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tc_action_attrs.h
Changed
@@ -73,6 +73,14 @@ #else # define TCA_ACT_USED_HW_STATS 9 #endif +#if defined(TCA_ACT_IN_HW_COUNT) || (defined(HAVE_DECL_TCA_ACT_IN_HW_COUNT) && HAVE_DECL_TCA_ACT_IN_HW_COUNT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TCA_ACT_IN_HW_COUNT) == (10), "TCA_ACT_IN_HW_COUNT != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TCA_ACT_IN_HW_COUNT 10 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -114,6 +122,9 @@ TCA_ACT_USED_HW_STATS = XLAT(TCA_ACT_USED_HW_STATS), #define XLAT_VAL_9 ((unsigned) (TCA_ACT_USED_HW_STATS)) #define XLAT_STR_9 STRINGIFY(TCA_ACT_USED_HW_STATS) + TCA_ACT_IN_HW_COUNT = XLAT(TCA_ACT_IN_HW_COUNT), + #define XLAT_VAL_10 ((unsigned) (TCA_ACT_IN_HW_COUNT)) + #define XLAT_STR_10 STRINGIFY(TCA_ACT_IN_HW_COUNT) }; static const struct xlat rtnl_tc_action_attrs1 = { { @@ -151,6 +162,9 @@ # ifdef XLAT_VAL_9 | XLAT_VAL_9 # endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -183,6 +197,9 @@ # ifdef XLAT_STR_9 + sizeof(XLAT_STR_9) # endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -207,6 +224,8 @@ # undef XLAT_VAL_8 # undef XLAT_STR_9 # undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tc_action_attrs.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tc_action_attrs.in
Changed
@@ -11,3 +11,4 @@ TCA_ACT_FLAGS 7 TCA_ACT_HW_STATS 8 TCA_ACT_USED_HW_STATS 9 +TCA_ACT_IN_HW_COUNT 10
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tc_action_attrs.m4 -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tc_action_attrs.m4
Changed
@@ -10,7 +10,8 @@ TCA_ACT_COOKIE, TCA_ACT_FLAGS, TCA_ACT_HW_STATS, -TCA_ACT_USED_HW_STATS +TCA_ACT_USED_HW_STATS, +TCA_ACT_IN_HW_COUNT ),,, #include <linux/pkt_cls.h> )))
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tc_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tc_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tca_act_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tca_act_flags.h
Changed
@@ -5,11 +5,26 @@ #if defined(TCA_ACT_FLAGS_NO_PERCPU_STATS) || (defined(HAVE_DECL_TCA_ACT_FLAGS_NO_PERCPU_STATS) && HAVE_DECL_TCA_ACT_FLAGS_NO_PERCPU_STATS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE -static_assert((TCA_ACT_FLAGS_NO_PERCPU_STATS) == (1), "TCA_ACT_FLAGS_NO_PERCPU_STATS != 1"); +static_assert((TCA_ACT_FLAGS_NO_PERCPU_STATS) == ((1 << 0)), "TCA_ACT_FLAGS_NO_PERCPU_STATS != (1 << 0)"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE #else -# define TCA_ACT_FLAGS_NO_PERCPU_STATS 1 +# define TCA_ACT_FLAGS_NO_PERCPU_STATS (1 << 0) #endif +#if defined(TCA_ACT_FLAGS_SKIP_HW) || (defined(HAVE_DECL_TCA_ACT_FLAGS_SKIP_HW) && HAVE_DECL_TCA_ACT_FLAGS_SKIP_HW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TCA_ACT_FLAGS_SKIP_HW) == ((1 << 1)), "TCA_ACT_FLAGS_SKIP_HW != (1 << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TCA_ACT_FLAGS_SKIP_HW (1 << 1) +#endif +#if defined(TCA_ACT_FLAGS_SKIP_SW) || (defined(HAVE_DECL_TCA_ACT_FLAGS_SKIP_SW) && HAVE_DECL_TCA_ACT_FLAGS_SKIP_SW) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TCA_ACT_FLAGS_SKIP_SW) == ((1 << 2)), "TCA_ACT_FLAGS_SKIP_SW != (1 << 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TCA_ACT_FLAGS_SKIP_SW (1 << 2) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -24,6 +39,12 @@ XLAT(TCA_ACT_FLAGS_NO_PERCPU_STATS), #define XLAT_VAL_0 ((unsigned) (TCA_ACT_FLAGS_NO_PERCPU_STATS)) #define XLAT_STR_0 STRINGIFY(TCA_ACT_FLAGS_NO_PERCPU_STATS) + XLAT(TCA_ACT_FLAGS_SKIP_HW), + #define XLAT_VAL_1 ((unsigned) (TCA_ACT_FLAGS_SKIP_HW)) + #define XLAT_STR_1 STRINGIFY(TCA_ACT_FLAGS_SKIP_HW) + XLAT(TCA_ACT_FLAGS_SKIP_SW), + #define XLAT_VAL_2 ((unsigned) (TCA_ACT_FLAGS_SKIP_SW)) + #define XLAT_STR_2 STRINGIFY(TCA_ACT_FLAGS_SKIP_SW) }; static const struct xlat rtnl_tca_act_flags1 = { { @@ -34,17 +55,33 @@ # ifdef XLAT_VAL_0 | XLAT_VAL_0 # endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 + sizeof(XLAT_STR_0) # endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE # undef XLAT_STR_0 # undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tca_act_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tca_act_flags.in
Changed
@@ -1,1 +1,3 @@ -TCA_ACT_FLAGS_NO_PERCPU_STATS 1 +TCA_ACT_FLAGS_NO_PERCPU_STATS (1 << 0) +TCA_ACT_FLAGS_SKIP_HW (1 << 1) +TCA_ACT_FLAGS_SKIP_SW (1 << 2)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tca_act_hw_stats.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tca_act_hw_stats.h
Changed
@@ -17,6 +17,7 @@ #else # define TCA_ACT_HW_STATS_DELAYED (1<<1) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tca_stab_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tca_stab_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rtnl_tca_stats_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rtnl_tca_stats_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/rwf_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/rwf_flags.h
Changed
@@ -38,6 +38,7 @@ #else # define RWF_APPEND 0x10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rxrpc_services.h
Added
@@ -0,0 +1,145 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/rxrpc_services.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(CM_SERVICE) || (defined(HAVE_DECL_CM_SERVICE) && HAVE_DECL_CM_SERVICE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CM_SERVICE) == (1), "CM_SERVICE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CM_SERVICE 1 +#endif +#if defined(CM_SERVICE) || (defined(HAVE_DECL_CM_SERVICE) && HAVE_DECL_CM_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (CM_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: CM_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (CM_SERVICE) +#endif +#if defined(YFS_FS_SERVICE) || (defined(HAVE_DECL_YFS_FS_SERVICE) && HAVE_DECL_YFS_FS_SERVICE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((YFS_FS_SERVICE) == (2500), "YFS_FS_SERVICE != 2500"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define YFS_FS_SERVICE 2500 +#endif +#if defined(YFS_FS_SERVICE) || (defined(HAVE_DECL_YFS_FS_SERVICE) && HAVE_DECL_YFS_FS_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (YFS_FS_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: YFS_FS_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (YFS_FS_SERVICE) +#endif +#if defined(YFS_CM_SERVICE) || (defined(HAVE_DECL_YFS_CM_SERVICE) && HAVE_DECL_YFS_CM_SERVICE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((YFS_CM_SERVICE) == (2501), "YFS_CM_SERVICE != 2501"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define YFS_CM_SERVICE 2501 +#endif +#if defined(YFS_CM_SERVICE) || (defined(HAVE_DECL_YFS_CM_SERVICE) && HAVE_DECL_YFS_CM_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (YFS_CM_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: YFS_CM_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (YFS_CM_SERVICE) +#endif +#if defined(YFS_VL_SERVICE) || (defined(HAVE_DECL_YFS_VL_SERVICE) && HAVE_DECL_YFS_VL_SERVICE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((YFS_VL_SERVICE) == (2503), "YFS_VL_SERVICE != 2503"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define YFS_VL_SERVICE 2503 +#endif +#if defined(YFS_VL_SERVICE) || (defined(HAVE_DECL_YFS_VL_SERVICE) && HAVE_DECL_YFS_VL_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (YFS_VL_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: YFS_VL_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (YFS_VL_SERVICE) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat rxrpc_services in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data rxrpc_services_xdata = { + XLAT(CM_SERVICE), + #define XLAT_VAL_0 ((unsigned) (CM_SERVICE)) + #define XLAT_STR_0 STRINGIFY(CM_SERVICE) + XLAT(YFS_FS_SERVICE), + #define XLAT_VAL_1 ((unsigned) (YFS_FS_SERVICE)) + #define XLAT_STR_1 STRINGIFY(YFS_FS_SERVICE) + XLAT(YFS_CM_SERVICE), + #define XLAT_VAL_2 ((unsigned) (YFS_CM_SERVICE)) + #define XLAT_STR_2 STRINGIFY(YFS_CM_SERVICE) + XLAT(YFS_VL_SERVICE), + #define XLAT_VAL_3 ((unsigned) (YFS_VL_SERVICE)) + #define XLAT_STR_3 STRINGIFY(YFS_VL_SERVICE) +}; +static +const struct xlat rxrpc_services1 = { { + .data = rxrpc_services_xdata, + .size = ARRAY_SIZE(rxrpc_services_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/rxrpc_services.in
Added
@@ -0,0 +1,5 @@ +#sorted +CM_SERVICE 1 /* fs/afs/afs_cm.h */ +YFS_FS_SERVICE 2500 /* fs/afs/protocol_yfs.h */ +YFS_CM_SERVICE 2501 /* fs/afs/protocol_yfs.h */ +YFS_VL_SERVICE 2503 /* fs/afs/afs_vl.h */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/s390_guarded_storage_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/s390_guarded_storage_commands.h
Changed
@@ -38,6 +38,7 @@ #else # define GS_BROADCAST 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/s390_runtime_instr_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/s390_runtime_instr_commands.h
Changed
@@ -17,6 +17,7 @@ #else # define S390_RUNTIME_INSTR_STOP 0x2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/s390_sthyi_function_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/s390_sthyi_function_codes.h
Changed
@@ -10,6 +10,7 @@ #else # define STHYI_FC_CP_IFL_CAP 0 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sa_handler_values.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sa_handler_values.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sched_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sched_flags.h
Changed
@@ -52,6 +52,7 @@ #else # define SCHED_FLAG_UTIL_CLAMP_MAX 0x40 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/schedulers.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/schedulers.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/scmvals.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/scmvals.h
Changed
@@ -74,6 +74,7 @@ # define SCM_TIMESTAMPING_PKTINFO 0x3a #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/scsi_sg_commands.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/scsi_sg_commands.h
Changed
@@ -178,6 +178,7 @@ #else # define SG_GET_ACCESS_COUNT 0x2289 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/secbits.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/secbits.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/seccomp_filter_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_filter_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -25,6 +26,9 @@ XLAT(SECCOMP_FILTER_FLAG_TSYNC_ESRCH), #define XLAT_VAL_4 ((unsigned) (SECCOMP_FILTER_FLAG_TSYNC_ESRCH)) #define XLAT_STR_4 STRINGIFY(SECCOMP_FILTER_FLAG_TSYNC_ESRCH) + XLAT(SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV), + #define XLAT_VAL_5 ((unsigned) (SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV)) + #define XLAT_STR_5 STRINGIFY(SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV) }; const struct xlat seccomp_filter_flags1 = { { .data = seccomp_filter_flags_xdata, @@ -46,6 +50,9 @@ # ifdef XLAT_VAL_4 | XLAT_VAL_4 # endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -63,6 +70,9 @@ # ifdef XLAT_STR_4 + sizeof(XLAT_STR_4) # endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -77,6 +87,8 @@ # undef XLAT_VAL_3 # undef XLAT_STR_4 # undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/seccomp_filter_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_filter_flags.in
Changed
@@ -4,3 +4,4 @@ SECCOMP_FILTER_FLAG_SPEC_ALLOW SECCOMP_FILTER_FLAG_NEW_LISTENER SECCOMP_FILTER_FLAG_TSYNC_ESRCH +SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ioctl_addfd_flags.h
Added
@@ -0,0 +1,55 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/seccomp_ioctl_addfd_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat seccomp_ioctl_addfd_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data seccomp_ioctl_addfd_flags_xdata = { + XLAT(SECCOMP_ADDFD_FLAG_SETFD), + #define XLAT_VAL_0 ((unsigned) (SECCOMP_ADDFD_FLAG_SETFD)) + #define XLAT_STR_0 STRINGIFY(SECCOMP_ADDFD_FLAG_SETFD) + XLAT(SECCOMP_ADDFD_FLAG_SEND), + #define XLAT_VAL_1 ((unsigned) (SECCOMP_ADDFD_FLAG_SEND)) + #define XLAT_STR_1 STRINGIFY(SECCOMP_ADDFD_FLAG_SEND) +}; +static +const struct xlat seccomp_ioctl_addfd_flags1 = { { + .data = seccomp_ioctl_addfd_flags_xdata, + .size = ARRAY_SIZE(seccomp_ioctl_addfd_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ioctl_addfd_flags.in
Added
@@ -0,0 +1,3 @@ +#unconditional +SECCOMP_ADDFD_FLAG_SETFD +SECCOMP_ADDFD_FLAG_SEND
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ioctl_resp_flags.h
Added
@@ -0,0 +1,44 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/seccomp_ioctl_resp_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat seccomp_ioctl_resp_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data seccomp_ioctl_resp_flags_xdata = { + XLAT(SECCOMP_USER_NOTIF_FLAG_CONTINUE), + #define XLAT_VAL_0 ((unsigned) (SECCOMP_USER_NOTIF_FLAG_CONTINUE)) + #define XLAT_STR_0 STRINGIFY(SECCOMP_USER_NOTIF_FLAG_CONTINUE) +}; +static +const struct xlat seccomp_ioctl_resp_flags1 = { { + .data = seccomp_ioctl_resp_flags_xdata, + .size = ARRAY_SIZE(seccomp_ioctl_resp_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ioctl_resp_flags.in
Added
@@ -0,0 +1,2 @@ +#unconditional +SECCOMP_USER_NOTIF_FLAG_CONTINUE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/seccomp_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_mode.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/seccomp_ops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ops.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/seccomp_ret_action.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/seccomp_ret_action.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/semctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/semctl_flags.h
Changed
@@ -10,6 +10,16 @@ #else # define IPC_RMID 0 #endif +#if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_RMID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_RMID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_RMID) +#endif #if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_SET) == (1), "IPC_SET != 1"); @@ -17,6 +27,16 @@ #else # define IPC_SET 1 #endif +#if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_SET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_SET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_SET) +#endif #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); @@ -24,6 +44,16 @@ #else # define IPC_STAT 2 #endif +#if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_STAT) +#endif #if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_INFO) == (3), "IPC_INFO != 3"); @@ -31,6 +61,16 @@ #else # define IPC_INFO 3 #endif +#if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_INFO) +#endif #if defined(GETPID) || (defined(HAVE_DECL_GETPID) && HAVE_DECL_GETPID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GETPID) == (11), "GETPID != 11"); @@ -38,6 +78,16 @@ #else # define GETPID 11 #endif +#if defined(GETPID) || (defined(HAVE_DECL_GETPID) && HAVE_DECL_GETPID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GETPID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GETPID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GETPID) +#endif #if defined(GETVAL) || (defined(HAVE_DECL_GETVAL) && HAVE_DECL_GETVAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GETVAL) == (12), "GETVAL != 12"); @@ -45,6 +95,16 @@ #else # define GETVAL 12 #endif +#if defined(GETVAL) || (defined(HAVE_DECL_GETVAL) && HAVE_DECL_GETVAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GETVAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GETVAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GETVAL) +#endif #if defined(GETALL) || (defined(HAVE_DECL_GETALL) && HAVE_DECL_GETALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GETALL) == (13), "GETALL != 13"); @@ -52,6 +112,16 @@ #else # define GETALL 13 #endif +#if defined(GETALL) || (defined(HAVE_DECL_GETALL) && HAVE_DECL_GETALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GETALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GETALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GETALL) +#endif #if defined(GETNCNT) || (defined(HAVE_DECL_GETNCNT) && HAVE_DECL_GETNCNT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GETNCNT) == (14), "GETNCNT != 14"); @@ -59,6 +129,16 @@ #else # define GETNCNT 14 #endif +#if defined(GETNCNT) || (defined(HAVE_DECL_GETNCNT) && HAVE_DECL_GETNCNT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GETNCNT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GETNCNT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GETNCNT) +#endif #if defined(GETZCNT) || (defined(HAVE_DECL_GETZCNT) && HAVE_DECL_GETZCNT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((GETZCNT) == (15), "GETZCNT != 15"); @@ -66,6 +146,16 @@ #else # define GETZCNT 15 #endif +#if defined(GETZCNT) || (defined(HAVE_DECL_GETZCNT) && HAVE_DECL_GETZCNT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (GETZCNT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: GETZCNT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (GETZCNT) +#endif #if defined(SETVAL) || (defined(HAVE_DECL_SETVAL) && HAVE_DECL_SETVAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SETVAL) == (16), "SETVAL != 16"); @@ -73,6 +163,16 @@ #else # define SETVAL 16 #endif +#if defined(SETVAL) || (defined(HAVE_DECL_SETVAL) && HAVE_DECL_SETVAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SETVAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SETVAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SETVAL) +#endif #if defined(SETALL) || (defined(HAVE_DECL_SETALL) && HAVE_DECL_SETALL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SETALL) == (17), "SETALL != 17"); @@ -80,6 +180,16 @@ #else # define SETALL 17 #endif +#if defined(SETALL) || (defined(HAVE_DECL_SETALL) && HAVE_DECL_SETALL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SETALL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SETALL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SETALL) +#endif #if defined(SEM_STAT) || (defined(HAVE_DECL_SEM_STAT) && HAVE_DECL_SEM_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SEM_STAT) == (18), "SEM_STAT != 18"); @@ -87,6 +197,16 @@ #else # define SEM_STAT 18 #endif +#if defined(SEM_STAT) || (defined(HAVE_DECL_SEM_STAT) && HAVE_DECL_SEM_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SEM_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SEM_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SEM_STAT) +#endif #if defined(SEM_INFO) || (defined(HAVE_DECL_SEM_INFO) && HAVE_DECL_SEM_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SEM_INFO) == (19), "SEM_INFO != 19"); @@ -94,6 +214,16 @@ #else # define SEM_INFO 19 #endif +#if defined(SEM_INFO) || (defined(HAVE_DECL_SEM_INFO) && HAVE_DECL_SEM_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SEM_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SEM_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SEM_INFO) +#endif #if defined(SEM_STAT_ANY) || (defined(HAVE_DECL_SEM_STAT_ANY) && HAVE_DECL_SEM_STAT_ANY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SEM_STAT_ANY) == (20), "SEM_STAT_ANY != 20"); @@ -101,6 +231,17 @@ #else # define SEM_STAT_ANY 20 #endif +#if defined(SEM_STAT_ANY) || (defined(HAVE_DECL_SEM_STAT_ANY) && HAVE_DECL_SEM_STAT_ANY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SEM_STAT_ANY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SEM_STAT_ANY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SEM_STAT_ANY) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/semop_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/semop_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/setns_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/setns_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -10,33 +11,30 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data setns_types_xdata = { - XLAT(0), - #define XLAT_VAL_0 ((unsigned) (0)) - #define XLAT_STR_0 STRINGIFY(0) XLAT(CLONE_NEWTIME), - #define XLAT_VAL_1 ((unsigned) (CLONE_NEWTIME)) - #define XLAT_STR_1 STRINGIFY(CLONE_NEWTIME) + #define XLAT_VAL_0 ((unsigned) (CLONE_NEWTIME)) + #define XLAT_STR_0 STRINGIFY(CLONE_NEWTIME) XLAT(CLONE_NEWNS), - #define XLAT_VAL_2 ((unsigned) (CLONE_NEWNS)) - #define XLAT_STR_2 STRINGIFY(CLONE_NEWNS) + #define XLAT_VAL_1 ((unsigned) (CLONE_NEWNS)) + #define XLAT_STR_1 STRINGIFY(CLONE_NEWNS) XLAT(CLONE_NEWCGROUP), - #define XLAT_VAL_3 ((unsigned) (CLONE_NEWCGROUP)) - #define XLAT_STR_3 STRINGIFY(CLONE_NEWCGROUP) + #define XLAT_VAL_2 ((unsigned) (CLONE_NEWCGROUP)) + #define XLAT_STR_2 STRINGIFY(CLONE_NEWCGROUP) XLAT(CLONE_NEWUTS), - #define XLAT_VAL_4 ((unsigned) (CLONE_NEWUTS)) - #define XLAT_STR_4 STRINGIFY(CLONE_NEWUTS) + #define XLAT_VAL_3 ((unsigned) (CLONE_NEWUTS)) + #define XLAT_STR_3 STRINGIFY(CLONE_NEWUTS) XLAT(CLONE_NEWIPC), - #define XLAT_VAL_5 ((unsigned) (CLONE_NEWIPC)) - #define XLAT_STR_5 STRINGIFY(CLONE_NEWIPC) + #define XLAT_VAL_4 ((unsigned) (CLONE_NEWIPC)) + #define XLAT_STR_4 STRINGIFY(CLONE_NEWIPC) XLAT(CLONE_NEWUSER), - #define XLAT_VAL_6 ((unsigned) (CLONE_NEWUSER)) - #define XLAT_STR_6 STRINGIFY(CLONE_NEWUSER) + #define XLAT_VAL_5 ((unsigned) (CLONE_NEWUSER)) + #define XLAT_STR_5 STRINGIFY(CLONE_NEWUSER) XLAT(CLONE_NEWPID), - #define XLAT_VAL_7 ((unsigned) (CLONE_NEWPID)) - #define XLAT_STR_7 STRINGIFY(CLONE_NEWPID) + #define XLAT_VAL_6 ((unsigned) (CLONE_NEWPID)) + #define XLAT_STR_6 STRINGIFY(CLONE_NEWPID) XLAT(CLONE_NEWNET), - #define XLAT_VAL_8 ((unsigned) (CLONE_NEWNET)) - #define XLAT_STR_8 STRINGIFY(CLONE_NEWNET) + #define XLAT_VAL_7 ((unsigned) (CLONE_NEWNET)) + #define XLAT_STR_7 STRINGIFY(CLONE_NEWNET) }; const struct xlat setns_types1 = { { .data = setns_types_xdata, @@ -67,9 +65,6 @@ # ifdef XLAT_VAL_7 | XLAT_VAL_7 # endif -# ifdef XLAT_VAL_8 - | XLAT_VAL_8 -# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -96,9 +91,6 @@ # ifdef XLAT_STR_7 + sizeof(XLAT_STR_7) # endif -# ifdef XLAT_STR_8 - + sizeof(XLAT_STR_8) -# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -119,8 +111,6 @@ # undef XLAT_VAL_6 # undef XLAT_STR_7 # undef XLAT_VAL_7 -# undef XLAT_STR_8 -# undef XLAT_VAL_8 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/setns_types.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/setns_types.in
Changed
@@ -1,5 +1,4 @@ #unconditional -0 CLONE_NEWTIME CLONE_NEWNS CLONE_NEWCGROUP
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/setsock_ip_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/setsock_ip_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/setsock_ipv6_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/setsock_ipv6_options.h
Changed
@@ -17,6 +17,7 @@ #else # define IP6T_SO_SET_ADD_COUNTERS 65 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/setsock_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/setsock_options.h
Changed
@@ -20,6 +20,7 @@ # define SO_ATTACH_FILTER 26 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sfd_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sfd_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define SFD_NONBLOCK O_NONBLOCK #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sg_io_dxfer_direction.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sg_io_dxfer_direction.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sg_io_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sg_io_flags.h
Changed
@@ -45,6 +45,7 @@ #else # define SG_FLAG_Q_AT_HEAD 0x20 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sg_io_info.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sg_io_info.h
Changed
@@ -24,6 +24,7 @@ #else # define SG_INFO_MIXED_IO 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sg_scsi_reset.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sg_scsi_reset.h
Changed
@@ -45,6 +45,7 @@ #else # define SG_SCSI_RESET_NO_ESCALATE 0x100 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/shm_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/shm_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define SHM_EXEC 0100000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/shm_resource_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/shm_resource_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define SHM_NORESERVE 010000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/shmctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/shmctl_flags.h
Changed
@@ -10,6 +10,16 @@ #else # define IPC_RMID 0 #endif +#if defined(IPC_RMID) || (defined(HAVE_DECL_IPC_RMID) && HAVE_DECL_IPC_RMID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_RMID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_RMID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_RMID) +#endif #if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_SET) == (1), "IPC_SET != 1"); @@ -17,6 +27,16 @@ #else # define IPC_SET 1 #endif +#if defined(IPC_SET) || (defined(HAVE_DECL_IPC_SET) && HAVE_DECL_IPC_SET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_SET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_SET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_SET) +#endif #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); @@ -24,6 +44,16 @@ #else # define IPC_STAT 2 #endif +#if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_STAT) +#endif #if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((IPC_INFO) == (3), "IPC_INFO != 3"); @@ -31,6 +61,16 @@ #else # define IPC_INFO 3 #endif +#if defined(IPC_INFO) || (defined(HAVE_DECL_IPC_INFO) && HAVE_DECL_IPC_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (IPC_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: IPC_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (IPC_INFO) +#endif #if defined(SHM_LOCK) || (defined(HAVE_DECL_SHM_LOCK) && HAVE_DECL_SHM_LOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHM_LOCK) == (11), "SHM_LOCK != 11"); @@ -38,6 +78,16 @@ #else # define SHM_LOCK 11 #endif +#if defined(SHM_LOCK) || (defined(HAVE_DECL_SHM_LOCK) && HAVE_DECL_SHM_LOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHM_LOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHM_LOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHM_LOCK) +#endif #if defined(SHM_UNLOCK) || (defined(HAVE_DECL_SHM_UNLOCK) && HAVE_DECL_SHM_UNLOCK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHM_UNLOCK) == (12), "SHM_UNLOCK != 12"); @@ -45,6 +95,16 @@ #else # define SHM_UNLOCK 12 #endif +#if defined(SHM_UNLOCK) || (defined(HAVE_DECL_SHM_UNLOCK) && HAVE_DECL_SHM_UNLOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHM_UNLOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHM_UNLOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHM_UNLOCK) +#endif #if defined(SHM_STAT) || (defined(HAVE_DECL_SHM_STAT) && HAVE_DECL_SHM_STAT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHM_STAT) == (13), "SHM_STAT != 13"); @@ -52,6 +112,16 @@ #else # define SHM_STAT 13 #endif +#if defined(SHM_STAT) || (defined(HAVE_DECL_SHM_STAT) && HAVE_DECL_SHM_STAT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHM_STAT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHM_STAT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHM_STAT) +#endif #if defined(SHM_INFO) || (defined(HAVE_DECL_SHM_INFO) && HAVE_DECL_SHM_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHM_INFO) == (14), "SHM_INFO != 14"); @@ -59,6 +129,16 @@ #else # define SHM_INFO 14 #endif +#if defined(SHM_INFO) || (defined(HAVE_DECL_SHM_INFO) && HAVE_DECL_SHM_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHM_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHM_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHM_INFO) +#endif #if defined(SHM_STAT_ANY) || (defined(HAVE_DECL_SHM_STAT_ANY) && HAVE_DECL_SHM_STAT_ANY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SHM_STAT_ANY) == (15), "SHM_STAT_ANY != 15"); @@ -66,6 +146,17 @@ #else # define SHM_STAT_ANY 15 #endif +#if defined(SHM_STAT_ANY) || (defined(HAVE_DECL_SHM_STAT_ANY) && HAVE_DECL_SHM_STAT_ANY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SHM_STAT_ANY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SHM_STAT_ANY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SHM_STAT_ANY) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/shutdown_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/shutdown_modes.h
Changed
@@ -24,6 +24,7 @@ #else # define SHUT_RDWR 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigact_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigact_flags.h
Changed
@@ -7,6 +7,7 @@ #endif #if defined SA_ONESHOT && SA_ONESHOT != SA_RESETHAND #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigaltstack_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigaltstack_flags.h
Changed
@@ -24,6 +24,7 @@ #else # define SS_AUTODISARM (1U << 31) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigbus_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigbus_codes.h
Changed
@@ -38,6 +38,7 @@ #else # define BUS_MCEERR_AO 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigchld_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigchld_codes.h
Changed
@@ -45,6 +45,7 @@ #else # define CLD_CONTINUED 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigemt_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigemt_codes.h
Changed
@@ -10,6 +10,7 @@ #else # define EMT_TAGOVF 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigev_value.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigev_value.h
Changed
@@ -31,6 +31,7 @@ #else # define SIGEV_THREAD_ID 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigfpe_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigfpe_codes.h
Changed
@@ -73,6 +73,7 @@ #else # define FPE_CONDTRAP 15 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigill_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigill_codes.h
Changed
@@ -59,6 +59,7 @@ #else # define ILL_BADSTK 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/siginfo_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/siginfo_codes.h
Changed
@@ -106,6 +106,7 @@ # define SI_NOINFO 32767 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigpoll_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigpoll_codes.h
Changed
@@ -45,6 +45,7 @@ #else # define POLL_HUP 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigprocmaskcmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigprocmaskcmds.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigprof_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigprof_codes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigsegv_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigsegv_codes.h
Changed
@@ -66,6 +66,7 @@ #else # define SEGV_MTESERR 9 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigsys_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigsys_codes.h
Changed
@@ -17,6 +17,7 @@ #else # define SYS_USER_DISPATCH 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sigtrap_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sigtrap_codes.h
Changed
@@ -45,6 +45,7 @@ #else # define TRAP_PERF 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sigtrap_perf_flags.h
Added
@@ -0,0 +1,53 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/sigtrap_perf_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(TRAP_PERF_FLAG_ASYNC) || (defined(HAVE_DECL_TRAP_PERF_FLAG_ASYNC) && HAVE_DECL_TRAP_PERF_FLAG_ASYNC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TRAP_PERF_FLAG_ASYNC) == ((1 << 0)), "TRAP_PERF_FLAG_ASYNC != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define TRAP_PERF_FLAG_ASYNC (1 << 0) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +extern const struct xlat sigtrap_perf_flags; + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data sigtrap_perf_flags_xdata = { + XLAT(TRAP_PERF_FLAG_ASYNC), + #define XLAT_VAL_0 ((unsigned) (TRAP_PERF_FLAG_ASYNC)) + #define XLAT_STR_0 STRINGIFY(TRAP_PERF_FLAG_ASYNC) +}; +# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) +static +# endif +const struct xlat sigtrap_perf_flags1 = { { + .data = sigtrap_perf_flags_xdata, + .size = ARRAY_SIZE(sigtrap_perf_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sigtrap_perf_flags.in
Added
@@ -0,0 +1,1 @@ +TRAP_PERF_FLAG_ASYNC (1 << 0)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/skf_ad.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/skf_ad.h
Changed
@@ -115,6 +115,7 @@ #else # define SKF_AD_VLAN_TPID 60 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/skf_off.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/skf_off.h
Changed
@@ -24,6 +24,7 @@ #else # define SKF_LL_OFF -0x200000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_decl_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_decl_codes.h
Changed
@@ -10,6 +10,16 @@ #else # define SMC_CLC_DECL_MEM 0x01010000 #endif +#if defined(SMC_CLC_DECL_MEM) || (defined(HAVE_DECL_SMC_CLC_DECL_MEM) && HAVE_DECL_SMC_CLC_DECL_MEM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_MEM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_MEM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_MEM) +#endif #if defined(SMC_CLC_DECL_TIMEOUT_CL) || (defined(HAVE_DECL_SMC_CLC_DECL_TIMEOUT_CL) && HAVE_DECL_SMC_CLC_DECL_TIMEOUT_CL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_TIMEOUT_CL) == (0x02010000), "SMC_CLC_DECL_TIMEOUT_CL != 0x02010000"); @@ -17,6 +27,16 @@ #else # define SMC_CLC_DECL_TIMEOUT_CL 0x02010000 #endif +#if defined(SMC_CLC_DECL_TIMEOUT_CL) || (defined(HAVE_DECL_SMC_CLC_DECL_TIMEOUT_CL) && HAVE_DECL_SMC_CLC_DECL_TIMEOUT_CL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_TIMEOUT_CL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_TIMEOUT_CL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_TIMEOUT_CL) +#endif #if defined(SMC_CLC_DECL_TIMEOUT_AL) || (defined(HAVE_DECL_SMC_CLC_DECL_TIMEOUT_AL) && HAVE_DECL_SMC_CLC_DECL_TIMEOUT_AL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_TIMEOUT_AL) == (0x02020000), "SMC_CLC_DECL_TIMEOUT_AL != 0x02020000"); @@ -24,6 +44,16 @@ #else # define SMC_CLC_DECL_TIMEOUT_AL 0x02020000 #endif +#if defined(SMC_CLC_DECL_TIMEOUT_AL) || (defined(HAVE_DECL_SMC_CLC_DECL_TIMEOUT_AL) && HAVE_DECL_SMC_CLC_DECL_TIMEOUT_AL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_TIMEOUT_AL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_TIMEOUT_AL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_TIMEOUT_AL) +#endif #if defined(SMC_CLC_DECL_CNFERR) || (defined(HAVE_DECL_SMC_CLC_DECL_CNFERR) && HAVE_DECL_SMC_CLC_DECL_CNFERR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_CNFERR) == (0x03000000), "SMC_CLC_DECL_CNFERR != 0x03000000"); @@ -31,6 +61,16 @@ #else # define SMC_CLC_DECL_CNFERR 0x03000000 #endif +#if defined(SMC_CLC_DECL_CNFERR) || (defined(HAVE_DECL_SMC_CLC_DECL_CNFERR) && HAVE_DECL_SMC_CLC_DECL_CNFERR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_CNFERR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_CNFERR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_CNFERR) +#endif #if defined(SMC_CLC_DECL_PEERNOSMC) || (defined(HAVE_DECL_SMC_CLC_DECL_PEERNOSMC) && HAVE_DECL_SMC_CLC_DECL_PEERNOSMC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_PEERNOSMC) == (0x03010000), "SMC_CLC_DECL_PEERNOSMC != 0x03010000"); @@ -38,6 +78,16 @@ #else # define SMC_CLC_DECL_PEERNOSMC 0x03010000 #endif +#if defined(SMC_CLC_DECL_PEERNOSMC) || (defined(HAVE_DECL_SMC_CLC_DECL_PEERNOSMC) && HAVE_DECL_SMC_CLC_DECL_PEERNOSMC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_PEERNOSMC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_PEERNOSMC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_PEERNOSMC) +#endif #if defined(SMC_CLC_DECL_IPSEC) || (defined(HAVE_DECL_SMC_CLC_DECL_IPSEC) && HAVE_DECL_SMC_CLC_DECL_IPSEC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_IPSEC) == (0x03020000), "SMC_CLC_DECL_IPSEC != 0x03020000"); @@ -45,6 +95,16 @@ #else # define SMC_CLC_DECL_IPSEC 0x03020000 #endif +#if defined(SMC_CLC_DECL_IPSEC) || (defined(HAVE_DECL_SMC_CLC_DECL_IPSEC) && HAVE_DECL_SMC_CLC_DECL_IPSEC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_IPSEC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_IPSEC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_IPSEC) +#endif #if defined(SMC_CLC_DECL_NOSMCDEV) || (defined(HAVE_DECL_SMC_CLC_DECL_NOSMCDEV) && HAVE_DECL_SMC_CLC_DECL_NOSMCDEV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_NOSMCDEV) == (0x03030000), "SMC_CLC_DECL_NOSMCDEV != 0x03030000"); @@ -52,6 +112,16 @@ #else # define SMC_CLC_DECL_NOSMCDEV 0x03030000 #endif +#if defined(SMC_CLC_DECL_NOSMCDEV) || (defined(HAVE_DECL_SMC_CLC_DECL_NOSMCDEV) && HAVE_DECL_SMC_CLC_DECL_NOSMCDEV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_NOSMCDEV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_NOSMCDEV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_NOSMCDEV) +#endif #if defined(SMC_CLC_DECL_MODEUNSUPP) || (defined(HAVE_DECL_SMC_CLC_DECL_MODEUNSUPP) && HAVE_DECL_SMC_CLC_DECL_MODEUNSUPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_MODEUNSUPP) == (0x03040000), "SMC_CLC_DECL_MODEUNSUPP != 0x03040000"); @@ -59,6 +129,16 @@ #else # define SMC_CLC_DECL_MODEUNSUPP 0x03040000 #endif +#if defined(SMC_CLC_DECL_MODEUNSUPP) || (defined(HAVE_DECL_SMC_CLC_DECL_MODEUNSUPP) && HAVE_DECL_SMC_CLC_DECL_MODEUNSUPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_MODEUNSUPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_MODEUNSUPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_MODEUNSUPP) +#endif #if defined(SMC_CLC_DECL_RMBE_EC) || (defined(HAVE_DECL_SMC_CLC_DECL_RMBE_EC) && HAVE_DECL_SMC_CLC_DECL_RMBE_EC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_RMBE_EC) == (0x03050000), "SMC_CLC_DECL_RMBE_EC != 0x03050000"); @@ -66,6 +146,16 @@ #else # define SMC_CLC_DECL_RMBE_EC 0x03050000 #endif +#if defined(SMC_CLC_DECL_RMBE_EC) || (defined(HAVE_DECL_SMC_CLC_DECL_RMBE_EC) && HAVE_DECL_SMC_CLC_DECL_RMBE_EC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_RMBE_EC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_RMBE_EC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_RMBE_EC) +#endif #if defined(SMC_CLC_DECL_OPTUNSUPP) || (defined(HAVE_DECL_SMC_CLC_DECL_OPTUNSUPP) && HAVE_DECL_SMC_CLC_DECL_OPTUNSUPP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_OPTUNSUPP) == (0x03060000), "SMC_CLC_DECL_OPTUNSUPP != 0x03060000"); @@ -73,6 +163,16 @@ #else # define SMC_CLC_DECL_OPTUNSUPP 0x03060000 #endif +#if defined(SMC_CLC_DECL_OPTUNSUPP) || (defined(HAVE_DECL_SMC_CLC_DECL_OPTUNSUPP) && HAVE_DECL_SMC_CLC_DECL_OPTUNSUPP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_OPTUNSUPP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_OPTUNSUPP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_OPTUNSUPP) +#endif #if defined(SMC_CLC_DECL_SYNCERR) || (defined(HAVE_DECL_SMC_CLC_DECL_SYNCERR) && HAVE_DECL_SMC_CLC_DECL_SYNCERR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_SYNCERR) == (0x04000000), "SMC_CLC_DECL_SYNCERR != 0x04000000"); @@ -80,6 +180,16 @@ #else # define SMC_CLC_DECL_SYNCERR 0x04000000 #endif +#if defined(SMC_CLC_DECL_SYNCERR) || (defined(HAVE_DECL_SMC_CLC_DECL_SYNCERR) && HAVE_DECL_SMC_CLC_DECL_SYNCERR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_SYNCERR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_SYNCERR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_SYNCERR) +#endif #if defined(SMC_CLC_DECL_PEERDECL) || (defined(HAVE_DECL_SMC_CLC_DECL_PEERDECL) && HAVE_DECL_SMC_CLC_DECL_PEERDECL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_PEERDECL) == (0x05000000), "SMC_CLC_DECL_PEERDECL != 0x05000000"); @@ -87,6 +197,16 @@ #else # define SMC_CLC_DECL_PEERDECL 0x05000000 #endif +#if defined(SMC_CLC_DECL_PEERDECL) || (defined(HAVE_DECL_SMC_CLC_DECL_PEERDECL) && HAVE_DECL_SMC_CLC_DECL_PEERDECL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_PEERDECL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_PEERDECL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_PEERDECL) +#endif #if defined(SMC_CLC_DECL_INTERR) || (defined(HAVE_DECL_SMC_CLC_DECL_INTERR) && HAVE_DECL_SMC_CLC_DECL_INTERR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_INTERR) == (0x99990000), "SMC_CLC_DECL_INTERR != 0x99990000"); @@ -94,6 +214,16 @@ #else # define SMC_CLC_DECL_INTERR 0x99990000 #endif +#if defined(SMC_CLC_DECL_INTERR) || (defined(HAVE_DECL_SMC_CLC_DECL_INTERR) && HAVE_DECL_SMC_CLC_DECL_INTERR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_INTERR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_INTERR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_INTERR) +#endif #if defined(SMC_CLC_DECL_ERR_RTOK) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_RTOK) && HAVE_DECL_SMC_CLC_DECL_ERR_RTOK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_ERR_RTOK) == (0x99990001), "SMC_CLC_DECL_ERR_RTOK != 0x99990001"); @@ -101,6 +231,16 @@ #else # define SMC_CLC_DECL_ERR_RTOK 0x99990001 #endif +#if defined(SMC_CLC_DECL_ERR_RTOK) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_RTOK) && HAVE_DECL_SMC_CLC_DECL_ERR_RTOK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_ERR_RTOK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_ERR_RTOK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_ERR_RTOK) +#endif #if defined(SMC_CLC_DECL_ERR_RDYLNK) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_RDYLNK) && HAVE_DECL_SMC_CLC_DECL_ERR_RDYLNK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_ERR_RDYLNK) == (0x99990002), "SMC_CLC_DECL_ERR_RDYLNK != 0x99990002"); @@ -108,6 +248,16 @@ #else # define SMC_CLC_DECL_ERR_RDYLNK 0x99990002 #endif +#if defined(SMC_CLC_DECL_ERR_RDYLNK) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_RDYLNK) && HAVE_DECL_SMC_CLC_DECL_ERR_RDYLNK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_ERR_RDYLNK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_ERR_RDYLNK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_ERR_RDYLNK) +#endif #if defined(SMC_CLC_DECL_ERR_REGRMB) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_REGRMB) && HAVE_DECL_SMC_CLC_DECL_ERR_REGRMB) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SMC_CLC_DECL_ERR_REGRMB) == (0x99990003), "SMC_CLC_DECL_ERR_REGRMB != 0x99990003"); @@ -115,6 +265,17 @@ #else # define SMC_CLC_DECL_ERR_REGRMB 0x99990003 #endif +#if defined(SMC_CLC_DECL_ERR_REGRMB) || (defined(HAVE_DECL_SMC_CLC_DECL_ERR_REGRMB) && HAVE_DECL_SMC_CLC_DECL_ERR_REGRMB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SMC_CLC_DECL_ERR_REGRMB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SMC_CLC_DECL_ERR_REGRMB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SMC_CLC_DECL_ERR_REGRMB) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_diag_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_diag_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_diag_extended_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_diag_extended_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_diag_mode.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_diag_mode.h
Changed
@@ -24,6 +24,7 @@ #else # define SMC_DIAG_MODE_SMCD 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_link_group_roles.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_link_group_roles.h
Changed
@@ -17,6 +17,7 @@ #else # define SMC_SERV 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_protocols.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_protocols.h
Changed
@@ -17,6 +17,7 @@ #else # define SMCPROTO_SMC6 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/smc_states.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/smc_states.h
Changed
@@ -87,6 +87,7 @@ #else # define SMC_PROCESSABORT 27 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/snmp_icmp6_stats.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/snmp_icmp6_stats.h
Changed
@@ -45,6 +45,7 @@ #else # define ICMP6_MIB_CSUMERRORS 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/snmp_ip_stats.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/snmp_ip_stats.h
Changed
@@ -262,6 +262,7 @@ #else # define IPSTATS_MIB_REASM_OVERLAPS 36 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_alg_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_alg_options.h
Changed
@@ -45,6 +45,7 @@ #else # define ALG_SET_DRBG_ENTROPY 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ax25_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ax25_options.h
Changed
@@ -10,6 +10,16 @@ #else # define AX25_WINDOW 1 #endif +#if defined(AX25_WINDOW) || (defined(HAVE_DECL_AX25_WINDOW) && HAVE_DECL_AX25_WINDOW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_WINDOW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_WINDOW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_WINDOW) +#endif #if defined(AX25_T1) || (defined(HAVE_DECL_AX25_T1) && HAVE_DECL_AX25_T1) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_T1) == (2), "AX25_T1 != 2"); @@ -17,6 +27,16 @@ #else # define AX25_T1 2 #endif +#if defined(AX25_T1) || (defined(HAVE_DECL_AX25_T1) && HAVE_DECL_AX25_T1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_T1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_T1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_T1) +#endif #if defined(AX25_N2) || (defined(HAVE_DECL_AX25_N2) && HAVE_DECL_AX25_N2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_N2) == (3), "AX25_N2 != 3"); @@ -24,6 +44,16 @@ #else # define AX25_N2 3 #endif +#if defined(AX25_N2) || (defined(HAVE_DECL_AX25_N2) && HAVE_DECL_AX25_N2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_N2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_N2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_N2) +#endif #if defined(AX25_T3) || (defined(HAVE_DECL_AX25_T3) && HAVE_DECL_AX25_T3) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_T3) == (4), "AX25_T3 != 4"); @@ -31,6 +61,16 @@ #else # define AX25_T3 4 #endif +#if defined(AX25_T3) || (defined(HAVE_DECL_AX25_T3) && HAVE_DECL_AX25_T3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_T3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_T3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_T3) +#endif #if defined(AX25_T2) || (defined(HAVE_DECL_AX25_T2) && HAVE_DECL_AX25_T2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_T2) == (5), "AX25_T2 != 5"); @@ -38,6 +78,16 @@ #else # define AX25_T2 5 #endif +#if defined(AX25_T2) || (defined(HAVE_DECL_AX25_T2) && HAVE_DECL_AX25_T2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_T2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_T2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_T2) +#endif #if defined(AX25_BACKOFF) || (defined(HAVE_DECL_AX25_BACKOFF) && HAVE_DECL_AX25_BACKOFF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_BACKOFF) == (6), "AX25_BACKOFF != 6"); @@ -45,6 +95,16 @@ #else # define AX25_BACKOFF 6 #endif +#if defined(AX25_BACKOFF) || (defined(HAVE_DECL_AX25_BACKOFF) && HAVE_DECL_AX25_BACKOFF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_BACKOFF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_BACKOFF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_BACKOFF) +#endif #if defined(AX25_EXTSEQ) || (defined(HAVE_DECL_AX25_EXTSEQ) && HAVE_DECL_AX25_EXTSEQ) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_EXTSEQ) == (7), "AX25_EXTSEQ != 7"); @@ -52,6 +112,16 @@ #else # define AX25_EXTSEQ 7 #endif +#if defined(AX25_EXTSEQ) || (defined(HAVE_DECL_AX25_EXTSEQ) && HAVE_DECL_AX25_EXTSEQ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_EXTSEQ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_EXTSEQ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_EXTSEQ) +#endif #if defined(AX25_PIDINCL) || (defined(HAVE_DECL_AX25_PIDINCL) && HAVE_DECL_AX25_PIDINCL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_PIDINCL) == (8), "AX25_PIDINCL != 8"); @@ -59,6 +129,16 @@ #else # define AX25_PIDINCL 8 #endif +#if defined(AX25_PIDINCL) || (defined(HAVE_DECL_AX25_PIDINCL) && HAVE_DECL_AX25_PIDINCL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_PIDINCL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_PIDINCL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_PIDINCL) +#endif #if defined(AX25_IDLE) || (defined(HAVE_DECL_AX25_IDLE) && HAVE_DECL_AX25_IDLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_IDLE) == (9), "AX25_IDLE != 9"); @@ -66,6 +146,16 @@ #else # define AX25_IDLE 9 #endif +#if defined(AX25_IDLE) || (defined(HAVE_DECL_AX25_IDLE) && HAVE_DECL_AX25_IDLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_IDLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_IDLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_IDLE) +#endif #if defined(AX25_PACLEN) || (defined(HAVE_DECL_AX25_PACLEN) && HAVE_DECL_AX25_PACLEN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_PACLEN) == (10), "AX25_PACLEN != 10"); @@ -73,6 +163,16 @@ #else # define AX25_PACLEN 10 #endif +#if defined(AX25_PACLEN) || (defined(HAVE_DECL_AX25_PACLEN) && HAVE_DECL_AX25_PACLEN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_PACLEN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_PACLEN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_PACLEN) +#endif #if defined(AX25_IAMDIGI) || (defined(HAVE_DECL_AX25_IAMDIGI) && HAVE_DECL_AX25_IAMDIGI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((AX25_IAMDIGI) == (12), "AX25_IAMDIGI != 12"); @@ -80,6 +180,27 @@ #else # define AX25_IAMDIGI 12 #endif +#if defined(AX25_IAMDIGI) || (defined(HAVE_DECL_AX25_IAMDIGI) && HAVE_DECL_AX25_IAMDIGI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AX25_IAMDIGI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AX25_IAMDIGI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AX25_IAMDIGI) +#endif +#if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SO_BINDTODEVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SO_BINDTODEVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SO_BINDTODEVICE) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_bluetooth_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_bluetooth_options.h
Changed
@@ -10,6 +10,16 @@ #else # define BT_SECURITY 4 #endif +#if defined(BT_SECURITY) || (defined(HAVE_DECL_BT_SECURITY) && HAVE_DECL_BT_SECURITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_SECURITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_SECURITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_SECURITY) +#endif #if defined(BT_DEFER_SETUP) || (defined(HAVE_DECL_BT_DEFER_SETUP) && HAVE_DECL_BT_DEFER_SETUP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_DEFER_SETUP) == (7), "BT_DEFER_SETUP != 7"); @@ -17,6 +27,16 @@ #else # define BT_DEFER_SETUP 7 #endif +#if defined(BT_DEFER_SETUP) || (defined(HAVE_DECL_BT_DEFER_SETUP) && HAVE_DECL_BT_DEFER_SETUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_DEFER_SETUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_DEFER_SETUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_DEFER_SETUP) +#endif #if defined(BT_FLUSHABLE) || (defined(HAVE_DECL_BT_FLUSHABLE) && HAVE_DECL_BT_FLUSHABLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_FLUSHABLE) == (8), "BT_FLUSHABLE != 8"); @@ -24,6 +44,16 @@ #else # define BT_FLUSHABLE 8 #endif +#if defined(BT_FLUSHABLE) || (defined(HAVE_DECL_BT_FLUSHABLE) && HAVE_DECL_BT_FLUSHABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_FLUSHABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_FLUSHABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_FLUSHABLE) +#endif #if defined(BT_POWER) || (defined(HAVE_DECL_BT_POWER) && HAVE_DECL_BT_POWER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_POWER) == (9), "BT_POWER != 9"); @@ -31,6 +61,16 @@ #else # define BT_POWER 9 #endif +#if defined(BT_POWER) || (defined(HAVE_DECL_BT_POWER) && HAVE_DECL_BT_POWER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_POWER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_POWER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_POWER) +#endif #if defined(BT_CHANNEL_POLICY) || (defined(HAVE_DECL_BT_CHANNEL_POLICY) && HAVE_DECL_BT_CHANNEL_POLICY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_CHANNEL_POLICY) == (10), "BT_CHANNEL_POLICY != 10"); @@ -38,6 +78,16 @@ #else # define BT_CHANNEL_POLICY 10 #endif +#if defined(BT_CHANNEL_POLICY) || (defined(HAVE_DECL_BT_CHANNEL_POLICY) && HAVE_DECL_BT_CHANNEL_POLICY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_CHANNEL_POLICY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_CHANNEL_POLICY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_CHANNEL_POLICY) +#endif #if defined(BT_VOICE) || (defined(HAVE_DECL_BT_VOICE) && HAVE_DECL_BT_VOICE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_VOICE) == (11), "BT_VOICE != 11"); @@ -45,6 +95,16 @@ #else # define BT_VOICE 11 #endif +#if defined(BT_VOICE) || (defined(HAVE_DECL_BT_VOICE) && HAVE_DECL_BT_VOICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_VOICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_VOICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_VOICE) +#endif #if defined(BT_SNDMTU) || (defined(HAVE_DECL_BT_SNDMTU) && HAVE_DECL_BT_SNDMTU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_SNDMTU) == (12), "BT_SNDMTU != 12"); @@ -52,6 +112,16 @@ #else # define BT_SNDMTU 12 #endif +#if defined(BT_SNDMTU) || (defined(HAVE_DECL_BT_SNDMTU) && HAVE_DECL_BT_SNDMTU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_SNDMTU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_SNDMTU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_SNDMTU) +#endif #if defined(BT_RCVMTU) || (defined(HAVE_DECL_BT_RCVMTU) && HAVE_DECL_BT_RCVMTU) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((BT_RCVMTU) == (13), "BT_RCVMTU != 13"); @@ -59,6 +129,17 @@ #else # define BT_RCVMTU 13 #endif +#if defined(BT_RCVMTU) || (defined(HAVE_DECL_BT_RCVMTU) && HAVE_DECL_BT_RCVMTU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (BT_RCVMTU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: BT_RCVMTU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (BT_RCVMTU) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_caif_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_caif_options.h
Changed
@@ -24,6 +24,7 @@ #else # define CAIFSO_RSP_PARAM 129 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_can_raw_options.h
Added
@@ -0,0 +1,141 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/sock_can_raw_options.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(CAN_RAW_FILTER) || (defined(HAVE_DECL_CAN_RAW_FILTER) && HAVE_DECL_CAN_RAW_FILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_FILTER) == (1), "CAN_RAW_FILTER != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_FILTER 1 +#endif +#if defined(CAN_RAW_ERR_FILTER) || (defined(HAVE_DECL_CAN_RAW_ERR_FILTER) && HAVE_DECL_CAN_RAW_ERR_FILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_ERR_FILTER) == (2), "CAN_RAW_ERR_FILTER != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_ERR_FILTER 2 +#endif +#if defined(CAN_RAW_LOOPBACK) || (defined(HAVE_DECL_CAN_RAW_LOOPBACK) && HAVE_DECL_CAN_RAW_LOOPBACK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_LOOPBACK) == (3), "CAN_RAW_LOOPBACK != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_LOOPBACK 3 +#endif +#if defined(CAN_RAW_RECV_OWN_MSGS) || (defined(HAVE_DECL_CAN_RAW_RECV_OWN_MSGS) && HAVE_DECL_CAN_RAW_RECV_OWN_MSGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_RECV_OWN_MSGS) == (4), "CAN_RAW_RECV_OWN_MSGS != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_RECV_OWN_MSGS 4 +#endif +#if defined(CAN_RAW_FD_FRAMES) || (defined(HAVE_DECL_CAN_RAW_FD_FRAMES) && HAVE_DECL_CAN_RAW_FD_FRAMES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_FD_FRAMES) == (5), "CAN_RAW_FD_FRAMES != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_FD_FRAMES 5 +#endif +#if defined(CAN_RAW_JOIN_FILTERS) || (defined(HAVE_DECL_CAN_RAW_JOIN_FILTERS) && HAVE_DECL_CAN_RAW_JOIN_FILTERS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((CAN_RAW_JOIN_FILTERS) == (6), "CAN_RAW_JOIN_FILTERS != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define CAN_RAW_JOIN_FILTERS 6 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat sock_can_raw_options in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data sock_can_raw_options_xdata = { + CAN_RAW_FILTER = XLAT(CAN_RAW_FILTER), + #define XLAT_VAL_0 ((unsigned) (CAN_RAW_FILTER)) + #define XLAT_STR_0 STRINGIFY(CAN_RAW_FILTER) + CAN_RAW_ERR_FILTER = XLAT(CAN_RAW_ERR_FILTER), + #define XLAT_VAL_1 ((unsigned) (CAN_RAW_ERR_FILTER)) + #define XLAT_STR_1 STRINGIFY(CAN_RAW_ERR_FILTER) + CAN_RAW_LOOPBACK = XLAT(CAN_RAW_LOOPBACK), + #define XLAT_VAL_2 ((unsigned) (CAN_RAW_LOOPBACK)) + #define XLAT_STR_2 STRINGIFY(CAN_RAW_LOOPBACK) + CAN_RAW_RECV_OWN_MSGS = XLAT(CAN_RAW_RECV_OWN_MSGS), + #define XLAT_VAL_3 ((unsigned) (CAN_RAW_RECV_OWN_MSGS)) + #define XLAT_STR_3 STRINGIFY(CAN_RAW_RECV_OWN_MSGS) + CAN_RAW_FD_FRAMES = XLAT(CAN_RAW_FD_FRAMES), + #define XLAT_VAL_4 ((unsigned) (CAN_RAW_FD_FRAMES)) + #define XLAT_STR_4 STRINGIFY(CAN_RAW_FD_FRAMES) + CAN_RAW_JOIN_FILTERS = XLAT(CAN_RAW_JOIN_FILTERS), + #define XLAT_VAL_5 ((unsigned) (CAN_RAW_JOIN_FILTERS)) + #define XLAT_STR_5 STRINGIFY(CAN_RAW_JOIN_FILTERS) +}; +static +const struct xlat sock_can_raw_options1 = { { + .data = sock_can_raw_options_xdata, + .size = ARRAY_SIZE(sock_can_raw_options_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_can_raw_options.in
Added
@@ -0,0 +1,7 @@ +#value_indexed +CAN_RAW_FILTER 1 +CAN_RAW_ERR_FILTER 2 +CAN_RAW_LOOPBACK 3 +CAN_RAW_RECV_OWN_MSGS 4 +CAN_RAW_FD_FRAMES 5 +CAN_RAW_JOIN_FILTERS 6
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_dccp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_dccp_options.h
Changed
@@ -10,6 +10,16 @@ #else # define DCCP_SOCKOPT_PACKET_SIZE 1 #endif +#if defined(DCCP_SOCKOPT_PACKET_SIZE) || (defined(HAVE_DECL_DCCP_SOCKOPT_PACKET_SIZE) && HAVE_DECL_DCCP_SOCKOPT_PACKET_SIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_PACKET_SIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_PACKET_SIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_PACKET_SIZE) +#endif #if defined(DCCP_SOCKOPT_SERVICE) || (defined(HAVE_DECL_DCCP_SOCKOPT_SERVICE) && HAVE_DECL_DCCP_SOCKOPT_SERVICE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_SERVICE) == (2), "DCCP_SOCKOPT_SERVICE != 2"); @@ -17,6 +27,16 @@ #else # define DCCP_SOCKOPT_SERVICE 2 #endif +#if defined(DCCP_SOCKOPT_SERVICE) || (defined(HAVE_DECL_DCCP_SOCKOPT_SERVICE) && HAVE_DECL_DCCP_SOCKOPT_SERVICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_SERVICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_SERVICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_SERVICE) +#endif #if defined(DCCP_SOCKOPT_CHANGE_L) || (defined(HAVE_DECL_DCCP_SOCKOPT_CHANGE_L) && HAVE_DECL_DCCP_SOCKOPT_CHANGE_L) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_CHANGE_L) == (3), "DCCP_SOCKOPT_CHANGE_L != 3"); @@ -24,6 +44,16 @@ #else # define DCCP_SOCKOPT_CHANGE_L 3 #endif +#if defined(DCCP_SOCKOPT_CHANGE_L) || (defined(HAVE_DECL_DCCP_SOCKOPT_CHANGE_L) && HAVE_DECL_DCCP_SOCKOPT_CHANGE_L) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_CHANGE_L) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_CHANGE_L" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_CHANGE_L) +#endif #if defined(DCCP_SOCKOPT_CHANGE_R) || (defined(HAVE_DECL_DCCP_SOCKOPT_CHANGE_R) && HAVE_DECL_DCCP_SOCKOPT_CHANGE_R) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_CHANGE_R) == (4), "DCCP_SOCKOPT_CHANGE_R != 4"); @@ -31,6 +61,16 @@ #else # define DCCP_SOCKOPT_CHANGE_R 4 #endif +#if defined(DCCP_SOCKOPT_CHANGE_R) || (defined(HAVE_DECL_DCCP_SOCKOPT_CHANGE_R) && HAVE_DECL_DCCP_SOCKOPT_CHANGE_R) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_CHANGE_R) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_CHANGE_R" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_CHANGE_R) +#endif #if defined(DCCP_SOCKOPT_GET_CUR_MPS) || (defined(HAVE_DECL_DCCP_SOCKOPT_GET_CUR_MPS) && HAVE_DECL_DCCP_SOCKOPT_GET_CUR_MPS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_GET_CUR_MPS) == (5), "DCCP_SOCKOPT_GET_CUR_MPS != 5"); @@ -38,6 +78,16 @@ #else # define DCCP_SOCKOPT_GET_CUR_MPS 5 #endif +#if defined(DCCP_SOCKOPT_GET_CUR_MPS) || (defined(HAVE_DECL_DCCP_SOCKOPT_GET_CUR_MPS) && HAVE_DECL_DCCP_SOCKOPT_GET_CUR_MPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_GET_CUR_MPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_GET_CUR_MPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_GET_CUR_MPS) +#endif #if defined(DCCP_SOCKOPT_SERVER_TIMEWAIT) || (defined(HAVE_DECL_DCCP_SOCKOPT_SERVER_TIMEWAIT) && HAVE_DECL_DCCP_SOCKOPT_SERVER_TIMEWAIT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_SERVER_TIMEWAIT) == (6), "DCCP_SOCKOPT_SERVER_TIMEWAIT != 6"); @@ -45,6 +95,16 @@ #else # define DCCP_SOCKOPT_SERVER_TIMEWAIT 6 #endif +#if defined(DCCP_SOCKOPT_SERVER_TIMEWAIT) || (defined(HAVE_DECL_DCCP_SOCKOPT_SERVER_TIMEWAIT) && HAVE_DECL_DCCP_SOCKOPT_SERVER_TIMEWAIT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_SERVER_TIMEWAIT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_SERVER_TIMEWAIT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_SERVER_TIMEWAIT) +#endif #if defined(DCCP_SOCKOPT_SEND_CSCOV) || (defined(HAVE_DECL_DCCP_SOCKOPT_SEND_CSCOV) && HAVE_DECL_DCCP_SOCKOPT_SEND_CSCOV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_SEND_CSCOV) == (10), "DCCP_SOCKOPT_SEND_CSCOV != 10"); @@ -52,6 +112,16 @@ #else # define DCCP_SOCKOPT_SEND_CSCOV 10 #endif +#if defined(DCCP_SOCKOPT_SEND_CSCOV) || (defined(HAVE_DECL_DCCP_SOCKOPT_SEND_CSCOV) && HAVE_DECL_DCCP_SOCKOPT_SEND_CSCOV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_SEND_CSCOV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_SEND_CSCOV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_SEND_CSCOV) +#endif #if defined(DCCP_SOCKOPT_RECV_CSCOV) || (defined(HAVE_DECL_DCCP_SOCKOPT_RECV_CSCOV) && HAVE_DECL_DCCP_SOCKOPT_RECV_CSCOV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_RECV_CSCOV) == (11), "DCCP_SOCKOPT_RECV_CSCOV != 11"); @@ -59,6 +129,16 @@ #else # define DCCP_SOCKOPT_RECV_CSCOV 11 #endif +#if defined(DCCP_SOCKOPT_RECV_CSCOV) || (defined(HAVE_DECL_DCCP_SOCKOPT_RECV_CSCOV) && HAVE_DECL_DCCP_SOCKOPT_RECV_CSCOV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_RECV_CSCOV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_RECV_CSCOV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_RECV_CSCOV) +#endif #if defined(DCCP_SOCKOPT_AVAILABLE_CCIDS) || (defined(HAVE_DECL_DCCP_SOCKOPT_AVAILABLE_CCIDS) && HAVE_DECL_DCCP_SOCKOPT_AVAILABLE_CCIDS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_AVAILABLE_CCIDS) == (12), "DCCP_SOCKOPT_AVAILABLE_CCIDS != 12"); @@ -66,6 +146,16 @@ #else # define DCCP_SOCKOPT_AVAILABLE_CCIDS 12 #endif +#if defined(DCCP_SOCKOPT_AVAILABLE_CCIDS) || (defined(HAVE_DECL_DCCP_SOCKOPT_AVAILABLE_CCIDS) && HAVE_DECL_DCCP_SOCKOPT_AVAILABLE_CCIDS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_AVAILABLE_CCIDS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_AVAILABLE_CCIDS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_AVAILABLE_CCIDS) +#endif #if defined(DCCP_SOCKOPT_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID) && HAVE_DECL_DCCP_SOCKOPT_CCID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_CCID) == (13), "DCCP_SOCKOPT_CCID != 13"); @@ -73,6 +163,16 @@ #else # define DCCP_SOCKOPT_CCID 13 #endif +#if defined(DCCP_SOCKOPT_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID) && HAVE_DECL_DCCP_SOCKOPT_CCID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_CCID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_CCID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_CCID) +#endif #if defined(DCCP_SOCKOPT_TX_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_TX_CCID) && HAVE_DECL_DCCP_SOCKOPT_TX_CCID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_TX_CCID) == (14), "DCCP_SOCKOPT_TX_CCID != 14"); @@ -80,6 +180,16 @@ #else # define DCCP_SOCKOPT_TX_CCID 14 #endif +#if defined(DCCP_SOCKOPT_TX_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_TX_CCID) && HAVE_DECL_DCCP_SOCKOPT_TX_CCID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_TX_CCID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_TX_CCID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_TX_CCID) +#endif #if defined(DCCP_SOCKOPT_RX_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_RX_CCID) && HAVE_DECL_DCCP_SOCKOPT_RX_CCID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_RX_CCID) == (15), "DCCP_SOCKOPT_RX_CCID != 15"); @@ -87,6 +197,16 @@ #else # define DCCP_SOCKOPT_RX_CCID 15 #endif +#if defined(DCCP_SOCKOPT_RX_CCID) || (defined(HAVE_DECL_DCCP_SOCKOPT_RX_CCID) && HAVE_DECL_DCCP_SOCKOPT_RX_CCID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_RX_CCID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_RX_CCID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_RX_CCID) +#endif #if defined(DCCP_SOCKOPT_QPOLICY_ID) || (defined(HAVE_DECL_DCCP_SOCKOPT_QPOLICY_ID) && HAVE_DECL_DCCP_SOCKOPT_QPOLICY_ID) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_QPOLICY_ID) == (16), "DCCP_SOCKOPT_QPOLICY_ID != 16"); @@ -94,6 +214,16 @@ #else # define DCCP_SOCKOPT_QPOLICY_ID 16 #endif +#if defined(DCCP_SOCKOPT_QPOLICY_ID) || (defined(HAVE_DECL_DCCP_SOCKOPT_QPOLICY_ID) && HAVE_DECL_DCCP_SOCKOPT_QPOLICY_ID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_QPOLICY_ID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_QPOLICY_ID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_QPOLICY_ID) +#endif #if defined(DCCP_SOCKOPT_QPOLICY_TXQLEN) || (defined(HAVE_DECL_DCCP_SOCKOPT_QPOLICY_TXQLEN) && HAVE_DECL_DCCP_SOCKOPT_QPOLICY_TXQLEN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_QPOLICY_TXQLEN) == (17), "DCCP_SOCKOPT_QPOLICY_TXQLEN != 17"); @@ -101,6 +231,16 @@ #else # define DCCP_SOCKOPT_QPOLICY_TXQLEN 17 #endif +#if defined(DCCP_SOCKOPT_QPOLICY_TXQLEN) || (defined(HAVE_DECL_DCCP_SOCKOPT_QPOLICY_TXQLEN) && HAVE_DECL_DCCP_SOCKOPT_QPOLICY_TXQLEN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_QPOLICY_TXQLEN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_QPOLICY_TXQLEN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_QPOLICY_TXQLEN) +#endif #if defined(DCCP_SOCKOPT_CCID_RX_INFO) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID_RX_INFO) && HAVE_DECL_DCCP_SOCKOPT_CCID_RX_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_CCID_RX_INFO) == (128), "DCCP_SOCKOPT_CCID_RX_INFO != 128"); @@ -108,6 +248,16 @@ #else # define DCCP_SOCKOPT_CCID_RX_INFO 128 #endif +#if defined(DCCP_SOCKOPT_CCID_RX_INFO) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID_RX_INFO) && HAVE_DECL_DCCP_SOCKOPT_CCID_RX_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_CCID_RX_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_CCID_RX_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_CCID_RX_INFO) +#endif #if defined(DCCP_SOCKOPT_CCID_TX_INFO) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID_TX_INFO) && HAVE_DECL_DCCP_SOCKOPT_CCID_TX_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((DCCP_SOCKOPT_CCID_TX_INFO) == (192), "DCCP_SOCKOPT_CCID_TX_INFO != 192"); @@ -115,6 +265,17 @@ #else # define DCCP_SOCKOPT_CCID_TX_INFO 192 #endif +#if defined(DCCP_SOCKOPT_CCID_TX_INFO) || (defined(HAVE_DECL_DCCP_SOCKOPT_CCID_TX_INFO) && HAVE_DECL_DCCP_SOCKOPT_CCID_TX_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (DCCP_SOCKOPT_CCID_TX_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: DCCP_SOCKOPT_CCID_TX_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (DCCP_SOCKOPT_CCID_TX_INFO) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ip_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ip_options.h
Changed
@@ -3,278 +3,474 @@ #include "gcc_compat.h" #include "static_assert.h" - -#ifndef XLAT_MACROS_ONLY - -# ifdef IN_MPERS - -# error static const struct xlat sock_ip_options in mpers mode - -# else - -DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE -static const struct xlat_data sock_ip_options_xdata = { #if defined(IP_TOS) || (defined(HAVE_DECL_IP_TOS) && HAVE_DECL_IP_TOS) - XLAT(IP_TOS), - #define XLAT_VAL_0 ((unsigned) (IP_TOS)) - #define XLAT_STR_0 STRINGIFY(IP_TOS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_TOS) == (1), "IP_TOS != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_TOS 1 #endif #if defined(IP_TTL) || (defined(HAVE_DECL_IP_TTL) && HAVE_DECL_IP_TTL) - XLAT(IP_TTL), - #define XLAT_VAL_1 ((unsigned) (IP_TTL)) - #define XLAT_STR_1 STRINGIFY(IP_TTL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_TTL) == (2), "IP_TTL != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_TTL 2 #endif #if defined(IP_HDRINCL) || (defined(HAVE_DECL_IP_HDRINCL) && HAVE_DECL_IP_HDRINCL) - XLAT(IP_HDRINCL), - #define XLAT_VAL_2 ((unsigned) (IP_HDRINCL)) - #define XLAT_STR_2 STRINGIFY(IP_HDRINCL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_HDRINCL) == (3), "IP_HDRINCL != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_HDRINCL 3 #endif #if defined(IP_OPTIONS) || (defined(HAVE_DECL_IP_OPTIONS) && HAVE_DECL_IP_OPTIONS) - XLAT(IP_OPTIONS), - #define XLAT_VAL_3 ((unsigned) (IP_OPTIONS)) - #define XLAT_STR_3 STRINGIFY(IP_OPTIONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_OPTIONS) == (4), "IP_OPTIONS != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_OPTIONS 4 #endif #if defined(IP_ROUTER_ALERT) || (defined(HAVE_DECL_IP_ROUTER_ALERT) && HAVE_DECL_IP_ROUTER_ALERT) - XLAT(IP_ROUTER_ALERT), - #define XLAT_VAL_4 ((unsigned) (IP_ROUTER_ALERT)) - #define XLAT_STR_4 STRINGIFY(IP_ROUTER_ALERT) -#endif -#if defined(IP_RECVOPTIONS) || (defined(HAVE_DECL_IP_RECVOPTIONS) && HAVE_DECL_IP_RECVOPTIONS) - XLAT(IP_RECVOPTIONS), - #define XLAT_VAL_5 ((unsigned) (IP_RECVOPTIONS)) - #define XLAT_STR_5 STRINGIFY(IP_RECVOPTIONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_ROUTER_ALERT) == (5), "IP_ROUTER_ALERT != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_ROUTER_ALERT 5 #endif #if defined(IP_RECVOPTS) || (defined(HAVE_DECL_IP_RECVOPTS) && HAVE_DECL_IP_RECVOPTS) - XLAT(IP_RECVOPTS), - #define XLAT_VAL_6 ((unsigned) (IP_RECVOPTS)) - #define XLAT_STR_6 STRINGIFY(IP_RECVOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVOPTS) == (6), "IP_RECVOPTS != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVOPTS 6 #endif #if defined(IP_RETOPTS) || (defined(HAVE_DECL_IP_RETOPTS) && HAVE_DECL_IP_RETOPTS) - XLAT(IP_RETOPTS), - #define XLAT_VAL_7 ((unsigned) (IP_RETOPTS)) - #define XLAT_STR_7 STRINGIFY(IP_RETOPTS) -#endif -#if defined(IP_RECVRETOPTS) || (defined(HAVE_DECL_IP_RECVRETOPTS) && HAVE_DECL_IP_RECVRETOPTS) - XLAT(IP_RECVRETOPTS), - #define XLAT_VAL_8 ((unsigned) (IP_RECVRETOPTS)) - #define XLAT_STR_8 STRINGIFY(IP_RECVRETOPTS) -#endif -#if defined(IP_RECVDSTADDR) || (defined(HAVE_DECL_IP_RECVDSTADDR) && HAVE_DECL_IP_RECVDSTADDR) - XLAT(IP_RECVDSTADDR), - #define XLAT_VAL_9 ((unsigned) (IP_RECVDSTADDR)) - #define XLAT_STR_9 STRINGIFY(IP_RECVDSTADDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RETOPTS) == (7), "IP_RETOPTS != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RETOPTS 7 #endif #if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO) - XLAT(IP_PKTINFO), - #define XLAT_VAL_10 ((unsigned) (IP_PKTINFO)) - #define XLAT_STR_10 STRINGIFY(IP_PKTINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_PKTINFO) == (8), "IP_PKTINFO != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_PKTINFO 8 #endif #if defined(IP_PKTOPTIONS) || (defined(HAVE_DECL_IP_PKTOPTIONS) && HAVE_DECL_IP_PKTOPTIONS) - XLAT(IP_PKTOPTIONS), - #define XLAT_VAL_11 ((unsigned) (IP_PKTOPTIONS)) - #define XLAT_STR_11 STRINGIFY(IP_PKTOPTIONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_PKTOPTIONS) == (9), "IP_PKTOPTIONS != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_PKTOPTIONS 9 #endif #if defined(IP_MTU_DISCOVER) || (defined(HAVE_DECL_IP_MTU_DISCOVER) && HAVE_DECL_IP_MTU_DISCOVER) - XLAT(IP_MTU_DISCOVER), - #define XLAT_VAL_12 ((unsigned) (IP_MTU_DISCOVER)) - #define XLAT_STR_12 STRINGIFY(IP_MTU_DISCOVER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MTU_DISCOVER) == (10), "IP_MTU_DISCOVER != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MTU_DISCOVER 10 #endif #if defined(IP_RECVERR) || (defined(HAVE_DECL_IP_RECVERR) && HAVE_DECL_IP_RECVERR) - XLAT(IP_RECVERR), - #define XLAT_VAL_13 ((unsigned) (IP_RECVERR)) - #define XLAT_STR_13 STRINGIFY(IP_RECVERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVERR) == (11), "IP_RECVERR != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVERR 11 #endif #if defined(IP_RECVTTL) || (defined(HAVE_DECL_IP_RECVTTL) && HAVE_DECL_IP_RECVTTL) - XLAT(IP_RECVTTL), - #define XLAT_VAL_14 ((unsigned) (IP_RECVTTL)) - #define XLAT_STR_14 STRINGIFY(IP_RECVTTL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVTTL) == (12), "IP_RECVTTL != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVTTL 12 #endif #if defined(IP_RECVTOS) || (defined(HAVE_DECL_IP_RECVTOS) && HAVE_DECL_IP_RECVTOS) - XLAT(IP_RECVTOS), - #define XLAT_VAL_15 ((unsigned) (IP_RECVTOS)) - #define XLAT_STR_15 STRINGIFY(IP_RECVTOS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVTOS) == (13), "IP_RECVTOS != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVTOS 13 #endif #if defined(IP_MTU) || (defined(HAVE_DECL_IP_MTU) && HAVE_DECL_IP_MTU) - XLAT(IP_MTU), - #define XLAT_VAL_16 ((unsigned) (IP_MTU)) - #define XLAT_STR_16 STRINGIFY(IP_MTU) -#endif -#if defined(IP_MULTICAST_IF) || (defined(HAVE_DECL_IP_MULTICAST_IF) && HAVE_DECL_IP_MULTICAST_IF) - XLAT(IP_MULTICAST_IF), - #define XLAT_VAL_17 ((unsigned) (IP_MULTICAST_IF)) - #define XLAT_STR_17 STRINGIFY(IP_MULTICAST_IF) -#endif -#if defined(IP_MULTICAST_TTL) || (defined(HAVE_DECL_IP_MULTICAST_TTL) && HAVE_DECL_IP_MULTICAST_TTL) - XLAT(IP_MULTICAST_TTL), - #define XLAT_VAL_18 ((unsigned) (IP_MULTICAST_TTL)) - #define XLAT_STR_18 STRINGIFY(IP_MULTICAST_TTL) -#endif -#if defined(IP_MULTICAST_LOOP) || (defined(HAVE_DECL_IP_MULTICAST_LOOP) && HAVE_DECL_IP_MULTICAST_LOOP) - XLAT(IP_MULTICAST_LOOP), - #define XLAT_VAL_19 ((unsigned) (IP_MULTICAST_LOOP)) - #define XLAT_STR_19 STRINGIFY(IP_MULTICAST_LOOP) -#endif -#if defined(IP_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_MEMBERSHIP) && HAVE_DECL_IP_ADD_MEMBERSHIP) - XLAT(IP_ADD_MEMBERSHIP), - #define XLAT_VAL_20 ((unsigned) (IP_ADD_MEMBERSHIP)) - #define XLAT_STR_20 STRINGIFY(IP_ADD_MEMBERSHIP) -#endif -#if defined(IP_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_MEMBERSHIP) && HAVE_DECL_IP_DROP_MEMBERSHIP) - XLAT(IP_DROP_MEMBERSHIP), - #define XLAT_VAL_21 ((unsigned) (IP_DROP_MEMBERSHIP)) - #define XLAT_STR_21 STRINGIFY(IP_DROP_MEMBERSHIP) -#endif -#if defined(IP_BROADCAST_IF) || (defined(HAVE_DECL_IP_BROADCAST_IF) && HAVE_DECL_IP_BROADCAST_IF) - XLAT(IP_BROADCAST_IF), - #define XLAT_VAL_22 ((unsigned) (IP_BROADCAST_IF)) - #define XLAT_STR_22 STRINGIFY(IP_BROADCAST_IF) -#endif -#if defined(IP_RECVIFINDEX) || (defined(HAVE_DECL_IP_RECVIFINDEX) && HAVE_DECL_IP_RECVIFINDEX) - XLAT(IP_RECVIFINDEX), - #define XLAT_VAL_23 ((unsigned) (IP_RECVIFINDEX)) - #define XLAT_STR_23 STRINGIFY(IP_RECVIFINDEX) -#endif -#if defined(IP_MSFILTER) || (defined(HAVE_DECL_IP_MSFILTER) && HAVE_DECL_IP_MSFILTER) - XLAT(IP_MSFILTER), - #define XLAT_VAL_24 ((unsigned) (IP_MSFILTER)) - #define XLAT_STR_24 STRINGIFY(IP_MSFILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MTU) == (14), "IP_MTU != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MTU 14 #endif #if defined(IP_FREEBIND) || (defined(HAVE_DECL_IP_FREEBIND) && HAVE_DECL_IP_FREEBIND) - XLAT(IP_FREEBIND), - #define XLAT_VAL_25 ((unsigned) (IP_FREEBIND)) - #define XLAT_STR_25 STRINGIFY(IP_FREEBIND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_FREEBIND) == (15), "IP_FREEBIND != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_FREEBIND 15 #endif #if defined(IP_IPSEC_POLICY) || (defined(HAVE_DECL_IP_IPSEC_POLICY) && HAVE_DECL_IP_IPSEC_POLICY) - XLAT(IP_IPSEC_POLICY), - #define XLAT_VAL_26 ((unsigned) (IP_IPSEC_POLICY)) - #define XLAT_STR_26 STRINGIFY(IP_IPSEC_POLICY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_IPSEC_POLICY) == (16), "IP_IPSEC_POLICY != 16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_IPSEC_POLICY 16 #endif #if defined(IP_XFRM_POLICY) || (defined(HAVE_DECL_IP_XFRM_POLICY) && HAVE_DECL_IP_XFRM_POLICY) - XLAT(IP_XFRM_POLICY), - #define XLAT_VAL_27 ((unsigned) (IP_XFRM_POLICY)) - #define XLAT_STR_27 STRINGIFY(IP_XFRM_POLICY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_XFRM_POLICY) == (17), "IP_XFRM_POLICY != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_XFRM_POLICY 17 #endif #if defined(IP_PASSSEC) || (defined(HAVE_DECL_IP_PASSSEC) && HAVE_DECL_IP_PASSSEC) - XLAT(IP_PASSSEC), - #define XLAT_VAL_28 ((unsigned) (IP_PASSSEC)) - #define XLAT_STR_28 STRINGIFY(IP_PASSSEC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_PASSSEC) == (18), "IP_PASSSEC != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_PASSSEC 18 #endif #if defined(IP_TRANSPARENT) || (defined(HAVE_DECL_IP_TRANSPARENT) && HAVE_DECL_IP_TRANSPARENT) - XLAT(IP_TRANSPARENT), - #define XLAT_VAL_29 ((unsigned) (IP_TRANSPARENT)) - #define XLAT_STR_29 STRINGIFY(IP_TRANSPARENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_TRANSPARENT) == (19), "IP_TRANSPARENT != 19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_TRANSPARENT 19 #endif #if defined(IP_ORIGDSTADDR) || (defined(HAVE_DECL_IP_ORIGDSTADDR) && HAVE_DECL_IP_ORIGDSTADDR) - XLAT(IP_ORIGDSTADDR), - #define XLAT_VAL_30 ((unsigned) (IP_ORIGDSTADDR)) - #define XLAT_STR_30 STRINGIFY(IP_ORIGDSTADDR) -#endif -#if defined(IP_RECVORIGDSTADDR) || (defined(HAVE_DECL_IP_RECVORIGDSTADDR) && HAVE_DECL_IP_RECVORIGDSTADDR) - XLAT(IP_RECVORIGDSTADDR), - #define XLAT_VAL_31 ((unsigned) (IP_RECVORIGDSTADDR)) - #define XLAT_STR_31 STRINGIFY(IP_RECVORIGDSTADDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_ORIGDSTADDR) == (20), "IP_ORIGDSTADDR != 20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_ORIGDSTADDR 20 #endif #if defined(IP_MINTTL) || (defined(HAVE_DECL_IP_MINTTL) && HAVE_DECL_IP_MINTTL) - XLAT(IP_MINTTL), - #define XLAT_VAL_32 ((unsigned) (IP_MINTTL)) - #define XLAT_STR_32 STRINGIFY(IP_MINTTL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MINTTL) == (21), "IP_MINTTL != 21"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MINTTL 21 #endif #if defined(IP_NODEFRAG) || (defined(HAVE_DECL_IP_NODEFRAG) && HAVE_DECL_IP_NODEFRAG) - XLAT(IP_NODEFRAG), - #define XLAT_VAL_33 ((unsigned) (IP_NODEFRAG)) - #define XLAT_STR_33 STRINGIFY(IP_NODEFRAG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_NODEFRAG) == (22), "IP_NODEFRAG != 22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_NODEFRAG 22 #endif #if defined(IP_CHECKSUM) || (defined(HAVE_DECL_IP_CHECKSUM) && HAVE_DECL_IP_CHECKSUM) - XLAT(IP_CHECKSUM), - #define XLAT_VAL_34 ((unsigned) (IP_CHECKSUM)) - #define XLAT_STR_34 STRINGIFY(IP_CHECKSUM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_CHECKSUM) == (23), "IP_CHECKSUM != 23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_CHECKSUM 23 #endif #if defined(IP_BIND_ADDRESS_NO_PORT) || (defined(HAVE_DECL_IP_BIND_ADDRESS_NO_PORT) && HAVE_DECL_IP_BIND_ADDRESS_NO_PORT) - XLAT(IP_BIND_ADDRESS_NO_PORT), - #define XLAT_VAL_35 ((unsigned) (IP_BIND_ADDRESS_NO_PORT)) - #define XLAT_STR_35 STRINGIFY(IP_BIND_ADDRESS_NO_PORT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_BIND_ADDRESS_NO_PORT) == (24), "IP_BIND_ADDRESS_NO_PORT != 24"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_BIND_ADDRESS_NO_PORT 24 #endif #if defined(IP_RECVFRAGSIZE) || (defined(HAVE_DECL_IP_RECVFRAGSIZE) && HAVE_DECL_IP_RECVFRAGSIZE) - XLAT(IP_RECVFRAGSIZE), - #define XLAT_VAL_36 ((unsigned) (IP_RECVFRAGSIZE)) - #define XLAT_STR_36 STRINGIFY(IP_RECVFRAGSIZE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVFRAGSIZE) == (25), "IP_RECVFRAGSIZE != 25"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVFRAGSIZE 25 #endif #if defined(IP_RECVERR_RFC4884) || (defined(HAVE_DECL_IP_RECVERR_RFC4884) && HAVE_DECL_IP_RECVERR_RFC4884) - XLAT(IP_RECVERR_RFC4884), - #define XLAT_VAL_37 ((unsigned) (IP_RECVERR_RFC4884)) - #define XLAT_STR_37 STRINGIFY(IP_RECVERR_RFC4884) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_RECVERR_RFC4884) == (26), "IP_RECVERR_RFC4884 != 26"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_RECVERR_RFC4884 26 +#endif +#if defined(IP_MULTICAST_IF) || (defined(HAVE_DECL_IP_MULTICAST_IF) && HAVE_DECL_IP_MULTICAST_IF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MULTICAST_IF) == (32), "IP_MULTICAST_IF != 32"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MULTICAST_IF 32 +#endif +#if defined(IP_MULTICAST_TTL) || (defined(HAVE_DECL_IP_MULTICAST_TTL) && HAVE_DECL_IP_MULTICAST_TTL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MULTICAST_TTL) == (33), "IP_MULTICAST_TTL != 33"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MULTICAST_TTL 33 +#endif +#if defined(IP_MULTICAST_LOOP) || (defined(HAVE_DECL_IP_MULTICAST_LOOP) && HAVE_DECL_IP_MULTICAST_LOOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MULTICAST_LOOP) == (34), "IP_MULTICAST_LOOP != 34"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MULTICAST_LOOP 34 +#endif +#if defined(IP_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_MEMBERSHIP) && HAVE_DECL_IP_ADD_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_ADD_MEMBERSHIP) == (35), "IP_ADD_MEMBERSHIP != 35"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_ADD_MEMBERSHIP 35 +#endif +#if defined(IP_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_MEMBERSHIP) && HAVE_DECL_IP_DROP_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_DROP_MEMBERSHIP) == (36), "IP_DROP_MEMBERSHIP != 36"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_DROP_MEMBERSHIP 36 #endif #if defined(IP_UNBLOCK_SOURCE) || (defined(HAVE_DECL_IP_UNBLOCK_SOURCE) && HAVE_DECL_IP_UNBLOCK_SOURCE) - XLAT(IP_UNBLOCK_SOURCE), - #define XLAT_VAL_38 ((unsigned) (IP_UNBLOCK_SOURCE)) - #define XLAT_STR_38 STRINGIFY(IP_UNBLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_UNBLOCK_SOURCE) == (37), "IP_UNBLOCK_SOURCE != 37"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_UNBLOCK_SOURCE 37 #endif #if defined(IP_BLOCK_SOURCE) || (defined(HAVE_DECL_IP_BLOCK_SOURCE) && HAVE_DECL_IP_BLOCK_SOURCE) - XLAT(IP_BLOCK_SOURCE), - #define XLAT_VAL_39 ((unsigned) (IP_BLOCK_SOURCE)) - #define XLAT_STR_39 STRINGIFY(IP_BLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_BLOCK_SOURCE) == (38), "IP_BLOCK_SOURCE != 38"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_BLOCK_SOURCE 38 #endif #if defined(IP_ADD_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP) - XLAT(IP_ADD_SOURCE_MEMBERSHIP), - #define XLAT_VAL_40 ((unsigned) (IP_ADD_SOURCE_MEMBERSHIP)) - #define XLAT_STR_40 STRINGIFY(IP_ADD_SOURCE_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_ADD_SOURCE_MEMBERSHIP) == (39), "IP_ADD_SOURCE_MEMBERSHIP != 39"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_ADD_SOURCE_MEMBERSHIP 39 #endif #if defined(IP_DROP_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP) - XLAT(IP_DROP_SOURCE_MEMBERSHIP), - #define XLAT_VAL_41 ((unsigned) (IP_DROP_SOURCE_MEMBERSHIP)) - #define XLAT_STR_41 STRINGIFY(IP_DROP_SOURCE_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_DROP_SOURCE_MEMBERSHIP) == (40), "IP_DROP_SOURCE_MEMBERSHIP != 40"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_DROP_SOURCE_MEMBERSHIP 40 +#endif +#if defined(IP_MSFILTER) || (defined(HAVE_DECL_IP_MSFILTER) && HAVE_DECL_IP_MSFILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MSFILTER) == (41), "IP_MSFILTER != 41"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MSFILTER 41 #endif #if defined(MCAST_JOIN_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_GROUP) && HAVE_DECL_MCAST_JOIN_GROUP) - XLAT(MCAST_JOIN_GROUP), - #define XLAT_VAL_42 ((unsigned) (MCAST_JOIN_GROUP)) - #define XLAT_STR_42 STRINGIFY(MCAST_JOIN_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_JOIN_GROUP) == (42), "MCAST_JOIN_GROUP != 42"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_JOIN_GROUP 42 #endif #if defined(MCAST_BLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_BLOCK_SOURCE) && HAVE_DECL_MCAST_BLOCK_SOURCE) - XLAT(MCAST_BLOCK_SOURCE), - #define XLAT_VAL_43 ((unsigned) (MCAST_BLOCK_SOURCE)) - #define XLAT_STR_43 STRINGIFY(MCAST_BLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_BLOCK_SOURCE) == (43), "MCAST_BLOCK_SOURCE != 43"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_BLOCK_SOURCE 43 #endif #if defined(MCAST_UNBLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_UNBLOCK_SOURCE) && HAVE_DECL_MCAST_UNBLOCK_SOURCE) - XLAT(MCAST_UNBLOCK_SOURCE), - #define XLAT_VAL_44 ((unsigned) (MCAST_UNBLOCK_SOURCE)) - #define XLAT_STR_44 STRINGIFY(MCAST_UNBLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_UNBLOCK_SOURCE) == (44), "MCAST_UNBLOCK_SOURCE != 44"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_UNBLOCK_SOURCE 44 #endif #if defined(MCAST_LEAVE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_GROUP) && HAVE_DECL_MCAST_LEAVE_GROUP) - XLAT(MCAST_LEAVE_GROUP), - #define XLAT_VAL_45 ((unsigned) (MCAST_LEAVE_GROUP)) - #define XLAT_STR_45 STRINGIFY(MCAST_LEAVE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_LEAVE_GROUP) == (45), "MCAST_LEAVE_GROUP != 45"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_LEAVE_GROUP 45 #endif #if defined(MCAST_JOIN_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) && HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) - XLAT(MCAST_JOIN_SOURCE_GROUP), - #define XLAT_VAL_46 ((unsigned) (MCAST_JOIN_SOURCE_GROUP)) - #define XLAT_STR_46 STRINGIFY(MCAST_JOIN_SOURCE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_JOIN_SOURCE_GROUP) == (46), "MCAST_JOIN_SOURCE_GROUP != 46"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_JOIN_SOURCE_GROUP 46 #endif #if defined(MCAST_LEAVE_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) && HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) - XLAT(MCAST_LEAVE_SOURCE_GROUP), - #define XLAT_VAL_47 ((unsigned) (MCAST_LEAVE_SOURCE_GROUP)) - #define XLAT_STR_47 STRINGIFY(MCAST_LEAVE_SOURCE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_LEAVE_SOURCE_GROUP) == (47), "MCAST_LEAVE_SOURCE_GROUP != 47"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_LEAVE_SOURCE_GROUP 47 #endif #if defined(MCAST_MSFILTER) || (defined(HAVE_DECL_MCAST_MSFILTER) && HAVE_DECL_MCAST_MSFILTER) - XLAT(MCAST_MSFILTER), - #define XLAT_VAL_48 ((unsigned) (MCAST_MSFILTER)) - #define XLAT_STR_48 STRINGIFY(MCAST_MSFILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_MSFILTER) == (48), "MCAST_MSFILTER != 48"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_MSFILTER 48 #endif #if defined(IP_MULTICAST_ALL) || (defined(HAVE_DECL_IP_MULTICAST_ALL) && HAVE_DECL_IP_MULTICAST_ALL) - XLAT(IP_MULTICAST_ALL), - #define XLAT_VAL_49 ((unsigned) (IP_MULTICAST_ALL)) - #define XLAT_STR_49 STRINGIFY(IP_MULTICAST_ALL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_MULTICAST_ALL) == (49), "IP_MULTICAST_ALL != 49"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_MULTICAST_ALL 49 #endif #if defined(IP_UNICAST_IF) || (defined(HAVE_DECL_IP_UNICAST_IF) && HAVE_DECL_IP_UNICAST_IF) - XLAT(IP_UNICAST_IF), - #define XLAT_VAL_50 ((unsigned) (IP_UNICAST_IF)) - #define XLAT_STR_50 STRINGIFY(IP_UNICAST_IF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IP_UNICAST_IF) == (50), "IP_UNICAST_IF != 50"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IP_UNICAST_IF 50 #endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat sock_ip_options in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data sock_ip_options_xdata = { + IP_TOS = XLAT(IP_TOS), + #define XLAT_VAL_0 ((unsigned) (IP_TOS)) + #define XLAT_STR_0 STRINGIFY(IP_TOS) + IP_TTL = XLAT(IP_TTL), + #define XLAT_VAL_1 ((unsigned) (IP_TTL)) + #define XLAT_STR_1 STRINGIFY(IP_TTL) + IP_HDRINCL = XLAT(IP_HDRINCL), + #define XLAT_VAL_2 ((unsigned) (IP_HDRINCL)) + #define XLAT_STR_2 STRINGIFY(IP_HDRINCL) + IP_OPTIONS = XLAT(IP_OPTIONS), + #define XLAT_VAL_3 ((unsigned) (IP_OPTIONS)) + #define XLAT_STR_3 STRINGIFY(IP_OPTIONS) + IP_ROUTER_ALERT = XLAT(IP_ROUTER_ALERT), + #define XLAT_VAL_4 ((unsigned) (IP_ROUTER_ALERT)) + #define XLAT_STR_4 STRINGIFY(IP_ROUTER_ALERT) + IP_RECVOPTS = XLAT(IP_RECVOPTS), + #define XLAT_VAL_5 ((unsigned) (IP_RECVOPTS)) + #define XLAT_STR_5 STRINGIFY(IP_RECVOPTS) + IP_RETOPTS = XLAT(IP_RETOPTS), + #define XLAT_VAL_6 ((unsigned) (IP_RETOPTS)) + #define XLAT_STR_6 STRINGIFY(IP_RETOPTS) + IP_PKTINFO = XLAT(IP_PKTINFO), + #define XLAT_VAL_7 ((unsigned) (IP_PKTINFO)) + #define XLAT_STR_7 STRINGIFY(IP_PKTINFO) + IP_PKTOPTIONS = XLAT(IP_PKTOPTIONS), + #define XLAT_VAL_8 ((unsigned) (IP_PKTOPTIONS)) + #define XLAT_STR_8 STRINGIFY(IP_PKTOPTIONS) + IP_MTU_DISCOVER = XLAT(IP_MTU_DISCOVER), + #define XLAT_VAL_9 ((unsigned) (IP_MTU_DISCOVER)) + #define XLAT_STR_9 STRINGIFY(IP_MTU_DISCOVER) + IP_RECVERR = XLAT(IP_RECVERR), + #define XLAT_VAL_10 ((unsigned) (IP_RECVERR)) + #define XLAT_STR_10 STRINGIFY(IP_RECVERR) + IP_RECVTTL = XLAT(IP_RECVTTL), + #define XLAT_VAL_11 ((unsigned) (IP_RECVTTL)) + #define XLAT_STR_11 STRINGIFY(IP_RECVTTL) + IP_RECVTOS = XLAT(IP_RECVTOS), + #define XLAT_VAL_12 ((unsigned) (IP_RECVTOS)) + #define XLAT_STR_12 STRINGIFY(IP_RECVTOS) + IP_MTU = XLAT(IP_MTU), + #define XLAT_VAL_13 ((unsigned) (IP_MTU)) + #define XLAT_STR_13 STRINGIFY(IP_MTU) + IP_FREEBIND = XLAT(IP_FREEBIND), + #define XLAT_VAL_14 ((unsigned) (IP_FREEBIND)) + #define XLAT_STR_14 STRINGIFY(IP_FREEBIND) + IP_IPSEC_POLICY = XLAT(IP_IPSEC_POLICY), + #define XLAT_VAL_15 ((unsigned) (IP_IPSEC_POLICY)) + #define XLAT_STR_15 STRINGIFY(IP_IPSEC_POLICY) + IP_XFRM_POLICY = XLAT(IP_XFRM_POLICY), + #define XLAT_VAL_16 ((unsigned) (IP_XFRM_POLICY)) + #define XLAT_STR_16 STRINGIFY(IP_XFRM_POLICY) + IP_PASSSEC = XLAT(IP_PASSSEC), + #define XLAT_VAL_17 ((unsigned) (IP_PASSSEC)) + #define XLAT_STR_17 STRINGIFY(IP_PASSSEC) + IP_TRANSPARENT = XLAT(IP_TRANSPARENT), + #define XLAT_VAL_18 ((unsigned) (IP_TRANSPARENT)) + #define XLAT_STR_18 STRINGIFY(IP_TRANSPARENT) + IP_ORIGDSTADDR = XLAT(IP_ORIGDSTADDR), + #define XLAT_VAL_19 ((unsigned) (IP_ORIGDSTADDR)) + #define XLAT_STR_19 STRINGIFY(IP_ORIGDSTADDR) + IP_MINTTL = XLAT(IP_MINTTL), + #define XLAT_VAL_20 ((unsigned) (IP_MINTTL)) + #define XLAT_STR_20 STRINGIFY(IP_MINTTL) + IP_NODEFRAG = XLAT(IP_NODEFRAG), + #define XLAT_VAL_21 ((unsigned) (IP_NODEFRAG)) + #define XLAT_STR_21 STRINGIFY(IP_NODEFRAG) + IP_CHECKSUM = XLAT(IP_CHECKSUM), + #define XLAT_VAL_22 ((unsigned) (IP_CHECKSUM)) + #define XLAT_STR_22 STRINGIFY(IP_CHECKSUM) + IP_BIND_ADDRESS_NO_PORT = XLAT(IP_BIND_ADDRESS_NO_PORT), + #define XLAT_VAL_23 ((unsigned) (IP_BIND_ADDRESS_NO_PORT)) + #define XLAT_STR_23 STRINGIFY(IP_BIND_ADDRESS_NO_PORT) + IP_RECVFRAGSIZE = XLAT(IP_RECVFRAGSIZE), + #define XLAT_VAL_24 ((unsigned) (IP_RECVFRAGSIZE)) + #define XLAT_STR_24 STRINGIFY(IP_RECVFRAGSIZE) + IP_RECVERR_RFC4884 = XLAT(IP_RECVERR_RFC4884), + #define XLAT_VAL_25 ((unsigned) (IP_RECVERR_RFC4884)) + #define XLAT_STR_25 STRINGIFY(IP_RECVERR_RFC4884) + IP_MULTICAST_IF = XLAT(IP_MULTICAST_IF), + #define XLAT_VAL_26 ((unsigned) (IP_MULTICAST_IF)) + #define XLAT_STR_26 STRINGIFY(IP_MULTICAST_IF) + IP_MULTICAST_TTL = XLAT(IP_MULTICAST_TTL), + #define XLAT_VAL_27 ((unsigned) (IP_MULTICAST_TTL)) + #define XLAT_STR_27 STRINGIFY(IP_MULTICAST_TTL) + IP_MULTICAST_LOOP = XLAT(IP_MULTICAST_LOOP), + #define XLAT_VAL_28 ((unsigned) (IP_MULTICAST_LOOP)) + #define XLAT_STR_28 STRINGIFY(IP_MULTICAST_LOOP) + IP_ADD_MEMBERSHIP = XLAT(IP_ADD_MEMBERSHIP), + #define XLAT_VAL_29 ((unsigned) (IP_ADD_MEMBERSHIP)) + #define XLAT_STR_29 STRINGIFY(IP_ADD_MEMBERSHIP) + IP_DROP_MEMBERSHIP = XLAT(IP_DROP_MEMBERSHIP), + #define XLAT_VAL_30 ((unsigned) (IP_DROP_MEMBERSHIP)) + #define XLAT_STR_30 STRINGIFY(IP_DROP_MEMBERSHIP) + IP_UNBLOCK_SOURCE = XLAT(IP_UNBLOCK_SOURCE), + #define XLAT_VAL_31 ((unsigned) (IP_UNBLOCK_SOURCE)) + #define XLAT_STR_31 STRINGIFY(IP_UNBLOCK_SOURCE) + IP_BLOCK_SOURCE = XLAT(IP_BLOCK_SOURCE), + #define XLAT_VAL_32 ((unsigned) (IP_BLOCK_SOURCE)) + #define XLAT_STR_32 STRINGIFY(IP_BLOCK_SOURCE) + IP_ADD_SOURCE_MEMBERSHIP = XLAT(IP_ADD_SOURCE_MEMBERSHIP), + #define XLAT_VAL_33 ((unsigned) (IP_ADD_SOURCE_MEMBERSHIP)) + #define XLAT_STR_33 STRINGIFY(IP_ADD_SOURCE_MEMBERSHIP) + IP_DROP_SOURCE_MEMBERSHIP = XLAT(IP_DROP_SOURCE_MEMBERSHIP), + #define XLAT_VAL_34 ((unsigned) (IP_DROP_SOURCE_MEMBERSHIP)) + #define XLAT_STR_34 STRINGIFY(IP_DROP_SOURCE_MEMBERSHIP) + IP_MSFILTER = XLAT(IP_MSFILTER), + #define XLAT_VAL_35 ((unsigned) (IP_MSFILTER)) + #define XLAT_STR_35 STRINGIFY(IP_MSFILTER) + MCAST_JOIN_GROUP = XLAT(MCAST_JOIN_GROUP), + #define XLAT_VAL_36 ((unsigned) (MCAST_JOIN_GROUP)) + #define XLAT_STR_36 STRINGIFY(MCAST_JOIN_GROUP) + MCAST_BLOCK_SOURCE = XLAT(MCAST_BLOCK_SOURCE), + #define XLAT_VAL_37 ((unsigned) (MCAST_BLOCK_SOURCE)) + #define XLAT_STR_37 STRINGIFY(MCAST_BLOCK_SOURCE) + MCAST_UNBLOCK_SOURCE = XLAT(MCAST_UNBLOCK_SOURCE), + #define XLAT_VAL_38 ((unsigned) (MCAST_UNBLOCK_SOURCE)) + #define XLAT_STR_38 STRINGIFY(MCAST_UNBLOCK_SOURCE) + MCAST_LEAVE_GROUP = XLAT(MCAST_LEAVE_GROUP), + #define XLAT_VAL_39 ((unsigned) (MCAST_LEAVE_GROUP)) + #define XLAT_STR_39 STRINGIFY(MCAST_LEAVE_GROUP) + MCAST_JOIN_SOURCE_GROUP = XLAT(MCAST_JOIN_SOURCE_GROUP), + #define XLAT_VAL_40 ((unsigned) (MCAST_JOIN_SOURCE_GROUP)) + #define XLAT_STR_40 STRINGIFY(MCAST_JOIN_SOURCE_GROUP) + MCAST_LEAVE_SOURCE_GROUP = XLAT(MCAST_LEAVE_SOURCE_GROUP), + #define XLAT_VAL_41 ((unsigned) (MCAST_LEAVE_SOURCE_GROUP)) + #define XLAT_STR_41 STRINGIFY(MCAST_LEAVE_SOURCE_GROUP) + MCAST_MSFILTER = XLAT(MCAST_MSFILTER), + #define XLAT_VAL_42 ((unsigned) (MCAST_MSFILTER)) + #define XLAT_STR_42 STRINGIFY(MCAST_MSFILTER) + IP_MULTICAST_ALL = XLAT(IP_MULTICAST_ALL), + #define XLAT_VAL_43 ((unsigned) (IP_MULTICAST_ALL)) + #define XLAT_STR_43 STRINGIFY(IP_MULTICAST_ALL) + IP_UNICAST_IF = XLAT(IP_UNICAST_IF), + #define XLAT_VAL_44 ((unsigned) (IP_UNICAST_IF)) + #define XLAT_STR_44 STRINGIFY(IP_UNICAST_IF) }; static const struct xlat sock_ip_options1 = { { .data = sock_ip_options_xdata, .size = ARRAY_SIZE(sock_ip_options_xdata), - .type = XT_NORMAL, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -411,24 +607,6 @@ # ifdef XLAT_VAL_44 | XLAT_VAL_44 # endif -# ifdef XLAT_VAL_45 - | XLAT_VAL_45 -# endif -# ifdef XLAT_VAL_46 - | XLAT_VAL_46 -# endif -# ifdef XLAT_VAL_47 - | XLAT_VAL_47 -# endif -# ifdef XLAT_VAL_48 - | XLAT_VAL_48 -# endif -# ifdef XLAT_VAL_49 - | XLAT_VAL_49 -# endif -# ifdef XLAT_VAL_50 - | XLAT_VAL_50 -# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -566,24 +744,6 @@ # ifdef XLAT_STR_44 + sizeof(XLAT_STR_44) # endif -# ifdef XLAT_STR_45 - + sizeof(XLAT_STR_45) -# endif -# ifdef XLAT_STR_46 - + sizeof(XLAT_STR_46) -# endif -# ifdef XLAT_STR_47 - + sizeof(XLAT_STR_47) -# endif -# ifdef XLAT_STR_48 - + sizeof(XLAT_STR_48) -# endif -# ifdef XLAT_STR_49 - + sizeof(XLAT_STR_49) -# endif -# ifdef XLAT_STR_50 - + sizeof(XLAT_STR_50) -# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -678,18 +838,6 @@ # undef XLAT_VAL_43 # undef XLAT_STR_44 # undef XLAT_VAL_44 -# undef XLAT_STR_45 -# undef XLAT_VAL_45 -# undef XLAT_STR_46 -# undef XLAT_VAL_46 -# undef XLAT_STR_47 -# undef XLAT_VAL_47 -# undef XLAT_STR_48 -# undef XLAT_VAL_48 -# undef XLAT_STR_49 -# undef XLAT_VAL_49 -# undef XLAT_STR_50 -# undef XLAT_VAL_50 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ip_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ip_options.in
Changed
@@ -1,51 +1,46 @@ -IP_TOS -IP_TTL -IP_HDRINCL -IP_OPTIONS -IP_ROUTER_ALERT -IP_RECVOPTIONS -IP_RECVOPTS -IP_RETOPTS -IP_RECVRETOPTS -IP_RECVDSTADDR -IP_PKTINFO -IP_PKTOPTIONS -IP_MTU_DISCOVER -IP_RECVERR -IP_RECVTTL -IP_RECVTOS -IP_MTU -IP_MULTICAST_IF -IP_MULTICAST_TTL -IP_MULTICAST_LOOP -IP_ADD_MEMBERSHIP -IP_DROP_MEMBERSHIP -IP_BROADCAST_IF -IP_RECVIFINDEX -IP_MSFILTER -IP_FREEBIND -IP_IPSEC_POLICY -IP_XFRM_POLICY -IP_PASSSEC -IP_TRANSPARENT -IP_ORIGDSTADDR -IP_RECVORIGDSTADDR -IP_MINTTL -IP_NODEFRAG -IP_CHECKSUM -IP_BIND_ADDRESS_NO_PORT -IP_RECVFRAGSIZE -IP_RECVERR_RFC4884 -IP_UNBLOCK_SOURCE -IP_BLOCK_SOURCE -IP_ADD_SOURCE_MEMBERSHIP -IP_DROP_SOURCE_MEMBERSHIP -MCAST_JOIN_GROUP -MCAST_BLOCK_SOURCE -MCAST_UNBLOCK_SOURCE -MCAST_LEAVE_GROUP -MCAST_JOIN_SOURCE_GROUP -MCAST_LEAVE_SOURCE_GROUP -MCAST_MSFILTER -IP_MULTICAST_ALL -IP_UNICAST_IF +#value_indexed +IP_TOS 1 +IP_TTL 2 +IP_HDRINCL 3 +IP_OPTIONS 4 +IP_ROUTER_ALERT 5 +IP_RECVOPTS 6 +IP_RETOPTS 7 +IP_PKTINFO 8 +IP_PKTOPTIONS 9 +IP_MTU_DISCOVER 10 +IP_RECVERR 11 +IP_RECVTTL 12 +IP_RECVTOS 13 +IP_MTU 14 +IP_FREEBIND 15 +IP_IPSEC_POLICY 16 +IP_XFRM_POLICY 17 +IP_PASSSEC 18 +IP_TRANSPARENT 19 +IP_ORIGDSTADDR 20 +IP_MINTTL 21 +IP_NODEFRAG 22 +IP_CHECKSUM 23 +IP_BIND_ADDRESS_NO_PORT 24 +IP_RECVFRAGSIZE 25 +IP_RECVERR_RFC4884 26 +IP_MULTICAST_IF 32 +IP_MULTICAST_TTL 33 +IP_MULTICAST_LOOP 34 +IP_ADD_MEMBERSHIP 35 +IP_DROP_MEMBERSHIP 36 +IP_UNBLOCK_SOURCE 37 +IP_BLOCK_SOURCE 38 +IP_ADD_SOURCE_MEMBERSHIP 39 +IP_DROP_SOURCE_MEMBERSHIP 40 +IP_MSFILTER 41 +MCAST_JOIN_GROUP 42 +MCAST_BLOCK_SOURCE 43 +MCAST_UNBLOCK_SOURCE 44 +MCAST_LEAVE_GROUP 45 +MCAST_JOIN_SOURCE_GROUP 46 +MCAST_LEAVE_SOURCE_GROUP 47 +MCAST_MSFILTER 48 +IP_MULTICAST_ALL 49 +IP_UNICAST_IF 50
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ipv6_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ipv6_options.h
Changed
@@ -3,6 +3,455 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined(IPV6_ADDRFORM) || (defined(HAVE_DECL_IPV6_ADDRFORM) && HAVE_DECL_IPV6_ADDRFORM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ADDRFORM) == (1), "IPV6_ADDRFORM != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ADDRFORM 1 +#endif +#if defined(IPV6_2292PKTINFO) || (defined(HAVE_DECL_IPV6_2292PKTINFO) && HAVE_DECL_IPV6_2292PKTINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292PKTINFO) == (2), "IPV6_2292PKTINFO != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292PKTINFO 2 +#endif +#if defined(IPV6_2292HOPOPTS) || (defined(HAVE_DECL_IPV6_2292HOPOPTS) && HAVE_DECL_IPV6_2292HOPOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292HOPOPTS) == (3), "IPV6_2292HOPOPTS != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292HOPOPTS 3 +#endif +#if defined(IPV6_2292DSTOPTS) || (defined(HAVE_DECL_IPV6_2292DSTOPTS) && HAVE_DECL_IPV6_2292DSTOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292DSTOPTS) == (4), "IPV6_2292DSTOPTS != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292DSTOPTS 4 +#endif +#if defined(IPV6_2292RTHDR) || (defined(HAVE_DECL_IPV6_2292RTHDR) && HAVE_DECL_IPV6_2292RTHDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292RTHDR) == (5), "IPV6_2292RTHDR != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292RTHDR 5 +#endif +#if defined(IPV6_2292PKTOPTIONS) || (defined(HAVE_DECL_IPV6_2292PKTOPTIONS) && HAVE_DECL_IPV6_2292PKTOPTIONS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292PKTOPTIONS) == (6), "IPV6_2292PKTOPTIONS != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292PKTOPTIONS 6 +#endif +#if defined(IPV6_CHECKSUM) || (defined(HAVE_DECL_IPV6_CHECKSUM) && HAVE_DECL_IPV6_CHECKSUM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_CHECKSUM) == (7), "IPV6_CHECKSUM != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_CHECKSUM 7 +#endif +#if defined(IPV6_2292HOPLIMIT) || (defined(HAVE_DECL_IPV6_2292HOPLIMIT) && HAVE_DECL_IPV6_2292HOPLIMIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_2292HOPLIMIT) == (8), "IPV6_2292HOPLIMIT != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_2292HOPLIMIT 8 +#endif +#if defined(IPV6_NEXTHOP) || (defined(HAVE_DECL_IPV6_NEXTHOP) && HAVE_DECL_IPV6_NEXTHOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_NEXTHOP) == (9), "IPV6_NEXTHOP != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_NEXTHOP 9 +#endif +#if defined(IPV6_AUTHHDR) || (defined(HAVE_DECL_IPV6_AUTHHDR) && HAVE_DECL_IPV6_AUTHHDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_AUTHHDR) == (10), "IPV6_AUTHHDR != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_AUTHHDR 10 +#endif +#if defined(IPV6_FLOWINFO) || (defined(HAVE_DECL_IPV6_FLOWINFO) && HAVE_DECL_IPV6_FLOWINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_FLOWINFO) == (11), "IPV6_FLOWINFO != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_FLOWINFO 11 +#endif +#if defined(IPV6_UNICAST_HOPS) || (defined(HAVE_DECL_IPV6_UNICAST_HOPS) && HAVE_DECL_IPV6_UNICAST_HOPS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_UNICAST_HOPS) == (16), "IPV6_UNICAST_HOPS != 16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_UNICAST_HOPS 16 +#endif +#if defined(IPV6_MULTICAST_IF) || (defined(HAVE_DECL_IPV6_MULTICAST_IF) && HAVE_DECL_IPV6_MULTICAST_IF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MULTICAST_IF) == (17), "IPV6_MULTICAST_IF != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MULTICAST_IF 17 +#endif +#if defined(IPV6_MULTICAST_HOPS) || (defined(HAVE_DECL_IPV6_MULTICAST_HOPS) && HAVE_DECL_IPV6_MULTICAST_HOPS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MULTICAST_HOPS) == (18), "IPV6_MULTICAST_HOPS != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MULTICAST_HOPS 18 +#endif +#if defined(IPV6_MULTICAST_LOOP) || (defined(HAVE_DECL_IPV6_MULTICAST_LOOP) && HAVE_DECL_IPV6_MULTICAST_LOOP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MULTICAST_LOOP) == (19), "IPV6_MULTICAST_LOOP != 19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MULTICAST_LOOP 19 +#endif +#if defined(IPV6_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IPV6_ADD_MEMBERSHIP) && HAVE_DECL_IPV6_ADD_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ADD_MEMBERSHIP) == (20), "IPV6_ADD_MEMBERSHIP != 20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ADD_MEMBERSHIP 20 +#endif +#if defined(IPV6_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IPV6_DROP_MEMBERSHIP) && HAVE_DECL_IPV6_DROP_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_DROP_MEMBERSHIP) == (21), "IPV6_DROP_MEMBERSHIP != 21"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_DROP_MEMBERSHIP 21 +#endif +#if defined(IPV6_ROUTER_ALERT) || (defined(HAVE_DECL_IPV6_ROUTER_ALERT) && HAVE_DECL_IPV6_ROUTER_ALERT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ROUTER_ALERT) == (22), "IPV6_ROUTER_ALERT != 22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ROUTER_ALERT 22 +#endif +#if defined(IPV6_MTU_DISCOVER) || (defined(HAVE_DECL_IPV6_MTU_DISCOVER) && HAVE_DECL_IPV6_MTU_DISCOVER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MTU_DISCOVER) == (23), "IPV6_MTU_DISCOVER != 23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MTU_DISCOVER 23 +#endif +#if defined(IPV6_MTU) || (defined(HAVE_DECL_IPV6_MTU) && HAVE_DECL_IPV6_MTU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MTU) == (24), "IPV6_MTU != 24"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MTU 24 +#endif +#if defined(IPV6_RECVERR) || (defined(HAVE_DECL_IPV6_RECVERR) && HAVE_DECL_IPV6_RECVERR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVERR) == (25), "IPV6_RECVERR != 25"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVERR 25 +#endif +#if defined(IPV6_V6ONLY) || (defined(HAVE_DECL_IPV6_V6ONLY) && HAVE_DECL_IPV6_V6ONLY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_V6ONLY) == (26), "IPV6_V6ONLY != 26"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_V6ONLY 26 +#endif +#if defined(IPV6_JOIN_ANYCAST) || (defined(HAVE_DECL_IPV6_JOIN_ANYCAST) && HAVE_DECL_IPV6_JOIN_ANYCAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_JOIN_ANYCAST) == (27), "IPV6_JOIN_ANYCAST != 27"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_JOIN_ANYCAST 27 +#endif +#if defined(IPV6_LEAVE_ANYCAST) || (defined(HAVE_DECL_IPV6_LEAVE_ANYCAST) && HAVE_DECL_IPV6_LEAVE_ANYCAST) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_LEAVE_ANYCAST) == (28), "IPV6_LEAVE_ANYCAST != 28"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_LEAVE_ANYCAST 28 +#endif +#if defined(IPV6_MULTICAST_ALL) || (defined(HAVE_DECL_IPV6_MULTICAST_ALL) && HAVE_DECL_IPV6_MULTICAST_ALL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MULTICAST_ALL) == (29), "IPV6_MULTICAST_ALL != 29"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MULTICAST_ALL 29 +#endif +#if defined(IPV6_ROUTER_ALERT_ISOLATE) || (defined(HAVE_DECL_IPV6_ROUTER_ALERT_ISOLATE) && HAVE_DECL_IPV6_ROUTER_ALERT_ISOLATE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ROUTER_ALERT_ISOLATE) == (30), "IPV6_ROUTER_ALERT_ISOLATE != 30"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ROUTER_ALERT_ISOLATE 30 +#endif +#if defined(IPV6_RECVERR_RFC4884) || (defined(HAVE_DECL_IPV6_RECVERR_RFC4884) && HAVE_DECL_IPV6_RECVERR_RFC4884) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVERR_RFC4884) == (31), "IPV6_RECVERR_RFC4884 != 31"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVERR_RFC4884 31 +#endif +#if defined(IPV6_FLOWLABEL_MGR) || (defined(HAVE_DECL_IPV6_FLOWLABEL_MGR) && HAVE_DECL_IPV6_FLOWLABEL_MGR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_FLOWLABEL_MGR) == (32), "IPV6_FLOWLABEL_MGR != 32"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_FLOWLABEL_MGR 32 +#endif +#if defined(IPV6_FLOWINFO_SEND) || (defined(HAVE_DECL_IPV6_FLOWINFO_SEND) && HAVE_DECL_IPV6_FLOWINFO_SEND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_FLOWINFO_SEND) == (33), "IPV6_FLOWINFO_SEND != 33"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_FLOWINFO_SEND 33 +#endif +#if defined(IPV6_IPSEC_POLICY) || (defined(HAVE_DECL_IPV6_IPSEC_POLICY) && HAVE_DECL_IPV6_IPSEC_POLICY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_IPSEC_POLICY) == (34), "IPV6_IPSEC_POLICY != 34"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_IPSEC_POLICY 34 +#endif +#if defined(IPV6_XFRM_POLICY) || (defined(HAVE_DECL_IPV6_XFRM_POLICY) && HAVE_DECL_IPV6_XFRM_POLICY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_XFRM_POLICY) == (35), "IPV6_XFRM_POLICY != 35"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_XFRM_POLICY 35 +#endif +#if defined(IPV6_HDRINCL) || (defined(HAVE_DECL_IPV6_HDRINCL) && HAVE_DECL_IPV6_HDRINCL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_HDRINCL) == (36), "IPV6_HDRINCL != 36"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_HDRINCL 36 +#endif +#if defined(MCAST_JOIN_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_GROUP) && HAVE_DECL_MCAST_JOIN_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_JOIN_GROUP) == (42), "MCAST_JOIN_GROUP != 42"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_JOIN_GROUP 42 +#endif +#if defined(MCAST_BLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_BLOCK_SOURCE) && HAVE_DECL_MCAST_BLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_BLOCK_SOURCE) == (43), "MCAST_BLOCK_SOURCE != 43"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_BLOCK_SOURCE 43 +#endif +#if defined(MCAST_UNBLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_UNBLOCK_SOURCE) && HAVE_DECL_MCAST_UNBLOCK_SOURCE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_UNBLOCK_SOURCE) == (44), "MCAST_UNBLOCK_SOURCE != 44"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_UNBLOCK_SOURCE 44 +#endif +#if defined(MCAST_LEAVE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_GROUP) && HAVE_DECL_MCAST_LEAVE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_LEAVE_GROUP) == (45), "MCAST_LEAVE_GROUP != 45"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_LEAVE_GROUP 45 +#endif +#if defined(MCAST_JOIN_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) && HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_JOIN_SOURCE_GROUP) == (46), "MCAST_JOIN_SOURCE_GROUP != 46"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_JOIN_SOURCE_GROUP 46 +#endif +#if defined(MCAST_LEAVE_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) && HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_LEAVE_SOURCE_GROUP) == (47), "MCAST_LEAVE_SOURCE_GROUP != 47"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_LEAVE_SOURCE_GROUP 47 +#endif +#if defined(MCAST_MSFILTER) || (defined(HAVE_DECL_MCAST_MSFILTER) && HAVE_DECL_MCAST_MSFILTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((MCAST_MSFILTER) == (48), "MCAST_MSFILTER != 48"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define MCAST_MSFILTER 48 +#endif +#if defined(IPV6_RECVPKTINFO) || (defined(HAVE_DECL_IPV6_RECVPKTINFO) && HAVE_DECL_IPV6_RECVPKTINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVPKTINFO) == (49), "IPV6_RECVPKTINFO != 49"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVPKTINFO 49 +#endif +#if defined(IPV6_PKTINFO) || (defined(HAVE_DECL_IPV6_PKTINFO) && HAVE_DECL_IPV6_PKTINFO) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_PKTINFO) == (50), "IPV6_PKTINFO != 50"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_PKTINFO 50 +#endif +#if defined(IPV6_RECVHOPLIMIT) || (defined(HAVE_DECL_IPV6_RECVHOPLIMIT) && HAVE_DECL_IPV6_RECVHOPLIMIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVHOPLIMIT) == (51), "IPV6_RECVHOPLIMIT != 51"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVHOPLIMIT 51 +#endif +#if defined(IPV6_HOPLIMIT) || (defined(HAVE_DECL_IPV6_HOPLIMIT) && HAVE_DECL_IPV6_HOPLIMIT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_HOPLIMIT) == (52), "IPV6_HOPLIMIT != 52"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_HOPLIMIT 52 +#endif +#if defined(IPV6_RECVHOPOPTS) || (defined(HAVE_DECL_IPV6_RECVHOPOPTS) && HAVE_DECL_IPV6_RECVHOPOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVHOPOPTS) == (53), "IPV6_RECVHOPOPTS != 53"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVHOPOPTS 53 +#endif +#if defined(IPV6_HOPOPTS) || (defined(HAVE_DECL_IPV6_HOPOPTS) && HAVE_DECL_IPV6_HOPOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_HOPOPTS) == (54), "IPV6_HOPOPTS != 54"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_HOPOPTS 54 +#endif +#if defined(IPV6_RTHDRDSTOPTS) || (defined(HAVE_DECL_IPV6_RTHDRDSTOPTS) && HAVE_DECL_IPV6_RTHDRDSTOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RTHDRDSTOPTS) == (55), "IPV6_RTHDRDSTOPTS != 55"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RTHDRDSTOPTS 55 +#endif +#if defined(IPV6_RECVRTHDR) || (defined(HAVE_DECL_IPV6_RECVRTHDR) && HAVE_DECL_IPV6_RECVRTHDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVRTHDR) == (56), "IPV6_RECVRTHDR != 56"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVRTHDR 56 +#endif +#if defined(IPV6_RTHDR) || (defined(HAVE_DECL_IPV6_RTHDR) && HAVE_DECL_IPV6_RTHDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RTHDR) == (57), "IPV6_RTHDR != 57"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RTHDR 57 +#endif +#if defined(IPV6_RECVDSTOPTS) || (defined(HAVE_DECL_IPV6_RECVDSTOPTS) && HAVE_DECL_IPV6_RECVDSTOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVDSTOPTS) == (58), "IPV6_RECVDSTOPTS != 58"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVDSTOPTS 58 +#endif +#if defined(IPV6_DSTOPTS) || (defined(HAVE_DECL_IPV6_DSTOPTS) && HAVE_DECL_IPV6_DSTOPTS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_DSTOPTS) == (59), "IPV6_DSTOPTS != 59"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_DSTOPTS 59 +#endif +#if defined(IPV6_RECVPATHMTU) || (defined(HAVE_DECL_IPV6_RECVPATHMTU) && HAVE_DECL_IPV6_RECVPATHMTU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVPATHMTU) == (60), "IPV6_RECVPATHMTU != 60"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVPATHMTU 60 +#endif +#if defined(IPV6_PATHMTU) || (defined(HAVE_DECL_IPV6_PATHMTU) && HAVE_DECL_IPV6_PATHMTU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_PATHMTU) == (61), "IPV6_PATHMTU != 61"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_PATHMTU 61 +#endif +#if defined(IPV6_DONTFRAG) || (defined(HAVE_DECL_IPV6_DONTFRAG) && HAVE_DECL_IPV6_DONTFRAG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_DONTFRAG) == (62), "IPV6_DONTFRAG != 62"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_DONTFRAG 62 +#endif +#if defined(IPV6_USE_MIN_MTU) || (defined(HAVE_DECL_IPV6_USE_MIN_MTU) && HAVE_DECL_IPV6_USE_MIN_MTU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_USE_MIN_MTU) == (63), "IPV6_USE_MIN_MTU != 63"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_USE_MIN_MTU 63 +#endif +#if defined(IPV6_RECVTCLASS) || (defined(HAVE_DECL_IPV6_RECVTCLASS) && HAVE_DECL_IPV6_RECVTCLASS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVTCLASS) == (66), "IPV6_RECVTCLASS != 66"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVTCLASS 66 +#endif +#if defined(IPV6_TCLASS) || (defined(HAVE_DECL_IPV6_TCLASS) && HAVE_DECL_IPV6_TCLASS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_TCLASS) == (67), "IPV6_TCLASS != 67"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_TCLASS 67 +#endif +#if defined(IPV6_AUTOFLOWLABEL) || (defined(HAVE_DECL_IPV6_AUTOFLOWLABEL) && HAVE_DECL_IPV6_AUTOFLOWLABEL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_AUTOFLOWLABEL) == (70), "IPV6_AUTOFLOWLABEL != 70"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_AUTOFLOWLABEL 70 +#endif +#if defined(IPV6_ADDR_PREFERENCES) || (defined(HAVE_DECL_IPV6_ADDR_PREFERENCES) && HAVE_DECL_IPV6_ADDR_PREFERENCES) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ADDR_PREFERENCES) == (72), "IPV6_ADDR_PREFERENCES != 72"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ADDR_PREFERENCES 72 +#endif +#if defined(IPV6_MINHOPCOUNT) || (defined(HAVE_DECL_IPV6_MINHOPCOUNT) && HAVE_DECL_IPV6_MINHOPCOUNT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_MINHOPCOUNT) == (73), "IPV6_MINHOPCOUNT != 73"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_MINHOPCOUNT 73 +#endif +#if defined(IPV6_ORIGDSTADDR) || (defined(HAVE_DECL_IPV6_ORIGDSTADDR) && HAVE_DECL_IPV6_ORIGDSTADDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_ORIGDSTADDR) == (74), "IPV6_ORIGDSTADDR != 74"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_ORIGDSTADDR 74 +#endif +#if defined(IPV6_TRANSPARENT) || (defined(HAVE_DECL_IPV6_TRANSPARENT) && HAVE_DECL_IPV6_TRANSPARENT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_TRANSPARENT) == (75), "IPV6_TRANSPARENT != 75"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_TRANSPARENT 75 +#endif +#if defined(IPV6_UNICAST_IF) || (defined(HAVE_DECL_IPV6_UNICAST_IF) && HAVE_DECL_IPV6_UNICAST_IF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_UNICAST_IF) == (76), "IPV6_UNICAST_IF != 76"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_UNICAST_IF 76 +#endif +#if defined(IPV6_RECVFRAGSIZE) || (defined(HAVE_DECL_IPV6_RECVFRAGSIZE) && HAVE_DECL_IPV6_RECVFRAGSIZE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_RECVFRAGSIZE) == (77), "IPV6_RECVFRAGSIZE != 77"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_RECVFRAGSIZE 77 +#endif +#if defined(IPV6_FREEBIND) || (defined(HAVE_DECL_IPV6_FREEBIND) && HAVE_DECL_IPV6_FREEBIND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPV6_FREEBIND) == (78), "IPV6_FREEBIND != 78"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPV6_FREEBIND 78 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,337 +463,204 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data sock_ipv6_options_xdata = { -#if defined(IPV6_ADDRFORM) || (defined(HAVE_DECL_IPV6_ADDRFORM) && HAVE_DECL_IPV6_ADDRFORM) - XLAT(IPV6_ADDRFORM), + IPV6_ADDRFORM = XLAT(IPV6_ADDRFORM), #define XLAT_VAL_0 ((unsigned) (IPV6_ADDRFORM)) #define XLAT_STR_0 STRINGIFY(IPV6_ADDRFORM) -#endif -#if defined(IPV6_2292PKTINFO) || (defined(HAVE_DECL_IPV6_2292PKTINFO) && HAVE_DECL_IPV6_2292PKTINFO) - XLAT(IPV6_2292PKTINFO), + IPV6_2292PKTINFO = XLAT(IPV6_2292PKTINFO), #define XLAT_VAL_1 ((unsigned) (IPV6_2292PKTINFO)) #define XLAT_STR_1 STRINGIFY(IPV6_2292PKTINFO) -#endif -#if defined(IPV6_2292HOPOPTS) || (defined(HAVE_DECL_IPV6_2292HOPOPTS) && HAVE_DECL_IPV6_2292HOPOPTS) - XLAT(IPV6_2292HOPOPTS), + IPV6_2292HOPOPTS = XLAT(IPV6_2292HOPOPTS), #define XLAT_VAL_2 ((unsigned) (IPV6_2292HOPOPTS)) #define XLAT_STR_2 STRINGIFY(IPV6_2292HOPOPTS) -#endif -#if defined(IPV6_2292DSTOPTS) || (defined(HAVE_DECL_IPV6_2292DSTOPTS) && HAVE_DECL_IPV6_2292DSTOPTS) - XLAT(IPV6_2292DSTOPTS), + IPV6_2292DSTOPTS = XLAT(IPV6_2292DSTOPTS), #define XLAT_VAL_3 ((unsigned) (IPV6_2292DSTOPTS)) #define XLAT_STR_3 STRINGIFY(IPV6_2292DSTOPTS) -#endif -#if defined(IPV6_2292RTHDR) || (defined(HAVE_DECL_IPV6_2292RTHDR) && HAVE_DECL_IPV6_2292RTHDR) - XLAT(IPV6_2292RTHDR), + IPV6_2292RTHDR = XLAT(IPV6_2292RTHDR), #define XLAT_VAL_4 ((unsigned) (IPV6_2292RTHDR)) #define XLAT_STR_4 STRINGIFY(IPV6_2292RTHDR) -#endif -#if defined(IPV6_2292PKTOPTIONS) || (defined(HAVE_DECL_IPV6_2292PKTOPTIONS) && HAVE_DECL_IPV6_2292PKTOPTIONS) - XLAT(IPV6_2292PKTOPTIONS), + IPV6_2292PKTOPTIONS = XLAT(IPV6_2292PKTOPTIONS), #define XLAT_VAL_5 ((unsigned) (IPV6_2292PKTOPTIONS)) #define XLAT_STR_5 STRINGIFY(IPV6_2292PKTOPTIONS) -#endif -#if defined(IPV6_CHECKSUM) || (defined(HAVE_DECL_IPV6_CHECKSUM) && HAVE_DECL_IPV6_CHECKSUM) - XLAT(IPV6_CHECKSUM), + IPV6_CHECKSUM = XLAT(IPV6_CHECKSUM), #define XLAT_VAL_6 ((unsigned) (IPV6_CHECKSUM)) #define XLAT_STR_6 STRINGIFY(IPV6_CHECKSUM) -#endif -#if defined(IPV6_2292HOPLIMIT) || (defined(HAVE_DECL_IPV6_2292HOPLIMIT) && HAVE_DECL_IPV6_2292HOPLIMIT) - XLAT(IPV6_2292HOPLIMIT), + IPV6_2292HOPLIMIT = XLAT(IPV6_2292HOPLIMIT), #define XLAT_VAL_7 ((unsigned) (IPV6_2292HOPLIMIT)) #define XLAT_STR_7 STRINGIFY(IPV6_2292HOPLIMIT) -#endif -#if defined(IPV6_NEXTHOP) || (defined(HAVE_DECL_IPV6_NEXTHOP) && HAVE_DECL_IPV6_NEXTHOP) - XLAT(IPV6_NEXTHOP), + IPV6_NEXTHOP = XLAT(IPV6_NEXTHOP), #define XLAT_VAL_8 ((unsigned) (IPV6_NEXTHOP)) #define XLAT_STR_8 STRINGIFY(IPV6_NEXTHOP) -#endif -#if defined(IPV6_AUTHHDR) || (defined(HAVE_DECL_IPV6_AUTHHDR) && HAVE_DECL_IPV6_AUTHHDR) - XLAT(IPV6_AUTHHDR), + IPV6_AUTHHDR = XLAT(IPV6_AUTHHDR), #define XLAT_VAL_9 ((unsigned) (IPV6_AUTHHDR)) #define XLAT_STR_9 STRINGIFY(IPV6_AUTHHDR) -#endif -#if defined(IPV6_FLOWINFO) || (defined(HAVE_DECL_IPV6_FLOWINFO) && HAVE_DECL_IPV6_FLOWINFO) - XLAT(IPV6_FLOWINFO), + IPV6_FLOWINFO = XLAT(IPV6_FLOWINFO), #define XLAT_VAL_10 ((unsigned) (IPV6_FLOWINFO)) #define XLAT_STR_10 STRINGIFY(IPV6_FLOWINFO) -#endif -#if defined(IPV6_UNICAST_HOPS) || (defined(HAVE_DECL_IPV6_UNICAST_HOPS) && HAVE_DECL_IPV6_UNICAST_HOPS) - XLAT(IPV6_UNICAST_HOPS), + IPV6_UNICAST_HOPS = XLAT(IPV6_UNICAST_HOPS), #define XLAT_VAL_11 ((unsigned) (IPV6_UNICAST_HOPS)) #define XLAT_STR_11 STRINGIFY(IPV6_UNICAST_HOPS) -#endif -#if defined(IPV6_MULTICAST_IF) || (defined(HAVE_DECL_IPV6_MULTICAST_IF) && HAVE_DECL_IPV6_MULTICAST_IF) - XLAT(IPV6_MULTICAST_IF), + IPV6_MULTICAST_IF = XLAT(IPV6_MULTICAST_IF), #define XLAT_VAL_12 ((unsigned) (IPV6_MULTICAST_IF)) #define XLAT_STR_12 STRINGIFY(IPV6_MULTICAST_IF) -#endif -#if defined(IPV6_MULTICAST_HOPS) || (defined(HAVE_DECL_IPV6_MULTICAST_HOPS) && HAVE_DECL_IPV6_MULTICAST_HOPS) - XLAT(IPV6_MULTICAST_HOPS), + IPV6_MULTICAST_HOPS = XLAT(IPV6_MULTICAST_HOPS), #define XLAT_VAL_13 ((unsigned) (IPV6_MULTICAST_HOPS)) #define XLAT_STR_13 STRINGIFY(IPV6_MULTICAST_HOPS) -#endif -#if defined(IPV6_MULTICAST_LOOP) || (defined(HAVE_DECL_IPV6_MULTICAST_LOOP) && HAVE_DECL_IPV6_MULTICAST_LOOP) - XLAT(IPV6_MULTICAST_LOOP), + IPV6_MULTICAST_LOOP = XLAT(IPV6_MULTICAST_LOOP), #define XLAT_VAL_14 ((unsigned) (IPV6_MULTICAST_LOOP)) #define XLAT_STR_14 STRINGIFY(IPV6_MULTICAST_LOOP) -#endif -#if defined(IPV6_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IPV6_ADD_MEMBERSHIP) && HAVE_DECL_IPV6_ADD_MEMBERSHIP) - XLAT(IPV6_ADD_MEMBERSHIP), + IPV6_ADD_MEMBERSHIP = XLAT(IPV6_ADD_MEMBERSHIP), #define XLAT_VAL_15 ((unsigned) (IPV6_ADD_MEMBERSHIP)) #define XLAT_STR_15 STRINGIFY(IPV6_ADD_MEMBERSHIP) -#endif -#if defined(IPV6_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IPV6_DROP_MEMBERSHIP) && HAVE_DECL_IPV6_DROP_MEMBERSHIP) - XLAT(IPV6_DROP_MEMBERSHIP), + IPV6_DROP_MEMBERSHIP = XLAT(IPV6_DROP_MEMBERSHIP), #define XLAT_VAL_16 ((unsigned) (IPV6_DROP_MEMBERSHIP)) #define XLAT_STR_16 STRINGIFY(IPV6_DROP_MEMBERSHIP) -#endif -#if defined(IPV6_ROUTER_ALERT) || (defined(HAVE_DECL_IPV6_ROUTER_ALERT) && HAVE_DECL_IPV6_ROUTER_ALERT) - XLAT(IPV6_ROUTER_ALERT), + IPV6_ROUTER_ALERT = XLAT(IPV6_ROUTER_ALERT), #define XLAT_VAL_17 ((unsigned) (IPV6_ROUTER_ALERT)) #define XLAT_STR_17 STRINGIFY(IPV6_ROUTER_ALERT) -#endif -#if defined(IPV6_MTU_DISCOVER) || (defined(HAVE_DECL_IPV6_MTU_DISCOVER) && HAVE_DECL_IPV6_MTU_DISCOVER) - XLAT(IPV6_MTU_DISCOVER), + IPV6_MTU_DISCOVER = XLAT(IPV6_MTU_DISCOVER), #define XLAT_VAL_18 ((unsigned) (IPV6_MTU_DISCOVER)) #define XLAT_STR_18 STRINGIFY(IPV6_MTU_DISCOVER) -#endif -#if defined(IPV6_MTU) || (defined(HAVE_DECL_IPV6_MTU) && HAVE_DECL_IPV6_MTU) - XLAT(IPV6_MTU), + IPV6_MTU = XLAT(IPV6_MTU), #define XLAT_VAL_19 ((unsigned) (IPV6_MTU)) #define XLAT_STR_19 STRINGIFY(IPV6_MTU) -#endif -#if defined(IPV6_RECVERR) || (defined(HAVE_DECL_IPV6_RECVERR) && HAVE_DECL_IPV6_RECVERR) - XLAT(IPV6_RECVERR), + IPV6_RECVERR = XLAT(IPV6_RECVERR), #define XLAT_VAL_20 ((unsigned) (IPV6_RECVERR)) #define XLAT_STR_20 STRINGIFY(IPV6_RECVERR) -#endif -#if defined(IPV6_V6ONLY) || (defined(HAVE_DECL_IPV6_V6ONLY) && HAVE_DECL_IPV6_V6ONLY) - XLAT(IPV6_V6ONLY), + IPV6_V6ONLY = XLAT(IPV6_V6ONLY), #define XLAT_VAL_21 ((unsigned) (IPV6_V6ONLY)) #define XLAT_STR_21 STRINGIFY(IPV6_V6ONLY) -#endif -#if defined(IPV6_JOIN_ANYCAST) || (defined(HAVE_DECL_IPV6_JOIN_ANYCAST) && HAVE_DECL_IPV6_JOIN_ANYCAST) - XLAT(IPV6_JOIN_ANYCAST), + IPV6_JOIN_ANYCAST = XLAT(IPV6_JOIN_ANYCAST), #define XLAT_VAL_22 ((unsigned) (IPV6_JOIN_ANYCAST)) #define XLAT_STR_22 STRINGIFY(IPV6_JOIN_ANYCAST) -#endif -#if defined(IPV6_LEAVE_ANYCAST) || (defined(HAVE_DECL_IPV6_LEAVE_ANYCAST) && HAVE_DECL_IPV6_LEAVE_ANYCAST) - XLAT(IPV6_LEAVE_ANYCAST), + IPV6_LEAVE_ANYCAST = XLAT(IPV6_LEAVE_ANYCAST), #define XLAT_VAL_23 ((unsigned) (IPV6_LEAVE_ANYCAST)) #define XLAT_STR_23 STRINGIFY(IPV6_LEAVE_ANYCAST) -#endif -#if defined(IPV6_MULTICAST_ALL) || (defined(HAVE_DECL_IPV6_MULTICAST_ALL) && HAVE_DECL_IPV6_MULTICAST_ALL) - XLAT(IPV6_MULTICAST_ALL), + IPV6_MULTICAST_ALL = XLAT(IPV6_MULTICAST_ALL), #define XLAT_VAL_24 ((unsigned) (IPV6_MULTICAST_ALL)) #define XLAT_STR_24 STRINGIFY(IPV6_MULTICAST_ALL) -#endif -#if defined(IPV6_ROUTER_ALERT_ISOLATE) || (defined(HAVE_DECL_IPV6_ROUTER_ALERT_ISOLATE) && HAVE_DECL_IPV6_ROUTER_ALERT_ISOLATE) - XLAT(IPV6_ROUTER_ALERT_ISOLATE), + IPV6_ROUTER_ALERT_ISOLATE = XLAT(IPV6_ROUTER_ALERT_ISOLATE), #define XLAT_VAL_25 ((unsigned) (IPV6_ROUTER_ALERT_ISOLATE)) #define XLAT_STR_25 STRINGIFY(IPV6_ROUTER_ALERT_ISOLATE) -#endif -#if defined(IPV6_RECVERR_RFC4884) || (defined(HAVE_DECL_IPV6_RECVERR_RFC4884) && HAVE_DECL_IPV6_RECVERR_RFC4884) - XLAT(IPV6_RECVERR_RFC4884), + IPV6_RECVERR_RFC4884 = XLAT(IPV6_RECVERR_RFC4884), #define XLAT_VAL_26 ((unsigned) (IPV6_RECVERR_RFC4884)) #define XLAT_STR_26 STRINGIFY(IPV6_RECVERR_RFC4884) -#endif -#if defined(IPV6_FLOWLABEL_MGR) || (defined(HAVE_DECL_IPV6_FLOWLABEL_MGR) && HAVE_DECL_IPV6_FLOWLABEL_MGR) - XLAT(IPV6_FLOWLABEL_MGR), + IPV6_FLOWLABEL_MGR = XLAT(IPV6_FLOWLABEL_MGR), #define XLAT_VAL_27 ((unsigned) (IPV6_FLOWLABEL_MGR)) #define XLAT_STR_27 STRINGIFY(IPV6_FLOWLABEL_MGR) -#endif -#if defined(IPV6_FLOWINFO_SEND) || (defined(HAVE_DECL_IPV6_FLOWINFO_SEND) && HAVE_DECL_IPV6_FLOWINFO_SEND) - XLAT(IPV6_FLOWINFO_SEND), + IPV6_FLOWINFO_SEND = XLAT(IPV6_FLOWINFO_SEND), #define XLAT_VAL_28 ((unsigned) (IPV6_FLOWINFO_SEND)) #define XLAT_STR_28 STRINGIFY(IPV6_FLOWINFO_SEND) -#endif -#if defined(IPV6_IPSEC_POLICY) || (defined(HAVE_DECL_IPV6_IPSEC_POLICY) && HAVE_DECL_IPV6_IPSEC_POLICY) - XLAT(IPV6_IPSEC_POLICY), + IPV6_IPSEC_POLICY = XLAT(IPV6_IPSEC_POLICY), #define XLAT_VAL_29 ((unsigned) (IPV6_IPSEC_POLICY)) #define XLAT_STR_29 STRINGIFY(IPV6_IPSEC_POLICY) -#endif -#if defined(IPV6_XFRM_POLICY) || (defined(HAVE_DECL_IPV6_XFRM_POLICY) && HAVE_DECL_IPV6_XFRM_POLICY) - XLAT(IPV6_XFRM_POLICY), + IPV6_XFRM_POLICY = XLAT(IPV6_XFRM_POLICY), #define XLAT_VAL_30 ((unsigned) (IPV6_XFRM_POLICY)) #define XLAT_STR_30 STRINGIFY(IPV6_XFRM_POLICY) -#endif -#if defined(IPV6_HDRINCL) || (defined(HAVE_DECL_IPV6_HDRINCL) && HAVE_DECL_IPV6_HDRINCL) - XLAT(IPV6_HDRINCL), + IPV6_HDRINCL = XLAT(IPV6_HDRINCL), #define XLAT_VAL_31 ((unsigned) (IPV6_HDRINCL)) #define XLAT_STR_31 STRINGIFY(IPV6_HDRINCL) -#endif -#if defined(MCAST_JOIN_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_GROUP) && HAVE_DECL_MCAST_JOIN_GROUP) - XLAT(MCAST_JOIN_GROUP), + MCAST_JOIN_GROUP = XLAT(MCAST_JOIN_GROUP), #define XLAT_VAL_32 ((unsigned) (MCAST_JOIN_GROUP)) #define XLAT_STR_32 STRINGIFY(MCAST_JOIN_GROUP) -#endif -#if defined(MCAST_BLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_BLOCK_SOURCE) && HAVE_DECL_MCAST_BLOCK_SOURCE) - XLAT(MCAST_BLOCK_SOURCE), + MCAST_BLOCK_SOURCE = XLAT(MCAST_BLOCK_SOURCE), #define XLAT_VAL_33 ((unsigned) (MCAST_BLOCK_SOURCE)) #define XLAT_STR_33 STRINGIFY(MCAST_BLOCK_SOURCE) -#endif -#if defined(MCAST_UNBLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_UNBLOCK_SOURCE) && HAVE_DECL_MCAST_UNBLOCK_SOURCE) - XLAT(MCAST_UNBLOCK_SOURCE), + MCAST_UNBLOCK_SOURCE = XLAT(MCAST_UNBLOCK_SOURCE), #define XLAT_VAL_34 ((unsigned) (MCAST_UNBLOCK_SOURCE)) #define XLAT_STR_34 STRINGIFY(MCAST_UNBLOCK_SOURCE) -#endif -#if defined(MCAST_LEAVE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_GROUP) && HAVE_DECL_MCAST_LEAVE_GROUP) - XLAT(MCAST_LEAVE_GROUP), + MCAST_LEAVE_GROUP = XLAT(MCAST_LEAVE_GROUP), #define XLAT_VAL_35 ((unsigned) (MCAST_LEAVE_GROUP)) #define XLAT_STR_35 STRINGIFY(MCAST_LEAVE_GROUP) -#endif -#if defined(MCAST_JOIN_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) && HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) - XLAT(MCAST_JOIN_SOURCE_GROUP), + MCAST_JOIN_SOURCE_GROUP = XLAT(MCAST_JOIN_SOURCE_GROUP), #define XLAT_VAL_36 ((unsigned) (MCAST_JOIN_SOURCE_GROUP)) #define XLAT_STR_36 STRINGIFY(MCAST_JOIN_SOURCE_GROUP) -#endif -#if defined(MCAST_LEAVE_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) && HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) - XLAT(MCAST_LEAVE_SOURCE_GROUP), + MCAST_LEAVE_SOURCE_GROUP = XLAT(MCAST_LEAVE_SOURCE_GROUP), #define XLAT_VAL_37 ((unsigned) (MCAST_LEAVE_SOURCE_GROUP)) #define XLAT_STR_37 STRINGIFY(MCAST_LEAVE_SOURCE_GROUP) -#endif -#if defined(MCAST_MSFILTER) || (defined(HAVE_DECL_MCAST_MSFILTER) && HAVE_DECL_MCAST_MSFILTER) - XLAT(MCAST_MSFILTER), + MCAST_MSFILTER = XLAT(MCAST_MSFILTER), #define XLAT_VAL_38 ((unsigned) (MCAST_MSFILTER)) #define XLAT_STR_38 STRINGIFY(MCAST_MSFILTER) -#endif -#if defined(IPV6_RECVPKTINFO) || (defined(HAVE_DECL_IPV6_RECVPKTINFO) && HAVE_DECL_IPV6_RECVPKTINFO) - XLAT(IPV6_RECVPKTINFO), + IPV6_RECVPKTINFO = XLAT(IPV6_RECVPKTINFO), #define XLAT_VAL_39 ((unsigned) (IPV6_RECVPKTINFO)) #define XLAT_STR_39 STRINGIFY(IPV6_RECVPKTINFO) -#endif -#if defined(IPV6_PKTINFO) || (defined(HAVE_DECL_IPV6_PKTINFO) && HAVE_DECL_IPV6_PKTINFO) - XLAT(IPV6_PKTINFO), + IPV6_PKTINFO = XLAT(IPV6_PKTINFO), #define XLAT_VAL_40 ((unsigned) (IPV6_PKTINFO)) #define XLAT_STR_40 STRINGIFY(IPV6_PKTINFO) -#endif -#if defined(IPV6_RECVHOPLIMIT) || (defined(HAVE_DECL_IPV6_RECVHOPLIMIT) && HAVE_DECL_IPV6_RECVHOPLIMIT) - XLAT(IPV6_RECVHOPLIMIT), + IPV6_RECVHOPLIMIT = XLAT(IPV6_RECVHOPLIMIT), #define XLAT_VAL_41 ((unsigned) (IPV6_RECVHOPLIMIT)) #define XLAT_STR_41 STRINGIFY(IPV6_RECVHOPLIMIT) -#endif -#if defined(IPV6_HOPLIMIT) || (defined(HAVE_DECL_IPV6_HOPLIMIT) && HAVE_DECL_IPV6_HOPLIMIT) - XLAT(IPV6_HOPLIMIT), + IPV6_HOPLIMIT = XLAT(IPV6_HOPLIMIT), #define XLAT_VAL_42 ((unsigned) (IPV6_HOPLIMIT)) #define XLAT_STR_42 STRINGIFY(IPV6_HOPLIMIT) -#endif -#if defined(IPV6_RECVHOPOPTS) || (defined(HAVE_DECL_IPV6_RECVHOPOPTS) && HAVE_DECL_IPV6_RECVHOPOPTS) - XLAT(IPV6_RECVHOPOPTS), + IPV6_RECVHOPOPTS = XLAT(IPV6_RECVHOPOPTS), #define XLAT_VAL_43 ((unsigned) (IPV6_RECVHOPOPTS)) #define XLAT_STR_43 STRINGIFY(IPV6_RECVHOPOPTS) -#endif -#if defined(IPV6_HOPOPTS) || (defined(HAVE_DECL_IPV6_HOPOPTS) && HAVE_DECL_IPV6_HOPOPTS) - XLAT(IPV6_HOPOPTS), + IPV6_HOPOPTS = XLAT(IPV6_HOPOPTS), #define XLAT_VAL_44 ((unsigned) (IPV6_HOPOPTS)) #define XLAT_STR_44 STRINGIFY(IPV6_HOPOPTS) -#endif -#if defined(IPV6_RTHDRDSTOPTS) || (defined(HAVE_DECL_IPV6_RTHDRDSTOPTS) && HAVE_DECL_IPV6_RTHDRDSTOPTS) - XLAT(IPV6_RTHDRDSTOPTS), + IPV6_RTHDRDSTOPTS = XLAT(IPV6_RTHDRDSTOPTS), #define XLAT_VAL_45 ((unsigned) (IPV6_RTHDRDSTOPTS)) #define XLAT_STR_45 STRINGIFY(IPV6_RTHDRDSTOPTS) -#endif -#if defined(IPV6_RECVRTHDR) || (defined(HAVE_DECL_IPV6_RECVRTHDR) && HAVE_DECL_IPV6_RECVRTHDR) - XLAT(IPV6_RECVRTHDR), + IPV6_RECVRTHDR = XLAT(IPV6_RECVRTHDR), #define XLAT_VAL_46 ((unsigned) (IPV6_RECVRTHDR)) #define XLAT_STR_46 STRINGIFY(IPV6_RECVRTHDR) -#endif -#if defined(IPV6_RTHDR) || (defined(HAVE_DECL_IPV6_RTHDR) && HAVE_DECL_IPV6_RTHDR) - XLAT(IPV6_RTHDR), + IPV6_RTHDR = XLAT(IPV6_RTHDR), #define XLAT_VAL_47 ((unsigned) (IPV6_RTHDR)) #define XLAT_STR_47 STRINGIFY(IPV6_RTHDR) -#endif -#if defined(IPV6_RECVDSTOPTS) || (defined(HAVE_DECL_IPV6_RECVDSTOPTS) && HAVE_DECL_IPV6_RECVDSTOPTS) - XLAT(IPV6_RECVDSTOPTS), + IPV6_RECVDSTOPTS = XLAT(IPV6_RECVDSTOPTS), #define XLAT_VAL_48 ((unsigned) (IPV6_RECVDSTOPTS)) #define XLAT_STR_48 STRINGIFY(IPV6_RECVDSTOPTS) -#endif -#if defined(IPV6_DSTOPTS) || (defined(HAVE_DECL_IPV6_DSTOPTS) && HAVE_DECL_IPV6_DSTOPTS) - XLAT(IPV6_DSTOPTS), + IPV6_DSTOPTS = XLAT(IPV6_DSTOPTS), #define XLAT_VAL_49 ((unsigned) (IPV6_DSTOPTS)) #define XLAT_STR_49 STRINGIFY(IPV6_DSTOPTS) -#endif -#if defined(IPV6_RECVPATHMTU) || (defined(HAVE_DECL_IPV6_RECVPATHMTU) && HAVE_DECL_IPV6_RECVPATHMTU) - XLAT(IPV6_RECVPATHMTU), + IPV6_RECVPATHMTU = XLAT(IPV6_RECVPATHMTU), #define XLAT_VAL_50 ((unsigned) (IPV6_RECVPATHMTU)) #define XLAT_STR_50 STRINGIFY(IPV6_RECVPATHMTU) -#endif -#if defined(IPV6_PATHMTU) || (defined(HAVE_DECL_IPV6_PATHMTU) && HAVE_DECL_IPV6_PATHMTU) - XLAT(IPV6_PATHMTU), + IPV6_PATHMTU = XLAT(IPV6_PATHMTU), #define XLAT_VAL_51 ((unsigned) (IPV6_PATHMTU)) #define XLAT_STR_51 STRINGIFY(IPV6_PATHMTU) -#endif -#if defined(IPV6_DONTFRAG) || (defined(HAVE_DECL_IPV6_DONTFRAG) && HAVE_DECL_IPV6_DONTFRAG) - XLAT(IPV6_DONTFRAG), + IPV6_DONTFRAG = XLAT(IPV6_DONTFRAG), #define XLAT_VAL_52 ((unsigned) (IPV6_DONTFRAG)) #define XLAT_STR_52 STRINGIFY(IPV6_DONTFRAG) -#endif -#if defined(IPV6_USE_MIN_MTU) || (defined(HAVE_DECL_IPV6_USE_MIN_MTU) && HAVE_DECL_IPV6_USE_MIN_MTU) - XLAT(IPV6_USE_MIN_MTU), + IPV6_USE_MIN_MTU = XLAT(IPV6_USE_MIN_MTU), #define XLAT_VAL_53 ((unsigned) (IPV6_USE_MIN_MTU)) #define XLAT_STR_53 STRINGIFY(IPV6_USE_MIN_MTU) -#endif -#if defined(IPV6_RECVTCLASS) || (defined(HAVE_DECL_IPV6_RECVTCLASS) && HAVE_DECL_IPV6_RECVTCLASS) - XLAT(IPV6_RECVTCLASS), + IPV6_RECVTCLASS = XLAT(IPV6_RECVTCLASS), #define XLAT_VAL_54 ((unsigned) (IPV6_RECVTCLASS)) #define XLAT_STR_54 STRINGIFY(IPV6_RECVTCLASS) -#endif -#if defined(IPV6_TCLASS) || (defined(HAVE_DECL_IPV6_TCLASS) && HAVE_DECL_IPV6_TCLASS) - XLAT(IPV6_TCLASS), + IPV6_TCLASS = XLAT(IPV6_TCLASS), #define XLAT_VAL_55 ((unsigned) (IPV6_TCLASS)) #define XLAT_STR_55 STRINGIFY(IPV6_TCLASS) -#endif -#if defined(IPV6_AUTOFLOWLABEL) || (defined(HAVE_DECL_IPV6_AUTOFLOWLABEL) && HAVE_DECL_IPV6_AUTOFLOWLABEL) - XLAT(IPV6_AUTOFLOWLABEL), + IPV6_AUTOFLOWLABEL = XLAT(IPV6_AUTOFLOWLABEL), #define XLAT_VAL_56 ((unsigned) (IPV6_AUTOFLOWLABEL)) #define XLAT_STR_56 STRINGIFY(IPV6_AUTOFLOWLABEL) -#endif -#if defined(IPV6_ADDR_PREFERENCES) || (defined(HAVE_DECL_IPV6_ADDR_PREFERENCES) && HAVE_DECL_IPV6_ADDR_PREFERENCES) - XLAT(IPV6_ADDR_PREFERENCES), + IPV6_ADDR_PREFERENCES = XLAT(IPV6_ADDR_PREFERENCES), #define XLAT_VAL_57 ((unsigned) (IPV6_ADDR_PREFERENCES)) #define XLAT_STR_57 STRINGIFY(IPV6_ADDR_PREFERENCES) -#endif -#if defined(IPV6_MINHOPCOUNT) || (defined(HAVE_DECL_IPV6_MINHOPCOUNT) && HAVE_DECL_IPV6_MINHOPCOUNT) - XLAT(IPV6_MINHOPCOUNT), + IPV6_MINHOPCOUNT = XLAT(IPV6_MINHOPCOUNT), #define XLAT_VAL_58 ((unsigned) (IPV6_MINHOPCOUNT)) #define XLAT_STR_58 STRINGIFY(IPV6_MINHOPCOUNT) -#endif -#if defined(IPV6_ORIGDSTADDR) || (defined(HAVE_DECL_IPV6_ORIGDSTADDR) && HAVE_DECL_IPV6_ORIGDSTADDR) - XLAT(IPV6_ORIGDSTADDR), + IPV6_ORIGDSTADDR = XLAT(IPV6_ORIGDSTADDR), #define XLAT_VAL_59 ((unsigned) (IPV6_ORIGDSTADDR)) #define XLAT_STR_59 STRINGIFY(IPV6_ORIGDSTADDR) -#endif -#if defined(IPV6_RECVORIGDSTADDR) || (defined(HAVE_DECL_IPV6_RECVORIGDSTADDR) && HAVE_DECL_IPV6_RECVORIGDSTADDR) - XLAT(IPV6_RECVORIGDSTADDR), - #define XLAT_VAL_60 ((unsigned) (IPV6_RECVORIGDSTADDR)) - #define XLAT_STR_60 STRINGIFY(IPV6_RECVORIGDSTADDR) -#endif -#if defined(IPV6_TRANSPARENT) || (defined(HAVE_DECL_IPV6_TRANSPARENT) && HAVE_DECL_IPV6_TRANSPARENT) - XLAT(IPV6_TRANSPARENT), - #define XLAT_VAL_61 ((unsigned) (IPV6_TRANSPARENT)) - #define XLAT_STR_61 STRINGIFY(IPV6_TRANSPARENT) -#endif -#if defined(IPV6_UNICAST_IF) || (defined(HAVE_DECL_IPV6_UNICAST_IF) && HAVE_DECL_IPV6_UNICAST_IF) - XLAT(IPV6_UNICAST_IF), - #define XLAT_VAL_62 ((unsigned) (IPV6_UNICAST_IF)) - #define XLAT_STR_62 STRINGIFY(IPV6_UNICAST_IF) -#endif -#if defined(IPV6_RECVFRAGSIZE) || (defined(HAVE_DECL_IPV6_RECVFRAGSIZE) && HAVE_DECL_IPV6_RECVFRAGSIZE) - XLAT(IPV6_RECVFRAGSIZE), - #define XLAT_VAL_63 ((unsigned) (IPV6_RECVFRAGSIZE)) - #define XLAT_STR_63 STRINGIFY(IPV6_RECVFRAGSIZE) -#endif -#if defined(IPV6_FREEBIND) || (defined(HAVE_DECL_IPV6_FREEBIND) && HAVE_DECL_IPV6_FREEBIND) - XLAT(IPV6_FREEBIND), - #define XLAT_VAL_64 ((unsigned) (IPV6_FREEBIND)) - #define XLAT_STR_64 STRINGIFY(IPV6_FREEBIND) -#endif + IPV6_TRANSPARENT = XLAT(IPV6_TRANSPARENT), + #define XLAT_VAL_60 ((unsigned) (IPV6_TRANSPARENT)) + #define XLAT_STR_60 STRINGIFY(IPV6_TRANSPARENT) + IPV6_UNICAST_IF = XLAT(IPV6_UNICAST_IF), + #define XLAT_VAL_61 ((unsigned) (IPV6_UNICAST_IF)) + #define XLAT_STR_61 STRINGIFY(IPV6_UNICAST_IF) + IPV6_RECVFRAGSIZE = XLAT(IPV6_RECVFRAGSIZE), + #define XLAT_VAL_62 ((unsigned) (IPV6_RECVFRAGSIZE)) + #define XLAT_STR_62 STRINGIFY(IPV6_RECVFRAGSIZE) + IPV6_FREEBIND = XLAT(IPV6_FREEBIND), + #define XLAT_VAL_63 ((unsigned) (IPV6_FREEBIND)) + #define XLAT_STR_63 STRINGIFY(IPV6_FREEBIND) }; static const struct xlat sock_ipv6_options1 = { { .data = sock_ipv6_options_xdata, .size = ARRAY_SIZE(sock_ipv6_options_xdata), - .type = XT_NORMAL, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -538,9 +854,6 @@ # ifdef XLAT_VAL_63 | XLAT_VAL_63 # endif -# ifdef XLAT_VAL_64 - | XLAT_VAL_64 -# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -735,9 +1048,6 @@ # ifdef XLAT_STR_63 + sizeof(XLAT_STR_63) # endif -# ifdef XLAT_STR_64 - + sizeof(XLAT_STR_64) -# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -870,8 +1180,6 @@ # undef XLAT_VAL_62 # undef XLAT_STR_63 # undef XLAT_VAL_63 -# undef XLAT_STR_64 -# undef XLAT_VAL_64 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ipv6_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ipv6_options.in
Changed
@@ -1,65 +1,65 @@ -IPV6_ADDRFORM -IPV6_2292PKTINFO -IPV6_2292HOPOPTS -IPV6_2292DSTOPTS -IPV6_2292RTHDR -IPV6_2292PKTOPTIONS -IPV6_CHECKSUM -IPV6_2292HOPLIMIT -IPV6_NEXTHOP -IPV6_AUTHHDR -IPV6_FLOWINFO -IPV6_UNICAST_HOPS -IPV6_MULTICAST_IF -IPV6_MULTICAST_HOPS -IPV6_MULTICAST_LOOP -IPV6_ADD_MEMBERSHIP -IPV6_DROP_MEMBERSHIP -IPV6_ROUTER_ALERT -IPV6_MTU_DISCOVER -IPV6_MTU -IPV6_RECVERR -IPV6_V6ONLY -IPV6_JOIN_ANYCAST -IPV6_LEAVE_ANYCAST -IPV6_MULTICAST_ALL -IPV6_ROUTER_ALERT_ISOLATE -IPV6_RECVERR_RFC4884 -IPV6_FLOWLABEL_MGR -IPV6_FLOWINFO_SEND -IPV6_IPSEC_POLICY -IPV6_XFRM_POLICY -IPV6_HDRINCL -MCAST_JOIN_GROUP -MCAST_BLOCK_SOURCE -MCAST_UNBLOCK_SOURCE -MCAST_LEAVE_GROUP -MCAST_JOIN_SOURCE_GROUP -MCAST_LEAVE_SOURCE_GROUP -MCAST_MSFILTER -IPV6_RECVPKTINFO -IPV6_PKTINFO -IPV6_RECVHOPLIMIT -IPV6_HOPLIMIT -IPV6_RECVHOPOPTS -IPV6_HOPOPTS -IPV6_RTHDRDSTOPTS -IPV6_RECVRTHDR -IPV6_RTHDR -IPV6_RECVDSTOPTS -IPV6_DSTOPTS -IPV6_RECVPATHMTU -IPV6_PATHMTU -IPV6_DONTFRAG -IPV6_USE_MIN_MTU -IPV6_RECVTCLASS -IPV6_TCLASS -IPV6_AUTOFLOWLABEL -IPV6_ADDR_PREFERENCES -IPV6_MINHOPCOUNT -IPV6_ORIGDSTADDR -IPV6_RECVORIGDSTADDR -IPV6_TRANSPARENT -IPV6_UNICAST_IF -IPV6_RECVFRAGSIZE -IPV6_FREEBIND +#value_indexed +IPV6_ADDRFORM 1 +IPV6_2292PKTINFO 2 +IPV6_2292HOPOPTS 3 +IPV6_2292DSTOPTS 4 +IPV6_2292RTHDR 5 +IPV6_2292PKTOPTIONS 6 +IPV6_CHECKSUM 7 +IPV6_2292HOPLIMIT 8 +IPV6_NEXTHOP 9 +IPV6_AUTHHDR 10 +IPV6_FLOWINFO 11 +IPV6_UNICAST_HOPS 16 +IPV6_MULTICAST_IF 17 +IPV6_MULTICAST_HOPS 18 +IPV6_MULTICAST_LOOP 19 +IPV6_ADD_MEMBERSHIP 20 +IPV6_DROP_MEMBERSHIP 21 +IPV6_ROUTER_ALERT 22 +IPV6_MTU_DISCOVER 23 +IPV6_MTU 24 +IPV6_RECVERR 25 +IPV6_V6ONLY 26 +IPV6_JOIN_ANYCAST 27 +IPV6_LEAVE_ANYCAST 28 +IPV6_MULTICAST_ALL 29 +IPV6_ROUTER_ALERT_ISOLATE 30 +IPV6_RECVERR_RFC4884 31 +IPV6_FLOWLABEL_MGR 32 +IPV6_FLOWINFO_SEND 33 +IPV6_IPSEC_POLICY 34 +IPV6_XFRM_POLICY 35 +IPV6_HDRINCL 36 +MCAST_JOIN_GROUP 42 +MCAST_BLOCK_SOURCE 43 +MCAST_UNBLOCK_SOURCE 44 +MCAST_LEAVE_GROUP 45 +MCAST_JOIN_SOURCE_GROUP 46 +MCAST_LEAVE_SOURCE_GROUP 47 +MCAST_MSFILTER 48 +IPV6_RECVPKTINFO 49 +IPV6_PKTINFO 50 +IPV6_RECVHOPLIMIT 51 +IPV6_HOPLIMIT 52 +IPV6_RECVHOPOPTS 53 +IPV6_HOPOPTS 54 +IPV6_RTHDRDSTOPTS 55 +IPV6_RECVRTHDR 56 +IPV6_RTHDR 57 +IPV6_RECVDSTOPTS 58 +IPV6_DSTOPTS 59 +IPV6_RECVPATHMTU 60 +IPV6_PATHMTU 61 +IPV6_DONTFRAG 62 +IPV6_USE_MIN_MTU 63 +IPV6_RECVTCLASS 66 +IPV6_TCLASS 67 +IPV6_AUTOFLOWLABEL 70 +IPV6_ADDR_PREFERENCES 72 +IPV6_MINHOPCOUNT 73 +IPV6_ORIGDSTADDR 74 +IPV6_TRANSPARENT 75 +IPV6_UNICAST_IF 76 +IPV6_RECVFRAGSIZE 77 +IPV6_FREEBIND 78
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ipx_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ipx_options.h
Changed
@@ -3,6 +3,14 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined(IPX_TYPE) || (defined(HAVE_DECL_IPX_TYPE) && HAVE_DECL_IPX_TYPE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IPX_TYPE) == (1), "IPX_TYPE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IPX_TYPE 1 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,11 +22,9 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data sock_ipx_options_xdata = { -#if defined(IPX_TYPE) || (defined(HAVE_DECL_IPX_TYPE) && HAVE_DECL_IPX_TYPE) - XLAT(IPX_TYPE), + XLAT(IPX_TYPE), #define XLAT_VAL_0 ((unsigned) (IPX_TYPE)) #define XLAT_STR_0 STRINGIFY(IPX_TYPE) -#endif }; static const struct xlat sock_ipx_options1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_ipx_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_ipx_options.in
Changed
@@ -1,1 +1,1 @@ -IPX_TYPE +IPX_TYPE 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_irda_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_irda_options.h
Changed
@@ -80,6 +80,7 @@ #else # define IRLMP_WAITDEVICE 11 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_iucv_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_iucv_options.h
Changed
@@ -24,6 +24,7 @@ #else # define SO_MSGSIZE 0x0800 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_kcm_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_kcm_options.h
Changed
@@ -10,6 +10,7 @@ #else # define KCM_RECV_DISABLE 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_llc_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_llc_options.h
Changed
@@ -73,6 +73,7 @@ #else # define LLC_OPT_PKTINFO 9 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_netlink_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_netlink_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_nfcllcp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_nfcllcp_options.h
Changed
@@ -38,6 +38,7 @@ #else # define NFC_LLCP_REMOTE_RW 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_options.h
Changed
@@ -1644,6 +1644,132 @@ # define SO_BUSY_POLL_BUDGET 70 #endif #endif +#if defined __sparc__ +#if defined(SO_NETNS_COOKIE) || (defined(HAVE_DECL_SO_NETNS_COOKIE) && HAVE_DECL_SO_NETNS_COOKIE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_NETNS_COOKIE) == (80), "SO_NETNS_COOKIE != 80"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_NETNS_COOKIE 80 +#endif +#elif defined __hppa__ +#if defined(SO_NETNS_COOKIE) || (defined(HAVE_DECL_SO_NETNS_COOKIE) && HAVE_DECL_SO_NETNS_COOKIE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_NETNS_COOKIE) == (16453), "SO_NETNS_COOKIE != 16453"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_NETNS_COOKIE 16453 +#endif +#else +#if defined(SO_NETNS_COOKIE) || (defined(HAVE_DECL_SO_NETNS_COOKIE) && HAVE_DECL_SO_NETNS_COOKIE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_NETNS_COOKIE) == (71), "SO_NETNS_COOKIE != 71"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_NETNS_COOKIE 71 +#endif +#endif +#if defined __sparc__ +#if defined(SO_BUF_LOCK) || (defined(HAVE_DECL_SO_BUF_LOCK) && HAVE_DECL_SO_BUF_LOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_BUF_LOCK) == (81), "SO_BUF_LOCK != 81"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_BUF_LOCK 81 +#endif +#elif defined __hppa__ +#if defined(SO_BUF_LOCK) || (defined(HAVE_DECL_SO_BUF_LOCK) && HAVE_DECL_SO_BUF_LOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_BUF_LOCK) == (16454), "SO_BUF_LOCK != 16454"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_BUF_LOCK 16454 +#endif +#else +#if defined(SO_BUF_LOCK) || (defined(HAVE_DECL_SO_BUF_LOCK) && HAVE_DECL_SO_BUF_LOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_BUF_LOCK) == (72), "SO_BUF_LOCK != 72"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_BUF_LOCK 72 +#endif +#endif +#if defined __sparc__ +#if defined(SO_RESERVE_MEM) || (defined(HAVE_DECL_SO_RESERVE_MEM) && HAVE_DECL_SO_RESERVE_MEM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RESERVE_MEM) == (82), "SO_RESERVE_MEM != 82"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RESERVE_MEM 82 +#endif +#elif defined __hppa__ +#if defined(SO_RESERVE_MEM) || (defined(HAVE_DECL_SO_RESERVE_MEM) && HAVE_DECL_SO_RESERVE_MEM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RESERVE_MEM) == (16455), "SO_RESERVE_MEM != 16455"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RESERVE_MEM 16455 +#endif +#else +#if defined(SO_RESERVE_MEM) || (defined(HAVE_DECL_SO_RESERVE_MEM) && HAVE_DECL_SO_RESERVE_MEM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RESERVE_MEM) == (73), "SO_RESERVE_MEM != 73"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RESERVE_MEM 73 +#endif +#endif +#if defined __sparc__ +#if defined(SO_TXREHASH) || (defined(HAVE_DECL_SO_TXREHASH) && HAVE_DECL_SO_TXREHASH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_TXREHASH) == (83), "SO_TXREHASH != 83"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_TXREHASH 83 +#endif +#elif defined __hppa__ +#if defined(SO_TXREHASH) || (defined(HAVE_DECL_SO_TXREHASH) && HAVE_DECL_SO_TXREHASH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_TXREHASH) == (16456), "SO_TXREHASH != 16456"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_TXREHASH 16456 +#endif +#else +#if defined(SO_TXREHASH) || (defined(HAVE_DECL_SO_TXREHASH) && HAVE_DECL_SO_TXREHASH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_TXREHASH) == (74), "SO_TXREHASH != 74"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_TXREHASH 74 +#endif +#endif +#if defined __sparc__ +#if defined(SO_RCVMARK) || (defined(HAVE_DECL_SO_RCVMARK) && HAVE_DECL_SO_RCVMARK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RCVMARK) == (84), "SO_RCVMARK != 84"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RCVMARK 84 +#endif +#elif defined __hppa__ +#if defined(SO_RCVMARK) || (defined(HAVE_DECL_SO_RCVMARK) && HAVE_DECL_SO_RCVMARK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RCVMARK) == (16457), "SO_RCVMARK != 16457"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RCVMARK 16457 +#endif +#else +#if defined(SO_RCVMARK) || (defined(HAVE_DECL_SO_RCVMARK) && HAVE_DECL_SO_RCVMARK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_RCVMARK) == (75), "SO_RCVMARK != 75"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SO_RCVMARK 75 +#endif +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -2578,6 +2704,76 @@ #define XLAT_VAL_196 ((unsigned) (SO_BUSY_POLL_BUDGET)) #define XLAT_STR_196 STRINGIFY(SO_BUSY_POLL_BUDGET) #endif + +#if defined __sparc__ + XLAT(SO_NETNS_COOKIE), + #define XLAT_VAL_197 ((unsigned) (SO_NETNS_COOKIE)) + #define XLAT_STR_197 STRINGIFY(SO_NETNS_COOKIE) +#elif defined __hppa__ + XLAT(SO_NETNS_COOKIE), + #define XLAT_VAL_198 ((unsigned) (SO_NETNS_COOKIE)) + #define XLAT_STR_198 STRINGIFY(SO_NETNS_COOKIE) +#else + XLAT(SO_NETNS_COOKIE), + #define XLAT_VAL_199 ((unsigned) (SO_NETNS_COOKIE)) + #define XLAT_STR_199 STRINGIFY(SO_NETNS_COOKIE) +#endif + +#if defined __sparc__ + XLAT(SO_BUF_LOCK), + #define XLAT_VAL_200 ((unsigned) (SO_BUF_LOCK)) + #define XLAT_STR_200 STRINGIFY(SO_BUF_LOCK) +#elif defined __hppa__ + XLAT(SO_BUF_LOCK), + #define XLAT_VAL_201 ((unsigned) (SO_BUF_LOCK)) + #define XLAT_STR_201 STRINGIFY(SO_BUF_LOCK) +#else + XLAT(SO_BUF_LOCK), + #define XLAT_VAL_202 ((unsigned) (SO_BUF_LOCK)) + #define XLAT_STR_202 STRINGIFY(SO_BUF_LOCK) +#endif + +#if defined __sparc__ + XLAT(SO_RESERVE_MEM), + #define XLAT_VAL_203 ((unsigned) (SO_RESERVE_MEM)) + #define XLAT_STR_203 STRINGIFY(SO_RESERVE_MEM) +#elif defined __hppa__ + XLAT(SO_RESERVE_MEM), + #define XLAT_VAL_204 ((unsigned) (SO_RESERVE_MEM)) + #define XLAT_STR_204 STRINGIFY(SO_RESERVE_MEM) +#else + XLAT(SO_RESERVE_MEM), + #define XLAT_VAL_205 ((unsigned) (SO_RESERVE_MEM)) + #define XLAT_STR_205 STRINGIFY(SO_RESERVE_MEM) +#endif + +#if defined __sparc__ + XLAT(SO_TXREHASH), + #define XLAT_VAL_206 ((unsigned) (SO_TXREHASH)) + #define XLAT_STR_206 STRINGIFY(SO_TXREHASH) +#elif defined __hppa__ + XLAT(SO_TXREHASH), + #define XLAT_VAL_207 ((unsigned) (SO_TXREHASH)) + #define XLAT_STR_207 STRINGIFY(SO_TXREHASH) +#else + XLAT(SO_TXREHASH), + #define XLAT_VAL_208 ((unsigned) (SO_TXREHASH)) + #define XLAT_STR_208 STRINGIFY(SO_TXREHASH) +#endif + +#if defined __sparc__ + XLAT(SO_RCVMARK), + #define XLAT_VAL_209 ((unsigned) (SO_RCVMARK)) + #define XLAT_STR_209 STRINGIFY(SO_RCVMARK) +#elif defined __hppa__ + XLAT(SO_RCVMARK), + #define XLAT_VAL_210 ((unsigned) (SO_RCVMARK)) + #define XLAT_STR_210 STRINGIFY(SO_RCVMARK) +#else + XLAT(SO_RCVMARK), + #define XLAT_VAL_211 ((unsigned) (SO_RCVMARK)) + #define XLAT_STR_211 STRINGIFY(SO_RCVMARK) +#endif }; static const struct xlat sock_options1 = { { @@ -3176,6 +3372,51 @@ # ifdef XLAT_VAL_196 | XLAT_VAL_196 # endif +# ifdef XLAT_VAL_197 + | XLAT_VAL_197 +# endif +# ifdef XLAT_VAL_198 + | XLAT_VAL_198 +# endif +# ifdef XLAT_VAL_199 + | XLAT_VAL_199 +# endif +# ifdef XLAT_VAL_200 + | XLAT_VAL_200 +# endif +# ifdef XLAT_VAL_201 + | XLAT_VAL_201 +# endif +# ifdef XLAT_VAL_202 + | XLAT_VAL_202 +# endif +# ifdef XLAT_VAL_203 + | XLAT_VAL_203 +# endif +# ifdef XLAT_VAL_204 + | XLAT_VAL_204 +# endif +# ifdef XLAT_VAL_205 + | XLAT_VAL_205 +# endif +# ifdef XLAT_VAL_206 + | XLAT_VAL_206 +# endif +# ifdef XLAT_VAL_207 + | XLAT_VAL_207 +# endif +# ifdef XLAT_VAL_208 + | XLAT_VAL_208 +# endif +# ifdef XLAT_VAL_209 + | XLAT_VAL_209 +# endif +# ifdef XLAT_VAL_210 + | XLAT_VAL_210 +# endif +# ifdef XLAT_VAL_211 + | XLAT_VAL_211 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -3769,6 +4010,51 @@ # ifdef XLAT_STR_196 + sizeof(XLAT_STR_196) # endif +# ifdef XLAT_STR_197 + + sizeof(XLAT_STR_197) +# endif +# ifdef XLAT_STR_198 + + sizeof(XLAT_STR_198) +# endif +# ifdef XLAT_STR_199 + + sizeof(XLAT_STR_199) +# endif +# ifdef XLAT_STR_200 + + sizeof(XLAT_STR_200) +# endif +# ifdef XLAT_STR_201 + + sizeof(XLAT_STR_201) +# endif +# ifdef XLAT_STR_202 + + sizeof(XLAT_STR_202) +# endif +# ifdef XLAT_STR_203 + + sizeof(XLAT_STR_203) +# endif +# ifdef XLAT_STR_204 + + sizeof(XLAT_STR_204) +# endif +# ifdef XLAT_STR_205 + + sizeof(XLAT_STR_205) +# endif +# ifdef XLAT_STR_206 + + sizeof(XLAT_STR_206) +# endif +# ifdef XLAT_STR_207 + + sizeof(XLAT_STR_207) +# endif +# ifdef XLAT_STR_208 + + sizeof(XLAT_STR_208) +# endif +# ifdef XLAT_STR_209 + + sizeof(XLAT_STR_209) +# endif +# ifdef XLAT_STR_210 + + sizeof(XLAT_STR_210) +# endif +# ifdef XLAT_STR_211 + + sizeof(XLAT_STR_211) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -4167,6 +4453,36 @@ # undef XLAT_VAL_195 # undef XLAT_STR_196 # undef XLAT_VAL_196 +# undef XLAT_STR_197 +# undef XLAT_VAL_197 +# undef XLAT_STR_198 +# undef XLAT_VAL_198 +# undef XLAT_STR_199 +# undef XLAT_VAL_199 +# undef XLAT_STR_200 +# undef XLAT_VAL_200 +# undef XLAT_STR_201 +# undef XLAT_VAL_201 +# undef XLAT_STR_202 +# undef XLAT_VAL_202 +# undef XLAT_STR_203 +# undef XLAT_VAL_203 +# undef XLAT_STR_204 +# undef XLAT_VAL_204 +# undef XLAT_STR_205 +# undef XLAT_VAL_205 +# undef XLAT_STR_206 +# undef XLAT_VAL_206 +# undef XLAT_STR_207 +# undef XLAT_VAL_207 +# undef XLAT_STR_208 +# undef XLAT_VAL_208 +# undef XLAT_STR_209 +# undef XLAT_VAL_209 +# undef XLAT_STR_210 +# undef XLAT_VAL_210 +# undef XLAT_STR_211 +# undef XLAT_VAL_211 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_options.in
Changed
@@ -527,3 +527,43 @@ #else SO_BUSY_POLL_BUDGET 70 #endif + +#if defined __sparc__ +SO_NETNS_COOKIE 80 +#elif defined __hppa__ +SO_NETNS_COOKIE 16453 +#else +SO_NETNS_COOKIE 71 +#endif + +#if defined __sparc__ +SO_BUF_LOCK 81 +#elif defined __hppa__ +SO_BUF_LOCK 16454 +#else +SO_BUF_LOCK 72 +#endif + +#if defined __sparc__ +SO_RESERVE_MEM 82 +#elif defined __hppa__ +SO_RESERVE_MEM 16455 +#else +SO_RESERVE_MEM 73 +#endif + +#if defined __sparc__ +SO_TXREHASH 83 +#elif defined __hppa__ +SO_TXREHASH 16456 +#else +SO_TXREHASH 74 +#endif + +#if defined __sparc__ +SO_RCVMARK 84 +#elif defined __hppa__ +SO_RCVMARK 16457 +#else +SO_RCVMARK 75 +#endif
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_packet_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_packet_options.h
Changed
@@ -3,6 +3,161 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined(PACKET_ADD_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_ADD_MEMBERSHIP) && HAVE_DECL_PACKET_ADD_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_ADD_MEMBERSHIP) == (1), "PACKET_ADD_MEMBERSHIP != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_ADD_MEMBERSHIP 1 +#endif +#if defined(PACKET_DROP_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_DROP_MEMBERSHIP) && HAVE_DECL_PACKET_DROP_MEMBERSHIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_DROP_MEMBERSHIP) == (2), "PACKET_DROP_MEMBERSHIP != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_DROP_MEMBERSHIP 2 +#endif +#if defined(PACKET_RECV_OUTPUT) || (defined(HAVE_DECL_PACKET_RECV_OUTPUT) && HAVE_DECL_PACKET_RECV_OUTPUT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_RECV_OUTPUT) == (3), "PACKET_RECV_OUTPUT != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_RECV_OUTPUT 3 +#endif +#if defined(PACKET_RX_RING) || (defined(HAVE_DECL_PACKET_RX_RING) && HAVE_DECL_PACKET_RX_RING) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_RX_RING) == (5), "PACKET_RX_RING != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_RX_RING 5 +#endif +#if defined(PACKET_STATISTICS) || (defined(HAVE_DECL_PACKET_STATISTICS) && HAVE_DECL_PACKET_STATISTICS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_STATISTICS) == (6), "PACKET_STATISTICS != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_STATISTICS 6 +#endif +#if defined(PACKET_COPY_THRESH) || (defined(HAVE_DECL_PACKET_COPY_THRESH) && HAVE_DECL_PACKET_COPY_THRESH) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_COPY_THRESH) == (7), "PACKET_COPY_THRESH != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_COPY_THRESH 7 +#endif +#if defined(PACKET_AUXDATA) || (defined(HAVE_DECL_PACKET_AUXDATA) && HAVE_DECL_PACKET_AUXDATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_AUXDATA) == (8), "PACKET_AUXDATA != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_AUXDATA 8 +#endif +#if defined(PACKET_ORIGDEV) || (defined(HAVE_DECL_PACKET_ORIGDEV) && HAVE_DECL_PACKET_ORIGDEV) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_ORIGDEV) == (9), "PACKET_ORIGDEV != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_ORIGDEV 9 +#endif +#if defined(PACKET_VERSION) || (defined(HAVE_DECL_PACKET_VERSION) && HAVE_DECL_PACKET_VERSION) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_VERSION) == (10), "PACKET_VERSION != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_VERSION 10 +#endif +#if defined(PACKET_HDRLEN) || (defined(HAVE_DECL_PACKET_HDRLEN) && HAVE_DECL_PACKET_HDRLEN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_HDRLEN) == (11), "PACKET_HDRLEN != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_HDRLEN 11 +#endif +#if defined(PACKET_RESERVE) || (defined(HAVE_DECL_PACKET_RESERVE) && HAVE_DECL_PACKET_RESERVE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_RESERVE) == (12), "PACKET_RESERVE != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_RESERVE 12 +#endif +#if defined(PACKET_TX_RING) || (defined(HAVE_DECL_PACKET_TX_RING) && HAVE_DECL_PACKET_TX_RING) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_TX_RING) == (13), "PACKET_TX_RING != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_TX_RING 13 +#endif +#if defined(PACKET_LOSS) || (defined(HAVE_DECL_PACKET_LOSS) && HAVE_DECL_PACKET_LOSS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_LOSS) == (14), "PACKET_LOSS != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_LOSS 14 +#endif +#if defined(PACKET_VNET_HDR) || (defined(HAVE_DECL_PACKET_VNET_HDR) && HAVE_DECL_PACKET_VNET_HDR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_VNET_HDR) == (15), "PACKET_VNET_HDR != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_VNET_HDR 15 +#endif +#if defined(PACKET_TX_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TX_TIMESTAMP) && HAVE_DECL_PACKET_TX_TIMESTAMP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_TX_TIMESTAMP) == (16), "PACKET_TX_TIMESTAMP != 16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_TX_TIMESTAMP 16 +#endif +#if defined(PACKET_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TIMESTAMP) && HAVE_DECL_PACKET_TIMESTAMP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_TIMESTAMP) == (17), "PACKET_TIMESTAMP != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_TIMESTAMP 17 +#endif +#if defined(PACKET_FANOUT) || (defined(HAVE_DECL_PACKET_FANOUT) && HAVE_DECL_PACKET_FANOUT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_FANOUT) == (18), "PACKET_FANOUT != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_FANOUT 18 +#endif +#if defined(PACKET_TX_HAS_OFF) || (defined(HAVE_DECL_PACKET_TX_HAS_OFF) && HAVE_DECL_PACKET_TX_HAS_OFF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_TX_HAS_OFF) == (19), "PACKET_TX_HAS_OFF != 19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_TX_HAS_OFF 19 +#endif +#if defined(PACKET_QDISC_BYPASS) || (defined(HAVE_DECL_PACKET_QDISC_BYPASS) && HAVE_DECL_PACKET_QDISC_BYPASS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_QDISC_BYPASS) == (20), "PACKET_QDISC_BYPASS != 20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_QDISC_BYPASS 20 +#endif +#if defined(PACKET_ROLLOVER_STATS) || (defined(HAVE_DECL_PACKET_ROLLOVER_STATS) && HAVE_DECL_PACKET_ROLLOVER_STATS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_ROLLOVER_STATS) == (21), "PACKET_ROLLOVER_STATS != 21"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_ROLLOVER_STATS 21 +#endif +#if defined(PACKET_FANOUT_DATA) || (defined(HAVE_DECL_PACKET_FANOUT_DATA) && HAVE_DECL_PACKET_FANOUT_DATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_FANOUT_DATA) == (22), "PACKET_FANOUT_DATA != 22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_FANOUT_DATA 22 +#endif +#if defined(PACKET_IGNORE_OUTGOING) || (defined(HAVE_DECL_PACKET_IGNORE_OUTGOING) && HAVE_DECL_PACKET_IGNORE_OUTGOING) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((PACKET_IGNORE_OUTGOING) == (23), "PACKET_IGNORE_OUTGOING != 23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define PACKET_IGNORE_OUTGOING 23 +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,117 +169,78 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data sock_packet_options_xdata = { -#if defined(PACKET_ADD_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_ADD_MEMBERSHIP) && HAVE_DECL_PACKET_ADD_MEMBERSHIP) - XLAT(PACKET_ADD_MEMBERSHIP), + PACKET_ADD_MEMBERSHIP = XLAT(PACKET_ADD_MEMBERSHIP), #define XLAT_VAL_0 ((unsigned) (PACKET_ADD_MEMBERSHIP)) #define XLAT_STR_0 STRINGIFY(PACKET_ADD_MEMBERSHIP) -#endif -#if defined(PACKET_DROP_MEMBERSHIP) || (defined(HAVE_DECL_PACKET_DROP_MEMBERSHIP) && HAVE_DECL_PACKET_DROP_MEMBERSHIP) - XLAT(PACKET_DROP_MEMBERSHIP), + PACKET_DROP_MEMBERSHIP = XLAT(PACKET_DROP_MEMBERSHIP), #define XLAT_VAL_1 ((unsigned) (PACKET_DROP_MEMBERSHIP)) #define XLAT_STR_1 STRINGIFY(PACKET_DROP_MEMBERSHIP) -#endif -#if defined(PACKET_RECV_OUTPUT) || (defined(HAVE_DECL_PACKET_RECV_OUTPUT) && HAVE_DECL_PACKET_RECV_OUTPUT) - XLAT(PACKET_RECV_OUTPUT), + PACKET_RECV_OUTPUT = XLAT(PACKET_RECV_OUTPUT), #define XLAT_VAL_2 ((unsigned) (PACKET_RECV_OUTPUT)) #define XLAT_STR_2 STRINGIFY(PACKET_RECV_OUTPUT) -#endif -#if defined(PACKET_RX_RING) || (defined(HAVE_DECL_PACKET_RX_RING) && HAVE_DECL_PACKET_RX_RING) - XLAT(PACKET_RX_RING), + PACKET_RX_RING = XLAT(PACKET_RX_RING), #define XLAT_VAL_3 ((unsigned) (PACKET_RX_RING)) #define XLAT_STR_3 STRINGIFY(PACKET_RX_RING) -#endif -#if defined(PACKET_STATISTICS) || (defined(HAVE_DECL_PACKET_STATISTICS) && HAVE_DECL_PACKET_STATISTICS) - XLAT(PACKET_STATISTICS), + PACKET_STATISTICS = XLAT(PACKET_STATISTICS), #define XLAT_VAL_4 ((unsigned) (PACKET_STATISTICS)) #define XLAT_STR_4 STRINGIFY(PACKET_STATISTICS) -#endif -#if defined(PACKET_COPY_THRESH) || (defined(HAVE_DECL_PACKET_COPY_THRESH) && HAVE_DECL_PACKET_COPY_THRESH) - XLAT(PACKET_COPY_THRESH), + PACKET_COPY_THRESH = XLAT(PACKET_COPY_THRESH), #define XLAT_VAL_5 ((unsigned) (PACKET_COPY_THRESH)) #define XLAT_STR_5 STRINGIFY(PACKET_COPY_THRESH) -#endif -#if defined(PACKET_AUXDATA) || (defined(HAVE_DECL_PACKET_AUXDATA) && HAVE_DECL_PACKET_AUXDATA) - XLAT(PACKET_AUXDATA), + PACKET_AUXDATA = XLAT(PACKET_AUXDATA), #define XLAT_VAL_6 ((unsigned) (PACKET_AUXDATA)) #define XLAT_STR_6 STRINGIFY(PACKET_AUXDATA) -#endif -#if defined(PACKET_ORIGDEV) || (defined(HAVE_DECL_PACKET_ORIGDEV) && HAVE_DECL_PACKET_ORIGDEV) - XLAT(PACKET_ORIGDEV), + PACKET_ORIGDEV = XLAT(PACKET_ORIGDEV), #define XLAT_VAL_7 ((unsigned) (PACKET_ORIGDEV)) #define XLAT_STR_7 STRINGIFY(PACKET_ORIGDEV) -#endif -#if defined(PACKET_VERSION) || (defined(HAVE_DECL_PACKET_VERSION) && HAVE_DECL_PACKET_VERSION) - XLAT(PACKET_VERSION), + PACKET_VERSION = XLAT(PACKET_VERSION), #define XLAT_VAL_8 ((unsigned) (PACKET_VERSION)) #define XLAT_STR_8 STRINGIFY(PACKET_VERSION) -#endif -#if defined(PACKET_HDRLEN) || (defined(HAVE_DECL_PACKET_HDRLEN) && HAVE_DECL_PACKET_HDRLEN) - XLAT(PACKET_HDRLEN), + PACKET_HDRLEN = XLAT(PACKET_HDRLEN), #define XLAT_VAL_9 ((unsigned) (PACKET_HDRLEN)) #define XLAT_STR_9 STRINGIFY(PACKET_HDRLEN) -#endif -#if defined(PACKET_RESERVE) || (defined(HAVE_DECL_PACKET_RESERVE) && HAVE_DECL_PACKET_RESERVE) - XLAT(PACKET_RESERVE), + PACKET_RESERVE = XLAT(PACKET_RESERVE), #define XLAT_VAL_10 ((unsigned) (PACKET_RESERVE)) #define XLAT_STR_10 STRINGIFY(PACKET_RESERVE) -#endif -#if defined(PACKET_TX_RING) || (defined(HAVE_DECL_PACKET_TX_RING) && HAVE_DECL_PACKET_TX_RING) - XLAT(PACKET_TX_RING), + PACKET_TX_RING = XLAT(PACKET_TX_RING), #define XLAT_VAL_11 ((unsigned) (PACKET_TX_RING)) #define XLAT_STR_11 STRINGIFY(PACKET_TX_RING) -#endif -#if defined(PACKET_LOSS) || (defined(HAVE_DECL_PACKET_LOSS) && HAVE_DECL_PACKET_LOSS) - XLAT(PACKET_LOSS), + PACKET_LOSS = XLAT(PACKET_LOSS), #define XLAT_VAL_12 ((unsigned) (PACKET_LOSS)) #define XLAT_STR_12 STRINGIFY(PACKET_LOSS) -#endif -#if defined(PACKET_VNET_HDR) || (defined(HAVE_DECL_PACKET_VNET_HDR) && HAVE_DECL_PACKET_VNET_HDR) - XLAT(PACKET_VNET_HDR), + PACKET_VNET_HDR = XLAT(PACKET_VNET_HDR), #define XLAT_VAL_13 ((unsigned) (PACKET_VNET_HDR)) #define XLAT_STR_13 STRINGIFY(PACKET_VNET_HDR) -#endif -#if defined(PACKET_TX_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TX_TIMESTAMP) && HAVE_DECL_PACKET_TX_TIMESTAMP) - XLAT(PACKET_TX_TIMESTAMP), + PACKET_TX_TIMESTAMP = XLAT(PACKET_TX_TIMESTAMP), #define XLAT_VAL_14 ((unsigned) (PACKET_TX_TIMESTAMP)) #define XLAT_STR_14 STRINGIFY(PACKET_TX_TIMESTAMP) -#endif -#if defined(PACKET_TIMESTAMP) || (defined(HAVE_DECL_PACKET_TIMESTAMP) && HAVE_DECL_PACKET_TIMESTAMP) - XLAT(PACKET_TIMESTAMP), + PACKET_TIMESTAMP = XLAT(PACKET_TIMESTAMP), #define XLAT_VAL_15 ((unsigned) (PACKET_TIMESTAMP)) #define XLAT_STR_15 STRINGIFY(PACKET_TIMESTAMP) -#endif -#if defined(PACKET_FANOUT) || (defined(HAVE_DECL_PACKET_FANOUT) && HAVE_DECL_PACKET_FANOUT) - XLAT(PACKET_FANOUT), + PACKET_FANOUT = XLAT(PACKET_FANOUT), #define XLAT_VAL_16 ((unsigned) (PACKET_FANOUT)) #define XLAT_STR_16 STRINGIFY(PACKET_FANOUT) -#endif -#if defined(PACKET_TX_HAS_OFF) || (defined(HAVE_DECL_PACKET_TX_HAS_OFF) && HAVE_DECL_PACKET_TX_HAS_OFF) - XLAT(PACKET_TX_HAS_OFF), + PACKET_TX_HAS_OFF = XLAT(PACKET_TX_HAS_OFF), #define XLAT_VAL_17 ((unsigned) (PACKET_TX_HAS_OFF)) #define XLAT_STR_17 STRINGIFY(PACKET_TX_HAS_OFF) -#endif -#if defined(PACKET_QDISC_BYPASS) || (defined(HAVE_DECL_PACKET_QDISC_BYPASS) && HAVE_DECL_PACKET_QDISC_BYPASS) - XLAT(PACKET_QDISC_BYPASS), + PACKET_QDISC_BYPASS = XLAT(PACKET_QDISC_BYPASS), #define XLAT_VAL_18 ((unsigned) (PACKET_QDISC_BYPASS)) #define XLAT_STR_18 STRINGIFY(PACKET_QDISC_BYPASS) -#endif -#if defined(PACKET_ROLLOVER_STATS) || (defined(HAVE_DECL_PACKET_ROLLOVER_STATS) && HAVE_DECL_PACKET_ROLLOVER_STATS) - XLAT(PACKET_ROLLOVER_STATS), + PACKET_ROLLOVER_STATS = XLAT(PACKET_ROLLOVER_STATS), #define XLAT_VAL_19 ((unsigned) (PACKET_ROLLOVER_STATS)) #define XLAT_STR_19 STRINGIFY(PACKET_ROLLOVER_STATS) -#endif -#if defined(PACKET_FANOUT_DATA) || (defined(HAVE_DECL_PACKET_FANOUT_DATA) && HAVE_DECL_PACKET_FANOUT_DATA) - XLAT(PACKET_FANOUT_DATA), + PACKET_FANOUT_DATA = XLAT(PACKET_FANOUT_DATA), #define XLAT_VAL_20 ((unsigned) (PACKET_FANOUT_DATA)) #define XLAT_STR_20 STRINGIFY(PACKET_FANOUT_DATA) -#endif + PACKET_IGNORE_OUTGOING = XLAT(PACKET_IGNORE_OUTGOING), + #define XLAT_VAL_21 ((unsigned) (PACKET_IGNORE_OUTGOING)) + #define XLAT_STR_21 STRINGIFY(PACKET_IGNORE_OUTGOING) }; static const struct xlat sock_packet_options1 = { { .data = sock_packet_options_xdata, .size = ARRAY_SIZE(sock_packet_options_xdata), - .type = XT_NORMAL, + .type = XT_INDEXED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -189,6 +305,9 @@ # ifdef XLAT_VAL_20 | XLAT_VAL_20 # endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -254,6 +373,9 @@ # ifdef XLAT_STR_20 + sizeof(XLAT_STR_20) # endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -300,6 +422,8 @@ # undef XLAT_VAL_19 # undef XLAT_STR_20 # undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_packet_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_packet_options.in
Changed
@@ -1,21 +1,23 @@ -PACKET_ADD_MEMBERSHIP -PACKET_DROP_MEMBERSHIP -PACKET_RECV_OUTPUT -PACKET_RX_RING -PACKET_STATISTICS -PACKET_COPY_THRESH -PACKET_AUXDATA -PACKET_ORIGDEV -PACKET_VERSION -PACKET_HDRLEN -PACKET_RESERVE -PACKET_TX_RING -PACKET_LOSS -PACKET_VNET_HDR -PACKET_TX_TIMESTAMP -PACKET_TIMESTAMP -PACKET_FANOUT -PACKET_TX_HAS_OFF -PACKET_QDISC_BYPASS -PACKET_ROLLOVER_STATS -PACKET_FANOUT_DATA +#value_indexed +PACKET_ADD_MEMBERSHIP 1 +PACKET_DROP_MEMBERSHIP 2 +PACKET_RECV_OUTPUT 3 +PACKET_RX_RING 5 +PACKET_STATISTICS 6 +PACKET_COPY_THRESH 7 +PACKET_AUXDATA 8 +PACKET_ORIGDEV 9 +PACKET_VERSION 10 +PACKET_HDRLEN 11 +PACKET_RESERVE 12 +PACKET_TX_RING 13 +PACKET_LOSS 14 +PACKET_VNET_HDR 15 +PACKET_TX_TIMESTAMP 16 +PACKET_TIMESTAMP 17 +PACKET_FANOUT 18 +PACKET_TX_HAS_OFF 19 +PACKET_QDISC_BYPASS 20 +PACKET_ROLLOVER_STATS 21 +PACKET_FANOUT_DATA 22 +PACKET_IGNORE_OUTGOING 23
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_pnp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_pnp_options.h
Changed
@@ -31,6 +31,7 @@ #else # define PNPIPE_INITSTATE 4 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_pppol2tp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_pppol2tp_options.h
Changed
@@ -38,6 +38,7 @@ #else # define PPPOL2TP_SO_REORDERTO 5 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_raw_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_raw_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_rds_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_rds_options.h
Changed
@@ -161,6 +161,7 @@ # define SO_TIMESTAMP_OLD 0x4012 #endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_rxrpc_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_rxrpc_options.h
Changed
@@ -45,6 +45,7 @@ #else # define RXRPC_SUPPORTED_CMSG 6 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_sctp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_sctp_options.h
Changed
@@ -10,6 +10,16 @@ #else # define SCTP_RTOINFO 0 #endif +#if defined(SCTP_RTOINFO) || (defined(HAVE_DECL_SCTP_RTOINFO) && HAVE_DECL_SCTP_RTOINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RTOINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RTOINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RTOINFO) +#endif #if defined(SCTP_ASSOCINFO) || (defined(HAVE_DECL_SCTP_ASSOCINFO) && HAVE_DECL_SCTP_ASSOCINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ASSOCINFO) == (1), "SCTP_ASSOCINFO != 1"); @@ -17,6 +27,16 @@ #else # define SCTP_ASSOCINFO 1 #endif +#if defined(SCTP_ASSOCINFO) || (defined(HAVE_DECL_SCTP_ASSOCINFO) && HAVE_DECL_SCTP_ASSOCINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ASSOCINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ASSOCINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ASSOCINFO) +#endif #if defined(SCTP_INITMSG) || (defined(HAVE_DECL_SCTP_INITMSG) && HAVE_DECL_SCTP_INITMSG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_INITMSG) == (2), "SCTP_INITMSG != 2"); @@ -24,6 +44,16 @@ #else # define SCTP_INITMSG 2 #endif +#if defined(SCTP_INITMSG) || (defined(HAVE_DECL_SCTP_INITMSG) && HAVE_DECL_SCTP_INITMSG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_INITMSG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_INITMSG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_INITMSG) +#endif #if defined(SCTP_NODELAY) || (defined(HAVE_DECL_SCTP_NODELAY) && HAVE_DECL_SCTP_NODELAY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_NODELAY) == (3), "SCTP_NODELAY != 3"); @@ -31,6 +61,16 @@ #else # define SCTP_NODELAY 3 #endif +#if defined(SCTP_NODELAY) || (defined(HAVE_DECL_SCTP_NODELAY) && HAVE_DECL_SCTP_NODELAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_NODELAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_NODELAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_NODELAY) +#endif #if defined(SCTP_AUTOCLOSE) || (defined(HAVE_DECL_SCTP_AUTOCLOSE) && HAVE_DECL_SCTP_AUTOCLOSE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTOCLOSE) == (4), "SCTP_AUTOCLOSE != 4"); @@ -38,6 +78,16 @@ #else # define SCTP_AUTOCLOSE 4 #endif +#if defined(SCTP_AUTOCLOSE) || (defined(HAVE_DECL_SCTP_AUTOCLOSE) && HAVE_DECL_SCTP_AUTOCLOSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTOCLOSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTOCLOSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTOCLOSE) +#endif #if defined(SCTP_SET_PEER_PRIMARY_ADDR) || (defined(HAVE_DECL_SCTP_SET_PEER_PRIMARY_ADDR) && HAVE_DECL_SCTP_SET_PEER_PRIMARY_ADDR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SET_PEER_PRIMARY_ADDR) == (5), "SCTP_SET_PEER_PRIMARY_ADDR != 5"); @@ -45,6 +95,16 @@ #else # define SCTP_SET_PEER_PRIMARY_ADDR 5 #endif +#if defined(SCTP_SET_PEER_PRIMARY_ADDR) || (defined(HAVE_DECL_SCTP_SET_PEER_PRIMARY_ADDR) && HAVE_DECL_SCTP_SET_PEER_PRIMARY_ADDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SET_PEER_PRIMARY_ADDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SET_PEER_PRIMARY_ADDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SET_PEER_PRIMARY_ADDR) +#endif #if defined(SCTP_PRIMARY_ADDR) || (defined(HAVE_DECL_SCTP_PRIMARY_ADDR) && HAVE_DECL_SCTP_PRIMARY_ADDR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PRIMARY_ADDR) == (6), "SCTP_PRIMARY_ADDR != 6"); @@ -52,6 +112,16 @@ #else # define SCTP_PRIMARY_ADDR 6 #endif +#if defined(SCTP_PRIMARY_ADDR) || (defined(HAVE_DECL_SCTP_PRIMARY_ADDR) && HAVE_DECL_SCTP_PRIMARY_ADDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PRIMARY_ADDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PRIMARY_ADDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PRIMARY_ADDR) +#endif #if defined(SCTP_ADAPTATION_LAYER) || (defined(HAVE_DECL_SCTP_ADAPTATION_LAYER) && HAVE_DECL_SCTP_ADAPTATION_LAYER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ADAPTATION_LAYER) == (7), "SCTP_ADAPTATION_LAYER != 7"); @@ -59,6 +129,16 @@ #else # define SCTP_ADAPTATION_LAYER 7 #endif +#if defined(SCTP_ADAPTATION_LAYER) || (defined(HAVE_DECL_SCTP_ADAPTATION_LAYER) && HAVE_DECL_SCTP_ADAPTATION_LAYER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ADAPTATION_LAYER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ADAPTATION_LAYER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ADAPTATION_LAYER) +#endif #if defined(SCTP_DISABLE_FRAGMENTS) || (defined(HAVE_DECL_SCTP_DISABLE_FRAGMENTS) && HAVE_DECL_SCTP_DISABLE_FRAGMENTS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_DISABLE_FRAGMENTS) == (8), "SCTP_DISABLE_FRAGMENTS != 8"); @@ -66,6 +146,16 @@ #else # define SCTP_DISABLE_FRAGMENTS 8 #endif +#if defined(SCTP_DISABLE_FRAGMENTS) || (defined(HAVE_DECL_SCTP_DISABLE_FRAGMENTS) && HAVE_DECL_SCTP_DISABLE_FRAGMENTS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_DISABLE_FRAGMENTS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_DISABLE_FRAGMENTS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_DISABLE_FRAGMENTS) +#endif #if defined(SCTP_PEER_ADDR_PARAMS) || (defined(HAVE_DECL_SCTP_PEER_ADDR_PARAMS) && HAVE_DECL_SCTP_PEER_ADDR_PARAMS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PEER_ADDR_PARAMS) == (9), "SCTP_PEER_ADDR_PARAMS != 9"); @@ -73,6 +163,16 @@ #else # define SCTP_PEER_ADDR_PARAMS 9 #endif +#if defined(SCTP_PEER_ADDR_PARAMS) || (defined(HAVE_DECL_SCTP_PEER_ADDR_PARAMS) && HAVE_DECL_SCTP_PEER_ADDR_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PEER_ADDR_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PEER_ADDR_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PEER_ADDR_PARAMS) +#endif #if defined(SCTP_DEFAULT_SEND_PARAM) || (defined(HAVE_DECL_SCTP_DEFAULT_SEND_PARAM) && HAVE_DECL_SCTP_DEFAULT_SEND_PARAM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_DEFAULT_SEND_PARAM) == (10), "SCTP_DEFAULT_SEND_PARAM != 10"); @@ -80,6 +180,16 @@ #else # define SCTP_DEFAULT_SEND_PARAM 10 #endif +#if defined(SCTP_DEFAULT_SEND_PARAM) || (defined(HAVE_DECL_SCTP_DEFAULT_SEND_PARAM) && HAVE_DECL_SCTP_DEFAULT_SEND_PARAM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_DEFAULT_SEND_PARAM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_DEFAULT_SEND_PARAM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_DEFAULT_SEND_PARAM) +#endif #if defined(SCTP_EVENTS) || (defined(HAVE_DECL_SCTP_EVENTS) && HAVE_DECL_SCTP_EVENTS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_EVENTS) == (11), "SCTP_EVENTS != 11"); @@ -87,6 +197,16 @@ #else # define SCTP_EVENTS 11 #endif +#if defined(SCTP_EVENTS) || (defined(HAVE_DECL_SCTP_EVENTS) && HAVE_DECL_SCTP_EVENTS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_EVENTS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_EVENTS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_EVENTS) +#endif #if defined(SCTP_I_WANT_MAPPED_V4_ADDR) || (defined(HAVE_DECL_SCTP_I_WANT_MAPPED_V4_ADDR) && HAVE_DECL_SCTP_I_WANT_MAPPED_V4_ADDR) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_I_WANT_MAPPED_V4_ADDR) == (12), "SCTP_I_WANT_MAPPED_V4_ADDR != 12"); @@ -94,6 +214,16 @@ #else # define SCTP_I_WANT_MAPPED_V4_ADDR 12 #endif +#if defined(SCTP_I_WANT_MAPPED_V4_ADDR) || (defined(HAVE_DECL_SCTP_I_WANT_MAPPED_V4_ADDR) && HAVE_DECL_SCTP_I_WANT_MAPPED_V4_ADDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_I_WANT_MAPPED_V4_ADDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_I_WANT_MAPPED_V4_ADDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_I_WANT_MAPPED_V4_ADDR) +#endif #if defined(SCTP_MAXSEG) || (defined(HAVE_DECL_SCTP_MAXSEG) && HAVE_DECL_SCTP_MAXSEG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_MAXSEG) == (13), "SCTP_MAXSEG != 13"); @@ -101,6 +231,16 @@ #else # define SCTP_MAXSEG 13 #endif +#if defined(SCTP_MAXSEG) || (defined(HAVE_DECL_SCTP_MAXSEG) && HAVE_DECL_SCTP_MAXSEG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_MAXSEG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_MAXSEG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_MAXSEG) +#endif #if defined(SCTP_STATUS) || (defined(HAVE_DECL_SCTP_STATUS) && HAVE_DECL_SCTP_STATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_STATUS) == (14), "SCTP_STATUS != 14"); @@ -108,6 +248,16 @@ #else # define SCTP_STATUS 14 #endif +#if defined(SCTP_STATUS) || (defined(HAVE_DECL_SCTP_STATUS) && HAVE_DECL_SCTP_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_STATUS) +#endif #if defined(SCTP_GET_PEER_ADDR_INFO) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDR_INFO) && HAVE_DECL_SCTP_GET_PEER_ADDR_INFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_PEER_ADDR_INFO) == (15), "SCTP_GET_PEER_ADDR_INFO != 15"); @@ -115,6 +265,16 @@ #else # define SCTP_GET_PEER_ADDR_INFO 15 #endif +#if defined(SCTP_GET_PEER_ADDR_INFO) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDR_INFO) && HAVE_DECL_SCTP_GET_PEER_ADDR_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_PEER_ADDR_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_PEER_ADDR_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_PEER_ADDR_INFO) +#endif #if defined(SCTP_DELAYED_SACK) || (defined(HAVE_DECL_SCTP_DELAYED_SACK) && HAVE_DECL_SCTP_DELAYED_SACK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_DELAYED_SACK) == (16), "SCTP_DELAYED_SACK != 16"); @@ -122,6 +282,16 @@ #else # define SCTP_DELAYED_SACK 16 #endif +#if defined(SCTP_DELAYED_SACK) || (defined(HAVE_DECL_SCTP_DELAYED_SACK) && HAVE_DECL_SCTP_DELAYED_SACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_DELAYED_SACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_DELAYED_SACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_DELAYED_SACK) +#endif #if defined(SCTP_CONTEXT) || (defined(HAVE_DECL_SCTP_CONTEXT) && HAVE_DECL_SCTP_CONTEXT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_CONTEXT) == (17), "SCTP_CONTEXT != 17"); @@ -129,6 +299,16 @@ #else # define SCTP_CONTEXT 17 #endif +#if defined(SCTP_CONTEXT) || (defined(HAVE_DECL_SCTP_CONTEXT) && HAVE_DECL_SCTP_CONTEXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_CONTEXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_CONTEXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_CONTEXT) +#endif #if defined(SCTP_FRAGMENT_INTERLEAVE) || (defined(HAVE_DECL_SCTP_FRAGMENT_INTERLEAVE) && HAVE_DECL_SCTP_FRAGMENT_INTERLEAVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_FRAGMENT_INTERLEAVE) == (18), "SCTP_FRAGMENT_INTERLEAVE != 18"); @@ -136,6 +316,16 @@ #else # define SCTP_FRAGMENT_INTERLEAVE 18 #endif +#if defined(SCTP_FRAGMENT_INTERLEAVE) || (defined(HAVE_DECL_SCTP_FRAGMENT_INTERLEAVE) && HAVE_DECL_SCTP_FRAGMENT_INTERLEAVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_FRAGMENT_INTERLEAVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_FRAGMENT_INTERLEAVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_FRAGMENT_INTERLEAVE) +#endif #if defined(SCTP_PARTIAL_DELIVERY_POINT) || (defined(HAVE_DECL_SCTP_PARTIAL_DELIVERY_POINT) && HAVE_DECL_SCTP_PARTIAL_DELIVERY_POINT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PARTIAL_DELIVERY_POINT) == (19), "SCTP_PARTIAL_DELIVERY_POINT != 19"); @@ -143,6 +333,16 @@ #else # define SCTP_PARTIAL_DELIVERY_POINT 19 #endif +#if defined(SCTP_PARTIAL_DELIVERY_POINT) || (defined(HAVE_DECL_SCTP_PARTIAL_DELIVERY_POINT) && HAVE_DECL_SCTP_PARTIAL_DELIVERY_POINT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PARTIAL_DELIVERY_POINT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PARTIAL_DELIVERY_POINT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PARTIAL_DELIVERY_POINT) +#endif #if defined(SCTP_MAX_BURST) || (defined(HAVE_DECL_SCTP_MAX_BURST) && HAVE_DECL_SCTP_MAX_BURST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_MAX_BURST) == (20), "SCTP_MAX_BURST != 20"); @@ -150,6 +350,16 @@ #else # define SCTP_MAX_BURST 20 #endif +#if defined(SCTP_MAX_BURST) || (defined(HAVE_DECL_SCTP_MAX_BURST) && HAVE_DECL_SCTP_MAX_BURST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_MAX_BURST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_MAX_BURST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_MAX_BURST) +#endif #if defined(SCTP_AUTH_CHUNK) || (defined(HAVE_DECL_SCTP_AUTH_CHUNK) && HAVE_DECL_SCTP_AUTH_CHUNK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_CHUNK) == (21), "SCTP_AUTH_CHUNK != 21"); @@ -157,6 +367,16 @@ #else # define SCTP_AUTH_CHUNK 21 #endif +#if defined(SCTP_AUTH_CHUNK) || (defined(HAVE_DECL_SCTP_AUTH_CHUNK) && HAVE_DECL_SCTP_AUTH_CHUNK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_CHUNK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_CHUNK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_CHUNK) +#endif #if defined(SCTP_HMAC_IDENT) || (defined(HAVE_DECL_SCTP_HMAC_IDENT) && HAVE_DECL_SCTP_HMAC_IDENT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_HMAC_IDENT) == (22), "SCTP_HMAC_IDENT != 22"); @@ -164,6 +384,16 @@ #else # define SCTP_HMAC_IDENT 22 #endif +#if defined(SCTP_HMAC_IDENT) || (defined(HAVE_DECL_SCTP_HMAC_IDENT) && HAVE_DECL_SCTP_HMAC_IDENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_HMAC_IDENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_HMAC_IDENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_HMAC_IDENT) +#endif #if defined(SCTP_AUTH_KEY) || (defined(HAVE_DECL_SCTP_AUTH_KEY) && HAVE_DECL_SCTP_AUTH_KEY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_KEY) == (23), "SCTP_AUTH_KEY != 23"); @@ -171,6 +401,16 @@ #else # define SCTP_AUTH_KEY 23 #endif +#if defined(SCTP_AUTH_KEY) || (defined(HAVE_DECL_SCTP_AUTH_KEY) && HAVE_DECL_SCTP_AUTH_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_KEY) +#endif #if defined(SCTP_AUTH_ACTIVE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_ACTIVE_KEY) && HAVE_DECL_SCTP_AUTH_ACTIVE_KEY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_ACTIVE_KEY) == (24), "SCTP_AUTH_ACTIVE_KEY != 24"); @@ -178,6 +418,16 @@ #else # define SCTP_AUTH_ACTIVE_KEY 24 #endif +#if defined(SCTP_AUTH_ACTIVE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_ACTIVE_KEY) && HAVE_DECL_SCTP_AUTH_ACTIVE_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_ACTIVE_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_ACTIVE_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_ACTIVE_KEY) +#endif #if defined(SCTP_AUTH_DELETE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_DELETE_KEY) && HAVE_DECL_SCTP_AUTH_DELETE_KEY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_DELETE_KEY) == (25), "SCTP_AUTH_DELETE_KEY != 25"); @@ -185,6 +435,16 @@ #else # define SCTP_AUTH_DELETE_KEY 25 #endif +#if defined(SCTP_AUTH_DELETE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_DELETE_KEY) && HAVE_DECL_SCTP_AUTH_DELETE_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_DELETE_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_DELETE_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_DELETE_KEY) +#endif #if defined(SCTP_PEER_AUTH_CHUNKS) || (defined(HAVE_DECL_SCTP_PEER_AUTH_CHUNKS) && HAVE_DECL_SCTP_PEER_AUTH_CHUNKS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PEER_AUTH_CHUNKS) == (26), "SCTP_PEER_AUTH_CHUNKS != 26"); @@ -192,6 +452,16 @@ #else # define SCTP_PEER_AUTH_CHUNKS 26 #endif +#if defined(SCTP_PEER_AUTH_CHUNKS) || (defined(HAVE_DECL_SCTP_PEER_AUTH_CHUNKS) && HAVE_DECL_SCTP_PEER_AUTH_CHUNKS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PEER_AUTH_CHUNKS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PEER_AUTH_CHUNKS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PEER_AUTH_CHUNKS) +#endif #if defined(SCTP_LOCAL_AUTH_CHUNKS) || (defined(HAVE_DECL_SCTP_LOCAL_AUTH_CHUNKS) && HAVE_DECL_SCTP_LOCAL_AUTH_CHUNKS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_LOCAL_AUTH_CHUNKS) == (27), "SCTP_LOCAL_AUTH_CHUNKS != 27"); @@ -199,6 +469,16 @@ #else # define SCTP_LOCAL_AUTH_CHUNKS 27 #endif +#if defined(SCTP_LOCAL_AUTH_CHUNKS) || (defined(HAVE_DECL_SCTP_LOCAL_AUTH_CHUNKS) && HAVE_DECL_SCTP_LOCAL_AUTH_CHUNKS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_LOCAL_AUTH_CHUNKS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_LOCAL_AUTH_CHUNKS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_LOCAL_AUTH_CHUNKS) +#endif #if defined(SCTP_GET_ASSOC_NUMBER) || (defined(HAVE_DECL_SCTP_GET_ASSOC_NUMBER) && HAVE_DECL_SCTP_GET_ASSOC_NUMBER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_ASSOC_NUMBER) == (28), "SCTP_GET_ASSOC_NUMBER != 28"); @@ -206,6 +486,16 @@ #else # define SCTP_GET_ASSOC_NUMBER 28 #endif +#if defined(SCTP_GET_ASSOC_NUMBER) || (defined(HAVE_DECL_SCTP_GET_ASSOC_NUMBER) && HAVE_DECL_SCTP_GET_ASSOC_NUMBER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_ASSOC_NUMBER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_ASSOC_NUMBER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_ASSOC_NUMBER) +#endif #if defined(SCTP_GET_ASSOC_ID_LIST) || (defined(HAVE_DECL_SCTP_GET_ASSOC_ID_LIST) && HAVE_DECL_SCTP_GET_ASSOC_ID_LIST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_ASSOC_ID_LIST) == (29), "SCTP_GET_ASSOC_ID_LIST != 29"); @@ -213,6 +503,16 @@ #else # define SCTP_GET_ASSOC_ID_LIST 29 #endif +#if defined(SCTP_GET_ASSOC_ID_LIST) || (defined(HAVE_DECL_SCTP_GET_ASSOC_ID_LIST) && HAVE_DECL_SCTP_GET_ASSOC_ID_LIST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_ASSOC_ID_LIST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_ASSOC_ID_LIST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_ASSOC_ID_LIST) +#endif #if defined(SCTP_AUTO_ASCONF) || (defined(HAVE_DECL_SCTP_AUTO_ASCONF) && HAVE_DECL_SCTP_AUTO_ASCONF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTO_ASCONF) == (30), "SCTP_AUTO_ASCONF != 30"); @@ -220,6 +520,16 @@ #else # define SCTP_AUTO_ASCONF 30 #endif +#if defined(SCTP_AUTO_ASCONF) || (defined(HAVE_DECL_SCTP_AUTO_ASCONF) && HAVE_DECL_SCTP_AUTO_ASCONF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTO_ASCONF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTO_ASCONF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTO_ASCONF) +#endif #if defined(SCTP_PEER_ADDR_THLDS) || (defined(HAVE_DECL_SCTP_PEER_ADDR_THLDS) && HAVE_DECL_SCTP_PEER_ADDR_THLDS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PEER_ADDR_THLDS) == (31), "SCTP_PEER_ADDR_THLDS != 31"); @@ -227,6 +537,16 @@ #else # define SCTP_PEER_ADDR_THLDS 31 #endif +#if defined(SCTP_PEER_ADDR_THLDS) || (defined(HAVE_DECL_SCTP_PEER_ADDR_THLDS) && HAVE_DECL_SCTP_PEER_ADDR_THLDS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PEER_ADDR_THLDS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PEER_ADDR_THLDS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PEER_ADDR_THLDS) +#endif #if defined(SCTP_RECVRCVINFO) || (defined(HAVE_DECL_SCTP_RECVRCVINFO) && HAVE_DECL_SCTP_RECVRCVINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_RECVRCVINFO) == (32), "SCTP_RECVRCVINFO != 32"); @@ -234,6 +554,16 @@ #else # define SCTP_RECVRCVINFO 32 #endif +#if defined(SCTP_RECVRCVINFO) || (defined(HAVE_DECL_SCTP_RECVRCVINFO) && HAVE_DECL_SCTP_RECVRCVINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RECVRCVINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RECVRCVINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RECVRCVINFO) +#endif #if defined(SCTP_RECVNXTINFO) || (defined(HAVE_DECL_SCTP_RECVNXTINFO) && HAVE_DECL_SCTP_RECVNXTINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_RECVNXTINFO) == (33), "SCTP_RECVNXTINFO != 33"); @@ -241,6 +571,16 @@ #else # define SCTP_RECVNXTINFO 33 #endif +#if defined(SCTP_RECVNXTINFO) || (defined(HAVE_DECL_SCTP_RECVNXTINFO) && HAVE_DECL_SCTP_RECVNXTINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RECVNXTINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RECVNXTINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RECVNXTINFO) +#endif #if defined(SCTP_DEFAULT_SNDINFO) || (defined(HAVE_DECL_SCTP_DEFAULT_SNDINFO) && HAVE_DECL_SCTP_DEFAULT_SNDINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_DEFAULT_SNDINFO) == (34), "SCTP_DEFAULT_SNDINFO != 34"); @@ -248,6 +588,16 @@ #else # define SCTP_DEFAULT_SNDINFO 34 #endif +#if defined(SCTP_DEFAULT_SNDINFO) || (defined(HAVE_DECL_SCTP_DEFAULT_SNDINFO) && HAVE_DECL_SCTP_DEFAULT_SNDINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_DEFAULT_SNDINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_DEFAULT_SNDINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_DEFAULT_SNDINFO) +#endif #if defined(SCTP_AUTH_DEACTIVATE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_DEACTIVATE_KEY) && HAVE_DECL_SCTP_AUTH_DEACTIVATE_KEY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_DEACTIVATE_KEY) == (35), "SCTP_AUTH_DEACTIVATE_KEY != 35"); @@ -255,6 +605,16 @@ #else # define SCTP_AUTH_DEACTIVATE_KEY 35 #endif +#if defined(SCTP_AUTH_DEACTIVATE_KEY) || (defined(HAVE_DECL_SCTP_AUTH_DEACTIVATE_KEY) && HAVE_DECL_SCTP_AUTH_DEACTIVATE_KEY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_DEACTIVATE_KEY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_DEACTIVATE_KEY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_DEACTIVATE_KEY) +#endif #if defined(SCTP_REUSE_PORT) || (defined(HAVE_DECL_SCTP_REUSE_PORT) && HAVE_DECL_SCTP_REUSE_PORT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_REUSE_PORT) == (36), "SCTP_REUSE_PORT != 36"); @@ -262,6 +622,16 @@ #else # define SCTP_REUSE_PORT 36 #endif +#if defined(SCTP_REUSE_PORT) || (defined(HAVE_DECL_SCTP_REUSE_PORT) && HAVE_DECL_SCTP_REUSE_PORT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_REUSE_PORT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_REUSE_PORT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_REUSE_PORT) +#endif #if defined(SCTP_PEER_ADDR_THLDS_V2) || (defined(HAVE_DECL_SCTP_PEER_ADDR_THLDS_V2) && HAVE_DECL_SCTP_PEER_ADDR_THLDS_V2) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PEER_ADDR_THLDS_V2) == (37), "SCTP_PEER_ADDR_THLDS_V2 != 37"); @@ -269,6 +639,16 @@ #else # define SCTP_PEER_ADDR_THLDS_V2 37 #endif +#if defined(SCTP_PEER_ADDR_THLDS_V2) || (defined(HAVE_DECL_SCTP_PEER_ADDR_THLDS_V2) && HAVE_DECL_SCTP_PEER_ADDR_THLDS_V2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PEER_ADDR_THLDS_V2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PEER_ADDR_THLDS_V2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PEER_ADDR_THLDS_V2) +#endif #if defined(SCTP_SOCKOPT_BINDX_ADD) || (defined(HAVE_DECL_SCTP_SOCKOPT_BINDX_ADD) && HAVE_DECL_SCTP_SOCKOPT_BINDX_ADD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_BINDX_ADD) == (100), "SCTP_SOCKOPT_BINDX_ADD != 100"); @@ -276,6 +656,16 @@ #else # define SCTP_SOCKOPT_BINDX_ADD 100 #endif +#if defined(SCTP_SOCKOPT_BINDX_ADD) || (defined(HAVE_DECL_SCTP_SOCKOPT_BINDX_ADD) && HAVE_DECL_SCTP_SOCKOPT_BINDX_ADD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_BINDX_ADD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_BINDX_ADD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_BINDX_ADD) +#endif #if defined(SCTP_SOCKOPT_BINDX_REM) || (defined(HAVE_DECL_SCTP_SOCKOPT_BINDX_REM) && HAVE_DECL_SCTP_SOCKOPT_BINDX_REM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_BINDX_REM) == (101), "SCTP_SOCKOPT_BINDX_REM != 101"); @@ -283,6 +673,16 @@ #else # define SCTP_SOCKOPT_BINDX_REM 101 #endif +#if defined(SCTP_SOCKOPT_BINDX_REM) || (defined(HAVE_DECL_SCTP_SOCKOPT_BINDX_REM) && HAVE_DECL_SCTP_SOCKOPT_BINDX_REM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_BINDX_REM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_BINDX_REM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_BINDX_REM) +#endif #if defined(SCTP_SOCKOPT_PEELOFF) || (defined(HAVE_DECL_SCTP_SOCKOPT_PEELOFF) && HAVE_DECL_SCTP_SOCKOPT_PEELOFF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_PEELOFF) == (102), "SCTP_SOCKOPT_PEELOFF != 102"); @@ -290,6 +690,16 @@ #else # define SCTP_SOCKOPT_PEELOFF 102 #endif +#if defined(SCTP_SOCKOPT_PEELOFF) || (defined(HAVE_DECL_SCTP_SOCKOPT_PEELOFF) && HAVE_DECL_SCTP_SOCKOPT_PEELOFF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_PEELOFF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_PEELOFF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_PEELOFF) +#endif #if defined(SCTP_GET_PEER_ADDRS_NUM_OLD) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS_NUM_OLD) && HAVE_DECL_SCTP_GET_PEER_ADDRS_NUM_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_PEER_ADDRS_NUM_OLD) == (103), "SCTP_GET_PEER_ADDRS_NUM_OLD != 103"); @@ -297,6 +707,16 @@ #else # define SCTP_GET_PEER_ADDRS_NUM_OLD 103 #endif +#if defined(SCTP_GET_PEER_ADDRS_NUM_OLD) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS_NUM_OLD) && HAVE_DECL_SCTP_GET_PEER_ADDRS_NUM_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_PEER_ADDRS_NUM_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_PEER_ADDRS_NUM_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_PEER_ADDRS_NUM_OLD) +#endif #if defined(SCTP_GET_PEER_ADDRS_OLD) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS_OLD) && HAVE_DECL_SCTP_GET_PEER_ADDRS_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_PEER_ADDRS_OLD) == (104), "SCTP_GET_PEER_ADDRS_OLD != 104"); @@ -304,6 +724,16 @@ #else # define SCTP_GET_PEER_ADDRS_OLD 104 #endif +#if defined(SCTP_GET_PEER_ADDRS_OLD) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS_OLD) && HAVE_DECL_SCTP_GET_PEER_ADDRS_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_PEER_ADDRS_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_PEER_ADDRS_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_PEER_ADDRS_OLD) +#endif #if defined(SCTP_GET_LOCAL_ADDRS_NUM_OLD) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS_NUM_OLD) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS_NUM_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_LOCAL_ADDRS_NUM_OLD) == (105), "SCTP_GET_LOCAL_ADDRS_NUM_OLD != 105"); @@ -311,6 +741,16 @@ #else # define SCTP_GET_LOCAL_ADDRS_NUM_OLD 105 #endif +#if defined(SCTP_GET_LOCAL_ADDRS_NUM_OLD) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS_NUM_OLD) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS_NUM_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_LOCAL_ADDRS_NUM_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_LOCAL_ADDRS_NUM_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_LOCAL_ADDRS_NUM_OLD) +#endif #if defined(SCTP_GET_LOCAL_ADDRS_OLD) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS_OLD) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_LOCAL_ADDRS_OLD) == (106), "SCTP_GET_LOCAL_ADDRS_OLD != 106"); @@ -318,6 +758,16 @@ #else # define SCTP_GET_LOCAL_ADDRS_OLD 106 #endif +#if defined(SCTP_GET_LOCAL_ADDRS_OLD) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS_OLD) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_LOCAL_ADDRS_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_LOCAL_ADDRS_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_LOCAL_ADDRS_OLD) +#endif #if defined(SCTP_SOCKOPT_CONNECTX_OLD) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX_OLD) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX_OLD) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_CONNECTX_OLD) == (107), "SCTP_SOCKOPT_CONNECTX_OLD != 107"); @@ -325,6 +775,16 @@ #else # define SCTP_SOCKOPT_CONNECTX_OLD 107 #endif +#if defined(SCTP_SOCKOPT_CONNECTX_OLD) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX_OLD) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX_OLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_CONNECTX_OLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_CONNECTX_OLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_CONNECTX_OLD) +#endif #if defined(SCTP_GET_PEER_ADDRS) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS) && HAVE_DECL_SCTP_GET_PEER_ADDRS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_PEER_ADDRS) == (108), "SCTP_GET_PEER_ADDRS != 108"); @@ -332,6 +792,16 @@ #else # define SCTP_GET_PEER_ADDRS 108 #endif +#if defined(SCTP_GET_PEER_ADDRS) || (defined(HAVE_DECL_SCTP_GET_PEER_ADDRS) && HAVE_DECL_SCTP_GET_PEER_ADDRS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_PEER_ADDRS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_PEER_ADDRS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_PEER_ADDRS) +#endif #if defined(SCTP_GET_LOCAL_ADDRS) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_LOCAL_ADDRS) == (109), "SCTP_GET_LOCAL_ADDRS != 109"); @@ -339,6 +809,16 @@ #else # define SCTP_GET_LOCAL_ADDRS 109 #endif +#if defined(SCTP_GET_LOCAL_ADDRS) || (defined(HAVE_DECL_SCTP_GET_LOCAL_ADDRS) && HAVE_DECL_SCTP_GET_LOCAL_ADDRS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_LOCAL_ADDRS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_LOCAL_ADDRS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_LOCAL_ADDRS) +#endif #if defined(SCTP_SOCKOPT_CONNECTX) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_CONNECTX) == (110), "SCTP_SOCKOPT_CONNECTX != 110"); @@ -346,6 +826,16 @@ #else # define SCTP_SOCKOPT_CONNECTX 110 #endif +#if defined(SCTP_SOCKOPT_CONNECTX) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_CONNECTX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_CONNECTX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_CONNECTX) +#endif #if defined(SCTP_SOCKOPT_CONNECTX3) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX3) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX3) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_CONNECTX3) == (111), "SCTP_SOCKOPT_CONNECTX3 != 111"); @@ -353,6 +843,16 @@ #else # define SCTP_SOCKOPT_CONNECTX3 111 #endif +#if defined(SCTP_SOCKOPT_CONNECTX3) || (defined(HAVE_DECL_SCTP_SOCKOPT_CONNECTX3) && HAVE_DECL_SCTP_SOCKOPT_CONNECTX3) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_CONNECTX3) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_CONNECTX3" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_CONNECTX3) +#endif #if defined(SCTP_GET_ASSOC_STATS) || (defined(HAVE_DECL_SCTP_GET_ASSOC_STATS) && HAVE_DECL_SCTP_GET_ASSOC_STATS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_GET_ASSOC_STATS) == (112), "SCTP_GET_ASSOC_STATS != 112"); @@ -360,6 +860,16 @@ #else # define SCTP_GET_ASSOC_STATS 112 #endif +#if defined(SCTP_GET_ASSOC_STATS) || (defined(HAVE_DECL_SCTP_GET_ASSOC_STATS) && HAVE_DECL_SCTP_GET_ASSOC_STATS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_GET_ASSOC_STATS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_GET_ASSOC_STATS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_GET_ASSOC_STATS) +#endif #if defined(SCTP_PR_SUPPORTED) || (defined(HAVE_DECL_SCTP_PR_SUPPORTED) && HAVE_DECL_SCTP_PR_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PR_SUPPORTED) == (113), "SCTP_PR_SUPPORTED != 113"); @@ -367,6 +877,16 @@ #else # define SCTP_PR_SUPPORTED 113 #endif +#if defined(SCTP_PR_SUPPORTED) || (defined(HAVE_DECL_SCTP_PR_SUPPORTED) && HAVE_DECL_SCTP_PR_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PR_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PR_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PR_SUPPORTED) +#endif #if defined(SCTP_DEFAULT_PRINFO) || (defined(HAVE_DECL_SCTP_DEFAULT_PRINFO) && HAVE_DECL_SCTP_DEFAULT_PRINFO) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_DEFAULT_PRINFO) == (114), "SCTP_DEFAULT_PRINFO != 114"); @@ -374,6 +894,16 @@ #else # define SCTP_DEFAULT_PRINFO 114 #endif +#if defined(SCTP_DEFAULT_PRINFO) || (defined(HAVE_DECL_SCTP_DEFAULT_PRINFO) && HAVE_DECL_SCTP_DEFAULT_PRINFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_DEFAULT_PRINFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_DEFAULT_PRINFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_DEFAULT_PRINFO) +#endif #if defined(SCTP_PR_ASSOC_STATUS) || (defined(HAVE_DECL_SCTP_PR_ASSOC_STATUS) && HAVE_DECL_SCTP_PR_ASSOC_STATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PR_ASSOC_STATUS) == (115), "SCTP_PR_ASSOC_STATUS != 115"); @@ -381,6 +911,16 @@ #else # define SCTP_PR_ASSOC_STATUS 115 #endif +#if defined(SCTP_PR_ASSOC_STATUS) || (defined(HAVE_DECL_SCTP_PR_ASSOC_STATUS) && HAVE_DECL_SCTP_PR_ASSOC_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PR_ASSOC_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PR_ASSOC_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PR_ASSOC_STATUS) +#endif #if defined(SCTP_PR_STREAM_STATUS) || (defined(HAVE_DECL_SCTP_PR_STREAM_STATUS) && HAVE_DECL_SCTP_PR_STREAM_STATUS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PR_STREAM_STATUS) == (116), "SCTP_PR_STREAM_STATUS != 116"); @@ -388,6 +928,16 @@ #else # define SCTP_PR_STREAM_STATUS 116 #endif +#if defined(SCTP_PR_STREAM_STATUS) || (defined(HAVE_DECL_SCTP_PR_STREAM_STATUS) && HAVE_DECL_SCTP_PR_STREAM_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PR_STREAM_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PR_STREAM_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PR_STREAM_STATUS) +#endif #if defined(SCTP_RECONFIG_SUPPORTED) || (defined(HAVE_DECL_SCTP_RECONFIG_SUPPORTED) && HAVE_DECL_SCTP_RECONFIG_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_RECONFIG_SUPPORTED) == (117), "SCTP_RECONFIG_SUPPORTED != 117"); @@ -395,6 +945,16 @@ #else # define SCTP_RECONFIG_SUPPORTED 117 #endif +#if defined(SCTP_RECONFIG_SUPPORTED) || (defined(HAVE_DECL_SCTP_RECONFIG_SUPPORTED) && HAVE_DECL_SCTP_RECONFIG_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RECONFIG_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RECONFIG_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RECONFIG_SUPPORTED) +#endif #if defined(SCTP_ENABLE_STREAM_RESET) || (defined(HAVE_DECL_SCTP_ENABLE_STREAM_RESET) && HAVE_DECL_SCTP_ENABLE_STREAM_RESET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ENABLE_STREAM_RESET) == (118), "SCTP_ENABLE_STREAM_RESET != 118"); @@ -402,6 +962,16 @@ #else # define SCTP_ENABLE_STREAM_RESET 118 #endif +#if defined(SCTP_ENABLE_STREAM_RESET) || (defined(HAVE_DECL_SCTP_ENABLE_STREAM_RESET) && HAVE_DECL_SCTP_ENABLE_STREAM_RESET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ENABLE_STREAM_RESET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ENABLE_STREAM_RESET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ENABLE_STREAM_RESET) +#endif #if defined(SCTP_RESET_STREAMS) || (defined(HAVE_DECL_SCTP_RESET_STREAMS) && HAVE_DECL_SCTP_RESET_STREAMS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_RESET_STREAMS) == (119), "SCTP_RESET_STREAMS != 119"); @@ -409,6 +979,16 @@ #else # define SCTP_RESET_STREAMS 119 #endif +#if defined(SCTP_RESET_STREAMS) || (defined(HAVE_DECL_SCTP_RESET_STREAMS) && HAVE_DECL_SCTP_RESET_STREAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RESET_STREAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RESET_STREAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RESET_STREAMS) +#endif #if defined(SCTP_RESET_ASSOC) || (defined(HAVE_DECL_SCTP_RESET_ASSOC) && HAVE_DECL_SCTP_RESET_ASSOC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_RESET_ASSOC) == (120), "SCTP_RESET_ASSOC != 120"); @@ -416,6 +996,16 @@ #else # define SCTP_RESET_ASSOC 120 #endif +#if defined(SCTP_RESET_ASSOC) || (defined(HAVE_DECL_SCTP_RESET_ASSOC) && HAVE_DECL_SCTP_RESET_ASSOC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_RESET_ASSOC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_RESET_ASSOC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_RESET_ASSOC) +#endif #if defined(SCTP_ADD_STREAMS) || (defined(HAVE_DECL_SCTP_ADD_STREAMS) && HAVE_DECL_SCTP_ADD_STREAMS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ADD_STREAMS) == (121), "SCTP_ADD_STREAMS != 121"); @@ -423,6 +1013,16 @@ #else # define SCTP_ADD_STREAMS 121 #endif +#if defined(SCTP_ADD_STREAMS) || (defined(HAVE_DECL_SCTP_ADD_STREAMS) && HAVE_DECL_SCTP_ADD_STREAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ADD_STREAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ADD_STREAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ADD_STREAMS) +#endif #if defined(SCTP_SOCKOPT_PEELOFF_FLAGS) || (defined(HAVE_DECL_SCTP_SOCKOPT_PEELOFF_FLAGS) && HAVE_DECL_SCTP_SOCKOPT_PEELOFF_FLAGS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SOCKOPT_PEELOFF_FLAGS) == (122), "SCTP_SOCKOPT_PEELOFF_FLAGS != 122"); @@ -430,6 +1030,16 @@ #else # define SCTP_SOCKOPT_PEELOFF_FLAGS 122 #endif +#if defined(SCTP_SOCKOPT_PEELOFF_FLAGS) || (defined(HAVE_DECL_SCTP_SOCKOPT_PEELOFF_FLAGS) && HAVE_DECL_SCTP_SOCKOPT_PEELOFF_FLAGS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SOCKOPT_PEELOFF_FLAGS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SOCKOPT_PEELOFF_FLAGS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SOCKOPT_PEELOFF_FLAGS) +#endif #if defined(SCTP_STREAM_SCHEDULER) || (defined(HAVE_DECL_SCTP_STREAM_SCHEDULER) && HAVE_DECL_SCTP_STREAM_SCHEDULER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_STREAM_SCHEDULER) == (123), "SCTP_STREAM_SCHEDULER != 123"); @@ -437,6 +1047,16 @@ #else # define SCTP_STREAM_SCHEDULER 123 #endif +#if defined(SCTP_STREAM_SCHEDULER) || (defined(HAVE_DECL_SCTP_STREAM_SCHEDULER) && HAVE_DECL_SCTP_STREAM_SCHEDULER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_STREAM_SCHEDULER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_STREAM_SCHEDULER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_STREAM_SCHEDULER) +#endif #if defined(SCTP_STREAM_SCHEDULER_VALUE) || (defined(HAVE_DECL_SCTP_STREAM_SCHEDULER_VALUE) && HAVE_DECL_SCTP_STREAM_SCHEDULER_VALUE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_STREAM_SCHEDULER_VALUE) == (124), "SCTP_STREAM_SCHEDULER_VALUE != 124"); @@ -444,6 +1064,16 @@ #else # define SCTP_STREAM_SCHEDULER_VALUE 124 #endif +#if defined(SCTP_STREAM_SCHEDULER_VALUE) || (defined(HAVE_DECL_SCTP_STREAM_SCHEDULER_VALUE) && HAVE_DECL_SCTP_STREAM_SCHEDULER_VALUE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_STREAM_SCHEDULER_VALUE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_STREAM_SCHEDULER_VALUE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_STREAM_SCHEDULER_VALUE) +#endif #if defined(SCTP_INTERLEAVING_SUPPORTED) || (defined(HAVE_DECL_SCTP_INTERLEAVING_SUPPORTED) && HAVE_DECL_SCTP_INTERLEAVING_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_INTERLEAVING_SUPPORTED) == (125), "SCTP_INTERLEAVING_SUPPORTED != 125"); @@ -451,6 +1081,16 @@ #else # define SCTP_INTERLEAVING_SUPPORTED 125 #endif +#if defined(SCTP_INTERLEAVING_SUPPORTED) || (defined(HAVE_DECL_SCTP_INTERLEAVING_SUPPORTED) && HAVE_DECL_SCTP_INTERLEAVING_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_INTERLEAVING_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_INTERLEAVING_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_INTERLEAVING_SUPPORTED) +#endif #if defined(SCTP_SENDMSG_CONNECT) || (defined(HAVE_DECL_SCTP_SENDMSG_CONNECT) && HAVE_DECL_SCTP_SENDMSG_CONNECT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_SENDMSG_CONNECT) == (126), "SCTP_SENDMSG_CONNECT != 126"); @@ -458,6 +1098,16 @@ #else # define SCTP_SENDMSG_CONNECT 126 #endif +#if defined(SCTP_SENDMSG_CONNECT) || (defined(HAVE_DECL_SCTP_SENDMSG_CONNECT) && HAVE_DECL_SCTP_SENDMSG_CONNECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_SENDMSG_CONNECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_SENDMSG_CONNECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_SENDMSG_CONNECT) +#endif #if defined(SCTP_EVENT) || (defined(HAVE_DECL_SCTP_EVENT) && HAVE_DECL_SCTP_EVENT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_EVENT) == (127), "SCTP_EVENT != 127"); @@ -465,6 +1115,16 @@ #else # define SCTP_EVENT 127 #endif +#if defined(SCTP_EVENT) || (defined(HAVE_DECL_SCTP_EVENT) && HAVE_DECL_SCTP_EVENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_EVENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_EVENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_EVENT) +#endif #if defined(SCTP_ASCONF_SUPPORTED) || (defined(HAVE_DECL_SCTP_ASCONF_SUPPORTED) && HAVE_DECL_SCTP_ASCONF_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ASCONF_SUPPORTED) == (128), "SCTP_ASCONF_SUPPORTED != 128"); @@ -472,6 +1132,16 @@ #else # define SCTP_ASCONF_SUPPORTED 128 #endif +#if defined(SCTP_ASCONF_SUPPORTED) || (defined(HAVE_DECL_SCTP_ASCONF_SUPPORTED) && HAVE_DECL_SCTP_ASCONF_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ASCONF_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ASCONF_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ASCONF_SUPPORTED) +#endif #if defined(SCTP_AUTH_SUPPORTED) || (defined(HAVE_DECL_SCTP_AUTH_SUPPORTED) && HAVE_DECL_SCTP_AUTH_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_AUTH_SUPPORTED) == (129), "SCTP_AUTH_SUPPORTED != 129"); @@ -479,6 +1149,16 @@ #else # define SCTP_AUTH_SUPPORTED 129 #endif +#if defined(SCTP_AUTH_SUPPORTED) || (defined(HAVE_DECL_SCTP_AUTH_SUPPORTED) && HAVE_DECL_SCTP_AUTH_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_AUTH_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_AUTH_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_AUTH_SUPPORTED) +#endif #if defined(SCTP_ECN_SUPPORTED) || (defined(HAVE_DECL_SCTP_ECN_SUPPORTED) && HAVE_DECL_SCTP_ECN_SUPPORTED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_ECN_SUPPORTED) == (130), "SCTP_ECN_SUPPORTED != 130"); @@ -486,6 +1166,16 @@ #else # define SCTP_ECN_SUPPORTED 130 #endif +#if defined(SCTP_ECN_SUPPORTED) || (defined(HAVE_DECL_SCTP_ECN_SUPPORTED) && HAVE_DECL_SCTP_ECN_SUPPORTED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_ECN_SUPPORTED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_ECN_SUPPORTED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_ECN_SUPPORTED) +#endif #if defined(SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) || (defined(HAVE_DECL_SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) && HAVE_DECL_SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) == (131), "SCTP_EXPOSE_POTENTIALLY_FAILED_STATE != 131"); @@ -493,6 +1183,16 @@ #else # define SCTP_EXPOSE_POTENTIALLY_FAILED_STATE 131 #endif +#if defined(SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) || (defined(HAVE_DECL_SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) && HAVE_DECL_SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_EXPOSE_POTENTIALLY_FAILED_STATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_EXPOSE_POTENTIALLY_FAILED_STATE) +#endif #if defined(SCTP_REMOTE_UDP_ENCAPS_PORT) || (defined(HAVE_DECL_SCTP_REMOTE_UDP_ENCAPS_PORT) && HAVE_DECL_SCTP_REMOTE_UDP_ENCAPS_PORT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_REMOTE_UDP_ENCAPS_PORT) == (132), "SCTP_REMOTE_UDP_ENCAPS_PORT != 132"); @@ -500,6 +1200,16 @@ #else # define SCTP_REMOTE_UDP_ENCAPS_PORT 132 #endif +#if defined(SCTP_REMOTE_UDP_ENCAPS_PORT) || (defined(HAVE_DECL_SCTP_REMOTE_UDP_ENCAPS_PORT) && HAVE_DECL_SCTP_REMOTE_UDP_ENCAPS_PORT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_REMOTE_UDP_ENCAPS_PORT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_REMOTE_UDP_ENCAPS_PORT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_REMOTE_UDP_ENCAPS_PORT) +#endif #if defined(SCTP_PLPMTUD_PROBE_INTERVAL) || (defined(HAVE_DECL_SCTP_PLPMTUD_PROBE_INTERVAL) && HAVE_DECL_SCTP_PLPMTUD_PROBE_INTERVAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SCTP_PLPMTUD_PROBE_INTERVAL) == (133), "SCTP_PLPMTUD_PROBE_INTERVAL != 133"); @@ -507,6 +1217,17 @@ #else # define SCTP_PLPMTUD_PROBE_INTERVAL 133 #endif +#if defined(SCTP_PLPMTUD_PROBE_INTERVAL) || (defined(HAVE_DECL_SCTP_PLPMTUD_PROBE_INTERVAL) && HAVE_DECL_SCTP_PLPMTUD_PROBE_INTERVAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SCTP_PLPMTUD_PROBE_INTERVAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SCTP_PLPMTUD_PROBE_INTERVAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SCTP_PLPMTUD_PROBE_INTERVAL) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -740,7 +1461,7 @@ const struct xlat sock_sctp_options1 = { { .data = sock_sctp_options_xdata, .size = ARRAY_SIZE(sock_sctp_options_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_sctp_options.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_sctp_options.in
Changed
@@ -1,3 +1,4 @@ +#sorted SCTP_RTOINFO 0 SCTP_ASSOCINFO 1 SCTP_INITMSG 2
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_shutdown_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_shutdown_flags.h
Changed
@@ -17,6 +17,7 @@ #else # define SEND_SHUTDOWN 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_tcp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_tcp_options.h
Changed
@@ -262,6 +262,7 @@ #else # define TCP_TX_DELAY 37 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_tipc_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_tipc_options.h
Changed
@@ -10,6 +10,16 @@ #else # define TIPC_IMPORTANCE 127 #endif +#if defined(TIPC_IMPORTANCE) || (defined(HAVE_DECL_TIPC_IMPORTANCE) && HAVE_DECL_TIPC_IMPORTANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_IMPORTANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_IMPORTANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_IMPORTANCE) +#endif #if defined(TIPC_SRC_DROPPABLE) || (defined(HAVE_DECL_TIPC_SRC_DROPPABLE) && HAVE_DECL_TIPC_SRC_DROPPABLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_SRC_DROPPABLE) == (128), "TIPC_SRC_DROPPABLE != 128"); @@ -17,6 +27,16 @@ #else # define TIPC_SRC_DROPPABLE 128 #endif +#if defined(TIPC_SRC_DROPPABLE) || (defined(HAVE_DECL_TIPC_SRC_DROPPABLE) && HAVE_DECL_TIPC_SRC_DROPPABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_SRC_DROPPABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_SRC_DROPPABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_SRC_DROPPABLE) +#endif #if defined(TIPC_DEST_DROPPABLE) || (defined(HAVE_DECL_TIPC_DEST_DROPPABLE) && HAVE_DECL_TIPC_DEST_DROPPABLE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_DEST_DROPPABLE) == (129), "TIPC_DEST_DROPPABLE != 129"); @@ -24,6 +44,16 @@ #else # define TIPC_DEST_DROPPABLE 129 #endif +#if defined(TIPC_DEST_DROPPABLE) || (defined(HAVE_DECL_TIPC_DEST_DROPPABLE) && HAVE_DECL_TIPC_DEST_DROPPABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_DEST_DROPPABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_DEST_DROPPABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_DEST_DROPPABLE) +#endif #if defined(TIPC_CONN_TIMEOUT) || (defined(HAVE_DECL_TIPC_CONN_TIMEOUT) && HAVE_DECL_TIPC_CONN_TIMEOUT) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_CONN_TIMEOUT) == (130), "TIPC_CONN_TIMEOUT != 130"); @@ -31,6 +61,16 @@ #else # define TIPC_CONN_TIMEOUT 130 #endif +#if defined(TIPC_CONN_TIMEOUT) || (defined(HAVE_DECL_TIPC_CONN_TIMEOUT) && HAVE_DECL_TIPC_CONN_TIMEOUT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_CONN_TIMEOUT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_CONN_TIMEOUT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_CONN_TIMEOUT) +#endif #if defined(TIPC_NODE_RECVQ_DEPTH) || (defined(HAVE_DECL_TIPC_NODE_RECVQ_DEPTH) && HAVE_DECL_TIPC_NODE_RECVQ_DEPTH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_NODE_RECVQ_DEPTH) == (131), "TIPC_NODE_RECVQ_DEPTH != 131"); @@ -38,6 +78,16 @@ #else # define TIPC_NODE_RECVQ_DEPTH 131 #endif +#if defined(TIPC_NODE_RECVQ_DEPTH) || (defined(HAVE_DECL_TIPC_NODE_RECVQ_DEPTH) && HAVE_DECL_TIPC_NODE_RECVQ_DEPTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_NODE_RECVQ_DEPTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_NODE_RECVQ_DEPTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_NODE_RECVQ_DEPTH) +#endif #if defined(TIPC_SOCK_RECVQ_DEPTH) || (defined(HAVE_DECL_TIPC_SOCK_RECVQ_DEPTH) && HAVE_DECL_TIPC_SOCK_RECVQ_DEPTH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_SOCK_RECVQ_DEPTH) == (132), "TIPC_SOCK_RECVQ_DEPTH != 132"); @@ -45,6 +95,16 @@ #else # define TIPC_SOCK_RECVQ_DEPTH 132 #endif +#if defined(TIPC_SOCK_RECVQ_DEPTH) || (defined(HAVE_DECL_TIPC_SOCK_RECVQ_DEPTH) && HAVE_DECL_TIPC_SOCK_RECVQ_DEPTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_SOCK_RECVQ_DEPTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_SOCK_RECVQ_DEPTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_SOCK_RECVQ_DEPTH) +#endif #if defined(TIPC_MCAST_BROADCAST) || (defined(HAVE_DECL_TIPC_MCAST_BROADCAST) && HAVE_DECL_TIPC_MCAST_BROADCAST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_MCAST_BROADCAST) == (133), "TIPC_MCAST_BROADCAST != 133"); @@ -52,6 +112,16 @@ #else # define TIPC_MCAST_BROADCAST 133 #endif +#if defined(TIPC_MCAST_BROADCAST) || (defined(HAVE_DECL_TIPC_MCAST_BROADCAST) && HAVE_DECL_TIPC_MCAST_BROADCAST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_MCAST_BROADCAST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_MCAST_BROADCAST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_MCAST_BROADCAST) +#endif #if defined(TIPC_MCAST_REPLICAST) || (defined(HAVE_DECL_TIPC_MCAST_REPLICAST) && HAVE_DECL_TIPC_MCAST_REPLICAST) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_MCAST_REPLICAST) == (134), "TIPC_MCAST_REPLICAST != 134"); @@ -59,6 +129,16 @@ #else # define TIPC_MCAST_REPLICAST 134 #endif +#if defined(TIPC_MCAST_REPLICAST) || (defined(HAVE_DECL_TIPC_MCAST_REPLICAST) && HAVE_DECL_TIPC_MCAST_REPLICAST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_MCAST_REPLICAST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_MCAST_REPLICAST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_MCAST_REPLICAST) +#endif #if defined(TIPC_GROUP_JOIN) || (defined(HAVE_DECL_TIPC_GROUP_JOIN) && HAVE_DECL_TIPC_GROUP_JOIN) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_GROUP_JOIN) == (135), "TIPC_GROUP_JOIN != 135"); @@ -66,6 +146,16 @@ #else # define TIPC_GROUP_JOIN 135 #endif +#if defined(TIPC_GROUP_JOIN) || (defined(HAVE_DECL_TIPC_GROUP_JOIN) && HAVE_DECL_TIPC_GROUP_JOIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_GROUP_JOIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_GROUP_JOIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_GROUP_JOIN) +#endif #if defined(TIPC_GROUP_LEAVE) || (defined(HAVE_DECL_TIPC_GROUP_LEAVE) && HAVE_DECL_TIPC_GROUP_LEAVE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_GROUP_LEAVE) == (136), "TIPC_GROUP_LEAVE != 136"); @@ -73,6 +163,16 @@ #else # define TIPC_GROUP_LEAVE 136 #endif +#if defined(TIPC_GROUP_LEAVE) || (defined(HAVE_DECL_TIPC_GROUP_LEAVE) && HAVE_DECL_TIPC_GROUP_LEAVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_GROUP_LEAVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_GROUP_LEAVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_GROUP_LEAVE) +#endif #if defined(TIPC_SOCK_RECVQ_USED) || (defined(HAVE_DECL_TIPC_SOCK_RECVQ_USED) && HAVE_DECL_TIPC_SOCK_RECVQ_USED) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_SOCK_RECVQ_USED) == (137), "TIPC_SOCK_RECVQ_USED != 137"); @@ -80,6 +180,16 @@ #else # define TIPC_SOCK_RECVQ_USED 137 #endif +#if defined(TIPC_SOCK_RECVQ_USED) || (defined(HAVE_DECL_TIPC_SOCK_RECVQ_USED) && HAVE_DECL_TIPC_SOCK_RECVQ_USED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_SOCK_RECVQ_USED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_SOCK_RECVQ_USED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_SOCK_RECVQ_USED) +#endif #if defined(TIPC_NODELAY) || (defined(HAVE_DECL_TIPC_NODELAY) && HAVE_DECL_TIPC_NODELAY) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((TIPC_NODELAY) == (138), "TIPC_NODELAY != 138"); @@ -87,6 +197,17 @@ #else # define TIPC_NODELAY 138 #endif +#if defined(TIPC_NODELAY) || (defined(HAVE_DECL_TIPC_NODELAY) && HAVE_DECL_TIPC_NODELAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TIPC_NODELAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TIPC_NODELAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TIPC_NODELAY) +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_tls_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_tls_options.h
Changed
@@ -17,6 +17,7 @@ #else # define TLS_RX 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_type_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_type_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_udp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_udp_options.h
Changed
@@ -45,6 +45,7 @@ #else # define UDP_GRO 104 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_vsock_options.h
Added
@@ -0,0 +1,145 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/sock_vsock_options.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_BUFFER_SIZE) == (0), "SO_VM_SOCKETS_BUFFER_SIZE != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_BUFFER_MIN_SIZE) == (1), "SO_VM_SOCKETS_BUFFER_MIN_SIZE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_BUFFER_MAX_SIZE) == (2), "SO_VM_SOCKETS_BUFFER_MAX_SIZE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_PEER_HOST_VM_ID) == (3), "SO_VM_SOCKETS_PEER_HOST_VM_ID != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_TRUSTED) == (5), "SO_VM_SOCKETS_TRUSTED != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD) == (6), "SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_NONBLOCK_TXRX) == (7), "SO_VM_SOCKETS_NONBLOCK_TXRX != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW) == (8), "SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat sock_vsock_options in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data sock_vsock_options_xdata = { + SO_VM_SOCKETS_BUFFER_SIZE = XLAT(SO_VM_SOCKETS_BUFFER_SIZE), + #define XLAT_VAL_0 ((unsigned) (SO_VM_SOCKETS_BUFFER_SIZE)) + #define XLAT_STR_0 STRINGIFY(SO_VM_SOCKETS_BUFFER_SIZE) + SO_VM_SOCKETS_BUFFER_MIN_SIZE = XLAT(SO_VM_SOCKETS_BUFFER_MIN_SIZE), + #define XLAT_VAL_1 ((unsigned) (SO_VM_SOCKETS_BUFFER_MIN_SIZE)) + #define XLAT_STR_1 STRINGIFY(SO_VM_SOCKETS_BUFFER_MIN_SIZE) + SO_VM_SOCKETS_BUFFER_MAX_SIZE = XLAT(SO_VM_SOCKETS_BUFFER_MAX_SIZE), + #define XLAT_VAL_2 ((unsigned) (SO_VM_SOCKETS_BUFFER_MAX_SIZE)) + #define XLAT_STR_2 STRINGIFY(SO_VM_SOCKETS_BUFFER_MAX_SIZE) + SO_VM_SOCKETS_PEER_HOST_VM_ID = XLAT(SO_VM_SOCKETS_PEER_HOST_VM_ID), + #define XLAT_VAL_3 ((unsigned) (SO_VM_SOCKETS_PEER_HOST_VM_ID)) + #define XLAT_STR_3 STRINGIFY(SO_VM_SOCKETS_PEER_HOST_VM_ID) + SO_VM_SOCKETS_TRUSTED = XLAT(SO_VM_SOCKETS_TRUSTED), + #define XLAT_VAL_4 ((unsigned) (SO_VM_SOCKETS_TRUSTED)) + #define XLAT_STR_4 STRINGIFY(SO_VM_SOCKETS_TRUSTED) + SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD = XLAT(SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD), + #define XLAT_VAL_5 ((unsigned) (SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD)) + #define XLAT_STR_5 STRINGIFY(SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD) + SO_VM_SOCKETS_NONBLOCK_TXRX = XLAT(SO_VM_SOCKETS_NONBLOCK_TXRX), + #define XLAT_VAL_6 ((unsigned) (SO_VM_SOCKETS_NONBLOCK_TXRX)) + #define XLAT_STR_6 STRINGIFY(SO_VM_SOCKETS_NONBLOCK_TXRX) + SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW = XLAT(SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW), + #define XLAT_VAL_7 ((unsigned) (SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW)) + #define XLAT_STR_7 STRINGIFY(SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW) +}; +static +const struct xlat sock_vsock_options1 = { { + .data = sock_vsock_options_xdata, + .size = ARRAY_SIZE(sock_vsock_options_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_vsock_options.in
Added
@@ -0,0 +1,10 @@ +#unconditional +#value_indexed +SO_VM_SOCKETS_BUFFER_SIZE 0 +SO_VM_SOCKETS_BUFFER_MIN_SIZE 1 +SO_VM_SOCKETS_BUFFER_MAX_SIZE 2 +SO_VM_SOCKETS_PEER_HOST_VM_ID 3 +SO_VM_SOCKETS_TRUSTED 5 +SO_VM_SOCKETS_CONNECT_TIMEOUT_OLD 6 +SO_VM_SOCKETS_NONBLOCK_TXRX 7 +SO_VM_SOCKETS_CONNECT_TIMEOUT_NEW 8
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sock_xdp_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sock_xdp_options.h
Changed
@@ -59,6 +59,7 @@ #else # define XDP_OPTIONS 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/socketcalls.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/socketcalls.h
Changed
@@ -143,6 +143,7 @@ #else # define SYS_SENDMMSG 20 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/socketlayers.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/socketlayers.h
Changed
@@ -10,6 +10,16 @@ #else # define SOL_IP 0 #endif +#if defined(SOL_IP) || (defined(HAVE_DECL_SOL_IP) && HAVE_DECL_SOL_IP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_IP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_IP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_IP) +#endif #if !(defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__) #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -18,6 +28,16 @@ #else # define SOL_SOCKET 1 #endif +#if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_SOCKET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_SOCKET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_SOCKET) +#endif #endif #if defined(SOL_TCP) || (defined(HAVE_DECL_SOL_TCP) && HAVE_DECL_SOL_TCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -26,6 +46,16 @@ #else # define SOL_TCP 6 #endif +#if defined(SOL_TCP) || (defined(HAVE_DECL_SOL_TCP) && HAVE_DECL_SOL_TCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_TCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_TCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_TCP) +#endif #if defined(SOL_UDP) || (defined(HAVE_DECL_SOL_UDP) && HAVE_DECL_SOL_UDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_UDP) == (17), "SOL_UDP != 17"); @@ -33,6 +63,33 @@ #else # define SOL_UDP 17 #endif +#if defined(SOL_UDP) || (defined(HAVE_DECL_SOL_UDP) && HAVE_DECL_SOL_UDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_UDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_UDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_UDP) +#endif +#if defined(AF_VSOCK) || (defined(HAVE_DECL_AF_VSOCK) && HAVE_DECL_AF_VSOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((AF_VSOCK) == (40), "AF_VSOCK != 40"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define AF_VSOCK 40 +#endif +#if defined(AF_VSOCK) || (defined(HAVE_DECL_AF_VSOCK) && HAVE_DECL_AF_VSOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (AF_VSOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: AF_VSOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (AF_VSOCK) +#endif #if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_IPV6) == (41), "SOL_IPV6 != 41"); @@ -40,6 +97,16 @@ #else # define SOL_IPV6 41 #endif +#if defined(SOL_IPV6) || (defined(HAVE_DECL_SOL_IPV6) && HAVE_DECL_SOL_IPV6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_IPV6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_IPV6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_IPV6) +#endif #if defined(SOL_ICMPV6) || (defined(HAVE_DECL_SOL_ICMPV6) && HAVE_DECL_SOL_ICMPV6) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_ICMPV6) == (58), "SOL_ICMPV6 != 58"); @@ -47,6 +114,16 @@ #else # define SOL_ICMPV6 58 #endif +#if defined(SOL_ICMPV6) || (defined(HAVE_DECL_SOL_ICMPV6) && HAVE_DECL_SOL_ICMPV6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_ICMPV6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_ICMPV6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_ICMPV6) +#endif #if defined(SOL_CAN_BASE) || (defined(HAVE_DECL_SOL_CAN_BASE) && HAVE_DECL_SOL_CAN_BASE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_CAN_BASE) == (100), "SOL_CAN_BASE != 100"); @@ -54,6 +131,16 @@ #else # define SOL_CAN_BASE 100 #endif +#if defined(SOL_CAN_BASE) || (defined(HAVE_DECL_SOL_CAN_BASE) && HAVE_DECL_SOL_CAN_BASE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_CAN_BASE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_CAN_BASE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_CAN_BASE) +#endif #if defined(SOL_CAN_RAW) || (defined(HAVE_DECL_SOL_CAN_RAW) && HAVE_DECL_SOL_CAN_RAW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_CAN_RAW) == (101), "SOL_CAN_RAW != 101"); @@ -61,6 +148,16 @@ #else # define SOL_CAN_RAW 101 #endif +#if defined(SOL_CAN_RAW) || (defined(HAVE_DECL_SOL_CAN_RAW) && HAVE_DECL_SOL_CAN_RAW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_CAN_RAW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_CAN_RAW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_CAN_RAW) +#endif #if defined(SOL_SCTP) || (defined(HAVE_DECL_SOL_SCTP) && HAVE_DECL_SOL_SCTP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_SCTP) == (132), "SOL_SCTP != 132"); @@ -68,6 +165,16 @@ #else # define SOL_SCTP 132 #endif +#if defined(SOL_SCTP) || (defined(HAVE_DECL_SOL_SCTP) && HAVE_DECL_SOL_SCTP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_SCTP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_SCTP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_SCTP) +#endif #if defined(SOL_UDPLITE) || (defined(HAVE_DECL_SOL_UDPLITE) && HAVE_DECL_SOL_UDPLITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_UDPLITE) == (136), "SOL_UDPLITE != 136"); @@ -75,6 +182,16 @@ #else # define SOL_UDPLITE 136 #endif +#if defined(SOL_UDPLITE) || (defined(HAVE_DECL_SOL_UDPLITE) && HAVE_DECL_SOL_UDPLITE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_UDPLITE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_UDPLITE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_UDPLITE) +#endif #if defined(SOL_RAW) || (defined(HAVE_DECL_SOL_RAW) && HAVE_DECL_SOL_RAW) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_RAW) == (255), "SOL_RAW != 255"); @@ -82,6 +199,16 @@ #else # define SOL_RAW 255 #endif +#if defined(SOL_RAW) || (defined(HAVE_DECL_SOL_RAW) && HAVE_DECL_SOL_RAW) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_RAW) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_RAW" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_RAW) +#endif #if defined(SOL_IPX) || (defined(HAVE_DECL_SOL_IPX) && HAVE_DECL_SOL_IPX) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_IPX) == (256), "SOL_IPX != 256"); @@ -89,6 +216,16 @@ #else # define SOL_IPX 256 #endif +#if defined(SOL_IPX) || (defined(HAVE_DECL_SOL_IPX) && HAVE_DECL_SOL_IPX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_IPX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_IPX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_IPX) +#endif #if defined(SOL_AX25) || (defined(HAVE_DECL_SOL_AX25) && HAVE_DECL_SOL_AX25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_AX25) == (257), "SOL_AX25 != 257"); @@ -96,6 +233,16 @@ #else # define SOL_AX25 257 #endif +#if defined(SOL_AX25) || (defined(HAVE_DECL_SOL_AX25) && HAVE_DECL_SOL_AX25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_AX25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_AX25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_AX25) +#endif #if defined(SOL_ATALK) || (defined(HAVE_DECL_SOL_ATALK) && HAVE_DECL_SOL_ATALK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_ATALK) == (258), "SOL_ATALK != 258"); @@ -103,6 +250,16 @@ #else # define SOL_ATALK 258 #endif +#if defined(SOL_ATALK) || (defined(HAVE_DECL_SOL_ATALK) && HAVE_DECL_SOL_ATALK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_ATALK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_ATALK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_ATALK) +#endif #if defined(SOL_NETROM) || (defined(HAVE_DECL_SOL_NETROM) && HAVE_DECL_SOL_NETROM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_NETROM) == (259), "SOL_NETROM != 259"); @@ -110,6 +267,16 @@ #else # define SOL_NETROM 259 #endif +#if defined(SOL_NETROM) || (defined(HAVE_DECL_SOL_NETROM) && HAVE_DECL_SOL_NETROM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_NETROM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_NETROM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_NETROM) +#endif #if defined(SOL_ROSE) || (defined(HAVE_DECL_SOL_ROSE) && HAVE_DECL_SOL_ROSE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_ROSE) == (260), "SOL_ROSE != 260"); @@ -117,6 +284,16 @@ #else # define SOL_ROSE 260 #endif +#if defined(SOL_ROSE) || (defined(HAVE_DECL_SOL_ROSE) && HAVE_DECL_SOL_ROSE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_ROSE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_ROSE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_ROSE) +#endif #if defined(SOL_DECNET) || (defined(HAVE_DECL_SOL_DECNET) && HAVE_DECL_SOL_DECNET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_DECNET) == (261), "SOL_DECNET != 261"); @@ -124,6 +301,16 @@ #else # define SOL_DECNET 261 #endif +#if defined(SOL_DECNET) || (defined(HAVE_DECL_SOL_DECNET) && HAVE_DECL_SOL_DECNET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_DECNET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_DECNET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_DECNET) +#endif #if defined(SOL_X25) || (defined(HAVE_DECL_SOL_X25) && HAVE_DECL_SOL_X25) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_X25) == (262), "SOL_X25 != 262"); @@ -131,6 +318,16 @@ #else # define SOL_X25 262 #endif +#if defined(SOL_X25) || (defined(HAVE_DECL_SOL_X25) && HAVE_DECL_SOL_X25) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_X25) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_X25" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_X25) +#endif #if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_PACKET) == (263), "SOL_PACKET != 263"); @@ -138,6 +335,16 @@ #else # define SOL_PACKET 263 #endif +#if defined(SOL_PACKET) || (defined(HAVE_DECL_SOL_PACKET) && HAVE_DECL_SOL_PACKET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_PACKET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_PACKET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_PACKET) +#endif #if defined(SOL_ATM) || (defined(HAVE_DECL_SOL_ATM) && HAVE_DECL_SOL_ATM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_ATM) == (264), "SOL_ATM != 264"); @@ -145,6 +352,16 @@ #else # define SOL_ATM 264 #endif +#if defined(SOL_ATM) || (defined(HAVE_DECL_SOL_ATM) && HAVE_DECL_SOL_ATM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_ATM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_ATM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_ATM) +#endif #if defined(SOL_AAL) || (defined(HAVE_DECL_SOL_AAL) && HAVE_DECL_SOL_AAL) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_AAL) == (265), "SOL_AAL != 265"); @@ -152,6 +369,16 @@ #else # define SOL_AAL 265 #endif +#if defined(SOL_AAL) || (defined(HAVE_DECL_SOL_AAL) && HAVE_DECL_SOL_AAL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_AAL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_AAL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_AAL) +#endif #if defined(SOL_IRDA) || (defined(HAVE_DECL_SOL_IRDA) && HAVE_DECL_SOL_IRDA) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_IRDA) == (266), "SOL_IRDA != 266"); @@ -159,6 +386,16 @@ #else # define SOL_IRDA 266 #endif +#if defined(SOL_IRDA) || (defined(HAVE_DECL_SOL_IRDA) && HAVE_DECL_SOL_IRDA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_IRDA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_IRDA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_IRDA) +#endif #if defined(SOL_NETBEUI) || (defined(HAVE_DECL_SOL_NETBEUI) && HAVE_DECL_SOL_NETBEUI) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_NETBEUI) == (267), "SOL_NETBEUI != 267"); @@ -166,6 +403,16 @@ #else # define SOL_NETBEUI 267 #endif +#if defined(SOL_NETBEUI) || (defined(HAVE_DECL_SOL_NETBEUI) && HAVE_DECL_SOL_NETBEUI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_NETBEUI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_NETBEUI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_NETBEUI) +#endif #if defined(SOL_LLC) || (defined(HAVE_DECL_SOL_LLC) && HAVE_DECL_SOL_LLC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_LLC) == (268), "SOL_LLC != 268"); @@ -173,6 +420,16 @@ #else # define SOL_LLC 268 #endif +#if defined(SOL_LLC) || (defined(HAVE_DECL_SOL_LLC) && HAVE_DECL_SOL_LLC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_LLC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_LLC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_LLC) +#endif #if defined(SOL_DCCP) || (defined(HAVE_DECL_SOL_DCCP) && HAVE_DECL_SOL_DCCP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_DCCP) == (269), "SOL_DCCP != 269"); @@ -180,6 +437,16 @@ #else # define SOL_DCCP 269 #endif +#if defined(SOL_DCCP) || (defined(HAVE_DECL_SOL_DCCP) && HAVE_DECL_SOL_DCCP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_DCCP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_DCCP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_DCCP) +#endif #if defined(SOL_NETLINK) || (defined(HAVE_DECL_SOL_NETLINK) && HAVE_DECL_SOL_NETLINK) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_NETLINK) == (270), "SOL_NETLINK != 270"); @@ -187,6 +454,16 @@ #else # define SOL_NETLINK 270 #endif +#if defined(SOL_NETLINK) || (defined(HAVE_DECL_SOL_NETLINK) && HAVE_DECL_SOL_NETLINK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_NETLINK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_NETLINK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_NETLINK) +#endif #if defined(SOL_TIPC) || (defined(HAVE_DECL_SOL_TIPC) && HAVE_DECL_SOL_TIPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_TIPC) == (271), "SOL_TIPC != 271"); @@ -194,6 +471,16 @@ #else # define SOL_TIPC 271 #endif +#if defined(SOL_TIPC) || (defined(HAVE_DECL_SOL_TIPC) && HAVE_DECL_SOL_TIPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_TIPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_TIPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_TIPC) +#endif #if defined(SOL_RXRPC) || (defined(HAVE_DECL_SOL_RXRPC) && HAVE_DECL_SOL_RXRPC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_RXRPC) == (272), "SOL_RXRPC != 272"); @@ -201,6 +488,16 @@ #else # define SOL_RXRPC 272 #endif +#if defined(SOL_RXRPC) || (defined(HAVE_DECL_SOL_RXRPC) && HAVE_DECL_SOL_RXRPC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_RXRPC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_RXRPC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_RXRPC) +#endif #if defined(SOL_PPPOL2TP) || (defined(HAVE_DECL_SOL_PPPOL2TP) && HAVE_DECL_SOL_PPPOL2TP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_PPPOL2TP) == (273), "SOL_PPPOL2TP != 273"); @@ -208,6 +505,16 @@ #else # define SOL_PPPOL2TP 273 #endif +#if defined(SOL_PPPOL2TP) || (defined(HAVE_DECL_SOL_PPPOL2TP) && HAVE_DECL_SOL_PPPOL2TP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_PPPOL2TP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_PPPOL2TP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_PPPOL2TP) +#endif #if defined(SOL_BLUETOOTH) || (defined(HAVE_DECL_SOL_BLUETOOTH) && HAVE_DECL_SOL_BLUETOOTH) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_BLUETOOTH) == (274), "SOL_BLUETOOTH != 274"); @@ -215,6 +522,16 @@ #else # define SOL_BLUETOOTH 274 #endif +#if defined(SOL_BLUETOOTH) || (defined(HAVE_DECL_SOL_BLUETOOTH) && HAVE_DECL_SOL_BLUETOOTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_BLUETOOTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_BLUETOOTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_BLUETOOTH) +#endif #if defined(SOL_PNPIPE) || (defined(HAVE_DECL_SOL_PNPIPE) && HAVE_DECL_SOL_PNPIPE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_PNPIPE) == (275), "SOL_PNPIPE != 275"); @@ -222,6 +539,16 @@ #else # define SOL_PNPIPE 275 #endif +#if defined(SOL_PNPIPE) || (defined(HAVE_DECL_SOL_PNPIPE) && HAVE_DECL_SOL_PNPIPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_PNPIPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_PNPIPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_PNPIPE) +#endif #if defined(SOL_RDS) || (defined(HAVE_DECL_SOL_RDS) && HAVE_DECL_SOL_RDS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_RDS) == (276), "SOL_RDS != 276"); @@ -229,6 +556,16 @@ #else # define SOL_RDS 276 #endif +#if defined(SOL_RDS) || (defined(HAVE_DECL_SOL_RDS) && HAVE_DECL_SOL_RDS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_RDS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_RDS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_RDS) +#endif #if defined(SOL_IUCV) || (defined(HAVE_DECL_SOL_IUCV) && HAVE_DECL_SOL_IUCV) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_IUCV) == (277), "SOL_IUCV != 277"); @@ -236,6 +573,16 @@ #else # define SOL_IUCV 277 #endif +#if defined(SOL_IUCV) || (defined(HAVE_DECL_SOL_IUCV) && HAVE_DECL_SOL_IUCV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_IUCV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_IUCV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_IUCV) +#endif #if defined(SOL_CAIF) || (defined(HAVE_DECL_SOL_CAIF) && HAVE_DECL_SOL_CAIF) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_CAIF) == (278), "SOL_CAIF != 278"); @@ -243,6 +590,16 @@ #else # define SOL_CAIF 278 #endif +#if defined(SOL_CAIF) || (defined(HAVE_DECL_SOL_CAIF) && HAVE_DECL_SOL_CAIF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_CAIF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_CAIF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_CAIF) +#endif #if defined(SOL_ALG) || (defined(HAVE_DECL_SOL_ALG) && HAVE_DECL_SOL_ALG) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_ALG) == (279), "SOL_ALG != 279"); @@ -250,6 +607,16 @@ #else # define SOL_ALG 279 #endif +#if defined(SOL_ALG) || (defined(HAVE_DECL_SOL_ALG) && HAVE_DECL_SOL_ALG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_ALG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_ALG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_ALG) +#endif #if defined(SOL_NFC) || (defined(HAVE_DECL_SOL_NFC) && HAVE_DECL_SOL_NFC) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_NFC) == (280), "SOL_NFC != 280"); @@ -257,6 +624,16 @@ #else # define SOL_NFC 280 #endif +#if defined(SOL_NFC) || (defined(HAVE_DECL_SOL_NFC) && HAVE_DECL_SOL_NFC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_NFC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_NFC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_NFC) +#endif #if defined(SOL_KCM) || (defined(HAVE_DECL_SOL_KCM) && HAVE_DECL_SOL_KCM) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_KCM) == (281), "SOL_KCM != 281"); @@ -264,6 +641,16 @@ #else # define SOL_KCM 281 #endif +#if defined(SOL_KCM) || (defined(HAVE_DECL_SOL_KCM) && HAVE_DECL_SOL_KCM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_KCM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_KCM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_KCM) +#endif #if defined(SOL_TLS) || (defined(HAVE_DECL_SOL_TLS) && HAVE_DECL_SOL_TLS) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_TLS) == (282), "SOL_TLS != 282"); @@ -271,6 +658,16 @@ #else # define SOL_TLS 282 #endif +#if defined(SOL_TLS) || (defined(HAVE_DECL_SOL_TLS) && HAVE_DECL_SOL_TLS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_TLS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_TLS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_TLS) +#endif #if defined(SOL_XDP) || (defined(HAVE_DECL_SOL_XDP) && HAVE_DECL_SOL_XDP) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SOL_XDP) == (283), "SOL_XDP != 283"); @@ -278,6 +675,16 @@ #else # define SOL_XDP 283 #endif +#if defined(SOL_XDP) || (defined(HAVE_DECL_SOL_XDP) && HAVE_DECL_SOL_XDP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_XDP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_XDP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_XDP) +#endif #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ #if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE @@ -286,7 +693,18 @@ #else # define SOL_SOCKET 0xffff #endif +#if defined(SOL_SOCKET) || (defined(HAVE_DECL_SOL_SOCKET) && HAVE_DECL_SOL_SOCKET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (SOL_SOCKET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: SOL_SOCKET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (SOL_SOCKET) +#endif #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -308,115 +726,118 @@ XLAT(SOL_UDP), #define XLAT_VAL_3 ((unsigned) (SOL_UDP)) #define XLAT_STR_3 STRINGIFY(SOL_UDP) + XLAT(AF_VSOCK), + #define XLAT_VAL_4 ((unsigned) (AF_VSOCK)) + #define XLAT_STR_4 STRINGIFY(AF_VSOCK) XLAT(SOL_IPV6), - #define XLAT_VAL_4 ((unsigned) (SOL_IPV6)) - #define XLAT_STR_4 STRINGIFY(SOL_IPV6) + #define XLAT_VAL_5 ((unsigned) (SOL_IPV6)) + #define XLAT_STR_5 STRINGIFY(SOL_IPV6) XLAT(SOL_ICMPV6), - #define XLAT_VAL_5 ((unsigned) (SOL_ICMPV6)) - #define XLAT_STR_5 STRINGIFY(SOL_ICMPV6) + #define XLAT_VAL_6 ((unsigned) (SOL_ICMPV6)) + #define XLAT_STR_6 STRINGIFY(SOL_ICMPV6) XLAT(SOL_CAN_BASE), - #define XLAT_VAL_6 ((unsigned) (SOL_CAN_BASE)) - #define XLAT_STR_6 STRINGIFY(SOL_CAN_BASE) + #define XLAT_VAL_7 ((unsigned) (SOL_CAN_BASE)) + #define XLAT_STR_7 STRINGIFY(SOL_CAN_BASE) XLAT(SOL_CAN_RAW), - #define XLAT_VAL_7 ((unsigned) (SOL_CAN_RAW)) - #define XLAT_STR_7 STRINGIFY(SOL_CAN_RAW) + #define XLAT_VAL_8 ((unsigned) (SOL_CAN_RAW)) + #define XLAT_STR_8 STRINGIFY(SOL_CAN_RAW) XLAT(SOL_SCTP), - #define XLAT_VAL_8 ((unsigned) (SOL_SCTP)) - #define XLAT_STR_8 STRINGIFY(SOL_SCTP) + #define XLAT_VAL_9 ((unsigned) (SOL_SCTP)) + #define XLAT_STR_9 STRINGIFY(SOL_SCTP) XLAT(SOL_UDPLITE), - #define XLAT_VAL_9 ((unsigned) (SOL_UDPLITE)) - #define XLAT_STR_9 STRINGIFY(SOL_UDPLITE) + #define XLAT_VAL_10 ((unsigned) (SOL_UDPLITE)) + #define XLAT_STR_10 STRINGIFY(SOL_UDPLITE) XLAT(SOL_RAW), - #define XLAT_VAL_10 ((unsigned) (SOL_RAW)) - #define XLAT_STR_10 STRINGIFY(SOL_RAW) + #define XLAT_VAL_11 ((unsigned) (SOL_RAW)) + #define XLAT_STR_11 STRINGIFY(SOL_RAW) XLAT(SOL_IPX), - #define XLAT_VAL_11 ((unsigned) (SOL_IPX)) - #define XLAT_STR_11 STRINGIFY(SOL_IPX) + #define XLAT_VAL_12 ((unsigned) (SOL_IPX)) + #define XLAT_STR_12 STRINGIFY(SOL_IPX) XLAT(SOL_AX25), - #define XLAT_VAL_12 ((unsigned) (SOL_AX25)) - #define XLAT_STR_12 STRINGIFY(SOL_AX25) + #define XLAT_VAL_13 ((unsigned) (SOL_AX25)) + #define XLAT_STR_13 STRINGIFY(SOL_AX25) XLAT(SOL_ATALK), - #define XLAT_VAL_13 ((unsigned) (SOL_ATALK)) - #define XLAT_STR_13 STRINGIFY(SOL_ATALK) + #define XLAT_VAL_14 ((unsigned) (SOL_ATALK)) + #define XLAT_STR_14 STRINGIFY(SOL_ATALK) XLAT(SOL_NETROM), - #define XLAT_VAL_14 ((unsigned) (SOL_NETROM)) - #define XLAT_STR_14 STRINGIFY(SOL_NETROM) + #define XLAT_VAL_15 ((unsigned) (SOL_NETROM)) + #define XLAT_STR_15 STRINGIFY(SOL_NETROM) XLAT(SOL_ROSE), - #define XLAT_VAL_15 ((unsigned) (SOL_ROSE)) - #define XLAT_STR_15 STRINGIFY(SOL_ROSE) + #define XLAT_VAL_16 ((unsigned) (SOL_ROSE)) + #define XLAT_STR_16 STRINGIFY(SOL_ROSE) XLAT(SOL_DECNET), - #define XLAT_VAL_16 ((unsigned) (SOL_DECNET)) - #define XLAT_STR_16 STRINGIFY(SOL_DECNET) + #define XLAT_VAL_17 ((unsigned) (SOL_DECNET)) + #define XLAT_STR_17 STRINGIFY(SOL_DECNET) XLAT(SOL_X25), - #define XLAT_VAL_17 ((unsigned) (SOL_X25)) - #define XLAT_STR_17 STRINGIFY(SOL_X25) + #define XLAT_VAL_18 ((unsigned) (SOL_X25)) + #define XLAT_STR_18 STRINGIFY(SOL_X25) XLAT(SOL_PACKET), - #define XLAT_VAL_18 ((unsigned) (SOL_PACKET)) - #define XLAT_STR_18 STRINGIFY(SOL_PACKET) + #define XLAT_VAL_19 ((unsigned) (SOL_PACKET)) + #define XLAT_STR_19 STRINGIFY(SOL_PACKET) XLAT(SOL_ATM), - #define XLAT_VAL_19 ((unsigned) (SOL_ATM)) - #define XLAT_STR_19 STRINGIFY(SOL_ATM) + #define XLAT_VAL_20 ((unsigned) (SOL_ATM)) + #define XLAT_STR_20 STRINGIFY(SOL_ATM) XLAT(SOL_AAL), - #define XLAT_VAL_20 ((unsigned) (SOL_AAL)) - #define XLAT_STR_20 STRINGIFY(SOL_AAL) + #define XLAT_VAL_21 ((unsigned) (SOL_AAL)) + #define XLAT_STR_21 STRINGIFY(SOL_AAL) XLAT(SOL_IRDA), - #define XLAT_VAL_21 ((unsigned) (SOL_IRDA)) - #define XLAT_STR_21 STRINGIFY(SOL_IRDA) + #define XLAT_VAL_22 ((unsigned) (SOL_IRDA)) + #define XLAT_STR_22 STRINGIFY(SOL_IRDA) XLAT(SOL_NETBEUI), - #define XLAT_VAL_22 ((unsigned) (SOL_NETBEUI)) - #define XLAT_STR_22 STRINGIFY(SOL_NETBEUI) + #define XLAT_VAL_23 ((unsigned) (SOL_NETBEUI)) + #define XLAT_STR_23 STRINGIFY(SOL_NETBEUI) XLAT(SOL_LLC), - #define XLAT_VAL_23 ((unsigned) (SOL_LLC)) - #define XLAT_STR_23 STRINGIFY(SOL_LLC) + #define XLAT_VAL_24 ((unsigned) (SOL_LLC)) + #define XLAT_STR_24 STRINGIFY(SOL_LLC) XLAT(SOL_DCCP), - #define XLAT_VAL_24 ((unsigned) (SOL_DCCP)) - #define XLAT_STR_24 STRINGIFY(SOL_DCCP) + #define XLAT_VAL_25 ((unsigned) (SOL_DCCP)) + #define XLAT_STR_25 STRINGIFY(SOL_DCCP) XLAT(SOL_NETLINK), - #define XLAT_VAL_25 ((unsigned) (SOL_NETLINK)) - #define XLAT_STR_25 STRINGIFY(SOL_NETLINK) + #define XLAT_VAL_26 ((unsigned) (SOL_NETLINK)) + #define XLAT_STR_26 STRINGIFY(SOL_NETLINK) XLAT(SOL_TIPC), - #define XLAT_VAL_26 ((unsigned) (SOL_TIPC)) - #define XLAT_STR_26 STRINGIFY(SOL_TIPC) + #define XLAT_VAL_27 ((unsigned) (SOL_TIPC)) + #define XLAT_STR_27 STRINGIFY(SOL_TIPC) XLAT(SOL_RXRPC), - #define XLAT_VAL_27 ((unsigned) (SOL_RXRPC)) - #define XLAT_STR_27 STRINGIFY(SOL_RXRPC) + #define XLAT_VAL_28 ((unsigned) (SOL_RXRPC)) + #define XLAT_STR_28 STRINGIFY(SOL_RXRPC) XLAT(SOL_PPPOL2TP), - #define XLAT_VAL_28 ((unsigned) (SOL_PPPOL2TP)) - #define XLAT_STR_28 STRINGIFY(SOL_PPPOL2TP) + #define XLAT_VAL_29 ((unsigned) (SOL_PPPOL2TP)) + #define XLAT_STR_29 STRINGIFY(SOL_PPPOL2TP) XLAT(SOL_BLUETOOTH), - #define XLAT_VAL_29 ((unsigned) (SOL_BLUETOOTH)) - #define XLAT_STR_29 STRINGIFY(SOL_BLUETOOTH) + #define XLAT_VAL_30 ((unsigned) (SOL_BLUETOOTH)) + #define XLAT_STR_30 STRINGIFY(SOL_BLUETOOTH) XLAT(SOL_PNPIPE), - #define XLAT_VAL_30 ((unsigned) (SOL_PNPIPE)) - #define XLAT_STR_30 STRINGIFY(SOL_PNPIPE) + #define XLAT_VAL_31 ((unsigned) (SOL_PNPIPE)) + #define XLAT_STR_31 STRINGIFY(SOL_PNPIPE) XLAT(SOL_RDS), - #define XLAT_VAL_31 ((unsigned) (SOL_RDS)) - #define XLAT_STR_31 STRINGIFY(SOL_RDS) + #define XLAT_VAL_32 ((unsigned) (SOL_RDS)) + #define XLAT_STR_32 STRINGIFY(SOL_RDS) XLAT(SOL_IUCV), - #define XLAT_VAL_32 ((unsigned) (SOL_IUCV)) - #define XLAT_STR_32 STRINGIFY(SOL_IUCV) + #define XLAT_VAL_33 ((unsigned) (SOL_IUCV)) + #define XLAT_STR_33 STRINGIFY(SOL_IUCV) XLAT(SOL_CAIF), - #define XLAT_VAL_33 ((unsigned) (SOL_CAIF)) - #define XLAT_STR_33 STRINGIFY(SOL_CAIF) + #define XLAT_VAL_34 ((unsigned) (SOL_CAIF)) + #define XLAT_STR_34 STRINGIFY(SOL_CAIF) XLAT(SOL_ALG), - #define XLAT_VAL_34 ((unsigned) (SOL_ALG)) - #define XLAT_STR_34 STRINGIFY(SOL_ALG) + #define XLAT_VAL_35 ((unsigned) (SOL_ALG)) + #define XLAT_STR_35 STRINGIFY(SOL_ALG) XLAT(SOL_NFC), - #define XLAT_VAL_35 ((unsigned) (SOL_NFC)) - #define XLAT_STR_35 STRINGIFY(SOL_NFC) + #define XLAT_VAL_36 ((unsigned) (SOL_NFC)) + #define XLAT_STR_36 STRINGIFY(SOL_NFC) XLAT(SOL_KCM), - #define XLAT_VAL_36 ((unsigned) (SOL_KCM)) - #define XLAT_STR_36 STRINGIFY(SOL_KCM) + #define XLAT_VAL_37 ((unsigned) (SOL_KCM)) + #define XLAT_STR_37 STRINGIFY(SOL_KCM) XLAT(SOL_TLS), - #define XLAT_VAL_37 ((unsigned) (SOL_TLS)) - #define XLAT_STR_37 STRINGIFY(SOL_TLS) + #define XLAT_VAL_38 ((unsigned) (SOL_TLS)) + #define XLAT_STR_38 STRINGIFY(SOL_TLS) XLAT(SOL_XDP), - #define XLAT_VAL_38 ((unsigned) (SOL_XDP)) - #define XLAT_STR_38 STRINGIFY(SOL_XDP) + #define XLAT_VAL_39 ((unsigned) (SOL_XDP)) + #define XLAT_STR_39 STRINGIFY(SOL_XDP) #if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__ XLAT(SOL_SOCKET), - #define XLAT_VAL_39 ((unsigned) (SOL_SOCKET)) - #define XLAT_STR_39 STRINGIFY(SOL_SOCKET) + #define XLAT_VAL_40 ((unsigned) (SOL_SOCKET)) + #define XLAT_STR_40 STRINGIFY(SOL_SOCKET) #endif }; const struct xlat socketlayers1 = { { @@ -544,6 +965,9 @@ # ifdef XLAT_VAL_39 | XLAT_VAL_39 # endif +# ifdef XLAT_VAL_40 + | XLAT_VAL_40 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -666,6 +1090,9 @@ # ifdef XLAT_STR_39 + sizeof(XLAT_STR_39) # endif +# ifdef XLAT_STR_40 + + sizeof(XLAT_STR_40) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -750,6 +1177,8 @@ # undef XLAT_VAL_38 # undef XLAT_STR_39 # undef XLAT_VAL_39 +# undef XLAT_STR_40 +# undef XLAT_VAL_40 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/socketlayers.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/socketlayers.in
Changed
@@ -5,6 +5,7 @@ #endif SOL_TCP 6 SOL_UDP 17 +AF_VSOCK 40 SOL_IPV6 41 SOL_ICMPV6 58 SOL_CAN_BASE 100
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sockopt_txrehash_vals.h
Added
@@ -0,0 +1,87 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/sockopt_txrehash_vals.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(SOCK_TXREHASH_DISABLED) || (defined(HAVE_DECL_SOCK_TXREHASH_DISABLED) && HAVE_DECL_SOCK_TXREHASH_DISABLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SOCK_TXREHASH_DISABLED) == (0), "SOCK_TXREHASH_DISABLED != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SOCK_TXREHASH_DISABLED 0 +#endif +#if defined(SOCK_TXREHASH_ENABLED) || (defined(HAVE_DECL_SOCK_TXREHASH_ENABLED) && HAVE_DECL_SOCK_TXREHASH_ENABLED) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SOCK_TXREHASH_ENABLED) == (1), "SOCK_TXREHASH_ENABLED != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SOCK_TXREHASH_ENABLED 1 +#endif +#if defined(SOCK_TXREHASH_DEFAULT) || (defined(HAVE_DECL_SOCK_TXREHASH_DEFAULT) && HAVE_DECL_SOCK_TXREHASH_DEFAULT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((SOCK_TXREHASH_DEFAULT) == (255), "SOCK_TXREHASH_DEFAULT != 255"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define SOCK_TXREHASH_DEFAULT 255 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat sockopt_txrehash_vals in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data sockopt_txrehash_vals_xdata = { + XLAT(SOCK_TXREHASH_DISABLED), + #define XLAT_VAL_0 ((unsigned) (SOCK_TXREHASH_DISABLED)) + #define XLAT_STR_0 STRINGIFY(SOCK_TXREHASH_DISABLED) + XLAT(SOCK_TXREHASH_ENABLED), + #define XLAT_VAL_1 ((unsigned) (SOCK_TXREHASH_ENABLED)) + #define XLAT_STR_1 STRINGIFY(SOCK_TXREHASH_ENABLED) + XLAT(SOCK_TXREHASH_DEFAULT), + #define XLAT_VAL_2 ((unsigned) (SOCK_TXREHASH_DEFAULT)) + #define XLAT_STR_2 STRINGIFY(SOCK_TXREHASH_DEFAULT) +}; +static +const struct xlat sockopt_txrehash_vals1 = { { + .data = sockopt_txrehash_vals_xdata, + .size = ARRAY_SIZE(sockopt_txrehash_vals_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/sockopt_txrehash_vals.in
Added
@@ -0,0 +1,3 @@ +SOCK_TXREHASH_DISABLED 0 +SOCK_TXREHASH_ENABLED 1 +SOCK_TXREHASH_DEFAULT 255
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/socktypes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/socktypes.h
Changed
@@ -69,6 +69,7 @@ #else # define SOCK_PACKET 10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sparc_kern_features.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sparc_kern_features.h
Changed
@@ -10,6 +10,7 @@ #else # define KERN_FEATURE_MIXED_MODE_STACK 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/splice_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/splice_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sram_alloc_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sram_alloc_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/st_check_enums.m4 -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/st_check_enums.m4
Changed
@@ -1,15 +1,9 @@ AC_DEFUN(st_CHECK_ENUMS, + st_CHECK_ENUMS_ieee802154_addr_types st_CHECK_ENUMS_loop_flags_options + st_CHECK_ENUMS_nl_xfrm_types + st_CHECK_ENUMS_ptp_pin_funcs + st_CHECK_ENUMS_rtnl_neigh_fdb_ext_attrs st_CHECK_ENUMS_rtnl_tc_action_attrs - st_CHECK_ENUMS_sysctl_kern - st_CHECK_ENUMS_sysctl_net - st_CHECK_ENUMS_sysctl_net_core - st_CHECK_ENUMS_sysctl_net_ipv4 - st_CHECK_ENUMS_sysctl_net_ipv4_conf - st_CHECK_ENUMS_sysctl_net_ipv4_route - st_CHECK_ENUMS_sysctl_net_ipv6 - st_CHECK_ENUMS_sysctl_net_ipv6_route - st_CHECK_ENUMS_sysctl_root - st_CHECK_ENUMS_sysctl_vm st_CHECK_ENUMS_waitid_types )
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/statfs_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/statfs_flags.h
Changed
@@ -80,6 +80,7 @@ #else # define ST_NOSYMFOLLOW 0x2000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/statx_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/statx_attrs.h
Changed
@@ -70,6 +70,7 @@ #else # define STATX_ATTR_DAX 0x00200000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/statx_masks.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/statx_masks.h
Changed
@@ -108,6 +108,14 @@ #else # define STATX_MNT_ID 0x00001000U #endif +#if defined(STATX_DIOALIGN) || (defined(HAVE_DECL_STATX_DIOALIGN) && HAVE_DECL_STATX_DIOALIGN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((STATX_DIOALIGN) == (0x00002000U), "STATX_DIOALIGN != 0x00002000U"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define STATX_DIOALIGN 0x00002000U +#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -165,6 +173,9 @@ XLAT(STATX_MNT_ID), #define XLAT_VAL_14 ((unsigned) (STATX_MNT_ID)) #define XLAT_STR_14 STRINGIFY(STATX_MNT_ID) + XLAT(STATX_DIOALIGN), + #define XLAT_VAL_15 ((unsigned) (STATX_DIOALIGN)) + #define XLAT_STR_15 STRINGIFY(STATX_DIOALIGN) }; static const struct xlat statx_masks1 = { { @@ -217,6 +228,9 @@ # ifdef XLAT_VAL_14 | XLAT_VAL_14 # endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -264,6 +278,9 @@ # ifdef XLAT_STR_14 + sizeof(XLAT_STR_14) # endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -298,6 +315,8 @@ # undef XLAT_VAL_13 # undef XLAT_STR_14 # undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/statx_masks.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/statx_masks.in
Changed
@@ -14,3 +14,4 @@ STATX_BLOCKS 0x00000400U STATX_BTIME 0x00000800U STATX_MNT_ID 0x00001000U +STATX_DIOALIGN 0x00002000U
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/swap_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/swap_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define SWAP_FLAG_DISCARD_PAGES 0x40000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sync_file_range_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sync_file_range_flags.h
Changed
@@ -3,27 +3,16 @@ #include "gcc_compat.h" #include "static_assert.h" -#if defined(SYNC_FILE_RANGE_WAIT_BEFORE) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WAIT_BEFORE) && HAVE_DECL_SYNC_FILE_RANGE_WAIT_BEFORE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYNC_FILE_RANGE_WAIT_BEFORE) == (1), "SYNC_FILE_RANGE_WAIT_BEFORE != 1"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define SYNC_FILE_RANGE_WAIT_BEFORE 1 -#endif -#if defined(SYNC_FILE_RANGE_WRITE) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WRITE) && HAVE_DECL_SYNC_FILE_RANGE_WRITE) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYNC_FILE_RANGE_WRITE) == (2), "SYNC_FILE_RANGE_WRITE != 2"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define SYNC_FILE_RANGE_WRITE 2 -#endif -#if defined(SYNC_FILE_RANGE_WAIT_AFTER) || (defined(HAVE_DECL_SYNC_FILE_RANGE_WAIT_AFTER) && HAVE_DECL_SYNC_FILE_RANGE_WAIT_AFTER) DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE static_assert((SYNC_FILE_RANGE_WAIT_AFTER) == (4), "SYNC_FILE_RANGE_WAIT_AFTER != 4"); DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE -#else -# define SYNC_FILE_RANGE_WAIT_AFTER 4 -#endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sync_file_range_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sync_file_range_flags.in
Changed
@@ -1,3 +1,4 @@ +#unconditional SYNC_FILE_RANGE_WAIT_BEFORE 1 SYNC_FILE_RANGE_WRITE 2 SYNC_FILE_RANGE_WAIT_AFTER 4
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/syslog_action_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/syslog_action_type.h
Changed
@@ -80,6 +80,7 @@ #else # define SYSLOG_ACTION_SIZE_BUFFER 10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/syslog_console_levels.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/syslog_console_levels.h
Changed
@@ -66,6 +66,7 @@ #else # define LOGLEVEL_DEBUG 7 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/sysmips_operations.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/sysmips_operations.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tcflsh_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tcflsh_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tcp_state_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tcp_state_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tcp_states.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tcp_states.h
Changed
@@ -87,6 +87,7 @@ #else # define TCP_NEW_SYN_RECV 12 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tcxonc_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tcxonc_options.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_gen_caps.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_gen_caps.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_impl_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_impl_ids.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_login_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_login_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_max_arg_size.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_max_arg_size.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_optee_caps.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_optee_caps.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_origins.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_origins.h
Changed
@@ -31,6 +31,7 @@ #else # define TEEC_ORIGIN_TRUSTED_APP 0x00000004 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_param_attr_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_param_attr_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_shm_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_shm_flags.h
Changed
@@ -52,6 +52,7 @@ #else # define TEE_IOCTL_SHM_KERNEL_MAPPED 0x40 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -63,13 +64,13 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data tee_ioctl_shm_flags_xdata = { + XLAT(TEE_IOCTL_SHM_MAPPED), #define XLAT_VAL_0 ((unsigned) (TEE_IOCTL_SHM_MAPPED)) #define XLAT_STR_0 STRINGIFY(TEE_IOCTL_SHM_MAPPED) XLAT(TEE_IOCTL_SHM_DMA_BUF), #define XLAT_VAL_1 ((unsigned) (TEE_IOCTL_SHM_DMA_BUF)) #define XLAT_STR_1 STRINGIFY(TEE_IOCTL_SHM_DMA_BUF) - XLAT(TEE_IOCTL_SHM_EXT_DMA_BUF), #define XLAT_VAL_2 ((unsigned) (TEE_IOCTL_SHM_EXT_DMA_BUF)) #define XLAT_STR_2 STRINGIFY(TEE_IOCTL_SHM_EXT_DMA_BUF)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tee_ioctl_shm_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tee_ioctl_shm_flags.in
Changed
@@ -1,6 +1,6 @@ +/* These ones aren't in uapi */ TEE_IOCTL_SHM_MAPPED 0x1 TEE_IOCTL_SHM_DMA_BUF 0x2 -/* These ones aren't in uapi */ TEE_IOCTL_SHM_EXT_DMA_BUF 0x4 TEE_IOCTL_SHM_REGISTER 0x8 TEE_IOCTL_SHM_USER_MAPPED 0x10
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_cflags.h
Added
@@ -0,0 +1,150 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_cflags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_cflags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_cflags_xdata = { +#if defined(CSTOPB) || (defined(HAVE_DECL_CSTOPB) && HAVE_DECL_CSTOPB) + XLAT(CSTOPB), + #define XLAT_VAL_0 ((unsigned) (CSTOPB)) + #define XLAT_STR_0 STRINGIFY(CSTOPB) +#endif +#if defined(CREAD) || (defined(HAVE_DECL_CREAD) && HAVE_DECL_CREAD) + XLAT(CREAD), + #define XLAT_VAL_1 ((unsigned) (CREAD)) + #define XLAT_STR_1 STRINGIFY(CREAD) +#endif +#if defined(PARENB) || (defined(HAVE_DECL_PARENB) && HAVE_DECL_PARENB) + XLAT(PARENB), + #define XLAT_VAL_2 ((unsigned) (PARENB)) + #define XLAT_STR_2 STRINGIFY(PARENB) +#endif +#if defined(PARODD) || (defined(HAVE_DECL_PARODD) && HAVE_DECL_PARODD) + XLAT(PARODD), + #define XLAT_VAL_3 ((unsigned) (PARODD)) + #define XLAT_STR_3 STRINGIFY(PARODD) +#endif +#if defined(HUPCL) || (defined(HAVE_DECL_HUPCL) && HAVE_DECL_HUPCL) + XLAT(HUPCL), + #define XLAT_VAL_4 ((unsigned) (HUPCL)) + #define XLAT_STR_4 STRINGIFY(HUPCL) +#endif +#if defined(CLOCAL) || (defined(HAVE_DECL_CLOCAL) && HAVE_DECL_CLOCAL) + XLAT(CLOCAL), + #define XLAT_VAL_5 ((unsigned) (CLOCAL)) + #define XLAT_STR_5 STRINGIFY(CLOCAL) +#endif +#if defined(CTVB) || (defined(HAVE_DECL_CTVB) && HAVE_DECL_CTVB) + XLAT(CTVB), + #define XLAT_VAL_6 ((unsigned) (CTVB)) + #define XLAT_STR_6 STRINGIFY(CTVB) +#endif +#if defined(CMSPAR) || (defined(HAVE_DECL_CMSPAR) && HAVE_DECL_CMSPAR) + XLAT(CMSPAR), + #define XLAT_VAL_7 ((unsigned) (CMSPAR)) + #define XLAT_STR_7 STRINGIFY(CMSPAR) +#endif +#if defined(CRTSCTS) || (defined(HAVE_DECL_CRTSCTS) && HAVE_DECL_CRTSCTS) + XLAT(CRTSCTS), + #define XLAT_VAL_8 ((unsigned) (CRTSCTS)) + #define XLAT_STR_8 STRINGIFY(CRTSCTS) +#endif +}; +static +const struct xlat term_cflags1 = { { + .data = term_cflags_xdata, + .size = ARRAY_SIZE(term_cflags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_cflags.in
Added
@@ -0,0 +1,9 @@ +CSTOPB +CREAD +PARENB +PARODD +HUPCL +CLOCAL +CTVB /* VisioBraille Terminal flow control */ +CMSPAR /* mark or space (stick) parity */ +CRTSCTS /* flow control */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_cflags_csize.h
Added
@@ -0,0 +1,85 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_cflags_csize.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_cflags_csize in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_cflags_csize_xdata = { +#if defined(CS5) || (defined(HAVE_DECL_CS5) && HAVE_DECL_CS5) + XLAT(CS5), + #define XLAT_VAL_0 ((unsigned) (CS5)) + #define XLAT_STR_0 STRINGIFY(CS5) +#endif +#if defined(CS6) || (defined(HAVE_DECL_CS6) && HAVE_DECL_CS6) + XLAT(CS6), + #define XLAT_VAL_1 ((unsigned) (CS6)) + #define XLAT_STR_1 STRINGIFY(CS6) +#endif +#if defined(CS7) || (defined(HAVE_DECL_CS7) && HAVE_DECL_CS7) + XLAT(CS7), + #define XLAT_VAL_2 ((unsigned) (CS7)) + #define XLAT_STR_2 STRINGIFY(CS7) +#endif +#if defined(CS8) || (defined(HAVE_DECL_CS8) && HAVE_DECL_CS8) + XLAT(CS8), + #define XLAT_VAL_3 ((unsigned) (CS8)) + #define XLAT_STR_3 STRINGIFY(CS8) +#endif +}; +static +const struct xlat term_cflags_csize1 = { { + .data = term_cflags_csize_xdata, + .size = ARRAY_SIZE(term_cflags_csize_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_cflags_csize.in
Added
@@ -0,0 +1,4 @@ +CS5 +CS6 +CS7 +CS8
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_iflags.h
Added
@@ -0,0 +1,228 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_iflags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_iflags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_iflags_xdata = { +#if defined(IGNBRK) || (defined(HAVE_DECL_IGNBRK) && HAVE_DECL_IGNBRK) + XLAT(IGNBRK), + #define XLAT_VAL_0 ((unsigned) (IGNBRK)) + #define XLAT_STR_0 STRINGIFY(IGNBRK) +#endif +#if defined(BRKINT) || (defined(HAVE_DECL_BRKINT) && HAVE_DECL_BRKINT) + XLAT(BRKINT), + #define XLAT_VAL_1 ((unsigned) (BRKINT)) + #define XLAT_STR_1 STRINGIFY(BRKINT) +#endif +#if defined(IGNPAR) || (defined(HAVE_DECL_IGNPAR) && HAVE_DECL_IGNPAR) + XLAT(IGNPAR), + #define XLAT_VAL_2 ((unsigned) (IGNPAR)) + #define XLAT_STR_2 STRINGIFY(IGNPAR) +#endif +#if defined(PARMRK) || (defined(HAVE_DECL_PARMRK) && HAVE_DECL_PARMRK) + XLAT(PARMRK), + #define XLAT_VAL_3 ((unsigned) (PARMRK)) + #define XLAT_STR_3 STRINGIFY(PARMRK) +#endif +#if defined(INPCK) || (defined(HAVE_DECL_INPCK) && HAVE_DECL_INPCK) + XLAT(INPCK), + #define XLAT_VAL_4 ((unsigned) (INPCK)) + #define XLAT_STR_4 STRINGIFY(INPCK) +#endif +#if defined(ISTRIP) || (defined(HAVE_DECL_ISTRIP) && HAVE_DECL_ISTRIP) + XLAT(ISTRIP), + #define XLAT_VAL_5 ((unsigned) (ISTRIP)) + #define XLAT_STR_5 STRINGIFY(ISTRIP) +#endif +#if defined(INLCR) || (defined(HAVE_DECL_INLCR) && HAVE_DECL_INLCR) + XLAT(INLCR), + #define XLAT_VAL_6 ((unsigned) (INLCR)) + #define XLAT_STR_6 STRINGIFY(INLCR) +#endif +#if defined(IGNCR) || (defined(HAVE_DECL_IGNCR) && HAVE_DECL_IGNCR) + XLAT(IGNCR), + #define XLAT_VAL_7 ((unsigned) (IGNCR)) + #define XLAT_STR_7 STRINGIFY(IGNCR) +#endif +#if defined(ICRNL) || (defined(HAVE_DECL_ICRNL) && HAVE_DECL_ICRNL) + XLAT(ICRNL), + #define XLAT_VAL_8 ((unsigned) (ICRNL)) + #define XLAT_STR_8 STRINGIFY(ICRNL) +#endif +#if defined(IUCLC) || (defined(HAVE_DECL_IUCLC) && HAVE_DECL_IUCLC) + XLAT(IUCLC), + #define XLAT_VAL_9 ((unsigned) (IUCLC)) + #define XLAT_STR_9 STRINGIFY(IUCLC) +#endif +#if defined(IXON) || (defined(HAVE_DECL_IXON) && HAVE_DECL_IXON) + XLAT(IXON), + #define XLAT_VAL_10 ((unsigned) (IXON)) + #define XLAT_STR_10 STRINGIFY(IXON) +#endif +#if defined(IXANY) || (defined(HAVE_DECL_IXANY) && HAVE_DECL_IXANY) + XLAT(IXANY), + #define XLAT_VAL_11 ((unsigned) (IXANY)) + #define XLAT_STR_11 STRINGIFY(IXANY) +#endif +#if defined(IXOFF) || (defined(HAVE_DECL_IXOFF) && HAVE_DECL_IXOFF) + XLAT(IXOFF), + #define XLAT_VAL_12 ((unsigned) (IXOFF)) + #define XLAT_STR_12 STRINGIFY(IXOFF) +#endif +#if defined(IMAXBEL) || (defined(HAVE_DECL_IMAXBEL) && HAVE_DECL_IMAXBEL) + XLAT(IMAXBEL), + #define XLAT_VAL_13 ((unsigned) (IMAXBEL)) + #define XLAT_STR_13 STRINGIFY(IMAXBEL) +#endif +#if defined(IUTF8) || (defined(HAVE_DECL_IUTF8) && HAVE_DECL_IUTF8) + XLAT(IUTF8), + #define XLAT_VAL_14 ((unsigned) (IUTF8)) + #define XLAT_STR_14 STRINGIFY(IUTF8) +#endif +}; +static +const struct xlat term_iflags1 = { { + .data = term_iflags_xdata, + .size = ARRAY_SIZE(term_iflags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_iflags.in
Added
@@ -0,0 +1,15 @@ +IGNBRK /* Ignore break condition. */ +BRKINT /* Signal interrupt on break. */ +IGNPAR /* Ignore characters with parity errors. */ +PARMRK /* Mark parity and framing errors. */ +INPCK /* Enable input parity check. */ +ISTRIP /* Strip 8th bit off characters. */ +INLCR /* Map NL to CR on input. */ +IGNCR /* Ignore CR. */ +ICRNL /* Map CR to NL on input. */ +IUCLC /* Map upper case to lower case on input. */ +IXON /* Enable start/stop output control. */ +IXANY /* Any character will restart after stop. */ +IXOFF /* Enable start/stop input control. */ +IMAXBEL /* Ring bell when input queue is full. */ +IUTF8 /* Input is UTF-8 */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_lflags.h
Added
@@ -0,0 +1,255 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_lflags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_lflags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_lflags_xdata = { +#if defined(ISIG) || (defined(HAVE_DECL_ISIG) && HAVE_DECL_ISIG) + XLAT(ISIG), + #define XLAT_VAL_0 ((unsigned) (ISIG)) + #define XLAT_STR_0 STRINGIFY(ISIG) +#endif +#if defined(ICANON) || (defined(HAVE_DECL_ICANON) && HAVE_DECL_ICANON) + XLAT(ICANON), + #define XLAT_VAL_1 ((unsigned) (ICANON)) + #define XLAT_STR_1 STRINGIFY(ICANON) +#endif +#if defined(XCASE) || (defined(HAVE_DECL_XCASE) && HAVE_DECL_XCASE) + XLAT(XCASE), + #define XLAT_VAL_2 ((unsigned) (XCASE)) + #define XLAT_STR_2 STRINGIFY(XCASE) +#endif +#if defined(ECHO) || (defined(HAVE_DECL_ECHO) && HAVE_DECL_ECHO) + XLAT(ECHO), + #define XLAT_VAL_3 ((unsigned) (ECHO)) + #define XLAT_STR_3 STRINGIFY(ECHO) +#endif +#if defined(ECHOE) || (defined(HAVE_DECL_ECHOE) && HAVE_DECL_ECHOE) + XLAT(ECHOE), + #define XLAT_VAL_4 ((unsigned) (ECHOE)) + #define XLAT_STR_4 STRINGIFY(ECHOE) +#endif +#if defined(ECHOK) || (defined(HAVE_DECL_ECHOK) && HAVE_DECL_ECHOK) + XLAT(ECHOK), + #define XLAT_VAL_5 ((unsigned) (ECHOK)) + #define XLAT_STR_5 STRINGIFY(ECHOK) +#endif +#if defined(ECHONL) || (defined(HAVE_DECL_ECHONL) && HAVE_DECL_ECHONL) + XLAT(ECHONL), + #define XLAT_VAL_6 ((unsigned) (ECHONL)) + #define XLAT_STR_6 STRINGIFY(ECHONL) +#endif +#if defined(NOFLSH) || (defined(HAVE_DECL_NOFLSH) && HAVE_DECL_NOFLSH) + XLAT(NOFLSH), + #define XLAT_VAL_7 ((unsigned) (NOFLSH)) + #define XLAT_STR_7 STRINGIFY(NOFLSH) +#endif +#if defined(IEXTEN) || (defined(HAVE_DECL_IEXTEN) && HAVE_DECL_IEXTEN) + XLAT(IEXTEN), + #define XLAT_VAL_8 ((unsigned) (IEXTEN)) + #define XLAT_STR_8 STRINGIFY(IEXTEN) +#endif +#if defined(ECHOCTL) || (defined(HAVE_DECL_ECHOCTL) && HAVE_DECL_ECHOCTL) + XLAT(ECHOCTL), + #define XLAT_VAL_9 ((unsigned) (ECHOCTL)) + #define XLAT_STR_9 STRINGIFY(ECHOCTL) +#endif +#if defined(ECHOPRT) || (defined(HAVE_DECL_ECHOPRT) && HAVE_DECL_ECHOPRT) + XLAT(ECHOPRT), + #define XLAT_VAL_10 ((unsigned) (ECHOPRT)) + #define XLAT_STR_10 STRINGIFY(ECHOPRT) +#endif +#if defined(ECHOKE) || (defined(HAVE_DECL_ECHOKE) && HAVE_DECL_ECHOKE) + XLAT(ECHOKE), + #define XLAT_VAL_11 ((unsigned) (ECHOKE)) + #define XLAT_STR_11 STRINGIFY(ECHOKE) +#endif +#if defined(FLUSHO) || (defined(HAVE_DECL_FLUSHO) && HAVE_DECL_FLUSHO) + XLAT(FLUSHO), + #define XLAT_VAL_12 ((unsigned) (FLUSHO)) + #define XLAT_STR_12 STRINGIFY(FLUSHO) +#endif +#if defined(PENDIN) || (defined(HAVE_DECL_PENDIN) && HAVE_DECL_PENDIN) + XLAT(PENDIN), + #define XLAT_VAL_13 ((unsigned) (PENDIN)) + #define XLAT_STR_13 STRINGIFY(PENDIN) +#endif +#if defined(TOSTOP) || (defined(HAVE_DECL_TOSTOP) && HAVE_DECL_TOSTOP) + XLAT(TOSTOP), + #define XLAT_VAL_14 ((unsigned) (TOSTOP)) + #define XLAT_STR_14 STRINGIFY(TOSTOP) +#endif +#if defined(EXTPROC) || (defined(HAVE_DECL_EXTPROC) && HAVE_DECL_EXTPROC) + XLAT(EXTPROC), + #define XLAT_VAL_15 ((unsigned) (EXTPROC)) + #define XLAT_STR_15 STRINGIFY(EXTPROC) +#endif + +#if defined(DEFECHO) || (defined(HAVE_DECL_DEFECHO) && HAVE_DECL_DEFECHO) + XLAT(DEFECHO), + #define XLAT_VAL_16 ((unsigned) (DEFECHO)) + #define XLAT_STR_16 STRINGIFY(DEFECHO) +#endif +}; +static +const struct xlat term_lflags1 = { { + .data = term_lflags_xdata, + .size = ARRAY_SIZE(term_lflags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_lflags.in
Added
@@ -0,0 +1,18 @@ +ISIG /* Enable signals. */ +ICANON /* Do erase and kill processing. */ +XCASE +ECHO /* Enable echo. */ +ECHOE /* Visual erase for ERASE. */ +ECHOK /* Echo NL after KILL. */ +ECHONL /* Echo NL even if ECHO is off. */ +NOFLSH /* Disable flush after interrupt. */ +IEXTEN /* Enable DISCARD and LNEXT. */ +ECHOCTL /* Echo control characters as ^X. */ +ECHOPRT /* Hardcopy visual erase. */ +ECHOKE /* Visual erase for KILL. */ +FLUSHO +PENDIN /* Retype pending input (state). */ +TOSTOP /* Send SIGTTOU for background output. */ +EXTPROC /* External processing on pty */ + +DEFECHO /* SUNOS thing, what is it? */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_line_discs.h
Added
@@ -0,0 +1,537 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_line_discs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(N_TTY) || (defined(HAVE_DECL_N_TTY) && HAVE_DECL_N_TTY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_TTY) == (0), "N_TTY != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_TTY 0 +#endif +#if defined(N_SLIP) || (defined(HAVE_DECL_N_SLIP) && HAVE_DECL_N_SLIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_SLIP) == (1), "N_SLIP != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_SLIP 1 +#endif +#if defined(N_MOUSE) || (defined(HAVE_DECL_N_MOUSE) && HAVE_DECL_N_MOUSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_MOUSE) == (2), "N_MOUSE != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_MOUSE 2 +#endif +#if defined(N_PPP) || (defined(HAVE_DECL_N_PPP) && HAVE_DECL_N_PPP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_PPP) == (3), "N_PPP != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_PPP 3 +#endif +#if defined(N_STRIP) || (defined(HAVE_DECL_N_STRIP) && HAVE_DECL_N_STRIP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_STRIP) == (4), "N_STRIP != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_STRIP 4 +#endif +#if defined(N_AX25) || (defined(HAVE_DECL_N_AX25) && HAVE_DECL_N_AX25) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_AX25) == (5), "N_AX25 != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_AX25 5 +#endif +#if defined(N_X25) || (defined(HAVE_DECL_N_X25) && HAVE_DECL_N_X25) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_X25) == (6), "N_X25 != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_X25 6 +#endif +#if defined(N_6PACK) || (defined(HAVE_DECL_N_6PACK) && HAVE_DECL_N_6PACK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_6PACK) == (7), "N_6PACK != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_6PACK 7 +#endif +#if defined(N_MASC) || (defined(HAVE_DECL_N_MASC) && HAVE_DECL_N_MASC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_MASC) == (8), "N_MASC != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_MASC 8 +#endif +#if defined(N_R3964) || (defined(HAVE_DECL_N_R3964) && HAVE_DECL_N_R3964) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_R3964) == (9), "N_R3964 != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_R3964 9 +#endif +#if defined(N_PROFIBUS_FDL) || (defined(HAVE_DECL_N_PROFIBUS_FDL) && HAVE_DECL_N_PROFIBUS_FDL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_PROFIBUS_FDL) == (10), "N_PROFIBUS_FDL != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_PROFIBUS_FDL 10 +#endif +#if defined(N_IRDA) || (defined(HAVE_DECL_N_IRDA) && HAVE_DECL_N_IRDA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_IRDA) == (11), "N_IRDA != 11"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_IRDA 11 +#endif +#if defined(N_SMSBLOCK) || (defined(HAVE_DECL_N_SMSBLOCK) && HAVE_DECL_N_SMSBLOCK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_SMSBLOCK) == (12), "N_SMSBLOCK != 12"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_SMSBLOCK 12 +#endif +#if defined(N_HDLC) || (defined(HAVE_DECL_N_HDLC) && HAVE_DECL_N_HDLC) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_HDLC) == (13), "N_HDLC != 13"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_HDLC 13 +#endif +#if defined(N_SYNC_PPP) || (defined(HAVE_DECL_N_SYNC_PPP) && HAVE_DECL_N_SYNC_PPP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_SYNC_PPP) == (14), "N_SYNC_PPP != 14"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_SYNC_PPP 14 +#endif +#if defined(N_HCI) || (defined(HAVE_DECL_N_HCI) && HAVE_DECL_N_HCI) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_HCI) == (15), "N_HCI != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_HCI 15 +#endif +#if defined(N_GIGASET_M101) || (defined(HAVE_DECL_N_GIGASET_M101) && HAVE_DECL_N_GIGASET_M101) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_GIGASET_M101) == (16), "N_GIGASET_M101 != 16"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_GIGASET_M101 16 +#endif +#if defined(N_SLCAN) || (defined(HAVE_DECL_N_SLCAN) && HAVE_DECL_N_SLCAN) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_SLCAN) == (17), "N_SLCAN != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_SLCAN 17 +#endif +#if defined(N_PPS) || (defined(HAVE_DECL_N_PPS) && HAVE_DECL_N_PPS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_PPS) == (18), "N_PPS != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_PPS 18 +#endif +#if defined(N_V253) || (defined(HAVE_DECL_N_V253) && HAVE_DECL_N_V253) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_V253) == (19), "N_V253 != 19"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_V253 19 +#endif +#if defined(N_CAIF) || (defined(HAVE_DECL_N_CAIF) && HAVE_DECL_N_CAIF) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_CAIF) == (20), "N_CAIF != 20"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_CAIF 20 +#endif +#if defined(N_GSM0710) || (defined(HAVE_DECL_N_GSM0710) && HAVE_DECL_N_GSM0710) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_GSM0710) == (21), "N_GSM0710 != 21"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_GSM0710 21 +#endif +#if defined(N_TI_WL) || (defined(HAVE_DECL_N_TI_WL) && HAVE_DECL_N_TI_WL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_TI_WL) == (22), "N_TI_WL != 22"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_TI_WL 22 +#endif +#if defined(N_TRACESINK) || (defined(HAVE_DECL_N_TRACESINK) && HAVE_DECL_N_TRACESINK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_TRACESINK) == (23), "N_TRACESINK != 23"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_TRACESINK 23 +#endif +#if defined(N_TRACEROUTER) || (defined(HAVE_DECL_N_TRACEROUTER) && HAVE_DECL_N_TRACEROUTER) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_TRACEROUTER) == (24), "N_TRACEROUTER != 24"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_TRACEROUTER 24 +#endif +#if defined(N_NCI) || (defined(HAVE_DECL_N_NCI) && HAVE_DECL_N_NCI) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_NCI) == (25), "N_NCI != 25"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_NCI 25 +#endif +#if defined(N_SPEAKUP) || (defined(HAVE_DECL_N_SPEAKUP) && HAVE_DECL_N_SPEAKUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_SPEAKUP) == (26), "N_SPEAKUP != 26"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_SPEAKUP 26 +#endif +#if defined(N_NULL) || (defined(HAVE_DECL_N_NULL) && HAVE_DECL_N_NULL) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((N_NULL) == (27), "N_NULL != 27"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define N_NULL 27 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_line_discs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_line_discs_xdata = { + XLAT(N_TTY), + #define XLAT_VAL_0 ((unsigned) (N_TTY)) + #define XLAT_STR_0 STRINGIFY(N_TTY) + XLAT(N_SLIP), + #define XLAT_VAL_1 ((unsigned) (N_SLIP)) + #define XLAT_STR_1 STRINGIFY(N_SLIP) + XLAT(N_MOUSE), + #define XLAT_VAL_2 ((unsigned) (N_MOUSE)) + #define XLAT_STR_2 STRINGIFY(N_MOUSE) + XLAT(N_PPP), + #define XLAT_VAL_3 ((unsigned) (N_PPP)) + #define XLAT_STR_3 STRINGIFY(N_PPP) + XLAT(N_STRIP), + #define XLAT_VAL_4 ((unsigned) (N_STRIP)) + #define XLAT_STR_4 STRINGIFY(N_STRIP) + XLAT(N_AX25), + #define XLAT_VAL_5 ((unsigned) (N_AX25)) + #define XLAT_STR_5 STRINGIFY(N_AX25) + XLAT(N_X25), + #define XLAT_VAL_6 ((unsigned) (N_X25)) + #define XLAT_STR_6 STRINGIFY(N_X25) + XLAT(N_6PACK), + #define XLAT_VAL_7 ((unsigned) (N_6PACK)) + #define XLAT_STR_7 STRINGIFY(N_6PACK) + XLAT(N_MASC), + #define XLAT_VAL_8 ((unsigned) (N_MASC)) + #define XLAT_STR_8 STRINGIFY(N_MASC) + XLAT(N_R3964), + #define XLAT_VAL_9 ((unsigned) (N_R3964)) + #define XLAT_STR_9 STRINGIFY(N_R3964) + XLAT(N_PROFIBUS_FDL), + #define XLAT_VAL_10 ((unsigned) (N_PROFIBUS_FDL)) + #define XLAT_STR_10 STRINGIFY(N_PROFIBUS_FDL) + XLAT(N_IRDA), + #define XLAT_VAL_11 ((unsigned) (N_IRDA)) + #define XLAT_STR_11 STRINGIFY(N_IRDA) + XLAT(N_SMSBLOCK), + #define XLAT_VAL_12 ((unsigned) (N_SMSBLOCK)) + #define XLAT_STR_12 STRINGIFY(N_SMSBLOCK) + XLAT(N_HDLC), + #define XLAT_VAL_13 ((unsigned) (N_HDLC)) + #define XLAT_STR_13 STRINGIFY(N_HDLC) + XLAT(N_SYNC_PPP), + #define XLAT_VAL_14 ((unsigned) (N_SYNC_PPP)) + #define XLAT_STR_14 STRINGIFY(N_SYNC_PPP) + XLAT(N_HCI), + #define XLAT_VAL_15 ((unsigned) (N_HCI)) + #define XLAT_STR_15 STRINGIFY(N_HCI) + XLAT(N_GIGASET_M101), + #define XLAT_VAL_16 ((unsigned) (N_GIGASET_M101)) + #define XLAT_STR_16 STRINGIFY(N_GIGASET_M101) + XLAT(N_SLCAN), + #define XLAT_VAL_17 ((unsigned) (N_SLCAN)) + #define XLAT_STR_17 STRINGIFY(N_SLCAN) + XLAT(N_PPS), + #define XLAT_VAL_18 ((unsigned) (N_PPS)) + #define XLAT_STR_18 STRINGIFY(N_PPS) + XLAT(N_V253), + #define XLAT_VAL_19 ((unsigned) (N_V253)) + #define XLAT_STR_19 STRINGIFY(N_V253) + XLAT(N_CAIF), + #define XLAT_VAL_20 ((unsigned) (N_CAIF)) + #define XLAT_STR_20 STRINGIFY(N_CAIF) + XLAT(N_GSM0710), + #define XLAT_VAL_21 ((unsigned) (N_GSM0710)) + #define XLAT_STR_21 STRINGIFY(N_GSM0710) + XLAT(N_TI_WL), + #define XLAT_VAL_22 ((unsigned) (N_TI_WL)) + #define XLAT_STR_22 STRINGIFY(N_TI_WL) + XLAT(N_TRACESINK), + #define XLAT_VAL_23 ((unsigned) (N_TRACESINK)) + #define XLAT_STR_23 STRINGIFY(N_TRACESINK) + XLAT(N_TRACEROUTER), + #define XLAT_VAL_24 ((unsigned) (N_TRACEROUTER)) + #define XLAT_STR_24 STRINGIFY(N_TRACEROUTER) + XLAT(N_NCI), + #define XLAT_VAL_25 ((unsigned) (N_NCI)) + #define XLAT_STR_25 STRINGIFY(N_NCI) + XLAT(N_SPEAKUP), + #define XLAT_VAL_26 ((unsigned) (N_SPEAKUP)) + #define XLAT_STR_26 STRINGIFY(N_SPEAKUP) + XLAT(N_NULL), + #define XLAT_VAL_27 ((unsigned) (N_NULL)) + #define XLAT_STR_27 STRINGIFY(N_NULL) +}; +static +const struct xlat term_line_discs1 = { { + .data = term_line_discs_xdata, + .size = ARRAY_SIZE(term_line_discs_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif +# ifdef XLAT_VAL_18 + | XLAT_VAL_18 +# endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif +# ifdef XLAT_VAL_24 + | XLAT_VAL_24 +# endif +# ifdef XLAT_VAL_25 + | XLAT_VAL_25 +# endif +# ifdef XLAT_VAL_26 + | XLAT_VAL_26 +# endif +# ifdef XLAT_VAL_27 + | XLAT_VAL_27 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif +# ifdef XLAT_STR_18 + + sizeof(XLAT_STR_18) +# endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif +# ifdef XLAT_STR_24 + + sizeof(XLAT_STR_24) +# endif +# ifdef XLAT_STR_25 + + sizeof(XLAT_STR_25) +# endif +# ifdef XLAT_STR_26 + + sizeof(XLAT_STR_26) +# endif +# ifdef XLAT_STR_27 + + sizeof(XLAT_STR_27) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# undef XLAT_STR_18 +# undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 +# undef XLAT_STR_24 +# undef XLAT_VAL_24 +# undef XLAT_STR_25 +# undef XLAT_VAL_25 +# undef XLAT_STR_26 +# undef XLAT_VAL_26 +# undef XLAT_STR_27 +# undef XLAT_VAL_27 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_line_discs.in
Added
@@ -0,0 +1,28 @@ +N_TTY 0 +N_SLIP 1 +N_MOUSE 2 +N_PPP 3 +N_STRIP 4 +N_AX25 5 +N_X25 6 /* X.25 async */ +N_6PACK 7 +N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */ +N_R3964 9 /* Reserved for Simatic R3964 module */ +N_PROFIBUS_FDL 10 /* Reserved for Profibus */ +N_IRDA 11 /* Linux IrDa - http://irda.sourceforge.net/ */ +N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */ +N_HDLC 13 /* synchronous HDLC */ +N_SYNC_PPP 14 /* synchronous PPP */ +N_HCI 15 /* Bluetooth HCI UART */ +N_GIGASET_M101 16 /* Siemens Gigaset M101 serial DECT adapter */ +N_SLCAN 17 /* Serial / USB serial CAN Adaptors */ +N_PPS 18 /* Pulse per Second */ +N_V253 19 /* Codec control over voice modem */ +N_CAIF 20 /* CAIF protocol for talking to modems */ +N_GSM0710 21 /* GSM 0710 Mux */ +N_TI_WL 22 /* for TI's WL BT, FM, GPS combo chips */ +N_TRACESINK 23 /* Trace data routing for MIPI P1149.7 */ +N_TRACEROUTER 24 /* Trace data routing for MIPI P1149.7 */ +N_NCI 25 /* NFC NCI UART */ +N_SPEAKUP 26 /* Speakup communication with synths */ +N_NULL 27 /* Null ldisc used for error handling */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags.h
Added
@@ -0,0 +1,182 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#ifdef ALPHA +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_xdata = { +#ifdef ALPHA +#if defined(XTABS) || (defined(HAVE_DECL_XTABS) && HAVE_DECL_XTABS) + XLAT(XTABS), + #define XLAT_VAL_0 ((unsigned) (XTABS)) + #define XLAT_STR_0 STRINGIFY(XTABS) +#endif +#endif + +#if defined(OPOST) || (defined(HAVE_DECL_OPOST) && HAVE_DECL_OPOST) + XLAT(OPOST), + #define XLAT_VAL_1 ((unsigned) (OPOST)) + #define XLAT_STR_1 STRINGIFY(OPOST) +#endif +#if defined(OLCUC) || (defined(HAVE_DECL_OLCUC) && HAVE_DECL_OLCUC) + XLAT(OLCUC), + #define XLAT_VAL_2 ((unsigned) (OLCUC)) + #define XLAT_STR_2 STRINGIFY(OLCUC) +#endif +#if defined(ONLCR) || (defined(HAVE_DECL_ONLCR) && HAVE_DECL_ONLCR) + XLAT(ONLCR), + #define XLAT_VAL_3 ((unsigned) (ONLCR)) + #define XLAT_STR_3 STRINGIFY(ONLCR) +#endif +#if defined(OCRNL) || (defined(HAVE_DECL_OCRNL) && HAVE_DECL_OCRNL) + XLAT(OCRNL), + #define XLAT_VAL_4 ((unsigned) (OCRNL)) + #define XLAT_STR_4 STRINGIFY(OCRNL) +#endif +#if defined(ONOCR) || (defined(HAVE_DECL_ONOCR) && HAVE_DECL_ONOCR) + XLAT(ONOCR), + #define XLAT_VAL_5 ((unsigned) (ONOCR)) + #define XLAT_STR_5 STRINGIFY(ONOCR) +#endif +#if defined(ONLRET) || (defined(HAVE_DECL_ONLRET) && HAVE_DECL_ONLRET) + XLAT(ONLRET), + #define XLAT_VAL_6 ((unsigned) (ONLRET)) + #define XLAT_STR_6 STRINGIFY(ONLRET) +#endif +#if defined(OFILL) || (defined(HAVE_DECL_OFILL) && HAVE_DECL_OFILL) + XLAT(OFILL), + #define XLAT_VAL_7 ((unsigned) (OFILL)) + #define XLAT_STR_7 STRINGIFY(OFILL) +#endif +#if defined(OFDEL) || (defined(HAVE_DECL_OFDEL) && HAVE_DECL_OFDEL) + XLAT(OFDEL), + #define XLAT_VAL_8 ((unsigned) (OFDEL)) + #define XLAT_STR_8 STRINGIFY(OFDEL) +#endif + +#if defined(PAGEOUT) || (defined(HAVE_DECL_PAGEOUT) && HAVE_DECL_PAGEOUT) + XLAT(PAGEOUT), + #define XLAT_VAL_9 ((unsigned) (PAGEOUT)) + #define XLAT_STR_9 STRINGIFY(PAGEOUT) +#endif +#if defined(WRAP) || (defined(HAVE_DECL_WRAP) && HAVE_DECL_WRAP) + XLAT(WRAP), + #define XLAT_VAL_10 ((unsigned) (WRAP)) + #define XLAT_STR_10 STRINGIFY(WRAP) +#endif +}; +static +const struct xlat term_oflags1 = { { + .data = term_oflags_xdata, + .size = ARRAY_SIZE(term_oflags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags.in
Added
@@ -0,0 +1,15 @@ +#ifdef ALPHA +XTABS /* required by POSIX to == TAB3; but not on Alpha! */ +#endif + +OPOST /* Perform output processing. */ +OLCUC /* Map lower case to upper case on output. */ +ONLCR /* Map NL to CR-NL on output. */ +OCRNL +ONOCR +ONLRET +OFILL +OFDEL + +PAGEOUT /* SUNOS specific */ +WRAP /* SUNOS specific */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_bsdly.h
Added
@@ -0,0 +1,59 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_bsdly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_bsdly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_bsdly_xdata = { +#if defined(BS1) || (defined(HAVE_DECL_BS1) && HAVE_DECL_BS1) + XLAT(BS1), + #define XLAT_VAL_0 ((unsigned) (BS1)) + #define XLAT_STR_0 STRINGIFY(BS1) +#endif +#if defined(BS0) || (defined(HAVE_DECL_BS0) && HAVE_DECL_BS0) + XLAT(BS0), + #define XLAT_VAL_1 ((unsigned) (BS0)) + #define XLAT_STR_1 STRINGIFY(BS0) +#endif +}; +static +const struct xlat term_oflags_bsdly1 = { { + .data = term_oflags_bsdly_xdata, + .size = ARRAY_SIZE(term_oflags_bsdly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_bsdly.in
Added
@@ -0,0 +1,2 @@ +BS1 +BS0
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_crdly.h
Added
@@ -0,0 +1,85 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_crdly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_crdly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_crdly_xdata = { +#if defined(CR0) || (defined(HAVE_DECL_CR0) && HAVE_DECL_CR0) + XLAT(CR0), + #define XLAT_VAL_0 ((unsigned) (CR0)) + #define XLAT_STR_0 STRINGIFY(CR0) +#endif +#if defined(CR1) || (defined(HAVE_DECL_CR1) && HAVE_DECL_CR1) + XLAT(CR1), + #define XLAT_VAL_1 ((unsigned) (CR1)) + #define XLAT_STR_1 STRINGIFY(CR1) +#endif +#if defined(CR2) || (defined(HAVE_DECL_CR2) && HAVE_DECL_CR2) + XLAT(CR2), + #define XLAT_VAL_2 ((unsigned) (CR2)) + #define XLAT_STR_2 STRINGIFY(CR2) +#endif +#if defined(CR3) || (defined(HAVE_DECL_CR3) && HAVE_DECL_CR3) + XLAT(CR3), + #define XLAT_VAL_3 ((unsigned) (CR3)) + #define XLAT_STR_3 STRINGIFY(CR3) +#endif +}; +static +const struct xlat term_oflags_crdly1 = { { + .data = term_oflags_crdly_xdata, + .size = ARRAY_SIZE(term_oflags_crdly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_crdly.in
Added
@@ -0,0 +1,4 @@ +CR0 +CR1 +CR2 +CR3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_ffdly.h
Added
@@ -0,0 +1,59 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_ffdly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_ffdly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_ffdly_xdata = { +#if defined(FF0) || (defined(HAVE_DECL_FF0) && HAVE_DECL_FF0) + XLAT(FF0), + #define XLAT_VAL_0 ((unsigned) (FF0)) + #define XLAT_STR_0 STRINGIFY(FF0) +#endif +#if defined(FF1) || (defined(HAVE_DECL_FF1) && HAVE_DECL_FF1) + XLAT(FF1), + #define XLAT_VAL_1 ((unsigned) (FF1)) + #define XLAT_STR_1 STRINGIFY(FF1) +#endif +}; +static +const struct xlat term_oflags_ffdly1 = { { + .data = term_oflags_ffdly_xdata, + .size = ARRAY_SIZE(term_oflags_ffdly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_ffdly.in
Added
@@ -0,0 +1,2 @@ +FF0 +FF1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_nldly.h
Added
@@ -0,0 +1,85 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_nldly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_nldly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_nldly_xdata = { +#if defined(NL0) || (defined(HAVE_DECL_NL0) && HAVE_DECL_NL0) + XLAT(NL0), + #define XLAT_VAL_0 ((unsigned) (NL0)) + #define XLAT_STR_0 STRINGIFY(NL0) +#endif +#if defined(NL1) || (defined(HAVE_DECL_NL1) && HAVE_DECL_NL1) + XLAT(NL1), + #define XLAT_VAL_1 ((unsigned) (NL1)) + #define XLAT_STR_1 STRINGIFY(NL1) +#endif +#if defined(NL2) || (defined(HAVE_DECL_NL2) && HAVE_DECL_NL2) + XLAT(NL2), + #define XLAT_VAL_2 ((unsigned) (NL2)) + #define XLAT_STR_2 STRINGIFY(NL2) +#endif +#if defined(NL3) || (defined(HAVE_DECL_NL3) && HAVE_DECL_NL3) + XLAT(NL3), + #define XLAT_VAL_3 ((unsigned) (NL3)) + #define XLAT_STR_3 STRINGIFY(NL3) +#endif +}; +static +const struct xlat term_oflags_nldly1 = { { + .data = term_oflags_nldly_xdata, + .size = ARRAY_SIZE(term_oflags_nldly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_nldly.in
Added
@@ -0,0 +1,4 @@ +NL0 +NL1 +NL2 +NL3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_tabdly.h
Added
@@ -0,0 +1,103 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_tabdly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#ifndef ALPHA +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_tabdly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_tabdly_xdata = { +#ifndef ALPHA +#if defined(XTABS) || (defined(HAVE_DECL_XTABS) && HAVE_DECL_XTABS) + XLAT(XTABS), + #define XLAT_VAL_0 ((unsigned) (XTABS)) + #define XLAT_STR_0 STRINGIFY(XTABS) +#endif +#endif + +#if defined(TAB0) || (defined(HAVE_DECL_TAB0) && HAVE_DECL_TAB0) + XLAT(TAB0), + #define XLAT_VAL_1 ((unsigned) (TAB0)) + #define XLAT_STR_1 STRINGIFY(TAB0) +#endif +#if defined(TAB1) || (defined(HAVE_DECL_TAB1) && HAVE_DECL_TAB1) + XLAT(TAB1), + #define XLAT_VAL_2 ((unsigned) (TAB1)) + #define XLAT_STR_2 STRINGIFY(TAB1) +#endif +#if defined(TAB2) || (defined(HAVE_DECL_TAB2) && HAVE_DECL_TAB2) + XLAT(TAB2), + #define XLAT_VAL_3 ((unsigned) (TAB2)) + #define XLAT_STR_3 STRINGIFY(TAB2) +#endif +#if defined(TAB3) || (defined(HAVE_DECL_TAB3) && HAVE_DECL_TAB3) + XLAT(TAB3), + #define XLAT_VAL_4 ((unsigned) (TAB3)) + #define XLAT_STR_4 STRINGIFY(TAB3) +#endif +}; +static +const struct xlat term_oflags_tabdly1 = { { + .data = term_oflags_tabdly_xdata, + .size = ARRAY_SIZE(term_oflags_tabdly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_tabdly.in
Added
@@ -0,0 +1,8 @@ +#ifndef ALPHA +XTABS /* required by POSIX to == TAB3; but not on Alpha! */ +#endif + +TAB0 +TAB1 +TAB2 +TAB3
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_vtdly.h
Added
@@ -0,0 +1,59 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/term_oflags_vtdly.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat term_oflags_vtdly in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data term_oflags_vtdly_xdata = { +#if defined(VT0) || (defined(HAVE_DECL_VT0) && HAVE_DECL_VT0) + XLAT(VT0), + #define XLAT_VAL_0 ((unsigned) (VT0)) + #define XLAT_STR_0 STRINGIFY(VT0) +#endif +#if defined(VT1) || (defined(HAVE_DECL_VT1) && HAVE_DECL_VT1) + XLAT(VT1), + #define XLAT_VAL_1 ((unsigned) (VT1)) + #define XLAT_STR_1 STRINGIFY(VT1) +#endif +}; +static +const struct xlat term_oflags_vtdly1 = { { + .data = term_oflags_vtdly_xdata, + .size = ARRAY_SIZE(term_oflags_vtdly_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/term_oflags_vtdly.in
Added
@@ -0,0 +1,2 @@ +VT0 +VT1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/termio_cc.h
Added
@@ -0,0 +1,163 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/termio_cc.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat termio_cc in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data termio_cc_xdata = { +#if defined(_VINTR) || (defined(HAVE_DECL__VINTR) && HAVE_DECL__VINTR) + XLAT(_VINTR), + #define XLAT_VAL_0 ((unsigned) (_VINTR)) + #define XLAT_STR_0 STRINGIFY(_VINTR) +#endif +#if defined(_VQUIT) || (defined(HAVE_DECL__VQUIT) && HAVE_DECL__VQUIT) + XLAT(_VQUIT), + #define XLAT_VAL_1 ((unsigned) (_VQUIT)) + #define XLAT_STR_1 STRINGIFY(_VQUIT) +#endif +#if defined(_VERASE) || (defined(HAVE_DECL__VERASE) && HAVE_DECL__VERASE) + XLAT(_VERASE), + #define XLAT_VAL_2 ((unsigned) (_VERASE)) + #define XLAT_STR_2 STRINGIFY(_VERASE) +#endif +#if defined(_VKILL) || (defined(HAVE_DECL__VKILL) && HAVE_DECL__VKILL) + XLAT(_VKILL), + #define XLAT_VAL_3 ((unsigned) (_VKILL)) + #define XLAT_STR_3 STRINGIFY(_VKILL) +#endif +#if defined(_VEOF) || (defined(HAVE_DECL__VEOF) && HAVE_DECL__VEOF) + XLAT(_VEOF), + #define XLAT_VAL_4 ((unsigned) (_VEOF)) + #define XLAT_STR_4 STRINGIFY(_VEOF) +#endif +#if defined(_VMIN) || (defined(HAVE_DECL__VMIN) && HAVE_DECL__VMIN) + XLAT(_VMIN), + #define XLAT_VAL_5 ((unsigned) (_VMIN)) + #define XLAT_STR_5 STRINGIFY(_VMIN) +#endif +#if defined(_VEOL) || (defined(HAVE_DECL__VEOL) && HAVE_DECL__VEOL) + XLAT(_VEOL), + #define XLAT_VAL_6 ((unsigned) (_VEOL)) + #define XLAT_STR_6 STRINGIFY(_VEOL) +#endif +#if defined(_VTIME) || (defined(HAVE_DECL__VTIME) && HAVE_DECL__VTIME) + XLAT(_VTIME), + #define XLAT_VAL_7 ((unsigned) (_VTIME)) + #define XLAT_STR_7 STRINGIFY(_VTIME) +#endif +#if defined(_VEOL2) || (defined(HAVE_DECL__VEOL2) && HAVE_DECL__VEOL2) + XLAT(_VEOL2), + #define XLAT_VAL_8 ((unsigned) (_VEOL2)) + #define XLAT_STR_8 STRINGIFY(_VEOL2) +#endif +#if defined(_VSWTC) || (defined(HAVE_DECL__VSWTC) && HAVE_DECL__VSWTC) + XLAT(_VSWTC), + #define XLAT_VAL_9 ((unsigned) (_VSWTC)) + #define XLAT_STR_9 STRINGIFY(_VSWTC) +#endif +}; +static +const struct xlat termio_cc1 = { { + .data = termio_cc_xdata, + .size = ARRAY_SIZE(termio_cc_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/termio_cc.in
Added
@@ -0,0 +1,10 @@ +_VINTR +_VQUIT +_VERASE +_VKILL +_VEOF +_VMIN +_VEOL +_VTIME +_VEOL2 +_VSWTC
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/termios_cc.h
Added
@@ -0,0 +1,267 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/termios_cc.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat termios_cc in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data termios_cc_xdata = { +#if defined(VINTR) || (defined(HAVE_DECL_VINTR) && HAVE_DECL_VINTR) + XLAT(VINTR), + #define XLAT_VAL_0 ((unsigned) (VINTR)) + #define XLAT_STR_0 STRINGIFY(VINTR) +#endif +#if defined(VQUIT) || (defined(HAVE_DECL_VQUIT) && HAVE_DECL_VQUIT) + XLAT(VQUIT), + #define XLAT_VAL_1 ((unsigned) (VQUIT)) + #define XLAT_STR_1 STRINGIFY(VQUIT) +#endif +#if defined(VERASE) || (defined(HAVE_DECL_VERASE) && HAVE_DECL_VERASE) + XLAT(VERASE), + #define XLAT_VAL_2 ((unsigned) (VERASE)) + #define XLAT_STR_2 STRINGIFY(VERASE) +#endif +#if defined(VKILL) || (defined(HAVE_DECL_VKILL) && HAVE_DECL_VKILL) + XLAT(VKILL), + #define XLAT_VAL_3 ((unsigned) (VKILL)) + #define XLAT_STR_3 STRINGIFY(VKILL) +#endif +#if defined(VEOL2) || (defined(HAVE_DECL_VEOL2) && HAVE_DECL_VEOL2) + XLAT(VEOL2), + #define XLAT_VAL_4 ((unsigned) (VEOL2)) + #define XLAT_STR_4 STRINGIFY(VEOL2) +#endif +#if defined(VSWTC) || (defined(HAVE_DECL_VSWTC) && HAVE_DECL_VSWTC) + XLAT(VSWTC), + #define XLAT_VAL_5 ((unsigned) (VSWTC)) + #define XLAT_STR_5 STRINGIFY(VSWTC) +#endif +#if defined(VSTART) || (defined(HAVE_DECL_VSTART) && HAVE_DECL_VSTART) + XLAT(VSTART), + #define XLAT_VAL_6 ((unsigned) (VSTART)) + #define XLAT_STR_6 STRINGIFY(VSTART) +#endif +#if defined(VSTOP) || (defined(HAVE_DECL_VSTOP) && HAVE_DECL_VSTOP) + XLAT(VSTOP), + #define XLAT_VAL_7 ((unsigned) (VSTOP)) + #define XLAT_STR_7 STRINGIFY(VSTOP) +#endif +#if defined(VSUSP) || (defined(HAVE_DECL_VSUSP) && HAVE_DECL_VSUSP) + XLAT(VSUSP), + #define XLAT_VAL_8 ((unsigned) (VSUSP)) + #define XLAT_STR_8 STRINGIFY(VSUSP) +#endif +#if defined(VDSUSP) || (defined(HAVE_DECL_VDSUSP) && HAVE_DECL_VDSUSP) + XLAT(VDSUSP), + #define XLAT_VAL_9 ((unsigned) (VDSUSP)) + #define XLAT_STR_9 STRINGIFY(VDSUSP) +#endif +#if defined(VREPRINT) || (defined(HAVE_DECL_VREPRINT) && HAVE_DECL_VREPRINT) + XLAT(VREPRINT), + #define XLAT_VAL_10 ((unsigned) (VREPRINT)) + #define XLAT_STR_10 STRINGIFY(VREPRINT) +#endif +#if defined(VDISCARD) || (defined(HAVE_DECL_VDISCARD) && HAVE_DECL_VDISCARD) + XLAT(VDISCARD), + #define XLAT_VAL_11 ((unsigned) (VDISCARD)) + #define XLAT_STR_11 STRINGIFY(VDISCARD) +#endif +#if defined(VWERASE) || (defined(HAVE_DECL_VWERASE) && HAVE_DECL_VWERASE) + XLAT(VWERASE), + #define XLAT_VAL_12 ((unsigned) (VWERASE)) + #define XLAT_STR_12 STRINGIFY(VWERASE) +#endif +#if defined(VLNEXT) || (defined(HAVE_DECL_VLNEXT) && HAVE_DECL_VLNEXT) + XLAT(VLNEXT), + #define XLAT_VAL_13 ((unsigned) (VLNEXT)) + #define XLAT_STR_13 STRINGIFY(VLNEXT) +#endif +#if defined(VMIN) || (defined(HAVE_DECL_VMIN) && HAVE_DECL_VMIN) + XLAT(VMIN), + #define XLAT_VAL_14 ((unsigned) (VMIN)) + #define XLAT_STR_14 STRINGIFY(VMIN) +#endif +#if defined(VTIME) || (defined(HAVE_DECL_VTIME) && HAVE_DECL_VTIME) + XLAT(VTIME), + #define XLAT_VAL_15 ((unsigned) (VTIME)) + #define XLAT_STR_15 STRINGIFY(VTIME) +#endif +#if defined(VEOF) || (defined(HAVE_DECL_VEOF) && HAVE_DECL_VEOF) + XLAT(VEOF), + #define XLAT_VAL_16 ((unsigned) (VEOF)) + #define XLAT_STR_16 STRINGIFY(VEOF) +#endif +#if defined(VEOL) || (defined(HAVE_DECL_VEOL) && HAVE_DECL_VEOL) + XLAT(VEOL), + #define XLAT_VAL_17 ((unsigned) (VEOL)) + #define XLAT_STR_17 STRINGIFY(VEOL) +#endif +}; +static +const struct xlat termios_cc1 = { { + .data = termios_cc_xdata, + .size = ARRAY_SIZE(termios_cc_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif +# ifdef XLAT_VAL_17 + | XLAT_VAL_17 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif +# ifdef XLAT_STR_17 + + sizeof(XLAT_STR_17) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# undef XLAT_STR_17 +# undef XLAT_VAL_17 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/termios_cc.in
Added
@@ -0,0 +1,18 @@ +VINTR /* Interrupt character ISIG. */ +VQUIT /* Quit character ISIG. */ +VERASE /* Erase character ICANON. */ +VKILL /* Kill-line character ICANON. */ +VEOL2 /* Second EOL character ICANON. */ +VSWTC /* ??? */ +VSTART /* Start (X-ON) character IXON, IXOFF. */ +VSTOP /* Stop (X-OFF) character IXON, IXOFF. */ +VSUSP /* Suspend character ISIG. */ +VDSUSP /* Delayed suspend character ISIG. */ +VREPRINT /* Reprint-line character ICANON. */ +VDISCARD /* Discard character IEXTEN. */ +VWERASE /* Word-erase character ICANON. */ +VLNEXT /* Literal-next character IEXTEN. */ +VMIN /* Minimum number of bytes read at once !ICANON. */ +VTIME /* Time-out value (tenths of a second) !ICANON. */ +VEOF /* End-of-file character ICANON. */ +VEOL /* End-of-line character ICANON. */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/timerfdflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/timerfdflags.h
Changed
@@ -31,6 +31,7 @@ #else # define TFD_NONBLOCK O_NONBLOCK #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_ciphers.h
Added
@@ -0,0 +1,209 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/tls_info_ciphers.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_AES_GCM_128) == (51), "TLS_CIPHER_AES_GCM_128 != 51"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_AES_GCM_128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_AES_GCM_128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_AES_GCM_128) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_AES_GCM_256) == (52), "TLS_CIPHER_AES_GCM_256 != 52"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_AES_GCM_256) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_AES_GCM_256" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_AES_GCM_256) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_AES_CCM_128) == (53), "TLS_CIPHER_AES_CCM_128 != 53"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_AES_CCM_128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_AES_CCM_128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_AES_CCM_128) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_CHACHA20_POLY1305) == (54), "TLS_CIPHER_CHACHA20_POLY1305 != 54"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_CHACHA20_POLY1305) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_CHACHA20_POLY1305" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_CHACHA20_POLY1305) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_SM4_GCM) == (55), "TLS_CIPHER_SM4_GCM != 55"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_SM4_GCM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_SM4_GCM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_SM4_GCM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_SM4_CCM) == (56), "TLS_CIPHER_SM4_CCM != 56"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_SM4_CCM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_SM4_CCM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_SM4_CCM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_ARIA_GCM_128) == (57), "TLS_CIPHER_ARIA_GCM_128 != 57"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_ARIA_GCM_128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_ARIA_GCM_128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_ARIA_GCM_128) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CIPHER_ARIA_GCM_256) == (58), "TLS_CIPHER_ARIA_GCM_256 != 58"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (TLS_CIPHER_ARIA_GCM_256) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: TLS_CIPHER_ARIA_GCM_256" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (TLS_CIPHER_ARIA_GCM_256) +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat tls_info_ciphers in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data tls_info_ciphers_xdata = { + XLAT(TLS_CIPHER_AES_GCM_128), + #define XLAT_VAL_0 ((unsigned) (TLS_CIPHER_AES_GCM_128)) + #define XLAT_STR_0 STRINGIFY(TLS_CIPHER_AES_GCM_128) + XLAT(TLS_CIPHER_AES_GCM_256), + #define XLAT_VAL_1 ((unsigned) (TLS_CIPHER_AES_GCM_256)) + #define XLAT_STR_1 STRINGIFY(TLS_CIPHER_AES_GCM_256) + XLAT(TLS_CIPHER_AES_CCM_128), + #define XLAT_VAL_2 ((unsigned) (TLS_CIPHER_AES_CCM_128)) + #define XLAT_STR_2 STRINGIFY(TLS_CIPHER_AES_CCM_128) + XLAT(TLS_CIPHER_CHACHA20_POLY1305), + #define XLAT_VAL_3 ((unsigned) (TLS_CIPHER_CHACHA20_POLY1305)) + #define XLAT_STR_3 STRINGIFY(TLS_CIPHER_CHACHA20_POLY1305) + XLAT(TLS_CIPHER_SM4_GCM), + #define XLAT_VAL_4 ((unsigned) (TLS_CIPHER_SM4_GCM)) + #define XLAT_STR_4 STRINGIFY(TLS_CIPHER_SM4_GCM) + XLAT(TLS_CIPHER_SM4_CCM), + #define XLAT_VAL_5 ((unsigned) (TLS_CIPHER_SM4_CCM)) + #define XLAT_STR_5 STRINGIFY(TLS_CIPHER_SM4_CCM) + XLAT(TLS_CIPHER_ARIA_GCM_128), + #define XLAT_VAL_6 ((unsigned) (TLS_CIPHER_ARIA_GCM_128)) + #define XLAT_STR_6 STRINGIFY(TLS_CIPHER_ARIA_GCM_128) + XLAT(TLS_CIPHER_ARIA_GCM_256), + #define XLAT_VAL_7 ((unsigned) (TLS_CIPHER_ARIA_GCM_256)) + #define XLAT_STR_7 STRINGIFY(TLS_CIPHER_ARIA_GCM_256) +}; +static +const struct xlat tls_info_ciphers1 = { { + .data = tls_info_ciphers_xdata, + .size = ARRAY_SIZE(tls_info_ciphers_xdata), + .type = XT_SORTED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_ciphers.in
Added
@@ -0,0 +1,10 @@ +#sorted +#unconditional +TLS_CIPHER_AES_GCM_128 51 +TLS_CIPHER_AES_GCM_256 52 +TLS_CIPHER_AES_CCM_128 53 +TLS_CIPHER_CHACHA20_POLY1305 54 +TLS_CIPHER_SM4_GCM 55 +TLS_CIPHER_SM4_CCM 56 +TLS_CIPHER_ARIA_GCM_128 57 +TLS_CIPHER_ARIA_GCM_256 58
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_configs.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/tls_info_configs.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CONF_BASE) == (1), "TLS_CONF_BASE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CONF_SW) == (2), "TLS_CONF_SW != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CONF_HW) == (3), "TLS_CONF_HW != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_CONF_HW_RECORD) == (4), "TLS_CONF_HW_RECORD != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat tls_info_configs in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data tls_info_configs_xdata = { + TLS_CONF_BASE = XLAT(TLS_CONF_BASE), + #define XLAT_VAL_0 ((unsigned) (TLS_CONF_BASE)) + #define XLAT_STR_0 STRINGIFY(TLS_CONF_BASE) + TLS_CONF_SW = XLAT(TLS_CONF_SW), + #define XLAT_VAL_1 ((unsigned) (TLS_CONF_SW)) + #define XLAT_STR_1 STRINGIFY(TLS_CONF_SW) + TLS_CONF_HW = XLAT(TLS_CONF_HW), + #define XLAT_VAL_2 ((unsigned) (TLS_CONF_HW)) + #define XLAT_STR_2 STRINGIFY(TLS_CONF_HW) + TLS_CONF_HW_RECORD = XLAT(TLS_CONF_HW_RECORD), + #define XLAT_VAL_3 ((unsigned) (TLS_CONF_HW_RECORD)) + #define XLAT_STR_3 STRINGIFY(TLS_CONF_HW_RECORD) +}; +static +const struct xlat tls_info_configs1 = { { + .data = tls_info_configs_xdata, + .size = ARRAY_SIZE(tls_info_configs_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_configs.in
Added
@@ -0,0 +1,6 @@ +#value_indexed +#unconditional +TLS_CONF_BASE 1 +TLS_CONF_SW 2 +TLS_CONF_HW 3 +TLS_CONF_HW_RECORD 4
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_versions.h
Added
@@ -0,0 +1,61 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/tls_info_versions.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_1_2_VERSION) == (0x303), "TLS_1_2_VERSION != 0x303"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((TLS_1_3_VERSION) == (0x304), "TLS_1_3_VERSION != 0x304"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat tls_info_versions in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data tls_info_versions_xdata = { + XLAT(TLS_1_2_VERSION), + #define XLAT_VAL_0 ((unsigned) (TLS_1_2_VERSION)) + #define XLAT_STR_0 STRINGIFY(TLS_1_2_VERSION) + XLAT(TLS_1_3_VERSION), + #define XLAT_VAL_1 ((unsigned) (TLS_1_3_VERSION)) + #define XLAT_STR_1 STRINGIFY(TLS_1_3_VERSION) +}; +static +const struct xlat tls_info_versions1 = { { + .data = tls_info_versions_xdata, + .size = ARRAY_SIZE(tls_info_versions_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/tls_info_versions.in
Added
@@ -0,0 +1,3 @@ +#unconditional +TLS_1_2_VERSION 0x303 +TLS_1_3_VERSION 0x304
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/tun_device_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/tun_device_types.h
Changed
@@ -17,6 +17,7 @@ #else # define IFF_TAP 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ubi_data_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ubi_data_types.h
Changed
@@ -24,6 +24,7 @@ #else # define UBI_UNKNOWN 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ubi_volume_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ubi_volume_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ubi_volume_props.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ubi_volume_props.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/ubi_volume_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/ubi_volume_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_api_features.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_api_features.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -47,6 +48,12 @@ XLAT_TYPE(uint64_t, UFFD_FEATURE_MINOR_SHMEM), #define XLAT_VAL_10 ((uint64_t) (UFFD_FEATURE_MINOR_SHMEM)) #define XLAT_STR_10 STRINGIFY(UFFD_FEATURE_MINOR_SHMEM) + XLAT_TYPE(uint64_t, UFFD_FEATURE_EXACT_ADDRESS), + #define XLAT_VAL_11 ((uint64_t) (UFFD_FEATURE_EXACT_ADDRESS)) + #define XLAT_STR_11 STRINGIFY(UFFD_FEATURE_EXACT_ADDRESS) + XLAT_TYPE(uint64_t, UFFD_FEATURE_WP_HUGETLBFS_SHMEM), + #define XLAT_VAL_12 ((uint64_t) (UFFD_FEATURE_WP_HUGETLBFS_SHMEM)) + #define XLAT_STR_12 STRINGIFY(UFFD_FEATURE_WP_HUGETLBFS_SHMEM) }; static const struct xlat uffd_api_features1 = { { @@ -87,6 +94,12 @@ # ifdef XLAT_VAL_10 | XLAT_VAL_10 # endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -122,6 +135,12 @@ # ifdef XLAT_STR_10 + sizeof(XLAT_STR_10) # endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -148,6 +167,10 @@ # undef XLAT_VAL_9 # undef XLAT_STR_10 # undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_api_features.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_api_features.in
Changed
@@ -11,3 +11,5 @@ UFFD_FEATURE_THREAD_ID UFFD_FEATURE_MINOR_HUGETLBFS UFFD_FEATURE_MINOR_SHMEM +UFFD_FEATURE_EXACT_ADDRESS +UFFD_FEATURE_WP_HUGETLBFS_SHMEM
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_api_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_api_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_copy_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_copy_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_register_ioctl_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_register_ioctl_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_register_mode_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_register_mode_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uffd_zeropage_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uffd_zeropage_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/umount_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/umount_flags.h
Changed
@@ -31,6 +31,7 @@ #else # define UMOUNT_NOFOLLOW 8 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/unix_diag_attrs.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/unix_diag_attrs.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/unix_diag_show.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/unix_diag_show.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -14,41 +15,27 @@ DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE static const struct xlat_data unix_diag_show_xdata = { -#if defined(UDIAG_SHOW_NAME) || (defined(HAVE_DECL_UDIAG_SHOW_NAME) && HAVE_DECL_UDIAG_SHOW_NAME) - XLAT(UDIAG_SHOW_NAME), + XLAT(UDIAG_SHOW_NAME), #define XLAT_VAL_0 ((unsigned) (UDIAG_SHOW_NAME)) #define XLAT_STR_0 STRINGIFY(UDIAG_SHOW_NAME) -#endif -#if defined(UDIAG_SHOW_VFS) || (defined(HAVE_DECL_UDIAG_SHOW_VFS) && HAVE_DECL_UDIAG_SHOW_VFS) - XLAT(UDIAG_SHOW_VFS), + XLAT(UDIAG_SHOW_VFS), #define XLAT_VAL_1 ((unsigned) (UDIAG_SHOW_VFS)) #define XLAT_STR_1 STRINGIFY(UDIAG_SHOW_VFS) -#endif -#if defined(UDIAG_SHOW_PEER) || (defined(HAVE_DECL_UDIAG_SHOW_PEER) && HAVE_DECL_UDIAG_SHOW_PEER) - XLAT(UDIAG_SHOW_PEER), + XLAT(UDIAG_SHOW_PEER), #define XLAT_VAL_2 ((unsigned) (UDIAG_SHOW_PEER)) #define XLAT_STR_2 STRINGIFY(UDIAG_SHOW_PEER) -#endif -#if defined(UDIAG_SHOW_ICONS) || (defined(HAVE_DECL_UDIAG_SHOW_ICONS) && HAVE_DECL_UDIAG_SHOW_ICONS) - XLAT(UDIAG_SHOW_ICONS), + XLAT(UDIAG_SHOW_ICONS), #define XLAT_VAL_3 ((unsigned) (UDIAG_SHOW_ICONS)) #define XLAT_STR_3 STRINGIFY(UDIAG_SHOW_ICONS) -#endif -#if defined(UDIAG_SHOW_RQLEN) || (defined(HAVE_DECL_UDIAG_SHOW_RQLEN) && HAVE_DECL_UDIAG_SHOW_RQLEN) - XLAT(UDIAG_SHOW_RQLEN), + XLAT(UDIAG_SHOW_RQLEN), #define XLAT_VAL_4 ((unsigned) (UDIAG_SHOW_RQLEN)) #define XLAT_STR_4 STRINGIFY(UDIAG_SHOW_RQLEN) -#endif -#if defined(UDIAG_SHOW_MEMINFO) || (defined(HAVE_DECL_UDIAG_SHOW_MEMINFO) && HAVE_DECL_UDIAG_SHOW_MEMINFO) - XLAT(UDIAG_SHOW_MEMINFO), + XLAT(UDIAG_SHOW_MEMINFO), #define XLAT_VAL_5 ((unsigned) (UDIAG_SHOW_MEMINFO)) #define XLAT_STR_5 STRINGIFY(UDIAG_SHOW_MEMINFO) -#endif -#if defined(UDIAG_SHOW_UID) || (defined(HAVE_DECL_UDIAG_SHOW_UID) && HAVE_DECL_UDIAG_SHOW_UID) - XLAT(UDIAG_SHOW_UID), + XLAT(UDIAG_SHOW_UID), #define XLAT_VAL_6 ((unsigned) (UDIAG_SHOW_UID)) #define XLAT_STR_6 STRINGIFY(UDIAG_SHOW_UID) -#endif }; static const struct xlat unix_diag_show1 = { {
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/unix_diag_show.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/unix_diag_show.in
Changed
@@ -1,3 +1,4 @@ +#unconditional UDIAG_SHOW_NAME UDIAG_SHOW_VFS UDIAG_SHOW_PEER
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/unshare_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/unshare_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_enter_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_enter_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -26,6 +27,9 @@ XLAT(IORING_ENTER_EXT_ARG), #define XLAT_VAL_3 ((unsigned) (IORING_ENTER_EXT_ARG)) #define XLAT_STR_3 STRINGIFY(IORING_ENTER_EXT_ARG) + XLAT(IORING_ENTER_REGISTERED_RING), + #define XLAT_VAL_4 ((unsigned) (IORING_ENTER_REGISTERED_RING)) + #define XLAT_STR_4 STRINGIFY(IORING_ENTER_REGISTERED_RING) }; static const struct xlat uring_enter_flags1 = { { @@ -45,6 +49,9 @@ # ifdef XLAT_VAL_3 | XLAT_VAL_3 # endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -59,6 +66,9 @@ # ifdef XLAT_STR_3 + sizeof(XLAT_STR_3) # endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -71,6 +81,8 @@ # undef XLAT_VAL_2 # undef XLAT_STR_3 # undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_enter_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_enter_flags.in
Changed
@@ -3,3 +3,4 @@ IORING_ENTER_SQ_WAKEUP IORING_ENTER_SQ_WAIT IORING_ENTER_EXT_ARG +IORING_ENTER_REGISTERED_RING
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_files_update_fds.h
Added
@@ -0,0 +1,44 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_files_update_fds.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat uring_files_update_fds in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data uring_files_update_fds_xdata = { + XLAT_TYPE(int, IORING_REGISTER_FILES_SKIP), + #define XLAT_VAL_0 ((int) (IORING_REGISTER_FILES_SKIP)) + #define XLAT_STR_0 STRINGIFY(IORING_REGISTER_FILES_SKIP) +}; +static +const struct xlat uring_files_update_fds1 = { { + .data = uring_files_update_fds_xdata, + .size = ARRAY_SIZE(uring_files_update_fds_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_files_update_fds.in
Added
@@ -0,0 +1,3 @@ +#unconditional +#val_type int +IORING_REGISTER_FILES_SKIP
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_iowq_acct.h
Added
@@ -0,0 +1,69 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_iowq_acct.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(IO_WQ_BOUND) || (defined(HAVE_DECL_IO_WQ_BOUND) && HAVE_DECL_IO_WQ_BOUND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IO_WQ_BOUND) == (0), "IO_WQ_BOUND != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IO_WQ_BOUND 0 +#endif +#if defined(IO_WQ_UNBOUND) || (defined(HAVE_DECL_IO_WQ_UNBOUND) && HAVE_DECL_IO_WQ_UNBOUND) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((IO_WQ_UNBOUND) == (1), "IO_WQ_UNBOUND != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define IO_WQ_UNBOUND 1 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat uring_iowq_acct in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data uring_iowq_acct_xdata = { + IO_WQ_BOUND = XLAT(IO_WQ_BOUND), + #define XLAT_VAL_0 ((unsigned) (IO_WQ_BOUND)) + #define XLAT_STR_0 STRINGIFY(IO_WQ_BOUND) + IO_WQ_UNBOUND = XLAT(IO_WQ_UNBOUND), + #define XLAT_VAL_1 ((unsigned) (IO_WQ_UNBOUND)) + #define XLAT_STR_1 STRINGIFY(IO_WQ_UNBOUND) +}; +static +const struct xlat uring_iowq_acct1 = { { + .data = uring_iowq_acct_xdata, + .size = ARRAY_SIZE(uring_iowq_acct_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_iowq_acct.in
Added
@@ -0,0 +1,3 @@ +#value_indexed +IO_WQ_BOUND 0 +IO_WQ_UNBOUND 1
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_op_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_op_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_ops.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_ops.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -125,6 +126,36 @@ IORING_OP_UNLINKAT = XLAT(IORING_OP_UNLINKAT), #define XLAT_VAL_36 ((unsigned) (IORING_OP_UNLINKAT)) #define XLAT_STR_36 STRINGIFY(IORING_OP_UNLINKAT) + IORING_OP_MKDIRAT = XLAT(IORING_OP_MKDIRAT), + #define XLAT_VAL_37 ((unsigned) (IORING_OP_MKDIRAT)) + #define XLAT_STR_37 STRINGIFY(IORING_OP_MKDIRAT) + IORING_OP_SYMLINKAT = XLAT(IORING_OP_SYMLINKAT), + #define XLAT_VAL_38 ((unsigned) (IORING_OP_SYMLINKAT)) + #define XLAT_STR_38 STRINGIFY(IORING_OP_SYMLINKAT) + IORING_OP_LINKAT = XLAT(IORING_OP_LINKAT), + #define XLAT_VAL_39 ((unsigned) (IORING_OP_LINKAT)) + #define XLAT_STR_39 STRINGIFY(IORING_OP_LINKAT) + IORING_OP_MSG_RING = XLAT(IORING_OP_MSG_RING), + #define XLAT_VAL_40 ((unsigned) (IORING_OP_MSG_RING)) + #define XLAT_STR_40 STRINGIFY(IORING_OP_MSG_RING) + IORING_OP_FSETXATTR = XLAT(IORING_OP_FSETXATTR), + #define XLAT_VAL_41 ((unsigned) (IORING_OP_FSETXATTR)) + #define XLAT_STR_41 STRINGIFY(IORING_OP_FSETXATTR) + IORING_OP_SETXATTR = XLAT(IORING_OP_SETXATTR), + #define XLAT_VAL_42 ((unsigned) (IORING_OP_SETXATTR)) + #define XLAT_STR_42 STRINGIFY(IORING_OP_SETXATTR) + IORING_OP_FGETXATTR = XLAT(IORING_OP_FGETXATTR), + #define XLAT_VAL_43 ((unsigned) (IORING_OP_FGETXATTR)) + #define XLAT_STR_43 STRINGIFY(IORING_OP_FGETXATTR) + IORING_OP_GETXATTR = XLAT(IORING_OP_GETXATTR), + #define XLAT_VAL_44 ((unsigned) (IORING_OP_GETXATTR)) + #define XLAT_STR_44 STRINGIFY(IORING_OP_GETXATTR) + IORING_OP_SOCKET = XLAT(IORING_OP_SOCKET), + #define XLAT_VAL_45 ((unsigned) (IORING_OP_SOCKET)) + #define XLAT_STR_45 STRINGIFY(IORING_OP_SOCKET) + IORING_OP_URING_CMD = XLAT(IORING_OP_URING_CMD), + #define XLAT_VAL_46 ((unsigned) (IORING_OP_URING_CMD)) + #define XLAT_STR_46 STRINGIFY(IORING_OP_URING_CMD) }; static const struct xlat uring_ops1 = { { @@ -243,6 +274,36 @@ # ifdef XLAT_VAL_36 | XLAT_VAL_36 # endif +# ifdef XLAT_VAL_37 + | XLAT_VAL_37 +# endif +# ifdef XLAT_VAL_38 + | XLAT_VAL_38 +# endif +# ifdef XLAT_VAL_39 + | XLAT_VAL_39 +# endif +# ifdef XLAT_VAL_40 + | XLAT_VAL_40 +# endif +# ifdef XLAT_VAL_41 + | XLAT_VAL_41 +# endif +# ifdef XLAT_VAL_42 + | XLAT_VAL_42 +# endif +# ifdef XLAT_VAL_43 + | XLAT_VAL_43 +# endif +# ifdef XLAT_VAL_44 + | XLAT_VAL_44 +# endif +# ifdef XLAT_VAL_45 + | XLAT_VAL_45 +# endif +# ifdef XLAT_VAL_46 + | XLAT_VAL_46 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -356,6 +417,36 @@ # ifdef XLAT_STR_36 + sizeof(XLAT_STR_36) # endif +# ifdef XLAT_STR_37 + + sizeof(XLAT_STR_37) +# endif +# ifdef XLAT_STR_38 + + sizeof(XLAT_STR_38) +# endif +# ifdef XLAT_STR_39 + + sizeof(XLAT_STR_39) +# endif +# ifdef XLAT_STR_40 + + sizeof(XLAT_STR_40) +# endif +# ifdef XLAT_STR_41 + + sizeof(XLAT_STR_41) +# endif +# ifdef XLAT_STR_42 + + sizeof(XLAT_STR_42) +# endif +# ifdef XLAT_STR_43 + + sizeof(XLAT_STR_43) +# endif +# ifdef XLAT_STR_44 + + sizeof(XLAT_STR_44) +# endif +# ifdef XLAT_STR_45 + + sizeof(XLAT_STR_45) +# endif +# ifdef XLAT_STR_46 + + sizeof(XLAT_STR_46) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -434,6 +525,26 @@ # undef XLAT_VAL_35 # undef XLAT_STR_36 # undef XLAT_VAL_36 +# undef XLAT_STR_37 +# undef XLAT_VAL_37 +# undef XLAT_STR_38 +# undef XLAT_VAL_38 +# undef XLAT_STR_39 +# undef XLAT_VAL_39 +# undef XLAT_STR_40 +# undef XLAT_VAL_40 +# undef XLAT_STR_41 +# undef XLAT_VAL_41 +# undef XLAT_STR_42 +# undef XLAT_VAL_42 +# undef XLAT_STR_43 +# undef XLAT_VAL_43 +# undef XLAT_STR_44 +# undef XLAT_VAL_44 +# undef XLAT_STR_45 +# undef XLAT_VAL_45 +# undef XLAT_STR_46 +# undef XLAT_VAL_46 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_ops.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_ops.in
Changed
@@ -37,3 +37,13 @@ IORING_OP_SHUTDOWN IORING_OP_RENAMEAT IORING_OP_UNLINKAT +IORING_OP_MKDIRAT +IORING_OP_SYMLINKAT +IORING_OP_LINKAT +IORING_OP_MSG_RING +IORING_OP_FSETXATTR +IORING_OP_SETXATTR +IORING_OP_FGETXATTR +IORING_OP_GETXATTR +IORING_OP_SOCKET +IORING_OP_URING_CMD
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_register_opcodes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_register_opcodes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -71,6 +72,21 @@ IORING_UNREGISTER_IOWQ_AFF = XLAT(IORING_UNREGISTER_IOWQ_AFF), #define XLAT_VAL_18 ((unsigned) (IORING_UNREGISTER_IOWQ_AFF)) #define XLAT_STR_18 STRINGIFY(IORING_UNREGISTER_IOWQ_AFF) + IORING_REGISTER_IOWQ_MAX_WORKERS = XLAT(IORING_REGISTER_IOWQ_MAX_WORKERS), + #define XLAT_VAL_19 ((unsigned) (IORING_REGISTER_IOWQ_MAX_WORKERS)) + #define XLAT_STR_19 STRINGIFY(IORING_REGISTER_IOWQ_MAX_WORKERS) + IORING_REGISTER_RING_FDS = XLAT(IORING_REGISTER_RING_FDS), + #define XLAT_VAL_20 ((unsigned) (IORING_REGISTER_RING_FDS)) + #define XLAT_STR_20 STRINGIFY(IORING_REGISTER_RING_FDS) + IORING_UNREGISTER_RING_FDS = XLAT(IORING_UNREGISTER_RING_FDS), + #define XLAT_VAL_21 ((unsigned) (IORING_UNREGISTER_RING_FDS)) + #define XLAT_STR_21 STRINGIFY(IORING_UNREGISTER_RING_FDS) + IORING_REGISTER_PBUF_RING = XLAT(IORING_REGISTER_PBUF_RING), + #define XLAT_VAL_22 ((unsigned) (IORING_REGISTER_PBUF_RING)) + #define XLAT_STR_22 STRINGIFY(IORING_REGISTER_PBUF_RING) + IORING_UNREGISTER_PBUF_RING = XLAT(IORING_UNREGISTER_PBUF_RING), + #define XLAT_VAL_23 ((unsigned) (IORING_UNREGISTER_PBUF_RING)) + #define XLAT_STR_23 STRINGIFY(IORING_UNREGISTER_PBUF_RING) }; static const struct xlat uring_register_opcodes1 = { { @@ -135,6 +151,21 @@ # ifdef XLAT_VAL_18 | XLAT_VAL_18 # endif +# ifdef XLAT_VAL_19 + | XLAT_VAL_19 +# endif +# ifdef XLAT_VAL_20 + | XLAT_VAL_20 +# endif +# ifdef XLAT_VAL_21 + | XLAT_VAL_21 +# endif +# ifdef XLAT_VAL_22 + | XLAT_VAL_22 +# endif +# ifdef XLAT_VAL_23 + | XLAT_VAL_23 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -194,6 +225,21 @@ # ifdef XLAT_STR_18 + sizeof(XLAT_STR_18) # endif +# ifdef XLAT_STR_19 + + sizeof(XLAT_STR_19) +# endif +# ifdef XLAT_STR_20 + + sizeof(XLAT_STR_20) +# endif +# ifdef XLAT_STR_21 + + sizeof(XLAT_STR_21) +# endif +# ifdef XLAT_STR_22 + + sizeof(XLAT_STR_22) +# endif +# ifdef XLAT_STR_23 + + sizeof(XLAT_STR_23) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -236,6 +282,16 @@ # undef XLAT_VAL_17 # undef XLAT_STR_18 # undef XLAT_VAL_18 +# undef XLAT_STR_19 +# undef XLAT_VAL_19 +# undef XLAT_STR_20 +# undef XLAT_VAL_20 +# undef XLAT_STR_21 +# undef XLAT_VAL_21 +# undef XLAT_STR_22 +# undef XLAT_VAL_22 +# undef XLAT_STR_23 +# undef XLAT_VAL_23 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_register_opcodes.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_register_opcodes.in
Changed
@@ -19,3 +19,8 @@ IORING_REGISTER_BUFFERS_UPDATE IORING_REGISTER_IOWQ_AFF IORING_UNREGISTER_IOWQ_AFF +IORING_REGISTER_IOWQ_MAX_WORKERS +IORING_REGISTER_RING_FDS +IORING_UNREGISTER_RING_FDS +IORING_REGISTER_PBUF_RING +IORING_UNREGISTER_PBUF_RING
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_register_rsrc_flags.h
Added
@@ -0,0 +1,44 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_register_rsrc_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat uring_register_rsrc_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data uring_register_rsrc_flags_xdata = { + XLAT(IORING_RSRC_REGISTER_SPARSE), + #define XLAT_VAL_0 ((unsigned) (IORING_RSRC_REGISTER_SPARSE)) + #define XLAT_STR_0 STRINGIFY(IORING_RSRC_REGISTER_SPARSE) +}; +static +const struct xlat uring_register_rsrc_flags1 = { { + .data = uring_register_rsrc_flags_xdata, + .size = ARRAY_SIZE(uring_register_rsrc_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_register_rsrc_flags.in
Added
@@ -0,0 +1,2 @@ +#unconditional +IORING_RSRC_REGISTER_SPARSE
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_restriction_opcodes.h
Added
@@ -0,0 +1,77 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_restriction_opcodes.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat uring_restriction_opcodes in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data uring_restriction_opcodes_xdata = { + IORING_RESTRICTION_REGISTER_OP = XLAT(IORING_RESTRICTION_REGISTER_OP), + #define XLAT_VAL_0 ((unsigned) (IORING_RESTRICTION_REGISTER_OP)) + #define XLAT_STR_0 STRINGIFY(IORING_RESTRICTION_REGISTER_OP) + IORING_RESTRICTION_SQE_OP = XLAT(IORING_RESTRICTION_SQE_OP), + #define XLAT_VAL_1 ((unsigned) (IORING_RESTRICTION_SQE_OP)) + #define XLAT_STR_1 STRINGIFY(IORING_RESTRICTION_SQE_OP) + IORING_RESTRICTION_SQE_FLAGS_ALLOWED = XLAT(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), + #define XLAT_VAL_2 ((unsigned) (IORING_RESTRICTION_SQE_FLAGS_ALLOWED)) + #define XLAT_STR_2 STRINGIFY(IORING_RESTRICTION_SQE_FLAGS_ALLOWED) + IORING_RESTRICTION_SQE_FLAGS_REQUIRED = XLAT(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), + #define XLAT_VAL_3 ((unsigned) (IORING_RESTRICTION_SQE_FLAGS_REQUIRED)) + #define XLAT_STR_3 STRINGIFY(IORING_RESTRICTION_SQE_FLAGS_REQUIRED) +}; +static +const struct xlat uring_restriction_opcodes1 = { { + .data = uring_restriction_opcodes_xdata, + .size = ARRAY_SIZE(uring_restriction_opcodes_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_restriction_opcodes.in
Added
@@ -0,0 +1,6 @@ +#value_indexed +#unconditional +IORING_RESTRICTION_REGISTER_OP +IORING_RESTRICTION_SQE_OP +IORING_RESTRICTION_SQE_FLAGS_ALLOWED +IORING_RESTRICTION_SQE_FLAGS_REQUIRED
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_setup_features.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_setup_features.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -47,6 +48,12 @@ XLAT(IORING_FEAT_RSRC_TAGS), #define XLAT_VAL_10 ((unsigned) (IORING_FEAT_RSRC_TAGS)) #define XLAT_STR_10 STRINGIFY(IORING_FEAT_RSRC_TAGS) + XLAT(IORING_FEAT_CQE_SKIP), + #define XLAT_VAL_11 ((unsigned) (IORING_FEAT_CQE_SKIP)) + #define XLAT_STR_11 STRINGIFY(IORING_FEAT_CQE_SKIP) + XLAT(IORING_FEAT_LINKED_FILE), + #define XLAT_VAL_12 ((unsigned) (IORING_FEAT_LINKED_FILE)) + #define XLAT_STR_12 STRINGIFY(IORING_FEAT_LINKED_FILE) }; static const struct xlat uring_setup_features1 = { { @@ -87,6 +94,12 @@ # ifdef XLAT_VAL_10 | XLAT_VAL_10 # endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -122,6 +135,12 @@ # ifdef XLAT_STR_10 + sizeof(XLAT_STR_10) # endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -148,6 +167,10 @@ # undef XLAT_VAL_9 # undef XLAT_STR_10 # undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_setup_features.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_setup_features.in
Changed
@@ -10,3 +10,5 @@ IORING_FEAT_EXT_ARG IORING_FEAT_NATIVE_WORKERS IORING_FEAT_RSRC_TAGS +IORING_FEAT_CQE_SKIP +IORING_FEAT_LINKED_FILE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_setup_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_setup_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -35,6 +36,21 @@ XLAT(IORING_SETUP_R_DISABLED), #define XLAT_VAL_6 ((unsigned) (IORING_SETUP_R_DISABLED)) #define XLAT_STR_6 STRINGIFY(IORING_SETUP_R_DISABLED) + XLAT(IORING_SETUP_SUBMIT_ALL), + #define XLAT_VAL_7 ((unsigned) (IORING_SETUP_SUBMIT_ALL)) + #define XLAT_STR_7 STRINGIFY(IORING_SETUP_SUBMIT_ALL) + XLAT(IORING_SETUP_COOP_TASKRUN), + #define XLAT_VAL_8 ((unsigned) (IORING_SETUP_COOP_TASKRUN)) + #define XLAT_STR_8 STRINGIFY(IORING_SETUP_COOP_TASKRUN) + XLAT(IORING_SETUP_TASKRUN_FLAG), + #define XLAT_VAL_9 ((unsigned) (IORING_SETUP_TASKRUN_FLAG)) + #define XLAT_STR_9 STRINGIFY(IORING_SETUP_TASKRUN_FLAG) + XLAT(IORING_SETUP_SQE128), + #define XLAT_VAL_10 ((unsigned) (IORING_SETUP_SQE128)) + #define XLAT_STR_10 STRINGIFY(IORING_SETUP_SQE128) + XLAT(IORING_SETUP_CQE32), + #define XLAT_VAL_11 ((unsigned) (IORING_SETUP_CQE32)) + #define XLAT_STR_11 STRINGIFY(IORING_SETUP_CQE32) }; static const struct xlat uring_setup_flags1 = { { @@ -63,6 +79,21 @@ # ifdef XLAT_VAL_6 | XLAT_VAL_6 # endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -86,6 +117,21 @@ # ifdef XLAT_STR_6 + sizeof(XLAT_STR_6) # endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -104,6 +150,16 @@ # undef XLAT_VAL_5 # undef XLAT_STR_6 # undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/uring_setup_flags.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_setup_flags.in
Changed
@@ -6,3 +6,8 @@ IORING_SETUP_CLAMP IORING_SETUP_ATTACH_WQ IORING_SETUP_R_DISABLED +IORING_SETUP_SUBMIT_ALL +IORING_SETUP_COOP_TASKRUN +IORING_SETUP_TASKRUN_FLAG +IORING_SETUP_SQE128 +IORING_SETUP_CQE32
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_sqe_flags.h
Added
@@ -0,0 +1,110 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_sqe_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat uring_sqe_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data uring_sqe_flags_xdata = { + XLAT(IOSQE_FIXED_FILE), + #define XLAT_VAL_0 ((unsigned) (IOSQE_FIXED_FILE)) + #define XLAT_STR_0 STRINGIFY(IOSQE_FIXED_FILE) + XLAT(IOSQE_IO_DRAIN), + #define XLAT_VAL_1 ((unsigned) (IOSQE_IO_DRAIN)) + #define XLAT_STR_1 STRINGIFY(IOSQE_IO_DRAIN) + XLAT(IOSQE_IO_LINK), + #define XLAT_VAL_2 ((unsigned) (IOSQE_IO_LINK)) + #define XLAT_STR_2 STRINGIFY(IOSQE_IO_LINK) + XLAT(IOSQE_IO_HARDLINK), + #define XLAT_VAL_3 ((unsigned) (IOSQE_IO_HARDLINK)) + #define XLAT_STR_3 STRINGIFY(IOSQE_IO_HARDLINK) + XLAT(IOSQE_ASYNC), + #define XLAT_VAL_4 ((unsigned) (IOSQE_ASYNC)) + #define XLAT_STR_4 STRINGIFY(IOSQE_ASYNC) + XLAT(IOSQE_BUFFER_SELECT), + #define XLAT_VAL_5 ((unsigned) (IOSQE_BUFFER_SELECT)) + #define XLAT_STR_5 STRINGIFY(IOSQE_BUFFER_SELECT) + XLAT(IOSQE_CQE_SKIP_SUCCESS), + #define XLAT_VAL_6 ((unsigned) (IOSQE_CQE_SKIP_SUCCESS)) + #define XLAT_STR_6 STRINGIFY(IOSQE_CQE_SKIP_SUCCESS) +}; +static +const struct xlat uring_sqe_flags1 = { { + .data = uring_sqe_flags_xdata, + .size = ARRAY_SIZE(uring_sqe_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/uring_sqe_flags.in
Added
@@ -0,0 +1,8 @@ +#unconditional +IOSQE_FIXED_FILE +IOSQE_IO_DRAIN +IOSQE_IO_LINK +IOSQE_IO_HARDLINK +IOSQE_ASYNC +IOSQE_BUFFER_SELECT +IOSQE_CQE_SKIP_SUCCESS
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/usagewho.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/usagewho.h
Changed
@@ -31,6 +31,7 @@ #else # define RUSAGE_THREAD 1 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_buf_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_buf_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_buf_flags_ts_src.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_buf_flags_ts_src.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_buf_flags_ts_type.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_buf_flags_ts_type.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_buf_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_buf_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_capture_modes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_capture_modes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_colorspaces.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_colorspaces.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_classes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_classes.h
Changed
@@ -3,6 +3,119 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_USER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_USER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_USER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_CODEC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_CODEC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_CODEC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_CAMERA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_CAMERA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_CAMERA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_FM_TX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_FM_TX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_FM_TX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_FLASH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_FLASH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_FLASH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_JPEG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_JPEG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_JPEG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_IMAGE_SOURCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_IMAGE_SOURCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_IMAGE_SOURCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_IMAGE_PROC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_IMAGE_PROC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_IMAGE_PROC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_DV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_DV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_DV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_FM_RX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_FM_RX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_FM_RX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_RF_TUNER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_RF_TUNER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_RF_TUNER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_DETECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_DETECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_DETECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_CODEC_STATELESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_CODEC_STATELESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_CODEC_STATELESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_CLASS_COLORIMETRY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_CLASS_COLORIMETRY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_CLASS_COLORIMETRY) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_id_bases.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_id_bases.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -56,48 +57,51 @@ XLAT(V4L2_CID_USER_CCS_BASE), #define XLAT_VAL_13 ((unsigned) (V4L2_CID_USER_CCS_BASE)) #define XLAT_STR_13 STRINGIFY(V4L2_CID_USER_CCS_BASE) + XLAT(V4L2_CID_USER_ALLEGRO_BASE), + #define XLAT_VAL_14 ((unsigned) (V4L2_CID_USER_ALLEGRO_BASE)) + #define XLAT_STR_14 STRINGIFY(V4L2_CID_USER_ALLEGRO_BASE) XLAT(V4L2_CID_CODEC_BASE), - #define XLAT_VAL_14 ((unsigned) (V4L2_CID_CODEC_BASE)) - #define XLAT_STR_14 STRINGIFY(V4L2_CID_CODEC_BASE) + #define XLAT_VAL_15 ((unsigned) (V4L2_CID_CODEC_BASE)) + #define XLAT_STR_15 STRINGIFY(V4L2_CID_CODEC_BASE) XLAT(V4L2_CID_MPEG_CX2341X_BASE), - #define XLAT_VAL_15 ((unsigned) (V4L2_CID_MPEG_CX2341X_BASE)) - #define XLAT_STR_15 STRINGIFY(V4L2_CID_MPEG_CX2341X_BASE) + #define XLAT_VAL_16 ((unsigned) (V4L2_CID_MPEG_CX2341X_BASE)) + #define XLAT_STR_16 STRINGIFY(V4L2_CID_MPEG_CX2341X_BASE) XLAT(V4L2_CID_MPEG_MFC51_BASE), - #define XLAT_VAL_16 ((unsigned) (V4L2_CID_MPEG_MFC51_BASE)) - #define XLAT_STR_16 STRINGIFY(V4L2_CID_MPEG_MFC51_BASE) + #define XLAT_VAL_17 ((unsigned) (V4L2_CID_MPEG_MFC51_BASE)) + #define XLAT_STR_17 STRINGIFY(V4L2_CID_MPEG_MFC51_BASE) XLAT(V4L2_CID_CAMERA_CLASS_BASE), - #define XLAT_VAL_17 ((unsigned) (V4L2_CID_CAMERA_CLASS_BASE)) - #define XLAT_STR_17 STRINGIFY(V4L2_CID_CAMERA_CLASS_BASE) + #define XLAT_VAL_18 ((unsigned) (V4L2_CID_CAMERA_CLASS_BASE)) + #define XLAT_STR_18 STRINGIFY(V4L2_CID_CAMERA_CLASS_BASE) XLAT(V4L2_CID_FM_TX_CLASS_BASE), - #define XLAT_VAL_18 ((unsigned) (V4L2_CID_FM_TX_CLASS_BASE)) - #define XLAT_STR_18 STRINGIFY(V4L2_CID_FM_TX_CLASS_BASE) + #define XLAT_VAL_19 ((unsigned) (V4L2_CID_FM_TX_CLASS_BASE)) + #define XLAT_STR_19 STRINGIFY(V4L2_CID_FM_TX_CLASS_BASE) XLAT(V4L2_CID_FLASH_CLASS_BASE), - #define XLAT_VAL_19 ((unsigned) (V4L2_CID_FLASH_CLASS_BASE)) - #define XLAT_STR_19 STRINGIFY(V4L2_CID_FLASH_CLASS_BASE) + #define XLAT_VAL_20 ((unsigned) (V4L2_CID_FLASH_CLASS_BASE)) + #define XLAT_STR_20 STRINGIFY(V4L2_CID_FLASH_CLASS_BASE) XLAT(V4L2_CID_JPEG_CLASS_BASE), - #define XLAT_VAL_20 ((unsigned) (V4L2_CID_JPEG_CLASS_BASE)) - #define XLAT_STR_20 STRINGIFY(V4L2_CID_JPEG_CLASS_BASE) + #define XLAT_VAL_21 ((unsigned) (V4L2_CID_JPEG_CLASS_BASE)) + #define XLAT_STR_21 STRINGIFY(V4L2_CID_JPEG_CLASS_BASE) XLAT(V4L2_CID_IMAGE_SOURCE_CLASS_BASE), - #define XLAT_VAL_21 ((unsigned) (V4L2_CID_IMAGE_SOURCE_CLASS_BASE)) - #define XLAT_STR_21 STRINGIFY(V4L2_CID_IMAGE_SOURCE_CLASS_BASE) + #define XLAT_VAL_22 ((unsigned) (V4L2_CID_IMAGE_SOURCE_CLASS_BASE)) + #define XLAT_STR_22 STRINGIFY(V4L2_CID_IMAGE_SOURCE_CLASS_BASE) XLAT(V4L2_CID_IMAGE_PROC_CLASS_BASE), - #define XLAT_VAL_22 ((unsigned) (V4L2_CID_IMAGE_PROC_CLASS_BASE)) - #define XLAT_STR_22 STRINGIFY(V4L2_CID_IMAGE_PROC_CLASS_BASE) + #define XLAT_VAL_23 ((unsigned) (V4L2_CID_IMAGE_PROC_CLASS_BASE)) + #define XLAT_STR_23 STRINGIFY(V4L2_CID_IMAGE_PROC_CLASS_BASE) XLAT(V4L2_CID_DV_CLASS_BASE), - #define XLAT_VAL_23 ((unsigned) (V4L2_CID_DV_CLASS_BASE)) - #define XLAT_STR_23 STRINGIFY(V4L2_CID_DV_CLASS_BASE) + #define XLAT_VAL_24 ((unsigned) (V4L2_CID_DV_CLASS_BASE)) + #define XLAT_STR_24 STRINGIFY(V4L2_CID_DV_CLASS_BASE) XLAT(V4L2_CID_FM_RX_CLASS_BASE), - #define XLAT_VAL_24 ((unsigned) (V4L2_CID_FM_RX_CLASS_BASE)) - #define XLAT_STR_24 STRINGIFY(V4L2_CID_FM_RX_CLASS_BASE) + #define XLAT_VAL_25 ((unsigned) (V4L2_CID_FM_RX_CLASS_BASE)) + #define XLAT_STR_25 STRINGIFY(V4L2_CID_FM_RX_CLASS_BASE) XLAT(V4L2_CID_RF_TUNER_CLASS_BASE), - #define XLAT_VAL_25 ((unsigned) (V4L2_CID_RF_TUNER_CLASS_BASE)) - #define XLAT_STR_25 STRINGIFY(V4L2_CID_RF_TUNER_CLASS_BASE) + #define XLAT_VAL_26 ((unsigned) (V4L2_CID_RF_TUNER_CLASS_BASE)) + #define XLAT_STR_26 STRINGIFY(V4L2_CID_RF_TUNER_CLASS_BASE) XLAT(V4L2_CID_DETECT_CLASS_BASE), - #define XLAT_VAL_26 ((unsigned) (V4L2_CID_DETECT_CLASS_BASE)) - #define XLAT_STR_26 STRINGIFY(V4L2_CID_DETECT_CLASS_BASE) + #define XLAT_VAL_27 ((unsigned) (V4L2_CID_DETECT_CLASS_BASE)) + #define XLAT_STR_27 STRINGIFY(V4L2_CID_DETECT_CLASS_BASE) XLAT(V4L2_CID_CODEC_STATELESS_BASE), - #define XLAT_VAL_27 ((unsigned) (V4L2_CID_CODEC_STATELESS_BASE)) - #define XLAT_STR_27 STRINGIFY(V4L2_CID_CODEC_STATELESS_BASE) + #define XLAT_VAL_28 ((unsigned) (V4L2_CID_CODEC_STATELESS_BASE)) + #define XLAT_STR_28 STRINGIFY(V4L2_CID_CODEC_STATELESS_BASE) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -191,6 +195,9 @@ # ifdef XLAT_VAL_27 | XLAT_VAL_27 # endif +# ifdef XLAT_VAL_28 + | XLAT_VAL_28 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -277,6 +284,9 @@ # ifdef XLAT_STR_27 + sizeof(XLAT_STR_27) # endif +# ifdef XLAT_STR_28 + + sizeof(XLAT_STR_28) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -337,6 +347,8 @@ # undef XLAT_VAL_26 # undef XLAT_STR_27 # undef XLAT_VAL_27 +# undef XLAT_STR_28 +# undef XLAT_VAL_28 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_id_bases.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_id_bases.in
Changed
@@ -13,6 +13,7 @@ V4L2_CID_USER_ATMEL_ISC_BASE V4L2_CID_USER_CODA_BASE V4L2_CID_USER_CCS_BASE +V4L2_CID_USER_ALLEGRO_BASE V4L2_CID_CODEC_BASE V4L2_CID_MPEG_CX2341X_BASE V4L2_CID_MPEG_MFC51_BASE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_ids.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_ids.h
Changed
@@ -3,6 +3,2991 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BRIGHTNESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BRIGHTNESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BRIGHTNESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_CONTRAST) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_CONTRAST" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_CONTRAST) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_SATURATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_SATURATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_SATURATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_HUE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_HUE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_HUE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_VOLUME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_VOLUME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_VOLUME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_BASS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_BASS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_BASS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_TREBLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_TREBLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_TREBLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_MUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_MUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_MUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_LOUDNESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_LOUDNESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_LOUDNESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BLACK_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BLACK_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BLACK_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_WHITE_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_WHITE_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_WHITE_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DO_WHITE_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DO_WHITE_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DO_WHITE_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RED_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RED_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RED_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BLUE_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BLUE_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BLUE_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_GAMMA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_GAMMA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_GAMMA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_EXPOSURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_EXPOSURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_EXPOSURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTOGAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTOGAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTOGAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_HFLIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_HFLIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_HFLIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_VFLIP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_VFLIP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_VFLIP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_HCENTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_HCENTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_HCENTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_VCENTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_VCENTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_VCENTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_POWER_LINE_FREQUENCY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_POWER_LINE_FREQUENCY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_POWER_LINE_FREQUENCY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_HUE_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_HUE_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_HUE_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_WHITE_BALANCE_TEMPERATURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_WHITE_BALANCE_TEMPERATURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_WHITE_BALANCE_TEMPERATURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_SHARPNESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_SHARPNESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_SHARPNESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BACKLIGHT_COMPENSATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BACKLIGHT_COMPENSATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BACKLIGHT_COMPENSATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_CHROMA_AGC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_CHROMA_AGC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_CHROMA_AGC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_COLOR_KILLER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_COLOR_KILLER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_COLOR_KILLER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_COLORFX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_COLORFX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_COLORFX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTOBRIGHTNESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTOBRIGHTNESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTOBRIGHTNESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BAND_STOP_FILTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BAND_STOP_FILTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BAND_STOP_FILTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ROTATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ROTATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ROTATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_BG_COLOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_BG_COLOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_BG_COLOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_CHROMA_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_CHROMA_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_CHROMA_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ILLUMINATORS_1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ILLUMINATORS_1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ILLUMINATORS_1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ILLUMINATORS_2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ILLUMINATORS_2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ILLUMINATORS_2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MIN_BUFFERS_FOR_CAPTURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MIN_BUFFERS_FOR_CAPTURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MIN_BUFFERS_FOR_CAPTURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MIN_BUFFERS_FOR_OUTPUT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MIN_BUFFERS_FOR_OUTPUT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MIN_BUFFERS_FOR_OUTPUT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ALPHA_COMPONENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ALPHA_COMPONENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ALPHA_COMPONENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_COLORFX_CBCR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_COLORFX_CBCR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_COLORFX_CBCR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PID_PMT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PID_PMT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PID_PMT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PID_AUDIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PID_AUDIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PID_AUDIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PID_VIDEO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PID_VIDEO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PID_VIDEO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PID_PCR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PID_PCR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PID_PCR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PES_ID_AUDIO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PES_ID_AUDIO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PES_ID_AUDIO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_PES_ID_VIDEO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_PES_ID_VIDEO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_PES_ID_VIDEO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_STREAM_VBI_FMT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_STREAM_VBI_FMT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_STREAM_VBI_FMT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_ENCODING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_ENCODING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_ENCODING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_L1_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_L1_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_L1_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_L2_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_L2_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_L2_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_L3_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_L3_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_L3_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_MODE_EXTENSION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_MODE_EXTENSION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_MODE_EXTENSION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_EMPHASIS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_EMPHASIS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_EMPHASIS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_CRC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_CRC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_CRC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_MUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_MUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_MUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_AAC_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_AAC_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_AAC_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_AC3_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_AC3_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_AC3_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_DEC_PLAYBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_DEC_PLAYBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_DEC_PLAYBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_AUDIO_DEC_MULTILINGUAL_PLAYBACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_AUDIO_DEC_MULTILINGUAL_PLAYBACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_AUDIO_DEC_MULTILINGUAL_PLAYBACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_ENCODING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_ENCODING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_ENCODING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_ASPECT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_ASPECT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_ASPECT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_B_FRAMES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_B_FRAMES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_B_FRAMES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_GOP_SIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_GOP_SIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_GOP_SIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_GOP_CLOSURE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_GOP_CLOSURE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_GOP_CLOSURE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_PULLDOWN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_PULLDOWN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_PULLDOWN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_BITRATE_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_BITRATE_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_BITRATE_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_BITRATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_BITRATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_BITRATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_BITRATE_PEAK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_BITRATE_PEAK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_BITRATE_PEAK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MUTE_YUV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MUTE_YUV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MUTE_YUV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DECODER_SLICE_INTERFACE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DECODER_SLICE_INTERFACE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DECODER_SLICE_INTERFACE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEADER_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEADER_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEADER_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MAX_REF_PIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MAX_REF_PIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MAX_REF_PIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_BYTES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_BYTES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_BYTES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VBV_SIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VBV_SIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VBV_SIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DEC_PTS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DEC_PTS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DEC_PTS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DEC_FRAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DEC_FRAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DEC_FRAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VBV_DELAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VBV_DELAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VBV_DELAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MV_H_SEARCH_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MV_H_SEARCH_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MV_H_SEARCH_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MV_V_SEARCH_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MV_V_SEARCH_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MV_V_SEARCH_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_BASELAYER_PRIORITY_ID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_BASELAYER_PRIORITY_ID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_BASELAYER_PRIORITY_ID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_AU_DELIMITER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_AU_DELIMITER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_AU_DELIMITER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_LTR_COUNT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_LTR_COUNT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_LTR_COUNT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FWHT_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FWHT_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FWHT_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FWHT_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FWHT_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FWHT_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H263_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H263_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H263_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H263_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H263_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H263_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_I_PERIOD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_I_PERIOD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_I_PERIOD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_PROFILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_PROFILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_PROFILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_ASO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_ASO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_ASO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_MPEG4_QPEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_MPEG4_QPEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_MPEG4_QPEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VP8_PROFILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VP8_PROFILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VP8_PROFILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_VP9_PROFILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_VP9_PROFILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_VP9_PROFILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_PROFILE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_PROFILE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_PROFILE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_TIER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_TIER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_TIER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_PADDING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_PADDING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_EXPOSURE_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_EXPOSURE_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_EXPOSURE_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_EXPOSURE_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_EXPOSURE_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_EXPOSURE_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_EXPOSURE_AUTO_PRIORITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_EXPOSURE_AUTO_PRIORITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_EXPOSURE_AUTO_PRIORITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PAN_RELATIVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PAN_RELATIVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PAN_RELATIVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TILT_RELATIVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TILT_RELATIVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TILT_RELATIVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PAN_RESET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PAN_RESET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PAN_RESET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TILT_RESET) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TILT_RESET" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TILT_RESET) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PAN_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PAN_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PAN_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TILT_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TILT_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TILT_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FOCUS_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FOCUS_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FOCUS_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FOCUS_RELATIVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FOCUS_RELATIVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FOCUS_RELATIVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FOCUS_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FOCUS_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FOCUS_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ZOOM_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ZOOM_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ZOOM_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ZOOM_RELATIVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ZOOM_RELATIVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ZOOM_RELATIVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ZOOM_CONTINUOUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ZOOM_CONTINUOUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ZOOM_CONTINUOUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PRIVACY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PRIVACY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PRIVACY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_IRIS_ABSOLUTE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_IRIS_ABSOLUTE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_IRIS_ABSOLUTE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_IRIS_RELATIVE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_IRIS_RELATIVE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_IRIS_RELATIVE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_EXPOSURE_BIAS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_EXPOSURE_BIAS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_EXPOSURE_BIAS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_WIDE_DYNAMIC_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_WIDE_DYNAMIC_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_WIDE_DYNAMIC_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_IMAGE_STABILIZATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_IMAGE_STABILIZATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_IMAGE_STABILIZATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ISO_SENSITIVITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ISO_SENSITIVITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ISO_SENSITIVITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ISO_SENSITIVITY_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ISO_SENSITIVITY_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ISO_SENSITIVITY_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_EXPOSURE_METERING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_EXPOSURE_METERING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_EXPOSURE_METERING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_SCENE_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_SCENE_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_SCENE_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_3A_LOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_3A_LOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_3A_LOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_FOCUS_START) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_FOCUS_START" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_FOCUS_START) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_FOCUS_STOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_FOCUS_STOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_FOCUS_STOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_FOCUS_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_FOCUS_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_FOCUS_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUTO_FOCUS_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUTO_FOCUS_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUTO_FOCUS_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PAN_SPEED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PAN_SPEED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PAN_SPEED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TILT_SPEED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TILT_SPEED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TILT_SPEED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_DEVIATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_DEVIATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_DEVIATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_PI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_PI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_PI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_PTY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_PTY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_PTY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_PS_NAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_PS_NAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_PS_NAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_RADIO_TEXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_RADIO_TEXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_RADIO_TEXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_MONO_STEREO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_MONO_STEREO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_MONO_STEREO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_ARTIFICIAL_HEAD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_ARTIFICIAL_HEAD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_ARTIFICIAL_HEAD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_COMPRESSED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_COMPRESSED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_COMPRESSED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_DYNAMIC_PTY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_DYNAMIC_PTY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_DYNAMIC_PTY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_TRAFFIC_PROGRAM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_TRAFFIC_PROGRAM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_TRAFFIC_PROGRAM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_MUSIC_SPEECH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_MUSIC_SPEECH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_MUSIC_SPEECH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_ALT_FREQS_ENABLE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_ALT_FREQS_ENABLE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_ALT_FREQS_ENABLE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_TX_ALT_FREQS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_TX_ALT_FREQS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_TX_ALT_FREQS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_LIMITER_ENABLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_LIMITER_ENABLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_LIMITER_ENABLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_LIMITER_RELEASE_TIME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_LIMITER_RELEASE_TIME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_LIMITER_RELEASE_TIME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_LIMITER_DEVIATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_LIMITER_DEVIATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_LIMITER_DEVIATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_COMPRESSION_ENABLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_COMPRESSION_ENABLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_COMPRESSION_ENABLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_COMPRESSION_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_COMPRESSION_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_COMPRESSION_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_COMPRESSION_THRESHOLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_COMPRESSION_THRESHOLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_COMPRESSION_THRESHOLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PILOT_TONE_ENABLED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PILOT_TONE_ENABLED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PILOT_TONE_ENABLED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PILOT_TONE_DEVIATION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PILOT_TONE_DEVIATION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PILOT_TONE_DEVIATION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PILOT_TONE_FREQUENCY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PILOT_TONE_FREQUENCY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PILOT_TONE_FREQUENCY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TUNE_PREEMPHASIS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TUNE_PREEMPHASIS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TUNE_PREEMPHASIS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TUNE_POWER_LEVEL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TUNE_POWER_LEVEL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TUNE_POWER_LEVEL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TUNE_ANTENNA_CAPACITOR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TUNE_ANTENNA_CAPACITOR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TUNE_ANTENNA_CAPACITOR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_LED_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_LED_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_LED_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_STROBE_SOURCE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_STROBE_SOURCE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_STROBE_SOURCE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_STROBE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_STROBE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_STROBE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_STROBE_STOP) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_STROBE_STOP" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_STROBE_STOP) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_STROBE_STATUS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_STROBE_STATUS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_STROBE_STATUS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_TIMEOUT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_TIMEOUT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_TIMEOUT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_INTENSITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_INTENSITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_INTENSITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_TORCH_INTENSITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_TORCH_INTENSITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_TORCH_INTENSITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_INDICATOR_INTENSITY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_INDICATOR_INTENSITY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_INDICATOR_INTENSITY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_FAULT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_FAULT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_FAULT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_CHARGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_CHARGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_CHARGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_FLASH_READY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_FLASH_READY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_FLASH_READY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_VBLANK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_VBLANK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_VBLANK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_HBLANK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_HBLANK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_HBLANK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_ANALOGUE_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_ANALOGUE_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_ANALOGUE_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TEST_PATTERN_RED) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TEST_PATTERN_RED" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TEST_PATTERN_RED) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TEST_PATTERN_GREENR) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TEST_PATTERN_GREENR" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TEST_PATTERN_GREENR) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TEST_PATTERN_BLUE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TEST_PATTERN_BLUE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TEST_PATTERN_BLUE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TEST_PATTERN_GREENB) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TEST_PATTERN_GREENB" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TEST_PATTERN_GREENB) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_UNIT_CELL_SIZE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_UNIT_CELL_SIZE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_UNIT_CELL_SIZE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_NOTIFY_GAINS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_NOTIFY_GAINS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_NOTIFY_GAINS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_LINK_FREQ) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_LINK_FREQ" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_LINK_FREQ) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_PIXEL_RATE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_PIXEL_RATE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_PIXEL_RATE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TEST_PATTERN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TEST_PATTERN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TEST_PATTERN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DEINTERLACING_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DEINTERLACING_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DEINTERLACING_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DIGITAL_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DIGITAL_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DIGITAL_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DV_TX_RGB_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DV_TX_RGB_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DV_TX_RGB_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DV_TX_IT_CONTENT_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DV_TX_IT_CONTENT_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DV_TX_IT_CONTENT_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DV_RX_RGB_RANGE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DV_RX_RGB_RANGE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DV_RX_RGB_RANGE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DV_RX_IT_CONTENT_TYPE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DV_RX_IT_CONTENT_TYPE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DV_RX_IT_CONTENT_TYPE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_TUNE_DEEMPHASIS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_TUNE_DEEMPHASIS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_TUNE_DEEMPHASIS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RECEPTION) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RECEPTION" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RECEPTION) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_PTY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_PTY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_PTY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_PS_NAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_PS_NAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_PS_NAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_RADIO_TEXT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_RADIO_TEXT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_RADIO_TEXT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_TRAFFIC_PROGRAM) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_TRAFFIC_PROGRAM" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_TRAFFIC_PROGRAM) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RDS_RX_MUSIC_SPEECH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RDS_RX_MUSIC_SPEECH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RDS_RX_MUSIC_SPEECH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_BANDWIDTH_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_BANDWIDTH_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_BANDWIDTH_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_BANDWIDTH) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_BANDWIDTH" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_BANDWIDTH) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_RF_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_RF_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_RF_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_LNA_GAIN_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_LNA_GAIN_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_LNA_GAIN_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_LNA_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_LNA_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_LNA_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_MIXER_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_MIXER_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_MIXER_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_IF_GAIN_AUTO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_IF_GAIN_AUTO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_IF_GAIN_AUTO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_IF_GAIN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_IF_GAIN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_IF_GAIN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_RF_TUNER_PLL_LOCK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_RF_TUNER_PLL_LOCK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_RF_TUNER_PLL_LOCK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DETECT_MD_MODE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DETECT_MD_MODE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DETECT_MD_MODE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DETECT_MD_THRESHOLD_GRID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DETECT_MD_THRESHOLD_GRID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DETECT_MD_THRESHOLD_GRID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CID_DETECT_MD_REGION_GRID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CID_DETECT_MD_REGION_GRID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CID_DETECT_MD_REGION_GRID) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -319,827 +3304,836 @@ XLAT(V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR), #define XLAT_VAL_99 ((unsigned) (V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR)) #define XLAT_STR_99 STRINGIFY(V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR) + XLAT(V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD), + #define XLAT_VAL_100 ((unsigned) (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD)) + #define XLAT_STR_100 STRINGIFY(V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD) + XLAT(V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE), + #define XLAT_VAL_101 ((unsigned) (V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE)) + #define XLAT_STR_101 STRINGIFY(V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS), - #define XLAT_VAL_100 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS)) - #define XLAT_STR_100 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS) + #define XLAT_VAL_102 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS)) + #define XLAT_STR_102 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS) XLAT(V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION), - #define XLAT_VAL_101 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION)) - #define XLAT_STR_101 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION) + #define XLAT_VAL_103 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION)) + #define XLAT_STR_103 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION) XLAT(V4L2_CID_FWHT_I_FRAME_QP), - #define XLAT_VAL_102 ((unsigned) (V4L2_CID_FWHT_I_FRAME_QP)) - #define XLAT_STR_102 STRINGIFY(V4L2_CID_FWHT_I_FRAME_QP) + #define XLAT_VAL_104 ((unsigned) (V4L2_CID_FWHT_I_FRAME_QP)) + #define XLAT_STR_104 STRINGIFY(V4L2_CID_FWHT_I_FRAME_QP) XLAT(V4L2_CID_FWHT_P_FRAME_QP), - #define XLAT_VAL_103 ((unsigned) (V4L2_CID_FWHT_P_FRAME_QP)) - #define XLAT_STR_103 STRINGIFY(V4L2_CID_FWHT_P_FRAME_QP) + #define XLAT_VAL_105 ((unsigned) (V4L2_CID_FWHT_P_FRAME_QP)) + #define XLAT_STR_105 STRINGIFY(V4L2_CID_FWHT_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP), - #define XLAT_VAL_104 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP)) - #define XLAT_STR_104 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP) + #define XLAT_VAL_106 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP)) + #define XLAT_STR_106 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP), - #define XLAT_VAL_105 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP)) - #define XLAT_STR_105 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP) + #define XLAT_VAL_107 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP)) + #define XLAT_STR_107 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP), - #define XLAT_VAL_106 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP)) - #define XLAT_STR_106 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP) + #define XLAT_VAL_108 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP)) + #define XLAT_STR_108 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H263_MIN_QP), - #define XLAT_VAL_107 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_MIN_QP)) - #define XLAT_STR_107 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_MIN_QP) + #define XLAT_VAL_109 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_MIN_QP)) + #define XLAT_STR_109 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_H263_MAX_QP), - #define XLAT_VAL_108 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_MAX_QP)) - #define XLAT_STR_108 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_MAX_QP) + #define XLAT_VAL_110 ((unsigned) (V4L2_CID_MPEG_VIDEO_H263_MAX_QP)) + #define XLAT_STR_110 STRINGIFY(V4L2_CID_MPEG_VIDEO_H263_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP), - #define XLAT_VAL_109 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP)) - #define XLAT_STR_109 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP) + #define XLAT_VAL_111 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP)) + #define XLAT_STR_111 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP), - #define XLAT_VAL_110 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP)) - #define XLAT_STR_110 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP) + #define XLAT_VAL_112 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP)) + #define XLAT_STR_112 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP), - #define XLAT_VAL_111 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP)) - #define XLAT_STR_111 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP) + #define XLAT_VAL_113 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP)) + #define XLAT_STR_113 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_MIN_QP), - #define XLAT_VAL_112 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_MIN_QP)) - #define XLAT_STR_112 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_MIN_QP) + #define XLAT_VAL_114 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_MIN_QP)) + #define XLAT_STR_114 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_MAX_QP), - #define XLAT_VAL_113 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_MAX_QP)) - #define XLAT_STR_113 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_MAX_QP) + #define XLAT_VAL_115 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_MAX_QP)) + #define XLAT_STR_115 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM), - #define XLAT_VAL_114 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM)) - #define XLAT_STR_114 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM) + #define XLAT_VAL_116 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM)) + #define XLAT_STR_116 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM) XLAT(V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE), - #define XLAT_VAL_115 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE)) - #define XLAT_STR_115 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE) + #define XLAT_VAL_117 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE)) + #define XLAT_STR_117 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE) XLAT(V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE), - #define XLAT_VAL_116 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE)) - #define XLAT_STR_116 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE) + #define XLAT_VAL_118 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE)) + #define XLAT_STR_118 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE) XLAT(V4L2_CID_MPEG_VIDEO_H264_I_PERIOD), - #define XLAT_VAL_117 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_PERIOD)) - #define XLAT_STR_117 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_PERIOD) + #define XLAT_VAL_119 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_PERIOD)) + #define XLAT_STR_119 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_PERIOD) XLAT(V4L2_CID_MPEG_VIDEO_H264_LEVEL), - #define XLAT_VAL_118 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LEVEL)) - #define XLAT_STR_118 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LEVEL) + #define XLAT_VAL_120 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LEVEL)) + #define XLAT_STR_120 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LEVEL) XLAT(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA), - #define XLAT_VAL_119 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA)) - #define XLAT_STR_119 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA) + #define XLAT_VAL_121 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA)) + #define XLAT_STR_121 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA) XLAT(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA), - #define XLAT_VAL_120 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA)) - #define XLAT_STR_120 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA) + #define XLAT_VAL_122 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA)) + #define XLAT_STR_122 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA) XLAT(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE), - #define XLAT_VAL_121 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE)) - #define XLAT_STR_121 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE) + #define XLAT_VAL_123 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE)) + #define XLAT_STR_123 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE) XLAT(V4L2_CID_MPEG_VIDEO_H264_PROFILE), - #define XLAT_VAL_122 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_PROFILE)) - #define XLAT_STR_122 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_PROFILE) + #define XLAT_VAL_124 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_PROFILE)) + #define XLAT_STR_124 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_PROFILE) XLAT(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT), - #define XLAT_VAL_123 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT)) - #define XLAT_STR_123 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT) + #define XLAT_VAL_125 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT)) + #define XLAT_STR_125 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT) XLAT(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH), - #define XLAT_VAL_124 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH)) - #define XLAT_STR_124 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH) + #define XLAT_VAL_126 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH)) + #define XLAT_STR_126 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH) XLAT(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE), - #define XLAT_VAL_125 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE)) - #define XLAT_STR_125 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE) + #define XLAT_VAL_127 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE)) + #define XLAT_STR_127 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE) XLAT(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC), - #define XLAT_VAL_126 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC)) - #define XLAT_STR_126 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC) + #define XLAT_VAL_128 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC)) + #define XLAT_STR_128 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC) XLAT(V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING), - #define XLAT_VAL_127 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING)) - #define XLAT_STR_127 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING) + #define XLAT_VAL_129 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING)) + #define XLAT_STR_129 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING) XLAT(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0), - #define XLAT_VAL_128 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0)) - #define XLAT_STR_128 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0) + #define XLAT_VAL_130 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0)) + #define XLAT_STR_130 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0) XLAT(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE), - #define XLAT_VAL_129 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE)) - #define XLAT_STR_129 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE) + #define XLAT_VAL_131 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE)) + #define XLAT_STR_131 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO), - #define XLAT_VAL_130 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO)) - #define XLAT_STR_130 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO) + #define XLAT_VAL_132 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO)) + #define XLAT_STR_132 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE), - #define XLAT_VAL_131 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE)) - #define XLAT_STR_131 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE) + #define XLAT_VAL_133 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE)) + #define XLAT_STR_133 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP), - #define XLAT_VAL_132 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP)) - #define XLAT_STR_132 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP) + #define XLAT_VAL_134 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP)) + #define XLAT_STR_134 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION), - #define XLAT_VAL_133 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION)) - #define XLAT_STR_133 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION) + #define XLAT_VAL_135 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION)) + #define XLAT_STR_135 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE), - #define XLAT_VAL_134 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE)) - #define XLAT_STR_134 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE) + #define XLAT_VAL_136 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE)) + #define XLAT_STR_136 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE) XLAT(V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH), - #define XLAT_VAL_135 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH)) - #define XLAT_STR_135 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH) + #define XLAT_VAL_137 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH)) + #define XLAT_STR_137 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH) XLAT(V4L2_CID_MPEG_VIDEO_H264_ASO), - #define XLAT_VAL_136 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ASO)) - #define XLAT_STR_136 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ASO) + #define XLAT_VAL_138 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ASO)) + #define XLAT_STR_138 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ASO) XLAT(V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER), - #define XLAT_VAL_137 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER)) - #define XLAT_STR_137 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER) + #define XLAT_VAL_139 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER)) + #define XLAT_STR_139 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING), - #define XLAT_VAL_138 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING)) - #define XLAT_STR_138 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING) + #define XLAT_VAL_140 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING)) + #define XLAT_STR_140 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE), - #define XLAT_VAL_139 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE)) - #define XLAT_STR_139 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE) + #define XLAT_VAL_141 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE)) + #define XLAT_STR_141 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER), - #define XLAT_VAL_140 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER)) - #define XLAT_STR_140 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER) + #define XLAT_VAL_142 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER)) + #define XLAT_STR_142 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP), - #define XLAT_VAL_141 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP)) - #define XLAT_STR_141 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP) + #define XLAT_VAL_143 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP)) + #define XLAT_STR_143 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION), - #define XLAT_VAL_142 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION)) - #define XLAT_STR_142 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION) + #define XLAT_VAL_144 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION)) + #define XLAT_STR_144 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION) XLAT(V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET), - #define XLAT_VAL_143 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET)) - #define XLAT_STR_143 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET) + #define XLAT_VAL_145 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET)) + #define XLAT_STR_145 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET) XLAT(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP), - #define XLAT_VAL_144 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP)) - #define XLAT_STR_144 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP) + #define XLAT_VAL_146 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP)) + #define XLAT_STR_146 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP), - #define XLAT_VAL_145 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP)) - #define XLAT_STR_145 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP) + #define XLAT_VAL_147 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP)) + #define XLAT_STR_147 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP), - #define XLAT_VAL_146 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP)) - #define XLAT_STR_146 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP) + #define XLAT_VAL_148 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP)) + #define XLAT_STR_148 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP), - #define XLAT_VAL_147 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP)) - #define XLAT_STR_147 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP) + #define XLAT_VAL_149 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP)) + #define XLAT_STR_149 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP), - #define XLAT_VAL_148 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP)) - #define XLAT_STR_148 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP) + #define XLAT_VAL_150 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP)) + #define XLAT_STR_150 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP), - #define XLAT_VAL_149 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP)) - #define XLAT_STR_149 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP) + #define XLAT_VAL_151 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP)) + #define XLAT_STR_151 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR), - #define XLAT_VAL_150 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR)) - #define XLAT_STR_150 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR) + #define XLAT_VAL_152 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR)) + #define XLAT_STR_152 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR), - #define XLAT_VAL_151 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR)) - #define XLAT_STR_151 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR) + #define XLAT_VAL_153 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR)) + #define XLAT_STR_153 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR), - #define XLAT_VAL_152 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR)) - #define XLAT_STR_152 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR) + #define XLAT_VAL_154 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR)) + #define XLAT_STR_154 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR), - #define XLAT_VAL_153 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR)) - #define XLAT_STR_153 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR) + #define XLAT_VAL_155 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR)) + #define XLAT_STR_155 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR), - #define XLAT_VAL_154 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR)) - #define XLAT_STR_154 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR) + #define XLAT_VAL_156 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR)) + #define XLAT_STR_156 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR), - #define XLAT_VAL_155 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR)) - #define XLAT_STR_155 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR) + #define XLAT_VAL_157 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR)) + #define XLAT_STR_157 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR) XLAT(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR), - #define XLAT_VAL_156 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR)) - #define XLAT_STR_156 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR) + #define XLAT_VAL_158 ((unsigned) (V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR)) + #define XLAT_STR_158 STRINGIFY(V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP), - #define XLAT_VAL_157 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP)) - #define XLAT_STR_157 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP) + #define XLAT_VAL_159 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP)) + #define XLAT_STR_159 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP), - #define XLAT_VAL_158 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP)) - #define XLAT_STR_158 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP) + #define XLAT_VAL_160 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP)) + #define XLAT_STR_160 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP), - #define XLAT_VAL_159 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP)) - #define XLAT_STR_159 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP) + #define XLAT_VAL_161 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP)) + #define XLAT_STR_161 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP), - #define XLAT_VAL_160 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP)) - #define XLAT_STR_160 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP) + #define XLAT_VAL_162 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP)) + #define XLAT_STR_162 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP), - #define XLAT_VAL_161 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP)) - #define XLAT_STR_161 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP) + #define XLAT_VAL_163 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP)) + #define XLAT_STR_163 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL), - #define XLAT_VAL_162 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL)) - #define XLAT_STR_162 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL) + #define XLAT_VAL_164 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL)) + #define XLAT_STR_164 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE), - #define XLAT_VAL_163 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE)) - #define XLAT_STR_163 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE) + #define XLAT_VAL_165 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE)) + #define XLAT_STR_165 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE) XLAT(V4L2_CID_MPEG_VIDEO_MPEG4_QPEL), - #define XLAT_VAL_164 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_QPEL)) - #define XLAT_STR_164 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_QPEL) + #define XLAT_VAL_166 ((unsigned) (V4L2_CID_MPEG_VIDEO_MPEG4_QPEL)) + #define XLAT_STR_166 STRINGIFY(V4L2_CID_MPEG_VIDEO_MPEG4_QPEL) XLAT(V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS), - #define XLAT_VAL_165 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS)) - #define XLAT_STR_165 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS) + #define XLAT_VAL_167 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS)) + #define XLAT_STR_167 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS) XLAT(V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4), - #define XLAT_VAL_166 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4)) - #define XLAT_STR_166 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4) + #define XLAT_VAL_168 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4)) + #define XLAT_STR_168 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4) XLAT(V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES), - #define XLAT_VAL_167 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES)) - #define XLAT_STR_167 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES) + #define XLAT_VAL_169 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES)) + #define XLAT_STR_169 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES) XLAT(V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL), - #define XLAT_VAL_168 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL)) - #define XLAT_STR_168 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL) + #define XLAT_VAL_170 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL)) + #define XLAT_STR_170 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL) XLAT(V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS), - #define XLAT_VAL_169 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS)) - #define XLAT_STR_169 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS) + #define XLAT_VAL_171 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS)) + #define XLAT_STR_171 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS) XLAT(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD), - #define XLAT_VAL_170 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD)) - #define XLAT_STR_170 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD) + #define XLAT_VAL_172 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD)) + #define XLAT_STR_172 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD) XLAT(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL), - #define XLAT_VAL_171 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL)) - #define XLAT_STR_171 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL) + #define XLAT_VAL_173 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL)) + #define XLAT_STR_173 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL) XLAT(V4L2_CID_MPEG_VIDEO_VPX_MIN_QP), - #define XLAT_VAL_172 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_MIN_QP)) - #define XLAT_STR_172 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_MIN_QP) + #define XLAT_VAL_174 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_MIN_QP)) + #define XLAT_STR_174 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_VPX_MAX_QP), - #define XLAT_VAL_173 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_MAX_QP)) - #define XLAT_STR_173 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_MAX_QP) + #define XLAT_VAL_175 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_MAX_QP)) + #define XLAT_STR_175 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP), - #define XLAT_VAL_174 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP)) - #define XLAT_STR_174 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP) + #define XLAT_VAL_176 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP)) + #define XLAT_STR_176 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP), - #define XLAT_VAL_175 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP)) - #define XLAT_STR_175 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP) + #define XLAT_VAL_177 ((unsigned) (V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP)) + #define XLAT_STR_177 STRINGIFY(V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_VP8_PROFILE), - #define XLAT_VAL_176 ((unsigned) (V4L2_CID_MPEG_VIDEO_VP8_PROFILE)) - #define XLAT_STR_176 STRINGIFY(V4L2_CID_MPEG_VIDEO_VP8_PROFILE) + #define XLAT_VAL_178 ((unsigned) (V4L2_CID_MPEG_VIDEO_VP8_PROFILE)) + #define XLAT_STR_178 STRINGIFY(V4L2_CID_MPEG_VIDEO_VP8_PROFILE) XLAT(V4L2_CID_MPEG_VIDEO_VP9_PROFILE), - #define XLAT_VAL_177 ((unsigned) (V4L2_CID_MPEG_VIDEO_VP9_PROFILE)) - #define XLAT_STR_177 STRINGIFY(V4L2_CID_MPEG_VIDEO_VP9_PROFILE) + #define XLAT_VAL_179 ((unsigned) (V4L2_CID_MPEG_VIDEO_VP9_PROFILE)) + #define XLAT_STR_179 STRINGIFY(V4L2_CID_MPEG_VIDEO_VP9_PROFILE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP), - #define XLAT_VAL_178 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP)) - #define XLAT_STR_178 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP) + #define XLAT_VAL_180 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP)) + #define XLAT_STR_180 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP), - #define XLAT_VAL_179 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP)) - #define XLAT_STR_179 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP) + #define XLAT_VAL_181 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP)) + #define XLAT_STR_181 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP), - #define XLAT_VAL_180 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP)) - #define XLAT_STR_180 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP) + #define XLAT_VAL_182 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP)) + #define XLAT_STR_182 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP), - #define XLAT_VAL_181 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP)) - #define XLAT_STR_181 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP) + #define XLAT_VAL_183 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP)) + #define XLAT_STR_183 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP), - #define XLAT_VAL_182 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP)) - #define XLAT_STR_182 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP) + #define XLAT_VAL_184 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP)) + #define XLAT_STR_184 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP), - #define XLAT_VAL_183 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP)) - #define XLAT_STR_183 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP) + #define XLAT_VAL_185 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP)) + #define XLAT_STR_185 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE), - #define XLAT_VAL_184 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE)) - #define XLAT_STR_184 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE) + #define XLAT_VAL_186 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE)) + #define XLAT_STR_186 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER), - #define XLAT_VAL_185 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER)) - #define XLAT_STR_185 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER) + #define XLAT_VAL_187 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER)) + #define XLAT_STR_187 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP), - #define XLAT_VAL_186 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP)) - #define XLAT_STR_186 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP) + #define XLAT_VAL_188 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP)) + #define XLAT_STR_188 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP), - #define XLAT_VAL_187 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP)) - #define XLAT_STR_187 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP) + #define XLAT_VAL_189 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP)) + #define XLAT_STR_189 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP), - #define XLAT_VAL_188 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP)) - #define XLAT_STR_188 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP) + #define XLAT_VAL_190 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP)) + #define XLAT_STR_190 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP), - #define XLAT_VAL_189 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP)) - #define XLAT_STR_189 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP) + #define XLAT_VAL_191 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP)) + #define XLAT_STR_191 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP), - #define XLAT_VAL_190 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP)) - #define XLAT_STR_190 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP) + #define XLAT_VAL_192 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP)) + #define XLAT_STR_192 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP), - #define XLAT_VAL_191 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP)) - #define XLAT_STR_191 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP) + #define XLAT_VAL_193 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP)) + #define XLAT_STR_193 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP), - #define XLAT_VAL_192 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP)) - #define XLAT_STR_192 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP) + #define XLAT_VAL_194 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP)) + #define XLAT_STR_194 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_PROFILE), - #define XLAT_VAL_193 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_PROFILE)) - #define XLAT_STR_193 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_PROFILE) + #define XLAT_VAL_195 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_PROFILE)) + #define XLAT_STR_195 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_PROFILE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_LEVEL), - #define XLAT_VAL_194 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LEVEL)) - #define XLAT_STR_194 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LEVEL) + #define XLAT_VAL_196 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LEVEL)) + #define XLAT_STR_196 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LEVEL) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION), - #define XLAT_VAL_195 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION)) - #define XLAT_STR_195 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION) + #define XLAT_VAL_197 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION)) + #define XLAT_STR_197 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_TIER), - #define XLAT_VAL_196 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TIER)) - #define XLAT_STR_196 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TIER) + #define XLAT_VAL_198 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TIER)) + #define XLAT_STR_198 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TIER) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH), - #define XLAT_VAL_197 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH)) - #define XLAT_STR_197 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH) + #define XLAT_VAL_199 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH)) + #define XLAT_STR_199 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE), - #define XLAT_VAL_198 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE)) - #define XLAT_STR_198 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE) + #define XLAT_VAL_200 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE)) + #define XLAT_STR_200 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2), - #define XLAT_VAL_199 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2)) - #define XLAT_STR_199 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2) + #define XLAT_VAL_201 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2)) + #define XLAT_STR_201 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2), - #define XLAT_VAL_200 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2)) - #define XLAT_STR_200 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2) + #define XLAT_VAL_202 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2)) + #define XLAT_STR_202 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE), - #define XLAT_VAL_201 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE)) - #define XLAT_STR_201 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE) + #define XLAT_VAL_203 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE)) + #define XLAT_STR_203 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD), - #define XLAT_VAL_202 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD)) - #define XLAT_STR_202 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD) + #define XLAT_VAL_204 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD)) + #define XLAT_STR_204 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU), - #define XLAT_VAL_203 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU)) - #define XLAT_STR_203 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU) + #define XLAT_VAL_205 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU)) + #define XLAT_STR_205 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED), - #define XLAT_VAL_204 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED)) - #define XLAT_STR_204 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED) + #define XLAT_VAL_206 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED)) + #define XLAT_STR_206 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT), - #define XLAT_VAL_205 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT)) - #define XLAT_STR_205 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT) + #define XLAT_VAL_207 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT)) + #define XLAT_STR_207 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB), - #define XLAT_VAL_206 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB)) - #define XLAT_STR_206 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB) + #define XLAT_VAL_208 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB)) + #define XLAT_STR_208 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID), - #define XLAT_VAL_207 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID)) - #define XLAT_STR_207 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID) + #define XLAT_VAL_209 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID)) + #define XLAT_STR_209 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING), - #define XLAT_VAL_208 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING)) - #define XLAT_STR_208 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING) + #define XLAT_VAL_210 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING)) + #define XLAT_STR_210 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1), - #define XLAT_VAL_209 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1)) - #define XLAT_STR_209 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1) + #define XLAT_VAL_211 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1)) + #define XLAT_STR_211 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT), - #define XLAT_VAL_210 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT)) - #define XLAT_STR_210 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT) + #define XLAT_VAL_212 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT)) + #define XLAT_STR_212 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_INTRA_PU_SPLIT) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION), - #define XLAT_VAL_211 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION)) - #define XLAT_STR_211 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION) + #define XLAT_VAL_213 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION)) + #define XLAT_STR_213 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE), - #define XLAT_VAL_212 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE)) - #define XLAT_STR_212 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE) + #define XLAT_VAL_214 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE)) + #define XLAT_STR_214 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD), - #define XLAT_VAL_213 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD)) - #define XLAT_STR_213 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD) + #define XLAT_VAL_215 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD)) + #define XLAT_STR_215 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR), - #define XLAT_VAL_214 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR)) - #define XLAT_STR_214 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR) + #define XLAT_VAL_216 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR)) + #define XLAT_STR_216 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR), - #define XLAT_VAL_215 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR)) - #define XLAT_STR_215 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR) + #define XLAT_VAL_217 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR)) + #define XLAT_STR_217 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR), - #define XLAT_VAL_216 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR)) - #define XLAT_STR_216 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR) + #define XLAT_VAL_218 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR)) + #define XLAT_STR_218 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR), - #define XLAT_VAL_217 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR)) - #define XLAT_STR_217 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR) + #define XLAT_VAL_219 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR)) + #define XLAT_STR_219 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR), - #define XLAT_VAL_218 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR)) - #define XLAT_STR_218 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR) + #define XLAT_VAL_220 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR)) + #define XLAT_STR_220 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR), - #define XLAT_VAL_219 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR)) - #define XLAT_STR_219 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR) + #define XLAT_VAL_221 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR)) + #define XLAT_STR_221 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR), - #define XLAT_VAL_220 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR)) - #define XLAT_STR_220 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR) + #define XLAT_VAL_222 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR)) + #define XLAT_STR_222 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR) XLAT(V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES), - #define XLAT_VAL_221 ((unsigned) (V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES)) - #define XLAT_STR_221 STRINGIFY(V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES) + #define XLAT_VAL_223 ((unsigned) (V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES)) + #define XLAT_STR_223 STRINGIFY(V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES) XLAT(V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR), - #define XLAT_VAL_222 ((unsigned) (V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR)) - #define XLAT_STR_222 STRINGIFY(V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR) + #define XLAT_VAL_224 ((unsigned) (V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR)) + #define XLAT_STR_224 STRINGIFY(V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR) XLAT(V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY), - #define XLAT_VAL_223 ((unsigned) (V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY)) - #define XLAT_STR_223 STRINGIFY(V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY) + #define XLAT_VAL_225 ((unsigned) (V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY)) + #define XLAT_STR_225 STRINGIFY(V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY) XLAT(V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE), - #define XLAT_VAL_224 ((unsigned) (V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE)) - #define XLAT_STR_224 STRINGIFY(V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE) + #define XLAT_VAL_226 ((unsigned) (V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE)) + #define XLAT_STR_226 STRINGIFY(V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP), - #define XLAT_VAL_225 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP)) - #define XLAT_STR_225 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP) + #define XLAT_VAL_227 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP)) + #define XLAT_STR_227 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP), - #define XLAT_VAL_226 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP)) - #define XLAT_STR_226 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP) + #define XLAT_VAL_228 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP)) + #define XLAT_STR_228 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP), - #define XLAT_VAL_227 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP)) - #define XLAT_STR_227 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP) + #define XLAT_VAL_229 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP)) + #define XLAT_STR_229 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP), - #define XLAT_VAL_228 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP)) - #define XLAT_STR_228 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP) + #define XLAT_VAL_230 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP)) + #define XLAT_STR_230 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP), - #define XLAT_VAL_229 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP)) - #define XLAT_STR_229 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP) + #define XLAT_VAL_231 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP)) + #define XLAT_STR_231 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP) XLAT(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP), - #define XLAT_VAL_230 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP)) - #define XLAT_STR_230 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP) + #define XLAT_VAL_232 ((unsigned) (V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP)) + #define XLAT_STR_232 STRINGIFY(V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP) XLAT(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY), - #define XLAT_VAL_231 ((unsigned) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY)) - #define XLAT_STR_231 STRINGIFY(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY) + #define XLAT_VAL_233 ((unsigned) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY)) + #define XLAT_STR_233 STRINGIFY(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY) XLAT(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE), - #define XLAT_VAL_232 ((unsigned) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE)) - #define XLAT_STR_232 STRINGIFY(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE) + #define XLAT_VAL_234 ((unsigned) (V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE)) + #define XLAT_STR_234 STRINGIFY(V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE), - #define XLAT_VAL_233 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE)) - #define XLAT_STR_233 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE) + #define XLAT_VAL_235 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE)) + #define XLAT_STR_235 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER), - #define XLAT_VAL_234 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER)) - #define XLAT_STR_234 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER) + #define XLAT_VAL_236 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER)) + #define XLAT_STR_236 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE), - #define XLAT_VAL_235 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE)) - #define XLAT_STR_235 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE) + #define XLAT_VAL_237 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE)) + #define XLAT_STR_237 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE), - #define XLAT_VAL_236 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE)) - #define XLAT_STR_236 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE) + #define XLAT_VAL_238 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE)) + #define XLAT_STR_238 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE), - #define XLAT_VAL_237 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE)) - #define XLAT_STR_237 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE) + #define XLAT_VAL_239 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE)) + #define XLAT_STR_239 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER), - #define XLAT_VAL_238 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER)) - #define XLAT_STR_238 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER) + #define XLAT_VAL_240 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER)) + #define XLAT_STR_240 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE), - #define XLAT_VAL_239 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE)) - #define XLAT_STR_239 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE) + #define XLAT_VAL_241 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE)) + #define XLAT_STR_241 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM), - #define XLAT_VAL_240 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM)) - #define XLAT_STR_240 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM) + #define XLAT_VAL_242 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM)) + #define XLAT_STR_242 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP), - #define XLAT_VAL_241 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP)) - #define XLAT_STR_241 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP) + #define XLAT_VAL_243 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP)) + #define XLAT_STR_243 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM), - #define XLAT_VAL_242 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM)) - #define XLAT_STR_242 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM) + #define XLAT_VAL_244 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM)) + #define XLAT_STR_244 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM) XLAT(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP), - #define XLAT_VAL_243 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP)) - #define XLAT_STR_243 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP) + #define XLAT_VAL_245 ((unsigned) (V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP)) + #define XLAT_STR_245 STRINGIFY(V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP) XLAT(V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS), - #define XLAT_VAL_244 ((unsigned) (V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS)) - #define XLAT_STR_244 STRINGIFY(V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS) + #define XLAT_VAL_246 ((unsigned) (V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS)) + #define XLAT_STR_246 STRINGIFY(V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY), - #define XLAT_VAL_245 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY)) - #define XLAT_STR_245 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY) + #define XLAT_VAL_247 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY)) + #define XLAT_STR_247 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE), - #define XLAT_VAL_246 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE)) - #define XLAT_STR_246 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE) + #define XLAT_VAL_248 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE)) + #define XLAT_STR_248 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE), - #define XLAT_VAL_247 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE)) - #define XLAT_STR_247 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE) + #define XLAT_VAL_249 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE)) + #define XLAT_STR_249 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE), - #define XLAT_VAL_248 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE)) - #define XLAT_STR_248 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE) + #define XLAT_VAL_250 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE)) + #define XLAT_STR_250 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_PADDING), - #define XLAT_VAL_249 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING)) - #define XLAT_STR_249 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_PADDING) + #define XLAT_VAL_251 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING)) + #define XLAT_STR_251 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_PADDING) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV), - #define XLAT_VAL_250 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV)) - #define XLAT_STR_250 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV) + #define XLAT_VAL_252 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV)) + #define XLAT_STR_252 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT), - #define XLAT_VAL_251 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT)) - #define XLAT_STR_251 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT) + #define XLAT_VAL_253 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT)) + #define XLAT_STR_253 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF), - #define XLAT_VAL_252 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF)) - #define XLAT_STR_252 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF) + #define XLAT_VAL_254 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF)) + #define XLAT_STR_254 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY), - #define XLAT_VAL_253 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY)) - #define XLAT_STR_253 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY) + #define XLAT_VAL_255 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY)) + #define XLAT_STR_255 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK), - #define XLAT_VAL_254 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK)) - #define XLAT_STR_254 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK) + #define XLAT_VAL_256 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK)) + #define XLAT_STR_256 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH), - #define XLAT_VAL_255 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH)) - #define XLAT_STR_255 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH) + #define XLAT_VAL_257 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH)) + #define XLAT_STR_257 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC), - #define XLAT_VAL_256 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC)) - #define XLAT_STR_256 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC) + #define XLAT_VAL_258 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC)) + #define XLAT_STR_258 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC) XLAT(V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P), - #define XLAT_VAL_257 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P)) - #define XLAT_STR_257 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P) + #define XLAT_VAL_259 ((unsigned) (V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P)) + #define XLAT_STR_259 STRINGIFY(V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P) XLAT(V4L2_CID_EXPOSURE_AUTO), - #define XLAT_VAL_258 ((unsigned) (V4L2_CID_EXPOSURE_AUTO)) - #define XLAT_STR_258 STRINGIFY(V4L2_CID_EXPOSURE_AUTO) + #define XLAT_VAL_260 ((unsigned) (V4L2_CID_EXPOSURE_AUTO)) + #define XLAT_STR_260 STRINGIFY(V4L2_CID_EXPOSURE_AUTO) XLAT(V4L2_CID_EXPOSURE_ABSOLUTE), - #define XLAT_VAL_259 ((unsigned) (V4L2_CID_EXPOSURE_ABSOLUTE)) - #define XLAT_STR_259 STRINGIFY(V4L2_CID_EXPOSURE_ABSOLUTE) + #define XLAT_VAL_261 ((unsigned) (V4L2_CID_EXPOSURE_ABSOLUTE)) + #define XLAT_STR_261 STRINGIFY(V4L2_CID_EXPOSURE_ABSOLUTE) XLAT(V4L2_CID_EXPOSURE_AUTO_PRIORITY), - #define XLAT_VAL_260 ((unsigned) (V4L2_CID_EXPOSURE_AUTO_PRIORITY)) - #define XLAT_STR_260 STRINGIFY(V4L2_CID_EXPOSURE_AUTO_PRIORITY) + #define XLAT_VAL_262 ((unsigned) (V4L2_CID_EXPOSURE_AUTO_PRIORITY)) + #define XLAT_STR_262 STRINGIFY(V4L2_CID_EXPOSURE_AUTO_PRIORITY) XLAT(V4L2_CID_PAN_RELATIVE), - #define XLAT_VAL_261 ((unsigned) (V4L2_CID_PAN_RELATIVE)) - #define XLAT_STR_261 STRINGIFY(V4L2_CID_PAN_RELATIVE) + #define XLAT_VAL_263 ((unsigned) (V4L2_CID_PAN_RELATIVE)) + #define XLAT_STR_263 STRINGIFY(V4L2_CID_PAN_RELATIVE) XLAT(V4L2_CID_TILT_RELATIVE), - #define XLAT_VAL_262 ((unsigned) (V4L2_CID_TILT_RELATIVE)) - #define XLAT_STR_262 STRINGIFY(V4L2_CID_TILT_RELATIVE) + #define XLAT_VAL_264 ((unsigned) (V4L2_CID_TILT_RELATIVE)) + #define XLAT_STR_264 STRINGIFY(V4L2_CID_TILT_RELATIVE) XLAT(V4L2_CID_PAN_RESET), - #define XLAT_VAL_263 ((unsigned) (V4L2_CID_PAN_RESET)) - #define XLAT_STR_263 STRINGIFY(V4L2_CID_PAN_RESET) + #define XLAT_VAL_265 ((unsigned) (V4L2_CID_PAN_RESET)) + #define XLAT_STR_265 STRINGIFY(V4L2_CID_PAN_RESET) XLAT(V4L2_CID_TILT_RESET), - #define XLAT_VAL_264 ((unsigned) (V4L2_CID_TILT_RESET)) - #define XLAT_STR_264 STRINGIFY(V4L2_CID_TILT_RESET) + #define XLAT_VAL_266 ((unsigned) (V4L2_CID_TILT_RESET)) + #define XLAT_STR_266 STRINGIFY(V4L2_CID_TILT_RESET) XLAT(V4L2_CID_PAN_ABSOLUTE), - #define XLAT_VAL_265 ((unsigned) (V4L2_CID_PAN_ABSOLUTE)) - #define XLAT_STR_265 STRINGIFY(V4L2_CID_PAN_ABSOLUTE) + #define XLAT_VAL_267 ((unsigned) (V4L2_CID_PAN_ABSOLUTE)) + #define XLAT_STR_267 STRINGIFY(V4L2_CID_PAN_ABSOLUTE) XLAT(V4L2_CID_TILT_ABSOLUTE), - #define XLAT_VAL_266 ((unsigned) (V4L2_CID_TILT_ABSOLUTE)) - #define XLAT_STR_266 STRINGIFY(V4L2_CID_TILT_ABSOLUTE) + #define XLAT_VAL_268 ((unsigned) (V4L2_CID_TILT_ABSOLUTE)) + #define XLAT_STR_268 STRINGIFY(V4L2_CID_TILT_ABSOLUTE) XLAT(V4L2_CID_FOCUS_ABSOLUTE), - #define XLAT_VAL_267 ((unsigned) (V4L2_CID_FOCUS_ABSOLUTE)) - #define XLAT_STR_267 STRINGIFY(V4L2_CID_FOCUS_ABSOLUTE) + #define XLAT_VAL_269 ((unsigned) (V4L2_CID_FOCUS_ABSOLUTE)) + #define XLAT_STR_269 STRINGIFY(V4L2_CID_FOCUS_ABSOLUTE) XLAT(V4L2_CID_FOCUS_RELATIVE), - #define XLAT_VAL_268 ((unsigned) (V4L2_CID_FOCUS_RELATIVE)) - #define XLAT_STR_268 STRINGIFY(V4L2_CID_FOCUS_RELATIVE) + #define XLAT_VAL_270 ((unsigned) (V4L2_CID_FOCUS_RELATIVE)) + #define XLAT_STR_270 STRINGIFY(V4L2_CID_FOCUS_RELATIVE) XLAT(V4L2_CID_FOCUS_AUTO), - #define XLAT_VAL_269 ((unsigned) (V4L2_CID_FOCUS_AUTO)) - #define XLAT_STR_269 STRINGIFY(V4L2_CID_FOCUS_AUTO) + #define XLAT_VAL_271 ((unsigned) (V4L2_CID_FOCUS_AUTO)) + #define XLAT_STR_271 STRINGIFY(V4L2_CID_FOCUS_AUTO) XLAT(V4L2_CID_ZOOM_ABSOLUTE), - #define XLAT_VAL_270 ((unsigned) (V4L2_CID_ZOOM_ABSOLUTE)) - #define XLAT_STR_270 STRINGIFY(V4L2_CID_ZOOM_ABSOLUTE) + #define XLAT_VAL_272 ((unsigned) (V4L2_CID_ZOOM_ABSOLUTE)) + #define XLAT_STR_272 STRINGIFY(V4L2_CID_ZOOM_ABSOLUTE) XLAT(V4L2_CID_ZOOM_RELATIVE), - #define XLAT_VAL_271 ((unsigned) (V4L2_CID_ZOOM_RELATIVE)) - #define XLAT_STR_271 STRINGIFY(V4L2_CID_ZOOM_RELATIVE) + #define XLAT_VAL_273 ((unsigned) (V4L2_CID_ZOOM_RELATIVE)) + #define XLAT_STR_273 STRINGIFY(V4L2_CID_ZOOM_RELATIVE) XLAT(V4L2_CID_ZOOM_CONTINUOUS), - #define XLAT_VAL_272 ((unsigned) (V4L2_CID_ZOOM_CONTINUOUS)) - #define XLAT_STR_272 STRINGIFY(V4L2_CID_ZOOM_CONTINUOUS) + #define XLAT_VAL_274 ((unsigned) (V4L2_CID_ZOOM_CONTINUOUS)) + #define XLAT_STR_274 STRINGIFY(V4L2_CID_ZOOM_CONTINUOUS) XLAT(V4L2_CID_PRIVACY), - #define XLAT_VAL_273 ((unsigned) (V4L2_CID_PRIVACY)) - #define XLAT_STR_273 STRINGIFY(V4L2_CID_PRIVACY) + #define XLAT_VAL_275 ((unsigned) (V4L2_CID_PRIVACY)) + #define XLAT_STR_275 STRINGIFY(V4L2_CID_PRIVACY) XLAT(V4L2_CID_IRIS_ABSOLUTE), - #define XLAT_VAL_274 ((unsigned) (V4L2_CID_IRIS_ABSOLUTE)) - #define XLAT_STR_274 STRINGIFY(V4L2_CID_IRIS_ABSOLUTE) + #define XLAT_VAL_276 ((unsigned) (V4L2_CID_IRIS_ABSOLUTE)) + #define XLAT_STR_276 STRINGIFY(V4L2_CID_IRIS_ABSOLUTE) XLAT(V4L2_CID_IRIS_RELATIVE), - #define XLAT_VAL_275 ((unsigned) (V4L2_CID_IRIS_RELATIVE)) - #define XLAT_STR_275 STRINGIFY(V4L2_CID_IRIS_RELATIVE) + #define XLAT_VAL_277 ((unsigned) (V4L2_CID_IRIS_RELATIVE)) + #define XLAT_STR_277 STRINGIFY(V4L2_CID_IRIS_RELATIVE) XLAT(V4L2_CID_AUTO_EXPOSURE_BIAS), - #define XLAT_VAL_276 ((unsigned) (V4L2_CID_AUTO_EXPOSURE_BIAS)) - #define XLAT_STR_276 STRINGIFY(V4L2_CID_AUTO_EXPOSURE_BIAS) + #define XLAT_VAL_278 ((unsigned) (V4L2_CID_AUTO_EXPOSURE_BIAS)) + #define XLAT_STR_278 STRINGIFY(V4L2_CID_AUTO_EXPOSURE_BIAS) XLAT(V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE), - #define XLAT_VAL_277 ((unsigned) (V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE)) - #define XLAT_STR_277 STRINGIFY(V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE) + #define XLAT_VAL_279 ((unsigned) (V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE)) + #define XLAT_STR_279 STRINGIFY(V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE) XLAT(V4L2_CID_WIDE_DYNAMIC_RANGE), - #define XLAT_VAL_278 ((unsigned) (V4L2_CID_WIDE_DYNAMIC_RANGE)) - #define XLAT_STR_278 STRINGIFY(V4L2_CID_WIDE_DYNAMIC_RANGE) + #define XLAT_VAL_280 ((unsigned) (V4L2_CID_WIDE_DYNAMIC_RANGE)) + #define XLAT_STR_280 STRINGIFY(V4L2_CID_WIDE_DYNAMIC_RANGE) XLAT(V4L2_CID_IMAGE_STABILIZATION), - #define XLAT_VAL_279 ((unsigned) (V4L2_CID_IMAGE_STABILIZATION)) - #define XLAT_STR_279 STRINGIFY(V4L2_CID_IMAGE_STABILIZATION) + #define XLAT_VAL_281 ((unsigned) (V4L2_CID_IMAGE_STABILIZATION)) + #define XLAT_STR_281 STRINGIFY(V4L2_CID_IMAGE_STABILIZATION) XLAT(V4L2_CID_ISO_SENSITIVITY), - #define XLAT_VAL_280 ((unsigned) (V4L2_CID_ISO_SENSITIVITY)) - #define XLAT_STR_280 STRINGIFY(V4L2_CID_ISO_SENSITIVITY) + #define XLAT_VAL_282 ((unsigned) (V4L2_CID_ISO_SENSITIVITY)) + #define XLAT_STR_282 STRINGIFY(V4L2_CID_ISO_SENSITIVITY) XLAT(V4L2_CID_ISO_SENSITIVITY_AUTO), - #define XLAT_VAL_281 ((unsigned) (V4L2_CID_ISO_SENSITIVITY_AUTO)) - #define XLAT_STR_281 STRINGIFY(V4L2_CID_ISO_SENSITIVITY_AUTO) + #define XLAT_VAL_283 ((unsigned) (V4L2_CID_ISO_SENSITIVITY_AUTO)) + #define XLAT_STR_283 STRINGIFY(V4L2_CID_ISO_SENSITIVITY_AUTO) XLAT(V4L2_CID_EXPOSURE_METERING), - #define XLAT_VAL_282 ((unsigned) (V4L2_CID_EXPOSURE_METERING)) - #define XLAT_STR_282 STRINGIFY(V4L2_CID_EXPOSURE_METERING) + #define XLAT_VAL_284 ((unsigned) (V4L2_CID_EXPOSURE_METERING)) + #define XLAT_STR_284 STRINGIFY(V4L2_CID_EXPOSURE_METERING) XLAT(V4L2_CID_SCENE_MODE), - #define XLAT_VAL_283 ((unsigned) (V4L2_CID_SCENE_MODE)) - #define XLAT_STR_283 STRINGIFY(V4L2_CID_SCENE_MODE) + #define XLAT_VAL_285 ((unsigned) (V4L2_CID_SCENE_MODE)) + #define XLAT_STR_285 STRINGIFY(V4L2_CID_SCENE_MODE) XLAT(V4L2_CID_3A_LOCK), - #define XLAT_VAL_284 ((unsigned) (V4L2_CID_3A_LOCK)) - #define XLAT_STR_284 STRINGIFY(V4L2_CID_3A_LOCK) + #define XLAT_VAL_286 ((unsigned) (V4L2_CID_3A_LOCK)) + #define XLAT_STR_286 STRINGIFY(V4L2_CID_3A_LOCK) XLAT(V4L2_CID_AUTO_FOCUS_START), - #define XLAT_VAL_285 ((unsigned) (V4L2_CID_AUTO_FOCUS_START)) - #define XLAT_STR_285 STRINGIFY(V4L2_CID_AUTO_FOCUS_START) + #define XLAT_VAL_287 ((unsigned) (V4L2_CID_AUTO_FOCUS_START)) + #define XLAT_STR_287 STRINGIFY(V4L2_CID_AUTO_FOCUS_START) XLAT(V4L2_CID_AUTO_FOCUS_STOP), - #define XLAT_VAL_286 ((unsigned) (V4L2_CID_AUTO_FOCUS_STOP)) - #define XLAT_STR_286 STRINGIFY(V4L2_CID_AUTO_FOCUS_STOP) + #define XLAT_VAL_288 ((unsigned) (V4L2_CID_AUTO_FOCUS_STOP)) + #define XLAT_STR_288 STRINGIFY(V4L2_CID_AUTO_FOCUS_STOP) XLAT(V4L2_CID_AUTO_FOCUS_STATUS), - #define XLAT_VAL_287 ((unsigned) (V4L2_CID_AUTO_FOCUS_STATUS)) - #define XLAT_STR_287 STRINGIFY(V4L2_CID_AUTO_FOCUS_STATUS) + #define XLAT_VAL_289 ((unsigned) (V4L2_CID_AUTO_FOCUS_STATUS)) + #define XLAT_STR_289 STRINGIFY(V4L2_CID_AUTO_FOCUS_STATUS) XLAT(V4L2_CID_AUTO_FOCUS_RANGE), - #define XLAT_VAL_288 ((unsigned) (V4L2_CID_AUTO_FOCUS_RANGE)) - #define XLAT_STR_288 STRINGIFY(V4L2_CID_AUTO_FOCUS_RANGE) + #define XLAT_VAL_290 ((unsigned) (V4L2_CID_AUTO_FOCUS_RANGE)) + #define XLAT_STR_290 STRINGIFY(V4L2_CID_AUTO_FOCUS_RANGE) XLAT(V4L2_CID_PAN_SPEED), - #define XLAT_VAL_289 ((unsigned) (V4L2_CID_PAN_SPEED)) - #define XLAT_STR_289 STRINGIFY(V4L2_CID_PAN_SPEED) + #define XLAT_VAL_291 ((unsigned) (V4L2_CID_PAN_SPEED)) + #define XLAT_STR_291 STRINGIFY(V4L2_CID_PAN_SPEED) XLAT(V4L2_CID_TILT_SPEED), - #define XLAT_VAL_290 ((unsigned) (V4L2_CID_TILT_SPEED)) - #define XLAT_STR_290 STRINGIFY(V4L2_CID_TILT_SPEED) + #define XLAT_VAL_292 ((unsigned) (V4L2_CID_TILT_SPEED)) + #define XLAT_STR_292 STRINGIFY(V4L2_CID_TILT_SPEED) XLAT(V4L2_CID_RDS_TX_DEVIATION), - #define XLAT_VAL_291 ((unsigned) (V4L2_CID_RDS_TX_DEVIATION)) - #define XLAT_STR_291 STRINGIFY(V4L2_CID_RDS_TX_DEVIATION) + #define XLAT_VAL_293 ((unsigned) (V4L2_CID_RDS_TX_DEVIATION)) + #define XLAT_STR_293 STRINGIFY(V4L2_CID_RDS_TX_DEVIATION) XLAT(V4L2_CID_RDS_TX_PI), - #define XLAT_VAL_292 ((unsigned) (V4L2_CID_RDS_TX_PI)) - #define XLAT_STR_292 STRINGIFY(V4L2_CID_RDS_TX_PI) + #define XLAT_VAL_294 ((unsigned) (V4L2_CID_RDS_TX_PI)) + #define XLAT_STR_294 STRINGIFY(V4L2_CID_RDS_TX_PI) XLAT(V4L2_CID_RDS_TX_PTY), - #define XLAT_VAL_293 ((unsigned) (V4L2_CID_RDS_TX_PTY)) - #define XLAT_STR_293 STRINGIFY(V4L2_CID_RDS_TX_PTY) + #define XLAT_VAL_295 ((unsigned) (V4L2_CID_RDS_TX_PTY)) + #define XLAT_STR_295 STRINGIFY(V4L2_CID_RDS_TX_PTY) XLAT(V4L2_CID_RDS_TX_PS_NAME), - #define XLAT_VAL_294 ((unsigned) (V4L2_CID_RDS_TX_PS_NAME)) - #define XLAT_STR_294 STRINGIFY(V4L2_CID_RDS_TX_PS_NAME) + #define XLAT_VAL_296 ((unsigned) (V4L2_CID_RDS_TX_PS_NAME)) + #define XLAT_STR_296 STRINGIFY(V4L2_CID_RDS_TX_PS_NAME) XLAT(V4L2_CID_RDS_TX_RADIO_TEXT), - #define XLAT_VAL_295 ((unsigned) (V4L2_CID_RDS_TX_RADIO_TEXT)) - #define XLAT_STR_295 STRINGIFY(V4L2_CID_RDS_TX_RADIO_TEXT) + #define XLAT_VAL_297 ((unsigned) (V4L2_CID_RDS_TX_RADIO_TEXT)) + #define XLAT_STR_297 STRINGIFY(V4L2_CID_RDS_TX_RADIO_TEXT) XLAT(V4L2_CID_RDS_TX_MONO_STEREO), - #define XLAT_VAL_296 ((unsigned) (V4L2_CID_RDS_TX_MONO_STEREO)) - #define XLAT_STR_296 STRINGIFY(V4L2_CID_RDS_TX_MONO_STEREO) + #define XLAT_VAL_298 ((unsigned) (V4L2_CID_RDS_TX_MONO_STEREO)) + #define XLAT_STR_298 STRINGIFY(V4L2_CID_RDS_TX_MONO_STEREO) XLAT(V4L2_CID_RDS_TX_ARTIFICIAL_HEAD), - #define XLAT_VAL_297 ((unsigned) (V4L2_CID_RDS_TX_ARTIFICIAL_HEAD)) - #define XLAT_STR_297 STRINGIFY(V4L2_CID_RDS_TX_ARTIFICIAL_HEAD) + #define XLAT_VAL_299 ((unsigned) (V4L2_CID_RDS_TX_ARTIFICIAL_HEAD)) + #define XLAT_STR_299 STRINGIFY(V4L2_CID_RDS_TX_ARTIFICIAL_HEAD) XLAT(V4L2_CID_RDS_TX_COMPRESSED), - #define XLAT_VAL_298 ((unsigned) (V4L2_CID_RDS_TX_COMPRESSED)) - #define XLAT_STR_298 STRINGIFY(V4L2_CID_RDS_TX_COMPRESSED) + #define XLAT_VAL_300 ((unsigned) (V4L2_CID_RDS_TX_COMPRESSED)) + #define XLAT_STR_300 STRINGIFY(V4L2_CID_RDS_TX_COMPRESSED) XLAT(V4L2_CID_RDS_TX_DYNAMIC_PTY), - #define XLAT_VAL_299 ((unsigned) (V4L2_CID_RDS_TX_DYNAMIC_PTY)) - #define XLAT_STR_299 STRINGIFY(V4L2_CID_RDS_TX_DYNAMIC_PTY) + #define XLAT_VAL_301 ((unsigned) (V4L2_CID_RDS_TX_DYNAMIC_PTY)) + #define XLAT_STR_301 STRINGIFY(V4L2_CID_RDS_TX_DYNAMIC_PTY) XLAT(V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT), - #define XLAT_VAL_300 ((unsigned) (V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT)) - #define XLAT_STR_300 STRINGIFY(V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT) + #define XLAT_VAL_302 ((unsigned) (V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT)) + #define XLAT_STR_302 STRINGIFY(V4L2_CID_RDS_TX_TRAFFIC_ANNOUNCEMENT) XLAT(V4L2_CID_RDS_TX_TRAFFIC_PROGRAM), - #define XLAT_VAL_301 ((unsigned) (V4L2_CID_RDS_TX_TRAFFIC_PROGRAM)) - #define XLAT_STR_301 STRINGIFY(V4L2_CID_RDS_TX_TRAFFIC_PROGRAM) + #define XLAT_VAL_303 ((unsigned) (V4L2_CID_RDS_TX_TRAFFIC_PROGRAM)) + #define XLAT_STR_303 STRINGIFY(V4L2_CID_RDS_TX_TRAFFIC_PROGRAM) XLAT(V4L2_CID_RDS_TX_MUSIC_SPEECH), - #define XLAT_VAL_302 ((unsigned) (V4L2_CID_RDS_TX_MUSIC_SPEECH)) - #define XLAT_STR_302 STRINGIFY(V4L2_CID_RDS_TX_MUSIC_SPEECH) + #define XLAT_VAL_304 ((unsigned) (V4L2_CID_RDS_TX_MUSIC_SPEECH)) + #define XLAT_STR_304 STRINGIFY(V4L2_CID_RDS_TX_MUSIC_SPEECH) XLAT(V4L2_CID_RDS_TX_ALT_FREQS_ENABLE), - #define XLAT_VAL_303 ((unsigned) (V4L2_CID_RDS_TX_ALT_FREQS_ENABLE)) - #define XLAT_STR_303 STRINGIFY(V4L2_CID_RDS_TX_ALT_FREQS_ENABLE) + #define XLAT_VAL_305 ((unsigned) (V4L2_CID_RDS_TX_ALT_FREQS_ENABLE)) + #define XLAT_STR_305 STRINGIFY(V4L2_CID_RDS_TX_ALT_FREQS_ENABLE) XLAT(V4L2_CID_RDS_TX_ALT_FREQS), - #define XLAT_VAL_304 ((unsigned) (V4L2_CID_RDS_TX_ALT_FREQS)) - #define XLAT_STR_304 STRINGIFY(V4L2_CID_RDS_TX_ALT_FREQS) + #define XLAT_VAL_306 ((unsigned) (V4L2_CID_RDS_TX_ALT_FREQS)) + #define XLAT_STR_306 STRINGIFY(V4L2_CID_RDS_TX_ALT_FREQS) XLAT(V4L2_CID_AUDIO_LIMITER_ENABLED), - #define XLAT_VAL_305 ((unsigned) (V4L2_CID_AUDIO_LIMITER_ENABLED)) - #define XLAT_STR_305 STRINGIFY(V4L2_CID_AUDIO_LIMITER_ENABLED) + #define XLAT_VAL_307 ((unsigned) (V4L2_CID_AUDIO_LIMITER_ENABLED)) + #define XLAT_STR_307 STRINGIFY(V4L2_CID_AUDIO_LIMITER_ENABLED) XLAT(V4L2_CID_AUDIO_LIMITER_RELEASE_TIME), - #define XLAT_VAL_306 ((unsigned) (V4L2_CID_AUDIO_LIMITER_RELEASE_TIME)) - #define XLAT_STR_306 STRINGIFY(V4L2_CID_AUDIO_LIMITER_RELEASE_TIME) + #define XLAT_VAL_308 ((unsigned) (V4L2_CID_AUDIO_LIMITER_RELEASE_TIME)) + #define XLAT_STR_308 STRINGIFY(V4L2_CID_AUDIO_LIMITER_RELEASE_TIME) XLAT(V4L2_CID_AUDIO_LIMITER_DEVIATION), - #define XLAT_VAL_307 ((unsigned) (V4L2_CID_AUDIO_LIMITER_DEVIATION)) - #define XLAT_STR_307 STRINGIFY(V4L2_CID_AUDIO_LIMITER_DEVIATION) + #define XLAT_VAL_309 ((unsigned) (V4L2_CID_AUDIO_LIMITER_DEVIATION)) + #define XLAT_STR_309 STRINGIFY(V4L2_CID_AUDIO_LIMITER_DEVIATION) XLAT(V4L2_CID_AUDIO_COMPRESSION_ENABLED), - #define XLAT_VAL_308 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_ENABLED)) - #define XLAT_STR_308 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_ENABLED) + #define XLAT_VAL_310 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_ENABLED)) + #define XLAT_STR_310 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_ENABLED) XLAT(V4L2_CID_AUDIO_COMPRESSION_GAIN), - #define XLAT_VAL_309 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_GAIN)) - #define XLAT_STR_309 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_GAIN) + #define XLAT_VAL_311 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_GAIN)) + #define XLAT_STR_311 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_GAIN) XLAT(V4L2_CID_AUDIO_COMPRESSION_THRESHOLD), - #define XLAT_VAL_310 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_THRESHOLD)) - #define XLAT_STR_310 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_THRESHOLD) + #define XLAT_VAL_312 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_THRESHOLD)) + #define XLAT_STR_312 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_THRESHOLD) XLAT(V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME), - #define XLAT_VAL_311 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME)) - #define XLAT_STR_311 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME) + #define XLAT_VAL_313 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME)) + #define XLAT_STR_313 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_ATTACK_TIME) XLAT(V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME), - #define XLAT_VAL_312 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME)) - #define XLAT_STR_312 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME) + #define XLAT_VAL_314 ((unsigned) (V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME)) + #define XLAT_STR_314 STRINGIFY(V4L2_CID_AUDIO_COMPRESSION_RELEASE_TIME) XLAT(V4L2_CID_PILOT_TONE_ENABLED), - #define XLAT_VAL_313 ((unsigned) (V4L2_CID_PILOT_TONE_ENABLED)) - #define XLAT_STR_313 STRINGIFY(V4L2_CID_PILOT_TONE_ENABLED) + #define XLAT_VAL_315 ((unsigned) (V4L2_CID_PILOT_TONE_ENABLED)) + #define XLAT_STR_315 STRINGIFY(V4L2_CID_PILOT_TONE_ENABLED) XLAT(V4L2_CID_PILOT_TONE_DEVIATION), - #define XLAT_VAL_314 ((unsigned) (V4L2_CID_PILOT_TONE_DEVIATION)) - #define XLAT_STR_314 STRINGIFY(V4L2_CID_PILOT_TONE_DEVIATION) + #define XLAT_VAL_316 ((unsigned) (V4L2_CID_PILOT_TONE_DEVIATION)) + #define XLAT_STR_316 STRINGIFY(V4L2_CID_PILOT_TONE_DEVIATION) XLAT(V4L2_CID_PILOT_TONE_FREQUENCY), - #define XLAT_VAL_315 ((unsigned) (V4L2_CID_PILOT_TONE_FREQUENCY)) - #define XLAT_STR_315 STRINGIFY(V4L2_CID_PILOT_TONE_FREQUENCY) + #define XLAT_VAL_317 ((unsigned) (V4L2_CID_PILOT_TONE_FREQUENCY)) + #define XLAT_STR_317 STRINGIFY(V4L2_CID_PILOT_TONE_FREQUENCY) XLAT(V4L2_CID_TUNE_PREEMPHASIS), - #define XLAT_VAL_316 ((unsigned) (V4L2_CID_TUNE_PREEMPHASIS)) - #define XLAT_STR_316 STRINGIFY(V4L2_CID_TUNE_PREEMPHASIS) + #define XLAT_VAL_318 ((unsigned) (V4L2_CID_TUNE_PREEMPHASIS)) + #define XLAT_STR_318 STRINGIFY(V4L2_CID_TUNE_PREEMPHASIS) XLAT(V4L2_CID_TUNE_POWER_LEVEL), - #define XLAT_VAL_317 ((unsigned) (V4L2_CID_TUNE_POWER_LEVEL)) - #define XLAT_STR_317 STRINGIFY(V4L2_CID_TUNE_POWER_LEVEL) + #define XLAT_VAL_319 ((unsigned) (V4L2_CID_TUNE_POWER_LEVEL)) + #define XLAT_STR_319 STRINGIFY(V4L2_CID_TUNE_POWER_LEVEL) XLAT(V4L2_CID_TUNE_ANTENNA_CAPACITOR), - #define XLAT_VAL_318 ((unsigned) (V4L2_CID_TUNE_ANTENNA_CAPACITOR)) - #define XLAT_STR_318 STRINGIFY(V4L2_CID_TUNE_ANTENNA_CAPACITOR) + #define XLAT_VAL_320 ((unsigned) (V4L2_CID_TUNE_ANTENNA_CAPACITOR)) + #define XLAT_STR_320 STRINGIFY(V4L2_CID_TUNE_ANTENNA_CAPACITOR) XLAT(V4L2_CID_FLASH_LED_MODE), - #define XLAT_VAL_319 ((unsigned) (V4L2_CID_FLASH_LED_MODE)) - #define XLAT_STR_319 STRINGIFY(V4L2_CID_FLASH_LED_MODE) + #define XLAT_VAL_321 ((unsigned) (V4L2_CID_FLASH_LED_MODE)) + #define XLAT_STR_321 STRINGIFY(V4L2_CID_FLASH_LED_MODE) XLAT(V4L2_CID_FLASH_STROBE_SOURCE), - #define XLAT_VAL_320 ((unsigned) (V4L2_CID_FLASH_STROBE_SOURCE)) - #define XLAT_STR_320 STRINGIFY(V4L2_CID_FLASH_STROBE_SOURCE) + #define XLAT_VAL_322 ((unsigned) (V4L2_CID_FLASH_STROBE_SOURCE)) + #define XLAT_STR_322 STRINGIFY(V4L2_CID_FLASH_STROBE_SOURCE) XLAT(V4L2_CID_FLASH_STROBE), - #define XLAT_VAL_321 ((unsigned) (V4L2_CID_FLASH_STROBE)) - #define XLAT_STR_321 STRINGIFY(V4L2_CID_FLASH_STROBE) + #define XLAT_VAL_323 ((unsigned) (V4L2_CID_FLASH_STROBE)) + #define XLAT_STR_323 STRINGIFY(V4L2_CID_FLASH_STROBE) XLAT(V4L2_CID_FLASH_STROBE_STOP), - #define XLAT_VAL_322 ((unsigned) (V4L2_CID_FLASH_STROBE_STOP)) - #define XLAT_STR_322 STRINGIFY(V4L2_CID_FLASH_STROBE_STOP) + #define XLAT_VAL_324 ((unsigned) (V4L2_CID_FLASH_STROBE_STOP)) + #define XLAT_STR_324 STRINGIFY(V4L2_CID_FLASH_STROBE_STOP) XLAT(V4L2_CID_FLASH_STROBE_STATUS), - #define XLAT_VAL_323 ((unsigned) (V4L2_CID_FLASH_STROBE_STATUS)) - #define XLAT_STR_323 STRINGIFY(V4L2_CID_FLASH_STROBE_STATUS) + #define XLAT_VAL_325 ((unsigned) (V4L2_CID_FLASH_STROBE_STATUS)) + #define XLAT_STR_325 STRINGIFY(V4L2_CID_FLASH_STROBE_STATUS) XLAT(V4L2_CID_FLASH_TIMEOUT), - #define XLAT_VAL_324 ((unsigned) (V4L2_CID_FLASH_TIMEOUT)) - #define XLAT_STR_324 STRINGIFY(V4L2_CID_FLASH_TIMEOUT) + #define XLAT_VAL_326 ((unsigned) (V4L2_CID_FLASH_TIMEOUT)) + #define XLAT_STR_326 STRINGIFY(V4L2_CID_FLASH_TIMEOUT) XLAT(V4L2_CID_FLASH_INTENSITY), - #define XLAT_VAL_325 ((unsigned) (V4L2_CID_FLASH_INTENSITY)) - #define XLAT_STR_325 STRINGIFY(V4L2_CID_FLASH_INTENSITY) + #define XLAT_VAL_327 ((unsigned) (V4L2_CID_FLASH_INTENSITY)) + #define XLAT_STR_327 STRINGIFY(V4L2_CID_FLASH_INTENSITY) XLAT(V4L2_CID_FLASH_TORCH_INTENSITY), - #define XLAT_VAL_326 ((unsigned) (V4L2_CID_FLASH_TORCH_INTENSITY)) - #define XLAT_STR_326 STRINGIFY(V4L2_CID_FLASH_TORCH_INTENSITY) + #define XLAT_VAL_328 ((unsigned) (V4L2_CID_FLASH_TORCH_INTENSITY)) + #define XLAT_STR_328 STRINGIFY(V4L2_CID_FLASH_TORCH_INTENSITY) XLAT(V4L2_CID_FLASH_INDICATOR_INTENSITY), - #define XLAT_VAL_327 ((unsigned) (V4L2_CID_FLASH_INDICATOR_INTENSITY)) - #define XLAT_STR_327 STRINGIFY(V4L2_CID_FLASH_INDICATOR_INTENSITY) + #define XLAT_VAL_329 ((unsigned) (V4L2_CID_FLASH_INDICATOR_INTENSITY)) + #define XLAT_STR_329 STRINGIFY(V4L2_CID_FLASH_INDICATOR_INTENSITY) XLAT(V4L2_CID_FLASH_FAULT), - #define XLAT_VAL_328 ((unsigned) (V4L2_CID_FLASH_FAULT)) - #define XLAT_STR_328 STRINGIFY(V4L2_CID_FLASH_FAULT) + #define XLAT_VAL_330 ((unsigned) (V4L2_CID_FLASH_FAULT)) + #define XLAT_STR_330 STRINGIFY(V4L2_CID_FLASH_FAULT) XLAT(V4L2_CID_FLASH_CHARGE), - #define XLAT_VAL_329 ((unsigned) (V4L2_CID_FLASH_CHARGE)) - #define XLAT_STR_329 STRINGIFY(V4L2_CID_FLASH_CHARGE) + #define XLAT_VAL_331 ((unsigned) (V4L2_CID_FLASH_CHARGE)) + #define XLAT_STR_331 STRINGIFY(V4L2_CID_FLASH_CHARGE) XLAT(V4L2_CID_FLASH_READY), - #define XLAT_VAL_330 ((unsigned) (V4L2_CID_FLASH_READY)) - #define XLAT_STR_330 STRINGIFY(V4L2_CID_FLASH_READY) + #define XLAT_VAL_332 ((unsigned) (V4L2_CID_FLASH_READY)) + #define XLAT_STR_332 STRINGIFY(V4L2_CID_FLASH_READY) XLAT(V4L2_CID_VBLANK), - #define XLAT_VAL_331 ((unsigned) (V4L2_CID_VBLANK)) - #define XLAT_STR_331 STRINGIFY(V4L2_CID_VBLANK) + #define XLAT_VAL_333 ((unsigned) (V4L2_CID_VBLANK)) + #define XLAT_STR_333 STRINGIFY(V4L2_CID_VBLANK) XLAT(V4L2_CID_HBLANK), - #define XLAT_VAL_332 ((unsigned) (V4L2_CID_HBLANK)) - #define XLAT_STR_332 STRINGIFY(V4L2_CID_HBLANK) + #define XLAT_VAL_334 ((unsigned) (V4L2_CID_HBLANK)) + #define XLAT_STR_334 STRINGIFY(V4L2_CID_HBLANK) XLAT(V4L2_CID_ANALOGUE_GAIN), - #define XLAT_VAL_333 ((unsigned) (V4L2_CID_ANALOGUE_GAIN)) - #define XLAT_STR_333 STRINGIFY(V4L2_CID_ANALOGUE_GAIN) + #define XLAT_VAL_335 ((unsigned) (V4L2_CID_ANALOGUE_GAIN)) + #define XLAT_STR_335 STRINGIFY(V4L2_CID_ANALOGUE_GAIN) XLAT(V4L2_CID_TEST_PATTERN_RED), - #define XLAT_VAL_334 ((unsigned) (V4L2_CID_TEST_PATTERN_RED)) - #define XLAT_STR_334 STRINGIFY(V4L2_CID_TEST_PATTERN_RED) + #define XLAT_VAL_336 ((unsigned) (V4L2_CID_TEST_PATTERN_RED)) + #define XLAT_STR_336 STRINGIFY(V4L2_CID_TEST_PATTERN_RED) XLAT(V4L2_CID_TEST_PATTERN_GREENR), - #define XLAT_VAL_335 ((unsigned) (V4L2_CID_TEST_PATTERN_GREENR)) - #define XLAT_STR_335 STRINGIFY(V4L2_CID_TEST_PATTERN_GREENR) + #define XLAT_VAL_337 ((unsigned) (V4L2_CID_TEST_PATTERN_GREENR)) + #define XLAT_STR_337 STRINGIFY(V4L2_CID_TEST_PATTERN_GREENR) XLAT(V4L2_CID_TEST_PATTERN_BLUE), - #define XLAT_VAL_336 ((unsigned) (V4L2_CID_TEST_PATTERN_BLUE)) - #define XLAT_STR_336 STRINGIFY(V4L2_CID_TEST_PATTERN_BLUE) + #define XLAT_VAL_338 ((unsigned) (V4L2_CID_TEST_PATTERN_BLUE)) + #define XLAT_STR_338 STRINGIFY(V4L2_CID_TEST_PATTERN_BLUE) XLAT(V4L2_CID_TEST_PATTERN_GREENB), - #define XLAT_VAL_337 ((unsigned) (V4L2_CID_TEST_PATTERN_GREENB)) - #define XLAT_STR_337 STRINGIFY(V4L2_CID_TEST_PATTERN_GREENB) + #define XLAT_VAL_339 ((unsigned) (V4L2_CID_TEST_PATTERN_GREENB)) + #define XLAT_STR_339 STRINGIFY(V4L2_CID_TEST_PATTERN_GREENB) XLAT(V4L2_CID_UNIT_CELL_SIZE), - #define XLAT_VAL_338 ((unsigned) (V4L2_CID_UNIT_CELL_SIZE)) - #define XLAT_STR_338 STRINGIFY(V4L2_CID_UNIT_CELL_SIZE) + #define XLAT_VAL_340 ((unsigned) (V4L2_CID_UNIT_CELL_SIZE)) + #define XLAT_STR_340 STRINGIFY(V4L2_CID_UNIT_CELL_SIZE) + XLAT(V4L2_CID_NOTIFY_GAINS), + #define XLAT_VAL_341 ((unsigned) (V4L2_CID_NOTIFY_GAINS)) + #define XLAT_STR_341 STRINGIFY(V4L2_CID_NOTIFY_GAINS) XLAT(V4L2_CID_LINK_FREQ), - #define XLAT_VAL_339 ((unsigned) (V4L2_CID_LINK_FREQ)) - #define XLAT_STR_339 STRINGIFY(V4L2_CID_LINK_FREQ) + #define XLAT_VAL_342 ((unsigned) (V4L2_CID_LINK_FREQ)) + #define XLAT_STR_342 STRINGIFY(V4L2_CID_LINK_FREQ) XLAT(V4L2_CID_PIXEL_RATE), - #define XLAT_VAL_340 ((unsigned) (V4L2_CID_PIXEL_RATE)) - #define XLAT_STR_340 STRINGIFY(V4L2_CID_PIXEL_RATE) + #define XLAT_VAL_343 ((unsigned) (V4L2_CID_PIXEL_RATE)) + #define XLAT_STR_343 STRINGIFY(V4L2_CID_PIXEL_RATE) XLAT(V4L2_CID_TEST_PATTERN), - #define XLAT_VAL_341 ((unsigned) (V4L2_CID_TEST_PATTERN)) - #define XLAT_STR_341 STRINGIFY(V4L2_CID_TEST_PATTERN) + #define XLAT_VAL_344 ((unsigned) (V4L2_CID_TEST_PATTERN)) + #define XLAT_STR_344 STRINGIFY(V4L2_CID_TEST_PATTERN) XLAT(V4L2_CID_DEINTERLACING_MODE), - #define XLAT_VAL_342 ((unsigned) (V4L2_CID_DEINTERLACING_MODE)) - #define XLAT_STR_342 STRINGIFY(V4L2_CID_DEINTERLACING_MODE) + #define XLAT_VAL_345 ((unsigned) (V4L2_CID_DEINTERLACING_MODE)) + #define XLAT_STR_345 STRINGIFY(V4L2_CID_DEINTERLACING_MODE) XLAT(V4L2_CID_DIGITAL_GAIN), - #define XLAT_VAL_343 ((unsigned) (V4L2_CID_DIGITAL_GAIN)) - #define XLAT_STR_343 STRINGIFY(V4L2_CID_DIGITAL_GAIN) + #define XLAT_VAL_346 ((unsigned) (V4L2_CID_DIGITAL_GAIN)) + #define XLAT_STR_346 STRINGIFY(V4L2_CID_DIGITAL_GAIN) XLAT(V4L2_CID_DV_TX_RGB_RANGE), - #define XLAT_VAL_344 ((unsigned) (V4L2_CID_DV_TX_RGB_RANGE)) - #define XLAT_STR_344 STRINGIFY(V4L2_CID_DV_TX_RGB_RANGE) + #define XLAT_VAL_347 ((unsigned) (V4L2_CID_DV_TX_RGB_RANGE)) + #define XLAT_STR_347 STRINGIFY(V4L2_CID_DV_TX_RGB_RANGE) XLAT(V4L2_CID_DV_TX_IT_CONTENT_TYPE), - #define XLAT_VAL_345 ((unsigned) (V4L2_CID_DV_TX_IT_CONTENT_TYPE)) - #define XLAT_STR_345 STRINGIFY(V4L2_CID_DV_TX_IT_CONTENT_TYPE) + #define XLAT_VAL_348 ((unsigned) (V4L2_CID_DV_TX_IT_CONTENT_TYPE)) + #define XLAT_STR_348 STRINGIFY(V4L2_CID_DV_TX_IT_CONTENT_TYPE) XLAT(V4L2_CID_DV_RX_RGB_RANGE), - #define XLAT_VAL_346 ((unsigned) (V4L2_CID_DV_RX_RGB_RANGE)) - #define XLAT_STR_346 STRINGIFY(V4L2_CID_DV_RX_RGB_RANGE) + #define XLAT_VAL_349 ((unsigned) (V4L2_CID_DV_RX_RGB_RANGE)) + #define XLAT_STR_349 STRINGIFY(V4L2_CID_DV_RX_RGB_RANGE) XLAT(V4L2_CID_DV_RX_IT_CONTENT_TYPE), - #define XLAT_VAL_347 ((unsigned) (V4L2_CID_DV_RX_IT_CONTENT_TYPE)) - #define XLAT_STR_347 STRINGIFY(V4L2_CID_DV_RX_IT_CONTENT_TYPE) + #define XLAT_VAL_350 ((unsigned) (V4L2_CID_DV_RX_IT_CONTENT_TYPE)) + #define XLAT_STR_350 STRINGIFY(V4L2_CID_DV_RX_IT_CONTENT_TYPE) XLAT(V4L2_CID_TUNE_DEEMPHASIS), - #define XLAT_VAL_348 ((unsigned) (V4L2_CID_TUNE_DEEMPHASIS)) - #define XLAT_STR_348 STRINGIFY(V4L2_CID_TUNE_DEEMPHASIS) + #define XLAT_VAL_351 ((unsigned) (V4L2_CID_TUNE_DEEMPHASIS)) + #define XLAT_STR_351 STRINGIFY(V4L2_CID_TUNE_DEEMPHASIS) XLAT(V4L2_CID_RDS_RECEPTION), - #define XLAT_VAL_349 ((unsigned) (V4L2_CID_RDS_RECEPTION)) - #define XLAT_STR_349 STRINGIFY(V4L2_CID_RDS_RECEPTION) + #define XLAT_VAL_352 ((unsigned) (V4L2_CID_RDS_RECEPTION)) + #define XLAT_STR_352 STRINGIFY(V4L2_CID_RDS_RECEPTION) XLAT(V4L2_CID_RDS_RX_PTY), - #define XLAT_VAL_350 ((unsigned) (V4L2_CID_RDS_RX_PTY)) - #define XLAT_STR_350 STRINGIFY(V4L2_CID_RDS_RX_PTY) + #define XLAT_VAL_353 ((unsigned) (V4L2_CID_RDS_RX_PTY)) + #define XLAT_STR_353 STRINGIFY(V4L2_CID_RDS_RX_PTY) XLAT(V4L2_CID_RDS_RX_PS_NAME), - #define XLAT_VAL_351 ((unsigned) (V4L2_CID_RDS_RX_PS_NAME)) - #define XLAT_STR_351 STRINGIFY(V4L2_CID_RDS_RX_PS_NAME) + #define XLAT_VAL_354 ((unsigned) (V4L2_CID_RDS_RX_PS_NAME)) + #define XLAT_STR_354 STRINGIFY(V4L2_CID_RDS_RX_PS_NAME) XLAT(V4L2_CID_RDS_RX_RADIO_TEXT), - #define XLAT_VAL_352 ((unsigned) (V4L2_CID_RDS_RX_RADIO_TEXT)) - #define XLAT_STR_352 STRINGIFY(V4L2_CID_RDS_RX_RADIO_TEXT) + #define XLAT_VAL_355 ((unsigned) (V4L2_CID_RDS_RX_RADIO_TEXT)) + #define XLAT_STR_355 STRINGIFY(V4L2_CID_RDS_RX_RADIO_TEXT) XLAT(V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT), - #define XLAT_VAL_353 ((unsigned) (V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT)) - #define XLAT_STR_353 STRINGIFY(V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT) + #define XLAT_VAL_356 ((unsigned) (V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT)) + #define XLAT_STR_356 STRINGIFY(V4L2_CID_RDS_RX_TRAFFIC_ANNOUNCEMENT) XLAT(V4L2_CID_RDS_RX_TRAFFIC_PROGRAM), - #define XLAT_VAL_354 ((unsigned) (V4L2_CID_RDS_RX_TRAFFIC_PROGRAM)) - #define XLAT_STR_354 STRINGIFY(V4L2_CID_RDS_RX_TRAFFIC_PROGRAM) + #define XLAT_VAL_357 ((unsigned) (V4L2_CID_RDS_RX_TRAFFIC_PROGRAM)) + #define XLAT_STR_357 STRINGIFY(V4L2_CID_RDS_RX_TRAFFIC_PROGRAM) XLAT(V4L2_CID_RDS_RX_MUSIC_SPEECH), - #define XLAT_VAL_355 ((unsigned) (V4L2_CID_RDS_RX_MUSIC_SPEECH)) - #define XLAT_STR_355 STRINGIFY(V4L2_CID_RDS_RX_MUSIC_SPEECH) + #define XLAT_VAL_358 ((unsigned) (V4L2_CID_RDS_RX_MUSIC_SPEECH)) + #define XLAT_STR_358 STRINGIFY(V4L2_CID_RDS_RX_MUSIC_SPEECH) XLAT(V4L2_CID_RF_TUNER_BANDWIDTH_AUTO), - #define XLAT_VAL_356 ((unsigned) (V4L2_CID_RF_TUNER_BANDWIDTH_AUTO)) - #define XLAT_STR_356 STRINGIFY(V4L2_CID_RF_TUNER_BANDWIDTH_AUTO) + #define XLAT_VAL_359 ((unsigned) (V4L2_CID_RF_TUNER_BANDWIDTH_AUTO)) + #define XLAT_STR_359 STRINGIFY(V4L2_CID_RF_TUNER_BANDWIDTH_AUTO) XLAT(V4L2_CID_RF_TUNER_BANDWIDTH), - #define XLAT_VAL_357 ((unsigned) (V4L2_CID_RF_TUNER_BANDWIDTH)) - #define XLAT_STR_357 STRINGIFY(V4L2_CID_RF_TUNER_BANDWIDTH) + #define XLAT_VAL_360 ((unsigned) (V4L2_CID_RF_TUNER_BANDWIDTH)) + #define XLAT_STR_360 STRINGIFY(V4L2_CID_RF_TUNER_BANDWIDTH) XLAT(V4L2_CID_RF_TUNER_RF_GAIN), - #define XLAT_VAL_358 ((unsigned) (V4L2_CID_RF_TUNER_RF_GAIN)) - #define XLAT_STR_358 STRINGIFY(V4L2_CID_RF_TUNER_RF_GAIN) + #define XLAT_VAL_361 ((unsigned) (V4L2_CID_RF_TUNER_RF_GAIN)) + #define XLAT_STR_361 STRINGIFY(V4L2_CID_RF_TUNER_RF_GAIN) XLAT(V4L2_CID_RF_TUNER_LNA_GAIN_AUTO), - #define XLAT_VAL_359 ((unsigned) (V4L2_CID_RF_TUNER_LNA_GAIN_AUTO)) - #define XLAT_STR_359 STRINGIFY(V4L2_CID_RF_TUNER_LNA_GAIN_AUTO) + #define XLAT_VAL_362 ((unsigned) (V4L2_CID_RF_TUNER_LNA_GAIN_AUTO)) + #define XLAT_STR_362 STRINGIFY(V4L2_CID_RF_TUNER_LNA_GAIN_AUTO) XLAT(V4L2_CID_RF_TUNER_LNA_GAIN), - #define XLAT_VAL_360 ((unsigned) (V4L2_CID_RF_TUNER_LNA_GAIN)) - #define XLAT_STR_360 STRINGIFY(V4L2_CID_RF_TUNER_LNA_GAIN) + #define XLAT_VAL_363 ((unsigned) (V4L2_CID_RF_TUNER_LNA_GAIN)) + #define XLAT_STR_363 STRINGIFY(V4L2_CID_RF_TUNER_LNA_GAIN) XLAT(V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO), - #define XLAT_VAL_361 ((unsigned) (V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO)) - #define XLAT_STR_361 STRINGIFY(V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO) + #define XLAT_VAL_364 ((unsigned) (V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO)) + #define XLAT_STR_364 STRINGIFY(V4L2_CID_RF_TUNER_MIXER_GAIN_AUTO) XLAT(V4L2_CID_RF_TUNER_MIXER_GAIN), - #define XLAT_VAL_362 ((unsigned) (V4L2_CID_RF_TUNER_MIXER_GAIN)) - #define XLAT_STR_362 STRINGIFY(V4L2_CID_RF_TUNER_MIXER_GAIN) + #define XLAT_VAL_365 ((unsigned) (V4L2_CID_RF_TUNER_MIXER_GAIN)) + #define XLAT_STR_365 STRINGIFY(V4L2_CID_RF_TUNER_MIXER_GAIN) XLAT(V4L2_CID_RF_TUNER_IF_GAIN_AUTO), - #define XLAT_VAL_363 ((unsigned) (V4L2_CID_RF_TUNER_IF_GAIN_AUTO)) - #define XLAT_STR_363 STRINGIFY(V4L2_CID_RF_TUNER_IF_GAIN_AUTO) + #define XLAT_VAL_366 ((unsigned) (V4L2_CID_RF_TUNER_IF_GAIN_AUTO)) + #define XLAT_STR_366 STRINGIFY(V4L2_CID_RF_TUNER_IF_GAIN_AUTO) XLAT(V4L2_CID_RF_TUNER_IF_GAIN), - #define XLAT_VAL_364 ((unsigned) (V4L2_CID_RF_TUNER_IF_GAIN)) - #define XLAT_STR_364 STRINGIFY(V4L2_CID_RF_TUNER_IF_GAIN) + #define XLAT_VAL_367 ((unsigned) (V4L2_CID_RF_TUNER_IF_GAIN)) + #define XLAT_STR_367 STRINGIFY(V4L2_CID_RF_TUNER_IF_GAIN) XLAT(V4L2_CID_RF_TUNER_PLL_LOCK), - #define XLAT_VAL_365 ((unsigned) (V4L2_CID_RF_TUNER_PLL_LOCK)) - #define XLAT_STR_365 STRINGIFY(V4L2_CID_RF_TUNER_PLL_LOCK) + #define XLAT_VAL_368 ((unsigned) (V4L2_CID_RF_TUNER_PLL_LOCK)) + #define XLAT_STR_368 STRINGIFY(V4L2_CID_RF_TUNER_PLL_LOCK) XLAT(V4L2_CID_DETECT_MD_MODE), - #define XLAT_VAL_366 ((unsigned) (V4L2_CID_DETECT_MD_MODE)) - #define XLAT_STR_366 STRINGIFY(V4L2_CID_DETECT_MD_MODE) + #define XLAT_VAL_369 ((unsigned) (V4L2_CID_DETECT_MD_MODE)) + #define XLAT_STR_369 STRINGIFY(V4L2_CID_DETECT_MD_MODE) XLAT(V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD), - #define XLAT_VAL_367 ((unsigned) (V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD)) - #define XLAT_STR_367 STRINGIFY(V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD) + #define XLAT_VAL_370 ((unsigned) (V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD)) + #define XLAT_STR_370 STRINGIFY(V4L2_CID_DETECT_MD_GLOBAL_THRESHOLD) XLAT(V4L2_CID_DETECT_MD_THRESHOLD_GRID), - #define XLAT_VAL_368 ((unsigned) (V4L2_CID_DETECT_MD_THRESHOLD_GRID)) - #define XLAT_STR_368 STRINGIFY(V4L2_CID_DETECT_MD_THRESHOLD_GRID) + #define XLAT_VAL_371 ((unsigned) (V4L2_CID_DETECT_MD_THRESHOLD_GRID)) + #define XLAT_STR_371 STRINGIFY(V4L2_CID_DETECT_MD_THRESHOLD_GRID) XLAT(V4L2_CID_DETECT_MD_REGION_GRID), - #define XLAT_VAL_369 ((unsigned) (V4L2_CID_DETECT_MD_REGION_GRID)) - #define XLAT_STR_369 STRINGIFY(V4L2_CID_DETECT_MD_REGION_GRID) + #define XLAT_VAL_372 ((unsigned) (V4L2_CID_DETECT_MD_REGION_GRID)) + #define XLAT_STR_372 STRINGIFY(V4L2_CID_DETECT_MD_REGION_GRID) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -1147,7 +4141,7 @@ const struct xlat v4l2_control_ids1 = { { .data = v4l2_control_ids_xdata, .size = ARRAY_SIZE(v4l2_control_ids_xdata), - .type = XT_NORMAL, + .type = XT_SORTED, .flags_mask = 0 # ifdef XLAT_VAL_0 | XLAT_VAL_0 @@ -2259,6 +5253,15 @@ # ifdef XLAT_VAL_369 | XLAT_VAL_369 # endif +# ifdef XLAT_VAL_370 + | XLAT_VAL_370 +# endif +# ifdef XLAT_VAL_371 + | XLAT_VAL_371 +# endif +# ifdef XLAT_VAL_372 + | XLAT_VAL_372 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -3371,6 +6374,15 @@ # ifdef XLAT_STR_369 + sizeof(XLAT_STR_369) # endif +# ifdef XLAT_STR_370 + + sizeof(XLAT_STR_370) +# endif +# ifdef XLAT_STR_371 + + sizeof(XLAT_STR_371) +# endif +# ifdef XLAT_STR_372 + + sizeof(XLAT_STR_372) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -4115,6 +7127,12 @@ # undef XLAT_VAL_368 # undef XLAT_STR_369 # undef XLAT_VAL_369 +# undef XLAT_STR_370 +# undef XLAT_VAL_370 +# undef XLAT_STR_371 +# undef XLAT_VAL_371 +# undef XLAT_STR_372 +# undef XLAT_VAL_372 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_ids.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_ids.in
Changed
@@ -1,4 +1,5 @@ #unconditional +#sorted /* User-class control IDs */ V4L2_CID_BRIGHTNESS V4L2_CID_CONTRAST @@ -104,6 +105,8 @@ V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR +V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD +V4L2_CID_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION V4L2_CID_FWHT_I_FRAME_QP @@ -351,6 +354,7 @@ V4L2_CID_TEST_PATTERN_BLUE V4L2_CID_TEST_PATTERN_GREENB V4L2_CID_UNIT_CELL_SIZE +V4L2_CID_NOTIFY_GAINS /* Image processing controls */ V4L2_CID_LINK_FREQ V4L2_CID_PIXEL_RATE
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_query_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_query_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_control_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_control_types.h
Changed
@@ -3,6 +3,191 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_INTEGER) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_INTEGER" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_INTEGER) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_BOOLEAN) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_BOOLEAN" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_BOOLEAN) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_MENU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_MENU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_MENU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_BUTTON) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_BUTTON" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_BUTTON) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_INTEGER64) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_INTEGER64" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_INTEGER64) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_CTRL_CLASS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_CTRL_CLASS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_CTRL_CLASS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_STRING) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_STRING" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_STRING) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_BITMASK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_BITMASK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_BITMASK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_INTEGER_MENU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_INTEGER_MENU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_INTEGER_MENU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_U8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_U8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_U8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_U16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_U16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_U16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_U32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_U32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_U32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_AREA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_AREA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_AREA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_HDR10_CLL_INFO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_HDR10_CLL_INFO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_HDR10_CLL_INFO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_HDR10_MASTERING_DISPLAY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_SPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_SPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_SPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_PPS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_PPS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_PPS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_SCALING_MATRIX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_SCALING_MATRIX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_SCALING_MATRIX) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_SLICE_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_SLICE_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_SLICE_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_DECODE_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_DECODE_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_DECODE_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_H264_PRED_WEIGHTS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_H264_PRED_WEIGHTS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_H264_PRED_WEIGHTS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_FWHT_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_FWHT_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_FWHT_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_CTRL_TYPE_VP8_FRAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_CTRL_TYPE_VP8_FRAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_CTRL_TYPE_VP8_FRAME) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_device_capabilities_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_device_capabilities_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_fields.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_fields.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_format_description_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_format_description_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_frameinterval_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_frameinterval_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_framesize_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_framesize_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_input_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_input_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_memories.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_memories.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_meta_fmts.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_meta_fmts.h
Changed
@@ -3,6 +3,63 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_VIVID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_VIVID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_VIVID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_UVC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_UVC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_UVC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_VSP1_HGO) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_VSP1_HGO" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_VSP1_HGO) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_RK_ISP1_PARAMS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_RK_ISP1_PARAMS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_RK_ISP1_PARAMS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_RK_ISP1_STAT_3A) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_RK_ISP1_STAT_3A" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_RK_ISP1_STAT_3A) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_VSP1_HGT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_VSP1_HGT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_VSP1_HGT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_META_FMT_D4XX) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_META_FMT_D4XX" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_META_FMT_D4XX) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_pix_fmts.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_pix_fmts.h
Changed
@@ -3,6 +3,1607 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y6) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y6" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y6) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Z16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Z16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Z16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_UV8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_UV8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_UV8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y8I) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y8I" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y8I) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MR97310A) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MR97310A" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MR97310A) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SN9C10X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SN9C10X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SN9C10X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG10DPCM8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG10DPCM8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG10DPCM8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_M420) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_M420" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_M420) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SN9C20X_I420) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SN9C20X_I420" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SN9C20X_I420) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_JL2005BCD) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_JL2005BCD" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_JL2005BCD) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_TM6000) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_TM6000" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_TM6000) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_STV0680) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_STV0680" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_STV0680) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VP8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VP8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VP8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VP9) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VP9" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VP9) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SE401) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SE401" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SE401) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SPCA501) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SPCA501" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SPCA501) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_OV511) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_OV511" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_OV511) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MM21) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MM21" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MM21) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV21M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV21M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV21M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVU420M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVU420M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVU420M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MT21C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MT21C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MT21C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV21) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV21" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV21) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SPCA561) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SPCA561" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SPCA561) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV61M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV61M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV61M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVU422M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVU422M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVU422M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV61) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV61" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV61) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB332) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB332" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB332) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_H264_NO_SC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_H264_NO_SC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_H264_NO_SC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_PWC1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_PWC1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_PWC1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MPEG1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MPEG1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MPEG1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRA444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRA444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRA444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12M_8L128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12M_8L128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12M_8L128) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBA444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBA444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBA444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ABGR444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ABGR444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ABGR444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XBGR444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XBGR444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XBGR444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12_16L16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12_16L16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12_16L16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12MT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12MT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12MT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12MT_16X16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12MT_16X16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12MT_16X16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV420M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV420M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV420M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ARGB444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ARGB444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ARGB444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XRGB444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XRGB444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XRGB444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12_32L32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12_32L32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12_32L32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12_4L4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12_4L4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12_4L4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV420) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV420" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV420) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVU420) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVU420" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVU420) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRX444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRX444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRX444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBX444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBX444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBX444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVU444M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVU444M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVU444M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV42) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV42" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV42) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_PWC2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_PWC2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_PWC2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MPEG2) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MPEG2" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MPEG2) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_H263) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_H263" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_H263) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGR24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGR24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGR24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_HSV24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_HSV24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_HSV24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG14) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG14" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG14) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ARGB32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ARGB32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ARGB32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRA32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRA32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRA32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBA32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBA32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBA32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBX32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBX32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBX32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_HI240) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_HI240" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_HI240) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV444M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV444M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV444M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ABGR32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ABGR32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ABGR32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XBGR32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XBGR32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XBGR32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV24) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV24" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV24) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XRGB32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XRGB32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XRGB32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRX32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRX32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRX32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV444) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV444" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV444) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_H264) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_H264" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_H264) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_H264_MVC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_H264_MVC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_H264_MVC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_H264_SLICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_H264_SLICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_H264_SLICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_CNF4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_CNF4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_CNF4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MPEG4) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MPEG4" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MPEG4) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGR32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGR32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGR32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_HSV32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_HSV32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_HSV32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SPCA505) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SPCA505" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SPCA505) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRA555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRA555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRA555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBA555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBA555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBA555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ABGR555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ABGR555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ABGR555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XBGR555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XBGR555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XBGR555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ARGB555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ARGB555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ARGB555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XRGB555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XRGB555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XRGB555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGRX555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGRX555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGRX555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGBX555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGBX555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGBX555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ET61X251) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ET61X251" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ET61X251) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV16M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV16M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV16M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV422M) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV422M" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV422M) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV16) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV16" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV16) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_PAC207) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_PAC207" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_PAC207) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SPCA508) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SPCA508" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SPCA508) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_OV518) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_OV518" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_OV518) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR10ALAW8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR10ALAW8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR10ALAW8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR10DPCM8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR10DPCM8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR10DPCM8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG10ALAW8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG10ALAW8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG10ALAW8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG10DPCM8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG10DPCM8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG10DPCM8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB10ALAW8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB10ALAW8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB10ALAW8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB10DPCM8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB10DPCM8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB10DPCM8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG10ALAW8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG10ALAW8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG10ALAW8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_PAL8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_PAL8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_PAL8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVU410) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVU410" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVU410) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV410) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV410" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV410) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR10P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR10P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR10P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG10P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG10P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG10P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB10P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB10P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB10P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG10P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG10P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG10P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_CPIA1) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_CPIA1" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_CPIA1) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_WNVA) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_WNVA" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_WNVA) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VUYA32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VUYA32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VUYA32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y10BPACK) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y10BPACK" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y10BPACK) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_QC10C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_QC10C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_QC10C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SQ905C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SQ905C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SQ905C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_QC08C) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_QC08C" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_QC08C) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR12P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR12P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR12P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG12P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG12P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG12P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB12P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB12P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB12P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG12P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG12P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG12P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_HEVC) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_HEVC" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_HEVC) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XVID) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XVID" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XVID) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SBGGR14P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SBGGR14P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SBGGR14P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG14P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG14P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG14P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SRGGB14P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SRGGB14P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SRGGB14P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG14P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG14P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG14P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VP8_FRAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VP8_FRAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VP8_FRAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VP9_FRAME) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VP9_FRAME" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VP9_FRAME) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VC1_ANNEX_G) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VC1_ANNEX_G" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VC1_ANNEX_G) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_IPU3_SGRBG10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_IPU3_SGRBG10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_IPU3_SGRBG10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGRBG8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGRBG8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGRBG8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_JPEG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_JPEG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_JPEG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MPEG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MPEG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MPEG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MJPEG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MJPEG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MJPEG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_PJPG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_PJPG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_PJPG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SGBRG8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SGBRG8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SGBRG8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_BGR666) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_BGR666" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_BGR666) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_FWHT_STATELESS) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_FWHT_STATELESS" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_FWHT_STATELESS) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y12I) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y12I" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y12I) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_S5C_UYVY_JPG) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_S5C_UYVY_JPG" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_S5C_UYVY_JPG) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_KONICA420) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_KONICA420" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_KONICA420) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_INZI) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_INZI" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_INZI) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VC1_ANNEX_L) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VC1_ANNEX_L" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VC1_ANNEX_L) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_JPGL) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_JPGL" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_JPGL) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV555) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV555" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV555) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y10P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y10P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y10P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV411P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV411P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV411P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y41P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y41P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y41P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV422P) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV422P" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV422P) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB565) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB565" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB565) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUV565) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUV565" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUV565) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB555X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB555X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB555X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_RGB565X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_RGB565X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_RGB565X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_MPEG2_SLICE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_MPEG2_SLICE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_MPEG2_SLICE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_FWHT) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_FWHT" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_FWHT) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YVYU) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YVYU" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YVYU) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_CIT_YYVYUY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_CIT_YYVYUY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_CIT_YYVYUY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_AYUV32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_AYUV32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_AYUV32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XYUV32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XYUV32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XYUV32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YYUV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YYUV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YYUV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_YUYV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_YUYV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_YUYV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_SN9C2028) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_SN9C2028" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_SN9C2028) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VUYX32) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VUYX32" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VUYX32) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_GREY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_GREY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_GREY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_VYUY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_VYUY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_VYUY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_UYVY) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_UYVY" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_UYVY) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_IPU3_SBGGR10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_IPU3_SBGGR10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_IPU3_SBGGR10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_DV) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_DV" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_DV) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_IPU3_SGBRG10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_IPU3_SGBRG10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_IPU3_SGBRG10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_IPU3_SRGGB10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_IPU3_SRGGB10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_IPU3_SRGGB10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_IPU3_Y10) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_IPU3_Y10" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_IPU3_Y10) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_Y16_BE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_Y16_BE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_Y16_BE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_NV12M_10BE_8L128) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_NV12M_10BE_8L128" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_NV12M_10BE_8L128) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_ARGB555X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_ARGB555X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_ARGB555X) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_PIX_FMT_XRGB555X) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_PIX_FMT_XRGB555X" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_PIX_FMT_XRGB555X) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY @@ -92,504 +1693,528 @@ XLAT(V4L2_PIX_FMT_OV511), #define XLAT_VAL_25 ((unsigned) (V4L2_PIX_FMT_OV511)) #define XLAT_STR_25 STRINGIFY(V4L2_PIX_FMT_OV511) + XLAT(V4L2_PIX_FMT_MM21), + #define XLAT_VAL_26 ((unsigned) (V4L2_PIX_FMT_MM21)) + #define XLAT_STR_26 STRINGIFY(V4L2_PIX_FMT_MM21) XLAT(V4L2_PIX_FMT_NV21M), - #define XLAT_VAL_26 ((unsigned) (V4L2_PIX_FMT_NV21M)) - #define XLAT_STR_26 STRINGIFY(V4L2_PIX_FMT_NV21M) + #define XLAT_VAL_27 ((unsigned) (V4L2_PIX_FMT_NV21M)) + #define XLAT_STR_27 STRINGIFY(V4L2_PIX_FMT_NV21M) XLAT(V4L2_PIX_FMT_YVU420M), - #define XLAT_VAL_27 ((unsigned) (V4L2_PIX_FMT_YVU420M)) - #define XLAT_STR_27 STRINGIFY(V4L2_PIX_FMT_YVU420M) + #define XLAT_VAL_28 ((unsigned) (V4L2_PIX_FMT_YVU420M)) + #define XLAT_STR_28 STRINGIFY(V4L2_PIX_FMT_YVU420M) XLAT(V4L2_PIX_FMT_MT21C), - #define XLAT_VAL_28 ((unsigned) (V4L2_PIX_FMT_MT21C)) - #define XLAT_STR_28 STRINGIFY(V4L2_PIX_FMT_MT21C) + #define XLAT_VAL_29 ((unsigned) (V4L2_PIX_FMT_MT21C)) + #define XLAT_STR_29 STRINGIFY(V4L2_PIX_FMT_MT21C) XLAT(V4L2_PIX_FMT_NV21), - #define XLAT_VAL_29 ((unsigned) (V4L2_PIX_FMT_NV21)) - #define XLAT_STR_29 STRINGIFY(V4L2_PIX_FMT_NV21) + #define XLAT_VAL_30 ((unsigned) (V4L2_PIX_FMT_NV21)) + #define XLAT_STR_30 STRINGIFY(V4L2_PIX_FMT_NV21) XLAT(V4L2_PIX_FMT_SPCA561), - #define XLAT_VAL_30 ((unsigned) (V4L2_PIX_FMT_SPCA561)) - #define XLAT_STR_30 STRINGIFY(V4L2_PIX_FMT_SPCA561) + #define XLAT_VAL_31 ((unsigned) (V4L2_PIX_FMT_SPCA561)) + #define XLAT_STR_31 STRINGIFY(V4L2_PIX_FMT_SPCA561) XLAT(V4L2_PIX_FMT_NV61M), - #define XLAT_VAL_31 ((unsigned) (V4L2_PIX_FMT_NV61M)) - #define XLAT_STR_31 STRINGIFY(V4L2_PIX_FMT_NV61M) + #define XLAT_VAL_32 ((unsigned) (V4L2_PIX_FMT_NV61M)) + #define XLAT_STR_32 STRINGIFY(V4L2_PIX_FMT_NV61M) XLAT(V4L2_PIX_FMT_YVU422M), - #define XLAT_VAL_32 ((unsigned) (V4L2_PIX_FMT_YVU422M)) - #define XLAT_STR_32 STRINGIFY(V4L2_PIX_FMT_YVU422M) + #define XLAT_VAL_33 ((unsigned) (V4L2_PIX_FMT_YVU422M)) + #define XLAT_STR_33 STRINGIFY(V4L2_PIX_FMT_YVU422M) XLAT(V4L2_PIX_FMT_NV61), - #define XLAT_VAL_33 ((unsigned) (V4L2_PIX_FMT_NV61)) - #define XLAT_STR_33 STRINGIFY(V4L2_PIX_FMT_NV61) + #define XLAT_VAL_34 ((unsigned) (V4L2_PIX_FMT_NV61)) + #define XLAT_STR_34 STRINGIFY(V4L2_PIX_FMT_NV61) XLAT(V4L2_PIX_FMT_SBGGR8), - #define XLAT_VAL_34 ((unsigned) (V4L2_PIX_FMT_SBGGR8)) - #define XLAT_STR_34 STRINGIFY(V4L2_PIX_FMT_SBGGR8) + #define XLAT_VAL_35 ((unsigned) (V4L2_PIX_FMT_SBGGR8)) + #define XLAT_STR_35 STRINGIFY(V4L2_PIX_FMT_SBGGR8) XLAT(V4L2_PIX_FMT_RGB332), - #define XLAT_VAL_35 ((unsigned) (V4L2_PIX_FMT_RGB332)) - #define XLAT_STR_35 STRINGIFY(V4L2_PIX_FMT_RGB332) + #define XLAT_VAL_36 ((unsigned) (V4L2_PIX_FMT_RGB332)) + #define XLAT_STR_36 STRINGIFY(V4L2_PIX_FMT_RGB332) XLAT(V4L2_PIX_FMT_H264_NO_SC), - #define XLAT_VAL_36 ((unsigned) (V4L2_PIX_FMT_H264_NO_SC)) - #define XLAT_STR_36 STRINGIFY(V4L2_PIX_FMT_H264_NO_SC) + #define XLAT_VAL_37 ((unsigned) (V4L2_PIX_FMT_H264_NO_SC)) + #define XLAT_STR_37 STRINGIFY(V4L2_PIX_FMT_H264_NO_SC) XLAT(V4L2_PIX_FMT_PWC1), - #define XLAT_VAL_37 ((unsigned) (V4L2_PIX_FMT_PWC1)) - #define XLAT_STR_37 STRINGIFY(V4L2_PIX_FMT_PWC1) + #define XLAT_VAL_38 ((unsigned) (V4L2_PIX_FMT_PWC1)) + #define XLAT_STR_38 STRINGIFY(V4L2_PIX_FMT_PWC1) XLAT(V4L2_PIX_FMT_MPEG1), - #define XLAT_VAL_38 ((unsigned) (V4L2_PIX_FMT_MPEG1)) - #define XLAT_STR_38 STRINGIFY(V4L2_PIX_FMT_MPEG1) + #define XLAT_VAL_39 ((unsigned) (V4L2_PIX_FMT_MPEG1)) + #define XLAT_STR_39 STRINGIFY(V4L2_PIX_FMT_MPEG1) XLAT(V4L2_PIX_FMT_SGRBG12), - #define XLAT_VAL_39 ((unsigned) (V4L2_PIX_FMT_SGRBG12)) - #define XLAT_STR_39 STRINGIFY(V4L2_PIX_FMT_SGRBG12) + #define XLAT_VAL_40 ((unsigned) (V4L2_PIX_FMT_SGRBG12)) + #define XLAT_STR_40 STRINGIFY(V4L2_PIX_FMT_SGRBG12) XLAT(V4L2_PIX_FMT_BGRA444), - #define XLAT_VAL_40 ((unsigned) (V4L2_PIX_FMT_BGRA444)) - #define XLAT_STR_40 STRINGIFY(V4L2_PIX_FMT_BGRA444) + #define XLAT_VAL_41 ((unsigned) (V4L2_PIX_FMT_BGRA444)) + #define XLAT_STR_41 STRINGIFY(V4L2_PIX_FMT_BGRA444) + XLAT(V4L2_PIX_FMT_NV12M_8L128), + #define XLAT_VAL_42 ((unsigned) (V4L2_PIX_FMT_NV12M_8L128)) + #define XLAT_STR_42 STRINGIFY(V4L2_PIX_FMT_NV12M_8L128) XLAT(V4L2_PIX_FMT_RGBA444), - #define XLAT_VAL_41 ((unsigned) (V4L2_PIX_FMT_RGBA444)) - #define XLAT_STR_41 STRINGIFY(V4L2_PIX_FMT_RGBA444) + #define XLAT_VAL_43 ((unsigned) (V4L2_PIX_FMT_RGBA444)) + #define XLAT_STR_43 STRINGIFY(V4L2_PIX_FMT_RGBA444) XLAT(V4L2_PIX_FMT_ABGR444), - #define XLAT_VAL_42 ((unsigned) (V4L2_PIX_FMT_ABGR444)) - #define XLAT_STR_42 STRINGIFY(V4L2_PIX_FMT_ABGR444) + #define XLAT_VAL_44 ((unsigned) (V4L2_PIX_FMT_ABGR444)) + #define XLAT_STR_44 STRINGIFY(V4L2_PIX_FMT_ABGR444) XLAT(V4L2_PIX_FMT_SGBRG12), - #define XLAT_VAL_43 ((unsigned) (V4L2_PIX_FMT_SGBRG12)) - #define XLAT_STR_43 STRINGIFY(V4L2_PIX_FMT_SGBRG12) + #define XLAT_VAL_45 ((unsigned) (V4L2_PIX_FMT_SGBRG12)) + #define XLAT_STR_45 STRINGIFY(V4L2_PIX_FMT_SGBRG12) XLAT(V4L2_PIX_FMT_XBGR444), - #define XLAT_VAL_44 ((unsigned) (V4L2_PIX_FMT_XBGR444)) - #define XLAT_STR_44 STRINGIFY(V4L2_PIX_FMT_XBGR444) + #define XLAT_VAL_46 ((unsigned) (V4L2_PIX_FMT_XBGR444)) + #define XLAT_STR_46 STRINGIFY(V4L2_PIX_FMT_XBGR444) XLAT(V4L2_PIX_FMT_SBGGR12), - #define XLAT_VAL_45 ((unsigned) (V4L2_PIX_FMT_SBGGR12)) - #define XLAT_STR_45 STRINGIFY(V4L2_PIX_FMT_SBGGR12) + #define XLAT_VAL_47 ((unsigned) (V4L2_PIX_FMT_SBGGR12)) + #define XLAT_STR_47 STRINGIFY(V4L2_PIX_FMT_SBGGR12) XLAT(V4L2_PIX_FMT_SRGGB12), - #define XLAT_VAL_46 ((unsigned) (V4L2_PIX_FMT_SRGGB12)) - #define XLAT_STR_46 STRINGIFY(V4L2_PIX_FMT_SRGGB12) - XLAT(V4L2_PIX_FMT_HM12), - #define XLAT_VAL_47 ((unsigned) (V4L2_PIX_FMT_HM12)) - #define XLAT_STR_47 STRINGIFY(V4L2_PIX_FMT_HM12) + #define XLAT_VAL_48 ((unsigned) (V4L2_PIX_FMT_SRGGB12)) + #define XLAT_STR_48 STRINGIFY(V4L2_PIX_FMT_SRGGB12) + XLAT(V4L2_PIX_FMT_NV12_16L16), + #define XLAT_VAL_49 ((unsigned) (V4L2_PIX_FMT_NV12_16L16)) + #define XLAT_STR_49 STRINGIFY(V4L2_PIX_FMT_NV12_16L16) XLAT(V4L2_PIX_FMT_NV12M), - #define XLAT_VAL_48 ((unsigned) (V4L2_PIX_FMT_NV12M)) - #define XLAT_STR_48 STRINGIFY(V4L2_PIX_FMT_NV12M) + #define XLAT_VAL_50 ((unsigned) (V4L2_PIX_FMT_NV12M)) + #define XLAT_STR_50 STRINGIFY(V4L2_PIX_FMT_NV12M) XLAT(V4L2_PIX_FMT_NV12MT), - #define XLAT_VAL_49 ((unsigned) (V4L2_PIX_FMT_NV12MT)) - #define XLAT_STR_49 STRINGIFY(V4L2_PIX_FMT_NV12MT) + #define XLAT_VAL_51 ((unsigned) (V4L2_PIX_FMT_NV12MT)) + #define XLAT_STR_51 STRINGIFY(V4L2_PIX_FMT_NV12MT) XLAT(V4L2_PIX_FMT_NV12MT_16X16), - #define XLAT_VAL_50 ((unsigned) (V4L2_PIX_FMT_NV12MT_16X16)) - #define XLAT_STR_50 STRINGIFY(V4L2_PIX_FMT_NV12MT_16X16) + #define XLAT_VAL_52 ((unsigned) (V4L2_PIX_FMT_NV12MT_16X16)) + #define XLAT_STR_52 STRINGIFY(V4L2_PIX_FMT_NV12MT_16X16) XLAT(V4L2_PIX_FMT_YUV420M), - #define XLAT_VAL_51 ((unsigned) (V4L2_PIX_FMT_YUV420M)) - #define XLAT_STR_51 STRINGIFY(V4L2_PIX_FMT_YUV420M) + #define XLAT_VAL_53 ((unsigned) (V4L2_PIX_FMT_YUV420M)) + #define XLAT_STR_53 STRINGIFY(V4L2_PIX_FMT_YUV420M) XLAT(V4L2_PIX_FMT_ARGB444), - #define XLAT_VAL_52 ((unsigned) (V4L2_PIX_FMT_ARGB444)) - #define XLAT_STR_52 STRINGIFY(V4L2_PIX_FMT_ARGB444) + #define XLAT_VAL_54 ((unsigned) (V4L2_PIX_FMT_ARGB444)) + #define XLAT_STR_54 STRINGIFY(V4L2_PIX_FMT_ARGB444) XLAT(V4L2_PIX_FMT_XRGB444), - #define XLAT_VAL_53 ((unsigned) (V4L2_PIX_FMT_XRGB444)) - #define XLAT_STR_53 STRINGIFY(V4L2_PIX_FMT_XRGB444) - XLAT(V4L2_PIX_FMT_SUNXI_TILED_NV12), - #define XLAT_VAL_54 ((unsigned) (V4L2_PIX_FMT_SUNXI_TILED_NV12)) - #define XLAT_STR_54 STRINGIFY(V4L2_PIX_FMT_SUNXI_TILED_NV12) + #define XLAT_VAL_55 ((unsigned) (V4L2_PIX_FMT_XRGB444)) + #define XLAT_STR_55 STRINGIFY(V4L2_PIX_FMT_XRGB444) + XLAT(V4L2_PIX_FMT_NV12_32L32), + #define XLAT_VAL_56 ((unsigned) (V4L2_PIX_FMT_NV12_32L32)) + #define XLAT_STR_56 STRINGIFY(V4L2_PIX_FMT_NV12_32L32) + XLAT(V4L2_PIX_FMT_NV12_4L4), + #define XLAT_VAL_57 ((unsigned) (V4L2_PIX_FMT_NV12_4L4)) + #define XLAT_STR_57 STRINGIFY(V4L2_PIX_FMT_NV12_4L4) XLAT(V4L2_PIX_FMT_YUV420), - #define XLAT_VAL_55 ((unsigned) (V4L2_PIX_FMT_YUV420)) - #define XLAT_STR_55 STRINGIFY(V4L2_PIX_FMT_YUV420) + #define XLAT_VAL_58 ((unsigned) (V4L2_PIX_FMT_YUV420)) + #define XLAT_STR_58 STRINGIFY(V4L2_PIX_FMT_YUV420) XLAT(V4L2_PIX_FMT_NV12), - #define XLAT_VAL_56 ((unsigned) (V4L2_PIX_FMT_NV12)) - #define XLAT_STR_56 STRINGIFY(V4L2_PIX_FMT_NV12) + #define XLAT_VAL_59 ((unsigned) (V4L2_PIX_FMT_NV12)) + #define XLAT_STR_59 STRINGIFY(V4L2_PIX_FMT_NV12) XLAT(V4L2_PIX_FMT_YVU420), - #define XLAT_VAL_57 ((unsigned) (V4L2_PIX_FMT_YVU420)) - #define XLAT_STR_57 STRINGIFY(V4L2_PIX_FMT_YVU420) + #define XLAT_VAL_60 ((unsigned) (V4L2_PIX_FMT_YVU420)) + #define XLAT_STR_60 STRINGIFY(V4L2_PIX_FMT_YVU420) XLAT(V4L2_PIX_FMT_BGRX444), - #define XLAT_VAL_58 ((unsigned) (V4L2_PIX_FMT_BGRX444)) - #define XLAT_STR_58 STRINGIFY(V4L2_PIX_FMT_BGRX444) + #define XLAT_VAL_61 ((unsigned) (V4L2_PIX_FMT_BGRX444)) + #define XLAT_STR_61 STRINGIFY(V4L2_PIX_FMT_BGRX444) XLAT(V4L2_PIX_FMT_RGBX444), - #define XLAT_VAL_59 ((unsigned) (V4L2_PIX_FMT_RGBX444)) - #define XLAT_STR_59 STRINGIFY(V4L2_PIX_FMT_RGBX444) + #define XLAT_VAL_62 ((unsigned) (V4L2_PIX_FMT_RGBX444)) + #define XLAT_STR_62 STRINGIFY(V4L2_PIX_FMT_RGBX444) XLAT(V4L2_PIX_FMT_YVU444M), - #define XLAT_VAL_60 ((unsigned) (V4L2_PIX_FMT_YVU444M)) - #define XLAT_STR_60 STRINGIFY(V4L2_PIX_FMT_YVU444M) + #define XLAT_VAL_63 ((unsigned) (V4L2_PIX_FMT_YVU444M)) + #define XLAT_STR_63 STRINGIFY(V4L2_PIX_FMT_YVU444M) XLAT(V4L2_PIX_FMT_NV42), - #define XLAT_VAL_61 ((unsigned) (V4L2_PIX_FMT_NV42)) - #define XLAT_STR_61 STRINGIFY(V4L2_PIX_FMT_NV42) + #define XLAT_VAL_64 ((unsigned) (V4L2_PIX_FMT_NV42)) + #define XLAT_STR_64 STRINGIFY(V4L2_PIX_FMT_NV42) XLAT(V4L2_PIX_FMT_PWC2), - #define XLAT_VAL_62 ((unsigned) (V4L2_PIX_FMT_PWC2)) - #define XLAT_STR_62 STRINGIFY(V4L2_PIX_FMT_PWC2) + #define XLAT_VAL_65 ((unsigned) (V4L2_PIX_FMT_PWC2)) + #define XLAT_STR_65 STRINGIFY(V4L2_PIX_FMT_PWC2) XLAT(V4L2_PIX_FMT_MPEG2), - #define XLAT_VAL_63 ((unsigned) (V4L2_PIX_FMT_MPEG2)) - #define XLAT_STR_63 STRINGIFY(V4L2_PIX_FMT_MPEG2) + #define XLAT_VAL_66 ((unsigned) (V4L2_PIX_FMT_MPEG2)) + #define XLAT_STR_66 STRINGIFY(V4L2_PIX_FMT_MPEG2) XLAT(V4L2_PIX_FMT_SBGGR16), - #define XLAT_VAL_64 ((unsigned) (V4L2_PIX_FMT_SBGGR16)) - #define XLAT_STR_64 STRINGIFY(V4L2_PIX_FMT_SBGGR16) + #define XLAT_VAL_67 ((unsigned) (V4L2_PIX_FMT_SBGGR16)) + #define XLAT_STR_67 STRINGIFY(V4L2_PIX_FMT_SBGGR16) XLAT(V4L2_PIX_FMT_H263), - #define XLAT_VAL_65 ((unsigned) (V4L2_PIX_FMT_H263)) - #define XLAT_STR_65 STRINGIFY(V4L2_PIX_FMT_H263) + #define XLAT_VAL_68 ((unsigned) (V4L2_PIX_FMT_H263)) + #define XLAT_STR_68 STRINGIFY(V4L2_PIX_FMT_H263) XLAT(V4L2_PIX_FMT_RGB24), - #define XLAT_VAL_66 ((unsigned) (V4L2_PIX_FMT_RGB24)) - #define XLAT_STR_66 STRINGIFY(V4L2_PIX_FMT_RGB24) + #define XLAT_VAL_69 ((unsigned) (V4L2_PIX_FMT_RGB24)) + #define XLAT_STR_69 STRINGIFY(V4L2_PIX_FMT_RGB24) XLAT(V4L2_PIX_FMT_BGR24), - #define XLAT_VAL_67 ((unsigned) (V4L2_PIX_FMT_BGR24)) - #define XLAT_STR_67 STRINGIFY(V4L2_PIX_FMT_BGR24) + #define XLAT_VAL_70 ((unsigned) (V4L2_PIX_FMT_BGR24)) + #define XLAT_STR_70 STRINGIFY(V4L2_PIX_FMT_BGR24) XLAT(V4L2_PIX_FMT_HSV24), - #define XLAT_VAL_68 ((unsigned) (V4L2_PIX_FMT_HSV24)) - #define XLAT_STR_68 STRINGIFY(V4L2_PIX_FMT_HSV24) + #define XLAT_VAL_71 ((unsigned) (V4L2_PIX_FMT_HSV24)) + #define XLAT_STR_71 STRINGIFY(V4L2_PIX_FMT_HSV24) XLAT(V4L2_PIX_FMT_YUV24), - #define XLAT_VAL_69 ((unsigned) (V4L2_PIX_FMT_YUV24)) - #define XLAT_STR_69 STRINGIFY(V4L2_PIX_FMT_YUV24) + #define XLAT_VAL_72 ((unsigned) (V4L2_PIX_FMT_YUV24)) + #define XLAT_STR_72 STRINGIFY(V4L2_PIX_FMT_YUV24) XLAT(V4L2_PIX_FMT_SGBRG14), - #define XLAT_VAL_70 ((unsigned) (V4L2_PIX_FMT_SGBRG14)) - #define XLAT_STR_70 STRINGIFY(V4L2_PIX_FMT_SGBRG14) + #define XLAT_VAL_73 ((unsigned) (V4L2_PIX_FMT_SGBRG14)) + #define XLAT_STR_73 STRINGIFY(V4L2_PIX_FMT_SGBRG14) XLAT(V4L2_PIX_FMT_SBGGR14), - #define XLAT_VAL_71 ((unsigned) (V4L2_PIX_FMT_SBGGR14)) - #define XLAT_STR_71 STRINGIFY(V4L2_PIX_FMT_SBGGR14) + #define XLAT_VAL_74 ((unsigned) (V4L2_PIX_FMT_SBGGR14)) + #define XLAT_STR_74 STRINGIFY(V4L2_PIX_FMT_SBGGR14) XLAT(V4L2_PIX_FMT_SRGGB14), - #define XLAT_VAL_72 ((unsigned) (V4L2_PIX_FMT_SRGGB14)) - #define XLAT_STR_72 STRINGIFY(V4L2_PIX_FMT_SRGGB14) + #define XLAT_VAL_75 ((unsigned) (V4L2_PIX_FMT_SRGGB14)) + #define XLAT_STR_75 STRINGIFY(V4L2_PIX_FMT_SRGGB14) XLAT(V4L2_PIX_FMT_SGRBG14), - #define XLAT_VAL_73 ((unsigned) (V4L2_PIX_FMT_SGRBG14)) - #define XLAT_STR_73 STRINGIFY(V4L2_PIX_FMT_SGRBG14) + #define XLAT_VAL_76 ((unsigned) (V4L2_PIX_FMT_SGRBG14)) + #define XLAT_STR_76 STRINGIFY(V4L2_PIX_FMT_SGRBG14) XLAT(V4L2_PIX_FMT_ARGB32), - #define XLAT_VAL_74 ((unsigned) (V4L2_PIX_FMT_ARGB32)) - #define XLAT_STR_74 STRINGIFY(V4L2_PIX_FMT_ARGB32) + #define XLAT_VAL_77 ((unsigned) (V4L2_PIX_FMT_ARGB32)) + #define XLAT_STR_77 STRINGIFY(V4L2_PIX_FMT_ARGB32) XLAT(V4L2_PIX_FMT_BGRA32), - #define XLAT_VAL_75 ((unsigned) (V4L2_PIX_FMT_BGRA32)) - #define XLAT_STR_75 STRINGIFY(V4L2_PIX_FMT_BGRA32) + #define XLAT_VAL_78 ((unsigned) (V4L2_PIX_FMT_BGRA32)) + #define XLAT_STR_78 STRINGIFY(V4L2_PIX_FMT_BGRA32) XLAT(V4L2_PIX_FMT_RGBA32), - #define XLAT_VAL_76 ((unsigned) (V4L2_PIX_FMT_RGBA32)) - #define XLAT_STR_76 STRINGIFY(V4L2_PIX_FMT_RGBA32) + #define XLAT_VAL_79 ((unsigned) (V4L2_PIX_FMT_RGBA32)) + #define XLAT_STR_79 STRINGIFY(V4L2_PIX_FMT_RGBA32) XLAT(V4L2_PIX_FMT_RGBX32), - #define XLAT_VAL_77 ((unsigned) (V4L2_PIX_FMT_RGBX32)) - #define XLAT_STR_77 STRINGIFY(V4L2_PIX_FMT_RGBX32) + #define XLAT_VAL_80 ((unsigned) (V4L2_PIX_FMT_RGBX32)) + #define XLAT_STR_80 STRINGIFY(V4L2_PIX_FMT_RGBX32) XLAT(V4L2_PIX_FMT_HI240), - #define XLAT_VAL_78 ((unsigned) (V4L2_PIX_FMT_HI240)) - #define XLAT_STR_78 STRINGIFY(V4L2_PIX_FMT_HI240) + #define XLAT_VAL_81 ((unsigned) (V4L2_PIX_FMT_HI240)) + #define XLAT_STR_81 STRINGIFY(V4L2_PIX_FMT_HI240) XLAT(V4L2_PIX_FMT_YUV444M), - #define XLAT_VAL_79 ((unsigned) (V4L2_PIX_FMT_YUV444M)) - #define XLAT_STR_79 STRINGIFY(V4L2_PIX_FMT_YUV444M) + #define XLAT_VAL_82 ((unsigned) (V4L2_PIX_FMT_YUV444M)) + #define XLAT_STR_82 STRINGIFY(V4L2_PIX_FMT_YUV444M) XLAT(V4L2_PIX_FMT_ABGR32), - #define XLAT_VAL_80 ((unsigned) (V4L2_PIX_FMT_ABGR32)) - #define XLAT_STR_80 STRINGIFY(V4L2_PIX_FMT_ABGR32) + #define XLAT_VAL_83 ((unsigned) (V4L2_PIX_FMT_ABGR32)) + #define XLAT_STR_83 STRINGIFY(V4L2_PIX_FMT_ABGR32) XLAT(V4L2_PIX_FMT_XBGR32), - #define XLAT_VAL_81 ((unsigned) (V4L2_PIX_FMT_XBGR32)) - #define XLAT_STR_81 STRINGIFY(V4L2_PIX_FMT_XBGR32) + #define XLAT_VAL_84 ((unsigned) (V4L2_PIX_FMT_XBGR32)) + #define XLAT_STR_84 STRINGIFY(V4L2_PIX_FMT_XBGR32) XLAT(V4L2_PIX_FMT_NV24), - #define XLAT_VAL_82 ((unsigned) (V4L2_PIX_FMT_NV24)) - #define XLAT_STR_82 STRINGIFY(V4L2_PIX_FMT_NV24) + #define XLAT_VAL_85 ((unsigned) (V4L2_PIX_FMT_NV24)) + #define XLAT_STR_85 STRINGIFY(V4L2_PIX_FMT_NV24) XLAT(V4L2_PIX_FMT_XRGB32), - #define XLAT_VAL_83 ((unsigned) (V4L2_PIX_FMT_XRGB32)) - #define XLAT_STR_83 STRINGIFY(V4L2_PIX_FMT_XRGB32) + #define XLAT_VAL_86 ((unsigned) (V4L2_PIX_FMT_XRGB32)) + #define XLAT_STR_86 STRINGIFY(V4L2_PIX_FMT_XRGB32) XLAT(V4L2_PIX_FMT_BGRX32), - #define XLAT_VAL_84 ((unsigned) (V4L2_PIX_FMT_BGRX32)) - #define XLAT_STR_84 STRINGIFY(V4L2_PIX_FMT_BGRX32) + #define XLAT_VAL_87 ((unsigned) (V4L2_PIX_FMT_BGRX32)) + #define XLAT_STR_87 STRINGIFY(V4L2_PIX_FMT_BGRX32) XLAT(V4L2_PIX_FMT_RGB444), - #define XLAT_VAL_85 ((unsigned) (V4L2_PIX_FMT_RGB444)) - #define XLAT_STR_85 STRINGIFY(V4L2_PIX_FMT_RGB444) + #define XLAT_VAL_88 ((unsigned) (V4L2_PIX_FMT_RGB444)) + #define XLAT_STR_88 STRINGIFY(V4L2_PIX_FMT_RGB444) XLAT(V4L2_PIX_FMT_YUV444), - #define XLAT_VAL_86 ((unsigned) (V4L2_PIX_FMT_YUV444)) - #define XLAT_STR_86 STRINGIFY(V4L2_PIX_FMT_YUV444) + #define XLAT_VAL_89 ((unsigned) (V4L2_PIX_FMT_YUV444)) + #define XLAT_STR_89 STRINGIFY(V4L2_PIX_FMT_YUV444) XLAT(V4L2_PIX_FMT_H264), - #define XLAT_VAL_87 ((unsigned) (V4L2_PIX_FMT_H264)) - #define XLAT_STR_87 STRINGIFY(V4L2_PIX_FMT_H264) + #define XLAT_VAL_90 ((unsigned) (V4L2_PIX_FMT_H264)) + #define XLAT_STR_90 STRINGIFY(V4L2_PIX_FMT_H264) XLAT(V4L2_PIX_FMT_H264_MVC), - #define XLAT_VAL_88 ((unsigned) (V4L2_PIX_FMT_H264_MVC)) - #define XLAT_STR_88 STRINGIFY(V4L2_PIX_FMT_H264_MVC) + #define XLAT_VAL_91 ((unsigned) (V4L2_PIX_FMT_H264_MVC)) + #define XLAT_STR_91 STRINGIFY(V4L2_PIX_FMT_H264_MVC) XLAT(V4L2_PIX_FMT_H264_SLICE), - #define XLAT_VAL_89 ((unsigned) (V4L2_PIX_FMT_H264_SLICE)) - #define XLAT_STR_89 STRINGIFY(V4L2_PIX_FMT_H264_SLICE) + #define XLAT_VAL_92 ((unsigned) (V4L2_PIX_FMT_H264_SLICE)) + #define XLAT_STR_92 STRINGIFY(V4L2_PIX_FMT_H264_SLICE) XLAT(V4L2_PIX_FMT_RGB32), - #define XLAT_VAL_90 ((unsigned) (V4L2_PIX_FMT_RGB32)) - #define XLAT_STR_90 STRINGIFY(V4L2_PIX_FMT_RGB32) + #define XLAT_VAL_93 ((unsigned) (V4L2_PIX_FMT_RGB32)) + #define XLAT_STR_93 STRINGIFY(V4L2_PIX_FMT_RGB32) XLAT(V4L2_PIX_FMT_CNF4), - #define XLAT_VAL_91 ((unsigned) (V4L2_PIX_FMT_CNF4)) - #define XLAT_STR_91 STRINGIFY(V4L2_PIX_FMT_CNF4) + #define XLAT_VAL_94 ((unsigned) (V4L2_PIX_FMT_CNF4)) + #define XLAT_STR_94 STRINGIFY(V4L2_PIX_FMT_CNF4) XLAT(V4L2_PIX_FMT_MPEG4), - #define XLAT_VAL_92 ((unsigned) (V4L2_PIX_FMT_MPEG4)) - #define XLAT_STR_92 STRINGIFY(V4L2_PIX_FMT_MPEG4) + #define XLAT_VAL_95 ((unsigned) (V4L2_PIX_FMT_MPEG4)) + #define XLAT_STR_95 STRINGIFY(V4L2_PIX_FMT_MPEG4) XLAT(V4L2_PIX_FMT_BGR32), - #define XLAT_VAL_93 ((unsigned) (V4L2_PIX_FMT_BGR32)) - #define XLAT_STR_93 STRINGIFY(V4L2_PIX_FMT_BGR32) + #define XLAT_VAL_96 ((unsigned) (V4L2_PIX_FMT_BGR32)) + #define XLAT_STR_96 STRINGIFY(V4L2_PIX_FMT_BGR32) XLAT(V4L2_PIX_FMT_HSV32), - #define XLAT_VAL_94 ((unsigned) (V4L2_PIX_FMT_HSV32)) - #define XLAT_STR_94 STRINGIFY(V4L2_PIX_FMT_HSV32) + #define XLAT_VAL_97 ((unsigned) (V4L2_PIX_FMT_HSV32)) + #define XLAT_STR_97 STRINGIFY(V4L2_PIX_FMT_HSV32) XLAT(V4L2_PIX_FMT_YUV32), - #define XLAT_VAL_95 ((unsigned) (V4L2_PIX_FMT_YUV32)) - #define XLAT_STR_95 STRINGIFY(V4L2_PIX_FMT_YUV32) + #define XLAT_VAL_98 ((unsigned) (V4L2_PIX_FMT_YUV32)) + #define XLAT_STR_98 STRINGIFY(V4L2_PIX_FMT_YUV32) XLAT(V4L2_PIX_FMT_SPCA505), - #define XLAT_VAL_96 ((unsigned) (V4L2_PIX_FMT_SPCA505)) - #define XLAT_STR_96 STRINGIFY(V4L2_PIX_FMT_SPCA505) + #define XLAT_VAL_99 ((unsigned) (V4L2_PIX_FMT_SPCA505)) + #define XLAT_STR_99 STRINGIFY(V4L2_PIX_FMT_SPCA505) XLAT(V4L2_PIX_FMT_BGRA555), - #define XLAT_VAL_97 ((unsigned) (V4L2_PIX_FMT_BGRA555)) - #define XLAT_STR_97 STRINGIFY(V4L2_PIX_FMT_BGRA555) + #define XLAT_VAL_100 ((unsigned) (V4L2_PIX_FMT_BGRA555)) + #define XLAT_STR_100 STRINGIFY(V4L2_PIX_FMT_BGRA555) XLAT(V4L2_PIX_FMT_RGBA555), - #define XLAT_VAL_98 ((unsigned) (V4L2_PIX_FMT_RGBA555)) - #define XLAT_STR_98 STRINGIFY(V4L2_PIX_FMT_RGBA555) + #define XLAT_VAL_101 ((unsigned) (V4L2_PIX_FMT_RGBA555)) + #define XLAT_STR_101 STRINGIFY(V4L2_PIX_FMT_RGBA555) XLAT(V4L2_PIX_FMT_ABGR555), - #define XLAT_VAL_99 ((unsigned) (V4L2_PIX_FMT_ABGR555)) - #define XLAT_STR_99 STRINGIFY(V4L2_PIX_FMT_ABGR555) + #define XLAT_VAL_102 ((unsigned) (V4L2_PIX_FMT_ABGR555)) + #define XLAT_STR_102 STRINGIFY(V4L2_PIX_FMT_ABGR555) XLAT(V4L2_PIX_FMT_XBGR555), - #define XLAT_VAL_100 ((unsigned) (V4L2_PIX_FMT_XBGR555)) - #define XLAT_STR_100 STRINGIFY(V4L2_PIX_FMT_XBGR555) + #define XLAT_VAL_103 ((unsigned) (V4L2_PIX_FMT_XBGR555)) + #define XLAT_STR_103 STRINGIFY(V4L2_PIX_FMT_XBGR555) XLAT(V4L2_PIX_FMT_ARGB555), - #define XLAT_VAL_101 ((unsigned) (V4L2_PIX_FMT_ARGB555)) - #define XLAT_STR_101 STRINGIFY(V4L2_PIX_FMT_ARGB555) + #define XLAT_VAL_104 ((unsigned) (V4L2_PIX_FMT_ARGB555)) + #define XLAT_STR_104 STRINGIFY(V4L2_PIX_FMT_ARGB555) XLAT(V4L2_PIX_FMT_XRGB555), - #define XLAT_VAL_102 ((unsigned) (V4L2_PIX_FMT_XRGB555)) - #define XLAT_STR_102 STRINGIFY(V4L2_PIX_FMT_XRGB555) + #define XLAT_VAL_105 ((unsigned) (V4L2_PIX_FMT_XRGB555)) + #define XLAT_STR_105 STRINGIFY(V4L2_PIX_FMT_XRGB555) XLAT(V4L2_PIX_FMT_BGRX555), - #define XLAT_VAL_103 ((unsigned) (V4L2_PIX_FMT_BGRX555)) - #define XLAT_STR_103 STRINGIFY(V4L2_PIX_FMT_BGRX555) + #define XLAT_VAL_106 ((unsigned) (V4L2_PIX_FMT_BGRX555)) + #define XLAT_STR_106 STRINGIFY(V4L2_PIX_FMT_BGRX555) XLAT(V4L2_PIX_FMT_RGBX555), - #define XLAT_VAL_104 ((unsigned) (V4L2_PIX_FMT_RGBX555)) - #define XLAT_STR_104 STRINGIFY(V4L2_PIX_FMT_RGBX555) + #define XLAT_VAL_107 ((unsigned) (V4L2_PIX_FMT_RGBX555)) + #define XLAT_STR_107 STRINGIFY(V4L2_PIX_FMT_RGBX555) XLAT(V4L2_PIX_FMT_ET61X251), - #define XLAT_VAL_105 ((unsigned) (V4L2_PIX_FMT_ET61X251)) - #define XLAT_STR_105 STRINGIFY(V4L2_PIX_FMT_ET61X251) + #define XLAT_VAL_108 ((unsigned) (V4L2_PIX_FMT_ET61X251)) + #define XLAT_STR_108 STRINGIFY(V4L2_PIX_FMT_ET61X251) XLAT(V4L2_PIX_FMT_SGBRG16), - #define XLAT_VAL_106 ((unsigned) (V4L2_PIX_FMT_SGBRG16)) - #define XLAT_STR_106 STRINGIFY(V4L2_PIX_FMT_SGBRG16) + #define XLAT_VAL_109 ((unsigned) (V4L2_PIX_FMT_SGBRG16)) + #define XLAT_STR_109 STRINGIFY(V4L2_PIX_FMT_SGBRG16) XLAT(V4L2_PIX_FMT_SRGGB16), - #define XLAT_VAL_107 ((unsigned) (V4L2_PIX_FMT_SRGGB16)) - #define XLAT_STR_107 STRINGIFY(V4L2_PIX_FMT_SRGGB16) + #define XLAT_VAL_110 ((unsigned) (V4L2_PIX_FMT_SRGGB16)) + #define XLAT_STR_110 STRINGIFY(V4L2_PIX_FMT_SRGGB16) XLAT(V4L2_PIX_FMT_NV16M), - #define XLAT_VAL_108 ((unsigned) (V4L2_PIX_FMT_NV16M)) - #define XLAT_STR_108 STRINGIFY(V4L2_PIX_FMT_NV16M) + #define XLAT_VAL_111 ((unsigned) (V4L2_PIX_FMT_NV16M)) + #define XLAT_STR_111 STRINGIFY(V4L2_PIX_FMT_NV16M) XLAT(V4L2_PIX_FMT_YUV422M), - #define XLAT_VAL_109 ((unsigned) (V4L2_PIX_FMT_YUV422M)) - #define XLAT_STR_109 STRINGIFY(V4L2_PIX_FMT_YUV422M) + #define XLAT_VAL_112 ((unsigned) (V4L2_PIX_FMT_YUV422M)) + #define XLAT_STR_112 STRINGIFY(V4L2_PIX_FMT_YUV422M) XLAT(V4L2_PIX_FMT_SGRBG16), - #define XLAT_VAL_110 ((unsigned) (V4L2_PIX_FMT_SGRBG16)) - #define XLAT_STR_110 STRINGIFY(V4L2_PIX_FMT_SGRBG16) + #define XLAT_VAL_113 ((unsigned) (V4L2_PIX_FMT_SGRBG16)) + #define XLAT_STR_113 STRINGIFY(V4L2_PIX_FMT_SGRBG16) XLAT(V4L2_PIX_FMT_NV16), - #define XLAT_VAL_111 ((unsigned) (V4L2_PIX_FMT_NV16)) - #define XLAT_STR_111 STRINGIFY(V4L2_PIX_FMT_NV16) + #define XLAT_VAL_114 ((unsigned) (V4L2_PIX_FMT_NV16)) + #define XLAT_STR_114 STRINGIFY(V4L2_PIX_FMT_NV16) XLAT(V4L2_PIX_FMT_PAC207), - #define XLAT_VAL_112 ((unsigned) (V4L2_PIX_FMT_PAC207)) - #define XLAT_STR_112 STRINGIFY(V4L2_PIX_FMT_PAC207) + #define XLAT_VAL_115 ((unsigned) (V4L2_PIX_FMT_PAC207)) + #define XLAT_STR_115 STRINGIFY(V4L2_PIX_FMT_PAC207) XLAT(V4L2_PIX_FMT_SPCA508), - #define XLAT_VAL_113 ((unsigned) (V4L2_PIX_FMT_SPCA508)) - #define XLAT_STR_113 STRINGIFY(V4L2_PIX_FMT_SPCA508) + #define XLAT_VAL_116 ((unsigned) (V4L2_PIX_FMT_SPCA508)) + #define XLAT_STR_116 STRINGIFY(V4L2_PIX_FMT_SPCA508) XLAT(V4L2_PIX_FMT_OV518), - #define XLAT_VAL_114 ((unsigned) (V4L2_PIX_FMT_OV518)) - #define XLAT_STR_114 STRINGIFY(V4L2_PIX_FMT_OV518) + #define XLAT_VAL_117 ((unsigned) (V4L2_PIX_FMT_OV518)) + #define XLAT_STR_117 STRINGIFY(V4L2_PIX_FMT_OV518) XLAT(V4L2_PIX_FMT_SBGGR10ALAW8), - #define XLAT_VAL_115 ((unsigned) (V4L2_PIX_FMT_SBGGR10ALAW8)) - #define XLAT_STR_115 STRINGIFY(V4L2_PIX_FMT_SBGGR10ALAW8) + #define XLAT_VAL_118 ((unsigned) (V4L2_PIX_FMT_SBGGR10ALAW8)) + #define XLAT_STR_118 STRINGIFY(V4L2_PIX_FMT_SBGGR10ALAW8) XLAT(V4L2_PIX_FMT_SBGGR10DPCM8), - #define XLAT_VAL_116 ((unsigned) (V4L2_PIX_FMT_SBGGR10DPCM8)) - #define XLAT_STR_116 STRINGIFY(V4L2_PIX_FMT_SBGGR10DPCM8) + #define XLAT_VAL_119 ((unsigned) (V4L2_PIX_FMT_SBGGR10DPCM8)) + #define XLAT_STR_119 STRINGIFY(V4L2_PIX_FMT_SBGGR10DPCM8) XLAT(V4L2_PIX_FMT_SGBRG10ALAW8), - #define XLAT_VAL_117 ((unsigned) (V4L2_PIX_FMT_SGBRG10ALAW8)) - #define XLAT_STR_117 STRINGIFY(V4L2_PIX_FMT_SGBRG10ALAW8) + #define XLAT_VAL_120 ((unsigned) (V4L2_PIX_FMT_SGBRG10ALAW8)) + #define XLAT_STR_120 STRINGIFY(V4L2_PIX_FMT_SGBRG10ALAW8) XLAT(V4L2_PIX_FMT_SGBRG10DPCM8), - #define XLAT_VAL_118 ((unsigned) (V4L2_PIX_FMT_SGBRG10DPCM8)) - #define XLAT_STR_118 STRINGIFY(V4L2_PIX_FMT_SGBRG10DPCM8) + #define XLAT_VAL_121 ((unsigned) (V4L2_PIX_FMT_SGBRG10DPCM8)) + #define XLAT_STR_121 STRINGIFY(V4L2_PIX_FMT_SGBRG10DPCM8) XLAT(V4L2_PIX_FMT_SRGGB10ALAW8), - #define XLAT_VAL_119 ((unsigned) (V4L2_PIX_FMT_SRGGB10ALAW8)) - #define XLAT_STR_119 STRINGIFY(V4L2_PIX_FMT_SRGGB10ALAW8) + #define XLAT_VAL_122 ((unsigned) (V4L2_PIX_FMT_SRGGB10ALAW8)) + #define XLAT_STR_122 STRINGIFY(V4L2_PIX_FMT_SRGGB10ALAW8) XLAT(V4L2_PIX_FMT_SRGGB10DPCM8), - #define XLAT_VAL_120 ((unsigned) (V4L2_PIX_FMT_SRGGB10DPCM8)) - #define XLAT_STR_120 STRINGIFY(V4L2_PIX_FMT_SRGGB10DPCM8) + #define XLAT_VAL_123 ((unsigned) (V4L2_PIX_FMT_SRGGB10DPCM8)) + #define XLAT_STR_123 STRINGIFY(V4L2_PIX_FMT_SRGGB10DPCM8) XLAT(V4L2_PIX_FMT_SGRBG10ALAW8), - #define XLAT_VAL_121 ((unsigned) (V4L2_PIX_FMT_SGRBG10ALAW8)) - #define XLAT_STR_121 STRINGIFY(V4L2_PIX_FMT_SGRBG10ALAW8) + #define XLAT_VAL_124 ((unsigned) (V4L2_PIX_FMT_SGRBG10ALAW8)) + #define XLAT_STR_124 STRINGIFY(V4L2_PIX_FMT_SGRBG10ALAW8) XLAT(V4L2_PIX_FMT_PAL8), - #define XLAT_VAL_122 ((unsigned) (V4L2_PIX_FMT_PAL8)) - #define XLAT_STR_122 STRINGIFY(V4L2_PIX_FMT_PAL8) + #define XLAT_VAL_125 ((unsigned) (V4L2_PIX_FMT_PAL8)) + #define XLAT_STR_125 STRINGIFY(V4L2_PIX_FMT_PAL8) XLAT(V4L2_PIX_FMT_YVU410), - #define XLAT_VAL_123 ((unsigned) (V4L2_PIX_FMT_YVU410)) - #define XLAT_STR_123 STRINGIFY(V4L2_PIX_FMT_YVU410) + #define XLAT_VAL_126 ((unsigned) (V4L2_PIX_FMT_YVU410)) + #define XLAT_STR_126 STRINGIFY(V4L2_PIX_FMT_YVU410) XLAT(V4L2_PIX_FMT_YUV410), - #define XLAT_VAL_124 ((unsigned) (V4L2_PIX_FMT_YUV410)) - #define XLAT_STR_124 STRINGIFY(V4L2_PIX_FMT_YUV410) + #define XLAT_VAL_127 ((unsigned) (V4L2_PIX_FMT_YUV410)) + #define XLAT_STR_127 STRINGIFY(V4L2_PIX_FMT_YUV410) XLAT(V4L2_PIX_FMT_SBGGR10P), - #define XLAT_VAL_125 ((unsigned) (V4L2_PIX_FMT_SBGGR10P)) - #define XLAT_STR_125 STRINGIFY(V4L2_PIX_FMT_SBGGR10P) + #define XLAT_VAL_128 ((unsigned) (V4L2_PIX_FMT_SBGGR10P)) + #define XLAT_STR_128 STRINGIFY(V4L2_PIX_FMT_SBGGR10P) XLAT(V4L2_PIX_FMT_SGBRG10P), - #define XLAT_VAL_126 ((unsigned) (V4L2_PIX_FMT_SGBRG10P)) - #define XLAT_STR_126 STRINGIFY(V4L2_PIX_FMT_SGBRG10P) + #define XLAT_VAL_129 ((unsigned) (V4L2_PIX_FMT_SGBRG10P)) + #define XLAT_STR_129 STRINGIFY(V4L2_PIX_FMT_SGBRG10P) XLAT(V4L2_PIX_FMT_SRGGB10P), - #define XLAT_VAL_127 ((unsigned) (V4L2_PIX_FMT_SRGGB10P)) - #define XLAT_STR_127 STRINGIFY(V4L2_PIX_FMT_SRGGB10P) + #define XLAT_VAL_130 ((unsigned) (V4L2_PIX_FMT_SRGGB10P)) + #define XLAT_STR_130 STRINGIFY(V4L2_PIX_FMT_SRGGB10P) XLAT(V4L2_PIX_FMT_SGRBG10P), - #define XLAT_VAL_128 ((unsigned) (V4L2_PIX_FMT_SGRBG10P)) - #define XLAT_STR_128 STRINGIFY(V4L2_PIX_FMT_SGRBG10P) + #define XLAT_VAL_131 ((unsigned) (V4L2_PIX_FMT_SGRBG10P)) + #define XLAT_STR_131 STRINGIFY(V4L2_PIX_FMT_SGRBG10P) XLAT(V4L2_PIX_FMT_CPIA1), - #define XLAT_VAL_129 ((unsigned) (V4L2_PIX_FMT_CPIA1)) - #define XLAT_STR_129 STRINGIFY(V4L2_PIX_FMT_CPIA1) + #define XLAT_VAL_132 ((unsigned) (V4L2_PIX_FMT_CPIA1)) + #define XLAT_STR_132 STRINGIFY(V4L2_PIX_FMT_CPIA1) XLAT(V4L2_PIX_FMT_WNVA), - #define XLAT_VAL_130 ((unsigned) (V4L2_PIX_FMT_WNVA)) - #define XLAT_STR_130 STRINGIFY(V4L2_PIX_FMT_WNVA) + #define XLAT_VAL_133 ((unsigned) (V4L2_PIX_FMT_WNVA)) + #define XLAT_STR_133 STRINGIFY(V4L2_PIX_FMT_WNVA) XLAT(V4L2_PIX_FMT_VUYA32), - #define XLAT_VAL_131 ((unsigned) (V4L2_PIX_FMT_VUYA32)) - #define XLAT_STR_131 STRINGIFY(V4L2_PIX_FMT_VUYA32) + #define XLAT_VAL_134 ((unsigned) (V4L2_PIX_FMT_VUYA32)) + #define XLAT_STR_134 STRINGIFY(V4L2_PIX_FMT_VUYA32) XLAT(V4L2_PIX_FMT_Y10BPACK), - #define XLAT_VAL_132 ((unsigned) (V4L2_PIX_FMT_Y10BPACK)) - #define XLAT_STR_132 STRINGIFY(V4L2_PIX_FMT_Y10BPACK) + #define XLAT_VAL_135 ((unsigned) (V4L2_PIX_FMT_Y10BPACK)) + #define XLAT_STR_135 STRINGIFY(V4L2_PIX_FMT_Y10BPACK) XLAT(V4L2_PIX_FMT_SRGGB8), - #define XLAT_VAL_133 ((unsigned) (V4L2_PIX_FMT_SRGGB8)) - #define XLAT_STR_133 STRINGIFY(V4L2_PIX_FMT_SRGGB8) + #define XLAT_VAL_136 ((unsigned) (V4L2_PIX_FMT_SRGGB8)) + #define XLAT_STR_136 STRINGIFY(V4L2_PIX_FMT_SRGGB8) + XLAT(V4L2_PIX_FMT_QC10C), + #define XLAT_VAL_137 ((unsigned) (V4L2_PIX_FMT_QC10C)) + #define XLAT_STR_137 STRINGIFY(V4L2_PIX_FMT_QC10C) XLAT(V4L2_PIX_FMT_SQ905C), - #define XLAT_VAL_134 ((unsigned) (V4L2_PIX_FMT_SQ905C)) - #define XLAT_STR_134 STRINGIFY(V4L2_PIX_FMT_SQ905C) + #define XLAT_VAL_138 ((unsigned) (V4L2_PIX_FMT_SQ905C)) + #define XLAT_STR_138 STRINGIFY(V4L2_PIX_FMT_SQ905C) + XLAT(V4L2_PIX_FMT_QC08C), + #define XLAT_VAL_139 ((unsigned) (V4L2_PIX_FMT_QC08C)) + #define XLAT_STR_139 STRINGIFY(V4L2_PIX_FMT_QC08C) XLAT(V4L2_PIX_FMT_SBGGR12P), - #define XLAT_VAL_135 ((unsigned) (V4L2_PIX_FMT_SBGGR12P)) - #define XLAT_STR_135 STRINGIFY(V4L2_PIX_FMT_SBGGR12P) + #define XLAT_VAL_140 ((unsigned) (V4L2_PIX_FMT_SBGGR12P)) + #define XLAT_STR_140 STRINGIFY(V4L2_PIX_FMT_SBGGR12P) XLAT(V4L2_PIX_FMT_SGBRG12P), - #define XLAT_VAL_136 ((unsigned) (V4L2_PIX_FMT_SGBRG12P)) - #define XLAT_STR_136 STRINGIFY(V4L2_PIX_FMT_SGBRG12P) + #define XLAT_VAL_141 ((unsigned) (V4L2_PIX_FMT_SGBRG12P)) + #define XLAT_STR_141 STRINGIFY(V4L2_PIX_FMT_SGBRG12P) XLAT(V4L2_PIX_FMT_SRGGB12P), - #define XLAT_VAL_137 ((unsigned) (V4L2_PIX_FMT_SRGGB12P)) - #define XLAT_STR_137 STRINGIFY(V4L2_PIX_FMT_SRGGB12P) + #define XLAT_VAL_142 ((unsigned) (V4L2_PIX_FMT_SRGGB12P)) + #define XLAT_STR_142 STRINGIFY(V4L2_PIX_FMT_SRGGB12P) XLAT(V4L2_PIX_FMT_SGRBG12P), - #define XLAT_VAL_138 ((unsigned) (V4L2_PIX_FMT_SGRBG12P)) - #define XLAT_STR_138 STRINGIFY(V4L2_PIX_FMT_SGRBG12P) + #define XLAT_VAL_143 ((unsigned) (V4L2_PIX_FMT_SGRBG12P)) + #define XLAT_STR_143 STRINGIFY(V4L2_PIX_FMT_SGRBG12P) XLAT(V4L2_PIX_FMT_HEVC), - #define XLAT_VAL_139 ((unsigned) (V4L2_PIX_FMT_HEVC)) - #define XLAT_STR_139 STRINGIFY(V4L2_PIX_FMT_HEVC) + #define XLAT_VAL_144 ((unsigned) (V4L2_PIX_FMT_HEVC)) + #define XLAT_STR_144 STRINGIFY(V4L2_PIX_FMT_HEVC) XLAT(V4L2_PIX_FMT_XVID), - #define XLAT_VAL_140 ((unsigned) (V4L2_PIX_FMT_XVID)) - #define XLAT_STR_140 STRINGIFY(V4L2_PIX_FMT_XVID) + #define XLAT_VAL_145 ((unsigned) (V4L2_PIX_FMT_XVID)) + #define XLAT_STR_145 STRINGIFY(V4L2_PIX_FMT_XVID) XLAT(V4L2_PIX_FMT_SBGGR14P), - #define XLAT_VAL_141 ((unsigned) (V4L2_PIX_FMT_SBGGR14P)) - #define XLAT_STR_141 STRINGIFY(V4L2_PIX_FMT_SBGGR14P) + #define XLAT_VAL_146 ((unsigned) (V4L2_PIX_FMT_SBGGR14P)) + #define XLAT_STR_146 STRINGIFY(V4L2_PIX_FMT_SBGGR14P) XLAT(V4L2_PIX_FMT_SGBRG14P), - #define XLAT_VAL_142 ((unsigned) (V4L2_PIX_FMT_SGBRG14P)) - #define XLAT_STR_142 STRINGIFY(V4L2_PIX_FMT_SGBRG14P) + #define XLAT_VAL_147 ((unsigned) (V4L2_PIX_FMT_SGBRG14P)) + #define XLAT_STR_147 STRINGIFY(V4L2_PIX_FMT_SGBRG14P) XLAT(V4L2_PIX_FMT_SRGGB14P), - #define XLAT_VAL_143 ((unsigned) (V4L2_PIX_FMT_SRGGB14P)) - #define XLAT_STR_143 STRINGIFY(V4L2_PIX_FMT_SRGGB14P) + #define XLAT_VAL_148 ((unsigned) (V4L2_PIX_FMT_SRGGB14P)) + #define XLAT_STR_148 STRINGIFY(V4L2_PIX_FMT_SRGGB14P) XLAT(V4L2_PIX_FMT_SGRBG14P), - #define XLAT_VAL_144 ((unsigned) (V4L2_PIX_FMT_SGRBG14P)) - #define XLAT_STR_144 STRINGIFY(V4L2_PIX_FMT_SGRBG14P) + #define XLAT_VAL_149 ((unsigned) (V4L2_PIX_FMT_SGRBG14P)) + #define XLAT_STR_149 STRINGIFY(V4L2_PIX_FMT_SGRBG14P) XLAT(V4L2_PIX_FMT_VP8_FRAME), - #define XLAT_VAL_145 ((unsigned) (V4L2_PIX_FMT_VP8_FRAME)) - #define XLAT_STR_145 STRINGIFY(V4L2_PIX_FMT_VP8_FRAME) + #define XLAT_VAL_150 ((unsigned) (V4L2_PIX_FMT_VP8_FRAME)) + #define XLAT_STR_150 STRINGIFY(V4L2_PIX_FMT_VP8_FRAME) + XLAT(V4L2_PIX_FMT_VP9_FRAME), + #define XLAT_VAL_151 ((unsigned) (V4L2_PIX_FMT_VP9_FRAME)) + #define XLAT_STR_151 STRINGIFY(V4L2_PIX_FMT_VP9_FRAME) XLAT(V4L2_PIX_FMT_VC1_ANNEX_G), - #define XLAT_VAL_146 ((unsigned) (V4L2_PIX_FMT_VC1_ANNEX_G)) - #define XLAT_STR_146 STRINGIFY(V4L2_PIX_FMT_VC1_ANNEX_G) + #define XLAT_VAL_152 ((unsigned) (V4L2_PIX_FMT_VC1_ANNEX_G)) + #define XLAT_STR_152 STRINGIFY(V4L2_PIX_FMT_VC1_ANNEX_G) XLAT(V4L2_PIX_FMT_IPU3_SGRBG10), - #define XLAT_VAL_147 ((unsigned) (V4L2_PIX_FMT_IPU3_SGRBG10)) - #define XLAT_STR_147 STRINGIFY(V4L2_PIX_FMT_IPU3_SGRBG10) + #define XLAT_VAL_153 ((unsigned) (V4L2_PIX_FMT_IPU3_SGRBG10)) + #define XLAT_STR_153 STRINGIFY(V4L2_PIX_FMT_IPU3_SGRBG10) XLAT(V4L2_PIX_FMT_SGRBG8), - #define XLAT_VAL_148 ((unsigned) (V4L2_PIX_FMT_SGRBG8)) - #define XLAT_STR_148 STRINGIFY(V4L2_PIX_FMT_SGRBG8) + #define XLAT_VAL_154 ((unsigned) (V4L2_PIX_FMT_SGRBG8)) + #define XLAT_STR_154 STRINGIFY(V4L2_PIX_FMT_SGRBG8) XLAT(V4L2_PIX_FMT_JPEG), - #define XLAT_VAL_149 ((unsigned) (V4L2_PIX_FMT_JPEG)) - #define XLAT_STR_149 STRINGIFY(V4L2_PIX_FMT_JPEG) + #define XLAT_VAL_155 ((unsigned) (V4L2_PIX_FMT_JPEG)) + #define XLAT_STR_155 STRINGIFY(V4L2_PIX_FMT_JPEG) XLAT(V4L2_PIX_FMT_MPEG), - #define XLAT_VAL_150 ((unsigned) (V4L2_PIX_FMT_MPEG)) - #define XLAT_STR_150 STRINGIFY(V4L2_PIX_FMT_MPEG) + #define XLAT_VAL_156 ((unsigned) (V4L2_PIX_FMT_MPEG)) + #define XLAT_STR_156 STRINGIFY(V4L2_PIX_FMT_MPEG) XLAT(V4L2_PIX_FMT_MJPEG), - #define XLAT_VAL_151 ((unsigned) (V4L2_PIX_FMT_MJPEG)) - #define XLAT_STR_151 STRINGIFY(V4L2_PIX_FMT_MJPEG) + #define XLAT_VAL_157 ((unsigned) (V4L2_PIX_FMT_MJPEG)) + #define XLAT_STR_157 STRINGIFY(V4L2_PIX_FMT_MJPEG) XLAT(V4L2_PIX_FMT_PJPG), - #define XLAT_VAL_152 ((unsigned) (V4L2_PIX_FMT_PJPG)) - #define XLAT_STR_152 STRINGIFY(V4L2_PIX_FMT_PJPG) + #define XLAT_VAL_158 ((unsigned) (V4L2_PIX_FMT_PJPG)) + #define XLAT_STR_158 STRINGIFY(V4L2_PIX_FMT_PJPG) XLAT(V4L2_PIX_FMT_SGBRG8), - #define XLAT_VAL_153 ((unsigned) (V4L2_PIX_FMT_SGBRG8)) - #define XLAT_STR_153 STRINGIFY(V4L2_PIX_FMT_SGBRG8) + #define XLAT_VAL_159 ((unsigned) (V4L2_PIX_FMT_SGBRG8)) + #define XLAT_STR_159 STRINGIFY(V4L2_PIX_FMT_SGBRG8) XLAT(V4L2_PIX_FMT_BGR666), - #define XLAT_VAL_154 ((unsigned) (V4L2_PIX_FMT_BGR666)) - #define XLAT_STR_154 STRINGIFY(V4L2_PIX_FMT_BGR666) + #define XLAT_VAL_160 ((unsigned) (V4L2_PIX_FMT_BGR666)) + #define XLAT_STR_160 STRINGIFY(V4L2_PIX_FMT_BGR666) XLAT(V4L2_PIX_FMT_FWHT_STATELESS), - #define XLAT_VAL_155 ((unsigned) (V4L2_PIX_FMT_FWHT_STATELESS)) - #define XLAT_STR_155 STRINGIFY(V4L2_PIX_FMT_FWHT_STATELESS) + #define XLAT_VAL_161 ((unsigned) (V4L2_PIX_FMT_FWHT_STATELESS)) + #define XLAT_STR_161 STRINGIFY(V4L2_PIX_FMT_FWHT_STATELESS) XLAT(V4L2_PIX_FMT_Y12I), - #define XLAT_VAL_156 ((unsigned) (V4L2_PIX_FMT_Y12I)) - #define XLAT_STR_156 STRINGIFY(V4L2_PIX_FMT_Y12I) + #define XLAT_VAL_162 ((unsigned) (V4L2_PIX_FMT_Y12I)) + #define XLAT_STR_162 STRINGIFY(V4L2_PIX_FMT_Y12I) XLAT(V4L2_PIX_FMT_S5C_UYVY_JPG), - #define XLAT_VAL_157 ((unsigned) (V4L2_PIX_FMT_S5C_UYVY_JPG)) - #define XLAT_STR_157 STRINGIFY(V4L2_PIX_FMT_S5C_UYVY_JPG) + #define XLAT_VAL_163 ((unsigned) (V4L2_PIX_FMT_S5C_UYVY_JPG)) + #define XLAT_STR_163 STRINGIFY(V4L2_PIX_FMT_S5C_UYVY_JPG) XLAT(V4L2_PIX_FMT_KONICA420), - #define XLAT_VAL_158 ((unsigned) (V4L2_PIX_FMT_KONICA420)) - #define XLAT_STR_158 STRINGIFY(V4L2_PIX_FMT_KONICA420) + #define XLAT_VAL_164 ((unsigned) (V4L2_PIX_FMT_KONICA420)) + #define XLAT_STR_164 STRINGIFY(V4L2_PIX_FMT_KONICA420) XLAT(V4L2_PIX_FMT_INZI), - #define XLAT_VAL_159 ((unsigned) (V4L2_PIX_FMT_INZI)) - #define XLAT_STR_159 STRINGIFY(V4L2_PIX_FMT_INZI) + #define XLAT_VAL_165 ((unsigned) (V4L2_PIX_FMT_INZI)) + #define XLAT_STR_165 STRINGIFY(V4L2_PIX_FMT_INZI) XLAT(V4L2_PIX_FMT_VC1_ANNEX_L), - #define XLAT_VAL_160 ((unsigned) (V4L2_PIX_FMT_VC1_ANNEX_L)) - #define XLAT_STR_160 STRINGIFY(V4L2_PIX_FMT_VC1_ANNEX_L) + #define XLAT_VAL_166 ((unsigned) (V4L2_PIX_FMT_VC1_ANNEX_L)) + #define XLAT_STR_166 STRINGIFY(V4L2_PIX_FMT_VC1_ANNEX_L) XLAT(V4L2_PIX_FMT_JPGL), - #define XLAT_VAL_161 ((unsigned) (V4L2_PIX_FMT_JPGL)) - #define XLAT_STR_161 STRINGIFY(V4L2_PIX_FMT_JPGL) + #define XLAT_VAL_167 ((unsigned) (V4L2_PIX_FMT_JPGL)) + #define XLAT_STR_167 STRINGIFY(V4L2_PIX_FMT_JPGL) XLAT(V4L2_PIX_FMT_RGB555), - #define XLAT_VAL_162 ((unsigned) (V4L2_PIX_FMT_RGB555)) - #define XLAT_STR_162 STRINGIFY(V4L2_PIX_FMT_RGB555) + #define XLAT_VAL_168 ((unsigned) (V4L2_PIX_FMT_RGB555)) + #define XLAT_STR_168 STRINGIFY(V4L2_PIX_FMT_RGB555) XLAT(V4L2_PIX_FMT_YUV555), - #define XLAT_VAL_163 ((unsigned) (V4L2_PIX_FMT_YUV555)) - #define XLAT_STR_163 STRINGIFY(V4L2_PIX_FMT_YUV555) + #define XLAT_VAL_169 ((unsigned) (V4L2_PIX_FMT_YUV555)) + #define XLAT_STR_169 STRINGIFY(V4L2_PIX_FMT_YUV555) XLAT(V4L2_PIX_FMT_Y10P), - #define XLAT_VAL_164 ((unsigned) (V4L2_PIX_FMT_Y10P)) - #define XLAT_STR_164 STRINGIFY(V4L2_PIX_FMT_Y10P) + #define XLAT_VAL_170 ((unsigned) (V4L2_PIX_FMT_Y10P)) + #define XLAT_STR_170 STRINGIFY(V4L2_PIX_FMT_Y10P) XLAT(V4L2_PIX_FMT_YUV411P), - #define XLAT_VAL_165 ((unsigned) (V4L2_PIX_FMT_YUV411P)) - #define XLAT_STR_165 STRINGIFY(V4L2_PIX_FMT_YUV411P) + #define XLAT_VAL_171 ((unsigned) (V4L2_PIX_FMT_YUV411P)) + #define XLAT_STR_171 STRINGIFY(V4L2_PIX_FMT_YUV411P) XLAT(V4L2_PIX_FMT_Y41P), - #define XLAT_VAL_166 ((unsigned) (V4L2_PIX_FMT_Y41P)) - #define XLAT_STR_166 STRINGIFY(V4L2_PIX_FMT_Y41P) + #define XLAT_VAL_172 ((unsigned) (V4L2_PIX_FMT_Y41P)) + #define XLAT_STR_172 STRINGIFY(V4L2_PIX_FMT_Y41P) XLAT(V4L2_PIX_FMT_YUV422P), - #define XLAT_VAL_167 ((unsigned) (V4L2_PIX_FMT_YUV422P)) - #define XLAT_STR_167 STRINGIFY(V4L2_PIX_FMT_YUV422P) + #define XLAT_VAL_173 ((unsigned) (V4L2_PIX_FMT_YUV422P)) + #define XLAT_STR_173 STRINGIFY(V4L2_PIX_FMT_YUV422P) XLAT(V4L2_PIX_FMT_RGB565), - #define XLAT_VAL_168 ((unsigned) (V4L2_PIX_FMT_RGB565)) - #define XLAT_STR_168 STRINGIFY(V4L2_PIX_FMT_RGB565) + #define XLAT_VAL_174 ((unsigned) (V4L2_PIX_FMT_RGB565)) + #define XLAT_STR_174 STRINGIFY(V4L2_PIX_FMT_RGB565) XLAT(V4L2_PIX_FMT_YUV565), - #define XLAT_VAL_169 ((unsigned) (V4L2_PIX_FMT_YUV565)) - #define XLAT_STR_169 STRINGIFY(V4L2_PIX_FMT_YUV565) + #define XLAT_VAL_175 ((unsigned) (V4L2_PIX_FMT_YUV565)) + #define XLAT_STR_175 STRINGIFY(V4L2_PIX_FMT_YUV565) XLAT(V4L2_PIX_FMT_RGB555X), - #define XLAT_VAL_170 ((unsigned) (V4L2_PIX_FMT_RGB555X)) - #define XLAT_STR_170 STRINGIFY(V4L2_PIX_FMT_RGB555X) + #define XLAT_VAL_176 ((unsigned) (V4L2_PIX_FMT_RGB555X)) + #define XLAT_STR_176 STRINGIFY(V4L2_PIX_FMT_RGB555X) XLAT(V4L2_PIX_FMT_RGB565X), - #define XLAT_VAL_171 ((unsigned) (V4L2_PIX_FMT_RGB565X)) - #define XLAT_STR_171 STRINGIFY(V4L2_PIX_FMT_RGB565X) + #define XLAT_VAL_177 ((unsigned) (V4L2_PIX_FMT_RGB565X)) + #define XLAT_STR_177 STRINGIFY(V4L2_PIX_FMT_RGB565X) XLAT(V4L2_PIX_FMT_MPEG2_SLICE), - #define XLAT_VAL_172 ((unsigned) (V4L2_PIX_FMT_MPEG2_SLICE)) - #define XLAT_STR_172 STRINGIFY(V4L2_PIX_FMT_MPEG2_SLICE) + #define XLAT_VAL_178 ((unsigned) (V4L2_PIX_FMT_MPEG2_SLICE)) + #define XLAT_STR_178 STRINGIFY(V4L2_PIX_FMT_MPEG2_SLICE) XLAT(V4L2_PIX_FMT_FWHT), - #define XLAT_VAL_173 ((unsigned) (V4L2_PIX_FMT_FWHT)) - #define XLAT_STR_173 STRINGIFY(V4L2_PIX_FMT_FWHT) + #define XLAT_VAL_179 ((unsigned) (V4L2_PIX_FMT_FWHT)) + #define XLAT_STR_179 STRINGIFY(V4L2_PIX_FMT_FWHT) XLAT(V4L2_PIX_FMT_YVYU), - #define XLAT_VAL_174 ((unsigned) (V4L2_PIX_FMT_YVYU)) - #define XLAT_STR_174 STRINGIFY(V4L2_PIX_FMT_YVYU) + #define XLAT_VAL_180 ((unsigned) (V4L2_PIX_FMT_YVYU)) + #define XLAT_STR_180 STRINGIFY(V4L2_PIX_FMT_YVYU) XLAT(V4L2_PIX_FMT_CIT_YYVYUY), - #define XLAT_VAL_175 ((unsigned) (V4L2_PIX_FMT_CIT_YYVYUY)) - #define XLAT_STR_175 STRINGIFY(V4L2_PIX_FMT_CIT_YYVYUY) + #define XLAT_VAL_181 ((unsigned) (V4L2_PIX_FMT_CIT_YYVYUY)) + #define XLAT_STR_181 STRINGIFY(V4L2_PIX_FMT_CIT_YYVYUY) XLAT(V4L2_PIX_FMT_AYUV32), - #define XLAT_VAL_176 ((unsigned) (V4L2_PIX_FMT_AYUV32)) - #define XLAT_STR_176 STRINGIFY(V4L2_PIX_FMT_AYUV32) + #define XLAT_VAL_182 ((unsigned) (V4L2_PIX_FMT_AYUV32)) + #define XLAT_STR_182 STRINGIFY(V4L2_PIX_FMT_AYUV32) XLAT(V4L2_PIX_FMT_XYUV32), - #define XLAT_VAL_177 ((unsigned) (V4L2_PIX_FMT_XYUV32)) - #define XLAT_STR_177 STRINGIFY(V4L2_PIX_FMT_XYUV32) + #define XLAT_VAL_183 ((unsigned) (V4L2_PIX_FMT_XYUV32)) + #define XLAT_STR_183 STRINGIFY(V4L2_PIX_FMT_XYUV32) XLAT(V4L2_PIX_FMT_YYUV), - #define XLAT_VAL_178 ((unsigned) (V4L2_PIX_FMT_YYUV)) - #define XLAT_STR_178 STRINGIFY(V4L2_PIX_FMT_YYUV) + #define XLAT_VAL_184 ((unsigned) (V4L2_PIX_FMT_YYUV)) + #define XLAT_STR_184 STRINGIFY(V4L2_PIX_FMT_YYUV) XLAT(V4L2_PIX_FMT_YUYV), - #define XLAT_VAL_179 ((unsigned) (V4L2_PIX_FMT_YUYV)) - #define XLAT_STR_179 STRINGIFY(V4L2_PIX_FMT_YUYV) + #define XLAT_VAL_185 ((unsigned) (V4L2_PIX_FMT_YUYV)) + #define XLAT_STR_185 STRINGIFY(V4L2_PIX_FMT_YUYV) XLAT(V4L2_PIX_FMT_SN9C2028), - #define XLAT_VAL_180 ((unsigned) (V4L2_PIX_FMT_SN9C2028)) - #define XLAT_STR_180 STRINGIFY(V4L2_PIX_FMT_SN9C2028) + #define XLAT_VAL_186 ((unsigned) (V4L2_PIX_FMT_SN9C2028)) + #define XLAT_STR_186 STRINGIFY(V4L2_PIX_FMT_SN9C2028) XLAT(V4L2_PIX_FMT_VUYX32), - #define XLAT_VAL_181 ((unsigned) (V4L2_PIX_FMT_VUYX32)) - #define XLAT_STR_181 STRINGIFY(V4L2_PIX_FMT_VUYX32) + #define XLAT_VAL_187 ((unsigned) (V4L2_PIX_FMT_VUYX32)) + #define XLAT_STR_187 STRINGIFY(V4L2_PIX_FMT_VUYX32) XLAT(V4L2_PIX_FMT_GREY), - #define XLAT_VAL_182 ((unsigned) (V4L2_PIX_FMT_GREY)) - #define XLAT_STR_182 STRINGIFY(V4L2_PIX_FMT_GREY) + #define XLAT_VAL_188 ((unsigned) (V4L2_PIX_FMT_GREY)) + #define XLAT_STR_188 STRINGIFY(V4L2_PIX_FMT_GREY) XLAT(V4L2_PIX_FMT_VYUY), - #define XLAT_VAL_183 ((unsigned) (V4L2_PIX_FMT_VYUY)) - #define XLAT_STR_183 STRINGIFY(V4L2_PIX_FMT_VYUY) + #define XLAT_VAL_189 ((unsigned) (V4L2_PIX_FMT_VYUY)) + #define XLAT_STR_189 STRINGIFY(V4L2_PIX_FMT_VYUY) XLAT(V4L2_PIX_FMT_UYVY), - #define XLAT_VAL_184 ((unsigned) (V4L2_PIX_FMT_UYVY)) - #define XLAT_STR_184 STRINGIFY(V4L2_PIX_FMT_UYVY) + #define XLAT_VAL_190 ((unsigned) (V4L2_PIX_FMT_UYVY)) + #define XLAT_STR_190 STRINGIFY(V4L2_PIX_FMT_UYVY) XLAT(V4L2_PIX_FMT_IPU3_SBGGR10), - #define XLAT_VAL_185 ((unsigned) (V4L2_PIX_FMT_IPU3_SBGGR10)) - #define XLAT_STR_185 STRINGIFY(V4L2_PIX_FMT_IPU3_SBGGR10) + #define XLAT_VAL_191 ((unsigned) (V4L2_PIX_FMT_IPU3_SBGGR10)) + #define XLAT_STR_191 STRINGIFY(V4L2_PIX_FMT_IPU3_SBGGR10) XLAT(V4L2_PIX_FMT_DV), - #define XLAT_VAL_186 ((unsigned) (V4L2_PIX_FMT_DV)) - #define XLAT_STR_186 STRINGIFY(V4L2_PIX_FMT_DV) + #define XLAT_VAL_192 ((unsigned) (V4L2_PIX_FMT_DV)) + #define XLAT_STR_192 STRINGIFY(V4L2_PIX_FMT_DV) XLAT(V4L2_PIX_FMT_IPU3_SGBRG10), - #define XLAT_VAL_187 ((unsigned) (V4L2_PIX_FMT_IPU3_SGBRG10)) - #define XLAT_STR_187 STRINGIFY(V4L2_PIX_FMT_IPU3_SGBRG10) + #define XLAT_VAL_193 ((unsigned) (V4L2_PIX_FMT_IPU3_SGBRG10)) + #define XLAT_STR_193 STRINGIFY(V4L2_PIX_FMT_IPU3_SGBRG10) XLAT(V4L2_PIX_FMT_IPU3_SRGGB10), - #define XLAT_VAL_188 ((unsigned) (V4L2_PIX_FMT_IPU3_SRGGB10)) - #define XLAT_STR_188 STRINGIFY(V4L2_PIX_FMT_IPU3_SRGGB10) + #define XLAT_VAL_194 ((unsigned) (V4L2_PIX_FMT_IPU3_SRGGB10)) + #define XLAT_STR_194 STRINGIFY(V4L2_PIX_FMT_IPU3_SRGGB10) + XLAT(V4L2_PIX_FMT_IPU3_Y10), + #define XLAT_VAL_195 ((unsigned) (V4L2_PIX_FMT_IPU3_Y10)) + #define XLAT_STR_195 STRINGIFY(V4L2_PIX_FMT_IPU3_Y10) XLAT(V4L2_PIX_FMT_Y16_BE), - #define XLAT_VAL_189 ((unsigned) (V4L2_PIX_FMT_Y16_BE)) - #define XLAT_STR_189 STRINGIFY(V4L2_PIX_FMT_Y16_BE) + #define XLAT_VAL_196 ((unsigned) (V4L2_PIX_FMT_Y16_BE)) + #define XLAT_STR_196 STRINGIFY(V4L2_PIX_FMT_Y16_BE) + XLAT(V4L2_PIX_FMT_NV12M_10BE_8L128), + #define XLAT_VAL_197 ((unsigned) (V4L2_PIX_FMT_NV12M_10BE_8L128)) + #define XLAT_STR_197 STRINGIFY(V4L2_PIX_FMT_NV12M_10BE_8L128) XLAT(V4L2_PIX_FMT_ARGB555X), - #define XLAT_VAL_190 ((unsigned) (V4L2_PIX_FMT_ARGB555X)) - #define XLAT_STR_190 STRINGIFY(V4L2_PIX_FMT_ARGB555X) + #define XLAT_VAL_198 ((unsigned) (V4L2_PIX_FMT_ARGB555X)) + #define XLAT_STR_198 STRINGIFY(V4L2_PIX_FMT_ARGB555X) XLAT(V4L2_PIX_FMT_XRGB555X), - #define XLAT_VAL_191 ((unsigned) (V4L2_PIX_FMT_XRGB555X)) - #define XLAT_STR_191 STRINGIFY(V4L2_PIX_FMT_XRGB555X) + #define XLAT_VAL_199 ((unsigned) (V4L2_PIX_FMT_XRGB555X)) + #define XLAT_STR_199 STRINGIFY(V4L2_PIX_FMT_XRGB555X) }; # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) static @@ -1175,6 +2800,30 @@ # ifdef XLAT_VAL_191 | XLAT_VAL_191 # endif +# ifdef XLAT_VAL_192 + | XLAT_VAL_192 +# endif +# ifdef XLAT_VAL_193 + | XLAT_VAL_193 +# endif +# ifdef XLAT_VAL_194 + | XLAT_VAL_194 +# endif +# ifdef XLAT_VAL_195 + | XLAT_VAL_195 +# endif +# ifdef XLAT_VAL_196 + | XLAT_VAL_196 +# endif +# ifdef XLAT_VAL_197 + | XLAT_VAL_197 +# endif +# ifdef XLAT_VAL_198 + | XLAT_VAL_198 +# endif +# ifdef XLAT_VAL_199 + | XLAT_VAL_199 +# endif , .flags_strsz = 0 # ifdef XLAT_STR_0 @@ -1753,6 +3402,30 @@ # ifdef XLAT_STR_191 + sizeof(XLAT_STR_191) # endif +# ifdef XLAT_STR_192 + + sizeof(XLAT_STR_192) +# endif +# ifdef XLAT_STR_193 + + sizeof(XLAT_STR_193) +# endif +# ifdef XLAT_STR_194 + + sizeof(XLAT_STR_194) +# endif +# ifdef XLAT_STR_195 + + sizeof(XLAT_STR_195) +# endif +# ifdef XLAT_STR_196 + + sizeof(XLAT_STR_196) +# endif +# ifdef XLAT_STR_197 + + sizeof(XLAT_STR_197) +# endif +# ifdef XLAT_STR_198 + + sizeof(XLAT_STR_198) +# endif +# ifdef XLAT_STR_199 + + sizeof(XLAT_STR_199) +# endif , } }; DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE @@ -2141,6 +3814,22 @@ # undef XLAT_VAL_190 # undef XLAT_STR_191 # undef XLAT_VAL_191 +# undef XLAT_STR_192 +# undef XLAT_VAL_192 +# undef XLAT_STR_193 +# undef XLAT_VAL_193 +# undef XLAT_STR_194 +# undef XLAT_VAL_194 +# undef XLAT_STR_195 +# undef XLAT_VAL_195 +# undef XLAT_STR_196 +# undef XLAT_VAL_196 +# undef XLAT_STR_197 +# undef XLAT_VAL_197 +# undef XLAT_STR_198 +# undef XLAT_VAL_198 +# undef XLAT_STR_199 +# undef XLAT_VAL_199 # endif /* !IN_MPERS */ #endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_pix_fmts.in -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_pix_fmts.in
Changed
@@ -26,6 +26,7 @@ V4L2_PIX_FMT_SE401 V4L2_PIX_FMT_SPCA501 V4L2_PIX_FMT_OV511 +V4L2_PIX_FMT_MM21 V4L2_PIX_FMT_NV21M V4L2_PIX_FMT_YVU420M V4L2_PIX_FMT_MT21C @@ -41,20 +42,22 @@ V4L2_PIX_FMT_MPEG1 V4L2_PIX_FMT_SGRBG12 V4L2_PIX_FMT_BGRA444 +V4L2_PIX_FMT_NV12M_8L128 V4L2_PIX_FMT_RGBA444 V4L2_PIX_FMT_ABGR444 V4L2_PIX_FMT_SGBRG12 V4L2_PIX_FMT_XBGR444 V4L2_PIX_FMT_SBGGR12 V4L2_PIX_FMT_SRGGB12 -V4L2_PIX_FMT_HM12 +V4L2_PIX_FMT_NV12_16L16 V4L2_PIX_FMT_NV12M V4L2_PIX_FMT_NV12MT V4L2_PIX_FMT_NV12MT_16X16 V4L2_PIX_FMT_YUV420M V4L2_PIX_FMT_ARGB444 V4L2_PIX_FMT_XRGB444 -V4L2_PIX_FMT_SUNXI_TILED_NV12 +V4L2_PIX_FMT_NV12_32L32 +V4L2_PIX_FMT_NV12_4L4 V4L2_PIX_FMT_YUV420 V4L2_PIX_FMT_NV12 V4L2_PIX_FMT_YVU420 @@ -134,7 +137,9 @@ V4L2_PIX_FMT_VUYA32 V4L2_PIX_FMT_Y10BPACK V4L2_PIX_FMT_SRGGB8 +V4L2_PIX_FMT_QC10C V4L2_PIX_FMT_SQ905C +V4L2_PIX_FMT_QC08C V4L2_PIX_FMT_SBGGR12P V4L2_PIX_FMT_SGBRG12P V4L2_PIX_FMT_SRGGB12P @@ -146,6 +151,7 @@ V4L2_PIX_FMT_SRGGB14P V4L2_PIX_FMT_SGRBG14P V4L2_PIX_FMT_VP8_FRAME +V4L2_PIX_FMT_VP9_FRAME V4L2_PIX_FMT_VC1_ANNEX_G V4L2_PIX_FMT_IPU3_SGRBG10 V4L2_PIX_FMT_SGRBG8 @@ -189,6 +195,8 @@ V4L2_PIX_FMT_DV V4L2_PIX_FMT_IPU3_SGBRG10 V4L2_PIX_FMT_IPU3_SRGGB10 +V4L2_PIX_FMT_IPU3_Y10 V4L2_PIX_FMT_Y16_BE +V4L2_PIX_FMT_NV12M_10BE_8L128 V4L2_PIX_FMT_ARGB555X V4L2_PIX_FMT_XRGB555X
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_sdr_fmts.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_sdr_fmts.h
Changed
@@ -3,6 +3,71 @@ #include "gcc_compat.h" #include "static_assert.h" +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_PCU20BE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_PCU20BE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_PCU20BE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_RU12LE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_RU12LE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_RU12LE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_CS14LE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_CS14LE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_CS14LE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_PCU16BE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_PCU16BE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_PCU16BE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_CU16LE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_CU16LE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_CU16LE) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_CS8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_CS8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_CS8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_CU8) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_CU8" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_CU8) +#if defined XLAT_PREV_VAL +static_assert((unsigned long long) (V4L2_SDR_FMT_PCU18BE) + > (unsigned long long) (XLAT_PREV_VAL), + "Incorrect order in #sorted xlat: V4L2_SDR_FMT_PCU18BE" + " is not larger than the previous value"); +#endif +#undef XLAT_PREV_VAL +#define XLAT_PREV_VAL (V4L2_SDR_FMT_PCU18BE) +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_sliced_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_sliced_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_streaming_capabilities.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_streaming_capabilities.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_tuner_audmodes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_tuner_audmodes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_tuner_capabilities.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_tuner_capabilities.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_tuner_rxsubchanses.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_tuner_rxsubchanses.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_tuner_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_tuner_types.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/v4l2_vbi_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/v4l2_vbi_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_cids.h
Added
@@ -0,0 +1,89 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/vsock_cids.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_CID_HYPERVISOR) == (0), "VMADDR_CID_HYPERVISOR != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_CID_LOCAL) == (1), "VMADDR_CID_LOCAL != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_CID_HOST) == (2), "VMADDR_CID_HOST != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_CID_ANY) == (0xffffffff), "VMADDR_CID_ANY != 0xffffffff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat vsock_cids in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data vsock_cids_xdata = { + XLAT(VMADDR_CID_HYPERVISOR), + #define XLAT_VAL_0 ((unsigned) (VMADDR_CID_HYPERVISOR)) + #define XLAT_STR_0 STRINGIFY(VMADDR_CID_HYPERVISOR) + XLAT(VMADDR_CID_LOCAL), + #define XLAT_VAL_1 ((unsigned) (VMADDR_CID_LOCAL)) + #define XLAT_STR_1 STRINGIFY(VMADDR_CID_LOCAL) + XLAT(VMADDR_CID_HOST), + #define XLAT_VAL_2 ((unsigned) (VMADDR_CID_HOST)) + #define XLAT_STR_2 STRINGIFY(VMADDR_CID_HOST) + XLAT(VMADDR_CID_ANY), + #define XLAT_VAL_3 ((unsigned) (VMADDR_CID_ANY)) + #define XLAT_STR_3 STRINGIFY(VMADDR_CID_ANY) +}; +static +const struct xlat vsock_cids1 = { { + .data = vsock_cids_xdata, + .size = ARRAY_SIZE(vsock_cids_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_cids.in
Added
@@ -0,0 +1,5 @@ +#unconditional +VMADDR_CID_HYPERVISOR 0 +VMADDR_CID_LOCAL 1 +VMADDR_CID_HOST 2 +VMADDR_CID_ANY 0xffffffff
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_flags.h
Added
@@ -0,0 +1,47 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/vsock_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_FLAG_TO_HOST) == (0x1), "VMADDR_FLAG_TO_HOST != 0x1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat vsock_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data vsock_flags_xdata = { + XLAT(VMADDR_FLAG_TO_HOST), + #define XLAT_VAL_0 ((unsigned) (VMADDR_FLAG_TO_HOST)) + #define XLAT_STR_0 STRINGIFY(VMADDR_FLAG_TO_HOST) +}; +static +const struct xlat vsock_flags1 = { { + .data = vsock_flags_xdata, + .size = ARRAY_SIZE(vsock_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_flags.in
Added
@@ -0,0 +1,2 @@ +#unconditional +VMADDR_FLAG_TO_HOST 0x1
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_ports.h
Added
@@ -0,0 +1,47 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/vsock_ports.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((VMADDR_PORT_ANY) == (0xffffffff), "VMADDR_PORT_ANY != 0xffffffff"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat vsock_ports in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data vsock_ports_xdata = { + XLAT(VMADDR_PORT_ANY), + #define XLAT_VAL_0 ((unsigned) (VMADDR_PORT_ANY)) + #define XLAT_STR_0 STRINGIFY(VMADDR_PORT_ANY) +}; +static +const struct xlat vsock_ports1 = { { + .data = vsock_ports_xdata, + .size = ARRAY_SIZE(vsock_ports_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/vsock_ports.in
Added
@@ -0,0 +1,2 @@ +#unconditional +VMADDR_PORT_ANY 0xffffffff
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/wait4_options.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/wait4_options.h
Changed
@@ -26,6 +26,7 @@ #else # define __WNOTHREAD 0x20000000 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/waitid_types.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/waitid_types.h
Changed
@@ -31,6 +31,7 @@ #else # define P_PIDFD 3 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/watchdog_ioctl_cmds.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/watchdog_ioctl_cmds.h
Changed
@@ -73,6 +73,7 @@ #else # define WDIOC_SETPRETIMEOUT _IOWR('W', 8, int) #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/whence_codes.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/whence_codes.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/x86_xfeature_bits.h
Added
@@ -0,0 +1,291 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/x86_xfeature_bits.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(XFEATURE_FP) || (defined(HAVE_DECL_XFEATURE_FP) && HAVE_DECL_XFEATURE_FP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_FP) == (0), "XFEATURE_FP != 0"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_FP 0 +#endif +#if defined(XFEATURE_SSE) || (defined(HAVE_DECL_XFEATURE_SSE) && HAVE_DECL_XFEATURE_SSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_SSE) == (1), "XFEATURE_SSE != 1"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_SSE 1 +#endif +#if defined(XFEATURE_YMM) || (defined(HAVE_DECL_XFEATURE_YMM) && HAVE_DECL_XFEATURE_YMM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_YMM) == (2), "XFEATURE_YMM != 2"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_YMM 2 +#endif +#if defined(XFEATURE_BNDREGS) || (defined(HAVE_DECL_XFEATURE_BNDREGS) && HAVE_DECL_XFEATURE_BNDREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_BNDREGS) == (3), "XFEATURE_BNDREGS != 3"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_BNDREGS 3 +#endif +#if defined(XFEATURE_BNDCSR) || (defined(HAVE_DECL_XFEATURE_BNDCSR) && HAVE_DECL_XFEATURE_BNDCSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_BNDCSR) == (4), "XFEATURE_BNDCSR != 4"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_BNDCSR 4 +#endif +#if defined(XFEATURE_OPMASK) || (defined(HAVE_DECL_XFEATURE_OPMASK) && HAVE_DECL_XFEATURE_OPMASK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_OPMASK) == (5), "XFEATURE_OPMASK != 5"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_OPMASK 5 +#endif +#if defined(XFEATURE_ZMM_Hi256) || (defined(HAVE_DECL_XFEATURE_ZMM_Hi256) && HAVE_DECL_XFEATURE_ZMM_Hi256) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_ZMM_Hi256) == (6), "XFEATURE_ZMM_Hi256 != 6"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_ZMM_Hi256 6 +#endif +#if defined(XFEATURE_Hi16_ZMM) || (defined(HAVE_DECL_XFEATURE_Hi16_ZMM) && HAVE_DECL_XFEATURE_Hi16_ZMM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_Hi16_ZMM) == (7), "XFEATURE_Hi16_ZMM != 7"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_Hi16_ZMM 7 +#endif +#if defined(XFEATURE_PT_UNIMPLEMENTED_SO_FAR) || (defined(HAVE_DECL_XFEATURE_PT_UNIMPLEMENTED_SO_FAR) && HAVE_DECL_XFEATURE_PT_UNIMPLEMENTED_SO_FAR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_PT_UNIMPLEMENTED_SO_FAR) == (8), "XFEATURE_PT_UNIMPLEMENTED_SO_FAR != 8"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_PT_UNIMPLEMENTED_SO_FAR 8 +#endif +#if defined(XFEATURE_PKRU) || (defined(HAVE_DECL_XFEATURE_PKRU) && HAVE_DECL_XFEATURE_PKRU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_PKRU) == (9), "XFEATURE_PKRU != 9"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_PKRU 9 +#endif +#if defined(XFEATURE_PASID) || (defined(HAVE_DECL_XFEATURE_PASID) && HAVE_DECL_XFEATURE_PASID) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_PASID) == (10), "XFEATURE_PASID != 10"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_PASID 10 +#endif +#if defined(XFEATURE_LBR) || (defined(HAVE_DECL_XFEATURE_LBR) && HAVE_DECL_XFEATURE_LBR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_LBR) == (15), "XFEATURE_LBR != 15"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_LBR 15 +#endif +#if defined(XFEATURE_XTILE_CFG) || (defined(HAVE_DECL_XFEATURE_XTILE_CFG) && HAVE_DECL_XFEATURE_XTILE_CFG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_XTILE_CFG) == (17), "XFEATURE_XTILE_CFG != 17"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_XTILE_CFG 17 +#endif +#if defined(XFEATURE_XTILE_DATA) || (defined(HAVE_DECL_XFEATURE_XTILE_DATA) && HAVE_DECL_XFEATURE_XTILE_DATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_XTILE_DATA) == (18), "XFEATURE_XTILE_DATA != 18"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_XTILE_DATA 18 +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat x86_xfeature_bits in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data x86_xfeature_bits_xdata = { + + XFEATURE_FP = XLAT(XFEATURE_FP), + #define XLAT_VAL_0 ((unsigned) (XFEATURE_FP)) + #define XLAT_STR_0 STRINGIFY(XFEATURE_FP) + XFEATURE_SSE = XLAT(XFEATURE_SSE), + #define XLAT_VAL_1 ((unsigned) (XFEATURE_SSE)) + #define XLAT_STR_1 STRINGIFY(XFEATURE_SSE) + XFEATURE_YMM = XLAT(XFEATURE_YMM), + #define XLAT_VAL_2 ((unsigned) (XFEATURE_YMM)) + #define XLAT_STR_2 STRINGIFY(XFEATURE_YMM) + XFEATURE_BNDREGS = XLAT(XFEATURE_BNDREGS), + #define XLAT_VAL_3 ((unsigned) (XFEATURE_BNDREGS)) + #define XLAT_STR_3 STRINGIFY(XFEATURE_BNDREGS) + XFEATURE_BNDCSR = XLAT(XFEATURE_BNDCSR), + #define XLAT_VAL_4 ((unsigned) (XFEATURE_BNDCSR)) + #define XLAT_STR_4 STRINGIFY(XFEATURE_BNDCSR) + XFEATURE_OPMASK = XLAT(XFEATURE_OPMASK), + #define XLAT_VAL_5 ((unsigned) (XFEATURE_OPMASK)) + #define XLAT_STR_5 STRINGIFY(XFEATURE_OPMASK) + XFEATURE_ZMM_Hi256 = XLAT(XFEATURE_ZMM_Hi256), + #define XLAT_VAL_6 ((unsigned) (XFEATURE_ZMM_Hi256)) + #define XLAT_STR_6 STRINGIFY(XFEATURE_ZMM_Hi256) + XFEATURE_Hi16_ZMM = XLAT(XFEATURE_Hi16_ZMM), + #define XLAT_VAL_7 ((unsigned) (XFEATURE_Hi16_ZMM)) + #define XLAT_STR_7 STRINGIFY(XFEATURE_Hi16_ZMM) + XFEATURE_PT_UNIMPLEMENTED_SO_FAR = XLAT(XFEATURE_PT_UNIMPLEMENTED_SO_FAR), + #define XLAT_VAL_8 ((unsigned) (XFEATURE_PT_UNIMPLEMENTED_SO_FAR)) + #define XLAT_STR_8 STRINGIFY(XFEATURE_PT_UNIMPLEMENTED_SO_FAR) + XFEATURE_PKRU = XLAT(XFEATURE_PKRU), + #define XLAT_VAL_9 ((unsigned) (XFEATURE_PKRU)) + #define XLAT_STR_9 STRINGIFY(XFEATURE_PKRU) + XFEATURE_PASID = XLAT(XFEATURE_PASID), + #define XLAT_VAL_10 ((unsigned) (XFEATURE_PASID)) + #define XLAT_STR_10 STRINGIFY(XFEATURE_PASID) + + + + + XFEATURE_LBR = XLAT(XFEATURE_LBR), + #define XLAT_VAL_11 ((unsigned) (XFEATURE_LBR)) + #define XLAT_STR_11 STRINGIFY(XFEATURE_LBR) + + XFEATURE_XTILE_CFG = XLAT(XFEATURE_XTILE_CFG), + #define XLAT_VAL_12 ((unsigned) (XFEATURE_XTILE_CFG)) + #define XLAT_STR_12 STRINGIFY(XFEATURE_XTILE_CFG) + XFEATURE_XTILE_DATA = XLAT(XFEATURE_XTILE_DATA), + #define XLAT_VAL_13 ((unsigned) (XFEATURE_XTILE_DATA)) + #define XLAT_STR_13 STRINGIFY(XFEATURE_XTILE_DATA) +}; +static +const struct xlat x86_xfeature_bits1 = { { + .data = x86_xfeature_bits_xdata, + .size = ARRAY_SIZE(x86_xfeature_bits_xdata), + .type = XT_INDEXED, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/x86_xfeature_bits.in
Added
@@ -0,0 +1,21 @@ +#value_indexed +/* From arch/x86/include/asm/fpu/types.h */ +XFEATURE_FP 0 +XFEATURE_SSE 1 +XFEATURE_YMM 2 +XFEATURE_BNDREGS 3 +XFEATURE_BNDCSR 4 +XFEATURE_OPMASK 5 +XFEATURE_ZMM_Hi256 6 +XFEATURE_Hi16_ZMM 7 +XFEATURE_PT_UNIMPLEMENTED_SO_FAR 8 +XFEATURE_PKRU 9 +XFEATURE_PASID 10 +/* XFEATURE_RSRVD_COMP_11 11 */ +/* XFEATURE_RSRVD_COMP_12 12 */ +/* XFEATURE_RSRVD_COMP_13 13 */ +/* XFEATURE_RSRVD_COMP_14 14 */ +XFEATURE_LBR 15 +/* XFEATURE_RSRVD_COMP_16 16 */ +XFEATURE_XTILE_CFG 17 +XFEATURE_XTILE_DATA 18
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/x86_xfeatures.h
Added
@@ -0,0 +1,340 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/x86_xfeatures.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(XFEATURE_MASK_FPSSE) || (defined(HAVE_DECL_XFEATURE_MASK_FPSSE) && HAVE_DECL_XFEATURE_MASK_FPSSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_FPSSE) == ((XFEATURE_MASK_FP | XFEATURE_MASK_SSE)), "XFEATURE_MASK_FPSSE != (XFEATURE_MASK_FP | XFEATURE_MASK_SSE)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_FPSSE (XFEATURE_MASK_FP | XFEATURE_MASK_SSE) +#endif +#if defined(XFEATURE_MASK_FP) || (defined(HAVE_DECL_XFEATURE_MASK_FP) && HAVE_DECL_XFEATURE_MASK_FP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_FP) == ((1 << XFEATURE_FP)), "XFEATURE_MASK_FP != (1 << XFEATURE_FP)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_FP (1 << XFEATURE_FP) +#endif +#if defined(XFEATURE_MASK_SSE) || (defined(HAVE_DECL_XFEATURE_MASK_SSE) && HAVE_DECL_XFEATURE_MASK_SSE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_SSE) == ((1 << XFEATURE_SSE)), "XFEATURE_MASK_SSE != (1 << XFEATURE_SSE)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_SSE (1 << XFEATURE_SSE) +#endif +#if defined(XFEATURE_MASK_YMM) || (defined(HAVE_DECL_XFEATURE_MASK_YMM) && HAVE_DECL_XFEATURE_MASK_YMM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_YMM) == ((1 << XFEATURE_YMM)), "XFEATURE_MASK_YMM != (1 << XFEATURE_YMM)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_YMM (1 << XFEATURE_YMM) +#endif +#if defined(XFEATURE_MASK_BNDREGS) || (defined(HAVE_DECL_XFEATURE_MASK_BNDREGS) && HAVE_DECL_XFEATURE_MASK_BNDREGS) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_BNDREGS) == ((1 << XFEATURE_BNDREGS)), "XFEATURE_MASK_BNDREGS != (1 << XFEATURE_BNDREGS)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_BNDREGS (1 << XFEATURE_BNDREGS) +#endif +#if defined(XFEATURE_MASK_BNDCSR) || (defined(HAVE_DECL_XFEATURE_MASK_BNDCSR) && HAVE_DECL_XFEATURE_MASK_BNDCSR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_BNDCSR) == ((1 << XFEATURE_BNDCSR)), "XFEATURE_MASK_BNDCSR != (1 << XFEATURE_BNDCSR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_BNDCSR (1 << XFEATURE_BNDCSR) +#endif +#if defined(XFEATURE_MASK_AVX512) || (defined(HAVE_DECL_XFEATURE_MASK_AVX512) && HAVE_DECL_XFEATURE_MASK_AVX512) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_AVX512) == ((XFEATURE_MASK_OPMASK | XFEATURE_MASK_ZMM_Hi256 | XFEATURE_MASK_Hi16_ZMM)), "XFEATURE_MASK_AVX512 != (XFEATURE_MASK_OPMASK | XFEATURE_MASK_ZMM_Hi256 | XFEATURE_MASK_Hi16_ZMM)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_AVX512 (XFEATURE_MASK_OPMASK | XFEATURE_MASK_ZMM_Hi256 | XFEATURE_MASK_Hi16_ZMM) +#endif +#if defined(XFEATURE_MASK_OPMASK) || (defined(HAVE_DECL_XFEATURE_MASK_OPMASK) && HAVE_DECL_XFEATURE_MASK_OPMASK) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_OPMASK) == ((1 << XFEATURE_OPMASK)), "XFEATURE_MASK_OPMASK != (1 << XFEATURE_OPMASK)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_OPMASK (1 << XFEATURE_OPMASK) +#endif +#if defined(XFEATURE_MASK_ZMM_Hi256) || (defined(HAVE_DECL_XFEATURE_MASK_ZMM_Hi256) && HAVE_DECL_XFEATURE_MASK_ZMM_Hi256) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_ZMM_Hi256) == ((1 << XFEATURE_ZMM_Hi256)), "XFEATURE_MASK_ZMM_Hi256 != (1 << XFEATURE_ZMM_Hi256)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_ZMM_Hi256 (1 << XFEATURE_ZMM_Hi256) +#endif +#if defined(XFEATURE_MASK_Hi16_ZMM) || (defined(HAVE_DECL_XFEATURE_MASK_Hi16_ZMM) && HAVE_DECL_XFEATURE_MASK_Hi16_ZMM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_Hi16_ZMM) == ((1 << XFEATURE_Hi16_ZMM)), "XFEATURE_MASK_Hi16_ZMM != (1 << XFEATURE_Hi16_ZMM)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_Hi16_ZMM (1 << XFEATURE_Hi16_ZMM) +#endif +#if defined(XFEATURE_MASK_PT) || (defined(HAVE_DECL_XFEATURE_MASK_PT) && HAVE_DECL_XFEATURE_MASK_PT) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_PT) == ((1 << XFEATURE_PT_UNIMPLEMENTED_SO_FAR)), "XFEATURE_MASK_PT != (1 << XFEATURE_PT_UNIMPLEMENTED_SO_FAR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_PT (1 << XFEATURE_PT_UNIMPLEMENTED_SO_FAR) +#endif +#if defined(XFEATURE_MASK_PKRU) || (defined(HAVE_DECL_XFEATURE_MASK_PKRU) && HAVE_DECL_XFEATURE_MASK_PKRU) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_PKRU) == ((1 << XFEATURE_PKRU)), "XFEATURE_MASK_PKRU != (1 << XFEATURE_PKRU)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_PKRU (1 << XFEATURE_PKRU) +#endif +#if defined(XFEATURE_MASK_PASID) || (defined(HAVE_DECL_XFEATURE_MASK_PASID) && HAVE_DECL_XFEATURE_MASK_PASID) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_PASID) == ((1 << XFEATURE_PASID)), "XFEATURE_MASK_PASID != (1 << XFEATURE_PASID)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_PASID (1 << XFEATURE_PASID) +#endif +#if defined(XFEATURE_MASK_LBR) || (defined(HAVE_DECL_XFEATURE_MASK_LBR) && HAVE_DECL_XFEATURE_MASK_LBR) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_LBR) == ((1 << XFEATURE_LBR)), "XFEATURE_MASK_LBR != (1 << XFEATURE_LBR)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_LBR (1 << XFEATURE_LBR) +#endif +#if defined(XFEATURE_MASK_XTILE) || (defined(HAVE_DECL_XFEATURE_MASK_XTILE) && HAVE_DECL_XFEATURE_MASK_XTILE) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_XTILE) == ((XFEATURE_MASK_XTILE_DATA | XFEATURE_MASK_XTILE_CFG)), "XFEATURE_MASK_XTILE != (XFEATURE_MASK_XTILE_DATA | XFEATURE_MASK_XTILE_CFG)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_XTILE (XFEATURE_MASK_XTILE_DATA | XFEATURE_MASK_XTILE_CFG) +#endif +#if defined(XFEATURE_MASK_XTILE_CFG) || (defined(HAVE_DECL_XFEATURE_MASK_XTILE_CFG) && HAVE_DECL_XFEATURE_MASK_XTILE_CFG) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_XTILE_CFG) == ((1 << XFEATURE_XTILE_CFG)), "XFEATURE_MASK_XTILE_CFG != (1 << XFEATURE_XTILE_CFG)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_XTILE_CFG (1 << XFEATURE_XTILE_CFG) +#endif +#if defined(XFEATURE_MASK_XTILE_DATA) || (defined(HAVE_DECL_XFEATURE_MASK_XTILE_DATA) && HAVE_DECL_XFEATURE_MASK_XTILE_DATA) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XFEATURE_MASK_XTILE_DATA) == ((1 << XFEATURE_XTILE_DATA)), "XFEATURE_MASK_XTILE_DATA != (1 << XFEATURE_XTILE_DATA)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XFEATURE_MASK_XTILE_DATA (1 << XFEATURE_XTILE_DATA) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat x86_xfeatures in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data x86_xfeatures_xdata = { + + XLAT(XFEATURE_MASK_FPSSE), + #define XLAT_VAL_0 ((unsigned) (XFEATURE_MASK_FPSSE)) + #define XLAT_STR_0 STRINGIFY(XFEATURE_MASK_FPSSE) + XLAT(XFEATURE_MASK_FP), + #define XLAT_VAL_1 ((unsigned) (XFEATURE_MASK_FP)) + #define XLAT_STR_1 STRINGIFY(XFEATURE_MASK_FP) + XLAT(XFEATURE_MASK_SSE), + #define XLAT_VAL_2 ((unsigned) (XFEATURE_MASK_SSE)) + #define XLAT_STR_2 STRINGIFY(XFEATURE_MASK_SSE) + XLAT(XFEATURE_MASK_YMM), + #define XLAT_VAL_3 ((unsigned) (XFEATURE_MASK_YMM)) + #define XLAT_STR_3 STRINGIFY(XFEATURE_MASK_YMM) + XLAT(XFEATURE_MASK_BNDREGS), + #define XLAT_VAL_4 ((unsigned) (XFEATURE_MASK_BNDREGS)) + #define XLAT_STR_4 STRINGIFY(XFEATURE_MASK_BNDREGS) + XLAT(XFEATURE_MASK_BNDCSR), + #define XLAT_VAL_5 ((unsigned) (XFEATURE_MASK_BNDCSR)) + #define XLAT_STR_5 STRINGIFY(XFEATURE_MASK_BNDCSR) + XLAT(XFEATURE_MASK_AVX512), + #define XLAT_VAL_6 ((unsigned) (XFEATURE_MASK_AVX512)) + #define XLAT_STR_6 STRINGIFY(XFEATURE_MASK_AVX512) + XLAT(XFEATURE_MASK_OPMASK), + #define XLAT_VAL_7 ((unsigned) (XFEATURE_MASK_OPMASK)) + #define XLAT_STR_7 STRINGIFY(XFEATURE_MASK_OPMASK) + XLAT(XFEATURE_MASK_ZMM_Hi256), + #define XLAT_VAL_8 ((unsigned) (XFEATURE_MASK_ZMM_Hi256)) + #define XLAT_STR_8 STRINGIFY(XFEATURE_MASK_ZMM_Hi256) + XLAT(XFEATURE_MASK_Hi16_ZMM), + #define XLAT_VAL_9 ((unsigned) (XFEATURE_MASK_Hi16_ZMM)) + #define XLAT_STR_9 STRINGIFY(XFEATURE_MASK_Hi16_ZMM) + XLAT(XFEATURE_MASK_PT), + #define XLAT_VAL_10 ((unsigned) (XFEATURE_MASK_PT)) + #define XLAT_STR_10 STRINGIFY(XFEATURE_MASK_PT) + XLAT(XFEATURE_MASK_PKRU), + #define XLAT_VAL_11 ((unsigned) (XFEATURE_MASK_PKRU)) + #define XLAT_STR_11 STRINGIFY(XFEATURE_MASK_PKRU) + XLAT(XFEATURE_MASK_PASID), + #define XLAT_VAL_12 ((unsigned) (XFEATURE_MASK_PASID)) + #define XLAT_STR_12 STRINGIFY(XFEATURE_MASK_PASID) + XLAT(XFEATURE_MASK_LBR), + #define XLAT_VAL_13 ((unsigned) (XFEATURE_MASK_LBR)) + #define XLAT_STR_13 STRINGIFY(XFEATURE_MASK_LBR) + XLAT(XFEATURE_MASK_XTILE), + #define XLAT_VAL_14 ((unsigned) (XFEATURE_MASK_XTILE)) + #define XLAT_STR_14 STRINGIFY(XFEATURE_MASK_XTILE) + XLAT(XFEATURE_MASK_XTILE_CFG), + #define XLAT_VAL_15 ((unsigned) (XFEATURE_MASK_XTILE_CFG)) + #define XLAT_STR_15 STRINGIFY(XFEATURE_MASK_XTILE_CFG) + XLAT(XFEATURE_MASK_XTILE_DATA), + #define XLAT_VAL_16 ((unsigned) (XFEATURE_MASK_XTILE_DATA)) + #define XLAT_STR_16 STRINGIFY(XFEATURE_MASK_XTILE_DATA) +}; +static +const struct xlat x86_xfeatures1 = { { + .data = x86_xfeatures_xdata, + .size = ARRAY_SIZE(x86_xfeatures_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif +# ifdef XLAT_VAL_4 + | XLAT_VAL_4 +# endif +# ifdef XLAT_VAL_5 + | XLAT_VAL_5 +# endif +# ifdef XLAT_VAL_6 + | XLAT_VAL_6 +# endif +# ifdef XLAT_VAL_7 + | XLAT_VAL_7 +# endif +# ifdef XLAT_VAL_8 + | XLAT_VAL_8 +# endif +# ifdef XLAT_VAL_9 + | XLAT_VAL_9 +# endif +# ifdef XLAT_VAL_10 + | XLAT_VAL_10 +# endif +# ifdef XLAT_VAL_11 + | XLAT_VAL_11 +# endif +# ifdef XLAT_VAL_12 + | XLAT_VAL_12 +# endif +# ifdef XLAT_VAL_13 + | XLAT_VAL_13 +# endif +# ifdef XLAT_VAL_14 + | XLAT_VAL_14 +# endif +# ifdef XLAT_VAL_15 + | XLAT_VAL_15 +# endif +# ifdef XLAT_VAL_16 + | XLAT_VAL_16 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif +# ifdef XLAT_STR_4 + + sizeof(XLAT_STR_4) +# endif +# ifdef XLAT_STR_5 + + sizeof(XLAT_STR_5) +# endif +# ifdef XLAT_STR_6 + + sizeof(XLAT_STR_6) +# endif +# ifdef XLAT_STR_7 + + sizeof(XLAT_STR_7) +# endif +# ifdef XLAT_STR_8 + + sizeof(XLAT_STR_8) +# endif +# ifdef XLAT_STR_9 + + sizeof(XLAT_STR_9) +# endif +# ifdef XLAT_STR_10 + + sizeof(XLAT_STR_10) +# endif +# ifdef XLAT_STR_11 + + sizeof(XLAT_STR_11) +# endif +# ifdef XLAT_STR_12 + + sizeof(XLAT_STR_12) +# endif +# ifdef XLAT_STR_13 + + sizeof(XLAT_STR_13) +# endif +# ifdef XLAT_STR_14 + + sizeof(XLAT_STR_14) +# endif +# ifdef XLAT_STR_15 + + sizeof(XLAT_STR_15) +# endif +# ifdef XLAT_STR_16 + + sizeof(XLAT_STR_16) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# undef XLAT_STR_4 +# undef XLAT_VAL_4 +# undef XLAT_STR_5 +# undef XLAT_VAL_5 +# undef XLAT_STR_6 +# undef XLAT_VAL_6 +# undef XLAT_STR_7 +# undef XLAT_VAL_7 +# undef XLAT_STR_8 +# undef XLAT_VAL_8 +# undef XLAT_STR_9 +# undef XLAT_VAL_9 +# undef XLAT_STR_10 +# undef XLAT_VAL_10 +# undef XLAT_STR_11 +# undef XLAT_VAL_11 +# undef XLAT_STR_12 +# undef XLAT_VAL_12 +# undef XLAT_STR_13 +# undef XLAT_VAL_13 +# undef XLAT_STR_14 +# undef XLAT_VAL_14 +# undef XLAT_STR_15 +# undef XLAT_VAL_15 +# undef XLAT_STR_16 +# undef XLAT_VAL_16 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/x86_xfeatures.in
Added
@@ -0,0 +1,18 @@ +/* From arch/x86/include/asm/fpu/types.h */ +XFEATURE_MASK_FPSSE (XFEATURE_MASK_FP | XFEATURE_MASK_SSE) +XFEATURE_MASK_FP (1 << XFEATURE_FP) +XFEATURE_MASK_SSE (1 << XFEATURE_SSE) +XFEATURE_MASK_YMM (1 << XFEATURE_YMM) +XFEATURE_MASK_BNDREGS (1 << XFEATURE_BNDREGS) +XFEATURE_MASK_BNDCSR (1 << XFEATURE_BNDCSR) +XFEATURE_MASK_AVX512 (XFEATURE_MASK_OPMASK | XFEATURE_MASK_ZMM_Hi256 | XFEATURE_MASK_Hi16_ZMM) +XFEATURE_MASK_OPMASK (1 << XFEATURE_OPMASK) +XFEATURE_MASK_ZMM_Hi256 (1 << XFEATURE_ZMM_Hi256) +XFEATURE_MASK_Hi16_ZMM (1 << XFEATURE_Hi16_ZMM) +XFEATURE_MASK_PT (1 << XFEATURE_PT_UNIMPLEMENTED_SO_FAR) +XFEATURE_MASK_PKRU (1 << XFEATURE_PKRU) +XFEATURE_MASK_PASID (1 << XFEATURE_PASID) +XFEATURE_MASK_LBR (1 << XFEATURE_LBR) +XFEATURE_MASK_XTILE (XFEATURE_MASK_XTILE_DATA | XFEATURE_MASK_XTILE_CFG) +XFEATURE_MASK_XTILE_CFG (1 << XFEATURE_XTILE_CFG) +XFEATURE_MASK_XTILE_DATA (1 << XFEATURE_XTILE_DATA)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/xattrflags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/xattrflags.h
Changed
@@ -17,6 +17,7 @@ #else # define XATTR_REPLACE 2 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/xdp_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/xdp_flags.h
Changed
@@ -45,6 +45,7 @@ #else # define XDP_FLAGS_REPLACE 0x10 #endif +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/xdp_sockaddr_flags.h
Added
@@ -0,0 +1,105 @@ +/* Generated by ./src/xlat/gen.sh from ./src/xlat/xdp_sockaddr_flags.in; do not edit. */ + +#include "gcc_compat.h" +#include "static_assert.h" + +#if defined(XDP_SHARED_UMEM) || (defined(HAVE_DECL_XDP_SHARED_UMEM) && HAVE_DECL_XDP_SHARED_UMEM) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XDP_SHARED_UMEM) == ((1 << 0)), "XDP_SHARED_UMEM != (1 << 0)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XDP_SHARED_UMEM (1 << 0) +#endif +#if defined(XDP_COPY) || (defined(HAVE_DECL_XDP_COPY) && HAVE_DECL_XDP_COPY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XDP_COPY) == ((1 << 1)), "XDP_COPY != (1 << 1)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XDP_COPY (1 << 1) +#endif +#if defined(XDP_ZEROCOPY) || (defined(HAVE_DECL_XDP_ZEROCOPY) && HAVE_DECL_XDP_ZEROCOPY) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XDP_ZEROCOPY) == ((1 << 2)), "XDP_ZEROCOPY != (1 << 2)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XDP_ZEROCOPY (1 << 2) +#endif +#if defined(XDP_USE_NEED_WAKEUP) || (defined(HAVE_DECL_XDP_USE_NEED_WAKEUP) && HAVE_DECL_XDP_USE_NEED_WAKEUP) +DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE +static_assert((XDP_USE_NEED_WAKEUP) == ((1 << 3)), "XDP_USE_NEED_WAKEUP != (1 << 3)"); +DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE +#else +# define XDP_USE_NEED_WAKEUP (1 << 3) +#endif +#undef XLAT_PREV_VAL + +#ifndef XLAT_MACROS_ONLY + +# ifdef IN_MPERS + +# error static const struct xlat xdp_sockaddr_flags in mpers mode + +# else + +DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE +static const struct xlat_data xdp_sockaddr_flags_xdata = { + XLAT(XDP_SHARED_UMEM), + #define XLAT_VAL_0 ((unsigned) (XDP_SHARED_UMEM)) + #define XLAT_STR_0 STRINGIFY(XDP_SHARED_UMEM) + XLAT(XDP_COPY), + #define XLAT_VAL_1 ((unsigned) (XDP_COPY)) + #define XLAT_STR_1 STRINGIFY(XDP_COPY) + XLAT(XDP_ZEROCOPY), + #define XLAT_VAL_2 ((unsigned) (XDP_ZEROCOPY)) + #define XLAT_STR_2 STRINGIFY(XDP_ZEROCOPY) + XLAT(XDP_USE_NEED_WAKEUP), + #define XLAT_VAL_3 ((unsigned) (XDP_USE_NEED_WAKEUP)) + #define XLAT_STR_3 STRINGIFY(XDP_USE_NEED_WAKEUP) +}; +static +const struct xlat xdp_sockaddr_flags1 = { { + .data = xdp_sockaddr_flags_xdata, + .size = ARRAY_SIZE(xdp_sockaddr_flags_xdata), + .type = XT_NORMAL, + .flags_mask = 0 +# ifdef XLAT_VAL_0 + | XLAT_VAL_0 +# endif +# ifdef XLAT_VAL_1 + | XLAT_VAL_1 +# endif +# ifdef XLAT_VAL_2 + | XLAT_VAL_2 +# endif +# ifdef XLAT_VAL_3 + | XLAT_VAL_3 +# endif + , + .flags_strsz = 0 +# ifdef XLAT_STR_0 + + sizeof(XLAT_STR_0) +# endif +# ifdef XLAT_STR_1 + + sizeof(XLAT_STR_1) +# endif +# ifdef XLAT_STR_2 + + sizeof(XLAT_STR_2) +# endif +# ifdef XLAT_STR_3 + + sizeof(XLAT_STR_3) +# endif + , +} }; +DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE + +# undef XLAT_STR_0 +# undef XLAT_VAL_0 +# undef XLAT_STR_1 +# undef XLAT_VAL_1 +# undef XLAT_STR_2 +# undef XLAT_VAL_2 +# undef XLAT_STR_3 +# undef XLAT_VAL_3 +# endif /* !IN_MPERS */ + +#endif /* !XLAT_MACROS_ONLY */
View file
_service:tar_scm:strace-6.1.tar.xz/src/xlat/xdp_sockaddr_flags.in
Added
@@ -0,0 +1,4 @@ +XDP_SHARED_UMEM (1 << 0) +XDP_COPY (1 << 1) +XDP_ZEROCOPY (1 << 2) +XDP_USE_NEED_WAKEUP (1 << 3)
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/xfs_dqblk_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/xfs_dqblk_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xlat/xfs_quota_flags.h -> _service:tar_scm:strace-6.1.tar.xz/src/xlat/xfs_quota_flags.h
Changed
@@ -3,6 +3,7 @@ #include "gcc_compat.h" #include "static_assert.h" +#undef XLAT_PREV_VAL #ifndef XLAT_MACROS_ONLY
View file
_service:tar_scm:strace-5.14.tar.xz/src/xstring.h -> _service:tar_scm:strace-6.1.tar.xz/src/xstring.h
Changed
@@ -1,5 +1,6 @@ /* * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later @@ -12,12 +13,12 @@ # include <stdio.h> # include "error_prints.h" -# include "gcc_compat.h" +# include "macros.h" /** * Print to static buffer and die on (really unexpected) errors and overflows. * Shouldn't be used directly; please refer to helper macros xsnprintf and - * xsprint instead. + * xsprintf instead. * * @param str String buffer to print into. * @param size Size of the string buffer in bytes.
View file
_service:tar_scm:strace-5.14.tar.xz/strace.spec -> _service:tar_scm:strace-6.1.tar.xz/strace.spec
Changed
@@ -1,9 +1,16 @@ Summary: Tracks and displays system calls associated with a running process Name: strace -Version: 5.14 +Version: 6.1 Release: 1%{?dist} # The test suite is GPLv2+, all the rest is LGPLv2.1+. +%if 0%{?fedora} >= 35 || 0%{?centos} >= 9 || 0%{?rhel} >= 9 +# Some distros are special and have decided that they do not recognise +# the existence of deprecated forms of SPDX license identifiers, +# so they complain about them being "Unapproved". +License: LGPL-2.1-or-later and GPL-2.0-or-later +%else License: LGPL-2.1+ and GPL-2.0+ +%endif # Some distros require Group tag to be present, # some require Group tag to be absent, # some do not care about Group tag at all, @@ -61,8 +68,9 @@ %prep %setup -q echo -n %version-%release > .tarball-version -echo -n 2021 > .year -echo -n 2021-08-24 > doc/.strace.1.in.date +echo -n 2022 > .year +echo -n 2022-10-16 > doc/.strace.1.in.date +echo -n 2022-01-01 > doc/.strace-log-merge.1.in.date %build echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' @@ -90,13 +98,21 @@ wait %check -%{buildroot}%{_bindir}/strace -V -%make_build -k check VERBOSE=1 -echo 'BEGIN OF TEST SUITE INFORMATION' -tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log -find tests* -type f -name '*.log' -print0 | - xargs -r0 grep -H '^KERNEL BUG:' -- ||: -echo 'END OF TEST SUITE INFORMATION' +width=$(echo __LONG_WIDTH__ |%__cc -E -P -) +skip_32bit=0 +%if 0%{?fedora} >= 35 || 0%{?rhel} > 9 +skip_32bit=1 +%endif + +if "${width}" != 32 || "${skip_32bit}" != 1 ; then + %{buildroot}%{_bindir}/strace -V + %make_build -k check VERBOSE=1 + echo 'BEGIN OF TEST SUITE INFORMATION' + tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log + find tests* -type f -name '*.log' -print0 | + xargs -r0 grep -H '^KERNEL BUG:' -- ||: + echo 'END OF TEST SUITE INFORMATION' +fi %files %maybe_use_defattr @@ -106,8 +122,29 @@ %{_mandir}/man1/* %changelog -* Thu Sep 02 2021 strace-devel@lists.strace.io - 5.14-1 -- strace 5.14 snapshot. +* Mon Dec 12 2022 strace-devel@lists.strace.io - 6.1-1 +- strace 6.1 snapshot. + +* Sat Oct 29 2022 Dmitry V. Levin <ldv@strace.io> - 6.0-1 +- v5.19 -> v6.0. + +* Fri Aug 12 2022 Dmitry V. Levin <ldv@strace.io> - 5.19-1 +- v5.18 -> v5.19. + +* Sat Jun 18 2022 Dmitry V. Levin <ldv@strace.io> - 5.18-1 +- v5.17 -> v5.18. + +* Sat Mar 26 2022 Dmitry V. Levin <ldv@strace.io> - 5.17-1 +- v5.16 -> v5.17 (resolves: #2047030). + +* Mon Jan 10 2022 Dmitry V. Levin <ldv@strace.io> - 5.16-1 +- v5.15 -> v5.16. + +* Wed Dec 01 2021 Dmitry V. Levin <ldv@strace.io> - 5.15-1 +- v5.14 -> v5.15. + +* Thu Sep 02 2021 Dmitry V. Levin <ldv@strace.io> - 5.14-1 +- v5.13 -> v5.14. * Sun Jul 18 2021 Dmitry V. Levin <ldv@strace.io> - 5.13-1 - v5.12 -> v5.13.
View file
_service:tar_scm:strace-5.14.tar.xz/strace.spec.in -> _service:tar_scm:strace-6.1.tar.xz/strace.spec.in
Changed
@@ -3,7 +3,14 @@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} # The test suite is GPLv2+, all the rest is LGPLv2.1+. +%if 0%{?fedora} >= 35 || 0%{?centos} >= 9 || 0%{?rhel} >= 9 +# Some distros are special and have decided that they do not recognise +# the existence of deprecated forms of SPDX license identifiers, +# so they complain about them being "Unapproved". +License: LGPL-2.1-or-later and GPL-2.0-or-later +%else License: LGPL-2.1+ and GPL-2.0+ +%endif # Some distros require Group tag to be present, # some require Group tag to be absent, # some do not care about Group tag at all, @@ -62,7 +69,8 @@ %setup -q echo -n %version-%release > .tarball-version echo -n @COPYRIGHT_YEAR@ > .year -echo -n @MANPAGE_DATE@ > doc/.strace.1.in.date +echo -n @STRACE_MANPAGE_DATE@ > doc/.strace.1.in.date +echo -n @SLM_MANPAGE_DATE@ > doc/.strace-log-merge.1.in.date %build echo 'BEGIN OF BUILD ENVIRONMENT INFORMATION' @@ -90,13 +98,21 @@ wait %check -%{buildroot}%{_bindir}/strace -V -%make_build -k check VERBOSE=1 -echo 'BEGIN OF TEST SUITE INFORMATION' -tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log -find tests* -type f -name '*.log' -print0 | - xargs -r0 grep -H '^KERNEL BUG:' -- ||: -echo 'END OF TEST SUITE INFORMATION' +width=$(echo __LONG_WIDTH__ |%__cc -E -P -) +skip_32bit=0 +%if 0%{?fedora} >= 35 || 0%{?rhel} > 9 +skip_32bit=1 +%endif + +if "${width}" != 32 || "${skip_32bit}" != 1 ; then + %{buildroot}%{_bindir}/strace -V + %make_build -k check VERBOSE=1 + echo 'BEGIN OF TEST SUITE INFORMATION' + tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log + find tests* -type f -name '*.log' -print0 | + xargs -r0 grep -H '^KERNEL BUG:' -- ||: + echo 'END OF TEST SUITE INFORMATION' +fi %files %maybe_use_defattr @@ -109,6 +125,27 @@ * @RPM_CHANGELOGTIME@ @PACKAGE_BUGREPORT@ - @PACKAGE_VERSION@-1 - @PACKAGE_STRING@ snapshot. +* Sat Oct 29 2022 Dmitry V. Levin <ldv@strace.io> - 6.0-1 +- v5.19 -> v6.0. + +* Fri Aug 12 2022 Dmitry V. Levin <ldv@strace.io> - 5.19-1 +- v5.18 -> v5.19. + +* Sat Jun 18 2022 Dmitry V. Levin <ldv@strace.io> - 5.18-1 +- v5.17 -> v5.18. + +* Sat Mar 26 2022 Dmitry V. Levin <ldv@strace.io> - 5.17-1 +- v5.16 -> v5.17 (resolves: #2047030). + +* Mon Jan 10 2022 Dmitry V. Levin <ldv@strace.io> - 5.16-1 +- v5.15 -> v5.16. + +* Wed Dec 01 2021 Dmitry V. Levin <ldv@strace.io> - 5.15-1 +- v5.14 -> v5.15. + +* Thu Sep 02 2021 Dmitry V. Levin <ldv@strace.io> - 5.14-1 +- v5.13 -> v5.14. + * Sun Jul 18 2021 Dmitry V. Levin <ldv@strace.io> - 5.13-1 - v5.12 -> v5.13.
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/COPYING -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/COPYING
Changed
@@ -1,4 +1,4 @@ -Copyright (c) 2011-2021 The strace developers. +Copyright (c) 2011-2022 The strace developers. All rights reserved. strace test suite is free software; you can redistribute it and/or modify
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/Makefile.am
Changed
@@ -1,7 +1,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,7 +11,9 @@ ARCH = @arch_m32@ KARCH = @karch_m32@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_KERNEL_LONG_T = 4 +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ SIZEOF_LONG = 4 MPERS_NAME = m32 MPERS_CC_FLAGS = @CFLAGS_FOR_M32@ @cc_flags_m32@ @@ -31,8 +33,11 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) if HAVE_M32_SELINUX_RUNTIME @@ -42,6 +47,7 @@ endif libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -88,7 +94,7 @@ # end of libtests_a_SOURCES libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} include pure_executables.am @@ -98,6 +104,10 @@ $(secontext_EXECUTABLES) \ _newselect-P \ answer \ + arch_prctl-success \ + arch_prctl-success-Xabbrev \ + arch_prctl-success-Xraw \ + arch_prctl-success-Xverbose \ attach-f-p \ attach-f-p-cmd \ attach-p-cmd-cmd \ @@ -150,6 +160,10 @@ gettid--pidns-translation \ inject-nf \ int_0x80 \ + io_uring_register-success \ + io_uring_register-success-Xabbrev \ + io_uring_register-success-Xraw \ + io_uring_register-success-Xverbose \ ioctl_block--pidns-translation \ ioctl_dm-v \ ioctl_evdev-success \ @@ -188,13 +202,38 @@ ioctl_hdio-success-v-Xabbrev \ ioctl_hdio-success-v-Xraw \ ioctl_hdio-success-v-Xverbose \ + ioctl_kd-success \ + ioctl_kd-success-Xabbrev \ + ioctl_kd-success-Xraw \ + ioctl_kd-success-Xverbose \ + ioctl_kd-success-s1024 \ + ioctl_kd-success-s1024-Xabbrev \ + ioctl_kd-success-s1024-Xraw \ + ioctl_kd-success-s1024-Xverbose \ + ioctl_lirc-success \ ioctl_loop-nv \ ioctl_loop-v \ ioctl_mtd-success \ ioctl_nsfs \ ioctl_perf-success \ + ioctl_ptp-success \ + ioctl_ptp-success-Xabbrev \ + ioctl_ptp-success-Xraw \ + ioctl_ptp-success-Xverbose \ ioctl_rtc-success \ ioctl_rtc-v \ + ioctl_seccomp \ + ioctl_seccomp--pidns-translation \ + ioctl_seccomp-success \ + ioctl_seccomp-y \ + ioctl_seccomp-y-success \ + ioctl_seccomp-y-success--pidns-translation \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev \ + ioctl_seccomp-y-success--pidns-translation-Xraw \ + ioctl_seccomp-y-success--pidns-translation-Xverbose \ + ioctl_seccomp-y-success-Xabbrev \ + ioctl_seccomp-y-success-Xraw \ + ioctl_seccomp-y-success-Xverbose \ ioctl_ubi-success \ ioctl_v4l2-success \ ioctl_v4l2-success-Xabbrev \ @@ -254,13 +293,13 @@ prctl-sched-core--pidns-translation-Xraw \ prctl-sched-core--pidns-translation-Xverbose \ prctl-sched-core-success \ - prctl-sched-core-success-Xabbrev \ - prctl-sched-core-success-Xraw \ - prctl-sched-core-success-Xverbose \ prctl-sched-core-success--pidns-translation \ prctl-sched-core-success--pidns-translation-Xabbrev \ prctl-sched-core-success--pidns-translation-Xraw \ prctl-sched-core-success--pidns-translation-Xverbose \ + prctl-sched-core-success-Xabbrev \ + prctl-sched-core-success-Xraw \ + prctl-sched-core-success-Xverbose \ prctl-seccomp-filter-v \ prctl-seccomp-strict \ prctl-securebits-success \ @@ -268,14 +307,22 @@ prctl-securebits-success-Xraw \ prctl-securebits-success-Xverbose \ prctl-set-ptracer-success \ - prctl-set-ptracer-success-Xabbrev \ - prctl-set-ptracer-success-Xraw \ - prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success--pidns-translation \ + prctl-set-ptracer-success-Xabbrev \ prctl-set-ptracer-success-Xabbrev--pidns-translation \ + prctl-set-ptracer-success-Xraw \ prctl-set-ptracer-success-Xraw--pidns-translation \ + prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success-Xverbose--pidns-translation \ + prctl-sme-success \ + prctl-sme-success-Xabbrev \ + prctl-sme-success-Xraw \ + prctl-sme-success-Xverbose \ prctl-spec-inject \ + prctl-sve-success \ + prctl-sve-success-Xabbrev \ + prctl-sve-success-Xraw \ + prctl-sve-success-Xverbose \ prctl-tagged-addr-success \ prctl-tagged-addr-success-Xabbrev \ prctl-tagged-addr-success-Xraw \ @@ -310,6 +357,9 @@ scm_rights \ seccomp-filter-v \ seccomp-strict \ + seccomp_get_notif_sizes-success \ + segv_accerr \ + segv_pkuerr \ select-P \ set_ptracer_any \ set_sigblock \ @@ -319,11 +369,19 @@ signal_receive--pidns-translation \ sleep \ so_peercred--pidns-translation \ + sockopt-sol_socket-success \ + sockopt-sol_socket-success-Xabbrev \ + sockopt-sol_socket-success-Xraw \ + sockopt-sol_socket-success-Xverbose \ stack-fcall \ stack-fcall-attach \ stack-fcall-mangled \ status-none-threads \ status-unfinished-threads \ + strace--decode-pids-comm \ + strace-Y-0123456789 \ + strace-p-Y-p2 \ + strace-p1-Y-p \ syslog-success \ tgkill--pidns-translation \ threads-execve \ @@ -339,6 +397,7 @@ unix-pair-sendto-recvfrom \ vfork-f \ wait4-v \ + waitid-Y \ waitid-v \ xet_robust_list--pidns-translation \ xetpgid--pidns-translation \ @@ -347,6 +406,10 @@ # end of check_PROGRAMS attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -364,6 +427,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -379,6 +443,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -535,6 +602,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -543,11 +612,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -580,6 +650,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -587,6 +658,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -612,11 +684,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -627,6 +701,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -657,12 +732,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -672,8 +748,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -681,9 +760,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/Makefile.in
Changed
@@ -17,7 +17,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -108,10 +108,13 @@ @USE_BUNDLED_HEADERS_TRUE@ -I$(top_srcdir)/bundled/$(OS)/include/uapi check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) _newselect-P$(EXEEXT) \ - answer$(EXEEXT) attach-f-p$(EXEEXT) attach-f-p-cmd$(EXEEXT) \ - attach-p-cmd-cmd$(EXEEXT) attach-p-cmd-p$(EXEEXT) \ - block_reset_raise_run$(EXEEXT) block_reset_run$(EXEEXT) \ - bpf-obj_get_info_by_fd$(EXEEXT) \ + answer$(EXEEXT) arch_prctl-success$(EXEEXT) \ + arch_prctl-success-Xabbrev$(EXEEXT) \ + arch_prctl-success-Xraw$(EXEEXT) \ + arch_prctl-success-Xverbose$(EXEEXT) attach-f-p$(EXEEXT) \ + attach-f-p-cmd$(EXEEXT) attach-p-cmd-cmd$(EXEEXT) \ + attach-p-cmd-p$(EXEEXT) block_reset_raise_run$(EXEEXT) \ + block_reset_run$(EXEEXT) bpf-obj_get_info_by_fd$(EXEEXT) \ bpf-obj_get_info_by_fd-prog$(EXEEXT) \ bpf-obj_get_info_by_fd-prog-v$(EXEEXT) \ bpf-obj_get_info_by_fd-v$(EXEEXT) bpf-success$(EXEEXT) \ @@ -135,8 +138,12 @@ getpid--pidns-translation$(EXEEXT) getppid$(EXEEXT) \ getsid--pidns-translation$(EXEEXT) gettid$(EXEEXT) \ gettid--pidns-translation$(EXEEXT) inject-nf$(EXEEXT) \ - int_0x80$(EXEEXT) ioctl_block--pidns-translation$(EXEEXT) \ - ioctl_dm-v$(EXEEXT) ioctl_evdev-success$(EXEEXT) \ + int_0x80$(EXEEXT) io_uring_register-success$(EXEEXT) \ + io_uring_register-success-Xabbrev$(EXEEXT) \ + io_uring_register-success-Xraw$(EXEEXT) \ + io_uring_register-success-Xverbose$(EXEEXT) \ + ioctl_block--pidns-translation$(EXEEXT) ioctl_dm-v$(EXEEXT) \ + ioctl_evdev-success$(EXEEXT) \ ioctl_evdev-success-Xabbrev$(EXEEXT) \ ioctl_evdev-success-Xraw$(EXEEXT) \ ioctl_evdev-success-Xverbose$(EXEEXT) \ @@ -171,10 +178,31 @@ ioctl_hdio-success-v$(EXEEXT) \ ioctl_hdio-success-v-Xabbrev$(EXEEXT) \ ioctl_hdio-success-v-Xraw$(EXEEXT) \ - ioctl_hdio-success-v-Xverbose$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ + ioctl_hdio-success-v-Xverbose$(EXEEXT) \ + ioctl_kd-success$(EXEEXT) ioctl_kd-success-Xabbrev$(EXEEXT) \ + ioctl_kd-success-Xraw$(EXEEXT) \ + ioctl_kd-success-Xverbose$(EXEEXT) \ + ioctl_kd-success-s1024$(EXEEXT) \ + ioctl_kd-success-s1024-Xabbrev$(EXEEXT) \ + ioctl_kd-success-s1024-Xraw$(EXEEXT) \ + ioctl_kd-success-s1024-Xverbose$(EXEEXT) \ + ioctl_lirc-success$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ ioctl_loop-v$(EXEEXT) ioctl_mtd-success$(EXEEXT) \ ioctl_nsfs$(EXEEXT) ioctl_perf-success$(EXEEXT) \ - ioctl_rtc-success$(EXEEXT) ioctl_rtc-v$(EXEEXT) \ + ioctl_ptp-success$(EXEEXT) ioctl_ptp-success-Xabbrev$(EXEEXT) \ + ioctl_ptp-success-Xraw$(EXEEXT) \ + ioctl_ptp-success-Xverbose$(EXEEXT) ioctl_rtc-success$(EXEEXT) \ + ioctl_rtc-v$(EXEEXT) ioctl_seccomp$(EXEEXT) \ + ioctl_seccomp--pidns-translation$(EXEEXT) \ + ioctl_seccomp-success$(EXEEXT) ioctl_seccomp-y$(EXEEXT) \ + ioctl_seccomp-y-success$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) \ + ioctl_seccomp-y-success-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success-Xverbose$(EXEEXT) \ ioctl_ubi-success$(EXEEXT) ioctl_v4l2-success$(EXEEXT) \ ioctl_v4l2-success-Xabbrev$(EXEEXT) \ ioctl_v4l2-success-Xraw$(EXEEXT) \ @@ -216,27 +244,33 @@ prctl-sched-core--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core--pidns-translation-Xverbose$(EXEEXT) \ prctl-sched-core-success$(EXEEXT) \ - prctl-sched-core-success-Xabbrev$(EXEEXT) \ - prctl-sched-core-success-Xraw$(EXEEXT) \ - prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-sched-core-success--pidns-translation$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xabbrev$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xverbose$(EXEEXT) \ + prctl-sched-core-success-Xabbrev$(EXEEXT) \ + prctl-sched-core-success-Xraw$(EXEEXT) \ + prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-seccomp-filter-v$(EXEEXT) prctl-seccomp-strict$(EXEEXT) \ prctl-securebits-success$(EXEEXT) \ prctl-securebits-success-Xabbrev$(EXEEXT) \ prctl-securebits-success-Xraw$(EXEEXT) \ prctl-securebits-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success$(EXEEXT) \ - prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ - prctl-set-ptracer-success-Xraw$(EXEEXT) \ - prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ prctl-set-ptracer-success-Xabbrev--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xraw$(EXEEXT) \ prctl-set-ptracer-success-Xraw--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) \ - prctl-spec-inject$(EXEEXT) prctl-tagged-addr-success$(EXEEXT) \ + prctl-sme-success$(EXEEXT) prctl-sme-success-Xabbrev$(EXEEXT) \ + prctl-sme-success-Xraw$(EXEEXT) \ + prctl-sme-success-Xverbose$(EXEEXT) prctl-spec-inject$(EXEEXT) \ + prctl-sve-success$(EXEEXT) prctl-sve-success-Xabbrev$(EXEEXT) \ + prctl-sve-success-Xraw$(EXEEXT) \ + prctl-sve-success-Xverbose$(EXEEXT) \ + prctl-tagged-addr-success$(EXEEXT) \ prctl-tagged-addr-success-Xabbrev$(EXEEXT) \ prctl-tagged-addr-success-Xraw$(EXEEXT) \ prctl-tagged-addr-success-Xverbose$(EXEEXT) \ @@ -261,23 +295,32 @@ sched_xetparam--pidns-translation$(EXEEXT) \ sched_xetscheduler--pidns-translation$(EXEEXT) \ scm_rights$(EXEEXT) seccomp-filter-v$(EXEEXT) \ - seccomp-strict$(EXEEXT) select-P$(EXEEXT) \ + seccomp-strict$(EXEEXT) \ + seccomp_get_notif_sizes-success$(EXEEXT) segv_accerr$(EXEEXT) \ + segv_pkuerr$(EXEEXT) select-P$(EXEEXT) \ set_ptracer_any$(EXEEXT) set_sigblock$(EXEEXT) \ set_sigign$(EXEEXT) setpgrp-exec$(EXEEXT) \ signal_receive$(EXEEXT) \ signal_receive--pidns-translation$(EXEEXT) sleep$(EXEEXT) \ - so_peercred--pidns-translation$(EXEEXT) stack-fcall$(EXEEXT) \ - stack-fcall-attach$(EXEEXT) stack-fcall-mangled$(EXEEXT) \ - status-none-threads$(EXEEXT) \ - status-unfinished-threads$(EXEEXT) syslog-success$(EXEEXT) \ - tgkill--pidns-translation$(EXEEXT) threads-execve$(EXEEXT) \ + so_peercred--pidns-translation$(EXEEXT) \ + sockopt-sol_socket-success$(EXEEXT) \ + sockopt-sol_socket-success-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-success-Xraw$(EXEEXT) \ + sockopt-sol_socket-success-Xverbose$(EXEEXT) \ + stack-fcall$(EXEEXT) stack-fcall-attach$(EXEEXT) \ + stack-fcall-mangled$(EXEEXT) status-none-threads$(EXEEXT) \ + status-unfinished-threads$(EXEEXT) \ + strace--decode-pids-comm$(EXEEXT) strace-Y-0123456789$(EXEEXT) \ + strace-p-Y-p2$(EXEEXT) strace-p1-Y-p$(EXEEXT) \ + syslog-success$(EXEEXT) tgkill--pidns-translation$(EXEEXT) \ + threads-execve$(EXEEXT) \ threads-execve--quiet-thread-execve$(EXEEXT) \ threads-execve-q$(EXEEXT) threads-execve-qq$(EXEEXT) \ threads-execve-qqq$(EXEEXT) tkill--pidns-translation$(EXEEXT) \ tracer_ppid_pgid_sid$(EXEEXT) trie_test$(EXEEXT) \ unblock_reset_raise$(EXEEXT) unix-pair-send-recv$(EXEEXT) \ unix-pair-sendto-recvfrom$(EXEEXT) vfork-f$(EXEEXT) \ - wait4-v$(EXEEXT) waitid-v$(EXEEXT) \ + wait4-v$(EXEEXT) waitid-Y$(EXEEXT) waitid-v$(EXEEXT) \ xet_robust_list--pidns-translation$(EXEEXT) \ xetpgid--pidns-translation$(EXEEXT) \ xetpriority--pidns-translation$(EXEEXT) zeroargc$(EXEEXT) @@ -285,25 +328,18 @@ TESTS = $(GEN_TESTS) $(DECODER_TESTS) $(MISC_TESTS) $(am__EXEEXT_3) subdir = tests-m32 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -322,16 +358,19 @@ am__EXEEXT_1 = _newselect$(EXEEXT) accept$(EXEEXT) accept4$(EXEEXT) \ access$(EXEEXT) acct$(EXEEXT) add_key$(EXEEXT) \ adjtimex$(EXEEXT) aio$(EXEEXT) aio_pgetevents$(EXEEXT) \ - alarm$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) brk$(EXEEXT) \ - btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) chmod$(EXEEXT) \ - chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ + alarm$(EXEEXT) arch_prctl$(EXEEXT) arch_prctl-Xabbrev$(EXEEXT) \ + arch_prctl-Xraw$(EXEEXT) arch_prctl-Xverbose$(EXEEXT) \ + at_fdcwd-pathmax$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) \ + brk$(EXEEXT) btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) \ + chmod$(EXEEXT) chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ clock_adjtime$(EXEEXT) clock_adjtime64$(EXEEXT) \ clock_nanosleep$(EXEEXT) clock_xettime$(EXEEXT) \ clock_xettime64$(EXEEXT) clone-flags$(EXEEXT) clone3$(EXEEXT) \ clone3-Xabbrev$(EXEEXT) clone3-Xraw$(EXEEXT) \ clone3-Xverbose$(EXEEXT) copy_file_range$(EXEEXT) \ creat$(EXEEXT) delete_module$(EXEEXT) \ - dev--decode-fds-dev$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ + dev--decode-fds-all$(EXEEXT) dev--decode-fds-dev$(EXEEXT) \ + dev--decode-fds-none$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ dev--decode-fds-socket$(EXEEXT) dev-yy$(EXEEXT) dup$(EXEEXT) \ dup-P$(EXEEXT) dup-y$(EXEEXT) dup-yy$(EXEEXT) dup2$(EXEEXT) \ dup2-P$(EXEEXT) dup2-y$(EXEEXT) dup2-yy$(EXEEXT) dup3$(EXEEXT) \ @@ -360,58 +399,67 @@ fstat64-Xabbrev$(EXEEXT) fstat64-Xraw$(EXEEXT) \ fstat64-Xverbose$(EXEEXT) fstatat64$(EXEEXT) fstatfs$(EXEEXT) \ fstatfs64$(EXEEXT) fsync$(EXEEXT) ftruncate$(EXEEXT) \ - ftruncate64$(EXEEXT) futex$(EXEEXT) futimesat$(EXEEXT) \ - get_mempolicy$(EXEEXT) getcpu$(EXEEXT) getcwd$(EXEEXT) \ - getdents$(EXEEXT) getdents-v$(EXEEXT) getdents64$(EXEEXT) \ - getdents64-v$(EXEEXT) getegid$(EXEEXT) getegid32$(EXEEXT) \ - geteuid$(EXEEXT) geteuid32$(EXEEXT) getgid$(EXEEXT) \ - getgid32$(EXEEXT) getgroups$(EXEEXT) getgroups32$(EXEEXT) \ - getpeername$(EXEEXT) getpgrp$(EXEEXT) getpid$(EXEEXT) \ - getppid$(EXEEXT) getrandom$(EXEEXT) getresgid$(EXEEXT) \ - getresgid32$(EXEEXT) getresuid$(EXEEXT) getresuid32$(EXEEXT) \ - getrlimit$(EXEEXT) getrusage$(EXEEXT) getsid$(EXEEXT) \ - getsockname$(EXEEXT) getuid$(EXEEXT) getuid32$(EXEEXT) \ - getxgid$(EXEEXT) getxpid$(EXEEXT) getxuid$(EXEEXT) \ - group_req$(EXEEXT) inet-cmsg$(EXEEXT) init_module$(EXEEXT) \ - inotify$(EXEEXT) inotify_init$(EXEEXT) inotify_init-y$(EXEEXT) \ - inotify_init1$(EXEEXT) inotify_init1-y$(EXEEXT) \ - io_uring_enter$(EXEEXT) io_uring_register$(EXEEXT) \ - io_uring_setup$(EXEEXT) ioctl$(EXEEXT) ioctl_block$(EXEEXT) \ - ioctl_dm$(EXEEXT) ioctl_evdev$(EXEEXT) \ - ioctl_evdev-Xabbrev$(EXEEXT) ioctl_evdev-Xraw$(EXEEXT) \ - ioctl_evdev-Xverbose$(EXEEXT) ioctl_evdev-v$(EXEEXT) \ - ioctl_evdev-v-Xabbrev$(EXEEXT) ioctl_evdev-v-Xraw$(EXEEXT) \ - ioctl_evdev-v-Xverbose$(EXEEXT) ioctl_fiemap$(EXEEXT) \ - ioctl_fiemap-Xabbrev$(EXEEXT) ioctl_fiemap-Xraw$(EXEEXT) \ - ioctl_fiemap-Xverbose$(EXEEXT) ioctl_fs_f$(EXEEXT) \ - ioctl_fs_f-Xabbrev$(EXEEXT) ioctl_fs_f-Xraw$(EXEEXT) \ - ioctl_fs_f-Xverbose$(EXEEXT) ioctl_fs_x$(EXEEXT) \ - ioctl_fs_x-Xabbrev$(EXEEXT) ioctl_fs_x-Xraw$(EXEEXT) \ - ioctl_fs_x-Xverbose$(EXEEXT) ioctl_gpio$(EXEEXT) \ - ioctl_gpio-Xabbrev$(EXEEXT) ioctl_gpio-Xraw$(EXEEXT) \ - ioctl_gpio-Xverbose$(EXEEXT) ioctl_gpio-v$(EXEEXT) \ - ioctl_gpio-v-Xabbrev$(EXEEXT) ioctl_gpio-v-Xraw$(EXEEXT) \ - ioctl_gpio-v-Xverbose$(EXEEXT) ioctl_hdio$(EXEEXT) \ - ioctl_hdio-Xabbrev$(EXEEXT) ioctl_hdio-Xraw$(EXEEXT) \ - ioctl_hdio-Xverbose$(EXEEXT) ioctl_hdio-v$(EXEEXT) \ - ioctl_hdio-v-Xabbrev$(EXEEXT) ioctl_hdio-v-Xraw$(EXEEXT) \ - ioctl_hdio-v-Xverbose$(EXEEXT) ioctl_inotify$(EXEEXT) \ - ioctl_kvm_run$(EXEEXT) ioctl_kvm_run-v$(EXEEXT) \ - ioctl_kvm_run_auxstr_vcpu$(EXEEXT) ioctl_loop$(EXEEXT) \ - ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) ioctl_perf$(EXEEXT) \ - ioctl_ptp$(EXEEXT) ioctl_random$(EXEEXT) ioctl_rtc$(EXEEXT) \ - ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ + ftruncate64$(EXEEXT) futex$(EXEEXT) futex_waitv$(EXEEXT) \ + futimesat$(EXEEXT) get_mempolicy$(EXEEXT) getcpu$(EXEEXT) \ + getcwd$(EXEEXT) getdents$(EXEEXT) getdents-v$(EXEEXT) \ + getdents64$(EXEEXT) getdents64-v$(EXEEXT) getegid$(EXEEXT) \ + getegid32$(EXEEXT) geteuid$(EXEEXT) geteuid32$(EXEEXT) \ + getgid$(EXEEXT) getgid32$(EXEEXT) getgroups$(EXEEXT) \ + getgroups32$(EXEEXT) getpeername$(EXEEXT) getpgrp$(EXEEXT) \ + getpid$(EXEEXT) getppid$(EXEEXT) getrandom$(EXEEXT) \ + getresgid$(EXEEXT) getresgid32$(EXEEXT) getresuid$(EXEEXT) \ + getresuid32$(EXEEXT) getrlimit$(EXEEXT) getrusage$(EXEEXT) \ + getsid$(EXEEXT) getsockname$(EXEEXT) getuid$(EXEEXT) \ + getuid32$(EXEEXT) getxgid$(EXEEXT) getxpid$(EXEEXT) \ + getxuid$(EXEEXT) group_req$(EXEEXT) inet-cmsg$(EXEEXT) \ + init_module$(EXEEXT) inotify$(EXEEXT) inotify_init$(EXEEXT) \ + inotify_init-y$(EXEEXT) inotify_init1$(EXEEXT) \ + inotify_init1-y$(EXEEXT) io_uring_enter$(EXEEXT) \ + io_uring_register$(EXEEXT) io_uring_register-Xabbrev$(EXEEXT) \ + io_uring_register-Xraw$(EXEEXT) \ + io_uring_register-Xverbose$(EXEEXT) io_uring_setup$(EXEEXT) \ + ioctl$(EXEEXT) ioctl_block$(EXEEXT) ioctl_counter$(EXEEXT) \ + ioctl_counter-Xabbrev$(EXEEXT) ioctl_counter-Xraw$(EXEEXT) \ + ioctl_counter-Xverbose$(EXEEXT) ioctl_dm$(EXEEXT) \ + ioctl_evdev$(EXEEXT) ioctl_evdev-Xabbrev$(EXEEXT) \ + ioctl_evdev-Xraw$(EXEEXT) ioctl_evdev-Xverbose$(EXEEXT) \ + ioctl_evdev-v$(EXEEXT) ioctl_evdev-v-Xabbrev$(EXEEXT) \ + ioctl_evdev-v-Xraw$(EXEEXT) ioctl_evdev-v-Xverbose$(EXEEXT) \ + ioctl_fiemap$(EXEEXT) ioctl_fiemap-Xabbrev$(EXEEXT) \ + ioctl_fiemap-Xraw$(EXEEXT) ioctl_fiemap-Xverbose$(EXEEXT) \ + ioctl_fs_f$(EXEEXT) ioctl_fs_f-Xabbrev$(EXEEXT) \ + ioctl_fs_f-Xraw$(EXEEXT) ioctl_fs_f-Xverbose$(EXEEXT) \ + ioctl_fs_x$(EXEEXT) ioctl_fs_x-Xabbrev$(EXEEXT) \ + ioctl_fs_x-Xraw$(EXEEXT) ioctl_fs_x-Xverbose$(EXEEXT) \ + ioctl_gpio$(EXEEXT) ioctl_gpio-Xabbrev$(EXEEXT) \ + ioctl_gpio-Xraw$(EXEEXT) ioctl_gpio-Xverbose$(EXEEXT) \ + ioctl_gpio-v$(EXEEXT) ioctl_gpio-v-Xabbrev$(EXEEXT) \ + ioctl_gpio-v-Xraw$(EXEEXT) ioctl_gpio-v-Xverbose$(EXEEXT) \ + ioctl_hdio$(EXEEXT) ioctl_hdio-Xabbrev$(EXEEXT) \ + ioctl_hdio-Xraw$(EXEEXT) ioctl_hdio-Xverbose$(EXEEXT) \ + ioctl_hdio-v$(EXEEXT) ioctl_hdio-v-Xabbrev$(EXEEXT) \ + ioctl_hdio-v-Xraw$(EXEEXT) ioctl_hdio-v-Xverbose$(EXEEXT) \ + ioctl_inotify$(EXEEXT) ioctl_lirc$(EXEEXT) ioctl_kd$(EXEEXT) \ + ioctl_kd-Xabbrev$(EXEEXT) ioctl_kd-Xraw$(EXEEXT) \ + ioctl_kd-Xverbose$(EXEEXT) ioctl_kvm_run$(EXEEXT) \ + ioctl_kvm_run-v$(EXEEXT) ioctl_kvm_run_auxstr_vcpu$(EXEEXT) \ + ioctl_loop$(EXEEXT) ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) \ + ioctl_perf$(EXEEXT) ioctl_ptp$(EXEEXT) \ + ioctl_ptp-Xabbrev$(EXEEXT) ioctl_ptp-Xraw$(EXEEXT) \ + ioctl_ptp-Xverbose$(EXEEXT) ioctl_random$(EXEEXT) \ + ioctl_rtc$(EXEEXT) ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ ioctl_sg_io_v4$(EXEEXT) ioctl_sock$(EXEEXT) \ ioctl_sock_gifconf$(EXEEXT) ioctl_tee$(EXEEXT) \ - ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) ioctl_v4l2$(EXEEXT) \ - ioctl_v4l2-Xabbrev$(EXEEXT) ioctl_v4l2-Xraw$(EXEEXT) \ - ioctl_v4l2-Xverbose$(EXEEXT) ioctl_v4l2-v$(EXEEXT) \ - ioctl_v4l2-v-Xabbrev$(EXEEXT) ioctl_v4l2-v-Xraw$(EXEEXT) \ - ioctl_v4l2-v-Xverbose$(EXEEXT) ioctl_watchdog$(EXEEXT) \ - ioperm$(EXEEXT) iopl$(EXEEXT) ioprio$(EXEEXT) \ - ioprio-Xabbrev$(EXEEXT) ioprio-Xraw$(EXEEXT) \ - ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) ipc$(EXEEXT) \ - ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ + ioctl_termios$(EXEEXT) ioctl_termios-v$(EXEEXT) \ + ioctl_tiocm$(EXEEXT) ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) \ + ioctl_v4l2$(EXEEXT) ioctl_v4l2-Xabbrev$(EXEEXT) \ + ioctl_v4l2-Xraw$(EXEEXT) ioctl_v4l2-Xverbose$(EXEEXT) \ + ioctl_v4l2-v$(EXEEXT) ioctl_v4l2-v-Xabbrev$(EXEEXT) \ + ioctl_v4l2-v-Xraw$(EXEEXT) ioctl_v4l2-v-Xverbose$(EXEEXT) \ + ioctl_watchdog$(EXEEXT) ioctl_winsize$(EXEEXT) ioperm$(EXEEXT) \ + iopl$(EXEEXT) ioprio$(EXEEXT) ioprio-Xabbrev$(EXEEXT) \ + ioprio-Xraw$(EXEEXT) ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) \ + ipc$(EXEEXT) ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ ipc_msg-Xraw$(EXEEXT) ipc_msg-Xverbose$(EXEEXT) \ ipc_msgbuf$(EXEEXT) ipc_msgbuf-Xabbrev$(EXEEXT) \ ipc_msgbuf-Xraw$(EXEEXT) ipc_msgbuf-Xverbose$(EXEEXT) \ @@ -453,7 +501,8 @@ move_pages-Xverbose$(EXEEXT) mq$(EXEEXT) mq_sendrecv$(EXEEXT) \ mq_sendrecv-read$(EXEEXT) mq_sendrecv-write$(EXEEXT) \ msg_control$(EXEEXT) msg_name$(EXEEXT) munlockall$(EXEEXT) \ - nanosleep$(EXEEXT) net--decode-fds-dev-netlink$(EXEEXT) \ + nanosleep$(EXEEXT) net--decode-fds-all-netlink$(EXEEXT) \ + net--decode-fds-dev-netlink$(EXEEXT) \ net--decode-fds-none-netlink$(EXEEXT) \ net--decode-fds-path-netlink$(EXEEXT) \ net--decode-fds-socket-netlink$(EXEEXT) \ @@ -475,19 +524,38 @@ nfnetlink_nftables$(EXEEXT) nfnetlink_osf$(EXEEXT) \ nfnetlink_queue$(EXEEXT) nfnetlink_ulog$(EXEEXT) \ nlattr$(EXEEXT) nlattr_br_port_msg$(EXEEXT) \ + nlattr_cachereport$(EXEEXT) \ + nlattr_cachereport-Xabbrev$(EXEEXT) \ + nlattr_cachereport-Xraw$(EXEEXT) \ + nlattr_cachereport-Xverbose$(EXEEXT) \ nlattr_crypto_user_alg$(EXEEXT) nlattr_dcbmsg$(EXEEXT) \ nlattr_fib_rule_hdr$(EXEEXT) nlattr_ifaddrlblmsg$(EXEEXT) \ nlattr_ifaddrmsg$(EXEEXT) nlattr_ifinfomsg$(EXEEXT) \ nlattr_ifla_af_spec$(EXEEXT) nlattr_ifla_brport$(EXEEXT) \ + nlattr_ifla_brport-Xabbrev$(EXEEXT) \ + nlattr_ifla_brport-Xraw$(EXEEXT) \ + nlattr_ifla_brport-Xverbose$(EXEEXT) \ nlattr_ifla_linkinfo$(EXEEXT) nlattr_ifla_port$(EXEEXT) \ + nlattr_ifla_protinfo$(EXEEXT) \ + nlattr_ifla_protinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_protinfo-Xraw$(EXEEXT) \ + nlattr_ifla_protinfo-Xverbose$(EXEEXT) \ nlattr_ifla_proto_down_reason$(EXEEXT) \ - nlattr_ifla_xdp$(EXEEXT) nlattr_inet_diag_msg$(EXEEXT) \ + nlattr_ifla_vfinfo$(EXEEXT) \ + nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_vfinfo-Xraw$(EXEEXT) \ + nlattr_ifla_vfinfo-Xverbose$(EXEEXT) nlattr_ifla_xdp$(EXEEXT) \ + nlattr_ifstats$(EXEEXT) nlattr_ifstats-Xabbrev$(EXEEXT) \ + nlattr_ifstats-Xraw$(EXEEXT) nlattr_ifstats-Xverbose$(EXEEXT) \ + nlattr_inet_diag_msg$(EXEEXT) \ nlattr_inet_diag_req_compat$(EXEEXT) \ nlattr_inet_diag_req_v2$(EXEEXT) \ nlattr_mdba_mdb_entry$(EXEEXT) \ nlattr_mdba_router_port$(EXEEXT) nlattr_ndmsg$(EXEEXT) \ nlattr_ndtmsg$(EXEEXT) nlattr_netconfmsg$(EXEEXT) \ - nlattr_netlink_diag_msg$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ + nlattr_netlink_diag_msg$(EXEEXT) nlattr_nhmsg$(EXEEXT) \ + nlattr_nhmsg-Xabbrev$(EXEEXT) nlattr_nhmsg-Xraw$(EXEEXT) \ + nlattr_nhmsg-Xverbose$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ nlattr_packet_diag_msg$(EXEEXT) nlattr_rtgenmsg$(EXEEXT) \ nlattr_rtmsg$(EXEEXT) nlattr_smc_diag_msg$(EXEEXT) \ nlattr_tc_stats$(EXEEXT) nlattr_tca_stab$(EXEEXT) \ @@ -508,6 +576,8 @@ personality-Xraw$(EXEEXT) personality-Xverbose$(EXEEXT) \ pidfd_getfd$(EXEEXT) pidfd_getfd-y$(EXEEXT) \ pidfd_getfd-yy$(EXEEXT) pidfd_open$(EXEEXT) \ + pidfd_open--decode-fd-all$(EXEEXT) \ + pidfd_open--decode-fd-none$(EXEEXT) \ pidfd_open--decode-fd-path$(EXEEXT) \ pidfd_open--decode-fd-pidfd$(EXEEXT) \ pidfd_open--decode-fd-socket$(EXEEXT) pidfd_open-P$(EXEEXT) \ @@ -527,7 +597,12 @@ prctl-sched-core$(EXEEXT) prctl-sched-core-Xabbrev$(EXEEXT) \ prctl-sched-core-Xraw$(EXEEXT) \ prctl-sched-core-Xverbose$(EXEEXT) prctl-securebits$(EXEEXT) \ - prctl-sve$(EXEEXT) prctl-syscall-user-dispatch$(EXEEXT) \ + prctl-set_vma$(EXEEXT) prctl-sme$(EXEEXT) \ + prctl-sme-Xabbrev$(EXEEXT) prctl-sme-Xraw$(EXEEXT) \ + prctl-sme-Xverbose$(EXEEXT) prctl-sve$(EXEEXT) \ + prctl-sve-Xabbrev$(EXEEXT) prctl-sve-Xraw$(EXEEXT) \ + prctl-sve-Xverbose$(EXEEXT) \ + prctl-syscall-user-dispatch$(EXEEXT) \ prctl-tagged-addr$(EXEEXT) prctl-tagged-addr-Xabbrev$(EXEEXT) \ prctl-tagged-addr-Xraw$(EXEEXT) \ prctl-tagged-addr-Xverbose$(EXEEXT) prctl-tid_address$(EXEEXT) \ @@ -542,10 +617,17 @@ printstrn-umoven$(EXEEXT) printstrn-umoven-peekdata$(EXEEXT) \ printstrn-umoven-undumpable$(EXEEXT) prlimit64$(EXEEXT) \ process_madvise$(EXEEXT) process_madvise-y$(EXEEXT) \ - process_madvise-yy$(EXEEXT) process_vm_readv$(EXEEXT) \ + process_madvise-yy$(EXEEXT) process_mrelease$(EXEEXT) \ + process_mrelease-y$(EXEEXT) process_vm_readv$(EXEEXT) \ process_vm_writev$(EXEEXT) pselect6$(EXEEXT) \ pselect6_time64$(EXEEXT) ptrace$(EXEEXT) \ - ptrace_syscall_info$(EXEEXT) pwritev$(EXEEXT) \ + ptrace-Xabbrev$(EXEEXT) ptrace-Xraw$(EXEEXT) \ + ptrace-Xverbose$(EXEEXT) ptrace-y$(EXEEXT) \ + ptrace-y-Xabbrev$(EXEEXT) ptrace-y-Xraw$(EXEEXT) \ + ptrace-y-Xverbose$(EXEEXT) ptrace_syscall_info$(EXEEXT) \ + ptrace_syscall_info-Xabbrev$(EXEEXT) \ + ptrace_syscall_info-Xraw$(EXEEXT) \ + ptrace_syscall_info-Xverbose$(EXEEXT) pwritev$(EXEEXT) \ quotactl$(EXEEXT) quotactl-Xabbrev$(EXEEXT) \ quotactl-Xraw$(EXEEXT) quotactl-Xverbose$(EXEEXT) \ quotactl-xfs$(EXEEXT) quotactl_fd$(EXEEXT) \ @@ -571,12 +653,14 @@ sched_xetaffinity$(EXEEXT) sched_xetattr$(EXEEXT) \ sched_xetparam$(EXEEXT) sched_xetscheduler$(EXEEXT) \ sched_yield$(EXEEXT) seccomp-filter$(EXEEXT) \ - seccomp_get_action_avail$(EXEEXT) select$(EXEEXT) \ + seccomp_get_action_avail$(EXEEXT) \ + seccomp_get_notif_sizes$(EXEEXT) select$(EXEEXT) \ semop$(EXEEXT) semop-indirect$(EXEEXT) semtimedop$(EXEEXT) \ semtimedop-ipc$(EXEEXT) semtimedop_time64$(EXEEXT) \ sendfile$(EXEEXT) sendfile64$(EXEEXT) set_mempolicy$(EXEEXT) \ set_mempolicy-Xabbrev$(EXEEXT) set_mempolicy-Xraw$(EXEEXT) \ - set_mempolicy-Xverbose$(EXEEXT) setdomainname$(EXEEXT) \ + set_mempolicy-Xverbose$(EXEEXT) \ + set_mempolicy_home_node$(EXEEXT) setdomainname$(EXEEXT) \ setfsgid$(EXEEXT) setfsgid32$(EXEEXT) setfsuid$(EXEEXT) \ setfsuid32$(EXEEXT) setgid$(EXEEXT) setgid32$(EXEEXT) \ setgroups$(EXEEXT) setgroups32$(EXEEXT) sethostname$(EXEEXT) \ @@ -594,34 +678,43 @@ so_peercred-Xraw$(EXEEXT) so_peercred-Xverbose$(EXEEXT) \ sock_filter-v$(EXEEXT) sock_filter-v-Xabbrev$(EXEEXT) \ sock_filter-v-Xraw$(EXEEXT) sock_filter-v-Xverbose$(EXEEXT) \ - sockaddr_xlat-Xabbrev$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ - sockaddr_xlat-Xverbose$(EXEEXT) socketcall$(EXEEXT) \ - sockopt-sol_netlink$(EXEEXT) sockopt-timestamp$(EXEEXT) \ - splice$(EXEEXT) stat$(EXEEXT) stat64$(EXEEXT) statfs$(EXEEXT) \ - statfs64$(EXEEXT) status-all$(EXEEXT) status-failed$(EXEEXT) \ + sockaddr_xlat-Xabbrev$(EXEEXT) \ + sockaddr_xlat-Xabbrev-y$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ + sockaddr_xlat-Xraw-y$(EXEEXT) sockaddr_xlat-Xverbose$(EXEEXT) \ + sockaddr_xlat-Xverbose-y$(EXEEXT) socketcall$(EXEEXT) \ + sockopt-sol_netlink$(EXEEXT) sockopt-sol_socket$(EXEEXT) \ + sockopt-sol_socket-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-Xraw$(EXEEXT) \ + sockopt-sol_socket-Xverbose$(EXEEXT) \ + sockopt-timestamp$(EXEEXT) splice$(EXEEXT) stat$(EXEEXT) \ + stat64$(EXEEXT) statfs$(EXEEXT) statfs64$(EXEEXT) \ + status-all$(EXEEXT) status-failed$(EXEEXT) \ status-failed-long$(EXEEXT) status-failed-status$(EXEEXT) \ status-none$(EXEEXT) status-none-f$(EXEEXT) \ status-successful$(EXEEXT) status-successful-long$(EXEEXT) \ status-successful-status$(EXEEXT) status-unfinished$(EXEEXT) \ statx$(EXEEXT) strace--strings-in-hex$(EXEEXT) \ strace--strings-in-hex-all$(EXEEXT) \ - strace--strings-in-hex-non-ascii$(EXEEXT) strace-n$(EXEEXT) \ - strace-x$(EXEEXT) strace-xx$(EXEEXT) swap$(EXEEXT) \ - sxetmask$(EXEEXT) symlink$(EXEEXT) symlinkat$(EXEEXT) \ - sync$(EXEEXT) sync_file_range$(EXEEXT) \ - sync_file_range2$(EXEEXT) sysinfo$(EXEEXT) syslog$(EXEEXT) \ - tampering-notes$(EXEEXT) tee$(EXEEXT) tgkill$(EXEEXT) \ - time$(EXEEXT) timer_create$(EXEEXT) timer_xettime$(EXEEXT) \ - timerfd_xettime$(EXEEXT) times$(EXEEXT) times-fail$(EXEEXT) \ - tkill$(EXEEXT) truncate$(EXEEXT) truncate64$(EXEEXT) \ - ugetrlimit$(EXEEXT) uio$(EXEEXT) umask$(EXEEXT) \ - umount$(EXEEXT) umount2$(EXEEXT) umoven-illptr$(EXEEXT) \ - umovestr$(EXEEXT) umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) \ - umovestr3$(EXEEXT) umovestr_cached$(EXEEXT) \ - umovestr_cached_adjacent$(EXEEXT) uname$(EXEEXT) \ - unlink$(EXEEXT) unlinkat$(EXEEXT) unshare$(EXEEXT) \ - userfaultfd$(EXEEXT) ustat$(EXEEXT) utime$(EXEEXT) \ - utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ + strace--strings-in-hex-non-ascii$(EXEEXT) \ + strace--strings-in-hex-non-ascii-chars$(EXEEXT) \ + strace--strings-in-hex-none$(EXEEXT) strace-n$(EXEEXT) \ + strace-no-x$(EXEEXT) strace-x$(EXEEXT) strace-xx$(EXEEXT) \ + swap$(EXEEXT) sxetmask$(EXEEXT) symlink$(EXEEXT) \ + symlinkat$(EXEEXT) sync$(EXEEXT) sync_file_range$(EXEEXT) \ + sync_file_range2$(EXEEXT) sysctl$(EXEEXT) sysinfo$(EXEEXT) \ + syslog$(EXEEXT) tampering-notes$(EXEEXT) tee$(EXEEXT) \ + tgkill$(EXEEXT) time$(EXEEXT) timer_create$(EXEEXT) \ + timer_xettime$(EXEEXT) timerfd_xettime$(EXEEXT) times$(EXEEXT) \ + times-Xabbrev$(EXEEXT) times-Xraw$(EXEEXT) \ + times-Xverbose$(EXEEXT) times-fail$(EXEEXT) tkill$(EXEEXT) \ + truncate$(EXEEXT) truncate64$(EXEEXT) ugetrlimit$(EXEEXT) \ + uio$(EXEEXT) umask$(EXEEXT) umount$(EXEEXT) umount2$(EXEEXT) \ + umoven-illptr$(EXEEXT) umovestr$(EXEEXT) \ + umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) umovestr3$(EXEEXT) \ + umovestr_cached$(EXEEXT) umovestr_cached_adjacent$(EXEEXT) \ + uname$(EXEEXT) unlink$(EXEEXT) unlinkat$(EXEEXT) \ + unshare$(EXEEXT) userfaultfd$(EXEEXT) ustat$(EXEEXT) \ + utime$(EXEEXT) utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ utimensat-Xraw$(EXEEXT) utimensat-Xverbose$(EXEEXT) \ utimes$(EXEEXT) vhangup$(EXEEXT) vmsplice$(EXEEXT) \ wait4$(EXEEXT) waitid$(EXEEXT) waitpid$(EXEEXT) xattr$(EXEEXT) \ @@ -629,25 +722,59 @@ xet_thread_area_x86$(EXEEXT) xetitimer$(EXEEXT) \ xetpgid$(EXEEXT) xetpriority$(EXEEXT) xettimeofday$(EXEEXT) am__EXEEXT_2 = access--secontext$(EXEEXT) \ - access--secontext_full$(EXEEXT) chmod--secontext$(EXEEXT) \ - chmod--secontext_full$(EXEEXT) execve--secontext$(EXEEXT) \ - execve--secontext_full$(EXEEXT) execveat--secontext$(EXEEXT) \ - execveat--secontext_full$(EXEEXT) \ + access--secontext_full$(EXEEXT) \ + access--secontext_full_mismatch$(EXEEXT) \ + access--secontext_mismatch$(EXEEXT) chmod--secontext$(EXEEXT) \ + chmod--secontext_full$(EXEEXT) \ + chmod--secontext_full_mismatch$(EXEEXT) \ + chmod--secontext_mismatch$(EXEEXT) execve--secontext$(EXEEXT) \ + execve--secontext_full$(EXEEXT) \ + execve--secontext_full_mismatch$(EXEEXT) \ + execve--secontext_mismatch$(EXEEXT) \ + execveat--secontext$(EXEEXT) execveat--secontext_full$(EXEEXT) \ + execveat--secontext_full_mismatch$(EXEEXT) \ + execveat--secontext_mismatch$(EXEEXT) \ faccessat--secontext$(EXEEXT) \ faccessat--secontext_full$(EXEEXT) \ + faccessat--secontext_full_mismatch$(EXEEXT) \ + faccessat--secontext_mismatch$(EXEEXT) \ faccessat-y--secontext$(EXEEXT) \ faccessat-y--secontext_full$(EXEEXT) \ + faccessat-y--secontext_full_mismatch$(EXEEXT) \ + faccessat-y--secontext_mismatch$(EXEEXT) \ fanotify_mark--secontext$(EXEEXT) \ fanotify_mark--secontext_full$(EXEEXT) \ + fanotify_mark--secontext_full_mismatch$(EXEEXT) \ + fanotify_mark--secontext_mismatch$(EXEEXT) \ fchmod--secontext$(EXEEXT) fchmod--secontext_full$(EXEEXT) \ + fchmod--secontext_full_mismatch$(EXEEXT) \ + fchmod--secontext_mismatch$(EXEEXT) \ fchmod-y--secontext$(EXEEXT) fchmod-y--secontext_full$(EXEEXT) \ + fchmod-y--secontext_full_mismatch$(EXEEXT) \ + fchmod-y--secontext_mismatch$(EXEEXT) \ fchmodat--secontext$(EXEEXT) fchmodat--secontext_full$(EXEEXT) \ + fchmodat--secontext_full_mismatch$(EXEEXT) \ + fchmodat--secontext_mismatch$(EXEEXT) \ fchownat--secontext$(EXEEXT) fchownat--secontext_full$(EXEEXT) \ + fchownat--secontext_full_mismatch$(EXEEXT) \ + fchownat--secontext_mismatch$(EXEEXT) \ file_handle--secontext$(EXEEXT) \ file_handle--secontext_full$(EXEEXT) \ + file_handle--secontext_full_mismatch$(EXEEXT) \ + file_handle--secontext_mismatch$(EXEEXT) \ + getsockname--secontext$(EXEEXT) \ + getsockname--secontext_full$(EXEEXT) \ + getsockname--secontext_full_mismatch$(EXEEXT) \ + getsockname--secontext_mismatch$(EXEEXT) \ linkat--secontext$(EXEEXT) linkat--secontext_full$(EXEEXT) \ - open--secontext$(EXEEXT) open--secontext_full$(EXEEXT) \ - openat--secontext$(EXEEXT) openat--secontext_full$(EXEEXT) + linkat--secontext_full_mismatch$(EXEEXT) \ + linkat--secontext_mismatch$(EXEEXT) open--secontext$(EXEEXT) \ + open--secontext_full$(EXEEXT) \ + open--secontext_full_mismatch$(EXEEXT) \ + open--secontext_mismatch$(EXEEXT) openat--secontext$(EXEEXT) \ + openat--secontext_full$(EXEEXT) \ + openat--secontext_full_mismatch$(EXEEXT) \ + openat--secontext_mismatch$(EXEEXT) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) @@ -655,7 +782,8 @@ am__v_AR_1 = libtests_a_AR = $(AR) $(ARFLAGS) libtests_a_LIBADD = -am_libtests_a_OBJECTS = libtests_a-create_nl_socket.$(OBJEXT) \ +am_libtests_a_OBJECTS = libtests_a-clock_t_str.$(OBJEXT) \ + libtests_a-create_nl_socket.$(OBJEXT) \ libtests_a-create_tmpfile.$(OBJEXT) libtests_a-dirfd.$(OBJEXT) \ libtests_a-errno2name.$(OBJEXT) libtests_a-error_msg.$(OBJEXT) \ libtests_a-fill_memory.$(OBJEXT) \ @@ -690,3672 +818,4664 @@ _newselect_SOURCES = _newselect.c _newselect_OBJECTS = _newselect.$(OBJEXT) _newselect_LDADD = $(LDADD) -_newselect_DEPENDENCIES = libtests.a +am__DEPENDENCIES_1 = +_newselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) _newselect_P_SOURCES = _newselect-P.c _newselect_P_OBJECTS = _newselect-P.$(OBJEXT) _newselect_P_LDADD = $(LDADD) -_newselect_P_DEPENDENCIES = libtests.a +_newselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept_SOURCES = accept.c accept_OBJECTS = accept.$(OBJEXT) accept_LDADD = $(LDADD) -accept_DEPENDENCIES = libtests.a +accept_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept4_SOURCES = accept4.c accept4_OBJECTS = accept4.$(OBJEXT) accept4_LDADD = $(LDADD) -accept4_DEPENDENCIES = libtests.a +accept4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access_SOURCES = access.c access_OBJECTS = access.$(OBJEXT) access_LDADD = $(LDADD) -access_DEPENDENCIES = libtests.a +access_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access__secontext_SOURCES = access--secontext.c access__secontext_OBJECTS = access--secontext.$(OBJEXT) -am__DEPENDENCIES_1 = -@HAVE_M32_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_2 = \ +am__DEPENDENCIES_2 = libtests.a $(am__DEPENDENCIES_1) +@HAVE_M32_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_3 = \ @HAVE_M32_SELINUX_RUNTIME_TRUE@ $(am__DEPENDENCIES_1) -access__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +access__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) access__secontext_full_SOURCES = access--secontext_full.c access__secontext_full_OBJECTS = access--secontext_full.$(OBJEXT) -access__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +access__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_full_mismatch_SOURCES = \ + access--secontext_full_mismatch.c +access__secontext_full_mismatch_OBJECTS = \ + access--secontext_full_mismatch.$(OBJEXT) +access__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_mismatch_SOURCES = access--secontext_mismatch.c +access__secontext_mismatch_OBJECTS = \ + access--secontext_mismatch.$(OBJEXT) +access__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) acct_SOURCES = acct.c acct_OBJECTS = acct.$(OBJEXT) acct_LDADD = $(LDADD) -acct_DEPENDENCIES = libtests.a +acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) add_key_SOURCES = add_key.c add_key_OBJECTS = add_key.$(OBJEXT) add_key_LDADD = $(LDADD) -add_key_DEPENDENCIES = libtests.a +add_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) adjtimex_SOURCES = adjtimex.c adjtimex_OBJECTS = adjtimex.$(OBJEXT) adjtimex_LDADD = $(LDADD) -adjtimex_DEPENDENCIES = libtests.a +adjtimex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_SOURCES = aio.c aio_OBJECTS = aio.$(OBJEXT) aio_LDADD = $(LDADD) -aio_DEPENDENCIES = libtests.a +aio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_pgetevents_SOURCES = aio_pgetevents.c aio_pgetevents_OBJECTS = aio_pgetevents.$(OBJEXT) aio_pgetevents_LDADD = $(LDADD) -aio_pgetevents_DEPENDENCIES = libtests.a +aio_pgetevents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) alarm_SOURCES = alarm.c alarm_OBJECTS = alarm.$(OBJEXT) alarm_LDADD = $(LDADD) -alarm_DEPENDENCIES = libtests.a +alarm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) answer_SOURCES = answer.c answer_OBJECTS = answer.$(OBJEXT) answer_LDADD = $(LDADD) -answer_DEPENDENCIES = libtests.a +answer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_SOURCES = arch_prctl.c +arch_prctl_OBJECTS = arch_prctl.$(OBJEXT) +arch_prctl_LDADD = $(LDADD) +arch_prctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xabbrev_SOURCES = arch_prctl-Xabbrev.c +arch_prctl_Xabbrev_OBJECTS = arch_prctl-Xabbrev.$(OBJEXT) +arch_prctl_Xabbrev_LDADD = $(LDADD) +arch_prctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xraw_SOURCES = arch_prctl-Xraw.c +arch_prctl_Xraw_OBJECTS = arch_prctl-Xraw.$(OBJEXT) +arch_prctl_Xraw_LDADD = $(LDADD) +arch_prctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xverbose_SOURCES = arch_prctl-Xverbose.c +arch_prctl_Xverbose_OBJECTS = arch_prctl-Xverbose.$(OBJEXT) +arch_prctl_Xverbose_LDADD = $(LDADD) +arch_prctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_SOURCES = arch_prctl-success.c +arch_prctl_success_OBJECTS = arch_prctl-success.$(OBJEXT) +arch_prctl_success_LDADD = $(LDADD) +arch_prctl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_Xabbrev_SOURCES = arch_prctl-success-Xabbrev.c +arch_prctl_success_Xabbrev_OBJECTS = \ + arch_prctl-success-Xabbrev.$(OBJEXT) +arch_prctl_success_Xabbrev_LDADD = $(LDADD) +arch_prctl_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xraw_SOURCES = arch_prctl-success-Xraw.c +arch_prctl_success_Xraw_OBJECTS = arch_prctl-success-Xraw.$(OBJEXT) +arch_prctl_success_Xraw_LDADD = $(LDADD) +arch_prctl_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xverbose_SOURCES = arch_prctl-success-Xverbose.c +arch_prctl_success_Xverbose_OBJECTS = \ + arch_prctl-success-Xverbose.$(OBJEXT) +arch_prctl_success_Xverbose_LDADD = $(LDADD) +arch_prctl_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +at_fdcwd_pathmax_SOURCES = at_fdcwd-pathmax.c +at_fdcwd_pathmax_OBJECTS = at_fdcwd-pathmax.$(OBJEXT) +at_fdcwd_pathmax_LDADD = $(LDADD) +at_fdcwd_pathmax_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_f_p_SOURCES = attach-f-p.c attach_f_p_OBJECTS = attach-f-p.$(OBJEXT) -attach_f_p_DEPENDENCIES = $(LDADD) +attach_f_p_DEPENDENCIES = $(am__DEPENDENCIES_2) attach_f_p_cmd_SOURCES = attach-f-p-cmd.c attach_f_p_cmd_OBJECTS = attach-f-p-cmd.$(OBJEXT) attach_f_p_cmd_LDADD = $(LDADD) -attach_f_p_cmd_DEPENDENCIES = libtests.a +attach_f_p_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_cmd_SOURCES = attach-p-cmd-cmd.c attach_p_cmd_cmd_OBJECTS = attach-p-cmd-cmd.$(OBJEXT) attach_p_cmd_cmd_LDADD = $(LDADD) -attach_p_cmd_cmd_DEPENDENCIES = libtests.a +attach_p_cmd_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_p_SOURCES = attach-p-cmd-p.c attach_p_cmd_p_OBJECTS = attach-p-cmd-p.$(OBJEXT) attach_p_cmd_p_LDADD = $(LDADD) -attach_p_cmd_p_DEPENDENCIES = libtests.a +attach_p_cmd_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_raise_run_SOURCES = block_reset_raise_run.c block_reset_raise_run_OBJECTS = block_reset_raise_run.$(OBJEXT) block_reset_raise_run_LDADD = $(LDADD) -block_reset_raise_run_DEPENDENCIES = libtests.a +block_reset_raise_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_run_SOURCES = block_reset_run.c block_reset_run_OBJECTS = block_reset_run.$(OBJEXT) block_reset_run_LDADD = $(LDADD) -block_reset_run_DEPENDENCIES = libtests.a +block_reset_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_SOURCES = bpf.c bpf_OBJECTS = bpf.$(OBJEXT) bpf_LDADD = $(LDADD) -bpf_DEPENDENCIES = libtests.a +bpf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_obj_get_info_by_fd_SOURCES = bpf-obj_get_info_by_fd.c bpf_obj_get_info_by_fd_OBJECTS = bpf-obj_get_info_by_fd.$(OBJEXT) -bpf_obj_get_info_by_fd_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_SOURCES = bpf-obj_get_info_by_fd-prog.c bpf_obj_get_info_by_fd_prog_OBJECTS = \ bpf-obj_get_info_by_fd-prog.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_v_SOURCES = \ bpf-obj_get_info_by_fd-prog-v.c bpf_obj_get_info_by_fd_prog_v_OBJECTS = \ bpf-obj_get_info_by_fd-prog-v.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_v_SOURCES = bpf-obj_get_info_by_fd-v.c bpf_obj_get_info_by_fd_v_OBJECTS = bpf-obj_get_info_by_fd-v.$(OBJEXT) -bpf_obj_get_info_by_fd_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_success_SOURCES = bpf-success.c bpf_success_OBJECTS = bpf-success.$(OBJEXT) bpf_success_LDADD = $(LDADD) -bpf_success_DEPENDENCIES = libtests.a +bpf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_long_y_SOURCES = bpf-success-long-y.c bpf_success_long_y_OBJECTS = bpf-success-long-y.$(OBJEXT) bpf_success_long_y_LDADD = $(LDADD) -bpf_success_long_y_DEPENDENCIES = libtests.a +bpf_success_long_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_v_SOURCES = bpf-success-v.c bpf_success_v_OBJECTS = bpf-success-v.$(OBJEXT) bpf_success_v_LDADD = $(LDADD) -bpf_success_v_DEPENDENCIES = libtests.a +bpf_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_v_SOURCES = bpf-v.c bpf_v_OBJECTS = bpf-v.$(OBJEXT) bpf_v_LDADD = $(LDADD) -bpf_v_DEPENDENCIES = libtests.a +bpf_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) brk_SOURCES = brk.c brk_OBJECTS = brk.$(OBJEXT) brk_LDADD = $(LDADD) -brk_DEPENDENCIES = libtests.a +brk_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) btrfs_SOURCES = btrfs.c btrfs_OBJECTS = btrfs.$(OBJEXT) btrfs_LDADD = $(LDADD) -btrfs_DEPENDENCIES = libtests.a +btrfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_SOURCES = caps.c caps_OBJECTS = caps.$(OBJEXT) caps_LDADD = $(LDADD) -caps_DEPENDENCIES = libtests.a +caps_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_abbrev_SOURCES = caps-abbrev.c caps_abbrev_OBJECTS = caps-abbrev.$(OBJEXT) caps_abbrev_LDADD = $(LDADD) -caps_abbrev_DEPENDENCIES = libtests.a +caps_abbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chdir_SOURCES = chdir.c chdir_OBJECTS = chdir.$(OBJEXT) chdir_LDADD = $(LDADD) -chdir_DEPENDENCIES = libtests.a +chdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigblock_SOURCES = check_sigblock.c check_sigblock_OBJECTS = check_sigblock.$(OBJEXT) check_sigblock_LDADD = $(LDADD) -check_sigblock_DEPENDENCIES = libtests.a +check_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigign_SOURCES = check_sigign.c check_sigign_OBJECTS = check_sigign.$(OBJEXT) check_sigign_LDADD = $(LDADD) -check_sigign_DEPENDENCIES = libtests.a +check_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod_SOURCES = chmod.c chmod_OBJECTS = chmod.$(OBJEXT) chmod_LDADD = $(LDADD) -chmod_DEPENDENCIES = libtests.a +chmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod__secontext_SOURCES = chmod--secontext.c chmod__secontext_OBJECTS = chmod--secontext.$(OBJEXT) -chmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chmod__secontext_full_SOURCES = chmod--secontext_full.c chmod__secontext_full_OBJECTS = chmod--secontext_full.$(OBJEXT) -chmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_full_mismatch_SOURCES = \ + chmod--secontext_full_mismatch.c +chmod__secontext_full_mismatch_OBJECTS = \ + chmod--secontext_full_mismatch.$(OBJEXT) +chmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_mismatch_SOURCES = chmod--secontext_mismatch.c +chmod__secontext_mismatch_OBJECTS = \ + chmod--secontext_mismatch.$(OBJEXT) +chmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chown_SOURCES = chown.c chown_OBJECTS = chown.$(OBJEXT) chown_LDADD = $(LDADD) -chown_DEPENDENCIES = libtests.a +chown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chown32_SOURCES = chown32.c chown32_OBJECTS = chown32.$(OBJEXT) chown32_LDADD = $(LDADD) -chown32_DEPENDENCIES = libtests.a +chown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chroot_SOURCES = chroot.c chroot_OBJECTS = chroot.$(OBJEXT) chroot_LDADD = $(LDADD) -chroot_DEPENDENCIES = libtests.a +chroot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime_SOURCES = clock_adjtime.c clock_adjtime_OBJECTS = clock_adjtime.$(OBJEXT) clock_adjtime_LDADD = $(LDADD) -clock_adjtime_DEPENDENCIES = libtests.a +clock_adjtime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime64_SOURCES = clock_adjtime64.c clock_adjtime64_OBJECTS = clock_adjtime64.$(OBJEXT) clock_adjtime64_LDADD = $(LDADD) -clock_adjtime64_DEPENDENCIES = libtests.a +clock_adjtime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_nanosleep_SOURCES = clock_nanosleep.c clock_nanosleep_OBJECTS = clock_nanosleep.$(OBJEXT) clock_nanosleep_LDADD = $(LDADD) -clock_nanosleep_DEPENDENCIES = libtests.a +clock_nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime_SOURCES = clock_xettime.c clock_xettime_OBJECTS = clock_xettime.$(OBJEXT) clock_xettime_LDADD = $(LDADD) -clock_xettime_DEPENDENCIES = libtests.a +clock_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime64_SOURCES = clock_xettime64.c clock_xettime64_OBJECTS = clock_xettime64.$(OBJEXT) clock_xettime64_LDADD = $(LDADD) -clock_xettime64_DEPENDENCIES = libtests.a +clock_xettime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_flags_SOURCES = clone-flags.c clone_flags_OBJECTS = clone-flags.$(OBJEXT) clone_flags_LDADD = $(LDADD) -clone_flags_DEPENDENCIES = libtests.a +clone_flags_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_SOURCES = clone3.c clone3_OBJECTS = clone3.$(OBJEXT) clone3_LDADD = $(LDADD) -clone3_DEPENDENCIES = libtests.a +clone3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xabbrev_SOURCES = clone3-Xabbrev.c clone3_Xabbrev_OBJECTS = clone3-Xabbrev.$(OBJEXT) clone3_Xabbrev_LDADD = $(LDADD) -clone3_Xabbrev_DEPENDENCIES = libtests.a +clone3_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xraw_SOURCES = clone3-Xraw.c clone3_Xraw_OBJECTS = clone3-Xraw.$(OBJEXT) clone3_Xraw_LDADD = $(LDADD) -clone3_Xraw_DEPENDENCIES = libtests.a +clone3_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xverbose_SOURCES = clone3-Xverbose.c clone3_Xverbose_OBJECTS = clone3-Xverbose.$(OBJEXT) clone3_Xverbose_LDADD = $(LDADD) -clone3_Xverbose_DEPENDENCIES = libtests.a +clone3_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_SOURCES = clone3-success.c clone3_success_OBJECTS = clone3-success.$(OBJEXT) clone3_success_LDADD = $(LDADD) -clone3_success_DEPENDENCIES = libtests.a +clone3_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xabbrev_SOURCES = clone3-success-Xabbrev.c clone3_success_Xabbrev_OBJECTS = clone3-success-Xabbrev.$(OBJEXT) clone3_success_Xabbrev_LDADD = $(LDADD) -clone3_success_Xabbrev_DEPENDENCIES = libtests.a +clone3_success_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xraw_SOURCES = clone3-success-Xraw.c clone3_success_Xraw_OBJECTS = clone3-success-Xraw.$(OBJEXT) clone3_success_Xraw_LDADD = $(LDADD) -clone3_success_Xraw_DEPENDENCIES = libtests.a +clone3_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xverbose_SOURCES = clone3-success-Xverbose.c clone3_success_Xverbose_OBJECTS = clone3-success-Xverbose.$(OBJEXT) clone3_success_Xverbose_LDADD = $(LDADD) -clone3_success_Xverbose_DEPENDENCIES = libtests.a +clone3_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_SOURCES = clone_parent.c clone_parent_OBJECTS = clone_parent.$(OBJEXT) clone_parent_LDADD = $(LDADD) -clone_parent_DEPENDENCIES = libtests.a +clone_parent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent__quiet_exit_SOURCES = clone_parent--quiet-exit.c clone_parent__quiet_exit_OBJECTS = clone_parent--quiet-exit.$(OBJEXT) clone_parent__quiet_exit_LDADD = $(LDADD) -clone_parent__quiet_exit_DEPENDENCIES = libtests.a +clone_parent__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_q_SOURCES = clone_parent-q.c clone_parent_q_OBJECTS = clone_parent-q.$(OBJEXT) clone_parent_q_LDADD = $(LDADD) -clone_parent_q_DEPENDENCIES = libtests.a +clone_parent_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent_qq_SOURCES = clone_parent-qq.c clone_parent_qq_OBJECTS = clone_parent-qq.$(OBJEXT) clone_parent_qq_LDADD = $(LDADD) -clone_parent_qq_DEPENDENCIES = libtests.a +clone_parent_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_SOURCES = clone_ptrace.c clone_ptrace_OBJECTS = clone_ptrace.$(OBJEXT) clone_ptrace_LDADD = $(LDADD) -clone_ptrace_DEPENDENCIES = libtests.a +clone_ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace__quiet_attach_SOURCES = clone_ptrace--quiet-attach.c clone_ptrace__quiet_attach_OBJECTS = \ clone_ptrace--quiet-attach.$(OBJEXT) clone_ptrace__quiet_attach_LDADD = $(LDADD) -clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a +clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace__quiet_exit_SOURCES = clone_ptrace--quiet-exit.c clone_ptrace__quiet_exit_OBJECTS = clone_ptrace--quiet-exit.$(OBJEXT) clone_ptrace__quiet_exit_LDADD = $(LDADD) -clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a +clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace_q_SOURCES = clone_ptrace-q.c clone_ptrace_q_OBJECTS = clone_ptrace-q.$(OBJEXT) clone_ptrace_q_LDADD = $(LDADD) -clone_ptrace_q_DEPENDENCIES = libtests.a +clone_ptrace_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_qq_SOURCES = clone_ptrace-qq.c clone_ptrace_qq_OBJECTS = clone_ptrace-qq.$(OBJEXT) clone_ptrace_qq_LDADD = $(LDADD) -clone_ptrace_qq_DEPENDENCIES = libtests.a +clone_ptrace_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) close_range_SOURCES = close_range.c close_range_OBJECTS = close_range.$(OBJEXT) close_range_LDADD = $(LDADD) -close_range_DEPENDENCIES = libtests.a +close_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) copy_file_range_SOURCES = copy_file_range.c copy_file_range_OBJECTS = copy_file_range.$(OBJEXT) copy_file_range_LDADD = $(LDADD) -copy_file_range_DEPENDENCIES = libtests.a +copy_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) count_f_SOURCES = count-f.c count_f_OBJECTS = count-f.$(OBJEXT) -count_f_DEPENDENCIES = $(LDADD) +count_f_DEPENDENCIES = $(am__DEPENDENCIES_2) creat_SOURCES = creat.c creat_OBJECTS = creat.$(OBJEXT) creat_LDADD = $(LDADD) -creat_DEPENDENCIES = libtests.a +creat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) delay_SOURCES = delay.c delay_OBJECTS = delay.$(OBJEXT) -delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) delete_module_SOURCES = delete_module.c delete_module_OBJECTS = delete_module.$(OBJEXT) delete_module_LDADD = $(LDADD) -delete_module_DEPENDENCIES = libtests.a +delete_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_all_SOURCES = dev--decode-fds-all.c +dev__decode_fds_all_OBJECTS = dev--decode-fds-all.$(OBJEXT) +dev__decode_fds_all_LDADD = $(LDADD) +dev__decode_fds_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_dev_SOURCES = dev--decode-fds-dev.c dev__decode_fds_dev_OBJECTS = dev--decode-fds-dev.$(OBJEXT) dev__decode_fds_dev_LDADD = $(LDADD) -dev__decode_fds_dev_DEPENDENCIES = libtests.a +dev__decode_fds_dev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_none_SOURCES = dev--decode-fds-none.c +dev__decode_fds_none_OBJECTS = dev--decode-fds-none.$(OBJEXT) +dev__decode_fds_none_LDADD = $(LDADD) +dev__decode_fds_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_path_SOURCES = dev--decode-fds-path.c dev__decode_fds_path_OBJECTS = dev--decode-fds-path.$(OBJEXT) dev__decode_fds_path_LDADD = $(LDADD) -dev__decode_fds_path_DEPENDENCIES = libtests.a +dev__decode_fds_path_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_socket_SOURCES = dev--decode-fds-socket.c dev__decode_fds_socket_OBJECTS = dev--decode-fds-socket.$(OBJEXT) dev__decode_fds_socket_LDADD = $(LDADD) -dev__decode_fds_socket_DEPENDENCIES = libtests.a +dev__decode_fds_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev_yy_SOURCES = dev-yy.c dev_yy_OBJECTS = dev-yy.$(OBJEXT) dev_yy_LDADD = $(LDADD) -dev_yy_DEPENDENCIES = libtests.a +dev_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_SOURCES = dup.c dup_OBJECTS = dup.$(OBJEXT) dup_LDADD = $(LDADD) -dup_DEPENDENCIES = libtests.a +dup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_P_SOURCES = dup-P.c dup_P_OBJECTS = dup-P.$(OBJEXT) dup_P_LDADD = $(LDADD) -dup_P_DEPENDENCIES = libtests.a +dup_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_y_SOURCES = dup-y.c dup_y_OBJECTS = dup-y.$(OBJEXT) dup_y_LDADD = $(LDADD) -dup_y_DEPENDENCIES = libtests.a +dup_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_yy_SOURCES = dup-yy.c dup_yy_OBJECTS = dup-yy.$(OBJEXT) dup_yy_LDADD = $(LDADD) -dup_yy_DEPENDENCIES = libtests.a +dup_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_SOURCES = dup2.c dup2_OBJECTS = dup2.$(OBJEXT) dup2_LDADD = $(LDADD) -dup2_DEPENDENCIES = libtests.a +dup2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_P_SOURCES = dup2-P.c dup2_P_OBJECTS = dup2-P.$(OBJEXT) dup2_P_LDADD = $(LDADD) -dup2_P_DEPENDENCIES = libtests.a +dup2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_y_SOURCES = dup2-y.c dup2_y_OBJECTS = dup2-y.$(OBJEXT) dup2_y_LDADD = $(LDADD) -dup2_y_DEPENDENCIES = libtests.a +dup2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_yy_SOURCES = dup2-yy.c dup2_yy_OBJECTS = dup2-yy.$(OBJEXT) dup2_yy_LDADD = $(LDADD) -dup2_yy_DEPENDENCIES = libtests.a +dup2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_SOURCES = dup3.c dup3_OBJECTS = dup3.$(OBJEXT) dup3_LDADD = $(LDADD) -dup3_DEPENDENCIES = libtests.a +dup3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_P_SOURCES = dup3-P.c dup3_P_OBJECTS = dup3-P.$(OBJEXT) dup3_P_LDADD = $(LDADD) -dup3_P_DEPENDENCIES = libtests.a +dup3_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_y_SOURCES = dup3-y.c dup3_y_OBJECTS = dup3-y.$(OBJEXT) dup3_y_LDADD = $(LDADD) -dup3_y_DEPENDENCIES = libtests.a +dup3_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_yy_SOURCES = dup3-yy.c dup3_yy_OBJECTS = dup3-yy.$(OBJEXT) dup3_yy_LDADD = $(LDADD) -dup3_yy_DEPENDENCIES = libtests.a +dup3_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create_SOURCES = epoll_create.c epoll_create_OBJECTS = epoll_create.$(OBJEXT) epoll_create_LDADD = $(LDADD) -epoll_create_DEPENDENCIES = libtests.a +epoll_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create1_SOURCES = epoll_create1.c epoll_create1_OBJECTS = epoll_create1.$(OBJEXT) epoll_create1_LDADD = $(LDADD) -epoll_create1_DEPENDENCIES = libtests.a +epoll_create1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_ctl_SOURCES = epoll_ctl.c epoll_ctl_OBJECTS = epoll_ctl.$(OBJEXT) epoll_ctl_LDADD = $(LDADD) -epoll_ctl_DEPENDENCIES = libtests.a +epoll_ctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait_SOURCES = epoll_pwait.c epoll_pwait_OBJECTS = epoll_pwait.$(OBJEXT) epoll_pwait_LDADD = $(LDADD) -epoll_pwait_DEPENDENCIES = libtests.a +epoll_pwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_SOURCES = epoll_pwait2.c epoll_pwait2_OBJECTS = epoll_pwait2.$(OBJEXT) epoll_pwait2_LDADD = $(LDADD) -epoll_pwait2_DEPENDENCIES = libtests.a +epoll_pwait2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_P_SOURCES = epoll_pwait2-P.c epoll_pwait2_P_OBJECTS = epoll_pwait2-P.$(OBJEXT) epoll_pwait2_P_LDADD = $(LDADD) -epoll_pwait2_P_DEPENDENCIES = libtests.a +epoll_pwait2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_y_SOURCES = epoll_pwait2-y.c epoll_pwait2_y_OBJECTS = epoll_pwait2-y.$(OBJEXT) epoll_pwait2_y_LDADD = $(LDADD) -epoll_pwait2_y_DEPENDENCIES = libtests.a +epoll_pwait2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_wait_SOURCES = epoll_wait.c epoll_wait_OBJECTS = epoll_wait.$(OBJEXT) epoll_wait_LDADD = $(LDADD) -epoll_wait_DEPENDENCIES = libtests.a +epoll_wait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) erestartsys_SOURCES = erestartsys.c erestartsys_OBJECTS = erestartsys.$(OBJEXT) erestartsys_LDADD = $(LDADD) -erestartsys_DEPENDENCIES = libtests.a +erestartsys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) eventfd_SOURCES = eventfd.c eventfd_OBJECTS = eventfd.$(OBJEXT) eventfd_LDADD = $(LDADD) -eventfd_DEPENDENCIES = libtests.a +eventfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve_SOURCES = execve.c execve_OBJECTS = execve.$(OBJEXT) execve_LDADD = $(LDADD) -execve_DEPENDENCIES = libtests.a +execve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve__secontext_SOURCES = execve--secontext.c execve__secontext_OBJECTS = execve--secontext.$(OBJEXT) -execve__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve__secontext_full_SOURCES = execve--secontext_full.c execve__secontext_full_OBJECTS = execve--secontext_full.$(OBJEXT) -execve__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_full_mismatch_SOURCES = \ + execve--secontext_full_mismatch.c +execve__secontext_full_mismatch_OBJECTS = \ + execve--secontext_full_mismatch.$(OBJEXT) +execve__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_mismatch_SOURCES = execve--secontext_mismatch.c +execve__secontext_mismatch_OBJECTS = \ + execve--secontext_mismatch.$(OBJEXT) +execve__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve_v_SOURCES = execve-v.c execve_v_OBJECTS = execve-v.$(OBJEXT) execve_v_LDADD = $(LDADD) -execve_v_DEPENDENCIES = libtests.a +execve_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat_SOURCES = execveat.c execveat_OBJECTS = execveat.$(OBJEXT) execveat_LDADD = $(LDADD) -execveat_DEPENDENCIES = libtests.a +execveat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat__secontext_SOURCES = execveat--secontext.c execveat__secontext_OBJECTS = execveat--secontext.$(OBJEXT) -execveat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat__secontext_full_SOURCES = execveat--secontext_full.c execveat__secontext_full_OBJECTS = execveat--secontext_full.$(OBJEXT) -execveat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execveat__secontext_full_mismatch_SOURCES = \ + execveat--secontext_full_mismatch.c +execveat__secontext_full_mismatch_OBJECTS = \ + execveat--secontext_full_mismatch.$(OBJEXT) +execveat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +execveat__secontext_mismatch_SOURCES = execveat--secontext_mismatch.c +execveat__secontext_mismatch_OBJECTS = \ + execveat--secontext_mismatch.$(OBJEXT) +execveat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat_v_SOURCES = execveat-v.c execveat_v_OBJECTS = execveat-v.$(OBJEXT) execveat_v_LDADD = $(LDADD) -execveat_v_DEPENDENCIES = libtests.a +execveat_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_SOURCES = faccessat.c faccessat_OBJECTS = faccessat.$(OBJEXT) faccessat_LDADD = $(LDADD) -faccessat_DEPENDENCIES = libtests.a +faccessat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat__secontext_SOURCES = faccessat--secontext.c faccessat__secontext_OBJECTS = faccessat--secontext.$(OBJEXT) -faccessat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat__secontext_full_SOURCES = faccessat--secontext_full.c faccessat__secontext_full_OBJECTS = \ faccessat--secontext_full.$(OBJEXT) -faccessat__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat__secontext_full_mismatch_SOURCES = \ + faccessat--secontext_full_mismatch.c +faccessat__secontext_full_mismatch_OBJECTS = \ + faccessat--secontext_full_mismatch.$(OBJEXT) +faccessat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat__secontext_mismatch_SOURCES = \ + faccessat--secontext_mismatch.c +faccessat__secontext_mismatch_OBJECTS = \ + faccessat--secontext_mismatch.$(OBJEXT) +faccessat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_P_SOURCES = faccessat-P.c faccessat_P_OBJECTS = faccessat-P.$(OBJEXT) faccessat_P_LDADD = $(LDADD) -faccessat_P_DEPENDENCIES = libtests.a +faccessat_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y_SOURCES = faccessat-y.c faccessat_y_OBJECTS = faccessat-y.$(OBJEXT) faccessat_y_LDADD = $(LDADD) -faccessat_y_DEPENDENCIES = libtests.a +faccessat_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y__secontext_SOURCES = faccessat-y--secontext.c faccessat_y__secontext_OBJECTS = faccessat-y--secontext.$(OBJEXT) -faccessat_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_y__secontext_full_SOURCES = faccessat-y--secontext_full.c faccessat_y__secontext_full_OBJECTS = \ faccessat-y--secontext_full.$(OBJEXT) -faccessat_y__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat_y__secontext_full_mismatch_SOURCES = \ + faccessat-y--secontext_full_mismatch.c +faccessat_y__secontext_full_mismatch_OBJECTS = \ + faccessat-y--secontext_full_mismatch.$(OBJEXT) +faccessat_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat_y__secontext_mismatch_SOURCES = \ + faccessat-y--secontext_mismatch.c +faccessat_y__secontext_mismatch_OBJECTS = \ + faccessat-y--secontext_mismatch.$(OBJEXT) +faccessat_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_yy_SOURCES = faccessat-yy.c faccessat_yy_OBJECTS = faccessat-yy.$(OBJEXT) faccessat_yy_LDADD = $(LDADD) -faccessat_yy_DEPENDENCIES = libtests.a +faccessat_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_SOURCES = faccessat2.c faccessat2_OBJECTS = faccessat2.$(OBJEXT) faccessat2_LDADD = $(LDADD) -faccessat2_DEPENDENCIES = libtests.a +faccessat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_P_SOURCES = faccessat2-P.c faccessat2_P_OBJECTS = faccessat2-P.$(OBJEXT) faccessat2_P_LDADD = $(LDADD) -faccessat2_P_DEPENDENCIES = libtests.a +faccessat2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_y_SOURCES = faccessat2-y.c faccessat2_y_OBJECTS = faccessat2-y.$(OBJEXT) faccessat2_y_LDADD = $(LDADD) -faccessat2_y_DEPENDENCIES = libtests.a +faccessat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_yy_SOURCES = faccessat2-yy.c faccessat2_yy_OBJECTS = faccessat2-yy.$(OBJEXT) faccessat2_yy_LDADD = $(LDADD) -faccessat2_yy_DEPENDENCIES = libtests.a +faccessat2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_SOURCES = fadvise64.c fadvise64_OBJECTS = fadvise64.$(OBJEXT) fadvise64_LDADD = $(LDADD) -fadvise64_DEPENDENCIES = libtests.a +fadvise64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_64_SOURCES = fadvise64_64.c fadvise64_64_OBJECTS = fadvise64_64.$(OBJEXT) fadvise64_64_LDADD = $(LDADD) -fadvise64_64_DEPENDENCIES = libtests.a +fadvise64_64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fallocate_SOURCES = fallocate.c fallocate_OBJECTS = fallocate.$(OBJEXT) fallocate_LDADD = $(LDADD) -fallocate_DEPENDENCIES = libtests.a +fallocate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_init_SOURCES = fanotify_init.c fanotify_init_OBJECTS = fanotify_init.$(OBJEXT) fanotify_init_LDADD = $(LDADD) -fanotify_init_DEPENDENCIES = libtests.a +fanotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_SOURCES = fanotify_mark.c fanotify_mark_OBJECTS = fanotify_mark.$(OBJEXT) fanotify_mark_LDADD = $(LDADD) -fanotify_mark_DEPENDENCIES = libtests.a +fanotify_mark_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark__secontext_SOURCES = fanotify_mark--secontext.c fanotify_mark__secontext_OBJECTS = fanotify_mark--secontext.$(OBJEXT) -fanotify_mark__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fanotify_mark__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fanotify_mark__secontext_full_SOURCES = \ fanotify_mark--secontext_full.c fanotify_mark__secontext_full_OBJECTS = \ fanotify_mark--secontext_full.$(OBJEXT) -fanotify_mark__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +fanotify_mark__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fanotify_mark__secontext_full_mismatch_SOURCES = \ + fanotify_mark--secontext_full_mismatch.c +fanotify_mark__secontext_full_mismatch_OBJECTS = \ + fanotify_mark--secontext_full_mismatch.$(OBJEXT) +fanotify_mark__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fanotify_mark__secontext_mismatch_SOURCES = \ + fanotify_mark--secontext_mismatch.c +fanotify_mark__secontext_mismatch_OBJECTS = \ + fanotify_mark--secontext_mismatch.$(OBJEXT) +fanotify_mark__secontext_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) fanotify_mark_Xabbrev_SOURCES = fanotify_mark-Xabbrev.c fanotify_mark_Xabbrev_OBJECTS = fanotify_mark-Xabbrev.$(OBJEXT) fanotify_mark_Xabbrev_LDADD = $(LDADD) -fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a +fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xraw_SOURCES = fanotify_mark-Xraw.c fanotify_mark_Xraw_OBJECTS = fanotify_mark-Xraw.$(OBJEXT) fanotify_mark_Xraw_LDADD = $(LDADD) -fanotify_mark_Xraw_DEPENDENCIES = libtests.a +fanotify_mark_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xverbose_SOURCES = fanotify_mark-Xverbose.c fanotify_mark_Xverbose_OBJECTS = fanotify_mark-Xverbose.$(OBJEXT) fanotify_mark_Xverbose_LDADD = $(LDADD) -fanotify_mark_Xverbose_DEPENDENCIES = libtests.a +fanotify_mark_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchdir_SOURCES = fchdir.c fchdir_OBJECTS = fchdir.$(OBJEXT) fchdir_LDADD = $(LDADD) -fchdir_DEPENDENCIES = libtests.a +fchdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_SOURCES = fchmod.c fchmod_OBJECTS = fchmod.$(OBJEXT) fchmod_LDADD = $(LDADD) -fchmod_DEPENDENCIES = libtests.a +fchmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod__secontext_SOURCES = fchmod--secontext.c fchmod__secontext_OBJECTS = fchmod--secontext.$(OBJEXT) -fchmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod__secontext_full_SOURCES = fchmod--secontext_full.c fchmod__secontext_full_OBJECTS = fchmod--secontext_full.$(OBJEXT) -fchmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_full_mismatch_SOURCES = \ + fchmod--secontext_full_mismatch.c +fchmod__secontext_full_mismatch_OBJECTS = \ + fchmod--secontext_full_mismatch.$(OBJEXT) +fchmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_mismatch_SOURCES = fchmod--secontext_mismatch.c +fchmod__secontext_mismatch_OBJECTS = \ + fchmod--secontext_mismatch.$(OBJEXT) +fchmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y_SOURCES = fchmod-y.c fchmod_y_OBJECTS = fchmod-y.$(OBJEXT) fchmod_y_LDADD = $(LDADD) -fchmod_y_DEPENDENCIES = libtests.a +fchmod_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_y__secontext_SOURCES = fchmod-y--secontext.c fchmod_y__secontext_OBJECTS = fchmod-y--secontext.$(OBJEXT) -fchmod_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y__secontext_full_SOURCES = fchmod-y--secontext_full.c fchmod_y__secontext_full_OBJECTS = fchmod-y--secontext_full.$(OBJEXT) -fchmod_y__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod_y__secontext_full_mismatch_SOURCES = \ + fchmod-y--secontext_full_mismatch.c +fchmod_y__secontext_full_mismatch_OBJECTS = \ + fchmod-y--secontext_full_mismatch.$(OBJEXT) +fchmod_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmod_y__secontext_mismatch_SOURCES = fchmod-y--secontext_mismatch.c +fchmod_y__secontext_mismatch_OBJECTS = \ + fchmod-y--secontext_mismatch.$(OBJEXT) +fchmod_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat_SOURCES = fchmodat.c fchmodat_OBJECTS = fchmodat.$(OBJEXT) fchmodat_LDADD = $(LDADD) -fchmodat_DEPENDENCIES = libtests.a +fchmodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmodat__secontext_SOURCES = fchmodat--secontext.c fchmodat__secontext_OBJECTS = fchmodat--secontext.$(OBJEXT) -fchmodat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat__secontext_full_SOURCES = fchmodat--secontext_full.c fchmodat__secontext_full_OBJECTS = fchmodat--secontext_full.$(OBJEXT) -fchmodat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmodat__secontext_full_mismatch_SOURCES = \ + fchmodat--secontext_full_mismatch.c +fchmodat__secontext_full_mismatch_OBJECTS = \ + fchmodat--secontext_full_mismatch.$(OBJEXT) +fchmodat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmodat__secontext_mismatch_SOURCES = fchmodat--secontext_mismatch.c +fchmodat__secontext_mismatch_OBJECTS = \ + fchmodat--secontext_mismatch.$(OBJEXT) +fchmodat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchown_SOURCES = fchown.c fchown_OBJECTS = fchown.$(OBJEXT) fchown_LDADD = $(LDADD) -fchown_DEPENDENCIES = libtests.a +fchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchown32_SOURCES = fchown32.c fchown32_OBJECTS = fchown32.$(OBJEXT) fchown32_LDADD = $(LDADD) -fchown32_DEPENDENCIES = libtests.a +fchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat_SOURCES = fchownat.c fchownat_OBJECTS = fchownat.$(OBJEXT) fchownat_LDADD = $(LDADD) -fchownat_DEPENDENCIES = libtests.a +fchownat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat__secontext_SOURCES = fchownat--secontext.c fchownat__secontext_OBJECTS = fchownat--secontext.$(OBJEXT) -fchownat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchownat__secontext_full_SOURCES = fchownat--secontext_full.c fchownat__secontext_full_OBJECTS = fchownat--secontext_full.$(OBJEXT) -fchownat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchownat__secontext_full_mismatch_SOURCES = \ + fchownat--secontext_full_mismatch.c +fchownat__secontext_full_mismatch_OBJECTS = \ + fchownat--secontext_full_mismatch.$(OBJEXT) +fchownat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchownat__secontext_mismatch_SOURCES = fchownat--secontext_mismatch.c +fchownat__secontext_mismatch_OBJECTS = \ + fchownat--secontext_mismatch.$(OBJEXT) +fchownat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fcntl_SOURCES = fcntl.c fcntl_OBJECTS = fcntl.$(OBJEXT) fcntl_LDADD = $(LDADD) -fcntl_DEPENDENCIES = libtests.a +fcntl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl__pidns_translation_SOURCES = fcntl--pidns-translation.c fcntl__pidns_translation_OBJECTS = fcntl--pidns-translation.$(OBJEXT) fcntl__pidns_translation_LDADD = $(LDADD) -fcntl__pidns_translation_DEPENDENCIES = libtests.a +fcntl__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fcntl64_SOURCES = fcntl64.c fcntl64_OBJECTS = fcntl64.$(OBJEXT) fcntl64_LDADD = $(LDADD) -fcntl64_DEPENDENCIES = libtests.a +fcntl64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl64__pidns_translation_SOURCES = fcntl64--pidns-translation.c fcntl64__pidns_translation_OBJECTS = \ fcntl64--pidns-translation.$(OBJEXT) fcntl64__pidns_translation_LDADD = $(LDADD) -fcntl64__pidns_translation_DEPENDENCIES = libtests.a +fcntl64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fdatasync_SOURCES = fdatasync.c fdatasync_OBJECTS = fdatasync.$(OBJEXT) fdatasync_LDADD = $(LDADD) -fdatasync_DEPENDENCIES = libtests.a +fdatasync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fflush_SOURCES = fflush.c fflush_OBJECTS = fflush.$(OBJEXT) fflush_LDADD = $(LDADD) -fflush_DEPENDENCIES = libtests.a +fflush_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle_SOURCES = file_handle.c file_handle_OBJECTS = file_handle.$(OBJEXT) file_handle_LDADD = $(LDADD) -file_handle_DEPENDENCIES = libtests.a +file_handle_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle__secontext_SOURCES = file_handle--secontext.c file_handle__secontext_OBJECTS = file_handle--secontext.$(OBJEXT) -file_handle__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +file_handle__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) file_handle__secontext_full_SOURCES = file_handle--secontext_full.c file_handle__secontext_full_OBJECTS = \ file_handle--secontext_full.$(OBJEXT) -file_handle__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +file_handle__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +file_handle__secontext_full_mismatch_SOURCES = \ + file_handle--secontext_full_mismatch.c +file_handle__secontext_full_mismatch_OBJECTS = \ + file_handle--secontext_full_mismatch.$(OBJEXT) +file_handle__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +file_handle__secontext_mismatch_SOURCES = \ + file_handle--secontext_mismatch.c +file_handle__secontext_mismatch_OBJECTS = \ + file_handle--secontext_mismatch.$(OBJEXT) +file_handle__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) filter_unavailable_SOURCES = filter-unavailable.c filter_unavailable_OBJECTS = filter-unavailable.$(OBJEXT) -filter_unavailable_DEPENDENCIES = $(LDADD) +filter_unavailable_DEPENDENCIES = $(am__DEPENDENCIES_2) filter_seccomp_flag_SOURCES = filter_seccomp-flag.c filter_seccomp_flag_OBJECTS = filter_seccomp-flag.$(OBJEXT) filter_seccomp_flag_LDADD = $(LDADD) -filter_seccomp_flag_DEPENDENCIES = libtests.a +filter_seccomp_flag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) filter_seccomp_perf_SOURCES = filter_seccomp-perf.c filter_seccomp_perf_OBJECTS = filter_seccomp-perf.$(OBJEXT) filter_seccomp_perf_LDADD = $(LDADD) -filter_seccomp_perf_DEPENDENCIES = libtests.a +filter_seccomp_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) finit_module_SOURCES = finit_module.c finit_module_OBJECTS = finit_module.$(OBJEXT) finit_module_LDADD = $(LDADD) -finit_module_DEPENDENCIES = libtests.a +finit_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) flock_SOURCES = flock.c flock_OBJECTS = flock.$(OBJEXT) flock_LDADD = $(LDADD) -flock_DEPENDENCIES = libtests.a +flock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fork__pidns_translation_SOURCES = fork--pidns-translation.c fork__pidns_translation_OBJECTS = fork--pidns-translation.$(OBJEXT) fork__pidns_translation_LDADD = $(LDADD) -fork__pidns_translation_DEPENDENCIES = libtests.a +fork__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fork_f_SOURCES = fork-f.c fork_f_OBJECTS = fork-f.$(OBJEXT) fork_f_LDADD = $(LDADD) -fork_f_DEPENDENCIES = libtests.a +fork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_SOURCES = fsconfig.c fsconfig_OBJECTS = fsconfig.$(OBJEXT) fsconfig_LDADD = $(LDADD) -fsconfig_DEPENDENCIES = libtests.a +fsconfig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_P_SOURCES = fsconfig-P.c fsconfig_P_OBJECTS = fsconfig-P.$(OBJEXT) fsconfig_P_LDADD = $(LDADD) -fsconfig_P_DEPENDENCIES = libtests.a +fsconfig_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsmount_SOURCES = fsmount.c fsmount_OBJECTS = fsmount.$(OBJEXT) fsmount_LDADD = $(LDADD) -fsmount_DEPENDENCIES = libtests.a +fsmount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsopen_SOURCES = fsopen.c fsopen_OBJECTS = fsopen.$(OBJEXT) fsopen_LDADD = $(LDADD) -fsopen_DEPENDENCIES = libtests.a +fsopen_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_SOURCES = fspick.c fspick_OBJECTS = fspick.$(OBJEXT) fspick_LDADD = $(LDADD) -fspick_DEPENDENCIES = libtests.a +fspick_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_P_SOURCES = fspick-P.c fspick_P_OBJECTS = fspick-P.$(OBJEXT) fspick_P_LDADD = $(LDADD) -fspick_P_DEPENDENCIES = libtests.a +fspick_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_SOURCES = fstat.c fstat_OBJECTS = fstat.$(OBJEXT) fstat_LDADD = $(LDADD) -fstat_DEPENDENCIES = libtests.a +fstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xabbrev_SOURCES = fstat-Xabbrev.c fstat_Xabbrev_OBJECTS = fstat-Xabbrev.$(OBJEXT) fstat_Xabbrev_LDADD = $(LDADD) -fstat_Xabbrev_DEPENDENCIES = libtests.a +fstat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xraw_SOURCES = fstat-Xraw.c fstat_Xraw_OBJECTS = fstat-Xraw.$(OBJEXT) fstat_Xraw_LDADD = $(LDADD) -fstat_Xraw_DEPENDENCIES = libtests.a +fstat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xverbose_SOURCES = fstat-Xverbose.c fstat_Xverbose_OBJECTS = fstat-Xverbose.$(OBJEXT) fstat_Xverbose_LDADD = $(LDADD) -fstat_Xverbose_DEPENDENCIES = libtests.a +fstat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_SOURCES = fstat64.c fstat64_OBJECTS = fstat64-fstat64.$(OBJEXT) fstat64_LDADD = $(LDADD) -fstat64_DEPENDENCIES = libtests.a +fstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xabbrev_SOURCES = fstat64-Xabbrev.c fstat64_Xabbrev_OBJECTS = fstat64-Xabbrev.$(OBJEXT) fstat64_Xabbrev_LDADD = $(LDADD) -fstat64_Xabbrev_DEPENDENCIES = libtests.a +fstat64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xraw_SOURCES = fstat64-Xraw.c fstat64_Xraw_OBJECTS = fstat64-Xraw.$(OBJEXT) fstat64_Xraw_LDADD = $(LDADD) -fstat64_Xraw_DEPENDENCIES = libtests.a +fstat64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xverbose_SOURCES = fstat64-Xverbose.c fstat64_Xverbose_OBJECTS = fstat64-Xverbose.$(OBJEXT) fstat64_Xverbose_LDADD = $(LDADD) -fstat64_Xverbose_DEPENDENCIES = libtests.a +fstat64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatat64_SOURCES = fstatat64.c fstatat64_OBJECTS = fstatat64-fstatat64.$(OBJEXT) fstatat64_LDADD = $(LDADD) -fstatat64_DEPENDENCIES = libtests.a +fstatat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs_SOURCES = fstatfs.c fstatfs_OBJECTS = fstatfs.$(OBJEXT) fstatfs_LDADD = $(LDADD) -fstatfs_DEPENDENCIES = libtests.a +fstatfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs64_SOURCES = fstatfs64.c fstatfs64_OBJECTS = fstatfs64.$(OBJEXT) fstatfs64_LDADD = $(LDADD) -fstatfs64_DEPENDENCIES = libtests.a +fstatfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_SOURCES = fsync.c fsync_OBJECTS = fsync.$(OBJEXT) fsync_LDADD = $(LDADD) -fsync_DEPENDENCIES = libtests.a +fsync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_y_SOURCES = fsync-y.c fsync_y_OBJECTS = fsync-y.$(OBJEXT) fsync_y_LDADD = $(LDADD) -fsync_y_DEPENDENCIES = libtests.a +fsync_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate_SOURCES = ftruncate.c ftruncate_OBJECTS = ftruncate.$(OBJEXT) ftruncate_LDADD = $(LDADD) -ftruncate_DEPENDENCIES = libtests.a +ftruncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate64_SOURCES = ftruncate64.c ftruncate64_OBJECTS = ftruncate64-ftruncate64.$(OBJEXT) ftruncate64_LDADD = $(LDADD) -ftruncate64_DEPENDENCIES = libtests.a +ftruncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futex_SOURCES = futex.c futex_OBJECTS = futex.$(OBJEXT) futex_LDADD = $(LDADD) -futex_DEPENDENCIES = libtests.a +futex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +futex_waitv_SOURCES = futex_waitv.c +futex_waitv_OBJECTS = futex_waitv.$(OBJEXT) +futex_waitv_LDADD = $(LDADD) +futex_waitv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futimesat_SOURCES = futimesat.c futimesat_OBJECTS = futimesat.$(OBJEXT) futimesat_LDADD = $(LDADD) -futimesat_DEPENDENCIES = libtests.a +futimesat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_mempolicy_SOURCES = get_mempolicy.c get_mempolicy_OBJECTS = get_mempolicy.$(OBJEXT) get_mempolicy_LDADD = $(LDADD) -get_mempolicy_DEPENDENCIES = libtests.a +get_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_process_reaper_SOURCES = get_process_reaper.c get_process_reaper_OBJECTS = get_process_reaper.$(OBJEXT) get_process_reaper_LDADD = $(LDADD) -get_process_reaper_DEPENDENCIES = libtests.a +get_process_reaper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcpu_SOURCES = getcpu.c getcpu_OBJECTS = getcpu.$(OBJEXT) getcpu_LDADD = $(LDADD) -getcpu_DEPENDENCIES = libtests.a +getcpu_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcwd_SOURCES = getcwd.c getcwd_OBJECTS = getcwd.$(OBJEXT) getcwd_LDADD = $(LDADD) -getcwd_DEPENDENCIES = libtests.a +getcwd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_SOURCES = getdents.c getdents_OBJECTS = getdents.$(OBJEXT) getdents_LDADD = $(LDADD) -getdents_DEPENDENCIES = libtests.a +getdents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_v_SOURCES = getdents-v.c getdents_v_OBJECTS = getdents-v.$(OBJEXT) getdents_v_LDADD = $(LDADD) -getdents_v_DEPENDENCIES = libtests.a +getdents_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_SOURCES = getdents64.c getdents64_OBJECTS = getdents64.$(OBJEXT) getdents64_LDADD = $(LDADD) -getdents64_DEPENDENCIES = libtests.a +getdents64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_v_SOURCES = getdents64-v.c getdents64_v_OBJECTS = getdents64-v.$(OBJEXT) getdents64_v_LDADD = $(LDADD) -getdents64_v_DEPENDENCIES = libtests.a +getdents64_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid_SOURCES = getegid.c getegid_OBJECTS = getegid.$(OBJEXT) getegid_LDADD = $(LDADD) -getegid_DEPENDENCIES = libtests.a +getegid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid32_SOURCES = getegid32.c getegid32_OBJECTS = getegid32.$(OBJEXT) getegid32_LDADD = $(LDADD) -getegid32_DEPENDENCIES = libtests.a +getegid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid_SOURCES = geteuid.c geteuid_OBJECTS = geteuid.$(OBJEXT) geteuid_LDADD = $(LDADD) -geteuid_DEPENDENCIES = libtests.a +geteuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid32_SOURCES = geteuid32.c geteuid32_OBJECTS = geteuid32.$(OBJEXT) geteuid32_LDADD = $(LDADD) -geteuid32_DEPENDENCIES = libtests.a +geteuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid_SOURCES = getgid.c getgid_OBJECTS = getgid.$(OBJEXT) getgid_LDADD = $(LDADD) -getgid_DEPENDENCIES = libtests.a +getgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid32_SOURCES = getgid32.c getgid32_OBJECTS = getgid32.$(OBJEXT) getgid32_LDADD = $(LDADD) -getgid32_DEPENDENCIES = libtests.a +getgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups_SOURCES = getgroups.c getgroups_OBJECTS = getgroups.$(OBJEXT) getgroups_LDADD = $(LDADD) -getgroups_DEPENDENCIES = libtests.a +getgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups32_SOURCES = getgroups32.c getgroups32_OBJECTS = getgroups32.$(OBJEXT) getgroups32_LDADD = $(LDADD) -getgroups32_DEPENDENCIES = libtests.a +getgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpeername_SOURCES = getpeername.c getpeername_OBJECTS = getpeername.$(OBJEXT) getpeername_LDADD = $(LDADD) -getpeername_DEPENDENCIES = libtests.a +getpeername_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp_SOURCES = getpgrp.c getpgrp_OBJECTS = getpgrp.$(OBJEXT) getpgrp_LDADD = $(LDADD) -getpgrp_DEPENDENCIES = libtests.a +getpgrp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp__pidns_translation_SOURCES = getpgrp--pidns-translation.c getpgrp__pidns_translation_OBJECTS = \ getpgrp--pidns-translation.$(OBJEXT) getpgrp__pidns_translation_LDADD = $(LDADD) -getpgrp__pidns_translation_DEPENDENCIES = libtests.a +getpgrp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getpid_SOURCES = getpid.c getpid_OBJECTS = getpid.$(OBJEXT) getpid_LDADD = $(LDADD) -getpid_DEPENDENCIES = libtests.a +getpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpid__pidns_translation_SOURCES = getpid--pidns-translation.c getpid__pidns_translation_OBJECTS = \ getpid--pidns-translation.$(OBJEXT) getpid__pidns_translation_LDADD = $(LDADD) -getpid__pidns_translation_DEPENDENCIES = libtests.a +getpid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getppid_SOURCES = getppid.c getppid_OBJECTS = getppid.$(OBJEXT) getppid_LDADD = $(LDADD) -getppid_DEPENDENCIES = libtests.a +getppid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrandom_SOURCES = getrandom.c getrandom_OBJECTS = getrandom.$(OBJEXT) getrandom_LDADD = $(LDADD) -getrandom_DEPENDENCIES = libtests.a +getrandom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid_SOURCES = getresgid.c getresgid_OBJECTS = getresgid.$(OBJEXT) getresgid_LDADD = $(LDADD) -getresgid_DEPENDENCIES = libtests.a +getresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid32_SOURCES = getresgid32.c getresgid32_OBJECTS = getresgid32.$(OBJEXT) getresgid32_LDADD = $(LDADD) -getresgid32_DEPENDENCIES = libtests.a +getresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid_SOURCES = getresuid.c getresuid_OBJECTS = getresuid.$(OBJEXT) getresuid_LDADD = $(LDADD) -getresuid_DEPENDENCIES = libtests.a +getresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid32_SOURCES = getresuid32.c getresuid32_OBJECTS = getresuid32.$(OBJEXT) getresuid32_LDADD = $(LDADD) -getresuid32_DEPENDENCIES = libtests.a +getresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrlimit_SOURCES = getrlimit.c getrlimit_OBJECTS = getrlimit.$(OBJEXT) getrlimit_LDADD = $(LDADD) -getrlimit_DEPENDENCIES = libtests.a +getrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrusage_SOURCES = getrusage.c getrusage_OBJECTS = getrusage.$(OBJEXT) getrusage_LDADD = $(LDADD) -getrusage_DEPENDENCIES = libtests.a +getrusage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid_SOURCES = getsid.c getsid_OBJECTS = getsid.$(OBJEXT) getsid_LDADD = $(LDADD) -getsid_DEPENDENCIES = libtests.a +getsid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid__pidns_translation_SOURCES = getsid--pidns-translation.c getsid__pidns_translation_OBJECTS = \ getsid--pidns-translation.$(OBJEXT) getsid__pidns_translation_LDADD = $(LDADD) -getsid__pidns_translation_DEPENDENCIES = libtests.a +getsid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getsockname_SOURCES = getsockname.c getsockname_OBJECTS = getsockname.$(OBJEXT) getsockname_LDADD = $(LDADD) -getsockname_DEPENDENCIES = libtests.a +getsockname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +getsockname__secontext_SOURCES = getsockname--secontext.c +getsockname__secontext_OBJECTS = getsockname--secontext.$(OBJEXT) +getsockname__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_SOURCES = getsockname--secontext_full.c +getsockname__secontext_full_OBJECTS = \ + getsockname--secontext_full.$(OBJEXT) +getsockname__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_mismatch_SOURCES = \ + getsockname--secontext_full_mismatch.c +getsockname__secontext_full_mismatch_OBJECTS = \ + getsockname--secontext_full_mismatch.$(OBJEXT) +getsockname__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +getsockname__secontext_mismatch_SOURCES = \ + getsockname--secontext_mismatch.c +getsockname__secontext_mismatch_OBJECTS = \ + getsockname--secontext_mismatch.$(OBJEXT) +getsockname__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) gettid_SOURCES = gettid.c gettid_OBJECTS = gettid.$(OBJEXT) gettid_LDADD = $(LDADD) -gettid_DEPENDENCIES = libtests.a +gettid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) gettid__pidns_translation_SOURCES = gettid--pidns-translation.c gettid__pidns_translation_OBJECTS = \ gettid--pidns-translation.$(OBJEXT) gettid__pidns_translation_LDADD = $(LDADD) -gettid__pidns_translation_DEPENDENCIES = libtests.a +gettid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getuid_SOURCES = getuid.c getuid_OBJECTS = getuid.$(OBJEXT) getuid_LDADD = $(LDADD) -getuid_DEPENDENCIES = libtests.a +getuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getuid32_SOURCES = getuid32.c getuid32_OBJECTS = getuid32.$(OBJEXT) getuid32_LDADD = $(LDADD) -getuid32_DEPENDENCIES = libtests.a +getuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxgid_SOURCES = getxgid.c getxgid_OBJECTS = getxgid.$(OBJEXT) getxgid_LDADD = $(LDADD) -getxgid_DEPENDENCIES = libtests.a +getxgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxpid_SOURCES = getxpid.c getxpid_OBJECTS = getxpid.$(OBJEXT) getxpid_LDADD = $(LDADD) -getxpid_DEPENDENCIES = libtests.a +getxpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxuid_SOURCES = getxuid.c getxuid_OBJECTS = getxuid.$(OBJEXT) getxuid_LDADD = $(LDADD) -getxuid_DEPENDENCIES = libtests.a +getxuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) group_req_SOURCES = group_req.c group_req_OBJECTS = group_req.$(OBJEXT) group_req_LDADD = $(LDADD) -group_req_DEPENDENCIES = libtests.a +group_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inet_cmsg_SOURCES = inet-cmsg.c inet_cmsg_OBJECTS = inet-cmsg.$(OBJEXT) inet_cmsg_LDADD = $(LDADD) -inet_cmsg_DEPENDENCIES = libtests.a +inet_cmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) init_module_SOURCES = init_module.c init_module_OBJECTS = init_module.$(OBJEXT) init_module_LDADD = $(LDADD) -init_module_DEPENDENCIES = libtests.a +init_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inject_nf_SOURCES = inject-nf.c inject_nf_OBJECTS = inject-nf.$(OBJEXT) inject_nf_LDADD = $(LDADD) -inject_nf_DEPENDENCIES = libtests.a +inject_nf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_SOURCES = inotify.c inotify_OBJECTS = inotify.$(OBJEXT) inotify_LDADD = $(LDADD) -inotify_DEPENDENCIES = libtests.a +inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_SOURCES = inotify_init.c inotify_init_OBJECTS = inotify_init.$(OBJEXT) inotify_init_LDADD = $(LDADD) -inotify_init_DEPENDENCIES = libtests.a +inotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_y_SOURCES = inotify_init-y.c inotify_init_y_OBJECTS = inotify_init-y.$(OBJEXT) inotify_init_y_LDADD = $(LDADD) -inotify_init_y_DEPENDENCIES = libtests.a +inotify_init_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_SOURCES = inotify_init1.c inotify_init1_OBJECTS = inotify_init1.$(OBJEXT) inotify_init1_LDADD = $(LDADD) -inotify_init1_DEPENDENCIES = libtests.a +inotify_init1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_y_SOURCES = inotify_init1-y.c inotify_init1_y_OBJECTS = inotify_init1-y.$(OBJEXT) inotify_init1_y_LDADD = $(LDADD) -inotify_init1_y_DEPENDENCIES = libtests.a +inotify_init1_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) int_0x80_SOURCES = int_0x80.c int_0x80_OBJECTS = int_0x80.$(OBJEXT) int_0x80_LDADD = $(LDADD) -int_0x80_DEPENDENCIES = libtests.a +int_0x80_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_enter_SOURCES = io_uring_enter.c io_uring_enter_OBJECTS = io_uring_enter.$(OBJEXT) io_uring_enter_LDADD = $(LDADD) -io_uring_enter_DEPENDENCIES = libtests.a +io_uring_enter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_register_SOURCES = io_uring_register.c io_uring_register_OBJECTS = io_uring_register.$(OBJEXT) io_uring_register_LDADD = $(LDADD) -io_uring_register_DEPENDENCIES = libtests.a +io_uring_register_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xabbrev_SOURCES = io_uring_register-Xabbrev.c +io_uring_register_Xabbrev_OBJECTS = \ + io_uring_register-Xabbrev.$(OBJEXT) +io_uring_register_Xabbrev_LDADD = $(LDADD) +io_uring_register_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_Xraw_SOURCES = io_uring_register-Xraw.c +io_uring_register_Xraw_OBJECTS = io_uring_register-Xraw.$(OBJEXT) +io_uring_register_Xraw_LDADD = $(LDADD) +io_uring_register_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xverbose_SOURCES = io_uring_register-Xverbose.c +io_uring_register_Xverbose_OBJECTS = \ + io_uring_register-Xverbose.$(OBJEXT) +io_uring_register_Xverbose_LDADD = $(LDADD) +io_uring_register_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_SOURCES = io_uring_register-success.c +io_uring_register_success_OBJECTS = \ + io_uring_register-success.$(OBJEXT) +io_uring_register_success_LDADD = $(LDADD) +io_uring_register_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xabbrev_SOURCES = \ + io_uring_register-success-Xabbrev.c +io_uring_register_success_Xabbrev_OBJECTS = \ + io_uring_register-success-Xabbrev.$(OBJEXT) +io_uring_register_success_Xabbrev_LDADD = $(LDADD) +io_uring_register_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xraw_SOURCES = \ + io_uring_register-success-Xraw.c +io_uring_register_success_Xraw_OBJECTS = \ + io_uring_register-success-Xraw.$(OBJEXT) +io_uring_register_success_Xraw_LDADD = $(LDADD) +io_uring_register_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xverbose_SOURCES = \ + io_uring_register-success-Xverbose.c +io_uring_register_success_Xverbose_OBJECTS = \ + io_uring_register-success-Xverbose.$(OBJEXT) +io_uring_register_success_Xverbose_LDADD = $(LDADD) +io_uring_register_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) io_uring_setup_SOURCES = io_uring_setup.c io_uring_setup_OBJECTS = io_uring_setup.$(OBJEXT) io_uring_setup_LDADD = $(LDADD) -io_uring_setup_DEPENDENCIES = libtests.a +io_uring_setup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_SOURCES = ioctl.c ioctl_OBJECTS = ioctl.$(OBJEXT) ioctl_LDADD = $(LDADD) -ioctl_DEPENDENCIES = libtests.a +ioctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block_SOURCES = ioctl_block.c ioctl_block_OBJECTS = ioctl_block.$(OBJEXT) ioctl_block_LDADD = $(LDADD) -ioctl_block_DEPENDENCIES = libtests.a +ioctl_block_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block__pidns_translation_SOURCES = \ ioctl_block--pidns-translation.c ioctl_block__pidns_translation_OBJECTS = \ ioctl_block--pidns-translation.$(OBJEXT) ioctl_block__pidns_translation_LDADD = $(LDADD) -ioctl_block__pidns_translation_DEPENDENCIES = libtests.a +ioctl_block__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_counter_SOURCES = ioctl_counter.c +ioctl_counter_OBJECTS = ioctl_counter.$(OBJEXT) +ioctl_counter_LDADD = $(LDADD) +ioctl_counter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xabbrev_SOURCES = ioctl_counter-Xabbrev.c +ioctl_counter_Xabbrev_OBJECTS = ioctl_counter-Xabbrev.$(OBJEXT) +ioctl_counter_Xabbrev_LDADD = $(LDADD) +ioctl_counter_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xraw_SOURCES = ioctl_counter-Xraw.c +ioctl_counter_Xraw_OBJECTS = ioctl_counter-Xraw.$(OBJEXT) +ioctl_counter_Xraw_LDADD = $(LDADD) +ioctl_counter_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xverbose_SOURCES = ioctl_counter-Xverbose.c +ioctl_counter_Xverbose_OBJECTS = ioctl_counter-Xverbose.$(OBJEXT) +ioctl_counter_Xverbose_LDADD = $(LDADD) +ioctl_counter_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_SOURCES = ioctl_dm.c ioctl_dm_OBJECTS = ioctl_dm.$(OBJEXT) ioctl_dm_LDADD = $(LDADD) -ioctl_dm_DEPENDENCIES = libtests.a +ioctl_dm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_v_SOURCES = ioctl_dm-v.c ioctl_dm_v_OBJECTS = ioctl_dm-v.$(OBJEXT) ioctl_dm_v_LDADD = $(LDADD) -ioctl_dm_v_DEPENDENCIES = libtests.a +ioctl_dm_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_SOURCES = ioctl_evdev.c ioctl_evdev_OBJECTS = ioctl_evdev.$(OBJEXT) ioctl_evdev_LDADD = $(LDADD) -ioctl_evdev_DEPENDENCIES = libtests.a +ioctl_evdev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xabbrev_SOURCES = ioctl_evdev-Xabbrev.c ioctl_evdev_Xabbrev_OBJECTS = ioctl_evdev-Xabbrev.$(OBJEXT) ioctl_evdev_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xraw_SOURCES = ioctl_evdev-Xraw.c ioctl_evdev_Xraw_OBJECTS = ioctl_evdev-Xraw.$(OBJEXT) ioctl_evdev_Xraw_LDADD = $(LDADD) -ioctl_evdev_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xverbose_SOURCES = ioctl_evdev-Xverbose.c ioctl_evdev_Xverbose_OBJECTS = ioctl_evdev-Xverbose.$(OBJEXT) ioctl_evdev_Xverbose_LDADD = $(LDADD) -ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_SOURCES = ioctl_evdev-success.c ioctl_evdev_success_OBJECTS = ioctl_evdev-success.$(OBJEXT) ioctl_evdev_success_LDADD = $(LDADD) -ioctl_evdev_success_DEPENDENCIES = libtests.a +ioctl_evdev_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_Xabbrev_SOURCES = ioctl_evdev-success-Xabbrev.c ioctl_evdev_success_Xabbrev_OBJECTS = \ ioctl_evdev-success-Xabbrev.$(OBJEXT) ioctl_evdev_success_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xraw_SOURCES = ioctl_evdev-success-Xraw.c ioctl_evdev_success_Xraw_OBJECTS = ioctl_evdev-success-Xraw.$(OBJEXT) ioctl_evdev_success_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xverbose_SOURCES = ioctl_evdev-success-Xverbose.c ioctl_evdev_success_Xverbose_OBJECTS = \ ioctl_evdev-success-Xverbose.$(OBJEXT) ioctl_evdev_success_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_SOURCES = ioctl_evdev-success-v.c ioctl_evdev_success_v_OBJECTS = ioctl_evdev-success-v.$(OBJEXT) ioctl_evdev_success_v_LDADD = $(LDADD) -ioctl_evdev_success_v_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xabbrev_SOURCES = \ ioctl_evdev-success-v-Xabbrev.c ioctl_evdev_success_v_Xabbrev_OBJECTS = \ ioctl_evdev-success-v-Xabbrev.$(OBJEXT) ioctl_evdev_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xraw_SOURCES = ioctl_evdev-success-v-Xraw.c ioctl_evdev_success_v_Xraw_OBJECTS = \ ioctl_evdev-success-v-Xraw.$(OBJEXT) ioctl_evdev_success_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xverbose_SOURCES = \ ioctl_evdev-success-v-Xverbose.c ioctl_evdev_success_v_Xverbose_OBJECTS = \ ioctl_evdev-success-v-Xverbose.$(OBJEXT) ioctl_evdev_success_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_v_SOURCES = ioctl_evdev-v.c ioctl_evdev_v_OBJECTS = ioctl_evdev-v.$(OBJEXT) ioctl_evdev_v_LDADD = $(LDADD) -ioctl_evdev_v_DEPENDENCIES = libtests.a +ioctl_evdev_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xabbrev_SOURCES = ioctl_evdev-v-Xabbrev.c ioctl_evdev_v_Xabbrev_OBJECTS = ioctl_evdev-v-Xabbrev.$(OBJEXT) ioctl_evdev_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xraw_SOURCES = ioctl_evdev-v-Xraw.c ioctl_evdev_v_Xraw_OBJECTS = ioctl_evdev-v-Xraw.$(OBJEXT) ioctl_evdev_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xverbose_SOURCES = ioctl_evdev-v-Xverbose.c ioctl_evdev_v_Xverbose_OBJECTS = ioctl_evdev-v-Xverbose.$(OBJEXT) ioctl_evdev_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_SOURCES = ioctl_fiemap.c ioctl_fiemap_OBJECTS = ioctl_fiemap.$(OBJEXT) ioctl_fiemap_LDADD = $(LDADD) -ioctl_fiemap_DEPENDENCIES = libtests.a +ioctl_fiemap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xabbrev_SOURCES = ioctl_fiemap-Xabbrev.c ioctl_fiemap_Xabbrev_OBJECTS = ioctl_fiemap-Xabbrev.$(OBJEXT) ioctl_fiemap_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xraw_SOURCES = ioctl_fiemap-Xraw.c ioctl_fiemap_Xraw_OBJECTS = ioctl_fiemap-Xraw.$(OBJEXT) ioctl_fiemap_Xraw_LDADD = $(LDADD) -ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xverbose_SOURCES = ioctl_fiemap-Xverbose.c ioctl_fiemap_Xverbose_OBJECTS = ioctl_fiemap-Xverbose.$(OBJEXT) ioctl_fiemap_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_SOURCES = ioctl_fiemap-success.c ioctl_fiemap_success_OBJECTS = ioctl_fiemap-success.$(OBJEXT) ioctl_fiemap_success_LDADD = $(LDADD) -ioctl_fiemap_success_DEPENDENCIES = libtests.a +ioctl_fiemap_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xabbrev_SOURCES = ioctl_fiemap-success-Xabbrev.c ioctl_fiemap_success_Xabbrev_OBJECTS = \ ioctl_fiemap-success-Xabbrev.$(OBJEXT) ioctl_fiemap_success_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xraw_SOURCES = ioctl_fiemap-success-Xraw.c ioctl_fiemap_success_Xraw_OBJECTS = \ ioctl_fiemap-success-Xraw.$(OBJEXT) ioctl_fiemap_success_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xverbose_SOURCES = \ ioctl_fiemap-success-Xverbose.c ioctl_fiemap_success_Xverbose_OBJECTS = \ ioctl_fiemap-success-Xverbose.$(OBJEXT) ioctl_fiemap_success_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_SOURCES = ioctl_fiemap-success-v.c ioctl_fiemap_success_v_OBJECTS = ioctl_fiemap-success-v.$(OBJEXT) ioctl_fiemap_success_v_LDADD = $(LDADD) -ioctl_fiemap_success_v_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xabbrev_SOURCES = \ ioctl_fiemap-success-v-Xabbrev.c ioctl_fiemap_success_v_Xabbrev_OBJECTS = \ ioctl_fiemap-success-v-Xabbrev.$(OBJEXT) ioctl_fiemap_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xraw_SOURCES = ioctl_fiemap-success-v-Xraw.c ioctl_fiemap_success_v_Xraw_OBJECTS = \ ioctl_fiemap-success-v-Xraw.$(OBJEXT) ioctl_fiemap_success_v_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xverbose_SOURCES = \ ioctl_fiemap-success-v-Xverbose.c ioctl_fiemap_success_v_Xverbose_OBJECTS = \ ioctl_fiemap-success-v-Xverbose.$(OBJEXT) ioctl_fiemap_success_v_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_f_SOURCES = ioctl_fs_f.c ioctl_fs_f_OBJECTS = ioctl_fs_f.$(OBJEXT) ioctl_fs_f_LDADD = $(LDADD) -ioctl_fs_f_DEPENDENCIES = libtests.a +ioctl_fs_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xabbrev_SOURCES = ioctl_fs_f-Xabbrev.c ioctl_fs_f_Xabbrev_OBJECTS = ioctl_fs_f-Xabbrev.$(OBJEXT) ioctl_fs_f_Xabbrev_LDADD = $(LDADD) -ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xraw_SOURCES = ioctl_fs_f-Xraw.c ioctl_fs_f_Xraw_OBJECTS = ioctl_fs_f-Xraw.$(OBJEXT) ioctl_fs_f_Xraw_LDADD = $(LDADD) -ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xverbose_SOURCES = ioctl_fs_f-Xverbose.c ioctl_fs_f_Xverbose_OBJECTS = ioctl_fs_f-Xverbose.$(OBJEXT) ioctl_fs_f_Xverbose_LDADD = $(LDADD) -ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_SOURCES = ioctl_fs_x.c ioctl_fs_x_OBJECTS = ioctl_fs_x.$(OBJEXT) ioctl_fs_x_LDADD = $(LDADD) -ioctl_fs_x_DEPENDENCIES = libtests.a +ioctl_fs_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xabbrev_SOURCES = ioctl_fs_x-Xabbrev.c ioctl_fs_x_Xabbrev_OBJECTS = ioctl_fs_x-Xabbrev.$(OBJEXT) ioctl_fs_x_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xraw_SOURCES = ioctl_fs_x-Xraw.c ioctl_fs_x_Xraw_OBJECTS = ioctl_fs_x-Xraw.$(OBJEXT) ioctl_fs_x_Xraw_LDADD = $(LDADD) -ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xverbose_SOURCES = ioctl_fs_x-Xverbose.c ioctl_fs_x_Xverbose_OBJECTS = ioctl_fs_x-Xverbose.$(OBJEXT) ioctl_fs_x_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_SOURCES = ioctl_fs_x-success.c ioctl_fs_x_success_OBJECTS = ioctl_fs_x-success.$(OBJEXT) ioctl_fs_x_success_LDADD = $(LDADD) -ioctl_fs_x_success_DEPENDENCIES = libtests.a +ioctl_fs_x_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xabbrev_SOURCES = ioctl_fs_x-success-Xabbrev.c ioctl_fs_x_success_Xabbrev_OBJECTS = \ ioctl_fs_x-success-Xabbrev.$(OBJEXT) ioctl_fs_x_success_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xraw_SOURCES = ioctl_fs_x-success-Xraw.c ioctl_fs_x_success_Xraw_OBJECTS = ioctl_fs_x-success-Xraw.$(OBJEXT) ioctl_fs_x_success_Xraw_LDADD = $(LDADD) -ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xverbose_SOURCES = ioctl_fs_x-success-Xverbose.c ioctl_fs_x_success_Xverbose_OBJECTS = \ ioctl_fs_x-success-Xverbose.$(OBJEXT) ioctl_fs_x_success_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_SOURCES = ioctl_gpio.c ioctl_gpio_OBJECTS = ioctl_gpio.$(OBJEXT) ioctl_gpio_LDADD = $(LDADD) -ioctl_gpio_DEPENDENCIES = libtests.a +ioctl_gpio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xabbrev_SOURCES = ioctl_gpio-Xabbrev.c ioctl_gpio_Xabbrev_OBJECTS = ioctl_gpio-Xabbrev.$(OBJEXT) ioctl_gpio_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xraw_SOURCES = ioctl_gpio-Xraw.c ioctl_gpio_Xraw_OBJECTS = ioctl_gpio-Xraw.$(OBJEXT) ioctl_gpio_Xraw_LDADD = $(LDADD) -ioctl_gpio_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xverbose_SOURCES = ioctl_gpio-Xverbose.c ioctl_gpio_Xverbose_OBJECTS = ioctl_gpio-Xverbose.$(OBJEXT) ioctl_gpio_Xverbose_LDADD = $(LDADD) -ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_SOURCES = ioctl_gpio-success.c ioctl_gpio_success_OBJECTS = ioctl_gpio-success.$(OBJEXT) ioctl_gpio_success_LDADD = $(LDADD) -ioctl_gpio_success_DEPENDENCIES = libtests.a +ioctl_gpio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_Xabbrev_SOURCES = ioctl_gpio-success-Xabbrev.c ioctl_gpio_success_Xabbrev_OBJECTS = \ ioctl_gpio-success-Xabbrev.$(OBJEXT) ioctl_gpio_success_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xraw_SOURCES = ioctl_gpio-success-Xraw.c ioctl_gpio_success_Xraw_OBJECTS = ioctl_gpio-success-Xraw.$(OBJEXT) ioctl_gpio_success_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xverbose_SOURCES = ioctl_gpio-success-Xverbose.c ioctl_gpio_success_Xverbose_OBJECTS = \ ioctl_gpio-success-Xverbose.$(OBJEXT) ioctl_gpio_success_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_SOURCES = ioctl_gpio-success-v.c ioctl_gpio_success_v_OBJECTS = ioctl_gpio-success-v.$(OBJEXT) ioctl_gpio_success_v_LDADD = $(LDADD) -ioctl_gpio_success_v_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xabbrev_SOURCES = ioctl_gpio-success-v-Xabbrev.c ioctl_gpio_success_v_Xabbrev_OBJECTS = \ ioctl_gpio-success-v-Xabbrev.$(OBJEXT) ioctl_gpio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xraw_SOURCES = ioctl_gpio-success-v-Xraw.c ioctl_gpio_success_v_Xraw_OBJECTS = \ ioctl_gpio-success-v-Xraw.$(OBJEXT) ioctl_gpio_success_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xverbose_SOURCES = \ ioctl_gpio-success-v-Xverbose.c ioctl_gpio_success_v_Xverbose_OBJECTS = \ ioctl_gpio-success-v-Xverbose.$(OBJEXT) ioctl_gpio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_v_SOURCES = ioctl_gpio-v.c ioctl_gpio_v_OBJECTS = ioctl_gpio-v.$(OBJEXT) ioctl_gpio_v_LDADD = $(LDADD) -ioctl_gpio_v_DEPENDENCIES = libtests.a +ioctl_gpio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xabbrev_SOURCES = ioctl_gpio-v-Xabbrev.c ioctl_gpio_v_Xabbrev_OBJECTS = ioctl_gpio-v-Xabbrev.$(OBJEXT) ioctl_gpio_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xraw_SOURCES = ioctl_gpio-v-Xraw.c ioctl_gpio_v_Xraw_OBJECTS = ioctl_gpio-v-Xraw.$(OBJEXT) ioctl_gpio_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xverbose_SOURCES = ioctl_gpio-v-Xverbose.c ioctl_gpio_v_Xverbose_OBJECTS = ioctl_gpio-v-Xverbose.$(OBJEXT) ioctl_gpio_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_SOURCES = ioctl_hdio.c ioctl_hdio_OBJECTS = ioctl_hdio.$(OBJEXT) ioctl_hdio_LDADD = $(LDADD) -ioctl_hdio_DEPENDENCIES = libtests.a +ioctl_hdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xabbrev_SOURCES = ioctl_hdio-Xabbrev.c ioctl_hdio_Xabbrev_OBJECTS = ioctl_hdio-Xabbrev.$(OBJEXT) ioctl_hdio_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xraw_SOURCES = ioctl_hdio-Xraw.c ioctl_hdio_Xraw_OBJECTS = ioctl_hdio-Xraw.$(OBJEXT) ioctl_hdio_Xraw_LDADD = $(LDADD) -ioctl_hdio_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xverbose_SOURCES = ioctl_hdio-Xverbose.c ioctl_hdio_Xverbose_OBJECTS = ioctl_hdio-Xverbose.$(OBJEXT) ioctl_hdio_Xverbose_LDADD = $(LDADD) -ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_SOURCES = ioctl_hdio-success.c ioctl_hdio_success_OBJECTS = ioctl_hdio-success.$(OBJEXT) ioctl_hdio_success_LDADD = $(LDADD) -ioctl_hdio_success_DEPENDENCIES = libtests.a +ioctl_hdio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_Xabbrev_SOURCES = ioctl_hdio-success-Xabbrev.c ioctl_hdio_success_Xabbrev_OBJECTS = \ ioctl_hdio-success-Xabbrev.$(OBJEXT) ioctl_hdio_success_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xraw_SOURCES = ioctl_hdio-success-Xraw.c ioctl_hdio_success_Xraw_OBJECTS = ioctl_hdio-success-Xraw.$(OBJEXT) ioctl_hdio_success_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xverbose_SOURCES = ioctl_hdio-success-Xverbose.c ioctl_hdio_success_Xverbose_OBJECTS = \ ioctl_hdio-success-Xverbose.$(OBJEXT) ioctl_hdio_success_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_SOURCES = ioctl_hdio-success-v.c ioctl_hdio_success_v_OBJECTS = ioctl_hdio-success-v.$(OBJEXT) ioctl_hdio_success_v_LDADD = $(LDADD) -ioctl_hdio_success_v_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xabbrev_SOURCES = ioctl_hdio-success-v-Xabbrev.c ioctl_hdio_success_v_Xabbrev_OBJECTS = \ ioctl_hdio-success-v-Xabbrev.$(OBJEXT) ioctl_hdio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xraw_SOURCES = ioctl_hdio-success-v-Xraw.c ioctl_hdio_success_v_Xraw_OBJECTS = \ ioctl_hdio-success-v-Xraw.$(OBJEXT) ioctl_hdio_success_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xverbose_SOURCES = \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio_success_v_Xverbose_OBJECTS = \ ioctl_hdio-success-v-Xverbose.$(OBJEXT) ioctl_hdio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_v_SOURCES = ioctl_hdio-v.c ioctl_hdio_v_OBJECTS = ioctl_hdio-v.$(OBJEXT) ioctl_hdio_v_LDADD = $(LDADD) -ioctl_hdio_v_DEPENDENCIES = libtests.a +ioctl_hdio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xabbrev_SOURCES = ioctl_hdio-v-Xabbrev.c ioctl_hdio_v_Xabbrev_OBJECTS = ioctl_hdio-v-Xabbrev.$(OBJEXT) ioctl_hdio_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xraw_SOURCES = ioctl_hdio-v-Xraw.c ioctl_hdio_v_Xraw_OBJECTS = ioctl_hdio-v-Xraw.$(OBJEXT) ioctl_hdio_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xverbose_SOURCES = ioctl_hdio-v-Xverbose.c ioctl_hdio_v_Xverbose_OBJECTS = ioctl_hdio-v-Xverbose.$(OBJEXT) ioctl_hdio_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_inotify_SOURCES = ioctl_inotify.c ioctl_inotify_OBJECTS = ioctl_inotify.$(OBJEXT) ioctl_inotify_LDADD = $(LDADD) -ioctl_inotify_DEPENDENCIES = libtests.a +ioctl_inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_SOURCES = ioctl_kd.c +ioctl_kd_OBJECTS = ioctl_kd.$(OBJEXT) +ioctl_kd_LDADD = $(LDADD) +ioctl_kd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xabbrev_SOURCES = ioctl_kd-Xabbrev.c +ioctl_kd_Xabbrev_OBJECTS = ioctl_kd-Xabbrev.$(OBJEXT) +ioctl_kd_Xabbrev_LDADD = $(LDADD) +ioctl_kd_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xraw_SOURCES = ioctl_kd-Xraw.c +ioctl_kd_Xraw_OBJECTS = ioctl_kd-Xraw.$(OBJEXT) +ioctl_kd_Xraw_LDADD = $(LDADD) +ioctl_kd_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xverbose_SOURCES = ioctl_kd-Xverbose.c +ioctl_kd_Xverbose_OBJECTS = ioctl_kd-Xverbose.$(OBJEXT) +ioctl_kd_Xverbose_LDADD = $(LDADD) +ioctl_kd_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_SOURCES = ioctl_kd-success.c +ioctl_kd_success_OBJECTS = ioctl_kd-success.$(OBJEXT) +ioctl_kd_success_LDADD = $(LDADD) +ioctl_kd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xabbrev_SOURCES = ioctl_kd-success-Xabbrev.c +ioctl_kd_success_Xabbrev_OBJECTS = ioctl_kd-success-Xabbrev.$(OBJEXT) +ioctl_kd_success_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_Xraw_SOURCES = ioctl_kd-success-Xraw.c +ioctl_kd_success_Xraw_OBJECTS = ioctl_kd-success-Xraw.$(OBJEXT) +ioctl_kd_success_Xraw_LDADD = $(LDADD) +ioctl_kd_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xverbose_SOURCES = ioctl_kd-success-Xverbose.c +ioctl_kd_success_Xverbose_OBJECTS = \ + ioctl_kd-success-Xverbose.$(OBJEXT) +ioctl_kd_success_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_SOURCES = ioctl_kd-success-s1024.c +ioctl_kd_success_s1024_OBJECTS = ioctl_kd-success-s1024.$(OBJEXT) +ioctl_kd_success_s1024_LDADD = $(LDADD) +ioctl_kd_success_s1024_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xabbrev_SOURCES = \ + ioctl_kd-success-s1024-Xabbrev.c +ioctl_kd_success_s1024_Xabbrev_OBJECTS = \ + ioctl_kd-success-s1024-Xabbrev.$(OBJEXT) +ioctl_kd_success_s1024_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xraw_SOURCES = ioctl_kd-success-s1024-Xraw.c +ioctl_kd_success_s1024_Xraw_OBJECTS = \ + ioctl_kd-success-s1024-Xraw.$(OBJEXT) +ioctl_kd_success_s1024_Xraw_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xverbose_SOURCES = \ + ioctl_kd-success-s1024-Xverbose.c +ioctl_kd_success_s1024_Xverbose_OBJECTS = \ + ioctl_kd-success-s1024-Xverbose.$(OBJEXT) +ioctl_kd_success_s1024_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_kvm_run_SOURCES = ioctl_kvm_run.c ioctl_kvm_run_OBJECTS = ioctl_kvm_run.$(OBJEXT) ioctl_kvm_run_LDADD = $(LDADD) -ioctl_kvm_run_DEPENDENCIES = libtests.a +ioctl_kvm_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_v_SOURCES = ioctl_kvm_run-v.c ioctl_kvm_run_v_OBJECTS = ioctl_kvm_run-v.$(OBJEXT) ioctl_kvm_run_v_LDADD = $(LDADD) -ioctl_kvm_run_v_DEPENDENCIES = libtests.a +ioctl_kvm_run_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_auxstr_vcpu_SOURCES = ioctl_kvm_run_auxstr_vcpu.c ioctl_kvm_run_auxstr_vcpu_OBJECTS = \ ioctl_kvm_run_auxstr_vcpu.$(OBJEXT) ioctl_kvm_run_auxstr_vcpu_LDADD = $(LDADD) -ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a +ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_lirc_SOURCES = ioctl_lirc.c +ioctl_lirc_OBJECTS = ioctl_lirc.$(OBJEXT) +ioctl_lirc_LDADD = $(LDADD) +ioctl_lirc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_lirc_success_SOURCES = ioctl_lirc-success.c +ioctl_lirc_success_OBJECTS = ioctl_lirc-success.$(OBJEXT) +ioctl_lirc_success_LDADD = $(LDADD) +ioctl_lirc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_SOURCES = ioctl_loop.c ioctl_loop_OBJECTS = ioctl_loop.$(OBJEXT) ioctl_loop_LDADD = $(LDADD) -ioctl_loop_DEPENDENCIES = libtests.a +ioctl_loop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_nv_SOURCES = ioctl_loop-nv.c ioctl_loop_nv_OBJECTS = ioctl_loop-nv.$(OBJEXT) ioctl_loop_nv_LDADD = $(LDADD) -ioctl_loop_nv_DEPENDENCIES = libtests.a +ioctl_loop_nv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_v_SOURCES = ioctl_loop-v.c ioctl_loop_v_OBJECTS = ioctl_loop-v.$(OBJEXT) ioctl_loop_v_LDADD = $(LDADD) -ioctl_loop_v_DEPENDENCIES = libtests.a +ioctl_loop_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_SOURCES = ioctl_mtd.c ioctl_mtd_OBJECTS = ioctl_mtd.$(OBJEXT) ioctl_mtd_LDADD = $(LDADD) -ioctl_mtd_DEPENDENCIES = libtests.a +ioctl_mtd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_success_SOURCES = ioctl_mtd-success.c ioctl_mtd_success_OBJECTS = ioctl_mtd-success.$(OBJEXT) ioctl_mtd_success_LDADD = $(LDADD) -ioctl_mtd_success_DEPENDENCIES = libtests.a +ioctl_mtd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nbd_SOURCES = ioctl_nbd.c ioctl_nbd_OBJECTS = ioctl_nbd.$(OBJEXT) ioctl_nbd_LDADD = $(LDADD) -ioctl_nbd_DEPENDENCIES = libtests.a +ioctl_nbd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nsfs_SOURCES = ioctl_nsfs.c ioctl_nsfs_OBJECTS = ioctl_nsfs.$(OBJEXT) ioctl_nsfs_LDADD = $(LDADD) -ioctl_nsfs_DEPENDENCIES = libtests.a +ioctl_nsfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_SOURCES = ioctl_perf.c ioctl_perf_OBJECTS = ioctl_perf.$(OBJEXT) ioctl_perf_LDADD = $(LDADD) -ioctl_perf_DEPENDENCIES = libtests.a +ioctl_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_success_SOURCES = ioctl_perf-success.c ioctl_perf_success_OBJECTS = ioctl_perf-success.$(OBJEXT) ioctl_perf_success_LDADD = $(LDADD) -ioctl_perf_success_DEPENDENCIES = libtests.a +ioctl_perf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ptp_SOURCES = ioctl_ptp.c ioctl_ptp_OBJECTS = ioctl_ptp.$(OBJEXT) ioctl_ptp_LDADD = $(LDADD) -ioctl_ptp_DEPENDENCIES = libtests.a +ioctl_ptp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xabbrev_SOURCES = ioctl_ptp-Xabbrev.c +ioctl_ptp_Xabbrev_OBJECTS = ioctl_ptp-Xabbrev.$(OBJEXT) +ioctl_ptp_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xraw_SOURCES = ioctl_ptp-Xraw.c +ioctl_ptp_Xraw_OBJECTS = ioctl_ptp-Xraw.$(OBJEXT) +ioctl_ptp_Xraw_LDADD = $(LDADD) +ioctl_ptp_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xverbose_SOURCES = ioctl_ptp-Xverbose.c +ioctl_ptp_Xverbose_OBJECTS = ioctl_ptp-Xverbose.$(OBJEXT) +ioctl_ptp_Xverbose_LDADD = $(LDADD) +ioctl_ptp_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_SOURCES = ioctl_ptp-success.c +ioctl_ptp_success_OBJECTS = ioctl_ptp-success.$(OBJEXT) +ioctl_ptp_success_LDADD = $(LDADD) +ioctl_ptp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xabbrev_SOURCES = ioctl_ptp-success-Xabbrev.c +ioctl_ptp_success_Xabbrev_OBJECTS = \ + ioctl_ptp-success-Xabbrev.$(OBJEXT) +ioctl_ptp_success_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xraw_SOURCES = ioctl_ptp-success-Xraw.c +ioctl_ptp_success_Xraw_OBJECTS = ioctl_ptp-success-Xraw.$(OBJEXT) +ioctl_ptp_success_Xraw_LDADD = $(LDADD) +ioctl_ptp_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xverbose_SOURCES = ioctl_ptp-success-Xverbose.c +ioctl_ptp_success_Xverbose_OBJECTS = \ + ioctl_ptp-success-Xverbose.$(OBJEXT) +ioctl_ptp_success_Xverbose_LDADD = $(LDADD) +ioctl_ptp_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_random_SOURCES = ioctl_random.c ioctl_random_OBJECTS = ioctl_random.$(OBJEXT) ioctl_random_LDADD = $(LDADD) -ioctl_random_DEPENDENCIES = libtests.a +ioctl_random_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_SOURCES = ioctl_rtc.c ioctl_rtc_OBJECTS = ioctl_rtc.$(OBJEXT) ioctl_rtc_LDADD = $(LDADD) -ioctl_rtc_DEPENDENCIES = libtests.a +ioctl_rtc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_success_SOURCES = ioctl_rtc-success.c ioctl_rtc_success_OBJECTS = ioctl_rtc-success.$(OBJEXT) ioctl_rtc_success_LDADD = $(LDADD) -ioctl_rtc_success_DEPENDENCIES = libtests.a +ioctl_rtc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_v_SOURCES = ioctl_rtc-v.c ioctl_rtc_v_OBJECTS = ioctl_rtc-v.$(OBJEXT) ioctl_rtc_v_LDADD = $(LDADD) -ioctl_rtc_v_DEPENDENCIES = libtests.a +ioctl_rtc_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_scsi_SOURCES = ioctl_scsi.c ioctl_scsi_OBJECTS = ioctl_scsi.$(OBJEXT) ioctl_scsi_LDADD = $(LDADD) -ioctl_scsi_DEPENDENCIES = libtests.a +ioctl_scsi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_SOURCES = ioctl_seccomp.c +ioctl_seccomp_OBJECTS = ioctl_seccomp.$(OBJEXT) +ioctl_seccomp_LDADD = $(LDADD) +ioctl_seccomp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp__pidns_translation_SOURCES = \ + ioctl_seccomp--pidns-translation.c +ioctl_seccomp__pidns_translation_OBJECTS = \ + ioctl_seccomp--pidns-translation.$(OBJEXT) +ioctl_seccomp__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_success_SOURCES = ioctl_seccomp-success.c +ioctl_seccomp_success_OBJECTS = ioctl_seccomp-success.$(OBJEXT) +ioctl_seccomp_success_LDADD = $(LDADD) +ioctl_seccomp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_SOURCES = ioctl_seccomp-y.c +ioctl_seccomp_y_OBJECTS = ioctl_seccomp-y.$(OBJEXT) +ioctl_seccomp_y_LDADD = $(LDADD) +ioctl_seccomp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_SOURCES = ioctl_seccomp-y-success.c +ioctl_seccomp_y_success_OBJECTS = ioctl_seccomp-y-success.$(OBJEXT) +ioctl_seccomp_y_success_LDADD = $(LDADD) +ioctl_seccomp_y_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation.c +ioctl_seccomp_y_success__pidns_translation_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c +ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xraw_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c +ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xverbose_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c +ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success-Xabbrev.c +ioctl_seccomp_y_success_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xraw_SOURCES = ioctl_seccomp-y-success-Xraw.c +ioctl_seccomp_y_success_Xraw_OBJECTS = \ + ioctl_seccomp-y-success-Xraw.$(OBJEXT) +ioctl_seccomp_y_success_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xverbose_SOURCES = \ + ioctl_seccomp-y-success-Xverbose.c +ioctl_seccomp_y_success_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_sg_io_v3_SOURCES = ioctl_sg_io_v3.c ioctl_sg_io_v3_OBJECTS = ioctl_sg_io_v3.$(OBJEXT) ioctl_sg_io_v3_LDADD = $(LDADD) -ioctl_sg_io_v3_DEPENDENCIES = libtests.a +ioctl_sg_io_v3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sg_io_v4_SOURCES = ioctl_sg_io_v4.c ioctl_sg_io_v4_OBJECTS = ioctl_sg_io_v4.$(OBJEXT) ioctl_sg_io_v4_LDADD = $(LDADD) -ioctl_sg_io_v4_DEPENDENCIES = libtests.a +ioctl_sg_io_v4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_SOURCES = ioctl_sock.c ioctl_sock_OBJECTS = ioctl_sock.$(OBJEXT) ioctl_sock_LDADD = $(LDADD) -ioctl_sock_DEPENDENCIES = libtests.a +ioctl_sock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_gifconf_SOURCES = ioctl_sock_gifconf.c ioctl_sock_gifconf_OBJECTS = ioctl_sock_gifconf.$(OBJEXT) ioctl_sock_gifconf_LDADD = $(LDADD) -ioctl_sock_gifconf_DEPENDENCIES = libtests.a +ioctl_sock_gifconf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_tee_SOURCES = ioctl_tee.c ioctl_tee_OBJECTS = ioctl_tee.$(OBJEXT) ioctl_tee_LDADD = $(LDADD) -ioctl_tee_DEPENDENCIES = libtests.a +ioctl_tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_SOURCES = ioctl_termios.c +ioctl_termios_OBJECTS = ioctl_termios.$(OBJEXT) +ioctl_termios_LDADD = $(LDADD) +ioctl_termios_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_v_SOURCES = ioctl_termios-v.c +ioctl_termios_v_OBJECTS = ioctl_termios-v.$(OBJEXT) +ioctl_termios_v_LDADD = $(LDADD) +ioctl_termios_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_tiocm_SOURCES = ioctl_tiocm.c +ioctl_tiocm_OBJECTS = ioctl_tiocm.$(OBJEXT) +ioctl_tiocm_LDADD = $(LDADD) +ioctl_tiocm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_SOURCES = ioctl_ubi.c ioctl_ubi_OBJECTS = ioctl_ubi.$(OBJEXT) ioctl_ubi_LDADD = $(LDADD) -ioctl_ubi_DEPENDENCIES = libtests.a +ioctl_ubi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_success_SOURCES = ioctl_ubi-success.c ioctl_ubi_success_OBJECTS = ioctl_ubi-success.$(OBJEXT) ioctl_ubi_success_LDADD = $(LDADD) -ioctl_ubi_success_DEPENDENCIES = libtests.a +ioctl_ubi_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_uffdio_SOURCES = ioctl_uffdio.c ioctl_uffdio_OBJECTS = ioctl_uffdio.$(OBJEXT) ioctl_uffdio_LDADD = $(LDADD) -ioctl_uffdio_DEPENDENCIES = libtests.a +ioctl_uffdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_SOURCES = ioctl_v4l2.c ioctl_v4l2_OBJECTS = ioctl_v4l2.$(OBJEXT) ioctl_v4l2_LDADD = $(LDADD) -ioctl_v4l2_DEPENDENCIES = libtests.a +ioctl_v4l2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xabbrev_SOURCES = ioctl_v4l2-Xabbrev.c ioctl_v4l2_Xabbrev_OBJECTS = ioctl_v4l2-Xabbrev.$(OBJEXT) ioctl_v4l2_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xraw_SOURCES = ioctl_v4l2-Xraw.c ioctl_v4l2_Xraw_OBJECTS = ioctl_v4l2-Xraw.$(OBJEXT) ioctl_v4l2_Xraw_LDADD = $(LDADD) -ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xverbose_SOURCES = ioctl_v4l2-Xverbose.c ioctl_v4l2_Xverbose_OBJECTS = ioctl_v4l2-Xverbose.$(OBJEXT) ioctl_v4l2_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_SOURCES = ioctl_v4l2-success.c ioctl_v4l2_success_OBJECTS = ioctl_v4l2-success.$(OBJEXT) ioctl_v4l2_success_LDADD = $(LDADD) -ioctl_v4l2_success_DEPENDENCIES = libtests.a +ioctl_v4l2_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xabbrev_SOURCES = ioctl_v4l2-success-Xabbrev.c ioctl_v4l2_success_Xabbrev_OBJECTS = \ ioctl_v4l2-success-Xabbrev.$(OBJEXT) ioctl_v4l2_success_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xraw_SOURCES = ioctl_v4l2-success-Xraw.c ioctl_v4l2_success_Xraw_OBJECTS = ioctl_v4l2-success-Xraw.$(OBJEXT) ioctl_v4l2_success_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xverbose_SOURCES = ioctl_v4l2-success-Xverbose.c ioctl_v4l2_success_Xverbose_OBJECTS = \ ioctl_v4l2-success-Xverbose.$(OBJEXT) ioctl_v4l2_success_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_SOURCES = ioctl_v4l2-success-v.c ioctl_v4l2_success_v_OBJECTS = ioctl_v4l2-success-v.$(OBJEXT) ioctl_v4l2_success_v_LDADD = $(LDADD) -ioctl_v4l2_success_v_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xabbrev_SOURCES = ioctl_v4l2-success-v-Xabbrev.c ioctl_v4l2_success_v_Xabbrev_OBJECTS = \ ioctl_v4l2-success-v-Xabbrev.$(OBJEXT) ioctl_v4l2_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xraw_SOURCES = ioctl_v4l2-success-v-Xraw.c ioctl_v4l2_success_v_Xraw_OBJECTS = \ ioctl_v4l2-success-v-Xraw.$(OBJEXT) ioctl_v4l2_success_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xverbose_SOURCES = \ ioctl_v4l2-success-v-Xverbose.c ioctl_v4l2_success_v_Xverbose_OBJECTS = \ ioctl_v4l2-success-v-Xverbose.$(OBJEXT) ioctl_v4l2_success_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_v_SOURCES = ioctl_v4l2-v.c ioctl_v4l2_v_OBJECTS = ioctl_v4l2-v.$(OBJEXT) ioctl_v4l2_v_LDADD = $(LDADD) -ioctl_v4l2_v_DEPENDENCIES = libtests.a +ioctl_v4l2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xabbrev_SOURCES = ioctl_v4l2-v-Xabbrev.c ioctl_v4l2_v_Xabbrev_OBJECTS = ioctl_v4l2-v-Xabbrev.$(OBJEXT) ioctl_v4l2_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xraw_SOURCES = ioctl_v4l2-v-Xraw.c ioctl_v4l2_v_Xraw_OBJECTS = ioctl_v4l2-v-Xraw.$(OBJEXT) ioctl_v4l2_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xverbose_SOURCES = ioctl_v4l2-v-Xverbose.c ioctl_v4l2_v_Xverbose_OBJECTS = ioctl_v4l2-v-Xverbose.$(OBJEXT) ioctl_v4l2_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_watchdog_SOURCES = ioctl_watchdog.c ioctl_watchdog_OBJECTS = ioctl_watchdog.$(OBJEXT) ioctl_watchdog_LDADD = $(LDADD) -ioctl_watchdog_DEPENDENCIES = libtests.a +ioctl_watchdog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_winsize_SOURCES = ioctl_winsize.c +ioctl_winsize_OBJECTS = ioctl_winsize.$(OBJEXT) +ioctl_winsize_LDADD = $(LDADD) +ioctl_winsize_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioperm_SOURCES = ioperm.c ioperm_OBJECTS = ioperm.$(OBJEXT) ioperm_LDADD = $(LDADD) -ioperm_DEPENDENCIES = libtests.a +ioperm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) iopl_SOURCES = iopl.c iopl_OBJECTS = iopl.$(OBJEXT) iopl_LDADD = $(LDADD) -iopl_DEPENDENCIES = libtests.a +iopl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_SOURCES = ioprio.c ioprio_OBJECTS = ioprio.$(OBJEXT) ioprio_LDADD = $(LDADD) -ioprio_DEPENDENCIES = libtests.a +ioprio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio__pidns_translation_SOURCES = ioprio--pidns-translation.c ioprio__pidns_translation_OBJECTS = \ ioprio--pidns-translation.$(OBJEXT) ioprio__pidns_translation_LDADD = $(LDADD) -ioprio__pidns_translation_DEPENDENCIES = libtests.a +ioprio__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioprio_Xabbrev_SOURCES = ioprio-Xabbrev.c ioprio_Xabbrev_OBJECTS = ioprio-Xabbrev.$(OBJEXT) ioprio_Xabbrev_LDADD = $(LDADD) -ioprio_Xabbrev_DEPENDENCIES = libtests.a +ioprio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xraw_SOURCES = ioprio-Xraw.c ioprio_Xraw_OBJECTS = ioprio-Xraw.$(OBJEXT) ioprio_Xraw_LDADD = $(LDADD) -ioprio_Xraw_DEPENDENCIES = libtests.a +ioprio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xverbose_SOURCES = ioprio-Xverbose.c ioprio_Xverbose_OBJECTS = ioprio-Xverbose.$(OBJEXT) ioprio_Xverbose_LDADD = $(LDADD) -ioprio_Xverbose_DEPENDENCIES = libtests.a +ioprio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ip_mreq_SOURCES = ip_mreq.c ip_mreq_OBJECTS = ip_mreq.$(OBJEXT) ip_mreq_LDADD = $(LDADD) -ip_mreq_DEPENDENCIES = libtests.a +ip_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_SOURCES = ipc.c ipc_OBJECTS = ipc.$(OBJEXT) ipc_LDADD = $(LDADD) -ipc_DEPENDENCIES = libtests.a +ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_SOURCES = ipc_msg.c ipc_msg_OBJECTS = ipc_msg.$(OBJEXT) ipc_msg_LDADD = $(LDADD) -ipc_msg_DEPENDENCIES = libtests.a +ipc_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xabbrev_SOURCES = ipc_msg-Xabbrev.c ipc_msg_Xabbrev_OBJECTS = ipc_msg-Xabbrev.$(OBJEXT) ipc_msg_Xabbrev_LDADD = $(LDADD) -ipc_msg_Xabbrev_DEPENDENCIES = libtests.a +ipc_msg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xraw_SOURCES = ipc_msg-Xraw.c ipc_msg_Xraw_OBJECTS = ipc_msg-Xraw.$(OBJEXT) ipc_msg_Xraw_LDADD = $(LDADD) -ipc_msg_Xraw_DEPENDENCIES = libtests.a +ipc_msg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xverbose_SOURCES = ipc_msg-Xverbose.c ipc_msg_Xverbose_OBJECTS = ipc_msg-Xverbose.$(OBJEXT) ipc_msg_Xverbose_LDADD = $(LDADD) -ipc_msg_Xverbose_DEPENDENCIES = libtests.a +ipc_msg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_SOURCES = ipc_msgbuf.c ipc_msgbuf_OBJECTS = ipc_msgbuf.$(OBJEXT) ipc_msgbuf_LDADD = $(LDADD) -ipc_msgbuf_DEPENDENCIES = libtests.a +ipc_msgbuf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xabbrev_SOURCES = ipc_msgbuf-Xabbrev.c ipc_msgbuf_Xabbrev_OBJECTS = ipc_msgbuf-Xabbrev.$(OBJEXT) ipc_msgbuf_Xabbrev_LDADD = $(LDADD) -ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a +ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xraw_SOURCES = ipc_msgbuf-Xraw.c ipc_msgbuf_Xraw_OBJECTS = ipc_msgbuf-Xraw.$(OBJEXT) ipc_msgbuf_Xraw_LDADD = $(LDADD) -ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a +ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xverbose_SOURCES = ipc_msgbuf-Xverbose.c ipc_msgbuf_Xverbose_OBJECTS = ipc_msgbuf-Xverbose.$(OBJEXT) ipc_msgbuf_Xverbose_LDADD = $(LDADD) -ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a +ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_SOURCES = ipc_sem.c ipc_sem_OBJECTS = ipc_sem.$(OBJEXT) ipc_sem_LDADD = $(LDADD) -ipc_sem_DEPENDENCIES = libtests.a +ipc_sem_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xabbrev_SOURCES = ipc_sem-Xabbrev.c ipc_sem_Xabbrev_OBJECTS = ipc_sem-Xabbrev.$(OBJEXT) ipc_sem_Xabbrev_LDADD = $(LDADD) -ipc_sem_Xabbrev_DEPENDENCIES = libtests.a +ipc_sem_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xraw_SOURCES = ipc_sem-Xraw.c ipc_sem_Xraw_OBJECTS = ipc_sem-Xraw.$(OBJEXT) ipc_sem_Xraw_LDADD = $(LDADD) -ipc_sem_Xraw_DEPENDENCIES = libtests.a +ipc_sem_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xverbose_SOURCES = ipc_sem-Xverbose.c ipc_sem_Xverbose_OBJECTS = ipc_sem-Xverbose.$(OBJEXT) ipc_sem_Xverbose_LDADD = $(LDADD) -ipc_sem_Xverbose_DEPENDENCIES = libtests.a +ipc_sem_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_SOURCES = ipc_shm.c ipc_shm_OBJECTS = ipc_shm.$(OBJEXT) ipc_shm_LDADD = $(LDADD) -ipc_shm_DEPENDENCIES = libtests.a +ipc_shm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xabbrev_SOURCES = ipc_shm-Xabbrev.c ipc_shm_Xabbrev_OBJECTS = ipc_shm-Xabbrev.$(OBJEXT) ipc_shm_Xabbrev_LDADD = $(LDADD) -ipc_shm_Xabbrev_DEPENDENCIES = libtests.a +ipc_shm_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xraw_SOURCES = ipc_shm-Xraw.c ipc_shm_Xraw_OBJECTS = ipc_shm-Xraw.$(OBJEXT) ipc_shm_Xraw_LDADD = $(LDADD) -ipc_shm_Xraw_DEPENDENCIES = libtests.a +ipc_shm_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xverbose_SOURCES = ipc_shm-Xverbose.c ipc_shm_Xverbose_OBJECTS = ipc_shm-Xverbose.$(OBJEXT) ipc_shm_Xverbose_LDADD = $(LDADD) -ipc_shm_Xverbose_DEPENDENCIES = libtests.a +ipc_shm_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) is_linux_mips_n64_SOURCES = is_linux_mips_n64.c is_linux_mips_n64_OBJECTS = is_linux_mips_n64.$(OBJEXT) is_linux_mips_n64_LDADD = $(LDADD) -is_linux_mips_n64_DEPENDENCIES = libtests.a +is_linux_mips_n64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_SOURCES = kcmp.c kcmp_OBJECTS = kcmp.$(OBJEXT) kcmp_LDADD = $(LDADD) -kcmp_DEPENDENCIES = libtests.a +kcmp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y_SOURCES = kcmp-y.c kcmp_y_OBJECTS = kcmp-y.$(OBJEXT) kcmp_y_LDADD = $(LDADD) -kcmp_y_DEPENDENCIES = libtests.a +kcmp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y__pidns_translation_SOURCES = kcmp-y--pidns-translation.c kcmp_y__pidns_translation_OBJECTS = \ kcmp-y--pidns-translation.$(OBJEXT) kcmp_y__pidns_translation_LDADD = $(LDADD) -kcmp_y__pidns_translation_DEPENDENCIES = libtests.a +kcmp_y__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kern_features_SOURCES = kern_features.c kern_features_OBJECTS = kern_features.$(OBJEXT) kern_features_LDADD = $(LDADD) -kern_features_DEPENDENCIES = libtests.a +kern_features_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_SOURCES = kernel_version.c kernel_version_OBJECTS = kernel_version.$(OBJEXT) kernel_version_LDADD = $(LDADD) -kernel_version_DEPENDENCIES = libtests.a +kernel_version_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xabbrev_SOURCES = kernel_version-Xabbrev.c kernel_version_Xabbrev_OBJECTS = kernel_version-Xabbrev.$(OBJEXT) kernel_version_Xabbrev_LDADD = $(LDADD) -kernel_version_Xabbrev_DEPENDENCIES = libtests.a +kernel_version_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xraw_SOURCES = kernel_version-Xraw.c kernel_version_Xraw_OBJECTS = kernel_version-Xraw.$(OBJEXT) kernel_version_Xraw_LDADD = $(LDADD) -kernel_version_Xraw_DEPENDENCIES = libtests.a +kernel_version_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xverbose_SOURCES = kernel_version-Xverbose.c kernel_version_Xverbose_OBJECTS = kernel_version-Xverbose.$(OBJEXT) kernel_version_Xverbose_LDADD = $(LDADD) -kernel_version_Xverbose_DEPENDENCIES = libtests.a +kernel_version_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kexec_file_load_SOURCES = kexec_file_load.c kexec_file_load_OBJECTS = kexec_file_load.$(OBJEXT) kexec_file_load_LDADD = $(LDADD) -kexec_file_load_DEPENDENCIES = libtests.a +kexec_file_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kexec_load_SOURCES = kexec_load.c kexec_load_OBJECTS = kexec_load.$(OBJEXT) kexec_load_LDADD = $(LDADD) -kexec_load_DEPENDENCIES = libtests.a +kexec_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_SOURCES = keyctl.c keyctl_OBJECTS = keyctl.$(OBJEXT) keyctl_LDADD = $(LDADD) -keyctl_DEPENDENCIES = libtests.a +keyctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xabbrev_SOURCES = keyctl-Xabbrev.c keyctl_Xabbrev_OBJECTS = keyctl-Xabbrev.$(OBJEXT) keyctl_Xabbrev_LDADD = $(LDADD) -keyctl_Xabbrev_DEPENDENCIES = libtests.a +keyctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xraw_SOURCES = keyctl-Xraw.c keyctl_Xraw_OBJECTS = keyctl-Xraw.$(OBJEXT) keyctl_Xraw_LDADD = $(LDADD) -keyctl_Xraw_DEPENDENCIES = libtests.a +keyctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xverbose_SOURCES = keyctl-Xverbose.c keyctl_Xverbose_OBJECTS = keyctl-Xverbose.$(OBJEXT) keyctl_Xverbose_LDADD = $(LDADD) -keyctl_Xverbose_DEPENDENCIES = libtests.a +keyctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill_SOURCES = kill.c kill_OBJECTS = kill.$(OBJEXT) kill_LDADD = $(LDADD) -kill_DEPENDENCIES = libtests.a +kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill__pidns_translation_SOURCES = kill--pidns-translation.c kill__pidns_translation_OBJECTS = kill--pidns-translation.$(OBJEXT) kill__pidns_translation_LDADD = $(LDADD) -kill__pidns_translation_DEPENDENCIES = libtests.a +kill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kill_child_SOURCES = kill_child.c kill_child_OBJECTS = kill_child.$(OBJEXT) kill_child_LDADD = $(LDADD) -kill_child_DEPENDENCIES = libtests.a +kill_child_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ksysent_SOURCES = ksysent.c ksysent_OBJECTS = ksysent.$(OBJEXT) ksysent_LDADD = $(LDADD) -ksysent_DEPENDENCIES = libtests.a +ksysent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_SOURCES = landlock_add_rule.c landlock_add_rule_OBJECTS = landlock_add_rule.$(OBJEXT) landlock_add_rule_LDADD = $(LDADD) -landlock_add_rule_DEPENDENCIES = libtests.a +landlock_add_rule_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_y_SOURCES = landlock_add_rule-y.c landlock_add_rule_y_OBJECTS = landlock_add_rule-y.$(OBJEXT) landlock_add_rule_y_LDADD = $(LDADD) -landlock_add_rule_y_DEPENDENCIES = libtests.a +landlock_add_rule_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_create_ruleset_SOURCES = landlock_create_ruleset.c landlock_create_ruleset_OBJECTS = landlock_create_ruleset.$(OBJEXT) landlock_create_ruleset_LDADD = $(LDADD) -landlock_create_ruleset_DEPENDENCIES = libtests.a +landlock_create_ruleset_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_SOURCES = \ landlock_create_ruleset-success.c landlock_create_ruleset_success_OBJECTS = \ landlock_create_ruleset-success.$(OBJEXT) landlock_create_ruleset_success_LDADD = $(LDADD) -landlock_create_ruleset_success_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_y_SOURCES = \ landlock_create_ruleset-success-y.c landlock_create_ruleset_success_y_OBJECTS = \ landlock_create_ruleset-success-y.$(OBJEXT) landlock_create_ruleset_success_y_LDADD = $(LDADD) -landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_y_SOURCES = landlock_create_ruleset-y.c landlock_create_ruleset_y_OBJECTS = \ landlock_create_ruleset-y.$(OBJEXT) landlock_create_ruleset_y_LDADD = $(LDADD) -landlock_create_ruleset_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_restrict_self_SOURCES = landlock_restrict_self.c landlock_restrict_self_OBJECTS = landlock_restrict_self.$(OBJEXT) landlock_restrict_self_LDADD = $(LDADD) -landlock_restrict_self_DEPENDENCIES = libtests.a +landlock_restrict_self_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_restrict_self_y_SOURCES = landlock_restrict_self-y.c landlock_restrict_self_y_OBJECTS = landlock_restrict_self-y.$(OBJEXT) landlock_restrict_self_y_LDADD = $(LDADD) -landlock_restrict_self_y_DEPENDENCIES = libtests.a +landlock_restrict_self_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) lchown_SOURCES = lchown.c lchown_OBJECTS = lchown.$(OBJEXT) lchown_LDADD = $(LDADD) -lchown_DEPENDENCIES = libtests.a +lchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lchown32_SOURCES = lchown32.c lchown32_OBJECTS = lchown32.$(OBJEXT) lchown32_LDADD = $(LDADD) -lchown32_DEPENDENCIES = libtests.a +lchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) link_SOURCES = link.c link_OBJECTS = link.$(OBJEXT) link_LDADD = $(LDADD) -link_DEPENDENCIES = libtests.a +link_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat_SOURCES = linkat.c linkat_OBJECTS = linkat.$(OBJEXT) linkat_LDADD = $(LDADD) -linkat_DEPENDENCIES = libtests.a +linkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat__secontext_SOURCES = linkat--secontext.c linkat__secontext_OBJECTS = linkat--secontext.$(OBJEXT) -linkat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) linkat__secontext_full_SOURCES = linkat--secontext_full.c linkat__secontext_full_OBJECTS = linkat--secontext_full.$(OBJEXT) -linkat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_full_mismatch_SOURCES = \ + linkat--secontext_full_mismatch.c +linkat__secontext_full_mismatch_OBJECTS = \ + linkat--secontext_full_mismatch.$(OBJEXT) +linkat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_mismatch_SOURCES = linkat--secontext_mismatch.c +linkat__secontext_mismatch_OBJECTS = \ + linkat--secontext_mismatch.$(OBJEXT) +linkat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) list_sigaction_signum_SOURCES = list_sigaction_signum.c list_sigaction_signum_OBJECTS = list_sigaction_signum.$(OBJEXT) list_sigaction_signum_LDADD = $(LDADD) -list_sigaction_signum_DEPENDENCIES = libtests.a +list_sigaction_signum_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) llseek_SOURCES = llseek.c llseek_OBJECTS = llseek.$(OBJEXT) llseek_LDADD = $(LDADD) -llseek_DEPENDENCIES = libtests.a +llseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) localtime_SOURCES = localtime.c localtime_OBJECTS = localtime.$(OBJEXT) -localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) lookup_dcookie_SOURCES = lookup_dcookie.c lookup_dcookie_OBJECTS = lookup_dcookie.$(OBJEXT) lookup_dcookie_LDADD = $(LDADD) -lookup_dcookie_DEPENDENCIES = libtests.a +lookup_dcookie_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) looping_threads_SOURCES = looping_threads.c looping_threads_OBJECTS = looping_threads.$(OBJEXT) -looping_threads_DEPENDENCIES = $(LDADD) +looping_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) lseek_SOURCES = lseek.c lseek_OBJECTS = lseek.$(OBJEXT) lseek_LDADD = $(LDADD) -lseek_DEPENDENCIES = libtests.a +lseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat_SOURCES = lstat.c lstat_OBJECTS = lstat.$(OBJEXT) lstat_LDADD = $(LDADD) -lstat_DEPENDENCIES = libtests.a +lstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat64_SOURCES = lstat64.c lstat64_OBJECTS = lstat64-lstat64.$(OBJEXT) lstat64_LDADD = $(LDADD) -lstat64_DEPENDENCIES = libtests.a +lstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) madvise_SOURCES = madvise.c madvise_OBJECTS = madvise.$(OBJEXT) madvise_LDADD = $(LDADD) -madvise_DEPENDENCIES = libtests.a +madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) maybe_switch_current_tcp_SOURCES = maybe_switch_current_tcp.c maybe_switch_current_tcp_OBJECTS = maybe_switch_current_tcp.$(OBJEXT) -maybe_switch_current_tcp_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp_DEPENDENCIES = $(am__DEPENDENCIES_2) maybe_switch_current_tcp__quiet_thread_execve_SOURCES = \ maybe_switch_current_tcp--quiet-thread-execve.c maybe_switch_current_tcp__quiet_thread_execve_OBJECTS = \ maybe_switch_current_tcp--quiet-thread-execve.$(OBJEXT) -maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) mbind_SOURCES = mbind.c mbind_OBJECTS = mbind.$(OBJEXT) mbind_LDADD = $(LDADD) -mbind_DEPENDENCIES = libtests.a +mbind_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xabbrev_SOURCES = mbind-Xabbrev.c mbind_Xabbrev_OBJECTS = mbind-Xabbrev.$(OBJEXT) mbind_Xabbrev_LDADD = $(LDADD) -mbind_Xabbrev_DEPENDENCIES = libtests.a +mbind_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xraw_SOURCES = mbind-Xraw.c mbind_Xraw_OBJECTS = mbind-Xraw.$(OBJEXT) mbind_Xraw_LDADD = $(LDADD) -mbind_Xraw_DEPENDENCIES = libtests.a +mbind_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xverbose_SOURCES = mbind-Xverbose.c mbind_Xverbose_OBJECTS = mbind-Xverbose.$(OBJEXT) mbind_Xverbose_LDADD = $(LDADD) -mbind_Xverbose_DEPENDENCIES = libtests.a +mbind_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) membarrier_SOURCES = membarrier.c membarrier_OBJECTS = membarrier.$(OBJEXT) membarrier_LDADD = $(LDADD) -membarrier_DEPENDENCIES = libtests.a +membarrier_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_SOURCES = memfd_create.c memfd_create_OBJECTS = memfd_create.$(OBJEXT) memfd_create_LDADD = $(LDADD) -memfd_create_DEPENDENCIES = libtests.a +memfd_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xabbrev_SOURCES = memfd_create-Xabbrev.c memfd_create_Xabbrev_OBJECTS = memfd_create-Xabbrev.$(OBJEXT) memfd_create_Xabbrev_LDADD = $(LDADD) -memfd_create_Xabbrev_DEPENDENCIES = libtests.a +memfd_create_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xraw_SOURCES = memfd_create-Xraw.c memfd_create_Xraw_OBJECTS = memfd_create-Xraw.$(OBJEXT) memfd_create_Xraw_LDADD = $(LDADD) -memfd_create_Xraw_DEPENDENCIES = libtests.a +memfd_create_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xverbose_SOURCES = memfd_create-Xverbose.c memfd_create_Xverbose_OBJECTS = memfd_create-Xverbose.$(OBJEXT) memfd_create_Xverbose_LDADD = $(LDADD) -memfd_create_Xverbose_DEPENDENCIES = libtests.a +memfd_create_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_SOURCES = memfd_secret.c memfd_secret_OBJECTS = memfd_secret.$(OBJEXT) memfd_secret_LDADD = $(LDADD) -memfd_secret_DEPENDENCIES = libtests.a +memfd_secret_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_SOURCES = memfd_secret-success.c memfd_secret_success_OBJECTS = memfd_secret-success.$(OBJEXT) memfd_secret_success_LDADD = $(LDADD) -memfd_secret_success_DEPENDENCIES = libtests.a +memfd_secret_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_y_SOURCES = memfd_secret-success-y.c memfd_secret_success_y_OBJECTS = memfd_secret-success-y.$(OBJEXT) memfd_secret_success_y_LDADD = $(LDADD) -memfd_secret_success_y_DEPENDENCIES = libtests.a +memfd_secret_success_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages_SOURCES = migrate_pages.c migrate_pages_OBJECTS = migrate_pages.$(OBJEXT) migrate_pages_LDADD = $(LDADD) -migrate_pages_DEPENDENCIES = libtests.a +migrate_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages__pidns_translation_SOURCES = \ migrate_pages--pidns-translation.c migrate_pages__pidns_translation_OBJECTS = \ migrate_pages--pidns-translation.$(OBJEXT) migrate_pages__pidns_translation_LDADD = $(LDADD) -migrate_pages__pidns_translation_DEPENDENCIES = libtests.a +migrate_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) mincore_SOURCES = mincore.c mincore_OBJECTS = mincore.$(OBJEXT) mincore_LDADD = $(LDADD) -mincore_DEPENDENCIES = libtests.a +mincore_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdir_SOURCES = mkdir.c mkdir_OBJECTS = mkdir.$(OBJEXT) mkdir_LDADD = $(LDADD) -mkdir_DEPENDENCIES = libtests.a +mkdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdirat_SOURCES = mkdirat.c mkdirat_OBJECTS = mkdirat.$(OBJEXT) mkdirat_LDADD = $(LDADD) -mkdirat_DEPENDENCIES = libtests.a +mkdirat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknod_SOURCES = mknod.c mknod_OBJECTS = mknod.$(OBJEXT) mknod_LDADD = $(LDADD) -mknod_DEPENDENCIES = libtests.a +mknod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknodat_SOURCES = mknodat.c mknodat_OBJECTS = mknodat.$(OBJEXT) mknodat_LDADD = $(LDADD) -mknodat_DEPENDENCIES = libtests.a +mknodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock_SOURCES = mlock.c mlock_OBJECTS = mlock.$(OBJEXT) mlock_LDADD = $(LDADD) -mlock_DEPENDENCIES = libtests.a +mlock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock2_SOURCES = mlock2.c mlock2_OBJECTS = mlock2.$(OBJEXT) mlock2_LDADD = $(LDADD) -mlock2_DEPENDENCIES = libtests.a +mlock2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlockall_SOURCES = mlockall.c mlockall_OBJECTS = mlockall.$(OBJEXT) mlockall_LDADD = $(LDADD) -mlockall_DEPENDENCIES = libtests.a +mlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_SOURCES = mmap.c mmap_OBJECTS = mmap.$(OBJEXT) mmap_LDADD = $(LDADD) -mmap_DEPENDENCIES = libtests.a +mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xabbrev_SOURCES = mmap-Xabbrev.c mmap_Xabbrev_OBJECTS = mmap-Xabbrev.$(OBJEXT) mmap_Xabbrev_LDADD = $(LDADD) -mmap_Xabbrev_DEPENDENCIES = libtests.a +mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xraw_SOURCES = mmap-Xraw.c mmap_Xraw_OBJECTS = mmap-Xraw.$(OBJEXT) mmap_Xraw_LDADD = $(LDADD) -mmap_Xraw_DEPENDENCIES = libtests.a +mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xverbose_SOURCES = mmap-Xverbose.c mmap_Xverbose_OBJECTS = mmap-Xverbose.$(OBJEXT) mmap_Xverbose_LDADD = $(LDADD) -mmap_Xverbose_DEPENDENCIES = libtests.a +mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_SOURCES = mmap64.c mmap64_OBJECTS = mmap64-mmap64.$(OBJEXT) mmap64_LDADD = $(LDADD) -mmap64_DEPENDENCIES = libtests.a +mmap64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xabbrev_SOURCES = mmap64-Xabbrev.c mmap64_Xabbrev_OBJECTS = mmap64_Xabbrev-mmap64-Xabbrev.$(OBJEXT) mmap64_Xabbrev_LDADD = $(LDADD) -mmap64_Xabbrev_DEPENDENCIES = libtests.a +mmap64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xraw_SOURCES = mmap64-Xraw.c mmap64_Xraw_OBJECTS = mmap64_Xraw-mmap64-Xraw.$(OBJEXT) mmap64_Xraw_LDADD = $(LDADD) -mmap64_Xraw_DEPENDENCIES = libtests.a +mmap64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xverbose_SOURCES = mmap64-Xverbose.c mmap64_Xverbose_OBJECTS = mmap64_Xverbose-mmap64-Xverbose.$(OBJEXT) mmap64_Xverbose_LDADD = $(LDADD) -mmap64_Xverbose_DEPENDENCIES = libtests.a +mmap64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_SOURCES = mmsg.c mmsg_OBJECTS = mmsg.$(OBJEXT) mmsg_LDADD = $(LDADD) -mmsg_DEPENDENCIES = libtests.a +mmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_silent_SOURCES = mmsg-silent.c mmsg_silent_OBJECTS = mmsg-silent.$(OBJEXT) mmsg_silent_LDADD = $(LDADD) -mmsg_silent_DEPENDENCIES = libtests.a +mmsg_silent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_SOURCES = mmsg_name.c mmsg_name_OBJECTS = mmsg_name.$(OBJEXT) mmsg_name_LDADD = $(LDADD) -mmsg_name_DEPENDENCIES = libtests.a +mmsg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_v_SOURCES = mmsg_name-v.c mmsg_name_v_OBJECTS = mmsg_name-v.$(OBJEXT) mmsg_name_v_LDADD = $(LDADD) -mmsg_name_v_DEPENDENCIES = libtests.a +mmsg_name_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) modify_ldt_SOURCES = modify_ldt.c modify_ldt_OBJECTS = modify_ldt.$(OBJEXT) modify_ldt_LDADD = $(LDADD) -modify_ldt_DEPENDENCIES = libtests.a +modify_ldt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_SOURCES = mount.c mount_OBJECTS = mount.$(OBJEXT) mount_LDADD = $(LDADD) -mount_DEPENDENCIES = libtests.a +mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xabbrev_SOURCES = mount-Xabbrev.c mount_Xabbrev_OBJECTS = mount-Xabbrev.$(OBJEXT) mount_Xabbrev_LDADD = $(LDADD) -mount_Xabbrev_DEPENDENCIES = libtests.a +mount_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xraw_SOURCES = mount-Xraw.c mount_Xraw_OBJECTS = mount-Xraw.$(OBJEXT) mount_Xraw_LDADD = $(LDADD) -mount_Xraw_DEPENDENCIES = libtests.a +mount_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xverbose_SOURCES = mount-Xverbose.c mount_Xverbose_OBJECTS = mount-Xverbose.$(OBJEXT) mount_Xverbose_LDADD = $(LDADD) -mount_Xverbose_DEPENDENCIES = libtests.a +mount_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_SOURCES = mount_setattr.c mount_setattr_OBJECTS = mount_setattr.$(OBJEXT) mount_setattr_LDADD = $(LDADD) -mount_setattr_DEPENDENCIES = libtests.a +mount_setattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_P_SOURCES = mount_setattr-P.c mount_setattr_P_OBJECTS = mount_setattr-P.$(OBJEXT) mount_setattr_P_LDADD = $(LDADD) -mount_setattr_P_DEPENDENCIES = libtests.a +mount_setattr_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_SOURCES = move_mount.c move_mount_OBJECTS = move_mount.$(OBJEXT) move_mount_LDADD = $(LDADD) -move_mount_DEPENDENCIES = libtests.a +move_mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_P_SOURCES = move_mount-P.c move_mount_P_OBJECTS = move_mount-P.$(OBJEXT) move_mount_P_LDADD = $(LDADD) -move_mount_P_DEPENDENCIES = libtests.a +move_mount_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_SOURCES = move_pages.c move_pages_OBJECTS = move_pages.$(OBJEXT) move_pages_LDADD = $(LDADD) -move_pages_DEPENDENCIES = libtests.a +move_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages__pidns_translation_SOURCES = \ move_pages--pidns-translation.c move_pages__pidns_translation_OBJECTS = \ move_pages--pidns-translation.$(OBJEXT) move_pages__pidns_translation_LDADD = $(LDADD) -move_pages__pidns_translation_DEPENDENCIES = libtests.a +move_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) move_pages_Xabbrev_SOURCES = move_pages-Xabbrev.c move_pages_Xabbrev_OBJECTS = move_pages-Xabbrev.$(OBJEXT) move_pages_Xabbrev_LDADD = $(LDADD) -move_pages_Xabbrev_DEPENDENCIES = libtests.a +move_pages_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xraw_SOURCES = move_pages-Xraw.c move_pages_Xraw_OBJECTS = move_pages-Xraw.$(OBJEXT) move_pages_Xraw_LDADD = $(LDADD) -move_pages_Xraw_DEPENDENCIES = libtests.a +move_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xverbose_SOURCES = move_pages-Xverbose.c move_pages_Xverbose_OBJECTS = move_pages-Xverbose.$(OBJEXT) move_pages_Xverbose_LDADD = $(LDADD) -move_pages_Xverbose_DEPENDENCIES = libtests.a +move_pages_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_SOURCES = mq.c mq_OBJECTS = mq.$(OBJEXT) -mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) mq_sendrecv_SOURCES = mq_sendrecv.c mq_sendrecv_OBJECTS = mq_sendrecv.$(OBJEXT) mq_sendrecv_LDADD = $(LDADD) -mq_sendrecv_DEPENDENCIES = libtests.a +mq_sendrecv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_read_SOURCES = mq_sendrecv-read.c mq_sendrecv_read_OBJECTS = mq_sendrecv-read.$(OBJEXT) mq_sendrecv_read_LDADD = $(LDADD) -mq_sendrecv_read_DEPENDENCIES = libtests.a +mq_sendrecv_read_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_write_SOURCES = mq_sendrecv-write.c mq_sendrecv_write_OBJECTS = mq_sendrecv-write.$(OBJEXT) mq_sendrecv_write_LDADD = $(LDADD) -mq_sendrecv_write_DEPENDENCIES = libtests.a +mq_sendrecv_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_SOURCES = msg_control.c msg_control_OBJECTS = msg_control.$(OBJEXT) msg_control_LDADD = $(LDADD) -msg_control_DEPENDENCIES = libtests.a +msg_control_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_v_SOURCES = msg_control-v.c msg_control_v_OBJECTS = msg_control-v.$(OBJEXT) msg_control_v_LDADD = $(LDADD) -msg_control_v_DEPENDENCIES = libtests.a +msg_control_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_name_SOURCES = msg_name.c msg_name_OBJECTS = msg_name.$(OBJEXT) msg_name_LDADD = $(LDADD) -msg_name_DEPENDENCIES = libtests.a +msg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) munlockall_SOURCES = munlockall.c munlockall_OBJECTS = munlockall.$(OBJEXT) munlockall_LDADD = $(LDADD) -munlockall_DEPENDENCIES = libtests.a +munlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nanosleep_SOURCES = nanosleep.c nanosleep_OBJECTS = nanosleep.$(OBJEXT) nanosleep_LDADD = $(LDADD) -nanosleep_DEPENDENCIES = libtests.a +nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +net__decode_fds_all_netlink_SOURCES = net--decode-fds-all-netlink.c +net__decode_fds_all_netlink_OBJECTS = \ + net--decode-fds-all-netlink.$(OBJEXT) +net__decode_fds_all_netlink_LDADD = $(LDADD) +net__decode_fds_all_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_dev_netlink_SOURCES = net--decode-fds-dev-netlink.c net__decode_fds_dev_netlink_OBJECTS = \ net--decode-fds-dev-netlink.$(OBJEXT) net__decode_fds_dev_netlink_LDADD = $(LDADD) -net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a +net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_none_netlink_SOURCES = net--decode-fds-none-netlink.c net__decode_fds_none_netlink_OBJECTS = \ net--decode-fds-none-netlink.$(OBJEXT) net__decode_fds_none_netlink_LDADD = $(LDADD) -net__decode_fds_none_netlink_DEPENDENCIES = libtests.a +net__decode_fds_none_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_path_netlink_SOURCES = net--decode-fds-path-netlink.c net__decode_fds_path_netlink_OBJECTS = \ net--decode-fds-path-netlink.$(OBJEXT) net__decode_fds_path_netlink_LDADD = $(LDADD) -net__decode_fds_path_netlink_DEPENDENCIES = libtests.a +net__decode_fds_path_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_socket_netlink_SOURCES = \ net--decode-fds-socket-netlink.c net__decode_fds_socket_netlink_OBJECTS = \ net--decode-fds-socket-netlink.$(OBJEXT) net__decode_fds_socket_netlink_LDADD = $(LDADD) -net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a +net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_accept_connect_SOURCES = net-accept-connect.c net_accept_connect_OBJECTS = net-accept-connect.$(OBJEXT) net_accept_connect_LDADD = $(LDADD) -net_accept_connect_DEPENDENCIES = libtests.a +net_accept_connect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_icmp_filter_SOURCES = net-icmp_filter.c net_icmp_filter_OBJECTS = net-icmp_filter.$(OBJEXT) net_icmp_filter_LDADD = $(LDADD) -net_icmp_filter_DEPENDENCIES = libtests.a +net_icmp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_SOURCES = net-packet_mreq.c net_packet_mreq_OBJECTS = net-packet_mreq.$(OBJEXT) net_packet_mreq_LDADD = $(LDADD) -net_packet_mreq_DEPENDENCIES = libtests.a +net_packet_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xabbrev_SOURCES = net-packet_mreq-Xabbrev.c net_packet_mreq_Xabbrev_OBJECTS = net-packet_mreq-Xabbrev.$(OBJEXT) net_packet_mreq_Xabbrev_LDADD = $(LDADD) -net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a +net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_packet_mreq_Xraw_SOURCES = net-packet_mreq-Xraw.c net_packet_mreq_Xraw_OBJECTS = net-packet_mreq-Xraw.$(OBJEXT) net_packet_mreq_Xraw_LDADD = $(LDADD) -net_packet_mreq_Xraw_DEPENDENCIES = libtests.a +net_packet_mreq_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xverbose_SOURCES = net-packet_mreq-Xverbose.c net_packet_mreq_Xverbose_OBJECTS = net-packet_mreq-Xverbose.$(OBJEXT) net_packet_mreq_Xverbose_LDADD = $(LDADD) -net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a +net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_sockaddr_SOURCES = net-sockaddr.c net_sockaddr_OBJECTS = net-sockaddr.$(OBJEXT) net_sockaddr_LDADD = $(LDADD) -net_sockaddr_DEPENDENCIES = libtests.a +net_sockaddr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_sockaddr__pidns_translation_SOURCES = \ net-sockaddr--pidns-translation.c net_sockaddr__pidns_translation_OBJECTS = \ net-sockaddr--pidns-translation.$(OBJEXT) net_sockaddr__pidns_translation_LDADD = $(LDADD) -net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a +net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_tpacket_req_SOURCES = net-tpacket_req.c net_tpacket_req_OBJECTS = net-tpacket_req.$(OBJEXT) net_tpacket_req_LDADD = $(LDADD) -net_tpacket_req_DEPENDENCIES = libtests.a +net_tpacket_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_SOURCES = net-tpacket_stats.c net_tpacket_stats_OBJECTS = net-tpacket_stats.$(OBJEXT) net_tpacket_stats_LDADD = $(LDADD) -net_tpacket_stats_DEPENDENCIES = libtests.a +net_tpacket_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_success_SOURCES = net-tpacket_stats-success.c net_tpacket_stats_success_OBJECTS = \ net-tpacket_stats-success.$(OBJEXT) net_tpacket_stats_success_LDADD = $(LDADD) -net_tpacket_stats_success_DEPENDENCIES = libtests.a +net_tpacket_stats_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_y_unix_SOURCES = net-y-unix.c net_y_unix_OBJECTS = net-y-unix.$(OBJEXT) net_y_unix_LDADD = $(LDADD) -net_y_unix_DEPENDENCIES = libtests.a +net_y_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet_SOURCES = net-yy-inet.c net_yy_inet_OBJECTS = net-yy-inet.$(OBJEXT) net_yy_inet_LDADD = $(LDADD) -net_yy_inet_DEPENDENCIES = libtests.a +net_yy_inet_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet6_SOURCES = net-yy-inet6.c net_yy_inet6_OBJECTS = net-yy-inet6.$(OBJEXT) net_yy_inet6_LDADD = $(LDADD) -net_yy_inet6_DEPENDENCIES = libtests.a +net_yy_inet6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_netlink_SOURCES = net-yy-netlink.c net_yy_netlink_OBJECTS = net-yy-netlink.$(OBJEXT) net_yy_netlink_LDADD = $(LDADD) -net_yy_netlink_DEPENDENCIES = libtests.a +net_yy_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_unix_SOURCES = net-yy-unix.c net_yy_unix_OBJECTS = net-yy-unix.$(OBJEXT) net_yy_unix_LDADD = $(LDADD) -net_yy_unix_DEPENDENCIES = libtests.a +net_yy_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit_SOURCES = netlink_audit.c netlink_audit_OBJECTS = netlink_audit.$(OBJEXT) netlink_audit_LDADD = $(LDADD) -netlink_audit_DEPENDENCIES = libtests.a +netlink_audit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit__pidns_translation_SOURCES = \ netlink_audit--pidns-translation.c netlink_audit__pidns_translation_OBJECTS = \ netlink_audit--pidns-translation.$(OBJEXT) netlink_audit__pidns_translation_LDADD = $(LDADD) -netlink_audit__pidns_translation_DEPENDENCIES = libtests.a +netlink_audit__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) netlink_crypto_SOURCES = netlink_crypto.c netlink_crypto_OBJECTS = netlink_crypto.$(OBJEXT) netlink_crypto_LDADD = $(LDADD) -netlink_crypto_DEPENDENCIES = libtests.a +netlink_crypto_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_generic_SOURCES = netlink_generic.c netlink_generic_OBJECTS = netlink_generic.$(OBJEXT) netlink_generic_LDADD = $(LDADD) -netlink_generic_DEPENDENCIES = libtests.a +netlink_generic_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_inet_diag_SOURCES = netlink_inet_diag.c netlink_inet_diag_OBJECTS = netlink_inet_diag.$(OBJEXT) netlink_inet_diag_LDADD = $(LDADD) -netlink_inet_diag_DEPENDENCIES = libtests.a +netlink_inet_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_kobject_uevent_SOURCES = netlink_kobject_uevent.c netlink_kobject_uevent_OBJECTS = netlink_kobject_uevent.$(OBJEXT) netlink_kobject_uevent_LDADD = $(LDADD) -netlink_kobject_uevent_DEPENDENCIES = libtests.a +netlink_kobject_uevent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netfilter_SOURCES = netlink_netfilter.c netlink_netfilter_OBJECTS = netlink_netfilter.$(OBJEXT) netlink_netfilter_LDADD = $(LDADD) -netlink_netfilter_DEPENDENCIES = libtests.a +netlink_netfilter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netlink_diag_SOURCES = netlink_netlink_diag.c netlink_netlink_diag_OBJECTS = netlink_netlink_diag.$(OBJEXT) netlink_netlink_diag_LDADD = $(LDADD) -netlink_netlink_diag_DEPENDENCIES = libtests.a +netlink_netlink_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_protocol_SOURCES = netlink_protocol.c netlink_protocol_OBJECTS = netlink_protocol.$(OBJEXT) netlink_protocol_LDADD = $(LDADD) -netlink_protocol_DEPENDENCIES = libtests.a +netlink_protocol_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_route_SOURCES = netlink_route.c netlink_route_OBJECTS = netlink_route.$(OBJEXT) netlink_route_LDADD = $(LDADD) -netlink_route_DEPENDENCIES = libtests.a +netlink_route_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_selinux_SOURCES = netlink_selinux.c netlink_selinux_OBJECTS = netlink_selinux.$(OBJEXT) netlink_selinux_LDADD = $(LDADD) -netlink_selinux_DEPENDENCIES = libtests.a +netlink_selinux_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_sock_diag_SOURCES = netlink_sock_diag.c netlink_sock_diag_OBJECTS = netlink_sock_diag.$(OBJEXT) netlink_sock_diag_LDADD = $(LDADD) -netlink_sock_diag_DEPENDENCIES = libtests.a +netlink_sock_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_unix_diag_SOURCES = netlink_unix_diag.c netlink_unix_diag_OBJECTS = netlink_unix_diag.$(OBJEXT) netlink_unix_diag_LDADD = $(LDADD) -netlink_unix_diag_DEPENDENCIES = libtests.a +netlink_unix_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_xfrm_SOURCES = netlink_xfrm.c netlink_xfrm_OBJECTS = netlink_xfrm.$(OBJEXT) netlink_xfrm_LDADD = $(LDADD) -netlink_xfrm_DEPENDENCIES = libtests.a +netlink_xfrm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) newfstatat_SOURCES = newfstatat.c newfstatat_OBJECTS = newfstatat-newfstatat.$(OBJEXT) newfstatat_LDADD = $(LDADD) -newfstatat_DEPENDENCIES = libtests.a +newfstatat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_acct_SOURCES = nfnetlink_acct.c nfnetlink_acct_OBJECTS = nfnetlink_acct.$(OBJEXT) nfnetlink_acct_LDADD = $(LDADD) -nfnetlink_acct_DEPENDENCIES = libtests.a +nfnetlink_acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_cthelper_SOURCES = nfnetlink_cthelper.c nfnetlink_cthelper_OBJECTS = nfnetlink_cthelper.$(OBJEXT) nfnetlink_cthelper_LDADD = $(LDADD) -nfnetlink_cthelper_DEPENDENCIES = libtests.a +nfnetlink_cthelper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_SOURCES = nfnetlink_ctnetlink.c nfnetlink_ctnetlink_OBJECTS = nfnetlink_ctnetlink.$(OBJEXT) nfnetlink_ctnetlink_LDADD = $(LDADD) -nfnetlink_ctnetlink_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_exp_SOURCES = nfnetlink_ctnetlink_exp.c nfnetlink_ctnetlink_exp_OBJECTS = nfnetlink_ctnetlink_exp.$(OBJEXT) nfnetlink_ctnetlink_exp_LDADD = $(LDADD) -nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nfnetlink_cttimeout_SOURCES = nfnetlink_cttimeout.c nfnetlink_cttimeout_OBJECTS = nfnetlink_cttimeout.$(OBJEXT) nfnetlink_cttimeout_LDADD = $(LDADD) -nfnetlink_cttimeout_DEPENDENCIES = libtests.a +nfnetlink_cttimeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ipset_SOURCES = nfnetlink_ipset.c nfnetlink_ipset_OBJECTS = nfnetlink_ipset.$(OBJEXT) nfnetlink_ipset_LDADD = $(LDADD) -nfnetlink_ipset_DEPENDENCIES = libtests.a +nfnetlink_ipset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nft_compat_SOURCES = nfnetlink_nft_compat.c nfnetlink_nft_compat_OBJECTS = nfnetlink_nft_compat.$(OBJEXT) nfnetlink_nft_compat_LDADD = $(LDADD) -nfnetlink_nft_compat_DEPENDENCIES = libtests.a +nfnetlink_nft_compat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nftables_SOURCES = nfnetlink_nftables.c nfnetlink_nftables_OBJECTS = nfnetlink_nftables.$(OBJEXT) nfnetlink_nftables_LDADD = $(LDADD) -nfnetlink_nftables_DEPENDENCIES = libtests.a +nfnetlink_nftables_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_osf_SOURCES = nfnetlink_osf.c nfnetlink_osf_OBJECTS = nfnetlink_osf.$(OBJEXT) nfnetlink_osf_LDADD = $(LDADD) -nfnetlink_osf_DEPENDENCIES = libtests.a +nfnetlink_osf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_queue_SOURCES = nfnetlink_queue.c nfnetlink_queue_OBJECTS = nfnetlink_queue.$(OBJEXT) nfnetlink_queue_LDADD = $(LDADD) -nfnetlink_queue_DEPENDENCIES = libtests.a +nfnetlink_queue_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ulog_SOURCES = nfnetlink_ulog.c nfnetlink_ulog_OBJECTS = nfnetlink_ulog.$(OBJEXT) nfnetlink_ulog_LDADD = $(LDADD) -nfnetlink_ulog_DEPENDENCIES = libtests.a +nfnetlink_ulog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_SOURCES = nlattr.c nlattr_OBJECTS = nlattr.$(OBJEXT) nlattr_LDADD = $(LDADD) -nlattr_DEPENDENCIES = libtests.a +nlattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_br_port_msg_SOURCES = nlattr_br_port_msg.c nlattr_br_port_msg_OBJECTS = nlattr_br_port_msg.$(OBJEXT) nlattr_br_port_msg_LDADD = $(LDADD) -nlattr_br_port_msg_DEPENDENCIES = libtests.a +nlattr_br_port_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_SOURCES = nlattr_cachereport.c +nlattr_cachereport_OBJECTS = nlattr_cachereport.$(OBJEXT) +nlattr_cachereport_LDADD = $(LDADD) +nlattr_cachereport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_Xabbrev_SOURCES = nlattr_cachereport-Xabbrev.c +nlattr_cachereport_Xabbrev_OBJECTS = \ + nlattr_cachereport-Xabbrev.$(OBJEXT) +nlattr_cachereport_Xabbrev_LDADD = $(LDADD) +nlattr_cachereport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xraw_SOURCES = nlattr_cachereport-Xraw.c +nlattr_cachereport_Xraw_OBJECTS = nlattr_cachereport-Xraw.$(OBJEXT) +nlattr_cachereport_Xraw_LDADD = $(LDADD) +nlattr_cachereport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xverbose_SOURCES = nlattr_cachereport-Xverbose.c +nlattr_cachereport_Xverbose_OBJECTS = \ + nlattr_cachereport-Xverbose.$(OBJEXT) +nlattr_cachereport_Xverbose_LDADD = $(LDADD) +nlattr_cachereport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_crypto_user_alg_SOURCES = nlattr_crypto_user_alg.c nlattr_crypto_user_alg_OBJECTS = nlattr_crypto_user_alg.$(OBJEXT) nlattr_crypto_user_alg_LDADD = $(LDADD) -nlattr_crypto_user_alg_DEPENDENCIES = libtests.a +nlattr_crypto_user_alg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_dcbmsg_SOURCES = nlattr_dcbmsg.c nlattr_dcbmsg_OBJECTS = nlattr_dcbmsg.$(OBJEXT) nlattr_dcbmsg_LDADD = $(LDADD) -nlattr_dcbmsg_DEPENDENCIES = libtests.a +nlattr_dcbmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_fib_rule_hdr_SOURCES = nlattr_fib_rule_hdr.c nlattr_fib_rule_hdr_OBJECTS = nlattr_fib_rule_hdr.$(OBJEXT) nlattr_fib_rule_hdr_LDADD = $(LDADD) -nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a +nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrlblmsg_SOURCES = nlattr_ifaddrlblmsg.c nlattr_ifaddrlblmsg_OBJECTS = nlattr_ifaddrlblmsg.$(OBJEXT) nlattr_ifaddrlblmsg_LDADD = $(LDADD) -nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrmsg_SOURCES = nlattr_ifaddrmsg.c nlattr_ifaddrmsg_OBJECTS = nlattr_ifaddrmsg.$(OBJEXT) nlattr_ifaddrmsg_LDADD = $(LDADD) -nlattr_ifaddrmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifinfomsg_SOURCES = nlattr_ifinfomsg.c nlattr_ifinfomsg_OBJECTS = nlattr_ifinfomsg.$(OBJEXT) nlattr_ifinfomsg_LDADD = $(LDADD) -nlattr_ifinfomsg_DEPENDENCIES = libtests.a +nlattr_ifinfomsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_af_spec_SOURCES = nlattr_ifla_af_spec.c nlattr_ifla_af_spec_OBJECTS = nlattr_ifla_af_spec.$(OBJEXT) nlattr_ifla_af_spec_LDADD = $(LDADD) -nlattr_ifla_af_spec_DEPENDENCIES = libtests.a +nlattr_ifla_af_spec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_brport_SOURCES = nlattr_ifla_brport.c nlattr_ifla_brport_OBJECTS = nlattr_ifla_brport.$(OBJEXT) nlattr_ifla_brport_LDADD = $(LDADD) -nlattr_ifla_brport_DEPENDENCIES = libtests.a +nlattr_ifla_brport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xabbrev_SOURCES = nlattr_ifla_brport-Xabbrev.c +nlattr_ifla_brport_Xabbrev_OBJECTS = \ + nlattr_ifla_brport-Xabbrev.$(OBJEXT) +nlattr_ifla_brport_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_brport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xraw_SOURCES = nlattr_ifla_brport-Xraw.c +nlattr_ifla_brport_Xraw_OBJECTS = nlattr_ifla_brport-Xraw.$(OBJEXT) +nlattr_ifla_brport_Xraw_LDADD = $(LDADD) +nlattr_ifla_brport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xverbose_SOURCES = nlattr_ifla_brport-Xverbose.c +nlattr_ifla_brport_Xverbose_OBJECTS = \ + nlattr_ifla_brport-Xverbose.$(OBJEXT) +nlattr_ifla_brport_Xverbose_LDADD = $(LDADD) +nlattr_ifla_brport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_linkinfo_SOURCES = nlattr_ifla_linkinfo.c nlattr_ifla_linkinfo_OBJECTS = nlattr_ifla_linkinfo.$(OBJEXT) nlattr_ifla_linkinfo_LDADD = $(LDADD) -nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a +nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_port_SOURCES = nlattr_ifla_port.c nlattr_ifla_port_OBJECTS = nlattr_ifla_port.$(OBJEXT) nlattr_ifla_port_LDADD = $(LDADD) -nlattr_ifla_port_DEPENDENCIES = libtests.a +nlattr_ifla_port_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_SOURCES = nlattr_ifla_protinfo.c +nlattr_ifla_protinfo_OBJECTS = nlattr_ifla_protinfo.$(OBJEXT) +nlattr_ifla_protinfo_LDADD = $(LDADD) +nlattr_ifla_protinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xabbrev_SOURCES = nlattr_ifla_protinfo-Xabbrev.c +nlattr_ifla_protinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_protinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_protinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xraw_SOURCES = nlattr_ifla_protinfo-Xraw.c +nlattr_ifla_protinfo_Xraw_OBJECTS = \ + nlattr_ifla_protinfo-Xraw.$(OBJEXT) +nlattr_ifla_protinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xverbose_SOURCES = \ + nlattr_ifla_protinfo-Xverbose.c +nlattr_ifla_protinfo_Xverbose_OBJECTS = \ + nlattr_ifla_protinfo-Xverbose.$(OBJEXT) +nlattr_ifla_protinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_proto_down_reason_SOURCES = \ nlattr_ifla_proto_down_reason.c nlattr_ifla_proto_down_reason_OBJECTS = \ nlattr_ifla_proto_down_reason.$(OBJEXT) nlattr_ifla_proto_down_reason_LDADD = $(LDADD) -nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a +nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_SOURCES = nlattr_ifla_vfinfo.c +nlattr_ifla_vfinfo_OBJECTS = nlattr_ifla_vfinfo.$(OBJEXT) +nlattr_ifla_vfinfo_LDADD = $(LDADD) +nlattr_ifla_vfinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xabbrev_SOURCES = nlattr_ifla_vfinfo-Xabbrev.c +nlattr_ifla_vfinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_vfinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_vfinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xraw_SOURCES = nlattr_ifla_vfinfo-Xraw.c +nlattr_ifla_vfinfo_Xraw_OBJECTS = nlattr_ifla_vfinfo-Xraw.$(OBJEXT) +nlattr_ifla_vfinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xverbose_SOURCES = nlattr_ifla_vfinfo-Xverbose.c +nlattr_ifla_vfinfo_Xverbose_OBJECTS = \ + nlattr_ifla_vfinfo-Xverbose.$(OBJEXT) +nlattr_ifla_vfinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_xdp_SOURCES = nlattr_ifla_xdp.c nlattr_ifla_xdp_OBJECTS = nlattr_ifla_xdp.$(OBJEXT) nlattr_ifla_xdp_LDADD = $(LDADD) -nlattr_ifla_xdp_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_xdp_y_SOURCES = nlattr_ifla_xdp-y.c nlattr_ifla_xdp_y_OBJECTS = nlattr_ifla_xdp-y.$(OBJEXT) nlattr_ifla_xdp_y_LDADD = $(LDADD) -nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_SOURCES = nlattr_ifstats.c +nlattr_ifstats_OBJECTS = nlattr_ifstats.$(OBJEXT) +nlattr_ifstats_LDADD = $(LDADD) +nlattr_ifstats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xabbrev_SOURCES = nlattr_ifstats-Xabbrev.c +nlattr_ifstats_Xabbrev_OBJECTS = nlattr_ifstats-Xabbrev.$(OBJEXT) +nlattr_ifstats_Xabbrev_LDADD = $(LDADD) +nlattr_ifstats_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xraw_SOURCES = nlattr_ifstats-Xraw.c +nlattr_ifstats_Xraw_OBJECTS = nlattr_ifstats-Xraw.$(OBJEXT) +nlattr_ifstats_Xraw_LDADD = $(LDADD) +nlattr_ifstats_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xverbose_SOURCES = nlattr_ifstats-Xverbose.c +nlattr_ifstats_Xverbose_OBJECTS = nlattr_ifstats-Xverbose.$(OBJEXT) +nlattr_ifstats_Xverbose_LDADD = $(LDADD) +nlattr_ifstats_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_msg_SOURCES = nlattr_inet_diag_msg.c nlattr_inet_diag_msg_OBJECTS = nlattr_inet_diag_msg.$(OBJEXT) nlattr_inet_diag_msg_LDADD = $(LDADD) -nlattr_inet_diag_msg_DEPENDENCIES = libtests.a +nlattr_inet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_inet_diag_req_compat_SOURCES = nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_compat_OBJECTS = \ nlattr_inet_diag_req_compat.$(OBJEXT) nlattr_inet_diag_req_compat_LDADD = $(LDADD) -nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_req_v2_SOURCES = nlattr_inet_diag_req_v2.c nlattr_inet_diag_req_v2_OBJECTS = nlattr_inet_diag_req_v2.$(OBJEXT) nlattr_inet_diag_req_v2_LDADD = $(LDADD) -nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_mdba_mdb_entry_SOURCES = nlattr_mdba_mdb_entry.c nlattr_mdba_mdb_entry_OBJECTS = nlattr_mdba_mdb_entry.$(OBJEXT) nlattr_mdba_mdb_entry_LDADD = $(LDADD) -nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a +nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_mdba_router_port_SOURCES = nlattr_mdba_router_port.c nlattr_mdba_router_port_OBJECTS = nlattr_mdba_router_port.$(OBJEXT) -nlattr_mdba_router_port_LDADD = $(LDADD) -nlattr_mdba_router_port_DEPENDENCIES = libtests.a +nlattr_mdba_router_port_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) nlattr_ndmsg_SOURCES = nlattr_ndmsg.c nlattr_ndmsg_OBJECTS = nlattr_ndmsg.$(OBJEXT) nlattr_ndmsg_LDADD = $(LDADD) -nlattr_ndmsg_DEPENDENCIES = libtests.a +nlattr_ndmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ndtmsg_SOURCES = nlattr_ndtmsg.c nlattr_ndtmsg_OBJECTS = nlattr_ndtmsg.$(OBJEXT) nlattr_ndtmsg_LDADD = $(LDADD) -nlattr_ndtmsg_DEPENDENCIES = libtests.a +nlattr_ndtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netconfmsg_SOURCES = nlattr_netconfmsg.c nlattr_netconfmsg_OBJECTS = nlattr_netconfmsg.$(OBJEXT) nlattr_netconfmsg_LDADD = $(LDADD) -nlattr_netconfmsg_DEPENDENCIES = libtests.a +nlattr_netconfmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netlink_diag_msg_SOURCES = nlattr_netlink_diag_msg.c nlattr_netlink_diag_msg_OBJECTS = nlattr_netlink_diag_msg.$(OBJEXT) nlattr_netlink_diag_msg_LDADD = $(LDADD) -nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a +nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_nhmsg_SOURCES = nlattr_nhmsg.c +nlattr_nhmsg_OBJECTS = nlattr_nhmsg.$(OBJEXT) +nlattr_nhmsg_LDADD = $(LDADD) +nlattr_nhmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xabbrev_SOURCES = nlattr_nhmsg-Xabbrev.c +nlattr_nhmsg_Xabbrev_OBJECTS = nlattr_nhmsg-Xabbrev.$(OBJEXT) +nlattr_nhmsg_Xabbrev_LDADD = $(LDADD) +nlattr_nhmsg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xraw_SOURCES = nlattr_nhmsg-Xraw.c +nlattr_nhmsg_Xraw_OBJECTS = nlattr_nhmsg-Xraw.$(OBJEXT) +nlattr_nhmsg_Xraw_LDADD = $(LDADD) +nlattr_nhmsg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xverbose_SOURCES = nlattr_nhmsg-Xverbose.c +nlattr_nhmsg_Xverbose_OBJECTS = nlattr_nhmsg-Xverbose.$(OBJEXT) +nlattr_nhmsg_Xverbose_LDADD = $(LDADD) +nlattr_nhmsg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_nlmsgerr_SOURCES = nlattr_nlmsgerr.c nlattr_nlmsgerr_OBJECTS = nlattr_nlmsgerr.$(OBJEXT) nlattr_nlmsgerr_LDADD = $(LDADD) -nlattr_nlmsgerr_DEPENDENCIES = libtests.a +nlattr_nlmsgerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_packet_diag_msg_SOURCES = nlattr_packet_diag_msg.c nlattr_packet_diag_msg_OBJECTS = nlattr_packet_diag_msg.$(OBJEXT) nlattr_packet_diag_msg_LDADD = $(LDADD) -nlattr_packet_diag_msg_DEPENDENCIES = libtests.a +nlattr_packet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtgenmsg_SOURCES = nlattr_rtgenmsg.c nlattr_rtgenmsg_OBJECTS = nlattr_rtgenmsg.$(OBJEXT) nlattr_rtgenmsg_LDADD = $(LDADD) -nlattr_rtgenmsg_DEPENDENCIES = libtests.a +nlattr_rtgenmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtmsg_SOURCES = nlattr_rtmsg.c nlattr_rtmsg_OBJECTS = nlattr_rtmsg.$(OBJEXT) nlattr_rtmsg_LDADD = $(LDADD) -nlattr_rtmsg_DEPENDENCIES = libtests.a +nlattr_rtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_smc_diag_msg_SOURCES = nlattr_smc_diag_msg.c nlattr_smc_diag_msg_OBJECTS = nlattr_smc_diag_msg.$(OBJEXT) nlattr_smc_diag_msg_LDADD = $(LDADD) -nlattr_smc_diag_msg_DEPENDENCIES = libtests.a +nlattr_smc_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tc_stats_SOURCES = nlattr_tc_stats.c nlattr_tc_stats_OBJECTS = nlattr_tc_stats.$(OBJEXT) nlattr_tc_stats_LDADD = $(LDADD) -nlattr_tc_stats_DEPENDENCIES = libtests.a +nlattr_tc_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tca_stab_SOURCES = nlattr_tca_stab.c nlattr_tca_stab_OBJECTS = nlattr_tca_stab.$(OBJEXT) nlattr_tca_stab_LDADD = $(LDADD) -nlattr_tca_stab_DEPENDENCIES = libtests.a +nlattr_tca_stab_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcamsg_SOURCES = nlattr_tcamsg.c nlattr_tcamsg_OBJECTS = nlattr_tcamsg.$(OBJEXT) nlattr_tcamsg_LDADD = $(LDADD) -nlattr_tcamsg_DEPENDENCIES = libtests.a +nlattr_tcamsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcmsg_SOURCES = nlattr_tcmsg.c nlattr_tcmsg_OBJECTS = nlattr_tcmsg.$(OBJEXT) nlattr_tcmsg_LDADD = $(LDADD) -nlattr_tcmsg_DEPENDENCIES = libtests.a +nlattr_tcmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_unix_diag_msg_SOURCES = nlattr_unix_diag_msg.c nlattr_unix_diag_msg_OBJECTS = nlattr_unix_diag_msg.$(OBJEXT) nlattr_unix_diag_msg_LDADD = $(LDADD) -nlattr_unix_diag_msg_DEPENDENCIES = libtests.a +nlattr_unix_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_SOURCES = nsyscalls.c nsyscalls_OBJECTS = nsyscalls.$(OBJEXT) nsyscalls_LDADD = $(LDADD) -nsyscalls_DEPENDENCIES = libtests.a +nsyscalls_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_d_SOURCES = nsyscalls-d.c nsyscalls_d_OBJECTS = nsyscalls-d.$(OBJEXT) nsyscalls_d_LDADD = $(LDADD) -nsyscalls_d_DEPENDENCIES = libtests.a +nsyscalls_d_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_SOURCES = old_mmap.c old_mmap_OBJECTS = old_mmap.$(OBJEXT) old_mmap_LDADD = $(LDADD) -old_mmap_DEPENDENCIES = libtests.a +old_mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_P_SOURCES = old_mmap-P.c old_mmap_P_OBJECTS = old_mmap-P.$(OBJEXT) old_mmap_P_LDADD = $(LDADD) -old_mmap_P_DEPENDENCIES = libtests.a +old_mmap_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xabbrev_SOURCES = old_mmap-Xabbrev.c old_mmap_Xabbrev_OBJECTS = old_mmap-Xabbrev.$(OBJEXT) old_mmap_Xabbrev_LDADD = $(LDADD) -old_mmap_Xabbrev_DEPENDENCIES = libtests.a +old_mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xraw_SOURCES = old_mmap-Xraw.c old_mmap_Xraw_OBJECTS = old_mmap-Xraw.$(OBJEXT) old_mmap_Xraw_LDADD = $(LDADD) -old_mmap_Xraw_DEPENDENCIES = libtests.a +old_mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xverbose_SOURCES = old_mmap-Xverbose.c old_mmap_Xverbose_OBJECTS = old_mmap-Xverbose.$(OBJEXT) old_mmap_Xverbose_LDADD = $(LDADD) -old_mmap_Xverbose_DEPENDENCIES = libtests.a +old_mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_v_none_SOURCES = old_mmap-v-none.c old_mmap_v_none_OBJECTS = old_mmap-v-none.$(OBJEXT) old_mmap_v_none_LDADD = $(LDADD) -old_mmap_v_none_DEPENDENCIES = libtests.a +old_mmap_v_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldfstat_SOURCES = oldfstat.c oldfstat_OBJECTS = oldfstat.$(OBJEXT) oldfstat_LDADD = $(LDADD) -oldfstat_DEPENDENCIES = libtests.a +oldfstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldlstat_SOURCES = oldlstat.c oldlstat_OBJECTS = oldlstat.$(OBJEXT) oldlstat_LDADD = $(LDADD) -oldlstat_DEPENDENCIES = libtests.a +oldlstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_SOURCES = oldselect.c oldselect_OBJECTS = oldselect.$(OBJEXT) oldselect_LDADD = $(LDADD) -oldselect_DEPENDENCIES = libtests.a +oldselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_P_SOURCES = oldselect-P.c oldselect_P_OBJECTS = oldselect-P.$(OBJEXT) oldselect_P_LDADD = $(LDADD) -oldselect_P_DEPENDENCIES = libtests.a +oldselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_SOURCES = oldselect-efault.c oldselect_efault_OBJECTS = oldselect-efault.$(OBJEXT) oldselect_efault_LDADD = $(LDADD) -oldselect_efault_DEPENDENCIES = libtests.a +oldselect_efault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_P_SOURCES = oldselect-efault-P.c oldselect_efault_P_OBJECTS = oldselect-efault-P.$(OBJEXT) oldselect_efault_P_LDADD = $(LDADD) -oldselect_efault_P_DEPENDENCIES = libtests.a +oldselect_efault_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldstat_SOURCES = oldstat.c oldstat_OBJECTS = oldstat.$(OBJEXT) oldstat_LDADD = $(LDADD) -oldstat_DEPENDENCIES = libtests.a +oldstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_SOURCES = open.c open_OBJECTS = open.$(OBJEXT) open_LDADD = $(LDADD) -open_DEPENDENCIES = libtests.a +open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open__secontext_SOURCES = open--secontext.c open__secontext_OBJECTS = open--secontext.$(OBJEXT) -open__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open__secontext_full_SOURCES = open--secontext_full.c open__secontext_full_OBJECTS = open--secontext_full.$(OBJEXT) -open__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_full_mismatch_SOURCES = \ + open--secontext_full_mismatch.c +open__secontext_full_mismatch_OBJECTS = \ + open--secontext_full_mismatch.$(OBJEXT) +open__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_mismatch_SOURCES = open--secontext_mismatch.c +open__secontext_mismatch_OBJECTS = open--secontext_mismatch.$(OBJEXT) +open__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open_tree_SOURCES = open_tree.c open_tree_OBJECTS = open_tree.$(OBJEXT) open_tree_LDADD = $(LDADD) -open_tree_DEPENDENCIES = libtests.a +open_tree_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_tree_P_SOURCES = open_tree-P.c open_tree_P_OBJECTS = open_tree-P.$(OBJEXT) open_tree_P_LDADD = $(LDADD) -open_tree_P_DEPENDENCIES = libtests.a +open_tree_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat_SOURCES = openat.c openat_OBJECTS = openat.$(OBJEXT) openat_LDADD = $(LDADD) -openat_DEPENDENCIES = libtests.a +openat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat__secontext_SOURCES = openat--secontext.c openat__secontext_OBJECTS = openat--secontext.$(OBJEXT) -openat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat__secontext_full_SOURCES = openat--secontext_full.c openat__secontext_full_OBJECTS = openat--secontext_full.$(OBJEXT) -openat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_full_mismatch_SOURCES = \ + openat--secontext_full_mismatch.c +openat__secontext_full_mismatch_OBJECTS = \ + openat--secontext_full_mismatch.$(OBJEXT) +openat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_mismatch_SOURCES = openat--secontext_mismatch.c +openat__secontext_mismatch_OBJECTS = \ + openat--secontext_mismatch.$(OBJEXT) +openat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat2_SOURCES = openat2.c openat2_OBJECTS = openat2.$(OBJEXT) openat2_LDADD = $(LDADD) -openat2_DEPENDENCIES = libtests.a +openat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xabbrev_SOURCES = openat2-Xabbrev.c openat2_Xabbrev_OBJECTS = openat2-Xabbrev.$(OBJEXT) openat2_Xabbrev_LDADD = $(LDADD) -openat2_Xabbrev_DEPENDENCIES = libtests.a +openat2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xraw_SOURCES = openat2-Xraw.c openat2_Xraw_OBJECTS = openat2-Xraw.$(OBJEXT) openat2_Xraw_LDADD = $(LDADD) -openat2_Xraw_DEPENDENCIES = libtests.a +openat2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xverbose_SOURCES = openat2-Xverbose.c openat2_Xverbose_OBJECTS = openat2-Xverbose.$(OBJEXT) openat2_Xverbose_LDADD = $(LDADD) -openat2_Xverbose_DEPENDENCIES = libtests.a +openat2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_SOURCES = openat2-v.c openat2_v_OBJECTS = openat2-v.$(OBJEXT) openat2_v_LDADD = $(LDADD) -openat2_v_DEPENDENCIES = libtests.a +openat2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_SOURCES = openat2-v-y.c openat2_v_y_OBJECTS = openat2-v-y.$(OBJEXT) openat2_v_y_LDADD = $(LDADD) -openat2_v_y_DEPENDENCIES = libtests.a +openat2_v_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xabbrev_SOURCES = openat2-v-y-Xabbrev.c openat2_v_y_Xabbrev_OBJECTS = openat2-v-y-Xabbrev.$(OBJEXT) openat2_v_y_Xabbrev_LDADD = $(LDADD) -openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a +openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xraw_SOURCES = openat2-v-y-Xraw.c openat2_v_y_Xraw_OBJECTS = openat2-v-y-Xraw.$(OBJEXT) openat2_v_y_Xraw_LDADD = $(LDADD) -openat2_v_y_Xraw_DEPENDENCIES = libtests.a +openat2_v_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xverbose_SOURCES = openat2-v-y-Xverbose.c openat2_v_y_Xverbose_OBJECTS = openat2-v-y-Xverbose.$(OBJEXT) openat2_v_y_Xverbose_LDADD = $(LDADD) -openat2_v_y_Xverbose_DEPENDENCIES = libtests.a +openat2_v_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_y_SOURCES = openat2-y.c openat2_y_OBJECTS = openat2-y.$(OBJEXT) openat2_y_LDADD = $(LDADD) -openat2_y_DEPENDENCIES = libtests.a +openat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) orphaned_process_group_SOURCES = orphaned_process_group.c orphaned_process_group_OBJECTS = orphaned_process_group.$(OBJEXT) orphaned_process_group_LDADD = $(LDADD) -orphaned_process_group_DEPENDENCIES = libtests.a +orphaned_process_group_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) osf_utimes_SOURCES = osf_utimes.c osf_utimes_OBJECTS = osf_utimes.$(OBJEXT) osf_utimes_LDADD = $(LDADD) -osf_utimes_DEPENDENCIES = libtests.a +osf_utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pause_SOURCES = pause.c pause_OBJECTS = pause.$(OBJEXT) pause_LDADD = $(LDADD) -pause_DEPENDENCIES = libtests.a +pause_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pc_SOURCES = pc.c pc_OBJECTS = pc.$(OBJEXT) -pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) perf_event_open_SOURCES = perf_event_open.c perf_event_open_OBJECTS = perf_event_open.$(OBJEXT) perf_event_open_LDADD = $(LDADD) -perf_event_open_DEPENDENCIES = libtests.a +perf_event_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) perf_event_open_nonverbose_SOURCES = perf_event_open_nonverbose.c perf_event_open_nonverbose_OBJECTS = \ perf_event_open_nonverbose.$(OBJEXT) perf_event_open_nonverbose_LDADD = $(LDADD) -perf_event_open_nonverbose_DEPENDENCIES = libtests.a +perf_event_open_nonverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) perf_event_open_unabbrev_SOURCES = perf_event_open_unabbrev.c perf_event_open_unabbrev_OBJECTS = perf_event_open_unabbrev.$(OBJEXT) perf_event_open_unabbrev_LDADD = $(LDADD) -perf_event_open_unabbrev_DEPENDENCIES = libtests.a +perf_event_open_unabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) personality_SOURCES = personality.c personality_OBJECTS = personality.$(OBJEXT) personality_LDADD = $(LDADD) -personality_DEPENDENCIES = libtests.a +personality_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xabbrev_SOURCES = personality-Xabbrev.c personality_Xabbrev_OBJECTS = personality-Xabbrev.$(OBJEXT) personality_Xabbrev_LDADD = $(LDADD) -personality_Xabbrev_DEPENDENCIES = libtests.a +personality_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xraw_SOURCES = personality-Xraw.c personality_Xraw_OBJECTS = personality-Xraw.$(OBJEXT) personality_Xraw_LDADD = $(LDADD) -personality_Xraw_DEPENDENCIES = libtests.a +personality_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xverbose_SOURCES = personality-Xverbose.c personality_Xverbose_OBJECTS = personality-Xverbose.$(OBJEXT) personality_Xverbose_LDADD = $(LDADD) -personality_Xverbose_DEPENDENCIES = libtests.a +personality_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_SOURCES = pidfd_getfd.c pidfd_getfd_OBJECTS = pidfd_getfd.$(OBJEXT) pidfd_getfd_LDADD = $(LDADD) -pidfd_getfd_DEPENDENCIES = libtests.a +pidfd_getfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_y_SOURCES = pidfd_getfd-y.c pidfd_getfd_y_OBJECTS = pidfd_getfd-y.$(OBJEXT) pidfd_getfd_y_LDADD = $(LDADD) -pidfd_getfd_y_DEPENDENCIES = libtests.a +pidfd_getfd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_yy_SOURCES = pidfd_getfd-yy.c pidfd_getfd_yy_OBJECTS = pidfd_getfd-yy.$(OBJEXT) pidfd_getfd_yy_LDADD = $(LDADD) -pidfd_getfd_yy_DEPENDENCIES = libtests.a +pidfd_getfd_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_SOURCES = pidfd_open.c pidfd_open_OBJECTS = pidfd_open.$(OBJEXT) pidfd_open_LDADD = $(LDADD) -pidfd_open_DEPENDENCIES = libtests.a +pidfd_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_all_SOURCES = pidfd_open--decode-fd-all.c +pidfd_open__decode_fd_all_OBJECTS = \ + pidfd_open--decode-fd-all.$(OBJEXT) +pidfd_open__decode_fd_all_LDADD = $(LDADD) +pidfd_open__decode_fd_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_none_SOURCES = pidfd_open--decode-fd-none.c +pidfd_open__decode_fd_none_OBJECTS = \ + pidfd_open--decode-fd-none.$(OBJEXT) +pidfd_open__decode_fd_none_LDADD = $(LDADD) +pidfd_open__decode_fd_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_path_SOURCES = pidfd_open--decode-fd-path.c pidfd_open__decode_fd_path_OBJECTS = \ pidfd_open--decode-fd-path.$(OBJEXT) pidfd_open__decode_fd_path_LDADD = $(LDADD) -pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_pidfd_SOURCES = pidfd_open--decode-fd-pidfd.c pidfd_open__decode_fd_pidfd_OBJECTS = \ pidfd_open--decode-fd-pidfd.$(OBJEXT) pidfd_open__decode_fd_pidfd_LDADD = $(LDADD) -pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_socket_SOURCES = pidfd_open--decode-fd-socket.c pidfd_open__decode_fd_socket_OBJECTS = \ pidfd_open--decode-fd-socket.$(OBJEXT) pidfd_open__decode_fd_socket_LDADD = $(LDADD) -pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__pidns_translation_SOURCES = \ pidfd_open--pidns-translation.c pidfd_open__pidns_translation_OBJECTS = \ pidfd_open--pidns-translation.$(OBJEXT) pidfd_open__pidns_translation_LDADD = $(LDADD) -pidfd_open__pidns_translation_DEPENDENCIES = libtests.a +pidfd_open__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open_P_SOURCES = pidfd_open-P.c pidfd_open_P_OBJECTS = pidfd_open-P.$(OBJEXT) pidfd_open_P_LDADD = $(LDADD) -pidfd_open_P_DEPENDENCIES = libtests.a +pidfd_open_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_y_SOURCES = pidfd_open-y.c pidfd_open_y_OBJECTS = pidfd_open-y.$(OBJEXT) pidfd_open_y_LDADD = $(LDADD) -pidfd_open_y_DEPENDENCIES = libtests.a +pidfd_open_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_yy_SOURCES = pidfd_open-yy.c pidfd_open_yy_OBJECTS = pidfd_open-yy.$(OBJEXT) pidfd_open_yy_LDADD = $(LDADD) -pidfd_open_yy_DEPENDENCIES = libtests.a +pidfd_open_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal_SOURCES = pidfd_send_signal.c pidfd_send_signal_OBJECTS = pidfd_send_signal.$(OBJEXT) pidfd_send_signal_LDADD = $(LDADD) -pidfd_send_signal_DEPENDENCIES = libtests.a +pidfd_send_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal__pidns_translation_SOURCES = \ pidfd_send_signal--pidns-translation.c pidfd_send_signal__pidns_translation_OBJECTS = \ pidfd_send_signal--pidns-translation.$(OBJEXT) pidfd_send_signal__pidns_translation_LDADD = $(LDADD) -pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a +pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidns_cache_SOURCES = pidns-cache.c pidns_cache_OBJECTS = pidns-cache.$(OBJEXT) pidns_cache_LDADD = $(LDADD) -pidns_cache_DEPENDENCIES = libtests.a +pidns_cache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe_SOURCES = pipe.c pipe_OBJECTS = pipe.$(OBJEXT) pipe_LDADD = $(LDADD) -pipe_DEPENDENCIES = libtests.a +pipe_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe2_SOURCES = pipe2.c pipe2_OBJECTS = pipe2.$(OBJEXT) pipe2_LDADD = $(LDADD) -pipe2_DEPENDENCIES = libtests.a +pipe2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_alloc_SOURCES = pkey_alloc.c pkey_alloc_OBJECTS = pkey_alloc.$(OBJEXT) pkey_alloc_LDADD = $(LDADD) -pkey_alloc_DEPENDENCIES = libtests.a +pkey_alloc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_free_SOURCES = pkey_free.c pkey_free_OBJECTS = pkey_free.$(OBJEXT) pkey_free_LDADD = $(LDADD) -pkey_free_DEPENDENCIES = libtests.a +pkey_free_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_mprotect_SOURCES = pkey_mprotect.c pkey_mprotect_OBJECTS = pkey_mprotect.$(OBJEXT) pkey_mprotect_LDADD = $(LDADD) -pkey_mprotect_DEPENDENCIES = libtests.a +pkey_mprotect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_SOURCES = poke.c poke_OBJECTS = poke.$(OBJEXT) poke_LDADD = $(LDADD) -poke_DEPENDENCIES = libtests.a +poke_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_sendfile_SOURCES = poke-sendfile.c poke_sendfile_OBJECTS = poke-sendfile.$(OBJEXT) poke_sendfile_LDADD = $(LDADD) -poke_sendfile_DEPENDENCIES = libtests.a +poke_sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_SOURCES = poll.c poll_OBJECTS = poll.$(OBJEXT) poll_LDADD = $(LDADD) -poll_DEPENDENCIES = libtests.a +poll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_P_SOURCES = poll-P.c poll_P_OBJECTS = poll-P.$(OBJEXT) poll_P_LDADD = $(LDADD) -poll_P_DEPENDENCIES = libtests.a +poll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_SOURCES = ppoll.c ppoll_OBJECTS = ppoll.$(OBJEXT) ppoll_LDADD = $(LDADD) -ppoll_DEPENDENCIES = libtests.a +ppoll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_P_SOURCES = ppoll-P.c ppoll_P_OBJECTS = ppoll-P.$(OBJEXT) ppoll_P_LDADD = $(LDADD) -ppoll_P_DEPENDENCIES = libtests.a +ppoll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_v_SOURCES = ppoll-v.c ppoll_v_OBJECTS = ppoll-v.$(OBJEXT) ppoll_v_LDADD = $(LDADD) -ppoll_v_DEPENDENCIES = libtests.a +ppoll_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_arg2_intptr_SOURCES = prctl-arg2-intptr.c prctl_arg2_intptr_OBJECTS = prctl-arg2-intptr.$(OBJEXT) prctl_arg2_intptr_LDADD = $(LDADD) -prctl_arg2_intptr_DEPENDENCIES = libtests.a +prctl_arg2_intptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_cap_ambient_SOURCES = prctl-cap-ambient.c prctl_cap_ambient_OBJECTS = prctl-cap-ambient.$(OBJEXT) prctl_cap_ambient_LDADD = $(LDADD) -prctl_cap_ambient_DEPENDENCIES = libtests.a +prctl_cap_ambient_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_capbset_SOURCES = prctl-capbset.c prctl_capbset_OBJECTS = prctl-capbset.$(OBJEXT) prctl_capbset_LDADD = $(LDADD) -prctl_capbset_DEPENDENCIES = libtests.a +prctl_capbset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_dumpable_SOURCES = prctl-dumpable.c prctl_dumpable_OBJECTS = prctl-dumpable.$(OBJEXT) prctl_dumpable_LDADD = $(LDADD) -prctl_dumpable_DEPENDENCIES = libtests.a +prctl_dumpable_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_fp_mode_SOURCES = prctl-fp-mode.c prctl_fp_mode_OBJECTS = prctl-fp-mode.$(OBJEXT) prctl_fp_mode_LDADD = $(LDADD) -prctl_fp_mode_DEPENDENCIES = libtests.a +prctl_fp_mode_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_mce_kill_SOURCES = prctl-mce-kill.c prctl_mce_kill_OBJECTS = prctl-mce-kill.$(OBJEXT) prctl_mce_kill_LDADD = $(LDADD) -prctl_mce_kill_DEPENDENCIES = libtests.a +prctl_mce_kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_name_SOURCES = prctl-name.c prctl_name_OBJECTS = prctl-name.$(OBJEXT) prctl_name_LDADD = $(LDADD) -prctl_name_DEPENDENCIES = libtests.a +prctl_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_no_args_SOURCES = prctl-no-args.c prctl_no_args_OBJECTS = prctl-no-args.$(OBJEXT) prctl_no_args_LDADD = $(LDADD) -prctl_no_args_DEPENDENCIES = libtests.a +prctl_no_args_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_SOURCES = prctl-pac-enabled-keys.c prctl_pac_enabled_keys_OBJECTS = prctl-pac-enabled-keys.$(OBJEXT) prctl_pac_enabled_keys_LDADD = $(LDADD) -prctl_pac_enabled_keys_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-Xabbrev.c prctl_pac_enabled_keys_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xraw_SOURCES = prctl-pac-enabled-keys-Xraw.c prctl_pac_enabled_keys_Xraw_OBJECTS = \ prctl-pac-enabled-keys-Xraw.$(OBJEXT) prctl_pac_enabled_keys_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xverbose_SOURCES = \ prctl-pac-enabled-keys-Xverbose.c prctl_pac_enabled_keys_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_SOURCES = \ prctl-pac-enabled-keys-success.c prctl_pac_enabled_keys_success_OBJECTS = \ prctl-pac-enabled-keys-success.$(OBJEXT) prctl_pac_enabled_keys_success_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-success-Xabbrev.c prctl_pac_enabled_keys_success_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-success-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_success_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xraw_SOURCES = \ prctl-pac-enabled-keys-success-Xraw.c prctl_pac_enabled_keys_success_Xraw_OBJECTS = \ prctl-pac-enabled-keys-success-Xraw.$(OBJEXT) prctl_pac_enabled_keys_success_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xverbose_SOURCES = \ prctl-pac-enabled-keys-success-Xverbose.c prctl_pac_enabled_keys_success_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-success-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_success_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_reset_keys_SOURCES = prctl-pac-reset-keys.c prctl_pac_reset_keys_OBJECTS = prctl-pac-reset-keys.$(OBJEXT) prctl_pac_reset_keys_LDADD = $(LDADD) -prctl_pac_reset_keys_DEPENDENCIES = libtests.a +prctl_pac_reset_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pdeathsig_SOURCES = prctl-pdeathsig.c prctl_pdeathsig_OBJECTS = prctl-pdeathsig.$(OBJEXT) prctl_pdeathsig_LDADD = $(LDADD) -prctl_pdeathsig_DEPENDENCIES = libtests.a +prctl_pdeathsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_SOURCES = prctl-sched-core.c prctl_sched_core_OBJECTS = prctl-sched-core.$(OBJEXT) prctl_sched_core_LDADD = $(LDADD) -prctl_sched_core_DEPENDENCIES = libtests.a +prctl_sched_core_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_SOURCES = \ prctl-sched-core--pidns-translation.c prctl_sched_core__pidns_translation_OBJECTS = \ prctl-sched-core--pidns-translation.$(OBJEXT) prctl_sched_core__pidns_translation_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core--pidns-translation-Xabbrev.c prctl_sched_core__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core__pidns_translation_Xabbrev_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xraw_SOURCES = \ prctl-sched-core--pidns-translation-Xraw.c prctl_sched_core__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core__pidns_translation_Xraw_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core--pidns-translation-Xverbose.c prctl_sched_core__pidns_translation_Xverbose_OBJECTS = \ prctl-sched-core--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xabbrev_SOURCES = prctl-sched-core-Xabbrev.c prctl_sched_core_Xabbrev_OBJECTS = prctl-sched-core-Xabbrev.$(OBJEXT) prctl_sched_core_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_Xraw_SOURCES = prctl-sched-core-Xraw.c prctl_sched_core_Xraw_OBJECTS = prctl-sched-core-Xraw.$(OBJEXT) prctl_sched_core_Xraw_LDADD = $(LDADD) -prctl_sched_core_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xverbose_SOURCES = prctl-sched-core-Xverbose.c prctl_sched_core_Xverbose_OBJECTS = \ prctl-sched-core-Xverbose.$(OBJEXT) prctl_sched_core_Xverbose_LDADD = $(LDADD) -prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_SOURCES = prctl-sched-core-success.c prctl_sched_core_success_OBJECTS = prctl-sched-core-success.$(OBJEXT) prctl_sched_core_success_LDADD = $(LDADD) -prctl_sched_core_success_DEPENDENCIES = libtests.a +prctl_sched_core_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_SOURCES = \ prctl-sched-core-success--pidns-translation.c prctl_sched_core_success__pidns_translation_OBJECTS = \ prctl-sched-core-success--pidns-translation.$(OBJEXT) prctl_sched_core_success__pidns_translation_LDADD = $(LDADD) -prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core-success--pidns-translation-Xabbrev.c prctl_sched_core_success__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xabbrev_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xabbrev_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xraw_SOURCES = \ prctl-sched-core-success--pidns-translation-Xraw.c prctl_sched_core_success__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xraw_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xraw_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core-success--pidns-translation-Xverbose.c prctl_sched_core_success__pidns_translation_Xverbose_OBJECTS = prctl-sched-core-success--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success_Xabbrev_SOURCES = \ prctl-sched-core-success-Xabbrev.c prctl_sched_core_success_Xabbrev_OBJECTS = \ prctl-sched-core-success-Xabbrev.$(OBJEXT) prctl_sched_core_success_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xraw_SOURCES = \ prctl-sched-core-success-Xraw.c prctl_sched_core_success_Xraw_OBJECTS = \ prctl-sched-core-success-Xraw.$(OBJEXT) prctl_sched_core_success_Xraw_LDADD = $(LDADD) -prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xverbose_SOURCES = \ prctl-sched-core-success-Xverbose.c prctl_sched_core_success_Xverbose_OBJECTS = \ prctl-sched-core-success-Xverbose.$(OBJEXT) prctl_sched_core_success_Xverbose_LDADD = $(LDADD) -prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_seccomp_filter_v_SOURCES = prctl-seccomp-filter-v.c prctl_seccomp_filter_v_OBJECTS = prctl-seccomp-filter-v.$(OBJEXT) prctl_seccomp_filter_v_LDADD = $(LDADD) -prctl_seccomp_filter_v_DEPENDENCIES = libtests.a +prctl_seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_seccomp_strict_SOURCES = prctl-seccomp-strict.c prctl_seccomp_strict_OBJECTS = prctl-seccomp-strict.$(OBJEXT) prctl_seccomp_strict_LDADD = $(LDADD) -prctl_seccomp_strict_DEPENDENCIES = libtests.a +prctl_seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_SOURCES = prctl-securebits.c prctl_securebits_OBJECTS = prctl-securebits.$(OBJEXT) prctl_securebits_LDADD = $(LDADD) -prctl_securebits_DEPENDENCIES = libtests.a +prctl_securebits_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_success_SOURCES = prctl-securebits-success.c prctl_securebits_success_OBJECTS = prctl-securebits-success.$(OBJEXT) prctl_securebits_success_LDADD = $(LDADD) -prctl_securebits_success_DEPENDENCIES = libtests.a +prctl_securebits_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xabbrev_SOURCES = \ prctl-securebits-success-Xabbrev.c prctl_securebits_success_Xabbrev_OBJECTS = \ prctl-securebits-success-Xabbrev.$(OBJEXT) prctl_securebits_success_Xabbrev_LDADD = $(LDADD) -prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xraw_SOURCES = \ prctl-securebits-success-Xraw.c prctl_securebits_success_Xraw_OBJECTS = \ prctl-securebits-success-Xraw.$(OBJEXT) prctl_securebits_success_Xraw_LDADD = $(LDADD) -prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a +prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xverbose_SOURCES = \ prctl-securebits-success-Xverbose.c prctl_securebits_success_Xverbose_OBJECTS = \ prctl-securebits-success-Xverbose.$(OBJEXT) prctl_securebits_success_Xverbose_LDADD = $(LDADD) -prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a +prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_SOURCES = prctl-set-ptracer-success.c prctl_set_ptracer_success_OBJECTS = \ prctl-set-ptracer-success.$(OBJEXT) prctl_set_ptracer_success_LDADD = $(LDADD) -prctl_set_ptracer_success_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success__pidns_translation_SOURCES = \ prctl-set-ptracer-success--pidns-translation.c prctl_set_ptracer_success__pidns_translation_OBJECTS = \ prctl-set-ptracer-success--pidns-translation.$(OBJEXT) prctl_set_ptracer_success__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev_SOURCES = \ prctl-set-ptracer-success-Xabbrev.c prctl_set_ptracer_success_Xabbrev_OBJECTS = \ prctl-set-ptracer-success-Xabbrev.$(OBJEXT) prctl_set_ptracer_success_Xabbrev_LDADD = $(LDADD) -prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xabbrev--pidns-translation.c prctl_set_ptracer_success_Xabbrev__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xabbrev--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xabbrev__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xabbrev__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw_SOURCES = \ prctl-set-ptracer-success-Xraw.c prctl_set_ptracer_success_Xraw_OBJECTS = \ prctl-set-ptracer-success-Xraw.$(OBJEXT) prctl_set_ptracer_success_Xraw_LDADD = $(LDADD) -prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xraw--pidns-translation.c prctl_set_ptracer_success_Xraw__pidns_translation_OBJECTS = \ prctl-set-ptracer-success-Xraw--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xraw__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xraw__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose_SOURCES = \ prctl-set-ptracer-success-Xverbose.c prctl_set_ptracer_success_Xverbose_OBJECTS = \ prctl-set-ptracer-success-Xverbose.$(OBJEXT) prctl_set_ptracer_success_Xverbose_LDADD = $(LDADD) -prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xverbose--pidns-translation.c prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xverbose--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD = \ $(LDADD) prctl_set_ptracer_success_Xverbose__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) +prctl_set_vma_SOURCES = prctl-set_vma.c +prctl_set_vma_OBJECTS = prctl-set_vma.$(OBJEXT) +prctl_set_vma_LDADD = $(LDADD) +prctl_set_vma_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_SOURCES = prctl-sme.c +prctl_sme_OBJECTS = prctl-sme.$(OBJEXT) +prctl_sme_LDADD = $(LDADD) +prctl_sme_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xabbrev_SOURCES = prctl-sme-Xabbrev.c +prctl_sme_Xabbrev_OBJECTS = prctl-sme-Xabbrev.$(OBJEXT) +prctl_sme_Xabbrev_LDADD = $(LDADD) +prctl_sme_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xraw_SOURCES = prctl-sme-Xraw.c +prctl_sme_Xraw_OBJECTS = prctl-sme-Xraw.$(OBJEXT) +prctl_sme_Xraw_LDADD = $(LDADD) +prctl_sme_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xverbose_SOURCES = prctl-sme-Xverbose.c +prctl_sme_Xverbose_OBJECTS = prctl-sme-Xverbose.$(OBJEXT) +prctl_sme_Xverbose_LDADD = $(LDADD) +prctl_sme_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_SOURCES = prctl-sme-success.c +prctl_sme_success_OBJECTS = prctl-sme-success.$(OBJEXT) +prctl_sme_success_LDADD = $(LDADD) +prctl_sme_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xabbrev_SOURCES = prctl-sme-success-Xabbrev.c +prctl_sme_success_Xabbrev_OBJECTS = \ + prctl-sme-success-Xabbrev.$(OBJEXT) +prctl_sme_success_Xabbrev_LDADD = $(LDADD) +prctl_sme_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sme_success_Xraw_SOURCES = prctl-sme-success-Xraw.c +prctl_sme_success_Xraw_OBJECTS = prctl-sme-success-Xraw.$(OBJEXT) +prctl_sme_success_Xraw_LDADD = $(LDADD) +prctl_sme_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xverbose_SOURCES = prctl-sme-success-Xverbose.c +prctl_sme_success_Xverbose_OBJECTS = \ + prctl-sme-success-Xverbose.$(OBJEXT) +prctl_sme_success_Xverbose_LDADD = $(LDADD) +prctl_sme_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_spec_inject_SOURCES = prctl-spec-inject.c prctl_spec_inject_OBJECTS = prctl-spec-inject.$(OBJEXT) prctl_spec_inject_LDADD = $(LDADD) -prctl_spec_inject_DEPENDENCIES = libtests.a +prctl_spec_inject_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sve_SOURCES = prctl-sve.c prctl_sve_OBJECTS = prctl-sve.$(OBJEXT) prctl_sve_LDADD = $(LDADD) -prctl_sve_DEPENDENCIES = libtests.a +prctl_sve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xabbrev_SOURCES = prctl-sve-Xabbrev.c +prctl_sve_Xabbrev_OBJECTS = prctl-sve-Xabbrev.$(OBJEXT) +prctl_sve_Xabbrev_LDADD = $(LDADD) +prctl_sve_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xraw_SOURCES = prctl-sve-Xraw.c +prctl_sve_Xraw_OBJECTS = prctl-sve-Xraw.$(OBJEXT) +prctl_sve_Xraw_LDADD = $(LDADD) +prctl_sve_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xverbose_SOURCES = prctl-sve-Xverbose.c +prctl_sve_Xverbose_OBJECTS = prctl-sve-Xverbose.$(OBJEXT) +prctl_sve_Xverbose_LDADD = $(LDADD) +prctl_sve_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_SOURCES = prctl-sve-success.c +prctl_sve_success_OBJECTS = prctl-sve-success.$(OBJEXT) +prctl_sve_success_LDADD = $(LDADD) +prctl_sve_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xabbrev_SOURCES = prctl-sve-success-Xabbrev.c +prctl_sve_success_Xabbrev_OBJECTS = \ + prctl-sve-success-Xabbrev.$(OBJEXT) +prctl_sve_success_Xabbrev_LDADD = $(LDADD) +prctl_sve_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sve_success_Xraw_SOURCES = prctl-sve-success-Xraw.c +prctl_sve_success_Xraw_OBJECTS = prctl-sve-success-Xraw.$(OBJEXT) +prctl_sve_success_Xraw_LDADD = $(LDADD) +prctl_sve_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xverbose_SOURCES = prctl-sve-success-Xverbose.c +prctl_sve_success_Xverbose_OBJECTS = \ + prctl-sve-success-Xverbose.$(OBJEXT) +prctl_sve_success_Xverbose_LDADD = $(LDADD) +prctl_sve_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_syscall_user_dispatch_SOURCES = prctl-syscall-user-dispatch.c prctl_syscall_user_dispatch_OBJECTS = \ prctl-syscall-user-dispatch.$(OBJEXT) prctl_syscall_user_dispatch_LDADD = $(LDADD) -prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a +prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_SOURCES = prctl-tagged-addr.c prctl_tagged_addr_OBJECTS = prctl-tagged-addr.$(OBJEXT) prctl_tagged_addr_LDADD = $(LDADD) -prctl_tagged_addr_DEPENDENCIES = libtests.a +prctl_tagged_addr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xabbrev_SOURCES = prctl-tagged-addr-Xabbrev.c prctl_tagged_addr_Xabbrev_OBJECTS = \ prctl-tagged-addr-Xabbrev.$(OBJEXT) prctl_tagged_addr_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_Xraw_SOURCES = prctl-tagged-addr-Xraw.c prctl_tagged_addr_Xraw_OBJECTS = prctl-tagged-addr-Xraw.$(OBJEXT) prctl_tagged_addr_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xverbose_SOURCES = prctl-tagged-addr-Xverbose.c prctl_tagged_addr_Xverbose_OBJECTS = \ prctl-tagged-addr-Xverbose.$(OBJEXT) prctl_tagged_addr_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_SOURCES = prctl-tagged-addr-success.c prctl_tagged_addr_success_OBJECTS = \ prctl-tagged-addr-success.$(OBJEXT) prctl_tagged_addr_success_LDADD = $(LDADD) -prctl_tagged_addr_success_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xabbrev_SOURCES = \ prctl-tagged-addr-success-Xabbrev.c prctl_tagged_addr_success_Xabbrev_OBJECTS = \ prctl-tagged-addr-success-Xabbrev.$(OBJEXT) prctl_tagged_addr_success_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xraw_SOURCES = \ prctl-tagged-addr-success-Xraw.c prctl_tagged_addr_success_Xraw_OBJECTS = \ prctl-tagged-addr-success-Xraw.$(OBJEXT) prctl_tagged_addr_success_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xverbose_SOURCES = \ prctl-tagged-addr-success-Xverbose.c prctl_tagged_addr_success_Xverbose_OBJECTS = \ prctl-tagged-addr-success-Xverbose.$(OBJEXT) prctl_tagged_addr_success_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tid_address_SOURCES = prctl-tid_address.c prctl_tid_address_OBJECTS = prctl-tid_address.$(OBJEXT) prctl_tid_address_LDADD = $(LDADD) -prctl_tid_address_DEPENDENCIES = libtests.a +prctl_tid_address_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tsc_SOURCES = prctl-tsc.c prctl_tsc_OBJECTS = prctl-tsc.$(OBJEXT) prctl_tsc_LDADD = $(LDADD) -prctl_tsc_DEPENDENCIES = libtests.a +prctl_tsc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_unalign_SOURCES = prctl-unalign.c prctl_unalign_OBJECTS = prctl-unalign.$(OBJEXT) prctl_unalign_LDADD = $(LDADD) -prctl_unalign_DEPENDENCIES = libtests.a +prctl_unalign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pread64_pwrite64_SOURCES = pread64-pwrite64.c pread64_pwrite64_OBJECTS = \ pread64_pwrite64-pread64-pwrite64.$(OBJEXT) pread64_pwrite64_LDADD = $(LDADD) -pread64_pwrite64_DEPENDENCIES = libtests.a +pread64_pwrite64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_SOURCES = preadv.c preadv_OBJECTS = preadv-preadv.$(OBJEXT) preadv_LDADD = $(LDADD) -preadv_DEPENDENCIES = libtests.a +preadv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_pwritev_SOURCES = preadv-pwritev.c preadv_pwritev_OBJECTS = preadv_pwritev-preadv-pwritev.$(OBJEXT) preadv_pwritev_LDADD = $(LDADD) -preadv_pwritev_DEPENDENCIES = libtests.a +preadv_pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv2_pwritev2_SOURCES = preadv2-pwritev2.c preadv2_pwritev2_OBJECTS = preadv2-pwritev2.$(OBJEXT) preadv2_pwritev2_LDADD = $(LDADD) -preadv2_pwritev2_DEPENDENCIES = libtests.a +preadv2_pwritev2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_maxfd_SOURCES = print_maxfd.c print_maxfd_OBJECTS = print_maxfd.$(OBJEXT) print_maxfd_LDADD = $(LDADD) -print_maxfd_DEPENDENCIES = libtests.a +print_maxfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_ppid_tracerpid_SOURCES = print_ppid_tracerpid.c print_ppid_tracerpid_OBJECTS = print_ppid_tracerpid.$(OBJEXT) print_ppid_tracerpid_LDADD = $(LDADD) -print_ppid_tracerpid_DEPENDENCIES = libtests.a +print_ppid_tracerpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_SOURCES = printpath-umovestr.c printpath_umovestr_OBJECTS = printpath-umovestr.$(OBJEXT) printpath_umovestr_LDADD = $(LDADD) -printpath_umovestr_DEPENDENCIES = libtests.a +printpath_umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_peekdata_SOURCES = printpath-umovestr-peekdata.c printpath_umovestr_peekdata_OBJECTS = \ printpath-umovestr-peekdata.$(OBJEXT) printpath_umovestr_peekdata_LDADD = $(LDADD) -printpath_umovestr_peekdata_DEPENDENCIES = libtests.a +printpath_umovestr_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printpath_umovestr_undumpable_SOURCES = \ printpath-umovestr-undumpable.c printpath_umovestr_undumpable_OBJECTS = \ printpath-umovestr-undumpable.$(OBJEXT) printpath_umovestr_undumpable_LDADD = $(LDADD) -printpath_umovestr_undumpable_DEPENDENCIES = libtests.a +printpath_umovestr_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printsignal_Xabbrev_SOURCES = printsignal-Xabbrev.c printsignal_Xabbrev_OBJECTS = printsignal-Xabbrev.$(OBJEXT) printsignal_Xabbrev_LDADD = $(LDADD) -printsignal_Xabbrev_DEPENDENCIES = libtests.a +printsignal_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xraw_SOURCES = printsignal-Xraw.c printsignal_Xraw_OBJECTS = printsignal-Xraw.$(OBJEXT) printsignal_Xraw_LDADD = $(LDADD) -printsignal_Xraw_DEPENDENCIES = libtests.a +printsignal_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xverbose_SOURCES = printsignal-Xverbose.c printsignal_Xverbose_OBJECTS = printsignal-Xverbose.$(OBJEXT) printsignal_Xverbose_LDADD = $(LDADD) -printsignal_Xverbose_DEPENDENCIES = libtests.a +printsignal_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstr_SOURCES = printstr.c printstr_OBJECTS = printstr.$(OBJEXT) printstr_LDADD = $(LDADD) -printstr_DEPENDENCIES = libtests.a +printstr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_SOURCES = printstrn-umoven.c printstrn_umoven_OBJECTS = printstrn-umoven.$(OBJEXT) printstrn_umoven_LDADD = $(LDADD) -printstrn_umoven_DEPENDENCIES = libtests.a +printstrn_umoven_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_peekdata_SOURCES = printstrn-umoven-peekdata.c printstrn_umoven_peekdata_OBJECTS = \ printstrn-umoven-peekdata.$(OBJEXT) printstrn_umoven_peekdata_LDADD = $(LDADD) -printstrn_umoven_peekdata_DEPENDENCIES = libtests.a +printstrn_umoven_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printstrn_umoven_undumpable_SOURCES = printstrn-umoven-undumpable.c printstrn_umoven_undumpable_OBJECTS = \ printstrn-umoven-undumpable.$(OBJEXT) printstrn_umoven_undumpable_LDADD = $(LDADD) -printstrn_umoven_undumpable_DEPENDENCIES = libtests.a +printstrn_umoven_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_SOURCES = prlimit64.c prlimit64_OBJECTS = prlimit64.$(OBJEXT) prlimit64_LDADD = $(LDADD) -prlimit64_DEPENDENCIES = libtests.a +prlimit64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64__pidns_translation_SOURCES = prlimit64--pidns-translation.c prlimit64__pidns_translation_OBJECTS = \ prlimit64--pidns-translation.$(OBJEXT) prlimit64__pidns_translation_LDADD = $(LDADD) -prlimit64__pidns_translation_DEPENDENCIES = libtests.a +prlimit64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_success_SOURCES = prlimit64-success.c prlimit64_success_OBJECTS = prlimit64-success.$(OBJEXT) prlimit64_success_LDADD = $(LDADD) -prlimit64_success_DEPENDENCIES = libtests.a +prlimit64_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64_success__pidns_translation_SOURCES = \ prlimit64-success--pidns-translation.c prlimit64_success__pidns_translation_OBJECTS = \ prlimit64-success--pidns-translation.$(OBJEXT) prlimit64_success__pidns_translation_LDADD = $(LDADD) -prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a +prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_madvise_SOURCES = process_madvise.c process_madvise_OBJECTS = process_madvise.$(OBJEXT) process_madvise_LDADD = $(LDADD) -process_madvise_DEPENDENCIES = libtests.a +process_madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_y_SOURCES = process_madvise-y.c process_madvise_y_OBJECTS = process_madvise-y.$(OBJEXT) process_madvise_y_LDADD = $(LDADD) -process_madvise_y_DEPENDENCIES = libtests.a +process_madvise_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_yy_SOURCES = process_madvise-yy.c process_madvise_yy_OBJECTS = process_madvise-yy.$(OBJEXT) process_madvise_yy_LDADD = $(LDADD) -process_madvise_yy_DEPENDENCIES = libtests.a +process_madvise_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_SOURCES = process_mrelease.c +process_mrelease_OBJECTS = process_mrelease.$(OBJEXT) +process_mrelease_LDADD = $(LDADD) +process_mrelease_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_y_SOURCES = process_mrelease-y.c +process_mrelease_y_OBJECTS = process_mrelease-y.$(OBJEXT) +process_mrelease_y_LDADD = $(LDADD) +process_mrelease_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv_SOURCES = process_vm_readv.c process_vm_readv_OBJECTS = process_vm_readv.$(OBJEXT) process_vm_readv_LDADD = $(LDADD) -process_vm_readv_DEPENDENCIES = libtests.a +process_vm_readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv__pidns_translation_SOURCES = \ process_vm_readv--pidns-translation.c process_vm_readv__pidns_translation_OBJECTS = \ process_vm_readv--pidns-translation.$(OBJEXT) process_vm_readv__pidns_translation_LDADD = $(LDADD) -process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a +process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_vm_writev_SOURCES = process_vm_writev.c process_vm_writev_OBJECTS = process_vm_writev.$(OBJEXT) process_vm_writev_LDADD = $(LDADD) -process_vm_writev_DEPENDENCIES = libtests.a +process_vm_writev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_writev__pidns_translation_SOURCES = \ process_vm_writev--pidns-translation.c process_vm_writev__pidns_translation_OBJECTS = \ process_vm_writev--pidns-translation.$(OBJEXT) process_vm_writev__pidns_translation_LDADD = $(LDADD) -process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a +process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pselect6_SOURCES = pselect6.c pselect6_OBJECTS = pselect6.$(OBJEXT) pselect6_LDADD = $(LDADD) -pselect6_DEPENDENCIES = libtests.a +pselect6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pselect6_time64_SOURCES = pselect6_time64.c pselect6_time64_OBJECTS = pselect6_time64.$(OBJEXT) pselect6_time64_LDADD = $(LDADD) -pselect6_time64_DEPENDENCIES = libtests.a +pselect6_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_SOURCES = ptrace.c ptrace_OBJECTS = ptrace.$(OBJEXT) ptrace_LDADD = $(LDADD) -ptrace_DEPENDENCIES = libtests.a +ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xabbrev_SOURCES = ptrace-Xabbrev.c +ptrace_Xabbrev_OBJECTS = ptrace-Xabbrev.$(OBJEXT) +ptrace_Xabbrev_LDADD = $(LDADD) +ptrace_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xraw_SOURCES = ptrace-Xraw.c +ptrace_Xraw_OBJECTS = ptrace-Xraw.$(OBJEXT) +ptrace_Xraw_LDADD = $(LDADD) +ptrace_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xverbose_SOURCES = ptrace-Xverbose.c +ptrace_Xverbose_OBJECTS = ptrace-Xverbose.$(OBJEXT) +ptrace_Xverbose_LDADD = $(LDADD) +ptrace_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_SOURCES = ptrace-y.c +ptrace_y_OBJECTS = ptrace-y.$(OBJEXT) +ptrace_y_LDADD = $(LDADD) +ptrace_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xabbrev_SOURCES = ptrace-y-Xabbrev.c +ptrace_y_Xabbrev_OBJECTS = ptrace-y-Xabbrev.$(OBJEXT) +ptrace_y_Xabbrev_LDADD = $(LDADD) +ptrace_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xraw_SOURCES = ptrace-y-Xraw.c +ptrace_y_Xraw_OBJECTS = ptrace-y-Xraw.$(OBJEXT) +ptrace_y_Xraw_LDADD = $(LDADD) +ptrace_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xverbose_SOURCES = ptrace-y-Xverbose.c +ptrace_y_Xverbose_OBJECTS = ptrace-y-Xverbose.$(OBJEXT) +ptrace_y_Xverbose_LDADD = $(LDADD) +ptrace_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_syscall_info_SOURCES = ptrace_syscall_info.c ptrace_syscall_info_OBJECTS = ptrace_syscall_info.$(OBJEXT) ptrace_syscall_info_LDADD = $(LDADD) -ptrace_syscall_info_DEPENDENCIES = libtests.a +ptrace_syscall_info_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xabbrev_SOURCES = ptrace_syscall_info-Xabbrev.c +ptrace_syscall_info_Xabbrev_OBJECTS = \ + ptrace_syscall_info-Xabbrev.$(OBJEXT) +ptrace_syscall_info_Xabbrev_LDADD = $(LDADD) +ptrace_syscall_info_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xraw_SOURCES = ptrace_syscall_info-Xraw.c +ptrace_syscall_info_Xraw_OBJECTS = ptrace_syscall_info-Xraw.$(OBJEXT) +ptrace_syscall_info_Xraw_LDADD = $(LDADD) +ptrace_syscall_info_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xverbose_SOURCES = ptrace_syscall_info-Xverbose.c +ptrace_syscall_info_Xverbose_OBJECTS = \ + ptrace_syscall_info-Xverbose.$(OBJEXT) +ptrace_syscall_info_Xverbose_LDADD = $(LDADD) +ptrace_syscall_info_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pwritev_SOURCES = pwritev.c pwritev_OBJECTS = pwritev-pwritev.$(OBJEXT) pwritev_LDADD = $(LDADD) -pwritev_DEPENDENCIES = libtests.a +pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_fault_SOURCES = qual_fault.c qual_fault_OBJECTS = qual_fault.$(OBJEXT) qual_fault_LDADD = $(LDADD) -qual_fault_DEPENDENCIES = libtests.a +qual_fault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_error_signal_SOURCES = qual_inject-error-signal.c qual_inject_error_signal_OBJECTS = qual_inject-error-signal.$(OBJEXT) qual_inject_error_signal_LDADD = $(LDADD) -qual_inject_error_signal_DEPENDENCIES = libtests.a +qual_inject_error_signal_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) qual_inject_retval_SOURCES = qual_inject-retval.c qual_inject_retval_OBJECTS = qual_inject-retval.$(OBJEXT) qual_inject_retval_LDADD = $(LDADD) -qual_inject_retval_DEPENDENCIES = libtests.a +qual_inject_retval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_signal_SOURCES = qual_inject-signal.c qual_inject_signal_OBJECTS = qual_inject-signal.$(OBJEXT) qual_inject_signal_LDADD = $(LDADD) -qual_inject_signal_DEPENDENCIES = libtests.a +qual_inject_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_signal_SOURCES = qual_signal.c qual_signal_OBJECTS = qual_signal.$(OBJEXT) qual_signal_LDADD = $(LDADD) -qual_signal_DEPENDENCIES = libtests.a +qual_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_SOURCES = quotactl.c quotactl_OBJECTS = quotactl.$(OBJEXT) quotactl_LDADD = $(LDADD) -quotactl_DEPENDENCIES = libtests.a +quotactl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xabbrev_SOURCES = quotactl-Xabbrev.c quotactl_Xabbrev_OBJECTS = quotactl-Xabbrev.$(OBJEXT) quotactl_Xabbrev_LDADD = $(LDADD) -quotactl_Xabbrev_DEPENDENCIES = libtests.a +quotactl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xraw_SOURCES = quotactl-Xraw.c quotactl_Xraw_OBJECTS = quotactl-Xraw.$(OBJEXT) quotactl_Xraw_LDADD = $(LDADD) -quotactl_Xraw_DEPENDENCIES = libtests.a +quotactl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xverbose_SOURCES = quotactl-Xverbose.c quotactl_Xverbose_OBJECTS = quotactl-Xverbose.$(OBJEXT) quotactl_Xverbose_LDADD = $(LDADD) -quotactl_Xverbose_DEPENDENCIES = libtests.a +quotactl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_SOURCES = quotactl-success.c quotactl_success_OBJECTS = quotactl-success.$(OBJEXT) quotactl_success_LDADD = $(LDADD) -quotactl_success_DEPENDENCIES = libtests.a +quotactl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_v_SOURCES = quotactl-success-v.c quotactl_success_v_OBJECTS = quotactl-success-v.$(OBJEXT) quotactl_success_v_LDADD = $(LDADD) -quotactl_success_v_DEPENDENCIES = libtests.a +quotactl_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_v_SOURCES = quotactl-v.c quotactl_v_OBJECTS = quotactl-v.$(OBJEXT) quotactl_v_LDADD = $(LDADD) -quotactl_v_DEPENDENCIES = libtests.a +quotactl_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_SOURCES = quotactl-xfs.c quotactl_xfs_OBJECTS = quotactl-xfs.$(OBJEXT) quotactl_xfs_LDADD = $(LDADD) -quotactl_xfs_DEPENDENCIES = libtests.a +quotactl_xfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_SOURCES = quotactl-xfs-success.c quotactl_xfs_success_OBJECTS = quotactl-xfs-success.$(OBJEXT) quotactl_xfs_success_LDADD = $(LDADD) -quotactl_xfs_success_DEPENDENCIES = libtests.a +quotactl_xfs_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_v_SOURCES = quotactl-xfs-success-v.c quotactl_xfs_success_v_OBJECTS = quotactl-xfs-success-v.$(OBJEXT) quotactl_xfs_success_v_LDADD = $(LDADD) -quotactl_xfs_success_v_DEPENDENCIES = libtests.a +quotactl_xfs_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_v_SOURCES = quotactl-xfs-v.c quotactl_xfs_v_OBJECTS = quotactl-xfs-v.$(OBJEXT) quotactl_xfs_v_LDADD = $(LDADD) -quotactl_xfs_v_DEPENDENCIES = libtests.a +quotactl_xfs_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_SOURCES = quotactl_fd.c quotactl_fd_OBJECTS = quotactl_fd.$(OBJEXT) quotactl_fd_LDADD = $(LDADD) -quotactl_fd_DEPENDENCIES = libtests.a +quotactl_fd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_P_SOURCES = quotactl_fd-P.c quotactl_fd_P_OBJECTS = quotactl_fd-P.$(OBJEXT) quotactl_fd_P_LDADD = $(LDADD) -quotactl_fd_P_DEPENDENCIES = libtests.a +quotactl_fd_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_y_SOURCES = quotactl_fd-y.c quotactl_fd_y_OBJECTS = quotactl_fd-y.$(OBJEXT) quotactl_fd_y_LDADD = $(LDADD) -quotactl_fd_y_DEPENDENCIES = libtests.a +quotactl_fd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) read_write_SOURCES = read-write.c read_write_OBJECTS = read-write.$(OBJEXT) read_write_LDADD = $(LDADD) -read_write_DEPENDENCIES = libtests.a +read_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readahead_SOURCES = readahead.c readahead_OBJECTS = readahead.$(OBJEXT) readahead_LDADD = $(LDADD) -readahead_DEPENDENCIES = libtests.a +readahead_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readdir_SOURCES = readdir.c readdir_OBJECTS = readdir.$(OBJEXT) readdir_LDADD = $(LDADD) -readdir_DEPENDENCIES = libtests.a +readdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlink_SOURCES = readlink.c readlink_OBJECTS = readlink.$(OBJEXT) readlink_LDADD = $(LDADD) -readlink_DEPENDENCIES = libtests.a +readlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlinkat_SOURCES = readlinkat.c readlinkat_OBJECTS = readlinkat.$(OBJEXT) readlinkat_LDADD = $(LDADD) -readlinkat_DEPENDENCIES = libtests.a +readlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readv_SOURCES = readv.c readv_OBJECTS = readv.$(OBJEXT) readv_LDADD = $(LDADD) -readv_DEPENDENCIES = libtests.a +readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) reboot_SOURCES = reboot.c reboot_OBJECTS = reboot.$(OBJEXT) reboot_LDADD = $(LDADD) -reboot_DEPENDENCIES = libtests.a +reboot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recv_MSG_TRUNC_SOURCES = recv-MSG_TRUNC.c recv_MSG_TRUNC_OBJECTS = recv-MSG_TRUNC.$(OBJEXT) recv_MSG_TRUNC_LDADD = $(LDADD) -recv_MSG_TRUNC_DEPENDENCIES = libtests.a +recv_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_SOURCES = recvfrom.c recvfrom_OBJECTS = recvfrom.$(OBJEXT) recvfrom_LDADD = $(LDADD) -recvfrom_DEPENDENCIES = libtests.a +recvfrom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_MSG_TRUNC_SOURCES = recvfrom-MSG_TRUNC.c recvfrom_MSG_TRUNC_OBJECTS = recvfrom-MSG_TRUNC.$(OBJEXT) recvfrom_MSG_TRUNC_LDADD = $(LDADD) -recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a +recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmmsg_timeout_SOURCES = recvmmsg-timeout.c recvmmsg_timeout_OBJECTS = recvmmsg-timeout.$(OBJEXT) recvmmsg_timeout_LDADD = $(LDADD) -recvmmsg_timeout_DEPENDENCIES = libtests.a +recvmmsg_timeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmsg_SOURCES = recvmsg.c recvmsg_OBJECTS = recvmsg.$(OBJEXT) recvmsg_LDADD = $(LDADD) -recvmsg_DEPENDENCIES = libtests.a +recvmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) redirect_fds_SOURCES = redirect-fds.c redirect_fds_OBJECTS = redirect-fds.$(OBJEXT) redirect_fds_LDADD = $(LDADD) -redirect_fds_DEPENDENCIES = libtests.a +redirect_fds_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_SOURCES = remap_file_pages.c remap_file_pages_OBJECTS = remap_file_pages.$(OBJEXT) remap_file_pages_LDADD = $(LDADD) -remap_file_pages_DEPENDENCIES = libtests.a +remap_file_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xabbrev_SOURCES = remap_file_pages-Xabbrev.c remap_file_pages_Xabbrev_OBJECTS = remap_file_pages-Xabbrev.$(OBJEXT) remap_file_pages_Xabbrev_LDADD = $(LDADD) -remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a +remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) remap_file_pages_Xraw_SOURCES = remap_file_pages-Xraw.c remap_file_pages_Xraw_OBJECTS = remap_file_pages-Xraw.$(OBJEXT) remap_file_pages_Xraw_LDADD = $(LDADD) -remap_file_pages_Xraw_DEPENDENCIES = libtests.a +remap_file_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xverbose_SOURCES = remap_file_pages-Xverbose.c remap_file_pages_Xverbose_OBJECTS = \ remap_file_pages-Xverbose.$(OBJEXT) remap_file_pages_Xverbose_LDADD = $(LDADD) -remap_file_pages_Xverbose_DEPENDENCIES = libtests.a +remap_file_pages_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rename_SOURCES = rename.c rename_OBJECTS = rename.$(OBJEXT) rename_LDADD = $(LDADD) -rename_DEPENDENCIES = libtests.a +rename_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat_SOURCES = renameat.c renameat_OBJECTS = renameat.$(OBJEXT) renameat_LDADD = $(LDADD) -renameat_DEPENDENCIES = libtests.a +renameat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat2_SOURCES = renameat2.c renameat2_OBJECTS = renameat2.$(OBJEXT) renameat2_LDADD = $(LDADD) -renameat2_DEPENDENCIES = libtests.a +renameat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) request_key_SOURCES = request_key.c request_key_OBJECTS = request_key.$(OBJEXT) request_key_LDADD = $(LDADD) -request_key_DEPENDENCIES = libtests.a +request_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) restart_syscall_SOURCES = restart_syscall.c restart_syscall_OBJECTS = restart_syscall.$(OBJEXT) restart_syscall_LDADD = $(LDADD) -restart_syscall_DEPENDENCIES = libtests.a +restart_syscall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) riscv_flush_icache_SOURCES = riscv_flush_icache.c riscv_flush_icache_OBJECTS = riscv_flush_icache.$(OBJEXT) riscv_flush_icache_LDADD = $(LDADD) -riscv_flush_icache_DEPENDENCIES = libtests.a +riscv_flush_icache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rmdir_SOURCES = rmdir.c rmdir_OBJECTS = rmdir.$(OBJEXT) rmdir_LDADD = $(LDADD) -rmdir_DEPENDENCIES = libtests.a +rmdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigaction_SOURCES = rt_sigaction.c rt_sigaction_OBJECTS = rt_sigaction.$(OBJEXT) rt_sigaction_LDADD = $(LDADD) -rt_sigaction_DEPENDENCIES = libtests.a +rt_sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigpending_SOURCES = rt_sigpending.c rt_sigpending_OBJECTS = rt_sigpending.$(OBJEXT) rt_sigpending_LDADD = $(LDADD) -rt_sigpending_DEPENDENCIES = libtests.a +rt_sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigprocmask_SOURCES = rt_sigprocmask.c rt_sigprocmask_OBJECTS = rt_sigprocmask.$(OBJEXT) rt_sigprocmask_LDADD = $(LDADD) -rt_sigprocmask_DEPENDENCIES = libtests.a +rt_sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo_SOURCES = rt_sigqueueinfo.c rt_sigqueueinfo_OBJECTS = rt_sigqueueinfo.$(OBJEXT) rt_sigqueueinfo_LDADD = $(LDADD) -rt_sigqueueinfo_DEPENDENCIES = libtests.a +rt_sigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo__pidns_translation_SOURCES = \ rt_sigqueueinfo--pidns-translation.c rt_sigqueueinfo__pidns_translation_OBJECTS = \ rt_sigqueueinfo--pidns-translation.$(OBJEXT) rt_sigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rt_sigreturn_SOURCES = rt_sigreturn.c rt_sigreturn_OBJECTS = rt_sigreturn.$(OBJEXT) rt_sigreturn_LDADD = $(LDADD) -rt_sigreturn_DEPENDENCIES = libtests.a +rt_sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigsuspend_SOURCES = rt_sigsuspend.c rt_sigsuspend_OBJECTS = rt_sigsuspend.$(OBJEXT) rt_sigsuspend_LDADD = $(LDADD) -rt_sigsuspend_DEPENDENCIES = libtests.a +rt_sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigtimedwait_SOURCES = rt_sigtimedwait.c rt_sigtimedwait_OBJECTS = rt_sigtimedwait.$(OBJEXT) rt_sigtimedwait_LDADD = $(LDADD) -rt_sigtimedwait_DEPENDENCIES = libtests.a +rt_sigtimedwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo_SOURCES = rt_tgsigqueueinfo.c rt_tgsigqueueinfo_OBJECTS = rt_tgsigqueueinfo.$(OBJEXT) rt_tgsigqueueinfo_LDADD = $(LDADD) -rt_tgsigqueueinfo_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo__pidns_translation_SOURCES = \ rt_tgsigqueueinfo--pidns-translation.c rt_tgsigqueueinfo__pidns_translation_OBJECTS = \ rt_tgsigqueueinfo--pidns-translation.$(OBJEXT) rt_tgsigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) run_expect_termsig_SOURCES = run_expect_termsig.c run_expect_termsig_OBJECTS = run_expect_termsig.$(OBJEXT) run_expect_termsig_LDADD = $(LDADD) -run_expect_termsig_DEPENDENCIES = libtests.a +run_expect_termsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_SOURCES = s390_guarded_storage.c s390_guarded_storage_OBJECTS = s390_guarded_storage.$(OBJEXT) s390_guarded_storage_LDADD = $(LDADD) -s390_guarded_storage_DEPENDENCIES = libtests.a +s390_guarded_storage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_v_SOURCES = s390_guarded_storage-v.c s390_guarded_storage_v_OBJECTS = s390_guarded_storage-v.$(OBJEXT) s390_guarded_storage_v_LDADD = $(LDADD) -s390_guarded_storage_v_DEPENDENCIES = libtests.a +s390_guarded_storage_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_pci_mmio_read_write_SOURCES = s390_pci_mmio_read_write.c s390_pci_mmio_read_write_OBJECTS = s390_pci_mmio_read_write.$(OBJEXT) s390_pci_mmio_read_write_LDADD = $(LDADD) -s390_pci_mmio_read_write_DEPENDENCIES = libtests.a +s390_pci_mmio_read_write_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) s390_runtime_instr_SOURCES = s390_runtime_instr.c s390_runtime_instr_OBJECTS = s390_runtime_instr.$(OBJEXT) s390_runtime_instr_LDADD = $(LDADD) -s390_runtime_instr_DEPENDENCIES = libtests.a +s390_runtime_instr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_SOURCES = s390_sthyi.c s390_sthyi_OBJECTS = s390_sthyi.$(OBJEXT) s390_sthyi_LDADD = $(LDADD) -s390_sthyi_DEPENDENCIES = libtests.a +s390_sthyi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_v_SOURCES = s390_sthyi-v.c s390_sthyi_v_OBJECTS = s390_sthyi-v.$(OBJEXT) s390_sthyi_v_LDADD = $(LDADD) -s390_sthyi_v_DEPENDENCIES = libtests.a +s390_sthyi_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_get_priority_mxx_SOURCES = sched_get_priority_mxx.c sched_get_priority_mxx_OBJECTS = sched_get_priority_mxx.$(OBJEXT) sched_get_priority_mxx_LDADD = $(LDADD) -sched_get_priority_mxx_DEPENDENCIES = libtests.a +sched_get_priority_mxx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_rr_get_interval_SOURCES = sched_rr_get_interval.c sched_rr_get_interval_OBJECTS = sched_rr_get_interval.$(OBJEXT) sched_rr_get_interval_LDADD = $(LDADD) -sched_rr_get_interval_DEPENDENCIES = libtests.a +sched_rr_get_interval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity_SOURCES = sched_xetaffinity.c sched_xetaffinity_OBJECTS = sched_xetaffinity.$(OBJEXT) sched_xetaffinity_LDADD = $(LDADD) -sched_xetaffinity_DEPENDENCIES = libtests.a +sched_xetaffinity_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity__pidns_translation_SOURCES = \ sched_xetaffinity--pidns-translation.c sched_xetaffinity__pidns_translation_OBJECTS = \ sched_xetaffinity--pidns-translation.$(OBJEXT) sched_xetaffinity__pidns_translation_LDADD = $(LDADD) -sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a +sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetattr_SOURCES = sched_xetattr.c sched_xetattr_OBJECTS = sched_xetattr.$(OBJEXT) sched_xetattr_LDADD = $(LDADD) -sched_xetattr_DEPENDENCIES = libtests.a +sched_xetattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetattr__pidns_translation_SOURCES = \ sched_xetattr--pidns-translation.c sched_xetattr__pidns_translation_OBJECTS = \ sched_xetattr--pidns-translation.$(OBJEXT) sched_xetattr__pidns_translation_LDADD = $(LDADD) -sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a +sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetparam_SOURCES = sched_xetparam.c sched_xetparam_OBJECTS = sched_xetparam.$(OBJEXT) sched_xetparam_LDADD = $(LDADD) -sched_xetparam_DEPENDENCIES = libtests.a +sched_xetparam_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetparam__pidns_translation_SOURCES = \ sched_xetparam--pidns-translation.c sched_xetparam__pidns_translation_OBJECTS = \ sched_xetparam--pidns-translation.$(OBJEXT) sched_xetparam__pidns_translation_LDADD = $(LDADD) -sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a +sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetscheduler_SOURCES = sched_xetscheduler.c sched_xetscheduler_OBJECTS = sched_xetscheduler.$(OBJEXT) sched_xetscheduler_LDADD = $(LDADD) -sched_xetscheduler_DEPENDENCIES = libtests.a +sched_xetscheduler_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetscheduler__pidns_translation_SOURCES = \ sched_xetscheduler--pidns-translation.c sched_xetscheduler__pidns_translation_OBJECTS = \ sched_xetscheduler--pidns-translation.$(OBJEXT) sched_xetscheduler__pidns_translation_LDADD = $(LDADD) -sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a +sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_yield_SOURCES = sched_yield.c sched_yield_OBJECTS = sched_yield.$(OBJEXT) sched_yield_LDADD = $(LDADD) -sched_yield_DEPENDENCIES = libtests.a +sched_yield_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) scm_rights_SOURCES = scm_rights.c scm_rights_OBJECTS = scm_rights.$(OBJEXT) scm_rights_LDADD = $(LDADD) -scm_rights_DEPENDENCIES = libtests.a +scm_rights_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_SOURCES = seccomp-filter.c seccomp_filter_OBJECTS = seccomp-filter.$(OBJEXT) seccomp_filter_LDADD = $(LDADD) -seccomp_filter_DEPENDENCIES = libtests.a +seccomp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_v_SOURCES = seccomp-filter-v.c seccomp_filter_v_OBJECTS = seccomp-filter-v.$(OBJEXT) seccomp_filter_v_LDADD = $(LDADD) -seccomp_filter_v_DEPENDENCIES = libtests.a +seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_strict_SOURCES = seccomp-strict.c seccomp_strict_OBJECTS = seccomp-strict.$(OBJEXT) seccomp_strict_LDADD = $(LDADD) -seccomp_strict_DEPENDENCIES = libtests.a +seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_get_action_avail_SOURCES = seccomp_get_action_avail.c seccomp_get_action_avail_OBJECTS = seccomp_get_action_avail.$(OBJEXT) seccomp_get_action_avail_LDADD = $(LDADD) -seccomp_get_action_avail_DEPENDENCIES = libtests.a +seccomp_get_action_avail_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_SOURCES = seccomp_get_notif_sizes.c +seccomp_get_notif_sizes_OBJECTS = seccomp_get_notif_sizes.$(OBJEXT) +seccomp_get_notif_sizes_LDADD = $(LDADD) +seccomp_get_notif_sizes_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_success_SOURCES = \ + seccomp_get_notif_sizes-success.c +seccomp_get_notif_sizes_success_OBJECTS = \ + seccomp_get_notif_sizes-success.$(OBJEXT) +seccomp_get_notif_sizes_success_LDADD = $(LDADD) +seccomp_get_notif_sizes_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +segv_accerr_SOURCES = segv_accerr.c +segv_accerr_OBJECTS = segv_accerr.$(OBJEXT) +segv_accerr_LDADD = $(LDADD) +segv_accerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +segv_pkuerr_SOURCES = segv_pkuerr.c +segv_pkuerr_OBJECTS = segv_pkuerr.$(OBJEXT) +segv_pkuerr_LDADD = $(LDADD) +segv_pkuerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_SOURCES = select.c select_OBJECTS = select.$(OBJEXT) select_LDADD = $(LDADD) -select_DEPENDENCIES = libtests.a +select_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_P_SOURCES = select-P.c select_P_OBJECTS = select-P.$(OBJEXT) select_P_LDADD = $(LDADD) -select_P_DEPENDENCIES = libtests.a +select_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_SOURCES = semop.c semop_OBJECTS = semop.$(OBJEXT) semop_LDADD = $(LDADD) -semop_DEPENDENCIES = libtests.a +semop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_indirect_SOURCES = semop-indirect.c semop_indirect_OBJECTS = semop-indirect.$(OBJEXT) semop_indirect_LDADD = $(LDADD) -semop_indirect_DEPENDENCIES = libtests.a +semop_indirect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_SOURCES = semtimedop.c semtimedop_OBJECTS = semtimedop.$(OBJEXT) semtimedop_LDADD = $(LDADD) -semtimedop_DEPENDENCIES = libtests.a +semtimedop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_ipc_SOURCES = semtimedop-ipc.c semtimedop_ipc_OBJECTS = semtimedop-ipc.$(OBJEXT) semtimedop_ipc_LDADD = $(LDADD) -semtimedop_ipc_DEPENDENCIES = libtests.a +semtimedop_ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_time64_SOURCES = semtimedop_time64.c semtimedop_time64_OBJECTS = semtimedop_time64.$(OBJEXT) semtimedop_time64_LDADD = $(LDADD) -semtimedop_time64_DEPENDENCIES = libtests.a +semtimedop_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile_SOURCES = sendfile.c sendfile_OBJECTS = sendfile.$(OBJEXT) sendfile_LDADD = $(LDADD) -sendfile_DEPENDENCIES = libtests.a +sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile64_SOURCES = sendfile64.c sendfile64_OBJECTS = sendfile64.$(OBJEXT) sendfile64_LDADD = $(LDADD) -sendfile64_DEPENDENCIES = libtests.a +sendfile64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_SOURCES = set_mempolicy.c set_mempolicy_OBJECTS = set_mempolicy.$(OBJEXT) set_mempolicy_LDADD = $(LDADD) -set_mempolicy_DEPENDENCIES = libtests.a +set_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xabbrev_SOURCES = set_mempolicy-Xabbrev.c set_mempolicy_Xabbrev_OBJECTS = set_mempolicy-Xabbrev.$(OBJEXT) set_mempolicy_Xabbrev_LDADD = $(LDADD) -set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a +set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xraw_SOURCES = set_mempolicy-Xraw.c set_mempolicy_Xraw_OBJECTS = set_mempolicy-Xraw.$(OBJEXT) set_mempolicy_Xraw_LDADD = $(LDADD) -set_mempolicy_Xraw_DEPENDENCIES = libtests.a +set_mempolicy_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xverbose_SOURCES = set_mempolicy-Xverbose.c set_mempolicy_Xverbose_OBJECTS = set_mempolicy-Xverbose.$(OBJEXT) set_mempolicy_Xverbose_LDADD = $(LDADD) -set_mempolicy_Xverbose_DEPENDENCIES = libtests.a +set_mempolicy_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +set_mempolicy_home_node_SOURCES = set_mempolicy_home_node.c +set_mempolicy_home_node_OBJECTS = set_mempolicy_home_node.$(OBJEXT) +set_mempolicy_home_node_LDADD = $(LDADD) +set_mempolicy_home_node_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) set_ptracer_any_SOURCES = set_ptracer_any.c set_ptracer_any_OBJECTS = set_ptracer_any.$(OBJEXT) set_ptracer_any_LDADD = $(LDADD) -set_ptracer_any_DEPENDENCIES = libtests.a +set_ptracer_any_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigblock_SOURCES = set_sigblock.c set_sigblock_OBJECTS = set_sigblock.$(OBJEXT) set_sigblock_LDADD = $(LDADD) -set_sigblock_DEPENDENCIES = libtests.a +set_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigign_SOURCES = set_sigign.c set_sigign_OBJECTS = set_sigign.$(OBJEXT) set_sigign_LDADD = $(LDADD) -set_sigign_DEPENDENCIES = libtests.a +set_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setdomainname_SOURCES = setdomainname.c setdomainname_OBJECTS = setdomainname.$(OBJEXT) setdomainname_LDADD = $(LDADD) -setdomainname_DEPENDENCIES = libtests.a +setdomainname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid_SOURCES = setfsgid.c setfsgid_OBJECTS = setfsgid.$(OBJEXT) setfsgid_LDADD = $(LDADD) -setfsgid_DEPENDENCIES = libtests.a +setfsgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid32_SOURCES = setfsgid32.c setfsgid32_OBJECTS = setfsgid32.$(OBJEXT) setfsgid32_LDADD = $(LDADD) -setfsgid32_DEPENDENCIES = libtests.a +setfsgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid_SOURCES = setfsuid.c setfsuid_OBJECTS = setfsuid.$(OBJEXT) setfsuid_LDADD = $(LDADD) -setfsuid_DEPENDENCIES = libtests.a +setfsuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid32_SOURCES = setfsuid32.c setfsuid32_OBJECTS = setfsuid32.$(OBJEXT) setfsuid32_LDADD = $(LDADD) -setfsuid32_DEPENDENCIES = libtests.a +setfsuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid_SOURCES = setgid.c setgid_OBJECTS = setgid.$(OBJEXT) setgid_LDADD = $(LDADD) -setgid_DEPENDENCIES = libtests.a +setgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid32_SOURCES = setgid32.c setgid32_OBJECTS = setgid32.$(OBJEXT) setgid32_LDADD = $(LDADD) -setgid32_DEPENDENCIES = libtests.a +setgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups_SOURCES = setgroups.c setgroups_OBJECTS = setgroups.$(OBJEXT) setgroups_LDADD = $(LDADD) -setgroups_DEPENDENCIES = libtests.a +setgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups32_SOURCES = setgroups32.c setgroups32_OBJECTS = setgroups32.$(OBJEXT) setgroups32_LDADD = $(LDADD) -setgroups32_DEPENDENCIES = libtests.a +setgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sethostname_SOURCES = sethostname.c sethostname_OBJECTS = sethostname.$(OBJEXT) sethostname_LDADD = $(LDADD) -sethostname_DEPENDENCIES = libtests.a +sethostname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setns_SOURCES = setns.c setns_OBJECTS = setns.$(OBJEXT) setns_LDADD = $(LDADD) -setns_DEPENDENCIES = libtests.a +setns_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setpgrp_exec_SOURCES = setpgrp-exec.c setpgrp_exec_OBJECTS = setpgrp-exec.$(OBJEXT) setpgrp_exec_LDADD = $(LDADD) -setpgrp_exec_DEPENDENCIES = libtests.a +setpgrp_exec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid_SOURCES = setregid.c setregid_OBJECTS = setregid.$(OBJEXT) setregid_LDADD = $(LDADD) -setregid_DEPENDENCIES = libtests.a +setregid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid32_SOURCES = setregid32.c setregid32_OBJECTS = setregid32.$(OBJEXT) setregid32_LDADD = $(LDADD) -setregid32_DEPENDENCIES = libtests.a +setregid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid_SOURCES = setresgid.c setresgid_OBJECTS = setresgid.$(OBJEXT) setresgid_LDADD = $(LDADD) -setresgid_DEPENDENCIES = libtests.a +setresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid32_SOURCES = setresgid32.c setresgid32_OBJECTS = setresgid32.$(OBJEXT) setresgid32_LDADD = $(LDADD) -setresgid32_DEPENDENCIES = libtests.a +setresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid_SOURCES = setresuid.c setresuid_OBJECTS = setresuid.$(OBJEXT) setresuid_LDADD = $(LDADD) -setresuid_DEPENDENCIES = libtests.a +setresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid32_SOURCES = setresuid32.c setresuid32_OBJECTS = setresuid32.$(OBJEXT) setresuid32_LDADD = $(LDADD) -setresuid32_DEPENDENCIES = libtests.a +setresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid_SOURCES = setreuid.c setreuid_OBJECTS = setreuid.$(OBJEXT) setreuid_LDADD = $(LDADD) -setreuid_DEPENDENCIES = libtests.a +setreuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid32_SOURCES = setreuid32.c setreuid32_OBJECTS = setreuid32.$(OBJEXT) setreuid32_LDADD = $(LDADD) -setreuid32_DEPENDENCIES = libtests.a +setreuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_SOURCES = setrlimit.c setrlimit_OBJECTS = setrlimit.$(OBJEXT) setrlimit_LDADD = $(LDADD) -setrlimit_DEPENDENCIES = libtests.a +setrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xabbrev_SOURCES = setrlimit-Xabbrev.c setrlimit_Xabbrev_OBJECTS = setrlimit-Xabbrev.$(OBJEXT) setrlimit_Xabbrev_LDADD = $(LDADD) -setrlimit_Xabbrev_DEPENDENCIES = libtests.a +setrlimit_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xraw_SOURCES = setrlimit-Xraw.c setrlimit_Xraw_OBJECTS = setrlimit-Xraw.$(OBJEXT) setrlimit_Xraw_LDADD = $(LDADD) -setrlimit_Xraw_DEPENDENCIES = libtests.a +setrlimit_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xverbose_SOURCES = setrlimit-Xverbose.c setrlimit_Xverbose_OBJECTS = setrlimit-Xverbose.$(OBJEXT) setrlimit_Xverbose_LDADD = $(LDADD) -setrlimit_Xverbose_DEPENDENCIES = libtests.a +setrlimit_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid_SOURCES = setuid.c setuid_OBJECTS = setuid.$(OBJEXT) setuid_LDADD = $(LDADD) -setuid_DEPENDENCIES = libtests.a +setuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid32_SOURCES = setuid32.c setuid32_OBJECTS = setuid32.$(OBJEXT) setuid32_LDADD = $(LDADD) -setuid32_DEPENDENCIES = libtests.a +setuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shmxt_SOURCES = shmxt.c shmxt_OBJECTS = shmxt.$(OBJEXT) shmxt_LDADD = $(LDADD) -shmxt_DEPENDENCIES = libtests.a +shmxt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shutdown_SOURCES = shutdown.c shutdown_OBJECTS = shutdown.$(OBJEXT) shutdown_LDADD = $(LDADD) -shutdown_DEPENDENCIES = libtests.a +shutdown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaction_SOURCES = sigaction.c sigaction_OBJECTS = sigaction.$(OBJEXT) sigaction_LDADD = $(LDADD) -sigaction_DEPENDENCIES = libtests.a +sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaltstack_SOURCES = sigaltstack.c sigaltstack_OBJECTS = sigaltstack.$(OBJEXT) sigaltstack_LDADD = $(LDADD) -sigaltstack_DEPENDENCIES = libtests.a +sigaltstack_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) siginfo_SOURCES = siginfo.c siginfo_OBJECTS = siginfo.$(OBJEXT) siginfo_LDADD = $(LDADD) -siginfo_DEPENDENCIES = libtests.a +siginfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_SOURCES = signal.c signal_OBJECTS = signal.$(OBJEXT) signal_LDADD = $(LDADD) -signal_DEPENDENCIES = libtests.a +signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive_SOURCES = signal_receive.c signal_receive_OBJECTS = signal_receive.$(OBJEXT) signal_receive_LDADD = $(LDADD) -signal_receive_DEPENDENCIES = libtests.a +signal_receive_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive__pidns_translation_SOURCES = \ signal_receive--pidns-translation.c signal_receive__pidns_translation_OBJECTS = \ signal_receive--pidns-translation.$(OBJEXT) signal_receive__pidns_translation_LDADD = $(LDADD) -signal_receive__pidns_translation_DEPENDENCIES = libtests.a +signal_receive__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) signalfd4_SOURCES = signalfd4.c signalfd4_OBJECTS = signalfd4.$(OBJEXT) signalfd4_LDADD = $(LDADD) -signalfd4_DEPENDENCIES = libtests.a +signalfd4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigpending_SOURCES = sigpending.c sigpending_OBJECTS = sigpending.$(OBJEXT) sigpending_LDADD = $(LDADD) -sigpending_DEPENDENCIES = libtests.a +sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigprocmask_SOURCES = sigprocmask.c sigprocmask_OBJECTS = sigprocmask.$(OBJEXT) sigprocmask_LDADD = $(LDADD) -sigprocmask_DEPENDENCIES = libtests.a +sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigreturn_SOURCES = sigreturn.c sigreturn_OBJECTS = sigreturn.$(OBJEXT) sigreturn_LDADD = $(LDADD) -sigreturn_DEPENDENCIES = libtests.a +sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigsuspend_SOURCES = sigsuspend.c sigsuspend_OBJECTS = sigsuspend.$(OBJEXT) sigsuspend_LDADD = $(LDADD) -sigsuspend_DEPENDENCIES = libtests.a +sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sleep_SOURCES = sleep.c sleep_OBJECTS = sleep.$(OBJEXT) sleep_LDADD = $(LDADD) -sleep_DEPENDENCIES = libtests.a +sleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_error_SOURCES = so_error.c so_error_OBJECTS = so_error.$(OBJEXT) so_error_LDADD = $(LDADD) -so_error_DEPENDENCIES = libtests.a +so_error_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_linger_SOURCES = so_linger.c so_linger_OBJECTS = so_linger.$(OBJEXT) so_linger_LDADD = $(LDADD) -so_linger_DEPENDENCIES = libtests.a +so_linger_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_SOURCES = so_peercred.c so_peercred_OBJECTS = so_peercred.$(OBJEXT) so_peercred_LDADD = $(LDADD) -so_peercred_DEPENDENCIES = libtests.a +so_peercred_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred__pidns_translation_SOURCES = \ so_peercred--pidns-translation.c so_peercred__pidns_translation_OBJECTS = \ so_peercred--pidns-translation.$(OBJEXT) so_peercred__pidns_translation_LDADD = $(LDADD) -so_peercred__pidns_translation_DEPENDENCIES = libtests.a +so_peercred__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) so_peercred_Xabbrev_SOURCES = so_peercred-Xabbrev.c so_peercred_Xabbrev_OBJECTS = so_peercred-Xabbrev.$(OBJEXT) so_peercred_Xabbrev_LDADD = $(LDADD) -so_peercred_Xabbrev_DEPENDENCIES = libtests.a +so_peercred_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xraw_SOURCES = so_peercred-Xraw.c so_peercred_Xraw_OBJECTS = so_peercred-Xraw.$(OBJEXT) so_peercred_Xraw_LDADD = $(LDADD) -so_peercred_Xraw_DEPENDENCIES = libtests.a +so_peercred_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xverbose_SOURCES = so_peercred-Xverbose.c so_peercred_Xverbose_OBJECTS = so_peercred-Xverbose.$(OBJEXT) so_peercred_Xverbose_LDADD = $(LDADD) -so_peercred_Xverbose_DEPENDENCIES = libtests.a +so_peercred_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_SOURCES = sock_filter-v.c sock_filter_v_OBJECTS = sock_filter-v.$(OBJEXT) sock_filter_v_LDADD = $(LDADD) -sock_filter_v_DEPENDENCIES = libtests.a +sock_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xabbrev_SOURCES = sock_filter-v-Xabbrev.c sock_filter_v_Xabbrev_OBJECTS = sock_filter-v-Xabbrev.$(OBJEXT) sock_filter_v_Xabbrev_LDADD = $(LDADD) -sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a +sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xraw_SOURCES = sock_filter-v-Xraw.c sock_filter_v_Xraw_OBJECTS = sock_filter-v-Xraw.$(OBJEXT) sock_filter_v_Xraw_LDADD = $(LDADD) -sock_filter_v_Xraw_DEPENDENCIES = libtests.a +sock_filter_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xverbose_SOURCES = sock_filter-v-Xverbose.c sock_filter_v_Xverbose_OBJECTS = sock_filter-v-Xverbose.$(OBJEXT) sock_filter_v_Xverbose_LDADD = $(LDADD) -sock_filter_v_Xverbose_DEPENDENCIES = libtests.a +sock_filter_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xabbrev_SOURCES = sockaddr_xlat-Xabbrev.c sockaddr_xlat_Xabbrev_OBJECTS = sockaddr_xlat-Xabbrev.$(OBJEXT) sockaddr_xlat_Xabbrev_LDADD = $(LDADD) -sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a +sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xabbrev_y_SOURCES = sockaddr_xlat-Xabbrev-y.c +sockaddr_xlat_Xabbrev_y_OBJECTS = sockaddr_xlat-Xabbrev-y.$(OBJEXT) +sockaddr_xlat_Xabbrev_y_LDADD = $(LDADD) +sockaddr_xlat_Xabbrev_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockaddr_xlat_Xraw_SOURCES = sockaddr_xlat-Xraw.c sockaddr_xlat_Xraw_OBJECTS = sockaddr_xlat-Xraw.$(OBJEXT) sockaddr_xlat_Xraw_LDADD = $(LDADD) -sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a +sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xraw_y_SOURCES = sockaddr_xlat-Xraw-y.c +sockaddr_xlat_Xraw_y_OBJECTS = sockaddr_xlat-Xraw-y.$(OBJEXT) +sockaddr_xlat_Xraw_y_LDADD = $(LDADD) +sockaddr_xlat_Xraw_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xverbose_SOURCES = sockaddr_xlat-Xverbose.c sockaddr_xlat_Xverbose_OBJECTS = sockaddr_xlat-Xverbose.$(OBJEXT) sockaddr_xlat_Xverbose_LDADD = $(LDADD) -sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a +sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xverbose_y_SOURCES = sockaddr_xlat-Xverbose-y.c +sockaddr_xlat_Xverbose_y_OBJECTS = sockaddr_xlat-Xverbose-y.$(OBJEXT) +sockaddr_xlat_Xverbose_y_LDADD = $(LDADD) +sockaddr_xlat_Xverbose_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) socketcall_SOURCES = socketcall.c socketcall_OBJECTS = socketcall.$(OBJEXT) socketcall_LDADD = $(LDADD) -socketcall_DEPENDENCIES = libtests.a +socketcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockopt_sol_netlink_SOURCES = sockopt-sol_netlink.c sockopt_sol_netlink_OBJECTS = sockopt-sol_netlink.$(OBJEXT) sockopt_sol_netlink_LDADD = $(LDADD) -sockopt_sol_netlink_DEPENDENCIES = libtests.a +sockopt_sol_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_SOURCES = sockopt-sol_socket.c +sockopt_sol_socket_OBJECTS = sockopt-sol_socket.$(OBJEXT) +sockopt_sol_socket_LDADD = $(LDADD) +sockopt_sol_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xabbrev_SOURCES = sockopt-sol_socket-Xabbrev.c +sockopt_sol_socket_Xabbrev_OBJECTS = \ + sockopt-sol_socket-Xabbrev.$(OBJEXT) +sockopt_sol_socket_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xraw_SOURCES = sockopt-sol_socket-Xraw.c +sockopt_sol_socket_Xraw_OBJECTS = sockopt-sol_socket-Xraw.$(OBJEXT) +sockopt_sol_socket_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xverbose_SOURCES = sockopt-sol_socket-Xverbose.c +sockopt_sol_socket_Xverbose_OBJECTS = \ + sockopt-sol_socket-Xverbose.$(OBJEXT) +sockopt_sol_socket_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_SOURCES = sockopt-sol_socket-success.c +sockopt_sol_socket_success_OBJECTS = \ + sockopt-sol_socket-success.$(OBJEXT) +sockopt_sol_socket_success_LDADD = $(LDADD) +sockopt_sol_socket_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xabbrev_SOURCES = \ + sockopt-sol_socket-success-Xabbrev.c +sockopt_sol_socket_success_Xabbrev_OBJECTS = \ + sockopt-sol_socket-success-Xabbrev.$(OBJEXT) +sockopt_sol_socket_success_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xraw_SOURCES = \ + sockopt-sol_socket-success-Xraw.c +sockopt_sol_socket_success_Xraw_OBJECTS = \ + sockopt-sol_socket-success-Xraw.$(OBJEXT) +sockopt_sol_socket_success_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xverbose_SOURCES = \ + sockopt-sol_socket-success-Xverbose.c +sockopt_sol_socket_success_Xverbose_OBJECTS = \ + sockopt-sol_socket-success-Xverbose.$(OBJEXT) +sockopt_sol_socket_success_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockopt_timestamp_SOURCES = sockopt-timestamp.c sockopt_timestamp_OBJECTS = sockopt-timestamp.$(OBJEXT) sockopt_timestamp_LDADD = $(LDADD) -sockopt_timestamp_DEPENDENCIES = libtests.a +sockopt_timestamp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) splice_SOURCES = splice.c splice_OBJECTS = splice.$(OBJEXT) splice_LDADD = $(LDADD) -splice_DEPENDENCIES = libtests.a +splice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_OBJECTS = stack-fcall.$(OBJEXT) stack-fcall-0.$(OBJEXT) \ stack-fcall-1.$(OBJEXT) stack-fcall-2.$(OBJEXT) \ stack-fcall-3.$(OBJEXT) stack_fcall_OBJECTS = $(am_stack_fcall_OBJECTS) stack_fcall_LDADD = $(LDADD) -stack_fcall_DEPENDENCIES = libtests.a +stack_fcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_attach_OBJECTS = stack-fcall-attach.$(OBJEXT) \ stack-fcall-0.$(OBJEXT) stack-fcall-1.$(OBJEXT) \ stack-fcall-2.$(OBJEXT) stack-fcall-3.$(OBJEXT) stack_fcall_attach_OBJECTS = $(am_stack_fcall_attach_OBJECTS) stack_fcall_attach_LDADD = $(LDADD) -stack_fcall_attach_DEPENDENCIES = libtests.a +stack_fcall_attach_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_mangled_OBJECTS = stack-fcall-mangled.$(OBJEXT) \ stack-fcall-mangled-0.$(OBJEXT) \ stack-fcall-mangled-1.$(OBJEXT) \ @@ -4363,419 +5483,486 @@ stack-fcall-mangled-3.$(OBJEXT) stack_fcall_mangled_OBJECTS = $(am_stack_fcall_mangled_OBJECTS) stack_fcall_mangled_LDADD = $(LDADD) -stack_fcall_mangled_DEPENDENCIES = libtests.a +stack_fcall_mangled_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat_SOURCES = stat.c stat_OBJECTS = stat.$(OBJEXT) stat_LDADD = $(LDADD) -stat_DEPENDENCIES = libtests.a +stat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat64_SOURCES = stat64.c stat64_OBJECTS = stat64-stat64.$(OBJEXT) stat64_LDADD = $(LDADD) -stat64_DEPENDENCIES = libtests.a +stat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs_SOURCES = statfs.c statfs_OBJECTS = statfs-statfs.$(OBJEXT) statfs_LDADD = $(LDADD) -statfs_DEPENDENCIES = libtests.a +statfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs64_SOURCES = statfs64.c statfs64_OBJECTS = statfs64.$(OBJEXT) statfs64_LDADD = $(LDADD) -statfs64_DEPENDENCIES = libtests.a +statfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_all_SOURCES = status-all.c status_all_OBJECTS = status-all.$(OBJEXT) status_all_LDADD = $(LDADD) -status_all_DEPENDENCIES = libtests.a +status_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_SOURCES = status-failed.c status_failed_OBJECTS = status-failed.$(OBJEXT) status_failed_LDADD = $(LDADD) -status_failed_DEPENDENCIES = libtests.a +status_failed_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_long_SOURCES = status-failed-long.c status_failed_long_OBJECTS = status-failed-long.$(OBJEXT) status_failed_long_LDADD = $(LDADD) -status_failed_long_DEPENDENCIES = libtests.a +status_failed_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_status_SOURCES = status-failed-status.c status_failed_status_OBJECTS = status-failed-status.$(OBJEXT) status_failed_status_LDADD = $(LDADD) -status_failed_status_DEPENDENCIES = libtests.a +status_failed_status_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_SOURCES = status-none.c status_none_OBJECTS = status-none.$(OBJEXT) status_none_LDADD = $(LDADD) -status_none_DEPENDENCIES = libtests.a +status_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_f_SOURCES = status-none-f.c status_none_f_OBJECTS = status-none-f.$(OBJEXT) status_none_f_LDADD = $(LDADD) -status_none_f_DEPENDENCIES = libtests.a +status_none_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_threads_SOURCES = status-none-threads.c status_none_threads_OBJECTS = status-none-threads.$(OBJEXT) -status_none_threads_DEPENDENCIES = $(LDADD) +status_none_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) status_successful_SOURCES = status-successful.c status_successful_OBJECTS = status-successful.$(OBJEXT) status_successful_LDADD = $(LDADD) -status_successful_DEPENDENCIES = libtests.a +status_successful_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_long_SOURCES = status-successful-long.c status_successful_long_OBJECTS = status-successful-long.$(OBJEXT) status_successful_long_LDADD = $(LDADD) -status_successful_long_DEPENDENCIES = libtests.a +status_successful_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_status_SOURCES = status-successful-status.c status_successful_status_OBJECTS = status-successful-status.$(OBJEXT) status_successful_status_LDADD = $(LDADD) -status_successful_status_DEPENDENCIES = libtests.a +status_successful_status_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) status_unfinished_SOURCES = status-unfinished.c status_unfinished_OBJECTS = status-unfinished.$(OBJEXT) status_unfinished_LDADD = $(LDADD) -status_unfinished_DEPENDENCIES = libtests.a +status_unfinished_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_unfinished_threads_SOURCES = status-unfinished-threads.c status_unfinished_threads_OBJECTS = \ status-unfinished-threads.$(OBJEXT) -status_unfinished_threads_DEPENDENCIES = $(LDADD) +status_unfinished_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) statx_SOURCES = statx.c statx_OBJECTS = statx.$(OBJEXT) statx_LDADD = $(LDADD) -statx_DEPENDENCIES = libtests.a +statx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace__decode_pids_comm_SOURCES = strace--decode-pids-comm.c +strace__decode_pids_comm_OBJECTS = strace--decode-pids-comm.$(OBJEXT) +strace__decode_pids_comm_LDADD = $(LDADD) +strace__decode_pids_comm_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_SOURCES = strace--strings-in-hex.c strace__strings_in_hex_OBJECTS = strace--strings-in-hex.$(OBJEXT) strace__strings_in_hex_LDADD = $(LDADD) -strace__strings_in_hex_DEPENDENCIES = libtests.a +strace__strings_in_hex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace__strings_in_hex_all_SOURCES = strace--strings-in-hex-all.c strace__strings_in_hex_all_OBJECTS = \ strace--strings-in-hex-all.$(OBJEXT) strace__strings_in_hex_all_LDADD = $(LDADD) -strace__strings_in_hex_all_DEPENDENCIES = libtests.a +strace__strings_in_hex_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_non_ascii_SOURCES = \ strace--strings-in-hex-non-ascii.c strace__strings_in_hex_non_ascii_OBJECTS = \ strace--strings-in-hex-non-ascii.$(OBJEXT) strace__strings_in_hex_non_ascii_LDADD = $(LDADD) -strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a +strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_non_ascii_chars_SOURCES = \ + strace--strings-in-hex-non-ascii-chars.c +strace__strings_in_hex_non_ascii_chars_OBJECTS = \ + strace--strings-in-hex-non-ascii-chars.$(OBJEXT) +strace__strings_in_hex_non_ascii_chars_LDADD = $(LDADD) +strace__strings_in_hex_non_ascii_chars_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_none_SOURCES = strace--strings-in-hex-none.c +strace__strings_in_hex_none_OBJECTS = \ + strace--strings-in-hex-none.$(OBJEXT) +strace__strings_in_hex_none_LDADD = $(LDADD) +strace__strings_in_hex_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace_Y_0123456789_SOURCES = strace-Y-0123456789.c +strace_Y_0123456789_OBJECTS = strace-Y-0123456789.$(OBJEXT) +strace_Y_0123456789_LDADD = $(LDADD) +strace_Y_0123456789_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_n_SOURCES = strace-n.c strace_n_OBJECTS = strace-n.$(OBJEXT) strace_n_LDADD = $(LDADD) -strace_n_DEPENDENCIES = libtests.a +strace_n_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_no_x_SOURCES = strace-no-x.c +strace_no_x_OBJECTS = strace-no-x.$(OBJEXT) +strace_no_x_LDADD = $(LDADD) +strace_no_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p_Y_p2_SOURCES = strace-p-Y-p2.c +strace_p_Y_p2_OBJECTS = strace-p-Y-p2.$(OBJEXT) +strace_p_Y_p2_LDADD = $(LDADD) +strace_p_Y_p2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p1_Y_p_SOURCES = strace-p1-Y-p.c +strace_p1_Y_p_OBJECTS = strace-p1-Y-p.$(OBJEXT) +strace_p1_Y_p_LDADD = $(LDADD) +strace_p1_Y_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_x_SOURCES = strace-x.c strace_x_OBJECTS = strace-x.$(OBJEXT) strace_x_LDADD = $(LDADD) -strace_x_DEPENDENCIES = libtests.a +strace_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_xx_SOURCES = strace-xx.c strace_xx_OBJECTS = strace-xx.$(OBJEXT) strace_xx_LDADD = $(LDADD) -strace_xx_DEPENDENCIES = libtests.a +strace_xx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) swap_SOURCES = swap.c swap_OBJECTS = swap.$(OBJEXT) swap_LDADD = $(LDADD) -swap_DEPENDENCIES = libtests.a +swap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sxetmask_SOURCES = sxetmask.c sxetmask_OBJECTS = sxetmask.$(OBJEXT) sxetmask_LDADD = $(LDADD) -sxetmask_DEPENDENCIES = libtests.a +sxetmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlink_SOURCES = symlink.c symlink_OBJECTS = symlink.$(OBJEXT) symlink_LDADD = $(LDADD) -symlink_DEPENDENCIES = libtests.a +symlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlinkat_SOURCES = symlinkat.c symlinkat_OBJECTS = symlinkat.$(OBJEXT) symlinkat_LDADD = $(LDADD) -symlinkat_DEPENDENCIES = libtests.a +symlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_SOURCES = sync.c sync_OBJECTS = sync.$(OBJEXT) sync_LDADD = $(LDADD) -sync_DEPENDENCIES = libtests.a +sync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range_SOURCES = sync_file_range.c sync_file_range_OBJECTS = sync_file_range.$(OBJEXT) sync_file_range_LDADD = $(LDADD) -sync_file_range_DEPENDENCIES = libtests.a +sync_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range2_SOURCES = sync_file_range2.c sync_file_range2_OBJECTS = sync_file_range2.$(OBJEXT) sync_file_range2_LDADD = $(LDADD) -sync_file_range2_DEPENDENCIES = libtests.a +sync_file_range2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sysctl_SOURCES = sysctl.c +sysctl_OBJECTS = sysctl.$(OBJEXT) +sysctl_LDADD = $(LDADD) +sysctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sysinfo_SOURCES = sysinfo.c sysinfo_OBJECTS = sysinfo.$(OBJEXT) sysinfo_LDADD = $(LDADD) -sysinfo_DEPENDENCIES = libtests.a +sysinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_SOURCES = syslog.c syslog_OBJECTS = syslog.$(OBJEXT) syslog_LDADD = $(LDADD) -syslog_DEPENDENCIES = libtests.a +syslog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_success_SOURCES = syslog-success.c syslog_success_OBJECTS = syslog-success.$(OBJEXT) syslog_success_LDADD = $(LDADD) -syslog_success_DEPENDENCIES = libtests.a +syslog_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tampering_notes_SOURCES = tampering-notes.c tampering_notes_OBJECTS = tampering-notes.$(OBJEXT) tampering_notes_LDADD = $(LDADD) -tampering_notes_DEPENDENCIES = libtests.a +tampering_notes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tee_SOURCES = tee.c tee_OBJECTS = tee.$(OBJEXT) tee_LDADD = $(LDADD) -tee_DEPENDENCIES = libtests.a +tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill_SOURCES = tgkill.c tgkill_OBJECTS = tgkill.$(OBJEXT) tgkill_LDADD = $(LDADD) -tgkill_DEPENDENCIES = libtests.a +tgkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill__pidns_translation_SOURCES = tgkill--pidns-translation.c tgkill__pidns_translation_OBJECTS = \ tgkill--pidns-translation.$(OBJEXT) tgkill__pidns_translation_LDADD = $(LDADD) -tgkill__pidns_translation_DEPENDENCIES = libtests.a +tgkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) threads_execve_SOURCES = threads-execve.c threads_execve_OBJECTS = threads-execve.$(OBJEXT) -threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve__quiet_thread_execve_SOURCES = \ threads-execve--quiet-thread-execve.c threads_execve__quiet_thread_execve_OBJECTS = \ threads-execve--quiet-thread-execve.$(OBJEXT) threads_execve__quiet_thread_execve_DEPENDENCIES = \ - $(am__DEPENDENCIES_1) $(LDADD) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) threads_execve_q_SOURCES = threads-execve-q.c threads_execve_q_OBJECTS = threads-execve-q.$(OBJEXT) -threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qq_SOURCES = threads-execve-qq.c threads_execve_qq_OBJECTS = threads-execve-qq.$(OBJEXT) -threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qqq_SOURCES = threads-execve-qqq.c threads_execve_qqq_OBJECTS = threads-execve-qqq.$(OBJEXT) -threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) time_SOURCES = time.c time_OBJECTS = time.$(OBJEXT) time_LDADD = $(LDADD) -time_DEPENDENCIES = libtests.a +time_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_create_SOURCES = timer_create.c timer_create_OBJECTS = timer_create.$(OBJEXT) timer_create_LDADD = $(LDADD) -timer_create_DEPENDENCIES = libtests.a +timer_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_xettime_SOURCES = timer_xettime.c timer_xettime_OBJECTS = timer_xettime.$(OBJEXT) timer_xettime_LDADD = $(LDADD) -timer_xettime_DEPENDENCIES = libtests.a +timer_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timerfd_xettime_SOURCES = timerfd_xettime.c timerfd_xettime_OBJECTS = timerfd_xettime.$(OBJEXT) timerfd_xettime_LDADD = $(LDADD) -timerfd_xettime_DEPENDENCIES = libtests.a +timerfd_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) times_SOURCES = times.c times_OBJECTS = times.$(OBJEXT) -times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xabbrev_SOURCES = times-Xabbrev.c +times_Xabbrev_OBJECTS = times-Xabbrev.$(OBJEXT) +times_Xabbrev_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) +times_Xraw_SOURCES = times-Xraw.c +times_Xraw_OBJECTS = times-Xraw.$(OBJEXT) +times_Xraw_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xverbose_SOURCES = times-Xverbose.c +times_Xverbose_OBJECTS = times-Xverbose.$(OBJEXT) +times_Xverbose_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) times_fail_SOURCES = times-fail.c times_fail_OBJECTS = times-fail.$(OBJEXT) times_fail_LDADD = $(LDADD) -times_fail_DEPENDENCIES = libtests.a +times_fail_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill_SOURCES = tkill.c tkill_OBJECTS = tkill.$(OBJEXT) tkill_LDADD = $(LDADD) -tkill_DEPENDENCIES = libtests.a +tkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill__pidns_translation_SOURCES = tkill--pidns-translation.c tkill__pidns_translation_OBJECTS = tkill--pidns-translation.$(OBJEXT) tkill__pidns_translation_LDADD = $(LDADD) -tkill__pidns_translation_DEPENDENCIES = libtests.a +tkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) tracer_ppid_pgid_sid_SOURCES = tracer_ppid_pgid_sid.c tracer_ppid_pgid_sid_OBJECTS = tracer_ppid_pgid_sid.$(OBJEXT) tracer_ppid_pgid_sid_LDADD = $(LDADD) -tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a +tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_trie_test_OBJECTS = trie_test-trie_test.$(OBJEXT) \ trie_test-trie_for_tests.$(OBJEXT) trie_test_OBJECTS = $(am_trie_test_OBJECTS) -trie_test_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1) +trie_test_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) trie_test_LINK = $(CCLD) $(trie_test_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ truncate_SOURCES = truncate.c truncate_OBJECTS = truncate.$(OBJEXT) truncate_LDADD = $(LDADD) -truncate_DEPENDENCIES = libtests.a +truncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) truncate64_SOURCES = truncate64.c truncate64_OBJECTS = truncate64-truncate64.$(OBJEXT) truncate64_LDADD = $(LDADD) -truncate64_DEPENDENCIES = libtests.a +truncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ugetrlimit_SOURCES = ugetrlimit.c ugetrlimit_OBJECTS = ugetrlimit.$(OBJEXT) ugetrlimit_LDADD = $(LDADD) -ugetrlimit_DEPENDENCIES = libtests.a +ugetrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) uio_SOURCES = uio.c uio_OBJECTS = uio-uio.$(OBJEXT) uio_LDADD = $(LDADD) -uio_DEPENDENCIES = libtests.a +uio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umask_SOURCES = umask.c umask_OBJECTS = umask.$(OBJEXT) umask_LDADD = $(LDADD) -umask_DEPENDENCIES = libtests.a +umask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount_SOURCES = umount.c umount_OBJECTS = umount.$(OBJEXT) umount_LDADD = $(LDADD) -umount_DEPENDENCIES = libtests.a +umount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount2_SOURCES = umount2.c umount2_OBJECTS = umount2.$(OBJEXT) umount2_LDADD = $(LDADD) -umount2_DEPENDENCIES = libtests.a +umount2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umoven_illptr_SOURCES = umoven-illptr.c umoven_illptr_OBJECTS = umoven-illptr.$(OBJEXT) umoven_illptr_LDADD = $(LDADD) -umoven_illptr_DEPENDENCIES = libtests.a +umoven_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_SOURCES = umovestr.c umovestr_OBJECTS = umovestr.$(OBJEXT) umovestr_LDADD = $(LDADD) -umovestr_DEPENDENCIES = libtests.a +umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_illptr_SOURCES = umovestr-illptr.c umovestr_illptr_OBJECTS = umovestr-illptr.$(OBJEXT) umovestr_illptr_LDADD = $(LDADD) -umovestr_illptr_DEPENDENCIES = libtests.a +umovestr_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr2_SOURCES = umovestr2.c umovestr2_OBJECTS = umovestr2.$(OBJEXT) umovestr2_LDADD = $(LDADD) -umovestr2_DEPENDENCIES = libtests.a +umovestr2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr3_SOURCES = umovestr3.c umovestr3_OBJECTS = umovestr3.$(OBJEXT) umovestr3_LDADD = $(LDADD) -umovestr3_DEPENDENCIES = libtests.a +umovestr3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_SOURCES = umovestr_cached.c umovestr_cached_OBJECTS = umovestr_cached.$(OBJEXT) umovestr_cached_LDADD = $(LDADD) -umovestr_cached_DEPENDENCIES = libtests.a +umovestr_cached_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_adjacent_SOURCES = umovestr_cached_adjacent.c umovestr_cached_adjacent_OBJECTS = umovestr_cached_adjacent.$(OBJEXT) umovestr_cached_adjacent_LDADD = $(LDADD) -umovestr_cached_adjacent_DEPENDENCIES = libtests.a +umovestr_cached_adjacent_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) uname_SOURCES = uname.c uname_OBJECTS = uname.$(OBJEXT) uname_LDADD = $(LDADD) -uname_DEPENDENCIES = libtests.a +uname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unblock_reset_raise_SOURCES = unblock_reset_raise.c unblock_reset_raise_OBJECTS = unblock_reset_raise.$(OBJEXT) unblock_reset_raise_LDADD = $(LDADD) -unblock_reset_raise_DEPENDENCIES = libtests.a +unblock_reset_raise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_send_recv_SOURCES = unix-pair-send-recv.c unix_pair_send_recv_OBJECTS = unix-pair-send-recv.$(OBJEXT) unix_pair_send_recv_LDADD = $(LDADD) -unix_pair_send_recv_DEPENDENCIES = libtests.a +unix_pair_send_recv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_sendto_recvfrom_SOURCES = unix-pair-sendto-recvfrom.c unix_pair_sendto_recvfrom_OBJECTS = \ unix-pair-sendto-recvfrom.$(OBJEXT) unix_pair_sendto_recvfrom_LDADD = $(LDADD) -unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a +unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) unlink_SOURCES = unlink.c unlink_OBJECTS = unlink.$(OBJEXT) unlink_LDADD = $(LDADD) -unlink_DEPENDENCIES = libtests.a +unlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unlinkat_SOURCES = unlinkat.c unlinkat_OBJECTS = unlinkat.$(OBJEXT) unlinkat_LDADD = $(LDADD) -unlinkat_DEPENDENCIES = libtests.a +unlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unshare_SOURCES = unshare.c unshare_OBJECTS = unshare.$(OBJEXT) unshare_LDADD = $(LDADD) -unshare_DEPENDENCIES = libtests.a +unshare_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) userfaultfd_SOURCES = userfaultfd.c userfaultfd_OBJECTS = userfaultfd.$(OBJEXT) userfaultfd_LDADD = $(LDADD) -userfaultfd_DEPENDENCIES = libtests.a +userfaultfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ustat_SOURCES = ustat.c ustat_OBJECTS = ustat.$(OBJEXT) ustat_LDADD = $(LDADD) -ustat_DEPENDENCIES = libtests.a +ustat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utime_SOURCES = utime.c utime_OBJECTS = utime.$(OBJEXT) utime_LDADD = $(LDADD) -utime_DEPENDENCIES = libtests.a +utime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_SOURCES = utimensat.c utimensat_OBJECTS = utimensat.$(OBJEXT) utimensat_LDADD = $(LDADD) -utimensat_DEPENDENCIES = libtests.a +utimensat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xabbrev_SOURCES = utimensat-Xabbrev.c utimensat_Xabbrev_OBJECTS = utimensat-Xabbrev.$(OBJEXT) utimensat_Xabbrev_LDADD = $(LDADD) -utimensat_Xabbrev_DEPENDENCIES = libtests.a +utimensat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xraw_SOURCES = utimensat-Xraw.c utimensat_Xraw_OBJECTS = utimensat-Xraw.$(OBJEXT) utimensat_Xraw_LDADD = $(LDADD) -utimensat_Xraw_DEPENDENCIES = libtests.a +utimensat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xverbose_SOURCES = utimensat-Xverbose.c utimensat_Xverbose_OBJECTS = utimensat-Xverbose.$(OBJEXT) utimensat_Xverbose_LDADD = $(LDADD) -utimensat_Xverbose_DEPENDENCIES = libtests.a +utimensat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimes_SOURCES = utimes.c utimes_OBJECTS = utimes.$(OBJEXT) utimes_LDADD = $(LDADD) -utimes_DEPENDENCIES = libtests.a +utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vfork_f_SOURCES = vfork-f.c vfork_f_OBJECTS = vfork-f.$(OBJEXT) vfork_f_LDADD = $(LDADD) -vfork_f_DEPENDENCIES = libtests.a +vfork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vhangup_SOURCES = vhangup.c vhangup_OBJECTS = vhangup.$(OBJEXT) vhangup_LDADD = $(LDADD) -vhangup_DEPENDENCIES = libtests.a +vhangup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vmsplice_SOURCES = vmsplice.c vmsplice_OBJECTS = vmsplice.$(OBJEXT) vmsplice_LDADD = $(LDADD) -vmsplice_DEPENDENCIES = libtests.a +vmsplice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_SOURCES = wait4.c wait4_OBJECTS = wait4.$(OBJEXT) wait4_LDADD = $(LDADD) -wait4_DEPENDENCIES = libtests.a +wait4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_v_SOURCES = wait4-v.c wait4_v_OBJECTS = wait4-v.$(OBJEXT) wait4_v_LDADD = $(LDADD) -wait4_v_DEPENDENCIES = libtests.a +wait4_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_SOURCES = waitid.c waitid_OBJECTS = waitid.$(OBJEXT) waitid_LDADD = $(LDADD) -waitid_DEPENDENCIES = libtests.a +waitid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +waitid_Y_SOURCES = waitid-Y.c +waitid_Y_OBJECTS = waitid-Y.$(OBJEXT) +waitid_Y_LDADD = $(LDADD) +waitid_Y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_v_SOURCES = waitid-v.c waitid_v_OBJECTS = waitid-v.$(OBJEXT) waitid_v_LDADD = $(LDADD) -waitid_v_DEPENDENCIES = libtests.a +waitid_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitpid_SOURCES = waitpid.c waitpid_OBJECTS = waitpid.$(OBJEXT) waitpid_LDADD = $(LDADD) -waitpid_DEPENDENCIES = libtests.a +waitpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_SOURCES = xattr.c xattr_OBJECTS = xattr.$(OBJEXT) xattr_LDADD = $(LDADD) -xattr_DEPENDENCIES = libtests.a +xattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_strings_SOURCES = xattr-strings.c xattr_strings_OBJECTS = xattr-strings.$(OBJEXT) xattr_strings_LDADD = $(LDADD) -xattr_strings_DEPENDENCIES = libtests.a +xattr_strings_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list_SOURCES = xet_robust_list.c xet_robust_list_OBJECTS = xet_robust_list.$(OBJEXT) xet_robust_list_LDADD = $(LDADD) -xet_robust_list_DEPENDENCIES = libtests.a +xet_robust_list_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list__pidns_translation_SOURCES = \ xet_robust_list--pidns-translation.c xet_robust_list__pidns_translation_OBJECTS = \ xet_robust_list--pidns-translation.$(OBJEXT) xet_robust_list__pidns_translation_LDADD = $(LDADD) -xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a +xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xet_thread_area_x86_SOURCES = xet_thread_area_x86.c xet_thread_area_x86_OBJECTS = xet_thread_area_x86.$(OBJEXT) xet_thread_area_x86_LDADD = $(LDADD) -xet_thread_area_x86_DEPENDENCIES = libtests.a +xet_thread_area_x86_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetitimer_SOURCES = xetitimer.c xetitimer_OBJECTS = xetitimer.$(OBJEXT) xetitimer_LDADD = $(LDADD) -xetitimer_DEPENDENCIES = libtests.a +xetitimer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid_SOURCES = xetpgid.c xetpgid_OBJECTS = xetpgid.$(OBJEXT) xetpgid_LDADD = $(LDADD) -xetpgid_DEPENDENCIES = libtests.a +xetpgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid__pidns_translation_SOURCES = xetpgid--pidns-translation.c xetpgid__pidns_translation_OBJECTS = \ xetpgid--pidns-translation.$(OBJEXT) xetpgid__pidns_translation_LDADD = $(LDADD) -xetpgid__pidns_translation_DEPENDENCIES = libtests.a +xetpgid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xetpriority_SOURCES = xetpriority.c xetpriority_OBJECTS = xetpriority.$(OBJEXT) xetpriority_LDADD = $(LDADD) -xetpriority_DEPENDENCIES = libtests.a +xetpriority_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpriority__pidns_translation_SOURCES = \ xetpriority--pidns-translation.c xetpriority__pidns_translation_OBJECTS = \ xetpriority--pidns-translation.$(OBJEXT) xetpriority__pidns_translation_LDADD = $(LDADD) -xetpriority__pidns_translation_DEPENDENCIES = libtests.a +xetpriority__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xettimeofday_SOURCES = xettimeofday.c xettimeofday_OBJECTS = xettimeofday.$(OBJEXT) xettimeofday_LDADD = $(LDADD) -xettimeofday_DEPENDENCIES = libtests.a +xettimeofday_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) zeroargc_SOURCES = zeroargc.c zeroargc_OBJECTS = zeroargc.$(OBJEXT) zeroargc_LDADD = $(LDADD) -zeroargc_DEPENDENCIES = libtests.a +zeroargc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -4794,11 +5981,21 @@ am__depfiles_remade = ./$(DEPDIR)/_newselect-P.Po \ ./$(DEPDIR)/_newselect.Po ./$(DEPDIR)/accept.Po \ ./$(DEPDIR)/accept4.Po ./$(DEPDIR)/access--secontext.Po \ - ./$(DEPDIR)/access--secontext_full.Po ./$(DEPDIR)/access.Po \ - ./$(DEPDIR)/acct.Po ./$(DEPDIR)/add_key.Po \ - ./$(DEPDIR)/adjtimex.Po ./$(DEPDIR)/aio.Po \ - ./$(DEPDIR)/aio_pgetevents.Po ./$(DEPDIR)/alarm.Po \ - ./$(DEPDIR)/answer.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ + ./$(DEPDIR)/access--secontext_full.Po \ + ./$(DEPDIR)/access--secontext_full_mismatch.Po \ + ./$(DEPDIR)/access--secontext_mismatch.Po \ + ./$(DEPDIR)/access.Po ./$(DEPDIR)/acct.Po \ + ./$(DEPDIR)/add_key.Po ./$(DEPDIR)/adjtimex.Po \ + ./$(DEPDIR)/aio.Po ./$(DEPDIR)/aio_pgetevents.Po \ + ./$(DEPDIR)/alarm.Po ./$(DEPDIR)/answer.Po \ + ./$(DEPDIR)/arch_prctl-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-success-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-success-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success.Po ./$(DEPDIR)/arch_prctl.Po \ + ./$(DEPDIR)/at_fdcwd-pathmax.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ ./$(DEPDIR)/attach-f-p.Po ./$(DEPDIR)/attach-p-cmd-cmd.Po \ ./$(DEPDIR)/attach-p-cmd-p.Po \ ./$(DEPDIR)/block_reset_raise_run.Po \ @@ -4813,7 +6010,9 @@ ./$(DEPDIR)/caps-abbrev.Po ./$(DEPDIR)/caps.Po \ ./$(DEPDIR)/chdir.Po ./$(DEPDIR)/check_sigblock.Po \ ./$(DEPDIR)/check_sigign.Po ./$(DEPDIR)/chmod--secontext.Po \ - ./$(DEPDIR)/chmod--secontext_full.Po ./$(DEPDIR)/chmod.Po \ + ./$(DEPDIR)/chmod--secontext_full.Po \ + ./$(DEPDIR)/chmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/chmod--secontext_mismatch.Po ./$(DEPDIR)/chmod.Po \ ./$(DEPDIR)/chown.Po ./$(DEPDIR)/chown32.Po \ ./$(DEPDIR)/chroot.Po ./$(DEPDIR)/clock_adjtime.Po \ ./$(DEPDIR)/clock_adjtime64.Po ./$(DEPDIR)/clock_nanosleep.Po \ @@ -4834,7 +6033,9 @@ ./$(DEPDIR)/copy_file_range.Po ./$(DEPDIR)/count-f.Po \ ./$(DEPDIR)/creat.Po ./$(DEPDIR)/delay.Po \ ./$(DEPDIR)/delete_module.Po \ + ./$(DEPDIR)/dev--decode-fds-all.Po \ ./$(DEPDIR)/dev--decode-fds-dev.Po \ + ./$(DEPDIR)/dev--decode-fds-none.Po \ ./$(DEPDIR)/dev--decode-fds-path.Po \ ./$(DEPDIR)/dev--decode-fds-socket.Po ./$(DEPDIR)/dev-yy.Po \ ./$(DEPDIR)/dup-P.Po ./$(DEPDIR)/dup-y.Po \ @@ -4848,15 +6049,24 @@ ./$(DEPDIR)/epoll_pwait2-y.Po ./$(DEPDIR)/epoll_pwait2.Po \ ./$(DEPDIR)/epoll_wait.Po ./$(DEPDIR)/erestartsys.Po \ ./$(DEPDIR)/eventfd.Po ./$(DEPDIR)/execve--secontext.Po \ - ./$(DEPDIR)/execve--secontext_full.Po ./$(DEPDIR)/execve-v.Po \ - ./$(DEPDIR)/execve.Po ./$(DEPDIR)/execveat--secontext.Po \ + ./$(DEPDIR)/execve--secontext_full.Po \ + ./$(DEPDIR)/execve--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execve--secontext_mismatch.Po \ + ./$(DEPDIR)/execve-v.Po ./$(DEPDIR)/execve.Po \ + ./$(DEPDIR)/execveat--secontext.Po \ ./$(DEPDIR)/execveat--secontext_full.Po \ + ./$(DEPDIR)/execveat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execveat--secontext_mismatch.Po \ ./$(DEPDIR)/execveat-v.Po ./$(DEPDIR)/execveat.Po \ ./$(DEPDIR)/faccessat--secontext.Po \ ./$(DEPDIR)/faccessat--secontext_full.Po \ + ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-P.Po \ ./$(DEPDIR)/faccessat-y--secontext.Po \ ./$(DEPDIR)/faccessat-y--secontext_full.Po \ + ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-y.Po ./$(DEPDIR)/faccessat-yy.Po \ ./$(DEPDIR)/faccessat.Po ./$(DEPDIR)/faccessat2-P.Po \ ./$(DEPDIR)/faccessat2-y.Po ./$(DEPDIR)/faccessat2-yy.Po \ @@ -4865,26 +6075,38 @@ ./$(DEPDIR)/fanotify_init.Po \ ./$(DEPDIR)/fanotify_mark--secontext.Po \ ./$(DEPDIR)/fanotify_mark--secontext_full.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po \ ./$(DEPDIR)/fanotify_mark-Xabbrev.Po \ ./$(DEPDIR)/fanotify_mark-Xraw.Po \ ./$(DEPDIR)/fanotify_mark-Xverbose.Po \ ./$(DEPDIR)/fanotify_mark.Po ./$(DEPDIR)/fchdir.Po \ ./$(DEPDIR)/fchmod--secontext.Po \ ./$(DEPDIR)/fchmod--secontext_full.Po \ + ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y--secontext.Po \ ./$(DEPDIR)/fchmod-y--secontext_full.Po \ + ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y.Po ./$(DEPDIR)/fchmod.Po \ ./$(DEPDIR)/fchmodat--secontext.Po \ ./$(DEPDIR)/fchmodat--secontext_full.Po \ + ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmodat--secontext_mismatch.Po \ ./$(DEPDIR)/fchmodat.Po ./$(DEPDIR)/fchown.Po \ ./$(DEPDIR)/fchown32.Po ./$(DEPDIR)/fchownat--secontext.Po \ ./$(DEPDIR)/fchownat--secontext_full.Po \ + ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchownat--secontext_mismatch.Po \ ./$(DEPDIR)/fchownat.Po \ ./$(DEPDIR)/fcntl--pidns-translation.Po ./$(DEPDIR)/fcntl.Po \ ./$(DEPDIR)/fcntl64--pidns-translation.Po \ ./$(DEPDIR)/fcntl64.Po ./$(DEPDIR)/fdatasync.Po \ ./$(DEPDIR)/fflush.Po ./$(DEPDIR)/file_handle--secontext.Po \ ./$(DEPDIR)/file_handle--secontext_full.Po \ + ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po \ + ./$(DEPDIR)/file_handle--secontext_mismatch.Po \ ./$(DEPDIR)/file_handle.Po ./$(DEPDIR)/filter-unavailable.Po \ ./$(DEPDIR)/filter_seccomp-flag.Po \ ./$(DEPDIR)/filter_seccomp-perf.Po ./$(DEPDIR)/finit_module.Po \ @@ -4901,15 +6123,16 @@ ./$(DEPDIR)/fstatfs64.Po ./$(DEPDIR)/fsync-y.Po \ ./$(DEPDIR)/fsync.Po ./$(DEPDIR)/ftruncate.Po \ ./$(DEPDIR)/ftruncate64-ftruncate64.Po ./$(DEPDIR)/futex.Po \ - ./$(DEPDIR)/futimesat.Po ./$(DEPDIR)/get_mempolicy.Po \ - ./$(DEPDIR)/get_process_reaper.Po ./$(DEPDIR)/getcpu.Po \ - ./$(DEPDIR)/getcwd.Po ./$(DEPDIR)/getdents-v.Po \ - ./$(DEPDIR)/getdents.Po ./$(DEPDIR)/getdents64-v.Po \ - ./$(DEPDIR)/getdents64.Po ./$(DEPDIR)/getegid.Po \ - ./$(DEPDIR)/getegid32.Po ./$(DEPDIR)/geteuid.Po \ - ./$(DEPDIR)/geteuid32.Po ./$(DEPDIR)/getgid.Po \ - ./$(DEPDIR)/getgid32.Po ./$(DEPDIR)/getgroups.Po \ - ./$(DEPDIR)/getgroups32.Po ./$(DEPDIR)/getpeername.Po \ + ./$(DEPDIR)/futex_waitv.Po ./$(DEPDIR)/futimesat.Po \ + ./$(DEPDIR)/get_mempolicy.Po ./$(DEPDIR)/get_process_reaper.Po \ + ./$(DEPDIR)/getcpu.Po ./$(DEPDIR)/getcwd.Po \ + ./$(DEPDIR)/getdents-v.Po ./$(DEPDIR)/getdents.Po \ + ./$(DEPDIR)/getdents64-v.Po ./$(DEPDIR)/getdents64.Po \ + ./$(DEPDIR)/getegid.Po ./$(DEPDIR)/getegid32.Po \ + ./$(DEPDIR)/geteuid.Po ./$(DEPDIR)/geteuid32.Po \ + ./$(DEPDIR)/getgid.Po ./$(DEPDIR)/getgid32.Po \ + ./$(DEPDIR)/getgroups.Po ./$(DEPDIR)/getgroups32.Po \ + ./$(DEPDIR)/getpeername.Po \ ./$(DEPDIR)/getpgrp--pidns-translation.Po \ ./$(DEPDIR)/getpgrp.Po \ ./$(DEPDIR)/getpid--pidns-translation.Po ./$(DEPDIR)/getpid.Po \ @@ -4918,6 +6141,10 @@ ./$(DEPDIR)/getresuid.Po ./$(DEPDIR)/getresuid32.Po \ ./$(DEPDIR)/getrlimit.Po ./$(DEPDIR)/getrusage.Po \ ./$(DEPDIR)/getsid--pidns-translation.Po ./$(DEPDIR)/getsid.Po \ + ./$(DEPDIR)/getsockname--secontext.Po \ + ./$(DEPDIR)/getsockname--secontext_full.Po \ + ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po \ + ./$(DEPDIR)/getsockname--secontext_mismatch.Po \ ./$(DEPDIR)/getsockname.Po \ ./$(DEPDIR)/gettid--pidns-translation.Po ./$(DEPDIR)/gettid.Po \ ./$(DEPDIR)/getuid.Po ./$(DEPDIR)/getuid32.Po \ @@ -4928,10 +6155,21 @@ ./$(DEPDIR)/inotify_init-y.Po ./$(DEPDIR)/inotify_init.Po \ ./$(DEPDIR)/inotify_init1-y.Po ./$(DEPDIR)/inotify_init1.Po \ ./$(DEPDIR)/int_0x80.Po ./$(DEPDIR)/io_uring_enter.Po \ + ./$(DEPDIR)/io_uring_register-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-success-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-success-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success.Po \ ./$(DEPDIR)/io_uring_register.Po ./$(DEPDIR)/io_uring_setup.Po \ ./$(DEPDIR)/ioctl.Po \ ./$(DEPDIR)/ioctl_block--pidns-translation.Po \ - ./$(DEPDIR)/ioctl_block.Po ./$(DEPDIR)/ioctl_dm-v.Po \ + ./$(DEPDIR)/ioctl_block.Po \ + ./$(DEPDIR)/ioctl_counter-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_counter-Xraw.Po \ + ./$(DEPDIR)/ioctl_counter-Xverbose.Po \ + ./$(DEPDIR)/ioctl_counter.Po ./$(DEPDIR)/ioctl_dm-v.Po \ ./$(DEPDIR)/ioctl_dm.Po ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po \ ./$(DEPDIR)/ioctl_evdev-Xraw.Po \ ./$(DEPDIR)/ioctl_evdev-Xverbose.Po \ @@ -4998,19 +6236,48 @@ ./$(DEPDIR)/ioctl_hdio-v-Xraw.Po \ ./$(DEPDIR)/ioctl_hdio-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_hdio-v.Po ./$(DEPDIR)/ioctl_hdio.Po \ - ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kvm_run-v.Po \ - ./$(DEPDIR)/ioctl_kvm_run.Po \ + ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kd-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-Xraw.Po ./$(DEPDIR)/ioctl_kd-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024.Po \ + ./$(DEPDIR)/ioctl_kd-success.Po ./$(DEPDIR)/ioctl_kd.Po \ + ./$(DEPDIR)/ioctl_kvm_run-v.Po ./$(DEPDIR)/ioctl_kvm_run.Po \ ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po \ + ./$(DEPDIR)/ioctl_lirc-success.Po ./$(DEPDIR)/ioctl_lirc.Po \ ./$(DEPDIR)/ioctl_loop-nv.Po ./$(DEPDIR)/ioctl_loop-v.Po \ ./$(DEPDIR)/ioctl_loop.Po ./$(DEPDIR)/ioctl_mtd-success.Po \ ./$(DEPDIR)/ioctl_mtd.Po ./$(DEPDIR)/ioctl_nbd.Po \ ./$(DEPDIR)/ioctl_nsfs.Po ./$(DEPDIR)/ioctl_perf-success.Po \ - ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp.Po \ + ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success.Po ./$(DEPDIR)/ioctl_ptp.Po \ ./$(DEPDIR)/ioctl_random.Po ./$(DEPDIR)/ioctl_rtc-success.Po \ ./$(DEPDIR)/ioctl_rtc-v.Po ./$(DEPDIR)/ioctl_rtc.Po \ - ./$(DEPDIR)/ioctl_scsi.Po ./$(DEPDIR)/ioctl_sg_io_v3.Po \ - ./$(DEPDIR)/ioctl_sg_io_v4.Po ./$(DEPDIR)/ioctl_sock.Po \ - ./$(DEPDIR)/ioctl_sock_gifconf.Po ./$(DEPDIR)/ioctl_tee.Po \ + ./$(DEPDIR)/ioctl_scsi.Po \ + ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y.Po ./$(DEPDIR)/ioctl_seccomp.Po \ + ./$(DEPDIR)/ioctl_sg_io_v3.Po ./$(DEPDIR)/ioctl_sg_io_v4.Po \ + ./$(DEPDIR)/ioctl_sock.Po ./$(DEPDIR)/ioctl_sock_gifconf.Po \ + ./$(DEPDIR)/ioctl_tee.Po ./$(DEPDIR)/ioctl_termios-v.Po \ + ./$(DEPDIR)/ioctl_termios.Po ./$(DEPDIR)/ioctl_tiocm.Po \ ./$(DEPDIR)/ioctl_ubi-success.Po ./$(DEPDIR)/ioctl_ubi.Po \ ./$(DEPDIR)/ioctl_uffdio.Po ./$(DEPDIR)/ioctl_v4l2-Xabbrev.Po \ ./$(DEPDIR)/ioctl_v4l2-Xraw.Po \ @@ -5027,8 +6294,9 @@ ./$(DEPDIR)/ioctl_v4l2-v-Xraw.Po \ ./$(DEPDIR)/ioctl_v4l2-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_v4l2-v.Po ./$(DEPDIR)/ioctl_v4l2.Po \ - ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioperm.Po \ - ./$(DEPDIR)/iopl.Po ./$(DEPDIR)/ioprio--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioctl_winsize.Po \ + ./$(DEPDIR)/ioperm.Po ./$(DEPDIR)/iopl.Po \ + ./$(DEPDIR)/ioprio--pidns-translation.Po \ ./$(DEPDIR)/ioprio-Xabbrev.Po ./$(DEPDIR)/ioprio-Xraw.Po \ ./$(DEPDIR)/ioprio-Xverbose.Po ./$(DEPDIR)/ioprio.Po \ ./$(DEPDIR)/ip_mreq.Po ./$(DEPDIR)/ipc.Po \ @@ -5060,7 +6328,7 @@ ./$(DEPDIR)/landlock_create_ruleset.Po \ ./$(DEPDIR)/landlock_restrict_self-y.Po \ ./$(DEPDIR)/landlock_restrict_self.Po ./$(DEPDIR)/lchown.Po \ - ./$(DEPDIR)/lchown32.Po \ + ./$(DEPDIR)/lchown32.Po ./$(DEPDIR)/libtests_a-clock_t_str.Po \ ./$(DEPDIR)/libtests_a-create_nl_socket.Po \ ./$(DEPDIR)/libtests_a-create_tmpfile.Po \ ./$(DEPDIR)/libtests_a-dirfd.Po \ @@ -5099,12 +6367,14 @@ ./$(DEPDIR)/libtests_a-tprintf.Po \ ./$(DEPDIR)/libtests_a-xmalloc_for_tests.Po \ ./$(DEPDIR)/link.Po ./$(DEPDIR)/linkat--secontext.Po \ - ./$(DEPDIR)/linkat--secontext_full.Po ./$(DEPDIR)/linkat.Po \ - ./$(DEPDIR)/list_sigaction_signum.Po ./$(DEPDIR)/llseek.Po \ - ./$(DEPDIR)/localtime.Po ./$(DEPDIR)/lookup_dcookie.Po \ - ./$(DEPDIR)/looping_threads.Po ./$(DEPDIR)/lseek.Po \ - ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/lstat64-lstat64.Po \ - ./$(DEPDIR)/madvise.Po \ + ./$(DEPDIR)/linkat--secontext_full.Po \ + ./$(DEPDIR)/linkat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/linkat--secontext_mismatch.Po \ + ./$(DEPDIR)/linkat.Po ./$(DEPDIR)/list_sigaction_signum.Po \ + ./$(DEPDIR)/llseek.Po ./$(DEPDIR)/localtime.Po \ + ./$(DEPDIR)/lookup_dcookie.Po ./$(DEPDIR)/looping_threads.Po \ + ./$(DEPDIR)/lseek.Po ./$(DEPDIR)/lstat.Po \ + ./$(DEPDIR)/lstat64-lstat64.Po ./$(DEPDIR)/madvise.Po \ ./$(DEPDIR)/maybe_switch_current_tcp--quiet-thread-execve.Po \ ./$(DEPDIR)/maybe_switch_current_tcp.Po \ ./$(DEPDIR)/mbind-Xabbrev.Po ./$(DEPDIR)/mbind-Xraw.Po \ @@ -5143,6 +6413,7 @@ ./$(DEPDIR)/msg_control-v.Po ./$(DEPDIR)/msg_control.Po \ ./$(DEPDIR)/msg_name.Po ./$(DEPDIR)/munlockall.Po \ ./$(DEPDIR)/nanosleep.Po \ + ./$(DEPDIR)/net--decode-fds-all-netlink.Po \ ./$(DEPDIR)/net--decode-fds-dev-netlink.Po \ ./$(DEPDIR)/net--decode-fds-none-netlink.Po \ ./$(DEPDIR)/net--decode-fds-path-netlink.Po \ @@ -5181,6 +6452,10 @@ ./$(DEPDIR)/nfnetlink_nftables.Po ./$(DEPDIR)/nfnetlink_osf.Po \ ./$(DEPDIR)/nfnetlink_queue.Po ./$(DEPDIR)/nfnetlink_ulog.Po \ ./$(DEPDIR)/nlattr.Po ./$(DEPDIR)/nlattr_br_port_msg.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xraw.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po \ + ./$(DEPDIR)/nlattr_cachereport.Po \ ./$(DEPDIR)/nlattr_crypto_user_alg.Po \ ./$(DEPDIR)/nlattr_dcbmsg.Po \ ./$(DEPDIR)/nlattr_fib_rule_hdr.Po \ @@ -5188,12 +6463,27 @@ ./$(DEPDIR)/nlattr_ifaddrmsg.Po \ ./$(DEPDIR)/nlattr_ifinfomsg.Po \ ./$(DEPDIR)/nlattr_ifla_af_spec.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po \ ./$(DEPDIR)/nlattr_ifla_brport.Po \ ./$(DEPDIR)/nlattr_ifla_linkinfo.Po \ ./$(DEPDIR)/nlattr_ifla_port.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo.Po \ ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo.Po \ ./$(DEPDIR)/nlattr_ifla_xdp-y.Po \ ./$(DEPDIR)/nlattr_ifla_xdp.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifstats.Po \ ./$(DEPDIR)/nlattr_inet_diag_msg.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po \ @@ -5202,7 +6492,10 @@ ./$(DEPDIR)/nlattr_ndmsg.Po ./$(DEPDIR)/nlattr_ndtmsg.Po \ ./$(DEPDIR)/nlattr_netconfmsg.Po \ ./$(DEPDIR)/nlattr_netlink_diag_msg.Po \ - ./$(DEPDIR)/nlattr_nlmsgerr.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po \ + ./$(DEPDIR)/nlattr_nhmsg.Po ./$(DEPDIR)/nlattr_nlmsgerr.Po \ ./$(DEPDIR)/nlattr_packet_diag_msg.Po \ ./$(DEPDIR)/nlattr_rtgenmsg.Po ./$(DEPDIR)/nlattr_rtmsg.Po \ ./$(DEPDIR)/nlattr_smc_diag_msg.Po \ @@ -5217,12 +6510,16 @@ ./$(DEPDIR)/oldselect-P.Po ./$(DEPDIR)/oldselect-efault-P.Po \ ./$(DEPDIR)/oldselect-efault.Po ./$(DEPDIR)/oldselect.Po \ ./$(DEPDIR)/oldstat.Po ./$(DEPDIR)/open--secontext.Po \ - ./$(DEPDIR)/open--secontext_full.Po ./$(DEPDIR)/open.Po \ + ./$(DEPDIR)/open--secontext_full.Po \ + ./$(DEPDIR)/open--secontext_full_mismatch.Po \ + ./$(DEPDIR)/open--secontext_mismatch.Po ./$(DEPDIR)/open.Po \ ./$(DEPDIR)/open_tree-P.Po ./$(DEPDIR)/open_tree.Po \ ./$(DEPDIR)/openat--secontext.Po \ - ./$(DEPDIR)/openat--secontext_full.Po ./$(DEPDIR)/openat.Po \ - ./$(DEPDIR)/openat2-Xabbrev.Po ./$(DEPDIR)/openat2-Xraw.Po \ - ./$(DEPDIR)/openat2-Xverbose.Po \ + ./$(DEPDIR)/openat--secontext_full.Po \ + ./$(DEPDIR)/openat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/openat--secontext_mismatch.Po \ + ./$(DEPDIR)/openat.Po ./$(DEPDIR)/openat2-Xabbrev.Po \ + ./$(DEPDIR)/openat2-Xraw.Po ./$(DEPDIR)/openat2-Xverbose.Po \ ./$(DEPDIR)/openat2-v-y-Xabbrev.Po \ ./$(DEPDIR)/openat2-v-y-Xraw.Po \ ./$(DEPDIR)/openat2-v-y-Xverbose.Po ./$(DEPDIR)/openat2-v-y.Po \ @@ -5237,6 +6534,8 @@ ./$(DEPDIR)/personality-Xverbose.Po ./$(DEPDIR)/personality.Po \ ./$(DEPDIR)/pidfd_getfd-y.Po ./$(DEPDIR)/pidfd_getfd-yy.Po \ ./$(DEPDIR)/pidfd_getfd.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-all.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-none.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-path.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po \ @@ -5296,7 +6595,20 @@ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po \ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po \ ./$(DEPDIR)/prctl-set-ptracer-success.Po \ - ./$(DEPDIR)/prctl-spec-inject.Po ./$(DEPDIR)/prctl-sve.Po \ + ./$(DEPDIR)/prctl-set_vma.Po ./$(DEPDIR)/prctl-sme-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success.Po ./$(DEPDIR)/prctl-sme.Po \ + ./$(DEPDIR)/prctl-spec-inject.Po \ + ./$(DEPDIR)/prctl-sve-Xabbrev.Po ./$(DEPDIR)/prctl-sve-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sve-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success.Po ./$(DEPDIR)/prctl-sve.Po \ ./$(DEPDIR)/prctl-syscall-user-dispatch.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xraw.Po \ @@ -5327,11 +6639,20 @@ ./$(DEPDIR)/process_madvise-y.Po \ ./$(DEPDIR)/process_madvise-yy.Po \ ./$(DEPDIR)/process_madvise.Po \ + ./$(DEPDIR)/process_mrelease-y.Po \ + ./$(DEPDIR)/process_mrelease.Po \ ./$(DEPDIR)/process_vm_readv--pidns-translation.Po \ ./$(DEPDIR)/process_vm_readv.Po \ ./$(DEPDIR)/process_vm_writev--pidns-translation.Po \ ./$(DEPDIR)/process_vm_writev.Po ./$(DEPDIR)/pselect6.Po \ - ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace-Xabbrev.Po \ + ./$(DEPDIR)/ptrace-Xraw.Po ./$(DEPDIR)/ptrace-Xverbose.Po \ + ./$(DEPDIR)/ptrace-y-Xabbrev.Po ./$(DEPDIR)/ptrace-y-Xraw.Po \ + ./$(DEPDIR)/ptrace-y-Xverbose.Po ./$(DEPDIR)/ptrace-y.Po \ + ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po \ ./$(DEPDIR)/ptrace_syscall_info.Po \ ./$(DEPDIR)/pwritev-pwritev.Po ./$(DEPDIR)/qual_fault.Po \ ./$(DEPDIR)/qual_inject-error-signal.Po \ @@ -5386,6 +6707,9 @@ ./$(DEPDIR)/scm_rights.Po ./$(DEPDIR)/seccomp-filter-v.Po \ ./$(DEPDIR)/seccomp-filter.Po ./$(DEPDIR)/seccomp-strict.Po \ ./$(DEPDIR)/seccomp_get_action_avail.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes.Po \ + ./$(DEPDIR)/segv_accerr.Po ./$(DEPDIR)/segv_pkuerr.Po \ ./$(DEPDIR)/select-P.Po ./$(DEPDIR)/select.Po \ ./$(DEPDIR)/semop-indirect.Po ./$(DEPDIR)/semop.Po \ ./$(DEPDIR)/semtimedop-ipc.Po ./$(DEPDIR)/semtimedop.Po \ @@ -5393,19 +6717,21 @@ ./$(DEPDIR)/sendfile64.Po ./$(DEPDIR)/set_mempolicy-Xabbrev.Po \ ./$(DEPDIR)/set_mempolicy-Xraw.Po \ ./$(DEPDIR)/set_mempolicy-Xverbose.Po \ - ./$(DEPDIR)/set_mempolicy.Po ./$(DEPDIR)/set_ptracer_any.Po \ - ./$(DEPDIR)/set_sigblock.Po ./$(DEPDIR)/set_sigign.Po \ - ./$(DEPDIR)/setdomainname.Po ./$(DEPDIR)/setfsgid.Po \ - ./$(DEPDIR)/setfsgid32.Po ./$(DEPDIR)/setfsuid.Po \ - ./$(DEPDIR)/setfsuid32.Po ./$(DEPDIR)/setgid.Po \ - ./$(DEPDIR)/setgid32.Po ./$(DEPDIR)/setgroups.Po \ - ./$(DEPDIR)/setgroups32.Po ./$(DEPDIR)/sethostname.Po \ - ./$(DEPDIR)/setns.Po ./$(DEPDIR)/setpgrp-exec.Po \ - ./$(DEPDIR)/setregid.Po ./$(DEPDIR)/setregid32.Po \ - ./$(DEPDIR)/setresgid.Po ./$(DEPDIR)/setresgid32.Po \ - ./$(DEPDIR)/setresuid.Po ./$(DEPDIR)/setresuid32.Po \ - ./$(DEPDIR)/setreuid.Po ./$(DEPDIR)/setreuid32.Po \ - ./$(DEPDIR)/setrlimit-Xabbrev.Po ./$(DEPDIR)/setrlimit-Xraw.Po \ + ./$(DEPDIR)/set_mempolicy.Po \ + ./$(DEPDIR)/set_mempolicy_home_node.Po \ + ./$(DEPDIR)/set_ptracer_any.Po ./$(DEPDIR)/set_sigblock.Po \ + ./$(DEPDIR)/set_sigign.Po ./$(DEPDIR)/setdomainname.Po \ + ./$(DEPDIR)/setfsgid.Po ./$(DEPDIR)/setfsgid32.Po \ + ./$(DEPDIR)/setfsuid.Po ./$(DEPDIR)/setfsuid32.Po \ + ./$(DEPDIR)/setgid.Po ./$(DEPDIR)/setgid32.Po \ + ./$(DEPDIR)/setgroups.Po ./$(DEPDIR)/setgroups32.Po \ + ./$(DEPDIR)/sethostname.Po ./$(DEPDIR)/setns.Po \ + ./$(DEPDIR)/setpgrp-exec.Po ./$(DEPDIR)/setregid.Po \ + ./$(DEPDIR)/setregid32.Po ./$(DEPDIR)/setresgid.Po \ + ./$(DEPDIR)/setresgid32.Po ./$(DEPDIR)/setresuid.Po \ + ./$(DEPDIR)/setresuid32.Po ./$(DEPDIR)/setreuid.Po \ + ./$(DEPDIR)/setreuid32.Po ./$(DEPDIR)/setrlimit-Xabbrev.Po \ + ./$(DEPDIR)/setrlimit-Xraw.Po \ ./$(DEPDIR)/setrlimit-Xverbose.Po ./$(DEPDIR)/setrlimit.Po \ ./$(DEPDIR)/setuid.Po ./$(DEPDIR)/setuid32.Po \ ./$(DEPDIR)/shmxt.Po ./$(DEPDIR)/shutdown.Po \ @@ -5425,10 +6751,21 @@ ./$(DEPDIR)/sock_filter-v-Xraw.Po \ ./$(DEPDIR)/sock_filter-v-Xverbose.Po \ ./$(DEPDIR)/sock_filter-v.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xraw.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po \ ./$(DEPDIR)/socketcall.Po ./$(DEPDIR)/sockopt-sol_netlink.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success.Po \ + ./$(DEPDIR)/sockopt-sol_socket.Po \ ./$(DEPDIR)/sockopt-timestamp.Po ./$(DEPDIR)/splice.Po \ ./$(DEPDIR)/stack-fcall-0.Po ./$(DEPDIR)/stack-fcall-1.Po \ ./$(DEPDIR)/stack-fcall-2.Po ./$(DEPDIR)/stack-fcall-3.Po \ @@ -5449,14 +6786,20 @@ ./$(DEPDIR)/status-successful.Po \ ./$(DEPDIR)/status-unfinished-threads.Po \ ./$(DEPDIR)/status-unfinished.Po ./$(DEPDIR)/statx.Po \ + ./$(DEPDIR)/strace--decode-pids-comm.Po \ ./$(DEPDIR)/strace--strings-in-hex-all.Po \ + ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po \ ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po \ - ./$(DEPDIR)/strace--strings-in-hex.Po ./$(DEPDIR)/strace-n.Po \ - ./$(DEPDIR)/strace-x.Po ./$(DEPDIR)/strace-xx.Po \ - ./$(DEPDIR)/swap.Po ./$(DEPDIR)/sxetmask.Po \ - ./$(DEPDIR)/symlink.Po ./$(DEPDIR)/symlinkat.Po \ - ./$(DEPDIR)/sync.Po ./$(DEPDIR)/sync_file_range.Po \ - ./$(DEPDIR)/sync_file_range2.Po ./$(DEPDIR)/sysinfo.Po \ + ./$(DEPDIR)/strace--strings-in-hex-none.Po \ + ./$(DEPDIR)/strace--strings-in-hex.Po \ + ./$(DEPDIR)/strace-Y-0123456789.Po ./$(DEPDIR)/strace-n.Po \ + ./$(DEPDIR)/strace-no-x.Po ./$(DEPDIR)/strace-p-Y-p2.Po \ + ./$(DEPDIR)/strace-p1-Y-p.Po ./$(DEPDIR)/strace-x.Po \ + ./$(DEPDIR)/strace-xx.Po ./$(DEPDIR)/swap.Po \ + ./$(DEPDIR)/sxetmask.Po ./$(DEPDIR)/symlink.Po \ + ./$(DEPDIR)/symlinkat.Po ./$(DEPDIR)/sync.Po \ + ./$(DEPDIR)/sync_file_range.Po ./$(DEPDIR)/sync_file_range2.Po \ + ./$(DEPDIR)/sysctl.Po ./$(DEPDIR)/sysinfo.Po \ ./$(DEPDIR)/syslog-success.Po ./$(DEPDIR)/syslog.Po \ ./$(DEPDIR)/tampering-notes.Po ./$(DEPDIR)/tee.Po \ ./$(DEPDIR)/tgkill--pidns-translation.Po ./$(DEPDIR)/tgkill.Po \ @@ -5466,9 +6809,11 @@ ./$(DEPDIR)/threads-execve-qqq.Po \ ./$(DEPDIR)/threads-execve.Po ./$(DEPDIR)/time.Po \ ./$(DEPDIR)/timer_create.Po ./$(DEPDIR)/timer_xettime.Po \ - ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-fail.Po \ - ./$(DEPDIR)/times.Po ./$(DEPDIR)/tkill--pidns-translation.Po \ - ./$(DEPDIR)/tkill.Po ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ + ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-Xabbrev.Po \ + ./$(DEPDIR)/times-Xraw.Po ./$(DEPDIR)/times-Xverbose.Po \ + ./$(DEPDIR)/times-fail.Po ./$(DEPDIR)/times.Po \ + ./$(DEPDIR)/tkill--pidns-translation.Po ./$(DEPDIR)/tkill.Po \ + ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ ./$(DEPDIR)/trie_test-trie_for_tests.Po \ ./$(DEPDIR)/trie_test-trie_test.Po ./$(DEPDIR)/truncate.Po \ ./$(DEPDIR)/truncate64-truncate64.Po ./$(DEPDIR)/ugetrlimit.Po \ @@ -5489,9 +6834,9 @@ ./$(DEPDIR)/utimes.Po ./$(DEPDIR)/vfork-f.Po \ ./$(DEPDIR)/vhangup.Po ./$(DEPDIR)/vmsplice.Po \ ./$(DEPDIR)/wait4-v.Po ./$(DEPDIR)/wait4.Po \ - ./$(DEPDIR)/waitid-v.Po ./$(DEPDIR)/waitid.Po \ - ./$(DEPDIR)/waitpid.Po ./$(DEPDIR)/xattr-strings.Po \ - ./$(DEPDIR)/xattr.Po \ + ./$(DEPDIR)/waitid-Y.Po ./$(DEPDIR)/waitid-v.Po \ + ./$(DEPDIR)/waitid.Po ./$(DEPDIR)/waitpid.Po \ + ./$(DEPDIR)/xattr-strings.Po ./$(DEPDIR)/xattr.Po \ ./$(DEPDIR)/xet_robust_list--pidns-translation.Po \ ./$(DEPDIR)/xet_robust_list.Po \ ./$(DEPDIR)/xet_thread_area_x86.Po ./$(DEPDIR)/xetitimer.Po \ @@ -5519,76 +6864,109 @@ am__v_CCLD_1 = SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c accept.c \ accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5614,13 +6992,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5628,26 +7026,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -5667,8 +7066,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -5685,16 +7084,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -5703,8 +7113,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -5712,7 +7124,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -5754,10 +7167,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -5770,11 +7189,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -5800,44 +7224,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -5847,83 +7284,117 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c DIST_SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c \ accept.c accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5949,13 +7420,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5963,26 +7454,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -6002,8 +7494,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -6020,16 +7512,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -6038,8 +7541,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -6047,7 +7552,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -6089,10 +7595,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -6105,11 +7617,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -6135,44 +7652,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -6182,11 +7712,12 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -6489,7 +8020,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -6509,6 +8039,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = 4 SIZEOF_LONG = 4 +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -6576,6 +8108,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -6599,6 +8132,8 @@ ARCH = @arch_m32@ KARCH = @karch_m32@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = m32 MPERS_CC_FLAGS = @CFLAGS_FOR_M32@ @cc_flags_m32@ ARCH_MFLAGS = -DMPERS_IS_$(MPERS_NAME) $(MPERS_CC_FLAGS) @@ -6613,13 +8148,17 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) @HAVE_M32_SELINUX_RUNTIME_FALSE@libselinux_LDADD = @HAVE_M32_SELINUX_RUNTIME_TRUE@libselinux_LDADD = $(libselinux_LIBS) libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -6667,7 +8206,7 @@ libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} # Generated by ./tests/gen_pure_executables.sh from ./tests/pure_executables.list; do not edit. PURE_EXECUTABLES = \ @@ -6681,6 +8220,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -6704,7 +8248,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -6783,6 +8329,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -6827,9 +8374,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -6868,6 +8422,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -6876,6 +8435,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -6884,6 +8446,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -6895,6 +8460,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -7001,6 +8567,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -7042,6 +8609,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -7050,10 +8621,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -7063,6 +8649,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -7109,6 +8699,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -7143,7 +8735,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -7170,12 +8770,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -7230,6 +8842,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -7242,6 +8855,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -7289,10 +8903,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -7313,7 +8934,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -7323,6 +8947,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -7333,6 +8958,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \ @@ -7379,67 +9007,139 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -7457,6 +9157,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -7472,6 +9173,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 stack_fcall_SOURCES = stack-fcall.c \ @@ -7492,19 +9196,30 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test \ accept4.gen.test access.gen.test access--secontext.gen.test \ - access--secontext_full.gen.test acct.gen.test add_key.gen.test \ - adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test \ - alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ + access--secontext_full.gen.test \ + access--secontext_full_mismatch.gen.test \ + access--secontext_mismatch.gen.test acct.gen.test \ + add_key.gen.test adjtimex.gen.test aio.gen.test \ + aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test \ + arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test \ + arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test \ + arch_prctl-success-Xabbrev.gen.test \ + arch_prctl-success-Xraw.gen.test \ + arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test \ + bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ bpf-obj_get_info_by_fd-prog.gen.test \ bpf-obj_get_info_by_fd-prog-v.gen.test \ bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test \ bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test \ chdir.gen.test chmod.gen.test chmod--secontext.gen.test \ - chmod--secontext_full.gen.test chown.gen.test chown32.gen.test \ - chroot.gen.test clock.gen.test clock_adjtime.gen.test \ - clock_adjtime64.gen.test clock_nanosleep.gen.test \ - clock_xettime.gen.test clock_xettime64.gen.test \ - clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ + chmod--secontext_full.gen.test \ + chmod--secontext_full_mismatch.gen.test \ + chmod--secontext_mismatch.gen.test chown.gen.test \ + chown32.gen.test chroot.gen.test clock.gen.test \ + clock_adjtime.gen.test clock_adjtime64.gen.test \ + clock_nanosleep.gen.test clock_xettime.gen.test \ + clock_xettime64.gen.test clone3.gen.test \ + clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ clone3-Xverbose.gen.test clone3-success.gen.test \ clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test \ clone3-success-Xverbose.gen.test clone_parent.gen.test \ @@ -7513,7 +9228,8 @@ clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test \ clone_ptrace-qq.gen.test close_range.gen.test \ copy_file_range.gen.test creat.gen.test delete_module.gen.test \ - dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test \ + dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test \ + dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test \ dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test \ dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test \ dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test \ @@ -7523,45 +9239,63 @@ epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test \ epoll_wait.gen.test erestartsys.gen.test \ execve--secontext.gen.test execve--secontext_full.gen.test \ - execveat.gen.test execveat--secontext.gen.test \ - execveat--secontext_full.gen.test execveat-v.gen.test \ + execve--secontext_full_mismatch.gen.test \ + execve--secontext_mismatch.gen.test execveat.gen.test \ + execveat--secontext.gen.test execveat--secontext_full.gen.test \ + execveat--secontext_full_mismatch.gen.test \ + execveat--secontext_mismatch.gen.test execveat-v.gen.test \ faccessat--secontext.gen.test \ - faccessat--secontext_full.gen.test faccessat-P.gen.test \ + faccessat--secontext_full.gen.test \ + faccessat--secontext_full_mismatch.gen.test \ + faccessat--secontext_mismatch.gen.test faccessat-P.gen.test \ faccessat-y.gen.test faccessat-y--secontext.gen.test \ - faccessat-y--secontext_full.gen.test faccessat-yy.gen.test \ + faccessat-y--secontext_full.gen.test \ + faccessat-y--secontext_full_mismatch.gen.test \ + faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test \ faccessat2-P.gen.test faccessat2-y.gen.test \ faccessat2-yy.gen.test fadvise64_64.gen.test \ fallocate.gen.test fanotify_init.gen.test \ fanotify_mark.gen.test fanotify_mark--secontext.gen.test \ fanotify_mark--secontext_full.gen.test \ + fanotify_mark--secontext_full_mismatch.gen.test \ + fanotify_mark--secontext_mismatch.gen.test \ fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test \ fanotify_mark-Xverbose.gen.test fchdir.gen.test \ fchmod.gen.test fchmod--secontext.gen.test \ - fchmod--secontext_full.gen.test fchmod-y.gen.test \ + fchmod--secontext_full.gen.test \ + fchmod--secontext_full_mismatch.gen.test \ + fchmod--secontext_mismatch.gen.test fchmod-y.gen.test \ fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test \ - fchmodat.gen.test fchmodat--secontext.gen.test \ - fchmodat--secontext_full.gen.test fchown.gen.test \ + fchmod-y--secontext_full_mismatch.gen.test \ + fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test \ + fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test \ + fchmodat--secontext_full_mismatch.gen.test \ + fchmodat--secontext_mismatch.gen.test fchown.gen.test \ fchown32.gen.test fchownat.gen.test \ fchownat--secontext.gen.test fchownat--secontext_full.gen.test \ - fcntl.gen.test fcntl--pidns-translation.gen.test \ - fcntl64.gen.test fcntl64--pidns-translation.gen.test \ - fdatasync.gen.test file_handle.gen.test \ - file_handle--secontext.gen.test \ - file_handle--secontext_full.gen.test filter_seccomp.gen.test \ - filter_seccomp-flag.gen.test finit_module.gen.test \ - flock.gen.test fork-f.gen.test fsconfig.gen.test \ - fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test \ - fspick.gen.test fspick-P.gen.test fstat.gen.test \ - fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ + fchownat--secontext_full_mismatch.gen.test \ + fchownat--secontext_mismatch.gen.test fcntl.gen.test \ + fcntl--pidns-translation.gen.test fcntl64.gen.test \ + fcntl64--pidns-translation.gen.test fdatasync.gen.test \ + file_handle.gen.test file_handle--secontext.gen.test \ + file_handle--secontext_full.gen.test \ + file_handle--secontext_full_mismatch.gen.test \ + file_handle--secontext_mismatch.gen.test \ + filter_seccomp.gen.test filter_seccomp-flag.gen.test \ + finit_module.gen.test flock.gen.test fork-f.gen.test \ + fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test \ + fsopen.gen.test fspick.gen.test fspick-P.gen.test \ + fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ fstat-Xverbose.gen.test fstat64.gen.test \ fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test \ fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test \ fstatfs64.gen.test fsync.gen.test fsync-y.gen.test \ - ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test \ - get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test \ - getdents.gen.test getdents-v.gen.test getdents64.gen.test \ - getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test \ - getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test \ + ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test \ + futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test \ + getcwd.gen.test getdents.gen.test getdents-v.gen.test \ + getdents64.gen.test getdents64-v.gen.test getegid.gen.test \ + getegid-creds.gen.test getegid32.gen.test \ + getegid32-creds.gen.test geteuid.gen.test \ geteuid-creds.gen.test geteuid32.gen.test \ geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test \ getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test \ @@ -7572,14 +9306,27 @@ getresuid.gen.test getresuid32.gen.test getrlimit.gen.test \ getrusage.gen.test getsid.gen.test \ getsid--pidns-translation.gen.test getsockname.gen.test \ - gettid.gen.test getuid-creds.gen.test getuid32.gen.test \ + getsockname--secontext.gen.test \ + getsockname--secontext_full.gen.test \ + getsockname--secontext_full_mismatch.gen.test \ + getsockname--secontext_mismatch.gen.test gettid.gen.test \ + getuid-creds.gen.test getuid32.gen.test \ getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test \ getxuid.gen.test group_req.gen.test inet-cmsg.gen.test \ init_module.gen.test inotify.gen.test inotify_init.gen.test \ inotify_init1.gen.test inotify_init1-y.gen.test \ io_uring_enter.gen.test io_uring_register.gen.test \ + io_uring_register-Xabbrev.gen.test \ + io_uring_register-Xraw.gen.test \ + io_uring_register-Xverbose.gen.test \ + io_uring_register-success.gen.test \ + io_uring_register-success-Xabbrev.gen.test \ + io_uring_register-success-Xraw.gen.test \ + io_uring_register-success-Xverbose.gen.test \ io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test \ - ioctl_dm-v.gen.test ioctl_evdev.gen.test \ + ioctl_dm-v.gen.test ioctl_counter.gen.test \ + ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test \ + ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test \ ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test \ ioctl_evdev-Xverbose.gen.test \ ioctl_evdev-success-Xabbrev.gen.test \ @@ -7629,17 +9376,44 @@ ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test \ ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test \ ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test \ + ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test \ + ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test \ + ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test \ + ioctl_kd-success-Xraw.gen.test \ + ioctl_kd-success-Xverbose.gen.test \ + ioctl_kd-success-s1024.gen.test \ + ioctl_kd-success-s1024-Xabbrev.gen.test \ + ioctl_kd-success-s1024-Xraw.gen.test \ + ioctl_kd-success-s1024-Xverbose.gen.test \ ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test \ - ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test \ + ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test \ + ioctl_lirc-success.gen.test ioctl_loop.gen.test \ ioctl_loop-nv.gen.test ioctl_loop-v.gen.test \ ioctl_mtd.gen.test ioctl_mtd-success.gen.test \ ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test \ ioctl_perf-success.gen.test ioctl_ptp.gen.test \ - ioctl_random.gen.test ioctl_rtc.gen.test \ - ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test \ - ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test \ - ioctl_sg_io_v4.gen.test ioctl_sock.gen.test \ - ioctl_sock_gifconf.gen.test ioctl_tee.gen.test \ + ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test \ + ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test \ + ioctl_ptp-success-Xabbrev.gen.test \ + ioctl_ptp-success-Xraw.gen.test \ + ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test \ + ioctl_rtc.gen.test ioctl_rtc-success.gen.test \ + ioctl_rtc-v.gen.test ioctl_scsi.gen.test \ + ioctl_seccomp.gen.test \ + ioctl_seccomp--pidns-translation.gen.test \ + ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test \ + ioctl_seccomp-y-success.gen.test \ + ioctl_seccomp-y-success--pidns-translation.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test \ + ioctl_seccomp-y-success-Xabbrev.gen.test \ + ioctl_seccomp-y-success-Xraw.gen.test \ + ioctl_seccomp-y-success-Xverbose.gen.test \ + ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test \ + ioctl_sock.gen.test ioctl_sock_gifconf.gen.test \ + ioctl_tee.gen.test ioctl_termios.gen.test \ + ioctl_termios-v.gen.test ioctl_tiocm.gen.test \ ioctl_ubi.gen.test ioctl_ubi-success.gen.test \ ioctl_uffdio.gen.test ioctl_v4l2.gen.test \ ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test \ @@ -7653,10 +9427,11 @@ ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test \ ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test \ ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test \ - ioperm.gen.test iopl.gen.test ioprio.gen.test \ - ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test \ - ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test \ - ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ + ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test \ + ioprio.gen.test ioprio--pidns-translation.gen.test \ + ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test \ + ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test \ + ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test \ ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test \ ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test \ @@ -7680,8 +9455,10 @@ landlock_restrict_self-y.gen.test lchown.gen.test \ lchown32.gen.test link.gen.test linkat.gen.test \ linkat--secontext.gen.test linkat--secontext_full.gen.test \ - lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test \ - madvise.gen.test maybe_switch_current_tcp.gen.test \ + linkat--secontext_full_mismatch.gen.test \ + linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test \ + lstat.gen.test lstat64.gen.test madvise.gen.test \ + maybe_switch_current_tcp.gen.test \ maybe_switch_current_tcp--quiet-thread-execve.gen.test \ mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test \ mbind-Xverbose.gen.test membarrier.gen.test \ @@ -7706,6 +9483,7 @@ mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test \ msg_control.gen.test msg_control-v.gen.test msg_name.gen.test \ munlockall.gen.test nanosleep.gen.test \ + net--decode-fds-all-netlink.gen.test \ net--decode-fds-dev-netlink.gen.test \ net--decode-fds-none-netlink.gen.test \ net--decode-fds-path-netlink.gen.test \ @@ -7727,21 +9505,38 @@ nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test \ nfnetlink_osf.gen.test nfnetlink_queue.gen.test \ nfnetlink_ulog.gen.test nlattr.gen.test \ - nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test \ - nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test \ - nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test \ - nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test \ - nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test \ - nlattr_ifla_port.gen.test \ + nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test \ + nlattr_cachereport-Xabbrev.gen.test \ + nlattr_cachereport-Xraw.gen.test \ + nlattr_cachereport-Xverbose.gen.test \ + nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test \ + nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test \ + nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test \ + nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test \ + nlattr_ifla_brport-Xabbrev.gen.test \ + nlattr_ifla_brport-Xraw.gen.test \ + nlattr_ifla_brport-Xverbose.gen.test \ + nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test \ + nlattr_ifla_protinfo.gen.test \ + nlattr_ifla_protinfo-Xabbrev.gen.test \ + nlattr_ifla_protinfo-Xraw.gen.test \ + nlattr_ifla_protinfo-Xverbose.gen.test \ nlattr_ifla_proto_down_reason.gen.test \ - nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test \ - nlattr_inet_diag_msg.gen.test \ + nlattr_ifla_vfinfo.gen.test \ + nlattr_ifla_vfinfo-Xabbrev.gen.test \ + nlattr_ifla_vfinfo-Xraw.gen.test \ + nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test \ + nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test \ + nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test \ + nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test \ nlattr_inet_diag_req_compat.gen.test \ nlattr_inet_diag_req_v2.gen.test \ nlattr_mdba_mdb_entry.gen.test \ nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test \ nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test \ - nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test \ + nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test \ + nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test \ + nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test \ nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test \ nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test \ nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test \ @@ -7753,21 +9548,26 @@ oldselect.gen.test oldselect-P.gen.test \ oldselect-efault.gen.test oldselect-efault-P.gen.test \ oldstat.gen.test open.gen.test open--secontext.gen.test \ - open--secontext_full.gen.test open_tree.gen.test \ + open--secontext_full.gen.test \ + open--secontext_full_mismatch.gen.test \ + open--secontext_mismatch.gen.test open_tree.gen.test \ open_tree-P.gen.test openat.gen.test \ openat--secontext.gen.test openat--secontext_full.gen.test \ - openat2.gen.test openat2-Xabbrev.gen.test \ - openat2-Xraw.gen.test openat2-Xverbose.gen.test \ - openat2-v.gen.test openat2-v-y.gen.test \ - openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test \ - openat2-v-y-Xverbose.gen.test openat2-y.gen.test \ - orphaned_process_group.gen.test osf_utimes.gen.test \ - pause.gen.test perf_event_open.gen.test \ + openat--secontext_full_mismatch.gen.test \ + openat--secontext_mismatch.gen.test openat2.gen.test \ + openat2-Xabbrev.gen.test openat2-Xraw.gen.test \ + openat2-Xverbose.gen.test openat2-v.gen.test \ + openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test \ + openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test \ + openat2-y.gen.test orphaned_process_group.gen.test \ + osf_utimes.gen.test pause.gen.test perf_event_open.gen.test \ perf_event_open_nonverbose.gen.test \ perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test \ personality-Xraw.gen.test personality-Xverbose.gen.test \ pidfd_getfd.gen.test pidfd_getfd-y.gen.test \ pidfd_getfd-yy.gen.test pidfd_open.gen.test \ + pidfd_open--decode-fd-all.gen.test \ + pidfd_open--decode-fd-none.gen.test \ pidfd_open--decode-fd-path.gen.test \ pidfd_open--decode-fd-pidfd.gen.test \ pidfd_open--decode-fd-socket.gen.test \ @@ -7790,35 +9590,46 @@ prctl-pac-enabled-keys-success-Xraw.gen.test \ prctl-pac-enabled-keys-success-Xverbose.gen.test \ prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test \ - prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test \ - prctl-sched-core-Xraw.gen.test \ - prctl-sched-core-Xverbose.gen.test \ + prctl-sched-core.gen.test \ prctl-sched-core--pidns-translation.gen.test \ prctl-sched-core--pidns-translation-Xabbrev.gen.test \ prctl-sched-core--pidns-translation-Xraw.gen.test \ prctl-sched-core--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-Xabbrev.gen.test \ + prctl-sched-core-Xraw.gen.test \ + prctl-sched-core-Xverbose.gen.test \ prctl-sched-core-success.gen.test \ - prctl-sched-core-success-Xabbrev.gen.test \ - prctl-sched-core-success-Xraw.gen.test \ - prctl-sched-core-success-Xverbose.gen.test \ prctl-sched-core-success--pidns-translation.gen.test \ prctl-sched-core-success--pidns-translation-Xabbrev.gen.test \ prctl-sched-core-success--pidns-translation-Xraw.gen.test \ prctl-sched-core-success--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-success-Xabbrev.gen.test \ + prctl-sched-core-success-Xraw.gen.test \ + prctl-sched-core-success-Xverbose.gen.test \ prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test \ prctl-securebits-success.gen.test \ prctl-securebits-success-Xabbrev.gen.test \ prctl-securebits-success-Xraw.gen.test \ prctl-securebits-success-Xverbose.gen.test \ prctl-set-ptracer-success.gen.test \ - prctl-set-ptracer-success-Xabbrev.gen.test \ - prctl-set-ptracer-success-Xraw.gen.test \ - prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xabbrev.gen.test \ prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xraw.gen.test \ prctl-set-ptracer-success-Xraw--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test \ - prctl-spec-inject.gen.test prctl-sve.gen.test \ + prctl-set_vma.gen.test prctl-sme.gen.test \ + prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test \ + prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test \ + prctl-sme-success-Xabbrev.gen.test \ + prctl-sme-success-Xraw.gen.test \ + prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test \ + prctl-sve.gen.test prctl-sve-Xabbrev.gen.test \ + prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test \ + prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test \ + prctl-sve-success-Xraw.gen.test \ + prctl-sve-success-Xverbose.gen.test \ prctl-syscall-user-dispatch.gen.test \ prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test \ prctl-tagged-addr-Xraw.gen.test \ @@ -7841,15 +9652,22 @@ prlimit64-success.gen.test \ prlimit64-success--pidns-translation.gen.test \ process_madvise.gen.test process_madvise-y.gen.test \ - process_madvise-yy.gen.test process_vm_readv.gen.test \ + process_madvise-yy.gen.test process_mrelease.gen.test \ + process_mrelease-y.gen.test process_vm_readv.gen.test \ process_vm_readv--pidns-translation.gen.test \ process_vm_writev.gen.test \ process_vm_writev--pidns-translation.gen.test \ pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test \ - ptrace_syscall_info.gen.test pwritev.gen.test \ - quotactl.gen.test quotactl-success.gen.test \ - quotactl-success-v.gen.test quotactl-Xabbrev.gen.test \ + ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test \ + ptrace-Xverbose.gen.test ptrace-y.gen.test \ + ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test \ + ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test \ + ptrace_syscall_info-Xabbrev.gen.test \ + ptrace_syscall_info-Xraw.gen.test \ + ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test \ + quotactl.gen.test quotactl-Xabbrev.gen.test \ quotactl-Xraw.gen.test quotactl-Xverbose.gen.test \ + quotactl-success.gen.test quotactl-success-v.gen.test \ quotactl-v.gen.test quotactl-xfs.gen.test \ quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test \ quotactl-xfs-v.gen.test quotactl_fd.gen.test \ @@ -7884,12 +9702,15 @@ sched_xetscheduler--pidns-translation.gen.test \ sched_yield.gen.test seccomp-filter.gen.test \ seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test \ - select.gen.test select-P.gen.test semop.gen.test \ - semop-indirect.gen.test semtimedop.gen.test \ + seccomp_get_notif_sizes.gen.test \ + seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test \ + segv_pkuerr.gen.test select.gen.test select-P.gen.test \ + semop.gen.test semop-indirect.gen.test semtimedop.gen.test \ semtimedop-ipc.gen.test semtimedop_time64.gen.test \ sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test \ set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test \ - set_mempolicy-Xverbose.gen.test setdomainname.gen.test \ + set_mempolicy-Xverbose.gen.test \ + set_mempolicy_home_node.gen.test setdomainname.gen.test \ setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test \ setfsuid32.gen.test setgid.gen.test setgid32.gen.test \ setgroups.gen.test setgroups32.gen.test sethostname.gen.test \ @@ -7909,8 +9730,17 @@ so_peercred-Xverbose.gen.test sock_filter-v.gen.test \ sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test \ sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test \ - sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test \ - socketcall.gen.test sockopt-sol_netlink.gen.test \ + sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test \ + sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test \ + sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test \ + sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test \ + sockopt-sol_socket-Xabbrev.gen.test \ + sockopt-sol_socket-Xraw.gen.test \ + sockopt-sol_socket-Xverbose.gen.test \ + sockopt-sol_socket-success.gen.test \ + sockopt-sol_socket-success-Xabbrev.gen.test \ + sockopt-sol_socket-success-Xraw.gen.test \ + sockopt-sol_socket-success-Xverbose.gen.test \ sockopt-timestamp.gen.test splice.gen.test stat.gen.test \ stat64.gen.test statfs.gen.test statfs64.gen.test \ status-all.gen.test status-failed.gen.test \ @@ -7928,6 +9758,7 @@ strace--absolute-timestamps-format-unix-precision-ns.gen.test \ strace--absolute-timestamps-format-unix-precision-s.gen.test \ strace--absolute-timestamps-format-unix-precision-us.gen.test \ + strace--decode-pids-comm.gen.test \ strace--follow-forks-output-separately.gen.test \ strace--relative-timestamps.gen.test \ strace--relative-timestamps-ms.gen.test \ @@ -7937,6 +9768,8 @@ strace--strings-in-hex.gen.test \ strace--strings-in-hex-all.gen.test \ strace--strings-in-hex-non-ascii.gen.test \ + strace--strings-in-hex-non-ascii-chars.gen.test \ + strace--strings-in-hex-none.gen.test \ strace--syscall-times.gen.test \ strace--syscall-times-ms.gen.test \ strace--syscall-times-ns.gen.test \ @@ -7950,25 +9783,37 @@ strace--timestamps-unix-ms.gen.test \ strace--timestamps-unix-ns.gen.test \ strace--timestamps-unix-s.gen.test \ - strace--timestamps-unix-us.gen.test strace-n.gen.test \ - strace-x.gen.test strace-xx.gen.test swap.gen.test \ - sxetmask.gen.test symlink.gen.test symlinkat.gen.test \ - sync.gen.test sync_file_range.gen.test \ - sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test \ - tee.gen.test tgkill.gen.test \ + strace--timestamps-unix-us.gen.test \ + strace-Y-0123456789.gen.test strace-n.gen.test \ + strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test \ + swap.gen.test sxetmask.gen.test symlink.gen.test \ + symlinkat.gen.test sync.gen.test sync_file_range.gen.test \ + sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test \ + syslog.gen.test tee.gen.test tgkill.gen.test \ tgkill--pidns-translation.gen.test \ threads-execve--quiet-thread-execve.gen.test \ threads-execve-q.gen.test threads-execve-qq.gen.test \ threads-execve-qqq.gen.test time.gen.test \ timer_create.gen.test timer_xettime.gen.test \ - timerfd_xettime.gen.test times.gen.test times-fail.gen.test \ - tkill.gen.test tkill--pidns-translation.gen.test \ - trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test \ + timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test \ + times-Xraw.gen.test times-Xverbose.gen.test \ + times-fail.gen.test tkill.gen.test \ + tkill--pidns-translation.gen.test trace_clock.gen.test \ + trace_creds.gen.test trace_fstat.gen.test \ trace_fstatfs.gen.test trace_lstat.gen.test \ trace_personality_32.gen.test trace_personality_64.gen.test \ + trace_personality_all_32.gen.test \ + trace_personality_all_64.gen.test \ + trace_personality_all_x32.gen.test \ + trace_personality_number_32.gen.test \ + trace_personality_number_64.gen.test \ + trace_personality_number_x32.gen.test \ trace_personality_regex_32.gen.test \ trace_personality_regex_64.gen.test \ trace_personality_regex_x32.gen.test \ + trace_personality_statfs_32.gen.test \ + trace_personality_statfs_64.gen.test \ + trace_personality_statfs_x32.gen.test \ trace_personality_x32.gen.test trace_question.gen.test \ trace_stat.gen.test trace_stat_like.gen.test \ trace_statfs.gen.test trace_statfs_like.gen.test \ @@ -7981,9 +9826,9 @@ utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test \ utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test \ vhangup.gen.test vmsplice.gen.test wait4.gen.test \ - wait4-v.gen.test waitid.gen.test waitid-v.gen.test \ - waitpid.gen.test xattr.gen.test xattr-strings.gen.test \ - xet_robust_list.gen.test \ + wait4-v.gen.test waitid.gen.test waitid-Y.gen.test \ + waitid-v.gen.test waitpid.gen.test xattr.gen.test \ + xattr-strings.gen.test xet_robust_list.gen.test \ xet_robust_list--pidns-translation.gen.test xetitimer.gen.test \ xetpgid.gen.test xetpgid--pidns-translation.gen.test \ xetpriority.gen.test xetpriority--pidns-translation.gen.test \ @@ -8115,6 +9960,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -8123,11 +9970,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -8155,6 +10003,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -8162,6 +10011,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -8187,11 +10037,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -8202,6 +10054,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -8232,12 +10085,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -8247,8 +10101,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -8256,9 +10113,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \ @@ -8365,6 +10228,14 @@ @rm -f access--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(access__secontext_full_OBJECTS) $(access__secontext_full_LDADD) $(LIBS) +access--secontext_full_mismatch$(EXEEXT): $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_full_mismatch_DEPENDENCIES) + @rm -f access--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_LDADD) $(LIBS) + +access--secontext_mismatch$(EXEEXT): $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_mismatch_DEPENDENCIES) + @rm -f access--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_LDADD) $(LIBS) + acct$(EXEEXT): $(acct_OBJECTS) $(acct_DEPENDENCIES) $(EXTRA_acct_DEPENDENCIES) @rm -f acct$(EXEEXT) $(AM_V_CCLD)$(LINK) $(acct_OBJECTS) $(acct_LDADD) $(LIBS) @@ -8393,6 +10264,42 @@ @rm -f answer$(EXEEXT) $(AM_V_CCLD)$(LINK) $(answer_OBJECTS) $(answer_LDADD) $(LIBS) +arch_prctl$(EXEEXT): $(arch_prctl_OBJECTS) $(arch_prctl_DEPENDENCIES) $(EXTRA_arch_prctl_DEPENDENCIES) + @rm -f arch_prctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_OBJECTS) $(arch_prctl_LDADD) $(LIBS) + +arch_prctl-Xabbrev$(EXEEXT): $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_LDADD) $(LIBS) + +arch_prctl-Xraw$(EXEEXT): $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_Xraw_DEPENDENCIES) + @rm -f arch_prctl-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_LDADD) $(LIBS) + +arch_prctl-Xverbose$(EXEEXT): $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_LDADD) $(LIBS) + +arch_prctl-success$(EXEEXT): $(arch_prctl_success_OBJECTS) $(arch_prctl_success_DEPENDENCIES) $(EXTRA_arch_prctl_success_DEPENDENCIES) + @rm -f arch_prctl-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_OBJECTS) $(arch_prctl_success_LDADD) $(LIBS) + +arch_prctl-success-Xabbrev$(EXEEXT): $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_LDADD) $(LIBS) + +arch_prctl-success-Xraw$(EXEEXT): $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xraw_DEPENDENCIES) + @rm -f arch_prctl-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_LDADD) $(LIBS) + +arch_prctl-success-Xverbose$(EXEEXT): $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_LDADD) $(LIBS) + +at_fdcwd-pathmax$(EXEEXT): $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_DEPENDENCIES) $(EXTRA_at_fdcwd_pathmax_DEPENDENCIES) + @rm -f at_fdcwd-pathmax$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_LDADD) $(LIBS) + attach-f-p$(EXEEXT): $(attach_f_p_OBJECTS) $(attach_f_p_DEPENDENCIES) $(EXTRA_attach_f_p_DEPENDENCIES) @rm -f attach-f-p$(EXEEXT) $(AM_V_CCLD)$(LINK) $(attach_f_p_OBJECTS) $(attach_f_p_LDADD) $(LIBS) @@ -8493,6 +10400,14 @@ @rm -f chmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_OBJECTS) $(chmod__secontext_full_LDADD) $(LIBS) +chmod--secontext_full_mismatch$(EXEEXT): $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_LDADD) $(LIBS) + +chmod--secontext_mismatch$(EXEEXT): $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_LDADD) $(LIBS) + chown$(EXEEXT): $(chown_OBJECTS) $(chown_DEPENDENCIES) $(EXTRA_chown_DEPENDENCIES) @rm -f chown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chown_OBJECTS) $(chown_LDADD) $(LIBS) @@ -8621,10 +10536,18 @@ @rm -f delete_module$(EXEEXT) $(AM_V_CCLD)$(LINK) $(delete_module_OBJECTS) $(delete_module_LDADD) $(LIBS) +dev--decode-fds-all$(EXEEXT): $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_DEPENDENCIES) $(EXTRA_dev__decode_fds_all_DEPENDENCIES) + @rm -f dev--decode-fds-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_LDADD) $(LIBS) + dev--decode-fds-dev$(EXEEXT): $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_DEPENDENCIES) $(EXTRA_dev__decode_fds_dev_DEPENDENCIES) @rm -f dev--decode-fds-dev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_LDADD) $(LIBS) +dev--decode-fds-none$(EXEEXT): $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_DEPENDENCIES) $(EXTRA_dev__decode_fds_none_DEPENDENCIES) + @rm -f dev--decode-fds-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_LDADD) $(LIBS) + dev--decode-fds-path$(EXEEXT): $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_DEPENDENCIES) $(EXTRA_dev__decode_fds_path_DEPENDENCIES) @rm -f dev--decode-fds-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_LDADD) $(LIBS) @@ -8737,6 +10660,14 @@ @rm -f execve--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve__secontext_full_OBJECTS) $(execve__secontext_full_LDADD) $(LIBS) +execve--secontext_full_mismatch$(EXEEXT): $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_full_mismatch_DEPENDENCIES) + @rm -f execve--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_LDADD) $(LIBS) + +execve--secontext_mismatch$(EXEEXT): $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_mismatch_DEPENDENCIES) + @rm -f execve--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_LDADD) $(LIBS) + execve-v$(EXEEXT): $(execve_v_OBJECTS) $(execve_v_DEPENDENCIES) $(EXTRA_execve_v_DEPENDENCIES) @rm -f execve-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve_v_OBJECTS) $(execve_v_LDADD) $(LIBS) @@ -8753,6 +10684,14 @@ @rm -f execveat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_OBJECTS) $(execveat__secontext_full_LDADD) $(LIBS) +execveat--secontext_full_mismatch$(EXEEXT): $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_full_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_LDADD) $(LIBS) + +execveat--secontext_mismatch$(EXEEXT): $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_LDADD) $(LIBS) + execveat-v$(EXEEXT): $(execveat_v_OBJECTS) $(execveat_v_DEPENDENCIES) $(EXTRA_execveat_v_DEPENDENCIES) @rm -f execveat-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat_v_OBJECTS) $(execveat_v_LDADD) $(LIBS) @@ -8769,6 +10708,14 @@ @rm -f faccessat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_OBJECTS) $(faccessat__secontext_full_LDADD) $(LIBS) +faccessat--secontext_full_mismatch$(EXEEXT): $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat--secontext_mismatch$(EXEEXT): $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_LDADD) $(LIBS) + faccessat-P$(EXEEXT): $(faccessat_P_OBJECTS) $(faccessat_P_DEPENDENCIES) $(EXTRA_faccessat_P_DEPENDENCIES) @rm -f faccessat-P$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_P_OBJECTS) $(faccessat_P_LDADD) $(LIBS) @@ -8785,6 +10732,14 @@ @rm -f faccessat-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_OBJECTS) $(faccessat_y__secontext_full_LDADD) $(LIBS) +faccessat-y--secontext_full_mismatch$(EXEEXT): $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat-y--secontext_mismatch$(EXEEXT): $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_LDADD) $(LIBS) + faccessat-yy$(EXEEXT): $(faccessat_yy_OBJECTS) $(faccessat_yy_DEPENDENCIES) $(EXTRA_faccessat_yy_DEPENDENCIES) @rm -f faccessat-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_yy_OBJECTS) $(faccessat_yy_LDADD) $(LIBS) @@ -8833,6 +10788,14 @@ @rm -f fanotify_mark--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_OBJECTS) $(fanotify_mark__secontext_full_LDADD) $(LIBS) +fanotify_mark--secontext_full_mismatch$(EXEEXT): $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_full_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_LDADD) $(LIBS) + +fanotify_mark--secontext_mismatch$(EXEEXT): $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_LDADD) $(LIBS) + fanotify_mark-Xabbrev$(EXEEXT): $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_DEPENDENCIES) $(EXTRA_fanotify_mark_Xabbrev_DEPENDENCIES) @rm -f fanotify_mark-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_LDADD) $(LIBS) @@ -8861,6 +10824,14 @@ @rm -f fchmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_OBJECTS) $(fchmod__secontext_full_LDADD) $(LIBS) +fchmod--secontext_full_mismatch$(EXEEXT): $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod--secontext_mismatch$(EXEEXT): $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_LDADD) $(LIBS) + fchmod-y$(EXEEXT): $(fchmod_y_OBJECTS) $(fchmod_y_DEPENDENCIES) $(EXTRA_fchmod_y_DEPENDENCIES) @rm -f fchmod-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y_OBJECTS) $(fchmod_y_LDADD) $(LIBS) @@ -8873,6 +10844,14 @@ @rm -f fchmod-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_OBJECTS) $(fchmod_y__secontext_full_LDADD) $(LIBS) +fchmod-y--secontext_full_mismatch$(EXEEXT): $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod-y--secontext_mismatch$(EXEEXT): $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_LDADD) $(LIBS) + fchmodat$(EXEEXT): $(fchmodat_OBJECTS) $(fchmodat_DEPENDENCIES) $(EXTRA_fchmodat_DEPENDENCIES) @rm -f fchmodat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat_OBJECTS) $(fchmodat_LDADD) $(LIBS) @@ -8885,6 +10864,14 @@ @rm -f fchmodat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_OBJECTS) $(fchmodat__secontext_full_LDADD) $(LIBS) +fchmodat--secontext_full_mismatch$(EXEEXT): $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_LDADD) $(LIBS) + +fchmodat--secontext_mismatch$(EXEEXT): $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_LDADD) $(LIBS) + fchown$(EXEEXT): $(fchown_OBJECTS) $(fchown_DEPENDENCIES) $(EXTRA_fchown_DEPENDENCIES) @rm -f fchown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchown_OBJECTS) $(fchown_LDADD) $(LIBS) @@ -8905,6 +10892,14 @@ @rm -f fchownat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_OBJECTS) $(fchownat__secontext_full_LDADD) $(LIBS) +fchownat--secontext_full_mismatch$(EXEEXT): $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_LDADD) $(LIBS) + +fchownat--secontext_mismatch$(EXEEXT): $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_LDADD) $(LIBS) + fcntl$(EXEEXT): $(fcntl_OBJECTS) $(fcntl_DEPENDENCIES) $(EXTRA_fcntl_DEPENDENCIES) @rm -f fcntl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fcntl_OBJECTS) $(fcntl_LDADD) $(LIBS) @@ -8941,6 +10936,14 @@ @rm -f file_handle--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_OBJECTS) $(file_handle__secontext_full_LDADD) $(LIBS) +file_handle--secontext_full_mismatch$(EXEEXT): $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_full_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_LDADD) $(LIBS) + +file_handle--secontext_mismatch$(EXEEXT): $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_LDADD) $(LIBS) + filter-unavailable$(EXEEXT): $(filter_unavailable_OBJECTS) $(filter_unavailable_DEPENDENCIES) $(EXTRA_filter_unavailable_DEPENDENCIES) @rm -f filter-unavailable$(EXEEXT) $(AM_V_CCLD)$(LINK) $(filter_unavailable_OBJECTS) $(filter_unavailable_LDADD) $(LIBS) @@ -9057,6 +11060,10 @@ @rm -f futex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futex_OBJECTS) $(futex_LDADD) $(LIBS) +futex_waitv$(EXEEXT): $(futex_waitv_OBJECTS) $(futex_waitv_DEPENDENCIES) $(EXTRA_futex_waitv_DEPENDENCIES) + @rm -f futex_waitv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(futex_waitv_OBJECTS) $(futex_waitv_LDADD) $(LIBS) + futimesat$(EXEEXT): $(futimesat_OBJECTS) $(futimesat_DEPENDENCIES) $(EXTRA_futimesat_DEPENDENCIES) @rm -f futimesat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futimesat_OBJECTS) $(futimesat_LDADD) $(LIBS) @@ -9189,6 +11196,22 @@ @rm -f getsockname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(getsockname_OBJECTS) $(getsockname_LDADD) $(LIBS) +getsockname--secontext$(EXEEXT): $(getsockname__secontext_OBJECTS) $(getsockname__secontext_DEPENDENCIES) $(EXTRA_getsockname__secontext_DEPENDENCIES) + @rm -f getsockname--secontext$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_OBJECTS) $(getsockname__secontext_LDADD) $(LIBS) + +getsockname--secontext_full$(EXEEXT): $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_DEPENDENCIES) + @rm -f getsockname--secontext_full$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_LDADD) $(LIBS) + +getsockname--secontext_full_mismatch$(EXEEXT): $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_LDADD) $(LIBS) + +getsockname--secontext_mismatch$(EXEEXT): $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_LDADD) $(LIBS) + gettid$(EXEEXT): $(gettid_OBJECTS) $(gettid_DEPENDENCIES) $(EXTRA_gettid_DEPENDENCIES) @rm -f gettid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gettid_OBJECTS) $(gettid_LDADD) $(LIBS) @@ -9265,6 +11288,34 @@ @rm -f io_uring_register$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_register_OBJECTS) $(io_uring_register_LDADD) $(LIBS) +io_uring_register-Xabbrev$(EXEEXT): $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_LDADD) $(LIBS) + +io_uring_register-Xraw$(EXEEXT): $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_Xraw_DEPENDENCIES) + @rm -f io_uring_register-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_LDADD) $(LIBS) + +io_uring_register-Xverbose$(EXEEXT): $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_LDADD) $(LIBS) + +io_uring_register-success$(EXEEXT): $(io_uring_register_success_OBJECTS) $(io_uring_register_success_DEPENDENCIES) $(EXTRA_io_uring_register_success_DEPENDENCIES) + @rm -f io_uring_register-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_OBJECTS) $(io_uring_register_success_LDADD) $(LIBS) + +io_uring_register-success-Xabbrev$(EXEEXT): $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_LDADD) $(LIBS) + +io_uring_register-success-Xraw$(EXEEXT): $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xraw_DEPENDENCIES) + @rm -f io_uring_register-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_LDADD) $(LIBS) + +io_uring_register-success-Xverbose$(EXEEXT): $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_LDADD) $(LIBS) + io_uring_setup$(EXEEXT): $(io_uring_setup_OBJECTS) $(io_uring_setup_DEPENDENCIES) $(EXTRA_io_uring_setup_DEPENDENCIES) @rm -f io_uring_setup$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_setup_OBJECTS) $(io_uring_setup_LDADD) $(LIBS) @@ -9281,6 +11332,22 @@ @rm -f ioctl_block--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_block__pidns_translation_OBJECTS) $(ioctl_block__pidns_translation_LDADD) $(LIBS) +ioctl_counter$(EXEEXT): $(ioctl_counter_OBJECTS) $(ioctl_counter_DEPENDENCIES) $(EXTRA_ioctl_counter_DEPENDENCIES) + @rm -f ioctl_counter$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_OBJECTS) $(ioctl_counter_LDADD) $(LIBS) + +ioctl_counter-Xabbrev$(EXEEXT): $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_counter_Xabbrev_DEPENDENCIES) + @rm -f ioctl_counter-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_LDADD) $(LIBS) + +ioctl_counter-Xraw$(EXEEXT): $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_DEPENDENCIES) $(EXTRA_ioctl_counter_Xraw_DEPENDENCIES) + @rm -f ioctl_counter-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_LDADD) $(LIBS) + +ioctl_counter-Xverbose$(EXEEXT): $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_counter_Xverbose_DEPENDENCIES) + @rm -f ioctl_counter-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_LDADD) $(LIBS) + ioctl_dm$(EXEEXT): $(ioctl_dm_OBJECTS) $(ioctl_dm_DEPENDENCIES) $(EXTRA_ioctl_dm_DEPENDENCIES) @rm -f ioctl_dm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_dm_OBJECTS) $(ioctl_dm_LDADD) $(LIBS) @@ -9581,6 +11648,54 @@ @rm -f ioctl_inotify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_inotify_OBJECTS) $(ioctl_inotify_LDADD) $(LIBS) +ioctl_kd$(EXEEXT): $(ioctl_kd_OBJECTS) $(ioctl_kd_DEPENDENCIES) $(EXTRA_ioctl_kd_DEPENDENCIES) + @rm -f ioctl_kd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_OBJECTS) $(ioctl_kd_LDADD) $(LIBS) + +ioctl_kd-Xabbrev$(EXEEXT): $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-Xraw$(EXEEXT): $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_LDADD) $(LIBS) + +ioctl_kd-Xverbose$(EXEEXT): $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success$(EXEEXT): $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_DEPENDENCIES) $(EXTRA_ioctl_kd_success_DEPENDENCIES) + @rm -f ioctl_kd-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_LDADD) $(LIBS) + +ioctl_kd-success-Xabbrev$(EXEEXT): $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-Xraw$(EXEEXT): $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-Xverbose$(EXEEXT): $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success-s1024$(EXEEXT): $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xabbrev$(EXEEXT): $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xraw$(EXEEXT): $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xverbose$(EXEEXT): $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_LDADD) $(LIBS) + ioctl_kvm_run$(EXEEXT): $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_DEPENDENCIES) $(EXTRA_ioctl_kvm_run_DEPENDENCIES) @rm -f ioctl_kvm_run$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_LDADD) $(LIBS) @@ -9593,6 +11708,14 @@ @rm -f ioctl_kvm_run_auxstr_vcpu$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_auxstr_vcpu_OBJECTS) $(ioctl_kvm_run_auxstr_vcpu_LDADD) $(LIBS) +ioctl_lirc$(EXEEXT): $(ioctl_lirc_OBJECTS) $(ioctl_lirc_DEPENDENCIES) $(EXTRA_ioctl_lirc_DEPENDENCIES) + @rm -f ioctl_lirc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_OBJECTS) $(ioctl_lirc_LDADD) $(LIBS) + +ioctl_lirc-success$(EXEEXT): $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_DEPENDENCIES) $(EXTRA_ioctl_lirc_success_DEPENDENCIES) + @rm -f ioctl_lirc-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_LDADD) $(LIBS) + ioctl_loop$(EXEEXT): $(ioctl_loop_OBJECTS) $(ioctl_loop_DEPENDENCIES) $(EXTRA_ioctl_loop_DEPENDENCIES) @rm -f ioctl_loop$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_loop_OBJECTS) $(ioctl_loop_LDADD) $(LIBS) @@ -9633,6 +11756,34 @@ @rm -f ioctl_ptp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ptp_OBJECTS) $(ioctl_ptp_LDADD) $(LIBS) +ioctl_ptp-Xabbrev$(EXEEXT): $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-Xraw$(EXEEXT): $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_LDADD) $(LIBS) + +ioctl_ptp-Xverbose$(EXEEXT): $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_LDADD) $(LIBS) + +ioctl_ptp-success$(EXEEXT): $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_DEPENDENCIES) + @rm -f ioctl_ptp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_LDADD) $(LIBS) + +ioctl_ptp-success-Xabbrev$(EXEEXT): $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-success-Xraw$(EXEEXT): $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_LDADD) $(LIBS) + +ioctl_ptp-success-Xverbose$(EXEEXT): $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_LDADD) $(LIBS) + ioctl_random$(EXEEXT): $(ioctl_random_OBJECTS) $(ioctl_random_DEPENDENCIES) $(EXTRA_ioctl_random_DEPENDENCIES) @rm -f ioctl_random$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_random_OBJECTS) $(ioctl_random_LDADD) $(LIBS) @@ -9653,6 +11804,54 @@ @rm -f ioctl_scsi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_scsi_OBJECTS) $(ioctl_scsi_LDADD) $(LIBS) +ioctl_seccomp$(EXEEXT): $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_DEPENDENCIES) $(EXTRA_ioctl_seccomp_DEPENDENCIES) + @rm -f ioctl_seccomp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_LDADD) $(LIBS) + +ioctl_seccomp--pidns-translation$(EXEEXT): $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-success$(EXEEXT): $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_success_DEPENDENCIES) + @rm -f ioctl_seccomp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_LDADD) $(LIBS) + +ioctl_seccomp-y$(EXEEXT): $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_DEPENDENCIES) + @rm -f ioctl_seccomp-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_LDADD) $(LIBS) + +ioctl_seccomp-y-success$(EXEEXT): $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xraw$(EXEEXT): $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_LDADD) $(LIBS) + ioctl_sg_io_v3$(EXEEXT): $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_DEPENDENCIES) $(EXTRA_ioctl_sg_io_v3_DEPENDENCIES) @rm -f ioctl_sg_io_v3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_LDADD) $(LIBS) @@ -9673,6 +11872,18 @@ @rm -f ioctl_tee$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_tee_OBJECTS) $(ioctl_tee_LDADD) $(LIBS) +ioctl_termios$(EXEEXT): $(ioctl_termios_OBJECTS) $(ioctl_termios_DEPENDENCIES) $(EXTRA_ioctl_termios_DEPENDENCIES) + @rm -f ioctl_termios$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_OBJECTS) $(ioctl_termios_LDADD) $(LIBS) + +ioctl_termios-v$(EXEEXT): $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_DEPENDENCIES) $(EXTRA_ioctl_termios_v_DEPENDENCIES) + @rm -f ioctl_termios-v$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_LDADD) $(LIBS) + +ioctl_tiocm$(EXEEXT): $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_DEPENDENCIES) $(EXTRA_ioctl_tiocm_DEPENDENCIES) + @rm -f ioctl_tiocm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_LDADD) $(LIBS) + ioctl_ubi$(EXEEXT): $(ioctl_ubi_OBJECTS) $(ioctl_ubi_DEPENDENCIES) $(EXTRA_ioctl_ubi_DEPENDENCIES) @rm -f ioctl_ubi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ubi_OBJECTS) $(ioctl_ubi_LDADD) $(LIBS) @@ -9753,6 +11964,10 @@ @rm -f ioctl_watchdog$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_watchdog_OBJECTS) $(ioctl_watchdog_LDADD) $(LIBS) +ioctl_winsize$(EXEEXT): $(ioctl_winsize_OBJECTS) $(ioctl_winsize_DEPENDENCIES) $(EXTRA_ioctl_winsize_DEPENDENCIES) + @rm -f ioctl_winsize$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_winsize_OBJECTS) $(ioctl_winsize_LDADD) $(LIBS) + ioperm$(EXEEXT): $(ioperm_OBJECTS) $(ioperm_DEPENDENCIES) $(EXTRA_ioperm_DEPENDENCIES) @rm -f ioperm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioperm_OBJECTS) $(ioperm_LDADD) $(LIBS) @@ -9985,6 +12200,14 @@ @rm -f linkat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_OBJECTS) $(linkat__secontext_full_LDADD) $(LIBS) +linkat--secontext_full_mismatch$(EXEEXT): $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_full_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_LDADD) $(LIBS) + +linkat--secontext_mismatch$(EXEEXT): $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_LDADD) $(LIBS) + list_sigaction_signum$(EXEEXT): $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_DEPENDENCIES) $(EXTRA_list_sigaction_signum_DEPENDENCIES) @rm -f list_sigaction_signum$(EXEEXT) $(AM_V_CCLD)$(LINK) $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_LDADD) $(LIBS) @@ -10257,6 +12480,10 @@ @rm -f nanosleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nanosleep_OBJECTS) $(nanosleep_LDADD) $(LIBS) +net--decode-fds-all-netlink$(EXEEXT): $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_all_netlink_DEPENDENCIES) + @rm -f net--decode-fds-all-netlink$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_LDADD) $(LIBS) + net--decode-fds-dev-netlink$(EXEEXT): $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_dev_netlink_DEPENDENCIES) @rm -f net--decode-fds-dev-netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_LDADD) $(LIBS) @@ -10449,6 +12676,22 @@ @rm -f nlattr_br_port_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_br_port_msg_OBJECTS) $(nlattr_br_port_msg_LDADD) $(LIBS) +nlattr_cachereport$(EXEEXT): $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_DEPENDENCIES) $(EXTRA_nlattr_cachereport_DEPENDENCIES) + @rm -f nlattr_cachereport$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_LDADD) $(LIBS) + +nlattr_cachereport-Xabbrev$(EXEEXT): $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_cachereport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_LDADD) $(LIBS) + +nlattr_cachereport-Xraw$(EXEEXT): $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xraw_DEPENDENCIES) + @rm -f nlattr_cachereport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_LDADD) $(LIBS) + +nlattr_cachereport-Xverbose$(EXEEXT): $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xverbose_DEPENDENCIES) + @rm -f nlattr_cachereport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_LDADD) $(LIBS) + nlattr_crypto_user_alg$(EXEEXT): $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_DEPENDENCIES) $(EXTRA_nlattr_crypto_user_alg_DEPENDENCIES) @rm -f nlattr_crypto_user_alg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_LDADD) $(LIBS) @@ -10481,6 +12724,18 @@ @rm -f nlattr_ifla_brport$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_OBJECTS) $(nlattr_ifla_brport_LDADD) $(LIBS) +nlattr_ifla_brport-Xabbrev$(EXEEXT): $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_brport-Xraw$(EXEEXT): $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_LDADD) $(LIBS) + +nlattr_ifla_brport-Xverbose$(EXEEXT): $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_LDADD) $(LIBS) + nlattr_ifla_linkinfo$(EXEEXT): $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_linkinfo_DEPENDENCIES) @rm -f nlattr_ifla_linkinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_LDADD) $(LIBS) @@ -10489,10 +12744,42 @@ @rm -f nlattr_ifla_port$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_port_OBJECTS) $(nlattr_ifla_port_LDADD) $(LIBS) +nlattr_ifla_protinfo$(EXEEXT): $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xraw$(EXEEXT): $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xverbose$(EXEEXT): $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_proto_down_reason$(EXEEXT): $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_DEPENDENCIES) $(EXTRA_nlattr_ifla_proto_down_reason_DEPENDENCIES) @rm -f nlattr_ifla_proto_down_reason$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_LDADD) $(LIBS) +nlattr_ifla_vfinfo$(EXEEXT): $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xraw$(EXEEXT): $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xverbose$(EXEEXT): $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_xdp$(EXEEXT): $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_DEPENDENCIES) $(EXTRA_nlattr_ifla_xdp_DEPENDENCIES) @rm -f nlattr_ifla_xdp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_LDADD) $(LIBS) @@ -10501,6 +12788,22 @@ @rm -f nlattr_ifla_xdp-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_y_OBJECTS) $(nlattr_ifla_xdp_y_LDADD) $(LIBS) +nlattr_ifstats$(EXEEXT): $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_DEPENDENCIES) $(EXTRA_nlattr_ifstats_DEPENDENCIES) + @rm -f nlattr_ifstats$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_LDADD) $(LIBS) + +nlattr_ifstats-Xabbrev$(EXEEXT): $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifstats-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_LDADD) $(LIBS) + +nlattr_ifstats-Xraw$(EXEEXT): $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xraw_DEPENDENCIES) + @rm -f nlattr_ifstats-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_LDADD) $(LIBS) + +nlattr_ifstats-Xverbose$(EXEEXT): $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifstats-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_LDADD) $(LIBS) + nlattr_inet_diag_msg$(EXEEXT): $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_DEPENDENCIES) $(EXTRA_nlattr_inet_diag_msg_DEPENDENCIES) @rm -f nlattr_inet_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_LDADD) $(LIBS) @@ -10537,6 +12840,22 @@ @rm -f nlattr_netlink_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_netlink_diag_msg_OBJECTS) $(nlattr_netlink_diag_msg_LDADD) $(LIBS) +nlattr_nhmsg$(EXEEXT): $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_DEPENDENCIES) + @rm -f nlattr_nhmsg$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_LDADD) $(LIBS) + +nlattr_nhmsg-Xabbrev$(EXEEXT): $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xabbrev_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_LDADD) $(LIBS) + +nlattr_nhmsg-Xraw$(EXEEXT): $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xraw_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_LDADD) $(LIBS) + +nlattr_nhmsg-Xverbose$(EXEEXT): $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xverbose_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_LDADD) $(LIBS) + nlattr_nlmsgerr$(EXEEXT): $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_DEPENDENCIES) $(EXTRA_nlattr_nlmsgerr_DEPENDENCIES) @rm -f nlattr_nlmsgerr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_LDADD) $(LIBS) @@ -10649,6 +12968,14 @@ @rm -f open--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open__secontext_full_OBJECTS) $(open__secontext_full_LDADD) $(LIBS) +open--secontext_full_mismatch$(EXEEXT): $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_full_mismatch_DEPENDENCIES) + @rm -f open--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_LDADD) $(LIBS) + +open--secontext_mismatch$(EXEEXT): $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_mismatch_DEPENDENCIES) + @rm -f open--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_LDADD) $(LIBS) + open_tree$(EXEEXT): $(open_tree_OBJECTS) $(open_tree_DEPENDENCIES) $(EXTRA_open_tree_DEPENDENCIES) @rm -f open_tree$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open_tree_OBJECTS) $(open_tree_LDADD) $(LIBS) @@ -10669,6 +12996,14 @@ @rm -f openat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat__secontext_full_OBJECTS) $(openat__secontext_full_LDADD) $(LIBS) +openat--secontext_full_mismatch$(EXEEXT): $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_full_mismatch_DEPENDENCIES) + @rm -f openat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_LDADD) $(LIBS) + +openat--secontext_mismatch$(EXEEXT): $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_mismatch_DEPENDENCIES) + @rm -f openat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_LDADD) $(LIBS) + openat2$(EXEEXT): $(openat2_OBJECTS) $(openat2_DEPENDENCIES) $(EXTRA_openat2_DEPENDENCIES) @rm -f openat2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat2_OBJECTS) $(openat2_LDADD) $(LIBS) @@ -10769,6 +13104,14 @@ @rm -f pidfd_open$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open_OBJECTS) $(pidfd_open_LDADD) $(LIBS) +pidfd_open--decode-fd-all$(EXEEXT): $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_all_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_LDADD) $(LIBS) + +pidfd_open--decode-fd-none$(EXEEXT): $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_none_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_LDADD) $(LIBS) + pidfd_open--decode-fd-path$(EXEEXT): $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_path_DEPENDENCIES) @rm -f pidfd_open--decode-fd-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_LDADD) $(LIBS) @@ -11053,6 +13396,42 @@ @rm -f prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS) $(prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD) $(LIBS) +prctl-set_vma$(EXEEXT): $(prctl_set_vma_OBJECTS) $(prctl_set_vma_DEPENDENCIES) $(EXTRA_prctl_set_vma_DEPENDENCIES) + @rm -f prctl-set_vma$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_set_vma_OBJECTS) $(prctl_set_vma_LDADD) $(LIBS) + +prctl-sme$(EXEEXT): $(prctl_sme_OBJECTS) $(prctl_sme_DEPENDENCIES) $(EXTRA_prctl_sme_DEPENDENCIES) + @rm -f prctl-sme$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_OBJECTS) $(prctl_sme_LDADD) $(LIBS) + +prctl-sme-Xabbrev$(EXEEXT): $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_LDADD) $(LIBS) + +prctl-sme-Xraw$(EXEEXT): $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_Xraw_DEPENDENCIES) + @rm -f prctl-sme-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_LDADD) $(LIBS) + +prctl-sme-Xverbose$(EXEEXT): $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_LDADD) $(LIBS) + +prctl-sme-success$(EXEEXT): $(prctl_sme_success_OBJECTS) $(prctl_sme_success_DEPENDENCIES) $(EXTRA_prctl_sme_success_DEPENDENCIES) + @rm -f prctl-sme-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_OBJECTS) $(prctl_sme_success_LDADD) $(LIBS) + +prctl-sme-success-Xabbrev$(EXEEXT): $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_LDADD) $(LIBS) + +prctl-sme-success-Xraw$(EXEEXT): $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xraw_DEPENDENCIES) + @rm -f prctl-sme-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_LDADD) $(LIBS) + +prctl-sme-success-Xverbose$(EXEEXT): $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_LDADD) $(LIBS) + prctl-spec-inject$(EXEEXT): $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_DEPENDENCIES) $(EXTRA_prctl_spec_inject_DEPENDENCIES) @rm -f prctl-spec-inject$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_LDADD) $(LIBS) @@ -11061,6 +13440,34 @@ @rm -f prctl-sve$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_sve_OBJECTS) $(prctl_sve_LDADD) $(LIBS) +prctl-sve-Xabbrev$(EXEEXT): $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_LDADD) $(LIBS) + +prctl-sve-Xraw$(EXEEXT): $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_Xraw_DEPENDENCIES) + @rm -f prctl-sve-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_LDADD) $(LIBS) + +prctl-sve-Xverbose$(EXEEXT): $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_LDADD) $(LIBS) + +prctl-sve-success$(EXEEXT): $(prctl_sve_success_OBJECTS) $(prctl_sve_success_DEPENDENCIES) $(EXTRA_prctl_sve_success_DEPENDENCIES) + @rm -f prctl-sve-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_OBJECTS) $(prctl_sve_success_LDADD) $(LIBS) + +prctl-sve-success-Xabbrev$(EXEEXT): $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_LDADD) $(LIBS) + +prctl-sve-success-Xraw$(EXEEXT): $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xraw_DEPENDENCIES) + @rm -f prctl-sve-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_LDADD) $(LIBS) + +prctl-sve-success-Xverbose$(EXEEXT): $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_LDADD) $(LIBS) + prctl-syscall-user-dispatch$(EXEEXT): $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_DEPENDENCIES) $(EXTRA_prctl_syscall_user_dispatch_DEPENDENCIES) @rm -f prctl-syscall-user-dispatch$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_LDADD) $(LIBS) @@ -11201,6 +13608,14 @@ @rm -f process_madvise-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_madvise_yy_OBJECTS) $(process_madvise_yy_LDADD) $(LIBS) +process_mrelease$(EXEEXT): $(process_mrelease_OBJECTS) $(process_mrelease_DEPENDENCIES) $(EXTRA_process_mrelease_DEPENDENCIES) + @rm -f process_mrelease$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_OBJECTS) $(process_mrelease_LDADD) $(LIBS) + +process_mrelease-y$(EXEEXT): $(process_mrelease_y_OBJECTS) $(process_mrelease_y_DEPENDENCIES) $(EXTRA_process_mrelease_y_DEPENDENCIES) + @rm -f process_mrelease-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_y_OBJECTS) $(process_mrelease_y_LDADD) $(LIBS) + process_vm_readv$(EXEEXT): $(process_vm_readv_OBJECTS) $(process_vm_readv_DEPENDENCIES) $(EXTRA_process_vm_readv_DEPENDENCIES) @rm -f process_vm_readv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_vm_readv_OBJECTS) $(process_vm_readv_LDADD) $(LIBS) @@ -11229,10 +13644,50 @@ @rm -f ptrace$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_OBJECTS) $(ptrace_LDADD) $(LIBS) +ptrace-Xabbrev$(EXEEXT): $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_Xabbrev_DEPENDENCIES) + @rm -f ptrace-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_LDADD) $(LIBS) + +ptrace-Xraw$(EXEEXT): $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_DEPENDENCIES) $(EXTRA_ptrace_Xraw_DEPENDENCIES) + @rm -f ptrace-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_LDADD) $(LIBS) + +ptrace-Xverbose$(EXEEXT): $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_Xverbose_DEPENDENCIES) + @rm -f ptrace-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_LDADD) $(LIBS) + +ptrace-y$(EXEEXT): $(ptrace_y_OBJECTS) $(ptrace_y_DEPENDENCIES) $(EXTRA_ptrace_y_DEPENDENCIES) + @rm -f ptrace-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_OBJECTS) $(ptrace_y_LDADD) $(LIBS) + +ptrace-y-Xabbrev$(EXEEXT): $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_y_Xabbrev_DEPENDENCIES) + @rm -f ptrace-y-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_LDADD) $(LIBS) + +ptrace-y-Xraw$(EXEEXT): $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_DEPENDENCIES) $(EXTRA_ptrace_y_Xraw_DEPENDENCIES) + @rm -f ptrace-y-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_LDADD) $(LIBS) + +ptrace-y-Xverbose$(EXEEXT): $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_y_Xverbose_DEPENDENCIES) + @rm -f ptrace-y-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_LDADD) $(LIBS) + ptrace_syscall_info$(EXEEXT): $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_DEPENDENCIES) @rm -f ptrace_syscall_info$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_LDADD) $(LIBS) +ptrace_syscall_info-Xabbrev$(EXEEXT): $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xabbrev_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_LDADD) $(LIBS) + +ptrace_syscall_info-Xraw$(EXEEXT): $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xraw_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_LDADD) $(LIBS) + +ptrace_syscall_info-Xverbose$(EXEEXT): $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xverbose_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_LDADD) $(LIBS) + pwritev$(EXEEXT): $(pwritev_OBJECTS) $(pwritev_DEPENDENCIES) $(EXTRA_pwritev_DEPENDENCIES) @rm -f pwritev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pwritev_OBJECTS) $(pwritev_LDADD) $(LIBS) @@ -11541,6 +13996,22 @@ @rm -f seccomp_get_action_avail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(seccomp_get_action_avail_OBJECTS) $(seccomp_get_action_avail_LDADD) $(LIBS) +seccomp_get_notif_sizes$(EXEEXT): $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_LDADD) $(LIBS) + +seccomp_get_notif_sizes-success$(EXEEXT): $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_success_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_LDADD) $(LIBS) + +segv_accerr$(EXEEXT): $(segv_accerr_OBJECTS) $(segv_accerr_DEPENDENCIES) $(EXTRA_segv_accerr_DEPENDENCIES) + @rm -f segv_accerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_accerr_OBJECTS) $(segv_accerr_LDADD) $(LIBS) + +segv_pkuerr$(EXEEXT): $(segv_pkuerr_OBJECTS) $(segv_pkuerr_DEPENDENCIES) $(EXTRA_segv_pkuerr_DEPENDENCIES) + @rm -f segv_pkuerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_pkuerr_OBJECTS) $(segv_pkuerr_LDADD) $(LIBS) + select$(EXEEXT): $(select_OBJECTS) $(select_DEPENDENCIES) $(EXTRA_select_DEPENDENCIES) @rm -f select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(select_OBJECTS) $(select_LDADD) $(LIBS) @@ -11593,6 +14064,10 @@ @rm -f set_mempolicy-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_mempolicy_Xverbose_OBJECTS) $(set_mempolicy_Xverbose_LDADD) $(LIBS) +set_mempolicy_home_node$(EXEEXT): $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_DEPENDENCIES) $(EXTRA_set_mempolicy_home_node_DEPENDENCIES) + @rm -f set_mempolicy_home_node$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_LDADD) $(LIBS) + set_ptracer_any$(EXEEXT): $(set_ptracer_any_OBJECTS) $(set_ptracer_any_DEPENDENCIES) $(EXTRA_set_ptracer_any_DEPENDENCIES) @rm -f set_ptracer_any$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_ptracer_any_OBJECTS) $(set_ptracer_any_LDADD) $(LIBS) @@ -11813,14 +14288,26 @@ @rm -f sockaddr_xlat-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_OBJECTS) $(sockaddr_xlat_Xabbrev_LDADD) $(LIBS) +sockaddr_xlat-Xabbrev-y$(EXEEXT): $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xabbrev_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xabbrev-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_LDADD) $(LIBS) + sockaddr_xlat-Xraw$(EXEEXT): $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_DEPENDENCIES) @rm -f sockaddr_xlat-Xraw$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_LDADD) $(LIBS) +sockaddr_xlat-Xraw-y$(EXEEXT): $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xraw-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_LDADD) $(LIBS) + sockaddr_xlat-Xverbose$(EXEEXT): $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_DEPENDENCIES) @rm -f sockaddr_xlat-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_LDADD) $(LIBS) +sockaddr_xlat-Xverbose-y$(EXEEXT): $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xverbose-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_LDADD) $(LIBS) + socketcall$(EXEEXT): $(socketcall_OBJECTS) $(socketcall_DEPENDENCIES) $(EXTRA_socketcall_DEPENDENCIES) @rm -f socketcall$(EXEEXT) $(AM_V_CCLD)$(LINK) $(socketcall_OBJECTS) $(socketcall_LDADD) $(LIBS) @@ -11829,6 +14316,38 @@ @rm -f sockopt-sol_netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_sol_netlink_OBJECTS) $(sockopt_sol_netlink_LDADD) $(LIBS) +sockopt-sol_socket$(EXEEXT): $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_DEPENDENCIES) + @rm -f sockopt-sol_socket$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_LDADD) $(LIBS) + +sockopt-sol_socket-Xabbrev$(EXEEXT): $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-Xraw$(EXEEXT): $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-Xverbose$(EXEEXT): $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_LDADD) $(LIBS) + +sockopt-sol_socket-success$(EXEEXT): $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_DEPENDENCIES) + @rm -f sockopt-sol_socket-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xabbrev$(EXEEXT): $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xraw$(EXEEXT): $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xverbose$(EXEEXT): $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_LDADD) $(LIBS) + sockopt-timestamp$(EXEEXT): $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_DEPENDENCIES) $(EXTRA_sockopt_timestamp_DEPENDENCIES) @rm -f sockopt-timestamp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_LDADD) $(LIBS) @@ -11917,6 +14436,10 @@ @rm -f statx$(EXEEXT) $(AM_V_CCLD)$(LINK) $(statx_OBJECTS) $(statx_LDADD) $(LIBS) +strace--decode-pids-comm$(EXEEXT): $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_DEPENDENCIES) $(EXTRA_strace__decode_pids_comm_DEPENDENCIES) + @rm -f strace--decode-pids-comm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_LDADD) $(LIBS) + strace--strings-in-hex$(EXEEXT): $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_DEPENDENCIES) @rm -f strace--strings-in-hex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_LDADD) $(LIBS) @@ -11929,10 +14452,34 @@ @rm -f strace--strings-in-hex-non-ascii$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_OBJECTS) $(strace__strings_in_hex_non_ascii_LDADD) $(LIBS) +strace--strings-in-hex-non-ascii-chars$(EXEEXT): $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) + @rm -f strace--strings-in-hex-non-ascii-chars$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_LDADD) $(LIBS) + +strace--strings-in-hex-none$(EXEEXT): $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_none_DEPENDENCIES) + @rm -f strace--strings-in-hex-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_LDADD) $(LIBS) + +strace-Y-0123456789$(EXEEXT): $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_DEPENDENCIES) $(EXTRA_strace_Y_0123456789_DEPENDENCIES) + @rm -f strace-Y-0123456789$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_LDADD) $(LIBS) + strace-n$(EXEEXT): $(strace_n_OBJECTS) $(strace_n_DEPENDENCIES) $(EXTRA_strace_n_DEPENDENCIES) @rm -f strace-n$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_n_OBJECTS) $(strace_n_LDADD) $(LIBS) +strace-no-x$(EXEEXT): $(strace_no_x_OBJECTS) $(strace_no_x_DEPENDENCIES) $(EXTRA_strace_no_x_DEPENDENCIES) + @rm -f strace-no-x$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_no_x_OBJECTS) $(strace_no_x_LDADD) $(LIBS) + +strace-p-Y-p2$(EXEEXT): $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_DEPENDENCIES) $(EXTRA_strace_p_Y_p2_DEPENDENCIES) + @rm -f strace-p-Y-p2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_LDADD) $(LIBS) + +strace-p1-Y-p$(EXEEXT): $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_DEPENDENCIES) $(EXTRA_strace_p1_Y_p_DEPENDENCIES) + @rm -f strace-p1-Y-p$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_LDADD) $(LIBS) + strace-x$(EXEEXT): $(strace_x_OBJECTS) $(strace_x_DEPENDENCIES) $(EXTRA_strace_x_DEPENDENCIES) @rm -f strace-x$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_x_OBJECTS) $(strace_x_LDADD) $(LIBS) @@ -11969,6 +14516,10 @@ @rm -f sync_file_range2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sync_file_range2_OBJECTS) $(sync_file_range2_LDADD) $(LIBS) +sysctl$(EXEEXT): $(sysctl_OBJECTS) $(sysctl_DEPENDENCIES) $(EXTRA_sysctl_DEPENDENCIES) + @rm -f sysctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sysctl_OBJECTS) $(sysctl_LDADD) $(LIBS) + sysinfo$(EXEEXT): $(sysinfo_OBJECTS) $(sysinfo_DEPENDENCIES) $(EXTRA_sysinfo_DEPENDENCIES) @rm -f sysinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sysinfo_OBJECTS) $(sysinfo_LDADD) $(LIBS) @@ -12037,6 +14588,18 @@ @rm -f times$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_OBJECTS) $(times_LDADD) $(LIBS) +times-Xabbrev$(EXEEXT): $(times_Xabbrev_OBJECTS) $(times_Xabbrev_DEPENDENCIES) $(EXTRA_times_Xabbrev_DEPENDENCIES) + @rm -f times-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xabbrev_OBJECTS) $(times_Xabbrev_LDADD) $(LIBS) + +times-Xraw$(EXEEXT): $(times_Xraw_OBJECTS) $(times_Xraw_DEPENDENCIES) $(EXTRA_times_Xraw_DEPENDENCIES) + @rm -f times-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xraw_OBJECTS) $(times_Xraw_LDADD) $(LIBS) + +times-Xverbose$(EXEEXT): $(times_Xverbose_OBJECTS) $(times_Xverbose_DEPENDENCIES) $(EXTRA_times_Xverbose_DEPENDENCIES) + @rm -f times-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xverbose_OBJECTS) $(times_Xverbose_LDADD) $(LIBS) + times-fail$(EXEEXT): $(times_fail_OBJECTS) $(times_fail_DEPENDENCIES) $(EXTRA_times_fail_DEPENDENCIES) @rm -f times-fail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_fail_OBJECTS) $(times_fail_LDADD) $(LIBS) @@ -12197,6 +14760,10 @@ @rm -f waitid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_OBJECTS) $(waitid_LDADD) $(LIBS) +waitid-Y$(EXEEXT): $(waitid_Y_OBJECTS) $(waitid_Y_DEPENDENCIES) $(EXTRA_waitid_Y_DEPENDENCIES) + @rm -f waitid-Y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(waitid_Y_OBJECTS) $(waitid_Y_LDADD) $(LIBS) + waitid-v$(EXEEXT): $(waitid_v_OBJECTS) $(waitid_v_DEPENDENCIES) $(EXTRA_waitid_v_DEPENDENCIES) @rm -f waitid-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_v_OBJECTS) $(waitid_v_LDADD) $(LIBS) @@ -12265,6 +14832,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accept4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/acct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/add_key.Po@am__quote@ # am--include-marker @@ -12273,6 +14842,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aio_pgetevents.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/answer.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at_fdcwd-pathmax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p-cmd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-p-cmd-cmd.Po@am__quote@ # am--include-marker @@ -12297,6 +14875,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_sigign.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown32.Po@am__quote@ # am--include-marker @@ -12330,7 +14910,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/creat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delay.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delete_module.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-all.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-dev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev-yy.Po@am__quote@ # am--include-marker @@ -12358,17 +14940,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eventfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat.Po@am__quote@ # am--include-marker @@ -12382,6 +14972,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_init.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xverbose.Po@am__quote@ # am--include-marker @@ -12389,17 +14981,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchdir.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker @@ -12409,6 +15009,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fflush.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter-unavailable.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter_seccomp-flag.Po@am__quote@ # am--include-marker @@ -12439,6 +15041,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate64-ftruncate64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex_waitv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futimesat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_mempolicy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_process_reaper.Po@am__quote@ # am--include-marker @@ -12471,6 +15074,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrusage.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid.Po@am__quote@ # am--include-marker @@ -12490,11 +15097,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inotify_init1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_0x80.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_enter.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_setup.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_evdev-Xabbrev.Po@am__quote@ # am--include-marker @@ -12570,9 +15188,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_inotify.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-nv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop.Po@am__quote@ # am--include-marker @@ -12582,17 +15214,39 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_nsfs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_random.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_scsi.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock_gifconf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tee.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tiocm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_uffdio.Po@am__quote@ # am--include-marker @@ -12613,6 +15267,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_watchdog.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_winsize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioperm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iopl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioprio--pidns-translation.Po@am__quote@ # am--include-marker @@ -12667,6 +15322,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/landlock_restrict_self.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown32.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-clock_t_str.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_nl_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_tmpfile.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-dirfd.Po@am__quote@ # am--include-marker @@ -12707,6 +15363,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list_sigaction_signum.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/llseek.Po@am__quote@ # am--include-marker @@ -12776,6 +15434,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg_name.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/munlockall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-all-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-dev-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-none-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-path-netlink.Po@am__quote@ # am--include-marker @@ -12824,6 +15483,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfnetlink_ulog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_br_port_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_crypto_user_alg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_dcbmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_fib_rule_hdr.Po@am__quote@ # am--include-marker @@ -12831,12 +15494,27 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifaddrmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifinfomsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_af_spec.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_linkinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_port.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_compat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_v2.Po@am__quote@ # am--include-marker @@ -12846,6 +15524,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ndtmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netconfmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netlink_diag_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nlmsgerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_packet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_rtgenmsg.Po@am__quote@ # am--include-marker @@ -12873,11 +15555,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oldstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xraw.Po@am__quote@ # am--include-marker @@ -12903,6 +15589,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-socket.Po@am__quote@ # am--include-marker @@ -12975,7 +15663,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set_vma.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-spec-inject.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-syscall-user-dispatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po@am__quote@ # am--include-marker @@ -13012,13 +15716,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6_time64.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwritev-pwritev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qual_fault.Po@am__quote@ # am--include-marker @@ -13097,6 +15813,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-filter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-strict.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_action_avail.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_accerr.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_pkuerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/semop-indirect.Po@am__quote@ # am--include-marker @@ -13110,6 +15830,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy_home_node.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_ptracer_any.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigblock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigign.Po@am__quote@ # am--include-marker @@ -13164,11 +15885,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socketcall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_netlink.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-timestamp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/splice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stack-fcall-0.Po@am__quote@ # am--include-marker @@ -13199,10 +15931,17 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished-threads.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statx.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--decode-pids-comm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-Y-0123456789.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-n.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-no-x.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p-Y-p2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p1-Y-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-x.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-xx.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/swap.Po@am__quote@ # am--include-marker @@ -13212,6 +15951,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog.Po@am__quote@ # am--include-marker @@ -13228,6 +15968,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_create.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_xettime.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timerfd_xettime.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-fail.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tkill--pidns-translation.Po@am__quote@ # am--include-marker @@ -13269,6 +16012,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vmsplice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-Y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitpid.Po@am__quote@ # am--include-marker @@ -13307,6 +16051,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +libtests_a-clock_t_str.o: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.o -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c + +libtests_a-clock_t_str.obj: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.obj -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` + libtests_a-create_nl_socket.o: create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-create_nl_socket.o -MD -MP -MF $(DEPDIR)/libtests_a-create_nl_socket.Tpo -c -o libtests_a-create_nl_socket.o `test -f 'create_nl_socket.c' || echo '$(srcdir)/'`create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-create_nl_socket.Tpo $(DEPDIR)/libtests_a-create_nl_socket.Po @@ -14413,6 +17171,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -14421,6 +17181,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -14445,6 +17214,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -14478,7 +17249,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -14506,17 +17279,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -14530,6 +17311,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -14537,17 +17320,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -14557,6 +17348,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -14587,6 +17380,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -14619,6 +17413,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -14638,11 +17436,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -14718,9 +17527,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -14730,17 +17553,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -14761,6 +17606,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -14815,6 +17661,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -14855,6 +17702,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -14924,6 +17773,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -14972,6 +17822,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -14979,12 +17833,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -14994,6 +17863,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -15021,11 +17894,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -15051,6 +17928,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -15123,7 +18002,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -15160,13 +18055,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -15245,6 +18152,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -15258,6 +18169,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -15312,11 +18224,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -15347,10 +18270,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -15360,6 +18290,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -15376,6 +18307,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -15417,6 +18351,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -15483,6 +18418,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -15491,6 +18428,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -15515,6 +18461,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -15548,7 +18496,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -15576,17 +18526,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -15600,6 +18558,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -15607,17 +18567,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -15627,6 +18595,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -15657,6 +18627,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -15689,6 +18660,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -15708,11 +18683,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -15788,9 +18774,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -15800,17 +18800,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -15831,6 +18853,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -15885,6 +18908,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -15925,6 +18949,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -15994,6 +19020,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -16042,6 +19069,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -16049,12 +19080,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -16064,6 +19110,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -16091,11 +19141,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -16121,6 +19175,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -16193,7 +19249,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -16230,13 +19302,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -16315,6 +19399,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -16328,6 +19416,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -16382,11 +19471,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -16417,10 +19517,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -16430,6 +19537,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -16446,6 +19554,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -16487,6 +19598,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -16565,6 +19677,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16583,6 +19701,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16622,6 +19767,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16709,9 +19860,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16790,6 +19947,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16799,6 +19962,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16808,6 +19977,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16820,6 +19995,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16850,6 +20031,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16871,6 +20058,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16880,6 +20073,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16889,6 +20088,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16904,6 +20109,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16928,6 +20139,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17006,6 +20223,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17120,6 +20340,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17168,6 +20400,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17180,6 +20433,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17396,6 +20661,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17405,6 +20706,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17435,6 +20742,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17450,6 +20778,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17465,6 +20829,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17525,6 +20898,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17690,6 +21066,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17876,6 +21258,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17990,6 +21375,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18014,21 +21411,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18056,6 +21498,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18134,6 +21588,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18149,6 +21609,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18218,6 +21684,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18326,15 +21798,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18347,16 +21810,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18371,6 +21834,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18392,25 +21864,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18419,6 +21918,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18518,6 +22038,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18539,19 +22065,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18563,6 +22113,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18743,6 +22299,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18782,6 +22350,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18929,18 +22500,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19019,6 +22623,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19046,6 +22653,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19091,9 +22704,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19121,6 +22740,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19163,6 +22785,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19193,6 +22824,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19202,6 +22851,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19298,6 +22956,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/access--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/access--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/access--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/access--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/add_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/add_key.c
Changed
@@ -54,11 +54,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_payload = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -106,10 +101,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(payloads); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(payloads); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_add_key(typesi.type, typesi.str, descsj.desc, descsj.str, payloadsk.pload,
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev); do not edit. +set -- -a27 -Xabbrev +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw); do not edit. +set -- -a17 -Xraw +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl.c
Added
@@ -0,0 +1,323 @@ +/* + * Check decoding of arch_prctl syscall. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR_arch_prctl + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <linux/prctl.h> + +# define XLAT_MACROS_ONLY +# include "xlat/archvals.h" +# undef XLAT_MACROS_ONLY + +# include "xlat.h" +# include "xlat/x86_xfeature_bits.h" +# include "xlat/x86_xfeatures.h" + +# ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)\n" +# else +# define INJ_STR "\n" +# endif + +# define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) + +static long +sys_arch_prctl(unsigned int cmd, kernel_ulong_t arg) +{ + return syscall(__NR_arch_prctl, cmd, arg, (unsigned long) -3U, + (unsigned long) -4U, + (unsigned long) -5U); +} + +static long +arch_prctl_marker(void) +{ + return sys_arch_prctl(-1U, (unsigned long) -2U); +} + +int +main(int argc, char *argv) +{ + const kernel_ulong_t dummy = (kernel_ulong_t) 0xbadfaceddeadbeefULL; + const char *errstr; + long rc; + + arch_prctl_marker(); + +# ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (arch_prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on arch_prctl(-1, -2)" + " returning %ld", inject_retval); +# endif /* INJECT_RETVAL */ + + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, u64_p); + + /* Unknown commands */ + static const uint32_t unk_cmds = { + 0, 0x1, + 0x1000, 0x1005, + 0x1010, 0x1013, + 0x1020, 0x1026, + 0x1030, 0x1031, + 0x1100, 0x1101, + 0x2000, 0x2004, + 0x2010, 0x2011, + 0x2100, 0x2101, + 0x3000, 0x3001, + 0xdeadc0de }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_cmds); i++) { + rc = sys_arch_prctl(unk_cmdsi, 0); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", 0) = %s" INJ_STR, + unk_cmdsi, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (kernel_ulong_t) dummy); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %#llx) = %s" INJ_STR, + unk_cmdsi, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (uintptr_t) u64_p); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %p) = %s" INJ_STR, + unk_cmdsi, u64_p, sprintrc(rc)); + } + + /* Default decoding */ + static const struct strval32 def_cmds = { + { ARG_XLAT_KNOWN(0x1001, "ARCH_SET_GS") }, +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1002, "ARCH_SET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1012, "ARCH_SET_CPUID") }, + { ARG_XLAT_KNOWN(0x2001, "ARCH_MAP_VDSO_X32") }, + { ARG_XLAT_KNOWN(0x2002, "ARCH_MAP_VDSO_32") }, + { ARG_XLAT_KNOWN(0x2003, "ARCH_MAP_VDSO_64") }, + }; + + for (const struct strval32 *p = def_cmds; p < ARRAY_END(def_cmds); p++) + { + rc = sys_arch_prctl(p->val, (kernel_ulong_t) dummy); + printf("arch_prctl(%s, %#llx) = %s" INJ_STR, + p->str, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, 0) = %s" INJ_STR, p->str, sprintrc(rc)); + } + + /* ARCH_GET_GS, ARCH_GET_FS */ + static const struct strval32 kptr_cmds = { +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1003, "ARCH_GET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1004, "ARCH_GET_GS") }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, kulong_p); + const kernel_ulong_t ptrs = { + (kernel_ulong_t) 0xdeadfacecafebeefULL, + (uintptr_t) (kulong_p + 1), + (uintptr_t) kulong_p , + 0 + }; + + for (const struct strval32 *p = kptr_cmds; p < ARRAY_END(kptr_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (kulong_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, kulong_p + 1, sprintrc(rc)); + + for (size_t j = 0; j < ARRAY_SIZE(ptrs); j++) { + *kulong_p = ptrsj; + uint32_t wr_cmd = p->val == ARCH_GET_GS ? ARCH_SET_GS + : ARCH_SET_FS; +# if !XLAT_RAW + const char *wr_str = p->val == ARCH_GET_GS + ? "ARCH_SET_GS" : "ARCH_SET_FS"; +# endif + rc = sys_arch_prctl(wr_cmd, *kulong_p); + printf("arch_prctl(" XLAT_FMT ", %#llx) = %s" INJ_STR, + XLAT_SEL(wr_cmd, wr_str), + (unsigned long long) *kulong_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) kulong_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { + if (*kulong_p) { + printf("%#llx", + (unsigned long long) *kulong_p); + } else { + printf("NULL"); + } + } else { + printf("%p", kulong_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* ARCH_GET_CPUID */ + rc = sys_arch_prctl(ARCH_GET_CPUID, 0xdeadc0de); + printf("arch_prctl(" XLAT_FMT ") = %s" INJ_STR, + XLAT_ARGS(ARCH_GET_CPUID), sprintrc(rc)); + + /* xfeature mask get */ + static const struct strval32 xfget_cmds = { + { ARG_XLAT_KNOWN(0x1021, "ARCH_GET_XCOMP_SUPP") }, + { ARG_XLAT_KNOWN(0x1022, "ARCH_GET_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1024, "ARCH_GET_XCOMP_GUEST_PERM") }, + }; + static const struct strval64 xfget_vals = { + { ARG_STR(0) }, + { ARG_XLAT_UNKNOWN(0x1, "XFEATURE_MASK_FP") }, + { ARG_XLAT_UNKNOWN(0x2, "XFEATURE_MASK_SSE") }, + { ARG_XLAT_UNKNOWN(0x3, "XFEATURE_MASK_FPSSE") }, + { ARG_XLAT_UNKNOWN(0x20, "XFEATURE_MASK_OPMASK") }, + { ARG_XLAT_UNKNOWN(0xc0, "XFEATURE_MASK_ZMM_Hi256" + "|XFEATURE_MASK_Hi16_ZMM") }, + { ARG_XLAT_UNKNOWN(0xe0, "XFEATURE_MASK_AVX512") }, + { ARG_XLAT_UNKNOWN(0x20000, "XFEATURE_MASK_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x40000, "XFEATURE_MASK_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x60000, "XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xbadfaced, + "XFEATURE_MASK_FP|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_AVX512" + "|XFEATURE_MASK_PASID|XFEATURE_MASK_LBR" + "|XFEATURE_MASK_XTILE|0xbad92800") }, + { ARG_XLAT_UNKNOWN(0x687ff, + "XFEATURE_MASK_FPSSE|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_BNDCSR" + "|XFEATURE_MASK_AVX512|XFEATURE_MASK_PT" + "|XFEATURE_MASK_PKRU|XFEATURE_MASK_PASID" + "|XFEATURE_MASK_LBR|XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xfffffffffff97800, "XFEATURE_MASK_???") }, + }; + + for (const struct strval32 *p = xfget_cmds; p < ARRAY_END(xfget_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (u64_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p + 1, sprintrc(rc)); + + for (const struct strval64 *q = xfget_vals; + q < ARRAY_END(xfget_vals); q++) { + *u64_p = q->val; + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { +# ifdef INJECT_RETVAL + printf("%s", q->str); +# else + if (*u64_p) { + printf("%#llx" NRAW(" /* "), + (unsigned long long) *u64_p); +# if !XLAT_RAW + printflags(x86_xfeatures, *u64_p, NULL); +# endif + printf(NRAW(" */") ""); + } else { + printf("0"); + } +# endif + } else { + printf("%p", u64_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* xfeature in arg, xfeature mask in ret */ + static const struct strval32 xfreq_cmds = { + { ARG_XLAT_KNOWN(0x1023, "ARCH_REQ_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1025, "ARCH_REQ_XCOMP_GUEST_PERM") }, + }; + static const struct strval32 xfreq_vals = { + { ARG_XLAT_UNKNOWN(0, "XFEATURE_FP") }, + { ARG_XLAT_UNKNOWN(0x8, "XFEATURE_PT_UNIMPLEMENTED_SO_FAR") }, + { ARG_XLAT_UNKNOWN(0xb, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xc, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xd, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xe, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xf, "XFEATURE_LBR") }, + { ARG_XLAT_UNKNOWN(0x10, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0x11, "XFEATURE_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x12, "XFEATURE_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x13, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xdeadface, "XFEATURE_???") }, + }; + + for (const struct strval32 *p = xfreq_cmds; p < ARRAY_END(xfreq_cmds); + p++) { + for (const struct strval32 *q = xfreq_vals; + q < ARRAY_END(xfreq_vals); q++) { + rc = sys_arch_prctl(p->val, q->val); + errstr = sprintrc(rc); + printf("arch_prctl(%s, %s) = ", p->str, q->str); + if (rc > 0) { + printf("%#lx", rc); +# if !XLAT_RAW + if (rc & x86_xfeatures->flags_mask) { + printf(" ("); + printflags(x86_xfeatures, rc, NULL); + printf(")"); + } +# endif + printf(INJ_STR); + } else { + printf("%s" INJ_STR, errstr); + } + } + } + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR_arch_prctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl +arch_prctl.sh -a27); do not edit. +set -- -a27 +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/arch_prctl.sh
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check arch_prctl syscall decoding. +# +# Copyright (c) 20212-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +check_prog sed +run_prog > /dev/null +run_strace -earch_prctl "$@" $args > "$EXP" +sed '0,/^arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe) *= -1 /d' < "$LOG" > "$OUT" +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/at_fdcwd-pathmax.c
Added
@@ -0,0 +1,106 @@ +/* + * Check corner cases of AT_FDCWD path decoding. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <fcntl.h> +#include <limits.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/types.h> + +/* + * This test is designed to cover cases where AT_FDCWD path decoding + * cannot happen because paths length exceed PATH_MAX. + * It should be executed with -y or a similar option. + */ + +int main(void) +{ + /* + * Make sure the current workdir of the tracee + * is different from the current workdir of the tracer. + */ + create_and_enter_subdir("pathmax_subdir"); + + char *topdir = get_fd_path(get_dir_fd(".")); + + /* + * AT_FDCWD path decoding + */ + char nameNAME_MAX + 1; + memset(name, 'x', sizeof(name) - 1); + namesizeof(name) - 1 = '\0'; + + unsigned int count = 0; + for (size_t len = strlen(topdir); + len <= PATH_MAX; + len += sizeof(name), ++count) { + if (mkdir(name, 0700)) + perror_msg_and_fail("mkdir, count=%u", count); + if (chdir(name)) + perror_msg_and_fail("chdir, count=%u", count); + } + + /* AT_FDCWD is not be printed since path cannot be resolved. */ + + int fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + /* Go back one dir and verify it's printed. */ + + --count; + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(name)) + perror_msg_and_fail("rmdir"); + + char *cwd = get_fd_path(get_dir_fd(".")); + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD<%s>, \"sample\", O_RDONLY) = %s\n", + cwd, sprintrc(fd)); + + /* Create a dir for which exact PATH_MAX size is returned. */ + + char dirNAME_MAX + 1; + memset(dir, 'x', sizeof(dir) - 1); + dirPATH_MAX - (strlen(cwd) + 1) = '\0'; + if (mkdir(dir, 0700)) + perror_msg_and_fail("mkdir"); + if (chdir(dir)) + perror_msg_and_fail("chdir"); + + /* AT_FDCWD is not printed since path cannot be resolved fully. */ + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(dir)) + perror_msg_and_fail("rmdir"); + + for (; count > 0; --count) { + if (chdir("..")) + perror_msg_and_fail("chdir, count=%u", count); + if (rmdir(name)) + perror_msg_and_fail("rmdir, count=%u", count); + } + + leave_and_remove_subdir(); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/at_fdcwd-pathmax.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (at_fdcwd-pathmax -a36 --trace=openat -y -P sample); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 --trace=openat -y -P sample
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/attach-f-p.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/attach-f-p.c
Changed
@@ -38,10 +38,13 @@ thread(void *a) { unsigned int no = (long) a; - int i; + int i, rc; - if (read(pipesno0, &i, sizeof(i)) != (int) sizeof(i)) + while ((rc = read(pipesno0, &i, sizeof(i))) != (int) sizeof(i)) { + if (rc < 0 && errno == EINTR) + continue; perror_msg_and_fail("read%u", no); + } assert(chdir(childno) == -1); retval_t retval = { .pid = syscall(__NR_gettid) }; return retval.ptr; @@ -51,12 +54,11 @@ main(void) { pthread_t tN; - unsigned int i; if (write(1, "", 0) != 0) perror_msg_and_fail("write"); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { if (pipe(pipesi)) perror_msg_and_fail("pipe"); @@ -69,15 +71,16 @@ perror_msg_and_fail("write"); /* wait for the peer to write to stdout */ - struct stat st; for (;;) { + struct stat st; + if (fstat(1, &st)) perror_msg_and_fail("fstat"); if (st.st_size >= 103) break; } - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { /* sleep a bit to let the tracer catch up */ sleep(1); if (write(pipesi1, &i, sizeof(i)) != (int) sizeof(i))
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/bpf-obj_get_info_by_fd.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/bpf-obj_get_info_by_fd.c
Changed
@@ -1,7 +1,7 @@ /* * Check bpf(BPF_OBJ_GET_INFO_BY_FD) decoding. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,6 +19,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <sys/sysmacros.h> @@ -42,6 +43,7 @@ #include "xlat/bpf_op_jmp.h" #include "xlat/bpf_size.h" #include "xlat/bpf_src.h" +#include "xlat/clocknames.h" #include "xlat/ebpf_class.h" #include "xlat/ebpf_mode.h" #include "xlat/ebpf_op_alu.h" @@ -71,16 +73,17 @@ static void print_map_create(void *attr_void, size_t size, long rc) { - /* struct BPF_MAP_CREATE_struct *attr = attr_void; */ + struct BPF_MAP_CREATE_struct *attr = attr_void; printf("bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_ARRAY, key_size=4" - ", value_size=8, max_entries=1"); + ", value_size=%u, max_entries=%u", + attr->value_size, attr->max_entries); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_flags)) printf(", map_flags=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, inner_map_fd)) printf(", inner_map_fd=0</dev/null>"); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_name)) - printf(", map_name=\"test_map\""); + printf(", map_name=\"%s\"", attr->map_name); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_ifindex)) printf(", map_ifindex=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, btf_fd)) { @@ -91,6 +94,10 @@ btf_vmlinux_value_type_id)) { printf(", btf_vmlinux_value_type_id=0"); } + if (size > offsetof(struct BPF_MAP_CREATE_struct, + map_extra)) { + printf(", map_extra=0"); + } printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-map>\n", rc); @@ -125,21 +132,30 @@ .code = BPF_LD | BPF_DW | BPF_IMM, .dst_reg = BPF_REG_1, .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, - .imm = 0, /* to be set to map fd */ + .imm = 0, /* to be set to map fd2 */ }, { /* 5 */ .imm = 0, }, { /* 6 */ + .code = BPF_LD | BPF_DW | BPF_IMM, + .dst_reg = BPF_REG_1, + .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, + .imm = 0, /* to be set to map fd */ + }, + { /* 7 */ + .imm = 0, + }, + { /* 8 */ .code = BPF_JMP | BPF_K | BPF_CALL, .imm = 0x1, /* BPF_FUNC_map_lookup_elem */ }, - { /* 7 */ + { /* 9 */ .code = BPF_ALU64 | BPF_K | BPF_MOV, .dst_reg = BPF_REG_0, .imm = 0, }, - { /* 8 */ + { /* 10 */ .code = BPF_JMP | BPF_K | BPF_EXIT, }, }; @@ -158,6 +174,10 @@ ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" ", {code=BPF_LD|BPF_W|BPF_IMM" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" + ", {code=BPF_LD|BPF_DW|BPF_IMM" + ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" + ", {code=BPF_LD|BPF_W|BPF_IMM" + ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" ", {code=BPF_JMP|BPF_K|BPF_CALL" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0x1}" ", {code=BPF_ALU64|BPF_K|BPF_MOV" @@ -176,7 +196,7 @@ printf("bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_SOCKET_FILTER" ", insn_cnt=%zu, insns=", ARRAY_SIZE(socket_prog)); # if VERBOSE - printf(socket_prog_fmt, socket_prog4.imm); + printf(socket_prog_fmt, socket_prog4.imm, socket_prog6.imm); # else printf("%p", socket_prog); # endif @@ -213,6 +233,8 @@ printf(", attach_btf_id=0"); if (size > offsetof(struct BPF_PROG_LOAD_struct, attach_prog_fd)) printf(", attach_prog_fd=0</dev/null>"); + if (size > offsetof(struct BPF_PROG_LOAD_struct, fd_array)) + printf(", fd_array=NULL"); printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-prog>\n", rc); @@ -259,6 +281,8 @@ lock_file_by_dirname(av0, "bpf-obj_get_info_by_fd"); sleep(1); + int ret; + struct BPF_MAP_CREATE_struct bpf_map_create_attr = { .map_type = BPF_MAP_TYPE_ARRAY, .key_size = 4, @@ -266,6 +290,13 @@ .max_entries = 1, .map_name = "test_map", }; + struct BPF_MAP_CREATE_struct bpf_map_create_attr2 = { + .map_type = BPF_MAP_TYPE_ARRAY, + .key_size = 4, + .value_size = 1, + .max_entries = 5, + .map_name = "test_map_too", + }; size_t bpf_map_create_attr_sizes = { sizeof(bpf_map_create_attr), offsetofend(struct BPF_MAP_CREATE_struct, max_entries), @@ -300,10 +331,15 @@ int map_fd = try_bpf(BPF_MAP_CREATE, print_map_create, &bpf_map_create_attr, &bpf_map_create_attr_size); if (map_fd < 0) - perror_msg_and_skip("BPF_MAP_CREATE failed"); + perror_msg_and_skip("First BPF_MAP_CREATE failed"); + int map_fd2 = try_bpf(BPF_MAP_CREATE, print_map_create, + &bpf_map_create_attr2, &bpf_map_create_attr_size); + if (map_fd2 < 0) + perror_msg_and_skip("Second BPF_MAP_CREATE failed"); #if CHECK_OBJ_PROG - socket_prog4.imm = map_fd; + socket_prog4.imm = map_fd2; + socket_prog6.imm = map_fd; size_t *bpf_prog_load_attr_size = bpf_prog_load_attr_sizes; int prog_fd = try_bpf(BPF_PROG_LOAD, print_prog_load, @@ -318,79 +354,97 @@ * initializer element is not constant. */ #define MAP_INFO_SZ (sizeof(*map_info) + 64) - struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ); - struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { - .bpf_fd = map_fd, - .info_len = MAP_INFO_SZ, - .info = (uintptr_t) map_info, + struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ + + sizeof(*map_info)); + struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { + { + .bpf_fd = map_fd, + .info_len = sizeof(*map_info), + .info = (uintptr_t) map_info, + }, + { + .bpf_fd = map_fd2, + .info_len = MAP_INFO_SZ, + .info = (uintptr_t) (map_info + 1), + }, }; - memset(map_info, 0, MAP_INFO_SZ); - int ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_map_get_info_attr, - sizeof(bpf_map_get_info_attr)); - if (ret < 0) - perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); + for (size_t i = 0; i < 2; i++) { + memset(map_info + i, 0, MAP_INFO_SZ); + ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, + &bpf_map_get_info_attri, + sizeof(bpf_map_get_info_attri)); + if (ret < 0) + perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); - printf("bpf(BPF_OBJ_GET_INFO_BY_FD" - ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", - map_fd, MAP_INFO_SZ); - if (bpf_map_get_info_attr.info_len != MAP_INFO_SZ) - printf(" => %u", bpf_map_get_info_attr.info_len); + printf("bpf(BPF_OBJ_GET_INFO_BY_FD" + ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", + i ? map_fd2 : map_fd, + i ? MAP_INFO_SZ : sizeof(*map_info)); + if (bpf_map_get_info_attri.info_len != + (i ? MAP_INFO_SZ : sizeof(*map_info))) + printf(" => %u", bpf_map_get_info_attri.info_len); - printf(", info="); + printf(", info="); #if VERBOSE - printf("{type="); - printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); - printf(", "); - PRINT_FIELD_U(*map_info, id); - printf(", "); - PRINT_FIELD_U(*map_info, key_size); - printf(", "); - PRINT_FIELD_U(*map_info, value_size); - printf(", "); - PRINT_FIELD_U(*map_info, max_entries); - printf(", map_flags="); - printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); - - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, name)) { - printf(", name="); - print_quoted_cstring(map_info->name, sizeof(map_info->name)); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, ifindex)) - printf(", ifindex=%u", map_info->ifindex); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_vmlinux_value_type_id)) - printf(", btf_vmlinux_value_type_id=%u", - map_info->btf_vmlinux_value_type_id); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_dev)) - printf(", netns_dev=makedev(%#x, %#x)", - major(map_info->netns_dev), minor(map_info->netns_dev)); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_ino)) - printf(", netns_ino=%" PRIu64, map_info->netns_ino); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_id)) { + printf("{type="); + printxval(bpf_map_types, map_infoi.type, "BPF_MAP_TYPE_???"); printf(", "); - PRINT_FIELD_U(*map_info, btf_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + PRINT_FIELD_U(map_infoi, id); printf(", "); - PRINT_FIELD_U(*map_info, btf_key_type_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + PRINT_FIELD_U(map_infoi, key_size); printf(", "); - PRINT_FIELD_U(*map_info, btf_value_type_id); - } - printf("}"); + PRINT_FIELD_U(map_infoi, value_size); + printf(", "); + PRINT_FIELD_U(map_infoi, max_entries); + printf(", map_flags="); + printflags(bpf_map_flags, map_infoi.map_flags, "BPF_F_???"); + + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, name)) { + printf(", name="); + print_quoted_cstring(map_infoi.name, + sizeof(map_infoi.name)); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, ifindex)) + printf(", ifindex=%u", map_infoi.ifindex); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, + btf_vmlinux_value_type_id)) { + printf(", btf_vmlinux_value_type_id=%u", + map_infoi.btf_vmlinux_value_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_dev)) + printf(", netns_dev=makedev(%#x, %#x)", + major(map_infoi.netns_dev), + minor(map_infoi.netns_dev)); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_ino)) + printf(", netns_ino=%" PRIu64, map_infoi.netns_ino); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_key_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_value_type_id); + } + printf("}"); #else /* !VERBOSE */ - printf("%p", map_info); + printf("%p", map_info + i); #endif /* VERBOSE */ - printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attr), errstr); + printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attri), + errstr); + } #if CHECK_OBJ_PROG /* @@ -400,7 +454,7 @@ # define PROG_INFO_SZ (sizeof(*prog_info) + 64) struct bpf_prog_info_struct *prog_info = tail_alloc(PROG_INFO_SZ); struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); - uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); + uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 3); struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_prog_get_info_attr = { .bpf_fd = prog_fd, .info_len = PROG_INFO_SZ, @@ -409,7 +463,7 @@ size_t old_prog_info_len = PROG_INFO_SZ; memset(prog_info, 0, PROG_INFO_SZ); - for (unsigned int i = 0; i < 4; i++) { + for (unsigned int i = 0; i < 5; i++) { prog_info->jited_prog_len = 0; prog_info->nr_jited_ksyms = 0; prog_info->nr_jited_func_lens = 0; @@ -427,8 +481,8 @@ prog_info->xlated_prog_insns = (uintptr_t) (xlated_prog + 42); prog_info->xlated_prog_len = 336; - prog_info->map_ids = (uintptr_t) (map_ids + 2); - prog_info->nr_map_ids = 2; + prog_info->map_ids = (uintptr_t) (map_ids + 3); + prog_info->nr_map_ids = 3; break; case 2: prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; @@ -441,13 +495,18 @@ prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; prog_info->xlated_prog_len = 0; prog_info->map_ids = (uintptr_t) map_ids; - prog_info->nr_map_ids = 2; + prog_info->nr_map_ids = 3; break; + case 4: + prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; + prog_info->xlated_prog_len = 1; + prog_info->map_ids = (uintptr_t) (map_ids + 1); + prog_info->nr_map_ids = 1; } ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_prog_get_info_attr, sizeof(bpf_prog_get_info_attr)); - if (i != 1 && ret < 0) + if (i != 1 && i != 4 && ret < 0) perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD" " prog %u failed", i); @@ -493,11 +552,44 @@ printf(" => %u", prog_info->xlated_prog_len); printf(", xlated_prog_insns="); break; + case 4: + printf(", xlated_prog_len=1"); + if (prog_info->xlated_prog_len != 1) + printf(" => %u", prog_info->xlated_prog_len); + printf(", xlated_prog_insns="); + break; } if (bpf_prog_get_info_attr.info_len > - offsetof(struct bpf_prog_info_struct, load_time)) + offsetof(struct bpf_prog_info_struct, load_time)) { + enum { S_NS = 1000000000 }; + printf(", load_time=%" PRIu64, prog_info->load_time); + + /* + * NB: this is janky, as strace can get somewhat + * different results. + */ + struct timespec boot; + struct timespec rtc; + + if (!clock_gettime(CLOCK_BOOTTIME, &boot) && + !clock_gettime(CLOCK_REALTIME, &rtc)) { + rtc.tv_nsec = rtc.tv_nsec - boot.tv_nsec; + rtc.tv_sec = rtc.tv_sec - boot.tv_sec + - !!(rtc.tv_nsec < 0); + if (rtc.tv_nsec < 0) + rtc.tv_nsec += S_NS; + + boot.tv_nsec = rtc.tv_nsec + + prog_info->load_time % S_NS; + boot.tv_sec = rtc.tv_sec + + prog_info->load_time / S_NS + + boot.tv_nsec / S_NS; + + print_time_t_nsec(boot.tv_sec, 0, true); + } + } if (bpf_prog_get_info_attr.info_len > offsetof(struct bpf_prog_info_struct, created_by_uid)) printf(", created_by_uid=%u", @@ -509,24 +601,31 @@ case 0: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids=NULL"); break; case 1: - printf(", nr_map_ids=2, map_ids=%p", - map_ids + 2); + printf(", nr_map_ids=3, map_ids=%p", + map_ids + 3); break; case 2: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids="); break; case 3: - printf(", nr_map_ids=2"); - if (prog_info->nr_map_ids != 2) - printf(" => 1"); - printf(", map_ids=%u", map_info->id); + printf(", nr_map_ids=3"); + if (prog_info->nr_map_ids != 3) + printf(" => 2"); + printf(", map_ids=%u, %u", + map_info1.id, map_info0.id); + break; + case 4: + printf(", nr_map_ids=1"); + if (prog_info->nr_map_ids != 1) + printf(" => 2"); + printf(", map_ids=%u", map_info1.id); break; } } @@ -635,6 +734,13 @@ offsetof(struct bpf_prog_info_struct, run_cnt)) printf(", run_cnt=%llu", (unsigned long long) prog_info->run_cnt); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, recursion_misses)) + printf(", recursion_misses=%llu", + (unsigned long long) prog_info->recursion_misses); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, verified_insns)) + printf(", verified_insns=%u", prog_info->verified_insns); printf("}"); # else /* !VERBOSE */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/bpf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/bpf.c
Changed
@@ -2,7 +2,7 @@ * Check bpf syscall decoding. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,15 +26,17 @@ #include "print_fields.h" #include "xlat.h" +#include "xlat/bpf_attach_type.h" #include "xlat/bpf_commands.h" #include "xlat/bpf_map_types.h" #include "xlat/bpf_prog_types.h" +#include "xlat/bpf_test_run_flags.h" #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR(addr64_, addr32_) addr64_ # define BIG_ADDR_MAYBE(addr_) #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR(addr64_, addr32_) addr64_ " or " addr32_ # define BIG_ADDR_MAYBE(addr_) addr_ " or " @@ -85,16 +87,18 @@ BPF_ATTR_DATA_FIELD(BPF_MAP_DELETE_BATCH); BPF_ATTR_DATA_FIELD(BPF_LINK_CREATE); BPF_ATTR_DATA_FIELD(BPF_LINK_UPDATE); + BPF_ATTR_DATA_FIELD(BPF_LINK_GET_FD_BY_ID); char char_data256; }; struct bpf_attr_check { union bpf_attr_data data; size_t size; + size_t iters; const char *str; - void (*init_fn)(struct bpf_attr_check *check); + void (*init_fn)(struct bpf_attr_check *check, size_t idx); void (*print_fn)(const struct bpf_attr_check *check, - unsigned long addr); + unsigned long addr, size_t idx); }; struct bpf_check { @@ -106,7 +110,7 @@ static const kernel_ulong_t long_bits = (kernel_ulong_t) 0xfacefeed00000000ULL; static const char *errstr; -static unsigned int sizeof_attr = sizeof(union bpf_attr_data); +static const unsigned int sizeof_attr = sizeof(union bpf_attr_data); static unsigned int page_size; static unsigned long end_of_page; @@ -143,10 +147,11 @@ #endif static void -print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr) +print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr, + size_t idx) { if (check->print_fn) - check->print_fn(check, addr); + check->print_fn(check, addr, idx); else printf("%s", check->str); } @@ -157,6 +162,7 @@ const struct bpf_attr_check *check = 0; const union bpf_attr_data *data = 0; unsigned int offset = 0; + size_t j = 0; /* zero addr */ sys_bpf(cmd_check->cmd, 0, long_bits | sizeof(union bpf_attr_data)); @@ -171,26 +177,30 @@ for (size_t i = 0; i < cmd_check->count; i++) { check = &cmd_check->checksi; - if (check->init_fn) - check->init_fn((struct bpf_attr_check *) check); - data = &check->data; - offset = check->size; - - addr = end_of_page - offset; - memcpy((void *) addr, data, offset); - - /* starting piece of bpf_attr_data */ - sys_bpf(cmd_check->cmd, addr, offset); - printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); - printf("}, %u) = %s\n", offset, errstr); - - /* short read of the starting piece */ - sys_bpf(cmd_check->cmd, addr + 1, offset); - printf("bpf(%s, %#lx, %u) = %s\n", - cmd_check->cmd_str, addr + 1, offset, errstr); + for (j = 0; j < MAX(check->iters, 1); j++) { + if (check->init_fn) + check->init_fn((struct bpf_attr_check *) check, j); + data = &check->data; + offset = check->size; + + addr = end_of_page - offset; + memcpy((void *) addr, data, offset); + + /* starting piece of bpf_attr_data */ + sys_bpf(cmd_check->cmd, addr, offset); + printf("bpf(%s, {", cmd_check->cmd_str); + print_bpf_attr(check, addr, j); + printf("}, %u) = %s\n", offset, errstr); + + /* short read of the starting piece */ + sys_bpf(cmd_check->cmd, addr + 1, offset); + printf("bpf(%s, %#lx, %u) = %s\n", + cmd_check->cmd_str, addr + 1, offset, errstr); + } } + j = MAX(check->iters, 1) - 1; + if (offset < sizeof_attr) { /* short read of the whole bpf_attr_data */ memcpy((void *) end_of_page - sizeof_attr + 1, data, offset); @@ -206,7 +216,7 @@ memset((void *) addr + offset, 0, sizeof_attr - offset); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", sizeof_attr, errstr); /* non-zero bytes after the relevant part */ @@ -214,7 +224,7 @@ sizeof_attr - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, sizeof_attr - offset); @@ -235,7 +245,7 @@ memset((void *) addr + offset, 0, page_size - offset); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", page_size, errstr); /* non-zero bytes after the whole bpf_attr_data */ @@ -243,7 +253,7 @@ page_size - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, page_size - offset); @@ -256,13 +266,13 @@ } static void -init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check) +init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check, size_t idx) { struct BPF_MAP_CREATE_struct *attr = &check->data.BPF_MAP_CREATE_data; attr->map_ifindex = ifindex_lo(); } -static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 30, +static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 32, "The map_type for tests 1 and 2 below needs to be updated"); static struct bpf_attr_check BPF_MAP_CREATE_checks = { { @@ -273,7 +283,7 @@ }, { /* 1 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 29, + .map_type = 31, .key_size = 4, .value_size = 8, .max_entries = 256, @@ -283,7 +293,7 @@ .map_name = "0123456789abcde", } }, .size = offsetof(struct BPF_MAP_CREATE_struct, map_name) + 8, - .str = "map_type=BPF_MAP_TYPE_TASK_STORAGE, key_size=4" + .str = "map_type=BPF_MAP_TYPE_USER_RINGBUF, key_size=4" ", value_size=8, max_entries=256" ", map_flags=BPF_F_NO_PREALLOC|BPF_F_NO_COMMON_LRU" "|BPF_F_NUMA_NODE|BPF_F_RDONLY|BPF_F_WRONLY" @@ -295,7 +305,7 @@ }, { /* 2 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 30, + .map_type = 32, .key_size = 0xface1e55, .value_size = 0xbadc0ded, .max_entries = 0xbeefcafe, @@ -306,7 +316,7 @@ .map_ifindex = 3141592653, } }, .size = offsetofend(struct BPF_MAP_CREATE_struct, map_ifindex), - .str = "map_type=0x1e /* BPF_MAP_TYPE_??? */" + .str = "map_type=0x20 /* BPF_MAP_TYPE_??? */" ", key_size=4207812181, value_size=3134983661" ", max_entries=3203386110" ", map_flags=0xffffe000 /* BPF_F_??? */" @@ -469,6 +479,26 @@ ", btf_value_type_id=3405705229" ", btf_vmlinux_value_type_id=3735929054" }, + { /* 10 */ + .data = { .BPF_MAP_CREATE_data = { + .map_type = BPF_MAP_TYPE_BLOOM_FILTER, + .map_extra = 4 + } }, + .size = offsetofend(struct BPF_MAP_CREATE_struct, map_extra), + .str = "map_type=BPF_MAP_TYPE_BLOOM_FILTER" + ", key_size=0" + ", value_size=0" + ", max_entries=0" + ", map_flags=0" + ", inner_map_fd=0" FD0_PATH + ", map_name=\"\"" + ", map_ifindex=0" + ", btf_fd=0" FD0_PATH + ", btf_key_type_id=0" + ", btf_value_type_id=0" + ", btf_vmlinux_value_type_id=0" + ", map_extra=4" + }, }; static const struct bpf_attr_check BPF_MAP_LOOKUP_ELEM_checks = { @@ -571,7 +601,7 @@ */ #define log_buf_size 4096U -static inline char * +static char * get_log_buf(void) { if (!log_buf) @@ -579,7 +609,7 @@ return log_buf; } -static inline char * +static char * get_log_buf_tail(void) { return get_log_buf() + log_buf_size; @@ -596,7 +626,7 @@ #endif static void -init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -606,7 +636,8 @@ } static void -print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_SOCKET_FILTER, insn_cnt=%u" ", insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828" @@ -619,7 +650,7 @@ } static void -init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -632,7 +663,8 @@ } static void -print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=%u, insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828, log_size=4" @@ -766,9 +798,9 @@ .line_info_cnt = 0xdad7bef8, .attach_btf_id = 0xdad7befa, .attach_prog_fd = 0xbadc0def, + .fd_array = 0xfaceb00c, } }, - .size = offsetofend(struct BPF_PROG_LOAD_struct, - attach_prog_fd), + .size = offsetofend(struct BPF_PROG_LOAD_struct, fd_array), .str = "prog_type=BPF_PROG_TYPE_UNSPEC" ", insn_cnt=0" ", insns=NULL" @@ -790,11 +822,12 @@ ", line_info_cnt=3671572216" ", attach_btf_id=3671572218" ", attach_prog_fd=-1159983633" + ", fd_array=0xfaceb00c" }, }; static void -init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check) +init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check, size_t idx) { struct BPF_OBJ_PIN_struct *attr = &check->data.BPF_OBJ_PIN_data; attr->pathname = (uintptr_t) pathname; @@ -923,12 +956,38 @@ .data_out = (uint64_t) 0xfacef33dbadc4dedULL, .repeat = 0xfac7fed8, .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0xfacdfede, + .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_in), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=4207804126" + ", ctx_in=0xfacef55dbadc6ded, ctx_out=NULL}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, .ctx_size_in = 0xfacbfedc, .ctx_size_out = 0xfacdfede, .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, - .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL + .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL, + .flags = BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES, + .cpu = 0, } }, - .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_out), + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, cpu), .str = "test={prog_fd=-1, retval=4207017682" ", data_size_in=4207148756, data_size_out=4207279830" ", data_in=0xfacef11dbadc2ded" @@ -938,8 +997,40 @@ ", ctx_size_in=4207673052" ", ctx_size_out=4207804126" ", ctx_in=0xfacef55dbadc6ded" - ", ctx_out=0xfacef77dbadc8ded}" - } + ", ctx_out=0xfacef77dbadc8ded" + ", flags=BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES" + ", cpu=0}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0, + .ctx_in = 0, + .ctx_out = 0, + .flags = 0xfffffffc, + .cpu = 3141592653, + .batch_size = 2718281828, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, batch_size), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=0" + ", ctx_in=NULL, ctx_out=NULL" + ", flags=0xfffffffc /* BPF_F_??? */" + ", cpu=3141592653, batch_size=2718281828}" + }, }; static const struct bpf_attr_check BPF_PROG_GET_NEXT_ID_checks = { @@ -955,13 +1046,8 @@ .start_id = 0xdeadbeef } }, .size = 1, - .str = "start_id=" -#ifdef WORDS_BIGENDIAN - "3724541952" /* 0xde000000 */ -#else - "239" /* 0x000000ef */ -#endif - ", next_id=0" + /* 0xde000000 0x000000ef */ + .str = "start_id=" BE_LE("3724541952", "239") ", next_id=0" }, { .data = { .BPF_PROG_GET_NEXT_ID_data = { @@ -985,6 +1071,7 @@ #define BPF_MAP_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks #define BPF_BTF_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks +#define BPF_LINK_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks static const struct bpf_attr_check BPF_PROG_GET_FD_BY_ID_checks = { { @@ -1065,7 +1152,7 @@ uint32_t *prog_load_ids_ptr; static void -init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1078,7 +1165,8 @@ } static void -print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1093,7 +1181,7 @@ } static void -init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1106,7 +1194,8 @@ } static void -print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1133,13 +1222,13 @@ { /* 1 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 40, + .attach_type = 43, .query_flags = 1, .attach_flags = 3, } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, attach_flags), .str = "query={target_fd=-1153374643" - ", attach_type=BPF_SK_REUSEPORT_SELECT_OR_MIGRATE" + ", attach_type=BPF_LSM_CGROUP" ", query_flags=BPF_F_QUERY_EFFECTIVE" ", attach_flags=BPF_F_ALLOW_OVERRIDE|BPF_F_ALLOW_MULTI" ", prog_ids=NULL, prog_cnt=0}", @@ -1147,7 +1236,7 @@ { /* 2 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 41, + .attach_type = 44, .query_flags = 0xfffffffe, .attach_flags = 0xfffffff8, .prog_ids = 0xffffffffffffffffULL, @@ -1155,7 +1244,7 @@ } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, prog_cnt), .str = "query={target_fd=-1153374643" - ", attach_type=0x29 /* BPF_??? */" + ", attach_type=0x2c /* BPF_??? */" ", query_flags=0xfffffffe /* BPF_F_QUERY_??? */" ", attach_flags=0xfffffff8 /* BPF_F_??? */" ", prog_ids=" @@ -1205,7 +1294,7 @@ static void -init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check) +init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check, size_t idx) { /* TODO: test the 128 byte limit */ static const char tp_name = "0123456789qwertyuiop0123456789qwe"; @@ -1248,7 +1337,7 @@ }; static void -init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check) +init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check, size_t idx) { static const char sample_btf_data = "bPf\0daTum"; @@ -1396,24 +1485,314 @@ } }; -static const struct bpf_attr_check BPF_LINK_CREATE_checks = { - { - .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = -2 } }, - .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-2" +static void +init_BPF_LINK_CREATE_attr1(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + attr->attach_type = idx; +} + +static void +print_BPF_LINK_CREATE_attr1(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0x4}", + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +/* Keep sorted */ +static const uint8_t special_attach_types = + { 0, BPF_TRACE_ITER, BPF_PERF_EVENT, BPF_TRACE_KPROBE_MULTI }; + +static void +init_BPF_LINK_CREATE_attr2(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + attr->attach_type = idx; + + check->data.char_data19 = ' '; + check->data.char_data23 = 'O'; + check->data.char_data27 = 'H'; + check->data.char_data31 = ' '; + check->data.char_data35 = 'H'; + check->data.char_data39 = 'A'; + check->data.char_data43 = 'I'; + check->data.char_data47 = '!'; +} + +static void +print_BPF_LINK_CREATE_attr2(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0xbadc0ded}, " +#if VERBOSE + "extra_data=\"\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x4f" + "\\x00\\x00\\x00\\x48\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x48" + "\\x00\\x00\\x00\\x41\\x00\\x00\\x00\\x49\\x00\\x00\\x00\\x21\"" + " /* bytes 16..47 */" +#else + "..." +#endif + , + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +static const int iter_info_data = { 0, 42, 314159265, 0xbadc0ded, -1 }; +static int *iter_info_data_p; + +static void +init_BPF_LINK_CREATE_attr7(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + close(iter_info_data1); + + if (!iter_info_data_p) { + iter_info_data_p = tail_memdup(iter_info_data, + sizeof(iter_info_data)); + } + + attr->iter_info = (uintptr_t) iter_info_data_p; + attr->iter_info_len = ARRAY_SIZE(iter_info_data) + idx; +} + +static void +print_BPF_LINK_CREATE_attr7(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info={map={map_fd=0" FD0_PATH "}}, {map={map_fd=42}}" + ", {map={map_fd=314159265}}, {map={map_fd=-1159983635}}" + ", {map={map_fd=-1}}"); + if (idx) { + printf(", ... /* %p */", + iter_info_data_p + ARRAY_SIZE(iter_info_data)); + } + printf(", iter_info_len=%zu}", ARRAY_SIZE(iter_info_data) + idx); + +} + +static const char *syms_data = { "foo", NULL, "OH\0HAI", + "abcdefghijklmnopqrstuvwxyz0123456789" }; +static char **syms_data_p; +static const uint64_t addrs_data = { 0, 1, 0xbadc0ded, + 0xfacefeeddeadc0deULL }; +static uint64_t *addrs_data_p; + +static_assert(ARRAY_SIZE(syms_data) == ARRAY_SIZE(addrs_data), + "syms_data and addrs_data have to have the same element count"); + +static void +init_BPF_LINK_CREATE_attr12(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + if (!syms_data_p) + syms_data_p = tail_memdup(syms_data, sizeof(syms_data)); + if (!addrs_data_p) + addrs_data_p = tail_memdup(addrs_data, sizeof(addrs_data)); + + attr->kprobe_multi.cnt = ARRAY_SIZE(syms_data) + idx; + attr->kprobe_multi.syms = (uintptr_t) syms_data_p; + attr->kprobe_multi.addrs = (uintptr_t) addrs_data_p; + attr->kprobe_multi.cookies = (uintptr_t) addrs_data_p; +} + +static void +print_BPF_LINK_CREATE_attr12(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=BPF_F_KPROBE_MULTI_RETURN|0xfacebeee" + ", cnt=%zu", ARRAY_SIZE(syms_data) + idx); + printf(", syms=\"foo\", NULL, \"OH\"" + ", \"abcdefghijklmnopqrstuvwxyz012345\"..."); + if (idx) + printf(", ... /* %p */", syms_data_p + ARRAY_SIZE(syms_data)); + for (size_t i = 0; i < 2; i++) { + printf(", %s=0, 0x1, 0xbadc0ded, 0xfacefeeddeadc0de", + i ? "cookies" : "addrs"); + if (idx) { + printf(", ... /* %p */", + addrs_data_p + ARRAY_SIZE(addrs_data)); + } + } + printf("}}"); +} + +static struct bpf_attr_check BPF_LINK_CREATE_checks = { + { /* 0 */ + .data = { .BPF_LINK_CREATE_data = { .prog_fd = 0, .target_fd = 0 } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, target_fd), + .str = "link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" }, - { + { /* 1 */ .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = 0xdeadbeef, - .attach_type = 5, .flags = 4 } }, .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-559038737" - ", attach_type=BPF_SK_SKB_STREAM_VERDICT, flags=0x4}" - } + .iters = ARRAY_SIZE(bpf_attach_type_xdata), + .init_fn = init_BPF_LINK_CREATE_attr1, + .print_fn = print_BPF_LINK_CREATE_attr1, + }, + { /* 2 - all non-special attach_types */ + .data = { .BPF_LINK_CREATE_data = { + .prog_fd = -1, + .target_fd = 0xdeadbeef, + .attach_type = 5, + .flags = 0xbadc0ded + } }, + .size = 48, + .iters = ARRAY_SIZE(bpf_attach_type_xdata) + - ARRAY_SIZE(special_attach_types), + .init_fn = init_BPF_LINK_CREATE_attr2, + .print_fn = print_BPF_LINK_CREATE_attr2, + }, + + { /* 3 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" + }, + { /* 4 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + .target_btf_id = 0xfacefeed, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0" + ", target_btf_id=4207869677}" + }, + + { /* 5 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=NULL, iter_info_len=0}" + }, + { /* 6 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + .iter_info = 0xffffffff00000000, + .iter_info_len = 0xdeadface, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=" BIG_ADDR("0xffffffff00000000", "NULL") + ", iter_info_len=3735943886}" + }, + { /* 7 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr7, + .print_fn = print_BPF_LINK_CREATE_attr7, + }, + + { /* 8 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0}}" + }, + { /* 9 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + .perf_event = { .bpf_cookie = 0xdeadc0defacecafeULL }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0xdeadc0defacecafe}}" + }, + + { /* 10 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0, cnt=0, syms=NULL, addrs=NULL" + ", cookies=NULL}}" + }, + { /* 11 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xdeadc0de, + .cnt = 0xbadfaced, + .syms = 0xffffffff00000000, + .addrs = 0xffffffff00000000, + .cookies = 0xffffffff00000000, + }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0xdeadc0de /* BPF_F_??? */" + ", cnt=3135220973" + ", syms=" BIG_ADDR("0xffffffff00000000", "NULL") + ", addrs=" BIG_ADDR("0xffffffff00000000", "NULL") + ", cookies=" BIG_ADDR("0xffffffff00000000", "NULL") "}}" + }, + /* + * Note that here we rely on the fact that this attach_type has the + * largest de-facto attr_size to get the additional checks performed + * with the last check passed. + */ + { /* 12 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xfacebeef, + } + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr12, + .print_fn = print_BPF_LINK_CREATE_attr12, + }, }; static const struct bpf_attr_check BPF_LINK_UPDATE_checks = { @@ -1438,6 +1817,14 @@ } }; +static const struct bpf_attr_check BPF_LINK_GET_FD_BY_ID_checks = { + { + .data = { .BPF_LINK_GET_FD_BY_ID_data = { .link_id = 0xdeadbeef } }, + .size = offsetofend(struct BPF_LINK_GET_FD_BY_ID_struct, link_id), + .str = "link_id=3735928559" + } +}; + #define CHK(cmd_) \ { \ @@ -1479,6 +1866,8 @@ CHK(BPF_MAP_DELETE_BATCH), CHK(BPF_LINK_CREATE), CHK(BPF_LINK_UPDATE), + CHK(BPF_LINK_GET_NEXT_ID), + CHK(BPF_LINK_GET_FD_BY_ID), }; page_size = get_page_size();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/btrfs.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/btrfs.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,6 +22,7 @@ #include <sys/vfs.h> #include <linux/fs.h> #include <linux/btrfs_tree.h> +#include "print_utils.h" #include "xlat.h" #define XLAT_MACROS_ONLY @@ -33,6 +34,7 @@ #include "xlat/btrfs_balance_state.h" #include "xlat/btrfs_compress_types.h" #include "xlat/btrfs_cont_reading_from_srcdev_mode.h" +#include "xlat/btrfs_csum_types.h" #include "xlat/btrfs_defrag_flags.h" #include "xlat/btrfs_dev_stats_values.h" #include "xlat/btrfs_dev_stats_flags.h" @@ -46,6 +48,7 @@ #include "xlat/btrfs_features_compat.h" #include "xlat/btrfs_features_compat_ro.h" #include "xlat/btrfs_features_incompat.h" +#include "xlat/btrfs_fs_info_flags.h" #include "xlat/btrfs_key_types.h" #include <linux/fiemap.h> @@ -150,15 +153,47 @@ } } +static void +print_hex(uint8_t byte) +{ + printf("%c%c", BYTE_HEX_CHARS(byte)); +} + +static void +print_uuid(const char * const prefix, const uint8_t * const uuid) +{ + size_t i = 0; + + printf("%s", prefix); + + for (; i < 4; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 6; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 8; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 10; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 16; i++) + print_hex(uuidi); +} + /* takes highest valid flag bit */ static uint64_t max_flags_plus_one(int bit) { - int i; uint64_t val = 0; if (bit == -1) return 1; - for (i = 0; i <= bit + 1 && i < 64; i++) + for (int i = 0; i <= bit + 1 && i < 64; ++i) val |= (1ULL << i); return val; } @@ -228,9 +263,8 @@ inherit->lim.max_rfer, inherit->lim.max_excl, inherit->lim.rsv_rfer, inherit->lim.rsv_excl); if (verbose) { - unsigned int i; printf("qgroups="); - for (i = 0; i < inherit->num_qgroups; i++) { + for (unsigned int i = 0; i < inherit->num_qgroups; ++i) { if (i > 0) printf(", "); printf("%" PRI__u64, inherit->qgroupsi); @@ -370,7 +404,6 @@ printf(") = -1 EBADF (%m)\n"); const unsigned int n_qgroups = 8; - unsigned int i; struct btrfs_qgroup_inherit *inherit; vol_args_v2.size = sizeof(*inherit) + n_qgroups * sizeof(inherit->qgroups0); @@ -380,7 +413,7 @@ inherit->num_ref_copies = 0; inherit->num_excl_copies = 0; inherit->num_qgroups = n_qgroups; - for (i = 0; i < n_qgroups; i++) + for (unsigned int i = 0; i < n_qgroups; ++i) inherit->qgroupsi = 1ULL << i; inherit->lim.flags = 0x7f; inherit->lim.max_rfer = u64val; @@ -416,16 +449,11 @@ if (write_ok) { struct btrfs_ioctl_vol_args_v2 args_passed; long ret; - /* - * Returns transid if flags & BTRFS_SUBVOL_CREATE_ASYNC - * - BTRFS_IOC_SNAP_CREATE_V2 - * - BTRFS_IOC_SUBVOL_CREATE_V2 - */ int subvolfd; strncpy(vol_args_v2.name, subvol_name, sizeof(vol_args_v2.name)); - vol_args_v2.flags = BTRFS_SUBVOL_CREATE_ASYNC; + vol_args_v2.flags = 0; vol_args_v2.size = 0; vol_args_v2.qgroup_inherit = NULL; args_passed = vol_args_v2; @@ -844,10 +872,9 @@ void *buf, uint64_t buf_size) { if (verbose) { - uint64_t i; uint64_t off = 0; printf("buf="); - for (i = 0; i < key->nr_items; i++) { + for (uint64_t i = 0; i < key->nr_items; ++i) { struct btrfs_ioctl_search_header *sh; sh = (typeof(sh))(buf + off); if (i) @@ -1100,9 +1127,8 @@ printf(" => {total_spaces=%" PRI__u64 ", ", argsp->total_spaces); if (verbose) { - unsigned int i; printf("spaces="); - for (i = 0; i < argsp->total_spaces; i++) { + for (unsigned int i = 0; i < argsp->total_spaces; ++i) { struct btrfs_ioctl_space_info *info; info = &argsp->spacesi; if (i) @@ -1330,8 +1356,8 @@ fiemap->fm_mapped_extents); if (verbose) { printf("fm_extents="); - unsigned int i; - for (i = 0; i < fiemap->fm_mapped_extents; i++) { + for (unsigned int i = 0; + i < fiemap->fm_mapped_extents; ++i) { struct fiemap_extent *fe; fe = &fiemap->fm_extentsi; if (i) @@ -1339,7 +1365,7 @@ printf("{fe_logical=%" PRI__u64 ", fe_physical=%" PRI__u64 ", fe_length=%" PRI__u64 - ", ", + ", fe_flags=", fe->fe_logical, fe->fe_physical, fe->fe_length); prfl_btrfs(fiemap_extent_flags, fe->fe_flags, @@ -1628,7 +1654,6 @@ printf("}) = -1 EBADF (%m)\n"); if (write_ok) { - unsigned int i; args.flags = BTRFS_DEV_STATS_RESET; printf("ioctl(%d, %s, {devid=%s" ", nr_items=%" PRI__u64 ", flags=", @@ -1642,18 +1667,18 @@ prfl_btrfs(btrfs_dev_stats_flags, args.flags, "BTRFS_DEV_STATS_???"); printf(", "); - for (i = 0; i < args.nr_items; i++) { + for (unsigned int i = 0; i < args.nr_items; ++i) { const char *name = xlookup(btrfs_dev_stats_values, i); if (i) printf(", "); if (name) { if (verbose_xlat) - printf("%u /* %s */ = ", i, name); + printf("%u /* %s */=", i, name); else - printf("%s = ", name); + printf("%s=", name); } else { - printf("%u = ", i); + printf("%u=", i); } printf("%" PRI__u64, args.valuesi); @@ -1955,8 +1980,7 @@ XLAT(BTRFS_IOC_SUBVOL_GETFLAGS), }; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { ioctl(-1, (unsigned long) btrfs_read_cmdi.val, 0); printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", sprint_xlat_(btrfs_read_cmdi.val, @@ -1965,6 +1989,81 @@ } static void +btrfs_print_fs_info_args(const struct btrfs_ioctl_fs_info_args * const args) +{ + print_uint64("{max_id=", args->max_id); + print_uint64(", num_devices=", args->num_devices); + print_uuid(", fsid=", args->fsid); + printf(", nodesize=%" PRIu32, args->nodesize); + printf(", sectorsize=%" PRIu32, args->sectorsize); + printf(", clone_alignment=%" PRIu32, args->clone_alignment); + + if (args->flags & BTRFS_FS_INFO_FLAG_CSUM_INFO) { + printf(", csum_type="); + prxval_btrfs(btrfs_csum_types, args->csum_type, + "BTRFS_CSUM_TYPE_???", true); + printf(", csum_size=%" PRIu16, args->csum_size); + } + + printf(", flags="); + prfl_btrfs(btrfs_fs_info_flags, args->flags, "BTRFS_FS_INFO_FLAG_???"); + + if (args->flags & BTRFS_FS_INFO_FLAG_GENERATION) + print_uint64(", generation=", args->generation); + + if (args->flags & BTRFS_FS_INFO_FLAG_METADATA_UUID) + print_uuid(", metadata_uuid=", args->metadata_uuid); + + printf("}"); +} + +static void +btrfs_fs_info_args_subtest(const struct btrfs_ioctl_fs_info_args * const args) +{ + ioctl(btrfs_test_dir_fd, BTRFS_IOC_FS_INFO, args); + printf("ioctl(%d, %s, ", btrfs_test_dir_fd, ioc(BTRFS_IOC_FS_INFO)); + btrfs_print_fs_info_args(args); + printf(") = 0\n"); +} + +static void +btrfs_test_fs_info_ioctl(void) +{ + struct btrfs_ioctl_fs_info_args args = {}; + + if (!write_ok) + return; + + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); +} + +static void rm_test_dir(void) { int rootfd = open(path, O_RDONLY|O_DIRECTORY); @@ -2070,6 +2169,7 @@ btrfs_test_dev_replace_ioctl(); btrfs_test_extent_same_ioctl(); btrfs_test_features_ioctls(); + btrfs_test_fs_info_ioctl(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/chmod--secontext.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 --secontext -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext -e trace=chmod +run_strace_match_diff -a28 -e secontext=!full,mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/chmod--secontext_full.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext_full.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 --secontext=full -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 -e secontext=full -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext=full -e trace=chmod +run_strace_match_diff -a28 -e secontext=full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch,full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/chmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|fcntl.*' -e/clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'times|fcntl.*' -e/clock +test_trace_expr 'times|times-.*|fcntl.*' -e/clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/clock_t_str.c
Added
@@ -0,0 +1,38 @@ +/* + * Format clock_t-typed values. + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <inttypes.h> +#include <math.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +const char * +clock_t_str(uint64_t val, char *str, size_t str_size) +{ + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + } + + if ((clk_tck > 0) && val) { + snprintf(str, str_size, "%" PRIu64 " /* %" PRIu64 ".%0*u s */", + val, val / clk_tck, precision, + (unsigned) round(((double) (val % clk_tck) / clk_tck) + * pow(10, precision))); + } else { + snprintf(str, str_size, "%" PRIu64, val); + } + + return str; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/clone3.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/clone3.c
Changed
@@ -126,7 +126,7 @@ #define do_clone3(args_, size_, errors_) \ do_clone3_((args_), (size_), (errors_), __LINE__) -static inline void +static void print_addr64(const char *pfx, uint64_t addr) { if (addr) @@ -187,7 +187,7 @@ printf(", set_tid_size=%" PRIu64, set_tid_size); } -static inline void +static void print_clone3(struct clone_args *const arg, long rc, kernel_ulong_t sz, enum validity_flags valid, const char *flags_str, const char *es_str) @@ -402,18 +402,12 @@ rc = do_clone3(arg2, sizeof(*arg2) + 8, ERR(E2BIG)); printf("clone3({flags=0, exit_signal=%llu, stack=NULL, stack_size=0" ", /* bytes %zu..%zu */ " -#ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -#else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -#endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #if RETVAL_INJECTED "} => {/* bytes %zu..%zu */ " -# ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -# else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -# endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #endif /* RETVAL_INJECTED */ "}, %zu) = %s" INJ_STR, 0xdeadface00000000ULL | SIGCHLD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/clone_ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/clone_ptrace.c
Changed
@@ -1,7 +1,7 @@ /* * Check handling of CLONE_PTRACE'ed processes. * - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -95,13 +95,16 @@ if (!WIFSIGNALED(status) || WTERMSIG(status) != sig) error_msg_and_fail("unexpected child exit status %d", status); + char utm_str64; + char stm_str64; printf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=%d" - ", si_uid=%d, si_status=%s, si_utime=%u, si_stime=%u} ---\n" + ", si_uid=%d, si_status=%s, si_utime=%s, si_stime=%s} ---\n" #if !QUIET_EXIT "+++ exited with 0 +++\n" #endif , pid, geteuid(), "SIGUSR1", - (unsigned int) sinfo.si_utime, (unsigned int) sinfo.si_stime); + clock_t_str((unsigned int) sinfo.si_utime, ARRSZ_PAIR(utm_str)), + clock_t_str((unsigned int) sinfo.si_stime, ARRSZ_PAIR(stm_str))); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/count-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/count-f.c
Changed
@@ -23,10 +23,8 @@ static void * thread(void *arg) { - unsigned int i; - assert(chdir(".") == 0); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { assert(chdir("") == -1); assert(chdir(".") == 0); } @@ -37,16 +35,15 @@ static int process(void) { - unsigned int i; pthread_t tT; - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { errno = pthread_create(&ti, NULL, thread, NULL); if (errno) perror_msg_and_fail("pthread_create"); } - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { void *retval; errno = pthread_join(ti, &retval); if (errno) @@ -59,20 +56,24 @@ int main(void) { - unsigned int i; pid_t pP; - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { pi = fork(); if (pi < 0) perror_msg_and_fail("fork"); if (!pi) return process(); } - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { int s; + pid_t rc; - assert(waitpid(pi, &s, 0) == pi); + while ((rc = waitpid(pi, &s, 0)) != pi) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pi); + } assert(WIFEXITED(s)); if (WEXITSTATUS(s)) return WEXITSTATUS(s);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/cur_audit_arch.h
Added
@@ -0,0 +1,163 @@ +/* + * Provides an AUDIT_ARCH_* constant for the current process in CUR_AUDIT_ARCH + * macro for some architectures (where such a constant defined). + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_CUR_AUDIT_ARCH_H +# define STRACE_TESTS_CUR_AUDIT_ARCH_H + +# include <linux/audit.h> + +/* + * If only one could easily get AUDIT_ARCH_* of the running process... + * CUR_AUDIT_ARCH - AUDIT_ARCH_* of the current personality + * PERS0_AUDIT_ARCH - AUDIT_ARCH_* of the strace's default personality + * if the current one is mpers + * PERS0__NR_gettid - gettid() syscall number in strace's default personality + * M32_AUDIT_ARCH, MX32_AUDIT_ARCH - AUDIT_ARCH_* values for mpers + * M32__NR_gettid, MX32_NR_gettid - gettid() syscall numbers in mpers + */ +# if defined __alpha__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_ALPHA + +# elif defined __arc__ +# if WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACTBE +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACT +# endif + +# elif defined __arm64__ || defined __aarch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define M32_AUDIT_ARCH AUDIT_ARCH_ARM +# define M32__NR_gettid 224 +# elif defined __arm__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARMEB +# else +# define PERS0_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define PERS0__NR_gettid 178 +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARM +# endif + +# elif defined __x86_64__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define PERS0__NR_gettid 186 +# define CUR_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define M32_AUDIT_ARCH AUDIT_ARCH_I386 +# define M32__NR_gettid 224 +# define MX32_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define MX32__NR_gettid 1073742010 +# elif defined __i386__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# ifdef X32 +# define PERS0__NR_gettid 1073742010 +# else +# define PERS0__NR_gettid 186 +# endif +# define CUR_AUDIT_ARCH AUDIT_ARCH_I386 + +# elif defined __ia64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_IA64 + +# elif defined __hppa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_PARISC + +# elif defined __m68k__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_M68K + +# elif defined __mips__ +# if _MIPS_SIM == _MIPS_SIM_ABI64 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64 +# endif +# elif _MIPS_SIM == _MIPS_SIM_NABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64N32 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64N32 +# endif +# elif _MIPS_SIM == _MIPS_SIM_ABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL +# endif +# endif + +# elif defined __powerpc64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_PPC +# define M32__NR_gettid 207 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64LE +# endif +# elif defined __powerpc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define PERS0__NR_gettid 207 +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC + +# elif defined __riscv +# define CUR_AUDIT_ARCH AUDIT_ARCH_RISCV64 + +# elif defined __s390x__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390X +# define M32_AUDIT_ARCH AUDIT_ARCH_S390 +# define M32__NR_gettid 236 +# elif defined __s390__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_S390X +# define PERS0__NR_gettid 236 +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390 + +# elif defined __sh64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64EL +# endif +# elif defined __sh__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SHEL +# endif + +# elif defined __sparc__ && defined __arch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_SPARC +# define M32__NR_gettid 143 +# elif defined __sparc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define PERS0__NR_gettid 143 +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC + +# elif defined __xtensa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_XTENSA + +# endif + +/* Undefine meaningless definitions */ +# if defined(PERS0_AUDIT_ARCH) \ + && !defined(MPERS_IS_m32) && !defined(MPERS_IS_mx32) +# undef PERS0_AUDIT_ARCH +# endif + +# if defined(M32_AUDIT_ARCH) \ + && (!defined(HAVE_M32_MPERS) || defined(MPERS_IS_m32)) +# undef M32_AUDIT_ARCH +# endif + +# if defined(MX32_AUDIT_ARCH) \ + && (!defined(HAVE_MX32_MPERS) || defined(MPERS_IS_mx32)) +# undef MX32_AUDIT_ARCH +# endif + +#endif /* STRACE_TESTS_CUR_AUDIT_ARCH_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-all.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_DEVNUM 1 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/dev--decode-fds-dev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-dev.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 1 +#define PRINT_AT_FDCWD_PATH 0 #include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-none.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATH 0 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/dev--decode-fds-path.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-path.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 0 +#define PRINT_AT_FDCWD_PATH 1 #include "dev-yy.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/dev--decode-fds-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-socket.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_DEVNUM 0 -#include "dev-yy.c" +#include "dev--decode-fds-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/dev--decode-fds-socket.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/dev--decode-fds-socket.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/dev-yy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/dev-yy.c
Changed
@@ -18,14 +18,28 @@ #include <sys/sysmacros.h> +#ifndef PRINT_PATH +# define PRINT_PATH 1 +#endif + #ifndef PRINT_DEVNUM -# define PRINT_DEVNUM 1 +# if PRINT_PATH +# define PRINT_DEVNUM 1 +# else +# define PRINT_DEVNUM 0 +# endif +#endif + +#ifndef PRINT_AT_FDCWD_PATH +# define PRINT_AT_FDCWD_PATH PRINT_DEVNUM #endif #if PRINT_DEVNUM # define DEV_FMT "<%s<%s %u:%u>>" -#else +#elif PRINT_PATH # define DEV_FMT "<%s>" +#else +# define DEV_FMT "" #endif #if defined __NR_openat && defined O_PATH @@ -34,6 +48,9 @@ main(void) { skip_if_unavailable("/proc/self/fd/"); +# if PRINT_AT_FDCWD_PATH + char *cwd = get_fd_path(get_dir_fd(".")); +# endif static const struct { const char *path; @@ -56,16 +73,25 @@ long fd = syscall(__NR_openat, AT_FDCWD, checksi.path, O_RDONLY|O_PATH); - printf("openat(AT_FDCWD, \"%s\", O_RDONLY|O_PATH) = %s", + printf("openat(AT_FDCWD" +# if PRINT_AT_FDCWD_PATH + "<%s>" +# endif + ", \"%s\", O_RDONLY|O_PATH) = %s", +# if PRINT_AT_FDCWD_PATH + cwd, +# endif checksi.path, sprintrc(fd)); +# if PRINT_PATH if (fd >= 0) printf(DEV_FMT, checksi.path -# if PRINT_DEVNUM +# if PRINT_DEVNUM , checksi.blk ? "block" : "char", checksi.major, checksi.minor -# endif +# endif ); +# endif puts(""); if (fd < 0) { @@ -79,10 +105,13 @@ int rc = fsync(fd); printf("fsync(%ld" DEV_FMT ") = %s\n", - fd, checksi.path, -# if PRINT_DEVNUM + fd, +# if PRINT_PATH + checksi.path, +# if PRINT_DEVNUM checksi.blk ? "block" : "char", checksi.major, checksi.minor, +# endif # endif sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/errno2name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/errno2name.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,10 @@ #define CASE(x) case x: return #x +#ifndef ENOTSUPP +# define ENOTSUPP 524 +#endif + const char * errno2name(void) {
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execve--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execve--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_full_mismatch +execve.test --secontext=full,mismatch); do not edit. +set -- --secontext=full,mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execve--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execve--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_mismatch +execve.test --secontext=mismatch); do not edit. +set -- --secontext=mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execveat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execveat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execveat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/execveat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_mismatch --secontext=mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch); do not edit. +set -- -a24 --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch); do not edit. +set -- -a24 --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch); do not edit. +set -- -a24 -y --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch); do not edit. +set -- -a24 -y --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/faccessat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat.c
Changed
@@ -28,6 +28,14 @@ # define SKIP_IF_PROC_IS_UNAVAILABLE # endif +# ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +# else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +# endif + static const char *errstr; static long @@ -57,6 +65,9 @@ */ create_and_enter_subdir("faccessat_subdir"); + int cwd_fd = get_dir_fd("."); + char *cwd = get_fd_path(cwd_fd); + char *my_secontext = SECONTEXT_PID_MY(); k_faccessat(-1, NULL, F_OK); @@ -76,8 +87,9 @@ */ k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\"%s, F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\"%s, F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, sample_secontext, errstr); @@ -85,8 +97,9 @@ perror_msg_and_fail("unlink"); k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\", F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\", F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, errstr); @@ -94,8 +107,6 @@ * Tests with dirfd. */ - int cwd_fd = get_dir_fd("."); - char *cwd = get_fd_path(cwd_fd); char *cwd_secontext = SECONTEXT_FILE("."); char *sample_realpath = xasprintf("%s/%s", cwd, sample); @@ -196,6 +207,12 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +# ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +# else + "AT_FDCWD"; +# endif char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -203,7 +220,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/faccessat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/faccessat2.c
Changed
@@ -21,6 +21,8 @@ #ifndef FD_PATH # define FD_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -77,6 +79,13 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +#ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +#else + "AT_FDCWD"; +#endif + char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -84,7 +93,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fanotify_init.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_init.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of fanotify_init syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -46,9 +46,9 @@ { (kernel_ulong_t) 0xffffffffffffffffULL, "0xc /* FAN_CLASS_??? */|FAN_CLOEXEC|FAN_NONBLOCK|" "FAN_UNLIMITED_QUEUE|FAN_UNLIMITED_MARKS|" - "FAN_ENABLE_AUDIT|FAN_REPORT_TID|FAN_REPORT_FID|" - "FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" - "0xfffff080" }, + "FAN_ENABLE_AUDIT|FAN_REPORT_PIDFD|FAN_REPORT_TID|" + "FAN_REPORT_FID|FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" + "FAN_REPORT_TARGET_FID|0xffffe000" }, }; static const struct strval event_f_flags = { { F8ILL_KULONG_MASK, "O_RDONLY" }, @@ -56,12 +56,8 @@ "O_WRONLY|0x80000000" } }; - unsigned int i; - unsigned int j; - - - for (i = 0; i < ARRAY_SIZE(flags); i++) - for (j = 0; j < ARRAY_SIZE(event_f_flags); j++) + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(event_f_flags); ++j) do_call(flagsi.val, flagsi.str, event_f_flagsj.val, event_f_flagsj.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_mark--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_mark--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=full,mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_mark--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_mark--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fanotify_mark.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fanotify_mark.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK # include <limits.h> +# include <stdint.h> # include <stdio.h> # include <unistd.h> # include <sys/fanotify.h> @@ -88,8 +89,8 @@ }; static const struct strval flags = { { F8ILL_KULONG_MASK, "0" }, - { (kernel_ulong_t) 0xdec0deddefacec00ULL, - "0xefacec00" + { (kernel_ulong_t) 0xdec0deddeface800ULL, + "0xeface800" # if !XLAT_RAW " /* FAN_MARK_??? */" # endif @@ -114,7 +115,8 @@ "FAN_MARK_ADD|FAN_MARK_REMOVE|FAN_MARK_DONT_FOLLOW|" "FAN_MARK_ONLYDIR|FAN_MARK_MOUNT|FAN_MARK_IGNORED_MASK|" "FAN_MARK_IGNORED_SURV_MODIFY|FAN_MARK_FLUSH|" - "FAN_MARK_FILESYSTEM|0xdeadfe00" + "FAN_MARK_FILESYSTEM|FAN_MARK_EVICTABLE|" + "FAN_MARK_IGNORE|0xdeadf800" # endif # if XLAT_VERBOSE " */" @@ -145,19 +147,21 @@ "FAN_MOVE_SELF|" "FAN_OPEN_EXEC|" "FAN_Q_OVERFLOW|" + "FAN_FS_ERROR|" "FAN_OPEN_PERM|" "FAN_ACCESS_PERM|" "FAN_OPEN_EXEC_PERM|" "FAN_DIR_MODIFY|" "FAN_ONDIR|" "FAN_EVENT_ON_CHILD|" - "0xdeadfeedb7f0a000" + "FAN_RENAME|" + "0xdeadfeeda7f02000" # endif # if XLAT_VERBOSE " */" # endif }, - { ARG_ULL_STR(0xffffffffb7f0a000) + { ARG_ULL_STR(0xffffffffa7f02000) # if !XLAT_RAW " /* FAN_??? */" # endif @@ -193,23 +197,20 @@ { (kernel_ulong_t) (uintptr_t) bogus_path2, "\"" STR64 "\"" }, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - int rc; - - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(fds); i++) { - for (j = 0; j < ARRAY_SIZE(flags); j++) { - for (k = 0; k < ARRAY_SIZE(masks); k++) { - for (l = 0; l < ARRAY_SIZE(dirfds); l++) { - for (m = 0; m < ARRAY_SIZE(paths); m++) + for (unsigned int i = 0; + i < ARRAY_SIZE(fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(flags); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(masks); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(dirfds); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(paths); ++m) do_call(fdsi, flagsj.val, flagsj.str, @@ -223,8 +224,6 @@ } } } -# else /* TEST_SECONTEXT */ - int rc; # endif /* * Test with AT_FDCWD. @@ -234,7 +233,7 @@ char path = "."; char *path_secontext = SECONTEXT_FILE(path); - rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, + int rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, path); printf("%s%s(-1, %s, %s, %s, \"%s\"%s) = %s\n", my_secontext, "fanotify_mark",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fchmod.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmod.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,10 +35,17 @@ (void) unlink(sample); int fd = open(sample, O_CREAT|O_RDONLY, 0400); if (fd == -1) - perror_msg_and_fail("open"); + perror_msg_and_fail("open(\"%s\")", sample); + + static const char sample_del = "fchmod_sample_file (deleted)"; + (void) unlink(sample_del); + int fd_del = open(sample_del, O_CREAT|O_RDONLY, 0400); + if (fd_del == -1) + perror_msg_and_fail("open(\"%s\")", sample); # ifdef YFLAG char *sample_realpath = get_fd_path(fd); + char *sample_del_realpath = get_fd_path(fd_del); # endif const char *sample_secontext = SECONTEXT_FILE(sample); @@ -56,12 +63,27 @@ sample_secontext, sprintrc(rc)); + const char *sample_del_secontext = SECONTEXT_FILE(sample_del); + rc = syscall(__NR_fchmod, fd_del, 0600); +# ifdef YFLAG + printf("%s%s(%d<%s>%s, 0600) = %s\n", +# else + printf("%s%s(%d%s, 0600) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + if (unlink(sample)) - perror_msg_and_fail("unlink"); + perror_msg_and_fail("unlink(\"%s\")", sample); rc = syscall(__NR_fchmod, fd, 051); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 051) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", # else printf("%s%s(%d%s, 051) = %s\n", # endif @@ -73,9 +95,26 @@ sample_secontext, sprintrc(rc)); + if (unlink(sample_del)) + perror_msg_and_fail("unlink(\"%s\")", sample_del); + + rc = syscall(__NR_fchmod, fd_del, 051); +# ifdef YFLAG + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", +# else + printf("%s%s(%d%s, 051) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + rc = syscall(__NR_fchmod, fd, 004); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 004) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 004) = %s\n", # else printf("%s%s(%d%s, 004) = %s\n", # endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmodat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmodat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmodat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchmodat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchownat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchownat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=full,mismatch -e trace=fchownat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchownat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/fchownat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=mismatch -e trace=fchownat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fcntl.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fcntl.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,10 @@ # define TEST_SYSCALL_STR "fcntl" # include "fcntl-common.c" +/* We can't have nice things because clang */ +# if (defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64)) || \ + (defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64)) || \ + (defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64)) static void test_flock64_undecoded(const int cmd, const char *name) { @@ -28,6 +32,7 @@ printf("%s(0, %s, %p) = %s\n", TEST_SYSCALL_STR, name, &fl, errstr); } +# endif # define TEST_FLOCK64_UNDECODED(cmd) test_flock64_undecoded(cmd, #cmd) @@ -38,14 +43,14 @@ * F_GSETOWN_EX had conflicting values with F_GSETLK64 * in kernel revisions v2.6.32-rc1~96..v2.6.32-rc7~23. */ -# if !defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64 +# if defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64) TEST_FLOCK64_UNDECODED(F_SETLK64); # endif /* F_GETLK and F_SETLKW64 have conflicting values on mips64 */ -# if !defined(__mips64) || F_GETLK != F_SETLKW64 +# if defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64) TEST_FLOCK64_UNDECODED(F_SETLKW64); # endif -# if !defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64 +# if defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64) TEST_FLOCK64_UNDECODED(F_GETLK64); # endif }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/file_handle--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/file_handle--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/file_handle--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/file_handle--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/file_handle.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/file_handle.c
Changed
@@ -292,22 +292,20 @@ (kernel_ulong_t) (uintptr_t) bogus_mount_id, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(dirfds); i++) { - for (j = 0; j < ARRAY_SIZE(paths); j++) { - for (k = 0; k < ARRAY_SIZE(name_handles); k++) { - for (l = 0; l < ARRAY_SIZE(mount_ids); l++) { - for (m = 0; m < ARRAY_SIZE(name_flags); - m++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(dirfds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(paths); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(name_handles); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(mount_ids); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(name_flags); ++m) { do_name_to_handle_at( dirfdsi.val, dirfdsi.str, @@ -325,9 +323,12 @@ } } - for (i = 0; i < ARRAY_SIZE(mount_fds); i++) { - for (j = 0; j < ARRAY_SIZE(open_handles); j++) { - for (k = 0; k < ARRAY_SIZE(open_flags); k++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(mount_fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(open_handles); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(open_flags); ++k) { do_open_by_handle_at(mount_fdsi, open_handlesj.addr, open_handlesj.valid,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fill_memory.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fill_memory.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,9 +12,8 @@ unsigned int period) { unsigned char *p = ptr; - size_t i; - for (i = 0; i < size; i++) { + for (typeof(size) i = 0; i < size; ++i) { pi = start + i % period; } } @@ -30,9 +29,8 @@ unsigned int period) { uint16_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint16_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint16_t); ++i) { pi = start + i % period; } } @@ -48,9 +46,8 @@ unsigned int period) { uint32_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint32_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint32_t); ++i) { pi = start + i % period; } } @@ -60,3 +57,20 @@ { fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000); } + +void +fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period) +{ + uint64_t *p = ptr; + + for (typeof(size) i = 0; i < size / sizeof(uint64_t); i++) { + pi = start + i % period; + } +} + +void +fill_memory64(void *ptr, size_t size) +{ + fill_memory64_ex(ptr, size, + 0x8090a0b0c0d0e0f0ULL, 0x8000000000000000ULL); +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/filter-unavailable.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/filter-unavailable.c
Changed
@@ -26,7 +26,6 @@ static int process(void) { - int i; int fds2; pthread_t t; struct timespec ts = { .tv_nsec = 10000000 }; @@ -36,9 +35,9 @@ if (pipe(fds)) perror_msg_and_fail("pipe"); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(pthread_create(&t, NULL, thread, NULL) == 0); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(read(0, fds, 1) == 1); (void) nanosleep(&ts, 0); @@ -48,15 +47,13 @@ int main(void) { - int i, s; - pid_t p; - - for (i = 0; i < P; ++i) { - p = fork(); + for (int i = 0; i < P; ++i) { + pid_t p = fork(); if (p < 0) perror_msg_and_fail("fork"); if (p == 0) return process(); + int s; assert(waitpid(p, &s, 0) == p); assert(WIFEXITED(s)); if (WEXITSTATUS(s))
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/filter_seccomp-flag.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/filter_seccomp-flag.c
Changed
@@ -2,7 +2,7 @@ * Check that syscall numbers do not conflict with seccomp filter flags. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,13 +14,11 @@ #include "scno.h" /* PERSONALITY*_AUDIT_ARCH definitions depend on AUDIT_ARCH_* constants. */ -#ifdef PERSONALITY0_AUDIT_ARCH -# include <linux/audit.h> -# define XLAT_MACROS_ONLY -# include "xlat/elf_em.h" -# include "xlat/audit_arch.h" -# undef XLAT_MACROS_ONLY -#endif +#include <linux/audit.h> +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +# include "xlat/audit_arch.h" +#undef XLAT_MACROS_ONLY /* Define these shorthand notations to simplify the syscallent files. */ #include "sysent_shorthand_defs.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/filter_seccomp-perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/filter_seccomp-perf.c
Changed
@@ -2,7 +2,7 @@ * Check seccomp filter performance. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,7 +29,7 @@ int rc = 0; signal(SIGALRM, handler); - alarm(1); + alarm(3); for (i = 0; !stop; i++) { rc |= chdir(".");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/filter_seccomp-perf.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/filter_seccomp-perf.test
Changed
@@ -3,7 +3,7 @@ # Check seccomp filter performance. # # Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2021 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -18,7 +18,7 @@ mv "$LOG" "$LOG.seccomp" match_diff "$LOG.regular" "$LOG.seccomp" -min_ratio=6 +min_ratio=5 # With seccomp filter enabled, we should be able to complete # at least $min_ratio times more chdir system calls. ratio="$((num_seccomp / num_regular))"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/filtering_syscall-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/filtering_syscall-syntax.test
Changed
@@ -4,7 +4,7 @@ # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2017 Nikolay Marchuk <marchuk.nikolay.a@gmail.com> -# Copyright (c) 2018-2020 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -65,11 +65,27 @@ check_e "invalid system call '$1'" -e fault="$2:when=4" } +pers=$(print_current_personality_designator) + for arg in '' , ,, ,,, ; do check_syscall "$arg" "$arg" check_syscall "!$arg" "!$arg" done +case "$STRACE_ARCH" in + alpha) invalid_scno1=299 + invalid_scno2=404 + ;; + *) invalid_scno1=415 + invalid_scno2=501 + ;; +esac + +case "$STRACE_ARCH" in + ia64) valid_scno=1025 ;; + *) valid_scno=1 ;; +esac + for arg in -1 -2 -3 -4 -5 \ invalid_syscall_name \ 0x 0y \ @@ -78,16 +94,19 @@ 2147483648 \ 4294967295 \ 4294967296 \ + $invalid_scno1 \ + $invalid_scno2 \ /non_syscall \ % %not_a_class \ ; do check_syscall "$arg" "$arg" check_syscall "$arg" "!$arg" - check_syscall "$arg" "1,$arg" + check_syscall "$arg" "$valid_scno,$arg" + check_syscall "$arg@$pers" "$arg@$pers" done -for arg in '!chdir' none all; do - check_syscall "$arg" "1,$arg" +for arg in '!chdir' none; do + check_syscall "$arg" "$valid_scno,$arg" done # invalid syscall, multiple syscalls @@ -97,16 +116,19 @@ %process \ %network \ chdir \ - 1 \ + $valid_scno \ + all \ ?32767 \ ?invalid \ ?%not_a_class \ ?/non_syscall \ ; do - check_syscall nonsense "$arg,nonsense" - check_syscall nonsense "!$arg,nonsense" - check_syscall nonsense "nonsense,$arg" - check_syscall nonsense "!nonsense,$arg" + for pfx in '' '!'; do + for token in "$arg" "$arg@$pers"; do + check_syscall nonsense "${pfx}$token,nonsense" + check_syscall nonsense "${pfx}nonsense,$token" + done + done done check_e_using_grep 'regcomp: \+id: :alpha:.+' -e trace='/+id'
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/finit_module.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/finit_module.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of finit_module syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -37,7 +37,8 @@ { (kernel_ulong_t) 0xfacef157dec0ded1ULL, "MODULE_INIT_IGNORE_MODVERSIONS|0xdec0ded0" }, { -1LL, "MODULE_INIT_IGNORE_MODVERSIONS|" - "MODULE_INIT_IGNORE_VERMAGIC|0xfffffffc" }, + "MODULE_INIT_IGNORE_VERMAGIC|" + "MODULE_INIT_COMPRESSED_FILE|0xfffffff8" }, }; long rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fork--pidns-translation.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fork--pidns-translation.c
Changed
@@ -2,10 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fork--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fork--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of fork's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fork-f.c
Changed
@@ -12,7 +12,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fsconfig.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fsconfig.c
Changed
@@ -187,11 +187,14 @@ static void test_fsconfig_set_path(const unsigned int cmd, const char *cmd_str) { + char *cwd = get_fd_path(get_dir_fd(".")); + fill_memory_ex(fname, PATH_MAX, '0', 10); k_fsconfig(fd, cmd, key, fname, -100); #ifndef PATH_TRACING - printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD) = %s\n", - fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, errstr); + printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD<%s>) = %s\n", + fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, cwd, + errstr); #endif fnamePATH_MAX - 1 = '\0'; @@ -206,8 +209,8 @@ cmd_str, key, fd, fd_path, errstr); k_fsconfig(-1, cmd, 0, fd_path, -100); - printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD) = %s\n", - cmd_str, fd_path, errstr); + printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD<%s>) = %s\n", + cmd_str, fd_path, cwd, errstr); k_fsconfig(-1, cmd, efault, efault + 1, fd); printf("fsconfig(-1, %s, %p, %p, %d<%s>) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/fspick.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/fspick.c
Changed
@@ -38,6 +38,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -56,8 +59,8 @@ k_fspick(-100, fname, 0); #ifndef PATH_TRACING - printf("fspick(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("fspick(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/futex.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/futex.c
Changed
@@ -95,7 +95,6 @@ const char *fmt; int saved_errno; int rc; - int i; va_list ap; @@ -106,7 +105,7 @@ va_start(ap, argmask); - for (i = 0; i < 4; i++) { + for (int i = 0; i < 4; ++i) { if (argmask & (1 << i)) { fmt = va_arg(ap, const char *); @@ -158,8 +157,6 @@ TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr); TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr2); int rc; - unsigned i; - unsigned j; uaddr0 = 0x1deadead; uaddr20 = 0xbadf00d; @@ -582,8 +579,8 @@ ENOSYS, EINVAL }, }; - for (i = 0; i < ARRAY_SIZE(wake_ops); i++) { - for (j = 0; j < 2; j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(wake_ops); ++i) { + for (unsigned int j = 0; j < 2; ++j) { CHECK_FUTEX_ENOSYS(uaddr, j ? FUTEX_WAKE_OP_PRIVATE : FUTEX_WAKE_OP, VAL, i, uaddr2, wake_opsi.val,
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/futex_waitv.c
Added
@@ -0,0 +1,136 @@ +/* + * Check decoding of futex_waitv syscall. + * + * Copyright (c) 2015-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include "kernel_timespec.h" +#include <stdio.h> +#include <stdlib.h> +#include <time.h> +#include <unistd.h> +#include <linux/futex.h> + +static const char *errstr; + +static long +k_futex_waitv(const void *const waiters, + const unsigned int nr_futexes, + const unsigned int flags, + const void *const timeout, + const unsigned int clockid) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = (uintptr_t) waiters; + const kernel_ulong_t arg2 = fill | nr_futexes; + const kernel_ulong_t arg3 = fill | flags; + const kernel_ulong_t arg4 = (uintptr_t) timeout; + const kernel_ulong_t arg5 = fill | clockid; + const long rc = syscall(__NR_futex_waitv, + arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(uint32_t, futex); + TAIL_ALLOC_OBJECT_CONST_PTR(struct futex_waitv, waiter); + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_timespec64_t, ts); + ts->tv_sec = 1; + ts->tv_nsec = 2; + + k_futex_waitv(0, 1, -1U, 0, 1); + printf("futex_waitv(NULL, 1, %#x, NULL, CLOCK_MONOTONIC) = %s\n", + -1U, errstr); + + k_futex_waitv(waiter + 1, 0, 1, ts + 1, -1U); + printf("futex_waitv(, 0, %#x, %p, %#x /* CLOCK_??? */) = %s\n", + 1, ts + 1, -1U, errstr); + + k_futex_waitv((void *) waiter + 1, 1, 0, ts, 0); + printf("futex_waitv(%p, 1, 0, {tv_sec=1, tv_nsec=2}, CLOCK_REALTIME)" + " = %s\n", + (void *) waiter + 1, errstr); + + waiter->uaddr = 0; + k_futex_waitv(waiter, 1, 0, 0, 1); + printf("futex_waitv({val=%#llx, uaddr=NULL, flags=%s|%#x" + ", __reserved=%#x}, 1, 0, NULL, CLOCK_MONOTONIC) = %s\n", + (unsigned long long) waiter->val, + "FUTEX_32|FUTEX_PRIVATE_FLAG", + waiter->flags & ~(FUTEX_32|FUTEX_PRIVATE_FLAG), + waiter->__reserved, errstr); + + waiter->val = 0xdeadbeeffacefeedULL; + waiter->uaddr = -1ULL; + waiter->flags = 0; + waiter->__reserved = 0; + k_futex_waitv(waiter, 1, 0, 0, 2); + printf("futex_waitv({val=%#llx, uaddr=%#llx, flags=0}, 1, 0, NULL" + ", CLOCK_PROCESS_CPUTIME_ID) = %s\n", + (unsigned long long) waiter->val, + (unsigned long long) waiter->uaddr, + errstr); + + waiter->val = 0; + waiter->uaddr = (uintptr_t) futex; + waiter->flags = FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, 0, 0); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0, NULL" + ", CLOCK_REALTIME) = %s\n", + futex, "FUTEX_PRIVATE_FLAG", errstr); + + waiter->flags = FUTEX_32; + k_futex_waitv(waiter, 2, 0, 0, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, ... /* %p */, 2, 0, NULL" + ", CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32", waiter + 1, errstr); + + waiter->flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, ts, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0" + ", {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32|FUTEX_PRIVATE_FLAG", errstr); + + unsigned int nr = FUTEX_WAITV_MAX + 1; + uint32_t * const futexes = tail_alloc(nr * sizeof(*futexes)); + struct futex_waitv * const waiters = tail_alloc(nr * sizeof(*waiters)); + for (unsigned int i = 0; i < nr; ++i) { + futexesi = i; + waitersi.val = i; + waitersi.uaddr = (uintptr_t) &futexesi; + waitersi.flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + waitersi.__reserved = 0; + } + k_futex_waitv(waiters, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i, &futexesi, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", ..., %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + nr = FUTEX_WAITV_MAX; + k_futex_waitv(waiters + 1, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i + 1, &futexesi + 1, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/futex_waitv.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (futex_waitv -s256 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -s256
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/gen_tests.am -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/gen_tests.am
Changed
@@ -1,5 +1,5 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. -GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace_syscall_info.gen.test pwritev.gen.test quotactl.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-n.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test +GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test access--secontext_full_mismatch.gen.test access--secontext_mismatch.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test arch_prctl-success-Xabbrev.gen.test arch_prctl-success-Xraw.gen.test arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chmod--secontext_full_mismatch.gen.test chmod--secontext_mismatch.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execve--secontext_full_mismatch.gen.test execve--secontext_mismatch.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat--secontext_full_mismatch.gen.test execveat--secontext_mismatch.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat--secontext_full_mismatch.gen.test faccessat--secontext_mismatch.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-y--secontext_full_mismatch.gen.test faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark--secontext_full_mismatch.gen.test fanotify_mark--secontext_mismatch.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod--secontext_full_mismatch.gen.test fchmod--secontext_mismatch.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmod-y--secontext_full_mismatch.gen.test fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchmodat--secontext_full_mismatch.gen.test fchmodat--secontext_mismatch.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fchownat--secontext_full_mismatch.gen.test fchownat--secontext_mismatch.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test file_handle--secontext_full_mismatch.gen.test file_handle--secontext_mismatch.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test getsockname--secontext.gen.test getsockname--secontext_full.gen.test getsockname--secontext_full_mismatch.gen.test getsockname--secontext_mismatch.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_register-Xabbrev.gen.test io_uring_register-Xraw.gen.test io_uring_register-Xverbose.gen.test io_uring_register-success.gen.test io_uring_register-success-Xabbrev.gen.test io_uring_register-success-Xraw.gen.test io_uring_register-success-Xverbose.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_counter.gen.test ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test ioctl_kd-success-Xraw.gen.test ioctl_kd-success-Xverbose.gen.test ioctl_kd-success-s1024.gen.test ioctl_kd-success-s1024-Xabbrev.gen.test ioctl_kd-success-s1024-Xraw.gen.test ioctl_kd-success-s1024-Xverbose.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test ioctl_lirc-success.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test ioctl_ptp-success-Xabbrev.gen.test ioctl_ptp-success-Xraw.gen.test ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_seccomp.gen.test ioctl_seccomp--pidns-translation.gen.test ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test ioctl_seccomp-y-success.gen.test ioctl_seccomp-y-success--pidns-translation.gen.test ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test ioctl_seccomp-y-success-Xabbrev.gen.test ioctl_seccomp-y-success-Xraw.gen.test ioctl_seccomp-y-success-Xverbose.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_termios.gen.test ioctl_termios-v.gen.test ioctl_tiocm.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test linkat--secontext_full_mismatch.gen.test linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-all-netlink.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test nlattr_cachereport-Xabbrev.gen.test nlattr_cachereport-Xraw.gen.test nlattr_cachereport-Xverbose.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_brport-Xabbrev.gen.test nlattr_ifla_brport-Xraw.gen.test nlattr_ifla_brport-Xverbose.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_protinfo.gen.test nlattr_ifla_protinfo-Xabbrev.gen.test nlattr_ifla_protinfo-Xraw.gen.test nlattr_ifla_protinfo-Xverbose.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_vfinfo.gen.test nlattr_ifla_vfinfo-Xabbrev.gen.test nlattr_ifla_vfinfo-Xraw.gen.test nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open--secontext_full_mismatch.gen.test open--secontext_mismatch.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat--secontext_full_mismatch.gen.test openat--secontext_mismatch.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-all.gen.test pidfd_open--decode-fd-none.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-set_vma.gen.test prctl-sme.gen.test prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test prctl-sme-success-Xabbrev.gen.test prctl-sme-success-Xraw.gen.test prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-sve-Xabbrev.gen.test prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test prctl-sve-success-Xraw.gen.test prctl-sve-success-Xverbose.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_mrelease.gen.test process_mrelease-y.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test ptrace-Xverbose.gen.test ptrace-y.gen.test ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test ptrace_syscall_info-Xabbrev.gen.test ptrace_syscall_info-Xraw.gen.test ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test quotactl.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test seccomp_get_notif_sizes.gen.test seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test segv_pkuerr.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test set_mempolicy_home_node.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test sockopt-sol_socket-Xabbrev.gen.test sockopt-sol_socket-Xraw.gen.test sockopt-sol_socket-Xverbose.gen.test sockopt-sol_socket-success.gen.test sockopt-sol_socket-success-Xabbrev.gen.test sockopt-sol_socket-success-Xraw.gen.test sockopt-sol_socket-success-Xverbose.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--decode-pids-comm.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--strings-in-hex-non-ascii-chars.gen.test strace--strings-in-hex-none.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-Y-0123456789.gen.test strace-n.gen.test strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test times-Xraw.gen.test times-Xverbose.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_all_32.gen.test trace_personality_all_64.gen.test trace_personality_all_x32.gen.test trace_personality_number_32.gen.test trace_personality_number_64.gen.test trace_personality_number_x32.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_statfs_32.gen.test trace_personality_statfs_64.gen.test trace_personality_statfs_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-Y.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test $(srcdir)/_newselect.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -22,6 +22,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -40,6 +46,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -79,6 +112,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -166,9 +205,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -247,6 +292,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -256,6 +307,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -265,6 +322,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -277,6 +340,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -307,6 +376,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -328,6 +403,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -337,6 +418,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -346,6 +433,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -361,6 +454,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -385,6 +484,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -463,6 +568,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -577,6 +685,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -625,6 +745,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -637,6 +778,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -853,6 +1006,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -862,6 +1051,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -892,6 +1087,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -907,6 +1123,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -922,6 +1174,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -982,6 +1243,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1147,6 +1411,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1333,6 +1603,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1447,6 +1720,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1471,21 +1756,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1513,6 +1843,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1591,6 +1933,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1606,6 +1954,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1675,6 +2029,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1783,15 +2143,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1804,16 +2155,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1828,6 +2179,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1849,25 +2209,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1876,6 +2263,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1975,6 +2383,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1996,19 +2410,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -2020,6 +2458,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2200,6 +2644,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2239,6 +2695,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2386,18 +2845,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2476,6 +2968,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2503,6 +2998,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2548,9 +3049,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2578,6 +3085,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2620,6 +3130,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2650,6 +3169,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2659,6 +3196,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2755,6 +3301,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/gen_tests.in -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/gen_tests.in
Changed
@@ -1,6 +1,6 @@ # Input for gen_tests.sh # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -12,12 +12,23 @@ access -a30 --trace-path=access_sample access--secontext -a30 --secontext --trace-path=access_sample -e trace=access access--secontext_full -a30 --secontext=full --trace-path=access_sample -e trace=access +access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access +access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access acct -a20 add_key -a30 -s12 adjtimex -a15 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy aio_pgetevents -e trace=io_pgetevents alarm -a10 +arch_prctl +arch_prctl.sh -a27 +arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev +arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw +arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose +arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +at_fdcwd-pathmax -a36 --trace=openat -y -P sample bpf -a20 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf @@ -29,12 +40,14 @@ btrfs +ioctl.test chdir -a10 chmod -a28 -chmod--secontext -a28 --secontext -e trace=chmod -chmod--secontext_full -a28 --secontext=full -e trace=chmod +chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod +chmod--secontext_full -a28 -e secontext=full -e trace=chmod +chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod +chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod chown -a28 chown32 -a31 chroot -a13 -clock test_trace_expr 'times|fcntl.*' -e/clock +clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock clock_adjtime -a37 clock_adjtime64 -a39 clock_nanosleep -e trace=clock_nanosleep,clock_gettime @@ -60,9 +73,11 @@ copy_file_range creat -a20 delete_module -a23 +dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all dev--decode-fds-dev -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=dev +dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none dev--decode-fds-path -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=path -dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket dev-yy -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy dup -a7 9>>/dev/full dup-P -a7 --trace=dup -P /dev/full 9>>/dev/full @@ -87,16 +102,24 @@ erestartsys -a34 -e signal=none -e trace=recvfrom execve--secontext +execve.test --secontext execve--secontext_full +execve.test --secontext=full +execve--secontext_full_mismatch +execve.test --secontext=full,mismatch +execve--secontext_mismatch +execve.test --secontext=mismatch execveat execveat--secontext --secontext --trace=execveat execveat--secontext_full --secontext=full --trace=execveat +execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat +execveat--secontext_mismatch --secontext=mismatch --trace=execveat execveat-v -v -e trace=execveat faccessat--secontext +faccessat.test -a24 --secontext faccessat--secontext_full +faccessat.test -a24 --secontext=full +faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch +faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch faccessat-P -a23 --trace=faccessat -P /dev/full faccessat-y +faccessat.test -a24 -y faccessat-y--secontext +faccessat.test -a24 -y --secontext faccessat-y--secontext_full +faccessat.test -a24 -y --secontext=full +faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch +faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch faccessat-yy +faccessat.test -a24 -yy faccessat2-P -a27 --trace=faccessat2 -P /dev/full faccessat2-y +faccessat2.test -a28 -y @@ -107,6 +130,8 @@ fanotify_mark -a32 fanotify_mark--secontext -a32 --secontext -e trace=fanotify_mark fanotify_mark--secontext_full -a32 --secontext=full -e trace=fanotify_mark +fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark +fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark fanotify_mark-Xabbrev -a32 -Xabbrev -e trace=fanotify_mark fanotify_mark-Xraw -a32 -Xraw -e trace=fanotify_mark fanotify_mark-Xverbose -a32 -Xverbose -e trace=fanotify_mark @@ -114,17 +139,25 @@ fchmod -a15 fchmod--secontext -a15 --secontext -e trace=fchmod fchmod--secontext_full -a15 --secontext=full -e trace=fchmod +fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod +fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod fchmod-y -y -e trace=fchmod fchmod-y--secontext -a15 -y --secontext -e trace=fchmod fchmod-y--secontext_full -a15 -y --secontext=full -e trace=fchmod +fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod +fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod fchmodat fchmodat--secontext --secontext -e trace=fchmodat fchmodat--secontext_full --secontext=full -e trace=fchmodat +fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat +fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat fchown -a16 fchown32 -a18 fchownat fchownat--secontext --secontext -e trace=fchownat fchownat--secontext_full --secontext=full -e trace=fchownat +fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat +fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat fcntl -a8 fcntl--pidns-translation test_pidns -a8 -e trace=fcntl fcntl64 -a8 @@ -133,6 +166,8 @@ file_handle -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext --secontext -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext_full --secontext=full -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at filter_seccomp . "${srcdir=.}/filter_seccomp.sh"; test_prog_set --seccomp-bpf -f filter_seccomp-flag ../$NAME finit_module -a25 @@ -159,6 +194,7 @@ fsync-y -y -e trace=fsync ftruncate -a24 ftruncate64 -a36 +futex_waitv -s256 futimesat -a28 get_mempolicy -s3 -a38 getcpu -a25 @@ -197,6 +233,10 @@ getsid -a10 getsid--pidns-translation test_pidns -e trace=getsid -a10 getsockname -a27 +getsockname--secontext -a27 --secontext -e trace=getsockname +getsockname--secontext_full -a27 --secontext=full -e trace=getsockname +getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname +getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname gettid -a9 getuid-creds +getuid.test getuid32 +getuid.test @@ -213,10 +253,21 @@ inotify_init1-y -a27 -y -e trace=inotify_init1 io_uring_enter -y io_uring_register -y +io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev +io_uring_register-Xraw -etrace=io_uring_register -y -Xraw +io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose +io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y +io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev +io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw +io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose io_uring_setup -a26 -y ioctl_block +ioctl.test ioctl_dm +ioctl.test -s9 ioctl_dm-v +ioctl.test -v -s9 +ioctl_counter +ioctl.test -a39 +ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev +ioctl_counter-Xraw +ioctl.test -a18 -Xraw +ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose ioctl_evdev +ioctl.test -a26 ioctl_evdev-Xabbrev +ioctl.test -a26 -Xabbrev ioctl_evdev-Xraw +ioctl.test -a28 -Xraw @@ -289,9 +340,23 @@ ioctl_hdio-v-Xraw +ioctl.test -a20 -v -Xraw ioctl_hdio-v-Xverbose +ioctl.test -a39 -v -Xverbose ioctl_inotify +ioctl.test +ioctl_kd +ioctl.test -a20 +ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev +ioctl_kd-Xraw +ioctl.test -a18 -Xraw +ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose +ioctl_kd-success +ioctl-success.sh -a20 +ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev +ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw +ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose +ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024 +ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev +ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw +ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose ioctl_kvm_run +ioctl.test -a36 -y ioctl_kvm_run-v +ioctl.test -v -a36 -y ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu +ioctl_lirc +ioctl-success.sh -a30 +ioctl_lirc-success +ioctl-success.sh -a30 ioctl_loop +ioctl.test ioctl_loop-nv +ioctl.test -a22 -e verbose=none ioctl_loop-v +ioctl.test -v @@ -301,17 +366,39 @@ ioctl_nsfs +ioctl.test -esignal=none ioctl_perf +ioctl.test ioctl_perf-success +ioctl-success.sh -a35 -ioctl_ptp +ioctl.test +ioctl_ptp +ioctl.test -a29 +ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev +ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw +ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose +ioctl_ptp-success +ioctl-success.sh -a29 +ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev +ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw +ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose ioctl_random +ioctl.test ioctl_rtc +ioctl.test ioctl_rtc-success +ioctl-success.sh -a22 ioctl_rtc-v +ioctl.test -v ioctl_scsi +ioctl.test +ioctl_seccomp +ioctl.test -a42 +ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48 +ioctl_seccomp-success +ioctl-success.sh -a42 +ioctl_seccomp-y +ioctl.test -a42 -y +ioctl_seccomp-y-success +ioctl-success.sh -a42 -y +ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 +ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev +ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw +ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose +ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev +ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw +ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose ioctl_sg_io_v3 +ioctl.test ioctl_sg_io_v4 +ioctl.test ioctl_sock +ioctl.test -a23 ioctl_sock_gifconf +ioctl.test -a28 -s1 ioctl_tee +ioctl.test +ioctl_termios +ioctl.test +ioctl_termios-v +ioctl.test -v +ioctl_tiocm +ioctl.test ioctl_ubi +ioctl.test ioctl_ubi-success +ioctl-success.sh -a24 ioctl_uffdio +ioctl.test @@ -332,6 +419,7 @@ ioctl_v4l2-v-Xraw +ioctl.test -v -Xraw ioctl_v4l2-v-Xverbose +ioctl.test -v -Xverbose ioctl_watchdog +ioctl.test +ioctl_winsize +ioctl.test ioperm -a27 iopl -a8 ioprio -a18 -e trace=ioprio_get,ioprio_set @@ -366,10 +454,10 @@ kernel_version-Xverbose -a16 -Xverbose -v -e trace=bpf kexec_file_load -s9 kexec_load -s9 -keyctl -a31 -s10 -keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev -keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw -keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose +keyctl -a31 -s10 -f --signal='!chld' +keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev +keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw +keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose kill -a12 -esignal=none kill--pidns-translation test_pidns -a12 -e trace=kill -esignal=none ksysent ../$NAME @@ -387,6 +475,8 @@ linkat linkat--secontext --secontext -e trace=linkat linkat--secontext_full --secontext=full -e trace=linkat +linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat +linkat--secontext_mismatch --secontext=mismatch -e trace=linkat lookup_dcookie -a27 lstat -a31 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full lstat64 -a32 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -449,7 +539,8 @@ msg_name -a20 -e trace=recvmsg munlockall -a13 nanosleep -a20 -net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev +net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all +net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9 net--decode-fds-none-netlink +net-yy-netlink.test --decode-fds=none -a9 net--decode-fds-path-netlink +net-yy-netlink.test --decode-fds=path net--decode-fds-socket-netlink +net-yy-netlink.test --decode-fds=socket @@ -487,6 +578,10 @@ nfnetlink_ulog +netlink_sock_diag.test nlattr +netlink_sock_diag.test nlattr_br_port_msg +netlink_sock_diag.test +nlattr_cachereport +netlink_sock_diag.test +nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw +nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_crypto_user_alg +netlink_sock_diag.test nlattr_dcbmsg +netlink_sock_diag.test nlattr_fib_rule_hdr +netlink_sock_diag.test @@ -495,11 +590,26 @@ nlattr_ifinfomsg +netlink_sock_diag.test nlattr_ifla_af_spec +netlink_sock_diag.test nlattr_ifla_brport +netlink_sock_diag.test +nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_linkinfo +netlink_sock_diag.test nlattr_ifla_port +netlink_sock_diag.test +nlattr_ifla_protinfo +netlink_sock_diag.test +nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_proto_down_reason +netlink_sock_diag.test +nlattr_ifla_vfinfo +netlink_sock_diag.test +nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_xdp +netlink_sock_diag.test nlattr_ifla_xdp-y +netlink_sock_diag.test -y; exec 9</dev/full +nlattr_ifstats +netlink_sock_diag.test +nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose nlattr_inet_diag_msg +netlink_sock_diag.test nlattr_inet_diag_req_compat +netlink_sock_diag.test nlattr_inet_diag_req_v2 +netlink_sock_diag.test @@ -509,6 +619,10 @@ nlattr_ndtmsg +netlink_sock_diag.test nlattr_netconfmsg +netlink_sock_diag.test nlattr_netlink_diag_msg +netlink_sock_diag.test +nlattr_nhmsg +netlink_sock_diag.test +nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw +nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose nlattr_nlmsgerr +netlink_sock_diag.test nlattr_packet_diag_msg +netlink_sock_diag.test -v nlattr_rtgenmsg +netlink_sock_diag.test @@ -535,11 +649,15 @@ open -a30 -P $NAME.sample open--secontext -a30 -P open.sample --secontext --trace=open open--secontext_full -a30 -P open.sample --secontext=full --trace=open +open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open +open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open open_tree -a30 -y open_tree-P -a30 --decode-fds -P /dev/full -e trace=open_tree openat -a36 -P $NAME.sample openat--secontext -a36 -P openat.sample -P $PWD/openat.sample --secontext -e trace=openat openat--secontext_full -a36 -P openat.sample -P $PWD/openat.sample --secontext=full -e trace=openat +openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat +openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat openat2 -a35 openat2-Xabbrev --trace=openat2 -a35 -Xabbrev openat2-Xraw --trace=openat2 -a32 -Xraw @@ -563,6 +681,8 @@ pidfd_getfd-y --trace=pidfd_getfd -a18 -e signal=none -y </dev/full pidfd_getfd-yy --trace=pidfd_getfd -a18 -e signal=none -yy </dev/full pidfd_open -a17 +pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open +pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open pidfd_open--decode-fd-path -a17 -e decode-fd=path -e trace=pidfd_open pidfd_open--decode-fd-pidfd -a17 -e decode-fd=pidfd -e trace=pidfd_open pidfd_open--decode-fd-socket -a17 -e decode-fd=socket -e trace=pidfd_open @@ -599,21 +719,21 @@ prctl-pac-reset-keys +prctl.sh -a43 prctl-pdeathsig +prctl.sh -a30 prctl-sched-core +prctl.sh -a71 -prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev -prctl-sched-core-Xraw +prctl.sh -a28 -Xraw -prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core--pidns-translation test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core--pidns-translation-Xabbrev test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core--pidns-translation-Xraw test_pidns -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core--pidns-translation-Xverbose test_pidns -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev +prctl-sched-core-Xraw +prctl.sh -a28 -Xraw +prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev -prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw -prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-sched-core-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev +prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw +prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-seccomp-filter-v +prctl.sh -v prctl-securebits +prctl.sh -a25 prctl-securebits-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a25 @@ -621,15 +741,31 @@ prctl-securebits-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a12 -Xraw prctl-securebits-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a36 -Xverbose prctl-set-ptracer-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev -prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw -prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" +prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev prctl-set-ptracer-success-Xabbrev--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev +prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw prctl-set-ptracer-success-Xraw--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a27 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw +prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success-Xverbose--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a48 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose -prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +prctl-set_vma +prctl.sh +prctl-sme +prctl.sh -a21 +prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sme-Xraw +prctl.sh -a12 -Xraw +prctl-sme-Xverbose +prctl.sh -a32 -Xverbose +prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 prctl-sve +prctl.sh -a21 +prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sve-Xraw +prctl.sh -a12 -Xraw +prctl-sve-Xverbose +prctl.sh -a32 -Xverbose +prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose prctl-syscall-user-dispatch +prctl.sh -a68 prctl-tagged-addr +prctl.sh -a43 prctl-tagged-addr-Xabbrev +prctl.sh -Xabbrev -a43 @@ -663,6 +799,8 @@ process_madvise process_madvise-y --trace=process_madvise -y process_madvise-yy --trace=process_madvise -yy +process_mrelease -a24 +process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full process_vm_readv -s5 -a37 process_vm_readv--pidns-translation test_pidns -s5 -a37 -e trace=process_vm_readv process_vm_writev -s5 -a38 @@ -670,14 +808,24 @@ pselect6 pselect6_time64 ptrace -a23 -s64 -e signal=none +ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev +ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw +ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose +ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace +ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev +ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw +ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose ptrace_syscall_info -a35 -e signal=none -e trace=ptrace +ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev +ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw +ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose pwritev -a22 -s7 quotactl -quotactl-success -einject=quotactl:retval=42 -etrace=quotactl -quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-Xabbrev -Xabbrev -e trace=quotactl quotactl-Xraw -a27 -Xraw -e trace=quotactl quotactl-Xverbose -Xverbose -e trace=quotactl +quotactl-success -einject=quotactl:retval=42 -etrace=quotactl +quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-v -v -e trace=quotactl quotactl-xfs -e trace=quotactl quotactl-xfs-success -einject=quotactl:retval=42 -etrace=quotactl @@ -723,7 +871,7 @@ s390_runtime_instr -a44 s390_sthyi -a47 s390_sthyi-v -e trace=s390_sthyi -a47 -v -sched test_trace_expr times -e/sched +sched test_trace_expr 'times|times-.*' -e/sched sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max sched_rr_get_interval -a31 sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity @@ -738,6 +886,10 @@ seccomp-filter -e trace=seccomp seccomp-filter-v -v -e trace=seccomp seccomp_get_action_avail -e trace=seccomp +seccomp_get_notif_sizes -etrace=seccomp -a42 +seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42 +segv_accerr -qq --trace=none +segv_pkuerr -qq --trace=none select -a36 select-P -a36 -e trace=select -P /dev/full 9>>/dev/full semop -a32 @@ -751,6 +903,7 @@ set_mempolicy-Xabbrev -a34 -s3 -Xabbrev -e trace=set_mempolicy set_mempolicy-Xraw -a24 -s3 -Xraw -e trace=set_mempolicy set_mempolicy-Xverbose -s3 -Xverbose -e trace=set_mempolicy +set_mempolicy_home_node -a39 setdomainname -a24 setfsgid -a12 setfsgid32 -a14 @@ -799,11 +952,22 @@ sock_filter-v-Xabbrev -v -e trace=getsockopt,setsockopt -X abbrev sock_filter-v-Xraw -a 37 -v -e trace=getsockopt,setsockopt -X raw sock_filter-v-Xverbose -v -e trace=getsockopt,setsockopt -X verbose -sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -sockaddr_xlat-Xraw -Xraw -e trace=connect -sockaddr_xlat-Xverbose -Xverbose -e trace=connect +sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22 +sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xraw -Xraw -e trace=connect -a22 +sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22 +sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero socketcall -a20 sockopt-sol_netlink -e trace=getsockopt,setsockopt +sockopt-sol_socket -e trace=getsockopt,setsockopt +sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose +sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt +sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose sockopt-timestamp -e trace=recvmsg splice stat -a30 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -830,20 +994,23 @@ strace--absolute-timestamps-format-unix-precision-ns +strace-ttt.test 9 --absolute-timestamps=format:unix --absolute-timestamps=precision:ns strace--absolute-timestamps-format-unix-precision-s +strace-ttt.test 0 --absolute-timestamps=format:unix --absolute-timestamps=precision:s strace--absolute-timestamps-format-unix-precision-us +strace-ttt.test 6 --absolute-timestamps=precision:us --absolute-timestamps=format:unix +strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace--follow-forks-output-separately +strace-ff.test --follow-forks --output-separately strace--relative-timestamps +strace-r.test --relative-timestamps strace--relative-timestamps-ms +strace-r.test --relative-timestamps=ms strace--relative-timestamps-ns +strace-r.test --relative-timestamps=ns strace--relative-timestamps-s +strace-r.test --relative-timestamps=s strace--relative-timestamps-us +strace-r.test --relative-timestamps=us -strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 -strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 +strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 +strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 strace--strings-in-hex-non-ascii --trace=chdir --strings-in-hex=non-ascii --columns=12 -strace--syscall-times +strace-T.test --syscall-times -strace--syscall-times-ms +strace-T.test --syscall-times=ms -strace--syscall-times-ns +strace-T.test --syscall-times=ns -strace--syscall-times-s +strace-T.test --syscall-times=s -strace--syscall-times-us +strace-T.test --syscall-times=us +strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12 +strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12 +strace--syscall-times +strace-T_upper.test --syscall-times +strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms +strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns +strace--syscall-times-s +strace-T_upper.test --syscall-times=s +strace--syscall-times-us +strace-T_upper.test --syscall-times=us strace--timestamps +strace-t.test --timestamps strace--timestamps-time +strace-t.test --timestamps=time strace--timestamps-time-ms +strace-tt.test 3 --timestamps=time,ms @@ -854,7 +1021,9 @@ strace--timestamps-unix-ns +strace-ttt.test 9 --timestamps=unix,ns strace--timestamps-unix-s +strace-ttt.test 0 --timestamps=unix,s strace--timestamps-unix-us +strace-ttt.test 6 --timestamps=unix,us +strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace-n -e trace=listen -n -qq -a 12 +strace-no-x -e trace=chdir -a 12 strace-x -e trace=chdir -x -a 12 strace-xx -e trace=chdir -xx -a 18 swap -a23 -e trace=swapon,swapoff @@ -864,6 +1033,7 @@ sync -a7 sync_file_range sync_file_range2 +sysctl -a16 --trace=_sysctl sysinfo -a14 syslog -a35 tee @@ -878,19 +1048,31 @@ timer_xettime -e trace=timer_create,timer_settime,timer_gettime timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime times -esignal=none +times-Xabbrev -esignal=none -e trace=times -Xabbrev +times-Xraw -esignal=none -e trace=times -Xraw +times-Xverbose -esignal=none -e trace=times -Xverbose times-fail -a12 -e trace=times tkill -a12 --signal='!cont' tkill--pidns-translation test_pidns --signal='!cont' -a12 -e trace=tkill -trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock +trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock trace_creds test_trace_expr '(gset^p*(guid|groups)|caps|prctl|fl?chown|print(path-umovestr|strn-umoven)-undumpable|ptrace|quotactl|rt_sigtimedwait|rt_(tg)?sigqueueinfo).*' -e%creds trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full trace_fstatfs test_trace_expr '' -e%fstatfs trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full trace_personality_32 +qualify_personality.sh 32 'getcwd' 'fsync-y|poke' trace_personality_64 +qualify_personality.sh 64 'getcwd' 'fsync-y|poke' -trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*' -trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*' -trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*' +trace_personality_all_32 +qualify_personality_all.sh 32 +trace_personality_all_64 +qualify_personality_all.sh 64 +trace_personality_all_x32 +qualify_personality_all.sh x32 +trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs' +trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs' +trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs' trace_personality_x32 +qualify_personality.sh x32 'getcwd' 'fsync-y|poke' trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.* trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full @@ -923,6 +1105,7 @@ wait4 -esignal=none wait4-v -v -e signal=none -e trace=wait4 waitid -esignal=none +waitid-Y -Y -e signal=none -e trace=waitid waitid-v -v -e signal=none -e trace=waitid waitpid -a28 xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/get_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/get_mempolicy.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of get_mempolicy syscall. * - * Copyright (c) 2016-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2016-2022 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,15 +35,14 @@ printf("get_mempolicy(NULL, "); unsigned int nlongs = NLONGS(maxnode); - unsigned int i; - for (i = 0; i < nlongs; ++i) { + for (unsigned int i = 0; i < nlongs; ++i) { if (i) fputs(", ", stdout); if (i >= MAX_STRLEN) { fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemaski); + printf("%#0*lx", (int) sizeof(*nodemask) * 2, nodemaski); } printf(", %lu, NULL, 0) = 0\n", maxnode);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext.c
Added
@@ -0,0 +1,19 @@ +/* + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#ifdef HAVE_M32_SELINUX_RUNTIME + +# define TEST_SECONTEXT +# include "getsockname.c" + +#else + +SKIP_MAIN_UNDEFINED("HAVE_M32_SELINUX_RUNTIME") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext -a27 --secontext -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_full.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_FULL +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_full.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full -a27 --secontext=full -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full,mismatch -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/getsockname--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=mismatch -e trace=getsockname
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/gettid--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/gettid--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of gettid's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/group_req.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/group_req.c
Changed
@@ -39,7 +39,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq4); TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq6); - unsigned int i; greq6->gr_interface = greq4->gr_interface = ifindex_lo(); if (!greq4->gr_interface) @@ -89,7 +88,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ set_opt(0, optsi.level, optsi.name, optsi.val, -1U); printf("setsockopt(0, %s, %s, %p, -1) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/hexdump_strdup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/hexdump_strdup.c
Changed
@@ -25,8 +25,7 @@ char *p = dst; const unsigned char *usrc = (const unsigned char *) src; - size_t i; - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { unsigned int c = usrci; *(p++) = ' '; if (i == 8)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/hexquote_strndup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/hexquote_strndup.c
Changed
@@ -24,8 +24,7 @@ perror_msg_and_fail("malloc(%zu)", dst_size); char *p = dst; - size_t i; - for (i = 0; i < src_len; ++i) { + for (size_t i = 0; i < src_len; ++i) { unsigned int c = ((const unsigned char *) src)i; *(p++) = '\\'; *(p++) = 'x';
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/inet-cmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/inet-cmsg.c
Changed
@@ -50,8 +50,7 @@ printf("%s", name); if (len) { printf(", cmsg_data="); - size_t i; - for (i = 0; i < len; ++i) + for (size_t i = 0; i < len; ++i) printf("%s%#x", i ? ", " : "", optsi); printf(""); } @@ -134,8 +133,8 @@ ntohs(addr.sin_port), (unsigned) mh.msg_namelen, data, (unsigned) size); - struct cmsghdr *c; - for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { + for (struct cmsghdr *c = CMSG_FIRSTHDR(&mh); + c; c = CMSG_NXTHDR(&mh, c)) { if (IPPROTO_IP != c->cmsg_level) continue; if (c != control)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/init.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/init.sh
Changed
@@ -1,7 +1,7 @@ #!/bin/sh # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -26,6 +26,12 @@ printf "%s" "$*" | sed 's/.*&^$\//\\&/g' } +# Enable using string in sed s// command by escaping slash occurrences. +sed_slash_escape() +{ + printf "%s" "$*" | sed 's///\\&/g' +} + # get_config_str OPTION # # Returns the value of OPTION from config.h (path to which set @@ -53,6 +59,29 @@ fi } +# Prints personality designator of the current personality: +# 64, 32, or x32. +print_current_personality_designator() +{ + if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then + if 'x32' = "$STRACE_NATIVE_ARCH" ; then + echo x32 + else + echo "$(($SIZEOF_LONG * 8))" + fi + else + 4 -eq "$SIZEOF_LONG" || + fail_ "sizeof(long) = $SIZEOF_LONG != 4" + if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then + echo 32 + else + 8 -eq "$SIZEOF_KERNEL_LONG_T" || + fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" + echo x32 + fi + fi +} + check_prog() { type "$@" > /dev/null 2>&1 || @@ -246,7 +275,8 @@ # Usage: run_strace_match_diff args to run_strace run_strace_match_diff() { - local sed_cmd + local sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' args="$*" @@ -259,17 +289,31 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" sed_cmd="/$(sed_re_escape "$str")/,\$p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + sed_cmd="/$(sed_slash_escape "$str")/,\$p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null + args="$prog_args" run_strace "$@" $args > "$EXP" sed -n "$sed_cmd" < "$LOG" > "$OUT" match_diff "$OUT" "$EXP" @@ -419,7 +463,8 @@ test_pidns_run_strace() { - local parent_pid init_pid sed_cmd + local parent_pid init_pid sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' check_prog tail @@ -430,20 +475,36 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" str="$(sed_re_escape "${str}")" # There could be -r/-t output between pid and "+++" sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + str="$(sed_slash_escape "${str}")" + # There could be -r/-t output between pid and "+++" + sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null - run_strace --pidns-translation -f "$@" $args > "$EXP" + args="$prog_args" + run_strace --decode-pids=pidns --status=!unavailable -f "$@" $args > "$EXP" # filter out logs made by the parent or init process of the pidns test parent_pid="$(tail -n 2 $LOG | head -n 1 | cut -d' ' -f1)"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/init_delete_module.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/init_delete_module.h
Changed
@@ -3,7 +3,7 @@ * and delete_module tests. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,17 +26,14 @@ static void print_str(unsigned int base, unsigned int len, bool escape) { - unsigned int i; - if (!escape) { - for (i = base; i < (base + len); i++) + for (unsigned int i = base; i < (base + len); ++i) putc(i, stdout); - - return; + } else { + for (unsigned int i = base; i < (base + len); ++i) + printf("\\%u%u%u", + (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } - - for (i = base; i < (base + len); i++) - printf("\\%u%u%u", (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } #endif /* !STRACE_TESTS_INIT_DELETE_MODULE_H */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/io_uring_enter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_enter.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of io_uring_enter syscall. * * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -65,8 +66,9 @@ sys_io_uring_enter(fd, to_submit, min_complete, -1U, sigmask, size); printf("io_uring_enter(%u<%s>, %u, %u" ", IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP" - "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG|%#x, %s, %u) = %s\n", - fd, path, to_submit, min_complete, -1U - 15U, + "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG" + "|IORING_ENTER_REGISTERED_RING|%#x, %s, %u) = %s\n", + fd, path, to_submit, min_complete, -1U - 31U, "~HUP KILL STOP", size, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xraw -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev "../io_uring_register-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw "../io_uring_register-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose "../io_uring_register-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y "../io_uring_register-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/io_uring_register.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_register.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_register syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,21 +21,33 @@ /* From tests/bpf.c */ #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR_MAYBE(addr_) addr_ " or " +# define BIG_ADDR_MASK 0xffffffff00000000ULL #else # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #endif -#ifdef WORDS_BIGENDIAN -# define BE_LE(be_, le_) be_ +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define INJ_STR " (INJECTED)" #else -# define BE_LE(be_, le_) le_ +# define INJ_STR "" #endif -static const char *errstr; +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +static const char path_null = "/dev/null"; +static const char path_full = "/dev/full"; + +char errstr1024; static long sys_io_uring_register(unsigned int fd, unsigned int opcode, @@ -51,15 +63,83 @@ long rc = syscall(__NR_io_uring_register, arg1, arg2, arg3, arg4, bad, bad); - errstr = sprintrc(rc); + snprintf(errstr, sizeof(errstr), "%s%s", sprintrc(rc), INJ_STR); return rc; } +static void +print_rsrc_data(const struct iovec *arg_iov, const struct iovec *iov, + const int *arg_fds, const int *fds, const size_t i, + const size_t j, const void *endptr, bool upd) +{ + printf(", data="); + if (BIG_ADDR_MASK && (j & 2)) { + printf("%#llx or ", (unsigned long long) (BIG_ADDR_MASK | + (j & 1 ? i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds : 0))); + } + if (!(j & 1)) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_data_end; + if (i) { + printf("{iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}", + iov0.iov_base, (unsigned long) iov0.iov_len, + iov1.iov_base, (unsigned long) iov1.iov_len); + } else { + printf("%u<%s>, %u<%s>, -1, %s, -3", + fds0, path_full, fds1, path_null, + upd ? XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + : "-2"); + } + if (j & 16) + printf(", ... /* %p */", endptr); +print_rsrc_data_end: + printf(""); +} + +static void +print_rsrc_tags(const uint64_t *arg_tags, const uint64_t *tags, const size_t i, + const size_t j, const void *endptr) +{ + printf(", tags="); + if (BIG_ADDR_MASK && (j & 8)) { + printf("%#llx or ", (unsigned long long) ( + BIG_ADDR_MASK | (j & 4 ? 0 + : (uintptr_t) (arg_tags + 1 + i * 3 - !!(j & 64))))); + } + if (j & 4) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_tags_end; + if (i) { + printf("%s0xbadc0deddadfaced%s", + j & 64 ? "0xfacefeed, " : "", j & 64 ? "" : ", 0"); + } else { + printf("%s0x1, 0xdead, 0xfacefeed, 0xbadc0deddadfaced%s", + j & 64 ? "0x1337, " : "", j & 64 ? "" : ", 0"); + } + if (j & 16) { + if (j & 64) + printf(", 0"); + else + printf(", ... /* %p */", endptr); + } +print_rsrc_tags_end: + printf(""); +} + int main(void) { - static const char path_null = "/dev/null"; - static const char path_full = "/dev/full"; const struct iovec iov = { { .iov_base = (void *) (unsigned long) 0xfacefeedcafef00d, @@ -74,6 +154,7 @@ skip_if_unavailable("/proc/self/fd/"); + close(0); /* Trying to get fd 0 for /dev/null */ int fd_null = open(path_null, O_RDONLY); if (fd_null < 0) perror_msg_and_fail("open: %s", path_null); @@ -82,20 +163,25 @@ if (fd_full < 0) perror_msg_and_fail("open: %s", path_full); - int fds = { fd_full, fd_null }; + int fds = { fd_full, fd_null, -1, -2, -3 }; + const char *pathsARRAY_SIZE(fds) = { path_full, path_null }; const int *arg_fds = tail_memdup(fds, sizeof(fds)); - static const unsigned int invalid_ops = { 0xbadc0dedU, 19 }; + + /* Invalid op */ + static const unsigned int invalid_ops = { 0xbadc0dedU, 24 }; for (size_t i = 0; i < ARRAY_SIZE(invalid_ops); i++) { sys_io_uring_register(fd_null, invalid_opsi, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %#x /* IORING_REGISTER_??? */" - ", %p, %u) = %s\n", + printf("io_uring_register(%u<%s>, %#x" + NRAW(" /* IORING_REGISTER_??? */") ", %p, %u) = %s\n", fd_null, path_null, invalid_opsi, path_null, 0xdeadbeef, errstr); } + + /* Operations without an argument */ static const struct { unsigned int op; const char *str; @@ -105,18 +191,24 @@ { 5, "IORING_UNREGISTER_EVENTFD" }, { 9, "IORING_REGISTER_PERSONALITY" }, { 10, "IORING_UNREGISTER_PERSONALITY" }, + { 12, "IORING_REGISTER_ENABLE_RINGS" }, + { 18, "IORING_UNREGISTER_IOWQ_AFF" }, }; for (size_t i = 0; i < ARRAY_SIZE(no_arg_ops); i++) { sys_io_uring_register(fd_null, no_arg_opsi.op, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %s, %p, %u) = %s\n", - fd_null, path_null, no_arg_opsi.str, path_null, - 0xdeadbeef, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(no_arg_opsi.op, no_arg_opsi.str), + path_null, 0xdeadbeef, errstr); } + + /* IORING_REGISTER_BUFFERS */ sys_io_uring_register(fd_null, 0, arg_iov, ARRAY_SIZE(iov)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_BUFFERS" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0, "IORING_REGISTER_BUFFERS") ", {iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}" ", %u) = %s\n", fd_null, path_null, iov0.iov_base, @@ -124,6 +216,8 @@ iov1.iov_base, (unsigned long) iov1.iov_len, (unsigned int) ARRAY_SIZE(iov), errstr); + + /* Operations with an fd array argument */ static const struct { unsigned int op; const char *str; @@ -136,24 +230,29 @@ for (size_t i = 0; i < ARRAY_SIZE(fd_arr_ops); i++) { sys_io_uring_register(fd_null, fd_arr_opsi.op, arg_fds, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, %s, %u<%s>, %u<%s>, %u)" - " = %s\n", - fd_null, path_null, fd_arr_opsi.str, + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", %u<%s>, %u<%s>, -1, -2, -3, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(fd_arr_opsi.op, fd_arr_opsi.str), fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); } + + /* IORING_REGISTER_FILES_UPDATE */ struct io_uring_files_update bogus_iufu; struct io_uring_files_update iufu; sys_io_uring_register(fd_null, 6, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", NULL, 4207869677) = %s\n", fd_null, path_null, errstr); fill_memory(&bogus_iufu, sizeof(bogus_iufu)); sys_io_uring_register(fd_null, 6, &bogus_iufu, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", {offset=%" PRIu32 ", resv=%#" PRIx32 ", fds=" BIG_ADDR_MAYBE(BE_LE("0x88898a8b8c8d8e8f", "0x8f8e8d8c8b8a8988")) "}, 0) = %s\n", @@ -165,47 +264,72 @@ iufu.offset = 0xdeadc0deU; iufu.fds = (uintptr_t) fds; sys_io_uring_register(fd_null, 6, &iufu, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" - ", {offset=3735929054, fds=%u<%s>, %u<%s>}, %u) = %s\n", + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") + ", {offset=3735929054, fds=%u<%s>, %u<%s>, -1, " + XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + ", -3}, %u) = %s\n", fd_null, path_null, fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); struct io_uring_probe *probe = tail_alloc(sizeof(*probe) + (DEFAULT_STRLEN + 1) * sizeof(struct io_uring_probe_op)); + + /* IORING_REGISTER_PROBE */ sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, 4207869677) = %s\n", - fd_null, path_null, errstr); + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, 4207869677) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), probe, + errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, (char *) probe + 1, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, %d) = %s\n", - fd_null, path_null, (char *) probe + 1, DEFAULT_STRLEN + 1, - errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %d) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + (char *) probe + 1, DEFAULT_STRLEN + 1, errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=%u /* IORING_OP_??? */, ops_len=%hhu, resv=%#hx" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->last_op, probe->ops_len, probe->resv, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=%u" + NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu, resv=%#hx" + ", resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=%u" NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu" + ", resv=%#hx, resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_READV; probe->resv = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_READV, ops_len=%hhu" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->ops_len, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu" + ", resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_EPOLL_CTL; probe->resv20 = 0; @@ -216,12 +340,12 @@ probe->ops0.flags = 0; probe->ops0.resv2 = 0xbeefface; - probe->ops1.op = 36; + probe->ops1.op = 46; probe->ops1.resv = 0; probe->ops1.flags = IO_URING_OP_SUPPORTED; probe->ops1.resv2 = 0xdeadc0de; - probe->ops2.op = 37; + probe->ops2.op = 47; probe->ops2.resv = 0xaf; probe->ops2.flags = 0xbeef; probe->ops2.resv2 = 0; @@ -232,45 +356,780 @@ probe->ops3.resv2 = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 4); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_EPOLL_CTL, ops_len=%hhu" - ", resv2=0, %#x, 0, ops=" - "{op=IORING_OP_NOP, resv=0xde, flags=0, resv2=0xbeefface}, " - "{op=IORING_OP_UNLINKAT, flags=IO_URING_OP_SUPPORTED" - ", resv2=0xdeadc0de}, " - "{op=37 /* IORING_OP_??? */, resv=0xaf" - ", flags=IO_URING_OP_SUPPORTED|0xbeee}, " - "{op=254 /* IORING_OP_??? */" - ", flags=0xc0de /* IO_URING_OP_??? */}}, 4) = %s\n", - fd_null, path_null, probe->ops_len, probe->resv21, errstr); - - probe->last_op = 37; + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=0, %#x, 0, ops=" + "{op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}, " + "{op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}, " + "{op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu, resv2=0, %#x, 0, " + "ops={op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}" + ", {op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}" + ", {op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}, ...}" +#endif + ", 4) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#endif + errstr); + + probe->last_op = 47; probe->resv21 = 0; fill_memory_ex(probe->ops, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1), 0x40, 0x80); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=37 /* IORING_OP_??? */, ops_len=%hhu, ops=", - fd_null, path_null, probe->ops_len); - for (size_t i = 0; i < DEFAULT_STRLEN; i++) { - printf("%s{op=%u /* IORING_OP_??? */, resv=%#hhx" - ", flags=%s%#hx%s, resv2=%#x}", - i ? ", " : "", - probe->opsi.op, probe->opsi.resv, - probe->opsi.flags & 1 ? "IO_URING_OP_SUPPORTED|" : "", - (typeof(probe->opsi.flags)) (probe->opsi.flags & ~1), - probe->opsi.flags & 1 ? "" : " /* IO_URING_OP_??? */", - probe->opsi.resv2); + printf("io_uring_register(%u<%s>, " XLAT_FMT, + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE)); + for (size_t c = 0; c < 1 + RETVAL_INJECTED; c++) { + printf("%s{last_op=47" NRAW(" /* IORING_OP_??? */") + ", ops_len=%hhu, ops=", + c ? " => " : ", ", probe->ops_len); + for (size_t i = 0; i < DEFAULT_STRLEN; i++) { + printf("%s{op=%u" NRAW(" /* IORING_OP_??? */") + ", resv=%#hhx, flags=", + i ? ", " : "", probe->opsi.op, + probe->opsi.resv); +#if XLAT_RAW + printf("%#hx", + (typeof(probe->opsi.flags)) + (probe->opsi.flags)); +#else /* !XLAT_RAW */ + if (probe->opsi.flags & 1) { + printf(VERB("%#hx /* ") "IO_URING_OP_SUPPORTED" + "|%#hx" VERB(" */"), +# if XLAT_VERBOSE + probe->opsi.flags, +# endif + (uint16_t) (probe->opsi.flags & ~1)); + } else { + printf("%#hx /* IO_URING_OP_??? */", + probe->opsi.flags); + } +#endif /* XLAT_RAW */ + printf(", resv2=%#x}", probe->opsi.resv2); + } + printf(", ...}"); } - printf(", ...}, %d) = %s\n", DEFAULT_STRLEN + 1, errstr); + printf(", %d) = %s\n", DEFAULT_STRLEN + 1, errstr); probe->last_op = 0; probe->ops_len = 0; memset(probe->ops, 0, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1)); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 8); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE, %p, 8) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", " +#if RETVAL_INJECTED + "{last_op=" XLAT_KNOWN(0, "IORING_OP_NOP") ", ops_len=0, ops=}" +#else + "%p" +#endif + ", 8) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), +#if !RETVAL_INJECTED + probe, +#endif + errstr); + + + /* IORING_REGISTER_RESTRICTIONS */ + static const struct { + uint16_t opcode; + const char *opcode_str; + bool opcode_known; + const char *op_pfx; + uint8_t op; + const char *op_str; + bool op_known; + } restrictions_data = { + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_REGISTER_BUFFERS), true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_UNREGISTER_PBUF_RING), + true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 24, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 255, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_NOP), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_URING_CMD), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 47, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 255, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 64, "IOSQE_CQE_SKIP_SUCCESS", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0xff, "IOSQE_FIXED_FILE|IOSQE_IO_DRAIN" + "|IOSQE_IO_LINK|IOSQE_IO_HARDLINK" + "|IOSQE_ASYNC|IOSQE_BUFFER_SELECT" + "|IOSQE_CQE_SKIP_SUCCESS" + "|0x80", + true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 1, "IOSQE_FIXED_FILE", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 192, "IOSQE_CQE_SKIP_SUCCESS|0x80", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 239 }, + { 137, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + }; + struct io_uring_restriction *restrictions = + tail_alloc(sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data)); + char *restrictions_end = (char *) (restrictions + + ARRAY_SIZE(restrictions_data)); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, NULL, + 0xfacefeed); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", NULL, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end, errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end - sizeof(*restrictions) + 1, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end - sizeof(*restrictions) + 1, errstr); + + struct io_uring_restriction *p = + restrictions + ARRAY_SIZE(restrictions_data) - 1; + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + memset(p, 0, sizeof(*restrictions)); + p->opcode = restrictions_datai.opcode; + p->sqe_flags = restrictions_datai.op; + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + p, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {opcode=", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" : restrictions_datai.opcode_str, + restrictions_datai.op); + } + printf("}, 1) = %s\n", errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + restrictionsi.opcode = restrictions_datai.opcode; + restrictionsi.sqe_op = restrictions_datai.op; + restrictionsi.resv = i & 1 ? 0x70 + i * 7 : 0; + restrictionsi.resv20 = i & 2 ? 0x80808080 | i * 0x1020304 + : 0; + restrictionsi.resv21 = i & 4 ? 0x80808080 | i * 0x4030201 + : 0; + restrictionsi.resv22 = i & 8 ? 0x08080808 | i * 0x40302010 + : 0; + } + + for (size_t j = 0; j < 3; j++) { + if (j == 2) { + memmove(((char *) restrictions) + 4, restrictions, + sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data) - 4); + } + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + ((char *) restrictions) + 4 * !!(j == 2), + ARRAY_SIZE(restrictions_data) + + !!(j == 1)); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + + for (unsigned int i = 0; + i < ARRAY_SIZE(restrictions_data) - !!(j == 2); i++) { + printf("%s{opcode=", i ? ", " : ""); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" + : restrictions_datai.opcode_str, + restrictions_datai.op); + } + + if (i & 1) { + printf(", resv=%#hhx", + (unsigned char) (0x70 + i * 7)); + } + if (i & 0xe) { + printf(", resv2=%#x, %#x, %#x", + i & 2 ? 0x80808080 | i * 0x1020304 : 0, + i & 4 ? 0x80808080 | i * 0x4030201 : 0, + i & 8 ? 0x08080808 | i * 0x40302010 : 0); + } + + printf("}"); + } + + if (j) { + printf(", ... /* %p */", + j == 1 ? restrictions_end + : restrictions_end - sizeof(*restrictions) + + 4); + } + printf(", %zu) = %s\n", + ARRAY_SIZE(restrictions_data) + !!(j == 1), errstr); + } + + + /* IORING_REGISTER_FILES2, IORING_REGISTER_BUFFERS2 */ + static const struct { + unsigned int op; + const char *str; + } rsrc_reg_ops = { + { 13, "IORING_REGISTER_FILES2" }, + { 15, "IORING_REGISTER_BUFFERS2" }, + }; + static const struct strval32 rsrc_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "IORING_RSRC_REGISTER_SPARSE") }, + { ARG_XLAT_UNKNOWN(0x2, "IORING_RSRC_REGISTER_???") }, + { ARG_XLAT_KNOWN(0xbadc0ded, + "IORING_RSRC_REGISTER_SPARSE|0xbadc0dec") }, + }; + static const uint64_t tags = { 0x1337, 1, 0xdead, 0xfacefeed, + 0xbadc0deddadfacedULL, 0 }; + const uint64_t *arg_tags = tail_memdup(tags, sizeof(tags)); + + struct io_uring_rsrc_register *bogus_rsrc_reg = tail_alloc(24); + struct io_uring_rsrc_register *rsrc_reg = tail_alloc(sizeof(*rsrc_reg)); + struct io_uring_rsrc_register *big_rsrc_reg = + tail_alloc(sizeof(*big_rsrc_reg) + 8); + + fill_memory(big_rsrc_reg, sizeof(*big_rsrc_reg) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_reg_ops); i++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, rsrc_reg_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_reg, 24 }, + { bogus_rsrc_reg, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_reg->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_reg->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_reg->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_reg->nr); + + rsrc_reg->data &= ~-!(j & 1); + rsrc_reg->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_reg->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_reg->tags &= ~-!!(j & 4); + rsrc_reg->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_reg->nr += !!(j & 16); + rsrc_reg->nr &= ~-!(j & 32); + + rsrc_reg->flags = ARR_ITEM(rsrc_flags, j >> 6).val; + rsrc_reg->resv2 = j & 128 ? 0xfacecafebeeffeedULL : 0; + + memcpy(big_rsrc_reg, rsrc_reg, sizeof(*rsrc_reg)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_reg_opsi.op, + k > 2 ? big_rsrc_reg + : rsrc_reg, + sizeof(*rsrc_reg) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {nr=%zu, flags=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + ARR_ITEM(rsrc_flags, j >> 6).str, + j & 128 ? ", resv2=0xfacecafebeeffeed" + : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, false); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_reg) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_FILES_UPDATE2, IORING_REGISTER_BUFFERS_UPDATE */ + static const struct { + unsigned int op; + const char *str; + } rsrc_upd_ops = { + { 14, "IORING_REGISTER_FILES_UPDATE2" }, + { 16, "IORING_REGISTER_BUFFERS_UPDATE" }, + }; + + struct io_uring_rsrc_update2 *bogus_rsrc_upd = tail_alloc(24); + struct io_uring_rsrc_update2 *rsrc_upd = tail_alloc(sizeof(*rsrc_upd)); + struct io_uring_rsrc_update2 *big_rsrc_upd = + tail_alloc(sizeof(*big_rsrc_upd) + 8); + + fill_memory(big_rsrc_upd, sizeof(*big_rsrc_upd) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_upd_ops); i++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, rsrc_upd_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_upd, 24 }, + { bogus_rsrc_upd, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_upd->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_upd->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_upd->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_upd->nr); + + rsrc_upd->data &= ~-!(j & 1); + rsrc_upd->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_upd->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_upd->tags &= ~-!!(j & 4); + rsrc_upd->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_upd->nr += !!(j & 16); + rsrc_upd->nr &= ~-!(j & 32); + + rsrc_upd->resv = j & 64 ? 0xbadc0ded : 0; + rsrc_upd->resv2 = j & 128 ? 0xfacecafe : 0; + + rsrc_upd->offset = j % 3 ? 0 : 0xdeadface; + + memcpy(big_rsrc_upd, rsrc_upd, sizeof(*rsrc_upd)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_upd_opsi.op, + k > 2 ? big_rsrc_upd + : rsrc_upd, + sizeof(*rsrc_upd) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {offset=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + j % 3 ? "0" : "3735943886", + j & 64 ? ", resv=0xbadc0ded" : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, true); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + printf(", nr=%zu%s", + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + j & 128 ? ", resv2=0xfacecafe" + : ""); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_upd) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_IOWQ_AFF */ + unsigned long aff = { + (unsigned long) 0xbadc0deddadfacedULL, + (unsigned long) 0xfacefeeddeadbeefULL, + }; + const unsigned long *arg_aff = tail_memdup(aff, sizeof(aff)); + const unsigned long *arg_aff_end = arg_aff + ARRAY_SIZE(aff); + + sys_io_uring_register(fd_null, 17, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, 1) = %s\n", + fd_null, path_null, arg_aff_end, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") +#ifdef WORDS_BIGENDIAN +# if SIZEOF_LONG > 4 + ", 49 50 51 54 55 57 59 60 61 62 63" /* face */ +# else + ", 16 18 19 21 23 25 26 27 28 30 31" /* dead */ +# endif +#else + ", 0 1 2 3 5 6 7 9 10 11 12 13 15" /* beef */ +#endif /* WORDS_BIGENDIAN */ + ", 2) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, %zu) = %s\n", + fd_null, path_null, arg_aff + 1, sizeof(aff), errstr); + + sys_io_uring_register(fd_null, 17, arg_aff, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", " + "0 2 3 5 6 7 10 11 13 15" /* aced */ + " 16 17 18 19 20 22 23 25 27 28 30 31" /* dadf */ +#if SIZEOF_LONG > 4 + " 32 34 35 37 38 39 40 42 43" /* 0ded */ + " 50 51 52 54 55 57 59 60 61 63" /* badc */ + " 64 65 66 67 69 70 71 73 74 75 76 77 79" /* beef */ + " 80 82 83 85 87 89 90 91 92 94 95" /* dead feed */ + " 96 98 99 101 102 103 105 106 107 108 109 110 111" + " 113 114 115 118 119 121 123 124 125 126 127"/*face*/ +#else + " 32 33 34 35 37 38 39 41 42 43 44 45 47" /* beef */ + " 48 50 51 53 55 57 58 59 60 62 63" /* dead */ +#endif + ", %zu) = %s\n", + fd_null, path_null, sizeof(aff), errstr); + + + /* IORING_REGISTER_IOWQ_MAX_WORKERS */ + unsigned int maxw = { 0, 1, 0xbedfaced }; + const unsigned int *arg_maxw = tail_memdup(maxw, sizeof(maxw)); + const unsigned int *arg_maxw_end = arg_maxw + ARRAY_SIZE(maxw); + + sys_io_uring_register(fd_null, 19, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", %p, 1) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end - 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + XLAT_KNOWN(0, "IO_WQ_BOUND") "=3202329837, ... /* %p */" + ", 2) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw, 3); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837 => " +#if RETVAL_INJECTED + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837" +#else + "%p" +#endif + ", 3) = %s\n", + fd_null, path_null, +#if !RETVAL_INJECTED + arg_maxw, +#endif + errstr); + + + /* IORING_REGISTER_RING_FDS, IORING_UNREGISTER_RING_FDS */ + static const struct { + unsigned int op; + const char *str; + } ringfd_ops = { + { 20, "IORING_REGISTER_RING_FDS" }, + { 21, "IORING_UNREGISTER_RING_FDS" }, + }; + + static const size_t ringfd_count = DEFAULT_STRLEN + 1; + static const uint32_t ringfd_off = + { -1U, 0, 1, 2, 161803398, 3141592653, -2U }; + TAIL_ALLOC_OBJECT_VAR_ARR(struct io_uring_rsrc_update, ringfds, + ringfd_count); + + fill_memory(ringfds, sizeof(*ringfds) * ringfd_count); + for (size_t i = 0; i < ringfd_count; i++) { + ringfdsi.offset = ARR_ITEM(ringfd_off, i); + ringfdsi.resv = i % 2 ? i * 0x1010101 : 0; + ringfdsi.data = (i % 4 ? 0xbadc0ded00000000ULL : 0) + | ARR_ITEM(fds, i); + } + + for (size_t i = 0; i < ARRAY_SIZE(ringfd_ops); i++) { + sys_io_uring_register(fd_null, ringfd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + ringfds + ringfd_count, errstr); + + /* offs:sz: 33-31:32, 33-32:32, 33-32:33, 33-33:33 */ + for (size_t j = 0; j < 4; j++) { + const size_t offs = (4 - j) / 2; + const size_t sz = 32 + j / 2; + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + offs, sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str)); + for (uint32_t k = offs; k < MIN(ringfd_count, + DEFAULT_STRLEN + offs); + k++) { + printf("%s{offset=", k != offs ? ", " : ""); + printf(ringfd_opsi.op == 21 || + k % ARRAY_SIZE(ringfd_off) ? "%u" : "%d", + ARR_ITEM(ringfd_off, k)); + if (k % 2) + printf(", resv=%#x", k * 0x1010101); + + const size_t fdid = k % ARRAY_SIZE(fds); + if (ringfd_opsi.op == 20) { + printf(", data=%d%s%s%s", + fdsfdid, + pathsfdid ? "<": "", + pathsfdid ? pathsfdid : "", + pathsfdid ? ">": ""); + } else { + if (!((k % ARRAY_SIZE(fds) == 1) + && !(k % 4))) { + printf(", data=%#llx", + (k % 4 + ? 0xbadc0ded00000000ULL + : 0) | fdsfdid); + } + } + printf("}"); + } + if (j != 1) + printf(", ..."); + if (!(j % 2)) + printf(" /* %p */", ringfds + ringfd_count); + printf(", %zu) = %s\n", sz, errstr); + } + } + + + /* IORING_REGISTER_PBUF_RING, IORING_UNREGISTER_PBUF_RING */ + static const struct { + unsigned int op; + const char *str; + } buf_reg_ops = { + { 22, "IORING_REGISTER_PBUF_RING" }, + { 23, "IORING_UNREGISTER_PBUF_RING" }, + }; + TAIL_ALLOC_OBJECT_VAR_PTR(struct io_uring_buf_reg, buf_reg); + + for (size_t i = 0; i < ARRAY_SIZE(buf_reg_ops); i++) { + sys_io_uring_register(fd_null, buf_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg + 1, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 0) = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + buf_reg + 1, errstr); + + for (size_t j = 0; j < 256; j++) { + memset(buf_reg, 0, sizeof(*buf_reg)); + buf_reg->ring_addr = j & 2 ? (uintptr_t) buf_reg : 0; + buf_reg->ring_entries = j & 4 ? 3141592653 : 0; + buf_reg->bgid = j & 8 ? 42069 : 0; + buf_reg->pad = j & 16 ? 31337 : 0; + buf_reg->resv0 = j & 32 ? 0xbadc0deddeadfaceULL : 0; + buf_reg->resv1 = j & 64 ? 0xdecaffedbeefdeadULL : 0; + buf_reg->resv2 = j & 128 ? 0xbadc0dedfacefeedULL : 0; + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg, 0x42); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {ring_addr=", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str)); + if (j & 2) + printf("%p", buf_reg); + else + printf("NULL"); + printf(", ring_entries=%s, bgid=%s%s", + j & 4 ? "3141592653" : "0", + j & 8 ? "42069" : "0", + j & 16 ? ", pad=0x7a69" : ""); + if (j & 0xe0) { + printf(", resv=%s, %s, %s", + j & 32 ? "0xbadc0deddeadface" : "0", + j & 64 ? "0xdecaffedbeefdead" : "0", + j & 128 ? "0xbadc0dedfacefeed" : "0"); + } + printf("}, 66) = %s\n", errstr); + } + } puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/io_uring_setup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/io_uring_setup.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_setup syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -25,7 +25,6 @@ #include "xlat.h" #include "xlat/uring_setup_features.h" -#include "xlat/uring_cqring_flags.h" static const char *errstr; @@ -69,9 +68,11 @@ printf("io_uring_setup(%u, {flags=IORING_SETUP_IOPOLL" "|IORING_SETUP_SQPOLL|IORING_SETUP_SQ_AFF|IORING_SETUP_CQSIZE" "|IORING_SETUP_CLAMP|IORING_SETUP_ATTACH_WQ" - "|IORING_SETUP_R_DISABLED|%#x" + "|IORING_SETUP_R_DISABLED|IORING_SETUP_SUBMIT_ALL" + "|IORING_SETUP_COOP_TASKRUN|IORING_SETUP_TASKRUN_FLAG" + "|IORING_SETUP_SQE128|IORING_SETUP_CQE32|%#x" ", sq_thread_cpu=%#x, sq_thread_idle=%u, wq_fd=%d, resv=", - 1, -1U - 127, params->sq_thread_cpu, params->sq_thread_idle, + 1, -1U - 0xfff, params->sq_thread_cpu, params->sq_thread_idle, params->wq_fd); for (unsigned int i = 0; i < ARRAY_SIZE(params->resv); ++i) printf("%s%#x", i != 0 ? ", " : "", params->resvi); @@ -115,16 +116,15 @@ params->sq_off.resv2); printf("}, cq_off={head=%u, tail=%u, ring_mask=%u" - ", ring_entries=%u, overflow=%u, cqes=%u, flags=", + ", ring_entries=%u, overflow=%u, cqes=%u" + ", flags=%u", params->cq_off.head, params->cq_off.tail, params->cq_off.ring_mask, params->cq_off.ring_entries, params->cq_off.overflow, - params->cq_off.cqes); - printflags(uring_cqring_flags, - params->cq_off.flags, - "IORING_CQ_???"); + params->cq_off.cqes, + params->cq_off.flags); if (params->cq_off.resv1) printf(", resv1=%#x", params->cq_off.resv1); if (params->cq_off.resv2)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_block--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_block--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of ioctl(BLK*) syscall decoding. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_block.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_block.c
Changed
@@ -66,6 +66,7 @@ TEST_NULL_ARG(BLKROTATIONAL); TEST_NULL_ARG(BLKSECDISCARD); TEST_NULL_ARG(BLKZEROOUT); + TEST_NULL_ARG(BLKGETDISKSEQ); TEST_NULL_ARG(BLKTRACESETUP); ioctl(-1, BLKRASET, lmagic); @@ -153,8 +154,7 @@ buts->start_lba, buts->end_lba, buts->pid, pidns_pid2str(PT_TGID)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(block_argless); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(block_argless); ++i) { ioctl(-1, (unsigned long) block_arglessi.val, lmagic); pidns_print_leader(); printf("ioctl(-1, %s) = -1 EBADF (%m)\n", block_arglessi.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev); do not edit. +set -- -a39 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose); do not edit. +set -- -a52 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter.c
Added
@@ -0,0 +1,133 @@ +/* + * Check decoding of COUNTER_* commands of ioctl syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com>. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include <linux/ioctl.h> +#include <linux/counter.h> + + +/* A hack for handling different types of _IOC() on various platforms */ +#if XLAT_RAW +# define XLAT_ARGS_U(a_) (unsigned int) (a_) +#elif XLAT_VERBOSE +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ +#else +# define XLAT_ARGS_U(a_) #a_ +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + /* Unknown counter ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 1) { + sys_ioctl(-1, _IOC(dirsi.val, '>', 3, j), magic); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x3e, 0x3, %#x)") + ", %#lx) = %s\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '>', 3, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + /* COUNTER_ADD_WATCH_IOCTL */ + static const struct { + struct counter_watch val;; + const char *str; + } watches = { + { { { 0 } }, + "{component={type=" XLAT_KNOWN(0, "COUNTER_COMPONENT_NONE") + ", scope=" XLAT_KNOWN(0, "COUNTER_SCOPE_DEVICE") + ", parent=0, id=0}" + ", event=" XLAT_KNOWN(0, "COUNTER_EVENT_OVERFLOW") + ", channel=0}" }, + { { { COUNTER_COMPONENT_EXTENSION, COUNTER_SCOPE_COUNT, + 23, 42 }, COUNTER_EVENT_CAPTURE, 69 }, + "{component=" + "{type=" XLAT_KNOWN(0x5, "COUNTER_COMPONENT_EXTENSION") + ", scope=" XLAT_KNOWN(0x2, "COUNTER_SCOPE_COUNT") + ", parent=23, id=42}" + ", event=" XLAT_KNOWN(0x6, "COUNTER_EVENT_CAPTURE") + ", channel=69}" }, + { { { COUNTER_COMPONENT_EXTENSION + 1, COUNTER_SCOPE_COUNT + 1, + 142, 160 }, COUNTER_EVENT_CAPTURE + 1, 173 }, + "{component={type=" XLAT_UNKNOWN(0x6, "COUNTER_COMPONENT_???") + ", scope=" XLAT_UNKNOWN(0x3, "COUNTER_SCOPE_???") + ", parent=142, id=160}" + ", event=" XLAT_UNKNOWN(0x7, "COUNTER_EVENT_???") + ", channel=173}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct counter_watch, watch); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), errstr); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + (char *) watch + 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(watches); i++) { + memcpy(watch, &watchesi.val, sizeof(watchesi.val)); + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + watchesi.str, errstr); + } + + /* COUNTER_ENABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_ENABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_ENABLE_EVENTS_IOCTL), errstr); + + /* COUNTER_DISABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_DISABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_DISABLE_EVENTS_IOCTL), errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_counter.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter +ioctl.test -a39); do not edit. +set -- -a39 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_dm.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_dm.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Mikulas Patocka <mpatocka@redhat.com> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -51,9 +51,8 @@ } ts; struct { struct dm_target_msg target_msg; - char target_string256; } tm; - char string256; + char string256 + sizeof(struct dm_target_msg); } u; } s; @@ -176,7 +175,6 @@ long rc; const char *errstr; - unsigned int i; /* Incorrect operation */ @@ -212,33 +210,33 @@ dm_arg->version1 = 0xbadc0dee; dm_arg->version2 = 0xbadc0def; ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" - " /* unsupported device mapper ABI version */}) = " + printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" + " /* unsupported device mapper ABI version */}) = " "-1 EBADF (%m)\n", 0xbadc0ded, 0xbadc0dee, 0xbadc0def); /* Incorrect data_size */ init_s(dm_arg, 14, 64); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" - " /* data_size too small */}) = -1 EBADF (%m)\n"); + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" + " /* data_size too small */}) = -1 EBADF (%m)\n"); /* Unterminated name/uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); memcpy(dm_arg->name, str129, sizeof(dm_arg->name)); memcpy(dm_arg->uuid, str129, sizeof(dm_arg->uuid)); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"%.127s\"..., uuid=\"%.128s\"..., " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl, str129, str129); /* Normal call */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " - "-1 EBADF (%m)\n", min_sizeof_dm_ioctl); + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0})" + " = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Zero dev, name, uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); @@ -248,7 +246,7 @@ dm_arg->uuid0 = '\0'; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%u, flags=0}) = " + "{version=4, 1, 2, data_size=%u, flags=0}) = " "-1 EBADF (%m)\n", 0xfacefeed); /* Flag */ @@ -256,7 +254,7 @@ dm_arg->flags = 0xffffffff; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=" "DM_READONLY_FLAG|DM_SUSPEND_FLAG|DM_EXISTS_FLAG|" "DM_PERSISTENT_DEV_FLAG|DM_STATUS_TABLE_FLAG|" @@ -265,26 +263,26 @@ "DM_NOFLUSH_FLAG|DM_QUERY_INACTIVE_TABLE_FLAG|" "DM_UEVENT_GENERATED_FLAG|DM_UUID_FLAG|DM_SECURE_DATA_FLAG|" "DM_DATA_OUT_FLAG|DM_DEFERRED_REMOVE|DM_INTERNAL_SUSPEND_FLAG|" - "0xfff80080}) = -1 EBADF (%m)\n", + "DM_IMA_MEASUREMENT_FLAG|0xfff00080}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Normal call */ init_s(&s.ioc, sizeof(s.ioc), 0); ioctl(-1, DM_VERSION, &s); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " "-1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_REMOVE_ALL */ /* DM_LIST_DEVICES */ /* DM_LIST_VERSIONS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmds_nodevi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " - "flags=0}) = -1 EBADF (%m)\n", + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmds_nodevi.str, min_sizeof_dm_ioctl, dummy_check_cmds_nodevi.has_params ? @@ -299,12 +297,12 @@ /* DM_TABLE_CLEAR */ /* DM_TABLE_DEPS */ /* DM_TABLE_STATUS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmdsi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\"%s, " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmdsi.str, min_sizeof_dm_ioctl, dummy_check_cmdsi.has_params ? ", data_start=0" : "", dummy_check_cmdsi.has_event_nr ? ", event_nr=0" : ""); @@ -317,17 +315,17 @@ s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); init_s(&s.ioc, sizeof(s.ioc), 0); s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " + "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " "name=\"nnn\", uuid=\"uuu\", event_nr=3134983661, " - "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_TABLE_LOAD */ @@ -341,16 +339,16 @@ strcpy(s.u.ts.target_params, "tparams"); ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1, flags=0, " + "target_count=1, flags=0}, " #if VERBOSE "{sector_start=16, length=32, target_type=\"tgt\", " "string=\"tparams\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* No targets */ init_s(dm_arg, min_sizeof_dm_ioctl, min_sizeof_dm_ioctl); @@ -358,9 +356,9 @@ dm_arg->target_count = 0; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=0, flags=0}) = -1 EBADF (%m)\n", + "target_count=0, flags=0}) = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -369,15 +367,15 @@ dm_arg->target_count = 1234; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1234, flags=0, " + "target_count=1234, flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); /* Inaccessible pointer */ init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), @@ -386,15 +384,15 @@ dm_arg_open1->ioc.target_count = 0xdeaddea1; ioctl(-1, DM_TABLE_LOAD, dm_arg_open1); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3735936673, flags=0, " + "target_count=3735936673, flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), + ") = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), offsetof(struct dm_table_open_test, target1) #if VERBOSE , (char *) dm_arg_open1 + @@ -414,9 +412,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open2); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=2, flags=0, ", + "target_count=2, flags=0}, ", sizeof(*dm_arg_open2), offsetof(struct dm_table_open_test, target1)); #if VERBOSE @@ -429,7 +427,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Incorrect next */ init_s(&dm_arg_open3->ioc, offsetof(struct dm_table_open_test, target5), @@ -458,9 +456,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4, flags=0, ", + "target_count=4, flags=0}, ", offsetof(struct dm_table_open_test, target5), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -473,7 +471,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); #define FILL_DM_TARGET(id, id_next) \ do { \ @@ -509,9 +507,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3134983661, flags=0, ", + "target_count=3134983661, flags=0}, ", sizeof(*dm_arg_open3), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -525,7 +523,7 @@ PRINT_DM_TARGET(7); PRINT_DM_TARGET(8); #endif /* VERBOSE */ - printf("...}) = %s\n", errstr); + printf("...) = %s\n", errstr); /* DM_TARGET_MSG */ @@ -535,14 +533,14 @@ "long target msg"); ioctl(-1, DM_TARGET_MSG, &s); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "{sector=4660, message=\"long targ\"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* Invalid data_start */ @@ -550,14 +548,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -565,14 +563,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xffffffff); /* Inaccessible pointer */ @@ -581,14 +579,14 @@ dm_arg->data_start = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg) + sizeof(struct dm_target_msg), sizeof(*dm_arg) #if VERBOSE @@ -604,8 +602,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg) + 1, offsetof(struct dm_target_msg_test, msg)); #if VERBOSE @@ -616,7 +614,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Zero-sied string */ init_s(&dm_arg_msg->ioc, sizeof(*dm_arg_msg), @@ -625,8 +623,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg), offsetof(struct dm_target_msg_test, msg)); #if VERBOSE printf("{sector=%" PRI__u64 ", message=\"\"}", @@ -634,7 +632,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* DM_DEV_SET_GEOMETRY */ @@ -642,14 +640,14 @@ strcpy(s.u.string, "10 20 30 40"); ioctl(-1, DM_DEV_SET_GEOMETRY, &s); printf("ioctl(-1, DM_DEV_SET_GEOMETRY, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE - "string=\"10 20 30 \"..." + "{string=\"10 20 30 \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -660,15 +658,15 @@ memcpy(unaligned_dm_arg, dm_arg, offsetof(struct dm_ioctl, data)); ioctl(-1, DM_DEV_RENAME, unaligned_dm_arg); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=%p" + "{string=%p}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*unaligned_dm_arg), min_sizeof_dm_ioctl #if VERBOSE , (char *) unaligned_dm_arg + min_sizeof_dm_ioctl @@ -680,15 +678,15 @@ s.ioc.data_start = 0xdeadbeef; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=3735928559, " + "{version=4, 1, 2, data_size=%u, data_start=3735928559, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE "??? /* misplaced string */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size); /* Strange but still valid data_start */ @@ -697,15 +695,15 @@ s.ioc.data_start = offsetof(struct dm_ioctl, name) + 1; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%zu, " + "{version=4, 1, 2, data_size=%u, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"nn\"" + "{string=\"nn\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, offsetof(struct dm_ioctl, name) + 1); @@ -714,15 +712,15 @@ strcpy(s.u.string, "new long name"); ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"new long \"..." + "{string=\"new long \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -731,16 +729,16 @@ s.ioc.target_count = -1U; ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4294967295, flags=0, " + "target_count=4294967295, flags=0}, " #if VERBOSE "{sector_start=0, length=0, target_type=\"\", string=\"\"}" ", ??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_evdev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_evdev.c
Changed
@@ -188,8 +188,7 @@ #if VERBOSE printf("index=%" PRIu16 ", keycode=%s, scancode=", ike->index, XLAT_STR(KEY_1)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { if (i > 0) printf(", "); printf("%#" PRIx8, ike->scancodei);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_gpio.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_gpio.c
Changed
@@ -1,7 +1,7 @@ /* * Check GPIO_* ioctl decoding. * - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -71,7 +71,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -506,7 +506,7 @@ rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + "consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}"); @@ -516,7 +516,7 @@ p_line_request->event_buffer_size = 0xdeafdace; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "event_buffer_size=3736066766}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -528,7 +528,7 @@ p_line_request->padding1 = 0xfeedface; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "padding=0, 0xfeedface, 0, 0, 0}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -542,7 +542,7 @@ p_line_request->offsetsi = i + 1; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=65, offsets=" str_line_seq - ", config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + ", consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_hdio.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_hdio.c
Changed
@@ -14,6 +14,10 @@ #include <stdlib.h> #include <linux/hdreg.h> #include <sys/ioctl.h> +#include "xlat.h" + +#include "xlat/hdio_busstates.h" +#include "xlat/hdio_ide_nice.h" static const char *errstr; @@ -38,7 +42,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -57,10 +61,10 @@ num_skip = strtoul(argv1, NULL, 0); for (size_t i = 0; i < num_skip; i++) { - long ret = ioctl(-1, HDIO_GET_UNMASKINTR, 0); + long ret = ioctl(-1, HDIO_GET_QDMA, 0); printf("ioctl(-1, %s, 0) = %s%s\n", - XLAT_STR(HDIO_GET_UNMASKINTR), sprintrc(ret), + XLAT_STR(HDIO_GET_QDMA), sprintrc(ret), ret == INJECT_RETVAL ? " (INJECTED)" : ""); if (ret != INJECT_RETVAL) @@ -72,7 +76,7 @@ if (!locked) error_msg_and_fail("Hasn't locked on ioctl(-1" - ", HDIO_GET_UNMASKINTR, 0) returning %d", + ", HDIO_GET_QDMA, 0) returning %d", INJECT_RETVAL); #endif @@ -83,10 +87,15 @@ uint32_t cmd; const char *str; } unsupp_cmds = { - { ARG_STR(HDIO_GET_UNMASKINTR) }, - { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_GET_QDMA) }, { ARG_STR(HDIO_SET_XFER) }, + { ARG_STR(HDIO_TRISTATE_HWIF) }, + { ARG_STR(HDIO_DRIVE_TASKFILE) }, + { ARG_STR(HDIO_DRIVE_TASK) }, + { ARG_STR(HDIO_SET_QDMA) }, +#ifdef MPERS_IS_m32 + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_OBSOLETE_IDENTITY) }, { ARG_STR(HDIO_GET_KEEPSETTINGS) }, { ARG_STR(HDIO_GET_32BIT) }, @@ -98,10 +107,7 @@ { ARG_STR(HDIO_GET_ACOUSTIC) }, { ARG_STR(HDIO_GET_ADDRESS) }, { ARG_STR(HDIO_GET_BUSSTATE) }, - { ARG_STR(HDIO_TRISTATE_HWIF) }, { ARG_STR(HDIO_DRIVE_RESET) }, - { ARG_STR(HDIO_DRIVE_TASKFILE) }, - { ARG_STR(HDIO_DRIVE_TASK) }, { ARG_STR(HDIO_SET_MULTCOUNT) }, { ARG_STR(HDIO_SET_UNMASKINTR) }, { ARG_STR(HDIO_SET_KEEPSETTINGS) }, @@ -115,8 +121,8 @@ { ARG_STR(HDIO_SET_WCACHE) }, { ARG_STR(HDIO_SET_ACOUSTIC) }, { ARG_STR(HDIO_SET_BUSSTATE) }, - { ARG_STR(HDIO_SET_QDMA) }, { ARG_STR(HDIO_SET_ADDRESS) }, +#endif /* MPERS_IS_m32 */ }; for (size_t i = 0; i < ARRAY_SIZE(unsupp_cmds); i++) { @@ -220,6 +226,205 @@ } printf("}) = %s\n", errstr); +/* HDIO compat has never been supported by the kernel. */ +#ifndef MPERS_IS_m32 + + void *const efault = tail_alloc(1) + 1; + + /* HDIO_DRIVE_RESET */ + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), errstr); + do_ioctl_ptr(HDIO_DRIVE_RESET, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), efault, errstr); + do_ioctl(HDIO_DRIVE_RESET, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int drive_reset_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_DRIVE_RESET, &drive_reset_args); + + /* HDIO_SCAN_HWIF */ + printf("ioctl(-1, %s, NULL) = %s\n", XLAT_STR(HDIO_SCAN_HWIF), errstr); + do_ioctl_ptr(HDIO_SCAN_HWIF, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), efault, errstr); + do_ioctl(HDIO_SCAN_HWIF, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int scan_hwif_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_SCAN_HWIF, &scan_hwif_args); + + /* Getters of the form ioctl(..., ..., &val) */ + static const struct { + uint32_t cmd; + const char *str; + } getter_cmds = { + { ARG_STR(HDIO_GET_32BIT) }, + { ARG_STR(HDIO_GET_ACOUSTIC) }, + { ARG_STR(HDIO_GET_ADDRESS) }, + { ARG_STR(HDIO_GET_DMA) }, + { ARG_STR(HDIO_GET_KEEPSETTINGS) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, + { ARG_STR(HDIO_GET_NOWERR) }, + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_WCACHE) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(getter_cmds); i++) { + kernel_ulong_t val = (kernel_ulong_t) 0xfacefeeddeadbeefULL; + + rc = do_ioctl_ptr(getter_cmdsi.cmd, &val); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(getter_cmdsi.cmd, getter_cmdsi.str)); + if (rc >= 0) { + printf("%llu", (unsigned long long) val); + } else { + printf("%p", &val); + } + printf(") = %s\n", errstr); + } + + /* Setters of the form ioctl(..., ..., val) */ + static const struct { + uint32_t cmd; + const char *str; + } setter_cmds = { + { ARG_STR(HDIO_SET_32BIT) }, + { ARG_STR(HDIO_SET_ACOUSTIC) }, + { ARG_STR(HDIO_SET_ADDRESS) }, + { ARG_STR(HDIO_SET_DMA) }, + { ARG_STR(HDIO_SET_KEEPSETTINGS) }, + { ARG_STR(HDIO_SET_MULTCOUNT) }, + { ARG_STR(HDIO_SET_NOWERR) }, + { ARG_STR(HDIO_SET_PIO_MODE) }, + { ARG_STR(HDIO_SET_UNMASKINTR) }, + { ARG_STR(HDIO_SET_WCACHE) }, + { ARG_STR(HDIO_UNREGISTER_HWIF) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(setter_cmds); i++) { + unsigned long val = (unsigned long) 0xfacefeeddeadbeefULL; + + rc = do_ioctl(setter_cmdsi.cmd, val); + printf("ioctl(-1, " XLAT_FMT ", %llu) = %s\n", + XLAT_SEL(setter_cmdsi.cmd, setter_cmdsi.str), + (unsigned long long) val, errstr); + } + + /* HDIO_OBSOLETE_IDENTITY */ + do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_OBSOLETE_IDENTITY), errstr); + + char obsolete_identity142; + rc = do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, obsolete_identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_OBSOLETE_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(obsolete_identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", obsolete_identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_IDENTITY */ + do_ioctl_ptr(HDIO_GET_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_GET_IDENTITY), errstr); + + char identity512; + rc = do_ioctl_ptr(HDIO_GET_IDENTITY, identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_NICE */ + kernel_ulong_t nice_val = (kernel_ulong_t) 0xfacefeedded1ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_NICE, &nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_NICE)); + if (rc >= 0) { + printf(""); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(""); + } else { + printf("%p", &nice_val); + } + printf(") = %s\n", errstr); + + /* HDIO_SET_NICE */ + nice_val = (unsigned long) 0xfacefeedded2ffffULL; + do_ioctl(HDIO_SET_NICE, nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_NICE)); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(") = %s\n", errstr); + + /* HDIO_GET_BUSSTATE */ + kernel_ulong_t busstate_value = (kernel_ulong_t) 0xfacefeedded3ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_BUSSTATE, &busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_BUSSTATE)); + if (rc >= 0) { + printf(""); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(""); + } else { + printf("%p", &busstate_value); + } + printf(") = %s\n", errstr); + + + /* HDIO_SET_BUSSTATE */ + busstate_value = (unsigned long) 0xfacefeedded4ffffULL; + + do_ioctl(HDIO_SET_BUSSTATE, busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_BUSSTATE)); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(") = %s\n", errstr); + +#endif /* !MPERS_IS_m32 */ + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev); do not edit. +set -- -a20 -s1024 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw); do not edit. +set -- -a18 -s1024 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose); do not edit. +set -- -a20 -s1024 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success-s1024.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024); do not edit. +set -- -a20 -s1024 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success +ioctl-success.sh -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd.c
Added
@@ -0,0 +1,1742 @@ +/* + * This file is part of ioctl_kd strace test. + * + * Copyright (c) 2019-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <errno.h> +#include <inttypes.h> +#include <limits.h> +#include <signal.h> +#include <stddef.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include "scno.h" + +#include <linux/ioctl.h> +#include <linux/kd.h> +#include <linux/keyboard.h> + +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define RETVAL "42 (INJECTED)\n" +#else +# define RETVAL "-1 EBADF (%m)\n" +#endif + +#ifndef HAVE_STRUCT_KBDIACRUC +struct kbdiacruc { + unsigned int diacr, base, result; +}; +#endif + +#ifndef HAVE_STRUCT_KBDIACRSUC +struct kbdiacrsuc { + struct kbdiacruc kbdiacruc256; +} +#endif + +struct arg_val { + kernel_ulong_t val; + const char *str; +}; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + return syscall(__NR_ioctl, fd, cmd, arg); +} + +static void +check_null_invalid(unsigned int c, const char *s) +{ + static char *p; + + if (!p) + p = tail_alloc(1); + + sys_ioctl(-1, c, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, XLAT_SEL(c, s)); + + if (F8ILL_KULONG_SUPPORTED) { + sys_ioctl(-1, c, F8ILL_KULONG_MASK); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, + XLAT_SEL(c, s)); + } + + sys_ioctl(-1, c, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, XLAT_SEL(c, s), p + 1); +} + +/* GIO_SCRNMAP, PIO_SCRNMAP */ +static void +check_scrnmap(unsigned int c, const char *s) +{ + char *scrnmap = tail_alloc(E_TABSZ); + + int saved_errno; + long rc; + + fill_memory_ex(scrnmap, E_TABSZ, 0, 0xff); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 31); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 32); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 33); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((rc >= 0 || c == PIO_SCRNMAP) && (DEFAULT_STRLEN <= 32)) { + print_quoted_hex(scrnmap + E_TABSZ - 33, 32); + printf("..."); + } else { + printf("%p", scrnmap + E_TABSZ - 33); + } + errno = saved_errno; + printf(") = " RETVAL); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (rc >= 0 || c == PIO_SCRNMAP) { + print_quoted_hex(scrnmap, MIN(E_TABSZ, DEFAULT_STRLEN)); + if (DEFAULT_STRLEN < E_TABSZ) + printf("..."); + } else { + printf("%p", scrnmap); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGKBENT, KDSKBENT */ +static void +check_kbdent(unsigned int c, const char *s) +{ + static const struct arg_val kbtbl_vecs = { + { ARG_XLAT_KNOWN(0, "K_NORMTAB") }, + { ARG_XLAT_KNOWN(0x1, "K_SHIFTTAB") }, + { ARG_XLAT_KNOWN(0x3, "K_ALTSHIFTTAB") }, + { ARG_XLAT_KNOWN(0x4, "1<<KG_CTRL") }, + { ARG_XLAT_KNOWN(0xff, + "1<<KG_SHIFT|1<<KG_ALTGR|1<<KG_CTRL" + "|1<<KG_ALT|1<<KG_SHIFTL|1<<KG_SHIFTR" + "|1<<KG_CTRLL|1<<KG_CTRLR") }, + }; + + static const struct arg_val kbval_vecs = { + { ARG_STR(0) NRAW(" /* K(KT_LATIN, '\\x00') */") }, + { ARG_STR(0x10) NRAW(" /* K(KT_LATIN, '\\x10') */") }, + { ARG_STR(0x20) NRAW(" /* K(KT_LATIN, ' ') */") }, + { ARG_STR(0x7e) NRAW(" /* K(KT_LATIN, '~') */") }, + { ARG_STR(0x7f) NRAW(" /* K(KT_LATIN, '\\x7f') */") }, + + { ARG_STR(0x100) NRAW(" /* K_F1 */") }, + { ARG_STR(0x11d) NRAW(" /* K_PAUSE */") }, + { ARG_STR(0x1ff) NRAW(" /* K_UNDO */") }, + + { ARG_STR(0x200) NRAW(" /* K_HOLE */") }, + { ARG_STR(0x213) NRAW(" /* K_BARENUMLOCK */") }, + { ARG_STR(0x214) NRAW(" /* K(KT_SPEC, 0x14) */") }, + { ARG_STR(0x27d) NRAW(" /* K(KT_SPEC, 0x7d) */") }, + { ARG_STR(0x27e) NRAW(" /* K_ALLOCATED */") }, + { ARG_STR(0x27f) NRAW(" /* K_NOSUCHMAP */") }, + { ARG_STR(0x280) NRAW(" /* K(KT_SPEC, 0x80) */") }, + { ARG_STR(0x2ff) NRAW(" /* K(KT_SPEC, 0xff) */") }, + + { ARG_STR(0x300) NRAW(" /* K_P0 */") }, + { ARG_STR(0x313) NRAW(" /* K_PPARENR */") }, + { ARG_STR(0x314) NRAW(" /* K(KT_PAD, 0x14) */") }, + { ARG_STR(0x37f) NRAW(" /* K(KT_PAD, 0x7f) */") }, + { ARG_STR(0x3ff) NRAW(" /* K(KT_PAD, 0xff) */") }, + + { ARG_STR(0x400) NRAW(" /* K_DGRAVE */") }, + { ARG_STR(0x41a) NRAW(" /* K_DGREEK */") }, + { ARG_STR(0x41b) NRAW(" /* K(KT_DEAD, 0x1b) */") }, + { ARG_STR(0x47f) NRAW(" /* K(KT_DEAD, 0x7f) */") }, + { ARG_STR(0x4ff) NRAW(" /* K(KT_DEAD, 0xff) */") }, + + { ARG_STR(0x500) NRAW(" /* K(KT_CONS, 0) */") }, + { ARG_STR(0x540) NRAW(" /* K(KT_CONS, 0x40) */") }, + { ARG_STR(0x5ff) NRAW(" /* K(KT_CONS, 0xff) */") }, + + { ARG_STR(0x600) NRAW(" /* K_DOWN */") }, + { ARG_STR(0x603) NRAW(" /* K_UP */") }, + { ARG_STR(0x604) NRAW(" /* K(KT_CUR, 0x4) */") }, + { ARG_STR(0x680) NRAW(" /* K(KT_CUR, 0x80) */") }, + { ARG_STR(0x6ff) NRAW(" /* K(KT_CUR, 0xff) */") }, + + { ARG_STR(0x700) NRAW(" /* K_SHIFT */") }, + { ARG_STR(0x708) NRAW(" /* K_CAPSSHIFT */") }, + { ARG_STR(0x709) NRAW(" /* K(KT_SHIFT, 0x9) */") }, + { ARG_STR(0x7ff) NRAW(" /* K(KT_SHIFT, 0xff) */") }, + + { ARG_STR(0x800) NRAW(" /* K(KT_META, '\\x00') */") }, + { ARG_STR(0x841) NRAW(" /* K(KT_META, 'A') */") }, + { ARG_STR(0x8ff) NRAW(" /* K(KT_META, '\\xff') */") }, + + { ARG_STR(0x900) NRAW(" /* K_ASC0 */") }, + { ARG_STR(0x909) NRAW(" /* K_ASC9 */") }, + { ARG_STR(0x90a) NRAW(" /* K_HEX0 */") }, + { ARG_STR(0x919) NRAW(" /* K_HEXf */") }, + { ARG_STR(0x91a) NRAW(" /* K(KT_ASCII, 0x1a) */") }, + { ARG_STR(0x9ff) NRAW(" /* K(KT_ASCII, 0xff) */") }, + + { ARG_STR(0xa00) NRAW(" /* K_SHIFTLOCK */") }, + { ARG_STR(0xa08) NRAW(" /* K_CAPSSHIFTLOCK */") }, + { ARG_STR(0xa09) NRAW(" /* K(KT_LOCK, 0x9) */") }, + { ARG_STR(0xaff) NRAW(" /* K(KT_LOCK, 0xff) */") }, + + { ARG_STR(0xb00) NRAW(" /* K(KT_LETTER, '\\x00') */") }, + { ARG_STR(0xb40) NRAW(" /* K(KT_LETTER, '@') */") }, + { ARG_STR(0xb7f) NRAW(" /* K(KT_LETTER, '\\x7f') */") }, + { ARG_STR(0xbff) NRAW(" /* K(KT_LETTER, '\\xff') */") }, + + { ARG_STR(0xc00) NRAW(" /* K_SHIFT_SLOCK */") }, + { ARG_STR(0xc08) NRAW(" /* K_CAPSSHIFT_SLOCK */") }, + { ARG_STR(0xc09) NRAW(" /* K(KT_SLOCK, 0x9) */") }, + { ARG_STR(0xcff) NRAW(" /* K(KT_SLOCK, 0xff) */") }, + + { ARG_STR(0xd00) NRAW(" /* K(KT_DEAD2, '\\x00') */") }, + { ARG_STR(0xd13) NRAW(" /* K(KT_DEAD2, '\\x13') */") }, + { ARG_STR(0xd5c) NRAW(" /* K(KT_DEAD2, '\\\\') */") }, + { ARG_STR(0xdff) NRAW(" /* K(KT_DEAD2, '\\xff') */") }, + + { ARG_STR(0xe00) NRAW(" /* K_BRL_BLANK */") }, + { ARG_STR(0xe0a) NRAW(" /* K_BRL_DOT10 */") }, + { ARG_STR(0xe0b) NRAW(" /* K(KT_BRL, 0xb) */") }, + { ARG_STR(0xeff) NRAW(" /* K(KT_BRL, 0xff) */") }, + + { ARG_STR(0xf00) NRAW(" /* K(0xf, 0) */") }, + { ARG_STR(0xfed) NRAW(" /* K(0xf, 0xed) */") }, + { ARG_STR(0xf00d) NRAW(" /* K(0xf0, 0xd) */") }, + }; + + struct kbentry *kbe = tail_alloc(sizeof(*kbe)); + + int saved_errno; + long rc; + + check_null_invalid(c, s); + + kbe->kb_value = 0xa8a8; + sys_ioctl(-1, c, (uintptr_t) kbe + 2); + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=168%s}" + ") = " RETVAL, + XLAT_SEL(c, s), XLAT_STR(1<<KG_ALT|1<<KG_SHIFTR|1<<KG_CTRLR), + RETVAL_INJECTED || c == KDSKBENT ? ", kb_value=???" : "" + ); + + for (size_t i = 0; + i < MAX(ARRAY_SIZE(kbtbl_vecs), ARRAY_SIZE(kbval_vecs)); i++) { + kbe->kb_table = kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).val; + kbe->kb_index = i * 3141; + kbe->kb_value = kbval_vecsi % ARRAY_SIZE(kbval_vecs).val; + + rc = sys_ioctl(-1, c, (uintptr_t) kbe); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=%u", + XLAT_SEL(c, s), + kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).str, + kbe->kb_index); + if (rc >= 0 || c == KDSKBENT) { + printf(", kb_value=%s", + kbval_vecsi % ARRAY_SIZE(kbval_vecs).str); + } + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBSENT, KDSKBSENT */ +static void +check_kbdsent(unsigned int c, const char *s) +{ + static struct arg_val kbse_offsets = { + { sizeof(struct kbsentry) - 1, "KVAL(K_F2)" }, + { sizeof(struct kbsentry) - 2, "KVAL(K_F1)" }, + { sizeof(struct kbsentry) - 34, "KVAL(K_F214)" }, + { sizeof(struct kbsentry) - 35, "KVAL(K_F213)" }, + { 1, "KVAL(K_F1)" }, + { 0, "KVAL(K_F245)" }, + }; + + static const struct arg_val kbfn_vecs = { + { ARG_XLAT_KNOWN(0, "KVAL(K_F1)") }, + { ARG_XLAT_KNOWN(0x10, "KVAL(K_F17)") }, + { ARG_XLAT_KNOWN(0x7f, "KVAL(K_F118)") }, + { ARG_XLAT_KNOWN(0xff, "KVAL(K_UNDO)") }, + }; + + struct kbsentry *kbse = tail_alloc(sizeof(*kbse)); + + int saved_errno; + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0, 0xff); + kbse->kb_func = 0xfe; + + check_null_invalid(c, s); + + for (size_t i = 0; i < ARRAY_SIZE(kbse_offsets); i++) { + sys_ioctl(-1, c, + (uintptr_t) kbse + kbse_offsetsi.val); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + sprintxlat(kbse_offsetsi.str, + (kbse_offsetsi.val + 254) % 0xff, NULL)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + if (kbse_offsetsi.val < 255 * 2) { + print_quoted_stringn( + (char *) kbse->kb_string + + kbse_offsetsi.val, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } else { + printf("???"); + } + } + + errno = saved_errno; + printf("}) = " RETVAL); + } + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0x80, 0x7f); + kbse->kb_func = KVAL(K_PGDN); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=" + XLAT_KNOWN(0x19, "KVAL(K_PGDN)"), + XLAT_SEL(c, s)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(kbfn_vecs); i++) { + kbse->kb_func = kbfn_vecsi.val; + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), + i * 357 + 42, i * 257 + 13); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + kbfn_vecsi.str); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBDIACR, KDSKBDIACR */ +static void +check_diacr(unsigned int c, const char *s) +{ + static struct arg_val diac_vecs = { + { 0, "\\x00" }, + { '\n', "\\n" }, + { ' ', " " }, + { 'a', "a" }, + { '~', "~" }, + { '\'', "\\'" }, + { '\\', "\\\\" }, + { '"', "\"" }, + { '`', "`" }, + { 0x7f, "\\x7f" }, + { 0xff, "\\xff" }, + }; + + struct kbdiacrs *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrs *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacr)); + struct kbdiacrs *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + if (i) + printf("%p}", diacrs0->kbdiacr); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs1->kbdiacr, 4 * sizeof(struct kbdiacr), 40, 44); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", (int) (40 + j * 3), + (int) (41 + j * 3), (int) (42 + j * 3)); + + if (i > 4) + printf(", ... /* %p */", diacrs1->kbdiacr + 4); + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs2->kbdiacr, sizeof(diacrs2->kbdiacr), 40, 52); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacr) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacr) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; + j < MIN(i, MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", + (int) (40 + (j * 3 + 0) % 52), + (int) (40 + (j * 3 + 1) % 52), + (int) (40 + (j * 3 + 2) % 52)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + for (size_t i = 0; i< ARRAY_SIZE(diac_vecs); i++) { + diacrs2->kbdiacri.diacr = diac_vecsi.val; + diacrs2->kbdiacri.base = diac_vecsi.val; + diacrs2->kbdiacri.result = diac_vecsi.val; + } + diacrs2->kb_cnt = ARRAY_SIZE(diac_vecs); + + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", ARRAY_SIZE(diac_vecs)); + for (size_t i = 0; i < ARRAY_SIZE(diac_vecs); i++) + printf("%1$s{diacr='%2$s', base='%2$s', result='%2$s'}", + i ? ", " : "", diac_vecsi.str); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGETKEYCODE, KDSETKEYCODE */ +static void +check_xetkeycode(unsigned int c, const char *s) +{ + static const struct kbkeycode args = { + { 0, 0 }, + { 0, 0xdeadface }, + { 0xfacefeed, 0 }, + { 0xdecaffed, 0xdadfaced }, + }; + struct kbkeycode *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT ", {scancode=%#x, keycode=%#x", + XLAT_SEL(c, s), argsi.scancode, argsi.keycode); + if ((c == KDGETKEYCODE) && RETVAL_INJECTED) + printf(" => %#x", argsi.keycode); + printf("}) = " RETVAL); + } +} + +/* KDKBDREP */ +static void +check_kbdrep(unsigned int c, const char *s) +{ + static const struct kbd_repeat args = { + { -1, -1 }, + { -1234567890, 0 }, + { 0, -2134567890 }, + { 314159265, 271828182 }, + }; + struct kbd_repeat *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT, XLAT_SEL(c, s)); + for (size_t j = 0; j < 1 + RETVAL_INJECTED; j++) { + printf("%s {delay=%d, period=%d}", + j ? " =>" : ",", argsi.delay, argsi.period); + } + printf(") = " RETVAL); + } +} + +/* GIO_FONT, PIO_FONT */ +static void +check_font(unsigned int c, const char *s) +{ + char *data = tail_alloc(8192); + char *data_end = data + 8192; + + fill_memory(data, 8192); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) data_end - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 31); + + sys_ioctl(-1, c, (uintptr_t) data_end - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 32); + + bool ok = (DEFAULT_STRLEN == 32) + && ((c != GIO_FONT) || RETVAL_INJECTED); + sys_ioctl(-1, c, (uintptr_t) data_end - 33); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 33; i < 8192 - 1; i++) + printf("\\x%hhx", (unsigned char) ( 0x80 + i % 0x80)); + } else { + printf("%p", data_end - 33); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + ok = (c != GIO_FONT) || RETVAL_INJECTED; + sys_ioctl(-1, c, (uintptr_t) data_end - 1025); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 1025; i < 8192 - 1025 + DEFAULT_STRLEN; + i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data_end - 1025); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + sys_ioctl(-1, c, (uintptr_t) data); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 0; i < DEFAULT_STRLEN; i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); +} + +/* GIO_UNIMAP, PIO_UNIMAP */ +static void +check_unimap(unsigned int c, const char *s) +{ + struct unimapdesc *umd = tail_alloc(sizeof(*umd)); + struct unipair *ups = tail_alloc(33 * sizeof(*ups)); + + fill_memory16(ups, 33 * sizeof(*ups)); + ups0.unicode = 0; + ups0.fontpos = 0; + + check_null_invalid(c, s); + + umd->entry_ct = 0xdead; + umd->entries = NULL; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=57005%s, entries=NULL}) = " + RETVAL, XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 57005" : ""); + + umd->entry_ct = 0; + umd->entries = ups + 33; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=0%s, entries=", + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 0" : ""); + if (c == GIO_UNIMAP && !RETVAL_INJECTED) + printf("%p", ups + 33); + else + printf(""); + printf("}) = " RETVAL); + + umd->entry_ct = 1; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=1%s, entries=%p}) = " RETVAL, + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 1" : "", ups + 33); + + for (unsigned int i = 0; i < 6; i++) { + umd->entry_ct = 31 + (i + 1) / 2; + umd->entries = ups + 2 - i / 2; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=%u", + XLAT_SEL(c, s), 31 + (i + 1) / 2); + + if (c == GIO_UNIMAP) { + printf(" => %u", 31 + (i + 1) / 2); +#if !RETVAL_INJECTED + printf(", entries=%p}) = " RETVAL, ups + 2 - i / 2); + continue; +#endif + } + + printf(", entries=%s", i > 3 ? "{unicode=0, fontpos=0}" : ""); + + for (unsigned int j = 0; j < 31 +#if DEFAULT_STRLEN > 32 + + MIN(i / 2, 1) +#else + + ((i / 2) == 1) +#endif + ; j++) { + printf("%s{unicode=%#x, fontpos=%#x}", + j == 0 && i < 4 ? "" : ", ", + 0x80c4 + 2 * (j - MIN(i / 2, 1)), + 0x80c5 + 2 * (j - MIN(i / 2, 1))); + } + if (i == 1 || i == 3 || ((DEFAULT_STRLEN > 32) && (i == 5))) + printf(", ... /* %p */", ups + 33); +#if DEFAULT_STRLEN == 32 + if (i > 3) + printf(", ..."); +#endif + printf("}) = " RETVAL); + } +} + +/* GIO_UNISCRNMAP, PIO_UNISCRNMAP */ +static void +check_uniscrnmap(unsigned int c, const char *s) +{ + uint16_t *map = tail_alloc(256 * sizeof(*map)); + for (unsigned int i = 0; i < 256; i++) + mapi = 0xeff1 + 32 * (i % 112) - i / 8; + + check_null_invalid(c, s); + + for (unsigned int i = 0; i < 3; i++) { + sys_ioctl(-1, c, (uintptr_t) (map + 224 - 112 * i)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + + if (c == GIO_UNISCRNMAP && !RETVAL_INJECTED) { + printf("%p) = " RETVAL, map + 224 - 112 * i); + continue; + } + + for (size_t j = 0; + j < MIN(32 + 112 * i, DEFAULT_STRLEN); j++) { + uint16_t v = 0xefd5 + 32 * (j % 112) - j / 8 + i * 14; + if ((j % 112) < (2 - (i + 1 - j / 112) / 2) + || (j % 112) > (17 - (i + 1 - j / 112) / 2)) { + printf("%s%#hx", j ? ", " : "", v); + } else { + printf(", " + XLAT_KNOWN_FMT("%#hx", + "UNI_DIRECT_BASE+%#hx"), + XLAT_SEL(v, (uint16_t) (v - 0xf000))); + } + } + + if (DEFAULT_STRLEN == 32 || i < 2) { + printf(", ..."); + if (DEFAULT_STRLEN >= 32 + 112 * i) + printf(" /* %p */", map + 256); + } + + printf(") = " RETVAL); + } +} + +/* GIO_FONTX, PIO_FONTX */ +static void +check_fontx(unsigned int c, const char *s) +{ + static const short cnts = { 1, 32, 256 }; + struct consolefontdesc *cfd = tail_alloc(sizeof(*cfd)); + char *data = tail_alloc(2048); + char *data_end = data + 2048; + + fill_memory_ex(data, 2048, 0xf0, 255); + + check_null_invalid(c, s); + + cfd->charcount = 0; + cfd->charheight = 0xdead; + cfd->chardata = NULL; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=NULL}%s) = " RETVAL, + XLAT_SEL(c, s), RETVAL_INJECTED && (c == GIO_FONTX) + ? " => {charcount=0, charheight=57005, chardata=NULL}" : ""); + + cfd->chardata = data_end; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data_end); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + cfd->chardata = data; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(cnts); i++) { + char *p = data_end - MIN(2048, cntsi * 32); + cfd->charcount = cntsi; + + cfd->chardata = p + 1; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX && cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + if (cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } + } +#endif + printf(") = " RETVAL); + + cfd->chardata = p; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX) { + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + } else { + printf("%p", p); + } + printf("}"); +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + printf("}"); + } +#endif + printf(") = " RETVAL); + } +} + +/* GIO_CMAP, PIO_CMAP */ +static void +check_cmap(unsigned int c, const char *s) +{ + char *cmap = tail_alloc(48); + + fill_memory(cmap, 48); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) (cmap + 1)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((c == PIO_CMAP || RETVAL_INJECTED) && (DEFAULT_STRLEN == 32)) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x81 + i); + printf("\"..."); + } else { + printf("%p", cmap + 1); + } + printf(") = " RETVAL); + + sys_ioctl(-1, c, (uintptr_t) cmap); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (c == PIO_CMAP || RETVAL_INJECTED) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x80 + i); +#if DEFAULT_STRLEN == 32 + printf("\"..."); +#else + printf("\""); +#endif + } else { + printf("%p", cmap); + } + printf(") = " RETVAL); +} + +/* KDGKBDIACRUC, KDSKBDIACRUC */ +static void +check_diacruc(unsigned int c, const char *s) +{ + struct kbdiacrsuc *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrsuc *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacruc)); + struct kbdiacrsuc *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + if (i) + printf("%p}", diacrs0->kbdiacruc); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs1->kbdiacruc, 4 * sizeof(struct kbdiacruc)); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > 4) { + printf(", ... /* %p */", + diacrs1->kbdiacruc + 4); + } + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs2->kbdiacruc, sizeof(diacrs2->kbdiacruc)); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacruc) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacruc) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; + j < MIN(i, MIN(ARRAY_SIZE(diacrs2->kbdiacruc), + DEFAULT_STRLEN)); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacruc))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } +} + +int +main(int argc, char *argv) +{ + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + static const uint32_t unknown_ioctls = { + 0xfffffff1, 0xc0007fff, 0xfffb800c, 0xfff8c000, + 0xffffffff, 0xffffffff, 0xffffffff, 0xf3ffffff, + }; + + enum { MAP_ELEM_BIT = sizeof(unknown_ioctls0) * CHAR_BIT }; + + long rc; + +#if RETVAL_INJECTED + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, KDGETLED, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS(KDGETLED), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on ioctl(-1" + ", KDGETLED, NULL) returning 42"); +#endif + + for (size_t i = 0; i < ARRAY_SIZE(unknown_ioctls); i++) { + for (size_t j = 0; j < MAP_ELEM_BIT; j++) { + if (!((unknown_ioctlsi >> j) & 1)) + continue; + + const unsigned int id = i * MAP_ELEM_BIT + j; + + sys_ioctl(-1, 'K' << 8 | id, magic); + printf("ioctl(-1, " + NABBR("%#x") VERB(" /* ") + NRAW("_IOC(%s, 0x4b, %#x, 0)") VERB(" */") + ", %#lx) = " RETVAL, +#if XLAT_RAW || XLAT_VERBOSE + 'K' << 8 | id, +#endif +#if !XLAT_RAW + _IOC_NONE ? "0" : "_IOC_NONE", id, +#endif + (unsigned long) magic); + } + } + + + /* KIOCSOUND */ + sys_ioctl(-1, KIOCSOUND, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1); + printf("ioctl(-1, " XLAT_FMT ", 1" NRAW(" /* 1193182 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* 2711 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193182); + printf("ioctl(-1, " XLAT_FMT ", 1193182" NRAW(" /* 1 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193183); + printf("ioctl(-1, " XLAT_FMT ", 1193183" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 2710)); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 4 + ", 2710" NRAW(" /* 440 Hz */") +#else + ", 13464652297489353366" NRAW(" /* off */") +#endif + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 8 + ", 13464652301225294542" +#else + ", 3735943886" +#endif + NRAW(" /* off */") ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + /* KDMKTONE */ + sys_ioctl(-1, KDMKTONE, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0xffff); + printf("ioctl(-1, " XLAT_FMT ", 65535" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x10000); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|0" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 0x10001)); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|1" NRAW(" /* 1193182 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x1ffff); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|65535" NRAW(" /* 18 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT ", 57005<<16|64206" + NRAW(" /* 18 Hz, 57005 ms */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + + /* KDGETLED */ + static const struct arg_val led_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|0xf8") }, + { (kernel_ulong_t) 0xbadc0dedfeedfaf0ULL, + XLAT_UNKNOWN(0xf0, "LED_???") }, + }; + + unsigned char *leds = tail_alloc(sizeof(*leds)); + + check_null_invalid(ARG_STR(KDGETLED)); + + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + *leds = led_vecsi.val; + rc = sys_ioctl(-1, KDGETLED, (uintptr_t) leds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETLED), led_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETLED), leds); + } + } + + + /* KDSETLED */ + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + sys_ioctl(-1, KDSETLED, led_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), led_vecsi.str); + } + + sys_ioctl(-1, KDSETLED, (kernel_ulong_t) 0xdeadc0defeedfaceULL); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), XLAT_STR(LED_NUM|LED_CAP|0xc8)); + + + /* KDGKBTYPE */ + static const struct arg_val kbt_vecs = { + { ARG_XLAT_UNKNOWN(0, "KB_???") }, + { ARG_XLAT_KNOWN(0x1, "KB_84") }, + { ARG_XLAT_KNOWN(0x2, "KB_101") }, + { ARG_XLAT_KNOWN(0x3, "KB_OTHER") }, + { ARG_XLAT_UNKNOWN(0x4, "KB_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + XLAT_UNKNOWN(0xfe, "KB_???") }, + }; + + unsigned char *kbt = tail_alloc(sizeof(*kbt)); + + check_null_invalid(ARG_STR(KDGKBTYPE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbt_vecs); i++) { + *kbt = kbt_vecsi.val; + rc = sys_ioctl(-1, KDGKBTYPE, (uintptr_t) kbt); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt); + } + } + + + /* KDADDIO */ + static const struct arg_val iop_vecs = { + { ARG_STR(0) }, + { ARG_STR(0x3b3) }, + { ARG_STR(0x3b4) NRAW(" /* GPFIRST + 0 */") }, + { ARG_STR(0x3c0) NRAW(" /* GPFIRST + 12 */") }, + { ARG_STR(0x3df) NRAW(" /* GPFIRST + 43 */") }, + { ARG_STR(0x3e0) }, + { ARG_STR(0xdeadc0de) }, + { (kernel_ulong_t) 0xbadc0dedfacefeedULL, +#if SIZEOF_LONG > 4 + "0xbadc0dedfacefeed" +#else + "0xfacefeed" +#endif + }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDADDIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDADDIO), iop_vecsi.str); + } + + + /* KDDELIO */ + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDDELIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDDELIO), iop_vecsi.str); + } + + + /* KDENABIO */ + sys_ioctl(-1, KDENABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDENABIO)); + + + /* KDDISABIO */ + sys_ioctl(-1, KDDISABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDDISABIO)); + + + /* KDSETMODE */ + static const struct arg_val mode_vecs = { + { ARG_XLAT_KNOWN(0, "KD_TEXT") }, + { ARG_XLAT_KNOWN(0x1, "KD_GRAPHICS") }, + { ARG_XLAT_KNOWN(0x3, "KD_TEXT1") }, + { ARG_XLAT_UNKNOWN(0x4, "KD_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + "0xcacafefe" NRAW(" /* KD_??? */") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + sys_ioctl(-1, KDSETMODE, mode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETMODE), mode_vecsi.str); + } + + + /* KDGETMODE */ + unsigned int *mode = tail_alloc(sizeof(*mode)); + + check_null_invalid(ARG_STR(KDGETMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + *mode = mode_vecsi.val; + rc = sys_ioctl(-1, KDGETMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode); + } + } + + + /* KDMAPDISP */ + sys_ioctl(-1, KDMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDMAPDISP)); + + + /* KDUNMAPDISP */ + sys_ioctl(-1, KDUNMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDUNMAPDISP)); + + + /* GIO_SCRNMAP */ + check_scrnmap(ARG_STR(GIO_SCRNMAP)); + + + /* PIO_SCRNMAP */ + check_scrnmap(ARG_STR(PIO_SCRNMAP)); + + + /* KDGKBMODE */ + static const struct arg_val kbmode_vecs = { + { ARG_XLAT_UNKNOWN(-1, "K_???") }, + { ARG_XLAT_KNOWN(0, "K_RAW") }, + { ARG_XLAT_KNOWN(1, "K_XLATE") }, + { ARG_XLAT_KNOWN(4, "K_OFF") }, + { ARG_XLAT_UNKNOWN(5, "K_???") }, + { (kernel_ulong_t) 0xbadc0dedfeeddeadULL, + XLAT_UNKNOWN(-17965395, "K_???") }, + }; + + check_null_invalid(ARG_STR(KDGKBMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + *mode = kbmode_vecsi.val; + rc = sys_ioctl(-1, KDGKBMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBMODE), kbmode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBMODE), mode); + } + } + + + /* KDSKBMODE */ + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + sys_ioctl(-1, KDSKBMODE, kbmode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMODE), kbmode_vecsi.str); + } + + + /* KDGKBENT */ + check_kbdent(ARG_STR(KDGKBENT)); + + + /* KDSKBENT */ + check_kbdent(ARG_STR(KDSKBENT)); + + + /* KDGKBSENT */ + check_kbdsent(ARG_STR(KDGKBSENT)); + + + /* KDSKBSENT */ + check_kbdsent(ARG_STR(KDSKBSENT)); + + + /* KDGKBDIACR */ + check_diacr(ARG_STR(KDGKBDIACR)); + + + /* KDSKBDIACR */ + check_diacr(ARG_STR(KDSKBDIACR)); + + + /* KDGETKEYCODE */ + check_xetkeycode(ARG_STR(KDGETKEYCODE)); + + + /* KDSETKEYCODE */ + check_xetkeycode(ARG_STR(KDSETKEYCODE)); + + + /* KDSIGACCEPT */ + static const struct { + kernel_ulong_t val; + const char *str; + } sigaccept_vecs = { + { (kernel_ulong_t) -1ULL, + SIZEOF_LONG == 8 ? "18446744073709551615" : "4294967295" }, + { 0, "0" }, + { ARG_XLAT_KNOWN(SIGHUP, "SIGHUP") }, + { ARG_XLAT_KNOWN(SIGUSR1, "SIGUSR1") }, + { ARG_XLAT_KNOWN(32, "SIGRTMIN") }, + { ARG_XLAT_KNOWN(33, "SIGRT_1") }, + { ARG_STR(128) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sigaccept_vecs); i++) { + sys_ioctl(-1, KDSIGACCEPT, sigaccept_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSIGACCEPT), sigaccept_vecsi.str); + } + + + /* KDKBDREP */ + check_kbdrep(ARG_STR(KDKBDREP)); + + + /* GIO_FONT */ + check_font(ARG_STR(GIO_FONT)); + + + /* PIO_FONT */ + check_font(ARG_STR(PIO_FONT)); + + + /* KDGKBMETA */ + static const struct { + kernel_ulong_t arg; + const char *str; + } meta_vecs = { + { ARG_XLAT_UNKNOWN(0, "K_???") }, + { ARG_XLAT_UNKNOWN(0x1, "K_???") }, + { ARG_XLAT_UNKNOWN(0x2, "K_???") }, + { ARG_XLAT_KNOWN(0x3, "K_METABIT") }, + { ARG_XLAT_KNOWN(0x4, "K_ESCPREFIX") }, + { ARG_XLAT_UNKNOWN(0x5, "K_???") }, + { (kernel_ulong_t) 0xdeadfacebeeffeedULL, + "0xbeeffeed" NRAW(" /* K_??? */") }, + }; + int *meta = tail_alloc(sizeof(*meta)); + + check_null_invalid(ARG_STR(KDGKBMETA)); + + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + *meta = meta_vecsi.arg; + sys_ioctl(-1, KDGKBMETA, (uintptr_t) meta); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_ARGS(KDGKBMETA)); +#if RETVAL_INJECTED + printf("%s", meta_vecsi.str); +#else + printf("%p", meta); +#endif + printf(") = " RETVAL); + } + + + /* KDSKBMETA */ + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + sys_ioctl(-1, KDSKBMETA, meta_vecsi.arg); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMETA), meta_vecsi.str); + } + + + /* KDGKBLED */ + static const struct arg_val kbled_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0x10, "LED_SCR<<4") }, + { ARG_XLAT_KNOWN(0x70, "LED_SCR<<4|LED_NUM<<4|LED_CAP<<4") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|LED_SCR<<4|LED_NUM<<4" + "|LED_CAP<<4|0x88") }, + { (kernel_ulong_t) 0xbadc0dedfeedfa88ULL, + XLAT_UNKNOWN(0x88, "LED_???") }, + }; + + unsigned char *kbleds = tail_alloc(sizeof(*kbleds)); + + check_null_invalid(ARG_STR(KDGKBLED)); + + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + *kbleds = kbled_vecsi.val; + rc = sys_ioctl(-1, KDGKBLED, (uintptr_t) kbleds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbled_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbleds); + } + } + + + /* KDSKBLED */ + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + sys_ioctl(-1, KDSKBLED, kbled_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBLED), kbled_vecsi.str); + } + + + /* GIO_UNIMAP */ + check_unimap(ARG_STR(GIO_UNIMAP)); + + + /* PIO_UNIMAP */ + check_unimap(ARG_STR(PIO_UNIMAP)); + + + /* PIO_UNIMAPCLR */ + struct unimapinit *umi = tail_alloc(sizeof(*umi)); + + check_null_invalid(ARG_STR(PIO_UNIMAPCLR)); + + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi + 2); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR), (char *) umi + 2); + + memset(umi, 0, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=0" + ", advised_hashstep=0, advised_hashlevel=0}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + fill_memory16(umi, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=32960" + ", advised_hashstep=32961, advised_hashlevel=32962}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + + /* GIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(GIO_UNISCRNMAP)); + + + /* PIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(PIO_UNISCRNMAP)); + + + /* GIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTRESET */ + sys_ioctl(-1, PIO_FONTRESET, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(PIO_FONTRESET)); + + + /* GIO_CMAP */ + check_cmap(ARG_STR(GIO_CMAP)); + + + /* PIO_CMAP */ + check_cmap(ARG_STR(PIO_CMAP)); + + + /* KDFONTOP */ + struct console_font_op *cfo = tail_alloc(sizeof(*cfo)); + unsigned char *cfo_data = tail_alloc(2048); + unsigned char *cfo_data_end = cfo_data + 2048; + + fill_memory(cfo_data, 2048); + + check_null_invalid(ARG_STR(KDFONTOP)); + + cfo->op = 4; + cfo->flags = 0xdeadbeef; + cfo->width = 0xbadc0ded; + cfo->height = 0xfacecafe; + cfo->charcount = 0xdadfaded; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0x4" NRAW(" /* KD_FONT_OP_??? */") + ", flags=" XLAT_KNOWN(0xdeadbeef, "KD_FONT_FLAG_DONT_RECALC" + "|KD_FONT_FLAG_OLD|0x5eadbeee") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP)); + + cfo->op = 0xbeefface; + cfo->flags = 0x5a1ecafe;; + cfo->data = (unsigned char *) cfo; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0xbeefface" + NRAW(" /* KD_FONT_OP_??? */") + ", flags=0x5a1ecafe" NRAW(" /* KD_FONT_FLAG_??? */") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP), cfo +#if RETVAL_INJECTED + , cfo +#endif + ); + + static const struct strval32 kdfont_ops = { + { ARG_XLAT_KNOWN(0, "KD_FONT_OP_SET") }, + { ARG_XLAT_KNOWN(0x1, "KD_FONT_OP_GET") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(kdfont_ops); i++) { + cfo->op = kdfont_opsi.val; + cfo->flags = 1; + cfo->width = 0; + cfo->height = 0; + cfo->charcount = 0; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=0, data=NULL}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC)); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=0, height=0, charcount=0" + ", data=NULL}"); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end; + for (size_t j = 0; j < 2; j++) { + cfo->charcount = j; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=%zu" + ", data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC), j); + if (kdfont_opsi.val == KD_FONT_OP_SET) + printf("\"\""); + else + printf("%p", cfo_data_end); +#if RETVAL_INJECTED + if (kdfont_opsi.val == KD_FONT_OP_GET) { + printf("} => {width=0, height=0, charcount=%zu" + ", data=\"\"", j); + } +#endif + printf("}) = " RETVAL); + + } + + cfo->flags = 0; + cfo->width = 1; + cfo->data = cfo_data_end - 31; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=%p}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + cfo_data_end - 31); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=1, height=0, charcount=1, data=%p}", + cfo_data_end - 31); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end - 32; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) + print_quoted_hex(cfo_data_end - 32, 32); + else + printf("%p", cfo_data_end - 32); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=1, data="); + print_quoted_hex(cfo_data_end - 32, 32); + + } + printf("}) = " RETVAL); + + cfo->charcount = 32; + cfo->data = cfo_data_end - 1023; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET && DEFAULT_STRLEN == 32) + { + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); + } else { + printf("%p", cfo_data_end - 1023); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); +#if DEFAULT_STRLEN == 32 + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); +#else + printf("%p", cfo_data_end - 1023); +#endif + + } + printf("}) = " RETVAL); + + cfo->data = cfo_data_end - 1024; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } else { + printf("%p", cfo_data_end - 1024); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } + printf("}) = " RETVAL); + + cfo->charcount = 256; + cfo->data = cfo_data_end - 1025; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=256, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", cfo_data_end - 1025); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=256, data="); + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + + } + printf("}) = " RETVAL); + } + + cfo->op = 2; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data = cfo_data_end - 1; + cfo->data0 = '\0'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=\"\"}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data0 = 'x'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + cfo_data_end - 1); + + cfo->width = 0xcafebeef; + cfo->height = 0xbea7bee5; + cfo->data = cfo_data_end - 32; + strcpy((char *) cfo->data, + "\1\2\3\r\n\t\v\f\\\"OH\377HAI\7\10\02101234567890x"); + for (size_t j = 0; j < 2; j++) { + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT + ", width=3405692655, height=3198664421, data=\"\\1\\2\\3" + "\\r\\n\\t\\v\\f\\\\\\\"OH\\377HAI\\7\\10\\0210123456789" + "0x\"%s}" +#if RETVAL_INJECTED + " => {width=3405692655, height=3198664421}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + j ? "..." : ""); + + cfo->data31 = 'y'; + } + + cfo->op = 3; + cfo->height = 0; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", height=0}) = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_COPY)); + + + /* KDGKBDIACRUC */ + check_diacruc(ARG_STR(KDGKBDIACRUC)); + + + /* KDSKBDIACRUC */ + check_diacruc(ARG_STR(KDSKBDIACRUC)); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_kd.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd +ioctl.test -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_lirc-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_lirc.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_lirc-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc-success +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_lirc.c
Added
@@ -0,0 +1,206 @@ +/* + * Check LIRC_* ioctl decoding + * + * Copyright (C) 2022 Sean Young <sean@mess.org> + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <sys/ioctl.h> +#include <linux/lirc.h> + +static const char *errstr; + +static long +do_ioctl(kernel_ulong_t cmd, unsigned int *arg) +{ + long rc = ioctl(-1, cmd, arg); + + errstr = sprintrc(rc); + +#ifdef INJECT_RETVAL + if (rc != INJECT_RETVAL) + error_msg_and_fail("Got a return value of %ld != %ld", + rc, (long) INJECT_RETVAL); + + static char inj_errstr4096; + + snprintf(inj_errstr, sizeof(inj_errstr), "%s (INJECTED)", errstr); + errstr = inj_errstr; +#endif + + return rc; +} + +int +main(int argc, char *argv) +{ +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + long ret = ioctl(-1, LIRC_GET_FEATURES, 0); + + printf("ioctl(-1, LIRC_GET_FEATURES, NULL) = %s%s\n", + sprintrc(ret), + ret == INJECT_RETVAL ? " (INJECTED)" : ""); + + if (ret != INJECT_RETVAL) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Hasn't locked on ioctl(-1" + ", LIRC_GET_FEATURES, NULL) returning %d", + INJECT_RETVAL); +#endif + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, value); + + *value = 12000; + do_ioctl(LIRC_SET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT, 12000) = %s\n", errstr); + + *value = 1; + do_ioctl(LIRC_SET_WIDEBAND_RECEIVER, value); + printf("ioctl(-1, LIRC_SET_WIDEBAND_RECEIVER, 1) = %s\n", errstr); + + *value = 0; + do_ioctl(LIRC_SET_MEASURE_CARRIER_MODE, value); + printf("ioctl(-1, LIRC_SET_MEASURE_CARRIER_MODE, 0) = %s\n", errstr); + + *value = 4294967295; + do_ioctl(LIRC_SET_REC_TIMEOUT_REPORTS, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT_REPORTS, 4294967295) = %s\n", + errstr); + + *value = 33; + do_ioctl(LIRC_SET_SEND_DUTY_CYCLE, value); + printf("ioctl(-1, LIRC_SET_SEND_DUTY_CYCLE, 33) = %s\n", errstr); + + *value = 38000; + do_ioctl(LIRC_SET_SEND_CARRIER, value); + printf("ioctl(-1, LIRC_SET_SEND_CARRIER, 38000) = %s\n", errstr); + + *value = 20000; + do_ioctl(LIRC_SET_REC_CARRIER, value); + printf("ioctl(-1, LIRC_SET_REC_CARRIER, 20000) = %s\n", errstr); + + *value = 40000; + do_ioctl(LIRC_SET_REC_CARRIER_RANGE, value); + printf("ioctl(-1, IPMICTL_SET_MAINTENANCE_MODE_CMD or " + "LIRC_SET_REC_CARRIER_RANGE, 40000) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 8; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_SCANCODE) = %s\n", + errstr); + + *value = 4; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_MODE2) = %s\n", + errstr); + + *value = 16; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_LIRCCODE) = %s\n", + errstr); + + *value = 3; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, 0x3 /* LIRC_MODE_??? */) = %s\n", + errstr); + + *value = 31; + do_ioctl(LIRC_SET_TRANSMITTER_MASK, value); + printf("ioctl(-1, LIRC_SET_TRANSMITTER_MASK, 0x1f) = %s\n", + errstr); + + /* read ioctls */ + +#ifdef INJECT_RETVAL + + *value = LIRC_CAN_SEND_PULSE | LIRC_CAN_SET_SEND_DUTY_CYCLE | + LIRC_CAN_GET_REC_RESOLUTION | LIRC_CAN_USE_WIDEBAND_RECEIVER | + 0x008000000; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, LIRC_CAN_SEND_PULSE" + "|LIRC_CAN_SET_SEND_DUTY_CYCLE|LIRC_CAN_USE_WIDEBAND_RECEIVER" + "|LIRC_CAN_GET_REC_RESOLUTION|0x8000000) = %s\n", + errstr); + + *value = 0; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, 0) = %s\n", + errstr); + + *value = 1; + do_ioctl(LIRC_GET_REC_MODE, value); + printf("ioctl(-1, LIRC_GET_REC_MODE, LIRC_MODE_RAW) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_GET_SEND_MODE, value); + printf("ioctl(-1, LIRC_GET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 120; + do_ioctl(LIRC_GET_REC_RESOLUTION, value); + printf("ioctl(-1, LIRC_GET_REC_RESOLUTION, 120) = %s\n", + errstr); + + *value = 120000; + do_ioctl(LIRC_GET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_REC_TIMEOUT, 120000) = %s\n", + errstr); + + *value = 1100; + do_ioctl(LIRC_GET_MIN_TIMEOUT, value); + printf("ioctl(-1, I2OVALIDATE or LIRC_GET_MIN_TIMEOUT, 1100) = %s\n", + errstr); + + *value = 10100; + do_ioctl(LIRC_GET_MAX_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_MAX_TIMEOUT, 10100) = %s\n", + errstr); + + *value = 15; + do_ioctl(LIRC_GET_LENGTH, value); + printf("ioctl(-1, LIRC_GET_LENGTH, 15) = %s\n", + errstr); + + do_ioctl(LIRC_GET_FEATURES, value + 1); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value + 1, errstr); + +#else + + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value, errstr); + +#endif + + do_ioctl(_IO('i', 0xff), value); + printf("ioctl(-1, _IOC(_IOC_NONE, 0x69, 0xff, 0), %p) = %s\n", + value, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_lirc.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_perf.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of PERF_EVENT_IOC_* commands of ioctl syscall. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -198,7 +198,8 @@ "PERF_SAMPLE_TRANSACTION|PERF_SAMPLE_REGS_INTR|" "PERF_SAMPLE_DATA_PAGE_SIZE|PERF_SAMPLE_CODE_PAGE_SIZE|" "0xc2c3c4c5c6000000" - ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|0xcacbcccdcecfd0d0" + ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_LOST|" + "0xcacbcccdcecfd0c0" ", disabled=1, inherit=1, exclusive=1, exclude_hv=1, mmap=1" ", comm=1, inherit_stat=1, watermark=1" ", precise_ip=3 /* must have 0 skid */, mmap_data=1"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success +ioctl-success.sh -a29); do not edit. +set -- -a29 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_ptp.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp.c
Changed
@@ -2,18 +2,20 @@ * Check decoding of PTP_* commands of ioctl syscall. * * Copyright (c) 2018 Harsha Sharma <harshasharmaiitr@gmail.com> - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" +#include "scno.h" #include <fcntl.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <linux/ptp_clock.h> @@ -21,119 +23,613 @@ #include "xlat.h" #include "xlat/ptp_extts_flags.h" #include "xlat/ptp_perout_flags.h" +#include "xlat/ptp_pin_funcs.h" + + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +#if STRACE_SIZEOF_KERNEL_LONG_T == SIZEOF_KERNEL_LONG_T +# define SAFE_TIME_T(t_) t_ +#else +# define SAFE_TIME_T(t_) ((time_t) (t_)) +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ +#ifdef INJECT_RETVAL + static char buf256; +#endif + const long rc = syscall(__NR_ioctl, fd, cmd, arg); +#ifdef INJECT_RETVAL + snprintf(buf, sizeof(buf), "%s (INJECTED)", sprintrc(rc)); + errstr = buf; +#else + errstr = sprintrc(rc); +#endif + return rc; +} static void -test_no_device(void) +print_lltime(const long long sec, const unsigned long long nsec) { - const char *errstr; +#if !XLAT_RAW + if ((time_t) sec != sec) + return; - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); - fill_memory(caps, sizeof(*caps)); + print_time_t_nsec(sec, nsec, 1); +#endif +} - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); - fill_memory(sysoff, sizeof(*sysoff)); +static void +check_bad_ptr(const uint32_t ioc_val, const char *const ioc_str, + const void *const p, const size_t sz) +{ + sys_ioctl(-1, ioc_val, (uintptr_t) NULL); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(ioc_val, ioc_str), errstr); - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); - fill_memory(extts, sizeof(*extts)); + sys_ioctl(-1, ioc_val, (uintptr_t) p + sz); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + sz, errstr); + sys_ioctl(-1, ioc_val, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + 1, errstr); +} + +static void +test_no_device(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_extended, soext); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_precise, soprec); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_perout_request, perout); - fill_memory(perout, sizeof(*perout)); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_pin_desc, pindesc); + long rc; + + /* unrecognized */ + static const uint8_t unk_nums = { 0, 19, 20, 255 }; + + for (const uint8_t *p = unk_nums; p < ARRAY_END(unk_nums); p++) { + for (uint16_t sz = 0; sz < 1280; sz += 8) { + static const struct strval32 dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + for (const struct strval32 *d = dirs; + d < ARRAY_END(dirs); d++) { + uint32_t ioc = + _IOC(d->val, PTP_CLK_MAGIC, *p, sz); + sys_ioctl(-1, ioc, 0); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", 0) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + errstr); + + /* soprec is the biggest var, at 1216 bytes */ + sys_ioctl(-1, ioc, (uintptr_t) soext); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", %p) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + soext, errstr); + } + } + } + + /* PTP_CLOCK_GETCAPS{,2} */ + static const struct strval32 ioc_caps = { + { ARG_STR(PTP_CLOCK_GETCAPS) }, + { ARG_STR(PTP_CLOCK_GETCAPS2) }, + }; + for (const struct strval32 *c = ioc_caps; c < ARRAY_END(ioc_caps); c++) + { + check_bad_ptr(c->val, c->str, caps, sizeof(*caps)); + + memset(caps, 0, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=0, n_alarm=0, n_ext_ts=0, n_per_out=0" + ", pps=0, n_pins=0, cross_timestamping=0" + ", adjust_phase=0}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + + fill_memory32(caps, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=-2136948512, n_alarm=-2136948511" + ", n_ext_ts=-2136948510, n_per_out=-2136948509" + ", pps=-2136948508, n_pins=-2136948507" + ", cross_timestamping=-2136948506" + ", adjust_phase=-2136948505" + ", rsv=0x80a0c0e8, 0x80a0c0e9, 0x80a0c0ea" + ", 0x80a0c0eb, 0x80a0c0ec, 0x80a0c0ed" + ", 0x80a0c0ee, 0x80a0c0ef, 0x80a0c0f0" + ", 0x80a0c0f1, 0x80a0c0f2, 0x80a0c0f3}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + } + + /* PTP_EXTTS_REQUEST{,2} */ + static const struct strval32 ioc_extts = { + { ARG_STR(PTP_EXTTS_REQUEST) }, + { ARG_STR(PTP_EXTTS_REQUEST2) }, + }; + static const struct strval32 extts_flags = { + { ARG_XLAT_KNOWN(0x1, "PTP_ENABLE_FEATURE") }, + { ARG_XLAT_KNOWN(0xdeadbabe, "PTP_RISING_EDGE|PTP_FALLING_EDGE" + "|PTP_STRICT_FLAGS|0xdeadbab0") }, + { ARG_XLAT_UNKNOWN(0xbadbeef0, "PTP_???") }, + { ARG_STR(0) }, + }; + for (const struct strval32 *c = ioc_extts; c < ARRAY_END(ioc_extts); + c++) { + check_bad_ptr(c->val, c->str, extts, sizeof(*extts)); - /* PTP_CLOCK_GETCAPS */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, %p) = %s\n", caps, errstr); + memset(extts, 0, sizeof(*extts)); + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); - /* PTP_SYS_OFFSET */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + extts->index = 3141592653; + for (size_t i = 0; i < ARRAY_SIZE(extts_flags); i++) { + extts->flags = extts_flagsi.val; + extts->rsv0 = i & 1 ? 0xdeadc0de : 0; + extts->rsv1 = i & 2 ? 0xcafebeef : 0; + + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=3141592653" + ", flags=%s", + XLAT_SEL(c->val, c->str), extts_flagsi.str); + if (c->val == PTP_EXTTS_REQUEST2 && (i & 3)) { + printf(", rsv=%#x, %#x", + i & 1 ? 0xdeadc0de : 0, + i & 2 ? 0xcafebeef : 0); + } + printf("}) = %s\n", errstr); + + } + } + + /* PTP_PEROUT_REQUEST{,2} */ + static const struct strval32 ioc_perout = { + { ARG_STR(PTP_PEROUT_REQUEST) }, + { ARG_STR(PTP_PEROUT_REQUEST2) }, + }; + static const struct perout_flags { + uint32_t is_phase :1, + is_duty_cycle :1; + uint32_t flags; + const char *str; + } perout_flags = { + { false, false, ARG_STR(0) }, + { false, false, ARG_XLAT_KNOWN(0x1, "PTP_PEROUT_ONE_SHOT") }, + { false, true, ARG_XLAT_KNOWN(0x3, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_DUTY_CYCLE") }, + { true, false, + ARG_XLAT_KNOWN(0xc0dedbad, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_PHASE|0xc0dedba8") }, + { true, true, + ARG_XLAT_KNOWN(0xdeadbeef, + "PTP_PEROUT_ONE_SHOT|PTP_PEROUT_DUTY_CYCLE" + "|PTP_PEROUT_PHASE|0xdeadbee8") }, + { false, false, ARG_XLAT_UNKNOWN(0xdeadbea8, "PTP_PEROUT_???") } + }; + for (const struct strval32 *c = ioc_perout; c < ARRAY_END(ioc_perout); + c++) { + check_bad_ptr(c->val, c->str, perout, sizeof(*perout)); + + memset(perout, 0, sizeof(*perout)); + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {start={sec=0, nsec=0}" + ", period={sec=0, nsec=0}, index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(perout_flags); i++) { + perout->start.sec = SAFE_TIME_T(0x123456789ULL); + perout->start.nsec = i & 1 ? 1234567890 : 123456789; + perout->start.reserved = i & 2 ? 2718281828 : 0; + perout->period.sec = 0xabcdef; + perout->period.nsec = i & 1 ? 123456789 : 0; + perout->period.reserved = i & 2 ? 0 : 2345678901; + perout->index = 3141592653U; + perout->flags= perout_flagsi.flags; + perout->on.sec = i & 3 ? 0xabcdef0123456789ULL : 0; + perout->on.nsec = i & 2 ? 123456789 : 0; + perout->on.reserved = i & 4 ? 2345678901U : 0; + + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {%s={sec=%lld" + ", nsec=%u%s}", + XLAT_SEL(c->val, c->str), + perout_flagsi.is_phase ? "phase" : "start", + (long long) perout->start.sec, + i & 1 ? 1234567890 : 123456789, + i & 2 ? ", reserved=0xa205b064" : ""); + if (!perout_flagsi.is_phase) { + print_lltime(perout->start.sec, + perout->start.nsec); + } + printf(", period={sec=11259375, nsec=%u%s}" + ", index=3141592653, flags=%s", + i & 1 ? 123456789 : 0, + i & 2 ? "" : ", reserved=0x8bd03835", + perout_flagsi.str); + if (perout_flagsi.is_duty_cycle) { + printf(", on={sec=%lld, nsec=%u%s}", + i & 3 ? 0xabcdef0123456789ULL : 0, + i & 2 ? 123456789 : 0, + i & 4 ? ", reserved=0x8bd03835" : ""); + } else if (i && c->val == PTP_PEROUT_REQUEST2) { + printf(", rsv=%#x, %#x, %#x, %#x", + i & 3 ? BE_LE(0xabcdef01, 0x23456789) : 0, + i & 3 ? BE_LE(0x23456789, 0xabcdef01) : 0, + i & 2 ? 123456789 : 0, + i & 4 ? 2345678901U : 0); + } + printf("}) = %s\n", errstr); + } + } /* PTP_ENABLE_PPS */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST" - ", {start={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t) perout->start.sec, perout->start.nsec); - print_time_t_nsec(perout->start.sec, perout->start.nsec, 1); - printf(", period={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t)perout->period.sec, perout->period.nsec); - print_time_t_nsec(perout->period.sec, perout->period.nsec, 1); - printf(", index=%d, flags=", perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_CLOCK_GETCAPS2 */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, %p) = %s\n", caps, errstr); - - /* PTP_SYS_OFFSET2 */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET2, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, -1); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), (long int) -1, errstr); /* PTP_ENABLE_PPS2 */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, {start={sec=%" PRId64 - ", nsec=%" PRIu32 "}, period={sec=%" PRId64 ", nsec=%" PRIu32 "}" - ", index=%d, flags=", - (int64_t) perout->start.sec, perout->start.nsec, - (int64_t)perout->period.sec, perout->period.nsec, perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, -123456789); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), (long int) -123456789, errstr); - /* unrecognized */ - ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); - printf("ioctl(-1, _IOC(_IOC_READ, %#x, 0xff, 0xfe), 0) = %s\n", - PTP_CLK_MAGIC, errstr); - - const unsigned long arg = (unsigned long) 0xfacefeeddeadbeefULL; - ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); - printf("ioctl(-1, _IOC(_IOC_WRITE, %#x, 0xfd, 0xfc), %#lx)" - " = %s\n", PTP_CLK_MAGIC, arg, errstr); + /* PTP_SYS_OFFSET{,2} */ + static const struct strval32 ioc_sysoff = { + { ARG_STR(PTP_SYS_OFFSET) }, + { ARG_STR(PTP_SYS_OFFSET2) }, + }; + for (const struct strval32 *c = ioc_sysoff; c < ARRAY_END(ioc_sysoff); + c++) { + check_bad_ptr(c->val, c->str, sysoff, sizeof(*sysoff)); + + memset(sysoff, 0, sizeof(*sysoff)); + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts={sec=0, nsec=0}" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + sysoff->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + sysoff->rsv0 = i & 1 ? 0xbadfaced : 0; + sysoff->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < 2 * PTP_MAX_SAMPLES + 1; j++) { + sysoff->tsj.sec = SAFE_TIME_T(2345678901U + j); + sysoff->tsj.nsec = 999999999 - i * 12 + j; + sysoff->tsj.reserved = j & 1 ? 0xdeadface : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu%s%s%s%s", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1, + i & 3 ? ", rsv=" : "", + i & 3 ? i & 1 ? "0xbadfaced" : "0" : "", + i & 3 ? ", 0, " : "", + i & 3 ? i & 2 ? "0xcafeface" : "0" : ""); + if (rc >= 0) { + for (size_t j = 0; + j < MIN(i * 24 + 3, + XLAT_RAW || XLAT_VERBOSE ? 51 + : 32); + j++) { + printf("%s{sec=%lld, nsec=%u%s}", + j ? ", " : ", ts=", + (long long) sysoff->tsj.sec, + sysoff->tsj.nsec, + j & 1 ? ", reserved=0xdeadface" + : ""); + print_lltime(sysoff->tsj.sec, + sysoff->tsj.nsec); + } + printf("%s", + XLAT_RAW || XLAT_VERBOSE || i < 2 + ? "" : ", ..."); + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_PIN_GSETFUNC{,2} */ + static const struct ioc_pin { + uint32_t is_get :1, + is_v2 :1; + uint32_t val; + const char *str; + } ioc_pin = { + { true, false, ARG_STR(PTP_PIN_GETFUNC) }, + { true, true, ARG_STR(PTP_PIN_GETFUNC2) }, + { false, false, ARG_STR(PTP_PIN_SETFUNC) }, + { false, true, ARG_STR(PTP_PIN_SETFUNC2) }, + }; + static const struct strval32 pin_funcs = { + { ENUM_KNOWN(0x1, PTP_PF_EXTTS) }, + { ENUM_KNOWN(0x3, PTP_PF_PHYSYNC) }, + { ARG_XLAT_UNKNOWN(0x4, "PTP_PF_???") }, + { ARG_XLAT_UNKNOWN(0xdeadcafe, "PTP_PF_???") }, + }; + for (const struct ioc_pin *c = ioc_pin; c < ARRAY_END(ioc_pin); c++) { + check_bad_ptr(c->val, c->str, pindesc, sizeof(*pindesc)); + + memset(pindesc, 0, sizeof(*pindesc)); + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=0", + XLAT_SEL(c->val, c->str)); + if (rc >= 0 || !c->is_get) { + printf("%s, func=" XLAT_FMT ", chan=0", + c->is_get ? ", name=\"\"" : "", + XLAT_ARGS(PTP_PF_NONE)); + } + printf("}) = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(pin_funcs); i++) { + memcpy(pindesc->name, + i & 1 ? "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17" + "OH HAI THAR\176\177\377\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + : "abcdefghijklmnopqrstuvwxyz0123456789" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", + sizeof(pindesc->name)); + pindesc->index = 0xcafebabeU; + pindesc->func = pin_funcsi.val; + pindesc->chan = 0xfeedbeefU; + pindesc->rsv0 = i & 1 ? 0xbadc0ded : 0; + pindesc->rsv4 = i & 2 ? 0 : 0xdadfaced; + + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=3405691582", + XLAT_SEL(c->val, c->str)); + if (c->is_get && c->is_v2 && (i & 3) != 2) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + if (rc >= 0 || !c->is_get) { + if (c->is_get) { + printf(", name=\"%s", + i & 1 ? "\\1\\2\\3\\4\\5\\6\\7" + "\\10\\t\\n\\v\\f\\r\\16" + "\\17OH HAI THAR~\\177" + "\\377\"" + : "abcdefghijklmnopqrstuvw" + "xyz0123456789ABCDEFGHIJ" + "KLMNOPQRSTUVWXYZ0\"" + "..."); + } + printf(", func=%s, chan=4276993775", + pin_funcsi.str); + if (!c->is_get && c->is_v2 + && ((i & 1) || !(i & 2))) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_PRECISE{,2} */ + static const struct strval32 ioc_soprec = { + { ARG_STR(PTP_SYS_OFFSET_PRECISE) }, + { ARG_STR(PTP_SYS_OFFSET_PRECISE2) }, + }; + static const struct ptp_clock_time ts_vecs = { + { 0, 123456789 }, + { 0x23456789, 0, 0xdeadface }, + { SAFE_TIME_T(0x123456789ab), 1234567890 }, + { SAFE_TIME_T(0x123456789abcd), 987654321, 0x1 }, + }; + for (const struct strval32 *c = ioc_soprec; c < ARRAY_END(ioc_soprec); + c++) { + check_bad_ptr(c->val, c->str, soprec, sizeof(*soprec)); + + memset(soprec, 0, sizeof(*soprec)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=0, nsec=0}" + ", sys_realtime={sec=0, nsec=0}" + ", sys_monoraw={sec=0, nsec=0}}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ts_vecs); i++) { + soprec->device = ts_vecsi; + soprec->sys_realtime = ARR_ITEM(ts_vecs, i + 1); + soprec->sys_monoraw = ARR_ITEM(ts_vecs, i + 2); + soprec->rsv0 = i & 1 ? 0 : 0xbadfaced; + soprec->rsv3 = i & 2 ? 0 : 0xdeadbeef; + + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=%lld, nsec=%u", + (long long) ts_vecsi.sec, + ts_vecsi.nsec); + if (i & 1) { + printf(", reserved=%#x", + ts_vecsi.reserved); + } + printf("}"); + print_lltime(ts_vecsi.sec, ts_vecsi.nsec); + printf(", sys_realtime={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + if (!(i & 1)) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 1).reserved + ); + } + printf("}"); + print_lltime(ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + printf(", sys_monoraw={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 2).sec, + ARR_ITEM(ts_vecs, i + 2).nsec); + if (i & 1) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 2).reserved + ); + } + printf("}"); + if ((i & 3) != 3) { + printf(", rsv=%#x, 0, 0, %#x", + i & 1 ? 0 : 0xbadfaced, + i & 2 ? 0 : 0xdeadbeef); + } + printf("}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_EXTENDED{,2} */ + static const struct strval32 ioc_soext = { + { ARG_STR(PTP_SYS_OFFSET_EXTENDED) }, + { ARG_STR(PTP_SYS_OFFSET_EXTENDED2) }, + }; + for (const struct strval32 *c = ioc_soext; c < ARRAY_END(ioc_soext); + c++) { + check_bad_ptr(c->val, c->str, soext, sizeof(*soext)); + + memset(soext, 0, sizeof(*soext)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts=" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + soext->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + soext->rsv0 = i & 1 ? 0xbadfaced : 0; + soext->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < PTP_MAX_SAMPLES; j++) { + soext->tsj0.sec = + SAFE_TIME_T(2345678901U + j); + soext->tsj0.nsec = 999999999 - i * 12 + j; + soext->tsj0.reserved = j & 1 ? 0xbee : 0; + + soext->tsj1.sec = + SAFE_TIME_T(-123456780123L + j); + soext->tsj1.nsec = -(i * 12) + j; + soext->tsj1.reserved = j & 2 ? 0xface : 0; + + soext->tsj2.sec = + SAFE_TIME_T(j * (1 << 30)); + soext->tsj2.nsec = j * (1 << 29); + soext->tsj2.reserved = j & 4 ? 0xbabe : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1); + if (i & 3) { + printf(", rsv=%#x, 0, %#x", + i & 1 ? 0xbadfaced : 0, + i & 2 ? 0xcafeface : 0); + } + if (rc >= 0) { + for (size_t j = 0; j < MIN(i * 12 + 1, 25); j++) + { + printf("%s", j ? ", " : ", ts="); + for (size_t k = 0; k < 3; k++) { + printf("%s{sec=%lld, nsec=%u", + k ? ", " : "", + (long long) soext->tsjk.sec, + soext->tsjk.nsec); + if (soext->tsjk.reserved) + printf(", reserved=%#x", + soext->tsjk + .reserved); + printf("}"); + print_lltime( + soext->tsjk.sec, + soext->tsjk.nsec); + } + } + printf(""); + } + printf("}) = %s\n", errstr); + } + } } int -main(void) +main(int argc, char *argv) { +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, PTP_CLOCK_GETCAPS, 0); + printf("ioctl(-1, %s, NULL) = %s%s\n", + XLAT_STR(PTP_CLOCK_GETCAPS), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", PTP_CLOCK_GETCAPS, NULL) returning 42"); + } +#endif /* INJECT_RETVAL */ + test_no_device(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_ptp.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_ptp.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test ); do not edit. -set -- +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test -a29); do not edit. +set -- -a29 . "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_rtc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_rtc.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of RTC ioctl commands. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,30 @@ #include <linux/types.h> #include <linux/rtc.h> +#ifndef RTC_VL_READ +# define RTC_VL_READ _IOR('p', 0x13, unsigned int) +#endif +#ifndef RTC_VL_CLR +# define RTC_VL_CLR _IO ('p', 0x14) +#endif + +#ifndef RTC_PARAM_GET +struct rtc_param { + __u64 param; + union { + __u64 uvalue; + __s64 svalue; + __u64 ptr; + }; + __u32 index; + __u32 __pad; +}; +# define RTC_PARAM_GET _IOW('p', 0x13, struct rtc_param) +#endif /* !TC_PARAM_GET */ +#ifndef RTC_PARAM_SET +# define RTC_PARAM_SET _IOW('p', 0x14, struct rtc_param) +#endif + static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; static const char *errstr; @@ -105,9 +129,7 @@ { ARG_STR(RTC_PIE_ON) }, { RTC_UIE_OFF, "PHN_NOT_OH or RTC_UIE_OFF" }, { ARG_STR(RTC_UIE_ON) }, -#ifdef RTC_VL_CLR { ARG_STR(RTC_VL_CLR), }, -#endif { ARG_STR(RTC_WIE_OFF) }, { ARG_STR(RTC_WIE_ON) }, }, long_cmds = { @@ -125,9 +147,7 @@ { ARG_STR(RTC_PLL_SET) }, { ARG_STR(RTC_RD_TIME) }, { ARG_STR(RTC_SET_TIME) }, -#ifdef RTC_VL_READ { ARG_STR(RTC_VL_READ) }, -#endif { ARG_STR(RTC_WKALM_RD) }, { ARG_STR(RTC_WKALM_SET) }, }, r_time_cmds = { @@ -253,21 +273,147 @@ } } -#ifdef RTC_VL_READ + static const struct strval32 vl_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x10, "RTC_VL_BACKUP_SWITCH") }, + { ARG_XLAT_KNOWN(0xbeef, "RTC_VL_DATA_INVALID" + "|RTC_VL_BACKUP_LOW" + "|RTC_VL_BACKUP_EMPTY" + "|RTC_VL_ACCURACY_LOW|0xbee0") }, + { ARG_XLAT_UNKNOWN(0xbadc0de0, "RTC_VL_???") }, + }; TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, pint); - *pint = 1U << 4; - if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { - printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", pint, errstr); - } else { - printf("ioctl(-1, RTC_VL_READ, RTC_VL_BACKUP_SWITCH) = %s\n", - errstr); + for (size_t i = 0; i < ARRAY_SIZE(vl_vecs); i++) { + *pint = vl_vecsi.val; + + if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { + printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", + pint, errstr); + } else { + printf("ioctl(-1, RTC_VL_READ, %s) = %s\n", + vl_vecsi.str, errstr); + } } -#endif do_ioctl(_IO(0x70, 0x40), lmagic); printf("ioctl(-1, %s, %#lx) = %s\n", "NVRAM_INIT", lmagic, errstr); + static const struct strval32 param_cmds = { + { ARG_STR(RTC_PARAM_GET) }, + { ARG_STR(RTC_PARAM_SET) }, + }; + static const struct { + struct rtc_param val; + const char *get_in; + const char *get_out; + const char *set; + } param_vecs = { + { { 0 }, + "{param=RTC_PARAM_FEATURES, index=0}", + "{uvalue=0}", + "{param=RTC_PARAM_FEATURES, uvalue=0, index=0}" }, + { { .param = 0, .uvalue = (__u64) 0xdeadfacebeeffeedULL, + .index= 0xfacecafe, .__pad = 0xbadc0ded }, + "{param=RTC_PARAM_FEATURES, index=4207856382" + ", __pad=0xbadc0ded}", + "{uvalue=1<<RTC_FEATURE_ALARM|1<<RTC_FEATURE_NEED_WEEK_DAY" + "|1<<RTC_FEATURE_ALARM_RES_2S|1<<RTC_FEATURE_CORRECTION" + "|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", __pad=0xbadc0ded}", + "{param=RTC_PARAM_FEATURES, uvalue=1<<RTC_FEATURE_ALARM" + "|1<<RTC_FEATURE_NEED_WEEK_DAY|1<<RTC_FEATURE_ALARM_RES_2S" + "|1<<RTC_FEATURE_CORRECTION|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", index=4207856382, __pad=0xbadc0ded}" }, + { { .param = 0, .uvalue = 0xbeef00, .__pad = 1 }, + "{param=RTC_PARAM_FEATURES, index=0, __pad=0x1}", + "{uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, __pad=0x1}", + "{param=RTC_PARAM_FEATURES" + ", uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, index=0" + ", __pad=0x1}" }, + { { .param = 1 }, + "{param=RTC_PARAM_CORRECTION, index=0}", + "{svalue=0}", + "{param=RTC_PARAM_CORRECTION, svalue=0, index=0}" }, + { { .param = 1, .svalue = (__s64) 0xfacefeeddeadcafeULL, + .index = 0xdeffaced, .__pad = 0xcafeface }, + "{param=RTC_PARAM_CORRECTION, index=3741297901" + ", __pad=0xcafeface}", + "{svalue=-374081421428536578, __pad=0xcafeface}", + "{param=RTC_PARAM_CORRECTION, svalue=-374081421428536578" + ", index=3741297901, __pad=0xcafeface}" }, + { { .param = 1, .svalue = -1337, .index = 0x42 }, + "{param=RTC_PARAM_CORRECTION, index=66}", + "{svalue=-1337}", + "{param=RTC_PARAM_CORRECTION, svalue=-1337, index=66}" }, + { { .param = 2 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0}", + "{uvalue=RTC_BSM_DISABLED}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_DISABLED" + ", index=0}" }, + { { .param = 2, .uvalue = 3, .index = 0xdecaffed, + .__pad = 0xfacebeef }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=3737845741" + ", __pad=0xfacebeef}", + "{uvalue=RTC_BSM_STANDBY, __pad=0xfacebeef}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_STANDBY" + ", index=3737845741, __pad=0xfacebeef}" }, + { { .param = 2, .uvalue = 4, .__pad = 23 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0, __pad=0x17}", + "{uvalue=0x4 /* RTC_BSM_??? */, __pad=0x17}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0x4 /* RTC_BSM_??? */, index=0, __pad=0x17}" }, + { { .param = 2, .uvalue = (__u64) 0xface1e55beefcafeULL, + .index = 42 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=42}", + "{uvalue=0xface1e55beefcafe /* RTC_BSM_??? */}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0xface1e55beefcafe /* RTC_BSM_??? */" + ", index=42}" }, + { { .param = 3 }, + "{param=0x3 /* RTC_PARAM_??? */, index=0}", + "{uvalue=0}", + "{param=0x3 /* RTC_PARAM_??? */, uvalue=0, index=0}" }, + { { .param = (__u64) 0xbeeffacedeadc0deULL, + .uvalue = (__u64) 0xdefc0dedbadfacedULL, + .index = 3141592653, .__pad = 2718281828 }, + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", index=3141592653, __pad=0xa205b064}", + "{uvalue=0xdefc0dedbadfaced, __pad=0xa205b064}", + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", uvalue=0xdefc0dedbadfaced, index=3141592653" + ", __pad=0xa205b064}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct rtc_param, pparam); + + for (size_t i = 0; i < ARRAY_SIZE(param_cmds); i++) { + do_ioctl(param_cmdsi.val, 0); + printf("ioctl(-1, %s, NULL) = %s\n", + param_cmdsi.str, errstr); + + do_ioctl_ptr(param_cmdsi.val, pparam + 1); + printf("ioctl(-1, %s, %p) = %s\n", + param_cmdsi.str, pparam + 1, errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(param_vecs); i++) { + *pparam = param_vecsi.val; + + int ret = do_ioctl_ptr(RTC_PARAM_GET, pparam); + printf("ioctl(-1, RTC_PARAM_GET, %s => ", param_vecsi.get_in); + if (ret < 0) + printf("%p", pparam); + else + printf("%s", param_vecsi.get_out); + printf(") = %s\n", errstr); + + do_ioctl_ptr(RTC_PARAM_SET, pparam); + printf("ioctl(-1, RTC_PARAM_SET, %s) = %s\n", + param_vecsi.set, errstr); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48); do not edit. +. "${srcdir=.}/init.sh" +test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-success +ioctl-success.sh -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev); do not edit. +set -- -a42 -y -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw); do not edit. +set -- -a27 -y -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose); do not edit. +set -- -a59 -y -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success +ioctl-success.sh -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATHS 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y +ioctl.test -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp.c
Added
@@ -0,0 +1,482 @@ +/* + * Check decoding of SECCOMP_IOCTL_* commands of ioctl syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com>. + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include "pidns.h" +#include "scno.h" + +#include <errno.h> +#include <fcntl.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include "kernel_fcntl.h" + +#include <linux/ioctl.h> +#include <linux/seccomp.h> + +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif +#ifndef PRINT_PATHS +# define PRINT_PATHS 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char null_path = "/dev/null"; +static const char zero_path = "/dev/zero"; + +#define NULL_FD 0 +#define ZERO_FD 42 + +#if PRINT_PATHS +# define PATH_FMT "<%s>" +#else +# define PATH_FMT "%s" +#endif + +/** + * Generate an ioctl command with a different direction based + * on the existing one. + */ +#define IOC_ANOTHER_DIR(nr_, dir_) \ + _IOC(dir_, _IOC_TYPE(nr_), _IOC_NR(nr_), _IOC_SIZE(nr_)) + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(int argc, char **argv) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + long rc; + + PIDNS_TEST_INIT; + + /* + * Start of output marker. printf is in front of ioctl() here because + * musl calls an ioctl before the first output to stdout, specifically, + * ioctl(TIOCGWINSZ) in src/stdio/__stdout_write.c:__stdout_write. + */ + pidns_print_leader(); + errno = EBADF; + printf("ioctl(-1, " XLAT_FMT ", NULL) = -1 EBADF (%m)\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + fflush(NULL); + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + + +#if INJECT_RETVAL + if (argc == 1) + return 0; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + unsigned long num_skip = strtoul(argv1, NULL, 0); + long inject_retval = strtol(argv2, NULL, 0); + bool locked = false; + + if (inject_retval < 0) + error_msg_and_fail("Expected non-negative INJECT_RETVAL, " + "but got %ld", inject_retval); + + for (unsigned long i = 0; i < num_skip; i++) { + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + errstr, rc == inject_retval ? " (INJECTED)" : ""); + + if (rc != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", SECCOMP_IOCTL_NOTIF_RECV, NULL) " + "returning %lu", inject_retval); + } +#endif /* INJECT_RETVAL */ + + /* Unknown seccomp ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 4) { + sys_ioctl(-1, _IOC(dirsi.val, '!', 4, j), magic); + pidns_print_leader(); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x21, 0x4, %#x)") + ", %#lx) = %s" INJ_STR "\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '!', 4, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + + /* SECCOMP_IOCTL_NOTIF_RECV */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif, notif); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + (char *) notif + 1, errstr); + + memset(notif, 0, sizeof(*notif)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + if (rc >= 0) { + printf("{id=0, pid=0, flags=0, data={nr=0, arch=" + XLAT_UNKNOWN(0, "AUDIT_ARCH_???") + ", instruction_pointer=NULL, args=0, 0, 0, 0, 0, 0}}"); + } else { + printf("%p", notif); + } + printf(") = %s" INJ_STR "\n", errstr); + + notif->id = 0xdeadc0debadc0dedULL; + notif->pid = getpid(); + notif->flags = 0xdeefaced; + notif->data.nr = 0xbad5ca11; + notif->data.arch = 0xfeedface; + notif->data.instruction_pointer = (uintptr_t) sys_ioctl; + for (size_t i = 0; i < ARRAY_SIZE(notif->data.args); i++) + notif->data.argsi = 0xdeadfacebadc0dedULL ^ i; +#define ARGS_STR "args=0xdeadfacebadc0ded, 0xdeadfacebadc0dec" \ + ", 0xdeadfacebadc0def, 0xdeadfacebadc0dee" \ + ", 0xdeadfacebadc0de9, 0xdeadfacebadc0de8" \ + /* End of ARGS_STR definition */ + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0xdeadc0debadc0ded, pid=%d%s" + ", flags=0xdeefaced, data={nr=3134573073, arch=" + XLAT_UNKNOWN(0xfeedface, "AUDIT_ARCH_???") + ", instruction_pointer=%p, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), sys_ioctl); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); + +#ifdef CUR_AUDIT_ARCH + notif->id = 0; + notif->flags = 0; + notif->data.nr = __NR_gettid; + notif->data.arch = CUR_AUDIT_ARCH; + notif->data.instruction_pointer = 0; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=" XLAT_FMT_U + ", arch=%s, instruction_pointer=NULL, " ARGS_STR + "}}", + getpid(), pidns_pid2str(PT_TGID), + XLAT_ARGS(__NR_gettid), + sprintxval(audit_arch, CUR_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# if defined(PERS0_AUDIT_ARCH) + notif->data.nr = PERS0__NR_gettid; + notif->data.arch = PERS0_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(M32_AUDIT_ARCH) + notif->data.nr = M32__NR_gettid; + notif->data.arch = M32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + notif->data.nr = MX32__NR_gettid; + notif->data.arch = MX32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +#endif /* CUR_AUDIT_ARCH */ + + + /* SECCOMP_IOCTL_NOTIF_SEND */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_resp, resp); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + (char *) resp + 1, errstr); + + memset(resp, 0, sizeof(*resp)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, val=0, error=0, flags=0}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->id = 0xdeadc0debadc0dedULL; + resp->val = 0xdadfacedbeefdeedULL; + resp->error = 0xbadc0ded; + resp->flags = 0xfacecafe; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=-1159983635, flags=0xfacecafe" + NRAW(" /* SECCOMP_USER_NOTIF_FLAG_??? */") "}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->error = -ENOSR; + resp->flags = 1; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=" XLAT_FMT_D + ", flags=" XLAT_KNOWN(0x1, "SECCOMP_USER_NOTIF_FLAG_CONTINUE") + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + XLAT_SEL(-ENOSR, "-ENOSR"), errstr); + + + /* SECCOMP_IOCTL_NOTIF_ID_VALID */ + static const struct { + uint32_t id; + const char *str; + } id_valid_cmds = { + { ARG_STR(SECCOMP_IOCTL_NOTIF_ID_VALID) }, + { IOC_ANOTHER_DIR(SECCOMP_IOCTL_NOTIF_ID_VALID, _IOC_READ), + "SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, id); + + for (size_t i = 0; i < ARRAY_SIZE(id_valid_cmds); i++) { + + sys_ioctl(-1, id_valid_cmdsi.id, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + (char *) id + 1, errstr); + + memset(id, 0, sizeof(*id)); + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + *id = 0xdecaffedfacefeedULL; + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0xdecaffedfacefeed) = %s" + INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + } + + + /* SECCOMP_IOCTL_NOTIF_ADDFD */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_addfd, addfd); + + close(0); + int fd = open(null_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (fd != NULL_FD) { + if (dup2(fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(fd, NULL_FD)"); + close(fd); + } + + fd = open(zero_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", zero_path); + if (fd != ZERO_FD) { + if (dup2(fd, ZERO_FD) < 0) + perror_msg_and_fail("dup2(fd, ZERO_FD)"); + close(fd); + } + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + (char *) addfd + 1, errstr); + + memset(addfd, 0, sizeof(*addfd)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, flags=0, srcfd=0" PATH_FMT + ", newfd=0, newfd_flags=0}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + PRINT_PATHS ? null_path : "", errstr); + + addfd->id = 0xdeadc0debadfacedULL; + addfd->flags = 0xbadc0dec; + addfd->srcfd = 0xdeadface; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_CLOEXEC|O_DSYNC; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=0xbadc0dec" NRAW(" /* SECCOMP_ADDFD_FLAG_??? */") + ", srcfd=-559023410, newfd=-1091567891, newfd_flags=" XLAT_FMT + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + XLAT_ARGS(O_DSYNC|O_CLOEXEC), errstr); + + addfd->flags = 3; + addfd->srcfd = ZERO_FD; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_DIRECT; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=" XLAT_KNOWN(0x3, "SECCOMP_ADDFD_FLAG_SETFD" + "|SECCOMP_ADDFD_FLAG_SEND") + ", srcfd=%d" PATH_FMT ", newfd=-1091567891, newfd_flags=" + XLAT_FMT "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + ZERO_FD, PRINT_PATHS ? zero_path : "", + XLAT_ARGS(O_DIRECT), errstr); + + pidns_print_leader(); + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_seccomp.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp +ioctl.test -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_tee.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_tee.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,6 +24,13 @@ #define UUID_SIZE 16 +#ifndef TEE_IOCTL_SHM_MAPPED +# define TEE_IOCTL_SHM_MAPPED 0x1 +#endif +#ifndef TEE_IOCTL_SHM_DMA_BUF +# define TEE_IOCTL_SHM_DMA_BUF 0x2 +#endif + /* Not in mainline. */ struct tee_ioctl_shm_register_fd_data { __s64 fd;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_termios-v.c
Added
@@ -0,0 +1,2 @@ +#define VERBOSE 1 +#include "ioctl_termios.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_termios-v.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios-v +ioctl.test -v); do not edit. +set -- -v +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_termios.c
Added
@@ -0,0 +1,991 @@ +/* + * Check decoding of struct termio{,s,s2}-related commands of ioctl syscall. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> + +#include <linux/fcntl.h> +#include <linux/ioctl.h> +#include <linux/termios.h> +#include <linux/tty.h> + +#include <sys/param.h> + +#include "xlat.h" +#include "xlat/baud_options.h" +#include "xlat/term_line_discs.h" + +#ifndef IBSHIFT +# define IBSHIFT 16 +#endif + +#if defined(__sparc__) \ + || defined(__powerpc__) \ + || defined(__powerpc64__) \ + || defined(__alpha__) \ + || defined(__mips__) \ + || defined(__hppa__) +# define IOCTL_CLASHED 0 +#else +# define IOCTL_CLASHED 1 +#endif + +#define PRINT_FLAG(val_, f_) \ + do { \ + if ((val_ & f_)) { \ + printf("%s%s", sep, #f_); \ + val_ &= ~f_; \ + sep = "|"; \ + } \ + } while (0) + +extern int ioctl (int __fd, unsigned long int __request, ...); + +static void +print_iflag(unsigned int iflag) +{ + const char *sep = ""; + + PRINT_FLAG(iflag, IGNBRK); + PRINT_FLAG(iflag, BRKINT); + PRINT_FLAG(iflag, IGNPAR); + PRINT_FLAG(iflag, PARMRK); + PRINT_FLAG(iflag, INPCK); + PRINT_FLAG(iflag, ISTRIP); + PRINT_FLAG(iflag, INLCR); + PRINT_FLAG(iflag, IGNCR); + PRINT_FLAG(iflag, ICRNL); + PRINT_FLAG(iflag, IUCLC); + PRINT_FLAG(iflag, IXON); + PRINT_FLAG(iflag, IXANY); + PRINT_FLAG(iflag, IXOFF); + PRINT_FLAG(iflag, IMAXBEL); + PRINT_FLAG(iflag, IUTF8); + if (iflag) + printf("%s%#x", sep, iflag); +} + +static void +print_oflag(unsigned int oflag) +{ + const char *sep = ""; + + static struct { + tcflag_t val; + const char *prefix; + unsigned int max_val; + } vals = { + { NLDLY, "NL", +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + 3 +#else + 1 +#endif + }, + { CRDLY, "CR", 3 }, + { TABDLY, "TAB", 3 }, + { BSDLY, "BS", 1 }, + { VTDLY, "VT", 1 }, + { FFDLY, "FF", 1 }, + }; + + for (unsigned int i = 0; i < ARRAY_SIZE(vals); i++) { + int val = (oflag & valsi.val) / + (valsi.val / valsi.max_val); +#if !defined __alpha__ + if (i == 2 && val == 3) /* XTABS */ + printf("XTABS|"); + else +#endif + printf("%s%u|", valsi.prefix, val); + oflag &= ~valsi.val; + } + + sep = ""; + PRINT_FLAG(oflag, OPOST); + PRINT_FLAG(oflag, OLCUC); + PRINT_FLAG(oflag, ONLCR); + PRINT_FLAG(oflag, OCRNL); + PRINT_FLAG(oflag, ONOCR); + PRINT_FLAG(oflag, ONLRET); + PRINT_FLAG(oflag, OFILL); + PRINT_FLAG(oflag, OFDEL); +#ifdef PAGEOUT + PRINT_FLAG(oflag, PAGEOUT); +#endif +#ifdef WRAP + PRINT_FLAG(oflag, WRAP); +#endif + if (oflag) + printf("%s%#x", sep, oflag); +} + +static void +print_cflag(unsigned int cflag) +{ + const char *sep = ""; + + printxval(baud_options, cflag & CBAUD, "B???"); + printf("|"); +#if defined IBSHIFT && defined CIBAUD + if (cflag & CIBAUD) { + printxval(baud_options, (cflag & CIBAUD) >> IBSHIFT, "B???"); + printf("<<IBSHIFT|"); + } + cflag &= ~CIBAUD; +#endif + switch (cflag & CSIZE) { + case CS5: + printf("CS5|"); + break; + case CS6: + printf("CS6|"); + break; + case CS7: + printf("CS7|"); + break; + case CS8: + printf("CS8|"); + break; + } + cflag &= ~(CBAUD | CSIZE); + + PRINT_FLAG(cflag, CSTOPB); + PRINT_FLAG(cflag, CREAD); + PRINT_FLAG(cflag, PARENB); + PRINT_FLAG(cflag, PARODD); + PRINT_FLAG(cflag, HUPCL); + PRINT_FLAG(cflag, CLOCAL); +#ifdef CTVB + PRINT_FLAG(cflag, CTVB); +#endif +#ifdef CMSPAR + PRINT_FLAG(cflag, CMSPAR); +#endif +#ifdef CRTSCTS + PRINT_FLAG(cflag, CRTSCTS); +#endif + if (cflag) + printf("%s%#x", sep, cflag); +} + +static void +print_lflag(unsigned int lflag) +{ + const char *sep = ""; + + PRINT_FLAG(lflag, ISIG); + PRINT_FLAG(lflag, ICANON); + PRINT_FLAG(lflag, XCASE); + PRINT_FLAG(lflag, ECHO); + PRINT_FLAG(lflag, ECHOE); + PRINT_FLAG(lflag, ECHOK); + PRINT_FLAG(lflag, ECHONL); + PRINT_FLAG(lflag, NOFLSH); + PRINT_FLAG(lflag, IEXTEN); + PRINT_FLAG(lflag, ECHOCTL); + PRINT_FLAG(lflag, ECHOPRT); + PRINT_FLAG(lflag, ECHOKE); + PRINT_FLAG(lflag, FLUSHO); + PRINT_FLAG(lflag, PENDIN); + PRINT_FLAG(lflag, TOSTOP); +#ifdef EXTPROC + PRINT_FLAG(lflag, EXTPROC); +#endif +#ifdef DEFECHO + PRINT_FLAG(lflag, DEFECHO); +#endif + if (lflag) + printf("%s%#x", sep, lflag); +} + +static void +print_flags(unsigned int iflag, unsigned int oflag, + unsigned int cflag, unsigned int lflag) +{ + printf("c_iflag="); + print_iflag(iflag); + printf(", c_oflag="); + print_oflag(oflag); + printf(", c_cflag="); + print_cflag(cflag); + printf(", c_lflag="); + print_lflag(lflag); +} + +#define cc_def_(cc_) \ + cc_ = #cc_ + +#if VERBOSE +static void +print_termios_cc(const cc_t *ccs, size_t size, bool tios) +{ + static const char * const cc_tio_names = { +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + cc_def_(_VMIN), + cc_def_(_VTIME), + cc_def_(_VINTR), + cc_def_(_VQUIT), + cc_def_(_VERASE), + cc_def_(_VKILL), + cc_def_(_VEOF), + cc_def_(_VEOL), + cc_def_(_VEOL2), + cc_def_(_VSWTC), +# endif + }; + + static const char * const cc_tios_names = { + cc_def_(VMIN), + cc_def_(VTIME), + + cc_def_(VINTR), + cc_def_(VQUIT), + cc_def_(VERASE), + cc_def_(VKILL), + cc_def_(VEOL2), + cc_def_(VSWTC), + cc_def_(VSTART), + cc_def_(VSTOP), + cc_def_(VSUSP), + cc_def_(VREPRINT), + cc_def_(VDISCARD), + cc_def_(VWERASE), + cc_def_(VLNEXT), +# ifndef __sparc__ /* on sparc VMIN == VEOF and VTIME == VEOL */ + cc_def_(VEOF), + cc_def_(VEOL), +# endif +# ifdef VDSUSP + cc_def_(VDSUSP), +# endif + }; + + printf("c_cc="); + + for (size_t i = 0; i < size; i++) { + bool has_name = tios ? + (i < ARRAY_SIZE(cc_tios_names)) && cc_tios_namesi : +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + (i < ARRAY_SIZE(cc_tio_names)) && cc_tio_namesi; +# else + false; +# endif + const char *name = has_name ? + (tios ? cc_tios_names : cc_tio_names)i : ""; + + if (has_name) + printf("%s%s=%#hhx", i ? ", " : "", name, ccsi); + else + printf("%s%zu=%#hhx", i ? ", " : "", i, ccsi); + } + + printf(""); +} +#endif /* VERBOSE */ + +#ifdef HAVE_STRUCT_TERMIOS2 +static void +print_termios2(void *tios_ptr) +{ + struct termios2 *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +# if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + + printf(", c_ispeed=%u, c_ospeed=%u", tios->c_ispeed, tios->c_ospeed); +# else /* !VERBOSE */ + printf("..."); +# endif /* VERBOSE */ + + printf("}"); +} +#endif + +static void +print_termios(void *tios_ptr) +{ + struct termios *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + printf(", c_ispeed=%u", tios->c_ispeed); +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + printf(", c_ospeed=%u", tios->c_ospeed); +# endif +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +print_termio(void *tios_ptr) +{ + struct termio *tios = tios_ptr; + +#if VERBOSE +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + const bool alpha = true; +# else + const bool alpha = false; +# endif +#endif /* VERBOSE */ + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, MIN(NCC, sizeof(tios->c_cc)), !alpha); +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +do_ioctl(kernel_ulong_t cmd, const char *cmd_str, int fd, + void (*printer)(void *data), kernel_ulong_t data_ptr, bool valid, + bool write, const char *data_str, bool can_fail) +{ + long ret = 0; + long saved_errno = 0; + void *data = (void *) (uintptr_t) data_ptr; + + if (!write) { + ret = ioctl(fd, cmd, data_ptr); + saved_errno = errno; + } + + printf("ioctl(%d, %s, ", fd, cmd_str); + + if (valid && !ret) { + if (data_str) + printf("%s", data_str); + else + printer(data); + } else { + if (data) + printf("%#llx", (unsigned long long) data_ptr); + else + printf("NULL"); + } + + if (write) { + ret = ioctl(fd, cmd, data_ptr); + + if (valid && ret && !can_fail) + perror_msg_and_fail("ioctl(%d, %#llx, %#llx) = -1", + fd, (unsigned long long) cmd, + (unsigned long long) data_ptr); + } else { + errno = saved_errno; + } + + printf(") = %s\n", sprintrc(ret)); + +} + +#ifdef HAVE_STRUCT_TERMIOS2 +static const char * +setup_termios2(void *tios_ptr, int variant) +{ + struct termios2 *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +# ifdef PAGEOUT + PAGEOUT| +# endif + 0xbad00000; + tios->c_cflag = B75 +# if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +# endif + |CS6|CSTOPB| +# ifdef CTVB + CTVB| +# endif +# ifdef CMSPAR + CMSPAR| +# endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +# ifdef DEFECHO + DEFECHO| +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +# else + 0xfee00000 +# endif + ; + + tios->c_line = N_IRDA; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + + tios->c_ispeed = 3141592653U; + tios->c_ospeed = 2718281828U; + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +# ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +# else /* !__alpha__ */ + "XTABS" +# endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +# ifdef PAGEOUT + "PAGEOUT|" +# endif +# if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +# else + "0xbad00000, " +# endif + "c_cflag=B75" +# if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +# endif + "|CS6|CSTOPB" +# ifdef CTVB + "|CTVB" +# endif +# ifdef CMSPAR + "|CMSPAR" +# endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +# ifdef __sparc__ + "EXTPROC|" +# endif +# ifdef DEFECHO + "DEFECHO|" +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +# elif defined __sparc__ + "0xf0e0000, " +# else + "0xfee00000, " +# endif +# if VERBOSE + "c_line=N_IRDA, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0, 17=0, 18=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif + ", c_ispeed=3141592653, c_ospeed=2718281828" +# else /* !VERBOSE */ + "..." +# endif /* VERBOSE */ + "}"; + } + + return NULL; +} +#endif + +static const char * +setup_termios(void *tios_ptr, int variant) +{ + struct termios *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0xbad00000; + tios->c_cflag = B75 +#if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +#endif + |CS6|CSTOPB| +#ifdef CTVB + CTVB| +#endif +#ifdef CMSPAR + CMSPAR| +#endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +#else + 0xfee00000 +#endif + ; + + tios->c_line = N_AX25; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + +#ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + tios->c_ispeed = 3141592653U; +#endif +#ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + tios->c_ospeed = 2718281828U; +#endif + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else /* !__alpha__ */ + "XTABS" +#endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +#ifdef PAGEOUT + "PAGEOUT|" +#endif +#if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +#else + "0xbad00000, " +#endif + "c_cflag=B75" +#if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +#endif + "|CS6|CSTOPB" +#ifdef CTVB + "|CTVB" +#endif +#ifdef CMSPAR + "|CMSPAR" +#endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +#ifdef __sparc__ + "EXTPROC|" +#endif +#ifdef DEFECHO + "DEFECHO|" +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +#elif defined __sparc__ + "0xf0e0000, " +#else + "0xfee00000, " +#endif +#if VERBOSE + "c_line=N_AX25, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VMIN=0x89, " + "VEOL=0, VTIME=0xa0, VEOL2=0, " + "VSWTC=0x2a, VWERASE=0, VREPRINT=0, " + "VSUSP=0, VSTART=0, VSTOP=0, " + "VLNEXT=0xff, VDISCARD=0, 17=0, 18=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + ", c_ispeed=3141592653" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + ", c_ospeed=2718281828" +# endif +#else /* !VERBOSE */ + "..." +#endif /* VERBOSE */ + "}"; + } + + return NULL; +} + +static const char * +setup_termio(void *tios_ptr, int variant) +{ + struct termio *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = (unsigned short) (IGNBRK|IUTF8); + tios->c_oflag = (unsigned short) (NL0|CR2|XTABS|BS0|VT1|FF0| + OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0); + tios->c_cflag = (unsigned short) (B75|CS6|CSTOPB); + tios->c_lflag = (unsigned short) (ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif + 0); + + tios->c_line = 234; + +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + tios->c_cc_VTIME = 0xa0; + tios->c_cc_VMIN = 0x89; + tios->c_cc_VSWTC = 0x2a; +#else + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVSWTC = 0x2a; +#endif + + return "{c_iflag=IGNBRK|IUTF8, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else + "XTABS" +#endif + "|BS0" +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "|VT0" +#else + "|VT1" +#endif + "|FF0|OPOST|ONLCR|OFILL" +#if defined PAGEOUT && !defined __sparc__ + "|PAGEOUT" +#endif + ", " + "c_cflag=B75|CS6|CSTOPB, " + "c_lflag=ISIG|ECHOE" +/* the value is too big for termio lflag */ +#if !(defined __alpha__ || defined __powerpc__ || defined __powerpc64__) + "|FLUSHO" +#endif +#ifdef DEFECHO + "|DEFECHO" +#endif + ", " +#if VERBOSE + "c_line=0xea /* N_??? */, " +# if defined __alpha__ + "c_cc=_VEOF=0, _VEOL=0, _VEOL2=0, " + "_VERASE=0, _VWERASE=0, _VKILL=0, " + "_VREPRINT=0x89, _VSWTC=0x2a" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=_VINTR=0, _VQUIT=0, _VERASE=0, " + "_VKILL=0, _VEOF=0, _VMIN=0x89, " + "_VEOL=0, _VTIME=0xa0, _VEOL2=0, " + "_VSWTC=0x2a" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a" +# endif +#else /* !VERBOSE */ + "..." +#endif + "}"; + } + + return NULL; +} + +int +main(void) +{ + int ret; + + struct termio *tio = tail_alloc(sizeof(*tio)); + struct termios *tios1 = tail_alloc(sizeof(*tios1)); +#ifdef HAVE_STRUCT_TERMIOS2 + struct termios2 *tios2 = tail_alloc(sizeof(*tios2)); +#endif + + struct { + struct { + kernel_ulong_t cmd; + const char *cmd_str; + bool write; + bool can_fail; + } cmds6; + struct { + kernel_ulong_t data; + const char *data_str; + bool valid; + } args4; /* The last one should be valid */ + void (*printer)(void *data); + const char * (*setup)(void *data, int variant); + unsigned int setup_variants; + } checks = { +#ifdef HAVE_STRUCT_TERMIOS2 + { + { + { ARG_STR(TCSETS2), true }, + { ARG_STR(TCSETSW2), true }, + { ARG_STR(TCSETSF2), true }, + { ARG_STR(TCGETS2), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios2 + 1), NULL, false }, + { (uintptr_t) tios2 + 4, NULL, false }, + { (uintptr_t) tios2, NULL, true }, + }, + print_termios2, setup_termios2, 3 + }, +#endif + { + { + /* XXX */ + { TCSETS, +#if IOCTL_CLASHED + "SNDCTL_TMR_START or " +#endif + "TCSETS", true }, + { TCSETSW, +#if IOCTL_CLASHED + "SNDCTL_TMR_STOP or " +#endif + "TCSETSW", true }, + { TCSETSF, +#if IOCTL_CLASHED + "SNDCTL_TMR_CONTINUE or " +#endif + "TCSETSF", true }, + + { ARG_STR(TCGETS), false }, + { ARG_STR(TIOCSLCKTRMIOS), true, true }, + { ARG_STR(TIOCGLCKTRMIOS), false, true }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios1 + 1), NULL, false }, + { (uintptr_t) tios1 + 4, NULL, false }, + { (uintptr_t) tios1, NULL, true }, + }, + print_termios, setup_termios, 3 + }, + { + { + { ARG_STR(TCSETA), true }, + { ARG_STR(TCSETAW), true }, + { ARG_STR(TCSETAF), true }, + { ARG_STR(TCGETA), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tio + 1), NULL, false }, + { (uintptr_t) tio + 4, NULL, false }, + { (uintptr_t) tio, NULL, true }, + }, + print_termio, setup_termio, 3 + }, + }; + + static const char ptmx = "/dev/ptmx"; + /* + * The libc function is not available because <linux/fcntl.h> + * is included instead of <fcntl.h>. + */ + ret = syscall(__NR_openat, -100, ptmx, O_RDWR|O_NOCTTY); + if (ret < 0) + perror_msg_and_skip("open: %s", ptmx); + + for (size_t i = 0; i < ARRAY_SIZE(checks); i++) { + const char *last_arg_str = NULL; + + for (size_t j = 0; j < ARRAY_SIZE(checks0.cmds); j++) { + size_t k = 0, l = 0; + bool end = false; + bool write = checksi.cmdsj.write; + + if (!checksi.cmdsj.cmd_str) + continue; + + while (true) { + if (write && checksi.argsk.valid) + last_arg_str = checksi.setup( + (void *) (uintptr_t) (checksi.argsk.data), + l); + + do_ioctl(checksi.cmdsj.cmd, + checksi.cmdsj.cmd_str, + ret, + checksi.printer, + checksi.argsk.data, + checksi.argsk.valid, + write, last_arg_str, + checksi.cmdsj.can_fail); + + if (k < (ARRAY_SIZE(checks0.args) - 1)) + k++; + else if (write && (l < checksi.setup_variants)) + l++; + else if (!write && (l < 1)) + l++; + else + end = true; + + if (end) + break; + } + } + } + + puts("+++ exited with 0 +++"); + + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_termios.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_tiocm.c
Added
@@ -0,0 +1,104 @@ +/* + * Check decoding of ioctl TIOCM* commands. + * + * Copyright (c) 2020-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <errno.h> +#include <stdio.h> +#include <sys/ioctl.h> + +static const char *errstr; + +static int +do_ioctl(kernel_ulong_t cmd, kernel_ulong_t arg) +{ + int rc = ioctl(-1, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +static int +do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) +{ + return do_ioctl(cmd, (uintptr_t) arg); +} + +int +main(int argc, const char *argv) +{ + static const struct { + uint32_t cmd; + const char *str; + bool on_enter; + bool on_exit; + } cmds = { + { ARG_STR(TIOCMGET), false, true }, + { ARG_STR(TIOCMBIS), true, false }, + { ARG_STR(TIOCMBIC), true, false }, + { ARG_STR(TIOCMSET), true, false }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, p_flags); + const void *const efault = p_flags + 1; + + for (size_t i = 0; i < ARRAY_SIZE(cmds); ++i) { + do_ioctl(cmdsi.cmd, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), errstr); + + do_ioctl_ptr(cmdsi.cmd, efault); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + efault, errstr); + +#ifdef __mips__ +# define VALID_FLAGS 0xe777 +# define INVALID_FLAGS 0xffff1888 +#else +# define VALID_FLAGS 0xe1ff +# define INVALID_FLAGS 0xffff1e00 +#endif + *p_flags = INVALID_FLAGS; + + if (cmdsi.on_enter) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_UNKNOWN(INVALID_FLAGS, "TIOCM_???"), + errstr); + + *p_flags = ~*p_flags; + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_KNOWN(VALID_FLAGS, + "TIOCM_LE|" + "TIOCM_DTR|" + "TIOCM_RTS|" + "TIOCM_ST|" + "TIOCM_SR|" + "TIOCM_CTS|" + "TIOCM_CAR|" + "TIOCM_RNG|" + "TIOCM_DSR|" + "TIOCM_OUT1|" + "TIOCM_OUT2|" + "TIOCM_LOOP"), + errstr); + } else if (cmdsi.on_exit) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + p_flags, errstr); + } + + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_tiocm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_tiocm +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ioctl_v4l2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_v4l2.c
Changed
@@ -51,8 +51,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; f->fmt.pix_mp.width = 0x1f3b774b; f->fmt.pix_mp.height = 0xab96a8d6; @@ -64,7 +62,7 @@ f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_JPEG; struct v4l2_plane_pix_format *cur_pix = f->fmt.pix_mp.plane_fmt; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.pix_mp.plane_fmt); i++) { cur_pixi.sizeimage = 0x1e3c531c | i; @@ -126,11 +124,9 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i; - f->fmt.sliced.service_set = V4L2_SLICED_VPS; f->fmt.sliced.io_size = 0xd897925a; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines0); i++) { f->fmt.sliced.service_lines0i = 0xc38e | i; @@ -201,8 +197,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT @@ -229,7 +223,7 @@ ", plane_fmt=", XLAT_ARGS(V4L2_FIELD_NONE), XLAT_ARGS(V4L2_COLORSPACE_JPEG)); - for (i = 0; + for (unsigned int i = 0; i < (buf_type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ? 1 : ARRAY_SIZE(f->fmt.pix_mp.plane_fmt)); ++i) { @@ -321,8 +315,6 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i, j; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT ", fmt.sliced={service_set=" XLAT_FMT @@ -330,15 +322,15 @@ XLAT_SEL(reqval, reqstr), XLAT_SEL(buf_type, buf_type_string), XLAT_ARGS(V4L2_SLICED_VPS)); - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines); - i++) { + ++i) { if (i > 0) printf(", "); printf(""); - for (j = 0; + for (unsigned int j = 0; j < ARRAY_SIZE(f->fmt.sliced.service_lines0); - j++) { + ++j) { if (j > 0) printf(", "); printf("%#x",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_winsize.c
Added
@@ -0,0 +1,43 @@ +/* + * Check decoding of ioctl TIOCGSWINSZ commands. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/ioctl.h> + +int +main(void) +{ + int rc; + + rc = ioctl(-1, TIOCGWINSZ, 0); + printf("ioctl(-1, TIOCGWINSZ, NULL) = %s\n", sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, 0); + printf("ioctl(-1, TIOCSWINSZ, NULL) = %s\n", sprintrc(rc)); + + TAIL_ALLOC_OBJECT_CONST_PTR(struct winsize, ws); + const void *const efault = ws + 1; + fill_memory(ws, sizeof(*ws)); + + rc = ioctl(-1, TIOCSWINSZ, efault); + printf("ioctl(-1, TIOCSWINSZ, %p) = %s\n", efault, sprintrc(rc)); + + rc = ioctl(-1, TIOCGWINSZ, ws); + printf("ioctl(-1, TIOCGWINSZ, %p) = %s\n", ws, sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, ws); + printf("ioctl(-1, TIOCSWINSZ, {ws_row=%u, ws_col=%u" + ", ws_xpixel=%u, ws_ypixel=%u}) = %s\n", + ws->ws_row, ws->ws_col, ws->ws_xpixel, ws->ws_ypixel, + sprintrc(rc)); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ioctl_winsize.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_winsize +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ip_mreq.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ip_mreq.c
Changed
@@ -28,7 +28,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct ip_mreq, m4); TAIL_ALLOC_OBJECT_CONST_PTR(struct ipv6_mreq, m6); - unsigned int i; int rc; inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); @@ -94,7 +93,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ rc = setsockopt(0, optsi.level, optsi.name, optsi.val, -1);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ipc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ipc.c
Changed
@@ -66,8 +66,7 @@ perror_msg_and_skip("ipc"); printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); - unsigned short call; - for (call = 0; call <= 40; call += 10) { + for (unsigned short call = 0; call <= 40; call += 10) { ipc_call0(0, call); ipc_call0(42, call); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ipc_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ipc_msg.c
Changed
@@ -55,8 +55,13 @@ * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2, * glibc skips msgctl syscall invocations and returns EINVAL * for invalid msgctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_MSGCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ipc_sem.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ipc_sem.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2015 Andreas Schwab <schwab@suse.de> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,8 +27,13 @@ * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882, * glibc skips semctl syscall invocations and returns EINVAL * for invalid semctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_SEMCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kcmp.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kcmp.c
Changed
@@ -147,7 +147,6 @@ F8ILL_KULONG_SUPPORTED ? F8ILL_KULONG_MASK : 0; int fd; - unsigned i; TAIL_ALLOC_OBJECT_CONST_PTR(struct kcmp_epoll_slot, slot); /* Open some files to test printpidfd */ @@ -196,7 +195,7 @@ do_kcmp(-1, -1, ARG_STR(KCMP_EPOLL_TFD), 3141592653U, (uintptr_t) slot + 1, 0); - for (i = 0; i < ARRAY_SIZE(slot_data); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(slot_data); ++i) { memcpy(slot, slot_data + i, sizeof(*slot)); do_kcmp(getpid(), -1, ARG_STR(KCMP_EPOLL_TFD), NULL_FD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kernel_version.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kernel_version.c
Changed
@@ -71,7 +71,8 @@ ", line_info=NULL" ", line_info_cnt=0" ", attach_btf_id=0" - ", attach_prog_fd=0}"); + ", attach_prog_fd=0" + ", fd_array=NULL}"); } int
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kexec_file_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kexec_file_load.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of kexec_file_load syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -61,8 +61,6 @@ tail_memdup(cmdline_short_str, sizeof(cmdline_short_str)); char cmdline_ptrsizeof("0x") + sizeof(void *) * 2; char cmdline_short_ptrsizeof("0x") + sizeof(void *) * 2; - unsigned int i; - unsigned int j; struct strval cmdlines = { { (uintptr_t) NULL, "", "", "NULL" }, @@ -81,8 +79,8 @@ snprintf(cmdline_short_ptr, sizeof(cmdline_short_ptr), "%p", cmdline_short); - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(cmdlines); j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(cmdlines); ++j) { rc = syscall(__NR_kexec_file_load, bogus_kernel_fd, bogus_initrd_fd, cmdline_lensj, cmdlinesj.val, flagsi.val);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kexec_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kexec_load.c
Changed
@@ -60,7 +60,6 @@ const char *errstr; long rc; struct segm *segms = tail_alloc(SEGMS_ARRAY_SIZE); - unsigned int i; fill_memory(segms, SEGMS_ARRAY_SIZE); segms0.buf = segms0.mem = NULL; @@ -90,7 +89,7 @@ "memsz=%zu}, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT, segms0.bufsz, segms0.memsz); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -102,7 +101,8 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; + i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -117,7 +117,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_UNCUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}%s", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz, @@ -129,7 +129,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/keyctl-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/keyctl-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 -e trace=keyctl -Xabbrev +run_strace_match_diff -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/keyctl-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/keyctl-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a13 -s10 -e trace=keyctl -Xraw +run_strace_match_diff -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/keyctl-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/keyctl-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a41 -s10 -e trace=keyctl -Xverbose +run_strace_match_diff -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/keyctl.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/keyctl.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of keyctl syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,6 +21,7 @@ #include <string.h> #include <unistd.h> #include <sys/uio.h> +#include <sys/wait.h> #include <linux/keyctl.h> #include "xlat.h" @@ -29,13 +30,15 @@ static const size_t limit = 10; +static pid_t pid; + /* * Well, this is true for DESCRIBE and GET_SECURITY, and false for READ and * DH_COMPUTE and I see no ability to pass this information without * significantly breaking interface. */ -bool nul_terminated_buf = true; -bool buf_in_arg; +static bool nul_terminated_buf = true; +static bool buf_in_arg; /* From ioctl_dm.c */ #define STR32 "AbCdEfGhIjKlMnOpQrStUvWxYz012345" @@ -139,7 +142,6 @@ sizeof(kernel_ulong_t), sizeof(kernel_ulong_t), }; - unsigned i; unsigned cnt = 0; va_list ap; @@ -165,20 +167,20 @@ long rc = syscall(__NR_keyctl, cmd, args0, args1, args2, args3); const char *errstr = sprintrc(rc); #if XLAT_RAW - printf("keyctl(%#x", (unsigned) cmd); + printf("%-5u keyctl(%#x", pid, (unsigned) cmd); #elif XLAT_VERBOSE - printf("keyctl(%#x /* %s */", (unsigned) cmd, cmd_str); + printf("%-5u keyctl(%#x /* %s */", pid, (unsigned) cmd, cmd_str); #else - printf("keyctl(%s", cmd_str); + printf("%-5u keyctl(%s", pid, cmd_str); #endif - for (i = 0; i < cnt; i++) { + for (unsigned int i = 0; i < cnt; ++i) { printf(", "); print_arg(argsi, arg_stri, arg_fmti, arg_szi, rc); } printf(") = %s\n", errstr); } -static int +static int ATTRIBUTE_FORMAT((__printf__, 3, 4)) append_str(char **buf, size_t *left, const char *fmt, ...) { int ret; @@ -212,7 +214,7 @@ } else if (!kdf->hashname) { append_str(&pos, &left, "NULL"); } else if (deref_hash) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->hashname); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->hashname); if (strnlen(kdf->hashname, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -227,7 +229,7 @@ } else if (!kdf->otherinfo) { append_str(&pos, &left, "NULL"); } else if (deref_oi) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->otherinfo); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->otherinfo); if (strnlen(kdf->otherinfo, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -238,11 +240,9 @@ append_str(&pos, &left, ", otherinfolen=%u", kdf->otherinfolen); if (print_spare) { - size_t i; - append_str(&pos, &left, ", __spare="); - for (i = 0; i < ARRAY_SIZE(kdf->__spare); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kdf->__spare); ++i) { if (i) append_str(&pos, &left, ", "); @@ -305,6 +305,23 @@ int main(void) { + pid = fork(); + if (pid < 0) + perror_msg_and_fail("fork"); + if (pid) { + int s; + pid_t rc; + while ((rc = waitpid(pid, &s, 0)) != pid) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pid); + } + printf("%-5u +++ exited with 0 +++\n", getpid()); + return WIFEXITED(s) ? WEXITSTATUS(s) + : (WIFSIGNALED(s) ? 128 + WTERMSIG(s) : 9); + } + pid = getpid(); + enum { PR_LIMIT = 10, IOV_SIZE = 11, IOV_STR_SIZE = 4096 }; static const char *kulong_fmt = @@ -395,7 +412,6 @@ ssize_t ret; ssize_t kis_size = 0; long rc; - size_t i; key_iov0.iov_base = short_type; key_iov0.iov_len = sizeof(short_type_str); @@ -408,7 +424,7 @@ key_iov4.iov_base = bogus_str; key_iov4.iov_len = 32; - for (i = 5; i < IOV_SIZE; i++) { + for (size_t i = 5; i < IOV_SIZE; ++i) { key_iovi.iov_base = (void *) (uintptr_t) (0xfffffacefffff00dULL + 0x100000001ULL * i); @@ -442,7 +458,7 @@ if ((ret < 0) || (ret >= IOV_STR_SIZE)) error_msg_and_fail("snprintf"); - for (i = 4; i < PR_LIMIT; i++) { + for (size_t i = 4; i < PR_LIMIT; ++i) { kis_size += ret; ret = snprintf(key_iov_str2 + kis_size, IOV_STR_SIZE - kis_size, @@ -1067,7 +1083,7 @@ /* KEYCTL_DH_COMPUTE + KDF */ - for (i = 0; i < ARRAY_SIZE(kckdfp_data); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kckdfp_data); ++i) { struct keyctl_kdf_params *kckdfp = (struct keyctl_kdf_params *) kckdfp_char; bool deref_hash = true; @@ -1182,7 +1198,7 @@ struct keyctl_pkey_params *pkey_params = tail_alloc(sizeof(*pkey_params)); - for (i = 0; i < ARRAY_SIZE(pkey_ops); i++) { + for (size_t i = 0; i < ARRAY_SIZE(pkey_ops); ++i) { do_keyctl(pkey_opsi.op, pkey_opsi.str, sizeof(char *), ARG_STR(NULL), ptr_fmt, sizeof(char *), ARG_STR(NULL), ptr_fmt, @@ -1243,7 +1259,8 @@ XSTR(0xffffffff, "KEYCTL_MOVE_EXCL|0xfffffffe") }, }; - for (i = 0; i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); i++) { + for (size_t i = 0; + i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); ++i) { do_keyctl(ARG_STR(KEYCTL_MOVE), sizeof(kernel_ulong_t), move_keysi % ARRAY_SIZE(move_keys).key, @@ -1278,7 +1295,7 @@ const kernel_ulong_t bad_len = (kernel_ulong_t) 0xbadc0ded00000001LLU; rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, bad_len); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1291,7 +1308,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc == 1) @@ -1304,7 +1321,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps2, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1321,7 +1338,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps4, 4); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1340,7 +1357,7 @@ } printf(", 4) = %s\n", errstr); - puts("+++ exited with 0 +++"); + printf("%-5u +++ exited with 0 +++\n", pid); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/keyctl.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/keyctl.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10 -f --signal='!chld'); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 +run_strace_match_diff -a31 -s10 -f --signal='!chld'
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kill_child.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kill_child.c
Changed
@@ -2,11 +2,11 @@ * Check for the corner case that previously lead to segfault * due to an attempt to access unitialised tcp->s_ent. * - * 13994 ????( <unfinished ...> + * 13994 ???( <unfinished ...> * ... - * 13994 <... ???? resumed>) = ? + * 13994 <... ??? resumed>) = ? * - * Copyright (c) 2019 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/kill_child.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/kill_child.test
Changed
@@ -2,7 +2,7 @@ # # Check whether repeated killing of just forked processes crashes strace. # -# Copyright (c) 2019 The strace developers. +# Copyright (c) 2019-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -22,10 +22,10 @@ # Printing of "<... SYSCALL resumed>" in strace.c:print_event_exit # used to segfault when the syscall number had not been obtained # on syscall entering. - grep -q '^1-90-9* <\.\.\. ???? resumed>) \+= ?$' "$LOG" && exit 0 + grep -q '^1-90-9* <\.\.\. ??? resumed>) \+= ?$' "$LOG" && exit 0 s1="$(date +%s)" if "$(($s1-$s0))" -gt "$(($TIMEOUT_DURATION/2))" ; then - skip_ 'Unable to reproduce <... ???? resumed>' + skip_ 'Unable to reproduce <... ??? resumed>' fi done
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ksysent.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ksysent.c
Changed
@@ -2,7 +2,7 @@ * Validate syscallent.h file. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,18 +22,19 @@ #include "sysent_shorthand_undefs.h" +DIAG_PUSH_IGNORE_OVERRIDE_INIT typedef const char *pstr_t; static const pstr_t ksyslist = { #include "ksysent.h" }; +DIAG_POP_IGNORE_OVERRIDE_INIT int main(void) { int rc = 0; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ksyslist); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ksyslist); ++i) { if (!ksyslisti) continue; if (i >= ARRAY_SIZE(syscallent) || !syscallenti.sys_name) { @@ -71,7 +72,7 @@ } } - for (i = 0; i < ARRAY_SIZE(syscallent); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(syscallent); ++i) { if (!syscallenti.sys_name #ifdef SYS_socket_nsubcalls || (i >= SYS_socket_subcall &&
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/landlock_add_rule.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/landlock_add_rule.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_add_rule syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -101,8 +102,8 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const struct {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/landlock_create_ruleset-y.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/landlock_create_ruleset-y.c
Changed
@@ -1,4 +1,4 @@ -#define FD_PATH "<anon_inode:landlock-ruleset>" +#define DECODE_FD 1 #define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") #include "landlock_create_ruleset.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/landlock_create_ruleset.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/landlock_create_ruleset.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_create_ruleset syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,10 +10,12 @@ #include "tests.h" #include "scno.h" +#include "xmalloc.h" #include <inttypes.h> #include <stdio.h> #include <stdint.h> +#include <stdlib.h> #include <unistd.h> #include <linux/landlock.h> @@ -20,6 +23,9 @@ #ifndef RETVAL_INJECTED # define RETVAL_INJECTED 0 #endif +#ifndef DECODE_FD +# define DECODE_FD 0 +#endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -117,21 +123,47 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const kernel_ulong_t sizes = { 8, 12, 16 }; for (size_t i = 0; i < ARRAY_SIZE(attr_vals); i++) { for (size_t j = 0; j < ARRAY_SIZE(sizes); j++) { + const char *fd_str = FD_PATH; + attr->handled_access_fs = attr_valsi.val; rc = sys_landlock_create_ruleset(attr, sizesj, 0); + +#if DECODE_FD + /* + * The ABI has been broken in commit v5.18-rc1~88^2 + * by adding brackets to the link value, hence, we can't + * rely on a specific name anymore and have to fetch it + * ourselves. + */ + if (rc >= 0) { + static char buf256; + char *path = xasprintf("/proc/self/fd/%ld", rc); + ssize_t ret = readlink(path, buf + 1, + sizeof(buf) - 3); + free(path); + + if (ret >= 0) { + buf0 = '<'; + bufret + 1 = '>'; + bufret + 2 = '\0'; + fd_str = buf; + } + } +#endif + printf("landlock_create_ruleset({handled_access_fs=%s" "%s}, %llu, 0) = %s%s" INJ_STR, attr_valsi.str, sizesj > sizeof(*attr) ? ", ..." : "", (unsigned long long) sizesj, - errstr, rc > 0 ? FD_PATH : ""); + errstr, rc >= 0 ? fd_str : ""); } }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/linkat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/linkat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=linkat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/linkat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/linkat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_mismatch --secontext=mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=linkat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/linkat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/linkat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of linkat syscall. * - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,15 +10,31 @@ #include "tests.h" #include "scno.h" +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> +#include <string.h> #include "secontext.h" #include "xmalloc.h" +static void +mangle_secontext_field(const char *path, enum secontext_field field, + const char *new_val, const char *fallback_val) +{ + char *orig = get_secontext_field_file(path, field); + if (!orig) + return; + + update_secontext_field(path, field, + strcmp(new_val, orig) ? new_val : fallback_val); + + free(orig); +} + int main(void) { @@ -87,11 +103,50 @@ if (close(fd_sample_2)) perror_msg_and_fail("close"); + if (*sample_1_secontext && strstr(sample_1_secontext, "!!")) + reset_secontext_file(sample_1); + free(sample_1_secontext); - update_secontext_type(sample_1, "default_t"); + +#ifdef PRINT_SECONTEXT_MISMATCH + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_USER, "system_u", + "unconfined_u"); + sample_1_secontext = SECONTEXT_FILE(sample_1); + +# ifdef PRINT_SECONTEXT_FULL + /* The mismatch should be detected */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "system_u") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +# else + /* The mismatch cannot be detected since it's on user part */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") != NULL) + perror_msg_and_fail("Context mismatch detected: %s", + sample_1_secontext); +# endif + + free(sample_1_secontext); +#endif + + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_TYPE, "default_t", + "unconfined_t"); sample_1_secontext = SECONTEXT_FILE(sample_1); sample_2_secontext = sample_1_secontext; +#ifdef PRINT_SECONTEXT_MISMATCH + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +#endif + rc = syscall(__NR_linkat, -100, sample_1, -100, sample_2, 0); printf("%s%s(AT_FDCWD, \"%s\"%s, AT_FDCWD, \"%s\"%s, 0) = %s\n", my_secontext, "linkat", @@ -108,8 +163,21 @@ int dfd_old = get_dir_fd("."); char *cwd = get_fd_path(dfd_old); + + errno = 0; + mangle_secontext_field(".", SECONTEXT_TYPE, "default_t", + "unconfined_t"); char *dfd_old_secontext = SECONTEXT_FILE("."); +#ifdef PRINT_SECONTEXT_MISMATCH + if (*dfd_old_secontext && strstr(dfd_old_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); + if (*dfd_old_secontext && strstr(dfd_old_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); +#endif + rc = syscall(__NR_linkat, dfd_old, sample_1, -100, sample_2, 0); /* no context printed for sample_2 since file doesn't exist yet */ printf("%s%s(%d%s, \"%s\"%s, AT_FDCWD, \"%s\", 0) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/list_sigaction_signum.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/list_sigaction_signum.c
Changed
@@ -15,9 +15,7 @@ int main(void) { - unsigned int i; - - for (i = 1; i < 32; ++i) { + for (unsigned int i = 1; i < 32; ++i) { static const struct sigaction ign = { .sa_handler = SIG_IGN }; static const struct sigaction dfl = { .sa_handler = SIG_DFL }; struct sigaction act;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/mbind.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/mbind.c
Changed
@@ -68,6 +68,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -82,9 +85,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/membarrier.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/membarrier.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of membarrier syscall. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -72,6 +72,14 @@ "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; break; + case 2|4|8|16|128|256: + text = "MEMBARRIER_CMD_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; + break; default: error_msg_and_fail("membarrier returned %#x, does" " the test have to be updated?", rc);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/mincore.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/mincore.c
Changed
@@ -14,13 +14,11 @@ print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) { - unsigned int i; - if (mincore(addr, size, vec)) perror_msg_and_skip("mincore"); printf("mincore(%p, %zu, ", addr, size); - for (i = 0; i < pages; ++i) { + for (unsigned int i = 0; i < pages; ++i) { if (i) printf(", "); if (i >= DEFAULT_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/mmsg_name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/mmsg_name.c
Changed
@@ -68,9 +68,9 @@ struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); - int i, rc; + int rc; - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { int sun_len = i + 1 > (int) sizeof(send_addri.sun_path) ? (int) sizeof(send_addri.sun_path) : i + 1; @@ -96,7 +96,7 @@ int saved_errno = errno; printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -115,7 +115,7 @@ printf(", %u, MSG_DONTWAIT) = %d %s (%m)\n", IOV_MAX1, rc, errno2name()); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { send_mhi.msg_hdr.msg_name = 0; send_mhi.msg_hdr.msg_namelen = 0; } @@ -140,7 +140,7 @@ perror_msg_and_skip("sendmmsg"); printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -163,7 +163,7 @@ struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { recv_iovi.iov_base = &recv_bufi; recv_iovi.iov_len = sizeof(*recv_buf); @@ -181,7 +181,7 @@ perror_msg_and_skip("recvmmsg"); printf("recvmmsg(%d, ", recv_fd); - for (i = 0; i < rc; ++i) { + for (int i = 0; i < rc; ++i) { if (i) printf(", "); #if !VERBOSE
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/mount_setattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/mount_setattr.c
Changed
@@ -45,6 +45,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -65,8 +68,8 @@ k_mount_setattr(-100, fname, 0, attr, MOUNT_ATTR_SIZE_VER0 - 1); #ifndef PATH_TRACING - printf("mount_setattr(%s, \"%.*s\"..., 0, %p, %u) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, + printf("mount_setattr(AT_FDCWD<%s>, \"%.*s\"..., 0, %p, %u) = %s\n", + cwd, (int) PATH_MAX - 1, fname, attr, MOUNT_ATTR_SIZE_VER0 - 1, rcstr); #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/move_mount.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/move_mount.c
Changed
@@ -41,6 +41,7 @@ { skip_if_unavailable("/proc/self/fd/"); + char *cwd = get_fd_path(get_dir_fd(".")); static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); const void *const efault = path + sizeof(path_full); @@ -54,40 +55,57 @@ k_move_mount(-1, 0, -100, efault, 0); #ifndef PATH_TRACING - printf("move_mount(-1, NULL, AT_FDCWD, %p, 0) = %s\n", efault, errstr); + printf("move_mount(-1, NULL, AT_FDCWD<%s>, %p, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(-100, efault, -1, 0, 0); #ifndef PATH_TRACING - printf("move_mount(AT_FDCWD, %p, -1, NULL, 0) = %s\n", efault, errstr); + printf("move_mount(AT_FDCWD<%s>, %p, -1, NULL, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(dfd, fname, -100, empty, 1); - printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD, \"\", %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_F_SYMLINKS", errstr); + printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, (int) PATH_MAX - 1, fname, cwd, + "MOVE_MOUNT_F_SYMLINKS", errstr); k_move_mount(-100, empty, dfd, fname, 0x10); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_T_SYMLINKS", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_T_SYMLINKS", errstr); + + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_SET_GROUP", errstr); #define f_flags_str "MOVE_MOUNT_F_SYMLINKS|MOVE_MOUNT_F_AUTOMOUNTS|MOVE_MOUNT_F_EMPTY_PATH" fnamePATH_MAX - 1 = '\0'; k_move_mount(dfd, fname, -100, empty, 7); - printf("move_mount(%d<%s>, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - dfd, path, fname, f_flags_str, errstr); + printf("move_mount(%d<%s>, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, fname, cwd, f_flags_str, errstr); #define t_flags_str "MOVE_MOUNT_T_SYMLINKS|MOVE_MOUNT_T_AUTOMOUNTS|MOVE_MOUNT_T_EMPTY_PATH" k_move_mount(-100, empty, dfd, fname, 0x70); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%s\", %s) = %s\n", - dfd, path, fname, t_flags_str, errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, t_flags_str, errstr); + +#define set_group_str "MOVE_MOUNT_SET_GROUP" + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, set_group_str, errstr); - k_move_mount(-1, path, -100, empty, 0x77); - printf("move_mount(-1, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - path, f_flags_str "|" t_flags_str, errstr); + k_move_mount(-1, path, -100, empty, 0x177); + printf("move_mount(-1, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + path, cwd, f_flags_str "|" t_flags_str "|" set_group_str, + errstr); k_move_mount(-100, empty, -1, path, -1); - printf("move_mount(AT_FDCWD, \"\", -1, \"%s\", %s) = %s\n", - path, f_flags_str "|" t_flags_str "|0xffffff88", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", -1, \"%s\", %s) = %s\n", + cwd, path, + f_flags_str "|" t_flags_str "|" set_group_str "|0xfffffe88", + errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/move_pages.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/move_pages.c
Changed
@@ -32,8 +32,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -68,8 +67,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -94,8 +92,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i >= MAX_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/mq_sendrecv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/mq_sendrecv.c
Changed
@@ -50,10 +50,8 @@ static void printstr(unsigned char start, unsigned int count) { - unsigned int i; - printf("\""); - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { printf("\\%hho", (unsigned char) (start + i)); } printf("\""); @@ -63,10 +61,7 @@ static void dumpstr(unsigned char start, unsigned int count) { - unsigned int i; - unsigned int j; - - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { if (i < count) { if (!(i % 16)) printf(" | %05x ", i); @@ -83,9 +78,9 @@ printf(" "); - for (j = 0; j <= (i % 16); j++) + for (unsigned int j = 0; j <= (i % 16); ++j) printf("."); - for (j = i % 16; j < 15; j++) + for (unsigned int j = i % 16; j < 15; ++j) printf(" "); printf(" |\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/msg_control.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/msg_control.c
Changed
@@ -57,8 +57,7 @@ printf(", cmsg_data="); int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfd; ++i) { + for (size_t i = 0; i < nfd; ++i) { if (i) printf(", "); #if !VERBOSE @@ -197,8 +196,7 @@ cmsg->cmsg_level = SOL_SOCKET; cmsg->cmsg_type = SCM_RIGHTS; int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfds; ++i) + for (size_t i = 0; i < nfds; ++i) fdpi = i; mh->msg_control = cmsg; @@ -603,15 +601,13 @@ { static const int fds0 = { -10, -11, -12, -13 }; static const int fds1 = { -15, -16, -17, -18 }; - size_t msg_controllen, max_msg_controllen; + size_t max_msg_controllen; max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; - for (msg_controllen = 0; + for (size_t msg_controllen = 0; msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0); cmsg_len++) { test_scm_rights1(mh, msg_controllen, @@ -622,7 +618,7 @@ max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + sizeof(*fds0) - 1; - for (msg_controllen = CMSG_LEN(0) * 2; + for (size_t msg_controllen = CMSG_LEN(0) * 2; msg_controllen <= max_msg_controllen; msg_controllen++) { static const int *const fdps = { fds0, fds1 }; @@ -646,12 +642,10 @@ static const char text16 = "0123456789abcdef"; max_msg_controllen = CMSG_SPACE(sizeof(text)) + CMSG_LEN(0) - 1; - for (msg_controllen = CMSG_LEN(0); + for (size_t msg_controllen = CMSG_LEN(0); msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0) && cmsg_len <= CMSG_LEN(sizeof(text)); cmsg_len++) { @@ -763,8 +757,7 @@ print_ip_opts(const void *const cmsg_data, const unsigned int data_len) { const unsigned char *const opts = cmsg_data; - unsigned int i; - for (i = 0; i < data_len; ++i) { + for (unsigned int i = 0; i < data_len; ++i) { if (i) printf(", "); #if !VERBOSE @@ -788,8 +781,7 @@ cmsg->cmsg_len = CMSG_LEN(opts_len); cmsg->cmsg_level = SOL_IP; cmsg->cmsg_type = cmsg_type; - unsigned int i; - for (i = 0; i < opts_len; ++i) + for (unsigned int i = 0; i < opts_len; ++i) CMSG_DATA(cmsg)i = 'A' + i; mh->msg_control = cmsg;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/net--decode-fds-all-netlink.c
Added
@@ -0,0 +1,1 @@ +#include "net--decode-fds-socket-netlink.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/net--decode-fds-all-netlink.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all); do not edit. +set -- --decode-fds=all +. "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/net--decode-fds-dev-netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/net--decode-fds-dev-netlink.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_SOCK 1 -#include "net-yy-netlink.c" +#include "net--decode-fds-none-netlink.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/net--decode-fds-dev-netlink.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/net--decode-fds-dev-netlink.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev); do not edit. -set -- --decode-fds=dev +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9); do not edit. +set -- --decode-fds=dev -a9 . "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/net-icmp_filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/net-icmp_filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ICMP_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,48 +17,62 @@ main(void) { getsockopt(-1, SOL_RAW, ICMP_FILTER, 0, 0); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = -1 %s (%m)\n", - errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = %s\n", + sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = -1 %s (%m)\n", - errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = %s\n", + sprintrc(-1)); TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, plen); void *const efault = plen + 1; TAIL_ALLOC_OBJECT_CONST_PTR(struct icmp_filter, f); getsockopt(-1, SOL_RAW, ICMP_FILTER, f, plen); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = -1 %s (%m)\n", - f, *plen, errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = %s\n", + f, *plen, sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, efault, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = -1 %s (%m)\n", - efault, (unsigned) sizeof(*f), errno2name()); - - f->data = ~( - 1<<ICMP_ECHOREPLY | - 1<<ICMP_DEST_UNREACH | - 1<<ICMP_SOURCE_QUENCH | - 1<<ICMP_REDIRECT | - 1<<ICMP_TIME_EXCEEDED | - 1<<ICMP_PARAMETERPROB); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = %s\n", + efault, (unsigned) sizeof(*f), sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, f, -2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = -1 %s (%m)\n", - f, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = %s\n", + f, sprintrc(-1)); + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~, %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 0; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f), errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, , %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 1<<ICMP_ECHOREPLY | + 1<<ICMP_DEST_UNREACH | + 1<<ICMP_SOURCE_QUENCH | + 1<<ICMP_REDIRECT | + 1<<ICMP_TIME_EXCEEDED | + 1<<ICMP_PARAMETERPROB; + static const char data_str = + "ICMP_ECHOREPLY" + " ICMP_DEST_UNREACH" + " ICMP_SOURCE_QUENCH" + " ICMP_REDIRECT" + " ICMP_TIME_EXCEEDED" + " ICMP_PARAMETERPROB"; + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = %s\n", + data_str, (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = ~f->data; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f) * 2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f) * 2, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~%s, %u) = %s\n", + data_str, (unsigned) sizeof(*f) * 2, sprintrc(-1)); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/net-sockaddr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/net-sockaddr.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockaddr structures * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,11 @@ #include <linux/if_ether.h> #include <linux/if_packet.h> #include <linux/x25.h> -#include <linux/ipx.h> +#if defined HAVE_LINUX_IPX_H +# include <linux/ipx.h> +#elif defined HAVE_NETIPX_IPX_H +# include <netipx/ipx.h> +#endif #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -269,6 +273,7 @@ printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in6, len, ret); } +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H static void check_ipx(void) { @@ -281,20 +286,26 @@ .sipx_node = "ABCDEF", .sipx_type = -1 }; - void *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); + struct sockaddr_ipx *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); unsigned int len = sizeof(c_ipx); - int ret = connect(-1, ipx, len); - pidns_print_leader(); - printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" - ", sipx_network=htonl(%#x)" - ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" - ", sipx_type=%#02x}, %u) = %d EBADF (%m)\n", - h_port, h_network, - c_ipx.sipx_node0, c_ipx.sipx_node1, - c_ipx.sipx_node2, c_ipx.sipx_node3, - c_ipx.sipx_node4, c_ipx.sipx_node5, - c_ipx.sipx_type, len, ret); + + for (size_t i = 0; i < 2; i++) { + ipx->sipx_zero = i ? 0x42 : 0; + int ret = connect(-1, (void *) ipx, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" + ", sipx_network=htonl(%#x)" + ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" + ", sipx_type=%#02x%s}, %u) = %d EBADF (%m)\n", + h_port, h_network, + c_ipx.sipx_node0, c_ipx.sipx_node1, + c_ipx.sipx_node2, c_ipx.sipx_node3, + c_ipx.sipx_node4, c_ipx.sipx_node5, + c_ipx.sipx_type, i ? ", sipx_zero=0x42" : "", + len, ret); + } } +#endif /* HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H */ /* for a bit more compact AX.25 address definitions */ #define AX25_ADDR(c_, s_) \ @@ -348,7 +359,7 @@ rc = connect(-1, sax_void, sizeof(struct sockaddr_ax25)); pidns_print_leader(); printf("connect(-1, {sa_family=AF_AX25, fsa_ax25={sax25_call=VALID-13" - ", sax25_ndigis=8}, fsa_digipeater=???}, %zu) = %s\n", + ", sax25_ndigis=8}, fsa_digipeater=...}, %zu) = %s\n", sizeof(struct sockaddr_ax25), sprintrc(rc)); sax->fsa_ax25.sax25_ndigis = 0; @@ -369,7 +380,7 @@ ", {ax25_call=\"\\xa6\\xa6\\x92\\x88\\x40\\x40\\x20\"" "} /* SSID-0 */" ", *" - ", ???, ...}, %zu) = %s\n", + ", ..., ...}, %zu) = %s\n", size, sprintrc(rc)); sax->fsa_digipeater2.ax25_call6 = 0x4; @@ -384,7 +395,7 @@ "} /* SSID-0 */" ", {ax25_call=\"\\x40\\x40\\x40\\x40\\x40\\x40\\x04\"} /* -2 */" ", {ax25_call=\"\\x9c\\xaa\\x98\\x98\\x00\\x00\\x06\"}" - ", ???}, %zu) = %s\n", + ", ...}, %zu) = %s\n", size, sprintrc(rc)); memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); @@ -488,7 +499,23 @@ nl->nl_pid = 1234567890; nl->nl_groups = 0xfacefeed; unsigned int len = sizeof(*nl); - int ret = connect(-1, (void *) nl, len); + + int ret = connect(-1, (void *) nl, len - 1); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, sa_data=\"\\377\\377" + BE_LE("I\\226\\2\\322", "\\322\\2\\226I") + BE_LE("\\372\\316\\376", "\\355\\376\\316") + "\"}, %u) = %d EBADF (%m)\n", + len - 1, ret); + + ret = connect(-1, (void *) nl, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, nl_pad=%#x, nl_pid=%d" + ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", + nl->nl_pad, nl->nl_pid, nl->nl_groups, len, ret); + + nl->nl_pad = 0; + ret = connect(-1, (void *) nl, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_NETLINK, nl_pid=%d" ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", @@ -496,6 +523,7 @@ nl = ((void *) nl) - 4; nl->nl_family = AF_NETLINK; + nl->nl_pad = 0; nl->nl_pid = getpid(); nl->nl_groups = 0xfacefeed; len = sizeof(*nl) + 4; @@ -663,9 +691,9 @@ int ret = connect(-1, l2, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_BLUETOOTH" - ", l2_psm=htobs(L2CAP_PSM_DYN_START + %hu)" + ", l2_psm=htobs(L2CAP_PSM_DYN_START+%hu)" ", l2_bdaddr=%02x:%02x:%02x:%02x:%02x:%02x" - ", l2_cid=htobs(L2CAP_CID_DYN_START + %hu)" + ", l2_cid=htobs(L2CAP_CID_DYN_START+%hu)" # ifdef HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE ", l2_bdaddr_type=0xce /* BDADDR_??? */" # endif @@ -773,7 +801,9 @@ check_un(); check_in(); check_in6(); +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H check_ipx(); +#endif check_ax25(); check_x25(); check_nl();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/net-yy-unix.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/net-yy-unix.c
Changed
@@ -17,6 +17,10 @@ #include <unistd.h> #include <sys/socket.h> #include <sys/un.h> +#ifdef HAVE_SYS_XATTR_H +# include <sys/xattr.h> +# include "xmalloc.h" +#endif #include "accept_compat.h" @@ -41,50 +45,69 @@ int listen_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (listen_fd < 0) perror_msg_and_skip("socket"); + + char sock_proto_name256; +#ifdef HAVE_SYS_XATTR_H + char *path = xasprintf("/proc/self/fd/%u", listen_fd); + size_t sock_proto_name_len = + getxattr(path, "system.sockprotoname", sock_proto_name, + sizeof(sock_proto_name) - 1); + free(path); + if (sock_proto_name_len && + sock_proto_name_len < sizeof(sock_proto_name)) + sock_proto_namesock_proto_name_len = '\0'; + else +#endif + strcpy(sock_proto_name, "UNIX"); + unsigned long listen_inode = inode_of_sockfd(listen_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - listen_fd, listen_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + listen_fd, sock_proto_name, listen_inode); (void) unlink(TEST_SOCKET); if (bind(listen_fd, listen_sa, *len)) perror_msg_and_skip("bind"); - printf("bind(%d<UNIX:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("bind(%d<%s:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" ", %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + (unsigned) *len); if (listen(listen_fd, 1)) perror_msg_and_skip("listen"); - printf("listen(%d<UNIX:%lu,\"%s\">, 1) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("listen(%d<%s:%lu,\"%s\">, 1) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); *len = sizeof(*optval); if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) perror_msg_and_fail("getsockopt"); - printf("getsockopt(%d<UNIX:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" + printf("getsockopt(%d<%s:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + *optval, (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); unsigned long connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); struct sockaddr * const accept_sa = tail_alloc(sizeof(addr)); memset(accept_sa, 0, sizeof(addr)); @@ -93,72 +116,78 @@ if (accept_fd < 0) perror_msg_and_fail("accept"); unsigned long accept_inode = inode_of_sockfd(accept_fd); - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX}" - ", %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX}" + ", %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu>, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, + connect_fd, sock_proto_name, connect_inode, accept_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len); char text = "text"; assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu>) = 0\n", - connect_fd, connect_inode, accept_inode); + printf("close(%d<%s:%lu->%lu>) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); *optval = 1; *len = sizeof(*optval); if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) perror_msg_and_fail("setsockopt"); - printf("setsockopt(%d<UNIX:%lu>, SOL_SOCKET, SO_PASSCRED" + printf("setsockopt(%d<%s:%lu>, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - connect_fd, connect_inode, *optval, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, *optval, + (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); memset(accept_sa, 0, sizeof(addr)); *len = sizeof(addr); @@ -168,48 +197,53 @@ accept_inode = inode_of_sockfd(accept_fd); const char * const sun_path1 = ((struct sockaddr_un *) accept_sa)->sun_path + 1; - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=@\"%s\"}, %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, sun_path1, - (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=@\"%s\"}, %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + sun_path1, (int) sizeof(addr), (int) *len, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1, - TEST_SOCKET, (int) sizeof(addr), (int) *len); + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, TEST_SOCKET, (int) sizeof(addr), (int) *len); assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, sun_path1, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,@\"%s\">) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1); + printf("close(%d<%s:%lu->%lu,@\"%s\">) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); assert(unlink(TEST_SOCKET) == 0); assert(close(listen_fd) == 0); - printf("close(%d<UNIX:%lu,\"%s\">) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("close(%d<%s:%lu,\"%s\">) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/netlink_audit--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/netlink_audit--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of NETLINK_SOCK_DIAG protocol decoding # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/netlink_protocol.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/netlink_protocol.c
Changed
@@ -169,8 +169,7 @@ # define ABBREV_LEN (DEFAULT_STRLEN + 1) const unsigned int msg_len = sizeof(struct nlmsghdr) * ABBREV_LEN; struct nlmsghdr *const msgs = tail_alloc(msg_len); - unsigned int i; - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { msgsi.nlmsg_len = sizeof(*msgs); msgsi.nlmsg_type = NLMSG_NOOP; msgsi.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; @@ -181,7 +180,7 @@ rc = sendto(fd, msgs, msg_len, MSG_DONTWAIT, NULL, 0); errstr = sprintrc(rc); printf("sendto(%d, ", fd); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nlmsg_len=%u, nlmsg_type=NLMSG_NOOP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/netlink_route.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/netlink_route.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,37 +19,47 @@ #include <linux/if_addrlabel.h> #include <linux/if_arp.h> #include <linux/if_bridge.h> +#include <linux/if_link.h> #include <linux/ip.h> #include <linux/neighbour.h> #include <linux/netconf.h> #include <linux/rtnetlink.h> +#include <linux/nexthop.h> -#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ +#define TEST_NL_ROUTE_(fd_, nlh0_, type_, type_str_, obj_, print_family_, ...) \ do { \ /* family and string */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", ...}")); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", ...}")); \ \ /* sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_), \ - (print_family_); \ - __VA_ARGS__); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_), \ + (print_family_); \ + __VA_ARGS__); \ \ /* short read of sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", %p}", \ - NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", %p}", \ + NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ } while (0) +#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ + TEST_NL_ROUTE_((fd_), (nlh0_), (type_), #type_, (obj_), \ + (print_family_), __VA_ARGS__) \ + /* End of TEST_NL_ROUTE definition */ + static void test_nlmsg_type(const int fd) { @@ -100,11 +110,11 @@ fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); nlh.nlmsg_type = RTM_DELLINK; - nlh.nlmsg_flags = NLM_F_NONREC; + nlh.nlmsg_flags = NLM_F_NONREC | NLM_F_BULK; rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); printf("sendto(%d, {nlmsg_len=%u, nlmsg_type=RTM_DELLINK" - ", nlmsg_flags=NLM_F_NONREC, nlmsg_seq=0, nlmsg_pid=0}" - ", %u, MSG_DONTWAIT, NULL, 0) = %s\n", + ", nlmsg_flags=NLM_F_NONREC|NLM_F_BULK, nlmsg_seq=0" + ", nlmsg_pid=0}, %u, MSG_DONTWAIT, NULL, 0) = %s\n", fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); } @@ -170,8 +180,46 @@ } static void +test_rtnl_unsupported_msg(const int fd, uint16_t msg, const char *str) +{ + char buf64; + char namesizeof("0xffff /* RTM_??? */"); + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); + + fill_memory(buf, sizeof(buf)); + buf0 = AF_INET; + + if (!str) + snprintf(name, sizeof(name), "%#hx /* RTM_??? */", msg); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + 1, buf, 1, + printf("{family=AF_INET}")); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(buf), buf, sizeof(buf), + printf("{family=AF_INET, data="); + print_quoted_hex(buf + 1, DEFAULT_STRLEN); + printf("...}")); +} + +static void +test_rtnl_unknown_msg(const int fd, uint16_t msg) +{ + test_rtnl_unsupported_msg(fd, msg, NULL); +} + +static void test_rtnl_link(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWLINK) }, + { ARG_STR(RTM_DELLINK) }, + { ARG_STR(RTM_GETLINK) }, + { ARG_STR(RTM_SETLINK) }, + }; const struct ifinfomsg ifinfo = { .ifi_family = AF_UNIX, .ifi_type = ARPHRD_LOOPBACK, @@ -181,19 +229,28 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, - printf("{ifi_family=AF_UNIX"), - printf(", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP"); - printf(", "); - PRINT_FIELD_X(ifinfo, ifi_change); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, ifinfo, + printf("{ifi_family=AF_UNIX"), + printf(", ifi_type=ARPHRD_LOOPBACK" + ", ifi_index=" IFINDEX_LO_STR + ", ifi_flags=IFF_UP"); + printf(", "); + PRINT_FIELD_X(ifinfo, ifi_change); + printf("}")); + } } static void test_rtnl_addr(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDR) }, + { ARG_STR(RTM_DELADDR) }, + { ARG_STR(RTM_GETADDR) }, + { ARG_STR(RTM_GETMULTICAST) }, + { ARG_STR(RTM_GETANYCAST) }, + }; const struct ifaddrmsg msg = { .ifa_family = AF_UNIX, .ifa_prefixlen = 0xde, @@ -203,19 +260,34 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, - printf("{ifa_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifa_prefixlen); - printf(", ifa_flags=IFA_F_SECONDARY" - ", ifa_scope=RT_SCOPE_UNIVERSE" - ", ifa_index=" IFINDEX_LO_STR); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifa_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifa_prefixlen); + printf(", ifa_flags=IFA_F_SECONDARY" + ", ifa_scope=RT_SCOPE_UNIVERSE" + ", ifa_index=" IFINDEX_LO_STR); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDR + 3); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST + 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST + 1); } static void test_rtnl_route(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWROUTE) }, + { ARG_STR(RTM_DELROUTE) }, + { ARG_STR(RTM_GETROUTE) }, + }; static const struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -229,23 +301,32 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, - printf("{rtm_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, rtm_dst_len); - printf(", "); - PRINT_FIELD_U(msg, rtm_src_len); - printf(", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{rtm_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, rtm_dst_len); + printf(", "); + PRINT_FIELD_U(msg, rtm_src_len); + printf(", rtm_tos=IPTOS_LOWDELAY" + ", rtm_table=RT_TABLE_DEFAULT" + ", rtm_protocol=RTPROT_KERNEL" + ", rtm_scope=RT_SCOPE_UNIVERSE" + ", rtm_type=RTN_LOCAL" + ", rtm_flags=RTM_F_NOTIFY}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWROUTE + 3); } static void test_rtnl_rule(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWRULE) }, + { ARG_STR(RTM_DELRULE) }, + { ARG_STR(RTM_GETRULE) }, + }; struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -257,20 +338,29 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETRULE, msg, - printf("{family=AF_UNIX"), - printf(", dst_len=%u, src_len=%u" - ", tos=IPTOS_LOWDELAY" - ", table=RT_TABLE_UNSPEC" - ", action=FR_ACT_TO_TBL" - ", flags=FIB_RULE_INVERT}", - msg.rtm_dst_len, - msg.rtm_src_len)); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", dst_len=%u, src_len=%u" + ", tos=IPTOS_LOWDELAY" + ", table=RT_TABLE_UNSPEC" + ", action=FR_ACT_TO_TBL" + ", flags=FIB_RULE_INVERT}", + msg.rtm_dst_len, + msg.rtm_src_len)); + } + + test_rtnl_unknown_msg(fd, RTM_NEWRULE + 3); } static void test_rtnl_neigh(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGH) }, + { ARG_STR(RTM_DELNEIGH) }, + { ARG_STR(RTM_GETNEIGH) }, + }; const struct ndmsg msg = { .ndm_family = AF_UNIX, .ndm_ifindex = ifindex_lo(), @@ -280,31 +370,58 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETNEIGH, msg, - printf("{ndm_family=AF_UNIX"), - printf(", ndm_ifindex=" IFINDEX_LO_STR - ", ndm_state=NUD_PERMANENT" - ", ndm_flags=NTF_PROXY" - ", ndm_type=RTN_UNSPEC}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ndm_family=AF_UNIX"), + printf(", ndm_ifindex=" IFINDEX_LO_STR + ", ndm_state=NUD_PERMANENT" + ", ndm_flags=NTF_PROXY" + ", ndm_type=RTN_UNSPEC}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGH + 3); } static void test_rtnl_neightbl(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGHTBL) }, + { ARG_STR(RTM_GETNEIGHTBL) }, + { ARG_STR(RTM_SETNEIGHTBL) }, + }; static const struct ndtmsg msg = { .ndtm_family = AF_NETLINK }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNEIGHTBL, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ndtm_family=AF_NETLINK}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ndtm_family=AF_NETLINK}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGHTBL + 1); } static void test_rtnl_tc(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWQDISC) }, + { ARG_STR(RTM_DELQDISC) }, + { ARG_STR(RTM_GETQDISC) }, + { ARG_STR(RTM_NEWTCLASS) }, + { ARG_STR(RTM_DELTCLASS) }, + { ARG_STR(RTM_GETTCLASS) }, + { ARG_STR(RTM_NEWTFILTER) }, + { ARG_STR(RTM_DELTFILTER) }, + { ARG_STR(RTM_GETTFILTER) }, + { ARG_STR(RTM_NEWCHAIN) }, + { ARG_STR(RTM_DELCHAIN) }, + { ARG_STR(RTM_GETCHAIN) }, + }; const struct tcmsg msg = { .tcm_family = AF_UNIX, .tcm_ifindex = ifindex_lo(), @@ -314,35 +431,56 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETQDISC, msg, - printf("{tcm_family=AF_UNIX"), - printf(", tcm_ifindex=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, tcm_handle); - printf(", "); - PRINT_FIELD_U(msg, tcm_parent); - printf(", "); - PRINT_FIELD_U(msg, tcm_info); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{tcm_family=AF_UNIX"), + printf(", tcm_ifindex=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, tcm_handle); + printf(", "); + PRINT_FIELD_U(msg, tcm_parent); + printf(", "); + PRINT_FIELD_U(msg, tcm_info); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWQDISC + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTCLASS + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTFILTER + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCHAIN + 3); } static void test_rtnl_tca(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWACTION) }, + { ARG_STR(RTM_DELACTION) }, + { ARG_STR(RTM_GETACTION) }, + }; struct tcamsg msg = { .tca_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETACTION, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{tca_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{tca_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWACTION + 3); } static void test_rtnl_addrlabel(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDRLABEL) }, + { ARG_STR(RTM_DELADDRLABEL) }, + { ARG_STR(RTM_GETADDRLABEL) }, + }; const struct ifaddrlblmsg msg = { .ifal_family = AF_UNIX, .ifal_prefixlen = 0xaf, @@ -352,72 +490,208 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDRLABEL, msg, - printf("{ifal_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifal_prefixlen); - printf(", "); - PRINT_FIELD_U(msg, ifal_flags); - printf(", ifal_index=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, ifal_seq); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifal_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifal_prefixlen); + printf(", "); + PRINT_FIELD_U(msg, ifal_flags); + printf(", ifal_index=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, ifal_seq); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDRLABEL + 3); } static void test_rtnl_dcb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_GETDCB) }, + { ARG_STR(RTM_SETDCB) }, + }; static const struct dcbmsg msg = { .dcb_family = AF_UNIX, .cmd = DCB_CMD_UNDEFINED }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETDCB, msg, - printf("{dcb_family=AF_UNIX"), - printf(", cmd=DCB_CMD_UNDEFINED}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{dcb_family=AF_UNIX"), + printf(", cmd=DCB_CMD_UNDEFINED}")); + } + + test_rtnl_unknown_msg(fd, RTM_GETDCB - 2); + test_rtnl_unknown_msg(fd, RTM_GETDCB - 1); } static void test_rtnl_netconf(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNETCONF) }, + { ARG_STR(RTM_DELNETCONF) }, + { ARG_STR(RTM_GETNETCONF) }, + }; static const struct netconfmsg msg = { .ncm_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNETCONF, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ncm_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ncm_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNETCONF + 3); } static void test_rtnl_mdb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWMDB) }, + { ARG_STR(RTM_DELMDB) }, + { ARG_STR(RTM_GETMDB) }, + }; const struct br_port_msg msg = { .family = AF_UNIX, .ifindex = ifindex_lo() }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETMDB, msg, - printf("{family=AF_UNIX"), - printf(", ifindex=" IFINDEX_LO_STR "}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", ifindex=" IFINDEX_LO_STR "}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWMDB + 3); } static void -test_rtnl_nsid(const int fd) +test_rtnl_rtgen(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNSID) }, + { ARG_STR(RTM_DELNSID) }, + { ARG_STR(RTM_GETNSID) }, + { ARG_STR(RTM_NEWCACHEREPORT) }, + }; static const struct rtgenmsg msg = { .rtgen_family = AF_UNIX }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNSID, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{rtgen_family=AF_UNIX}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{rtgen_family=AF_UNIX}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNSID + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 3); +} + +static void +test_rtnl_nexthop(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEXTHOP) }, + { ARG_STR(RTM_DELNEXTHOP) }, + { ARG_STR(RTM_GETNEXTHOP) }, + }; + static const struct { + struct nhmsg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .nh_family = AF_UNIX, .nh_scope = RT_SCOPE_UNIVERSE, + .nh_protocol = RTPROT_KERNEL, .nh_flags = RTNH_F_DEAD, }, + "{nh_family=AF_UNIX", ", nh_scope=RT_SCOPE_UNIVERSE" + ", nh_protocol=RTPROT_KERNEL, nh_flags=RTNH_F_DEAD}" }, + { { .nh_family = 45, .nh_scope = 200, + .nh_protocol = 5, .resvd=1, .nh_flags = 0x80, }, + "{nh_family=AF_MCTP", ", nh_scope=RT_SCOPE_SITE" + ", nh_protocol=0x5 /* RTPROT_??? */, resvd=0x1" + ", nh_flags=0x80 /* RTNH_F_??? */}" }, + { { .nh_family = 46, .nh_scope = 201, + .nh_protocol = 99, .resvd=0xff, .nh_flags = 0xdeadbeef, }, + "{nh_family=0x2e /* AF_??? */", ", nh_scope=0xc9" + ", nh_protocol=RTPROT_OPENR, resvd=0xff, nh_flags=RTNH_F_DEAD" + "|RTNH_F_PERVASIVE|RTNH_F_ONLINK|RTNH_F_OFFLOAD" + "|RTNH_F_UNRESOLVED|RTNH_F_TRAP|0xdeadbe80}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOP + 3); +} + +static void +test_rtnl_ifstats(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWSTATS) }, + { ARG_STR(RTM_GETSTATS) }, + }; + const struct { + struct if_stats_msg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .family = AF_UNIX, .pad1 = 0, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0, }, + "{family=AF_UNIX", ", ifindex=" IFINDEX_LO_STR + ", filter_mask=0}" }, + { { .family = 45, .pad1 = 0, .pad2 = 0xdead, + .ifindex = 0xdeadbeef, .filter_mask = 1, }, + "{family=AF_MCTP", ", pad2=0xdead, ifindex=3735928559" + ", filter_mask=1<<IFLA_STATS_UNSPEC}" }, + { { .family = 46, .pad1 = 0xca, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0xff, }, + "{family=0x2e /* AF_??? */", ", pad1=0xca" + ", ifindex=" IFINDEX_LO_STR + ", filter_mask=1<<IFLA_STATS_UNSPEC|1<<IFLA_STATS_LINK_64" + "|1<<IFLA_STATS_LINK_XSTATS|1<<IFLA_STATS_LINK_XSTATS_SLAVE" + "|1<<IFLA_STATS_LINK_OFFLOAD_XSTATS|1<<IFLA_STATS_AF_SPEC" + "|0xc0}" }, + { { .family = 255, .pad1 = 0xde, .pad2 = 0xbeef, + .ifindex = ifindex_lo(), .filter_mask = 0xdec0dec0, }, + "{family=0xff /* AF_??? */", ", pad1=0xde" + ", pad2=0xbeef, ifindex=" IFINDEX_LO_STR + ", filter_mask=0xdec0dec0 /* 1<<IFLA_STATS_??? */}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 1); + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 3); } int main(void) @@ -430,19 +704,57 @@ test_nlmsg_flags(fd); test_nlmsg_done(fd); test_rtnl_unspec(fd); - test_rtnl_link(fd); - test_rtnl_addr(fd); - test_rtnl_route(fd); - test_rtnl_rule(fd); - test_rtnl_neigh(fd); - test_rtnl_neightbl(fd); - test_rtnl_tc(fd); - test_rtnl_tca(fd); - test_rtnl_addrlabel(fd); - test_rtnl_dcb(fd); - test_rtnl_netconf(fd); - test_rtnl_mdb(fd); - test_rtnl_nsid(fd); + + test_rtnl_link(fd); /* 16 */ + test_rtnl_addr(fd); /* 20, 56, 60 */ + test_rtnl_route(fd); /* 24 */ + test_rtnl_neigh(fd); /* 28 */ + test_rtnl_rule(fd); /* 32 */ + test_rtnl_tc(fd); /* 36, 40, 44, 100 */ + test_rtnl_tca(fd); /* 48 */ + + /* prefix */ /* 52 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWPREFIX)); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 1); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 2); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 3); + + test_rtnl_neightbl(fd); /* 64 */ + + /* nduserport */ /* 68 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNDUSEROPT)); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 3); + + test_rtnl_addrlabel(fd); /* 72 */ + test_rtnl_dcb(fd); /* 76 */ + test_rtnl_netconf(fd); /* 80 */ + test_rtnl_mdb(fd); /* 84 */ + test_rtnl_rtgen(fd); /* 88, 96 */ + test_rtnl_ifstats(fd); /* 92 */ + test_rtnl_nexthop(fd); /* 104 */ + + /* linkprop */ /* 108 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETLINKPROP)); + test_rtnl_unknown_msg(fd, RTM_NEWLINKPROP + 3); + + /* vlan */ /* 112 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETVLAN)); + test_rtnl_unknown_msg(fd, RTM_NEWVLAN + 3); + + /* nexthopbucket */ /* 116 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETNEXTHOPBUCKET)); + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOPBUCKET + 3); + + for (uint16_t i = 120; i < 124; i++) + test_rtnl_unknown_msg(fd, i); printf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr.c
Changed
@@ -201,9 +201,8 @@ msg = tail_alloc(msg_len); memcpy(msg, &c_msg, sizeof(c_msg)); msg->nlh.nlmsg_len = msg_len; - unsigned int i; nla = NLMSG_ATTR(msg, sizeof(msg->udm)); - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { nlai * 2 = (struct nlattr) { .nla_len = NLA_HDRLEN * 2 - 1, .nla_type = UNIX_DIAG_FIRST_UNUSED + i @@ -219,7 +218,7 @@ ", udiag_state=TCP_FIN_WAIT1, udiag_ino=0" ", udiag_cookie=0, 0}, ", fd, msg_len); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nla_len=%u, nla_type=%#x /* UNIX_DIAG_??? */}, ",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport.c
Added
@@ -0,0 +1,250 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_netlink.h" +#include "test_nlattr.h" + +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/mroute.h> +#include <linux/mroute6.h> + +#include "xlat.h" +#include "xlat/addrfams.h" + +static uint8_t af; +static char af_str256; + +/* uses global "af" variable */ +static void +init_rtgen(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_NEWCACHEREPORT, + .nlmsg_flags = NLM_F_EXCL|NLM_F_APPEND, + ); + + struct rtgenmsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct rtgenmsg, msg, + .rtgen_family = af, + ); +} + +static void +print_rtgen(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {rtgen_family=%s}", + msg_len, XLAT_ARGS(RTM_NEWCACHEREPORT), + XLAT_ARGS(NLM_F_EXCL|NLM_F_APPEND), af_str); +} + +int +main(void) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct rtgenmsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 16); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown AF_* */ + static uint8_t skip_afs = { RTNL_FAMILY_IPMR, RTNL_FAMILY_IP6MR }; + struct { + struct rtgenmsg ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) hdr; + struct { + char strsizeof(unknown_msg); + } ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) payload; + } buf; + memcpy(buf.payload.str, unknown_msg, sizeof(unknown_msg)); + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + buf.hdr.rtgen_family = i; + TEST_NETLINK_(fd, nlh0, RTM_NEWCACHEREPORT, + XLAT_KNOWN(0x60, "RTM_NEWCACHEREPORT"), + NLM_F_REPLACE, + XLAT_KNOWN(0x100, "NLM_F_REPLACE"), + sizeof(buf), &buf, sizeof(buf), + printf("{rtgen_family=%s}" + ", \"\\xab\\xac\\xdb\\xcd\"", + sprintxval(addrfams, i, + "RTNL_FAMILY_???"))); + } + + + /* RTNL_FAMILY_IPMR */ + af = RTNL_FAMILY_IPMR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, XLAT_ARGS(RTNL_FAMILY_IPMR)); + + /* RTNL_FAMILY_IPMR: unknown, undecoded */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IPMRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IPMRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x7, "IPMRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IPMRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk_attrsi.val, unk_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IPMR: IPMRA_CREPORT_MSGTYPE */ + static const struct strval8 mr_msg_types = { + { ARG_XLAT_UNKNOWN(0, "IGMPMSG_???") }, + { ARG_XLAT_KNOWN(0x1, "IGMPMSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "IGMPMSG_WRONGVIF") }, + { ARG_XLAT_KNOWN(0x3, "IGMPMSG_WHOLEPKT") }, + { ARG_XLAT_KNOWN(0x4, "IGMPMSG_WRVIFWHOLE") }, + { ARG_XLAT_UNKNOWN(0x5, "IGMPMSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "IGMPMSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IPMRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, "IPMRA_CREPORT_MSGTYPE"), + pattern, mr_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr_msg_typesi.str)); + } + + /* RTNL_FAMILY_IPMR: u32 */ + static const struct strval16 u32_mr_attrs = { + { ENUM_KNOWN(0x2, IPMRA_CREPORT_VIF_ID) }, + { ENUM_KNOWN(0x6, IPMRA_CREPORT_TABLE) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_mr_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr_attrsi.val, u32_mr_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in_addr */ + static const struct strval16 in_addr_attrs = { + { ENUM_KNOWN(0x3, IPMRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IPMRA_CREPORT_DST_ADDR) }, + }; + static uint32_t ipv4_addr = BE32(0xdeadface); + for (size_t i = 0; i < ARRAY_SIZE(in_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in_addr_attrsi.val, + in_addr_attrsi.str, + pattern, ipv4_addr, 4, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xde\\xad\\xfa\\xce\"", + "inet_addr(\"222.173.250.206\")")) + ); + } + + + /* RTNL_FAMILY_IP6MR */ + af = RTNL_FAMILY_IP6MR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, + XLAT_ARGS(RTNL_FAMILY_IP6MR)); + + /* RTNL_FAMILY_IP6MR: unknown, undecoded */ + static const struct strval16 unk6_attrs = { + { ENUM_KNOWN(0, IP6MRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IP6MRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x6, "IP6MRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IP6MRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk6_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk6_attrsi.val, unk6_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IP6MR: IP6MRA_CREPORT_MSGTYPE */ + static const struct strval8 mr6_msg_types = { + { ARG_XLAT_UNKNOWN(0, "MRT6MSG_???") }, + { ARG_XLAT_KNOWN(0x1, "MRT6MSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "MRT6MSG_WRONGMIF") }, + { ARG_XLAT_KNOWN(0x3, "MRT6MSG_WHOLEPKT") }, + { ARG_XLAT_UNKNOWN(0x4, "MRT6MSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "MRT6MSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr6_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IP6MRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, + "IP6MRA_CREPORT_MSGTYPE"), + pattern, mr6_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr6_msg_typesi.str)); + } + + /* RTNL_FAMILY_IP6MR: u32 */ + static const struct strval16 u32_mr6_attrs = { + { ENUM_KNOWN(0x2, IP6MRA_CREPORT_MIF_ID) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_mr6_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr6_attrsi.val, u32_mr6_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in6_addr */ + static const struct strval16 in6_addr_attrs = { + { ENUM_KNOWN(0x3, IP6MRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IP6MRA_CREPORT_DST_ADDR) }, + }; + uint8_t ipv6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + for (size_t i = 0; i < ARRAY_SIZE(in6_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in6_addr_attrsi.val, + in6_addr_attrsi.str, + pattern, ipv6_addr, 16, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_cachereport.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ifinfomsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifinfomsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -293,7 +293,9 @@ .tx_heartbeat_errors = 0xedaededdadcdea, .tx_window_errors = 0xfdacdeaccedcda, .rx_compressed = 0xacdbbcacdbccef, - .tx_compressed = 0xbcdadefcdedfea + .tx_compressed = 0xbcdadefcdedfea, + .rx_nohandler = 0xcbdbacbfbafffd, + .rx_otherhost_dropped = 0xbefdafcfeeadcbfb }; TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -346,13 +348,72 @@ PRINT_FIELD_U(st64, tx_compressed); printf(", "); PRINT_FIELD_U(st64, rx_nohandler); + printf(", "); + PRINT_FIELD_U(st64, rx_otherhost_dropped); printf("}")); - const unsigned int sizeof_stats64 = + const unsigned int stats64_rx_nohandler_size = + offsetofend(struct rtnl_link_stats64, rx_nohandler); + TEST_NLATTR(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_STATS64, stats64_rx_nohandler_size, + &st64, stats64_rx_nohandler_size, + printf("{"); + PRINT_FIELD_U(st64, rx_packets); + printf(", "); + PRINT_FIELD_U(st64, tx_packets); + printf(", "); + PRINT_FIELD_U(st64, rx_bytes); + printf(", "); + PRINT_FIELD_U(st64, tx_bytes); + printf(", "); + PRINT_FIELD_U(st64, rx_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_dropped); + printf(", "); + PRINT_FIELD_U(st64, tx_dropped); + printf(", "); + PRINT_FIELD_U(st64, multicast); + printf(", "); + PRINT_FIELD_U(st64, collisions); + printf(", "); + PRINT_FIELD_U(st64, rx_length_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_over_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_crc_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_frame_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_missed_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_aborted_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_carrier_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_heartbeat_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_window_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_compressed); + printf(", "); + PRINT_FIELD_U(st64, tx_compressed); + printf(", "); + PRINT_FIELD_U(st64, rx_nohandler); + printf("}")); + + const unsigned int stats64_tx_compressed_size = offsetofend(struct rtnl_link_stats64, tx_compressed); TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, - IFLA_STATS64, sizeof_stats64, &st64, sizeof_stats64, + IFLA_STATS64, stats64_tx_compressed_size, + &st64, stats64_tx_compressed_size, printf("{"); PRINT_FIELD_U(st64, rx_packets); printf(", "); @@ -411,6 +472,7 @@ printf("{nla_len=%u, nla_type=IFLA_INFO_KIND}", nla.nla_len)); + /* IFLA_VF_PORTS */ nla.nla_type = IFLA_VF_PORT; TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -418,6 +480,24 @@ printf("{nla_len=%u, nla_type=IFLA_VF_PORT}", nla.nla_len)); + /* IFLA_EXT_MASK */ + static const struct strval32 ifla_ext_masks = { + { ARG_STR(0) }, + { ARG_STR(RTEXT_FILTER_VF) }, + { ARG_STR(0xdeface80) " /* RTEXT_FILTER_??? */" }, + { 0xdeadfeed, "RTEXT_FILTER_VF|RTEXT_FILTER_BRVLAN_COMPRESSED" + "|RTEXT_FILTER_SKIP_STATS|RTEXT_FILTER_CFM_CONFIG" + "|RTEXT_FILTER_CFM_STATUS|0xdeadfe80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(ifla_ext_masks); i++) { + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_EXT_MASK, pattern, + ifla_ext_masksi.val, + printf("%s", ifla_ext_masksi.str)); + } + + /* IFLA_EVENT */ static const struct { uint32_t val; const char *str;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ifla.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla.h
Changed
@@ -17,6 +17,13 @@ # error "Please define IFLA_ATTR before including this file" # endif +# ifndef IFLA_AF +# define IFLA_AF AF_UNIX +# endif +# ifndef IFLA_AF_STR +# define IFLA_AF_STR "AF_UNIX" +# endif + static const unsigned int hdrlen = sizeof(struct ifinfomsg); static void @@ -30,7 +37,7 @@ struct ifinfomsg *const msg = NLMSG_DATA(nlh); SET_STRUCT(struct ifinfomsg, msg, - .ifi_family = AF_UNIX, + .ifi_family = IFLA_AF, .ifi_type = ARPHRD_LOOPBACK, .ifi_index = ifindex_lo(), .ifi_flags = IFF_UP, @@ -46,13 +53,16 @@ static void print_ifinfomsg(const unsigned int msg_len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETLINK, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=AF_UNIX" - ", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP, ifi_change=0}" - ", {nla_len=%u, nla_type=" STRINGIFY_VAL(IFLA_ATTR) "}", - msg_len, msg_len - NLMSG_SPACE(hdrlen)); + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=" XLAT_FMT + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}" + ", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + XLAT_SEL(IFLA_AF, IFLA_AF_STR), XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP), + msg_len - NLMSG_SPACE(hdrlen), + XLAT_SEL(IFLA_ATTR, STRINGIFY_VAL(IFLA_ATTR))); } #endif /* STRACE_TESTS_NLATTR_IFLA_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_af_inet6.h
Added
@@ -0,0 +1,225 @@ +/* + * IFLA_INET6_* protocol-specific netlink attribute decoding check common code. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_NLATTR_IFLA_AF_INET6 +# define STRACE_TESTS_NLATTR_IFLA_AF_INET6 + +# include "tests.h" + +static void +print_arr_val(uint32_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%d", *val); +} + +static void +print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%" PRIu64, *val); +} + +static void +print_inet6_conf_val(uint32_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "DEVCONF_FORWARDING"), + XLAT_KNOWN(1, "DEVCONF_HOPLIMIT"), + }; + + print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_inet6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "IPSTATS_MIB_NUM"), + XLAT_KNOWN(1, "IPSTATS_MIB_INPKTS"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_icmp6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "ICMP6_MIB_NUM"), + XLAT_KNOWN(1, "ICMP6_MIB_INMSGS"), + XLAT_KNOWN(2, "ICMP6_MIB_INERRORS"), + XLAT_KNOWN(3, "ICMP6_MIB_OUTMSGS"), + XLAT_KNOWN(4, "ICMP6_MIB_OUTERRORS"), + XLAT_KNOWN(5, "ICMP6_MIB_CSUMERRORS"), + XLAT_UNKNOWN(6, "ICMP6_MIB_???"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +check_ifla_af_inet6(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + void *pattern, size_t depth) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + /* Undecoded, unknown */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 0, XLAT_KNOWN(0, "IFLA_INET6_UNSPEC"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 10, "0xa" NRAW(" /* IFLA_INET6_??? */"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_FLAGS */ + static const struct { + uint32_t flags; + const char *str; + } inet6_flags = { + { 0xf, "0xf" NRAW(" /* IF_??? */") }, + { ARG_XLAT_KNOWN(0x10, "IF_RS_SENT") }, + { ARG_XLAT_KNOWN(0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF") }, + { ARG_XLAT_KNOWN(0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED" + "|IF_RA_OTHERCONF|IF_READY" + "|0x5eadc00e") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, + 1, XLAT_KNOWN(0x1, + "IFLA_INET6_FLAGS"), + pattern, inet6_flagsi.flags, + print_quoted_hex, depth, + printf("%s", inet6_flagsi.str)); + } + + + /* IFLA_INET6_CONF */ + uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_CONF, + XLAT_KNOWN(0x2, "IFLA_INET6_CONF"), + pattern, inet6_conf_vals, depth, + print_inet6_conf_val); + + + /* IFLA_INET6_STATS */ + uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_STATS, + XLAT_KNOWN(0x3, "IFLA_INET6_STATS"), + pattern, inet6_stats_vals, depth, + print_inet6_stats_val); + + + /* IFLA_INET6_MCAST */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 4, XLAT_KNOWN(0x4, "IFLA_INET6_MCAST"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_CACHEINFO */ + static const struct ifla_cacheinfo ci = { + 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, 5, + XLAT_KNOWN(0x5, "IFLA_INET6_CACHEINFO"), + pattern, ci, print_quoted_hex, depth, + printf("{"); + PRINT_FIELD_U(ci, max_reasm_len); + printf(", "); + PRINT_FIELD_U(ci, tstamp); + printf(", "); + PRINT_FIELD_U(ci, reachable_time); + printf(", "); + PRINT_FIELD_U(ci, retrans_time); + printf("}")); + + + /* IFLA_INET6_ICMP6STATS */ + uint64_t icmp6_stats_vals = { + 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, + 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, + 0xdeadc0deda7afacc + }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_ICMP6STATS, + XLAT_KNOWN(0x6, "IFLA_INET6_ICMP6STATS"), + pattern, icmp6_stats_vals, depth, + print_icmp6_stats_val); + + + /* IFLA_INET6_TOKEN */ + uint8_t inet6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 7, XLAT_KNOWN(0x7, "IFLA_INET6_TOKEN"), + pattern, inet6_addr, print_quoted_hex, + depth, + printf(XLAT_KNOWN_FMT("%s", "%s"), + XLAT_SEL("\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + + + /* IFLA_INET6_ADDR_GEN_MODE */ + static const struct { + uint8_t flags; + const char *str; + } agms = { + { ARG_XLAT_KNOWN(0, "IN6_ADDR_GEN_MODE_EUI64") }, + { ARG_XLAT_KNOWN(0x3, "IN6_ADDR_GEN_MODE_RANDOM") }, + { ARG_XLAT_UNKNOWN(0x4, "IN6_ADDR_GEN_MODE_???") }, + { ARG_XLAT_UNKNOWN(0xff, "IN6_ADDR_GEN_MODE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, 8, + XLAT_KNOWN(0x8, "IFLA_INET6_ADDR_GEN_MODE"), + pattern, agmsi.flags, + print_quoted_hex, depth, + printf("%s", agmsi.str)); + } + + + /* IFLA_INET6_RA_MTU */ + static const uint32_t ra_mtu = 0xdeadc0de; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 9, XLAT_KNOWN(0x9, "IFLA_INET6_RA_MTU"), + pattern, ra_mtu, print_quoted_hex, depth, + printf("3735929054")); +} + +#endif /* STRACE_TESTS_NLATTR_IFLA_AF_INET6 */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ifla_af_spec.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_af_spec.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_AF_SPEC netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,17 +16,28 @@ #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> +#include "xlat.h" +#include "xlat/addrfams.h" + #define XLAT_MACROS_ONLY #include "xlat/rtnl_ifla_af_spec_inet_attrs.h" #include "xlat/rtnl_ifla_af_spec_inet6_attrs.h" #undef XLAT_MACROS_ONLY +static uint8_t msg_af = AF_UNIX; +static char msg_af_str32 = "AF_UNIX"; + +#define IFLA_AF msg_af +#define IFLA_AF_STR msg_af_str #define IFLA_ATTR IFLA_AF_SPEC #include "nlattr_ifla.h" +#include "nlattr_ifla_af_inet6.h" + #define AF_SPEC_FUNCS(family_) \ static void \ init_##family_##_msg(struct nlmsghdr *const nlh, \ @@ -54,28 +65,9 @@ AF_SPEC_FUNCS(AF_INET) AF_SPEC_FUNCS(AF_INET6) +AF_SPEC_FUNCS(AF_MCTP) -static void -print_arr_val(uint32_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%d", *val); -} - -static void -print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%" PRIu64, *val); -} +AF_SPEC_FUNCS(IFLA_BRIDGE_VLAN_TUNNEL_INFO) static void print_inet_conf_val(uint32_t *val, size_t idx) @@ -88,45 +80,6 @@ print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); } - -static void -print_inet6_conf_val(uint32_t *val, size_t idx) -{ - static const char * const strs = { - "DEVCONF_FORWARDING", - "DEVCONF_HOPLIMIT", - }; - - print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_inet6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "IPSTATS_MIB_NUM", - "IPSTATS_MIB_INPKTS", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_icmp6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "ICMP6_MIB_NUM", - "ICMP6_MIB_INMSGS", - "ICMP6_MIB_INERRORS", - "ICMP6_MIB_OUTMSGS", - "ICMP6_MIB_OUTERRORS", - "ICMP6_MIB_CSUMERRORS", - "6 /* ICMP6_MIB_??? */", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - int main(void) { @@ -144,10 +97,40 @@ /* unknown AF_* */ - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - AF_UNIX, pattern, unknown_msg, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + static uint8_t skip_afs = { AF_INET, AF_INET6, AF_MCTP }; + size_t pos = 0; + static uint8_t skip_afs_msg = { AF_BRIDGE }; + size_t pos2 = 0; + for (size_t j = 0; j < 64; j++) { + if (pos2 < ARRAY_SIZE(skip_afs_msg) && skip_afs_msgpos2 == j) + { + pos2 += 1; + continue; + } + + msg_af = j; + msg_af_str0 = '\0'; + strncat(msg_af_str, sprintxval(addrfams, j, "AF_???"), + sizeof(msg_af_str) - 1); + pos = 0; + + for (size_t i = 0; i < 64; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + const char *af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, + print_ifinfomsg, + i, af_str, pattern, + unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb" + "\\xcd\"")); + } + } /* AF_INET */ TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, @@ -168,124 +151,205 @@ IFLA_INET_CONF, pattern, inet_conf_vals, 2, print_inet_conf_val); - /* AF_INET6 */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 0, "IFLA_INET6_UNSPEC", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 9, "0x9 /* IFLA_INET6_??? */", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* AF_BRIDGE */ + msg_af = AF_BRIDGE; + strcpy(msg_af_str, "AF_BRIDGE"); + + /* AF_BRIDGE: unknown, unimplemented */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0x4, IFLA_BRIDGE_MRP) }, + { ENUM_KNOWN(0x5, IFLA_BRIDGE_CFM) }, + { ENUM_KNOWN(0x6, IFLA_BRIDGE_MST) }, + { ARG_XLAT_UNKNOWN(0x7, "IFLA_BRIDGE_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, + unk_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } - /* AF_INET6: IFLA_INET6_FLAGS */ - static const struct { - uint32_t flags; - const char *str; - } inet6_flags = { - { 0xf, "0xf /* IF_??? */" }, - { 0x10, "IF_RS_SENT" }, - { 0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF" }, - { 0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED|IF_RA_OTHERCONF" - "|IF_READY|0x5eadc00e" }, + /* AF_BRIDGE: IFLA_BRIDGE_FLAGS */ + static const struct strval16 bridge_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_FLAGS_MASTER) }, + { ARG_STR(BRIDGE_FLAGS_SELF) }, + { ARG_STR(BRIDGE_FLAGS_MASTER|BRIDGE_FLAGS_SELF) }, + { ARG_STR(0x4) " /* BRIDGE_FLAGS_??? */" }, + { 0xcafe, "BRIDGE_FLAGS_SELF|0xcafc" }, + { ARG_STR(0x7eac) " /* BRIDGE_FLAGS_??? */" }, }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_FLAGS, + "IFLA_BRIDGE_FLAGS", + pattern, bridge_flagsi.val, + print_quoted_hex, 1, + printf("%s", bridge_flagsi.str) + ); + } - for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_MODE */ + static const struct strval16 bridge_modes = { + { ARG_STR(BRIDGE_MODE_VEB) }, + { ARG_STR(BRIDGE_MODE_VEPA) }, + { ARG_STR(0x2) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0x3) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xcafe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xfffe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(BRIDGE_MODE_UNDEF) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 1, "IFLA_INET6_FLAGS", pattern, - inet6_flagsi.flags, - print_quoted_hex, 2, - printf("%s", inet6_flagsi.str)); + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_MODE, + "IFLA_BRIDGE_MODE", + pattern, bridge_modesi.val, + print_quoted_hex, 1, + printf("%s", bridge_modesi.str) + ); } - /* AF_INET6: IFLA_INET6_CONF */ - uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_CONF, pattern, - inet6_conf_vals, 2, print_inet6_conf_val); + /* AF_BRIDGE: IFLA_BRIDGE_VLAN_INFO */ + static const struct { + struct bridge_vlan_info val; + const char *str; + } bridge_vis = { + { { 0, 0 }, "{flags=0, vid=0}" }, + { { 1, 1 }, "{flags=BRIDGE_VLAN_INFO_MASTER, vid=1}" }, + { { 0x69, 0xface }, + "{flags=BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS" + ", vid=64206}" }, + { {0xef80, 0xfeed }, + "{flags=0xef80 /* BRIDGE_VLAN_INFO_??? */, vid=65261}" }, + { {0xcafe, 0xdead }, + "{flags=BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN|BRIDGE_VLAN_INFO_RANGE_END" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" + ", vid=57005}" }, + }; + char bvi_buf12; - /* AF_INET6: IFLA_INET6_STATS */ - uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_STATS, pattern, - inet6_stats_vals, 2, print_inet6_stats_val); + fill_memory_ex(bvi_buf, sizeof(bvi_buf), 'z', 0x80); - /* AF_INET6: IFLA_INET6_MCAST */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 4, "IFLA_INET6_MCAST", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + for (size_t i = 0; i < ARRAY_SIZE(bridge_vis); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, + "IFLA_BRIDGE_VLAN_INFO", + pattern, bridge_visi.val, + print_quoted_hex, 1, + printf("%s", bridge_visi.str)); + + memcpy(bvi_buf, &bridge_visi.val, sizeof(bridge_visi.val)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, "IFLA_BRIDGE_VLAN_INFO", + sizeof(bvi_buf), bvi_buf, sizeof(bvi_buf), + printf("%s, \"\\x7e\\x7f\\x80\\x81\\x82" + "\\x83\\x84\\x85\"", + bridge_visi.str)); + } - /* AF_INET6: IFLA_INET6_CACHEINFO */ - static const struct ifla_cacheinfo ci = { - 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: unknown, undecoded */ + static const struct strval16 unk_bti_attrs = { + { ENUM_KNOWN(0, IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 5, "IFLA_INET6_CACHEINFO", pattern, - ci, print_quoted_hex, 2, - printf("{"); - PRINT_FIELD_U(ci, max_reasm_len); - printf(", "); - PRINT_FIELD_U(ci, tstamp); - printf(", "); - PRINT_FIELD_U(ci, reachable_time); - printf(", "); - PRINT_FIELD_U(ci, retrans_time); - printf("}")); - - /* AF_INET6: IFLA_INET6_ICMP6STATS */ - uint64_t icmp6_stats_vals = { - 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, - 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, - 0xdeadc0deda7afacc - }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_ICMP6STATS, pattern, - icmp6_stats_vals, 2, print_icmp6_stats_val); - - /* AF_INET6: IFLA_INET6_TOKEN */ - uint8_t inet6_addr16 = { - 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, - 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + for (size_t i = 0; i < ARRAY_SIZE(unk_bti_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + unk_bti_attrsi.val, + unk_bti_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u32 attrs */ + static const struct strval16 u32_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_ID) }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 7, "IFLA_INET6_TOKEN", pattern, - inet6_addr, print_quoted_hex, 2, - printf("inet_pton(AF_INET6" - ", \"badc:ded:face:beef" - ":deca:feed:dead:feed\")")); - - /* AF_INET6: IFLA_INET6_ */ - static const struct { - uint8_t flags; - const char *str; - } agms = { - { 0x0, "IN6_ADDR_GEN_MODE_EUI64" }, - { 0x3, "IN6_ADDR_GEN_MODE_RANDOM" }, - { 0x4, "0x4 /* IN6_ADDR_GEN_MODE_??? */" }, - { 0xff, "0xff /* IN6_ADDR_GEN_MODE_??? */" }, + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_bti_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u32_bti_attrsi.val, u32_bti_attrsi.str, + pattern, 2); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u16 attrs */ + static const struct strval16 u16_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_VID) }, }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_bti_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u16_bti_attrsi.val, u16_bti_attrsi.str, + pattern, 2); + } - for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: IFLA_BRIDGE_VLAN_TUNNEL_FLAGS */ + static const struct strval16 bti_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER) }, + { ARG_STR(BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(0xef80) " /* BRIDGE_VLAN_INFO_??? */" }, + { 0xcafe, "BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_RANGE_END|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bti_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 8, "IFLA_INET6_ADDR_GEN_MODE", - pattern, agmsi.flags, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, + "IFLA_BRIDGE_VLAN_TUNNEL_FLAGS", + pattern, bti_flagsi.val, print_quoted_hex, 2, - printf("%s", agmsi.str)); + printf("%s", bti_flagsi.str) + ); } + /* AF_INET6 */ + msg_af = AF_UNIX; + strcpy(msg_af_str, "AF_UNIX"); + + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_AF_INET6_msg, print_AF_INET6_msg, pattern, 2); + + /* AF_MCTP */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 0, "IFLA_MCTP_UNSPEC", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 2, "0x2 /* IFLA_MCTP_??? */", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* AF_MCTP: IFLA_MCTP_NET */ + check_u32_nlattr(fd, nlh0, hdrlen, init_AF_MCTP_msg, print_AF_MCTP_msg, + 1, "IFLA_MCTP_NET", pattern, 2); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ifla_brport.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_brport.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,6 +17,8 @@ #include <linux/rtnetlink.h> #define IFLA_ATTR IFLA_PROTINFO +#define IFLA_AF AF_BRIDGE +#define IFLA_AF_STR "AF_BRIDGE" #include "nlattr_ifla.h" int @@ -24,37 +26,183 @@ { skip_if_unavailable("/proc/self/fd/"); - const uint16_t u16 = 0xabcd; - const uint64_t u64 = 0xabcdedeeefeafeab; const int fd = create_nl_socket(NETLINK_ROUTE); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), - NLA_HDRLEN * 2 + sizeof(u64)); + NLA_HDRLEN * 2 + 42); static char pattern4096; fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_PRIORITY, pattern, u16, - printf("%u", u16)); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_MESSAGE_AGE_TIMER, pattern, u64, - printf("%" PRIu64, u64)); + /* Unknown, unhandled, unsupported */ + static const struct strval16 un_attrs = { + { ENUM_KNOWN(0, IFLA_BRPORT_UNSPEC) }, + { ENUM_KNOWN(0x18, IFLA_BRPORT_FLUSH) }, + { ENUM_KNOWN(0x1a, IFLA_BRPORT_PAD) }, + { ARG_XLAT_UNKNOWN(0x28, "IFLA_BRPORT_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRPORT_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(un_attrs); i++) { + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + un_attrsi.val, un_attrsi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* u8 attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRPORT_STATE) }, + { ENUM_KNOWN(0x4, IFLA_BRPORT_MODE) }, + { ENUM_KNOWN(0x5, IFLA_BRPORT_GUARD) }, + { ENUM_KNOWN(0x6, IFLA_BRPORT_PROTECT) }, + { ENUM_KNOWN(0x7, IFLA_BRPORT_FAST_LEAVE) }, + { ENUM_KNOWN(0x8, IFLA_BRPORT_LEARNING) }, + { ENUM_KNOWN(0x9, IFLA_BRPORT_UNICAST_FLOOD) }, + { ENUM_KNOWN(0xa, IFLA_BRPORT_PROXYARP) }, + { ENUM_KNOWN(0xb, IFLA_BRPORT_LEARNING_SYNC) }, + { ENUM_KNOWN(0xc, IFLA_BRPORT_PROXYARP_WIFI) }, + { ENUM_KNOWN(0x13, IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ENUM_KNOWN(0x14, IFLA_BRPORT_CONFIG_PENDING) }, + { ENUM_KNOWN(0x19, IFLA_BRPORT_MULTICAST_ROUTER) }, + { ENUM_KNOWN(0x1b, IFLA_BRPORT_MCAST_FLOOD) }, + { ENUM_KNOWN(0x1c, IFLA_BRPORT_MCAST_TO_UCAST) }, + { ENUM_KNOWN(0x1d, IFLA_BRPORT_VLAN_TUNNEL) }, + { ENUM_KNOWN(0x1e, IFLA_BRPORT_BCAST_FLOOD) }, + { ENUM_KNOWN(0x20, IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ENUM_KNOWN(0x21, IFLA_BRPORT_ISOLATED) }, + { ENUM_KNOWN(0x23, IFLA_BRPORT_MRP_RING_OPEN) }, + { ENUM_KNOWN(0x24, IFLA_BRPORT_MRP_IN_OPEN) }, + { ENUM_KNOWN(0x27, IFLA_BRPORT_LOCKED) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u8_attrsi.val, u8_attrsi.str, pattern, 1); + } + + + /* u16 attrs */ + static const struct strval16 u16_attrs = { + { ENUM_KNOWN(0x2, IFLA_BRPORT_PRIORITY) }, + { ENUM_KNOWN(0xf, IFLA_BRPORT_DESIGNATED_PORT) }, + { ENUM_KNOWN(0x10, IFLA_BRPORT_DESIGNATED_COST) }, + { ENUM_KNOWN(0x11, IFLA_BRPORT_ID) }, + { ENUM_KNOWN(0x12, IFLA_BRPORT_NO) }, + }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u16_attrsi.val, u16_attrsi.str, + pattern, 1); + } + + /* x16 attrs */ + static const struct strval16 x16_attrs = { + { ENUM_KNOWN(0x1f, IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + void *nlh_x16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(x16_attrs); i++) { + check_x16_nlattr(fd, nlh_x16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + x16_attrsi.val, x16_attrsi.str, + pattern, 1); + } + + + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x3, IFLA_BRPORT_COST) }, + { ENUM_KNOWN(0x25, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT) }, + { ENUM_KNOWN(0x26, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u32_attrsi.val, u32_attrsi.str, + pattern, 1); + } + + + /* clock_t attrs */ + static const struct strval16 c_t_attrs = { + { ENUM_KNOWN(0x15, IFLA_BRPORT_MESSAGE_AGE_TIMER) }, + { ENUM_KNOWN(0x16, IFLA_BRPORT_FORWARD_DELAY_TIMER) }, + { ENUM_KNOWN(0x17, IFLA_BRPORT_HOLD_TIMER) }, + }; + void *nlh_c_t = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(c_t_attrs); i++) { + check_clock_t_nlattr(fd, nlh_c_t, hdrlen, + init_ifinfomsg, print_ifinfomsg, + c_t_attrsi.val, c_t_attrsi.str, 1); + } + + + /* struct ifla_bridge_id attrs */ static const struct ifla_bridge_id id = { .prio = { 0xab, 0xcd }, .addr = { 0xab, 0xcd, 0xef, 0xac, 0xbc, 0xcd } }; - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_ROOT_ID, pattern, id, - printf("{prio=%u, %u" - ", addr=%02x:%02x:%02x:%02x:%02x:%02x}", - id.prio0, id.prio1, - id.addr0, id.addr1, id.addr2, - id.addr3, id.addr4, id.addr5)); + static const struct strval16 id_attrs = { + { ENUM_KNOWN(0xd, IFLA_BRPORT_ROOT_ID) }, + { ENUM_KNOWN(0xe, IFLA_BRPORT_BRIDGE_ID) }, + }; + void *nlh_id = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(id)); + for (size_t i = 0; i < ARRAY_SIZE(id_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_id, hdrlen, + init_ifinfomsg, print_ifinfomsg, + id_attrsi.val, id_attrsi.str, + pattern, id, print_quoted_hex, 1, + printf("{prio=%1$u, %2$u, addr=" + XLAT_KNOWN_FMT("\"" + "\\x%3$02x\\x%4$02x" + "\\x%5$02x\\x%6$02x" + "\\x%7$02x\\x%8$02x\"", + "%3$02x:%4$02x:%5$02x" + ":%6$02x:%7$02x:%8$02x") + "}", + id.prio0, id.prio1, + id.addr0, id.addr1, + id.addr2, id.addr3, + id.addr4, id.addr5)); + } + + + /* ifindex attrs */ + uint32_t ifidx = 0xbadc0ded; + static const struct strval16 if_attrs = { + { ENUM_KNOWN(0x22, IFLA_BRPORT_BACKUP_PORT) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + ifidx = 0xbadc0ded; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf("3134983661")); + ifidx = ifindex_lo(); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf(XLAT_FMT_U, + XLAT_SEL(ifidx, + IFINDEX_LO_STR))); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ifla_linkinfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_linkinfo.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_LINKINFO netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,14 +10,18 @@ #include "tests.h" #include <inttypes.h> +#include <math.h> #include <stdio.h> #include <stddef.h> +#include <unistd.h> #include <arpa/inet.h> #include "test_nlattr.h" +#include "xmalloc.h" #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> @@ -30,17 +34,17 @@ #include "nlattr_ifla.h" #define COMMA , -#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, objtype_, objtype_str_, \ +#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, kindtype_, objtype_, objtype_str_, \ obj_, objsz_, arrstrs_, ...) \ do { \ /* 64 is guestimate for maximum unknown type len */ \ char buf8 * 2 + 64 + objsz_; \ - const char **arrstrs = arrstrs_; \ - const char ***arrstrs_pos = arrstrs; \ - const char **arrstr = *arrstrs_pos; \ - const char *type = NULL; \ + const char *const *arrstrs = arrstrs_; \ + const char *const **arrstrs_pos = arrstrs; \ + const char *const *arrstr = *arrstrs_pos; \ \ - for (type = arrstr ? arrstr0 : NULL; type && arrstr; \ + for (const char *type = arrstr ? arrstr0 : NULL; \ + type && arrstr; \ type = (++arrstr)0 ? arrstr0 \ : (++arrstrs_pos)0 \ ? (arrstr = arrstrs_pos0)0 \ @@ -70,7 +74,7 @@ (nlh0_) - hdrlen - (pos - buf), \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ type_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", type); \ @@ -85,8 +89,8 @@ } \ } while (0) -#define TEST_LINKINFO_(fd_, nlh0_, nla_type_, nla_type_str_, tuntype_, \ - obj_, objsz_, pattern_, fallback_func_, ...) \ +#define TEST_LINKINFO_(fd_, nlh0_, kindtype_, nla_type_, nla_type_str_, \ + tuntype_, obj_, objsz_, pattern_, fallback_func_, ...) \ do { \ size_t tuntype_len = strlen(tuntype_) + 1; \ char *buf = tail_alloc(NLA_ALIGN(tuntype_len) \ @@ -109,7 +113,7 @@ (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, \ objsz_ + (pos - buf) - 1, \ buf, objsz_ + (pos - buf) - 1, \ @@ -126,7 +130,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf) - 1, \ printf("\"%s\"", (tuntype_)); \ @@ -142,7 +146,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", (tuntype_)); \ @@ -155,13 +159,13 @@ printf("")); \ } while (0) -#define TEST_LINKINFO(fd_, nlh0_, nla_type_, tuntype_, \ - obj_, pattern_, fallback_func_, ...) \ - TEST_LINKINFO_((fd_), (nlh0_), nla_type_, #nla_type_, (tuntype_), \ - (obj_), sizeof(obj_), pattern_, fallback_func_, \ - __VA_ARGS__) +#define TEST_LINKINFO(fd_, nlh0_, kindtype_, nla_type_, tuntype_, \ + obj_, pattern_, fallback_func_, ...) \ + TEST_LINKINFO_((fd_), (nlh0_), kindtype_, nla_type_, #nla_type_, \ + (tuntype_), (obj_), sizeof(obj_), pattern_, \ + fallback_func_, __VA_ARGS__) -#define TEST_NESTED_LINKINFO(fd_, nlh0_, \ +#define TEST_NESTED_LINKINFO(fd_, nlh0_, kindtype_, \ nla_type_, nla_type_str_, tuntype_, \ subnla_type_, subnla_type_str_, \ obj_, pattern_, ...) \ @@ -215,7 +219,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - hdrlen - tunhdrlen, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, buflen, \ buf, buflen, \ printf("\"%s\"", (tuntype_)); \ @@ -241,8 +245,8 @@ main(void) { static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; - static const char *unsupported_tunnel_types = { - "batadv", "bond", + static const char *const unsupported_tunnel_types = { + "batadv", "bareudp", "bond", "caif", "cfhsi", "dummy", "erspan", @@ -260,17 +264,31 @@ "team", "vcan", "veth", "vlan", "vrf", "vsockmon", "vti", "vti6", "vxcan", "vxlan", + "wireguard", "wwan", + "xfrm", NULL }; - static const char *unsupported_xstats_types = { + static const char *const unsupported_xstats_types = { "bridge", "tun", NULL }; - static const char *unsupported_data_types = { + static const char *const unsupported_data_types = { "can", NULL }; + static const char *const unsupported_slave_data_types = { + "can", + "tun", + NULL + }; + /* supported by at least one attribute */ + static const char *const supported_tunnel_types = { + "bridge", + "can", + "tun", + NULL + }; skip_if_unavailable("/proc/self/fd/"); @@ -305,27 +323,28 @@ /* IFLA_INFO_KIND + IFLA_INFO_UNSPEC */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + IFLA_INFO_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, "IFLA_INFO_KIND", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_DATA, "IFLA_INFO_DATA", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA unsupported_data_types COMMA @@ -347,11 +366,12 @@ { 0, "IFLA_BR_UNSPEC" }, { 21, "IFLA_BR_FDB_FLUSH" }, { 40, "IFLA_BR_PAD" }, - { 47, "0x2f /* IFLA_BR_??? */" }, + { 48, "0x30 /* IFLA_BR_??? */" }, }; for (size_t k = 0; k < ARRAY_SIZE(und_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", und_br_attrsk.val, und_br_attrsk.name, unknown_msg, pattern, { 2, "\"\\xab\\xac\"" }, @@ -369,7 +389,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(hwa_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", hwa_br_attrsk.val, hwa_br_attrsk.name, unknown_msg, pattern, { 2, "ab:ac" }, @@ -379,7 +400,11 @@ { 10, "ab:ac:db:cd:61:62:63:64:65:66" }); } - static const struct val_name u64_br_attrs = { + static const struct val_name c_t_br_attrs = { + { 1, "IFLA_BR_FORWARD_DELAY" }, + { 2, "IFLA_BR_HELLO_TIME" }, + { 3, "IFLA_BR_MAX_AGE" }, + { 4, "IFLA_BR_AGEING_TIME" }, { 16, "IFLA_BR_HELLO_TIMER" }, { 17, "IFLA_BR_TCN_TIMER" }, { 18, "IFLA_BR_TOPOLOGY_CHANGE_TIMER" }, @@ -391,27 +416,28 @@ { 34, "IFLA_BR_MCAST_QUERY_RESPONSE_INTVL" }, { 35, "IFLA_BR_MCAST_STARTUP_QUERY_INTVL" }, }; + char sz7_str64; + char sz8_str64; + + clock_t_str(BE_LE(0xdeadc0defacefe, 0xadc0defacefeed), + ARRSZ_PAIR(sz7_str)); + clock_t_str(0xdeadc0defacefeed, ARRSZ_PAIR(sz8_str)); - for (size_t k = 0; k < ARRAY_SIZE(u64_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", - u64_br_attrsk.val, u64_br_attrsk.name, + for (size_t k = 0; k < ARRAY_SIZE(c_t_br_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + c_t_br_attrsk.val, c_t_br_attrsk.name, u64_val, pattern, - { 7, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde\\xad\\xc0\\xde\\xfa\\xce\\xfe" -#else - "\\xed\\xfe\\xce\\xfa\\xde\\xc0\\xad" -#endif - "\"" }, - { 8, "16045693111314087661" }, - { 9, "16045693111314087661" }); + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); } static const struct val_name u32_br_attrs = { - { 1, "IFLA_BR_FORWARD_DELAY" }, - { 2, "IFLA_BR_HELLO_TIME" }, - { 3, "IFLA_BR_MAX_AGE" }, - { 4, "IFLA_BR_AGEING_TIME" }, { 5, "IFLA_BR_STP_STATE" }, { 13, "IFLA_BR_ROOT_PATH_COST" }, { 26, "IFLA_BR_MCAST_HASH_ELASTICITY" }, @@ -421,16 +447,12 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u32_br_attrsk.val, u32_br_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -442,36 +464,25 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u16_br_attrsk.val, u16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "57069" }, { 3, "57069" }); } - static const struct val_name x16_br_attrs = { { 9, "IFLA_BR_GROUP_FWD_MASK" }, }; for (size_t k = 0; k < ARRAY_SIZE(x16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", x16_br_attrsk.val, x16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "0xdeed" }, { 3, "0xdeed" }); } @@ -495,7 +506,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u8_br_attrsk.val, u8_br_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -504,7 +516,8 @@ } unsigned short eth_p = htons(0x88C7); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", 8, "IFLA_BR_VLAN_PROTOCOL", eth_p, pattern, { 1, "\"\\x88\"" }, @@ -519,7 +532,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(br_id_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", br_id_attrsk.val, br_id_attrsk.name, bridge_id, pattern, { 7, "\"\\xbe\\xef\\xfa\\xce" @@ -530,6 +544,143 @@ ", addr=fa:ce:de:c0:de:ad}" }); } + static const struct { + struct br_boolopt_multi val; + const char *crop_str; + const char *str; + } boolopts = { + { { .optval = 0, .optmask = 0 }, + "\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "{optval=0, optmask=0}" }, + { { .optval = 1, .optmask = 2 }, + BE_LE("\"\\x00\\x00\\x00\\x01\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\\x00\\x02\\x00\\x00\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING}" }, + { { .optval = 0xdeadfae8, .optmask = 0xbadc0de8 }, + BE_LE("\"\\xde\\xad\\xfa\\xe8\\xba\\xdc\\x0d\"", + "\"\\xe8\\xfa\\xad\\xde\\xe8\\x0d\\xdc\""), + "{optval=0xdeadfae8 /* 1<<BR_BOOLOPT_??? */" + ", optmask=0xbadc0de8 /* 1<<BR_BOOLOPT_??? */}" }, + { { .optval = 0xfacebeef, .optmask = 0xfeedcafe }, + BE_LE("\"\\xfa\\xce\\xbe\\xef\\xfe\\xed\\xca\"", + "\"\\xef\\xbe\\xce\\xfa\\xfe\\xca\\xed\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + "|1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfacebee8" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfeedcaf8}" }, + }; + for (size_t k = 0; k < ARRAY_SIZE(boolopts); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MULTI_BOOLOPT, + "IFLA_BR_MULTI_BOOLOPT", + booloptsk.val, pattern, + { 7, booloptsk.crop_str }, + { 9, booloptsk.str }, + { 9, booloptsk.str }); + } + +#define QSTATE_NLA(type_, type_str_, field_, crop_str_, str_, ...) \ + { { .nla = { .nla_len = NLA_HDRLEN \ + + sizeof(qstate_attrs0.val.payload.field_), \ + .nla_type = type_ }, \ + .payload = { .field_ = __VA_ARGS__ } }, \ + .sz = NLA_HDRLEN + sizeof(qstate_attrs0.val.payload.field_), \ + .type_str = type_str_, .crop_str = crop_str_, .str = str_ } + + char ip_timer_crop64; + char ip_timer64; + char ipv6_timer_crop64; + char ipv6_timer64; + struct { + struct { + struct nlattr nla; + union { + uint8_t chr; + uint8_t ipv44; + uint8_t ipv616; + uint32_t ifindex; + uint32_t clk; + } payload; + } val; + size_t sz; + const char *type_str; + const char *crop_str; + const char *str; + } qstate_attrs = { + QSTATE_NLA(BRIDGE_QUERIER_UNSPEC, "BRIDGE_QUERIER_UNSPEC", ipv4, + "\"\\xde\\xad\\xfa\"", + "\"\\xde\\xad\\xfa\\xce\"", + { 0xde, 0xad, 0xfa, 0xce } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_ADDRESS, + "BRIDGE_QUERIER_IP_ADDRESS", ipv4, + "\"\\x5d\\xb8\\xd8\"", + "inet_addr(\"93.184.216.34\")", + { 0x5d, 0xb8, 0xd8, 0x22 } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_PORT, + "BRIDGE_QUERIER_IP_PORT", ifindex, + xasprintf("\"\\x%02x\\x%02x\\x%02x\"", + (ifindex_lo() >> BE_LE(24, 0)) & 0xff, + (ifindex_lo() >> BE_LE(16, 8)) & 0xff, + (ifindex_lo() >> BE_LE(8, 16)) & 0xff), + IFINDEX_LO_STR, + ifindex_lo() ), + QSTATE_NLA(BRIDGE_QUERIER_IP_OTHER_TIMER, + "BRIDGE_QUERIER_IP_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xcafefe, 0xfefeed), + ARRSZ_PAIR(ip_timer_crop)), + clock_t_str(0xcafefeed, ARRSZ_PAIR(ip_timer)), + 0xcafefeed ), + QSTATE_NLA(BRIDGE_QUERIER_PAD, "BRIDGE_QUERIER_PAD", ipv4, + "\"\\xfa\\xce\\xfe\"", + "\"\\xfa\\xce\\xfe\\xed\"", + { 0xfa, 0xce, 0xfe, 0xed } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_ADDRESS, + "BRIDGE_QUERIER_IPV6_ADDRESS", ipv6, + "\"\\xde\\xad\\xfa\\xce\\x80\\x00\\x00\\x00" + "\\x00\\x00\\x00\\xad\\x00\\x00\\x00\"", + "inet_pton(AF_INET6, \"dead:face:8000::ad:0:ec\")", + { 0xde, 0xad, 0xfa, 0xce, 0x80, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xad, 0x00, 0x00, 0x00, 0xec } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_PORT, + "BRIDGE_QUERIER_IPV6_PORT", ifindex, + BE_LE("\"\\xbb\\x40\\xe6\"", "\"\\x4d\\xe6\\x40\""), + "3141592653", + 3141592653 ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_OTHER_TIMER, + "BRIDGE_QUERIER_IPV6_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xfacebe, 0xcebeef), + ARRSZ_PAIR(ipv6_timer_crop)), + clock_t_str(0xfacebeef, ARRSZ_PAIR(ipv6_timer)), + 0xfacebeef ), + QSTATE_NLA(8, "0x8 /* BRIDGE_QUERIER_??? */", chr, + "", "\"\\x69\"", 0x69 ), + }; + for (size_t k = 0; k < ARRAY_SIZE(qstate_attrs); k++) { + char crop_str256; + char str256; + + snprintf(crop_str, sizeof(crop_str), + "%s{nla_len=%zu, nla_type=%s}%s%s%s", + qstate_attrsk.crop_str0 ? "" : "", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.crop_str0 ? ", " : "", + qstate_attrsk.crop_str, + qstate_attrsk.crop_str0 ? "" : ""); + snprintf(str, sizeof(str), "{nla_len=%zu, nla_type=%s}, %s", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.str); + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MCAST_QUERIER_STATE, + "IFLA_BR_MCAST_QUERIER_STATE", + qstate_attrsk.val, pattern, + { qstate_attrsk.sz - 1, crop_str }, + { qstate_attrsk.sz, str }); + } + /* tun attrs */ static const struct val_name u8_tun_attrs = { { 4, "IFLA_TUN_PI" }, @@ -539,7 +690,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u8_tun_attrsk.val, u8_tun_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -553,17 +705,13 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u32_tun_attrsk.val, u32_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -574,7 +722,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(und_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", und_tun_attrsk.val, und_tun_attrsk.name, unknown_msg, pattern, @@ -595,21 +744,18 @@ }; for (size_t k = 0; k < ARRAY_SIZE(uid_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, minus_one, pattern, @@ -630,7 +776,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(tun_types); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", 3, "IFLA_TUN_TYPE", tun_typesk.val, pattern, { 0, NULL }, @@ -640,7 +787,8 @@ /* IFLA_INFO_KIND + IFLA_INFO_XSTATS */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA /* @@ -657,7 +805,7 @@ 0xbadc0de4, 0xbadc0de5, }; - TEST_LINKINFO(fd, nlh0, IFLA_INFO_XSTATS, "can", + TEST_LINKINFO(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_XSTATS, "can", can_stats_data, pattern, print_quoted_hex, printf("{bus_error=3134983648" ", error_warning=3134983649" @@ -667,37 +815,272 @@ ", restarts=3134983653}")); - /* IFLA_INFO_KIND + IFLA_INFO_SLVAE_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_KIND, "IFLA_INFO_SLAVE_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + unknown type */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, 6, "0x6 /* IFLA_INFO_??? */", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_INFO_SLAVE_KIND, + "IFLA_INFO_SLAVE_KIND", pattern, + unknown_msg, print_quoted_stringn, 1, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_UNSPEC */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA unsupported_data_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_SLAVE_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + unsupported_slave_data_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* bridge attrs */ + static const struct val_name und_brport_attrs = { + { 0, "IFLA_BRPORT_UNSPEC" }, + { 24, "IFLA_BRPORT_FLUSH" }, + { 26, "IFLA_BRPORT_PAD" }, + { 40, "0x28 /* IFLA_BRPORT_??? */" }, + { 2989, "0xbad /* IFLA_BRPORT_??? */" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(und_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + und_brport_attrsk.val, + und_brport_attrsk.name, + unknown_msg, pattern, + { 2, "\"\\xab\\xac\"" }, + { 4, "\"\\xab\\xac\\xdb\\xcd\"" }, + { 6, + "\"\\xab\\xac\\xdb\\xcd\\x61\\x62\"" }, + { 8, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\"" }, + { 10, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\\x65\\x66\"" }); + } + + static const struct val_name u8_brport_attrs = { + { ARG_STR(IFLA_BRPORT_STATE) }, + { ARG_STR(IFLA_BRPORT_MODE) }, + { ARG_STR(IFLA_BRPORT_GUARD) }, + { ARG_STR(IFLA_BRPORT_PROTECT) }, + { ARG_STR(IFLA_BRPORT_FAST_LEAVE) }, + { ARG_STR(IFLA_BRPORT_LEARNING) }, + { ARG_STR(IFLA_BRPORT_UNICAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_PROXYARP) }, + { ARG_STR(IFLA_BRPORT_LEARNING_SYNC) }, + { ARG_STR(IFLA_BRPORT_PROXYARP_WIFI) }, + { ARG_STR(IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ARG_STR(IFLA_BRPORT_CONFIG_PENDING) }, + { ARG_STR(IFLA_BRPORT_MULTICAST_ROUTER) }, + { ARG_STR(IFLA_BRPORT_MCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_MCAST_TO_UCAST) }, + { ARG_STR(IFLA_BRPORT_VLAN_TUNNEL) }, + { ARG_STR(IFLA_BRPORT_BCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ARG_STR(IFLA_BRPORT_ISOLATED) }, + { ARG_STR(IFLA_BRPORT_MRP_RING_OPEN) }, + { ARG_STR(IFLA_BRPORT_MRP_IN_OPEN) }, + { ARG_STR(IFLA_BRPORT_LOCKED) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u8_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u8_brport_attrsk.val, + u8_brport_attrsk.name, + u8_val, pattern, + { 0, NULL }, + { 1, "161" }, + { 2, "161" }); + } + + static const struct val_name u16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_PRIORITY) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_PORT) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_COST) }, + { ARG_STR(IFLA_BRPORT_ID) }, + { ARG_STR(IFLA_BRPORT_NO) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u16_brport_attrsk.val, + u16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "57069" }, + { 3, "57069" }); + } + + static const struct val_name x16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(x16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + x16_brport_attrsk.val, + x16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "0xdeed" }, + { 3, "0xdeed" }); + } + + static const struct val_name u32_brport_attrs = { + { 3, "IFLA_BRPORT_COST" }, + { 37, "IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT" }, + { 38, "IFLA_BRPORT_MCAST_EHT_HOSTS_CNT" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u32_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u32_brport_attrsk.val, + u32_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + } + + static const struct val_name brport_id_attrs = { + { 13, "IFLA_BRPORT_ROOT_ID" }, + { 14, "IFLA_BRPORT_BRIDGE_ID" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(brport_id_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + brport_id_attrsk.val, + brport_id_attrsk.name, + bridge_id, pattern, + { 7, "\"\\xbe\\xef\\xfa\\xce" + "\\xde\\xc0\\xde\"" }, + { 8, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }, + { 9, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }); + } + + static const struct val_name c_t_brport_attrs = { + { 21, "IFLA_BRPORT_MESSAGE_AGE_TIMER" }, + { 22, "IFLA_BRPORT_FORWARD_DELAY_TIMER" }, + { 23, "IFLA_BRPORT_HOLD_TIMER" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(c_t_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + c_t_brport_attrsk.val, + c_t_brport_attrsk.name, + u64_val, pattern, + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); + } + + static const struct val_name ifidx_brport_attrs = { + { 34, "IFLA_BRPORT_BACKUP_PORT" }, + }; + const uint32_t ifidx_lo = ifindex_lo(); + + for (size_t k = 0; k < ARRAY_SIZE(ifidx_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + ifidx_lo, pattern, + { 3, BE_LE("\"\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\"") }, + { 4, IFINDEX_LO_STR }, + { 5, IFINDEX_LO_STR }); + } + + /* IFLA_INFO_SLAVE_KIND + unknown type */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo.c
Added
@@ -0,0 +1,127 @@ +/* + * Check decoding of IFLA_PROTINFO netlink attribute. + * + * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2017-2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <netinet/in.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> +#include <stdio.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#include "xlat/addrfams.h" + +#include "nlattr_ifla_af_inet6.h" + +static const unsigned int hdrlen = sizeof(struct ifinfomsg); + +static uint16_t af; +static const char *af_str; + +static void +init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETLINK, + .nlmsg_flags = NLM_F_DUMP + ); + + struct ifinfomsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct ifinfomsg, msg, + .ifi_family = af, + .ifi_type = ARPHRD_LOOPBACK, + .ifi_index = ifindex_lo(), + .ifi_flags = IFF_UP, + ); +} + +static void +init_ifinfomsg_protinfo(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(struct ifinfomsg)); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = IFLA_PROTINFO, + ); +} + +static void +print_ifinfomsg(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=%s" + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + af_str, XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP)); +} + +static void +print_ifinfomsg_protinfo(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen), XLAT_ARGS(IFLA_PROTINFO)); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + 42); + + static char buf256; + fill_memory_ex(buf, sizeof(buf), 32, 224); + + /* Unsupported address families */ + static const uint8_t skip_af = { AF_BRIDGE, AF_INET6 }; + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (i == skip_afpos) { + pos += 1; + continue; + } + + af = i; + af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, + IFLA_PROTINFO, XLAT_STR(IFLA_PROTINFO), + 42, buf, 42, + print_quoted_hex(buf, 32); + printf("...")); + } + + /* AF_BRIDGE is handled by nlattr_ifla_brport */ + + /* AF_INET6 */ + static char af_inet6_str20; + af = AF_INET6; + snprintf(af_inet6_str, sizeof(af_inet6_str), XLAT_FMT, + XLAT_ARGS(AF_INET6)); + af_str = af_inet6_str; + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_ifinfomsg_protinfo, print_ifinfomsg_protinfo, + buf, 1); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_protinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo.c
Added
@@ -0,0 +1,403 @@ +/* + * IFLA_VFINFO_LIST netlink attribute decoding check. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stddef.h> +#include <stdio.h> + +#include <arpa/inet.h> + +#include <linux/if.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> + +#include "test_nlattr.h" + +#include "xlat.h" + +#define IFLA_ATTR IFLA_VFINFO_LIST +#include "nlattr_ifla.h" + +static void +init_vf_info_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN, + .nla_type = IFLA_VF_INFO, + ); +} + +static void +print_vf_info_msg(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + XLAT_ARGS(IFLA_VF_INFO)); +} + +static void +init_vf_stats_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_STATS, + ); +} + +static void +print_vf_stats_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_STATS)); +} + +static void +init_vlan_list_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_VLAN_LIST, + ); +} + +static void +print_vlan_list_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_VLAN_LIST)); +} + +int +main(void) +{ + static const uint8_t dummy = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct ifinfomsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 2 * NLA_HDRLEN + 256); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown IFLA_VF_INFO*, IFLA_VF_INFO_UNSPEC */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IFLA_VF_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, unk_attrsi.str, + pattern, dummy, print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + } + + /* IFLA_VF_INFO: unknown, IFLA_VF_UNSPEC */ + static const struct strval16 unk_vf_attrs = { + { ENUM_KNOWN(0, IFLA_VF_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0xe, "IFLA_VF_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vf_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + unk_vf_attrsi.val, + unk_vf_attrsi.str, + pattern, dummy, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_MAC */ + struct ifla_vf_mac ifla_vm; + ifla_vm.vf = 0xdeadface; + fill_memory(&ifla_vm.mac, sizeof(ifla_vm.mac)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_MAC, + XLAT_KNOWN(0x1, "IFLA_VF_MAC"), + pattern, ifla_vm, print_quoted_hex, 2, + printf("{vf=3735943886, mac=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + /* IFLA_VF_INFO: IFLA_VF_VLAN */ + struct ifla_vf_vlan ifla_vv; + ifla_vv.vf = 0x80a0c0e0; + ifla_vv.vlan = 0x81a1c1e1; + ifla_vv.qos = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_VLAN, + XLAT_KNOWN(0x2, "IFLA_VF_VLAN"), + pattern, ifla_vv, print_quoted_hex, 2, + printf("{vf=2158018784, vlan=2174861793" + ", qos=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_TX_RATE */ + struct ifla_vf_tx_rate ifla_vtr; + ifla_vtr.vf = 0x80a0c0e0; + ifla_vtr.rate = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TX_RATE, + XLAT_KNOWN(0x3, "IFLA_VF_TX_RATE"), + pattern, ifla_vtr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", rate=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_SPOOFCHK */ + struct ifla_vf_spoofchk ifla_vsc; + ifla_vsc.vf = 0x80a0c0e0; + ifla_vsc.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_SPOOFCHK, + XLAT_KNOWN(0x4, "IFLA_VF_SPOOFCHK"), + pattern, ifla_vsc, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_LINK_STATE */ + static const struct strval32 states = { + { ENUM_KNOWN(0, IFLA_VF_LINK_STATE_AUTO) }, + { ENUM_KNOWN(0x1, IFLA_VF_LINK_STATE_ENABLE) }, + { ENUM_KNOWN(0x2, IFLA_VF_LINK_STATE_DISABLE) }, + { ARG_STR(0x3) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0x4) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0xfade) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + }; + struct ifla_vf_link_state ifla_vls; + ifla_vls.vf = 0xbeeffeed; + + for (size_t i = 0; i < ARRAY_SIZE(states); i++) { + ifla_vls.link_state = statesi.val; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + IFLA_VF_LINK_STATE, + XLAT_KNOWN(0x5, + "IFLA_VF_LINK_STATE"), + pattern, ifla_vls, + print_quoted_hex, 2, + printf("{vf=3203399405" + ", link_state=%s}", + statesi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_RATE */ + struct ifla_vf_rate ifla_vr; + ifla_vr.vf = 0x80a0c0e0; + ifla_vr.min_tx_rate = 0x81a1c1e1; + ifla_vr.max_tx_rate = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RATE, + XLAT_KNOWN(0x6, "IFLA_VF_RATE"), + pattern, ifla_vr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", min_tx_rate=2174861793" + ", max_tx_rate=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_RSS_QUERY_EN */ + struct ifla_vf_rss_query_en ifla_vrqe; + ifla_vrqe.vf = 0x80a0c0e0; + ifla_vrqe.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RSS_QUERY_EN, + XLAT_KNOWN(0x7, "IFLA_VF_RSS_QUERY_EN"), + pattern, ifla_vrqe, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_STATS: unknown, IFLA_VF_STATS_PAD */ + static const struct strval16 unk_vs_attrs = { + { ENUM_KNOWN(0x6, IFLA_VF_STATS_PAD) }, + { ARG_XLAT_UNKNOWN(0x9, "IFLA_VF_STATS_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_STATS_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vs_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_stats_msg, + print_vf_stats_msg, + unk_vs_attrsi.val, + unk_vs_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_STATS: u64 attrs */ + static const struct strval16 u64_vs_attrs = { + { ENUM_KNOWN(0, IFLA_VF_STATS_RX_PACKETS) }, + { ENUM_KNOWN(0x1, IFLA_VF_STATS_TX_PACKETS) }, + { ENUM_KNOWN(0x2, IFLA_VF_STATS_RX_BYTES) }, + { ENUM_KNOWN(0x3, IFLA_VF_STATS_TX_BYTES) }, + { ENUM_KNOWN(0x4, IFLA_VF_STATS_BROADCAST) }, + { ENUM_KNOWN(0x5, IFLA_VF_STATS_MULTICAST) }, + { ENUM_KNOWN(0x7, IFLA_VF_STATS_RX_DROPPED) }, + { ENUM_KNOWN(0x8, IFLA_VF_STATS_TX_DROPPED) }, + }; + void *nlh_vs_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_vs_attrs); i++) { + check_u64_nlattr(fd, nlh_vs_u64, hdrlen, + init_vf_stats_msg, print_vf_stats_msg, + u64_vs_attrsi.val, u64_vs_attrsi.str, + pattern, 3); + } + + /* IFLA_VF_INFO: IFLA_VF_TRUST */ + struct ifla_vf_trust ifla_vt; + ifla_vt.vf = 0x80a0c0e0; + ifla_vt.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TRUST, + XLAT_KNOWN(0x9, "IFLA_VF_TRUST"), + pattern, ifla_vt, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_IB_NODE_GUID, IFLA_VF_IB_PORT_GUID */ + static const struct strval16 guid_attrs = { + { ENUM_KNOWN(0xa, IFLA_VF_IB_NODE_GUID) }, + { ENUM_KNOWN(0xb, IFLA_VF_IB_PORT_GUID) }, + }; + struct ifla_vf_guid ifla_vg; + ifla_vg.vf = 0xfacecafe; + ifla_vg.guid = 0xbadc0deddeedbabeULL; + + for (size_t i = 0; i < ARRAY_SIZE(guid_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + guid_attrsi.val, + guid_attrsi.str, + pattern, ifla_vg, + print_quoted_hex, 2, + printf("{vf=4207856382" + ", guid=0xbadc0deddeedbabe" + "}")); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: unknown, IFLA_VF_VLAN_INFO_UNSPEC */ + static const struct strval16 unk_vl_attrs = { + { ENUM_KNOWN(0, IFLA_VF_VLAN_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_VLAN_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_VLAN_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vl_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + unk_vl_attrsi.val, + unk_vl_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: IFLA_VF_VLAN_INFO */ + static const struct strval16 eth_protos = { + { ARG_STR(0) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0x8, "ETH_P_PPP_MP") }, + { ARG_XLAT_KNOWN(0x800, "ETH_P_IP") }, + { ARG_STR(0xf) NRAW(" /* ETH_P_??? */") }, + { ARG_STR(0xfb) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0xfbfb, "ETH_P_AF_IUCV") }, + { ARG_STR(0xffff) NRAW(" /* ETH_P_??? */") }, + }; + struct ifla_vf_vlan_info ifla_vvi; + ifla_vvi.vf = 0x80a0c0e0; + ifla_vvi.vlan = 0x81a1c1e1; + ifla_vvi.qos = 0x82a2c2e2; + + for (size_t i = 0; i < ARRAY_SIZE(eth_protos); i++) { + ifla_vvi.vlan_proto = htons(eth_protosi.val); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + IFLA_VF_VLAN_INFO, + XLAT_KNOWN(0x1, + "IFLA_VF_VLAN_INFO"), + pattern, ifla_vvi, + print_quoted_hex, 3, + printf("{vf=2158018784" + ", vlan=2174861793" + ", qos=2191704802" + ", vlan_proto=htons(%s)}", + eth_protosi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_BROADCAST */ + struct ifla_vf_broadcast ifla_vb; + fill_memory(&ifla_vb.broadcast, sizeof(ifla_vb.broadcast)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_BROADCAST, + XLAT_KNOWN(0xd, "IFLA_VF_BROADCAST"), + pattern, ifla_vb, print_quoted_hex, 2, + printf("{broadcast=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifla_vfinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats.c
Added
@@ -0,0 +1,789 @@ +/* + * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <netinet/in.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include <linux/if_link.h> +#include <linux/if_bonding.h> +#include <linux/if_bridge.h> +#include <linux/mpls.h> + +#include "xlat.h" +#include "xlat/addrfams.h" +#define XLAT_MACROS_ONLY +# include "xlat/ifstats_af_spec_mpls_attrs.h" +# include "xlat/ifstats_attrs.h" +# include "xlat/ifstats_attr_flags.h" +# include "xlat/ifstats_offload_attrs.h" +# include "xlat/ifstats_xstats_bond_attrs.h" +# include "xlat/ifstats_xstats_bond_3ad_attrs.h" +# include "xlat/ifstats_xstats_bridge_attrs.h" +# include "xlat/ifstats_xstats_bridge_mcast_indices.h" +# include "xlat/ifstats_xstats_type_attrs.h" +# include "xlat/nl_bridge_vlan_flags.h" +#undef XLAT_MACROS_ONLY + +static const unsigned int hdrlen = sizeof(struct if_stats_msg); +static char pattern4096; +static char nla_type_str256; + +static void +init_ifstats(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETSTATS, + .nlmsg_flags = NLM_F_DUMP, + ); + + struct if_stats_msg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct if_stats_msg, msg, + .family = AF_UNIX, + .ifindex = ifindex_lo(), + .filter_mask = 0x22, + ); +} + +static void +print_ifstats(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {family=" XLAT_FMT ", ifindex=" + XLAT_FMT_U ", filter_mask=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETSTATS), XLAT_ARGS(NLM_F_DUMP), + XLAT_ARGS(AF_UNIX), XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), + XLAT_ARGS(1<<IFLA_STATS_LINK_64|1<<IFLA_STATS_AF_SPEC)); +} + +/* + * NB: these functions use global variables to control which top-level + * netlink attribute is to be used. + */ +#define DEF_NLATTR_FUNCS_NESTED(sfx_, attr_var_, attr_str_var_, \ + parent_sfx_, lvl_) \ + static void \ + init_ifstats_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + (init_##parent_sfx_)(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, \ + sizeof(struct if_stats_msg) \ + + ((lvl_) - 1) * NLA_HDRLEN); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN, \ + .nla_type = (attr_var_), \ + ); \ + } \ + \ + static void \ + print_ifstats_##sfx_(const unsigned int msg_len) \ + { \ + (print_##parent_sfx_)(msg_len); \ + printf(", {nla_len=%u, nla_type=%s}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct \ + if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN), \ + attr_str_var_); \ + } \ + /* End of DEF_NLATTR_FUNCS_NESTED */ + +static uint16_t l1_attr; +static char l1_attr_str256; + +static uint16_t l2_attr; +static char l2_attr_str256; + +static uint16_t l3_attr; +static char l3_attr_str256; + +DEF_NLATTR_FUNCS_NESTED(l1, l1_attr, l1_attr_str, ifstats, 1) +DEF_NLATTR_FUNCS_NESTED(l2, l2_attr, l2_attr_str, ifstats_l1, 2) +DEF_NLATTR_FUNCS_NESTED(l3, l3_attr, l3_attr_str, ifstats_l2, 3) + + +static void +print_stats_64(struct rtnl_link_stats64 *st, size_t sz) +{ + printf("{"); PRINT_FIELD_U(*st, rx_packets); + printf(", "); PRINT_FIELD_U(*st, tx_packets); + printf(", "); PRINT_FIELD_U(*st, rx_bytes); + printf(", "); PRINT_FIELD_U(*st, tx_bytes); + printf(", "); PRINT_FIELD_U(*st, rx_errors); + printf(", "); PRINT_FIELD_U(*st, tx_errors); + printf(", "); PRINT_FIELD_U(*st, rx_dropped); + printf(", "); PRINT_FIELD_U(*st, tx_dropped); + printf(", "); PRINT_FIELD_U(*st, multicast); + printf(", "); PRINT_FIELD_U(*st, collisions); + printf(", "); PRINT_FIELD_U(*st, rx_length_errors); + printf(", "); PRINT_FIELD_U(*st, rx_over_errors); + printf(", "); PRINT_FIELD_U(*st, rx_crc_errors); + printf(", "); PRINT_FIELD_U(*st, rx_frame_errors); + printf(", "); PRINT_FIELD_U(*st, rx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, rx_missed_errors); + printf(", "); PRINT_FIELD_U(*st, tx_aborted_errors); + printf(", "); PRINT_FIELD_U(*st, tx_carrier_errors); + printf(", "); PRINT_FIELD_U(*st, tx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, tx_heartbeat_errors); + printf(", "); PRINT_FIELD_U(*st, tx_window_errors); + printf(", "); PRINT_FIELD_U(*st, rx_compressed); + printf(", "); PRINT_FIELD_U(*st, tx_compressed); + if (sz >= offsetofend(struct rtnl_link_stats64, rx_nohandler)) { + printf(", "); + PRINT_FIELD_U(*st, rx_nohandler); + } + if (sz >= offsetofend(struct rtnl_link_stats64, rx_otherhost_dropped)) { + printf(", "); + PRINT_FIELD_U(*st, rx_otherhost_dropped); + } + printf("}"); +} + +static void +check_stats_64(const int fd, unsigned int cmd, const char *cmd_str, bool nest) +{ + static const size_t minsz = offsetofend(struct rtnl_link_stats64, + tx_compressed); + + struct rtnl_link_stats64 st; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + (!!nest + 1) * NLA_HDRLEN + sizeof(st)); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + fill_memory(&st, sizeof(st)); + + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd, nlh0, hdrlen, + nest ? init_ifstats_l1 + : init_ifstats, + nest ? print_ifstats_l1 + : print_ifstats, + cmd, nla_type_str, + pattern, st, minsz, + print_quoted_hex, (unsigned) !!nest, + print_stats_64(&st, sizeof(st))); + + TEST_NLATTR_(fd, nlh0 - !!nest * NLA_HDRLEN, + hdrlen + !!nest * NLA_HDRLEN, + nest ? init_ifstats_l1 : init_ifstats, + nest ? print_ifstats_l1 : print_ifstats, + cmd, nla_type_str, minsz, &st, minsz, + print_stats_64(&st, minsz); + for (size_t i = 0; i < (unsigned) !!nest; i++) + printf("")); +} + +static void +fmt_str(char *dst, size_t dst_sz, uint32_t cmd, const char *s, const char *dflt) +{ + if (s) { + snprintf(dst, dst_sz, XLAT_FMT, XLAT_SEL(cmd, s)); + } else { + snprintf(dst, dst_sz, "%#x" NRAW(" /* %s */"), + cmd NRAW(, dflt)); + } +} + +static void +print_mcast_stats(struct br_mcast_stats *br_xst_mc) +{ +#define PR_FIELD_(pfx_, field_) \ + printf(pfx_ #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") \ + "=%llu, " XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=%llu", \ + (unsigned long long) br_xst_mc->field_0, \ + (unsigned long long) br_xst_mc->field_1) + + PR_FIELD_("{", igmp_v1queries); + PR_FIELD_(", ", igmp_v2queries); + PR_FIELD_(", ", igmp_v3queries); + PR_FIELD_(", ", igmp_leaves); + PR_FIELD_(", ", igmp_v1reports); + PR_FIELD_(", ", igmp_v2reports); + PR_FIELD_(", ", igmp_v3reports); + printf(", igmp_parse_errors=%llu", + (unsigned long long) br_xst_mc->igmp_parse_errors); + PR_FIELD_(", ", mld_v1queries); + PR_FIELD_(", ", mld_v2queries); + PR_FIELD_(", ", mld_leaves); + PR_FIELD_(", ", mld_v1reports); + PR_FIELD_(", ", mld_v2reports); + printf(", mld_parse_errors=%llu", + (unsigned long long) br_xst_mc->mld_parse_errors); + PR_FIELD_(", ", mcast_bytes); + PR_FIELD_(", ", mcast_packets); + printf("}"); + +#undef PR_FIELD_ +} + +static void +check_xstats(const int fd, unsigned int cmd, const char *cmd_str) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 256); + + l1_attr = cmd; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(LINK_XSTATS_TYPE_UNSPEC) }, + { 0x3 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "LINK_XSTATS_TYPE_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE */ + l2_attr = LINK_XSTATS_TYPE_BRIDGE; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BRIDGE)); + + /* LINK_XSTATS_TYPE_BRIDGE: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_br_types = { + { ARG_STR(BRIDGE_XSTATS_UNSPEC) }, + { ARG_STR(BRIDGE_XSTATS_PAD) }, + { 0x5 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_br_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_br_typesi.val, undec_br_typesi.str, + "BRIDGE_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_br_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_VLAN */ + static const struct { + struct bridge_vlan_xstats val; + const char *str; + } br_xst_vlan_vecs = { + { { .rx_bytes=0, .rx_packets=0xdeadfacebeeffeedULL, + .tx_bytes=0x8090a0b0c0d0e0f0ULL, .tx_packets=0, + .vid=0xdead, .flags=2 }, + "{rx_bytes=0, rx_packets=16045756813264551661" + ", tx_bytes=9264081114510713072, tx_packets=0" + ", vid=57005, flags=" + XLAT_KNOWN(0x2, "BRIDGE_VLAN_INFO_PVID") "}" }, + { { .rx_bytes=12345678901234567890ULL, .rx_packets=0, + .tx_bytes=0, .tx_packets=9876543210987654321ULL, + .vid=0, .flags=0, .pad2=0xbadc0ded }, + "{rx_bytes=12345678901234567890, rx_packets=0" + ", tx_bytes=0, tx_packets=9876543210987654321" + ", vid=0, flags=0, pad2=0xbadc0ded}" }, + { { .flags=0xdeed }, + "{rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0, vid=0" + ", flags=" XLAT_KNOWN(0xdeed, "BRIDGE_VLAN_INFO_MASTER" + "|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS" + "|0xde80") "}" }, + { { .rx_bytes=0xdefaceddecaffeedULL, + .rx_packets=0xbeeffacedeadbabeULL, + .tx_bytes=0xbeeffeeddadfacedULL, + .tx_packets=0xbeeffadeeffaceedULL, + .vid=0xcafe, .flags=0xfa80, .pad2=0xdeadabba }, + "{rx_bytes=16067382073151717101" + ", rx_packets=13758491153046289086" + ", tx_bytes=13758495684172950765" + ", tx_packets=13758491222056029933" + ", vid=51966, flags=0xfa80" + NRAW(" /* BRIDGE_VLAN_INFO_??? */") + ", pad2=0xdeadabba}" }, + }; + void *nlh_vlan = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_vlan_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_vlan_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_vlan, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, + "BRIDGE_XSTATS_VLAN"), + pattern, br_xst_vlan_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_vlan_vecsi.str)); + + char bufsizeof(br_xst_vlan_vecs0.val) + 42; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_vlan_vecsi.val, + sizeof(br_xst_vlan_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, "BRIDGE_XSTATS_VLAN"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_vlan_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_vlan_vecs0.val), + 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_MCAST */ + struct br_mcast_stats br_xst_mc; + void *nlh_mc = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(br_xst_mc)); + +#define FIELD_STR_(field_) \ + #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") "=0, " \ + XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=0" + + memset(&br_xst_mc, 0, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + printf("{" FIELD_STR_(igmp_v1queries) + ", " FIELD_STR_(igmp_v2queries) + ", " FIELD_STR_(igmp_v3queries) + ", " FIELD_STR_(igmp_leaves) + ", " FIELD_STR_(igmp_v1reports) + ", " FIELD_STR_(igmp_v2reports) + ", " FIELD_STR_(igmp_v3reports) + ", igmp_parse_errors=0" + ", " FIELD_STR_(mld_v1queries) + ", " FIELD_STR_(mld_v2queries) + ", " FIELD_STR_(mld_leaves) + ", " FIELD_STR_(mld_v1reports) + ", " FIELD_STR_(mld_v2reports) + ", mld_parse_errors=0" + ", " FIELD_STR_(mcast_bytes) + ", " FIELD_STR_(mcast_packets) + "}")); +#undef FIELD_STR_ + + fill_memory64(&br_xst_mc, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + print_mcast_stats(&br_xst_mc)); + + char mc_bufsizeof(br_xst_mc) + 8; + fill_memory(mc_buf, sizeof(mc_buf)); + memcpy(mc_buf, &br_xst_mc, sizeof(br_xst_mc)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + sizeof(mc_buf), mc_buf, sizeof(mc_buf), + print_mcast_stats(&br_xst_mc); + printf(", "); + print_quoted_hex(mc_buf + sizeof(br_xst_mc), 8); + printf("")); + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_STP */ + static const struct { + struct bridge_stp_xstats val; + const char *str; + } br_xst_stp_vecs = { + { { .transition_blk=0, .transition_fwd=0, .rx_bpdu=0, + .tx_bpdu=0, .rx_tcn=0, .tx_tcn=0, }, + "{transition_blk=0, transition_fwd=0, rx_bpdu=0, tx_bpdu=0" + ", rx_tcn=0, tx_tcn=0}" }, + { { .transition_blk=0x8090a0b0c0d0e0f0ULL, + .transition_fwd=0x8191a1b1c1d1e1f1ULL, + .rx_bpdu=0x8292a2b2c2d2e2f2ULL, + .tx_bpdu=0x8393a3b3c3d3e3f3ULL, + .rx_tcn=0x8494a4b4c4d4e4f4ULL, + .tx_tcn=0x8595a5b5c5d5e5f5ULL, }, + "{transition_blk=9264081114510713072" + ", transition_fwd=9336421287348789745" + ", rx_bpdu=9408761460186866418, tx_bpdu=9481101633024943091" + ", rx_tcn=9553441805863019764, tx_tcn=9625781978701096437}" }, + }; + void *nlh_stp = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_stp_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_stp_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_stp, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, + "BRIDGE_XSTATS_STP"), + pattern, br_xst_stp_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_stp_vecsi.str)); + + char bufsizeof(br_xst_stp_vecs0.val) + 33; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_stp_vecsi.val, + sizeof(br_xst_stp_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, "BRIDGE_XSTATS_STP"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_stp_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_stp_vecs0.val), + 32); + printf("...")); + } + + + + /* LINK_XSTATS_TYPE_BOND */ + l2_attr = LINK_XSTATS_TYPE_BOND; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BOND)); + + /* LINK_XSTATS_TYPE_BOND: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_bd_types = { + { ARG_STR(BOND_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_bd_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_bd_typesi.val, undec_bd_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_bd_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BOND: BOND_XSTATS_3AD */ + l3_attr = BOND_XSTATS_3AD; + snprintf(l3_attr_str, sizeof(l3_attr_str), XLAT_FMT, + XLAT_ARGS(BOND_XSTATS_3AD)); + + /* BOND_XSTATS_3AD: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_3ad_types = { + { ARG_STR(BOND_3AD_STAT_PAD) }, + { 0xa }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_3ad_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_3ad_typesi.val, undec_3ad_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 3 * NLA_HDRLEN, + init_ifstats_l3, print_ifstats_l3, + undec_3ad_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* BOND_XSTATS_3AD: u64 args */ + static const struct strval32 u64_3ad_types = { + { ARG_STR(BOND_3AD_STAT_LACPDU_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_TX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_UNKNOWN_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_ILLEGAL_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_UNKNOWN_RX) }, + }; + void *nlh_3ad_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(u64_3ad_types); i++) { + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(u64_3ad_typesi.val, u64_3ad_typesi.str)); + check_u64_nlattr(fd, nlh_3ad_u64, hdrlen, + init_ifstats_l3, print_ifstats_l3, + u64_3ad_typesi.val, nla_type_str, + pattern, 3); + } +} + +static void +check_stats_offload(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* IFLA_STATS_LINK_OFFLOAD_XSTATS */ + l1_attr = IFLA_STATS_LINK_OFFLOAD_XSTATS; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_ARGS(IFLA_STATS_LINK_OFFLOAD_XSTATS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(IFLA_OFFLOAD_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "IFLA_OFFLOAD_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* IFLA_OFFLOAD_XSTATS_CPU_HIT */ + check_stats_64(fd, ARG_STR(IFLA_OFFLOAD_XSTATS_CPU_HIT), true); +} + +/* + * skip_af is expected to be sorted + * + * RTM_GETSTATS -> struct if_stats_msg + * cmd + * AF_* + * 0 -> u32 + * 1 -> u64 + */ +static void +check_stats_af_generic(const int fd, unsigned int cmd, const char *cmd_str, + const uint8_t * const skip_af, const size_t skip_af_cnt) +{ + enum { ATTR_SZ = NLA_HDRLEN + 2 * NLA_HDRLEN + 4 + 8 }; + + /* + * The payload is designed like this so if a decoder for a new AF_* + * is implemented, this check will likely fail. + */ + struct { + struct nlattr hdr; + + struct nlattr nested_hdr1; + uint32_t nested_data1; + + struct nlattr nested_hdr2; + uint64_t nested_data2; + } dummy_data = { + { ATTR_SZ, 0 /* AF_* */ }, + { NLA_HDRLEN + sizeof(uint32_t), 0 }, 0xdeadc0de, + { NLA_HDRLEN + sizeof(uint64_t), 1 }, 0xbadda7adeadfacedULL, + }; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + ATTR_SZ); + size_t skip_pos = 0; + + static_assert(ATTR_SZ == sizeof(dummy_data), + "Dummy nlattr payload size mismatch"); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + for (size_t i = 0; i < 256; i++) { + if (skip_pos < skip_af_cnt && i == skip_afskip_pos) { + skip_pos++; + continue; + } + + dummy_data.hdr.nla_type = i; + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifstats, print_ifstats, + cmd, nla_type_str, ATTR_SZ, &dummy_data, ATTR_SZ, + printf("{nla_len=%u, nla_type=", ATTR_SZ); + printxval(addrfams, i, "AF_???"); + printf("}, "); + print_quoted_hex(&dummy_data.nested_hdr1, + sizeof(dummy_data) - NLA_HDRLEN); + printf("")); + } +} + +static void +check_stats_af_mpls(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* l1: IFLA_STATS_AF_SPEC */ + l1_attr = IFLA_STATS_AF_SPEC; + snprintf(l1_attr_str, sizeof(l1_attr_str), + XLAT_KNOWN(0x5, "IFLA_STATS_AF_SPEC")); + + /* l2: AF_MPLS */ + l2_attr = AF_MPLS; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(AF_MPLS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(MPLS_STATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "MPLS_STATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* MPLS_STATS_LINK */ + struct mpls_link_stats mls; + void *nlh_mls = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(mls)); + + memset(&mls, 0, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=0, tx_packets=0" + ", rx_bytes=0, tx_bytes=0" + ", rx_errors=0, tx_errors=0" + ", rx_dropped=0, tx_dropped=0" + ", rx_noroute=0}")); + + typedef unsigned long long ullong; + fill_memory64(&mls, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=%llu, tx_packets=%llu" + ", rx_bytes=%llu, tx_bytes=%llu" + ", rx_errors=%llu, tx_errors=%llu" + ", rx_dropped=%llu" + ", tx_dropped=%llu" + ", rx_noroute=%llu}", + (ullong) mls.rx_packets, + (ullong) mls.tx_packets, + (ullong) mls.rx_bytes, + (ullong) mls.tx_bytes, + (ullong) mls.rx_errors, + (ullong) mls.tx_errors, + (ullong) mls.rx_dropped, + (ullong) mls.tx_dropped, + (ullong) mls.rx_noroute)); + + char mls_bufsizeof(mls) + 32; + fill_memory(mls_buf, sizeof(mls_buf)); + memcpy(mls_buf, &mls, sizeof(mls)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + sizeof(mls_buf), mls_buf, sizeof(mls_buf), + printf("{rx_packets=9264081114510713072" + ", tx_packets=9264081114510713073" + ", rx_bytes=9264081114510713074" + ", tx_bytes=9264081114510713075" + ", rx_errors=9264081114510713076" + ", tx_errors=9264081114510713077" + ", rx_dropped=9264081114510713078" + ", tx_dropped=9264081114510713079" + ", rx_noroute=9264081114510713080}, "); + print_quoted_hex(mls_buf + sizeof(mls), 32); + printf("")); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 256); + + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + /* Unknown attrs. */ + static const uint16_t unk_types = { 6, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* IFLA_STATS_??? */"), + unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* IFLA_STATS_UNSPEC: unimplemented, no semantics. */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "IFLA_STATS_UNSPEC") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* IFLA_STATS_LINK_64 */ + check_stats_64(fd, ARG_STR(IFLA_STATS_LINK_64), false); + + + /* IFLA_STATS_LINK_XSTATS, IFLA_STATS_LINK_XSTATS_SLAVE */ + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS)); + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS_SLAVE)); + + + /* IFLA_STATS_LINK_OFFLOAD_STATS */ + check_stats_offload(fd); + + + /* IFLA_STATS_AF_SPEC */ + static const uint8_t af_spec_fams = { AF_MPLS }; + check_stats_af_generic(fd, ARG_STR(IFLA_STATS_AF_SPEC), + ARRSZ_PAIR(af_spec_fams)); + + /* IFLA_STATS_AF_SPEC: AF_MPLS */ + check_stats_af_mpls(fd); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ifstats.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_inet_diag_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_inet_diag_msg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,12 +11,27 @@ #include <stdio.h> #include <string.h> #include <arpa/inet.h> +#include <linux/atalk.h> +#include <linux/mptcp.h> +#include <linux/tls.h> #include <net/if.h> +#include <netinet/in.h> #include <netinet/tcp.h> #include "test_nlattr.h" #include <linux/inet_diag.h> #include <linux/sock_diag.h> + +#ifndef HAVE_STRUCT_TCP_DIAG_MD5SIG +struct tcp_diag_md5sig { + __u8 tcpm_family; + __u8 tcpm_prefixlen; + __u16 tcpm_keylen; + __be32 tcpm_addr4; + __u8 tcpm_key80 /* TCP_MD5SIG_MAXKEYLEN */; +}; +#endif + static const char * const sk_meminfo_strs = { "SK_MEMINFO_RMEM_ALLOC", "SK_MEMINFO_RCVBUF", @@ -30,6 +45,12 @@ }; static const char address = "10.11.12.13"; +static const unsigned int hdrlen = sizeof(struct inet_diag_msg); +static uint16_t attr1; +static const char *attr1_str = NULL; +static uint16_t attr2; +static const char *attr2_str = NULL; + static void init_inet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) @@ -70,6 +91,47 @@ } static void +init_inet_diag_nest_1(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = attr1, + ); +} + +static void +print_inet_diag_nest_1(const unsigned int msg_len) +{ + print_inet_diag_msg(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen), attr1_str); +} + +static void +init_inet_diag_nest_2(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_nest_1(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + .nla_type = attr2, + ); +} + +static void +print_inet_diag_nest_2(const unsigned int msg_len) +{ + print_inet_diag_nest_1(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, attr2_str); +} + +static void print_uint(const unsigned int *p, size_t i) { if (i >= ARRAY_SIZE(sk_meminfo_strs)) @@ -77,7 +139,75 @@ else printf("%s", sk_meminfo_strsi); - printf(" = %u", *p); + printf("=%u", *p); +} + +static const struct { + struct tcp_diag_md5sig val; + const char *str; +} md5sig_vecs = { + { { 0 }, + "{tcpm_family=AF_UNSPEC, tcpm_prefixlen=0, tcpm_keylen=0" + ", tcpm_addr=\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", tcpm_key=\"\"}" }, + { { AF_INET, 0x42, 1, { BE_LE(0xdeadface, 0xcefaadde) } }, + "{tcpm_family=AF_INET, tcpm_prefixlen=66, tcpm_keylen=1" + ", tcpm_addr=inet_addr(\"222.173.250.206\")" + ", tcpm_key=\"\\x00\"}" }, + { { AF_INET6, 0xbe, 42, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" }, + "{tcpm_family=AF_INET6, tcpm_prefixlen=190, tcpm_keylen=42" + ", inet_pton(AF_INET6, \"dead:face:cafe::face:badc:ded\", &tcpm_addr)" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\"}" }, + { { 46, 0, 45067, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" + "xyz0123456789ABCDEFGHIJKLMNO" }, + "{tcpm_family=0x2e /* AF_??? */, tcpm_prefixlen=0, tcpm_keylen=45067" + ", tcpm_addr=\"\\xde\\xad\\xfa\\xce\\xca\\xfe\\x00\\x00" + "\\x00\\x00\\xfa\\xce\\xba\\xdc\\x0d\\xed\"" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73" + "\\x74\\x75\\x76\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35\\x36" + "\\x37\\x38\\x39\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\\x4a" + "\\x4b\\x4c\\x4d\\x4e\\x4f\"}" }, +}; + +static void +print_md5sig(const struct tcp_diag_md5sig *p, size_t i) +{ + printf("%s", md5sig_vecsi.str); +} + +static void +print_sa(const struct sockaddr_storage *p, size_t i) +{ + static const char *strs = { + "{sa_family=AF_INET, sin_port=htons(42069)" + ", sin_addr=inet_addr(\"18.52.86.120\")}", + "{sa_family=AF_INET6, sin6_port=htons(23456)" + ", sin6_flowinfo=htonl(324508639)" + ", inet_pton(AF_INET6, \"1234:5678::9abc:def0\", &sin6_addr)" + ", sin6_scope_id=610839776}", + "{sa_family=AF_APPLETALK" + ", sa_data=\"i\\0" BE_LE("\\207e", "e\\207") "B\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}" + }; + + printf("%s", strsi); } int @@ -114,10 +244,8 @@ static const uint32_t mem = { 0xaffacbad, 0xffadbcab }; static uint32_t bigmemSK_MEMINFO_VARS + 1; static const uint32_t mark = 0xabdfadca; - static const uint8_t shutdown = 0xcd; const int fd = create_nl_socket(NETLINK_SOCK_DIAG); - const unsigned int hdrlen = sizeof(struct inet_diag_msg); void *const nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + MAX(sizeof(bigmem), DEFAULT_STRLEN)); @@ -202,10 +330,24 @@ INET_DIAG_CLASS_ID, pattern, mark, printf("%u", mark)); - TEST_NLATTR(fd, nlh0, hdrlen, - init_inet_diag_msg, print_inet_diag_msg, INET_DIAG_SHUTDOWN, - sizeof(shutdown), &shutdown, sizeof(shutdown), - printf("%u", shutdown)); + static const struct strval8 shutdown_vecs = { + { ARG_STR(0) }, + { 1, "0x1 /* RCV_SHUTDOWN */" }, + { 2, "0x2 /* SEND_SHUTDOWN */" }, + { 3, "0x3 /* RCV_SHUTDOWN|SEND_SHUTDOWN */" }, + { 4, "0x4 /* ???_SHUTDOWN */" }, + { 23, "0x17 /* RCV_SHUTDOWN|SEND_SHUTDOWN|0x14 */" }, + { 252, "0xfc /* ???_SHUTDOWN */" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint8_t, shutdown); + for (size_t i = 0; i < ARRAY_SIZE(shutdown_vecs); i++) { + *shutdown = shutdown_vecsi.val; + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SHUTDOWN, + sizeof(*shutdown), shutdown, sizeof(*shutdown), + printf("%s", shutdown_vecsi.str)); + } char *const str = tail_alloc(DEFAULT_STRLEN); fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); @@ -219,6 +361,524 @@ DEFAULT_STRLEN, str, DEFAULT_STRLEN, printf("\"%s\"", str)); + /* u8 INET_DIAG_* attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x5, INET_DIAG_TOS) }, + { ENUM_KNOWN(0x6, INET_DIAG_TCLASS) }, + { ENUM_KNOWN(0xb, INET_DIAG_SKV6ONLY) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u8_attrsi.val, u8_attrsi.str, pattern, 0); + } + + /* u32 INET_DIAG_* attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0xf, INET_DIAG_MARK) }, + { ENUM_KNOWN(0x11, INET_DIAG_CLASS_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u32_attrsi.val, u32_attrsi.str, + pattern, 0); + } + + /* u64 INET_DIAG_* attrs */ + static const struct strval16 u64_attrs = { + { ENUM_KNOWN(0x15, INET_DIAG_CGROUP_ID) }, + }; + void *nlh_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_attrs); i++) { + check_u64_nlattr(fd, nlh_u64, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u64_attrsi.val, u64_attrsi.str, + pattern, 0); + } + + /* INET_DIAG_PROTOCOL */ + static const struct strval8 protos = { + { 0, "IPPROTO_IP" }, + { 2, "IPPROTO_IGMP" }, + { 5, "0x5 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 190, "0xbe /* IPPROTO_??? */" }, + { 255, "IPPROTO_RAW" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_PROTOCOL, + sizeof(uint8_t), &protosi.val, sizeof(uint8_t), + printf("%s", protosi.str)); + } + + /* INET_DIAG_MD5SIG */ + struct tcp_diag_md5sig md5s_arrARRAY_SIZE(md5sig_vecs); + + for (size_t i = 0; i < ARRAY_SIZE(md5sig_vecs); i++) { + memcpy(md5s_arr + i, &md5sig_vecsi.val, sizeof(md5s_arr0)); + + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, + md5sig_vecsi.val, + printf("%s", md5sig_vecsi.str)); + } + + TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, md5s_arr, print_md5sig); + + /* INET_DIAG_ULP_INFO */ + attr1 = INET_DIAG_ULP_INFO; + attr1_str = "INET_DIAG_ULP_INFO"; + + /* INET_DIAG_ULP_INFO: unknown, undecoded */ + static const struct strval16 ulp_unk_attrs = { + { ENUM_KNOWN(0, INET_ULP_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_ULP_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_ULP_INFO_???") }, + }; + static const uint32_t dummy = BE_LE(0xdeadc0de, 0xdec0adde); + + for (size_t i = 0; i < ARRAY_SIZE(ulp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + ulp_unk_attrsi.val, + ulp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_NAME */ + static const struct { + const char *val; + const char *str; + ssize_t sz; + } ulp_names = { + { "OH HAI", "\"OH HAI\"", 7 }, + { "\0\0\0", "\"\\0\\0\\0\"", 4 }, + { "\1\2\3\4\5\6\7\10\11\12\13\14", + "\"\\1\\2\\3\\4\\5\\6\\7\\10\\t\\n\\v\\f\"...", 12 }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ulp_names); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + INET_ULP_INFO_NAME, "INET_ULP_INFO_NAME", + ulp_namesi.sz, ulp_namesi.val, + ulp_namesi.sz, 1, + printf("%s", ulp_namesi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS */ + attr2 = INET_ULP_INFO_TLS; + attr2_str = "INET_ULP_INFO_TLS"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: unknown, undecoded */ + static const struct strval16 tls_unk_attrs = { + { ENUM_KNOWN(0, TLS_INFO_UNSPEC) }, + { ENUM_KNOWN(0x6, TLS_INFO_RX_NO_PAD) }, + { ARG_XLAT_UNKNOWN(0x7, "TLS_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "TLS_INFO_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_unk_attrsi.val, + tls_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_VERSION */ + static const struct strval16 tls_vers = { + { ARG_XLAT_UNKNOWN(0, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x200, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x300, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x301, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x302, "TLS_???_VERSION") }, + { ENUM_KNOWN(0x303, TLS_1_2_VERSION) }, + { ENUM_KNOWN(0x304, TLS_1_3_VERSION) }, + { ARG_XLAT_UNKNOWN(0x305, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0xdead, "TLS_???_VERSION") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_vers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_VERSION, "TLS_INFO_VERSION", + 2, &tls_versi.val, 2, 2, + printf("%s", tls_versi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_CIPHER */ + static const struct strval16 tls_ciphers = { + { ARG_XLAT_UNKNOWN(0, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0x32, "TLS_CIPHER_???") }, + { ENUM_KNOWN(0x33, TLS_CIPHER_AES_GCM_128) }, + { ENUM_KNOWN(0x34, TLS_CIPHER_AES_GCM_256) }, + { ENUM_KNOWN(0x35, TLS_CIPHER_AES_CCM_128) }, + { ENUM_KNOWN(0x36, TLS_CIPHER_CHACHA20_POLY1305) }, + { ENUM_KNOWN(0x37, TLS_CIPHER_SM4_GCM) }, + { ENUM_KNOWN(0x38, TLS_CIPHER_SM4_CCM) }, + { ENUM_KNOWN(0x39, TLS_CIPHER_ARIA_GCM_128) }, + { ENUM_KNOWN(0x3a, TLS_CIPHER_ARIA_GCM_256) }, + { ARG_XLAT_UNKNOWN(0x3b, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0xcafe, "TLS_CIPHER_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_ciphers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_CIPHER, "TLS_INFO_CIPHER", + 2, &tls_ciphersi.val, 2, 2, + printf("%s", tls_ciphersi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_RTXCONF */ + static const struct strval16 tls_cfg_attrs = { + { ENUM_KNOWN(0, TLS_INFO_TXCONF) }, + { ENUM_KNOWN(0, TLS_INFO_RXCONF) }, + }; + static const struct strval16 tls_cfgs = { + { ARG_XLAT_UNKNOWN(0, "TLS_CONF_???") }, + { ENUM_KNOWN(0x1, TLS_CONF_BASE) }, + { ENUM_KNOWN(0x2, TLS_CONF_SW) }, + { ENUM_KNOWN(0x3, TLS_CONF_HW) }, + { ENUM_KNOWN(0x4, TLS_CONF_HW_RECORD) }, + { ARG_XLAT_UNKNOWN(0x5, "TLS_CONF_???") }, + { ARG_XLAT_UNKNOWN(0xface, "TLS_CONF_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_cfg_attrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(tls_cfgs); j++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_cfg_attrsi.val, + tls_cfg_attrsi.str, + 2, &tls_cfgsi.val, 2, 2, + printf("%s", tls_cfgsi.str)); + } + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP */ + attr2 = INET_ULP_INFO_MPTCP; + attr2_str = "INET_ULP_INFO_MPTCP"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: unknown, undecoded */ + static const struct strval16 mptcp_unk_attrs = { + { ENUM_KNOWN(0, MPTCP_SUBFLOW_ATTR_UNSPEC) }, + { ENUM_KNOWN(0xb, MPTCP_SUBFLOW_ATTR_PAD) }, + { ARG_XLAT_UNKNOWN(0xc, "MPTCP_SUBFLOW_ATTR_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "MPTCP_SUBFLOW_ATTR_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_unk_attrsi.val, + mptcp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u8 */ + static const struct strval16 mptcp_u8_attrs = { + { ENUM_KNOWN(0x9, MPTCP_SUBFLOW_ATTR_ID_REM) }, + { ENUM_KNOWN(0xa, MPTCP_SUBFLOW_ATTR_ID_LOC) }, + }; + void *nlh_n2_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u8_attrs); i++) { + check_u8_nlattr(fd, nlh_n2_u8, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u8_attrsi.val, mptcp_u8_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u16 */ + static const struct strval16 mptcp_u16_attrs = { + { ENUM_KNOWN(0x7, MPTCP_SUBFLOW_ATTR_MAP_DATALEN) }, + }; + void *nlh_n2_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u16_attrs); i++) { + check_u16_nlattr(fd, nlh_n2_u16, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u16_attrsi.val, mptcp_u16_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u32 */ + static const struct strval16 mptcp_u32_attrs = { + { ENUM_KNOWN(0x3, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ) }, + { ENUM_KNOWN(0x5, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ) }, + { ENUM_KNOWN(0x6, MPTCP_SUBFLOW_ATTR_SSN_OFFSET) }, + }; + void *nlh_n2_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_n2_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u32_attrsi.val, mptcp_u32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u64 */ + static const struct strval16 mptcp_u64_attrs = { + { ENUM_KNOWN(0x4, MPTCP_SUBFLOW_ATTR_MAP_SEQ) }, + }; + void *nlh_n2_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u64_attrs); i++) { + check_u64_nlattr(fd, nlh_n2_u64, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u64_attrsi.val, mptcp_u64_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: x32 */ + static const struct strval16 mptcp_x32_attrs = { + { ENUM_KNOWN(0x1, MPTCP_SUBFLOW_ATTR_TOKEN_REM) }, + { ENUM_KNOWN(0x2, MPTCP_SUBFLOW_ATTR_TOKEN_LOC) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_x32_attrs); i++) { + check_x32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_x32_attrsi.val, mptcp_x32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: MPTCP_SUBFLOW_ATTR_FLAGS */ + static const struct strval32 mptcp_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "MPTCP_SUBFLOW_FLAG_MCAP_REM") }, + { ARG_XLAT_KNOWN(0xdecaffed, + "MPTCP_SUBFLOW_FLAG_MCAP_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_LOC" + "|MPTCP_SUBFLOW_FLAG_BKUP_LOC" + "|MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED" + "|MPTCP_SUBFLOW_FLAG_CONNECTED" + "|MPTCP_SUBFLOW_FLAG_MAPVALID|0xdecafe00") }, + { ARG_XLAT_UNKNOWN(0xfffffe00, "MPTCP_SUBFLOW_FLAG_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + MPTCP_SUBFLOW_ATTR_FLAGS, + "MPTCP_SUBFLOW_ATTR_FLAGS", + 4, &mptcp_flagsi.val, 4, 2, + printf("%s", mptcp_flagsi.str)); + } + + /* INET_DIAG_SK_BPF_STORAGES */ + attr1 = INET_DIAG_SK_BPF_STORAGES; + attr1_str = "INET_DIAG_SK_BPF_STORAGES"; + + /* INET_DIAG_SK_BPF_STORAGES: unknown, undecoded */ + static const struct strval16 bpfsts_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_REP_NONE) }, + { ARG_XLAT_UNKNOWN(0x2, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfsts_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + bpfsts_unk_attrsi.val, + bpfsts_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE */ + attr2 = SK_DIAG_BPF_STORAGE; + attr2_str = "SK_DIAG_BPF_STORAGE"; + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: unknown, undecoded */ + static const struct strval16 bpfst_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_NONE) }, + { ENUM_KNOWN(0x1, SK_DIAG_BPF_STORAGE_NONE) }, + { ARG_XLAT_UNKNOWN(0x4, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_unk_attrsi.val, + bpfst_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: u32 */ + static const struct strval16 bpfst_u32_attrs = { + { ENUM_KNOWN(0x2, SK_DIAG_BPF_STORAGE_MAP_ID) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_u32_attrsi.val, bpfst_u32_attrsi.str, + pattern, 2); + } + + /* + * INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: + * SK_DIAG_BPF_STORAGE_MAP_VALUE + */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } bpfst_vals = { + { 1, "\xbe", "0xbe" }, + { 2, BE_LE("\xde\xad", "\xad\xde"), "0xdead" }, + { 3, "\xca\xff\xee", "\"\\xca\\xff\\xee\"" }, + { 4, BE_LE("\xba\xdc\x0d\xed", "\xed\x0d\xdc\xba"), + "0xbadc0ded" }, + { 5, "\x00\x09\x0a\x0b\x0c", + "\"\\x00\\x09\\x0a\\x0b\\x0c\"" }, + { 6, "012345", + "\"\\x30\\x31\\x32\\x33\\x34\\x35\"" }, + { 7, "abcdefg", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\"" }, + { 8, BE_LE("\xbe\xef\xfa\xce\xde\xad\xc0\xde", + "\xde\xc0\xad\xde\xce\xfa\xef\xbe"), + "0xbeeffacedeadc0de" }, + { 9, "ABCDEFGHI", + "\"\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\"" }, + { 10, "1234567890", + "\"\\x31\\x32\\x33\\x34\\x35" + "\\x36\\x37\\x38\\x39\\x30\"" }, + { 12, "a1b2c3d4e5f6", + "\"\\x61\\x31\\x62\\x32\\x63\\x33" + "\\x64\\x34\\x65\\x35\\x66\\x36\"" }, + { 16, "A1B2C3D4E5F6G7H8", + "\"\\x41\\x31\\x42\\x32\\x43\\x33\\x44\\x34" + "\\x45\\x35\\x46\\x36\\x47\\x37\\x48\\x38\"" }, + { 36, "abcdefghijklmnopqrstuvwxyz0123456789", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\\x68\\x69\\x6a" + "\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73\\x74\\x75" + "\\x76\\x77\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35" + "\"..." }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_vals); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + SK_DIAG_BPF_STORAGE_MAP_VALUE, + "SK_DIAG_BPF_STORAGE_MAP_VALUE", + bpfst_valsi.sz, bpfst_valsi.val, + bpfst_valsi.sz, 2, + printf("%s", bpfst_valsi.str)); + } + + /* INET_DIAG_SOCKOPT */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } sockopts = { + { 1, "\xbe", "\"\\xbe\"" }, + { 2, "\x00\x00", "{}" }, + { 2, BE_LE("\xca\xa0", "\x53\x05"), + "{recverr=1, is_icsk=1, mc_loop=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1}" }, + { 3, BE_LE("\x1e\xad", "\x78\xb5"), + "{hdrincl=1, mc_loop=1, transparent=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1" + ", unused=" BE_LE("0xd", "0x16") " /* bits 3..8 */}" }, + { 4, "\xff\xff\x00\xff", + "{recverr=1, is_icsk=1, freebind=1, hdrincl=1, mc_loop=1" + ", transparent=1, mc_all=1, nodefrag=1" + ", bind_address_no_port=1, recverr_rfc4884=1, defer_connect=1" + ", unused=0x1f /* bits 3..8 */}" + ", /* bytes 2..3 */ \"\\x00\\xff\"" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sockopts); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SOCKOPT, + sockoptsi.sz, sockoptsi.val, sockoptsi.sz, + printf("%s", sockoptsi.str)); + } + + /* INET_DIAG_LOCALS, INET_DIAG_PEERS */ + static const struct strval16 sa_attrs = { + { ENUM_KNOWN(0xc, INET_DIAG_LOCALS) }, + { ENUM_KNOWN(0xd, INET_DIAG_PEERS) }, + }; + enum { + SA_CNT = 3, + SA_SZ = sizeof(struct sockaddr_storage) * SA_CNT, + }; + void *nlh_sa = midtail_alloc(NLMSG_SPACE(hdrlen), SA_SZ); + struct sockaddr_storage bufSA_CNT = { { 0 } }; + + struct sockaddr_in *sa_in = (struct sockaddr_in *) (buf); + sa_in->sin_family = AF_INET; + sa_in->sin_port = htons(42069); + sa_in->sin_addr.s_addr = htonl(0x12345678); + + struct sockaddr_in6 *sa_in6 = (struct sockaddr_in6 *) (buf + 1); + sa_in6->sin6_family = AF_INET6; + sa_in6->sin6_port = htons(23456); + sa_in6->sin6_flowinfo = htonl(0x13579bdf); + sa_in6->sin6_scope_id = 0x2468ace0; + memcpy(sa_in6->sin6_addr.s6_addr, + "\x12\x34\x56\x78\0\0\0\0\0\0\0\0\x9a\xbc\xde\xf0", + sizeof(sa_in6->sin6_addr.s6_addr)); + + struct sockaddr_at *sa_at = (struct sockaddr_at *) (buf + 2); + sa_at->sat_family = AF_APPLETALK; + sa_at->sat_port = 0x69; + sa_at->sat_addr.s_net = 0x8765; + sa_at->sat_addr.s_node = 0x42; + + for (size_t i = 0; i < ARRAY_SIZE(sa_attrs); i++) { + TEST_NLATTR_ARRAY_(fd, nlh_sa, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + sa_attrsi.val, sa_attrsi.str, + pattern, buf, print_sa); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_inet_diag_req_v2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_inet_diag_req_v2.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -64,6 +64,26 @@ } static void +test_unk_attrs(const int fd) +{ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, INET_DIAG_REQ_NONE) }, + { ENUM_KNOWN(0x2, INET_DIAG_REQ_SK_BPF_STORAGES) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_DIAG_REQ_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_DIAG_REQ_???") }, + }; + static const char buf4 = { 0xde, 0xad, 0xfa, 0xce }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + unk_attrsi.val, unk_attrsi.str, + sizeof(buf), buf, sizeof(buf), + print_quoted_hex(buf, sizeof(buf))); + } +} + +static void test_inet_diag_bc_op(const int fd) { static const struct inet_diag_bc_op op = { @@ -384,6 +404,28 @@ sizeof(buf) - sizeof(op))); } +static void +test_inet_diag_proto(const int fd) +{ + static const struct strval32 protos = { + { 0, "IPPROTO_IP" }, + { 3, "0x3 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 255, "IPPROTO_RAW" }, + { 256, "0x100 /* IPPROTO_??? */" }, + { 262, "IPPROTO_MPTCP" }, + { 0xcafeface, "0xcafeface /* IPPROTO_??? */" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + INET_DIAG_REQ_PROTOCOL, + sizeof(uint32_t), &protosi.val, sizeof(uint32_t), + printf("%s", protosi.str)); + } +} + int main(void) { @@ -396,6 +438,7 @@ sizeof(struct in6_addr) + DEFAULT_STRLEN); fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + test_unk_attrs(fd); test_inet_diag_bc_op(fd); test_inet_diag_bc_s_cond(fd); test_in_addr(fd); @@ -404,6 +447,7 @@ test_inet_diag_bc_s_le(fd); test_inet_diag_bc_mark_cond(fd); test_inet_diag_bc_nop(fd); + test_inet_diag_proto(fd); printf("+++ exited with 0 +++\n"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_mdba_router_port.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_mdba_router_port.c
Changed
@@ -8,7 +8,9 @@ #include "tests.h" +#include <math.h> #include <stdio.h> +#include <unistd.h> #include "test_nlattr.h" #include <linux/if_bridge.h> #include <linux/rtnetlink.h> @@ -93,7 +95,16 @@ { ARG_STR(MDBA_ROUTER_PATTR_INET_TIMER) }, { ARG_STR(MDBA_ROUTER_PATTR_INET6_TIMER) }, }; - static const uint32_t timer = 0xdabcefcd; + uint32_t timer = 0xdead; + long clk_tck; + int precision = 0; + + clk_tck = sysconf(_SC_CLK_TCK); + if (clk_tck > 0) { + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + timer *= clk_tck; + } struct nlattr nla_timer = { .nla_len = NLA_HDRLEN + sizeof(timer), @@ -114,8 +125,11 @@ MDBA_ROUTER_PORT, sizeof(buf_timer), buf_timer, sizeof(buf_timer), printf(IFINDEX_LO_STR - ", {nla_len=%u, nla_type=%s}, 3669815245", - nla_timer.nla_len, pattrsi.str)); + ", {nla_len=%u, nla_type=%s}, %u", + nla_timer.nla_len, pattrsi.str, timer); + if (clk_tck > 0) + printf(" /* 57005.%0*u s */", precision, 0); + printf("")); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_ndmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_ndmsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/neighbour.h> #include <linux/rtnetlink.h> +static const unsigned int hdrlen = sizeof(struct ndmsg); + static void init_ndmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) { @@ -46,13 +48,32 @@ msg_len); } +static void +init_ndmsg_nfea(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ndmsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = NDA_FDB_EXT_ATTRS, + ); +} + +static void +print_ndmsg_nfea(const unsigned int msg_len) +{ + print_ndmsg(msg_len); + printf(", {nla_len=%u, nla_type=NDA_FDB_EXT_ATTRS}", + msg_len - NLMSG_SPACE(hdrlen)); +} + int main(void) { skip_if_unavailable("/proc/self/fd/"); const int fd = create_nl_socket(NETLINK_ROUTE); - const unsigned int hdrlen = sizeof(struct ndmsg); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + sizeof(struct nda_cacheinfo)); @@ -110,6 +131,102 @@ for (unsigned int i = 0; i < sizeof(mac); ++i) printf("%s%02x", i ? ":" : "", maci)); + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x4, NDA_PROBES) }, + { ENUM_KNOWN(0x7, NDA_VNI) }, + { ENUM_KNOWN(0xa, NDA_LINK_NETNSID) }, + { ENUM_KNOWN(0xb, NDA_SRC_VNI) }, + { ENUM_KNOWN(0xd, NDA_NH_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_ndmsg, print_ndmsg, + u32_attrsi.val, u32_attrsi.str, pattern, 0); + } + + /* NDA_FDB_EXT_ATTRS: unknown, undecoded */ + static const struct strval16 nfea_unk_attrs = { + { ENUM_KNOWN(0, NFEA_UNSPEC) }, + { ENUM_KNOWN(0x2, NFEA_DONT_REFRESH) }, + { ARG_XLAT_UNKNOWN(0x3, "NFEA_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "NFEA_???") }, + }; + static const uint32_t dummy = BE_LE(0xbadc0ded, 0xed0ddcba); + + for (size_t i = 0; i < ARRAY_SIZE(nfea_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + nfea_unk_attrsi.val, + nfea_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xba\\xdc\\x0d\\xed\"")); + } + + /* NDA_FDB_EXT_ATTRS: NFEA_ACTIVITY_NOTIFY */ + static const struct strval8 fan_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "FDB_NOTIFY_BIT") }, + { ARG_XLAT_KNOWN(0xef, "FDB_NOTIFY_BIT" + "|FDB_NOTIFY_INACTIVE_BIT|0xec") }, + { ARG_XLAT_UNKNOWN(0xfc, "FDB_NOTIFY_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(fan_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + NFEA_ACTIVITY_NOTIFY, + "NFEA_ACTIVITY_NOTIFY", + 1, &fan_flagsi.val, 1, 1, + printf("%s", fan_flagsi.str)); + } + + /* NDA_FLAGS_EXT */ + static const struct strval32 ntfe_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_EXT_MANAGED") }, + { ARG_XLAT_KNOWN(0xdeadbeef, "NTF_EXT_MANAGED|0xdeadbeee") }, + { ARG_XLAT_UNKNOWN(0xfeedcafe, "NTF_EXT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ntfe_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_FLAGS_EXT, 4, &ntfe_flagsi.val, 4, + printf("%s", ntfe_flagsi.str)); + } + + /* NDA_NDM_STATE_MASK */ + static const struct strval16 states_flags = { + { ARG_XLAT_KNOWN(0, "NUD_NONE") }, + { ARG_XLAT_KNOWN(0x1, "NUD_INCOMPLETE") }, + { ARG_XLAT_KNOWN(0xabed, "NUD_INCOMPLETE|NUD_STALE|NUD_DELAY" + "|NUD_FAILED|NUD_NOARP|NUD_PERMANENT" + "|0xab00") }, + { ARG_XLAT_UNKNOWN(0xff00, "NUD_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(states_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_STATE_MASK, 2, &states_flagsi.val, 2, + printf("%s", states_flagsi.str)); + } + + /* NDA_NDM_FLAGS_MASK */ + static const struct strval8 ndm_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_USE") }, + { ARG_XLAT_KNOWN(0xbe, "NTF_SELF|NTF_MASTER|NTF_PROXY" + "|NTF_EXT_LEARNED|NTF_OFFLOADED" + "|NTF_ROUTER") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ndm_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_FLAGS_MASK, 1, &ndm_flagsi.val, 1, + printf("%s", ndm_flagsi.str)); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg.c
Added
@@ -0,0 +1,411 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/nexthop.h> +#include <netinet/in.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/rtnl_nexthop_attrs.h" +# include "xlat/rtnl_nha_res_group_attrs.h" +# include "xlat/rtnl_nha_res_bucket_attrs.h" +#undef XLAT_MACROS_ONLY + +#define DEF_NLATTR_NHMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETNEXTHOP, \ + .nlmsg_flags = NLM_F_DUMP, \ + ); \ + \ + struct nhmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct nhmsg, msg, \ + .nh_family = (af_), \ + .nh_scope = RT_SCOPE_NOWHERE, \ + .nh_protocol = RTPROT_UNSPEC, \ + .nh_flags = 0x22, \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT \ + ", nlmsg_flags=" XLAT_FMT ", nlmsg_seq=0" \ + ", nlmsg_pid=0}, {nh_family=" XLAT_FMT \ + ", nh_scope=" XLAT_FMT ", nh_protocol=" XLAT_FMT \ + ", nh_flags=" XLAT_FMT "}", \ + msg_len, XLAT_ARGS(RTM_GETNEXTHOP), \ + XLAT_ARGS(NLM_F_DUMP), XLAT_SEL(af_, #af_), \ + XLAT_ARGS(RT_SCOPE_NOWHERE), \ + XLAT_ARGS(RTPROT_UNSPEC), \ + XLAT_ARGS(RTNH_F_PERVASIVE|RTNH_F_UNRESOLVED)); \ + } \ + /* End of DEF_NLATTR_NHMSG_FUNCS */ + +#define DEF_NLATTR_NHMSG_NESTED_FUNCS(sfx_, attr_) \ + static void \ + init_nhmsg_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + init_nhmsg(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(struct nhmsg)); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct nhmsg)), \ + .nla_type = attr_, \ + ); \ + } \ + \ + static void \ + print_nhmsg_##sfx_(const unsigned int msg_len) \ + { \ + print_nhmsg(msg_len); \ + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct nhmsg))), \ + XLAT_SEL(attr_, #attr_)); \ + } \ + /* End of DEF_NLATTR_NHMSG_NESTED_FUNCS */ + +DEF_NLATTR_NHMSG_FUNCS(nhmsg, AF_UNIX) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet, AF_INET) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet6, AF_INET6) + +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_grp, NHA_RES_GROUP) +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_bkt, NHA_RES_BUCKET) + +static void +print_nh_grp(const struct nexthop_grp *const elem, size_t idx) +{ + switch (idx) { + case 0: printf("{id=3735928559, weight=0}"); break; + case 1: printf("{id=0, weight=218, resvd2=0xdead}"); break; + case 2: printf("{id=4207869677, weight=190, resvd1=0xec}"); break; + case 3: printf("{id=0, weight=0, resvd1=0xca, resvd2=0xbeef}"); break; + default: error_msg_and_fail("Unexpected grp index: %zu", idx); + } +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + const unsigned int hdrlen = sizeof(struct nhmsg); + char nla_type_str256; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 42); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* Unknown attrs */ + static const uint16_t unk_types = { 14, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_??? */"), unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* unimplemented, no semantics: NHA_UNSPEC, NHA_ENCAP */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "NHA_UNSPEC") }, + { ARG_XLAT_KNOWN(0x8, "NHA_ENCAP") } }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* u32 attrs: NHA_ID, NHA_BLACKHOLE, NHA_GROUPS, NHA_FDB */ + static const struct strval32 u32_attrs = { + { ARG_XLAT_KNOWN(0x1, "NHA_ID") }, + { ARG_XLAT_KNOWN(0x4, "NHA_BLACKHOLE") }, + { ARG_XLAT_KNOWN(0x9, "NHA_GROUPS") }, + { ARG_XLAT_KNOWN(0xb, "NHA_FDB") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + u32_attrsi.val, u32_attrsi.str, pattern, + 0); + } + + + /* NHA_GROUP */ + static const struct nexthop_grp grps = { + { .id = 0xdeadbeef, .weight = 0, .resvd1 = 0, .resvd2 = 0 }, + { .id = 0, .weight = 218, .resvd1 = 0, .resvd2 = 0xdead }, + { .id = 0xfacefeed, .weight = 190, .resvd1 = 236, .resvd2 = 0 }, + { .id = 0, .weight = 0, .resvd1 = 202, .resvd2 = 0xbeef }, + }; + TEST_NLATTR_ARRAY_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP, XLAT_KNOWN(0x2, "NHA_GROUP"), + pattern, grps, print_nh_grp); + + + /* NHA_GROUP_TYPE */ + static const struct strval16 grp_types = { + { ARG_XLAT_KNOWN(0, "NEXTHOP_GRP_TYPE_MPATH") }, + { ARG_XLAT_KNOWN(0x1, "NEXTHOP_GRP_TYPE_RES") }, + { ARG_XLAT_UNKNOWN(0x2, "NEXTHOP_GRP_TYPE_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "NEXTHOP_GRP_TYPE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(grp_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, + XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + pattern, grp_typesi.val, + printf("%s", grp_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + sizeof(grp_typesi.val) + 4, + &grp_typesi.val, sizeof(grp_typesi.val), + printf("%s", grp_typesi.str)); + } + + + /* ifindex: NHA_OIF, NHA_MASTER */ + static const struct strval32 if_attrs = { + { ARG_XLAT_KNOWN(0x5, "NHA_OIF") }, + { ARG_XLAT_KNOWN(0xa, "NHA_MASTER") }, + }; + const uint32_t ifindex = ifindex_lo(); + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + static const uint32_t bogus = 0xdeadc0de; + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, bogus, + printf("3735929054")); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(bogus) + 4, &bogus, sizeof(bogus), + printf("3735929054")); + + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, ifindex, + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(ifindex) + 4, &ifindex, sizeof(ifindex), + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + } + + + /* NHA_GATEWAY */ + static const struct { + uint8_t af; + uint8_t addr16; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_nhmsg, print_nhmsg, 10 }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_nhmsg_inet, print_nhmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_nhmsg_inet6, print_nhmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_XLAT_KNOWN(0x6, "NHA_GATEWAY") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(addrsi.addr, + addrsi.len); +#endif +#if !XLAT_RAW + if (!(XLAT_VERBOSE + && addrsi.af == AF_UNIX)) + printf(VERB(" /* ") "%s" + VERB(" */"), addrsi.str); +#endif + ); + } + } + + + /* NHA_ENCAP_TYPE */ + static const struct strval16 enc_types = { + { ARG_XLAT_KNOWN(0, "LWTUNNEL_ENCAP_NONE") }, + { ARG_XLAT_KNOWN(0x8, "LWTUNNEL_ENCAP_RPL") }, + { ARG_XLAT_UNKNOWN(0x9, "LWTUNNEL_ENCAP_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "LWTUNNEL_ENCAP_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(enc_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, + XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + pattern, enc_typesi.val, + printf("%s", enc_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + sizeof(enc_typesi.val) + 4, + &enc_typesi.val, sizeof(enc_typesi.val), + printf("%s", enc_typesi.str)); + } + + + /* NHA_RES_GROUP */ + static const unsigned int res_grp_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + void *nlh1 = midtail_alloc(NLMSG_SPACE(res_grp_hdrlen), + NLA_HDRLEN + 16); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_GROUP, XLAT_KNOWN(0xc, "NHA_RES_GROUP"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_grp_types = { + 5, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_grp_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_GROUP_??? */"), + unk_res_grp_typesi); + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + unk_res_grp_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_GROUP_UNSPEC/NHA_RES_GROUP_PAD */ + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + NHA_RES_GROUP_PAD, XLAT_KNOWN(0, "NHA_RES_GROUP_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_GROUP_BUCKETS */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + ARG_XLAT_KNOWN(0x1, "NHA_RES_GROUP_BUCKETS"), + pattern, 1); + + /* clock_t: NHA_RES_GROUP_IDLE_TIMER, NHA_RES_GROUP_UNBALANCED_TIMER, + * NHA_RES_GROUP_UNBALANCED_TIME */ + static const struct strval32 res_grp_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_GROUP_IDLE_TIMER") }, + { ARG_XLAT_KNOWN(0x3, "NHA_RES_GROUP_UNBALANCED_TIMER") }, + { ARG_XLAT_KNOWN(0x4, "NHA_RES_GROUP_UNBALANCED_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_grp_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + res_grp_clk_attrsi.val, + res_grp_clk_attrsi.str, 1); + } + + + /* NHA_RES_BUCKET */ + static const unsigned int res_bkt_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_BUCKET, XLAT_KNOWN(0xd, "NHA_RES_BUCKET"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_bkt_types = { + 4, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_bkt_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_BUCKET_??? */"), + unk_res_bkt_typesi); + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + unk_res_bkt_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_BUCKET_UNSPEC/NHA_RES_BUCKET_PAD */ + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + NHA_RES_BUCKET_PAD, XLAT_KNOWN(0, "NHA_RES_BUCKET_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_BUCKET_INDEX */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x1, "NHA_RES_BUCKET_INDEX"), + pattern, 1); + + /* clock_t: NHA_RES_BUCKET_IDLE_TIME */ + static const struct strval32 res_bkt_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_BUCKET_IDLE_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_bkt_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + res_bkt_clk_attrsi.val, + res_bkt_clk_attrsi.str, 1); + } + + /* u32: NHA_RES_BUCKET_NH_ID */ + check_u32_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x3, "NHA_RES_BUCKET_NH_ID"), + pattern, 1); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_nhmsg.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_rtmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_rtmsg.c
Changed
@@ -15,44 +15,76 @@ #include <linux/ip.h> #include <linux/rtnetlink.h> -#define LWTUNNEL_ENCAP_NONE 0 - -static void -init_rtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +#if !defined HAVE_MEMPCPY +# undef mempcpy +# define mempcpy strace_mempcpy +static void * +mempcpy(void *dest, const void *src, size_t n) { - SET_STRUCT(struct nlmsghdr, nlh, - .nlmsg_len = msg_len, - .nlmsg_type = RTM_GETROUTE, - .nlmsg_flags = NLM_F_DUMP - ); - - struct rtmsg *const msg = NLMSG_DATA(nlh); - SET_STRUCT(struct rtmsg, msg, - .rtm_family = AF_UNIX, - .rtm_tos = IPTOS_LOWDELAY, - .rtm_table = RT_TABLE_DEFAULT, - .rtm_protocol = RTPROT_KERNEL, - .rtm_scope = RT_SCOPE_UNIVERSE, - .rtm_type = RTN_LOCAL, - .rtm_flags = RTM_F_NOTIFY - ); + memcpy(dest, src, n); + + return dest + n; } +#endif static void -print_rtmsg(const unsigned int msg_len) +print_quoted_hex_ellipsis(const void *const instr, const size_t len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=AF_UNIX" - ", rtm_dst_len=0, rtm_src_len=0" - ", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}", - msg_len); + const unsigned char *str = instr; + + printf("\""); + for (size_t i = 0; i < MIN(len, DEFAULT_STRLEN); ++i) + printf("\\x%02x", stri); + printf("\""); + if (len > DEFAULT_STRLEN) + printf("..."); } +#define LWTUNNEL_ENCAP_NONE 0 + +#define DEF_NLATTR_RTMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETROUTE, \ + .nlmsg_flags = NLM_F_DUMP \ + ); \ + \ + struct rtmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct rtmsg, msg, \ + .rtm_family = (af_), \ + .rtm_tos = IPTOS_LOWDELAY, \ + .rtm_table = RT_TABLE_DEFAULT, \ + .rtm_protocol = RTPROT_KERNEL, \ + .rtm_scope = RT_SCOPE_UNIVERSE, \ + .rtm_type = RTN_LOCAL, \ + .rtm_flags = RTM_F_NOTIFY \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE" \ + ", nlmsg_flags=NLM_F_DUMP" \ + ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=" #af_ \ + ", rtm_dst_len=0, rtm_src_len=0" \ + ", rtm_tos=IPTOS_LOWDELAY" \ + ", rtm_table=RT_TABLE_DEFAULT" \ + ", rtm_protocol=RTPROT_KERNEL" \ + ", rtm_scope=RT_SCOPE_UNIVERSE" \ + ", rtm_type=RTN_LOCAL" \ + ", rtm_flags=RTM_F_NOTIFY}", \ + msg_len); \ + } \ + /* End of DEF_NLATTR_RTMSG_FUNCS */ + +DEF_NLATTR_RTMSG_FUNCS(rtmsg, AF_UNIX) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet, AF_INET) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet6, AF_INET6) + int main(void) { @@ -80,6 +112,62 @@ RTA_DST, 4, pattern, 4, print_quoted_hex(pattern, 4)); +#define MAX_ADDR_SZ 35 + static const struct { + uint8_t af; + uint8_t addrMAX_ADDR_SZ; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_rtmsg, print_rtmsg, 10 }, + { AF_UNIX, + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, MAX_ADDR_SZ - 1 = 0xea }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00" +#if DEFAULT_STRLEN == 32 + "\"...", +#else + "\\x00\\x00\\xea\"", +#endif + init_rtmsg, print_rtmsg, MAX_ADDR_SZ }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_rtmsg_inet, print_rtmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_rtmsg_inet6, print_rtmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_STR(RTA_DST) }, + { ARG_STR(RTA_SRC) }, + { ARG_STR(RTA_GATEWAY) }, + { ARG_STR(RTA_PREFSRC) }, + { ARG_STR(RTA_NEWDST) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex_ellipsis(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, + printf("%s", addrsi.str)); + } + } + const uint32_t ifindex = ifindex_lo(); TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, @@ -110,9 +198,9 @@ TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, pattern, nh, - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u" - ", rtnh_ifindex=" IFINDEX_LO_STR "}", + ", rtnh_ifindex=" IFINDEX_LO_STR "}", nh.rtnh_len, nh.rtnh_hops)); char bufRTNH_ALIGN(sizeof(nh)) + sizeof(nla); @@ -123,11 +211,73 @@ TEST_NLATTR(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, sizeof(buf), buf, sizeof(buf), - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" - ", {nla_len=%u, nla_type=RTA_DST}", + ", {nla_len=%u, nla_type=RTA_DST}", nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); + static const struct in_addr gw_inet_addr = { .s_addr = BE32(0xdeadbeef) }; + static const uint8_t via_inet6_addr16 = { + 0xde, 0xad, 0xfa, 0xce, 0xbe, 0xef, 0xca, 0xfe, + 0xfe, 0xed, 0xba, 0x5e, 0x00, 0x00, 0xfa, 0xde }; + static const struct rtvia rtvia = { .rtvia_family = AF_INET6 }; + char buf22 * (RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla))) + + + NLMSG_ALIGN(sizeof(gw_inet_addr)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + char *pos = buf2; + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + nh.rtnh_flags = 0xc0; + nla.nla_type = RTA_GATEWAY; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &gw_inet_addr, sizeof(gw_inet_addr)); + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + nla.nla_type = RTA_VIA; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &rtvia, sizeof(rtvia)); + pos = mempcpy(pos, &via_inet6_addr, sizeof(via_inet6_addr)); + TEST_NLATTR(fd, nlh0, hdrlen, + init_rtmsg_inet, print_rtmsg_inet, + RTA_MULTIPATH, sizeof(buf2), buf2, sizeof(buf2), + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_GATEWAY}" + ", inet_addr(\"222.173.190.239\")" + ", {rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_VIA}" + ", {rtvia_family=AF_INET6" + ", inet_pton(AF_INET6" + ", \"dead:face:beef:cafe:feed:ba5e:0:fade\"" + ", &rtvia_addr)}", + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))) + )); + static const struct rta_cacheinfo ci = { .rta_clntref = 0xabcdefab, .rta_lastuse = 0xbdadaedc,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/nlattr_tcamsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/nlattr_tcamsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,6 +28,9 @@ #if !HAVE_DECL_TCA_ACT_USED_HW_STATS enum { TCA_ACT_USED_HW_STATS = 9 }; #endif +#if !HAVE_DECL_TCA_ACT_IN_HW_COUNT +enum { TCA_ACT_IN_HW_COUNT = 10 }; +#endif static void @@ -66,7 +69,7 @@ fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); /* Invalid */ - static const unsigned int nla_invalid = { 10, 0xffff & NLA_TYPE_MASK }; + static const unsigned int nla_invalid = { 11, 0xffff & NLA_TYPE_MASK }; for (size_t i = 0; i < ARRAY_SIZE(nla_invalid); i++) { char nla_type_str256; sprintf(nla_type_str, "%#x /* TCA_ACT_??? */", nla_invalidi); @@ -112,10 +115,12 @@ printf("%u", idx)); /* TCA_ACT_FLAGS */ - static uint32_t flags = 0xfacebeef; + static uint32_t flags = 0xfacebeff; TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, TCA_ACT_FLAGS, sizeof(flags), &flags, sizeof(flags), - printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|0xfacebeee")); + printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|" + "TCA_ACT_FLAGS_SKIP_HW|" + "TCA_ACT_FLAGS_SKIP_SW|0xfacebef8")); /* TCA_ACT_HW_STATS, TCA_ACT_USED_HW_STATS */ static const struct strval32 nla_hw_st = { @@ -132,6 +137,13 @@ "TCA_ACT_HW_STATS_DELAYED|0xfacebeec")); } + /* TCA_ACT_IN_HW_COUNT */ + static uint32_t hw_count = 0xdeadface; + TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, + TCA_ACT_IN_HW_COUNT, sizeof(hw_count), + &hw_count, sizeof(hw_count), + printf("%u", hw_count)); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/open--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/open--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=full,mismatch --trace=open
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/open--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/open--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=mismatch --trace=open
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/open_tree.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/open_tree.c
Changed
@@ -39,6 +39,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -57,8 +60,8 @@ k_open_tree(-100, fname, 0); #ifndef PATH_TRACING - printf("open_tree(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("open_tree(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/openat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/openat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/openat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/openat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/openat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/openat2.c
Changed
@@ -23,11 +23,21 @@ #endif #ifndef FD0_PATH # define FD0_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE #endif +#ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +#else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +#endif + static const char sample = "openat2.sample"; int @@ -35,6 +45,9 @@ { SKIP_IF_PROC_IS_UNAVAILABLE; +#ifdef YFLAG + char *cwd = get_fd_path(get_dir_fd(".")); +#endif long rc; const char *rcstr; struct open_how *how = tail_alloc(sizeof(*how)); @@ -47,8 +60,10 @@ sprintrc(rc)); rc = syscall(__NR_openat2, -100, "", how + 1, sizeof(*how)); - printf("openat2(%s, \"\", %p, %zu) = %s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), how + 1, sizeof(*how), + printf("openat2(%s" AT_FDCWD_FMT ", \"\", %p, %zu) = %s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + how + 1, sizeof(*how), sprintrc(rc)); rc = syscall(__NR_openat2, -1, sample, how, 11); @@ -121,9 +136,11 @@ how->mode = 0; how->resolve = 0; rc = syscall(__NR_openat2, -100, "/dev/full", how, sizeof(*how)); - printf("openat2(%s, \"/dev/full\", {flags=%s, resolve=0}, %zu)" - " = %s%s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), XLAT_STR(O_RDONLY|O_NOCTTY), + printf("openat2(%s" AT_FDCWD_FMT ", \"/dev/full\"" + ", {flags=%s, resolve=0}, %zu) = %s%s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + XLAT_STR(O_RDONLY|O_NOCTTY), sizeof(*how), sprintrc(rc), rc >= 0 ? FD0_PATH : ""); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/options-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/options-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check strace options syntax. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,7 @@ . "${srcdir=.}/syntax.sh" compiled_with_secontext=$(get_config_option ENABLE_SECONTEXT "y") +compiled_with_stacktrace="$(get_config_option ENABLE_STACKTRACE 1)" check_e "Invalid process id: '0'" -p 0 check_e "Invalid process id: '0'" --attach=0 @@ -48,8 +49,55 @@ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --absolute-timestamps -ttt -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' -t --timestamps=ns -t -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --timestamps=ns -t --absolute-timestamps=unix -p $$ - -z "$compiled_with_secontext" || - check_h "invalid --secontext argument: 'ss'" --secontext=ss +if -n "$compiled_with_secontext" ; then + for opt in '--secontext' '-e secontext'; do + check_e "invalid secontext ''" $opt= + check_e "invalid secontext 'ss'" $opt=ss + check_e "invalid secontext 'ss'" $opt=ss,full,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss + check_e "invalid secontext 'ss'" $opt=full,mismatch,ss + check_e "invalid secontext 'ss'" $opt=!full,ss + check_e "invalid secontext 'ss'" $opt=!full,mismatch,ss + done +else + for opt in '--secontext' '--secontext=full' '-e secontext=mismatch'; do + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" $opt + done +fi + +for opt in 'id' \ + 'id:' \ + '-1' \ + '2147483648' \ + 'id:rand' \ + 'id:randomm' \ + '2,3,radomm,4' \ + 'format' \ + 'format:' \ + 'id:format' \ + 'id:format:full' \ + 'format:id:0' +do + check_h "invalid --tips argument: '$opt'" --tips="$opt" +done +for opt in '--tips' \ + '--tips=' \ + '--tips=0' \ + '--tips=id:0 --tips' \ + '--tips=1,id:42' \ + '--tips=1 --tips=id:42' \ + '--tips=random' \ + '--tips --tips=random' \ + '--tips=id:random,23' \ + '--tips=id:random,23 --tips=random,2,3,id:4,5' \ + '--tips=format:none' \ + '--tips=format:compact --tips' \ + '--tips --tips=format:full,3,none,id:42,compact' +do + check_h "must have PROG ARGS or -p PID" $opt +done + check_h 'PROG ARGS must be specified with -D/--daemonize' -D -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DD -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DDD -p $$ @@ -205,6 +253,8 @@ check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=getcwd@42 check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=gettid,getcwd@42 check_h "incorrect personality designator '42' in qualification '23@42'" -e trace=23@42,123 +check_h "incorrect personality designator 'ohmy' in qualification '/getcwd@ohmy'" \ + -e trace=/getcwd@ohmy check_h '--seccomp-bpf cannot be used without -f/--follow-forks, disabling -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' --seccomp-bpf -w / @@ -218,10 +268,24 @@ check_h 'deprecated option -F ignored -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' -fF -w / -check_e "invalid system call '/getcwd@ohmy'" -e trace=/getcwd@ohmy check_e "invalid -e kvm= argument: 'chdir'" -e kvm=chdir check_e "invalid -e kvm= argument: 'chdir'" --kvm=chdir +check_h "must have PROG ARGS or -p PID" -e decode-pid=all +check_h "must have PROG ARGS or -p PID" --decode-pid=none +check_h "must have PROG ARGS or -p PID" -e decode-pids=comm +check_h "must have PROG ARGS or -p PID" --decode-pid=pidns,comm +check_h "must have PROG ARGS or -p PID" -e decode-pid=\!pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" -Y -e decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --pidns-translation -e decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns --pidns-translation +check_e "invalid decode-pids ''" --decode-pids= +check_e "invalid decode-pids ''" -e decode-pids= +check_e "invalid decode-pids 'chdir'" --decode-pids=chdir +check_e "invalid decode-pids 'gettid'" -e decode-pid=comm,gettid + case "$STRACE_NATIVE_ARCH" in x86_64) check_h "must have PROG ARGS or -p PID" -e trace=getcwd@64 @@ -289,6 +353,13 @@ if -n "$compiled_with_secontext" ; then check_e "--secontext has no effect with -c/--summary-only $STRACE_EXE: $umsg" -u :nosuchuser: -c --secontext true + else + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" -c --secontext true + fi + + if -n "$compiled_with_stacktrace" ; then + check_e "-k/--stack-traces has no effect with -c/--summary-only +$STRACE_EXE: $umsg" -u :nosuchuser: -c -k true fi for c in --output-separately -A/--output-append-mode; do @@ -323,7 +394,7 @@ check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' -d / check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' --debug / -if -z "$(get_config_option ENABLE_STACKTRACE 1)" ; then +if -z "$compiled_with_stacktrace" ; then check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" -k check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" --stack-traces fi
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pc.c
Changed
@@ -1,5 +1,6 @@ /* * Copyright (c) 2015-2020 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,6 +15,7 @@ #include <sys/mman.h> #include <sys/wait.h> #include <sys/sendfile.h> +#include <sys/prctl.h> int main(void) { @@ -58,6 +60,9 @@ size <<= 1; } + /* Avoid creating core dumps */ + (void) prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); + /* SIGSEGV is expected */ (void) munmap((void *) addr, size); (void) munmap((void *) addr, size);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/perf_event_open.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/perf_event_open.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of perf_event_open syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -398,7 +398,7 @@ } /* These require aligned access, so no byte-grain checks possible */ -#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM +#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM || defined AARCH64 # define ATTR_REC(sz) { tail_alloc((sz + 7) & ~7), sz } #else # define ATTR_REC(sz) { tail_alloc(sz), sz } @@ -422,7 +422,8 @@ "PERF_SAMPLE_BRANCH_NO_FLAGS|" \ "PERF_SAMPLE_BRANCH_NO_CYCLES|" \ "PERF_SAMPLE_BRANCH_TYPE_SAVE|" \ - "PERF_SAMPLE_BRANCH_HW_INDEX" + "PERF_SAMPLE_BRANCH_HW_INDEX|" \ + "PERF_SAMPLE_BRANCH_PRIV_SAVE" int main(void) @@ -532,15 +533,18 @@ static const struct u64_val_str read_formats = { { ARG_STR(0) }, { ARG_STR(PERF_FORMAT_TOTAL_TIME_ENABLED) }, - { 0xf, "PERF_FORMAT_TOTAL_TIME_ENABLED|" + { 0x1f, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" - "PERF_FORMAT_ID|PERF_FORMAT_GROUP" }, - { ARG_ULL_STR(0xdeadf157dec0ded0) " /* PERF_FORMAT_??? */" }, + "PERF_FORMAT_ID|" + "PERF_FORMAT_GROUP|" + "PERF_FORMAT_LOST" }, + { ARG_ULL_STR(0xdeadf157dec0dee0) " /* PERF_FORMAT_??? */" }, { 0xffffffffffffffffULL, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" "PERF_FORMAT_ID|PERF_FORMAT_GROUP|" - "0xfffffffffffffff0" }, + "PERF_FORMAT_LOST|" + "0xffffffffffffffe0" }, }; static const char *precise_ip_descs = { "arbitrary skid", @@ -559,11 +563,11 @@ static const struct u64_val_str branch_sample_types = { { ARG_STR(0) }, { 0x80, "PERF_SAMPLE_BRANCH_ABORT_TX" }, - { 0x3ffff, BRANCH_TYPE_ALL }, - { ARG_ULL_STR(0xdeadcaffeeec0000) + { 0x7ffff, BRANCH_TYPE_ALL }, + { ARG_ULL_STR(0xdeadcaffeee80000) " /* PERF_SAMPLE_BRANCH_??? */" }, { 0xffffffffffffffffULL, - BRANCH_TYPE_ALL "|0xfffffffffffc0000" } + BRANCH_TYPE_ALL "|0xfffffffffff80000" } }; static const struct s32_val_str clockids = { { 11, "CLOCK_TAI" }, @@ -625,13 +629,12 @@ PERF_FLAG_FD_CLOEXEC, "PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; fill_memory(small_attr, sizeof(*small_attr)); small_attr->size = attr_small_size; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n", @@ -639,8 +642,8 @@ argsi.group_fd, argsi.flags_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * - ARRAY_SIZE(attr_configs0) + 1; i++) { + for (size_t i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * + ARRAY_SIZE(attr_configs0) + 1; ++i) { struct perf_event_attr *attr = attrsi % ARRAY_SIZE(attrs).ptr; uint32_t size = attrsi % ARRAY_SIZE(attrs).size; unsigned char fill_start = 0x80 + i;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/perf_event_open_nonverbose.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/perf_event_open_nonverbose.c
Changed
@@ -70,10 +70,9 @@ "PERF_FLAG_FD_NO_GROUP|PERF_FLAG_FD_OUTPUT|" "PERF_FLAG_PID_CGROUP|PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/pidfd_open--decode-fd-all.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open--decode-fd-pidfd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/pidfd_open--decode-fd-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=all -e trace=pidfd_open
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/pidfd_open--decode-fd-none.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/pidfd_open--decode-fd-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=none -e trace=pidfd_open
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pidfd_open--decode-fd-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pidfd_open--decode-fd-socket.c
Changed
@@ -1,1 +1,1 @@ -#include "pidfd_open-y.c" +#include "pidfd_open--decode-fd-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pidns-cache.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pidns-cache.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,7 +15,7 @@ # include <unistd.h> # include <sys/time.h> -# define SYSCALL_COUNT 1000 +# define SYSCALL_COUNT 10000 /** * Max ratio of the execution time with and without pidns translation. @@ -43,11 +43,17 @@ int main(void) { - long max_us = execute_syscalls() * MAX_TIME_RATIO; + long orig_us = execute_syscalls(); + long max_us = orig_us * MAX_TIME_RATIO; pidns_test_init(); long us = execute_syscalls(); + + fprintf(stderr, "Before PID NS test init: %ld\n" + "After PID NS test init: %ld (%.2f times slower)\n", + orig_us, us, (float) us / orig_us); + if (us > max_us) error_msg_and_fail("pidns translation took too long: %ld us " "(max: %ld us)", us, max_us);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pidns.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pidns.c
Changed
@@ -2,10 +2,10 @@ * Testing framework for PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" #include "pidns.h" @@ -140,8 +140,15 @@ siginfo_t siginfo; if (waitid(P_PID, pid, &siginfo, WEXITED | WNOWAIT) < 0) perror_msg_and_fail("wait"); - if (siginfo.si_code != CLD_EXITED || siginfo.si_status) - error_msg_and_fail("child terminated with nonzero exit status"); + if (siginfo.si_code != CLD_EXITED || siginfo.si_status) { + if (siginfo.si_code == CLD_EXITED && siginfo.si_status == 77) { + error_msg_and_skip("child terminated with skip exit" + " status"); + } else { + error_msg_and_fail("child terminated with nonzero exit" + " status"); + } + } return pid; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pidns.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pidns.h
Changed
@@ -2,9 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef STRACE_PIDNS_H # define STRACE_PIDNS_H
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pkey_alloc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pkey_alloc.c
Changed
@@ -39,13 +39,10 @@ { 0xbadc0de8, "0xbadc0de8 /* PKEY_??? */" }, }; - long rc; - unsigned int i; - unsigned int j; - - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(rights); j++) { - rc = syscall(__NR_pkey_alloc, flagsi, rightsj.val); + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(rights); ++j) { + long rc = syscall(__NR_pkey_alloc, + flagsi, rightsj.val); printf("pkey_alloc(%#llx, %s) = %s\n", (unsigned long long) flagsi, rightsj.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pkey_free.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pkey_free.c
Changed
@@ -25,11 +25,8 @@ (kernel_ulong_t) 0x123456789abcdef0ULL, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(keys); i++) { - rc = syscall(__NR_pkey_free, keysi); + for (unsigned int i = 0; i < ARRAY_SIZE(keys); ++i) { + long rc = syscall(__NR_pkey_free, keysi); printf("pkey_free(%d) = %s\n", (int) keysi, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pkey_mprotect.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pkey_mprotect.c
Changed
@@ -62,19 +62,17 @@ (kernel_ulong_t) 0xbadc0ded00000001, }; - long rc; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - - for (i = 0; i < ARRAY_SIZE(ptrs); i++) { - for (j = 0; j < ARRAY_SIZE(sizes); j++) { - for (k = 0; k < ARRAY_SIZE(prots); k++) { - for (l = 0; l < ARRAY_SIZE(pkeys); l++) { - rc = syscall(__NR_pkey_mprotect, - ptrsi, sizesj, - protsk.val, pkeysl); + for (unsigned int i = 0; + i < ARRAY_SIZE(ptrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(sizes); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(prots); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(pkeys); ++l) { + long rc = syscall(__NR_pkey_mprotect, + ptrsi, sizesj, + protsk.val, pkeysl); printf("pkey_mprotect(%s, %llu, %s, %d)" " = %s\n", sprintptr(ptrsi),
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poke-ptrace.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poke-ptrace.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args" @@ -23,5 +23,4 @@ dump_log_and_fail_with "$STRACE $args failed with code $?" match_diff "$LOG" "$EXP" -echo '.*: cannot poke at unaligned address 0x:xdigit:+' >> "$EXP.err" match_grep "$LOG.err" "$EXP.err"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poke-unaligned.expected -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poke-unaligned.expected
Changed
@@ -1,2 +1,1 @@ .*: Failed to tamper with process :digit:+: couldn't poke -.*: cannot poke unaligned data len 7
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poke-unaligned.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poke-unaligned.test
Changed
@@ -16,5 +16,5 @@ $STRACE -o /dev/null $fault_args \ $STRACE -o /dev/null $args >/dev/null 2>"$LOG" || - dump_log_and_fail_with "$STRACE $unaligned_args failed with code $?" + dump_log_and_fail_with "$STRACE $args failed with code $?" match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poke.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poke.c
Changed
@@ -29,20 +29,44 @@ pid_t pid = getpid(); char *const chdir_buf = tail_alloc(PATH_MAX); - memset(chdir_buf, '/', PATH_MAX); char *const getcwd_buf = tail_alloc(PATH_MAX); + char *p; /* - * regular poke on entering syscall + * regular poke at a properly aligned address on entering syscall */ - char *p = chdir_buf; + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf; printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", PATH_MAX - 1, p, sprintrc(chdir(p))); /* - * poke at inaccessible address + * regular poke at an unaligned address on entering syscall + */ + memset(chdir_buf, '/', PATH_MAX); + chdir_bufPATH_MAX - 1 = '\0'; + p = chdir_buf + 1; + printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", + PATH_MAX - 2, p, sprintrc(chdir(p))); + if (chdir_buf0 != '/') + error_msg_and_fail("failed to poke at unaligned address" + " %p properly", p); + + /* + * poke at an inaccessible but properly aligned address + */ + p = chdir_buf + PATH_MAX; + printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); + if (exp_err) { + fprintf(exp_err, + ".*: Failed to tamper with process %d: couldn't poke\n", + pid); + } + + /* + * poke at an inaccessible unaligned address */ - p += PATH_MAX; + ++p; printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, @@ -51,46 +75,33 @@ } /* - * poke at unaligned address, - * short read, - * if process_vm_writev is used: short write. + * poke at a partially accessible unaligned address */ - --p; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf + PATH_MAX - 1; + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(1 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(1 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(1 < :digit:+\\) @%p\n", - pid, p); - } } /* - * poke at a properly aligned address, - * short read, - * if process_vm_writev is not used: short write, - * if process_vm_writev is used: short write is likely. + * poke at a partially accessible properly aligned address */ + memset(chdir_buf, '/', PATH_MAX); p -= 7; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(8 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(8 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(8 < :digit:+\\) @%p(: .*)?\n", - pid, p); - } } /*
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poke.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poke.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/poll.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/poll.c
Changed
@@ -71,8 +71,7 @@ const unsigned int abbrev) { tprintf(""); - unsigned int i; - for (i = 0; i < size; ++i) { + for (unsigned int i = 0; i < size; ++i) { if (i) tprintf(", "); if (i >= valid) { @@ -135,8 +134,7 @@ { tprintf(""); unsigned int seen = 0; - unsigned int i; - for (i = 0; i < size; ++i) + for (unsigned int i = 0; i < size; ++i) print_pollfd_exiting(&pfdi, &seen, abbrev); tprintf(""); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl-arg2-intptr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-arg2-intptr.c
Changed
@@ -51,11 +51,10 @@ TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, ptr); long rc; - unsigned int i; prctl_marker(); - for (i = 0; i < ARRAY_SIZE(options); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(options); ++i) { prctl(optionsi.val | bogus_op_bits, 0); printf("prctl(%s, NULL) = %s\n", optionsi.str, errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl-name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-name.c
Changed
@@ -22,7 +22,6 @@ static const char str = "0123456789abcdef"; static const int len = sizeof(str) - 1; char *name = tail_memdup(str, sizeof(str)); - int i; int rc; prctl_marker(); @@ -30,7 +29,7 @@ rc = prctl(PR_SET_NAME, NULL); printf("prctl(PR_SET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); printf("prctl(PR_SET_NAME, \"%.*s\"%s) = %s\n", i < len - 1 ? i : len - 1, @@ -43,7 +42,7 @@ ++name; memcpy(name, str, len); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); if (i < len - 1) printf("prctl(PR_SET_NAME, %p) = %s\n", @@ -56,7 +55,7 @@ rc = prctl(PR_GET_NAME, NULL); printf("prctl(PR_GET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i < len; ++i) { + for (int i = 0; i < len; ++i) { rc = prctl(PR_GET_NAME, name + len - i); printf("prctl(PR_GET_NAME, %p) = %s\n", name + len - i, sprintrc(rc));
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-set_vma.c
Added
@@ -0,0 +1,82 @@ +/* + * Check decoding of prctl PR_SET_VMA operation. + * + * Copyright (c) 2019-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <unistd.h> +#include <linux/prctl.h> + +static const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; +static const char *errstr; + +static long +pr_set_vma(const kernel_ulong_t op, const void *const addr, + const kernel_ulong_t size, const void *const arg) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | PR_SET_VMA; + const kernel_ulong_t arg2 = op; + const kernel_ulong_t arg3 = (uintptr_t) addr; + const kernel_ulong_t arg4 = size; + const kernel_ulong_t arg5 = (uintptr_t) arg; + const long rc = syscall(__NR_prctl, arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + prctl_marker(); + + char *const name1 = tail_alloc(DEFAULT_STRLEN + 2); + char *const name = name1 + 1; + const void *const efault = name + DEFAULT_STRLEN + 1; + const char *const empty = efault - 1; + fill_memory_ex(name1, DEFAULT_STRLEN + 1, '0', 10); + name1DEFAULT_STRLEN + 1 = '\0'; + + pr_set_vma(0, 0, 1, name); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, NULL, 1, \"%s\")" + " = %s\n", + name, errstr); + + pr_set_vma(0, empty, 2, name1); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 2, \"%.*s\"...)" + " = %s\n", + empty, DEFAULT_STRLEN, name1, errstr); + + pr_set_vma(0, empty, 3, efault); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 3, %p)" + " = %s\n", + empty, efault, errstr); + + pr_set_vma(0, empty, 4, 0); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 4, NULL)" + " = %s\n", + empty, errstr); + + pr_set_vma(0, efault, 5, empty); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 5, \"\")" + " = %s\n", + efault, errstr); + + const kernel_ulong_t bad_op = fill | 0xface1fed; + const kernel_ulong_t bad_size = fill | 0xface2fed; + + pr_set_vma(bad_op, efault, bad_size, empty); + printf("prctl(PR_SET_VMA, %#llx /* PR_SET_VMA_??? */, %p, %#llx, %p)" + " = %s\n", + (unsigned long long) bad_op, efault, + (unsigned long long) bad_size, empty, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-set_vma.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-set_vma +prctl.sh ); do not edit. +set -- +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme.c
Added
@@ -0,0 +1,156 @@ +/* + * Check decoding of prctl PR_SME_SET_VL/PR_SME_GET_VL operations. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <linux/prctl.h> + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#ifndef EXT +# define EXT SME +#endif + +#define EXT_STR STRINGIFY_VAL(EXT) +#define GLUE_(a_, b_, c_) a_ ## b_ ## c_ +#define GLUE(a_, b_, c_) GLUE_(a_, b_, c_) +#define _(pfx_, sfx_) GLUE(pfx_, EXT, sfx_) + +#if !XLAT_RAW +static void +print_sme_vl_arg(kernel_ulong_t arg) +{ + kernel_ulong_t flags = arg & ~_(PR_, _VL_LEN_MASK); + + if (arg < 0x10000) + return; + + printf(" ("); + + if (flags & _(PR_, _SET_VL_ONEXEC)) + printf("PR_" EXT_STR "_SET_VL_ONEXEC"); + if (flags & _(PR_, _VL_INHERIT)) { + printf("%sPR_" EXT_STR "_VL_INHERIT", + flags & _(PR_, _SET_VL_ONEXEC) ? "|" : ""); + } + + kernel_ulong_t leftover = + flags & ~(_(PR_, _SET_VL_ONEXEC)|_(PR_, _VL_INHERIT)); + if (leftover) { + printf("%s%#llx", + leftover == flags ? "" : "|", + (unsigned long long) leftover); + } + + kernel_ulong_t lens = arg & _(PR_, _VL_LEN_MASK); + printf("%s%#llx", flags ? "|" : "", (unsigned long long) lens); + + printf(")"); +} + +#endif /* !XLAT_RAW */ + +int +main(int argc, char *argv) +{ + const char *errstr; + long rc; + size_t i; + + prctl_marker(); + +#ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on prctl(-1, -2, -3, -4" + ", -5) returning %ld", inject_retval); +#endif /* INJECT_RETVAL */ + + static const struct { + kernel_ulong_t val; + const char *str; + bool known; + } args = { + { ARG_STR(0) }, + { ARG_STR(0xdead) }, + { ARG_XLAT_KNOWN(0x10000, "0x10000|0") }, + { ARG_XLAT_KNOWN(0x2ea57, "PR_" EXT_STR "_VL_INHERIT|0xea57") }, + { ARG_XLAT_KNOWN(0x40000, "PR_" EXT_STR "_SET_VL_ONEXEC|0") }, + { ARG_XLAT_KNOWN(0xfacefeed, "PR_" EXT_STR "_SET_VL_ONEXEC" + "|PR_" EXT_STR "_VL_INHERIT" + "|0xfac80000|0xfeed") }, + { ARG_XLAT_KNOWN(0xbad00000, "0xbad00000|0") }, + { ARG_XLAT_KNOWN(0xde90ded, "0xde90000|0xded") }, + { (kernel_ulong_t) 0xbadc0ded0000faceULL, +#if SIZEOF_KERNEL_LONG_T > 4 + XLAT_KNOWN(0xbadc0ded0000face, "0xbadc0ded00000000|0xface") +#else + "0xface" +#endif + }, + }; + + for (i = 0; i < ARRAY_SIZE(args); i++) { + rc = syscall(__NR_prctl, _(PR_, _SET_VL), argsi.val, 1, 2, 3); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ", %s) = ", + XLAT_SEL(_(PR_, _SET_VL), "PR_" EXT_STR "_SET_VL"), + argsi.str); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + } + + rc = syscall(__NR_prctl, _(PR_, _GET_VL), 1, 2, 3, 4); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ") = ", + XLAT_SEL(_(PR_, _GET_VL), "PR_" EXT_STR "_GET_VL")); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sme.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme +prctl.sh -a21); do not edit. +set -- -a21 +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl-spec-inject.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-spec-inject.c
Changed
@@ -46,6 +46,7 @@ } spec_strs = { { 0, "PR_SPEC_STORE_BYPASS" }, { 1, "PR_SPEC_INDIRECT_BRANCH" }, + { 2, "PR_SPEC_L1D_FLUSH" }, }; static const struct { @@ -104,8 +105,8 @@ ", -5) returning %ld", injected_val); /* PR_GET_SPECULATION_CTRL */ - rc = do_prctl(52, 2, bogus_arg3); - printf("prctl(PR_GET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */) " + rc = do_prctl(52, 3, bogus_arg3); + printf("prctl(PR_GET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */) " "= %s (INJECTED)\n", sprintrc(rc)); rc = do_prctl(52, bogus_arg2, bogus_arg3); @@ -138,8 +139,8 @@ /* PR_SET_SPECULATION_CTRL*/ - rc = do_prctl(53, 2, bogus_arg3); - printf("prctl(PR_SET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */, %#llx) " + rc = do_prctl(53, 3, bogus_arg3); + printf("prctl(PR_SET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */, %#llx) " "= %s (INJECTED)\n", (unsigned long long) bogus_arg3, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl-spec-inject.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-spec-inject.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53); do not edit. -set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50); do not edit. +set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 . "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl-success.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-success.sh
Changed
@@ -5,15 +5,17 @@ # Expects a binary that accepts PRCTL_INJECT_START as the first argument. # Accepts list of retvals to inject as first PRCTL_INJECT_RETVALS= argument # -# Copyright (c) 2018-2021 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/scno_tampering.sh" -: ${PRCTL_INJECT_START=256} -: ${PRCTL_INJECT_RETVALS=42} +: "${PRCTL_INJECT_START=256}" +: "${PRCTL_INJECT_RETVALS=42}" +: "${PRCTL_SYSCALL=prctl}" +: "${PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)'}" check_prog sed @@ -21,7 +23,16 @@ # at the beginning of the argument list. while "$#" -gt 0 ; do case "$1" in - PRCTL_INJECT_RETVALS=*) PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}"; ;; + ARCH_PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#ARCH_PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=arch_prctl + PRCTL_MARKER_RE='arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe)' + ;; + PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=prctl + PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)' + ;; *) break; ;; esac @@ -48,9 +59,9 @@ sed_match="-1 ${i#error=}" fi - run_strace -a80 "$@" -e trace=prctl \ - -e inject=prctl:"${inj_str}":when="${PRCTL_INJECT_START}+" \ + run_strace -a80 "$@" -e trace="${PRCTL_SYSCALL}" \ + -e inject="${PRCTL_SYSCALL}":"${inj_str}":when="${PRCTL_INJECT_START}+" \ "../$NAME" "${PRCTL_INJECT_START}" "${ret_val}" > "$EXP.$i" - sed '0,/^prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb) *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" + sed '0,/^'"${PRCTL_MARKER_RE}"' *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" match_diff "$OUT.$i" "$EXP.$i" done
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xabbrev.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_ABBREV 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xraw.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_RAW 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xverbose.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_VERBOSE 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success.c
Added
@@ -0,0 +1,4 @@ +#define INJECT_RETVAL +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl-sve-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/prctl.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/prctl.sh
Changed
@@ -2,10 +2,10 @@ # # Check prctl syscall decoding. # -# Copyright (c) 2021 The strace developers. +# Copyright (c) 2021-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pread64-pwrite64.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pread64-pwrite64.c
Changed
@@ -19,9 +19,8 @@ dump_str(const char *str, const unsigned int len) { static const char dots16 = "................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -36,9 +35,8 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; switch (c) { @@ -81,8 +79,7 @@ tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc); dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = pwrite(1, buf, len, offset); @@ -198,8 +195,7 @@ if (open("/dev/null", O_WRONLY) != 1) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= 32; ++i) + for (unsigned int i = 0; i <= 32; ++i) test_dump(i); tprintf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/preadv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/preadv.c
Changed
@@ -20,11 +20,10 @@ static void print_iov(const struct iovec *iov) { - unsigned int i; unsigned char *buf = iov->iov_base; fputs("{iov_base=\"", stdout); - for (i = 0; i < iov->iov_len; ++i) + for (unsigned int i = 0; i < iov->iov_len; ++i) printf("\\%d", (int) bufi); printf("\", iov_len=%u}", (unsigned) iov->iov_len); } @@ -32,9 +31,8 @@ static void print_iovec(const struct iovec *iov, unsigned int cnt) { - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); print_iov(&iovi);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/print_quoted_string.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/print_quoted_string.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -80,12 +80,11 @@ bool quote, const char *escape_chars) { const unsigned char *str = (const unsigned char *) instr; - size_t i; if (quote) putchar('"'); - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { const int c = stri; switch (c) { case '\"': @@ -136,10 +135,9 @@ print_quoted_hex(const void *const instr, const size_t len) { const unsigned char *str = instr; - size_t i; printf("\""); - for (i = 0; i < len; i++) + for (size_t i = 0; i < len; ++i) printf("\\x%02x", stri); printf("\""); }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/print_scno_getcwd.sh
Added
@@ -0,0 +1,30 @@ +#! /bin/sh -efu +# +# Print the syscall number corresponding to getcwd syscall. +# +# Copyright (c) 2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +case "$STRACE_ARCH" in + alpha) echo 367 ;; + arm|bfin|i386|m68k|microblaze|s390*|sh|sh64) + echo 183 ;; + avr32) echo 48 ;; + hppa) echo 110 ;; + ia64) echo 1184 ;; + mips) case "$MIPS_ABI" in + n64) echo 5077 ;; + n32) echo 6077 ;; + o32) echo 4203 ;; + esac ;; + powerpc*) + echo 182 ;; + sparc*) + echo 119 ;; + x32|x86_64) + echo 79 ;; + xtensa) echo 43 ;; + *) echo 17 ;; +esac
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/process_mrelease-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_STR "</dev/full>" + +#include "process_mrelease.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/process_mrelease-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=process_mrelease -y -a24 </dev/full
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/process_mrelease.c
Added
@@ -0,0 +1,59 @@ +/* + * Check decoding of process_mrelease syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + +#ifndef FD0_STR +# define FD0_STR "" +#endif + +static const char *errstr; + +static long +sys_process_mrelease(int pidfd, unsigned int flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = fill | (unsigned int) pidfd; + kernel_ulong_t arg2 = fill | flags; + kernel_ulong_t arg3 = fill | 0xdeedefed; + kernel_ulong_t arg4 = fill | 0xdebeefed; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_process_mrelease, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + SKIP_IF_PROC_IS_UNAVAILABLE; + + sys_process_mrelease(-1, 0); + printf("process_mrelease(-1, 0) = %s\n", errstr); + + sys_process_mrelease(0, 0xfacefeed); + printf("process_mrelease(0" FD0_STR ", 0xfacefeed) = %s\n", errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/process_mrelease.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease -a24 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a24
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/process_vm_readv_writev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/process_vm_readv_writev.c
Changed
@@ -45,7 +45,6 @@ print_iov(const struct iovec *iov, const void *arg_ptr, long rc) { const struct print_iov_arg *arg = arg_ptr; - uint32_t i; uint32_t num_segm = 0; uint64_t segm_offs = 0; @@ -60,7 +59,7 @@ printf(""); - for (i = 0; i < arg->count; i++) { + for (uint32_t i = 0; i < arg->count; ++i) { if (i) printf(", ");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y.c
Added
@@ -0,0 +1,2 @@ +#define NULL_FD_STR "<" NULL_STR ">" +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ptrace syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #include <errno.h> #include "ptrace.h" #include <inttypes.h> +#include <fcntl.h> #include <signal.h> #include <stdint.h> #include <stdio.h> @@ -25,6 +26,35 @@ #include <sys/uio.h> #include <sys/user.h> +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#define NULL_FD 23 +#define NULL_STR "/dev/null" + +#ifndef NULL_FD_STR +# define NULL_FD_STR "" +#endif + +static const char null_path = "/dev/null"; + +#if SIZEOF_LONG > 4 +# define UP64BIT(a_) a_ +#else +# define UP64BIT(a_) +#endif + +struct valstraux { + int val; + const char *str; + const char *aux; +}; + static const char *errstr; static long @@ -62,12 +92,16 @@ } #endif /* PTRACE_GETREGS || PTRACE_GETREGS64 || PTRACE_GETFPREGS */ +#ifndef PTRACE_PEEKSIGINFO_SHARED +# define PTRACE_PEEKSIGINFO_SHARED (1 << 0) +#endif + static void test_peeksiginfo(int pid, const unsigned long bad_request) { do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, NULL, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, bad_request, errstr); struct psi { unsigned long long off; @@ -80,9 +114,11 @@ psi->nr = 42; do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, {off=%llu" - ", flags=PTRACE_PEEKSIGINFO_SHARED, nr=%u}, %#lx) = %s\n", - pid, psi->off, psi->nr, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, {off=%llu" + ", flags=" XLAT_FMT ", nr=%u}, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, + XLAT_ARGS(PTRACE_PEEKSIGINFO_SHARED), + psi->nr, bad_request, errstr); pid = fork(); if (pid < 0) @@ -148,22 +184,27 @@ long rc = do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, (uintptr_t) sigs); if (rc < 0) { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" - ", {off=%llu, flags=0, nr=%u}, %p) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, {off=%llu, flags=0" + ", nr=%u}, %p) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, sigs, errstr); } else { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" + printf("ptrace(" XLAT_FMT ", %d" ", {off=%llu, flags=0, nr=%u}" - ", {si_signo=SIGUSR1, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGUSR2, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGALRM, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" ") = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, + XLAT_ARGS(SIGUSR1), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGUSR2), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGALRM), XLAT_ARGS(SI_TKILL), pid, (int) uid, errstr); } @@ -174,7 +215,8 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_CONT, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_CONT), pid); } } @@ -185,7 +227,7 @@ # define TRACEE_REGS_STRUCT struct pt_regs #elif defined __arm__ # define TRACEE_REGS_STRUCT struct pt_regs -#elif defined __arm64__ || defined __aarch64__ +#elif defined __arm64__ || defined __aarch64__ || defined __loongarch__ # define TRACEE_REGS_STRUCT struct user_pt_regs #elif defined __s390__ || defined __s390x__ # define TRACEE_REGS_STRUCT s390_regs @@ -217,7 +259,7 @@ } sparc32_regs; # define TRACEE_REGS_STRUCT sparc32_regs # endif -#elif defined __riscv__ +#elif defined __riscv # define TRACEE_REGS_STRUCT struct user_regs_struct #elif defined __mips__ typedef struct { @@ -656,12 +698,9 @@ } # endif -# elif defined __riscv__ +# elif defined __riscv - if (size >= offsetofend(TRACEE_REGS_STRUCT, pc)) { - fputs(", ", stdout); - PRINT_FIELD_X(*regs, pc); - } + PRINT_FIELD_X(*regs, pc); if (size >= offsetofend(TRACEE_REGS_STRUCT, ra)) { fputs(", ", stdout); PRINT_FIELD_X(*regs, ra); @@ -826,15 +865,55 @@ PRINT_FIELD_X(*regs, cp0_cause); } +# elif defined __loongarch__ + + if (size > offsetof(TRACEE_REGS_STRUCT, regs)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, regs); + fputs("regs=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->regs); ++i) { + if (len > i * sizeof(regs->regsi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->regsi); + } + } + fputs("", stdout); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, orig_a0)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, orig_a0); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_era)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_era); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_badv)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_badv); + } + if (size > offsetof(TRACEE_REGS_STRUCT, reserved)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, reserved); + fputs(", reserved=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->reserved); ++i) { + if (len > i * sizeof(regs->reservedi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->reservedi); + } + } + fputs("", stdout); + } + # endif /* __aarch64__ || __arm64__ || __arm__ || __i386__ || + __loongarch__ || __mips__ || __powerpc64__ || __powerpc__ || - __riscv__ || + __riscv || __s390__ || __s390x__ || __sparc__ || @@ -928,11 +1007,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS */ } else { - printf("ptrace(PTRACE_GETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -951,7 +1031,7 @@ # endif /* __sparc__ && !__arch64__ */ do_ptrace_regs(PTRACE_SETREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1031,11 +1111,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS64, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS64, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS64), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS64 */ } else { - printf("ptrace(PTRACE_GETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1045,7 +1126,7 @@ } do_ptrace_regs(PTRACE_SETREGS64, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1066,6 +1147,8 @@ uint64_t fpscr; } ppc_fpregs_struct; # define TRACEE_REGS_STRUCT ppc_fpregs_struct +#elif defined __loongarch__ +# define TRACEE_REGS_STRUCT struct user_fp_state #endif static void @@ -1209,8 +1292,29 @@ PRINT_FIELD_X(*regs, fpscr); } +# elif defined __loongarch__ + + fputs("fpr=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->fpr); ++i) { + if (size > i * sizeof(regs->fpri)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->fpri); + } + } + fputs("", stdout); + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcc)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcc); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcsr)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcsr); + } + # endif /* __i386__ || + __loongarch__ || __powerpc64__ || __powerpc__ || __x86_64__ @@ -1252,11 +1356,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETFPREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETFPREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETFPREGS */ } else { - printf("ptrace(PTRACE_GETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1266,7 +1371,7 @@ } do_ptrace_regs(PTRACE_SETFPREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1286,16 +1391,16 @@ iov->iov_len = regsize; do_ptrace(PTRACE_GETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); if (*actual_size) return; /* skip PTRACE_SETREGSET */ } else { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1318,14 +1423,14 @@ iov->iov_len = regsize; do_ptrace(PTRACE_SETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); } else { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1342,44 +1447,48 @@ iov->iov_len = sizeof(kernel_ulong_t); do_ptrace(PTRACE_GETREGSET, pid, 1, (uintptr_t) iov); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x1, "NT_PRSTATUS") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_GETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); do_ptrace(PTRACE_SETREGSET, pid, 3, (uintptr_t) iov); - printf("ptrace(PTRACE_SETREGSET, %d, NT_PRPSINFO" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x3, "NT_PRPSINFO") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_SETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); #ifdef PTRACE_GETREGS do_ptrace_regs(PTRACE_GETREGS, pid, addr); - printf("ptrace(PTRACE_GETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETREGS do_ptrace_regs(PTRACE_SETREGS, pid, addr); - printf("ptrace(PTRACE_SETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGS), pid, addr, errstr); #endif #ifdef PTRACE_GETFPREGS do_ptrace_regs(PTRACE_GETFPREGS, pid, addr); - printf("ptrace(PTRACE_GETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETFPREGS do_ptrace_regs(PTRACE_SETFPREGS, pid, addr); - printf("ptrace(PTRACE_SETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETFPREGS), pid, addr, errstr); #endif for (; addr > (uintptr_t) iov; --addr) { do_ptrace(PTRACE_GETREGSET, pid, 1, addr); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x1, "NT_PRSTATUS") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGSET), pid, addr, errstr); do_ptrace(PTRACE_SETREGSET, pid, 2, addr); - printf("ptrace(PTRACE_SETREGSET, %d, NT_FPREGSET, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x2, "NT_FPREGSET") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGSET), pid, addr, errstr); } pid = fork(); @@ -1537,10 +1646,45 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } } +#if defined __arm64__ || defined __aarch64__ +static void +check_compat_ptrace_req(const unsigned int req, const char *const s, + const int pid) +{ + do_ptrace(req, pid, 0, 0); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, NULL, NULL) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); + + do_ptrace(req, pid, 0xbadc0deddeadface, 0xfacefeeddecaffed); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, 0xbadc0deddeadface, 0xfacefeeddecaffed) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); +} + +static void +test_compat_ptrace(const int pid) +{ + check_compat_ptrace_req(12, "COMPAT_PTRACE_GETREGS", pid); + check_compat_ptrace_req(13, "COMPAT_PTRACE_SETREGS", pid); + check_compat_ptrace_req(14, "COMPAT_PTRACE_GETFPREGS", pid); + check_compat_ptrace_req(15, "COMPAT_PTRACE_SETFPREGS", pid); + check_compat_ptrace_req(22, "COMPAT_PTRACE_GET_THREAD_AREA", pid); + check_compat_ptrace_req(23, "COMPAT_PTRACE_SET_SYSCALL", pid); + check_compat_ptrace_req(27, "COMPAT_PTRACE_GETVFPREGS", pid); + check_compat_ptrace_req(28, "COMPAT_PTRACE_SETVFPREGS", pid); + check_compat_ptrace_req(29, "COMPAT_PTRACE_GETHBPREGS", pid); + check_compat_ptrace_req(30, "COMPAT_PTRACE_SETHBPREGS", pid); +} +#else /* !(__arm64__ || __aarch64__) */ +static void test_compat_ptrace(const int pid) {} +#endif + int main(void) { @@ -1550,6 +1694,15 @@ (unsigned long) 0xdeadcafefffff00dULL; const int pid = getpid(); + int null_fd = open(null_path, O_RDONLY); + if (null_fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (null_fd != NULL_FD) { + if (dup2(null_fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(%d, NULL_FD)", null_fd); + close(null_fd); + } + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, filter_off); const unsigned int sigset_size = get_sigset_size(); @@ -1558,51 +1711,56 @@ TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sip); do_ptrace(bad_request, pid, 0, 0); - printf("ptrace(%#lx /* PTRACE_??? */, %d, NULL, NULL) = %s\n", + printf("ptrace(%#lx" NRAW(" /* PTRACE_??? */") + ", %d, NULL, NULL) = %s\n", bad_request, pid, errstr); do_ptrace(PTRACE_PEEKDATA, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKTEXT, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKUSER, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_POKEUSER, pid, bad_request, bad_data); - printf("ptrace(PTRACE_POKEUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_POKEUSER), pid, bad_request, bad_data, errstr); do_ptrace(PTRACE_ATTACH, pid, 0, 0); - printf("ptrace(PTRACE_ATTACH, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_ATTACH), pid, errstr); do_ptrace(PTRACE_INTERRUPT, pid, 0, 0); - printf("ptrace(PTRACE_INTERRUPT, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_INTERRUPT), pid, errstr); do_ptrace(PTRACE_KILL, pid, 0, 0); - printf("ptrace(PTRACE_KILL, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_KILL), pid, errstr); do_ptrace(PTRACE_LISTEN, pid, 0, 0); - printf("ptrace(PTRACE_LISTEN, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_LISTEN), pid, errstr); sigset_t libc_set; sigemptyset(&libc_set); @@ -1610,95 +1768,271 @@ memcpy(k_set, &libc_set, sigset_size); do_ptrace(PTRACE_SETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_SETSIGMASK, %d, %u, USR1) = %s\n", - pid, sigset_size, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGMASK), pid, sigset_size, + XLAT_SEL(SIGUSR1, "USR1"), errstr); do_ptrace(PTRACE_GETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_GETSIGMASK, %d, %u, %p) = %s\n", - pid, sigset_size, k_set, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGMASK), pid, sigset_size, k_set, errstr); do_ptrace(PTRACE_SECCOMP_GET_FILTER, pid, 42, 0); - printf("ptrace(PTRACE_SECCOMP_GET_FILTER, %d, 42, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 42, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_FILTER), pid, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, 0); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, NULL) = %s\n", - pid, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %lu, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, 7, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, 7, %p) = %s\n", - pid, filter_off, errstr); + printf("ptrace(" XLAT_FMT ", %d, 7, %p) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, filter_off, errstr); *filter_off = 0xfacefeeddeadc0deULL; do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, " - "{filter_off=%" PRIu64 "}) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %lu, {filter_off=%" PRIu64 "}) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, *filter_off, errstr); do_ptrace(PTRACE_GETEVENTMSG, pid, bad_request, bad_data); - printf("ptrace(PTRACE_GETEVENTMSG, %d, %#lx, %#lx) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETEVENTMSG), pid, bad_request, bad_data, errstr); + /* SIGIO */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGIO; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_band = -2; + sip->si_fd = NULL_FD; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGIO" - ", si_code=POLL_IN, si_errno=ENOENT, si_band=-2}) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_band=-2" + ", si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, XLAT_ARGS(SIGIO), + XLAT_ARGS(POLL_IN), XLAT_ARGS(ENOENT), NULL_FD, NULL_FD_STR, + errstr); + + /* SIGTRAP */ + struct valstraux trap_codes = { + { ARG_XLAT_KNOWN(0x1, "TRAP_BRKPT") }, +#ifdef TRAP_TRACEFLOW + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACEFLOW") }, +#else + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACE") }, +#endif +#ifdef TRAP_WATCHPT + { ARG_XLAT_KNOWN(0x3, "TRAP_WATCHPT") }, +#else + { ARG_XLAT_KNOWN(0x3, "TRAP_BRANCH") }, +#endif +#ifdef TRAP_ILLTRAP + { ARG_XLAT_KNOWN(0x4, "TRAP_ILLTRAP") }, +#else + { ARG_XLAT_KNOWN(0x4, "TRAP_HWBKPT") }, +#endif + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" +#ifdef __alpha__ + ", si_trapno=0 /* GEN_??? */" + }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-1, "GEN_INTOVF" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-25, "GEN_SUBRNG7" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-26 /* GEN_??? */" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-1234567890 /* GEN_??? */" +#endif /* __alpha__ */ + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + ", si_perf_data=0" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0, "PERF_TYPE_HARDWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=0" +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x1" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x1, "PERF_TYPE_SOFTWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" XLAT_KNOWN(0x1, "TRAP_PERF_FLAG_ASYNC") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("12345678") "90abcdef" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x5, "PERF_TYPE_BREAKPOINT") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_KNOWN(0xdeadbeef, "TRAP_PERF_FLAG_ASYNC|0xdeadbeee") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("badc0ded") "deadface" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_UNKNOWN(0x6, "PERF_TYPE_???") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_UNKNOWN(0xcafec0de, "TRAP_PERF_FLAG_???") +# endif +#endif /* HAVE_SIGINFO_T_SI_PERF_DATA */ + }, + { ARG_STR(0x7) }, + { ARG_STR(0x499602d2) }, + }; + int trap_unk_vecs = { 0, 1234567890, -1234567890 }; + struct { + unsigned long data; + uint32_t type; + uint32_t flags; + } trap_perf_vecs = { + { 0, 0, 0 }, + { 1, 1, 1 }, + { (unsigned long) 0x1234567890abcdefULL, 5, 0xdeadbeef }, + { (unsigned long) 0xbadc0deddeadfaceULL, 6, 0xcafec0de }, + }; + size_t trap_unk_pos = 0; + size_t trap_perf_pos = 0; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGTRAP; sip->si_code = 1; sip->si_errno = ENOENT; - sip->si_pid = 2; - sip->si_uid = 3; - sip->si_ptr = (void *) bad_request; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGTRAP" - ", si_code=TRAP_BRKPT, si_errno=ENOENT, si_pid=2, si_uid=3" - ", si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_int, sip->si_ptr, errstr); + for (size_t i = 0; i < ARRAY_SIZE(trap_codes); i++) { + sip->si_code = trap_codesi.val; + + switch (sip->si_code) { + case 5: /* TRAP_UNK */ +#ifdef __alpha__ + sip->si_trapno = trap_unk_vecstrap_unk_pos; +#endif + trap_unk_pos = (trap_unk_pos + 1) + % ARRAY_SIZE(trap_unk_vecs); + break; + case 6: /* TRAP_PERF */ +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + sip->si_perf_data = trap_perf_vecstrap_perf_pos.data; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + sip->si_perf_type = trap_perf_vecstrap_perf_pos.type; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + sip->si_perf_flags = trap_perf_vecstrap_perf_pos.flags; +#endif + trap_perf_pos = (trap_perf_pos + 1) + % ARRAY_SIZE(trap_perf_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=" XLAT_FMT_U ", si_addr=%p%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGTRAP), trap_codesi.str, XLAT_ARGS(ENOENT), + sip->si_addr, trap_codesi.aux ?: "", errstr); + } + /* SIGILL */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGILL; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -12; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGILL" - ", si_code=ILL_ILLOPC, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __sparc__ + ", si_trapno=-12" +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGILL), XLAT_ARGS(ILL_ILLOPC), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + /* SIGFPE */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGFPE; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -7; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGFPE" - ", si_code=FPE_INTDIV, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __alpha__ + ", si_trapno=" XLAT_KNOWN(-7, "GEN_FLTINE") +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGFPE), XLAT_ARGS(FPE_INTDIV), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + + /* SIGBUS */ + struct valstraux bus_codes = { + { ARG_XLAT_KNOWN(0x1, "BUS_ADRALN") }, + { ARG_XLAT_KNOWN(0x2, "BUS_ADRERR") }, + { ARG_XLAT_KNOWN(0x3, "BUS_OBJERR") }, +#ifdef BUS_OPFETCH + { ARG_XLAT_KNOWN(0x4, "BUS_OPFETCH") }, +#else + { ARG_XLAT_KNOWN(0x4, "BUS_MCEERR_AR"), +# ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + ", si_addr_lsb=0xdead" +# endif + }, +#endif + { ARG_XLAT_KNOWN(0x5, "BUS_MCEERR_AO"), +# if !defined(BUS_OPFETCH) && defined(HAVE_SIGINFO_T_SI_ADDR_LSB) + ", si_addr_lsb=0xdead" +# endif + }, + { ARG_STR(0x6) }, + { ARG_STR(0x499602d2) }, + }; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGBUS; sip->si_code = 1; sip->si_errno = -2; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + sip->si_addr_lsb = 0xdead; +#endif + for (size_t i = 0; i < ARRAY_SIZE(bus_codes); i++) { + sip->si_code = bus_codesi.val; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGBUS" - ", si_code=BUS_ADRALN, si_errno=%u, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_errno, sip->si_addr, errstr); + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=%u, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGBUS), bus_codesi.str, + sip->si_errno, sip->si_addr, bus_codesi.aux ?: "", + errstr); + } + /* SIGPROF */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGPROF; sip->si_code = 0xbadc0ded; @@ -1708,10 +2042,103 @@ sip->si_ptr = 0; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGPROF" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U ", si_code=%#x, si_errno=%u, si_pid=0, si_uid=3}) = %s\n", - pid, bad_request, sip->si_code, sip->si_errno, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGPROF), sip->si_code, sip->si_errno, errstr); + + /* SIGSEGV */ + struct valstraux segv_codes = { + { ARG_XLAT_KNOWN(0x1, "SEGV_MAPERR") }, + { ARG_XLAT_KNOWN(0x2, "SEGV_ACCERR") }, +#ifdef SEGV_STACKFLOW + { ARG_XLAT_KNOWN(0x3, "SEGV_STACKFLOW") }, +#else + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), "" +# ifdef HAVE_SIGINFO_T_SI_LOWER + ", si_lower=NULL, si_upper=NULL" + }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=NULL" + ", si_upper=0x" UP64BIT("deadc0de") "beadfeed" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("facecafe") "befeeded" + ", si_upper=NULL" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("beefface") "cafedead" + ", si_upper=0x" UP64BIT("badc0ded") "dadfaced", +#endif /* HAVE_SIGINFO_T_SI_LOWER */ + }, +#endif /* SEGV_STACKFLOW */ +#ifdef __SEGV_PSTKOVF + { ARG_XLAT_KNOWN(0x4, "__SEGV_PSTKOVF") }, +#else + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), "" +# ifdef HAVE_SIGINFO_T_SI_PKEY + ", si_pkey=0" + }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=1234567890" }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=3141592653" +# endif /* HAVE_SIGINFO_T_SI_PKEY */ + }, +#endif /* __SEGV_PSTKOVF */ + { ARG_XLAT_KNOWN(0x5, "SEGV_ACCADI") }, + { ARG_XLAT_KNOWN(0x6, "SEGV_ADIDERR") }, + { ARG_XLAT_KNOWN(0x7, "SEGV_ADIPERR") }, + { ARG_XLAT_KNOWN(0x8, "SEGV_MTEAERR") }, + { ARG_XLAT_KNOWN(0x9, "SEGV_MTESERR") }, + { ARG_STR(0xa) }, + { ARG_STR(0x499602d2) }, + }; + uint32_t segv_pkey_vecs = { 0, 1234567890, 3141592653U }; + struct { + void *lower; + void *upper; + } segv_bnd_vecs = { + { 0, 0 }, + { 0, (void *) (uintptr_t) 0xdeadc0debeadfeedULL }, + { (void *) (uintptr_t) 0xfacecafebefeededULL, 0 }, + { (void *) (uintptr_t) 0xbeeffacecafedeadULL, + (void *) (uintptr_t) 0xbadc0deddadfacedULL }, + }; + size_t segv_pkey_pos = 0; + size_t segv_bnd_pos = 0; + + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_errno = 0; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; + + for (size_t i = 0; i < ARRAY_SIZE(segv_codes); i++) { + sip->si_code = segv_codesi.val; + switch (sip->si_code) { + case 3: /* SEGV_BNDERR */ +#ifdef HAVE_SIGINFO_T_SI_LOWER + sip->si_lower = segv_bnd_vecssegv_bnd_pos.lower; + sip->si_upper = segv_bnd_vecssegv_bnd_pos.upper; +#endif + segv_bnd_pos = (segv_bnd_pos + 1) + % ARRAY_SIZE(segv_bnd_vecs); + break; + case 4: /* SEGV_PKUERR */ +#ifdef HAVE_SIGINFO_T_SI_PKEY + sip->si_pkey = segv_pkey_vecssegv_pkey_pos; +#endif + segv_pkey_pos = (segv_pkey_pos + 1) + % ARRAY_SIZE(segv_pkey_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), segv_codesi.str, + sip->si_addr, segv_codesi.aux ?: "", errstr); + } + + /* SIGSYS */ #ifdef HAVE_SIGINFO_T_SI_SYSCALL memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGSYS; @@ -1722,10 +2149,13 @@ sip->si_arch = AUDIT_ARCH_X86_64; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=ENOENT, si_call_addr=%p" - ", si_syscall=%u, si_arch=AUDIT_ARCH_X86_64}) = %s\n", - pid, bad_request, sip->si_call_addr, sip->si_syscall, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=" + XLAT_FMT_U ", si_call_addr=%p, si_syscall=%u, si_arch=" XLAT_FMT + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), XLAT_ARGS(ENOENT), sip->si_call_addr, + sip->si_syscall, XLAT_ARGS(AUDIT_ARCH_X86_64), errstr); sip->si_errno = 3141592653U; sip->si_call_addr = NULL; @@ -1733,13 +2163,72 @@ sip->si_arch = 0xda7a1057; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=%u, si_call_addr=NULL" - ", si_syscall=__NR_read, si_arch=%#x /* AUDIT_ARCH_??? */})" - " = %s\n", - pid, bad_request, sip->si_errno, sip->si_arch, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u, si_arch=%#x" + NRAW(" /* AUDIT_ARCH_??? */") "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, sip->si_syscall, sip->si_arch, + errstr); + +# ifdef CUR_AUDIT_ARCH + sip->si_arch = CUR_AUDIT_ARCH; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=" XLAT_FMT_U ", si_arch=%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, XLAT_ARGS(__NR_read), + sprintxval(audit_arch, CUR_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(PERS0_AUDIT_ARCH) + sip->si_arch = PERS0_AUDIT_ARCH; + sip->si_syscall = PERS0__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(M32_AUDIT_ARCH) + sip->si_arch = M32_AUDIT_ARCH; + sip->si_syscall = M32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + sip->si_arch = MX32_AUDIT_ARCH; + sip->si_syscall = MX32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif #endif + /* SI_TIMER */ #if defined HAVE_SIGINFO_T_SI_TIMERID && defined HAVE_SIGINFO_T_SI_OVERRUN memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGHUP; @@ -1750,67 +2239,89 @@ sip->si_ptr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGHUP" - ", si_code=SI_TIMER, si_errno=ENOENT, si_timerid=%#x" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_timerid=%#x" ", si_overrun=%d, si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_timerid, sip->si_overrun, - sip->si_int, sip->si_ptr, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGHUP), XLAT_ARGS(SI_TIMER), XLAT_ARGS(ENOENT), + sip->si_timerid, sip->si_overrun, sip->si_int, sip->si_ptr, + errstr); #endif + /* SI_SIGIO */ + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_code = SI_SIGIO; + sip->si_errno = ENOENT; + sip->si_band = -1234567890; + sip->si_fd = NULL_FD; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U + ", si_band=-1234567890, si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), XLAT_ARGS(SI_SIGIO), XLAT_ARGS(ENOENT), + NULL_FD, NULL_FD_STR, errstr); + do_ptrace(PTRACE_GETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_GETSIGINFO, %d, %#lx, %p) = %s\n", - pid, bad_request, sip, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGINFO), pid, bad_request, sip, errstr); do_ptrace(PTRACE_CONT, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_CONT, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_CONT), pid, XLAT_ARGS(SIGUSR1), errstr); do_ptrace(PTRACE_DETACH, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_DETACH, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_DETACH), pid, XLAT_ARGS(SIGUSR2), errstr); do_ptrace(PTRACE_SYSCALL, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSCALL, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSCALL), pid, XLAT_ARGS(SIGUSR1), errstr); #ifdef PTRACE_SINGLESTEP do_ptrace(PTRACE_SINGLESTEP, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SINGLESTEP, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLESTEP), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SINGLEBLOCK do_ptrace(PTRACE_SINGLEBLOCK, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SINGLEBLOCK, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLEBLOCK), pid, XLAT_ARGS(SIGUSR1), errstr); #endif #ifdef PTRACE_SYSEMU do_ptrace(PTRACE_SYSEMU, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SYSEMU, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SYSEMU_SINGLESTEP do_ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSEMU_SINGLESTEP, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU_SINGLESTEP), pid, XLAT_ARGS(SIGUSR1), + errstr); #endif do_ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE); - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE), errstr); do_ptrace(PTRACE_SEIZE, pid, bad_request, PTRACE_O_TRACESYSGOOD); - printf("ptrace(PTRACE_SEIZE, %d, %#lx, PTRACE_O_TRACESYSGOOD) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SEIZE), pid, bad_request, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD), errstr); test_peeksiginfo(pid, bad_request); test_getregset_setregset(pid); + test_compat_ptrace(pid); do_ptrace(PTRACE_TRACEME, 0, 0, 0); - printf("ptrace(PTRACE_TRACEME) = %s\n", errstr); + printf("ptrace(" XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_TRACEME), errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a35 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a26 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a47 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/ptrace_syscall_info.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/ptrace_syscall_info.c
Changed
@@ -97,6 +97,14 @@ } }; +#if !XLAT_RAW +static const char *sc_names = { + "chdir", + "gettid", + "exit_group" +}; +#endif + static const unsigned int expected_none_size = offsetof(struct_ptrace_syscall_info, entry); static const unsigned int expected_entry_size = @@ -111,12 +119,12 @@ test_none(void) { do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, end_of_page); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, %#lx) = %s\n", - pid, end_of_page, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, end_of_page, errstr); for (unsigned int size = 0; size <= sizeof(struct_ptrace_syscall_info); ++size) { @@ -125,16 +133,16 @@ long rc = do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, size, buf); if (rc < 0) { - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, %#lx)" - " = %s\n", - pid, (unsigned int) size, buf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, + (unsigned int) size, buf, errstr); return false; } if (rc < (long) expected_none_size) FAIL("signal stop mismatch"); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -146,7 +154,7 @@ if (info.op != PTRACE_SYSCALL_INFO_NONE) FAIL("signal stop mismatch"); - printf("{op=PTRACE_SYSCALL_INFO_NONE"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_NONE)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_none; @@ -193,8 +201,8 @@ if (rc < (long) expected_entry_size) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -206,7 +214,7 @@ if (info.op != PTRACE_SYSCALL_INFO_ENTRY) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_ENTRY"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_ENTRY)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_entry_common; @@ -236,7 +244,10 @@ const unsigned long *exp_args = argsptrace_stop / 2; if (info.entry.nr != exp_args0) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf(", entry={nr=%llu", (unsigned long long) info.entry.nr); + printf(", entry={nr=" + NABBR("%llu") VERB(" /* ") NRAW("__NR_%s") VERB(" */"), + XLAT_SEL((unsigned long long) info.entry.nr, + sc_namesptrace_stop / 2)); for (unsigned int i = 0; i < ARRAY_SIZE(info.entry.args); ++i) { const unsigned int i_size = @@ -282,8 +293,8 @@ if (rc < (long) expected_exit_size) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -295,7 +306,7 @@ if (info.op != PTRACE_SYSCALL_INFO_EXIT) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_EXIT"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_EXIT)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_exit_common; @@ -334,7 +345,8 @@ if (info.exit.rval != exp_param->rval) FAIL("#%d: exit stop mismatch", ptrace_stop); if (size >= expected_exit_size && info.exit.is_error) { - printf(", exit={rval=%s", exp_param->str); + printf(", exit={rval=" XLAT_FMT_D, + XLAT_SEL(exp_param->rval, exp_param->str)); } else { printf(", exit={rval=%lld", (long long) info.exit.rval); } @@ -360,8 +372,8 @@ pid = getpid(); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 0, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 0, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 0, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); pid = fork(); if (pid < 0) @@ -422,8 +434,10 @@ /* cannot happen */ PFAIL("PTRACE_SETOPTIONS"); } - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACESYSGOOD) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT + ") = 0\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD)); if (!test_none()) goto done; @@ -455,7 +469,8 @@ /* cannot happen */ PFAIL("PTRACE_SYSCALL"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } done:
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pure_executables.am -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pure_executables.am
Changed
@@ -10,6 +10,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -33,7 +38,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -112,6 +119,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -156,9 +164,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -197,6 +212,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -205,6 +225,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -213,6 +236,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -224,6 +250,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -330,6 +357,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -371,6 +399,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -379,10 +411,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -392,6 +439,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -438,6 +489,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -472,7 +525,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -499,12 +560,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -559,6 +632,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -571,6 +645,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -618,10 +693,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -642,7 +724,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -652,6 +737,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -662,6 +748,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pure_executables.list -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pure_executables.list
Changed
@@ -1,6 +1,6 @@ # Executables without side effects. # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,11 @@ aio aio_pgetevents alarm +arch_prctl +arch_prctl-Xabbrev +arch_prctl-Xraw +arch_prctl-Xverbose +at_fdcwd-pathmax bpf bpf-v brk @@ -38,7 +43,9 @@ copy_file_range creat delete_module +dev--decode-fds-all dev--decode-fds-dev +dev--decode-fds-none dev--decode-fds-path dev--decode-fds-socket dev-yy @@ -117,6 +124,7 @@ ftruncate ftruncate64 futex +futex_waitv futimesat get_mempolicy getcpu @@ -161,9 +169,16 @@ inotify_init1-y io_uring_enter io_uring_register +io_uring_register-Xabbrev +io_uring_register-Xraw +io_uring_register-Xverbose io_uring_setup ioctl ioctl_block +ioctl_counter +ioctl_counter-Xabbrev +ioctl_counter-Xraw +ioctl_counter-Xverbose ioctl_dm ioctl_evdev ioctl_evdev-Xabbrev @@ -202,6 +217,11 @@ ioctl_hdio-v-Xraw ioctl_hdio-v-Xverbose ioctl_inotify +ioctl_lirc +ioctl_kd +ioctl_kd-Xabbrev +ioctl_kd-Xraw +ioctl_kd-Xverbose ioctl_kvm_run ioctl_kvm_run-v ioctl_kvm_run_auxstr_vcpu @@ -210,6 +230,9 @@ ioctl_nbd ioctl_perf ioctl_ptp +ioctl_ptp-Xabbrev +ioctl_ptp-Xraw +ioctl_ptp-Xverbose ioctl_random ioctl_rtc ioctl_scsi @@ -218,6 +241,9 @@ ioctl_sock ioctl_sock_gifconf ioctl_tee +ioctl_termios +ioctl_termios-v +ioctl_tiocm ioctl_ubi ioctl_uffdio ioctl_v4l2 @@ -229,6 +255,7 @@ ioctl_v4l2-v-Xraw ioctl_v4l2-v-Xverbose ioctl_watchdog +ioctl_winsize ioperm iopl ioprio @@ -335,6 +362,7 @@ msg_name munlockall nanosleep +net--decode-fds-all-netlink net--decode-fds-dev-netlink net--decode-fds-none-netlink net--decode-fds-path-netlink @@ -376,6 +404,10 @@ nfnetlink_ulog nlattr nlattr_br_port_msg +nlattr_cachereport +nlattr_cachereport-Xabbrev +nlattr_cachereport-Xraw +nlattr_cachereport-Xverbose nlattr_crypto_user_alg nlattr_dcbmsg nlattr_fib_rule_hdr @@ -384,10 +416,25 @@ nlattr_ifinfomsg nlattr_ifla_af_spec nlattr_ifla_brport +nlattr_ifla_brport-Xabbrev +nlattr_ifla_brport-Xraw +nlattr_ifla_brport-Xverbose nlattr_ifla_linkinfo nlattr_ifla_port +nlattr_ifla_protinfo +nlattr_ifla_protinfo-Xabbrev +nlattr_ifla_protinfo-Xraw +nlattr_ifla_protinfo-Xverbose nlattr_ifla_proto_down_reason +nlattr_ifla_vfinfo +nlattr_ifla_vfinfo-Xabbrev +nlattr_ifla_vfinfo-Xraw +nlattr_ifla_vfinfo-Xverbose nlattr_ifla_xdp +nlattr_ifstats +nlattr_ifstats-Xabbrev +nlattr_ifstats-Xraw +nlattr_ifstats-Xverbose nlattr_inet_diag_msg nlattr_inet_diag_req_compat nlattr_inet_diag_req_v2 @@ -397,6 +444,10 @@ nlattr_ndtmsg nlattr_netconfmsg nlattr_netlink_diag_msg +nlattr_nhmsg +nlattr_nhmsg-Xabbrev +nlattr_nhmsg-Xraw +nlattr_nhmsg-Xverbose nlattr_nlmsgerr nlattr_packet_diag_msg nlattr_rtgenmsg @@ -443,6 +494,8 @@ pidfd_getfd-y pidfd_getfd-yy pidfd_open +pidfd_open--decode-fd-all +pidfd_open--decode-fd-none pidfd_open--decode-fd-path pidfd_open--decode-fd-pidfd pidfd_open--decode-fd-socket @@ -477,7 +530,15 @@ prctl-sched-core-Xraw prctl-sched-core-Xverbose prctl-securebits +prctl-set_vma +prctl-sme +prctl-sme-Xabbrev +prctl-sme-Xraw +prctl-sme-Xverbose prctl-sve +prctl-sve-Xabbrev +prctl-sve-Xraw +prctl-sve-Xverbose prctl-syscall-user-dispatch prctl-tagged-addr prctl-tagged-addr-Xabbrev @@ -504,12 +565,24 @@ process_madvise process_madvise-y process_madvise-yy +process_mrelease +process_mrelease-y process_vm_readv process_vm_writev pselect6 pselect6_time64 ptrace +ptrace-Xabbrev +ptrace-Xraw +ptrace-Xverbose +ptrace-y +ptrace-y-Xabbrev +ptrace-y-Xraw +ptrace-y-Xverbose ptrace_syscall_info +ptrace_syscall_info-Xabbrev +ptrace_syscall_info-Xraw +ptrace_syscall_info-Xverbose pwritev quotactl quotactl-Xabbrev @@ -564,6 +637,7 @@ sched_yield seccomp-filter seccomp_get_action_avail +seccomp_get_notif_sizes select semop semop-indirect @@ -576,6 +650,7 @@ set_mempolicy-Xabbrev set_mempolicy-Xraw set_mempolicy-Xverbose +set_mempolicy_home_node setdomainname setfsgid setfsgid32 @@ -623,10 +698,17 @@ sock_filter-v-Xraw sock_filter-v-Xverbose sockaddr_xlat-Xabbrev +sockaddr_xlat-Xabbrev-y sockaddr_xlat-Xraw +sockaddr_xlat-Xraw-y sockaddr_xlat-Xverbose +sockaddr_xlat-Xverbose-y socketcall sockopt-sol_netlink +sockopt-sol_socket +sockopt-sol_socket-Xabbrev +sockopt-sol_socket-Xraw +sockopt-sol_socket-Xverbose sockopt-timestamp splice stat @@ -647,7 +729,10 @@ strace--strings-in-hex strace--strings-in-hex-all strace--strings-in-hex-non-ascii +strace--strings-in-hex-non-ascii-chars +strace--strings-in-hex-none strace-n +strace-no-x strace-x strace-xx swap @@ -657,6 +742,7 @@ sync sync_file_range sync_file_range2 +sysctl sysinfo syslog tampering-notes @@ -667,6 +753,9 @@ timer_xettime timerfd_xettime times +times-Xabbrev +times-Xraw +times-Xverbose times-fail tkill truncate
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/pwritev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/pwritev.c
Changed
@@ -40,9 +40,8 @@ printf("%p", iov); return; } - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); if (i == size) { @@ -69,12 +68,11 @@ perror_msg_and_fail("open"); char *buf = tail_alloc(LEN); - unsigned i; - for (i = 0; i < LEN; ++i) + for (unsigned int i = 0; i < LEN; ++i) bufi = i; struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { bufi = i; iovi.iov_base = &bufi; iovi.iov_len = LEN - i; @@ -83,7 +81,7 @@ const off_t offset = 0xdefaceddeadbeefLL; long rc; int written = 0; - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { written += iovi.iov_len; if (pwritev(0, iov, i + 1, offset + i) != written) perror_msg_and_fail("pwritev"); @@ -93,7 +91,7 @@ i + 1, (long long) offset + i, written); } - for (i = 0; i <= LEN; ++i) { + for (unsigned int i = 0; i <= LEN; ++i) { unsigned int n = LEN + 1 - i; fputs("pwritev(0, ", stdout); print_iovec(iov + i, n, LEN - i);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_fault-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_fault-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh -efu suffix=:syscall=gettid name_override=qual_fault . "${srcdir=.}/qual_fault.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_fault.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_fault.c
Changed
@@ -2,7 +2,7 @@ * Check that fault injection works properly. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,12 +29,13 @@ #define DEFAULT_ERRNO ENOSYS static const char *errstr; -static int is_raw, err, first, last, step, iter, try; +static int is_raw, err; static void -invoke(int fail) +invoke(int iter, int fail) { static char bufsizeof(int) * 3 + 3; + static int try; const struct iovec io = { .iov_base = buf, .iov_len = sprintf(buf, "%d.", ++try) @@ -44,7 +45,7 @@ if (!fail) { rc = write(exp_fd, io.iov_base, io.iov_len); if (rc != (int) io.iov_len) - perror_msg_and_fail("write"); + perror_msg_and_fail("iter %d: write", iter); } errno = 0; @@ -52,9 +53,9 @@ if (fail) { if (!(rc == -1 && errno == err)) - perror_msg_and_fail("expected errno %d" + perror_msg_and_fail("iter %d: expected errno %d" ", got rc == %d, errno == %d", - err, rc, errno); + iter, err, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1)" @@ -66,9 +67,9 @@ got_fd, buf, (int) io.iov_len, errstr); } else { if (rc != (int) io.iov_len) - perror_msg_and_fail("expected %d" + perror_msg_and_fail("iter %d: expected %d" ", got rc == %d, errno == %d", - (int) io.iov_len, rc, errno); + iter, (int) io.iov_len, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1) = %#x\n", @@ -119,10 +120,10 @@ errno = err; errstr = errno2name(); - first = atoi(argv3); - last = atoi(argv4); - step = atoi(argv5); - iter = atoi(argv6); + int first = atoi(argv3); + int last = atoi(argv4); + int step = atoi(argv5); + int iter = atoi(argv6); int num_procs = atoi(argv7); char *exp_prefix = argv8; char *got_prefix = argv9; @@ -133,8 +134,7 @@ assert(step >= 0); assert(num_procs > 0); - int proc; - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int ret = fork(); if (ret < 0) @@ -162,8 +162,7 @@ /* This magic forces tprintf to write where we want it. */ dup2(out_fd, 3); - int i; - for (i = 1; i <= iter; ++i) { + for (int i = 1; i <= iter; ++i) { int fail = 0; if (last != 0) { --first; @@ -174,14 +173,14 @@ first = step; } } - invoke(fail); + invoke(i, fail); } tprintf("%s\n", "+++ exited with 0 +++"); return 0; } - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int status; int ret = wait(&status); if (ret <= 0)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_fault.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_fault.test
Changed
@@ -3,7 +3,7 @@ # Check that fault injection works properly. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -83,8 +83,13 @@ done } +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=51 ;; +esac + for err in '' ENOSYS 22 einval; do - for fault in writev desc,51; do + for fault in writev desc,$valid_scno; do check_fault_injection \ writev $fault "$err" '' '' '' 1 -efault=chdir check_fault_injection \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_inject-error-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_inject-error-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-error-signal . "${srcdir=.}/qual_inject-error-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_inject-retval-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_inject-retval-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-retval . "${srcdir=.}/qual_inject-retval.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_inject-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_inject-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-signal . "${srcdir=.}/qual_inject-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_inject-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_inject-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check -e inject= syntax. # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -23,9 +23,14 @@ "strace -e inject=$* failed to handle an argument error properly" } -for arg in 42 chdir \ - chdir:42 \!chdir:42 \ - chdir:42:when=7 \ +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + +for arg in $valid_scno chdir \ + chdir:$valid_scno \!chdir:$valid_scno \ + chdir:$valid_scno:when=7 \ chdir:invalid \ chdir:invalid:when=8 \ chdir:error= \ @@ -89,7 +94,7 @@ chdir:syscall=chdir \ chdir:syscall=%file \ chdir:syscall=-42 \ - chdir:syscall=42 \ + chdir:syscall=$valid_scno \ chdir:syscall=gettid:syscall=gettid \ chdir:when=. \ chdir:when=.+ \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_signal.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_signal.c
Changed
@@ -53,8 +53,7 @@ pid = getpid(); uid = geteuid(); - int i; - for (i = 1; i < ac; i += 2) + for (int i = 1; i < ac; i += 2) test_sig(atoi(avi), avi + 1); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qual_syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qual_syscall.test
Changed
@@ -3,7 +3,7 @@ # Check how strace -e abbrev=set, -e raw=set, -e trace=set, # and -e verbose=set work. # -# Copyright (c) 2014-2020 The strace developers. +# Copyright (c) 2014-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,11 @@ pattern_nonverbose='execve("\.\./umovestr", 0x:xdigit:*, 0x:xdigit:*) = 0' pattern_raw='execve(0x:xdigit:*, 0x:xdigit:*, 0x:xdigit:*) = 0' +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + check_output_mismatch() { local pattern @@ -47,11 +52,11 @@ LC_ALL=C grep '^chdir' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e 42 ../umovestr +run_strace -e $valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e/ -e42 ../umovestr +run_strace -e/ -e$valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" @@ -62,7 +67,7 @@ check_execve_output_mismatch verbose "$a" "$pattern_abbrev_verbose" done -for a in \!execve chdir 42 \!all none \ +for a in \!execve chdir $valid_scno \!all none \ \!file \!process desc ipc memory network signal; do check_execve_output_mismatch abbrev "$a" "$pattern_nonabbrev_verbose" check_execve_output_mismatch raw "$a" "$pattern_abbrev_verbose"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/qualify_personality.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/qualify_personality.sh
Changed
@@ -2,7 +2,7 @@ # # Common code for per-personality qualification tests # -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -33,29 +33,7 @@ ;; esac -# Detect current personality designation -if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then - case "$STRACE_NATIVE_ARCH" in - x32) - cur_pers=x32 - ;; - *) - cur_pers="$(($SIZEOF_LONG * 8))" - ;; - esac -else - if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=32 - else - 8 -eq "$SIZEOF_KERNEL_LONG_T" || - fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=x32 - fi -fi +cur_pers=$(print_current_personality_designator) pers_found=0 set -- $supported_pers
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/qualify_personality_all.sh
Added
@@ -0,0 +1,91 @@ +#! /bin/sh -efu +# +# Common code for strace --trace=all@pers tests. +# +# Copyright (c) 2018-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + + "$#" -eq 1 || + fail_ 'No personality designation ("64", "32", "x32") specified' + +target_pers="$1" +shift + +trace_expr="all@$target_pers" + +case "$STRACE_NATIVE_ARCH" in +x86_64) + native_pers='64' + supported_pers='64 32 x32' + ;; +x32) + native_pers='x32' + supported_pers='x32 32' + ;; +aarch64|powerpc64|s390x|sparc64|tile) + native_pers='64' + supported_pers='64 32' + ;; +*) + native_pers=$(($SIZEOF_LONG * 8)) + supported_pers=$native_pers + ;; +esac + +pers_found= +for i in $supported_pers; do + if "$target_pers" = "$i" ; then + pers_found=1 + break + fi +done + + -n "$pers_found" || + skip_ "Personality '$target_pers' is not supported on architecture" \ + "'$STRACE_NATIVE_ARCH' (supported personalities: $supported_pers)" + +cur_pers=$(print_current_personality_designator) +if "$target_pers" = "$cur_pers" ; then + skip_ "$trace_expr would match all syscalls on $STRACE_ARCH" +fi + +if "$target_pers" != "$native_pers" ; then + # reset $NAME, so that "$NAME.in" used by test_trace_expr + # would point to an empty file. + NAME=qualify_personality_empty + + test_trace_expr '' --trace="$trace_expr" + exit +fi + +if "$cur_pers:$target_pers" = 'x32:64' ; then + skip_ "x32 executables may invoke $STRACE_NATIVE_ARCH syscalls" +fi + +# $trace_expr would match the native execve +cat > "$EXP" <<'__EOF__' +execve(at)?\(.* +__EOF__ + +check_prog head +check_prog tail + +while read -r t; do { + # skip lines beginning with "#" symbol + case "$t" in + ''|'#'*) continue ;; + esac + + try_run_prog "../$t" || continue + run_strace -qq -esignal=none --trace="$trace_expr" "../$t" > /dev/null + + head -n1 < "$LOG" > "$OUT" + match_grep "$OUT" "$EXP" + + tail -n +2 < "$LOG" > "$OUT" + match_diff "$OUT" /dev/null +} < /dev/null; done < "$srcdir/pure_executables.list"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/read-write.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/read-write.c
Changed
@@ -2,7 +2,7 @@ * Check decoding and dumping of read and write syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,9 +28,8 @@ "................................" "................................" "................................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -41,7 +40,7 @@ } } -static inline void +static void dump_str(const char *str, const unsigned int len) { dump_str_ex(str, len, 5); @@ -51,11 +50,10 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; tprintf("\""); - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; if (i >= DEFAULT_STRLEN) { @@ -126,8 +124,7 @@ if (!err_desc) dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = k_write(out_fd, buf, len); @@ -284,8 +281,7 @@ if (open("/dev/null", O_WRONLY) != 5) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= DEFAULT_STRLEN; ++i) + for (unsigned int i = 0; i <= DEFAULT_STRLEN; ++i) test_dump(i, false); test_dump(256, true);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/readahead.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/readahead.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -62,14 +62,11 @@ int main(void) { - unsigned i; - unsigned j; - unsigned k; ssize_t rc; - for (i = 0; i < ARRAY_SIZE(fds); i++) - for (j = 0; j < ARRAY_SIZE(offsets); j++) - for (k = 0; k < ARRAY_SIZE(counts); k++) { + for (unsigned int i = 0; i < ARRAY_SIZE(fds); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(offsets); ++j) + for (unsigned int k = 0; k < ARRAY_SIZE(counts); ++k) { rc = readahead(fdsi, offsetsj, countsk); printf("readahead(%d, %lld, %lu) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/redirect-fds.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/redirect-fds.c
Changed
@@ -45,8 +45,8 @@ { assert(ac == 1 + N_FDS); - int rc = 0, fd; - for (fd = 1; fd < 1 + N_FDS; ++fd) + int rc = 0; + for (int fd = 1; fd < 1 + N_FDS; ++fd) if ((rc = check_fd(fd - 1, avfd))) break;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/request_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/request_key.c
Changed
@@ -53,11 +53,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_info = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -103,10 +98,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(infos); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(infos); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_request_key( typesi.type, typesi.str, descsj.desc, descsj.str,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/rt_sigsuspend.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/rt_sigsuspend.c
Changed
@@ -29,9 +29,7 @@ iterate(const char *const text, const int sig, const void *const set, unsigned int size) { - const void *mask; - - for (mask = set;; size >>= 1, mask += size) { + for (const void *mask = set;; size >>= 1, mask += size) { raise(sig); assert(k_sigsuspend(mask, size) == -1); if (EINTR == errno) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/s390_pci_mmio_read_write.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/s390_pci_mmio_read_write.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_pci_mmio_read and s390_pci_mmio_write syscalls. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -97,13 +97,16 @@ (kernel_ulong_t) 0xfacefeedac0ffeedULL, }; - unsigned int i, j, k, l; unsigned int ctr = 0; - for (i = 0; i < ARRAY_SIZE(addrs); i++) { - for (j = 0; j < ARRAY_SIZE(bufs); j++) { - for (k = 0; k < ARRAY_SIZE(sizes); k++) { - for (l = 0; l < ARRAY_SIZE(bools); l++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(addrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(bufs); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(sizes); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(bools); ++l) { bool valid = bufsj.buf && bufsj.size >= MIN(sizesk,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/s390_runtime_instr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/s390_runtime_instr.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_runtime_instr syscall. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -42,16 +42,15 @@ { 63, "SIGRT_31" }, }; - unsigned int i; long rc; - for (i = 0; i < ARRAY_SIZE(cmd_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(cmd_args); ++i) { rc = syscall(__NR_s390_runtime_instr, cmd_argsi.cmd, 0xdead); printf("s390_runtime_instr(%s) = %s\n", cmd_argsi.cmd_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(start_sig_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(start_sig_args); ++i) { long saved_errno; rc = syscall(__NR_s390_runtime_instr, 1, start_sig_argsi.sig);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/s390_sthyi.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/s390_sthyi.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_sthyi syscall. * - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,7 +27,7 @@ # define VERBOSE 0 # endif -static inline bool +static bool print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -38,7 +38,8 @@ return true; } -static inline bool +# if VERBOSE +static bool print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -48,8 +49,9 @@ return true; } +# endif -static inline bool +static bool print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint16_t val = *(uint16_t *) (buf + offs); @@ -62,7 +64,7 @@ return true; } -static inline bool +static bool print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint32_t val = *(uint32_t *) (buf + offs); @@ -75,7 +77,7 @@ return true; } -static inline bool +static bool print_weight(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { @@ -94,7 +96,7 @@ return false; } -static inline char * +static char * ebcdic2ascii(unsigned char *ebcdic, size_t size) { static char ascii_bufEBCDIC_MAX_LEN; @@ -148,7 +150,8 @@ return ascii_buf; } -static inline bool +# if VERBOSE +static bool is_empty(unsigned char *ptr, size_t size) { size_t i; @@ -158,8 +161,9 @@ return i == size; } +# endif -static inline bool +static bool print_ebcdic(const char *prefix, unsigned char *addr, unsigned int offs, size_t size, bool zero, bool blank) { @@ -185,7 +189,8 @@ return true; } -static inline void +# if VERBOSE +static void print_funcs(unsigned char *addr, unsigned int offs) { bool cont; @@ -222,6 +227,7 @@ printf(" */"); } +# endif static void print_hypervisor_header(unsigned char *buf, int level, unsigned int offs_pos,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sched.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sched.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr times -e/sched); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr 'times|times-.*' -e/sched); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr times -e/sched +test_trace_expr 'times|times-.*' -e/sched
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sched_xetaffinity.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sched_xetaffinity.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sched_getaffinity and sched_setaffinity syscalls. * * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -79,15 +79,43 @@ printf("sched_getaffinity(%d%s, %u, ", pid, pid_str, cpuset_size); const char *sep; unsigned int i, cpu; + unsigned int first_cpu = -1U; + unsigned int first_crop_cpu = -1U; for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; cpu = i; + if (first_cpu == -1U) + first_cpu = i; + if (first_crop_cpu == -1U && i >= 8) + first_crop_cpu = i; } } printf(") = %s\n", errstr); + long rc = setaffinity(pid, 0, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 0, ) = %s\n", + pid, pid_str, sprintrc(rc)); + + rc = setaffinity(pid, 1, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 1, %p) = %s\n", + pid, pid_str, ((char *) cpuset) + cpuset_size, sprintrc(rc)); + + static const uint8_t first_oob = BE_LE(SIZEOF_LONG == 4 ? 39 : 7, 56); + if (first_crop_cpu != -1U && first_crop_cpu < 56) { + CPU_ZERO_S(cpuset_size, cpuset); + CPU_SET_S(first_crop_cpu, cpuset_size, cpuset); + CPU_SET_S(first_oob, cpuset_size, cpuset); + if (setaffinity(pid, 7, cpuset)) + perror_msg_and_skip("sched_setaffinity()"); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 7, %u) = 0\n", + pid, pid_str, first_crop_cpu); + } + CPU_ZERO_S(cpuset_size, cpuset); CPU_SET_S(cpu, cpuset_size, cpuset); if (setaffinity(pid, cpuset_size, cpuset)) @@ -108,7 +136,7 @@ for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; } } printf(") = %s\n", errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/seccomp-filter-v.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp-filter-v.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -98,8 +98,7 @@ tprintf("seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=0, filter=})" " = -1 EINVAL (%m)\n"); - unsigned int i; - for (i = 0; i <= BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i <= BPF_MAXINSNS; ++i) { const struct sock_filter stmt = BPF_STMT(BPF_CLASS(i), i << 16); big_filteri = stmt; @@ -111,9 +110,11 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len); - for (i = 0; i < BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i < BPF_MAXINSNS; ++i) { if (i) tprintf(", "); switch (BPF_CLASS(i)) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/seccomp-filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp-filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -33,12 +33,14 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len, prog->filter, rc, errno2name()); - rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -32L, efault); + rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -64L, efault); printf("seccomp(SECCOMP_SET_MODE_FILTER, %s, %p) = %ld %s (%m)\n", - "0xffffffe0 /* SECCOMP_FILTER_FLAG_??? */", + "0xffffffc0 /* SECCOMP_FILTER_FLAG_??? */", efault, rc, errno2name()); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/seccomp-strict.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp-strict.c
Changed
@@ -24,7 +24,7 @@ long rc; rc = syscall(__NR_seccomp, -1L, -1L, addr); - printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %u, %#llx)" + printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %#x, %#llx)" " = %s\n", -1, -1, (unsigned long long) addr, sprintrc(rc)); fflush(stdout);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/seccomp_get_action_avail.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp_get_action_avail.c
Changed
@@ -34,7 +34,6 @@ kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL | SECCOMP_GET_ACTION_AVAIL; kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; - unsigned int i; struct { uint32_t val; @@ -51,7 +50,7 @@ { 0xffffffff, "0xffffffff /* SECCOMP_RET_??? */" } }; - for (i = 0; i < ARRAY_SIZE(actions); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(actions); ++i) { *act = actionsi.val; k_seccomp(op, flags, (uintptr_t) act); printf("seccomp(SECCOMP_GET_ACTION_AVAIL, 0, %s) = %s\n", @@ -72,7 +71,7 @@ flags |= 0xcafef00d; k_seccomp(op, flags, 0); - printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %u, NULL) = %s\n", + printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %#x, NULL) = %s\n", (unsigned int) flags, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp_get_notif_sizes-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "seccomp_get_notif_sizes.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp_get_notif_sizes-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=seccomp:retval=42 -etrace=seccomp -a42 "../seccomp_get_notif_sizes-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp_get_notif_sizes.c
Added
@@ -0,0 +1,97 @@ +/* + * Check decoding of seccomp SECCOMP_GET_NOTIF_SIZES. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#include <linux/seccomp.h> + +#ifndef SECCOMP_GET_NOTIF_SIZES +# define SECCOMP_GET_NOTIF_SIZES 3 +#endif + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char *errstr; + +static long +k_seccomp(const kernel_ulong_t op, const kernel_ulong_t flags, + const kernel_ulong_t args) +{ + const long rc = syscall(__NR_seccomp, op, flags, args); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + uint16_t *sizes = tail_alloc(sizeof(*sizes) * 3); + kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL + | SECCOMP_GET_NOTIF_SIZES; + kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; + long rc; + + rc = k_seccomp(op, flags | 0xdeadbeef, 0); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0xdeadbeef, NULL) = %s" + INJ_STR "\n", errstr); + + if (F8ILL_KULONG_SUPPORTED) { + rc = k_seccomp(op, flags, f8ill_ptr_to_kulong(0)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %#llx) = %s" + INJ_STR "\n", + (unsigned long long) f8ill_ptr_to_kulong(0), errstr); + } + + rc = k_seccomp(op, flags, (uintptr_t) (sizes + 1)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %p) = %s" INJ_STR "\n", + sizes + 1, errstr); + + for (size_t i = 0; i < 2; i++) { + sizes0 = 0xcafe; + sizes1 = 0xfeed; + sizes2 = 0xbeef; + rc = k_seccomp(op, flags | (i * 0xdeadc0de), (uintptr_t) sizes); + if (rc < 0 + && errno != ENOSYS && errno != EINVAL && errno != EPERM) { + perror_msg_and_fail("Unexpected seccomp(" + "SECCOMP_GET_NOTIF_SIZES) error"); + } + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, %s, ", + i ? "0xdeadc0de" : "0"); + if (rc >= 0) { + printf("{seccomp_notif=%hu, seccomp_notif_resp=%hu" + ", seccomp_data=%hu}", + (uint16_t) (INJECT_RETVAL ? 0xcafe : sizes0), + (uint16_t) (INJECT_RETVAL ? 0xfeed : sizes1), + (uint16_t) (INJECT_RETVAL ? 0xbeef : sizes2)); + } else { + printf("%p", sizes); + } + + printf(") = %s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/seccomp_get_notif_sizes.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=seccomp -a42
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/secontext.am -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/secontext.am
Changed
@@ -3,63 +3,131 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/secontext.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/secontext.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -13,18 +13,17 @@ # include <errno.h> # include <stdlib.h> # include <string.h> +# include <sys/stat.h> # include <unistd.h> # include <selinux/selinux.h> +# include <selinux/label.h> # include "xmalloc.h" # define TEST_SECONTEXT # include "secontext.h" -static char * -secontext_format(char *context, const char *fmt) - ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC; - +ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC static char * secontext_format(char *context, const char *fmt) { @@ -54,6 +53,79 @@ return context; } +char * +get_secontext_field(const char *full_context, enum secontext_field field) +{ + int saved_errno = errno; + + if (!full_context) + return NULL; + + char *saveptr = NULL; + const char *token; + unsigned int i; + + char *ctx_copy = xstrdup(full_context); + char *context = NULL; + for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; + token; token = strtok_r(NULL, ":", &saveptr), i++) { + if (i == field) { + context = xstrdup(token); + break; + } + } + if (!context) + context = xstrdup(full_context); + free(ctx_copy); + + errno = saved_errno; + return context; +} + +static char * +raw_expected_secontext_full_file(const char *filename) +{ + int saved_errno = errno; + char *secontext; + + static struct selabel_handle *hdl; + if (!hdl) { + hdl = selabel_open(SELABEL_CTX_FILE, NULL, 0); + if (!hdl) + perror_msg_and_skip("selabel_open"); + } + + char *resolved = realpath(filename, NULL); + if (!resolved) + perror_msg_and_fail("realpath: %s", filename); + + struct stat statbuf; + if (stat(resolved, &statbuf) < 0) + perror_msg_and_fail("stat: %s", resolved); + + if (selabel_lookup(hdl, &secontext, resolved, statbuf.st_mode) < 0) + perror_msg_and_skip("selabel_lookup: %s", resolved); + free(resolved); + + char *full_secontext = xstrdup(secontext); + freecon(secontext); + errno = saved_errno; + return full_secontext; +} + +static char * +raw_expected_secontext_short_file(const char *filename) +{ + int saved_errno = errno; + + char *ctx = raw_expected_secontext_full_file(filename); + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); + + errno = saved_errno; + return type; +} + static char * raw_secontext_full_file(const char *filename) { @@ -70,34 +142,50 @@ } static char * -raw_secontext_short_file(const char *filename) +raw_secontext_full_fd(int fd) { int saved_errno = errno; + char *full_secontext = NULL; + char *secontext; - char *ctx = raw_secontext_full_file(filename); - if (ctx == NULL) - return ctx; + if (fgetfilecon(fd, &secontext) >= 0) { + full_secontext = strip_trailing_newlines(xstrdup(secontext)); + freecon(secontext); + } + errno = saved_errno; + return full_secontext; +} - char *saveptr = NULL; - const char *token; - unsigned int i; +char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + char *ctx = raw_secontext_full_file(file); + char *type = get_secontext_field(ctx, field); + free(ctx); - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; - } - } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); + return type; +} + +char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + char *ctx = raw_secontext_full_fd(fd); + char *type = get_secontext_field(ctx, field); free(ctx); - errno = saved_errno; - return context; + return type; +} + +static char * +raw_secontext_short_file(const char *filename) +{ + return get_secontext_field_file(filename, SECONTEXT_TYPE); +} + +static char * +raw_secontext_short_fd(int fd) +{ + return get_secontext_field_fd(fd, SECONTEXT_TYPE); } static char * @@ -121,35 +209,39 @@ int saved_errno = errno; char *ctx = raw_secontext_full_pid(pid); - if (ctx == NULL) - return ctx; + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); - char *saveptr = NULL; - const char *token; - int i; + errno = saved_errno; + return type; +} - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; +char * +secontext_full_file(const char *filename, bool mismatch) +{ + int saved_errno = errno; + char *context = raw_secontext_full_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_full_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; } + free(expected); } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); - free(ctx); - errno = saved_errno; - return context; + return FORMAT_SPACE_BEFORE(context); } char * -secontext_full_file(const char *filename) +secontext_full_fd(int fd) { - return FORMAT_SPACE_BEFORE(raw_secontext_full_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_full_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -159,9 +251,31 @@ } char * -secontext_short_file(const char *filename) +secontext_short_file(const char *filename, bool mismatch) { - return FORMAT_SPACE_BEFORE(raw_secontext_short_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_short_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_short_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; + } + free(expected); + } + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); +} + +char * +secontext_short_fd(int fd) +{ + int saved_errno = errno; + char *context = raw_secontext_short_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -170,32 +284,46 @@ return FORMAT_SPACE_AFTER(raw_secontext_short_pid(pid)); } +void reset_secontext_file(const char *file) +{ + char *proper_ctx = raw_expected_secontext_full_file(file); + (void) setfilecon(file, proper_ctx); + free(proper_ctx); +} + void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { + int saved_errno = errno; + assert(field >= SECONTEXT_USER && field <= SECONTEXT_TYPE); + char *ctx = raw_secontext_full_file(file); if (ctx == NULL) return; char *saveptr = NULL; char *token; - int field; + int nfields; char *split4; - for (token = strtok_r(ctx, ":", &saveptr), field = 0; - token; token = strtok_r(NULL, ":", &saveptr), field++) { - assert(field < 4); - splitfield = token; + for (token = strtok_r(ctx, ":", &saveptr), nfields = 0; + token; token = strtok_r(NULL, ":", &saveptr), nfields++) { + assert(nfields < 4); + splitnfields = token; } - assert(field == 4); + assert(nfields == 4); + + splitfield = (char *)newvalue; char *newcontext = xasprintf("%s:%s:%s:%s", split0, split1, - newtype, split3); + split2, split3); (void) setfilecon(file, newcontext); free(newcontext); free(ctx); + errno = saved_errno; } #endif /* HAVE_SELINUX_RUNTIME */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/secontext.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/secontext.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,35 +9,90 @@ #include "xmalloc.h" #include <unistd.h> -char *secontext_full_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_full_fd(int) ATTRIBUTE_MALLOC; +char *secontext_full_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_full_pid(pid_t) ATTRIBUTE_MALLOC; -char *secontext_short_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_short_fd(int) ATTRIBUTE_MALLOC; +char *secontext_short_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_short_pid(pid_t) ATTRIBUTE_MALLOC; +enum secontext_field { + SECONTEXT_USER, + SECONTEXT_ROLE, + SECONTEXT_TYPE +}; + #if defined TEST_SECONTEXT && defined HAVE_SELINUX_RUNTIME -void update_secontext_type(const char *file, const char *newtype); +/** + * Parse a SELinux context string and return a specified field, duplicated + * in a separate string. The caller is responsible for freeing the memory + * pointed by the returned value. + */ +char *get_secontext_field(const char *full_context, enum secontext_field field); + +char *get_secontext_field_fd(int fd, enum secontext_field field); +char *get_secontext_field_file(const char *file, enum secontext_field field); + +void reset_secontext_file(const char *file); + +void update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue); # ifdef PRINT_SECONTEXT_FULL -# define SECONTEXT_FILE(filename) secontext_full_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_full_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_full_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_full_fd(fd) # define SECONTEXT_PID(pid) secontext_full_pid(pid) # else -# define SECONTEXT_FILE(filename) secontext_short_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_short_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_short_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_short_fd(fd) # define SECONTEXT_PID(pid) secontext_short_pid(pid) # endif #else +static inline char * +get_secontext_field(const char *ctx, enum secontext_field field) +{ + return NULL; +} +static inline char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + return NULL; +} + +static inline char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + return NULL; +} + +static inline void +reset_secontext_file(const char *file) +{ +} + static inline void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { } +# define SECONTEXT_FD(fd) xstrdup("") # define SECONTEXT_FILE(filename) xstrdup("") # define SECONTEXT_PID(pid) xstrdup("")
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/segv_accerr.c
Added
@@ -0,0 +1,53 @@ +/* + * Check decoding of SEGV_ACCERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#ifdef SEGV_ACCERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig) +{ + _exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_NONE, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_handler = handler, + .sa_flags = SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + printf("--- SIGSEGV {si_signo=SIGSEGV" + ", si_code=SEGV_ACCERR, si_addr=%p} ---\n", p); + fflush(stdout); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_NONE page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("SEGV_ACCERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/segv_accerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_accerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/segv_pkuerr.c
Added
@@ -0,0 +1,55 @@ +/* + * Check decoding of SEGV_PKUERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#if defined HAVE_SIGINFO_T_SI_PKEY && defined SEGV_PKUERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig, siginfo_t *info, void *ucontext) +{ + if (info->si_code != SEGV_PKUERR) + error_msg_and_skip("SIGSEGV: si_code = %d", info->si_code); + + printf("--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_PKUERR" + ", si_addr=%p, si_pkey=%u} ---\n", + info->si_addr, info->si_pkey); + exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_EXEC, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_sigaction = handler, + .sa_flags = SA_SIGINFO | SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_EXEC page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("HAVE_SIGINFO_T_SI_PKEY && SEGV_PKUERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/segv_pkuerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_pkuerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/set_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/set_mempolicy.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of set_mempolicy syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -66,6 +66,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -80,9 +83,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" }, @@ -111,8 +114,7 @@ if (nlongs) { putc('', stdout); - unsigned int i; - for (i = 0; i < nlongs + offset; ++i) { + for (unsigned int i = 0; i < nlongs + offset; ++i) { if (i) fputs(", ", stdout); if (i < nlongs) { @@ -120,7 +122,7 @@ fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(long) * 2 + 2, + printf("%#0*lx", (int) sizeof(long) * 2, nodemaski); } else { printf("... /* %p */", nodemask + i);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/set_mempolicy_home_node.c
Added
@@ -0,0 +1,58 @@ +/* + * Check decoding of set_mempolicy_home_node syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +static const char *errstr; + +static long +sys_set_mempolicy_home_node(kernel_ulong_t start, kernel_ulong_t len, + kernel_ulong_t home_node, kernel_ulong_t flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = start; + kernel_ulong_t arg2 = len; + kernel_ulong_t arg3 = home_node; + kernel_ulong_t arg4 = flags; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_set_mempolicy_home_node, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +#define KUL_1 ((unsigned long long) (kernel_ulong_t) -1ULL) + +int +main(void) +{ + void *dummy; + + sys_set_mempolicy_home_node(0, 0, 0, 0); + printf("set_mempolicy_home_node(NULL, 0, 0, 0) = %s\n", errstr); + + sys_set_mempolicy_home_node((uintptr_t) &dummy, 1, 2, 3); + printf("set_mempolicy_home_node(%p, 1, 2, 0x3) = %s\n", &dummy, errstr); + + sys_set_mempolicy_home_node(-1, -2, -3, -4); + printf("set_mempolicy_home_node(%#llx, %llu, %llu, %#llx) = %s\n", + KUL_1, KUL_1 - 1, KUL_1 - 2, KUL_1 - 3, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/set_mempolicy_home_node.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (set_mempolicy_home_node -a39 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a39
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/setfsugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/setfsugid.c
Changed
@@ -37,9 +37,7 @@ (long) 0xfacefeeddeadbeefULL }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; unsigned int rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/setns.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/setns.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of setns syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,29 +14,50 @@ #include <stdio.h> #include <unistd.h> +static const char *errstr; + +static long +k_setns(const int fd, const unsigned int flags) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0x0defaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | (unsigned int) fd; + const kernel_ulong_t arg2 = fill | flags; + const long rc = syscall(__NR_setns, + arg1, arg2, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + int main(void) { - static const kernel_ulong_t bogus_fd = - (kernel_ulong_t) 0xfeedfacedeadc0deULL; + static const int bogus_fd = 0xdeadc0de; static struct { - kernel_ulong_t val; + unsigned int val; const char *str; } nstypes = { - { (kernel_ulong_t) 0xdefaced100000000ULL, "0" }, - { (kernel_ulong_t) 0xbadc0dedfeedfaceULL, - "0xfeedface /* CLONE_NEW??? */" }, - { (kernel_ulong_t) 0xca75f15702000000ULL, "CLONE_NEWCGROUP" }, + { 0, "0" }, + { 0x00000080U, "CLONE_NEWTIME" }, + { 0x00020000U, "CLONE_NEWNS" }, + { 0x02000000U, "CLONE_NEWCGROUP" }, + { 0x04000000U, "CLONE_NEWUTS" }, + { 0x08000000U, "CLONE_NEWIPC" }, + { 0x10000000U, "CLONE_NEWUSER" }, + { 0x20000000U, "CLONE_NEWPID" }, + { 0x40000000U, "CLONE_NEWNET" }, + { 0x81fdff7fU, "0x81fdff7f /* CLONE_NEW??? */" }, + { -1U, + "CLONE_NEWTIME|CLONE_NEWNS|CLONE_NEWCGROUP|CLONE_NEWUTS|" + "CLONE_NEWIPC|CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWNET|" + "0x81fdff7f" }, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(nstypes); i++) { - rc = syscall(__NR_setns, bogus_fd, nstypesi.val); + for (unsigned int i = 0; i < ARRAY_SIZE(nstypes); ++i) { + k_setns(bogus_fd, nstypesi.val); printf("setns(%d, %s) = %s\n", - (int) bogus_fd, nstypesi.str, sprintrc(rc)); + bogus_fd, nstypesi.str, errstr); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/setresugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/setresugid.c
Changed
@@ -56,9 +56,7 @@ TRIPLE(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e); const unsigned int sn = ugid2int(testsi.s);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/setreugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/setreugid.c
Changed
@@ -55,9 +55,7 @@ PAIR(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/setugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/setugid.c
Changed
@@ -36,9 +36,7 @@ -1L }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; long expected;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/siginfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/siginfo.c
Changed
@@ -2,7 +2,7 @@ * Check SIGCHLD siginfo_t decoding. * * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,12 @@ #include <unistd.h> #include <sys/wait.h> +#include "time_enjoyment.h" + +enum { + CPUTIME_LIMIT_NSEC = 100000000, +}; + static siginfo_t sinfo; static void @@ -26,6 +32,9 @@ int main(void) { + char utime_str64; + char stime_str64; + tprintf("%s", ""); int fds2; @@ -65,10 +74,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=%d" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, sinfo.si_status, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); int s; assert(wait(&s) == pid); @@ -84,6 +95,7 @@ (void) close(1); char c; assert(read(0, &c, sizeof(c)) == 1); + enjoy_time(CPUTIME_LIMIT_NSEC); (void) raise(SIGUSR1); return 1; } @@ -96,10 +108,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED" ", si_pid=%d, si_uid=%d, si_status=SIGUSR1" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid); assert(WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1); @@ -112,6 +126,7 @@ if (!pid) { (void) close(1); + enjoy_time(CPUTIME_LIMIT_NSEC); raise(SIGSTOP); char c; assert(read(0, &c, sizeof(c)) == 1); @@ -123,20 +138,24 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED" ", si_pid=%d, si_uid=%d, si_status=SIGSTOP" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(kill(pid, SIGCONT) == 0); sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_CONTINUED" ", si_pid=%d, si_uid=%d, si_status=SIGCONT" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(write(1, "", 1) == 1); (void) close(1); @@ -144,10 +163,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=0" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid && s == 0);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/so_error.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/so_error.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of SO_ERROR socket option. * * Copyright (c) 2018 Masatake YAMATO <yamato@redhat.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -47,58 +47,88 @@ int main(void) { - in_port_t port = reserve_ephemeral_port (); - - /* - * Connect to the reserved port in NONBLOCK mode. - * The port is reserved but not listened. So - * the client doing "connect" gets error asynchronously. - */ - int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); - if (fd < 0) - perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); - - int flag = fcntl(fd, F_GETFL); - if (flag < 0) - perror_msg_and_skip("fcntl F_GETFL"); - flag |= O_NONBLOCK; - if (fcntl(fd, F_SETFL, flag) < 0) - perror_msg_and_skip("fcntl F_SETFL"); + static const int sizes = { + -1, 0, 1, + sizeof(int) - 1, + sizeof(int), + sizeof(int) + 1, + }; - struct sockaddr_in addr = { + TAIL_ALLOC_OBJECT_CONST_PTR(int, sock_errno); + in_port_t port = reserve_ephemeral_port(); + const struct sockaddr_in addr = { .sin_family = AF_INET, .sin_addr.s_addr = htonl(INADDR_LOOPBACK), .sin_port = htons(port), }; - if (connect(fd, (void *) &addr, sizeof(addr)) == 0) - error_msg_and_skip("connect unexpectedly succeeded"); - if (errno != EINPROGRESS) - perror_msg_and_skip("connect failed for unexpected reason"); - struct timeval to = { - .tv_sec = 1, - .tv_usec = 0, - }; - fd_set wfds; - FD_ZERO(&wfds); - FD_SET(fd, &wfds); - if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) - perror_msg_and_skip("select"); + for (size_t i = 0; i < ARRAY_SIZE(sizes); i++) { + /* + * Connect to the reserved port in NONBLOCK mode. + * The port is reserved but not listened. So + * the client doing "connect" gets error asynchronously. + */ + int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); + + int flag = fcntl(fd, F_GETFL); + if (flag < 0) + perror_msg_and_skip("fcntl F_GETFL"); + flag |= O_NONBLOCK; + if (fcntl(fd, F_SETFL, flag) < 0) + perror_msg_and_skip("fcntl F_SETFL"); + + if (connect(fd, (void *) &addr, sizeof(addr)) == 0) + error_msg_and_skip("connect unexpectedly succeeded"); + if (errno != EINPROGRESS) + perror_msg_and_skip("connect failed for unexpected reason"); + + struct timeval to = { + .tv_sec = 1, + .tv_usec = 0, + }; + fd_set wfds; + FD_ZERO(&wfds); + FD_SET(fd, &wfds); + if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) + perror_msg_and_skip("select"); + + *sock_errno = 0xbadc0ded; + socklen_t optlen = sizesi; + long rc = getsockopt(fd, SOL_SOCKET, SO_ERROR, sock_errno, + &optlen); + const char *errstr = sprintrc(rc); + if (sizesi > 0 && rc < 0) + perror_msg_and_skip("getsockopt"); + if (sizesi >= (int) sizeof(*sock_errno) + && *sock_errno != ECONNREFUSED) { + errno = *sock_errno; + perror_msg_and_skip("unexpected socket error"); + } + if (sizesi >= (int) sizeof(*sock_errno) + && optlen != sizeof(*sock_errno)) { + error_msg_and_skip("unexpected data size for error" + " option: %d", optlen); + } + + printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ", fd); + if (sizesi <= 0) { + printf("%p, %d", sock_errno, sizesi); + } else if (sizesi < (int) sizeof(*sock_errno)) { + print_quoted_hex(sock_errno, sizesi); + printf(", %u", sizesi); + } else if (sizesi == sizeof(*sock_errno)) { + printf("ECONNREFUSED, %zu", sizeof(*sock_errno)); + } else { + printf("ECONNREFUSED, %u => %zu", + sizesi, sizeof(*sock_errno)); + } + printf(") = %s\n", errstr); - int sock_errno; - socklen_t optlen = sizeof(sock_errno); - if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &sock_errno, &optlen) < 0) - perror_msg_and_skip("getsockopt"); - if (sock_errno != ECONNREFUSED) { - errno = sock_errno; - perror_msg_and_skip("unexpected socket error"); + close(fd); } - if (optlen != sizeof(sock_errno)) - error_msg_and_skip("unexpected data size for error option: %d", - optlen); - printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ECONNREFUSED, %u) = 0\n", - fd, optlen); puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xabbrev-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xabbrev-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockaddr_xlat-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xabbrev -e trace=connect +run_strace_match_diff -Xabbrev -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xraw-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xraw-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockaddr_xlat-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xraw -e trace=connect +run_strace_match_diff -Xraw -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xverbose-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xverbose-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockaddr_xlat-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xverbose -e trace=connect +run_strace_match_diff -Xverbose -e trace=connect -a22
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockaddr_xlat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockaddr_xlat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of sockaddr fields under xlat styles. * - * Copyright (c) 2015-2019 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/if_arp.h> #include <linux/if_ether.h> #include <linux/if_packet.h> +#include <linux/mctp.h> + #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -23,6 +25,167 @@ # include <bluetooth/sco.h> #endif +#ifdef HAVE_LINUX_RXRPC_H +# include <linux/rxrpc.h> +#else +struct sockaddr_rxrpc { + uint16_t srx_family; + uint16_t srx_service; + uint16_t transport_type; + uint16_t transport_len; + union { + uint16_t family; + struct sockaddr_in sin; + struct sockaddr_in6 sin6; + } transport; +}; +#endif + +/* From include/net/af_ieee802154.h */ +enum { + IEEE802154_ADDR_NONE = 0x0, + /* RESERVED = 0x01, */ + IEEE802154_ADDR_SHORT = 0x2, /* 16-bit address + PANid */ + IEEE802154_ADDR_LONG = 0x3, /* 64-bit address + PANid */ +}; + +/* address length, octets */ +#define IEEE802154_ADDR_LEN 8 + +struct ieee802154_addr_sa { + int addr_type; + uint16_t pan_id; + union { + uint8_t hwaddrIEEE802154_ADDR_LEN; + uint16_t short_addr; + }; +}; + +#define IEEE802154_PANID_BROADCAST 0xffff +#define IEEE802154_ADDR_BROADCAST 0xffff +#define IEEE802154_ADDR_UNDEF 0xfffe + +struct sockaddr_ieee802154 { + __kernel_sa_family_t family; /* AF_IEEE802154 */ + struct ieee802154_addr_sa addr; +}; +/* End of include/net/af_ieee802154.h copy-paste */ + +#ifdef HAVE_LINUX_IF_ALG_H +# include <linux/if_alg.h> +#else +struct sockaddr_alg { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name64; +}; +#endif + +#ifndef CRYPTO_ALG_KERN_DRIVER_ONLY +# define CRYPTO_ALG_KERN_DRIVER_ONLY 0x1000 +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_ALG_NEW +struct sockaddr_alg_new { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name; +}; +#endif + +#ifdef HAVE_LINUX_NFC_H +# include <linux/nfc.h> +#else +struct sockaddr_nfc { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; +}; + +# define NFC_LLCP_MAX_SERVICE_NAME 63 +struct sockaddr_nfc_llcp { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; + uint8_t dsap; + uint8_t ssap; + char service_nameNFC_LLCP_MAX_SERVICE_NAME; + size_t service_name_len; +}; +#endif + +#ifdef HAVE_LINUX_VM_SOCKETS_H +# include <linux/vm_sockets.h> +#endif + +#ifdef HAVE_STRUCT_SOCKADDR_VM +# ifdef HAVE_STRUCT_SOCKADDR_VM_SVM_FLAGS +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +# else +# define SVM_FLAGS svm_zero0 +# define SVM_ZERO svm_zero + 1 +# define SVM_ZERO_FIRST svm_zero1 +# endif +#else +struct sockaddr_vm { + uint16_t svm_family; + uint16_t svm_reserved1; + uint32_t svm_port; + uint32_t svm_cid; + uint8_t svm_flags; + uint8_t svm_zerosizeof(struct sockaddr) - 13; +}; +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +#endif + +#ifdef HAVE_LINUX_QRTR_H +# include <linux/qrtr.h> +#else +struct sockaddr_qrtr { + uint16_t sq_family; + uint32_t sq_node; + uint32_t sq_port; +}; +#endif + +#ifdef HAVE_LINUX_IF_XDP_H +# include <linux/if_xdp.h> +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_XDP +struct sockaddr_xdp { + uint16_t sxdp_family; + uint16_t sxdp_flags; + uint32_t sxdp_ifindex; + uint32_t sxdp_queue_id; + uint32_t sxdp_shared_umem_fd; +}; +#endif + +#include "xlat.h" +#include "xlat/addrfams.h" +#include "xlat/xdp_sockaddr_flags.h" + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif +#ifndef FD0_PATH +# define FD0_PATH "" +#endif +#ifndef FD7_PATH +# define FD7_PATH "" +#endif + static void check_ll(void) { @@ -256,9 +419,841 @@ } #endif /* HAVE_BLUETOOTH_BLUETOOTH_H */ +static void +check_rxrpc(void) +{ + static const struct { + struct sockaddr_rxrpc sa; + const char *str; + } rxrpc_vecs = { + { { AF_RXRPC }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0" NRAW(" /* ???_SERVICE */") + ", transport_type=0" NRAW(" /* SOCK_??? */") + ", transport_len=0, transport=" + "{family=" XLAT_KNOWN(AF_UNSPEC, "AF_UNSPEC") "}}" }, + { { AF_RXRPC, .srx_service = 1, .transport_type = 1, + .transport_len = 42, .transport = { .family = 1 } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x1" NRAW(" /* CM_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x1, "SOCK_DGRAM") +#else + XLAT_KNOWN(0x1, "SOCK_STREAM") +#endif + ", transport_len=42, transport={family=" + XLAT_KNOWN(0x1, "AF_UNIX") ", \"\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}}" }, + { { AF_RXRPC, .srx_service = 2, .transport_type = 2, + .transport_len = 5, + .transport = { .sin = { 1, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x2" NRAW(" /* ???_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x2, "SOCK_STREAM") +#else + XLAT_KNOWN(0x2, "SOCK_DGRAM") +#endif + ", transport_len=5, transport=" + "{family=" XLAT_KNOWN(0x1, "AF_UNIX") ", \"" + BE_LE("\\336\\255", "\\255\\336") BE_LE("\\372", "\\355") + "\"}}" }, + { { AF_RXRPC, .srx_service = 2500, .transport_type = 3, + .transport_len = 7, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c4" NRAW(" /* YFS_FS_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x3, "SOCK_RAW") + ", transport_len=7, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\372\\316\\376", "\\355\\376\\316") "\"}}}" }, + { { AF_RXRPC, .srx_service = 2501, .transport_type = 4, + .transport_len = 16, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c5" NRAW(" /* YFS_CM_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x4, "SOCK_RDM") + ", transport_len=16, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", sin_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin_addr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa") "\"", + "inet_addr(\"" BE_LE("250.206.254.237", + "237.254.206.250") "\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2502, .transport_type = 5, + .transport_len = 20, + .transport = { .sin = { 2, BE16(0xdead), + { BE32(0xfacefeed) }, "OH HAI" } } + }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c6" NRAW(" /* ???_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x5, "SOCK_SEQPACKET") + ", transport_len=20, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") + ", sin_port=" XLAT_KNOWN_FMT("\"\\xde\\xad\"", "htons(57005)") + ", sin_addr=" + XLAT_KNOWN_FMT("\"\\xfa\\xce\\xfe\\xed\"", + "inet_addr(\"250.206.254.237\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2503, .transport_type = 6, + .transport_len = 23, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c7" NRAW(" /* YFS_VL_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x6, "SOCK_DCCP") + ", transport_len=23, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\312\\376\\372\\316", "\\316\\372\\376\\312") + "OH HAI THAR!\\0\\0\\0\"}}}" }, + { { AF_RXRPC, .srx_service = 2504, .transport_type = 7, + .transport_len = 24, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c8" NRAW(" /* ???_SERVICE */") + ", transport_type=0x7" NRAW(" /* SOCK_??? */") + ", transport_len=24, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") + ", sin6_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin6_flowinfo=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xca\\xfe\\xfa\\xce", + "\\xce\\xfa\\xfe\\xca") "\"", + "htonl(" BE_LE("3405707982", "3472555722") ")") + ", " XLAT_KNOWN_FMT("sin6_addr=" + "\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54" + "\\x48\\x41\\x52\\x21\\x00\\x00\\x00\\x0f\"", + "inet_pton(AF_INET6, \"4f48:2048:4149:2054" + ":4841:5221:0:f\"" NVERB(", &sin6_addr") ")") + "}}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_rxrpc, sa_rxrpc); + int rc; + + fill_memory(sa_rxrpc, sizeof(*sa_rxrpc)); + sa_rxrpc->srx_family = AF_RXRPC; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", sa_data="); + print_quoted_memory((void *) sa_rxrpc + sizeof(sa_rxrpc->srx_family), + sizeof(*sa_rxrpc) - sizeof(sa_rxrpc->srx_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_rxrpc) - 1, errstr); + + static const uint8_t skip_af = { AF_INET, AF_INET6 }; + size_t skip_pos = 0; + for (size_t i = 0; i < 512; i++) { + if (skip_pos < ARRAY_SIZE(skip_af) && skip_afskip_pos == i) { + ++skip_pos; + continue; + } + + sa_rxrpc->transport.family = i; + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=%#x" NRAW(" /* ???_SERVICE */") + ", transport_type=%#x" NRAW(" /* SOCK_??? */") + ", transport_len=%u" + ", transport={family=%s, ", + sa_rxrpc->srx_service, sa_rxrpc->transport_type, + sa_rxrpc->transport_len, + sprintxval(addrfams, sa_rxrpc->transport.family, + "AF_???")); + const size_t offs = offsetofend(struct sockaddr_rxrpc, + transport.family); + print_quoted_memory((char *) sa_rxrpc + offs, + sizeof(*sa_rxrpc) - offs); + printf("}}, %zu) = %s\n", sizeof(*sa_rxrpc), errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(rxrpc_vecs); i++) { + *sa_rxrpc = rxrpc_vecsi.sa; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + printf("connect(-1, %s, %zu) = %s\n", + rxrpc_vecsi.str, sizeof(*sa_rxrpc), sprintrc(rc)); + } +} + +static void +check_ieee802154(void) +{ + static const struct { + struct sockaddr_ieee802154 sa; + const char *str; + } ieee802154_vecs = { + { { AF_IEEE802154 }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0" NRAW(" /* IEEE802154_ADDR_NONE */") + ", pan_id=0}}" }, + { { AF_IEEE802154, { .addr_type = 1, .pan_id = 1 } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x1" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0x1, hwaddr=" + XLAT_KNOWN_FMT("\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "00:00:00:00:00:00:00:00") "}}" }, + { { AF_IEEE802154, { .addr_type = 4, .pan_id = 0xcafe, + { .short_addr = 0xfeed } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x4" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0xcafe, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfe\\xed", "\\xed\\xfe") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("fe:ed", "ed:fe") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xfffe } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xfffe, short_addr=0}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xffff, + { .hwaddr = "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xffff" NRAW(" /* IEEE802154_PANID_BROADCAST */") + ", short_addr=" BE_LE("0xf8f9", "0xf9f8") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffd } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffd}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffe } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffe" + NRAW(" /* IEEE802154_ADDR_UNDEF */") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xffff } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xffff" + NRAW(" /* IEEE802154_ADDR_BROADCAST */") "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0xface, + { .short_addr = 0xdead } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0xface, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("de:ad", "ad:de") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0, + { .hwaddr = "Oh Hai!" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0, hwaddr=" + XLAT_KNOWN_FMT("\"\\x4f\\x68\\x20\\x48\\x61\\x69\\x21\\x00\"", + "4f:68:20:48:61:69:21:00") "}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_ieee802154, sa_ieee802154); + int rc; + + fill_memory(sa_ieee802154, sizeof(*sa_ieee802154)); + sa_ieee802154->family = AF_IEEE802154; + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1, + sprintrc(rc)); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", sa_data="); + print_quoted_memory((void *) sa_ieee802154 + + sizeof(sa_ieee802154->family), + sizeof(*sa_ieee802154) + - sizeof(sa_ieee802154->family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_ieee802154) - 1, errstr); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=%#x" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=%#hx, hwaddr=", + sa_ieee802154->addr.addr_type, sa_ieee802154->addr.pan_id); +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(sa_ieee802154->addr.hwaddr, + sizeof(sa_ieee802154->addr.hwaddr)); +#endif +#if !XLAT_RAW + printf(VERB(" /* ") "%02hhx:%02hhx:%02hhx:%02hhx" + ":%02hhx:%02hhx:%02hhx:%02hhx" VERB(" */"), + sa_ieee802154->addr.hwaddr0, sa_ieee802154->addr.hwaddr1, + sa_ieee802154->addr.hwaddr2, sa_ieee802154->addr.hwaddr3, + sa_ieee802154->addr.hwaddr4, sa_ieee802154->addr.hwaddr5, + sa_ieee802154->addr.hwaddr6, sa_ieee802154->addr.hwaddr7); +#endif + printf("}}, %zu) = %s\n", sizeof(*sa_ieee802154), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ieee802154_vecs); i++) { + *sa_ieee802154 = ieee802154_vecsi.sa; + + rc = connect(-1, (void *) sa_ieee802154, + sizeof(*sa_ieee802154)); + printf("connect(-1, %s, %zu) = %s\n", + ieee802154_vecsi.str, sizeof(*sa_ieee802154), + sprintrc(rc)); + } +} + +static void +check_alg(void) +{ + static const struct { + struct sockaddr_alg sa; + const char *str; + const char *str8; + const char *str64; + } alg_vecs = { + { { AF_ALG }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0, salg_mask=0, salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_feat = CRYPTO_ALG_KERN_DRIVER_ONLY, + .salg_mask = CRYPTO_ALG_KERN_DRIVER_ONLY }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_mask=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_type = "OH HAI\1\n\377\\\"\0\t\v", + .salg_feat = 0xdeadcafe, .salg_mask = 0xbeefaead, + .salg_name = "1234567890abcdef1234567890ABCEF\1\2\3\4\5\6\7" + "\x08\x09\0\x0A\x0B\x0C\x0D\x0E\x0F" }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type=\"OH HAI\\1\\n\\377\\\\\\\"\"" + ", salg_feat=0xdeadcafe" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_mask=0xbeefaead" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_name=\"1234567", "\"...}", + "890abcdef1234567890ABCEF\\1\\2\\3\\4\\5\\6\\7\\10\\t\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_alg, sa_alg); + int rc; + + fill_memory(sa_alg, sizeof(*sa_alg)); + sa_alg->salg_family = AF_ALG; + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_alg, sizeof(*sa_alg) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new)); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", sa_data="); + print_quoted_memory((void *) sa_alg + sizeof(sa_alg->salg_family), + sizeof(struct sockaddr_alg_new) + - sizeof(sa_alg->salg_family)); + printf("}, %zu) = %s\n", sizeof(struct sockaddr_alg_new), errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new) + 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=\"\"...}, %zu) = %s\n", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask, +#if !XLAT_RAW + sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sizeof(struct sockaddr_alg_new) + 1, errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) - 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask +#if !XLAT_RAW + , sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY +#endif + ); + print_quoted_stringn((const char *) sa_alg->salg_name, + sizeof(sa_alg->salg_name) - 2); + printf("}, %zu) = %s\n", sizeof(*sa_alg) - 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(alg_vecs); i++) { + *sa_alg = alg_vecsi.sa; + + for (size_t j = 0; j < 2; j++) { + rc = connect(-1, (void *) sa_alg, + sizeof(struct sockaddr_alg_new) + + (j ? 64 : 8)); + printf("connect(-1, %s%s, %zu) = %s\n", + alg_vecsi.str, + j ? alg_vecsi.str64 : alg_vecsi.str8, + sizeof(struct sockaddr_alg_new) + (j ? 64 : 8), + sprintrc(rc)); + } + } +} + +static void +check_nfc(void) +{ + const struct { + struct sockaddr_nfc sa; + const char *str; + } nfc_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + "}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 1, + .nfc_protocol = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x1" + ", nfc_protocol=" XLAT_KNOWN(0x1, "NFC_PROTO_JEWEL") "}" }, + { { AF_NFC, .dev_idx = 0xcafebeef, .target_idx = 0xdeadface, + .nfc_protocol = 0xfeedbabe }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405692655, target_idx=0xdeadface" + ", nfc_protocol=0xfeedbabe" NRAW(" /* NFC_PROTO_??? */") + "}" }, + }; + const struct { + struct sockaddr_nfc_llcp sa; + const char *str; + } nfc_llcp_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0, ssap=0, service_name=\"\", service_name_len=0}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 0x42, + .nfc_protocol = 7, .dsap = 1, .ssap = 5, + .service_name_len = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x42" + ", nfc_protocol=" XLAT_KNOWN(0x7, "NFC_PROTO_ISO15693") + ", dsap=0x1" NRAW(" /* LLCP_SAP_SDP */") + ", ssap=0x5, service_name=\"\\0\", service_name_len=1}" }, + { { AF_NFC, .dev_idx = 0xcafed1ce, .target_idx = 0x42, + .nfc_protocol = 8, .dsap = 42, .ssap = 0xff, + .service_name="OH HAI THAR\0EHLO\n\t\v\f'\"\\\177\333", + .service_name_len = 42 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405697486, target_idx=0x42" + ", nfc_protocol=0x8" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0x2a, ssap=0xff" NRAW(" /* LLCP_SAP_MAX */") + ", service_name=\"OH HAI THAR\\0EHLO\\n\\t\\v\\f'\\\"" + "\\\\\\177\\333\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\", service_name_len=42}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc, sa_nfc); + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc_llcp, sa_nfc_llcp); + int rc; + + fill_memory(sa_nfc, sizeof(*sa_nfc)); + sa_nfc->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc, sizeof(*sa_nfc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", sa_data="); + print_quoted_memory((void *) sa_nfc + sizeof(sa_nfc->sa_family), + sizeof(*sa_nfc) - sizeof(sa_nfc->sa_family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_nfc) - 1, errstr); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "}, %zu) = %s\n", + sa_nfc->dev_idx, sa_nfc->target_idx, sa_nfc->nfc_protocol, + sizeof(*sa_nfc), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_vecs); i++) { + *sa_nfc = nfc_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_vecsi.str, sizeof(*sa_nfc), sprintrc(rc)); + } + + fill_memory(sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + sa_nfc_llcp->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1, sprintrc(rc)); + + for (size_t i = 0; i < 3; i++) { + size_t sz = i ? i == 2 ? sizeof(*sa_nfc_llcp) - 1 + : sizeof(struct sockaddr_nfc) + 1 + : sizeof(struct sockaddr_nfc); + + rc = connect(-1, (void *) sa_nfc_llcp, sz); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "%s}, %zu) = %s\n", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, i ? ", ..." : "", sz, errstr); + } + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") ", dsap=%#hhx, ssap=%#hhx" + ", service_name=", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, sa_nfc_llcp->dsap, sa_nfc_llcp->ssap); + print_quoted_memory(sa_nfc_llcp->service_name, + sizeof(sa_nfc_llcp->service_name)); + printf(", service_name_len=%zu}, %zu) = %s\n", + sa_nfc_llcp->service_name_len, sizeof(*sa_nfc_llcp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_llcp_vecs); i++) { + *sa_nfc_llcp = nfc_llcp_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_llcp_vecsi.str, sizeof(*sa_nfc_llcp), + sprintrc(rc)); + } +} + +static void +check_vsock(void) +{ + static const struct { + struct sockaddr_vm sa; + const char *str; + } vsock_vecs = { + { { AF_VSOCK }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0, "VMADDR_CID_HYPERVISOR") + ", svm_port=0, svm_flags=0}" }, + { { AF_VSOCK, .svm_cid = 1, .svm_port = 1, .SVM_FLAGS = 1 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0x1, "VMADDR_CID_LOCAL") + ", svm_port=0x1" + ", svm_flags=" XLAT_KNOWN(0x1, "VMADDR_FLAG_TO_HOST") "}" }, + { { AF_VSOCK, .svm_reserved1 = 0xdead, .svm_cid = 2, + .svm_port = 0xfacebeef, .SVM_FLAGS = 2, }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0xdead" + ", svm_cid=" XLAT_KNOWN(0x2, "VMADDR_CID_HOST") + ", svm_port=0xfacebeef" + ", svm_flags=" XLAT_UNKNOWN(0x2, "VMADDR_FLAG_???") "}" }, + { { AF_VSOCK, .svm_cid = 3, + .svm_port = 0xfffffffe, .SVM_FLAGS = 0xef, + .SVM_ZERO_FIRST = 0x42 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=0x3, svm_port=0xfffffffe, svm_flags=" + XLAT_KNOWN(0xef, "VMADDR_FLAG_TO_HOST|0xee") + ", svm_zero=\"\\x42\\x00\\x00\"}" }, + { { AF_VSOCK, .svm_reserved1 = 0x1, .svm_cid = -1U, + .svm_port = -1U, .SVM_FLAGS = 0xfe, + .SVM_ZERO_FIRST = 0xae }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0x1" + ", svm_cid=" XLAT_KNOWN(0xffffffff, "VMADDR_CID_ANY") + ", svm_port=" XLAT_KNOWN(0xffffffff, "VMADDR_PORT_ANY") + ", svm_flags=" XLAT_UNKNOWN(0xfe, "VMADDR_FLAG_???") + ", svm_zero=\"\\xae\\x00\\x00\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_vm, sa_vm); + int rc; + + fill_memory(sa_vm, sizeof(*sa_vm)); + sa_vm->svm_family = AF_VSOCK; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_vm, sizeof(*sa_vm) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", sa_data="); + print_quoted_memory((void *) sa_vm + sizeof(sa_vm->svm_family), + sizeof(*sa_vm) - sizeof(sa_vm->svm_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_vm) - 1, errstr); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=%#x, svm_cid=%#x, svm_port=%#x, svm_flags=%#x" + NRAW(" /* VMADDR_FLAG_??? */") ", svm_zero=", + sa_vm->svm_reserved1, sa_vm->svm_cid, sa_vm->svm_port, + sa_vm->SVM_FLAGS); + print_quoted_hex(sa_vm->SVM_ZERO, + (uint8_t *) sa_vm + sizeof(*sa_vm) + - (sa_vm->SVM_ZERO)); + printf("}, %zu) = %s\n", sizeof(*sa_vm), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(vsock_vecs); i++) { + *sa_vm = vsock_vecsi.sa; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + printf("connect(-1, %s, %zu) = %s\n", + vsock_vecsi.str, sizeof(*sa_vm), sprintrc(rc)); + } +} + +static void +check_qrtr(void) +{ + static const struct { + struct sockaddr_qrtr sa; + const char *str; + } qrtr_vecs = { + { { AF_QIPCRTR }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0}" }, + { { AF_QIPCRTR, .sq_node = 0xdeadface }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xdeadface, sq_port=0}" }, + { { AF_QIPCRTR, .sq_port = 0xdeedfade }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0xdeedfade}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffd, .sq_port = 0xfffffffd }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffd, sq_port=0xfffffffd}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffe, .sq_port = 0xfffffffe }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffe, sq_port=" + XLAT_KNOWN(0xfffffffe, "QRTR_PORT_CTRL") "}" }, + { { AF_QIPCRTR, .sq_node = 0xffffffff, .sq_port = 0xffffffff }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=" XLAT_KNOWN(0xffffffff, "QRTR_NODE_BCAST") + ", sq_port=0xffffffff}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_qrtr, sa_qrtr); + int rc; + + fill_memory(sa_qrtr, sizeof(*sa_qrtr)); + sa_qrtr->sq_family = AF_QIPCRTR; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_qrtr, sizeof(*sa_qrtr) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sa_data="); + print_quoted_memory((void *) sa_qrtr + sizeof(sa_qrtr->sq_family), + sizeof(*sa_qrtr) - sizeof(sa_qrtr->sq_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_qrtr) - 1, errstr); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=%#x, sq_port=%#x}, %zu) = %s\n", + sa_qrtr->sq_node, sa_qrtr->sq_port, sizeof(*sa_qrtr), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(qrtr_vecs); i++) { + *sa_qrtr = qrtr_vecsi.sa; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + printf("connect(-1, %s, %zu) = %s\n", + qrtr_vecsi.str, sizeof(*sa_qrtr), sprintrc(rc)); + } +} + +static void +check_xdp(void) +{ + const struct { + struct sockaddr_xdp sa; + const char *str; + } xdp_vecs = { + { { AF_XDP }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=0, sxdp_ifindex=0, sxdp_queue_id=0}" }, + { { AF_XDP, XDP_SHARED_UMEM }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=" XLAT_KNOWN(0x1, "XDP_SHARED_UMEM") + ", sxdp_ifindex=0, sxdp_queue_id=0" + ", sxdp_shared_umem_fd=0" FD0_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xdead, + .sxdp_ifindex = ifindex_lo(), + .sxdp_queue_id = 0xfacebeef, + .sxdp_shared_umem_fd = 7 }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=" + XLAT_KNOWN(0xdead, "XDP_SHARED_UMEM|XDP_ZEROCOPY" + "|XDP_USE_NEED_WAKEUP|0xdea0") + ", sxdp_ifindex=" XLAT_KNOWN(1, IFINDEX_LO_STR) + ", sxdp_queue_id=4207853295" + ", sxdp_shared_umem_fd=7" FD7_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xbad0, + .sxdp_ifindex = 0xcafefade, + .sxdp_queue_id = 0xba5ed, + .sxdp_shared_umem_fd = 0xfeedbead }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=0xbad0" + NRAW(" /* XDP_??? */") ", sxdp_ifindex=3405707998" + ", sxdp_queue_id=763373, sxdp_shared_umem_fd=0xfeedbead}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_xdp, sa_xdp); + int rc; + + fill_memory(sa_xdp, sizeof(*sa_xdp)); + sa_xdp->sxdp_family = AF_XDP; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_xdp, sizeof(*sa_xdp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sa_data="); + print_quoted_memory((void *) sa_xdp + sizeof(sa_xdp->sxdp_family), + sizeof(*sa_xdp) - sizeof(sa_xdp->sxdp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_xdp) - 1, errstr); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags="); +#if XLAT_RAW || XLAT_VERBOSE + printf("%#x" VERB(" /* "), sa_xdp->sxdp_flags); +#endif +#if !XLAT_RAW + printflags(xdp_sockaddr_flags, sa_xdp->sxdp_flags, "XDP_???"); +#endif + printf(VERB(" */") ", sxdp_ifindex=%u, sxdp_queue_id=%u" + ", sxdp_shared_umem_fd=" BE_LE("%d", "%#x") "}, %zu) = %s\n", + sa_xdp->sxdp_ifindex, sa_xdp->sxdp_queue_id, + sa_xdp->sxdp_shared_umem_fd, sizeof(*sa_xdp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(xdp_vecs); i++) { + *sa_xdp = xdp_vecsi.sa; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + printf("connect(-1, %s, %zu) = %s\n", + xdp_vecsi.str, sizeof(*sa_xdp), sprintrc(rc)); + } +} + +static void +check_mctp(void) +{ + static const struct { + struct sockaddr_mctp sa; + const char *str; + } mctp_vecs = { + { { AF_MCTP }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .__smctp_pad0 = 0xdead, + .smctp_network = MCTP_NET_ANY, + .smctp_addr = { .s_addr = MCTP_ADDR_NULL } }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xdead" + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .smctp_network = -1234567890, + .smctp_addr = { .s_addr = MCTP_ADDR_ANY }, + .smctp_type = 1, .smctp_tag = 8, .__smctp_pad1 = 0xea }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=0xb669fd2e" + ", smctp_addr={s_addr=" XLAT_KNOWN(0xff, "MCTP_ADDR_ANY") "}" + ", smctp_type=0x1, smctp_tag=0x8, __smctp_pad1=0xea}" }, + { { AF_MCTP, .__smctp_pad0 = 0xface, + .smctp_network = 2134567890, + .smctp_addr = { .s_addr = 0x42 }, + .smctp_type = 0x23, .smctp_tag = 0x69, + .__smctp_pad1= 0xda }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xface, smctp_network=0x7f3aebd2" + ", smctp_addr={s_addr=0x42}, smctp_type=0x23" + ", smctp_tag=0x69, __smctp_pad1=0xda}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_mctp, sa_mctp); + int rc; + + fill_memory(sa_mctp, sizeof(*sa_mctp)); + sa_mctp->smctp_family = AF_MCTP; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_mctp, sizeof(*sa_mctp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", sa_data="); + print_quoted_memory((void *) sa_mctp + sizeof(sa_mctp->smctp_family), + sizeof(*sa_mctp) - sizeof(sa_mctp->smctp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_mctp) - 1, errstr); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=%#hx, smctp_network=%#x" + ", smctp_addr={s_addr=%#hhx}, smctp_type=%#hhx, smctp_tag=%#hhx" + ", __smctp_pad1=%#hhx}, %zu) = %s\n", + sa_mctp->__smctp_pad0, sa_mctp->smctp_network, + sa_mctp->smctp_addr.s_addr, sa_mctp->smctp_type, + sa_mctp->smctp_tag, sa_mctp->__smctp_pad1, sizeof(*sa_mctp), + sprintrc(rc)); + + for (size_t i = 0; i < ARRAY_SIZE(mctp_vecs); i++) { + *sa_mctp = mctp_vecsi.sa; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, %s, %zu) = %s\n", + mctp_vecsi.str, sizeof(*sa_mctp), sprintrc(rc)); + } +} + int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + check_ll(); check_in(); check_in6(); @@ -266,6 +1261,15 @@ check_sco(); check_rc(); #endif + check_rxrpc(); + check_ieee802154(); + check_alg(); + check_nfc(); + check_vsock(); + check_qrtr(); + check_xdp(); + check_mctp(); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/socketcall.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/socketcall.c
Changed
@@ -59,8 +59,7 @@ const unsigned long *const args = tail_alloc(sizeof(*args) * 6); efault = tail_alloc(1) + 1; - int i; - for (i = sc_min - 3; i <= sc_max + 3; ++i) { + for (int i = sc_min - 3; i <= sc_max + 3; ++i) { test_socketcall(i, efault); test_socketcall(i, args); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockname.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockname.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockname family syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,8 @@ #include <sys/socket.h> #include <sys/un.h> +#include "secontext.h" + #ifndef TEST_SYSCALL_NAME # error TEST_SYSCALL_NAME must be defined #endif @@ -59,14 +61,19 @@ *plen = sizeof(struct sockaddr_un); struct sockaddr_un *addr = tail_alloc(*plen); + char *my_secontext = SECONTEXT_PID_MY(); + char *fd_secontext = SECONTEXT_FD(fd); + PREPARE_TEST_SYSCALL_INVOCATION; int rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, (void *) addr, plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) sizeof(struct sockaddr_un), (int) *plen, SUFFIX_STR, rc); memset(addr, 0, sizeof(*addr)); @@ -75,28 +82,34 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, 0 SUFFIX_ARGS); - printf("%s(%d%s, %p, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, - sprintrc(rc)); + printf("%s%s(%d%s%s, %p, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, + addr, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, 0, 0 SUFFIX_ARGS); - printf("%s(%d%s, NULL, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, + printf("%s%s(%d%s%s, NULL, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, + rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen + 1 SUFFIX_ARGS); - printf("%s(%d%s, %p, %p%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %p%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, plen + 1, SUFFIX_STR, sprintrc(rc)); const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); @@ -108,8 +121,9 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + printf("%s%s(%d%s%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); ++addr; @@ -121,17 +135,19 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) (sizeof(struct sockaddr) - offsetof_sun_path), - addr->sun_path, (int) sizeof(struct sockaddr), - (int) *plen, SUFFIX_STR, rc); + addr->sun_path, SECONTEXT_FILE(addr->sun_path), + (int) sizeof(struct sockaddr), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen SUFFIX_ARGS); - printf("%s(%d%s, %p, %d%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %d%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, *plen, SUFFIX_STR, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sockopt-sol_netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_netlink.c
Changed
@@ -82,9 +82,8 @@ int fd = socket(AF_NETLINK, SOCK_RAW, 0); if (fd < 0) perror_msg_and_skip("socket AF_NETLINK SOCK_RAW"); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(names); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(names); ++i) { /* getsockopt */ /* classic */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xraw -a32
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev "../sockopt-sol_socket-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 "../sockopt-sol_socket-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose "../sockopt-sol_socket-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt "../sockopt-sol_socket-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket.c
Added
@@ -0,0 +1,319 @@ +/* + * Check decoding of getsockopt and setsockopt for SOL_SOCKET level. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/socket.h> +#include <sys/un.h> + +#define XLAT_MACROS_ONLY +# include "xlat/sock_options.h" +#undef XLAT_MACROS_ONLY + +#ifdef INJECT_RETVAL +# define INJSTR " (INJECTED)" +#else +# define INJSTR "" +#endif + +static int rc; +static const char *errstr; + +struct intstr { + int val; + const char *str; +}; + +static int +get_sockopt(int fd, int name, void *val, socklen_t *len) +{ + rc = getsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static int +set_sockopt(int fd, int name, void *val, socklen_t len) +{ + rc = setsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static void +print_optval(int val, const struct intstr *vecs, size_t vecs_sz) +{ + for (size_t k = 0; k < vecs_sz; k++) { + if (vecsk.val == val) { + printf("%s", vecsk.str); + return; + } + } + + printf("%d", val); +} + +int +main(void) +{ + static const struct intstr int_vecs = { + { ARG_STR(0) }, + { ARG_STR(1) }, + { ARG_STR(1234567890) }, + { ARG_STR(-1234567890) }, + }; + static const struct intstr txrehash_vecs = { + { ARG_XLAT_KNOWN(0, "SOCK_TXREHASH_DISABLED") }, + { ARG_XLAT_KNOWN(1, "SOCK_TXREHASH_ENABLED") }, + { ARG_XLAT_UNKNOWN(2, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(254, "SOCK_TXREHASH_???") }, + { ARG_XLAT_KNOWN(255, "SOCK_TXREHASH_DEFAULT") }, + { ARG_XLAT_UNKNOWN(256, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(511, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(-1, "SOCK_TXREHASH_???") }, + }; + static const struct { + int val; + const char *str; + const struct intstr *const vecs; + size_t vecs_sz; + size_t optsz; + } names = { + { ARG_STR(SO_DEBUG), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEADDR), .optsz = sizeof(int) }, + { ARG_STR(SO_TYPE), /* TODO */ }, + /* SO_ERROR - see so_error test */ + { ARG_STR(SO_DONTROUTE), .optsz = sizeof(int) }, + { ARG_STR(SO_BROADCAST), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_KEEPALIVE), .optsz = sizeof(int) }, + { ARG_STR(SO_OOBINLINE), .optsz = sizeof(int) }, + { ARG_STR(SO_NO_CHECK), .optsz = sizeof(int) }, + { ARG_STR(SO_PRIORITY), .optsz = sizeof(int) }, + /* SO_LINGER - see so_linger test */ + { ARG_STR(SO_BSDCOMPAT), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEPORT), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSCRED), .optsz = sizeof(int) }, + /* SO_PEERCRED - see so_peercred test */ + { ARG_STR(SO_RCVLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SECURITY_AUTHENTICATION) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_TRANSPORT) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_NETWORK) }, + /* TODO: SO_BINDTODEVICE */ + { ARG_STR(SO_DETACH_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERNAME), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_ACCEPTCONN), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERSEC), /* TODO */ }, + { ARG_STR(SO_SNDBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSSEC), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_MARK), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_PROTOCOL), /* TODO */ }, + { ARG_STR(SO_DOMAIN), /* TODO */ }, + { ARG_STR(SO_RXQ_OVFL), .optsz = sizeof(int) }, + { ARG_STR(SO_WIFI_STATUS), .optsz = sizeof(int) }, + { ARG_STR(SO_PEEK_OFF), .optsz = sizeof(int) }, + { ARG_STR(SO_NOFCS), .optsz = sizeof(int) }, + { ARG_STR(SO_LOCK_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_SELECT_ERR_QUEUE), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_MAX_PACING_RATE), /* TODO */ }, + { ARG_STR(SO_BPF_EXTENSIONS), /* TODO */ }, + { ARG_STR(SO_INCOMING_CPU), .optsz = sizeof(int) }, + { ARG_STR(SO_ATTACH_BPF), /* TODO */ }, + /* SO_ATTACH_REUSEPORT_CBPF - see sock_filter-v test */ + { ARG_STR(SO_ATTACH_REUSEPORT_EBPF), /* TODO */ }, + { ARG_STR(SO_CNX_ADVICE), .optsz = sizeof(int) }, + { ARG_STR(SO_MEMINFO), /* TODO */ }, + { ARG_STR(SO_INCOMING_NAPI_ID), .optsz = sizeof(int) }, + { ARG_STR(SO_COOKIE), /* TODO */ }, + { ARG_STR(SO_PEERGROUPS), /* TODO */ }, + { ARG_STR(SO_ZEROCOPY), .optsz = sizeof(int) }, + { ARG_STR(SO_TXTIME), /* TODO */ }, + { ARG_STR(SO_BINDTOIFINDEX), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_DETACH_REUSEPORT_BPF), .optsz = sizeof(int) }, + { ARG_STR(SO_PREFER_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL_BUDGET), .optsz = sizeof(int) }, + { ARG_STR(SO_NETNS_COOKIE), /* TODO */ }, + { ARG_STR(SO_BUF_LOCK), /* TODO */ }, + { ARG_STR(SO_RESERVE_MEM), .optsz = sizeof(int) }, + { ARG_STR(SO_TXREHASH), ARRSZ_PAIR(txrehash_vecs), sizeof(int) }, + { ARG_STR(SO_RCVMARK), .optsz = sizeof(int) }, + { 76, NULL }, + { -1, NULL }, + }; + + char pfx_str256; + char sol_str64; + TAIL_ALLOC_OBJECT_CONST_PTR(int, val); + TAIL_ALLOC_OBJECT_CONST_ARR(int, bigval, 2); + TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, len); + void *const efault = val + 1; + int fd = socket(AF_UNIX, SOCK_RAW, 0); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_RAW"); + + snprintf(sol_str, sizeof(sol_str), XLAT_FMT, XLAT_ARGS(SOL_SOCKET)); + + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + static char so_str64; + const struct intstr *const vecs = namesi.vecs ?: int_vecs; + size_t vecs_sz = namesi.vecs_sz ?: ARRAY_SIZE(int_vecs); + + if (namesi.str) { + snprintf(so_str, sizeof(so_str), XLAT_FMT, + XLAT_SEL(namesi.val, namesi.str)); + } else { + snprintf(so_str, sizeof(so_str), + "%#x" NRAW(" /* SO_??? */"), namesi.val); + } + + snprintf(pfx_str, sizeof(pfx_str), "etsockopt(%d, %s, %s, ", + fd, sol_str, so_str); + + /* getsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *len = sizeof(*val); + *val = vecsj.val; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d) = %s" INJSTR "\n", *len, errstr); + + /* optlen larger than accessible memory */ + *len = sizeof(*val) + 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0 || (!namesi.optsz && *len > sizeof(*val))) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen larger than necessary */ + *len = sizeof(*val) + 1; + *bigval = vecsj.val; + get_sockopt(fd, namesi.val, bigval, len); + printf("g%s", pfx_str); + if (rc < 0) { + printf("%p", bigval); + } else { + if (*len == sizeof(*val) || namesi.optsz) + print_optval(*val, vecs, vecs_sz); + else + print_quoted_memory(bigval, *len); + } + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + } + + /* zero optlen - print returned optlen */ + *len = 0; +#ifdef INJECT_RETVAL + *val = vecs0.val; +#endif + get_sockopt(fd, namesi.val, NULL, len); + printf("g%sNULL, 0", pfx_str); + if (*len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen shorter than necessary */ + *len = sizeof(*val) - 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else if (namesi.optsz) + print_quoted_hex(val, sizeof(*val) - 1); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d", (int) sizeof(*val) - 1); + if ((int) sizeof(*val) - 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optval EFAULT - print address */ + *len = sizeof(*val); + get_sockopt(fd, namesi.val, efault, len); + printf("g%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, *len, errstr); + + /* optlen EFAULT - print address */ + get_sockopt(fd, namesi.val, val, len + 1); + printf("g%s%p, %p) = %s" INJSTR "\n", + pfx_str, val, len + 1, errstr); + + + /* setsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *val = vecsj.val; + set_sockopt(fd, namesi.val, val, sizeof(*val)); + printf("s%s%s, %d) = %s" INJSTR "\n", + pfx_str, vecsj.str, (int) sizeof(*val), errstr); + + /* optlen larger than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) + 1); + printf("s%s", pfx_str); + if (namesi.optsz && namesi.optsz <= sizeof(*val)) + printf("%s", vecsj.str); + else + printf("%p", val); + printf(", %d) = %s" INJSTR "\n", + (int) sizeof(*val) + 1, errstr); + } + + /* optlen < 0 - print address */ + *val = vecs0.val; + set_sockopt(fd, namesi.val, val, -1U); + printf("s%s%p, -1) = %s" INJSTR "\n", pfx_str, val, errstr); + + /* optlen smaller than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) - 1); + printf("s%s", pfx_str); + if (namesi.optsz) + printf("%p", val); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d) = %s" INJSTR "\n", (int) sizeof(*val) - 1, errstr); + + /* optval EFAULT - print address */ + set_sockopt(fd, namesi.val, efault, sizeof(*val)); + printf("s%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, (int) sizeof(*val), errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sockopt-sol_socket.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket -e trace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/sprintrc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/sprintrc.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,7 +26,7 @@ * representation of return code and errno/error message in case @rc * is equal to -1. */ -static inline const char * +static const char * sprintrc_ex(long rc, enum sprintrc_fmt fmt) { static const char *formats = {
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--decode-pids-comm.c
Added
@@ -0,0 +1,123 @@ +/* + * Test -Y/--decode-pids=comm option. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +/* + * The executable built from this source file should + * have a long name (> 16) to test how strace reports + * the initial value of /proc/$pid/comm. + * Even if linux returns a longer name, strace should + * not crash. + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/prctl.h> +#include <unistd.h> +#include <sys/types.h> +#include <sys/wait.h> + +#define NEW_NAME "0123456789abcdefghijklmnopqrstuvwxyz" + +static int +do_default_action(void) +{ + static const char proc_self_exe = "/proc/self/exe"; + skip_if_unavailable(proc_self_exe); + + char commsizeof(NEW_NAME); + if (prctl(PR_GET_NAME, comm)) + perror_msg_and_skip("PR_GET_NAME"); + char ocommsizeof(comm); + strcpy(ocomm, comm); + + pid_t pid = getpid(); + pid_t ppid = getppid(); + + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + fflush(stdout); + + pid_t child = fork(); + if (child < 0) + perror_msg_and_fail("fork"); + else if (child == 0) { + pid = getpid(); + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, ocomm); + + const char *names = { + "foo\332Jbar", + "foo<bar>", + NEW_NAME, + }; + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + strcpy(comm, namesi); + prctl(PR_SET_NAME, comm); + prctl(PR_GET_NAME, comm); + + ppid = getppid(); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> getppid() = %d<%s>\n", ppid, ocomm); + + long rc = syscall(__NR_tgkill, pid, pid, SIGCONT); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> tgkill(%d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, %d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, SIGCONT) = %s\n", sprintrc(rc)); + } + + long rc = syscall(__NR_tgkill, ppid, ppid, SIGCONT); + printf("%u<%s> tgkill(%d<%s>, %d<%s>, SIGCONT) = %s\n", + pid, comm, ppid, ocomm, ppid, ocomm, sprintrc(rc)); + + fflush(stdout); + char *args = { (char *) "unused", (char *) "execve", NULL }; + execve(proc_self_exe, args, NULL); + perror_msg_and_fail("execve: %s", proc_self_exe); + } else { + int status; + while ((waitpid(child, &status, 0)) != child) { + if (errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", child); + } + printf("%u<exe> +++ exited with 0 +++\n", child); + + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + printf("%u<%s> +++ exited with 0 +++\n", pid, comm); + return WEXITSTATUS(status); + } + return 0; +} + +static int +do_execve_action(int argc, char **argv) +{ + return 0; +} + +int +main(int argc, char **argv) +{ + if (argc < 2) + return do_default_action(); + else if (strcmp(argv1, "execve") == 0) + return do_execve_action(argc, argv); + error_msg_and_fail("unexpected argument: %s", argv1); +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--decode-pids-comm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--strings-in-hex-all.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-all.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-non-ascii-chars.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 3 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-non-ascii-chars.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=non-ascii-chars --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--strings-in-hex-non-ascii.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-non-ascii.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 0 +#define STRACE_X 1 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-none.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=none --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--strings-in-hex.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--strings-in-hex.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--syscall-times-ms.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--syscall-times-ms.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T.test --syscall-times=ms); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms); do not edit. set -- --syscall-times=ms -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--syscall-times-ns.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--syscall-times-ns.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T.test --syscall-times=ns); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns); do not edit. set -- --syscall-times=ns -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--syscall-times-s.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--syscall-times-s.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T.test --syscall-times=s); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T_upper.test --syscall-times=s); do not edit. set -- --syscall-times=s -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--syscall-times-us.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--syscall-times-us.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T.test --syscall-times=us); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T_upper.test --syscall-times=us); do not edit. set -- --syscall-times=us -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace--syscall-times.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--syscall-times.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T.test --syscall-times); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T_upper.test --syscall-times); do not edit. set -- --syscall-times -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--tips-full.test
Added
@@ -0,0 +1,6 @@ +#!/bin/sh -efu + +# Check --tips=full option. +TIPS_FULL=1 +export TIPS_FULL +. ${srcdir=.}/strace--tips.test
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--tips.exp
Added
@@ -0,0 +1,36 @@ + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | + + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace--tips.test
Added
@@ -0,0 +1,82 @@ +#!/bin/sh -efu + +# Check --tips option. +. "${srcdir=.}/init.sh" + +: "${TIPS_FULL:=0}" +RAND_TIPS=5 +MAX_TIPS=500 + +tips_fmt_opt="" + 1 -ne "$TIPS_FULL" || tips_fmt_opt="--tips=full" + + +# Check that random tip is random +"$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r0" +i=0 +ret=0 +while "$i" -lt "$RAND_TIPS" ; do + i=$((i + 1)) + "$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r${i}" + diff -q "${OUT}.r$((i - 1))" "${OUT}.r${i}" || { ret=1; break; } +done + + 0 != "$ret" || fail_ "Tips do not seem to be randomised" + +# Check that each tip looks sane +i=0 +while "$i" -lt "$MAX_TIPS" ; do + "$STRACE" -qqq -enone $tips_fmt_opt --tips="id:$i" ../sleep 0 2> "${OUT}.${i}" + + j=0 + end_seen=0 + cat $srcdir/strace--tips.exp | while read line; do + j="$((j + 1))" + case "$j" in + 1) pat=' ______________________________________________ '"$(sed_re_escape "$line")";; + 2) pat=' / \\ '"$(sed_re_escape "$line")";; + 3) pat=' | .{44} | '"$(sed_re_escape "$line")";; + 4) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 5) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 6) pat=' | .{44} _\ '"$(sed_re_escape "$line")";; + 7) pat=' | .{44} / '"$(sed_re_escape "$line")";; + *) pat=' | .{44} | '"$(sed_re_escape "$line")";; + esac + end=' \______________________________________________/ '"$(sed_re_escape "$line")" + btm=' '"$(sed_re_escape "$line")" + s=$(tail -n"+$j" "${OUT}.${i}" | head -n1) + + if 0 -ne "$end_seen" ; then + printf '%s' "$s" | grep -Eq "$btm" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against '$btm'" + fi + + printf '%s' "$s" | grep -Eqv "$pat" || continue + if 8 -lt "$j" ; then + printf '%s' "$s" | grep -Eq "$end" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against neither '$pat' nor '$end'" + + if 0 -ne "$TIPS_FULL" ; then + end_seen=1 + else + break + fi + else + fail_ "Can't match line $j of ${OUT}.${i} ('$s')" \ + "against '$pat'" + fi + done + + # Finish when come accross the same tip + if 0 != "$i" ; then + if diff -q "${OUT}.0" "${OUT}.$i"; then + break + fi + fi + i="$((i + 1))" +done + + "$i" -lt "$MAX_TIPS" || \ + fail_ "Cannot find end of tips after $i iterations"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-T_upper.expected
Changed
(renamed from tests/strace-T.expected)
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-T_upper.test
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check -T option. +# +# Copyright (c) 2016-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +T_opt="${1:--T}" + +run_prog ../sleep 0 +run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 +match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace-V.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-V.test
Changed
@@ -38,13 +38,32 @@ features="${option_unwind}${option_demangle}${option_m32}${option_mx32}${option_secontext}" -n "$features" || features=" (none)" -cat > "$EXP" << __EOF__ -$(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) -Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +for i in $(seq 4); do + case "$i" in + 1) opt="-V";; + 2) opt="-V -V -V -V";; + 3) opt="-VVVV -VVVV -VVVV -VVVV";; + 4) opt="-VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";; + esac -Optional features enabled:${features} -__EOF__ + run_strace ${opt} > "${LOG}.${opt}" -match_diff "$OUT" "$EXP" + cat > "${EXP}.${opt}" <<-__EOF__ + $(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) + Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + Optional features enabled:${features} + __EOF__ + + if 3 -le "$i" ; then + cat $srcdir/strauss_head.exp >> "${EXP}.${opt}" + fi + + if 4 -le "$i" ; then + cat $srcdir/strauss_body.exp >> "${EXP}.${opt}" + fi + + match_diff "${LOG}.${opt}" "${EXP}.${opt}" +done
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-Y-0123456789.c
Added
@@ -0,0 +1,1 @@ +#include "strace--decode-pids-comm.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-Y-0123456789.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-no-x.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-no-x.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-no-x -e trace=chdir -a 12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=chdir -a 12
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-p-Y-p.test
Added
@@ -0,0 +1,42 @@ +#!/bin/sh +# +# Check that -p pid1 -Y -p pid2 prints /proc/$pid1/comm properly. +# +# Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +run_prog_skip_if_failed kill -0 $$ +run_prog ../strace-p1-Y-p 0 > /dev/null 3>&1 +run_prog ../strace-p-Y-p2 0 > /dev/null 3>&1 + +run_tracee() +{ + local file + file="$1"; shift + ../set_ptracer_any $@ > /dev/null 3> "$file" & + pid=$! + while ! -s "$file" ; do + kill -0 $pid 2> /dev/null || + fail_ 'set_ptracer_any "$*" failed' + done +} + +run_tracee "$EXP" ../strace-p1-Y-p 2 +pid1=$pid + +run_tracee "$OUT" ../strace-p-Y-p2 3 +pid2=$pid + +run_strace -enone -p "$pid1" -Y -p "$pid2" + +# merge expected output +cat "$OUT" >> "$EXP" + +# filter out unrelated strace output +grep -F +++ "$LOG" > "$OUT" + +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-p-Y-p2.c
Added
@@ -0,0 +1,2 @@ +#define MY_COMM "strace-p-Y-p2" +#include "strace-p1-Y-p.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-p1-Y-p.c
Added
@@ -0,0 +1,43 @@ +/* + * This file is part of strace-p-Y-p strace test. + * + * Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + +#ifndef MY_COMM +# define MY_COMM "strace-p1-Y-p" +#endif + +int +main(int ac, char **av) +{ + if (ac < 2) + error_msg_and_fail("missing operand"); + + if (ac > 2) + error_msg_and_fail("extra operand"); + + static const char proc_self_comm = "/proc/self/comm"; + skip_if_unavailable(proc_self_comm); + + int seconds = atoi(av1); + FILE *fp = fdopen(3, "a"); + if (!fp) + error_msg_and_fail("fdopen(3, \"a\")"); + + fprintf(fp, "%u<%s> +++ exited with 0 +++\n", getpid(), MY_COMM); + fclose(fp); + + if (sleep(seconds)) + perror_msg_and_skip("sleep: %d", seconds); + + return 0; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace-x.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-x.c
Changed
@@ -1,7 +1,7 @@ /* * Test strace's -x option. * - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,14 +12,18 @@ #include <stdio.h> #include <unistd.h> -#ifndef STRACE_XX -# define STRACE_XX 0 +#ifndef STRACE_X +# define STRACE_X 1 #endif -#if STRACE_XX -# define XOUT(x_, xx_) xx_ -#else -# define XOUT(x_, xx_) x_ +#if STRACE_X == 1 +# define XOUT(_, x_chars_, x_, xx_) x_ +#elif STRACE_X == 2 +# define XOUT(_, x_chars_, x_, xx_) xx_ +#elif STRACE_X == 3 +# define XOUT(_, x_chars_, x_, xx_) x_chars_ +#elif STRACE_X == 0 +# define XOUT(_, x_chars_, x_, xx_) _ #endif int @@ -29,25 +33,33 @@ const char *path; const char *out; } test_vecs = { - { "test", XOUT("test", "\\x74\\x65\\x73\\x74") }, + { "test", + XOUT("test", "test", "test", "\\x74\\x65\\x73\\x74") }, { "\t\n\v\f\r hi~", XOUT("\\t\\n\\v\\f\\r hi~", + "\\t\\n\\v\\f\\r hi~", "\\t\\n\\v\\f\\r hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\16 hi~", XOUT( + { "\t\n\v\f\r\16 hi~", XOUT("\\t\\n\\v\\f\\r\\16 hi~", + "\\t\\n\\v\\f\\r\\x0e hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e") }, - { "\10\t\n\v\f\r hi~", XOUT( + { "\10\t\n\v\f\r hi~", XOUT("\\10\\t\\n\\v\\f\\r hi~", + "\\x08\\t\\n\\v\\f\\r hi~", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\37 hi~", XOUT( + { "\t\n\v\f\r\37 hi~", XOUT("\\t\\n\\v\\f\\r\\37 hi~", + "\\t\\n\\v\\f\\r\\x1f hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r hi~\177", XOUT( + { "\t\n\v\f\r hi~\177", XOUT("\\t\\n\\v\\f\\r hi~\\177", + "\\t\\n\\v\\f\\r hi~\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f") }, - { "\t\n\v\f\r hi~\222", XOUT( + { "\t\n\v\f\r hi~\222", XOUT("\\t\\n\\v\\f\\r hi~\\222", + "\\t\\n\\v\\f\\r hi~\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92") }, - { "\t\n\v\f\r hi~\377", XOUT( + { "\t\n\v\f\r hi~\377", XOUT("\\t\\n\\v\\f\\r hi~\\377", + "\\t\\n\\v\\f\\r hi~\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff") }, }; @@ -65,13 +77,19 @@ rc_str = sprintrc(chdir(path)); printf("chdir("); -#if STRACE_XX +#if STRACE_X == 2 print_quoted_hex(path, sizeof(path) - 1); #else +# if STRACE_X != 0 if (((c < ' ') || (c >= 0x7f)) && (c != '\t') && (c != '\n') && (c != '\v') && (c != '\f') && (c != '\r')) +# if STRACE_X == 3 + printf("\"%c\\x%02hhx\"", path0, path1); +# else print_quoted_hex(path, sizeof(path) - 1); +# endif else +# endif print_quoted_string(path); #endif printf(") = %s\n", rc_str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/strace-xx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/strace-xx.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strauss_body.exp
Added
@@ -0,0 +1,26 @@ + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/strauss_head.exp
Added
@@ -0,0 +1,11 @@ + + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | +
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sysctl.c
Added
@@ -0,0 +1,63 @@ +/* + * Check decoding of sysctl syscall. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR__sysctl + +# include <stdio.h> +# include <string.h> +# include <unistd.h> +# include <linux/sysctl.h> + +static const char *errstr; + +static long +k_sysctl(const void *const args) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const long rc = syscall(__NR__sysctl, (uintptr_t) args, + bad, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct __sysctl_args, args); + void *const efault = args + 1; + + k_sysctl(efault); + printf("_sysctl(%p) = %s\n", efault, errstr); + + memset(args, 0, sizeof(*args)); + k_sysctl(args); + printf("_sysctl({name=NULL, nlen=0, oldval=NULL, oldlenp=NULL" + ", newval=NULL, newlen=0}) = %s\n", errstr); + + fill_memory_ex(args, sizeof(*args), 'a', 'z' - 'a' + 1); + args->name = efault; + + k_sysctl(args); + printf("_sysctl({name=%p, nlen=%d, oldval=%p, oldlenp=%p" + ", newval=%p, newlen=%llu}) = %s\n", + args->name, args->nlen, args->oldval, args->oldlenp, + args->newval, (unsigned long long) args->newlen, errstr); + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR__sysctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/sysctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sysctl -a16 --trace=_sysctl); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a16 --trace=_sysctl
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/test_netlink.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/test_netlink.h
Changed
@@ -42,8 +42,8 @@ \ { __VA_ARGS__; } \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/test_nlattr.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/test_nlattr.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -8,10 +8,12 @@ #include "tests.h" #include "print_fields.h" +#include <inttypes.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <sys/socket.h> +#include <unistd.h> #include "netlink.h" #include <linux/rtnetlink.h> @@ -97,8 +99,8 @@ if ((nla_total_len_) > (nla_data_len_)) \ printf(""); \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NLATTR_(fd_, nlh0_, hdrlen_, \ @@ -169,6 +171,15 @@ (pattern_), (obj_), sizeof(obj_), \ print_quoted_hex, __VA_ARGS__) +#define TEST_NLATTR_OBJECT_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, pattern_, obj_, ...) \ + TEST_NLATTR_OBJECT_EX_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + print_quoted_hex, __VA_ARGS__) + #define TEST_NLATTR_OBJECT_MINSZ(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, minsz_, ...) \ @@ -178,9 +189,10 @@ (pattern_), (obj_), (minsz_), \ print_quoted_hex, __VA_ARGS__) -#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, print_elem_) \ +#define TEST_NLATTR_ARRAY_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ @@ -188,18 +200,18 @@ /* len < sizeof((obj_)0) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ plen, (pattern_), plen, \ print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -207,12 +219,12 @@ /* short read of sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -222,62 +234,80 @@ /* sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf("")); \ } while (0) -#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, nla_type_str_, \ - pattern_, obj_, fallback_func, \ - depth_, ...) \ +#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, print_elem_) \ + TEST_NLATTR_ARRAY_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, \ + (pattern_), (obj_), (print_elem_)) + +#define TEST_NESTED_NLATTR_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + nla_data_len_, src_, slen_, depth_, ...) \ + TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * (depth_), \ + (hdrlen_) + NLA_HDRLEN * (depth_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (nla_data_len_), (src_), (slen_), \ + __VA_ARGS__; \ + for (size_t i = 0; i < (depth_); ++i) \ + printf("")) + +#define TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, minsz_, \ + fallback_func, depth_, ...) \ do { \ const unsigned int plen = \ sizeof(obj_) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \ /* len < sizeof(obj_) */ \ if (plen > 0) \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - plen, (pattern_), plen, \ - (fallback_func)((pattern_), plen); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + plen, (pattern_), plen, (depth_), \ + (fallback_func)((pattern_), plen)); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - (pattern_), sizeof(obj_) - 1, \ - printf("%p", RTA_DATA(TEST_NLATTR_nla)); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), (pattern_), (minsz_) - 1, (depth_), \ + printf("%p", RTA_DATA(TEST_NLATTR_nla))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ - __VA_ARGS__; \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ + __VA_ARGS__); \ } while (0) +#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, \ + fallback_func, depth_, ...) \ + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + (fallback_func), (depth_), \ + __VA_ARGS__) + #define TEST_NESTED_NLATTR_OBJECT_EX(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, \ @@ -299,75 +329,71 @@ print_quoted_hex, 1, \ __VA_ARGS__) -#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, depth_, \ - print_elem_) \ +#define TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, depth_, \ + print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof((obj_)0) - 1; \ /* len < sizeof((obj_)0) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - plen, (pattern_), plen, \ - print_quoted_hex((pattern_), plen); \ - for (size_t i = 0; i < depth_; ++i) \ - printf("")); \ + (nla_type_), (nla_type_str_), \ + plen, (pattern_), plen, (depth_), \ + print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf(", ... /* %p */", \ RTA_DATA(TEST_NLATTR_nla) \ - + sizeof(obj_) - sizeof((obj_)0)); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + + sizeof(obj_) - sizeof((obj_)0))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ + (nla_type_), (nla_type_str_), \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ } while (0) +#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, depth_, \ + print_elem_) \ + TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, #nla_type_, pattern_, \ + obj_, depth_, print_elem_) + #define TEST_NESTED_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, print_elem_)\ @@ -375,3 +401,125 @@ (init_msg_), (print_msg_), \ nla_type_, (pattern_), (obj_), 1, \ (print_elem_)) + + +/* Checks for specific typical decoders */ +#define DEF_NLATTR_INTEGER_CHECK_(nla_data_name_, nla_data_type_, fmt_) \ + static inline void \ + check_##nla_data_name_##_nlattr(int fd, void *nlh0, size_t hdrlen, \ + void (*init_msg)(struct nlmsghdr *, \ + unsigned int), \ + void (*print_msg)(unsigned int), \ + unsigned int nla_type, \ + const char *nla_type_str, \ + void *pattern, size_t depth) \ + { \ + static const nla_data_type_ vecs = { \ + (nla_data_type_) 0, \ + (nla_data_type_) 1, \ + (nla_data_type_) 0xdeadfacebeeffeedULL, \ + }; \ + static char bufsizeof(nla_data_type_) + 8; \ + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { \ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + pattern, vecsi, \ + print_quoted_hex, depth, \ + printf(fmt_, vecsi)); \ + fill_memory(buf, sizeof(buf)); \ + memcpy(buf, vecs + i, sizeof(vecsi)); \ + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, \ + hdrlen + NLA_HDRLEN * depth, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + sizeof(vecsi) + 8, \ + buf, sizeof(vecsi) + 8, \ + printf(fmt_, vecsi); \ + for (size_t i = 0; i < depth; i++) \ + printf("")); \ + } \ + } + +DEF_NLATTR_INTEGER_CHECK_(u8, uint8_t, "%hhu") +DEF_NLATTR_INTEGER_CHECK_(u16, uint16_t, "%hu") +DEF_NLATTR_INTEGER_CHECK_(u32, uint32_t, "%u") +DEF_NLATTR_INTEGER_CHECK_(u64, uint64_t, "%" PRIu64) + +DEF_NLATTR_INTEGER_CHECK_(x16, uint16_t, "%#hx") +DEF_NLATTR_INTEGER_CHECK_(x32, uint32_t, "%#x") + +#define TEST_NLATTR_VAL(type_, fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, depth_) \ + check_##type_##_nlattr((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, (pattern_), (depth_)) + +static inline void +check_clock_t_nlattr(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + unsigned int nla_type, const char *nla_type_str, + size_t depth) +{ + static const uint64_t vecs = { 0, 1, 9, 10, 99, 100, 249, 250, 999, + 1000, 1023, 1024, 0xdefacebeeffedULL }; + static char bufsizeof(uint64_t) + 1; +#if !XLAT_RAW + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + } +#endif + + fill_memory(buf, sizeof(buf)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecs0) + 1, buf, sizeof(vecs0) + 1, + print_quoted_hex(buf, sizeof(vecs0) + 1); + for (size_t i = 0; i < depth; i++) + printf("")); + + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { + memcpy(buf, vecs + i, sizeof(vecsi)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecsi), + buf, sizeof(vecsi), + printf("%" PRIu64, vecsi); +#if !XLAT_RAW + if (i) + printf(" /* %.*f s */", precision, + (double) vecsi / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } + for (size_t i = 1; i < sizeof(vecs0); i++) { + uint64_t val = vecsARRAY_SIZE(vecs) - 1 & MASK64(i * 8); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + i, buf + BE_LE(sizeof(vecs0) - i, 0), i, + printf("%" PRIu64, val); +#if !XLAT_RAW + printf(" /* %.*f s */", precision, + (double) val / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/test_printpath.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/test_printpath.c
Changed
@@ -2,7 +2,7 @@ * Test printpath/umovestr. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,7 @@ * / * /. * /.. - * /... + * /../ * /../. * /../.. * /../../ @@ -32,8 +32,7 @@ char *const eop = p + (test_max - 1); *eop = '\0'; - unsigned int i; - for (i = 1; i < test_max; ++i) { + for (unsigned int i = 1; i < test_max; ++i) { const unsigned int i_1 = i - 1; memmove(eop - i, eop - i_1, i_1); eop-1 = "/.."i_1 % 3; @@ -81,10 +80,9 @@ */ const unsigned int page_size = get_page_size(); char *p = tail_alloc(test_max + page_size); - unsigned int i; - for (i = 1; i < sizeof(long); ++i) + for (unsigned int i = 1; i < sizeof(long); ++i) test_printpath_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printpath_at(p + page_size - i, test_max); test_efault(test_max); test_enametoolong();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/test_printstrn.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/test_printstrn.c
Changed
@@ -27,9 +27,7 @@ static void test_printstrn_at(char *const p, const unsigned int test_max) { - unsigned int i; - - for (i = 0; i <= test_max; ++i) { + for (unsigned int i = 0; i <= test_max; ++i) { add_key(p + (test_max - i), i); printf("add_key(NULL, NULL, \"%.*s\", %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -42,11 +40,9 @@ { char *p = tail_alloc(test_max); memset(p, '/', test_max); - unsigned int i; - for (i = 0; i <= test_max; ++i) { - unsigned int j; - for (j = 1; j <= sizeof(long); ++j) { + for (unsigned int i = 0; i <= test_max; ++i) { + for (unsigned int j = 1; j <= sizeof(long); ++j) { add_key(p + (test_max - i), i + j); printf("add_key(NULL, NULL, %p, %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -82,16 +78,15 @@ char *p = tail_alloc(test_max + page_size); fill_memory_ex(p, test_max + page_size, 'a', 'z' - 'a' + 1); - unsigned int i; - for (i = 1; i <= sizeof(long); ++i) + for (unsigned int i = 1; i <= sizeof(long); ++i) test_printstrn_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printstrn_at(p + page_size - i, test_max); test_efault(test_max); fill_memory_ex(p, test_max + page_size, 0x00, 0xFF); /* Test corner cases when octal quoting goes before digit */ - for (i = 0; i < 11; i++) + for (unsigned int i = 0; i < 11; ++i) p2 + 3 * i = '0' + i - 1; test_print_memory(p, test_max);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/tests.h -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/tests.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -49,47 +49,68 @@ # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) +# define XLAT_KNOWN_FMT(val_, str_) val_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ + # define XLAT_FMT "%#x" +# define XLAT_FMT_D "%d" +# define XLAT_FMT_U "%u" +# define XLAT_FMT_L "%#lx" # define XLAT_FMT_LL "%#llx" # define XLAT_ARGS(a_) (a_) +# define XLAT_ARGS_U(a_) (unsigned int) (a_) # define XLAT_SEL(v_, s_) v_ -# define ABBR(s_) "" -# define RAW(s_) s_ -# define VERB(s_) "" -# define NABBR(s_) s_ -# define NRAW(s_) "" -# define NVERB(s_) s_ +# define ABBR(...) +# define RAW(...) __VA_ARGS__ +# define VERB(...) +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) +# define NVERB(...) __VA_ARGS__ # elif XLAT_VERBOSE # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) " /* " str_ " */" # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) val_ " /* " str_ " */" +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%#x /* %s */" +# define XLAT_FMT_D "%d /* %s */" +# define XLAT_FMT_U "%u /* %s */" +# define XLAT_FMT_L "%#lx /* %s */" # define XLAT_FMT_LL "%#llx /* %s */" # define XLAT_ARGS(a_) a_, #a_ +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ # define XLAT_SEL(v_, s_) v_, s_ -# define ABBR(s_) "" -# define RAW(s_) "" -# define VERB(s_) s_ -# define NABBR(s_) s_ -# define NRAW(s_) s_ -# define NVERB(s_) "" +# define ABBR(...) +# define RAW(...) +# define VERB(...) __VA_ARGS__ +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) # else /* !XLAT_RAW && !XLAT_VERBOSE */ # define XLAT_KNOWN(val_, str_) str_ # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) str_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%s" +# define XLAT_FMT_D "%s" +# define XLAT_FMT_U "%s" +# define XLAT_FMT_L "%s" # define XLAT_FMT_LL "%s" # define XLAT_ARGS(a_) #a_ +# define XLAT_ARGS_U(a_) #a_ # define XLAT_SEL(v_, s_) s_ -# define ABBR(s_) s_ -# define RAW(s_) "" -# define VERB(s_) "" -# define NABBR(s_) "" -# define NRAW(s_) s_ -# define NVERB(s_) s_ +# define ABBR(...) __VA_ARGS__ +# define RAW(...) +# define VERB(...) +# define NABBR(...) +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) __VA_ARGS__ # endif /* XLAT_RAW, XLAT_VERBOSE */ # define XLAT_STR(v_) sprintxlat(#v_, v_, NULL) @@ -97,11 +118,23 @@ # define ARG_XLAT_KNOWN(val_, str_) val_, XLAT_KNOWN(val_, str_) # define ARG_XLAT_UNKNOWN(val_, str_) val_, XLAT_UNKNOWN(val_, str_) +# define ENUM_KNOWN(val_, enum_) enum_, XLAT_KNOWN(val_, #enum_) + # ifndef DEFAULT_STRLEN /* Default maximum # of bytes printed in printstr et al. */ # define DEFAULT_STRLEN 32 # endif +struct strval8 { + uint8_t val; + const char *str; +}; + +struct strval16 { + uint16_t val; + const char *str; +}; + struct strval32 { uint32_t val; const char *str; @@ -135,7 +168,7 @@ # define perror_msg_and_fail(fmt_, ...) \ perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif -# ifndef perror_msg_and_fail +# ifndef error_msg_and_fail # define error_msg_and_fail(fmt_, ...) \ error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif @@ -179,18 +212,10 @@ * and followed also by an unmapped page. */ void *tail_alloc(const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((1)) -# endif - ; + ATTRIBUTE_MALLOC; /* Allocate memory using tail_alloc, then memcpy. */ void *tail_memdup(const void *, const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((2)) -# endif - ; + ATTRIBUTE_MALLOC; # define midtail_alloc(after_, before_) \ ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_))) @@ -204,6 +229,14 @@ type_name *const type_ptr = tail_alloc(sizeof(*type_ptr)) /* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified constant pointer. + */ +# define TAIL_ALLOC_OBJECT_CONST_ARR(type_name, type_ptr, cnt) \ + type_name *const type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + +/* * Allocate an object of the specified type at the end * of a mapped memory region. * Assign its address to the specified variable pointer. @@ -211,6 +244,14 @@ # define TAIL_ALLOC_OBJECT_VAR_PTR(type_name, type_ptr) \ type_name *type_ptr = tail_alloc(sizeof(*type_ptr)) +/* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified variable pointer. + */ +# define TAIL_ALLOC_OBJECT_VAR_ARR(type_name, type_ptr, cnt) \ + type_name *type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + /** * Fill memory (pointed by ptr, having size bytes) with different bytes (with * values starting with start and resetting every period) in order to catch @@ -230,6 +271,13 @@ unsigned int period); /** Shortcut for fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000) */ void fill_memory32(void *ptr, size_t size); +/** Variant of fill_memory_ex for arrays of 64-bit (8-byte) values. */ +void fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period); +/** + * Shortcut for + * fill_memory64_ex(ptr, size, 0x8090a0b0c0d0e0f0, 0x8000000000000000) + */ +void fill_memory64(void *ptr, size_t size); /* Close stdin, move stdout to a non-standard descriptor, and print. */ @@ -282,6 +330,9 @@ /* Print time_t and microseconds in symbolic format. */ void print_time_t_usec(time_t, unsigned long long, int); +/* Put a formatted clock_t string representation into a string. */ +const char *clock_t_str(uint64_t val, char *str, size_t str_size); + /* Read an int from the file. */ int read_int_from_file(const char *, int *); @@ -417,8 +468,10 @@ int main(void) { error_msg_and_skip("undefined: %s", arg); } # ifdef WORDS_BIGENDIAN +# define BE_LE(be_, le_) be_ # define LL_PAIR(HI, LO) (HI), (LO) # else +# define BE_LE(be_, le_) le_ # define LL_PAIR(HI, LO) (LO), (HI) # endif # define LL_VAL_TO_PAIR(llval) LL_PAIR((long) ((llval) >> 32), (long) (llval))
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/time_enjoyment.h
Added
@@ -0,0 +1,66 @@ +#ifndef STRACE_TESTS_TIME_ENJOYMENT_H +#define STRACE_TESTS_TIME_ENJOYMENT_H + +#include <fcntl.h> +#include <sched.h> +#include <time.h> +#include <sys/types.h> +#include <sys/stat.h> + +enum { + NUM_USER_ITERS_SQRT = 2000, + NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, + READ_BUF_SIZE = 65536, + READ_ITER = 128, +}; + +static inline uint64_t +nsecs(struct timespec *ts) +{ + return (uint64_t) ts->tv_sec * 1000000000 + ts->tv_nsec; +} + +static inline void +enjoy_time(uint64_t cputime_limit) +{ + struct timespec ts = { 0 }; + volatile int dummy = 0; + + /* Enjoying my user time */ + for (size_t i = 0; i < NUM_USER_ITERS_SQRT; ++i) { + if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + if (nsecs(&ts) >= cputime_limit) + break; + } + + for (size_t j = 0; j < NUM_USER_ITERS; ++j) + ++dummy; + } + + /* Enjoying my system time */ + ssize_t ret; + int fd; + char bufREAD_BUF_SIZE; + + while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + for (size_t i = 0; i < READ_ITER; i++) { + /* We are fine even if the calls fail. */ + fd = open("/proc/self/status", O_RDONLY); + /* + * Working around "ignoring return value of 'read' + * declared with attribute 'warn_unused_result'". + */ + ret = read(fd, buf, sizeof(buf)); + close(fd); + if (ret) + continue; + } + + if (nsecs(&ts) >= cputime_limit * 3) + break; + + sched_yield(); + } +} + +#endif /* !STRACE_TESTS_TIME_ENJOYMENT_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xabbrev -esignal=none -e trace=times -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xraw -esignal=none -e trace=times -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/times-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xverbose -esignal=none -e trace=times -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/times.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/times.c
Changed
@@ -1,9 +1,9 @@ /* * Check decoding of times syscall. * - * Copyright (c) 2015 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2015-2021 Eugene Syromyatnikov <evgsyr@gmail.com> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,57 +16,37 @@ */ #include "tests.h" +#include <fcntl.h> #include <sched.h> #include <stdio.h> #include <time.h> #include <unistd.h> #include "scno.h" +#include <sys/stat.h> #include <sys/times.h> +#include <sys/types.h> #include <sys/wait.h> +#include "time_enjoyment.h" + enum { - NUM_USER_ITERS_SQRT = 1000, - NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, - PARENT_CPUTIME_LIMIT_NSEC = 200000000, - CHILD_CPUTIME_LIMIT_NSEC = 300000000 + PARENT_CPUTIME_LIMIT_NSEC = 300000000, + CHILD_CPUTIME_LIMIT_NSEC = 500000000, }; int main(void) { - struct timespec ts; - volatile int dummy = 0; - int i = 0; + enjoy_time(PARENT_CPUTIME_LIMIT_NSEC); pid_t pid = fork(); if (pid < 0) perror_msg_and_fail("fork"); - const long cputime_limit = - pid ? PARENT_CPUTIME_LIMIT_NSEC : CHILD_CPUTIME_LIMIT_NSEC; - - /* Enjoying my user time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit) - break; - - if ((i > NUM_USER_ITERS_SQRT) && !(ts.tv_sec || ts.tv_nsec)) - error_msg_and_skip("clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 0})"); - - for (i = 0; i < NUM_USER_ITERS; ++i) - ++dummy; - } - - /* Enjoying my system time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit * 2) - break; - - sched_yield(); - } - if (pid == 0) { + enjoy_time(CHILD_CPUTIME_LIMIT_NSEC); + return 0; } else { wait(NULL); @@ -107,13 +87,41 @@ llres = (unsigned long) res; #endif - printf("times({tms_utime=%llu, tms_stime=%llu, ", - (unsigned long long) tbuf.tms_utime, - (unsigned long long) tbuf.tms_stime); - printf("tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", - (unsigned long long) tbuf.tms_cutime, - (unsigned long long) tbuf.tms_cstime, - llres); + long clk_tck = sysconf(_SC_CLK_TCK); + int precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + + if (!XLAT_RAW && clk_tck > 0) { + printf("times({tms_utime=%llu /* %.*f s */" + ", tms_stime=%llu /* %.*f s */" + ", tms_cutime=%llu /* %.*f s */" + ", tms_cstime=%llu /* %.*f s */}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + precision, (double) tbuf.tms_utime / clk_tck, + (unsigned long long) tbuf.tms_stime, + precision, (double) tbuf.tms_stime / clk_tck, + (unsigned long long) tbuf.tms_cutime, + precision, (double) tbuf.tms_cutime / clk_tck, + (unsigned long long) tbuf.tms_cstime, + precision, (double) tbuf.tms_cstime / clk_tck, + llres); + } else { + printf("times({tms_utime=%llu, tms_stime=%llu" + ", tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + (unsigned long long) tbuf.tms_stime, + (unsigned long long) tbuf.tms_cutime, + (unsigned long long) tbuf.tms_cstime, + llres); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/trace_clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'clock_nanosleep|times' -e%clock +test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_all_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_32 +qualify_personality_all.sh 32); do not edit. +set -- 32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_all_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_64 +qualify_personality_all.sh 64); do not edit. +set -- 64 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_all_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_x32 +qualify_personality_all.sh x32); do not edit. +set -- x32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_64.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_number_x32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/trace_personality_regex_32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_regex_32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/trace_personality_regex_64.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_regex_64.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 64 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 64 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/trace_personality_regex_x32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_regex_x32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- x32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- x32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs'); do not edit. +set -- 32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs'); do not edit. +set -- 64 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_64.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs'); do not edit. +set -- x32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/trace_personality_statfs_x32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/unix-pair-send-recv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/unix-pair-send-recv.c
Changed
@@ -48,9 +48,7 @@ static void transpose(char *str, const size_t len) { - size_t i; - - for (i = 0; i < len / 2; ++i) { + for (size_t i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/unix-pair-sendto-recvfrom.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/unix-pair-sendto-recvfrom.c
Changed
@@ -18,9 +18,7 @@ static void transpose(char *str, int len) { - int i; - - for (i = 0; i < len / 2; ++i) { + for (int i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/unshare.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/unshare.c
Changed
@@ -33,14 +33,11 @@ { ARG_STR(0x81f8f07f) " /* CLONE_??? */" }, }; - long rc; - unsigned int i; - - rc = syscall(__NR_unshare, bogus_flags); + long rc = syscall(__NR_unshare, bogus_flags); printf("unshare(%#llx /* CLONE_??? */) = %s\n", (unsigned long long) bogus_flags, sprintrc(rc)); - for (i = 0; i < ARRAY_SIZE(unshare_flags); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(unshare_flags); ++i) { rc = syscall(__NR_unshare, unshare_flagsi.val); printf("unshare(%s) = %s\n", unshare_flagsi.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/vfork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/vfork-f.c
Changed
@@ -13,7 +13,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/waitid-Y.c
Added
@@ -0,0 +1,3 @@ +#define MY_COMM "<waitid-Y>" +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#include "waitid.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-m32/waitid-Y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (waitid-Y -Y -e signal=none -e trace=waitid); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y -e signal=none -e trace=waitid
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/waitid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/waitid.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of waitid syscall. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,13 @@ #include "kernel_rusage.h" #include "scno.h" +#ifndef MY_COMM +# define MY_COMM "" +#endif +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + static const char * sprint_rusage(const kernel_rusage_t *const ru) { @@ -97,23 +104,30 @@ } static const char * -sprint_siginfo(const siginfo_t *const si, const char *const status_text) +sprint_siginfo(const siginfo_t *const si, const char *const status_text, + const char *const comm) { static char buf1024; + char utime_str64; + char stime_str64; + snprintf(buf, sizeof(buf), "{si_signo=SIGCHLD" ", si_code=%s" - ", si_pid=%d" + ", si_pid=%d%s" ", si_uid=%d" ", si_status=%s" - ", si_utime=%llu" - ", si_stime=%llu}", + ", si_utime=%s" + ", si_stime=%s}", si_code_2_name(si->si_code), si->si_pid, + comm, si->si_uid, status_text, - zero_extend_signed_to_ull(si->si_utime), - zero_extend_signed_to_ull(si->si_stime)); + clock_t_str(zero_extend_signed_to_ull(si->si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(si->si_stime), + ARRSZ_PAIR(stime_str))); return buf; } @@ -123,6 +137,8 @@ return (unsigned long) 0xfacefeed00000000ULL | v; } +static const char *errstr; + static long do_waitid(const unsigned int idtype, const unsigned int id, @@ -137,12 +153,15 @@ long rc = syscall(__NR_waitid, poison(idtype), poison(id), infop, poison(options), rusage); assert(sigprocmask(SIG_UNBLOCK, &mask, NULL) == 0); + errstr = sprintrc(rc); return rc; } int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + tprintf("%s", ""); int fds2; @@ -165,23 +184,24 @@ if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) perror_msg_and_fail("waitid #1"); - tprintf("waitid(P_PID, %d, NULL, WNOHANG|WEXITED, NULL) = 0\n", pid); + tprintf("waitid(P_PID, %d%s, NULL, WNOHANG|WEXITED, NULL) = 0\n", + pid, MY_COMM); TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sinfo); memset(sinfo, 0, sizeof(*sinfo)); TAIL_ALLOC_OBJECT_CONST_PTR(kernel_rusage_t, rusage); if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) perror_msg_and_fail("waitid #2"); - tprintf("waitid(P_PID, %d, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", - pid, sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_rusage(rusage)); assert(write(1, "", 1) == 1); (void) close(1); if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #3"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "42", ""), sprint_rusage(rusage)); pid = fork(); if (pid < 0) @@ -194,8 +214,9 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #4"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGUSR1"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGUSR1", ""), + sprint_rusage(rusage)); if (pipe(fds)) perror_msg_and_fail("pipe"); @@ -215,8 +236,9 @@ if (do_waitid(P_PID, pid, sinfo, WSTOPPED, rusage)) perror_msg_and_fail("waitid #5"); - tprintf("waitid(P_PID, %d, %s, WSTOPPED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGSTOP"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGSTOP", MY_COMM), + sprint_rusage(rusage)); if (kill(pid, SIGCONT)) perror_msg_and_fail("kill(SIGCONT)"); @@ -224,8 +246,9 @@ #if defined WCONTINUED if (do_waitid(P_PID, pid, sinfo, WCONTINUED, rusage)) perror_msg_and_fail("waitid #6"); - tprintf("waitid(P_PID, %d, %s, WCONTINUED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGCONT"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WCONTINUED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGCONT", MY_COMM), + sprint_rusage(rusage)); #endif /* WCONTINUED */ assert(write(1, "", 1) == 1); @@ -233,12 +256,18 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #7"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "0"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "0", ""), + sprint_rusage(rusage)); + + pid_t pgid = getpgid(pid); + do_waitid(P_PGID, pgid, sinfo, WEXITED, rusage); + tprintf("waitid(P_PGID, %d, %p, WEXITED, %p) = %s\n", + pgid, sinfo, rusage, errstr); - long rc = do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); - tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p)" - " = %ld %s (%m)\n", sinfo, rusage, rc, errno2name()); + do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); + tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p) = %s\n", + sinfo, rusage, errstr); tprintf("%s\n", "+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/xchownx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/xchownx.c
Changed
@@ -108,10 +108,9 @@ CLEANUP_CMD; - unsigned int i; long expected = 0; - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int unum = ugid2int(testsi.uid); const unsigned int gnum = ugid2int(testsi.gid);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-m32/xstatx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-m32/xstatx.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -258,28 +258,44 @@ printf(", stx_attributes="); printflags(statx_attrs, st->stx_attributes, "STATX_ATTR_???"); - printf(", "); - PRINT_FIELD_U(*st, stx_nlink); - PRINT_FIELD_U32_UID(stx_uid); - PRINT_FIELD_U32_UID(stx_gid); - - printf(", stx_mode="); - print_st_mode(st->stx_mode); + if (st->stx_mask & STATX_NLINK) { + printf(", "); + PRINT_FIELD_U(*st, stx_nlink); + } + if (st->stx_mask & STATX_UID) + PRINT_FIELD_U32_UID(stx_uid); + if (st->stx_mask & STATX_GID) + PRINT_FIELD_U32_UID(stx_gid); + + if (st->stx_mask & (STATX_TYPE|STATX_MODE)) { + printf(", stx_mode="); + print_st_mode(st->stx_mode); + } - printf(", "); - PRINT_FIELD_U(*st, stx_ino); - printf(", "); - PRINT_FIELD_U(*st, stx_size); - printf(", "); - PRINT_FIELD_U(*st, stx_blocks); + if (st->stx_mask & STATX_INO) { + printf(", "); + PRINT_FIELD_U(*st, stx_ino); + } + if (st->stx_mask & STATX_SIZE) { + printf(", "); + PRINT_FIELD_U(*st, stx_size); + } + if (st->stx_mask & STATX_BLOCKS) { + printf(", "); + PRINT_FIELD_U(*st, stx_blocks); + } printf(", stx_attributes_mask="); printflags(statx_attrs, st->stx_attributes_mask, "STATX_ATTR_???"); - PRINT_FIELD_TIME(stx_atime); - PRINT_FIELD_TIME(stx_btime); - PRINT_FIELD_TIME(stx_ctime); - PRINT_FIELD_TIME(stx_mtime); + if (st->stx_mask & STATX_ATIME) + PRINT_FIELD_TIME(stx_atime); + if (st->stx_mask & STATX_BTIME) + PRINT_FIELD_TIME(stx_btime); + if (st->stx_mask & STATX_CTIME) + PRINT_FIELD_TIME(stx_ctime); + if (st->stx_mask & STATX_MTIME) + PRINT_FIELD_TIME(stx_mtime); printf(", "); PRINT_FIELD_U(*st, stx_rdev_major); printf(", "); @@ -288,6 +304,16 @@ PRINT_FIELD_U(*st, stx_dev_major); printf(", "); PRINT_FIELD_U(*st, stx_dev_minor); + if (st->stx_mask & STATX_MNT_ID) { + printf(", "); + PRINT_FIELD_X(*st, stx_mnt_id); + } + if (st->stx_mask & STATX_DIOALIGN) { + printf(", "); + PRINT_FIELD_U(*st, stx_dio_mem_align); + printf(", "); + PRINT_FIELD_U(*st, stx_dio_offset_align); + } printf("}"); } @@ -476,12 +502,12 @@ TEST_SYSCALL_STATX_FLAGS_STR = old_flags_str; SET_MASK_INVOKE(0, "0"); - SET_MASK_INVOKE(0xffffe000U, "0xffffe000 /* STATX_??? */"); + SET_MASK_INVOKE(0xffffc000U, "0xffffc000 /* STATX_??? */"); SET_MASK_INVOKE(0xfffffffbU, "STATX_TYPE|STATX_MODE|STATX_UID|STATX_GID|STATX_ATIME|" "STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|" - "STATX_BTIME|STATX_MNT_ID|0xffffe000"); + "STATX_BTIME|STATX_MNT_ID|STATX_DIOALIGN|0xffffc000"); SET_MASK_INVOKE(STATX_UID, "STATX_UID");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/COPYING -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/COPYING
Changed
@@ -1,4 +1,4 @@ -Copyright (c) 2011-2021 The strace developers. +Copyright (c) 2011-2022 The strace developers. All rights reserved. strace test suite is free software; you can redistribute it and/or modify
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/Makefile.am
Changed
@@ -1,7 +1,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,7 +11,9 @@ ARCH = @arch_mx32@ KARCH = @karch_mx32@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ SIZEOF_LONG = 4 MPERS_NAME = mx32 MPERS_CC_FLAGS = @CFLAGS_FOR_MX32@ @cc_flags_mx32@ @@ -31,8 +33,11 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) if HAVE_MX32_SELINUX_RUNTIME @@ -42,6 +47,7 @@ endif libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -88,7 +94,7 @@ # end of libtests_a_SOURCES libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} include pure_executables.am @@ -98,6 +104,10 @@ $(secontext_EXECUTABLES) \ _newselect-P \ answer \ + arch_prctl-success \ + arch_prctl-success-Xabbrev \ + arch_prctl-success-Xraw \ + arch_prctl-success-Xverbose \ attach-f-p \ attach-f-p-cmd \ attach-p-cmd-cmd \ @@ -150,6 +160,10 @@ gettid--pidns-translation \ inject-nf \ int_0x80 \ + io_uring_register-success \ + io_uring_register-success-Xabbrev \ + io_uring_register-success-Xraw \ + io_uring_register-success-Xverbose \ ioctl_block--pidns-translation \ ioctl_dm-v \ ioctl_evdev-success \ @@ -188,13 +202,38 @@ ioctl_hdio-success-v-Xabbrev \ ioctl_hdio-success-v-Xraw \ ioctl_hdio-success-v-Xverbose \ + ioctl_kd-success \ + ioctl_kd-success-Xabbrev \ + ioctl_kd-success-Xraw \ + ioctl_kd-success-Xverbose \ + ioctl_kd-success-s1024 \ + ioctl_kd-success-s1024-Xabbrev \ + ioctl_kd-success-s1024-Xraw \ + ioctl_kd-success-s1024-Xverbose \ + ioctl_lirc-success \ ioctl_loop-nv \ ioctl_loop-v \ ioctl_mtd-success \ ioctl_nsfs \ ioctl_perf-success \ + ioctl_ptp-success \ + ioctl_ptp-success-Xabbrev \ + ioctl_ptp-success-Xraw \ + ioctl_ptp-success-Xverbose \ ioctl_rtc-success \ ioctl_rtc-v \ + ioctl_seccomp \ + ioctl_seccomp--pidns-translation \ + ioctl_seccomp-success \ + ioctl_seccomp-y \ + ioctl_seccomp-y-success \ + ioctl_seccomp-y-success--pidns-translation \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev \ + ioctl_seccomp-y-success--pidns-translation-Xraw \ + ioctl_seccomp-y-success--pidns-translation-Xverbose \ + ioctl_seccomp-y-success-Xabbrev \ + ioctl_seccomp-y-success-Xraw \ + ioctl_seccomp-y-success-Xverbose \ ioctl_ubi-success \ ioctl_v4l2-success \ ioctl_v4l2-success-Xabbrev \ @@ -254,13 +293,13 @@ prctl-sched-core--pidns-translation-Xraw \ prctl-sched-core--pidns-translation-Xverbose \ prctl-sched-core-success \ - prctl-sched-core-success-Xabbrev \ - prctl-sched-core-success-Xraw \ - prctl-sched-core-success-Xverbose \ prctl-sched-core-success--pidns-translation \ prctl-sched-core-success--pidns-translation-Xabbrev \ prctl-sched-core-success--pidns-translation-Xraw \ prctl-sched-core-success--pidns-translation-Xverbose \ + prctl-sched-core-success-Xabbrev \ + prctl-sched-core-success-Xraw \ + prctl-sched-core-success-Xverbose \ prctl-seccomp-filter-v \ prctl-seccomp-strict \ prctl-securebits-success \ @@ -268,14 +307,22 @@ prctl-securebits-success-Xraw \ prctl-securebits-success-Xverbose \ prctl-set-ptracer-success \ - prctl-set-ptracer-success-Xabbrev \ - prctl-set-ptracer-success-Xraw \ - prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success--pidns-translation \ + prctl-set-ptracer-success-Xabbrev \ prctl-set-ptracer-success-Xabbrev--pidns-translation \ + prctl-set-ptracer-success-Xraw \ prctl-set-ptracer-success-Xraw--pidns-translation \ + prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success-Xverbose--pidns-translation \ + prctl-sme-success \ + prctl-sme-success-Xabbrev \ + prctl-sme-success-Xraw \ + prctl-sme-success-Xverbose \ prctl-spec-inject \ + prctl-sve-success \ + prctl-sve-success-Xabbrev \ + prctl-sve-success-Xraw \ + prctl-sve-success-Xverbose \ prctl-tagged-addr-success \ prctl-tagged-addr-success-Xabbrev \ prctl-tagged-addr-success-Xraw \ @@ -310,6 +357,9 @@ scm_rights \ seccomp-filter-v \ seccomp-strict \ + seccomp_get_notif_sizes-success \ + segv_accerr \ + segv_pkuerr \ select-P \ set_ptracer_any \ set_sigblock \ @@ -319,11 +369,19 @@ signal_receive--pidns-translation \ sleep \ so_peercred--pidns-translation \ + sockopt-sol_socket-success \ + sockopt-sol_socket-success-Xabbrev \ + sockopt-sol_socket-success-Xraw \ + sockopt-sol_socket-success-Xverbose \ stack-fcall \ stack-fcall-attach \ stack-fcall-mangled \ status-none-threads \ status-unfinished-threads \ + strace--decode-pids-comm \ + strace-Y-0123456789 \ + strace-p-Y-p2 \ + strace-p1-Y-p \ syslog-success \ tgkill--pidns-translation \ threads-execve \ @@ -339,6 +397,7 @@ unix-pair-sendto-recvfrom \ vfork-f \ wait4-v \ + waitid-Y \ waitid-v \ xet_robust_list--pidns-translation \ xetpgid--pidns-translation \ @@ -347,6 +406,10 @@ # end of check_PROGRAMS attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -364,6 +427,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -379,6 +443,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -535,6 +602,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -543,11 +612,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -580,6 +650,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -587,6 +658,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -612,11 +684,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -627,6 +701,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -657,12 +732,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -672,8 +748,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -681,9 +760,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/Makefile.in
Changed
@@ -17,7 +17,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -108,10 +108,13 @@ @USE_BUNDLED_HEADERS_TRUE@ -I$(top_srcdir)/bundled/$(OS)/include/uapi check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) _newselect-P$(EXEEXT) \ - answer$(EXEEXT) attach-f-p$(EXEEXT) attach-f-p-cmd$(EXEEXT) \ - attach-p-cmd-cmd$(EXEEXT) attach-p-cmd-p$(EXEEXT) \ - block_reset_raise_run$(EXEEXT) block_reset_run$(EXEEXT) \ - bpf-obj_get_info_by_fd$(EXEEXT) \ + answer$(EXEEXT) arch_prctl-success$(EXEEXT) \ + arch_prctl-success-Xabbrev$(EXEEXT) \ + arch_prctl-success-Xraw$(EXEEXT) \ + arch_prctl-success-Xverbose$(EXEEXT) attach-f-p$(EXEEXT) \ + attach-f-p-cmd$(EXEEXT) attach-p-cmd-cmd$(EXEEXT) \ + attach-p-cmd-p$(EXEEXT) block_reset_raise_run$(EXEEXT) \ + block_reset_run$(EXEEXT) bpf-obj_get_info_by_fd$(EXEEXT) \ bpf-obj_get_info_by_fd-prog$(EXEEXT) \ bpf-obj_get_info_by_fd-prog-v$(EXEEXT) \ bpf-obj_get_info_by_fd-v$(EXEEXT) bpf-success$(EXEEXT) \ @@ -135,8 +138,12 @@ getpid--pidns-translation$(EXEEXT) getppid$(EXEEXT) \ getsid--pidns-translation$(EXEEXT) gettid$(EXEEXT) \ gettid--pidns-translation$(EXEEXT) inject-nf$(EXEEXT) \ - int_0x80$(EXEEXT) ioctl_block--pidns-translation$(EXEEXT) \ - ioctl_dm-v$(EXEEXT) ioctl_evdev-success$(EXEEXT) \ + int_0x80$(EXEEXT) io_uring_register-success$(EXEEXT) \ + io_uring_register-success-Xabbrev$(EXEEXT) \ + io_uring_register-success-Xraw$(EXEEXT) \ + io_uring_register-success-Xverbose$(EXEEXT) \ + ioctl_block--pidns-translation$(EXEEXT) ioctl_dm-v$(EXEEXT) \ + ioctl_evdev-success$(EXEEXT) \ ioctl_evdev-success-Xabbrev$(EXEEXT) \ ioctl_evdev-success-Xraw$(EXEEXT) \ ioctl_evdev-success-Xverbose$(EXEEXT) \ @@ -171,10 +178,31 @@ ioctl_hdio-success-v$(EXEEXT) \ ioctl_hdio-success-v-Xabbrev$(EXEEXT) \ ioctl_hdio-success-v-Xraw$(EXEEXT) \ - ioctl_hdio-success-v-Xverbose$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ + ioctl_hdio-success-v-Xverbose$(EXEEXT) \ + ioctl_kd-success$(EXEEXT) ioctl_kd-success-Xabbrev$(EXEEXT) \ + ioctl_kd-success-Xraw$(EXEEXT) \ + ioctl_kd-success-Xverbose$(EXEEXT) \ + ioctl_kd-success-s1024$(EXEEXT) \ + ioctl_kd-success-s1024-Xabbrev$(EXEEXT) \ + ioctl_kd-success-s1024-Xraw$(EXEEXT) \ + ioctl_kd-success-s1024-Xverbose$(EXEEXT) \ + ioctl_lirc-success$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ ioctl_loop-v$(EXEEXT) ioctl_mtd-success$(EXEEXT) \ ioctl_nsfs$(EXEEXT) ioctl_perf-success$(EXEEXT) \ - ioctl_rtc-success$(EXEEXT) ioctl_rtc-v$(EXEEXT) \ + ioctl_ptp-success$(EXEEXT) ioctl_ptp-success-Xabbrev$(EXEEXT) \ + ioctl_ptp-success-Xraw$(EXEEXT) \ + ioctl_ptp-success-Xverbose$(EXEEXT) ioctl_rtc-success$(EXEEXT) \ + ioctl_rtc-v$(EXEEXT) ioctl_seccomp$(EXEEXT) \ + ioctl_seccomp--pidns-translation$(EXEEXT) \ + ioctl_seccomp-success$(EXEEXT) ioctl_seccomp-y$(EXEEXT) \ + ioctl_seccomp-y-success$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) \ + ioctl_seccomp-y-success-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success-Xverbose$(EXEEXT) \ ioctl_ubi-success$(EXEEXT) ioctl_v4l2-success$(EXEEXT) \ ioctl_v4l2-success-Xabbrev$(EXEEXT) \ ioctl_v4l2-success-Xraw$(EXEEXT) \ @@ -216,27 +244,33 @@ prctl-sched-core--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core--pidns-translation-Xverbose$(EXEEXT) \ prctl-sched-core-success$(EXEEXT) \ - prctl-sched-core-success-Xabbrev$(EXEEXT) \ - prctl-sched-core-success-Xraw$(EXEEXT) \ - prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-sched-core-success--pidns-translation$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xabbrev$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xverbose$(EXEEXT) \ + prctl-sched-core-success-Xabbrev$(EXEEXT) \ + prctl-sched-core-success-Xraw$(EXEEXT) \ + prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-seccomp-filter-v$(EXEEXT) prctl-seccomp-strict$(EXEEXT) \ prctl-securebits-success$(EXEEXT) \ prctl-securebits-success-Xabbrev$(EXEEXT) \ prctl-securebits-success-Xraw$(EXEEXT) \ prctl-securebits-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success$(EXEEXT) \ - prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ - prctl-set-ptracer-success-Xraw$(EXEEXT) \ - prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ prctl-set-ptracer-success-Xabbrev--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xraw$(EXEEXT) \ prctl-set-ptracer-success-Xraw--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) \ - prctl-spec-inject$(EXEEXT) prctl-tagged-addr-success$(EXEEXT) \ + prctl-sme-success$(EXEEXT) prctl-sme-success-Xabbrev$(EXEEXT) \ + prctl-sme-success-Xraw$(EXEEXT) \ + prctl-sme-success-Xverbose$(EXEEXT) prctl-spec-inject$(EXEEXT) \ + prctl-sve-success$(EXEEXT) prctl-sve-success-Xabbrev$(EXEEXT) \ + prctl-sve-success-Xraw$(EXEEXT) \ + prctl-sve-success-Xverbose$(EXEEXT) \ + prctl-tagged-addr-success$(EXEEXT) \ prctl-tagged-addr-success-Xabbrev$(EXEEXT) \ prctl-tagged-addr-success-Xraw$(EXEEXT) \ prctl-tagged-addr-success-Xverbose$(EXEEXT) \ @@ -261,23 +295,32 @@ sched_xetparam--pidns-translation$(EXEEXT) \ sched_xetscheduler--pidns-translation$(EXEEXT) \ scm_rights$(EXEEXT) seccomp-filter-v$(EXEEXT) \ - seccomp-strict$(EXEEXT) select-P$(EXEEXT) \ + seccomp-strict$(EXEEXT) \ + seccomp_get_notif_sizes-success$(EXEEXT) segv_accerr$(EXEEXT) \ + segv_pkuerr$(EXEEXT) select-P$(EXEEXT) \ set_ptracer_any$(EXEEXT) set_sigblock$(EXEEXT) \ set_sigign$(EXEEXT) setpgrp-exec$(EXEEXT) \ signal_receive$(EXEEXT) \ signal_receive--pidns-translation$(EXEEXT) sleep$(EXEEXT) \ - so_peercred--pidns-translation$(EXEEXT) stack-fcall$(EXEEXT) \ - stack-fcall-attach$(EXEEXT) stack-fcall-mangled$(EXEEXT) \ - status-none-threads$(EXEEXT) \ - status-unfinished-threads$(EXEEXT) syslog-success$(EXEEXT) \ - tgkill--pidns-translation$(EXEEXT) threads-execve$(EXEEXT) \ + so_peercred--pidns-translation$(EXEEXT) \ + sockopt-sol_socket-success$(EXEEXT) \ + sockopt-sol_socket-success-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-success-Xraw$(EXEEXT) \ + sockopt-sol_socket-success-Xverbose$(EXEEXT) \ + stack-fcall$(EXEEXT) stack-fcall-attach$(EXEEXT) \ + stack-fcall-mangled$(EXEEXT) status-none-threads$(EXEEXT) \ + status-unfinished-threads$(EXEEXT) \ + strace--decode-pids-comm$(EXEEXT) strace-Y-0123456789$(EXEEXT) \ + strace-p-Y-p2$(EXEEXT) strace-p1-Y-p$(EXEEXT) \ + syslog-success$(EXEEXT) tgkill--pidns-translation$(EXEEXT) \ + threads-execve$(EXEEXT) \ threads-execve--quiet-thread-execve$(EXEEXT) \ threads-execve-q$(EXEEXT) threads-execve-qq$(EXEEXT) \ threads-execve-qqq$(EXEEXT) tkill--pidns-translation$(EXEEXT) \ tracer_ppid_pgid_sid$(EXEEXT) trie_test$(EXEEXT) \ unblock_reset_raise$(EXEEXT) unix-pair-send-recv$(EXEEXT) \ unix-pair-sendto-recvfrom$(EXEEXT) vfork-f$(EXEEXT) \ - wait4-v$(EXEEXT) waitid-v$(EXEEXT) \ + wait4-v$(EXEEXT) waitid-Y$(EXEEXT) waitid-v$(EXEEXT) \ xet_robust_list--pidns-translation$(EXEEXT) \ xetpgid--pidns-translation$(EXEEXT) \ xetpriority--pidns-translation$(EXEEXT) zeroargc$(EXEEXT) @@ -285,25 +328,18 @@ TESTS = $(GEN_TESTS) $(DECODER_TESTS) $(MISC_TESTS) $(am__EXEEXT_3) subdir = tests-mx32 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -322,16 +358,19 @@ am__EXEEXT_1 = _newselect$(EXEEXT) accept$(EXEEXT) accept4$(EXEEXT) \ access$(EXEEXT) acct$(EXEEXT) add_key$(EXEEXT) \ adjtimex$(EXEEXT) aio$(EXEEXT) aio_pgetevents$(EXEEXT) \ - alarm$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) brk$(EXEEXT) \ - btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) chmod$(EXEEXT) \ - chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ + alarm$(EXEEXT) arch_prctl$(EXEEXT) arch_prctl-Xabbrev$(EXEEXT) \ + arch_prctl-Xraw$(EXEEXT) arch_prctl-Xverbose$(EXEEXT) \ + at_fdcwd-pathmax$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) \ + brk$(EXEEXT) btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) \ + chmod$(EXEEXT) chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ clock_adjtime$(EXEEXT) clock_adjtime64$(EXEEXT) \ clock_nanosleep$(EXEEXT) clock_xettime$(EXEEXT) \ clock_xettime64$(EXEEXT) clone-flags$(EXEEXT) clone3$(EXEEXT) \ clone3-Xabbrev$(EXEEXT) clone3-Xraw$(EXEEXT) \ clone3-Xverbose$(EXEEXT) copy_file_range$(EXEEXT) \ creat$(EXEEXT) delete_module$(EXEEXT) \ - dev--decode-fds-dev$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ + dev--decode-fds-all$(EXEEXT) dev--decode-fds-dev$(EXEEXT) \ + dev--decode-fds-none$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ dev--decode-fds-socket$(EXEEXT) dev-yy$(EXEEXT) dup$(EXEEXT) \ dup-P$(EXEEXT) dup-y$(EXEEXT) dup-yy$(EXEEXT) dup2$(EXEEXT) \ dup2-P$(EXEEXT) dup2-y$(EXEEXT) dup2-yy$(EXEEXT) dup3$(EXEEXT) \ @@ -360,58 +399,67 @@ fstat64-Xabbrev$(EXEEXT) fstat64-Xraw$(EXEEXT) \ fstat64-Xverbose$(EXEEXT) fstatat64$(EXEEXT) fstatfs$(EXEEXT) \ fstatfs64$(EXEEXT) fsync$(EXEEXT) ftruncate$(EXEEXT) \ - ftruncate64$(EXEEXT) futex$(EXEEXT) futimesat$(EXEEXT) \ - get_mempolicy$(EXEEXT) getcpu$(EXEEXT) getcwd$(EXEEXT) \ - getdents$(EXEEXT) getdents-v$(EXEEXT) getdents64$(EXEEXT) \ - getdents64-v$(EXEEXT) getegid$(EXEEXT) getegid32$(EXEEXT) \ - geteuid$(EXEEXT) geteuid32$(EXEEXT) getgid$(EXEEXT) \ - getgid32$(EXEEXT) getgroups$(EXEEXT) getgroups32$(EXEEXT) \ - getpeername$(EXEEXT) getpgrp$(EXEEXT) getpid$(EXEEXT) \ - getppid$(EXEEXT) getrandom$(EXEEXT) getresgid$(EXEEXT) \ - getresgid32$(EXEEXT) getresuid$(EXEEXT) getresuid32$(EXEEXT) \ - getrlimit$(EXEEXT) getrusage$(EXEEXT) getsid$(EXEEXT) \ - getsockname$(EXEEXT) getuid$(EXEEXT) getuid32$(EXEEXT) \ - getxgid$(EXEEXT) getxpid$(EXEEXT) getxuid$(EXEEXT) \ - group_req$(EXEEXT) inet-cmsg$(EXEEXT) init_module$(EXEEXT) \ - inotify$(EXEEXT) inotify_init$(EXEEXT) inotify_init-y$(EXEEXT) \ - inotify_init1$(EXEEXT) inotify_init1-y$(EXEEXT) \ - io_uring_enter$(EXEEXT) io_uring_register$(EXEEXT) \ - io_uring_setup$(EXEEXT) ioctl$(EXEEXT) ioctl_block$(EXEEXT) \ - ioctl_dm$(EXEEXT) ioctl_evdev$(EXEEXT) \ - ioctl_evdev-Xabbrev$(EXEEXT) ioctl_evdev-Xraw$(EXEEXT) \ - ioctl_evdev-Xverbose$(EXEEXT) ioctl_evdev-v$(EXEEXT) \ - ioctl_evdev-v-Xabbrev$(EXEEXT) ioctl_evdev-v-Xraw$(EXEEXT) \ - ioctl_evdev-v-Xverbose$(EXEEXT) ioctl_fiemap$(EXEEXT) \ - ioctl_fiemap-Xabbrev$(EXEEXT) ioctl_fiemap-Xraw$(EXEEXT) \ - ioctl_fiemap-Xverbose$(EXEEXT) ioctl_fs_f$(EXEEXT) \ - ioctl_fs_f-Xabbrev$(EXEEXT) ioctl_fs_f-Xraw$(EXEEXT) \ - ioctl_fs_f-Xverbose$(EXEEXT) ioctl_fs_x$(EXEEXT) \ - ioctl_fs_x-Xabbrev$(EXEEXT) ioctl_fs_x-Xraw$(EXEEXT) \ - ioctl_fs_x-Xverbose$(EXEEXT) ioctl_gpio$(EXEEXT) \ - ioctl_gpio-Xabbrev$(EXEEXT) ioctl_gpio-Xraw$(EXEEXT) \ - ioctl_gpio-Xverbose$(EXEEXT) ioctl_gpio-v$(EXEEXT) \ - ioctl_gpio-v-Xabbrev$(EXEEXT) ioctl_gpio-v-Xraw$(EXEEXT) \ - ioctl_gpio-v-Xverbose$(EXEEXT) ioctl_hdio$(EXEEXT) \ - ioctl_hdio-Xabbrev$(EXEEXT) ioctl_hdio-Xraw$(EXEEXT) \ - ioctl_hdio-Xverbose$(EXEEXT) ioctl_hdio-v$(EXEEXT) \ - ioctl_hdio-v-Xabbrev$(EXEEXT) ioctl_hdio-v-Xraw$(EXEEXT) \ - ioctl_hdio-v-Xverbose$(EXEEXT) ioctl_inotify$(EXEEXT) \ - ioctl_kvm_run$(EXEEXT) ioctl_kvm_run-v$(EXEEXT) \ - ioctl_kvm_run_auxstr_vcpu$(EXEEXT) ioctl_loop$(EXEEXT) \ - ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) ioctl_perf$(EXEEXT) \ - ioctl_ptp$(EXEEXT) ioctl_random$(EXEEXT) ioctl_rtc$(EXEEXT) \ - ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ + ftruncate64$(EXEEXT) futex$(EXEEXT) futex_waitv$(EXEEXT) \ + futimesat$(EXEEXT) get_mempolicy$(EXEEXT) getcpu$(EXEEXT) \ + getcwd$(EXEEXT) getdents$(EXEEXT) getdents-v$(EXEEXT) \ + getdents64$(EXEEXT) getdents64-v$(EXEEXT) getegid$(EXEEXT) \ + getegid32$(EXEEXT) geteuid$(EXEEXT) geteuid32$(EXEEXT) \ + getgid$(EXEEXT) getgid32$(EXEEXT) getgroups$(EXEEXT) \ + getgroups32$(EXEEXT) getpeername$(EXEEXT) getpgrp$(EXEEXT) \ + getpid$(EXEEXT) getppid$(EXEEXT) getrandom$(EXEEXT) \ + getresgid$(EXEEXT) getresgid32$(EXEEXT) getresuid$(EXEEXT) \ + getresuid32$(EXEEXT) getrlimit$(EXEEXT) getrusage$(EXEEXT) \ + getsid$(EXEEXT) getsockname$(EXEEXT) getuid$(EXEEXT) \ + getuid32$(EXEEXT) getxgid$(EXEEXT) getxpid$(EXEEXT) \ + getxuid$(EXEEXT) group_req$(EXEEXT) inet-cmsg$(EXEEXT) \ + init_module$(EXEEXT) inotify$(EXEEXT) inotify_init$(EXEEXT) \ + inotify_init-y$(EXEEXT) inotify_init1$(EXEEXT) \ + inotify_init1-y$(EXEEXT) io_uring_enter$(EXEEXT) \ + io_uring_register$(EXEEXT) io_uring_register-Xabbrev$(EXEEXT) \ + io_uring_register-Xraw$(EXEEXT) \ + io_uring_register-Xverbose$(EXEEXT) io_uring_setup$(EXEEXT) \ + ioctl$(EXEEXT) ioctl_block$(EXEEXT) ioctl_counter$(EXEEXT) \ + ioctl_counter-Xabbrev$(EXEEXT) ioctl_counter-Xraw$(EXEEXT) \ + ioctl_counter-Xverbose$(EXEEXT) ioctl_dm$(EXEEXT) \ + ioctl_evdev$(EXEEXT) ioctl_evdev-Xabbrev$(EXEEXT) \ + ioctl_evdev-Xraw$(EXEEXT) ioctl_evdev-Xverbose$(EXEEXT) \ + ioctl_evdev-v$(EXEEXT) ioctl_evdev-v-Xabbrev$(EXEEXT) \ + ioctl_evdev-v-Xraw$(EXEEXT) ioctl_evdev-v-Xverbose$(EXEEXT) \ + ioctl_fiemap$(EXEEXT) ioctl_fiemap-Xabbrev$(EXEEXT) \ + ioctl_fiemap-Xraw$(EXEEXT) ioctl_fiemap-Xverbose$(EXEEXT) \ + ioctl_fs_f$(EXEEXT) ioctl_fs_f-Xabbrev$(EXEEXT) \ + ioctl_fs_f-Xraw$(EXEEXT) ioctl_fs_f-Xverbose$(EXEEXT) \ + ioctl_fs_x$(EXEEXT) ioctl_fs_x-Xabbrev$(EXEEXT) \ + ioctl_fs_x-Xraw$(EXEEXT) ioctl_fs_x-Xverbose$(EXEEXT) \ + ioctl_gpio$(EXEEXT) ioctl_gpio-Xabbrev$(EXEEXT) \ + ioctl_gpio-Xraw$(EXEEXT) ioctl_gpio-Xverbose$(EXEEXT) \ + ioctl_gpio-v$(EXEEXT) ioctl_gpio-v-Xabbrev$(EXEEXT) \ + ioctl_gpio-v-Xraw$(EXEEXT) ioctl_gpio-v-Xverbose$(EXEEXT) \ + ioctl_hdio$(EXEEXT) ioctl_hdio-Xabbrev$(EXEEXT) \ + ioctl_hdio-Xraw$(EXEEXT) ioctl_hdio-Xverbose$(EXEEXT) \ + ioctl_hdio-v$(EXEEXT) ioctl_hdio-v-Xabbrev$(EXEEXT) \ + ioctl_hdio-v-Xraw$(EXEEXT) ioctl_hdio-v-Xverbose$(EXEEXT) \ + ioctl_inotify$(EXEEXT) ioctl_lirc$(EXEEXT) ioctl_kd$(EXEEXT) \ + ioctl_kd-Xabbrev$(EXEEXT) ioctl_kd-Xraw$(EXEEXT) \ + ioctl_kd-Xverbose$(EXEEXT) ioctl_kvm_run$(EXEEXT) \ + ioctl_kvm_run-v$(EXEEXT) ioctl_kvm_run_auxstr_vcpu$(EXEEXT) \ + ioctl_loop$(EXEEXT) ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) \ + ioctl_perf$(EXEEXT) ioctl_ptp$(EXEEXT) \ + ioctl_ptp-Xabbrev$(EXEEXT) ioctl_ptp-Xraw$(EXEEXT) \ + ioctl_ptp-Xverbose$(EXEEXT) ioctl_random$(EXEEXT) \ + ioctl_rtc$(EXEEXT) ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ ioctl_sg_io_v4$(EXEEXT) ioctl_sock$(EXEEXT) \ ioctl_sock_gifconf$(EXEEXT) ioctl_tee$(EXEEXT) \ - ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) ioctl_v4l2$(EXEEXT) \ - ioctl_v4l2-Xabbrev$(EXEEXT) ioctl_v4l2-Xraw$(EXEEXT) \ - ioctl_v4l2-Xverbose$(EXEEXT) ioctl_v4l2-v$(EXEEXT) \ - ioctl_v4l2-v-Xabbrev$(EXEEXT) ioctl_v4l2-v-Xraw$(EXEEXT) \ - ioctl_v4l2-v-Xverbose$(EXEEXT) ioctl_watchdog$(EXEEXT) \ - ioperm$(EXEEXT) iopl$(EXEEXT) ioprio$(EXEEXT) \ - ioprio-Xabbrev$(EXEEXT) ioprio-Xraw$(EXEEXT) \ - ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) ipc$(EXEEXT) \ - ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ + ioctl_termios$(EXEEXT) ioctl_termios-v$(EXEEXT) \ + ioctl_tiocm$(EXEEXT) ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) \ + ioctl_v4l2$(EXEEXT) ioctl_v4l2-Xabbrev$(EXEEXT) \ + ioctl_v4l2-Xraw$(EXEEXT) ioctl_v4l2-Xverbose$(EXEEXT) \ + ioctl_v4l2-v$(EXEEXT) ioctl_v4l2-v-Xabbrev$(EXEEXT) \ + ioctl_v4l2-v-Xraw$(EXEEXT) ioctl_v4l2-v-Xverbose$(EXEEXT) \ + ioctl_watchdog$(EXEEXT) ioctl_winsize$(EXEEXT) ioperm$(EXEEXT) \ + iopl$(EXEEXT) ioprio$(EXEEXT) ioprio-Xabbrev$(EXEEXT) \ + ioprio-Xraw$(EXEEXT) ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) \ + ipc$(EXEEXT) ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ ipc_msg-Xraw$(EXEEXT) ipc_msg-Xverbose$(EXEEXT) \ ipc_msgbuf$(EXEEXT) ipc_msgbuf-Xabbrev$(EXEEXT) \ ipc_msgbuf-Xraw$(EXEEXT) ipc_msgbuf-Xverbose$(EXEEXT) \ @@ -453,7 +501,8 @@ move_pages-Xverbose$(EXEEXT) mq$(EXEEXT) mq_sendrecv$(EXEEXT) \ mq_sendrecv-read$(EXEEXT) mq_sendrecv-write$(EXEEXT) \ msg_control$(EXEEXT) msg_name$(EXEEXT) munlockall$(EXEEXT) \ - nanosleep$(EXEEXT) net--decode-fds-dev-netlink$(EXEEXT) \ + nanosleep$(EXEEXT) net--decode-fds-all-netlink$(EXEEXT) \ + net--decode-fds-dev-netlink$(EXEEXT) \ net--decode-fds-none-netlink$(EXEEXT) \ net--decode-fds-path-netlink$(EXEEXT) \ net--decode-fds-socket-netlink$(EXEEXT) \ @@ -475,19 +524,38 @@ nfnetlink_nftables$(EXEEXT) nfnetlink_osf$(EXEEXT) \ nfnetlink_queue$(EXEEXT) nfnetlink_ulog$(EXEEXT) \ nlattr$(EXEEXT) nlattr_br_port_msg$(EXEEXT) \ + nlattr_cachereport$(EXEEXT) \ + nlattr_cachereport-Xabbrev$(EXEEXT) \ + nlattr_cachereport-Xraw$(EXEEXT) \ + nlattr_cachereport-Xverbose$(EXEEXT) \ nlattr_crypto_user_alg$(EXEEXT) nlattr_dcbmsg$(EXEEXT) \ nlattr_fib_rule_hdr$(EXEEXT) nlattr_ifaddrlblmsg$(EXEEXT) \ nlattr_ifaddrmsg$(EXEEXT) nlattr_ifinfomsg$(EXEEXT) \ nlattr_ifla_af_spec$(EXEEXT) nlattr_ifla_brport$(EXEEXT) \ + nlattr_ifla_brport-Xabbrev$(EXEEXT) \ + nlattr_ifla_brport-Xraw$(EXEEXT) \ + nlattr_ifla_brport-Xverbose$(EXEEXT) \ nlattr_ifla_linkinfo$(EXEEXT) nlattr_ifla_port$(EXEEXT) \ + nlattr_ifla_protinfo$(EXEEXT) \ + nlattr_ifla_protinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_protinfo-Xraw$(EXEEXT) \ + nlattr_ifla_protinfo-Xverbose$(EXEEXT) \ nlattr_ifla_proto_down_reason$(EXEEXT) \ - nlattr_ifla_xdp$(EXEEXT) nlattr_inet_diag_msg$(EXEEXT) \ + nlattr_ifla_vfinfo$(EXEEXT) \ + nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_vfinfo-Xraw$(EXEEXT) \ + nlattr_ifla_vfinfo-Xverbose$(EXEEXT) nlattr_ifla_xdp$(EXEEXT) \ + nlattr_ifstats$(EXEEXT) nlattr_ifstats-Xabbrev$(EXEEXT) \ + nlattr_ifstats-Xraw$(EXEEXT) nlattr_ifstats-Xverbose$(EXEEXT) \ + nlattr_inet_diag_msg$(EXEEXT) \ nlattr_inet_diag_req_compat$(EXEEXT) \ nlattr_inet_diag_req_v2$(EXEEXT) \ nlattr_mdba_mdb_entry$(EXEEXT) \ nlattr_mdba_router_port$(EXEEXT) nlattr_ndmsg$(EXEEXT) \ nlattr_ndtmsg$(EXEEXT) nlattr_netconfmsg$(EXEEXT) \ - nlattr_netlink_diag_msg$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ + nlattr_netlink_diag_msg$(EXEEXT) nlattr_nhmsg$(EXEEXT) \ + nlattr_nhmsg-Xabbrev$(EXEEXT) nlattr_nhmsg-Xraw$(EXEEXT) \ + nlattr_nhmsg-Xverbose$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ nlattr_packet_diag_msg$(EXEEXT) nlattr_rtgenmsg$(EXEEXT) \ nlattr_rtmsg$(EXEEXT) nlattr_smc_diag_msg$(EXEEXT) \ nlattr_tc_stats$(EXEEXT) nlattr_tca_stab$(EXEEXT) \ @@ -508,6 +576,8 @@ personality-Xraw$(EXEEXT) personality-Xverbose$(EXEEXT) \ pidfd_getfd$(EXEEXT) pidfd_getfd-y$(EXEEXT) \ pidfd_getfd-yy$(EXEEXT) pidfd_open$(EXEEXT) \ + pidfd_open--decode-fd-all$(EXEEXT) \ + pidfd_open--decode-fd-none$(EXEEXT) \ pidfd_open--decode-fd-path$(EXEEXT) \ pidfd_open--decode-fd-pidfd$(EXEEXT) \ pidfd_open--decode-fd-socket$(EXEEXT) pidfd_open-P$(EXEEXT) \ @@ -527,7 +597,12 @@ prctl-sched-core$(EXEEXT) prctl-sched-core-Xabbrev$(EXEEXT) \ prctl-sched-core-Xraw$(EXEEXT) \ prctl-sched-core-Xverbose$(EXEEXT) prctl-securebits$(EXEEXT) \ - prctl-sve$(EXEEXT) prctl-syscall-user-dispatch$(EXEEXT) \ + prctl-set_vma$(EXEEXT) prctl-sme$(EXEEXT) \ + prctl-sme-Xabbrev$(EXEEXT) prctl-sme-Xraw$(EXEEXT) \ + prctl-sme-Xverbose$(EXEEXT) prctl-sve$(EXEEXT) \ + prctl-sve-Xabbrev$(EXEEXT) prctl-sve-Xraw$(EXEEXT) \ + prctl-sve-Xverbose$(EXEEXT) \ + prctl-syscall-user-dispatch$(EXEEXT) \ prctl-tagged-addr$(EXEEXT) prctl-tagged-addr-Xabbrev$(EXEEXT) \ prctl-tagged-addr-Xraw$(EXEEXT) \ prctl-tagged-addr-Xverbose$(EXEEXT) prctl-tid_address$(EXEEXT) \ @@ -542,10 +617,17 @@ printstrn-umoven$(EXEEXT) printstrn-umoven-peekdata$(EXEEXT) \ printstrn-umoven-undumpable$(EXEEXT) prlimit64$(EXEEXT) \ process_madvise$(EXEEXT) process_madvise-y$(EXEEXT) \ - process_madvise-yy$(EXEEXT) process_vm_readv$(EXEEXT) \ + process_madvise-yy$(EXEEXT) process_mrelease$(EXEEXT) \ + process_mrelease-y$(EXEEXT) process_vm_readv$(EXEEXT) \ process_vm_writev$(EXEEXT) pselect6$(EXEEXT) \ pselect6_time64$(EXEEXT) ptrace$(EXEEXT) \ - ptrace_syscall_info$(EXEEXT) pwritev$(EXEEXT) \ + ptrace-Xabbrev$(EXEEXT) ptrace-Xraw$(EXEEXT) \ + ptrace-Xverbose$(EXEEXT) ptrace-y$(EXEEXT) \ + ptrace-y-Xabbrev$(EXEEXT) ptrace-y-Xraw$(EXEEXT) \ + ptrace-y-Xverbose$(EXEEXT) ptrace_syscall_info$(EXEEXT) \ + ptrace_syscall_info-Xabbrev$(EXEEXT) \ + ptrace_syscall_info-Xraw$(EXEEXT) \ + ptrace_syscall_info-Xverbose$(EXEEXT) pwritev$(EXEEXT) \ quotactl$(EXEEXT) quotactl-Xabbrev$(EXEEXT) \ quotactl-Xraw$(EXEEXT) quotactl-Xverbose$(EXEEXT) \ quotactl-xfs$(EXEEXT) quotactl_fd$(EXEEXT) \ @@ -571,12 +653,14 @@ sched_xetaffinity$(EXEEXT) sched_xetattr$(EXEEXT) \ sched_xetparam$(EXEEXT) sched_xetscheduler$(EXEEXT) \ sched_yield$(EXEEXT) seccomp-filter$(EXEEXT) \ - seccomp_get_action_avail$(EXEEXT) select$(EXEEXT) \ + seccomp_get_action_avail$(EXEEXT) \ + seccomp_get_notif_sizes$(EXEEXT) select$(EXEEXT) \ semop$(EXEEXT) semop-indirect$(EXEEXT) semtimedop$(EXEEXT) \ semtimedop-ipc$(EXEEXT) semtimedop_time64$(EXEEXT) \ sendfile$(EXEEXT) sendfile64$(EXEEXT) set_mempolicy$(EXEEXT) \ set_mempolicy-Xabbrev$(EXEEXT) set_mempolicy-Xraw$(EXEEXT) \ - set_mempolicy-Xverbose$(EXEEXT) setdomainname$(EXEEXT) \ + set_mempolicy-Xverbose$(EXEEXT) \ + set_mempolicy_home_node$(EXEEXT) setdomainname$(EXEEXT) \ setfsgid$(EXEEXT) setfsgid32$(EXEEXT) setfsuid$(EXEEXT) \ setfsuid32$(EXEEXT) setgid$(EXEEXT) setgid32$(EXEEXT) \ setgroups$(EXEEXT) setgroups32$(EXEEXT) sethostname$(EXEEXT) \ @@ -594,34 +678,43 @@ so_peercred-Xraw$(EXEEXT) so_peercred-Xverbose$(EXEEXT) \ sock_filter-v$(EXEEXT) sock_filter-v-Xabbrev$(EXEEXT) \ sock_filter-v-Xraw$(EXEEXT) sock_filter-v-Xverbose$(EXEEXT) \ - sockaddr_xlat-Xabbrev$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ - sockaddr_xlat-Xverbose$(EXEEXT) socketcall$(EXEEXT) \ - sockopt-sol_netlink$(EXEEXT) sockopt-timestamp$(EXEEXT) \ - splice$(EXEEXT) stat$(EXEEXT) stat64$(EXEEXT) statfs$(EXEEXT) \ - statfs64$(EXEEXT) status-all$(EXEEXT) status-failed$(EXEEXT) \ + sockaddr_xlat-Xabbrev$(EXEEXT) \ + sockaddr_xlat-Xabbrev-y$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ + sockaddr_xlat-Xraw-y$(EXEEXT) sockaddr_xlat-Xverbose$(EXEEXT) \ + sockaddr_xlat-Xverbose-y$(EXEEXT) socketcall$(EXEEXT) \ + sockopt-sol_netlink$(EXEEXT) sockopt-sol_socket$(EXEEXT) \ + sockopt-sol_socket-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-Xraw$(EXEEXT) \ + sockopt-sol_socket-Xverbose$(EXEEXT) \ + sockopt-timestamp$(EXEEXT) splice$(EXEEXT) stat$(EXEEXT) \ + stat64$(EXEEXT) statfs$(EXEEXT) statfs64$(EXEEXT) \ + status-all$(EXEEXT) status-failed$(EXEEXT) \ status-failed-long$(EXEEXT) status-failed-status$(EXEEXT) \ status-none$(EXEEXT) status-none-f$(EXEEXT) \ status-successful$(EXEEXT) status-successful-long$(EXEEXT) \ status-successful-status$(EXEEXT) status-unfinished$(EXEEXT) \ statx$(EXEEXT) strace--strings-in-hex$(EXEEXT) \ strace--strings-in-hex-all$(EXEEXT) \ - strace--strings-in-hex-non-ascii$(EXEEXT) strace-n$(EXEEXT) \ - strace-x$(EXEEXT) strace-xx$(EXEEXT) swap$(EXEEXT) \ - sxetmask$(EXEEXT) symlink$(EXEEXT) symlinkat$(EXEEXT) \ - sync$(EXEEXT) sync_file_range$(EXEEXT) \ - sync_file_range2$(EXEEXT) sysinfo$(EXEEXT) syslog$(EXEEXT) \ - tampering-notes$(EXEEXT) tee$(EXEEXT) tgkill$(EXEEXT) \ - time$(EXEEXT) timer_create$(EXEEXT) timer_xettime$(EXEEXT) \ - timerfd_xettime$(EXEEXT) times$(EXEEXT) times-fail$(EXEEXT) \ - tkill$(EXEEXT) truncate$(EXEEXT) truncate64$(EXEEXT) \ - ugetrlimit$(EXEEXT) uio$(EXEEXT) umask$(EXEEXT) \ - umount$(EXEEXT) umount2$(EXEEXT) umoven-illptr$(EXEEXT) \ - umovestr$(EXEEXT) umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) \ - umovestr3$(EXEEXT) umovestr_cached$(EXEEXT) \ - umovestr_cached_adjacent$(EXEEXT) uname$(EXEEXT) \ - unlink$(EXEEXT) unlinkat$(EXEEXT) unshare$(EXEEXT) \ - userfaultfd$(EXEEXT) ustat$(EXEEXT) utime$(EXEEXT) \ - utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ + strace--strings-in-hex-non-ascii$(EXEEXT) \ + strace--strings-in-hex-non-ascii-chars$(EXEEXT) \ + strace--strings-in-hex-none$(EXEEXT) strace-n$(EXEEXT) \ + strace-no-x$(EXEEXT) strace-x$(EXEEXT) strace-xx$(EXEEXT) \ + swap$(EXEEXT) sxetmask$(EXEEXT) symlink$(EXEEXT) \ + symlinkat$(EXEEXT) sync$(EXEEXT) sync_file_range$(EXEEXT) \ + sync_file_range2$(EXEEXT) sysctl$(EXEEXT) sysinfo$(EXEEXT) \ + syslog$(EXEEXT) tampering-notes$(EXEEXT) tee$(EXEEXT) \ + tgkill$(EXEEXT) time$(EXEEXT) timer_create$(EXEEXT) \ + timer_xettime$(EXEEXT) timerfd_xettime$(EXEEXT) times$(EXEEXT) \ + times-Xabbrev$(EXEEXT) times-Xraw$(EXEEXT) \ + times-Xverbose$(EXEEXT) times-fail$(EXEEXT) tkill$(EXEEXT) \ + truncate$(EXEEXT) truncate64$(EXEEXT) ugetrlimit$(EXEEXT) \ + uio$(EXEEXT) umask$(EXEEXT) umount$(EXEEXT) umount2$(EXEEXT) \ + umoven-illptr$(EXEEXT) umovestr$(EXEEXT) \ + umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) umovestr3$(EXEEXT) \ + umovestr_cached$(EXEEXT) umovestr_cached_adjacent$(EXEEXT) \ + uname$(EXEEXT) unlink$(EXEEXT) unlinkat$(EXEEXT) \ + unshare$(EXEEXT) userfaultfd$(EXEEXT) ustat$(EXEEXT) \ + utime$(EXEEXT) utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ utimensat-Xraw$(EXEEXT) utimensat-Xverbose$(EXEEXT) \ utimes$(EXEEXT) vhangup$(EXEEXT) vmsplice$(EXEEXT) \ wait4$(EXEEXT) waitid$(EXEEXT) waitpid$(EXEEXT) xattr$(EXEEXT) \ @@ -629,25 +722,59 @@ xet_thread_area_x86$(EXEEXT) xetitimer$(EXEEXT) \ xetpgid$(EXEEXT) xetpriority$(EXEEXT) xettimeofday$(EXEEXT) am__EXEEXT_2 = access--secontext$(EXEEXT) \ - access--secontext_full$(EXEEXT) chmod--secontext$(EXEEXT) \ - chmod--secontext_full$(EXEEXT) execve--secontext$(EXEEXT) \ - execve--secontext_full$(EXEEXT) execveat--secontext$(EXEEXT) \ - execveat--secontext_full$(EXEEXT) \ + access--secontext_full$(EXEEXT) \ + access--secontext_full_mismatch$(EXEEXT) \ + access--secontext_mismatch$(EXEEXT) chmod--secontext$(EXEEXT) \ + chmod--secontext_full$(EXEEXT) \ + chmod--secontext_full_mismatch$(EXEEXT) \ + chmod--secontext_mismatch$(EXEEXT) execve--secontext$(EXEEXT) \ + execve--secontext_full$(EXEEXT) \ + execve--secontext_full_mismatch$(EXEEXT) \ + execve--secontext_mismatch$(EXEEXT) \ + execveat--secontext$(EXEEXT) execveat--secontext_full$(EXEEXT) \ + execveat--secontext_full_mismatch$(EXEEXT) \ + execveat--secontext_mismatch$(EXEEXT) \ faccessat--secontext$(EXEEXT) \ faccessat--secontext_full$(EXEEXT) \ + faccessat--secontext_full_mismatch$(EXEEXT) \ + faccessat--secontext_mismatch$(EXEEXT) \ faccessat-y--secontext$(EXEEXT) \ faccessat-y--secontext_full$(EXEEXT) \ + faccessat-y--secontext_full_mismatch$(EXEEXT) \ + faccessat-y--secontext_mismatch$(EXEEXT) \ fanotify_mark--secontext$(EXEEXT) \ fanotify_mark--secontext_full$(EXEEXT) \ + fanotify_mark--secontext_full_mismatch$(EXEEXT) \ + fanotify_mark--secontext_mismatch$(EXEEXT) \ fchmod--secontext$(EXEEXT) fchmod--secontext_full$(EXEEXT) \ + fchmod--secontext_full_mismatch$(EXEEXT) \ + fchmod--secontext_mismatch$(EXEEXT) \ fchmod-y--secontext$(EXEEXT) fchmod-y--secontext_full$(EXEEXT) \ + fchmod-y--secontext_full_mismatch$(EXEEXT) \ + fchmod-y--secontext_mismatch$(EXEEXT) \ fchmodat--secontext$(EXEEXT) fchmodat--secontext_full$(EXEEXT) \ + fchmodat--secontext_full_mismatch$(EXEEXT) \ + fchmodat--secontext_mismatch$(EXEEXT) \ fchownat--secontext$(EXEEXT) fchownat--secontext_full$(EXEEXT) \ + fchownat--secontext_full_mismatch$(EXEEXT) \ + fchownat--secontext_mismatch$(EXEEXT) \ file_handle--secontext$(EXEEXT) \ file_handle--secontext_full$(EXEEXT) \ + file_handle--secontext_full_mismatch$(EXEEXT) \ + file_handle--secontext_mismatch$(EXEEXT) \ + getsockname--secontext$(EXEEXT) \ + getsockname--secontext_full$(EXEEXT) \ + getsockname--secontext_full_mismatch$(EXEEXT) \ + getsockname--secontext_mismatch$(EXEEXT) \ linkat--secontext$(EXEEXT) linkat--secontext_full$(EXEEXT) \ - open--secontext$(EXEEXT) open--secontext_full$(EXEEXT) \ - openat--secontext$(EXEEXT) openat--secontext_full$(EXEEXT) + linkat--secontext_full_mismatch$(EXEEXT) \ + linkat--secontext_mismatch$(EXEEXT) open--secontext$(EXEEXT) \ + open--secontext_full$(EXEEXT) \ + open--secontext_full_mismatch$(EXEEXT) \ + open--secontext_mismatch$(EXEEXT) openat--secontext$(EXEEXT) \ + openat--secontext_full$(EXEEXT) \ + openat--secontext_full_mismatch$(EXEEXT) \ + openat--secontext_mismatch$(EXEEXT) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) @@ -655,7 +782,8 @@ am__v_AR_1 = libtests_a_AR = $(AR) $(ARFLAGS) libtests_a_LIBADD = -am_libtests_a_OBJECTS = libtests_a-create_nl_socket.$(OBJEXT) \ +am_libtests_a_OBJECTS = libtests_a-clock_t_str.$(OBJEXT) \ + libtests_a-create_nl_socket.$(OBJEXT) \ libtests_a-create_tmpfile.$(OBJEXT) libtests_a-dirfd.$(OBJEXT) \ libtests_a-errno2name.$(OBJEXT) libtests_a-error_msg.$(OBJEXT) \ libtests_a-fill_memory.$(OBJEXT) \ @@ -690,3672 +818,4664 @@ _newselect_SOURCES = _newselect.c _newselect_OBJECTS = _newselect.$(OBJEXT) _newselect_LDADD = $(LDADD) -_newselect_DEPENDENCIES = libtests.a +am__DEPENDENCIES_1 = +_newselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) _newselect_P_SOURCES = _newselect-P.c _newselect_P_OBJECTS = _newselect-P.$(OBJEXT) _newselect_P_LDADD = $(LDADD) -_newselect_P_DEPENDENCIES = libtests.a +_newselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept_SOURCES = accept.c accept_OBJECTS = accept.$(OBJEXT) accept_LDADD = $(LDADD) -accept_DEPENDENCIES = libtests.a +accept_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept4_SOURCES = accept4.c accept4_OBJECTS = accept4.$(OBJEXT) accept4_LDADD = $(LDADD) -accept4_DEPENDENCIES = libtests.a +accept4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access_SOURCES = access.c access_OBJECTS = access.$(OBJEXT) access_LDADD = $(LDADD) -access_DEPENDENCIES = libtests.a +access_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access__secontext_SOURCES = access--secontext.c access__secontext_OBJECTS = access--secontext.$(OBJEXT) -am__DEPENDENCIES_1 = -@HAVE_MX32_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_2 = \ +am__DEPENDENCIES_2 = libtests.a $(am__DEPENDENCIES_1) +@HAVE_MX32_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_3 = \ @HAVE_MX32_SELINUX_RUNTIME_TRUE@ $(am__DEPENDENCIES_1) -access__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +access__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) access__secontext_full_SOURCES = access--secontext_full.c access__secontext_full_OBJECTS = access--secontext_full.$(OBJEXT) -access__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +access__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_full_mismatch_SOURCES = \ + access--secontext_full_mismatch.c +access__secontext_full_mismatch_OBJECTS = \ + access--secontext_full_mismatch.$(OBJEXT) +access__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_mismatch_SOURCES = access--secontext_mismatch.c +access__secontext_mismatch_OBJECTS = \ + access--secontext_mismatch.$(OBJEXT) +access__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) acct_SOURCES = acct.c acct_OBJECTS = acct.$(OBJEXT) acct_LDADD = $(LDADD) -acct_DEPENDENCIES = libtests.a +acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) add_key_SOURCES = add_key.c add_key_OBJECTS = add_key.$(OBJEXT) add_key_LDADD = $(LDADD) -add_key_DEPENDENCIES = libtests.a +add_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) adjtimex_SOURCES = adjtimex.c adjtimex_OBJECTS = adjtimex.$(OBJEXT) adjtimex_LDADD = $(LDADD) -adjtimex_DEPENDENCIES = libtests.a +adjtimex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_SOURCES = aio.c aio_OBJECTS = aio.$(OBJEXT) aio_LDADD = $(LDADD) -aio_DEPENDENCIES = libtests.a +aio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_pgetevents_SOURCES = aio_pgetevents.c aio_pgetevents_OBJECTS = aio_pgetevents.$(OBJEXT) aio_pgetevents_LDADD = $(LDADD) -aio_pgetevents_DEPENDENCIES = libtests.a +aio_pgetevents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) alarm_SOURCES = alarm.c alarm_OBJECTS = alarm.$(OBJEXT) alarm_LDADD = $(LDADD) -alarm_DEPENDENCIES = libtests.a +alarm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) answer_SOURCES = answer.c answer_OBJECTS = answer.$(OBJEXT) answer_LDADD = $(LDADD) -answer_DEPENDENCIES = libtests.a +answer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_SOURCES = arch_prctl.c +arch_prctl_OBJECTS = arch_prctl.$(OBJEXT) +arch_prctl_LDADD = $(LDADD) +arch_prctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xabbrev_SOURCES = arch_prctl-Xabbrev.c +arch_prctl_Xabbrev_OBJECTS = arch_prctl-Xabbrev.$(OBJEXT) +arch_prctl_Xabbrev_LDADD = $(LDADD) +arch_prctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xraw_SOURCES = arch_prctl-Xraw.c +arch_prctl_Xraw_OBJECTS = arch_prctl-Xraw.$(OBJEXT) +arch_prctl_Xraw_LDADD = $(LDADD) +arch_prctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xverbose_SOURCES = arch_prctl-Xverbose.c +arch_prctl_Xverbose_OBJECTS = arch_prctl-Xverbose.$(OBJEXT) +arch_prctl_Xverbose_LDADD = $(LDADD) +arch_prctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_SOURCES = arch_prctl-success.c +arch_prctl_success_OBJECTS = arch_prctl-success.$(OBJEXT) +arch_prctl_success_LDADD = $(LDADD) +arch_prctl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_Xabbrev_SOURCES = arch_prctl-success-Xabbrev.c +arch_prctl_success_Xabbrev_OBJECTS = \ + arch_prctl-success-Xabbrev.$(OBJEXT) +arch_prctl_success_Xabbrev_LDADD = $(LDADD) +arch_prctl_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xraw_SOURCES = arch_prctl-success-Xraw.c +arch_prctl_success_Xraw_OBJECTS = arch_prctl-success-Xraw.$(OBJEXT) +arch_prctl_success_Xraw_LDADD = $(LDADD) +arch_prctl_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xverbose_SOURCES = arch_prctl-success-Xverbose.c +arch_prctl_success_Xverbose_OBJECTS = \ + arch_prctl-success-Xverbose.$(OBJEXT) +arch_prctl_success_Xverbose_LDADD = $(LDADD) +arch_prctl_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +at_fdcwd_pathmax_SOURCES = at_fdcwd-pathmax.c +at_fdcwd_pathmax_OBJECTS = at_fdcwd-pathmax.$(OBJEXT) +at_fdcwd_pathmax_LDADD = $(LDADD) +at_fdcwd_pathmax_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_f_p_SOURCES = attach-f-p.c attach_f_p_OBJECTS = attach-f-p.$(OBJEXT) -attach_f_p_DEPENDENCIES = $(LDADD) +attach_f_p_DEPENDENCIES = $(am__DEPENDENCIES_2) attach_f_p_cmd_SOURCES = attach-f-p-cmd.c attach_f_p_cmd_OBJECTS = attach-f-p-cmd.$(OBJEXT) attach_f_p_cmd_LDADD = $(LDADD) -attach_f_p_cmd_DEPENDENCIES = libtests.a +attach_f_p_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_cmd_SOURCES = attach-p-cmd-cmd.c attach_p_cmd_cmd_OBJECTS = attach-p-cmd-cmd.$(OBJEXT) attach_p_cmd_cmd_LDADD = $(LDADD) -attach_p_cmd_cmd_DEPENDENCIES = libtests.a +attach_p_cmd_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_p_SOURCES = attach-p-cmd-p.c attach_p_cmd_p_OBJECTS = attach-p-cmd-p.$(OBJEXT) attach_p_cmd_p_LDADD = $(LDADD) -attach_p_cmd_p_DEPENDENCIES = libtests.a +attach_p_cmd_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_raise_run_SOURCES = block_reset_raise_run.c block_reset_raise_run_OBJECTS = block_reset_raise_run.$(OBJEXT) block_reset_raise_run_LDADD = $(LDADD) -block_reset_raise_run_DEPENDENCIES = libtests.a +block_reset_raise_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_run_SOURCES = block_reset_run.c block_reset_run_OBJECTS = block_reset_run.$(OBJEXT) block_reset_run_LDADD = $(LDADD) -block_reset_run_DEPENDENCIES = libtests.a +block_reset_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_SOURCES = bpf.c bpf_OBJECTS = bpf.$(OBJEXT) bpf_LDADD = $(LDADD) -bpf_DEPENDENCIES = libtests.a +bpf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_obj_get_info_by_fd_SOURCES = bpf-obj_get_info_by_fd.c bpf_obj_get_info_by_fd_OBJECTS = bpf-obj_get_info_by_fd.$(OBJEXT) -bpf_obj_get_info_by_fd_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_SOURCES = bpf-obj_get_info_by_fd-prog.c bpf_obj_get_info_by_fd_prog_OBJECTS = \ bpf-obj_get_info_by_fd-prog.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_v_SOURCES = \ bpf-obj_get_info_by_fd-prog-v.c bpf_obj_get_info_by_fd_prog_v_OBJECTS = \ bpf-obj_get_info_by_fd-prog-v.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_v_SOURCES = bpf-obj_get_info_by_fd-v.c bpf_obj_get_info_by_fd_v_OBJECTS = bpf-obj_get_info_by_fd-v.$(OBJEXT) -bpf_obj_get_info_by_fd_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_success_SOURCES = bpf-success.c bpf_success_OBJECTS = bpf-success.$(OBJEXT) bpf_success_LDADD = $(LDADD) -bpf_success_DEPENDENCIES = libtests.a +bpf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_long_y_SOURCES = bpf-success-long-y.c bpf_success_long_y_OBJECTS = bpf-success-long-y.$(OBJEXT) bpf_success_long_y_LDADD = $(LDADD) -bpf_success_long_y_DEPENDENCIES = libtests.a +bpf_success_long_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_v_SOURCES = bpf-success-v.c bpf_success_v_OBJECTS = bpf-success-v.$(OBJEXT) bpf_success_v_LDADD = $(LDADD) -bpf_success_v_DEPENDENCIES = libtests.a +bpf_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_v_SOURCES = bpf-v.c bpf_v_OBJECTS = bpf-v.$(OBJEXT) bpf_v_LDADD = $(LDADD) -bpf_v_DEPENDENCIES = libtests.a +bpf_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) brk_SOURCES = brk.c brk_OBJECTS = brk.$(OBJEXT) brk_LDADD = $(LDADD) -brk_DEPENDENCIES = libtests.a +brk_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) btrfs_SOURCES = btrfs.c btrfs_OBJECTS = btrfs.$(OBJEXT) btrfs_LDADD = $(LDADD) -btrfs_DEPENDENCIES = libtests.a +btrfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_SOURCES = caps.c caps_OBJECTS = caps.$(OBJEXT) caps_LDADD = $(LDADD) -caps_DEPENDENCIES = libtests.a +caps_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_abbrev_SOURCES = caps-abbrev.c caps_abbrev_OBJECTS = caps-abbrev.$(OBJEXT) caps_abbrev_LDADD = $(LDADD) -caps_abbrev_DEPENDENCIES = libtests.a +caps_abbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chdir_SOURCES = chdir.c chdir_OBJECTS = chdir.$(OBJEXT) chdir_LDADD = $(LDADD) -chdir_DEPENDENCIES = libtests.a +chdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigblock_SOURCES = check_sigblock.c check_sigblock_OBJECTS = check_sigblock.$(OBJEXT) check_sigblock_LDADD = $(LDADD) -check_sigblock_DEPENDENCIES = libtests.a +check_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigign_SOURCES = check_sigign.c check_sigign_OBJECTS = check_sigign.$(OBJEXT) check_sigign_LDADD = $(LDADD) -check_sigign_DEPENDENCIES = libtests.a +check_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod_SOURCES = chmod.c chmod_OBJECTS = chmod.$(OBJEXT) chmod_LDADD = $(LDADD) -chmod_DEPENDENCIES = libtests.a +chmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod__secontext_SOURCES = chmod--secontext.c chmod__secontext_OBJECTS = chmod--secontext.$(OBJEXT) -chmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chmod__secontext_full_SOURCES = chmod--secontext_full.c chmod__secontext_full_OBJECTS = chmod--secontext_full.$(OBJEXT) -chmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_full_mismatch_SOURCES = \ + chmod--secontext_full_mismatch.c +chmod__secontext_full_mismatch_OBJECTS = \ + chmod--secontext_full_mismatch.$(OBJEXT) +chmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_mismatch_SOURCES = chmod--secontext_mismatch.c +chmod__secontext_mismatch_OBJECTS = \ + chmod--secontext_mismatch.$(OBJEXT) +chmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chown_SOURCES = chown.c chown_OBJECTS = chown.$(OBJEXT) chown_LDADD = $(LDADD) -chown_DEPENDENCIES = libtests.a +chown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chown32_SOURCES = chown32.c chown32_OBJECTS = chown32.$(OBJEXT) chown32_LDADD = $(LDADD) -chown32_DEPENDENCIES = libtests.a +chown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chroot_SOURCES = chroot.c chroot_OBJECTS = chroot.$(OBJEXT) chroot_LDADD = $(LDADD) -chroot_DEPENDENCIES = libtests.a +chroot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime_SOURCES = clock_adjtime.c clock_adjtime_OBJECTS = clock_adjtime.$(OBJEXT) clock_adjtime_LDADD = $(LDADD) -clock_adjtime_DEPENDENCIES = libtests.a +clock_adjtime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime64_SOURCES = clock_adjtime64.c clock_adjtime64_OBJECTS = clock_adjtime64.$(OBJEXT) clock_adjtime64_LDADD = $(LDADD) -clock_adjtime64_DEPENDENCIES = libtests.a +clock_adjtime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_nanosleep_SOURCES = clock_nanosleep.c clock_nanosleep_OBJECTS = clock_nanosleep.$(OBJEXT) clock_nanosleep_LDADD = $(LDADD) -clock_nanosleep_DEPENDENCIES = libtests.a +clock_nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime_SOURCES = clock_xettime.c clock_xettime_OBJECTS = clock_xettime.$(OBJEXT) clock_xettime_LDADD = $(LDADD) -clock_xettime_DEPENDENCIES = libtests.a +clock_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime64_SOURCES = clock_xettime64.c clock_xettime64_OBJECTS = clock_xettime64.$(OBJEXT) clock_xettime64_LDADD = $(LDADD) -clock_xettime64_DEPENDENCIES = libtests.a +clock_xettime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_flags_SOURCES = clone-flags.c clone_flags_OBJECTS = clone-flags.$(OBJEXT) clone_flags_LDADD = $(LDADD) -clone_flags_DEPENDENCIES = libtests.a +clone_flags_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_SOURCES = clone3.c clone3_OBJECTS = clone3.$(OBJEXT) clone3_LDADD = $(LDADD) -clone3_DEPENDENCIES = libtests.a +clone3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xabbrev_SOURCES = clone3-Xabbrev.c clone3_Xabbrev_OBJECTS = clone3-Xabbrev.$(OBJEXT) clone3_Xabbrev_LDADD = $(LDADD) -clone3_Xabbrev_DEPENDENCIES = libtests.a +clone3_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xraw_SOURCES = clone3-Xraw.c clone3_Xraw_OBJECTS = clone3-Xraw.$(OBJEXT) clone3_Xraw_LDADD = $(LDADD) -clone3_Xraw_DEPENDENCIES = libtests.a +clone3_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xverbose_SOURCES = clone3-Xverbose.c clone3_Xverbose_OBJECTS = clone3-Xverbose.$(OBJEXT) clone3_Xverbose_LDADD = $(LDADD) -clone3_Xverbose_DEPENDENCIES = libtests.a +clone3_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_SOURCES = clone3-success.c clone3_success_OBJECTS = clone3-success.$(OBJEXT) clone3_success_LDADD = $(LDADD) -clone3_success_DEPENDENCIES = libtests.a +clone3_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xabbrev_SOURCES = clone3-success-Xabbrev.c clone3_success_Xabbrev_OBJECTS = clone3-success-Xabbrev.$(OBJEXT) clone3_success_Xabbrev_LDADD = $(LDADD) -clone3_success_Xabbrev_DEPENDENCIES = libtests.a +clone3_success_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xraw_SOURCES = clone3-success-Xraw.c clone3_success_Xraw_OBJECTS = clone3-success-Xraw.$(OBJEXT) clone3_success_Xraw_LDADD = $(LDADD) -clone3_success_Xraw_DEPENDENCIES = libtests.a +clone3_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xverbose_SOURCES = clone3-success-Xverbose.c clone3_success_Xverbose_OBJECTS = clone3-success-Xverbose.$(OBJEXT) clone3_success_Xverbose_LDADD = $(LDADD) -clone3_success_Xverbose_DEPENDENCIES = libtests.a +clone3_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_SOURCES = clone_parent.c clone_parent_OBJECTS = clone_parent.$(OBJEXT) clone_parent_LDADD = $(LDADD) -clone_parent_DEPENDENCIES = libtests.a +clone_parent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent__quiet_exit_SOURCES = clone_parent--quiet-exit.c clone_parent__quiet_exit_OBJECTS = clone_parent--quiet-exit.$(OBJEXT) clone_parent__quiet_exit_LDADD = $(LDADD) -clone_parent__quiet_exit_DEPENDENCIES = libtests.a +clone_parent__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_q_SOURCES = clone_parent-q.c clone_parent_q_OBJECTS = clone_parent-q.$(OBJEXT) clone_parent_q_LDADD = $(LDADD) -clone_parent_q_DEPENDENCIES = libtests.a +clone_parent_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent_qq_SOURCES = clone_parent-qq.c clone_parent_qq_OBJECTS = clone_parent-qq.$(OBJEXT) clone_parent_qq_LDADD = $(LDADD) -clone_parent_qq_DEPENDENCIES = libtests.a +clone_parent_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_SOURCES = clone_ptrace.c clone_ptrace_OBJECTS = clone_ptrace.$(OBJEXT) clone_ptrace_LDADD = $(LDADD) -clone_ptrace_DEPENDENCIES = libtests.a +clone_ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace__quiet_attach_SOURCES = clone_ptrace--quiet-attach.c clone_ptrace__quiet_attach_OBJECTS = \ clone_ptrace--quiet-attach.$(OBJEXT) clone_ptrace__quiet_attach_LDADD = $(LDADD) -clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a +clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace__quiet_exit_SOURCES = clone_ptrace--quiet-exit.c clone_ptrace__quiet_exit_OBJECTS = clone_ptrace--quiet-exit.$(OBJEXT) clone_ptrace__quiet_exit_LDADD = $(LDADD) -clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a +clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace_q_SOURCES = clone_ptrace-q.c clone_ptrace_q_OBJECTS = clone_ptrace-q.$(OBJEXT) clone_ptrace_q_LDADD = $(LDADD) -clone_ptrace_q_DEPENDENCIES = libtests.a +clone_ptrace_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_qq_SOURCES = clone_ptrace-qq.c clone_ptrace_qq_OBJECTS = clone_ptrace-qq.$(OBJEXT) clone_ptrace_qq_LDADD = $(LDADD) -clone_ptrace_qq_DEPENDENCIES = libtests.a +clone_ptrace_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) close_range_SOURCES = close_range.c close_range_OBJECTS = close_range.$(OBJEXT) close_range_LDADD = $(LDADD) -close_range_DEPENDENCIES = libtests.a +close_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) copy_file_range_SOURCES = copy_file_range.c copy_file_range_OBJECTS = copy_file_range.$(OBJEXT) copy_file_range_LDADD = $(LDADD) -copy_file_range_DEPENDENCIES = libtests.a +copy_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) count_f_SOURCES = count-f.c count_f_OBJECTS = count-f.$(OBJEXT) -count_f_DEPENDENCIES = $(LDADD) +count_f_DEPENDENCIES = $(am__DEPENDENCIES_2) creat_SOURCES = creat.c creat_OBJECTS = creat.$(OBJEXT) creat_LDADD = $(LDADD) -creat_DEPENDENCIES = libtests.a +creat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) delay_SOURCES = delay.c delay_OBJECTS = delay.$(OBJEXT) -delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) delete_module_SOURCES = delete_module.c delete_module_OBJECTS = delete_module.$(OBJEXT) delete_module_LDADD = $(LDADD) -delete_module_DEPENDENCIES = libtests.a +delete_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_all_SOURCES = dev--decode-fds-all.c +dev__decode_fds_all_OBJECTS = dev--decode-fds-all.$(OBJEXT) +dev__decode_fds_all_LDADD = $(LDADD) +dev__decode_fds_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_dev_SOURCES = dev--decode-fds-dev.c dev__decode_fds_dev_OBJECTS = dev--decode-fds-dev.$(OBJEXT) dev__decode_fds_dev_LDADD = $(LDADD) -dev__decode_fds_dev_DEPENDENCIES = libtests.a +dev__decode_fds_dev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_none_SOURCES = dev--decode-fds-none.c +dev__decode_fds_none_OBJECTS = dev--decode-fds-none.$(OBJEXT) +dev__decode_fds_none_LDADD = $(LDADD) +dev__decode_fds_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_path_SOURCES = dev--decode-fds-path.c dev__decode_fds_path_OBJECTS = dev--decode-fds-path.$(OBJEXT) dev__decode_fds_path_LDADD = $(LDADD) -dev__decode_fds_path_DEPENDENCIES = libtests.a +dev__decode_fds_path_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_socket_SOURCES = dev--decode-fds-socket.c dev__decode_fds_socket_OBJECTS = dev--decode-fds-socket.$(OBJEXT) dev__decode_fds_socket_LDADD = $(LDADD) -dev__decode_fds_socket_DEPENDENCIES = libtests.a +dev__decode_fds_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev_yy_SOURCES = dev-yy.c dev_yy_OBJECTS = dev-yy.$(OBJEXT) dev_yy_LDADD = $(LDADD) -dev_yy_DEPENDENCIES = libtests.a +dev_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_SOURCES = dup.c dup_OBJECTS = dup.$(OBJEXT) dup_LDADD = $(LDADD) -dup_DEPENDENCIES = libtests.a +dup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_P_SOURCES = dup-P.c dup_P_OBJECTS = dup-P.$(OBJEXT) dup_P_LDADD = $(LDADD) -dup_P_DEPENDENCIES = libtests.a +dup_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_y_SOURCES = dup-y.c dup_y_OBJECTS = dup-y.$(OBJEXT) dup_y_LDADD = $(LDADD) -dup_y_DEPENDENCIES = libtests.a +dup_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_yy_SOURCES = dup-yy.c dup_yy_OBJECTS = dup-yy.$(OBJEXT) dup_yy_LDADD = $(LDADD) -dup_yy_DEPENDENCIES = libtests.a +dup_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_SOURCES = dup2.c dup2_OBJECTS = dup2.$(OBJEXT) dup2_LDADD = $(LDADD) -dup2_DEPENDENCIES = libtests.a +dup2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_P_SOURCES = dup2-P.c dup2_P_OBJECTS = dup2-P.$(OBJEXT) dup2_P_LDADD = $(LDADD) -dup2_P_DEPENDENCIES = libtests.a +dup2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_y_SOURCES = dup2-y.c dup2_y_OBJECTS = dup2-y.$(OBJEXT) dup2_y_LDADD = $(LDADD) -dup2_y_DEPENDENCIES = libtests.a +dup2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_yy_SOURCES = dup2-yy.c dup2_yy_OBJECTS = dup2-yy.$(OBJEXT) dup2_yy_LDADD = $(LDADD) -dup2_yy_DEPENDENCIES = libtests.a +dup2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_SOURCES = dup3.c dup3_OBJECTS = dup3.$(OBJEXT) dup3_LDADD = $(LDADD) -dup3_DEPENDENCIES = libtests.a +dup3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_P_SOURCES = dup3-P.c dup3_P_OBJECTS = dup3-P.$(OBJEXT) dup3_P_LDADD = $(LDADD) -dup3_P_DEPENDENCIES = libtests.a +dup3_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_y_SOURCES = dup3-y.c dup3_y_OBJECTS = dup3-y.$(OBJEXT) dup3_y_LDADD = $(LDADD) -dup3_y_DEPENDENCIES = libtests.a +dup3_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_yy_SOURCES = dup3-yy.c dup3_yy_OBJECTS = dup3-yy.$(OBJEXT) dup3_yy_LDADD = $(LDADD) -dup3_yy_DEPENDENCIES = libtests.a +dup3_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create_SOURCES = epoll_create.c epoll_create_OBJECTS = epoll_create.$(OBJEXT) epoll_create_LDADD = $(LDADD) -epoll_create_DEPENDENCIES = libtests.a +epoll_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create1_SOURCES = epoll_create1.c epoll_create1_OBJECTS = epoll_create1.$(OBJEXT) epoll_create1_LDADD = $(LDADD) -epoll_create1_DEPENDENCIES = libtests.a +epoll_create1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_ctl_SOURCES = epoll_ctl.c epoll_ctl_OBJECTS = epoll_ctl.$(OBJEXT) epoll_ctl_LDADD = $(LDADD) -epoll_ctl_DEPENDENCIES = libtests.a +epoll_ctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait_SOURCES = epoll_pwait.c epoll_pwait_OBJECTS = epoll_pwait.$(OBJEXT) epoll_pwait_LDADD = $(LDADD) -epoll_pwait_DEPENDENCIES = libtests.a +epoll_pwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_SOURCES = epoll_pwait2.c epoll_pwait2_OBJECTS = epoll_pwait2.$(OBJEXT) epoll_pwait2_LDADD = $(LDADD) -epoll_pwait2_DEPENDENCIES = libtests.a +epoll_pwait2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_P_SOURCES = epoll_pwait2-P.c epoll_pwait2_P_OBJECTS = epoll_pwait2-P.$(OBJEXT) epoll_pwait2_P_LDADD = $(LDADD) -epoll_pwait2_P_DEPENDENCIES = libtests.a +epoll_pwait2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_y_SOURCES = epoll_pwait2-y.c epoll_pwait2_y_OBJECTS = epoll_pwait2-y.$(OBJEXT) epoll_pwait2_y_LDADD = $(LDADD) -epoll_pwait2_y_DEPENDENCIES = libtests.a +epoll_pwait2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_wait_SOURCES = epoll_wait.c epoll_wait_OBJECTS = epoll_wait.$(OBJEXT) epoll_wait_LDADD = $(LDADD) -epoll_wait_DEPENDENCIES = libtests.a +epoll_wait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) erestartsys_SOURCES = erestartsys.c erestartsys_OBJECTS = erestartsys.$(OBJEXT) erestartsys_LDADD = $(LDADD) -erestartsys_DEPENDENCIES = libtests.a +erestartsys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) eventfd_SOURCES = eventfd.c eventfd_OBJECTS = eventfd.$(OBJEXT) eventfd_LDADD = $(LDADD) -eventfd_DEPENDENCIES = libtests.a +eventfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve_SOURCES = execve.c execve_OBJECTS = execve.$(OBJEXT) execve_LDADD = $(LDADD) -execve_DEPENDENCIES = libtests.a +execve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve__secontext_SOURCES = execve--secontext.c execve__secontext_OBJECTS = execve--secontext.$(OBJEXT) -execve__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve__secontext_full_SOURCES = execve--secontext_full.c execve__secontext_full_OBJECTS = execve--secontext_full.$(OBJEXT) -execve__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_full_mismatch_SOURCES = \ + execve--secontext_full_mismatch.c +execve__secontext_full_mismatch_OBJECTS = \ + execve--secontext_full_mismatch.$(OBJEXT) +execve__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_mismatch_SOURCES = execve--secontext_mismatch.c +execve__secontext_mismatch_OBJECTS = \ + execve--secontext_mismatch.$(OBJEXT) +execve__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve_v_SOURCES = execve-v.c execve_v_OBJECTS = execve-v.$(OBJEXT) execve_v_LDADD = $(LDADD) -execve_v_DEPENDENCIES = libtests.a +execve_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat_SOURCES = execveat.c execveat_OBJECTS = execveat.$(OBJEXT) execveat_LDADD = $(LDADD) -execveat_DEPENDENCIES = libtests.a +execveat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat__secontext_SOURCES = execveat--secontext.c execveat__secontext_OBJECTS = execveat--secontext.$(OBJEXT) -execveat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat__secontext_full_SOURCES = execveat--secontext_full.c execveat__secontext_full_OBJECTS = execveat--secontext_full.$(OBJEXT) -execveat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execveat__secontext_full_mismatch_SOURCES = \ + execveat--secontext_full_mismatch.c +execveat__secontext_full_mismatch_OBJECTS = \ + execveat--secontext_full_mismatch.$(OBJEXT) +execveat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +execveat__secontext_mismatch_SOURCES = execveat--secontext_mismatch.c +execveat__secontext_mismatch_OBJECTS = \ + execveat--secontext_mismatch.$(OBJEXT) +execveat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat_v_SOURCES = execveat-v.c execveat_v_OBJECTS = execveat-v.$(OBJEXT) execveat_v_LDADD = $(LDADD) -execveat_v_DEPENDENCIES = libtests.a +execveat_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_SOURCES = faccessat.c faccessat_OBJECTS = faccessat.$(OBJEXT) faccessat_LDADD = $(LDADD) -faccessat_DEPENDENCIES = libtests.a +faccessat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat__secontext_SOURCES = faccessat--secontext.c faccessat__secontext_OBJECTS = faccessat--secontext.$(OBJEXT) -faccessat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat__secontext_full_SOURCES = faccessat--secontext_full.c faccessat__secontext_full_OBJECTS = \ faccessat--secontext_full.$(OBJEXT) -faccessat__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat__secontext_full_mismatch_SOURCES = \ + faccessat--secontext_full_mismatch.c +faccessat__secontext_full_mismatch_OBJECTS = \ + faccessat--secontext_full_mismatch.$(OBJEXT) +faccessat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat__secontext_mismatch_SOURCES = \ + faccessat--secontext_mismatch.c +faccessat__secontext_mismatch_OBJECTS = \ + faccessat--secontext_mismatch.$(OBJEXT) +faccessat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_P_SOURCES = faccessat-P.c faccessat_P_OBJECTS = faccessat-P.$(OBJEXT) faccessat_P_LDADD = $(LDADD) -faccessat_P_DEPENDENCIES = libtests.a +faccessat_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y_SOURCES = faccessat-y.c faccessat_y_OBJECTS = faccessat-y.$(OBJEXT) faccessat_y_LDADD = $(LDADD) -faccessat_y_DEPENDENCIES = libtests.a +faccessat_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y__secontext_SOURCES = faccessat-y--secontext.c faccessat_y__secontext_OBJECTS = faccessat-y--secontext.$(OBJEXT) -faccessat_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_y__secontext_full_SOURCES = faccessat-y--secontext_full.c faccessat_y__secontext_full_OBJECTS = \ faccessat-y--secontext_full.$(OBJEXT) -faccessat_y__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat_y__secontext_full_mismatch_SOURCES = \ + faccessat-y--secontext_full_mismatch.c +faccessat_y__secontext_full_mismatch_OBJECTS = \ + faccessat-y--secontext_full_mismatch.$(OBJEXT) +faccessat_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat_y__secontext_mismatch_SOURCES = \ + faccessat-y--secontext_mismatch.c +faccessat_y__secontext_mismatch_OBJECTS = \ + faccessat-y--secontext_mismatch.$(OBJEXT) +faccessat_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_yy_SOURCES = faccessat-yy.c faccessat_yy_OBJECTS = faccessat-yy.$(OBJEXT) faccessat_yy_LDADD = $(LDADD) -faccessat_yy_DEPENDENCIES = libtests.a +faccessat_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_SOURCES = faccessat2.c faccessat2_OBJECTS = faccessat2.$(OBJEXT) faccessat2_LDADD = $(LDADD) -faccessat2_DEPENDENCIES = libtests.a +faccessat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_P_SOURCES = faccessat2-P.c faccessat2_P_OBJECTS = faccessat2-P.$(OBJEXT) faccessat2_P_LDADD = $(LDADD) -faccessat2_P_DEPENDENCIES = libtests.a +faccessat2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_y_SOURCES = faccessat2-y.c faccessat2_y_OBJECTS = faccessat2-y.$(OBJEXT) faccessat2_y_LDADD = $(LDADD) -faccessat2_y_DEPENDENCIES = libtests.a +faccessat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_yy_SOURCES = faccessat2-yy.c faccessat2_yy_OBJECTS = faccessat2-yy.$(OBJEXT) faccessat2_yy_LDADD = $(LDADD) -faccessat2_yy_DEPENDENCIES = libtests.a +faccessat2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_SOURCES = fadvise64.c fadvise64_OBJECTS = fadvise64.$(OBJEXT) fadvise64_LDADD = $(LDADD) -fadvise64_DEPENDENCIES = libtests.a +fadvise64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_64_SOURCES = fadvise64_64.c fadvise64_64_OBJECTS = fadvise64_64.$(OBJEXT) fadvise64_64_LDADD = $(LDADD) -fadvise64_64_DEPENDENCIES = libtests.a +fadvise64_64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fallocate_SOURCES = fallocate.c fallocate_OBJECTS = fallocate.$(OBJEXT) fallocate_LDADD = $(LDADD) -fallocate_DEPENDENCIES = libtests.a +fallocate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_init_SOURCES = fanotify_init.c fanotify_init_OBJECTS = fanotify_init.$(OBJEXT) fanotify_init_LDADD = $(LDADD) -fanotify_init_DEPENDENCIES = libtests.a +fanotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_SOURCES = fanotify_mark.c fanotify_mark_OBJECTS = fanotify_mark.$(OBJEXT) fanotify_mark_LDADD = $(LDADD) -fanotify_mark_DEPENDENCIES = libtests.a +fanotify_mark_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark__secontext_SOURCES = fanotify_mark--secontext.c fanotify_mark__secontext_OBJECTS = fanotify_mark--secontext.$(OBJEXT) -fanotify_mark__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fanotify_mark__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fanotify_mark__secontext_full_SOURCES = \ fanotify_mark--secontext_full.c fanotify_mark__secontext_full_OBJECTS = \ fanotify_mark--secontext_full.$(OBJEXT) -fanotify_mark__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +fanotify_mark__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fanotify_mark__secontext_full_mismatch_SOURCES = \ + fanotify_mark--secontext_full_mismatch.c +fanotify_mark__secontext_full_mismatch_OBJECTS = \ + fanotify_mark--secontext_full_mismatch.$(OBJEXT) +fanotify_mark__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fanotify_mark__secontext_mismatch_SOURCES = \ + fanotify_mark--secontext_mismatch.c +fanotify_mark__secontext_mismatch_OBJECTS = \ + fanotify_mark--secontext_mismatch.$(OBJEXT) +fanotify_mark__secontext_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) fanotify_mark_Xabbrev_SOURCES = fanotify_mark-Xabbrev.c fanotify_mark_Xabbrev_OBJECTS = fanotify_mark-Xabbrev.$(OBJEXT) fanotify_mark_Xabbrev_LDADD = $(LDADD) -fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a +fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xraw_SOURCES = fanotify_mark-Xraw.c fanotify_mark_Xraw_OBJECTS = fanotify_mark-Xraw.$(OBJEXT) fanotify_mark_Xraw_LDADD = $(LDADD) -fanotify_mark_Xraw_DEPENDENCIES = libtests.a +fanotify_mark_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xverbose_SOURCES = fanotify_mark-Xverbose.c fanotify_mark_Xverbose_OBJECTS = fanotify_mark-Xverbose.$(OBJEXT) fanotify_mark_Xverbose_LDADD = $(LDADD) -fanotify_mark_Xverbose_DEPENDENCIES = libtests.a +fanotify_mark_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchdir_SOURCES = fchdir.c fchdir_OBJECTS = fchdir.$(OBJEXT) fchdir_LDADD = $(LDADD) -fchdir_DEPENDENCIES = libtests.a +fchdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_SOURCES = fchmod.c fchmod_OBJECTS = fchmod.$(OBJEXT) fchmod_LDADD = $(LDADD) -fchmod_DEPENDENCIES = libtests.a +fchmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod__secontext_SOURCES = fchmod--secontext.c fchmod__secontext_OBJECTS = fchmod--secontext.$(OBJEXT) -fchmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod__secontext_full_SOURCES = fchmod--secontext_full.c fchmod__secontext_full_OBJECTS = fchmod--secontext_full.$(OBJEXT) -fchmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_full_mismatch_SOURCES = \ + fchmod--secontext_full_mismatch.c +fchmod__secontext_full_mismatch_OBJECTS = \ + fchmod--secontext_full_mismatch.$(OBJEXT) +fchmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_mismatch_SOURCES = fchmod--secontext_mismatch.c +fchmod__secontext_mismatch_OBJECTS = \ + fchmod--secontext_mismatch.$(OBJEXT) +fchmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y_SOURCES = fchmod-y.c fchmod_y_OBJECTS = fchmod-y.$(OBJEXT) fchmod_y_LDADD = $(LDADD) -fchmod_y_DEPENDENCIES = libtests.a +fchmod_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_y__secontext_SOURCES = fchmod-y--secontext.c fchmod_y__secontext_OBJECTS = fchmod-y--secontext.$(OBJEXT) -fchmod_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y__secontext_full_SOURCES = fchmod-y--secontext_full.c fchmod_y__secontext_full_OBJECTS = fchmod-y--secontext_full.$(OBJEXT) -fchmod_y__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod_y__secontext_full_mismatch_SOURCES = \ + fchmod-y--secontext_full_mismatch.c +fchmod_y__secontext_full_mismatch_OBJECTS = \ + fchmod-y--secontext_full_mismatch.$(OBJEXT) +fchmod_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmod_y__secontext_mismatch_SOURCES = fchmod-y--secontext_mismatch.c +fchmod_y__secontext_mismatch_OBJECTS = \ + fchmod-y--secontext_mismatch.$(OBJEXT) +fchmod_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat_SOURCES = fchmodat.c fchmodat_OBJECTS = fchmodat.$(OBJEXT) fchmodat_LDADD = $(LDADD) -fchmodat_DEPENDENCIES = libtests.a +fchmodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmodat__secontext_SOURCES = fchmodat--secontext.c fchmodat__secontext_OBJECTS = fchmodat--secontext.$(OBJEXT) -fchmodat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat__secontext_full_SOURCES = fchmodat--secontext_full.c fchmodat__secontext_full_OBJECTS = fchmodat--secontext_full.$(OBJEXT) -fchmodat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmodat__secontext_full_mismatch_SOURCES = \ + fchmodat--secontext_full_mismatch.c +fchmodat__secontext_full_mismatch_OBJECTS = \ + fchmodat--secontext_full_mismatch.$(OBJEXT) +fchmodat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmodat__secontext_mismatch_SOURCES = fchmodat--secontext_mismatch.c +fchmodat__secontext_mismatch_OBJECTS = \ + fchmodat--secontext_mismatch.$(OBJEXT) +fchmodat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchown_SOURCES = fchown.c fchown_OBJECTS = fchown.$(OBJEXT) fchown_LDADD = $(LDADD) -fchown_DEPENDENCIES = libtests.a +fchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchown32_SOURCES = fchown32.c fchown32_OBJECTS = fchown32.$(OBJEXT) fchown32_LDADD = $(LDADD) -fchown32_DEPENDENCIES = libtests.a +fchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat_SOURCES = fchownat.c fchownat_OBJECTS = fchownat.$(OBJEXT) fchownat_LDADD = $(LDADD) -fchownat_DEPENDENCIES = libtests.a +fchownat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat__secontext_SOURCES = fchownat--secontext.c fchownat__secontext_OBJECTS = fchownat--secontext.$(OBJEXT) -fchownat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchownat__secontext_full_SOURCES = fchownat--secontext_full.c fchownat__secontext_full_OBJECTS = fchownat--secontext_full.$(OBJEXT) -fchownat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchownat__secontext_full_mismatch_SOURCES = \ + fchownat--secontext_full_mismatch.c +fchownat__secontext_full_mismatch_OBJECTS = \ + fchownat--secontext_full_mismatch.$(OBJEXT) +fchownat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchownat__secontext_mismatch_SOURCES = fchownat--secontext_mismatch.c +fchownat__secontext_mismatch_OBJECTS = \ + fchownat--secontext_mismatch.$(OBJEXT) +fchownat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fcntl_SOURCES = fcntl.c fcntl_OBJECTS = fcntl.$(OBJEXT) fcntl_LDADD = $(LDADD) -fcntl_DEPENDENCIES = libtests.a +fcntl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl__pidns_translation_SOURCES = fcntl--pidns-translation.c fcntl__pidns_translation_OBJECTS = fcntl--pidns-translation.$(OBJEXT) fcntl__pidns_translation_LDADD = $(LDADD) -fcntl__pidns_translation_DEPENDENCIES = libtests.a +fcntl__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fcntl64_SOURCES = fcntl64.c fcntl64_OBJECTS = fcntl64.$(OBJEXT) fcntl64_LDADD = $(LDADD) -fcntl64_DEPENDENCIES = libtests.a +fcntl64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl64__pidns_translation_SOURCES = fcntl64--pidns-translation.c fcntl64__pidns_translation_OBJECTS = \ fcntl64--pidns-translation.$(OBJEXT) fcntl64__pidns_translation_LDADD = $(LDADD) -fcntl64__pidns_translation_DEPENDENCIES = libtests.a +fcntl64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fdatasync_SOURCES = fdatasync.c fdatasync_OBJECTS = fdatasync.$(OBJEXT) fdatasync_LDADD = $(LDADD) -fdatasync_DEPENDENCIES = libtests.a +fdatasync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fflush_SOURCES = fflush.c fflush_OBJECTS = fflush.$(OBJEXT) fflush_LDADD = $(LDADD) -fflush_DEPENDENCIES = libtests.a +fflush_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle_SOURCES = file_handle.c file_handle_OBJECTS = file_handle.$(OBJEXT) file_handle_LDADD = $(LDADD) -file_handle_DEPENDENCIES = libtests.a +file_handle_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle__secontext_SOURCES = file_handle--secontext.c file_handle__secontext_OBJECTS = file_handle--secontext.$(OBJEXT) -file_handle__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +file_handle__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) file_handle__secontext_full_SOURCES = file_handle--secontext_full.c file_handle__secontext_full_OBJECTS = \ file_handle--secontext_full.$(OBJEXT) -file_handle__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +file_handle__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +file_handle__secontext_full_mismatch_SOURCES = \ + file_handle--secontext_full_mismatch.c +file_handle__secontext_full_mismatch_OBJECTS = \ + file_handle--secontext_full_mismatch.$(OBJEXT) +file_handle__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +file_handle__secontext_mismatch_SOURCES = \ + file_handle--secontext_mismatch.c +file_handle__secontext_mismatch_OBJECTS = \ + file_handle--secontext_mismatch.$(OBJEXT) +file_handle__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) filter_unavailable_SOURCES = filter-unavailable.c filter_unavailable_OBJECTS = filter-unavailable.$(OBJEXT) -filter_unavailable_DEPENDENCIES = $(LDADD) +filter_unavailable_DEPENDENCIES = $(am__DEPENDENCIES_2) filter_seccomp_flag_SOURCES = filter_seccomp-flag.c filter_seccomp_flag_OBJECTS = filter_seccomp-flag.$(OBJEXT) filter_seccomp_flag_LDADD = $(LDADD) -filter_seccomp_flag_DEPENDENCIES = libtests.a +filter_seccomp_flag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) filter_seccomp_perf_SOURCES = filter_seccomp-perf.c filter_seccomp_perf_OBJECTS = filter_seccomp-perf.$(OBJEXT) filter_seccomp_perf_LDADD = $(LDADD) -filter_seccomp_perf_DEPENDENCIES = libtests.a +filter_seccomp_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) finit_module_SOURCES = finit_module.c finit_module_OBJECTS = finit_module.$(OBJEXT) finit_module_LDADD = $(LDADD) -finit_module_DEPENDENCIES = libtests.a +finit_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) flock_SOURCES = flock.c flock_OBJECTS = flock.$(OBJEXT) flock_LDADD = $(LDADD) -flock_DEPENDENCIES = libtests.a +flock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fork__pidns_translation_SOURCES = fork--pidns-translation.c fork__pidns_translation_OBJECTS = fork--pidns-translation.$(OBJEXT) fork__pidns_translation_LDADD = $(LDADD) -fork__pidns_translation_DEPENDENCIES = libtests.a +fork__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fork_f_SOURCES = fork-f.c fork_f_OBJECTS = fork-f.$(OBJEXT) fork_f_LDADD = $(LDADD) -fork_f_DEPENDENCIES = libtests.a +fork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_SOURCES = fsconfig.c fsconfig_OBJECTS = fsconfig.$(OBJEXT) fsconfig_LDADD = $(LDADD) -fsconfig_DEPENDENCIES = libtests.a +fsconfig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_P_SOURCES = fsconfig-P.c fsconfig_P_OBJECTS = fsconfig-P.$(OBJEXT) fsconfig_P_LDADD = $(LDADD) -fsconfig_P_DEPENDENCIES = libtests.a +fsconfig_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsmount_SOURCES = fsmount.c fsmount_OBJECTS = fsmount.$(OBJEXT) fsmount_LDADD = $(LDADD) -fsmount_DEPENDENCIES = libtests.a +fsmount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsopen_SOURCES = fsopen.c fsopen_OBJECTS = fsopen.$(OBJEXT) fsopen_LDADD = $(LDADD) -fsopen_DEPENDENCIES = libtests.a +fsopen_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_SOURCES = fspick.c fspick_OBJECTS = fspick.$(OBJEXT) fspick_LDADD = $(LDADD) -fspick_DEPENDENCIES = libtests.a +fspick_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_P_SOURCES = fspick-P.c fspick_P_OBJECTS = fspick-P.$(OBJEXT) fspick_P_LDADD = $(LDADD) -fspick_P_DEPENDENCIES = libtests.a +fspick_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_SOURCES = fstat.c fstat_OBJECTS = fstat.$(OBJEXT) fstat_LDADD = $(LDADD) -fstat_DEPENDENCIES = libtests.a +fstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xabbrev_SOURCES = fstat-Xabbrev.c fstat_Xabbrev_OBJECTS = fstat-Xabbrev.$(OBJEXT) fstat_Xabbrev_LDADD = $(LDADD) -fstat_Xabbrev_DEPENDENCIES = libtests.a +fstat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xraw_SOURCES = fstat-Xraw.c fstat_Xraw_OBJECTS = fstat-Xraw.$(OBJEXT) fstat_Xraw_LDADD = $(LDADD) -fstat_Xraw_DEPENDENCIES = libtests.a +fstat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xverbose_SOURCES = fstat-Xverbose.c fstat_Xverbose_OBJECTS = fstat-Xverbose.$(OBJEXT) fstat_Xverbose_LDADD = $(LDADD) -fstat_Xverbose_DEPENDENCIES = libtests.a +fstat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_SOURCES = fstat64.c fstat64_OBJECTS = fstat64-fstat64.$(OBJEXT) fstat64_LDADD = $(LDADD) -fstat64_DEPENDENCIES = libtests.a +fstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xabbrev_SOURCES = fstat64-Xabbrev.c fstat64_Xabbrev_OBJECTS = fstat64-Xabbrev.$(OBJEXT) fstat64_Xabbrev_LDADD = $(LDADD) -fstat64_Xabbrev_DEPENDENCIES = libtests.a +fstat64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xraw_SOURCES = fstat64-Xraw.c fstat64_Xraw_OBJECTS = fstat64-Xraw.$(OBJEXT) fstat64_Xraw_LDADD = $(LDADD) -fstat64_Xraw_DEPENDENCIES = libtests.a +fstat64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xverbose_SOURCES = fstat64-Xverbose.c fstat64_Xverbose_OBJECTS = fstat64-Xverbose.$(OBJEXT) fstat64_Xverbose_LDADD = $(LDADD) -fstat64_Xverbose_DEPENDENCIES = libtests.a +fstat64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatat64_SOURCES = fstatat64.c fstatat64_OBJECTS = fstatat64-fstatat64.$(OBJEXT) fstatat64_LDADD = $(LDADD) -fstatat64_DEPENDENCIES = libtests.a +fstatat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs_SOURCES = fstatfs.c fstatfs_OBJECTS = fstatfs.$(OBJEXT) fstatfs_LDADD = $(LDADD) -fstatfs_DEPENDENCIES = libtests.a +fstatfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs64_SOURCES = fstatfs64.c fstatfs64_OBJECTS = fstatfs64.$(OBJEXT) fstatfs64_LDADD = $(LDADD) -fstatfs64_DEPENDENCIES = libtests.a +fstatfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_SOURCES = fsync.c fsync_OBJECTS = fsync.$(OBJEXT) fsync_LDADD = $(LDADD) -fsync_DEPENDENCIES = libtests.a +fsync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_y_SOURCES = fsync-y.c fsync_y_OBJECTS = fsync-y.$(OBJEXT) fsync_y_LDADD = $(LDADD) -fsync_y_DEPENDENCIES = libtests.a +fsync_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate_SOURCES = ftruncate.c ftruncate_OBJECTS = ftruncate.$(OBJEXT) ftruncate_LDADD = $(LDADD) -ftruncate_DEPENDENCIES = libtests.a +ftruncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate64_SOURCES = ftruncate64.c ftruncate64_OBJECTS = ftruncate64-ftruncate64.$(OBJEXT) ftruncate64_LDADD = $(LDADD) -ftruncate64_DEPENDENCIES = libtests.a +ftruncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futex_SOURCES = futex.c futex_OBJECTS = futex.$(OBJEXT) futex_LDADD = $(LDADD) -futex_DEPENDENCIES = libtests.a +futex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +futex_waitv_SOURCES = futex_waitv.c +futex_waitv_OBJECTS = futex_waitv.$(OBJEXT) +futex_waitv_LDADD = $(LDADD) +futex_waitv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futimesat_SOURCES = futimesat.c futimesat_OBJECTS = futimesat.$(OBJEXT) futimesat_LDADD = $(LDADD) -futimesat_DEPENDENCIES = libtests.a +futimesat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_mempolicy_SOURCES = get_mempolicy.c get_mempolicy_OBJECTS = get_mempolicy.$(OBJEXT) get_mempolicy_LDADD = $(LDADD) -get_mempolicy_DEPENDENCIES = libtests.a +get_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_process_reaper_SOURCES = get_process_reaper.c get_process_reaper_OBJECTS = get_process_reaper.$(OBJEXT) get_process_reaper_LDADD = $(LDADD) -get_process_reaper_DEPENDENCIES = libtests.a +get_process_reaper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcpu_SOURCES = getcpu.c getcpu_OBJECTS = getcpu.$(OBJEXT) getcpu_LDADD = $(LDADD) -getcpu_DEPENDENCIES = libtests.a +getcpu_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcwd_SOURCES = getcwd.c getcwd_OBJECTS = getcwd.$(OBJEXT) getcwd_LDADD = $(LDADD) -getcwd_DEPENDENCIES = libtests.a +getcwd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_SOURCES = getdents.c getdents_OBJECTS = getdents.$(OBJEXT) getdents_LDADD = $(LDADD) -getdents_DEPENDENCIES = libtests.a +getdents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_v_SOURCES = getdents-v.c getdents_v_OBJECTS = getdents-v.$(OBJEXT) getdents_v_LDADD = $(LDADD) -getdents_v_DEPENDENCIES = libtests.a +getdents_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_SOURCES = getdents64.c getdents64_OBJECTS = getdents64.$(OBJEXT) getdents64_LDADD = $(LDADD) -getdents64_DEPENDENCIES = libtests.a +getdents64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_v_SOURCES = getdents64-v.c getdents64_v_OBJECTS = getdents64-v.$(OBJEXT) getdents64_v_LDADD = $(LDADD) -getdents64_v_DEPENDENCIES = libtests.a +getdents64_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid_SOURCES = getegid.c getegid_OBJECTS = getegid.$(OBJEXT) getegid_LDADD = $(LDADD) -getegid_DEPENDENCIES = libtests.a +getegid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid32_SOURCES = getegid32.c getegid32_OBJECTS = getegid32.$(OBJEXT) getegid32_LDADD = $(LDADD) -getegid32_DEPENDENCIES = libtests.a +getegid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid_SOURCES = geteuid.c geteuid_OBJECTS = geteuid.$(OBJEXT) geteuid_LDADD = $(LDADD) -geteuid_DEPENDENCIES = libtests.a +geteuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid32_SOURCES = geteuid32.c geteuid32_OBJECTS = geteuid32.$(OBJEXT) geteuid32_LDADD = $(LDADD) -geteuid32_DEPENDENCIES = libtests.a +geteuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid_SOURCES = getgid.c getgid_OBJECTS = getgid.$(OBJEXT) getgid_LDADD = $(LDADD) -getgid_DEPENDENCIES = libtests.a +getgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid32_SOURCES = getgid32.c getgid32_OBJECTS = getgid32.$(OBJEXT) getgid32_LDADD = $(LDADD) -getgid32_DEPENDENCIES = libtests.a +getgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups_SOURCES = getgroups.c getgroups_OBJECTS = getgroups.$(OBJEXT) getgroups_LDADD = $(LDADD) -getgroups_DEPENDENCIES = libtests.a +getgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups32_SOURCES = getgroups32.c getgroups32_OBJECTS = getgroups32.$(OBJEXT) getgroups32_LDADD = $(LDADD) -getgroups32_DEPENDENCIES = libtests.a +getgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpeername_SOURCES = getpeername.c getpeername_OBJECTS = getpeername.$(OBJEXT) getpeername_LDADD = $(LDADD) -getpeername_DEPENDENCIES = libtests.a +getpeername_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp_SOURCES = getpgrp.c getpgrp_OBJECTS = getpgrp.$(OBJEXT) getpgrp_LDADD = $(LDADD) -getpgrp_DEPENDENCIES = libtests.a +getpgrp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp__pidns_translation_SOURCES = getpgrp--pidns-translation.c getpgrp__pidns_translation_OBJECTS = \ getpgrp--pidns-translation.$(OBJEXT) getpgrp__pidns_translation_LDADD = $(LDADD) -getpgrp__pidns_translation_DEPENDENCIES = libtests.a +getpgrp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getpid_SOURCES = getpid.c getpid_OBJECTS = getpid.$(OBJEXT) getpid_LDADD = $(LDADD) -getpid_DEPENDENCIES = libtests.a +getpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpid__pidns_translation_SOURCES = getpid--pidns-translation.c getpid__pidns_translation_OBJECTS = \ getpid--pidns-translation.$(OBJEXT) getpid__pidns_translation_LDADD = $(LDADD) -getpid__pidns_translation_DEPENDENCIES = libtests.a +getpid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getppid_SOURCES = getppid.c getppid_OBJECTS = getppid.$(OBJEXT) getppid_LDADD = $(LDADD) -getppid_DEPENDENCIES = libtests.a +getppid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrandom_SOURCES = getrandom.c getrandom_OBJECTS = getrandom.$(OBJEXT) getrandom_LDADD = $(LDADD) -getrandom_DEPENDENCIES = libtests.a +getrandom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid_SOURCES = getresgid.c getresgid_OBJECTS = getresgid.$(OBJEXT) getresgid_LDADD = $(LDADD) -getresgid_DEPENDENCIES = libtests.a +getresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid32_SOURCES = getresgid32.c getresgid32_OBJECTS = getresgid32.$(OBJEXT) getresgid32_LDADD = $(LDADD) -getresgid32_DEPENDENCIES = libtests.a +getresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid_SOURCES = getresuid.c getresuid_OBJECTS = getresuid.$(OBJEXT) getresuid_LDADD = $(LDADD) -getresuid_DEPENDENCIES = libtests.a +getresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid32_SOURCES = getresuid32.c getresuid32_OBJECTS = getresuid32.$(OBJEXT) getresuid32_LDADD = $(LDADD) -getresuid32_DEPENDENCIES = libtests.a +getresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrlimit_SOURCES = getrlimit.c getrlimit_OBJECTS = getrlimit.$(OBJEXT) getrlimit_LDADD = $(LDADD) -getrlimit_DEPENDENCIES = libtests.a +getrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrusage_SOURCES = getrusage.c getrusage_OBJECTS = getrusage.$(OBJEXT) getrusage_LDADD = $(LDADD) -getrusage_DEPENDENCIES = libtests.a +getrusage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid_SOURCES = getsid.c getsid_OBJECTS = getsid.$(OBJEXT) getsid_LDADD = $(LDADD) -getsid_DEPENDENCIES = libtests.a +getsid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid__pidns_translation_SOURCES = getsid--pidns-translation.c getsid__pidns_translation_OBJECTS = \ getsid--pidns-translation.$(OBJEXT) getsid__pidns_translation_LDADD = $(LDADD) -getsid__pidns_translation_DEPENDENCIES = libtests.a +getsid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getsockname_SOURCES = getsockname.c getsockname_OBJECTS = getsockname.$(OBJEXT) getsockname_LDADD = $(LDADD) -getsockname_DEPENDENCIES = libtests.a +getsockname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +getsockname__secontext_SOURCES = getsockname--secontext.c +getsockname__secontext_OBJECTS = getsockname--secontext.$(OBJEXT) +getsockname__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_SOURCES = getsockname--secontext_full.c +getsockname__secontext_full_OBJECTS = \ + getsockname--secontext_full.$(OBJEXT) +getsockname__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_mismatch_SOURCES = \ + getsockname--secontext_full_mismatch.c +getsockname__secontext_full_mismatch_OBJECTS = \ + getsockname--secontext_full_mismatch.$(OBJEXT) +getsockname__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +getsockname__secontext_mismatch_SOURCES = \ + getsockname--secontext_mismatch.c +getsockname__secontext_mismatch_OBJECTS = \ + getsockname--secontext_mismatch.$(OBJEXT) +getsockname__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) gettid_SOURCES = gettid.c gettid_OBJECTS = gettid.$(OBJEXT) gettid_LDADD = $(LDADD) -gettid_DEPENDENCIES = libtests.a +gettid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) gettid__pidns_translation_SOURCES = gettid--pidns-translation.c gettid__pidns_translation_OBJECTS = \ gettid--pidns-translation.$(OBJEXT) gettid__pidns_translation_LDADD = $(LDADD) -gettid__pidns_translation_DEPENDENCIES = libtests.a +gettid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getuid_SOURCES = getuid.c getuid_OBJECTS = getuid.$(OBJEXT) getuid_LDADD = $(LDADD) -getuid_DEPENDENCIES = libtests.a +getuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getuid32_SOURCES = getuid32.c getuid32_OBJECTS = getuid32.$(OBJEXT) getuid32_LDADD = $(LDADD) -getuid32_DEPENDENCIES = libtests.a +getuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxgid_SOURCES = getxgid.c getxgid_OBJECTS = getxgid.$(OBJEXT) getxgid_LDADD = $(LDADD) -getxgid_DEPENDENCIES = libtests.a +getxgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxpid_SOURCES = getxpid.c getxpid_OBJECTS = getxpid.$(OBJEXT) getxpid_LDADD = $(LDADD) -getxpid_DEPENDENCIES = libtests.a +getxpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxuid_SOURCES = getxuid.c getxuid_OBJECTS = getxuid.$(OBJEXT) getxuid_LDADD = $(LDADD) -getxuid_DEPENDENCIES = libtests.a +getxuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) group_req_SOURCES = group_req.c group_req_OBJECTS = group_req.$(OBJEXT) group_req_LDADD = $(LDADD) -group_req_DEPENDENCIES = libtests.a +group_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inet_cmsg_SOURCES = inet-cmsg.c inet_cmsg_OBJECTS = inet-cmsg.$(OBJEXT) inet_cmsg_LDADD = $(LDADD) -inet_cmsg_DEPENDENCIES = libtests.a +inet_cmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) init_module_SOURCES = init_module.c init_module_OBJECTS = init_module.$(OBJEXT) init_module_LDADD = $(LDADD) -init_module_DEPENDENCIES = libtests.a +init_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inject_nf_SOURCES = inject-nf.c inject_nf_OBJECTS = inject-nf.$(OBJEXT) inject_nf_LDADD = $(LDADD) -inject_nf_DEPENDENCIES = libtests.a +inject_nf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_SOURCES = inotify.c inotify_OBJECTS = inotify.$(OBJEXT) inotify_LDADD = $(LDADD) -inotify_DEPENDENCIES = libtests.a +inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_SOURCES = inotify_init.c inotify_init_OBJECTS = inotify_init.$(OBJEXT) inotify_init_LDADD = $(LDADD) -inotify_init_DEPENDENCIES = libtests.a +inotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_y_SOURCES = inotify_init-y.c inotify_init_y_OBJECTS = inotify_init-y.$(OBJEXT) inotify_init_y_LDADD = $(LDADD) -inotify_init_y_DEPENDENCIES = libtests.a +inotify_init_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_SOURCES = inotify_init1.c inotify_init1_OBJECTS = inotify_init1.$(OBJEXT) inotify_init1_LDADD = $(LDADD) -inotify_init1_DEPENDENCIES = libtests.a +inotify_init1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_y_SOURCES = inotify_init1-y.c inotify_init1_y_OBJECTS = inotify_init1-y.$(OBJEXT) inotify_init1_y_LDADD = $(LDADD) -inotify_init1_y_DEPENDENCIES = libtests.a +inotify_init1_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) int_0x80_SOURCES = int_0x80.c int_0x80_OBJECTS = int_0x80.$(OBJEXT) int_0x80_LDADD = $(LDADD) -int_0x80_DEPENDENCIES = libtests.a +int_0x80_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_enter_SOURCES = io_uring_enter.c io_uring_enter_OBJECTS = io_uring_enter.$(OBJEXT) io_uring_enter_LDADD = $(LDADD) -io_uring_enter_DEPENDENCIES = libtests.a +io_uring_enter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_register_SOURCES = io_uring_register.c io_uring_register_OBJECTS = io_uring_register.$(OBJEXT) io_uring_register_LDADD = $(LDADD) -io_uring_register_DEPENDENCIES = libtests.a +io_uring_register_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xabbrev_SOURCES = io_uring_register-Xabbrev.c +io_uring_register_Xabbrev_OBJECTS = \ + io_uring_register-Xabbrev.$(OBJEXT) +io_uring_register_Xabbrev_LDADD = $(LDADD) +io_uring_register_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_Xraw_SOURCES = io_uring_register-Xraw.c +io_uring_register_Xraw_OBJECTS = io_uring_register-Xraw.$(OBJEXT) +io_uring_register_Xraw_LDADD = $(LDADD) +io_uring_register_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xverbose_SOURCES = io_uring_register-Xverbose.c +io_uring_register_Xverbose_OBJECTS = \ + io_uring_register-Xverbose.$(OBJEXT) +io_uring_register_Xverbose_LDADD = $(LDADD) +io_uring_register_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_SOURCES = io_uring_register-success.c +io_uring_register_success_OBJECTS = \ + io_uring_register-success.$(OBJEXT) +io_uring_register_success_LDADD = $(LDADD) +io_uring_register_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xabbrev_SOURCES = \ + io_uring_register-success-Xabbrev.c +io_uring_register_success_Xabbrev_OBJECTS = \ + io_uring_register-success-Xabbrev.$(OBJEXT) +io_uring_register_success_Xabbrev_LDADD = $(LDADD) +io_uring_register_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xraw_SOURCES = \ + io_uring_register-success-Xraw.c +io_uring_register_success_Xraw_OBJECTS = \ + io_uring_register-success-Xraw.$(OBJEXT) +io_uring_register_success_Xraw_LDADD = $(LDADD) +io_uring_register_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xverbose_SOURCES = \ + io_uring_register-success-Xverbose.c +io_uring_register_success_Xverbose_OBJECTS = \ + io_uring_register-success-Xverbose.$(OBJEXT) +io_uring_register_success_Xverbose_LDADD = $(LDADD) +io_uring_register_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) io_uring_setup_SOURCES = io_uring_setup.c io_uring_setup_OBJECTS = io_uring_setup.$(OBJEXT) io_uring_setup_LDADD = $(LDADD) -io_uring_setup_DEPENDENCIES = libtests.a +io_uring_setup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_SOURCES = ioctl.c ioctl_OBJECTS = ioctl.$(OBJEXT) ioctl_LDADD = $(LDADD) -ioctl_DEPENDENCIES = libtests.a +ioctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block_SOURCES = ioctl_block.c ioctl_block_OBJECTS = ioctl_block.$(OBJEXT) ioctl_block_LDADD = $(LDADD) -ioctl_block_DEPENDENCIES = libtests.a +ioctl_block_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block__pidns_translation_SOURCES = \ ioctl_block--pidns-translation.c ioctl_block__pidns_translation_OBJECTS = \ ioctl_block--pidns-translation.$(OBJEXT) ioctl_block__pidns_translation_LDADD = $(LDADD) -ioctl_block__pidns_translation_DEPENDENCIES = libtests.a +ioctl_block__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_counter_SOURCES = ioctl_counter.c +ioctl_counter_OBJECTS = ioctl_counter.$(OBJEXT) +ioctl_counter_LDADD = $(LDADD) +ioctl_counter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xabbrev_SOURCES = ioctl_counter-Xabbrev.c +ioctl_counter_Xabbrev_OBJECTS = ioctl_counter-Xabbrev.$(OBJEXT) +ioctl_counter_Xabbrev_LDADD = $(LDADD) +ioctl_counter_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xraw_SOURCES = ioctl_counter-Xraw.c +ioctl_counter_Xraw_OBJECTS = ioctl_counter-Xraw.$(OBJEXT) +ioctl_counter_Xraw_LDADD = $(LDADD) +ioctl_counter_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xverbose_SOURCES = ioctl_counter-Xverbose.c +ioctl_counter_Xverbose_OBJECTS = ioctl_counter-Xverbose.$(OBJEXT) +ioctl_counter_Xverbose_LDADD = $(LDADD) +ioctl_counter_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_SOURCES = ioctl_dm.c ioctl_dm_OBJECTS = ioctl_dm.$(OBJEXT) ioctl_dm_LDADD = $(LDADD) -ioctl_dm_DEPENDENCIES = libtests.a +ioctl_dm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_v_SOURCES = ioctl_dm-v.c ioctl_dm_v_OBJECTS = ioctl_dm-v.$(OBJEXT) ioctl_dm_v_LDADD = $(LDADD) -ioctl_dm_v_DEPENDENCIES = libtests.a +ioctl_dm_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_SOURCES = ioctl_evdev.c ioctl_evdev_OBJECTS = ioctl_evdev.$(OBJEXT) ioctl_evdev_LDADD = $(LDADD) -ioctl_evdev_DEPENDENCIES = libtests.a +ioctl_evdev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xabbrev_SOURCES = ioctl_evdev-Xabbrev.c ioctl_evdev_Xabbrev_OBJECTS = ioctl_evdev-Xabbrev.$(OBJEXT) ioctl_evdev_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xraw_SOURCES = ioctl_evdev-Xraw.c ioctl_evdev_Xraw_OBJECTS = ioctl_evdev-Xraw.$(OBJEXT) ioctl_evdev_Xraw_LDADD = $(LDADD) -ioctl_evdev_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xverbose_SOURCES = ioctl_evdev-Xverbose.c ioctl_evdev_Xverbose_OBJECTS = ioctl_evdev-Xverbose.$(OBJEXT) ioctl_evdev_Xverbose_LDADD = $(LDADD) -ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_SOURCES = ioctl_evdev-success.c ioctl_evdev_success_OBJECTS = ioctl_evdev-success.$(OBJEXT) ioctl_evdev_success_LDADD = $(LDADD) -ioctl_evdev_success_DEPENDENCIES = libtests.a +ioctl_evdev_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_Xabbrev_SOURCES = ioctl_evdev-success-Xabbrev.c ioctl_evdev_success_Xabbrev_OBJECTS = \ ioctl_evdev-success-Xabbrev.$(OBJEXT) ioctl_evdev_success_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xraw_SOURCES = ioctl_evdev-success-Xraw.c ioctl_evdev_success_Xraw_OBJECTS = ioctl_evdev-success-Xraw.$(OBJEXT) ioctl_evdev_success_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xverbose_SOURCES = ioctl_evdev-success-Xverbose.c ioctl_evdev_success_Xverbose_OBJECTS = \ ioctl_evdev-success-Xverbose.$(OBJEXT) ioctl_evdev_success_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_SOURCES = ioctl_evdev-success-v.c ioctl_evdev_success_v_OBJECTS = ioctl_evdev-success-v.$(OBJEXT) ioctl_evdev_success_v_LDADD = $(LDADD) -ioctl_evdev_success_v_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xabbrev_SOURCES = \ ioctl_evdev-success-v-Xabbrev.c ioctl_evdev_success_v_Xabbrev_OBJECTS = \ ioctl_evdev-success-v-Xabbrev.$(OBJEXT) ioctl_evdev_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xraw_SOURCES = ioctl_evdev-success-v-Xraw.c ioctl_evdev_success_v_Xraw_OBJECTS = \ ioctl_evdev-success-v-Xraw.$(OBJEXT) ioctl_evdev_success_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xverbose_SOURCES = \ ioctl_evdev-success-v-Xverbose.c ioctl_evdev_success_v_Xverbose_OBJECTS = \ ioctl_evdev-success-v-Xverbose.$(OBJEXT) ioctl_evdev_success_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_v_SOURCES = ioctl_evdev-v.c ioctl_evdev_v_OBJECTS = ioctl_evdev-v.$(OBJEXT) ioctl_evdev_v_LDADD = $(LDADD) -ioctl_evdev_v_DEPENDENCIES = libtests.a +ioctl_evdev_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xabbrev_SOURCES = ioctl_evdev-v-Xabbrev.c ioctl_evdev_v_Xabbrev_OBJECTS = ioctl_evdev-v-Xabbrev.$(OBJEXT) ioctl_evdev_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xraw_SOURCES = ioctl_evdev-v-Xraw.c ioctl_evdev_v_Xraw_OBJECTS = ioctl_evdev-v-Xraw.$(OBJEXT) ioctl_evdev_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xverbose_SOURCES = ioctl_evdev-v-Xverbose.c ioctl_evdev_v_Xverbose_OBJECTS = ioctl_evdev-v-Xverbose.$(OBJEXT) ioctl_evdev_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_SOURCES = ioctl_fiemap.c ioctl_fiemap_OBJECTS = ioctl_fiemap.$(OBJEXT) ioctl_fiemap_LDADD = $(LDADD) -ioctl_fiemap_DEPENDENCIES = libtests.a +ioctl_fiemap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xabbrev_SOURCES = ioctl_fiemap-Xabbrev.c ioctl_fiemap_Xabbrev_OBJECTS = ioctl_fiemap-Xabbrev.$(OBJEXT) ioctl_fiemap_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xraw_SOURCES = ioctl_fiemap-Xraw.c ioctl_fiemap_Xraw_OBJECTS = ioctl_fiemap-Xraw.$(OBJEXT) ioctl_fiemap_Xraw_LDADD = $(LDADD) -ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xverbose_SOURCES = ioctl_fiemap-Xverbose.c ioctl_fiemap_Xverbose_OBJECTS = ioctl_fiemap-Xverbose.$(OBJEXT) ioctl_fiemap_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_SOURCES = ioctl_fiemap-success.c ioctl_fiemap_success_OBJECTS = ioctl_fiemap-success.$(OBJEXT) ioctl_fiemap_success_LDADD = $(LDADD) -ioctl_fiemap_success_DEPENDENCIES = libtests.a +ioctl_fiemap_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xabbrev_SOURCES = ioctl_fiemap-success-Xabbrev.c ioctl_fiemap_success_Xabbrev_OBJECTS = \ ioctl_fiemap-success-Xabbrev.$(OBJEXT) ioctl_fiemap_success_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xraw_SOURCES = ioctl_fiemap-success-Xraw.c ioctl_fiemap_success_Xraw_OBJECTS = \ ioctl_fiemap-success-Xraw.$(OBJEXT) ioctl_fiemap_success_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xverbose_SOURCES = \ ioctl_fiemap-success-Xverbose.c ioctl_fiemap_success_Xverbose_OBJECTS = \ ioctl_fiemap-success-Xverbose.$(OBJEXT) ioctl_fiemap_success_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_SOURCES = ioctl_fiemap-success-v.c ioctl_fiemap_success_v_OBJECTS = ioctl_fiemap-success-v.$(OBJEXT) ioctl_fiemap_success_v_LDADD = $(LDADD) -ioctl_fiemap_success_v_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xabbrev_SOURCES = \ ioctl_fiemap-success-v-Xabbrev.c ioctl_fiemap_success_v_Xabbrev_OBJECTS = \ ioctl_fiemap-success-v-Xabbrev.$(OBJEXT) ioctl_fiemap_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xraw_SOURCES = ioctl_fiemap-success-v-Xraw.c ioctl_fiemap_success_v_Xraw_OBJECTS = \ ioctl_fiemap-success-v-Xraw.$(OBJEXT) ioctl_fiemap_success_v_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xverbose_SOURCES = \ ioctl_fiemap-success-v-Xverbose.c ioctl_fiemap_success_v_Xverbose_OBJECTS = \ ioctl_fiemap-success-v-Xverbose.$(OBJEXT) ioctl_fiemap_success_v_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_f_SOURCES = ioctl_fs_f.c ioctl_fs_f_OBJECTS = ioctl_fs_f.$(OBJEXT) ioctl_fs_f_LDADD = $(LDADD) -ioctl_fs_f_DEPENDENCIES = libtests.a +ioctl_fs_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xabbrev_SOURCES = ioctl_fs_f-Xabbrev.c ioctl_fs_f_Xabbrev_OBJECTS = ioctl_fs_f-Xabbrev.$(OBJEXT) ioctl_fs_f_Xabbrev_LDADD = $(LDADD) -ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xraw_SOURCES = ioctl_fs_f-Xraw.c ioctl_fs_f_Xraw_OBJECTS = ioctl_fs_f-Xraw.$(OBJEXT) ioctl_fs_f_Xraw_LDADD = $(LDADD) -ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xverbose_SOURCES = ioctl_fs_f-Xverbose.c ioctl_fs_f_Xverbose_OBJECTS = ioctl_fs_f-Xverbose.$(OBJEXT) ioctl_fs_f_Xverbose_LDADD = $(LDADD) -ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_SOURCES = ioctl_fs_x.c ioctl_fs_x_OBJECTS = ioctl_fs_x.$(OBJEXT) ioctl_fs_x_LDADD = $(LDADD) -ioctl_fs_x_DEPENDENCIES = libtests.a +ioctl_fs_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xabbrev_SOURCES = ioctl_fs_x-Xabbrev.c ioctl_fs_x_Xabbrev_OBJECTS = ioctl_fs_x-Xabbrev.$(OBJEXT) ioctl_fs_x_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xraw_SOURCES = ioctl_fs_x-Xraw.c ioctl_fs_x_Xraw_OBJECTS = ioctl_fs_x-Xraw.$(OBJEXT) ioctl_fs_x_Xraw_LDADD = $(LDADD) -ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xverbose_SOURCES = ioctl_fs_x-Xverbose.c ioctl_fs_x_Xverbose_OBJECTS = ioctl_fs_x-Xverbose.$(OBJEXT) ioctl_fs_x_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_SOURCES = ioctl_fs_x-success.c ioctl_fs_x_success_OBJECTS = ioctl_fs_x-success.$(OBJEXT) ioctl_fs_x_success_LDADD = $(LDADD) -ioctl_fs_x_success_DEPENDENCIES = libtests.a +ioctl_fs_x_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xabbrev_SOURCES = ioctl_fs_x-success-Xabbrev.c ioctl_fs_x_success_Xabbrev_OBJECTS = \ ioctl_fs_x-success-Xabbrev.$(OBJEXT) ioctl_fs_x_success_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xraw_SOURCES = ioctl_fs_x-success-Xraw.c ioctl_fs_x_success_Xraw_OBJECTS = ioctl_fs_x-success-Xraw.$(OBJEXT) ioctl_fs_x_success_Xraw_LDADD = $(LDADD) -ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xverbose_SOURCES = ioctl_fs_x-success-Xverbose.c ioctl_fs_x_success_Xverbose_OBJECTS = \ ioctl_fs_x-success-Xverbose.$(OBJEXT) ioctl_fs_x_success_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_SOURCES = ioctl_gpio.c ioctl_gpio_OBJECTS = ioctl_gpio.$(OBJEXT) ioctl_gpio_LDADD = $(LDADD) -ioctl_gpio_DEPENDENCIES = libtests.a +ioctl_gpio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xabbrev_SOURCES = ioctl_gpio-Xabbrev.c ioctl_gpio_Xabbrev_OBJECTS = ioctl_gpio-Xabbrev.$(OBJEXT) ioctl_gpio_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xraw_SOURCES = ioctl_gpio-Xraw.c ioctl_gpio_Xraw_OBJECTS = ioctl_gpio-Xraw.$(OBJEXT) ioctl_gpio_Xraw_LDADD = $(LDADD) -ioctl_gpio_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xverbose_SOURCES = ioctl_gpio-Xverbose.c ioctl_gpio_Xverbose_OBJECTS = ioctl_gpio-Xverbose.$(OBJEXT) ioctl_gpio_Xverbose_LDADD = $(LDADD) -ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_SOURCES = ioctl_gpio-success.c ioctl_gpio_success_OBJECTS = ioctl_gpio-success.$(OBJEXT) ioctl_gpio_success_LDADD = $(LDADD) -ioctl_gpio_success_DEPENDENCIES = libtests.a +ioctl_gpio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_Xabbrev_SOURCES = ioctl_gpio-success-Xabbrev.c ioctl_gpio_success_Xabbrev_OBJECTS = \ ioctl_gpio-success-Xabbrev.$(OBJEXT) ioctl_gpio_success_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xraw_SOURCES = ioctl_gpio-success-Xraw.c ioctl_gpio_success_Xraw_OBJECTS = ioctl_gpio-success-Xraw.$(OBJEXT) ioctl_gpio_success_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xverbose_SOURCES = ioctl_gpio-success-Xverbose.c ioctl_gpio_success_Xverbose_OBJECTS = \ ioctl_gpio-success-Xverbose.$(OBJEXT) ioctl_gpio_success_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_SOURCES = ioctl_gpio-success-v.c ioctl_gpio_success_v_OBJECTS = ioctl_gpio-success-v.$(OBJEXT) ioctl_gpio_success_v_LDADD = $(LDADD) -ioctl_gpio_success_v_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xabbrev_SOURCES = ioctl_gpio-success-v-Xabbrev.c ioctl_gpio_success_v_Xabbrev_OBJECTS = \ ioctl_gpio-success-v-Xabbrev.$(OBJEXT) ioctl_gpio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xraw_SOURCES = ioctl_gpio-success-v-Xraw.c ioctl_gpio_success_v_Xraw_OBJECTS = \ ioctl_gpio-success-v-Xraw.$(OBJEXT) ioctl_gpio_success_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xverbose_SOURCES = \ ioctl_gpio-success-v-Xverbose.c ioctl_gpio_success_v_Xverbose_OBJECTS = \ ioctl_gpio-success-v-Xverbose.$(OBJEXT) ioctl_gpio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_v_SOURCES = ioctl_gpio-v.c ioctl_gpio_v_OBJECTS = ioctl_gpio-v.$(OBJEXT) ioctl_gpio_v_LDADD = $(LDADD) -ioctl_gpio_v_DEPENDENCIES = libtests.a +ioctl_gpio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xabbrev_SOURCES = ioctl_gpio-v-Xabbrev.c ioctl_gpio_v_Xabbrev_OBJECTS = ioctl_gpio-v-Xabbrev.$(OBJEXT) ioctl_gpio_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xraw_SOURCES = ioctl_gpio-v-Xraw.c ioctl_gpio_v_Xraw_OBJECTS = ioctl_gpio-v-Xraw.$(OBJEXT) ioctl_gpio_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xverbose_SOURCES = ioctl_gpio-v-Xverbose.c ioctl_gpio_v_Xverbose_OBJECTS = ioctl_gpio-v-Xverbose.$(OBJEXT) ioctl_gpio_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_SOURCES = ioctl_hdio.c ioctl_hdio_OBJECTS = ioctl_hdio.$(OBJEXT) ioctl_hdio_LDADD = $(LDADD) -ioctl_hdio_DEPENDENCIES = libtests.a +ioctl_hdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xabbrev_SOURCES = ioctl_hdio-Xabbrev.c ioctl_hdio_Xabbrev_OBJECTS = ioctl_hdio-Xabbrev.$(OBJEXT) ioctl_hdio_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xraw_SOURCES = ioctl_hdio-Xraw.c ioctl_hdio_Xraw_OBJECTS = ioctl_hdio-Xraw.$(OBJEXT) ioctl_hdio_Xraw_LDADD = $(LDADD) -ioctl_hdio_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xverbose_SOURCES = ioctl_hdio-Xverbose.c ioctl_hdio_Xverbose_OBJECTS = ioctl_hdio-Xverbose.$(OBJEXT) ioctl_hdio_Xverbose_LDADD = $(LDADD) -ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_SOURCES = ioctl_hdio-success.c ioctl_hdio_success_OBJECTS = ioctl_hdio-success.$(OBJEXT) ioctl_hdio_success_LDADD = $(LDADD) -ioctl_hdio_success_DEPENDENCIES = libtests.a +ioctl_hdio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_Xabbrev_SOURCES = ioctl_hdio-success-Xabbrev.c ioctl_hdio_success_Xabbrev_OBJECTS = \ ioctl_hdio-success-Xabbrev.$(OBJEXT) ioctl_hdio_success_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xraw_SOURCES = ioctl_hdio-success-Xraw.c ioctl_hdio_success_Xraw_OBJECTS = ioctl_hdio-success-Xraw.$(OBJEXT) ioctl_hdio_success_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xverbose_SOURCES = ioctl_hdio-success-Xverbose.c ioctl_hdio_success_Xverbose_OBJECTS = \ ioctl_hdio-success-Xverbose.$(OBJEXT) ioctl_hdio_success_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_SOURCES = ioctl_hdio-success-v.c ioctl_hdio_success_v_OBJECTS = ioctl_hdio-success-v.$(OBJEXT) ioctl_hdio_success_v_LDADD = $(LDADD) -ioctl_hdio_success_v_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xabbrev_SOURCES = ioctl_hdio-success-v-Xabbrev.c ioctl_hdio_success_v_Xabbrev_OBJECTS = \ ioctl_hdio-success-v-Xabbrev.$(OBJEXT) ioctl_hdio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xraw_SOURCES = ioctl_hdio-success-v-Xraw.c ioctl_hdio_success_v_Xraw_OBJECTS = \ ioctl_hdio-success-v-Xraw.$(OBJEXT) ioctl_hdio_success_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xverbose_SOURCES = \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio_success_v_Xverbose_OBJECTS = \ ioctl_hdio-success-v-Xverbose.$(OBJEXT) ioctl_hdio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_v_SOURCES = ioctl_hdio-v.c ioctl_hdio_v_OBJECTS = ioctl_hdio-v.$(OBJEXT) ioctl_hdio_v_LDADD = $(LDADD) -ioctl_hdio_v_DEPENDENCIES = libtests.a +ioctl_hdio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xabbrev_SOURCES = ioctl_hdio-v-Xabbrev.c ioctl_hdio_v_Xabbrev_OBJECTS = ioctl_hdio-v-Xabbrev.$(OBJEXT) ioctl_hdio_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xraw_SOURCES = ioctl_hdio-v-Xraw.c ioctl_hdio_v_Xraw_OBJECTS = ioctl_hdio-v-Xraw.$(OBJEXT) ioctl_hdio_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xverbose_SOURCES = ioctl_hdio-v-Xverbose.c ioctl_hdio_v_Xverbose_OBJECTS = ioctl_hdio-v-Xverbose.$(OBJEXT) ioctl_hdio_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_inotify_SOURCES = ioctl_inotify.c ioctl_inotify_OBJECTS = ioctl_inotify.$(OBJEXT) ioctl_inotify_LDADD = $(LDADD) -ioctl_inotify_DEPENDENCIES = libtests.a +ioctl_inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_SOURCES = ioctl_kd.c +ioctl_kd_OBJECTS = ioctl_kd.$(OBJEXT) +ioctl_kd_LDADD = $(LDADD) +ioctl_kd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xabbrev_SOURCES = ioctl_kd-Xabbrev.c +ioctl_kd_Xabbrev_OBJECTS = ioctl_kd-Xabbrev.$(OBJEXT) +ioctl_kd_Xabbrev_LDADD = $(LDADD) +ioctl_kd_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xraw_SOURCES = ioctl_kd-Xraw.c +ioctl_kd_Xraw_OBJECTS = ioctl_kd-Xraw.$(OBJEXT) +ioctl_kd_Xraw_LDADD = $(LDADD) +ioctl_kd_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xverbose_SOURCES = ioctl_kd-Xverbose.c +ioctl_kd_Xverbose_OBJECTS = ioctl_kd-Xverbose.$(OBJEXT) +ioctl_kd_Xverbose_LDADD = $(LDADD) +ioctl_kd_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_SOURCES = ioctl_kd-success.c +ioctl_kd_success_OBJECTS = ioctl_kd-success.$(OBJEXT) +ioctl_kd_success_LDADD = $(LDADD) +ioctl_kd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xabbrev_SOURCES = ioctl_kd-success-Xabbrev.c +ioctl_kd_success_Xabbrev_OBJECTS = ioctl_kd-success-Xabbrev.$(OBJEXT) +ioctl_kd_success_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_Xraw_SOURCES = ioctl_kd-success-Xraw.c +ioctl_kd_success_Xraw_OBJECTS = ioctl_kd-success-Xraw.$(OBJEXT) +ioctl_kd_success_Xraw_LDADD = $(LDADD) +ioctl_kd_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xverbose_SOURCES = ioctl_kd-success-Xverbose.c +ioctl_kd_success_Xverbose_OBJECTS = \ + ioctl_kd-success-Xverbose.$(OBJEXT) +ioctl_kd_success_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_SOURCES = ioctl_kd-success-s1024.c +ioctl_kd_success_s1024_OBJECTS = ioctl_kd-success-s1024.$(OBJEXT) +ioctl_kd_success_s1024_LDADD = $(LDADD) +ioctl_kd_success_s1024_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xabbrev_SOURCES = \ + ioctl_kd-success-s1024-Xabbrev.c +ioctl_kd_success_s1024_Xabbrev_OBJECTS = \ + ioctl_kd-success-s1024-Xabbrev.$(OBJEXT) +ioctl_kd_success_s1024_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xraw_SOURCES = ioctl_kd-success-s1024-Xraw.c +ioctl_kd_success_s1024_Xraw_OBJECTS = \ + ioctl_kd-success-s1024-Xraw.$(OBJEXT) +ioctl_kd_success_s1024_Xraw_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xverbose_SOURCES = \ + ioctl_kd-success-s1024-Xverbose.c +ioctl_kd_success_s1024_Xverbose_OBJECTS = \ + ioctl_kd-success-s1024-Xverbose.$(OBJEXT) +ioctl_kd_success_s1024_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_kvm_run_SOURCES = ioctl_kvm_run.c ioctl_kvm_run_OBJECTS = ioctl_kvm_run.$(OBJEXT) ioctl_kvm_run_LDADD = $(LDADD) -ioctl_kvm_run_DEPENDENCIES = libtests.a +ioctl_kvm_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_v_SOURCES = ioctl_kvm_run-v.c ioctl_kvm_run_v_OBJECTS = ioctl_kvm_run-v.$(OBJEXT) ioctl_kvm_run_v_LDADD = $(LDADD) -ioctl_kvm_run_v_DEPENDENCIES = libtests.a +ioctl_kvm_run_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_auxstr_vcpu_SOURCES = ioctl_kvm_run_auxstr_vcpu.c ioctl_kvm_run_auxstr_vcpu_OBJECTS = \ ioctl_kvm_run_auxstr_vcpu.$(OBJEXT) ioctl_kvm_run_auxstr_vcpu_LDADD = $(LDADD) -ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a +ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_lirc_SOURCES = ioctl_lirc.c +ioctl_lirc_OBJECTS = ioctl_lirc.$(OBJEXT) +ioctl_lirc_LDADD = $(LDADD) +ioctl_lirc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_lirc_success_SOURCES = ioctl_lirc-success.c +ioctl_lirc_success_OBJECTS = ioctl_lirc-success.$(OBJEXT) +ioctl_lirc_success_LDADD = $(LDADD) +ioctl_lirc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_SOURCES = ioctl_loop.c ioctl_loop_OBJECTS = ioctl_loop.$(OBJEXT) ioctl_loop_LDADD = $(LDADD) -ioctl_loop_DEPENDENCIES = libtests.a +ioctl_loop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_nv_SOURCES = ioctl_loop-nv.c ioctl_loop_nv_OBJECTS = ioctl_loop-nv.$(OBJEXT) ioctl_loop_nv_LDADD = $(LDADD) -ioctl_loop_nv_DEPENDENCIES = libtests.a +ioctl_loop_nv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_v_SOURCES = ioctl_loop-v.c ioctl_loop_v_OBJECTS = ioctl_loop-v.$(OBJEXT) ioctl_loop_v_LDADD = $(LDADD) -ioctl_loop_v_DEPENDENCIES = libtests.a +ioctl_loop_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_SOURCES = ioctl_mtd.c ioctl_mtd_OBJECTS = ioctl_mtd.$(OBJEXT) ioctl_mtd_LDADD = $(LDADD) -ioctl_mtd_DEPENDENCIES = libtests.a +ioctl_mtd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_success_SOURCES = ioctl_mtd-success.c ioctl_mtd_success_OBJECTS = ioctl_mtd-success.$(OBJEXT) ioctl_mtd_success_LDADD = $(LDADD) -ioctl_mtd_success_DEPENDENCIES = libtests.a +ioctl_mtd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nbd_SOURCES = ioctl_nbd.c ioctl_nbd_OBJECTS = ioctl_nbd.$(OBJEXT) ioctl_nbd_LDADD = $(LDADD) -ioctl_nbd_DEPENDENCIES = libtests.a +ioctl_nbd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nsfs_SOURCES = ioctl_nsfs.c ioctl_nsfs_OBJECTS = ioctl_nsfs.$(OBJEXT) ioctl_nsfs_LDADD = $(LDADD) -ioctl_nsfs_DEPENDENCIES = libtests.a +ioctl_nsfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_SOURCES = ioctl_perf.c ioctl_perf_OBJECTS = ioctl_perf.$(OBJEXT) ioctl_perf_LDADD = $(LDADD) -ioctl_perf_DEPENDENCIES = libtests.a +ioctl_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_success_SOURCES = ioctl_perf-success.c ioctl_perf_success_OBJECTS = ioctl_perf-success.$(OBJEXT) ioctl_perf_success_LDADD = $(LDADD) -ioctl_perf_success_DEPENDENCIES = libtests.a +ioctl_perf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ptp_SOURCES = ioctl_ptp.c ioctl_ptp_OBJECTS = ioctl_ptp.$(OBJEXT) ioctl_ptp_LDADD = $(LDADD) -ioctl_ptp_DEPENDENCIES = libtests.a +ioctl_ptp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xabbrev_SOURCES = ioctl_ptp-Xabbrev.c +ioctl_ptp_Xabbrev_OBJECTS = ioctl_ptp-Xabbrev.$(OBJEXT) +ioctl_ptp_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xraw_SOURCES = ioctl_ptp-Xraw.c +ioctl_ptp_Xraw_OBJECTS = ioctl_ptp-Xraw.$(OBJEXT) +ioctl_ptp_Xraw_LDADD = $(LDADD) +ioctl_ptp_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xverbose_SOURCES = ioctl_ptp-Xverbose.c +ioctl_ptp_Xverbose_OBJECTS = ioctl_ptp-Xverbose.$(OBJEXT) +ioctl_ptp_Xverbose_LDADD = $(LDADD) +ioctl_ptp_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_SOURCES = ioctl_ptp-success.c +ioctl_ptp_success_OBJECTS = ioctl_ptp-success.$(OBJEXT) +ioctl_ptp_success_LDADD = $(LDADD) +ioctl_ptp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xabbrev_SOURCES = ioctl_ptp-success-Xabbrev.c +ioctl_ptp_success_Xabbrev_OBJECTS = \ + ioctl_ptp-success-Xabbrev.$(OBJEXT) +ioctl_ptp_success_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xraw_SOURCES = ioctl_ptp-success-Xraw.c +ioctl_ptp_success_Xraw_OBJECTS = ioctl_ptp-success-Xraw.$(OBJEXT) +ioctl_ptp_success_Xraw_LDADD = $(LDADD) +ioctl_ptp_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xverbose_SOURCES = ioctl_ptp-success-Xverbose.c +ioctl_ptp_success_Xverbose_OBJECTS = \ + ioctl_ptp-success-Xverbose.$(OBJEXT) +ioctl_ptp_success_Xverbose_LDADD = $(LDADD) +ioctl_ptp_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_random_SOURCES = ioctl_random.c ioctl_random_OBJECTS = ioctl_random.$(OBJEXT) ioctl_random_LDADD = $(LDADD) -ioctl_random_DEPENDENCIES = libtests.a +ioctl_random_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_SOURCES = ioctl_rtc.c ioctl_rtc_OBJECTS = ioctl_rtc.$(OBJEXT) ioctl_rtc_LDADD = $(LDADD) -ioctl_rtc_DEPENDENCIES = libtests.a +ioctl_rtc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_success_SOURCES = ioctl_rtc-success.c ioctl_rtc_success_OBJECTS = ioctl_rtc-success.$(OBJEXT) ioctl_rtc_success_LDADD = $(LDADD) -ioctl_rtc_success_DEPENDENCIES = libtests.a +ioctl_rtc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_v_SOURCES = ioctl_rtc-v.c ioctl_rtc_v_OBJECTS = ioctl_rtc-v.$(OBJEXT) ioctl_rtc_v_LDADD = $(LDADD) -ioctl_rtc_v_DEPENDENCIES = libtests.a +ioctl_rtc_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_scsi_SOURCES = ioctl_scsi.c ioctl_scsi_OBJECTS = ioctl_scsi.$(OBJEXT) ioctl_scsi_LDADD = $(LDADD) -ioctl_scsi_DEPENDENCIES = libtests.a +ioctl_scsi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_SOURCES = ioctl_seccomp.c +ioctl_seccomp_OBJECTS = ioctl_seccomp.$(OBJEXT) +ioctl_seccomp_LDADD = $(LDADD) +ioctl_seccomp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp__pidns_translation_SOURCES = \ + ioctl_seccomp--pidns-translation.c +ioctl_seccomp__pidns_translation_OBJECTS = \ + ioctl_seccomp--pidns-translation.$(OBJEXT) +ioctl_seccomp__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_success_SOURCES = ioctl_seccomp-success.c +ioctl_seccomp_success_OBJECTS = ioctl_seccomp-success.$(OBJEXT) +ioctl_seccomp_success_LDADD = $(LDADD) +ioctl_seccomp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_SOURCES = ioctl_seccomp-y.c +ioctl_seccomp_y_OBJECTS = ioctl_seccomp-y.$(OBJEXT) +ioctl_seccomp_y_LDADD = $(LDADD) +ioctl_seccomp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_SOURCES = ioctl_seccomp-y-success.c +ioctl_seccomp_y_success_OBJECTS = ioctl_seccomp-y-success.$(OBJEXT) +ioctl_seccomp_y_success_LDADD = $(LDADD) +ioctl_seccomp_y_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation.c +ioctl_seccomp_y_success__pidns_translation_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c +ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xraw_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c +ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xverbose_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c +ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success-Xabbrev.c +ioctl_seccomp_y_success_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xraw_SOURCES = ioctl_seccomp-y-success-Xraw.c +ioctl_seccomp_y_success_Xraw_OBJECTS = \ + ioctl_seccomp-y-success-Xraw.$(OBJEXT) +ioctl_seccomp_y_success_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xverbose_SOURCES = \ + ioctl_seccomp-y-success-Xverbose.c +ioctl_seccomp_y_success_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_sg_io_v3_SOURCES = ioctl_sg_io_v3.c ioctl_sg_io_v3_OBJECTS = ioctl_sg_io_v3.$(OBJEXT) ioctl_sg_io_v3_LDADD = $(LDADD) -ioctl_sg_io_v3_DEPENDENCIES = libtests.a +ioctl_sg_io_v3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sg_io_v4_SOURCES = ioctl_sg_io_v4.c ioctl_sg_io_v4_OBJECTS = ioctl_sg_io_v4.$(OBJEXT) ioctl_sg_io_v4_LDADD = $(LDADD) -ioctl_sg_io_v4_DEPENDENCIES = libtests.a +ioctl_sg_io_v4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_SOURCES = ioctl_sock.c ioctl_sock_OBJECTS = ioctl_sock.$(OBJEXT) ioctl_sock_LDADD = $(LDADD) -ioctl_sock_DEPENDENCIES = libtests.a +ioctl_sock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_gifconf_SOURCES = ioctl_sock_gifconf.c ioctl_sock_gifconf_OBJECTS = ioctl_sock_gifconf.$(OBJEXT) ioctl_sock_gifconf_LDADD = $(LDADD) -ioctl_sock_gifconf_DEPENDENCIES = libtests.a +ioctl_sock_gifconf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_tee_SOURCES = ioctl_tee.c ioctl_tee_OBJECTS = ioctl_tee.$(OBJEXT) ioctl_tee_LDADD = $(LDADD) -ioctl_tee_DEPENDENCIES = libtests.a +ioctl_tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_SOURCES = ioctl_termios.c +ioctl_termios_OBJECTS = ioctl_termios.$(OBJEXT) +ioctl_termios_LDADD = $(LDADD) +ioctl_termios_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_v_SOURCES = ioctl_termios-v.c +ioctl_termios_v_OBJECTS = ioctl_termios-v.$(OBJEXT) +ioctl_termios_v_LDADD = $(LDADD) +ioctl_termios_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_tiocm_SOURCES = ioctl_tiocm.c +ioctl_tiocm_OBJECTS = ioctl_tiocm.$(OBJEXT) +ioctl_tiocm_LDADD = $(LDADD) +ioctl_tiocm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_SOURCES = ioctl_ubi.c ioctl_ubi_OBJECTS = ioctl_ubi.$(OBJEXT) ioctl_ubi_LDADD = $(LDADD) -ioctl_ubi_DEPENDENCIES = libtests.a +ioctl_ubi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_success_SOURCES = ioctl_ubi-success.c ioctl_ubi_success_OBJECTS = ioctl_ubi-success.$(OBJEXT) ioctl_ubi_success_LDADD = $(LDADD) -ioctl_ubi_success_DEPENDENCIES = libtests.a +ioctl_ubi_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_uffdio_SOURCES = ioctl_uffdio.c ioctl_uffdio_OBJECTS = ioctl_uffdio.$(OBJEXT) ioctl_uffdio_LDADD = $(LDADD) -ioctl_uffdio_DEPENDENCIES = libtests.a +ioctl_uffdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_SOURCES = ioctl_v4l2.c ioctl_v4l2_OBJECTS = ioctl_v4l2.$(OBJEXT) ioctl_v4l2_LDADD = $(LDADD) -ioctl_v4l2_DEPENDENCIES = libtests.a +ioctl_v4l2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xabbrev_SOURCES = ioctl_v4l2-Xabbrev.c ioctl_v4l2_Xabbrev_OBJECTS = ioctl_v4l2-Xabbrev.$(OBJEXT) ioctl_v4l2_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xraw_SOURCES = ioctl_v4l2-Xraw.c ioctl_v4l2_Xraw_OBJECTS = ioctl_v4l2-Xraw.$(OBJEXT) ioctl_v4l2_Xraw_LDADD = $(LDADD) -ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xverbose_SOURCES = ioctl_v4l2-Xverbose.c ioctl_v4l2_Xverbose_OBJECTS = ioctl_v4l2-Xverbose.$(OBJEXT) ioctl_v4l2_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_SOURCES = ioctl_v4l2-success.c ioctl_v4l2_success_OBJECTS = ioctl_v4l2-success.$(OBJEXT) ioctl_v4l2_success_LDADD = $(LDADD) -ioctl_v4l2_success_DEPENDENCIES = libtests.a +ioctl_v4l2_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xabbrev_SOURCES = ioctl_v4l2-success-Xabbrev.c ioctl_v4l2_success_Xabbrev_OBJECTS = \ ioctl_v4l2-success-Xabbrev.$(OBJEXT) ioctl_v4l2_success_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xraw_SOURCES = ioctl_v4l2-success-Xraw.c ioctl_v4l2_success_Xraw_OBJECTS = ioctl_v4l2-success-Xraw.$(OBJEXT) ioctl_v4l2_success_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xverbose_SOURCES = ioctl_v4l2-success-Xverbose.c ioctl_v4l2_success_Xverbose_OBJECTS = \ ioctl_v4l2-success-Xverbose.$(OBJEXT) ioctl_v4l2_success_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_SOURCES = ioctl_v4l2-success-v.c ioctl_v4l2_success_v_OBJECTS = ioctl_v4l2-success-v.$(OBJEXT) ioctl_v4l2_success_v_LDADD = $(LDADD) -ioctl_v4l2_success_v_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xabbrev_SOURCES = ioctl_v4l2-success-v-Xabbrev.c ioctl_v4l2_success_v_Xabbrev_OBJECTS = \ ioctl_v4l2-success-v-Xabbrev.$(OBJEXT) ioctl_v4l2_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xraw_SOURCES = ioctl_v4l2-success-v-Xraw.c ioctl_v4l2_success_v_Xraw_OBJECTS = \ ioctl_v4l2-success-v-Xraw.$(OBJEXT) ioctl_v4l2_success_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xverbose_SOURCES = \ ioctl_v4l2-success-v-Xverbose.c ioctl_v4l2_success_v_Xverbose_OBJECTS = \ ioctl_v4l2-success-v-Xverbose.$(OBJEXT) ioctl_v4l2_success_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_v_SOURCES = ioctl_v4l2-v.c ioctl_v4l2_v_OBJECTS = ioctl_v4l2-v.$(OBJEXT) ioctl_v4l2_v_LDADD = $(LDADD) -ioctl_v4l2_v_DEPENDENCIES = libtests.a +ioctl_v4l2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xabbrev_SOURCES = ioctl_v4l2-v-Xabbrev.c ioctl_v4l2_v_Xabbrev_OBJECTS = ioctl_v4l2-v-Xabbrev.$(OBJEXT) ioctl_v4l2_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xraw_SOURCES = ioctl_v4l2-v-Xraw.c ioctl_v4l2_v_Xraw_OBJECTS = ioctl_v4l2-v-Xraw.$(OBJEXT) ioctl_v4l2_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xverbose_SOURCES = ioctl_v4l2-v-Xverbose.c ioctl_v4l2_v_Xverbose_OBJECTS = ioctl_v4l2-v-Xverbose.$(OBJEXT) ioctl_v4l2_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_watchdog_SOURCES = ioctl_watchdog.c ioctl_watchdog_OBJECTS = ioctl_watchdog.$(OBJEXT) ioctl_watchdog_LDADD = $(LDADD) -ioctl_watchdog_DEPENDENCIES = libtests.a +ioctl_watchdog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_winsize_SOURCES = ioctl_winsize.c +ioctl_winsize_OBJECTS = ioctl_winsize.$(OBJEXT) +ioctl_winsize_LDADD = $(LDADD) +ioctl_winsize_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioperm_SOURCES = ioperm.c ioperm_OBJECTS = ioperm.$(OBJEXT) ioperm_LDADD = $(LDADD) -ioperm_DEPENDENCIES = libtests.a +ioperm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) iopl_SOURCES = iopl.c iopl_OBJECTS = iopl.$(OBJEXT) iopl_LDADD = $(LDADD) -iopl_DEPENDENCIES = libtests.a +iopl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_SOURCES = ioprio.c ioprio_OBJECTS = ioprio.$(OBJEXT) ioprio_LDADD = $(LDADD) -ioprio_DEPENDENCIES = libtests.a +ioprio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio__pidns_translation_SOURCES = ioprio--pidns-translation.c ioprio__pidns_translation_OBJECTS = \ ioprio--pidns-translation.$(OBJEXT) ioprio__pidns_translation_LDADD = $(LDADD) -ioprio__pidns_translation_DEPENDENCIES = libtests.a +ioprio__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioprio_Xabbrev_SOURCES = ioprio-Xabbrev.c ioprio_Xabbrev_OBJECTS = ioprio-Xabbrev.$(OBJEXT) ioprio_Xabbrev_LDADD = $(LDADD) -ioprio_Xabbrev_DEPENDENCIES = libtests.a +ioprio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xraw_SOURCES = ioprio-Xraw.c ioprio_Xraw_OBJECTS = ioprio-Xraw.$(OBJEXT) ioprio_Xraw_LDADD = $(LDADD) -ioprio_Xraw_DEPENDENCIES = libtests.a +ioprio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xverbose_SOURCES = ioprio-Xverbose.c ioprio_Xverbose_OBJECTS = ioprio-Xverbose.$(OBJEXT) ioprio_Xverbose_LDADD = $(LDADD) -ioprio_Xverbose_DEPENDENCIES = libtests.a +ioprio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ip_mreq_SOURCES = ip_mreq.c ip_mreq_OBJECTS = ip_mreq.$(OBJEXT) ip_mreq_LDADD = $(LDADD) -ip_mreq_DEPENDENCIES = libtests.a +ip_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_SOURCES = ipc.c ipc_OBJECTS = ipc.$(OBJEXT) ipc_LDADD = $(LDADD) -ipc_DEPENDENCIES = libtests.a +ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_SOURCES = ipc_msg.c ipc_msg_OBJECTS = ipc_msg.$(OBJEXT) ipc_msg_LDADD = $(LDADD) -ipc_msg_DEPENDENCIES = libtests.a +ipc_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xabbrev_SOURCES = ipc_msg-Xabbrev.c ipc_msg_Xabbrev_OBJECTS = ipc_msg-Xabbrev.$(OBJEXT) ipc_msg_Xabbrev_LDADD = $(LDADD) -ipc_msg_Xabbrev_DEPENDENCIES = libtests.a +ipc_msg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xraw_SOURCES = ipc_msg-Xraw.c ipc_msg_Xraw_OBJECTS = ipc_msg-Xraw.$(OBJEXT) ipc_msg_Xraw_LDADD = $(LDADD) -ipc_msg_Xraw_DEPENDENCIES = libtests.a +ipc_msg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xverbose_SOURCES = ipc_msg-Xverbose.c ipc_msg_Xverbose_OBJECTS = ipc_msg-Xverbose.$(OBJEXT) ipc_msg_Xverbose_LDADD = $(LDADD) -ipc_msg_Xverbose_DEPENDENCIES = libtests.a +ipc_msg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_SOURCES = ipc_msgbuf.c ipc_msgbuf_OBJECTS = ipc_msgbuf.$(OBJEXT) ipc_msgbuf_LDADD = $(LDADD) -ipc_msgbuf_DEPENDENCIES = libtests.a +ipc_msgbuf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xabbrev_SOURCES = ipc_msgbuf-Xabbrev.c ipc_msgbuf_Xabbrev_OBJECTS = ipc_msgbuf-Xabbrev.$(OBJEXT) ipc_msgbuf_Xabbrev_LDADD = $(LDADD) -ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a +ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xraw_SOURCES = ipc_msgbuf-Xraw.c ipc_msgbuf_Xraw_OBJECTS = ipc_msgbuf-Xraw.$(OBJEXT) ipc_msgbuf_Xraw_LDADD = $(LDADD) -ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a +ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xverbose_SOURCES = ipc_msgbuf-Xverbose.c ipc_msgbuf_Xverbose_OBJECTS = ipc_msgbuf-Xverbose.$(OBJEXT) ipc_msgbuf_Xverbose_LDADD = $(LDADD) -ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a +ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_SOURCES = ipc_sem.c ipc_sem_OBJECTS = ipc_sem.$(OBJEXT) ipc_sem_LDADD = $(LDADD) -ipc_sem_DEPENDENCIES = libtests.a +ipc_sem_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xabbrev_SOURCES = ipc_sem-Xabbrev.c ipc_sem_Xabbrev_OBJECTS = ipc_sem-Xabbrev.$(OBJEXT) ipc_sem_Xabbrev_LDADD = $(LDADD) -ipc_sem_Xabbrev_DEPENDENCIES = libtests.a +ipc_sem_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xraw_SOURCES = ipc_sem-Xraw.c ipc_sem_Xraw_OBJECTS = ipc_sem-Xraw.$(OBJEXT) ipc_sem_Xraw_LDADD = $(LDADD) -ipc_sem_Xraw_DEPENDENCIES = libtests.a +ipc_sem_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xverbose_SOURCES = ipc_sem-Xverbose.c ipc_sem_Xverbose_OBJECTS = ipc_sem-Xverbose.$(OBJEXT) ipc_sem_Xverbose_LDADD = $(LDADD) -ipc_sem_Xverbose_DEPENDENCIES = libtests.a +ipc_sem_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_SOURCES = ipc_shm.c ipc_shm_OBJECTS = ipc_shm.$(OBJEXT) ipc_shm_LDADD = $(LDADD) -ipc_shm_DEPENDENCIES = libtests.a +ipc_shm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xabbrev_SOURCES = ipc_shm-Xabbrev.c ipc_shm_Xabbrev_OBJECTS = ipc_shm-Xabbrev.$(OBJEXT) ipc_shm_Xabbrev_LDADD = $(LDADD) -ipc_shm_Xabbrev_DEPENDENCIES = libtests.a +ipc_shm_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xraw_SOURCES = ipc_shm-Xraw.c ipc_shm_Xraw_OBJECTS = ipc_shm-Xraw.$(OBJEXT) ipc_shm_Xraw_LDADD = $(LDADD) -ipc_shm_Xraw_DEPENDENCIES = libtests.a +ipc_shm_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xverbose_SOURCES = ipc_shm-Xverbose.c ipc_shm_Xverbose_OBJECTS = ipc_shm-Xverbose.$(OBJEXT) ipc_shm_Xverbose_LDADD = $(LDADD) -ipc_shm_Xverbose_DEPENDENCIES = libtests.a +ipc_shm_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) is_linux_mips_n64_SOURCES = is_linux_mips_n64.c is_linux_mips_n64_OBJECTS = is_linux_mips_n64.$(OBJEXT) is_linux_mips_n64_LDADD = $(LDADD) -is_linux_mips_n64_DEPENDENCIES = libtests.a +is_linux_mips_n64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_SOURCES = kcmp.c kcmp_OBJECTS = kcmp.$(OBJEXT) kcmp_LDADD = $(LDADD) -kcmp_DEPENDENCIES = libtests.a +kcmp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y_SOURCES = kcmp-y.c kcmp_y_OBJECTS = kcmp-y.$(OBJEXT) kcmp_y_LDADD = $(LDADD) -kcmp_y_DEPENDENCIES = libtests.a +kcmp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y__pidns_translation_SOURCES = kcmp-y--pidns-translation.c kcmp_y__pidns_translation_OBJECTS = \ kcmp-y--pidns-translation.$(OBJEXT) kcmp_y__pidns_translation_LDADD = $(LDADD) -kcmp_y__pidns_translation_DEPENDENCIES = libtests.a +kcmp_y__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kern_features_SOURCES = kern_features.c kern_features_OBJECTS = kern_features.$(OBJEXT) kern_features_LDADD = $(LDADD) -kern_features_DEPENDENCIES = libtests.a +kern_features_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_SOURCES = kernel_version.c kernel_version_OBJECTS = kernel_version.$(OBJEXT) kernel_version_LDADD = $(LDADD) -kernel_version_DEPENDENCIES = libtests.a +kernel_version_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xabbrev_SOURCES = kernel_version-Xabbrev.c kernel_version_Xabbrev_OBJECTS = kernel_version-Xabbrev.$(OBJEXT) kernel_version_Xabbrev_LDADD = $(LDADD) -kernel_version_Xabbrev_DEPENDENCIES = libtests.a +kernel_version_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xraw_SOURCES = kernel_version-Xraw.c kernel_version_Xraw_OBJECTS = kernel_version-Xraw.$(OBJEXT) kernel_version_Xraw_LDADD = $(LDADD) -kernel_version_Xraw_DEPENDENCIES = libtests.a +kernel_version_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xverbose_SOURCES = kernel_version-Xverbose.c kernel_version_Xverbose_OBJECTS = kernel_version-Xverbose.$(OBJEXT) kernel_version_Xverbose_LDADD = $(LDADD) -kernel_version_Xverbose_DEPENDENCIES = libtests.a +kernel_version_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kexec_file_load_SOURCES = kexec_file_load.c kexec_file_load_OBJECTS = kexec_file_load.$(OBJEXT) kexec_file_load_LDADD = $(LDADD) -kexec_file_load_DEPENDENCIES = libtests.a +kexec_file_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kexec_load_SOURCES = kexec_load.c kexec_load_OBJECTS = kexec_load.$(OBJEXT) kexec_load_LDADD = $(LDADD) -kexec_load_DEPENDENCIES = libtests.a +kexec_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_SOURCES = keyctl.c keyctl_OBJECTS = keyctl.$(OBJEXT) keyctl_LDADD = $(LDADD) -keyctl_DEPENDENCIES = libtests.a +keyctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xabbrev_SOURCES = keyctl-Xabbrev.c keyctl_Xabbrev_OBJECTS = keyctl-Xabbrev.$(OBJEXT) keyctl_Xabbrev_LDADD = $(LDADD) -keyctl_Xabbrev_DEPENDENCIES = libtests.a +keyctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xraw_SOURCES = keyctl-Xraw.c keyctl_Xraw_OBJECTS = keyctl-Xraw.$(OBJEXT) keyctl_Xraw_LDADD = $(LDADD) -keyctl_Xraw_DEPENDENCIES = libtests.a +keyctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xverbose_SOURCES = keyctl-Xverbose.c keyctl_Xverbose_OBJECTS = keyctl-Xverbose.$(OBJEXT) keyctl_Xverbose_LDADD = $(LDADD) -keyctl_Xverbose_DEPENDENCIES = libtests.a +keyctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill_SOURCES = kill.c kill_OBJECTS = kill.$(OBJEXT) kill_LDADD = $(LDADD) -kill_DEPENDENCIES = libtests.a +kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill__pidns_translation_SOURCES = kill--pidns-translation.c kill__pidns_translation_OBJECTS = kill--pidns-translation.$(OBJEXT) kill__pidns_translation_LDADD = $(LDADD) -kill__pidns_translation_DEPENDENCIES = libtests.a +kill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kill_child_SOURCES = kill_child.c kill_child_OBJECTS = kill_child.$(OBJEXT) kill_child_LDADD = $(LDADD) -kill_child_DEPENDENCIES = libtests.a +kill_child_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ksysent_SOURCES = ksysent.c ksysent_OBJECTS = ksysent.$(OBJEXT) ksysent_LDADD = $(LDADD) -ksysent_DEPENDENCIES = libtests.a +ksysent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_SOURCES = landlock_add_rule.c landlock_add_rule_OBJECTS = landlock_add_rule.$(OBJEXT) landlock_add_rule_LDADD = $(LDADD) -landlock_add_rule_DEPENDENCIES = libtests.a +landlock_add_rule_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_y_SOURCES = landlock_add_rule-y.c landlock_add_rule_y_OBJECTS = landlock_add_rule-y.$(OBJEXT) landlock_add_rule_y_LDADD = $(LDADD) -landlock_add_rule_y_DEPENDENCIES = libtests.a +landlock_add_rule_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_create_ruleset_SOURCES = landlock_create_ruleset.c landlock_create_ruleset_OBJECTS = landlock_create_ruleset.$(OBJEXT) landlock_create_ruleset_LDADD = $(LDADD) -landlock_create_ruleset_DEPENDENCIES = libtests.a +landlock_create_ruleset_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_SOURCES = \ landlock_create_ruleset-success.c landlock_create_ruleset_success_OBJECTS = \ landlock_create_ruleset-success.$(OBJEXT) landlock_create_ruleset_success_LDADD = $(LDADD) -landlock_create_ruleset_success_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_y_SOURCES = \ landlock_create_ruleset-success-y.c landlock_create_ruleset_success_y_OBJECTS = \ landlock_create_ruleset-success-y.$(OBJEXT) landlock_create_ruleset_success_y_LDADD = $(LDADD) -landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_y_SOURCES = landlock_create_ruleset-y.c landlock_create_ruleset_y_OBJECTS = \ landlock_create_ruleset-y.$(OBJEXT) landlock_create_ruleset_y_LDADD = $(LDADD) -landlock_create_ruleset_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_restrict_self_SOURCES = landlock_restrict_self.c landlock_restrict_self_OBJECTS = landlock_restrict_self.$(OBJEXT) landlock_restrict_self_LDADD = $(LDADD) -landlock_restrict_self_DEPENDENCIES = libtests.a +landlock_restrict_self_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_restrict_self_y_SOURCES = landlock_restrict_self-y.c landlock_restrict_self_y_OBJECTS = landlock_restrict_self-y.$(OBJEXT) landlock_restrict_self_y_LDADD = $(LDADD) -landlock_restrict_self_y_DEPENDENCIES = libtests.a +landlock_restrict_self_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) lchown_SOURCES = lchown.c lchown_OBJECTS = lchown.$(OBJEXT) lchown_LDADD = $(LDADD) -lchown_DEPENDENCIES = libtests.a +lchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lchown32_SOURCES = lchown32.c lchown32_OBJECTS = lchown32.$(OBJEXT) lchown32_LDADD = $(LDADD) -lchown32_DEPENDENCIES = libtests.a +lchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) link_SOURCES = link.c link_OBJECTS = link.$(OBJEXT) link_LDADD = $(LDADD) -link_DEPENDENCIES = libtests.a +link_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat_SOURCES = linkat.c linkat_OBJECTS = linkat.$(OBJEXT) linkat_LDADD = $(LDADD) -linkat_DEPENDENCIES = libtests.a +linkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat__secontext_SOURCES = linkat--secontext.c linkat__secontext_OBJECTS = linkat--secontext.$(OBJEXT) -linkat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) linkat__secontext_full_SOURCES = linkat--secontext_full.c linkat__secontext_full_OBJECTS = linkat--secontext_full.$(OBJEXT) -linkat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_full_mismatch_SOURCES = \ + linkat--secontext_full_mismatch.c +linkat__secontext_full_mismatch_OBJECTS = \ + linkat--secontext_full_mismatch.$(OBJEXT) +linkat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_mismatch_SOURCES = linkat--secontext_mismatch.c +linkat__secontext_mismatch_OBJECTS = \ + linkat--secontext_mismatch.$(OBJEXT) +linkat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) list_sigaction_signum_SOURCES = list_sigaction_signum.c list_sigaction_signum_OBJECTS = list_sigaction_signum.$(OBJEXT) list_sigaction_signum_LDADD = $(LDADD) -list_sigaction_signum_DEPENDENCIES = libtests.a +list_sigaction_signum_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) llseek_SOURCES = llseek.c llseek_OBJECTS = llseek.$(OBJEXT) llseek_LDADD = $(LDADD) -llseek_DEPENDENCIES = libtests.a +llseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) localtime_SOURCES = localtime.c localtime_OBJECTS = localtime.$(OBJEXT) -localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) lookup_dcookie_SOURCES = lookup_dcookie.c lookup_dcookie_OBJECTS = lookup_dcookie.$(OBJEXT) lookup_dcookie_LDADD = $(LDADD) -lookup_dcookie_DEPENDENCIES = libtests.a +lookup_dcookie_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) looping_threads_SOURCES = looping_threads.c looping_threads_OBJECTS = looping_threads.$(OBJEXT) -looping_threads_DEPENDENCIES = $(LDADD) +looping_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) lseek_SOURCES = lseek.c lseek_OBJECTS = lseek.$(OBJEXT) lseek_LDADD = $(LDADD) -lseek_DEPENDENCIES = libtests.a +lseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat_SOURCES = lstat.c lstat_OBJECTS = lstat.$(OBJEXT) lstat_LDADD = $(LDADD) -lstat_DEPENDENCIES = libtests.a +lstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat64_SOURCES = lstat64.c lstat64_OBJECTS = lstat64-lstat64.$(OBJEXT) lstat64_LDADD = $(LDADD) -lstat64_DEPENDENCIES = libtests.a +lstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) madvise_SOURCES = madvise.c madvise_OBJECTS = madvise.$(OBJEXT) madvise_LDADD = $(LDADD) -madvise_DEPENDENCIES = libtests.a +madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) maybe_switch_current_tcp_SOURCES = maybe_switch_current_tcp.c maybe_switch_current_tcp_OBJECTS = maybe_switch_current_tcp.$(OBJEXT) -maybe_switch_current_tcp_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp_DEPENDENCIES = $(am__DEPENDENCIES_2) maybe_switch_current_tcp__quiet_thread_execve_SOURCES = \ maybe_switch_current_tcp--quiet-thread-execve.c maybe_switch_current_tcp__quiet_thread_execve_OBJECTS = \ maybe_switch_current_tcp--quiet-thread-execve.$(OBJEXT) -maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) mbind_SOURCES = mbind.c mbind_OBJECTS = mbind.$(OBJEXT) mbind_LDADD = $(LDADD) -mbind_DEPENDENCIES = libtests.a +mbind_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xabbrev_SOURCES = mbind-Xabbrev.c mbind_Xabbrev_OBJECTS = mbind-Xabbrev.$(OBJEXT) mbind_Xabbrev_LDADD = $(LDADD) -mbind_Xabbrev_DEPENDENCIES = libtests.a +mbind_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xraw_SOURCES = mbind-Xraw.c mbind_Xraw_OBJECTS = mbind-Xraw.$(OBJEXT) mbind_Xraw_LDADD = $(LDADD) -mbind_Xraw_DEPENDENCIES = libtests.a +mbind_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xverbose_SOURCES = mbind-Xverbose.c mbind_Xverbose_OBJECTS = mbind-Xverbose.$(OBJEXT) mbind_Xverbose_LDADD = $(LDADD) -mbind_Xverbose_DEPENDENCIES = libtests.a +mbind_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) membarrier_SOURCES = membarrier.c membarrier_OBJECTS = membarrier.$(OBJEXT) membarrier_LDADD = $(LDADD) -membarrier_DEPENDENCIES = libtests.a +membarrier_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_SOURCES = memfd_create.c memfd_create_OBJECTS = memfd_create.$(OBJEXT) memfd_create_LDADD = $(LDADD) -memfd_create_DEPENDENCIES = libtests.a +memfd_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xabbrev_SOURCES = memfd_create-Xabbrev.c memfd_create_Xabbrev_OBJECTS = memfd_create-Xabbrev.$(OBJEXT) memfd_create_Xabbrev_LDADD = $(LDADD) -memfd_create_Xabbrev_DEPENDENCIES = libtests.a +memfd_create_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xraw_SOURCES = memfd_create-Xraw.c memfd_create_Xraw_OBJECTS = memfd_create-Xraw.$(OBJEXT) memfd_create_Xraw_LDADD = $(LDADD) -memfd_create_Xraw_DEPENDENCIES = libtests.a +memfd_create_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xverbose_SOURCES = memfd_create-Xverbose.c memfd_create_Xverbose_OBJECTS = memfd_create-Xverbose.$(OBJEXT) memfd_create_Xverbose_LDADD = $(LDADD) -memfd_create_Xverbose_DEPENDENCIES = libtests.a +memfd_create_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_SOURCES = memfd_secret.c memfd_secret_OBJECTS = memfd_secret.$(OBJEXT) memfd_secret_LDADD = $(LDADD) -memfd_secret_DEPENDENCIES = libtests.a +memfd_secret_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_SOURCES = memfd_secret-success.c memfd_secret_success_OBJECTS = memfd_secret-success.$(OBJEXT) memfd_secret_success_LDADD = $(LDADD) -memfd_secret_success_DEPENDENCIES = libtests.a +memfd_secret_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_y_SOURCES = memfd_secret-success-y.c memfd_secret_success_y_OBJECTS = memfd_secret-success-y.$(OBJEXT) memfd_secret_success_y_LDADD = $(LDADD) -memfd_secret_success_y_DEPENDENCIES = libtests.a +memfd_secret_success_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages_SOURCES = migrate_pages.c migrate_pages_OBJECTS = migrate_pages.$(OBJEXT) migrate_pages_LDADD = $(LDADD) -migrate_pages_DEPENDENCIES = libtests.a +migrate_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages__pidns_translation_SOURCES = \ migrate_pages--pidns-translation.c migrate_pages__pidns_translation_OBJECTS = \ migrate_pages--pidns-translation.$(OBJEXT) migrate_pages__pidns_translation_LDADD = $(LDADD) -migrate_pages__pidns_translation_DEPENDENCIES = libtests.a +migrate_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) mincore_SOURCES = mincore.c mincore_OBJECTS = mincore.$(OBJEXT) mincore_LDADD = $(LDADD) -mincore_DEPENDENCIES = libtests.a +mincore_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdir_SOURCES = mkdir.c mkdir_OBJECTS = mkdir.$(OBJEXT) mkdir_LDADD = $(LDADD) -mkdir_DEPENDENCIES = libtests.a +mkdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdirat_SOURCES = mkdirat.c mkdirat_OBJECTS = mkdirat.$(OBJEXT) mkdirat_LDADD = $(LDADD) -mkdirat_DEPENDENCIES = libtests.a +mkdirat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknod_SOURCES = mknod.c mknod_OBJECTS = mknod.$(OBJEXT) mknod_LDADD = $(LDADD) -mknod_DEPENDENCIES = libtests.a +mknod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknodat_SOURCES = mknodat.c mknodat_OBJECTS = mknodat.$(OBJEXT) mknodat_LDADD = $(LDADD) -mknodat_DEPENDENCIES = libtests.a +mknodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock_SOURCES = mlock.c mlock_OBJECTS = mlock.$(OBJEXT) mlock_LDADD = $(LDADD) -mlock_DEPENDENCIES = libtests.a +mlock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock2_SOURCES = mlock2.c mlock2_OBJECTS = mlock2.$(OBJEXT) mlock2_LDADD = $(LDADD) -mlock2_DEPENDENCIES = libtests.a +mlock2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlockall_SOURCES = mlockall.c mlockall_OBJECTS = mlockall.$(OBJEXT) mlockall_LDADD = $(LDADD) -mlockall_DEPENDENCIES = libtests.a +mlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_SOURCES = mmap.c mmap_OBJECTS = mmap.$(OBJEXT) mmap_LDADD = $(LDADD) -mmap_DEPENDENCIES = libtests.a +mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xabbrev_SOURCES = mmap-Xabbrev.c mmap_Xabbrev_OBJECTS = mmap-Xabbrev.$(OBJEXT) mmap_Xabbrev_LDADD = $(LDADD) -mmap_Xabbrev_DEPENDENCIES = libtests.a +mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xraw_SOURCES = mmap-Xraw.c mmap_Xraw_OBJECTS = mmap-Xraw.$(OBJEXT) mmap_Xraw_LDADD = $(LDADD) -mmap_Xraw_DEPENDENCIES = libtests.a +mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xverbose_SOURCES = mmap-Xverbose.c mmap_Xverbose_OBJECTS = mmap-Xverbose.$(OBJEXT) mmap_Xverbose_LDADD = $(LDADD) -mmap_Xverbose_DEPENDENCIES = libtests.a +mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_SOURCES = mmap64.c mmap64_OBJECTS = mmap64-mmap64.$(OBJEXT) mmap64_LDADD = $(LDADD) -mmap64_DEPENDENCIES = libtests.a +mmap64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xabbrev_SOURCES = mmap64-Xabbrev.c mmap64_Xabbrev_OBJECTS = mmap64_Xabbrev-mmap64-Xabbrev.$(OBJEXT) mmap64_Xabbrev_LDADD = $(LDADD) -mmap64_Xabbrev_DEPENDENCIES = libtests.a +mmap64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xraw_SOURCES = mmap64-Xraw.c mmap64_Xraw_OBJECTS = mmap64_Xraw-mmap64-Xraw.$(OBJEXT) mmap64_Xraw_LDADD = $(LDADD) -mmap64_Xraw_DEPENDENCIES = libtests.a +mmap64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xverbose_SOURCES = mmap64-Xverbose.c mmap64_Xverbose_OBJECTS = mmap64_Xverbose-mmap64-Xverbose.$(OBJEXT) mmap64_Xverbose_LDADD = $(LDADD) -mmap64_Xverbose_DEPENDENCIES = libtests.a +mmap64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_SOURCES = mmsg.c mmsg_OBJECTS = mmsg.$(OBJEXT) mmsg_LDADD = $(LDADD) -mmsg_DEPENDENCIES = libtests.a +mmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_silent_SOURCES = mmsg-silent.c mmsg_silent_OBJECTS = mmsg-silent.$(OBJEXT) mmsg_silent_LDADD = $(LDADD) -mmsg_silent_DEPENDENCIES = libtests.a +mmsg_silent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_SOURCES = mmsg_name.c mmsg_name_OBJECTS = mmsg_name.$(OBJEXT) mmsg_name_LDADD = $(LDADD) -mmsg_name_DEPENDENCIES = libtests.a +mmsg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_v_SOURCES = mmsg_name-v.c mmsg_name_v_OBJECTS = mmsg_name-v.$(OBJEXT) mmsg_name_v_LDADD = $(LDADD) -mmsg_name_v_DEPENDENCIES = libtests.a +mmsg_name_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) modify_ldt_SOURCES = modify_ldt.c modify_ldt_OBJECTS = modify_ldt.$(OBJEXT) modify_ldt_LDADD = $(LDADD) -modify_ldt_DEPENDENCIES = libtests.a +modify_ldt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_SOURCES = mount.c mount_OBJECTS = mount.$(OBJEXT) mount_LDADD = $(LDADD) -mount_DEPENDENCIES = libtests.a +mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xabbrev_SOURCES = mount-Xabbrev.c mount_Xabbrev_OBJECTS = mount-Xabbrev.$(OBJEXT) mount_Xabbrev_LDADD = $(LDADD) -mount_Xabbrev_DEPENDENCIES = libtests.a +mount_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xraw_SOURCES = mount-Xraw.c mount_Xraw_OBJECTS = mount-Xraw.$(OBJEXT) mount_Xraw_LDADD = $(LDADD) -mount_Xraw_DEPENDENCIES = libtests.a +mount_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xverbose_SOURCES = mount-Xverbose.c mount_Xverbose_OBJECTS = mount-Xverbose.$(OBJEXT) mount_Xverbose_LDADD = $(LDADD) -mount_Xverbose_DEPENDENCIES = libtests.a +mount_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_SOURCES = mount_setattr.c mount_setattr_OBJECTS = mount_setattr.$(OBJEXT) mount_setattr_LDADD = $(LDADD) -mount_setattr_DEPENDENCIES = libtests.a +mount_setattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_P_SOURCES = mount_setattr-P.c mount_setattr_P_OBJECTS = mount_setattr-P.$(OBJEXT) mount_setattr_P_LDADD = $(LDADD) -mount_setattr_P_DEPENDENCIES = libtests.a +mount_setattr_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_SOURCES = move_mount.c move_mount_OBJECTS = move_mount.$(OBJEXT) move_mount_LDADD = $(LDADD) -move_mount_DEPENDENCIES = libtests.a +move_mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_P_SOURCES = move_mount-P.c move_mount_P_OBJECTS = move_mount-P.$(OBJEXT) move_mount_P_LDADD = $(LDADD) -move_mount_P_DEPENDENCIES = libtests.a +move_mount_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_SOURCES = move_pages.c move_pages_OBJECTS = move_pages.$(OBJEXT) move_pages_LDADD = $(LDADD) -move_pages_DEPENDENCIES = libtests.a +move_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages__pidns_translation_SOURCES = \ move_pages--pidns-translation.c move_pages__pidns_translation_OBJECTS = \ move_pages--pidns-translation.$(OBJEXT) move_pages__pidns_translation_LDADD = $(LDADD) -move_pages__pidns_translation_DEPENDENCIES = libtests.a +move_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) move_pages_Xabbrev_SOURCES = move_pages-Xabbrev.c move_pages_Xabbrev_OBJECTS = move_pages-Xabbrev.$(OBJEXT) move_pages_Xabbrev_LDADD = $(LDADD) -move_pages_Xabbrev_DEPENDENCIES = libtests.a +move_pages_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xraw_SOURCES = move_pages-Xraw.c move_pages_Xraw_OBJECTS = move_pages-Xraw.$(OBJEXT) move_pages_Xraw_LDADD = $(LDADD) -move_pages_Xraw_DEPENDENCIES = libtests.a +move_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xverbose_SOURCES = move_pages-Xverbose.c move_pages_Xverbose_OBJECTS = move_pages-Xverbose.$(OBJEXT) move_pages_Xverbose_LDADD = $(LDADD) -move_pages_Xverbose_DEPENDENCIES = libtests.a +move_pages_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_SOURCES = mq.c mq_OBJECTS = mq.$(OBJEXT) -mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) mq_sendrecv_SOURCES = mq_sendrecv.c mq_sendrecv_OBJECTS = mq_sendrecv.$(OBJEXT) mq_sendrecv_LDADD = $(LDADD) -mq_sendrecv_DEPENDENCIES = libtests.a +mq_sendrecv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_read_SOURCES = mq_sendrecv-read.c mq_sendrecv_read_OBJECTS = mq_sendrecv-read.$(OBJEXT) mq_sendrecv_read_LDADD = $(LDADD) -mq_sendrecv_read_DEPENDENCIES = libtests.a +mq_sendrecv_read_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_write_SOURCES = mq_sendrecv-write.c mq_sendrecv_write_OBJECTS = mq_sendrecv-write.$(OBJEXT) mq_sendrecv_write_LDADD = $(LDADD) -mq_sendrecv_write_DEPENDENCIES = libtests.a +mq_sendrecv_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_SOURCES = msg_control.c msg_control_OBJECTS = msg_control.$(OBJEXT) msg_control_LDADD = $(LDADD) -msg_control_DEPENDENCIES = libtests.a +msg_control_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_v_SOURCES = msg_control-v.c msg_control_v_OBJECTS = msg_control-v.$(OBJEXT) msg_control_v_LDADD = $(LDADD) -msg_control_v_DEPENDENCIES = libtests.a +msg_control_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_name_SOURCES = msg_name.c msg_name_OBJECTS = msg_name.$(OBJEXT) msg_name_LDADD = $(LDADD) -msg_name_DEPENDENCIES = libtests.a +msg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) munlockall_SOURCES = munlockall.c munlockall_OBJECTS = munlockall.$(OBJEXT) munlockall_LDADD = $(LDADD) -munlockall_DEPENDENCIES = libtests.a +munlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nanosleep_SOURCES = nanosleep.c nanosleep_OBJECTS = nanosleep.$(OBJEXT) nanosleep_LDADD = $(LDADD) -nanosleep_DEPENDENCIES = libtests.a +nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +net__decode_fds_all_netlink_SOURCES = net--decode-fds-all-netlink.c +net__decode_fds_all_netlink_OBJECTS = \ + net--decode-fds-all-netlink.$(OBJEXT) +net__decode_fds_all_netlink_LDADD = $(LDADD) +net__decode_fds_all_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_dev_netlink_SOURCES = net--decode-fds-dev-netlink.c net__decode_fds_dev_netlink_OBJECTS = \ net--decode-fds-dev-netlink.$(OBJEXT) net__decode_fds_dev_netlink_LDADD = $(LDADD) -net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a +net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_none_netlink_SOURCES = net--decode-fds-none-netlink.c net__decode_fds_none_netlink_OBJECTS = \ net--decode-fds-none-netlink.$(OBJEXT) net__decode_fds_none_netlink_LDADD = $(LDADD) -net__decode_fds_none_netlink_DEPENDENCIES = libtests.a +net__decode_fds_none_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_path_netlink_SOURCES = net--decode-fds-path-netlink.c net__decode_fds_path_netlink_OBJECTS = \ net--decode-fds-path-netlink.$(OBJEXT) net__decode_fds_path_netlink_LDADD = $(LDADD) -net__decode_fds_path_netlink_DEPENDENCIES = libtests.a +net__decode_fds_path_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_socket_netlink_SOURCES = \ net--decode-fds-socket-netlink.c net__decode_fds_socket_netlink_OBJECTS = \ net--decode-fds-socket-netlink.$(OBJEXT) net__decode_fds_socket_netlink_LDADD = $(LDADD) -net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a +net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_accept_connect_SOURCES = net-accept-connect.c net_accept_connect_OBJECTS = net-accept-connect.$(OBJEXT) net_accept_connect_LDADD = $(LDADD) -net_accept_connect_DEPENDENCIES = libtests.a +net_accept_connect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_icmp_filter_SOURCES = net-icmp_filter.c net_icmp_filter_OBJECTS = net-icmp_filter.$(OBJEXT) net_icmp_filter_LDADD = $(LDADD) -net_icmp_filter_DEPENDENCIES = libtests.a +net_icmp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_SOURCES = net-packet_mreq.c net_packet_mreq_OBJECTS = net-packet_mreq.$(OBJEXT) net_packet_mreq_LDADD = $(LDADD) -net_packet_mreq_DEPENDENCIES = libtests.a +net_packet_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xabbrev_SOURCES = net-packet_mreq-Xabbrev.c net_packet_mreq_Xabbrev_OBJECTS = net-packet_mreq-Xabbrev.$(OBJEXT) net_packet_mreq_Xabbrev_LDADD = $(LDADD) -net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a +net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_packet_mreq_Xraw_SOURCES = net-packet_mreq-Xraw.c net_packet_mreq_Xraw_OBJECTS = net-packet_mreq-Xraw.$(OBJEXT) net_packet_mreq_Xraw_LDADD = $(LDADD) -net_packet_mreq_Xraw_DEPENDENCIES = libtests.a +net_packet_mreq_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xverbose_SOURCES = net-packet_mreq-Xverbose.c net_packet_mreq_Xverbose_OBJECTS = net-packet_mreq-Xverbose.$(OBJEXT) net_packet_mreq_Xverbose_LDADD = $(LDADD) -net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a +net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_sockaddr_SOURCES = net-sockaddr.c net_sockaddr_OBJECTS = net-sockaddr.$(OBJEXT) net_sockaddr_LDADD = $(LDADD) -net_sockaddr_DEPENDENCIES = libtests.a +net_sockaddr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_sockaddr__pidns_translation_SOURCES = \ net-sockaddr--pidns-translation.c net_sockaddr__pidns_translation_OBJECTS = \ net-sockaddr--pidns-translation.$(OBJEXT) net_sockaddr__pidns_translation_LDADD = $(LDADD) -net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a +net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_tpacket_req_SOURCES = net-tpacket_req.c net_tpacket_req_OBJECTS = net-tpacket_req.$(OBJEXT) net_tpacket_req_LDADD = $(LDADD) -net_tpacket_req_DEPENDENCIES = libtests.a +net_tpacket_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_SOURCES = net-tpacket_stats.c net_tpacket_stats_OBJECTS = net-tpacket_stats.$(OBJEXT) net_tpacket_stats_LDADD = $(LDADD) -net_tpacket_stats_DEPENDENCIES = libtests.a +net_tpacket_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_success_SOURCES = net-tpacket_stats-success.c net_tpacket_stats_success_OBJECTS = \ net-tpacket_stats-success.$(OBJEXT) net_tpacket_stats_success_LDADD = $(LDADD) -net_tpacket_stats_success_DEPENDENCIES = libtests.a +net_tpacket_stats_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_y_unix_SOURCES = net-y-unix.c net_y_unix_OBJECTS = net-y-unix.$(OBJEXT) net_y_unix_LDADD = $(LDADD) -net_y_unix_DEPENDENCIES = libtests.a +net_y_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet_SOURCES = net-yy-inet.c net_yy_inet_OBJECTS = net-yy-inet.$(OBJEXT) net_yy_inet_LDADD = $(LDADD) -net_yy_inet_DEPENDENCIES = libtests.a +net_yy_inet_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet6_SOURCES = net-yy-inet6.c net_yy_inet6_OBJECTS = net-yy-inet6.$(OBJEXT) net_yy_inet6_LDADD = $(LDADD) -net_yy_inet6_DEPENDENCIES = libtests.a +net_yy_inet6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_netlink_SOURCES = net-yy-netlink.c net_yy_netlink_OBJECTS = net-yy-netlink.$(OBJEXT) net_yy_netlink_LDADD = $(LDADD) -net_yy_netlink_DEPENDENCIES = libtests.a +net_yy_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_unix_SOURCES = net-yy-unix.c net_yy_unix_OBJECTS = net-yy-unix.$(OBJEXT) net_yy_unix_LDADD = $(LDADD) -net_yy_unix_DEPENDENCIES = libtests.a +net_yy_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit_SOURCES = netlink_audit.c netlink_audit_OBJECTS = netlink_audit.$(OBJEXT) netlink_audit_LDADD = $(LDADD) -netlink_audit_DEPENDENCIES = libtests.a +netlink_audit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit__pidns_translation_SOURCES = \ netlink_audit--pidns-translation.c netlink_audit__pidns_translation_OBJECTS = \ netlink_audit--pidns-translation.$(OBJEXT) netlink_audit__pidns_translation_LDADD = $(LDADD) -netlink_audit__pidns_translation_DEPENDENCIES = libtests.a +netlink_audit__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) netlink_crypto_SOURCES = netlink_crypto.c netlink_crypto_OBJECTS = netlink_crypto.$(OBJEXT) netlink_crypto_LDADD = $(LDADD) -netlink_crypto_DEPENDENCIES = libtests.a +netlink_crypto_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_generic_SOURCES = netlink_generic.c netlink_generic_OBJECTS = netlink_generic.$(OBJEXT) netlink_generic_LDADD = $(LDADD) -netlink_generic_DEPENDENCIES = libtests.a +netlink_generic_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_inet_diag_SOURCES = netlink_inet_diag.c netlink_inet_diag_OBJECTS = netlink_inet_diag.$(OBJEXT) netlink_inet_diag_LDADD = $(LDADD) -netlink_inet_diag_DEPENDENCIES = libtests.a +netlink_inet_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_kobject_uevent_SOURCES = netlink_kobject_uevent.c netlink_kobject_uevent_OBJECTS = netlink_kobject_uevent.$(OBJEXT) netlink_kobject_uevent_LDADD = $(LDADD) -netlink_kobject_uevent_DEPENDENCIES = libtests.a +netlink_kobject_uevent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netfilter_SOURCES = netlink_netfilter.c netlink_netfilter_OBJECTS = netlink_netfilter.$(OBJEXT) netlink_netfilter_LDADD = $(LDADD) -netlink_netfilter_DEPENDENCIES = libtests.a +netlink_netfilter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netlink_diag_SOURCES = netlink_netlink_diag.c netlink_netlink_diag_OBJECTS = netlink_netlink_diag.$(OBJEXT) netlink_netlink_diag_LDADD = $(LDADD) -netlink_netlink_diag_DEPENDENCIES = libtests.a +netlink_netlink_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_protocol_SOURCES = netlink_protocol.c netlink_protocol_OBJECTS = netlink_protocol.$(OBJEXT) netlink_protocol_LDADD = $(LDADD) -netlink_protocol_DEPENDENCIES = libtests.a +netlink_protocol_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_route_SOURCES = netlink_route.c netlink_route_OBJECTS = netlink_route.$(OBJEXT) netlink_route_LDADD = $(LDADD) -netlink_route_DEPENDENCIES = libtests.a +netlink_route_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_selinux_SOURCES = netlink_selinux.c netlink_selinux_OBJECTS = netlink_selinux.$(OBJEXT) netlink_selinux_LDADD = $(LDADD) -netlink_selinux_DEPENDENCIES = libtests.a +netlink_selinux_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_sock_diag_SOURCES = netlink_sock_diag.c netlink_sock_diag_OBJECTS = netlink_sock_diag.$(OBJEXT) netlink_sock_diag_LDADD = $(LDADD) -netlink_sock_diag_DEPENDENCIES = libtests.a +netlink_sock_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_unix_diag_SOURCES = netlink_unix_diag.c netlink_unix_diag_OBJECTS = netlink_unix_diag.$(OBJEXT) netlink_unix_diag_LDADD = $(LDADD) -netlink_unix_diag_DEPENDENCIES = libtests.a +netlink_unix_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_xfrm_SOURCES = netlink_xfrm.c netlink_xfrm_OBJECTS = netlink_xfrm.$(OBJEXT) netlink_xfrm_LDADD = $(LDADD) -netlink_xfrm_DEPENDENCIES = libtests.a +netlink_xfrm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) newfstatat_SOURCES = newfstatat.c newfstatat_OBJECTS = newfstatat-newfstatat.$(OBJEXT) newfstatat_LDADD = $(LDADD) -newfstatat_DEPENDENCIES = libtests.a +newfstatat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_acct_SOURCES = nfnetlink_acct.c nfnetlink_acct_OBJECTS = nfnetlink_acct.$(OBJEXT) nfnetlink_acct_LDADD = $(LDADD) -nfnetlink_acct_DEPENDENCIES = libtests.a +nfnetlink_acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_cthelper_SOURCES = nfnetlink_cthelper.c nfnetlink_cthelper_OBJECTS = nfnetlink_cthelper.$(OBJEXT) nfnetlink_cthelper_LDADD = $(LDADD) -nfnetlink_cthelper_DEPENDENCIES = libtests.a +nfnetlink_cthelper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_SOURCES = nfnetlink_ctnetlink.c nfnetlink_ctnetlink_OBJECTS = nfnetlink_ctnetlink.$(OBJEXT) nfnetlink_ctnetlink_LDADD = $(LDADD) -nfnetlink_ctnetlink_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_exp_SOURCES = nfnetlink_ctnetlink_exp.c nfnetlink_ctnetlink_exp_OBJECTS = nfnetlink_ctnetlink_exp.$(OBJEXT) nfnetlink_ctnetlink_exp_LDADD = $(LDADD) -nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nfnetlink_cttimeout_SOURCES = nfnetlink_cttimeout.c nfnetlink_cttimeout_OBJECTS = nfnetlink_cttimeout.$(OBJEXT) nfnetlink_cttimeout_LDADD = $(LDADD) -nfnetlink_cttimeout_DEPENDENCIES = libtests.a +nfnetlink_cttimeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ipset_SOURCES = nfnetlink_ipset.c nfnetlink_ipset_OBJECTS = nfnetlink_ipset.$(OBJEXT) nfnetlink_ipset_LDADD = $(LDADD) -nfnetlink_ipset_DEPENDENCIES = libtests.a +nfnetlink_ipset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nft_compat_SOURCES = nfnetlink_nft_compat.c nfnetlink_nft_compat_OBJECTS = nfnetlink_nft_compat.$(OBJEXT) nfnetlink_nft_compat_LDADD = $(LDADD) -nfnetlink_nft_compat_DEPENDENCIES = libtests.a +nfnetlink_nft_compat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nftables_SOURCES = nfnetlink_nftables.c nfnetlink_nftables_OBJECTS = nfnetlink_nftables.$(OBJEXT) nfnetlink_nftables_LDADD = $(LDADD) -nfnetlink_nftables_DEPENDENCIES = libtests.a +nfnetlink_nftables_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_osf_SOURCES = nfnetlink_osf.c nfnetlink_osf_OBJECTS = nfnetlink_osf.$(OBJEXT) nfnetlink_osf_LDADD = $(LDADD) -nfnetlink_osf_DEPENDENCIES = libtests.a +nfnetlink_osf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_queue_SOURCES = nfnetlink_queue.c nfnetlink_queue_OBJECTS = nfnetlink_queue.$(OBJEXT) nfnetlink_queue_LDADD = $(LDADD) -nfnetlink_queue_DEPENDENCIES = libtests.a +nfnetlink_queue_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ulog_SOURCES = nfnetlink_ulog.c nfnetlink_ulog_OBJECTS = nfnetlink_ulog.$(OBJEXT) nfnetlink_ulog_LDADD = $(LDADD) -nfnetlink_ulog_DEPENDENCIES = libtests.a +nfnetlink_ulog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_SOURCES = nlattr.c nlattr_OBJECTS = nlattr.$(OBJEXT) nlattr_LDADD = $(LDADD) -nlattr_DEPENDENCIES = libtests.a +nlattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_br_port_msg_SOURCES = nlattr_br_port_msg.c nlattr_br_port_msg_OBJECTS = nlattr_br_port_msg.$(OBJEXT) nlattr_br_port_msg_LDADD = $(LDADD) -nlattr_br_port_msg_DEPENDENCIES = libtests.a +nlattr_br_port_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_SOURCES = nlattr_cachereport.c +nlattr_cachereport_OBJECTS = nlattr_cachereport.$(OBJEXT) +nlattr_cachereport_LDADD = $(LDADD) +nlattr_cachereport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_Xabbrev_SOURCES = nlattr_cachereport-Xabbrev.c +nlattr_cachereport_Xabbrev_OBJECTS = \ + nlattr_cachereport-Xabbrev.$(OBJEXT) +nlattr_cachereport_Xabbrev_LDADD = $(LDADD) +nlattr_cachereport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xraw_SOURCES = nlattr_cachereport-Xraw.c +nlattr_cachereport_Xraw_OBJECTS = nlattr_cachereport-Xraw.$(OBJEXT) +nlattr_cachereport_Xraw_LDADD = $(LDADD) +nlattr_cachereport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xverbose_SOURCES = nlattr_cachereport-Xverbose.c +nlattr_cachereport_Xverbose_OBJECTS = \ + nlattr_cachereport-Xverbose.$(OBJEXT) +nlattr_cachereport_Xverbose_LDADD = $(LDADD) +nlattr_cachereport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_crypto_user_alg_SOURCES = nlattr_crypto_user_alg.c nlattr_crypto_user_alg_OBJECTS = nlattr_crypto_user_alg.$(OBJEXT) nlattr_crypto_user_alg_LDADD = $(LDADD) -nlattr_crypto_user_alg_DEPENDENCIES = libtests.a +nlattr_crypto_user_alg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_dcbmsg_SOURCES = nlattr_dcbmsg.c nlattr_dcbmsg_OBJECTS = nlattr_dcbmsg.$(OBJEXT) nlattr_dcbmsg_LDADD = $(LDADD) -nlattr_dcbmsg_DEPENDENCIES = libtests.a +nlattr_dcbmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_fib_rule_hdr_SOURCES = nlattr_fib_rule_hdr.c nlattr_fib_rule_hdr_OBJECTS = nlattr_fib_rule_hdr.$(OBJEXT) nlattr_fib_rule_hdr_LDADD = $(LDADD) -nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a +nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrlblmsg_SOURCES = nlattr_ifaddrlblmsg.c nlattr_ifaddrlblmsg_OBJECTS = nlattr_ifaddrlblmsg.$(OBJEXT) nlattr_ifaddrlblmsg_LDADD = $(LDADD) -nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrmsg_SOURCES = nlattr_ifaddrmsg.c nlattr_ifaddrmsg_OBJECTS = nlattr_ifaddrmsg.$(OBJEXT) nlattr_ifaddrmsg_LDADD = $(LDADD) -nlattr_ifaddrmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifinfomsg_SOURCES = nlattr_ifinfomsg.c nlattr_ifinfomsg_OBJECTS = nlattr_ifinfomsg.$(OBJEXT) nlattr_ifinfomsg_LDADD = $(LDADD) -nlattr_ifinfomsg_DEPENDENCIES = libtests.a +nlattr_ifinfomsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_af_spec_SOURCES = nlattr_ifla_af_spec.c nlattr_ifla_af_spec_OBJECTS = nlattr_ifla_af_spec.$(OBJEXT) nlattr_ifla_af_spec_LDADD = $(LDADD) -nlattr_ifla_af_spec_DEPENDENCIES = libtests.a +nlattr_ifla_af_spec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_brport_SOURCES = nlattr_ifla_brport.c nlattr_ifla_brport_OBJECTS = nlattr_ifla_brport.$(OBJEXT) nlattr_ifla_brport_LDADD = $(LDADD) -nlattr_ifla_brport_DEPENDENCIES = libtests.a +nlattr_ifla_brport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xabbrev_SOURCES = nlattr_ifla_brport-Xabbrev.c +nlattr_ifla_brport_Xabbrev_OBJECTS = \ + nlattr_ifla_brport-Xabbrev.$(OBJEXT) +nlattr_ifla_brport_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_brport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xraw_SOURCES = nlattr_ifla_brport-Xraw.c +nlattr_ifla_brport_Xraw_OBJECTS = nlattr_ifla_brport-Xraw.$(OBJEXT) +nlattr_ifla_brport_Xraw_LDADD = $(LDADD) +nlattr_ifla_brport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xverbose_SOURCES = nlattr_ifla_brport-Xverbose.c +nlattr_ifla_brport_Xverbose_OBJECTS = \ + nlattr_ifla_brport-Xverbose.$(OBJEXT) +nlattr_ifla_brport_Xverbose_LDADD = $(LDADD) +nlattr_ifla_brport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_linkinfo_SOURCES = nlattr_ifla_linkinfo.c nlattr_ifla_linkinfo_OBJECTS = nlattr_ifla_linkinfo.$(OBJEXT) nlattr_ifla_linkinfo_LDADD = $(LDADD) -nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a +nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_port_SOURCES = nlattr_ifla_port.c nlattr_ifla_port_OBJECTS = nlattr_ifla_port.$(OBJEXT) nlattr_ifla_port_LDADD = $(LDADD) -nlattr_ifla_port_DEPENDENCIES = libtests.a +nlattr_ifla_port_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_SOURCES = nlattr_ifla_protinfo.c +nlattr_ifla_protinfo_OBJECTS = nlattr_ifla_protinfo.$(OBJEXT) +nlattr_ifla_protinfo_LDADD = $(LDADD) +nlattr_ifla_protinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xabbrev_SOURCES = nlattr_ifla_protinfo-Xabbrev.c +nlattr_ifla_protinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_protinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_protinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xraw_SOURCES = nlattr_ifla_protinfo-Xraw.c +nlattr_ifla_protinfo_Xraw_OBJECTS = \ + nlattr_ifla_protinfo-Xraw.$(OBJEXT) +nlattr_ifla_protinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xverbose_SOURCES = \ + nlattr_ifla_protinfo-Xverbose.c +nlattr_ifla_protinfo_Xverbose_OBJECTS = \ + nlattr_ifla_protinfo-Xverbose.$(OBJEXT) +nlattr_ifla_protinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_proto_down_reason_SOURCES = \ nlattr_ifla_proto_down_reason.c nlattr_ifla_proto_down_reason_OBJECTS = \ nlattr_ifla_proto_down_reason.$(OBJEXT) nlattr_ifla_proto_down_reason_LDADD = $(LDADD) -nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a +nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_SOURCES = nlattr_ifla_vfinfo.c +nlattr_ifla_vfinfo_OBJECTS = nlattr_ifla_vfinfo.$(OBJEXT) +nlattr_ifla_vfinfo_LDADD = $(LDADD) +nlattr_ifla_vfinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xabbrev_SOURCES = nlattr_ifla_vfinfo-Xabbrev.c +nlattr_ifla_vfinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_vfinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_vfinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xraw_SOURCES = nlattr_ifla_vfinfo-Xraw.c +nlattr_ifla_vfinfo_Xraw_OBJECTS = nlattr_ifla_vfinfo-Xraw.$(OBJEXT) +nlattr_ifla_vfinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xverbose_SOURCES = nlattr_ifla_vfinfo-Xverbose.c +nlattr_ifla_vfinfo_Xverbose_OBJECTS = \ + nlattr_ifla_vfinfo-Xverbose.$(OBJEXT) +nlattr_ifla_vfinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_xdp_SOURCES = nlattr_ifla_xdp.c nlattr_ifla_xdp_OBJECTS = nlattr_ifla_xdp.$(OBJEXT) nlattr_ifla_xdp_LDADD = $(LDADD) -nlattr_ifla_xdp_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_xdp_y_SOURCES = nlattr_ifla_xdp-y.c nlattr_ifla_xdp_y_OBJECTS = nlattr_ifla_xdp-y.$(OBJEXT) nlattr_ifla_xdp_y_LDADD = $(LDADD) -nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_SOURCES = nlattr_ifstats.c +nlattr_ifstats_OBJECTS = nlattr_ifstats.$(OBJEXT) +nlattr_ifstats_LDADD = $(LDADD) +nlattr_ifstats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xabbrev_SOURCES = nlattr_ifstats-Xabbrev.c +nlattr_ifstats_Xabbrev_OBJECTS = nlattr_ifstats-Xabbrev.$(OBJEXT) +nlattr_ifstats_Xabbrev_LDADD = $(LDADD) +nlattr_ifstats_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xraw_SOURCES = nlattr_ifstats-Xraw.c +nlattr_ifstats_Xraw_OBJECTS = nlattr_ifstats-Xraw.$(OBJEXT) +nlattr_ifstats_Xraw_LDADD = $(LDADD) +nlattr_ifstats_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xverbose_SOURCES = nlattr_ifstats-Xverbose.c +nlattr_ifstats_Xverbose_OBJECTS = nlattr_ifstats-Xverbose.$(OBJEXT) +nlattr_ifstats_Xverbose_LDADD = $(LDADD) +nlattr_ifstats_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_msg_SOURCES = nlattr_inet_diag_msg.c nlattr_inet_diag_msg_OBJECTS = nlattr_inet_diag_msg.$(OBJEXT) nlattr_inet_diag_msg_LDADD = $(LDADD) -nlattr_inet_diag_msg_DEPENDENCIES = libtests.a +nlattr_inet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_inet_diag_req_compat_SOURCES = nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_compat_OBJECTS = \ nlattr_inet_diag_req_compat.$(OBJEXT) nlattr_inet_diag_req_compat_LDADD = $(LDADD) -nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_req_v2_SOURCES = nlattr_inet_diag_req_v2.c nlattr_inet_diag_req_v2_OBJECTS = nlattr_inet_diag_req_v2.$(OBJEXT) nlattr_inet_diag_req_v2_LDADD = $(LDADD) -nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_mdba_mdb_entry_SOURCES = nlattr_mdba_mdb_entry.c nlattr_mdba_mdb_entry_OBJECTS = nlattr_mdba_mdb_entry.$(OBJEXT) nlattr_mdba_mdb_entry_LDADD = $(LDADD) -nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a +nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_mdba_router_port_SOURCES = nlattr_mdba_router_port.c nlattr_mdba_router_port_OBJECTS = nlattr_mdba_router_port.$(OBJEXT) -nlattr_mdba_router_port_LDADD = $(LDADD) -nlattr_mdba_router_port_DEPENDENCIES = libtests.a +nlattr_mdba_router_port_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) nlattr_ndmsg_SOURCES = nlattr_ndmsg.c nlattr_ndmsg_OBJECTS = nlattr_ndmsg.$(OBJEXT) nlattr_ndmsg_LDADD = $(LDADD) -nlattr_ndmsg_DEPENDENCIES = libtests.a +nlattr_ndmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ndtmsg_SOURCES = nlattr_ndtmsg.c nlattr_ndtmsg_OBJECTS = nlattr_ndtmsg.$(OBJEXT) nlattr_ndtmsg_LDADD = $(LDADD) -nlattr_ndtmsg_DEPENDENCIES = libtests.a +nlattr_ndtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netconfmsg_SOURCES = nlattr_netconfmsg.c nlattr_netconfmsg_OBJECTS = nlattr_netconfmsg.$(OBJEXT) nlattr_netconfmsg_LDADD = $(LDADD) -nlattr_netconfmsg_DEPENDENCIES = libtests.a +nlattr_netconfmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netlink_diag_msg_SOURCES = nlattr_netlink_diag_msg.c nlattr_netlink_diag_msg_OBJECTS = nlattr_netlink_diag_msg.$(OBJEXT) nlattr_netlink_diag_msg_LDADD = $(LDADD) -nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a +nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_nhmsg_SOURCES = nlattr_nhmsg.c +nlattr_nhmsg_OBJECTS = nlattr_nhmsg.$(OBJEXT) +nlattr_nhmsg_LDADD = $(LDADD) +nlattr_nhmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xabbrev_SOURCES = nlattr_nhmsg-Xabbrev.c +nlattr_nhmsg_Xabbrev_OBJECTS = nlattr_nhmsg-Xabbrev.$(OBJEXT) +nlattr_nhmsg_Xabbrev_LDADD = $(LDADD) +nlattr_nhmsg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xraw_SOURCES = nlattr_nhmsg-Xraw.c +nlattr_nhmsg_Xraw_OBJECTS = nlattr_nhmsg-Xraw.$(OBJEXT) +nlattr_nhmsg_Xraw_LDADD = $(LDADD) +nlattr_nhmsg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xverbose_SOURCES = nlattr_nhmsg-Xverbose.c +nlattr_nhmsg_Xverbose_OBJECTS = nlattr_nhmsg-Xverbose.$(OBJEXT) +nlattr_nhmsg_Xverbose_LDADD = $(LDADD) +nlattr_nhmsg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_nlmsgerr_SOURCES = nlattr_nlmsgerr.c nlattr_nlmsgerr_OBJECTS = nlattr_nlmsgerr.$(OBJEXT) nlattr_nlmsgerr_LDADD = $(LDADD) -nlattr_nlmsgerr_DEPENDENCIES = libtests.a +nlattr_nlmsgerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_packet_diag_msg_SOURCES = nlattr_packet_diag_msg.c nlattr_packet_diag_msg_OBJECTS = nlattr_packet_diag_msg.$(OBJEXT) nlattr_packet_diag_msg_LDADD = $(LDADD) -nlattr_packet_diag_msg_DEPENDENCIES = libtests.a +nlattr_packet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtgenmsg_SOURCES = nlattr_rtgenmsg.c nlattr_rtgenmsg_OBJECTS = nlattr_rtgenmsg.$(OBJEXT) nlattr_rtgenmsg_LDADD = $(LDADD) -nlattr_rtgenmsg_DEPENDENCIES = libtests.a +nlattr_rtgenmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtmsg_SOURCES = nlattr_rtmsg.c nlattr_rtmsg_OBJECTS = nlattr_rtmsg.$(OBJEXT) nlattr_rtmsg_LDADD = $(LDADD) -nlattr_rtmsg_DEPENDENCIES = libtests.a +nlattr_rtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_smc_diag_msg_SOURCES = nlattr_smc_diag_msg.c nlattr_smc_diag_msg_OBJECTS = nlattr_smc_diag_msg.$(OBJEXT) nlattr_smc_diag_msg_LDADD = $(LDADD) -nlattr_smc_diag_msg_DEPENDENCIES = libtests.a +nlattr_smc_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tc_stats_SOURCES = nlattr_tc_stats.c nlattr_tc_stats_OBJECTS = nlattr_tc_stats.$(OBJEXT) nlattr_tc_stats_LDADD = $(LDADD) -nlattr_tc_stats_DEPENDENCIES = libtests.a +nlattr_tc_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tca_stab_SOURCES = nlattr_tca_stab.c nlattr_tca_stab_OBJECTS = nlattr_tca_stab.$(OBJEXT) nlattr_tca_stab_LDADD = $(LDADD) -nlattr_tca_stab_DEPENDENCIES = libtests.a +nlattr_tca_stab_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcamsg_SOURCES = nlattr_tcamsg.c nlattr_tcamsg_OBJECTS = nlattr_tcamsg.$(OBJEXT) nlattr_tcamsg_LDADD = $(LDADD) -nlattr_tcamsg_DEPENDENCIES = libtests.a +nlattr_tcamsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcmsg_SOURCES = nlattr_tcmsg.c nlattr_tcmsg_OBJECTS = nlattr_tcmsg.$(OBJEXT) nlattr_tcmsg_LDADD = $(LDADD) -nlattr_tcmsg_DEPENDENCIES = libtests.a +nlattr_tcmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_unix_diag_msg_SOURCES = nlattr_unix_diag_msg.c nlattr_unix_diag_msg_OBJECTS = nlattr_unix_diag_msg.$(OBJEXT) nlattr_unix_diag_msg_LDADD = $(LDADD) -nlattr_unix_diag_msg_DEPENDENCIES = libtests.a +nlattr_unix_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_SOURCES = nsyscalls.c nsyscalls_OBJECTS = nsyscalls.$(OBJEXT) nsyscalls_LDADD = $(LDADD) -nsyscalls_DEPENDENCIES = libtests.a +nsyscalls_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_d_SOURCES = nsyscalls-d.c nsyscalls_d_OBJECTS = nsyscalls-d.$(OBJEXT) nsyscalls_d_LDADD = $(LDADD) -nsyscalls_d_DEPENDENCIES = libtests.a +nsyscalls_d_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_SOURCES = old_mmap.c old_mmap_OBJECTS = old_mmap.$(OBJEXT) old_mmap_LDADD = $(LDADD) -old_mmap_DEPENDENCIES = libtests.a +old_mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_P_SOURCES = old_mmap-P.c old_mmap_P_OBJECTS = old_mmap-P.$(OBJEXT) old_mmap_P_LDADD = $(LDADD) -old_mmap_P_DEPENDENCIES = libtests.a +old_mmap_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xabbrev_SOURCES = old_mmap-Xabbrev.c old_mmap_Xabbrev_OBJECTS = old_mmap-Xabbrev.$(OBJEXT) old_mmap_Xabbrev_LDADD = $(LDADD) -old_mmap_Xabbrev_DEPENDENCIES = libtests.a +old_mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xraw_SOURCES = old_mmap-Xraw.c old_mmap_Xraw_OBJECTS = old_mmap-Xraw.$(OBJEXT) old_mmap_Xraw_LDADD = $(LDADD) -old_mmap_Xraw_DEPENDENCIES = libtests.a +old_mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xverbose_SOURCES = old_mmap-Xverbose.c old_mmap_Xverbose_OBJECTS = old_mmap-Xverbose.$(OBJEXT) old_mmap_Xverbose_LDADD = $(LDADD) -old_mmap_Xverbose_DEPENDENCIES = libtests.a +old_mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_v_none_SOURCES = old_mmap-v-none.c old_mmap_v_none_OBJECTS = old_mmap-v-none.$(OBJEXT) old_mmap_v_none_LDADD = $(LDADD) -old_mmap_v_none_DEPENDENCIES = libtests.a +old_mmap_v_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldfstat_SOURCES = oldfstat.c oldfstat_OBJECTS = oldfstat.$(OBJEXT) oldfstat_LDADD = $(LDADD) -oldfstat_DEPENDENCIES = libtests.a +oldfstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldlstat_SOURCES = oldlstat.c oldlstat_OBJECTS = oldlstat.$(OBJEXT) oldlstat_LDADD = $(LDADD) -oldlstat_DEPENDENCIES = libtests.a +oldlstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_SOURCES = oldselect.c oldselect_OBJECTS = oldselect.$(OBJEXT) oldselect_LDADD = $(LDADD) -oldselect_DEPENDENCIES = libtests.a +oldselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_P_SOURCES = oldselect-P.c oldselect_P_OBJECTS = oldselect-P.$(OBJEXT) oldselect_P_LDADD = $(LDADD) -oldselect_P_DEPENDENCIES = libtests.a +oldselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_SOURCES = oldselect-efault.c oldselect_efault_OBJECTS = oldselect-efault.$(OBJEXT) oldselect_efault_LDADD = $(LDADD) -oldselect_efault_DEPENDENCIES = libtests.a +oldselect_efault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_P_SOURCES = oldselect-efault-P.c oldselect_efault_P_OBJECTS = oldselect-efault-P.$(OBJEXT) oldselect_efault_P_LDADD = $(LDADD) -oldselect_efault_P_DEPENDENCIES = libtests.a +oldselect_efault_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldstat_SOURCES = oldstat.c oldstat_OBJECTS = oldstat.$(OBJEXT) oldstat_LDADD = $(LDADD) -oldstat_DEPENDENCIES = libtests.a +oldstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_SOURCES = open.c open_OBJECTS = open.$(OBJEXT) open_LDADD = $(LDADD) -open_DEPENDENCIES = libtests.a +open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open__secontext_SOURCES = open--secontext.c open__secontext_OBJECTS = open--secontext.$(OBJEXT) -open__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open__secontext_full_SOURCES = open--secontext_full.c open__secontext_full_OBJECTS = open--secontext_full.$(OBJEXT) -open__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_full_mismatch_SOURCES = \ + open--secontext_full_mismatch.c +open__secontext_full_mismatch_OBJECTS = \ + open--secontext_full_mismatch.$(OBJEXT) +open__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_mismatch_SOURCES = open--secontext_mismatch.c +open__secontext_mismatch_OBJECTS = open--secontext_mismatch.$(OBJEXT) +open__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open_tree_SOURCES = open_tree.c open_tree_OBJECTS = open_tree.$(OBJEXT) open_tree_LDADD = $(LDADD) -open_tree_DEPENDENCIES = libtests.a +open_tree_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_tree_P_SOURCES = open_tree-P.c open_tree_P_OBJECTS = open_tree-P.$(OBJEXT) open_tree_P_LDADD = $(LDADD) -open_tree_P_DEPENDENCIES = libtests.a +open_tree_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat_SOURCES = openat.c openat_OBJECTS = openat.$(OBJEXT) openat_LDADD = $(LDADD) -openat_DEPENDENCIES = libtests.a +openat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat__secontext_SOURCES = openat--secontext.c openat__secontext_OBJECTS = openat--secontext.$(OBJEXT) -openat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat__secontext_full_SOURCES = openat--secontext_full.c openat__secontext_full_OBJECTS = openat--secontext_full.$(OBJEXT) -openat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_full_mismatch_SOURCES = \ + openat--secontext_full_mismatch.c +openat__secontext_full_mismatch_OBJECTS = \ + openat--secontext_full_mismatch.$(OBJEXT) +openat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_mismatch_SOURCES = openat--secontext_mismatch.c +openat__secontext_mismatch_OBJECTS = \ + openat--secontext_mismatch.$(OBJEXT) +openat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat2_SOURCES = openat2.c openat2_OBJECTS = openat2.$(OBJEXT) openat2_LDADD = $(LDADD) -openat2_DEPENDENCIES = libtests.a +openat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xabbrev_SOURCES = openat2-Xabbrev.c openat2_Xabbrev_OBJECTS = openat2-Xabbrev.$(OBJEXT) openat2_Xabbrev_LDADD = $(LDADD) -openat2_Xabbrev_DEPENDENCIES = libtests.a +openat2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xraw_SOURCES = openat2-Xraw.c openat2_Xraw_OBJECTS = openat2-Xraw.$(OBJEXT) openat2_Xraw_LDADD = $(LDADD) -openat2_Xraw_DEPENDENCIES = libtests.a +openat2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xverbose_SOURCES = openat2-Xverbose.c openat2_Xverbose_OBJECTS = openat2-Xverbose.$(OBJEXT) openat2_Xverbose_LDADD = $(LDADD) -openat2_Xverbose_DEPENDENCIES = libtests.a +openat2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_SOURCES = openat2-v.c openat2_v_OBJECTS = openat2-v.$(OBJEXT) openat2_v_LDADD = $(LDADD) -openat2_v_DEPENDENCIES = libtests.a +openat2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_SOURCES = openat2-v-y.c openat2_v_y_OBJECTS = openat2-v-y.$(OBJEXT) openat2_v_y_LDADD = $(LDADD) -openat2_v_y_DEPENDENCIES = libtests.a +openat2_v_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xabbrev_SOURCES = openat2-v-y-Xabbrev.c openat2_v_y_Xabbrev_OBJECTS = openat2-v-y-Xabbrev.$(OBJEXT) openat2_v_y_Xabbrev_LDADD = $(LDADD) -openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a +openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xraw_SOURCES = openat2-v-y-Xraw.c openat2_v_y_Xraw_OBJECTS = openat2-v-y-Xraw.$(OBJEXT) openat2_v_y_Xraw_LDADD = $(LDADD) -openat2_v_y_Xraw_DEPENDENCIES = libtests.a +openat2_v_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xverbose_SOURCES = openat2-v-y-Xverbose.c openat2_v_y_Xverbose_OBJECTS = openat2-v-y-Xverbose.$(OBJEXT) openat2_v_y_Xverbose_LDADD = $(LDADD) -openat2_v_y_Xverbose_DEPENDENCIES = libtests.a +openat2_v_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_y_SOURCES = openat2-y.c openat2_y_OBJECTS = openat2-y.$(OBJEXT) openat2_y_LDADD = $(LDADD) -openat2_y_DEPENDENCIES = libtests.a +openat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) orphaned_process_group_SOURCES = orphaned_process_group.c orphaned_process_group_OBJECTS = orphaned_process_group.$(OBJEXT) orphaned_process_group_LDADD = $(LDADD) -orphaned_process_group_DEPENDENCIES = libtests.a +orphaned_process_group_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) osf_utimes_SOURCES = osf_utimes.c osf_utimes_OBJECTS = osf_utimes.$(OBJEXT) osf_utimes_LDADD = $(LDADD) -osf_utimes_DEPENDENCIES = libtests.a +osf_utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pause_SOURCES = pause.c pause_OBJECTS = pause.$(OBJEXT) pause_LDADD = $(LDADD) -pause_DEPENDENCIES = libtests.a +pause_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pc_SOURCES = pc.c pc_OBJECTS = pc.$(OBJEXT) -pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) perf_event_open_SOURCES = perf_event_open.c perf_event_open_OBJECTS = perf_event_open.$(OBJEXT) perf_event_open_LDADD = $(LDADD) -perf_event_open_DEPENDENCIES = libtests.a +perf_event_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) perf_event_open_nonverbose_SOURCES = perf_event_open_nonverbose.c perf_event_open_nonverbose_OBJECTS = \ perf_event_open_nonverbose.$(OBJEXT) perf_event_open_nonverbose_LDADD = $(LDADD) -perf_event_open_nonverbose_DEPENDENCIES = libtests.a +perf_event_open_nonverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) perf_event_open_unabbrev_SOURCES = perf_event_open_unabbrev.c perf_event_open_unabbrev_OBJECTS = perf_event_open_unabbrev.$(OBJEXT) perf_event_open_unabbrev_LDADD = $(LDADD) -perf_event_open_unabbrev_DEPENDENCIES = libtests.a +perf_event_open_unabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) personality_SOURCES = personality.c personality_OBJECTS = personality.$(OBJEXT) personality_LDADD = $(LDADD) -personality_DEPENDENCIES = libtests.a +personality_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xabbrev_SOURCES = personality-Xabbrev.c personality_Xabbrev_OBJECTS = personality-Xabbrev.$(OBJEXT) personality_Xabbrev_LDADD = $(LDADD) -personality_Xabbrev_DEPENDENCIES = libtests.a +personality_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xraw_SOURCES = personality-Xraw.c personality_Xraw_OBJECTS = personality-Xraw.$(OBJEXT) personality_Xraw_LDADD = $(LDADD) -personality_Xraw_DEPENDENCIES = libtests.a +personality_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xverbose_SOURCES = personality-Xverbose.c personality_Xverbose_OBJECTS = personality-Xverbose.$(OBJEXT) personality_Xverbose_LDADD = $(LDADD) -personality_Xverbose_DEPENDENCIES = libtests.a +personality_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_SOURCES = pidfd_getfd.c pidfd_getfd_OBJECTS = pidfd_getfd.$(OBJEXT) pidfd_getfd_LDADD = $(LDADD) -pidfd_getfd_DEPENDENCIES = libtests.a +pidfd_getfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_y_SOURCES = pidfd_getfd-y.c pidfd_getfd_y_OBJECTS = pidfd_getfd-y.$(OBJEXT) pidfd_getfd_y_LDADD = $(LDADD) -pidfd_getfd_y_DEPENDENCIES = libtests.a +pidfd_getfd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_yy_SOURCES = pidfd_getfd-yy.c pidfd_getfd_yy_OBJECTS = pidfd_getfd-yy.$(OBJEXT) pidfd_getfd_yy_LDADD = $(LDADD) -pidfd_getfd_yy_DEPENDENCIES = libtests.a +pidfd_getfd_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_SOURCES = pidfd_open.c pidfd_open_OBJECTS = pidfd_open.$(OBJEXT) pidfd_open_LDADD = $(LDADD) -pidfd_open_DEPENDENCIES = libtests.a +pidfd_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_all_SOURCES = pidfd_open--decode-fd-all.c +pidfd_open__decode_fd_all_OBJECTS = \ + pidfd_open--decode-fd-all.$(OBJEXT) +pidfd_open__decode_fd_all_LDADD = $(LDADD) +pidfd_open__decode_fd_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_none_SOURCES = pidfd_open--decode-fd-none.c +pidfd_open__decode_fd_none_OBJECTS = \ + pidfd_open--decode-fd-none.$(OBJEXT) +pidfd_open__decode_fd_none_LDADD = $(LDADD) +pidfd_open__decode_fd_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_path_SOURCES = pidfd_open--decode-fd-path.c pidfd_open__decode_fd_path_OBJECTS = \ pidfd_open--decode-fd-path.$(OBJEXT) pidfd_open__decode_fd_path_LDADD = $(LDADD) -pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_pidfd_SOURCES = pidfd_open--decode-fd-pidfd.c pidfd_open__decode_fd_pidfd_OBJECTS = \ pidfd_open--decode-fd-pidfd.$(OBJEXT) pidfd_open__decode_fd_pidfd_LDADD = $(LDADD) -pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_socket_SOURCES = pidfd_open--decode-fd-socket.c pidfd_open__decode_fd_socket_OBJECTS = \ pidfd_open--decode-fd-socket.$(OBJEXT) pidfd_open__decode_fd_socket_LDADD = $(LDADD) -pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__pidns_translation_SOURCES = \ pidfd_open--pidns-translation.c pidfd_open__pidns_translation_OBJECTS = \ pidfd_open--pidns-translation.$(OBJEXT) pidfd_open__pidns_translation_LDADD = $(LDADD) -pidfd_open__pidns_translation_DEPENDENCIES = libtests.a +pidfd_open__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open_P_SOURCES = pidfd_open-P.c pidfd_open_P_OBJECTS = pidfd_open-P.$(OBJEXT) pidfd_open_P_LDADD = $(LDADD) -pidfd_open_P_DEPENDENCIES = libtests.a +pidfd_open_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_y_SOURCES = pidfd_open-y.c pidfd_open_y_OBJECTS = pidfd_open-y.$(OBJEXT) pidfd_open_y_LDADD = $(LDADD) -pidfd_open_y_DEPENDENCIES = libtests.a +pidfd_open_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_yy_SOURCES = pidfd_open-yy.c pidfd_open_yy_OBJECTS = pidfd_open-yy.$(OBJEXT) pidfd_open_yy_LDADD = $(LDADD) -pidfd_open_yy_DEPENDENCIES = libtests.a +pidfd_open_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal_SOURCES = pidfd_send_signal.c pidfd_send_signal_OBJECTS = pidfd_send_signal.$(OBJEXT) pidfd_send_signal_LDADD = $(LDADD) -pidfd_send_signal_DEPENDENCIES = libtests.a +pidfd_send_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal__pidns_translation_SOURCES = \ pidfd_send_signal--pidns-translation.c pidfd_send_signal__pidns_translation_OBJECTS = \ pidfd_send_signal--pidns-translation.$(OBJEXT) pidfd_send_signal__pidns_translation_LDADD = $(LDADD) -pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a +pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidns_cache_SOURCES = pidns-cache.c pidns_cache_OBJECTS = pidns-cache.$(OBJEXT) pidns_cache_LDADD = $(LDADD) -pidns_cache_DEPENDENCIES = libtests.a +pidns_cache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe_SOURCES = pipe.c pipe_OBJECTS = pipe.$(OBJEXT) pipe_LDADD = $(LDADD) -pipe_DEPENDENCIES = libtests.a +pipe_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe2_SOURCES = pipe2.c pipe2_OBJECTS = pipe2.$(OBJEXT) pipe2_LDADD = $(LDADD) -pipe2_DEPENDENCIES = libtests.a +pipe2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_alloc_SOURCES = pkey_alloc.c pkey_alloc_OBJECTS = pkey_alloc.$(OBJEXT) pkey_alloc_LDADD = $(LDADD) -pkey_alloc_DEPENDENCIES = libtests.a +pkey_alloc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_free_SOURCES = pkey_free.c pkey_free_OBJECTS = pkey_free.$(OBJEXT) pkey_free_LDADD = $(LDADD) -pkey_free_DEPENDENCIES = libtests.a +pkey_free_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_mprotect_SOURCES = pkey_mprotect.c pkey_mprotect_OBJECTS = pkey_mprotect.$(OBJEXT) pkey_mprotect_LDADD = $(LDADD) -pkey_mprotect_DEPENDENCIES = libtests.a +pkey_mprotect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_SOURCES = poke.c poke_OBJECTS = poke.$(OBJEXT) poke_LDADD = $(LDADD) -poke_DEPENDENCIES = libtests.a +poke_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_sendfile_SOURCES = poke-sendfile.c poke_sendfile_OBJECTS = poke-sendfile.$(OBJEXT) poke_sendfile_LDADD = $(LDADD) -poke_sendfile_DEPENDENCIES = libtests.a +poke_sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_SOURCES = poll.c poll_OBJECTS = poll.$(OBJEXT) poll_LDADD = $(LDADD) -poll_DEPENDENCIES = libtests.a +poll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_P_SOURCES = poll-P.c poll_P_OBJECTS = poll-P.$(OBJEXT) poll_P_LDADD = $(LDADD) -poll_P_DEPENDENCIES = libtests.a +poll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_SOURCES = ppoll.c ppoll_OBJECTS = ppoll.$(OBJEXT) ppoll_LDADD = $(LDADD) -ppoll_DEPENDENCIES = libtests.a +ppoll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_P_SOURCES = ppoll-P.c ppoll_P_OBJECTS = ppoll-P.$(OBJEXT) ppoll_P_LDADD = $(LDADD) -ppoll_P_DEPENDENCIES = libtests.a +ppoll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_v_SOURCES = ppoll-v.c ppoll_v_OBJECTS = ppoll-v.$(OBJEXT) ppoll_v_LDADD = $(LDADD) -ppoll_v_DEPENDENCIES = libtests.a +ppoll_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_arg2_intptr_SOURCES = prctl-arg2-intptr.c prctl_arg2_intptr_OBJECTS = prctl-arg2-intptr.$(OBJEXT) prctl_arg2_intptr_LDADD = $(LDADD) -prctl_arg2_intptr_DEPENDENCIES = libtests.a +prctl_arg2_intptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_cap_ambient_SOURCES = prctl-cap-ambient.c prctl_cap_ambient_OBJECTS = prctl-cap-ambient.$(OBJEXT) prctl_cap_ambient_LDADD = $(LDADD) -prctl_cap_ambient_DEPENDENCIES = libtests.a +prctl_cap_ambient_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_capbset_SOURCES = prctl-capbset.c prctl_capbset_OBJECTS = prctl-capbset.$(OBJEXT) prctl_capbset_LDADD = $(LDADD) -prctl_capbset_DEPENDENCIES = libtests.a +prctl_capbset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_dumpable_SOURCES = prctl-dumpable.c prctl_dumpable_OBJECTS = prctl-dumpable.$(OBJEXT) prctl_dumpable_LDADD = $(LDADD) -prctl_dumpable_DEPENDENCIES = libtests.a +prctl_dumpable_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_fp_mode_SOURCES = prctl-fp-mode.c prctl_fp_mode_OBJECTS = prctl-fp-mode.$(OBJEXT) prctl_fp_mode_LDADD = $(LDADD) -prctl_fp_mode_DEPENDENCIES = libtests.a +prctl_fp_mode_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_mce_kill_SOURCES = prctl-mce-kill.c prctl_mce_kill_OBJECTS = prctl-mce-kill.$(OBJEXT) prctl_mce_kill_LDADD = $(LDADD) -prctl_mce_kill_DEPENDENCIES = libtests.a +prctl_mce_kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_name_SOURCES = prctl-name.c prctl_name_OBJECTS = prctl-name.$(OBJEXT) prctl_name_LDADD = $(LDADD) -prctl_name_DEPENDENCIES = libtests.a +prctl_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_no_args_SOURCES = prctl-no-args.c prctl_no_args_OBJECTS = prctl-no-args.$(OBJEXT) prctl_no_args_LDADD = $(LDADD) -prctl_no_args_DEPENDENCIES = libtests.a +prctl_no_args_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_SOURCES = prctl-pac-enabled-keys.c prctl_pac_enabled_keys_OBJECTS = prctl-pac-enabled-keys.$(OBJEXT) prctl_pac_enabled_keys_LDADD = $(LDADD) -prctl_pac_enabled_keys_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-Xabbrev.c prctl_pac_enabled_keys_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xraw_SOURCES = prctl-pac-enabled-keys-Xraw.c prctl_pac_enabled_keys_Xraw_OBJECTS = \ prctl-pac-enabled-keys-Xraw.$(OBJEXT) prctl_pac_enabled_keys_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xverbose_SOURCES = \ prctl-pac-enabled-keys-Xverbose.c prctl_pac_enabled_keys_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_SOURCES = \ prctl-pac-enabled-keys-success.c prctl_pac_enabled_keys_success_OBJECTS = \ prctl-pac-enabled-keys-success.$(OBJEXT) prctl_pac_enabled_keys_success_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-success-Xabbrev.c prctl_pac_enabled_keys_success_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-success-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_success_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xraw_SOURCES = \ prctl-pac-enabled-keys-success-Xraw.c prctl_pac_enabled_keys_success_Xraw_OBJECTS = \ prctl-pac-enabled-keys-success-Xraw.$(OBJEXT) prctl_pac_enabled_keys_success_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xverbose_SOURCES = \ prctl-pac-enabled-keys-success-Xverbose.c prctl_pac_enabled_keys_success_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-success-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_success_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_reset_keys_SOURCES = prctl-pac-reset-keys.c prctl_pac_reset_keys_OBJECTS = prctl-pac-reset-keys.$(OBJEXT) prctl_pac_reset_keys_LDADD = $(LDADD) -prctl_pac_reset_keys_DEPENDENCIES = libtests.a +prctl_pac_reset_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pdeathsig_SOURCES = prctl-pdeathsig.c prctl_pdeathsig_OBJECTS = prctl-pdeathsig.$(OBJEXT) prctl_pdeathsig_LDADD = $(LDADD) -prctl_pdeathsig_DEPENDENCIES = libtests.a +prctl_pdeathsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_SOURCES = prctl-sched-core.c prctl_sched_core_OBJECTS = prctl-sched-core.$(OBJEXT) prctl_sched_core_LDADD = $(LDADD) -prctl_sched_core_DEPENDENCIES = libtests.a +prctl_sched_core_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_SOURCES = \ prctl-sched-core--pidns-translation.c prctl_sched_core__pidns_translation_OBJECTS = \ prctl-sched-core--pidns-translation.$(OBJEXT) prctl_sched_core__pidns_translation_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core--pidns-translation-Xabbrev.c prctl_sched_core__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core__pidns_translation_Xabbrev_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xraw_SOURCES = \ prctl-sched-core--pidns-translation-Xraw.c prctl_sched_core__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core__pidns_translation_Xraw_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core--pidns-translation-Xverbose.c prctl_sched_core__pidns_translation_Xverbose_OBJECTS = \ prctl-sched-core--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xabbrev_SOURCES = prctl-sched-core-Xabbrev.c prctl_sched_core_Xabbrev_OBJECTS = prctl-sched-core-Xabbrev.$(OBJEXT) prctl_sched_core_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_Xraw_SOURCES = prctl-sched-core-Xraw.c prctl_sched_core_Xraw_OBJECTS = prctl-sched-core-Xraw.$(OBJEXT) prctl_sched_core_Xraw_LDADD = $(LDADD) -prctl_sched_core_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xverbose_SOURCES = prctl-sched-core-Xverbose.c prctl_sched_core_Xverbose_OBJECTS = \ prctl-sched-core-Xverbose.$(OBJEXT) prctl_sched_core_Xverbose_LDADD = $(LDADD) -prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_SOURCES = prctl-sched-core-success.c prctl_sched_core_success_OBJECTS = prctl-sched-core-success.$(OBJEXT) prctl_sched_core_success_LDADD = $(LDADD) -prctl_sched_core_success_DEPENDENCIES = libtests.a +prctl_sched_core_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_SOURCES = \ prctl-sched-core-success--pidns-translation.c prctl_sched_core_success__pidns_translation_OBJECTS = \ prctl-sched-core-success--pidns-translation.$(OBJEXT) prctl_sched_core_success__pidns_translation_LDADD = $(LDADD) -prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core-success--pidns-translation-Xabbrev.c prctl_sched_core_success__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xabbrev_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xabbrev_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xraw_SOURCES = \ prctl-sched-core-success--pidns-translation-Xraw.c prctl_sched_core_success__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xraw_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xraw_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core-success--pidns-translation-Xverbose.c prctl_sched_core_success__pidns_translation_Xverbose_OBJECTS = prctl-sched-core-success--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success_Xabbrev_SOURCES = \ prctl-sched-core-success-Xabbrev.c prctl_sched_core_success_Xabbrev_OBJECTS = \ prctl-sched-core-success-Xabbrev.$(OBJEXT) prctl_sched_core_success_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xraw_SOURCES = \ prctl-sched-core-success-Xraw.c prctl_sched_core_success_Xraw_OBJECTS = \ prctl-sched-core-success-Xraw.$(OBJEXT) prctl_sched_core_success_Xraw_LDADD = $(LDADD) -prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xverbose_SOURCES = \ prctl-sched-core-success-Xverbose.c prctl_sched_core_success_Xverbose_OBJECTS = \ prctl-sched-core-success-Xverbose.$(OBJEXT) prctl_sched_core_success_Xverbose_LDADD = $(LDADD) -prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_seccomp_filter_v_SOURCES = prctl-seccomp-filter-v.c prctl_seccomp_filter_v_OBJECTS = prctl-seccomp-filter-v.$(OBJEXT) prctl_seccomp_filter_v_LDADD = $(LDADD) -prctl_seccomp_filter_v_DEPENDENCIES = libtests.a +prctl_seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_seccomp_strict_SOURCES = prctl-seccomp-strict.c prctl_seccomp_strict_OBJECTS = prctl-seccomp-strict.$(OBJEXT) prctl_seccomp_strict_LDADD = $(LDADD) -prctl_seccomp_strict_DEPENDENCIES = libtests.a +prctl_seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_SOURCES = prctl-securebits.c prctl_securebits_OBJECTS = prctl-securebits.$(OBJEXT) prctl_securebits_LDADD = $(LDADD) -prctl_securebits_DEPENDENCIES = libtests.a +prctl_securebits_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_success_SOURCES = prctl-securebits-success.c prctl_securebits_success_OBJECTS = prctl-securebits-success.$(OBJEXT) prctl_securebits_success_LDADD = $(LDADD) -prctl_securebits_success_DEPENDENCIES = libtests.a +prctl_securebits_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xabbrev_SOURCES = \ prctl-securebits-success-Xabbrev.c prctl_securebits_success_Xabbrev_OBJECTS = \ prctl-securebits-success-Xabbrev.$(OBJEXT) prctl_securebits_success_Xabbrev_LDADD = $(LDADD) -prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xraw_SOURCES = \ prctl-securebits-success-Xraw.c prctl_securebits_success_Xraw_OBJECTS = \ prctl-securebits-success-Xraw.$(OBJEXT) prctl_securebits_success_Xraw_LDADD = $(LDADD) -prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a +prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xverbose_SOURCES = \ prctl-securebits-success-Xverbose.c prctl_securebits_success_Xverbose_OBJECTS = \ prctl-securebits-success-Xverbose.$(OBJEXT) prctl_securebits_success_Xverbose_LDADD = $(LDADD) -prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a +prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_SOURCES = prctl-set-ptracer-success.c prctl_set_ptracer_success_OBJECTS = \ prctl-set-ptracer-success.$(OBJEXT) prctl_set_ptracer_success_LDADD = $(LDADD) -prctl_set_ptracer_success_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success__pidns_translation_SOURCES = \ prctl-set-ptracer-success--pidns-translation.c prctl_set_ptracer_success__pidns_translation_OBJECTS = \ prctl-set-ptracer-success--pidns-translation.$(OBJEXT) prctl_set_ptracer_success__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev_SOURCES = \ prctl-set-ptracer-success-Xabbrev.c prctl_set_ptracer_success_Xabbrev_OBJECTS = \ prctl-set-ptracer-success-Xabbrev.$(OBJEXT) prctl_set_ptracer_success_Xabbrev_LDADD = $(LDADD) -prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xabbrev--pidns-translation.c prctl_set_ptracer_success_Xabbrev__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xabbrev--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xabbrev__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xabbrev__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw_SOURCES = \ prctl-set-ptracer-success-Xraw.c prctl_set_ptracer_success_Xraw_OBJECTS = \ prctl-set-ptracer-success-Xraw.$(OBJEXT) prctl_set_ptracer_success_Xraw_LDADD = $(LDADD) -prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xraw--pidns-translation.c prctl_set_ptracer_success_Xraw__pidns_translation_OBJECTS = \ prctl-set-ptracer-success-Xraw--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xraw__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xraw__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose_SOURCES = \ prctl-set-ptracer-success-Xverbose.c prctl_set_ptracer_success_Xverbose_OBJECTS = \ prctl-set-ptracer-success-Xverbose.$(OBJEXT) prctl_set_ptracer_success_Xverbose_LDADD = $(LDADD) -prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xverbose--pidns-translation.c prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xverbose--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD = \ $(LDADD) prctl_set_ptracer_success_Xverbose__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) +prctl_set_vma_SOURCES = prctl-set_vma.c +prctl_set_vma_OBJECTS = prctl-set_vma.$(OBJEXT) +prctl_set_vma_LDADD = $(LDADD) +prctl_set_vma_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_SOURCES = prctl-sme.c +prctl_sme_OBJECTS = prctl-sme.$(OBJEXT) +prctl_sme_LDADD = $(LDADD) +prctl_sme_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xabbrev_SOURCES = prctl-sme-Xabbrev.c +prctl_sme_Xabbrev_OBJECTS = prctl-sme-Xabbrev.$(OBJEXT) +prctl_sme_Xabbrev_LDADD = $(LDADD) +prctl_sme_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xraw_SOURCES = prctl-sme-Xraw.c +prctl_sme_Xraw_OBJECTS = prctl-sme-Xraw.$(OBJEXT) +prctl_sme_Xraw_LDADD = $(LDADD) +prctl_sme_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xverbose_SOURCES = prctl-sme-Xverbose.c +prctl_sme_Xverbose_OBJECTS = prctl-sme-Xverbose.$(OBJEXT) +prctl_sme_Xverbose_LDADD = $(LDADD) +prctl_sme_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_SOURCES = prctl-sme-success.c +prctl_sme_success_OBJECTS = prctl-sme-success.$(OBJEXT) +prctl_sme_success_LDADD = $(LDADD) +prctl_sme_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xabbrev_SOURCES = prctl-sme-success-Xabbrev.c +prctl_sme_success_Xabbrev_OBJECTS = \ + prctl-sme-success-Xabbrev.$(OBJEXT) +prctl_sme_success_Xabbrev_LDADD = $(LDADD) +prctl_sme_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sme_success_Xraw_SOURCES = prctl-sme-success-Xraw.c +prctl_sme_success_Xraw_OBJECTS = prctl-sme-success-Xraw.$(OBJEXT) +prctl_sme_success_Xraw_LDADD = $(LDADD) +prctl_sme_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xverbose_SOURCES = prctl-sme-success-Xverbose.c +prctl_sme_success_Xverbose_OBJECTS = \ + prctl-sme-success-Xverbose.$(OBJEXT) +prctl_sme_success_Xverbose_LDADD = $(LDADD) +prctl_sme_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_spec_inject_SOURCES = prctl-spec-inject.c prctl_spec_inject_OBJECTS = prctl-spec-inject.$(OBJEXT) prctl_spec_inject_LDADD = $(LDADD) -prctl_spec_inject_DEPENDENCIES = libtests.a +prctl_spec_inject_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sve_SOURCES = prctl-sve.c prctl_sve_OBJECTS = prctl-sve.$(OBJEXT) prctl_sve_LDADD = $(LDADD) -prctl_sve_DEPENDENCIES = libtests.a +prctl_sve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xabbrev_SOURCES = prctl-sve-Xabbrev.c +prctl_sve_Xabbrev_OBJECTS = prctl-sve-Xabbrev.$(OBJEXT) +prctl_sve_Xabbrev_LDADD = $(LDADD) +prctl_sve_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xraw_SOURCES = prctl-sve-Xraw.c +prctl_sve_Xraw_OBJECTS = prctl-sve-Xraw.$(OBJEXT) +prctl_sve_Xraw_LDADD = $(LDADD) +prctl_sve_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xverbose_SOURCES = prctl-sve-Xverbose.c +prctl_sve_Xverbose_OBJECTS = prctl-sve-Xverbose.$(OBJEXT) +prctl_sve_Xverbose_LDADD = $(LDADD) +prctl_sve_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_SOURCES = prctl-sve-success.c +prctl_sve_success_OBJECTS = prctl-sve-success.$(OBJEXT) +prctl_sve_success_LDADD = $(LDADD) +prctl_sve_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xabbrev_SOURCES = prctl-sve-success-Xabbrev.c +prctl_sve_success_Xabbrev_OBJECTS = \ + prctl-sve-success-Xabbrev.$(OBJEXT) +prctl_sve_success_Xabbrev_LDADD = $(LDADD) +prctl_sve_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sve_success_Xraw_SOURCES = prctl-sve-success-Xraw.c +prctl_sve_success_Xraw_OBJECTS = prctl-sve-success-Xraw.$(OBJEXT) +prctl_sve_success_Xraw_LDADD = $(LDADD) +prctl_sve_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xverbose_SOURCES = prctl-sve-success-Xverbose.c +prctl_sve_success_Xverbose_OBJECTS = \ + prctl-sve-success-Xverbose.$(OBJEXT) +prctl_sve_success_Xverbose_LDADD = $(LDADD) +prctl_sve_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_syscall_user_dispatch_SOURCES = prctl-syscall-user-dispatch.c prctl_syscall_user_dispatch_OBJECTS = \ prctl-syscall-user-dispatch.$(OBJEXT) prctl_syscall_user_dispatch_LDADD = $(LDADD) -prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a +prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_SOURCES = prctl-tagged-addr.c prctl_tagged_addr_OBJECTS = prctl-tagged-addr.$(OBJEXT) prctl_tagged_addr_LDADD = $(LDADD) -prctl_tagged_addr_DEPENDENCIES = libtests.a +prctl_tagged_addr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xabbrev_SOURCES = prctl-tagged-addr-Xabbrev.c prctl_tagged_addr_Xabbrev_OBJECTS = \ prctl-tagged-addr-Xabbrev.$(OBJEXT) prctl_tagged_addr_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_Xraw_SOURCES = prctl-tagged-addr-Xraw.c prctl_tagged_addr_Xraw_OBJECTS = prctl-tagged-addr-Xraw.$(OBJEXT) prctl_tagged_addr_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xverbose_SOURCES = prctl-tagged-addr-Xverbose.c prctl_tagged_addr_Xverbose_OBJECTS = \ prctl-tagged-addr-Xverbose.$(OBJEXT) prctl_tagged_addr_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_SOURCES = prctl-tagged-addr-success.c prctl_tagged_addr_success_OBJECTS = \ prctl-tagged-addr-success.$(OBJEXT) prctl_tagged_addr_success_LDADD = $(LDADD) -prctl_tagged_addr_success_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xabbrev_SOURCES = \ prctl-tagged-addr-success-Xabbrev.c prctl_tagged_addr_success_Xabbrev_OBJECTS = \ prctl-tagged-addr-success-Xabbrev.$(OBJEXT) prctl_tagged_addr_success_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xraw_SOURCES = \ prctl-tagged-addr-success-Xraw.c prctl_tagged_addr_success_Xraw_OBJECTS = \ prctl-tagged-addr-success-Xraw.$(OBJEXT) prctl_tagged_addr_success_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xverbose_SOURCES = \ prctl-tagged-addr-success-Xverbose.c prctl_tagged_addr_success_Xverbose_OBJECTS = \ prctl-tagged-addr-success-Xverbose.$(OBJEXT) prctl_tagged_addr_success_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tid_address_SOURCES = prctl-tid_address.c prctl_tid_address_OBJECTS = prctl-tid_address.$(OBJEXT) prctl_tid_address_LDADD = $(LDADD) -prctl_tid_address_DEPENDENCIES = libtests.a +prctl_tid_address_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tsc_SOURCES = prctl-tsc.c prctl_tsc_OBJECTS = prctl-tsc.$(OBJEXT) prctl_tsc_LDADD = $(LDADD) -prctl_tsc_DEPENDENCIES = libtests.a +prctl_tsc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_unalign_SOURCES = prctl-unalign.c prctl_unalign_OBJECTS = prctl-unalign.$(OBJEXT) prctl_unalign_LDADD = $(LDADD) -prctl_unalign_DEPENDENCIES = libtests.a +prctl_unalign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pread64_pwrite64_SOURCES = pread64-pwrite64.c pread64_pwrite64_OBJECTS = \ pread64_pwrite64-pread64-pwrite64.$(OBJEXT) pread64_pwrite64_LDADD = $(LDADD) -pread64_pwrite64_DEPENDENCIES = libtests.a +pread64_pwrite64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_SOURCES = preadv.c preadv_OBJECTS = preadv-preadv.$(OBJEXT) preadv_LDADD = $(LDADD) -preadv_DEPENDENCIES = libtests.a +preadv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_pwritev_SOURCES = preadv-pwritev.c preadv_pwritev_OBJECTS = preadv_pwritev-preadv-pwritev.$(OBJEXT) preadv_pwritev_LDADD = $(LDADD) -preadv_pwritev_DEPENDENCIES = libtests.a +preadv_pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv2_pwritev2_SOURCES = preadv2-pwritev2.c preadv2_pwritev2_OBJECTS = preadv2-pwritev2.$(OBJEXT) preadv2_pwritev2_LDADD = $(LDADD) -preadv2_pwritev2_DEPENDENCIES = libtests.a +preadv2_pwritev2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_maxfd_SOURCES = print_maxfd.c print_maxfd_OBJECTS = print_maxfd.$(OBJEXT) print_maxfd_LDADD = $(LDADD) -print_maxfd_DEPENDENCIES = libtests.a +print_maxfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_ppid_tracerpid_SOURCES = print_ppid_tracerpid.c print_ppid_tracerpid_OBJECTS = print_ppid_tracerpid.$(OBJEXT) print_ppid_tracerpid_LDADD = $(LDADD) -print_ppid_tracerpid_DEPENDENCIES = libtests.a +print_ppid_tracerpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_SOURCES = printpath-umovestr.c printpath_umovestr_OBJECTS = printpath-umovestr.$(OBJEXT) printpath_umovestr_LDADD = $(LDADD) -printpath_umovestr_DEPENDENCIES = libtests.a +printpath_umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_peekdata_SOURCES = printpath-umovestr-peekdata.c printpath_umovestr_peekdata_OBJECTS = \ printpath-umovestr-peekdata.$(OBJEXT) printpath_umovestr_peekdata_LDADD = $(LDADD) -printpath_umovestr_peekdata_DEPENDENCIES = libtests.a +printpath_umovestr_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printpath_umovestr_undumpable_SOURCES = \ printpath-umovestr-undumpable.c printpath_umovestr_undumpable_OBJECTS = \ printpath-umovestr-undumpable.$(OBJEXT) printpath_umovestr_undumpable_LDADD = $(LDADD) -printpath_umovestr_undumpable_DEPENDENCIES = libtests.a +printpath_umovestr_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printsignal_Xabbrev_SOURCES = printsignal-Xabbrev.c printsignal_Xabbrev_OBJECTS = printsignal-Xabbrev.$(OBJEXT) printsignal_Xabbrev_LDADD = $(LDADD) -printsignal_Xabbrev_DEPENDENCIES = libtests.a +printsignal_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xraw_SOURCES = printsignal-Xraw.c printsignal_Xraw_OBJECTS = printsignal-Xraw.$(OBJEXT) printsignal_Xraw_LDADD = $(LDADD) -printsignal_Xraw_DEPENDENCIES = libtests.a +printsignal_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xverbose_SOURCES = printsignal-Xverbose.c printsignal_Xverbose_OBJECTS = printsignal-Xverbose.$(OBJEXT) printsignal_Xverbose_LDADD = $(LDADD) -printsignal_Xverbose_DEPENDENCIES = libtests.a +printsignal_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstr_SOURCES = printstr.c printstr_OBJECTS = printstr.$(OBJEXT) printstr_LDADD = $(LDADD) -printstr_DEPENDENCIES = libtests.a +printstr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_SOURCES = printstrn-umoven.c printstrn_umoven_OBJECTS = printstrn-umoven.$(OBJEXT) printstrn_umoven_LDADD = $(LDADD) -printstrn_umoven_DEPENDENCIES = libtests.a +printstrn_umoven_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_peekdata_SOURCES = printstrn-umoven-peekdata.c printstrn_umoven_peekdata_OBJECTS = \ printstrn-umoven-peekdata.$(OBJEXT) printstrn_umoven_peekdata_LDADD = $(LDADD) -printstrn_umoven_peekdata_DEPENDENCIES = libtests.a +printstrn_umoven_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printstrn_umoven_undumpable_SOURCES = printstrn-umoven-undumpable.c printstrn_umoven_undumpable_OBJECTS = \ printstrn-umoven-undumpable.$(OBJEXT) printstrn_umoven_undumpable_LDADD = $(LDADD) -printstrn_umoven_undumpable_DEPENDENCIES = libtests.a +printstrn_umoven_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_SOURCES = prlimit64.c prlimit64_OBJECTS = prlimit64.$(OBJEXT) prlimit64_LDADD = $(LDADD) -prlimit64_DEPENDENCIES = libtests.a +prlimit64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64__pidns_translation_SOURCES = prlimit64--pidns-translation.c prlimit64__pidns_translation_OBJECTS = \ prlimit64--pidns-translation.$(OBJEXT) prlimit64__pidns_translation_LDADD = $(LDADD) -prlimit64__pidns_translation_DEPENDENCIES = libtests.a +prlimit64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_success_SOURCES = prlimit64-success.c prlimit64_success_OBJECTS = prlimit64-success.$(OBJEXT) prlimit64_success_LDADD = $(LDADD) -prlimit64_success_DEPENDENCIES = libtests.a +prlimit64_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64_success__pidns_translation_SOURCES = \ prlimit64-success--pidns-translation.c prlimit64_success__pidns_translation_OBJECTS = \ prlimit64-success--pidns-translation.$(OBJEXT) prlimit64_success__pidns_translation_LDADD = $(LDADD) -prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a +prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_madvise_SOURCES = process_madvise.c process_madvise_OBJECTS = process_madvise.$(OBJEXT) process_madvise_LDADD = $(LDADD) -process_madvise_DEPENDENCIES = libtests.a +process_madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_y_SOURCES = process_madvise-y.c process_madvise_y_OBJECTS = process_madvise-y.$(OBJEXT) process_madvise_y_LDADD = $(LDADD) -process_madvise_y_DEPENDENCIES = libtests.a +process_madvise_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_yy_SOURCES = process_madvise-yy.c process_madvise_yy_OBJECTS = process_madvise-yy.$(OBJEXT) process_madvise_yy_LDADD = $(LDADD) -process_madvise_yy_DEPENDENCIES = libtests.a +process_madvise_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_SOURCES = process_mrelease.c +process_mrelease_OBJECTS = process_mrelease.$(OBJEXT) +process_mrelease_LDADD = $(LDADD) +process_mrelease_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_y_SOURCES = process_mrelease-y.c +process_mrelease_y_OBJECTS = process_mrelease-y.$(OBJEXT) +process_mrelease_y_LDADD = $(LDADD) +process_mrelease_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv_SOURCES = process_vm_readv.c process_vm_readv_OBJECTS = process_vm_readv.$(OBJEXT) process_vm_readv_LDADD = $(LDADD) -process_vm_readv_DEPENDENCIES = libtests.a +process_vm_readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv__pidns_translation_SOURCES = \ process_vm_readv--pidns-translation.c process_vm_readv__pidns_translation_OBJECTS = \ process_vm_readv--pidns-translation.$(OBJEXT) process_vm_readv__pidns_translation_LDADD = $(LDADD) -process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a +process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_vm_writev_SOURCES = process_vm_writev.c process_vm_writev_OBJECTS = process_vm_writev.$(OBJEXT) process_vm_writev_LDADD = $(LDADD) -process_vm_writev_DEPENDENCIES = libtests.a +process_vm_writev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_writev__pidns_translation_SOURCES = \ process_vm_writev--pidns-translation.c process_vm_writev__pidns_translation_OBJECTS = \ process_vm_writev--pidns-translation.$(OBJEXT) process_vm_writev__pidns_translation_LDADD = $(LDADD) -process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a +process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pselect6_SOURCES = pselect6.c pselect6_OBJECTS = pselect6.$(OBJEXT) pselect6_LDADD = $(LDADD) -pselect6_DEPENDENCIES = libtests.a +pselect6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pselect6_time64_SOURCES = pselect6_time64.c pselect6_time64_OBJECTS = pselect6_time64.$(OBJEXT) pselect6_time64_LDADD = $(LDADD) -pselect6_time64_DEPENDENCIES = libtests.a +pselect6_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_SOURCES = ptrace.c ptrace_OBJECTS = ptrace.$(OBJEXT) ptrace_LDADD = $(LDADD) -ptrace_DEPENDENCIES = libtests.a +ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xabbrev_SOURCES = ptrace-Xabbrev.c +ptrace_Xabbrev_OBJECTS = ptrace-Xabbrev.$(OBJEXT) +ptrace_Xabbrev_LDADD = $(LDADD) +ptrace_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xraw_SOURCES = ptrace-Xraw.c +ptrace_Xraw_OBJECTS = ptrace-Xraw.$(OBJEXT) +ptrace_Xraw_LDADD = $(LDADD) +ptrace_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xverbose_SOURCES = ptrace-Xverbose.c +ptrace_Xverbose_OBJECTS = ptrace-Xverbose.$(OBJEXT) +ptrace_Xverbose_LDADD = $(LDADD) +ptrace_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_SOURCES = ptrace-y.c +ptrace_y_OBJECTS = ptrace-y.$(OBJEXT) +ptrace_y_LDADD = $(LDADD) +ptrace_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xabbrev_SOURCES = ptrace-y-Xabbrev.c +ptrace_y_Xabbrev_OBJECTS = ptrace-y-Xabbrev.$(OBJEXT) +ptrace_y_Xabbrev_LDADD = $(LDADD) +ptrace_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xraw_SOURCES = ptrace-y-Xraw.c +ptrace_y_Xraw_OBJECTS = ptrace-y-Xraw.$(OBJEXT) +ptrace_y_Xraw_LDADD = $(LDADD) +ptrace_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xverbose_SOURCES = ptrace-y-Xverbose.c +ptrace_y_Xverbose_OBJECTS = ptrace-y-Xverbose.$(OBJEXT) +ptrace_y_Xverbose_LDADD = $(LDADD) +ptrace_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_syscall_info_SOURCES = ptrace_syscall_info.c ptrace_syscall_info_OBJECTS = ptrace_syscall_info.$(OBJEXT) ptrace_syscall_info_LDADD = $(LDADD) -ptrace_syscall_info_DEPENDENCIES = libtests.a +ptrace_syscall_info_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xabbrev_SOURCES = ptrace_syscall_info-Xabbrev.c +ptrace_syscall_info_Xabbrev_OBJECTS = \ + ptrace_syscall_info-Xabbrev.$(OBJEXT) +ptrace_syscall_info_Xabbrev_LDADD = $(LDADD) +ptrace_syscall_info_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xraw_SOURCES = ptrace_syscall_info-Xraw.c +ptrace_syscall_info_Xraw_OBJECTS = ptrace_syscall_info-Xraw.$(OBJEXT) +ptrace_syscall_info_Xraw_LDADD = $(LDADD) +ptrace_syscall_info_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xverbose_SOURCES = ptrace_syscall_info-Xverbose.c +ptrace_syscall_info_Xverbose_OBJECTS = \ + ptrace_syscall_info-Xverbose.$(OBJEXT) +ptrace_syscall_info_Xverbose_LDADD = $(LDADD) +ptrace_syscall_info_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pwritev_SOURCES = pwritev.c pwritev_OBJECTS = pwritev-pwritev.$(OBJEXT) pwritev_LDADD = $(LDADD) -pwritev_DEPENDENCIES = libtests.a +pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_fault_SOURCES = qual_fault.c qual_fault_OBJECTS = qual_fault.$(OBJEXT) qual_fault_LDADD = $(LDADD) -qual_fault_DEPENDENCIES = libtests.a +qual_fault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_error_signal_SOURCES = qual_inject-error-signal.c qual_inject_error_signal_OBJECTS = qual_inject-error-signal.$(OBJEXT) qual_inject_error_signal_LDADD = $(LDADD) -qual_inject_error_signal_DEPENDENCIES = libtests.a +qual_inject_error_signal_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) qual_inject_retval_SOURCES = qual_inject-retval.c qual_inject_retval_OBJECTS = qual_inject-retval.$(OBJEXT) qual_inject_retval_LDADD = $(LDADD) -qual_inject_retval_DEPENDENCIES = libtests.a +qual_inject_retval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_signal_SOURCES = qual_inject-signal.c qual_inject_signal_OBJECTS = qual_inject-signal.$(OBJEXT) qual_inject_signal_LDADD = $(LDADD) -qual_inject_signal_DEPENDENCIES = libtests.a +qual_inject_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_signal_SOURCES = qual_signal.c qual_signal_OBJECTS = qual_signal.$(OBJEXT) qual_signal_LDADD = $(LDADD) -qual_signal_DEPENDENCIES = libtests.a +qual_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_SOURCES = quotactl.c quotactl_OBJECTS = quotactl.$(OBJEXT) quotactl_LDADD = $(LDADD) -quotactl_DEPENDENCIES = libtests.a +quotactl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xabbrev_SOURCES = quotactl-Xabbrev.c quotactl_Xabbrev_OBJECTS = quotactl-Xabbrev.$(OBJEXT) quotactl_Xabbrev_LDADD = $(LDADD) -quotactl_Xabbrev_DEPENDENCIES = libtests.a +quotactl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xraw_SOURCES = quotactl-Xraw.c quotactl_Xraw_OBJECTS = quotactl-Xraw.$(OBJEXT) quotactl_Xraw_LDADD = $(LDADD) -quotactl_Xraw_DEPENDENCIES = libtests.a +quotactl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xverbose_SOURCES = quotactl-Xverbose.c quotactl_Xverbose_OBJECTS = quotactl-Xverbose.$(OBJEXT) quotactl_Xverbose_LDADD = $(LDADD) -quotactl_Xverbose_DEPENDENCIES = libtests.a +quotactl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_SOURCES = quotactl-success.c quotactl_success_OBJECTS = quotactl-success.$(OBJEXT) quotactl_success_LDADD = $(LDADD) -quotactl_success_DEPENDENCIES = libtests.a +quotactl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_v_SOURCES = quotactl-success-v.c quotactl_success_v_OBJECTS = quotactl-success-v.$(OBJEXT) quotactl_success_v_LDADD = $(LDADD) -quotactl_success_v_DEPENDENCIES = libtests.a +quotactl_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_v_SOURCES = quotactl-v.c quotactl_v_OBJECTS = quotactl-v.$(OBJEXT) quotactl_v_LDADD = $(LDADD) -quotactl_v_DEPENDENCIES = libtests.a +quotactl_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_SOURCES = quotactl-xfs.c quotactl_xfs_OBJECTS = quotactl-xfs.$(OBJEXT) quotactl_xfs_LDADD = $(LDADD) -quotactl_xfs_DEPENDENCIES = libtests.a +quotactl_xfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_SOURCES = quotactl-xfs-success.c quotactl_xfs_success_OBJECTS = quotactl-xfs-success.$(OBJEXT) quotactl_xfs_success_LDADD = $(LDADD) -quotactl_xfs_success_DEPENDENCIES = libtests.a +quotactl_xfs_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_v_SOURCES = quotactl-xfs-success-v.c quotactl_xfs_success_v_OBJECTS = quotactl-xfs-success-v.$(OBJEXT) quotactl_xfs_success_v_LDADD = $(LDADD) -quotactl_xfs_success_v_DEPENDENCIES = libtests.a +quotactl_xfs_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_v_SOURCES = quotactl-xfs-v.c quotactl_xfs_v_OBJECTS = quotactl-xfs-v.$(OBJEXT) quotactl_xfs_v_LDADD = $(LDADD) -quotactl_xfs_v_DEPENDENCIES = libtests.a +quotactl_xfs_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_SOURCES = quotactl_fd.c quotactl_fd_OBJECTS = quotactl_fd.$(OBJEXT) quotactl_fd_LDADD = $(LDADD) -quotactl_fd_DEPENDENCIES = libtests.a +quotactl_fd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_P_SOURCES = quotactl_fd-P.c quotactl_fd_P_OBJECTS = quotactl_fd-P.$(OBJEXT) quotactl_fd_P_LDADD = $(LDADD) -quotactl_fd_P_DEPENDENCIES = libtests.a +quotactl_fd_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_y_SOURCES = quotactl_fd-y.c quotactl_fd_y_OBJECTS = quotactl_fd-y.$(OBJEXT) quotactl_fd_y_LDADD = $(LDADD) -quotactl_fd_y_DEPENDENCIES = libtests.a +quotactl_fd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) read_write_SOURCES = read-write.c read_write_OBJECTS = read-write.$(OBJEXT) read_write_LDADD = $(LDADD) -read_write_DEPENDENCIES = libtests.a +read_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readahead_SOURCES = readahead.c readahead_OBJECTS = readahead.$(OBJEXT) readahead_LDADD = $(LDADD) -readahead_DEPENDENCIES = libtests.a +readahead_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readdir_SOURCES = readdir.c readdir_OBJECTS = readdir.$(OBJEXT) readdir_LDADD = $(LDADD) -readdir_DEPENDENCIES = libtests.a +readdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlink_SOURCES = readlink.c readlink_OBJECTS = readlink.$(OBJEXT) readlink_LDADD = $(LDADD) -readlink_DEPENDENCIES = libtests.a +readlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlinkat_SOURCES = readlinkat.c readlinkat_OBJECTS = readlinkat.$(OBJEXT) readlinkat_LDADD = $(LDADD) -readlinkat_DEPENDENCIES = libtests.a +readlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readv_SOURCES = readv.c readv_OBJECTS = readv.$(OBJEXT) readv_LDADD = $(LDADD) -readv_DEPENDENCIES = libtests.a +readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) reboot_SOURCES = reboot.c reboot_OBJECTS = reboot.$(OBJEXT) reboot_LDADD = $(LDADD) -reboot_DEPENDENCIES = libtests.a +reboot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recv_MSG_TRUNC_SOURCES = recv-MSG_TRUNC.c recv_MSG_TRUNC_OBJECTS = recv-MSG_TRUNC.$(OBJEXT) recv_MSG_TRUNC_LDADD = $(LDADD) -recv_MSG_TRUNC_DEPENDENCIES = libtests.a +recv_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_SOURCES = recvfrom.c recvfrom_OBJECTS = recvfrom.$(OBJEXT) recvfrom_LDADD = $(LDADD) -recvfrom_DEPENDENCIES = libtests.a +recvfrom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_MSG_TRUNC_SOURCES = recvfrom-MSG_TRUNC.c recvfrom_MSG_TRUNC_OBJECTS = recvfrom-MSG_TRUNC.$(OBJEXT) recvfrom_MSG_TRUNC_LDADD = $(LDADD) -recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a +recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmmsg_timeout_SOURCES = recvmmsg-timeout.c recvmmsg_timeout_OBJECTS = recvmmsg-timeout.$(OBJEXT) recvmmsg_timeout_LDADD = $(LDADD) -recvmmsg_timeout_DEPENDENCIES = libtests.a +recvmmsg_timeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmsg_SOURCES = recvmsg.c recvmsg_OBJECTS = recvmsg.$(OBJEXT) recvmsg_LDADD = $(LDADD) -recvmsg_DEPENDENCIES = libtests.a +recvmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) redirect_fds_SOURCES = redirect-fds.c redirect_fds_OBJECTS = redirect-fds.$(OBJEXT) redirect_fds_LDADD = $(LDADD) -redirect_fds_DEPENDENCIES = libtests.a +redirect_fds_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_SOURCES = remap_file_pages.c remap_file_pages_OBJECTS = remap_file_pages.$(OBJEXT) remap_file_pages_LDADD = $(LDADD) -remap_file_pages_DEPENDENCIES = libtests.a +remap_file_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xabbrev_SOURCES = remap_file_pages-Xabbrev.c remap_file_pages_Xabbrev_OBJECTS = remap_file_pages-Xabbrev.$(OBJEXT) remap_file_pages_Xabbrev_LDADD = $(LDADD) -remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a +remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) remap_file_pages_Xraw_SOURCES = remap_file_pages-Xraw.c remap_file_pages_Xraw_OBJECTS = remap_file_pages-Xraw.$(OBJEXT) remap_file_pages_Xraw_LDADD = $(LDADD) -remap_file_pages_Xraw_DEPENDENCIES = libtests.a +remap_file_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xverbose_SOURCES = remap_file_pages-Xverbose.c remap_file_pages_Xverbose_OBJECTS = \ remap_file_pages-Xverbose.$(OBJEXT) remap_file_pages_Xverbose_LDADD = $(LDADD) -remap_file_pages_Xverbose_DEPENDENCIES = libtests.a +remap_file_pages_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rename_SOURCES = rename.c rename_OBJECTS = rename.$(OBJEXT) rename_LDADD = $(LDADD) -rename_DEPENDENCIES = libtests.a +rename_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat_SOURCES = renameat.c renameat_OBJECTS = renameat.$(OBJEXT) renameat_LDADD = $(LDADD) -renameat_DEPENDENCIES = libtests.a +renameat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat2_SOURCES = renameat2.c renameat2_OBJECTS = renameat2.$(OBJEXT) renameat2_LDADD = $(LDADD) -renameat2_DEPENDENCIES = libtests.a +renameat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) request_key_SOURCES = request_key.c request_key_OBJECTS = request_key.$(OBJEXT) request_key_LDADD = $(LDADD) -request_key_DEPENDENCIES = libtests.a +request_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) restart_syscall_SOURCES = restart_syscall.c restart_syscall_OBJECTS = restart_syscall.$(OBJEXT) restart_syscall_LDADD = $(LDADD) -restart_syscall_DEPENDENCIES = libtests.a +restart_syscall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) riscv_flush_icache_SOURCES = riscv_flush_icache.c riscv_flush_icache_OBJECTS = riscv_flush_icache.$(OBJEXT) riscv_flush_icache_LDADD = $(LDADD) -riscv_flush_icache_DEPENDENCIES = libtests.a +riscv_flush_icache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rmdir_SOURCES = rmdir.c rmdir_OBJECTS = rmdir.$(OBJEXT) rmdir_LDADD = $(LDADD) -rmdir_DEPENDENCIES = libtests.a +rmdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigaction_SOURCES = rt_sigaction.c rt_sigaction_OBJECTS = rt_sigaction.$(OBJEXT) rt_sigaction_LDADD = $(LDADD) -rt_sigaction_DEPENDENCIES = libtests.a +rt_sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigpending_SOURCES = rt_sigpending.c rt_sigpending_OBJECTS = rt_sigpending.$(OBJEXT) rt_sigpending_LDADD = $(LDADD) -rt_sigpending_DEPENDENCIES = libtests.a +rt_sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigprocmask_SOURCES = rt_sigprocmask.c rt_sigprocmask_OBJECTS = rt_sigprocmask.$(OBJEXT) rt_sigprocmask_LDADD = $(LDADD) -rt_sigprocmask_DEPENDENCIES = libtests.a +rt_sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo_SOURCES = rt_sigqueueinfo.c rt_sigqueueinfo_OBJECTS = rt_sigqueueinfo.$(OBJEXT) rt_sigqueueinfo_LDADD = $(LDADD) -rt_sigqueueinfo_DEPENDENCIES = libtests.a +rt_sigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo__pidns_translation_SOURCES = \ rt_sigqueueinfo--pidns-translation.c rt_sigqueueinfo__pidns_translation_OBJECTS = \ rt_sigqueueinfo--pidns-translation.$(OBJEXT) rt_sigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rt_sigreturn_SOURCES = rt_sigreturn.c rt_sigreturn_OBJECTS = rt_sigreturn.$(OBJEXT) rt_sigreturn_LDADD = $(LDADD) -rt_sigreturn_DEPENDENCIES = libtests.a +rt_sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigsuspend_SOURCES = rt_sigsuspend.c rt_sigsuspend_OBJECTS = rt_sigsuspend.$(OBJEXT) rt_sigsuspend_LDADD = $(LDADD) -rt_sigsuspend_DEPENDENCIES = libtests.a +rt_sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigtimedwait_SOURCES = rt_sigtimedwait.c rt_sigtimedwait_OBJECTS = rt_sigtimedwait.$(OBJEXT) rt_sigtimedwait_LDADD = $(LDADD) -rt_sigtimedwait_DEPENDENCIES = libtests.a +rt_sigtimedwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo_SOURCES = rt_tgsigqueueinfo.c rt_tgsigqueueinfo_OBJECTS = rt_tgsigqueueinfo.$(OBJEXT) rt_tgsigqueueinfo_LDADD = $(LDADD) -rt_tgsigqueueinfo_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo__pidns_translation_SOURCES = \ rt_tgsigqueueinfo--pidns-translation.c rt_tgsigqueueinfo__pidns_translation_OBJECTS = \ rt_tgsigqueueinfo--pidns-translation.$(OBJEXT) rt_tgsigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) run_expect_termsig_SOURCES = run_expect_termsig.c run_expect_termsig_OBJECTS = run_expect_termsig.$(OBJEXT) run_expect_termsig_LDADD = $(LDADD) -run_expect_termsig_DEPENDENCIES = libtests.a +run_expect_termsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_SOURCES = s390_guarded_storage.c s390_guarded_storage_OBJECTS = s390_guarded_storage.$(OBJEXT) s390_guarded_storage_LDADD = $(LDADD) -s390_guarded_storage_DEPENDENCIES = libtests.a +s390_guarded_storage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_v_SOURCES = s390_guarded_storage-v.c s390_guarded_storage_v_OBJECTS = s390_guarded_storage-v.$(OBJEXT) s390_guarded_storage_v_LDADD = $(LDADD) -s390_guarded_storage_v_DEPENDENCIES = libtests.a +s390_guarded_storage_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_pci_mmio_read_write_SOURCES = s390_pci_mmio_read_write.c s390_pci_mmio_read_write_OBJECTS = s390_pci_mmio_read_write.$(OBJEXT) s390_pci_mmio_read_write_LDADD = $(LDADD) -s390_pci_mmio_read_write_DEPENDENCIES = libtests.a +s390_pci_mmio_read_write_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) s390_runtime_instr_SOURCES = s390_runtime_instr.c s390_runtime_instr_OBJECTS = s390_runtime_instr.$(OBJEXT) s390_runtime_instr_LDADD = $(LDADD) -s390_runtime_instr_DEPENDENCIES = libtests.a +s390_runtime_instr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_SOURCES = s390_sthyi.c s390_sthyi_OBJECTS = s390_sthyi.$(OBJEXT) s390_sthyi_LDADD = $(LDADD) -s390_sthyi_DEPENDENCIES = libtests.a +s390_sthyi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_v_SOURCES = s390_sthyi-v.c s390_sthyi_v_OBJECTS = s390_sthyi-v.$(OBJEXT) s390_sthyi_v_LDADD = $(LDADD) -s390_sthyi_v_DEPENDENCIES = libtests.a +s390_sthyi_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_get_priority_mxx_SOURCES = sched_get_priority_mxx.c sched_get_priority_mxx_OBJECTS = sched_get_priority_mxx.$(OBJEXT) sched_get_priority_mxx_LDADD = $(LDADD) -sched_get_priority_mxx_DEPENDENCIES = libtests.a +sched_get_priority_mxx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_rr_get_interval_SOURCES = sched_rr_get_interval.c sched_rr_get_interval_OBJECTS = sched_rr_get_interval.$(OBJEXT) sched_rr_get_interval_LDADD = $(LDADD) -sched_rr_get_interval_DEPENDENCIES = libtests.a +sched_rr_get_interval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity_SOURCES = sched_xetaffinity.c sched_xetaffinity_OBJECTS = sched_xetaffinity.$(OBJEXT) sched_xetaffinity_LDADD = $(LDADD) -sched_xetaffinity_DEPENDENCIES = libtests.a +sched_xetaffinity_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity__pidns_translation_SOURCES = \ sched_xetaffinity--pidns-translation.c sched_xetaffinity__pidns_translation_OBJECTS = \ sched_xetaffinity--pidns-translation.$(OBJEXT) sched_xetaffinity__pidns_translation_LDADD = $(LDADD) -sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a +sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetattr_SOURCES = sched_xetattr.c sched_xetattr_OBJECTS = sched_xetattr.$(OBJEXT) sched_xetattr_LDADD = $(LDADD) -sched_xetattr_DEPENDENCIES = libtests.a +sched_xetattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetattr__pidns_translation_SOURCES = \ sched_xetattr--pidns-translation.c sched_xetattr__pidns_translation_OBJECTS = \ sched_xetattr--pidns-translation.$(OBJEXT) sched_xetattr__pidns_translation_LDADD = $(LDADD) -sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a +sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetparam_SOURCES = sched_xetparam.c sched_xetparam_OBJECTS = sched_xetparam.$(OBJEXT) sched_xetparam_LDADD = $(LDADD) -sched_xetparam_DEPENDENCIES = libtests.a +sched_xetparam_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetparam__pidns_translation_SOURCES = \ sched_xetparam--pidns-translation.c sched_xetparam__pidns_translation_OBJECTS = \ sched_xetparam--pidns-translation.$(OBJEXT) sched_xetparam__pidns_translation_LDADD = $(LDADD) -sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a +sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetscheduler_SOURCES = sched_xetscheduler.c sched_xetscheduler_OBJECTS = sched_xetscheduler.$(OBJEXT) sched_xetscheduler_LDADD = $(LDADD) -sched_xetscheduler_DEPENDENCIES = libtests.a +sched_xetscheduler_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetscheduler__pidns_translation_SOURCES = \ sched_xetscheduler--pidns-translation.c sched_xetscheduler__pidns_translation_OBJECTS = \ sched_xetscheduler--pidns-translation.$(OBJEXT) sched_xetscheduler__pidns_translation_LDADD = $(LDADD) -sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a +sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_yield_SOURCES = sched_yield.c sched_yield_OBJECTS = sched_yield.$(OBJEXT) sched_yield_LDADD = $(LDADD) -sched_yield_DEPENDENCIES = libtests.a +sched_yield_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) scm_rights_SOURCES = scm_rights.c scm_rights_OBJECTS = scm_rights.$(OBJEXT) scm_rights_LDADD = $(LDADD) -scm_rights_DEPENDENCIES = libtests.a +scm_rights_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_SOURCES = seccomp-filter.c seccomp_filter_OBJECTS = seccomp-filter.$(OBJEXT) seccomp_filter_LDADD = $(LDADD) -seccomp_filter_DEPENDENCIES = libtests.a +seccomp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_v_SOURCES = seccomp-filter-v.c seccomp_filter_v_OBJECTS = seccomp-filter-v.$(OBJEXT) seccomp_filter_v_LDADD = $(LDADD) -seccomp_filter_v_DEPENDENCIES = libtests.a +seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_strict_SOURCES = seccomp-strict.c seccomp_strict_OBJECTS = seccomp-strict.$(OBJEXT) seccomp_strict_LDADD = $(LDADD) -seccomp_strict_DEPENDENCIES = libtests.a +seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_get_action_avail_SOURCES = seccomp_get_action_avail.c seccomp_get_action_avail_OBJECTS = seccomp_get_action_avail.$(OBJEXT) seccomp_get_action_avail_LDADD = $(LDADD) -seccomp_get_action_avail_DEPENDENCIES = libtests.a +seccomp_get_action_avail_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_SOURCES = seccomp_get_notif_sizes.c +seccomp_get_notif_sizes_OBJECTS = seccomp_get_notif_sizes.$(OBJEXT) +seccomp_get_notif_sizes_LDADD = $(LDADD) +seccomp_get_notif_sizes_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_success_SOURCES = \ + seccomp_get_notif_sizes-success.c +seccomp_get_notif_sizes_success_OBJECTS = \ + seccomp_get_notif_sizes-success.$(OBJEXT) +seccomp_get_notif_sizes_success_LDADD = $(LDADD) +seccomp_get_notif_sizes_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +segv_accerr_SOURCES = segv_accerr.c +segv_accerr_OBJECTS = segv_accerr.$(OBJEXT) +segv_accerr_LDADD = $(LDADD) +segv_accerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +segv_pkuerr_SOURCES = segv_pkuerr.c +segv_pkuerr_OBJECTS = segv_pkuerr.$(OBJEXT) +segv_pkuerr_LDADD = $(LDADD) +segv_pkuerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_SOURCES = select.c select_OBJECTS = select.$(OBJEXT) select_LDADD = $(LDADD) -select_DEPENDENCIES = libtests.a +select_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_P_SOURCES = select-P.c select_P_OBJECTS = select-P.$(OBJEXT) select_P_LDADD = $(LDADD) -select_P_DEPENDENCIES = libtests.a +select_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_SOURCES = semop.c semop_OBJECTS = semop.$(OBJEXT) semop_LDADD = $(LDADD) -semop_DEPENDENCIES = libtests.a +semop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_indirect_SOURCES = semop-indirect.c semop_indirect_OBJECTS = semop-indirect.$(OBJEXT) semop_indirect_LDADD = $(LDADD) -semop_indirect_DEPENDENCIES = libtests.a +semop_indirect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_SOURCES = semtimedop.c semtimedop_OBJECTS = semtimedop.$(OBJEXT) semtimedop_LDADD = $(LDADD) -semtimedop_DEPENDENCIES = libtests.a +semtimedop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_ipc_SOURCES = semtimedop-ipc.c semtimedop_ipc_OBJECTS = semtimedop-ipc.$(OBJEXT) semtimedop_ipc_LDADD = $(LDADD) -semtimedop_ipc_DEPENDENCIES = libtests.a +semtimedop_ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_time64_SOURCES = semtimedop_time64.c semtimedop_time64_OBJECTS = semtimedop_time64.$(OBJEXT) semtimedop_time64_LDADD = $(LDADD) -semtimedop_time64_DEPENDENCIES = libtests.a +semtimedop_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile_SOURCES = sendfile.c sendfile_OBJECTS = sendfile.$(OBJEXT) sendfile_LDADD = $(LDADD) -sendfile_DEPENDENCIES = libtests.a +sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile64_SOURCES = sendfile64.c sendfile64_OBJECTS = sendfile64.$(OBJEXT) sendfile64_LDADD = $(LDADD) -sendfile64_DEPENDENCIES = libtests.a +sendfile64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_SOURCES = set_mempolicy.c set_mempolicy_OBJECTS = set_mempolicy.$(OBJEXT) set_mempolicy_LDADD = $(LDADD) -set_mempolicy_DEPENDENCIES = libtests.a +set_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xabbrev_SOURCES = set_mempolicy-Xabbrev.c set_mempolicy_Xabbrev_OBJECTS = set_mempolicy-Xabbrev.$(OBJEXT) set_mempolicy_Xabbrev_LDADD = $(LDADD) -set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a +set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xraw_SOURCES = set_mempolicy-Xraw.c set_mempolicy_Xraw_OBJECTS = set_mempolicy-Xraw.$(OBJEXT) set_mempolicy_Xraw_LDADD = $(LDADD) -set_mempolicy_Xraw_DEPENDENCIES = libtests.a +set_mempolicy_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xverbose_SOURCES = set_mempolicy-Xverbose.c set_mempolicy_Xverbose_OBJECTS = set_mempolicy-Xverbose.$(OBJEXT) set_mempolicy_Xverbose_LDADD = $(LDADD) -set_mempolicy_Xverbose_DEPENDENCIES = libtests.a +set_mempolicy_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +set_mempolicy_home_node_SOURCES = set_mempolicy_home_node.c +set_mempolicy_home_node_OBJECTS = set_mempolicy_home_node.$(OBJEXT) +set_mempolicy_home_node_LDADD = $(LDADD) +set_mempolicy_home_node_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) set_ptracer_any_SOURCES = set_ptracer_any.c set_ptracer_any_OBJECTS = set_ptracer_any.$(OBJEXT) set_ptracer_any_LDADD = $(LDADD) -set_ptracer_any_DEPENDENCIES = libtests.a +set_ptracer_any_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigblock_SOURCES = set_sigblock.c set_sigblock_OBJECTS = set_sigblock.$(OBJEXT) set_sigblock_LDADD = $(LDADD) -set_sigblock_DEPENDENCIES = libtests.a +set_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigign_SOURCES = set_sigign.c set_sigign_OBJECTS = set_sigign.$(OBJEXT) set_sigign_LDADD = $(LDADD) -set_sigign_DEPENDENCIES = libtests.a +set_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setdomainname_SOURCES = setdomainname.c setdomainname_OBJECTS = setdomainname.$(OBJEXT) setdomainname_LDADD = $(LDADD) -setdomainname_DEPENDENCIES = libtests.a +setdomainname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid_SOURCES = setfsgid.c setfsgid_OBJECTS = setfsgid.$(OBJEXT) setfsgid_LDADD = $(LDADD) -setfsgid_DEPENDENCIES = libtests.a +setfsgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid32_SOURCES = setfsgid32.c setfsgid32_OBJECTS = setfsgid32.$(OBJEXT) setfsgid32_LDADD = $(LDADD) -setfsgid32_DEPENDENCIES = libtests.a +setfsgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid_SOURCES = setfsuid.c setfsuid_OBJECTS = setfsuid.$(OBJEXT) setfsuid_LDADD = $(LDADD) -setfsuid_DEPENDENCIES = libtests.a +setfsuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid32_SOURCES = setfsuid32.c setfsuid32_OBJECTS = setfsuid32.$(OBJEXT) setfsuid32_LDADD = $(LDADD) -setfsuid32_DEPENDENCIES = libtests.a +setfsuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid_SOURCES = setgid.c setgid_OBJECTS = setgid.$(OBJEXT) setgid_LDADD = $(LDADD) -setgid_DEPENDENCIES = libtests.a +setgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid32_SOURCES = setgid32.c setgid32_OBJECTS = setgid32.$(OBJEXT) setgid32_LDADD = $(LDADD) -setgid32_DEPENDENCIES = libtests.a +setgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups_SOURCES = setgroups.c setgroups_OBJECTS = setgroups.$(OBJEXT) setgroups_LDADD = $(LDADD) -setgroups_DEPENDENCIES = libtests.a +setgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups32_SOURCES = setgroups32.c setgroups32_OBJECTS = setgroups32.$(OBJEXT) setgroups32_LDADD = $(LDADD) -setgroups32_DEPENDENCIES = libtests.a +setgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sethostname_SOURCES = sethostname.c sethostname_OBJECTS = sethostname.$(OBJEXT) sethostname_LDADD = $(LDADD) -sethostname_DEPENDENCIES = libtests.a +sethostname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setns_SOURCES = setns.c setns_OBJECTS = setns.$(OBJEXT) setns_LDADD = $(LDADD) -setns_DEPENDENCIES = libtests.a +setns_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setpgrp_exec_SOURCES = setpgrp-exec.c setpgrp_exec_OBJECTS = setpgrp-exec.$(OBJEXT) setpgrp_exec_LDADD = $(LDADD) -setpgrp_exec_DEPENDENCIES = libtests.a +setpgrp_exec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid_SOURCES = setregid.c setregid_OBJECTS = setregid.$(OBJEXT) setregid_LDADD = $(LDADD) -setregid_DEPENDENCIES = libtests.a +setregid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid32_SOURCES = setregid32.c setregid32_OBJECTS = setregid32.$(OBJEXT) setregid32_LDADD = $(LDADD) -setregid32_DEPENDENCIES = libtests.a +setregid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid_SOURCES = setresgid.c setresgid_OBJECTS = setresgid.$(OBJEXT) setresgid_LDADD = $(LDADD) -setresgid_DEPENDENCIES = libtests.a +setresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid32_SOURCES = setresgid32.c setresgid32_OBJECTS = setresgid32.$(OBJEXT) setresgid32_LDADD = $(LDADD) -setresgid32_DEPENDENCIES = libtests.a +setresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid_SOURCES = setresuid.c setresuid_OBJECTS = setresuid.$(OBJEXT) setresuid_LDADD = $(LDADD) -setresuid_DEPENDENCIES = libtests.a +setresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid32_SOURCES = setresuid32.c setresuid32_OBJECTS = setresuid32.$(OBJEXT) setresuid32_LDADD = $(LDADD) -setresuid32_DEPENDENCIES = libtests.a +setresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid_SOURCES = setreuid.c setreuid_OBJECTS = setreuid.$(OBJEXT) setreuid_LDADD = $(LDADD) -setreuid_DEPENDENCIES = libtests.a +setreuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid32_SOURCES = setreuid32.c setreuid32_OBJECTS = setreuid32.$(OBJEXT) setreuid32_LDADD = $(LDADD) -setreuid32_DEPENDENCIES = libtests.a +setreuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_SOURCES = setrlimit.c setrlimit_OBJECTS = setrlimit.$(OBJEXT) setrlimit_LDADD = $(LDADD) -setrlimit_DEPENDENCIES = libtests.a +setrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xabbrev_SOURCES = setrlimit-Xabbrev.c setrlimit_Xabbrev_OBJECTS = setrlimit-Xabbrev.$(OBJEXT) setrlimit_Xabbrev_LDADD = $(LDADD) -setrlimit_Xabbrev_DEPENDENCIES = libtests.a +setrlimit_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xraw_SOURCES = setrlimit-Xraw.c setrlimit_Xraw_OBJECTS = setrlimit-Xraw.$(OBJEXT) setrlimit_Xraw_LDADD = $(LDADD) -setrlimit_Xraw_DEPENDENCIES = libtests.a +setrlimit_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xverbose_SOURCES = setrlimit-Xverbose.c setrlimit_Xverbose_OBJECTS = setrlimit-Xverbose.$(OBJEXT) setrlimit_Xverbose_LDADD = $(LDADD) -setrlimit_Xverbose_DEPENDENCIES = libtests.a +setrlimit_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid_SOURCES = setuid.c setuid_OBJECTS = setuid.$(OBJEXT) setuid_LDADD = $(LDADD) -setuid_DEPENDENCIES = libtests.a +setuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid32_SOURCES = setuid32.c setuid32_OBJECTS = setuid32.$(OBJEXT) setuid32_LDADD = $(LDADD) -setuid32_DEPENDENCIES = libtests.a +setuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shmxt_SOURCES = shmxt.c shmxt_OBJECTS = shmxt.$(OBJEXT) shmxt_LDADD = $(LDADD) -shmxt_DEPENDENCIES = libtests.a +shmxt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shutdown_SOURCES = shutdown.c shutdown_OBJECTS = shutdown.$(OBJEXT) shutdown_LDADD = $(LDADD) -shutdown_DEPENDENCIES = libtests.a +shutdown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaction_SOURCES = sigaction.c sigaction_OBJECTS = sigaction.$(OBJEXT) sigaction_LDADD = $(LDADD) -sigaction_DEPENDENCIES = libtests.a +sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaltstack_SOURCES = sigaltstack.c sigaltstack_OBJECTS = sigaltstack.$(OBJEXT) sigaltstack_LDADD = $(LDADD) -sigaltstack_DEPENDENCIES = libtests.a +sigaltstack_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) siginfo_SOURCES = siginfo.c siginfo_OBJECTS = siginfo.$(OBJEXT) siginfo_LDADD = $(LDADD) -siginfo_DEPENDENCIES = libtests.a +siginfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_SOURCES = signal.c signal_OBJECTS = signal.$(OBJEXT) signal_LDADD = $(LDADD) -signal_DEPENDENCIES = libtests.a +signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive_SOURCES = signal_receive.c signal_receive_OBJECTS = signal_receive.$(OBJEXT) signal_receive_LDADD = $(LDADD) -signal_receive_DEPENDENCIES = libtests.a +signal_receive_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive__pidns_translation_SOURCES = \ signal_receive--pidns-translation.c signal_receive__pidns_translation_OBJECTS = \ signal_receive--pidns-translation.$(OBJEXT) signal_receive__pidns_translation_LDADD = $(LDADD) -signal_receive__pidns_translation_DEPENDENCIES = libtests.a +signal_receive__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) signalfd4_SOURCES = signalfd4.c signalfd4_OBJECTS = signalfd4.$(OBJEXT) signalfd4_LDADD = $(LDADD) -signalfd4_DEPENDENCIES = libtests.a +signalfd4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigpending_SOURCES = sigpending.c sigpending_OBJECTS = sigpending.$(OBJEXT) sigpending_LDADD = $(LDADD) -sigpending_DEPENDENCIES = libtests.a +sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigprocmask_SOURCES = sigprocmask.c sigprocmask_OBJECTS = sigprocmask.$(OBJEXT) sigprocmask_LDADD = $(LDADD) -sigprocmask_DEPENDENCIES = libtests.a +sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigreturn_SOURCES = sigreturn.c sigreturn_OBJECTS = sigreturn.$(OBJEXT) sigreturn_LDADD = $(LDADD) -sigreturn_DEPENDENCIES = libtests.a +sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigsuspend_SOURCES = sigsuspend.c sigsuspend_OBJECTS = sigsuspend.$(OBJEXT) sigsuspend_LDADD = $(LDADD) -sigsuspend_DEPENDENCIES = libtests.a +sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sleep_SOURCES = sleep.c sleep_OBJECTS = sleep.$(OBJEXT) sleep_LDADD = $(LDADD) -sleep_DEPENDENCIES = libtests.a +sleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_error_SOURCES = so_error.c so_error_OBJECTS = so_error.$(OBJEXT) so_error_LDADD = $(LDADD) -so_error_DEPENDENCIES = libtests.a +so_error_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_linger_SOURCES = so_linger.c so_linger_OBJECTS = so_linger.$(OBJEXT) so_linger_LDADD = $(LDADD) -so_linger_DEPENDENCIES = libtests.a +so_linger_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_SOURCES = so_peercred.c so_peercred_OBJECTS = so_peercred.$(OBJEXT) so_peercred_LDADD = $(LDADD) -so_peercred_DEPENDENCIES = libtests.a +so_peercred_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred__pidns_translation_SOURCES = \ so_peercred--pidns-translation.c so_peercred__pidns_translation_OBJECTS = \ so_peercred--pidns-translation.$(OBJEXT) so_peercred__pidns_translation_LDADD = $(LDADD) -so_peercred__pidns_translation_DEPENDENCIES = libtests.a +so_peercred__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) so_peercred_Xabbrev_SOURCES = so_peercred-Xabbrev.c so_peercred_Xabbrev_OBJECTS = so_peercred-Xabbrev.$(OBJEXT) so_peercred_Xabbrev_LDADD = $(LDADD) -so_peercred_Xabbrev_DEPENDENCIES = libtests.a +so_peercred_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xraw_SOURCES = so_peercred-Xraw.c so_peercred_Xraw_OBJECTS = so_peercred-Xraw.$(OBJEXT) so_peercred_Xraw_LDADD = $(LDADD) -so_peercred_Xraw_DEPENDENCIES = libtests.a +so_peercred_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xverbose_SOURCES = so_peercred-Xverbose.c so_peercred_Xverbose_OBJECTS = so_peercred-Xverbose.$(OBJEXT) so_peercred_Xverbose_LDADD = $(LDADD) -so_peercred_Xverbose_DEPENDENCIES = libtests.a +so_peercred_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_SOURCES = sock_filter-v.c sock_filter_v_OBJECTS = sock_filter-v.$(OBJEXT) sock_filter_v_LDADD = $(LDADD) -sock_filter_v_DEPENDENCIES = libtests.a +sock_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xabbrev_SOURCES = sock_filter-v-Xabbrev.c sock_filter_v_Xabbrev_OBJECTS = sock_filter-v-Xabbrev.$(OBJEXT) sock_filter_v_Xabbrev_LDADD = $(LDADD) -sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a +sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xraw_SOURCES = sock_filter-v-Xraw.c sock_filter_v_Xraw_OBJECTS = sock_filter-v-Xraw.$(OBJEXT) sock_filter_v_Xraw_LDADD = $(LDADD) -sock_filter_v_Xraw_DEPENDENCIES = libtests.a +sock_filter_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xverbose_SOURCES = sock_filter-v-Xverbose.c sock_filter_v_Xverbose_OBJECTS = sock_filter-v-Xverbose.$(OBJEXT) sock_filter_v_Xverbose_LDADD = $(LDADD) -sock_filter_v_Xverbose_DEPENDENCIES = libtests.a +sock_filter_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xabbrev_SOURCES = sockaddr_xlat-Xabbrev.c sockaddr_xlat_Xabbrev_OBJECTS = sockaddr_xlat-Xabbrev.$(OBJEXT) sockaddr_xlat_Xabbrev_LDADD = $(LDADD) -sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a +sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xabbrev_y_SOURCES = sockaddr_xlat-Xabbrev-y.c +sockaddr_xlat_Xabbrev_y_OBJECTS = sockaddr_xlat-Xabbrev-y.$(OBJEXT) +sockaddr_xlat_Xabbrev_y_LDADD = $(LDADD) +sockaddr_xlat_Xabbrev_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockaddr_xlat_Xraw_SOURCES = sockaddr_xlat-Xraw.c sockaddr_xlat_Xraw_OBJECTS = sockaddr_xlat-Xraw.$(OBJEXT) sockaddr_xlat_Xraw_LDADD = $(LDADD) -sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a +sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xraw_y_SOURCES = sockaddr_xlat-Xraw-y.c +sockaddr_xlat_Xraw_y_OBJECTS = sockaddr_xlat-Xraw-y.$(OBJEXT) +sockaddr_xlat_Xraw_y_LDADD = $(LDADD) +sockaddr_xlat_Xraw_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xverbose_SOURCES = sockaddr_xlat-Xverbose.c sockaddr_xlat_Xverbose_OBJECTS = sockaddr_xlat-Xverbose.$(OBJEXT) sockaddr_xlat_Xverbose_LDADD = $(LDADD) -sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a +sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xverbose_y_SOURCES = sockaddr_xlat-Xverbose-y.c +sockaddr_xlat_Xverbose_y_OBJECTS = sockaddr_xlat-Xverbose-y.$(OBJEXT) +sockaddr_xlat_Xverbose_y_LDADD = $(LDADD) +sockaddr_xlat_Xverbose_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) socketcall_SOURCES = socketcall.c socketcall_OBJECTS = socketcall.$(OBJEXT) socketcall_LDADD = $(LDADD) -socketcall_DEPENDENCIES = libtests.a +socketcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockopt_sol_netlink_SOURCES = sockopt-sol_netlink.c sockopt_sol_netlink_OBJECTS = sockopt-sol_netlink.$(OBJEXT) sockopt_sol_netlink_LDADD = $(LDADD) -sockopt_sol_netlink_DEPENDENCIES = libtests.a +sockopt_sol_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_SOURCES = sockopt-sol_socket.c +sockopt_sol_socket_OBJECTS = sockopt-sol_socket.$(OBJEXT) +sockopt_sol_socket_LDADD = $(LDADD) +sockopt_sol_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xabbrev_SOURCES = sockopt-sol_socket-Xabbrev.c +sockopt_sol_socket_Xabbrev_OBJECTS = \ + sockopt-sol_socket-Xabbrev.$(OBJEXT) +sockopt_sol_socket_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xraw_SOURCES = sockopt-sol_socket-Xraw.c +sockopt_sol_socket_Xraw_OBJECTS = sockopt-sol_socket-Xraw.$(OBJEXT) +sockopt_sol_socket_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xverbose_SOURCES = sockopt-sol_socket-Xverbose.c +sockopt_sol_socket_Xverbose_OBJECTS = \ + sockopt-sol_socket-Xverbose.$(OBJEXT) +sockopt_sol_socket_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_SOURCES = sockopt-sol_socket-success.c +sockopt_sol_socket_success_OBJECTS = \ + sockopt-sol_socket-success.$(OBJEXT) +sockopt_sol_socket_success_LDADD = $(LDADD) +sockopt_sol_socket_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xabbrev_SOURCES = \ + sockopt-sol_socket-success-Xabbrev.c +sockopt_sol_socket_success_Xabbrev_OBJECTS = \ + sockopt-sol_socket-success-Xabbrev.$(OBJEXT) +sockopt_sol_socket_success_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xraw_SOURCES = \ + sockopt-sol_socket-success-Xraw.c +sockopt_sol_socket_success_Xraw_OBJECTS = \ + sockopt-sol_socket-success-Xraw.$(OBJEXT) +sockopt_sol_socket_success_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xverbose_SOURCES = \ + sockopt-sol_socket-success-Xverbose.c +sockopt_sol_socket_success_Xverbose_OBJECTS = \ + sockopt-sol_socket-success-Xverbose.$(OBJEXT) +sockopt_sol_socket_success_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockopt_timestamp_SOURCES = sockopt-timestamp.c sockopt_timestamp_OBJECTS = sockopt-timestamp.$(OBJEXT) sockopt_timestamp_LDADD = $(LDADD) -sockopt_timestamp_DEPENDENCIES = libtests.a +sockopt_timestamp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) splice_SOURCES = splice.c splice_OBJECTS = splice.$(OBJEXT) splice_LDADD = $(LDADD) -splice_DEPENDENCIES = libtests.a +splice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_OBJECTS = stack-fcall.$(OBJEXT) stack-fcall-0.$(OBJEXT) \ stack-fcall-1.$(OBJEXT) stack-fcall-2.$(OBJEXT) \ stack-fcall-3.$(OBJEXT) stack_fcall_OBJECTS = $(am_stack_fcall_OBJECTS) stack_fcall_LDADD = $(LDADD) -stack_fcall_DEPENDENCIES = libtests.a +stack_fcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_attach_OBJECTS = stack-fcall-attach.$(OBJEXT) \ stack-fcall-0.$(OBJEXT) stack-fcall-1.$(OBJEXT) \ stack-fcall-2.$(OBJEXT) stack-fcall-3.$(OBJEXT) stack_fcall_attach_OBJECTS = $(am_stack_fcall_attach_OBJECTS) stack_fcall_attach_LDADD = $(LDADD) -stack_fcall_attach_DEPENDENCIES = libtests.a +stack_fcall_attach_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_mangled_OBJECTS = stack-fcall-mangled.$(OBJEXT) \ stack-fcall-mangled-0.$(OBJEXT) \ stack-fcall-mangled-1.$(OBJEXT) \ @@ -4363,419 +5483,486 @@ stack-fcall-mangled-3.$(OBJEXT) stack_fcall_mangled_OBJECTS = $(am_stack_fcall_mangled_OBJECTS) stack_fcall_mangled_LDADD = $(LDADD) -stack_fcall_mangled_DEPENDENCIES = libtests.a +stack_fcall_mangled_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat_SOURCES = stat.c stat_OBJECTS = stat.$(OBJEXT) stat_LDADD = $(LDADD) -stat_DEPENDENCIES = libtests.a +stat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat64_SOURCES = stat64.c stat64_OBJECTS = stat64-stat64.$(OBJEXT) stat64_LDADD = $(LDADD) -stat64_DEPENDENCIES = libtests.a +stat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs_SOURCES = statfs.c statfs_OBJECTS = statfs-statfs.$(OBJEXT) statfs_LDADD = $(LDADD) -statfs_DEPENDENCIES = libtests.a +statfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs64_SOURCES = statfs64.c statfs64_OBJECTS = statfs64.$(OBJEXT) statfs64_LDADD = $(LDADD) -statfs64_DEPENDENCIES = libtests.a +statfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_all_SOURCES = status-all.c status_all_OBJECTS = status-all.$(OBJEXT) status_all_LDADD = $(LDADD) -status_all_DEPENDENCIES = libtests.a +status_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_SOURCES = status-failed.c status_failed_OBJECTS = status-failed.$(OBJEXT) status_failed_LDADD = $(LDADD) -status_failed_DEPENDENCIES = libtests.a +status_failed_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_long_SOURCES = status-failed-long.c status_failed_long_OBJECTS = status-failed-long.$(OBJEXT) status_failed_long_LDADD = $(LDADD) -status_failed_long_DEPENDENCIES = libtests.a +status_failed_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_status_SOURCES = status-failed-status.c status_failed_status_OBJECTS = status-failed-status.$(OBJEXT) status_failed_status_LDADD = $(LDADD) -status_failed_status_DEPENDENCIES = libtests.a +status_failed_status_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_SOURCES = status-none.c status_none_OBJECTS = status-none.$(OBJEXT) status_none_LDADD = $(LDADD) -status_none_DEPENDENCIES = libtests.a +status_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_f_SOURCES = status-none-f.c status_none_f_OBJECTS = status-none-f.$(OBJEXT) status_none_f_LDADD = $(LDADD) -status_none_f_DEPENDENCIES = libtests.a +status_none_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_threads_SOURCES = status-none-threads.c status_none_threads_OBJECTS = status-none-threads.$(OBJEXT) -status_none_threads_DEPENDENCIES = $(LDADD) +status_none_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) status_successful_SOURCES = status-successful.c status_successful_OBJECTS = status-successful.$(OBJEXT) status_successful_LDADD = $(LDADD) -status_successful_DEPENDENCIES = libtests.a +status_successful_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_long_SOURCES = status-successful-long.c status_successful_long_OBJECTS = status-successful-long.$(OBJEXT) status_successful_long_LDADD = $(LDADD) -status_successful_long_DEPENDENCIES = libtests.a +status_successful_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_status_SOURCES = status-successful-status.c status_successful_status_OBJECTS = status-successful-status.$(OBJEXT) status_successful_status_LDADD = $(LDADD) -status_successful_status_DEPENDENCIES = libtests.a +status_successful_status_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) status_unfinished_SOURCES = status-unfinished.c status_unfinished_OBJECTS = status-unfinished.$(OBJEXT) status_unfinished_LDADD = $(LDADD) -status_unfinished_DEPENDENCIES = libtests.a +status_unfinished_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_unfinished_threads_SOURCES = status-unfinished-threads.c status_unfinished_threads_OBJECTS = \ status-unfinished-threads.$(OBJEXT) -status_unfinished_threads_DEPENDENCIES = $(LDADD) +status_unfinished_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) statx_SOURCES = statx.c statx_OBJECTS = statx.$(OBJEXT) statx_LDADD = $(LDADD) -statx_DEPENDENCIES = libtests.a +statx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace__decode_pids_comm_SOURCES = strace--decode-pids-comm.c +strace__decode_pids_comm_OBJECTS = strace--decode-pids-comm.$(OBJEXT) +strace__decode_pids_comm_LDADD = $(LDADD) +strace__decode_pids_comm_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_SOURCES = strace--strings-in-hex.c strace__strings_in_hex_OBJECTS = strace--strings-in-hex.$(OBJEXT) strace__strings_in_hex_LDADD = $(LDADD) -strace__strings_in_hex_DEPENDENCIES = libtests.a +strace__strings_in_hex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace__strings_in_hex_all_SOURCES = strace--strings-in-hex-all.c strace__strings_in_hex_all_OBJECTS = \ strace--strings-in-hex-all.$(OBJEXT) strace__strings_in_hex_all_LDADD = $(LDADD) -strace__strings_in_hex_all_DEPENDENCIES = libtests.a +strace__strings_in_hex_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_non_ascii_SOURCES = \ strace--strings-in-hex-non-ascii.c strace__strings_in_hex_non_ascii_OBJECTS = \ strace--strings-in-hex-non-ascii.$(OBJEXT) strace__strings_in_hex_non_ascii_LDADD = $(LDADD) -strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a +strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_non_ascii_chars_SOURCES = \ + strace--strings-in-hex-non-ascii-chars.c +strace__strings_in_hex_non_ascii_chars_OBJECTS = \ + strace--strings-in-hex-non-ascii-chars.$(OBJEXT) +strace__strings_in_hex_non_ascii_chars_LDADD = $(LDADD) +strace__strings_in_hex_non_ascii_chars_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_none_SOURCES = strace--strings-in-hex-none.c +strace__strings_in_hex_none_OBJECTS = \ + strace--strings-in-hex-none.$(OBJEXT) +strace__strings_in_hex_none_LDADD = $(LDADD) +strace__strings_in_hex_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace_Y_0123456789_SOURCES = strace-Y-0123456789.c +strace_Y_0123456789_OBJECTS = strace-Y-0123456789.$(OBJEXT) +strace_Y_0123456789_LDADD = $(LDADD) +strace_Y_0123456789_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_n_SOURCES = strace-n.c strace_n_OBJECTS = strace-n.$(OBJEXT) strace_n_LDADD = $(LDADD) -strace_n_DEPENDENCIES = libtests.a +strace_n_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_no_x_SOURCES = strace-no-x.c +strace_no_x_OBJECTS = strace-no-x.$(OBJEXT) +strace_no_x_LDADD = $(LDADD) +strace_no_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p_Y_p2_SOURCES = strace-p-Y-p2.c +strace_p_Y_p2_OBJECTS = strace-p-Y-p2.$(OBJEXT) +strace_p_Y_p2_LDADD = $(LDADD) +strace_p_Y_p2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p1_Y_p_SOURCES = strace-p1-Y-p.c +strace_p1_Y_p_OBJECTS = strace-p1-Y-p.$(OBJEXT) +strace_p1_Y_p_LDADD = $(LDADD) +strace_p1_Y_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_x_SOURCES = strace-x.c strace_x_OBJECTS = strace-x.$(OBJEXT) strace_x_LDADD = $(LDADD) -strace_x_DEPENDENCIES = libtests.a +strace_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_xx_SOURCES = strace-xx.c strace_xx_OBJECTS = strace-xx.$(OBJEXT) strace_xx_LDADD = $(LDADD) -strace_xx_DEPENDENCIES = libtests.a +strace_xx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) swap_SOURCES = swap.c swap_OBJECTS = swap.$(OBJEXT) swap_LDADD = $(LDADD) -swap_DEPENDENCIES = libtests.a +swap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sxetmask_SOURCES = sxetmask.c sxetmask_OBJECTS = sxetmask.$(OBJEXT) sxetmask_LDADD = $(LDADD) -sxetmask_DEPENDENCIES = libtests.a +sxetmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlink_SOURCES = symlink.c symlink_OBJECTS = symlink.$(OBJEXT) symlink_LDADD = $(LDADD) -symlink_DEPENDENCIES = libtests.a +symlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlinkat_SOURCES = symlinkat.c symlinkat_OBJECTS = symlinkat.$(OBJEXT) symlinkat_LDADD = $(LDADD) -symlinkat_DEPENDENCIES = libtests.a +symlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_SOURCES = sync.c sync_OBJECTS = sync.$(OBJEXT) sync_LDADD = $(LDADD) -sync_DEPENDENCIES = libtests.a +sync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range_SOURCES = sync_file_range.c sync_file_range_OBJECTS = sync_file_range.$(OBJEXT) sync_file_range_LDADD = $(LDADD) -sync_file_range_DEPENDENCIES = libtests.a +sync_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range2_SOURCES = sync_file_range2.c sync_file_range2_OBJECTS = sync_file_range2.$(OBJEXT) sync_file_range2_LDADD = $(LDADD) -sync_file_range2_DEPENDENCIES = libtests.a +sync_file_range2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sysctl_SOURCES = sysctl.c +sysctl_OBJECTS = sysctl.$(OBJEXT) +sysctl_LDADD = $(LDADD) +sysctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sysinfo_SOURCES = sysinfo.c sysinfo_OBJECTS = sysinfo.$(OBJEXT) sysinfo_LDADD = $(LDADD) -sysinfo_DEPENDENCIES = libtests.a +sysinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_SOURCES = syslog.c syslog_OBJECTS = syslog.$(OBJEXT) syslog_LDADD = $(LDADD) -syslog_DEPENDENCIES = libtests.a +syslog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_success_SOURCES = syslog-success.c syslog_success_OBJECTS = syslog-success.$(OBJEXT) syslog_success_LDADD = $(LDADD) -syslog_success_DEPENDENCIES = libtests.a +syslog_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tampering_notes_SOURCES = tampering-notes.c tampering_notes_OBJECTS = tampering-notes.$(OBJEXT) tampering_notes_LDADD = $(LDADD) -tampering_notes_DEPENDENCIES = libtests.a +tampering_notes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tee_SOURCES = tee.c tee_OBJECTS = tee.$(OBJEXT) tee_LDADD = $(LDADD) -tee_DEPENDENCIES = libtests.a +tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill_SOURCES = tgkill.c tgkill_OBJECTS = tgkill.$(OBJEXT) tgkill_LDADD = $(LDADD) -tgkill_DEPENDENCIES = libtests.a +tgkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill__pidns_translation_SOURCES = tgkill--pidns-translation.c tgkill__pidns_translation_OBJECTS = \ tgkill--pidns-translation.$(OBJEXT) tgkill__pidns_translation_LDADD = $(LDADD) -tgkill__pidns_translation_DEPENDENCIES = libtests.a +tgkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) threads_execve_SOURCES = threads-execve.c threads_execve_OBJECTS = threads-execve.$(OBJEXT) -threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve__quiet_thread_execve_SOURCES = \ threads-execve--quiet-thread-execve.c threads_execve__quiet_thread_execve_OBJECTS = \ threads-execve--quiet-thread-execve.$(OBJEXT) threads_execve__quiet_thread_execve_DEPENDENCIES = \ - $(am__DEPENDENCIES_1) $(LDADD) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) threads_execve_q_SOURCES = threads-execve-q.c threads_execve_q_OBJECTS = threads-execve-q.$(OBJEXT) -threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qq_SOURCES = threads-execve-qq.c threads_execve_qq_OBJECTS = threads-execve-qq.$(OBJEXT) -threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qqq_SOURCES = threads-execve-qqq.c threads_execve_qqq_OBJECTS = threads-execve-qqq.$(OBJEXT) -threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) time_SOURCES = time.c time_OBJECTS = time.$(OBJEXT) time_LDADD = $(LDADD) -time_DEPENDENCIES = libtests.a +time_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_create_SOURCES = timer_create.c timer_create_OBJECTS = timer_create.$(OBJEXT) timer_create_LDADD = $(LDADD) -timer_create_DEPENDENCIES = libtests.a +timer_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_xettime_SOURCES = timer_xettime.c timer_xettime_OBJECTS = timer_xettime.$(OBJEXT) timer_xettime_LDADD = $(LDADD) -timer_xettime_DEPENDENCIES = libtests.a +timer_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timerfd_xettime_SOURCES = timerfd_xettime.c timerfd_xettime_OBJECTS = timerfd_xettime.$(OBJEXT) timerfd_xettime_LDADD = $(LDADD) -timerfd_xettime_DEPENDENCIES = libtests.a +timerfd_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) times_SOURCES = times.c times_OBJECTS = times.$(OBJEXT) -times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xabbrev_SOURCES = times-Xabbrev.c +times_Xabbrev_OBJECTS = times-Xabbrev.$(OBJEXT) +times_Xabbrev_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) +times_Xraw_SOURCES = times-Xraw.c +times_Xraw_OBJECTS = times-Xraw.$(OBJEXT) +times_Xraw_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xverbose_SOURCES = times-Xverbose.c +times_Xverbose_OBJECTS = times-Xverbose.$(OBJEXT) +times_Xverbose_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) times_fail_SOURCES = times-fail.c times_fail_OBJECTS = times-fail.$(OBJEXT) times_fail_LDADD = $(LDADD) -times_fail_DEPENDENCIES = libtests.a +times_fail_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill_SOURCES = tkill.c tkill_OBJECTS = tkill.$(OBJEXT) tkill_LDADD = $(LDADD) -tkill_DEPENDENCIES = libtests.a +tkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill__pidns_translation_SOURCES = tkill--pidns-translation.c tkill__pidns_translation_OBJECTS = tkill--pidns-translation.$(OBJEXT) tkill__pidns_translation_LDADD = $(LDADD) -tkill__pidns_translation_DEPENDENCIES = libtests.a +tkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) tracer_ppid_pgid_sid_SOURCES = tracer_ppid_pgid_sid.c tracer_ppid_pgid_sid_OBJECTS = tracer_ppid_pgid_sid.$(OBJEXT) tracer_ppid_pgid_sid_LDADD = $(LDADD) -tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a +tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_trie_test_OBJECTS = trie_test-trie_test.$(OBJEXT) \ trie_test-trie_for_tests.$(OBJEXT) trie_test_OBJECTS = $(am_trie_test_OBJECTS) -trie_test_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1) +trie_test_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) trie_test_LINK = $(CCLD) $(trie_test_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ truncate_SOURCES = truncate.c truncate_OBJECTS = truncate.$(OBJEXT) truncate_LDADD = $(LDADD) -truncate_DEPENDENCIES = libtests.a +truncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) truncate64_SOURCES = truncate64.c truncate64_OBJECTS = truncate64-truncate64.$(OBJEXT) truncate64_LDADD = $(LDADD) -truncate64_DEPENDENCIES = libtests.a +truncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ugetrlimit_SOURCES = ugetrlimit.c ugetrlimit_OBJECTS = ugetrlimit.$(OBJEXT) ugetrlimit_LDADD = $(LDADD) -ugetrlimit_DEPENDENCIES = libtests.a +ugetrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) uio_SOURCES = uio.c uio_OBJECTS = uio-uio.$(OBJEXT) uio_LDADD = $(LDADD) -uio_DEPENDENCIES = libtests.a +uio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umask_SOURCES = umask.c umask_OBJECTS = umask.$(OBJEXT) umask_LDADD = $(LDADD) -umask_DEPENDENCIES = libtests.a +umask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount_SOURCES = umount.c umount_OBJECTS = umount.$(OBJEXT) umount_LDADD = $(LDADD) -umount_DEPENDENCIES = libtests.a +umount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount2_SOURCES = umount2.c umount2_OBJECTS = umount2.$(OBJEXT) umount2_LDADD = $(LDADD) -umount2_DEPENDENCIES = libtests.a +umount2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umoven_illptr_SOURCES = umoven-illptr.c umoven_illptr_OBJECTS = umoven-illptr.$(OBJEXT) umoven_illptr_LDADD = $(LDADD) -umoven_illptr_DEPENDENCIES = libtests.a +umoven_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_SOURCES = umovestr.c umovestr_OBJECTS = umovestr.$(OBJEXT) umovestr_LDADD = $(LDADD) -umovestr_DEPENDENCIES = libtests.a +umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_illptr_SOURCES = umovestr-illptr.c umovestr_illptr_OBJECTS = umovestr-illptr.$(OBJEXT) umovestr_illptr_LDADD = $(LDADD) -umovestr_illptr_DEPENDENCIES = libtests.a +umovestr_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr2_SOURCES = umovestr2.c umovestr2_OBJECTS = umovestr2.$(OBJEXT) umovestr2_LDADD = $(LDADD) -umovestr2_DEPENDENCIES = libtests.a +umovestr2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr3_SOURCES = umovestr3.c umovestr3_OBJECTS = umovestr3.$(OBJEXT) umovestr3_LDADD = $(LDADD) -umovestr3_DEPENDENCIES = libtests.a +umovestr3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_SOURCES = umovestr_cached.c umovestr_cached_OBJECTS = umovestr_cached.$(OBJEXT) umovestr_cached_LDADD = $(LDADD) -umovestr_cached_DEPENDENCIES = libtests.a +umovestr_cached_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_adjacent_SOURCES = umovestr_cached_adjacent.c umovestr_cached_adjacent_OBJECTS = umovestr_cached_adjacent.$(OBJEXT) umovestr_cached_adjacent_LDADD = $(LDADD) -umovestr_cached_adjacent_DEPENDENCIES = libtests.a +umovestr_cached_adjacent_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) uname_SOURCES = uname.c uname_OBJECTS = uname.$(OBJEXT) uname_LDADD = $(LDADD) -uname_DEPENDENCIES = libtests.a +uname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unblock_reset_raise_SOURCES = unblock_reset_raise.c unblock_reset_raise_OBJECTS = unblock_reset_raise.$(OBJEXT) unblock_reset_raise_LDADD = $(LDADD) -unblock_reset_raise_DEPENDENCIES = libtests.a +unblock_reset_raise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_send_recv_SOURCES = unix-pair-send-recv.c unix_pair_send_recv_OBJECTS = unix-pair-send-recv.$(OBJEXT) unix_pair_send_recv_LDADD = $(LDADD) -unix_pair_send_recv_DEPENDENCIES = libtests.a +unix_pair_send_recv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_sendto_recvfrom_SOURCES = unix-pair-sendto-recvfrom.c unix_pair_sendto_recvfrom_OBJECTS = \ unix-pair-sendto-recvfrom.$(OBJEXT) unix_pair_sendto_recvfrom_LDADD = $(LDADD) -unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a +unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) unlink_SOURCES = unlink.c unlink_OBJECTS = unlink.$(OBJEXT) unlink_LDADD = $(LDADD) -unlink_DEPENDENCIES = libtests.a +unlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unlinkat_SOURCES = unlinkat.c unlinkat_OBJECTS = unlinkat.$(OBJEXT) unlinkat_LDADD = $(LDADD) -unlinkat_DEPENDENCIES = libtests.a +unlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unshare_SOURCES = unshare.c unshare_OBJECTS = unshare.$(OBJEXT) unshare_LDADD = $(LDADD) -unshare_DEPENDENCIES = libtests.a +unshare_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) userfaultfd_SOURCES = userfaultfd.c userfaultfd_OBJECTS = userfaultfd.$(OBJEXT) userfaultfd_LDADD = $(LDADD) -userfaultfd_DEPENDENCIES = libtests.a +userfaultfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ustat_SOURCES = ustat.c ustat_OBJECTS = ustat.$(OBJEXT) ustat_LDADD = $(LDADD) -ustat_DEPENDENCIES = libtests.a +ustat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utime_SOURCES = utime.c utime_OBJECTS = utime.$(OBJEXT) utime_LDADD = $(LDADD) -utime_DEPENDENCIES = libtests.a +utime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_SOURCES = utimensat.c utimensat_OBJECTS = utimensat.$(OBJEXT) utimensat_LDADD = $(LDADD) -utimensat_DEPENDENCIES = libtests.a +utimensat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xabbrev_SOURCES = utimensat-Xabbrev.c utimensat_Xabbrev_OBJECTS = utimensat-Xabbrev.$(OBJEXT) utimensat_Xabbrev_LDADD = $(LDADD) -utimensat_Xabbrev_DEPENDENCIES = libtests.a +utimensat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xraw_SOURCES = utimensat-Xraw.c utimensat_Xraw_OBJECTS = utimensat-Xraw.$(OBJEXT) utimensat_Xraw_LDADD = $(LDADD) -utimensat_Xraw_DEPENDENCIES = libtests.a +utimensat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xverbose_SOURCES = utimensat-Xverbose.c utimensat_Xverbose_OBJECTS = utimensat-Xverbose.$(OBJEXT) utimensat_Xverbose_LDADD = $(LDADD) -utimensat_Xverbose_DEPENDENCIES = libtests.a +utimensat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimes_SOURCES = utimes.c utimes_OBJECTS = utimes.$(OBJEXT) utimes_LDADD = $(LDADD) -utimes_DEPENDENCIES = libtests.a +utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vfork_f_SOURCES = vfork-f.c vfork_f_OBJECTS = vfork-f.$(OBJEXT) vfork_f_LDADD = $(LDADD) -vfork_f_DEPENDENCIES = libtests.a +vfork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vhangup_SOURCES = vhangup.c vhangup_OBJECTS = vhangup.$(OBJEXT) vhangup_LDADD = $(LDADD) -vhangup_DEPENDENCIES = libtests.a +vhangup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vmsplice_SOURCES = vmsplice.c vmsplice_OBJECTS = vmsplice.$(OBJEXT) vmsplice_LDADD = $(LDADD) -vmsplice_DEPENDENCIES = libtests.a +vmsplice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_SOURCES = wait4.c wait4_OBJECTS = wait4.$(OBJEXT) wait4_LDADD = $(LDADD) -wait4_DEPENDENCIES = libtests.a +wait4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_v_SOURCES = wait4-v.c wait4_v_OBJECTS = wait4-v.$(OBJEXT) wait4_v_LDADD = $(LDADD) -wait4_v_DEPENDENCIES = libtests.a +wait4_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_SOURCES = waitid.c waitid_OBJECTS = waitid.$(OBJEXT) waitid_LDADD = $(LDADD) -waitid_DEPENDENCIES = libtests.a +waitid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +waitid_Y_SOURCES = waitid-Y.c +waitid_Y_OBJECTS = waitid-Y.$(OBJEXT) +waitid_Y_LDADD = $(LDADD) +waitid_Y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_v_SOURCES = waitid-v.c waitid_v_OBJECTS = waitid-v.$(OBJEXT) waitid_v_LDADD = $(LDADD) -waitid_v_DEPENDENCIES = libtests.a +waitid_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitpid_SOURCES = waitpid.c waitpid_OBJECTS = waitpid.$(OBJEXT) waitpid_LDADD = $(LDADD) -waitpid_DEPENDENCIES = libtests.a +waitpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_SOURCES = xattr.c xattr_OBJECTS = xattr.$(OBJEXT) xattr_LDADD = $(LDADD) -xattr_DEPENDENCIES = libtests.a +xattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_strings_SOURCES = xattr-strings.c xattr_strings_OBJECTS = xattr-strings.$(OBJEXT) xattr_strings_LDADD = $(LDADD) -xattr_strings_DEPENDENCIES = libtests.a +xattr_strings_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list_SOURCES = xet_robust_list.c xet_robust_list_OBJECTS = xet_robust_list.$(OBJEXT) xet_robust_list_LDADD = $(LDADD) -xet_robust_list_DEPENDENCIES = libtests.a +xet_robust_list_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list__pidns_translation_SOURCES = \ xet_robust_list--pidns-translation.c xet_robust_list__pidns_translation_OBJECTS = \ xet_robust_list--pidns-translation.$(OBJEXT) xet_robust_list__pidns_translation_LDADD = $(LDADD) -xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a +xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xet_thread_area_x86_SOURCES = xet_thread_area_x86.c xet_thread_area_x86_OBJECTS = xet_thread_area_x86.$(OBJEXT) xet_thread_area_x86_LDADD = $(LDADD) -xet_thread_area_x86_DEPENDENCIES = libtests.a +xet_thread_area_x86_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetitimer_SOURCES = xetitimer.c xetitimer_OBJECTS = xetitimer.$(OBJEXT) xetitimer_LDADD = $(LDADD) -xetitimer_DEPENDENCIES = libtests.a +xetitimer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid_SOURCES = xetpgid.c xetpgid_OBJECTS = xetpgid.$(OBJEXT) xetpgid_LDADD = $(LDADD) -xetpgid_DEPENDENCIES = libtests.a +xetpgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid__pidns_translation_SOURCES = xetpgid--pidns-translation.c xetpgid__pidns_translation_OBJECTS = \ xetpgid--pidns-translation.$(OBJEXT) xetpgid__pidns_translation_LDADD = $(LDADD) -xetpgid__pidns_translation_DEPENDENCIES = libtests.a +xetpgid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xetpriority_SOURCES = xetpriority.c xetpriority_OBJECTS = xetpriority.$(OBJEXT) xetpriority_LDADD = $(LDADD) -xetpriority_DEPENDENCIES = libtests.a +xetpriority_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpriority__pidns_translation_SOURCES = \ xetpriority--pidns-translation.c xetpriority__pidns_translation_OBJECTS = \ xetpriority--pidns-translation.$(OBJEXT) xetpriority__pidns_translation_LDADD = $(LDADD) -xetpriority__pidns_translation_DEPENDENCIES = libtests.a +xetpriority__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xettimeofday_SOURCES = xettimeofday.c xettimeofday_OBJECTS = xettimeofday.$(OBJEXT) xettimeofday_LDADD = $(LDADD) -xettimeofday_DEPENDENCIES = libtests.a +xettimeofday_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) zeroargc_SOURCES = zeroargc.c zeroargc_OBJECTS = zeroargc.$(OBJEXT) zeroargc_LDADD = $(LDADD) -zeroargc_DEPENDENCIES = libtests.a +zeroargc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -4794,11 +5981,21 @@ am__depfiles_remade = ./$(DEPDIR)/_newselect-P.Po \ ./$(DEPDIR)/_newselect.Po ./$(DEPDIR)/accept.Po \ ./$(DEPDIR)/accept4.Po ./$(DEPDIR)/access--secontext.Po \ - ./$(DEPDIR)/access--secontext_full.Po ./$(DEPDIR)/access.Po \ - ./$(DEPDIR)/acct.Po ./$(DEPDIR)/add_key.Po \ - ./$(DEPDIR)/adjtimex.Po ./$(DEPDIR)/aio.Po \ - ./$(DEPDIR)/aio_pgetevents.Po ./$(DEPDIR)/alarm.Po \ - ./$(DEPDIR)/answer.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ + ./$(DEPDIR)/access--secontext_full.Po \ + ./$(DEPDIR)/access--secontext_full_mismatch.Po \ + ./$(DEPDIR)/access--secontext_mismatch.Po \ + ./$(DEPDIR)/access.Po ./$(DEPDIR)/acct.Po \ + ./$(DEPDIR)/add_key.Po ./$(DEPDIR)/adjtimex.Po \ + ./$(DEPDIR)/aio.Po ./$(DEPDIR)/aio_pgetevents.Po \ + ./$(DEPDIR)/alarm.Po ./$(DEPDIR)/answer.Po \ + ./$(DEPDIR)/arch_prctl-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-success-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-success-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success.Po ./$(DEPDIR)/arch_prctl.Po \ + ./$(DEPDIR)/at_fdcwd-pathmax.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ ./$(DEPDIR)/attach-f-p.Po ./$(DEPDIR)/attach-p-cmd-cmd.Po \ ./$(DEPDIR)/attach-p-cmd-p.Po \ ./$(DEPDIR)/block_reset_raise_run.Po \ @@ -4813,7 +6010,9 @@ ./$(DEPDIR)/caps-abbrev.Po ./$(DEPDIR)/caps.Po \ ./$(DEPDIR)/chdir.Po ./$(DEPDIR)/check_sigblock.Po \ ./$(DEPDIR)/check_sigign.Po ./$(DEPDIR)/chmod--secontext.Po \ - ./$(DEPDIR)/chmod--secontext_full.Po ./$(DEPDIR)/chmod.Po \ + ./$(DEPDIR)/chmod--secontext_full.Po \ + ./$(DEPDIR)/chmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/chmod--secontext_mismatch.Po ./$(DEPDIR)/chmod.Po \ ./$(DEPDIR)/chown.Po ./$(DEPDIR)/chown32.Po \ ./$(DEPDIR)/chroot.Po ./$(DEPDIR)/clock_adjtime.Po \ ./$(DEPDIR)/clock_adjtime64.Po ./$(DEPDIR)/clock_nanosleep.Po \ @@ -4834,7 +6033,9 @@ ./$(DEPDIR)/copy_file_range.Po ./$(DEPDIR)/count-f.Po \ ./$(DEPDIR)/creat.Po ./$(DEPDIR)/delay.Po \ ./$(DEPDIR)/delete_module.Po \ + ./$(DEPDIR)/dev--decode-fds-all.Po \ ./$(DEPDIR)/dev--decode-fds-dev.Po \ + ./$(DEPDIR)/dev--decode-fds-none.Po \ ./$(DEPDIR)/dev--decode-fds-path.Po \ ./$(DEPDIR)/dev--decode-fds-socket.Po ./$(DEPDIR)/dev-yy.Po \ ./$(DEPDIR)/dup-P.Po ./$(DEPDIR)/dup-y.Po \ @@ -4848,15 +6049,24 @@ ./$(DEPDIR)/epoll_pwait2-y.Po ./$(DEPDIR)/epoll_pwait2.Po \ ./$(DEPDIR)/epoll_wait.Po ./$(DEPDIR)/erestartsys.Po \ ./$(DEPDIR)/eventfd.Po ./$(DEPDIR)/execve--secontext.Po \ - ./$(DEPDIR)/execve--secontext_full.Po ./$(DEPDIR)/execve-v.Po \ - ./$(DEPDIR)/execve.Po ./$(DEPDIR)/execveat--secontext.Po \ + ./$(DEPDIR)/execve--secontext_full.Po \ + ./$(DEPDIR)/execve--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execve--secontext_mismatch.Po \ + ./$(DEPDIR)/execve-v.Po ./$(DEPDIR)/execve.Po \ + ./$(DEPDIR)/execveat--secontext.Po \ ./$(DEPDIR)/execveat--secontext_full.Po \ + ./$(DEPDIR)/execveat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execveat--secontext_mismatch.Po \ ./$(DEPDIR)/execveat-v.Po ./$(DEPDIR)/execveat.Po \ ./$(DEPDIR)/faccessat--secontext.Po \ ./$(DEPDIR)/faccessat--secontext_full.Po \ + ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-P.Po \ ./$(DEPDIR)/faccessat-y--secontext.Po \ ./$(DEPDIR)/faccessat-y--secontext_full.Po \ + ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-y.Po ./$(DEPDIR)/faccessat-yy.Po \ ./$(DEPDIR)/faccessat.Po ./$(DEPDIR)/faccessat2-P.Po \ ./$(DEPDIR)/faccessat2-y.Po ./$(DEPDIR)/faccessat2-yy.Po \ @@ -4865,26 +6075,38 @@ ./$(DEPDIR)/fanotify_init.Po \ ./$(DEPDIR)/fanotify_mark--secontext.Po \ ./$(DEPDIR)/fanotify_mark--secontext_full.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po \ ./$(DEPDIR)/fanotify_mark-Xabbrev.Po \ ./$(DEPDIR)/fanotify_mark-Xraw.Po \ ./$(DEPDIR)/fanotify_mark-Xverbose.Po \ ./$(DEPDIR)/fanotify_mark.Po ./$(DEPDIR)/fchdir.Po \ ./$(DEPDIR)/fchmod--secontext.Po \ ./$(DEPDIR)/fchmod--secontext_full.Po \ + ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y--secontext.Po \ ./$(DEPDIR)/fchmod-y--secontext_full.Po \ + ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y.Po ./$(DEPDIR)/fchmod.Po \ ./$(DEPDIR)/fchmodat--secontext.Po \ ./$(DEPDIR)/fchmodat--secontext_full.Po \ + ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmodat--secontext_mismatch.Po \ ./$(DEPDIR)/fchmodat.Po ./$(DEPDIR)/fchown.Po \ ./$(DEPDIR)/fchown32.Po ./$(DEPDIR)/fchownat--secontext.Po \ ./$(DEPDIR)/fchownat--secontext_full.Po \ + ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchownat--secontext_mismatch.Po \ ./$(DEPDIR)/fchownat.Po \ ./$(DEPDIR)/fcntl--pidns-translation.Po ./$(DEPDIR)/fcntl.Po \ ./$(DEPDIR)/fcntl64--pidns-translation.Po \ ./$(DEPDIR)/fcntl64.Po ./$(DEPDIR)/fdatasync.Po \ ./$(DEPDIR)/fflush.Po ./$(DEPDIR)/file_handle--secontext.Po \ ./$(DEPDIR)/file_handle--secontext_full.Po \ + ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po \ + ./$(DEPDIR)/file_handle--secontext_mismatch.Po \ ./$(DEPDIR)/file_handle.Po ./$(DEPDIR)/filter-unavailable.Po \ ./$(DEPDIR)/filter_seccomp-flag.Po \ ./$(DEPDIR)/filter_seccomp-perf.Po ./$(DEPDIR)/finit_module.Po \ @@ -4901,15 +6123,16 @@ ./$(DEPDIR)/fstatfs64.Po ./$(DEPDIR)/fsync-y.Po \ ./$(DEPDIR)/fsync.Po ./$(DEPDIR)/ftruncate.Po \ ./$(DEPDIR)/ftruncate64-ftruncate64.Po ./$(DEPDIR)/futex.Po \ - ./$(DEPDIR)/futimesat.Po ./$(DEPDIR)/get_mempolicy.Po \ - ./$(DEPDIR)/get_process_reaper.Po ./$(DEPDIR)/getcpu.Po \ - ./$(DEPDIR)/getcwd.Po ./$(DEPDIR)/getdents-v.Po \ - ./$(DEPDIR)/getdents.Po ./$(DEPDIR)/getdents64-v.Po \ - ./$(DEPDIR)/getdents64.Po ./$(DEPDIR)/getegid.Po \ - ./$(DEPDIR)/getegid32.Po ./$(DEPDIR)/geteuid.Po \ - ./$(DEPDIR)/geteuid32.Po ./$(DEPDIR)/getgid.Po \ - ./$(DEPDIR)/getgid32.Po ./$(DEPDIR)/getgroups.Po \ - ./$(DEPDIR)/getgroups32.Po ./$(DEPDIR)/getpeername.Po \ + ./$(DEPDIR)/futex_waitv.Po ./$(DEPDIR)/futimesat.Po \ + ./$(DEPDIR)/get_mempolicy.Po ./$(DEPDIR)/get_process_reaper.Po \ + ./$(DEPDIR)/getcpu.Po ./$(DEPDIR)/getcwd.Po \ + ./$(DEPDIR)/getdents-v.Po ./$(DEPDIR)/getdents.Po \ + ./$(DEPDIR)/getdents64-v.Po ./$(DEPDIR)/getdents64.Po \ + ./$(DEPDIR)/getegid.Po ./$(DEPDIR)/getegid32.Po \ + ./$(DEPDIR)/geteuid.Po ./$(DEPDIR)/geteuid32.Po \ + ./$(DEPDIR)/getgid.Po ./$(DEPDIR)/getgid32.Po \ + ./$(DEPDIR)/getgroups.Po ./$(DEPDIR)/getgroups32.Po \ + ./$(DEPDIR)/getpeername.Po \ ./$(DEPDIR)/getpgrp--pidns-translation.Po \ ./$(DEPDIR)/getpgrp.Po \ ./$(DEPDIR)/getpid--pidns-translation.Po ./$(DEPDIR)/getpid.Po \ @@ -4918,6 +6141,10 @@ ./$(DEPDIR)/getresuid.Po ./$(DEPDIR)/getresuid32.Po \ ./$(DEPDIR)/getrlimit.Po ./$(DEPDIR)/getrusage.Po \ ./$(DEPDIR)/getsid--pidns-translation.Po ./$(DEPDIR)/getsid.Po \ + ./$(DEPDIR)/getsockname--secontext.Po \ + ./$(DEPDIR)/getsockname--secontext_full.Po \ + ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po \ + ./$(DEPDIR)/getsockname--secontext_mismatch.Po \ ./$(DEPDIR)/getsockname.Po \ ./$(DEPDIR)/gettid--pidns-translation.Po ./$(DEPDIR)/gettid.Po \ ./$(DEPDIR)/getuid.Po ./$(DEPDIR)/getuid32.Po \ @@ -4928,10 +6155,21 @@ ./$(DEPDIR)/inotify_init-y.Po ./$(DEPDIR)/inotify_init.Po \ ./$(DEPDIR)/inotify_init1-y.Po ./$(DEPDIR)/inotify_init1.Po \ ./$(DEPDIR)/int_0x80.Po ./$(DEPDIR)/io_uring_enter.Po \ + ./$(DEPDIR)/io_uring_register-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-success-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-success-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success.Po \ ./$(DEPDIR)/io_uring_register.Po ./$(DEPDIR)/io_uring_setup.Po \ ./$(DEPDIR)/ioctl.Po \ ./$(DEPDIR)/ioctl_block--pidns-translation.Po \ - ./$(DEPDIR)/ioctl_block.Po ./$(DEPDIR)/ioctl_dm-v.Po \ + ./$(DEPDIR)/ioctl_block.Po \ + ./$(DEPDIR)/ioctl_counter-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_counter-Xraw.Po \ + ./$(DEPDIR)/ioctl_counter-Xverbose.Po \ + ./$(DEPDIR)/ioctl_counter.Po ./$(DEPDIR)/ioctl_dm-v.Po \ ./$(DEPDIR)/ioctl_dm.Po ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po \ ./$(DEPDIR)/ioctl_evdev-Xraw.Po \ ./$(DEPDIR)/ioctl_evdev-Xverbose.Po \ @@ -4998,19 +6236,48 @@ ./$(DEPDIR)/ioctl_hdio-v-Xraw.Po \ ./$(DEPDIR)/ioctl_hdio-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_hdio-v.Po ./$(DEPDIR)/ioctl_hdio.Po \ - ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kvm_run-v.Po \ - ./$(DEPDIR)/ioctl_kvm_run.Po \ + ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kd-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-Xraw.Po ./$(DEPDIR)/ioctl_kd-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024.Po \ + ./$(DEPDIR)/ioctl_kd-success.Po ./$(DEPDIR)/ioctl_kd.Po \ + ./$(DEPDIR)/ioctl_kvm_run-v.Po ./$(DEPDIR)/ioctl_kvm_run.Po \ ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po \ + ./$(DEPDIR)/ioctl_lirc-success.Po ./$(DEPDIR)/ioctl_lirc.Po \ ./$(DEPDIR)/ioctl_loop-nv.Po ./$(DEPDIR)/ioctl_loop-v.Po \ ./$(DEPDIR)/ioctl_loop.Po ./$(DEPDIR)/ioctl_mtd-success.Po \ ./$(DEPDIR)/ioctl_mtd.Po ./$(DEPDIR)/ioctl_nbd.Po \ ./$(DEPDIR)/ioctl_nsfs.Po ./$(DEPDIR)/ioctl_perf-success.Po \ - ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp.Po \ + ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success.Po ./$(DEPDIR)/ioctl_ptp.Po \ ./$(DEPDIR)/ioctl_random.Po ./$(DEPDIR)/ioctl_rtc-success.Po \ ./$(DEPDIR)/ioctl_rtc-v.Po ./$(DEPDIR)/ioctl_rtc.Po \ - ./$(DEPDIR)/ioctl_scsi.Po ./$(DEPDIR)/ioctl_sg_io_v3.Po \ - ./$(DEPDIR)/ioctl_sg_io_v4.Po ./$(DEPDIR)/ioctl_sock.Po \ - ./$(DEPDIR)/ioctl_sock_gifconf.Po ./$(DEPDIR)/ioctl_tee.Po \ + ./$(DEPDIR)/ioctl_scsi.Po \ + ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y.Po ./$(DEPDIR)/ioctl_seccomp.Po \ + ./$(DEPDIR)/ioctl_sg_io_v3.Po ./$(DEPDIR)/ioctl_sg_io_v4.Po \ + ./$(DEPDIR)/ioctl_sock.Po ./$(DEPDIR)/ioctl_sock_gifconf.Po \ + ./$(DEPDIR)/ioctl_tee.Po ./$(DEPDIR)/ioctl_termios-v.Po \ + ./$(DEPDIR)/ioctl_termios.Po ./$(DEPDIR)/ioctl_tiocm.Po \ ./$(DEPDIR)/ioctl_ubi-success.Po ./$(DEPDIR)/ioctl_ubi.Po \ ./$(DEPDIR)/ioctl_uffdio.Po ./$(DEPDIR)/ioctl_v4l2-Xabbrev.Po \ ./$(DEPDIR)/ioctl_v4l2-Xraw.Po \ @@ -5027,8 +6294,9 @@ ./$(DEPDIR)/ioctl_v4l2-v-Xraw.Po \ ./$(DEPDIR)/ioctl_v4l2-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_v4l2-v.Po ./$(DEPDIR)/ioctl_v4l2.Po \ - ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioperm.Po \ - ./$(DEPDIR)/iopl.Po ./$(DEPDIR)/ioprio--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioctl_winsize.Po \ + ./$(DEPDIR)/ioperm.Po ./$(DEPDIR)/iopl.Po \ + ./$(DEPDIR)/ioprio--pidns-translation.Po \ ./$(DEPDIR)/ioprio-Xabbrev.Po ./$(DEPDIR)/ioprio-Xraw.Po \ ./$(DEPDIR)/ioprio-Xverbose.Po ./$(DEPDIR)/ioprio.Po \ ./$(DEPDIR)/ip_mreq.Po ./$(DEPDIR)/ipc.Po \ @@ -5060,7 +6328,7 @@ ./$(DEPDIR)/landlock_create_ruleset.Po \ ./$(DEPDIR)/landlock_restrict_self-y.Po \ ./$(DEPDIR)/landlock_restrict_self.Po ./$(DEPDIR)/lchown.Po \ - ./$(DEPDIR)/lchown32.Po \ + ./$(DEPDIR)/lchown32.Po ./$(DEPDIR)/libtests_a-clock_t_str.Po \ ./$(DEPDIR)/libtests_a-create_nl_socket.Po \ ./$(DEPDIR)/libtests_a-create_tmpfile.Po \ ./$(DEPDIR)/libtests_a-dirfd.Po \ @@ -5099,12 +6367,14 @@ ./$(DEPDIR)/libtests_a-tprintf.Po \ ./$(DEPDIR)/libtests_a-xmalloc_for_tests.Po \ ./$(DEPDIR)/link.Po ./$(DEPDIR)/linkat--secontext.Po \ - ./$(DEPDIR)/linkat--secontext_full.Po ./$(DEPDIR)/linkat.Po \ - ./$(DEPDIR)/list_sigaction_signum.Po ./$(DEPDIR)/llseek.Po \ - ./$(DEPDIR)/localtime.Po ./$(DEPDIR)/lookup_dcookie.Po \ - ./$(DEPDIR)/looping_threads.Po ./$(DEPDIR)/lseek.Po \ - ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/lstat64-lstat64.Po \ - ./$(DEPDIR)/madvise.Po \ + ./$(DEPDIR)/linkat--secontext_full.Po \ + ./$(DEPDIR)/linkat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/linkat--secontext_mismatch.Po \ + ./$(DEPDIR)/linkat.Po ./$(DEPDIR)/list_sigaction_signum.Po \ + ./$(DEPDIR)/llseek.Po ./$(DEPDIR)/localtime.Po \ + ./$(DEPDIR)/lookup_dcookie.Po ./$(DEPDIR)/looping_threads.Po \ + ./$(DEPDIR)/lseek.Po ./$(DEPDIR)/lstat.Po \ + ./$(DEPDIR)/lstat64-lstat64.Po ./$(DEPDIR)/madvise.Po \ ./$(DEPDIR)/maybe_switch_current_tcp--quiet-thread-execve.Po \ ./$(DEPDIR)/maybe_switch_current_tcp.Po \ ./$(DEPDIR)/mbind-Xabbrev.Po ./$(DEPDIR)/mbind-Xraw.Po \ @@ -5143,6 +6413,7 @@ ./$(DEPDIR)/msg_control-v.Po ./$(DEPDIR)/msg_control.Po \ ./$(DEPDIR)/msg_name.Po ./$(DEPDIR)/munlockall.Po \ ./$(DEPDIR)/nanosleep.Po \ + ./$(DEPDIR)/net--decode-fds-all-netlink.Po \ ./$(DEPDIR)/net--decode-fds-dev-netlink.Po \ ./$(DEPDIR)/net--decode-fds-none-netlink.Po \ ./$(DEPDIR)/net--decode-fds-path-netlink.Po \ @@ -5181,6 +6452,10 @@ ./$(DEPDIR)/nfnetlink_nftables.Po ./$(DEPDIR)/nfnetlink_osf.Po \ ./$(DEPDIR)/nfnetlink_queue.Po ./$(DEPDIR)/nfnetlink_ulog.Po \ ./$(DEPDIR)/nlattr.Po ./$(DEPDIR)/nlattr_br_port_msg.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xraw.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po \ + ./$(DEPDIR)/nlattr_cachereport.Po \ ./$(DEPDIR)/nlattr_crypto_user_alg.Po \ ./$(DEPDIR)/nlattr_dcbmsg.Po \ ./$(DEPDIR)/nlattr_fib_rule_hdr.Po \ @@ -5188,12 +6463,27 @@ ./$(DEPDIR)/nlattr_ifaddrmsg.Po \ ./$(DEPDIR)/nlattr_ifinfomsg.Po \ ./$(DEPDIR)/nlattr_ifla_af_spec.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po \ ./$(DEPDIR)/nlattr_ifla_brport.Po \ ./$(DEPDIR)/nlattr_ifla_linkinfo.Po \ ./$(DEPDIR)/nlattr_ifla_port.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo.Po \ ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo.Po \ ./$(DEPDIR)/nlattr_ifla_xdp-y.Po \ ./$(DEPDIR)/nlattr_ifla_xdp.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifstats.Po \ ./$(DEPDIR)/nlattr_inet_diag_msg.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po \ @@ -5202,7 +6492,10 @@ ./$(DEPDIR)/nlattr_ndmsg.Po ./$(DEPDIR)/nlattr_ndtmsg.Po \ ./$(DEPDIR)/nlattr_netconfmsg.Po \ ./$(DEPDIR)/nlattr_netlink_diag_msg.Po \ - ./$(DEPDIR)/nlattr_nlmsgerr.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po \ + ./$(DEPDIR)/nlattr_nhmsg.Po ./$(DEPDIR)/nlattr_nlmsgerr.Po \ ./$(DEPDIR)/nlattr_packet_diag_msg.Po \ ./$(DEPDIR)/nlattr_rtgenmsg.Po ./$(DEPDIR)/nlattr_rtmsg.Po \ ./$(DEPDIR)/nlattr_smc_diag_msg.Po \ @@ -5217,12 +6510,16 @@ ./$(DEPDIR)/oldselect-P.Po ./$(DEPDIR)/oldselect-efault-P.Po \ ./$(DEPDIR)/oldselect-efault.Po ./$(DEPDIR)/oldselect.Po \ ./$(DEPDIR)/oldstat.Po ./$(DEPDIR)/open--secontext.Po \ - ./$(DEPDIR)/open--secontext_full.Po ./$(DEPDIR)/open.Po \ + ./$(DEPDIR)/open--secontext_full.Po \ + ./$(DEPDIR)/open--secontext_full_mismatch.Po \ + ./$(DEPDIR)/open--secontext_mismatch.Po ./$(DEPDIR)/open.Po \ ./$(DEPDIR)/open_tree-P.Po ./$(DEPDIR)/open_tree.Po \ ./$(DEPDIR)/openat--secontext.Po \ - ./$(DEPDIR)/openat--secontext_full.Po ./$(DEPDIR)/openat.Po \ - ./$(DEPDIR)/openat2-Xabbrev.Po ./$(DEPDIR)/openat2-Xraw.Po \ - ./$(DEPDIR)/openat2-Xverbose.Po \ + ./$(DEPDIR)/openat--secontext_full.Po \ + ./$(DEPDIR)/openat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/openat--secontext_mismatch.Po \ + ./$(DEPDIR)/openat.Po ./$(DEPDIR)/openat2-Xabbrev.Po \ + ./$(DEPDIR)/openat2-Xraw.Po ./$(DEPDIR)/openat2-Xverbose.Po \ ./$(DEPDIR)/openat2-v-y-Xabbrev.Po \ ./$(DEPDIR)/openat2-v-y-Xraw.Po \ ./$(DEPDIR)/openat2-v-y-Xverbose.Po ./$(DEPDIR)/openat2-v-y.Po \ @@ -5237,6 +6534,8 @@ ./$(DEPDIR)/personality-Xverbose.Po ./$(DEPDIR)/personality.Po \ ./$(DEPDIR)/pidfd_getfd-y.Po ./$(DEPDIR)/pidfd_getfd-yy.Po \ ./$(DEPDIR)/pidfd_getfd.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-all.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-none.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-path.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po \ @@ -5296,7 +6595,20 @@ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po \ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po \ ./$(DEPDIR)/prctl-set-ptracer-success.Po \ - ./$(DEPDIR)/prctl-spec-inject.Po ./$(DEPDIR)/prctl-sve.Po \ + ./$(DEPDIR)/prctl-set_vma.Po ./$(DEPDIR)/prctl-sme-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success.Po ./$(DEPDIR)/prctl-sme.Po \ + ./$(DEPDIR)/prctl-spec-inject.Po \ + ./$(DEPDIR)/prctl-sve-Xabbrev.Po ./$(DEPDIR)/prctl-sve-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sve-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success.Po ./$(DEPDIR)/prctl-sve.Po \ ./$(DEPDIR)/prctl-syscall-user-dispatch.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xraw.Po \ @@ -5327,11 +6639,20 @@ ./$(DEPDIR)/process_madvise-y.Po \ ./$(DEPDIR)/process_madvise-yy.Po \ ./$(DEPDIR)/process_madvise.Po \ + ./$(DEPDIR)/process_mrelease-y.Po \ + ./$(DEPDIR)/process_mrelease.Po \ ./$(DEPDIR)/process_vm_readv--pidns-translation.Po \ ./$(DEPDIR)/process_vm_readv.Po \ ./$(DEPDIR)/process_vm_writev--pidns-translation.Po \ ./$(DEPDIR)/process_vm_writev.Po ./$(DEPDIR)/pselect6.Po \ - ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace-Xabbrev.Po \ + ./$(DEPDIR)/ptrace-Xraw.Po ./$(DEPDIR)/ptrace-Xverbose.Po \ + ./$(DEPDIR)/ptrace-y-Xabbrev.Po ./$(DEPDIR)/ptrace-y-Xraw.Po \ + ./$(DEPDIR)/ptrace-y-Xverbose.Po ./$(DEPDIR)/ptrace-y.Po \ + ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po \ ./$(DEPDIR)/ptrace_syscall_info.Po \ ./$(DEPDIR)/pwritev-pwritev.Po ./$(DEPDIR)/qual_fault.Po \ ./$(DEPDIR)/qual_inject-error-signal.Po \ @@ -5386,6 +6707,9 @@ ./$(DEPDIR)/scm_rights.Po ./$(DEPDIR)/seccomp-filter-v.Po \ ./$(DEPDIR)/seccomp-filter.Po ./$(DEPDIR)/seccomp-strict.Po \ ./$(DEPDIR)/seccomp_get_action_avail.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes.Po \ + ./$(DEPDIR)/segv_accerr.Po ./$(DEPDIR)/segv_pkuerr.Po \ ./$(DEPDIR)/select-P.Po ./$(DEPDIR)/select.Po \ ./$(DEPDIR)/semop-indirect.Po ./$(DEPDIR)/semop.Po \ ./$(DEPDIR)/semtimedop-ipc.Po ./$(DEPDIR)/semtimedop.Po \ @@ -5393,19 +6717,21 @@ ./$(DEPDIR)/sendfile64.Po ./$(DEPDIR)/set_mempolicy-Xabbrev.Po \ ./$(DEPDIR)/set_mempolicy-Xraw.Po \ ./$(DEPDIR)/set_mempolicy-Xverbose.Po \ - ./$(DEPDIR)/set_mempolicy.Po ./$(DEPDIR)/set_ptracer_any.Po \ - ./$(DEPDIR)/set_sigblock.Po ./$(DEPDIR)/set_sigign.Po \ - ./$(DEPDIR)/setdomainname.Po ./$(DEPDIR)/setfsgid.Po \ - ./$(DEPDIR)/setfsgid32.Po ./$(DEPDIR)/setfsuid.Po \ - ./$(DEPDIR)/setfsuid32.Po ./$(DEPDIR)/setgid.Po \ - ./$(DEPDIR)/setgid32.Po ./$(DEPDIR)/setgroups.Po \ - ./$(DEPDIR)/setgroups32.Po ./$(DEPDIR)/sethostname.Po \ - ./$(DEPDIR)/setns.Po ./$(DEPDIR)/setpgrp-exec.Po \ - ./$(DEPDIR)/setregid.Po ./$(DEPDIR)/setregid32.Po \ - ./$(DEPDIR)/setresgid.Po ./$(DEPDIR)/setresgid32.Po \ - ./$(DEPDIR)/setresuid.Po ./$(DEPDIR)/setresuid32.Po \ - ./$(DEPDIR)/setreuid.Po ./$(DEPDIR)/setreuid32.Po \ - ./$(DEPDIR)/setrlimit-Xabbrev.Po ./$(DEPDIR)/setrlimit-Xraw.Po \ + ./$(DEPDIR)/set_mempolicy.Po \ + ./$(DEPDIR)/set_mempolicy_home_node.Po \ + ./$(DEPDIR)/set_ptracer_any.Po ./$(DEPDIR)/set_sigblock.Po \ + ./$(DEPDIR)/set_sigign.Po ./$(DEPDIR)/setdomainname.Po \ + ./$(DEPDIR)/setfsgid.Po ./$(DEPDIR)/setfsgid32.Po \ + ./$(DEPDIR)/setfsuid.Po ./$(DEPDIR)/setfsuid32.Po \ + ./$(DEPDIR)/setgid.Po ./$(DEPDIR)/setgid32.Po \ + ./$(DEPDIR)/setgroups.Po ./$(DEPDIR)/setgroups32.Po \ + ./$(DEPDIR)/sethostname.Po ./$(DEPDIR)/setns.Po \ + ./$(DEPDIR)/setpgrp-exec.Po ./$(DEPDIR)/setregid.Po \ + ./$(DEPDIR)/setregid32.Po ./$(DEPDIR)/setresgid.Po \ + ./$(DEPDIR)/setresgid32.Po ./$(DEPDIR)/setresuid.Po \ + ./$(DEPDIR)/setresuid32.Po ./$(DEPDIR)/setreuid.Po \ + ./$(DEPDIR)/setreuid32.Po ./$(DEPDIR)/setrlimit-Xabbrev.Po \ + ./$(DEPDIR)/setrlimit-Xraw.Po \ ./$(DEPDIR)/setrlimit-Xverbose.Po ./$(DEPDIR)/setrlimit.Po \ ./$(DEPDIR)/setuid.Po ./$(DEPDIR)/setuid32.Po \ ./$(DEPDIR)/shmxt.Po ./$(DEPDIR)/shutdown.Po \ @@ -5425,10 +6751,21 @@ ./$(DEPDIR)/sock_filter-v-Xraw.Po \ ./$(DEPDIR)/sock_filter-v-Xverbose.Po \ ./$(DEPDIR)/sock_filter-v.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xraw.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po \ ./$(DEPDIR)/socketcall.Po ./$(DEPDIR)/sockopt-sol_netlink.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success.Po \ + ./$(DEPDIR)/sockopt-sol_socket.Po \ ./$(DEPDIR)/sockopt-timestamp.Po ./$(DEPDIR)/splice.Po \ ./$(DEPDIR)/stack-fcall-0.Po ./$(DEPDIR)/stack-fcall-1.Po \ ./$(DEPDIR)/stack-fcall-2.Po ./$(DEPDIR)/stack-fcall-3.Po \ @@ -5449,14 +6786,20 @@ ./$(DEPDIR)/status-successful.Po \ ./$(DEPDIR)/status-unfinished-threads.Po \ ./$(DEPDIR)/status-unfinished.Po ./$(DEPDIR)/statx.Po \ + ./$(DEPDIR)/strace--decode-pids-comm.Po \ ./$(DEPDIR)/strace--strings-in-hex-all.Po \ + ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po \ ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po \ - ./$(DEPDIR)/strace--strings-in-hex.Po ./$(DEPDIR)/strace-n.Po \ - ./$(DEPDIR)/strace-x.Po ./$(DEPDIR)/strace-xx.Po \ - ./$(DEPDIR)/swap.Po ./$(DEPDIR)/sxetmask.Po \ - ./$(DEPDIR)/symlink.Po ./$(DEPDIR)/symlinkat.Po \ - ./$(DEPDIR)/sync.Po ./$(DEPDIR)/sync_file_range.Po \ - ./$(DEPDIR)/sync_file_range2.Po ./$(DEPDIR)/sysinfo.Po \ + ./$(DEPDIR)/strace--strings-in-hex-none.Po \ + ./$(DEPDIR)/strace--strings-in-hex.Po \ + ./$(DEPDIR)/strace-Y-0123456789.Po ./$(DEPDIR)/strace-n.Po \ + ./$(DEPDIR)/strace-no-x.Po ./$(DEPDIR)/strace-p-Y-p2.Po \ + ./$(DEPDIR)/strace-p1-Y-p.Po ./$(DEPDIR)/strace-x.Po \ + ./$(DEPDIR)/strace-xx.Po ./$(DEPDIR)/swap.Po \ + ./$(DEPDIR)/sxetmask.Po ./$(DEPDIR)/symlink.Po \ + ./$(DEPDIR)/symlinkat.Po ./$(DEPDIR)/sync.Po \ + ./$(DEPDIR)/sync_file_range.Po ./$(DEPDIR)/sync_file_range2.Po \ + ./$(DEPDIR)/sysctl.Po ./$(DEPDIR)/sysinfo.Po \ ./$(DEPDIR)/syslog-success.Po ./$(DEPDIR)/syslog.Po \ ./$(DEPDIR)/tampering-notes.Po ./$(DEPDIR)/tee.Po \ ./$(DEPDIR)/tgkill--pidns-translation.Po ./$(DEPDIR)/tgkill.Po \ @@ -5466,9 +6809,11 @@ ./$(DEPDIR)/threads-execve-qqq.Po \ ./$(DEPDIR)/threads-execve.Po ./$(DEPDIR)/time.Po \ ./$(DEPDIR)/timer_create.Po ./$(DEPDIR)/timer_xettime.Po \ - ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-fail.Po \ - ./$(DEPDIR)/times.Po ./$(DEPDIR)/tkill--pidns-translation.Po \ - ./$(DEPDIR)/tkill.Po ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ + ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-Xabbrev.Po \ + ./$(DEPDIR)/times-Xraw.Po ./$(DEPDIR)/times-Xverbose.Po \ + ./$(DEPDIR)/times-fail.Po ./$(DEPDIR)/times.Po \ + ./$(DEPDIR)/tkill--pidns-translation.Po ./$(DEPDIR)/tkill.Po \ + ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ ./$(DEPDIR)/trie_test-trie_for_tests.Po \ ./$(DEPDIR)/trie_test-trie_test.Po ./$(DEPDIR)/truncate.Po \ ./$(DEPDIR)/truncate64-truncate64.Po ./$(DEPDIR)/ugetrlimit.Po \ @@ -5489,9 +6834,9 @@ ./$(DEPDIR)/utimes.Po ./$(DEPDIR)/vfork-f.Po \ ./$(DEPDIR)/vhangup.Po ./$(DEPDIR)/vmsplice.Po \ ./$(DEPDIR)/wait4-v.Po ./$(DEPDIR)/wait4.Po \ - ./$(DEPDIR)/waitid-v.Po ./$(DEPDIR)/waitid.Po \ - ./$(DEPDIR)/waitpid.Po ./$(DEPDIR)/xattr-strings.Po \ - ./$(DEPDIR)/xattr.Po \ + ./$(DEPDIR)/waitid-Y.Po ./$(DEPDIR)/waitid-v.Po \ + ./$(DEPDIR)/waitid.Po ./$(DEPDIR)/waitpid.Po \ + ./$(DEPDIR)/xattr-strings.Po ./$(DEPDIR)/xattr.Po \ ./$(DEPDIR)/xet_robust_list--pidns-translation.Po \ ./$(DEPDIR)/xet_robust_list.Po \ ./$(DEPDIR)/xet_thread_area_x86.Po ./$(DEPDIR)/xetitimer.Po \ @@ -5519,76 +6864,109 @@ am__v_CCLD_1 = SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c accept.c \ accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5614,13 +6992,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5628,26 +7026,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -5667,8 +7066,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -5685,16 +7084,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -5703,8 +7113,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -5712,7 +7124,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -5754,10 +7167,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -5770,11 +7189,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -5800,44 +7224,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -5847,83 +7284,117 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c DIST_SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c \ accept.c accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5949,13 +7420,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5963,26 +7454,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -6002,8 +7494,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -6020,16 +7512,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -6038,8 +7541,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -6047,7 +7552,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -6089,10 +7595,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -6105,11 +7617,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -6135,44 +7652,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -6182,11 +7712,12 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -6489,7 +8020,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -6509,6 +8039,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_LONG = 4 +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -6576,6 +8108,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -6599,6 +8132,8 @@ ARCH = @arch_mx32@ KARCH = @karch_mx32@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = mx32 MPERS_CC_FLAGS = @CFLAGS_FOR_MX32@ @cc_flags_mx32@ ARCH_MFLAGS = -DMPERS_IS_$(MPERS_NAME) $(MPERS_CC_FLAGS) @@ -6613,13 +8148,17 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) @HAVE_MX32_SELINUX_RUNTIME_FALSE@libselinux_LDADD = @HAVE_MX32_SELINUX_RUNTIME_TRUE@libselinux_LDADD = $(libselinux_LIBS) libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -6667,7 +8206,7 @@ libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} # Generated by ./tests/gen_pure_executables.sh from ./tests/pure_executables.list; do not edit. PURE_EXECUTABLES = \ @@ -6681,6 +8220,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -6704,7 +8248,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -6783,6 +8329,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -6827,9 +8374,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -6868,6 +8422,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -6876,6 +8435,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -6884,6 +8446,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -6895,6 +8460,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -7001,6 +8567,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -7042,6 +8609,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -7050,10 +8621,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -7063,6 +8649,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -7109,6 +8699,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -7143,7 +8735,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -7170,12 +8770,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -7230,6 +8842,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -7242,6 +8855,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -7289,10 +8903,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -7313,7 +8934,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -7323,6 +8947,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -7333,6 +8958,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \ @@ -7379,67 +9007,139 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -7457,6 +9157,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -7472,6 +9173,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 stack_fcall_SOURCES = stack-fcall.c \ @@ -7492,19 +9196,30 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test \ accept4.gen.test access.gen.test access--secontext.gen.test \ - access--secontext_full.gen.test acct.gen.test add_key.gen.test \ - adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test \ - alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ + access--secontext_full.gen.test \ + access--secontext_full_mismatch.gen.test \ + access--secontext_mismatch.gen.test acct.gen.test \ + add_key.gen.test adjtimex.gen.test aio.gen.test \ + aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test \ + arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test \ + arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test \ + arch_prctl-success-Xabbrev.gen.test \ + arch_prctl-success-Xraw.gen.test \ + arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test \ + bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ bpf-obj_get_info_by_fd-prog.gen.test \ bpf-obj_get_info_by_fd-prog-v.gen.test \ bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test \ bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test \ chdir.gen.test chmod.gen.test chmod--secontext.gen.test \ - chmod--secontext_full.gen.test chown.gen.test chown32.gen.test \ - chroot.gen.test clock.gen.test clock_adjtime.gen.test \ - clock_adjtime64.gen.test clock_nanosleep.gen.test \ - clock_xettime.gen.test clock_xettime64.gen.test \ - clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ + chmod--secontext_full.gen.test \ + chmod--secontext_full_mismatch.gen.test \ + chmod--secontext_mismatch.gen.test chown.gen.test \ + chown32.gen.test chroot.gen.test clock.gen.test \ + clock_adjtime.gen.test clock_adjtime64.gen.test \ + clock_nanosleep.gen.test clock_xettime.gen.test \ + clock_xettime64.gen.test clone3.gen.test \ + clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ clone3-Xverbose.gen.test clone3-success.gen.test \ clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test \ clone3-success-Xverbose.gen.test clone_parent.gen.test \ @@ -7513,7 +9228,8 @@ clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test \ clone_ptrace-qq.gen.test close_range.gen.test \ copy_file_range.gen.test creat.gen.test delete_module.gen.test \ - dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test \ + dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test \ + dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test \ dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test \ dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test \ dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test \ @@ -7523,45 +9239,63 @@ epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test \ epoll_wait.gen.test erestartsys.gen.test \ execve--secontext.gen.test execve--secontext_full.gen.test \ - execveat.gen.test execveat--secontext.gen.test \ - execveat--secontext_full.gen.test execveat-v.gen.test \ + execve--secontext_full_mismatch.gen.test \ + execve--secontext_mismatch.gen.test execveat.gen.test \ + execveat--secontext.gen.test execveat--secontext_full.gen.test \ + execveat--secontext_full_mismatch.gen.test \ + execveat--secontext_mismatch.gen.test execveat-v.gen.test \ faccessat--secontext.gen.test \ - faccessat--secontext_full.gen.test faccessat-P.gen.test \ + faccessat--secontext_full.gen.test \ + faccessat--secontext_full_mismatch.gen.test \ + faccessat--secontext_mismatch.gen.test faccessat-P.gen.test \ faccessat-y.gen.test faccessat-y--secontext.gen.test \ - faccessat-y--secontext_full.gen.test faccessat-yy.gen.test \ + faccessat-y--secontext_full.gen.test \ + faccessat-y--secontext_full_mismatch.gen.test \ + faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test \ faccessat2-P.gen.test faccessat2-y.gen.test \ faccessat2-yy.gen.test fadvise64_64.gen.test \ fallocate.gen.test fanotify_init.gen.test \ fanotify_mark.gen.test fanotify_mark--secontext.gen.test \ fanotify_mark--secontext_full.gen.test \ + fanotify_mark--secontext_full_mismatch.gen.test \ + fanotify_mark--secontext_mismatch.gen.test \ fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test \ fanotify_mark-Xverbose.gen.test fchdir.gen.test \ fchmod.gen.test fchmod--secontext.gen.test \ - fchmod--secontext_full.gen.test fchmod-y.gen.test \ + fchmod--secontext_full.gen.test \ + fchmod--secontext_full_mismatch.gen.test \ + fchmod--secontext_mismatch.gen.test fchmod-y.gen.test \ fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test \ - fchmodat.gen.test fchmodat--secontext.gen.test \ - fchmodat--secontext_full.gen.test fchown.gen.test \ + fchmod-y--secontext_full_mismatch.gen.test \ + fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test \ + fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test \ + fchmodat--secontext_full_mismatch.gen.test \ + fchmodat--secontext_mismatch.gen.test fchown.gen.test \ fchown32.gen.test fchownat.gen.test \ fchownat--secontext.gen.test fchownat--secontext_full.gen.test \ - fcntl.gen.test fcntl--pidns-translation.gen.test \ - fcntl64.gen.test fcntl64--pidns-translation.gen.test \ - fdatasync.gen.test file_handle.gen.test \ - file_handle--secontext.gen.test \ - file_handle--secontext_full.gen.test filter_seccomp.gen.test \ - filter_seccomp-flag.gen.test finit_module.gen.test \ - flock.gen.test fork-f.gen.test fsconfig.gen.test \ - fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test \ - fspick.gen.test fspick-P.gen.test fstat.gen.test \ - fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ + fchownat--secontext_full_mismatch.gen.test \ + fchownat--secontext_mismatch.gen.test fcntl.gen.test \ + fcntl--pidns-translation.gen.test fcntl64.gen.test \ + fcntl64--pidns-translation.gen.test fdatasync.gen.test \ + file_handle.gen.test file_handle--secontext.gen.test \ + file_handle--secontext_full.gen.test \ + file_handle--secontext_full_mismatch.gen.test \ + file_handle--secontext_mismatch.gen.test \ + filter_seccomp.gen.test filter_seccomp-flag.gen.test \ + finit_module.gen.test flock.gen.test fork-f.gen.test \ + fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test \ + fsopen.gen.test fspick.gen.test fspick-P.gen.test \ + fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ fstat-Xverbose.gen.test fstat64.gen.test \ fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test \ fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test \ fstatfs64.gen.test fsync.gen.test fsync-y.gen.test \ - ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test \ - get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test \ - getdents.gen.test getdents-v.gen.test getdents64.gen.test \ - getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test \ - getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test \ + ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test \ + futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test \ + getcwd.gen.test getdents.gen.test getdents-v.gen.test \ + getdents64.gen.test getdents64-v.gen.test getegid.gen.test \ + getegid-creds.gen.test getegid32.gen.test \ + getegid32-creds.gen.test geteuid.gen.test \ geteuid-creds.gen.test geteuid32.gen.test \ geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test \ getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test \ @@ -7572,14 +9306,27 @@ getresuid.gen.test getresuid32.gen.test getrlimit.gen.test \ getrusage.gen.test getsid.gen.test \ getsid--pidns-translation.gen.test getsockname.gen.test \ - gettid.gen.test getuid-creds.gen.test getuid32.gen.test \ + getsockname--secontext.gen.test \ + getsockname--secontext_full.gen.test \ + getsockname--secontext_full_mismatch.gen.test \ + getsockname--secontext_mismatch.gen.test gettid.gen.test \ + getuid-creds.gen.test getuid32.gen.test \ getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test \ getxuid.gen.test group_req.gen.test inet-cmsg.gen.test \ init_module.gen.test inotify.gen.test inotify_init.gen.test \ inotify_init1.gen.test inotify_init1-y.gen.test \ io_uring_enter.gen.test io_uring_register.gen.test \ + io_uring_register-Xabbrev.gen.test \ + io_uring_register-Xraw.gen.test \ + io_uring_register-Xverbose.gen.test \ + io_uring_register-success.gen.test \ + io_uring_register-success-Xabbrev.gen.test \ + io_uring_register-success-Xraw.gen.test \ + io_uring_register-success-Xverbose.gen.test \ io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test \ - ioctl_dm-v.gen.test ioctl_evdev.gen.test \ + ioctl_dm-v.gen.test ioctl_counter.gen.test \ + ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test \ + ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test \ ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test \ ioctl_evdev-Xverbose.gen.test \ ioctl_evdev-success-Xabbrev.gen.test \ @@ -7629,17 +9376,44 @@ ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test \ ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test \ ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test \ + ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test \ + ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test \ + ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test \ + ioctl_kd-success-Xraw.gen.test \ + ioctl_kd-success-Xverbose.gen.test \ + ioctl_kd-success-s1024.gen.test \ + ioctl_kd-success-s1024-Xabbrev.gen.test \ + ioctl_kd-success-s1024-Xraw.gen.test \ + ioctl_kd-success-s1024-Xverbose.gen.test \ ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test \ - ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test \ + ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test \ + ioctl_lirc-success.gen.test ioctl_loop.gen.test \ ioctl_loop-nv.gen.test ioctl_loop-v.gen.test \ ioctl_mtd.gen.test ioctl_mtd-success.gen.test \ ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test \ ioctl_perf-success.gen.test ioctl_ptp.gen.test \ - ioctl_random.gen.test ioctl_rtc.gen.test \ - ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test \ - ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test \ - ioctl_sg_io_v4.gen.test ioctl_sock.gen.test \ - ioctl_sock_gifconf.gen.test ioctl_tee.gen.test \ + ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test \ + ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test \ + ioctl_ptp-success-Xabbrev.gen.test \ + ioctl_ptp-success-Xraw.gen.test \ + ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test \ + ioctl_rtc.gen.test ioctl_rtc-success.gen.test \ + ioctl_rtc-v.gen.test ioctl_scsi.gen.test \ + ioctl_seccomp.gen.test \ + ioctl_seccomp--pidns-translation.gen.test \ + ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test \ + ioctl_seccomp-y-success.gen.test \ + ioctl_seccomp-y-success--pidns-translation.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test \ + ioctl_seccomp-y-success-Xabbrev.gen.test \ + ioctl_seccomp-y-success-Xraw.gen.test \ + ioctl_seccomp-y-success-Xverbose.gen.test \ + ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test \ + ioctl_sock.gen.test ioctl_sock_gifconf.gen.test \ + ioctl_tee.gen.test ioctl_termios.gen.test \ + ioctl_termios-v.gen.test ioctl_tiocm.gen.test \ ioctl_ubi.gen.test ioctl_ubi-success.gen.test \ ioctl_uffdio.gen.test ioctl_v4l2.gen.test \ ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test \ @@ -7653,10 +9427,11 @@ ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test \ ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test \ ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test \ - ioperm.gen.test iopl.gen.test ioprio.gen.test \ - ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test \ - ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test \ - ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ + ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test \ + ioprio.gen.test ioprio--pidns-translation.gen.test \ + ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test \ + ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test \ + ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test \ ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test \ ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test \ @@ -7680,8 +9455,10 @@ landlock_restrict_self-y.gen.test lchown.gen.test \ lchown32.gen.test link.gen.test linkat.gen.test \ linkat--secontext.gen.test linkat--secontext_full.gen.test \ - lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test \ - madvise.gen.test maybe_switch_current_tcp.gen.test \ + linkat--secontext_full_mismatch.gen.test \ + linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test \ + lstat.gen.test lstat64.gen.test madvise.gen.test \ + maybe_switch_current_tcp.gen.test \ maybe_switch_current_tcp--quiet-thread-execve.gen.test \ mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test \ mbind-Xverbose.gen.test membarrier.gen.test \ @@ -7706,6 +9483,7 @@ mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test \ msg_control.gen.test msg_control-v.gen.test msg_name.gen.test \ munlockall.gen.test nanosleep.gen.test \ + net--decode-fds-all-netlink.gen.test \ net--decode-fds-dev-netlink.gen.test \ net--decode-fds-none-netlink.gen.test \ net--decode-fds-path-netlink.gen.test \ @@ -7727,21 +9505,38 @@ nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test \ nfnetlink_osf.gen.test nfnetlink_queue.gen.test \ nfnetlink_ulog.gen.test nlattr.gen.test \ - nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test \ - nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test \ - nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test \ - nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test \ - nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test \ - nlattr_ifla_port.gen.test \ + nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test \ + nlattr_cachereport-Xabbrev.gen.test \ + nlattr_cachereport-Xraw.gen.test \ + nlattr_cachereport-Xverbose.gen.test \ + nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test \ + nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test \ + nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test \ + nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test \ + nlattr_ifla_brport-Xabbrev.gen.test \ + nlattr_ifla_brport-Xraw.gen.test \ + nlattr_ifla_brport-Xverbose.gen.test \ + nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test \ + nlattr_ifla_protinfo.gen.test \ + nlattr_ifla_protinfo-Xabbrev.gen.test \ + nlattr_ifla_protinfo-Xraw.gen.test \ + nlattr_ifla_protinfo-Xverbose.gen.test \ nlattr_ifla_proto_down_reason.gen.test \ - nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test \ - nlattr_inet_diag_msg.gen.test \ + nlattr_ifla_vfinfo.gen.test \ + nlattr_ifla_vfinfo-Xabbrev.gen.test \ + nlattr_ifla_vfinfo-Xraw.gen.test \ + nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test \ + nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test \ + nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test \ + nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test \ nlattr_inet_diag_req_compat.gen.test \ nlattr_inet_diag_req_v2.gen.test \ nlattr_mdba_mdb_entry.gen.test \ nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test \ nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test \ - nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test \ + nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test \ + nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test \ + nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test \ nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test \ nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test \ nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test \ @@ -7753,21 +9548,26 @@ oldselect.gen.test oldselect-P.gen.test \ oldselect-efault.gen.test oldselect-efault-P.gen.test \ oldstat.gen.test open.gen.test open--secontext.gen.test \ - open--secontext_full.gen.test open_tree.gen.test \ + open--secontext_full.gen.test \ + open--secontext_full_mismatch.gen.test \ + open--secontext_mismatch.gen.test open_tree.gen.test \ open_tree-P.gen.test openat.gen.test \ openat--secontext.gen.test openat--secontext_full.gen.test \ - openat2.gen.test openat2-Xabbrev.gen.test \ - openat2-Xraw.gen.test openat2-Xverbose.gen.test \ - openat2-v.gen.test openat2-v-y.gen.test \ - openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test \ - openat2-v-y-Xverbose.gen.test openat2-y.gen.test \ - orphaned_process_group.gen.test osf_utimes.gen.test \ - pause.gen.test perf_event_open.gen.test \ + openat--secontext_full_mismatch.gen.test \ + openat--secontext_mismatch.gen.test openat2.gen.test \ + openat2-Xabbrev.gen.test openat2-Xraw.gen.test \ + openat2-Xverbose.gen.test openat2-v.gen.test \ + openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test \ + openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test \ + openat2-y.gen.test orphaned_process_group.gen.test \ + osf_utimes.gen.test pause.gen.test perf_event_open.gen.test \ perf_event_open_nonverbose.gen.test \ perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test \ personality-Xraw.gen.test personality-Xverbose.gen.test \ pidfd_getfd.gen.test pidfd_getfd-y.gen.test \ pidfd_getfd-yy.gen.test pidfd_open.gen.test \ + pidfd_open--decode-fd-all.gen.test \ + pidfd_open--decode-fd-none.gen.test \ pidfd_open--decode-fd-path.gen.test \ pidfd_open--decode-fd-pidfd.gen.test \ pidfd_open--decode-fd-socket.gen.test \ @@ -7790,35 +9590,46 @@ prctl-pac-enabled-keys-success-Xraw.gen.test \ prctl-pac-enabled-keys-success-Xverbose.gen.test \ prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test \ - prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test \ - prctl-sched-core-Xraw.gen.test \ - prctl-sched-core-Xverbose.gen.test \ + prctl-sched-core.gen.test \ prctl-sched-core--pidns-translation.gen.test \ prctl-sched-core--pidns-translation-Xabbrev.gen.test \ prctl-sched-core--pidns-translation-Xraw.gen.test \ prctl-sched-core--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-Xabbrev.gen.test \ + prctl-sched-core-Xraw.gen.test \ + prctl-sched-core-Xverbose.gen.test \ prctl-sched-core-success.gen.test \ - prctl-sched-core-success-Xabbrev.gen.test \ - prctl-sched-core-success-Xraw.gen.test \ - prctl-sched-core-success-Xverbose.gen.test \ prctl-sched-core-success--pidns-translation.gen.test \ prctl-sched-core-success--pidns-translation-Xabbrev.gen.test \ prctl-sched-core-success--pidns-translation-Xraw.gen.test \ prctl-sched-core-success--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-success-Xabbrev.gen.test \ + prctl-sched-core-success-Xraw.gen.test \ + prctl-sched-core-success-Xverbose.gen.test \ prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test \ prctl-securebits-success.gen.test \ prctl-securebits-success-Xabbrev.gen.test \ prctl-securebits-success-Xraw.gen.test \ prctl-securebits-success-Xverbose.gen.test \ prctl-set-ptracer-success.gen.test \ - prctl-set-ptracer-success-Xabbrev.gen.test \ - prctl-set-ptracer-success-Xraw.gen.test \ - prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xabbrev.gen.test \ prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xraw.gen.test \ prctl-set-ptracer-success-Xraw--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test \ - prctl-spec-inject.gen.test prctl-sve.gen.test \ + prctl-set_vma.gen.test prctl-sme.gen.test \ + prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test \ + prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test \ + prctl-sme-success-Xabbrev.gen.test \ + prctl-sme-success-Xraw.gen.test \ + prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test \ + prctl-sve.gen.test prctl-sve-Xabbrev.gen.test \ + prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test \ + prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test \ + prctl-sve-success-Xraw.gen.test \ + prctl-sve-success-Xverbose.gen.test \ prctl-syscall-user-dispatch.gen.test \ prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test \ prctl-tagged-addr-Xraw.gen.test \ @@ -7841,15 +9652,22 @@ prlimit64-success.gen.test \ prlimit64-success--pidns-translation.gen.test \ process_madvise.gen.test process_madvise-y.gen.test \ - process_madvise-yy.gen.test process_vm_readv.gen.test \ + process_madvise-yy.gen.test process_mrelease.gen.test \ + process_mrelease-y.gen.test process_vm_readv.gen.test \ process_vm_readv--pidns-translation.gen.test \ process_vm_writev.gen.test \ process_vm_writev--pidns-translation.gen.test \ pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test \ - ptrace_syscall_info.gen.test pwritev.gen.test \ - quotactl.gen.test quotactl-success.gen.test \ - quotactl-success-v.gen.test quotactl-Xabbrev.gen.test \ + ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test \ + ptrace-Xverbose.gen.test ptrace-y.gen.test \ + ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test \ + ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test \ + ptrace_syscall_info-Xabbrev.gen.test \ + ptrace_syscall_info-Xraw.gen.test \ + ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test \ + quotactl.gen.test quotactl-Xabbrev.gen.test \ quotactl-Xraw.gen.test quotactl-Xverbose.gen.test \ + quotactl-success.gen.test quotactl-success-v.gen.test \ quotactl-v.gen.test quotactl-xfs.gen.test \ quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test \ quotactl-xfs-v.gen.test quotactl_fd.gen.test \ @@ -7884,12 +9702,15 @@ sched_xetscheduler--pidns-translation.gen.test \ sched_yield.gen.test seccomp-filter.gen.test \ seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test \ - select.gen.test select-P.gen.test semop.gen.test \ - semop-indirect.gen.test semtimedop.gen.test \ + seccomp_get_notif_sizes.gen.test \ + seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test \ + segv_pkuerr.gen.test select.gen.test select-P.gen.test \ + semop.gen.test semop-indirect.gen.test semtimedop.gen.test \ semtimedop-ipc.gen.test semtimedop_time64.gen.test \ sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test \ set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test \ - set_mempolicy-Xverbose.gen.test setdomainname.gen.test \ + set_mempolicy-Xverbose.gen.test \ + set_mempolicy_home_node.gen.test setdomainname.gen.test \ setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test \ setfsuid32.gen.test setgid.gen.test setgid32.gen.test \ setgroups.gen.test setgroups32.gen.test sethostname.gen.test \ @@ -7909,8 +9730,17 @@ so_peercred-Xverbose.gen.test sock_filter-v.gen.test \ sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test \ sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test \ - sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test \ - socketcall.gen.test sockopt-sol_netlink.gen.test \ + sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test \ + sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test \ + sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test \ + sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test \ + sockopt-sol_socket-Xabbrev.gen.test \ + sockopt-sol_socket-Xraw.gen.test \ + sockopt-sol_socket-Xverbose.gen.test \ + sockopt-sol_socket-success.gen.test \ + sockopt-sol_socket-success-Xabbrev.gen.test \ + sockopt-sol_socket-success-Xraw.gen.test \ + sockopt-sol_socket-success-Xverbose.gen.test \ sockopt-timestamp.gen.test splice.gen.test stat.gen.test \ stat64.gen.test statfs.gen.test statfs64.gen.test \ status-all.gen.test status-failed.gen.test \ @@ -7928,6 +9758,7 @@ strace--absolute-timestamps-format-unix-precision-ns.gen.test \ strace--absolute-timestamps-format-unix-precision-s.gen.test \ strace--absolute-timestamps-format-unix-precision-us.gen.test \ + strace--decode-pids-comm.gen.test \ strace--follow-forks-output-separately.gen.test \ strace--relative-timestamps.gen.test \ strace--relative-timestamps-ms.gen.test \ @@ -7937,6 +9768,8 @@ strace--strings-in-hex.gen.test \ strace--strings-in-hex-all.gen.test \ strace--strings-in-hex-non-ascii.gen.test \ + strace--strings-in-hex-non-ascii-chars.gen.test \ + strace--strings-in-hex-none.gen.test \ strace--syscall-times.gen.test \ strace--syscall-times-ms.gen.test \ strace--syscall-times-ns.gen.test \ @@ -7950,25 +9783,37 @@ strace--timestamps-unix-ms.gen.test \ strace--timestamps-unix-ns.gen.test \ strace--timestamps-unix-s.gen.test \ - strace--timestamps-unix-us.gen.test strace-n.gen.test \ - strace-x.gen.test strace-xx.gen.test swap.gen.test \ - sxetmask.gen.test symlink.gen.test symlinkat.gen.test \ - sync.gen.test sync_file_range.gen.test \ - sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test \ - tee.gen.test tgkill.gen.test \ + strace--timestamps-unix-us.gen.test \ + strace-Y-0123456789.gen.test strace-n.gen.test \ + strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test \ + swap.gen.test sxetmask.gen.test symlink.gen.test \ + symlinkat.gen.test sync.gen.test sync_file_range.gen.test \ + sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test \ + syslog.gen.test tee.gen.test tgkill.gen.test \ tgkill--pidns-translation.gen.test \ threads-execve--quiet-thread-execve.gen.test \ threads-execve-q.gen.test threads-execve-qq.gen.test \ threads-execve-qqq.gen.test time.gen.test \ timer_create.gen.test timer_xettime.gen.test \ - timerfd_xettime.gen.test times.gen.test times-fail.gen.test \ - tkill.gen.test tkill--pidns-translation.gen.test \ - trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test \ + timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test \ + times-Xraw.gen.test times-Xverbose.gen.test \ + times-fail.gen.test tkill.gen.test \ + tkill--pidns-translation.gen.test trace_clock.gen.test \ + trace_creds.gen.test trace_fstat.gen.test \ trace_fstatfs.gen.test trace_lstat.gen.test \ trace_personality_32.gen.test trace_personality_64.gen.test \ + trace_personality_all_32.gen.test \ + trace_personality_all_64.gen.test \ + trace_personality_all_x32.gen.test \ + trace_personality_number_32.gen.test \ + trace_personality_number_64.gen.test \ + trace_personality_number_x32.gen.test \ trace_personality_regex_32.gen.test \ trace_personality_regex_64.gen.test \ trace_personality_regex_x32.gen.test \ + trace_personality_statfs_32.gen.test \ + trace_personality_statfs_64.gen.test \ + trace_personality_statfs_x32.gen.test \ trace_personality_x32.gen.test trace_question.gen.test \ trace_stat.gen.test trace_stat_like.gen.test \ trace_statfs.gen.test trace_statfs_like.gen.test \ @@ -7981,9 +9826,9 @@ utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test \ utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test \ vhangup.gen.test vmsplice.gen.test wait4.gen.test \ - wait4-v.gen.test waitid.gen.test waitid-v.gen.test \ - waitpid.gen.test xattr.gen.test xattr-strings.gen.test \ - xet_robust_list.gen.test \ + wait4-v.gen.test waitid.gen.test waitid-Y.gen.test \ + waitid-v.gen.test waitpid.gen.test xattr.gen.test \ + xattr-strings.gen.test xet_robust_list.gen.test \ xet_robust_list--pidns-translation.gen.test xetitimer.gen.test \ xetpgid.gen.test xetpgid--pidns-translation.gen.test \ xetpriority.gen.test xetpriority--pidns-translation.gen.test \ @@ -8115,6 +9960,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -8123,11 +9970,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -8155,6 +10003,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -8162,6 +10011,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -8187,11 +10037,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -8202,6 +10054,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -8232,12 +10085,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -8247,8 +10101,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -8256,9 +10113,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \ @@ -8365,6 +10228,14 @@ @rm -f access--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(access__secontext_full_OBJECTS) $(access__secontext_full_LDADD) $(LIBS) +access--secontext_full_mismatch$(EXEEXT): $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_full_mismatch_DEPENDENCIES) + @rm -f access--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_LDADD) $(LIBS) + +access--secontext_mismatch$(EXEEXT): $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_mismatch_DEPENDENCIES) + @rm -f access--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_LDADD) $(LIBS) + acct$(EXEEXT): $(acct_OBJECTS) $(acct_DEPENDENCIES) $(EXTRA_acct_DEPENDENCIES) @rm -f acct$(EXEEXT) $(AM_V_CCLD)$(LINK) $(acct_OBJECTS) $(acct_LDADD) $(LIBS) @@ -8393,6 +10264,42 @@ @rm -f answer$(EXEEXT) $(AM_V_CCLD)$(LINK) $(answer_OBJECTS) $(answer_LDADD) $(LIBS) +arch_prctl$(EXEEXT): $(arch_prctl_OBJECTS) $(arch_prctl_DEPENDENCIES) $(EXTRA_arch_prctl_DEPENDENCIES) + @rm -f arch_prctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_OBJECTS) $(arch_prctl_LDADD) $(LIBS) + +arch_prctl-Xabbrev$(EXEEXT): $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_LDADD) $(LIBS) + +arch_prctl-Xraw$(EXEEXT): $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_Xraw_DEPENDENCIES) + @rm -f arch_prctl-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_LDADD) $(LIBS) + +arch_prctl-Xverbose$(EXEEXT): $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_LDADD) $(LIBS) + +arch_prctl-success$(EXEEXT): $(arch_prctl_success_OBJECTS) $(arch_prctl_success_DEPENDENCIES) $(EXTRA_arch_prctl_success_DEPENDENCIES) + @rm -f arch_prctl-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_OBJECTS) $(arch_prctl_success_LDADD) $(LIBS) + +arch_prctl-success-Xabbrev$(EXEEXT): $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_LDADD) $(LIBS) + +arch_prctl-success-Xraw$(EXEEXT): $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xraw_DEPENDENCIES) + @rm -f arch_prctl-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_LDADD) $(LIBS) + +arch_prctl-success-Xverbose$(EXEEXT): $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_LDADD) $(LIBS) + +at_fdcwd-pathmax$(EXEEXT): $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_DEPENDENCIES) $(EXTRA_at_fdcwd_pathmax_DEPENDENCIES) + @rm -f at_fdcwd-pathmax$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_LDADD) $(LIBS) + attach-f-p$(EXEEXT): $(attach_f_p_OBJECTS) $(attach_f_p_DEPENDENCIES) $(EXTRA_attach_f_p_DEPENDENCIES) @rm -f attach-f-p$(EXEEXT) $(AM_V_CCLD)$(LINK) $(attach_f_p_OBJECTS) $(attach_f_p_LDADD) $(LIBS) @@ -8493,6 +10400,14 @@ @rm -f chmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_OBJECTS) $(chmod__secontext_full_LDADD) $(LIBS) +chmod--secontext_full_mismatch$(EXEEXT): $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_LDADD) $(LIBS) + +chmod--secontext_mismatch$(EXEEXT): $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_LDADD) $(LIBS) + chown$(EXEEXT): $(chown_OBJECTS) $(chown_DEPENDENCIES) $(EXTRA_chown_DEPENDENCIES) @rm -f chown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chown_OBJECTS) $(chown_LDADD) $(LIBS) @@ -8621,10 +10536,18 @@ @rm -f delete_module$(EXEEXT) $(AM_V_CCLD)$(LINK) $(delete_module_OBJECTS) $(delete_module_LDADD) $(LIBS) +dev--decode-fds-all$(EXEEXT): $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_DEPENDENCIES) $(EXTRA_dev__decode_fds_all_DEPENDENCIES) + @rm -f dev--decode-fds-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_LDADD) $(LIBS) + dev--decode-fds-dev$(EXEEXT): $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_DEPENDENCIES) $(EXTRA_dev__decode_fds_dev_DEPENDENCIES) @rm -f dev--decode-fds-dev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_LDADD) $(LIBS) +dev--decode-fds-none$(EXEEXT): $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_DEPENDENCIES) $(EXTRA_dev__decode_fds_none_DEPENDENCIES) + @rm -f dev--decode-fds-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_LDADD) $(LIBS) + dev--decode-fds-path$(EXEEXT): $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_DEPENDENCIES) $(EXTRA_dev__decode_fds_path_DEPENDENCIES) @rm -f dev--decode-fds-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_LDADD) $(LIBS) @@ -8737,6 +10660,14 @@ @rm -f execve--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve__secontext_full_OBJECTS) $(execve__secontext_full_LDADD) $(LIBS) +execve--secontext_full_mismatch$(EXEEXT): $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_full_mismatch_DEPENDENCIES) + @rm -f execve--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_LDADD) $(LIBS) + +execve--secontext_mismatch$(EXEEXT): $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_mismatch_DEPENDENCIES) + @rm -f execve--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_LDADD) $(LIBS) + execve-v$(EXEEXT): $(execve_v_OBJECTS) $(execve_v_DEPENDENCIES) $(EXTRA_execve_v_DEPENDENCIES) @rm -f execve-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve_v_OBJECTS) $(execve_v_LDADD) $(LIBS) @@ -8753,6 +10684,14 @@ @rm -f execveat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_OBJECTS) $(execveat__secontext_full_LDADD) $(LIBS) +execveat--secontext_full_mismatch$(EXEEXT): $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_full_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_LDADD) $(LIBS) + +execveat--secontext_mismatch$(EXEEXT): $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_LDADD) $(LIBS) + execveat-v$(EXEEXT): $(execveat_v_OBJECTS) $(execveat_v_DEPENDENCIES) $(EXTRA_execveat_v_DEPENDENCIES) @rm -f execveat-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat_v_OBJECTS) $(execveat_v_LDADD) $(LIBS) @@ -8769,6 +10708,14 @@ @rm -f faccessat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_OBJECTS) $(faccessat__secontext_full_LDADD) $(LIBS) +faccessat--secontext_full_mismatch$(EXEEXT): $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat--secontext_mismatch$(EXEEXT): $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_LDADD) $(LIBS) + faccessat-P$(EXEEXT): $(faccessat_P_OBJECTS) $(faccessat_P_DEPENDENCIES) $(EXTRA_faccessat_P_DEPENDENCIES) @rm -f faccessat-P$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_P_OBJECTS) $(faccessat_P_LDADD) $(LIBS) @@ -8785,6 +10732,14 @@ @rm -f faccessat-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_OBJECTS) $(faccessat_y__secontext_full_LDADD) $(LIBS) +faccessat-y--secontext_full_mismatch$(EXEEXT): $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat-y--secontext_mismatch$(EXEEXT): $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_LDADD) $(LIBS) + faccessat-yy$(EXEEXT): $(faccessat_yy_OBJECTS) $(faccessat_yy_DEPENDENCIES) $(EXTRA_faccessat_yy_DEPENDENCIES) @rm -f faccessat-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_yy_OBJECTS) $(faccessat_yy_LDADD) $(LIBS) @@ -8833,6 +10788,14 @@ @rm -f fanotify_mark--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_OBJECTS) $(fanotify_mark__secontext_full_LDADD) $(LIBS) +fanotify_mark--secontext_full_mismatch$(EXEEXT): $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_full_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_LDADD) $(LIBS) + +fanotify_mark--secontext_mismatch$(EXEEXT): $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_LDADD) $(LIBS) + fanotify_mark-Xabbrev$(EXEEXT): $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_DEPENDENCIES) $(EXTRA_fanotify_mark_Xabbrev_DEPENDENCIES) @rm -f fanotify_mark-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_LDADD) $(LIBS) @@ -8861,6 +10824,14 @@ @rm -f fchmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_OBJECTS) $(fchmod__secontext_full_LDADD) $(LIBS) +fchmod--secontext_full_mismatch$(EXEEXT): $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod--secontext_mismatch$(EXEEXT): $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_LDADD) $(LIBS) + fchmod-y$(EXEEXT): $(fchmod_y_OBJECTS) $(fchmod_y_DEPENDENCIES) $(EXTRA_fchmod_y_DEPENDENCIES) @rm -f fchmod-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y_OBJECTS) $(fchmod_y_LDADD) $(LIBS) @@ -8873,6 +10844,14 @@ @rm -f fchmod-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_OBJECTS) $(fchmod_y__secontext_full_LDADD) $(LIBS) +fchmod-y--secontext_full_mismatch$(EXEEXT): $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod-y--secontext_mismatch$(EXEEXT): $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_LDADD) $(LIBS) + fchmodat$(EXEEXT): $(fchmodat_OBJECTS) $(fchmodat_DEPENDENCIES) $(EXTRA_fchmodat_DEPENDENCIES) @rm -f fchmodat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat_OBJECTS) $(fchmodat_LDADD) $(LIBS) @@ -8885,6 +10864,14 @@ @rm -f fchmodat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_OBJECTS) $(fchmodat__secontext_full_LDADD) $(LIBS) +fchmodat--secontext_full_mismatch$(EXEEXT): $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_LDADD) $(LIBS) + +fchmodat--secontext_mismatch$(EXEEXT): $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_LDADD) $(LIBS) + fchown$(EXEEXT): $(fchown_OBJECTS) $(fchown_DEPENDENCIES) $(EXTRA_fchown_DEPENDENCIES) @rm -f fchown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchown_OBJECTS) $(fchown_LDADD) $(LIBS) @@ -8905,6 +10892,14 @@ @rm -f fchownat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_OBJECTS) $(fchownat__secontext_full_LDADD) $(LIBS) +fchownat--secontext_full_mismatch$(EXEEXT): $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_LDADD) $(LIBS) + +fchownat--secontext_mismatch$(EXEEXT): $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_LDADD) $(LIBS) + fcntl$(EXEEXT): $(fcntl_OBJECTS) $(fcntl_DEPENDENCIES) $(EXTRA_fcntl_DEPENDENCIES) @rm -f fcntl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fcntl_OBJECTS) $(fcntl_LDADD) $(LIBS) @@ -8941,6 +10936,14 @@ @rm -f file_handle--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_OBJECTS) $(file_handle__secontext_full_LDADD) $(LIBS) +file_handle--secontext_full_mismatch$(EXEEXT): $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_full_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_LDADD) $(LIBS) + +file_handle--secontext_mismatch$(EXEEXT): $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_LDADD) $(LIBS) + filter-unavailable$(EXEEXT): $(filter_unavailable_OBJECTS) $(filter_unavailable_DEPENDENCIES) $(EXTRA_filter_unavailable_DEPENDENCIES) @rm -f filter-unavailable$(EXEEXT) $(AM_V_CCLD)$(LINK) $(filter_unavailable_OBJECTS) $(filter_unavailable_LDADD) $(LIBS) @@ -9057,6 +11060,10 @@ @rm -f futex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futex_OBJECTS) $(futex_LDADD) $(LIBS) +futex_waitv$(EXEEXT): $(futex_waitv_OBJECTS) $(futex_waitv_DEPENDENCIES) $(EXTRA_futex_waitv_DEPENDENCIES) + @rm -f futex_waitv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(futex_waitv_OBJECTS) $(futex_waitv_LDADD) $(LIBS) + futimesat$(EXEEXT): $(futimesat_OBJECTS) $(futimesat_DEPENDENCIES) $(EXTRA_futimesat_DEPENDENCIES) @rm -f futimesat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futimesat_OBJECTS) $(futimesat_LDADD) $(LIBS) @@ -9189,6 +11196,22 @@ @rm -f getsockname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(getsockname_OBJECTS) $(getsockname_LDADD) $(LIBS) +getsockname--secontext$(EXEEXT): $(getsockname__secontext_OBJECTS) $(getsockname__secontext_DEPENDENCIES) $(EXTRA_getsockname__secontext_DEPENDENCIES) + @rm -f getsockname--secontext$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_OBJECTS) $(getsockname__secontext_LDADD) $(LIBS) + +getsockname--secontext_full$(EXEEXT): $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_DEPENDENCIES) + @rm -f getsockname--secontext_full$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_LDADD) $(LIBS) + +getsockname--secontext_full_mismatch$(EXEEXT): $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_LDADD) $(LIBS) + +getsockname--secontext_mismatch$(EXEEXT): $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_LDADD) $(LIBS) + gettid$(EXEEXT): $(gettid_OBJECTS) $(gettid_DEPENDENCIES) $(EXTRA_gettid_DEPENDENCIES) @rm -f gettid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gettid_OBJECTS) $(gettid_LDADD) $(LIBS) @@ -9265,6 +11288,34 @@ @rm -f io_uring_register$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_register_OBJECTS) $(io_uring_register_LDADD) $(LIBS) +io_uring_register-Xabbrev$(EXEEXT): $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_LDADD) $(LIBS) + +io_uring_register-Xraw$(EXEEXT): $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_Xraw_DEPENDENCIES) + @rm -f io_uring_register-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_LDADD) $(LIBS) + +io_uring_register-Xverbose$(EXEEXT): $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_LDADD) $(LIBS) + +io_uring_register-success$(EXEEXT): $(io_uring_register_success_OBJECTS) $(io_uring_register_success_DEPENDENCIES) $(EXTRA_io_uring_register_success_DEPENDENCIES) + @rm -f io_uring_register-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_OBJECTS) $(io_uring_register_success_LDADD) $(LIBS) + +io_uring_register-success-Xabbrev$(EXEEXT): $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_LDADD) $(LIBS) + +io_uring_register-success-Xraw$(EXEEXT): $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xraw_DEPENDENCIES) + @rm -f io_uring_register-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_LDADD) $(LIBS) + +io_uring_register-success-Xverbose$(EXEEXT): $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_LDADD) $(LIBS) + io_uring_setup$(EXEEXT): $(io_uring_setup_OBJECTS) $(io_uring_setup_DEPENDENCIES) $(EXTRA_io_uring_setup_DEPENDENCIES) @rm -f io_uring_setup$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_setup_OBJECTS) $(io_uring_setup_LDADD) $(LIBS) @@ -9281,6 +11332,22 @@ @rm -f ioctl_block--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_block__pidns_translation_OBJECTS) $(ioctl_block__pidns_translation_LDADD) $(LIBS) +ioctl_counter$(EXEEXT): $(ioctl_counter_OBJECTS) $(ioctl_counter_DEPENDENCIES) $(EXTRA_ioctl_counter_DEPENDENCIES) + @rm -f ioctl_counter$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_OBJECTS) $(ioctl_counter_LDADD) $(LIBS) + +ioctl_counter-Xabbrev$(EXEEXT): $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_counter_Xabbrev_DEPENDENCIES) + @rm -f ioctl_counter-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_LDADD) $(LIBS) + +ioctl_counter-Xraw$(EXEEXT): $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_DEPENDENCIES) $(EXTRA_ioctl_counter_Xraw_DEPENDENCIES) + @rm -f ioctl_counter-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_LDADD) $(LIBS) + +ioctl_counter-Xverbose$(EXEEXT): $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_counter_Xverbose_DEPENDENCIES) + @rm -f ioctl_counter-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_LDADD) $(LIBS) + ioctl_dm$(EXEEXT): $(ioctl_dm_OBJECTS) $(ioctl_dm_DEPENDENCIES) $(EXTRA_ioctl_dm_DEPENDENCIES) @rm -f ioctl_dm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_dm_OBJECTS) $(ioctl_dm_LDADD) $(LIBS) @@ -9581,6 +11648,54 @@ @rm -f ioctl_inotify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_inotify_OBJECTS) $(ioctl_inotify_LDADD) $(LIBS) +ioctl_kd$(EXEEXT): $(ioctl_kd_OBJECTS) $(ioctl_kd_DEPENDENCIES) $(EXTRA_ioctl_kd_DEPENDENCIES) + @rm -f ioctl_kd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_OBJECTS) $(ioctl_kd_LDADD) $(LIBS) + +ioctl_kd-Xabbrev$(EXEEXT): $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-Xraw$(EXEEXT): $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_LDADD) $(LIBS) + +ioctl_kd-Xverbose$(EXEEXT): $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success$(EXEEXT): $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_DEPENDENCIES) $(EXTRA_ioctl_kd_success_DEPENDENCIES) + @rm -f ioctl_kd-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_LDADD) $(LIBS) + +ioctl_kd-success-Xabbrev$(EXEEXT): $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-Xraw$(EXEEXT): $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-Xverbose$(EXEEXT): $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success-s1024$(EXEEXT): $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xabbrev$(EXEEXT): $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xraw$(EXEEXT): $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xverbose$(EXEEXT): $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_LDADD) $(LIBS) + ioctl_kvm_run$(EXEEXT): $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_DEPENDENCIES) $(EXTRA_ioctl_kvm_run_DEPENDENCIES) @rm -f ioctl_kvm_run$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_LDADD) $(LIBS) @@ -9593,6 +11708,14 @@ @rm -f ioctl_kvm_run_auxstr_vcpu$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_auxstr_vcpu_OBJECTS) $(ioctl_kvm_run_auxstr_vcpu_LDADD) $(LIBS) +ioctl_lirc$(EXEEXT): $(ioctl_lirc_OBJECTS) $(ioctl_lirc_DEPENDENCIES) $(EXTRA_ioctl_lirc_DEPENDENCIES) + @rm -f ioctl_lirc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_OBJECTS) $(ioctl_lirc_LDADD) $(LIBS) + +ioctl_lirc-success$(EXEEXT): $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_DEPENDENCIES) $(EXTRA_ioctl_lirc_success_DEPENDENCIES) + @rm -f ioctl_lirc-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_LDADD) $(LIBS) + ioctl_loop$(EXEEXT): $(ioctl_loop_OBJECTS) $(ioctl_loop_DEPENDENCIES) $(EXTRA_ioctl_loop_DEPENDENCIES) @rm -f ioctl_loop$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_loop_OBJECTS) $(ioctl_loop_LDADD) $(LIBS) @@ -9633,6 +11756,34 @@ @rm -f ioctl_ptp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ptp_OBJECTS) $(ioctl_ptp_LDADD) $(LIBS) +ioctl_ptp-Xabbrev$(EXEEXT): $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-Xraw$(EXEEXT): $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_LDADD) $(LIBS) + +ioctl_ptp-Xverbose$(EXEEXT): $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_LDADD) $(LIBS) + +ioctl_ptp-success$(EXEEXT): $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_DEPENDENCIES) + @rm -f ioctl_ptp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_LDADD) $(LIBS) + +ioctl_ptp-success-Xabbrev$(EXEEXT): $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-success-Xraw$(EXEEXT): $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_LDADD) $(LIBS) + +ioctl_ptp-success-Xverbose$(EXEEXT): $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_LDADD) $(LIBS) + ioctl_random$(EXEEXT): $(ioctl_random_OBJECTS) $(ioctl_random_DEPENDENCIES) $(EXTRA_ioctl_random_DEPENDENCIES) @rm -f ioctl_random$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_random_OBJECTS) $(ioctl_random_LDADD) $(LIBS) @@ -9653,6 +11804,54 @@ @rm -f ioctl_scsi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_scsi_OBJECTS) $(ioctl_scsi_LDADD) $(LIBS) +ioctl_seccomp$(EXEEXT): $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_DEPENDENCIES) $(EXTRA_ioctl_seccomp_DEPENDENCIES) + @rm -f ioctl_seccomp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_LDADD) $(LIBS) + +ioctl_seccomp--pidns-translation$(EXEEXT): $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-success$(EXEEXT): $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_success_DEPENDENCIES) + @rm -f ioctl_seccomp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_LDADD) $(LIBS) + +ioctl_seccomp-y$(EXEEXT): $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_DEPENDENCIES) + @rm -f ioctl_seccomp-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_LDADD) $(LIBS) + +ioctl_seccomp-y-success$(EXEEXT): $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xraw$(EXEEXT): $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_LDADD) $(LIBS) + ioctl_sg_io_v3$(EXEEXT): $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_DEPENDENCIES) $(EXTRA_ioctl_sg_io_v3_DEPENDENCIES) @rm -f ioctl_sg_io_v3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_LDADD) $(LIBS) @@ -9673,6 +11872,18 @@ @rm -f ioctl_tee$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_tee_OBJECTS) $(ioctl_tee_LDADD) $(LIBS) +ioctl_termios$(EXEEXT): $(ioctl_termios_OBJECTS) $(ioctl_termios_DEPENDENCIES) $(EXTRA_ioctl_termios_DEPENDENCIES) + @rm -f ioctl_termios$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_OBJECTS) $(ioctl_termios_LDADD) $(LIBS) + +ioctl_termios-v$(EXEEXT): $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_DEPENDENCIES) $(EXTRA_ioctl_termios_v_DEPENDENCIES) + @rm -f ioctl_termios-v$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_LDADD) $(LIBS) + +ioctl_tiocm$(EXEEXT): $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_DEPENDENCIES) $(EXTRA_ioctl_tiocm_DEPENDENCIES) + @rm -f ioctl_tiocm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_LDADD) $(LIBS) + ioctl_ubi$(EXEEXT): $(ioctl_ubi_OBJECTS) $(ioctl_ubi_DEPENDENCIES) $(EXTRA_ioctl_ubi_DEPENDENCIES) @rm -f ioctl_ubi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ubi_OBJECTS) $(ioctl_ubi_LDADD) $(LIBS) @@ -9753,6 +11964,10 @@ @rm -f ioctl_watchdog$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_watchdog_OBJECTS) $(ioctl_watchdog_LDADD) $(LIBS) +ioctl_winsize$(EXEEXT): $(ioctl_winsize_OBJECTS) $(ioctl_winsize_DEPENDENCIES) $(EXTRA_ioctl_winsize_DEPENDENCIES) + @rm -f ioctl_winsize$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_winsize_OBJECTS) $(ioctl_winsize_LDADD) $(LIBS) + ioperm$(EXEEXT): $(ioperm_OBJECTS) $(ioperm_DEPENDENCIES) $(EXTRA_ioperm_DEPENDENCIES) @rm -f ioperm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioperm_OBJECTS) $(ioperm_LDADD) $(LIBS) @@ -9985,6 +12200,14 @@ @rm -f linkat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_OBJECTS) $(linkat__secontext_full_LDADD) $(LIBS) +linkat--secontext_full_mismatch$(EXEEXT): $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_full_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_LDADD) $(LIBS) + +linkat--secontext_mismatch$(EXEEXT): $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_LDADD) $(LIBS) + list_sigaction_signum$(EXEEXT): $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_DEPENDENCIES) $(EXTRA_list_sigaction_signum_DEPENDENCIES) @rm -f list_sigaction_signum$(EXEEXT) $(AM_V_CCLD)$(LINK) $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_LDADD) $(LIBS) @@ -10257,6 +12480,10 @@ @rm -f nanosleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nanosleep_OBJECTS) $(nanosleep_LDADD) $(LIBS) +net--decode-fds-all-netlink$(EXEEXT): $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_all_netlink_DEPENDENCIES) + @rm -f net--decode-fds-all-netlink$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_LDADD) $(LIBS) + net--decode-fds-dev-netlink$(EXEEXT): $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_dev_netlink_DEPENDENCIES) @rm -f net--decode-fds-dev-netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_LDADD) $(LIBS) @@ -10449,6 +12676,22 @@ @rm -f nlattr_br_port_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_br_port_msg_OBJECTS) $(nlattr_br_port_msg_LDADD) $(LIBS) +nlattr_cachereport$(EXEEXT): $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_DEPENDENCIES) $(EXTRA_nlattr_cachereport_DEPENDENCIES) + @rm -f nlattr_cachereport$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_LDADD) $(LIBS) + +nlattr_cachereport-Xabbrev$(EXEEXT): $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_cachereport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_LDADD) $(LIBS) + +nlattr_cachereport-Xraw$(EXEEXT): $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xraw_DEPENDENCIES) + @rm -f nlattr_cachereport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_LDADD) $(LIBS) + +nlattr_cachereport-Xverbose$(EXEEXT): $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xverbose_DEPENDENCIES) + @rm -f nlattr_cachereport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_LDADD) $(LIBS) + nlattr_crypto_user_alg$(EXEEXT): $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_DEPENDENCIES) $(EXTRA_nlattr_crypto_user_alg_DEPENDENCIES) @rm -f nlattr_crypto_user_alg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_LDADD) $(LIBS) @@ -10481,6 +12724,18 @@ @rm -f nlattr_ifla_brport$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_OBJECTS) $(nlattr_ifla_brport_LDADD) $(LIBS) +nlattr_ifla_brport-Xabbrev$(EXEEXT): $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_brport-Xraw$(EXEEXT): $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_LDADD) $(LIBS) + +nlattr_ifla_brport-Xverbose$(EXEEXT): $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_LDADD) $(LIBS) + nlattr_ifla_linkinfo$(EXEEXT): $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_linkinfo_DEPENDENCIES) @rm -f nlattr_ifla_linkinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_LDADD) $(LIBS) @@ -10489,10 +12744,42 @@ @rm -f nlattr_ifla_port$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_port_OBJECTS) $(nlattr_ifla_port_LDADD) $(LIBS) +nlattr_ifla_protinfo$(EXEEXT): $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xraw$(EXEEXT): $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xverbose$(EXEEXT): $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_proto_down_reason$(EXEEXT): $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_DEPENDENCIES) $(EXTRA_nlattr_ifla_proto_down_reason_DEPENDENCIES) @rm -f nlattr_ifla_proto_down_reason$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_LDADD) $(LIBS) +nlattr_ifla_vfinfo$(EXEEXT): $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xraw$(EXEEXT): $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xverbose$(EXEEXT): $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_xdp$(EXEEXT): $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_DEPENDENCIES) $(EXTRA_nlattr_ifla_xdp_DEPENDENCIES) @rm -f nlattr_ifla_xdp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_LDADD) $(LIBS) @@ -10501,6 +12788,22 @@ @rm -f nlattr_ifla_xdp-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_y_OBJECTS) $(nlattr_ifla_xdp_y_LDADD) $(LIBS) +nlattr_ifstats$(EXEEXT): $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_DEPENDENCIES) $(EXTRA_nlattr_ifstats_DEPENDENCIES) + @rm -f nlattr_ifstats$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_LDADD) $(LIBS) + +nlattr_ifstats-Xabbrev$(EXEEXT): $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifstats-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_LDADD) $(LIBS) + +nlattr_ifstats-Xraw$(EXEEXT): $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xraw_DEPENDENCIES) + @rm -f nlattr_ifstats-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_LDADD) $(LIBS) + +nlattr_ifstats-Xverbose$(EXEEXT): $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifstats-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_LDADD) $(LIBS) + nlattr_inet_diag_msg$(EXEEXT): $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_DEPENDENCIES) $(EXTRA_nlattr_inet_diag_msg_DEPENDENCIES) @rm -f nlattr_inet_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_LDADD) $(LIBS) @@ -10537,6 +12840,22 @@ @rm -f nlattr_netlink_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_netlink_diag_msg_OBJECTS) $(nlattr_netlink_diag_msg_LDADD) $(LIBS) +nlattr_nhmsg$(EXEEXT): $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_DEPENDENCIES) + @rm -f nlattr_nhmsg$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_LDADD) $(LIBS) + +nlattr_nhmsg-Xabbrev$(EXEEXT): $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xabbrev_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_LDADD) $(LIBS) + +nlattr_nhmsg-Xraw$(EXEEXT): $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xraw_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_LDADD) $(LIBS) + +nlattr_nhmsg-Xverbose$(EXEEXT): $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xverbose_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_LDADD) $(LIBS) + nlattr_nlmsgerr$(EXEEXT): $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_DEPENDENCIES) $(EXTRA_nlattr_nlmsgerr_DEPENDENCIES) @rm -f nlattr_nlmsgerr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_LDADD) $(LIBS) @@ -10649,6 +12968,14 @@ @rm -f open--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open__secontext_full_OBJECTS) $(open__secontext_full_LDADD) $(LIBS) +open--secontext_full_mismatch$(EXEEXT): $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_full_mismatch_DEPENDENCIES) + @rm -f open--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_LDADD) $(LIBS) + +open--secontext_mismatch$(EXEEXT): $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_mismatch_DEPENDENCIES) + @rm -f open--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_LDADD) $(LIBS) + open_tree$(EXEEXT): $(open_tree_OBJECTS) $(open_tree_DEPENDENCIES) $(EXTRA_open_tree_DEPENDENCIES) @rm -f open_tree$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open_tree_OBJECTS) $(open_tree_LDADD) $(LIBS) @@ -10669,6 +12996,14 @@ @rm -f openat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat__secontext_full_OBJECTS) $(openat__secontext_full_LDADD) $(LIBS) +openat--secontext_full_mismatch$(EXEEXT): $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_full_mismatch_DEPENDENCIES) + @rm -f openat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_LDADD) $(LIBS) + +openat--secontext_mismatch$(EXEEXT): $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_mismatch_DEPENDENCIES) + @rm -f openat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_LDADD) $(LIBS) + openat2$(EXEEXT): $(openat2_OBJECTS) $(openat2_DEPENDENCIES) $(EXTRA_openat2_DEPENDENCIES) @rm -f openat2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat2_OBJECTS) $(openat2_LDADD) $(LIBS) @@ -10769,6 +13104,14 @@ @rm -f pidfd_open$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open_OBJECTS) $(pidfd_open_LDADD) $(LIBS) +pidfd_open--decode-fd-all$(EXEEXT): $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_all_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_LDADD) $(LIBS) + +pidfd_open--decode-fd-none$(EXEEXT): $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_none_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_LDADD) $(LIBS) + pidfd_open--decode-fd-path$(EXEEXT): $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_path_DEPENDENCIES) @rm -f pidfd_open--decode-fd-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_LDADD) $(LIBS) @@ -11053,6 +13396,42 @@ @rm -f prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS) $(prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD) $(LIBS) +prctl-set_vma$(EXEEXT): $(prctl_set_vma_OBJECTS) $(prctl_set_vma_DEPENDENCIES) $(EXTRA_prctl_set_vma_DEPENDENCIES) + @rm -f prctl-set_vma$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_set_vma_OBJECTS) $(prctl_set_vma_LDADD) $(LIBS) + +prctl-sme$(EXEEXT): $(prctl_sme_OBJECTS) $(prctl_sme_DEPENDENCIES) $(EXTRA_prctl_sme_DEPENDENCIES) + @rm -f prctl-sme$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_OBJECTS) $(prctl_sme_LDADD) $(LIBS) + +prctl-sme-Xabbrev$(EXEEXT): $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_LDADD) $(LIBS) + +prctl-sme-Xraw$(EXEEXT): $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_Xraw_DEPENDENCIES) + @rm -f prctl-sme-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_LDADD) $(LIBS) + +prctl-sme-Xverbose$(EXEEXT): $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_LDADD) $(LIBS) + +prctl-sme-success$(EXEEXT): $(prctl_sme_success_OBJECTS) $(prctl_sme_success_DEPENDENCIES) $(EXTRA_prctl_sme_success_DEPENDENCIES) + @rm -f prctl-sme-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_OBJECTS) $(prctl_sme_success_LDADD) $(LIBS) + +prctl-sme-success-Xabbrev$(EXEEXT): $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_LDADD) $(LIBS) + +prctl-sme-success-Xraw$(EXEEXT): $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xraw_DEPENDENCIES) + @rm -f prctl-sme-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_LDADD) $(LIBS) + +prctl-sme-success-Xverbose$(EXEEXT): $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_LDADD) $(LIBS) + prctl-spec-inject$(EXEEXT): $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_DEPENDENCIES) $(EXTRA_prctl_spec_inject_DEPENDENCIES) @rm -f prctl-spec-inject$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_LDADD) $(LIBS) @@ -11061,6 +13440,34 @@ @rm -f prctl-sve$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_sve_OBJECTS) $(prctl_sve_LDADD) $(LIBS) +prctl-sve-Xabbrev$(EXEEXT): $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_LDADD) $(LIBS) + +prctl-sve-Xraw$(EXEEXT): $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_Xraw_DEPENDENCIES) + @rm -f prctl-sve-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_LDADD) $(LIBS) + +prctl-sve-Xverbose$(EXEEXT): $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_LDADD) $(LIBS) + +prctl-sve-success$(EXEEXT): $(prctl_sve_success_OBJECTS) $(prctl_sve_success_DEPENDENCIES) $(EXTRA_prctl_sve_success_DEPENDENCIES) + @rm -f prctl-sve-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_OBJECTS) $(prctl_sve_success_LDADD) $(LIBS) + +prctl-sve-success-Xabbrev$(EXEEXT): $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_LDADD) $(LIBS) + +prctl-sve-success-Xraw$(EXEEXT): $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xraw_DEPENDENCIES) + @rm -f prctl-sve-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_LDADD) $(LIBS) + +prctl-sve-success-Xverbose$(EXEEXT): $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_LDADD) $(LIBS) + prctl-syscall-user-dispatch$(EXEEXT): $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_DEPENDENCIES) $(EXTRA_prctl_syscall_user_dispatch_DEPENDENCIES) @rm -f prctl-syscall-user-dispatch$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_LDADD) $(LIBS) @@ -11201,6 +13608,14 @@ @rm -f process_madvise-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_madvise_yy_OBJECTS) $(process_madvise_yy_LDADD) $(LIBS) +process_mrelease$(EXEEXT): $(process_mrelease_OBJECTS) $(process_mrelease_DEPENDENCIES) $(EXTRA_process_mrelease_DEPENDENCIES) + @rm -f process_mrelease$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_OBJECTS) $(process_mrelease_LDADD) $(LIBS) + +process_mrelease-y$(EXEEXT): $(process_mrelease_y_OBJECTS) $(process_mrelease_y_DEPENDENCIES) $(EXTRA_process_mrelease_y_DEPENDENCIES) + @rm -f process_mrelease-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_y_OBJECTS) $(process_mrelease_y_LDADD) $(LIBS) + process_vm_readv$(EXEEXT): $(process_vm_readv_OBJECTS) $(process_vm_readv_DEPENDENCIES) $(EXTRA_process_vm_readv_DEPENDENCIES) @rm -f process_vm_readv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_vm_readv_OBJECTS) $(process_vm_readv_LDADD) $(LIBS) @@ -11229,10 +13644,50 @@ @rm -f ptrace$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_OBJECTS) $(ptrace_LDADD) $(LIBS) +ptrace-Xabbrev$(EXEEXT): $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_Xabbrev_DEPENDENCIES) + @rm -f ptrace-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_LDADD) $(LIBS) + +ptrace-Xraw$(EXEEXT): $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_DEPENDENCIES) $(EXTRA_ptrace_Xraw_DEPENDENCIES) + @rm -f ptrace-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_LDADD) $(LIBS) + +ptrace-Xverbose$(EXEEXT): $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_Xverbose_DEPENDENCIES) + @rm -f ptrace-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_LDADD) $(LIBS) + +ptrace-y$(EXEEXT): $(ptrace_y_OBJECTS) $(ptrace_y_DEPENDENCIES) $(EXTRA_ptrace_y_DEPENDENCIES) + @rm -f ptrace-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_OBJECTS) $(ptrace_y_LDADD) $(LIBS) + +ptrace-y-Xabbrev$(EXEEXT): $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_y_Xabbrev_DEPENDENCIES) + @rm -f ptrace-y-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_LDADD) $(LIBS) + +ptrace-y-Xraw$(EXEEXT): $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_DEPENDENCIES) $(EXTRA_ptrace_y_Xraw_DEPENDENCIES) + @rm -f ptrace-y-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_LDADD) $(LIBS) + +ptrace-y-Xverbose$(EXEEXT): $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_y_Xverbose_DEPENDENCIES) + @rm -f ptrace-y-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_LDADD) $(LIBS) + ptrace_syscall_info$(EXEEXT): $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_DEPENDENCIES) @rm -f ptrace_syscall_info$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_LDADD) $(LIBS) +ptrace_syscall_info-Xabbrev$(EXEEXT): $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xabbrev_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_LDADD) $(LIBS) + +ptrace_syscall_info-Xraw$(EXEEXT): $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xraw_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_LDADD) $(LIBS) + +ptrace_syscall_info-Xverbose$(EXEEXT): $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xverbose_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_LDADD) $(LIBS) + pwritev$(EXEEXT): $(pwritev_OBJECTS) $(pwritev_DEPENDENCIES) $(EXTRA_pwritev_DEPENDENCIES) @rm -f pwritev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pwritev_OBJECTS) $(pwritev_LDADD) $(LIBS) @@ -11541,6 +13996,22 @@ @rm -f seccomp_get_action_avail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(seccomp_get_action_avail_OBJECTS) $(seccomp_get_action_avail_LDADD) $(LIBS) +seccomp_get_notif_sizes$(EXEEXT): $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_LDADD) $(LIBS) + +seccomp_get_notif_sizes-success$(EXEEXT): $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_success_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_LDADD) $(LIBS) + +segv_accerr$(EXEEXT): $(segv_accerr_OBJECTS) $(segv_accerr_DEPENDENCIES) $(EXTRA_segv_accerr_DEPENDENCIES) + @rm -f segv_accerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_accerr_OBJECTS) $(segv_accerr_LDADD) $(LIBS) + +segv_pkuerr$(EXEEXT): $(segv_pkuerr_OBJECTS) $(segv_pkuerr_DEPENDENCIES) $(EXTRA_segv_pkuerr_DEPENDENCIES) + @rm -f segv_pkuerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_pkuerr_OBJECTS) $(segv_pkuerr_LDADD) $(LIBS) + select$(EXEEXT): $(select_OBJECTS) $(select_DEPENDENCIES) $(EXTRA_select_DEPENDENCIES) @rm -f select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(select_OBJECTS) $(select_LDADD) $(LIBS) @@ -11593,6 +14064,10 @@ @rm -f set_mempolicy-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_mempolicy_Xverbose_OBJECTS) $(set_mempolicy_Xverbose_LDADD) $(LIBS) +set_mempolicy_home_node$(EXEEXT): $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_DEPENDENCIES) $(EXTRA_set_mempolicy_home_node_DEPENDENCIES) + @rm -f set_mempolicy_home_node$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_LDADD) $(LIBS) + set_ptracer_any$(EXEEXT): $(set_ptracer_any_OBJECTS) $(set_ptracer_any_DEPENDENCIES) $(EXTRA_set_ptracer_any_DEPENDENCIES) @rm -f set_ptracer_any$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_ptracer_any_OBJECTS) $(set_ptracer_any_LDADD) $(LIBS) @@ -11813,14 +14288,26 @@ @rm -f sockaddr_xlat-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_OBJECTS) $(sockaddr_xlat_Xabbrev_LDADD) $(LIBS) +sockaddr_xlat-Xabbrev-y$(EXEEXT): $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xabbrev_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xabbrev-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_LDADD) $(LIBS) + sockaddr_xlat-Xraw$(EXEEXT): $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_DEPENDENCIES) @rm -f sockaddr_xlat-Xraw$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_LDADD) $(LIBS) +sockaddr_xlat-Xraw-y$(EXEEXT): $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xraw-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_LDADD) $(LIBS) + sockaddr_xlat-Xverbose$(EXEEXT): $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_DEPENDENCIES) @rm -f sockaddr_xlat-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_LDADD) $(LIBS) +sockaddr_xlat-Xverbose-y$(EXEEXT): $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xverbose-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_LDADD) $(LIBS) + socketcall$(EXEEXT): $(socketcall_OBJECTS) $(socketcall_DEPENDENCIES) $(EXTRA_socketcall_DEPENDENCIES) @rm -f socketcall$(EXEEXT) $(AM_V_CCLD)$(LINK) $(socketcall_OBJECTS) $(socketcall_LDADD) $(LIBS) @@ -11829,6 +14316,38 @@ @rm -f sockopt-sol_netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_sol_netlink_OBJECTS) $(sockopt_sol_netlink_LDADD) $(LIBS) +sockopt-sol_socket$(EXEEXT): $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_DEPENDENCIES) + @rm -f sockopt-sol_socket$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_LDADD) $(LIBS) + +sockopt-sol_socket-Xabbrev$(EXEEXT): $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-Xraw$(EXEEXT): $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-Xverbose$(EXEEXT): $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_LDADD) $(LIBS) + +sockopt-sol_socket-success$(EXEEXT): $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_DEPENDENCIES) + @rm -f sockopt-sol_socket-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xabbrev$(EXEEXT): $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xraw$(EXEEXT): $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xverbose$(EXEEXT): $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_LDADD) $(LIBS) + sockopt-timestamp$(EXEEXT): $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_DEPENDENCIES) $(EXTRA_sockopt_timestamp_DEPENDENCIES) @rm -f sockopt-timestamp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_LDADD) $(LIBS) @@ -11917,6 +14436,10 @@ @rm -f statx$(EXEEXT) $(AM_V_CCLD)$(LINK) $(statx_OBJECTS) $(statx_LDADD) $(LIBS) +strace--decode-pids-comm$(EXEEXT): $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_DEPENDENCIES) $(EXTRA_strace__decode_pids_comm_DEPENDENCIES) + @rm -f strace--decode-pids-comm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_LDADD) $(LIBS) + strace--strings-in-hex$(EXEEXT): $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_DEPENDENCIES) @rm -f strace--strings-in-hex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_LDADD) $(LIBS) @@ -11929,10 +14452,34 @@ @rm -f strace--strings-in-hex-non-ascii$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_OBJECTS) $(strace__strings_in_hex_non_ascii_LDADD) $(LIBS) +strace--strings-in-hex-non-ascii-chars$(EXEEXT): $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) + @rm -f strace--strings-in-hex-non-ascii-chars$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_LDADD) $(LIBS) + +strace--strings-in-hex-none$(EXEEXT): $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_none_DEPENDENCIES) + @rm -f strace--strings-in-hex-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_LDADD) $(LIBS) + +strace-Y-0123456789$(EXEEXT): $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_DEPENDENCIES) $(EXTRA_strace_Y_0123456789_DEPENDENCIES) + @rm -f strace-Y-0123456789$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_LDADD) $(LIBS) + strace-n$(EXEEXT): $(strace_n_OBJECTS) $(strace_n_DEPENDENCIES) $(EXTRA_strace_n_DEPENDENCIES) @rm -f strace-n$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_n_OBJECTS) $(strace_n_LDADD) $(LIBS) +strace-no-x$(EXEEXT): $(strace_no_x_OBJECTS) $(strace_no_x_DEPENDENCIES) $(EXTRA_strace_no_x_DEPENDENCIES) + @rm -f strace-no-x$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_no_x_OBJECTS) $(strace_no_x_LDADD) $(LIBS) + +strace-p-Y-p2$(EXEEXT): $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_DEPENDENCIES) $(EXTRA_strace_p_Y_p2_DEPENDENCIES) + @rm -f strace-p-Y-p2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_LDADD) $(LIBS) + +strace-p1-Y-p$(EXEEXT): $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_DEPENDENCIES) $(EXTRA_strace_p1_Y_p_DEPENDENCIES) + @rm -f strace-p1-Y-p$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_LDADD) $(LIBS) + strace-x$(EXEEXT): $(strace_x_OBJECTS) $(strace_x_DEPENDENCIES) $(EXTRA_strace_x_DEPENDENCIES) @rm -f strace-x$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_x_OBJECTS) $(strace_x_LDADD) $(LIBS) @@ -11969,6 +14516,10 @@ @rm -f sync_file_range2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sync_file_range2_OBJECTS) $(sync_file_range2_LDADD) $(LIBS) +sysctl$(EXEEXT): $(sysctl_OBJECTS) $(sysctl_DEPENDENCIES) $(EXTRA_sysctl_DEPENDENCIES) + @rm -f sysctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sysctl_OBJECTS) $(sysctl_LDADD) $(LIBS) + sysinfo$(EXEEXT): $(sysinfo_OBJECTS) $(sysinfo_DEPENDENCIES) $(EXTRA_sysinfo_DEPENDENCIES) @rm -f sysinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sysinfo_OBJECTS) $(sysinfo_LDADD) $(LIBS) @@ -12037,6 +14588,18 @@ @rm -f times$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_OBJECTS) $(times_LDADD) $(LIBS) +times-Xabbrev$(EXEEXT): $(times_Xabbrev_OBJECTS) $(times_Xabbrev_DEPENDENCIES) $(EXTRA_times_Xabbrev_DEPENDENCIES) + @rm -f times-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xabbrev_OBJECTS) $(times_Xabbrev_LDADD) $(LIBS) + +times-Xraw$(EXEEXT): $(times_Xraw_OBJECTS) $(times_Xraw_DEPENDENCIES) $(EXTRA_times_Xraw_DEPENDENCIES) + @rm -f times-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xraw_OBJECTS) $(times_Xraw_LDADD) $(LIBS) + +times-Xverbose$(EXEEXT): $(times_Xverbose_OBJECTS) $(times_Xverbose_DEPENDENCIES) $(EXTRA_times_Xverbose_DEPENDENCIES) + @rm -f times-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xverbose_OBJECTS) $(times_Xverbose_LDADD) $(LIBS) + times-fail$(EXEEXT): $(times_fail_OBJECTS) $(times_fail_DEPENDENCIES) $(EXTRA_times_fail_DEPENDENCIES) @rm -f times-fail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_fail_OBJECTS) $(times_fail_LDADD) $(LIBS) @@ -12197,6 +14760,10 @@ @rm -f waitid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_OBJECTS) $(waitid_LDADD) $(LIBS) +waitid-Y$(EXEEXT): $(waitid_Y_OBJECTS) $(waitid_Y_DEPENDENCIES) $(EXTRA_waitid_Y_DEPENDENCIES) + @rm -f waitid-Y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(waitid_Y_OBJECTS) $(waitid_Y_LDADD) $(LIBS) + waitid-v$(EXEEXT): $(waitid_v_OBJECTS) $(waitid_v_DEPENDENCIES) $(EXTRA_waitid_v_DEPENDENCIES) @rm -f waitid-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_v_OBJECTS) $(waitid_v_LDADD) $(LIBS) @@ -12265,6 +14832,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accept4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/acct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/add_key.Po@am__quote@ # am--include-marker @@ -12273,6 +14842,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aio_pgetevents.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/answer.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at_fdcwd-pathmax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p-cmd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-p-cmd-cmd.Po@am__quote@ # am--include-marker @@ -12297,6 +14875,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_sigign.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown32.Po@am__quote@ # am--include-marker @@ -12330,7 +14910,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/creat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delay.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delete_module.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-all.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-dev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev-yy.Po@am__quote@ # am--include-marker @@ -12358,17 +14940,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eventfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat.Po@am__quote@ # am--include-marker @@ -12382,6 +14972,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_init.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xverbose.Po@am__quote@ # am--include-marker @@ -12389,17 +14981,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchdir.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker @@ -12409,6 +15009,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fflush.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter-unavailable.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter_seccomp-flag.Po@am__quote@ # am--include-marker @@ -12439,6 +15041,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate64-ftruncate64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex_waitv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futimesat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_mempolicy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_process_reaper.Po@am__quote@ # am--include-marker @@ -12471,6 +15074,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrusage.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid.Po@am__quote@ # am--include-marker @@ -12490,11 +15097,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inotify_init1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_0x80.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_enter.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_setup.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_evdev-Xabbrev.Po@am__quote@ # am--include-marker @@ -12570,9 +15188,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_inotify.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-nv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop.Po@am__quote@ # am--include-marker @@ -12582,17 +15214,39 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_nsfs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_random.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_scsi.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock_gifconf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tee.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tiocm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_uffdio.Po@am__quote@ # am--include-marker @@ -12613,6 +15267,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_watchdog.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_winsize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioperm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iopl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioprio--pidns-translation.Po@am__quote@ # am--include-marker @@ -12667,6 +15322,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/landlock_restrict_self.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown32.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-clock_t_str.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_nl_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_tmpfile.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-dirfd.Po@am__quote@ # am--include-marker @@ -12707,6 +15363,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list_sigaction_signum.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/llseek.Po@am__quote@ # am--include-marker @@ -12776,6 +15434,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg_name.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/munlockall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-all-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-dev-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-none-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-path-netlink.Po@am__quote@ # am--include-marker @@ -12824,6 +15483,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfnetlink_ulog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_br_port_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_crypto_user_alg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_dcbmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_fib_rule_hdr.Po@am__quote@ # am--include-marker @@ -12831,12 +15494,27 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifaddrmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifinfomsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_af_spec.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_linkinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_port.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_compat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_v2.Po@am__quote@ # am--include-marker @@ -12846,6 +15524,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ndtmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netconfmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netlink_diag_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nlmsgerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_packet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_rtgenmsg.Po@am__quote@ # am--include-marker @@ -12873,11 +15555,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oldstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xraw.Po@am__quote@ # am--include-marker @@ -12903,6 +15589,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-socket.Po@am__quote@ # am--include-marker @@ -12975,7 +15663,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set_vma.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-spec-inject.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-syscall-user-dispatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po@am__quote@ # am--include-marker @@ -13012,13 +15716,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6_time64.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwritev-pwritev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qual_fault.Po@am__quote@ # am--include-marker @@ -13097,6 +15813,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-filter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-strict.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_action_avail.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_accerr.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_pkuerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/semop-indirect.Po@am__quote@ # am--include-marker @@ -13110,6 +15830,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy_home_node.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_ptracer_any.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigblock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigign.Po@am__quote@ # am--include-marker @@ -13164,11 +15885,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socketcall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_netlink.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-timestamp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/splice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stack-fcall-0.Po@am__quote@ # am--include-marker @@ -13199,10 +15931,17 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished-threads.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statx.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--decode-pids-comm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-Y-0123456789.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-n.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-no-x.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p-Y-p2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p1-Y-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-x.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-xx.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/swap.Po@am__quote@ # am--include-marker @@ -13212,6 +15951,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog.Po@am__quote@ # am--include-marker @@ -13228,6 +15968,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_create.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_xettime.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timerfd_xettime.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-fail.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tkill--pidns-translation.Po@am__quote@ # am--include-marker @@ -13269,6 +16012,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vmsplice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-Y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitpid.Po@am__quote@ # am--include-marker @@ -13307,6 +16051,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +libtests_a-clock_t_str.o: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.o -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c + +libtests_a-clock_t_str.obj: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.obj -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` + libtests_a-create_nl_socket.o: create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-create_nl_socket.o -MD -MP -MF $(DEPDIR)/libtests_a-create_nl_socket.Tpo -c -o libtests_a-create_nl_socket.o `test -f 'create_nl_socket.c' || echo '$(srcdir)/'`create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-create_nl_socket.Tpo $(DEPDIR)/libtests_a-create_nl_socket.Po @@ -14413,6 +17171,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -14421,6 +17181,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -14445,6 +17214,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -14478,7 +17249,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -14506,17 +17279,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -14530,6 +17311,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -14537,17 +17320,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -14557,6 +17348,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -14587,6 +17380,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -14619,6 +17413,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -14638,11 +17436,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -14718,9 +17527,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -14730,17 +17553,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -14761,6 +17606,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -14815,6 +17661,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -14855,6 +17702,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -14924,6 +17773,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -14972,6 +17822,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -14979,12 +17833,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -14994,6 +17863,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -15021,11 +17894,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -15051,6 +17928,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -15123,7 +18002,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -15160,13 +18055,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -15245,6 +18152,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -15258,6 +18169,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -15312,11 +18224,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -15347,10 +18270,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -15360,6 +18290,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -15376,6 +18307,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -15417,6 +18351,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -15483,6 +18418,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -15491,6 +18428,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -15515,6 +18461,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -15548,7 +18496,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -15576,17 +18526,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -15600,6 +18558,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -15607,17 +18567,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -15627,6 +18595,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -15657,6 +18627,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -15689,6 +18660,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -15708,11 +18683,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -15788,9 +18774,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -15800,17 +18800,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -15831,6 +18853,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -15885,6 +18908,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -15925,6 +18949,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -15994,6 +19020,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -16042,6 +19069,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -16049,12 +19080,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -16064,6 +19110,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -16091,11 +19141,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -16121,6 +19175,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -16193,7 +19249,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -16230,13 +19302,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -16315,6 +19399,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -16328,6 +19416,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -16382,11 +19471,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -16417,10 +19517,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -16430,6 +19537,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -16446,6 +19554,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -16487,6 +19598,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -16565,6 +19677,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16583,6 +19701,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16622,6 +19767,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16709,9 +19860,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16790,6 +19947,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16799,6 +19962,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16808,6 +19977,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16820,6 +19995,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16850,6 +20031,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16871,6 +20058,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16880,6 +20073,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16889,6 +20088,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16904,6 +20109,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16928,6 +20139,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17006,6 +20223,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17120,6 +20340,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17168,6 +20400,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17180,6 +20433,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17396,6 +20661,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17405,6 +20706,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17435,6 +20742,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17450,6 +20778,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17465,6 +20829,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17525,6 +20898,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17690,6 +21066,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17876,6 +21258,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17990,6 +21375,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18014,21 +21411,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18056,6 +21498,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18134,6 +21588,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18149,6 +21609,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18218,6 +21684,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18326,15 +21798,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18347,16 +21810,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18371,6 +21834,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18392,25 +21864,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18419,6 +21918,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18518,6 +22038,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18539,19 +22065,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18563,6 +22113,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18743,6 +22299,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18782,6 +22350,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18929,18 +22500,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19019,6 +22623,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19046,6 +22653,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19091,9 +22704,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19121,6 +22740,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19163,6 +22785,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19193,6 +22824,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19202,6 +22851,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19298,6 +22956,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/access--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/access--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/access--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/access--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/add_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/add_key.c
Changed
@@ -54,11 +54,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_payload = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -106,10 +101,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(payloads); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(payloads); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_add_key(typesi.type, typesi.str, descsj.desc, descsj.str, payloadsk.pload,
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev); do not edit. +set -- -a27 -Xabbrev +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw); do not edit. +set -- -a17 -Xraw +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl.c
Added
@@ -0,0 +1,323 @@ +/* + * Check decoding of arch_prctl syscall. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR_arch_prctl + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <linux/prctl.h> + +# define XLAT_MACROS_ONLY +# include "xlat/archvals.h" +# undef XLAT_MACROS_ONLY + +# include "xlat.h" +# include "xlat/x86_xfeature_bits.h" +# include "xlat/x86_xfeatures.h" + +# ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)\n" +# else +# define INJ_STR "\n" +# endif + +# define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) + +static long +sys_arch_prctl(unsigned int cmd, kernel_ulong_t arg) +{ + return syscall(__NR_arch_prctl, cmd, arg, (unsigned long) -3U, + (unsigned long) -4U, + (unsigned long) -5U); +} + +static long +arch_prctl_marker(void) +{ + return sys_arch_prctl(-1U, (unsigned long) -2U); +} + +int +main(int argc, char *argv) +{ + const kernel_ulong_t dummy = (kernel_ulong_t) 0xbadfaceddeadbeefULL; + const char *errstr; + long rc; + + arch_prctl_marker(); + +# ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (arch_prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on arch_prctl(-1, -2)" + " returning %ld", inject_retval); +# endif /* INJECT_RETVAL */ + + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, u64_p); + + /* Unknown commands */ + static const uint32_t unk_cmds = { + 0, 0x1, + 0x1000, 0x1005, + 0x1010, 0x1013, + 0x1020, 0x1026, + 0x1030, 0x1031, + 0x1100, 0x1101, + 0x2000, 0x2004, + 0x2010, 0x2011, + 0x2100, 0x2101, + 0x3000, 0x3001, + 0xdeadc0de }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_cmds); i++) { + rc = sys_arch_prctl(unk_cmdsi, 0); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", 0) = %s" INJ_STR, + unk_cmdsi, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (kernel_ulong_t) dummy); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %#llx) = %s" INJ_STR, + unk_cmdsi, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (uintptr_t) u64_p); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %p) = %s" INJ_STR, + unk_cmdsi, u64_p, sprintrc(rc)); + } + + /* Default decoding */ + static const struct strval32 def_cmds = { + { ARG_XLAT_KNOWN(0x1001, "ARCH_SET_GS") }, +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1002, "ARCH_SET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1012, "ARCH_SET_CPUID") }, + { ARG_XLAT_KNOWN(0x2001, "ARCH_MAP_VDSO_X32") }, + { ARG_XLAT_KNOWN(0x2002, "ARCH_MAP_VDSO_32") }, + { ARG_XLAT_KNOWN(0x2003, "ARCH_MAP_VDSO_64") }, + }; + + for (const struct strval32 *p = def_cmds; p < ARRAY_END(def_cmds); p++) + { + rc = sys_arch_prctl(p->val, (kernel_ulong_t) dummy); + printf("arch_prctl(%s, %#llx) = %s" INJ_STR, + p->str, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, 0) = %s" INJ_STR, p->str, sprintrc(rc)); + } + + /* ARCH_GET_GS, ARCH_GET_FS */ + static const struct strval32 kptr_cmds = { +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1003, "ARCH_GET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1004, "ARCH_GET_GS") }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, kulong_p); + const kernel_ulong_t ptrs = { + (kernel_ulong_t) 0xdeadfacecafebeefULL, + (uintptr_t) (kulong_p + 1), + (uintptr_t) kulong_p , + 0 + }; + + for (const struct strval32 *p = kptr_cmds; p < ARRAY_END(kptr_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (kulong_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, kulong_p + 1, sprintrc(rc)); + + for (size_t j = 0; j < ARRAY_SIZE(ptrs); j++) { + *kulong_p = ptrsj; + uint32_t wr_cmd = p->val == ARCH_GET_GS ? ARCH_SET_GS + : ARCH_SET_FS; +# if !XLAT_RAW + const char *wr_str = p->val == ARCH_GET_GS + ? "ARCH_SET_GS" : "ARCH_SET_FS"; +# endif + rc = sys_arch_prctl(wr_cmd, *kulong_p); + printf("arch_prctl(" XLAT_FMT ", %#llx) = %s" INJ_STR, + XLAT_SEL(wr_cmd, wr_str), + (unsigned long long) *kulong_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) kulong_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { + if (*kulong_p) { + printf("%#llx", + (unsigned long long) *kulong_p); + } else { + printf("NULL"); + } + } else { + printf("%p", kulong_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* ARCH_GET_CPUID */ + rc = sys_arch_prctl(ARCH_GET_CPUID, 0xdeadc0de); + printf("arch_prctl(" XLAT_FMT ") = %s" INJ_STR, + XLAT_ARGS(ARCH_GET_CPUID), sprintrc(rc)); + + /* xfeature mask get */ + static const struct strval32 xfget_cmds = { + { ARG_XLAT_KNOWN(0x1021, "ARCH_GET_XCOMP_SUPP") }, + { ARG_XLAT_KNOWN(0x1022, "ARCH_GET_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1024, "ARCH_GET_XCOMP_GUEST_PERM") }, + }; + static const struct strval64 xfget_vals = { + { ARG_STR(0) }, + { ARG_XLAT_UNKNOWN(0x1, "XFEATURE_MASK_FP") }, + { ARG_XLAT_UNKNOWN(0x2, "XFEATURE_MASK_SSE") }, + { ARG_XLAT_UNKNOWN(0x3, "XFEATURE_MASK_FPSSE") }, + { ARG_XLAT_UNKNOWN(0x20, "XFEATURE_MASK_OPMASK") }, + { ARG_XLAT_UNKNOWN(0xc0, "XFEATURE_MASK_ZMM_Hi256" + "|XFEATURE_MASK_Hi16_ZMM") }, + { ARG_XLAT_UNKNOWN(0xe0, "XFEATURE_MASK_AVX512") }, + { ARG_XLAT_UNKNOWN(0x20000, "XFEATURE_MASK_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x40000, "XFEATURE_MASK_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x60000, "XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xbadfaced, + "XFEATURE_MASK_FP|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_AVX512" + "|XFEATURE_MASK_PASID|XFEATURE_MASK_LBR" + "|XFEATURE_MASK_XTILE|0xbad92800") }, + { ARG_XLAT_UNKNOWN(0x687ff, + "XFEATURE_MASK_FPSSE|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_BNDCSR" + "|XFEATURE_MASK_AVX512|XFEATURE_MASK_PT" + "|XFEATURE_MASK_PKRU|XFEATURE_MASK_PASID" + "|XFEATURE_MASK_LBR|XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xfffffffffff97800, "XFEATURE_MASK_???") }, + }; + + for (const struct strval32 *p = xfget_cmds; p < ARRAY_END(xfget_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (u64_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p + 1, sprintrc(rc)); + + for (const struct strval64 *q = xfget_vals; + q < ARRAY_END(xfget_vals); q++) { + *u64_p = q->val; + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { +# ifdef INJECT_RETVAL + printf("%s", q->str); +# else + if (*u64_p) { + printf("%#llx" NRAW(" /* "), + (unsigned long long) *u64_p); +# if !XLAT_RAW + printflags(x86_xfeatures, *u64_p, NULL); +# endif + printf(NRAW(" */") ""); + } else { + printf("0"); + } +# endif + } else { + printf("%p", u64_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* xfeature in arg, xfeature mask in ret */ + static const struct strval32 xfreq_cmds = { + { ARG_XLAT_KNOWN(0x1023, "ARCH_REQ_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1025, "ARCH_REQ_XCOMP_GUEST_PERM") }, + }; + static const struct strval32 xfreq_vals = { + { ARG_XLAT_UNKNOWN(0, "XFEATURE_FP") }, + { ARG_XLAT_UNKNOWN(0x8, "XFEATURE_PT_UNIMPLEMENTED_SO_FAR") }, + { ARG_XLAT_UNKNOWN(0xb, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xc, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xd, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xe, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xf, "XFEATURE_LBR") }, + { ARG_XLAT_UNKNOWN(0x10, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0x11, "XFEATURE_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x12, "XFEATURE_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x13, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xdeadface, "XFEATURE_???") }, + }; + + for (const struct strval32 *p = xfreq_cmds; p < ARRAY_END(xfreq_cmds); + p++) { + for (const struct strval32 *q = xfreq_vals; + q < ARRAY_END(xfreq_vals); q++) { + rc = sys_arch_prctl(p->val, q->val); + errstr = sprintrc(rc); + printf("arch_prctl(%s, %s) = ", p->str, q->str); + if (rc > 0) { + printf("%#lx", rc); +# if !XLAT_RAW + if (rc & x86_xfeatures->flags_mask) { + printf(" ("); + printflags(x86_xfeatures, rc, NULL); + printf(")"); + } +# endif + printf(INJ_STR); + } else { + printf("%s" INJ_STR, errstr); + } + } + } + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR_arch_prctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl +arch_prctl.sh -a27); do not edit. +set -- -a27 +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/arch_prctl.sh
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check arch_prctl syscall decoding. +# +# Copyright (c) 20212-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +check_prog sed +run_prog > /dev/null +run_strace -earch_prctl "$@" $args > "$EXP" +sed '0,/^arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe) *= -1 /d' < "$LOG" > "$OUT" +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/at_fdcwd-pathmax.c
Added
@@ -0,0 +1,106 @@ +/* + * Check corner cases of AT_FDCWD path decoding. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <fcntl.h> +#include <limits.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/types.h> + +/* + * This test is designed to cover cases where AT_FDCWD path decoding + * cannot happen because paths length exceed PATH_MAX. + * It should be executed with -y or a similar option. + */ + +int main(void) +{ + /* + * Make sure the current workdir of the tracee + * is different from the current workdir of the tracer. + */ + create_and_enter_subdir("pathmax_subdir"); + + char *topdir = get_fd_path(get_dir_fd(".")); + + /* + * AT_FDCWD path decoding + */ + char nameNAME_MAX + 1; + memset(name, 'x', sizeof(name) - 1); + namesizeof(name) - 1 = '\0'; + + unsigned int count = 0; + for (size_t len = strlen(topdir); + len <= PATH_MAX; + len += sizeof(name), ++count) { + if (mkdir(name, 0700)) + perror_msg_and_fail("mkdir, count=%u", count); + if (chdir(name)) + perror_msg_and_fail("chdir, count=%u", count); + } + + /* AT_FDCWD is not be printed since path cannot be resolved. */ + + int fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + /* Go back one dir and verify it's printed. */ + + --count; + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(name)) + perror_msg_and_fail("rmdir"); + + char *cwd = get_fd_path(get_dir_fd(".")); + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD<%s>, \"sample\", O_RDONLY) = %s\n", + cwd, sprintrc(fd)); + + /* Create a dir for which exact PATH_MAX size is returned. */ + + char dirNAME_MAX + 1; + memset(dir, 'x', sizeof(dir) - 1); + dirPATH_MAX - (strlen(cwd) + 1) = '\0'; + if (mkdir(dir, 0700)) + perror_msg_and_fail("mkdir"); + if (chdir(dir)) + perror_msg_and_fail("chdir"); + + /* AT_FDCWD is not printed since path cannot be resolved fully. */ + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(dir)) + perror_msg_and_fail("rmdir"); + + for (; count > 0; --count) { + if (chdir("..")) + perror_msg_and_fail("chdir, count=%u", count); + if (rmdir(name)) + perror_msg_and_fail("rmdir, count=%u", count); + } + + leave_and_remove_subdir(); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/at_fdcwd-pathmax.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (at_fdcwd-pathmax -a36 --trace=openat -y -P sample); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 --trace=openat -y -P sample
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/attach-f-p.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/attach-f-p.c
Changed
@@ -38,10 +38,13 @@ thread(void *a) { unsigned int no = (long) a; - int i; + int i, rc; - if (read(pipesno0, &i, sizeof(i)) != (int) sizeof(i)) + while ((rc = read(pipesno0, &i, sizeof(i))) != (int) sizeof(i)) { + if (rc < 0 && errno == EINTR) + continue; perror_msg_and_fail("read%u", no); + } assert(chdir(childno) == -1); retval_t retval = { .pid = syscall(__NR_gettid) }; return retval.ptr; @@ -51,12 +54,11 @@ main(void) { pthread_t tN; - unsigned int i; if (write(1, "", 0) != 0) perror_msg_and_fail("write"); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { if (pipe(pipesi)) perror_msg_and_fail("pipe"); @@ -69,15 +71,16 @@ perror_msg_and_fail("write"); /* wait for the peer to write to stdout */ - struct stat st; for (;;) { + struct stat st; + if (fstat(1, &st)) perror_msg_and_fail("fstat"); if (st.st_size >= 103) break; } - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { /* sleep a bit to let the tracer catch up */ sleep(1); if (write(pipesi1, &i, sizeof(i)) != (int) sizeof(i))
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/bpf-obj_get_info_by_fd.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/bpf-obj_get_info_by_fd.c
Changed
@@ -1,7 +1,7 @@ /* * Check bpf(BPF_OBJ_GET_INFO_BY_FD) decoding. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,6 +19,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <sys/sysmacros.h> @@ -42,6 +43,7 @@ #include "xlat/bpf_op_jmp.h" #include "xlat/bpf_size.h" #include "xlat/bpf_src.h" +#include "xlat/clocknames.h" #include "xlat/ebpf_class.h" #include "xlat/ebpf_mode.h" #include "xlat/ebpf_op_alu.h" @@ -71,16 +73,17 @@ static void print_map_create(void *attr_void, size_t size, long rc) { - /* struct BPF_MAP_CREATE_struct *attr = attr_void; */ + struct BPF_MAP_CREATE_struct *attr = attr_void; printf("bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_ARRAY, key_size=4" - ", value_size=8, max_entries=1"); + ", value_size=%u, max_entries=%u", + attr->value_size, attr->max_entries); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_flags)) printf(", map_flags=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, inner_map_fd)) printf(", inner_map_fd=0</dev/null>"); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_name)) - printf(", map_name=\"test_map\""); + printf(", map_name=\"%s\"", attr->map_name); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_ifindex)) printf(", map_ifindex=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, btf_fd)) { @@ -91,6 +94,10 @@ btf_vmlinux_value_type_id)) { printf(", btf_vmlinux_value_type_id=0"); } + if (size > offsetof(struct BPF_MAP_CREATE_struct, + map_extra)) { + printf(", map_extra=0"); + } printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-map>\n", rc); @@ -125,21 +132,30 @@ .code = BPF_LD | BPF_DW | BPF_IMM, .dst_reg = BPF_REG_1, .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, - .imm = 0, /* to be set to map fd */ + .imm = 0, /* to be set to map fd2 */ }, { /* 5 */ .imm = 0, }, { /* 6 */ + .code = BPF_LD | BPF_DW | BPF_IMM, + .dst_reg = BPF_REG_1, + .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, + .imm = 0, /* to be set to map fd */ + }, + { /* 7 */ + .imm = 0, + }, + { /* 8 */ .code = BPF_JMP | BPF_K | BPF_CALL, .imm = 0x1, /* BPF_FUNC_map_lookup_elem */ }, - { /* 7 */ + { /* 9 */ .code = BPF_ALU64 | BPF_K | BPF_MOV, .dst_reg = BPF_REG_0, .imm = 0, }, - { /* 8 */ + { /* 10 */ .code = BPF_JMP | BPF_K | BPF_EXIT, }, }; @@ -158,6 +174,10 @@ ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" ", {code=BPF_LD|BPF_W|BPF_IMM" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" + ", {code=BPF_LD|BPF_DW|BPF_IMM" + ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" + ", {code=BPF_LD|BPF_W|BPF_IMM" + ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" ", {code=BPF_JMP|BPF_K|BPF_CALL" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0x1}" ", {code=BPF_ALU64|BPF_K|BPF_MOV" @@ -176,7 +196,7 @@ printf("bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_SOCKET_FILTER" ", insn_cnt=%zu, insns=", ARRAY_SIZE(socket_prog)); # if VERBOSE - printf(socket_prog_fmt, socket_prog4.imm); + printf(socket_prog_fmt, socket_prog4.imm, socket_prog6.imm); # else printf("%p", socket_prog); # endif @@ -213,6 +233,8 @@ printf(", attach_btf_id=0"); if (size > offsetof(struct BPF_PROG_LOAD_struct, attach_prog_fd)) printf(", attach_prog_fd=0</dev/null>"); + if (size > offsetof(struct BPF_PROG_LOAD_struct, fd_array)) + printf(", fd_array=NULL"); printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-prog>\n", rc); @@ -259,6 +281,8 @@ lock_file_by_dirname(av0, "bpf-obj_get_info_by_fd"); sleep(1); + int ret; + struct BPF_MAP_CREATE_struct bpf_map_create_attr = { .map_type = BPF_MAP_TYPE_ARRAY, .key_size = 4, @@ -266,6 +290,13 @@ .max_entries = 1, .map_name = "test_map", }; + struct BPF_MAP_CREATE_struct bpf_map_create_attr2 = { + .map_type = BPF_MAP_TYPE_ARRAY, + .key_size = 4, + .value_size = 1, + .max_entries = 5, + .map_name = "test_map_too", + }; size_t bpf_map_create_attr_sizes = { sizeof(bpf_map_create_attr), offsetofend(struct BPF_MAP_CREATE_struct, max_entries), @@ -300,10 +331,15 @@ int map_fd = try_bpf(BPF_MAP_CREATE, print_map_create, &bpf_map_create_attr, &bpf_map_create_attr_size); if (map_fd < 0) - perror_msg_and_skip("BPF_MAP_CREATE failed"); + perror_msg_and_skip("First BPF_MAP_CREATE failed"); + int map_fd2 = try_bpf(BPF_MAP_CREATE, print_map_create, + &bpf_map_create_attr2, &bpf_map_create_attr_size); + if (map_fd2 < 0) + perror_msg_and_skip("Second BPF_MAP_CREATE failed"); #if CHECK_OBJ_PROG - socket_prog4.imm = map_fd; + socket_prog4.imm = map_fd2; + socket_prog6.imm = map_fd; size_t *bpf_prog_load_attr_size = bpf_prog_load_attr_sizes; int prog_fd = try_bpf(BPF_PROG_LOAD, print_prog_load, @@ -318,79 +354,97 @@ * initializer element is not constant. */ #define MAP_INFO_SZ (sizeof(*map_info) + 64) - struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ); - struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { - .bpf_fd = map_fd, - .info_len = MAP_INFO_SZ, - .info = (uintptr_t) map_info, + struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ + + sizeof(*map_info)); + struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { + { + .bpf_fd = map_fd, + .info_len = sizeof(*map_info), + .info = (uintptr_t) map_info, + }, + { + .bpf_fd = map_fd2, + .info_len = MAP_INFO_SZ, + .info = (uintptr_t) (map_info + 1), + }, }; - memset(map_info, 0, MAP_INFO_SZ); - int ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_map_get_info_attr, - sizeof(bpf_map_get_info_attr)); - if (ret < 0) - perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); + for (size_t i = 0; i < 2; i++) { + memset(map_info + i, 0, MAP_INFO_SZ); + ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, + &bpf_map_get_info_attri, + sizeof(bpf_map_get_info_attri)); + if (ret < 0) + perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); - printf("bpf(BPF_OBJ_GET_INFO_BY_FD" - ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", - map_fd, MAP_INFO_SZ); - if (bpf_map_get_info_attr.info_len != MAP_INFO_SZ) - printf(" => %u", bpf_map_get_info_attr.info_len); + printf("bpf(BPF_OBJ_GET_INFO_BY_FD" + ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", + i ? map_fd2 : map_fd, + i ? MAP_INFO_SZ : sizeof(*map_info)); + if (bpf_map_get_info_attri.info_len != + (i ? MAP_INFO_SZ : sizeof(*map_info))) + printf(" => %u", bpf_map_get_info_attri.info_len); - printf(", info="); + printf(", info="); #if VERBOSE - printf("{type="); - printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); - printf(", "); - PRINT_FIELD_U(*map_info, id); - printf(", "); - PRINT_FIELD_U(*map_info, key_size); - printf(", "); - PRINT_FIELD_U(*map_info, value_size); - printf(", "); - PRINT_FIELD_U(*map_info, max_entries); - printf(", map_flags="); - printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); - - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, name)) { - printf(", name="); - print_quoted_cstring(map_info->name, sizeof(map_info->name)); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, ifindex)) - printf(", ifindex=%u", map_info->ifindex); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_vmlinux_value_type_id)) - printf(", btf_vmlinux_value_type_id=%u", - map_info->btf_vmlinux_value_type_id); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_dev)) - printf(", netns_dev=makedev(%#x, %#x)", - major(map_info->netns_dev), minor(map_info->netns_dev)); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_ino)) - printf(", netns_ino=%" PRIu64, map_info->netns_ino); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_id)) { + printf("{type="); + printxval(bpf_map_types, map_infoi.type, "BPF_MAP_TYPE_???"); printf(", "); - PRINT_FIELD_U(*map_info, btf_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + PRINT_FIELD_U(map_infoi, id); printf(", "); - PRINT_FIELD_U(*map_info, btf_key_type_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + PRINT_FIELD_U(map_infoi, key_size); printf(", "); - PRINT_FIELD_U(*map_info, btf_value_type_id); - } - printf("}"); + PRINT_FIELD_U(map_infoi, value_size); + printf(", "); + PRINT_FIELD_U(map_infoi, max_entries); + printf(", map_flags="); + printflags(bpf_map_flags, map_infoi.map_flags, "BPF_F_???"); + + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, name)) { + printf(", name="); + print_quoted_cstring(map_infoi.name, + sizeof(map_infoi.name)); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, ifindex)) + printf(", ifindex=%u", map_infoi.ifindex); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, + btf_vmlinux_value_type_id)) { + printf(", btf_vmlinux_value_type_id=%u", + map_infoi.btf_vmlinux_value_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_dev)) + printf(", netns_dev=makedev(%#x, %#x)", + major(map_infoi.netns_dev), + minor(map_infoi.netns_dev)); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_ino)) + printf(", netns_ino=%" PRIu64, map_infoi.netns_ino); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_key_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_value_type_id); + } + printf("}"); #else /* !VERBOSE */ - printf("%p", map_info); + printf("%p", map_info + i); #endif /* VERBOSE */ - printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attr), errstr); + printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attri), + errstr); + } #if CHECK_OBJ_PROG /* @@ -400,7 +454,7 @@ # define PROG_INFO_SZ (sizeof(*prog_info) + 64) struct bpf_prog_info_struct *prog_info = tail_alloc(PROG_INFO_SZ); struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); - uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); + uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 3); struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_prog_get_info_attr = { .bpf_fd = prog_fd, .info_len = PROG_INFO_SZ, @@ -409,7 +463,7 @@ size_t old_prog_info_len = PROG_INFO_SZ; memset(prog_info, 0, PROG_INFO_SZ); - for (unsigned int i = 0; i < 4; i++) { + for (unsigned int i = 0; i < 5; i++) { prog_info->jited_prog_len = 0; prog_info->nr_jited_ksyms = 0; prog_info->nr_jited_func_lens = 0; @@ -427,8 +481,8 @@ prog_info->xlated_prog_insns = (uintptr_t) (xlated_prog + 42); prog_info->xlated_prog_len = 336; - prog_info->map_ids = (uintptr_t) (map_ids + 2); - prog_info->nr_map_ids = 2; + prog_info->map_ids = (uintptr_t) (map_ids + 3); + prog_info->nr_map_ids = 3; break; case 2: prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; @@ -441,13 +495,18 @@ prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; prog_info->xlated_prog_len = 0; prog_info->map_ids = (uintptr_t) map_ids; - prog_info->nr_map_ids = 2; + prog_info->nr_map_ids = 3; break; + case 4: + prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; + prog_info->xlated_prog_len = 1; + prog_info->map_ids = (uintptr_t) (map_ids + 1); + prog_info->nr_map_ids = 1; } ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_prog_get_info_attr, sizeof(bpf_prog_get_info_attr)); - if (i != 1 && ret < 0) + if (i != 1 && i != 4 && ret < 0) perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD" " prog %u failed", i); @@ -493,11 +552,44 @@ printf(" => %u", prog_info->xlated_prog_len); printf(", xlated_prog_insns="); break; + case 4: + printf(", xlated_prog_len=1"); + if (prog_info->xlated_prog_len != 1) + printf(" => %u", prog_info->xlated_prog_len); + printf(", xlated_prog_insns="); + break; } if (bpf_prog_get_info_attr.info_len > - offsetof(struct bpf_prog_info_struct, load_time)) + offsetof(struct bpf_prog_info_struct, load_time)) { + enum { S_NS = 1000000000 }; + printf(", load_time=%" PRIu64, prog_info->load_time); + + /* + * NB: this is janky, as strace can get somewhat + * different results. + */ + struct timespec boot; + struct timespec rtc; + + if (!clock_gettime(CLOCK_BOOTTIME, &boot) && + !clock_gettime(CLOCK_REALTIME, &rtc)) { + rtc.tv_nsec = rtc.tv_nsec - boot.tv_nsec; + rtc.tv_sec = rtc.tv_sec - boot.tv_sec + - !!(rtc.tv_nsec < 0); + if (rtc.tv_nsec < 0) + rtc.tv_nsec += S_NS; + + boot.tv_nsec = rtc.tv_nsec + + prog_info->load_time % S_NS; + boot.tv_sec = rtc.tv_sec + + prog_info->load_time / S_NS + + boot.tv_nsec / S_NS; + + print_time_t_nsec(boot.tv_sec, 0, true); + } + } if (bpf_prog_get_info_attr.info_len > offsetof(struct bpf_prog_info_struct, created_by_uid)) printf(", created_by_uid=%u", @@ -509,24 +601,31 @@ case 0: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids=NULL"); break; case 1: - printf(", nr_map_ids=2, map_ids=%p", - map_ids + 2); + printf(", nr_map_ids=3, map_ids=%p", + map_ids + 3); break; case 2: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids="); break; case 3: - printf(", nr_map_ids=2"); - if (prog_info->nr_map_ids != 2) - printf(" => 1"); - printf(", map_ids=%u", map_info->id); + printf(", nr_map_ids=3"); + if (prog_info->nr_map_ids != 3) + printf(" => 2"); + printf(", map_ids=%u, %u", + map_info1.id, map_info0.id); + break; + case 4: + printf(", nr_map_ids=1"); + if (prog_info->nr_map_ids != 1) + printf(" => 2"); + printf(", map_ids=%u", map_info1.id); break; } } @@ -635,6 +734,13 @@ offsetof(struct bpf_prog_info_struct, run_cnt)) printf(", run_cnt=%llu", (unsigned long long) prog_info->run_cnt); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, recursion_misses)) + printf(", recursion_misses=%llu", + (unsigned long long) prog_info->recursion_misses); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, verified_insns)) + printf(", verified_insns=%u", prog_info->verified_insns); printf("}"); # else /* !VERBOSE */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/bpf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/bpf.c
Changed
@@ -2,7 +2,7 @@ * Check bpf syscall decoding. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,15 +26,17 @@ #include "print_fields.h" #include "xlat.h" +#include "xlat/bpf_attach_type.h" #include "xlat/bpf_commands.h" #include "xlat/bpf_map_types.h" #include "xlat/bpf_prog_types.h" +#include "xlat/bpf_test_run_flags.h" #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR(addr64_, addr32_) addr64_ # define BIG_ADDR_MAYBE(addr_) #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR(addr64_, addr32_) addr64_ " or " addr32_ # define BIG_ADDR_MAYBE(addr_) addr_ " or " @@ -85,16 +87,18 @@ BPF_ATTR_DATA_FIELD(BPF_MAP_DELETE_BATCH); BPF_ATTR_DATA_FIELD(BPF_LINK_CREATE); BPF_ATTR_DATA_FIELD(BPF_LINK_UPDATE); + BPF_ATTR_DATA_FIELD(BPF_LINK_GET_FD_BY_ID); char char_data256; }; struct bpf_attr_check { union bpf_attr_data data; size_t size; + size_t iters; const char *str; - void (*init_fn)(struct bpf_attr_check *check); + void (*init_fn)(struct bpf_attr_check *check, size_t idx); void (*print_fn)(const struct bpf_attr_check *check, - unsigned long addr); + unsigned long addr, size_t idx); }; struct bpf_check { @@ -106,7 +110,7 @@ static const kernel_ulong_t long_bits = (kernel_ulong_t) 0xfacefeed00000000ULL; static const char *errstr; -static unsigned int sizeof_attr = sizeof(union bpf_attr_data); +static const unsigned int sizeof_attr = sizeof(union bpf_attr_data); static unsigned int page_size; static unsigned long end_of_page; @@ -143,10 +147,11 @@ #endif static void -print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr) +print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr, + size_t idx) { if (check->print_fn) - check->print_fn(check, addr); + check->print_fn(check, addr, idx); else printf("%s", check->str); } @@ -157,6 +162,7 @@ const struct bpf_attr_check *check = 0; const union bpf_attr_data *data = 0; unsigned int offset = 0; + size_t j = 0; /* zero addr */ sys_bpf(cmd_check->cmd, 0, long_bits | sizeof(union bpf_attr_data)); @@ -171,26 +177,30 @@ for (size_t i = 0; i < cmd_check->count; i++) { check = &cmd_check->checksi; - if (check->init_fn) - check->init_fn((struct bpf_attr_check *) check); - data = &check->data; - offset = check->size; - - addr = end_of_page - offset; - memcpy((void *) addr, data, offset); - - /* starting piece of bpf_attr_data */ - sys_bpf(cmd_check->cmd, addr, offset); - printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); - printf("}, %u) = %s\n", offset, errstr); - - /* short read of the starting piece */ - sys_bpf(cmd_check->cmd, addr + 1, offset); - printf("bpf(%s, %#lx, %u) = %s\n", - cmd_check->cmd_str, addr + 1, offset, errstr); + for (j = 0; j < MAX(check->iters, 1); j++) { + if (check->init_fn) + check->init_fn((struct bpf_attr_check *) check, j); + data = &check->data; + offset = check->size; + + addr = end_of_page - offset; + memcpy((void *) addr, data, offset); + + /* starting piece of bpf_attr_data */ + sys_bpf(cmd_check->cmd, addr, offset); + printf("bpf(%s, {", cmd_check->cmd_str); + print_bpf_attr(check, addr, j); + printf("}, %u) = %s\n", offset, errstr); + + /* short read of the starting piece */ + sys_bpf(cmd_check->cmd, addr + 1, offset); + printf("bpf(%s, %#lx, %u) = %s\n", + cmd_check->cmd_str, addr + 1, offset, errstr); + } } + j = MAX(check->iters, 1) - 1; + if (offset < sizeof_attr) { /* short read of the whole bpf_attr_data */ memcpy((void *) end_of_page - sizeof_attr + 1, data, offset); @@ -206,7 +216,7 @@ memset((void *) addr + offset, 0, sizeof_attr - offset); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", sizeof_attr, errstr); /* non-zero bytes after the relevant part */ @@ -214,7 +224,7 @@ sizeof_attr - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, sizeof_attr - offset); @@ -235,7 +245,7 @@ memset((void *) addr + offset, 0, page_size - offset); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", page_size, errstr); /* non-zero bytes after the whole bpf_attr_data */ @@ -243,7 +253,7 @@ page_size - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, page_size - offset); @@ -256,13 +266,13 @@ } static void -init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check) +init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check, size_t idx) { struct BPF_MAP_CREATE_struct *attr = &check->data.BPF_MAP_CREATE_data; attr->map_ifindex = ifindex_lo(); } -static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 30, +static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 32, "The map_type for tests 1 and 2 below needs to be updated"); static struct bpf_attr_check BPF_MAP_CREATE_checks = { { @@ -273,7 +283,7 @@ }, { /* 1 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 29, + .map_type = 31, .key_size = 4, .value_size = 8, .max_entries = 256, @@ -283,7 +293,7 @@ .map_name = "0123456789abcde", } }, .size = offsetof(struct BPF_MAP_CREATE_struct, map_name) + 8, - .str = "map_type=BPF_MAP_TYPE_TASK_STORAGE, key_size=4" + .str = "map_type=BPF_MAP_TYPE_USER_RINGBUF, key_size=4" ", value_size=8, max_entries=256" ", map_flags=BPF_F_NO_PREALLOC|BPF_F_NO_COMMON_LRU" "|BPF_F_NUMA_NODE|BPF_F_RDONLY|BPF_F_WRONLY" @@ -295,7 +305,7 @@ }, { /* 2 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 30, + .map_type = 32, .key_size = 0xface1e55, .value_size = 0xbadc0ded, .max_entries = 0xbeefcafe, @@ -306,7 +316,7 @@ .map_ifindex = 3141592653, } }, .size = offsetofend(struct BPF_MAP_CREATE_struct, map_ifindex), - .str = "map_type=0x1e /* BPF_MAP_TYPE_??? */" + .str = "map_type=0x20 /* BPF_MAP_TYPE_??? */" ", key_size=4207812181, value_size=3134983661" ", max_entries=3203386110" ", map_flags=0xffffe000 /* BPF_F_??? */" @@ -469,6 +479,26 @@ ", btf_value_type_id=3405705229" ", btf_vmlinux_value_type_id=3735929054" }, + { /* 10 */ + .data = { .BPF_MAP_CREATE_data = { + .map_type = BPF_MAP_TYPE_BLOOM_FILTER, + .map_extra = 4 + } }, + .size = offsetofend(struct BPF_MAP_CREATE_struct, map_extra), + .str = "map_type=BPF_MAP_TYPE_BLOOM_FILTER" + ", key_size=0" + ", value_size=0" + ", max_entries=0" + ", map_flags=0" + ", inner_map_fd=0" FD0_PATH + ", map_name=\"\"" + ", map_ifindex=0" + ", btf_fd=0" FD0_PATH + ", btf_key_type_id=0" + ", btf_value_type_id=0" + ", btf_vmlinux_value_type_id=0" + ", map_extra=4" + }, }; static const struct bpf_attr_check BPF_MAP_LOOKUP_ELEM_checks = { @@ -571,7 +601,7 @@ */ #define log_buf_size 4096U -static inline char * +static char * get_log_buf(void) { if (!log_buf) @@ -579,7 +609,7 @@ return log_buf; } -static inline char * +static char * get_log_buf_tail(void) { return get_log_buf() + log_buf_size; @@ -596,7 +626,7 @@ #endif static void -init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -606,7 +636,8 @@ } static void -print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_SOCKET_FILTER, insn_cnt=%u" ", insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828" @@ -619,7 +650,7 @@ } static void -init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -632,7 +663,8 @@ } static void -print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=%u, insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828, log_size=4" @@ -766,9 +798,9 @@ .line_info_cnt = 0xdad7bef8, .attach_btf_id = 0xdad7befa, .attach_prog_fd = 0xbadc0def, + .fd_array = 0xfaceb00c, } }, - .size = offsetofend(struct BPF_PROG_LOAD_struct, - attach_prog_fd), + .size = offsetofend(struct BPF_PROG_LOAD_struct, fd_array), .str = "prog_type=BPF_PROG_TYPE_UNSPEC" ", insn_cnt=0" ", insns=NULL" @@ -790,11 +822,12 @@ ", line_info_cnt=3671572216" ", attach_btf_id=3671572218" ", attach_prog_fd=-1159983633" + ", fd_array=0xfaceb00c" }, }; static void -init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check) +init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check, size_t idx) { struct BPF_OBJ_PIN_struct *attr = &check->data.BPF_OBJ_PIN_data; attr->pathname = (uintptr_t) pathname; @@ -923,12 +956,38 @@ .data_out = (uint64_t) 0xfacef33dbadc4dedULL, .repeat = 0xfac7fed8, .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0xfacdfede, + .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_in), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=4207804126" + ", ctx_in=0xfacef55dbadc6ded, ctx_out=NULL}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, .ctx_size_in = 0xfacbfedc, .ctx_size_out = 0xfacdfede, .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, - .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL + .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL, + .flags = BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES, + .cpu = 0, } }, - .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_out), + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, cpu), .str = "test={prog_fd=-1, retval=4207017682" ", data_size_in=4207148756, data_size_out=4207279830" ", data_in=0xfacef11dbadc2ded" @@ -938,8 +997,40 @@ ", ctx_size_in=4207673052" ", ctx_size_out=4207804126" ", ctx_in=0xfacef55dbadc6ded" - ", ctx_out=0xfacef77dbadc8ded}" - } + ", ctx_out=0xfacef77dbadc8ded" + ", flags=BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES" + ", cpu=0}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0, + .ctx_in = 0, + .ctx_out = 0, + .flags = 0xfffffffc, + .cpu = 3141592653, + .batch_size = 2718281828, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, batch_size), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=0" + ", ctx_in=NULL, ctx_out=NULL" + ", flags=0xfffffffc /* BPF_F_??? */" + ", cpu=3141592653, batch_size=2718281828}" + }, }; static const struct bpf_attr_check BPF_PROG_GET_NEXT_ID_checks = { @@ -955,13 +1046,8 @@ .start_id = 0xdeadbeef } }, .size = 1, - .str = "start_id=" -#ifdef WORDS_BIGENDIAN - "3724541952" /* 0xde000000 */ -#else - "239" /* 0x000000ef */ -#endif - ", next_id=0" + /* 0xde000000 0x000000ef */ + .str = "start_id=" BE_LE("3724541952", "239") ", next_id=0" }, { .data = { .BPF_PROG_GET_NEXT_ID_data = { @@ -985,6 +1071,7 @@ #define BPF_MAP_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks #define BPF_BTF_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks +#define BPF_LINK_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks static const struct bpf_attr_check BPF_PROG_GET_FD_BY_ID_checks = { { @@ -1065,7 +1152,7 @@ uint32_t *prog_load_ids_ptr; static void -init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1078,7 +1165,8 @@ } static void -print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1093,7 +1181,7 @@ } static void -init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1106,7 +1194,8 @@ } static void -print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1133,13 +1222,13 @@ { /* 1 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 40, + .attach_type = 43, .query_flags = 1, .attach_flags = 3, } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, attach_flags), .str = "query={target_fd=-1153374643" - ", attach_type=BPF_SK_REUSEPORT_SELECT_OR_MIGRATE" + ", attach_type=BPF_LSM_CGROUP" ", query_flags=BPF_F_QUERY_EFFECTIVE" ", attach_flags=BPF_F_ALLOW_OVERRIDE|BPF_F_ALLOW_MULTI" ", prog_ids=NULL, prog_cnt=0}", @@ -1147,7 +1236,7 @@ { /* 2 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 41, + .attach_type = 44, .query_flags = 0xfffffffe, .attach_flags = 0xfffffff8, .prog_ids = 0xffffffffffffffffULL, @@ -1155,7 +1244,7 @@ } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, prog_cnt), .str = "query={target_fd=-1153374643" - ", attach_type=0x29 /* BPF_??? */" + ", attach_type=0x2c /* BPF_??? */" ", query_flags=0xfffffffe /* BPF_F_QUERY_??? */" ", attach_flags=0xfffffff8 /* BPF_F_??? */" ", prog_ids=" @@ -1205,7 +1294,7 @@ static void -init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check) +init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check, size_t idx) { /* TODO: test the 128 byte limit */ static const char tp_name = "0123456789qwertyuiop0123456789qwe"; @@ -1248,7 +1337,7 @@ }; static void -init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check) +init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check, size_t idx) { static const char sample_btf_data = "bPf\0daTum"; @@ -1396,24 +1485,314 @@ } }; -static const struct bpf_attr_check BPF_LINK_CREATE_checks = { - { - .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = -2 } }, - .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-2" +static void +init_BPF_LINK_CREATE_attr1(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + attr->attach_type = idx; +} + +static void +print_BPF_LINK_CREATE_attr1(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0x4}", + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +/* Keep sorted */ +static const uint8_t special_attach_types = + { 0, BPF_TRACE_ITER, BPF_PERF_EVENT, BPF_TRACE_KPROBE_MULTI }; + +static void +init_BPF_LINK_CREATE_attr2(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + attr->attach_type = idx; + + check->data.char_data19 = ' '; + check->data.char_data23 = 'O'; + check->data.char_data27 = 'H'; + check->data.char_data31 = ' '; + check->data.char_data35 = 'H'; + check->data.char_data39 = 'A'; + check->data.char_data43 = 'I'; + check->data.char_data47 = '!'; +} + +static void +print_BPF_LINK_CREATE_attr2(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0xbadc0ded}, " +#if VERBOSE + "extra_data=\"\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x4f" + "\\x00\\x00\\x00\\x48\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x48" + "\\x00\\x00\\x00\\x41\\x00\\x00\\x00\\x49\\x00\\x00\\x00\\x21\"" + " /* bytes 16..47 */" +#else + "..." +#endif + , + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +static const int iter_info_data = { 0, 42, 314159265, 0xbadc0ded, -1 }; +static int *iter_info_data_p; + +static void +init_BPF_LINK_CREATE_attr7(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + close(iter_info_data1); + + if (!iter_info_data_p) { + iter_info_data_p = tail_memdup(iter_info_data, + sizeof(iter_info_data)); + } + + attr->iter_info = (uintptr_t) iter_info_data_p; + attr->iter_info_len = ARRAY_SIZE(iter_info_data) + idx; +} + +static void +print_BPF_LINK_CREATE_attr7(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info={map={map_fd=0" FD0_PATH "}}, {map={map_fd=42}}" + ", {map={map_fd=314159265}}, {map={map_fd=-1159983635}}" + ", {map={map_fd=-1}}"); + if (idx) { + printf(", ... /* %p */", + iter_info_data_p + ARRAY_SIZE(iter_info_data)); + } + printf(", iter_info_len=%zu}", ARRAY_SIZE(iter_info_data) + idx); + +} + +static const char *syms_data = { "foo", NULL, "OH\0HAI", + "abcdefghijklmnopqrstuvwxyz0123456789" }; +static char **syms_data_p; +static const uint64_t addrs_data = { 0, 1, 0xbadc0ded, + 0xfacefeeddeadc0deULL }; +static uint64_t *addrs_data_p; + +static_assert(ARRAY_SIZE(syms_data) == ARRAY_SIZE(addrs_data), + "syms_data and addrs_data have to have the same element count"); + +static void +init_BPF_LINK_CREATE_attr12(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + if (!syms_data_p) + syms_data_p = tail_memdup(syms_data, sizeof(syms_data)); + if (!addrs_data_p) + addrs_data_p = tail_memdup(addrs_data, sizeof(addrs_data)); + + attr->kprobe_multi.cnt = ARRAY_SIZE(syms_data) + idx; + attr->kprobe_multi.syms = (uintptr_t) syms_data_p; + attr->kprobe_multi.addrs = (uintptr_t) addrs_data_p; + attr->kprobe_multi.cookies = (uintptr_t) addrs_data_p; +} + +static void +print_BPF_LINK_CREATE_attr12(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=BPF_F_KPROBE_MULTI_RETURN|0xfacebeee" + ", cnt=%zu", ARRAY_SIZE(syms_data) + idx); + printf(", syms=\"foo\", NULL, \"OH\"" + ", \"abcdefghijklmnopqrstuvwxyz012345\"..."); + if (idx) + printf(", ... /* %p */", syms_data_p + ARRAY_SIZE(syms_data)); + for (size_t i = 0; i < 2; i++) { + printf(", %s=0, 0x1, 0xbadc0ded, 0xfacefeeddeadc0de", + i ? "cookies" : "addrs"); + if (idx) { + printf(", ... /* %p */", + addrs_data_p + ARRAY_SIZE(addrs_data)); + } + } + printf("}}"); +} + +static struct bpf_attr_check BPF_LINK_CREATE_checks = { + { /* 0 */ + .data = { .BPF_LINK_CREATE_data = { .prog_fd = 0, .target_fd = 0 } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, target_fd), + .str = "link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" }, - { + { /* 1 */ .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = 0xdeadbeef, - .attach_type = 5, .flags = 4 } }, .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-559038737" - ", attach_type=BPF_SK_SKB_STREAM_VERDICT, flags=0x4}" - } + .iters = ARRAY_SIZE(bpf_attach_type_xdata), + .init_fn = init_BPF_LINK_CREATE_attr1, + .print_fn = print_BPF_LINK_CREATE_attr1, + }, + { /* 2 - all non-special attach_types */ + .data = { .BPF_LINK_CREATE_data = { + .prog_fd = -1, + .target_fd = 0xdeadbeef, + .attach_type = 5, + .flags = 0xbadc0ded + } }, + .size = 48, + .iters = ARRAY_SIZE(bpf_attach_type_xdata) + - ARRAY_SIZE(special_attach_types), + .init_fn = init_BPF_LINK_CREATE_attr2, + .print_fn = print_BPF_LINK_CREATE_attr2, + }, + + { /* 3 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" + }, + { /* 4 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + .target_btf_id = 0xfacefeed, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0" + ", target_btf_id=4207869677}" + }, + + { /* 5 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=NULL, iter_info_len=0}" + }, + { /* 6 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + .iter_info = 0xffffffff00000000, + .iter_info_len = 0xdeadface, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=" BIG_ADDR("0xffffffff00000000", "NULL") + ", iter_info_len=3735943886}" + }, + { /* 7 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr7, + .print_fn = print_BPF_LINK_CREATE_attr7, + }, + + { /* 8 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0}}" + }, + { /* 9 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + .perf_event = { .bpf_cookie = 0xdeadc0defacecafeULL }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0xdeadc0defacecafe}}" + }, + + { /* 10 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0, cnt=0, syms=NULL, addrs=NULL" + ", cookies=NULL}}" + }, + { /* 11 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xdeadc0de, + .cnt = 0xbadfaced, + .syms = 0xffffffff00000000, + .addrs = 0xffffffff00000000, + .cookies = 0xffffffff00000000, + }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0xdeadc0de /* BPF_F_??? */" + ", cnt=3135220973" + ", syms=" BIG_ADDR("0xffffffff00000000", "NULL") + ", addrs=" BIG_ADDR("0xffffffff00000000", "NULL") + ", cookies=" BIG_ADDR("0xffffffff00000000", "NULL") "}}" + }, + /* + * Note that here we rely on the fact that this attach_type has the + * largest de-facto attr_size to get the additional checks performed + * with the last check passed. + */ + { /* 12 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xfacebeef, + } + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr12, + .print_fn = print_BPF_LINK_CREATE_attr12, + }, }; static const struct bpf_attr_check BPF_LINK_UPDATE_checks = { @@ -1438,6 +1817,14 @@ } }; +static const struct bpf_attr_check BPF_LINK_GET_FD_BY_ID_checks = { + { + .data = { .BPF_LINK_GET_FD_BY_ID_data = { .link_id = 0xdeadbeef } }, + .size = offsetofend(struct BPF_LINK_GET_FD_BY_ID_struct, link_id), + .str = "link_id=3735928559" + } +}; + #define CHK(cmd_) \ { \ @@ -1479,6 +1866,8 @@ CHK(BPF_MAP_DELETE_BATCH), CHK(BPF_LINK_CREATE), CHK(BPF_LINK_UPDATE), + CHK(BPF_LINK_GET_NEXT_ID), + CHK(BPF_LINK_GET_FD_BY_ID), }; page_size = get_page_size();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/btrfs.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/btrfs.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,6 +22,7 @@ #include <sys/vfs.h> #include <linux/fs.h> #include <linux/btrfs_tree.h> +#include "print_utils.h" #include "xlat.h" #define XLAT_MACROS_ONLY @@ -33,6 +34,7 @@ #include "xlat/btrfs_balance_state.h" #include "xlat/btrfs_compress_types.h" #include "xlat/btrfs_cont_reading_from_srcdev_mode.h" +#include "xlat/btrfs_csum_types.h" #include "xlat/btrfs_defrag_flags.h" #include "xlat/btrfs_dev_stats_values.h" #include "xlat/btrfs_dev_stats_flags.h" @@ -46,6 +48,7 @@ #include "xlat/btrfs_features_compat.h" #include "xlat/btrfs_features_compat_ro.h" #include "xlat/btrfs_features_incompat.h" +#include "xlat/btrfs_fs_info_flags.h" #include "xlat/btrfs_key_types.h" #include <linux/fiemap.h> @@ -150,15 +153,47 @@ } } +static void +print_hex(uint8_t byte) +{ + printf("%c%c", BYTE_HEX_CHARS(byte)); +} + +static void +print_uuid(const char * const prefix, const uint8_t * const uuid) +{ + size_t i = 0; + + printf("%s", prefix); + + for (; i < 4; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 6; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 8; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 10; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 16; i++) + print_hex(uuidi); +} + /* takes highest valid flag bit */ static uint64_t max_flags_plus_one(int bit) { - int i; uint64_t val = 0; if (bit == -1) return 1; - for (i = 0; i <= bit + 1 && i < 64; i++) + for (int i = 0; i <= bit + 1 && i < 64; ++i) val |= (1ULL << i); return val; } @@ -228,9 +263,8 @@ inherit->lim.max_rfer, inherit->lim.max_excl, inherit->lim.rsv_rfer, inherit->lim.rsv_excl); if (verbose) { - unsigned int i; printf("qgroups="); - for (i = 0; i < inherit->num_qgroups; i++) { + for (unsigned int i = 0; i < inherit->num_qgroups; ++i) { if (i > 0) printf(", "); printf("%" PRI__u64, inherit->qgroupsi); @@ -370,7 +404,6 @@ printf(") = -1 EBADF (%m)\n"); const unsigned int n_qgroups = 8; - unsigned int i; struct btrfs_qgroup_inherit *inherit; vol_args_v2.size = sizeof(*inherit) + n_qgroups * sizeof(inherit->qgroups0); @@ -380,7 +413,7 @@ inherit->num_ref_copies = 0; inherit->num_excl_copies = 0; inherit->num_qgroups = n_qgroups; - for (i = 0; i < n_qgroups; i++) + for (unsigned int i = 0; i < n_qgroups; ++i) inherit->qgroupsi = 1ULL << i; inherit->lim.flags = 0x7f; inherit->lim.max_rfer = u64val; @@ -416,16 +449,11 @@ if (write_ok) { struct btrfs_ioctl_vol_args_v2 args_passed; long ret; - /* - * Returns transid if flags & BTRFS_SUBVOL_CREATE_ASYNC - * - BTRFS_IOC_SNAP_CREATE_V2 - * - BTRFS_IOC_SUBVOL_CREATE_V2 - */ int subvolfd; strncpy(vol_args_v2.name, subvol_name, sizeof(vol_args_v2.name)); - vol_args_v2.flags = BTRFS_SUBVOL_CREATE_ASYNC; + vol_args_v2.flags = 0; vol_args_v2.size = 0; vol_args_v2.qgroup_inherit = NULL; args_passed = vol_args_v2; @@ -844,10 +872,9 @@ void *buf, uint64_t buf_size) { if (verbose) { - uint64_t i; uint64_t off = 0; printf("buf="); - for (i = 0; i < key->nr_items; i++) { + for (uint64_t i = 0; i < key->nr_items; ++i) { struct btrfs_ioctl_search_header *sh; sh = (typeof(sh))(buf + off); if (i) @@ -1100,9 +1127,8 @@ printf(" => {total_spaces=%" PRI__u64 ", ", argsp->total_spaces); if (verbose) { - unsigned int i; printf("spaces="); - for (i = 0; i < argsp->total_spaces; i++) { + for (unsigned int i = 0; i < argsp->total_spaces; ++i) { struct btrfs_ioctl_space_info *info; info = &argsp->spacesi; if (i) @@ -1330,8 +1356,8 @@ fiemap->fm_mapped_extents); if (verbose) { printf("fm_extents="); - unsigned int i; - for (i = 0; i < fiemap->fm_mapped_extents; i++) { + for (unsigned int i = 0; + i < fiemap->fm_mapped_extents; ++i) { struct fiemap_extent *fe; fe = &fiemap->fm_extentsi; if (i) @@ -1339,7 +1365,7 @@ printf("{fe_logical=%" PRI__u64 ", fe_physical=%" PRI__u64 ", fe_length=%" PRI__u64 - ", ", + ", fe_flags=", fe->fe_logical, fe->fe_physical, fe->fe_length); prfl_btrfs(fiemap_extent_flags, fe->fe_flags, @@ -1628,7 +1654,6 @@ printf("}) = -1 EBADF (%m)\n"); if (write_ok) { - unsigned int i; args.flags = BTRFS_DEV_STATS_RESET; printf("ioctl(%d, %s, {devid=%s" ", nr_items=%" PRI__u64 ", flags=", @@ -1642,18 +1667,18 @@ prfl_btrfs(btrfs_dev_stats_flags, args.flags, "BTRFS_DEV_STATS_???"); printf(", "); - for (i = 0; i < args.nr_items; i++) { + for (unsigned int i = 0; i < args.nr_items; ++i) { const char *name = xlookup(btrfs_dev_stats_values, i); if (i) printf(", "); if (name) { if (verbose_xlat) - printf("%u /* %s */ = ", i, name); + printf("%u /* %s */=", i, name); else - printf("%s = ", name); + printf("%s=", name); } else { - printf("%u = ", i); + printf("%u=", i); } printf("%" PRI__u64, args.valuesi); @@ -1955,8 +1980,7 @@ XLAT(BTRFS_IOC_SUBVOL_GETFLAGS), }; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { ioctl(-1, (unsigned long) btrfs_read_cmdi.val, 0); printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", sprint_xlat_(btrfs_read_cmdi.val, @@ -1965,6 +1989,81 @@ } static void +btrfs_print_fs_info_args(const struct btrfs_ioctl_fs_info_args * const args) +{ + print_uint64("{max_id=", args->max_id); + print_uint64(", num_devices=", args->num_devices); + print_uuid(", fsid=", args->fsid); + printf(", nodesize=%" PRIu32, args->nodesize); + printf(", sectorsize=%" PRIu32, args->sectorsize); + printf(", clone_alignment=%" PRIu32, args->clone_alignment); + + if (args->flags & BTRFS_FS_INFO_FLAG_CSUM_INFO) { + printf(", csum_type="); + prxval_btrfs(btrfs_csum_types, args->csum_type, + "BTRFS_CSUM_TYPE_???", true); + printf(", csum_size=%" PRIu16, args->csum_size); + } + + printf(", flags="); + prfl_btrfs(btrfs_fs_info_flags, args->flags, "BTRFS_FS_INFO_FLAG_???"); + + if (args->flags & BTRFS_FS_INFO_FLAG_GENERATION) + print_uint64(", generation=", args->generation); + + if (args->flags & BTRFS_FS_INFO_FLAG_METADATA_UUID) + print_uuid(", metadata_uuid=", args->metadata_uuid); + + printf("}"); +} + +static void +btrfs_fs_info_args_subtest(const struct btrfs_ioctl_fs_info_args * const args) +{ + ioctl(btrfs_test_dir_fd, BTRFS_IOC_FS_INFO, args); + printf("ioctl(%d, %s, ", btrfs_test_dir_fd, ioc(BTRFS_IOC_FS_INFO)); + btrfs_print_fs_info_args(args); + printf(") = 0\n"); +} + +static void +btrfs_test_fs_info_ioctl(void) +{ + struct btrfs_ioctl_fs_info_args args = {}; + + if (!write_ok) + return; + + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); +} + +static void rm_test_dir(void) { int rootfd = open(path, O_RDONLY|O_DIRECTORY); @@ -2070,6 +2169,7 @@ btrfs_test_dev_replace_ioctl(); btrfs_test_extent_same_ioctl(); btrfs_test_features_ioctls(); + btrfs_test_fs_info_ioctl(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/chmod--secontext.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 --secontext -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext -e trace=chmod +run_strace_match_diff -a28 -e secontext=!full,mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/chmod--secontext_full.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext_full.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 --secontext=full -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 -e secontext=full -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext=full -e trace=chmod +run_strace_match_diff -a28 -e secontext=full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch,full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/chmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|fcntl.*' -e/clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'times|fcntl.*' -e/clock +test_trace_expr 'times|times-.*|fcntl.*' -e/clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/clock_t_str.c
Added
@@ -0,0 +1,38 @@ +/* + * Format clock_t-typed values. + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <inttypes.h> +#include <math.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +const char * +clock_t_str(uint64_t val, char *str, size_t str_size) +{ + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + } + + if ((clk_tck > 0) && val) { + snprintf(str, str_size, "%" PRIu64 " /* %" PRIu64 ".%0*u s */", + val, val / clk_tck, precision, + (unsigned) round(((double) (val % clk_tck) / clk_tck) + * pow(10, precision))); + } else { + snprintf(str, str_size, "%" PRIu64, val); + } + + return str; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/clone3.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/clone3.c
Changed
@@ -126,7 +126,7 @@ #define do_clone3(args_, size_, errors_) \ do_clone3_((args_), (size_), (errors_), __LINE__) -static inline void +static void print_addr64(const char *pfx, uint64_t addr) { if (addr) @@ -187,7 +187,7 @@ printf(", set_tid_size=%" PRIu64, set_tid_size); } -static inline void +static void print_clone3(struct clone_args *const arg, long rc, kernel_ulong_t sz, enum validity_flags valid, const char *flags_str, const char *es_str) @@ -402,18 +402,12 @@ rc = do_clone3(arg2, sizeof(*arg2) + 8, ERR(E2BIG)); printf("clone3({flags=0, exit_signal=%llu, stack=NULL, stack_size=0" ", /* bytes %zu..%zu */ " -#ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -#else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -#endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #if RETVAL_INJECTED "} => {/* bytes %zu..%zu */ " -# ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -# else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -# endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #endif /* RETVAL_INJECTED */ "}, %zu) = %s" INJ_STR, 0xdeadface00000000ULL | SIGCHLD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/clone_ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/clone_ptrace.c
Changed
@@ -1,7 +1,7 @@ /* * Check handling of CLONE_PTRACE'ed processes. * - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -95,13 +95,16 @@ if (!WIFSIGNALED(status) || WTERMSIG(status) != sig) error_msg_and_fail("unexpected child exit status %d", status); + char utm_str64; + char stm_str64; printf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=%d" - ", si_uid=%d, si_status=%s, si_utime=%u, si_stime=%u} ---\n" + ", si_uid=%d, si_status=%s, si_utime=%s, si_stime=%s} ---\n" #if !QUIET_EXIT "+++ exited with 0 +++\n" #endif , pid, geteuid(), "SIGUSR1", - (unsigned int) sinfo.si_utime, (unsigned int) sinfo.si_stime); + clock_t_str((unsigned int) sinfo.si_utime, ARRSZ_PAIR(utm_str)), + clock_t_str((unsigned int) sinfo.si_stime, ARRSZ_PAIR(stm_str))); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/count-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/count-f.c
Changed
@@ -23,10 +23,8 @@ static void * thread(void *arg) { - unsigned int i; - assert(chdir(".") == 0); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { assert(chdir("") == -1); assert(chdir(".") == 0); } @@ -37,16 +35,15 @@ static int process(void) { - unsigned int i; pthread_t tT; - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { errno = pthread_create(&ti, NULL, thread, NULL); if (errno) perror_msg_and_fail("pthread_create"); } - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { void *retval; errno = pthread_join(ti, &retval); if (errno) @@ -59,20 +56,24 @@ int main(void) { - unsigned int i; pid_t pP; - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { pi = fork(); if (pi < 0) perror_msg_and_fail("fork"); if (!pi) return process(); } - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { int s; + pid_t rc; - assert(waitpid(pi, &s, 0) == pi); + while ((rc = waitpid(pi, &s, 0)) != pi) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pi); + } assert(WIFEXITED(s)); if (WEXITSTATUS(s)) return WEXITSTATUS(s);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/cur_audit_arch.h
Added
@@ -0,0 +1,163 @@ +/* + * Provides an AUDIT_ARCH_* constant for the current process in CUR_AUDIT_ARCH + * macro for some architectures (where such a constant defined). + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_CUR_AUDIT_ARCH_H +# define STRACE_TESTS_CUR_AUDIT_ARCH_H + +# include <linux/audit.h> + +/* + * If only one could easily get AUDIT_ARCH_* of the running process... + * CUR_AUDIT_ARCH - AUDIT_ARCH_* of the current personality + * PERS0_AUDIT_ARCH - AUDIT_ARCH_* of the strace's default personality + * if the current one is mpers + * PERS0__NR_gettid - gettid() syscall number in strace's default personality + * M32_AUDIT_ARCH, MX32_AUDIT_ARCH - AUDIT_ARCH_* values for mpers + * M32__NR_gettid, MX32_NR_gettid - gettid() syscall numbers in mpers + */ +# if defined __alpha__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_ALPHA + +# elif defined __arc__ +# if WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACTBE +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACT +# endif + +# elif defined __arm64__ || defined __aarch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define M32_AUDIT_ARCH AUDIT_ARCH_ARM +# define M32__NR_gettid 224 +# elif defined __arm__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARMEB +# else +# define PERS0_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define PERS0__NR_gettid 178 +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARM +# endif + +# elif defined __x86_64__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define PERS0__NR_gettid 186 +# define CUR_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define M32_AUDIT_ARCH AUDIT_ARCH_I386 +# define M32__NR_gettid 224 +# define MX32_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define MX32__NR_gettid 1073742010 +# elif defined __i386__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# ifdef X32 +# define PERS0__NR_gettid 1073742010 +# else +# define PERS0__NR_gettid 186 +# endif +# define CUR_AUDIT_ARCH AUDIT_ARCH_I386 + +# elif defined __ia64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_IA64 + +# elif defined __hppa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_PARISC + +# elif defined __m68k__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_M68K + +# elif defined __mips__ +# if _MIPS_SIM == _MIPS_SIM_ABI64 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64 +# endif +# elif _MIPS_SIM == _MIPS_SIM_NABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64N32 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64N32 +# endif +# elif _MIPS_SIM == _MIPS_SIM_ABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL +# endif +# endif + +# elif defined __powerpc64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_PPC +# define M32__NR_gettid 207 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64LE +# endif +# elif defined __powerpc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define PERS0__NR_gettid 207 +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC + +# elif defined __riscv +# define CUR_AUDIT_ARCH AUDIT_ARCH_RISCV64 + +# elif defined __s390x__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390X +# define M32_AUDIT_ARCH AUDIT_ARCH_S390 +# define M32__NR_gettid 236 +# elif defined __s390__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_S390X +# define PERS0__NR_gettid 236 +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390 + +# elif defined __sh64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64EL +# endif +# elif defined __sh__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SHEL +# endif + +# elif defined __sparc__ && defined __arch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_SPARC +# define M32__NR_gettid 143 +# elif defined __sparc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define PERS0__NR_gettid 143 +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC + +# elif defined __xtensa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_XTENSA + +# endif + +/* Undefine meaningless definitions */ +# if defined(PERS0_AUDIT_ARCH) \ + && !defined(MPERS_IS_m32) && !defined(MPERS_IS_mx32) +# undef PERS0_AUDIT_ARCH +# endif + +# if defined(M32_AUDIT_ARCH) \ + && (!defined(HAVE_M32_MPERS) || defined(MPERS_IS_m32)) +# undef M32_AUDIT_ARCH +# endif + +# if defined(MX32_AUDIT_ARCH) \ + && (!defined(HAVE_MX32_MPERS) || defined(MPERS_IS_mx32)) +# undef MX32_AUDIT_ARCH +# endif + +#endif /* STRACE_TESTS_CUR_AUDIT_ARCH_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-all.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_DEVNUM 1 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/dev--decode-fds-dev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-dev.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 1 +#define PRINT_AT_FDCWD_PATH 0 #include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-none.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATH 0 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/dev--decode-fds-path.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-path.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 0 +#define PRINT_AT_FDCWD_PATH 1 #include "dev-yy.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/dev--decode-fds-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-socket.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_DEVNUM 0 -#include "dev-yy.c" +#include "dev--decode-fds-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/dev--decode-fds-socket.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev--decode-fds-socket.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/dev-yy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/dev-yy.c
Changed
@@ -18,14 +18,28 @@ #include <sys/sysmacros.h> +#ifndef PRINT_PATH +# define PRINT_PATH 1 +#endif + #ifndef PRINT_DEVNUM -# define PRINT_DEVNUM 1 +# if PRINT_PATH +# define PRINT_DEVNUM 1 +# else +# define PRINT_DEVNUM 0 +# endif +#endif + +#ifndef PRINT_AT_FDCWD_PATH +# define PRINT_AT_FDCWD_PATH PRINT_DEVNUM #endif #if PRINT_DEVNUM # define DEV_FMT "<%s<%s %u:%u>>" -#else +#elif PRINT_PATH # define DEV_FMT "<%s>" +#else +# define DEV_FMT "" #endif #if defined __NR_openat && defined O_PATH @@ -34,6 +48,9 @@ main(void) { skip_if_unavailable("/proc/self/fd/"); +# if PRINT_AT_FDCWD_PATH + char *cwd = get_fd_path(get_dir_fd(".")); +# endif static const struct { const char *path; @@ -56,16 +73,25 @@ long fd = syscall(__NR_openat, AT_FDCWD, checksi.path, O_RDONLY|O_PATH); - printf("openat(AT_FDCWD, \"%s\", O_RDONLY|O_PATH) = %s", + printf("openat(AT_FDCWD" +# if PRINT_AT_FDCWD_PATH + "<%s>" +# endif + ", \"%s\", O_RDONLY|O_PATH) = %s", +# if PRINT_AT_FDCWD_PATH + cwd, +# endif checksi.path, sprintrc(fd)); +# if PRINT_PATH if (fd >= 0) printf(DEV_FMT, checksi.path -# if PRINT_DEVNUM +# if PRINT_DEVNUM , checksi.blk ? "block" : "char", checksi.major, checksi.minor -# endif +# endif ); +# endif puts(""); if (fd < 0) { @@ -79,10 +105,13 @@ int rc = fsync(fd); printf("fsync(%ld" DEV_FMT ") = %s\n", - fd, checksi.path, -# if PRINT_DEVNUM + fd, +# if PRINT_PATH + checksi.path, +# if PRINT_DEVNUM checksi.blk ? "block" : "char", checksi.major, checksi.minor, +# endif # endif sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/errno2name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/errno2name.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,10 @@ #define CASE(x) case x: return #x +#ifndef ENOTSUPP +# define ENOTSUPP 524 +#endif + const char * errno2name(void) {
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execve--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execve--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_full_mismatch +execve.test --secontext=full,mismatch); do not edit. +set -- --secontext=full,mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execve--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execve--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_mismatch +execve.test --secontext=mismatch); do not edit. +set -- --secontext=mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execveat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execveat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execveat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/execveat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_mismatch --secontext=mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch); do not edit. +set -- -a24 --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch); do not edit. +set -- -a24 --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch); do not edit. +set -- -a24 -y --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch); do not edit. +set -- -a24 -y --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/faccessat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat.c
Changed
@@ -28,6 +28,14 @@ # define SKIP_IF_PROC_IS_UNAVAILABLE # endif +# ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +# else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +# endif + static const char *errstr; static long @@ -57,6 +65,9 @@ */ create_and_enter_subdir("faccessat_subdir"); + int cwd_fd = get_dir_fd("."); + char *cwd = get_fd_path(cwd_fd); + char *my_secontext = SECONTEXT_PID_MY(); k_faccessat(-1, NULL, F_OK); @@ -76,8 +87,9 @@ */ k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\"%s, F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\"%s, F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, sample_secontext, errstr); @@ -85,8 +97,9 @@ perror_msg_and_fail("unlink"); k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\", F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\", F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, errstr); @@ -94,8 +107,6 @@ * Tests with dirfd. */ - int cwd_fd = get_dir_fd("."); - char *cwd = get_fd_path(cwd_fd); char *cwd_secontext = SECONTEXT_FILE("."); char *sample_realpath = xasprintf("%s/%s", cwd, sample); @@ -196,6 +207,12 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +# ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +# else + "AT_FDCWD"; +# endif char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -203,7 +220,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/faccessat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/faccessat2.c
Changed
@@ -21,6 +21,8 @@ #ifndef FD_PATH # define FD_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -77,6 +79,13 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +#ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +#else + "AT_FDCWD"; +#endif + char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -84,7 +93,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fanotify_init.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_init.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of fanotify_init syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -46,9 +46,9 @@ { (kernel_ulong_t) 0xffffffffffffffffULL, "0xc /* FAN_CLASS_??? */|FAN_CLOEXEC|FAN_NONBLOCK|" "FAN_UNLIMITED_QUEUE|FAN_UNLIMITED_MARKS|" - "FAN_ENABLE_AUDIT|FAN_REPORT_TID|FAN_REPORT_FID|" - "FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" - "0xfffff080" }, + "FAN_ENABLE_AUDIT|FAN_REPORT_PIDFD|FAN_REPORT_TID|" + "FAN_REPORT_FID|FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" + "FAN_REPORT_TARGET_FID|0xffffe000" }, }; static const struct strval event_f_flags = { { F8ILL_KULONG_MASK, "O_RDONLY" }, @@ -56,12 +56,8 @@ "O_WRONLY|0x80000000" } }; - unsigned int i; - unsigned int j; - - - for (i = 0; i < ARRAY_SIZE(flags); i++) - for (j = 0; j < ARRAY_SIZE(event_f_flags); j++) + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(event_f_flags); ++j) do_call(flagsi.val, flagsi.str, event_f_flagsj.val, event_f_flagsj.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_mark--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_mark--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=full,mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_mark--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_mark--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fanotify_mark.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fanotify_mark.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK # include <limits.h> +# include <stdint.h> # include <stdio.h> # include <unistd.h> # include <sys/fanotify.h> @@ -88,8 +89,8 @@ }; static const struct strval flags = { { F8ILL_KULONG_MASK, "0" }, - { (kernel_ulong_t) 0xdec0deddefacec00ULL, - "0xefacec00" + { (kernel_ulong_t) 0xdec0deddeface800ULL, + "0xeface800" # if !XLAT_RAW " /* FAN_MARK_??? */" # endif @@ -114,7 +115,8 @@ "FAN_MARK_ADD|FAN_MARK_REMOVE|FAN_MARK_DONT_FOLLOW|" "FAN_MARK_ONLYDIR|FAN_MARK_MOUNT|FAN_MARK_IGNORED_MASK|" "FAN_MARK_IGNORED_SURV_MODIFY|FAN_MARK_FLUSH|" - "FAN_MARK_FILESYSTEM|0xdeadfe00" + "FAN_MARK_FILESYSTEM|FAN_MARK_EVICTABLE|" + "FAN_MARK_IGNORE|0xdeadf800" # endif # if XLAT_VERBOSE " */" @@ -145,19 +147,21 @@ "FAN_MOVE_SELF|" "FAN_OPEN_EXEC|" "FAN_Q_OVERFLOW|" + "FAN_FS_ERROR|" "FAN_OPEN_PERM|" "FAN_ACCESS_PERM|" "FAN_OPEN_EXEC_PERM|" "FAN_DIR_MODIFY|" "FAN_ONDIR|" "FAN_EVENT_ON_CHILD|" - "0xdeadfeedb7f0a000" + "FAN_RENAME|" + "0xdeadfeeda7f02000" # endif # if XLAT_VERBOSE " */" # endif }, - { ARG_ULL_STR(0xffffffffb7f0a000) + { ARG_ULL_STR(0xffffffffa7f02000) # if !XLAT_RAW " /* FAN_??? */" # endif @@ -193,23 +197,20 @@ { (kernel_ulong_t) (uintptr_t) bogus_path2, "\"" STR64 "\"" }, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - int rc; - - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(fds); i++) { - for (j = 0; j < ARRAY_SIZE(flags); j++) { - for (k = 0; k < ARRAY_SIZE(masks); k++) { - for (l = 0; l < ARRAY_SIZE(dirfds); l++) { - for (m = 0; m < ARRAY_SIZE(paths); m++) + for (unsigned int i = 0; + i < ARRAY_SIZE(fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(flags); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(masks); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(dirfds); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(paths); ++m) do_call(fdsi, flagsj.val, flagsj.str, @@ -223,8 +224,6 @@ } } } -# else /* TEST_SECONTEXT */ - int rc; # endif /* * Test with AT_FDCWD. @@ -234,7 +233,7 @@ char path = "."; char *path_secontext = SECONTEXT_FILE(path); - rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, + int rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, path); printf("%s%s(-1, %s, %s, %s, \"%s\"%s) = %s\n", my_secontext, "fanotify_mark",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fchmod.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmod.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,10 +35,17 @@ (void) unlink(sample); int fd = open(sample, O_CREAT|O_RDONLY, 0400); if (fd == -1) - perror_msg_and_fail("open"); + perror_msg_and_fail("open(\"%s\")", sample); + + static const char sample_del = "fchmod_sample_file (deleted)"; + (void) unlink(sample_del); + int fd_del = open(sample_del, O_CREAT|O_RDONLY, 0400); + if (fd_del == -1) + perror_msg_and_fail("open(\"%s\")", sample); # ifdef YFLAG char *sample_realpath = get_fd_path(fd); + char *sample_del_realpath = get_fd_path(fd_del); # endif const char *sample_secontext = SECONTEXT_FILE(sample); @@ -56,12 +63,27 @@ sample_secontext, sprintrc(rc)); + const char *sample_del_secontext = SECONTEXT_FILE(sample_del); + rc = syscall(__NR_fchmod, fd_del, 0600); +# ifdef YFLAG + printf("%s%s(%d<%s>%s, 0600) = %s\n", +# else + printf("%s%s(%d%s, 0600) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + if (unlink(sample)) - perror_msg_and_fail("unlink"); + perror_msg_and_fail("unlink(\"%s\")", sample); rc = syscall(__NR_fchmod, fd, 051); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 051) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", # else printf("%s%s(%d%s, 051) = %s\n", # endif @@ -73,9 +95,26 @@ sample_secontext, sprintrc(rc)); + if (unlink(sample_del)) + perror_msg_and_fail("unlink(\"%s\")", sample_del); + + rc = syscall(__NR_fchmod, fd_del, 051); +# ifdef YFLAG + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", +# else + printf("%s%s(%d%s, 051) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + rc = syscall(__NR_fchmod, fd, 004); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 004) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 004) = %s\n", # else printf("%s%s(%d%s, 004) = %s\n", # endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmodat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmodat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmodat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchmodat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchownat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchownat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=full,mismatch -e trace=fchownat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchownat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/fchownat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=mismatch -e trace=fchownat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fcntl.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fcntl.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,10 @@ # define TEST_SYSCALL_STR "fcntl" # include "fcntl-common.c" +/* We can't have nice things because clang */ +# if (defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64)) || \ + (defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64)) || \ + (defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64)) static void test_flock64_undecoded(const int cmd, const char *name) { @@ -28,6 +32,7 @@ printf("%s(0, %s, %p) = %s\n", TEST_SYSCALL_STR, name, &fl, errstr); } +# endif # define TEST_FLOCK64_UNDECODED(cmd) test_flock64_undecoded(cmd, #cmd) @@ -38,14 +43,14 @@ * F_GSETOWN_EX had conflicting values with F_GSETLK64 * in kernel revisions v2.6.32-rc1~96..v2.6.32-rc7~23. */ -# if !defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64 +# if defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64) TEST_FLOCK64_UNDECODED(F_SETLK64); # endif /* F_GETLK and F_SETLKW64 have conflicting values on mips64 */ -# if !defined(__mips64) || F_GETLK != F_SETLKW64 +# if defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64) TEST_FLOCK64_UNDECODED(F_SETLKW64); # endif -# if !defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64 +# if defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64) TEST_FLOCK64_UNDECODED(F_GETLK64); # endif }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/file_handle--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/file_handle--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/file_handle--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/file_handle--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/file_handle.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/file_handle.c
Changed
@@ -292,22 +292,20 @@ (kernel_ulong_t) (uintptr_t) bogus_mount_id, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(dirfds); i++) { - for (j = 0; j < ARRAY_SIZE(paths); j++) { - for (k = 0; k < ARRAY_SIZE(name_handles); k++) { - for (l = 0; l < ARRAY_SIZE(mount_ids); l++) { - for (m = 0; m < ARRAY_SIZE(name_flags); - m++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(dirfds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(paths); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(name_handles); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(mount_ids); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(name_flags); ++m) { do_name_to_handle_at( dirfdsi.val, dirfdsi.str, @@ -325,9 +323,12 @@ } } - for (i = 0; i < ARRAY_SIZE(mount_fds); i++) { - for (j = 0; j < ARRAY_SIZE(open_handles); j++) { - for (k = 0; k < ARRAY_SIZE(open_flags); k++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(mount_fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(open_handles); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(open_flags); ++k) { do_open_by_handle_at(mount_fdsi, open_handlesj.addr, open_handlesj.valid,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fill_memory.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fill_memory.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,9 +12,8 @@ unsigned int period) { unsigned char *p = ptr; - size_t i; - for (i = 0; i < size; i++) { + for (typeof(size) i = 0; i < size; ++i) { pi = start + i % period; } } @@ -30,9 +29,8 @@ unsigned int period) { uint16_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint16_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint16_t); ++i) { pi = start + i % period; } } @@ -48,9 +46,8 @@ unsigned int period) { uint32_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint32_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint32_t); ++i) { pi = start + i % period; } } @@ -60,3 +57,20 @@ { fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000); } + +void +fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period) +{ + uint64_t *p = ptr; + + for (typeof(size) i = 0; i < size / sizeof(uint64_t); i++) { + pi = start + i % period; + } +} + +void +fill_memory64(void *ptr, size_t size) +{ + fill_memory64_ex(ptr, size, + 0x8090a0b0c0d0e0f0ULL, 0x8000000000000000ULL); +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/filter-unavailable.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/filter-unavailable.c
Changed
@@ -26,7 +26,6 @@ static int process(void) { - int i; int fds2; pthread_t t; struct timespec ts = { .tv_nsec = 10000000 }; @@ -36,9 +35,9 @@ if (pipe(fds)) perror_msg_and_fail("pipe"); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(pthread_create(&t, NULL, thread, NULL) == 0); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(read(0, fds, 1) == 1); (void) nanosleep(&ts, 0); @@ -48,15 +47,13 @@ int main(void) { - int i, s; - pid_t p; - - for (i = 0; i < P; ++i) { - p = fork(); + for (int i = 0; i < P; ++i) { + pid_t p = fork(); if (p < 0) perror_msg_and_fail("fork"); if (p == 0) return process(); + int s; assert(waitpid(p, &s, 0) == p); assert(WIFEXITED(s)); if (WEXITSTATUS(s))
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/filter_seccomp-flag.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/filter_seccomp-flag.c
Changed
@@ -2,7 +2,7 @@ * Check that syscall numbers do not conflict with seccomp filter flags. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,13 +14,11 @@ #include "scno.h" /* PERSONALITY*_AUDIT_ARCH definitions depend on AUDIT_ARCH_* constants. */ -#ifdef PERSONALITY0_AUDIT_ARCH -# include <linux/audit.h> -# define XLAT_MACROS_ONLY -# include "xlat/elf_em.h" -# include "xlat/audit_arch.h" -# undef XLAT_MACROS_ONLY -#endif +#include <linux/audit.h> +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +# include "xlat/audit_arch.h" +#undef XLAT_MACROS_ONLY /* Define these shorthand notations to simplify the syscallent files. */ #include "sysent_shorthand_defs.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/filter_seccomp-perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/filter_seccomp-perf.c
Changed
@@ -2,7 +2,7 @@ * Check seccomp filter performance. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,7 +29,7 @@ int rc = 0; signal(SIGALRM, handler); - alarm(1); + alarm(3); for (i = 0; !stop; i++) { rc |= chdir(".");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/filter_seccomp-perf.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/filter_seccomp-perf.test
Changed
@@ -3,7 +3,7 @@ # Check seccomp filter performance. # # Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2021 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -18,7 +18,7 @@ mv "$LOG" "$LOG.seccomp" match_diff "$LOG.regular" "$LOG.seccomp" -min_ratio=6 +min_ratio=5 # With seccomp filter enabled, we should be able to complete # at least $min_ratio times more chdir system calls. ratio="$((num_seccomp / num_regular))"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/filtering_syscall-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/filtering_syscall-syntax.test
Changed
@@ -4,7 +4,7 @@ # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2017 Nikolay Marchuk <marchuk.nikolay.a@gmail.com> -# Copyright (c) 2018-2020 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -65,11 +65,27 @@ check_e "invalid system call '$1'" -e fault="$2:when=4" } +pers=$(print_current_personality_designator) + for arg in '' , ,, ,,, ; do check_syscall "$arg" "$arg" check_syscall "!$arg" "!$arg" done +case "$STRACE_ARCH" in + alpha) invalid_scno1=299 + invalid_scno2=404 + ;; + *) invalid_scno1=415 + invalid_scno2=501 + ;; +esac + +case "$STRACE_ARCH" in + ia64) valid_scno=1025 ;; + *) valid_scno=1 ;; +esac + for arg in -1 -2 -3 -4 -5 \ invalid_syscall_name \ 0x 0y \ @@ -78,16 +94,19 @@ 2147483648 \ 4294967295 \ 4294967296 \ + $invalid_scno1 \ + $invalid_scno2 \ /non_syscall \ % %not_a_class \ ; do check_syscall "$arg" "$arg" check_syscall "$arg" "!$arg" - check_syscall "$arg" "1,$arg" + check_syscall "$arg" "$valid_scno,$arg" + check_syscall "$arg@$pers" "$arg@$pers" done -for arg in '!chdir' none all; do - check_syscall "$arg" "1,$arg" +for arg in '!chdir' none; do + check_syscall "$arg" "$valid_scno,$arg" done # invalid syscall, multiple syscalls @@ -97,16 +116,19 @@ %process \ %network \ chdir \ - 1 \ + $valid_scno \ + all \ ?32767 \ ?invalid \ ?%not_a_class \ ?/non_syscall \ ; do - check_syscall nonsense "$arg,nonsense" - check_syscall nonsense "!$arg,nonsense" - check_syscall nonsense "nonsense,$arg" - check_syscall nonsense "!nonsense,$arg" + for pfx in '' '!'; do + for token in "$arg" "$arg@$pers"; do + check_syscall nonsense "${pfx}$token,nonsense" + check_syscall nonsense "${pfx}nonsense,$token" + done + done done check_e_using_grep 'regcomp: \+id: :alpha:.+' -e trace='/+id'
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/finit_module.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/finit_module.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of finit_module syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -37,7 +37,8 @@ { (kernel_ulong_t) 0xfacef157dec0ded1ULL, "MODULE_INIT_IGNORE_MODVERSIONS|0xdec0ded0" }, { -1LL, "MODULE_INIT_IGNORE_MODVERSIONS|" - "MODULE_INIT_IGNORE_VERMAGIC|0xfffffffc" }, + "MODULE_INIT_IGNORE_VERMAGIC|" + "MODULE_INIT_COMPRESSED_FILE|0xfffffff8" }, }; long rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fork--pidns-translation.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fork--pidns-translation.c
Changed
@@ -2,10 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fork--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fork--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of fork's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fork-f.c
Changed
@@ -12,7 +12,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fsconfig.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fsconfig.c
Changed
@@ -187,11 +187,14 @@ static void test_fsconfig_set_path(const unsigned int cmd, const char *cmd_str) { + char *cwd = get_fd_path(get_dir_fd(".")); + fill_memory_ex(fname, PATH_MAX, '0', 10); k_fsconfig(fd, cmd, key, fname, -100); #ifndef PATH_TRACING - printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD) = %s\n", - fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, errstr); + printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD<%s>) = %s\n", + fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, cwd, + errstr); #endif fnamePATH_MAX - 1 = '\0'; @@ -206,8 +209,8 @@ cmd_str, key, fd, fd_path, errstr); k_fsconfig(-1, cmd, 0, fd_path, -100); - printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD) = %s\n", - cmd_str, fd_path, errstr); + printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD<%s>) = %s\n", + cmd_str, fd_path, cwd, errstr); k_fsconfig(-1, cmd, efault, efault + 1, fd); printf("fsconfig(-1, %s, %p, %p, %d<%s>) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/fspick.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/fspick.c
Changed
@@ -38,6 +38,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -56,8 +59,8 @@ k_fspick(-100, fname, 0); #ifndef PATH_TRACING - printf("fspick(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("fspick(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/futex.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/futex.c
Changed
@@ -95,7 +95,6 @@ const char *fmt; int saved_errno; int rc; - int i; va_list ap; @@ -106,7 +105,7 @@ va_start(ap, argmask); - for (i = 0; i < 4; i++) { + for (int i = 0; i < 4; ++i) { if (argmask & (1 << i)) { fmt = va_arg(ap, const char *); @@ -158,8 +157,6 @@ TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr); TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr2); int rc; - unsigned i; - unsigned j; uaddr0 = 0x1deadead; uaddr20 = 0xbadf00d; @@ -582,8 +579,8 @@ ENOSYS, EINVAL }, }; - for (i = 0; i < ARRAY_SIZE(wake_ops); i++) { - for (j = 0; j < 2; j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(wake_ops); ++i) { + for (unsigned int j = 0; j < 2; ++j) { CHECK_FUTEX_ENOSYS(uaddr, j ? FUTEX_WAKE_OP_PRIVATE : FUTEX_WAKE_OP, VAL, i, uaddr2, wake_opsi.val,
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/futex_waitv.c
Added
@@ -0,0 +1,136 @@ +/* + * Check decoding of futex_waitv syscall. + * + * Copyright (c) 2015-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include "kernel_timespec.h" +#include <stdio.h> +#include <stdlib.h> +#include <time.h> +#include <unistd.h> +#include <linux/futex.h> + +static const char *errstr; + +static long +k_futex_waitv(const void *const waiters, + const unsigned int nr_futexes, + const unsigned int flags, + const void *const timeout, + const unsigned int clockid) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = (uintptr_t) waiters; + const kernel_ulong_t arg2 = fill | nr_futexes; + const kernel_ulong_t arg3 = fill | flags; + const kernel_ulong_t arg4 = (uintptr_t) timeout; + const kernel_ulong_t arg5 = fill | clockid; + const long rc = syscall(__NR_futex_waitv, + arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(uint32_t, futex); + TAIL_ALLOC_OBJECT_CONST_PTR(struct futex_waitv, waiter); + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_timespec64_t, ts); + ts->tv_sec = 1; + ts->tv_nsec = 2; + + k_futex_waitv(0, 1, -1U, 0, 1); + printf("futex_waitv(NULL, 1, %#x, NULL, CLOCK_MONOTONIC) = %s\n", + -1U, errstr); + + k_futex_waitv(waiter + 1, 0, 1, ts + 1, -1U); + printf("futex_waitv(, 0, %#x, %p, %#x /* CLOCK_??? */) = %s\n", + 1, ts + 1, -1U, errstr); + + k_futex_waitv((void *) waiter + 1, 1, 0, ts, 0); + printf("futex_waitv(%p, 1, 0, {tv_sec=1, tv_nsec=2}, CLOCK_REALTIME)" + " = %s\n", + (void *) waiter + 1, errstr); + + waiter->uaddr = 0; + k_futex_waitv(waiter, 1, 0, 0, 1); + printf("futex_waitv({val=%#llx, uaddr=NULL, flags=%s|%#x" + ", __reserved=%#x}, 1, 0, NULL, CLOCK_MONOTONIC) = %s\n", + (unsigned long long) waiter->val, + "FUTEX_32|FUTEX_PRIVATE_FLAG", + waiter->flags & ~(FUTEX_32|FUTEX_PRIVATE_FLAG), + waiter->__reserved, errstr); + + waiter->val = 0xdeadbeeffacefeedULL; + waiter->uaddr = -1ULL; + waiter->flags = 0; + waiter->__reserved = 0; + k_futex_waitv(waiter, 1, 0, 0, 2); + printf("futex_waitv({val=%#llx, uaddr=%#llx, flags=0}, 1, 0, NULL" + ", CLOCK_PROCESS_CPUTIME_ID) = %s\n", + (unsigned long long) waiter->val, + (unsigned long long) waiter->uaddr, + errstr); + + waiter->val = 0; + waiter->uaddr = (uintptr_t) futex; + waiter->flags = FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, 0, 0); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0, NULL" + ", CLOCK_REALTIME) = %s\n", + futex, "FUTEX_PRIVATE_FLAG", errstr); + + waiter->flags = FUTEX_32; + k_futex_waitv(waiter, 2, 0, 0, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, ... /* %p */, 2, 0, NULL" + ", CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32", waiter + 1, errstr); + + waiter->flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, ts, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0" + ", {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32|FUTEX_PRIVATE_FLAG", errstr); + + unsigned int nr = FUTEX_WAITV_MAX + 1; + uint32_t * const futexes = tail_alloc(nr * sizeof(*futexes)); + struct futex_waitv * const waiters = tail_alloc(nr * sizeof(*waiters)); + for (unsigned int i = 0; i < nr; ++i) { + futexesi = i; + waitersi.val = i; + waitersi.uaddr = (uintptr_t) &futexesi; + waitersi.flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + waitersi.__reserved = 0; + } + k_futex_waitv(waiters, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i, &futexesi, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", ..., %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + nr = FUTEX_WAITV_MAX; + k_futex_waitv(waiters + 1, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i + 1, &futexesi + 1, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/futex_waitv.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (futex_waitv -s256 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -s256
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/gen_tests.am -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/gen_tests.am
Changed
@@ -1,5 +1,5 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. -GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace_syscall_info.gen.test pwritev.gen.test quotactl.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-n.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test +GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test access--secontext_full_mismatch.gen.test access--secontext_mismatch.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test arch_prctl-success-Xabbrev.gen.test arch_prctl-success-Xraw.gen.test arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chmod--secontext_full_mismatch.gen.test chmod--secontext_mismatch.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execve--secontext_full_mismatch.gen.test execve--secontext_mismatch.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat--secontext_full_mismatch.gen.test execveat--secontext_mismatch.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat--secontext_full_mismatch.gen.test faccessat--secontext_mismatch.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-y--secontext_full_mismatch.gen.test faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark--secontext_full_mismatch.gen.test fanotify_mark--secontext_mismatch.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod--secontext_full_mismatch.gen.test fchmod--secontext_mismatch.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmod-y--secontext_full_mismatch.gen.test fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchmodat--secontext_full_mismatch.gen.test fchmodat--secontext_mismatch.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fchownat--secontext_full_mismatch.gen.test fchownat--secontext_mismatch.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test file_handle--secontext_full_mismatch.gen.test file_handle--secontext_mismatch.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test getsockname--secontext.gen.test getsockname--secontext_full.gen.test getsockname--secontext_full_mismatch.gen.test getsockname--secontext_mismatch.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_register-Xabbrev.gen.test io_uring_register-Xraw.gen.test io_uring_register-Xverbose.gen.test io_uring_register-success.gen.test io_uring_register-success-Xabbrev.gen.test io_uring_register-success-Xraw.gen.test io_uring_register-success-Xverbose.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_counter.gen.test ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test ioctl_kd-success-Xraw.gen.test ioctl_kd-success-Xverbose.gen.test ioctl_kd-success-s1024.gen.test ioctl_kd-success-s1024-Xabbrev.gen.test ioctl_kd-success-s1024-Xraw.gen.test ioctl_kd-success-s1024-Xverbose.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test ioctl_lirc-success.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test ioctl_ptp-success-Xabbrev.gen.test ioctl_ptp-success-Xraw.gen.test ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_seccomp.gen.test ioctl_seccomp--pidns-translation.gen.test ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test ioctl_seccomp-y-success.gen.test ioctl_seccomp-y-success--pidns-translation.gen.test ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test ioctl_seccomp-y-success-Xabbrev.gen.test ioctl_seccomp-y-success-Xraw.gen.test ioctl_seccomp-y-success-Xverbose.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_termios.gen.test ioctl_termios-v.gen.test ioctl_tiocm.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test linkat--secontext_full_mismatch.gen.test linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-all-netlink.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test nlattr_cachereport-Xabbrev.gen.test nlattr_cachereport-Xraw.gen.test nlattr_cachereport-Xverbose.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_brport-Xabbrev.gen.test nlattr_ifla_brport-Xraw.gen.test nlattr_ifla_brport-Xverbose.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_protinfo.gen.test nlattr_ifla_protinfo-Xabbrev.gen.test nlattr_ifla_protinfo-Xraw.gen.test nlattr_ifla_protinfo-Xverbose.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_vfinfo.gen.test nlattr_ifla_vfinfo-Xabbrev.gen.test nlattr_ifla_vfinfo-Xraw.gen.test nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open--secontext_full_mismatch.gen.test open--secontext_mismatch.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat--secontext_full_mismatch.gen.test openat--secontext_mismatch.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-all.gen.test pidfd_open--decode-fd-none.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-set_vma.gen.test prctl-sme.gen.test prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test prctl-sme-success-Xabbrev.gen.test prctl-sme-success-Xraw.gen.test prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-sve-Xabbrev.gen.test prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test prctl-sve-success-Xraw.gen.test prctl-sve-success-Xverbose.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_mrelease.gen.test process_mrelease-y.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test ptrace-Xverbose.gen.test ptrace-y.gen.test ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test ptrace_syscall_info-Xabbrev.gen.test ptrace_syscall_info-Xraw.gen.test ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test quotactl.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test seccomp_get_notif_sizes.gen.test seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test segv_pkuerr.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test set_mempolicy_home_node.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test sockopt-sol_socket-Xabbrev.gen.test sockopt-sol_socket-Xraw.gen.test sockopt-sol_socket-Xverbose.gen.test sockopt-sol_socket-success.gen.test sockopt-sol_socket-success-Xabbrev.gen.test sockopt-sol_socket-success-Xraw.gen.test sockopt-sol_socket-success-Xverbose.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--decode-pids-comm.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--strings-in-hex-non-ascii-chars.gen.test strace--strings-in-hex-none.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-Y-0123456789.gen.test strace-n.gen.test strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test times-Xraw.gen.test times-Xverbose.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_all_32.gen.test trace_personality_all_64.gen.test trace_personality_all_x32.gen.test trace_personality_number_32.gen.test trace_personality_number_64.gen.test trace_personality_number_x32.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_statfs_32.gen.test trace_personality_statfs_64.gen.test trace_personality_statfs_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-Y.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test $(srcdir)/_newselect.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -22,6 +22,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -40,6 +46,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -79,6 +112,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -166,9 +205,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -247,6 +292,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -256,6 +307,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -265,6 +322,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -277,6 +340,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -307,6 +376,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -328,6 +403,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -337,6 +418,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -346,6 +433,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -361,6 +454,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -385,6 +484,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -463,6 +568,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -577,6 +685,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -625,6 +745,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -637,6 +778,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -853,6 +1006,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -862,6 +1051,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -892,6 +1087,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -907,6 +1123,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -922,6 +1174,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -982,6 +1243,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1147,6 +1411,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1333,6 +1603,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1447,6 +1720,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1471,21 +1756,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1513,6 +1843,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1591,6 +1933,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1606,6 +1954,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1675,6 +2029,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1783,15 +2143,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1804,16 +2155,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1828,6 +2179,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1849,25 +2209,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1876,6 +2263,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1975,6 +2383,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1996,19 +2410,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -2020,6 +2458,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2200,6 +2644,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2239,6 +2695,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2386,18 +2845,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2476,6 +2968,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2503,6 +2998,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2548,9 +3049,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2578,6 +3085,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2620,6 +3130,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2650,6 +3169,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2659,6 +3196,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2755,6 +3301,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/gen_tests.in -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/gen_tests.in
Changed
@@ -1,6 +1,6 @@ # Input for gen_tests.sh # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -12,12 +12,23 @@ access -a30 --trace-path=access_sample access--secontext -a30 --secontext --trace-path=access_sample -e trace=access access--secontext_full -a30 --secontext=full --trace-path=access_sample -e trace=access +access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access +access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access acct -a20 add_key -a30 -s12 adjtimex -a15 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy aio_pgetevents -e trace=io_pgetevents alarm -a10 +arch_prctl +arch_prctl.sh -a27 +arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev +arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw +arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose +arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +at_fdcwd-pathmax -a36 --trace=openat -y -P sample bpf -a20 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf @@ -29,12 +40,14 @@ btrfs +ioctl.test chdir -a10 chmod -a28 -chmod--secontext -a28 --secontext -e trace=chmod -chmod--secontext_full -a28 --secontext=full -e trace=chmod +chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod +chmod--secontext_full -a28 -e secontext=full -e trace=chmod +chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod +chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod chown -a28 chown32 -a31 chroot -a13 -clock test_trace_expr 'times|fcntl.*' -e/clock +clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock clock_adjtime -a37 clock_adjtime64 -a39 clock_nanosleep -e trace=clock_nanosleep,clock_gettime @@ -60,9 +73,11 @@ copy_file_range creat -a20 delete_module -a23 +dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all dev--decode-fds-dev -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=dev +dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none dev--decode-fds-path -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=path -dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket dev-yy -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy dup -a7 9>>/dev/full dup-P -a7 --trace=dup -P /dev/full 9>>/dev/full @@ -87,16 +102,24 @@ erestartsys -a34 -e signal=none -e trace=recvfrom execve--secontext +execve.test --secontext execve--secontext_full +execve.test --secontext=full +execve--secontext_full_mismatch +execve.test --secontext=full,mismatch +execve--secontext_mismatch +execve.test --secontext=mismatch execveat execveat--secontext --secontext --trace=execveat execveat--secontext_full --secontext=full --trace=execveat +execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat +execveat--secontext_mismatch --secontext=mismatch --trace=execveat execveat-v -v -e trace=execveat faccessat--secontext +faccessat.test -a24 --secontext faccessat--secontext_full +faccessat.test -a24 --secontext=full +faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch +faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch faccessat-P -a23 --trace=faccessat -P /dev/full faccessat-y +faccessat.test -a24 -y faccessat-y--secontext +faccessat.test -a24 -y --secontext faccessat-y--secontext_full +faccessat.test -a24 -y --secontext=full +faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch +faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch faccessat-yy +faccessat.test -a24 -yy faccessat2-P -a27 --trace=faccessat2 -P /dev/full faccessat2-y +faccessat2.test -a28 -y @@ -107,6 +130,8 @@ fanotify_mark -a32 fanotify_mark--secontext -a32 --secontext -e trace=fanotify_mark fanotify_mark--secontext_full -a32 --secontext=full -e trace=fanotify_mark +fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark +fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark fanotify_mark-Xabbrev -a32 -Xabbrev -e trace=fanotify_mark fanotify_mark-Xraw -a32 -Xraw -e trace=fanotify_mark fanotify_mark-Xverbose -a32 -Xverbose -e trace=fanotify_mark @@ -114,17 +139,25 @@ fchmod -a15 fchmod--secontext -a15 --secontext -e trace=fchmod fchmod--secontext_full -a15 --secontext=full -e trace=fchmod +fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod +fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod fchmod-y -y -e trace=fchmod fchmod-y--secontext -a15 -y --secontext -e trace=fchmod fchmod-y--secontext_full -a15 -y --secontext=full -e trace=fchmod +fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod +fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod fchmodat fchmodat--secontext --secontext -e trace=fchmodat fchmodat--secontext_full --secontext=full -e trace=fchmodat +fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat +fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat fchown -a16 fchown32 -a18 fchownat fchownat--secontext --secontext -e trace=fchownat fchownat--secontext_full --secontext=full -e trace=fchownat +fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat +fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat fcntl -a8 fcntl--pidns-translation test_pidns -a8 -e trace=fcntl fcntl64 -a8 @@ -133,6 +166,8 @@ file_handle -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext --secontext -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext_full --secontext=full -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at filter_seccomp . "${srcdir=.}/filter_seccomp.sh"; test_prog_set --seccomp-bpf -f filter_seccomp-flag ../$NAME finit_module -a25 @@ -159,6 +194,7 @@ fsync-y -y -e trace=fsync ftruncate -a24 ftruncate64 -a36 +futex_waitv -s256 futimesat -a28 get_mempolicy -s3 -a38 getcpu -a25 @@ -197,6 +233,10 @@ getsid -a10 getsid--pidns-translation test_pidns -e trace=getsid -a10 getsockname -a27 +getsockname--secontext -a27 --secontext -e trace=getsockname +getsockname--secontext_full -a27 --secontext=full -e trace=getsockname +getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname +getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname gettid -a9 getuid-creds +getuid.test getuid32 +getuid.test @@ -213,10 +253,21 @@ inotify_init1-y -a27 -y -e trace=inotify_init1 io_uring_enter -y io_uring_register -y +io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev +io_uring_register-Xraw -etrace=io_uring_register -y -Xraw +io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose +io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y +io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev +io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw +io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose io_uring_setup -a26 -y ioctl_block +ioctl.test ioctl_dm +ioctl.test -s9 ioctl_dm-v +ioctl.test -v -s9 +ioctl_counter +ioctl.test -a39 +ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev +ioctl_counter-Xraw +ioctl.test -a18 -Xraw +ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose ioctl_evdev +ioctl.test -a26 ioctl_evdev-Xabbrev +ioctl.test -a26 -Xabbrev ioctl_evdev-Xraw +ioctl.test -a28 -Xraw @@ -289,9 +340,23 @@ ioctl_hdio-v-Xraw +ioctl.test -a20 -v -Xraw ioctl_hdio-v-Xverbose +ioctl.test -a39 -v -Xverbose ioctl_inotify +ioctl.test +ioctl_kd +ioctl.test -a20 +ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev +ioctl_kd-Xraw +ioctl.test -a18 -Xraw +ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose +ioctl_kd-success +ioctl-success.sh -a20 +ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev +ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw +ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose +ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024 +ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev +ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw +ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose ioctl_kvm_run +ioctl.test -a36 -y ioctl_kvm_run-v +ioctl.test -v -a36 -y ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu +ioctl_lirc +ioctl-success.sh -a30 +ioctl_lirc-success +ioctl-success.sh -a30 ioctl_loop +ioctl.test ioctl_loop-nv +ioctl.test -a22 -e verbose=none ioctl_loop-v +ioctl.test -v @@ -301,17 +366,39 @@ ioctl_nsfs +ioctl.test -esignal=none ioctl_perf +ioctl.test ioctl_perf-success +ioctl-success.sh -a35 -ioctl_ptp +ioctl.test +ioctl_ptp +ioctl.test -a29 +ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev +ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw +ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose +ioctl_ptp-success +ioctl-success.sh -a29 +ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev +ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw +ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose ioctl_random +ioctl.test ioctl_rtc +ioctl.test ioctl_rtc-success +ioctl-success.sh -a22 ioctl_rtc-v +ioctl.test -v ioctl_scsi +ioctl.test +ioctl_seccomp +ioctl.test -a42 +ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48 +ioctl_seccomp-success +ioctl-success.sh -a42 +ioctl_seccomp-y +ioctl.test -a42 -y +ioctl_seccomp-y-success +ioctl-success.sh -a42 -y +ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 +ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev +ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw +ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose +ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev +ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw +ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose ioctl_sg_io_v3 +ioctl.test ioctl_sg_io_v4 +ioctl.test ioctl_sock +ioctl.test -a23 ioctl_sock_gifconf +ioctl.test -a28 -s1 ioctl_tee +ioctl.test +ioctl_termios +ioctl.test +ioctl_termios-v +ioctl.test -v +ioctl_tiocm +ioctl.test ioctl_ubi +ioctl.test ioctl_ubi-success +ioctl-success.sh -a24 ioctl_uffdio +ioctl.test @@ -332,6 +419,7 @@ ioctl_v4l2-v-Xraw +ioctl.test -v -Xraw ioctl_v4l2-v-Xverbose +ioctl.test -v -Xverbose ioctl_watchdog +ioctl.test +ioctl_winsize +ioctl.test ioperm -a27 iopl -a8 ioprio -a18 -e trace=ioprio_get,ioprio_set @@ -366,10 +454,10 @@ kernel_version-Xverbose -a16 -Xverbose -v -e trace=bpf kexec_file_load -s9 kexec_load -s9 -keyctl -a31 -s10 -keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev -keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw -keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose +keyctl -a31 -s10 -f --signal='!chld' +keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev +keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw +keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose kill -a12 -esignal=none kill--pidns-translation test_pidns -a12 -e trace=kill -esignal=none ksysent ../$NAME @@ -387,6 +475,8 @@ linkat linkat--secontext --secontext -e trace=linkat linkat--secontext_full --secontext=full -e trace=linkat +linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat +linkat--secontext_mismatch --secontext=mismatch -e trace=linkat lookup_dcookie -a27 lstat -a31 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full lstat64 -a32 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -449,7 +539,8 @@ msg_name -a20 -e trace=recvmsg munlockall -a13 nanosleep -a20 -net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev +net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all +net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9 net--decode-fds-none-netlink +net-yy-netlink.test --decode-fds=none -a9 net--decode-fds-path-netlink +net-yy-netlink.test --decode-fds=path net--decode-fds-socket-netlink +net-yy-netlink.test --decode-fds=socket @@ -487,6 +578,10 @@ nfnetlink_ulog +netlink_sock_diag.test nlattr +netlink_sock_diag.test nlattr_br_port_msg +netlink_sock_diag.test +nlattr_cachereport +netlink_sock_diag.test +nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw +nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_crypto_user_alg +netlink_sock_diag.test nlattr_dcbmsg +netlink_sock_diag.test nlattr_fib_rule_hdr +netlink_sock_diag.test @@ -495,11 +590,26 @@ nlattr_ifinfomsg +netlink_sock_diag.test nlattr_ifla_af_spec +netlink_sock_diag.test nlattr_ifla_brport +netlink_sock_diag.test +nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_linkinfo +netlink_sock_diag.test nlattr_ifla_port +netlink_sock_diag.test +nlattr_ifla_protinfo +netlink_sock_diag.test +nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_proto_down_reason +netlink_sock_diag.test +nlattr_ifla_vfinfo +netlink_sock_diag.test +nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_xdp +netlink_sock_diag.test nlattr_ifla_xdp-y +netlink_sock_diag.test -y; exec 9</dev/full +nlattr_ifstats +netlink_sock_diag.test +nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose nlattr_inet_diag_msg +netlink_sock_diag.test nlattr_inet_diag_req_compat +netlink_sock_diag.test nlattr_inet_diag_req_v2 +netlink_sock_diag.test @@ -509,6 +619,10 @@ nlattr_ndtmsg +netlink_sock_diag.test nlattr_netconfmsg +netlink_sock_diag.test nlattr_netlink_diag_msg +netlink_sock_diag.test +nlattr_nhmsg +netlink_sock_diag.test +nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw +nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose nlattr_nlmsgerr +netlink_sock_diag.test nlattr_packet_diag_msg +netlink_sock_diag.test -v nlattr_rtgenmsg +netlink_sock_diag.test @@ -535,11 +649,15 @@ open -a30 -P $NAME.sample open--secontext -a30 -P open.sample --secontext --trace=open open--secontext_full -a30 -P open.sample --secontext=full --trace=open +open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open +open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open open_tree -a30 -y open_tree-P -a30 --decode-fds -P /dev/full -e trace=open_tree openat -a36 -P $NAME.sample openat--secontext -a36 -P openat.sample -P $PWD/openat.sample --secontext -e trace=openat openat--secontext_full -a36 -P openat.sample -P $PWD/openat.sample --secontext=full -e trace=openat +openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat +openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat openat2 -a35 openat2-Xabbrev --trace=openat2 -a35 -Xabbrev openat2-Xraw --trace=openat2 -a32 -Xraw @@ -563,6 +681,8 @@ pidfd_getfd-y --trace=pidfd_getfd -a18 -e signal=none -y </dev/full pidfd_getfd-yy --trace=pidfd_getfd -a18 -e signal=none -yy </dev/full pidfd_open -a17 +pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open +pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open pidfd_open--decode-fd-path -a17 -e decode-fd=path -e trace=pidfd_open pidfd_open--decode-fd-pidfd -a17 -e decode-fd=pidfd -e trace=pidfd_open pidfd_open--decode-fd-socket -a17 -e decode-fd=socket -e trace=pidfd_open @@ -599,21 +719,21 @@ prctl-pac-reset-keys +prctl.sh -a43 prctl-pdeathsig +prctl.sh -a30 prctl-sched-core +prctl.sh -a71 -prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev -prctl-sched-core-Xraw +prctl.sh -a28 -Xraw -prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core--pidns-translation test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core--pidns-translation-Xabbrev test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core--pidns-translation-Xraw test_pidns -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core--pidns-translation-Xverbose test_pidns -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev +prctl-sched-core-Xraw +prctl.sh -a28 -Xraw +prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev -prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw -prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-sched-core-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev +prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw +prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-seccomp-filter-v +prctl.sh -v prctl-securebits +prctl.sh -a25 prctl-securebits-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a25 @@ -621,15 +741,31 @@ prctl-securebits-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a12 -Xraw prctl-securebits-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a36 -Xverbose prctl-set-ptracer-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev -prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw -prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" +prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev prctl-set-ptracer-success-Xabbrev--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev +prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw prctl-set-ptracer-success-Xraw--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a27 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw +prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success-Xverbose--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a48 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose -prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +prctl-set_vma +prctl.sh +prctl-sme +prctl.sh -a21 +prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sme-Xraw +prctl.sh -a12 -Xraw +prctl-sme-Xverbose +prctl.sh -a32 -Xverbose +prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 prctl-sve +prctl.sh -a21 +prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sve-Xraw +prctl.sh -a12 -Xraw +prctl-sve-Xverbose +prctl.sh -a32 -Xverbose +prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose prctl-syscall-user-dispatch +prctl.sh -a68 prctl-tagged-addr +prctl.sh -a43 prctl-tagged-addr-Xabbrev +prctl.sh -Xabbrev -a43 @@ -663,6 +799,8 @@ process_madvise process_madvise-y --trace=process_madvise -y process_madvise-yy --trace=process_madvise -yy +process_mrelease -a24 +process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full process_vm_readv -s5 -a37 process_vm_readv--pidns-translation test_pidns -s5 -a37 -e trace=process_vm_readv process_vm_writev -s5 -a38 @@ -670,14 +808,24 @@ pselect6 pselect6_time64 ptrace -a23 -s64 -e signal=none +ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev +ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw +ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose +ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace +ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev +ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw +ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose ptrace_syscall_info -a35 -e signal=none -e trace=ptrace +ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev +ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw +ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose pwritev -a22 -s7 quotactl -quotactl-success -einject=quotactl:retval=42 -etrace=quotactl -quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-Xabbrev -Xabbrev -e trace=quotactl quotactl-Xraw -a27 -Xraw -e trace=quotactl quotactl-Xverbose -Xverbose -e trace=quotactl +quotactl-success -einject=quotactl:retval=42 -etrace=quotactl +quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-v -v -e trace=quotactl quotactl-xfs -e trace=quotactl quotactl-xfs-success -einject=quotactl:retval=42 -etrace=quotactl @@ -723,7 +871,7 @@ s390_runtime_instr -a44 s390_sthyi -a47 s390_sthyi-v -e trace=s390_sthyi -a47 -v -sched test_trace_expr times -e/sched +sched test_trace_expr 'times|times-.*' -e/sched sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max sched_rr_get_interval -a31 sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity @@ -738,6 +886,10 @@ seccomp-filter -e trace=seccomp seccomp-filter-v -v -e trace=seccomp seccomp_get_action_avail -e trace=seccomp +seccomp_get_notif_sizes -etrace=seccomp -a42 +seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42 +segv_accerr -qq --trace=none +segv_pkuerr -qq --trace=none select -a36 select-P -a36 -e trace=select -P /dev/full 9>>/dev/full semop -a32 @@ -751,6 +903,7 @@ set_mempolicy-Xabbrev -a34 -s3 -Xabbrev -e trace=set_mempolicy set_mempolicy-Xraw -a24 -s3 -Xraw -e trace=set_mempolicy set_mempolicy-Xverbose -s3 -Xverbose -e trace=set_mempolicy +set_mempolicy_home_node -a39 setdomainname -a24 setfsgid -a12 setfsgid32 -a14 @@ -799,11 +952,22 @@ sock_filter-v-Xabbrev -v -e trace=getsockopt,setsockopt -X abbrev sock_filter-v-Xraw -a 37 -v -e trace=getsockopt,setsockopt -X raw sock_filter-v-Xverbose -v -e trace=getsockopt,setsockopt -X verbose -sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -sockaddr_xlat-Xraw -Xraw -e trace=connect -sockaddr_xlat-Xverbose -Xverbose -e trace=connect +sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22 +sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xraw -Xraw -e trace=connect -a22 +sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22 +sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero socketcall -a20 sockopt-sol_netlink -e trace=getsockopt,setsockopt +sockopt-sol_socket -e trace=getsockopt,setsockopt +sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose +sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt +sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose sockopt-timestamp -e trace=recvmsg splice stat -a30 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -830,20 +994,23 @@ strace--absolute-timestamps-format-unix-precision-ns +strace-ttt.test 9 --absolute-timestamps=format:unix --absolute-timestamps=precision:ns strace--absolute-timestamps-format-unix-precision-s +strace-ttt.test 0 --absolute-timestamps=format:unix --absolute-timestamps=precision:s strace--absolute-timestamps-format-unix-precision-us +strace-ttt.test 6 --absolute-timestamps=precision:us --absolute-timestamps=format:unix +strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace--follow-forks-output-separately +strace-ff.test --follow-forks --output-separately strace--relative-timestamps +strace-r.test --relative-timestamps strace--relative-timestamps-ms +strace-r.test --relative-timestamps=ms strace--relative-timestamps-ns +strace-r.test --relative-timestamps=ns strace--relative-timestamps-s +strace-r.test --relative-timestamps=s strace--relative-timestamps-us +strace-r.test --relative-timestamps=us -strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 -strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 +strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 +strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 strace--strings-in-hex-non-ascii --trace=chdir --strings-in-hex=non-ascii --columns=12 -strace--syscall-times +strace-T.test --syscall-times -strace--syscall-times-ms +strace-T.test --syscall-times=ms -strace--syscall-times-ns +strace-T.test --syscall-times=ns -strace--syscall-times-s +strace-T.test --syscall-times=s -strace--syscall-times-us +strace-T.test --syscall-times=us +strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12 +strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12 +strace--syscall-times +strace-T_upper.test --syscall-times +strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms +strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns +strace--syscall-times-s +strace-T_upper.test --syscall-times=s +strace--syscall-times-us +strace-T_upper.test --syscall-times=us strace--timestamps +strace-t.test --timestamps strace--timestamps-time +strace-t.test --timestamps=time strace--timestamps-time-ms +strace-tt.test 3 --timestamps=time,ms @@ -854,7 +1021,9 @@ strace--timestamps-unix-ns +strace-ttt.test 9 --timestamps=unix,ns strace--timestamps-unix-s +strace-ttt.test 0 --timestamps=unix,s strace--timestamps-unix-us +strace-ttt.test 6 --timestamps=unix,us +strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace-n -e trace=listen -n -qq -a 12 +strace-no-x -e trace=chdir -a 12 strace-x -e trace=chdir -x -a 12 strace-xx -e trace=chdir -xx -a 18 swap -a23 -e trace=swapon,swapoff @@ -864,6 +1033,7 @@ sync -a7 sync_file_range sync_file_range2 +sysctl -a16 --trace=_sysctl sysinfo -a14 syslog -a35 tee @@ -878,19 +1048,31 @@ timer_xettime -e trace=timer_create,timer_settime,timer_gettime timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime times -esignal=none +times-Xabbrev -esignal=none -e trace=times -Xabbrev +times-Xraw -esignal=none -e trace=times -Xraw +times-Xverbose -esignal=none -e trace=times -Xverbose times-fail -a12 -e trace=times tkill -a12 --signal='!cont' tkill--pidns-translation test_pidns --signal='!cont' -a12 -e trace=tkill -trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock +trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock trace_creds test_trace_expr '(gset^p*(guid|groups)|caps|prctl|fl?chown|print(path-umovestr|strn-umoven)-undumpable|ptrace|quotactl|rt_sigtimedwait|rt_(tg)?sigqueueinfo).*' -e%creds trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full trace_fstatfs test_trace_expr '' -e%fstatfs trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full trace_personality_32 +qualify_personality.sh 32 'getcwd' 'fsync-y|poke' trace_personality_64 +qualify_personality.sh 64 'getcwd' 'fsync-y|poke' -trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*' -trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*' -trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*' +trace_personality_all_32 +qualify_personality_all.sh 32 +trace_personality_all_64 +qualify_personality_all.sh 64 +trace_personality_all_x32 +qualify_personality_all.sh x32 +trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs' +trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs' +trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs' trace_personality_x32 +qualify_personality.sh x32 'getcwd' 'fsync-y|poke' trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.* trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full @@ -923,6 +1105,7 @@ wait4 -esignal=none wait4-v -v -e signal=none -e trace=wait4 waitid -esignal=none +waitid-Y -Y -e signal=none -e trace=waitid waitid-v -v -e signal=none -e trace=waitid waitpid -a28 xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/get_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/get_mempolicy.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of get_mempolicy syscall. * - * Copyright (c) 2016-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2016-2022 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,15 +35,14 @@ printf("get_mempolicy(NULL, "); unsigned int nlongs = NLONGS(maxnode); - unsigned int i; - for (i = 0; i < nlongs; ++i) { + for (unsigned int i = 0; i < nlongs; ++i) { if (i) fputs(", ", stdout); if (i >= MAX_STRLEN) { fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemaski); + printf("%#0*lx", (int) sizeof(*nodemask) * 2, nodemaski); } printf(", %lu, NULL, 0) = 0\n", maxnode);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext.c
Added
@@ -0,0 +1,19 @@ +/* + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#ifdef HAVE_MX32_SELINUX_RUNTIME + +# define TEST_SECONTEXT +# include "getsockname.c" + +#else + +SKIP_MAIN_UNDEFINED("HAVE_MX32_SELINUX_RUNTIME") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext -a27 --secontext -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_full.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_FULL +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_full.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full -a27 --secontext=full -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full,mismatch -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/getsockname--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=mismatch -e trace=getsockname
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/gettid--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/gettid--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of gettid's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/group_req.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/group_req.c
Changed
@@ -39,7 +39,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq4); TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq6); - unsigned int i; greq6->gr_interface = greq4->gr_interface = ifindex_lo(); if (!greq4->gr_interface) @@ -89,7 +88,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ set_opt(0, optsi.level, optsi.name, optsi.val, -1U); printf("setsockopt(0, %s, %s, %p, -1) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/hexdump_strdup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/hexdump_strdup.c
Changed
@@ -25,8 +25,7 @@ char *p = dst; const unsigned char *usrc = (const unsigned char *) src; - size_t i; - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { unsigned int c = usrci; *(p++) = ' '; if (i == 8)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/hexquote_strndup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/hexquote_strndup.c
Changed
@@ -24,8 +24,7 @@ perror_msg_and_fail("malloc(%zu)", dst_size); char *p = dst; - size_t i; - for (i = 0; i < src_len; ++i) { + for (size_t i = 0; i < src_len; ++i) { unsigned int c = ((const unsigned char *) src)i; *(p++) = '\\'; *(p++) = 'x';
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/inet-cmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/inet-cmsg.c
Changed
@@ -50,8 +50,7 @@ printf("%s", name); if (len) { printf(", cmsg_data="); - size_t i; - for (i = 0; i < len; ++i) + for (size_t i = 0; i < len; ++i) printf("%s%#x", i ? ", " : "", optsi); printf(""); } @@ -134,8 +133,8 @@ ntohs(addr.sin_port), (unsigned) mh.msg_namelen, data, (unsigned) size); - struct cmsghdr *c; - for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { + for (struct cmsghdr *c = CMSG_FIRSTHDR(&mh); + c; c = CMSG_NXTHDR(&mh, c)) { if (IPPROTO_IP != c->cmsg_level) continue; if (c != control)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/init.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/init.sh
Changed
@@ -1,7 +1,7 @@ #!/bin/sh # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -26,6 +26,12 @@ printf "%s" "$*" | sed 's/.*&^$\//\\&/g' } +# Enable using string in sed s// command by escaping slash occurrences. +sed_slash_escape() +{ + printf "%s" "$*" | sed 's///\\&/g' +} + # get_config_str OPTION # # Returns the value of OPTION from config.h (path to which set @@ -53,6 +59,29 @@ fi } +# Prints personality designator of the current personality: +# 64, 32, or x32. +print_current_personality_designator() +{ + if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then + if 'x32' = "$STRACE_NATIVE_ARCH" ; then + echo x32 + else + echo "$(($SIZEOF_LONG * 8))" + fi + else + 4 -eq "$SIZEOF_LONG" || + fail_ "sizeof(long) = $SIZEOF_LONG != 4" + if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then + echo 32 + else + 8 -eq "$SIZEOF_KERNEL_LONG_T" || + fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" + echo x32 + fi + fi +} + check_prog() { type "$@" > /dev/null 2>&1 || @@ -246,7 +275,8 @@ # Usage: run_strace_match_diff args to run_strace run_strace_match_diff() { - local sed_cmd + local sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' args="$*" @@ -259,17 +289,31 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" sed_cmd="/$(sed_re_escape "$str")/,\$p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + sed_cmd="/$(sed_slash_escape "$str")/,\$p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null + args="$prog_args" run_strace "$@" $args > "$EXP" sed -n "$sed_cmd" < "$LOG" > "$OUT" match_diff "$OUT" "$EXP" @@ -419,7 +463,8 @@ test_pidns_run_strace() { - local parent_pid init_pid sed_cmd + local parent_pid init_pid sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' check_prog tail @@ -430,20 +475,36 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" str="$(sed_re_escape "${str}")" # There could be -r/-t output between pid and "+++" sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + str="$(sed_slash_escape "${str}")" + # There could be -r/-t output between pid and "+++" + sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null - run_strace --pidns-translation -f "$@" $args > "$EXP" + args="$prog_args" + run_strace --decode-pids=pidns --status=!unavailable -f "$@" $args > "$EXP" # filter out logs made by the parent or init process of the pidns test parent_pid="$(tail -n 2 $LOG | head -n 1 | cut -d' ' -f1)"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/init_delete_module.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/init_delete_module.h
Changed
@@ -3,7 +3,7 @@ * and delete_module tests. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,17 +26,14 @@ static void print_str(unsigned int base, unsigned int len, bool escape) { - unsigned int i; - if (!escape) { - for (i = base; i < (base + len); i++) + for (unsigned int i = base; i < (base + len); ++i) putc(i, stdout); - - return; + } else { + for (unsigned int i = base; i < (base + len); ++i) + printf("\\%u%u%u", + (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } - - for (i = base; i < (base + len); i++) - printf("\\%u%u%u", (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } #endif /* !STRACE_TESTS_INIT_DELETE_MODULE_H */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/io_uring_enter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_enter.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of io_uring_enter syscall. * * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -65,8 +66,9 @@ sys_io_uring_enter(fd, to_submit, min_complete, -1U, sigmask, size); printf("io_uring_enter(%u<%s>, %u, %u" ", IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP" - "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG|%#x, %s, %u) = %s\n", - fd, path, to_submit, min_complete, -1U - 15U, + "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG" + "|IORING_ENTER_REGISTERED_RING|%#x, %s, %u) = %s\n", + fd, path, to_submit, min_complete, -1U - 31U, "~HUP KILL STOP", size, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xraw -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev "../io_uring_register-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw "../io_uring_register-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose "../io_uring_register-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y "../io_uring_register-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/io_uring_register.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_register.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_register syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,21 +21,33 @@ /* From tests/bpf.c */ #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR_MAYBE(addr_) addr_ " or " +# define BIG_ADDR_MASK 0xffffffff00000000ULL #else # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #endif -#ifdef WORDS_BIGENDIAN -# define BE_LE(be_, le_) be_ +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define INJ_STR " (INJECTED)" #else -# define BE_LE(be_, le_) le_ +# define INJ_STR "" #endif -static const char *errstr; +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +static const char path_null = "/dev/null"; +static const char path_full = "/dev/full"; + +char errstr1024; static long sys_io_uring_register(unsigned int fd, unsigned int opcode, @@ -51,15 +63,83 @@ long rc = syscall(__NR_io_uring_register, arg1, arg2, arg3, arg4, bad, bad); - errstr = sprintrc(rc); + snprintf(errstr, sizeof(errstr), "%s%s", sprintrc(rc), INJ_STR); return rc; } +static void +print_rsrc_data(const struct iovec *arg_iov, const struct iovec *iov, + const int *arg_fds, const int *fds, const size_t i, + const size_t j, const void *endptr, bool upd) +{ + printf(", data="); + if (BIG_ADDR_MASK && (j & 2)) { + printf("%#llx or ", (unsigned long long) (BIG_ADDR_MASK | + (j & 1 ? i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds : 0))); + } + if (!(j & 1)) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_data_end; + if (i) { + printf("{iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}", + iov0.iov_base, (unsigned long) iov0.iov_len, + iov1.iov_base, (unsigned long) iov1.iov_len); + } else { + printf("%u<%s>, %u<%s>, -1, %s, -3", + fds0, path_full, fds1, path_null, + upd ? XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + : "-2"); + } + if (j & 16) + printf(", ... /* %p */", endptr); +print_rsrc_data_end: + printf(""); +} + +static void +print_rsrc_tags(const uint64_t *arg_tags, const uint64_t *tags, const size_t i, + const size_t j, const void *endptr) +{ + printf(", tags="); + if (BIG_ADDR_MASK && (j & 8)) { + printf("%#llx or ", (unsigned long long) ( + BIG_ADDR_MASK | (j & 4 ? 0 + : (uintptr_t) (arg_tags + 1 + i * 3 - !!(j & 64))))); + } + if (j & 4) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_tags_end; + if (i) { + printf("%s0xbadc0deddadfaced%s", + j & 64 ? "0xfacefeed, " : "", j & 64 ? "" : ", 0"); + } else { + printf("%s0x1, 0xdead, 0xfacefeed, 0xbadc0deddadfaced%s", + j & 64 ? "0x1337, " : "", j & 64 ? "" : ", 0"); + } + if (j & 16) { + if (j & 64) + printf(", 0"); + else + printf(", ... /* %p */", endptr); + } +print_rsrc_tags_end: + printf(""); +} + int main(void) { - static const char path_null = "/dev/null"; - static const char path_full = "/dev/full"; const struct iovec iov = { { .iov_base = (void *) (unsigned long) 0xfacefeedcafef00d, @@ -74,6 +154,7 @@ skip_if_unavailable("/proc/self/fd/"); + close(0); /* Trying to get fd 0 for /dev/null */ int fd_null = open(path_null, O_RDONLY); if (fd_null < 0) perror_msg_and_fail("open: %s", path_null); @@ -82,20 +163,25 @@ if (fd_full < 0) perror_msg_and_fail("open: %s", path_full); - int fds = { fd_full, fd_null }; + int fds = { fd_full, fd_null, -1, -2, -3 }; + const char *pathsARRAY_SIZE(fds) = { path_full, path_null }; const int *arg_fds = tail_memdup(fds, sizeof(fds)); - static const unsigned int invalid_ops = { 0xbadc0dedU, 19 }; + + /* Invalid op */ + static const unsigned int invalid_ops = { 0xbadc0dedU, 24 }; for (size_t i = 0; i < ARRAY_SIZE(invalid_ops); i++) { sys_io_uring_register(fd_null, invalid_opsi, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %#x /* IORING_REGISTER_??? */" - ", %p, %u) = %s\n", + printf("io_uring_register(%u<%s>, %#x" + NRAW(" /* IORING_REGISTER_??? */") ", %p, %u) = %s\n", fd_null, path_null, invalid_opsi, path_null, 0xdeadbeef, errstr); } + + /* Operations without an argument */ static const struct { unsigned int op; const char *str; @@ -105,18 +191,24 @@ { 5, "IORING_UNREGISTER_EVENTFD" }, { 9, "IORING_REGISTER_PERSONALITY" }, { 10, "IORING_UNREGISTER_PERSONALITY" }, + { 12, "IORING_REGISTER_ENABLE_RINGS" }, + { 18, "IORING_UNREGISTER_IOWQ_AFF" }, }; for (size_t i = 0; i < ARRAY_SIZE(no_arg_ops); i++) { sys_io_uring_register(fd_null, no_arg_opsi.op, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %s, %p, %u) = %s\n", - fd_null, path_null, no_arg_opsi.str, path_null, - 0xdeadbeef, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(no_arg_opsi.op, no_arg_opsi.str), + path_null, 0xdeadbeef, errstr); } + + /* IORING_REGISTER_BUFFERS */ sys_io_uring_register(fd_null, 0, arg_iov, ARRAY_SIZE(iov)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_BUFFERS" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0, "IORING_REGISTER_BUFFERS") ", {iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}" ", %u) = %s\n", fd_null, path_null, iov0.iov_base, @@ -124,6 +216,8 @@ iov1.iov_base, (unsigned long) iov1.iov_len, (unsigned int) ARRAY_SIZE(iov), errstr); + + /* Operations with an fd array argument */ static const struct { unsigned int op; const char *str; @@ -136,24 +230,29 @@ for (size_t i = 0; i < ARRAY_SIZE(fd_arr_ops); i++) { sys_io_uring_register(fd_null, fd_arr_opsi.op, arg_fds, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, %s, %u<%s>, %u<%s>, %u)" - " = %s\n", - fd_null, path_null, fd_arr_opsi.str, + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", %u<%s>, %u<%s>, -1, -2, -3, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(fd_arr_opsi.op, fd_arr_opsi.str), fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); } + + /* IORING_REGISTER_FILES_UPDATE */ struct io_uring_files_update bogus_iufu; struct io_uring_files_update iufu; sys_io_uring_register(fd_null, 6, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", NULL, 4207869677) = %s\n", fd_null, path_null, errstr); fill_memory(&bogus_iufu, sizeof(bogus_iufu)); sys_io_uring_register(fd_null, 6, &bogus_iufu, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", {offset=%" PRIu32 ", resv=%#" PRIx32 ", fds=" BIG_ADDR_MAYBE(BE_LE("0x88898a8b8c8d8e8f", "0x8f8e8d8c8b8a8988")) "}, 0) = %s\n", @@ -165,47 +264,72 @@ iufu.offset = 0xdeadc0deU; iufu.fds = (uintptr_t) fds; sys_io_uring_register(fd_null, 6, &iufu, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" - ", {offset=3735929054, fds=%u<%s>, %u<%s>}, %u) = %s\n", + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") + ", {offset=3735929054, fds=%u<%s>, %u<%s>, -1, " + XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + ", -3}, %u) = %s\n", fd_null, path_null, fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); struct io_uring_probe *probe = tail_alloc(sizeof(*probe) + (DEFAULT_STRLEN + 1) * sizeof(struct io_uring_probe_op)); + + /* IORING_REGISTER_PROBE */ sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, 4207869677) = %s\n", - fd_null, path_null, errstr); + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, 4207869677) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), probe, + errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, (char *) probe + 1, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, %d) = %s\n", - fd_null, path_null, (char *) probe + 1, DEFAULT_STRLEN + 1, - errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %d) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + (char *) probe + 1, DEFAULT_STRLEN + 1, errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=%u /* IORING_OP_??? */, ops_len=%hhu, resv=%#hx" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->last_op, probe->ops_len, probe->resv, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=%u" + NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu, resv=%#hx" + ", resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=%u" NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu" + ", resv=%#hx, resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_READV; probe->resv = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_READV, ops_len=%hhu" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->ops_len, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu" + ", resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_EPOLL_CTL; probe->resv20 = 0; @@ -216,12 +340,12 @@ probe->ops0.flags = 0; probe->ops0.resv2 = 0xbeefface; - probe->ops1.op = 36; + probe->ops1.op = 46; probe->ops1.resv = 0; probe->ops1.flags = IO_URING_OP_SUPPORTED; probe->ops1.resv2 = 0xdeadc0de; - probe->ops2.op = 37; + probe->ops2.op = 47; probe->ops2.resv = 0xaf; probe->ops2.flags = 0xbeef; probe->ops2.resv2 = 0; @@ -232,45 +356,780 @@ probe->ops3.resv2 = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 4); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_EPOLL_CTL, ops_len=%hhu" - ", resv2=0, %#x, 0, ops=" - "{op=IORING_OP_NOP, resv=0xde, flags=0, resv2=0xbeefface}, " - "{op=IORING_OP_UNLINKAT, flags=IO_URING_OP_SUPPORTED" - ", resv2=0xdeadc0de}, " - "{op=37 /* IORING_OP_??? */, resv=0xaf" - ", flags=IO_URING_OP_SUPPORTED|0xbeee}, " - "{op=254 /* IORING_OP_??? */" - ", flags=0xc0de /* IO_URING_OP_??? */}}, 4) = %s\n", - fd_null, path_null, probe->ops_len, probe->resv21, errstr); - - probe->last_op = 37; + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=0, %#x, 0, ops=" + "{op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}, " + "{op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}, " + "{op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu, resv2=0, %#x, 0, " + "ops={op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}" + ", {op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}" + ", {op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}, ...}" +#endif + ", 4) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#endif + errstr); + + probe->last_op = 47; probe->resv21 = 0; fill_memory_ex(probe->ops, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1), 0x40, 0x80); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=37 /* IORING_OP_??? */, ops_len=%hhu, ops=", - fd_null, path_null, probe->ops_len); - for (size_t i = 0; i < DEFAULT_STRLEN; i++) { - printf("%s{op=%u /* IORING_OP_??? */, resv=%#hhx" - ", flags=%s%#hx%s, resv2=%#x}", - i ? ", " : "", - probe->opsi.op, probe->opsi.resv, - probe->opsi.flags & 1 ? "IO_URING_OP_SUPPORTED|" : "", - (typeof(probe->opsi.flags)) (probe->opsi.flags & ~1), - probe->opsi.flags & 1 ? "" : " /* IO_URING_OP_??? */", - probe->opsi.resv2); + printf("io_uring_register(%u<%s>, " XLAT_FMT, + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE)); + for (size_t c = 0; c < 1 + RETVAL_INJECTED; c++) { + printf("%s{last_op=47" NRAW(" /* IORING_OP_??? */") + ", ops_len=%hhu, ops=", + c ? " => " : ", ", probe->ops_len); + for (size_t i = 0; i < DEFAULT_STRLEN; i++) { + printf("%s{op=%u" NRAW(" /* IORING_OP_??? */") + ", resv=%#hhx, flags=", + i ? ", " : "", probe->opsi.op, + probe->opsi.resv); +#if XLAT_RAW + printf("%#hx", + (typeof(probe->opsi.flags)) + (probe->opsi.flags)); +#else /* !XLAT_RAW */ + if (probe->opsi.flags & 1) { + printf(VERB("%#hx /* ") "IO_URING_OP_SUPPORTED" + "|%#hx" VERB(" */"), +# if XLAT_VERBOSE + probe->opsi.flags, +# endif + (uint16_t) (probe->opsi.flags & ~1)); + } else { + printf("%#hx /* IO_URING_OP_??? */", + probe->opsi.flags); + } +#endif /* XLAT_RAW */ + printf(", resv2=%#x}", probe->opsi.resv2); + } + printf(", ...}"); } - printf(", ...}, %d) = %s\n", DEFAULT_STRLEN + 1, errstr); + printf(", %d) = %s\n", DEFAULT_STRLEN + 1, errstr); probe->last_op = 0; probe->ops_len = 0; memset(probe->ops, 0, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1)); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 8); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE, %p, 8) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", " +#if RETVAL_INJECTED + "{last_op=" XLAT_KNOWN(0, "IORING_OP_NOP") ", ops_len=0, ops=}" +#else + "%p" +#endif + ", 8) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), +#if !RETVAL_INJECTED + probe, +#endif + errstr); + + + /* IORING_REGISTER_RESTRICTIONS */ + static const struct { + uint16_t opcode; + const char *opcode_str; + bool opcode_known; + const char *op_pfx; + uint8_t op; + const char *op_str; + bool op_known; + } restrictions_data = { + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_REGISTER_BUFFERS), true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_UNREGISTER_PBUF_RING), + true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 24, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 255, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_NOP), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_URING_CMD), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 47, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 255, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 64, "IOSQE_CQE_SKIP_SUCCESS", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0xff, "IOSQE_FIXED_FILE|IOSQE_IO_DRAIN" + "|IOSQE_IO_LINK|IOSQE_IO_HARDLINK" + "|IOSQE_ASYNC|IOSQE_BUFFER_SELECT" + "|IOSQE_CQE_SKIP_SUCCESS" + "|0x80", + true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 1, "IOSQE_FIXED_FILE", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 192, "IOSQE_CQE_SKIP_SUCCESS|0x80", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 239 }, + { 137, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + }; + struct io_uring_restriction *restrictions = + tail_alloc(sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data)); + char *restrictions_end = (char *) (restrictions + + ARRAY_SIZE(restrictions_data)); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, NULL, + 0xfacefeed); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", NULL, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end, errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end - sizeof(*restrictions) + 1, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end - sizeof(*restrictions) + 1, errstr); + + struct io_uring_restriction *p = + restrictions + ARRAY_SIZE(restrictions_data) - 1; + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + memset(p, 0, sizeof(*restrictions)); + p->opcode = restrictions_datai.opcode; + p->sqe_flags = restrictions_datai.op; + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + p, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {opcode=", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" : restrictions_datai.opcode_str, + restrictions_datai.op); + } + printf("}, 1) = %s\n", errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + restrictionsi.opcode = restrictions_datai.opcode; + restrictionsi.sqe_op = restrictions_datai.op; + restrictionsi.resv = i & 1 ? 0x70 + i * 7 : 0; + restrictionsi.resv20 = i & 2 ? 0x80808080 | i * 0x1020304 + : 0; + restrictionsi.resv21 = i & 4 ? 0x80808080 | i * 0x4030201 + : 0; + restrictionsi.resv22 = i & 8 ? 0x08080808 | i * 0x40302010 + : 0; + } + + for (size_t j = 0; j < 3; j++) { + if (j == 2) { + memmove(((char *) restrictions) + 4, restrictions, + sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data) - 4); + } + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + ((char *) restrictions) + 4 * !!(j == 2), + ARRAY_SIZE(restrictions_data) + + !!(j == 1)); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + + for (unsigned int i = 0; + i < ARRAY_SIZE(restrictions_data) - !!(j == 2); i++) { + printf("%s{opcode=", i ? ", " : ""); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" + : restrictions_datai.opcode_str, + restrictions_datai.op); + } + + if (i & 1) { + printf(", resv=%#hhx", + (unsigned char) (0x70 + i * 7)); + } + if (i & 0xe) { + printf(", resv2=%#x, %#x, %#x", + i & 2 ? 0x80808080 | i * 0x1020304 : 0, + i & 4 ? 0x80808080 | i * 0x4030201 : 0, + i & 8 ? 0x08080808 | i * 0x40302010 : 0); + } + + printf("}"); + } + + if (j) { + printf(", ... /* %p */", + j == 1 ? restrictions_end + : restrictions_end - sizeof(*restrictions) + + 4); + } + printf(", %zu) = %s\n", + ARRAY_SIZE(restrictions_data) + !!(j == 1), errstr); + } + + + /* IORING_REGISTER_FILES2, IORING_REGISTER_BUFFERS2 */ + static const struct { + unsigned int op; + const char *str; + } rsrc_reg_ops = { + { 13, "IORING_REGISTER_FILES2" }, + { 15, "IORING_REGISTER_BUFFERS2" }, + }; + static const struct strval32 rsrc_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "IORING_RSRC_REGISTER_SPARSE") }, + { ARG_XLAT_UNKNOWN(0x2, "IORING_RSRC_REGISTER_???") }, + { ARG_XLAT_KNOWN(0xbadc0ded, + "IORING_RSRC_REGISTER_SPARSE|0xbadc0dec") }, + }; + static const uint64_t tags = { 0x1337, 1, 0xdead, 0xfacefeed, + 0xbadc0deddadfacedULL, 0 }; + const uint64_t *arg_tags = tail_memdup(tags, sizeof(tags)); + + struct io_uring_rsrc_register *bogus_rsrc_reg = tail_alloc(24); + struct io_uring_rsrc_register *rsrc_reg = tail_alloc(sizeof(*rsrc_reg)); + struct io_uring_rsrc_register *big_rsrc_reg = + tail_alloc(sizeof(*big_rsrc_reg) + 8); + + fill_memory(big_rsrc_reg, sizeof(*big_rsrc_reg) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_reg_ops); i++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, rsrc_reg_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_reg, 24 }, + { bogus_rsrc_reg, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_reg->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_reg->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_reg->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_reg->nr); + + rsrc_reg->data &= ~-!(j & 1); + rsrc_reg->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_reg->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_reg->tags &= ~-!!(j & 4); + rsrc_reg->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_reg->nr += !!(j & 16); + rsrc_reg->nr &= ~-!(j & 32); + + rsrc_reg->flags = ARR_ITEM(rsrc_flags, j >> 6).val; + rsrc_reg->resv2 = j & 128 ? 0xfacecafebeeffeedULL : 0; + + memcpy(big_rsrc_reg, rsrc_reg, sizeof(*rsrc_reg)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_reg_opsi.op, + k > 2 ? big_rsrc_reg + : rsrc_reg, + sizeof(*rsrc_reg) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {nr=%zu, flags=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + ARR_ITEM(rsrc_flags, j >> 6).str, + j & 128 ? ", resv2=0xfacecafebeeffeed" + : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, false); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_reg) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_FILES_UPDATE2, IORING_REGISTER_BUFFERS_UPDATE */ + static const struct { + unsigned int op; + const char *str; + } rsrc_upd_ops = { + { 14, "IORING_REGISTER_FILES_UPDATE2" }, + { 16, "IORING_REGISTER_BUFFERS_UPDATE" }, + }; + + struct io_uring_rsrc_update2 *bogus_rsrc_upd = tail_alloc(24); + struct io_uring_rsrc_update2 *rsrc_upd = tail_alloc(sizeof(*rsrc_upd)); + struct io_uring_rsrc_update2 *big_rsrc_upd = + tail_alloc(sizeof(*big_rsrc_upd) + 8); + + fill_memory(big_rsrc_upd, sizeof(*big_rsrc_upd) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_upd_ops); i++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, rsrc_upd_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_upd, 24 }, + { bogus_rsrc_upd, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_upd->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_upd->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_upd->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_upd->nr); + + rsrc_upd->data &= ~-!(j & 1); + rsrc_upd->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_upd->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_upd->tags &= ~-!!(j & 4); + rsrc_upd->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_upd->nr += !!(j & 16); + rsrc_upd->nr &= ~-!(j & 32); + + rsrc_upd->resv = j & 64 ? 0xbadc0ded : 0; + rsrc_upd->resv2 = j & 128 ? 0xfacecafe : 0; + + rsrc_upd->offset = j % 3 ? 0 : 0xdeadface; + + memcpy(big_rsrc_upd, rsrc_upd, sizeof(*rsrc_upd)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_upd_opsi.op, + k > 2 ? big_rsrc_upd + : rsrc_upd, + sizeof(*rsrc_upd) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {offset=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + j % 3 ? "0" : "3735943886", + j & 64 ? ", resv=0xbadc0ded" : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, true); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + printf(", nr=%zu%s", + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + j & 128 ? ", resv2=0xfacecafe" + : ""); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_upd) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_IOWQ_AFF */ + unsigned long aff = { + (unsigned long) 0xbadc0deddadfacedULL, + (unsigned long) 0xfacefeeddeadbeefULL, + }; + const unsigned long *arg_aff = tail_memdup(aff, sizeof(aff)); + const unsigned long *arg_aff_end = arg_aff + ARRAY_SIZE(aff); + + sys_io_uring_register(fd_null, 17, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, 1) = %s\n", + fd_null, path_null, arg_aff_end, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") +#ifdef WORDS_BIGENDIAN +# if SIZEOF_LONG > 4 + ", 49 50 51 54 55 57 59 60 61 62 63" /* face */ +# else + ", 16 18 19 21 23 25 26 27 28 30 31" /* dead */ +# endif +#else + ", 0 1 2 3 5 6 7 9 10 11 12 13 15" /* beef */ +#endif /* WORDS_BIGENDIAN */ + ", 2) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, %zu) = %s\n", + fd_null, path_null, arg_aff + 1, sizeof(aff), errstr); + + sys_io_uring_register(fd_null, 17, arg_aff, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", " + "0 2 3 5 6 7 10 11 13 15" /* aced */ + " 16 17 18 19 20 22 23 25 27 28 30 31" /* dadf */ +#if SIZEOF_LONG > 4 + " 32 34 35 37 38 39 40 42 43" /* 0ded */ + " 50 51 52 54 55 57 59 60 61 63" /* badc */ + " 64 65 66 67 69 70 71 73 74 75 76 77 79" /* beef */ + " 80 82 83 85 87 89 90 91 92 94 95" /* dead feed */ + " 96 98 99 101 102 103 105 106 107 108 109 110 111" + " 113 114 115 118 119 121 123 124 125 126 127"/*face*/ +#else + " 32 33 34 35 37 38 39 41 42 43 44 45 47" /* beef */ + " 48 50 51 53 55 57 58 59 60 62 63" /* dead */ +#endif + ", %zu) = %s\n", + fd_null, path_null, sizeof(aff), errstr); + + + /* IORING_REGISTER_IOWQ_MAX_WORKERS */ + unsigned int maxw = { 0, 1, 0xbedfaced }; + const unsigned int *arg_maxw = tail_memdup(maxw, sizeof(maxw)); + const unsigned int *arg_maxw_end = arg_maxw + ARRAY_SIZE(maxw); + + sys_io_uring_register(fd_null, 19, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", %p, 1) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end - 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + XLAT_KNOWN(0, "IO_WQ_BOUND") "=3202329837, ... /* %p */" + ", 2) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw, 3); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837 => " +#if RETVAL_INJECTED + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837" +#else + "%p" +#endif + ", 3) = %s\n", + fd_null, path_null, +#if !RETVAL_INJECTED + arg_maxw, +#endif + errstr); + + + /* IORING_REGISTER_RING_FDS, IORING_UNREGISTER_RING_FDS */ + static const struct { + unsigned int op; + const char *str; + } ringfd_ops = { + { 20, "IORING_REGISTER_RING_FDS" }, + { 21, "IORING_UNREGISTER_RING_FDS" }, + }; + + static const size_t ringfd_count = DEFAULT_STRLEN + 1; + static const uint32_t ringfd_off = + { -1U, 0, 1, 2, 161803398, 3141592653, -2U }; + TAIL_ALLOC_OBJECT_VAR_ARR(struct io_uring_rsrc_update, ringfds, + ringfd_count); + + fill_memory(ringfds, sizeof(*ringfds) * ringfd_count); + for (size_t i = 0; i < ringfd_count; i++) { + ringfdsi.offset = ARR_ITEM(ringfd_off, i); + ringfdsi.resv = i % 2 ? i * 0x1010101 : 0; + ringfdsi.data = (i % 4 ? 0xbadc0ded00000000ULL : 0) + | ARR_ITEM(fds, i); + } + + for (size_t i = 0; i < ARRAY_SIZE(ringfd_ops); i++) { + sys_io_uring_register(fd_null, ringfd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + ringfds + ringfd_count, errstr); + + /* offs:sz: 33-31:32, 33-32:32, 33-32:33, 33-33:33 */ + for (size_t j = 0; j < 4; j++) { + const size_t offs = (4 - j) / 2; + const size_t sz = 32 + j / 2; + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + offs, sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str)); + for (uint32_t k = offs; k < MIN(ringfd_count, + DEFAULT_STRLEN + offs); + k++) { + printf("%s{offset=", k != offs ? ", " : ""); + printf(ringfd_opsi.op == 21 || + k % ARRAY_SIZE(ringfd_off) ? "%u" : "%d", + ARR_ITEM(ringfd_off, k)); + if (k % 2) + printf(", resv=%#x", k * 0x1010101); + + const size_t fdid = k % ARRAY_SIZE(fds); + if (ringfd_opsi.op == 20) { + printf(", data=%d%s%s%s", + fdsfdid, + pathsfdid ? "<": "", + pathsfdid ? pathsfdid : "", + pathsfdid ? ">": ""); + } else { + if (!((k % ARRAY_SIZE(fds) == 1) + && !(k % 4))) { + printf(", data=%#llx", + (k % 4 + ? 0xbadc0ded00000000ULL + : 0) | fdsfdid); + } + } + printf("}"); + } + if (j != 1) + printf(", ..."); + if (!(j % 2)) + printf(" /* %p */", ringfds + ringfd_count); + printf(", %zu) = %s\n", sz, errstr); + } + } + + + /* IORING_REGISTER_PBUF_RING, IORING_UNREGISTER_PBUF_RING */ + static const struct { + unsigned int op; + const char *str; + } buf_reg_ops = { + { 22, "IORING_REGISTER_PBUF_RING" }, + { 23, "IORING_UNREGISTER_PBUF_RING" }, + }; + TAIL_ALLOC_OBJECT_VAR_PTR(struct io_uring_buf_reg, buf_reg); + + for (size_t i = 0; i < ARRAY_SIZE(buf_reg_ops); i++) { + sys_io_uring_register(fd_null, buf_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg + 1, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 0) = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + buf_reg + 1, errstr); + + for (size_t j = 0; j < 256; j++) { + memset(buf_reg, 0, sizeof(*buf_reg)); + buf_reg->ring_addr = j & 2 ? (uintptr_t) buf_reg : 0; + buf_reg->ring_entries = j & 4 ? 3141592653 : 0; + buf_reg->bgid = j & 8 ? 42069 : 0; + buf_reg->pad = j & 16 ? 31337 : 0; + buf_reg->resv0 = j & 32 ? 0xbadc0deddeadfaceULL : 0; + buf_reg->resv1 = j & 64 ? 0xdecaffedbeefdeadULL : 0; + buf_reg->resv2 = j & 128 ? 0xbadc0dedfacefeedULL : 0; + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg, 0x42); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {ring_addr=", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str)); + if (j & 2) + printf("%p", buf_reg); + else + printf("NULL"); + printf(", ring_entries=%s, bgid=%s%s", + j & 4 ? "3141592653" : "0", + j & 8 ? "42069" : "0", + j & 16 ? ", pad=0x7a69" : ""); + if (j & 0xe0) { + printf(", resv=%s, %s, %s", + j & 32 ? "0xbadc0deddeadface" : "0", + j & 64 ? "0xdecaffedbeefdead" : "0", + j & 128 ? "0xbadc0dedfacefeed" : "0"); + } + printf("}, 66) = %s\n", errstr); + } + } puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/io_uring_setup.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/io_uring_setup.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_setup syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -25,7 +25,6 @@ #include "xlat.h" #include "xlat/uring_setup_features.h" -#include "xlat/uring_cqring_flags.h" static const char *errstr; @@ -69,9 +68,11 @@ printf("io_uring_setup(%u, {flags=IORING_SETUP_IOPOLL" "|IORING_SETUP_SQPOLL|IORING_SETUP_SQ_AFF|IORING_SETUP_CQSIZE" "|IORING_SETUP_CLAMP|IORING_SETUP_ATTACH_WQ" - "|IORING_SETUP_R_DISABLED|%#x" + "|IORING_SETUP_R_DISABLED|IORING_SETUP_SUBMIT_ALL" + "|IORING_SETUP_COOP_TASKRUN|IORING_SETUP_TASKRUN_FLAG" + "|IORING_SETUP_SQE128|IORING_SETUP_CQE32|%#x" ", sq_thread_cpu=%#x, sq_thread_idle=%u, wq_fd=%d, resv=", - 1, -1U - 127, params->sq_thread_cpu, params->sq_thread_idle, + 1, -1U - 0xfff, params->sq_thread_cpu, params->sq_thread_idle, params->wq_fd); for (unsigned int i = 0; i < ARRAY_SIZE(params->resv); ++i) printf("%s%#x", i != 0 ? ", " : "", params->resvi); @@ -115,16 +116,15 @@ params->sq_off.resv2); printf("}, cq_off={head=%u, tail=%u, ring_mask=%u" - ", ring_entries=%u, overflow=%u, cqes=%u, flags=", + ", ring_entries=%u, overflow=%u, cqes=%u" + ", flags=%u", params->cq_off.head, params->cq_off.tail, params->cq_off.ring_mask, params->cq_off.ring_entries, params->cq_off.overflow, - params->cq_off.cqes); - printflags(uring_cqring_flags, - params->cq_off.flags, - "IORING_CQ_???"); + params->cq_off.cqes, + params->cq_off.flags); if (params->cq_off.resv1) printf(", resv1=%#x", params->cq_off.resv1); if (params->cq_off.resv2)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_block--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_block--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of ioctl(BLK*) syscall decoding. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_block.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_block.c
Changed
@@ -66,6 +66,7 @@ TEST_NULL_ARG(BLKROTATIONAL); TEST_NULL_ARG(BLKSECDISCARD); TEST_NULL_ARG(BLKZEROOUT); + TEST_NULL_ARG(BLKGETDISKSEQ); TEST_NULL_ARG(BLKTRACESETUP); ioctl(-1, BLKRASET, lmagic); @@ -153,8 +154,7 @@ buts->start_lba, buts->end_lba, buts->pid, pidns_pid2str(PT_TGID)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(block_argless); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(block_argless); ++i) { ioctl(-1, (unsigned long) block_arglessi.val, lmagic); pidns_print_leader(); printf("ioctl(-1, %s) = -1 EBADF (%m)\n", block_arglessi.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev); do not edit. +set -- -a39 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose); do not edit. +set -- -a52 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter.c
Added
@@ -0,0 +1,133 @@ +/* + * Check decoding of COUNTER_* commands of ioctl syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com>. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include <linux/ioctl.h> +#include <linux/counter.h> + + +/* A hack for handling different types of _IOC() on various platforms */ +#if XLAT_RAW +# define XLAT_ARGS_U(a_) (unsigned int) (a_) +#elif XLAT_VERBOSE +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ +#else +# define XLAT_ARGS_U(a_) #a_ +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + /* Unknown counter ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 1) { + sys_ioctl(-1, _IOC(dirsi.val, '>', 3, j), magic); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x3e, 0x3, %#x)") + ", %#lx) = %s\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '>', 3, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + /* COUNTER_ADD_WATCH_IOCTL */ + static const struct { + struct counter_watch val;; + const char *str; + } watches = { + { { { 0 } }, + "{component={type=" XLAT_KNOWN(0, "COUNTER_COMPONENT_NONE") + ", scope=" XLAT_KNOWN(0, "COUNTER_SCOPE_DEVICE") + ", parent=0, id=0}" + ", event=" XLAT_KNOWN(0, "COUNTER_EVENT_OVERFLOW") + ", channel=0}" }, + { { { COUNTER_COMPONENT_EXTENSION, COUNTER_SCOPE_COUNT, + 23, 42 }, COUNTER_EVENT_CAPTURE, 69 }, + "{component=" + "{type=" XLAT_KNOWN(0x5, "COUNTER_COMPONENT_EXTENSION") + ", scope=" XLAT_KNOWN(0x2, "COUNTER_SCOPE_COUNT") + ", parent=23, id=42}" + ", event=" XLAT_KNOWN(0x6, "COUNTER_EVENT_CAPTURE") + ", channel=69}" }, + { { { COUNTER_COMPONENT_EXTENSION + 1, COUNTER_SCOPE_COUNT + 1, + 142, 160 }, COUNTER_EVENT_CAPTURE + 1, 173 }, + "{component={type=" XLAT_UNKNOWN(0x6, "COUNTER_COMPONENT_???") + ", scope=" XLAT_UNKNOWN(0x3, "COUNTER_SCOPE_???") + ", parent=142, id=160}" + ", event=" XLAT_UNKNOWN(0x7, "COUNTER_EVENT_???") + ", channel=173}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct counter_watch, watch); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), errstr); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + (char *) watch + 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(watches); i++) { + memcpy(watch, &watchesi.val, sizeof(watchesi.val)); + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + watchesi.str, errstr); + } + + /* COUNTER_ENABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_ENABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_ENABLE_EVENTS_IOCTL), errstr); + + /* COUNTER_DISABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_DISABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_DISABLE_EVENTS_IOCTL), errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_counter.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter +ioctl.test -a39); do not edit. +set -- -a39 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_dm.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_dm.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Mikulas Patocka <mpatocka@redhat.com> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -51,9 +51,8 @@ } ts; struct { struct dm_target_msg target_msg; - char target_string256; } tm; - char string256; + char string256 + sizeof(struct dm_target_msg); } u; } s; @@ -176,7 +175,6 @@ long rc; const char *errstr; - unsigned int i; /* Incorrect operation */ @@ -212,33 +210,33 @@ dm_arg->version1 = 0xbadc0dee; dm_arg->version2 = 0xbadc0def; ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" - " /* unsupported device mapper ABI version */}) = " + printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" + " /* unsupported device mapper ABI version */}) = " "-1 EBADF (%m)\n", 0xbadc0ded, 0xbadc0dee, 0xbadc0def); /* Incorrect data_size */ init_s(dm_arg, 14, 64); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" - " /* data_size too small */}) = -1 EBADF (%m)\n"); + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" + " /* data_size too small */}) = -1 EBADF (%m)\n"); /* Unterminated name/uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); memcpy(dm_arg->name, str129, sizeof(dm_arg->name)); memcpy(dm_arg->uuid, str129, sizeof(dm_arg->uuid)); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"%.127s\"..., uuid=\"%.128s\"..., " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl, str129, str129); /* Normal call */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " - "-1 EBADF (%m)\n", min_sizeof_dm_ioctl); + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0})" + " = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Zero dev, name, uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); @@ -248,7 +246,7 @@ dm_arg->uuid0 = '\0'; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%u, flags=0}) = " + "{version=4, 1, 2, data_size=%u, flags=0}) = " "-1 EBADF (%m)\n", 0xfacefeed); /* Flag */ @@ -256,7 +254,7 @@ dm_arg->flags = 0xffffffff; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=" "DM_READONLY_FLAG|DM_SUSPEND_FLAG|DM_EXISTS_FLAG|" "DM_PERSISTENT_DEV_FLAG|DM_STATUS_TABLE_FLAG|" @@ -265,26 +263,26 @@ "DM_NOFLUSH_FLAG|DM_QUERY_INACTIVE_TABLE_FLAG|" "DM_UEVENT_GENERATED_FLAG|DM_UUID_FLAG|DM_SECURE_DATA_FLAG|" "DM_DATA_OUT_FLAG|DM_DEFERRED_REMOVE|DM_INTERNAL_SUSPEND_FLAG|" - "0xfff80080}) = -1 EBADF (%m)\n", + "DM_IMA_MEASUREMENT_FLAG|0xfff00080}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Normal call */ init_s(&s.ioc, sizeof(s.ioc), 0); ioctl(-1, DM_VERSION, &s); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " "-1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_REMOVE_ALL */ /* DM_LIST_DEVICES */ /* DM_LIST_VERSIONS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmds_nodevi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " - "flags=0}) = -1 EBADF (%m)\n", + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmds_nodevi.str, min_sizeof_dm_ioctl, dummy_check_cmds_nodevi.has_params ? @@ -299,12 +297,12 @@ /* DM_TABLE_CLEAR */ /* DM_TABLE_DEPS */ /* DM_TABLE_STATUS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmdsi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\"%s, " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmdsi.str, min_sizeof_dm_ioctl, dummy_check_cmdsi.has_params ? ", data_start=0" : "", dummy_check_cmdsi.has_event_nr ? ", event_nr=0" : ""); @@ -317,17 +315,17 @@ s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); init_s(&s.ioc, sizeof(s.ioc), 0); s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " + "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " "name=\"nnn\", uuid=\"uuu\", event_nr=3134983661, " - "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_TABLE_LOAD */ @@ -341,16 +339,16 @@ strcpy(s.u.ts.target_params, "tparams"); ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1, flags=0, " + "target_count=1, flags=0}, " #if VERBOSE "{sector_start=16, length=32, target_type=\"tgt\", " "string=\"tparams\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* No targets */ init_s(dm_arg, min_sizeof_dm_ioctl, min_sizeof_dm_ioctl); @@ -358,9 +356,9 @@ dm_arg->target_count = 0; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=0, flags=0}) = -1 EBADF (%m)\n", + "target_count=0, flags=0}) = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -369,15 +367,15 @@ dm_arg->target_count = 1234; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1234, flags=0, " + "target_count=1234, flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); /* Inaccessible pointer */ init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), @@ -386,15 +384,15 @@ dm_arg_open1->ioc.target_count = 0xdeaddea1; ioctl(-1, DM_TABLE_LOAD, dm_arg_open1); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3735936673, flags=0, " + "target_count=3735936673, flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), + ") = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), offsetof(struct dm_table_open_test, target1) #if VERBOSE , (char *) dm_arg_open1 + @@ -414,9 +412,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open2); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=2, flags=0, ", + "target_count=2, flags=0}, ", sizeof(*dm_arg_open2), offsetof(struct dm_table_open_test, target1)); #if VERBOSE @@ -429,7 +427,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Incorrect next */ init_s(&dm_arg_open3->ioc, offsetof(struct dm_table_open_test, target5), @@ -458,9 +456,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4, flags=0, ", + "target_count=4, flags=0}, ", offsetof(struct dm_table_open_test, target5), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -473,7 +471,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); #define FILL_DM_TARGET(id, id_next) \ do { \ @@ -509,9 +507,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3134983661, flags=0, ", + "target_count=3134983661, flags=0}, ", sizeof(*dm_arg_open3), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -525,7 +523,7 @@ PRINT_DM_TARGET(7); PRINT_DM_TARGET(8); #endif /* VERBOSE */ - printf("...}) = %s\n", errstr); + printf("...) = %s\n", errstr); /* DM_TARGET_MSG */ @@ -535,14 +533,14 @@ "long target msg"); ioctl(-1, DM_TARGET_MSG, &s); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "{sector=4660, message=\"long targ\"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* Invalid data_start */ @@ -550,14 +548,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -565,14 +563,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xffffffff); /* Inaccessible pointer */ @@ -581,14 +579,14 @@ dm_arg->data_start = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg) + sizeof(struct dm_target_msg), sizeof(*dm_arg) #if VERBOSE @@ -604,8 +602,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg) + 1, offsetof(struct dm_target_msg_test, msg)); #if VERBOSE @@ -616,7 +614,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Zero-sied string */ init_s(&dm_arg_msg->ioc, sizeof(*dm_arg_msg), @@ -625,8 +623,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg), offsetof(struct dm_target_msg_test, msg)); #if VERBOSE printf("{sector=%" PRI__u64 ", message=\"\"}", @@ -634,7 +632,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* DM_DEV_SET_GEOMETRY */ @@ -642,14 +640,14 @@ strcpy(s.u.string, "10 20 30 40"); ioctl(-1, DM_DEV_SET_GEOMETRY, &s); printf("ioctl(-1, DM_DEV_SET_GEOMETRY, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE - "string=\"10 20 30 \"..." + "{string=\"10 20 30 \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -660,15 +658,15 @@ memcpy(unaligned_dm_arg, dm_arg, offsetof(struct dm_ioctl, data)); ioctl(-1, DM_DEV_RENAME, unaligned_dm_arg); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=%p" + "{string=%p}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*unaligned_dm_arg), min_sizeof_dm_ioctl #if VERBOSE , (char *) unaligned_dm_arg + min_sizeof_dm_ioctl @@ -680,15 +678,15 @@ s.ioc.data_start = 0xdeadbeef; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=3735928559, " + "{version=4, 1, 2, data_size=%u, data_start=3735928559, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE "??? /* misplaced string */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size); /* Strange but still valid data_start */ @@ -697,15 +695,15 @@ s.ioc.data_start = offsetof(struct dm_ioctl, name) + 1; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%zu, " + "{version=4, 1, 2, data_size=%u, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"nn\"" + "{string=\"nn\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, offsetof(struct dm_ioctl, name) + 1); @@ -714,15 +712,15 @@ strcpy(s.u.string, "new long name"); ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"new long \"..." + "{string=\"new long \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -731,16 +729,16 @@ s.ioc.target_count = -1U; ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4294967295, flags=0, " + "target_count=4294967295, flags=0}, " #if VERBOSE "{sector_start=0, length=0, target_type=\"\", string=\"\"}" ", ??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_evdev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_evdev.c
Changed
@@ -188,8 +188,7 @@ #if VERBOSE printf("index=%" PRIu16 ", keycode=%s, scancode=", ike->index, XLAT_STR(KEY_1)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { if (i > 0) printf(", "); printf("%#" PRIx8, ike->scancodei);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_gpio.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_gpio.c
Changed
@@ -1,7 +1,7 @@ /* * Check GPIO_* ioctl decoding. * - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -71,7 +71,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -506,7 +506,7 @@ rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + "consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}"); @@ -516,7 +516,7 @@ p_line_request->event_buffer_size = 0xdeafdace; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "event_buffer_size=3736066766}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -528,7 +528,7 @@ p_line_request->padding1 = 0xfeedface; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "padding=0, 0xfeedface, 0, 0, 0}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -542,7 +542,7 @@ p_line_request->offsetsi = i + 1; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=65, offsets=" str_line_seq - ", config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + ", consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_hdio.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_hdio.c
Changed
@@ -14,6 +14,10 @@ #include <stdlib.h> #include <linux/hdreg.h> #include <sys/ioctl.h> +#include "xlat.h" + +#include "xlat/hdio_busstates.h" +#include "xlat/hdio_ide_nice.h" static const char *errstr; @@ -38,7 +42,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -57,10 +61,10 @@ num_skip = strtoul(argv1, NULL, 0); for (size_t i = 0; i < num_skip; i++) { - long ret = ioctl(-1, HDIO_GET_UNMASKINTR, 0); + long ret = ioctl(-1, HDIO_GET_QDMA, 0); printf("ioctl(-1, %s, 0) = %s%s\n", - XLAT_STR(HDIO_GET_UNMASKINTR), sprintrc(ret), + XLAT_STR(HDIO_GET_QDMA), sprintrc(ret), ret == INJECT_RETVAL ? " (INJECTED)" : ""); if (ret != INJECT_RETVAL) @@ -72,7 +76,7 @@ if (!locked) error_msg_and_fail("Hasn't locked on ioctl(-1" - ", HDIO_GET_UNMASKINTR, 0) returning %d", + ", HDIO_GET_QDMA, 0) returning %d", INJECT_RETVAL); #endif @@ -83,10 +87,15 @@ uint32_t cmd; const char *str; } unsupp_cmds = { - { ARG_STR(HDIO_GET_UNMASKINTR) }, - { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_GET_QDMA) }, { ARG_STR(HDIO_SET_XFER) }, + { ARG_STR(HDIO_TRISTATE_HWIF) }, + { ARG_STR(HDIO_DRIVE_TASKFILE) }, + { ARG_STR(HDIO_DRIVE_TASK) }, + { ARG_STR(HDIO_SET_QDMA) }, +#ifdef MPERS_IS_m32 + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_OBSOLETE_IDENTITY) }, { ARG_STR(HDIO_GET_KEEPSETTINGS) }, { ARG_STR(HDIO_GET_32BIT) }, @@ -98,10 +107,7 @@ { ARG_STR(HDIO_GET_ACOUSTIC) }, { ARG_STR(HDIO_GET_ADDRESS) }, { ARG_STR(HDIO_GET_BUSSTATE) }, - { ARG_STR(HDIO_TRISTATE_HWIF) }, { ARG_STR(HDIO_DRIVE_RESET) }, - { ARG_STR(HDIO_DRIVE_TASKFILE) }, - { ARG_STR(HDIO_DRIVE_TASK) }, { ARG_STR(HDIO_SET_MULTCOUNT) }, { ARG_STR(HDIO_SET_UNMASKINTR) }, { ARG_STR(HDIO_SET_KEEPSETTINGS) }, @@ -115,8 +121,8 @@ { ARG_STR(HDIO_SET_WCACHE) }, { ARG_STR(HDIO_SET_ACOUSTIC) }, { ARG_STR(HDIO_SET_BUSSTATE) }, - { ARG_STR(HDIO_SET_QDMA) }, { ARG_STR(HDIO_SET_ADDRESS) }, +#endif /* MPERS_IS_m32 */ }; for (size_t i = 0; i < ARRAY_SIZE(unsupp_cmds); i++) { @@ -220,6 +226,205 @@ } printf("}) = %s\n", errstr); +/* HDIO compat has never been supported by the kernel. */ +#ifndef MPERS_IS_m32 + + void *const efault = tail_alloc(1) + 1; + + /* HDIO_DRIVE_RESET */ + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), errstr); + do_ioctl_ptr(HDIO_DRIVE_RESET, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), efault, errstr); + do_ioctl(HDIO_DRIVE_RESET, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int drive_reset_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_DRIVE_RESET, &drive_reset_args); + + /* HDIO_SCAN_HWIF */ + printf("ioctl(-1, %s, NULL) = %s\n", XLAT_STR(HDIO_SCAN_HWIF), errstr); + do_ioctl_ptr(HDIO_SCAN_HWIF, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), efault, errstr); + do_ioctl(HDIO_SCAN_HWIF, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int scan_hwif_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_SCAN_HWIF, &scan_hwif_args); + + /* Getters of the form ioctl(..., ..., &val) */ + static const struct { + uint32_t cmd; + const char *str; + } getter_cmds = { + { ARG_STR(HDIO_GET_32BIT) }, + { ARG_STR(HDIO_GET_ACOUSTIC) }, + { ARG_STR(HDIO_GET_ADDRESS) }, + { ARG_STR(HDIO_GET_DMA) }, + { ARG_STR(HDIO_GET_KEEPSETTINGS) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, + { ARG_STR(HDIO_GET_NOWERR) }, + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_WCACHE) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(getter_cmds); i++) { + kernel_ulong_t val = (kernel_ulong_t) 0xfacefeeddeadbeefULL; + + rc = do_ioctl_ptr(getter_cmdsi.cmd, &val); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(getter_cmdsi.cmd, getter_cmdsi.str)); + if (rc >= 0) { + printf("%llu", (unsigned long long) val); + } else { + printf("%p", &val); + } + printf(") = %s\n", errstr); + } + + /* Setters of the form ioctl(..., ..., val) */ + static const struct { + uint32_t cmd; + const char *str; + } setter_cmds = { + { ARG_STR(HDIO_SET_32BIT) }, + { ARG_STR(HDIO_SET_ACOUSTIC) }, + { ARG_STR(HDIO_SET_ADDRESS) }, + { ARG_STR(HDIO_SET_DMA) }, + { ARG_STR(HDIO_SET_KEEPSETTINGS) }, + { ARG_STR(HDIO_SET_MULTCOUNT) }, + { ARG_STR(HDIO_SET_NOWERR) }, + { ARG_STR(HDIO_SET_PIO_MODE) }, + { ARG_STR(HDIO_SET_UNMASKINTR) }, + { ARG_STR(HDIO_SET_WCACHE) }, + { ARG_STR(HDIO_UNREGISTER_HWIF) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(setter_cmds); i++) { + unsigned long val = (unsigned long) 0xfacefeeddeadbeefULL; + + rc = do_ioctl(setter_cmdsi.cmd, val); + printf("ioctl(-1, " XLAT_FMT ", %llu) = %s\n", + XLAT_SEL(setter_cmdsi.cmd, setter_cmdsi.str), + (unsigned long long) val, errstr); + } + + /* HDIO_OBSOLETE_IDENTITY */ + do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_OBSOLETE_IDENTITY), errstr); + + char obsolete_identity142; + rc = do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, obsolete_identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_OBSOLETE_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(obsolete_identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", obsolete_identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_IDENTITY */ + do_ioctl_ptr(HDIO_GET_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_GET_IDENTITY), errstr); + + char identity512; + rc = do_ioctl_ptr(HDIO_GET_IDENTITY, identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_NICE */ + kernel_ulong_t nice_val = (kernel_ulong_t) 0xfacefeedded1ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_NICE, &nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_NICE)); + if (rc >= 0) { + printf(""); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(""); + } else { + printf("%p", &nice_val); + } + printf(") = %s\n", errstr); + + /* HDIO_SET_NICE */ + nice_val = (unsigned long) 0xfacefeedded2ffffULL; + do_ioctl(HDIO_SET_NICE, nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_NICE)); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(") = %s\n", errstr); + + /* HDIO_GET_BUSSTATE */ + kernel_ulong_t busstate_value = (kernel_ulong_t) 0xfacefeedded3ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_BUSSTATE, &busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_BUSSTATE)); + if (rc >= 0) { + printf(""); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(""); + } else { + printf("%p", &busstate_value); + } + printf(") = %s\n", errstr); + + + /* HDIO_SET_BUSSTATE */ + busstate_value = (unsigned long) 0xfacefeedded4ffffULL; + + do_ioctl(HDIO_SET_BUSSTATE, busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_BUSSTATE)); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(") = %s\n", errstr); + +#endif /* !MPERS_IS_m32 */ + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev); do not edit. +set -- -a20 -s1024 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw); do not edit. +set -- -a18 -s1024 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose); do not edit. +set -- -a20 -s1024 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success-s1024.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024); do not edit. +set -- -a20 -s1024 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success +ioctl-success.sh -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd.c
Added
@@ -0,0 +1,1742 @@ +/* + * This file is part of ioctl_kd strace test. + * + * Copyright (c) 2019-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <errno.h> +#include <inttypes.h> +#include <limits.h> +#include <signal.h> +#include <stddef.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include "scno.h" + +#include <linux/ioctl.h> +#include <linux/kd.h> +#include <linux/keyboard.h> + +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define RETVAL "42 (INJECTED)\n" +#else +# define RETVAL "-1 EBADF (%m)\n" +#endif + +#ifndef HAVE_STRUCT_KBDIACRUC +struct kbdiacruc { + unsigned int diacr, base, result; +}; +#endif + +#ifndef HAVE_STRUCT_KBDIACRSUC +struct kbdiacrsuc { + struct kbdiacruc kbdiacruc256; +} +#endif + +struct arg_val { + kernel_ulong_t val; + const char *str; +}; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + return syscall(__NR_ioctl, fd, cmd, arg); +} + +static void +check_null_invalid(unsigned int c, const char *s) +{ + static char *p; + + if (!p) + p = tail_alloc(1); + + sys_ioctl(-1, c, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, XLAT_SEL(c, s)); + + if (F8ILL_KULONG_SUPPORTED) { + sys_ioctl(-1, c, F8ILL_KULONG_MASK); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, + XLAT_SEL(c, s)); + } + + sys_ioctl(-1, c, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, XLAT_SEL(c, s), p + 1); +} + +/* GIO_SCRNMAP, PIO_SCRNMAP */ +static void +check_scrnmap(unsigned int c, const char *s) +{ + char *scrnmap = tail_alloc(E_TABSZ); + + int saved_errno; + long rc; + + fill_memory_ex(scrnmap, E_TABSZ, 0, 0xff); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 31); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 32); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 33); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((rc >= 0 || c == PIO_SCRNMAP) && (DEFAULT_STRLEN <= 32)) { + print_quoted_hex(scrnmap + E_TABSZ - 33, 32); + printf("..."); + } else { + printf("%p", scrnmap + E_TABSZ - 33); + } + errno = saved_errno; + printf(") = " RETVAL); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (rc >= 0 || c == PIO_SCRNMAP) { + print_quoted_hex(scrnmap, MIN(E_TABSZ, DEFAULT_STRLEN)); + if (DEFAULT_STRLEN < E_TABSZ) + printf("..."); + } else { + printf("%p", scrnmap); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGKBENT, KDSKBENT */ +static void +check_kbdent(unsigned int c, const char *s) +{ + static const struct arg_val kbtbl_vecs = { + { ARG_XLAT_KNOWN(0, "K_NORMTAB") }, + { ARG_XLAT_KNOWN(0x1, "K_SHIFTTAB") }, + { ARG_XLAT_KNOWN(0x3, "K_ALTSHIFTTAB") }, + { ARG_XLAT_KNOWN(0x4, "1<<KG_CTRL") }, + { ARG_XLAT_KNOWN(0xff, + "1<<KG_SHIFT|1<<KG_ALTGR|1<<KG_CTRL" + "|1<<KG_ALT|1<<KG_SHIFTL|1<<KG_SHIFTR" + "|1<<KG_CTRLL|1<<KG_CTRLR") }, + }; + + static const struct arg_val kbval_vecs = { + { ARG_STR(0) NRAW(" /* K(KT_LATIN, '\\x00') */") }, + { ARG_STR(0x10) NRAW(" /* K(KT_LATIN, '\\x10') */") }, + { ARG_STR(0x20) NRAW(" /* K(KT_LATIN, ' ') */") }, + { ARG_STR(0x7e) NRAW(" /* K(KT_LATIN, '~') */") }, + { ARG_STR(0x7f) NRAW(" /* K(KT_LATIN, '\\x7f') */") }, + + { ARG_STR(0x100) NRAW(" /* K_F1 */") }, + { ARG_STR(0x11d) NRAW(" /* K_PAUSE */") }, + { ARG_STR(0x1ff) NRAW(" /* K_UNDO */") }, + + { ARG_STR(0x200) NRAW(" /* K_HOLE */") }, + { ARG_STR(0x213) NRAW(" /* K_BARENUMLOCK */") }, + { ARG_STR(0x214) NRAW(" /* K(KT_SPEC, 0x14) */") }, + { ARG_STR(0x27d) NRAW(" /* K(KT_SPEC, 0x7d) */") }, + { ARG_STR(0x27e) NRAW(" /* K_ALLOCATED */") }, + { ARG_STR(0x27f) NRAW(" /* K_NOSUCHMAP */") }, + { ARG_STR(0x280) NRAW(" /* K(KT_SPEC, 0x80) */") }, + { ARG_STR(0x2ff) NRAW(" /* K(KT_SPEC, 0xff) */") }, + + { ARG_STR(0x300) NRAW(" /* K_P0 */") }, + { ARG_STR(0x313) NRAW(" /* K_PPARENR */") }, + { ARG_STR(0x314) NRAW(" /* K(KT_PAD, 0x14) */") }, + { ARG_STR(0x37f) NRAW(" /* K(KT_PAD, 0x7f) */") }, + { ARG_STR(0x3ff) NRAW(" /* K(KT_PAD, 0xff) */") }, + + { ARG_STR(0x400) NRAW(" /* K_DGRAVE */") }, + { ARG_STR(0x41a) NRAW(" /* K_DGREEK */") }, + { ARG_STR(0x41b) NRAW(" /* K(KT_DEAD, 0x1b) */") }, + { ARG_STR(0x47f) NRAW(" /* K(KT_DEAD, 0x7f) */") }, + { ARG_STR(0x4ff) NRAW(" /* K(KT_DEAD, 0xff) */") }, + + { ARG_STR(0x500) NRAW(" /* K(KT_CONS, 0) */") }, + { ARG_STR(0x540) NRAW(" /* K(KT_CONS, 0x40) */") }, + { ARG_STR(0x5ff) NRAW(" /* K(KT_CONS, 0xff) */") }, + + { ARG_STR(0x600) NRAW(" /* K_DOWN */") }, + { ARG_STR(0x603) NRAW(" /* K_UP */") }, + { ARG_STR(0x604) NRAW(" /* K(KT_CUR, 0x4) */") }, + { ARG_STR(0x680) NRAW(" /* K(KT_CUR, 0x80) */") }, + { ARG_STR(0x6ff) NRAW(" /* K(KT_CUR, 0xff) */") }, + + { ARG_STR(0x700) NRAW(" /* K_SHIFT */") }, + { ARG_STR(0x708) NRAW(" /* K_CAPSSHIFT */") }, + { ARG_STR(0x709) NRAW(" /* K(KT_SHIFT, 0x9) */") }, + { ARG_STR(0x7ff) NRAW(" /* K(KT_SHIFT, 0xff) */") }, + + { ARG_STR(0x800) NRAW(" /* K(KT_META, '\\x00') */") }, + { ARG_STR(0x841) NRAW(" /* K(KT_META, 'A') */") }, + { ARG_STR(0x8ff) NRAW(" /* K(KT_META, '\\xff') */") }, + + { ARG_STR(0x900) NRAW(" /* K_ASC0 */") }, + { ARG_STR(0x909) NRAW(" /* K_ASC9 */") }, + { ARG_STR(0x90a) NRAW(" /* K_HEX0 */") }, + { ARG_STR(0x919) NRAW(" /* K_HEXf */") }, + { ARG_STR(0x91a) NRAW(" /* K(KT_ASCII, 0x1a) */") }, + { ARG_STR(0x9ff) NRAW(" /* K(KT_ASCII, 0xff) */") }, + + { ARG_STR(0xa00) NRAW(" /* K_SHIFTLOCK */") }, + { ARG_STR(0xa08) NRAW(" /* K_CAPSSHIFTLOCK */") }, + { ARG_STR(0xa09) NRAW(" /* K(KT_LOCK, 0x9) */") }, + { ARG_STR(0xaff) NRAW(" /* K(KT_LOCK, 0xff) */") }, + + { ARG_STR(0xb00) NRAW(" /* K(KT_LETTER, '\\x00') */") }, + { ARG_STR(0xb40) NRAW(" /* K(KT_LETTER, '@') */") }, + { ARG_STR(0xb7f) NRAW(" /* K(KT_LETTER, '\\x7f') */") }, + { ARG_STR(0xbff) NRAW(" /* K(KT_LETTER, '\\xff') */") }, + + { ARG_STR(0xc00) NRAW(" /* K_SHIFT_SLOCK */") }, + { ARG_STR(0xc08) NRAW(" /* K_CAPSSHIFT_SLOCK */") }, + { ARG_STR(0xc09) NRAW(" /* K(KT_SLOCK, 0x9) */") }, + { ARG_STR(0xcff) NRAW(" /* K(KT_SLOCK, 0xff) */") }, + + { ARG_STR(0xd00) NRAW(" /* K(KT_DEAD2, '\\x00') */") }, + { ARG_STR(0xd13) NRAW(" /* K(KT_DEAD2, '\\x13') */") }, + { ARG_STR(0xd5c) NRAW(" /* K(KT_DEAD2, '\\\\') */") }, + { ARG_STR(0xdff) NRAW(" /* K(KT_DEAD2, '\\xff') */") }, + + { ARG_STR(0xe00) NRAW(" /* K_BRL_BLANK */") }, + { ARG_STR(0xe0a) NRAW(" /* K_BRL_DOT10 */") }, + { ARG_STR(0xe0b) NRAW(" /* K(KT_BRL, 0xb) */") }, + { ARG_STR(0xeff) NRAW(" /* K(KT_BRL, 0xff) */") }, + + { ARG_STR(0xf00) NRAW(" /* K(0xf, 0) */") }, + { ARG_STR(0xfed) NRAW(" /* K(0xf, 0xed) */") }, + { ARG_STR(0xf00d) NRAW(" /* K(0xf0, 0xd) */") }, + }; + + struct kbentry *kbe = tail_alloc(sizeof(*kbe)); + + int saved_errno; + long rc; + + check_null_invalid(c, s); + + kbe->kb_value = 0xa8a8; + sys_ioctl(-1, c, (uintptr_t) kbe + 2); + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=168%s}" + ") = " RETVAL, + XLAT_SEL(c, s), XLAT_STR(1<<KG_ALT|1<<KG_SHIFTR|1<<KG_CTRLR), + RETVAL_INJECTED || c == KDSKBENT ? ", kb_value=???" : "" + ); + + for (size_t i = 0; + i < MAX(ARRAY_SIZE(kbtbl_vecs), ARRAY_SIZE(kbval_vecs)); i++) { + kbe->kb_table = kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).val; + kbe->kb_index = i * 3141; + kbe->kb_value = kbval_vecsi % ARRAY_SIZE(kbval_vecs).val; + + rc = sys_ioctl(-1, c, (uintptr_t) kbe); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=%u", + XLAT_SEL(c, s), + kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).str, + kbe->kb_index); + if (rc >= 0 || c == KDSKBENT) { + printf(", kb_value=%s", + kbval_vecsi % ARRAY_SIZE(kbval_vecs).str); + } + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBSENT, KDSKBSENT */ +static void +check_kbdsent(unsigned int c, const char *s) +{ + static struct arg_val kbse_offsets = { + { sizeof(struct kbsentry) - 1, "KVAL(K_F2)" }, + { sizeof(struct kbsentry) - 2, "KVAL(K_F1)" }, + { sizeof(struct kbsentry) - 34, "KVAL(K_F214)" }, + { sizeof(struct kbsentry) - 35, "KVAL(K_F213)" }, + { 1, "KVAL(K_F1)" }, + { 0, "KVAL(K_F245)" }, + }; + + static const struct arg_val kbfn_vecs = { + { ARG_XLAT_KNOWN(0, "KVAL(K_F1)") }, + { ARG_XLAT_KNOWN(0x10, "KVAL(K_F17)") }, + { ARG_XLAT_KNOWN(0x7f, "KVAL(K_F118)") }, + { ARG_XLAT_KNOWN(0xff, "KVAL(K_UNDO)") }, + }; + + struct kbsentry *kbse = tail_alloc(sizeof(*kbse)); + + int saved_errno; + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0, 0xff); + kbse->kb_func = 0xfe; + + check_null_invalid(c, s); + + for (size_t i = 0; i < ARRAY_SIZE(kbse_offsets); i++) { + sys_ioctl(-1, c, + (uintptr_t) kbse + kbse_offsetsi.val); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + sprintxlat(kbse_offsetsi.str, + (kbse_offsetsi.val + 254) % 0xff, NULL)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + if (kbse_offsetsi.val < 255 * 2) { + print_quoted_stringn( + (char *) kbse->kb_string + + kbse_offsetsi.val, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } else { + printf("???"); + } + } + + errno = saved_errno; + printf("}) = " RETVAL); + } + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0x80, 0x7f); + kbse->kb_func = KVAL(K_PGDN); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=" + XLAT_KNOWN(0x19, "KVAL(K_PGDN)"), + XLAT_SEL(c, s)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(kbfn_vecs); i++) { + kbse->kb_func = kbfn_vecsi.val; + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), + i * 357 + 42, i * 257 + 13); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + kbfn_vecsi.str); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBDIACR, KDSKBDIACR */ +static void +check_diacr(unsigned int c, const char *s) +{ + static struct arg_val diac_vecs = { + { 0, "\\x00" }, + { '\n', "\\n" }, + { ' ', " " }, + { 'a', "a" }, + { '~', "~" }, + { '\'', "\\'" }, + { '\\', "\\\\" }, + { '"', "\"" }, + { '`', "`" }, + { 0x7f, "\\x7f" }, + { 0xff, "\\xff" }, + }; + + struct kbdiacrs *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrs *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacr)); + struct kbdiacrs *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + if (i) + printf("%p}", diacrs0->kbdiacr); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs1->kbdiacr, 4 * sizeof(struct kbdiacr), 40, 44); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", (int) (40 + j * 3), + (int) (41 + j * 3), (int) (42 + j * 3)); + + if (i > 4) + printf(", ... /* %p */", diacrs1->kbdiacr + 4); + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs2->kbdiacr, sizeof(diacrs2->kbdiacr), 40, 52); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacr) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacr) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; + j < MIN(i, MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", + (int) (40 + (j * 3 + 0) % 52), + (int) (40 + (j * 3 + 1) % 52), + (int) (40 + (j * 3 + 2) % 52)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + for (size_t i = 0; i< ARRAY_SIZE(diac_vecs); i++) { + diacrs2->kbdiacri.diacr = diac_vecsi.val; + diacrs2->kbdiacri.base = diac_vecsi.val; + diacrs2->kbdiacri.result = diac_vecsi.val; + } + diacrs2->kb_cnt = ARRAY_SIZE(diac_vecs); + + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", ARRAY_SIZE(diac_vecs)); + for (size_t i = 0; i < ARRAY_SIZE(diac_vecs); i++) + printf("%1$s{diacr='%2$s', base='%2$s', result='%2$s'}", + i ? ", " : "", diac_vecsi.str); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGETKEYCODE, KDSETKEYCODE */ +static void +check_xetkeycode(unsigned int c, const char *s) +{ + static const struct kbkeycode args = { + { 0, 0 }, + { 0, 0xdeadface }, + { 0xfacefeed, 0 }, + { 0xdecaffed, 0xdadfaced }, + }; + struct kbkeycode *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT ", {scancode=%#x, keycode=%#x", + XLAT_SEL(c, s), argsi.scancode, argsi.keycode); + if ((c == KDGETKEYCODE) && RETVAL_INJECTED) + printf(" => %#x", argsi.keycode); + printf("}) = " RETVAL); + } +} + +/* KDKBDREP */ +static void +check_kbdrep(unsigned int c, const char *s) +{ + static const struct kbd_repeat args = { + { -1, -1 }, + { -1234567890, 0 }, + { 0, -2134567890 }, + { 314159265, 271828182 }, + }; + struct kbd_repeat *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT, XLAT_SEL(c, s)); + for (size_t j = 0; j < 1 + RETVAL_INJECTED; j++) { + printf("%s {delay=%d, period=%d}", + j ? " =>" : ",", argsi.delay, argsi.period); + } + printf(") = " RETVAL); + } +} + +/* GIO_FONT, PIO_FONT */ +static void +check_font(unsigned int c, const char *s) +{ + char *data = tail_alloc(8192); + char *data_end = data + 8192; + + fill_memory(data, 8192); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) data_end - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 31); + + sys_ioctl(-1, c, (uintptr_t) data_end - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 32); + + bool ok = (DEFAULT_STRLEN == 32) + && ((c != GIO_FONT) || RETVAL_INJECTED); + sys_ioctl(-1, c, (uintptr_t) data_end - 33); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 33; i < 8192 - 1; i++) + printf("\\x%hhx", (unsigned char) ( 0x80 + i % 0x80)); + } else { + printf("%p", data_end - 33); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + ok = (c != GIO_FONT) || RETVAL_INJECTED; + sys_ioctl(-1, c, (uintptr_t) data_end - 1025); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 1025; i < 8192 - 1025 + DEFAULT_STRLEN; + i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data_end - 1025); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + sys_ioctl(-1, c, (uintptr_t) data); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 0; i < DEFAULT_STRLEN; i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); +} + +/* GIO_UNIMAP, PIO_UNIMAP */ +static void +check_unimap(unsigned int c, const char *s) +{ + struct unimapdesc *umd = tail_alloc(sizeof(*umd)); + struct unipair *ups = tail_alloc(33 * sizeof(*ups)); + + fill_memory16(ups, 33 * sizeof(*ups)); + ups0.unicode = 0; + ups0.fontpos = 0; + + check_null_invalid(c, s); + + umd->entry_ct = 0xdead; + umd->entries = NULL; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=57005%s, entries=NULL}) = " + RETVAL, XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 57005" : ""); + + umd->entry_ct = 0; + umd->entries = ups + 33; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=0%s, entries=", + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 0" : ""); + if (c == GIO_UNIMAP && !RETVAL_INJECTED) + printf("%p", ups + 33); + else + printf(""); + printf("}) = " RETVAL); + + umd->entry_ct = 1; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=1%s, entries=%p}) = " RETVAL, + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 1" : "", ups + 33); + + for (unsigned int i = 0; i < 6; i++) { + umd->entry_ct = 31 + (i + 1) / 2; + umd->entries = ups + 2 - i / 2; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=%u", + XLAT_SEL(c, s), 31 + (i + 1) / 2); + + if (c == GIO_UNIMAP) { + printf(" => %u", 31 + (i + 1) / 2); +#if !RETVAL_INJECTED + printf(", entries=%p}) = " RETVAL, ups + 2 - i / 2); + continue; +#endif + } + + printf(", entries=%s", i > 3 ? "{unicode=0, fontpos=0}" : ""); + + for (unsigned int j = 0; j < 31 +#if DEFAULT_STRLEN > 32 + + MIN(i / 2, 1) +#else + + ((i / 2) == 1) +#endif + ; j++) { + printf("%s{unicode=%#x, fontpos=%#x}", + j == 0 && i < 4 ? "" : ", ", + 0x80c4 + 2 * (j - MIN(i / 2, 1)), + 0x80c5 + 2 * (j - MIN(i / 2, 1))); + } + if (i == 1 || i == 3 || ((DEFAULT_STRLEN > 32) && (i == 5))) + printf(", ... /* %p */", ups + 33); +#if DEFAULT_STRLEN == 32 + if (i > 3) + printf(", ..."); +#endif + printf("}) = " RETVAL); + } +} + +/* GIO_UNISCRNMAP, PIO_UNISCRNMAP */ +static void +check_uniscrnmap(unsigned int c, const char *s) +{ + uint16_t *map = tail_alloc(256 * sizeof(*map)); + for (unsigned int i = 0; i < 256; i++) + mapi = 0xeff1 + 32 * (i % 112) - i / 8; + + check_null_invalid(c, s); + + for (unsigned int i = 0; i < 3; i++) { + sys_ioctl(-1, c, (uintptr_t) (map + 224 - 112 * i)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + + if (c == GIO_UNISCRNMAP && !RETVAL_INJECTED) { + printf("%p) = " RETVAL, map + 224 - 112 * i); + continue; + } + + for (size_t j = 0; + j < MIN(32 + 112 * i, DEFAULT_STRLEN); j++) { + uint16_t v = 0xefd5 + 32 * (j % 112) - j / 8 + i * 14; + if ((j % 112) < (2 - (i + 1 - j / 112) / 2) + || (j % 112) > (17 - (i + 1 - j / 112) / 2)) { + printf("%s%#hx", j ? ", " : "", v); + } else { + printf(", " + XLAT_KNOWN_FMT("%#hx", + "UNI_DIRECT_BASE+%#hx"), + XLAT_SEL(v, (uint16_t) (v - 0xf000))); + } + } + + if (DEFAULT_STRLEN == 32 || i < 2) { + printf(", ..."); + if (DEFAULT_STRLEN >= 32 + 112 * i) + printf(" /* %p */", map + 256); + } + + printf(") = " RETVAL); + } +} + +/* GIO_FONTX, PIO_FONTX */ +static void +check_fontx(unsigned int c, const char *s) +{ + static const short cnts = { 1, 32, 256 }; + struct consolefontdesc *cfd = tail_alloc(sizeof(*cfd)); + char *data = tail_alloc(2048); + char *data_end = data + 2048; + + fill_memory_ex(data, 2048, 0xf0, 255); + + check_null_invalid(c, s); + + cfd->charcount = 0; + cfd->charheight = 0xdead; + cfd->chardata = NULL; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=NULL}%s) = " RETVAL, + XLAT_SEL(c, s), RETVAL_INJECTED && (c == GIO_FONTX) + ? " => {charcount=0, charheight=57005, chardata=NULL}" : ""); + + cfd->chardata = data_end; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data_end); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + cfd->chardata = data; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(cnts); i++) { + char *p = data_end - MIN(2048, cntsi * 32); + cfd->charcount = cntsi; + + cfd->chardata = p + 1; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX && cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + if (cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } + } +#endif + printf(") = " RETVAL); + + cfd->chardata = p; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX) { + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + } else { + printf("%p", p); + } + printf("}"); +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + printf("}"); + } +#endif + printf(") = " RETVAL); + } +} + +/* GIO_CMAP, PIO_CMAP */ +static void +check_cmap(unsigned int c, const char *s) +{ + char *cmap = tail_alloc(48); + + fill_memory(cmap, 48); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) (cmap + 1)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((c == PIO_CMAP || RETVAL_INJECTED) && (DEFAULT_STRLEN == 32)) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x81 + i); + printf("\"..."); + } else { + printf("%p", cmap + 1); + } + printf(") = " RETVAL); + + sys_ioctl(-1, c, (uintptr_t) cmap); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (c == PIO_CMAP || RETVAL_INJECTED) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x80 + i); +#if DEFAULT_STRLEN == 32 + printf("\"..."); +#else + printf("\""); +#endif + } else { + printf("%p", cmap); + } + printf(") = " RETVAL); +} + +/* KDGKBDIACRUC, KDSKBDIACRUC */ +static void +check_diacruc(unsigned int c, const char *s) +{ + struct kbdiacrsuc *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrsuc *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacruc)); + struct kbdiacrsuc *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + if (i) + printf("%p}", diacrs0->kbdiacruc); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs1->kbdiacruc, 4 * sizeof(struct kbdiacruc)); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > 4) { + printf(", ... /* %p */", + diacrs1->kbdiacruc + 4); + } + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs2->kbdiacruc, sizeof(diacrs2->kbdiacruc)); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacruc) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacruc) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; + j < MIN(i, MIN(ARRAY_SIZE(diacrs2->kbdiacruc), + DEFAULT_STRLEN)); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacruc))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } +} + +int +main(int argc, char *argv) +{ + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + static const uint32_t unknown_ioctls = { + 0xfffffff1, 0xc0007fff, 0xfffb800c, 0xfff8c000, + 0xffffffff, 0xffffffff, 0xffffffff, 0xf3ffffff, + }; + + enum { MAP_ELEM_BIT = sizeof(unknown_ioctls0) * CHAR_BIT }; + + long rc; + +#if RETVAL_INJECTED + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, KDGETLED, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS(KDGETLED), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on ioctl(-1" + ", KDGETLED, NULL) returning 42"); +#endif + + for (size_t i = 0; i < ARRAY_SIZE(unknown_ioctls); i++) { + for (size_t j = 0; j < MAP_ELEM_BIT; j++) { + if (!((unknown_ioctlsi >> j) & 1)) + continue; + + const unsigned int id = i * MAP_ELEM_BIT + j; + + sys_ioctl(-1, 'K' << 8 | id, magic); + printf("ioctl(-1, " + NABBR("%#x") VERB(" /* ") + NRAW("_IOC(%s, 0x4b, %#x, 0)") VERB(" */") + ", %#lx) = " RETVAL, +#if XLAT_RAW || XLAT_VERBOSE + 'K' << 8 | id, +#endif +#if !XLAT_RAW + _IOC_NONE ? "0" : "_IOC_NONE", id, +#endif + (unsigned long) magic); + } + } + + + /* KIOCSOUND */ + sys_ioctl(-1, KIOCSOUND, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1); + printf("ioctl(-1, " XLAT_FMT ", 1" NRAW(" /* 1193182 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* 2711 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193182); + printf("ioctl(-1, " XLAT_FMT ", 1193182" NRAW(" /* 1 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193183); + printf("ioctl(-1, " XLAT_FMT ", 1193183" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 2710)); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 4 + ", 2710" NRAW(" /* 440 Hz */") +#else + ", 13464652297489353366" NRAW(" /* off */") +#endif + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 8 + ", 13464652301225294542" +#else + ", 3735943886" +#endif + NRAW(" /* off */") ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + /* KDMKTONE */ + sys_ioctl(-1, KDMKTONE, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0xffff); + printf("ioctl(-1, " XLAT_FMT ", 65535" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x10000); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|0" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 0x10001)); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|1" NRAW(" /* 1193182 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x1ffff); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|65535" NRAW(" /* 18 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT ", 57005<<16|64206" + NRAW(" /* 18 Hz, 57005 ms */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + + /* KDGETLED */ + static const struct arg_val led_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|0xf8") }, + { (kernel_ulong_t) 0xbadc0dedfeedfaf0ULL, + XLAT_UNKNOWN(0xf0, "LED_???") }, + }; + + unsigned char *leds = tail_alloc(sizeof(*leds)); + + check_null_invalid(ARG_STR(KDGETLED)); + + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + *leds = led_vecsi.val; + rc = sys_ioctl(-1, KDGETLED, (uintptr_t) leds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETLED), led_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETLED), leds); + } + } + + + /* KDSETLED */ + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + sys_ioctl(-1, KDSETLED, led_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), led_vecsi.str); + } + + sys_ioctl(-1, KDSETLED, (kernel_ulong_t) 0xdeadc0defeedfaceULL); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), XLAT_STR(LED_NUM|LED_CAP|0xc8)); + + + /* KDGKBTYPE */ + static const struct arg_val kbt_vecs = { + { ARG_XLAT_UNKNOWN(0, "KB_???") }, + { ARG_XLAT_KNOWN(0x1, "KB_84") }, + { ARG_XLAT_KNOWN(0x2, "KB_101") }, + { ARG_XLAT_KNOWN(0x3, "KB_OTHER") }, + { ARG_XLAT_UNKNOWN(0x4, "KB_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + XLAT_UNKNOWN(0xfe, "KB_???") }, + }; + + unsigned char *kbt = tail_alloc(sizeof(*kbt)); + + check_null_invalid(ARG_STR(KDGKBTYPE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbt_vecs); i++) { + *kbt = kbt_vecsi.val; + rc = sys_ioctl(-1, KDGKBTYPE, (uintptr_t) kbt); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt); + } + } + + + /* KDADDIO */ + static const struct arg_val iop_vecs = { + { ARG_STR(0) }, + { ARG_STR(0x3b3) }, + { ARG_STR(0x3b4) NRAW(" /* GPFIRST + 0 */") }, + { ARG_STR(0x3c0) NRAW(" /* GPFIRST + 12 */") }, + { ARG_STR(0x3df) NRAW(" /* GPFIRST + 43 */") }, + { ARG_STR(0x3e0) }, + { ARG_STR(0xdeadc0de) }, + { (kernel_ulong_t) 0xbadc0dedfacefeedULL, +#if SIZEOF_LONG > 4 + "0xbadc0dedfacefeed" +#else + "0xfacefeed" +#endif + }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDADDIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDADDIO), iop_vecsi.str); + } + + + /* KDDELIO */ + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDDELIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDDELIO), iop_vecsi.str); + } + + + /* KDENABIO */ + sys_ioctl(-1, KDENABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDENABIO)); + + + /* KDDISABIO */ + sys_ioctl(-1, KDDISABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDDISABIO)); + + + /* KDSETMODE */ + static const struct arg_val mode_vecs = { + { ARG_XLAT_KNOWN(0, "KD_TEXT") }, + { ARG_XLAT_KNOWN(0x1, "KD_GRAPHICS") }, + { ARG_XLAT_KNOWN(0x3, "KD_TEXT1") }, + { ARG_XLAT_UNKNOWN(0x4, "KD_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + "0xcacafefe" NRAW(" /* KD_??? */") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + sys_ioctl(-1, KDSETMODE, mode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETMODE), mode_vecsi.str); + } + + + /* KDGETMODE */ + unsigned int *mode = tail_alloc(sizeof(*mode)); + + check_null_invalid(ARG_STR(KDGETMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + *mode = mode_vecsi.val; + rc = sys_ioctl(-1, KDGETMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode); + } + } + + + /* KDMAPDISP */ + sys_ioctl(-1, KDMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDMAPDISP)); + + + /* KDUNMAPDISP */ + sys_ioctl(-1, KDUNMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDUNMAPDISP)); + + + /* GIO_SCRNMAP */ + check_scrnmap(ARG_STR(GIO_SCRNMAP)); + + + /* PIO_SCRNMAP */ + check_scrnmap(ARG_STR(PIO_SCRNMAP)); + + + /* KDGKBMODE */ + static const struct arg_val kbmode_vecs = { + { ARG_XLAT_UNKNOWN(-1, "K_???") }, + { ARG_XLAT_KNOWN(0, "K_RAW") }, + { ARG_XLAT_KNOWN(1, "K_XLATE") }, + { ARG_XLAT_KNOWN(4, "K_OFF") }, + { ARG_XLAT_UNKNOWN(5, "K_???") }, + { (kernel_ulong_t) 0xbadc0dedfeeddeadULL, + XLAT_UNKNOWN(-17965395, "K_???") }, + }; + + check_null_invalid(ARG_STR(KDGKBMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + *mode = kbmode_vecsi.val; + rc = sys_ioctl(-1, KDGKBMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBMODE), kbmode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBMODE), mode); + } + } + + + /* KDSKBMODE */ + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + sys_ioctl(-1, KDSKBMODE, kbmode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMODE), kbmode_vecsi.str); + } + + + /* KDGKBENT */ + check_kbdent(ARG_STR(KDGKBENT)); + + + /* KDSKBENT */ + check_kbdent(ARG_STR(KDSKBENT)); + + + /* KDGKBSENT */ + check_kbdsent(ARG_STR(KDGKBSENT)); + + + /* KDSKBSENT */ + check_kbdsent(ARG_STR(KDSKBSENT)); + + + /* KDGKBDIACR */ + check_diacr(ARG_STR(KDGKBDIACR)); + + + /* KDSKBDIACR */ + check_diacr(ARG_STR(KDSKBDIACR)); + + + /* KDGETKEYCODE */ + check_xetkeycode(ARG_STR(KDGETKEYCODE)); + + + /* KDSETKEYCODE */ + check_xetkeycode(ARG_STR(KDSETKEYCODE)); + + + /* KDSIGACCEPT */ + static const struct { + kernel_ulong_t val; + const char *str; + } sigaccept_vecs = { + { (kernel_ulong_t) -1ULL, + SIZEOF_LONG == 8 ? "18446744073709551615" : "4294967295" }, + { 0, "0" }, + { ARG_XLAT_KNOWN(SIGHUP, "SIGHUP") }, + { ARG_XLAT_KNOWN(SIGUSR1, "SIGUSR1") }, + { ARG_XLAT_KNOWN(32, "SIGRTMIN") }, + { ARG_XLAT_KNOWN(33, "SIGRT_1") }, + { ARG_STR(128) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sigaccept_vecs); i++) { + sys_ioctl(-1, KDSIGACCEPT, sigaccept_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSIGACCEPT), sigaccept_vecsi.str); + } + + + /* KDKBDREP */ + check_kbdrep(ARG_STR(KDKBDREP)); + + + /* GIO_FONT */ + check_font(ARG_STR(GIO_FONT)); + + + /* PIO_FONT */ + check_font(ARG_STR(PIO_FONT)); + + + /* KDGKBMETA */ + static const struct { + kernel_ulong_t arg; + const char *str; + } meta_vecs = { + { ARG_XLAT_UNKNOWN(0, "K_???") }, + { ARG_XLAT_UNKNOWN(0x1, "K_???") }, + { ARG_XLAT_UNKNOWN(0x2, "K_???") }, + { ARG_XLAT_KNOWN(0x3, "K_METABIT") }, + { ARG_XLAT_KNOWN(0x4, "K_ESCPREFIX") }, + { ARG_XLAT_UNKNOWN(0x5, "K_???") }, + { (kernel_ulong_t) 0xdeadfacebeeffeedULL, + "0xbeeffeed" NRAW(" /* K_??? */") }, + }; + int *meta = tail_alloc(sizeof(*meta)); + + check_null_invalid(ARG_STR(KDGKBMETA)); + + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + *meta = meta_vecsi.arg; + sys_ioctl(-1, KDGKBMETA, (uintptr_t) meta); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_ARGS(KDGKBMETA)); +#if RETVAL_INJECTED + printf("%s", meta_vecsi.str); +#else + printf("%p", meta); +#endif + printf(") = " RETVAL); + } + + + /* KDSKBMETA */ + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + sys_ioctl(-1, KDSKBMETA, meta_vecsi.arg); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMETA), meta_vecsi.str); + } + + + /* KDGKBLED */ + static const struct arg_val kbled_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0x10, "LED_SCR<<4") }, + { ARG_XLAT_KNOWN(0x70, "LED_SCR<<4|LED_NUM<<4|LED_CAP<<4") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|LED_SCR<<4|LED_NUM<<4" + "|LED_CAP<<4|0x88") }, + { (kernel_ulong_t) 0xbadc0dedfeedfa88ULL, + XLAT_UNKNOWN(0x88, "LED_???") }, + }; + + unsigned char *kbleds = tail_alloc(sizeof(*kbleds)); + + check_null_invalid(ARG_STR(KDGKBLED)); + + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + *kbleds = kbled_vecsi.val; + rc = sys_ioctl(-1, KDGKBLED, (uintptr_t) kbleds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbled_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbleds); + } + } + + + /* KDSKBLED */ + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + sys_ioctl(-1, KDSKBLED, kbled_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBLED), kbled_vecsi.str); + } + + + /* GIO_UNIMAP */ + check_unimap(ARG_STR(GIO_UNIMAP)); + + + /* PIO_UNIMAP */ + check_unimap(ARG_STR(PIO_UNIMAP)); + + + /* PIO_UNIMAPCLR */ + struct unimapinit *umi = tail_alloc(sizeof(*umi)); + + check_null_invalid(ARG_STR(PIO_UNIMAPCLR)); + + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi + 2); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR), (char *) umi + 2); + + memset(umi, 0, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=0" + ", advised_hashstep=0, advised_hashlevel=0}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + fill_memory16(umi, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=32960" + ", advised_hashstep=32961, advised_hashlevel=32962}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + + /* GIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(GIO_UNISCRNMAP)); + + + /* PIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(PIO_UNISCRNMAP)); + + + /* GIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTRESET */ + sys_ioctl(-1, PIO_FONTRESET, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(PIO_FONTRESET)); + + + /* GIO_CMAP */ + check_cmap(ARG_STR(GIO_CMAP)); + + + /* PIO_CMAP */ + check_cmap(ARG_STR(PIO_CMAP)); + + + /* KDFONTOP */ + struct console_font_op *cfo = tail_alloc(sizeof(*cfo)); + unsigned char *cfo_data = tail_alloc(2048); + unsigned char *cfo_data_end = cfo_data + 2048; + + fill_memory(cfo_data, 2048); + + check_null_invalid(ARG_STR(KDFONTOP)); + + cfo->op = 4; + cfo->flags = 0xdeadbeef; + cfo->width = 0xbadc0ded; + cfo->height = 0xfacecafe; + cfo->charcount = 0xdadfaded; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0x4" NRAW(" /* KD_FONT_OP_??? */") + ", flags=" XLAT_KNOWN(0xdeadbeef, "KD_FONT_FLAG_DONT_RECALC" + "|KD_FONT_FLAG_OLD|0x5eadbeee") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP)); + + cfo->op = 0xbeefface; + cfo->flags = 0x5a1ecafe;; + cfo->data = (unsigned char *) cfo; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0xbeefface" + NRAW(" /* KD_FONT_OP_??? */") + ", flags=0x5a1ecafe" NRAW(" /* KD_FONT_FLAG_??? */") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP), cfo +#if RETVAL_INJECTED + , cfo +#endif + ); + + static const struct strval32 kdfont_ops = { + { ARG_XLAT_KNOWN(0, "KD_FONT_OP_SET") }, + { ARG_XLAT_KNOWN(0x1, "KD_FONT_OP_GET") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(kdfont_ops); i++) { + cfo->op = kdfont_opsi.val; + cfo->flags = 1; + cfo->width = 0; + cfo->height = 0; + cfo->charcount = 0; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=0, data=NULL}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC)); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=0, height=0, charcount=0" + ", data=NULL}"); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end; + for (size_t j = 0; j < 2; j++) { + cfo->charcount = j; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=%zu" + ", data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC), j); + if (kdfont_opsi.val == KD_FONT_OP_SET) + printf("\"\""); + else + printf("%p", cfo_data_end); +#if RETVAL_INJECTED + if (kdfont_opsi.val == KD_FONT_OP_GET) { + printf("} => {width=0, height=0, charcount=%zu" + ", data=\"\"", j); + } +#endif + printf("}) = " RETVAL); + + } + + cfo->flags = 0; + cfo->width = 1; + cfo->data = cfo_data_end - 31; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=%p}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + cfo_data_end - 31); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=1, height=0, charcount=1, data=%p}", + cfo_data_end - 31); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end - 32; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) + print_quoted_hex(cfo_data_end - 32, 32); + else + printf("%p", cfo_data_end - 32); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=1, data="); + print_quoted_hex(cfo_data_end - 32, 32); + + } + printf("}) = " RETVAL); + + cfo->charcount = 32; + cfo->data = cfo_data_end - 1023; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET && DEFAULT_STRLEN == 32) + { + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); + } else { + printf("%p", cfo_data_end - 1023); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); +#if DEFAULT_STRLEN == 32 + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); +#else + printf("%p", cfo_data_end - 1023); +#endif + + } + printf("}) = " RETVAL); + + cfo->data = cfo_data_end - 1024; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } else { + printf("%p", cfo_data_end - 1024); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } + printf("}) = " RETVAL); + + cfo->charcount = 256; + cfo->data = cfo_data_end - 1025; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=256, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", cfo_data_end - 1025); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=256, data="); + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + + } + printf("}) = " RETVAL); + } + + cfo->op = 2; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data = cfo_data_end - 1; + cfo->data0 = '\0'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=\"\"}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data0 = 'x'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + cfo_data_end - 1); + + cfo->width = 0xcafebeef; + cfo->height = 0xbea7bee5; + cfo->data = cfo_data_end - 32; + strcpy((char *) cfo->data, + "\1\2\3\r\n\t\v\f\\\"OH\377HAI\7\10\02101234567890x"); + for (size_t j = 0; j < 2; j++) { + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT + ", width=3405692655, height=3198664421, data=\"\\1\\2\\3" + "\\r\\n\\t\\v\\f\\\\\\\"OH\\377HAI\\7\\10\\0210123456789" + "0x\"%s}" +#if RETVAL_INJECTED + " => {width=3405692655, height=3198664421}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + j ? "..." : ""); + + cfo->data31 = 'y'; + } + + cfo->op = 3; + cfo->height = 0; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", height=0}) = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_COPY)); + + + /* KDGKBDIACRUC */ + check_diacruc(ARG_STR(KDGKBDIACRUC)); + + + /* KDSKBDIACRUC */ + check_diacruc(ARG_STR(KDSKBDIACRUC)); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_kd.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd +ioctl.test -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_lirc-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_lirc.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_lirc-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc-success +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_lirc.c
Added
@@ -0,0 +1,206 @@ +/* + * Check LIRC_* ioctl decoding + * + * Copyright (C) 2022 Sean Young <sean@mess.org> + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <sys/ioctl.h> +#include <linux/lirc.h> + +static const char *errstr; + +static long +do_ioctl(kernel_ulong_t cmd, unsigned int *arg) +{ + long rc = ioctl(-1, cmd, arg); + + errstr = sprintrc(rc); + +#ifdef INJECT_RETVAL + if (rc != INJECT_RETVAL) + error_msg_and_fail("Got a return value of %ld != %ld", + rc, (long) INJECT_RETVAL); + + static char inj_errstr4096; + + snprintf(inj_errstr, sizeof(inj_errstr), "%s (INJECTED)", errstr); + errstr = inj_errstr; +#endif + + return rc; +} + +int +main(int argc, char *argv) +{ +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + long ret = ioctl(-1, LIRC_GET_FEATURES, 0); + + printf("ioctl(-1, LIRC_GET_FEATURES, NULL) = %s%s\n", + sprintrc(ret), + ret == INJECT_RETVAL ? " (INJECTED)" : ""); + + if (ret != INJECT_RETVAL) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Hasn't locked on ioctl(-1" + ", LIRC_GET_FEATURES, NULL) returning %d", + INJECT_RETVAL); +#endif + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, value); + + *value = 12000; + do_ioctl(LIRC_SET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT, 12000) = %s\n", errstr); + + *value = 1; + do_ioctl(LIRC_SET_WIDEBAND_RECEIVER, value); + printf("ioctl(-1, LIRC_SET_WIDEBAND_RECEIVER, 1) = %s\n", errstr); + + *value = 0; + do_ioctl(LIRC_SET_MEASURE_CARRIER_MODE, value); + printf("ioctl(-1, LIRC_SET_MEASURE_CARRIER_MODE, 0) = %s\n", errstr); + + *value = 4294967295; + do_ioctl(LIRC_SET_REC_TIMEOUT_REPORTS, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT_REPORTS, 4294967295) = %s\n", + errstr); + + *value = 33; + do_ioctl(LIRC_SET_SEND_DUTY_CYCLE, value); + printf("ioctl(-1, LIRC_SET_SEND_DUTY_CYCLE, 33) = %s\n", errstr); + + *value = 38000; + do_ioctl(LIRC_SET_SEND_CARRIER, value); + printf("ioctl(-1, LIRC_SET_SEND_CARRIER, 38000) = %s\n", errstr); + + *value = 20000; + do_ioctl(LIRC_SET_REC_CARRIER, value); + printf("ioctl(-1, LIRC_SET_REC_CARRIER, 20000) = %s\n", errstr); + + *value = 40000; + do_ioctl(LIRC_SET_REC_CARRIER_RANGE, value); + printf("ioctl(-1, IPMICTL_SET_MAINTENANCE_MODE_CMD or " + "LIRC_SET_REC_CARRIER_RANGE, 40000) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 8; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_SCANCODE) = %s\n", + errstr); + + *value = 4; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_MODE2) = %s\n", + errstr); + + *value = 16; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_LIRCCODE) = %s\n", + errstr); + + *value = 3; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, 0x3 /* LIRC_MODE_??? */) = %s\n", + errstr); + + *value = 31; + do_ioctl(LIRC_SET_TRANSMITTER_MASK, value); + printf("ioctl(-1, LIRC_SET_TRANSMITTER_MASK, 0x1f) = %s\n", + errstr); + + /* read ioctls */ + +#ifdef INJECT_RETVAL + + *value = LIRC_CAN_SEND_PULSE | LIRC_CAN_SET_SEND_DUTY_CYCLE | + LIRC_CAN_GET_REC_RESOLUTION | LIRC_CAN_USE_WIDEBAND_RECEIVER | + 0x008000000; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, LIRC_CAN_SEND_PULSE" + "|LIRC_CAN_SET_SEND_DUTY_CYCLE|LIRC_CAN_USE_WIDEBAND_RECEIVER" + "|LIRC_CAN_GET_REC_RESOLUTION|0x8000000) = %s\n", + errstr); + + *value = 0; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, 0) = %s\n", + errstr); + + *value = 1; + do_ioctl(LIRC_GET_REC_MODE, value); + printf("ioctl(-1, LIRC_GET_REC_MODE, LIRC_MODE_RAW) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_GET_SEND_MODE, value); + printf("ioctl(-1, LIRC_GET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 120; + do_ioctl(LIRC_GET_REC_RESOLUTION, value); + printf("ioctl(-1, LIRC_GET_REC_RESOLUTION, 120) = %s\n", + errstr); + + *value = 120000; + do_ioctl(LIRC_GET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_REC_TIMEOUT, 120000) = %s\n", + errstr); + + *value = 1100; + do_ioctl(LIRC_GET_MIN_TIMEOUT, value); + printf("ioctl(-1, I2OVALIDATE or LIRC_GET_MIN_TIMEOUT, 1100) = %s\n", + errstr); + + *value = 10100; + do_ioctl(LIRC_GET_MAX_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_MAX_TIMEOUT, 10100) = %s\n", + errstr); + + *value = 15; + do_ioctl(LIRC_GET_LENGTH, value); + printf("ioctl(-1, LIRC_GET_LENGTH, 15) = %s\n", + errstr); + + do_ioctl(LIRC_GET_FEATURES, value + 1); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value + 1, errstr); + +#else + + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value, errstr); + +#endif + + do_ioctl(_IO('i', 0xff), value); + printf("ioctl(-1, _IOC(_IOC_NONE, 0x69, 0xff, 0), %p) = %s\n", + value, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_lirc.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_perf.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of PERF_EVENT_IOC_* commands of ioctl syscall. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -198,7 +198,8 @@ "PERF_SAMPLE_TRANSACTION|PERF_SAMPLE_REGS_INTR|" "PERF_SAMPLE_DATA_PAGE_SIZE|PERF_SAMPLE_CODE_PAGE_SIZE|" "0xc2c3c4c5c6000000" - ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|0xcacbcccdcecfd0d0" + ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_LOST|" + "0xcacbcccdcecfd0c0" ", disabled=1, inherit=1, exclusive=1, exclude_hv=1, mmap=1" ", comm=1, inherit_stat=1, watermark=1" ", precise_ip=3 /* must have 0 skid */, mmap_data=1"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success +ioctl-success.sh -a29); do not edit. +set -- -a29 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_ptp.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp.c
Changed
@@ -2,18 +2,20 @@ * Check decoding of PTP_* commands of ioctl syscall. * * Copyright (c) 2018 Harsha Sharma <harshasharmaiitr@gmail.com> - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" +#include "scno.h" #include <fcntl.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <linux/ptp_clock.h> @@ -21,119 +23,613 @@ #include "xlat.h" #include "xlat/ptp_extts_flags.h" #include "xlat/ptp_perout_flags.h" +#include "xlat/ptp_pin_funcs.h" + + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +#if STRACE_SIZEOF_KERNEL_LONG_T == SIZEOF_KERNEL_LONG_T +# define SAFE_TIME_T(t_) t_ +#else +# define SAFE_TIME_T(t_) ((time_t) (t_)) +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ +#ifdef INJECT_RETVAL + static char buf256; +#endif + const long rc = syscall(__NR_ioctl, fd, cmd, arg); +#ifdef INJECT_RETVAL + snprintf(buf, sizeof(buf), "%s (INJECTED)", sprintrc(rc)); + errstr = buf; +#else + errstr = sprintrc(rc); +#endif + return rc; +} static void -test_no_device(void) +print_lltime(const long long sec, const unsigned long long nsec) { - const char *errstr; +#if !XLAT_RAW + if ((time_t) sec != sec) + return; - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); - fill_memory(caps, sizeof(*caps)); + print_time_t_nsec(sec, nsec, 1); +#endif +} - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); - fill_memory(sysoff, sizeof(*sysoff)); +static void +check_bad_ptr(const uint32_t ioc_val, const char *const ioc_str, + const void *const p, const size_t sz) +{ + sys_ioctl(-1, ioc_val, (uintptr_t) NULL); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(ioc_val, ioc_str), errstr); - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); - fill_memory(extts, sizeof(*extts)); + sys_ioctl(-1, ioc_val, (uintptr_t) p + sz); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + sz, errstr); + sys_ioctl(-1, ioc_val, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + 1, errstr); +} + +static void +test_no_device(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_extended, soext); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_precise, soprec); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_perout_request, perout); - fill_memory(perout, sizeof(*perout)); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_pin_desc, pindesc); + long rc; + + /* unrecognized */ + static const uint8_t unk_nums = { 0, 19, 20, 255 }; + + for (const uint8_t *p = unk_nums; p < ARRAY_END(unk_nums); p++) { + for (uint16_t sz = 0; sz < 1280; sz += 8) { + static const struct strval32 dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + for (const struct strval32 *d = dirs; + d < ARRAY_END(dirs); d++) { + uint32_t ioc = + _IOC(d->val, PTP_CLK_MAGIC, *p, sz); + sys_ioctl(-1, ioc, 0); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", 0) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + errstr); + + /* soprec is the biggest var, at 1216 bytes */ + sys_ioctl(-1, ioc, (uintptr_t) soext); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", %p) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + soext, errstr); + } + } + } + + /* PTP_CLOCK_GETCAPS{,2} */ + static const struct strval32 ioc_caps = { + { ARG_STR(PTP_CLOCK_GETCAPS) }, + { ARG_STR(PTP_CLOCK_GETCAPS2) }, + }; + for (const struct strval32 *c = ioc_caps; c < ARRAY_END(ioc_caps); c++) + { + check_bad_ptr(c->val, c->str, caps, sizeof(*caps)); + + memset(caps, 0, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=0, n_alarm=0, n_ext_ts=0, n_per_out=0" + ", pps=0, n_pins=0, cross_timestamping=0" + ", adjust_phase=0}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + + fill_memory32(caps, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=-2136948512, n_alarm=-2136948511" + ", n_ext_ts=-2136948510, n_per_out=-2136948509" + ", pps=-2136948508, n_pins=-2136948507" + ", cross_timestamping=-2136948506" + ", adjust_phase=-2136948505" + ", rsv=0x80a0c0e8, 0x80a0c0e9, 0x80a0c0ea" + ", 0x80a0c0eb, 0x80a0c0ec, 0x80a0c0ed" + ", 0x80a0c0ee, 0x80a0c0ef, 0x80a0c0f0" + ", 0x80a0c0f1, 0x80a0c0f2, 0x80a0c0f3}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + } + + /* PTP_EXTTS_REQUEST{,2} */ + static const struct strval32 ioc_extts = { + { ARG_STR(PTP_EXTTS_REQUEST) }, + { ARG_STR(PTP_EXTTS_REQUEST2) }, + }; + static const struct strval32 extts_flags = { + { ARG_XLAT_KNOWN(0x1, "PTP_ENABLE_FEATURE") }, + { ARG_XLAT_KNOWN(0xdeadbabe, "PTP_RISING_EDGE|PTP_FALLING_EDGE" + "|PTP_STRICT_FLAGS|0xdeadbab0") }, + { ARG_XLAT_UNKNOWN(0xbadbeef0, "PTP_???") }, + { ARG_STR(0) }, + }; + for (const struct strval32 *c = ioc_extts; c < ARRAY_END(ioc_extts); + c++) { + check_bad_ptr(c->val, c->str, extts, sizeof(*extts)); - /* PTP_CLOCK_GETCAPS */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, %p) = %s\n", caps, errstr); + memset(extts, 0, sizeof(*extts)); + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); - /* PTP_SYS_OFFSET */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + extts->index = 3141592653; + for (size_t i = 0; i < ARRAY_SIZE(extts_flags); i++) { + extts->flags = extts_flagsi.val; + extts->rsv0 = i & 1 ? 0xdeadc0de : 0; + extts->rsv1 = i & 2 ? 0xcafebeef : 0; + + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=3141592653" + ", flags=%s", + XLAT_SEL(c->val, c->str), extts_flagsi.str); + if (c->val == PTP_EXTTS_REQUEST2 && (i & 3)) { + printf(", rsv=%#x, %#x", + i & 1 ? 0xdeadc0de : 0, + i & 2 ? 0xcafebeef : 0); + } + printf("}) = %s\n", errstr); + + } + } + + /* PTP_PEROUT_REQUEST{,2} */ + static const struct strval32 ioc_perout = { + { ARG_STR(PTP_PEROUT_REQUEST) }, + { ARG_STR(PTP_PEROUT_REQUEST2) }, + }; + static const struct perout_flags { + uint32_t is_phase :1, + is_duty_cycle :1; + uint32_t flags; + const char *str; + } perout_flags = { + { false, false, ARG_STR(0) }, + { false, false, ARG_XLAT_KNOWN(0x1, "PTP_PEROUT_ONE_SHOT") }, + { false, true, ARG_XLAT_KNOWN(0x3, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_DUTY_CYCLE") }, + { true, false, + ARG_XLAT_KNOWN(0xc0dedbad, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_PHASE|0xc0dedba8") }, + { true, true, + ARG_XLAT_KNOWN(0xdeadbeef, + "PTP_PEROUT_ONE_SHOT|PTP_PEROUT_DUTY_CYCLE" + "|PTP_PEROUT_PHASE|0xdeadbee8") }, + { false, false, ARG_XLAT_UNKNOWN(0xdeadbea8, "PTP_PEROUT_???") } + }; + for (const struct strval32 *c = ioc_perout; c < ARRAY_END(ioc_perout); + c++) { + check_bad_ptr(c->val, c->str, perout, sizeof(*perout)); + + memset(perout, 0, sizeof(*perout)); + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {start={sec=0, nsec=0}" + ", period={sec=0, nsec=0}, index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(perout_flags); i++) { + perout->start.sec = SAFE_TIME_T(0x123456789ULL); + perout->start.nsec = i & 1 ? 1234567890 : 123456789; + perout->start.reserved = i & 2 ? 2718281828 : 0; + perout->period.sec = 0xabcdef; + perout->period.nsec = i & 1 ? 123456789 : 0; + perout->period.reserved = i & 2 ? 0 : 2345678901; + perout->index = 3141592653U; + perout->flags= perout_flagsi.flags; + perout->on.sec = i & 3 ? 0xabcdef0123456789ULL : 0; + perout->on.nsec = i & 2 ? 123456789 : 0; + perout->on.reserved = i & 4 ? 2345678901U : 0; + + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {%s={sec=%lld" + ", nsec=%u%s}", + XLAT_SEL(c->val, c->str), + perout_flagsi.is_phase ? "phase" : "start", + (long long) perout->start.sec, + i & 1 ? 1234567890 : 123456789, + i & 2 ? ", reserved=0xa205b064" : ""); + if (!perout_flagsi.is_phase) { + print_lltime(perout->start.sec, + perout->start.nsec); + } + printf(", period={sec=11259375, nsec=%u%s}" + ", index=3141592653, flags=%s", + i & 1 ? 123456789 : 0, + i & 2 ? "" : ", reserved=0x8bd03835", + perout_flagsi.str); + if (perout_flagsi.is_duty_cycle) { + printf(", on={sec=%lld, nsec=%u%s}", + i & 3 ? 0xabcdef0123456789ULL : 0, + i & 2 ? 123456789 : 0, + i & 4 ? ", reserved=0x8bd03835" : ""); + } else if (i && c->val == PTP_PEROUT_REQUEST2) { + printf(", rsv=%#x, %#x, %#x, %#x", + i & 3 ? BE_LE(0xabcdef01, 0x23456789) : 0, + i & 3 ? BE_LE(0x23456789, 0xabcdef01) : 0, + i & 2 ? 123456789 : 0, + i & 4 ? 2345678901U : 0); + } + printf("}) = %s\n", errstr); + } + } /* PTP_ENABLE_PPS */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST" - ", {start={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t) perout->start.sec, perout->start.nsec); - print_time_t_nsec(perout->start.sec, perout->start.nsec, 1); - printf(", period={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t)perout->period.sec, perout->period.nsec); - print_time_t_nsec(perout->period.sec, perout->period.nsec, 1); - printf(", index=%d, flags=", perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_CLOCK_GETCAPS2 */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, %p) = %s\n", caps, errstr); - - /* PTP_SYS_OFFSET2 */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET2, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, -1); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), (long int) -1, errstr); /* PTP_ENABLE_PPS2 */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, {start={sec=%" PRId64 - ", nsec=%" PRIu32 "}, period={sec=%" PRId64 ", nsec=%" PRIu32 "}" - ", index=%d, flags=", - (int64_t) perout->start.sec, perout->start.nsec, - (int64_t)perout->period.sec, perout->period.nsec, perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, -123456789); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), (long int) -123456789, errstr); - /* unrecognized */ - ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); - printf("ioctl(-1, _IOC(_IOC_READ, %#x, 0xff, 0xfe), 0) = %s\n", - PTP_CLK_MAGIC, errstr); - - const unsigned long arg = (unsigned long) 0xfacefeeddeadbeefULL; - ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); - printf("ioctl(-1, _IOC(_IOC_WRITE, %#x, 0xfd, 0xfc), %#lx)" - " = %s\n", PTP_CLK_MAGIC, arg, errstr); + /* PTP_SYS_OFFSET{,2} */ + static const struct strval32 ioc_sysoff = { + { ARG_STR(PTP_SYS_OFFSET) }, + { ARG_STR(PTP_SYS_OFFSET2) }, + }; + for (const struct strval32 *c = ioc_sysoff; c < ARRAY_END(ioc_sysoff); + c++) { + check_bad_ptr(c->val, c->str, sysoff, sizeof(*sysoff)); + + memset(sysoff, 0, sizeof(*sysoff)); + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts={sec=0, nsec=0}" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + sysoff->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + sysoff->rsv0 = i & 1 ? 0xbadfaced : 0; + sysoff->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < 2 * PTP_MAX_SAMPLES + 1; j++) { + sysoff->tsj.sec = SAFE_TIME_T(2345678901U + j); + sysoff->tsj.nsec = 999999999 - i * 12 + j; + sysoff->tsj.reserved = j & 1 ? 0xdeadface : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu%s%s%s%s", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1, + i & 3 ? ", rsv=" : "", + i & 3 ? i & 1 ? "0xbadfaced" : "0" : "", + i & 3 ? ", 0, " : "", + i & 3 ? i & 2 ? "0xcafeface" : "0" : ""); + if (rc >= 0) { + for (size_t j = 0; + j < MIN(i * 24 + 3, + XLAT_RAW || XLAT_VERBOSE ? 51 + : 32); + j++) { + printf("%s{sec=%lld, nsec=%u%s}", + j ? ", " : ", ts=", + (long long) sysoff->tsj.sec, + sysoff->tsj.nsec, + j & 1 ? ", reserved=0xdeadface" + : ""); + print_lltime(sysoff->tsj.sec, + sysoff->tsj.nsec); + } + printf("%s", + XLAT_RAW || XLAT_VERBOSE || i < 2 + ? "" : ", ..."); + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_PIN_GSETFUNC{,2} */ + static const struct ioc_pin { + uint32_t is_get :1, + is_v2 :1; + uint32_t val; + const char *str; + } ioc_pin = { + { true, false, ARG_STR(PTP_PIN_GETFUNC) }, + { true, true, ARG_STR(PTP_PIN_GETFUNC2) }, + { false, false, ARG_STR(PTP_PIN_SETFUNC) }, + { false, true, ARG_STR(PTP_PIN_SETFUNC2) }, + }; + static const struct strval32 pin_funcs = { + { ENUM_KNOWN(0x1, PTP_PF_EXTTS) }, + { ENUM_KNOWN(0x3, PTP_PF_PHYSYNC) }, + { ARG_XLAT_UNKNOWN(0x4, "PTP_PF_???") }, + { ARG_XLAT_UNKNOWN(0xdeadcafe, "PTP_PF_???") }, + }; + for (const struct ioc_pin *c = ioc_pin; c < ARRAY_END(ioc_pin); c++) { + check_bad_ptr(c->val, c->str, pindesc, sizeof(*pindesc)); + + memset(pindesc, 0, sizeof(*pindesc)); + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=0", + XLAT_SEL(c->val, c->str)); + if (rc >= 0 || !c->is_get) { + printf("%s, func=" XLAT_FMT ", chan=0", + c->is_get ? ", name=\"\"" : "", + XLAT_ARGS(PTP_PF_NONE)); + } + printf("}) = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(pin_funcs); i++) { + memcpy(pindesc->name, + i & 1 ? "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17" + "OH HAI THAR\176\177\377\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + : "abcdefghijklmnopqrstuvwxyz0123456789" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", + sizeof(pindesc->name)); + pindesc->index = 0xcafebabeU; + pindesc->func = pin_funcsi.val; + pindesc->chan = 0xfeedbeefU; + pindesc->rsv0 = i & 1 ? 0xbadc0ded : 0; + pindesc->rsv4 = i & 2 ? 0 : 0xdadfaced; + + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=3405691582", + XLAT_SEL(c->val, c->str)); + if (c->is_get && c->is_v2 && (i & 3) != 2) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + if (rc >= 0 || !c->is_get) { + if (c->is_get) { + printf(", name=\"%s", + i & 1 ? "\\1\\2\\3\\4\\5\\6\\7" + "\\10\\t\\n\\v\\f\\r\\16" + "\\17OH HAI THAR~\\177" + "\\377\"" + : "abcdefghijklmnopqrstuvw" + "xyz0123456789ABCDEFGHIJ" + "KLMNOPQRSTUVWXYZ0\"" + "..."); + } + printf(", func=%s, chan=4276993775", + pin_funcsi.str); + if (!c->is_get && c->is_v2 + && ((i & 1) || !(i & 2))) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_PRECISE{,2} */ + static const struct strval32 ioc_soprec = { + { ARG_STR(PTP_SYS_OFFSET_PRECISE) }, + { ARG_STR(PTP_SYS_OFFSET_PRECISE2) }, + }; + static const struct ptp_clock_time ts_vecs = { + { 0, 123456789 }, + { 0x23456789, 0, 0xdeadface }, + { SAFE_TIME_T(0x123456789ab), 1234567890 }, + { SAFE_TIME_T(0x123456789abcd), 987654321, 0x1 }, + }; + for (const struct strval32 *c = ioc_soprec; c < ARRAY_END(ioc_soprec); + c++) { + check_bad_ptr(c->val, c->str, soprec, sizeof(*soprec)); + + memset(soprec, 0, sizeof(*soprec)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=0, nsec=0}" + ", sys_realtime={sec=0, nsec=0}" + ", sys_monoraw={sec=0, nsec=0}}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ts_vecs); i++) { + soprec->device = ts_vecsi; + soprec->sys_realtime = ARR_ITEM(ts_vecs, i + 1); + soprec->sys_monoraw = ARR_ITEM(ts_vecs, i + 2); + soprec->rsv0 = i & 1 ? 0 : 0xbadfaced; + soprec->rsv3 = i & 2 ? 0 : 0xdeadbeef; + + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=%lld, nsec=%u", + (long long) ts_vecsi.sec, + ts_vecsi.nsec); + if (i & 1) { + printf(", reserved=%#x", + ts_vecsi.reserved); + } + printf("}"); + print_lltime(ts_vecsi.sec, ts_vecsi.nsec); + printf(", sys_realtime={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + if (!(i & 1)) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 1).reserved + ); + } + printf("}"); + print_lltime(ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + printf(", sys_monoraw={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 2).sec, + ARR_ITEM(ts_vecs, i + 2).nsec); + if (i & 1) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 2).reserved + ); + } + printf("}"); + if ((i & 3) != 3) { + printf(", rsv=%#x, 0, 0, %#x", + i & 1 ? 0 : 0xbadfaced, + i & 2 ? 0 : 0xdeadbeef); + } + printf("}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_EXTENDED{,2} */ + static const struct strval32 ioc_soext = { + { ARG_STR(PTP_SYS_OFFSET_EXTENDED) }, + { ARG_STR(PTP_SYS_OFFSET_EXTENDED2) }, + }; + for (const struct strval32 *c = ioc_soext; c < ARRAY_END(ioc_soext); + c++) { + check_bad_ptr(c->val, c->str, soext, sizeof(*soext)); + + memset(soext, 0, sizeof(*soext)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts=" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + soext->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + soext->rsv0 = i & 1 ? 0xbadfaced : 0; + soext->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < PTP_MAX_SAMPLES; j++) { + soext->tsj0.sec = + SAFE_TIME_T(2345678901U + j); + soext->tsj0.nsec = 999999999 - i * 12 + j; + soext->tsj0.reserved = j & 1 ? 0xbee : 0; + + soext->tsj1.sec = + SAFE_TIME_T(-123456780123L + j); + soext->tsj1.nsec = -(i * 12) + j; + soext->tsj1.reserved = j & 2 ? 0xface : 0; + + soext->tsj2.sec = + SAFE_TIME_T(j * (1 << 30)); + soext->tsj2.nsec = j * (1 << 29); + soext->tsj2.reserved = j & 4 ? 0xbabe : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1); + if (i & 3) { + printf(", rsv=%#x, 0, %#x", + i & 1 ? 0xbadfaced : 0, + i & 2 ? 0xcafeface : 0); + } + if (rc >= 0) { + for (size_t j = 0; j < MIN(i * 12 + 1, 25); j++) + { + printf("%s", j ? ", " : ", ts="); + for (size_t k = 0; k < 3; k++) { + printf("%s{sec=%lld, nsec=%u", + k ? ", " : "", + (long long) soext->tsjk.sec, + soext->tsjk.nsec); + if (soext->tsjk.reserved) + printf(", reserved=%#x", + soext->tsjk + .reserved); + printf("}"); + print_lltime( + soext->tsjk.sec, + soext->tsjk.nsec); + } + } + printf(""); + } + printf("}) = %s\n", errstr); + } + } } int -main(void) +main(int argc, char *argv) { +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, PTP_CLOCK_GETCAPS, 0); + printf("ioctl(-1, %s, NULL) = %s%s\n", + XLAT_STR(PTP_CLOCK_GETCAPS), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", PTP_CLOCK_GETCAPS, NULL) returning 42"); + } +#endif /* INJECT_RETVAL */ + test_no_device(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_ptp.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_ptp.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test ); do not edit. -set -- +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test -a29); do not edit. +set -- -a29 . "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_rtc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_rtc.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of RTC ioctl commands. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,30 @@ #include <linux/types.h> #include <linux/rtc.h> +#ifndef RTC_VL_READ +# define RTC_VL_READ _IOR('p', 0x13, unsigned int) +#endif +#ifndef RTC_VL_CLR +# define RTC_VL_CLR _IO ('p', 0x14) +#endif + +#ifndef RTC_PARAM_GET +struct rtc_param { + __u64 param; + union { + __u64 uvalue; + __s64 svalue; + __u64 ptr; + }; + __u32 index; + __u32 __pad; +}; +# define RTC_PARAM_GET _IOW('p', 0x13, struct rtc_param) +#endif /* !TC_PARAM_GET */ +#ifndef RTC_PARAM_SET +# define RTC_PARAM_SET _IOW('p', 0x14, struct rtc_param) +#endif + static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; static const char *errstr; @@ -105,9 +129,7 @@ { ARG_STR(RTC_PIE_ON) }, { RTC_UIE_OFF, "PHN_NOT_OH or RTC_UIE_OFF" }, { ARG_STR(RTC_UIE_ON) }, -#ifdef RTC_VL_CLR { ARG_STR(RTC_VL_CLR), }, -#endif { ARG_STR(RTC_WIE_OFF) }, { ARG_STR(RTC_WIE_ON) }, }, long_cmds = { @@ -125,9 +147,7 @@ { ARG_STR(RTC_PLL_SET) }, { ARG_STR(RTC_RD_TIME) }, { ARG_STR(RTC_SET_TIME) }, -#ifdef RTC_VL_READ { ARG_STR(RTC_VL_READ) }, -#endif { ARG_STR(RTC_WKALM_RD) }, { ARG_STR(RTC_WKALM_SET) }, }, r_time_cmds = { @@ -253,21 +273,147 @@ } } -#ifdef RTC_VL_READ + static const struct strval32 vl_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x10, "RTC_VL_BACKUP_SWITCH") }, + { ARG_XLAT_KNOWN(0xbeef, "RTC_VL_DATA_INVALID" + "|RTC_VL_BACKUP_LOW" + "|RTC_VL_BACKUP_EMPTY" + "|RTC_VL_ACCURACY_LOW|0xbee0") }, + { ARG_XLAT_UNKNOWN(0xbadc0de0, "RTC_VL_???") }, + }; TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, pint); - *pint = 1U << 4; - if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { - printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", pint, errstr); - } else { - printf("ioctl(-1, RTC_VL_READ, RTC_VL_BACKUP_SWITCH) = %s\n", - errstr); + for (size_t i = 0; i < ARRAY_SIZE(vl_vecs); i++) { + *pint = vl_vecsi.val; + + if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { + printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", + pint, errstr); + } else { + printf("ioctl(-1, RTC_VL_READ, %s) = %s\n", + vl_vecsi.str, errstr); + } } -#endif do_ioctl(_IO(0x70, 0x40), lmagic); printf("ioctl(-1, %s, %#lx) = %s\n", "NVRAM_INIT", lmagic, errstr); + static const struct strval32 param_cmds = { + { ARG_STR(RTC_PARAM_GET) }, + { ARG_STR(RTC_PARAM_SET) }, + }; + static const struct { + struct rtc_param val; + const char *get_in; + const char *get_out; + const char *set; + } param_vecs = { + { { 0 }, + "{param=RTC_PARAM_FEATURES, index=0}", + "{uvalue=0}", + "{param=RTC_PARAM_FEATURES, uvalue=0, index=0}" }, + { { .param = 0, .uvalue = (__u64) 0xdeadfacebeeffeedULL, + .index= 0xfacecafe, .__pad = 0xbadc0ded }, + "{param=RTC_PARAM_FEATURES, index=4207856382" + ", __pad=0xbadc0ded}", + "{uvalue=1<<RTC_FEATURE_ALARM|1<<RTC_FEATURE_NEED_WEEK_DAY" + "|1<<RTC_FEATURE_ALARM_RES_2S|1<<RTC_FEATURE_CORRECTION" + "|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", __pad=0xbadc0ded}", + "{param=RTC_PARAM_FEATURES, uvalue=1<<RTC_FEATURE_ALARM" + "|1<<RTC_FEATURE_NEED_WEEK_DAY|1<<RTC_FEATURE_ALARM_RES_2S" + "|1<<RTC_FEATURE_CORRECTION|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", index=4207856382, __pad=0xbadc0ded}" }, + { { .param = 0, .uvalue = 0xbeef00, .__pad = 1 }, + "{param=RTC_PARAM_FEATURES, index=0, __pad=0x1}", + "{uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, __pad=0x1}", + "{param=RTC_PARAM_FEATURES" + ", uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, index=0" + ", __pad=0x1}" }, + { { .param = 1 }, + "{param=RTC_PARAM_CORRECTION, index=0}", + "{svalue=0}", + "{param=RTC_PARAM_CORRECTION, svalue=0, index=0}" }, + { { .param = 1, .svalue = (__s64) 0xfacefeeddeadcafeULL, + .index = 0xdeffaced, .__pad = 0xcafeface }, + "{param=RTC_PARAM_CORRECTION, index=3741297901" + ", __pad=0xcafeface}", + "{svalue=-374081421428536578, __pad=0xcafeface}", + "{param=RTC_PARAM_CORRECTION, svalue=-374081421428536578" + ", index=3741297901, __pad=0xcafeface}" }, + { { .param = 1, .svalue = -1337, .index = 0x42 }, + "{param=RTC_PARAM_CORRECTION, index=66}", + "{svalue=-1337}", + "{param=RTC_PARAM_CORRECTION, svalue=-1337, index=66}" }, + { { .param = 2 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0}", + "{uvalue=RTC_BSM_DISABLED}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_DISABLED" + ", index=0}" }, + { { .param = 2, .uvalue = 3, .index = 0xdecaffed, + .__pad = 0xfacebeef }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=3737845741" + ", __pad=0xfacebeef}", + "{uvalue=RTC_BSM_STANDBY, __pad=0xfacebeef}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_STANDBY" + ", index=3737845741, __pad=0xfacebeef}" }, + { { .param = 2, .uvalue = 4, .__pad = 23 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0, __pad=0x17}", + "{uvalue=0x4 /* RTC_BSM_??? */, __pad=0x17}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0x4 /* RTC_BSM_??? */, index=0, __pad=0x17}" }, + { { .param = 2, .uvalue = (__u64) 0xface1e55beefcafeULL, + .index = 42 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=42}", + "{uvalue=0xface1e55beefcafe /* RTC_BSM_??? */}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0xface1e55beefcafe /* RTC_BSM_??? */" + ", index=42}" }, + { { .param = 3 }, + "{param=0x3 /* RTC_PARAM_??? */, index=0}", + "{uvalue=0}", + "{param=0x3 /* RTC_PARAM_??? */, uvalue=0, index=0}" }, + { { .param = (__u64) 0xbeeffacedeadc0deULL, + .uvalue = (__u64) 0xdefc0dedbadfacedULL, + .index = 3141592653, .__pad = 2718281828 }, + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", index=3141592653, __pad=0xa205b064}", + "{uvalue=0xdefc0dedbadfaced, __pad=0xa205b064}", + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", uvalue=0xdefc0dedbadfaced, index=3141592653" + ", __pad=0xa205b064}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct rtc_param, pparam); + + for (size_t i = 0; i < ARRAY_SIZE(param_cmds); i++) { + do_ioctl(param_cmdsi.val, 0); + printf("ioctl(-1, %s, NULL) = %s\n", + param_cmdsi.str, errstr); + + do_ioctl_ptr(param_cmdsi.val, pparam + 1); + printf("ioctl(-1, %s, %p) = %s\n", + param_cmdsi.str, pparam + 1, errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(param_vecs); i++) { + *pparam = param_vecsi.val; + + int ret = do_ioctl_ptr(RTC_PARAM_GET, pparam); + printf("ioctl(-1, RTC_PARAM_GET, %s => ", param_vecsi.get_in); + if (ret < 0) + printf("%p", pparam); + else + printf("%s", param_vecsi.get_out); + printf(") = %s\n", errstr); + + do_ioctl_ptr(RTC_PARAM_SET, pparam); + printf("ioctl(-1, RTC_PARAM_SET, %s) = %s\n", + param_vecsi.set, errstr); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48); do not edit. +. "${srcdir=.}/init.sh" +test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-success +ioctl-success.sh -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev); do not edit. +set -- -a42 -y -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw); do not edit. +set -- -a27 -y -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose); do not edit. +set -- -a59 -y -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success +ioctl-success.sh -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATHS 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y +ioctl.test -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp.c
Added
@@ -0,0 +1,482 @@ +/* + * Check decoding of SECCOMP_IOCTL_* commands of ioctl syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com>. + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include "pidns.h" +#include "scno.h" + +#include <errno.h> +#include <fcntl.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include "kernel_fcntl.h" + +#include <linux/ioctl.h> +#include <linux/seccomp.h> + +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif +#ifndef PRINT_PATHS +# define PRINT_PATHS 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char null_path = "/dev/null"; +static const char zero_path = "/dev/zero"; + +#define NULL_FD 0 +#define ZERO_FD 42 + +#if PRINT_PATHS +# define PATH_FMT "<%s>" +#else +# define PATH_FMT "%s" +#endif + +/** + * Generate an ioctl command with a different direction based + * on the existing one. + */ +#define IOC_ANOTHER_DIR(nr_, dir_) \ + _IOC(dir_, _IOC_TYPE(nr_), _IOC_NR(nr_), _IOC_SIZE(nr_)) + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(int argc, char **argv) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + long rc; + + PIDNS_TEST_INIT; + + /* + * Start of output marker. printf is in front of ioctl() here because + * musl calls an ioctl before the first output to stdout, specifically, + * ioctl(TIOCGWINSZ) in src/stdio/__stdout_write.c:__stdout_write. + */ + pidns_print_leader(); + errno = EBADF; + printf("ioctl(-1, " XLAT_FMT ", NULL) = -1 EBADF (%m)\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + fflush(NULL); + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + + +#if INJECT_RETVAL + if (argc == 1) + return 0; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + unsigned long num_skip = strtoul(argv1, NULL, 0); + long inject_retval = strtol(argv2, NULL, 0); + bool locked = false; + + if (inject_retval < 0) + error_msg_and_fail("Expected non-negative INJECT_RETVAL, " + "but got %ld", inject_retval); + + for (unsigned long i = 0; i < num_skip; i++) { + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + errstr, rc == inject_retval ? " (INJECTED)" : ""); + + if (rc != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", SECCOMP_IOCTL_NOTIF_RECV, NULL) " + "returning %lu", inject_retval); + } +#endif /* INJECT_RETVAL */ + + /* Unknown seccomp ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 4) { + sys_ioctl(-1, _IOC(dirsi.val, '!', 4, j), magic); + pidns_print_leader(); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x21, 0x4, %#x)") + ", %#lx) = %s" INJ_STR "\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '!', 4, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + + /* SECCOMP_IOCTL_NOTIF_RECV */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif, notif); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + (char *) notif + 1, errstr); + + memset(notif, 0, sizeof(*notif)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + if (rc >= 0) { + printf("{id=0, pid=0, flags=0, data={nr=0, arch=" + XLAT_UNKNOWN(0, "AUDIT_ARCH_???") + ", instruction_pointer=NULL, args=0, 0, 0, 0, 0, 0}}"); + } else { + printf("%p", notif); + } + printf(") = %s" INJ_STR "\n", errstr); + + notif->id = 0xdeadc0debadc0dedULL; + notif->pid = getpid(); + notif->flags = 0xdeefaced; + notif->data.nr = 0xbad5ca11; + notif->data.arch = 0xfeedface; + notif->data.instruction_pointer = (uintptr_t) sys_ioctl; + for (size_t i = 0; i < ARRAY_SIZE(notif->data.args); i++) + notif->data.argsi = 0xdeadfacebadc0dedULL ^ i; +#define ARGS_STR "args=0xdeadfacebadc0ded, 0xdeadfacebadc0dec" \ + ", 0xdeadfacebadc0def, 0xdeadfacebadc0dee" \ + ", 0xdeadfacebadc0de9, 0xdeadfacebadc0de8" \ + /* End of ARGS_STR definition */ + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0xdeadc0debadc0ded, pid=%d%s" + ", flags=0xdeefaced, data={nr=3134573073, arch=" + XLAT_UNKNOWN(0xfeedface, "AUDIT_ARCH_???") + ", instruction_pointer=%p, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), sys_ioctl); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); + +#ifdef CUR_AUDIT_ARCH + notif->id = 0; + notif->flags = 0; + notif->data.nr = __NR_gettid; + notif->data.arch = CUR_AUDIT_ARCH; + notif->data.instruction_pointer = 0; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=" XLAT_FMT_U + ", arch=%s, instruction_pointer=NULL, " ARGS_STR + "}}", + getpid(), pidns_pid2str(PT_TGID), + XLAT_ARGS(__NR_gettid), + sprintxval(audit_arch, CUR_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# if defined(PERS0_AUDIT_ARCH) + notif->data.nr = PERS0__NR_gettid; + notif->data.arch = PERS0_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(M32_AUDIT_ARCH) + notif->data.nr = M32__NR_gettid; + notif->data.arch = M32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + notif->data.nr = MX32__NR_gettid; + notif->data.arch = MX32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +#endif /* CUR_AUDIT_ARCH */ + + + /* SECCOMP_IOCTL_NOTIF_SEND */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_resp, resp); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + (char *) resp + 1, errstr); + + memset(resp, 0, sizeof(*resp)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, val=0, error=0, flags=0}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->id = 0xdeadc0debadc0dedULL; + resp->val = 0xdadfacedbeefdeedULL; + resp->error = 0xbadc0ded; + resp->flags = 0xfacecafe; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=-1159983635, flags=0xfacecafe" + NRAW(" /* SECCOMP_USER_NOTIF_FLAG_??? */") "}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->error = -ENOSR; + resp->flags = 1; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=" XLAT_FMT_D + ", flags=" XLAT_KNOWN(0x1, "SECCOMP_USER_NOTIF_FLAG_CONTINUE") + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + XLAT_SEL(-ENOSR, "-ENOSR"), errstr); + + + /* SECCOMP_IOCTL_NOTIF_ID_VALID */ + static const struct { + uint32_t id; + const char *str; + } id_valid_cmds = { + { ARG_STR(SECCOMP_IOCTL_NOTIF_ID_VALID) }, + { IOC_ANOTHER_DIR(SECCOMP_IOCTL_NOTIF_ID_VALID, _IOC_READ), + "SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, id); + + for (size_t i = 0; i < ARRAY_SIZE(id_valid_cmds); i++) { + + sys_ioctl(-1, id_valid_cmdsi.id, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + (char *) id + 1, errstr); + + memset(id, 0, sizeof(*id)); + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + *id = 0xdecaffedfacefeedULL; + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0xdecaffedfacefeed) = %s" + INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + } + + + /* SECCOMP_IOCTL_NOTIF_ADDFD */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_addfd, addfd); + + close(0); + int fd = open(null_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (fd != NULL_FD) { + if (dup2(fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(fd, NULL_FD)"); + close(fd); + } + + fd = open(zero_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", zero_path); + if (fd != ZERO_FD) { + if (dup2(fd, ZERO_FD) < 0) + perror_msg_and_fail("dup2(fd, ZERO_FD)"); + close(fd); + } + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + (char *) addfd + 1, errstr); + + memset(addfd, 0, sizeof(*addfd)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, flags=0, srcfd=0" PATH_FMT + ", newfd=0, newfd_flags=0}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + PRINT_PATHS ? null_path : "", errstr); + + addfd->id = 0xdeadc0debadfacedULL; + addfd->flags = 0xbadc0dec; + addfd->srcfd = 0xdeadface; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_CLOEXEC|O_DSYNC; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=0xbadc0dec" NRAW(" /* SECCOMP_ADDFD_FLAG_??? */") + ", srcfd=-559023410, newfd=-1091567891, newfd_flags=" XLAT_FMT + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + XLAT_ARGS(O_DSYNC|O_CLOEXEC), errstr); + + addfd->flags = 3; + addfd->srcfd = ZERO_FD; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_DIRECT; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=" XLAT_KNOWN(0x3, "SECCOMP_ADDFD_FLAG_SETFD" + "|SECCOMP_ADDFD_FLAG_SEND") + ", srcfd=%d" PATH_FMT ", newfd=-1091567891, newfd_flags=" + XLAT_FMT "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + ZERO_FD, PRINT_PATHS ? zero_path : "", + XLAT_ARGS(O_DIRECT), errstr); + + pidns_print_leader(); + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_seccomp.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp +ioctl.test -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_tee.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_tee.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,6 +24,13 @@ #define UUID_SIZE 16 +#ifndef TEE_IOCTL_SHM_MAPPED +# define TEE_IOCTL_SHM_MAPPED 0x1 +#endif +#ifndef TEE_IOCTL_SHM_DMA_BUF +# define TEE_IOCTL_SHM_DMA_BUF 0x2 +#endif + /* Not in mainline. */ struct tee_ioctl_shm_register_fd_data { __s64 fd;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_termios-v.c
Added
@@ -0,0 +1,2 @@ +#define VERBOSE 1 +#include "ioctl_termios.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_termios-v.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios-v +ioctl.test -v); do not edit. +set -- -v +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_termios.c
Added
@@ -0,0 +1,991 @@ +/* + * Check decoding of struct termio{,s,s2}-related commands of ioctl syscall. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> + +#include <linux/fcntl.h> +#include <linux/ioctl.h> +#include <linux/termios.h> +#include <linux/tty.h> + +#include <sys/param.h> + +#include "xlat.h" +#include "xlat/baud_options.h" +#include "xlat/term_line_discs.h" + +#ifndef IBSHIFT +# define IBSHIFT 16 +#endif + +#if defined(__sparc__) \ + || defined(__powerpc__) \ + || defined(__powerpc64__) \ + || defined(__alpha__) \ + || defined(__mips__) \ + || defined(__hppa__) +# define IOCTL_CLASHED 0 +#else +# define IOCTL_CLASHED 1 +#endif + +#define PRINT_FLAG(val_, f_) \ + do { \ + if ((val_ & f_)) { \ + printf("%s%s", sep, #f_); \ + val_ &= ~f_; \ + sep = "|"; \ + } \ + } while (0) + +extern int ioctl (int __fd, unsigned long int __request, ...); + +static void +print_iflag(unsigned int iflag) +{ + const char *sep = ""; + + PRINT_FLAG(iflag, IGNBRK); + PRINT_FLAG(iflag, BRKINT); + PRINT_FLAG(iflag, IGNPAR); + PRINT_FLAG(iflag, PARMRK); + PRINT_FLAG(iflag, INPCK); + PRINT_FLAG(iflag, ISTRIP); + PRINT_FLAG(iflag, INLCR); + PRINT_FLAG(iflag, IGNCR); + PRINT_FLAG(iflag, ICRNL); + PRINT_FLAG(iflag, IUCLC); + PRINT_FLAG(iflag, IXON); + PRINT_FLAG(iflag, IXANY); + PRINT_FLAG(iflag, IXOFF); + PRINT_FLAG(iflag, IMAXBEL); + PRINT_FLAG(iflag, IUTF8); + if (iflag) + printf("%s%#x", sep, iflag); +} + +static void +print_oflag(unsigned int oflag) +{ + const char *sep = ""; + + static struct { + tcflag_t val; + const char *prefix; + unsigned int max_val; + } vals = { + { NLDLY, "NL", +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + 3 +#else + 1 +#endif + }, + { CRDLY, "CR", 3 }, + { TABDLY, "TAB", 3 }, + { BSDLY, "BS", 1 }, + { VTDLY, "VT", 1 }, + { FFDLY, "FF", 1 }, + }; + + for (unsigned int i = 0; i < ARRAY_SIZE(vals); i++) { + int val = (oflag & valsi.val) / + (valsi.val / valsi.max_val); +#if !defined __alpha__ + if (i == 2 && val == 3) /* XTABS */ + printf("XTABS|"); + else +#endif + printf("%s%u|", valsi.prefix, val); + oflag &= ~valsi.val; + } + + sep = ""; + PRINT_FLAG(oflag, OPOST); + PRINT_FLAG(oflag, OLCUC); + PRINT_FLAG(oflag, ONLCR); + PRINT_FLAG(oflag, OCRNL); + PRINT_FLAG(oflag, ONOCR); + PRINT_FLAG(oflag, ONLRET); + PRINT_FLAG(oflag, OFILL); + PRINT_FLAG(oflag, OFDEL); +#ifdef PAGEOUT + PRINT_FLAG(oflag, PAGEOUT); +#endif +#ifdef WRAP + PRINT_FLAG(oflag, WRAP); +#endif + if (oflag) + printf("%s%#x", sep, oflag); +} + +static void +print_cflag(unsigned int cflag) +{ + const char *sep = ""; + + printxval(baud_options, cflag & CBAUD, "B???"); + printf("|"); +#if defined IBSHIFT && defined CIBAUD + if (cflag & CIBAUD) { + printxval(baud_options, (cflag & CIBAUD) >> IBSHIFT, "B???"); + printf("<<IBSHIFT|"); + } + cflag &= ~CIBAUD; +#endif + switch (cflag & CSIZE) { + case CS5: + printf("CS5|"); + break; + case CS6: + printf("CS6|"); + break; + case CS7: + printf("CS7|"); + break; + case CS8: + printf("CS8|"); + break; + } + cflag &= ~(CBAUD | CSIZE); + + PRINT_FLAG(cflag, CSTOPB); + PRINT_FLAG(cflag, CREAD); + PRINT_FLAG(cflag, PARENB); + PRINT_FLAG(cflag, PARODD); + PRINT_FLAG(cflag, HUPCL); + PRINT_FLAG(cflag, CLOCAL); +#ifdef CTVB + PRINT_FLAG(cflag, CTVB); +#endif +#ifdef CMSPAR + PRINT_FLAG(cflag, CMSPAR); +#endif +#ifdef CRTSCTS + PRINT_FLAG(cflag, CRTSCTS); +#endif + if (cflag) + printf("%s%#x", sep, cflag); +} + +static void +print_lflag(unsigned int lflag) +{ + const char *sep = ""; + + PRINT_FLAG(lflag, ISIG); + PRINT_FLAG(lflag, ICANON); + PRINT_FLAG(lflag, XCASE); + PRINT_FLAG(lflag, ECHO); + PRINT_FLAG(lflag, ECHOE); + PRINT_FLAG(lflag, ECHOK); + PRINT_FLAG(lflag, ECHONL); + PRINT_FLAG(lflag, NOFLSH); + PRINT_FLAG(lflag, IEXTEN); + PRINT_FLAG(lflag, ECHOCTL); + PRINT_FLAG(lflag, ECHOPRT); + PRINT_FLAG(lflag, ECHOKE); + PRINT_FLAG(lflag, FLUSHO); + PRINT_FLAG(lflag, PENDIN); + PRINT_FLAG(lflag, TOSTOP); +#ifdef EXTPROC + PRINT_FLAG(lflag, EXTPROC); +#endif +#ifdef DEFECHO + PRINT_FLAG(lflag, DEFECHO); +#endif + if (lflag) + printf("%s%#x", sep, lflag); +} + +static void +print_flags(unsigned int iflag, unsigned int oflag, + unsigned int cflag, unsigned int lflag) +{ + printf("c_iflag="); + print_iflag(iflag); + printf(", c_oflag="); + print_oflag(oflag); + printf(", c_cflag="); + print_cflag(cflag); + printf(", c_lflag="); + print_lflag(lflag); +} + +#define cc_def_(cc_) \ + cc_ = #cc_ + +#if VERBOSE +static void +print_termios_cc(const cc_t *ccs, size_t size, bool tios) +{ + static const char * const cc_tio_names = { +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + cc_def_(_VMIN), + cc_def_(_VTIME), + cc_def_(_VINTR), + cc_def_(_VQUIT), + cc_def_(_VERASE), + cc_def_(_VKILL), + cc_def_(_VEOF), + cc_def_(_VEOL), + cc_def_(_VEOL2), + cc_def_(_VSWTC), +# endif + }; + + static const char * const cc_tios_names = { + cc_def_(VMIN), + cc_def_(VTIME), + + cc_def_(VINTR), + cc_def_(VQUIT), + cc_def_(VERASE), + cc_def_(VKILL), + cc_def_(VEOL2), + cc_def_(VSWTC), + cc_def_(VSTART), + cc_def_(VSTOP), + cc_def_(VSUSP), + cc_def_(VREPRINT), + cc_def_(VDISCARD), + cc_def_(VWERASE), + cc_def_(VLNEXT), +# ifndef __sparc__ /* on sparc VMIN == VEOF and VTIME == VEOL */ + cc_def_(VEOF), + cc_def_(VEOL), +# endif +# ifdef VDSUSP + cc_def_(VDSUSP), +# endif + }; + + printf("c_cc="); + + for (size_t i = 0; i < size; i++) { + bool has_name = tios ? + (i < ARRAY_SIZE(cc_tios_names)) && cc_tios_namesi : +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + (i < ARRAY_SIZE(cc_tio_names)) && cc_tio_namesi; +# else + false; +# endif + const char *name = has_name ? + (tios ? cc_tios_names : cc_tio_names)i : ""; + + if (has_name) + printf("%s%s=%#hhx", i ? ", " : "", name, ccsi); + else + printf("%s%zu=%#hhx", i ? ", " : "", i, ccsi); + } + + printf(""); +} +#endif /* VERBOSE */ + +#ifdef HAVE_STRUCT_TERMIOS2 +static void +print_termios2(void *tios_ptr) +{ + struct termios2 *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +# if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + + printf(", c_ispeed=%u, c_ospeed=%u", tios->c_ispeed, tios->c_ospeed); +# else /* !VERBOSE */ + printf("..."); +# endif /* VERBOSE */ + + printf("}"); +} +#endif + +static void +print_termios(void *tios_ptr) +{ + struct termios *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + printf(", c_ispeed=%u", tios->c_ispeed); +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + printf(", c_ospeed=%u", tios->c_ospeed); +# endif +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +print_termio(void *tios_ptr) +{ + struct termio *tios = tios_ptr; + +#if VERBOSE +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + const bool alpha = true; +# else + const bool alpha = false; +# endif +#endif /* VERBOSE */ + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, MIN(NCC, sizeof(tios->c_cc)), !alpha); +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +do_ioctl(kernel_ulong_t cmd, const char *cmd_str, int fd, + void (*printer)(void *data), kernel_ulong_t data_ptr, bool valid, + bool write, const char *data_str, bool can_fail) +{ + long ret = 0; + long saved_errno = 0; + void *data = (void *) (uintptr_t) data_ptr; + + if (!write) { + ret = ioctl(fd, cmd, data_ptr); + saved_errno = errno; + } + + printf("ioctl(%d, %s, ", fd, cmd_str); + + if (valid && !ret) { + if (data_str) + printf("%s", data_str); + else + printer(data); + } else { + if (data) + printf("%#llx", (unsigned long long) data_ptr); + else + printf("NULL"); + } + + if (write) { + ret = ioctl(fd, cmd, data_ptr); + + if (valid && ret && !can_fail) + perror_msg_and_fail("ioctl(%d, %#llx, %#llx) = -1", + fd, (unsigned long long) cmd, + (unsigned long long) data_ptr); + } else { + errno = saved_errno; + } + + printf(") = %s\n", sprintrc(ret)); + +} + +#ifdef HAVE_STRUCT_TERMIOS2 +static const char * +setup_termios2(void *tios_ptr, int variant) +{ + struct termios2 *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +# ifdef PAGEOUT + PAGEOUT| +# endif + 0xbad00000; + tios->c_cflag = B75 +# if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +# endif + |CS6|CSTOPB| +# ifdef CTVB + CTVB| +# endif +# ifdef CMSPAR + CMSPAR| +# endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +# ifdef DEFECHO + DEFECHO| +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +# else + 0xfee00000 +# endif + ; + + tios->c_line = N_IRDA; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + + tios->c_ispeed = 3141592653U; + tios->c_ospeed = 2718281828U; + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +# ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +# else /* !__alpha__ */ + "XTABS" +# endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +# ifdef PAGEOUT + "PAGEOUT|" +# endif +# if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +# else + "0xbad00000, " +# endif + "c_cflag=B75" +# if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +# endif + "|CS6|CSTOPB" +# ifdef CTVB + "|CTVB" +# endif +# ifdef CMSPAR + "|CMSPAR" +# endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +# ifdef __sparc__ + "EXTPROC|" +# endif +# ifdef DEFECHO + "DEFECHO|" +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +# elif defined __sparc__ + "0xf0e0000, " +# else + "0xfee00000, " +# endif +# if VERBOSE + "c_line=N_IRDA, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0, 17=0, 18=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif + ", c_ispeed=3141592653, c_ospeed=2718281828" +# else /* !VERBOSE */ + "..." +# endif /* VERBOSE */ + "}"; + } + + return NULL; +} +#endif + +static const char * +setup_termios(void *tios_ptr, int variant) +{ + struct termios *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0xbad00000; + tios->c_cflag = B75 +#if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +#endif + |CS6|CSTOPB| +#ifdef CTVB + CTVB| +#endif +#ifdef CMSPAR + CMSPAR| +#endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +#else + 0xfee00000 +#endif + ; + + tios->c_line = N_AX25; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + +#ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + tios->c_ispeed = 3141592653U; +#endif +#ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + tios->c_ospeed = 2718281828U; +#endif + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else /* !__alpha__ */ + "XTABS" +#endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +#ifdef PAGEOUT + "PAGEOUT|" +#endif +#if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +#else + "0xbad00000, " +#endif + "c_cflag=B75" +#if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +#endif + "|CS6|CSTOPB" +#ifdef CTVB + "|CTVB" +#endif +#ifdef CMSPAR + "|CMSPAR" +#endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +#ifdef __sparc__ + "EXTPROC|" +#endif +#ifdef DEFECHO + "DEFECHO|" +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +#elif defined __sparc__ + "0xf0e0000, " +#else + "0xfee00000, " +#endif +#if VERBOSE + "c_line=N_AX25, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VMIN=0x89, " + "VEOL=0, VTIME=0xa0, VEOL2=0, " + "VSWTC=0x2a, VWERASE=0, VREPRINT=0, " + "VSUSP=0, VSTART=0, VSTOP=0, " + "VLNEXT=0xff, VDISCARD=0, 17=0, 18=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + ", c_ispeed=3141592653" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + ", c_ospeed=2718281828" +# endif +#else /* !VERBOSE */ + "..." +#endif /* VERBOSE */ + "}"; + } + + return NULL; +} + +static const char * +setup_termio(void *tios_ptr, int variant) +{ + struct termio *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = (unsigned short) (IGNBRK|IUTF8); + tios->c_oflag = (unsigned short) (NL0|CR2|XTABS|BS0|VT1|FF0| + OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0); + tios->c_cflag = (unsigned short) (B75|CS6|CSTOPB); + tios->c_lflag = (unsigned short) (ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif + 0); + + tios->c_line = 234; + +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + tios->c_cc_VTIME = 0xa0; + tios->c_cc_VMIN = 0x89; + tios->c_cc_VSWTC = 0x2a; +#else + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVSWTC = 0x2a; +#endif + + return "{c_iflag=IGNBRK|IUTF8, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else + "XTABS" +#endif + "|BS0" +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "|VT0" +#else + "|VT1" +#endif + "|FF0|OPOST|ONLCR|OFILL" +#if defined PAGEOUT && !defined __sparc__ + "|PAGEOUT" +#endif + ", " + "c_cflag=B75|CS6|CSTOPB, " + "c_lflag=ISIG|ECHOE" +/* the value is too big for termio lflag */ +#if !(defined __alpha__ || defined __powerpc__ || defined __powerpc64__) + "|FLUSHO" +#endif +#ifdef DEFECHO + "|DEFECHO" +#endif + ", " +#if VERBOSE + "c_line=0xea /* N_??? */, " +# if defined __alpha__ + "c_cc=_VEOF=0, _VEOL=0, _VEOL2=0, " + "_VERASE=0, _VWERASE=0, _VKILL=0, " + "_VREPRINT=0x89, _VSWTC=0x2a" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=_VINTR=0, _VQUIT=0, _VERASE=0, " + "_VKILL=0, _VEOF=0, _VMIN=0x89, " + "_VEOL=0, _VTIME=0xa0, _VEOL2=0, " + "_VSWTC=0x2a" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a" +# endif +#else /* !VERBOSE */ + "..." +#endif + "}"; + } + + return NULL; +} + +int +main(void) +{ + int ret; + + struct termio *tio = tail_alloc(sizeof(*tio)); + struct termios *tios1 = tail_alloc(sizeof(*tios1)); +#ifdef HAVE_STRUCT_TERMIOS2 + struct termios2 *tios2 = tail_alloc(sizeof(*tios2)); +#endif + + struct { + struct { + kernel_ulong_t cmd; + const char *cmd_str; + bool write; + bool can_fail; + } cmds6; + struct { + kernel_ulong_t data; + const char *data_str; + bool valid; + } args4; /* The last one should be valid */ + void (*printer)(void *data); + const char * (*setup)(void *data, int variant); + unsigned int setup_variants; + } checks = { +#ifdef HAVE_STRUCT_TERMIOS2 + { + { + { ARG_STR(TCSETS2), true }, + { ARG_STR(TCSETSW2), true }, + { ARG_STR(TCSETSF2), true }, + { ARG_STR(TCGETS2), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios2 + 1), NULL, false }, + { (uintptr_t) tios2 + 4, NULL, false }, + { (uintptr_t) tios2, NULL, true }, + }, + print_termios2, setup_termios2, 3 + }, +#endif + { + { + /* XXX */ + { TCSETS, +#if IOCTL_CLASHED + "SNDCTL_TMR_START or " +#endif + "TCSETS", true }, + { TCSETSW, +#if IOCTL_CLASHED + "SNDCTL_TMR_STOP or " +#endif + "TCSETSW", true }, + { TCSETSF, +#if IOCTL_CLASHED + "SNDCTL_TMR_CONTINUE or " +#endif + "TCSETSF", true }, + + { ARG_STR(TCGETS), false }, + { ARG_STR(TIOCSLCKTRMIOS), true, true }, + { ARG_STR(TIOCGLCKTRMIOS), false, true }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios1 + 1), NULL, false }, + { (uintptr_t) tios1 + 4, NULL, false }, + { (uintptr_t) tios1, NULL, true }, + }, + print_termios, setup_termios, 3 + }, + { + { + { ARG_STR(TCSETA), true }, + { ARG_STR(TCSETAW), true }, + { ARG_STR(TCSETAF), true }, + { ARG_STR(TCGETA), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tio + 1), NULL, false }, + { (uintptr_t) tio + 4, NULL, false }, + { (uintptr_t) tio, NULL, true }, + }, + print_termio, setup_termio, 3 + }, + }; + + static const char ptmx = "/dev/ptmx"; + /* + * The libc function is not available because <linux/fcntl.h> + * is included instead of <fcntl.h>. + */ + ret = syscall(__NR_openat, -100, ptmx, O_RDWR|O_NOCTTY); + if (ret < 0) + perror_msg_and_skip("open: %s", ptmx); + + for (size_t i = 0; i < ARRAY_SIZE(checks); i++) { + const char *last_arg_str = NULL; + + for (size_t j = 0; j < ARRAY_SIZE(checks0.cmds); j++) { + size_t k = 0, l = 0; + bool end = false; + bool write = checksi.cmdsj.write; + + if (!checksi.cmdsj.cmd_str) + continue; + + while (true) { + if (write && checksi.argsk.valid) + last_arg_str = checksi.setup( + (void *) (uintptr_t) (checksi.argsk.data), + l); + + do_ioctl(checksi.cmdsj.cmd, + checksi.cmdsj.cmd_str, + ret, + checksi.printer, + checksi.argsk.data, + checksi.argsk.valid, + write, last_arg_str, + checksi.cmdsj.can_fail); + + if (k < (ARRAY_SIZE(checks0.args) - 1)) + k++; + else if (write && (l < checksi.setup_variants)) + l++; + else if (!write && (l < 1)) + l++; + else + end = true; + + if (end) + break; + } + } + } + + puts("+++ exited with 0 +++"); + + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_termios.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_tiocm.c
Added
@@ -0,0 +1,104 @@ +/* + * Check decoding of ioctl TIOCM* commands. + * + * Copyright (c) 2020-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <errno.h> +#include <stdio.h> +#include <sys/ioctl.h> + +static const char *errstr; + +static int +do_ioctl(kernel_ulong_t cmd, kernel_ulong_t arg) +{ + int rc = ioctl(-1, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +static int +do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) +{ + return do_ioctl(cmd, (uintptr_t) arg); +} + +int +main(int argc, const char *argv) +{ + static const struct { + uint32_t cmd; + const char *str; + bool on_enter; + bool on_exit; + } cmds = { + { ARG_STR(TIOCMGET), false, true }, + { ARG_STR(TIOCMBIS), true, false }, + { ARG_STR(TIOCMBIC), true, false }, + { ARG_STR(TIOCMSET), true, false }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, p_flags); + const void *const efault = p_flags + 1; + + for (size_t i = 0; i < ARRAY_SIZE(cmds); ++i) { + do_ioctl(cmdsi.cmd, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), errstr); + + do_ioctl_ptr(cmdsi.cmd, efault); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + efault, errstr); + +#ifdef __mips__ +# define VALID_FLAGS 0xe777 +# define INVALID_FLAGS 0xffff1888 +#else +# define VALID_FLAGS 0xe1ff +# define INVALID_FLAGS 0xffff1e00 +#endif + *p_flags = INVALID_FLAGS; + + if (cmdsi.on_enter) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_UNKNOWN(INVALID_FLAGS, "TIOCM_???"), + errstr); + + *p_flags = ~*p_flags; + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_KNOWN(VALID_FLAGS, + "TIOCM_LE|" + "TIOCM_DTR|" + "TIOCM_RTS|" + "TIOCM_ST|" + "TIOCM_SR|" + "TIOCM_CTS|" + "TIOCM_CAR|" + "TIOCM_RNG|" + "TIOCM_DSR|" + "TIOCM_OUT1|" + "TIOCM_OUT2|" + "TIOCM_LOOP"), + errstr); + } else if (cmdsi.on_exit) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + p_flags, errstr); + } + + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_tiocm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_tiocm +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ioctl_v4l2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_v4l2.c
Changed
@@ -51,8 +51,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; f->fmt.pix_mp.width = 0x1f3b774b; f->fmt.pix_mp.height = 0xab96a8d6; @@ -64,7 +62,7 @@ f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_JPEG; struct v4l2_plane_pix_format *cur_pix = f->fmt.pix_mp.plane_fmt; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.pix_mp.plane_fmt); i++) { cur_pixi.sizeimage = 0x1e3c531c | i; @@ -126,11 +124,9 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i; - f->fmt.sliced.service_set = V4L2_SLICED_VPS; f->fmt.sliced.io_size = 0xd897925a; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines0); i++) { f->fmt.sliced.service_lines0i = 0xc38e | i; @@ -201,8 +197,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT @@ -229,7 +223,7 @@ ", plane_fmt=", XLAT_ARGS(V4L2_FIELD_NONE), XLAT_ARGS(V4L2_COLORSPACE_JPEG)); - for (i = 0; + for (unsigned int i = 0; i < (buf_type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ? 1 : ARRAY_SIZE(f->fmt.pix_mp.plane_fmt)); ++i) { @@ -321,8 +315,6 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i, j; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT ", fmt.sliced={service_set=" XLAT_FMT @@ -330,15 +322,15 @@ XLAT_SEL(reqval, reqstr), XLAT_SEL(buf_type, buf_type_string), XLAT_ARGS(V4L2_SLICED_VPS)); - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines); - i++) { + ++i) { if (i > 0) printf(", "); printf(""); - for (j = 0; + for (unsigned int j = 0; j < ARRAY_SIZE(f->fmt.sliced.service_lines0); - j++) { + ++j) { if (j > 0) printf(", "); printf("%#x",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_winsize.c
Added
@@ -0,0 +1,43 @@ +/* + * Check decoding of ioctl TIOCGSWINSZ commands. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/ioctl.h> + +int +main(void) +{ + int rc; + + rc = ioctl(-1, TIOCGWINSZ, 0); + printf("ioctl(-1, TIOCGWINSZ, NULL) = %s\n", sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, 0); + printf("ioctl(-1, TIOCSWINSZ, NULL) = %s\n", sprintrc(rc)); + + TAIL_ALLOC_OBJECT_CONST_PTR(struct winsize, ws); + const void *const efault = ws + 1; + fill_memory(ws, sizeof(*ws)); + + rc = ioctl(-1, TIOCSWINSZ, efault); + printf("ioctl(-1, TIOCSWINSZ, %p) = %s\n", efault, sprintrc(rc)); + + rc = ioctl(-1, TIOCGWINSZ, ws); + printf("ioctl(-1, TIOCGWINSZ, %p) = %s\n", ws, sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, ws); + printf("ioctl(-1, TIOCSWINSZ, {ws_row=%u, ws_col=%u" + ", ws_xpixel=%u, ws_ypixel=%u}) = %s\n", + ws->ws_row, ws->ws_col, ws->ws_xpixel, ws->ws_ypixel, + sprintrc(rc)); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ioctl_winsize.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_winsize +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ip_mreq.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ip_mreq.c
Changed
@@ -28,7 +28,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct ip_mreq, m4); TAIL_ALLOC_OBJECT_CONST_PTR(struct ipv6_mreq, m6); - unsigned int i; int rc; inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); @@ -94,7 +93,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ rc = setsockopt(0, optsi.level, optsi.name, optsi.val, -1);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ipc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ipc.c
Changed
@@ -66,8 +66,7 @@ perror_msg_and_skip("ipc"); printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); - unsigned short call; - for (call = 0; call <= 40; call += 10) { + for (unsigned short call = 0; call <= 40; call += 10) { ipc_call0(0, call); ipc_call0(42, call); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ipc_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ipc_msg.c
Changed
@@ -55,8 +55,13 @@ * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2, * glibc skips msgctl syscall invocations and returns EINVAL * for invalid msgctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_MSGCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ipc_sem.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ipc_sem.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2015 Andreas Schwab <schwab@suse.de> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,8 +27,13 @@ * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882, * glibc skips semctl syscall invocations and returns EINVAL * for invalid semctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_SEMCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kcmp.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kcmp.c
Changed
@@ -147,7 +147,6 @@ F8ILL_KULONG_SUPPORTED ? F8ILL_KULONG_MASK : 0; int fd; - unsigned i; TAIL_ALLOC_OBJECT_CONST_PTR(struct kcmp_epoll_slot, slot); /* Open some files to test printpidfd */ @@ -196,7 +195,7 @@ do_kcmp(-1, -1, ARG_STR(KCMP_EPOLL_TFD), 3141592653U, (uintptr_t) slot + 1, 0); - for (i = 0; i < ARRAY_SIZE(slot_data); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(slot_data); ++i) { memcpy(slot, slot_data + i, sizeof(*slot)); do_kcmp(getpid(), -1, ARG_STR(KCMP_EPOLL_TFD), NULL_FD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kernel_version.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kernel_version.c
Changed
@@ -71,7 +71,8 @@ ", line_info=NULL" ", line_info_cnt=0" ", attach_btf_id=0" - ", attach_prog_fd=0}"); + ", attach_prog_fd=0" + ", fd_array=NULL}"); } int
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kexec_file_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kexec_file_load.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of kexec_file_load syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -61,8 +61,6 @@ tail_memdup(cmdline_short_str, sizeof(cmdline_short_str)); char cmdline_ptrsizeof("0x") + sizeof(void *) * 2; char cmdline_short_ptrsizeof("0x") + sizeof(void *) * 2; - unsigned int i; - unsigned int j; struct strval cmdlines = { { (uintptr_t) NULL, "", "", "NULL" }, @@ -81,8 +79,8 @@ snprintf(cmdline_short_ptr, sizeof(cmdline_short_ptr), "%p", cmdline_short); - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(cmdlines); j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(cmdlines); ++j) { rc = syscall(__NR_kexec_file_load, bogus_kernel_fd, bogus_initrd_fd, cmdline_lensj, cmdlinesj.val, flagsi.val);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kexec_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kexec_load.c
Changed
@@ -60,7 +60,6 @@ const char *errstr; long rc; struct segm *segms = tail_alloc(SEGMS_ARRAY_SIZE); - unsigned int i; fill_memory(segms, SEGMS_ARRAY_SIZE); segms0.buf = segms0.mem = NULL; @@ -90,7 +89,7 @@ "memsz=%zu}, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT, segms0.bufsz, segms0.memsz); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -102,7 +101,8 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; + i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -117,7 +117,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_UNCUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}%s", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz, @@ -129,7 +129,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/keyctl-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/keyctl-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 -e trace=keyctl -Xabbrev +run_strace_match_diff -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/keyctl-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/keyctl-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a13 -s10 -e trace=keyctl -Xraw +run_strace_match_diff -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/keyctl-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/keyctl-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a41 -s10 -e trace=keyctl -Xverbose +run_strace_match_diff -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/keyctl.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/keyctl.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of keyctl syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,6 +21,7 @@ #include <string.h> #include <unistd.h> #include <sys/uio.h> +#include <sys/wait.h> #include <linux/keyctl.h> #include "xlat.h" @@ -29,13 +30,15 @@ static const size_t limit = 10; +static pid_t pid; + /* * Well, this is true for DESCRIBE and GET_SECURITY, and false for READ and * DH_COMPUTE and I see no ability to pass this information without * significantly breaking interface. */ -bool nul_terminated_buf = true; -bool buf_in_arg; +static bool nul_terminated_buf = true; +static bool buf_in_arg; /* From ioctl_dm.c */ #define STR32 "AbCdEfGhIjKlMnOpQrStUvWxYz012345" @@ -139,7 +142,6 @@ sizeof(kernel_ulong_t), sizeof(kernel_ulong_t), }; - unsigned i; unsigned cnt = 0; va_list ap; @@ -165,20 +167,20 @@ long rc = syscall(__NR_keyctl, cmd, args0, args1, args2, args3); const char *errstr = sprintrc(rc); #if XLAT_RAW - printf("keyctl(%#x", (unsigned) cmd); + printf("%-5u keyctl(%#x", pid, (unsigned) cmd); #elif XLAT_VERBOSE - printf("keyctl(%#x /* %s */", (unsigned) cmd, cmd_str); + printf("%-5u keyctl(%#x /* %s */", pid, (unsigned) cmd, cmd_str); #else - printf("keyctl(%s", cmd_str); + printf("%-5u keyctl(%s", pid, cmd_str); #endif - for (i = 0; i < cnt; i++) { + for (unsigned int i = 0; i < cnt; ++i) { printf(", "); print_arg(argsi, arg_stri, arg_fmti, arg_szi, rc); } printf(") = %s\n", errstr); } -static int +static int ATTRIBUTE_FORMAT((__printf__, 3, 4)) append_str(char **buf, size_t *left, const char *fmt, ...) { int ret; @@ -212,7 +214,7 @@ } else if (!kdf->hashname) { append_str(&pos, &left, "NULL"); } else if (deref_hash) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->hashname); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->hashname); if (strnlen(kdf->hashname, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -227,7 +229,7 @@ } else if (!kdf->otherinfo) { append_str(&pos, &left, "NULL"); } else if (deref_oi) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->otherinfo); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->otherinfo); if (strnlen(kdf->otherinfo, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -238,11 +240,9 @@ append_str(&pos, &left, ", otherinfolen=%u", kdf->otherinfolen); if (print_spare) { - size_t i; - append_str(&pos, &left, ", __spare="); - for (i = 0; i < ARRAY_SIZE(kdf->__spare); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kdf->__spare); ++i) { if (i) append_str(&pos, &left, ", "); @@ -305,6 +305,23 @@ int main(void) { + pid = fork(); + if (pid < 0) + perror_msg_and_fail("fork"); + if (pid) { + int s; + pid_t rc; + while ((rc = waitpid(pid, &s, 0)) != pid) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pid); + } + printf("%-5u +++ exited with 0 +++\n", getpid()); + return WIFEXITED(s) ? WEXITSTATUS(s) + : (WIFSIGNALED(s) ? 128 + WTERMSIG(s) : 9); + } + pid = getpid(); + enum { PR_LIMIT = 10, IOV_SIZE = 11, IOV_STR_SIZE = 4096 }; static const char *kulong_fmt = @@ -395,7 +412,6 @@ ssize_t ret; ssize_t kis_size = 0; long rc; - size_t i; key_iov0.iov_base = short_type; key_iov0.iov_len = sizeof(short_type_str); @@ -408,7 +424,7 @@ key_iov4.iov_base = bogus_str; key_iov4.iov_len = 32; - for (i = 5; i < IOV_SIZE; i++) { + for (size_t i = 5; i < IOV_SIZE; ++i) { key_iovi.iov_base = (void *) (uintptr_t) (0xfffffacefffff00dULL + 0x100000001ULL * i); @@ -442,7 +458,7 @@ if ((ret < 0) || (ret >= IOV_STR_SIZE)) error_msg_and_fail("snprintf"); - for (i = 4; i < PR_LIMIT; i++) { + for (size_t i = 4; i < PR_LIMIT; ++i) { kis_size += ret; ret = snprintf(key_iov_str2 + kis_size, IOV_STR_SIZE - kis_size, @@ -1067,7 +1083,7 @@ /* KEYCTL_DH_COMPUTE + KDF */ - for (i = 0; i < ARRAY_SIZE(kckdfp_data); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kckdfp_data); ++i) { struct keyctl_kdf_params *kckdfp = (struct keyctl_kdf_params *) kckdfp_char; bool deref_hash = true; @@ -1182,7 +1198,7 @@ struct keyctl_pkey_params *pkey_params = tail_alloc(sizeof(*pkey_params)); - for (i = 0; i < ARRAY_SIZE(pkey_ops); i++) { + for (size_t i = 0; i < ARRAY_SIZE(pkey_ops); ++i) { do_keyctl(pkey_opsi.op, pkey_opsi.str, sizeof(char *), ARG_STR(NULL), ptr_fmt, sizeof(char *), ARG_STR(NULL), ptr_fmt, @@ -1243,7 +1259,8 @@ XSTR(0xffffffff, "KEYCTL_MOVE_EXCL|0xfffffffe") }, }; - for (i = 0; i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); i++) { + for (size_t i = 0; + i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); ++i) { do_keyctl(ARG_STR(KEYCTL_MOVE), sizeof(kernel_ulong_t), move_keysi % ARRAY_SIZE(move_keys).key, @@ -1278,7 +1295,7 @@ const kernel_ulong_t bad_len = (kernel_ulong_t) 0xbadc0ded00000001LLU; rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, bad_len); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1291,7 +1308,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc == 1) @@ -1304,7 +1321,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps2, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1321,7 +1338,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps4, 4); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1340,7 +1357,7 @@ } printf(", 4) = %s\n", errstr); - puts("+++ exited with 0 +++"); + printf("%-5u +++ exited with 0 +++\n", pid); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/keyctl.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/keyctl.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10 -f --signal='!chld'); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 +run_strace_match_diff -a31 -s10 -f --signal='!chld'
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kill_child.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kill_child.c
Changed
@@ -2,11 +2,11 @@ * Check for the corner case that previously lead to segfault * due to an attempt to access unitialised tcp->s_ent. * - * 13994 ????( <unfinished ...> + * 13994 ???( <unfinished ...> * ... - * 13994 <... ???? resumed>) = ? + * 13994 <... ??? resumed>) = ? * - * Copyright (c) 2019 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/kill_child.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/kill_child.test
Changed
@@ -2,7 +2,7 @@ # # Check whether repeated killing of just forked processes crashes strace. # -# Copyright (c) 2019 The strace developers. +# Copyright (c) 2019-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -22,10 +22,10 @@ # Printing of "<... SYSCALL resumed>" in strace.c:print_event_exit # used to segfault when the syscall number had not been obtained # on syscall entering. - grep -q '^1-90-9* <\.\.\. ???? resumed>) \+= ?$' "$LOG" && exit 0 + grep -q '^1-90-9* <\.\.\. ??? resumed>) \+= ?$' "$LOG" && exit 0 s1="$(date +%s)" if "$(($s1-$s0))" -gt "$(($TIMEOUT_DURATION/2))" ; then - skip_ 'Unable to reproduce <... ???? resumed>' + skip_ 'Unable to reproduce <... ??? resumed>' fi done
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ksysent.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ksysent.c
Changed
@@ -2,7 +2,7 @@ * Validate syscallent.h file. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,18 +22,19 @@ #include "sysent_shorthand_undefs.h" +DIAG_PUSH_IGNORE_OVERRIDE_INIT typedef const char *pstr_t; static const pstr_t ksyslist = { #include "ksysent.h" }; +DIAG_POP_IGNORE_OVERRIDE_INIT int main(void) { int rc = 0; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ksyslist); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ksyslist); ++i) { if (!ksyslisti) continue; if (i >= ARRAY_SIZE(syscallent) || !syscallenti.sys_name) { @@ -71,7 +72,7 @@ } } - for (i = 0; i < ARRAY_SIZE(syscallent); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(syscallent); ++i) { if (!syscallenti.sys_name #ifdef SYS_socket_nsubcalls || (i >= SYS_socket_subcall &&
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/landlock_add_rule.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/landlock_add_rule.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_add_rule syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -101,8 +102,8 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const struct {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/landlock_create_ruleset-y.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/landlock_create_ruleset-y.c
Changed
@@ -1,4 +1,4 @@ -#define FD_PATH "<anon_inode:landlock-ruleset>" +#define DECODE_FD 1 #define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") #include "landlock_create_ruleset.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/landlock_create_ruleset.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/landlock_create_ruleset.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_create_ruleset syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,10 +10,12 @@ #include "tests.h" #include "scno.h" +#include "xmalloc.h" #include <inttypes.h> #include <stdio.h> #include <stdint.h> +#include <stdlib.h> #include <unistd.h> #include <linux/landlock.h> @@ -20,6 +23,9 @@ #ifndef RETVAL_INJECTED # define RETVAL_INJECTED 0 #endif +#ifndef DECODE_FD +# define DECODE_FD 0 +#endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -117,21 +123,47 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const kernel_ulong_t sizes = { 8, 12, 16 }; for (size_t i = 0; i < ARRAY_SIZE(attr_vals); i++) { for (size_t j = 0; j < ARRAY_SIZE(sizes); j++) { + const char *fd_str = FD_PATH; + attr->handled_access_fs = attr_valsi.val; rc = sys_landlock_create_ruleset(attr, sizesj, 0); + +#if DECODE_FD + /* + * The ABI has been broken in commit v5.18-rc1~88^2 + * by adding brackets to the link value, hence, we can't + * rely on a specific name anymore and have to fetch it + * ourselves. + */ + if (rc >= 0) { + static char buf256; + char *path = xasprintf("/proc/self/fd/%ld", rc); + ssize_t ret = readlink(path, buf + 1, + sizeof(buf) - 3); + free(path); + + if (ret >= 0) { + buf0 = '<'; + bufret + 1 = '>'; + bufret + 2 = '\0'; + fd_str = buf; + } + } +#endif + printf("landlock_create_ruleset({handled_access_fs=%s" "%s}, %llu, 0) = %s%s" INJ_STR, attr_valsi.str, sizesj > sizeof(*attr) ? ", ..." : "", (unsigned long long) sizesj, - errstr, rc > 0 ? FD_PATH : ""); + errstr, rc >= 0 ? fd_str : ""); } }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/linkat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/linkat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=linkat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/linkat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/linkat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_mismatch --secontext=mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=linkat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/linkat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/linkat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of linkat syscall. * - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,15 +10,31 @@ #include "tests.h" #include "scno.h" +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> +#include <string.h> #include "secontext.h" #include "xmalloc.h" +static void +mangle_secontext_field(const char *path, enum secontext_field field, + const char *new_val, const char *fallback_val) +{ + char *orig = get_secontext_field_file(path, field); + if (!orig) + return; + + update_secontext_field(path, field, + strcmp(new_val, orig) ? new_val : fallback_val); + + free(orig); +} + int main(void) { @@ -87,11 +103,50 @@ if (close(fd_sample_2)) perror_msg_and_fail("close"); + if (*sample_1_secontext && strstr(sample_1_secontext, "!!")) + reset_secontext_file(sample_1); + free(sample_1_secontext); - update_secontext_type(sample_1, "default_t"); + +#ifdef PRINT_SECONTEXT_MISMATCH + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_USER, "system_u", + "unconfined_u"); + sample_1_secontext = SECONTEXT_FILE(sample_1); + +# ifdef PRINT_SECONTEXT_FULL + /* The mismatch should be detected */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "system_u") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +# else + /* The mismatch cannot be detected since it's on user part */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") != NULL) + perror_msg_and_fail("Context mismatch detected: %s", + sample_1_secontext); +# endif + + free(sample_1_secontext); +#endif + + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_TYPE, "default_t", + "unconfined_t"); sample_1_secontext = SECONTEXT_FILE(sample_1); sample_2_secontext = sample_1_secontext; +#ifdef PRINT_SECONTEXT_MISMATCH + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +#endif + rc = syscall(__NR_linkat, -100, sample_1, -100, sample_2, 0); printf("%s%s(AT_FDCWD, \"%s\"%s, AT_FDCWD, \"%s\"%s, 0) = %s\n", my_secontext, "linkat", @@ -108,8 +163,21 @@ int dfd_old = get_dir_fd("."); char *cwd = get_fd_path(dfd_old); + + errno = 0; + mangle_secontext_field(".", SECONTEXT_TYPE, "default_t", + "unconfined_t"); char *dfd_old_secontext = SECONTEXT_FILE("."); +#ifdef PRINT_SECONTEXT_MISMATCH + if (*dfd_old_secontext && strstr(dfd_old_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); + if (*dfd_old_secontext && strstr(dfd_old_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); +#endif + rc = syscall(__NR_linkat, dfd_old, sample_1, -100, sample_2, 0); /* no context printed for sample_2 since file doesn't exist yet */ printf("%s%s(%d%s, \"%s\"%s, AT_FDCWD, \"%s\", 0) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/list_sigaction_signum.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/list_sigaction_signum.c
Changed
@@ -15,9 +15,7 @@ int main(void) { - unsigned int i; - - for (i = 1; i < 32; ++i) { + for (unsigned int i = 1; i < 32; ++i) { static const struct sigaction ign = { .sa_handler = SIG_IGN }; static const struct sigaction dfl = { .sa_handler = SIG_DFL }; struct sigaction act;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/mbind.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/mbind.c
Changed
@@ -68,6 +68,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -82,9 +85,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" },
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/membarrier.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/membarrier.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of membarrier syscall. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -72,6 +72,14 @@ "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; break; + case 2|4|8|16|128|256: + text = "MEMBARRIER_CMD_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; + break; default: error_msg_and_fail("membarrier returned %#x, does" " the test have to be updated?", rc);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/mincore.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/mincore.c
Changed
@@ -14,13 +14,11 @@ print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) { - unsigned int i; - if (mincore(addr, size, vec)) perror_msg_and_skip("mincore"); printf("mincore(%p, %zu, ", addr, size); - for (i = 0; i < pages; ++i) { + for (unsigned int i = 0; i < pages; ++i) { if (i) printf(", "); if (i >= DEFAULT_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/mmsg_name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/mmsg_name.c
Changed
@@ -68,9 +68,9 @@ struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); - int i, rc; + int rc; - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { int sun_len = i + 1 > (int) sizeof(send_addri.sun_path) ? (int) sizeof(send_addri.sun_path) : i + 1; @@ -96,7 +96,7 @@ int saved_errno = errno; printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -115,7 +115,7 @@ printf(", %u, MSG_DONTWAIT) = %d %s (%m)\n", IOV_MAX1, rc, errno2name()); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { send_mhi.msg_hdr.msg_name = 0; send_mhi.msg_hdr.msg_namelen = 0; } @@ -140,7 +140,7 @@ perror_msg_and_skip("sendmmsg"); printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -163,7 +163,7 @@ struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { recv_iovi.iov_base = &recv_bufi; recv_iovi.iov_len = sizeof(*recv_buf); @@ -181,7 +181,7 @@ perror_msg_and_skip("recvmmsg"); printf("recvmmsg(%d, ", recv_fd); - for (i = 0; i < rc; ++i) { + for (int i = 0; i < rc; ++i) { if (i) printf(", "); #if !VERBOSE
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/mount_setattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/mount_setattr.c
Changed
@@ -45,6 +45,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -65,8 +68,8 @@ k_mount_setattr(-100, fname, 0, attr, MOUNT_ATTR_SIZE_VER0 - 1); #ifndef PATH_TRACING - printf("mount_setattr(%s, \"%.*s\"..., 0, %p, %u) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, + printf("mount_setattr(AT_FDCWD<%s>, \"%.*s\"..., 0, %p, %u) = %s\n", + cwd, (int) PATH_MAX - 1, fname, attr, MOUNT_ATTR_SIZE_VER0 - 1, rcstr); #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/move_mount.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/move_mount.c
Changed
@@ -41,6 +41,7 @@ { skip_if_unavailable("/proc/self/fd/"); + char *cwd = get_fd_path(get_dir_fd(".")); static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); const void *const efault = path + sizeof(path_full); @@ -54,40 +55,57 @@ k_move_mount(-1, 0, -100, efault, 0); #ifndef PATH_TRACING - printf("move_mount(-1, NULL, AT_FDCWD, %p, 0) = %s\n", efault, errstr); + printf("move_mount(-1, NULL, AT_FDCWD<%s>, %p, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(-100, efault, -1, 0, 0); #ifndef PATH_TRACING - printf("move_mount(AT_FDCWD, %p, -1, NULL, 0) = %s\n", efault, errstr); + printf("move_mount(AT_FDCWD<%s>, %p, -1, NULL, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(dfd, fname, -100, empty, 1); - printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD, \"\", %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_F_SYMLINKS", errstr); + printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, (int) PATH_MAX - 1, fname, cwd, + "MOVE_MOUNT_F_SYMLINKS", errstr); k_move_mount(-100, empty, dfd, fname, 0x10); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_T_SYMLINKS", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_T_SYMLINKS", errstr); + + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_SET_GROUP", errstr); #define f_flags_str "MOVE_MOUNT_F_SYMLINKS|MOVE_MOUNT_F_AUTOMOUNTS|MOVE_MOUNT_F_EMPTY_PATH" fnamePATH_MAX - 1 = '\0'; k_move_mount(dfd, fname, -100, empty, 7); - printf("move_mount(%d<%s>, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - dfd, path, fname, f_flags_str, errstr); + printf("move_mount(%d<%s>, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, fname, cwd, f_flags_str, errstr); #define t_flags_str "MOVE_MOUNT_T_SYMLINKS|MOVE_MOUNT_T_AUTOMOUNTS|MOVE_MOUNT_T_EMPTY_PATH" k_move_mount(-100, empty, dfd, fname, 0x70); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%s\", %s) = %s\n", - dfd, path, fname, t_flags_str, errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, t_flags_str, errstr); + +#define set_group_str "MOVE_MOUNT_SET_GROUP" + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, set_group_str, errstr); - k_move_mount(-1, path, -100, empty, 0x77); - printf("move_mount(-1, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - path, f_flags_str "|" t_flags_str, errstr); + k_move_mount(-1, path, -100, empty, 0x177); + printf("move_mount(-1, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + path, cwd, f_flags_str "|" t_flags_str "|" set_group_str, + errstr); k_move_mount(-100, empty, -1, path, -1); - printf("move_mount(AT_FDCWD, \"\", -1, \"%s\", %s) = %s\n", - path, f_flags_str "|" t_flags_str "|0xffffff88", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", -1, \"%s\", %s) = %s\n", + cwd, path, + f_flags_str "|" t_flags_str "|" set_group_str "|0xfffffe88", + errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/move_pages.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/move_pages.c
Changed
@@ -32,8 +32,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -68,8 +67,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -94,8 +92,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i >= MAX_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/mq_sendrecv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/mq_sendrecv.c
Changed
@@ -50,10 +50,8 @@ static void printstr(unsigned char start, unsigned int count) { - unsigned int i; - printf("\""); - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { printf("\\%hho", (unsigned char) (start + i)); } printf("\""); @@ -63,10 +61,7 @@ static void dumpstr(unsigned char start, unsigned int count) { - unsigned int i; - unsigned int j; - - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { if (i < count) { if (!(i % 16)) printf(" | %05x ", i); @@ -83,9 +78,9 @@ printf(" "); - for (j = 0; j <= (i % 16); j++) + for (unsigned int j = 0; j <= (i % 16); ++j) printf("."); - for (j = i % 16; j < 15; j++) + for (unsigned int j = i % 16; j < 15; ++j) printf(" "); printf(" |\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/msg_control.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/msg_control.c
Changed
@@ -57,8 +57,7 @@ printf(", cmsg_data="); int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfd; ++i) { + for (size_t i = 0; i < nfd; ++i) { if (i) printf(", "); #if !VERBOSE @@ -197,8 +196,7 @@ cmsg->cmsg_level = SOL_SOCKET; cmsg->cmsg_type = SCM_RIGHTS; int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfds; ++i) + for (size_t i = 0; i < nfds; ++i) fdpi = i; mh->msg_control = cmsg; @@ -603,15 +601,13 @@ { static const int fds0 = { -10, -11, -12, -13 }; static const int fds1 = { -15, -16, -17, -18 }; - size_t msg_controllen, max_msg_controllen; + size_t max_msg_controllen; max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; - for (msg_controllen = 0; + for (size_t msg_controllen = 0; msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0); cmsg_len++) { test_scm_rights1(mh, msg_controllen, @@ -622,7 +618,7 @@ max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + sizeof(*fds0) - 1; - for (msg_controllen = CMSG_LEN(0) * 2; + for (size_t msg_controllen = CMSG_LEN(0) * 2; msg_controllen <= max_msg_controllen; msg_controllen++) { static const int *const fdps = { fds0, fds1 }; @@ -646,12 +642,10 @@ static const char text16 = "0123456789abcdef"; max_msg_controllen = CMSG_SPACE(sizeof(text)) + CMSG_LEN(0) - 1; - for (msg_controllen = CMSG_LEN(0); + for (size_t msg_controllen = CMSG_LEN(0); msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0) && cmsg_len <= CMSG_LEN(sizeof(text)); cmsg_len++) { @@ -763,8 +757,7 @@ print_ip_opts(const void *const cmsg_data, const unsigned int data_len) { const unsigned char *const opts = cmsg_data; - unsigned int i; - for (i = 0; i < data_len; ++i) { + for (unsigned int i = 0; i < data_len; ++i) { if (i) printf(", "); #if !VERBOSE @@ -788,8 +781,7 @@ cmsg->cmsg_len = CMSG_LEN(opts_len); cmsg->cmsg_level = SOL_IP; cmsg->cmsg_type = cmsg_type; - unsigned int i; - for (i = 0; i < opts_len; ++i) + for (unsigned int i = 0; i < opts_len; ++i) CMSG_DATA(cmsg)i = 'A' + i; mh->msg_control = cmsg;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/net--decode-fds-all-netlink.c
Added
@@ -0,0 +1,1 @@ +#include "net--decode-fds-socket-netlink.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/net--decode-fds-all-netlink.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all); do not edit. +set -- --decode-fds=all +. "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/net--decode-fds-dev-netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/net--decode-fds-dev-netlink.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_SOCK 1 -#include "net-yy-netlink.c" +#include "net--decode-fds-none-netlink.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/net--decode-fds-dev-netlink.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/net--decode-fds-dev-netlink.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev); do not edit. -set -- --decode-fds=dev +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9); do not edit. +set -- --decode-fds=dev -a9 . "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/net-icmp_filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/net-icmp_filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ICMP_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,48 +17,62 @@ main(void) { getsockopt(-1, SOL_RAW, ICMP_FILTER, 0, 0); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = -1 %s (%m)\n", - errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = %s\n", + sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = -1 %s (%m)\n", - errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = %s\n", + sprintrc(-1)); TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, plen); void *const efault = plen + 1; TAIL_ALLOC_OBJECT_CONST_PTR(struct icmp_filter, f); getsockopt(-1, SOL_RAW, ICMP_FILTER, f, plen); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = -1 %s (%m)\n", - f, *plen, errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = %s\n", + f, *plen, sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, efault, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = -1 %s (%m)\n", - efault, (unsigned) sizeof(*f), errno2name()); - - f->data = ~( - 1<<ICMP_ECHOREPLY | - 1<<ICMP_DEST_UNREACH | - 1<<ICMP_SOURCE_QUENCH | - 1<<ICMP_REDIRECT | - 1<<ICMP_TIME_EXCEEDED | - 1<<ICMP_PARAMETERPROB); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = %s\n", + efault, (unsigned) sizeof(*f), sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, f, -2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = -1 %s (%m)\n", - f, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = %s\n", + f, sprintrc(-1)); + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~, %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 0; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f), errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, , %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 1<<ICMP_ECHOREPLY | + 1<<ICMP_DEST_UNREACH | + 1<<ICMP_SOURCE_QUENCH | + 1<<ICMP_REDIRECT | + 1<<ICMP_TIME_EXCEEDED | + 1<<ICMP_PARAMETERPROB; + static const char data_str = + "ICMP_ECHOREPLY" + " ICMP_DEST_UNREACH" + " ICMP_SOURCE_QUENCH" + " ICMP_REDIRECT" + " ICMP_TIME_EXCEEDED" + " ICMP_PARAMETERPROB"; + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = %s\n", + data_str, (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = ~f->data; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f) * 2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f) * 2, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~%s, %u) = %s\n", + data_str, (unsigned) sizeof(*f) * 2, sprintrc(-1)); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/net-sockaddr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/net-sockaddr.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockaddr structures * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,11 @@ #include <linux/if_ether.h> #include <linux/if_packet.h> #include <linux/x25.h> -#include <linux/ipx.h> +#if defined HAVE_LINUX_IPX_H +# include <linux/ipx.h> +#elif defined HAVE_NETIPX_IPX_H +# include <netipx/ipx.h> +#endif #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -269,6 +273,7 @@ printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in6, len, ret); } +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H static void check_ipx(void) { @@ -281,20 +286,26 @@ .sipx_node = "ABCDEF", .sipx_type = -1 }; - void *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); + struct sockaddr_ipx *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); unsigned int len = sizeof(c_ipx); - int ret = connect(-1, ipx, len); - pidns_print_leader(); - printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" - ", sipx_network=htonl(%#x)" - ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" - ", sipx_type=%#02x}, %u) = %d EBADF (%m)\n", - h_port, h_network, - c_ipx.sipx_node0, c_ipx.sipx_node1, - c_ipx.sipx_node2, c_ipx.sipx_node3, - c_ipx.sipx_node4, c_ipx.sipx_node5, - c_ipx.sipx_type, len, ret); + + for (size_t i = 0; i < 2; i++) { + ipx->sipx_zero = i ? 0x42 : 0; + int ret = connect(-1, (void *) ipx, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" + ", sipx_network=htonl(%#x)" + ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" + ", sipx_type=%#02x%s}, %u) = %d EBADF (%m)\n", + h_port, h_network, + c_ipx.sipx_node0, c_ipx.sipx_node1, + c_ipx.sipx_node2, c_ipx.sipx_node3, + c_ipx.sipx_node4, c_ipx.sipx_node5, + c_ipx.sipx_type, i ? ", sipx_zero=0x42" : "", + len, ret); + } } +#endif /* HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H */ /* for a bit more compact AX.25 address definitions */ #define AX25_ADDR(c_, s_) \ @@ -348,7 +359,7 @@ rc = connect(-1, sax_void, sizeof(struct sockaddr_ax25)); pidns_print_leader(); printf("connect(-1, {sa_family=AF_AX25, fsa_ax25={sax25_call=VALID-13" - ", sax25_ndigis=8}, fsa_digipeater=???}, %zu) = %s\n", + ", sax25_ndigis=8}, fsa_digipeater=...}, %zu) = %s\n", sizeof(struct sockaddr_ax25), sprintrc(rc)); sax->fsa_ax25.sax25_ndigis = 0; @@ -369,7 +380,7 @@ ", {ax25_call=\"\\xa6\\xa6\\x92\\x88\\x40\\x40\\x20\"" "} /* SSID-0 */" ", *" - ", ???, ...}, %zu) = %s\n", + ", ..., ...}, %zu) = %s\n", size, sprintrc(rc)); sax->fsa_digipeater2.ax25_call6 = 0x4; @@ -384,7 +395,7 @@ "} /* SSID-0 */" ", {ax25_call=\"\\x40\\x40\\x40\\x40\\x40\\x40\\x04\"} /* -2 */" ", {ax25_call=\"\\x9c\\xaa\\x98\\x98\\x00\\x00\\x06\"}" - ", ???}, %zu) = %s\n", + ", ...}, %zu) = %s\n", size, sprintrc(rc)); memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); @@ -488,7 +499,23 @@ nl->nl_pid = 1234567890; nl->nl_groups = 0xfacefeed; unsigned int len = sizeof(*nl); - int ret = connect(-1, (void *) nl, len); + + int ret = connect(-1, (void *) nl, len - 1); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, sa_data=\"\\377\\377" + BE_LE("I\\226\\2\\322", "\\322\\2\\226I") + BE_LE("\\372\\316\\376", "\\355\\376\\316") + "\"}, %u) = %d EBADF (%m)\n", + len - 1, ret); + + ret = connect(-1, (void *) nl, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, nl_pad=%#x, nl_pid=%d" + ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", + nl->nl_pad, nl->nl_pid, nl->nl_groups, len, ret); + + nl->nl_pad = 0; + ret = connect(-1, (void *) nl, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_NETLINK, nl_pid=%d" ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", @@ -496,6 +523,7 @@ nl = ((void *) nl) - 4; nl->nl_family = AF_NETLINK; + nl->nl_pad = 0; nl->nl_pid = getpid(); nl->nl_groups = 0xfacefeed; len = sizeof(*nl) + 4; @@ -663,9 +691,9 @@ int ret = connect(-1, l2, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_BLUETOOTH" - ", l2_psm=htobs(L2CAP_PSM_DYN_START + %hu)" + ", l2_psm=htobs(L2CAP_PSM_DYN_START+%hu)" ", l2_bdaddr=%02x:%02x:%02x:%02x:%02x:%02x" - ", l2_cid=htobs(L2CAP_CID_DYN_START + %hu)" + ", l2_cid=htobs(L2CAP_CID_DYN_START+%hu)" # ifdef HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE ", l2_bdaddr_type=0xce /* BDADDR_??? */" # endif @@ -773,7 +801,9 @@ check_un(); check_in(); check_in6(); +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H check_ipx(); +#endif check_ax25(); check_x25(); check_nl();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/net-yy-unix.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/net-yy-unix.c
Changed
@@ -17,6 +17,10 @@ #include <unistd.h> #include <sys/socket.h> #include <sys/un.h> +#ifdef HAVE_SYS_XATTR_H +# include <sys/xattr.h> +# include "xmalloc.h" +#endif #include "accept_compat.h" @@ -41,50 +45,69 @@ int listen_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (listen_fd < 0) perror_msg_and_skip("socket"); + + char sock_proto_name256; +#ifdef HAVE_SYS_XATTR_H + char *path = xasprintf("/proc/self/fd/%u", listen_fd); + size_t sock_proto_name_len = + getxattr(path, "system.sockprotoname", sock_proto_name, + sizeof(sock_proto_name) - 1); + free(path); + if (sock_proto_name_len && + sock_proto_name_len < sizeof(sock_proto_name)) + sock_proto_namesock_proto_name_len = '\0'; + else +#endif + strcpy(sock_proto_name, "UNIX"); + unsigned long listen_inode = inode_of_sockfd(listen_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - listen_fd, listen_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + listen_fd, sock_proto_name, listen_inode); (void) unlink(TEST_SOCKET); if (bind(listen_fd, listen_sa, *len)) perror_msg_and_skip("bind"); - printf("bind(%d<UNIX:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("bind(%d<%s:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" ", %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + (unsigned) *len); if (listen(listen_fd, 1)) perror_msg_and_skip("listen"); - printf("listen(%d<UNIX:%lu,\"%s\">, 1) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("listen(%d<%s:%lu,\"%s\">, 1) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); *len = sizeof(*optval); if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) perror_msg_and_fail("getsockopt"); - printf("getsockopt(%d<UNIX:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" + printf("getsockopt(%d<%s:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + *optval, (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); unsigned long connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); struct sockaddr * const accept_sa = tail_alloc(sizeof(addr)); memset(accept_sa, 0, sizeof(addr)); @@ -93,72 +116,78 @@ if (accept_fd < 0) perror_msg_and_fail("accept"); unsigned long accept_inode = inode_of_sockfd(accept_fd); - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX}" - ", %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX}" + ", %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu>, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, + connect_fd, sock_proto_name, connect_inode, accept_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len); char text = "text"; assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu>) = 0\n", - connect_fd, connect_inode, accept_inode); + printf("close(%d<%s:%lu->%lu>) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); *optval = 1; *len = sizeof(*optval); if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) perror_msg_and_fail("setsockopt"); - printf("setsockopt(%d<UNIX:%lu>, SOL_SOCKET, SO_PASSCRED" + printf("setsockopt(%d<%s:%lu>, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - connect_fd, connect_inode, *optval, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, *optval, + (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); memset(accept_sa, 0, sizeof(addr)); *len = sizeof(addr); @@ -168,48 +197,53 @@ accept_inode = inode_of_sockfd(accept_fd); const char * const sun_path1 = ((struct sockaddr_un *) accept_sa)->sun_path + 1; - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=@\"%s\"}, %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, sun_path1, - (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=@\"%s\"}, %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + sun_path1, (int) sizeof(addr), (int) *len, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1, - TEST_SOCKET, (int) sizeof(addr), (int) *len); + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, TEST_SOCKET, (int) sizeof(addr), (int) *len); assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, sun_path1, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,@\"%s\">) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1); + printf("close(%d<%s:%lu->%lu,@\"%s\">) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); assert(unlink(TEST_SOCKET) == 0); assert(close(listen_fd) == 0); - printf("close(%d<UNIX:%lu,\"%s\">) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("close(%d<%s:%lu,\"%s\">) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/netlink_audit--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/netlink_audit--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of NETLINK_SOCK_DIAG protocol decoding # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/netlink_protocol.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/netlink_protocol.c
Changed
@@ -169,8 +169,7 @@ # define ABBREV_LEN (DEFAULT_STRLEN + 1) const unsigned int msg_len = sizeof(struct nlmsghdr) * ABBREV_LEN; struct nlmsghdr *const msgs = tail_alloc(msg_len); - unsigned int i; - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { msgsi.nlmsg_len = sizeof(*msgs); msgsi.nlmsg_type = NLMSG_NOOP; msgsi.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; @@ -181,7 +180,7 @@ rc = sendto(fd, msgs, msg_len, MSG_DONTWAIT, NULL, 0); errstr = sprintrc(rc); printf("sendto(%d, ", fd); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nlmsg_len=%u, nlmsg_type=NLMSG_NOOP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/netlink_route.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/netlink_route.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,37 +19,47 @@ #include <linux/if_addrlabel.h> #include <linux/if_arp.h> #include <linux/if_bridge.h> +#include <linux/if_link.h> #include <linux/ip.h> #include <linux/neighbour.h> #include <linux/netconf.h> #include <linux/rtnetlink.h> +#include <linux/nexthop.h> -#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ +#define TEST_NL_ROUTE_(fd_, nlh0_, type_, type_str_, obj_, print_family_, ...) \ do { \ /* family and string */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", ...}")); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", ...}")); \ \ /* sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_), \ - (print_family_); \ - __VA_ARGS__); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_), \ + (print_family_); \ + __VA_ARGS__); \ \ /* short read of sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", %p}", \ - NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", %p}", \ + NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ } while (0) +#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ + TEST_NL_ROUTE_((fd_), (nlh0_), (type_), #type_, (obj_), \ + (print_family_), __VA_ARGS__) \ + /* End of TEST_NL_ROUTE definition */ + static void test_nlmsg_type(const int fd) { @@ -100,11 +110,11 @@ fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); nlh.nlmsg_type = RTM_DELLINK; - nlh.nlmsg_flags = NLM_F_NONREC; + nlh.nlmsg_flags = NLM_F_NONREC | NLM_F_BULK; rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); printf("sendto(%d, {nlmsg_len=%u, nlmsg_type=RTM_DELLINK" - ", nlmsg_flags=NLM_F_NONREC, nlmsg_seq=0, nlmsg_pid=0}" - ", %u, MSG_DONTWAIT, NULL, 0) = %s\n", + ", nlmsg_flags=NLM_F_NONREC|NLM_F_BULK, nlmsg_seq=0" + ", nlmsg_pid=0}, %u, MSG_DONTWAIT, NULL, 0) = %s\n", fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); } @@ -170,8 +180,46 @@ } static void +test_rtnl_unsupported_msg(const int fd, uint16_t msg, const char *str) +{ + char buf64; + char namesizeof("0xffff /* RTM_??? */"); + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); + + fill_memory(buf, sizeof(buf)); + buf0 = AF_INET; + + if (!str) + snprintf(name, sizeof(name), "%#hx /* RTM_??? */", msg); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + 1, buf, 1, + printf("{family=AF_INET}")); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(buf), buf, sizeof(buf), + printf("{family=AF_INET, data="); + print_quoted_hex(buf + 1, DEFAULT_STRLEN); + printf("...}")); +} + +static void +test_rtnl_unknown_msg(const int fd, uint16_t msg) +{ + test_rtnl_unsupported_msg(fd, msg, NULL); +} + +static void test_rtnl_link(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWLINK) }, + { ARG_STR(RTM_DELLINK) }, + { ARG_STR(RTM_GETLINK) }, + { ARG_STR(RTM_SETLINK) }, + }; const struct ifinfomsg ifinfo = { .ifi_family = AF_UNIX, .ifi_type = ARPHRD_LOOPBACK, @@ -181,19 +229,28 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, - printf("{ifi_family=AF_UNIX"), - printf(", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP"); - printf(", "); - PRINT_FIELD_X(ifinfo, ifi_change); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, ifinfo, + printf("{ifi_family=AF_UNIX"), + printf(", ifi_type=ARPHRD_LOOPBACK" + ", ifi_index=" IFINDEX_LO_STR + ", ifi_flags=IFF_UP"); + printf(", "); + PRINT_FIELD_X(ifinfo, ifi_change); + printf("}")); + } } static void test_rtnl_addr(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDR) }, + { ARG_STR(RTM_DELADDR) }, + { ARG_STR(RTM_GETADDR) }, + { ARG_STR(RTM_GETMULTICAST) }, + { ARG_STR(RTM_GETANYCAST) }, + }; const struct ifaddrmsg msg = { .ifa_family = AF_UNIX, .ifa_prefixlen = 0xde, @@ -203,19 +260,34 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, - printf("{ifa_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifa_prefixlen); - printf(", ifa_flags=IFA_F_SECONDARY" - ", ifa_scope=RT_SCOPE_UNIVERSE" - ", ifa_index=" IFINDEX_LO_STR); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifa_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifa_prefixlen); + printf(", ifa_flags=IFA_F_SECONDARY" + ", ifa_scope=RT_SCOPE_UNIVERSE" + ", ifa_index=" IFINDEX_LO_STR); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDR + 3); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST + 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST + 1); } static void test_rtnl_route(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWROUTE) }, + { ARG_STR(RTM_DELROUTE) }, + { ARG_STR(RTM_GETROUTE) }, + }; static const struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -229,23 +301,32 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, - printf("{rtm_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, rtm_dst_len); - printf(", "); - PRINT_FIELD_U(msg, rtm_src_len); - printf(", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{rtm_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, rtm_dst_len); + printf(", "); + PRINT_FIELD_U(msg, rtm_src_len); + printf(", rtm_tos=IPTOS_LOWDELAY" + ", rtm_table=RT_TABLE_DEFAULT" + ", rtm_protocol=RTPROT_KERNEL" + ", rtm_scope=RT_SCOPE_UNIVERSE" + ", rtm_type=RTN_LOCAL" + ", rtm_flags=RTM_F_NOTIFY}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWROUTE + 3); } static void test_rtnl_rule(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWRULE) }, + { ARG_STR(RTM_DELRULE) }, + { ARG_STR(RTM_GETRULE) }, + }; struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -257,20 +338,29 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETRULE, msg, - printf("{family=AF_UNIX"), - printf(", dst_len=%u, src_len=%u" - ", tos=IPTOS_LOWDELAY" - ", table=RT_TABLE_UNSPEC" - ", action=FR_ACT_TO_TBL" - ", flags=FIB_RULE_INVERT}", - msg.rtm_dst_len, - msg.rtm_src_len)); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", dst_len=%u, src_len=%u" + ", tos=IPTOS_LOWDELAY" + ", table=RT_TABLE_UNSPEC" + ", action=FR_ACT_TO_TBL" + ", flags=FIB_RULE_INVERT}", + msg.rtm_dst_len, + msg.rtm_src_len)); + } + + test_rtnl_unknown_msg(fd, RTM_NEWRULE + 3); } static void test_rtnl_neigh(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGH) }, + { ARG_STR(RTM_DELNEIGH) }, + { ARG_STR(RTM_GETNEIGH) }, + }; const struct ndmsg msg = { .ndm_family = AF_UNIX, .ndm_ifindex = ifindex_lo(), @@ -280,31 +370,58 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETNEIGH, msg, - printf("{ndm_family=AF_UNIX"), - printf(", ndm_ifindex=" IFINDEX_LO_STR - ", ndm_state=NUD_PERMANENT" - ", ndm_flags=NTF_PROXY" - ", ndm_type=RTN_UNSPEC}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ndm_family=AF_UNIX"), + printf(", ndm_ifindex=" IFINDEX_LO_STR + ", ndm_state=NUD_PERMANENT" + ", ndm_flags=NTF_PROXY" + ", ndm_type=RTN_UNSPEC}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGH + 3); } static void test_rtnl_neightbl(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGHTBL) }, + { ARG_STR(RTM_GETNEIGHTBL) }, + { ARG_STR(RTM_SETNEIGHTBL) }, + }; static const struct ndtmsg msg = { .ndtm_family = AF_NETLINK }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNEIGHTBL, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ndtm_family=AF_NETLINK}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ndtm_family=AF_NETLINK}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGHTBL + 1); } static void test_rtnl_tc(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWQDISC) }, + { ARG_STR(RTM_DELQDISC) }, + { ARG_STR(RTM_GETQDISC) }, + { ARG_STR(RTM_NEWTCLASS) }, + { ARG_STR(RTM_DELTCLASS) }, + { ARG_STR(RTM_GETTCLASS) }, + { ARG_STR(RTM_NEWTFILTER) }, + { ARG_STR(RTM_DELTFILTER) }, + { ARG_STR(RTM_GETTFILTER) }, + { ARG_STR(RTM_NEWCHAIN) }, + { ARG_STR(RTM_DELCHAIN) }, + { ARG_STR(RTM_GETCHAIN) }, + }; const struct tcmsg msg = { .tcm_family = AF_UNIX, .tcm_ifindex = ifindex_lo(), @@ -314,35 +431,56 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETQDISC, msg, - printf("{tcm_family=AF_UNIX"), - printf(", tcm_ifindex=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, tcm_handle); - printf(", "); - PRINT_FIELD_U(msg, tcm_parent); - printf(", "); - PRINT_FIELD_U(msg, tcm_info); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{tcm_family=AF_UNIX"), + printf(", tcm_ifindex=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, tcm_handle); + printf(", "); + PRINT_FIELD_U(msg, tcm_parent); + printf(", "); + PRINT_FIELD_U(msg, tcm_info); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWQDISC + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTCLASS + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTFILTER + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCHAIN + 3); } static void test_rtnl_tca(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWACTION) }, + { ARG_STR(RTM_DELACTION) }, + { ARG_STR(RTM_GETACTION) }, + }; struct tcamsg msg = { .tca_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETACTION, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{tca_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{tca_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWACTION + 3); } static void test_rtnl_addrlabel(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDRLABEL) }, + { ARG_STR(RTM_DELADDRLABEL) }, + { ARG_STR(RTM_GETADDRLABEL) }, + }; const struct ifaddrlblmsg msg = { .ifal_family = AF_UNIX, .ifal_prefixlen = 0xaf, @@ -352,72 +490,208 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDRLABEL, msg, - printf("{ifal_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifal_prefixlen); - printf(", "); - PRINT_FIELD_U(msg, ifal_flags); - printf(", ifal_index=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, ifal_seq); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifal_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifal_prefixlen); + printf(", "); + PRINT_FIELD_U(msg, ifal_flags); + printf(", ifal_index=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, ifal_seq); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDRLABEL + 3); } static void test_rtnl_dcb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_GETDCB) }, + { ARG_STR(RTM_SETDCB) }, + }; static const struct dcbmsg msg = { .dcb_family = AF_UNIX, .cmd = DCB_CMD_UNDEFINED }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETDCB, msg, - printf("{dcb_family=AF_UNIX"), - printf(", cmd=DCB_CMD_UNDEFINED}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{dcb_family=AF_UNIX"), + printf(", cmd=DCB_CMD_UNDEFINED}")); + } + + test_rtnl_unknown_msg(fd, RTM_GETDCB - 2); + test_rtnl_unknown_msg(fd, RTM_GETDCB - 1); } static void test_rtnl_netconf(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNETCONF) }, + { ARG_STR(RTM_DELNETCONF) }, + { ARG_STR(RTM_GETNETCONF) }, + }; static const struct netconfmsg msg = { .ncm_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNETCONF, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ncm_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ncm_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNETCONF + 3); } static void test_rtnl_mdb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWMDB) }, + { ARG_STR(RTM_DELMDB) }, + { ARG_STR(RTM_GETMDB) }, + }; const struct br_port_msg msg = { .family = AF_UNIX, .ifindex = ifindex_lo() }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETMDB, msg, - printf("{family=AF_UNIX"), - printf(", ifindex=" IFINDEX_LO_STR "}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", ifindex=" IFINDEX_LO_STR "}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWMDB + 3); } static void -test_rtnl_nsid(const int fd) +test_rtnl_rtgen(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNSID) }, + { ARG_STR(RTM_DELNSID) }, + { ARG_STR(RTM_GETNSID) }, + { ARG_STR(RTM_NEWCACHEREPORT) }, + }; static const struct rtgenmsg msg = { .rtgen_family = AF_UNIX }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNSID, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{rtgen_family=AF_UNIX}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{rtgen_family=AF_UNIX}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNSID + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 3); +} + +static void +test_rtnl_nexthop(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEXTHOP) }, + { ARG_STR(RTM_DELNEXTHOP) }, + { ARG_STR(RTM_GETNEXTHOP) }, + }; + static const struct { + struct nhmsg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .nh_family = AF_UNIX, .nh_scope = RT_SCOPE_UNIVERSE, + .nh_protocol = RTPROT_KERNEL, .nh_flags = RTNH_F_DEAD, }, + "{nh_family=AF_UNIX", ", nh_scope=RT_SCOPE_UNIVERSE" + ", nh_protocol=RTPROT_KERNEL, nh_flags=RTNH_F_DEAD}" }, + { { .nh_family = 45, .nh_scope = 200, + .nh_protocol = 5, .resvd=1, .nh_flags = 0x80, }, + "{nh_family=AF_MCTP", ", nh_scope=RT_SCOPE_SITE" + ", nh_protocol=0x5 /* RTPROT_??? */, resvd=0x1" + ", nh_flags=0x80 /* RTNH_F_??? */}" }, + { { .nh_family = 46, .nh_scope = 201, + .nh_protocol = 99, .resvd=0xff, .nh_flags = 0xdeadbeef, }, + "{nh_family=0x2e /* AF_??? */", ", nh_scope=0xc9" + ", nh_protocol=RTPROT_OPENR, resvd=0xff, nh_flags=RTNH_F_DEAD" + "|RTNH_F_PERVASIVE|RTNH_F_ONLINK|RTNH_F_OFFLOAD" + "|RTNH_F_UNRESOLVED|RTNH_F_TRAP|0xdeadbe80}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOP + 3); +} + +static void +test_rtnl_ifstats(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWSTATS) }, + { ARG_STR(RTM_GETSTATS) }, + }; + const struct { + struct if_stats_msg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .family = AF_UNIX, .pad1 = 0, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0, }, + "{family=AF_UNIX", ", ifindex=" IFINDEX_LO_STR + ", filter_mask=0}" }, + { { .family = 45, .pad1 = 0, .pad2 = 0xdead, + .ifindex = 0xdeadbeef, .filter_mask = 1, }, + "{family=AF_MCTP", ", pad2=0xdead, ifindex=3735928559" + ", filter_mask=1<<IFLA_STATS_UNSPEC}" }, + { { .family = 46, .pad1 = 0xca, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0xff, }, + "{family=0x2e /* AF_??? */", ", pad1=0xca" + ", ifindex=" IFINDEX_LO_STR + ", filter_mask=1<<IFLA_STATS_UNSPEC|1<<IFLA_STATS_LINK_64" + "|1<<IFLA_STATS_LINK_XSTATS|1<<IFLA_STATS_LINK_XSTATS_SLAVE" + "|1<<IFLA_STATS_LINK_OFFLOAD_XSTATS|1<<IFLA_STATS_AF_SPEC" + "|0xc0}" }, + { { .family = 255, .pad1 = 0xde, .pad2 = 0xbeef, + .ifindex = ifindex_lo(), .filter_mask = 0xdec0dec0, }, + "{family=0xff /* AF_??? */", ", pad1=0xde" + ", pad2=0xbeef, ifindex=" IFINDEX_LO_STR + ", filter_mask=0xdec0dec0 /* 1<<IFLA_STATS_??? */}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 1); + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 3); } int main(void) @@ -430,19 +704,57 @@ test_nlmsg_flags(fd); test_nlmsg_done(fd); test_rtnl_unspec(fd); - test_rtnl_link(fd); - test_rtnl_addr(fd); - test_rtnl_route(fd); - test_rtnl_rule(fd); - test_rtnl_neigh(fd); - test_rtnl_neightbl(fd); - test_rtnl_tc(fd); - test_rtnl_tca(fd); - test_rtnl_addrlabel(fd); - test_rtnl_dcb(fd); - test_rtnl_netconf(fd); - test_rtnl_mdb(fd); - test_rtnl_nsid(fd); + + test_rtnl_link(fd); /* 16 */ + test_rtnl_addr(fd); /* 20, 56, 60 */ + test_rtnl_route(fd); /* 24 */ + test_rtnl_neigh(fd); /* 28 */ + test_rtnl_rule(fd); /* 32 */ + test_rtnl_tc(fd); /* 36, 40, 44, 100 */ + test_rtnl_tca(fd); /* 48 */ + + /* prefix */ /* 52 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWPREFIX)); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 1); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 2); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 3); + + test_rtnl_neightbl(fd); /* 64 */ + + /* nduserport */ /* 68 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNDUSEROPT)); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 3); + + test_rtnl_addrlabel(fd); /* 72 */ + test_rtnl_dcb(fd); /* 76 */ + test_rtnl_netconf(fd); /* 80 */ + test_rtnl_mdb(fd); /* 84 */ + test_rtnl_rtgen(fd); /* 88, 96 */ + test_rtnl_ifstats(fd); /* 92 */ + test_rtnl_nexthop(fd); /* 104 */ + + /* linkprop */ /* 108 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETLINKPROP)); + test_rtnl_unknown_msg(fd, RTM_NEWLINKPROP + 3); + + /* vlan */ /* 112 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETVLAN)); + test_rtnl_unknown_msg(fd, RTM_NEWVLAN + 3); + + /* nexthopbucket */ /* 116 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETNEXTHOPBUCKET)); + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOPBUCKET + 3); + + for (uint16_t i = 120; i < 124; i++) + test_rtnl_unknown_msg(fd, i); printf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr.c
Changed
@@ -201,9 +201,8 @@ msg = tail_alloc(msg_len); memcpy(msg, &c_msg, sizeof(c_msg)); msg->nlh.nlmsg_len = msg_len; - unsigned int i; nla = NLMSG_ATTR(msg, sizeof(msg->udm)); - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { nlai * 2 = (struct nlattr) { .nla_len = NLA_HDRLEN * 2 - 1, .nla_type = UNIX_DIAG_FIRST_UNUSED + i @@ -219,7 +218,7 @@ ", udiag_state=TCP_FIN_WAIT1, udiag_ino=0" ", udiag_cookie=0, 0}, ", fd, msg_len); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nla_len=%u, nla_type=%#x /* UNIX_DIAG_??? */}, ",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport.c
Added
@@ -0,0 +1,250 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_netlink.h" +#include "test_nlattr.h" + +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/mroute.h> +#include <linux/mroute6.h> + +#include "xlat.h" +#include "xlat/addrfams.h" + +static uint8_t af; +static char af_str256; + +/* uses global "af" variable */ +static void +init_rtgen(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_NEWCACHEREPORT, + .nlmsg_flags = NLM_F_EXCL|NLM_F_APPEND, + ); + + struct rtgenmsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct rtgenmsg, msg, + .rtgen_family = af, + ); +} + +static void +print_rtgen(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {rtgen_family=%s}", + msg_len, XLAT_ARGS(RTM_NEWCACHEREPORT), + XLAT_ARGS(NLM_F_EXCL|NLM_F_APPEND), af_str); +} + +int +main(void) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct rtgenmsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 16); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown AF_* */ + static uint8_t skip_afs = { RTNL_FAMILY_IPMR, RTNL_FAMILY_IP6MR }; + struct { + struct rtgenmsg ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) hdr; + struct { + char strsizeof(unknown_msg); + } ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) payload; + } buf; + memcpy(buf.payload.str, unknown_msg, sizeof(unknown_msg)); + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + buf.hdr.rtgen_family = i; + TEST_NETLINK_(fd, nlh0, RTM_NEWCACHEREPORT, + XLAT_KNOWN(0x60, "RTM_NEWCACHEREPORT"), + NLM_F_REPLACE, + XLAT_KNOWN(0x100, "NLM_F_REPLACE"), + sizeof(buf), &buf, sizeof(buf), + printf("{rtgen_family=%s}" + ", \"\\xab\\xac\\xdb\\xcd\"", + sprintxval(addrfams, i, + "RTNL_FAMILY_???"))); + } + + + /* RTNL_FAMILY_IPMR */ + af = RTNL_FAMILY_IPMR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, XLAT_ARGS(RTNL_FAMILY_IPMR)); + + /* RTNL_FAMILY_IPMR: unknown, undecoded */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IPMRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IPMRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x7, "IPMRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IPMRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk_attrsi.val, unk_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IPMR: IPMRA_CREPORT_MSGTYPE */ + static const struct strval8 mr_msg_types = { + { ARG_XLAT_UNKNOWN(0, "IGMPMSG_???") }, + { ARG_XLAT_KNOWN(0x1, "IGMPMSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "IGMPMSG_WRONGVIF") }, + { ARG_XLAT_KNOWN(0x3, "IGMPMSG_WHOLEPKT") }, + { ARG_XLAT_KNOWN(0x4, "IGMPMSG_WRVIFWHOLE") }, + { ARG_XLAT_UNKNOWN(0x5, "IGMPMSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "IGMPMSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IPMRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, "IPMRA_CREPORT_MSGTYPE"), + pattern, mr_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr_msg_typesi.str)); + } + + /* RTNL_FAMILY_IPMR: u32 */ + static const struct strval16 u32_mr_attrs = { + { ENUM_KNOWN(0x2, IPMRA_CREPORT_VIF_ID) }, + { ENUM_KNOWN(0x6, IPMRA_CREPORT_TABLE) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_mr_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr_attrsi.val, u32_mr_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in_addr */ + static const struct strval16 in_addr_attrs = { + { ENUM_KNOWN(0x3, IPMRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IPMRA_CREPORT_DST_ADDR) }, + }; + static uint32_t ipv4_addr = BE32(0xdeadface); + for (size_t i = 0; i < ARRAY_SIZE(in_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in_addr_attrsi.val, + in_addr_attrsi.str, + pattern, ipv4_addr, 4, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xde\\xad\\xfa\\xce\"", + "inet_addr(\"222.173.250.206\")")) + ); + } + + + /* RTNL_FAMILY_IP6MR */ + af = RTNL_FAMILY_IP6MR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, + XLAT_ARGS(RTNL_FAMILY_IP6MR)); + + /* RTNL_FAMILY_IP6MR: unknown, undecoded */ + static const struct strval16 unk6_attrs = { + { ENUM_KNOWN(0, IP6MRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IP6MRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x6, "IP6MRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IP6MRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk6_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk6_attrsi.val, unk6_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IP6MR: IP6MRA_CREPORT_MSGTYPE */ + static const struct strval8 mr6_msg_types = { + { ARG_XLAT_UNKNOWN(0, "MRT6MSG_???") }, + { ARG_XLAT_KNOWN(0x1, "MRT6MSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "MRT6MSG_WRONGMIF") }, + { ARG_XLAT_KNOWN(0x3, "MRT6MSG_WHOLEPKT") }, + { ARG_XLAT_UNKNOWN(0x4, "MRT6MSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "MRT6MSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr6_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IP6MRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, + "IP6MRA_CREPORT_MSGTYPE"), + pattern, mr6_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr6_msg_typesi.str)); + } + + /* RTNL_FAMILY_IP6MR: u32 */ + static const struct strval16 u32_mr6_attrs = { + { ENUM_KNOWN(0x2, IP6MRA_CREPORT_MIF_ID) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_mr6_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr6_attrsi.val, u32_mr6_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in6_addr */ + static const struct strval16 in6_addr_attrs = { + { ENUM_KNOWN(0x3, IP6MRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IP6MRA_CREPORT_DST_ADDR) }, + }; + uint8_t ipv6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + for (size_t i = 0; i < ARRAY_SIZE(in6_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in6_addr_attrsi.val, + in6_addr_attrsi.str, + pattern, ipv6_addr, 16, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_cachereport.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ifinfomsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifinfomsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -293,7 +293,9 @@ .tx_heartbeat_errors = 0xedaededdadcdea, .tx_window_errors = 0xfdacdeaccedcda, .rx_compressed = 0xacdbbcacdbccef, - .tx_compressed = 0xbcdadefcdedfea + .tx_compressed = 0xbcdadefcdedfea, + .rx_nohandler = 0xcbdbacbfbafffd, + .rx_otherhost_dropped = 0xbefdafcfeeadcbfb }; TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -346,13 +348,72 @@ PRINT_FIELD_U(st64, tx_compressed); printf(", "); PRINT_FIELD_U(st64, rx_nohandler); + printf(", "); + PRINT_FIELD_U(st64, rx_otherhost_dropped); printf("}")); - const unsigned int sizeof_stats64 = + const unsigned int stats64_rx_nohandler_size = + offsetofend(struct rtnl_link_stats64, rx_nohandler); + TEST_NLATTR(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_STATS64, stats64_rx_nohandler_size, + &st64, stats64_rx_nohandler_size, + printf("{"); + PRINT_FIELD_U(st64, rx_packets); + printf(", "); + PRINT_FIELD_U(st64, tx_packets); + printf(", "); + PRINT_FIELD_U(st64, rx_bytes); + printf(", "); + PRINT_FIELD_U(st64, tx_bytes); + printf(", "); + PRINT_FIELD_U(st64, rx_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_dropped); + printf(", "); + PRINT_FIELD_U(st64, tx_dropped); + printf(", "); + PRINT_FIELD_U(st64, multicast); + printf(", "); + PRINT_FIELD_U(st64, collisions); + printf(", "); + PRINT_FIELD_U(st64, rx_length_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_over_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_crc_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_frame_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_missed_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_aborted_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_carrier_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_heartbeat_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_window_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_compressed); + printf(", "); + PRINT_FIELD_U(st64, tx_compressed); + printf(", "); + PRINT_FIELD_U(st64, rx_nohandler); + printf("}")); + + const unsigned int stats64_tx_compressed_size = offsetofend(struct rtnl_link_stats64, tx_compressed); TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, - IFLA_STATS64, sizeof_stats64, &st64, sizeof_stats64, + IFLA_STATS64, stats64_tx_compressed_size, + &st64, stats64_tx_compressed_size, printf("{"); PRINT_FIELD_U(st64, rx_packets); printf(", "); @@ -411,6 +472,7 @@ printf("{nla_len=%u, nla_type=IFLA_INFO_KIND}", nla.nla_len)); + /* IFLA_VF_PORTS */ nla.nla_type = IFLA_VF_PORT; TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -418,6 +480,24 @@ printf("{nla_len=%u, nla_type=IFLA_VF_PORT}", nla.nla_len)); + /* IFLA_EXT_MASK */ + static const struct strval32 ifla_ext_masks = { + { ARG_STR(0) }, + { ARG_STR(RTEXT_FILTER_VF) }, + { ARG_STR(0xdeface80) " /* RTEXT_FILTER_??? */" }, + { 0xdeadfeed, "RTEXT_FILTER_VF|RTEXT_FILTER_BRVLAN_COMPRESSED" + "|RTEXT_FILTER_SKIP_STATS|RTEXT_FILTER_CFM_CONFIG" + "|RTEXT_FILTER_CFM_STATUS|0xdeadfe80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(ifla_ext_masks); i++) { + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_EXT_MASK, pattern, + ifla_ext_masksi.val, + printf("%s", ifla_ext_masksi.str)); + } + + /* IFLA_EVENT */ static const struct { uint32_t val; const char *str;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ifla.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla.h
Changed
@@ -17,6 +17,13 @@ # error "Please define IFLA_ATTR before including this file" # endif +# ifndef IFLA_AF +# define IFLA_AF AF_UNIX +# endif +# ifndef IFLA_AF_STR +# define IFLA_AF_STR "AF_UNIX" +# endif + static const unsigned int hdrlen = sizeof(struct ifinfomsg); static void @@ -30,7 +37,7 @@ struct ifinfomsg *const msg = NLMSG_DATA(nlh); SET_STRUCT(struct ifinfomsg, msg, - .ifi_family = AF_UNIX, + .ifi_family = IFLA_AF, .ifi_type = ARPHRD_LOOPBACK, .ifi_index = ifindex_lo(), .ifi_flags = IFF_UP, @@ -46,13 +53,16 @@ static void print_ifinfomsg(const unsigned int msg_len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETLINK, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=AF_UNIX" - ", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP, ifi_change=0}" - ", {nla_len=%u, nla_type=" STRINGIFY_VAL(IFLA_ATTR) "}", - msg_len, msg_len - NLMSG_SPACE(hdrlen)); + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=" XLAT_FMT + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}" + ", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + XLAT_SEL(IFLA_AF, IFLA_AF_STR), XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP), + msg_len - NLMSG_SPACE(hdrlen), + XLAT_SEL(IFLA_ATTR, STRINGIFY_VAL(IFLA_ATTR))); } #endif /* STRACE_TESTS_NLATTR_IFLA_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_af_inet6.h
Added
@@ -0,0 +1,225 @@ +/* + * IFLA_INET6_* protocol-specific netlink attribute decoding check common code. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_NLATTR_IFLA_AF_INET6 +# define STRACE_TESTS_NLATTR_IFLA_AF_INET6 + +# include "tests.h" + +static void +print_arr_val(uint32_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%d", *val); +} + +static void +print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%" PRIu64, *val); +} + +static void +print_inet6_conf_val(uint32_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "DEVCONF_FORWARDING"), + XLAT_KNOWN(1, "DEVCONF_HOPLIMIT"), + }; + + print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_inet6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "IPSTATS_MIB_NUM"), + XLAT_KNOWN(1, "IPSTATS_MIB_INPKTS"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_icmp6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "ICMP6_MIB_NUM"), + XLAT_KNOWN(1, "ICMP6_MIB_INMSGS"), + XLAT_KNOWN(2, "ICMP6_MIB_INERRORS"), + XLAT_KNOWN(3, "ICMP6_MIB_OUTMSGS"), + XLAT_KNOWN(4, "ICMP6_MIB_OUTERRORS"), + XLAT_KNOWN(5, "ICMP6_MIB_CSUMERRORS"), + XLAT_UNKNOWN(6, "ICMP6_MIB_???"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +check_ifla_af_inet6(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + void *pattern, size_t depth) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + /* Undecoded, unknown */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 0, XLAT_KNOWN(0, "IFLA_INET6_UNSPEC"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 10, "0xa" NRAW(" /* IFLA_INET6_??? */"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_FLAGS */ + static const struct { + uint32_t flags; + const char *str; + } inet6_flags = { + { 0xf, "0xf" NRAW(" /* IF_??? */") }, + { ARG_XLAT_KNOWN(0x10, "IF_RS_SENT") }, + { ARG_XLAT_KNOWN(0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF") }, + { ARG_XLAT_KNOWN(0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED" + "|IF_RA_OTHERCONF|IF_READY" + "|0x5eadc00e") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, + 1, XLAT_KNOWN(0x1, + "IFLA_INET6_FLAGS"), + pattern, inet6_flagsi.flags, + print_quoted_hex, depth, + printf("%s", inet6_flagsi.str)); + } + + + /* IFLA_INET6_CONF */ + uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_CONF, + XLAT_KNOWN(0x2, "IFLA_INET6_CONF"), + pattern, inet6_conf_vals, depth, + print_inet6_conf_val); + + + /* IFLA_INET6_STATS */ + uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_STATS, + XLAT_KNOWN(0x3, "IFLA_INET6_STATS"), + pattern, inet6_stats_vals, depth, + print_inet6_stats_val); + + + /* IFLA_INET6_MCAST */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 4, XLAT_KNOWN(0x4, "IFLA_INET6_MCAST"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_CACHEINFO */ + static const struct ifla_cacheinfo ci = { + 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, 5, + XLAT_KNOWN(0x5, "IFLA_INET6_CACHEINFO"), + pattern, ci, print_quoted_hex, depth, + printf("{"); + PRINT_FIELD_U(ci, max_reasm_len); + printf(", "); + PRINT_FIELD_U(ci, tstamp); + printf(", "); + PRINT_FIELD_U(ci, reachable_time); + printf(", "); + PRINT_FIELD_U(ci, retrans_time); + printf("}")); + + + /* IFLA_INET6_ICMP6STATS */ + uint64_t icmp6_stats_vals = { + 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, + 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, + 0xdeadc0deda7afacc + }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_ICMP6STATS, + XLAT_KNOWN(0x6, "IFLA_INET6_ICMP6STATS"), + pattern, icmp6_stats_vals, depth, + print_icmp6_stats_val); + + + /* IFLA_INET6_TOKEN */ + uint8_t inet6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 7, XLAT_KNOWN(0x7, "IFLA_INET6_TOKEN"), + pattern, inet6_addr, print_quoted_hex, + depth, + printf(XLAT_KNOWN_FMT("%s", "%s"), + XLAT_SEL("\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + + + /* IFLA_INET6_ADDR_GEN_MODE */ + static const struct { + uint8_t flags; + const char *str; + } agms = { + { ARG_XLAT_KNOWN(0, "IN6_ADDR_GEN_MODE_EUI64") }, + { ARG_XLAT_KNOWN(0x3, "IN6_ADDR_GEN_MODE_RANDOM") }, + { ARG_XLAT_UNKNOWN(0x4, "IN6_ADDR_GEN_MODE_???") }, + { ARG_XLAT_UNKNOWN(0xff, "IN6_ADDR_GEN_MODE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, 8, + XLAT_KNOWN(0x8, "IFLA_INET6_ADDR_GEN_MODE"), + pattern, agmsi.flags, + print_quoted_hex, depth, + printf("%s", agmsi.str)); + } + + + /* IFLA_INET6_RA_MTU */ + static const uint32_t ra_mtu = 0xdeadc0de; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 9, XLAT_KNOWN(0x9, "IFLA_INET6_RA_MTU"), + pattern, ra_mtu, print_quoted_hex, depth, + printf("3735929054")); +} + +#endif /* STRACE_TESTS_NLATTR_IFLA_AF_INET6 */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ifla_af_spec.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_af_spec.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_AF_SPEC netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,17 +16,28 @@ #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> +#include "xlat.h" +#include "xlat/addrfams.h" + #define XLAT_MACROS_ONLY #include "xlat/rtnl_ifla_af_spec_inet_attrs.h" #include "xlat/rtnl_ifla_af_spec_inet6_attrs.h" #undef XLAT_MACROS_ONLY +static uint8_t msg_af = AF_UNIX; +static char msg_af_str32 = "AF_UNIX"; + +#define IFLA_AF msg_af +#define IFLA_AF_STR msg_af_str #define IFLA_ATTR IFLA_AF_SPEC #include "nlattr_ifla.h" +#include "nlattr_ifla_af_inet6.h" + #define AF_SPEC_FUNCS(family_) \ static void \ init_##family_##_msg(struct nlmsghdr *const nlh, \ @@ -54,28 +65,9 @@ AF_SPEC_FUNCS(AF_INET) AF_SPEC_FUNCS(AF_INET6) +AF_SPEC_FUNCS(AF_MCTP) -static void -print_arr_val(uint32_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%d", *val); -} - -static void -print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%" PRIu64, *val); -} +AF_SPEC_FUNCS(IFLA_BRIDGE_VLAN_TUNNEL_INFO) static void print_inet_conf_val(uint32_t *val, size_t idx) @@ -88,45 +80,6 @@ print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); } - -static void -print_inet6_conf_val(uint32_t *val, size_t idx) -{ - static const char * const strs = { - "DEVCONF_FORWARDING", - "DEVCONF_HOPLIMIT", - }; - - print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_inet6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "IPSTATS_MIB_NUM", - "IPSTATS_MIB_INPKTS", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_icmp6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "ICMP6_MIB_NUM", - "ICMP6_MIB_INMSGS", - "ICMP6_MIB_INERRORS", - "ICMP6_MIB_OUTMSGS", - "ICMP6_MIB_OUTERRORS", - "ICMP6_MIB_CSUMERRORS", - "6 /* ICMP6_MIB_??? */", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - int main(void) { @@ -144,10 +97,40 @@ /* unknown AF_* */ - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - AF_UNIX, pattern, unknown_msg, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + static uint8_t skip_afs = { AF_INET, AF_INET6, AF_MCTP }; + size_t pos = 0; + static uint8_t skip_afs_msg = { AF_BRIDGE }; + size_t pos2 = 0; + for (size_t j = 0; j < 64; j++) { + if (pos2 < ARRAY_SIZE(skip_afs_msg) && skip_afs_msgpos2 == j) + { + pos2 += 1; + continue; + } + + msg_af = j; + msg_af_str0 = '\0'; + strncat(msg_af_str, sprintxval(addrfams, j, "AF_???"), + sizeof(msg_af_str) - 1); + pos = 0; + + for (size_t i = 0; i < 64; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + const char *af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, + print_ifinfomsg, + i, af_str, pattern, + unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb" + "\\xcd\"")); + } + } /* AF_INET */ TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, @@ -168,124 +151,205 @@ IFLA_INET_CONF, pattern, inet_conf_vals, 2, print_inet_conf_val); - /* AF_INET6 */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 0, "IFLA_INET6_UNSPEC", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 9, "0x9 /* IFLA_INET6_??? */", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* AF_BRIDGE */ + msg_af = AF_BRIDGE; + strcpy(msg_af_str, "AF_BRIDGE"); + + /* AF_BRIDGE: unknown, unimplemented */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0x4, IFLA_BRIDGE_MRP) }, + { ENUM_KNOWN(0x5, IFLA_BRIDGE_CFM) }, + { ENUM_KNOWN(0x6, IFLA_BRIDGE_MST) }, + { ARG_XLAT_UNKNOWN(0x7, "IFLA_BRIDGE_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, + unk_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } - /* AF_INET6: IFLA_INET6_FLAGS */ - static const struct { - uint32_t flags; - const char *str; - } inet6_flags = { - { 0xf, "0xf /* IF_??? */" }, - { 0x10, "IF_RS_SENT" }, - { 0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF" }, - { 0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED|IF_RA_OTHERCONF" - "|IF_READY|0x5eadc00e" }, + /* AF_BRIDGE: IFLA_BRIDGE_FLAGS */ + static const struct strval16 bridge_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_FLAGS_MASTER) }, + { ARG_STR(BRIDGE_FLAGS_SELF) }, + { ARG_STR(BRIDGE_FLAGS_MASTER|BRIDGE_FLAGS_SELF) }, + { ARG_STR(0x4) " /* BRIDGE_FLAGS_??? */" }, + { 0xcafe, "BRIDGE_FLAGS_SELF|0xcafc" }, + { ARG_STR(0x7eac) " /* BRIDGE_FLAGS_??? */" }, }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_FLAGS, + "IFLA_BRIDGE_FLAGS", + pattern, bridge_flagsi.val, + print_quoted_hex, 1, + printf("%s", bridge_flagsi.str) + ); + } - for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_MODE */ + static const struct strval16 bridge_modes = { + { ARG_STR(BRIDGE_MODE_VEB) }, + { ARG_STR(BRIDGE_MODE_VEPA) }, + { ARG_STR(0x2) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0x3) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xcafe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xfffe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(BRIDGE_MODE_UNDEF) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 1, "IFLA_INET6_FLAGS", pattern, - inet6_flagsi.flags, - print_quoted_hex, 2, - printf("%s", inet6_flagsi.str)); + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_MODE, + "IFLA_BRIDGE_MODE", + pattern, bridge_modesi.val, + print_quoted_hex, 1, + printf("%s", bridge_modesi.str) + ); } - /* AF_INET6: IFLA_INET6_CONF */ - uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_CONF, pattern, - inet6_conf_vals, 2, print_inet6_conf_val); + /* AF_BRIDGE: IFLA_BRIDGE_VLAN_INFO */ + static const struct { + struct bridge_vlan_info val; + const char *str; + } bridge_vis = { + { { 0, 0 }, "{flags=0, vid=0}" }, + { { 1, 1 }, "{flags=BRIDGE_VLAN_INFO_MASTER, vid=1}" }, + { { 0x69, 0xface }, + "{flags=BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS" + ", vid=64206}" }, + { {0xef80, 0xfeed }, + "{flags=0xef80 /* BRIDGE_VLAN_INFO_??? */, vid=65261}" }, + { {0xcafe, 0xdead }, + "{flags=BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN|BRIDGE_VLAN_INFO_RANGE_END" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" + ", vid=57005}" }, + }; + char bvi_buf12; - /* AF_INET6: IFLA_INET6_STATS */ - uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_STATS, pattern, - inet6_stats_vals, 2, print_inet6_stats_val); + fill_memory_ex(bvi_buf, sizeof(bvi_buf), 'z', 0x80); - /* AF_INET6: IFLA_INET6_MCAST */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 4, "IFLA_INET6_MCAST", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + for (size_t i = 0; i < ARRAY_SIZE(bridge_vis); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, + "IFLA_BRIDGE_VLAN_INFO", + pattern, bridge_visi.val, + print_quoted_hex, 1, + printf("%s", bridge_visi.str)); + + memcpy(bvi_buf, &bridge_visi.val, sizeof(bridge_visi.val)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, "IFLA_BRIDGE_VLAN_INFO", + sizeof(bvi_buf), bvi_buf, sizeof(bvi_buf), + printf("%s, \"\\x7e\\x7f\\x80\\x81\\x82" + "\\x83\\x84\\x85\"", + bridge_visi.str)); + } - /* AF_INET6: IFLA_INET6_CACHEINFO */ - static const struct ifla_cacheinfo ci = { - 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: unknown, undecoded */ + static const struct strval16 unk_bti_attrs = { + { ENUM_KNOWN(0, IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 5, "IFLA_INET6_CACHEINFO", pattern, - ci, print_quoted_hex, 2, - printf("{"); - PRINT_FIELD_U(ci, max_reasm_len); - printf(", "); - PRINT_FIELD_U(ci, tstamp); - printf(", "); - PRINT_FIELD_U(ci, reachable_time); - printf(", "); - PRINT_FIELD_U(ci, retrans_time); - printf("}")); - - /* AF_INET6: IFLA_INET6_ICMP6STATS */ - uint64_t icmp6_stats_vals = { - 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, - 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, - 0xdeadc0deda7afacc - }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_ICMP6STATS, pattern, - icmp6_stats_vals, 2, print_icmp6_stats_val); - - /* AF_INET6: IFLA_INET6_TOKEN */ - uint8_t inet6_addr16 = { - 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, - 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + for (size_t i = 0; i < ARRAY_SIZE(unk_bti_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + unk_bti_attrsi.val, + unk_bti_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u32 attrs */ + static const struct strval16 u32_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_ID) }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 7, "IFLA_INET6_TOKEN", pattern, - inet6_addr, print_quoted_hex, 2, - printf("inet_pton(AF_INET6" - ", \"badc:ded:face:beef" - ":deca:feed:dead:feed\")")); - - /* AF_INET6: IFLA_INET6_ */ - static const struct { - uint8_t flags; - const char *str; - } agms = { - { 0x0, "IN6_ADDR_GEN_MODE_EUI64" }, - { 0x3, "IN6_ADDR_GEN_MODE_RANDOM" }, - { 0x4, "0x4 /* IN6_ADDR_GEN_MODE_??? */" }, - { 0xff, "0xff /* IN6_ADDR_GEN_MODE_??? */" }, + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_bti_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u32_bti_attrsi.val, u32_bti_attrsi.str, + pattern, 2); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u16 attrs */ + static const struct strval16 u16_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_VID) }, }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_bti_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u16_bti_attrsi.val, u16_bti_attrsi.str, + pattern, 2); + } - for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: IFLA_BRIDGE_VLAN_TUNNEL_FLAGS */ + static const struct strval16 bti_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER) }, + { ARG_STR(BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(0xef80) " /* BRIDGE_VLAN_INFO_??? */" }, + { 0xcafe, "BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_RANGE_END|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bti_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 8, "IFLA_INET6_ADDR_GEN_MODE", - pattern, agmsi.flags, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, + "IFLA_BRIDGE_VLAN_TUNNEL_FLAGS", + pattern, bti_flagsi.val, print_quoted_hex, 2, - printf("%s", agmsi.str)); + printf("%s", bti_flagsi.str) + ); } + /* AF_INET6 */ + msg_af = AF_UNIX; + strcpy(msg_af_str, "AF_UNIX"); + + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_AF_INET6_msg, print_AF_INET6_msg, pattern, 2); + + /* AF_MCTP */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 0, "IFLA_MCTP_UNSPEC", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 2, "0x2 /* IFLA_MCTP_??? */", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* AF_MCTP: IFLA_MCTP_NET */ + check_u32_nlattr(fd, nlh0, hdrlen, init_AF_MCTP_msg, print_AF_MCTP_msg, + 1, "IFLA_MCTP_NET", pattern, 2); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ifla_brport.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_brport.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,6 +17,8 @@ #include <linux/rtnetlink.h> #define IFLA_ATTR IFLA_PROTINFO +#define IFLA_AF AF_BRIDGE +#define IFLA_AF_STR "AF_BRIDGE" #include "nlattr_ifla.h" int @@ -24,37 +26,183 @@ { skip_if_unavailable("/proc/self/fd/"); - const uint16_t u16 = 0xabcd; - const uint64_t u64 = 0xabcdedeeefeafeab; const int fd = create_nl_socket(NETLINK_ROUTE); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), - NLA_HDRLEN * 2 + sizeof(u64)); + NLA_HDRLEN * 2 + 42); static char pattern4096; fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_PRIORITY, pattern, u16, - printf("%u", u16)); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_MESSAGE_AGE_TIMER, pattern, u64, - printf("%" PRIu64, u64)); + /* Unknown, unhandled, unsupported */ + static const struct strval16 un_attrs = { + { ENUM_KNOWN(0, IFLA_BRPORT_UNSPEC) }, + { ENUM_KNOWN(0x18, IFLA_BRPORT_FLUSH) }, + { ENUM_KNOWN(0x1a, IFLA_BRPORT_PAD) }, + { ARG_XLAT_UNKNOWN(0x28, "IFLA_BRPORT_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRPORT_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(un_attrs); i++) { + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + un_attrsi.val, un_attrsi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* u8 attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRPORT_STATE) }, + { ENUM_KNOWN(0x4, IFLA_BRPORT_MODE) }, + { ENUM_KNOWN(0x5, IFLA_BRPORT_GUARD) }, + { ENUM_KNOWN(0x6, IFLA_BRPORT_PROTECT) }, + { ENUM_KNOWN(0x7, IFLA_BRPORT_FAST_LEAVE) }, + { ENUM_KNOWN(0x8, IFLA_BRPORT_LEARNING) }, + { ENUM_KNOWN(0x9, IFLA_BRPORT_UNICAST_FLOOD) }, + { ENUM_KNOWN(0xa, IFLA_BRPORT_PROXYARP) }, + { ENUM_KNOWN(0xb, IFLA_BRPORT_LEARNING_SYNC) }, + { ENUM_KNOWN(0xc, IFLA_BRPORT_PROXYARP_WIFI) }, + { ENUM_KNOWN(0x13, IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ENUM_KNOWN(0x14, IFLA_BRPORT_CONFIG_PENDING) }, + { ENUM_KNOWN(0x19, IFLA_BRPORT_MULTICAST_ROUTER) }, + { ENUM_KNOWN(0x1b, IFLA_BRPORT_MCAST_FLOOD) }, + { ENUM_KNOWN(0x1c, IFLA_BRPORT_MCAST_TO_UCAST) }, + { ENUM_KNOWN(0x1d, IFLA_BRPORT_VLAN_TUNNEL) }, + { ENUM_KNOWN(0x1e, IFLA_BRPORT_BCAST_FLOOD) }, + { ENUM_KNOWN(0x20, IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ENUM_KNOWN(0x21, IFLA_BRPORT_ISOLATED) }, + { ENUM_KNOWN(0x23, IFLA_BRPORT_MRP_RING_OPEN) }, + { ENUM_KNOWN(0x24, IFLA_BRPORT_MRP_IN_OPEN) }, + { ENUM_KNOWN(0x27, IFLA_BRPORT_LOCKED) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u8_attrsi.val, u8_attrsi.str, pattern, 1); + } + + + /* u16 attrs */ + static const struct strval16 u16_attrs = { + { ENUM_KNOWN(0x2, IFLA_BRPORT_PRIORITY) }, + { ENUM_KNOWN(0xf, IFLA_BRPORT_DESIGNATED_PORT) }, + { ENUM_KNOWN(0x10, IFLA_BRPORT_DESIGNATED_COST) }, + { ENUM_KNOWN(0x11, IFLA_BRPORT_ID) }, + { ENUM_KNOWN(0x12, IFLA_BRPORT_NO) }, + }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u16_attrsi.val, u16_attrsi.str, + pattern, 1); + } + + /* x16 attrs */ + static const struct strval16 x16_attrs = { + { ENUM_KNOWN(0x1f, IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + void *nlh_x16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(x16_attrs); i++) { + check_x16_nlattr(fd, nlh_x16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + x16_attrsi.val, x16_attrsi.str, + pattern, 1); + } + + + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x3, IFLA_BRPORT_COST) }, + { ENUM_KNOWN(0x25, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT) }, + { ENUM_KNOWN(0x26, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u32_attrsi.val, u32_attrsi.str, + pattern, 1); + } + + + /* clock_t attrs */ + static const struct strval16 c_t_attrs = { + { ENUM_KNOWN(0x15, IFLA_BRPORT_MESSAGE_AGE_TIMER) }, + { ENUM_KNOWN(0x16, IFLA_BRPORT_FORWARD_DELAY_TIMER) }, + { ENUM_KNOWN(0x17, IFLA_BRPORT_HOLD_TIMER) }, + }; + void *nlh_c_t = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(c_t_attrs); i++) { + check_clock_t_nlattr(fd, nlh_c_t, hdrlen, + init_ifinfomsg, print_ifinfomsg, + c_t_attrsi.val, c_t_attrsi.str, 1); + } + + + /* struct ifla_bridge_id attrs */ static const struct ifla_bridge_id id = { .prio = { 0xab, 0xcd }, .addr = { 0xab, 0xcd, 0xef, 0xac, 0xbc, 0xcd } }; - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_ROOT_ID, pattern, id, - printf("{prio=%u, %u" - ", addr=%02x:%02x:%02x:%02x:%02x:%02x}", - id.prio0, id.prio1, - id.addr0, id.addr1, id.addr2, - id.addr3, id.addr4, id.addr5)); + static const struct strval16 id_attrs = { + { ENUM_KNOWN(0xd, IFLA_BRPORT_ROOT_ID) }, + { ENUM_KNOWN(0xe, IFLA_BRPORT_BRIDGE_ID) }, + }; + void *nlh_id = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(id)); + for (size_t i = 0; i < ARRAY_SIZE(id_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_id, hdrlen, + init_ifinfomsg, print_ifinfomsg, + id_attrsi.val, id_attrsi.str, + pattern, id, print_quoted_hex, 1, + printf("{prio=%1$u, %2$u, addr=" + XLAT_KNOWN_FMT("\"" + "\\x%3$02x\\x%4$02x" + "\\x%5$02x\\x%6$02x" + "\\x%7$02x\\x%8$02x\"", + "%3$02x:%4$02x:%5$02x" + ":%6$02x:%7$02x:%8$02x") + "}", + id.prio0, id.prio1, + id.addr0, id.addr1, + id.addr2, id.addr3, + id.addr4, id.addr5)); + } + + + /* ifindex attrs */ + uint32_t ifidx = 0xbadc0ded; + static const struct strval16 if_attrs = { + { ENUM_KNOWN(0x22, IFLA_BRPORT_BACKUP_PORT) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + ifidx = 0xbadc0ded; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf("3134983661")); + ifidx = ifindex_lo(); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf(XLAT_FMT_U, + XLAT_SEL(ifidx, + IFINDEX_LO_STR))); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ifla_linkinfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_linkinfo.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_LINKINFO netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,14 +10,18 @@ #include "tests.h" #include <inttypes.h> +#include <math.h> #include <stdio.h> #include <stddef.h> +#include <unistd.h> #include <arpa/inet.h> #include "test_nlattr.h" +#include "xmalloc.h" #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> @@ -30,17 +34,17 @@ #include "nlattr_ifla.h" #define COMMA , -#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, objtype_, objtype_str_, \ +#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, kindtype_, objtype_, objtype_str_, \ obj_, objsz_, arrstrs_, ...) \ do { \ /* 64 is guestimate for maximum unknown type len */ \ char buf8 * 2 + 64 + objsz_; \ - const char **arrstrs = arrstrs_; \ - const char ***arrstrs_pos = arrstrs; \ - const char **arrstr = *arrstrs_pos; \ - const char *type = NULL; \ + const char *const *arrstrs = arrstrs_; \ + const char *const **arrstrs_pos = arrstrs; \ + const char *const *arrstr = *arrstrs_pos; \ \ - for (type = arrstr ? arrstr0 : NULL; type && arrstr; \ + for (const char *type = arrstr ? arrstr0 : NULL; \ + type && arrstr; \ type = (++arrstr)0 ? arrstr0 \ : (++arrstrs_pos)0 \ ? (arrstr = arrstrs_pos0)0 \ @@ -70,7 +74,7 @@ (nlh0_) - hdrlen - (pos - buf), \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ type_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", type); \ @@ -85,8 +89,8 @@ } \ } while (0) -#define TEST_LINKINFO_(fd_, nlh0_, nla_type_, nla_type_str_, tuntype_, \ - obj_, objsz_, pattern_, fallback_func_, ...) \ +#define TEST_LINKINFO_(fd_, nlh0_, kindtype_, nla_type_, nla_type_str_, \ + tuntype_, obj_, objsz_, pattern_, fallback_func_, ...) \ do { \ size_t tuntype_len = strlen(tuntype_) + 1; \ char *buf = tail_alloc(NLA_ALIGN(tuntype_len) \ @@ -109,7 +113,7 @@ (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, \ objsz_ + (pos - buf) - 1, \ buf, objsz_ + (pos - buf) - 1, \ @@ -126,7 +130,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf) - 1, \ printf("\"%s\"", (tuntype_)); \ @@ -142,7 +146,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", (tuntype_)); \ @@ -155,13 +159,13 @@ printf("")); \ } while (0) -#define TEST_LINKINFO(fd_, nlh0_, nla_type_, tuntype_, \ - obj_, pattern_, fallback_func_, ...) \ - TEST_LINKINFO_((fd_), (nlh0_), nla_type_, #nla_type_, (tuntype_), \ - (obj_), sizeof(obj_), pattern_, fallback_func_, \ - __VA_ARGS__) +#define TEST_LINKINFO(fd_, nlh0_, kindtype_, nla_type_, tuntype_, \ + obj_, pattern_, fallback_func_, ...) \ + TEST_LINKINFO_((fd_), (nlh0_), kindtype_, nla_type_, #nla_type_, \ + (tuntype_), (obj_), sizeof(obj_), pattern_, \ + fallback_func_, __VA_ARGS__) -#define TEST_NESTED_LINKINFO(fd_, nlh0_, \ +#define TEST_NESTED_LINKINFO(fd_, nlh0_, kindtype_, \ nla_type_, nla_type_str_, tuntype_, \ subnla_type_, subnla_type_str_, \ obj_, pattern_, ...) \ @@ -215,7 +219,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - hdrlen - tunhdrlen, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, buflen, \ buf, buflen, \ printf("\"%s\"", (tuntype_)); \ @@ -241,8 +245,8 @@ main(void) { static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; - static const char *unsupported_tunnel_types = { - "batadv", "bond", + static const char *const unsupported_tunnel_types = { + "batadv", "bareudp", "bond", "caif", "cfhsi", "dummy", "erspan", @@ -260,17 +264,31 @@ "team", "vcan", "veth", "vlan", "vrf", "vsockmon", "vti", "vti6", "vxcan", "vxlan", + "wireguard", "wwan", + "xfrm", NULL }; - static const char *unsupported_xstats_types = { + static const char *const unsupported_xstats_types = { "bridge", "tun", NULL }; - static const char *unsupported_data_types = { + static const char *const unsupported_data_types = { "can", NULL }; + static const char *const unsupported_slave_data_types = { + "can", + "tun", + NULL + }; + /* supported by at least one attribute */ + static const char *const supported_tunnel_types = { + "bridge", + "can", + "tun", + NULL + }; skip_if_unavailable("/proc/self/fd/"); @@ -305,27 +323,28 @@ /* IFLA_INFO_KIND + IFLA_INFO_UNSPEC */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + IFLA_INFO_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, "IFLA_INFO_KIND", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_DATA, "IFLA_INFO_DATA", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA unsupported_data_types COMMA @@ -347,11 +366,12 @@ { 0, "IFLA_BR_UNSPEC" }, { 21, "IFLA_BR_FDB_FLUSH" }, { 40, "IFLA_BR_PAD" }, - { 47, "0x2f /* IFLA_BR_??? */" }, + { 48, "0x30 /* IFLA_BR_??? */" }, }; for (size_t k = 0; k < ARRAY_SIZE(und_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", und_br_attrsk.val, und_br_attrsk.name, unknown_msg, pattern, { 2, "\"\\xab\\xac\"" }, @@ -369,7 +389,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(hwa_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", hwa_br_attrsk.val, hwa_br_attrsk.name, unknown_msg, pattern, { 2, "ab:ac" }, @@ -379,7 +400,11 @@ { 10, "ab:ac:db:cd:61:62:63:64:65:66" }); } - static const struct val_name u64_br_attrs = { + static const struct val_name c_t_br_attrs = { + { 1, "IFLA_BR_FORWARD_DELAY" }, + { 2, "IFLA_BR_HELLO_TIME" }, + { 3, "IFLA_BR_MAX_AGE" }, + { 4, "IFLA_BR_AGEING_TIME" }, { 16, "IFLA_BR_HELLO_TIMER" }, { 17, "IFLA_BR_TCN_TIMER" }, { 18, "IFLA_BR_TOPOLOGY_CHANGE_TIMER" }, @@ -391,27 +416,28 @@ { 34, "IFLA_BR_MCAST_QUERY_RESPONSE_INTVL" }, { 35, "IFLA_BR_MCAST_STARTUP_QUERY_INTVL" }, }; + char sz7_str64; + char sz8_str64; + + clock_t_str(BE_LE(0xdeadc0defacefe, 0xadc0defacefeed), + ARRSZ_PAIR(sz7_str)); + clock_t_str(0xdeadc0defacefeed, ARRSZ_PAIR(sz8_str)); - for (size_t k = 0; k < ARRAY_SIZE(u64_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", - u64_br_attrsk.val, u64_br_attrsk.name, + for (size_t k = 0; k < ARRAY_SIZE(c_t_br_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + c_t_br_attrsk.val, c_t_br_attrsk.name, u64_val, pattern, - { 7, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde\\xad\\xc0\\xde\\xfa\\xce\\xfe" -#else - "\\xed\\xfe\\xce\\xfa\\xde\\xc0\\xad" -#endif - "\"" }, - { 8, "16045693111314087661" }, - { 9, "16045693111314087661" }); + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); } static const struct val_name u32_br_attrs = { - { 1, "IFLA_BR_FORWARD_DELAY" }, - { 2, "IFLA_BR_HELLO_TIME" }, - { 3, "IFLA_BR_MAX_AGE" }, - { 4, "IFLA_BR_AGEING_TIME" }, { 5, "IFLA_BR_STP_STATE" }, { 13, "IFLA_BR_ROOT_PATH_COST" }, { 26, "IFLA_BR_MCAST_HASH_ELASTICITY" }, @@ -421,16 +447,12 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u32_br_attrsk.val, u32_br_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -442,36 +464,25 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u16_br_attrsk.val, u16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "57069" }, { 3, "57069" }); } - static const struct val_name x16_br_attrs = { { 9, "IFLA_BR_GROUP_FWD_MASK" }, }; for (size_t k = 0; k < ARRAY_SIZE(x16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", x16_br_attrsk.val, x16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "0xdeed" }, { 3, "0xdeed" }); } @@ -495,7 +506,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u8_br_attrsk.val, u8_br_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -504,7 +516,8 @@ } unsigned short eth_p = htons(0x88C7); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", 8, "IFLA_BR_VLAN_PROTOCOL", eth_p, pattern, { 1, "\"\\x88\"" }, @@ -519,7 +532,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(br_id_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", br_id_attrsk.val, br_id_attrsk.name, bridge_id, pattern, { 7, "\"\\xbe\\xef\\xfa\\xce" @@ -530,6 +544,143 @@ ", addr=fa:ce:de:c0:de:ad}" }); } + static const struct { + struct br_boolopt_multi val; + const char *crop_str; + const char *str; + } boolopts = { + { { .optval = 0, .optmask = 0 }, + "\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "{optval=0, optmask=0}" }, + { { .optval = 1, .optmask = 2 }, + BE_LE("\"\\x00\\x00\\x00\\x01\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\\x00\\x02\\x00\\x00\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING}" }, + { { .optval = 0xdeadfae8, .optmask = 0xbadc0de8 }, + BE_LE("\"\\xde\\xad\\xfa\\xe8\\xba\\xdc\\x0d\"", + "\"\\xe8\\xfa\\xad\\xde\\xe8\\x0d\\xdc\""), + "{optval=0xdeadfae8 /* 1<<BR_BOOLOPT_??? */" + ", optmask=0xbadc0de8 /* 1<<BR_BOOLOPT_??? */}" }, + { { .optval = 0xfacebeef, .optmask = 0xfeedcafe }, + BE_LE("\"\\xfa\\xce\\xbe\\xef\\xfe\\xed\\xca\"", + "\"\\xef\\xbe\\xce\\xfa\\xfe\\xca\\xed\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + "|1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfacebee8" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfeedcaf8}" }, + }; + for (size_t k = 0; k < ARRAY_SIZE(boolopts); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MULTI_BOOLOPT, + "IFLA_BR_MULTI_BOOLOPT", + booloptsk.val, pattern, + { 7, booloptsk.crop_str }, + { 9, booloptsk.str }, + { 9, booloptsk.str }); + } + +#define QSTATE_NLA(type_, type_str_, field_, crop_str_, str_, ...) \ + { { .nla = { .nla_len = NLA_HDRLEN \ + + sizeof(qstate_attrs0.val.payload.field_), \ + .nla_type = type_ }, \ + .payload = { .field_ = __VA_ARGS__ } }, \ + .sz = NLA_HDRLEN + sizeof(qstate_attrs0.val.payload.field_), \ + .type_str = type_str_, .crop_str = crop_str_, .str = str_ } + + char ip_timer_crop64; + char ip_timer64; + char ipv6_timer_crop64; + char ipv6_timer64; + struct { + struct { + struct nlattr nla; + union { + uint8_t chr; + uint8_t ipv44; + uint8_t ipv616; + uint32_t ifindex; + uint32_t clk; + } payload; + } val; + size_t sz; + const char *type_str; + const char *crop_str; + const char *str; + } qstate_attrs = { + QSTATE_NLA(BRIDGE_QUERIER_UNSPEC, "BRIDGE_QUERIER_UNSPEC", ipv4, + "\"\\xde\\xad\\xfa\"", + "\"\\xde\\xad\\xfa\\xce\"", + { 0xde, 0xad, 0xfa, 0xce } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_ADDRESS, + "BRIDGE_QUERIER_IP_ADDRESS", ipv4, + "\"\\x5d\\xb8\\xd8\"", + "inet_addr(\"93.184.216.34\")", + { 0x5d, 0xb8, 0xd8, 0x22 } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_PORT, + "BRIDGE_QUERIER_IP_PORT", ifindex, + xasprintf("\"\\x%02x\\x%02x\\x%02x\"", + (ifindex_lo() >> BE_LE(24, 0)) & 0xff, + (ifindex_lo() >> BE_LE(16, 8)) & 0xff, + (ifindex_lo() >> BE_LE(8, 16)) & 0xff), + IFINDEX_LO_STR, + ifindex_lo() ), + QSTATE_NLA(BRIDGE_QUERIER_IP_OTHER_TIMER, + "BRIDGE_QUERIER_IP_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xcafefe, 0xfefeed), + ARRSZ_PAIR(ip_timer_crop)), + clock_t_str(0xcafefeed, ARRSZ_PAIR(ip_timer)), + 0xcafefeed ), + QSTATE_NLA(BRIDGE_QUERIER_PAD, "BRIDGE_QUERIER_PAD", ipv4, + "\"\\xfa\\xce\\xfe\"", + "\"\\xfa\\xce\\xfe\\xed\"", + { 0xfa, 0xce, 0xfe, 0xed } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_ADDRESS, + "BRIDGE_QUERIER_IPV6_ADDRESS", ipv6, + "\"\\xde\\xad\\xfa\\xce\\x80\\x00\\x00\\x00" + "\\x00\\x00\\x00\\xad\\x00\\x00\\x00\"", + "inet_pton(AF_INET6, \"dead:face:8000::ad:0:ec\")", + { 0xde, 0xad, 0xfa, 0xce, 0x80, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xad, 0x00, 0x00, 0x00, 0xec } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_PORT, + "BRIDGE_QUERIER_IPV6_PORT", ifindex, + BE_LE("\"\\xbb\\x40\\xe6\"", "\"\\x4d\\xe6\\x40\""), + "3141592653", + 3141592653 ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_OTHER_TIMER, + "BRIDGE_QUERIER_IPV6_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xfacebe, 0xcebeef), + ARRSZ_PAIR(ipv6_timer_crop)), + clock_t_str(0xfacebeef, ARRSZ_PAIR(ipv6_timer)), + 0xfacebeef ), + QSTATE_NLA(8, "0x8 /* BRIDGE_QUERIER_??? */", chr, + "", "\"\\x69\"", 0x69 ), + }; + for (size_t k = 0; k < ARRAY_SIZE(qstate_attrs); k++) { + char crop_str256; + char str256; + + snprintf(crop_str, sizeof(crop_str), + "%s{nla_len=%zu, nla_type=%s}%s%s%s", + qstate_attrsk.crop_str0 ? "" : "", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.crop_str0 ? ", " : "", + qstate_attrsk.crop_str, + qstate_attrsk.crop_str0 ? "" : ""); + snprintf(str, sizeof(str), "{nla_len=%zu, nla_type=%s}, %s", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.str); + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MCAST_QUERIER_STATE, + "IFLA_BR_MCAST_QUERIER_STATE", + qstate_attrsk.val, pattern, + { qstate_attrsk.sz - 1, crop_str }, + { qstate_attrsk.sz, str }); + } + /* tun attrs */ static const struct val_name u8_tun_attrs = { { 4, "IFLA_TUN_PI" }, @@ -539,7 +690,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u8_tun_attrsk.val, u8_tun_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -553,17 +705,13 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u32_tun_attrsk.val, u32_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -574,7 +722,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(und_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", und_tun_attrsk.val, und_tun_attrsk.name, unknown_msg, pattern, @@ -595,21 +744,18 @@ }; for (size_t k = 0; k < ARRAY_SIZE(uid_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, minus_one, pattern, @@ -630,7 +776,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(tun_types); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", 3, "IFLA_TUN_TYPE", tun_typesk.val, pattern, { 0, NULL }, @@ -640,7 +787,8 @@ /* IFLA_INFO_KIND + IFLA_INFO_XSTATS */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA /* @@ -657,7 +805,7 @@ 0xbadc0de4, 0xbadc0de5, }; - TEST_LINKINFO(fd, nlh0, IFLA_INFO_XSTATS, "can", + TEST_LINKINFO(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_XSTATS, "can", can_stats_data, pattern, print_quoted_hex, printf("{bus_error=3134983648" ", error_warning=3134983649" @@ -667,37 +815,272 @@ ", restarts=3134983653}")); - /* IFLA_INFO_KIND + IFLA_INFO_SLVAE_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_KIND, "IFLA_INFO_SLAVE_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + unknown type */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, 6, "0x6 /* IFLA_INFO_??? */", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_INFO_SLAVE_KIND, + "IFLA_INFO_SLAVE_KIND", pattern, + unknown_msg, print_quoted_stringn, 1, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_UNSPEC */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA unsupported_data_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_SLAVE_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + unsupported_slave_data_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* bridge attrs */ + static const struct val_name und_brport_attrs = { + { 0, "IFLA_BRPORT_UNSPEC" }, + { 24, "IFLA_BRPORT_FLUSH" }, + { 26, "IFLA_BRPORT_PAD" }, + { 40, "0x28 /* IFLA_BRPORT_??? */" }, + { 2989, "0xbad /* IFLA_BRPORT_??? */" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(und_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + und_brport_attrsk.val, + und_brport_attrsk.name, + unknown_msg, pattern, + { 2, "\"\\xab\\xac\"" }, + { 4, "\"\\xab\\xac\\xdb\\xcd\"" }, + { 6, + "\"\\xab\\xac\\xdb\\xcd\\x61\\x62\"" }, + { 8, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\"" }, + { 10, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\\x65\\x66\"" }); + } + + static const struct val_name u8_brport_attrs = { + { ARG_STR(IFLA_BRPORT_STATE) }, + { ARG_STR(IFLA_BRPORT_MODE) }, + { ARG_STR(IFLA_BRPORT_GUARD) }, + { ARG_STR(IFLA_BRPORT_PROTECT) }, + { ARG_STR(IFLA_BRPORT_FAST_LEAVE) }, + { ARG_STR(IFLA_BRPORT_LEARNING) }, + { ARG_STR(IFLA_BRPORT_UNICAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_PROXYARP) }, + { ARG_STR(IFLA_BRPORT_LEARNING_SYNC) }, + { ARG_STR(IFLA_BRPORT_PROXYARP_WIFI) }, + { ARG_STR(IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ARG_STR(IFLA_BRPORT_CONFIG_PENDING) }, + { ARG_STR(IFLA_BRPORT_MULTICAST_ROUTER) }, + { ARG_STR(IFLA_BRPORT_MCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_MCAST_TO_UCAST) }, + { ARG_STR(IFLA_BRPORT_VLAN_TUNNEL) }, + { ARG_STR(IFLA_BRPORT_BCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ARG_STR(IFLA_BRPORT_ISOLATED) }, + { ARG_STR(IFLA_BRPORT_MRP_RING_OPEN) }, + { ARG_STR(IFLA_BRPORT_MRP_IN_OPEN) }, + { ARG_STR(IFLA_BRPORT_LOCKED) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u8_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u8_brport_attrsk.val, + u8_brport_attrsk.name, + u8_val, pattern, + { 0, NULL }, + { 1, "161" }, + { 2, "161" }); + } + + static const struct val_name u16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_PRIORITY) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_PORT) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_COST) }, + { ARG_STR(IFLA_BRPORT_ID) }, + { ARG_STR(IFLA_BRPORT_NO) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u16_brport_attrsk.val, + u16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "57069" }, + { 3, "57069" }); + } + + static const struct val_name x16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(x16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + x16_brport_attrsk.val, + x16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "0xdeed" }, + { 3, "0xdeed" }); + } + + static const struct val_name u32_brport_attrs = { + { 3, "IFLA_BRPORT_COST" }, + { 37, "IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT" }, + { 38, "IFLA_BRPORT_MCAST_EHT_HOSTS_CNT" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u32_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u32_brport_attrsk.val, + u32_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + } + + static const struct val_name brport_id_attrs = { + { 13, "IFLA_BRPORT_ROOT_ID" }, + { 14, "IFLA_BRPORT_BRIDGE_ID" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(brport_id_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + brport_id_attrsk.val, + brport_id_attrsk.name, + bridge_id, pattern, + { 7, "\"\\xbe\\xef\\xfa\\xce" + "\\xde\\xc0\\xde\"" }, + { 8, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }, + { 9, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }); + } + + static const struct val_name c_t_brport_attrs = { + { 21, "IFLA_BRPORT_MESSAGE_AGE_TIMER" }, + { 22, "IFLA_BRPORT_FORWARD_DELAY_TIMER" }, + { 23, "IFLA_BRPORT_HOLD_TIMER" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(c_t_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + c_t_brport_attrsk.val, + c_t_brport_attrsk.name, + u64_val, pattern, + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); + } + + static const struct val_name ifidx_brport_attrs = { + { 34, "IFLA_BRPORT_BACKUP_PORT" }, + }; + const uint32_t ifidx_lo = ifindex_lo(); + + for (size_t k = 0; k < ARRAY_SIZE(ifidx_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + ifidx_lo, pattern, + { 3, BE_LE("\"\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\"") }, + { 4, IFINDEX_LO_STR }, + { 5, IFINDEX_LO_STR }); + } + + /* IFLA_INFO_SLAVE_KIND + unknown type */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo.c
Added
@@ -0,0 +1,127 @@ +/* + * Check decoding of IFLA_PROTINFO netlink attribute. + * + * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2017-2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <netinet/in.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> +#include <stdio.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#include "xlat/addrfams.h" + +#include "nlattr_ifla_af_inet6.h" + +static const unsigned int hdrlen = sizeof(struct ifinfomsg); + +static uint16_t af; +static const char *af_str; + +static void +init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETLINK, + .nlmsg_flags = NLM_F_DUMP + ); + + struct ifinfomsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct ifinfomsg, msg, + .ifi_family = af, + .ifi_type = ARPHRD_LOOPBACK, + .ifi_index = ifindex_lo(), + .ifi_flags = IFF_UP, + ); +} + +static void +init_ifinfomsg_protinfo(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(struct ifinfomsg)); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = IFLA_PROTINFO, + ); +} + +static void +print_ifinfomsg(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=%s" + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + af_str, XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP)); +} + +static void +print_ifinfomsg_protinfo(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen), XLAT_ARGS(IFLA_PROTINFO)); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + 42); + + static char buf256; + fill_memory_ex(buf, sizeof(buf), 32, 224); + + /* Unsupported address families */ + static const uint8_t skip_af = { AF_BRIDGE, AF_INET6 }; + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (i == skip_afpos) { + pos += 1; + continue; + } + + af = i; + af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, + IFLA_PROTINFO, XLAT_STR(IFLA_PROTINFO), + 42, buf, 42, + print_quoted_hex(buf, 32); + printf("...")); + } + + /* AF_BRIDGE is handled by nlattr_ifla_brport */ + + /* AF_INET6 */ + static char af_inet6_str20; + af = AF_INET6; + snprintf(af_inet6_str, sizeof(af_inet6_str), XLAT_FMT, + XLAT_ARGS(AF_INET6)); + af_str = af_inet6_str; + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_ifinfomsg_protinfo, print_ifinfomsg_protinfo, + buf, 1); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_protinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo.c
Added
@@ -0,0 +1,403 @@ +/* + * IFLA_VFINFO_LIST netlink attribute decoding check. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stddef.h> +#include <stdio.h> + +#include <arpa/inet.h> + +#include <linux/if.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> + +#include "test_nlattr.h" + +#include "xlat.h" + +#define IFLA_ATTR IFLA_VFINFO_LIST +#include "nlattr_ifla.h" + +static void +init_vf_info_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN, + .nla_type = IFLA_VF_INFO, + ); +} + +static void +print_vf_info_msg(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + XLAT_ARGS(IFLA_VF_INFO)); +} + +static void +init_vf_stats_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_STATS, + ); +} + +static void +print_vf_stats_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_STATS)); +} + +static void +init_vlan_list_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_VLAN_LIST, + ); +} + +static void +print_vlan_list_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_VLAN_LIST)); +} + +int +main(void) +{ + static const uint8_t dummy = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct ifinfomsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 2 * NLA_HDRLEN + 256); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown IFLA_VF_INFO*, IFLA_VF_INFO_UNSPEC */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IFLA_VF_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, unk_attrsi.str, + pattern, dummy, print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + } + + /* IFLA_VF_INFO: unknown, IFLA_VF_UNSPEC */ + static const struct strval16 unk_vf_attrs = { + { ENUM_KNOWN(0, IFLA_VF_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0xe, "IFLA_VF_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vf_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + unk_vf_attrsi.val, + unk_vf_attrsi.str, + pattern, dummy, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_MAC */ + struct ifla_vf_mac ifla_vm; + ifla_vm.vf = 0xdeadface; + fill_memory(&ifla_vm.mac, sizeof(ifla_vm.mac)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_MAC, + XLAT_KNOWN(0x1, "IFLA_VF_MAC"), + pattern, ifla_vm, print_quoted_hex, 2, + printf("{vf=3735943886, mac=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + /* IFLA_VF_INFO: IFLA_VF_VLAN */ + struct ifla_vf_vlan ifla_vv; + ifla_vv.vf = 0x80a0c0e0; + ifla_vv.vlan = 0x81a1c1e1; + ifla_vv.qos = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_VLAN, + XLAT_KNOWN(0x2, "IFLA_VF_VLAN"), + pattern, ifla_vv, print_quoted_hex, 2, + printf("{vf=2158018784, vlan=2174861793" + ", qos=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_TX_RATE */ + struct ifla_vf_tx_rate ifla_vtr; + ifla_vtr.vf = 0x80a0c0e0; + ifla_vtr.rate = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TX_RATE, + XLAT_KNOWN(0x3, "IFLA_VF_TX_RATE"), + pattern, ifla_vtr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", rate=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_SPOOFCHK */ + struct ifla_vf_spoofchk ifla_vsc; + ifla_vsc.vf = 0x80a0c0e0; + ifla_vsc.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_SPOOFCHK, + XLAT_KNOWN(0x4, "IFLA_VF_SPOOFCHK"), + pattern, ifla_vsc, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_LINK_STATE */ + static const struct strval32 states = { + { ENUM_KNOWN(0, IFLA_VF_LINK_STATE_AUTO) }, + { ENUM_KNOWN(0x1, IFLA_VF_LINK_STATE_ENABLE) }, + { ENUM_KNOWN(0x2, IFLA_VF_LINK_STATE_DISABLE) }, + { ARG_STR(0x3) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0x4) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0xfade) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + }; + struct ifla_vf_link_state ifla_vls; + ifla_vls.vf = 0xbeeffeed; + + for (size_t i = 0; i < ARRAY_SIZE(states); i++) { + ifla_vls.link_state = statesi.val; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + IFLA_VF_LINK_STATE, + XLAT_KNOWN(0x5, + "IFLA_VF_LINK_STATE"), + pattern, ifla_vls, + print_quoted_hex, 2, + printf("{vf=3203399405" + ", link_state=%s}", + statesi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_RATE */ + struct ifla_vf_rate ifla_vr; + ifla_vr.vf = 0x80a0c0e0; + ifla_vr.min_tx_rate = 0x81a1c1e1; + ifla_vr.max_tx_rate = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RATE, + XLAT_KNOWN(0x6, "IFLA_VF_RATE"), + pattern, ifla_vr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", min_tx_rate=2174861793" + ", max_tx_rate=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_RSS_QUERY_EN */ + struct ifla_vf_rss_query_en ifla_vrqe; + ifla_vrqe.vf = 0x80a0c0e0; + ifla_vrqe.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RSS_QUERY_EN, + XLAT_KNOWN(0x7, "IFLA_VF_RSS_QUERY_EN"), + pattern, ifla_vrqe, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_STATS: unknown, IFLA_VF_STATS_PAD */ + static const struct strval16 unk_vs_attrs = { + { ENUM_KNOWN(0x6, IFLA_VF_STATS_PAD) }, + { ARG_XLAT_UNKNOWN(0x9, "IFLA_VF_STATS_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_STATS_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vs_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_stats_msg, + print_vf_stats_msg, + unk_vs_attrsi.val, + unk_vs_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_STATS: u64 attrs */ + static const struct strval16 u64_vs_attrs = { + { ENUM_KNOWN(0, IFLA_VF_STATS_RX_PACKETS) }, + { ENUM_KNOWN(0x1, IFLA_VF_STATS_TX_PACKETS) }, + { ENUM_KNOWN(0x2, IFLA_VF_STATS_RX_BYTES) }, + { ENUM_KNOWN(0x3, IFLA_VF_STATS_TX_BYTES) }, + { ENUM_KNOWN(0x4, IFLA_VF_STATS_BROADCAST) }, + { ENUM_KNOWN(0x5, IFLA_VF_STATS_MULTICAST) }, + { ENUM_KNOWN(0x7, IFLA_VF_STATS_RX_DROPPED) }, + { ENUM_KNOWN(0x8, IFLA_VF_STATS_TX_DROPPED) }, + }; + void *nlh_vs_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_vs_attrs); i++) { + check_u64_nlattr(fd, nlh_vs_u64, hdrlen, + init_vf_stats_msg, print_vf_stats_msg, + u64_vs_attrsi.val, u64_vs_attrsi.str, + pattern, 3); + } + + /* IFLA_VF_INFO: IFLA_VF_TRUST */ + struct ifla_vf_trust ifla_vt; + ifla_vt.vf = 0x80a0c0e0; + ifla_vt.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TRUST, + XLAT_KNOWN(0x9, "IFLA_VF_TRUST"), + pattern, ifla_vt, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_IB_NODE_GUID, IFLA_VF_IB_PORT_GUID */ + static const struct strval16 guid_attrs = { + { ENUM_KNOWN(0xa, IFLA_VF_IB_NODE_GUID) }, + { ENUM_KNOWN(0xb, IFLA_VF_IB_PORT_GUID) }, + }; + struct ifla_vf_guid ifla_vg; + ifla_vg.vf = 0xfacecafe; + ifla_vg.guid = 0xbadc0deddeedbabeULL; + + for (size_t i = 0; i < ARRAY_SIZE(guid_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + guid_attrsi.val, + guid_attrsi.str, + pattern, ifla_vg, + print_quoted_hex, 2, + printf("{vf=4207856382" + ", guid=0xbadc0deddeedbabe" + "}")); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: unknown, IFLA_VF_VLAN_INFO_UNSPEC */ + static const struct strval16 unk_vl_attrs = { + { ENUM_KNOWN(0, IFLA_VF_VLAN_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_VLAN_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_VLAN_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vl_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + unk_vl_attrsi.val, + unk_vl_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: IFLA_VF_VLAN_INFO */ + static const struct strval16 eth_protos = { + { ARG_STR(0) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0x8, "ETH_P_PPP_MP") }, + { ARG_XLAT_KNOWN(0x800, "ETH_P_IP") }, + { ARG_STR(0xf) NRAW(" /* ETH_P_??? */") }, + { ARG_STR(0xfb) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0xfbfb, "ETH_P_AF_IUCV") }, + { ARG_STR(0xffff) NRAW(" /* ETH_P_??? */") }, + }; + struct ifla_vf_vlan_info ifla_vvi; + ifla_vvi.vf = 0x80a0c0e0; + ifla_vvi.vlan = 0x81a1c1e1; + ifla_vvi.qos = 0x82a2c2e2; + + for (size_t i = 0; i < ARRAY_SIZE(eth_protos); i++) { + ifla_vvi.vlan_proto = htons(eth_protosi.val); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + IFLA_VF_VLAN_INFO, + XLAT_KNOWN(0x1, + "IFLA_VF_VLAN_INFO"), + pattern, ifla_vvi, + print_quoted_hex, 3, + printf("{vf=2158018784" + ", vlan=2174861793" + ", qos=2191704802" + ", vlan_proto=htons(%s)}", + eth_protosi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_BROADCAST */ + struct ifla_vf_broadcast ifla_vb; + fill_memory(&ifla_vb.broadcast, sizeof(ifla_vb.broadcast)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_BROADCAST, + XLAT_KNOWN(0xd, "IFLA_VF_BROADCAST"), + pattern, ifla_vb, print_quoted_hex, 2, + printf("{broadcast=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifla_vfinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats.c
Added
@@ -0,0 +1,789 @@ +/* + * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <netinet/in.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include <linux/if_link.h> +#include <linux/if_bonding.h> +#include <linux/if_bridge.h> +#include <linux/mpls.h> + +#include "xlat.h" +#include "xlat/addrfams.h" +#define XLAT_MACROS_ONLY +# include "xlat/ifstats_af_spec_mpls_attrs.h" +# include "xlat/ifstats_attrs.h" +# include "xlat/ifstats_attr_flags.h" +# include "xlat/ifstats_offload_attrs.h" +# include "xlat/ifstats_xstats_bond_attrs.h" +# include "xlat/ifstats_xstats_bond_3ad_attrs.h" +# include "xlat/ifstats_xstats_bridge_attrs.h" +# include "xlat/ifstats_xstats_bridge_mcast_indices.h" +# include "xlat/ifstats_xstats_type_attrs.h" +# include "xlat/nl_bridge_vlan_flags.h" +#undef XLAT_MACROS_ONLY + +static const unsigned int hdrlen = sizeof(struct if_stats_msg); +static char pattern4096; +static char nla_type_str256; + +static void +init_ifstats(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETSTATS, + .nlmsg_flags = NLM_F_DUMP, + ); + + struct if_stats_msg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct if_stats_msg, msg, + .family = AF_UNIX, + .ifindex = ifindex_lo(), + .filter_mask = 0x22, + ); +} + +static void +print_ifstats(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {family=" XLAT_FMT ", ifindex=" + XLAT_FMT_U ", filter_mask=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETSTATS), XLAT_ARGS(NLM_F_DUMP), + XLAT_ARGS(AF_UNIX), XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), + XLAT_ARGS(1<<IFLA_STATS_LINK_64|1<<IFLA_STATS_AF_SPEC)); +} + +/* + * NB: these functions use global variables to control which top-level + * netlink attribute is to be used. + */ +#define DEF_NLATTR_FUNCS_NESTED(sfx_, attr_var_, attr_str_var_, \ + parent_sfx_, lvl_) \ + static void \ + init_ifstats_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + (init_##parent_sfx_)(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, \ + sizeof(struct if_stats_msg) \ + + ((lvl_) - 1) * NLA_HDRLEN); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN, \ + .nla_type = (attr_var_), \ + ); \ + } \ + \ + static void \ + print_ifstats_##sfx_(const unsigned int msg_len) \ + { \ + (print_##parent_sfx_)(msg_len); \ + printf(", {nla_len=%u, nla_type=%s}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct \ + if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN), \ + attr_str_var_); \ + } \ + /* End of DEF_NLATTR_FUNCS_NESTED */ + +static uint16_t l1_attr; +static char l1_attr_str256; + +static uint16_t l2_attr; +static char l2_attr_str256; + +static uint16_t l3_attr; +static char l3_attr_str256; + +DEF_NLATTR_FUNCS_NESTED(l1, l1_attr, l1_attr_str, ifstats, 1) +DEF_NLATTR_FUNCS_NESTED(l2, l2_attr, l2_attr_str, ifstats_l1, 2) +DEF_NLATTR_FUNCS_NESTED(l3, l3_attr, l3_attr_str, ifstats_l2, 3) + + +static void +print_stats_64(struct rtnl_link_stats64 *st, size_t sz) +{ + printf("{"); PRINT_FIELD_U(*st, rx_packets); + printf(", "); PRINT_FIELD_U(*st, tx_packets); + printf(", "); PRINT_FIELD_U(*st, rx_bytes); + printf(", "); PRINT_FIELD_U(*st, tx_bytes); + printf(", "); PRINT_FIELD_U(*st, rx_errors); + printf(", "); PRINT_FIELD_U(*st, tx_errors); + printf(", "); PRINT_FIELD_U(*st, rx_dropped); + printf(", "); PRINT_FIELD_U(*st, tx_dropped); + printf(", "); PRINT_FIELD_U(*st, multicast); + printf(", "); PRINT_FIELD_U(*st, collisions); + printf(", "); PRINT_FIELD_U(*st, rx_length_errors); + printf(", "); PRINT_FIELD_U(*st, rx_over_errors); + printf(", "); PRINT_FIELD_U(*st, rx_crc_errors); + printf(", "); PRINT_FIELD_U(*st, rx_frame_errors); + printf(", "); PRINT_FIELD_U(*st, rx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, rx_missed_errors); + printf(", "); PRINT_FIELD_U(*st, tx_aborted_errors); + printf(", "); PRINT_FIELD_U(*st, tx_carrier_errors); + printf(", "); PRINT_FIELD_U(*st, tx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, tx_heartbeat_errors); + printf(", "); PRINT_FIELD_U(*st, tx_window_errors); + printf(", "); PRINT_FIELD_U(*st, rx_compressed); + printf(", "); PRINT_FIELD_U(*st, tx_compressed); + if (sz >= offsetofend(struct rtnl_link_stats64, rx_nohandler)) { + printf(", "); + PRINT_FIELD_U(*st, rx_nohandler); + } + if (sz >= offsetofend(struct rtnl_link_stats64, rx_otherhost_dropped)) { + printf(", "); + PRINT_FIELD_U(*st, rx_otherhost_dropped); + } + printf("}"); +} + +static void +check_stats_64(const int fd, unsigned int cmd, const char *cmd_str, bool nest) +{ + static const size_t minsz = offsetofend(struct rtnl_link_stats64, + tx_compressed); + + struct rtnl_link_stats64 st; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + (!!nest + 1) * NLA_HDRLEN + sizeof(st)); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + fill_memory(&st, sizeof(st)); + + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd, nlh0, hdrlen, + nest ? init_ifstats_l1 + : init_ifstats, + nest ? print_ifstats_l1 + : print_ifstats, + cmd, nla_type_str, + pattern, st, minsz, + print_quoted_hex, (unsigned) !!nest, + print_stats_64(&st, sizeof(st))); + + TEST_NLATTR_(fd, nlh0 - !!nest * NLA_HDRLEN, + hdrlen + !!nest * NLA_HDRLEN, + nest ? init_ifstats_l1 : init_ifstats, + nest ? print_ifstats_l1 : print_ifstats, + cmd, nla_type_str, minsz, &st, minsz, + print_stats_64(&st, minsz); + for (size_t i = 0; i < (unsigned) !!nest; i++) + printf("")); +} + +static void +fmt_str(char *dst, size_t dst_sz, uint32_t cmd, const char *s, const char *dflt) +{ + if (s) { + snprintf(dst, dst_sz, XLAT_FMT, XLAT_SEL(cmd, s)); + } else { + snprintf(dst, dst_sz, "%#x" NRAW(" /* %s */"), + cmd NRAW(, dflt)); + } +} + +static void +print_mcast_stats(struct br_mcast_stats *br_xst_mc) +{ +#define PR_FIELD_(pfx_, field_) \ + printf(pfx_ #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") \ + "=%llu, " XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=%llu", \ + (unsigned long long) br_xst_mc->field_0, \ + (unsigned long long) br_xst_mc->field_1) + + PR_FIELD_("{", igmp_v1queries); + PR_FIELD_(", ", igmp_v2queries); + PR_FIELD_(", ", igmp_v3queries); + PR_FIELD_(", ", igmp_leaves); + PR_FIELD_(", ", igmp_v1reports); + PR_FIELD_(", ", igmp_v2reports); + PR_FIELD_(", ", igmp_v3reports); + printf(", igmp_parse_errors=%llu", + (unsigned long long) br_xst_mc->igmp_parse_errors); + PR_FIELD_(", ", mld_v1queries); + PR_FIELD_(", ", mld_v2queries); + PR_FIELD_(", ", mld_leaves); + PR_FIELD_(", ", mld_v1reports); + PR_FIELD_(", ", mld_v2reports); + printf(", mld_parse_errors=%llu", + (unsigned long long) br_xst_mc->mld_parse_errors); + PR_FIELD_(", ", mcast_bytes); + PR_FIELD_(", ", mcast_packets); + printf("}"); + +#undef PR_FIELD_ +} + +static void +check_xstats(const int fd, unsigned int cmd, const char *cmd_str) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 256); + + l1_attr = cmd; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(LINK_XSTATS_TYPE_UNSPEC) }, + { 0x3 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "LINK_XSTATS_TYPE_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE */ + l2_attr = LINK_XSTATS_TYPE_BRIDGE; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BRIDGE)); + + /* LINK_XSTATS_TYPE_BRIDGE: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_br_types = { + { ARG_STR(BRIDGE_XSTATS_UNSPEC) }, + { ARG_STR(BRIDGE_XSTATS_PAD) }, + { 0x5 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_br_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_br_typesi.val, undec_br_typesi.str, + "BRIDGE_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_br_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_VLAN */ + static const struct { + struct bridge_vlan_xstats val; + const char *str; + } br_xst_vlan_vecs = { + { { .rx_bytes=0, .rx_packets=0xdeadfacebeeffeedULL, + .tx_bytes=0x8090a0b0c0d0e0f0ULL, .tx_packets=0, + .vid=0xdead, .flags=2 }, + "{rx_bytes=0, rx_packets=16045756813264551661" + ", tx_bytes=9264081114510713072, tx_packets=0" + ", vid=57005, flags=" + XLAT_KNOWN(0x2, "BRIDGE_VLAN_INFO_PVID") "}" }, + { { .rx_bytes=12345678901234567890ULL, .rx_packets=0, + .tx_bytes=0, .tx_packets=9876543210987654321ULL, + .vid=0, .flags=0, .pad2=0xbadc0ded }, + "{rx_bytes=12345678901234567890, rx_packets=0" + ", tx_bytes=0, tx_packets=9876543210987654321" + ", vid=0, flags=0, pad2=0xbadc0ded}" }, + { { .flags=0xdeed }, + "{rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0, vid=0" + ", flags=" XLAT_KNOWN(0xdeed, "BRIDGE_VLAN_INFO_MASTER" + "|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS" + "|0xde80") "}" }, + { { .rx_bytes=0xdefaceddecaffeedULL, + .rx_packets=0xbeeffacedeadbabeULL, + .tx_bytes=0xbeeffeeddadfacedULL, + .tx_packets=0xbeeffadeeffaceedULL, + .vid=0xcafe, .flags=0xfa80, .pad2=0xdeadabba }, + "{rx_bytes=16067382073151717101" + ", rx_packets=13758491153046289086" + ", tx_bytes=13758495684172950765" + ", tx_packets=13758491222056029933" + ", vid=51966, flags=0xfa80" + NRAW(" /* BRIDGE_VLAN_INFO_??? */") + ", pad2=0xdeadabba}" }, + }; + void *nlh_vlan = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_vlan_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_vlan_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_vlan, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, + "BRIDGE_XSTATS_VLAN"), + pattern, br_xst_vlan_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_vlan_vecsi.str)); + + char bufsizeof(br_xst_vlan_vecs0.val) + 42; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_vlan_vecsi.val, + sizeof(br_xst_vlan_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, "BRIDGE_XSTATS_VLAN"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_vlan_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_vlan_vecs0.val), + 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_MCAST */ + struct br_mcast_stats br_xst_mc; + void *nlh_mc = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(br_xst_mc)); + +#define FIELD_STR_(field_) \ + #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") "=0, " \ + XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=0" + + memset(&br_xst_mc, 0, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + printf("{" FIELD_STR_(igmp_v1queries) + ", " FIELD_STR_(igmp_v2queries) + ", " FIELD_STR_(igmp_v3queries) + ", " FIELD_STR_(igmp_leaves) + ", " FIELD_STR_(igmp_v1reports) + ", " FIELD_STR_(igmp_v2reports) + ", " FIELD_STR_(igmp_v3reports) + ", igmp_parse_errors=0" + ", " FIELD_STR_(mld_v1queries) + ", " FIELD_STR_(mld_v2queries) + ", " FIELD_STR_(mld_leaves) + ", " FIELD_STR_(mld_v1reports) + ", " FIELD_STR_(mld_v2reports) + ", mld_parse_errors=0" + ", " FIELD_STR_(mcast_bytes) + ", " FIELD_STR_(mcast_packets) + "}")); +#undef FIELD_STR_ + + fill_memory64(&br_xst_mc, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + print_mcast_stats(&br_xst_mc)); + + char mc_bufsizeof(br_xst_mc) + 8; + fill_memory(mc_buf, sizeof(mc_buf)); + memcpy(mc_buf, &br_xst_mc, sizeof(br_xst_mc)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + sizeof(mc_buf), mc_buf, sizeof(mc_buf), + print_mcast_stats(&br_xst_mc); + printf(", "); + print_quoted_hex(mc_buf + sizeof(br_xst_mc), 8); + printf("")); + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_STP */ + static const struct { + struct bridge_stp_xstats val; + const char *str; + } br_xst_stp_vecs = { + { { .transition_blk=0, .transition_fwd=0, .rx_bpdu=0, + .tx_bpdu=0, .rx_tcn=0, .tx_tcn=0, }, + "{transition_blk=0, transition_fwd=0, rx_bpdu=0, tx_bpdu=0" + ", rx_tcn=0, tx_tcn=0}" }, + { { .transition_blk=0x8090a0b0c0d0e0f0ULL, + .transition_fwd=0x8191a1b1c1d1e1f1ULL, + .rx_bpdu=0x8292a2b2c2d2e2f2ULL, + .tx_bpdu=0x8393a3b3c3d3e3f3ULL, + .rx_tcn=0x8494a4b4c4d4e4f4ULL, + .tx_tcn=0x8595a5b5c5d5e5f5ULL, }, + "{transition_blk=9264081114510713072" + ", transition_fwd=9336421287348789745" + ", rx_bpdu=9408761460186866418, tx_bpdu=9481101633024943091" + ", rx_tcn=9553441805863019764, tx_tcn=9625781978701096437}" }, + }; + void *nlh_stp = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_stp_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_stp_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_stp, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, + "BRIDGE_XSTATS_STP"), + pattern, br_xst_stp_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_stp_vecsi.str)); + + char bufsizeof(br_xst_stp_vecs0.val) + 33; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_stp_vecsi.val, + sizeof(br_xst_stp_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, "BRIDGE_XSTATS_STP"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_stp_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_stp_vecs0.val), + 32); + printf("...")); + } + + + + /* LINK_XSTATS_TYPE_BOND */ + l2_attr = LINK_XSTATS_TYPE_BOND; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BOND)); + + /* LINK_XSTATS_TYPE_BOND: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_bd_types = { + { ARG_STR(BOND_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_bd_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_bd_typesi.val, undec_bd_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_bd_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BOND: BOND_XSTATS_3AD */ + l3_attr = BOND_XSTATS_3AD; + snprintf(l3_attr_str, sizeof(l3_attr_str), XLAT_FMT, + XLAT_ARGS(BOND_XSTATS_3AD)); + + /* BOND_XSTATS_3AD: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_3ad_types = { + { ARG_STR(BOND_3AD_STAT_PAD) }, + { 0xa }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_3ad_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_3ad_typesi.val, undec_3ad_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 3 * NLA_HDRLEN, + init_ifstats_l3, print_ifstats_l3, + undec_3ad_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* BOND_XSTATS_3AD: u64 args */ + static const struct strval32 u64_3ad_types = { + { ARG_STR(BOND_3AD_STAT_LACPDU_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_TX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_UNKNOWN_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_ILLEGAL_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_UNKNOWN_RX) }, + }; + void *nlh_3ad_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(u64_3ad_types); i++) { + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(u64_3ad_typesi.val, u64_3ad_typesi.str)); + check_u64_nlattr(fd, nlh_3ad_u64, hdrlen, + init_ifstats_l3, print_ifstats_l3, + u64_3ad_typesi.val, nla_type_str, + pattern, 3); + } +} + +static void +check_stats_offload(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* IFLA_STATS_LINK_OFFLOAD_XSTATS */ + l1_attr = IFLA_STATS_LINK_OFFLOAD_XSTATS; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_ARGS(IFLA_STATS_LINK_OFFLOAD_XSTATS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(IFLA_OFFLOAD_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "IFLA_OFFLOAD_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* IFLA_OFFLOAD_XSTATS_CPU_HIT */ + check_stats_64(fd, ARG_STR(IFLA_OFFLOAD_XSTATS_CPU_HIT), true); +} + +/* + * skip_af is expected to be sorted + * + * RTM_GETSTATS -> struct if_stats_msg + * cmd + * AF_* + * 0 -> u32 + * 1 -> u64 + */ +static void +check_stats_af_generic(const int fd, unsigned int cmd, const char *cmd_str, + const uint8_t * const skip_af, const size_t skip_af_cnt) +{ + enum { ATTR_SZ = NLA_HDRLEN + 2 * NLA_HDRLEN + 4 + 8 }; + + /* + * The payload is designed like this so if a decoder for a new AF_* + * is implemented, this check will likely fail. + */ + struct { + struct nlattr hdr; + + struct nlattr nested_hdr1; + uint32_t nested_data1; + + struct nlattr nested_hdr2; + uint64_t nested_data2; + } dummy_data = { + { ATTR_SZ, 0 /* AF_* */ }, + { NLA_HDRLEN + sizeof(uint32_t), 0 }, 0xdeadc0de, + { NLA_HDRLEN + sizeof(uint64_t), 1 }, 0xbadda7adeadfacedULL, + }; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + ATTR_SZ); + size_t skip_pos = 0; + + static_assert(ATTR_SZ == sizeof(dummy_data), + "Dummy nlattr payload size mismatch"); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + for (size_t i = 0; i < 256; i++) { + if (skip_pos < skip_af_cnt && i == skip_afskip_pos) { + skip_pos++; + continue; + } + + dummy_data.hdr.nla_type = i; + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifstats, print_ifstats, + cmd, nla_type_str, ATTR_SZ, &dummy_data, ATTR_SZ, + printf("{nla_len=%u, nla_type=", ATTR_SZ); + printxval(addrfams, i, "AF_???"); + printf("}, "); + print_quoted_hex(&dummy_data.nested_hdr1, + sizeof(dummy_data) - NLA_HDRLEN); + printf("")); + } +} + +static void +check_stats_af_mpls(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* l1: IFLA_STATS_AF_SPEC */ + l1_attr = IFLA_STATS_AF_SPEC; + snprintf(l1_attr_str, sizeof(l1_attr_str), + XLAT_KNOWN(0x5, "IFLA_STATS_AF_SPEC")); + + /* l2: AF_MPLS */ + l2_attr = AF_MPLS; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(AF_MPLS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(MPLS_STATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "MPLS_STATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* MPLS_STATS_LINK */ + struct mpls_link_stats mls; + void *nlh_mls = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(mls)); + + memset(&mls, 0, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=0, tx_packets=0" + ", rx_bytes=0, tx_bytes=0" + ", rx_errors=0, tx_errors=0" + ", rx_dropped=0, tx_dropped=0" + ", rx_noroute=0}")); + + typedef unsigned long long ullong; + fill_memory64(&mls, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=%llu, tx_packets=%llu" + ", rx_bytes=%llu, tx_bytes=%llu" + ", rx_errors=%llu, tx_errors=%llu" + ", rx_dropped=%llu" + ", tx_dropped=%llu" + ", rx_noroute=%llu}", + (ullong) mls.rx_packets, + (ullong) mls.tx_packets, + (ullong) mls.rx_bytes, + (ullong) mls.tx_bytes, + (ullong) mls.rx_errors, + (ullong) mls.tx_errors, + (ullong) mls.rx_dropped, + (ullong) mls.tx_dropped, + (ullong) mls.rx_noroute)); + + char mls_bufsizeof(mls) + 32; + fill_memory(mls_buf, sizeof(mls_buf)); + memcpy(mls_buf, &mls, sizeof(mls)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + sizeof(mls_buf), mls_buf, sizeof(mls_buf), + printf("{rx_packets=9264081114510713072" + ", tx_packets=9264081114510713073" + ", rx_bytes=9264081114510713074" + ", tx_bytes=9264081114510713075" + ", rx_errors=9264081114510713076" + ", tx_errors=9264081114510713077" + ", rx_dropped=9264081114510713078" + ", tx_dropped=9264081114510713079" + ", rx_noroute=9264081114510713080}, "); + print_quoted_hex(mls_buf + sizeof(mls), 32); + printf("")); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 256); + + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + /* Unknown attrs. */ + static const uint16_t unk_types = { 6, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* IFLA_STATS_??? */"), + unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* IFLA_STATS_UNSPEC: unimplemented, no semantics. */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "IFLA_STATS_UNSPEC") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* IFLA_STATS_LINK_64 */ + check_stats_64(fd, ARG_STR(IFLA_STATS_LINK_64), false); + + + /* IFLA_STATS_LINK_XSTATS, IFLA_STATS_LINK_XSTATS_SLAVE */ + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS)); + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS_SLAVE)); + + + /* IFLA_STATS_LINK_OFFLOAD_STATS */ + check_stats_offload(fd); + + + /* IFLA_STATS_AF_SPEC */ + static const uint8_t af_spec_fams = { AF_MPLS }; + check_stats_af_generic(fd, ARG_STR(IFLA_STATS_AF_SPEC), + ARRSZ_PAIR(af_spec_fams)); + + /* IFLA_STATS_AF_SPEC: AF_MPLS */ + check_stats_af_mpls(fd); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ifstats.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_inet_diag_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_inet_diag_msg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,12 +11,27 @@ #include <stdio.h> #include <string.h> #include <arpa/inet.h> +#include <linux/atalk.h> +#include <linux/mptcp.h> +#include <linux/tls.h> #include <net/if.h> +#include <netinet/in.h> #include <netinet/tcp.h> #include "test_nlattr.h" #include <linux/inet_diag.h> #include <linux/sock_diag.h> + +#ifndef HAVE_STRUCT_TCP_DIAG_MD5SIG +struct tcp_diag_md5sig { + __u8 tcpm_family; + __u8 tcpm_prefixlen; + __u16 tcpm_keylen; + __be32 tcpm_addr4; + __u8 tcpm_key80 /* TCP_MD5SIG_MAXKEYLEN */; +}; +#endif + static const char * const sk_meminfo_strs = { "SK_MEMINFO_RMEM_ALLOC", "SK_MEMINFO_RCVBUF", @@ -30,6 +45,12 @@ }; static const char address = "10.11.12.13"; +static const unsigned int hdrlen = sizeof(struct inet_diag_msg); +static uint16_t attr1; +static const char *attr1_str = NULL; +static uint16_t attr2; +static const char *attr2_str = NULL; + static void init_inet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) @@ -70,6 +91,47 @@ } static void +init_inet_diag_nest_1(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = attr1, + ); +} + +static void +print_inet_diag_nest_1(const unsigned int msg_len) +{ + print_inet_diag_msg(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen), attr1_str); +} + +static void +init_inet_diag_nest_2(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_nest_1(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + .nla_type = attr2, + ); +} + +static void +print_inet_diag_nest_2(const unsigned int msg_len) +{ + print_inet_diag_nest_1(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, attr2_str); +} + +static void print_uint(const unsigned int *p, size_t i) { if (i >= ARRAY_SIZE(sk_meminfo_strs)) @@ -77,7 +139,75 @@ else printf("%s", sk_meminfo_strsi); - printf(" = %u", *p); + printf("=%u", *p); +} + +static const struct { + struct tcp_diag_md5sig val; + const char *str; +} md5sig_vecs = { + { { 0 }, + "{tcpm_family=AF_UNSPEC, tcpm_prefixlen=0, tcpm_keylen=0" + ", tcpm_addr=\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", tcpm_key=\"\"}" }, + { { AF_INET, 0x42, 1, { BE_LE(0xdeadface, 0xcefaadde) } }, + "{tcpm_family=AF_INET, tcpm_prefixlen=66, tcpm_keylen=1" + ", tcpm_addr=inet_addr(\"222.173.250.206\")" + ", tcpm_key=\"\\x00\"}" }, + { { AF_INET6, 0xbe, 42, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" }, + "{tcpm_family=AF_INET6, tcpm_prefixlen=190, tcpm_keylen=42" + ", inet_pton(AF_INET6, \"dead:face:cafe::face:badc:ded\", &tcpm_addr)" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\"}" }, + { { 46, 0, 45067, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" + "xyz0123456789ABCDEFGHIJKLMNO" }, + "{tcpm_family=0x2e /* AF_??? */, tcpm_prefixlen=0, tcpm_keylen=45067" + ", tcpm_addr=\"\\xde\\xad\\xfa\\xce\\xca\\xfe\\x00\\x00" + "\\x00\\x00\\xfa\\xce\\xba\\xdc\\x0d\\xed\"" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73" + "\\x74\\x75\\x76\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35\\x36" + "\\x37\\x38\\x39\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\\x4a" + "\\x4b\\x4c\\x4d\\x4e\\x4f\"}" }, +}; + +static void +print_md5sig(const struct tcp_diag_md5sig *p, size_t i) +{ + printf("%s", md5sig_vecsi.str); +} + +static void +print_sa(const struct sockaddr_storage *p, size_t i) +{ + static const char *strs = { + "{sa_family=AF_INET, sin_port=htons(42069)" + ", sin_addr=inet_addr(\"18.52.86.120\")}", + "{sa_family=AF_INET6, sin6_port=htons(23456)" + ", sin6_flowinfo=htonl(324508639)" + ", inet_pton(AF_INET6, \"1234:5678::9abc:def0\", &sin6_addr)" + ", sin6_scope_id=610839776}", + "{sa_family=AF_APPLETALK" + ", sa_data=\"i\\0" BE_LE("\\207e", "e\\207") "B\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}" + }; + + printf("%s", strsi); } int @@ -114,10 +244,8 @@ static const uint32_t mem = { 0xaffacbad, 0xffadbcab }; static uint32_t bigmemSK_MEMINFO_VARS + 1; static const uint32_t mark = 0xabdfadca; - static const uint8_t shutdown = 0xcd; const int fd = create_nl_socket(NETLINK_SOCK_DIAG); - const unsigned int hdrlen = sizeof(struct inet_diag_msg); void *const nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + MAX(sizeof(bigmem), DEFAULT_STRLEN)); @@ -202,10 +330,24 @@ INET_DIAG_CLASS_ID, pattern, mark, printf("%u", mark)); - TEST_NLATTR(fd, nlh0, hdrlen, - init_inet_diag_msg, print_inet_diag_msg, INET_DIAG_SHUTDOWN, - sizeof(shutdown), &shutdown, sizeof(shutdown), - printf("%u", shutdown)); + static const struct strval8 shutdown_vecs = { + { ARG_STR(0) }, + { 1, "0x1 /* RCV_SHUTDOWN */" }, + { 2, "0x2 /* SEND_SHUTDOWN */" }, + { 3, "0x3 /* RCV_SHUTDOWN|SEND_SHUTDOWN */" }, + { 4, "0x4 /* ???_SHUTDOWN */" }, + { 23, "0x17 /* RCV_SHUTDOWN|SEND_SHUTDOWN|0x14 */" }, + { 252, "0xfc /* ???_SHUTDOWN */" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint8_t, shutdown); + for (size_t i = 0; i < ARRAY_SIZE(shutdown_vecs); i++) { + *shutdown = shutdown_vecsi.val; + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SHUTDOWN, + sizeof(*shutdown), shutdown, sizeof(*shutdown), + printf("%s", shutdown_vecsi.str)); + } char *const str = tail_alloc(DEFAULT_STRLEN); fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); @@ -219,6 +361,524 @@ DEFAULT_STRLEN, str, DEFAULT_STRLEN, printf("\"%s\"", str)); + /* u8 INET_DIAG_* attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x5, INET_DIAG_TOS) }, + { ENUM_KNOWN(0x6, INET_DIAG_TCLASS) }, + { ENUM_KNOWN(0xb, INET_DIAG_SKV6ONLY) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u8_attrsi.val, u8_attrsi.str, pattern, 0); + } + + /* u32 INET_DIAG_* attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0xf, INET_DIAG_MARK) }, + { ENUM_KNOWN(0x11, INET_DIAG_CLASS_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u32_attrsi.val, u32_attrsi.str, + pattern, 0); + } + + /* u64 INET_DIAG_* attrs */ + static const struct strval16 u64_attrs = { + { ENUM_KNOWN(0x15, INET_DIAG_CGROUP_ID) }, + }; + void *nlh_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_attrs); i++) { + check_u64_nlattr(fd, nlh_u64, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u64_attrsi.val, u64_attrsi.str, + pattern, 0); + } + + /* INET_DIAG_PROTOCOL */ + static const struct strval8 protos = { + { 0, "IPPROTO_IP" }, + { 2, "IPPROTO_IGMP" }, + { 5, "0x5 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 190, "0xbe /* IPPROTO_??? */" }, + { 255, "IPPROTO_RAW" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_PROTOCOL, + sizeof(uint8_t), &protosi.val, sizeof(uint8_t), + printf("%s", protosi.str)); + } + + /* INET_DIAG_MD5SIG */ + struct tcp_diag_md5sig md5s_arrARRAY_SIZE(md5sig_vecs); + + for (size_t i = 0; i < ARRAY_SIZE(md5sig_vecs); i++) { + memcpy(md5s_arr + i, &md5sig_vecsi.val, sizeof(md5s_arr0)); + + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, + md5sig_vecsi.val, + printf("%s", md5sig_vecsi.str)); + } + + TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, md5s_arr, print_md5sig); + + /* INET_DIAG_ULP_INFO */ + attr1 = INET_DIAG_ULP_INFO; + attr1_str = "INET_DIAG_ULP_INFO"; + + /* INET_DIAG_ULP_INFO: unknown, undecoded */ + static const struct strval16 ulp_unk_attrs = { + { ENUM_KNOWN(0, INET_ULP_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_ULP_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_ULP_INFO_???") }, + }; + static const uint32_t dummy = BE_LE(0xdeadc0de, 0xdec0adde); + + for (size_t i = 0; i < ARRAY_SIZE(ulp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + ulp_unk_attrsi.val, + ulp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_NAME */ + static const struct { + const char *val; + const char *str; + ssize_t sz; + } ulp_names = { + { "OH HAI", "\"OH HAI\"", 7 }, + { "\0\0\0", "\"\\0\\0\\0\"", 4 }, + { "\1\2\3\4\5\6\7\10\11\12\13\14", + "\"\\1\\2\\3\\4\\5\\6\\7\\10\\t\\n\\v\\f\"...", 12 }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ulp_names); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + INET_ULP_INFO_NAME, "INET_ULP_INFO_NAME", + ulp_namesi.sz, ulp_namesi.val, + ulp_namesi.sz, 1, + printf("%s", ulp_namesi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS */ + attr2 = INET_ULP_INFO_TLS; + attr2_str = "INET_ULP_INFO_TLS"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: unknown, undecoded */ + static const struct strval16 tls_unk_attrs = { + { ENUM_KNOWN(0, TLS_INFO_UNSPEC) }, + { ENUM_KNOWN(0x6, TLS_INFO_RX_NO_PAD) }, + { ARG_XLAT_UNKNOWN(0x7, "TLS_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "TLS_INFO_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_unk_attrsi.val, + tls_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_VERSION */ + static const struct strval16 tls_vers = { + { ARG_XLAT_UNKNOWN(0, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x200, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x300, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x301, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x302, "TLS_???_VERSION") }, + { ENUM_KNOWN(0x303, TLS_1_2_VERSION) }, + { ENUM_KNOWN(0x304, TLS_1_3_VERSION) }, + { ARG_XLAT_UNKNOWN(0x305, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0xdead, "TLS_???_VERSION") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_vers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_VERSION, "TLS_INFO_VERSION", + 2, &tls_versi.val, 2, 2, + printf("%s", tls_versi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_CIPHER */ + static const struct strval16 tls_ciphers = { + { ARG_XLAT_UNKNOWN(0, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0x32, "TLS_CIPHER_???") }, + { ENUM_KNOWN(0x33, TLS_CIPHER_AES_GCM_128) }, + { ENUM_KNOWN(0x34, TLS_CIPHER_AES_GCM_256) }, + { ENUM_KNOWN(0x35, TLS_CIPHER_AES_CCM_128) }, + { ENUM_KNOWN(0x36, TLS_CIPHER_CHACHA20_POLY1305) }, + { ENUM_KNOWN(0x37, TLS_CIPHER_SM4_GCM) }, + { ENUM_KNOWN(0x38, TLS_CIPHER_SM4_CCM) }, + { ENUM_KNOWN(0x39, TLS_CIPHER_ARIA_GCM_128) }, + { ENUM_KNOWN(0x3a, TLS_CIPHER_ARIA_GCM_256) }, + { ARG_XLAT_UNKNOWN(0x3b, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0xcafe, "TLS_CIPHER_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_ciphers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_CIPHER, "TLS_INFO_CIPHER", + 2, &tls_ciphersi.val, 2, 2, + printf("%s", tls_ciphersi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_RTXCONF */ + static const struct strval16 tls_cfg_attrs = { + { ENUM_KNOWN(0, TLS_INFO_TXCONF) }, + { ENUM_KNOWN(0, TLS_INFO_RXCONF) }, + }; + static const struct strval16 tls_cfgs = { + { ARG_XLAT_UNKNOWN(0, "TLS_CONF_???") }, + { ENUM_KNOWN(0x1, TLS_CONF_BASE) }, + { ENUM_KNOWN(0x2, TLS_CONF_SW) }, + { ENUM_KNOWN(0x3, TLS_CONF_HW) }, + { ENUM_KNOWN(0x4, TLS_CONF_HW_RECORD) }, + { ARG_XLAT_UNKNOWN(0x5, "TLS_CONF_???") }, + { ARG_XLAT_UNKNOWN(0xface, "TLS_CONF_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_cfg_attrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(tls_cfgs); j++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_cfg_attrsi.val, + tls_cfg_attrsi.str, + 2, &tls_cfgsi.val, 2, 2, + printf("%s", tls_cfgsi.str)); + } + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP */ + attr2 = INET_ULP_INFO_MPTCP; + attr2_str = "INET_ULP_INFO_MPTCP"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: unknown, undecoded */ + static const struct strval16 mptcp_unk_attrs = { + { ENUM_KNOWN(0, MPTCP_SUBFLOW_ATTR_UNSPEC) }, + { ENUM_KNOWN(0xb, MPTCP_SUBFLOW_ATTR_PAD) }, + { ARG_XLAT_UNKNOWN(0xc, "MPTCP_SUBFLOW_ATTR_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "MPTCP_SUBFLOW_ATTR_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_unk_attrsi.val, + mptcp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u8 */ + static const struct strval16 mptcp_u8_attrs = { + { ENUM_KNOWN(0x9, MPTCP_SUBFLOW_ATTR_ID_REM) }, + { ENUM_KNOWN(0xa, MPTCP_SUBFLOW_ATTR_ID_LOC) }, + }; + void *nlh_n2_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u8_attrs); i++) { + check_u8_nlattr(fd, nlh_n2_u8, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u8_attrsi.val, mptcp_u8_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u16 */ + static const struct strval16 mptcp_u16_attrs = { + { ENUM_KNOWN(0x7, MPTCP_SUBFLOW_ATTR_MAP_DATALEN) }, + }; + void *nlh_n2_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u16_attrs); i++) { + check_u16_nlattr(fd, nlh_n2_u16, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u16_attrsi.val, mptcp_u16_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u32 */ + static const struct strval16 mptcp_u32_attrs = { + { ENUM_KNOWN(0x3, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ) }, + { ENUM_KNOWN(0x5, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ) }, + { ENUM_KNOWN(0x6, MPTCP_SUBFLOW_ATTR_SSN_OFFSET) }, + }; + void *nlh_n2_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_n2_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u32_attrsi.val, mptcp_u32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u64 */ + static const struct strval16 mptcp_u64_attrs = { + { ENUM_KNOWN(0x4, MPTCP_SUBFLOW_ATTR_MAP_SEQ) }, + }; + void *nlh_n2_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u64_attrs); i++) { + check_u64_nlattr(fd, nlh_n2_u64, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u64_attrsi.val, mptcp_u64_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: x32 */ + static const struct strval16 mptcp_x32_attrs = { + { ENUM_KNOWN(0x1, MPTCP_SUBFLOW_ATTR_TOKEN_REM) }, + { ENUM_KNOWN(0x2, MPTCP_SUBFLOW_ATTR_TOKEN_LOC) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_x32_attrs); i++) { + check_x32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_x32_attrsi.val, mptcp_x32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: MPTCP_SUBFLOW_ATTR_FLAGS */ + static const struct strval32 mptcp_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "MPTCP_SUBFLOW_FLAG_MCAP_REM") }, + { ARG_XLAT_KNOWN(0xdecaffed, + "MPTCP_SUBFLOW_FLAG_MCAP_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_LOC" + "|MPTCP_SUBFLOW_FLAG_BKUP_LOC" + "|MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED" + "|MPTCP_SUBFLOW_FLAG_CONNECTED" + "|MPTCP_SUBFLOW_FLAG_MAPVALID|0xdecafe00") }, + { ARG_XLAT_UNKNOWN(0xfffffe00, "MPTCP_SUBFLOW_FLAG_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + MPTCP_SUBFLOW_ATTR_FLAGS, + "MPTCP_SUBFLOW_ATTR_FLAGS", + 4, &mptcp_flagsi.val, 4, 2, + printf("%s", mptcp_flagsi.str)); + } + + /* INET_DIAG_SK_BPF_STORAGES */ + attr1 = INET_DIAG_SK_BPF_STORAGES; + attr1_str = "INET_DIAG_SK_BPF_STORAGES"; + + /* INET_DIAG_SK_BPF_STORAGES: unknown, undecoded */ + static const struct strval16 bpfsts_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_REP_NONE) }, + { ARG_XLAT_UNKNOWN(0x2, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfsts_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + bpfsts_unk_attrsi.val, + bpfsts_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE */ + attr2 = SK_DIAG_BPF_STORAGE; + attr2_str = "SK_DIAG_BPF_STORAGE"; + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: unknown, undecoded */ + static const struct strval16 bpfst_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_NONE) }, + { ENUM_KNOWN(0x1, SK_DIAG_BPF_STORAGE_NONE) }, + { ARG_XLAT_UNKNOWN(0x4, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_unk_attrsi.val, + bpfst_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: u32 */ + static const struct strval16 bpfst_u32_attrs = { + { ENUM_KNOWN(0x2, SK_DIAG_BPF_STORAGE_MAP_ID) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_u32_attrsi.val, bpfst_u32_attrsi.str, + pattern, 2); + } + + /* + * INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: + * SK_DIAG_BPF_STORAGE_MAP_VALUE + */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } bpfst_vals = { + { 1, "\xbe", "0xbe" }, + { 2, BE_LE("\xde\xad", "\xad\xde"), "0xdead" }, + { 3, "\xca\xff\xee", "\"\\xca\\xff\\xee\"" }, + { 4, BE_LE("\xba\xdc\x0d\xed", "\xed\x0d\xdc\xba"), + "0xbadc0ded" }, + { 5, "\x00\x09\x0a\x0b\x0c", + "\"\\x00\\x09\\x0a\\x0b\\x0c\"" }, + { 6, "012345", + "\"\\x30\\x31\\x32\\x33\\x34\\x35\"" }, + { 7, "abcdefg", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\"" }, + { 8, BE_LE("\xbe\xef\xfa\xce\xde\xad\xc0\xde", + "\xde\xc0\xad\xde\xce\xfa\xef\xbe"), + "0xbeeffacedeadc0de" }, + { 9, "ABCDEFGHI", + "\"\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\"" }, + { 10, "1234567890", + "\"\\x31\\x32\\x33\\x34\\x35" + "\\x36\\x37\\x38\\x39\\x30\"" }, + { 12, "a1b2c3d4e5f6", + "\"\\x61\\x31\\x62\\x32\\x63\\x33" + "\\x64\\x34\\x65\\x35\\x66\\x36\"" }, + { 16, "A1B2C3D4E5F6G7H8", + "\"\\x41\\x31\\x42\\x32\\x43\\x33\\x44\\x34" + "\\x45\\x35\\x46\\x36\\x47\\x37\\x48\\x38\"" }, + { 36, "abcdefghijklmnopqrstuvwxyz0123456789", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\\x68\\x69\\x6a" + "\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73\\x74\\x75" + "\\x76\\x77\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35" + "\"..." }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_vals); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + SK_DIAG_BPF_STORAGE_MAP_VALUE, + "SK_DIAG_BPF_STORAGE_MAP_VALUE", + bpfst_valsi.sz, bpfst_valsi.val, + bpfst_valsi.sz, 2, + printf("%s", bpfst_valsi.str)); + } + + /* INET_DIAG_SOCKOPT */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } sockopts = { + { 1, "\xbe", "\"\\xbe\"" }, + { 2, "\x00\x00", "{}" }, + { 2, BE_LE("\xca\xa0", "\x53\x05"), + "{recverr=1, is_icsk=1, mc_loop=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1}" }, + { 3, BE_LE("\x1e\xad", "\x78\xb5"), + "{hdrincl=1, mc_loop=1, transparent=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1" + ", unused=" BE_LE("0xd", "0x16") " /* bits 3..8 */}" }, + { 4, "\xff\xff\x00\xff", + "{recverr=1, is_icsk=1, freebind=1, hdrincl=1, mc_loop=1" + ", transparent=1, mc_all=1, nodefrag=1" + ", bind_address_no_port=1, recverr_rfc4884=1, defer_connect=1" + ", unused=0x1f /* bits 3..8 */}" + ", /* bytes 2..3 */ \"\\x00\\xff\"" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sockopts); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SOCKOPT, + sockoptsi.sz, sockoptsi.val, sockoptsi.sz, + printf("%s", sockoptsi.str)); + } + + /* INET_DIAG_LOCALS, INET_DIAG_PEERS */ + static const struct strval16 sa_attrs = { + { ENUM_KNOWN(0xc, INET_DIAG_LOCALS) }, + { ENUM_KNOWN(0xd, INET_DIAG_PEERS) }, + }; + enum { + SA_CNT = 3, + SA_SZ = sizeof(struct sockaddr_storage) * SA_CNT, + }; + void *nlh_sa = midtail_alloc(NLMSG_SPACE(hdrlen), SA_SZ); + struct sockaddr_storage bufSA_CNT = { { 0 } }; + + struct sockaddr_in *sa_in = (struct sockaddr_in *) (buf); + sa_in->sin_family = AF_INET; + sa_in->sin_port = htons(42069); + sa_in->sin_addr.s_addr = htonl(0x12345678); + + struct sockaddr_in6 *sa_in6 = (struct sockaddr_in6 *) (buf + 1); + sa_in6->sin6_family = AF_INET6; + sa_in6->sin6_port = htons(23456); + sa_in6->sin6_flowinfo = htonl(0x13579bdf); + sa_in6->sin6_scope_id = 0x2468ace0; + memcpy(sa_in6->sin6_addr.s6_addr, + "\x12\x34\x56\x78\0\0\0\0\0\0\0\0\x9a\xbc\xde\xf0", + sizeof(sa_in6->sin6_addr.s6_addr)); + + struct sockaddr_at *sa_at = (struct sockaddr_at *) (buf + 2); + sa_at->sat_family = AF_APPLETALK; + sa_at->sat_port = 0x69; + sa_at->sat_addr.s_net = 0x8765; + sa_at->sat_addr.s_node = 0x42; + + for (size_t i = 0; i < ARRAY_SIZE(sa_attrs); i++) { + TEST_NLATTR_ARRAY_(fd, nlh_sa, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + sa_attrsi.val, sa_attrsi.str, + pattern, buf, print_sa); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_inet_diag_req_v2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_inet_diag_req_v2.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -64,6 +64,26 @@ } static void +test_unk_attrs(const int fd) +{ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, INET_DIAG_REQ_NONE) }, + { ENUM_KNOWN(0x2, INET_DIAG_REQ_SK_BPF_STORAGES) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_DIAG_REQ_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_DIAG_REQ_???") }, + }; + static const char buf4 = { 0xde, 0xad, 0xfa, 0xce }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + unk_attrsi.val, unk_attrsi.str, + sizeof(buf), buf, sizeof(buf), + print_quoted_hex(buf, sizeof(buf))); + } +} + +static void test_inet_diag_bc_op(const int fd) { static const struct inet_diag_bc_op op = { @@ -384,6 +404,28 @@ sizeof(buf) - sizeof(op))); } +static void +test_inet_diag_proto(const int fd) +{ + static const struct strval32 protos = { + { 0, "IPPROTO_IP" }, + { 3, "0x3 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 255, "IPPROTO_RAW" }, + { 256, "0x100 /* IPPROTO_??? */" }, + { 262, "IPPROTO_MPTCP" }, + { 0xcafeface, "0xcafeface /* IPPROTO_??? */" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + INET_DIAG_REQ_PROTOCOL, + sizeof(uint32_t), &protosi.val, sizeof(uint32_t), + printf("%s", protosi.str)); + } +} + int main(void) { @@ -396,6 +438,7 @@ sizeof(struct in6_addr) + DEFAULT_STRLEN); fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + test_unk_attrs(fd); test_inet_diag_bc_op(fd); test_inet_diag_bc_s_cond(fd); test_in_addr(fd); @@ -404,6 +447,7 @@ test_inet_diag_bc_s_le(fd); test_inet_diag_bc_mark_cond(fd); test_inet_diag_bc_nop(fd); + test_inet_diag_proto(fd); printf("+++ exited with 0 +++\n"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_mdba_router_port.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_mdba_router_port.c
Changed
@@ -8,7 +8,9 @@ #include "tests.h" +#include <math.h> #include <stdio.h> +#include <unistd.h> #include "test_nlattr.h" #include <linux/if_bridge.h> #include <linux/rtnetlink.h> @@ -93,7 +95,16 @@ { ARG_STR(MDBA_ROUTER_PATTR_INET_TIMER) }, { ARG_STR(MDBA_ROUTER_PATTR_INET6_TIMER) }, }; - static const uint32_t timer = 0xdabcefcd; + uint32_t timer = 0xdead; + long clk_tck; + int precision = 0; + + clk_tck = sysconf(_SC_CLK_TCK); + if (clk_tck > 0) { + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + timer *= clk_tck; + } struct nlattr nla_timer = { .nla_len = NLA_HDRLEN + sizeof(timer), @@ -114,8 +125,11 @@ MDBA_ROUTER_PORT, sizeof(buf_timer), buf_timer, sizeof(buf_timer), printf(IFINDEX_LO_STR - ", {nla_len=%u, nla_type=%s}, 3669815245", - nla_timer.nla_len, pattrsi.str)); + ", {nla_len=%u, nla_type=%s}, %u", + nla_timer.nla_len, pattrsi.str, timer); + if (clk_tck > 0) + printf(" /* 57005.%0*u s */", precision, 0); + printf("")); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_ndmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_ndmsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/neighbour.h> #include <linux/rtnetlink.h> +static const unsigned int hdrlen = sizeof(struct ndmsg); + static void init_ndmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) { @@ -46,13 +48,32 @@ msg_len); } +static void +init_ndmsg_nfea(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ndmsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = NDA_FDB_EXT_ATTRS, + ); +} + +static void +print_ndmsg_nfea(const unsigned int msg_len) +{ + print_ndmsg(msg_len); + printf(", {nla_len=%u, nla_type=NDA_FDB_EXT_ATTRS}", + msg_len - NLMSG_SPACE(hdrlen)); +} + int main(void) { skip_if_unavailable("/proc/self/fd/"); const int fd = create_nl_socket(NETLINK_ROUTE); - const unsigned int hdrlen = sizeof(struct ndmsg); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + sizeof(struct nda_cacheinfo)); @@ -110,6 +131,102 @@ for (unsigned int i = 0; i < sizeof(mac); ++i) printf("%s%02x", i ? ":" : "", maci)); + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x4, NDA_PROBES) }, + { ENUM_KNOWN(0x7, NDA_VNI) }, + { ENUM_KNOWN(0xa, NDA_LINK_NETNSID) }, + { ENUM_KNOWN(0xb, NDA_SRC_VNI) }, + { ENUM_KNOWN(0xd, NDA_NH_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_ndmsg, print_ndmsg, + u32_attrsi.val, u32_attrsi.str, pattern, 0); + } + + /* NDA_FDB_EXT_ATTRS: unknown, undecoded */ + static const struct strval16 nfea_unk_attrs = { + { ENUM_KNOWN(0, NFEA_UNSPEC) }, + { ENUM_KNOWN(0x2, NFEA_DONT_REFRESH) }, + { ARG_XLAT_UNKNOWN(0x3, "NFEA_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "NFEA_???") }, + }; + static const uint32_t dummy = BE_LE(0xbadc0ded, 0xed0ddcba); + + for (size_t i = 0; i < ARRAY_SIZE(nfea_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + nfea_unk_attrsi.val, + nfea_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xba\\xdc\\x0d\\xed\"")); + } + + /* NDA_FDB_EXT_ATTRS: NFEA_ACTIVITY_NOTIFY */ + static const struct strval8 fan_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "FDB_NOTIFY_BIT") }, + { ARG_XLAT_KNOWN(0xef, "FDB_NOTIFY_BIT" + "|FDB_NOTIFY_INACTIVE_BIT|0xec") }, + { ARG_XLAT_UNKNOWN(0xfc, "FDB_NOTIFY_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(fan_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + NFEA_ACTIVITY_NOTIFY, + "NFEA_ACTIVITY_NOTIFY", + 1, &fan_flagsi.val, 1, 1, + printf("%s", fan_flagsi.str)); + } + + /* NDA_FLAGS_EXT */ + static const struct strval32 ntfe_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_EXT_MANAGED") }, + { ARG_XLAT_KNOWN(0xdeadbeef, "NTF_EXT_MANAGED|0xdeadbeee") }, + { ARG_XLAT_UNKNOWN(0xfeedcafe, "NTF_EXT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ntfe_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_FLAGS_EXT, 4, &ntfe_flagsi.val, 4, + printf("%s", ntfe_flagsi.str)); + } + + /* NDA_NDM_STATE_MASK */ + static const struct strval16 states_flags = { + { ARG_XLAT_KNOWN(0, "NUD_NONE") }, + { ARG_XLAT_KNOWN(0x1, "NUD_INCOMPLETE") }, + { ARG_XLAT_KNOWN(0xabed, "NUD_INCOMPLETE|NUD_STALE|NUD_DELAY" + "|NUD_FAILED|NUD_NOARP|NUD_PERMANENT" + "|0xab00") }, + { ARG_XLAT_UNKNOWN(0xff00, "NUD_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(states_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_STATE_MASK, 2, &states_flagsi.val, 2, + printf("%s", states_flagsi.str)); + } + + /* NDA_NDM_FLAGS_MASK */ + static const struct strval8 ndm_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_USE") }, + { ARG_XLAT_KNOWN(0xbe, "NTF_SELF|NTF_MASTER|NTF_PROXY" + "|NTF_EXT_LEARNED|NTF_OFFLOADED" + "|NTF_ROUTER") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ndm_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_FLAGS_MASK, 1, &ndm_flagsi.val, 1, + printf("%s", ndm_flagsi.str)); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg.c
Added
@@ -0,0 +1,411 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/nexthop.h> +#include <netinet/in.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/rtnl_nexthop_attrs.h" +# include "xlat/rtnl_nha_res_group_attrs.h" +# include "xlat/rtnl_nha_res_bucket_attrs.h" +#undef XLAT_MACROS_ONLY + +#define DEF_NLATTR_NHMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETNEXTHOP, \ + .nlmsg_flags = NLM_F_DUMP, \ + ); \ + \ + struct nhmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct nhmsg, msg, \ + .nh_family = (af_), \ + .nh_scope = RT_SCOPE_NOWHERE, \ + .nh_protocol = RTPROT_UNSPEC, \ + .nh_flags = 0x22, \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT \ + ", nlmsg_flags=" XLAT_FMT ", nlmsg_seq=0" \ + ", nlmsg_pid=0}, {nh_family=" XLAT_FMT \ + ", nh_scope=" XLAT_FMT ", nh_protocol=" XLAT_FMT \ + ", nh_flags=" XLAT_FMT "}", \ + msg_len, XLAT_ARGS(RTM_GETNEXTHOP), \ + XLAT_ARGS(NLM_F_DUMP), XLAT_SEL(af_, #af_), \ + XLAT_ARGS(RT_SCOPE_NOWHERE), \ + XLAT_ARGS(RTPROT_UNSPEC), \ + XLAT_ARGS(RTNH_F_PERVASIVE|RTNH_F_UNRESOLVED)); \ + } \ + /* End of DEF_NLATTR_NHMSG_FUNCS */ + +#define DEF_NLATTR_NHMSG_NESTED_FUNCS(sfx_, attr_) \ + static void \ + init_nhmsg_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + init_nhmsg(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(struct nhmsg)); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct nhmsg)), \ + .nla_type = attr_, \ + ); \ + } \ + \ + static void \ + print_nhmsg_##sfx_(const unsigned int msg_len) \ + { \ + print_nhmsg(msg_len); \ + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct nhmsg))), \ + XLAT_SEL(attr_, #attr_)); \ + } \ + /* End of DEF_NLATTR_NHMSG_NESTED_FUNCS */ + +DEF_NLATTR_NHMSG_FUNCS(nhmsg, AF_UNIX) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet, AF_INET) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet6, AF_INET6) + +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_grp, NHA_RES_GROUP) +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_bkt, NHA_RES_BUCKET) + +static void +print_nh_grp(const struct nexthop_grp *const elem, size_t idx) +{ + switch (idx) { + case 0: printf("{id=3735928559, weight=0}"); break; + case 1: printf("{id=0, weight=218, resvd2=0xdead}"); break; + case 2: printf("{id=4207869677, weight=190, resvd1=0xec}"); break; + case 3: printf("{id=0, weight=0, resvd1=0xca, resvd2=0xbeef}"); break; + default: error_msg_and_fail("Unexpected grp index: %zu", idx); + } +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + const unsigned int hdrlen = sizeof(struct nhmsg); + char nla_type_str256; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 42); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* Unknown attrs */ + static const uint16_t unk_types = { 14, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_??? */"), unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* unimplemented, no semantics: NHA_UNSPEC, NHA_ENCAP */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "NHA_UNSPEC") }, + { ARG_XLAT_KNOWN(0x8, "NHA_ENCAP") } }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* u32 attrs: NHA_ID, NHA_BLACKHOLE, NHA_GROUPS, NHA_FDB */ + static const struct strval32 u32_attrs = { + { ARG_XLAT_KNOWN(0x1, "NHA_ID") }, + { ARG_XLAT_KNOWN(0x4, "NHA_BLACKHOLE") }, + { ARG_XLAT_KNOWN(0x9, "NHA_GROUPS") }, + { ARG_XLAT_KNOWN(0xb, "NHA_FDB") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + u32_attrsi.val, u32_attrsi.str, pattern, + 0); + } + + + /* NHA_GROUP */ + static const struct nexthop_grp grps = { + { .id = 0xdeadbeef, .weight = 0, .resvd1 = 0, .resvd2 = 0 }, + { .id = 0, .weight = 218, .resvd1 = 0, .resvd2 = 0xdead }, + { .id = 0xfacefeed, .weight = 190, .resvd1 = 236, .resvd2 = 0 }, + { .id = 0, .weight = 0, .resvd1 = 202, .resvd2 = 0xbeef }, + }; + TEST_NLATTR_ARRAY_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP, XLAT_KNOWN(0x2, "NHA_GROUP"), + pattern, grps, print_nh_grp); + + + /* NHA_GROUP_TYPE */ + static const struct strval16 grp_types = { + { ARG_XLAT_KNOWN(0, "NEXTHOP_GRP_TYPE_MPATH") }, + { ARG_XLAT_KNOWN(0x1, "NEXTHOP_GRP_TYPE_RES") }, + { ARG_XLAT_UNKNOWN(0x2, "NEXTHOP_GRP_TYPE_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "NEXTHOP_GRP_TYPE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(grp_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, + XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + pattern, grp_typesi.val, + printf("%s", grp_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + sizeof(grp_typesi.val) + 4, + &grp_typesi.val, sizeof(grp_typesi.val), + printf("%s", grp_typesi.str)); + } + + + /* ifindex: NHA_OIF, NHA_MASTER */ + static const struct strval32 if_attrs = { + { ARG_XLAT_KNOWN(0x5, "NHA_OIF") }, + { ARG_XLAT_KNOWN(0xa, "NHA_MASTER") }, + }; + const uint32_t ifindex = ifindex_lo(); + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + static const uint32_t bogus = 0xdeadc0de; + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, bogus, + printf("3735929054")); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(bogus) + 4, &bogus, sizeof(bogus), + printf("3735929054")); + + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, ifindex, + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(ifindex) + 4, &ifindex, sizeof(ifindex), + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + } + + + /* NHA_GATEWAY */ + static const struct { + uint8_t af; + uint8_t addr16; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_nhmsg, print_nhmsg, 10 }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_nhmsg_inet, print_nhmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_nhmsg_inet6, print_nhmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_XLAT_KNOWN(0x6, "NHA_GATEWAY") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(addrsi.addr, + addrsi.len); +#endif +#if !XLAT_RAW + if (!(XLAT_VERBOSE + && addrsi.af == AF_UNIX)) + printf(VERB(" /* ") "%s" + VERB(" */"), addrsi.str); +#endif + ); + } + } + + + /* NHA_ENCAP_TYPE */ + static const struct strval16 enc_types = { + { ARG_XLAT_KNOWN(0, "LWTUNNEL_ENCAP_NONE") }, + { ARG_XLAT_KNOWN(0x8, "LWTUNNEL_ENCAP_RPL") }, + { ARG_XLAT_UNKNOWN(0x9, "LWTUNNEL_ENCAP_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "LWTUNNEL_ENCAP_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(enc_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, + XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + pattern, enc_typesi.val, + printf("%s", enc_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + sizeof(enc_typesi.val) + 4, + &enc_typesi.val, sizeof(enc_typesi.val), + printf("%s", enc_typesi.str)); + } + + + /* NHA_RES_GROUP */ + static const unsigned int res_grp_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + void *nlh1 = midtail_alloc(NLMSG_SPACE(res_grp_hdrlen), + NLA_HDRLEN + 16); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_GROUP, XLAT_KNOWN(0xc, "NHA_RES_GROUP"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_grp_types = { + 5, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_grp_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_GROUP_??? */"), + unk_res_grp_typesi); + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + unk_res_grp_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_GROUP_UNSPEC/NHA_RES_GROUP_PAD */ + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + NHA_RES_GROUP_PAD, XLAT_KNOWN(0, "NHA_RES_GROUP_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_GROUP_BUCKETS */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + ARG_XLAT_KNOWN(0x1, "NHA_RES_GROUP_BUCKETS"), + pattern, 1); + + /* clock_t: NHA_RES_GROUP_IDLE_TIMER, NHA_RES_GROUP_UNBALANCED_TIMER, + * NHA_RES_GROUP_UNBALANCED_TIME */ + static const struct strval32 res_grp_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_GROUP_IDLE_TIMER") }, + { ARG_XLAT_KNOWN(0x3, "NHA_RES_GROUP_UNBALANCED_TIMER") }, + { ARG_XLAT_KNOWN(0x4, "NHA_RES_GROUP_UNBALANCED_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_grp_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + res_grp_clk_attrsi.val, + res_grp_clk_attrsi.str, 1); + } + + + /* NHA_RES_BUCKET */ + static const unsigned int res_bkt_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_BUCKET, XLAT_KNOWN(0xd, "NHA_RES_BUCKET"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_bkt_types = { + 4, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_bkt_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_BUCKET_??? */"), + unk_res_bkt_typesi); + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + unk_res_bkt_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_BUCKET_UNSPEC/NHA_RES_BUCKET_PAD */ + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + NHA_RES_BUCKET_PAD, XLAT_KNOWN(0, "NHA_RES_BUCKET_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_BUCKET_INDEX */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x1, "NHA_RES_BUCKET_INDEX"), + pattern, 1); + + /* clock_t: NHA_RES_BUCKET_IDLE_TIME */ + static const struct strval32 res_bkt_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_BUCKET_IDLE_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_bkt_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + res_bkt_clk_attrsi.val, + res_bkt_clk_attrsi.str, 1); + } + + /* u32: NHA_RES_BUCKET_NH_ID */ + check_u32_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x3, "NHA_RES_BUCKET_NH_ID"), + pattern, 1); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_nhmsg.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_rtmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_rtmsg.c
Changed
@@ -15,44 +15,76 @@ #include <linux/ip.h> #include <linux/rtnetlink.h> -#define LWTUNNEL_ENCAP_NONE 0 - -static void -init_rtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +#if !defined HAVE_MEMPCPY +# undef mempcpy +# define mempcpy strace_mempcpy +static void * +mempcpy(void *dest, const void *src, size_t n) { - SET_STRUCT(struct nlmsghdr, nlh, - .nlmsg_len = msg_len, - .nlmsg_type = RTM_GETROUTE, - .nlmsg_flags = NLM_F_DUMP - ); - - struct rtmsg *const msg = NLMSG_DATA(nlh); - SET_STRUCT(struct rtmsg, msg, - .rtm_family = AF_UNIX, - .rtm_tos = IPTOS_LOWDELAY, - .rtm_table = RT_TABLE_DEFAULT, - .rtm_protocol = RTPROT_KERNEL, - .rtm_scope = RT_SCOPE_UNIVERSE, - .rtm_type = RTN_LOCAL, - .rtm_flags = RTM_F_NOTIFY - ); + memcpy(dest, src, n); + + return dest + n; } +#endif static void -print_rtmsg(const unsigned int msg_len) +print_quoted_hex_ellipsis(const void *const instr, const size_t len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=AF_UNIX" - ", rtm_dst_len=0, rtm_src_len=0" - ", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}", - msg_len); + const unsigned char *str = instr; + + printf("\""); + for (size_t i = 0; i < MIN(len, DEFAULT_STRLEN); ++i) + printf("\\x%02x", stri); + printf("\""); + if (len > DEFAULT_STRLEN) + printf("..."); } +#define LWTUNNEL_ENCAP_NONE 0 + +#define DEF_NLATTR_RTMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETROUTE, \ + .nlmsg_flags = NLM_F_DUMP \ + ); \ + \ + struct rtmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct rtmsg, msg, \ + .rtm_family = (af_), \ + .rtm_tos = IPTOS_LOWDELAY, \ + .rtm_table = RT_TABLE_DEFAULT, \ + .rtm_protocol = RTPROT_KERNEL, \ + .rtm_scope = RT_SCOPE_UNIVERSE, \ + .rtm_type = RTN_LOCAL, \ + .rtm_flags = RTM_F_NOTIFY \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE" \ + ", nlmsg_flags=NLM_F_DUMP" \ + ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=" #af_ \ + ", rtm_dst_len=0, rtm_src_len=0" \ + ", rtm_tos=IPTOS_LOWDELAY" \ + ", rtm_table=RT_TABLE_DEFAULT" \ + ", rtm_protocol=RTPROT_KERNEL" \ + ", rtm_scope=RT_SCOPE_UNIVERSE" \ + ", rtm_type=RTN_LOCAL" \ + ", rtm_flags=RTM_F_NOTIFY}", \ + msg_len); \ + } \ + /* End of DEF_NLATTR_RTMSG_FUNCS */ + +DEF_NLATTR_RTMSG_FUNCS(rtmsg, AF_UNIX) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet, AF_INET) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet6, AF_INET6) + int main(void) { @@ -80,6 +112,62 @@ RTA_DST, 4, pattern, 4, print_quoted_hex(pattern, 4)); +#define MAX_ADDR_SZ 35 + static const struct { + uint8_t af; + uint8_t addrMAX_ADDR_SZ; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_rtmsg, print_rtmsg, 10 }, + { AF_UNIX, + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, MAX_ADDR_SZ - 1 = 0xea }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00" +#if DEFAULT_STRLEN == 32 + "\"...", +#else + "\\x00\\x00\\xea\"", +#endif + init_rtmsg, print_rtmsg, MAX_ADDR_SZ }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_rtmsg_inet, print_rtmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_rtmsg_inet6, print_rtmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_STR(RTA_DST) }, + { ARG_STR(RTA_SRC) }, + { ARG_STR(RTA_GATEWAY) }, + { ARG_STR(RTA_PREFSRC) }, + { ARG_STR(RTA_NEWDST) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex_ellipsis(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, + printf("%s", addrsi.str)); + } + } + const uint32_t ifindex = ifindex_lo(); TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, @@ -110,9 +198,9 @@ TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, pattern, nh, - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u" - ", rtnh_ifindex=" IFINDEX_LO_STR "}", + ", rtnh_ifindex=" IFINDEX_LO_STR "}", nh.rtnh_len, nh.rtnh_hops)); char bufRTNH_ALIGN(sizeof(nh)) + sizeof(nla); @@ -123,11 +211,73 @@ TEST_NLATTR(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, sizeof(buf), buf, sizeof(buf), - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" - ", {nla_len=%u, nla_type=RTA_DST}", + ", {nla_len=%u, nla_type=RTA_DST}", nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); + static const struct in_addr gw_inet_addr = { .s_addr = BE32(0xdeadbeef) }; + static const uint8_t via_inet6_addr16 = { + 0xde, 0xad, 0xfa, 0xce, 0xbe, 0xef, 0xca, 0xfe, + 0xfe, 0xed, 0xba, 0x5e, 0x00, 0x00, 0xfa, 0xde }; + static const struct rtvia rtvia = { .rtvia_family = AF_INET6 }; + char buf22 * (RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla))) + + + NLMSG_ALIGN(sizeof(gw_inet_addr)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + char *pos = buf2; + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + nh.rtnh_flags = 0xc0; + nla.nla_type = RTA_GATEWAY; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &gw_inet_addr, sizeof(gw_inet_addr)); + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + nla.nla_type = RTA_VIA; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &rtvia, sizeof(rtvia)); + pos = mempcpy(pos, &via_inet6_addr, sizeof(via_inet6_addr)); + TEST_NLATTR(fd, nlh0, hdrlen, + init_rtmsg_inet, print_rtmsg_inet, + RTA_MULTIPATH, sizeof(buf2), buf2, sizeof(buf2), + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_GATEWAY}" + ", inet_addr(\"222.173.190.239\")" + ", {rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_VIA}" + ", {rtvia_family=AF_INET6" + ", inet_pton(AF_INET6" + ", \"dead:face:beef:cafe:feed:ba5e:0:fade\"" + ", &rtvia_addr)}", + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))) + )); + static const struct rta_cacheinfo ci = { .rta_clntref = 0xabcdefab, .rta_lastuse = 0xbdadaedc,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/nlattr_tcamsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/nlattr_tcamsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,6 +28,9 @@ #if !HAVE_DECL_TCA_ACT_USED_HW_STATS enum { TCA_ACT_USED_HW_STATS = 9 }; #endif +#if !HAVE_DECL_TCA_ACT_IN_HW_COUNT +enum { TCA_ACT_IN_HW_COUNT = 10 }; +#endif static void @@ -66,7 +69,7 @@ fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); /* Invalid */ - static const unsigned int nla_invalid = { 10, 0xffff & NLA_TYPE_MASK }; + static const unsigned int nla_invalid = { 11, 0xffff & NLA_TYPE_MASK }; for (size_t i = 0; i < ARRAY_SIZE(nla_invalid); i++) { char nla_type_str256; sprintf(nla_type_str, "%#x /* TCA_ACT_??? */", nla_invalidi); @@ -112,10 +115,12 @@ printf("%u", idx)); /* TCA_ACT_FLAGS */ - static uint32_t flags = 0xfacebeef; + static uint32_t flags = 0xfacebeff; TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, TCA_ACT_FLAGS, sizeof(flags), &flags, sizeof(flags), - printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|0xfacebeee")); + printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|" + "TCA_ACT_FLAGS_SKIP_HW|" + "TCA_ACT_FLAGS_SKIP_SW|0xfacebef8")); /* TCA_ACT_HW_STATS, TCA_ACT_USED_HW_STATS */ static const struct strval32 nla_hw_st = { @@ -132,6 +137,13 @@ "TCA_ACT_HW_STATS_DELAYED|0xfacebeec")); } + /* TCA_ACT_IN_HW_COUNT */ + static uint32_t hw_count = 0xdeadface; + TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, + TCA_ACT_IN_HW_COUNT, sizeof(hw_count), + &hw_count, sizeof(hw_count), + printf("%u", hw_count)); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/open--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/open--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=full,mismatch --trace=open
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/open--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/open--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=mismatch --trace=open
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/open_tree.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/open_tree.c
Changed
@@ -39,6 +39,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -57,8 +60,8 @@ k_open_tree(-100, fname, 0); #ifndef PATH_TRACING - printf("open_tree(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("open_tree(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/openat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/openat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/openat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/openat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/openat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/openat2.c
Changed
@@ -23,11 +23,21 @@ #endif #ifndef FD0_PATH # define FD0_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE #endif +#ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +#else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +#endif + static const char sample = "openat2.sample"; int @@ -35,6 +45,9 @@ { SKIP_IF_PROC_IS_UNAVAILABLE; +#ifdef YFLAG + char *cwd = get_fd_path(get_dir_fd(".")); +#endif long rc; const char *rcstr; struct open_how *how = tail_alloc(sizeof(*how)); @@ -47,8 +60,10 @@ sprintrc(rc)); rc = syscall(__NR_openat2, -100, "", how + 1, sizeof(*how)); - printf("openat2(%s, \"\", %p, %zu) = %s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), how + 1, sizeof(*how), + printf("openat2(%s" AT_FDCWD_FMT ", \"\", %p, %zu) = %s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + how + 1, sizeof(*how), sprintrc(rc)); rc = syscall(__NR_openat2, -1, sample, how, 11); @@ -121,9 +136,11 @@ how->mode = 0; how->resolve = 0; rc = syscall(__NR_openat2, -100, "/dev/full", how, sizeof(*how)); - printf("openat2(%s, \"/dev/full\", {flags=%s, resolve=0}, %zu)" - " = %s%s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), XLAT_STR(O_RDONLY|O_NOCTTY), + printf("openat2(%s" AT_FDCWD_FMT ", \"/dev/full\"" + ", {flags=%s, resolve=0}, %zu) = %s%s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + XLAT_STR(O_RDONLY|O_NOCTTY), sizeof(*how), sprintrc(rc), rc >= 0 ? FD0_PATH : ""); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/options-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/options-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check strace options syntax. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,7 @@ . "${srcdir=.}/syntax.sh" compiled_with_secontext=$(get_config_option ENABLE_SECONTEXT "y") +compiled_with_stacktrace="$(get_config_option ENABLE_STACKTRACE 1)" check_e "Invalid process id: '0'" -p 0 check_e "Invalid process id: '0'" --attach=0 @@ -48,8 +49,55 @@ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --absolute-timestamps -ttt -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' -t --timestamps=ns -t -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --timestamps=ns -t --absolute-timestamps=unix -p $$ - -z "$compiled_with_secontext" || - check_h "invalid --secontext argument: 'ss'" --secontext=ss +if -n "$compiled_with_secontext" ; then + for opt in '--secontext' '-e secontext'; do + check_e "invalid secontext ''" $opt= + check_e "invalid secontext 'ss'" $opt=ss + check_e "invalid secontext 'ss'" $opt=ss,full,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss + check_e "invalid secontext 'ss'" $opt=full,mismatch,ss + check_e "invalid secontext 'ss'" $opt=!full,ss + check_e "invalid secontext 'ss'" $opt=!full,mismatch,ss + done +else + for opt in '--secontext' '--secontext=full' '-e secontext=mismatch'; do + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" $opt + done +fi + +for opt in 'id' \ + 'id:' \ + '-1' \ + '2147483648' \ + 'id:rand' \ + 'id:randomm' \ + '2,3,radomm,4' \ + 'format' \ + 'format:' \ + 'id:format' \ + 'id:format:full' \ + 'format:id:0' +do + check_h "invalid --tips argument: '$opt'" --tips="$opt" +done +for opt in '--tips' \ + '--tips=' \ + '--tips=0' \ + '--tips=id:0 --tips' \ + '--tips=1,id:42' \ + '--tips=1 --tips=id:42' \ + '--tips=random' \ + '--tips --tips=random' \ + '--tips=id:random,23' \ + '--tips=id:random,23 --tips=random,2,3,id:4,5' \ + '--tips=format:none' \ + '--tips=format:compact --tips' \ + '--tips --tips=format:full,3,none,id:42,compact' +do + check_h "must have PROG ARGS or -p PID" $opt +done + check_h 'PROG ARGS must be specified with -D/--daemonize' -D -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DD -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DDD -p $$ @@ -205,6 +253,8 @@ check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=getcwd@42 check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=gettid,getcwd@42 check_h "incorrect personality designator '42' in qualification '23@42'" -e trace=23@42,123 +check_h "incorrect personality designator 'ohmy' in qualification '/getcwd@ohmy'" \ + -e trace=/getcwd@ohmy check_h '--seccomp-bpf cannot be used without -f/--follow-forks, disabling -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' --seccomp-bpf -w / @@ -218,10 +268,24 @@ check_h 'deprecated option -F ignored -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' -fF -w / -check_e "invalid system call '/getcwd@ohmy'" -e trace=/getcwd@ohmy check_e "invalid -e kvm= argument: 'chdir'" -e kvm=chdir check_e "invalid -e kvm= argument: 'chdir'" --kvm=chdir +check_h "must have PROG ARGS or -p PID" -e decode-pid=all +check_h "must have PROG ARGS or -p PID" --decode-pid=none +check_h "must have PROG ARGS or -p PID" -e decode-pids=comm +check_h "must have PROG ARGS or -p PID" --decode-pid=pidns,comm +check_h "must have PROG ARGS or -p PID" -e decode-pid=\!pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" -Y -e decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --pidns-translation -e decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns --pidns-translation +check_e "invalid decode-pids ''" --decode-pids= +check_e "invalid decode-pids ''" -e decode-pids= +check_e "invalid decode-pids 'chdir'" --decode-pids=chdir +check_e "invalid decode-pids 'gettid'" -e decode-pid=comm,gettid + case "$STRACE_NATIVE_ARCH" in x86_64) check_h "must have PROG ARGS or -p PID" -e trace=getcwd@64 @@ -289,6 +353,13 @@ if -n "$compiled_with_secontext" ; then check_e "--secontext has no effect with -c/--summary-only $STRACE_EXE: $umsg" -u :nosuchuser: -c --secontext true + else + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" -c --secontext true + fi + + if -n "$compiled_with_stacktrace" ; then + check_e "-k/--stack-traces has no effect with -c/--summary-only +$STRACE_EXE: $umsg" -u :nosuchuser: -c -k true fi for c in --output-separately -A/--output-append-mode; do @@ -323,7 +394,7 @@ check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' -d / check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' --debug / -if -z "$(get_config_option ENABLE_STACKTRACE 1)" ; then +if -z "$compiled_with_stacktrace" ; then check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" -k check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" --stack-traces fi
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pc.c
Changed
@@ -1,5 +1,6 @@ /* * Copyright (c) 2015-2020 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,6 +15,7 @@ #include <sys/mman.h> #include <sys/wait.h> #include <sys/sendfile.h> +#include <sys/prctl.h> int main(void) { @@ -58,6 +60,9 @@ size <<= 1; } + /* Avoid creating core dumps */ + (void) prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); + /* SIGSEGV is expected */ (void) munmap((void *) addr, size); (void) munmap((void *) addr, size);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/perf_event_open.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/perf_event_open.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of perf_event_open syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -398,7 +398,7 @@ } /* These require aligned access, so no byte-grain checks possible */ -#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM +#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM || defined AARCH64 # define ATTR_REC(sz) { tail_alloc((sz + 7) & ~7), sz } #else # define ATTR_REC(sz) { tail_alloc(sz), sz } @@ -422,7 +422,8 @@ "PERF_SAMPLE_BRANCH_NO_FLAGS|" \ "PERF_SAMPLE_BRANCH_NO_CYCLES|" \ "PERF_SAMPLE_BRANCH_TYPE_SAVE|" \ - "PERF_SAMPLE_BRANCH_HW_INDEX" + "PERF_SAMPLE_BRANCH_HW_INDEX|" \ + "PERF_SAMPLE_BRANCH_PRIV_SAVE" int main(void) @@ -532,15 +533,18 @@ static const struct u64_val_str read_formats = { { ARG_STR(0) }, { ARG_STR(PERF_FORMAT_TOTAL_TIME_ENABLED) }, - { 0xf, "PERF_FORMAT_TOTAL_TIME_ENABLED|" + { 0x1f, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" - "PERF_FORMAT_ID|PERF_FORMAT_GROUP" }, - { ARG_ULL_STR(0xdeadf157dec0ded0) " /* PERF_FORMAT_??? */" }, + "PERF_FORMAT_ID|" + "PERF_FORMAT_GROUP|" + "PERF_FORMAT_LOST" }, + { ARG_ULL_STR(0xdeadf157dec0dee0) " /* PERF_FORMAT_??? */" }, { 0xffffffffffffffffULL, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" "PERF_FORMAT_ID|PERF_FORMAT_GROUP|" - "0xfffffffffffffff0" }, + "PERF_FORMAT_LOST|" + "0xffffffffffffffe0" }, }; static const char *precise_ip_descs = { "arbitrary skid", @@ -559,11 +563,11 @@ static const struct u64_val_str branch_sample_types = { { ARG_STR(0) }, { 0x80, "PERF_SAMPLE_BRANCH_ABORT_TX" }, - { 0x3ffff, BRANCH_TYPE_ALL }, - { ARG_ULL_STR(0xdeadcaffeeec0000) + { 0x7ffff, BRANCH_TYPE_ALL }, + { ARG_ULL_STR(0xdeadcaffeee80000) " /* PERF_SAMPLE_BRANCH_??? */" }, { 0xffffffffffffffffULL, - BRANCH_TYPE_ALL "|0xfffffffffffc0000" } + BRANCH_TYPE_ALL "|0xfffffffffff80000" } }; static const struct s32_val_str clockids = { { 11, "CLOCK_TAI" }, @@ -625,13 +629,12 @@ PERF_FLAG_FD_CLOEXEC, "PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; fill_memory(small_attr, sizeof(*small_attr)); small_attr->size = attr_small_size; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n", @@ -639,8 +642,8 @@ argsi.group_fd, argsi.flags_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * - ARRAY_SIZE(attr_configs0) + 1; i++) { + for (size_t i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * + ARRAY_SIZE(attr_configs0) + 1; ++i) { struct perf_event_attr *attr = attrsi % ARRAY_SIZE(attrs).ptr; uint32_t size = attrsi % ARRAY_SIZE(attrs).size; unsigned char fill_start = 0x80 + i;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/perf_event_open_nonverbose.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/perf_event_open_nonverbose.c
Changed
@@ -70,10 +70,9 @@ "PERF_FLAG_FD_NO_GROUP|PERF_FLAG_FD_OUTPUT|" "PERF_FLAG_PID_CGROUP|PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n",
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidfd_open--decode-fd-all.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open--decode-fd-pidfd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidfd_open--decode-fd-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=all -e trace=pidfd_open
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidfd_open--decode-fd-none.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidfd_open--decode-fd-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=none -e trace=pidfd_open
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pidfd_open--decode-fd-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidfd_open--decode-fd-socket.c
Changed
@@ -1,1 +1,1 @@ -#include "pidfd_open-y.c" +#include "pidfd_open--decode-fd-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pidns-cache.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidns-cache.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,7 +15,7 @@ # include <unistd.h> # include <sys/time.h> -# define SYSCALL_COUNT 1000 +# define SYSCALL_COUNT 10000 /** * Max ratio of the execution time with and without pidns translation. @@ -43,11 +43,17 @@ int main(void) { - long max_us = execute_syscalls() * MAX_TIME_RATIO; + long orig_us = execute_syscalls(); + long max_us = orig_us * MAX_TIME_RATIO; pidns_test_init(); long us = execute_syscalls(); + + fprintf(stderr, "Before PID NS test init: %ld\n" + "After PID NS test init: %ld (%.2f times slower)\n", + orig_us, us, (float) us / orig_us); + if (us > max_us) error_msg_and_fail("pidns translation took too long: %ld us " "(max: %ld us)", us, max_us);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pidns.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidns.c
Changed
@@ -2,10 +2,10 @@ * Testing framework for PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" #include "pidns.h" @@ -140,8 +140,15 @@ siginfo_t siginfo; if (waitid(P_PID, pid, &siginfo, WEXITED | WNOWAIT) < 0) perror_msg_and_fail("wait"); - if (siginfo.si_code != CLD_EXITED || siginfo.si_status) - error_msg_and_fail("child terminated with nonzero exit status"); + if (siginfo.si_code != CLD_EXITED || siginfo.si_status) { + if (siginfo.si_code == CLD_EXITED && siginfo.si_status == 77) { + error_msg_and_skip("child terminated with skip exit" + " status"); + } else { + error_msg_and_fail("child terminated with nonzero exit" + " status"); + } + } return pid; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pidns.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pidns.h
Changed
@@ -2,9 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef STRACE_PIDNS_H # define STRACE_PIDNS_H
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pkey_alloc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pkey_alloc.c
Changed
@@ -39,13 +39,10 @@ { 0xbadc0de8, "0xbadc0de8 /* PKEY_??? */" }, }; - long rc; - unsigned int i; - unsigned int j; - - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(rights); j++) { - rc = syscall(__NR_pkey_alloc, flagsi, rightsj.val); + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(rights); ++j) { + long rc = syscall(__NR_pkey_alloc, + flagsi, rightsj.val); printf("pkey_alloc(%#llx, %s) = %s\n", (unsigned long long) flagsi, rightsj.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pkey_free.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pkey_free.c
Changed
@@ -25,11 +25,8 @@ (kernel_ulong_t) 0x123456789abcdef0ULL, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(keys); i++) { - rc = syscall(__NR_pkey_free, keysi); + for (unsigned int i = 0; i < ARRAY_SIZE(keys); ++i) { + long rc = syscall(__NR_pkey_free, keysi); printf("pkey_free(%d) = %s\n", (int) keysi, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pkey_mprotect.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pkey_mprotect.c
Changed
@@ -62,19 +62,17 @@ (kernel_ulong_t) 0xbadc0ded00000001, }; - long rc; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - - for (i = 0; i < ARRAY_SIZE(ptrs); i++) { - for (j = 0; j < ARRAY_SIZE(sizes); j++) { - for (k = 0; k < ARRAY_SIZE(prots); k++) { - for (l = 0; l < ARRAY_SIZE(pkeys); l++) { - rc = syscall(__NR_pkey_mprotect, - ptrsi, sizesj, - protsk.val, pkeysl); + for (unsigned int i = 0; + i < ARRAY_SIZE(ptrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(sizes); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(prots); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(pkeys); ++l) { + long rc = syscall(__NR_pkey_mprotect, + ptrsi, sizesj, + protsk.val, pkeysl); printf("pkey_mprotect(%s, %llu, %s, %d)" " = %s\n", sprintptr(ptrsi),
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poke-ptrace.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poke-ptrace.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args" @@ -23,5 +23,4 @@ dump_log_and_fail_with "$STRACE $args failed with code $?" match_diff "$LOG" "$EXP" -echo '.*: cannot poke at unaligned address 0x:xdigit:+' >> "$EXP.err" match_grep "$LOG.err" "$EXP.err"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poke-unaligned.expected -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poke-unaligned.expected
Changed
@@ -1,2 +1,1 @@ .*: Failed to tamper with process :digit:+: couldn't poke -.*: cannot poke unaligned data len 7
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poke-unaligned.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poke-unaligned.test
Changed
@@ -16,5 +16,5 @@ $STRACE -o /dev/null $fault_args \ $STRACE -o /dev/null $args >/dev/null 2>"$LOG" || - dump_log_and_fail_with "$STRACE $unaligned_args failed with code $?" + dump_log_and_fail_with "$STRACE $args failed with code $?" match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poke.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poke.c
Changed
@@ -29,20 +29,44 @@ pid_t pid = getpid(); char *const chdir_buf = tail_alloc(PATH_MAX); - memset(chdir_buf, '/', PATH_MAX); char *const getcwd_buf = tail_alloc(PATH_MAX); + char *p; /* - * regular poke on entering syscall + * regular poke at a properly aligned address on entering syscall */ - char *p = chdir_buf; + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf; printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", PATH_MAX - 1, p, sprintrc(chdir(p))); /* - * poke at inaccessible address + * regular poke at an unaligned address on entering syscall + */ + memset(chdir_buf, '/', PATH_MAX); + chdir_bufPATH_MAX - 1 = '\0'; + p = chdir_buf + 1; + printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", + PATH_MAX - 2, p, sprintrc(chdir(p))); + if (chdir_buf0 != '/') + error_msg_and_fail("failed to poke at unaligned address" + " %p properly", p); + + /* + * poke at an inaccessible but properly aligned address + */ + p = chdir_buf + PATH_MAX; + printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); + if (exp_err) { + fprintf(exp_err, + ".*: Failed to tamper with process %d: couldn't poke\n", + pid); + } + + /* + * poke at an inaccessible unaligned address */ - p += PATH_MAX; + ++p; printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, @@ -51,46 +75,33 @@ } /* - * poke at unaligned address, - * short read, - * if process_vm_writev is used: short write. + * poke at a partially accessible unaligned address */ - --p; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf + PATH_MAX - 1; + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(1 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(1 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(1 < :digit:+\\) @%p\n", - pid, p); - } } /* - * poke at a properly aligned address, - * short read, - * if process_vm_writev is not used: short write, - * if process_vm_writev is used: short write is likely. + * poke at a partially accessible properly aligned address */ + memset(chdir_buf, '/', PATH_MAX); p -= 7; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(8 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(8 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(8 < :digit:+\\) @%p(: .*)?\n", - pid, p); - } } /*
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poke.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poke.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/poll.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/poll.c
Changed
@@ -71,8 +71,7 @@ const unsigned int abbrev) { tprintf(""); - unsigned int i; - for (i = 0; i < size; ++i) { + for (unsigned int i = 0; i < size; ++i) { if (i) tprintf(", "); if (i >= valid) { @@ -135,8 +134,7 @@ { tprintf(""); unsigned int seen = 0; - unsigned int i; - for (i = 0; i < size; ++i) + for (unsigned int i = 0; i < size; ++i) print_pollfd_exiting(&pfdi, &seen, abbrev); tprintf(""); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl-arg2-intptr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-arg2-intptr.c
Changed
@@ -51,11 +51,10 @@ TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, ptr); long rc; - unsigned int i; prctl_marker(); - for (i = 0; i < ARRAY_SIZE(options); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(options); ++i) { prctl(optionsi.val | bogus_op_bits, 0); printf("prctl(%s, NULL) = %s\n", optionsi.str, errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl-name.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-name.c
Changed
@@ -22,7 +22,6 @@ static const char str = "0123456789abcdef"; static const int len = sizeof(str) - 1; char *name = tail_memdup(str, sizeof(str)); - int i; int rc; prctl_marker(); @@ -30,7 +29,7 @@ rc = prctl(PR_SET_NAME, NULL); printf("prctl(PR_SET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); printf("prctl(PR_SET_NAME, \"%.*s\"%s) = %s\n", i < len - 1 ? i : len - 1, @@ -43,7 +42,7 @@ ++name; memcpy(name, str, len); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); if (i < len - 1) printf("prctl(PR_SET_NAME, %p) = %s\n", @@ -56,7 +55,7 @@ rc = prctl(PR_GET_NAME, NULL); printf("prctl(PR_GET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i < len; ++i) { + for (int i = 0; i < len; ++i) { rc = prctl(PR_GET_NAME, name + len - i); printf("prctl(PR_GET_NAME, %p) = %s\n", name + len - i, sprintrc(rc));
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-set_vma.c
Added
@@ -0,0 +1,82 @@ +/* + * Check decoding of prctl PR_SET_VMA operation. + * + * Copyright (c) 2019-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <unistd.h> +#include <linux/prctl.h> + +static const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; +static const char *errstr; + +static long +pr_set_vma(const kernel_ulong_t op, const void *const addr, + const kernel_ulong_t size, const void *const arg) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | PR_SET_VMA; + const kernel_ulong_t arg2 = op; + const kernel_ulong_t arg3 = (uintptr_t) addr; + const kernel_ulong_t arg4 = size; + const kernel_ulong_t arg5 = (uintptr_t) arg; + const long rc = syscall(__NR_prctl, arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + prctl_marker(); + + char *const name1 = tail_alloc(DEFAULT_STRLEN + 2); + char *const name = name1 + 1; + const void *const efault = name + DEFAULT_STRLEN + 1; + const char *const empty = efault - 1; + fill_memory_ex(name1, DEFAULT_STRLEN + 1, '0', 10); + name1DEFAULT_STRLEN + 1 = '\0'; + + pr_set_vma(0, 0, 1, name); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, NULL, 1, \"%s\")" + " = %s\n", + name, errstr); + + pr_set_vma(0, empty, 2, name1); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 2, \"%.*s\"...)" + " = %s\n", + empty, DEFAULT_STRLEN, name1, errstr); + + pr_set_vma(0, empty, 3, efault); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 3, %p)" + " = %s\n", + empty, efault, errstr); + + pr_set_vma(0, empty, 4, 0); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 4, NULL)" + " = %s\n", + empty, errstr); + + pr_set_vma(0, efault, 5, empty); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 5, \"\")" + " = %s\n", + efault, errstr); + + const kernel_ulong_t bad_op = fill | 0xface1fed; + const kernel_ulong_t bad_size = fill | 0xface2fed; + + pr_set_vma(bad_op, efault, bad_size, empty); + printf("prctl(PR_SET_VMA, %#llx /* PR_SET_VMA_??? */, %p, %#llx, %p)" + " = %s\n", + (unsigned long long) bad_op, efault, + (unsigned long long) bad_size, empty, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-set_vma.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-set_vma +prctl.sh ); do not edit. +set -- +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme.c
Added
@@ -0,0 +1,156 @@ +/* + * Check decoding of prctl PR_SME_SET_VL/PR_SME_GET_VL operations. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <linux/prctl.h> + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#ifndef EXT +# define EXT SME +#endif + +#define EXT_STR STRINGIFY_VAL(EXT) +#define GLUE_(a_, b_, c_) a_ ## b_ ## c_ +#define GLUE(a_, b_, c_) GLUE_(a_, b_, c_) +#define _(pfx_, sfx_) GLUE(pfx_, EXT, sfx_) + +#if !XLAT_RAW +static void +print_sme_vl_arg(kernel_ulong_t arg) +{ + kernel_ulong_t flags = arg & ~_(PR_, _VL_LEN_MASK); + + if (arg < 0x10000) + return; + + printf(" ("); + + if (flags & _(PR_, _SET_VL_ONEXEC)) + printf("PR_" EXT_STR "_SET_VL_ONEXEC"); + if (flags & _(PR_, _VL_INHERIT)) { + printf("%sPR_" EXT_STR "_VL_INHERIT", + flags & _(PR_, _SET_VL_ONEXEC) ? "|" : ""); + } + + kernel_ulong_t leftover = + flags & ~(_(PR_, _SET_VL_ONEXEC)|_(PR_, _VL_INHERIT)); + if (leftover) { + printf("%s%#llx", + leftover == flags ? "" : "|", + (unsigned long long) leftover); + } + + kernel_ulong_t lens = arg & _(PR_, _VL_LEN_MASK); + printf("%s%#llx", flags ? "|" : "", (unsigned long long) lens); + + printf(")"); +} + +#endif /* !XLAT_RAW */ + +int +main(int argc, char *argv) +{ + const char *errstr; + long rc; + size_t i; + + prctl_marker(); + +#ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on prctl(-1, -2, -3, -4" + ", -5) returning %ld", inject_retval); +#endif /* INJECT_RETVAL */ + + static const struct { + kernel_ulong_t val; + const char *str; + bool known; + } args = { + { ARG_STR(0) }, + { ARG_STR(0xdead) }, + { ARG_XLAT_KNOWN(0x10000, "0x10000|0") }, + { ARG_XLAT_KNOWN(0x2ea57, "PR_" EXT_STR "_VL_INHERIT|0xea57") }, + { ARG_XLAT_KNOWN(0x40000, "PR_" EXT_STR "_SET_VL_ONEXEC|0") }, + { ARG_XLAT_KNOWN(0xfacefeed, "PR_" EXT_STR "_SET_VL_ONEXEC" + "|PR_" EXT_STR "_VL_INHERIT" + "|0xfac80000|0xfeed") }, + { ARG_XLAT_KNOWN(0xbad00000, "0xbad00000|0") }, + { ARG_XLAT_KNOWN(0xde90ded, "0xde90000|0xded") }, + { (kernel_ulong_t) 0xbadc0ded0000faceULL, +#if SIZEOF_KERNEL_LONG_T > 4 + XLAT_KNOWN(0xbadc0ded0000face, "0xbadc0ded00000000|0xface") +#else + "0xface" +#endif + }, + }; + + for (i = 0; i < ARRAY_SIZE(args); i++) { + rc = syscall(__NR_prctl, _(PR_, _SET_VL), argsi.val, 1, 2, 3); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ", %s) = ", + XLAT_SEL(_(PR_, _SET_VL), "PR_" EXT_STR "_SET_VL"), + argsi.str); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + } + + rc = syscall(__NR_prctl, _(PR_, _GET_VL), 1, 2, 3, 4); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ") = ", + XLAT_SEL(_(PR_, _GET_VL), "PR_" EXT_STR "_GET_VL")); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sme.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme +prctl.sh -a21); do not edit. +set -- -a21 +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl-spec-inject.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-spec-inject.c
Changed
@@ -46,6 +46,7 @@ } spec_strs = { { 0, "PR_SPEC_STORE_BYPASS" }, { 1, "PR_SPEC_INDIRECT_BRANCH" }, + { 2, "PR_SPEC_L1D_FLUSH" }, }; static const struct { @@ -104,8 +105,8 @@ ", -5) returning %ld", injected_val); /* PR_GET_SPECULATION_CTRL */ - rc = do_prctl(52, 2, bogus_arg3); - printf("prctl(PR_GET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */) " + rc = do_prctl(52, 3, bogus_arg3); + printf("prctl(PR_GET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */) " "= %s (INJECTED)\n", sprintrc(rc)); rc = do_prctl(52, bogus_arg2, bogus_arg3); @@ -138,8 +139,8 @@ /* PR_SET_SPECULATION_CTRL*/ - rc = do_prctl(53, 2, bogus_arg3); - printf("prctl(PR_SET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */, %#llx) " + rc = do_prctl(53, 3, bogus_arg3); + printf("prctl(PR_SET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */, %#llx) " "= %s (INJECTED)\n", (unsigned long long) bogus_arg3, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl-spec-inject.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-spec-inject.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53); do not edit. -set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50); do not edit. +set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 . "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl-success.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-success.sh
Changed
@@ -5,15 +5,17 @@ # Expects a binary that accepts PRCTL_INJECT_START as the first argument. # Accepts list of retvals to inject as first PRCTL_INJECT_RETVALS= argument # -# Copyright (c) 2018-2021 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/scno_tampering.sh" -: ${PRCTL_INJECT_START=256} -: ${PRCTL_INJECT_RETVALS=42} +: "${PRCTL_INJECT_START=256}" +: "${PRCTL_INJECT_RETVALS=42}" +: "${PRCTL_SYSCALL=prctl}" +: "${PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)'}" check_prog sed @@ -21,7 +23,16 @@ # at the beginning of the argument list. while "$#" -gt 0 ; do case "$1" in - PRCTL_INJECT_RETVALS=*) PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}"; ;; + ARCH_PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#ARCH_PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=arch_prctl + PRCTL_MARKER_RE='arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe)' + ;; + PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=prctl + PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)' + ;; *) break; ;; esac @@ -48,9 +59,9 @@ sed_match="-1 ${i#error=}" fi - run_strace -a80 "$@" -e trace=prctl \ - -e inject=prctl:"${inj_str}":when="${PRCTL_INJECT_START}+" \ + run_strace -a80 "$@" -e trace="${PRCTL_SYSCALL}" \ + -e inject="${PRCTL_SYSCALL}":"${inj_str}":when="${PRCTL_INJECT_START}+" \ "../$NAME" "${PRCTL_INJECT_START}" "${ret_val}" > "$EXP.$i" - sed '0,/^prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb) *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" + sed '0,/^'"${PRCTL_MARKER_RE}"' *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" match_diff "$OUT.$i" "$EXP.$i" done
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xabbrev.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_ABBREV 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xraw.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_RAW 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xverbose.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_VERBOSE 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success.c
Added
@@ -0,0 +1,4 @@ +#define INJECT_RETVAL +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl-sve-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/prctl.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/prctl.sh
Changed
@@ -2,10 +2,10 @@ # # Check prctl syscall decoding. # -# Copyright (c) 2021 The strace developers. +# Copyright (c) 2021-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pread64-pwrite64.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pread64-pwrite64.c
Changed
@@ -19,9 +19,8 @@ dump_str(const char *str, const unsigned int len) { static const char dots16 = "................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -36,9 +35,8 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; switch (c) { @@ -81,8 +79,7 @@ tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc); dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = pwrite(1, buf, len, offset); @@ -198,8 +195,7 @@ if (open("/dev/null", O_WRONLY) != 1) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= 32; ++i) + for (unsigned int i = 0; i <= 32; ++i) test_dump(i); tprintf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/preadv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/preadv.c
Changed
@@ -20,11 +20,10 @@ static void print_iov(const struct iovec *iov) { - unsigned int i; unsigned char *buf = iov->iov_base; fputs("{iov_base=\"", stdout); - for (i = 0; i < iov->iov_len; ++i) + for (unsigned int i = 0; i < iov->iov_len; ++i) printf("\\%d", (int) bufi); printf("\", iov_len=%u}", (unsigned) iov->iov_len); } @@ -32,9 +31,8 @@ static void print_iovec(const struct iovec *iov, unsigned int cnt) { - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); print_iov(&iovi);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/print_quoted_string.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/print_quoted_string.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -80,12 +80,11 @@ bool quote, const char *escape_chars) { const unsigned char *str = (const unsigned char *) instr; - size_t i; if (quote) putchar('"'); - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { const int c = stri; switch (c) { case '\"': @@ -136,10 +135,9 @@ print_quoted_hex(const void *const instr, const size_t len) { const unsigned char *str = instr; - size_t i; printf("\""); - for (i = 0; i < len; i++) + for (size_t i = 0; i < len; ++i) printf("\\x%02x", stri); printf("\""); }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/print_scno_getcwd.sh
Added
@@ -0,0 +1,30 @@ +#! /bin/sh -efu +# +# Print the syscall number corresponding to getcwd syscall. +# +# Copyright (c) 2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +case "$STRACE_ARCH" in + alpha) echo 367 ;; + arm|bfin|i386|m68k|microblaze|s390*|sh|sh64) + echo 183 ;; + avr32) echo 48 ;; + hppa) echo 110 ;; + ia64) echo 1184 ;; + mips) case "$MIPS_ABI" in + n64) echo 5077 ;; + n32) echo 6077 ;; + o32) echo 4203 ;; + esac ;; + powerpc*) + echo 182 ;; + sparc*) + echo 119 ;; + x32|x86_64) + echo 79 ;; + xtensa) echo 43 ;; + *) echo 17 ;; +esac
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/process_mrelease-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_STR "</dev/full>" + +#include "process_mrelease.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/process_mrelease-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=process_mrelease -y -a24 </dev/full
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/process_mrelease.c
Added
@@ -0,0 +1,59 @@ +/* + * Check decoding of process_mrelease syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + +#ifndef FD0_STR +# define FD0_STR "" +#endif + +static const char *errstr; + +static long +sys_process_mrelease(int pidfd, unsigned int flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = fill | (unsigned int) pidfd; + kernel_ulong_t arg2 = fill | flags; + kernel_ulong_t arg3 = fill | 0xdeedefed; + kernel_ulong_t arg4 = fill | 0xdebeefed; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_process_mrelease, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + SKIP_IF_PROC_IS_UNAVAILABLE; + + sys_process_mrelease(-1, 0); + printf("process_mrelease(-1, 0) = %s\n", errstr); + + sys_process_mrelease(0, 0xfacefeed); + printf("process_mrelease(0" FD0_STR ", 0xfacefeed) = %s\n", errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/process_mrelease.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease -a24 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a24
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/process_vm_readv_writev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/process_vm_readv_writev.c
Changed
@@ -45,7 +45,6 @@ print_iov(const struct iovec *iov, const void *arg_ptr, long rc) { const struct print_iov_arg *arg = arg_ptr; - uint32_t i; uint32_t num_segm = 0; uint64_t segm_offs = 0; @@ -60,7 +59,7 @@ printf(""); - for (i = 0; i < arg->count; i++) { + for (uint32_t i = 0; i < arg->count; ++i) { if (i) printf(", ");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y.c
Added
@@ -0,0 +1,2 @@ +#define NULL_FD_STR "<" NULL_STR ">" +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ptrace syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #include <errno.h> #include "ptrace.h" #include <inttypes.h> +#include <fcntl.h> #include <signal.h> #include <stdint.h> #include <stdio.h> @@ -25,6 +26,35 @@ #include <sys/uio.h> #include <sys/user.h> +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#define NULL_FD 23 +#define NULL_STR "/dev/null" + +#ifndef NULL_FD_STR +# define NULL_FD_STR "" +#endif + +static const char null_path = "/dev/null"; + +#if SIZEOF_LONG > 4 +# define UP64BIT(a_) a_ +#else +# define UP64BIT(a_) +#endif + +struct valstraux { + int val; + const char *str; + const char *aux; +}; + static const char *errstr; static long @@ -62,12 +92,16 @@ } #endif /* PTRACE_GETREGS || PTRACE_GETREGS64 || PTRACE_GETFPREGS */ +#ifndef PTRACE_PEEKSIGINFO_SHARED +# define PTRACE_PEEKSIGINFO_SHARED (1 << 0) +#endif + static void test_peeksiginfo(int pid, const unsigned long bad_request) { do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, NULL, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, bad_request, errstr); struct psi { unsigned long long off; @@ -80,9 +114,11 @@ psi->nr = 42; do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, {off=%llu" - ", flags=PTRACE_PEEKSIGINFO_SHARED, nr=%u}, %#lx) = %s\n", - pid, psi->off, psi->nr, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, {off=%llu" + ", flags=" XLAT_FMT ", nr=%u}, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, + XLAT_ARGS(PTRACE_PEEKSIGINFO_SHARED), + psi->nr, bad_request, errstr); pid = fork(); if (pid < 0) @@ -148,22 +184,27 @@ long rc = do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, (uintptr_t) sigs); if (rc < 0) { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" - ", {off=%llu, flags=0, nr=%u}, %p) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, {off=%llu, flags=0" + ", nr=%u}, %p) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, sigs, errstr); } else { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" + printf("ptrace(" XLAT_FMT ", %d" ", {off=%llu, flags=0, nr=%u}" - ", {si_signo=SIGUSR1, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGUSR2, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGALRM, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" ") = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, + XLAT_ARGS(SIGUSR1), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGUSR2), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGALRM), XLAT_ARGS(SI_TKILL), pid, (int) uid, errstr); } @@ -174,7 +215,8 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_CONT, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_CONT), pid); } } @@ -185,7 +227,7 @@ # define TRACEE_REGS_STRUCT struct pt_regs #elif defined __arm__ # define TRACEE_REGS_STRUCT struct pt_regs -#elif defined __arm64__ || defined __aarch64__ +#elif defined __arm64__ || defined __aarch64__ || defined __loongarch__ # define TRACEE_REGS_STRUCT struct user_pt_regs #elif defined __s390__ || defined __s390x__ # define TRACEE_REGS_STRUCT s390_regs @@ -217,7 +259,7 @@ } sparc32_regs; # define TRACEE_REGS_STRUCT sparc32_regs # endif -#elif defined __riscv__ +#elif defined __riscv # define TRACEE_REGS_STRUCT struct user_regs_struct #elif defined __mips__ typedef struct { @@ -656,12 +698,9 @@ } # endif -# elif defined __riscv__ +# elif defined __riscv - if (size >= offsetofend(TRACEE_REGS_STRUCT, pc)) { - fputs(", ", stdout); - PRINT_FIELD_X(*regs, pc); - } + PRINT_FIELD_X(*regs, pc); if (size >= offsetofend(TRACEE_REGS_STRUCT, ra)) { fputs(", ", stdout); PRINT_FIELD_X(*regs, ra); @@ -826,15 +865,55 @@ PRINT_FIELD_X(*regs, cp0_cause); } +# elif defined __loongarch__ + + if (size > offsetof(TRACEE_REGS_STRUCT, regs)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, regs); + fputs("regs=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->regs); ++i) { + if (len > i * sizeof(regs->regsi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->regsi); + } + } + fputs("", stdout); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, orig_a0)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, orig_a0); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_era)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_era); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_badv)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_badv); + } + if (size > offsetof(TRACEE_REGS_STRUCT, reserved)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, reserved); + fputs(", reserved=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->reserved); ++i) { + if (len > i * sizeof(regs->reservedi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->reservedi); + } + } + fputs("", stdout); + } + # endif /* __aarch64__ || __arm64__ || __arm__ || __i386__ || + __loongarch__ || __mips__ || __powerpc64__ || __powerpc__ || - __riscv__ || + __riscv || __s390__ || __s390x__ || __sparc__ || @@ -928,11 +1007,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS */ } else { - printf("ptrace(PTRACE_GETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -951,7 +1031,7 @@ # endif /* __sparc__ && !__arch64__ */ do_ptrace_regs(PTRACE_SETREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1031,11 +1111,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS64, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS64, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS64), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS64 */ } else { - printf("ptrace(PTRACE_GETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1045,7 +1126,7 @@ } do_ptrace_regs(PTRACE_SETREGS64, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1066,6 +1147,8 @@ uint64_t fpscr; } ppc_fpregs_struct; # define TRACEE_REGS_STRUCT ppc_fpregs_struct +#elif defined __loongarch__ +# define TRACEE_REGS_STRUCT struct user_fp_state #endif static void @@ -1209,8 +1292,29 @@ PRINT_FIELD_X(*regs, fpscr); } +# elif defined __loongarch__ + + fputs("fpr=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->fpr); ++i) { + if (size > i * sizeof(regs->fpri)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->fpri); + } + } + fputs("", stdout); + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcc)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcc); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcsr)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcsr); + } + # endif /* __i386__ || + __loongarch__ || __powerpc64__ || __powerpc__ || __x86_64__ @@ -1252,11 +1356,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETFPREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETFPREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETFPREGS */ } else { - printf("ptrace(PTRACE_GETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1266,7 +1371,7 @@ } do_ptrace_regs(PTRACE_SETFPREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1286,16 +1391,16 @@ iov->iov_len = regsize; do_ptrace(PTRACE_GETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); if (*actual_size) return; /* skip PTRACE_SETREGSET */ } else { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1318,14 +1423,14 @@ iov->iov_len = regsize; do_ptrace(PTRACE_SETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); } else { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1342,44 +1447,48 @@ iov->iov_len = sizeof(kernel_ulong_t); do_ptrace(PTRACE_GETREGSET, pid, 1, (uintptr_t) iov); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x1, "NT_PRSTATUS") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_GETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); do_ptrace(PTRACE_SETREGSET, pid, 3, (uintptr_t) iov); - printf("ptrace(PTRACE_SETREGSET, %d, NT_PRPSINFO" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x3, "NT_PRPSINFO") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_SETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); #ifdef PTRACE_GETREGS do_ptrace_regs(PTRACE_GETREGS, pid, addr); - printf("ptrace(PTRACE_GETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETREGS do_ptrace_regs(PTRACE_SETREGS, pid, addr); - printf("ptrace(PTRACE_SETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGS), pid, addr, errstr); #endif #ifdef PTRACE_GETFPREGS do_ptrace_regs(PTRACE_GETFPREGS, pid, addr); - printf("ptrace(PTRACE_GETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETFPREGS do_ptrace_regs(PTRACE_SETFPREGS, pid, addr); - printf("ptrace(PTRACE_SETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETFPREGS), pid, addr, errstr); #endif for (; addr > (uintptr_t) iov; --addr) { do_ptrace(PTRACE_GETREGSET, pid, 1, addr); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x1, "NT_PRSTATUS") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGSET), pid, addr, errstr); do_ptrace(PTRACE_SETREGSET, pid, 2, addr); - printf("ptrace(PTRACE_SETREGSET, %d, NT_FPREGSET, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x2, "NT_FPREGSET") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGSET), pid, addr, errstr); } pid = fork(); @@ -1537,10 +1646,45 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } } +#if defined __arm64__ || defined __aarch64__ +static void +check_compat_ptrace_req(const unsigned int req, const char *const s, + const int pid) +{ + do_ptrace(req, pid, 0, 0); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, NULL, NULL) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); + + do_ptrace(req, pid, 0xbadc0deddeadface, 0xfacefeeddecaffed); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, 0xbadc0deddeadface, 0xfacefeeddecaffed) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); +} + +static void +test_compat_ptrace(const int pid) +{ + check_compat_ptrace_req(12, "COMPAT_PTRACE_GETREGS", pid); + check_compat_ptrace_req(13, "COMPAT_PTRACE_SETREGS", pid); + check_compat_ptrace_req(14, "COMPAT_PTRACE_GETFPREGS", pid); + check_compat_ptrace_req(15, "COMPAT_PTRACE_SETFPREGS", pid); + check_compat_ptrace_req(22, "COMPAT_PTRACE_GET_THREAD_AREA", pid); + check_compat_ptrace_req(23, "COMPAT_PTRACE_SET_SYSCALL", pid); + check_compat_ptrace_req(27, "COMPAT_PTRACE_GETVFPREGS", pid); + check_compat_ptrace_req(28, "COMPAT_PTRACE_SETVFPREGS", pid); + check_compat_ptrace_req(29, "COMPAT_PTRACE_GETHBPREGS", pid); + check_compat_ptrace_req(30, "COMPAT_PTRACE_SETHBPREGS", pid); +} +#else /* !(__arm64__ || __aarch64__) */ +static void test_compat_ptrace(const int pid) {} +#endif + int main(void) { @@ -1550,6 +1694,15 @@ (unsigned long) 0xdeadcafefffff00dULL; const int pid = getpid(); + int null_fd = open(null_path, O_RDONLY); + if (null_fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (null_fd != NULL_FD) { + if (dup2(null_fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(%d, NULL_FD)", null_fd); + close(null_fd); + } + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, filter_off); const unsigned int sigset_size = get_sigset_size(); @@ -1558,51 +1711,56 @@ TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sip); do_ptrace(bad_request, pid, 0, 0); - printf("ptrace(%#lx /* PTRACE_??? */, %d, NULL, NULL) = %s\n", + printf("ptrace(%#lx" NRAW(" /* PTRACE_??? */") + ", %d, NULL, NULL) = %s\n", bad_request, pid, errstr); do_ptrace(PTRACE_PEEKDATA, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKTEXT, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKUSER, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_POKEUSER, pid, bad_request, bad_data); - printf("ptrace(PTRACE_POKEUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_POKEUSER), pid, bad_request, bad_data, errstr); do_ptrace(PTRACE_ATTACH, pid, 0, 0); - printf("ptrace(PTRACE_ATTACH, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_ATTACH), pid, errstr); do_ptrace(PTRACE_INTERRUPT, pid, 0, 0); - printf("ptrace(PTRACE_INTERRUPT, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_INTERRUPT), pid, errstr); do_ptrace(PTRACE_KILL, pid, 0, 0); - printf("ptrace(PTRACE_KILL, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_KILL), pid, errstr); do_ptrace(PTRACE_LISTEN, pid, 0, 0); - printf("ptrace(PTRACE_LISTEN, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_LISTEN), pid, errstr); sigset_t libc_set; sigemptyset(&libc_set); @@ -1610,95 +1768,271 @@ memcpy(k_set, &libc_set, sigset_size); do_ptrace(PTRACE_SETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_SETSIGMASK, %d, %u, USR1) = %s\n", - pid, sigset_size, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGMASK), pid, sigset_size, + XLAT_SEL(SIGUSR1, "USR1"), errstr); do_ptrace(PTRACE_GETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_GETSIGMASK, %d, %u, %p) = %s\n", - pid, sigset_size, k_set, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGMASK), pid, sigset_size, k_set, errstr); do_ptrace(PTRACE_SECCOMP_GET_FILTER, pid, 42, 0); - printf("ptrace(PTRACE_SECCOMP_GET_FILTER, %d, 42, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 42, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_FILTER), pid, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, 0); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, NULL) = %s\n", - pid, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %lu, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, 7, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, 7, %p) = %s\n", - pid, filter_off, errstr); + printf("ptrace(" XLAT_FMT ", %d, 7, %p) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, filter_off, errstr); *filter_off = 0xfacefeeddeadc0deULL; do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, " - "{filter_off=%" PRIu64 "}) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %lu, {filter_off=%" PRIu64 "}) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, *filter_off, errstr); do_ptrace(PTRACE_GETEVENTMSG, pid, bad_request, bad_data); - printf("ptrace(PTRACE_GETEVENTMSG, %d, %#lx, %#lx) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETEVENTMSG), pid, bad_request, bad_data, errstr); + /* SIGIO */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGIO; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_band = -2; + sip->si_fd = NULL_FD; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGIO" - ", si_code=POLL_IN, si_errno=ENOENT, si_band=-2}) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_band=-2" + ", si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, XLAT_ARGS(SIGIO), + XLAT_ARGS(POLL_IN), XLAT_ARGS(ENOENT), NULL_FD, NULL_FD_STR, + errstr); + + /* SIGTRAP */ + struct valstraux trap_codes = { + { ARG_XLAT_KNOWN(0x1, "TRAP_BRKPT") }, +#ifdef TRAP_TRACEFLOW + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACEFLOW") }, +#else + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACE") }, +#endif +#ifdef TRAP_WATCHPT + { ARG_XLAT_KNOWN(0x3, "TRAP_WATCHPT") }, +#else + { ARG_XLAT_KNOWN(0x3, "TRAP_BRANCH") }, +#endif +#ifdef TRAP_ILLTRAP + { ARG_XLAT_KNOWN(0x4, "TRAP_ILLTRAP") }, +#else + { ARG_XLAT_KNOWN(0x4, "TRAP_HWBKPT") }, +#endif + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" +#ifdef __alpha__ + ", si_trapno=0 /* GEN_??? */" + }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-1, "GEN_INTOVF" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-25, "GEN_SUBRNG7" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-26 /* GEN_??? */" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-1234567890 /* GEN_??? */" +#endif /* __alpha__ */ + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + ", si_perf_data=0" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0, "PERF_TYPE_HARDWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=0" +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x1" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x1, "PERF_TYPE_SOFTWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" XLAT_KNOWN(0x1, "TRAP_PERF_FLAG_ASYNC") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("12345678") "90abcdef" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x5, "PERF_TYPE_BREAKPOINT") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_KNOWN(0xdeadbeef, "TRAP_PERF_FLAG_ASYNC|0xdeadbeee") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("badc0ded") "deadface" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_UNKNOWN(0x6, "PERF_TYPE_???") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_UNKNOWN(0xcafec0de, "TRAP_PERF_FLAG_???") +# endif +#endif /* HAVE_SIGINFO_T_SI_PERF_DATA */ + }, + { ARG_STR(0x7) }, + { ARG_STR(0x499602d2) }, + }; + int trap_unk_vecs = { 0, 1234567890, -1234567890 }; + struct { + unsigned long data; + uint32_t type; + uint32_t flags; + } trap_perf_vecs = { + { 0, 0, 0 }, + { 1, 1, 1 }, + { (unsigned long) 0x1234567890abcdefULL, 5, 0xdeadbeef }, + { (unsigned long) 0xbadc0deddeadfaceULL, 6, 0xcafec0de }, + }; + size_t trap_unk_pos = 0; + size_t trap_perf_pos = 0; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGTRAP; sip->si_code = 1; sip->si_errno = ENOENT; - sip->si_pid = 2; - sip->si_uid = 3; - sip->si_ptr = (void *) bad_request; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGTRAP" - ", si_code=TRAP_BRKPT, si_errno=ENOENT, si_pid=2, si_uid=3" - ", si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_int, sip->si_ptr, errstr); + for (size_t i = 0; i < ARRAY_SIZE(trap_codes); i++) { + sip->si_code = trap_codesi.val; + + switch (sip->si_code) { + case 5: /* TRAP_UNK */ +#ifdef __alpha__ + sip->si_trapno = trap_unk_vecstrap_unk_pos; +#endif + trap_unk_pos = (trap_unk_pos + 1) + % ARRAY_SIZE(trap_unk_vecs); + break; + case 6: /* TRAP_PERF */ +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + sip->si_perf_data = trap_perf_vecstrap_perf_pos.data; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + sip->si_perf_type = trap_perf_vecstrap_perf_pos.type; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + sip->si_perf_flags = trap_perf_vecstrap_perf_pos.flags; +#endif + trap_perf_pos = (trap_perf_pos + 1) + % ARRAY_SIZE(trap_perf_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=" XLAT_FMT_U ", si_addr=%p%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGTRAP), trap_codesi.str, XLAT_ARGS(ENOENT), + sip->si_addr, trap_codesi.aux ?: "", errstr); + } + /* SIGILL */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGILL; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -12; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGILL" - ", si_code=ILL_ILLOPC, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __sparc__ + ", si_trapno=-12" +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGILL), XLAT_ARGS(ILL_ILLOPC), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + /* SIGFPE */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGFPE; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -7; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGFPE" - ", si_code=FPE_INTDIV, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __alpha__ + ", si_trapno=" XLAT_KNOWN(-7, "GEN_FLTINE") +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGFPE), XLAT_ARGS(FPE_INTDIV), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + + /* SIGBUS */ + struct valstraux bus_codes = { + { ARG_XLAT_KNOWN(0x1, "BUS_ADRALN") }, + { ARG_XLAT_KNOWN(0x2, "BUS_ADRERR") }, + { ARG_XLAT_KNOWN(0x3, "BUS_OBJERR") }, +#ifdef BUS_OPFETCH + { ARG_XLAT_KNOWN(0x4, "BUS_OPFETCH") }, +#else + { ARG_XLAT_KNOWN(0x4, "BUS_MCEERR_AR"), +# ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + ", si_addr_lsb=0xdead" +# endif + }, +#endif + { ARG_XLAT_KNOWN(0x5, "BUS_MCEERR_AO"), +# if !defined(BUS_OPFETCH) && defined(HAVE_SIGINFO_T_SI_ADDR_LSB) + ", si_addr_lsb=0xdead" +# endif + }, + { ARG_STR(0x6) }, + { ARG_STR(0x499602d2) }, + }; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGBUS; sip->si_code = 1; sip->si_errno = -2; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + sip->si_addr_lsb = 0xdead; +#endif + for (size_t i = 0; i < ARRAY_SIZE(bus_codes); i++) { + sip->si_code = bus_codesi.val; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGBUS" - ", si_code=BUS_ADRALN, si_errno=%u, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_errno, sip->si_addr, errstr); + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=%u, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGBUS), bus_codesi.str, + sip->si_errno, sip->si_addr, bus_codesi.aux ?: "", + errstr); + } + /* SIGPROF */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGPROF; sip->si_code = 0xbadc0ded; @@ -1708,10 +2042,103 @@ sip->si_ptr = 0; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGPROF" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U ", si_code=%#x, si_errno=%u, si_pid=0, si_uid=3}) = %s\n", - pid, bad_request, sip->si_code, sip->si_errno, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGPROF), sip->si_code, sip->si_errno, errstr); + + /* SIGSEGV */ + struct valstraux segv_codes = { + { ARG_XLAT_KNOWN(0x1, "SEGV_MAPERR") }, + { ARG_XLAT_KNOWN(0x2, "SEGV_ACCERR") }, +#ifdef SEGV_STACKFLOW + { ARG_XLAT_KNOWN(0x3, "SEGV_STACKFLOW") }, +#else + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), "" +# ifdef HAVE_SIGINFO_T_SI_LOWER + ", si_lower=NULL, si_upper=NULL" + }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=NULL" + ", si_upper=0x" UP64BIT("deadc0de") "beadfeed" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("facecafe") "befeeded" + ", si_upper=NULL" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("beefface") "cafedead" + ", si_upper=0x" UP64BIT("badc0ded") "dadfaced", +#endif /* HAVE_SIGINFO_T_SI_LOWER */ + }, +#endif /* SEGV_STACKFLOW */ +#ifdef __SEGV_PSTKOVF + { ARG_XLAT_KNOWN(0x4, "__SEGV_PSTKOVF") }, +#else + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), "" +# ifdef HAVE_SIGINFO_T_SI_PKEY + ", si_pkey=0" + }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=1234567890" }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=3141592653" +# endif /* HAVE_SIGINFO_T_SI_PKEY */ + }, +#endif /* __SEGV_PSTKOVF */ + { ARG_XLAT_KNOWN(0x5, "SEGV_ACCADI") }, + { ARG_XLAT_KNOWN(0x6, "SEGV_ADIDERR") }, + { ARG_XLAT_KNOWN(0x7, "SEGV_ADIPERR") }, + { ARG_XLAT_KNOWN(0x8, "SEGV_MTEAERR") }, + { ARG_XLAT_KNOWN(0x9, "SEGV_MTESERR") }, + { ARG_STR(0xa) }, + { ARG_STR(0x499602d2) }, + }; + uint32_t segv_pkey_vecs = { 0, 1234567890, 3141592653U }; + struct { + void *lower; + void *upper; + } segv_bnd_vecs = { + { 0, 0 }, + { 0, (void *) (uintptr_t) 0xdeadc0debeadfeedULL }, + { (void *) (uintptr_t) 0xfacecafebefeededULL, 0 }, + { (void *) (uintptr_t) 0xbeeffacecafedeadULL, + (void *) (uintptr_t) 0xbadc0deddadfacedULL }, + }; + size_t segv_pkey_pos = 0; + size_t segv_bnd_pos = 0; + + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_errno = 0; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; + + for (size_t i = 0; i < ARRAY_SIZE(segv_codes); i++) { + sip->si_code = segv_codesi.val; + switch (sip->si_code) { + case 3: /* SEGV_BNDERR */ +#ifdef HAVE_SIGINFO_T_SI_LOWER + sip->si_lower = segv_bnd_vecssegv_bnd_pos.lower; + sip->si_upper = segv_bnd_vecssegv_bnd_pos.upper; +#endif + segv_bnd_pos = (segv_bnd_pos + 1) + % ARRAY_SIZE(segv_bnd_vecs); + break; + case 4: /* SEGV_PKUERR */ +#ifdef HAVE_SIGINFO_T_SI_PKEY + sip->si_pkey = segv_pkey_vecssegv_pkey_pos; +#endif + segv_pkey_pos = (segv_pkey_pos + 1) + % ARRAY_SIZE(segv_pkey_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), segv_codesi.str, + sip->si_addr, segv_codesi.aux ?: "", errstr); + } + + /* SIGSYS */ #ifdef HAVE_SIGINFO_T_SI_SYSCALL memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGSYS; @@ -1722,10 +2149,13 @@ sip->si_arch = AUDIT_ARCH_X86_64; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=ENOENT, si_call_addr=%p" - ", si_syscall=%u, si_arch=AUDIT_ARCH_X86_64}) = %s\n", - pid, bad_request, sip->si_call_addr, sip->si_syscall, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=" + XLAT_FMT_U ", si_call_addr=%p, si_syscall=%u, si_arch=" XLAT_FMT + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), XLAT_ARGS(ENOENT), sip->si_call_addr, + sip->si_syscall, XLAT_ARGS(AUDIT_ARCH_X86_64), errstr); sip->si_errno = 3141592653U; sip->si_call_addr = NULL; @@ -1733,13 +2163,72 @@ sip->si_arch = 0xda7a1057; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=%u, si_call_addr=NULL" - ", si_syscall=__NR_read, si_arch=%#x /* AUDIT_ARCH_??? */})" - " = %s\n", - pid, bad_request, sip->si_errno, sip->si_arch, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u, si_arch=%#x" + NRAW(" /* AUDIT_ARCH_??? */") "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, sip->si_syscall, sip->si_arch, + errstr); + +# ifdef CUR_AUDIT_ARCH + sip->si_arch = CUR_AUDIT_ARCH; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=" XLAT_FMT_U ", si_arch=%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, XLAT_ARGS(__NR_read), + sprintxval(audit_arch, CUR_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(PERS0_AUDIT_ARCH) + sip->si_arch = PERS0_AUDIT_ARCH; + sip->si_syscall = PERS0__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(M32_AUDIT_ARCH) + sip->si_arch = M32_AUDIT_ARCH; + sip->si_syscall = M32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + sip->si_arch = MX32_AUDIT_ARCH; + sip->si_syscall = MX32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif #endif + /* SI_TIMER */ #if defined HAVE_SIGINFO_T_SI_TIMERID && defined HAVE_SIGINFO_T_SI_OVERRUN memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGHUP; @@ -1750,67 +2239,89 @@ sip->si_ptr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGHUP" - ", si_code=SI_TIMER, si_errno=ENOENT, si_timerid=%#x" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_timerid=%#x" ", si_overrun=%d, si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_timerid, sip->si_overrun, - sip->si_int, sip->si_ptr, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGHUP), XLAT_ARGS(SI_TIMER), XLAT_ARGS(ENOENT), + sip->si_timerid, sip->si_overrun, sip->si_int, sip->si_ptr, + errstr); #endif + /* SI_SIGIO */ + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_code = SI_SIGIO; + sip->si_errno = ENOENT; + sip->si_band = -1234567890; + sip->si_fd = NULL_FD; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U + ", si_band=-1234567890, si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), XLAT_ARGS(SI_SIGIO), XLAT_ARGS(ENOENT), + NULL_FD, NULL_FD_STR, errstr); + do_ptrace(PTRACE_GETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_GETSIGINFO, %d, %#lx, %p) = %s\n", - pid, bad_request, sip, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGINFO), pid, bad_request, sip, errstr); do_ptrace(PTRACE_CONT, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_CONT, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_CONT), pid, XLAT_ARGS(SIGUSR1), errstr); do_ptrace(PTRACE_DETACH, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_DETACH, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_DETACH), pid, XLAT_ARGS(SIGUSR2), errstr); do_ptrace(PTRACE_SYSCALL, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSCALL, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSCALL), pid, XLAT_ARGS(SIGUSR1), errstr); #ifdef PTRACE_SINGLESTEP do_ptrace(PTRACE_SINGLESTEP, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SINGLESTEP, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLESTEP), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SINGLEBLOCK do_ptrace(PTRACE_SINGLEBLOCK, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SINGLEBLOCK, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLEBLOCK), pid, XLAT_ARGS(SIGUSR1), errstr); #endif #ifdef PTRACE_SYSEMU do_ptrace(PTRACE_SYSEMU, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SYSEMU, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SYSEMU_SINGLESTEP do_ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSEMU_SINGLESTEP, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU_SINGLESTEP), pid, XLAT_ARGS(SIGUSR1), + errstr); #endif do_ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE); - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE), errstr); do_ptrace(PTRACE_SEIZE, pid, bad_request, PTRACE_O_TRACESYSGOOD); - printf("ptrace(PTRACE_SEIZE, %d, %#lx, PTRACE_O_TRACESYSGOOD) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SEIZE), pid, bad_request, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD), errstr); test_peeksiginfo(pid, bad_request); test_getregset_setregset(pid); + test_compat_ptrace(pid); do_ptrace(PTRACE_TRACEME, 0, 0, 0); - printf("ptrace(PTRACE_TRACEME) = %s\n", errstr); + printf("ptrace(" XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_TRACEME), errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a35 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a26 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a47 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/ptrace_syscall_info.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/ptrace_syscall_info.c
Changed
@@ -97,6 +97,14 @@ } }; +#if !XLAT_RAW +static const char *sc_names = { + "chdir", + "gettid", + "exit_group" +}; +#endif + static const unsigned int expected_none_size = offsetof(struct_ptrace_syscall_info, entry); static const unsigned int expected_entry_size = @@ -111,12 +119,12 @@ test_none(void) { do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, end_of_page); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, %#lx) = %s\n", - pid, end_of_page, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, end_of_page, errstr); for (unsigned int size = 0; size <= sizeof(struct_ptrace_syscall_info); ++size) { @@ -125,16 +133,16 @@ long rc = do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, size, buf); if (rc < 0) { - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, %#lx)" - " = %s\n", - pid, (unsigned int) size, buf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, + (unsigned int) size, buf, errstr); return false; } if (rc < (long) expected_none_size) FAIL("signal stop mismatch"); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -146,7 +154,7 @@ if (info.op != PTRACE_SYSCALL_INFO_NONE) FAIL("signal stop mismatch"); - printf("{op=PTRACE_SYSCALL_INFO_NONE"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_NONE)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_none; @@ -193,8 +201,8 @@ if (rc < (long) expected_entry_size) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -206,7 +214,7 @@ if (info.op != PTRACE_SYSCALL_INFO_ENTRY) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_ENTRY"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_ENTRY)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_entry_common; @@ -236,7 +244,10 @@ const unsigned long *exp_args = argsptrace_stop / 2; if (info.entry.nr != exp_args0) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf(", entry={nr=%llu", (unsigned long long) info.entry.nr); + printf(", entry={nr=" + NABBR("%llu") VERB(" /* ") NRAW("__NR_%s") VERB(" */"), + XLAT_SEL((unsigned long long) info.entry.nr, + sc_namesptrace_stop / 2)); for (unsigned int i = 0; i < ARRAY_SIZE(info.entry.args); ++i) { const unsigned int i_size = @@ -282,8 +293,8 @@ if (rc < (long) expected_exit_size) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -295,7 +306,7 @@ if (info.op != PTRACE_SYSCALL_INFO_EXIT) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_EXIT"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_EXIT)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_exit_common; @@ -334,7 +345,8 @@ if (info.exit.rval != exp_param->rval) FAIL("#%d: exit stop mismatch", ptrace_stop); if (size >= expected_exit_size && info.exit.is_error) { - printf(", exit={rval=%s", exp_param->str); + printf(", exit={rval=" XLAT_FMT_D, + XLAT_SEL(exp_param->rval, exp_param->str)); } else { printf(", exit={rval=%lld", (long long) info.exit.rval); } @@ -360,8 +372,8 @@ pid = getpid(); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 0, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 0, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 0, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); pid = fork(); if (pid < 0) @@ -422,8 +434,10 @@ /* cannot happen */ PFAIL("PTRACE_SETOPTIONS"); } - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACESYSGOOD) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT + ") = 0\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD)); if (!test_none()) goto done; @@ -455,7 +469,8 @@ /* cannot happen */ PFAIL("PTRACE_SYSCALL"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } done:
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pure_executables.am -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pure_executables.am
Changed
@@ -10,6 +10,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -33,7 +38,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -112,6 +119,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -156,9 +164,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -197,6 +212,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -205,6 +225,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -213,6 +236,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -224,6 +250,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -330,6 +357,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -371,6 +399,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -379,10 +411,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -392,6 +439,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -438,6 +489,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -472,7 +525,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -499,12 +560,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -559,6 +632,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -571,6 +645,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -618,10 +693,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -642,7 +724,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -652,6 +737,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -662,6 +748,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pure_executables.list -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pure_executables.list
Changed
@@ -1,6 +1,6 @@ # Executables without side effects. # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,11 @@ aio aio_pgetevents alarm +arch_prctl +arch_prctl-Xabbrev +arch_prctl-Xraw +arch_prctl-Xverbose +at_fdcwd-pathmax bpf bpf-v brk @@ -38,7 +43,9 @@ copy_file_range creat delete_module +dev--decode-fds-all dev--decode-fds-dev +dev--decode-fds-none dev--decode-fds-path dev--decode-fds-socket dev-yy @@ -117,6 +124,7 @@ ftruncate ftruncate64 futex +futex_waitv futimesat get_mempolicy getcpu @@ -161,9 +169,16 @@ inotify_init1-y io_uring_enter io_uring_register +io_uring_register-Xabbrev +io_uring_register-Xraw +io_uring_register-Xverbose io_uring_setup ioctl ioctl_block +ioctl_counter +ioctl_counter-Xabbrev +ioctl_counter-Xraw +ioctl_counter-Xverbose ioctl_dm ioctl_evdev ioctl_evdev-Xabbrev @@ -202,6 +217,11 @@ ioctl_hdio-v-Xraw ioctl_hdio-v-Xverbose ioctl_inotify +ioctl_lirc +ioctl_kd +ioctl_kd-Xabbrev +ioctl_kd-Xraw +ioctl_kd-Xverbose ioctl_kvm_run ioctl_kvm_run-v ioctl_kvm_run_auxstr_vcpu @@ -210,6 +230,9 @@ ioctl_nbd ioctl_perf ioctl_ptp +ioctl_ptp-Xabbrev +ioctl_ptp-Xraw +ioctl_ptp-Xverbose ioctl_random ioctl_rtc ioctl_scsi @@ -218,6 +241,9 @@ ioctl_sock ioctl_sock_gifconf ioctl_tee +ioctl_termios +ioctl_termios-v +ioctl_tiocm ioctl_ubi ioctl_uffdio ioctl_v4l2 @@ -229,6 +255,7 @@ ioctl_v4l2-v-Xraw ioctl_v4l2-v-Xverbose ioctl_watchdog +ioctl_winsize ioperm iopl ioprio @@ -335,6 +362,7 @@ msg_name munlockall nanosleep +net--decode-fds-all-netlink net--decode-fds-dev-netlink net--decode-fds-none-netlink net--decode-fds-path-netlink @@ -376,6 +404,10 @@ nfnetlink_ulog nlattr nlattr_br_port_msg +nlattr_cachereport +nlattr_cachereport-Xabbrev +nlattr_cachereport-Xraw +nlattr_cachereport-Xverbose nlattr_crypto_user_alg nlattr_dcbmsg nlattr_fib_rule_hdr @@ -384,10 +416,25 @@ nlattr_ifinfomsg nlattr_ifla_af_spec nlattr_ifla_brport +nlattr_ifla_brport-Xabbrev +nlattr_ifla_brport-Xraw +nlattr_ifla_brport-Xverbose nlattr_ifla_linkinfo nlattr_ifla_port +nlattr_ifla_protinfo +nlattr_ifla_protinfo-Xabbrev +nlattr_ifla_protinfo-Xraw +nlattr_ifla_protinfo-Xverbose nlattr_ifla_proto_down_reason +nlattr_ifla_vfinfo +nlattr_ifla_vfinfo-Xabbrev +nlattr_ifla_vfinfo-Xraw +nlattr_ifla_vfinfo-Xverbose nlattr_ifla_xdp +nlattr_ifstats +nlattr_ifstats-Xabbrev +nlattr_ifstats-Xraw +nlattr_ifstats-Xverbose nlattr_inet_diag_msg nlattr_inet_diag_req_compat nlattr_inet_diag_req_v2 @@ -397,6 +444,10 @@ nlattr_ndtmsg nlattr_netconfmsg nlattr_netlink_diag_msg +nlattr_nhmsg +nlattr_nhmsg-Xabbrev +nlattr_nhmsg-Xraw +nlattr_nhmsg-Xverbose nlattr_nlmsgerr nlattr_packet_diag_msg nlattr_rtgenmsg @@ -443,6 +494,8 @@ pidfd_getfd-y pidfd_getfd-yy pidfd_open +pidfd_open--decode-fd-all +pidfd_open--decode-fd-none pidfd_open--decode-fd-path pidfd_open--decode-fd-pidfd pidfd_open--decode-fd-socket @@ -477,7 +530,15 @@ prctl-sched-core-Xraw prctl-sched-core-Xverbose prctl-securebits +prctl-set_vma +prctl-sme +prctl-sme-Xabbrev +prctl-sme-Xraw +prctl-sme-Xverbose prctl-sve +prctl-sve-Xabbrev +prctl-sve-Xraw +prctl-sve-Xverbose prctl-syscall-user-dispatch prctl-tagged-addr prctl-tagged-addr-Xabbrev @@ -504,12 +565,24 @@ process_madvise process_madvise-y process_madvise-yy +process_mrelease +process_mrelease-y process_vm_readv process_vm_writev pselect6 pselect6_time64 ptrace +ptrace-Xabbrev +ptrace-Xraw +ptrace-Xverbose +ptrace-y +ptrace-y-Xabbrev +ptrace-y-Xraw +ptrace-y-Xverbose ptrace_syscall_info +ptrace_syscall_info-Xabbrev +ptrace_syscall_info-Xraw +ptrace_syscall_info-Xverbose pwritev quotactl quotactl-Xabbrev @@ -564,6 +637,7 @@ sched_yield seccomp-filter seccomp_get_action_avail +seccomp_get_notif_sizes select semop semop-indirect @@ -576,6 +650,7 @@ set_mempolicy-Xabbrev set_mempolicy-Xraw set_mempolicy-Xverbose +set_mempolicy_home_node setdomainname setfsgid setfsgid32 @@ -623,10 +698,17 @@ sock_filter-v-Xraw sock_filter-v-Xverbose sockaddr_xlat-Xabbrev +sockaddr_xlat-Xabbrev-y sockaddr_xlat-Xraw +sockaddr_xlat-Xraw-y sockaddr_xlat-Xverbose +sockaddr_xlat-Xverbose-y socketcall sockopt-sol_netlink +sockopt-sol_socket +sockopt-sol_socket-Xabbrev +sockopt-sol_socket-Xraw +sockopt-sol_socket-Xverbose sockopt-timestamp splice stat @@ -647,7 +729,10 @@ strace--strings-in-hex strace--strings-in-hex-all strace--strings-in-hex-non-ascii +strace--strings-in-hex-non-ascii-chars +strace--strings-in-hex-none strace-n +strace-no-x strace-x strace-xx swap @@ -657,6 +742,7 @@ sync sync_file_range sync_file_range2 +sysctl sysinfo syslog tampering-notes @@ -667,6 +753,9 @@ timer_xettime timerfd_xettime times +times-Xabbrev +times-Xraw +times-Xverbose times-fail tkill truncate
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/pwritev.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/pwritev.c
Changed
@@ -40,9 +40,8 @@ printf("%p", iov); return; } - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); if (i == size) { @@ -69,12 +68,11 @@ perror_msg_and_fail("open"); char *buf = tail_alloc(LEN); - unsigned i; - for (i = 0; i < LEN; ++i) + for (unsigned int i = 0; i < LEN; ++i) bufi = i; struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { bufi = i; iovi.iov_base = &bufi; iovi.iov_len = LEN - i; @@ -83,7 +81,7 @@ const off_t offset = 0xdefaceddeadbeefLL; long rc; int written = 0; - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { written += iovi.iov_len; if (pwritev(0, iov, i + 1, offset + i) != written) perror_msg_and_fail("pwritev"); @@ -93,7 +91,7 @@ i + 1, (long long) offset + i, written); } - for (i = 0; i <= LEN; ++i) { + for (unsigned int i = 0; i <= LEN; ++i) { unsigned int n = LEN + 1 - i; fputs("pwritev(0, ", stdout); print_iovec(iov + i, n, LEN - i);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_fault-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_fault-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh -efu suffix=:syscall=gettid name_override=qual_fault . "${srcdir=.}/qual_fault.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_fault.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_fault.c
Changed
@@ -2,7 +2,7 @@ * Check that fault injection works properly. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,12 +29,13 @@ #define DEFAULT_ERRNO ENOSYS static const char *errstr; -static int is_raw, err, first, last, step, iter, try; +static int is_raw, err; static void -invoke(int fail) +invoke(int iter, int fail) { static char bufsizeof(int) * 3 + 3; + static int try; const struct iovec io = { .iov_base = buf, .iov_len = sprintf(buf, "%d.", ++try) @@ -44,7 +45,7 @@ if (!fail) { rc = write(exp_fd, io.iov_base, io.iov_len); if (rc != (int) io.iov_len) - perror_msg_and_fail("write"); + perror_msg_and_fail("iter %d: write", iter); } errno = 0; @@ -52,9 +53,9 @@ if (fail) { if (!(rc == -1 && errno == err)) - perror_msg_and_fail("expected errno %d" + perror_msg_and_fail("iter %d: expected errno %d" ", got rc == %d, errno == %d", - err, rc, errno); + iter, err, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1)" @@ -66,9 +67,9 @@ got_fd, buf, (int) io.iov_len, errstr); } else { if (rc != (int) io.iov_len) - perror_msg_and_fail("expected %d" + perror_msg_and_fail("iter %d: expected %d" ", got rc == %d, errno == %d", - (int) io.iov_len, rc, errno); + iter, (int) io.iov_len, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1) = %#x\n", @@ -119,10 +120,10 @@ errno = err; errstr = errno2name(); - first = atoi(argv3); - last = atoi(argv4); - step = atoi(argv5); - iter = atoi(argv6); + int first = atoi(argv3); + int last = atoi(argv4); + int step = atoi(argv5); + int iter = atoi(argv6); int num_procs = atoi(argv7); char *exp_prefix = argv8; char *got_prefix = argv9; @@ -133,8 +134,7 @@ assert(step >= 0); assert(num_procs > 0); - int proc; - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int ret = fork(); if (ret < 0) @@ -162,8 +162,7 @@ /* This magic forces tprintf to write where we want it. */ dup2(out_fd, 3); - int i; - for (i = 1; i <= iter; ++i) { + for (int i = 1; i <= iter; ++i) { int fail = 0; if (last != 0) { --first; @@ -174,14 +173,14 @@ first = step; } } - invoke(fail); + invoke(i, fail); } tprintf("%s\n", "+++ exited with 0 +++"); return 0; } - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int status; int ret = wait(&status); if (ret <= 0)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_fault.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_fault.test
Changed
@@ -3,7 +3,7 @@ # Check that fault injection works properly. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -83,8 +83,13 @@ done } +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=51 ;; +esac + for err in '' ENOSYS 22 einval; do - for fault in writev desc,51; do + for fault in writev desc,$valid_scno; do check_fault_injection \ writev $fault "$err" '' '' '' 1 -efault=chdir check_fault_injection \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_inject-error-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_inject-error-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-error-signal . "${srcdir=.}/qual_inject-error-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_inject-retval-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_inject-retval-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-retval . "${srcdir=.}/qual_inject-retval.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_inject-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_inject-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-signal . "${srcdir=.}/qual_inject-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_inject-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_inject-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check -e inject= syntax. # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -23,9 +23,14 @@ "strace -e inject=$* failed to handle an argument error properly" } -for arg in 42 chdir \ - chdir:42 \!chdir:42 \ - chdir:42:when=7 \ +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + +for arg in $valid_scno chdir \ + chdir:$valid_scno \!chdir:$valid_scno \ + chdir:$valid_scno:when=7 \ chdir:invalid \ chdir:invalid:when=8 \ chdir:error= \ @@ -89,7 +94,7 @@ chdir:syscall=chdir \ chdir:syscall=%file \ chdir:syscall=-42 \ - chdir:syscall=42 \ + chdir:syscall=$valid_scno \ chdir:syscall=gettid:syscall=gettid \ chdir:when=. \ chdir:when=.+ \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_signal.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_signal.c
Changed
@@ -53,8 +53,7 @@ pid = getpid(); uid = geteuid(); - int i; - for (i = 1; i < ac; i += 2) + for (int i = 1; i < ac; i += 2) test_sig(atoi(avi), avi + 1); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qual_syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qual_syscall.test
Changed
@@ -3,7 +3,7 @@ # Check how strace -e abbrev=set, -e raw=set, -e trace=set, # and -e verbose=set work. # -# Copyright (c) 2014-2020 The strace developers. +# Copyright (c) 2014-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,11 @@ pattern_nonverbose='execve("\.\./umovestr", 0x:xdigit:*, 0x:xdigit:*) = 0' pattern_raw='execve(0x:xdigit:*, 0x:xdigit:*, 0x:xdigit:*) = 0' +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + check_output_mismatch() { local pattern @@ -47,11 +52,11 @@ LC_ALL=C grep '^chdir' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e 42 ../umovestr +run_strace -e $valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e/ -e42 ../umovestr +run_strace -e/ -e$valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" @@ -62,7 +67,7 @@ check_execve_output_mismatch verbose "$a" "$pattern_abbrev_verbose" done -for a in \!execve chdir 42 \!all none \ +for a in \!execve chdir $valid_scno \!all none \ \!file \!process desc ipc memory network signal; do check_execve_output_mismatch abbrev "$a" "$pattern_nonabbrev_verbose" check_execve_output_mismatch raw "$a" "$pattern_abbrev_verbose"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/qualify_personality.sh -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/qualify_personality.sh
Changed
@@ -2,7 +2,7 @@ # # Common code for per-personality qualification tests # -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -33,29 +33,7 @@ ;; esac -# Detect current personality designation -if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then - case "$STRACE_NATIVE_ARCH" in - x32) - cur_pers=x32 - ;; - *) - cur_pers="$(($SIZEOF_LONG * 8))" - ;; - esac -else - if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=32 - else - 8 -eq "$SIZEOF_KERNEL_LONG_T" || - fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=x32 - fi -fi +cur_pers=$(print_current_personality_designator) pers_found=0 set -- $supported_pers
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/qualify_personality_all.sh
Added
@@ -0,0 +1,91 @@ +#! /bin/sh -efu +# +# Common code for strace --trace=all@pers tests. +# +# Copyright (c) 2018-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + + "$#" -eq 1 || + fail_ 'No personality designation ("64", "32", "x32") specified' + +target_pers="$1" +shift + +trace_expr="all@$target_pers" + +case "$STRACE_NATIVE_ARCH" in +x86_64) + native_pers='64' + supported_pers='64 32 x32' + ;; +x32) + native_pers='x32' + supported_pers='x32 32' + ;; +aarch64|powerpc64|s390x|sparc64|tile) + native_pers='64' + supported_pers='64 32' + ;; +*) + native_pers=$(($SIZEOF_LONG * 8)) + supported_pers=$native_pers + ;; +esac + +pers_found= +for i in $supported_pers; do + if "$target_pers" = "$i" ; then + pers_found=1 + break + fi +done + + -n "$pers_found" || + skip_ "Personality '$target_pers' is not supported on architecture" \ + "'$STRACE_NATIVE_ARCH' (supported personalities: $supported_pers)" + +cur_pers=$(print_current_personality_designator) +if "$target_pers" = "$cur_pers" ; then + skip_ "$trace_expr would match all syscalls on $STRACE_ARCH" +fi + +if "$target_pers" != "$native_pers" ; then + # reset $NAME, so that "$NAME.in" used by test_trace_expr + # would point to an empty file. + NAME=qualify_personality_empty + + test_trace_expr '' --trace="$trace_expr" + exit +fi + +if "$cur_pers:$target_pers" = 'x32:64' ; then + skip_ "x32 executables may invoke $STRACE_NATIVE_ARCH syscalls" +fi + +# $trace_expr would match the native execve +cat > "$EXP" <<'__EOF__' +execve(at)?\(.* +__EOF__ + +check_prog head +check_prog tail + +while read -r t; do { + # skip lines beginning with "#" symbol + case "$t" in + ''|'#'*) continue ;; + esac + + try_run_prog "../$t" || continue + run_strace -qq -esignal=none --trace="$trace_expr" "../$t" > /dev/null + + head -n1 < "$LOG" > "$OUT" + match_grep "$OUT" "$EXP" + + tail -n +2 < "$LOG" > "$OUT" + match_diff "$OUT" /dev/null +} < /dev/null; done < "$srcdir/pure_executables.list"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/read-write.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/read-write.c
Changed
@@ -2,7 +2,7 @@ * Check decoding and dumping of read and write syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,9 +28,8 @@ "................................" "................................" "................................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -41,7 +40,7 @@ } } -static inline void +static void dump_str(const char *str, const unsigned int len) { dump_str_ex(str, len, 5); @@ -51,11 +50,10 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; tprintf("\""); - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; if (i >= DEFAULT_STRLEN) { @@ -126,8 +124,7 @@ if (!err_desc) dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = k_write(out_fd, buf, len); @@ -284,8 +281,7 @@ if (open("/dev/null", O_WRONLY) != 5) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= DEFAULT_STRLEN; ++i) + for (unsigned int i = 0; i <= DEFAULT_STRLEN; ++i) test_dump(i, false); test_dump(256, true);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/readahead.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/readahead.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -62,14 +62,11 @@ int main(void) { - unsigned i; - unsigned j; - unsigned k; ssize_t rc; - for (i = 0; i < ARRAY_SIZE(fds); i++) - for (j = 0; j < ARRAY_SIZE(offsets); j++) - for (k = 0; k < ARRAY_SIZE(counts); k++) { + for (unsigned int i = 0; i < ARRAY_SIZE(fds); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(offsets); ++j) + for (unsigned int k = 0; k < ARRAY_SIZE(counts); ++k) { rc = readahead(fdsi, offsetsj, countsk); printf("readahead(%d, %lld, %lu) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/redirect-fds.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/redirect-fds.c
Changed
@@ -45,8 +45,8 @@ { assert(ac == 1 + N_FDS); - int rc = 0, fd; - for (fd = 1; fd < 1 + N_FDS; ++fd) + int rc = 0; + for (int fd = 1; fd < 1 + N_FDS; ++fd) if ((rc = check_fd(fd - 1, avfd))) break;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/request_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/request_key.c
Changed
@@ -53,11 +53,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_info = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -103,10 +98,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(infos); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(infos); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_request_key( typesi.type, typesi.str, descsj.desc, descsj.str,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/rt_sigsuspend.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/rt_sigsuspend.c
Changed
@@ -29,9 +29,7 @@ iterate(const char *const text, const int sig, const void *const set, unsigned int size) { - const void *mask; - - for (mask = set;; size >>= 1, mask += size) { + for (const void *mask = set;; size >>= 1, mask += size) { raise(sig); assert(k_sigsuspend(mask, size) == -1); if (EINTR == errno) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/s390_pci_mmio_read_write.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/s390_pci_mmio_read_write.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_pci_mmio_read and s390_pci_mmio_write syscalls. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -97,13 +97,16 @@ (kernel_ulong_t) 0xfacefeedac0ffeedULL, }; - unsigned int i, j, k, l; unsigned int ctr = 0; - for (i = 0; i < ARRAY_SIZE(addrs); i++) { - for (j = 0; j < ARRAY_SIZE(bufs); j++) { - for (k = 0; k < ARRAY_SIZE(sizes); k++) { - for (l = 0; l < ARRAY_SIZE(bools); l++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(addrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(bufs); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(sizes); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(bools); ++l) { bool valid = bufsj.buf && bufsj.size >= MIN(sizesk,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/s390_runtime_instr.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/s390_runtime_instr.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_runtime_instr syscall. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -42,16 +42,15 @@ { 63, "SIGRT_31" }, }; - unsigned int i; long rc; - for (i = 0; i < ARRAY_SIZE(cmd_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(cmd_args); ++i) { rc = syscall(__NR_s390_runtime_instr, cmd_argsi.cmd, 0xdead); printf("s390_runtime_instr(%s) = %s\n", cmd_argsi.cmd_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(start_sig_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(start_sig_args); ++i) { long saved_errno; rc = syscall(__NR_s390_runtime_instr, 1, start_sig_argsi.sig);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/s390_sthyi.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/s390_sthyi.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_sthyi syscall. * - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,7 +27,7 @@ # define VERBOSE 0 # endif -static inline bool +static bool print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -38,7 +38,8 @@ return true; } -static inline bool +# if VERBOSE +static bool print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -48,8 +49,9 @@ return true; } +# endif -static inline bool +static bool print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint16_t val = *(uint16_t *) (buf + offs); @@ -62,7 +64,7 @@ return true; } -static inline bool +static bool print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint32_t val = *(uint32_t *) (buf + offs); @@ -75,7 +77,7 @@ return true; } -static inline bool +static bool print_weight(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { @@ -94,7 +96,7 @@ return false; } -static inline char * +static char * ebcdic2ascii(unsigned char *ebcdic, size_t size) { static char ascii_bufEBCDIC_MAX_LEN; @@ -148,7 +150,8 @@ return ascii_buf; } -static inline bool +# if VERBOSE +static bool is_empty(unsigned char *ptr, size_t size) { size_t i; @@ -158,8 +161,9 @@ return i == size; } +# endif -static inline bool +static bool print_ebcdic(const char *prefix, unsigned char *addr, unsigned int offs, size_t size, bool zero, bool blank) { @@ -185,7 +189,8 @@ return true; } -static inline void +# if VERBOSE +static void print_funcs(unsigned char *addr, unsigned int offs) { bool cont; @@ -222,6 +227,7 @@ printf(" */"); } +# endif static void print_hypervisor_header(unsigned char *buf, int level, unsigned int offs_pos,
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sched.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sched.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr times -e/sched); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr 'times|times-.*' -e/sched); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr times -e/sched +test_trace_expr 'times|times-.*' -e/sched
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sched_xetaffinity.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sched_xetaffinity.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sched_getaffinity and sched_setaffinity syscalls. * * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -79,15 +79,43 @@ printf("sched_getaffinity(%d%s, %u, ", pid, pid_str, cpuset_size); const char *sep; unsigned int i, cpu; + unsigned int first_cpu = -1U; + unsigned int first_crop_cpu = -1U; for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; cpu = i; + if (first_cpu == -1U) + first_cpu = i; + if (first_crop_cpu == -1U && i >= 8) + first_crop_cpu = i; } } printf(") = %s\n", errstr); + long rc = setaffinity(pid, 0, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 0, ) = %s\n", + pid, pid_str, sprintrc(rc)); + + rc = setaffinity(pid, 1, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 1, %p) = %s\n", + pid, pid_str, ((char *) cpuset) + cpuset_size, sprintrc(rc)); + + static const uint8_t first_oob = BE_LE(SIZEOF_LONG == 4 ? 39 : 7, 56); + if (first_crop_cpu != -1U && first_crop_cpu < 56) { + CPU_ZERO_S(cpuset_size, cpuset); + CPU_SET_S(first_crop_cpu, cpuset_size, cpuset); + CPU_SET_S(first_oob, cpuset_size, cpuset); + if (setaffinity(pid, 7, cpuset)) + perror_msg_and_skip("sched_setaffinity()"); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 7, %u) = 0\n", + pid, pid_str, first_crop_cpu); + } + CPU_ZERO_S(cpuset_size, cpuset); CPU_SET_S(cpu, cpuset_size, cpuset); if (setaffinity(pid, cpuset_size, cpuset)) @@ -108,7 +136,7 @@ for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; } } printf(") = %s\n", errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/seccomp-filter-v.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp-filter-v.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -98,8 +98,7 @@ tprintf("seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=0, filter=})" " = -1 EINVAL (%m)\n"); - unsigned int i; - for (i = 0; i <= BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i <= BPF_MAXINSNS; ++i) { const struct sock_filter stmt = BPF_STMT(BPF_CLASS(i), i << 16); big_filteri = stmt; @@ -111,9 +110,11 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len); - for (i = 0; i < BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i < BPF_MAXINSNS; ++i) { if (i) tprintf(", "); switch (BPF_CLASS(i)) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/seccomp-filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp-filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -33,12 +33,14 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len, prog->filter, rc, errno2name()); - rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -32L, efault); + rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -64L, efault); printf("seccomp(SECCOMP_SET_MODE_FILTER, %s, %p) = %ld %s (%m)\n", - "0xffffffe0 /* SECCOMP_FILTER_FLAG_??? */", + "0xffffffc0 /* SECCOMP_FILTER_FLAG_??? */", efault, rc, errno2name()); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/seccomp-strict.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp-strict.c
Changed
@@ -24,7 +24,7 @@ long rc; rc = syscall(__NR_seccomp, -1L, -1L, addr); - printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %u, %#llx)" + printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %#x, %#llx)" " = %s\n", -1, -1, (unsigned long long) addr, sprintrc(rc)); fflush(stdout);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/seccomp_get_action_avail.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp_get_action_avail.c
Changed
@@ -34,7 +34,6 @@ kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL | SECCOMP_GET_ACTION_AVAIL; kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; - unsigned int i; struct { uint32_t val; @@ -51,7 +50,7 @@ { 0xffffffff, "0xffffffff /* SECCOMP_RET_??? */" } }; - for (i = 0; i < ARRAY_SIZE(actions); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(actions); ++i) { *act = actionsi.val; k_seccomp(op, flags, (uintptr_t) act); printf("seccomp(SECCOMP_GET_ACTION_AVAIL, 0, %s) = %s\n", @@ -72,7 +71,7 @@ flags |= 0xcafef00d; k_seccomp(op, flags, 0); - printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %u, NULL) = %s\n", + printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %#x, NULL) = %s\n", (unsigned int) flags, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp_get_notif_sizes-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "seccomp_get_notif_sizes.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp_get_notif_sizes-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=seccomp:retval=42 -etrace=seccomp -a42 "../seccomp_get_notif_sizes-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp_get_notif_sizes.c
Added
@@ -0,0 +1,97 @@ +/* + * Check decoding of seccomp SECCOMP_GET_NOTIF_SIZES. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#include <linux/seccomp.h> + +#ifndef SECCOMP_GET_NOTIF_SIZES +# define SECCOMP_GET_NOTIF_SIZES 3 +#endif + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char *errstr; + +static long +k_seccomp(const kernel_ulong_t op, const kernel_ulong_t flags, + const kernel_ulong_t args) +{ + const long rc = syscall(__NR_seccomp, op, flags, args); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + uint16_t *sizes = tail_alloc(sizeof(*sizes) * 3); + kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL + | SECCOMP_GET_NOTIF_SIZES; + kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; + long rc; + + rc = k_seccomp(op, flags | 0xdeadbeef, 0); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0xdeadbeef, NULL) = %s" + INJ_STR "\n", errstr); + + if (F8ILL_KULONG_SUPPORTED) { + rc = k_seccomp(op, flags, f8ill_ptr_to_kulong(0)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %#llx) = %s" + INJ_STR "\n", + (unsigned long long) f8ill_ptr_to_kulong(0), errstr); + } + + rc = k_seccomp(op, flags, (uintptr_t) (sizes + 1)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %p) = %s" INJ_STR "\n", + sizes + 1, errstr); + + for (size_t i = 0; i < 2; i++) { + sizes0 = 0xcafe; + sizes1 = 0xfeed; + sizes2 = 0xbeef; + rc = k_seccomp(op, flags | (i * 0xdeadc0de), (uintptr_t) sizes); + if (rc < 0 + && errno != ENOSYS && errno != EINVAL && errno != EPERM) { + perror_msg_and_fail("Unexpected seccomp(" + "SECCOMP_GET_NOTIF_SIZES) error"); + } + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, %s, ", + i ? "0xdeadc0de" : "0"); + if (rc >= 0) { + printf("{seccomp_notif=%hu, seccomp_notif_resp=%hu" + ", seccomp_data=%hu}", + (uint16_t) (INJECT_RETVAL ? 0xcafe : sizes0), + (uint16_t) (INJECT_RETVAL ? 0xfeed : sizes1), + (uint16_t) (INJECT_RETVAL ? 0xbeef : sizes2)); + } else { + printf("%p", sizes); + } + + printf(") = %s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/seccomp_get_notif_sizes.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=seccomp -a42
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/secontext.am -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/secontext.am
Changed
@@ -3,63 +3,131 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD)
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/secontext.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/secontext.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -13,18 +13,17 @@ # include <errno.h> # include <stdlib.h> # include <string.h> +# include <sys/stat.h> # include <unistd.h> # include <selinux/selinux.h> +# include <selinux/label.h> # include "xmalloc.h" # define TEST_SECONTEXT # include "secontext.h" -static char * -secontext_format(char *context, const char *fmt) - ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC; - +ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC static char * secontext_format(char *context, const char *fmt) { @@ -54,6 +53,79 @@ return context; } +char * +get_secontext_field(const char *full_context, enum secontext_field field) +{ + int saved_errno = errno; + + if (!full_context) + return NULL; + + char *saveptr = NULL; + const char *token; + unsigned int i; + + char *ctx_copy = xstrdup(full_context); + char *context = NULL; + for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; + token; token = strtok_r(NULL, ":", &saveptr), i++) { + if (i == field) { + context = xstrdup(token); + break; + } + } + if (!context) + context = xstrdup(full_context); + free(ctx_copy); + + errno = saved_errno; + return context; +} + +static char * +raw_expected_secontext_full_file(const char *filename) +{ + int saved_errno = errno; + char *secontext; + + static struct selabel_handle *hdl; + if (!hdl) { + hdl = selabel_open(SELABEL_CTX_FILE, NULL, 0); + if (!hdl) + perror_msg_and_skip("selabel_open"); + } + + char *resolved = realpath(filename, NULL); + if (!resolved) + perror_msg_and_fail("realpath: %s", filename); + + struct stat statbuf; + if (stat(resolved, &statbuf) < 0) + perror_msg_and_fail("stat: %s", resolved); + + if (selabel_lookup(hdl, &secontext, resolved, statbuf.st_mode) < 0) + perror_msg_and_skip("selabel_lookup: %s", resolved); + free(resolved); + + char *full_secontext = xstrdup(secontext); + freecon(secontext); + errno = saved_errno; + return full_secontext; +} + +static char * +raw_expected_secontext_short_file(const char *filename) +{ + int saved_errno = errno; + + char *ctx = raw_expected_secontext_full_file(filename); + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); + + errno = saved_errno; + return type; +} + static char * raw_secontext_full_file(const char *filename) { @@ -70,34 +142,50 @@ } static char * -raw_secontext_short_file(const char *filename) +raw_secontext_full_fd(int fd) { int saved_errno = errno; + char *full_secontext = NULL; + char *secontext; - char *ctx = raw_secontext_full_file(filename); - if (ctx == NULL) - return ctx; + if (fgetfilecon(fd, &secontext) >= 0) { + full_secontext = strip_trailing_newlines(xstrdup(secontext)); + freecon(secontext); + } + errno = saved_errno; + return full_secontext; +} - char *saveptr = NULL; - const char *token; - unsigned int i; +char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + char *ctx = raw_secontext_full_file(file); + char *type = get_secontext_field(ctx, field); + free(ctx); - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; - } - } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); + return type; +} + +char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + char *ctx = raw_secontext_full_fd(fd); + char *type = get_secontext_field(ctx, field); free(ctx); - errno = saved_errno; - return context; + return type; +} + +static char * +raw_secontext_short_file(const char *filename) +{ + return get_secontext_field_file(filename, SECONTEXT_TYPE); +} + +static char * +raw_secontext_short_fd(int fd) +{ + return get_secontext_field_fd(fd, SECONTEXT_TYPE); } static char * @@ -121,35 +209,39 @@ int saved_errno = errno; char *ctx = raw_secontext_full_pid(pid); - if (ctx == NULL) - return ctx; + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); - char *saveptr = NULL; - const char *token; - int i; + errno = saved_errno; + return type; +} - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; +char * +secontext_full_file(const char *filename, bool mismatch) +{ + int saved_errno = errno; + char *context = raw_secontext_full_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_full_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; } + free(expected); } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); - free(ctx); - errno = saved_errno; - return context; + return FORMAT_SPACE_BEFORE(context); } char * -secontext_full_file(const char *filename) +secontext_full_fd(int fd) { - return FORMAT_SPACE_BEFORE(raw_secontext_full_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_full_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -159,9 +251,31 @@ } char * -secontext_short_file(const char *filename) +secontext_short_file(const char *filename, bool mismatch) { - return FORMAT_SPACE_BEFORE(raw_secontext_short_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_short_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_short_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; + } + free(expected); + } + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); +} + +char * +secontext_short_fd(int fd) +{ + int saved_errno = errno; + char *context = raw_secontext_short_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -170,32 +284,46 @@ return FORMAT_SPACE_AFTER(raw_secontext_short_pid(pid)); } +void reset_secontext_file(const char *file) +{ + char *proper_ctx = raw_expected_secontext_full_file(file); + (void) setfilecon(file, proper_ctx); + free(proper_ctx); +} + void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { + int saved_errno = errno; + assert(field >= SECONTEXT_USER && field <= SECONTEXT_TYPE); + char *ctx = raw_secontext_full_file(file); if (ctx == NULL) return; char *saveptr = NULL; char *token; - int field; + int nfields; char *split4; - for (token = strtok_r(ctx, ":", &saveptr), field = 0; - token; token = strtok_r(NULL, ":", &saveptr), field++) { - assert(field < 4); - splitfield = token; + for (token = strtok_r(ctx, ":", &saveptr), nfields = 0; + token; token = strtok_r(NULL, ":", &saveptr), nfields++) { + assert(nfields < 4); + splitnfields = token; } - assert(field == 4); + assert(nfields == 4); + + splitfield = (char *)newvalue; char *newcontext = xasprintf("%s:%s:%s:%s", split0, split1, - newtype, split3); + split2, split3); (void) setfilecon(file, newcontext); free(newcontext); free(ctx); + errno = saved_errno; } #endif /* HAVE_SELINUX_RUNTIME */
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/secontext.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/secontext.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,35 +9,90 @@ #include "xmalloc.h" #include <unistd.h> -char *secontext_full_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_full_fd(int) ATTRIBUTE_MALLOC; +char *secontext_full_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_full_pid(pid_t) ATTRIBUTE_MALLOC; -char *secontext_short_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_short_fd(int) ATTRIBUTE_MALLOC; +char *secontext_short_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_short_pid(pid_t) ATTRIBUTE_MALLOC; +enum secontext_field { + SECONTEXT_USER, + SECONTEXT_ROLE, + SECONTEXT_TYPE +}; + #if defined TEST_SECONTEXT && defined HAVE_SELINUX_RUNTIME -void update_secontext_type(const char *file, const char *newtype); +/** + * Parse a SELinux context string and return a specified field, duplicated + * in a separate string. The caller is responsible for freeing the memory + * pointed by the returned value. + */ +char *get_secontext_field(const char *full_context, enum secontext_field field); + +char *get_secontext_field_fd(int fd, enum secontext_field field); +char *get_secontext_field_file(const char *file, enum secontext_field field); + +void reset_secontext_file(const char *file); + +void update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue); # ifdef PRINT_SECONTEXT_FULL -# define SECONTEXT_FILE(filename) secontext_full_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_full_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_full_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_full_fd(fd) # define SECONTEXT_PID(pid) secontext_full_pid(pid) # else -# define SECONTEXT_FILE(filename) secontext_short_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_short_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_short_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_short_fd(fd) # define SECONTEXT_PID(pid) secontext_short_pid(pid) # endif #else +static inline char * +get_secontext_field(const char *ctx, enum secontext_field field) +{ + return NULL; +} +static inline char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + return NULL; +} + +static inline char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + return NULL; +} + +static inline void +reset_secontext_file(const char *file) +{ +} + static inline void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { } +# define SECONTEXT_FD(fd) xstrdup("") # define SECONTEXT_FILE(filename) xstrdup("") # define SECONTEXT_PID(pid) xstrdup("")
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/segv_accerr.c
Added
@@ -0,0 +1,53 @@ +/* + * Check decoding of SEGV_ACCERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#ifdef SEGV_ACCERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig) +{ + _exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_NONE, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_handler = handler, + .sa_flags = SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + printf("--- SIGSEGV {si_signo=SIGSEGV" + ", si_code=SEGV_ACCERR, si_addr=%p} ---\n", p); + fflush(stdout); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_NONE page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("SEGV_ACCERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/segv_accerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_accerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/segv_pkuerr.c
Added
@@ -0,0 +1,55 @@ +/* + * Check decoding of SEGV_PKUERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#if defined HAVE_SIGINFO_T_SI_PKEY && defined SEGV_PKUERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig, siginfo_t *info, void *ucontext) +{ + if (info->si_code != SEGV_PKUERR) + error_msg_and_skip("SIGSEGV: si_code = %d", info->si_code); + + printf("--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_PKUERR" + ", si_addr=%p, si_pkey=%u} ---\n", + info->si_addr, info->si_pkey); + exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_EXEC, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_sigaction = handler, + .sa_flags = SA_SIGINFO | SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_EXEC page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("HAVE_SIGINFO_T_SI_PKEY && SEGV_PKUERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/segv_pkuerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_pkuerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/set_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/set_mempolicy.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of set_mempolicy syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -66,6 +66,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -80,9 +83,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" }, @@ -111,8 +114,7 @@ if (nlongs) { putc('', stdout); - unsigned int i; - for (i = 0; i < nlongs + offset; ++i) { + for (unsigned int i = 0; i < nlongs + offset; ++i) { if (i) fputs(", ", stdout); if (i < nlongs) { @@ -120,7 +122,7 @@ fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(long) * 2 + 2, + printf("%#0*lx", (int) sizeof(long) * 2, nodemaski); } else { printf("... /* %p */", nodemask + i);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/set_mempolicy_home_node.c
Added
@@ -0,0 +1,58 @@ +/* + * Check decoding of set_mempolicy_home_node syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +static const char *errstr; + +static long +sys_set_mempolicy_home_node(kernel_ulong_t start, kernel_ulong_t len, + kernel_ulong_t home_node, kernel_ulong_t flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = start; + kernel_ulong_t arg2 = len; + kernel_ulong_t arg3 = home_node; + kernel_ulong_t arg4 = flags; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_set_mempolicy_home_node, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +#define KUL_1 ((unsigned long long) (kernel_ulong_t) -1ULL) + +int +main(void) +{ + void *dummy; + + sys_set_mempolicy_home_node(0, 0, 0, 0); + printf("set_mempolicy_home_node(NULL, 0, 0, 0) = %s\n", errstr); + + sys_set_mempolicy_home_node((uintptr_t) &dummy, 1, 2, 3); + printf("set_mempolicy_home_node(%p, 1, 2, 0x3) = %s\n", &dummy, errstr); + + sys_set_mempolicy_home_node(-1, -2, -3, -4); + printf("set_mempolicy_home_node(%#llx, %llu, %llu, %#llx) = %s\n", + KUL_1, KUL_1 - 1, KUL_1 - 2, KUL_1 - 3, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/set_mempolicy_home_node.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (set_mempolicy_home_node -a39 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a39
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/setfsugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/setfsugid.c
Changed
@@ -37,9 +37,7 @@ (long) 0xfacefeeddeadbeefULL }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; unsigned int rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/setns.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/setns.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of setns syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,29 +14,50 @@ #include <stdio.h> #include <unistd.h> +static const char *errstr; + +static long +k_setns(const int fd, const unsigned int flags) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0x0defaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | (unsigned int) fd; + const kernel_ulong_t arg2 = fill | flags; + const long rc = syscall(__NR_setns, + arg1, arg2, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + int main(void) { - static const kernel_ulong_t bogus_fd = - (kernel_ulong_t) 0xfeedfacedeadc0deULL; + static const int bogus_fd = 0xdeadc0de; static struct { - kernel_ulong_t val; + unsigned int val; const char *str; } nstypes = { - { (kernel_ulong_t) 0xdefaced100000000ULL, "0" }, - { (kernel_ulong_t) 0xbadc0dedfeedfaceULL, - "0xfeedface /* CLONE_NEW??? */" }, - { (kernel_ulong_t) 0xca75f15702000000ULL, "CLONE_NEWCGROUP" }, + { 0, "0" }, + { 0x00000080U, "CLONE_NEWTIME" }, + { 0x00020000U, "CLONE_NEWNS" }, + { 0x02000000U, "CLONE_NEWCGROUP" }, + { 0x04000000U, "CLONE_NEWUTS" }, + { 0x08000000U, "CLONE_NEWIPC" }, + { 0x10000000U, "CLONE_NEWUSER" }, + { 0x20000000U, "CLONE_NEWPID" }, + { 0x40000000U, "CLONE_NEWNET" }, + { 0x81fdff7fU, "0x81fdff7f /* CLONE_NEW??? */" }, + { -1U, + "CLONE_NEWTIME|CLONE_NEWNS|CLONE_NEWCGROUP|CLONE_NEWUTS|" + "CLONE_NEWIPC|CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWNET|" + "0x81fdff7f" }, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(nstypes); i++) { - rc = syscall(__NR_setns, bogus_fd, nstypesi.val); + for (unsigned int i = 0; i < ARRAY_SIZE(nstypes); ++i) { + k_setns(bogus_fd, nstypesi.val); printf("setns(%d, %s) = %s\n", - (int) bogus_fd, nstypesi.str, sprintrc(rc)); + bogus_fd, nstypesi.str, errstr); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/setresugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/setresugid.c
Changed
@@ -56,9 +56,7 @@ TRIPLE(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e); const unsigned int sn = ugid2int(testsi.s);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/setreugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/setreugid.c
Changed
@@ -55,9 +55,7 @@ PAIR(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/setugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/setugid.c
Changed
@@ -36,9 +36,7 @@ -1L }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; long expected;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/siginfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/siginfo.c
Changed
@@ -2,7 +2,7 @@ * Check SIGCHLD siginfo_t decoding. * * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,12 @@ #include <unistd.h> #include <sys/wait.h> +#include "time_enjoyment.h" + +enum { + CPUTIME_LIMIT_NSEC = 100000000, +}; + static siginfo_t sinfo; static void @@ -26,6 +32,9 @@ int main(void) { + char utime_str64; + char stime_str64; + tprintf("%s", ""); int fds2; @@ -65,10 +74,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=%d" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, sinfo.si_status, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); int s; assert(wait(&s) == pid); @@ -84,6 +95,7 @@ (void) close(1); char c; assert(read(0, &c, sizeof(c)) == 1); + enjoy_time(CPUTIME_LIMIT_NSEC); (void) raise(SIGUSR1); return 1; } @@ -96,10 +108,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED" ", si_pid=%d, si_uid=%d, si_status=SIGUSR1" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid); assert(WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1); @@ -112,6 +126,7 @@ if (!pid) { (void) close(1); + enjoy_time(CPUTIME_LIMIT_NSEC); raise(SIGSTOP); char c; assert(read(0, &c, sizeof(c)) == 1); @@ -123,20 +138,24 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED" ", si_pid=%d, si_uid=%d, si_status=SIGSTOP" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(kill(pid, SIGCONT) == 0); sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_CONTINUED" ", si_pid=%d, si_uid=%d, si_status=SIGCONT" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(write(1, "", 1) == 1); (void) close(1); @@ -144,10 +163,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=0" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid && s == 0);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/so_error.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/so_error.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of SO_ERROR socket option. * * Copyright (c) 2018 Masatake YAMATO <yamato@redhat.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -47,58 +47,88 @@ int main(void) { - in_port_t port = reserve_ephemeral_port (); - - /* - * Connect to the reserved port in NONBLOCK mode. - * The port is reserved but not listened. So - * the client doing "connect" gets error asynchronously. - */ - int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); - if (fd < 0) - perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); - - int flag = fcntl(fd, F_GETFL); - if (flag < 0) - perror_msg_and_skip("fcntl F_GETFL"); - flag |= O_NONBLOCK; - if (fcntl(fd, F_SETFL, flag) < 0) - perror_msg_and_skip("fcntl F_SETFL"); + static const int sizes = { + -1, 0, 1, + sizeof(int) - 1, + sizeof(int), + sizeof(int) + 1, + }; - struct sockaddr_in addr = { + TAIL_ALLOC_OBJECT_CONST_PTR(int, sock_errno); + in_port_t port = reserve_ephemeral_port(); + const struct sockaddr_in addr = { .sin_family = AF_INET, .sin_addr.s_addr = htonl(INADDR_LOOPBACK), .sin_port = htons(port), }; - if (connect(fd, (void *) &addr, sizeof(addr)) == 0) - error_msg_and_skip("connect unexpectedly succeeded"); - if (errno != EINPROGRESS) - perror_msg_and_skip("connect failed for unexpected reason"); - struct timeval to = { - .tv_sec = 1, - .tv_usec = 0, - }; - fd_set wfds; - FD_ZERO(&wfds); - FD_SET(fd, &wfds); - if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) - perror_msg_and_skip("select"); + for (size_t i = 0; i < ARRAY_SIZE(sizes); i++) { + /* + * Connect to the reserved port in NONBLOCK mode. + * The port is reserved but not listened. So + * the client doing "connect" gets error asynchronously. + */ + int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); + + int flag = fcntl(fd, F_GETFL); + if (flag < 0) + perror_msg_and_skip("fcntl F_GETFL"); + flag |= O_NONBLOCK; + if (fcntl(fd, F_SETFL, flag) < 0) + perror_msg_and_skip("fcntl F_SETFL"); + + if (connect(fd, (void *) &addr, sizeof(addr)) == 0) + error_msg_and_skip("connect unexpectedly succeeded"); + if (errno != EINPROGRESS) + perror_msg_and_skip("connect failed for unexpected reason"); + + struct timeval to = { + .tv_sec = 1, + .tv_usec = 0, + }; + fd_set wfds; + FD_ZERO(&wfds); + FD_SET(fd, &wfds); + if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) + perror_msg_and_skip("select"); + + *sock_errno = 0xbadc0ded; + socklen_t optlen = sizesi; + long rc = getsockopt(fd, SOL_SOCKET, SO_ERROR, sock_errno, + &optlen); + const char *errstr = sprintrc(rc); + if (sizesi > 0 && rc < 0) + perror_msg_and_skip("getsockopt"); + if (sizesi >= (int) sizeof(*sock_errno) + && *sock_errno != ECONNREFUSED) { + errno = *sock_errno; + perror_msg_and_skip("unexpected socket error"); + } + if (sizesi >= (int) sizeof(*sock_errno) + && optlen != sizeof(*sock_errno)) { + error_msg_and_skip("unexpected data size for error" + " option: %d", optlen); + } + + printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ", fd); + if (sizesi <= 0) { + printf("%p, %d", sock_errno, sizesi); + } else if (sizesi < (int) sizeof(*sock_errno)) { + print_quoted_hex(sock_errno, sizesi); + printf(", %u", sizesi); + } else if (sizesi == sizeof(*sock_errno)) { + printf("ECONNREFUSED, %zu", sizeof(*sock_errno)); + } else { + printf("ECONNREFUSED, %u => %zu", + sizesi, sizeof(*sock_errno)); + } + printf(") = %s\n", errstr); - int sock_errno; - socklen_t optlen = sizeof(sock_errno); - if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &sock_errno, &optlen) < 0) - perror_msg_and_skip("getsockopt"); - if (sock_errno != ECONNREFUSED) { - errno = sock_errno; - perror_msg_and_skip("unexpected socket error"); + close(fd); } - if (optlen != sizeof(sock_errno)) - error_msg_and_skip("unexpected data size for error option: %d", - optlen); - printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ECONNREFUSED, %u) = 0\n", - fd, optlen); puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xabbrev-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xabbrev-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockaddr_xlat-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xabbrev -e trace=connect +run_strace_match_diff -Xabbrev -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xraw-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xraw-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockaddr_xlat-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xraw -e trace=connect +run_strace_match_diff -Xraw -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xverbose-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xverbose-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockaddr_xlat-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xverbose -e trace=connect +run_strace_match_diff -Xverbose -e trace=connect -a22
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockaddr_xlat.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockaddr_xlat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of sockaddr fields under xlat styles. * - * Copyright (c) 2015-2019 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/if_arp.h> #include <linux/if_ether.h> #include <linux/if_packet.h> +#include <linux/mctp.h> + #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -23,6 +25,167 @@ # include <bluetooth/sco.h> #endif +#ifdef HAVE_LINUX_RXRPC_H +# include <linux/rxrpc.h> +#else +struct sockaddr_rxrpc { + uint16_t srx_family; + uint16_t srx_service; + uint16_t transport_type; + uint16_t transport_len; + union { + uint16_t family; + struct sockaddr_in sin; + struct sockaddr_in6 sin6; + } transport; +}; +#endif + +/* From include/net/af_ieee802154.h */ +enum { + IEEE802154_ADDR_NONE = 0x0, + /* RESERVED = 0x01, */ + IEEE802154_ADDR_SHORT = 0x2, /* 16-bit address + PANid */ + IEEE802154_ADDR_LONG = 0x3, /* 64-bit address + PANid */ +}; + +/* address length, octets */ +#define IEEE802154_ADDR_LEN 8 + +struct ieee802154_addr_sa { + int addr_type; + uint16_t pan_id; + union { + uint8_t hwaddrIEEE802154_ADDR_LEN; + uint16_t short_addr; + }; +}; + +#define IEEE802154_PANID_BROADCAST 0xffff +#define IEEE802154_ADDR_BROADCAST 0xffff +#define IEEE802154_ADDR_UNDEF 0xfffe + +struct sockaddr_ieee802154 { + __kernel_sa_family_t family; /* AF_IEEE802154 */ + struct ieee802154_addr_sa addr; +}; +/* End of include/net/af_ieee802154.h copy-paste */ + +#ifdef HAVE_LINUX_IF_ALG_H +# include <linux/if_alg.h> +#else +struct sockaddr_alg { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name64; +}; +#endif + +#ifndef CRYPTO_ALG_KERN_DRIVER_ONLY +# define CRYPTO_ALG_KERN_DRIVER_ONLY 0x1000 +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_ALG_NEW +struct sockaddr_alg_new { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name; +}; +#endif + +#ifdef HAVE_LINUX_NFC_H +# include <linux/nfc.h> +#else +struct sockaddr_nfc { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; +}; + +# define NFC_LLCP_MAX_SERVICE_NAME 63 +struct sockaddr_nfc_llcp { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; + uint8_t dsap; + uint8_t ssap; + char service_nameNFC_LLCP_MAX_SERVICE_NAME; + size_t service_name_len; +}; +#endif + +#ifdef HAVE_LINUX_VM_SOCKETS_H +# include <linux/vm_sockets.h> +#endif + +#ifdef HAVE_STRUCT_SOCKADDR_VM +# ifdef HAVE_STRUCT_SOCKADDR_VM_SVM_FLAGS +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +# else +# define SVM_FLAGS svm_zero0 +# define SVM_ZERO svm_zero + 1 +# define SVM_ZERO_FIRST svm_zero1 +# endif +#else +struct sockaddr_vm { + uint16_t svm_family; + uint16_t svm_reserved1; + uint32_t svm_port; + uint32_t svm_cid; + uint8_t svm_flags; + uint8_t svm_zerosizeof(struct sockaddr) - 13; +}; +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +#endif + +#ifdef HAVE_LINUX_QRTR_H +# include <linux/qrtr.h> +#else +struct sockaddr_qrtr { + uint16_t sq_family; + uint32_t sq_node; + uint32_t sq_port; +}; +#endif + +#ifdef HAVE_LINUX_IF_XDP_H +# include <linux/if_xdp.h> +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_XDP +struct sockaddr_xdp { + uint16_t sxdp_family; + uint16_t sxdp_flags; + uint32_t sxdp_ifindex; + uint32_t sxdp_queue_id; + uint32_t sxdp_shared_umem_fd; +}; +#endif + +#include "xlat.h" +#include "xlat/addrfams.h" +#include "xlat/xdp_sockaddr_flags.h" + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif +#ifndef FD0_PATH +# define FD0_PATH "" +#endif +#ifndef FD7_PATH +# define FD7_PATH "" +#endif + static void check_ll(void) { @@ -256,9 +419,841 @@ } #endif /* HAVE_BLUETOOTH_BLUETOOTH_H */ +static void +check_rxrpc(void) +{ + static const struct { + struct sockaddr_rxrpc sa; + const char *str; + } rxrpc_vecs = { + { { AF_RXRPC }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0" NRAW(" /* ???_SERVICE */") + ", transport_type=0" NRAW(" /* SOCK_??? */") + ", transport_len=0, transport=" + "{family=" XLAT_KNOWN(AF_UNSPEC, "AF_UNSPEC") "}}" }, + { { AF_RXRPC, .srx_service = 1, .transport_type = 1, + .transport_len = 42, .transport = { .family = 1 } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x1" NRAW(" /* CM_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x1, "SOCK_DGRAM") +#else + XLAT_KNOWN(0x1, "SOCK_STREAM") +#endif + ", transport_len=42, transport={family=" + XLAT_KNOWN(0x1, "AF_UNIX") ", \"\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}}" }, + { { AF_RXRPC, .srx_service = 2, .transport_type = 2, + .transport_len = 5, + .transport = { .sin = { 1, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x2" NRAW(" /* ???_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x2, "SOCK_STREAM") +#else + XLAT_KNOWN(0x2, "SOCK_DGRAM") +#endif + ", transport_len=5, transport=" + "{family=" XLAT_KNOWN(0x1, "AF_UNIX") ", \"" + BE_LE("\\336\\255", "\\255\\336") BE_LE("\\372", "\\355") + "\"}}" }, + { { AF_RXRPC, .srx_service = 2500, .transport_type = 3, + .transport_len = 7, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c4" NRAW(" /* YFS_FS_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x3, "SOCK_RAW") + ", transport_len=7, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\372\\316\\376", "\\355\\376\\316") "\"}}}" }, + { { AF_RXRPC, .srx_service = 2501, .transport_type = 4, + .transport_len = 16, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c5" NRAW(" /* YFS_CM_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x4, "SOCK_RDM") + ", transport_len=16, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", sin_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin_addr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa") "\"", + "inet_addr(\"" BE_LE("250.206.254.237", + "237.254.206.250") "\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2502, .transport_type = 5, + .transport_len = 20, + .transport = { .sin = { 2, BE16(0xdead), + { BE32(0xfacefeed) }, "OH HAI" } } + }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c6" NRAW(" /* ???_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x5, "SOCK_SEQPACKET") + ", transport_len=20, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") + ", sin_port=" XLAT_KNOWN_FMT("\"\\xde\\xad\"", "htons(57005)") + ", sin_addr=" + XLAT_KNOWN_FMT("\"\\xfa\\xce\\xfe\\xed\"", + "inet_addr(\"250.206.254.237\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2503, .transport_type = 6, + .transport_len = 23, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c7" NRAW(" /* YFS_VL_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x6, "SOCK_DCCP") + ", transport_len=23, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\312\\376\\372\\316", "\\316\\372\\376\\312") + "OH HAI THAR!\\0\\0\\0\"}}}" }, + { { AF_RXRPC, .srx_service = 2504, .transport_type = 7, + .transport_len = 24, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c8" NRAW(" /* ???_SERVICE */") + ", transport_type=0x7" NRAW(" /* SOCK_??? */") + ", transport_len=24, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") + ", sin6_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin6_flowinfo=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xca\\xfe\\xfa\\xce", + "\\xce\\xfa\\xfe\\xca") "\"", + "htonl(" BE_LE("3405707982", "3472555722") ")") + ", " XLAT_KNOWN_FMT("sin6_addr=" + "\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54" + "\\x48\\x41\\x52\\x21\\x00\\x00\\x00\\x0f\"", + "inet_pton(AF_INET6, \"4f48:2048:4149:2054" + ":4841:5221:0:f\"" NVERB(", &sin6_addr") ")") + "}}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_rxrpc, sa_rxrpc); + int rc; + + fill_memory(sa_rxrpc, sizeof(*sa_rxrpc)); + sa_rxrpc->srx_family = AF_RXRPC; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", sa_data="); + print_quoted_memory((void *) sa_rxrpc + sizeof(sa_rxrpc->srx_family), + sizeof(*sa_rxrpc) - sizeof(sa_rxrpc->srx_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_rxrpc) - 1, errstr); + + static const uint8_t skip_af = { AF_INET, AF_INET6 }; + size_t skip_pos = 0; + for (size_t i = 0; i < 512; i++) { + if (skip_pos < ARRAY_SIZE(skip_af) && skip_afskip_pos == i) { + ++skip_pos; + continue; + } + + sa_rxrpc->transport.family = i; + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=%#x" NRAW(" /* ???_SERVICE */") + ", transport_type=%#x" NRAW(" /* SOCK_??? */") + ", transport_len=%u" + ", transport={family=%s, ", + sa_rxrpc->srx_service, sa_rxrpc->transport_type, + sa_rxrpc->transport_len, + sprintxval(addrfams, sa_rxrpc->transport.family, + "AF_???")); + const size_t offs = offsetofend(struct sockaddr_rxrpc, + transport.family); + print_quoted_memory((char *) sa_rxrpc + offs, + sizeof(*sa_rxrpc) - offs); + printf("}}, %zu) = %s\n", sizeof(*sa_rxrpc), errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(rxrpc_vecs); i++) { + *sa_rxrpc = rxrpc_vecsi.sa; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + printf("connect(-1, %s, %zu) = %s\n", + rxrpc_vecsi.str, sizeof(*sa_rxrpc), sprintrc(rc)); + } +} + +static void +check_ieee802154(void) +{ + static const struct { + struct sockaddr_ieee802154 sa; + const char *str; + } ieee802154_vecs = { + { { AF_IEEE802154 }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0" NRAW(" /* IEEE802154_ADDR_NONE */") + ", pan_id=0}}" }, + { { AF_IEEE802154, { .addr_type = 1, .pan_id = 1 } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x1" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0x1, hwaddr=" + XLAT_KNOWN_FMT("\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "00:00:00:00:00:00:00:00") "}}" }, + { { AF_IEEE802154, { .addr_type = 4, .pan_id = 0xcafe, + { .short_addr = 0xfeed } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x4" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0xcafe, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfe\\xed", "\\xed\\xfe") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("fe:ed", "ed:fe") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xfffe } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xfffe, short_addr=0}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xffff, + { .hwaddr = "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xffff" NRAW(" /* IEEE802154_PANID_BROADCAST */") + ", short_addr=" BE_LE("0xf8f9", "0xf9f8") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffd } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffd}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffe } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffe" + NRAW(" /* IEEE802154_ADDR_UNDEF */") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xffff } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xffff" + NRAW(" /* IEEE802154_ADDR_BROADCAST */") "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0xface, + { .short_addr = 0xdead } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0xface, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("de:ad", "ad:de") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0, + { .hwaddr = "Oh Hai!" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0, hwaddr=" + XLAT_KNOWN_FMT("\"\\x4f\\x68\\x20\\x48\\x61\\x69\\x21\\x00\"", + "4f:68:20:48:61:69:21:00") "}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_ieee802154, sa_ieee802154); + int rc; + + fill_memory(sa_ieee802154, sizeof(*sa_ieee802154)); + sa_ieee802154->family = AF_IEEE802154; + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1, + sprintrc(rc)); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", sa_data="); + print_quoted_memory((void *) sa_ieee802154 + + sizeof(sa_ieee802154->family), + sizeof(*sa_ieee802154) + - sizeof(sa_ieee802154->family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_ieee802154) - 1, errstr); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=%#x" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=%#hx, hwaddr=", + sa_ieee802154->addr.addr_type, sa_ieee802154->addr.pan_id); +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(sa_ieee802154->addr.hwaddr, + sizeof(sa_ieee802154->addr.hwaddr)); +#endif +#if !XLAT_RAW + printf(VERB(" /* ") "%02hhx:%02hhx:%02hhx:%02hhx" + ":%02hhx:%02hhx:%02hhx:%02hhx" VERB(" */"), + sa_ieee802154->addr.hwaddr0, sa_ieee802154->addr.hwaddr1, + sa_ieee802154->addr.hwaddr2, sa_ieee802154->addr.hwaddr3, + sa_ieee802154->addr.hwaddr4, sa_ieee802154->addr.hwaddr5, + sa_ieee802154->addr.hwaddr6, sa_ieee802154->addr.hwaddr7); +#endif + printf("}}, %zu) = %s\n", sizeof(*sa_ieee802154), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ieee802154_vecs); i++) { + *sa_ieee802154 = ieee802154_vecsi.sa; + + rc = connect(-1, (void *) sa_ieee802154, + sizeof(*sa_ieee802154)); + printf("connect(-1, %s, %zu) = %s\n", + ieee802154_vecsi.str, sizeof(*sa_ieee802154), + sprintrc(rc)); + } +} + +static void +check_alg(void) +{ + static const struct { + struct sockaddr_alg sa; + const char *str; + const char *str8; + const char *str64; + } alg_vecs = { + { { AF_ALG }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0, salg_mask=0, salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_feat = CRYPTO_ALG_KERN_DRIVER_ONLY, + .salg_mask = CRYPTO_ALG_KERN_DRIVER_ONLY }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_mask=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_type = "OH HAI\1\n\377\\\"\0\t\v", + .salg_feat = 0xdeadcafe, .salg_mask = 0xbeefaead, + .salg_name = "1234567890abcdef1234567890ABCEF\1\2\3\4\5\6\7" + "\x08\x09\0\x0A\x0B\x0C\x0D\x0E\x0F" }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type=\"OH HAI\\1\\n\\377\\\\\\\"\"" + ", salg_feat=0xdeadcafe" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_mask=0xbeefaead" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_name=\"1234567", "\"...}", + "890abcdef1234567890ABCEF\\1\\2\\3\\4\\5\\6\\7\\10\\t\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_alg, sa_alg); + int rc; + + fill_memory(sa_alg, sizeof(*sa_alg)); + sa_alg->salg_family = AF_ALG; + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_alg, sizeof(*sa_alg) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new)); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", sa_data="); + print_quoted_memory((void *) sa_alg + sizeof(sa_alg->salg_family), + sizeof(struct sockaddr_alg_new) + - sizeof(sa_alg->salg_family)); + printf("}, %zu) = %s\n", sizeof(struct sockaddr_alg_new), errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new) + 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=\"\"...}, %zu) = %s\n", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask, +#if !XLAT_RAW + sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sizeof(struct sockaddr_alg_new) + 1, errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) - 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask +#if !XLAT_RAW + , sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY +#endif + ); + print_quoted_stringn((const char *) sa_alg->salg_name, + sizeof(sa_alg->salg_name) - 2); + printf("}, %zu) = %s\n", sizeof(*sa_alg) - 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(alg_vecs); i++) { + *sa_alg = alg_vecsi.sa; + + for (size_t j = 0; j < 2; j++) { + rc = connect(-1, (void *) sa_alg, + sizeof(struct sockaddr_alg_new) + + (j ? 64 : 8)); + printf("connect(-1, %s%s, %zu) = %s\n", + alg_vecsi.str, + j ? alg_vecsi.str64 : alg_vecsi.str8, + sizeof(struct sockaddr_alg_new) + (j ? 64 : 8), + sprintrc(rc)); + } + } +} + +static void +check_nfc(void) +{ + const struct { + struct sockaddr_nfc sa; + const char *str; + } nfc_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + "}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 1, + .nfc_protocol = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x1" + ", nfc_protocol=" XLAT_KNOWN(0x1, "NFC_PROTO_JEWEL") "}" }, + { { AF_NFC, .dev_idx = 0xcafebeef, .target_idx = 0xdeadface, + .nfc_protocol = 0xfeedbabe }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405692655, target_idx=0xdeadface" + ", nfc_protocol=0xfeedbabe" NRAW(" /* NFC_PROTO_??? */") + "}" }, + }; + const struct { + struct sockaddr_nfc_llcp sa; + const char *str; + } nfc_llcp_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0, ssap=0, service_name=\"\", service_name_len=0}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 0x42, + .nfc_protocol = 7, .dsap = 1, .ssap = 5, + .service_name_len = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x42" + ", nfc_protocol=" XLAT_KNOWN(0x7, "NFC_PROTO_ISO15693") + ", dsap=0x1" NRAW(" /* LLCP_SAP_SDP */") + ", ssap=0x5, service_name=\"\\0\", service_name_len=1}" }, + { { AF_NFC, .dev_idx = 0xcafed1ce, .target_idx = 0x42, + .nfc_protocol = 8, .dsap = 42, .ssap = 0xff, + .service_name="OH HAI THAR\0EHLO\n\t\v\f'\"\\\177\333", + .service_name_len = 42 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405697486, target_idx=0x42" + ", nfc_protocol=0x8" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0x2a, ssap=0xff" NRAW(" /* LLCP_SAP_MAX */") + ", service_name=\"OH HAI THAR\\0EHLO\\n\\t\\v\\f'\\\"" + "\\\\\\177\\333\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\", service_name_len=42}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc, sa_nfc); + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc_llcp, sa_nfc_llcp); + int rc; + + fill_memory(sa_nfc, sizeof(*sa_nfc)); + sa_nfc->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc, sizeof(*sa_nfc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", sa_data="); + print_quoted_memory((void *) sa_nfc + sizeof(sa_nfc->sa_family), + sizeof(*sa_nfc) - sizeof(sa_nfc->sa_family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_nfc) - 1, errstr); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "}, %zu) = %s\n", + sa_nfc->dev_idx, sa_nfc->target_idx, sa_nfc->nfc_protocol, + sizeof(*sa_nfc), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_vecs); i++) { + *sa_nfc = nfc_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_vecsi.str, sizeof(*sa_nfc), sprintrc(rc)); + } + + fill_memory(sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + sa_nfc_llcp->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1, sprintrc(rc)); + + for (size_t i = 0; i < 3; i++) { + size_t sz = i ? i == 2 ? sizeof(*sa_nfc_llcp) - 1 + : sizeof(struct sockaddr_nfc) + 1 + : sizeof(struct sockaddr_nfc); + + rc = connect(-1, (void *) sa_nfc_llcp, sz); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "%s}, %zu) = %s\n", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, i ? ", ..." : "", sz, errstr); + } + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") ", dsap=%#hhx, ssap=%#hhx" + ", service_name=", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, sa_nfc_llcp->dsap, sa_nfc_llcp->ssap); + print_quoted_memory(sa_nfc_llcp->service_name, + sizeof(sa_nfc_llcp->service_name)); + printf(", service_name_len=%zu}, %zu) = %s\n", + sa_nfc_llcp->service_name_len, sizeof(*sa_nfc_llcp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_llcp_vecs); i++) { + *sa_nfc_llcp = nfc_llcp_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_llcp_vecsi.str, sizeof(*sa_nfc_llcp), + sprintrc(rc)); + } +} + +static void +check_vsock(void) +{ + static const struct { + struct sockaddr_vm sa; + const char *str; + } vsock_vecs = { + { { AF_VSOCK }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0, "VMADDR_CID_HYPERVISOR") + ", svm_port=0, svm_flags=0}" }, + { { AF_VSOCK, .svm_cid = 1, .svm_port = 1, .SVM_FLAGS = 1 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0x1, "VMADDR_CID_LOCAL") + ", svm_port=0x1" + ", svm_flags=" XLAT_KNOWN(0x1, "VMADDR_FLAG_TO_HOST") "}" }, + { { AF_VSOCK, .svm_reserved1 = 0xdead, .svm_cid = 2, + .svm_port = 0xfacebeef, .SVM_FLAGS = 2, }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0xdead" + ", svm_cid=" XLAT_KNOWN(0x2, "VMADDR_CID_HOST") + ", svm_port=0xfacebeef" + ", svm_flags=" XLAT_UNKNOWN(0x2, "VMADDR_FLAG_???") "}" }, + { { AF_VSOCK, .svm_cid = 3, + .svm_port = 0xfffffffe, .SVM_FLAGS = 0xef, + .SVM_ZERO_FIRST = 0x42 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=0x3, svm_port=0xfffffffe, svm_flags=" + XLAT_KNOWN(0xef, "VMADDR_FLAG_TO_HOST|0xee") + ", svm_zero=\"\\x42\\x00\\x00\"}" }, + { { AF_VSOCK, .svm_reserved1 = 0x1, .svm_cid = -1U, + .svm_port = -1U, .SVM_FLAGS = 0xfe, + .SVM_ZERO_FIRST = 0xae }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0x1" + ", svm_cid=" XLAT_KNOWN(0xffffffff, "VMADDR_CID_ANY") + ", svm_port=" XLAT_KNOWN(0xffffffff, "VMADDR_PORT_ANY") + ", svm_flags=" XLAT_UNKNOWN(0xfe, "VMADDR_FLAG_???") + ", svm_zero=\"\\xae\\x00\\x00\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_vm, sa_vm); + int rc; + + fill_memory(sa_vm, sizeof(*sa_vm)); + sa_vm->svm_family = AF_VSOCK; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_vm, sizeof(*sa_vm) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", sa_data="); + print_quoted_memory((void *) sa_vm + sizeof(sa_vm->svm_family), + sizeof(*sa_vm) - sizeof(sa_vm->svm_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_vm) - 1, errstr); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=%#x, svm_cid=%#x, svm_port=%#x, svm_flags=%#x" + NRAW(" /* VMADDR_FLAG_??? */") ", svm_zero=", + sa_vm->svm_reserved1, sa_vm->svm_cid, sa_vm->svm_port, + sa_vm->SVM_FLAGS); + print_quoted_hex(sa_vm->SVM_ZERO, + (uint8_t *) sa_vm + sizeof(*sa_vm) + - (sa_vm->SVM_ZERO)); + printf("}, %zu) = %s\n", sizeof(*sa_vm), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(vsock_vecs); i++) { + *sa_vm = vsock_vecsi.sa; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + printf("connect(-1, %s, %zu) = %s\n", + vsock_vecsi.str, sizeof(*sa_vm), sprintrc(rc)); + } +} + +static void +check_qrtr(void) +{ + static const struct { + struct sockaddr_qrtr sa; + const char *str; + } qrtr_vecs = { + { { AF_QIPCRTR }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0}" }, + { { AF_QIPCRTR, .sq_node = 0xdeadface }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xdeadface, sq_port=0}" }, + { { AF_QIPCRTR, .sq_port = 0xdeedfade }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0xdeedfade}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffd, .sq_port = 0xfffffffd }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffd, sq_port=0xfffffffd}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffe, .sq_port = 0xfffffffe }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffe, sq_port=" + XLAT_KNOWN(0xfffffffe, "QRTR_PORT_CTRL") "}" }, + { { AF_QIPCRTR, .sq_node = 0xffffffff, .sq_port = 0xffffffff }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=" XLAT_KNOWN(0xffffffff, "QRTR_NODE_BCAST") + ", sq_port=0xffffffff}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_qrtr, sa_qrtr); + int rc; + + fill_memory(sa_qrtr, sizeof(*sa_qrtr)); + sa_qrtr->sq_family = AF_QIPCRTR; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_qrtr, sizeof(*sa_qrtr) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sa_data="); + print_quoted_memory((void *) sa_qrtr + sizeof(sa_qrtr->sq_family), + sizeof(*sa_qrtr) - sizeof(sa_qrtr->sq_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_qrtr) - 1, errstr); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=%#x, sq_port=%#x}, %zu) = %s\n", + sa_qrtr->sq_node, sa_qrtr->sq_port, sizeof(*sa_qrtr), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(qrtr_vecs); i++) { + *sa_qrtr = qrtr_vecsi.sa; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + printf("connect(-1, %s, %zu) = %s\n", + qrtr_vecsi.str, sizeof(*sa_qrtr), sprintrc(rc)); + } +} + +static void +check_xdp(void) +{ + const struct { + struct sockaddr_xdp sa; + const char *str; + } xdp_vecs = { + { { AF_XDP }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=0, sxdp_ifindex=0, sxdp_queue_id=0}" }, + { { AF_XDP, XDP_SHARED_UMEM }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=" XLAT_KNOWN(0x1, "XDP_SHARED_UMEM") + ", sxdp_ifindex=0, sxdp_queue_id=0" + ", sxdp_shared_umem_fd=0" FD0_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xdead, + .sxdp_ifindex = ifindex_lo(), + .sxdp_queue_id = 0xfacebeef, + .sxdp_shared_umem_fd = 7 }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=" + XLAT_KNOWN(0xdead, "XDP_SHARED_UMEM|XDP_ZEROCOPY" + "|XDP_USE_NEED_WAKEUP|0xdea0") + ", sxdp_ifindex=" XLAT_KNOWN(1, IFINDEX_LO_STR) + ", sxdp_queue_id=4207853295" + ", sxdp_shared_umem_fd=7" FD7_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xbad0, + .sxdp_ifindex = 0xcafefade, + .sxdp_queue_id = 0xba5ed, + .sxdp_shared_umem_fd = 0xfeedbead }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=0xbad0" + NRAW(" /* XDP_??? */") ", sxdp_ifindex=3405707998" + ", sxdp_queue_id=763373, sxdp_shared_umem_fd=0xfeedbead}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_xdp, sa_xdp); + int rc; + + fill_memory(sa_xdp, sizeof(*sa_xdp)); + sa_xdp->sxdp_family = AF_XDP; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_xdp, sizeof(*sa_xdp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sa_data="); + print_quoted_memory((void *) sa_xdp + sizeof(sa_xdp->sxdp_family), + sizeof(*sa_xdp) - sizeof(sa_xdp->sxdp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_xdp) - 1, errstr); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags="); +#if XLAT_RAW || XLAT_VERBOSE + printf("%#x" VERB(" /* "), sa_xdp->sxdp_flags); +#endif +#if !XLAT_RAW + printflags(xdp_sockaddr_flags, sa_xdp->sxdp_flags, "XDP_???"); +#endif + printf(VERB(" */") ", sxdp_ifindex=%u, sxdp_queue_id=%u" + ", sxdp_shared_umem_fd=" BE_LE("%d", "%#x") "}, %zu) = %s\n", + sa_xdp->sxdp_ifindex, sa_xdp->sxdp_queue_id, + sa_xdp->sxdp_shared_umem_fd, sizeof(*sa_xdp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(xdp_vecs); i++) { + *sa_xdp = xdp_vecsi.sa; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + printf("connect(-1, %s, %zu) = %s\n", + xdp_vecsi.str, sizeof(*sa_xdp), sprintrc(rc)); + } +} + +static void +check_mctp(void) +{ + static const struct { + struct sockaddr_mctp sa; + const char *str; + } mctp_vecs = { + { { AF_MCTP }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .__smctp_pad0 = 0xdead, + .smctp_network = MCTP_NET_ANY, + .smctp_addr = { .s_addr = MCTP_ADDR_NULL } }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xdead" + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .smctp_network = -1234567890, + .smctp_addr = { .s_addr = MCTP_ADDR_ANY }, + .smctp_type = 1, .smctp_tag = 8, .__smctp_pad1 = 0xea }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=0xb669fd2e" + ", smctp_addr={s_addr=" XLAT_KNOWN(0xff, "MCTP_ADDR_ANY") "}" + ", smctp_type=0x1, smctp_tag=0x8, __smctp_pad1=0xea}" }, + { { AF_MCTP, .__smctp_pad0 = 0xface, + .smctp_network = 2134567890, + .smctp_addr = { .s_addr = 0x42 }, + .smctp_type = 0x23, .smctp_tag = 0x69, + .__smctp_pad1= 0xda }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xface, smctp_network=0x7f3aebd2" + ", smctp_addr={s_addr=0x42}, smctp_type=0x23" + ", smctp_tag=0x69, __smctp_pad1=0xda}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_mctp, sa_mctp); + int rc; + + fill_memory(sa_mctp, sizeof(*sa_mctp)); + sa_mctp->smctp_family = AF_MCTP; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_mctp, sizeof(*sa_mctp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", sa_data="); + print_quoted_memory((void *) sa_mctp + sizeof(sa_mctp->smctp_family), + sizeof(*sa_mctp) - sizeof(sa_mctp->smctp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_mctp) - 1, errstr); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=%#hx, smctp_network=%#x" + ", smctp_addr={s_addr=%#hhx}, smctp_type=%#hhx, smctp_tag=%#hhx" + ", __smctp_pad1=%#hhx}, %zu) = %s\n", + sa_mctp->__smctp_pad0, sa_mctp->smctp_network, + sa_mctp->smctp_addr.s_addr, sa_mctp->smctp_type, + sa_mctp->smctp_tag, sa_mctp->__smctp_pad1, sizeof(*sa_mctp), + sprintrc(rc)); + + for (size_t i = 0; i < ARRAY_SIZE(mctp_vecs); i++) { + *sa_mctp = mctp_vecsi.sa; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, %s, %zu) = %s\n", + mctp_vecsi.str, sizeof(*sa_mctp), sprintrc(rc)); + } +} + int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + check_ll(); check_in(); check_in6(); @@ -266,6 +1261,15 @@ check_sco(); check_rc(); #endif + check_rxrpc(); + check_ieee802154(); + check_alg(); + check_nfc(); + check_vsock(); + check_qrtr(); + check_xdp(); + check_mctp(); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/socketcall.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/socketcall.c
Changed
@@ -59,8 +59,7 @@ const unsigned long *const args = tail_alloc(sizeof(*args) * 6); efault = tail_alloc(1) + 1; - int i; - for (i = sc_min - 3; i <= sc_max + 3; ++i) { + for (int i = sc_min - 3; i <= sc_max + 3; ++i) { test_socketcall(i, efault); test_socketcall(i, args); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockname.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockname.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockname family syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,8 @@ #include <sys/socket.h> #include <sys/un.h> +#include "secontext.h" + #ifndef TEST_SYSCALL_NAME # error TEST_SYSCALL_NAME must be defined #endif @@ -59,14 +61,19 @@ *plen = sizeof(struct sockaddr_un); struct sockaddr_un *addr = tail_alloc(*plen); + char *my_secontext = SECONTEXT_PID_MY(); + char *fd_secontext = SECONTEXT_FD(fd); + PREPARE_TEST_SYSCALL_INVOCATION; int rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, (void *) addr, plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) sizeof(struct sockaddr_un), (int) *plen, SUFFIX_STR, rc); memset(addr, 0, sizeof(*addr)); @@ -75,28 +82,34 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, 0 SUFFIX_ARGS); - printf("%s(%d%s, %p, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, - sprintrc(rc)); + printf("%s%s(%d%s%s, %p, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, + addr, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, 0, 0 SUFFIX_ARGS); - printf("%s(%d%s, NULL, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, + printf("%s%s(%d%s%s, NULL, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, + rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen + 1 SUFFIX_ARGS); - printf("%s(%d%s, %p, %p%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %p%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, plen + 1, SUFFIX_STR, sprintrc(rc)); const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); @@ -108,8 +121,9 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + printf("%s%s(%d%s%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); ++addr; @@ -121,17 +135,19 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) (sizeof(struct sockaddr) - offsetof_sun_path), - addr->sun_path, (int) sizeof(struct sockaddr), - (int) *plen, SUFFIX_STR, rc); + addr->sun_path, SECONTEXT_FILE(addr->sun_path), + (int) sizeof(struct sockaddr), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen SUFFIX_ARGS); - printf("%s(%d%s, %p, %d%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %d%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, *plen, SUFFIX_STR, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sockopt-sol_netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_netlink.c
Changed
@@ -82,9 +82,8 @@ int fd = socket(AF_NETLINK, SOCK_RAW, 0); if (fd < 0) perror_msg_and_skip("socket AF_NETLINK SOCK_RAW"); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(names); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(names); ++i) { /* getsockopt */ /* classic */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xraw -a32
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev "../sockopt-sol_socket-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 "../sockopt-sol_socket-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose "../sockopt-sol_socket-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt "../sockopt-sol_socket-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket.c
Added
@@ -0,0 +1,319 @@ +/* + * Check decoding of getsockopt and setsockopt for SOL_SOCKET level. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/socket.h> +#include <sys/un.h> + +#define XLAT_MACROS_ONLY +# include "xlat/sock_options.h" +#undef XLAT_MACROS_ONLY + +#ifdef INJECT_RETVAL +# define INJSTR " (INJECTED)" +#else +# define INJSTR "" +#endif + +static int rc; +static const char *errstr; + +struct intstr { + int val; + const char *str; +}; + +static int +get_sockopt(int fd, int name, void *val, socklen_t *len) +{ + rc = getsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static int +set_sockopt(int fd, int name, void *val, socklen_t len) +{ + rc = setsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static void +print_optval(int val, const struct intstr *vecs, size_t vecs_sz) +{ + for (size_t k = 0; k < vecs_sz; k++) { + if (vecsk.val == val) { + printf("%s", vecsk.str); + return; + } + } + + printf("%d", val); +} + +int +main(void) +{ + static const struct intstr int_vecs = { + { ARG_STR(0) }, + { ARG_STR(1) }, + { ARG_STR(1234567890) }, + { ARG_STR(-1234567890) }, + }; + static const struct intstr txrehash_vecs = { + { ARG_XLAT_KNOWN(0, "SOCK_TXREHASH_DISABLED") }, + { ARG_XLAT_KNOWN(1, "SOCK_TXREHASH_ENABLED") }, + { ARG_XLAT_UNKNOWN(2, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(254, "SOCK_TXREHASH_???") }, + { ARG_XLAT_KNOWN(255, "SOCK_TXREHASH_DEFAULT") }, + { ARG_XLAT_UNKNOWN(256, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(511, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(-1, "SOCK_TXREHASH_???") }, + }; + static const struct { + int val; + const char *str; + const struct intstr *const vecs; + size_t vecs_sz; + size_t optsz; + } names = { + { ARG_STR(SO_DEBUG), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEADDR), .optsz = sizeof(int) }, + { ARG_STR(SO_TYPE), /* TODO */ }, + /* SO_ERROR - see so_error test */ + { ARG_STR(SO_DONTROUTE), .optsz = sizeof(int) }, + { ARG_STR(SO_BROADCAST), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_KEEPALIVE), .optsz = sizeof(int) }, + { ARG_STR(SO_OOBINLINE), .optsz = sizeof(int) }, + { ARG_STR(SO_NO_CHECK), .optsz = sizeof(int) }, + { ARG_STR(SO_PRIORITY), .optsz = sizeof(int) }, + /* SO_LINGER - see so_linger test */ + { ARG_STR(SO_BSDCOMPAT), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEPORT), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSCRED), .optsz = sizeof(int) }, + /* SO_PEERCRED - see so_peercred test */ + { ARG_STR(SO_RCVLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SECURITY_AUTHENTICATION) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_TRANSPORT) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_NETWORK) }, + /* TODO: SO_BINDTODEVICE */ + { ARG_STR(SO_DETACH_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERNAME), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_ACCEPTCONN), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERSEC), /* TODO */ }, + { ARG_STR(SO_SNDBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSSEC), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_MARK), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_PROTOCOL), /* TODO */ }, + { ARG_STR(SO_DOMAIN), /* TODO */ }, + { ARG_STR(SO_RXQ_OVFL), .optsz = sizeof(int) }, + { ARG_STR(SO_WIFI_STATUS), .optsz = sizeof(int) }, + { ARG_STR(SO_PEEK_OFF), .optsz = sizeof(int) }, + { ARG_STR(SO_NOFCS), .optsz = sizeof(int) }, + { ARG_STR(SO_LOCK_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_SELECT_ERR_QUEUE), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_MAX_PACING_RATE), /* TODO */ }, + { ARG_STR(SO_BPF_EXTENSIONS), /* TODO */ }, + { ARG_STR(SO_INCOMING_CPU), .optsz = sizeof(int) }, + { ARG_STR(SO_ATTACH_BPF), /* TODO */ }, + /* SO_ATTACH_REUSEPORT_CBPF - see sock_filter-v test */ + { ARG_STR(SO_ATTACH_REUSEPORT_EBPF), /* TODO */ }, + { ARG_STR(SO_CNX_ADVICE), .optsz = sizeof(int) }, + { ARG_STR(SO_MEMINFO), /* TODO */ }, + { ARG_STR(SO_INCOMING_NAPI_ID), .optsz = sizeof(int) }, + { ARG_STR(SO_COOKIE), /* TODO */ }, + { ARG_STR(SO_PEERGROUPS), /* TODO */ }, + { ARG_STR(SO_ZEROCOPY), .optsz = sizeof(int) }, + { ARG_STR(SO_TXTIME), /* TODO */ }, + { ARG_STR(SO_BINDTOIFINDEX), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_DETACH_REUSEPORT_BPF), .optsz = sizeof(int) }, + { ARG_STR(SO_PREFER_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL_BUDGET), .optsz = sizeof(int) }, + { ARG_STR(SO_NETNS_COOKIE), /* TODO */ }, + { ARG_STR(SO_BUF_LOCK), /* TODO */ }, + { ARG_STR(SO_RESERVE_MEM), .optsz = sizeof(int) }, + { ARG_STR(SO_TXREHASH), ARRSZ_PAIR(txrehash_vecs), sizeof(int) }, + { ARG_STR(SO_RCVMARK), .optsz = sizeof(int) }, + { 76, NULL }, + { -1, NULL }, + }; + + char pfx_str256; + char sol_str64; + TAIL_ALLOC_OBJECT_CONST_PTR(int, val); + TAIL_ALLOC_OBJECT_CONST_ARR(int, bigval, 2); + TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, len); + void *const efault = val + 1; + int fd = socket(AF_UNIX, SOCK_RAW, 0); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_RAW"); + + snprintf(sol_str, sizeof(sol_str), XLAT_FMT, XLAT_ARGS(SOL_SOCKET)); + + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + static char so_str64; + const struct intstr *const vecs = namesi.vecs ?: int_vecs; + size_t vecs_sz = namesi.vecs_sz ?: ARRAY_SIZE(int_vecs); + + if (namesi.str) { + snprintf(so_str, sizeof(so_str), XLAT_FMT, + XLAT_SEL(namesi.val, namesi.str)); + } else { + snprintf(so_str, sizeof(so_str), + "%#x" NRAW(" /* SO_??? */"), namesi.val); + } + + snprintf(pfx_str, sizeof(pfx_str), "etsockopt(%d, %s, %s, ", + fd, sol_str, so_str); + + /* getsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *len = sizeof(*val); + *val = vecsj.val; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d) = %s" INJSTR "\n", *len, errstr); + + /* optlen larger than accessible memory */ + *len = sizeof(*val) + 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0 || (!namesi.optsz && *len > sizeof(*val))) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen larger than necessary */ + *len = sizeof(*val) + 1; + *bigval = vecsj.val; + get_sockopt(fd, namesi.val, bigval, len); + printf("g%s", pfx_str); + if (rc < 0) { + printf("%p", bigval); + } else { + if (*len == sizeof(*val) || namesi.optsz) + print_optval(*val, vecs, vecs_sz); + else + print_quoted_memory(bigval, *len); + } + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + } + + /* zero optlen - print returned optlen */ + *len = 0; +#ifdef INJECT_RETVAL + *val = vecs0.val; +#endif + get_sockopt(fd, namesi.val, NULL, len); + printf("g%sNULL, 0", pfx_str); + if (*len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen shorter than necessary */ + *len = sizeof(*val) - 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else if (namesi.optsz) + print_quoted_hex(val, sizeof(*val) - 1); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d", (int) sizeof(*val) - 1); + if ((int) sizeof(*val) - 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optval EFAULT - print address */ + *len = sizeof(*val); + get_sockopt(fd, namesi.val, efault, len); + printf("g%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, *len, errstr); + + /* optlen EFAULT - print address */ + get_sockopt(fd, namesi.val, val, len + 1); + printf("g%s%p, %p) = %s" INJSTR "\n", + pfx_str, val, len + 1, errstr); + + + /* setsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *val = vecsj.val; + set_sockopt(fd, namesi.val, val, sizeof(*val)); + printf("s%s%s, %d) = %s" INJSTR "\n", + pfx_str, vecsj.str, (int) sizeof(*val), errstr); + + /* optlen larger than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) + 1); + printf("s%s", pfx_str); + if (namesi.optsz && namesi.optsz <= sizeof(*val)) + printf("%s", vecsj.str); + else + printf("%p", val); + printf(", %d) = %s" INJSTR "\n", + (int) sizeof(*val) + 1, errstr); + } + + /* optlen < 0 - print address */ + *val = vecs0.val; + set_sockopt(fd, namesi.val, val, -1U); + printf("s%s%p, -1) = %s" INJSTR "\n", pfx_str, val, errstr); + + /* optlen smaller than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) - 1); + printf("s%s", pfx_str); + if (namesi.optsz) + printf("%p", val); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d) = %s" INJSTR "\n", (int) sizeof(*val) - 1, errstr); + + /* optval EFAULT - print address */ + set_sockopt(fd, namesi.val, efault, sizeof(*val)); + printf("s%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, (int) sizeof(*val), errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sockopt-sol_socket.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket -e trace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/sprintrc.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/sprintrc.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,7 +26,7 @@ * representation of return code and errno/error message in case @rc * is equal to -1. */ -static inline const char * +static const char * sprintrc_ex(long rc, enum sprintrc_fmt fmt) { static const char *formats = {
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--decode-pids-comm.c
Added
@@ -0,0 +1,123 @@ +/* + * Test -Y/--decode-pids=comm option. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +/* + * The executable built from this source file should + * have a long name (> 16) to test how strace reports + * the initial value of /proc/$pid/comm. + * Even if linux returns a longer name, strace should + * not crash. + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/prctl.h> +#include <unistd.h> +#include <sys/types.h> +#include <sys/wait.h> + +#define NEW_NAME "0123456789abcdefghijklmnopqrstuvwxyz" + +static int +do_default_action(void) +{ + static const char proc_self_exe = "/proc/self/exe"; + skip_if_unavailable(proc_self_exe); + + char commsizeof(NEW_NAME); + if (prctl(PR_GET_NAME, comm)) + perror_msg_and_skip("PR_GET_NAME"); + char ocommsizeof(comm); + strcpy(ocomm, comm); + + pid_t pid = getpid(); + pid_t ppid = getppid(); + + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + fflush(stdout); + + pid_t child = fork(); + if (child < 0) + perror_msg_and_fail("fork"); + else if (child == 0) { + pid = getpid(); + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, ocomm); + + const char *names = { + "foo\332Jbar", + "foo<bar>", + NEW_NAME, + }; + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + strcpy(comm, namesi); + prctl(PR_SET_NAME, comm); + prctl(PR_GET_NAME, comm); + + ppid = getppid(); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> getppid() = %d<%s>\n", ppid, ocomm); + + long rc = syscall(__NR_tgkill, pid, pid, SIGCONT); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> tgkill(%d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, %d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, SIGCONT) = %s\n", sprintrc(rc)); + } + + long rc = syscall(__NR_tgkill, ppid, ppid, SIGCONT); + printf("%u<%s> tgkill(%d<%s>, %d<%s>, SIGCONT) = %s\n", + pid, comm, ppid, ocomm, ppid, ocomm, sprintrc(rc)); + + fflush(stdout); + char *args = { (char *) "unused", (char *) "execve", NULL }; + execve(proc_self_exe, args, NULL); + perror_msg_and_fail("execve: %s", proc_self_exe); + } else { + int status; + while ((waitpid(child, &status, 0)) != child) { + if (errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", child); + } + printf("%u<exe> +++ exited with 0 +++\n", child); + + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + printf("%u<%s> +++ exited with 0 +++\n", pid, comm); + return WEXITSTATUS(status); + } + return 0; +} + +static int +do_execve_action(int argc, char **argv) +{ + return 0; +} + +int +main(int argc, char **argv) +{ + if (argc < 2) + return do_default_action(); + else if (strcmp(argv1, "execve") == 0) + return do_execve_action(argc, argv); + error_msg_and_fail("unexpected argument: %s", argv1); +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--decode-pids-comm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--strings-in-hex-all.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-all.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-non-ascii-chars.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 3 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-non-ascii-chars.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=non-ascii-chars --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--strings-in-hex-non-ascii.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-non-ascii.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 0 +#define STRACE_X 1 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-none.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=none --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--strings-in-hex.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--strings-in-hex.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--syscall-times-ms.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--syscall-times-ms.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T.test --syscall-times=ms); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms); do not edit. set -- --syscall-times=ms -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--syscall-times-ns.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--syscall-times-ns.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T.test --syscall-times=ns); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns); do not edit. set -- --syscall-times=ns -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--syscall-times-s.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--syscall-times-s.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T.test --syscall-times=s); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T_upper.test --syscall-times=s); do not edit. set -- --syscall-times=s -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--syscall-times-us.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--syscall-times-us.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T.test --syscall-times=us); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T_upper.test --syscall-times=us); do not edit. set -- --syscall-times=us -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace--syscall-times.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--syscall-times.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T.test --syscall-times); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T_upper.test --syscall-times); do not edit. set -- --syscall-times -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--tips-full.test
Added
@@ -0,0 +1,6 @@ +#!/bin/sh -efu + +# Check --tips=full option. +TIPS_FULL=1 +export TIPS_FULL +. ${srcdir=.}/strace--tips.test
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--tips.exp
Added
@@ -0,0 +1,36 @@ + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | + + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace--tips.test
Added
@@ -0,0 +1,82 @@ +#!/bin/sh -efu + +# Check --tips option. +. "${srcdir=.}/init.sh" + +: "${TIPS_FULL:=0}" +RAND_TIPS=5 +MAX_TIPS=500 + +tips_fmt_opt="" + 1 -ne "$TIPS_FULL" || tips_fmt_opt="--tips=full" + + +# Check that random tip is random +"$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r0" +i=0 +ret=0 +while "$i" -lt "$RAND_TIPS" ; do + i=$((i + 1)) + "$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r${i}" + diff -q "${OUT}.r$((i - 1))" "${OUT}.r${i}" || { ret=1; break; } +done + + 0 != "$ret" || fail_ "Tips do not seem to be randomised" + +# Check that each tip looks sane +i=0 +while "$i" -lt "$MAX_TIPS" ; do + "$STRACE" -qqq -enone $tips_fmt_opt --tips="id:$i" ../sleep 0 2> "${OUT}.${i}" + + j=0 + end_seen=0 + cat $srcdir/strace--tips.exp | while read line; do + j="$((j + 1))" + case "$j" in + 1) pat=' ______________________________________________ '"$(sed_re_escape "$line")";; + 2) pat=' / \\ '"$(sed_re_escape "$line")";; + 3) pat=' | .{44} | '"$(sed_re_escape "$line")";; + 4) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 5) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 6) pat=' | .{44} _\ '"$(sed_re_escape "$line")";; + 7) pat=' | .{44} / '"$(sed_re_escape "$line")";; + *) pat=' | .{44} | '"$(sed_re_escape "$line")";; + esac + end=' \______________________________________________/ '"$(sed_re_escape "$line")" + btm=' '"$(sed_re_escape "$line")" + s=$(tail -n"+$j" "${OUT}.${i}" | head -n1) + + if 0 -ne "$end_seen" ; then + printf '%s' "$s" | grep -Eq "$btm" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against '$btm'" + fi + + printf '%s' "$s" | grep -Eqv "$pat" || continue + if 8 -lt "$j" ; then + printf '%s' "$s" | grep -Eq "$end" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against neither '$pat' nor '$end'" + + if 0 -ne "$TIPS_FULL" ; then + end_seen=1 + else + break + fi + else + fail_ "Can't match line $j of ${OUT}.${i} ('$s')" \ + "against '$pat'" + fi + done + + # Finish when come accross the same tip + if 0 != "$i" ; then + if diff -q "${OUT}.0" "${OUT}.$i"; then + break + fi + fi + i="$((i + 1))" +done + + "$i" -lt "$MAX_TIPS" || \ + fail_ "Cannot find end of tips after $i iterations"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-T_upper.expected
Added
@@ -0,0 +1,1 @@ +nanosleep\(\{tv_sec=1, tv_nsec=0\}, NULL\) = 0 <(1\.01|0\.9):digit:{5}>
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-T_upper.test
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check -T option. +# +# Copyright (c) 2016-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +T_opt="${1:--T}" + +run_prog ../sleep 0 +run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 +match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace-V.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-V.test
Changed
@@ -38,13 +38,32 @@ features="${option_unwind}${option_demangle}${option_m32}${option_mx32}${option_secontext}" -n "$features" || features=" (none)" -cat > "$EXP" << __EOF__ -$(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) -Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +for i in $(seq 4); do + case "$i" in + 1) opt="-V";; + 2) opt="-V -V -V -V";; + 3) opt="-VVVV -VVVV -VVVV -VVVV";; + 4) opt="-VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";; + esac -Optional features enabled:${features} -__EOF__ + run_strace ${opt} > "${LOG}.${opt}" -match_diff "$OUT" "$EXP" + cat > "${EXP}.${opt}" <<-__EOF__ + $(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) + Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + Optional features enabled:${features} + __EOF__ + + if 3 -le "$i" ; then + cat $srcdir/strauss_head.exp >> "${EXP}.${opt}" + fi + + if 4 -le "$i" ; then + cat $srcdir/strauss_body.exp >> "${EXP}.${opt}" + fi + + match_diff "${LOG}.${opt}" "${EXP}.${opt}" +done
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-Y-0123456789.c
Added
@@ -0,0 +1,1 @@ +#include "strace--decode-pids-comm.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-Y-0123456789.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-no-x.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-no-x.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-no-x -e trace=chdir -a 12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=chdir -a 12
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-p-Y-p.test
Added
@@ -0,0 +1,42 @@ +#!/bin/sh +# +# Check that -p pid1 -Y -p pid2 prints /proc/$pid1/comm properly. +# +# Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +run_prog_skip_if_failed kill -0 $$ +run_prog ../strace-p1-Y-p 0 > /dev/null 3>&1 +run_prog ../strace-p-Y-p2 0 > /dev/null 3>&1 + +run_tracee() +{ + local file + file="$1"; shift + ../set_ptracer_any $@ > /dev/null 3> "$file" & + pid=$! + while ! -s "$file" ; do + kill -0 $pid 2> /dev/null || + fail_ 'set_ptracer_any "$*" failed' + done +} + +run_tracee "$EXP" ../strace-p1-Y-p 2 +pid1=$pid + +run_tracee "$OUT" ../strace-p-Y-p2 3 +pid2=$pid + +run_strace -enone -p "$pid1" -Y -p "$pid2" + +# merge expected output +cat "$OUT" >> "$EXP" + +# filter out unrelated strace output +grep -F +++ "$LOG" > "$OUT" + +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-p-Y-p2.c
Added
@@ -0,0 +1,2 @@ +#define MY_COMM "strace-p-Y-p2" +#include "strace-p1-Y-p.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-p1-Y-p.c
Added
@@ -0,0 +1,43 @@ +/* + * This file is part of strace-p-Y-p strace test. + * + * Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + +#ifndef MY_COMM +# define MY_COMM "strace-p1-Y-p" +#endif + +int +main(int ac, char **av) +{ + if (ac < 2) + error_msg_and_fail("missing operand"); + + if (ac > 2) + error_msg_and_fail("extra operand"); + + static const char proc_self_comm = "/proc/self/comm"; + skip_if_unavailable(proc_self_comm); + + int seconds = atoi(av1); + FILE *fp = fdopen(3, "a"); + if (!fp) + error_msg_and_fail("fdopen(3, \"a\")"); + + fprintf(fp, "%u<%s> +++ exited with 0 +++\n", getpid(), MY_COMM); + fclose(fp); + + if (sleep(seconds)) + perror_msg_and_skip("sleep: %d", seconds); + + return 0; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace-x.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-x.c
Changed
@@ -1,7 +1,7 @@ /* * Test strace's -x option. * - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,14 +12,18 @@ #include <stdio.h> #include <unistd.h> -#ifndef STRACE_XX -# define STRACE_XX 0 +#ifndef STRACE_X +# define STRACE_X 1 #endif -#if STRACE_XX -# define XOUT(x_, xx_) xx_ -#else -# define XOUT(x_, xx_) x_ +#if STRACE_X == 1 +# define XOUT(_, x_chars_, x_, xx_) x_ +#elif STRACE_X == 2 +# define XOUT(_, x_chars_, x_, xx_) xx_ +#elif STRACE_X == 3 +# define XOUT(_, x_chars_, x_, xx_) x_chars_ +#elif STRACE_X == 0 +# define XOUT(_, x_chars_, x_, xx_) _ #endif int @@ -29,25 +33,33 @@ const char *path; const char *out; } test_vecs = { - { "test", XOUT("test", "\\x74\\x65\\x73\\x74") }, + { "test", + XOUT("test", "test", "test", "\\x74\\x65\\x73\\x74") }, { "\t\n\v\f\r hi~", XOUT("\\t\\n\\v\\f\\r hi~", + "\\t\\n\\v\\f\\r hi~", "\\t\\n\\v\\f\\r hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\16 hi~", XOUT( + { "\t\n\v\f\r\16 hi~", XOUT("\\t\\n\\v\\f\\r\\16 hi~", + "\\t\\n\\v\\f\\r\\x0e hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e") }, - { "\10\t\n\v\f\r hi~", XOUT( + { "\10\t\n\v\f\r hi~", XOUT("\\10\\t\\n\\v\\f\\r hi~", + "\\x08\\t\\n\\v\\f\\r hi~", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\37 hi~", XOUT( + { "\t\n\v\f\r\37 hi~", XOUT("\\t\\n\\v\\f\\r\\37 hi~", + "\\t\\n\\v\\f\\r\\x1f hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r hi~\177", XOUT( + { "\t\n\v\f\r hi~\177", XOUT("\\t\\n\\v\\f\\r hi~\\177", + "\\t\\n\\v\\f\\r hi~\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f") }, - { "\t\n\v\f\r hi~\222", XOUT( + { "\t\n\v\f\r hi~\222", XOUT("\\t\\n\\v\\f\\r hi~\\222", + "\\t\\n\\v\\f\\r hi~\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92") }, - { "\t\n\v\f\r hi~\377", XOUT( + { "\t\n\v\f\r hi~\377", XOUT("\\t\\n\\v\\f\\r hi~\\377", + "\\t\\n\\v\\f\\r hi~\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff") }, }; @@ -65,13 +77,19 @@ rc_str = sprintrc(chdir(path)); printf("chdir("); -#if STRACE_XX +#if STRACE_X == 2 print_quoted_hex(path, sizeof(path) - 1); #else +# if STRACE_X != 0 if (((c < ' ') || (c >= 0x7f)) && (c != '\t') && (c != '\n') && (c != '\v') && (c != '\f') && (c != '\r')) +# if STRACE_X == 3 + printf("\"%c\\x%02hhx\"", path0, path1); +# else print_quoted_hex(path, sizeof(path) - 1); +# endif else +# endif print_quoted_string(path); #endif printf(") = %s\n", rc_str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/strace-xx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/strace-xx.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strauss_body.exp
Added
@@ -0,0 +1,26 @@ + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/strauss_head.exp
Added
@@ -0,0 +1,11 @@ + + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | +
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sysctl.c
Added
@@ -0,0 +1,63 @@ +/* + * Check decoding of sysctl syscall. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR__sysctl + +# include <stdio.h> +# include <string.h> +# include <unistd.h> +# include <linux/sysctl.h> + +static const char *errstr; + +static long +k_sysctl(const void *const args) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const long rc = syscall(__NR__sysctl, (uintptr_t) args, + bad, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct __sysctl_args, args); + void *const efault = args + 1; + + k_sysctl(efault); + printf("_sysctl(%p) = %s\n", efault, errstr); + + memset(args, 0, sizeof(*args)); + k_sysctl(args); + printf("_sysctl({name=NULL, nlen=0, oldval=NULL, oldlenp=NULL" + ", newval=NULL, newlen=0}) = %s\n", errstr); + + fill_memory_ex(args, sizeof(*args), 'a', 'z' - 'a' + 1); + args->name = efault; + + k_sysctl(args); + printf("_sysctl({name=%p, nlen=%d, oldval=%p, oldlenp=%p" + ", newval=%p, newlen=%llu}) = %s\n", + args->name, args->nlen, args->oldval, args->oldlenp, + args->newval, (unsigned long long) args->newlen, errstr); + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR__sysctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/sysctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sysctl -a16 --trace=_sysctl); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a16 --trace=_sysctl
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/test_netlink.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/test_netlink.h
Changed
@@ -42,8 +42,8 @@ \ { __VA_ARGS__; } \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/test_nlattr.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/test_nlattr.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -8,10 +8,12 @@ #include "tests.h" #include "print_fields.h" +#include <inttypes.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <sys/socket.h> +#include <unistd.h> #include "netlink.h" #include <linux/rtnetlink.h> @@ -97,8 +99,8 @@ if ((nla_total_len_) > (nla_data_len_)) \ printf(""); \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NLATTR_(fd_, nlh0_, hdrlen_, \ @@ -169,6 +171,15 @@ (pattern_), (obj_), sizeof(obj_), \ print_quoted_hex, __VA_ARGS__) +#define TEST_NLATTR_OBJECT_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, pattern_, obj_, ...) \ + TEST_NLATTR_OBJECT_EX_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + print_quoted_hex, __VA_ARGS__) + #define TEST_NLATTR_OBJECT_MINSZ(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, minsz_, ...) \ @@ -178,9 +189,10 @@ (pattern_), (obj_), (minsz_), \ print_quoted_hex, __VA_ARGS__) -#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, print_elem_) \ +#define TEST_NLATTR_ARRAY_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ @@ -188,18 +200,18 @@ /* len < sizeof((obj_)0) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ plen, (pattern_), plen, \ print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -207,12 +219,12 @@ /* short read of sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -222,62 +234,80 @@ /* sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf("")); \ } while (0) -#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, nla_type_str_, \ - pattern_, obj_, fallback_func, \ - depth_, ...) \ +#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, print_elem_) \ + TEST_NLATTR_ARRAY_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, \ + (pattern_), (obj_), (print_elem_)) + +#define TEST_NESTED_NLATTR_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + nla_data_len_, src_, slen_, depth_, ...) \ + TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * (depth_), \ + (hdrlen_) + NLA_HDRLEN * (depth_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (nla_data_len_), (src_), (slen_), \ + __VA_ARGS__; \ + for (size_t i = 0; i < (depth_); ++i) \ + printf("")) + +#define TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, minsz_, \ + fallback_func, depth_, ...) \ do { \ const unsigned int plen = \ sizeof(obj_) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \ /* len < sizeof(obj_) */ \ if (plen > 0) \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - plen, (pattern_), plen, \ - (fallback_func)((pattern_), plen); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + plen, (pattern_), plen, (depth_), \ + (fallback_func)((pattern_), plen)); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - (pattern_), sizeof(obj_) - 1, \ - printf("%p", RTA_DATA(TEST_NLATTR_nla)); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), (pattern_), (minsz_) - 1, (depth_), \ + printf("%p", RTA_DATA(TEST_NLATTR_nla))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ - __VA_ARGS__; \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ + __VA_ARGS__); \ } while (0) +#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, \ + fallback_func, depth_, ...) \ + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + (fallback_func), (depth_), \ + __VA_ARGS__) + #define TEST_NESTED_NLATTR_OBJECT_EX(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, \ @@ -299,75 +329,71 @@ print_quoted_hex, 1, \ __VA_ARGS__) -#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, depth_, \ - print_elem_) \ +#define TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, depth_, \ + print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof((obj_)0) - 1; \ /* len < sizeof((obj_)0) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - plen, (pattern_), plen, \ - print_quoted_hex((pattern_), plen); \ - for (size_t i = 0; i < depth_; ++i) \ - printf("")); \ + (nla_type_), (nla_type_str_), \ + plen, (pattern_), plen, (depth_), \ + print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf(", ... /* %p */", \ RTA_DATA(TEST_NLATTR_nla) \ - + sizeof(obj_) - sizeof((obj_)0)); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + + sizeof(obj_) - sizeof((obj_)0))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ + (nla_type_), (nla_type_str_), \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ } while (0) +#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, depth_, \ + print_elem_) \ + TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, #nla_type_, pattern_, \ + obj_, depth_, print_elem_) + #define TEST_NESTED_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, print_elem_)\ @@ -375,3 +401,125 @@ (init_msg_), (print_msg_), \ nla_type_, (pattern_), (obj_), 1, \ (print_elem_)) + + +/* Checks for specific typical decoders */ +#define DEF_NLATTR_INTEGER_CHECK_(nla_data_name_, nla_data_type_, fmt_) \ + static inline void \ + check_##nla_data_name_##_nlattr(int fd, void *nlh0, size_t hdrlen, \ + void (*init_msg)(struct nlmsghdr *, \ + unsigned int), \ + void (*print_msg)(unsigned int), \ + unsigned int nla_type, \ + const char *nla_type_str, \ + void *pattern, size_t depth) \ + { \ + static const nla_data_type_ vecs = { \ + (nla_data_type_) 0, \ + (nla_data_type_) 1, \ + (nla_data_type_) 0xdeadfacebeeffeedULL, \ + }; \ + static char bufsizeof(nla_data_type_) + 8; \ + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { \ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + pattern, vecsi, \ + print_quoted_hex, depth, \ + printf(fmt_, vecsi)); \ + fill_memory(buf, sizeof(buf)); \ + memcpy(buf, vecs + i, sizeof(vecsi)); \ + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, \ + hdrlen + NLA_HDRLEN * depth, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + sizeof(vecsi) + 8, \ + buf, sizeof(vecsi) + 8, \ + printf(fmt_, vecsi); \ + for (size_t i = 0; i < depth; i++) \ + printf("")); \ + } \ + } + +DEF_NLATTR_INTEGER_CHECK_(u8, uint8_t, "%hhu") +DEF_NLATTR_INTEGER_CHECK_(u16, uint16_t, "%hu") +DEF_NLATTR_INTEGER_CHECK_(u32, uint32_t, "%u") +DEF_NLATTR_INTEGER_CHECK_(u64, uint64_t, "%" PRIu64) + +DEF_NLATTR_INTEGER_CHECK_(x16, uint16_t, "%#hx") +DEF_NLATTR_INTEGER_CHECK_(x32, uint32_t, "%#x") + +#define TEST_NLATTR_VAL(type_, fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, depth_) \ + check_##type_##_nlattr((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, (pattern_), (depth_)) + +static inline void +check_clock_t_nlattr(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + unsigned int nla_type, const char *nla_type_str, + size_t depth) +{ + static const uint64_t vecs = { 0, 1, 9, 10, 99, 100, 249, 250, 999, + 1000, 1023, 1024, 0xdefacebeeffedULL }; + static char bufsizeof(uint64_t) + 1; +#if !XLAT_RAW + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + } +#endif + + fill_memory(buf, sizeof(buf)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecs0) + 1, buf, sizeof(vecs0) + 1, + print_quoted_hex(buf, sizeof(vecs0) + 1); + for (size_t i = 0; i < depth; i++) + printf("")); + + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { + memcpy(buf, vecs + i, sizeof(vecsi)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecsi), + buf, sizeof(vecsi), + printf("%" PRIu64, vecsi); +#if !XLAT_RAW + if (i) + printf(" /* %.*f s */", precision, + (double) vecsi / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } + for (size_t i = 1; i < sizeof(vecs0); i++) { + uint64_t val = vecsARRAY_SIZE(vecs) - 1 & MASK64(i * 8); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + i, buf + BE_LE(sizeof(vecs0) - i, 0), i, + printf("%" PRIu64, val); +#if !XLAT_RAW + printf(" /* %.*f s */", precision, + (double) val / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/test_printpath.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/test_printpath.c
Changed
@@ -2,7 +2,7 @@ * Test printpath/umovestr. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,7 @@ * / * /. * /.. - * /... + * /../ * /../. * /../.. * /../../ @@ -32,8 +32,7 @@ char *const eop = p + (test_max - 1); *eop = '\0'; - unsigned int i; - for (i = 1; i < test_max; ++i) { + for (unsigned int i = 1; i < test_max; ++i) { const unsigned int i_1 = i - 1; memmove(eop - i, eop - i_1, i_1); eop-1 = "/.."i_1 % 3; @@ -81,10 +80,9 @@ */ const unsigned int page_size = get_page_size(); char *p = tail_alloc(test_max + page_size); - unsigned int i; - for (i = 1; i < sizeof(long); ++i) + for (unsigned int i = 1; i < sizeof(long); ++i) test_printpath_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printpath_at(p + page_size - i, test_max); test_efault(test_max); test_enametoolong();
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/test_printstrn.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/test_printstrn.c
Changed
@@ -27,9 +27,7 @@ static void test_printstrn_at(char *const p, const unsigned int test_max) { - unsigned int i; - - for (i = 0; i <= test_max; ++i) { + for (unsigned int i = 0; i <= test_max; ++i) { add_key(p + (test_max - i), i); printf("add_key(NULL, NULL, \"%.*s\", %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -42,11 +40,9 @@ { char *p = tail_alloc(test_max); memset(p, '/', test_max); - unsigned int i; - for (i = 0; i <= test_max; ++i) { - unsigned int j; - for (j = 1; j <= sizeof(long); ++j) { + for (unsigned int i = 0; i <= test_max; ++i) { + for (unsigned int j = 1; j <= sizeof(long); ++j) { add_key(p + (test_max - i), i + j); printf("add_key(NULL, NULL, %p, %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -82,16 +78,15 @@ char *p = tail_alloc(test_max + page_size); fill_memory_ex(p, test_max + page_size, 'a', 'z' - 'a' + 1); - unsigned int i; - for (i = 1; i <= sizeof(long); ++i) + for (unsigned int i = 1; i <= sizeof(long); ++i) test_printstrn_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printstrn_at(p + page_size - i, test_max); test_efault(test_max); fill_memory_ex(p, test_max + page_size, 0x00, 0xFF); /* Test corner cases when octal quoting goes before digit */ - for (i = 0; i < 11; i++) + for (unsigned int i = 0; i < 11; ++i) p2 + 3 * i = '0' + i - 1; test_print_memory(p, test_max);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/tests.h -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/tests.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -49,47 +49,68 @@ # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) +# define XLAT_KNOWN_FMT(val_, str_) val_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ + # define XLAT_FMT "%#x" +# define XLAT_FMT_D "%d" +# define XLAT_FMT_U "%u" +# define XLAT_FMT_L "%#lx" # define XLAT_FMT_LL "%#llx" # define XLAT_ARGS(a_) (a_) +# define XLAT_ARGS_U(a_) (unsigned int) (a_) # define XLAT_SEL(v_, s_) v_ -# define ABBR(s_) "" -# define RAW(s_) s_ -# define VERB(s_) "" -# define NABBR(s_) s_ -# define NRAW(s_) "" -# define NVERB(s_) s_ +# define ABBR(...) +# define RAW(...) __VA_ARGS__ +# define VERB(...) +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) +# define NVERB(...) __VA_ARGS__ # elif XLAT_VERBOSE # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) " /* " str_ " */" # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) val_ " /* " str_ " */" +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%#x /* %s */" +# define XLAT_FMT_D "%d /* %s */" +# define XLAT_FMT_U "%u /* %s */" +# define XLAT_FMT_L "%#lx /* %s */" # define XLAT_FMT_LL "%#llx /* %s */" # define XLAT_ARGS(a_) a_, #a_ +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ # define XLAT_SEL(v_, s_) v_, s_ -# define ABBR(s_) "" -# define RAW(s_) "" -# define VERB(s_) s_ -# define NABBR(s_) s_ -# define NRAW(s_) s_ -# define NVERB(s_) "" +# define ABBR(...) +# define RAW(...) +# define VERB(...) __VA_ARGS__ +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) # else /* !XLAT_RAW && !XLAT_VERBOSE */ # define XLAT_KNOWN(val_, str_) str_ # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) str_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%s" +# define XLAT_FMT_D "%s" +# define XLAT_FMT_U "%s" +# define XLAT_FMT_L "%s" # define XLAT_FMT_LL "%s" # define XLAT_ARGS(a_) #a_ +# define XLAT_ARGS_U(a_) #a_ # define XLAT_SEL(v_, s_) s_ -# define ABBR(s_) s_ -# define RAW(s_) "" -# define VERB(s_) "" -# define NABBR(s_) "" -# define NRAW(s_) s_ -# define NVERB(s_) s_ +# define ABBR(...) __VA_ARGS__ +# define RAW(...) +# define VERB(...) +# define NABBR(...) +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) __VA_ARGS__ # endif /* XLAT_RAW, XLAT_VERBOSE */ # define XLAT_STR(v_) sprintxlat(#v_, v_, NULL) @@ -97,11 +118,23 @@ # define ARG_XLAT_KNOWN(val_, str_) val_, XLAT_KNOWN(val_, str_) # define ARG_XLAT_UNKNOWN(val_, str_) val_, XLAT_UNKNOWN(val_, str_) +# define ENUM_KNOWN(val_, enum_) enum_, XLAT_KNOWN(val_, #enum_) + # ifndef DEFAULT_STRLEN /* Default maximum # of bytes printed in printstr et al. */ # define DEFAULT_STRLEN 32 # endif +struct strval8 { + uint8_t val; + const char *str; +}; + +struct strval16 { + uint16_t val; + const char *str; +}; + struct strval32 { uint32_t val; const char *str; @@ -135,7 +168,7 @@ # define perror_msg_and_fail(fmt_, ...) \ perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif -# ifndef perror_msg_and_fail +# ifndef error_msg_and_fail # define error_msg_and_fail(fmt_, ...) \ error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif @@ -179,18 +212,10 @@ * and followed also by an unmapped page. */ void *tail_alloc(const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((1)) -# endif - ; + ATTRIBUTE_MALLOC; /* Allocate memory using tail_alloc, then memcpy. */ void *tail_memdup(const void *, const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((2)) -# endif - ; + ATTRIBUTE_MALLOC; # define midtail_alloc(after_, before_) \ ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_))) @@ -204,6 +229,14 @@ type_name *const type_ptr = tail_alloc(sizeof(*type_ptr)) /* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified constant pointer. + */ +# define TAIL_ALLOC_OBJECT_CONST_ARR(type_name, type_ptr, cnt) \ + type_name *const type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + +/* * Allocate an object of the specified type at the end * of a mapped memory region. * Assign its address to the specified variable pointer. @@ -211,6 +244,14 @@ # define TAIL_ALLOC_OBJECT_VAR_PTR(type_name, type_ptr) \ type_name *type_ptr = tail_alloc(sizeof(*type_ptr)) +/* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified variable pointer. + */ +# define TAIL_ALLOC_OBJECT_VAR_ARR(type_name, type_ptr, cnt) \ + type_name *type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + /** * Fill memory (pointed by ptr, having size bytes) with different bytes (with * values starting with start and resetting every period) in order to catch @@ -230,6 +271,13 @@ unsigned int period); /** Shortcut for fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000) */ void fill_memory32(void *ptr, size_t size); +/** Variant of fill_memory_ex for arrays of 64-bit (8-byte) values. */ +void fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period); +/** + * Shortcut for + * fill_memory64_ex(ptr, size, 0x8090a0b0c0d0e0f0, 0x8000000000000000) + */ +void fill_memory64(void *ptr, size_t size); /* Close stdin, move stdout to a non-standard descriptor, and print. */ @@ -282,6 +330,9 @@ /* Print time_t and microseconds in symbolic format. */ void print_time_t_usec(time_t, unsigned long long, int); +/* Put a formatted clock_t string representation into a string. */ +const char *clock_t_str(uint64_t val, char *str, size_t str_size); + /* Read an int from the file. */ int read_int_from_file(const char *, int *); @@ -417,8 +468,10 @@ int main(void) { error_msg_and_skip("undefined: %s", arg); } # ifdef WORDS_BIGENDIAN +# define BE_LE(be_, le_) be_ # define LL_PAIR(HI, LO) (HI), (LO) # else +# define BE_LE(be_, le_) le_ # define LL_PAIR(HI, LO) (LO), (HI) # endif # define LL_VAL_TO_PAIR(llval) LL_PAIR((long) ((llval) >> 32), (long) (llval))
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/time_enjoyment.h
Added
@@ -0,0 +1,66 @@ +#ifndef STRACE_TESTS_TIME_ENJOYMENT_H +#define STRACE_TESTS_TIME_ENJOYMENT_H + +#include <fcntl.h> +#include <sched.h> +#include <time.h> +#include <sys/types.h> +#include <sys/stat.h> + +enum { + NUM_USER_ITERS_SQRT = 2000, + NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, + READ_BUF_SIZE = 65536, + READ_ITER = 128, +}; + +static inline uint64_t +nsecs(struct timespec *ts) +{ + return (uint64_t) ts->tv_sec * 1000000000 + ts->tv_nsec; +} + +static inline void +enjoy_time(uint64_t cputime_limit) +{ + struct timespec ts = { 0 }; + volatile int dummy = 0; + + /* Enjoying my user time */ + for (size_t i = 0; i < NUM_USER_ITERS_SQRT; ++i) { + if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + if (nsecs(&ts) >= cputime_limit) + break; + } + + for (size_t j = 0; j < NUM_USER_ITERS; ++j) + ++dummy; + } + + /* Enjoying my system time */ + ssize_t ret; + int fd; + char bufREAD_BUF_SIZE; + + while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + for (size_t i = 0; i < READ_ITER; i++) { + /* We are fine even if the calls fail. */ + fd = open("/proc/self/status", O_RDONLY); + /* + * Working around "ignoring return value of 'read' + * declared with attribute 'warn_unused_result'". + */ + ret = read(fd, buf, sizeof(buf)); + close(fd); + if (ret) + continue; + } + + if (nsecs(&ts) >= cputime_limit * 3) + break; + + sched_yield(); + } +} + +#endif /* !STRACE_TESTS_TIME_ENJOYMENT_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xabbrev -esignal=none -e trace=times -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xraw -esignal=none -e trace=times -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/times-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xverbose -esignal=none -e trace=times -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/times.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/times.c
Changed
@@ -1,9 +1,9 @@ /* * Check decoding of times syscall. * - * Copyright (c) 2015 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2015-2021 Eugene Syromyatnikov <evgsyr@gmail.com> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,57 +16,37 @@ */ #include "tests.h" +#include <fcntl.h> #include <sched.h> #include <stdio.h> #include <time.h> #include <unistd.h> #include "scno.h" +#include <sys/stat.h> #include <sys/times.h> +#include <sys/types.h> #include <sys/wait.h> +#include "time_enjoyment.h" + enum { - NUM_USER_ITERS_SQRT = 1000, - NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, - PARENT_CPUTIME_LIMIT_NSEC = 200000000, - CHILD_CPUTIME_LIMIT_NSEC = 300000000 + PARENT_CPUTIME_LIMIT_NSEC = 300000000, + CHILD_CPUTIME_LIMIT_NSEC = 500000000, }; int main(void) { - struct timespec ts; - volatile int dummy = 0; - int i = 0; + enjoy_time(PARENT_CPUTIME_LIMIT_NSEC); pid_t pid = fork(); if (pid < 0) perror_msg_and_fail("fork"); - const long cputime_limit = - pid ? PARENT_CPUTIME_LIMIT_NSEC : CHILD_CPUTIME_LIMIT_NSEC; - - /* Enjoying my user time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit) - break; - - if ((i > NUM_USER_ITERS_SQRT) && !(ts.tv_sec || ts.tv_nsec)) - error_msg_and_skip("clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 0})"); - - for (i = 0; i < NUM_USER_ITERS; ++i) - ++dummy; - } - - /* Enjoying my system time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit * 2) - break; - - sched_yield(); - } - if (pid == 0) { + enjoy_time(CHILD_CPUTIME_LIMIT_NSEC); + return 0; } else { wait(NULL); @@ -107,13 +87,41 @@ llres = (unsigned long) res; #endif - printf("times({tms_utime=%llu, tms_stime=%llu, ", - (unsigned long long) tbuf.tms_utime, - (unsigned long long) tbuf.tms_stime); - printf("tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", - (unsigned long long) tbuf.tms_cutime, - (unsigned long long) tbuf.tms_cstime, - llres); + long clk_tck = sysconf(_SC_CLK_TCK); + int precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + + if (!XLAT_RAW && clk_tck > 0) { + printf("times({tms_utime=%llu /* %.*f s */" + ", tms_stime=%llu /* %.*f s */" + ", tms_cutime=%llu /* %.*f s */" + ", tms_cstime=%llu /* %.*f s */}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + precision, (double) tbuf.tms_utime / clk_tck, + (unsigned long long) tbuf.tms_stime, + precision, (double) tbuf.tms_stime / clk_tck, + (unsigned long long) tbuf.tms_cutime, + precision, (double) tbuf.tms_cutime / clk_tck, + (unsigned long long) tbuf.tms_cstime, + precision, (double) tbuf.tms_cstime / clk_tck, + llres); + } else { + printf("times({tms_utime=%llu, tms_stime=%llu" + ", tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + (unsigned long long) tbuf.tms_stime, + (unsigned long long) tbuf.tms_cutime, + (unsigned long long) tbuf.tms_cstime, + llres); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/trace_clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'clock_nanosleep|times' -e%clock +test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_all_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_32 +qualify_personality_all.sh 32); do not edit. +set -- 32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_all_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_64 +qualify_personality_all.sh 64); do not edit. +set -- 64 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_all_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_x32 +qualify_personality_all.sh x32); do not edit. +set -- x32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_64.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_number_x32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/trace_personality_regex_32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_regex_32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/trace_personality_regex_64.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_regex_64.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 64 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 64 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/trace_personality_regex_x32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_regex_x32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- x32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- x32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs'); do not edit. +set -- 32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs'); do not edit. +set -- 64 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_64.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs'); do not edit. +set -- x32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/trace_personality_statfs_x32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/unix-pair-send-recv.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/unix-pair-send-recv.c
Changed
@@ -48,9 +48,7 @@ static void transpose(char *str, const size_t len) { - size_t i; - - for (i = 0; i < len / 2; ++i) { + for (size_t i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/unix-pair-sendto-recvfrom.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/unix-pair-sendto-recvfrom.c
Changed
@@ -18,9 +18,7 @@ static void transpose(char *str, int len) { - int i; - - for (i = 0; i < len / 2; ++i) { + for (int i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/unshare.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/unshare.c
Changed
@@ -33,14 +33,11 @@ { ARG_STR(0x81f8f07f) " /* CLONE_??? */" }, }; - long rc; - unsigned int i; - - rc = syscall(__NR_unshare, bogus_flags); + long rc = syscall(__NR_unshare, bogus_flags); printf("unshare(%#llx /* CLONE_??? */) = %s\n", (unsigned long long) bogus_flags, sprintrc(rc)); - for (i = 0; i < ARRAY_SIZE(unshare_flags); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(unshare_flags); ++i) { rc = syscall(__NR_unshare, unshare_flagsi.val); printf("unshare(%s) = %s\n", unshare_flagsi.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/vfork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/vfork-f.c
Changed
@@ -13,7 +13,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/waitid-Y.c
Added
@@ -0,0 +1,3 @@ +#define MY_COMM "<waitid-Y>" +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#include "waitid.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests-mx32/waitid-Y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (waitid-Y -Y -e signal=none -e trace=waitid); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y -e signal=none -e trace=waitid
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/waitid.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/waitid.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of waitid syscall. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,13 @@ #include "kernel_rusage.h" #include "scno.h" +#ifndef MY_COMM +# define MY_COMM "" +#endif +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + static const char * sprint_rusage(const kernel_rusage_t *const ru) { @@ -97,23 +104,30 @@ } static const char * -sprint_siginfo(const siginfo_t *const si, const char *const status_text) +sprint_siginfo(const siginfo_t *const si, const char *const status_text, + const char *const comm) { static char buf1024; + char utime_str64; + char stime_str64; + snprintf(buf, sizeof(buf), "{si_signo=SIGCHLD" ", si_code=%s" - ", si_pid=%d" + ", si_pid=%d%s" ", si_uid=%d" ", si_status=%s" - ", si_utime=%llu" - ", si_stime=%llu}", + ", si_utime=%s" + ", si_stime=%s}", si_code_2_name(si->si_code), si->si_pid, + comm, si->si_uid, status_text, - zero_extend_signed_to_ull(si->si_utime), - zero_extend_signed_to_ull(si->si_stime)); + clock_t_str(zero_extend_signed_to_ull(si->si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(si->si_stime), + ARRSZ_PAIR(stime_str))); return buf; } @@ -123,6 +137,8 @@ return (unsigned long) 0xfacefeed00000000ULL | v; } +static const char *errstr; + static long do_waitid(const unsigned int idtype, const unsigned int id, @@ -137,12 +153,15 @@ long rc = syscall(__NR_waitid, poison(idtype), poison(id), infop, poison(options), rusage); assert(sigprocmask(SIG_UNBLOCK, &mask, NULL) == 0); + errstr = sprintrc(rc); return rc; } int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + tprintf("%s", ""); int fds2; @@ -165,23 +184,24 @@ if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) perror_msg_and_fail("waitid #1"); - tprintf("waitid(P_PID, %d, NULL, WNOHANG|WEXITED, NULL) = 0\n", pid); + tprintf("waitid(P_PID, %d%s, NULL, WNOHANG|WEXITED, NULL) = 0\n", + pid, MY_COMM); TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sinfo); memset(sinfo, 0, sizeof(*sinfo)); TAIL_ALLOC_OBJECT_CONST_PTR(kernel_rusage_t, rusage); if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) perror_msg_and_fail("waitid #2"); - tprintf("waitid(P_PID, %d, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", - pid, sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_rusage(rusage)); assert(write(1, "", 1) == 1); (void) close(1); if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #3"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "42", ""), sprint_rusage(rusage)); pid = fork(); if (pid < 0) @@ -194,8 +214,9 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #4"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGUSR1"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGUSR1", ""), + sprint_rusage(rusage)); if (pipe(fds)) perror_msg_and_fail("pipe"); @@ -215,8 +236,9 @@ if (do_waitid(P_PID, pid, sinfo, WSTOPPED, rusage)) perror_msg_and_fail("waitid #5"); - tprintf("waitid(P_PID, %d, %s, WSTOPPED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGSTOP"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGSTOP", MY_COMM), + sprint_rusage(rusage)); if (kill(pid, SIGCONT)) perror_msg_and_fail("kill(SIGCONT)"); @@ -224,8 +246,9 @@ #if defined WCONTINUED if (do_waitid(P_PID, pid, sinfo, WCONTINUED, rusage)) perror_msg_and_fail("waitid #6"); - tprintf("waitid(P_PID, %d, %s, WCONTINUED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGCONT"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WCONTINUED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGCONT", MY_COMM), + sprint_rusage(rusage)); #endif /* WCONTINUED */ assert(write(1, "", 1) == 1); @@ -233,12 +256,18 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #7"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "0"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "0", ""), + sprint_rusage(rusage)); + + pid_t pgid = getpgid(pid); + do_waitid(P_PGID, pgid, sinfo, WEXITED, rusage); + tprintf("waitid(P_PGID, %d, %p, WEXITED, %p) = %s\n", + pgid, sinfo, rusage, errstr); - long rc = do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); - tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p)" - " = %ld %s (%m)\n", sinfo, rusage, rc, errno2name()); + do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); + tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p) = %s\n", + sinfo, rusage, errstr); tprintf("%s\n", "+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/xchownx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/xchownx.c
Changed
@@ -108,10 +108,9 @@ CLEANUP_CMD; - unsigned int i; long expected = 0; - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int unum = ugid2int(testsi.uid); const unsigned int gnum = ugid2int(testsi.gid);
View file
_service:tar_scm:strace-5.14.tar.xz/tests-mx32/xstatx.c -> _service:tar_scm:strace-6.1.tar.xz/tests-mx32/xstatx.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -258,28 +258,44 @@ printf(", stx_attributes="); printflags(statx_attrs, st->stx_attributes, "STATX_ATTR_???"); - printf(", "); - PRINT_FIELD_U(*st, stx_nlink); - PRINT_FIELD_U32_UID(stx_uid); - PRINT_FIELD_U32_UID(stx_gid); - - printf(", stx_mode="); - print_st_mode(st->stx_mode); + if (st->stx_mask & STATX_NLINK) { + printf(", "); + PRINT_FIELD_U(*st, stx_nlink); + } + if (st->stx_mask & STATX_UID) + PRINT_FIELD_U32_UID(stx_uid); + if (st->stx_mask & STATX_GID) + PRINT_FIELD_U32_UID(stx_gid); + + if (st->stx_mask & (STATX_TYPE|STATX_MODE)) { + printf(", stx_mode="); + print_st_mode(st->stx_mode); + } - printf(", "); - PRINT_FIELD_U(*st, stx_ino); - printf(", "); - PRINT_FIELD_U(*st, stx_size); - printf(", "); - PRINT_FIELD_U(*st, stx_blocks); + if (st->stx_mask & STATX_INO) { + printf(", "); + PRINT_FIELD_U(*st, stx_ino); + } + if (st->stx_mask & STATX_SIZE) { + printf(", "); + PRINT_FIELD_U(*st, stx_size); + } + if (st->stx_mask & STATX_BLOCKS) { + printf(", "); + PRINT_FIELD_U(*st, stx_blocks); + } printf(", stx_attributes_mask="); printflags(statx_attrs, st->stx_attributes_mask, "STATX_ATTR_???"); - PRINT_FIELD_TIME(stx_atime); - PRINT_FIELD_TIME(stx_btime); - PRINT_FIELD_TIME(stx_ctime); - PRINT_FIELD_TIME(stx_mtime); + if (st->stx_mask & STATX_ATIME) + PRINT_FIELD_TIME(stx_atime); + if (st->stx_mask & STATX_BTIME) + PRINT_FIELD_TIME(stx_btime); + if (st->stx_mask & STATX_CTIME) + PRINT_FIELD_TIME(stx_ctime); + if (st->stx_mask & STATX_MTIME) + PRINT_FIELD_TIME(stx_mtime); printf(", "); PRINT_FIELD_U(*st, stx_rdev_major); printf(", "); @@ -288,6 +304,16 @@ PRINT_FIELD_U(*st, stx_dev_major); printf(", "); PRINT_FIELD_U(*st, stx_dev_minor); + if (st->stx_mask & STATX_MNT_ID) { + printf(", "); + PRINT_FIELD_X(*st, stx_mnt_id); + } + if (st->stx_mask & STATX_DIOALIGN) { + printf(", "); + PRINT_FIELD_U(*st, stx_dio_mem_align); + printf(", "); + PRINT_FIELD_U(*st, stx_dio_offset_align); + } printf("}"); } @@ -476,12 +502,12 @@ TEST_SYSCALL_STATX_FLAGS_STR = old_flags_str; SET_MASK_INVOKE(0, "0"); - SET_MASK_INVOKE(0xffffe000U, "0xffffe000 /* STATX_??? */"); + SET_MASK_INVOKE(0xffffc000U, "0xffffc000 /* STATX_??? */"); SET_MASK_INVOKE(0xfffffffbU, "STATX_TYPE|STATX_MODE|STATX_UID|STATX_GID|STATX_ATIME|" "STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|" - "STATX_BTIME|STATX_MNT_ID|0xffffe000"); + "STATX_BTIME|STATX_MNT_ID|STATX_DIOALIGN|0xffffc000"); SET_MASK_INVOKE(STATX_UID, "STATX_UID");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/COPYING -> _service:tar_scm:strace-6.1.tar.xz/tests/COPYING
Changed
@@ -1,4 +1,4 @@ -Copyright (c) 2011-2021 The strace developers. +Copyright (c) 2011-2022 The strace developers. All rights reserved. strace test suite is free software; you can redistribute it and/or modify
View file
_service:tar_scm:strace-5.14.tar.xz/tests/Makefile.am -> _service:tar_scm:strace-6.1.tar.xz/tests/Makefile.am
Changed
@@ -1,7 +1,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,7 +11,9 @@ ARCH = @arch@ KARCH = @karch@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = MPERS_CC_FLAGS = @@ -31,8 +33,11 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) if HAVE_SELINUX_RUNTIME @@ -42,6 +47,7 @@ endif libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -88,7 +94,7 @@ # end of libtests_a_SOURCES libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} include pure_executables.am @@ -98,6 +104,10 @@ $(secontext_EXECUTABLES) \ _newselect-P \ answer \ + arch_prctl-success \ + arch_prctl-success-Xabbrev \ + arch_prctl-success-Xraw \ + arch_prctl-success-Xverbose \ attach-f-p \ attach-f-p-cmd \ attach-p-cmd-cmd \ @@ -150,6 +160,10 @@ gettid--pidns-translation \ inject-nf \ int_0x80 \ + io_uring_register-success \ + io_uring_register-success-Xabbrev \ + io_uring_register-success-Xraw \ + io_uring_register-success-Xverbose \ ioctl_block--pidns-translation \ ioctl_dm-v \ ioctl_evdev-success \ @@ -188,13 +202,38 @@ ioctl_hdio-success-v-Xabbrev \ ioctl_hdio-success-v-Xraw \ ioctl_hdio-success-v-Xverbose \ + ioctl_kd-success \ + ioctl_kd-success-Xabbrev \ + ioctl_kd-success-Xraw \ + ioctl_kd-success-Xverbose \ + ioctl_kd-success-s1024 \ + ioctl_kd-success-s1024-Xabbrev \ + ioctl_kd-success-s1024-Xraw \ + ioctl_kd-success-s1024-Xverbose \ + ioctl_lirc-success \ ioctl_loop-nv \ ioctl_loop-v \ ioctl_mtd-success \ ioctl_nsfs \ ioctl_perf-success \ + ioctl_ptp-success \ + ioctl_ptp-success-Xabbrev \ + ioctl_ptp-success-Xraw \ + ioctl_ptp-success-Xverbose \ ioctl_rtc-success \ ioctl_rtc-v \ + ioctl_seccomp \ + ioctl_seccomp--pidns-translation \ + ioctl_seccomp-success \ + ioctl_seccomp-y \ + ioctl_seccomp-y-success \ + ioctl_seccomp-y-success--pidns-translation \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev \ + ioctl_seccomp-y-success--pidns-translation-Xraw \ + ioctl_seccomp-y-success--pidns-translation-Xverbose \ + ioctl_seccomp-y-success-Xabbrev \ + ioctl_seccomp-y-success-Xraw \ + ioctl_seccomp-y-success-Xverbose \ ioctl_ubi-success \ ioctl_v4l2-success \ ioctl_v4l2-success-Xabbrev \ @@ -254,13 +293,13 @@ prctl-sched-core--pidns-translation-Xraw \ prctl-sched-core--pidns-translation-Xverbose \ prctl-sched-core-success \ - prctl-sched-core-success-Xabbrev \ - prctl-sched-core-success-Xraw \ - prctl-sched-core-success-Xverbose \ prctl-sched-core-success--pidns-translation \ prctl-sched-core-success--pidns-translation-Xabbrev \ prctl-sched-core-success--pidns-translation-Xraw \ prctl-sched-core-success--pidns-translation-Xverbose \ + prctl-sched-core-success-Xabbrev \ + prctl-sched-core-success-Xraw \ + prctl-sched-core-success-Xverbose \ prctl-seccomp-filter-v \ prctl-seccomp-strict \ prctl-securebits-success \ @@ -268,14 +307,22 @@ prctl-securebits-success-Xraw \ prctl-securebits-success-Xverbose \ prctl-set-ptracer-success \ - prctl-set-ptracer-success-Xabbrev \ - prctl-set-ptracer-success-Xraw \ - prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success--pidns-translation \ + prctl-set-ptracer-success-Xabbrev \ prctl-set-ptracer-success-Xabbrev--pidns-translation \ + prctl-set-ptracer-success-Xraw \ prctl-set-ptracer-success-Xraw--pidns-translation \ + prctl-set-ptracer-success-Xverbose \ prctl-set-ptracer-success-Xverbose--pidns-translation \ + prctl-sme-success \ + prctl-sme-success-Xabbrev \ + prctl-sme-success-Xraw \ + prctl-sme-success-Xverbose \ prctl-spec-inject \ + prctl-sve-success \ + prctl-sve-success-Xabbrev \ + prctl-sve-success-Xraw \ + prctl-sve-success-Xverbose \ prctl-tagged-addr-success \ prctl-tagged-addr-success-Xabbrev \ prctl-tagged-addr-success-Xraw \ @@ -310,6 +357,9 @@ scm_rights \ seccomp-filter-v \ seccomp-strict \ + seccomp_get_notif_sizes-success \ + segv_accerr \ + segv_pkuerr \ select-P \ set_ptracer_any \ set_sigblock \ @@ -319,11 +369,19 @@ signal_receive--pidns-translation \ sleep \ so_peercred--pidns-translation \ + sockopt-sol_socket-success \ + sockopt-sol_socket-success-Xabbrev \ + sockopt-sol_socket-success-Xraw \ + sockopt-sol_socket-success-Xverbose \ stack-fcall \ stack-fcall-attach \ stack-fcall-mangled \ status-none-threads \ status-unfinished-threads \ + strace--decode-pids-comm \ + strace-Y-0123456789 \ + strace-p-Y-p2 \ + strace-p1-Y-p \ syslog-success \ tgkill--pidns-translation \ threads-execve \ @@ -339,6 +397,7 @@ unix-pair-sendto-recvfrom \ vfork-f \ wait4-v \ + waitid-Y \ waitid-v \ xet_robust_list--pidns-translation \ xetpgid--pidns-translation \ @@ -347,6 +406,10 @@ # end of check_PROGRAMS attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -364,6 +427,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -379,6 +443,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -535,6 +602,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -543,11 +612,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -580,6 +650,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -587,6 +658,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -612,11 +684,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -627,6 +701,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -657,12 +732,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -672,8 +748,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -681,9 +760,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \
View file
_service:tar_scm:strace-5.14.tar.xz/tests/Makefile.in -> _service:tar_scm:strace-6.1.tar.xz/tests/Makefile.in
Changed
@@ -17,7 +17,7 @@ # Automake input for strace tests. # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -108,10 +108,13 @@ @USE_BUNDLED_HEADERS_TRUE@ -I$(top_srcdir)/bundled/$(OS)/include/uapi check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) _newselect-P$(EXEEXT) \ - answer$(EXEEXT) attach-f-p$(EXEEXT) attach-f-p-cmd$(EXEEXT) \ - attach-p-cmd-cmd$(EXEEXT) attach-p-cmd-p$(EXEEXT) \ - block_reset_raise_run$(EXEEXT) block_reset_run$(EXEEXT) \ - bpf-obj_get_info_by_fd$(EXEEXT) \ + answer$(EXEEXT) arch_prctl-success$(EXEEXT) \ + arch_prctl-success-Xabbrev$(EXEEXT) \ + arch_prctl-success-Xraw$(EXEEXT) \ + arch_prctl-success-Xverbose$(EXEEXT) attach-f-p$(EXEEXT) \ + attach-f-p-cmd$(EXEEXT) attach-p-cmd-cmd$(EXEEXT) \ + attach-p-cmd-p$(EXEEXT) block_reset_raise_run$(EXEEXT) \ + block_reset_run$(EXEEXT) bpf-obj_get_info_by_fd$(EXEEXT) \ bpf-obj_get_info_by_fd-prog$(EXEEXT) \ bpf-obj_get_info_by_fd-prog-v$(EXEEXT) \ bpf-obj_get_info_by_fd-v$(EXEEXT) bpf-success$(EXEEXT) \ @@ -135,8 +138,12 @@ getpid--pidns-translation$(EXEEXT) getppid$(EXEEXT) \ getsid--pidns-translation$(EXEEXT) gettid$(EXEEXT) \ gettid--pidns-translation$(EXEEXT) inject-nf$(EXEEXT) \ - int_0x80$(EXEEXT) ioctl_block--pidns-translation$(EXEEXT) \ - ioctl_dm-v$(EXEEXT) ioctl_evdev-success$(EXEEXT) \ + int_0x80$(EXEEXT) io_uring_register-success$(EXEEXT) \ + io_uring_register-success-Xabbrev$(EXEEXT) \ + io_uring_register-success-Xraw$(EXEEXT) \ + io_uring_register-success-Xverbose$(EXEEXT) \ + ioctl_block--pidns-translation$(EXEEXT) ioctl_dm-v$(EXEEXT) \ + ioctl_evdev-success$(EXEEXT) \ ioctl_evdev-success-Xabbrev$(EXEEXT) \ ioctl_evdev-success-Xraw$(EXEEXT) \ ioctl_evdev-success-Xverbose$(EXEEXT) \ @@ -171,10 +178,31 @@ ioctl_hdio-success-v$(EXEEXT) \ ioctl_hdio-success-v-Xabbrev$(EXEEXT) \ ioctl_hdio-success-v-Xraw$(EXEEXT) \ - ioctl_hdio-success-v-Xverbose$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ + ioctl_hdio-success-v-Xverbose$(EXEEXT) \ + ioctl_kd-success$(EXEEXT) ioctl_kd-success-Xabbrev$(EXEEXT) \ + ioctl_kd-success-Xraw$(EXEEXT) \ + ioctl_kd-success-Xverbose$(EXEEXT) \ + ioctl_kd-success-s1024$(EXEEXT) \ + ioctl_kd-success-s1024-Xabbrev$(EXEEXT) \ + ioctl_kd-success-s1024-Xraw$(EXEEXT) \ + ioctl_kd-success-s1024-Xverbose$(EXEEXT) \ + ioctl_lirc-success$(EXEEXT) ioctl_loop-nv$(EXEEXT) \ ioctl_loop-v$(EXEEXT) ioctl_mtd-success$(EXEEXT) \ ioctl_nsfs$(EXEEXT) ioctl_perf-success$(EXEEXT) \ - ioctl_rtc-success$(EXEEXT) ioctl_rtc-v$(EXEEXT) \ + ioctl_ptp-success$(EXEEXT) ioctl_ptp-success-Xabbrev$(EXEEXT) \ + ioctl_ptp-success-Xraw$(EXEEXT) \ + ioctl_ptp-success-Xverbose$(EXEEXT) ioctl_rtc-success$(EXEEXT) \ + ioctl_rtc-v$(EXEEXT) ioctl_seccomp$(EXEEXT) \ + ioctl_seccomp--pidns-translation$(EXEEXT) \ + ioctl_seccomp-success$(EXEEXT) ioctl_seccomp-y$(EXEEXT) \ + ioctl_seccomp-y-success$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) \ + ioctl_seccomp-y-success-Xabbrev$(EXEEXT) \ + ioctl_seccomp-y-success-Xraw$(EXEEXT) \ + ioctl_seccomp-y-success-Xverbose$(EXEEXT) \ ioctl_ubi-success$(EXEEXT) ioctl_v4l2-success$(EXEEXT) \ ioctl_v4l2-success-Xabbrev$(EXEEXT) \ ioctl_v4l2-success-Xraw$(EXEEXT) \ @@ -216,27 +244,33 @@ prctl-sched-core--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core--pidns-translation-Xverbose$(EXEEXT) \ prctl-sched-core-success$(EXEEXT) \ - prctl-sched-core-success-Xabbrev$(EXEEXT) \ - prctl-sched-core-success-Xraw$(EXEEXT) \ - prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-sched-core-success--pidns-translation$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xabbrev$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xraw$(EXEEXT) \ prctl-sched-core-success--pidns-translation-Xverbose$(EXEEXT) \ + prctl-sched-core-success-Xabbrev$(EXEEXT) \ + prctl-sched-core-success-Xraw$(EXEEXT) \ + prctl-sched-core-success-Xverbose$(EXEEXT) \ prctl-seccomp-filter-v$(EXEEXT) prctl-seccomp-strict$(EXEEXT) \ prctl-securebits-success$(EXEEXT) \ prctl-securebits-success-Xabbrev$(EXEEXT) \ prctl-securebits-success-Xraw$(EXEEXT) \ prctl-securebits-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success$(EXEEXT) \ - prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ - prctl-set-ptracer-success-Xraw$(EXEEXT) \ - prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xabbrev$(EXEEXT) \ prctl-set-ptracer-success-Xabbrev--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xraw$(EXEEXT) \ prctl-set-ptracer-success-Xraw--pidns-translation$(EXEEXT) \ + prctl-set-ptracer-success-Xverbose$(EXEEXT) \ prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) \ - prctl-spec-inject$(EXEEXT) prctl-tagged-addr-success$(EXEEXT) \ + prctl-sme-success$(EXEEXT) prctl-sme-success-Xabbrev$(EXEEXT) \ + prctl-sme-success-Xraw$(EXEEXT) \ + prctl-sme-success-Xverbose$(EXEEXT) prctl-spec-inject$(EXEEXT) \ + prctl-sve-success$(EXEEXT) prctl-sve-success-Xabbrev$(EXEEXT) \ + prctl-sve-success-Xraw$(EXEEXT) \ + prctl-sve-success-Xverbose$(EXEEXT) \ + prctl-tagged-addr-success$(EXEEXT) \ prctl-tagged-addr-success-Xabbrev$(EXEEXT) \ prctl-tagged-addr-success-Xraw$(EXEEXT) \ prctl-tagged-addr-success-Xverbose$(EXEEXT) \ @@ -261,23 +295,32 @@ sched_xetparam--pidns-translation$(EXEEXT) \ sched_xetscheduler--pidns-translation$(EXEEXT) \ scm_rights$(EXEEXT) seccomp-filter-v$(EXEEXT) \ - seccomp-strict$(EXEEXT) select-P$(EXEEXT) \ + seccomp-strict$(EXEEXT) \ + seccomp_get_notif_sizes-success$(EXEEXT) segv_accerr$(EXEEXT) \ + segv_pkuerr$(EXEEXT) select-P$(EXEEXT) \ set_ptracer_any$(EXEEXT) set_sigblock$(EXEEXT) \ set_sigign$(EXEEXT) setpgrp-exec$(EXEEXT) \ signal_receive$(EXEEXT) \ signal_receive--pidns-translation$(EXEEXT) sleep$(EXEEXT) \ - so_peercred--pidns-translation$(EXEEXT) stack-fcall$(EXEEXT) \ - stack-fcall-attach$(EXEEXT) stack-fcall-mangled$(EXEEXT) \ - status-none-threads$(EXEEXT) \ - status-unfinished-threads$(EXEEXT) syslog-success$(EXEEXT) \ - tgkill--pidns-translation$(EXEEXT) threads-execve$(EXEEXT) \ + so_peercred--pidns-translation$(EXEEXT) \ + sockopt-sol_socket-success$(EXEEXT) \ + sockopt-sol_socket-success-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-success-Xraw$(EXEEXT) \ + sockopt-sol_socket-success-Xverbose$(EXEEXT) \ + stack-fcall$(EXEEXT) stack-fcall-attach$(EXEEXT) \ + stack-fcall-mangled$(EXEEXT) status-none-threads$(EXEEXT) \ + status-unfinished-threads$(EXEEXT) \ + strace--decode-pids-comm$(EXEEXT) strace-Y-0123456789$(EXEEXT) \ + strace-p-Y-p2$(EXEEXT) strace-p1-Y-p$(EXEEXT) \ + syslog-success$(EXEEXT) tgkill--pidns-translation$(EXEEXT) \ + threads-execve$(EXEEXT) \ threads-execve--quiet-thread-execve$(EXEEXT) \ threads-execve-q$(EXEEXT) threads-execve-qq$(EXEEXT) \ threads-execve-qqq$(EXEEXT) tkill--pidns-translation$(EXEEXT) \ tracer_ppid_pgid_sid$(EXEEXT) trie_test$(EXEEXT) \ unblock_reset_raise$(EXEEXT) unix-pair-send-recv$(EXEEXT) \ unix-pair-sendto-recvfrom$(EXEEXT) vfork-f$(EXEEXT) \ - wait4-v$(EXEEXT) waitid-v$(EXEEXT) \ + wait4-v$(EXEEXT) waitid-Y$(EXEEXT) waitid-v$(EXEEXT) \ xet_robust_list--pidns-translation$(EXEEXT) \ xetpgid--pidns-translation$(EXEEXT) \ xetpriority--pidns-translation$(EXEEXT) zeroargc$(EXEEXT) @@ -285,25 +328,18 @@ TESTS = $(GEN_TESTS) $(DECODER_TESTS) $(MISC_TESTS) $(am__EXEEXT_3) subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/src/xlat/loop_flags_options.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/src/xlat/ieee802154_addr_types.m4 \ + $(top_srcdir)/src/xlat/loop_flags_options.m4 \ + $(top_srcdir)/src/xlat/nl_xfrm_types.m4 \ + $(top_srcdir)/src/xlat/ptp_pin_funcs.m4 \ + $(top_srcdir)/src/xlat/rtnl_neigh_fdb_ext_attrs.m4 \ $(top_srcdir)/src/xlat/rtnl_tc_action_attrs.m4 \ $(top_srcdir)/src/xlat/st_check_enums.m4 \ - $(top_srcdir)/src/xlat/sysctl_kern.m4 \ - $(top_srcdir)/src/xlat/sysctl_net.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_core.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_conf.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv4_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6.m4 \ - $(top_srcdir)/src/xlat/sysctl_net_ipv6_route.m4 \ - $(top_srcdir)/src/xlat/sysctl_root.m4 \ - $(top_srcdir)/src/xlat/sysctl_vm.m4 \ $(top_srcdir)/src/xlat/waitid_types.m4 \ $(top_srcdir)/m4/ax_code_coverage.m4 \ $(top_srcdir)/m4/ax_prog_cc_for_build.m4 \ $(top_srcdir)/m4/ax_valgrind_check.m4 \ $(top_srcdir)/m4/bpf_attr.m4 $(top_srcdir)/m4/mpers.m4 \ - $(top_srcdir)/m4/st_broken_cc.m4 \ $(top_srcdir)/m4/st_demangle.m4 \ $(top_srcdir)/m4/st_esyscmd_s.m4 $(top_srcdir)/m4/st_libdw.m4 \ $(top_srcdir)/m4/st_libunwind.m4 \ @@ -322,16 +358,19 @@ am__EXEEXT_1 = _newselect$(EXEEXT) accept$(EXEEXT) accept4$(EXEEXT) \ access$(EXEEXT) acct$(EXEEXT) add_key$(EXEEXT) \ adjtimex$(EXEEXT) aio$(EXEEXT) aio_pgetevents$(EXEEXT) \ - alarm$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) brk$(EXEEXT) \ - btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) chmod$(EXEEXT) \ - chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ + alarm$(EXEEXT) arch_prctl$(EXEEXT) arch_prctl-Xabbrev$(EXEEXT) \ + arch_prctl-Xraw$(EXEEXT) arch_prctl-Xverbose$(EXEEXT) \ + at_fdcwd-pathmax$(EXEEXT) bpf$(EXEEXT) bpf-v$(EXEEXT) \ + brk$(EXEEXT) btrfs$(EXEEXT) caps$(EXEEXT) chdir$(EXEEXT) \ + chmod$(EXEEXT) chown$(EXEEXT) chown32$(EXEEXT) chroot$(EXEEXT) \ clock_adjtime$(EXEEXT) clock_adjtime64$(EXEEXT) \ clock_nanosleep$(EXEEXT) clock_xettime$(EXEEXT) \ clock_xettime64$(EXEEXT) clone-flags$(EXEEXT) clone3$(EXEEXT) \ clone3-Xabbrev$(EXEEXT) clone3-Xraw$(EXEEXT) \ clone3-Xverbose$(EXEEXT) copy_file_range$(EXEEXT) \ creat$(EXEEXT) delete_module$(EXEEXT) \ - dev--decode-fds-dev$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ + dev--decode-fds-all$(EXEEXT) dev--decode-fds-dev$(EXEEXT) \ + dev--decode-fds-none$(EXEEXT) dev--decode-fds-path$(EXEEXT) \ dev--decode-fds-socket$(EXEEXT) dev-yy$(EXEEXT) dup$(EXEEXT) \ dup-P$(EXEEXT) dup-y$(EXEEXT) dup-yy$(EXEEXT) dup2$(EXEEXT) \ dup2-P$(EXEEXT) dup2-y$(EXEEXT) dup2-yy$(EXEEXT) dup3$(EXEEXT) \ @@ -360,58 +399,67 @@ fstat64-Xabbrev$(EXEEXT) fstat64-Xraw$(EXEEXT) \ fstat64-Xverbose$(EXEEXT) fstatat64$(EXEEXT) fstatfs$(EXEEXT) \ fstatfs64$(EXEEXT) fsync$(EXEEXT) ftruncate$(EXEEXT) \ - ftruncate64$(EXEEXT) futex$(EXEEXT) futimesat$(EXEEXT) \ - get_mempolicy$(EXEEXT) getcpu$(EXEEXT) getcwd$(EXEEXT) \ - getdents$(EXEEXT) getdents-v$(EXEEXT) getdents64$(EXEEXT) \ - getdents64-v$(EXEEXT) getegid$(EXEEXT) getegid32$(EXEEXT) \ - geteuid$(EXEEXT) geteuid32$(EXEEXT) getgid$(EXEEXT) \ - getgid32$(EXEEXT) getgroups$(EXEEXT) getgroups32$(EXEEXT) \ - getpeername$(EXEEXT) getpgrp$(EXEEXT) getpid$(EXEEXT) \ - getppid$(EXEEXT) getrandom$(EXEEXT) getresgid$(EXEEXT) \ - getresgid32$(EXEEXT) getresuid$(EXEEXT) getresuid32$(EXEEXT) \ - getrlimit$(EXEEXT) getrusage$(EXEEXT) getsid$(EXEEXT) \ - getsockname$(EXEEXT) getuid$(EXEEXT) getuid32$(EXEEXT) \ - getxgid$(EXEEXT) getxpid$(EXEEXT) getxuid$(EXEEXT) \ - group_req$(EXEEXT) inet-cmsg$(EXEEXT) init_module$(EXEEXT) \ - inotify$(EXEEXT) inotify_init$(EXEEXT) inotify_init-y$(EXEEXT) \ - inotify_init1$(EXEEXT) inotify_init1-y$(EXEEXT) \ - io_uring_enter$(EXEEXT) io_uring_register$(EXEEXT) \ - io_uring_setup$(EXEEXT) ioctl$(EXEEXT) ioctl_block$(EXEEXT) \ - ioctl_dm$(EXEEXT) ioctl_evdev$(EXEEXT) \ - ioctl_evdev-Xabbrev$(EXEEXT) ioctl_evdev-Xraw$(EXEEXT) \ - ioctl_evdev-Xverbose$(EXEEXT) ioctl_evdev-v$(EXEEXT) \ - ioctl_evdev-v-Xabbrev$(EXEEXT) ioctl_evdev-v-Xraw$(EXEEXT) \ - ioctl_evdev-v-Xverbose$(EXEEXT) ioctl_fiemap$(EXEEXT) \ - ioctl_fiemap-Xabbrev$(EXEEXT) ioctl_fiemap-Xraw$(EXEEXT) \ - ioctl_fiemap-Xverbose$(EXEEXT) ioctl_fs_f$(EXEEXT) \ - ioctl_fs_f-Xabbrev$(EXEEXT) ioctl_fs_f-Xraw$(EXEEXT) \ - ioctl_fs_f-Xverbose$(EXEEXT) ioctl_fs_x$(EXEEXT) \ - ioctl_fs_x-Xabbrev$(EXEEXT) ioctl_fs_x-Xraw$(EXEEXT) \ - ioctl_fs_x-Xverbose$(EXEEXT) ioctl_gpio$(EXEEXT) \ - ioctl_gpio-Xabbrev$(EXEEXT) ioctl_gpio-Xraw$(EXEEXT) \ - ioctl_gpio-Xverbose$(EXEEXT) ioctl_gpio-v$(EXEEXT) \ - ioctl_gpio-v-Xabbrev$(EXEEXT) ioctl_gpio-v-Xraw$(EXEEXT) \ - ioctl_gpio-v-Xverbose$(EXEEXT) ioctl_hdio$(EXEEXT) \ - ioctl_hdio-Xabbrev$(EXEEXT) ioctl_hdio-Xraw$(EXEEXT) \ - ioctl_hdio-Xverbose$(EXEEXT) ioctl_hdio-v$(EXEEXT) \ - ioctl_hdio-v-Xabbrev$(EXEEXT) ioctl_hdio-v-Xraw$(EXEEXT) \ - ioctl_hdio-v-Xverbose$(EXEEXT) ioctl_inotify$(EXEEXT) \ - ioctl_kvm_run$(EXEEXT) ioctl_kvm_run-v$(EXEEXT) \ - ioctl_kvm_run_auxstr_vcpu$(EXEEXT) ioctl_loop$(EXEEXT) \ - ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) ioctl_perf$(EXEEXT) \ - ioctl_ptp$(EXEEXT) ioctl_random$(EXEEXT) ioctl_rtc$(EXEEXT) \ - ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ + ftruncate64$(EXEEXT) futex$(EXEEXT) futex_waitv$(EXEEXT) \ + futimesat$(EXEEXT) get_mempolicy$(EXEEXT) getcpu$(EXEEXT) \ + getcwd$(EXEEXT) getdents$(EXEEXT) getdents-v$(EXEEXT) \ + getdents64$(EXEEXT) getdents64-v$(EXEEXT) getegid$(EXEEXT) \ + getegid32$(EXEEXT) geteuid$(EXEEXT) geteuid32$(EXEEXT) \ + getgid$(EXEEXT) getgid32$(EXEEXT) getgroups$(EXEEXT) \ + getgroups32$(EXEEXT) getpeername$(EXEEXT) getpgrp$(EXEEXT) \ + getpid$(EXEEXT) getppid$(EXEEXT) getrandom$(EXEEXT) \ + getresgid$(EXEEXT) getresgid32$(EXEEXT) getresuid$(EXEEXT) \ + getresuid32$(EXEEXT) getrlimit$(EXEEXT) getrusage$(EXEEXT) \ + getsid$(EXEEXT) getsockname$(EXEEXT) getuid$(EXEEXT) \ + getuid32$(EXEEXT) getxgid$(EXEEXT) getxpid$(EXEEXT) \ + getxuid$(EXEEXT) group_req$(EXEEXT) inet-cmsg$(EXEEXT) \ + init_module$(EXEEXT) inotify$(EXEEXT) inotify_init$(EXEEXT) \ + inotify_init-y$(EXEEXT) inotify_init1$(EXEEXT) \ + inotify_init1-y$(EXEEXT) io_uring_enter$(EXEEXT) \ + io_uring_register$(EXEEXT) io_uring_register-Xabbrev$(EXEEXT) \ + io_uring_register-Xraw$(EXEEXT) \ + io_uring_register-Xverbose$(EXEEXT) io_uring_setup$(EXEEXT) \ + ioctl$(EXEEXT) ioctl_block$(EXEEXT) ioctl_counter$(EXEEXT) \ + ioctl_counter-Xabbrev$(EXEEXT) ioctl_counter-Xraw$(EXEEXT) \ + ioctl_counter-Xverbose$(EXEEXT) ioctl_dm$(EXEEXT) \ + ioctl_evdev$(EXEEXT) ioctl_evdev-Xabbrev$(EXEEXT) \ + ioctl_evdev-Xraw$(EXEEXT) ioctl_evdev-Xverbose$(EXEEXT) \ + ioctl_evdev-v$(EXEEXT) ioctl_evdev-v-Xabbrev$(EXEEXT) \ + ioctl_evdev-v-Xraw$(EXEEXT) ioctl_evdev-v-Xverbose$(EXEEXT) \ + ioctl_fiemap$(EXEEXT) ioctl_fiemap-Xabbrev$(EXEEXT) \ + ioctl_fiemap-Xraw$(EXEEXT) ioctl_fiemap-Xverbose$(EXEEXT) \ + ioctl_fs_f$(EXEEXT) ioctl_fs_f-Xabbrev$(EXEEXT) \ + ioctl_fs_f-Xraw$(EXEEXT) ioctl_fs_f-Xverbose$(EXEEXT) \ + ioctl_fs_x$(EXEEXT) ioctl_fs_x-Xabbrev$(EXEEXT) \ + ioctl_fs_x-Xraw$(EXEEXT) ioctl_fs_x-Xverbose$(EXEEXT) \ + ioctl_gpio$(EXEEXT) ioctl_gpio-Xabbrev$(EXEEXT) \ + ioctl_gpio-Xraw$(EXEEXT) ioctl_gpio-Xverbose$(EXEEXT) \ + ioctl_gpio-v$(EXEEXT) ioctl_gpio-v-Xabbrev$(EXEEXT) \ + ioctl_gpio-v-Xraw$(EXEEXT) ioctl_gpio-v-Xverbose$(EXEEXT) \ + ioctl_hdio$(EXEEXT) ioctl_hdio-Xabbrev$(EXEEXT) \ + ioctl_hdio-Xraw$(EXEEXT) ioctl_hdio-Xverbose$(EXEEXT) \ + ioctl_hdio-v$(EXEEXT) ioctl_hdio-v-Xabbrev$(EXEEXT) \ + ioctl_hdio-v-Xraw$(EXEEXT) ioctl_hdio-v-Xverbose$(EXEEXT) \ + ioctl_inotify$(EXEEXT) ioctl_lirc$(EXEEXT) ioctl_kd$(EXEEXT) \ + ioctl_kd-Xabbrev$(EXEEXT) ioctl_kd-Xraw$(EXEEXT) \ + ioctl_kd-Xverbose$(EXEEXT) ioctl_kvm_run$(EXEEXT) \ + ioctl_kvm_run-v$(EXEEXT) ioctl_kvm_run_auxstr_vcpu$(EXEEXT) \ + ioctl_loop$(EXEEXT) ioctl_mtd$(EXEEXT) ioctl_nbd$(EXEEXT) \ + ioctl_perf$(EXEEXT) ioctl_ptp$(EXEEXT) \ + ioctl_ptp-Xabbrev$(EXEEXT) ioctl_ptp-Xraw$(EXEEXT) \ + ioctl_ptp-Xverbose$(EXEEXT) ioctl_random$(EXEEXT) \ + ioctl_rtc$(EXEEXT) ioctl_scsi$(EXEEXT) ioctl_sg_io_v3$(EXEEXT) \ ioctl_sg_io_v4$(EXEEXT) ioctl_sock$(EXEEXT) \ ioctl_sock_gifconf$(EXEEXT) ioctl_tee$(EXEEXT) \ - ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) ioctl_v4l2$(EXEEXT) \ - ioctl_v4l2-Xabbrev$(EXEEXT) ioctl_v4l2-Xraw$(EXEEXT) \ - ioctl_v4l2-Xverbose$(EXEEXT) ioctl_v4l2-v$(EXEEXT) \ - ioctl_v4l2-v-Xabbrev$(EXEEXT) ioctl_v4l2-v-Xraw$(EXEEXT) \ - ioctl_v4l2-v-Xverbose$(EXEEXT) ioctl_watchdog$(EXEEXT) \ - ioperm$(EXEEXT) iopl$(EXEEXT) ioprio$(EXEEXT) \ - ioprio-Xabbrev$(EXEEXT) ioprio-Xraw$(EXEEXT) \ - ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) ipc$(EXEEXT) \ - ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ + ioctl_termios$(EXEEXT) ioctl_termios-v$(EXEEXT) \ + ioctl_tiocm$(EXEEXT) ioctl_ubi$(EXEEXT) ioctl_uffdio$(EXEEXT) \ + ioctl_v4l2$(EXEEXT) ioctl_v4l2-Xabbrev$(EXEEXT) \ + ioctl_v4l2-Xraw$(EXEEXT) ioctl_v4l2-Xverbose$(EXEEXT) \ + ioctl_v4l2-v$(EXEEXT) ioctl_v4l2-v-Xabbrev$(EXEEXT) \ + ioctl_v4l2-v-Xraw$(EXEEXT) ioctl_v4l2-v-Xverbose$(EXEEXT) \ + ioctl_watchdog$(EXEEXT) ioctl_winsize$(EXEEXT) ioperm$(EXEEXT) \ + iopl$(EXEEXT) ioprio$(EXEEXT) ioprio-Xabbrev$(EXEEXT) \ + ioprio-Xraw$(EXEEXT) ioprio-Xverbose$(EXEEXT) ip_mreq$(EXEEXT) \ + ipc$(EXEEXT) ipc_msg$(EXEEXT) ipc_msg-Xabbrev$(EXEEXT) \ ipc_msg-Xraw$(EXEEXT) ipc_msg-Xverbose$(EXEEXT) \ ipc_msgbuf$(EXEEXT) ipc_msgbuf-Xabbrev$(EXEEXT) \ ipc_msgbuf-Xraw$(EXEEXT) ipc_msgbuf-Xverbose$(EXEEXT) \ @@ -453,7 +501,8 @@ move_pages-Xverbose$(EXEEXT) mq$(EXEEXT) mq_sendrecv$(EXEEXT) \ mq_sendrecv-read$(EXEEXT) mq_sendrecv-write$(EXEEXT) \ msg_control$(EXEEXT) msg_name$(EXEEXT) munlockall$(EXEEXT) \ - nanosleep$(EXEEXT) net--decode-fds-dev-netlink$(EXEEXT) \ + nanosleep$(EXEEXT) net--decode-fds-all-netlink$(EXEEXT) \ + net--decode-fds-dev-netlink$(EXEEXT) \ net--decode-fds-none-netlink$(EXEEXT) \ net--decode-fds-path-netlink$(EXEEXT) \ net--decode-fds-socket-netlink$(EXEEXT) \ @@ -475,19 +524,38 @@ nfnetlink_nftables$(EXEEXT) nfnetlink_osf$(EXEEXT) \ nfnetlink_queue$(EXEEXT) nfnetlink_ulog$(EXEEXT) \ nlattr$(EXEEXT) nlattr_br_port_msg$(EXEEXT) \ + nlattr_cachereport$(EXEEXT) \ + nlattr_cachereport-Xabbrev$(EXEEXT) \ + nlattr_cachereport-Xraw$(EXEEXT) \ + nlattr_cachereport-Xverbose$(EXEEXT) \ nlattr_crypto_user_alg$(EXEEXT) nlattr_dcbmsg$(EXEEXT) \ nlattr_fib_rule_hdr$(EXEEXT) nlattr_ifaddrlblmsg$(EXEEXT) \ nlattr_ifaddrmsg$(EXEEXT) nlattr_ifinfomsg$(EXEEXT) \ nlattr_ifla_af_spec$(EXEEXT) nlattr_ifla_brport$(EXEEXT) \ + nlattr_ifla_brport-Xabbrev$(EXEEXT) \ + nlattr_ifla_brport-Xraw$(EXEEXT) \ + nlattr_ifla_brport-Xverbose$(EXEEXT) \ nlattr_ifla_linkinfo$(EXEEXT) nlattr_ifla_port$(EXEEXT) \ + nlattr_ifla_protinfo$(EXEEXT) \ + nlattr_ifla_protinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_protinfo-Xraw$(EXEEXT) \ + nlattr_ifla_protinfo-Xverbose$(EXEEXT) \ nlattr_ifla_proto_down_reason$(EXEEXT) \ - nlattr_ifla_xdp$(EXEEXT) nlattr_inet_diag_msg$(EXEEXT) \ + nlattr_ifla_vfinfo$(EXEEXT) \ + nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) \ + nlattr_ifla_vfinfo-Xraw$(EXEEXT) \ + nlattr_ifla_vfinfo-Xverbose$(EXEEXT) nlattr_ifla_xdp$(EXEEXT) \ + nlattr_ifstats$(EXEEXT) nlattr_ifstats-Xabbrev$(EXEEXT) \ + nlattr_ifstats-Xraw$(EXEEXT) nlattr_ifstats-Xverbose$(EXEEXT) \ + nlattr_inet_diag_msg$(EXEEXT) \ nlattr_inet_diag_req_compat$(EXEEXT) \ nlattr_inet_diag_req_v2$(EXEEXT) \ nlattr_mdba_mdb_entry$(EXEEXT) \ nlattr_mdba_router_port$(EXEEXT) nlattr_ndmsg$(EXEEXT) \ nlattr_ndtmsg$(EXEEXT) nlattr_netconfmsg$(EXEEXT) \ - nlattr_netlink_diag_msg$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ + nlattr_netlink_diag_msg$(EXEEXT) nlattr_nhmsg$(EXEEXT) \ + nlattr_nhmsg-Xabbrev$(EXEEXT) nlattr_nhmsg-Xraw$(EXEEXT) \ + nlattr_nhmsg-Xverbose$(EXEEXT) nlattr_nlmsgerr$(EXEEXT) \ nlattr_packet_diag_msg$(EXEEXT) nlattr_rtgenmsg$(EXEEXT) \ nlattr_rtmsg$(EXEEXT) nlattr_smc_diag_msg$(EXEEXT) \ nlattr_tc_stats$(EXEEXT) nlattr_tca_stab$(EXEEXT) \ @@ -508,6 +576,8 @@ personality-Xraw$(EXEEXT) personality-Xverbose$(EXEEXT) \ pidfd_getfd$(EXEEXT) pidfd_getfd-y$(EXEEXT) \ pidfd_getfd-yy$(EXEEXT) pidfd_open$(EXEEXT) \ + pidfd_open--decode-fd-all$(EXEEXT) \ + pidfd_open--decode-fd-none$(EXEEXT) \ pidfd_open--decode-fd-path$(EXEEXT) \ pidfd_open--decode-fd-pidfd$(EXEEXT) \ pidfd_open--decode-fd-socket$(EXEEXT) pidfd_open-P$(EXEEXT) \ @@ -527,7 +597,12 @@ prctl-sched-core$(EXEEXT) prctl-sched-core-Xabbrev$(EXEEXT) \ prctl-sched-core-Xraw$(EXEEXT) \ prctl-sched-core-Xverbose$(EXEEXT) prctl-securebits$(EXEEXT) \ - prctl-sve$(EXEEXT) prctl-syscall-user-dispatch$(EXEEXT) \ + prctl-set_vma$(EXEEXT) prctl-sme$(EXEEXT) \ + prctl-sme-Xabbrev$(EXEEXT) prctl-sme-Xraw$(EXEEXT) \ + prctl-sme-Xverbose$(EXEEXT) prctl-sve$(EXEEXT) \ + prctl-sve-Xabbrev$(EXEEXT) prctl-sve-Xraw$(EXEEXT) \ + prctl-sve-Xverbose$(EXEEXT) \ + prctl-syscall-user-dispatch$(EXEEXT) \ prctl-tagged-addr$(EXEEXT) prctl-tagged-addr-Xabbrev$(EXEEXT) \ prctl-tagged-addr-Xraw$(EXEEXT) \ prctl-tagged-addr-Xverbose$(EXEEXT) prctl-tid_address$(EXEEXT) \ @@ -542,10 +617,17 @@ printstrn-umoven$(EXEEXT) printstrn-umoven-peekdata$(EXEEXT) \ printstrn-umoven-undumpable$(EXEEXT) prlimit64$(EXEEXT) \ process_madvise$(EXEEXT) process_madvise-y$(EXEEXT) \ - process_madvise-yy$(EXEEXT) process_vm_readv$(EXEEXT) \ + process_madvise-yy$(EXEEXT) process_mrelease$(EXEEXT) \ + process_mrelease-y$(EXEEXT) process_vm_readv$(EXEEXT) \ process_vm_writev$(EXEEXT) pselect6$(EXEEXT) \ pselect6_time64$(EXEEXT) ptrace$(EXEEXT) \ - ptrace_syscall_info$(EXEEXT) pwritev$(EXEEXT) \ + ptrace-Xabbrev$(EXEEXT) ptrace-Xraw$(EXEEXT) \ + ptrace-Xverbose$(EXEEXT) ptrace-y$(EXEEXT) \ + ptrace-y-Xabbrev$(EXEEXT) ptrace-y-Xraw$(EXEEXT) \ + ptrace-y-Xverbose$(EXEEXT) ptrace_syscall_info$(EXEEXT) \ + ptrace_syscall_info-Xabbrev$(EXEEXT) \ + ptrace_syscall_info-Xraw$(EXEEXT) \ + ptrace_syscall_info-Xverbose$(EXEEXT) pwritev$(EXEEXT) \ quotactl$(EXEEXT) quotactl-Xabbrev$(EXEEXT) \ quotactl-Xraw$(EXEEXT) quotactl-Xverbose$(EXEEXT) \ quotactl-xfs$(EXEEXT) quotactl_fd$(EXEEXT) \ @@ -571,12 +653,14 @@ sched_xetaffinity$(EXEEXT) sched_xetattr$(EXEEXT) \ sched_xetparam$(EXEEXT) sched_xetscheduler$(EXEEXT) \ sched_yield$(EXEEXT) seccomp-filter$(EXEEXT) \ - seccomp_get_action_avail$(EXEEXT) select$(EXEEXT) \ + seccomp_get_action_avail$(EXEEXT) \ + seccomp_get_notif_sizes$(EXEEXT) select$(EXEEXT) \ semop$(EXEEXT) semop-indirect$(EXEEXT) semtimedop$(EXEEXT) \ semtimedop-ipc$(EXEEXT) semtimedop_time64$(EXEEXT) \ sendfile$(EXEEXT) sendfile64$(EXEEXT) set_mempolicy$(EXEEXT) \ set_mempolicy-Xabbrev$(EXEEXT) set_mempolicy-Xraw$(EXEEXT) \ - set_mempolicy-Xverbose$(EXEEXT) setdomainname$(EXEEXT) \ + set_mempolicy-Xverbose$(EXEEXT) \ + set_mempolicy_home_node$(EXEEXT) setdomainname$(EXEEXT) \ setfsgid$(EXEEXT) setfsgid32$(EXEEXT) setfsuid$(EXEEXT) \ setfsuid32$(EXEEXT) setgid$(EXEEXT) setgid32$(EXEEXT) \ setgroups$(EXEEXT) setgroups32$(EXEEXT) sethostname$(EXEEXT) \ @@ -594,34 +678,43 @@ so_peercred-Xraw$(EXEEXT) so_peercred-Xverbose$(EXEEXT) \ sock_filter-v$(EXEEXT) sock_filter-v-Xabbrev$(EXEEXT) \ sock_filter-v-Xraw$(EXEEXT) sock_filter-v-Xverbose$(EXEEXT) \ - sockaddr_xlat-Xabbrev$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ - sockaddr_xlat-Xverbose$(EXEEXT) socketcall$(EXEEXT) \ - sockopt-sol_netlink$(EXEEXT) sockopt-timestamp$(EXEEXT) \ - splice$(EXEEXT) stat$(EXEEXT) stat64$(EXEEXT) statfs$(EXEEXT) \ - statfs64$(EXEEXT) status-all$(EXEEXT) status-failed$(EXEEXT) \ + sockaddr_xlat-Xabbrev$(EXEEXT) \ + sockaddr_xlat-Xabbrev-y$(EXEEXT) sockaddr_xlat-Xraw$(EXEEXT) \ + sockaddr_xlat-Xraw-y$(EXEEXT) sockaddr_xlat-Xverbose$(EXEEXT) \ + sockaddr_xlat-Xverbose-y$(EXEEXT) socketcall$(EXEEXT) \ + sockopt-sol_netlink$(EXEEXT) sockopt-sol_socket$(EXEEXT) \ + sockopt-sol_socket-Xabbrev$(EXEEXT) \ + sockopt-sol_socket-Xraw$(EXEEXT) \ + sockopt-sol_socket-Xverbose$(EXEEXT) \ + sockopt-timestamp$(EXEEXT) splice$(EXEEXT) stat$(EXEEXT) \ + stat64$(EXEEXT) statfs$(EXEEXT) statfs64$(EXEEXT) \ + status-all$(EXEEXT) status-failed$(EXEEXT) \ status-failed-long$(EXEEXT) status-failed-status$(EXEEXT) \ status-none$(EXEEXT) status-none-f$(EXEEXT) \ status-successful$(EXEEXT) status-successful-long$(EXEEXT) \ status-successful-status$(EXEEXT) status-unfinished$(EXEEXT) \ statx$(EXEEXT) strace--strings-in-hex$(EXEEXT) \ strace--strings-in-hex-all$(EXEEXT) \ - strace--strings-in-hex-non-ascii$(EXEEXT) strace-n$(EXEEXT) \ - strace-x$(EXEEXT) strace-xx$(EXEEXT) swap$(EXEEXT) \ - sxetmask$(EXEEXT) symlink$(EXEEXT) symlinkat$(EXEEXT) \ - sync$(EXEEXT) sync_file_range$(EXEEXT) \ - sync_file_range2$(EXEEXT) sysinfo$(EXEEXT) syslog$(EXEEXT) \ - tampering-notes$(EXEEXT) tee$(EXEEXT) tgkill$(EXEEXT) \ - time$(EXEEXT) timer_create$(EXEEXT) timer_xettime$(EXEEXT) \ - timerfd_xettime$(EXEEXT) times$(EXEEXT) times-fail$(EXEEXT) \ - tkill$(EXEEXT) truncate$(EXEEXT) truncate64$(EXEEXT) \ - ugetrlimit$(EXEEXT) uio$(EXEEXT) umask$(EXEEXT) \ - umount$(EXEEXT) umount2$(EXEEXT) umoven-illptr$(EXEEXT) \ - umovestr$(EXEEXT) umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) \ - umovestr3$(EXEEXT) umovestr_cached$(EXEEXT) \ - umovestr_cached_adjacent$(EXEEXT) uname$(EXEEXT) \ - unlink$(EXEEXT) unlinkat$(EXEEXT) unshare$(EXEEXT) \ - userfaultfd$(EXEEXT) ustat$(EXEEXT) utime$(EXEEXT) \ - utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ + strace--strings-in-hex-non-ascii$(EXEEXT) \ + strace--strings-in-hex-non-ascii-chars$(EXEEXT) \ + strace--strings-in-hex-none$(EXEEXT) strace-n$(EXEEXT) \ + strace-no-x$(EXEEXT) strace-x$(EXEEXT) strace-xx$(EXEEXT) \ + swap$(EXEEXT) sxetmask$(EXEEXT) symlink$(EXEEXT) \ + symlinkat$(EXEEXT) sync$(EXEEXT) sync_file_range$(EXEEXT) \ + sync_file_range2$(EXEEXT) sysctl$(EXEEXT) sysinfo$(EXEEXT) \ + syslog$(EXEEXT) tampering-notes$(EXEEXT) tee$(EXEEXT) \ + tgkill$(EXEEXT) time$(EXEEXT) timer_create$(EXEEXT) \ + timer_xettime$(EXEEXT) timerfd_xettime$(EXEEXT) times$(EXEEXT) \ + times-Xabbrev$(EXEEXT) times-Xraw$(EXEEXT) \ + times-Xverbose$(EXEEXT) times-fail$(EXEEXT) tkill$(EXEEXT) \ + truncate$(EXEEXT) truncate64$(EXEEXT) ugetrlimit$(EXEEXT) \ + uio$(EXEEXT) umask$(EXEEXT) umount$(EXEEXT) umount2$(EXEEXT) \ + umoven-illptr$(EXEEXT) umovestr$(EXEEXT) \ + umovestr-illptr$(EXEEXT) umovestr2$(EXEEXT) umovestr3$(EXEEXT) \ + umovestr_cached$(EXEEXT) umovestr_cached_adjacent$(EXEEXT) \ + uname$(EXEEXT) unlink$(EXEEXT) unlinkat$(EXEEXT) \ + unshare$(EXEEXT) userfaultfd$(EXEEXT) ustat$(EXEEXT) \ + utime$(EXEEXT) utimensat$(EXEEXT) utimensat-Xabbrev$(EXEEXT) \ utimensat-Xraw$(EXEEXT) utimensat-Xverbose$(EXEEXT) \ utimes$(EXEEXT) vhangup$(EXEEXT) vmsplice$(EXEEXT) \ wait4$(EXEEXT) waitid$(EXEEXT) waitpid$(EXEEXT) xattr$(EXEEXT) \ @@ -629,25 +722,59 @@ xet_thread_area_x86$(EXEEXT) xetitimer$(EXEEXT) \ xetpgid$(EXEEXT) xetpriority$(EXEEXT) xettimeofday$(EXEEXT) am__EXEEXT_2 = access--secontext$(EXEEXT) \ - access--secontext_full$(EXEEXT) chmod--secontext$(EXEEXT) \ - chmod--secontext_full$(EXEEXT) execve--secontext$(EXEEXT) \ - execve--secontext_full$(EXEEXT) execveat--secontext$(EXEEXT) \ - execveat--secontext_full$(EXEEXT) \ + access--secontext_full$(EXEEXT) \ + access--secontext_full_mismatch$(EXEEXT) \ + access--secontext_mismatch$(EXEEXT) chmod--secontext$(EXEEXT) \ + chmod--secontext_full$(EXEEXT) \ + chmod--secontext_full_mismatch$(EXEEXT) \ + chmod--secontext_mismatch$(EXEEXT) execve--secontext$(EXEEXT) \ + execve--secontext_full$(EXEEXT) \ + execve--secontext_full_mismatch$(EXEEXT) \ + execve--secontext_mismatch$(EXEEXT) \ + execveat--secontext$(EXEEXT) execveat--secontext_full$(EXEEXT) \ + execveat--secontext_full_mismatch$(EXEEXT) \ + execveat--secontext_mismatch$(EXEEXT) \ faccessat--secontext$(EXEEXT) \ faccessat--secontext_full$(EXEEXT) \ + faccessat--secontext_full_mismatch$(EXEEXT) \ + faccessat--secontext_mismatch$(EXEEXT) \ faccessat-y--secontext$(EXEEXT) \ faccessat-y--secontext_full$(EXEEXT) \ + faccessat-y--secontext_full_mismatch$(EXEEXT) \ + faccessat-y--secontext_mismatch$(EXEEXT) \ fanotify_mark--secontext$(EXEEXT) \ fanotify_mark--secontext_full$(EXEEXT) \ + fanotify_mark--secontext_full_mismatch$(EXEEXT) \ + fanotify_mark--secontext_mismatch$(EXEEXT) \ fchmod--secontext$(EXEEXT) fchmod--secontext_full$(EXEEXT) \ + fchmod--secontext_full_mismatch$(EXEEXT) \ + fchmod--secontext_mismatch$(EXEEXT) \ fchmod-y--secontext$(EXEEXT) fchmod-y--secontext_full$(EXEEXT) \ + fchmod-y--secontext_full_mismatch$(EXEEXT) \ + fchmod-y--secontext_mismatch$(EXEEXT) \ fchmodat--secontext$(EXEEXT) fchmodat--secontext_full$(EXEEXT) \ + fchmodat--secontext_full_mismatch$(EXEEXT) \ + fchmodat--secontext_mismatch$(EXEEXT) \ fchownat--secontext$(EXEEXT) fchownat--secontext_full$(EXEEXT) \ + fchownat--secontext_full_mismatch$(EXEEXT) \ + fchownat--secontext_mismatch$(EXEEXT) \ file_handle--secontext$(EXEEXT) \ file_handle--secontext_full$(EXEEXT) \ + file_handle--secontext_full_mismatch$(EXEEXT) \ + file_handle--secontext_mismatch$(EXEEXT) \ + getsockname--secontext$(EXEEXT) \ + getsockname--secontext_full$(EXEEXT) \ + getsockname--secontext_full_mismatch$(EXEEXT) \ + getsockname--secontext_mismatch$(EXEEXT) \ linkat--secontext$(EXEEXT) linkat--secontext_full$(EXEEXT) \ - open--secontext$(EXEEXT) open--secontext_full$(EXEEXT) \ - openat--secontext$(EXEEXT) openat--secontext_full$(EXEEXT) + linkat--secontext_full_mismatch$(EXEEXT) \ + linkat--secontext_mismatch$(EXEEXT) open--secontext$(EXEEXT) \ + open--secontext_full$(EXEEXT) \ + open--secontext_full_mismatch$(EXEEXT) \ + open--secontext_mismatch$(EXEEXT) openat--secontext$(EXEEXT) \ + openat--secontext_full$(EXEEXT) \ + openat--secontext_full_mismatch$(EXEEXT) \ + openat--secontext_mismatch$(EXEEXT) ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) @@ -655,7 +782,8 @@ am__v_AR_1 = libtests_a_AR = $(AR) $(ARFLAGS) libtests_a_LIBADD = -am_libtests_a_OBJECTS = libtests_a-create_nl_socket.$(OBJEXT) \ +am_libtests_a_OBJECTS = libtests_a-clock_t_str.$(OBJEXT) \ + libtests_a-create_nl_socket.$(OBJEXT) \ libtests_a-create_tmpfile.$(OBJEXT) libtests_a-dirfd.$(OBJEXT) \ libtests_a-errno2name.$(OBJEXT) libtests_a-error_msg.$(OBJEXT) \ libtests_a-fill_memory.$(OBJEXT) \ @@ -690,3671 +818,4663 @@ _newselect_SOURCES = _newselect.c _newselect_OBJECTS = _newselect.$(OBJEXT) _newselect_LDADD = $(LDADD) -_newselect_DEPENDENCIES = libtests.a +am__DEPENDENCIES_1 = +_newselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) _newselect_P_SOURCES = _newselect-P.c _newselect_P_OBJECTS = _newselect-P.$(OBJEXT) _newselect_P_LDADD = $(LDADD) -_newselect_P_DEPENDENCIES = libtests.a +_newselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept_SOURCES = accept.c accept_OBJECTS = accept.$(OBJEXT) accept_LDADD = $(LDADD) -accept_DEPENDENCIES = libtests.a +accept_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) accept4_SOURCES = accept4.c accept4_OBJECTS = accept4.$(OBJEXT) accept4_LDADD = $(LDADD) -accept4_DEPENDENCIES = libtests.a +accept4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access_SOURCES = access.c access_OBJECTS = access.$(OBJEXT) access_LDADD = $(LDADD) -access_DEPENDENCIES = libtests.a +access_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) access__secontext_SOURCES = access--secontext.c access__secontext_OBJECTS = access--secontext.$(OBJEXT) -am__DEPENDENCIES_1 = -@HAVE_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) -access__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +am__DEPENDENCIES_2 = libtests.a $(am__DEPENDENCIES_1) +@HAVE_SELINUX_RUNTIME_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) +access__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) access__secontext_full_SOURCES = access--secontext_full.c access__secontext_full_OBJECTS = access--secontext_full.$(OBJEXT) -access__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +access__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_full_mismatch_SOURCES = \ + access--secontext_full_mismatch.c +access__secontext_full_mismatch_OBJECTS = \ + access--secontext_full_mismatch.$(OBJEXT) +access__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +access__secontext_mismatch_SOURCES = access--secontext_mismatch.c +access__secontext_mismatch_OBJECTS = \ + access--secontext_mismatch.$(OBJEXT) +access__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) acct_SOURCES = acct.c acct_OBJECTS = acct.$(OBJEXT) acct_LDADD = $(LDADD) -acct_DEPENDENCIES = libtests.a +acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) add_key_SOURCES = add_key.c add_key_OBJECTS = add_key.$(OBJEXT) add_key_LDADD = $(LDADD) -add_key_DEPENDENCIES = libtests.a +add_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) adjtimex_SOURCES = adjtimex.c adjtimex_OBJECTS = adjtimex.$(OBJEXT) adjtimex_LDADD = $(LDADD) -adjtimex_DEPENDENCIES = libtests.a +adjtimex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_SOURCES = aio.c aio_OBJECTS = aio.$(OBJEXT) aio_LDADD = $(LDADD) -aio_DEPENDENCIES = libtests.a +aio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) aio_pgetevents_SOURCES = aio_pgetevents.c aio_pgetevents_OBJECTS = aio_pgetevents.$(OBJEXT) aio_pgetevents_LDADD = $(LDADD) -aio_pgetevents_DEPENDENCIES = libtests.a +aio_pgetevents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) alarm_SOURCES = alarm.c alarm_OBJECTS = alarm.$(OBJEXT) alarm_LDADD = $(LDADD) -alarm_DEPENDENCIES = libtests.a +alarm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) answer_SOURCES = answer.c answer_OBJECTS = answer.$(OBJEXT) answer_LDADD = $(LDADD) -answer_DEPENDENCIES = libtests.a +answer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_SOURCES = arch_prctl.c +arch_prctl_OBJECTS = arch_prctl.$(OBJEXT) +arch_prctl_LDADD = $(LDADD) +arch_prctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xabbrev_SOURCES = arch_prctl-Xabbrev.c +arch_prctl_Xabbrev_OBJECTS = arch_prctl-Xabbrev.$(OBJEXT) +arch_prctl_Xabbrev_LDADD = $(LDADD) +arch_prctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xraw_SOURCES = arch_prctl-Xraw.c +arch_prctl_Xraw_OBJECTS = arch_prctl-Xraw.$(OBJEXT) +arch_prctl_Xraw_LDADD = $(LDADD) +arch_prctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_Xverbose_SOURCES = arch_prctl-Xverbose.c +arch_prctl_Xverbose_OBJECTS = arch_prctl-Xverbose.$(OBJEXT) +arch_prctl_Xverbose_LDADD = $(LDADD) +arch_prctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_SOURCES = arch_prctl-success.c +arch_prctl_success_OBJECTS = arch_prctl-success.$(OBJEXT) +arch_prctl_success_LDADD = $(LDADD) +arch_prctl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +arch_prctl_success_Xabbrev_SOURCES = arch_prctl-success-Xabbrev.c +arch_prctl_success_Xabbrev_OBJECTS = \ + arch_prctl-success-Xabbrev.$(OBJEXT) +arch_prctl_success_Xabbrev_LDADD = $(LDADD) +arch_prctl_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xraw_SOURCES = arch_prctl-success-Xraw.c +arch_prctl_success_Xraw_OBJECTS = arch_prctl-success-Xraw.$(OBJEXT) +arch_prctl_success_Xraw_LDADD = $(LDADD) +arch_prctl_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +arch_prctl_success_Xverbose_SOURCES = arch_prctl-success-Xverbose.c +arch_prctl_success_Xverbose_OBJECTS = \ + arch_prctl-success-Xverbose.$(OBJEXT) +arch_prctl_success_Xverbose_LDADD = $(LDADD) +arch_prctl_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +at_fdcwd_pathmax_SOURCES = at_fdcwd-pathmax.c +at_fdcwd_pathmax_OBJECTS = at_fdcwd-pathmax.$(OBJEXT) +at_fdcwd_pathmax_LDADD = $(LDADD) +at_fdcwd_pathmax_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_f_p_SOURCES = attach-f-p.c attach_f_p_OBJECTS = attach-f-p.$(OBJEXT) -attach_f_p_DEPENDENCIES = $(LDADD) +attach_f_p_DEPENDENCIES = $(am__DEPENDENCIES_2) attach_f_p_cmd_SOURCES = attach-f-p-cmd.c attach_f_p_cmd_OBJECTS = attach-f-p-cmd.$(OBJEXT) attach_f_p_cmd_LDADD = $(LDADD) -attach_f_p_cmd_DEPENDENCIES = libtests.a +attach_f_p_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_cmd_SOURCES = attach-p-cmd-cmd.c attach_p_cmd_cmd_OBJECTS = attach-p-cmd-cmd.$(OBJEXT) attach_p_cmd_cmd_LDADD = $(LDADD) -attach_p_cmd_cmd_DEPENDENCIES = libtests.a +attach_p_cmd_cmd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) attach_p_cmd_p_SOURCES = attach-p-cmd-p.c attach_p_cmd_p_OBJECTS = attach-p-cmd-p.$(OBJEXT) attach_p_cmd_p_LDADD = $(LDADD) -attach_p_cmd_p_DEPENDENCIES = libtests.a +attach_p_cmd_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_raise_run_SOURCES = block_reset_raise_run.c block_reset_raise_run_OBJECTS = block_reset_raise_run.$(OBJEXT) block_reset_raise_run_LDADD = $(LDADD) -block_reset_raise_run_DEPENDENCIES = libtests.a +block_reset_raise_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) block_reset_run_SOURCES = block_reset_run.c block_reset_run_OBJECTS = block_reset_run.$(OBJEXT) block_reset_run_LDADD = $(LDADD) -block_reset_run_DEPENDENCIES = libtests.a +block_reset_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_SOURCES = bpf.c bpf_OBJECTS = bpf.$(OBJEXT) bpf_LDADD = $(LDADD) -bpf_DEPENDENCIES = libtests.a +bpf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_obj_get_info_by_fd_SOURCES = bpf-obj_get_info_by_fd.c bpf_obj_get_info_by_fd_OBJECTS = bpf-obj_get_info_by_fd.$(OBJEXT) -bpf_obj_get_info_by_fd_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_SOURCES = bpf-obj_get_info_by_fd-prog.c bpf_obj_get_info_by_fd_prog_OBJECTS = \ bpf-obj_get_info_by_fd-prog.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_prog_v_SOURCES = \ bpf-obj_get_info_by_fd-prog-v.c bpf_obj_get_info_by_fd_prog_v_OBJECTS = \ bpf-obj_get_info_by_fd-prog-v.$(OBJEXT) -bpf_obj_get_info_by_fd_prog_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_prog_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_obj_get_info_by_fd_v_SOURCES = bpf-obj_get_info_by_fd-v.c bpf_obj_get_info_by_fd_v_OBJECTS = bpf-obj_get_info_by_fd-v.$(OBJEXT) -bpf_obj_get_info_by_fd_v_LDADD = $(LDADD) -bpf_obj_get_info_by_fd_v_DEPENDENCIES = libtests.a +bpf_obj_get_info_by_fd_v_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) bpf_success_SOURCES = bpf-success.c bpf_success_OBJECTS = bpf-success.$(OBJEXT) bpf_success_LDADD = $(LDADD) -bpf_success_DEPENDENCIES = libtests.a +bpf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_long_y_SOURCES = bpf-success-long-y.c bpf_success_long_y_OBJECTS = bpf-success-long-y.$(OBJEXT) bpf_success_long_y_LDADD = $(LDADD) -bpf_success_long_y_DEPENDENCIES = libtests.a +bpf_success_long_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_success_v_SOURCES = bpf-success-v.c bpf_success_v_OBJECTS = bpf-success-v.$(OBJEXT) bpf_success_v_LDADD = $(LDADD) -bpf_success_v_DEPENDENCIES = libtests.a +bpf_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) bpf_v_SOURCES = bpf-v.c bpf_v_OBJECTS = bpf-v.$(OBJEXT) bpf_v_LDADD = $(LDADD) -bpf_v_DEPENDENCIES = libtests.a +bpf_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) brk_SOURCES = brk.c brk_OBJECTS = brk.$(OBJEXT) brk_LDADD = $(LDADD) -brk_DEPENDENCIES = libtests.a +brk_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) btrfs_SOURCES = btrfs.c btrfs_OBJECTS = btrfs.$(OBJEXT) btrfs_LDADD = $(LDADD) -btrfs_DEPENDENCIES = libtests.a +btrfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_SOURCES = caps.c caps_OBJECTS = caps.$(OBJEXT) caps_LDADD = $(LDADD) -caps_DEPENDENCIES = libtests.a +caps_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) caps_abbrev_SOURCES = caps-abbrev.c caps_abbrev_OBJECTS = caps-abbrev.$(OBJEXT) caps_abbrev_LDADD = $(LDADD) -caps_abbrev_DEPENDENCIES = libtests.a +caps_abbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chdir_SOURCES = chdir.c chdir_OBJECTS = chdir.$(OBJEXT) chdir_LDADD = $(LDADD) -chdir_DEPENDENCIES = libtests.a +chdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigblock_SOURCES = check_sigblock.c check_sigblock_OBJECTS = check_sigblock.$(OBJEXT) check_sigblock_LDADD = $(LDADD) -check_sigblock_DEPENDENCIES = libtests.a +check_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) check_sigign_SOURCES = check_sigign.c check_sigign_OBJECTS = check_sigign.$(OBJEXT) check_sigign_LDADD = $(LDADD) -check_sigign_DEPENDENCIES = libtests.a +check_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod_SOURCES = chmod.c chmod_OBJECTS = chmod.$(OBJEXT) chmod_LDADD = $(LDADD) -chmod_DEPENDENCIES = libtests.a +chmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chmod__secontext_SOURCES = chmod--secontext.c chmod__secontext_OBJECTS = chmod--secontext.$(OBJEXT) -chmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chmod__secontext_full_SOURCES = chmod--secontext_full.c chmod__secontext_full_OBJECTS = chmod--secontext_full.$(OBJEXT) -chmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +chmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_full_mismatch_SOURCES = \ + chmod--secontext_full_mismatch.c +chmod__secontext_full_mismatch_OBJECTS = \ + chmod--secontext_full_mismatch.$(OBJEXT) +chmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +chmod__secontext_mismatch_SOURCES = chmod--secontext_mismatch.c +chmod__secontext_mismatch_OBJECTS = \ + chmod--secontext_mismatch.$(OBJEXT) +chmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) chown_SOURCES = chown.c chown_OBJECTS = chown.$(OBJEXT) chown_LDADD = $(LDADD) -chown_DEPENDENCIES = libtests.a +chown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chown32_SOURCES = chown32.c chown32_OBJECTS = chown32.$(OBJEXT) chown32_LDADD = $(LDADD) -chown32_DEPENDENCIES = libtests.a +chown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) chroot_SOURCES = chroot.c chroot_OBJECTS = chroot.$(OBJEXT) chroot_LDADD = $(LDADD) -chroot_DEPENDENCIES = libtests.a +chroot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime_SOURCES = clock_adjtime.c clock_adjtime_OBJECTS = clock_adjtime.$(OBJEXT) clock_adjtime_LDADD = $(LDADD) -clock_adjtime_DEPENDENCIES = libtests.a +clock_adjtime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_adjtime64_SOURCES = clock_adjtime64.c clock_adjtime64_OBJECTS = clock_adjtime64.$(OBJEXT) clock_adjtime64_LDADD = $(LDADD) -clock_adjtime64_DEPENDENCIES = libtests.a +clock_adjtime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_nanosleep_SOURCES = clock_nanosleep.c clock_nanosleep_OBJECTS = clock_nanosleep.$(OBJEXT) clock_nanosleep_LDADD = $(LDADD) -clock_nanosleep_DEPENDENCIES = libtests.a +clock_nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime_SOURCES = clock_xettime.c clock_xettime_OBJECTS = clock_xettime.$(OBJEXT) clock_xettime_LDADD = $(LDADD) -clock_xettime_DEPENDENCIES = libtests.a +clock_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clock_xettime64_SOURCES = clock_xettime64.c clock_xettime64_OBJECTS = clock_xettime64.$(OBJEXT) clock_xettime64_LDADD = $(LDADD) -clock_xettime64_DEPENDENCIES = libtests.a +clock_xettime64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_flags_SOURCES = clone-flags.c clone_flags_OBJECTS = clone-flags.$(OBJEXT) clone_flags_LDADD = $(LDADD) -clone_flags_DEPENDENCIES = libtests.a +clone_flags_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_SOURCES = clone3.c clone3_OBJECTS = clone3.$(OBJEXT) clone3_LDADD = $(LDADD) -clone3_DEPENDENCIES = libtests.a +clone3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xabbrev_SOURCES = clone3-Xabbrev.c clone3_Xabbrev_OBJECTS = clone3-Xabbrev.$(OBJEXT) clone3_Xabbrev_LDADD = $(LDADD) -clone3_Xabbrev_DEPENDENCIES = libtests.a +clone3_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xraw_SOURCES = clone3-Xraw.c clone3_Xraw_OBJECTS = clone3-Xraw.$(OBJEXT) clone3_Xraw_LDADD = $(LDADD) -clone3_Xraw_DEPENDENCIES = libtests.a +clone3_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_Xverbose_SOURCES = clone3-Xverbose.c clone3_Xverbose_OBJECTS = clone3-Xverbose.$(OBJEXT) clone3_Xverbose_LDADD = $(LDADD) -clone3_Xverbose_DEPENDENCIES = libtests.a +clone3_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_SOURCES = clone3-success.c clone3_success_OBJECTS = clone3-success.$(OBJEXT) clone3_success_LDADD = $(LDADD) -clone3_success_DEPENDENCIES = libtests.a +clone3_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xabbrev_SOURCES = clone3-success-Xabbrev.c clone3_success_Xabbrev_OBJECTS = clone3-success-Xabbrev.$(OBJEXT) clone3_success_Xabbrev_LDADD = $(LDADD) -clone3_success_Xabbrev_DEPENDENCIES = libtests.a +clone3_success_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xraw_SOURCES = clone3-success-Xraw.c clone3_success_Xraw_OBJECTS = clone3-success-Xraw.$(OBJEXT) clone3_success_Xraw_LDADD = $(LDADD) -clone3_success_Xraw_DEPENDENCIES = libtests.a +clone3_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone3_success_Xverbose_SOURCES = clone3-success-Xverbose.c clone3_success_Xverbose_OBJECTS = clone3-success-Xverbose.$(OBJEXT) clone3_success_Xverbose_LDADD = $(LDADD) -clone3_success_Xverbose_DEPENDENCIES = libtests.a +clone3_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_SOURCES = clone_parent.c clone_parent_OBJECTS = clone_parent.$(OBJEXT) clone_parent_LDADD = $(LDADD) -clone_parent_DEPENDENCIES = libtests.a +clone_parent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent__quiet_exit_SOURCES = clone_parent--quiet-exit.c clone_parent__quiet_exit_OBJECTS = clone_parent--quiet-exit.$(OBJEXT) clone_parent__quiet_exit_LDADD = $(LDADD) -clone_parent__quiet_exit_DEPENDENCIES = libtests.a +clone_parent__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_parent_q_SOURCES = clone_parent-q.c clone_parent_q_OBJECTS = clone_parent-q.$(OBJEXT) clone_parent_q_LDADD = $(LDADD) -clone_parent_q_DEPENDENCIES = libtests.a +clone_parent_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_parent_qq_SOURCES = clone_parent-qq.c clone_parent_qq_OBJECTS = clone_parent-qq.$(OBJEXT) clone_parent_qq_LDADD = $(LDADD) -clone_parent_qq_DEPENDENCIES = libtests.a +clone_parent_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_SOURCES = clone_ptrace.c clone_ptrace_OBJECTS = clone_ptrace.$(OBJEXT) clone_ptrace_LDADD = $(LDADD) -clone_ptrace_DEPENDENCIES = libtests.a +clone_ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace__quiet_attach_SOURCES = clone_ptrace--quiet-attach.c clone_ptrace__quiet_attach_OBJECTS = \ clone_ptrace--quiet-attach.$(OBJEXT) clone_ptrace__quiet_attach_LDADD = $(LDADD) -clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a +clone_ptrace__quiet_attach_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace__quiet_exit_SOURCES = clone_ptrace--quiet-exit.c clone_ptrace__quiet_exit_OBJECTS = clone_ptrace--quiet-exit.$(OBJEXT) clone_ptrace__quiet_exit_LDADD = $(LDADD) -clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a +clone_ptrace__quiet_exit_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) clone_ptrace_q_SOURCES = clone_ptrace-q.c clone_ptrace_q_OBJECTS = clone_ptrace-q.$(OBJEXT) clone_ptrace_q_LDADD = $(LDADD) -clone_ptrace_q_DEPENDENCIES = libtests.a +clone_ptrace_q_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) clone_ptrace_qq_SOURCES = clone_ptrace-qq.c clone_ptrace_qq_OBJECTS = clone_ptrace-qq.$(OBJEXT) clone_ptrace_qq_LDADD = $(LDADD) -clone_ptrace_qq_DEPENDENCIES = libtests.a +clone_ptrace_qq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) close_range_SOURCES = close_range.c close_range_OBJECTS = close_range.$(OBJEXT) close_range_LDADD = $(LDADD) -close_range_DEPENDENCIES = libtests.a +close_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) copy_file_range_SOURCES = copy_file_range.c copy_file_range_OBJECTS = copy_file_range.$(OBJEXT) copy_file_range_LDADD = $(LDADD) -copy_file_range_DEPENDENCIES = libtests.a +copy_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) count_f_SOURCES = count-f.c count_f_OBJECTS = count-f.$(OBJEXT) -count_f_DEPENDENCIES = $(LDADD) +count_f_DEPENDENCIES = $(am__DEPENDENCIES_2) creat_SOURCES = creat.c creat_OBJECTS = creat.$(OBJEXT) creat_LDADD = $(LDADD) -creat_DEPENDENCIES = libtests.a +creat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) delay_SOURCES = delay.c delay_OBJECTS = delay.$(OBJEXT) -delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +delay_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) delete_module_SOURCES = delete_module.c delete_module_OBJECTS = delete_module.$(OBJEXT) delete_module_LDADD = $(LDADD) -delete_module_DEPENDENCIES = libtests.a +delete_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_all_SOURCES = dev--decode-fds-all.c +dev__decode_fds_all_OBJECTS = dev--decode-fds-all.$(OBJEXT) +dev__decode_fds_all_LDADD = $(LDADD) +dev__decode_fds_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_dev_SOURCES = dev--decode-fds-dev.c dev__decode_fds_dev_OBJECTS = dev--decode-fds-dev.$(OBJEXT) dev__decode_fds_dev_LDADD = $(LDADD) -dev__decode_fds_dev_DEPENDENCIES = libtests.a +dev__decode_fds_dev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +dev__decode_fds_none_SOURCES = dev--decode-fds-none.c +dev__decode_fds_none_OBJECTS = dev--decode-fds-none.$(OBJEXT) +dev__decode_fds_none_LDADD = $(LDADD) +dev__decode_fds_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_path_SOURCES = dev--decode-fds-path.c dev__decode_fds_path_OBJECTS = dev--decode-fds-path.$(OBJEXT) dev__decode_fds_path_LDADD = $(LDADD) -dev__decode_fds_path_DEPENDENCIES = libtests.a +dev__decode_fds_path_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev__decode_fds_socket_SOURCES = dev--decode-fds-socket.c dev__decode_fds_socket_OBJECTS = dev--decode-fds-socket.$(OBJEXT) dev__decode_fds_socket_LDADD = $(LDADD) -dev__decode_fds_socket_DEPENDENCIES = libtests.a +dev__decode_fds_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dev_yy_SOURCES = dev-yy.c dev_yy_OBJECTS = dev-yy.$(OBJEXT) dev_yy_LDADD = $(LDADD) -dev_yy_DEPENDENCIES = libtests.a +dev_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_SOURCES = dup.c dup_OBJECTS = dup.$(OBJEXT) dup_LDADD = $(LDADD) -dup_DEPENDENCIES = libtests.a +dup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_P_SOURCES = dup-P.c dup_P_OBJECTS = dup-P.$(OBJEXT) dup_P_LDADD = $(LDADD) -dup_P_DEPENDENCIES = libtests.a +dup_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_y_SOURCES = dup-y.c dup_y_OBJECTS = dup-y.$(OBJEXT) dup_y_LDADD = $(LDADD) -dup_y_DEPENDENCIES = libtests.a +dup_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup_yy_SOURCES = dup-yy.c dup_yy_OBJECTS = dup-yy.$(OBJEXT) dup_yy_LDADD = $(LDADD) -dup_yy_DEPENDENCIES = libtests.a +dup_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_SOURCES = dup2.c dup2_OBJECTS = dup2.$(OBJEXT) dup2_LDADD = $(LDADD) -dup2_DEPENDENCIES = libtests.a +dup2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_P_SOURCES = dup2-P.c dup2_P_OBJECTS = dup2-P.$(OBJEXT) dup2_P_LDADD = $(LDADD) -dup2_P_DEPENDENCIES = libtests.a +dup2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_y_SOURCES = dup2-y.c dup2_y_OBJECTS = dup2-y.$(OBJEXT) dup2_y_LDADD = $(LDADD) -dup2_y_DEPENDENCIES = libtests.a +dup2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup2_yy_SOURCES = dup2-yy.c dup2_yy_OBJECTS = dup2-yy.$(OBJEXT) dup2_yy_LDADD = $(LDADD) -dup2_yy_DEPENDENCIES = libtests.a +dup2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_SOURCES = dup3.c dup3_OBJECTS = dup3.$(OBJEXT) dup3_LDADD = $(LDADD) -dup3_DEPENDENCIES = libtests.a +dup3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_P_SOURCES = dup3-P.c dup3_P_OBJECTS = dup3-P.$(OBJEXT) dup3_P_LDADD = $(LDADD) -dup3_P_DEPENDENCIES = libtests.a +dup3_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_y_SOURCES = dup3-y.c dup3_y_OBJECTS = dup3-y.$(OBJEXT) dup3_y_LDADD = $(LDADD) -dup3_y_DEPENDENCIES = libtests.a +dup3_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) dup3_yy_SOURCES = dup3-yy.c dup3_yy_OBJECTS = dup3-yy.$(OBJEXT) dup3_yy_LDADD = $(LDADD) -dup3_yy_DEPENDENCIES = libtests.a +dup3_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create_SOURCES = epoll_create.c epoll_create_OBJECTS = epoll_create.$(OBJEXT) epoll_create_LDADD = $(LDADD) -epoll_create_DEPENDENCIES = libtests.a +epoll_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_create1_SOURCES = epoll_create1.c epoll_create1_OBJECTS = epoll_create1.$(OBJEXT) epoll_create1_LDADD = $(LDADD) -epoll_create1_DEPENDENCIES = libtests.a +epoll_create1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_ctl_SOURCES = epoll_ctl.c epoll_ctl_OBJECTS = epoll_ctl.$(OBJEXT) epoll_ctl_LDADD = $(LDADD) -epoll_ctl_DEPENDENCIES = libtests.a +epoll_ctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait_SOURCES = epoll_pwait.c epoll_pwait_OBJECTS = epoll_pwait.$(OBJEXT) epoll_pwait_LDADD = $(LDADD) -epoll_pwait_DEPENDENCIES = libtests.a +epoll_pwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_SOURCES = epoll_pwait2.c epoll_pwait2_OBJECTS = epoll_pwait2.$(OBJEXT) epoll_pwait2_LDADD = $(LDADD) -epoll_pwait2_DEPENDENCIES = libtests.a +epoll_pwait2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_P_SOURCES = epoll_pwait2-P.c epoll_pwait2_P_OBJECTS = epoll_pwait2-P.$(OBJEXT) epoll_pwait2_P_LDADD = $(LDADD) -epoll_pwait2_P_DEPENDENCIES = libtests.a +epoll_pwait2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_pwait2_y_SOURCES = epoll_pwait2-y.c epoll_pwait2_y_OBJECTS = epoll_pwait2-y.$(OBJEXT) epoll_pwait2_y_LDADD = $(LDADD) -epoll_pwait2_y_DEPENDENCIES = libtests.a +epoll_pwait2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) epoll_wait_SOURCES = epoll_wait.c epoll_wait_OBJECTS = epoll_wait.$(OBJEXT) epoll_wait_LDADD = $(LDADD) -epoll_wait_DEPENDENCIES = libtests.a +epoll_wait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) erestartsys_SOURCES = erestartsys.c erestartsys_OBJECTS = erestartsys.$(OBJEXT) erestartsys_LDADD = $(LDADD) -erestartsys_DEPENDENCIES = libtests.a +erestartsys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) eventfd_SOURCES = eventfd.c eventfd_OBJECTS = eventfd.$(OBJEXT) eventfd_LDADD = $(LDADD) -eventfd_DEPENDENCIES = libtests.a +eventfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve_SOURCES = execve.c execve_OBJECTS = execve.$(OBJEXT) execve_LDADD = $(LDADD) -execve_DEPENDENCIES = libtests.a +execve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execve__secontext_SOURCES = execve--secontext.c execve__secontext_OBJECTS = execve--secontext.$(OBJEXT) -execve__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve__secontext_full_SOURCES = execve--secontext_full.c execve__secontext_full_OBJECTS = execve--secontext_full.$(OBJEXT) -execve__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execve__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_full_mismatch_SOURCES = \ + execve--secontext_full_mismatch.c +execve__secontext_full_mismatch_OBJECTS = \ + execve--secontext_full_mismatch.$(OBJEXT) +execve__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execve__secontext_mismatch_SOURCES = execve--secontext_mismatch.c +execve__secontext_mismatch_OBJECTS = \ + execve--secontext_mismatch.$(OBJEXT) +execve__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execve_v_SOURCES = execve-v.c execve_v_OBJECTS = execve-v.$(OBJEXT) execve_v_LDADD = $(LDADD) -execve_v_DEPENDENCIES = libtests.a +execve_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat_SOURCES = execveat.c execveat_OBJECTS = execveat.$(OBJEXT) execveat_LDADD = $(LDADD) -execveat_DEPENDENCIES = libtests.a +execveat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) execveat__secontext_SOURCES = execveat--secontext.c execveat__secontext_OBJECTS = execveat--secontext.$(OBJEXT) -execveat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat__secontext_full_SOURCES = execveat--secontext_full.c execveat__secontext_full_OBJECTS = execveat--secontext_full.$(OBJEXT) -execveat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +execveat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +execveat__secontext_full_mismatch_SOURCES = \ + execveat--secontext_full_mismatch.c +execveat__secontext_full_mismatch_OBJECTS = \ + execveat--secontext_full_mismatch.$(OBJEXT) +execveat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +execveat__secontext_mismatch_SOURCES = execveat--secontext_mismatch.c +execveat__secontext_mismatch_OBJECTS = \ + execveat--secontext_mismatch.$(OBJEXT) +execveat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) execveat_v_SOURCES = execveat-v.c execveat_v_OBJECTS = execveat-v.$(OBJEXT) execveat_v_LDADD = $(LDADD) -execveat_v_DEPENDENCIES = libtests.a +execveat_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_SOURCES = faccessat.c faccessat_OBJECTS = faccessat.$(OBJEXT) faccessat_LDADD = $(LDADD) -faccessat_DEPENDENCIES = libtests.a +faccessat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat__secontext_SOURCES = faccessat--secontext.c faccessat__secontext_OBJECTS = faccessat--secontext.$(OBJEXT) -faccessat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat__secontext_full_SOURCES = faccessat--secontext_full.c faccessat__secontext_full_OBJECTS = \ faccessat--secontext_full.$(OBJEXT) -faccessat__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat__secontext_full_mismatch_SOURCES = \ + faccessat--secontext_full_mismatch.c +faccessat__secontext_full_mismatch_OBJECTS = \ + faccessat--secontext_full_mismatch.$(OBJEXT) +faccessat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat__secontext_mismatch_SOURCES = \ + faccessat--secontext_mismatch.c +faccessat__secontext_mismatch_OBJECTS = \ + faccessat--secontext_mismatch.$(OBJEXT) +faccessat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_P_SOURCES = faccessat-P.c faccessat_P_OBJECTS = faccessat-P.$(OBJEXT) faccessat_P_LDADD = $(LDADD) -faccessat_P_DEPENDENCIES = libtests.a +faccessat_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y_SOURCES = faccessat-y.c faccessat_y_OBJECTS = faccessat-y.$(OBJEXT) faccessat_y_LDADD = $(LDADD) -faccessat_y_DEPENDENCIES = libtests.a +faccessat_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat_y__secontext_SOURCES = faccessat-y--secontext.c faccessat_y__secontext_OBJECTS = faccessat-y--secontext.$(OBJEXT) -faccessat_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +faccessat_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_y__secontext_full_SOURCES = faccessat-y--secontext_full.c faccessat_y__secontext_full_OBJECTS = \ faccessat-y--secontext_full.$(OBJEXT) -faccessat_y__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +faccessat_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +faccessat_y__secontext_full_mismatch_SOURCES = \ + faccessat-y--secontext_full_mismatch.c +faccessat_y__secontext_full_mismatch_OBJECTS = \ + faccessat-y--secontext_full_mismatch.$(OBJEXT) +faccessat_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +faccessat_y__secontext_mismatch_SOURCES = \ + faccessat-y--secontext_mismatch.c +faccessat_y__secontext_mismatch_OBJECTS = \ + faccessat-y--secontext_mismatch.$(OBJEXT) +faccessat_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) faccessat_yy_SOURCES = faccessat-yy.c faccessat_yy_OBJECTS = faccessat-yy.$(OBJEXT) faccessat_yy_LDADD = $(LDADD) -faccessat_yy_DEPENDENCIES = libtests.a +faccessat_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_SOURCES = faccessat2.c faccessat2_OBJECTS = faccessat2.$(OBJEXT) faccessat2_LDADD = $(LDADD) -faccessat2_DEPENDENCIES = libtests.a +faccessat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_P_SOURCES = faccessat2-P.c faccessat2_P_OBJECTS = faccessat2-P.$(OBJEXT) faccessat2_P_LDADD = $(LDADD) -faccessat2_P_DEPENDENCIES = libtests.a +faccessat2_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_y_SOURCES = faccessat2-y.c faccessat2_y_OBJECTS = faccessat2-y.$(OBJEXT) faccessat2_y_LDADD = $(LDADD) -faccessat2_y_DEPENDENCIES = libtests.a +faccessat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) faccessat2_yy_SOURCES = faccessat2-yy.c faccessat2_yy_OBJECTS = faccessat2-yy.$(OBJEXT) faccessat2_yy_LDADD = $(LDADD) -faccessat2_yy_DEPENDENCIES = libtests.a +faccessat2_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_SOURCES = fadvise64.c fadvise64_OBJECTS = fadvise64.$(OBJEXT) fadvise64_LDADD = $(LDADD) -fadvise64_DEPENDENCIES = libtests.a +fadvise64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fadvise64_64_SOURCES = fadvise64_64.c fadvise64_64_OBJECTS = fadvise64_64.$(OBJEXT) fadvise64_64_LDADD = $(LDADD) -fadvise64_64_DEPENDENCIES = libtests.a +fadvise64_64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fallocate_SOURCES = fallocate.c fallocate_OBJECTS = fallocate.$(OBJEXT) fallocate_LDADD = $(LDADD) -fallocate_DEPENDENCIES = libtests.a +fallocate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_init_SOURCES = fanotify_init.c fanotify_init_OBJECTS = fanotify_init.$(OBJEXT) fanotify_init_LDADD = $(LDADD) -fanotify_init_DEPENDENCIES = libtests.a +fanotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_SOURCES = fanotify_mark.c fanotify_mark_OBJECTS = fanotify_mark.$(OBJEXT) fanotify_mark_LDADD = $(LDADD) -fanotify_mark_DEPENDENCIES = libtests.a +fanotify_mark_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark__secontext_SOURCES = fanotify_mark--secontext.c fanotify_mark__secontext_OBJECTS = fanotify_mark--secontext.$(OBJEXT) -fanotify_mark__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fanotify_mark__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fanotify_mark__secontext_full_SOURCES = \ fanotify_mark--secontext_full.c fanotify_mark__secontext_full_OBJECTS = \ fanotify_mark--secontext_full.$(OBJEXT) -fanotify_mark__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +fanotify_mark__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fanotify_mark__secontext_full_mismatch_SOURCES = \ + fanotify_mark--secontext_full_mismatch.c +fanotify_mark__secontext_full_mismatch_OBJECTS = \ + fanotify_mark--secontext_full_mismatch.$(OBJEXT) +fanotify_mark__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fanotify_mark__secontext_mismatch_SOURCES = \ + fanotify_mark--secontext_mismatch.c +fanotify_mark__secontext_mismatch_OBJECTS = \ + fanotify_mark--secontext_mismatch.$(OBJEXT) +fanotify_mark__secontext_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) fanotify_mark_Xabbrev_SOURCES = fanotify_mark-Xabbrev.c fanotify_mark_Xabbrev_OBJECTS = fanotify_mark-Xabbrev.$(OBJEXT) fanotify_mark_Xabbrev_LDADD = $(LDADD) -fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a +fanotify_mark_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xraw_SOURCES = fanotify_mark-Xraw.c fanotify_mark_Xraw_OBJECTS = fanotify_mark-Xraw.$(OBJEXT) fanotify_mark_Xraw_LDADD = $(LDADD) -fanotify_mark_Xraw_DEPENDENCIES = libtests.a +fanotify_mark_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fanotify_mark_Xverbose_SOURCES = fanotify_mark-Xverbose.c fanotify_mark_Xverbose_OBJECTS = fanotify_mark-Xverbose.$(OBJEXT) fanotify_mark_Xverbose_LDADD = $(LDADD) -fanotify_mark_Xverbose_DEPENDENCIES = libtests.a +fanotify_mark_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchdir_SOURCES = fchdir.c fchdir_OBJECTS = fchdir.$(OBJEXT) fchdir_LDADD = $(LDADD) -fchdir_DEPENDENCIES = libtests.a +fchdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_SOURCES = fchmod.c fchmod_OBJECTS = fchmod.$(OBJEXT) fchmod_LDADD = $(LDADD) -fchmod_DEPENDENCIES = libtests.a +fchmod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod__secontext_SOURCES = fchmod--secontext.c fchmod__secontext_OBJECTS = fchmod--secontext.$(OBJEXT) -fchmod__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod__secontext_full_SOURCES = fchmod--secontext_full.c fchmod__secontext_full_OBJECTS = fchmod--secontext_full.$(OBJEXT) -fchmod__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_full_mismatch_SOURCES = \ + fchmod--secontext_full_mismatch.c +fchmod__secontext_full_mismatch_OBJECTS = \ + fchmod--secontext_full_mismatch.$(OBJEXT) +fchmod__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod__secontext_mismatch_SOURCES = fchmod--secontext_mismatch.c +fchmod__secontext_mismatch_OBJECTS = \ + fchmod--secontext_mismatch.$(OBJEXT) +fchmod__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y_SOURCES = fchmod-y.c fchmod_y_OBJECTS = fchmod-y.$(OBJEXT) fchmod_y_LDADD = $(LDADD) -fchmod_y_DEPENDENCIES = libtests.a +fchmod_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmod_y__secontext_SOURCES = fchmod-y--secontext.c fchmod_y__secontext_OBJECTS = fchmod-y--secontext.$(OBJEXT) -fchmod_y__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmod_y__secontext_full_SOURCES = fchmod-y--secontext_full.c fchmod_y__secontext_full_OBJECTS = fchmod-y--secontext_full.$(OBJEXT) -fchmod_y__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmod_y__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmod_y__secontext_full_mismatch_SOURCES = \ + fchmod-y--secontext_full_mismatch.c +fchmod_y__secontext_full_mismatch_OBJECTS = \ + fchmod-y--secontext_full_mismatch.$(OBJEXT) +fchmod_y__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmod_y__secontext_mismatch_SOURCES = fchmod-y--secontext_mismatch.c +fchmod_y__secontext_mismatch_OBJECTS = \ + fchmod-y--secontext_mismatch.$(OBJEXT) +fchmod_y__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat_SOURCES = fchmodat.c fchmodat_OBJECTS = fchmodat.$(OBJEXT) fchmodat_LDADD = $(LDADD) -fchmodat_DEPENDENCIES = libtests.a +fchmodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchmodat__secontext_SOURCES = fchmodat--secontext.c fchmodat__secontext_OBJECTS = fchmodat--secontext.$(OBJEXT) -fchmodat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchmodat__secontext_full_SOURCES = fchmodat--secontext_full.c fchmodat__secontext_full_OBJECTS = fchmodat--secontext_full.$(OBJEXT) -fchmodat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchmodat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchmodat__secontext_full_mismatch_SOURCES = \ + fchmodat--secontext_full_mismatch.c +fchmodat__secontext_full_mismatch_OBJECTS = \ + fchmodat--secontext_full_mismatch.$(OBJEXT) +fchmodat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchmodat__secontext_mismatch_SOURCES = fchmodat--secontext_mismatch.c +fchmodat__secontext_mismatch_OBJECTS = \ + fchmodat--secontext_mismatch.$(OBJEXT) +fchmodat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchown_SOURCES = fchown.c fchown_OBJECTS = fchown.$(OBJEXT) fchown_LDADD = $(LDADD) -fchown_DEPENDENCIES = libtests.a +fchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchown32_SOURCES = fchown32.c fchown32_OBJECTS = fchown32.$(OBJEXT) fchown32_LDADD = $(LDADD) -fchown32_DEPENDENCIES = libtests.a +fchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat_SOURCES = fchownat.c fchownat_OBJECTS = fchownat.$(OBJEXT) fchownat_LDADD = $(LDADD) -fchownat_DEPENDENCIES = libtests.a +fchownat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fchownat__secontext_SOURCES = fchownat--secontext.c fchownat__secontext_OBJECTS = fchownat--secontext.$(OBJEXT) -fchownat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fchownat__secontext_full_SOURCES = fchownat--secontext_full.c fchownat__secontext_full_OBJECTS = fchownat--secontext_full.$(OBJEXT) -fchownat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +fchownat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +fchownat__secontext_full_mismatch_SOURCES = \ + fchownat--secontext_full_mismatch.c +fchownat__secontext_full_mismatch_OBJECTS = \ + fchownat--secontext_full_mismatch.$(OBJEXT) +fchownat__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +fchownat__secontext_mismatch_SOURCES = fchownat--secontext_mismatch.c +fchownat__secontext_mismatch_OBJECTS = \ + fchownat--secontext_mismatch.$(OBJEXT) +fchownat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) fcntl_SOURCES = fcntl.c fcntl_OBJECTS = fcntl.$(OBJEXT) fcntl_LDADD = $(LDADD) -fcntl_DEPENDENCIES = libtests.a +fcntl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl__pidns_translation_SOURCES = fcntl--pidns-translation.c fcntl__pidns_translation_OBJECTS = fcntl--pidns-translation.$(OBJEXT) fcntl__pidns_translation_LDADD = $(LDADD) -fcntl__pidns_translation_DEPENDENCIES = libtests.a +fcntl__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fcntl64_SOURCES = fcntl64.c fcntl64_OBJECTS = fcntl64.$(OBJEXT) fcntl64_LDADD = $(LDADD) -fcntl64_DEPENDENCIES = libtests.a +fcntl64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fcntl64__pidns_translation_SOURCES = fcntl64--pidns-translation.c fcntl64__pidns_translation_OBJECTS = \ fcntl64--pidns-translation.$(OBJEXT) fcntl64__pidns_translation_LDADD = $(LDADD) -fcntl64__pidns_translation_DEPENDENCIES = libtests.a +fcntl64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fdatasync_SOURCES = fdatasync.c fdatasync_OBJECTS = fdatasync.$(OBJEXT) fdatasync_LDADD = $(LDADD) -fdatasync_DEPENDENCIES = libtests.a +fdatasync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fflush_SOURCES = fflush.c fflush_OBJECTS = fflush.$(OBJEXT) fflush_LDADD = $(LDADD) -fflush_DEPENDENCIES = libtests.a +fflush_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle_SOURCES = file_handle.c file_handle_OBJECTS = file_handle.$(OBJEXT) file_handle_LDADD = $(LDADD) -file_handle_DEPENDENCIES = libtests.a +file_handle_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) file_handle__secontext_SOURCES = file_handle--secontext.c file_handle__secontext_OBJECTS = file_handle--secontext.$(OBJEXT) -file_handle__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +file_handle__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) file_handle__secontext_full_SOURCES = file_handle--secontext_full.c file_handle__secontext_full_OBJECTS = \ file_handle--secontext_full.$(OBJEXT) -file_handle__secontext_full_DEPENDENCIES = $(LDADD) \ - $(am__DEPENDENCIES_2) +file_handle__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +file_handle__secontext_full_mismatch_SOURCES = \ + file_handle--secontext_full_mismatch.c +file_handle__secontext_full_mismatch_OBJECTS = \ + file_handle--secontext_full_mismatch.$(OBJEXT) +file_handle__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +file_handle__secontext_mismatch_SOURCES = \ + file_handle--secontext_mismatch.c +file_handle__secontext_mismatch_OBJECTS = \ + file_handle--secontext_mismatch.$(OBJEXT) +file_handle__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) filter_unavailable_SOURCES = filter-unavailable.c filter_unavailable_OBJECTS = filter-unavailable.$(OBJEXT) -filter_unavailable_DEPENDENCIES = $(LDADD) +filter_unavailable_DEPENDENCIES = $(am__DEPENDENCIES_2) filter_seccomp_flag_SOURCES = filter_seccomp-flag.c filter_seccomp_flag_OBJECTS = filter_seccomp-flag.$(OBJEXT) filter_seccomp_flag_LDADD = $(LDADD) -filter_seccomp_flag_DEPENDENCIES = libtests.a +filter_seccomp_flag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) filter_seccomp_perf_SOURCES = filter_seccomp-perf.c filter_seccomp_perf_OBJECTS = filter_seccomp-perf.$(OBJEXT) filter_seccomp_perf_LDADD = $(LDADD) -filter_seccomp_perf_DEPENDENCIES = libtests.a +filter_seccomp_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) finit_module_SOURCES = finit_module.c finit_module_OBJECTS = finit_module.$(OBJEXT) finit_module_LDADD = $(LDADD) -finit_module_DEPENDENCIES = libtests.a +finit_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) flock_SOURCES = flock.c flock_OBJECTS = flock.$(OBJEXT) flock_LDADD = $(LDADD) -flock_DEPENDENCIES = libtests.a +flock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fork__pidns_translation_SOURCES = fork--pidns-translation.c fork__pidns_translation_OBJECTS = fork--pidns-translation.$(OBJEXT) fork__pidns_translation_LDADD = $(LDADD) -fork__pidns_translation_DEPENDENCIES = libtests.a +fork__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) fork_f_SOURCES = fork-f.c fork_f_OBJECTS = fork-f.$(OBJEXT) fork_f_LDADD = $(LDADD) -fork_f_DEPENDENCIES = libtests.a +fork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_SOURCES = fsconfig.c fsconfig_OBJECTS = fsconfig.$(OBJEXT) fsconfig_LDADD = $(LDADD) -fsconfig_DEPENDENCIES = libtests.a +fsconfig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsconfig_P_SOURCES = fsconfig-P.c fsconfig_P_OBJECTS = fsconfig-P.$(OBJEXT) fsconfig_P_LDADD = $(LDADD) -fsconfig_P_DEPENDENCIES = libtests.a +fsconfig_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsmount_SOURCES = fsmount.c fsmount_OBJECTS = fsmount.$(OBJEXT) fsmount_LDADD = $(LDADD) -fsmount_DEPENDENCIES = libtests.a +fsmount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsopen_SOURCES = fsopen.c fsopen_OBJECTS = fsopen.$(OBJEXT) fsopen_LDADD = $(LDADD) -fsopen_DEPENDENCIES = libtests.a +fsopen_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_SOURCES = fspick.c fspick_OBJECTS = fspick.$(OBJEXT) fspick_LDADD = $(LDADD) -fspick_DEPENDENCIES = libtests.a +fspick_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fspick_P_SOURCES = fspick-P.c fspick_P_OBJECTS = fspick-P.$(OBJEXT) fspick_P_LDADD = $(LDADD) -fspick_P_DEPENDENCIES = libtests.a +fspick_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_SOURCES = fstat.c fstat_OBJECTS = fstat.$(OBJEXT) fstat_LDADD = $(LDADD) -fstat_DEPENDENCIES = libtests.a +fstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xabbrev_SOURCES = fstat-Xabbrev.c fstat_Xabbrev_OBJECTS = fstat-Xabbrev.$(OBJEXT) fstat_Xabbrev_LDADD = $(LDADD) -fstat_Xabbrev_DEPENDENCIES = libtests.a +fstat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xraw_SOURCES = fstat-Xraw.c fstat_Xraw_OBJECTS = fstat-Xraw.$(OBJEXT) fstat_Xraw_LDADD = $(LDADD) -fstat_Xraw_DEPENDENCIES = libtests.a +fstat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat_Xverbose_SOURCES = fstat-Xverbose.c fstat_Xverbose_OBJECTS = fstat-Xverbose.$(OBJEXT) fstat_Xverbose_LDADD = $(LDADD) -fstat_Xverbose_DEPENDENCIES = libtests.a +fstat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_SOURCES = fstat64.c fstat64_OBJECTS = fstat64-fstat64.$(OBJEXT) fstat64_LDADD = $(LDADD) -fstat64_DEPENDENCIES = libtests.a +fstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xabbrev_SOURCES = fstat64-Xabbrev.c fstat64_Xabbrev_OBJECTS = fstat64-Xabbrev.$(OBJEXT) fstat64_Xabbrev_LDADD = $(LDADD) -fstat64_Xabbrev_DEPENDENCIES = libtests.a +fstat64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xraw_SOURCES = fstat64-Xraw.c fstat64_Xraw_OBJECTS = fstat64-Xraw.$(OBJEXT) fstat64_Xraw_LDADD = $(LDADD) -fstat64_Xraw_DEPENDENCIES = libtests.a +fstat64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstat64_Xverbose_SOURCES = fstat64-Xverbose.c fstat64_Xverbose_OBJECTS = fstat64-Xverbose.$(OBJEXT) fstat64_Xverbose_LDADD = $(LDADD) -fstat64_Xverbose_DEPENDENCIES = libtests.a +fstat64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatat64_SOURCES = fstatat64.c fstatat64_OBJECTS = fstatat64-fstatat64.$(OBJEXT) fstatat64_LDADD = $(LDADD) -fstatat64_DEPENDENCIES = libtests.a +fstatat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs_SOURCES = fstatfs.c fstatfs_OBJECTS = fstatfs.$(OBJEXT) fstatfs_LDADD = $(LDADD) -fstatfs_DEPENDENCIES = libtests.a +fstatfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fstatfs64_SOURCES = fstatfs64.c fstatfs64_OBJECTS = fstatfs64.$(OBJEXT) fstatfs64_LDADD = $(LDADD) -fstatfs64_DEPENDENCIES = libtests.a +fstatfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_SOURCES = fsync.c fsync_OBJECTS = fsync.$(OBJEXT) fsync_LDADD = $(LDADD) -fsync_DEPENDENCIES = libtests.a +fsync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) fsync_y_SOURCES = fsync-y.c fsync_y_OBJECTS = fsync-y.$(OBJEXT) fsync_y_LDADD = $(LDADD) -fsync_y_DEPENDENCIES = libtests.a +fsync_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate_SOURCES = ftruncate.c ftruncate_OBJECTS = ftruncate.$(OBJEXT) ftruncate_LDADD = $(LDADD) -ftruncate_DEPENDENCIES = libtests.a +ftruncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ftruncate64_SOURCES = ftruncate64.c ftruncate64_OBJECTS = ftruncate64-ftruncate64.$(OBJEXT) ftruncate64_LDADD = $(LDADD) -ftruncate64_DEPENDENCIES = libtests.a +ftruncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futex_SOURCES = futex.c futex_OBJECTS = futex.$(OBJEXT) futex_LDADD = $(LDADD) -futex_DEPENDENCIES = libtests.a +futex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +futex_waitv_SOURCES = futex_waitv.c +futex_waitv_OBJECTS = futex_waitv.$(OBJEXT) +futex_waitv_LDADD = $(LDADD) +futex_waitv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) futimesat_SOURCES = futimesat.c futimesat_OBJECTS = futimesat.$(OBJEXT) futimesat_LDADD = $(LDADD) -futimesat_DEPENDENCIES = libtests.a +futimesat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_mempolicy_SOURCES = get_mempolicy.c get_mempolicy_OBJECTS = get_mempolicy.$(OBJEXT) get_mempolicy_LDADD = $(LDADD) -get_mempolicy_DEPENDENCIES = libtests.a +get_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) get_process_reaper_SOURCES = get_process_reaper.c get_process_reaper_OBJECTS = get_process_reaper.$(OBJEXT) get_process_reaper_LDADD = $(LDADD) -get_process_reaper_DEPENDENCIES = libtests.a +get_process_reaper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcpu_SOURCES = getcpu.c getcpu_OBJECTS = getcpu.$(OBJEXT) getcpu_LDADD = $(LDADD) -getcpu_DEPENDENCIES = libtests.a +getcpu_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getcwd_SOURCES = getcwd.c getcwd_OBJECTS = getcwd.$(OBJEXT) getcwd_LDADD = $(LDADD) -getcwd_DEPENDENCIES = libtests.a +getcwd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_SOURCES = getdents.c getdents_OBJECTS = getdents.$(OBJEXT) getdents_LDADD = $(LDADD) -getdents_DEPENDENCIES = libtests.a +getdents_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents_v_SOURCES = getdents-v.c getdents_v_OBJECTS = getdents-v.$(OBJEXT) getdents_v_LDADD = $(LDADD) -getdents_v_DEPENDENCIES = libtests.a +getdents_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_SOURCES = getdents64.c getdents64_OBJECTS = getdents64.$(OBJEXT) getdents64_LDADD = $(LDADD) -getdents64_DEPENDENCIES = libtests.a +getdents64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getdents64_v_SOURCES = getdents64-v.c getdents64_v_OBJECTS = getdents64-v.$(OBJEXT) getdents64_v_LDADD = $(LDADD) -getdents64_v_DEPENDENCIES = libtests.a +getdents64_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid_SOURCES = getegid.c getegid_OBJECTS = getegid.$(OBJEXT) getegid_LDADD = $(LDADD) -getegid_DEPENDENCIES = libtests.a +getegid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getegid32_SOURCES = getegid32.c getegid32_OBJECTS = getegid32.$(OBJEXT) getegid32_LDADD = $(LDADD) -getegid32_DEPENDENCIES = libtests.a +getegid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid_SOURCES = geteuid.c geteuid_OBJECTS = geteuid.$(OBJEXT) geteuid_LDADD = $(LDADD) -geteuid_DEPENDENCIES = libtests.a +geteuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) geteuid32_SOURCES = geteuid32.c geteuid32_OBJECTS = geteuid32.$(OBJEXT) geteuid32_LDADD = $(LDADD) -geteuid32_DEPENDENCIES = libtests.a +geteuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid_SOURCES = getgid.c getgid_OBJECTS = getgid.$(OBJEXT) getgid_LDADD = $(LDADD) -getgid_DEPENDENCIES = libtests.a +getgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgid32_SOURCES = getgid32.c getgid32_OBJECTS = getgid32.$(OBJEXT) getgid32_LDADD = $(LDADD) -getgid32_DEPENDENCIES = libtests.a +getgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups_SOURCES = getgroups.c getgroups_OBJECTS = getgroups.$(OBJEXT) getgroups_LDADD = $(LDADD) -getgroups_DEPENDENCIES = libtests.a +getgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getgroups32_SOURCES = getgroups32.c getgroups32_OBJECTS = getgroups32.$(OBJEXT) getgroups32_LDADD = $(LDADD) -getgroups32_DEPENDENCIES = libtests.a +getgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpeername_SOURCES = getpeername.c getpeername_OBJECTS = getpeername.$(OBJEXT) getpeername_LDADD = $(LDADD) -getpeername_DEPENDENCIES = libtests.a +getpeername_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp_SOURCES = getpgrp.c getpgrp_OBJECTS = getpgrp.$(OBJEXT) getpgrp_LDADD = $(LDADD) -getpgrp_DEPENDENCIES = libtests.a +getpgrp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpgrp__pidns_translation_SOURCES = getpgrp--pidns-translation.c getpgrp__pidns_translation_OBJECTS = \ getpgrp--pidns-translation.$(OBJEXT) getpgrp__pidns_translation_LDADD = $(LDADD) -getpgrp__pidns_translation_DEPENDENCIES = libtests.a +getpgrp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getpid_SOURCES = getpid.c getpid_OBJECTS = getpid.$(OBJEXT) getpid_LDADD = $(LDADD) -getpid_DEPENDENCIES = libtests.a +getpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getpid__pidns_translation_SOURCES = getpid--pidns-translation.c getpid__pidns_translation_OBJECTS = \ getpid--pidns-translation.$(OBJEXT) getpid__pidns_translation_LDADD = $(LDADD) -getpid__pidns_translation_DEPENDENCIES = libtests.a +getpid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getppid_SOURCES = getppid.c getppid_OBJECTS = getppid.$(OBJEXT) getppid_LDADD = $(LDADD) -getppid_DEPENDENCIES = libtests.a +getppid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrandom_SOURCES = getrandom.c getrandom_OBJECTS = getrandom.$(OBJEXT) getrandom_LDADD = $(LDADD) -getrandom_DEPENDENCIES = libtests.a +getrandom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid_SOURCES = getresgid.c getresgid_OBJECTS = getresgid.$(OBJEXT) getresgid_LDADD = $(LDADD) -getresgid_DEPENDENCIES = libtests.a +getresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresgid32_SOURCES = getresgid32.c getresgid32_OBJECTS = getresgid32.$(OBJEXT) getresgid32_LDADD = $(LDADD) -getresgid32_DEPENDENCIES = libtests.a +getresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid_SOURCES = getresuid.c getresuid_OBJECTS = getresuid.$(OBJEXT) getresuid_LDADD = $(LDADD) -getresuid_DEPENDENCIES = libtests.a +getresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getresuid32_SOURCES = getresuid32.c getresuid32_OBJECTS = getresuid32.$(OBJEXT) getresuid32_LDADD = $(LDADD) -getresuid32_DEPENDENCIES = libtests.a +getresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrlimit_SOURCES = getrlimit.c getrlimit_OBJECTS = getrlimit.$(OBJEXT) getrlimit_LDADD = $(LDADD) -getrlimit_DEPENDENCIES = libtests.a +getrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getrusage_SOURCES = getrusage.c getrusage_OBJECTS = getrusage.$(OBJEXT) getrusage_LDADD = $(LDADD) -getrusage_DEPENDENCIES = libtests.a +getrusage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid_SOURCES = getsid.c getsid_OBJECTS = getsid.$(OBJEXT) getsid_LDADD = $(LDADD) -getsid_DEPENDENCIES = libtests.a +getsid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getsid__pidns_translation_SOURCES = getsid--pidns-translation.c getsid__pidns_translation_OBJECTS = \ getsid--pidns-translation.$(OBJEXT) getsid__pidns_translation_LDADD = $(LDADD) -getsid__pidns_translation_DEPENDENCIES = libtests.a +getsid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getsockname_SOURCES = getsockname.c getsockname_OBJECTS = getsockname.$(OBJEXT) getsockname_LDADD = $(LDADD) -getsockname_DEPENDENCIES = libtests.a +getsockname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +getsockname__secontext_SOURCES = getsockname--secontext.c +getsockname__secontext_OBJECTS = getsockname--secontext.$(OBJEXT) +getsockname__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_SOURCES = getsockname--secontext_full.c +getsockname__secontext_full_OBJECTS = \ + getsockname--secontext_full.$(OBJEXT) +getsockname__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +getsockname__secontext_full_mismatch_SOURCES = \ + getsockname--secontext_full_mismatch.c +getsockname__secontext_full_mismatch_OBJECTS = \ + getsockname--secontext_full_mismatch.$(OBJEXT) +getsockname__secontext_full_mismatch_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_3) +getsockname__secontext_mismatch_SOURCES = \ + getsockname--secontext_mismatch.c +getsockname__secontext_mismatch_OBJECTS = \ + getsockname--secontext_mismatch.$(OBJEXT) +getsockname__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) gettid_SOURCES = gettid.c gettid_OBJECTS = gettid.$(OBJEXT) gettid_LDADD = $(LDADD) -gettid_DEPENDENCIES = libtests.a +gettid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) gettid__pidns_translation_SOURCES = gettid--pidns-translation.c gettid__pidns_translation_OBJECTS = \ gettid--pidns-translation.$(OBJEXT) gettid__pidns_translation_LDADD = $(LDADD) -gettid__pidns_translation_DEPENDENCIES = libtests.a +gettid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) getuid_SOURCES = getuid.c getuid_OBJECTS = getuid.$(OBJEXT) getuid_LDADD = $(LDADD) -getuid_DEPENDENCIES = libtests.a +getuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getuid32_SOURCES = getuid32.c getuid32_OBJECTS = getuid32.$(OBJEXT) getuid32_LDADD = $(LDADD) -getuid32_DEPENDENCIES = libtests.a +getuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxgid_SOURCES = getxgid.c getxgid_OBJECTS = getxgid.$(OBJEXT) getxgid_LDADD = $(LDADD) -getxgid_DEPENDENCIES = libtests.a +getxgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxpid_SOURCES = getxpid.c getxpid_OBJECTS = getxpid.$(OBJEXT) getxpid_LDADD = $(LDADD) -getxpid_DEPENDENCIES = libtests.a +getxpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) getxuid_SOURCES = getxuid.c getxuid_OBJECTS = getxuid.$(OBJEXT) getxuid_LDADD = $(LDADD) -getxuid_DEPENDENCIES = libtests.a +getxuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) group_req_SOURCES = group_req.c group_req_OBJECTS = group_req.$(OBJEXT) group_req_LDADD = $(LDADD) -group_req_DEPENDENCIES = libtests.a +group_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inet_cmsg_SOURCES = inet-cmsg.c inet_cmsg_OBJECTS = inet-cmsg.$(OBJEXT) inet_cmsg_LDADD = $(LDADD) -inet_cmsg_DEPENDENCIES = libtests.a +inet_cmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) init_module_SOURCES = init_module.c init_module_OBJECTS = init_module.$(OBJEXT) init_module_LDADD = $(LDADD) -init_module_DEPENDENCIES = libtests.a +init_module_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inject_nf_SOURCES = inject-nf.c inject_nf_OBJECTS = inject-nf.$(OBJEXT) inject_nf_LDADD = $(LDADD) -inject_nf_DEPENDENCIES = libtests.a +inject_nf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_SOURCES = inotify.c inotify_OBJECTS = inotify.$(OBJEXT) inotify_LDADD = $(LDADD) -inotify_DEPENDENCIES = libtests.a +inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_SOURCES = inotify_init.c inotify_init_OBJECTS = inotify_init.$(OBJEXT) inotify_init_LDADD = $(LDADD) -inotify_init_DEPENDENCIES = libtests.a +inotify_init_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init_y_SOURCES = inotify_init-y.c inotify_init_y_OBJECTS = inotify_init-y.$(OBJEXT) inotify_init_y_LDADD = $(LDADD) -inotify_init_y_DEPENDENCIES = libtests.a +inotify_init_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_SOURCES = inotify_init1.c inotify_init1_OBJECTS = inotify_init1.$(OBJEXT) inotify_init1_LDADD = $(LDADD) -inotify_init1_DEPENDENCIES = libtests.a +inotify_init1_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) inotify_init1_y_SOURCES = inotify_init1-y.c inotify_init1_y_OBJECTS = inotify_init1-y.$(OBJEXT) inotify_init1_y_LDADD = $(LDADD) -inotify_init1_y_DEPENDENCIES = libtests.a +inotify_init1_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) int_0x80_SOURCES = int_0x80.c int_0x80_OBJECTS = int_0x80.$(OBJEXT) int_0x80_LDADD = $(LDADD) -int_0x80_DEPENDENCIES = libtests.a +int_0x80_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_enter_SOURCES = io_uring_enter.c io_uring_enter_OBJECTS = io_uring_enter.$(OBJEXT) io_uring_enter_LDADD = $(LDADD) -io_uring_enter_DEPENDENCIES = libtests.a +io_uring_enter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) io_uring_register_SOURCES = io_uring_register.c io_uring_register_OBJECTS = io_uring_register.$(OBJEXT) io_uring_register_LDADD = $(LDADD) -io_uring_register_DEPENDENCIES = libtests.a +io_uring_register_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xabbrev_SOURCES = io_uring_register-Xabbrev.c +io_uring_register_Xabbrev_OBJECTS = \ + io_uring_register-Xabbrev.$(OBJEXT) +io_uring_register_Xabbrev_LDADD = $(LDADD) +io_uring_register_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_Xraw_SOURCES = io_uring_register-Xraw.c +io_uring_register_Xraw_OBJECTS = io_uring_register-Xraw.$(OBJEXT) +io_uring_register_Xraw_LDADD = $(LDADD) +io_uring_register_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +io_uring_register_Xverbose_SOURCES = io_uring_register-Xverbose.c +io_uring_register_Xverbose_OBJECTS = \ + io_uring_register-Xverbose.$(OBJEXT) +io_uring_register_Xverbose_LDADD = $(LDADD) +io_uring_register_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_SOURCES = io_uring_register-success.c +io_uring_register_success_OBJECTS = \ + io_uring_register-success.$(OBJEXT) +io_uring_register_success_LDADD = $(LDADD) +io_uring_register_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xabbrev_SOURCES = \ + io_uring_register-success-Xabbrev.c +io_uring_register_success_Xabbrev_OBJECTS = \ + io_uring_register-success-Xabbrev.$(OBJEXT) +io_uring_register_success_Xabbrev_LDADD = $(LDADD) +io_uring_register_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xraw_SOURCES = \ + io_uring_register-success-Xraw.c +io_uring_register_success_Xraw_OBJECTS = \ + io_uring_register-success-Xraw.$(OBJEXT) +io_uring_register_success_Xraw_LDADD = $(LDADD) +io_uring_register_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +io_uring_register_success_Xverbose_SOURCES = \ + io_uring_register-success-Xverbose.c +io_uring_register_success_Xverbose_OBJECTS = \ + io_uring_register-success-Xverbose.$(OBJEXT) +io_uring_register_success_Xverbose_LDADD = $(LDADD) +io_uring_register_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) io_uring_setup_SOURCES = io_uring_setup.c io_uring_setup_OBJECTS = io_uring_setup.$(OBJEXT) io_uring_setup_LDADD = $(LDADD) -io_uring_setup_DEPENDENCIES = libtests.a +io_uring_setup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_SOURCES = ioctl.c ioctl_OBJECTS = ioctl.$(OBJEXT) ioctl_LDADD = $(LDADD) -ioctl_DEPENDENCIES = libtests.a +ioctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block_SOURCES = ioctl_block.c ioctl_block_OBJECTS = ioctl_block.$(OBJEXT) ioctl_block_LDADD = $(LDADD) -ioctl_block_DEPENDENCIES = libtests.a +ioctl_block_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_block__pidns_translation_SOURCES = \ ioctl_block--pidns-translation.c ioctl_block__pidns_translation_OBJECTS = \ ioctl_block--pidns-translation.$(OBJEXT) ioctl_block__pidns_translation_LDADD = $(LDADD) -ioctl_block__pidns_translation_DEPENDENCIES = libtests.a +ioctl_block__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_counter_SOURCES = ioctl_counter.c +ioctl_counter_OBJECTS = ioctl_counter.$(OBJEXT) +ioctl_counter_LDADD = $(LDADD) +ioctl_counter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xabbrev_SOURCES = ioctl_counter-Xabbrev.c +ioctl_counter_Xabbrev_OBJECTS = ioctl_counter-Xabbrev.$(OBJEXT) +ioctl_counter_Xabbrev_LDADD = $(LDADD) +ioctl_counter_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xraw_SOURCES = ioctl_counter-Xraw.c +ioctl_counter_Xraw_OBJECTS = ioctl_counter-Xraw.$(OBJEXT) +ioctl_counter_Xraw_LDADD = $(LDADD) +ioctl_counter_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_counter_Xverbose_SOURCES = ioctl_counter-Xverbose.c +ioctl_counter_Xverbose_OBJECTS = ioctl_counter-Xverbose.$(OBJEXT) +ioctl_counter_Xverbose_LDADD = $(LDADD) +ioctl_counter_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_SOURCES = ioctl_dm.c ioctl_dm_OBJECTS = ioctl_dm.$(OBJEXT) ioctl_dm_LDADD = $(LDADD) -ioctl_dm_DEPENDENCIES = libtests.a +ioctl_dm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_dm_v_SOURCES = ioctl_dm-v.c ioctl_dm_v_OBJECTS = ioctl_dm-v.$(OBJEXT) ioctl_dm_v_LDADD = $(LDADD) -ioctl_dm_v_DEPENDENCIES = libtests.a +ioctl_dm_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_SOURCES = ioctl_evdev.c ioctl_evdev_OBJECTS = ioctl_evdev.$(OBJEXT) ioctl_evdev_LDADD = $(LDADD) -ioctl_evdev_DEPENDENCIES = libtests.a +ioctl_evdev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xabbrev_SOURCES = ioctl_evdev-Xabbrev.c ioctl_evdev_Xabbrev_OBJECTS = ioctl_evdev-Xabbrev.$(OBJEXT) ioctl_evdev_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xraw_SOURCES = ioctl_evdev-Xraw.c ioctl_evdev_Xraw_OBJECTS = ioctl_evdev-Xraw.$(OBJEXT) ioctl_evdev_Xraw_LDADD = $(LDADD) -ioctl_evdev_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_Xverbose_SOURCES = ioctl_evdev-Xverbose.c ioctl_evdev_Xverbose_OBJECTS = ioctl_evdev-Xverbose.$(OBJEXT) ioctl_evdev_Xverbose_LDADD = $(LDADD) -ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_SOURCES = ioctl_evdev-success.c ioctl_evdev_success_OBJECTS = ioctl_evdev-success.$(OBJEXT) ioctl_evdev_success_LDADD = $(LDADD) -ioctl_evdev_success_DEPENDENCIES = libtests.a +ioctl_evdev_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_Xabbrev_SOURCES = ioctl_evdev-success-Xabbrev.c ioctl_evdev_success_Xabbrev_OBJECTS = \ ioctl_evdev-success-Xabbrev.$(OBJEXT) ioctl_evdev_success_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xraw_SOURCES = ioctl_evdev-success-Xraw.c ioctl_evdev_success_Xraw_OBJECTS = ioctl_evdev-success-Xraw.$(OBJEXT) ioctl_evdev_success_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_Xverbose_SOURCES = ioctl_evdev-success-Xverbose.c ioctl_evdev_success_Xverbose_OBJECTS = \ ioctl_evdev-success-Xverbose.$(OBJEXT) ioctl_evdev_success_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_SOURCES = ioctl_evdev-success-v.c ioctl_evdev_success_v_OBJECTS = ioctl_evdev-success-v.$(OBJEXT) ioctl_evdev_success_v_LDADD = $(LDADD) -ioctl_evdev_success_v_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xabbrev_SOURCES = \ ioctl_evdev-success-v-Xabbrev.c ioctl_evdev_success_v_Xabbrev_OBJECTS = \ ioctl_evdev-success-v-Xabbrev.$(OBJEXT) ioctl_evdev_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xraw_SOURCES = ioctl_evdev-success-v-Xraw.c ioctl_evdev_success_v_Xraw_OBJECTS = \ ioctl_evdev-success-v-Xraw.$(OBJEXT) ioctl_evdev_success_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_success_v_Xverbose_SOURCES = \ ioctl_evdev-success-v-Xverbose.c ioctl_evdev_success_v_Xverbose_OBJECTS = \ ioctl_evdev-success-v-Xverbose.$(OBJEXT) ioctl_evdev_success_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_evdev_v_SOURCES = ioctl_evdev-v.c ioctl_evdev_v_OBJECTS = ioctl_evdev-v.$(OBJEXT) ioctl_evdev_v_LDADD = $(LDADD) -ioctl_evdev_v_DEPENDENCIES = libtests.a +ioctl_evdev_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xabbrev_SOURCES = ioctl_evdev-v-Xabbrev.c ioctl_evdev_v_Xabbrev_OBJECTS = ioctl_evdev-v-Xabbrev.$(OBJEXT) ioctl_evdev_v_Xabbrev_LDADD = $(LDADD) -ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xraw_SOURCES = ioctl_evdev-v-Xraw.c ioctl_evdev_v_Xraw_OBJECTS = ioctl_evdev-v-Xraw.$(OBJEXT) ioctl_evdev_v_Xraw_LDADD = $(LDADD) -ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_evdev_v_Xverbose_SOURCES = ioctl_evdev-v-Xverbose.c ioctl_evdev_v_Xverbose_OBJECTS = ioctl_evdev-v-Xverbose.$(OBJEXT) ioctl_evdev_v_Xverbose_LDADD = $(LDADD) -ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_evdev_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_SOURCES = ioctl_fiemap.c ioctl_fiemap_OBJECTS = ioctl_fiemap.$(OBJEXT) ioctl_fiemap_LDADD = $(LDADD) -ioctl_fiemap_DEPENDENCIES = libtests.a +ioctl_fiemap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xabbrev_SOURCES = ioctl_fiemap-Xabbrev.c ioctl_fiemap_Xabbrev_OBJECTS = ioctl_fiemap-Xabbrev.$(OBJEXT) ioctl_fiemap_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xraw_SOURCES = ioctl_fiemap-Xraw.c ioctl_fiemap_Xraw_OBJECTS = ioctl_fiemap-Xraw.$(OBJEXT) ioctl_fiemap_Xraw_LDADD = $(LDADD) -ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_Xverbose_SOURCES = ioctl_fiemap-Xverbose.c ioctl_fiemap_Xverbose_OBJECTS = ioctl_fiemap-Xverbose.$(OBJEXT) ioctl_fiemap_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_SOURCES = ioctl_fiemap-success.c ioctl_fiemap_success_OBJECTS = ioctl_fiemap-success.$(OBJEXT) ioctl_fiemap_success_LDADD = $(LDADD) -ioctl_fiemap_success_DEPENDENCIES = libtests.a +ioctl_fiemap_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xabbrev_SOURCES = ioctl_fiemap-success-Xabbrev.c ioctl_fiemap_success_Xabbrev_OBJECTS = \ ioctl_fiemap-success-Xabbrev.$(OBJEXT) ioctl_fiemap_success_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xraw_SOURCES = ioctl_fiemap-success-Xraw.c ioctl_fiemap_success_Xraw_OBJECTS = \ ioctl_fiemap-success-Xraw.$(OBJEXT) ioctl_fiemap_success_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_Xverbose_SOURCES = \ ioctl_fiemap-success-Xverbose.c ioctl_fiemap_success_Xverbose_OBJECTS = \ ioctl_fiemap-success-Xverbose.$(OBJEXT) ioctl_fiemap_success_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_SOURCES = ioctl_fiemap-success-v.c ioctl_fiemap_success_v_OBJECTS = ioctl_fiemap-success-v.$(OBJEXT) ioctl_fiemap_success_v_LDADD = $(LDADD) -ioctl_fiemap_success_v_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xabbrev_SOURCES = \ ioctl_fiemap-success-v-Xabbrev.c ioctl_fiemap_success_v_Xabbrev_OBJECTS = \ ioctl_fiemap-success-v-Xabbrev.$(OBJEXT) ioctl_fiemap_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xraw_SOURCES = ioctl_fiemap-success-v-Xraw.c ioctl_fiemap_success_v_Xraw_OBJECTS = \ ioctl_fiemap-success-v-Xraw.$(OBJEXT) ioctl_fiemap_success_v_Xraw_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fiemap_success_v_Xverbose_SOURCES = \ ioctl_fiemap-success-v-Xverbose.c ioctl_fiemap_success_v_Xverbose_OBJECTS = \ ioctl_fiemap-success-v-Xverbose.$(OBJEXT) ioctl_fiemap_success_v_Xverbose_LDADD = $(LDADD) -ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_fiemap_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_f_SOURCES = ioctl_fs_f.c ioctl_fs_f_OBJECTS = ioctl_fs_f.$(OBJEXT) ioctl_fs_f_LDADD = $(LDADD) -ioctl_fs_f_DEPENDENCIES = libtests.a +ioctl_fs_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xabbrev_SOURCES = ioctl_fs_f-Xabbrev.c ioctl_fs_f_Xabbrev_OBJECTS = ioctl_fs_f-Xabbrev.$(OBJEXT) ioctl_fs_f_Xabbrev_LDADD = $(LDADD) -ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_f_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xraw_SOURCES = ioctl_fs_f-Xraw.c ioctl_fs_f_Xraw_OBJECTS = ioctl_fs_f-Xraw.$(OBJEXT) ioctl_fs_f_Xraw_LDADD = $(LDADD) -ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_f_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_f_Xverbose_SOURCES = ioctl_fs_f-Xverbose.c ioctl_fs_f_Xverbose_OBJECTS = ioctl_fs_f-Xverbose.$(OBJEXT) ioctl_fs_f_Xverbose_LDADD = $(LDADD) -ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_f_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_SOURCES = ioctl_fs_x.c ioctl_fs_x_OBJECTS = ioctl_fs_x.$(OBJEXT) ioctl_fs_x_LDADD = $(LDADD) -ioctl_fs_x_DEPENDENCIES = libtests.a +ioctl_fs_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xabbrev_SOURCES = ioctl_fs_x-Xabbrev.c ioctl_fs_x_Xabbrev_OBJECTS = ioctl_fs_x-Xabbrev.$(OBJEXT) ioctl_fs_x_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xraw_SOURCES = ioctl_fs_x-Xraw.c ioctl_fs_x_Xraw_OBJECTS = ioctl_fs_x-Xraw.$(OBJEXT) ioctl_fs_x_Xraw_LDADD = $(LDADD) -ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_Xverbose_SOURCES = ioctl_fs_x-Xverbose.c ioctl_fs_x_Xverbose_OBJECTS = ioctl_fs_x-Xverbose.$(OBJEXT) ioctl_fs_x_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_SOURCES = ioctl_fs_x-success.c ioctl_fs_x_success_OBJECTS = ioctl_fs_x-success.$(OBJEXT) ioctl_fs_x_success_LDADD = $(LDADD) -ioctl_fs_x_success_DEPENDENCIES = libtests.a +ioctl_fs_x_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xabbrev_SOURCES = ioctl_fs_x-success-Xabbrev.c ioctl_fs_x_success_Xabbrev_OBJECTS = \ ioctl_fs_x-success-Xabbrev.$(OBJEXT) ioctl_fs_x_success_Xabbrev_LDADD = $(LDADD) -ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xraw_SOURCES = ioctl_fs_x-success-Xraw.c ioctl_fs_x_success_Xraw_OBJECTS = ioctl_fs_x-success-Xraw.$(OBJEXT) ioctl_fs_x_success_Xraw_LDADD = $(LDADD) -ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_fs_x_success_Xverbose_SOURCES = ioctl_fs_x-success-Xverbose.c ioctl_fs_x_success_Xverbose_OBJECTS = \ ioctl_fs_x-success-Xverbose.$(OBJEXT) ioctl_fs_x_success_Xverbose_LDADD = $(LDADD) -ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_fs_x_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_SOURCES = ioctl_gpio.c ioctl_gpio_OBJECTS = ioctl_gpio.$(OBJEXT) ioctl_gpio_LDADD = $(LDADD) -ioctl_gpio_DEPENDENCIES = libtests.a +ioctl_gpio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xabbrev_SOURCES = ioctl_gpio-Xabbrev.c ioctl_gpio_Xabbrev_OBJECTS = ioctl_gpio-Xabbrev.$(OBJEXT) ioctl_gpio_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xraw_SOURCES = ioctl_gpio-Xraw.c ioctl_gpio_Xraw_OBJECTS = ioctl_gpio-Xraw.$(OBJEXT) ioctl_gpio_Xraw_LDADD = $(LDADD) -ioctl_gpio_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_Xverbose_SOURCES = ioctl_gpio-Xverbose.c ioctl_gpio_Xverbose_OBJECTS = ioctl_gpio-Xverbose.$(OBJEXT) ioctl_gpio_Xverbose_LDADD = $(LDADD) -ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_SOURCES = ioctl_gpio-success.c ioctl_gpio_success_OBJECTS = ioctl_gpio-success.$(OBJEXT) ioctl_gpio_success_LDADD = $(LDADD) -ioctl_gpio_success_DEPENDENCIES = libtests.a +ioctl_gpio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_Xabbrev_SOURCES = ioctl_gpio-success-Xabbrev.c ioctl_gpio_success_Xabbrev_OBJECTS = \ ioctl_gpio-success-Xabbrev.$(OBJEXT) ioctl_gpio_success_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xraw_SOURCES = ioctl_gpio-success-Xraw.c ioctl_gpio_success_Xraw_OBJECTS = ioctl_gpio-success-Xraw.$(OBJEXT) ioctl_gpio_success_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_Xverbose_SOURCES = ioctl_gpio-success-Xverbose.c ioctl_gpio_success_Xverbose_OBJECTS = \ ioctl_gpio-success-Xverbose.$(OBJEXT) ioctl_gpio_success_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_SOURCES = ioctl_gpio-success-v.c ioctl_gpio_success_v_OBJECTS = ioctl_gpio-success-v.$(OBJEXT) ioctl_gpio_success_v_LDADD = $(LDADD) -ioctl_gpio_success_v_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xabbrev_SOURCES = ioctl_gpio-success-v-Xabbrev.c ioctl_gpio_success_v_Xabbrev_OBJECTS = \ ioctl_gpio-success-v-Xabbrev.$(OBJEXT) ioctl_gpio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xraw_SOURCES = ioctl_gpio-success-v-Xraw.c ioctl_gpio_success_v_Xraw_OBJECTS = \ ioctl_gpio-success-v-Xraw.$(OBJEXT) ioctl_gpio_success_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_success_v_Xverbose_SOURCES = \ ioctl_gpio-success-v-Xverbose.c ioctl_gpio_success_v_Xverbose_OBJECTS = \ ioctl_gpio-success-v-Xverbose.$(OBJEXT) ioctl_gpio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_gpio_v_SOURCES = ioctl_gpio-v.c ioctl_gpio_v_OBJECTS = ioctl_gpio-v.$(OBJEXT) ioctl_gpio_v_LDADD = $(LDADD) -ioctl_gpio_v_DEPENDENCIES = libtests.a +ioctl_gpio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xabbrev_SOURCES = ioctl_gpio-v-Xabbrev.c ioctl_gpio_v_Xabbrev_OBJECTS = ioctl_gpio-v-Xabbrev.$(OBJEXT) ioctl_gpio_v_Xabbrev_LDADD = $(LDADD) -ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xraw_SOURCES = ioctl_gpio-v-Xraw.c ioctl_gpio_v_Xraw_OBJECTS = ioctl_gpio-v-Xraw.$(OBJEXT) ioctl_gpio_v_Xraw_LDADD = $(LDADD) -ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_gpio_v_Xverbose_SOURCES = ioctl_gpio-v-Xverbose.c ioctl_gpio_v_Xverbose_OBJECTS = ioctl_gpio-v-Xverbose.$(OBJEXT) ioctl_gpio_v_Xverbose_LDADD = $(LDADD) -ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_gpio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_SOURCES = ioctl_hdio.c ioctl_hdio_OBJECTS = ioctl_hdio.$(OBJEXT) ioctl_hdio_LDADD = $(LDADD) -ioctl_hdio_DEPENDENCIES = libtests.a +ioctl_hdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xabbrev_SOURCES = ioctl_hdio-Xabbrev.c ioctl_hdio_Xabbrev_OBJECTS = ioctl_hdio-Xabbrev.$(OBJEXT) ioctl_hdio_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xraw_SOURCES = ioctl_hdio-Xraw.c ioctl_hdio_Xraw_OBJECTS = ioctl_hdio-Xraw.$(OBJEXT) ioctl_hdio_Xraw_LDADD = $(LDADD) -ioctl_hdio_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_Xverbose_SOURCES = ioctl_hdio-Xverbose.c ioctl_hdio_Xverbose_OBJECTS = ioctl_hdio-Xverbose.$(OBJEXT) ioctl_hdio_Xverbose_LDADD = $(LDADD) -ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_SOURCES = ioctl_hdio-success.c ioctl_hdio_success_OBJECTS = ioctl_hdio-success.$(OBJEXT) ioctl_hdio_success_LDADD = $(LDADD) -ioctl_hdio_success_DEPENDENCIES = libtests.a +ioctl_hdio_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_Xabbrev_SOURCES = ioctl_hdio-success-Xabbrev.c ioctl_hdio_success_Xabbrev_OBJECTS = \ ioctl_hdio-success-Xabbrev.$(OBJEXT) ioctl_hdio_success_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xraw_SOURCES = ioctl_hdio-success-Xraw.c ioctl_hdio_success_Xraw_OBJECTS = ioctl_hdio-success-Xraw.$(OBJEXT) ioctl_hdio_success_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_Xverbose_SOURCES = ioctl_hdio-success-Xverbose.c ioctl_hdio_success_Xverbose_OBJECTS = \ ioctl_hdio-success-Xverbose.$(OBJEXT) ioctl_hdio_success_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_SOURCES = ioctl_hdio-success-v.c ioctl_hdio_success_v_OBJECTS = ioctl_hdio-success-v.$(OBJEXT) ioctl_hdio_success_v_LDADD = $(LDADD) -ioctl_hdio_success_v_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xabbrev_SOURCES = ioctl_hdio-success-v-Xabbrev.c ioctl_hdio_success_v_Xabbrev_OBJECTS = \ ioctl_hdio-success-v-Xabbrev.$(OBJEXT) ioctl_hdio_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xraw_SOURCES = ioctl_hdio-success-v-Xraw.c ioctl_hdio_success_v_Xraw_OBJECTS = \ ioctl_hdio-success-v-Xraw.$(OBJEXT) ioctl_hdio_success_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_success_v_Xverbose_SOURCES = \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio_success_v_Xverbose_OBJECTS = \ ioctl_hdio-success-v-Xverbose.$(OBJEXT) ioctl_hdio_success_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_hdio_v_SOURCES = ioctl_hdio-v.c ioctl_hdio_v_OBJECTS = ioctl_hdio-v.$(OBJEXT) ioctl_hdio_v_LDADD = $(LDADD) -ioctl_hdio_v_DEPENDENCIES = libtests.a +ioctl_hdio_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xabbrev_SOURCES = ioctl_hdio-v-Xabbrev.c ioctl_hdio_v_Xabbrev_OBJECTS = ioctl_hdio-v-Xabbrev.$(OBJEXT) ioctl_hdio_v_Xabbrev_LDADD = $(LDADD) -ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xraw_SOURCES = ioctl_hdio-v-Xraw.c ioctl_hdio_v_Xraw_OBJECTS = ioctl_hdio-v-Xraw.$(OBJEXT) ioctl_hdio_v_Xraw_LDADD = $(LDADD) -ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_hdio_v_Xverbose_SOURCES = ioctl_hdio-v-Xverbose.c ioctl_hdio_v_Xverbose_OBJECTS = ioctl_hdio-v-Xverbose.$(OBJEXT) ioctl_hdio_v_Xverbose_LDADD = $(LDADD) -ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_hdio_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_inotify_SOURCES = ioctl_inotify.c ioctl_inotify_OBJECTS = ioctl_inotify.$(OBJEXT) ioctl_inotify_LDADD = $(LDADD) -ioctl_inotify_DEPENDENCIES = libtests.a +ioctl_inotify_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_SOURCES = ioctl_kd.c +ioctl_kd_OBJECTS = ioctl_kd.$(OBJEXT) +ioctl_kd_LDADD = $(LDADD) +ioctl_kd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xabbrev_SOURCES = ioctl_kd-Xabbrev.c +ioctl_kd_Xabbrev_OBJECTS = ioctl_kd-Xabbrev.$(OBJEXT) +ioctl_kd_Xabbrev_LDADD = $(LDADD) +ioctl_kd_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xraw_SOURCES = ioctl_kd-Xraw.c +ioctl_kd_Xraw_OBJECTS = ioctl_kd-Xraw.$(OBJEXT) +ioctl_kd_Xraw_LDADD = $(LDADD) +ioctl_kd_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_Xverbose_SOURCES = ioctl_kd-Xverbose.c +ioctl_kd_Xverbose_OBJECTS = ioctl_kd-Xverbose.$(OBJEXT) +ioctl_kd_Xverbose_LDADD = $(LDADD) +ioctl_kd_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_SOURCES = ioctl_kd-success.c +ioctl_kd_success_OBJECTS = ioctl_kd-success.$(OBJEXT) +ioctl_kd_success_LDADD = $(LDADD) +ioctl_kd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xabbrev_SOURCES = ioctl_kd-success-Xabbrev.c +ioctl_kd_success_Xabbrev_OBJECTS = ioctl_kd-success-Xabbrev.$(OBJEXT) +ioctl_kd_success_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_Xraw_SOURCES = ioctl_kd-success-Xraw.c +ioctl_kd_success_Xraw_OBJECTS = ioctl_kd-success-Xraw.$(OBJEXT) +ioctl_kd_success_Xraw_LDADD = $(LDADD) +ioctl_kd_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_Xverbose_SOURCES = ioctl_kd-success-Xverbose.c +ioctl_kd_success_Xverbose_OBJECTS = \ + ioctl_kd-success-Xverbose.$(OBJEXT) +ioctl_kd_success_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_SOURCES = ioctl_kd-success-s1024.c +ioctl_kd_success_s1024_OBJECTS = ioctl_kd-success-s1024.$(OBJEXT) +ioctl_kd_success_s1024_LDADD = $(LDADD) +ioctl_kd_success_s1024_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xabbrev_SOURCES = \ + ioctl_kd-success-s1024-Xabbrev.c +ioctl_kd_success_s1024_Xabbrev_OBJECTS = \ + ioctl_kd-success-s1024-Xabbrev.$(OBJEXT) +ioctl_kd_success_s1024_Xabbrev_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xraw_SOURCES = ioctl_kd-success-s1024-Xraw.c +ioctl_kd_success_s1024_Xraw_OBJECTS = \ + ioctl_kd-success-s1024-Xraw.$(OBJEXT) +ioctl_kd_success_s1024_Xraw_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_kd_success_s1024_Xverbose_SOURCES = \ + ioctl_kd-success-s1024-Xverbose.c +ioctl_kd_success_s1024_Xverbose_OBJECTS = \ + ioctl_kd-success-s1024-Xverbose.$(OBJEXT) +ioctl_kd_success_s1024_Xverbose_LDADD = $(LDADD) +ioctl_kd_success_s1024_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_kvm_run_SOURCES = ioctl_kvm_run.c ioctl_kvm_run_OBJECTS = ioctl_kvm_run.$(OBJEXT) ioctl_kvm_run_LDADD = $(LDADD) -ioctl_kvm_run_DEPENDENCIES = libtests.a +ioctl_kvm_run_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_v_SOURCES = ioctl_kvm_run-v.c ioctl_kvm_run_v_OBJECTS = ioctl_kvm_run-v.$(OBJEXT) ioctl_kvm_run_v_LDADD = $(LDADD) -ioctl_kvm_run_v_DEPENDENCIES = libtests.a +ioctl_kvm_run_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_kvm_run_auxstr_vcpu_SOURCES = ioctl_kvm_run_auxstr_vcpu.c ioctl_kvm_run_auxstr_vcpu_OBJECTS = \ ioctl_kvm_run_auxstr_vcpu.$(OBJEXT) ioctl_kvm_run_auxstr_vcpu_LDADD = $(LDADD) -ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a +ioctl_kvm_run_auxstr_vcpu_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_lirc_SOURCES = ioctl_lirc.c +ioctl_lirc_OBJECTS = ioctl_lirc.$(OBJEXT) +ioctl_lirc_LDADD = $(LDADD) +ioctl_lirc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_lirc_success_SOURCES = ioctl_lirc-success.c +ioctl_lirc_success_OBJECTS = ioctl_lirc-success.$(OBJEXT) +ioctl_lirc_success_LDADD = $(LDADD) +ioctl_lirc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_SOURCES = ioctl_loop.c ioctl_loop_OBJECTS = ioctl_loop.$(OBJEXT) ioctl_loop_LDADD = $(LDADD) -ioctl_loop_DEPENDENCIES = libtests.a +ioctl_loop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_nv_SOURCES = ioctl_loop-nv.c ioctl_loop_nv_OBJECTS = ioctl_loop-nv.$(OBJEXT) ioctl_loop_nv_LDADD = $(LDADD) -ioctl_loop_nv_DEPENDENCIES = libtests.a +ioctl_loop_nv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_loop_v_SOURCES = ioctl_loop-v.c ioctl_loop_v_OBJECTS = ioctl_loop-v.$(OBJEXT) ioctl_loop_v_LDADD = $(LDADD) -ioctl_loop_v_DEPENDENCIES = libtests.a +ioctl_loop_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_SOURCES = ioctl_mtd.c ioctl_mtd_OBJECTS = ioctl_mtd.$(OBJEXT) ioctl_mtd_LDADD = $(LDADD) -ioctl_mtd_DEPENDENCIES = libtests.a +ioctl_mtd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_mtd_success_SOURCES = ioctl_mtd-success.c ioctl_mtd_success_OBJECTS = ioctl_mtd-success.$(OBJEXT) ioctl_mtd_success_LDADD = $(LDADD) -ioctl_mtd_success_DEPENDENCIES = libtests.a +ioctl_mtd_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nbd_SOURCES = ioctl_nbd.c ioctl_nbd_OBJECTS = ioctl_nbd.$(OBJEXT) ioctl_nbd_LDADD = $(LDADD) -ioctl_nbd_DEPENDENCIES = libtests.a +ioctl_nbd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_nsfs_SOURCES = ioctl_nsfs.c ioctl_nsfs_OBJECTS = ioctl_nsfs.$(OBJEXT) ioctl_nsfs_LDADD = $(LDADD) -ioctl_nsfs_DEPENDENCIES = libtests.a +ioctl_nsfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_SOURCES = ioctl_perf.c ioctl_perf_OBJECTS = ioctl_perf.$(OBJEXT) ioctl_perf_LDADD = $(LDADD) -ioctl_perf_DEPENDENCIES = libtests.a +ioctl_perf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_perf_success_SOURCES = ioctl_perf-success.c ioctl_perf_success_OBJECTS = ioctl_perf-success.$(OBJEXT) ioctl_perf_success_LDADD = $(LDADD) -ioctl_perf_success_DEPENDENCIES = libtests.a +ioctl_perf_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ptp_SOURCES = ioctl_ptp.c ioctl_ptp_OBJECTS = ioctl_ptp.$(OBJEXT) ioctl_ptp_LDADD = $(LDADD) -ioctl_ptp_DEPENDENCIES = libtests.a +ioctl_ptp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xabbrev_SOURCES = ioctl_ptp-Xabbrev.c +ioctl_ptp_Xabbrev_OBJECTS = ioctl_ptp-Xabbrev.$(OBJEXT) +ioctl_ptp_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xraw_SOURCES = ioctl_ptp-Xraw.c +ioctl_ptp_Xraw_OBJECTS = ioctl_ptp-Xraw.$(OBJEXT) +ioctl_ptp_Xraw_LDADD = $(LDADD) +ioctl_ptp_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_Xverbose_SOURCES = ioctl_ptp-Xverbose.c +ioctl_ptp_Xverbose_OBJECTS = ioctl_ptp-Xverbose.$(OBJEXT) +ioctl_ptp_Xverbose_LDADD = $(LDADD) +ioctl_ptp_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_SOURCES = ioctl_ptp-success.c +ioctl_ptp_success_OBJECTS = ioctl_ptp-success.$(OBJEXT) +ioctl_ptp_success_LDADD = $(LDADD) +ioctl_ptp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xabbrev_SOURCES = ioctl_ptp-success-Xabbrev.c +ioctl_ptp_success_Xabbrev_OBJECTS = \ + ioctl_ptp-success-Xabbrev.$(OBJEXT) +ioctl_ptp_success_Xabbrev_LDADD = $(LDADD) +ioctl_ptp_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xraw_SOURCES = ioctl_ptp-success-Xraw.c +ioctl_ptp_success_Xraw_OBJECTS = ioctl_ptp-success-Xraw.$(OBJEXT) +ioctl_ptp_success_Xraw_LDADD = $(LDADD) +ioctl_ptp_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_ptp_success_Xverbose_SOURCES = ioctl_ptp-success-Xverbose.c +ioctl_ptp_success_Xverbose_OBJECTS = \ + ioctl_ptp-success-Xverbose.$(OBJEXT) +ioctl_ptp_success_Xverbose_LDADD = $(LDADD) +ioctl_ptp_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_random_SOURCES = ioctl_random.c ioctl_random_OBJECTS = ioctl_random.$(OBJEXT) ioctl_random_LDADD = $(LDADD) -ioctl_random_DEPENDENCIES = libtests.a +ioctl_random_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_SOURCES = ioctl_rtc.c ioctl_rtc_OBJECTS = ioctl_rtc.$(OBJEXT) ioctl_rtc_LDADD = $(LDADD) -ioctl_rtc_DEPENDENCIES = libtests.a +ioctl_rtc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_success_SOURCES = ioctl_rtc-success.c ioctl_rtc_success_OBJECTS = ioctl_rtc-success.$(OBJEXT) ioctl_rtc_success_LDADD = $(LDADD) -ioctl_rtc_success_DEPENDENCIES = libtests.a +ioctl_rtc_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_rtc_v_SOURCES = ioctl_rtc-v.c ioctl_rtc_v_OBJECTS = ioctl_rtc-v.$(OBJEXT) ioctl_rtc_v_LDADD = $(LDADD) -ioctl_rtc_v_DEPENDENCIES = libtests.a +ioctl_rtc_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_scsi_SOURCES = ioctl_scsi.c ioctl_scsi_OBJECTS = ioctl_scsi.$(OBJEXT) ioctl_scsi_LDADD = $(LDADD) -ioctl_scsi_DEPENDENCIES = libtests.a +ioctl_scsi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_SOURCES = ioctl_seccomp.c +ioctl_seccomp_OBJECTS = ioctl_seccomp.$(OBJEXT) +ioctl_seccomp_LDADD = $(LDADD) +ioctl_seccomp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp__pidns_translation_SOURCES = \ + ioctl_seccomp--pidns-translation.c +ioctl_seccomp__pidns_translation_OBJECTS = \ + ioctl_seccomp--pidns-translation.$(OBJEXT) +ioctl_seccomp__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_success_SOURCES = ioctl_seccomp-success.c +ioctl_seccomp_success_OBJECTS = ioctl_seccomp-success.$(OBJEXT) +ioctl_seccomp_success_LDADD = $(LDADD) +ioctl_seccomp_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_SOURCES = ioctl_seccomp-y.c +ioctl_seccomp_y_OBJECTS = ioctl_seccomp-y.$(OBJEXT) +ioctl_seccomp_y_LDADD = $(LDADD) +ioctl_seccomp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_SOURCES = ioctl_seccomp-y-success.c +ioctl_seccomp_y_success_OBJECTS = ioctl_seccomp-y-success.$(OBJEXT) +ioctl_seccomp_y_success_LDADD = $(LDADD) +ioctl_seccomp_y_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation.c +ioctl_seccomp_y_success__pidns_translation_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c +ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xraw_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c +ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xraw.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success__pidns_translation_Xverbose_SOURCES = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c +ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES = \ + libtests.a $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xabbrev_SOURCES = \ + ioctl_seccomp-y-success-Xabbrev.c +ioctl_seccomp_y_success_Xabbrev_OBJECTS = \ + ioctl_seccomp-y-success-Xabbrev.$(OBJEXT) +ioctl_seccomp_y_success_Xabbrev_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xraw_SOURCES = ioctl_seccomp-y-success-Xraw.c +ioctl_seccomp_y_success_Xraw_OBJECTS = \ + ioctl_seccomp-y-success-Xraw.$(OBJEXT) +ioctl_seccomp_y_success_Xraw_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ioctl_seccomp_y_success_Xverbose_SOURCES = \ + ioctl_seccomp-y-success-Xverbose.c +ioctl_seccomp_y_success_Xverbose_OBJECTS = \ + ioctl_seccomp-y-success-Xverbose.$(OBJEXT) +ioctl_seccomp_y_success_Xverbose_LDADD = $(LDADD) +ioctl_seccomp_y_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_sg_io_v3_SOURCES = ioctl_sg_io_v3.c ioctl_sg_io_v3_OBJECTS = ioctl_sg_io_v3.$(OBJEXT) ioctl_sg_io_v3_LDADD = $(LDADD) -ioctl_sg_io_v3_DEPENDENCIES = libtests.a +ioctl_sg_io_v3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sg_io_v4_SOURCES = ioctl_sg_io_v4.c ioctl_sg_io_v4_OBJECTS = ioctl_sg_io_v4.$(OBJEXT) ioctl_sg_io_v4_LDADD = $(LDADD) -ioctl_sg_io_v4_DEPENDENCIES = libtests.a +ioctl_sg_io_v4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_SOURCES = ioctl_sock.c ioctl_sock_OBJECTS = ioctl_sock.$(OBJEXT) ioctl_sock_LDADD = $(LDADD) -ioctl_sock_DEPENDENCIES = libtests.a +ioctl_sock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_sock_gifconf_SOURCES = ioctl_sock_gifconf.c ioctl_sock_gifconf_OBJECTS = ioctl_sock_gifconf.$(OBJEXT) ioctl_sock_gifconf_LDADD = $(LDADD) -ioctl_sock_gifconf_DEPENDENCIES = libtests.a +ioctl_sock_gifconf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_tee_SOURCES = ioctl_tee.c ioctl_tee_OBJECTS = ioctl_tee.$(OBJEXT) ioctl_tee_LDADD = $(LDADD) -ioctl_tee_DEPENDENCIES = libtests.a +ioctl_tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_SOURCES = ioctl_termios.c +ioctl_termios_OBJECTS = ioctl_termios.$(OBJEXT) +ioctl_termios_LDADD = $(LDADD) +ioctl_termios_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_termios_v_SOURCES = ioctl_termios-v.c +ioctl_termios_v_OBJECTS = ioctl_termios-v.$(OBJEXT) +ioctl_termios_v_LDADD = $(LDADD) +ioctl_termios_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_tiocm_SOURCES = ioctl_tiocm.c +ioctl_tiocm_OBJECTS = ioctl_tiocm.$(OBJEXT) +ioctl_tiocm_LDADD = $(LDADD) +ioctl_tiocm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_SOURCES = ioctl_ubi.c ioctl_ubi_OBJECTS = ioctl_ubi.$(OBJEXT) ioctl_ubi_LDADD = $(LDADD) -ioctl_ubi_DEPENDENCIES = libtests.a +ioctl_ubi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_ubi_success_SOURCES = ioctl_ubi-success.c ioctl_ubi_success_OBJECTS = ioctl_ubi-success.$(OBJEXT) ioctl_ubi_success_LDADD = $(LDADD) -ioctl_ubi_success_DEPENDENCIES = libtests.a +ioctl_ubi_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_uffdio_SOURCES = ioctl_uffdio.c ioctl_uffdio_OBJECTS = ioctl_uffdio.$(OBJEXT) ioctl_uffdio_LDADD = $(LDADD) -ioctl_uffdio_DEPENDENCIES = libtests.a +ioctl_uffdio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_SOURCES = ioctl_v4l2.c ioctl_v4l2_OBJECTS = ioctl_v4l2.$(OBJEXT) ioctl_v4l2_LDADD = $(LDADD) -ioctl_v4l2_DEPENDENCIES = libtests.a +ioctl_v4l2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xabbrev_SOURCES = ioctl_v4l2-Xabbrev.c ioctl_v4l2_Xabbrev_OBJECTS = ioctl_v4l2-Xabbrev.$(OBJEXT) ioctl_v4l2_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xraw_SOURCES = ioctl_v4l2-Xraw.c ioctl_v4l2_Xraw_OBJECTS = ioctl_v4l2-Xraw.$(OBJEXT) ioctl_v4l2_Xraw_LDADD = $(LDADD) -ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_Xverbose_SOURCES = ioctl_v4l2-Xverbose.c ioctl_v4l2_Xverbose_OBJECTS = ioctl_v4l2-Xverbose.$(OBJEXT) ioctl_v4l2_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_SOURCES = ioctl_v4l2-success.c ioctl_v4l2_success_OBJECTS = ioctl_v4l2-success.$(OBJEXT) ioctl_v4l2_success_LDADD = $(LDADD) -ioctl_v4l2_success_DEPENDENCIES = libtests.a +ioctl_v4l2_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xabbrev_SOURCES = ioctl_v4l2-success-Xabbrev.c ioctl_v4l2_success_Xabbrev_OBJECTS = \ ioctl_v4l2-success-Xabbrev.$(OBJEXT) ioctl_v4l2_success_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xraw_SOURCES = ioctl_v4l2-success-Xraw.c ioctl_v4l2_success_Xraw_OBJECTS = ioctl_v4l2-success-Xraw.$(OBJEXT) ioctl_v4l2_success_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_Xverbose_SOURCES = ioctl_v4l2-success-Xverbose.c ioctl_v4l2_success_Xverbose_OBJECTS = \ ioctl_v4l2-success-Xverbose.$(OBJEXT) ioctl_v4l2_success_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_SOURCES = ioctl_v4l2-success-v.c ioctl_v4l2_success_v_OBJECTS = ioctl_v4l2-success-v.$(OBJEXT) ioctl_v4l2_success_v_LDADD = $(LDADD) -ioctl_v4l2_success_v_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xabbrev_SOURCES = ioctl_v4l2-success-v-Xabbrev.c ioctl_v4l2_success_v_Xabbrev_OBJECTS = \ ioctl_v4l2-success-v-Xabbrev.$(OBJEXT) ioctl_v4l2_success_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xraw_SOURCES = ioctl_v4l2-success-v-Xraw.c ioctl_v4l2_success_v_Xraw_OBJECTS = \ ioctl_v4l2-success-v-Xraw.$(OBJEXT) ioctl_v4l2_success_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_success_v_Xverbose_SOURCES = \ ioctl_v4l2-success-v-Xverbose.c ioctl_v4l2_success_v_Xverbose_OBJECTS = \ ioctl_v4l2-success-v-Xverbose.$(OBJEXT) ioctl_v4l2_success_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_success_v_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioctl_v4l2_v_SOURCES = ioctl_v4l2-v.c ioctl_v4l2_v_OBJECTS = ioctl_v4l2-v.$(OBJEXT) ioctl_v4l2_v_LDADD = $(LDADD) -ioctl_v4l2_v_DEPENDENCIES = libtests.a +ioctl_v4l2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xabbrev_SOURCES = ioctl_v4l2-v-Xabbrev.c ioctl_v4l2_v_Xabbrev_OBJECTS = ioctl_v4l2-v-Xabbrev.$(OBJEXT) ioctl_v4l2_v_Xabbrev_LDADD = $(LDADD) -ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xraw_SOURCES = ioctl_v4l2-v-Xraw.c ioctl_v4l2_v_Xraw_OBJECTS = ioctl_v4l2-v-Xraw.$(OBJEXT) ioctl_v4l2_v_Xraw_LDADD = $(LDADD) -ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_v4l2_v_Xverbose_SOURCES = ioctl_v4l2-v-Xverbose.c ioctl_v4l2_v_Xverbose_OBJECTS = ioctl_v4l2-v-Xverbose.$(OBJEXT) ioctl_v4l2_v_Xverbose_LDADD = $(LDADD) -ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a +ioctl_v4l2_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioctl_watchdog_SOURCES = ioctl_watchdog.c ioctl_watchdog_OBJECTS = ioctl_watchdog.$(OBJEXT) ioctl_watchdog_LDADD = $(LDADD) -ioctl_watchdog_DEPENDENCIES = libtests.a +ioctl_watchdog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ioctl_winsize_SOURCES = ioctl_winsize.c +ioctl_winsize_OBJECTS = ioctl_winsize.$(OBJEXT) +ioctl_winsize_LDADD = $(LDADD) +ioctl_winsize_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioperm_SOURCES = ioperm.c ioperm_OBJECTS = ioperm.$(OBJEXT) ioperm_LDADD = $(LDADD) -ioperm_DEPENDENCIES = libtests.a +ioperm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) iopl_SOURCES = iopl.c iopl_OBJECTS = iopl.$(OBJEXT) iopl_LDADD = $(LDADD) -iopl_DEPENDENCIES = libtests.a +iopl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_SOURCES = ioprio.c ioprio_OBJECTS = ioprio.$(OBJEXT) ioprio_LDADD = $(LDADD) -ioprio_DEPENDENCIES = libtests.a +ioprio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio__pidns_translation_SOURCES = ioprio--pidns-translation.c ioprio__pidns_translation_OBJECTS = \ ioprio--pidns-translation.$(OBJEXT) ioprio__pidns_translation_LDADD = $(LDADD) -ioprio__pidns_translation_DEPENDENCIES = libtests.a +ioprio__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) ioprio_Xabbrev_SOURCES = ioprio-Xabbrev.c ioprio_Xabbrev_OBJECTS = ioprio-Xabbrev.$(OBJEXT) ioprio_Xabbrev_LDADD = $(LDADD) -ioprio_Xabbrev_DEPENDENCIES = libtests.a +ioprio_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xraw_SOURCES = ioprio-Xraw.c ioprio_Xraw_OBJECTS = ioprio-Xraw.$(OBJEXT) ioprio_Xraw_LDADD = $(LDADD) -ioprio_Xraw_DEPENDENCIES = libtests.a +ioprio_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ioprio_Xverbose_SOURCES = ioprio-Xverbose.c ioprio_Xverbose_OBJECTS = ioprio-Xverbose.$(OBJEXT) ioprio_Xverbose_LDADD = $(LDADD) -ioprio_Xverbose_DEPENDENCIES = libtests.a +ioprio_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ip_mreq_SOURCES = ip_mreq.c ip_mreq_OBJECTS = ip_mreq.$(OBJEXT) ip_mreq_LDADD = $(LDADD) -ip_mreq_DEPENDENCIES = libtests.a +ip_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_SOURCES = ipc.c ipc_OBJECTS = ipc.$(OBJEXT) ipc_LDADD = $(LDADD) -ipc_DEPENDENCIES = libtests.a +ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_SOURCES = ipc_msg.c ipc_msg_OBJECTS = ipc_msg.$(OBJEXT) ipc_msg_LDADD = $(LDADD) -ipc_msg_DEPENDENCIES = libtests.a +ipc_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xabbrev_SOURCES = ipc_msg-Xabbrev.c ipc_msg_Xabbrev_OBJECTS = ipc_msg-Xabbrev.$(OBJEXT) ipc_msg_Xabbrev_LDADD = $(LDADD) -ipc_msg_Xabbrev_DEPENDENCIES = libtests.a +ipc_msg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xraw_SOURCES = ipc_msg-Xraw.c ipc_msg_Xraw_OBJECTS = ipc_msg-Xraw.$(OBJEXT) ipc_msg_Xraw_LDADD = $(LDADD) -ipc_msg_Xraw_DEPENDENCIES = libtests.a +ipc_msg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msg_Xverbose_SOURCES = ipc_msg-Xverbose.c ipc_msg_Xverbose_OBJECTS = ipc_msg-Xverbose.$(OBJEXT) ipc_msg_Xverbose_LDADD = $(LDADD) -ipc_msg_Xverbose_DEPENDENCIES = libtests.a +ipc_msg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_SOURCES = ipc_msgbuf.c ipc_msgbuf_OBJECTS = ipc_msgbuf.$(OBJEXT) ipc_msgbuf_LDADD = $(LDADD) -ipc_msgbuf_DEPENDENCIES = libtests.a +ipc_msgbuf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xabbrev_SOURCES = ipc_msgbuf-Xabbrev.c ipc_msgbuf_Xabbrev_OBJECTS = ipc_msgbuf-Xabbrev.$(OBJEXT) ipc_msgbuf_Xabbrev_LDADD = $(LDADD) -ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a +ipc_msgbuf_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xraw_SOURCES = ipc_msgbuf-Xraw.c ipc_msgbuf_Xraw_OBJECTS = ipc_msgbuf-Xraw.$(OBJEXT) ipc_msgbuf_Xraw_LDADD = $(LDADD) -ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a +ipc_msgbuf_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_msgbuf_Xverbose_SOURCES = ipc_msgbuf-Xverbose.c ipc_msgbuf_Xverbose_OBJECTS = ipc_msgbuf-Xverbose.$(OBJEXT) ipc_msgbuf_Xverbose_LDADD = $(LDADD) -ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a +ipc_msgbuf_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_SOURCES = ipc_sem.c ipc_sem_OBJECTS = ipc_sem.$(OBJEXT) ipc_sem_LDADD = $(LDADD) -ipc_sem_DEPENDENCIES = libtests.a +ipc_sem_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xabbrev_SOURCES = ipc_sem-Xabbrev.c ipc_sem_Xabbrev_OBJECTS = ipc_sem-Xabbrev.$(OBJEXT) ipc_sem_Xabbrev_LDADD = $(LDADD) -ipc_sem_Xabbrev_DEPENDENCIES = libtests.a +ipc_sem_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xraw_SOURCES = ipc_sem-Xraw.c ipc_sem_Xraw_OBJECTS = ipc_sem-Xraw.$(OBJEXT) ipc_sem_Xraw_LDADD = $(LDADD) -ipc_sem_Xraw_DEPENDENCIES = libtests.a +ipc_sem_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_sem_Xverbose_SOURCES = ipc_sem-Xverbose.c ipc_sem_Xverbose_OBJECTS = ipc_sem-Xverbose.$(OBJEXT) ipc_sem_Xverbose_LDADD = $(LDADD) -ipc_sem_Xverbose_DEPENDENCIES = libtests.a +ipc_sem_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_SOURCES = ipc_shm.c ipc_shm_OBJECTS = ipc_shm.$(OBJEXT) ipc_shm_LDADD = $(LDADD) -ipc_shm_DEPENDENCIES = libtests.a +ipc_shm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xabbrev_SOURCES = ipc_shm-Xabbrev.c ipc_shm_Xabbrev_OBJECTS = ipc_shm-Xabbrev.$(OBJEXT) ipc_shm_Xabbrev_LDADD = $(LDADD) -ipc_shm_Xabbrev_DEPENDENCIES = libtests.a +ipc_shm_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xraw_SOURCES = ipc_shm-Xraw.c ipc_shm_Xraw_OBJECTS = ipc_shm-Xraw.$(OBJEXT) ipc_shm_Xraw_LDADD = $(LDADD) -ipc_shm_Xraw_DEPENDENCIES = libtests.a +ipc_shm_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ipc_shm_Xverbose_SOURCES = ipc_shm-Xverbose.c ipc_shm_Xverbose_OBJECTS = ipc_shm-Xverbose.$(OBJEXT) ipc_shm_Xverbose_LDADD = $(LDADD) -ipc_shm_Xverbose_DEPENDENCIES = libtests.a +ipc_shm_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) is_linux_mips_n64_SOURCES = is_linux_mips_n64.c is_linux_mips_n64_OBJECTS = is_linux_mips_n64.$(OBJEXT) is_linux_mips_n64_LDADD = $(LDADD) -is_linux_mips_n64_DEPENDENCIES = libtests.a +is_linux_mips_n64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_SOURCES = kcmp.c kcmp_OBJECTS = kcmp.$(OBJEXT) kcmp_LDADD = $(LDADD) -kcmp_DEPENDENCIES = libtests.a +kcmp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y_SOURCES = kcmp-y.c kcmp_y_OBJECTS = kcmp-y.$(OBJEXT) kcmp_y_LDADD = $(LDADD) -kcmp_y_DEPENDENCIES = libtests.a +kcmp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kcmp_y__pidns_translation_SOURCES = kcmp-y--pidns-translation.c kcmp_y__pidns_translation_OBJECTS = \ kcmp-y--pidns-translation.$(OBJEXT) kcmp_y__pidns_translation_LDADD = $(LDADD) -kcmp_y__pidns_translation_DEPENDENCIES = libtests.a +kcmp_y__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kern_features_SOURCES = kern_features.c kern_features_OBJECTS = kern_features.$(OBJEXT) kern_features_LDADD = $(LDADD) -kern_features_DEPENDENCIES = libtests.a +kern_features_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_SOURCES = kernel_version.c kernel_version_OBJECTS = kernel_version.$(OBJEXT) kernel_version_LDADD = $(LDADD) -kernel_version_DEPENDENCIES = libtests.a +kernel_version_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xabbrev_SOURCES = kernel_version-Xabbrev.c kernel_version_Xabbrev_OBJECTS = kernel_version-Xabbrev.$(OBJEXT) kernel_version_Xabbrev_LDADD = $(LDADD) -kernel_version_Xabbrev_DEPENDENCIES = libtests.a +kernel_version_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xraw_SOURCES = kernel_version-Xraw.c kernel_version_Xraw_OBJECTS = kernel_version-Xraw.$(OBJEXT) kernel_version_Xraw_LDADD = $(LDADD) -kernel_version_Xraw_DEPENDENCIES = libtests.a +kernel_version_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kernel_version_Xverbose_SOURCES = kernel_version-Xverbose.c kernel_version_Xverbose_OBJECTS = kernel_version-Xverbose.$(OBJEXT) kernel_version_Xverbose_LDADD = $(LDADD) -kernel_version_Xverbose_DEPENDENCIES = libtests.a +kernel_version_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kexec_file_load_SOURCES = kexec_file_load.c kexec_file_load_OBJECTS = kexec_file_load.$(OBJEXT) kexec_file_load_LDADD = $(LDADD) -kexec_file_load_DEPENDENCIES = libtests.a +kexec_file_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kexec_load_SOURCES = kexec_load.c kexec_load_OBJECTS = kexec_load.$(OBJEXT) kexec_load_LDADD = $(LDADD) -kexec_load_DEPENDENCIES = libtests.a +kexec_load_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_SOURCES = keyctl.c keyctl_OBJECTS = keyctl.$(OBJEXT) keyctl_LDADD = $(LDADD) -keyctl_DEPENDENCIES = libtests.a +keyctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xabbrev_SOURCES = keyctl-Xabbrev.c keyctl_Xabbrev_OBJECTS = keyctl-Xabbrev.$(OBJEXT) keyctl_Xabbrev_LDADD = $(LDADD) -keyctl_Xabbrev_DEPENDENCIES = libtests.a +keyctl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xraw_SOURCES = keyctl-Xraw.c keyctl_Xraw_OBJECTS = keyctl-Xraw.$(OBJEXT) keyctl_Xraw_LDADD = $(LDADD) -keyctl_Xraw_DEPENDENCIES = libtests.a +keyctl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) keyctl_Xverbose_SOURCES = keyctl-Xverbose.c keyctl_Xverbose_OBJECTS = keyctl-Xverbose.$(OBJEXT) keyctl_Xverbose_LDADD = $(LDADD) -keyctl_Xverbose_DEPENDENCIES = libtests.a +keyctl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill_SOURCES = kill.c kill_OBJECTS = kill.$(OBJEXT) kill_LDADD = $(LDADD) -kill_DEPENDENCIES = libtests.a +kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) kill__pidns_translation_SOURCES = kill--pidns-translation.c kill__pidns_translation_OBJECTS = kill--pidns-translation.$(OBJEXT) kill__pidns_translation_LDADD = $(LDADD) -kill__pidns_translation_DEPENDENCIES = libtests.a +kill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) kill_child_SOURCES = kill_child.c kill_child_OBJECTS = kill_child.$(OBJEXT) kill_child_LDADD = $(LDADD) -kill_child_DEPENDENCIES = libtests.a +kill_child_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ksysent_SOURCES = ksysent.c ksysent_OBJECTS = ksysent.$(OBJEXT) ksysent_LDADD = $(LDADD) -ksysent_DEPENDENCIES = libtests.a +ksysent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_SOURCES = landlock_add_rule.c landlock_add_rule_OBJECTS = landlock_add_rule.$(OBJEXT) landlock_add_rule_LDADD = $(LDADD) -landlock_add_rule_DEPENDENCIES = libtests.a +landlock_add_rule_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_add_rule_y_SOURCES = landlock_add_rule-y.c landlock_add_rule_y_OBJECTS = landlock_add_rule-y.$(OBJEXT) landlock_add_rule_y_LDADD = $(LDADD) -landlock_add_rule_y_DEPENDENCIES = libtests.a +landlock_add_rule_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_create_ruleset_SOURCES = landlock_create_ruleset.c landlock_create_ruleset_OBJECTS = landlock_create_ruleset.$(OBJEXT) landlock_create_ruleset_LDADD = $(LDADD) -landlock_create_ruleset_DEPENDENCIES = libtests.a +landlock_create_ruleset_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_SOURCES = \ landlock_create_ruleset-success.c landlock_create_ruleset_success_OBJECTS = \ landlock_create_ruleset-success.$(OBJEXT) landlock_create_ruleset_success_LDADD = $(LDADD) -landlock_create_ruleset_success_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_success_y_SOURCES = \ landlock_create_ruleset-success-y.c landlock_create_ruleset_success_y_OBJECTS = \ landlock_create_ruleset-success-y.$(OBJEXT) landlock_create_ruleset_success_y_LDADD = $(LDADD) -landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_success_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_create_ruleset_y_SOURCES = landlock_create_ruleset-y.c landlock_create_ruleset_y_OBJECTS = \ landlock_create_ruleset-y.$(OBJEXT) landlock_create_ruleset_y_LDADD = $(LDADD) -landlock_create_ruleset_y_DEPENDENCIES = libtests.a +landlock_create_ruleset_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) landlock_restrict_self_SOURCES = landlock_restrict_self.c landlock_restrict_self_OBJECTS = landlock_restrict_self.$(OBJEXT) landlock_restrict_self_LDADD = $(LDADD) -landlock_restrict_self_DEPENDENCIES = libtests.a +landlock_restrict_self_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) landlock_restrict_self_y_SOURCES = landlock_restrict_self-y.c landlock_restrict_self_y_OBJECTS = landlock_restrict_self-y.$(OBJEXT) landlock_restrict_self_y_LDADD = $(LDADD) -landlock_restrict_self_y_DEPENDENCIES = libtests.a +landlock_restrict_self_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) lchown_SOURCES = lchown.c lchown_OBJECTS = lchown.$(OBJEXT) lchown_LDADD = $(LDADD) -lchown_DEPENDENCIES = libtests.a +lchown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lchown32_SOURCES = lchown32.c lchown32_OBJECTS = lchown32.$(OBJEXT) lchown32_LDADD = $(LDADD) -lchown32_DEPENDENCIES = libtests.a +lchown32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) link_SOURCES = link.c link_OBJECTS = link.$(OBJEXT) link_LDADD = $(LDADD) -link_DEPENDENCIES = libtests.a +link_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat_SOURCES = linkat.c linkat_OBJECTS = linkat.$(OBJEXT) linkat_LDADD = $(LDADD) -linkat_DEPENDENCIES = libtests.a +linkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) linkat__secontext_SOURCES = linkat--secontext.c linkat__secontext_OBJECTS = linkat--secontext.$(OBJEXT) -linkat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) linkat__secontext_full_SOURCES = linkat--secontext_full.c linkat__secontext_full_OBJECTS = linkat--secontext_full.$(OBJEXT) -linkat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +linkat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_full_mismatch_SOURCES = \ + linkat--secontext_full_mismatch.c +linkat__secontext_full_mismatch_OBJECTS = \ + linkat--secontext_full_mismatch.$(OBJEXT) +linkat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +linkat__secontext_mismatch_SOURCES = linkat--secontext_mismatch.c +linkat__secontext_mismatch_OBJECTS = \ + linkat--secontext_mismatch.$(OBJEXT) +linkat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) list_sigaction_signum_SOURCES = list_sigaction_signum.c list_sigaction_signum_OBJECTS = list_sigaction_signum.$(OBJEXT) list_sigaction_signum_LDADD = $(LDADD) -list_sigaction_signum_DEPENDENCIES = libtests.a +list_sigaction_signum_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) llseek_SOURCES = llseek.c llseek_OBJECTS = llseek.$(OBJEXT) llseek_LDADD = $(LDADD) -llseek_DEPENDENCIES = libtests.a +llseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) localtime_SOURCES = localtime.c localtime_OBJECTS = localtime.$(OBJEXT) -localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +localtime_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) lookup_dcookie_SOURCES = lookup_dcookie.c lookup_dcookie_OBJECTS = lookup_dcookie.$(OBJEXT) lookup_dcookie_LDADD = $(LDADD) -lookup_dcookie_DEPENDENCIES = libtests.a +lookup_dcookie_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) looping_threads_SOURCES = looping_threads.c looping_threads_OBJECTS = looping_threads.$(OBJEXT) -looping_threads_DEPENDENCIES = $(LDADD) +looping_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) lseek_SOURCES = lseek.c lseek_OBJECTS = lseek.$(OBJEXT) lseek_LDADD = $(LDADD) -lseek_DEPENDENCIES = libtests.a +lseek_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat_SOURCES = lstat.c lstat_OBJECTS = lstat.$(OBJEXT) lstat_LDADD = $(LDADD) -lstat_DEPENDENCIES = libtests.a +lstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) lstat64_SOURCES = lstat64.c lstat64_OBJECTS = lstat64-lstat64.$(OBJEXT) lstat64_LDADD = $(LDADD) -lstat64_DEPENDENCIES = libtests.a +lstat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) madvise_SOURCES = madvise.c madvise_OBJECTS = madvise.$(OBJEXT) madvise_LDADD = $(LDADD) -madvise_DEPENDENCIES = libtests.a +madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) maybe_switch_current_tcp_SOURCES = maybe_switch_current_tcp.c maybe_switch_current_tcp_OBJECTS = maybe_switch_current_tcp.$(OBJEXT) -maybe_switch_current_tcp_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp_DEPENDENCIES = $(am__DEPENDENCIES_2) maybe_switch_current_tcp__quiet_thread_execve_SOURCES = \ maybe_switch_current_tcp--quiet-thread-execve.c maybe_switch_current_tcp__quiet_thread_execve_OBJECTS = \ maybe_switch_current_tcp--quiet-thread-execve.$(OBJEXT) -maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = $(LDADD) +maybe_switch_current_tcp__quiet_thread_execve_DEPENDENCIES = \ + $(am__DEPENDENCIES_2) mbind_SOURCES = mbind.c mbind_OBJECTS = mbind.$(OBJEXT) mbind_LDADD = $(LDADD) -mbind_DEPENDENCIES = libtests.a +mbind_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xabbrev_SOURCES = mbind-Xabbrev.c mbind_Xabbrev_OBJECTS = mbind-Xabbrev.$(OBJEXT) mbind_Xabbrev_LDADD = $(LDADD) -mbind_Xabbrev_DEPENDENCIES = libtests.a +mbind_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xraw_SOURCES = mbind-Xraw.c mbind_Xraw_OBJECTS = mbind-Xraw.$(OBJEXT) mbind_Xraw_LDADD = $(LDADD) -mbind_Xraw_DEPENDENCIES = libtests.a +mbind_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mbind_Xverbose_SOURCES = mbind-Xverbose.c mbind_Xverbose_OBJECTS = mbind-Xverbose.$(OBJEXT) mbind_Xverbose_LDADD = $(LDADD) -mbind_Xverbose_DEPENDENCIES = libtests.a +mbind_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) membarrier_SOURCES = membarrier.c membarrier_OBJECTS = membarrier.$(OBJEXT) membarrier_LDADD = $(LDADD) -membarrier_DEPENDENCIES = libtests.a +membarrier_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_SOURCES = memfd_create.c memfd_create_OBJECTS = memfd_create.$(OBJEXT) memfd_create_LDADD = $(LDADD) -memfd_create_DEPENDENCIES = libtests.a +memfd_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xabbrev_SOURCES = memfd_create-Xabbrev.c memfd_create_Xabbrev_OBJECTS = memfd_create-Xabbrev.$(OBJEXT) memfd_create_Xabbrev_LDADD = $(LDADD) -memfd_create_Xabbrev_DEPENDENCIES = libtests.a +memfd_create_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xraw_SOURCES = memfd_create-Xraw.c memfd_create_Xraw_OBJECTS = memfd_create-Xraw.$(OBJEXT) memfd_create_Xraw_LDADD = $(LDADD) -memfd_create_Xraw_DEPENDENCIES = libtests.a +memfd_create_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_create_Xverbose_SOURCES = memfd_create-Xverbose.c memfd_create_Xverbose_OBJECTS = memfd_create-Xverbose.$(OBJEXT) memfd_create_Xverbose_LDADD = $(LDADD) -memfd_create_Xverbose_DEPENDENCIES = libtests.a +memfd_create_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_SOURCES = memfd_secret.c memfd_secret_OBJECTS = memfd_secret.$(OBJEXT) memfd_secret_LDADD = $(LDADD) -memfd_secret_DEPENDENCIES = libtests.a +memfd_secret_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_SOURCES = memfd_secret-success.c memfd_secret_success_OBJECTS = memfd_secret-success.$(OBJEXT) memfd_secret_success_LDADD = $(LDADD) -memfd_secret_success_DEPENDENCIES = libtests.a +memfd_secret_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) memfd_secret_success_y_SOURCES = memfd_secret-success-y.c memfd_secret_success_y_OBJECTS = memfd_secret-success-y.$(OBJEXT) memfd_secret_success_y_LDADD = $(LDADD) -memfd_secret_success_y_DEPENDENCIES = libtests.a +memfd_secret_success_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages_SOURCES = migrate_pages.c migrate_pages_OBJECTS = migrate_pages.$(OBJEXT) migrate_pages_LDADD = $(LDADD) -migrate_pages_DEPENDENCIES = libtests.a +migrate_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) migrate_pages__pidns_translation_SOURCES = \ migrate_pages--pidns-translation.c migrate_pages__pidns_translation_OBJECTS = \ migrate_pages--pidns-translation.$(OBJEXT) migrate_pages__pidns_translation_LDADD = $(LDADD) -migrate_pages__pidns_translation_DEPENDENCIES = libtests.a +migrate_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) mincore_SOURCES = mincore.c mincore_OBJECTS = mincore.$(OBJEXT) mincore_LDADD = $(LDADD) -mincore_DEPENDENCIES = libtests.a +mincore_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdir_SOURCES = mkdir.c mkdir_OBJECTS = mkdir.$(OBJEXT) mkdir_LDADD = $(LDADD) -mkdir_DEPENDENCIES = libtests.a +mkdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mkdirat_SOURCES = mkdirat.c mkdirat_OBJECTS = mkdirat.$(OBJEXT) mkdirat_LDADD = $(LDADD) -mkdirat_DEPENDENCIES = libtests.a +mkdirat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknod_SOURCES = mknod.c mknod_OBJECTS = mknod.$(OBJEXT) mknod_LDADD = $(LDADD) -mknod_DEPENDENCIES = libtests.a +mknod_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mknodat_SOURCES = mknodat.c mknodat_OBJECTS = mknodat.$(OBJEXT) mknodat_LDADD = $(LDADD) -mknodat_DEPENDENCIES = libtests.a +mknodat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock_SOURCES = mlock.c mlock_OBJECTS = mlock.$(OBJEXT) mlock_LDADD = $(LDADD) -mlock_DEPENDENCIES = libtests.a +mlock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlock2_SOURCES = mlock2.c mlock2_OBJECTS = mlock2.$(OBJEXT) mlock2_LDADD = $(LDADD) -mlock2_DEPENDENCIES = libtests.a +mlock2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mlockall_SOURCES = mlockall.c mlockall_OBJECTS = mlockall.$(OBJEXT) mlockall_LDADD = $(LDADD) -mlockall_DEPENDENCIES = libtests.a +mlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_SOURCES = mmap.c mmap_OBJECTS = mmap.$(OBJEXT) mmap_LDADD = $(LDADD) -mmap_DEPENDENCIES = libtests.a +mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xabbrev_SOURCES = mmap-Xabbrev.c mmap_Xabbrev_OBJECTS = mmap-Xabbrev.$(OBJEXT) mmap_Xabbrev_LDADD = $(LDADD) -mmap_Xabbrev_DEPENDENCIES = libtests.a +mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xraw_SOURCES = mmap-Xraw.c mmap_Xraw_OBJECTS = mmap-Xraw.$(OBJEXT) mmap_Xraw_LDADD = $(LDADD) -mmap_Xraw_DEPENDENCIES = libtests.a +mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap_Xverbose_SOURCES = mmap-Xverbose.c mmap_Xverbose_OBJECTS = mmap-Xverbose.$(OBJEXT) mmap_Xverbose_LDADD = $(LDADD) -mmap_Xverbose_DEPENDENCIES = libtests.a +mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_SOURCES = mmap64.c mmap64_OBJECTS = mmap64-mmap64.$(OBJEXT) mmap64_LDADD = $(LDADD) -mmap64_DEPENDENCIES = libtests.a +mmap64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xabbrev_SOURCES = mmap64-Xabbrev.c mmap64_Xabbrev_OBJECTS = mmap64_Xabbrev-mmap64-Xabbrev.$(OBJEXT) mmap64_Xabbrev_LDADD = $(LDADD) -mmap64_Xabbrev_DEPENDENCIES = libtests.a +mmap64_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xraw_SOURCES = mmap64-Xraw.c mmap64_Xraw_OBJECTS = mmap64_Xraw-mmap64-Xraw.$(OBJEXT) mmap64_Xraw_LDADD = $(LDADD) -mmap64_Xraw_DEPENDENCIES = libtests.a +mmap64_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmap64_Xverbose_SOURCES = mmap64-Xverbose.c mmap64_Xverbose_OBJECTS = mmap64_Xverbose-mmap64-Xverbose.$(OBJEXT) mmap64_Xverbose_LDADD = $(LDADD) -mmap64_Xverbose_DEPENDENCIES = libtests.a +mmap64_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_SOURCES = mmsg.c mmsg_OBJECTS = mmsg.$(OBJEXT) mmsg_LDADD = $(LDADD) -mmsg_DEPENDENCIES = libtests.a +mmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_silent_SOURCES = mmsg-silent.c mmsg_silent_OBJECTS = mmsg-silent.$(OBJEXT) mmsg_silent_LDADD = $(LDADD) -mmsg_silent_DEPENDENCIES = libtests.a +mmsg_silent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_SOURCES = mmsg_name.c mmsg_name_OBJECTS = mmsg_name.$(OBJEXT) mmsg_name_LDADD = $(LDADD) -mmsg_name_DEPENDENCIES = libtests.a +mmsg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mmsg_name_v_SOURCES = mmsg_name-v.c mmsg_name_v_OBJECTS = mmsg_name-v.$(OBJEXT) mmsg_name_v_LDADD = $(LDADD) -mmsg_name_v_DEPENDENCIES = libtests.a +mmsg_name_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) modify_ldt_SOURCES = modify_ldt.c modify_ldt_OBJECTS = modify_ldt.$(OBJEXT) modify_ldt_LDADD = $(LDADD) -modify_ldt_DEPENDENCIES = libtests.a +modify_ldt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_SOURCES = mount.c mount_OBJECTS = mount.$(OBJEXT) mount_LDADD = $(LDADD) -mount_DEPENDENCIES = libtests.a +mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xabbrev_SOURCES = mount-Xabbrev.c mount_Xabbrev_OBJECTS = mount-Xabbrev.$(OBJEXT) mount_Xabbrev_LDADD = $(LDADD) -mount_Xabbrev_DEPENDENCIES = libtests.a +mount_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xraw_SOURCES = mount-Xraw.c mount_Xraw_OBJECTS = mount-Xraw.$(OBJEXT) mount_Xraw_LDADD = $(LDADD) -mount_Xraw_DEPENDENCIES = libtests.a +mount_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_Xverbose_SOURCES = mount-Xverbose.c mount_Xverbose_OBJECTS = mount-Xverbose.$(OBJEXT) mount_Xverbose_LDADD = $(LDADD) -mount_Xverbose_DEPENDENCIES = libtests.a +mount_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_SOURCES = mount_setattr.c mount_setattr_OBJECTS = mount_setattr.$(OBJEXT) mount_setattr_LDADD = $(LDADD) -mount_setattr_DEPENDENCIES = libtests.a +mount_setattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mount_setattr_P_SOURCES = mount_setattr-P.c mount_setattr_P_OBJECTS = mount_setattr-P.$(OBJEXT) mount_setattr_P_LDADD = $(LDADD) -mount_setattr_P_DEPENDENCIES = libtests.a +mount_setattr_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_SOURCES = move_mount.c move_mount_OBJECTS = move_mount.$(OBJEXT) move_mount_LDADD = $(LDADD) -move_mount_DEPENDENCIES = libtests.a +move_mount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_mount_P_SOURCES = move_mount-P.c move_mount_P_OBJECTS = move_mount-P.$(OBJEXT) move_mount_P_LDADD = $(LDADD) -move_mount_P_DEPENDENCIES = libtests.a +move_mount_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_SOURCES = move_pages.c move_pages_OBJECTS = move_pages.$(OBJEXT) move_pages_LDADD = $(LDADD) -move_pages_DEPENDENCIES = libtests.a +move_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages__pidns_translation_SOURCES = \ move_pages--pidns-translation.c move_pages__pidns_translation_OBJECTS = \ move_pages--pidns-translation.$(OBJEXT) move_pages__pidns_translation_LDADD = $(LDADD) -move_pages__pidns_translation_DEPENDENCIES = libtests.a +move_pages__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) move_pages_Xabbrev_SOURCES = move_pages-Xabbrev.c move_pages_Xabbrev_OBJECTS = move_pages-Xabbrev.$(OBJEXT) move_pages_Xabbrev_LDADD = $(LDADD) -move_pages_Xabbrev_DEPENDENCIES = libtests.a +move_pages_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xraw_SOURCES = move_pages-Xraw.c move_pages_Xraw_OBJECTS = move_pages-Xraw.$(OBJEXT) move_pages_Xraw_LDADD = $(LDADD) -move_pages_Xraw_DEPENDENCIES = libtests.a +move_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) move_pages_Xverbose_SOURCES = move_pages-Xverbose.c move_pages_Xverbose_OBJECTS = move_pages-Xverbose.$(OBJEXT) move_pages_Xverbose_LDADD = $(LDADD) -move_pages_Xverbose_DEPENDENCIES = libtests.a +move_pages_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_SOURCES = mq.c mq_OBJECTS = mq.$(OBJEXT) -mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +mq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) mq_sendrecv_SOURCES = mq_sendrecv.c mq_sendrecv_OBJECTS = mq_sendrecv.$(OBJEXT) mq_sendrecv_LDADD = $(LDADD) -mq_sendrecv_DEPENDENCIES = libtests.a +mq_sendrecv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_read_SOURCES = mq_sendrecv-read.c mq_sendrecv_read_OBJECTS = mq_sendrecv-read.$(OBJEXT) mq_sendrecv_read_LDADD = $(LDADD) -mq_sendrecv_read_DEPENDENCIES = libtests.a +mq_sendrecv_read_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) mq_sendrecv_write_SOURCES = mq_sendrecv-write.c mq_sendrecv_write_OBJECTS = mq_sendrecv-write.$(OBJEXT) mq_sendrecv_write_LDADD = $(LDADD) -mq_sendrecv_write_DEPENDENCIES = libtests.a +mq_sendrecv_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_SOURCES = msg_control.c msg_control_OBJECTS = msg_control.$(OBJEXT) msg_control_LDADD = $(LDADD) -msg_control_DEPENDENCIES = libtests.a +msg_control_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_control_v_SOURCES = msg_control-v.c msg_control_v_OBJECTS = msg_control-v.$(OBJEXT) msg_control_v_LDADD = $(LDADD) -msg_control_v_DEPENDENCIES = libtests.a +msg_control_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) msg_name_SOURCES = msg_name.c msg_name_OBJECTS = msg_name.$(OBJEXT) msg_name_LDADD = $(LDADD) -msg_name_DEPENDENCIES = libtests.a +msg_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) munlockall_SOURCES = munlockall.c munlockall_OBJECTS = munlockall.$(OBJEXT) munlockall_LDADD = $(LDADD) -munlockall_DEPENDENCIES = libtests.a +munlockall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nanosleep_SOURCES = nanosleep.c nanosleep_OBJECTS = nanosleep.$(OBJEXT) nanosleep_LDADD = $(LDADD) -nanosleep_DEPENDENCIES = libtests.a +nanosleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +net__decode_fds_all_netlink_SOURCES = net--decode-fds-all-netlink.c +net__decode_fds_all_netlink_OBJECTS = \ + net--decode-fds-all-netlink.$(OBJEXT) +net__decode_fds_all_netlink_LDADD = $(LDADD) +net__decode_fds_all_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_dev_netlink_SOURCES = net--decode-fds-dev-netlink.c net__decode_fds_dev_netlink_OBJECTS = \ net--decode-fds-dev-netlink.$(OBJEXT) net__decode_fds_dev_netlink_LDADD = $(LDADD) -net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a +net__decode_fds_dev_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_none_netlink_SOURCES = net--decode-fds-none-netlink.c net__decode_fds_none_netlink_OBJECTS = \ net--decode-fds-none-netlink.$(OBJEXT) net__decode_fds_none_netlink_LDADD = $(LDADD) -net__decode_fds_none_netlink_DEPENDENCIES = libtests.a +net__decode_fds_none_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_path_netlink_SOURCES = net--decode-fds-path-netlink.c net__decode_fds_path_netlink_OBJECTS = \ net--decode-fds-path-netlink.$(OBJEXT) net__decode_fds_path_netlink_LDADD = $(LDADD) -net__decode_fds_path_netlink_DEPENDENCIES = libtests.a +net__decode_fds_path_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net__decode_fds_socket_netlink_SOURCES = \ net--decode-fds-socket-netlink.c net__decode_fds_socket_netlink_OBJECTS = \ net--decode-fds-socket-netlink.$(OBJEXT) net__decode_fds_socket_netlink_LDADD = $(LDADD) -net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a +net__decode_fds_socket_netlink_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_accept_connect_SOURCES = net-accept-connect.c net_accept_connect_OBJECTS = net-accept-connect.$(OBJEXT) net_accept_connect_LDADD = $(LDADD) -net_accept_connect_DEPENDENCIES = libtests.a +net_accept_connect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_icmp_filter_SOURCES = net-icmp_filter.c net_icmp_filter_OBJECTS = net-icmp_filter.$(OBJEXT) net_icmp_filter_LDADD = $(LDADD) -net_icmp_filter_DEPENDENCIES = libtests.a +net_icmp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_SOURCES = net-packet_mreq.c net_packet_mreq_OBJECTS = net-packet_mreq.$(OBJEXT) net_packet_mreq_LDADD = $(LDADD) -net_packet_mreq_DEPENDENCIES = libtests.a +net_packet_mreq_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xabbrev_SOURCES = net-packet_mreq-Xabbrev.c net_packet_mreq_Xabbrev_OBJECTS = net-packet_mreq-Xabbrev.$(OBJEXT) net_packet_mreq_Xabbrev_LDADD = $(LDADD) -net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a +net_packet_mreq_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_packet_mreq_Xraw_SOURCES = net-packet_mreq-Xraw.c net_packet_mreq_Xraw_OBJECTS = net-packet_mreq-Xraw.$(OBJEXT) net_packet_mreq_Xraw_LDADD = $(LDADD) -net_packet_mreq_Xraw_DEPENDENCIES = libtests.a +net_packet_mreq_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_packet_mreq_Xverbose_SOURCES = net-packet_mreq-Xverbose.c net_packet_mreq_Xverbose_OBJECTS = net-packet_mreq-Xverbose.$(OBJEXT) net_packet_mreq_Xverbose_LDADD = $(LDADD) -net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a +net_packet_mreq_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_sockaddr_SOURCES = net-sockaddr.c net_sockaddr_OBJECTS = net-sockaddr.$(OBJEXT) net_sockaddr_LDADD = $(LDADD) -net_sockaddr_DEPENDENCIES = libtests.a +net_sockaddr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_sockaddr__pidns_translation_SOURCES = \ net-sockaddr--pidns-translation.c net_sockaddr__pidns_translation_OBJECTS = \ net-sockaddr--pidns-translation.$(OBJEXT) net_sockaddr__pidns_translation_LDADD = $(LDADD) -net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a +net_sockaddr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_tpacket_req_SOURCES = net-tpacket_req.c net_tpacket_req_OBJECTS = net-tpacket_req.$(OBJEXT) net_tpacket_req_LDADD = $(LDADD) -net_tpacket_req_DEPENDENCIES = libtests.a +net_tpacket_req_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_SOURCES = net-tpacket_stats.c net_tpacket_stats_OBJECTS = net-tpacket_stats.$(OBJEXT) net_tpacket_stats_LDADD = $(LDADD) -net_tpacket_stats_DEPENDENCIES = libtests.a +net_tpacket_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_tpacket_stats_success_SOURCES = net-tpacket_stats-success.c net_tpacket_stats_success_OBJECTS = \ net-tpacket_stats-success.$(OBJEXT) net_tpacket_stats_success_LDADD = $(LDADD) -net_tpacket_stats_success_DEPENDENCIES = libtests.a +net_tpacket_stats_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) net_y_unix_SOURCES = net-y-unix.c net_y_unix_OBJECTS = net-y-unix.$(OBJEXT) net_y_unix_LDADD = $(LDADD) -net_y_unix_DEPENDENCIES = libtests.a +net_y_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet_SOURCES = net-yy-inet.c net_yy_inet_OBJECTS = net-yy-inet.$(OBJEXT) net_yy_inet_LDADD = $(LDADD) -net_yy_inet_DEPENDENCIES = libtests.a +net_yy_inet_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_inet6_SOURCES = net-yy-inet6.c net_yy_inet6_OBJECTS = net-yy-inet6.$(OBJEXT) net_yy_inet6_LDADD = $(LDADD) -net_yy_inet6_DEPENDENCIES = libtests.a +net_yy_inet6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_netlink_SOURCES = net-yy-netlink.c net_yy_netlink_OBJECTS = net-yy-netlink.$(OBJEXT) net_yy_netlink_LDADD = $(LDADD) -net_yy_netlink_DEPENDENCIES = libtests.a +net_yy_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) net_yy_unix_SOURCES = net-yy-unix.c net_yy_unix_OBJECTS = net-yy-unix.$(OBJEXT) net_yy_unix_LDADD = $(LDADD) -net_yy_unix_DEPENDENCIES = libtests.a +net_yy_unix_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit_SOURCES = netlink_audit.c netlink_audit_OBJECTS = netlink_audit.$(OBJEXT) netlink_audit_LDADD = $(LDADD) -netlink_audit_DEPENDENCIES = libtests.a +netlink_audit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_audit__pidns_translation_SOURCES = \ netlink_audit--pidns-translation.c netlink_audit__pidns_translation_OBJECTS = \ netlink_audit--pidns-translation.$(OBJEXT) netlink_audit__pidns_translation_LDADD = $(LDADD) -netlink_audit__pidns_translation_DEPENDENCIES = libtests.a +netlink_audit__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) netlink_crypto_SOURCES = netlink_crypto.c netlink_crypto_OBJECTS = netlink_crypto.$(OBJEXT) netlink_crypto_LDADD = $(LDADD) -netlink_crypto_DEPENDENCIES = libtests.a +netlink_crypto_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_generic_SOURCES = netlink_generic.c netlink_generic_OBJECTS = netlink_generic.$(OBJEXT) netlink_generic_LDADD = $(LDADD) -netlink_generic_DEPENDENCIES = libtests.a +netlink_generic_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_inet_diag_SOURCES = netlink_inet_diag.c netlink_inet_diag_OBJECTS = netlink_inet_diag.$(OBJEXT) netlink_inet_diag_LDADD = $(LDADD) -netlink_inet_diag_DEPENDENCIES = libtests.a +netlink_inet_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_kobject_uevent_SOURCES = netlink_kobject_uevent.c netlink_kobject_uevent_OBJECTS = netlink_kobject_uevent.$(OBJEXT) netlink_kobject_uevent_LDADD = $(LDADD) -netlink_kobject_uevent_DEPENDENCIES = libtests.a +netlink_kobject_uevent_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netfilter_SOURCES = netlink_netfilter.c netlink_netfilter_OBJECTS = netlink_netfilter.$(OBJEXT) netlink_netfilter_LDADD = $(LDADD) -netlink_netfilter_DEPENDENCIES = libtests.a +netlink_netfilter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_netlink_diag_SOURCES = netlink_netlink_diag.c netlink_netlink_diag_OBJECTS = netlink_netlink_diag.$(OBJEXT) netlink_netlink_diag_LDADD = $(LDADD) -netlink_netlink_diag_DEPENDENCIES = libtests.a +netlink_netlink_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_protocol_SOURCES = netlink_protocol.c netlink_protocol_OBJECTS = netlink_protocol.$(OBJEXT) netlink_protocol_LDADD = $(LDADD) -netlink_protocol_DEPENDENCIES = libtests.a +netlink_protocol_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_route_SOURCES = netlink_route.c netlink_route_OBJECTS = netlink_route.$(OBJEXT) netlink_route_LDADD = $(LDADD) -netlink_route_DEPENDENCIES = libtests.a +netlink_route_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_selinux_SOURCES = netlink_selinux.c netlink_selinux_OBJECTS = netlink_selinux.$(OBJEXT) netlink_selinux_LDADD = $(LDADD) -netlink_selinux_DEPENDENCIES = libtests.a +netlink_selinux_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_sock_diag_SOURCES = netlink_sock_diag.c netlink_sock_diag_OBJECTS = netlink_sock_diag.$(OBJEXT) netlink_sock_diag_LDADD = $(LDADD) -netlink_sock_diag_DEPENDENCIES = libtests.a +netlink_sock_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_unix_diag_SOURCES = netlink_unix_diag.c netlink_unix_diag_OBJECTS = netlink_unix_diag.$(OBJEXT) netlink_unix_diag_LDADD = $(LDADD) -netlink_unix_diag_DEPENDENCIES = libtests.a +netlink_unix_diag_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) netlink_xfrm_SOURCES = netlink_xfrm.c netlink_xfrm_OBJECTS = netlink_xfrm.$(OBJEXT) netlink_xfrm_LDADD = $(LDADD) -netlink_xfrm_DEPENDENCIES = libtests.a +netlink_xfrm_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) newfstatat_SOURCES = newfstatat.c newfstatat_OBJECTS = newfstatat-newfstatat.$(OBJEXT) newfstatat_LDADD = $(LDADD) -newfstatat_DEPENDENCIES = libtests.a +newfstatat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_acct_SOURCES = nfnetlink_acct.c nfnetlink_acct_OBJECTS = nfnetlink_acct.$(OBJEXT) nfnetlink_acct_LDADD = $(LDADD) -nfnetlink_acct_DEPENDENCIES = libtests.a +nfnetlink_acct_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_cthelper_SOURCES = nfnetlink_cthelper.c nfnetlink_cthelper_OBJECTS = nfnetlink_cthelper.$(OBJEXT) nfnetlink_cthelper_LDADD = $(LDADD) -nfnetlink_cthelper_DEPENDENCIES = libtests.a +nfnetlink_cthelper_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_SOURCES = nfnetlink_ctnetlink.c nfnetlink_ctnetlink_OBJECTS = nfnetlink_ctnetlink.$(OBJEXT) nfnetlink_ctnetlink_LDADD = $(LDADD) -nfnetlink_ctnetlink_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ctnetlink_exp_SOURCES = nfnetlink_ctnetlink_exp.c nfnetlink_ctnetlink_exp_OBJECTS = nfnetlink_ctnetlink_exp.$(OBJEXT) nfnetlink_ctnetlink_exp_LDADD = $(LDADD) -nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a +nfnetlink_ctnetlink_exp_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nfnetlink_cttimeout_SOURCES = nfnetlink_cttimeout.c nfnetlink_cttimeout_OBJECTS = nfnetlink_cttimeout.$(OBJEXT) nfnetlink_cttimeout_LDADD = $(LDADD) -nfnetlink_cttimeout_DEPENDENCIES = libtests.a +nfnetlink_cttimeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ipset_SOURCES = nfnetlink_ipset.c nfnetlink_ipset_OBJECTS = nfnetlink_ipset.$(OBJEXT) nfnetlink_ipset_LDADD = $(LDADD) -nfnetlink_ipset_DEPENDENCIES = libtests.a +nfnetlink_ipset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nft_compat_SOURCES = nfnetlink_nft_compat.c nfnetlink_nft_compat_OBJECTS = nfnetlink_nft_compat.$(OBJEXT) nfnetlink_nft_compat_LDADD = $(LDADD) -nfnetlink_nft_compat_DEPENDENCIES = libtests.a +nfnetlink_nft_compat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_nftables_SOURCES = nfnetlink_nftables.c nfnetlink_nftables_OBJECTS = nfnetlink_nftables.$(OBJEXT) nfnetlink_nftables_LDADD = $(LDADD) -nfnetlink_nftables_DEPENDENCIES = libtests.a +nfnetlink_nftables_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_osf_SOURCES = nfnetlink_osf.c nfnetlink_osf_OBJECTS = nfnetlink_osf.$(OBJEXT) nfnetlink_osf_LDADD = $(LDADD) -nfnetlink_osf_DEPENDENCIES = libtests.a +nfnetlink_osf_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_queue_SOURCES = nfnetlink_queue.c nfnetlink_queue_OBJECTS = nfnetlink_queue.$(OBJEXT) nfnetlink_queue_LDADD = $(LDADD) -nfnetlink_queue_DEPENDENCIES = libtests.a +nfnetlink_queue_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nfnetlink_ulog_SOURCES = nfnetlink_ulog.c nfnetlink_ulog_OBJECTS = nfnetlink_ulog.$(OBJEXT) nfnetlink_ulog_LDADD = $(LDADD) -nfnetlink_ulog_DEPENDENCIES = libtests.a +nfnetlink_ulog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_SOURCES = nlattr.c nlattr_OBJECTS = nlattr.$(OBJEXT) nlattr_LDADD = $(LDADD) -nlattr_DEPENDENCIES = libtests.a +nlattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_br_port_msg_SOURCES = nlattr_br_port_msg.c nlattr_br_port_msg_OBJECTS = nlattr_br_port_msg.$(OBJEXT) nlattr_br_port_msg_LDADD = $(LDADD) -nlattr_br_port_msg_DEPENDENCIES = libtests.a +nlattr_br_port_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_SOURCES = nlattr_cachereport.c +nlattr_cachereport_OBJECTS = nlattr_cachereport.$(OBJEXT) +nlattr_cachereport_LDADD = $(LDADD) +nlattr_cachereport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_cachereport_Xabbrev_SOURCES = nlattr_cachereport-Xabbrev.c +nlattr_cachereport_Xabbrev_OBJECTS = \ + nlattr_cachereport-Xabbrev.$(OBJEXT) +nlattr_cachereport_Xabbrev_LDADD = $(LDADD) +nlattr_cachereport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xraw_SOURCES = nlattr_cachereport-Xraw.c +nlattr_cachereport_Xraw_OBJECTS = nlattr_cachereport-Xraw.$(OBJEXT) +nlattr_cachereport_Xraw_LDADD = $(LDADD) +nlattr_cachereport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_cachereport_Xverbose_SOURCES = nlattr_cachereport-Xverbose.c +nlattr_cachereport_Xverbose_OBJECTS = \ + nlattr_cachereport-Xverbose.$(OBJEXT) +nlattr_cachereport_Xverbose_LDADD = $(LDADD) +nlattr_cachereport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_crypto_user_alg_SOURCES = nlattr_crypto_user_alg.c nlattr_crypto_user_alg_OBJECTS = nlattr_crypto_user_alg.$(OBJEXT) nlattr_crypto_user_alg_LDADD = $(LDADD) -nlattr_crypto_user_alg_DEPENDENCIES = libtests.a +nlattr_crypto_user_alg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_dcbmsg_SOURCES = nlattr_dcbmsg.c nlattr_dcbmsg_OBJECTS = nlattr_dcbmsg.$(OBJEXT) nlattr_dcbmsg_LDADD = $(LDADD) -nlattr_dcbmsg_DEPENDENCIES = libtests.a +nlattr_dcbmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_fib_rule_hdr_SOURCES = nlattr_fib_rule_hdr.c nlattr_fib_rule_hdr_OBJECTS = nlattr_fib_rule_hdr.$(OBJEXT) nlattr_fib_rule_hdr_LDADD = $(LDADD) -nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a +nlattr_fib_rule_hdr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrlblmsg_SOURCES = nlattr_ifaddrlblmsg.c nlattr_ifaddrlblmsg_OBJECTS = nlattr_ifaddrlblmsg.$(OBJEXT) nlattr_ifaddrlblmsg_LDADD = $(LDADD) -nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrlblmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifaddrmsg_SOURCES = nlattr_ifaddrmsg.c nlattr_ifaddrmsg_OBJECTS = nlattr_ifaddrmsg.$(OBJEXT) nlattr_ifaddrmsg_LDADD = $(LDADD) -nlattr_ifaddrmsg_DEPENDENCIES = libtests.a +nlattr_ifaddrmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifinfomsg_SOURCES = nlattr_ifinfomsg.c nlattr_ifinfomsg_OBJECTS = nlattr_ifinfomsg.$(OBJEXT) nlattr_ifinfomsg_LDADD = $(LDADD) -nlattr_ifinfomsg_DEPENDENCIES = libtests.a +nlattr_ifinfomsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_af_spec_SOURCES = nlattr_ifla_af_spec.c nlattr_ifla_af_spec_OBJECTS = nlattr_ifla_af_spec.$(OBJEXT) nlattr_ifla_af_spec_LDADD = $(LDADD) -nlattr_ifla_af_spec_DEPENDENCIES = libtests.a +nlattr_ifla_af_spec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_brport_SOURCES = nlattr_ifla_brport.c nlattr_ifla_brport_OBJECTS = nlattr_ifla_brport.$(OBJEXT) nlattr_ifla_brport_LDADD = $(LDADD) -nlattr_ifla_brport_DEPENDENCIES = libtests.a +nlattr_ifla_brport_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xabbrev_SOURCES = nlattr_ifla_brport-Xabbrev.c +nlattr_ifla_brport_Xabbrev_OBJECTS = \ + nlattr_ifla_brport-Xabbrev.$(OBJEXT) +nlattr_ifla_brport_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_brport_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xraw_SOURCES = nlattr_ifla_brport-Xraw.c +nlattr_ifla_brport_Xraw_OBJECTS = nlattr_ifla_brport-Xraw.$(OBJEXT) +nlattr_ifla_brport_Xraw_LDADD = $(LDADD) +nlattr_ifla_brport_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_brport_Xverbose_SOURCES = nlattr_ifla_brport-Xverbose.c +nlattr_ifla_brport_Xverbose_OBJECTS = \ + nlattr_ifla_brport-Xverbose.$(OBJEXT) +nlattr_ifla_brport_Xverbose_LDADD = $(LDADD) +nlattr_ifla_brport_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_linkinfo_SOURCES = nlattr_ifla_linkinfo.c nlattr_ifla_linkinfo_OBJECTS = nlattr_ifla_linkinfo.$(OBJEXT) nlattr_ifla_linkinfo_LDADD = $(LDADD) -nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a +nlattr_ifla_linkinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_port_SOURCES = nlattr_ifla_port.c nlattr_ifla_port_OBJECTS = nlattr_ifla_port.$(OBJEXT) nlattr_ifla_port_LDADD = $(LDADD) -nlattr_ifla_port_DEPENDENCIES = libtests.a +nlattr_ifla_port_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_SOURCES = nlattr_ifla_protinfo.c +nlattr_ifla_protinfo_OBJECTS = nlattr_ifla_protinfo.$(OBJEXT) +nlattr_ifla_protinfo_LDADD = $(LDADD) +nlattr_ifla_protinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xabbrev_SOURCES = nlattr_ifla_protinfo-Xabbrev.c +nlattr_ifla_protinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_protinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_protinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xraw_SOURCES = nlattr_ifla_protinfo-Xraw.c +nlattr_ifla_protinfo_Xraw_OBJECTS = \ + nlattr_ifla_protinfo-Xraw.$(OBJEXT) +nlattr_ifla_protinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_protinfo_Xverbose_SOURCES = \ + nlattr_ifla_protinfo-Xverbose.c +nlattr_ifla_protinfo_Xverbose_OBJECTS = \ + nlattr_ifla_protinfo-Xverbose.$(OBJEXT) +nlattr_ifla_protinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_protinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_proto_down_reason_SOURCES = \ nlattr_ifla_proto_down_reason.c nlattr_ifla_proto_down_reason_OBJECTS = \ nlattr_ifla_proto_down_reason.$(OBJEXT) nlattr_ifla_proto_down_reason_LDADD = $(LDADD) -nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a +nlattr_ifla_proto_down_reason_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_SOURCES = nlattr_ifla_vfinfo.c +nlattr_ifla_vfinfo_OBJECTS = nlattr_ifla_vfinfo.$(OBJEXT) +nlattr_ifla_vfinfo_LDADD = $(LDADD) +nlattr_ifla_vfinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xabbrev_SOURCES = nlattr_ifla_vfinfo-Xabbrev.c +nlattr_ifla_vfinfo_Xabbrev_OBJECTS = \ + nlattr_ifla_vfinfo-Xabbrev.$(OBJEXT) +nlattr_ifla_vfinfo_Xabbrev_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xraw_SOURCES = nlattr_ifla_vfinfo-Xraw.c +nlattr_ifla_vfinfo_Xraw_OBJECTS = nlattr_ifla_vfinfo-Xraw.$(OBJEXT) +nlattr_ifla_vfinfo_Xraw_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_ifla_vfinfo_Xverbose_SOURCES = nlattr_ifla_vfinfo-Xverbose.c +nlattr_ifla_vfinfo_Xverbose_OBJECTS = \ + nlattr_ifla_vfinfo-Xverbose.$(OBJEXT) +nlattr_ifla_vfinfo_Xverbose_LDADD = $(LDADD) +nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_ifla_xdp_SOURCES = nlattr_ifla_xdp.c nlattr_ifla_xdp_OBJECTS = nlattr_ifla_xdp.$(OBJEXT) nlattr_ifla_xdp_LDADD = $(LDADD) -nlattr_ifla_xdp_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ifla_xdp_y_SOURCES = nlattr_ifla_xdp-y.c nlattr_ifla_xdp_y_OBJECTS = nlattr_ifla_xdp-y.$(OBJEXT) nlattr_ifla_xdp_y_LDADD = $(LDADD) -nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a +nlattr_ifla_xdp_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_SOURCES = nlattr_ifstats.c +nlattr_ifstats_OBJECTS = nlattr_ifstats.$(OBJEXT) +nlattr_ifstats_LDADD = $(LDADD) +nlattr_ifstats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xabbrev_SOURCES = nlattr_ifstats-Xabbrev.c +nlattr_ifstats_Xabbrev_OBJECTS = nlattr_ifstats-Xabbrev.$(OBJEXT) +nlattr_ifstats_Xabbrev_LDADD = $(LDADD) +nlattr_ifstats_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xraw_SOURCES = nlattr_ifstats-Xraw.c +nlattr_ifstats_Xraw_OBJECTS = nlattr_ifstats-Xraw.$(OBJEXT) +nlattr_ifstats_Xraw_LDADD = $(LDADD) +nlattr_ifstats_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_ifstats_Xverbose_SOURCES = nlattr_ifstats-Xverbose.c +nlattr_ifstats_Xverbose_OBJECTS = nlattr_ifstats-Xverbose.$(OBJEXT) +nlattr_ifstats_Xverbose_LDADD = $(LDADD) +nlattr_ifstats_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_msg_SOURCES = nlattr_inet_diag_msg.c nlattr_inet_diag_msg_OBJECTS = nlattr_inet_diag_msg.$(OBJEXT) nlattr_inet_diag_msg_LDADD = $(LDADD) -nlattr_inet_diag_msg_DEPENDENCIES = libtests.a +nlattr_inet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_inet_diag_req_compat_SOURCES = nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_compat_OBJECTS = \ nlattr_inet_diag_req_compat.$(OBJEXT) nlattr_inet_diag_req_compat_LDADD = $(LDADD) -nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_compat_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_inet_diag_req_v2_SOURCES = nlattr_inet_diag_req_v2.c nlattr_inet_diag_req_v2_OBJECTS = nlattr_inet_diag_req_v2.$(OBJEXT) nlattr_inet_diag_req_v2_LDADD = $(LDADD) -nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a +nlattr_inet_diag_req_v2_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) nlattr_mdba_mdb_entry_SOURCES = nlattr_mdba_mdb_entry.c nlattr_mdba_mdb_entry_OBJECTS = nlattr_mdba_mdb_entry.$(OBJEXT) nlattr_mdba_mdb_entry_LDADD = $(LDADD) -nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a +nlattr_mdba_mdb_entry_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_mdba_router_port_SOURCES = nlattr_mdba_router_port.c nlattr_mdba_router_port_OBJECTS = nlattr_mdba_router_port.$(OBJEXT) -nlattr_mdba_router_port_LDADD = $(LDADD) -nlattr_mdba_router_port_DEPENDENCIES = libtests.a +nlattr_mdba_router_port_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) nlattr_ndmsg_SOURCES = nlattr_ndmsg.c nlattr_ndmsg_OBJECTS = nlattr_ndmsg.$(OBJEXT) nlattr_ndmsg_LDADD = $(LDADD) -nlattr_ndmsg_DEPENDENCIES = libtests.a +nlattr_ndmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_ndtmsg_SOURCES = nlattr_ndtmsg.c nlattr_ndtmsg_OBJECTS = nlattr_ndtmsg.$(OBJEXT) nlattr_ndtmsg_LDADD = $(LDADD) -nlattr_ndtmsg_DEPENDENCIES = libtests.a +nlattr_ndtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netconfmsg_SOURCES = nlattr_netconfmsg.c nlattr_netconfmsg_OBJECTS = nlattr_netconfmsg.$(OBJEXT) nlattr_netconfmsg_LDADD = $(LDADD) -nlattr_netconfmsg_DEPENDENCIES = libtests.a +nlattr_netconfmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_netlink_diag_msg_SOURCES = nlattr_netlink_diag_msg.c nlattr_netlink_diag_msg_OBJECTS = nlattr_netlink_diag_msg.$(OBJEXT) nlattr_netlink_diag_msg_LDADD = $(LDADD) -nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a +nlattr_netlink_diag_msg_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +nlattr_nhmsg_SOURCES = nlattr_nhmsg.c +nlattr_nhmsg_OBJECTS = nlattr_nhmsg.$(OBJEXT) +nlattr_nhmsg_LDADD = $(LDADD) +nlattr_nhmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xabbrev_SOURCES = nlattr_nhmsg-Xabbrev.c +nlattr_nhmsg_Xabbrev_OBJECTS = nlattr_nhmsg-Xabbrev.$(OBJEXT) +nlattr_nhmsg_Xabbrev_LDADD = $(LDADD) +nlattr_nhmsg_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xraw_SOURCES = nlattr_nhmsg-Xraw.c +nlattr_nhmsg_Xraw_OBJECTS = nlattr_nhmsg-Xraw.$(OBJEXT) +nlattr_nhmsg_Xraw_LDADD = $(LDADD) +nlattr_nhmsg_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +nlattr_nhmsg_Xverbose_SOURCES = nlattr_nhmsg-Xverbose.c +nlattr_nhmsg_Xverbose_OBJECTS = nlattr_nhmsg-Xverbose.$(OBJEXT) +nlattr_nhmsg_Xverbose_LDADD = $(LDADD) +nlattr_nhmsg_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_nlmsgerr_SOURCES = nlattr_nlmsgerr.c nlattr_nlmsgerr_OBJECTS = nlattr_nlmsgerr.$(OBJEXT) nlattr_nlmsgerr_LDADD = $(LDADD) -nlattr_nlmsgerr_DEPENDENCIES = libtests.a +nlattr_nlmsgerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_packet_diag_msg_SOURCES = nlattr_packet_diag_msg.c nlattr_packet_diag_msg_OBJECTS = nlattr_packet_diag_msg.$(OBJEXT) nlattr_packet_diag_msg_LDADD = $(LDADD) -nlattr_packet_diag_msg_DEPENDENCIES = libtests.a +nlattr_packet_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtgenmsg_SOURCES = nlattr_rtgenmsg.c nlattr_rtgenmsg_OBJECTS = nlattr_rtgenmsg.$(OBJEXT) nlattr_rtgenmsg_LDADD = $(LDADD) -nlattr_rtgenmsg_DEPENDENCIES = libtests.a +nlattr_rtgenmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_rtmsg_SOURCES = nlattr_rtmsg.c nlattr_rtmsg_OBJECTS = nlattr_rtmsg.$(OBJEXT) nlattr_rtmsg_LDADD = $(LDADD) -nlattr_rtmsg_DEPENDENCIES = libtests.a +nlattr_rtmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_smc_diag_msg_SOURCES = nlattr_smc_diag_msg.c nlattr_smc_diag_msg_OBJECTS = nlattr_smc_diag_msg.$(OBJEXT) nlattr_smc_diag_msg_LDADD = $(LDADD) -nlattr_smc_diag_msg_DEPENDENCIES = libtests.a +nlattr_smc_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tc_stats_SOURCES = nlattr_tc_stats.c nlattr_tc_stats_OBJECTS = nlattr_tc_stats.$(OBJEXT) nlattr_tc_stats_LDADD = $(LDADD) -nlattr_tc_stats_DEPENDENCIES = libtests.a +nlattr_tc_stats_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tca_stab_SOURCES = nlattr_tca_stab.c nlattr_tca_stab_OBJECTS = nlattr_tca_stab.$(OBJEXT) nlattr_tca_stab_LDADD = $(LDADD) -nlattr_tca_stab_DEPENDENCIES = libtests.a +nlattr_tca_stab_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcamsg_SOURCES = nlattr_tcamsg.c nlattr_tcamsg_OBJECTS = nlattr_tcamsg.$(OBJEXT) nlattr_tcamsg_LDADD = $(LDADD) -nlattr_tcamsg_DEPENDENCIES = libtests.a +nlattr_tcamsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_tcmsg_SOURCES = nlattr_tcmsg.c nlattr_tcmsg_OBJECTS = nlattr_tcmsg.$(OBJEXT) nlattr_tcmsg_LDADD = $(LDADD) -nlattr_tcmsg_DEPENDENCIES = libtests.a +nlattr_tcmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nlattr_unix_diag_msg_SOURCES = nlattr_unix_diag_msg.c nlattr_unix_diag_msg_OBJECTS = nlattr_unix_diag_msg.$(OBJEXT) nlattr_unix_diag_msg_LDADD = $(LDADD) -nlattr_unix_diag_msg_DEPENDENCIES = libtests.a +nlattr_unix_diag_msg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_SOURCES = nsyscalls.c nsyscalls_OBJECTS = nsyscalls.$(OBJEXT) nsyscalls_LDADD = $(LDADD) -nsyscalls_DEPENDENCIES = libtests.a +nsyscalls_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) nsyscalls_d_SOURCES = nsyscalls-d.c nsyscalls_d_OBJECTS = nsyscalls-d.$(OBJEXT) nsyscalls_d_LDADD = $(LDADD) -nsyscalls_d_DEPENDENCIES = libtests.a +nsyscalls_d_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_SOURCES = old_mmap.c old_mmap_OBJECTS = old_mmap.$(OBJEXT) old_mmap_LDADD = $(LDADD) -old_mmap_DEPENDENCIES = libtests.a +old_mmap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_P_SOURCES = old_mmap-P.c old_mmap_P_OBJECTS = old_mmap-P.$(OBJEXT) old_mmap_P_LDADD = $(LDADD) -old_mmap_P_DEPENDENCIES = libtests.a +old_mmap_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xabbrev_SOURCES = old_mmap-Xabbrev.c old_mmap_Xabbrev_OBJECTS = old_mmap-Xabbrev.$(OBJEXT) old_mmap_Xabbrev_LDADD = $(LDADD) -old_mmap_Xabbrev_DEPENDENCIES = libtests.a +old_mmap_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xraw_SOURCES = old_mmap-Xraw.c old_mmap_Xraw_OBJECTS = old_mmap-Xraw.$(OBJEXT) old_mmap_Xraw_LDADD = $(LDADD) -old_mmap_Xraw_DEPENDENCIES = libtests.a +old_mmap_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_Xverbose_SOURCES = old_mmap-Xverbose.c old_mmap_Xverbose_OBJECTS = old_mmap-Xverbose.$(OBJEXT) old_mmap_Xverbose_LDADD = $(LDADD) -old_mmap_Xverbose_DEPENDENCIES = libtests.a +old_mmap_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) old_mmap_v_none_SOURCES = old_mmap-v-none.c old_mmap_v_none_OBJECTS = old_mmap-v-none.$(OBJEXT) old_mmap_v_none_LDADD = $(LDADD) -old_mmap_v_none_DEPENDENCIES = libtests.a +old_mmap_v_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldfstat_SOURCES = oldfstat.c oldfstat_OBJECTS = oldfstat.$(OBJEXT) oldfstat_LDADD = $(LDADD) -oldfstat_DEPENDENCIES = libtests.a +oldfstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldlstat_SOURCES = oldlstat.c oldlstat_OBJECTS = oldlstat.$(OBJEXT) oldlstat_LDADD = $(LDADD) -oldlstat_DEPENDENCIES = libtests.a +oldlstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_SOURCES = oldselect.c oldselect_OBJECTS = oldselect.$(OBJEXT) oldselect_LDADD = $(LDADD) -oldselect_DEPENDENCIES = libtests.a +oldselect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_P_SOURCES = oldselect-P.c oldselect_P_OBJECTS = oldselect-P.$(OBJEXT) oldselect_P_LDADD = $(LDADD) -oldselect_P_DEPENDENCIES = libtests.a +oldselect_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_SOURCES = oldselect-efault.c oldselect_efault_OBJECTS = oldselect-efault.$(OBJEXT) oldselect_efault_LDADD = $(LDADD) -oldselect_efault_DEPENDENCIES = libtests.a +oldselect_efault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldselect_efault_P_SOURCES = oldselect-efault-P.c oldselect_efault_P_OBJECTS = oldselect-efault-P.$(OBJEXT) oldselect_efault_P_LDADD = $(LDADD) -oldselect_efault_P_DEPENDENCIES = libtests.a +oldselect_efault_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) oldstat_SOURCES = oldstat.c oldstat_OBJECTS = oldstat.$(OBJEXT) oldstat_LDADD = $(LDADD) -oldstat_DEPENDENCIES = libtests.a +oldstat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_SOURCES = open.c open_OBJECTS = open.$(OBJEXT) open_LDADD = $(LDADD) -open_DEPENDENCIES = libtests.a +open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open__secontext_SOURCES = open--secontext.c open__secontext_OBJECTS = open--secontext.$(OBJEXT) -open__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open__secontext_full_SOURCES = open--secontext_full.c open__secontext_full_OBJECTS = open--secontext_full.$(OBJEXT) -open__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +open__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_full_mismatch_SOURCES = \ + open--secontext_full_mismatch.c +open__secontext_full_mismatch_OBJECTS = \ + open--secontext_full_mismatch.$(OBJEXT) +open__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +open__secontext_mismatch_SOURCES = open--secontext_mismatch.c +open__secontext_mismatch_OBJECTS = open--secontext_mismatch.$(OBJEXT) +open__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) open_tree_SOURCES = open_tree.c open_tree_OBJECTS = open_tree.$(OBJEXT) open_tree_LDADD = $(LDADD) -open_tree_DEPENDENCIES = libtests.a +open_tree_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) open_tree_P_SOURCES = open_tree-P.c open_tree_P_OBJECTS = open_tree-P.$(OBJEXT) open_tree_P_LDADD = $(LDADD) -open_tree_P_DEPENDENCIES = libtests.a +open_tree_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat_SOURCES = openat.c openat_OBJECTS = openat.$(OBJEXT) openat_LDADD = $(LDADD) -openat_DEPENDENCIES = libtests.a +openat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat__secontext_SOURCES = openat--secontext.c openat__secontext_OBJECTS = openat--secontext.$(OBJEXT) -openat__secontext_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat__secontext_full_SOURCES = openat--secontext_full.c openat__secontext_full_OBJECTS = openat--secontext_full.$(OBJEXT) -openat__secontext_full_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_2) +openat__secontext_full_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_full_mismatch_SOURCES = \ + openat--secontext_full_mismatch.c +openat__secontext_full_mismatch_OBJECTS = \ + openat--secontext_full_mismatch.$(OBJEXT) +openat__secontext_full_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) +openat__secontext_mismatch_SOURCES = openat--secontext_mismatch.c +openat__secontext_mismatch_OBJECTS = \ + openat--secontext_mismatch.$(OBJEXT) +openat__secontext_mismatch_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(am__DEPENDENCIES_3) openat2_SOURCES = openat2.c openat2_OBJECTS = openat2.$(OBJEXT) openat2_LDADD = $(LDADD) -openat2_DEPENDENCIES = libtests.a +openat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xabbrev_SOURCES = openat2-Xabbrev.c openat2_Xabbrev_OBJECTS = openat2-Xabbrev.$(OBJEXT) openat2_Xabbrev_LDADD = $(LDADD) -openat2_Xabbrev_DEPENDENCIES = libtests.a +openat2_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xraw_SOURCES = openat2-Xraw.c openat2_Xraw_OBJECTS = openat2-Xraw.$(OBJEXT) openat2_Xraw_LDADD = $(LDADD) -openat2_Xraw_DEPENDENCIES = libtests.a +openat2_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_Xverbose_SOURCES = openat2-Xverbose.c openat2_Xverbose_OBJECTS = openat2-Xverbose.$(OBJEXT) openat2_Xverbose_LDADD = $(LDADD) -openat2_Xverbose_DEPENDENCIES = libtests.a +openat2_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_SOURCES = openat2-v.c openat2_v_OBJECTS = openat2-v.$(OBJEXT) openat2_v_LDADD = $(LDADD) -openat2_v_DEPENDENCIES = libtests.a +openat2_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_SOURCES = openat2-v-y.c openat2_v_y_OBJECTS = openat2-v-y.$(OBJEXT) openat2_v_y_LDADD = $(LDADD) -openat2_v_y_DEPENDENCIES = libtests.a +openat2_v_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xabbrev_SOURCES = openat2-v-y-Xabbrev.c openat2_v_y_Xabbrev_OBJECTS = openat2-v-y-Xabbrev.$(OBJEXT) openat2_v_y_Xabbrev_LDADD = $(LDADD) -openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a +openat2_v_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xraw_SOURCES = openat2-v-y-Xraw.c openat2_v_y_Xraw_OBJECTS = openat2-v-y-Xraw.$(OBJEXT) openat2_v_y_Xraw_LDADD = $(LDADD) -openat2_v_y_Xraw_DEPENDENCIES = libtests.a +openat2_v_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_v_y_Xverbose_SOURCES = openat2-v-y-Xverbose.c openat2_v_y_Xverbose_OBJECTS = openat2-v-y-Xverbose.$(OBJEXT) openat2_v_y_Xverbose_LDADD = $(LDADD) -openat2_v_y_Xverbose_DEPENDENCIES = libtests.a +openat2_v_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) openat2_y_SOURCES = openat2-y.c openat2_y_OBJECTS = openat2-y.$(OBJEXT) openat2_y_LDADD = $(LDADD) -openat2_y_DEPENDENCIES = libtests.a +openat2_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) orphaned_process_group_SOURCES = orphaned_process_group.c orphaned_process_group_OBJECTS = orphaned_process_group.$(OBJEXT) orphaned_process_group_LDADD = $(LDADD) -orphaned_process_group_DEPENDENCIES = libtests.a +orphaned_process_group_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) osf_utimes_SOURCES = osf_utimes.c osf_utimes_OBJECTS = osf_utimes.$(OBJEXT) osf_utimes_LDADD = $(LDADD) -osf_utimes_DEPENDENCIES = libtests.a +osf_utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pause_SOURCES = pause.c pause_OBJECTS = pause.$(OBJEXT) pause_LDADD = $(LDADD) -pause_DEPENDENCIES = libtests.a +pause_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pc_SOURCES = pc.c pc_OBJECTS = pc.$(OBJEXT) -pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +pc_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) perf_event_open_SOURCES = perf_event_open.c perf_event_open_OBJECTS = perf_event_open.$(OBJEXT) perf_event_open_LDADD = $(LDADD) -perf_event_open_DEPENDENCIES = libtests.a +perf_event_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) perf_event_open_nonverbose_SOURCES = perf_event_open_nonverbose.c perf_event_open_nonverbose_OBJECTS = \ perf_event_open_nonverbose.$(OBJEXT) perf_event_open_nonverbose_LDADD = $(LDADD) -perf_event_open_nonverbose_DEPENDENCIES = libtests.a +perf_event_open_nonverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) perf_event_open_unabbrev_SOURCES = perf_event_open_unabbrev.c perf_event_open_unabbrev_OBJECTS = perf_event_open_unabbrev.$(OBJEXT) perf_event_open_unabbrev_LDADD = $(LDADD) -perf_event_open_unabbrev_DEPENDENCIES = libtests.a +perf_event_open_unabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) personality_SOURCES = personality.c personality_OBJECTS = personality.$(OBJEXT) personality_LDADD = $(LDADD) -personality_DEPENDENCIES = libtests.a +personality_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xabbrev_SOURCES = personality-Xabbrev.c personality_Xabbrev_OBJECTS = personality-Xabbrev.$(OBJEXT) personality_Xabbrev_LDADD = $(LDADD) -personality_Xabbrev_DEPENDENCIES = libtests.a +personality_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xraw_SOURCES = personality-Xraw.c personality_Xraw_OBJECTS = personality-Xraw.$(OBJEXT) personality_Xraw_LDADD = $(LDADD) -personality_Xraw_DEPENDENCIES = libtests.a +personality_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) personality_Xverbose_SOURCES = personality-Xverbose.c personality_Xverbose_OBJECTS = personality-Xverbose.$(OBJEXT) personality_Xverbose_LDADD = $(LDADD) -personality_Xverbose_DEPENDENCIES = libtests.a +personality_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_SOURCES = pidfd_getfd.c pidfd_getfd_OBJECTS = pidfd_getfd.$(OBJEXT) pidfd_getfd_LDADD = $(LDADD) -pidfd_getfd_DEPENDENCIES = libtests.a +pidfd_getfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_y_SOURCES = pidfd_getfd-y.c pidfd_getfd_y_OBJECTS = pidfd_getfd-y.$(OBJEXT) pidfd_getfd_y_LDADD = $(LDADD) -pidfd_getfd_y_DEPENDENCIES = libtests.a +pidfd_getfd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_getfd_yy_SOURCES = pidfd_getfd-yy.c pidfd_getfd_yy_OBJECTS = pidfd_getfd-yy.$(OBJEXT) pidfd_getfd_yy_LDADD = $(LDADD) -pidfd_getfd_yy_DEPENDENCIES = libtests.a +pidfd_getfd_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_SOURCES = pidfd_open.c pidfd_open_OBJECTS = pidfd_open.$(OBJEXT) pidfd_open_LDADD = $(LDADD) -pidfd_open_DEPENDENCIES = libtests.a +pidfd_open_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_all_SOURCES = pidfd_open--decode-fd-all.c +pidfd_open__decode_fd_all_OBJECTS = \ + pidfd_open--decode-fd-all.$(OBJEXT) +pidfd_open__decode_fd_all_LDADD = $(LDADD) +pidfd_open__decode_fd_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +pidfd_open__decode_fd_none_SOURCES = pidfd_open--decode-fd-none.c +pidfd_open__decode_fd_none_OBJECTS = \ + pidfd_open--decode-fd-none.$(OBJEXT) +pidfd_open__decode_fd_none_LDADD = $(LDADD) +pidfd_open__decode_fd_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_path_SOURCES = pidfd_open--decode-fd-path.c pidfd_open__decode_fd_path_OBJECTS = \ pidfd_open--decode-fd-path.$(OBJEXT) pidfd_open__decode_fd_path_LDADD = $(LDADD) -pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_path_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_pidfd_SOURCES = pidfd_open--decode-fd-pidfd.c pidfd_open__decode_fd_pidfd_OBJECTS = \ pidfd_open--decode-fd-pidfd.$(OBJEXT) pidfd_open__decode_fd_pidfd_LDADD = $(LDADD) -pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_pidfd_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__decode_fd_socket_SOURCES = pidfd_open--decode-fd-socket.c pidfd_open__decode_fd_socket_OBJECTS = \ pidfd_open--decode-fd-socket.$(OBJEXT) pidfd_open__decode_fd_socket_LDADD = $(LDADD) -pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a +pidfd_open__decode_fd_socket_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open__pidns_translation_SOURCES = \ pidfd_open--pidns-translation.c pidfd_open__pidns_translation_OBJECTS = \ pidfd_open--pidns-translation.$(OBJEXT) pidfd_open__pidns_translation_LDADD = $(LDADD) -pidfd_open__pidns_translation_DEPENDENCIES = libtests.a +pidfd_open__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidfd_open_P_SOURCES = pidfd_open-P.c pidfd_open_P_OBJECTS = pidfd_open-P.$(OBJEXT) pidfd_open_P_LDADD = $(LDADD) -pidfd_open_P_DEPENDENCIES = libtests.a +pidfd_open_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_y_SOURCES = pidfd_open-y.c pidfd_open_y_OBJECTS = pidfd_open-y.$(OBJEXT) pidfd_open_y_LDADD = $(LDADD) -pidfd_open_y_DEPENDENCIES = libtests.a +pidfd_open_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_open_yy_SOURCES = pidfd_open-yy.c pidfd_open_yy_OBJECTS = pidfd_open-yy.$(OBJEXT) pidfd_open_yy_LDADD = $(LDADD) -pidfd_open_yy_DEPENDENCIES = libtests.a +pidfd_open_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal_SOURCES = pidfd_send_signal.c pidfd_send_signal_OBJECTS = pidfd_send_signal.$(OBJEXT) pidfd_send_signal_LDADD = $(LDADD) -pidfd_send_signal_DEPENDENCIES = libtests.a +pidfd_send_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pidfd_send_signal__pidns_translation_SOURCES = \ pidfd_send_signal--pidns-translation.c pidfd_send_signal__pidns_translation_OBJECTS = \ pidfd_send_signal--pidns-translation.$(OBJEXT) pidfd_send_signal__pidns_translation_LDADD = $(LDADD) -pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a +pidfd_send_signal__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pidns_cache_SOURCES = pidns-cache.c pidns_cache_OBJECTS = pidns-cache.$(OBJEXT) pidns_cache_LDADD = $(LDADD) -pidns_cache_DEPENDENCIES = libtests.a +pidns_cache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe_SOURCES = pipe.c pipe_OBJECTS = pipe.$(OBJEXT) pipe_LDADD = $(LDADD) -pipe_DEPENDENCIES = libtests.a +pipe_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pipe2_SOURCES = pipe2.c pipe2_OBJECTS = pipe2.$(OBJEXT) pipe2_LDADD = $(LDADD) -pipe2_DEPENDENCIES = libtests.a +pipe2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_alloc_SOURCES = pkey_alloc.c pkey_alloc_OBJECTS = pkey_alloc.$(OBJEXT) pkey_alloc_LDADD = $(LDADD) -pkey_alloc_DEPENDENCIES = libtests.a +pkey_alloc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_free_SOURCES = pkey_free.c pkey_free_OBJECTS = pkey_free.$(OBJEXT) pkey_free_LDADD = $(LDADD) -pkey_free_DEPENDENCIES = libtests.a +pkey_free_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pkey_mprotect_SOURCES = pkey_mprotect.c pkey_mprotect_OBJECTS = pkey_mprotect.$(OBJEXT) pkey_mprotect_LDADD = $(LDADD) -pkey_mprotect_DEPENDENCIES = libtests.a +pkey_mprotect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_SOURCES = poke.c poke_OBJECTS = poke.$(OBJEXT) poke_LDADD = $(LDADD) -poke_DEPENDENCIES = libtests.a +poke_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poke_sendfile_SOURCES = poke-sendfile.c poke_sendfile_OBJECTS = poke-sendfile.$(OBJEXT) poke_sendfile_LDADD = $(LDADD) -poke_sendfile_DEPENDENCIES = libtests.a +poke_sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_SOURCES = poll.c poll_OBJECTS = poll.$(OBJEXT) poll_LDADD = $(LDADD) -poll_DEPENDENCIES = libtests.a +poll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) poll_P_SOURCES = poll-P.c poll_P_OBJECTS = poll-P.$(OBJEXT) poll_P_LDADD = $(LDADD) -poll_P_DEPENDENCIES = libtests.a +poll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_SOURCES = ppoll.c ppoll_OBJECTS = ppoll.$(OBJEXT) ppoll_LDADD = $(LDADD) -ppoll_DEPENDENCIES = libtests.a +ppoll_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_P_SOURCES = ppoll-P.c ppoll_P_OBJECTS = ppoll-P.$(OBJEXT) ppoll_P_LDADD = $(LDADD) -ppoll_P_DEPENDENCIES = libtests.a +ppoll_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ppoll_v_SOURCES = ppoll-v.c ppoll_v_OBJECTS = ppoll-v.$(OBJEXT) ppoll_v_LDADD = $(LDADD) -ppoll_v_DEPENDENCIES = libtests.a +ppoll_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_arg2_intptr_SOURCES = prctl-arg2-intptr.c prctl_arg2_intptr_OBJECTS = prctl-arg2-intptr.$(OBJEXT) prctl_arg2_intptr_LDADD = $(LDADD) -prctl_arg2_intptr_DEPENDENCIES = libtests.a +prctl_arg2_intptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_cap_ambient_SOURCES = prctl-cap-ambient.c prctl_cap_ambient_OBJECTS = prctl-cap-ambient.$(OBJEXT) prctl_cap_ambient_LDADD = $(LDADD) -prctl_cap_ambient_DEPENDENCIES = libtests.a +prctl_cap_ambient_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_capbset_SOURCES = prctl-capbset.c prctl_capbset_OBJECTS = prctl-capbset.$(OBJEXT) prctl_capbset_LDADD = $(LDADD) -prctl_capbset_DEPENDENCIES = libtests.a +prctl_capbset_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_dumpable_SOURCES = prctl-dumpable.c prctl_dumpable_OBJECTS = prctl-dumpable.$(OBJEXT) prctl_dumpable_LDADD = $(LDADD) -prctl_dumpable_DEPENDENCIES = libtests.a +prctl_dumpable_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_fp_mode_SOURCES = prctl-fp-mode.c prctl_fp_mode_OBJECTS = prctl-fp-mode.$(OBJEXT) prctl_fp_mode_LDADD = $(LDADD) -prctl_fp_mode_DEPENDENCIES = libtests.a +prctl_fp_mode_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_mce_kill_SOURCES = prctl-mce-kill.c prctl_mce_kill_OBJECTS = prctl-mce-kill.$(OBJEXT) prctl_mce_kill_LDADD = $(LDADD) -prctl_mce_kill_DEPENDENCIES = libtests.a +prctl_mce_kill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_name_SOURCES = prctl-name.c prctl_name_OBJECTS = prctl-name.$(OBJEXT) prctl_name_LDADD = $(LDADD) -prctl_name_DEPENDENCIES = libtests.a +prctl_name_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_no_args_SOURCES = prctl-no-args.c prctl_no_args_OBJECTS = prctl-no-args.$(OBJEXT) prctl_no_args_LDADD = $(LDADD) -prctl_no_args_DEPENDENCIES = libtests.a +prctl_no_args_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_SOURCES = prctl-pac-enabled-keys.c prctl_pac_enabled_keys_OBJECTS = prctl-pac-enabled-keys.$(OBJEXT) prctl_pac_enabled_keys_LDADD = $(LDADD) -prctl_pac_enabled_keys_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-Xabbrev.c prctl_pac_enabled_keys_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xraw_SOURCES = prctl-pac-enabled-keys-Xraw.c prctl_pac_enabled_keys_Xraw_OBJECTS = \ prctl-pac-enabled-keys-Xraw.$(OBJEXT) prctl_pac_enabled_keys_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_Xverbose_SOURCES = \ prctl-pac-enabled-keys-Xverbose.c prctl_pac_enabled_keys_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_SOURCES = \ prctl-pac-enabled-keys-success.c prctl_pac_enabled_keys_success_OBJECTS = \ prctl-pac-enabled-keys-success.$(OBJEXT) prctl_pac_enabled_keys_success_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xabbrev_SOURCES = \ prctl-pac-enabled-keys-success-Xabbrev.c prctl_pac_enabled_keys_success_Xabbrev_OBJECTS = \ prctl-pac-enabled-keys-success-Xabbrev.$(OBJEXT) prctl_pac_enabled_keys_success_Xabbrev_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xraw_SOURCES = \ prctl-pac-enabled-keys-success-Xraw.c prctl_pac_enabled_keys_success_Xraw_OBJECTS = \ prctl-pac-enabled-keys-success-Xraw.$(OBJEXT) prctl_pac_enabled_keys_success_Xraw_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_enabled_keys_success_Xverbose_SOURCES = \ prctl-pac-enabled-keys-success-Xverbose.c prctl_pac_enabled_keys_success_Xverbose_OBJECTS = \ prctl-pac-enabled-keys-success-Xverbose.$(OBJEXT) prctl_pac_enabled_keys_success_Xverbose_LDADD = $(LDADD) -prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a +prctl_pac_enabled_keys_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_pac_reset_keys_SOURCES = prctl-pac-reset-keys.c prctl_pac_reset_keys_OBJECTS = prctl-pac-reset-keys.$(OBJEXT) prctl_pac_reset_keys_LDADD = $(LDADD) -prctl_pac_reset_keys_DEPENDENCIES = libtests.a +prctl_pac_reset_keys_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_pdeathsig_SOURCES = prctl-pdeathsig.c prctl_pdeathsig_OBJECTS = prctl-pdeathsig.$(OBJEXT) prctl_pdeathsig_LDADD = $(LDADD) -prctl_pdeathsig_DEPENDENCIES = libtests.a +prctl_pdeathsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_SOURCES = prctl-sched-core.c prctl_sched_core_OBJECTS = prctl-sched-core.$(OBJEXT) prctl_sched_core_LDADD = $(LDADD) -prctl_sched_core_DEPENDENCIES = libtests.a +prctl_sched_core_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_SOURCES = \ prctl-sched-core--pidns-translation.c prctl_sched_core__pidns_translation_OBJECTS = \ prctl-sched-core--pidns-translation.$(OBJEXT) prctl_sched_core__pidns_translation_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core--pidns-translation-Xabbrev.c prctl_sched_core__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core__pidns_translation_Xabbrev_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xraw_SOURCES = \ prctl-sched-core--pidns-translation-Xraw.c prctl_sched_core__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core__pidns_translation_Xraw_LDADD = $(LDADD) -prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core__pidns_translation_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core--pidns-translation-Xverbose.c prctl_sched_core__pidns_translation_Xverbose_OBJECTS = \ prctl-sched-core--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xabbrev_SOURCES = prctl-sched-core-Xabbrev.c prctl_sched_core_Xabbrev_OBJECTS = prctl-sched-core-Xabbrev.$(OBJEXT) prctl_sched_core_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_Xraw_SOURCES = prctl-sched-core-Xraw.c prctl_sched_core_Xraw_OBJECTS = prctl-sched-core-Xraw.$(OBJEXT) prctl_sched_core_Xraw_LDADD = $(LDADD) -prctl_sched_core_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_Xverbose_SOURCES = prctl-sched-core-Xverbose.c prctl_sched_core_Xverbose_OBJECTS = \ prctl-sched-core-Xverbose.$(OBJEXT) prctl_sched_core_Xverbose_LDADD = $(LDADD) -prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_SOURCES = prctl-sched-core-success.c prctl_sched_core_success_OBJECTS = prctl-sched-core-success.$(OBJEXT) prctl_sched_core_success_LDADD = $(LDADD) -prctl_sched_core_success_DEPENDENCIES = libtests.a +prctl_sched_core_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_SOURCES = \ prctl-sched-core-success--pidns-translation.c prctl_sched_core_success__pidns_translation_OBJECTS = \ prctl-sched-core-success--pidns-translation.$(OBJEXT) prctl_sched_core_success__pidns_translation_LDADD = $(LDADD) -prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a +prctl_sched_core_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xabbrev_SOURCES = \ prctl-sched-core-success--pidns-translation-Xabbrev.c prctl_sched_core_success__pidns_translation_Xabbrev_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xabbrev.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xabbrev_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xabbrev_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xraw_SOURCES = \ prctl-sched-core-success--pidns-translation-Xraw.c prctl_sched_core_success__pidns_translation_Xraw_OBJECTS = \ prctl-sched-core-success--pidns-translation-Xraw.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xraw_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xraw_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success__pidns_translation_Xverbose_SOURCES = \ prctl-sched-core-success--pidns-translation-Xverbose.c prctl_sched_core_success__pidns_translation_Xverbose_OBJECTS = prctl-sched-core-success--pidns-translation-Xverbose.$(OBJEXT) prctl_sched_core_success__pidns_translation_Xverbose_LDADD = $(LDADD) prctl_sched_core_success__pidns_translation_Xverbose_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_sched_core_success_Xabbrev_SOURCES = \ prctl-sched-core-success-Xabbrev.c prctl_sched_core_success_Xabbrev_OBJECTS = \ prctl-sched-core-success-Xabbrev.$(OBJEXT) prctl_sched_core_success_Xabbrev_LDADD = $(LDADD) -prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xraw_SOURCES = \ prctl-sched-core-success-Xraw.c prctl_sched_core_success_Xraw_OBJECTS = \ prctl-sched-core-success-Xraw.$(OBJEXT) prctl_sched_core_success_Xraw_LDADD = $(LDADD) -prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_sched_core_success_Xverbose_SOURCES = \ prctl-sched-core-success-Xverbose.c prctl_sched_core_success_Xverbose_OBJECTS = \ prctl-sched-core-success-Xverbose.$(OBJEXT) prctl_sched_core_success_Xverbose_LDADD = $(LDADD) -prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a +prctl_sched_core_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_seccomp_filter_v_SOURCES = prctl-seccomp-filter-v.c prctl_seccomp_filter_v_OBJECTS = prctl-seccomp-filter-v.$(OBJEXT) prctl_seccomp_filter_v_LDADD = $(LDADD) -prctl_seccomp_filter_v_DEPENDENCIES = libtests.a +prctl_seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_seccomp_strict_SOURCES = prctl-seccomp-strict.c prctl_seccomp_strict_OBJECTS = prctl-seccomp-strict.$(OBJEXT) prctl_seccomp_strict_LDADD = $(LDADD) -prctl_seccomp_strict_DEPENDENCIES = libtests.a +prctl_seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_SOURCES = prctl-securebits.c prctl_securebits_OBJECTS = prctl-securebits.$(OBJEXT) prctl_securebits_LDADD = $(LDADD) -prctl_securebits_DEPENDENCIES = libtests.a +prctl_securebits_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_securebits_success_SOURCES = prctl-securebits-success.c prctl_securebits_success_OBJECTS = prctl-securebits-success.$(OBJEXT) prctl_securebits_success_LDADD = $(LDADD) -prctl_securebits_success_DEPENDENCIES = libtests.a +prctl_securebits_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xabbrev_SOURCES = \ prctl-securebits-success-Xabbrev.c prctl_securebits_success_Xabbrev_OBJECTS = \ prctl-securebits-success-Xabbrev.$(OBJEXT) prctl_securebits_success_Xabbrev_LDADD = $(LDADD) -prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_securebits_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xraw_SOURCES = \ prctl-securebits-success-Xraw.c prctl_securebits_success_Xraw_OBJECTS = \ prctl-securebits-success-Xraw.$(OBJEXT) prctl_securebits_success_Xraw_LDADD = $(LDADD) -prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a +prctl_securebits_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_securebits_success_Xverbose_SOURCES = \ prctl-securebits-success-Xverbose.c prctl_securebits_success_Xverbose_OBJECTS = \ prctl-securebits-success-Xverbose.$(OBJEXT) prctl_securebits_success_Xverbose_LDADD = $(LDADD) -prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a +prctl_securebits_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_SOURCES = prctl-set-ptracer-success.c prctl_set_ptracer_success_OBJECTS = \ prctl-set-ptracer-success.$(OBJEXT) prctl_set_ptracer_success_LDADD = $(LDADD) -prctl_set_ptracer_success_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success__pidns_translation_SOURCES = \ prctl-set-ptracer-success--pidns-translation.c prctl_set_ptracer_success__pidns_translation_OBJECTS = \ prctl-set-ptracer-success--pidns-translation.$(OBJEXT) prctl_set_ptracer_success__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev_SOURCES = \ prctl-set-ptracer-success-Xabbrev.c prctl_set_ptracer_success_Xabbrev_OBJECTS = \ prctl-set-ptracer-success-Xabbrev.$(OBJEXT) prctl_set_ptracer_success_Xabbrev_LDADD = $(LDADD) -prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xabbrev__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xabbrev--pidns-translation.c prctl_set_ptracer_success_Xabbrev__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xabbrev--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xabbrev__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xabbrev__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw_SOURCES = \ prctl-set-ptracer-success-Xraw.c prctl_set_ptracer_success_Xraw_OBJECTS = \ prctl-set-ptracer-success-Xraw.$(OBJEXT) prctl_set_ptracer_success_Xraw_LDADD = $(LDADD) -prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xraw__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xraw--pidns-translation.c prctl_set_ptracer_success_Xraw__pidns_translation_OBJECTS = \ prctl-set-ptracer-success-Xraw--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xraw__pidns_translation_LDADD = $(LDADD) prctl_set_ptracer_success_Xraw__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose_SOURCES = \ prctl-set-ptracer-success-Xverbose.c prctl_set_ptracer_success_Xverbose_OBJECTS = \ prctl-set-ptracer-success-Xverbose.$(OBJEXT) prctl_set_ptracer_success_Xverbose_LDADD = $(LDADD) -prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a +prctl_set_ptracer_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_set_ptracer_success_Xverbose__pidns_translation_SOURCES = \ prctl-set-ptracer-success-Xverbose--pidns-translation.c prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS = prctl-set-ptracer-success-Xverbose--pidns-translation.$(OBJEXT) prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD = \ $(LDADD) prctl_set_ptracer_success_Xverbose__pidns_translation_DEPENDENCIES = \ - libtests.a + libtests.a $(am__DEPENDENCIES_1) +prctl_set_vma_SOURCES = prctl-set_vma.c +prctl_set_vma_OBJECTS = prctl-set_vma.$(OBJEXT) +prctl_set_vma_LDADD = $(LDADD) +prctl_set_vma_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_SOURCES = prctl-sme.c +prctl_sme_OBJECTS = prctl-sme.$(OBJEXT) +prctl_sme_LDADD = $(LDADD) +prctl_sme_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xabbrev_SOURCES = prctl-sme-Xabbrev.c +prctl_sme_Xabbrev_OBJECTS = prctl-sme-Xabbrev.$(OBJEXT) +prctl_sme_Xabbrev_LDADD = $(LDADD) +prctl_sme_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xraw_SOURCES = prctl-sme-Xraw.c +prctl_sme_Xraw_OBJECTS = prctl-sme-Xraw.$(OBJEXT) +prctl_sme_Xraw_LDADD = $(LDADD) +prctl_sme_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_Xverbose_SOURCES = prctl-sme-Xverbose.c +prctl_sme_Xverbose_OBJECTS = prctl-sme-Xverbose.$(OBJEXT) +prctl_sme_Xverbose_LDADD = $(LDADD) +prctl_sme_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_SOURCES = prctl-sme-success.c +prctl_sme_success_OBJECTS = prctl-sme-success.$(OBJEXT) +prctl_sme_success_LDADD = $(LDADD) +prctl_sme_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xabbrev_SOURCES = prctl-sme-success-Xabbrev.c +prctl_sme_success_Xabbrev_OBJECTS = \ + prctl-sme-success-Xabbrev.$(OBJEXT) +prctl_sme_success_Xabbrev_LDADD = $(LDADD) +prctl_sme_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sme_success_Xraw_SOURCES = prctl-sme-success-Xraw.c +prctl_sme_success_Xraw_OBJECTS = prctl-sme-success-Xraw.$(OBJEXT) +prctl_sme_success_Xraw_LDADD = $(LDADD) +prctl_sme_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sme_success_Xverbose_SOURCES = prctl-sme-success-Xverbose.c +prctl_sme_success_Xverbose_OBJECTS = \ + prctl-sme-success-Xverbose.$(OBJEXT) +prctl_sme_success_Xverbose_LDADD = $(LDADD) +prctl_sme_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_spec_inject_SOURCES = prctl-spec-inject.c prctl_spec_inject_OBJECTS = prctl-spec-inject.$(OBJEXT) prctl_spec_inject_LDADD = $(LDADD) -prctl_spec_inject_DEPENDENCIES = libtests.a +prctl_spec_inject_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_sve_SOURCES = prctl-sve.c prctl_sve_OBJECTS = prctl-sve.$(OBJEXT) prctl_sve_LDADD = $(LDADD) -prctl_sve_DEPENDENCIES = libtests.a +prctl_sve_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xabbrev_SOURCES = prctl-sve-Xabbrev.c +prctl_sve_Xabbrev_OBJECTS = prctl-sve-Xabbrev.$(OBJEXT) +prctl_sve_Xabbrev_LDADD = $(LDADD) +prctl_sve_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xraw_SOURCES = prctl-sve-Xraw.c +prctl_sve_Xraw_OBJECTS = prctl-sve-Xraw.$(OBJEXT) +prctl_sve_Xraw_LDADD = $(LDADD) +prctl_sve_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_Xverbose_SOURCES = prctl-sve-Xverbose.c +prctl_sve_Xverbose_OBJECTS = prctl-sve-Xverbose.$(OBJEXT) +prctl_sve_Xverbose_LDADD = $(LDADD) +prctl_sve_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_SOURCES = prctl-sve-success.c +prctl_sve_success_OBJECTS = prctl-sve-success.$(OBJEXT) +prctl_sve_success_LDADD = $(LDADD) +prctl_sve_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xabbrev_SOURCES = prctl-sve-success-Xabbrev.c +prctl_sve_success_Xabbrev_OBJECTS = \ + prctl-sve-success-Xabbrev.$(OBJEXT) +prctl_sve_success_Xabbrev_LDADD = $(LDADD) +prctl_sve_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +prctl_sve_success_Xraw_SOURCES = prctl-sve-success-Xraw.c +prctl_sve_success_Xraw_OBJECTS = prctl-sve-success-Xraw.$(OBJEXT) +prctl_sve_success_Xraw_LDADD = $(LDADD) +prctl_sve_success_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +prctl_sve_success_Xverbose_SOURCES = prctl-sve-success-Xverbose.c +prctl_sve_success_Xverbose_OBJECTS = \ + prctl-sve-success-Xverbose.$(OBJEXT) +prctl_sve_success_Xverbose_LDADD = $(LDADD) +prctl_sve_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_syscall_user_dispatch_SOURCES = prctl-syscall-user-dispatch.c prctl_syscall_user_dispatch_OBJECTS = \ prctl-syscall-user-dispatch.$(OBJEXT) prctl_syscall_user_dispatch_LDADD = $(LDADD) -prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a +prctl_syscall_user_dispatch_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_SOURCES = prctl-tagged-addr.c prctl_tagged_addr_OBJECTS = prctl-tagged-addr.$(OBJEXT) prctl_tagged_addr_LDADD = $(LDADD) -prctl_tagged_addr_DEPENDENCIES = libtests.a +prctl_tagged_addr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xabbrev_SOURCES = prctl-tagged-addr-Xabbrev.c prctl_tagged_addr_Xabbrev_OBJECTS = \ prctl-tagged-addr-Xabbrev.$(OBJEXT) prctl_tagged_addr_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_Xraw_SOURCES = prctl-tagged-addr-Xraw.c prctl_tagged_addr_Xraw_OBJECTS = prctl-tagged-addr-Xraw.$(OBJEXT) prctl_tagged_addr_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tagged_addr_Xverbose_SOURCES = prctl-tagged-addr-Xverbose.c prctl_tagged_addr_Xverbose_OBJECTS = \ prctl-tagged-addr-Xverbose.$(OBJEXT) prctl_tagged_addr_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_SOURCES = prctl-tagged-addr-success.c prctl_tagged_addr_success_OBJECTS = \ prctl-tagged-addr-success.$(OBJEXT) prctl_tagged_addr_success_LDADD = $(LDADD) -prctl_tagged_addr_success_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xabbrev_SOURCES = \ prctl-tagged-addr-success-Xabbrev.c prctl_tagged_addr_success_Xabbrev_OBJECTS = \ prctl-tagged-addr-success-Xabbrev.$(OBJEXT) prctl_tagged_addr_success_Xabbrev_LDADD = $(LDADD) -prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xraw_SOURCES = \ prctl-tagged-addr-success-Xraw.c prctl_tagged_addr_success_Xraw_OBJECTS = \ prctl-tagged-addr-success-Xraw.$(OBJEXT) prctl_tagged_addr_success_Xraw_LDADD = $(LDADD) -prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tagged_addr_success_Xverbose_SOURCES = \ prctl-tagged-addr-success-Xverbose.c prctl_tagged_addr_success_Xverbose_OBJECTS = \ prctl-tagged-addr-success-Xverbose.$(OBJEXT) prctl_tagged_addr_success_Xverbose_LDADD = $(LDADD) -prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a +prctl_tagged_addr_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prctl_tid_address_SOURCES = prctl-tid_address.c prctl_tid_address_OBJECTS = prctl-tid_address.$(OBJEXT) prctl_tid_address_LDADD = $(LDADD) -prctl_tid_address_DEPENDENCIES = libtests.a +prctl_tid_address_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_tsc_SOURCES = prctl-tsc.c prctl_tsc_OBJECTS = prctl-tsc.$(OBJEXT) prctl_tsc_LDADD = $(LDADD) -prctl_tsc_DEPENDENCIES = libtests.a +prctl_tsc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prctl_unalign_SOURCES = prctl-unalign.c prctl_unalign_OBJECTS = prctl-unalign.$(OBJEXT) prctl_unalign_LDADD = $(LDADD) -prctl_unalign_DEPENDENCIES = libtests.a +prctl_unalign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pread64_pwrite64_SOURCES = pread64-pwrite64.c pread64_pwrite64_OBJECTS = \ pread64_pwrite64-pread64-pwrite64.$(OBJEXT) pread64_pwrite64_LDADD = $(LDADD) -pread64_pwrite64_DEPENDENCIES = libtests.a +pread64_pwrite64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_SOURCES = preadv.c preadv_OBJECTS = preadv-preadv.$(OBJEXT) preadv_LDADD = $(LDADD) -preadv_DEPENDENCIES = libtests.a +preadv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv_pwritev_SOURCES = preadv-pwritev.c preadv_pwritev_OBJECTS = preadv_pwritev-preadv-pwritev.$(OBJEXT) preadv_pwritev_LDADD = $(LDADD) -preadv_pwritev_DEPENDENCIES = libtests.a +preadv_pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) preadv2_pwritev2_SOURCES = preadv2-pwritev2.c preadv2_pwritev2_OBJECTS = preadv2-pwritev2.$(OBJEXT) preadv2_pwritev2_LDADD = $(LDADD) -preadv2_pwritev2_DEPENDENCIES = libtests.a +preadv2_pwritev2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_maxfd_SOURCES = print_maxfd.c print_maxfd_OBJECTS = print_maxfd.$(OBJEXT) print_maxfd_LDADD = $(LDADD) -print_maxfd_DEPENDENCIES = libtests.a +print_maxfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) print_ppid_tracerpid_SOURCES = print_ppid_tracerpid.c print_ppid_tracerpid_OBJECTS = print_ppid_tracerpid.$(OBJEXT) print_ppid_tracerpid_LDADD = $(LDADD) -print_ppid_tracerpid_DEPENDENCIES = libtests.a +print_ppid_tracerpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_SOURCES = printpath-umovestr.c printpath_umovestr_OBJECTS = printpath-umovestr.$(OBJEXT) printpath_umovestr_LDADD = $(LDADD) -printpath_umovestr_DEPENDENCIES = libtests.a +printpath_umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printpath_umovestr_peekdata_SOURCES = printpath-umovestr-peekdata.c printpath_umovestr_peekdata_OBJECTS = \ printpath-umovestr-peekdata.$(OBJEXT) printpath_umovestr_peekdata_LDADD = $(LDADD) -printpath_umovestr_peekdata_DEPENDENCIES = libtests.a +printpath_umovestr_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printpath_umovestr_undumpable_SOURCES = \ printpath-umovestr-undumpable.c printpath_umovestr_undumpable_OBJECTS = \ printpath-umovestr-undumpable.$(OBJEXT) printpath_umovestr_undumpable_LDADD = $(LDADD) -printpath_umovestr_undumpable_DEPENDENCIES = libtests.a +printpath_umovestr_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printsignal_Xabbrev_SOURCES = printsignal-Xabbrev.c printsignal_Xabbrev_OBJECTS = printsignal-Xabbrev.$(OBJEXT) printsignal_Xabbrev_LDADD = $(LDADD) -printsignal_Xabbrev_DEPENDENCIES = libtests.a +printsignal_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xraw_SOURCES = printsignal-Xraw.c printsignal_Xraw_OBJECTS = printsignal-Xraw.$(OBJEXT) printsignal_Xraw_LDADD = $(LDADD) -printsignal_Xraw_DEPENDENCIES = libtests.a +printsignal_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printsignal_Xverbose_SOURCES = printsignal-Xverbose.c printsignal_Xverbose_OBJECTS = printsignal-Xverbose.$(OBJEXT) printsignal_Xverbose_LDADD = $(LDADD) -printsignal_Xverbose_DEPENDENCIES = libtests.a +printsignal_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstr_SOURCES = printstr.c printstr_OBJECTS = printstr.$(OBJEXT) printstr_LDADD = $(LDADD) -printstr_DEPENDENCIES = libtests.a +printstr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_SOURCES = printstrn-umoven.c printstrn_umoven_OBJECTS = printstrn-umoven.$(OBJEXT) printstrn_umoven_LDADD = $(LDADD) -printstrn_umoven_DEPENDENCIES = libtests.a +printstrn_umoven_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) printstrn_umoven_peekdata_SOURCES = printstrn-umoven-peekdata.c printstrn_umoven_peekdata_OBJECTS = \ printstrn-umoven-peekdata.$(OBJEXT) printstrn_umoven_peekdata_LDADD = $(LDADD) -printstrn_umoven_peekdata_DEPENDENCIES = libtests.a +printstrn_umoven_peekdata_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) printstrn_umoven_undumpable_SOURCES = printstrn-umoven-undumpable.c printstrn_umoven_undumpable_OBJECTS = \ printstrn-umoven-undumpable.$(OBJEXT) printstrn_umoven_undumpable_LDADD = $(LDADD) -printstrn_umoven_undumpable_DEPENDENCIES = libtests.a +printstrn_umoven_undumpable_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_SOURCES = prlimit64.c prlimit64_OBJECTS = prlimit64.$(OBJEXT) prlimit64_LDADD = $(LDADD) -prlimit64_DEPENDENCIES = libtests.a +prlimit64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64__pidns_translation_SOURCES = prlimit64--pidns-translation.c prlimit64__pidns_translation_OBJECTS = \ prlimit64--pidns-translation.$(OBJEXT) prlimit64__pidns_translation_LDADD = $(LDADD) -prlimit64__pidns_translation_DEPENDENCIES = libtests.a +prlimit64__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) prlimit64_success_SOURCES = prlimit64-success.c prlimit64_success_OBJECTS = prlimit64-success.$(OBJEXT) prlimit64_success_LDADD = $(LDADD) -prlimit64_success_DEPENDENCIES = libtests.a +prlimit64_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) prlimit64_success__pidns_translation_SOURCES = \ prlimit64-success--pidns-translation.c prlimit64_success__pidns_translation_OBJECTS = \ prlimit64-success--pidns-translation.$(OBJEXT) prlimit64_success__pidns_translation_LDADD = $(LDADD) -prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a +prlimit64_success__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_madvise_SOURCES = process_madvise.c process_madvise_OBJECTS = process_madvise.$(OBJEXT) process_madvise_LDADD = $(LDADD) -process_madvise_DEPENDENCIES = libtests.a +process_madvise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_y_SOURCES = process_madvise-y.c process_madvise_y_OBJECTS = process_madvise-y.$(OBJEXT) process_madvise_y_LDADD = $(LDADD) -process_madvise_y_DEPENDENCIES = libtests.a +process_madvise_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_madvise_yy_SOURCES = process_madvise-yy.c process_madvise_yy_OBJECTS = process_madvise-yy.$(OBJEXT) process_madvise_yy_LDADD = $(LDADD) -process_madvise_yy_DEPENDENCIES = libtests.a +process_madvise_yy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_SOURCES = process_mrelease.c +process_mrelease_OBJECTS = process_mrelease.$(OBJEXT) +process_mrelease_LDADD = $(LDADD) +process_mrelease_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +process_mrelease_y_SOURCES = process_mrelease-y.c +process_mrelease_y_OBJECTS = process_mrelease-y.$(OBJEXT) +process_mrelease_y_LDADD = $(LDADD) +process_mrelease_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv_SOURCES = process_vm_readv.c process_vm_readv_OBJECTS = process_vm_readv.$(OBJEXT) process_vm_readv_LDADD = $(LDADD) -process_vm_readv_DEPENDENCIES = libtests.a +process_vm_readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_readv__pidns_translation_SOURCES = \ process_vm_readv--pidns-translation.c process_vm_readv__pidns_translation_OBJECTS = \ process_vm_readv--pidns-translation.$(OBJEXT) process_vm_readv__pidns_translation_LDADD = $(LDADD) -process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a +process_vm_readv__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) process_vm_writev_SOURCES = process_vm_writev.c process_vm_writev_OBJECTS = process_vm_writev.$(OBJEXT) process_vm_writev_LDADD = $(LDADD) -process_vm_writev_DEPENDENCIES = libtests.a +process_vm_writev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) process_vm_writev__pidns_translation_SOURCES = \ process_vm_writev--pidns-translation.c process_vm_writev__pidns_translation_OBJECTS = \ process_vm_writev--pidns-translation.$(OBJEXT) process_vm_writev__pidns_translation_LDADD = $(LDADD) -process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a +process_vm_writev__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pselect6_SOURCES = pselect6.c pselect6_OBJECTS = pselect6.$(OBJEXT) pselect6_LDADD = $(LDADD) -pselect6_DEPENDENCIES = libtests.a +pselect6_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) pselect6_time64_SOURCES = pselect6_time64.c pselect6_time64_OBJECTS = pselect6_time64.$(OBJEXT) pselect6_time64_LDADD = $(LDADD) -pselect6_time64_DEPENDENCIES = libtests.a +pselect6_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_SOURCES = ptrace.c ptrace_OBJECTS = ptrace.$(OBJEXT) ptrace_LDADD = $(LDADD) -ptrace_DEPENDENCIES = libtests.a +ptrace_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xabbrev_SOURCES = ptrace-Xabbrev.c +ptrace_Xabbrev_OBJECTS = ptrace-Xabbrev.$(OBJEXT) +ptrace_Xabbrev_LDADD = $(LDADD) +ptrace_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xraw_SOURCES = ptrace-Xraw.c +ptrace_Xraw_OBJECTS = ptrace-Xraw.$(OBJEXT) +ptrace_Xraw_LDADD = $(LDADD) +ptrace_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_Xverbose_SOURCES = ptrace-Xverbose.c +ptrace_Xverbose_OBJECTS = ptrace-Xverbose.$(OBJEXT) +ptrace_Xverbose_LDADD = $(LDADD) +ptrace_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_SOURCES = ptrace-y.c +ptrace_y_OBJECTS = ptrace-y.$(OBJEXT) +ptrace_y_LDADD = $(LDADD) +ptrace_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xabbrev_SOURCES = ptrace-y-Xabbrev.c +ptrace_y_Xabbrev_OBJECTS = ptrace-y-Xabbrev.$(OBJEXT) +ptrace_y_Xabbrev_LDADD = $(LDADD) +ptrace_y_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xraw_SOURCES = ptrace-y-Xraw.c +ptrace_y_Xraw_OBJECTS = ptrace-y-Xraw.$(OBJEXT) +ptrace_y_Xraw_LDADD = $(LDADD) +ptrace_y_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_y_Xverbose_SOURCES = ptrace-y-Xverbose.c +ptrace_y_Xverbose_OBJECTS = ptrace-y-Xverbose.$(OBJEXT) +ptrace_y_Xverbose_LDADD = $(LDADD) +ptrace_y_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ptrace_syscall_info_SOURCES = ptrace_syscall_info.c ptrace_syscall_info_OBJECTS = ptrace_syscall_info.$(OBJEXT) ptrace_syscall_info_LDADD = $(LDADD) -ptrace_syscall_info_DEPENDENCIES = libtests.a +ptrace_syscall_info_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xabbrev_SOURCES = ptrace_syscall_info-Xabbrev.c +ptrace_syscall_info_Xabbrev_OBJECTS = \ + ptrace_syscall_info-Xabbrev.$(OBJEXT) +ptrace_syscall_info_Xabbrev_LDADD = $(LDADD) +ptrace_syscall_info_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xraw_SOURCES = ptrace_syscall_info-Xraw.c +ptrace_syscall_info_Xraw_OBJECTS = ptrace_syscall_info-Xraw.$(OBJEXT) +ptrace_syscall_info_Xraw_LDADD = $(LDADD) +ptrace_syscall_info_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +ptrace_syscall_info_Xverbose_SOURCES = ptrace_syscall_info-Xverbose.c +ptrace_syscall_info_Xverbose_OBJECTS = \ + ptrace_syscall_info-Xverbose.$(OBJEXT) +ptrace_syscall_info_Xverbose_LDADD = $(LDADD) +ptrace_syscall_info_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) pwritev_SOURCES = pwritev.c pwritev_OBJECTS = pwritev-pwritev.$(OBJEXT) pwritev_LDADD = $(LDADD) -pwritev_DEPENDENCIES = libtests.a +pwritev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_fault_SOURCES = qual_fault.c qual_fault_OBJECTS = qual_fault.$(OBJEXT) qual_fault_LDADD = $(LDADD) -qual_fault_DEPENDENCIES = libtests.a +qual_fault_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_error_signal_SOURCES = qual_inject-error-signal.c qual_inject_error_signal_OBJECTS = qual_inject-error-signal.$(OBJEXT) qual_inject_error_signal_LDADD = $(LDADD) -qual_inject_error_signal_DEPENDENCIES = libtests.a +qual_inject_error_signal_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) qual_inject_retval_SOURCES = qual_inject-retval.c qual_inject_retval_OBJECTS = qual_inject-retval.$(OBJEXT) qual_inject_retval_LDADD = $(LDADD) -qual_inject_retval_DEPENDENCIES = libtests.a +qual_inject_retval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_inject_signal_SOURCES = qual_inject-signal.c qual_inject_signal_OBJECTS = qual_inject-signal.$(OBJEXT) qual_inject_signal_LDADD = $(LDADD) -qual_inject_signal_DEPENDENCIES = libtests.a +qual_inject_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) qual_signal_SOURCES = qual_signal.c qual_signal_OBJECTS = qual_signal.$(OBJEXT) qual_signal_LDADD = $(LDADD) -qual_signal_DEPENDENCIES = libtests.a +qual_signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_SOURCES = quotactl.c quotactl_OBJECTS = quotactl.$(OBJEXT) quotactl_LDADD = $(LDADD) -quotactl_DEPENDENCIES = libtests.a +quotactl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xabbrev_SOURCES = quotactl-Xabbrev.c quotactl_Xabbrev_OBJECTS = quotactl-Xabbrev.$(OBJEXT) quotactl_Xabbrev_LDADD = $(LDADD) -quotactl_Xabbrev_DEPENDENCIES = libtests.a +quotactl_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xraw_SOURCES = quotactl-Xraw.c quotactl_Xraw_OBJECTS = quotactl-Xraw.$(OBJEXT) quotactl_Xraw_LDADD = $(LDADD) -quotactl_Xraw_DEPENDENCIES = libtests.a +quotactl_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_Xverbose_SOURCES = quotactl-Xverbose.c quotactl_Xverbose_OBJECTS = quotactl-Xverbose.$(OBJEXT) quotactl_Xverbose_LDADD = $(LDADD) -quotactl_Xverbose_DEPENDENCIES = libtests.a +quotactl_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_SOURCES = quotactl-success.c quotactl_success_OBJECTS = quotactl-success.$(OBJEXT) quotactl_success_LDADD = $(LDADD) -quotactl_success_DEPENDENCIES = libtests.a +quotactl_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_success_v_SOURCES = quotactl-success-v.c quotactl_success_v_OBJECTS = quotactl-success-v.$(OBJEXT) quotactl_success_v_LDADD = $(LDADD) -quotactl_success_v_DEPENDENCIES = libtests.a +quotactl_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_v_SOURCES = quotactl-v.c quotactl_v_OBJECTS = quotactl-v.$(OBJEXT) quotactl_v_LDADD = $(LDADD) -quotactl_v_DEPENDENCIES = libtests.a +quotactl_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_SOURCES = quotactl-xfs.c quotactl_xfs_OBJECTS = quotactl-xfs.$(OBJEXT) quotactl_xfs_LDADD = $(LDADD) -quotactl_xfs_DEPENDENCIES = libtests.a +quotactl_xfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_SOURCES = quotactl-xfs-success.c quotactl_xfs_success_OBJECTS = quotactl-xfs-success.$(OBJEXT) quotactl_xfs_success_LDADD = $(LDADD) -quotactl_xfs_success_DEPENDENCIES = libtests.a +quotactl_xfs_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_success_v_SOURCES = quotactl-xfs-success-v.c quotactl_xfs_success_v_OBJECTS = quotactl-xfs-success-v.$(OBJEXT) quotactl_xfs_success_v_LDADD = $(LDADD) -quotactl_xfs_success_v_DEPENDENCIES = libtests.a +quotactl_xfs_success_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_xfs_v_SOURCES = quotactl-xfs-v.c quotactl_xfs_v_OBJECTS = quotactl-xfs-v.$(OBJEXT) quotactl_xfs_v_LDADD = $(LDADD) -quotactl_xfs_v_DEPENDENCIES = libtests.a +quotactl_xfs_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_SOURCES = quotactl_fd.c quotactl_fd_OBJECTS = quotactl_fd.$(OBJEXT) quotactl_fd_LDADD = $(LDADD) -quotactl_fd_DEPENDENCIES = libtests.a +quotactl_fd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_P_SOURCES = quotactl_fd-P.c quotactl_fd_P_OBJECTS = quotactl_fd-P.$(OBJEXT) quotactl_fd_P_LDADD = $(LDADD) -quotactl_fd_P_DEPENDENCIES = libtests.a +quotactl_fd_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) quotactl_fd_y_SOURCES = quotactl_fd-y.c quotactl_fd_y_OBJECTS = quotactl_fd-y.$(OBJEXT) quotactl_fd_y_LDADD = $(LDADD) -quotactl_fd_y_DEPENDENCIES = libtests.a +quotactl_fd_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) read_write_SOURCES = read-write.c read_write_OBJECTS = read-write.$(OBJEXT) read_write_LDADD = $(LDADD) -read_write_DEPENDENCIES = libtests.a +read_write_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readahead_SOURCES = readahead.c readahead_OBJECTS = readahead.$(OBJEXT) readahead_LDADD = $(LDADD) -readahead_DEPENDENCIES = libtests.a +readahead_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readdir_SOURCES = readdir.c readdir_OBJECTS = readdir.$(OBJEXT) readdir_LDADD = $(LDADD) -readdir_DEPENDENCIES = libtests.a +readdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlink_SOURCES = readlink.c readlink_OBJECTS = readlink.$(OBJEXT) readlink_LDADD = $(LDADD) -readlink_DEPENDENCIES = libtests.a +readlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readlinkat_SOURCES = readlinkat.c readlinkat_OBJECTS = readlinkat.$(OBJEXT) readlinkat_LDADD = $(LDADD) -readlinkat_DEPENDENCIES = libtests.a +readlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) readv_SOURCES = readv.c readv_OBJECTS = readv.$(OBJEXT) readv_LDADD = $(LDADD) -readv_DEPENDENCIES = libtests.a +readv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) reboot_SOURCES = reboot.c reboot_OBJECTS = reboot.$(OBJEXT) reboot_LDADD = $(LDADD) -reboot_DEPENDENCIES = libtests.a +reboot_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recv_MSG_TRUNC_SOURCES = recv-MSG_TRUNC.c recv_MSG_TRUNC_OBJECTS = recv-MSG_TRUNC.$(OBJEXT) recv_MSG_TRUNC_LDADD = $(LDADD) -recv_MSG_TRUNC_DEPENDENCIES = libtests.a +recv_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_SOURCES = recvfrom.c recvfrom_OBJECTS = recvfrom.$(OBJEXT) recvfrom_LDADD = $(LDADD) -recvfrom_DEPENDENCIES = libtests.a +recvfrom_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvfrom_MSG_TRUNC_SOURCES = recvfrom-MSG_TRUNC.c recvfrom_MSG_TRUNC_OBJECTS = recvfrom-MSG_TRUNC.$(OBJEXT) recvfrom_MSG_TRUNC_LDADD = $(LDADD) -recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a +recvfrom_MSG_TRUNC_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmmsg_timeout_SOURCES = recvmmsg-timeout.c recvmmsg_timeout_OBJECTS = recvmmsg-timeout.$(OBJEXT) recvmmsg_timeout_LDADD = $(LDADD) -recvmmsg_timeout_DEPENDENCIES = libtests.a +recvmmsg_timeout_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) recvmsg_SOURCES = recvmsg.c recvmsg_OBJECTS = recvmsg.$(OBJEXT) recvmsg_LDADD = $(LDADD) -recvmsg_DEPENDENCIES = libtests.a +recvmsg_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) redirect_fds_SOURCES = redirect-fds.c redirect_fds_OBJECTS = redirect-fds.$(OBJEXT) redirect_fds_LDADD = $(LDADD) -redirect_fds_DEPENDENCIES = libtests.a +redirect_fds_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_SOURCES = remap_file_pages.c remap_file_pages_OBJECTS = remap_file_pages.$(OBJEXT) remap_file_pages_LDADD = $(LDADD) -remap_file_pages_DEPENDENCIES = libtests.a +remap_file_pages_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xabbrev_SOURCES = remap_file_pages-Xabbrev.c remap_file_pages_Xabbrev_OBJECTS = remap_file_pages-Xabbrev.$(OBJEXT) remap_file_pages_Xabbrev_LDADD = $(LDADD) -remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a +remap_file_pages_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) remap_file_pages_Xraw_SOURCES = remap_file_pages-Xraw.c remap_file_pages_Xraw_OBJECTS = remap_file_pages-Xraw.$(OBJEXT) remap_file_pages_Xraw_LDADD = $(LDADD) -remap_file_pages_Xraw_DEPENDENCIES = libtests.a +remap_file_pages_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) remap_file_pages_Xverbose_SOURCES = remap_file_pages-Xverbose.c remap_file_pages_Xverbose_OBJECTS = \ remap_file_pages-Xverbose.$(OBJEXT) remap_file_pages_Xverbose_LDADD = $(LDADD) -remap_file_pages_Xverbose_DEPENDENCIES = libtests.a +remap_file_pages_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rename_SOURCES = rename.c rename_OBJECTS = rename.$(OBJEXT) rename_LDADD = $(LDADD) -rename_DEPENDENCIES = libtests.a +rename_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat_SOURCES = renameat.c renameat_OBJECTS = renameat.$(OBJEXT) renameat_LDADD = $(LDADD) -renameat_DEPENDENCIES = libtests.a +renameat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) renameat2_SOURCES = renameat2.c renameat2_OBJECTS = renameat2.$(OBJEXT) renameat2_LDADD = $(LDADD) -renameat2_DEPENDENCIES = libtests.a +renameat2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) request_key_SOURCES = request_key.c request_key_OBJECTS = request_key.$(OBJEXT) request_key_LDADD = $(LDADD) -request_key_DEPENDENCIES = libtests.a +request_key_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) restart_syscall_SOURCES = restart_syscall.c restart_syscall_OBJECTS = restart_syscall.$(OBJEXT) restart_syscall_LDADD = $(LDADD) -restart_syscall_DEPENDENCIES = libtests.a +restart_syscall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) riscv_flush_icache_SOURCES = riscv_flush_icache.c riscv_flush_icache_OBJECTS = riscv_flush_icache.$(OBJEXT) riscv_flush_icache_LDADD = $(LDADD) -riscv_flush_icache_DEPENDENCIES = libtests.a +riscv_flush_icache_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rmdir_SOURCES = rmdir.c rmdir_OBJECTS = rmdir.$(OBJEXT) rmdir_LDADD = $(LDADD) -rmdir_DEPENDENCIES = libtests.a +rmdir_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigaction_SOURCES = rt_sigaction.c rt_sigaction_OBJECTS = rt_sigaction.$(OBJEXT) rt_sigaction_LDADD = $(LDADD) -rt_sigaction_DEPENDENCIES = libtests.a +rt_sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigpending_SOURCES = rt_sigpending.c rt_sigpending_OBJECTS = rt_sigpending.$(OBJEXT) rt_sigpending_LDADD = $(LDADD) -rt_sigpending_DEPENDENCIES = libtests.a +rt_sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigprocmask_SOURCES = rt_sigprocmask.c rt_sigprocmask_OBJECTS = rt_sigprocmask.$(OBJEXT) rt_sigprocmask_LDADD = $(LDADD) -rt_sigprocmask_DEPENDENCIES = libtests.a +rt_sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo_SOURCES = rt_sigqueueinfo.c rt_sigqueueinfo_OBJECTS = rt_sigqueueinfo.$(OBJEXT) rt_sigqueueinfo_LDADD = $(LDADD) -rt_sigqueueinfo_DEPENDENCIES = libtests.a +rt_sigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigqueueinfo__pidns_translation_SOURCES = \ rt_sigqueueinfo--pidns-translation.c rt_sigqueueinfo__pidns_translation_OBJECTS = \ rt_sigqueueinfo--pidns-translation.$(OBJEXT) rt_sigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_sigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) rt_sigreturn_SOURCES = rt_sigreturn.c rt_sigreturn_OBJECTS = rt_sigreturn.$(OBJEXT) rt_sigreturn_LDADD = $(LDADD) -rt_sigreturn_DEPENDENCIES = libtests.a +rt_sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigsuspend_SOURCES = rt_sigsuspend.c rt_sigsuspend_OBJECTS = rt_sigsuspend.$(OBJEXT) rt_sigsuspend_LDADD = $(LDADD) -rt_sigsuspend_DEPENDENCIES = libtests.a +rt_sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_sigtimedwait_SOURCES = rt_sigtimedwait.c rt_sigtimedwait_OBJECTS = rt_sigtimedwait.$(OBJEXT) rt_sigtimedwait_LDADD = $(LDADD) -rt_sigtimedwait_DEPENDENCIES = libtests.a +rt_sigtimedwait_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo_SOURCES = rt_tgsigqueueinfo.c rt_tgsigqueueinfo_OBJECTS = rt_tgsigqueueinfo.$(OBJEXT) rt_tgsigqueueinfo_LDADD = $(LDADD) -rt_tgsigqueueinfo_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) rt_tgsigqueueinfo__pidns_translation_SOURCES = \ rt_tgsigqueueinfo--pidns-translation.c rt_tgsigqueueinfo__pidns_translation_OBJECTS = \ rt_tgsigqueueinfo--pidns-translation.$(OBJEXT) rt_tgsigqueueinfo__pidns_translation_LDADD = $(LDADD) -rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a +rt_tgsigqueueinfo__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) run_expect_termsig_SOURCES = run_expect_termsig.c run_expect_termsig_OBJECTS = run_expect_termsig.$(OBJEXT) run_expect_termsig_LDADD = $(LDADD) -run_expect_termsig_DEPENDENCIES = libtests.a +run_expect_termsig_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_SOURCES = s390_guarded_storage.c s390_guarded_storage_OBJECTS = s390_guarded_storage.$(OBJEXT) s390_guarded_storage_LDADD = $(LDADD) -s390_guarded_storage_DEPENDENCIES = libtests.a +s390_guarded_storage_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_guarded_storage_v_SOURCES = s390_guarded_storage-v.c s390_guarded_storage_v_OBJECTS = s390_guarded_storage-v.$(OBJEXT) s390_guarded_storage_v_LDADD = $(LDADD) -s390_guarded_storage_v_DEPENDENCIES = libtests.a +s390_guarded_storage_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_pci_mmio_read_write_SOURCES = s390_pci_mmio_read_write.c s390_pci_mmio_read_write_OBJECTS = s390_pci_mmio_read_write.$(OBJEXT) s390_pci_mmio_read_write_LDADD = $(LDADD) -s390_pci_mmio_read_write_DEPENDENCIES = libtests.a +s390_pci_mmio_read_write_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) s390_runtime_instr_SOURCES = s390_runtime_instr.c s390_runtime_instr_OBJECTS = s390_runtime_instr.$(OBJEXT) s390_runtime_instr_LDADD = $(LDADD) -s390_runtime_instr_DEPENDENCIES = libtests.a +s390_runtime_instr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_SOURCES = s390_sthyi.c s390_sthyi_OBJECTS = s390_sthyi.$(OBJEXT) s390_sthyi_LDADD = $(LDADD) -s390_sthyi_DEPENDENCIES = libtests.a +s390_sthyi_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) s390_sthyi_v_SOURCES = s390_sthyi-v.c s390_sthyi_v_OBJECTS = s390_sthyi-v.$(OBJEXT) s390_sthyi_v_LDADD = $(LDADD) -s390_sthyi_v_DEPENDENCIES = libtests.a +s390_sthyi_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_get_priority_mxx_SOURCES = sched_get_priority_mxx.c sched_get_priority_mxx_OBJECTS = sched_get_priority_mxx.$(OBJEXT) sched_get_priority_mxx_LDADD = $(LDADD) -sched_get_priority_mxx_DEPENDENCIES = libtests.a +sched_get_priority_mxx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_rr_get_interval_SOURCES = sched_rr_get_interval.c sched_rr_get_interval_OBJECTS = sched_rr_get_interval.$(OBJEXT) sched_rr_get_interval_LDADD = $(LDADD) -sched_rr_get_interval_DEPENDENCIES = libtests.a +sched_rr_get_interval_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity_SOURCES = sched_xetaffinity.c sched_xetaffinity_OBJECTS = sched_xetaffinity.$(OBJEXT) sched_xetaffinity_LDADD = $(LDADD) -sched_xetaffinity_DEPENDENCIES = libtests.a +sched_xetaffinity_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetaffinity__pidns_translation_SOURCES = \ sched_xetaffinity--pidns-translation.c sched_xetaffinity__pidns_translation_OBJECTS = \ sched_xetaffinity--pidns-translation.$(OBJEXT) sched_xetaffinity__pidns_translation_LDADD = $(LDADD) -sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a +sched_xetaffinity__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetattr_SOURCES = sched_xetattr.c sched_xetattr_OBJECTS = sched_xetattr.$(OBJEXT) sched_xetattr_LDADD = $(LDADD) -sched_xetattr_DEPENDENCIES = libtests.a +sched_xetattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetattr__pidns_translation_SOURCES = \ sched_xetattr--pidns-translation.c sched_xetattr__pidns_translation_OBJECTS = \ sched_xetattr--pidns-translation.$(OBJEXT) sched_xetattr__pidns_translation_LDADD = $(LDADD) -sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a +sched_xetattr__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetparam_SOURCES = sched_xetparam.c sched_xetparam_OBJECTS = sched_xetparam.$(OBJEXT) sched_xetparam_LDADD = $(LDADD) -sched_xetparam_DEPENDENCIES = libtests.a +sched_xetparam_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetparam__pidns_translation_SOURCES = \ sched_xetparam--pidns-translation.c sched_xetparam__pidns_translation_OBJECTS = \ sched_xetparam--pidns-translation.$(OBJEXT) sched_xetparam__pidns_translation_LDADD = $(LDADD) -sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a +sched_xetparam__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_xetscheduler_SOURCES = sched_xetscheduler.c sched_xetscheduler_OBJECTS = sched_xetscheduler.$(OBJEXT) sched_xetscheduler_LDADD = $(LDADD) -sched_xetscheduler_DEPENDENCIES = libtests.a +sched_xetscheduler_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sched_xetscheduler__pidns_translation_SOURCES = \ sched_xetscheduler--pidns-translation.c sched_xetscheduler__pidns_translation_OBJECTS = \ sched_xetscheduler--pidns-translation.$(OBJEXT) sched_xetscheduler__pidns_translation_LDADD = $(LDADD) -sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a +sched_xetscheduler__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sched_yield_SOURCES = sched_yield.c sched_yield_OBJECTS = sched_yield.$(OBJEXT) sched_yield_LDADD = $(LDADD) -sched_yield_DEPENDENCIES = libtests.a +sched_yield_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) scm_rights_SOURCES = scm_rights.c scm_rights_OBJECTS = scm_rights.$(OBJEXT) scm_rights_LDADD = $(LDADD) -scm_rights_DEPENDENCIES = libtests.a +scm_rights_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_SOURCES = seccomp-filter.c seccomp_filter_OBJECTS = seccomp-filter.$(OBJEXT) seccomp_filter_LDADD = $(LDADD) -seccomp_filter_DEPENDENCIES = libtests.a +seccomp_filter_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_filter_v_SOURCES = seccomp-filter-v.c seccomp_filter_v_OBJECTS = seccomp-filter-v.$(OBJEXT) seccomp_filter_v_LDADD = $(LDADD) -seccomp_filter_v_DEPENDENCIES = libtests.a +seccomp_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_strict_SOURCES = seccomp-strict.c seccomp_strict_OBJECTS = seccomp-strict.$(OBJEXT) seccomp_strict_LDADD = $(LDADD) -seccomp_strict_DEPENDENCIES = libtests.a +seccomp_strict_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) seccomp_get_action_avail_SOURCES = seccomp_get_action_avail.c seccomp_get_action_avail_OBJECTS = seccomp_get_action_avail.$(OBJEXT) seccomp_get_action_avail_LDADD = $(LDADD) -seccomp_get_action_avail_DEPENDENCIES = libtests.a +seccomp_get_action_avail_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_SOURCES = seccomp_get_notif_sizes.c +seccomp_get_notif_sizes_OBJECTS = seccomp_get_notif_sizes.$(OBJEXT) +seccomp_get_notif_sizes_LDADD = $(LDADD) +seccomp_get_notif_sizes_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +seccomp_get_notif_sizes_success_SOURCES = \ + seccomp_get_notif_sizes-success.c +seccomp_get_notif_sizes_success_OBJECTS = \ + seccomp_get_notif_sizes-success.$(OBJEXT) +seccomp_get_notif_sizes_success_LDADD = $(LDADD) +seccomp_get_notif_sizes_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +segv_accerr_SOURCES = segv_accerr.c +segv_accerr_OBJECTS = segv_accerr.$(OBJEXT) +segv_accerr_LDADD = $(LDADD) +segv_accerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +segv_pkuerr_SOURCES = segv_pkuerr.c +segv_pkuerr_OBJECTS = segv_pkuerr.$(OBJEXT) +segv_pkuerr_LDADD = $(LDADD) +segv_pkuerr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_SOURCES = select.c select_OBJECTS = select.$(OBJEXT) select_LDADD = $(LDADD) -select_DEPENDENCIES = libtests.a +select_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) select_P_SOURCES = select-P.c select_P_OBJECTS = select-P.$(OBJEXT) select_P_LDADD = $(LDADD) -select_P_DEPENDENCIES = libtests.a +select_P_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_SOURCES = semop.c semop_OBJECTS = semop.$(OBJEXT) semop_LDADD = $(LDADD) -semop_DEPENDENCIES = libtests.a +semop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semop_indirect_SOURCES = semop-indirect.c semop_indirect_OBJECTS = semop-indirect.$(OBJEXT) semop_indirect_LDADD = $(LDADD) -semop_indirect_DEPENDENCIES = libtests.a +semop_indirect_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_SOURCES = semtimedop.c semtimedop_OBJECTS = semtimedop.$(OBJEXT) semtimedop_LDADD = $(LDADD) -semtimedop_DEPENDENCIES = libtests.a +semtimedop_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_ipc_SOURCES = semtimedop-ipc.c semtimedop_ipc_OBJECTS = semtimedop-ipc.$(OBJEXT) semtimedop_ipc_LDADD = $(LDADD) -semtimedop_ipc_DEPENDENCIES = libtests.a +semtimedop_ipc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) semtimedop_time64_SOURCES = semtimedop_time64.c semtimedop_time64_OBJECTS = semtimedop_time64.$(OBJEXT) semtimedop_time64_LDADD = $(LDADD) -semtimedop_time64_DEPENDENCIES = libtests.a +semtimedop_time64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile_SOURCES = sendfile.c sendfile_OBJECTS = sendfile.$(OBJEXT) sendfile_LDADD = $(LDADD) -sendfile_DEPENDENCIES = libtests.a +sendfile_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sendfile64_SOURCES = sendfile64.c sendfile64_OBJECTS = sendfile64.$(OBJEXT) sendfile64_LDADD = $(LDADD) -sendfile64_DEPENDENCIES = libtests.a +sendfile64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_SOURCES = set_mempolicy.c set_mempolicy_OBJECTS = set_mempolicy.$(OBJEXT) set_mempolicy_LDADD = $(LDADD) -set_mempolicy_DEPENDENCIES = libtests.a +set_mempolicy_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xabbrev_SOURCES = set_mempolicy-Xabbrev.c set_mempolicy_Xabbrev_OBJECTS = set_mempolicy-Xabbrev.$(OBJEXT) set_mempolicy_Xabbrev_LDADD = $(LDADD) -set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a +set_mempolicy_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xraw_SOURCES = set_mempolicy-Xraw.c set_mempolicy_Xraw_OBJECTS = set_mempolicy-Xraw.$(OBJEXT) set_mempolicy_Xraw_LDADD = $(LDADD) -set_mempolicy_Xraw_DEPENDENCIES = libtests.a +set_mempolicy_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_mempolicy_Xverbose_SOURCES = set_mempolicy-Xverbose.c set_mempolicy_Xverbose_OBJECTS = set_mempolicy-Xverbose.$(OBJEXT) set_mempolicy_Xverbose_LDADD = $(LDADD) -set_mempolicy_Xverbose_DEPENDENCIES = libtests.a +set_mempolicy_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +set_mempolicy_home_node_SOURCES = set_mempolicy_home_node.c +set_mempolicy_home_node_OBJECTS = set_mempolicy_home_node.$(OBJEXT) +set_mempolicy_home_node_LDADD = $(LDADD) +set_mempolicy_home_node_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) set_ptracer_any_SOURCES = set_ptracer_any.c set_ptracer_any_OBJECTS = set_ptracer_any.$(OBJEXT) set_ptracer_any_LDADD = $(LDADD) -set_ptracer_any_DEPENDENCIES = libtests.a +set_ptracer_any_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigblock_SOURCES = set_sigblock.c set_sigblock_OBJECTS = set_sigblock.$(OBJEXT) set_sigblock_LDADD = $(LDADD) -set_sigblock_DEPENDENCIES = libtests.a +set_sigblock_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) set_sigign_SOURCES = set_sigign.c set_sigign_OBJECTS = set_sigign.$(OBJEXT) set_sigign_LDADD = $(LDADD) -set_sigign_DEPENDENCIES = libtests.a +set_sigign_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setdomainname_SOURCES = setdomainname.c setdomainname_OBJECTS = setdomainname.$(OBJEXT) setdomainname_LDADD = $(LDADD) -setdomainname_DEPENDENCIES = libtests.a +setdomainname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid_SOURCES = setfsgid.c setfsgid_OBJECTS = setfsgid.$(OBJEXT) setfsgid_LDADD = $(LDADD) -setfsgid_DEPENDENCIES = libtests.a +setfsgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsgid32_SOURCES = setfsgid32.c setfsgid32_OBJECTS = setfsgid32.$(OBJEXT) setfsgid32_LDADD = $(LDADD) -setfsgid32_DEPENDENCIES = libtests.a +setfsgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid_SOURCES = setfsuid.c setfsuid_OBJECTS = setfsuid.$(OBJEXT) setfsuid_LDADD = $(LDADD) -setfsuid_DEPENDENCIES = libtests.a +setfsuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setfsuid32_SOURCES = setfsuid32.c setfsuid32_OBJECTS = setfsuid32.$(OBJEXT) setfsuid32_LDADD = $(LDADD) -setfsuid32_DEPENDENCIES = libtests.a +setfsuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid_SOURCES = setgid.c setgid_OBJECTS = setgid.$(OBJEXT) setgid_LDADD = $(LDADD) -setgid_DEPENDENCIES = libtests.a +setgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgid32_SOURCES = setgid32.c setgid32_OBJECTS = setgid32.$(OBJEXT) setgid32_LDADD = $(LDADD) -setgid32_DEPENDENCIES = libtests.a +setgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups_SOURCES = setgroups.c setgroups_OBJECTS = setgroups.$(OBJEXT) setgroups_LDADD = $(LDADD) -setgroups_DEPENDENCIES = libtests.a +setgroups_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setgroups32_SOURCES = setgroups32.c setgroups32_OBJECTS = setgroups32.$(OBJEXT) setgroups32_LDADD = $(LDADD) -setgroups32_DEPENDENCIES = libtests.a +setgroups32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sethostname_SOURCES = sethostname.c sethostname_OBJECTS = sethostname.$(OBJEXT) sethostname_LDADD = $(LDADD) -sethostname_DEPENDENCIES = libtests.a +sethostname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setns_SOURCES = setns.c setns_OBJECTS = setns.$(OBJEXT) setns_LDADD = $(LDADD) -setns_DEPENDENCIES = libtests.a +setns_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setpgrp_exec_SOURCES = setpgrp-exec.c setpgrp_exec_OBJECTS = setpgrp-exec.$(OBJEXT) setpgrp_exec_LDADD = $(LDADD) -setpgrp_exec_DEPENDENCIES = libtests.a +setpgrp_exec_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid_SOURCES = setregid.c setregid_OBJECTS = setregid.$(OBJEXT) setregid_LDADD = $(LDADD) -setregid_DEPENDENCIES = libtests.a +setregid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setregid32_SOURCES = setregid32.c setregid32_OBJECTS = setregid32.$(OBJEXT) setregid32_LDADD = $(LDADD) -setregid32_DEPENDENCIES = libtests.a +setregid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid_SOURCES = setresgid.c setresgid_OBJECTS = setresgid.$(OBJEXT) setresgid_LDADD = $(LDADD) -setresgid_DEPENDENCIES = libtests.a +setresgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresgid32_SOURCES = setresgid32.c setresgid32_OBJECTS = setresgid32.$(OBJEXT) setresgid32_LDADD = $(LDADD) -setresgid32_DEPENDENCIES = libtests.a +setresgid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid_SOURCES = setresuid.c setresuid_OBJECTS = setresuid.$(OBJEXT) setresuid_LDADD = $(LDADD) -setresuid_DEPENDENCIES = libtests.a +setresuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setresuid32_SOURCES = setresuid32.c setresuid32_OBJECTS = setresuid32.$(OBJEXT) setresuid32_LDADD = $(LDADD) -setresuid32_DEPENDENCIES = libtests.a +setresuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid_SOURCES = setreuid.c setreuid_OBJECTS = setreuid.$(OBJEXT) setreuid_LDADD = $(LDADD) -setreuid_DEPENDENCIES = libtests.a +setreuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setreuid32_SOURCES = setreuid32.c setreuid32_OBJECTS = setreuid32.$(OBJEXT) setreuid32_LDADD = $(LDADD) -setreuid32_DEPENDENCIES = libtests.a +setreuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_SOURCES = setrlimit.c setrlimit_OBJECTS = setrlimit.$(OBJEXT) setrlimit_LDADD = $(LDADD) -setrlimit_DEPENDENCIES = libtests.a +setrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xabbrev_SOURCES = setrlimit-Xabbrev.c setrlimit_Xabbrev_OBJECTS = setrlimit-Xabbrev.$(OBJEXT) setrlimit_Xabbrev_LDADD = $(LDADD) -setrlimit_Xabbrev_DEPENDENCIES = libtests.a +setrlimit_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xraw_SOURCES = setrlimit-Xraw.c setrlimit_Xraw_OBJECTS = setrlimit-Xraw.$(OBJEXT) setrlimit_Xraw_LDADD = $(LDADD) -setrlimit_Xraw_DEPENDENCIES = libtests.a +setrlimit_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setrlimit_Xverbose_SOURCES = setrlimit-Xverbose.c setrlimit_Xverbose_OBJECTS = setrlimit-Xverbose.$(OBJEXT) setrlimit_Xverbose_LDADD = $(LDADD) -setrlimit_Xverbose_DEPENDENCIES = libtests.a +setrlimit_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid_SOURCES = setuid.c setuid_OBJECTS = setuid.$(OBJEXT) setuid_LDADD = $(LDADD) -setuid_DEPENDENCIES = libtests.a +setuid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) setuid32_SOURCES = setuid32.c setuid32_OBJECTS = setuid32.$(OBJEXT) setuid32_LDADD = $(LDADD) -setuid32_DEPENDENCIES = libtests.a +setuid32_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shmxt_SOURCES = shmxt.c shmxt_OBJECTS = shmxt.$(OBJEXT) shmxt_LDADD = $(LDADD) -shmxt_DEPENDENCIES = libtests.a +shmxt_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) shutdown_SOURCES = shutdown.c shutdown_OBJECTS = shutdown.$(OBJEXT) shutdown_LDADD = $(LDADD) -shutdown_DEPENDENCIES = libtests.a +shutdown_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaction_SOURCES = sigaction.c sigaction_OBJECTS = sigaction.$(OBJEXT) sigaction_LDADD = $(LDADD) -sigaction_DEPENDENCIES = libtests.a +sigaction_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigaltstack_SOURCES = sigaltstack.c sigaltstack_OBJECTS = sigaltstack.$(OBJEXT) sigaltstack_LDADD = $(LDADD) -sigaltstack_DEPENDENCIES = libtests.a +sigaltstack_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) siginfo_SOURCES = siginfo.c siginfo_OBJECTS = siginfo.$(OBJEXT) siginfo_LDADD = $(LDADD) -siginfo_DEPENDENCIES = libtests.a +siginfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_SOURCES = signal.c signal_OBJECTS = signal.$(OBJEXT) signal_LDADD = $(LDADD) -signal_DEPENDENCIES = libtests.a +signal_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive_SOURCES = signal_receive.c signal_receive_OBJECTS = signal_receive.$(OBJEXT) signal_receive_LDADD = $(LDADD) -signal_receive_DEPENDENCIES = libtests.a +signal_receive_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) signal_receive__pidns_translation_SOURCES = \ signal_receive--pidns-translation.c signal_receive__pidns_translation_OBJECTS = \ signal_receive--pidns-translation.$(OBJEXT) signal_receive__pidns_translation_LDADD = $(LDADD) -signal_receive__pidns_translation_DEPENDENCIES = libtests.a +signal_receive__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) signalfd4_SOURCES = signalfd4.c signalfd4_OBJECTS = signalfd4.$(OBJEXT) signalfd4_LDADD = $(LDADD) -signalfd4_DEPENDENCIES = libtests.a +signalfd4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigpending_SOURCES = sigpending.c sigpending_OBJECTS = sigpending.$(OBJEXT) sigpending_LDADD = $(LDADD) -sigpending_DEPENDENCIES = libtests.a +sigpending_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigprocmask_SOURCES = sigprocmask.c sigprocmask_OBJECTS = sigprocmask.$(OBJEXT) sigprocmask_LDADD = $(LDADD) -sigprocmask_DEPENDENCIES = libtests.a +sigprocmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigreturn_SOURCES = sigreturn.c sigreturn_OBJECTS = sigreturn.$(OBJEXT) sigreturn_LDADD = $(LDADD) -sigreturn_DEPENDENCIES = libtests.a +sigreturn_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sigsuspend_SOURCES = sigsuspend.c sigsuspend_OBJECTS = sigsuspend.$(OBJEXT) sigsuspend_LDADD = $(LDADD) -sigsuspend_DEPENDENCIES = libtests.a +sigsuspend_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sleep_SOURCES = sleep.c sleep_OBJECTS = sleep.$(OBJEXT) sleep_LDADD = $(LDADD) -sleep_DEPENDENCIES = libtests.a +sleep_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_error_SOURCES = so_error.c so_error_OBJECTS = so_error.$(OBJEXT) so_error_LDADD = $(LDADD) -so_error_DEPENDENCIES = libtests.a +so_error_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_linger_SOURCES = so_linger.c so_linger_OBJECTS = so_linger.$(OBJEXT) so_linger_LDADD = $(LDADD) -so_linger_DEPENDENCIES = libtests.a +so_linger_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_SOURCES = so_peercred.c so_peercred_OBJECTS = so_peercred.$(OBJEXT) so_peercred_LDADD = $(LDADD) -so_peercred_DEPENDENCIES = libtests.a +so_peercred_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred__pidns_translation_SOURCES = \ so_peercred--pidns-translation.c so_peercred__pidns_translation_OBJECTS = \ so_peercred--pidns-translation.$(OBJEXT) so_peercred__pidns_translation_LDADD = $(LDADD) -so_peercred__pidns_translation_DEPENDENCIES = libtests.a +so_peercred__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) so_peercred_Xabbrev_SOURCES = so_peercred-Xabbrev.c so_peercred_Xabbrev_OBJECTS = so_peercred-Xabbrev.$(OBJEXT) so_peercred_Xabbrev_LDADD = $(LDADD) -so_peercred_Xabbrev_DEPENDENCIES = libtests.a +so_peercred_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xraw_SOURCES = so_peercred-Xraw.c so_peercred_Xraw_OBJECTS = so_peercred-Xraw.$(OBJEXT) so_peercred_Xraw_LDADD = $(LDADD) -so_peercred_Xraw_DEPENDENCIES = libtests.a +so_peercred_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) so_peercred_Xverbose_SOURCES = so_peercred-Xverbose.c so_peercred_Xverbose_OBJECTS = so_peercred-Xverbose.$(OBJEXT) so_peercred_Xverbose_LDADD = $(LDADD) -so_peercred_Xverbose_DEPENDENCIES = libtests.a +so_peercred_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_SOURCES = sock_filter-v.c sock_filter_v_OBJECTS = sock_filter-v.$(OBJEXT) sock_filter_v_LDADD = $(LDADD) -sock_filter_v_DEPENDENCIES = libtests.a +sock_filter_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xabbrev_SOURCES = sock_filter-v-Xabbrev.c sock_filter_v_Xabbrev_OBJECTS = sock_filter-v-Xabbrev.$(OBJEXT) sock_filter_v_Xabbrev_LDADD = $(LDADD) -sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a +sock_filter_v_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xraw_SOURCES = sock_filter-v-Xraw.c sock_filter_v_Xraw_OBJECTS = sock_filter-v-Xraw.$(OBJEXT) sock_filter_v_Xraw_LDADD = $(LDADD) -sock_filter_v_Xraw_DEPENDENCIES = libtests.a +sock_filter_v_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sock_filter_v_Xverbose_SOURCES = sock_filter-v-Xverbose.c sock_filter_v_Xverbose_OBJECTS = sock_filter-v-Xverbose.$(OBJEXT) sock_filter_v_Xverbose_LDADD = $(LDADD) -sock_filter_v_Xverbose_DEPENDENCIES = libtests.a +sock_filter_v_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xabbrev_SOURCES = sockaddr_xlat-Xabbrev.c sockaddr_xlat_Xabbrev_OBJECTS = sockaddr_xlat-Xabbrev.$(OBJEXT) sockaddr_xlat_Xabbrev_LDADD = $(LDADD) -sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a +sockaddr_xlat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xabbrev_y_SOURCES = sockaddr_xlat-Xabbrev-y.c +sockaddr_xlat_Xabbrev_y_OBJECTS = sockaddr_xlat-Xabbrev-y.$(OBJEXT) +sockaddr_xlat_Xabbrev_y_LDADD = $(LDADD) +sockaddr_xlat_Xabbrev_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockaddr_xlat_Xraw_SOURCES = sockaddr_xlat-Xraw.c sockaddr_xlat_Xraw_OBJECTS = sockaddr_xlat-Xraw.$(OBJEXT) sockaddr_xlat_Xraw_LDADD = $(LDADD) -sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a +sockaddr_xlat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xraw_y_SOURCES = sockaddr_xlat-Xraw-y.c +sockaddr_xlat_Xraw_y_OBJECTS = sockaddr_xlat-Xraw-y.$(OBJEXT) +sockaddr_xlat_Xraw_y_LDADD = $(LDADD) +sockaddr_xlat_Xraw_y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockaddr_xlat_Xverbose_SOURCES = sockaddr_xlat-Xverbose.c sockaddr_xlat_Xverbose_OBJECTS = sockaddr_xlat-Xverbose.$(OBJEXT) sockaddr_xlat_Xverbose_LDADD = $(LDADD) -sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a +sockaddr_xlat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockaddr_xlat_Xverbose_y_SOURCES = sockaddr_xlat-Xverbose-y.c +sockaddr_xlat_Xverbose_y_OBJECTS = sockaddr_xlat-Xverbose-y.$(OBJEXT) +sockaddr_xlat_Xverbose_y_LDADD = $(LDADD) +sockaddr_xlat_Xverbose_y_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) socketcall_SOURCES = socketcall.c socketcall_OBJECTS = socketcall.$(OBJEXT) socketcall_LDADD = $(LDADD) -socketcall_DEPENDENCIES = libtests.a +socketcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sockopt_sol_netlink_SOURCES = sockopt-sol_netlink.c sockopt_sol_netlink_OBJECTS = sockopt-sol_netlink.$(OBJEXT) sockopt_sol_netlink_LDADD = $(LDADD) -sockopt_sol_netlink_DEPENDENCIES = libtests.a +sockopt_sol_netlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_SOURCES = sockopt-sol_socket.c +sockopt_sol_socket_OBJECTS = sockopt-sol_socket.$(OBJEXT) +sockopt_sol_socket_LDADD = $(LDADD) +sockopt_sol_socket_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xabbrev_SOURCES = sockopt-sol_socket-Xabbrev.c +sockopt_sol_socket_Xabbrev_OBJECTS = \ + sockopt-sol_socket-Xabbrev.$(OBJEXT) +sockopt_sol_socket_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xraw_SOURCES = sockopt-sol_socket-Xraw.c +sockopt_sol_socket_Xraw_OBJECTS = sockopt-sol_socket-Xraw.$(OBJEXT) +sockopt_sol_socket_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_Xverbose_SOURCES = sockopt-sol_socket-Xverbose.c +sockopt_sol_socket_Xverbose_OBJECTS = \ + sockopt-sol_socket-Xverbose.$(OBJEXT) +sockopt_sol_socket_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_SOURCES = sockopt-sol_socket-success.c +sockopt_sol_socket_success_OBJECTS = \ + sockopt-sol_socket-success.$(OBJEXT) +sockopt_sol_socket_success_LDADD = $(LDADD) +sockopt_sol_socket_success_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xabbrev_SOURCES = \ + sockopt-sol_socket-success-Xabbrev.c +sockopt_sol_socket_success_Xabbrev_OBJECTS = \ + sockopt-sol_socket-success-Xabbrev.$(OBJEXT) +sockopt_sol_socket_success_Xabbrev_LDADD = $(LDADD) +sockopt_sol_socket_success_Xabbrev_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xraw_SOURCES = \ + sockopt-sol_socket-success-Xraw.c +sockopt_sol_socket_success_Xraw_OBJECTS = \ + sockopt-sol_socket-success-Xraw.$(OBJEXT) +sockopt_sol_socket_success_Xraw_LDADD = $(LDADD) +sockopt_sol_socket_success_Xraw_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +sockopt_sol_socket_success_Xverbose_SOURCES = \ + sockopt-sol_socket-success-Xverbose.c +sockopt_sol_socket_success_Xverbose_OBJECTS = \ + sockopt-sol_socket-success-Xverbose.$(OBJEXT) +sockopt_sol_socket_success_Xverbose_LDADD = $(LDADD) +sockopt_sol_socket_success_Xverbose_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) sockopt_timestamp_SOURCES = sockopt-timestamp.c sockopt_timestamp_OBJECTS = sockopt-timestamp.$(OBJEXT) sockopt_timestamp_LDADD = $(LDADD) -sockopt_timestamp_DEPENDENCIES = libtests.a +sockopt_timestamp_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) splice_SOURCES = splice.c splice_OBJECTS = splice.$(OBJEXT) splice_LDADD = $(LDADD) -splice_DEPENDENCIES = libtests.a +splice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_OBJECTS = stack-fcall.$(OBJEXT) stack-fcall-0.$(OBJEXT) \ stack-fcall-1.$(OBJEXT) stack-fcall-2.$(OBJEXT) \ stack-fcall-3.$(OBJEXT) stack_fcall_OBJECTS = $(am_stack_fcall_OBJECTS) stack_fcall_LDADD = $(LDADD) -stack_fcall_DEPENDENCIES = libtests.a +stack_fcall_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_attach_OBJECTS = stack-fcall-attach.$(OBJEXT) \ stack-fcall-0.$(OBJEXT) stack-fcall-1.$(OBJEXT) \ stack-fcall-2.$(OBJEXT) stack-fcall-3.$(OBJEXT) stack_fcall_attach_OBJECTS = $(am_stack_fcall_attach_OBJECTS) stack_fcall_attach_LDADD = $(LDADD) -stack_fcall_attach_DEPENDENCIES = libtests.a +stack_fcall_attach_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_stack_fcall_mangled_OBJECTS = stack-fcall-mangled.$(OBJEXT) \ stack-fcall-mangled-0.$(OBJEXT) \ stack-fcall-mangled-1.$(OBJEXT) \ @@ -4362,419 +5482,486 @@ stack-fcall-mangled-3.$(OBJEXT) stack_fcall_mangled_OBJECTS = $(am_stack_fcall_mangled_OBJECTS) stack_fcall_mangled_LDADD = $(LDADD) -stack_fcall_mangled_DEPENDENCIES = libtests.a +stack_fcall_mangled_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat_SOURCES = stat.c stat_OBJECTS = stat.$(OBJEXT) stat_LDADD = $(LDADD) -stat_DEPENDENCIES = libtests.a +stat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) stat64_SOURCES = stat64.c stat64_OBJECTS = stat64-stat64.$(OBJEXT) stat64_LDADD = $(LDADD) -stat64_DEPENDENCIES = libtests.a +stat64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs_SOURCES = statfs.c statfs_OBJECTS = statfs-statfs.$(OBJEXT) statfs_LDADD = $(LDADD) -statfs_DEPENDENCIES = libtests.a +statfs_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) statfs64_SOURCES = statfs64.c statfs64_OBJECTS = statfs64.$(OBJEXT) statfs64_LDADD = $(LDADD) -statfs64_DEPENDENCIES = libtests.a +statfs64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_all_SOURCES = status-all.c status_all_OBJECTS = status-all.$(OBJEXT) status_all_LDADD = $(LDADD) -status_all_DEPENDENCIES = libtests.a +status_all_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_SOURCES = status-failed.c status_failed_OBJECTS = status-failed.$(OBJEXT) status_failed_LDADD = $(LDADD) -status_failed_DEPENDENCIES = libtests.a +status_failed_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_long_SOURCES = status-failed-long.c status_failed_long_OBJECTS = status-failed-long.$(OBJEXT) status_failed_long_LDADD = $(LDADD) -status_failed_long_DEPENDENCIES = libtests.a +status_failed_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_failed_status_SOURCES = status-failed-status.c status_failed_status_OBJECTS = status-failed-status.$(OBJEXT) status_failed_status_LDADD = $(LDADD) -status_failed_status_DEPENDENCIES = libtests.a +status_failed_status_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_SOURCES = status-none.c status_none_OBJECTS = status-none.$(OBJEXT) status_none_LDADD = $(LDADD) -status_none_DEPENDENCIES = libtests.a +status_none_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_f_SOURCES = status-none-f.c status_none_f_OBJECTS = status-none-f.$(OBJEXT) status_none_f_LDADD = $(LDADD) -status_none_f_DEPENDENCIES = libtests.a +status_none_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_none_threads_SOURCES = status-none-threads.c status_none_threads_OBJECTS = status-none-threads.$(OBJEXT) -status_none_threads_DEPENDENCIES = $(LDADD) +status_none_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) status_successful_SOURCES = status-successful.c status_successful_OBJECTS = status-successful.$(OBJEXT) status_successful_LDADD = $(LDADD) -status_successful_DEPENDENCIES = libtests.a +status_successful_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_long_SOURCES = status-successful-long.c status_successful_long_OBJECTS = status-successful-long.$(OBJEXT) status_successful_long_LDADD = $(LDADD) -status_successful_long_DEPENDENCIES = libtests.a +status_successful_long_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_successful_status_SOURCES = status-successful-status.c status_successful_status_OBJECTS = status-successful-status.$(OBJEXT) status_successful_status_LDADD = $(LDADD) -status_successful_status_DEPENDENCIES = libtests.a +status_successful_status_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) status_unfinished_SOURCES = status-unfinished.c status_unfinished_OBJECTS = status-unfinished.$(OBJEXT) status_unfinished_LDADD = $(LDADD) -status_unfinished_DEPENDENCIES = libtests.a +status_unfinished_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) status_unfinished_threads_SOURCES = status-unfinished-threads.c status_unfinished_threads_OBJECTS = \ status-unfinished-threads.$(OBJEXT) -status_unfinished_threads_DEPENDENCIES = $(LDADD) +status_unfinished_threads_DEPENDENCIES = $(am__DEPENDENCIES_2) statx_SOURCES = statx.c statx_OBJECTS = statx.$(OBJEXT) statx_LDADD = $(LDADD) -statx_DEPENDENCIES = libtests.a +statx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace__decode_pids_comm_SOURCES = strace--decode-pids-comm.c +strace__decode_pids_comm_OBJECTS = strace--decode-pids-comm.$(OBJEXT) +strace__decode_pids_comm_LDADD = $(LDADD) +strace__decode_pids_comm_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_SOURCES = strace--strings-in-hex.c strace__strings_in_hex_OBJECTS = strace--strings-in-hex.$(OBJEXT) strace__strings_in_hex_LDADD = $(LDADD) -strace__strings_in_hex_DEPENDENCIES = libtests.a +strace__strings_in_hex_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace__strings_in_hex_all_SOURCES = strace--strings-in-hex-all.c strace__strings_in_hex_all_OBJECTS = \ strace--strings-in-hex-all.$(OBJEXT) strace__strings_in_hex_all_LDADD = $(LDADD) -strace__strings_in_hex_all_DEPENDENCIES = libtests.a +strace__strings_in_hex_all_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) strace__strings_in_hex_non_ascii_SOURCES = \ strace--strings-in-hex-non-ascii.c strace__strings_in_hex_non_ascii_OBJECTS = \ strace--strings-in-hex-non-ascii.$(OBJEXT) strace__strings_in_hex_non_ascii_LDADD = $(LDADD) -strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a +strace__strings_in_hex_non_ascii_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_non_ascii_chars_SOURCES = \ + strace--strings-in-hex-non-ascii-chars.c +strace__strings_in_hex_non_ascii_chars_OBJECTS = \ + strace--strings-in-hex-non-ascii-chars.$(OBJEXT) +strace__strings_in_hex_non_ascii_chars_LDADD = $(LDADD) +strace__strings_in_hex_non_ascii_chars_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace__strings_in_hex_none_SOURCES = strace--strings-in-hex-none.c +strace__strings_in_hex_none_OBJECTS = \ + strace--strings-in-hex-none.$(OBJEXT) +strace__strings_in_hex_none_LDADD = $(LDADD) +strace__strings_in_hex_none_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) +strace_Y_0123456789_SOURCES = strace-Y-0123456789.c +strace_Y_0123456789_OBJECTS = strace-Y-0123456789.$(OBJEXT) +strace_Y_0123456789_LDADD = $(LDADD) +strace_Y_0123456789_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_n_SOURCES = strace-n.c strace_n_OBJECTS = strace-n.$(OBJEXT) strace_n_LDADD = $(LDADD) -strace_n_DEPENDENCIES = libtests.a +strace_n_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_no_x_SOURCES = strace-no-x.c +strace_no_x_OBJECTS = strace-no-x.$(OBJEXT) +strace_no_x_LDADD = $(LDADD) +strace_no_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p_Y_p2_SOURCES = strace-p-Y-p2.c +strace_p_Y_p2_OBJECTS = strace-p-Y-p2.$(OBJEXT) +strace_p_Y_p2_LDADD = $(LDADD) +strace_p_Y_p2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +strace_p1_Y_p_SOURCES = strace-p1-Y-p.c +strace_p1_Y_p_OBJECTS = strace-p1-Y-p.$(OBJEXT) +strace_p1_Y_p_LDADD = $(LDADD) +strace_p1_Y_p_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_x_SOURCES = strace-x.c strace_x_OBJECTS = strace-x.$(OBJEXT) strace_x_LDADD = $(LDADD) -strace_x_DEPENDENCIES = libtests.a +strace_x_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) strace_xx_SOURCES = strace-xx.c strace_xx_OBJECTS = strace-xx.$(OBJEXT) strace_xx_LDADD = $(LDADD) -strace_xx_DEPENDENCIES = libtests.a +strace_xx_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) swap_SOURCES = swap.c swap_OBJECTS = swap.$(OBJEXT) swap_LDADD = $(LDADD) -swap_DEPENDENCIES = libtests.a +swap_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sxetmask_SOURCES = sxetmask.c sxetmask_OBJECTS = sxetmask.$(OBJEXT) sxetmask_LDADD = $(LDADD) -sxetmask_DEPENDENCIES = libtests.a +sxetmask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlink_SOURCES = symlink.c symlink_OBJECTS = symlink.$(OBJEXT) symlink_LDADD = $(LDADD) -symlink_DEPENDENCIES = libtests.a +symlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) symlinkat_SOURCES = symlinkat.c symlinkat_OBJECTS = symlinkat.$(OBJEXT) symlinkat_LDADD = $(LDADD) -symlinkat_DEPENDENCIES = libtests.a +symlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_SOURCES = sync.c sync_OBJECTS = sync.$(OBJEXT) sync_LDADD = $(LDADD) -sync_DEPENDENCIES = libtests.a +sync_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range_SOURCES = sync_file_range.c sync_file_range_OBJECTS = sync_file_range.$(OBJEXT) sync_file_range_LDADD = $(LDADD) -sync_file_range_DEPENDENCIES = libtests.a +sync_file_range_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sync_file_range2_SOURCES = sync_file_range2.c sync_file_range2_OBJECTS = sync_file_range2.$(OBJEXT) sync_file_range2_LDADD = $(LDADD) -sync_file_range2_DEPENDENCIES = libtests.a +sync_file_range2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +sysctl_SOURCES = sysctl.c +sysctl_OBJECTS = sysctl.$(OBJEXT) +sysctl_LDADD = $(LDADD) +sysctl_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) sysinfo_SOURCES = sysinfo.c sysinfo_OBJECTS = sysinfo.$(OBJEXT) sysinfo_LDADD = $(LDADD) -sysinfo_DEPENDENCIES = libtests.a +sysinfo_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_SOURCES = syslog.c syslog_OBJECTS = syslog.$(OBJEXT) syslog_LDADD = $(LDADD) -syslog_DEPENDENCIES = libtests.a +syslog_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) syslog_success_SOURCES = syslog-success.c syslog_success_OBJECTS = syslog-success.$(OBJEXT) syslog_success_LDADD = $(LDADD) -syslog_success_DEPENDENCIES = libtests.a +syslog_success_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tampering_notes_SOURCES = tampering-notes.c tampering_notes_OBJECTS = tampering-notes.$(OBJEXT) tampering_notes_LDADD = $(LDADD) -tampering_notes_DEPENDENCIES = libtests.a +tampering_notes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tee_SOURCES = tee.c tee_OBJECTS = tee.$(OBJEXT) tee_LDADD = $(LDADD) -tee_DEPENDENCIES = libtests.a +tee_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill_SOURCES = tgkill.c tgkill_OBJECTS = tgkill.$(OBJEXT) tgkill_LDADD = $(LDADD) -tgkill_DEPENDENCIES = libtests.a +tgkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tgkill__pidns_translation_SOURCES = tgkill--pidns-translation.c tgkill__pidns_translation_OBJECTS = \ tgkill--pidns-translation.$(OBJEXT) tgkill__pidns_translation_LDADD = $(LDADD) -tgkill__pidns_translation_DEPENDENCIES = libtests.a +tgkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) threads_execve_SOURCES = threads-execve.c threads_execve_OBJECTS = threads-execve.$(OBJEXT) -threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve__quiet_thread_execve_SOURCES = \ threads-execve--quiet-thread-execve.c threads_execve__quiet_thread_execve_OBJECTS = \ threads-execve--quiet-thread-execve.$(OBJEXT) threads_execve__quiet_thread_execve_DEPENDENCIES = \ - $(am__DEPENDENCIES_1) $(LDADD) + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) threads_execve_q_SOURCES = threads-execve-q.c threads_execve_q_OBJECTS = threads-execve-q.$(OBJEXT) -threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_q_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qq_SOURCES = threads-execve-qq.c threads_execve_qq_OBJECTS = threads-execve-qq.$(OBJEXT) -threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) threads_execve_qqq_SOURCES = threads-execve-qqq.c threads_execve_qqq_OBJECTS = threads-execve-qqq.$(OBJEXT) -threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +threads_execve_qqq_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) time_SOURCES = time.c time_OBJECTS = time.$(OBJEXT) time_LDADD = $(LDADD) -time_DEPENDENCIES = libtests.a +time_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_create_SOURCES = timer_create.c timer_create_OBJECTS = timer_create.$(OBJEXT) timer_create_LDADD = $(LDADD) -timer_create_DEPENDENCIES = libtests.a +timer_create_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timer_xettime_SOURCES = timer_xettime.c timer_xettime_OBJECTS = timer_xettime.$(OBJEXT) timer_xettime_LDADD = $(LDADD) -timer_xettime_DEPENDENCIES = libtests.a +timer_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) timerfd_xettime_SOURCES = timerfd_xettime.c timerfd_xettime_OBJECTS = timerfd_xettime.$(OBJEXT) timerfd_xettime_LDADD = $(LDADD) -timerfd_xettime_DEPENDENCIES = libtests.a +timerfd_xettime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) times_SOURCES = times.c times_OBJECTS = times.$(OBJEXT) -times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(LDADD) +times_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xabbrev_SOURCES = times-Xabbrev.c +times_Xabbrev_OBJECTS = times-Xabbrev.$(OBJEXT) +times_Xabbrev_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) +times_Xraw_SOURCES = times-Xraw.c +times_Xraw_OBJECTS = times-Xraw.$(OBJEXT) +times_Xraw_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) +times_Xverbose_SOURCES = times-Xverbose.c +times_Xverbose_OBJECTS = times-Xverbose.$(OBJEXT) +times_Xverbose_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_2) times_fail_SOURCES = times-fail.c times_fail_OBJECTS = times-fail.$(OBJEXT) times_fail_LDADD = $(LDADD) -times_fail_DEPENDENCIES = libtests.a +times_fail_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill_SOURCES = tkill.c tkill_OBJECTS = tkill.$(OBJEXT) tkill_LDADD = $(LDADD) -tkill_DEPENDENCIES = libtests.a +tkill_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) tkill__pidns_translation_SOURCES = tkill--pidns-translation.c tkill__pidns_translation_OBJECTS = tkill--pidns-translation.$(OBJEXT) tkill__pidns_translation_LDADD = $(LDADD) -tkill__pidns_translation_DEPENDENCIES = libtests.a +tkill__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) tracer_ppid_pgid_sid_SOURCES = tracer_ppid_pgid_sid.c tracer_ppid_pgid_sid_OBJECTS = tracer_ppid_pgid_sid.$(OBJEXT) tracer_ppid_pgid_sid_LDADD = $(LDADD) -tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a +tracer_ppid_pgid_sid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) am_trie_test_OBJECTS = trie_test-trie_test.$(OBJEXT) \ trie_test-trie_for_tests.$(OBJEXT) trie_test_OBJECTS = $(am_trie_test_OBJECTS) -trie_test_DEPENDENCIES = $(LDADD) $(am__DEPENDENCIES_1) +trie_test_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) trie_test_LINK = $(CCLD) $(trie_test_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ truncate_SOURCES = truncate.c truncate_OBJECTS = truncate.$(OBJEXT) truncate_LDADD = $(LDADD) -truncate_DEPENDENCIES = libtests.a +truncate_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) truncate64_SOURCES = truncate64.c truncate64_OBJECTS = truncate64-truncate64.$(OBJEXT) truncate64_LDADD = $(LDADD) -truncate64_DEPENDENCIES = libtests.a +truncate64_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ugetrlimit_SOURCES = ugetrlimit.c ugetrlimit_OBJECTS = ugetrlimit.$(OBJEXT) ugetrlimit_LDADD = $(LDADD) -ugetrlimit_DEPENDENCIES = libtests.a +ugetrlimit_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) uio_SOURCES = uio.c uio_OBJECTS = uio-uio.$(OBJEXT) uio_LDADD = $(LDADD) -uio_DEPENDENCIES = libtests.a +uio_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umask_SOURCES = umask.c umask_OBJECTS = umask.$(OBJEXT) umask_LDADD = $(LDADD) -umask_DEPENDENCIES = libtests.a +umask_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount_SOURCES = umount.c umount_OBJECTS = umount.$(OBJEXT) umount_LDADD = $(LDADD) -umount_DEPENDENCIES = libtests.a +umount_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umount2_SOURCES = umount2.c umount2_OBJECTS = umount2.$(OBJEXT) umount2_LDADD = $(LDADD) -umount2_DEPENDENCIES = libtests.a +umount2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umoven_illptr_SOURCES = umoven-illptr.c umoven_illptr_OBJECTS = umoven-illptr.$(OBJEXT) umoven_illptr_LDADD = $(LDADD) -umoven_illptr_DEPENDENCIES = libtests.a +umoven_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_SOURCES = umovestr.c umovestr_OBJECTS = umovestr.$(OBJEXT) umovestr_LDADD = $(LDADD) -umovestr_DEPENDENCIES = libtests.a +umovestr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_illptr_SOURCES = umovestr-illptr.c umovestr_illptr_OBJECTS = umovestr-illptr.$(OBJEXT) umovestr_illptr_LDADD = $(LDADD) -umovestr_illptr_DEPENDENCIES = libtests.a +umovestr_illptr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr2_SOURCES = umovestr2.c umovestr2_OBJECTS = umovestr2.$(OBJEXT) umovestr2_LDADD = $(LDADD) -umovestr2_DEPENDENCIES = libtests.a +umovestr2_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr3_SOURCES = umovestr3.c umovestr3_OBJECTS = umovestr3.$(OBJEXT) umovestr3_LDADD = $(LDADD) -umovestr3_DEPENDENCIES = libtests.a +umovestr3_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_SOURCES = umovestr_cached.c umovestr_cached_OBJECTS = umovestr_cached.$(OBJEXT) umovestr_cached_LDADD = $(LDADD) -umovestr_cached_DEPENDENCIES = libtests.a +umovestr_cached_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) umovestr_cached_adjacent_SOURCES = umovestr_cached_adjacent.c umovestr_cached_adjacent_OBJECTS = umovestr_cached_adjacent.$(OBJEXT) umovestr_cached_adjacent_LDADD = $(LDADD) -umovestr_cached_adjacent_DEPENDENCIES = libtests.a +umovestr_cached_adjacent_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) uname_SOURCES = uname.c uname_OBJECTS = uname.$(OBJEXT) uname_LDADD = $(LDADD) -uname_DEPENDENCIES = libtests.a +uname_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unblock_reset_raise_SOURCES = unblock_reset_raise.c unblock_reset_raise_OBJECTS = unblock_reset_raise.$(OBJEXT) unblock_reset_raise_LDADD = $(LDADD) -unblock_reset_raise_DEPENDENCIES = libtests.a +unblock_reset_raise_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_send_recv_SOURCES = unix-pair-send-recv.c unix_pair_send_recv_OBJECTS = unix-pair-send-recv.$(OBJEXT) unix_pair_send_recv_LDADD = $(LDADD) -unix_pair_send_recv_DEPENDENCIES = libtests.a +unix_pair_send_recv_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unix_pair_sendto_recvfrom_SOURCES = unix-pair-sendto-recvfrom.c unix_pair_sendto_recvfrom_OBJECTS = \ unix-pair-sendto-recvfrom.$(OBJEXT) unix_pair_sendto_recvfrom_LDADD = $(LDADD) -unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a +unix_pair_sendto_recvfrom_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) unlink_SOURCES = unlink.c unlink_OBJECTS = unlink.$(OBJEXT) unlink_LDADD = $(LDADD) -unlink_DEPENDENCIES = libtests.a +unlink_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unlinkat_SOURCES = unlinkat.c unlinkat_OBJECTS = unlinkat.$(OBJEXT) unlinkat_LDADD = $(LDADD) -unlinkat_DEPENDENCIES = libtests.a +unlinkat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) unshare_SOURCES = unshare.c unshare_OBJECTS = unshare.$(OBJEXT) unshare_LDADD = $(LDADD) -unshare_DEPENDENCIES = libtests.a +unshare_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) userfaultfd_SOURCES = userfaultfd.c userfaultfd_OBJECTS = userfaultfd.$(OBJEXT) userfaultfd_LDADD = $(LDADD) -userfaultfd_DEPENDENCIES = libtests.a +userfaultfd_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) ustat_SOURCES = ustat.c ustat_OBJECTS = ustat.$(OBJEXT) ustat_LDADD = $(LDADD) -ustat_DEPENDENCIES = libtests.a +ustat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utime_SOURCES = utime.c utime_OBJECTS = utime.$(OBJEXT) utime_LDADD = $(LDADD) -utime_DEPENDENCIES = libtests.a +utime_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_SOURCES = utimensat.c utimensat_OBJECTS = utimensat.$(OBJEXT) utimensat_LDADD = $(LDADD) -utimensat_DEPENDENCIES = libtests.a +utimensat_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xabbrev_SOURCES = utimensat-Xabbrev.c utimensat_Xabbrev_OBJECTS = utimensat-Xabbrev.$(OBJEXT) utimensat_Xabbrev_LDADD = $(LDADD) -utimensat_Xabbrev_DEPENDENCIES = libtests.a +utimensat_Xabbrev_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xraw_SOURCES = utimensat-Xraw.c utimensat_Xraw_OBJECTS = utimensat-Xraw.$(OBJEXT) utimensat_Xraw_LDADD = $(LDADD) -utimensat_Xraw_DEPENDENCIES = libtests.a +utimensat_Xraw_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimensat_Xverbose_SOURCES = utimensat-Xverbose.c utimensat_Xverbose_OBJECTS = utimensat-Xverbose.$(OBJEXT) utimensat_Xverbose_LDADD = $(LDADD) -utimensat_Xverbose_DEPENDENCIES = libtests.a +utimensat_Xverbose_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) utimes_SOURCES = utimes.c utimes_OBJECTS = utimes.$(OBJEXT) utimes_LDADD = $(LDADD) -utimes_DEPENDENCIES = libtests.a +utimes_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vfork_f_SOURCES = vfork-f.c vfork_f_OBJECTS = vfork-f.$(OBJEXT) vfork_f_LDADD = $(LDADD) -vfork_f_DEPENDENCIES = libtests.a +vfork_f_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vhangup_SOURCES = vhangup.c vhangup_OBJECTS = vhangup.$(OBJEXT) vhangup_LDADD = $(LDADD) -vhangup_DEPENDENCIES = libtests.a +vhangup_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) vmsplice_SOURCES = vmsplice.c vmsplice_OBJECTS = vmsplice.$(OBJEXT) vmsplice_LDADD = $(LDADD) -vmsplice_DEPENDENCIES = libtests.a +vmsplice_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_SOURCES = wait4.c wait4_OBJECTS = wait4.$(OBJEXT) wait4_LDADD = $(LDADD) -wait4_DEPENDENCIES = libtests.a +wait4_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) wait4_v_SOURCES = wait4-v.c wait4_v_OBJECTS = wait4-v.$(OBJEXT) wait4_v_LDADD = $(LDADD) -wait4_v_DEPENDENCIES = libtests.a +wait4_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_SOURCES = waitid.c waitid_OBJECTS = waitid.$(OBJEXT) waitid_LDADD = $(LDADD) -waitid_DEPENDENCIES = libtests.a +waitid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) +waitid_Y_SOURCES = waitid-Y.c +waitid_Y_OBJECTS = waitid-Y.$(OBJEXT) +waitid_Y_LDADD = $(LDADD) +waitid_Y_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitid_v_SOURCES = waitid-v.c waitid_v_OBJECTS = waitid-v.$(OBJEXT) waitid_v_LDADD = $(LDADD) -waitid_v_DEPENDENCIES = libtests.a +waitid_v_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) waitpid_SOURCES = waitpid.c waitpid_OBJECTS = waitpid.$(OBJEXT) waitpid_LDADD = $(LDADD) -waitpid_DEPENDENCIES = libtests.a +waitpid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_SOURCES = xattr.c xattr_OBJECTS = xattr.$(OBJEXT) xattr_LDADD = $(LDADD) -xattr_DEPENDENCIES = libtests.a +xattr_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xattr_strings_SOURCES = xattr-strings.c xattr_strings_OBJECTS = xattr-strings.$(OBJEXT) xattr_strings_LDADD = $(LDADD) -xattr_strings_DEPENDENCIES = libtests.a +xattr_strings_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list_SOURCES = xet_robust_list.c xet_robust_list_OBJECTS = xet_robust_list.$(OBJEXT) xet_robust_list_LDADD = $(LDADD) -xet_robust_list_DEPENDENCIES = libtests.a +xet_robust_list_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xet_robust_list__pidns_translation_SOURCES = \ xet_robust_list--pidns-translation.c xet_robust_list__pidns_translation_OBJECTS = \ xet_robust_list--pidns-translation.$(OBJEXT) xet_robust_list__pidns_translation_LDADD = $(LDADD) -xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a +xet_robust_list__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xet_thread_area_x86_SOURCES = xet_thread_area_x86.c xet_thread_area_x86_OBJECTS = xet_thread_area_x86.$(OBJEXT) xet_thread_area_x86_LDADD = $(LDADD) -xet_thread_area_x86_DEPENDENCIES = libtests.a +xet_thread_area_x86_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetitimer_SOURCES = xetitimer.c xetitimer_OBJECTS = xetitimer.$(OBJEXT) xetitimer_LDADD = $(LDADD) -xetitimer_DEPENDENCIES = libtests.a +xetitimer_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid_SOURCES = xetpgid.c xetpgid_OBJECTS = xetpgid.$(OBJEXT) xetpgid_LDADD = $(LDADD) -xetpgid_DEPENDENCIES = libtests.a +xetpgid_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpgid__pidns_translation_SOURCES = xetpgid--pidns-translation.c xetpgid__pidns_translation_OBJECTS = \ xetpgid--pidns-translation.$(OBJEXT) xetpgid__pidns_translation_LDADD = $(LDADD) -xetpgid__pidns_translation_DEPENDENCIES = libtests.a +xetpgid__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xetpriority_SOURCES = xetpriority.c xetpriority_OBJECTS = xetpriority.$(OBJEXT) xetpriority_LDADD = $(LDADD) -xetpriority_DEPENDENCIES = libtests.a +xetpriority_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) xetpriority__pidns_translation_SOURCES = \ xetpriority--pidns-translation.c xetpriority__pidns_translation_OBJECTS = \ xetpriority--pidns-translation.$(OBJEXT) xetpriority__pidns_translation_LDADD = $(LDADD) -xetpriority__pidns_translation_DEPENDENCIES = libtests.a +xetpriority__pidns_translation_DEPENDENCIES = libtests.a \ + $(am__DEPENDENCIES_1) xettimeofday_SOURCES = xettimeofday.c xettimeofday_OBJECTS = xettimeofday.$(OBJEXT) xettimeofday_LDADD = $(LDADD) -xettimeofday_DEPENDENCIES = libtests.a +xettimeofday_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) zeroargc_SOURCES = zeroargc.c zeroargc_OBJECTS = zeroargc.$(OBJEXT) zeroargc_LDADD = $(LDADD) -zeroargc_DEPENDENCIES = libtests.a +zeroargc_DEPENDENCIES = libtests.a $(am__DEPENDENCIES_1) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false @@ -4793,11 +5980,21 @@ am__depfiles_remade = ./$(DEPDIR)/_newselect-P.Po \ ./$(DEPDIR)/_newselect.Po ./$(DEPDIR)/accept.Po \ ./$(DEPDIR)/accept4.Po ./$(DEPDIR)/access--secontext.Po \ - ./$(DEPDIR)/access--secontext_full.Po ./$(DEPDIR)/access.Po \ - ./$(DEPDIR)/acct.Po ./$(DEPDIR)/add_key.Po \ - ./$(DEPDIR)/adjtimex.Po ./$(DEPDIR)/aio.Po \ - ./$(DEPDIR)/aio_pgetevents.Po ./$(DEPDIR)/alarm.Po \ - ./$(DEPDIR)/answer.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ + ./$(DEPDIR)/access--secontext_full.Po \ + ./$(DEPDIR)/access--secontext_full_mismatch.Po \ + ./$(DEPDIR)/access--secontext_mismatch.Po \ + ./$(DEPDIR)/access.Po ./$(DEPDIR)/acct.Po \ + ./$(DEPDIR)/add_key.Po ./$(DEPDIR)/adjtimex.Po \ + ./$(DEPDIR)/aio.Po ./$(DEPDIR)/aio_pgetevents.Po \ + ./$(DEPDIR)/alarm.Po ./$(DEPDIR)/answer.Po \ + ./$(DEPDIR)/arch_prctl-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po \ + ./$(DEPDIR)/arch_prctl-success-Xraw.Po \ + ./$(DEPDIR)/arch_prctl-success-Xverbose.Po \ + ./$(DEPDIR)/arch_prctl-success.Po ./$(DEPDIR)/arch_prctl.Po \ + ./$(DEPDIR)/at_fdcwd-pathmax.Po ./$(DEPDIR)/attach-f-p-cmd.Po \ ./$(DEPDIR)/attach-f-p.Po ./$(DEPDIR)/attach-p-cmd-cmd.Po \ ./$(DEPDIR)/attach-p-cmd-p.Po \ ./$(DEPDIR)/block_reset_raise_run.Po \ @@ -4812,7 +6009,9 @@ ./$(DEPDIR)/caps-abbrev.Po ./$(DEPDIR)/caps.Po \ ./$(DEPDIR)/chdir.Po ./$(DEPDIR)/check_sigblock.Po \ ./$(DEPDIR)/check_sigign.Po ./$(DEPDIR)/chmod--secontext.Po \ - ./$(DEPDIR)/chmod--secontext_full.Po ./$(DEPDIR)/chmod.Po \ + ./$(DEPDIR)/chmod--secontext_full.Po \ + ./$(DEPDIR)/chmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/chmod--secontext_mismatch.Po ./$(DEPDIR)/chmod.Po \ ./$(DEPDIR)/chown.Po ./$(DEPDIR)/chown32.Po \ ./$(DEPDIR)/chroot.Po ./$(DEPDIR)/clock_adjtime.Po \ ./$(DEPDIR)/clock_adjtime64.Po ./$(DEPDIR)/clock_nanosleep.Po \ @@ -4833,7 +6032,9 @@ ./$(DEPDIR)/copy_file_range.Po ./$(DEPDIR)/count-f.Po \ ./$(DEPDIR)/creat.Po ./$(DEPDIR)/delay.Po \ ./$(DEPDIR)/delete_module.Po \ + ./$(DEPDIR)/dev--decode-fds-all.Po \ ./$(DEPDIR)/dev--decode-fds-dev.Po \ + ./$(DEPDIR)/dev--decode-fds-none.Po \ ./$(DEPDIR)/dev--decode-fds-path.Po \ ./$(DEPDIR)/dev--decode-fds-socket.Po ./$(DEPDIR)/dev-yy.Po \ ./$(DEPDIR)/dup-P.Po ./$(DEPDIR)/dup-y.Po \ @@ -4847,15 +6048,24 @@ ./$(DEPDIR)/epoll_pwait2-y.Po ./$(DEPDIR)/epoll_pwait2.Po \ ./$(DEPDIR)/epoll_wait.Po ./$(DEPDIR)/erestartsys.Po \ ./$(DEPDIR)/eventfd.Po ./$(DEPDIR)/execve--secontext.Po \ - ./$(DEPDIR)/execve--secontext_full.Po ./$(DEPDIR)/execve-v.Po \ - ./$(DEPDIR)/execve.Po ./$(DEPDIR)/execveat--secontext.Po \ + ./$(DEPDIR)/execve--secontext_full.Po \ + ./$(DEPDIR)/execve--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execve--secontext_mismatch.Po \ + ./$(DEPDIR)/execve-v.Po ./$(DEPDIR)/execve.Po \ + ./$(DEPDIR)/execveat--secontext.Po \ ./$(DEPDIR)/execveat--secontext_full.Po \ + ./$(DEPDIR)/execveat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/execveat--secontext_mismatch.Po \ ./$(DEPDIR)/execveat-v.Po ./$(DEPDIR)/execveat.Po \ ./$(DEPDIR)/faccessat--secontext.Po \ ./$(DEPDIR)/faccessat--secontext_full.Po \ + ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-P.Po \ ./$(DEPDIR)/faccessat-y--secontext.Po \ ./$(DEPDIR)/faccessat-y--secontext_full.Po \ + ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po \ ./$(DEPDIR)/faccessat-y.Po ./$(DEPDIR)/faccessat-yy.Po \ ./$(DEPDIR)/faccessat.Po ./$(DEPDIR)/faccessat2-P.Po \ ./$(DEPDIR)/faccessat2-y.Po ./$(DEPDIR)/faccessat2-yy.Po \ @@ -4864,26 +6074,38 @@ ./$(DEPDIR)/fanotify_init.Po \ ./$(DEPDIR)/fanotify_mark--secontext.Po \ ./$(DEPDIR)/fanotify_mark--secontext_full.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po \ ./$(DEPDIR)/fanotify_mark-Xabbrev.Po \ ./$(DEPDIR)/fanotify_mark-Xraw.Po \ ./$(DEPDIR)/fanotify_mark-Xverbose.Po \ ./$(DEPDIR)/fanotify_mark.Po ./$(DEPDIR)/fchdir.Po \ ./$(DEPDIR)/fchmod--secontext.Po \ ./$(DEPDIR)/fchmod--secontext_full.Po \ + ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y--secontext.Po \ ./$(DEPDIR)/fchmod-y--secontext_full.Po \ + ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po \ ./$(DEPDIR)/fchmod-y.Po ./$(DEPDIR)/fchmod.Po \ ./$(DEPDIR)/fchmodat--secontext.Po \ ./$(DEPDIR)/fchmodat--secontext_full.Po \ + ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchmodat--secontext_mismatch.Po \ ./$(DEPDIR)/fchmodat.Po ./$(DEPDIR)/fchown.Po \ ./$(DEPDIR)/fchown32.Po ./$(DEPDIR)/fchownat--secontext.Po \ ./$(DEPDIR)/fchownat--secontext_full.Po \ + ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/fchownat--secontext_mismatch.Po \ ./$(DEPDIR)/fchownat.Po \ ./$(DEPDIR)/fcntl--pidns-translation.Po ./$(DEPDIR)/fcntl.Po \ ./$(DEPDIR)/fcntl64--pidns-translation.Po \ ./$(DEPDIR)/fcntl64.Po ./$(DEPDIR)/fdatasync.Po \ ./$(DEPDIR)/fflush.Po ./$(DEPDIR)/file_handle--secontext.Po \ ./$(DEPDIR)/file_handle--secontext_full.Po \ + ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po \ + ./$(DEPDIR)/file_handle--secontext_mismatch.Po \ ./$(DEPDIR)/file_handle.Po ./$(DEPDIR)/filter-unavailable.Po \ ./$(DEPDIR)/filter_seccomp-flag.Po \ ./$(DEPDIR)/filter_seccomp-perf.Po ./$(DEPDIR)/finit_module.Po \ @@ -4900,15 +6122,16 @@ ./$(DEPDIR)/fstatfs64.Po ./$(DEPDIR)/fsync-y.Po \ ./$(DEPDIR)/fsync.Po ./$(DEPDIR)/ftruncate.Po \ ./$(DEPDIR)/ftruncate64-ftruncate64.Po ./$(DEPDIR)/futex.Po \ - ./$(DEPDIR)/futimesat.Po ./$(DEPDIR)/get_mempolicy.Po \ - ./$(DEPDIR)/get_process_reaper.Po ./$(DEPDIR)/getcpu.Po \ - ./$(DEPDIR)/getcwd.Po ./$(DEPDIR)/getdents-v.Po \ - ./$(DEPDIR)/getdents.Po ./$(DEPDIR)/getdents64-v.Po \ - ./$(DEPDIR)/getdents64.Po ./$(DEPDIR)/getegid.Po \ - ./$(DEPDIR)/getegid32.Po ./$(DEPDIR)/geteuid.Po \ - ./$(DEPDIR)/geteuid32.Po ./$(DEPDIR)/getgid.Po \ - ./$(DEPDIR)/getgid32.Po ./$(DEPDIR)/getgroups.Po \ - ./$(DEPDIR)/getgroups32.Po ./$(DEPDIR)/getpeername.Po \ + ./$(DEPDIR)/futex_waitv.Po ./$(DEPDIR)/futimesat.Po \ + ./$(DEPDIR)/get_mempolicy.Po ./$(DEPDIR)/get_process_reaper.Po \ + ./$(DEPDIR)/getcpu.Po ./$(DEPDIR)/getcwd.Po \ + ./$(DEPDIR)/getdents-v.Po ./$(DEPDIR)/getdents.Po \ + ./$(DEPDIR)/getdents64-v.Po ./$(DEPDIR)/getdents64.Po \ + ./$(DEPDIR)/getegid.Po ./$(DEPDIR)/getegid32.Po \ + ./$(DEPDIR)/geteuid.Po ./$(DEPDIR)/geteuid32.Po \ + ./$(DEPDIR)/getgid.Po ./$(DEPDIR)/getgid32.Po \ + ./$(DEPDIR)/getgroups.Po ./$(DEPDIR)/getgroups32.Po \ + ./$(DEPDIR)/getpeername.Po \ ./$(DEPDIR)/getpgrp--pidns-translation.Po \ ./$(DEPDIR)/getpgrp.Po \ ./$(DEPDIR)/getpid--pidns-translation.Po ./$(DEPDIR)/getpid.Po \ @@ -4917,6 +6140,10 @@ ./$(DEPDIR)/getresuid.Po ./$(DEPDIR)/getresuid32.Po \ ./$(DEPDIR)/getrlimit.Po ./$(DEPDIR)/getrusage.Po \ ./$(DEPDIR)/getsid--pidns-translation.Po ./$(DEPDIR)/getsid.Po \ + ./$(DEPDIR)/getsockname--secontext.Po \ + ./$(DEPDIR)/getsockname--secontext_full.Po \ + ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po \ + ./$(DEPDIR)/getsockname--secontext_mismatch.Po \ ./$(DEPDIR)/getsockname.Po \ ./$(DEPDIR)/gettid--pidns-translation.Po ./$(DEPDIR)/gettid.Po \ ./$(DEPDIR)/getuid.Po ./$(DEPDIR)/getuid32.Po \ @@ -4927,10 +6154,21 @@ ./$(DEPDIR)/inotify_init-y.Po ./$(DEPDIR)/inotify_init.Po \ ./$(DEPDIR)/inotify_init1-y.Po ./$(DEPDIR)/inotify_init1.Po \ ./$(DEPDIR)/int_0x80.Po ./$(DEPDIR)/io_uring_enter.Po \ + ./$(DEPDIR)/io_uring_register-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po \ + ./$(DEPDIR)/io_uring_register-success-Xraw.Po \ + ./$(DEPDIR)/io_uring_register-success-Xverbose.Po \ + ./$(DEPDIR)/io_uring_register-success.Po \ ./$(DEPDIR)/io_uring_register.Po ./$(DEPDIR)/io_uring_setup.Po \ ./$(DEPDIR)/ioctl.Po \ ./$(DEPDIR)/ioctl_block--pidns-translation.Po \ - ./$(DEPDIR)/ioctl_block.Po ./$(DEPDIR)/ioctl_dm-v.Po \ + ./$(DEPDIR)/ioctl_block.Po \ + ./$(DEPDIR)/ioctl_counter-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_counter-Xraw.Po \ + ./$(DEPDIR)/ioctl_counter-Xverbose.Po \ + ./$(DEPDIR)/ioctl_counter.Po ./$(DEPDIR)/ioctl_dm-v.Po \ ./$(DEPDIR)/ioctl_dm.Po ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po \ ./$(DEPDIR)/ioctl_evdev-Xraw.Po \ ./$(DEPDIR)/ioctl_evdev-Xverbose.Po \ @@ -4997,19 +6235,48 @@ ./$(DEPDIR)/ioctl_hdio-v-Xraw.Po \ ./$(DEPDIR)/ioctl_hdio-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_hdio-v.Po ./$(DEPDIR)/ioctl_hdio.Po \ - ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kvm_run-v.Po \ - ./$(DEPDIR)/ioctl_kvm_run.Po \ + ./$(DEPDIR)/ioctl_inotify.Po ./$(DEPDIR)/ioctl_kd-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-Xraw.Po ./$(DEPDIR)/ioctl_kd-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po \ + ./$(DEPDIR)/ioctl_kd-success-s1024.Po \ + ./$(DEPDIR)/ioctl_kd-success.Po ./$(DEPDIR)/ioctl_kd.Po \ + ./$(DEPDIR)/ioctl_kvm_run-v.Po ./$(DEPDIR)/ioctl_kvm_run.Po \ ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po \ + ./$(DEPDIR)/ioctl_lirc-success.Po ./$(DEPDIR)/ioctl_lirc.Po \ ./$(DEPDIR)/ioctl_loop-nv.Po ./$(DEPDIR)/ioctl_loop-v.Po \ ./$(DEPDIR)/ioctl_loop.Po ./$(DEPDIR)/ioctl_mtd-success.Po \ ./$(DEPDIR)/ioctl_mtd.Po ./$(DEPDIR)/ioctl_nbd.Po \ ./$(DEPDIR)/ioctl_nsfs.Po ./$(DEPDIR)/ioctl_perf-success.Po \ - ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp.Po \ + ./$(DEPDIR)/ioctl_perf.Po ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_ptp-success.Po ./$(DEPDIR)/ioctl_ptp.Po \ ./$(DEPDIR)/ioctl_random.Po ./$(DEPDIR)/ioctl_rtc-success.Po \ ./$(DEPDIR)/ioctl_rtc-v.Po ./$(DEPDIR)/ioctl_rtc.Po \ - ./$(DEPDIR)/ioctl_scsi.Po ./$(DEPDIR)/ioctl_sg_io_v3.Po \ - ./$(DEPDIR)/ioctl_sg_io_v4.Po ./$(DEPDIR)/ioctl_sock.Po \ - ./$(DEPDIR)/ioctl_sock_gifconf.Po ./$(DEPDIR)/ioctl_tee.Po \ + ./$(DEPDIR)/ioctl_scsi.Po \ + ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po \ + ./$(DEPDIR)/ioctl_seccomp-y-success.Po \ + ./$(DEPDIR)/ioctl_seccomp-y.Po ./$(DEPDIR)/ioctl_seccomp.Po \ + ./$(DEPDIR)/ioctl_sg_io_v3.Po ./$(DEPDIR)/ioctl_sg_io_v4.Po \ + ./$(DEPDIR)/ioctl_sock.Po ./$(DEPDIR)/ioctl_sock_gifconf.Po \ + ./$(DEPDIR)/ioctl_tee.Po ./$(DEPDIR)/ioctl_termios-v.Po \ + ./$(DEPDIR)/ioctl_termios.Po ./$(DEPDIR)/ioctl_tiocm.Po \ ./$(DEPDIR)/ioctl_ubi-success.Po ./$(DEPDIR)/ioctl_ubi.Po \ ./$(DEPDIR)/ioctl_uffdio.Po ./$(DEPDIR)/ioctl_v4l2-Xabbrev.Po \ ./$(DEPDIR)/ioctl_v4l2-Xraw.Po \ @@ -5026,8 +6293,9 @@ ./$(DEPDIR)/ioctl_v4l2-v-Xraw.Po \ ./$(DEPDIR)/ioctl_v4l2-v-Xverbose.Po \ ./$(DEPDIR)/ioctl_v4l2-v.Po ./$(DEPDIR)/ioctl_v4l2.Po \ - ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioperm.Po \ - ./$(DEPDIR)/iopl.Po ./$(DEPDIR)/ioprio--pidns-translation.Po \ + ./$(DEPDIR)/ioctl_watchdog.Po ./$(DEPDIR)/ioctl_winsize.Po \ + ./$(DEPDIR)/ioperm.Po ./$(DEPDIR)/iopl.Po \ + ./$(DEPDIR)/ioprio--pidns-translation.Po \ ./$(DEPDIR)/ioprio-Xabbrev.Po ./$(DEPDIR)/ioprio-Xraw.Po \ ./$(DEPDIR)/ioprio-Xverbose.Po ./$(DEPDIR)/ioprio.Po \ ./$(DEPDIR)/ip_mreq.Po ./$(DEPDIR)/ipc.Po \ @@ -5059,7 +6327,7 @@ ./$(DEPDIR)/landlock_create_ruleset.Po \ ./$(DEPDIR)/landlock_restrict_self-y.Po \ ./$(DEPDIR)/landlock_restrict_self.Po ./$(DEPDIR)/lchown.Po \ - ./$(DEPDIR)/lchown32.Po \ + ./$(DEPDIR)/lchown32.Po ./$(DEPDIR)/libtests_a-clock_t_str.Po \ ./$(DEPDIR)/libtests_a-create_nl_socket.Po \ ./$(DEPDIR)/libtests_a-create_tmpfile.Po \ ./$(DEPDIR)/libtests_a-dirfd.Po \ @@ -5098,12 +6366,14 @@ ./$(DEPDIR)/libtests_a-tprintf.Po \ ./$(DEPDIR)/libtests_a-xmalloc_for_tests.Po \ ./$(DEPDIR)/link.Po ./$(DEPDIR)/linkat--secontext.Po \ - ./$(DEPDIR)/linkat--secontext_full.Po ./$(DEPDIR)/linkat.Po \ - ./$(DEPDIR)/list_sigaction_signum.Po ./$(DEPDIR)/llseek.Po \ - ./$(DEPDIR)/localtime.Po ./$(DEPDIR)/lookup_dcookie.Po \ - ./$(DEPDIR)/looping_threads.Po ./$(DEPDIR)/lseek.Po \ - ./$(DEPDIR)/lstat.Po ./$(DEPDIR)/lstat64-lstat64.Po \ - ./$(DEPDIR)/madvise.Po \ + ./$(DEPDIR)/linkat--secontext_full.Po \ + ./$(DEPDIR)/linkat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/linkat--secontext_mismatch.Po \ + ./$(DEPDIR)/linkat.Po ./$(DEPDIR)/list_sigaction_signum.Po \ + ./$(DEPDIR)/llseek.Po ./$(DEPDIR)/localtime.Po \ + ./$(DEPDIR)/lookup_dcookie.Po ./$(DEPDIR)/looping_threads.Po \ + ./$(DEPDIR)/lseek.Po ./$(DEPDIR)/lstat.Po \ + ./$(DEPDIR)/lstat64-lstat64.Po ./$(DEPDIR)/madvise.Po \ ./$(DEPDIR)/maybe_switch_current_tcp--quiet-thread-execve.Po \ ./$(DEPDIR)/maybe_switch_current_tcp.Po \ ./$(DEPDIR)/mbind-Xabbrev.Po ./$(DEPDIR)/mbind-Xraw.Po \ @@ -5142,6 +6412,7 @@ ./$(DEPDIR)/msg_control-v.Po ./$(DEPDIR)/msg_control.Po \ ./$(DEPDIR)/msg_name.Po ./$(DEPDIR)/munlockall.Po \ ./$(DEPDIR)/nanosleep.Po \ + ./$(DEPDIR)/net--decode-fds-all-netlink.Po \ ./$(DEPDIR)/net--decode-fds-dev-netlink.Po \ ./$(DEPDIR)/net--decode-fds-none-netlink.Po \ ./$(DEPDIR)/net--decode-fds-path-netlink.Po \ @@ -5180,6 +6451,10 @@ ./$(DEPDIR)/nfnetlink_nftables.Po ./$(DEPDIR)/nfnetlink_osf.Po \ ./$(DEPDIR)/nfnetlink_queue.Po ./$(DEPDIR)/nfnetlink_ulog.Po \ ./$(DEPDIR)/nlattr.Po ./$(DEPDIR)/nlattr_br_port_msg.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xraw.Po \ + ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po \ + ./$(DEPDIR)/nlattr_cachereport.Po \ ./$(DEPDIR)/nlattr_crypto_user_alg.Po \ ./$(DEPDIR)/nlattr_dcbmsg.Po \ ./$(DEPDIR)/nlattr_fib_rule_hdr.Po \ @@ -5187,12 +6462,27 @@ ./$(DEPDIR)/nlattr_ifaddrmsg.Po \ ./$(DEPDIR)/nlattr_ifinfomsg.Po \ ./$(DEPDIR)/nlattr_ifla_af_spec.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po \ ./$(DEPDIR)/nlattr_ifla_brport.Po \ ./$(DEPDIR)/nlattr_ifla_linkinfo.Po \ ./$(DEPDIR)/nlattr_ifla_port.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_protinfo.Po \ ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifla_vfinfo.Po \ ./$(DEPDIR)/nlattr_ifla_xdp-y.Po \ ./$(DEPDIR)/nlattr_ifla_xdp.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xraw.Po \ + ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po \ + ./$(DEPDIR)/nlattr_ifstats.Po \ ./$(DEPDIR)/nlattr_inet_diag_msg.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po \ ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po \ @@ -5201,7 +6491,10 @@ ./$(DEPDIR)/nlattr_ndmsg.Po ./$(DEPDIR)/nlattr_ndtmsg.Po \ ./$(DEPDIR)/nlattr_netconfmsg.Po \ ./$(DEPDIR)/nlattr_netlink_diag_msg.Po \ - ./$(DEPDIR)/nlattr_nlmsgerr.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po \ + ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po \ + ./$(DEPDIR)/nlattr_nhmsg.Po ./$(DEPDIR)/nlattr_nlmsgerr.Po \ ./$(DEPDIR)/nlattr_packet_diag_msg.Po \ ./$(DEPDIR)/nlattr_rtgenmsg.Po ./$(DEPDIR)/nlattr_rtmsg.Po \ ./$(DEPDIR)/nlattr_smc_diag_msg.Po \ @@ -5216,12 +6509,16 @@ ./$(DEPDIR)/oldselect-P.Po ./$(DEPDIR)/oldselect-efault-P.Po \ ./$(DEPDIR)/oldselect-efault.Po ./$(DEPDIR)/oldselect.Po \ ./$(DEPDIR)/oldstat.Po ./$(DEPDIR)/open--secontext.Po \ - ./$(DEPDIR)/open--secontext_full.Po ./$(DEPDIR)/open.Po \ + ./$(DEPDIR)/open--secontext_full.Po \ + ./$(DEPDIR)/open--secontext_full_mismatch.Po \ + ./$(DEPDIR)/open--secontext_mismatch.Po ./$(DEPDIR)/open.Po \ ./$(DEPDIR)/open_tree-P.Po ./$(DEPDIR)/open_tree.Po \ ./$(DEPDIR)/openat--secontext.Po \ - ./$(DEPDIR)/openat--secontext_full.Po ./$(DEPDIR)/openat.Po \ - ./$(DEPDIR)/openat2-Xabbrev.Po ./$(DEPDIR)/openat2-Xraw.Po \ - ./$(DEPDIR)/openat2-Xverbose.Po \ + ./$(DEPDIR)/openat--secontext_full.Po \ + ./$(DEPDIR)/openat--secontext_full_mismatch.Po \ + ./$(DEPDIR)/openat--secontext_mismatch.Po \ + ./$(DEPDIR)/openat.Po ./$(DEPDIR)/openat2-Xabbrev.Po \ + ./$(DEPDIR)/openat2-Xraw.Po ./$(DEPDIR)/openat2-Xverbose.Po \ ./$(DEPDIR)/openat2-v-y-Xabbrev.Po \ ./$(DEPDIR)/openat2-v-y-Xraw.Po \ ./$(DEPDIR)/openat2-v-y-Xverbose.Po ./$(DEPDIR)/openat2-v-y.Po \ @@ -5236,6 +6533,8 @@ ./$(DEPDIR)/personality-Xverbose.Po ./$(DEPDIR)/personality.Po \ ./$(DEPDIR)/pidfd_getfd-y.Po ./$(DEPDIR)/pidfd_getfd-yy.Po \ ./$(DEPDIR)/pidfd_getfd.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-all.Po \ + ./$(DEPDIR)/pidfd_open--decode-fd-none.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-path.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po \ ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po \ @@ -5295,7 +6594,20 @@ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po \ ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po \ ./$(DEPDIR)/prctl-set-ptracer-success.Po \ - ./$(DEPDIR)/prctl-spec-inject.Po ./$(DEPDIR)/prctl-sve.Po \ + ./$(DEPDIR)/prctl-set_vma.Po ./$(DEPDIR)/prctl-sme-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sme-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sme-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sme-success.Po ./$(DEPDIR)/prctl-sme.Po \ + ./$(DEPDIR)/prctl-spec-inject.Po \ + ./$(DEPDIR)/prctl-sve-Xabbrev.Po ./$(DEPDIR)/prctl-sve-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po \ + ./$(DEPDIR)/prctl-sve-success-Xraw.Po \ + ./$(DEPDIR)/prctl-sve-success-Xverbose.Po \ + ./$(DEPDIR)/prctl-sve-success.Po ./$(DEPDIR)/prctl-sve.Po \ ./$(DEPDIR)/prctl-syscall-user-dispatch.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po \ ./$(DEPDIR)/prctl-tagged-addr-Xraw.Po \ @@ -5326,11 +6638,20 @@ ./$(DEPDIR)/process_madvise-y.Po \ ./$(DEPDIR)/process_madvise-yy.Po \ ./$(DEPDIR)/process_madvise.Po \ + ./$(DEPDIR)/process_mrelease-y.Po \ + ./$(DEPDIR)/process_mrelease.Po \ ./$(DEPDIR)/process_vm_readv--pidns-translation.Po \ ./$(DEPDIR)/process_vm_readv.Po \ ./$(DEPDIR)/process_vm_writev--pidns-translation.Po \ ./$(DEPDIR)/process_vm_writev.Po ./$(DEPDIR)/pselect6.Po \ - ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/pselect6_time64.Po ./$(DEPDIR)/ptrace-Xabbrev.Po \ + ./$(DEPDIR)/ptrace-Xraw.Po ./$(DEPDIR)/ptrace-Xverbose.Po \ + ./$(DEPDIR)/ptrace-y-Xabbrev.Po ./$(DEPDIR)/ptrace-y-Xraw.Po \ + ./$(DEPDIR)/ptrace-y-Xverbose.Po ./$(DEPDIR)/ptrace-y.Po \ + ./$(DEPDIR)/ptrace.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po \ + ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po \ ./$(DEPDIR)/ptrace_syscall_info.Po \ ./$(DEPDIR)/pwritev-pwritev.Po ./$(DEPDIR)/qual_fault.Po \ ./$(DEPDIR)/qual_inject-error-signal.Po \ @@ -5385,6 +6706,9 @@ ./$(DEPDIR)/scm_rights.Po ./$(DEPDIR)/seccomp-filter-v.Po \ ./$(DEPDIR)/seccomp-filter.Po ./$(DEPDIR)/seccomp-strict.Po \ ./$(DEPDIR)/seccomp_get_action_avail.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po \ + ./$(DEPDIR)/seccomp_get_notif_sizes.Po \ + ./$(DEPDIR)/segv_accerr.Po ./$(DEPDIR)/segv_pkuerr.Po \ ./$(DEPDIR)/select-P.Po ./$(DEPDIR)/select.Po \ ./$(DEPDIR)/semop-indirect.Po ./$(DEPDIR)/semop.Po \ ./$(DEPDIR)/semtimedop-ipc.Po ./$(DEPDIR)/semtimedop.Po \ @@ -5392,19 +6716,21 @@ ./$(DEPDIR)/sendfile64.Po ./$(DEPDIR)/set_mempolicy-Xabbrev.Po \ ./$(DEPDIR)/set_mempolicy-Xraw.Po \ ./$(DEPDIR)/set_mempolicy-Xverbose.Po \ - ./$(DEPDIR)/set_mempolicy.Po ./$(DEPDIR)/set_ptracer_any.Po \ - ./$(DEPDIR)/set_sigblock.Po ./$(DEPDIR)/set_sigign.Po \ - ./$(DEPDIR)/setdomainname.Po ./$(DEPDIR)/setfsgid.Po \ - ./$(DEPDIR)/setfsgid32.Po ./$(DEPDIR)/setfsuid.Po \ - ./$(DEPDIR)/setfsuid32.Po ./$(DEPDIR)/setgid.Po \ - ./$(DEPDIR)/setgid32.Po ./$(DEPDIR)/setgroups.Po \ - ./$(DEPDIR)/setgroups32.Po ./$(DEPDIR)/sethostname.Po \ - ./$(DEPDIR)/setns.Po ./$(DEPDIR)/setpgrp-exec.Po \ - ./$(DEPDIR)/setregid.Po ./$(DEPDIR)/setregid32.Po \ - ./$(DEPDIR)/setresgid.Po ./$(DEPDIR)/setresgid32.Po \ - ./$(DEPDIR)/setresuid.Po ./$(DEPDIR)/setresuid32.Po \ - ./$(DEPDIR)/setreuid.Po ./$(DEPDIR)/setreuid32.Po \ - ./$(DEPDIR)/setrlimit-Xabbrev.Po ./$(DEPDIR)/setrlimit-Xraw.Po \ + ./$(DEPDIR)/set_mempolicy.Po \ + ./$(DEPDIR)/set_mempolicy_home_node.Po \ + ./$(DEPDIR)/set_ptracer_any.Po ./$(DEPDIR)/set_sigblock.Po \ + ./$(DEPDIR)/set_sigign.Po ./$(DEPDIR)/setdomainname.Po \ + ./$(DEPDIR)/setfsgid.Po ./$(DEPDIR)/setfsgid32.Po \ + ./$(DEPDIR)/setfsuid.Po ./$(DEPDIR)/setfsuid32.Po \ + ./$(DEPDIR)/setgid.Po ./$(DEPDIR)/setgid32.Po \ + ./$(DEPDIR)/setgroups.Po ./$(DEPDIR)/setgroups32.Po \ + ./$(DEPDIR)/sethostname.Po ./$(DEPDIR)/setns.Po \ + ./$(DEPDIR)/setpgrp-exec.Po ./$(DEPDIR)/setregid.Po \ + ./$(DEPDIR)/setregid32.Po ./$(DEPDIR)/setresgid.Po \ + ./$(DEPDIR)/setresgid32.Po ./$(DEPDIR)/setresuid.Po \ + ./$(DEPDIR)/setresuid32.Po ./$(DEPDIR)/setreuid.Po \ + ./$(DEPDIR)/setreuid32.Po ./$(DEPDIR)/setrlimit-Xabbrev.Po \ + ./$(DEPDIR)/setrlimit-Xraw.Po \ ./$(DEPDIR)/setrlimit-Xverbose.Po ./$(DEPDIR)/setrlimit.Po \ ./$(DEPDIR)/setuid.Po ./$(DEPDIR)/setuid32.Po \ ./$(DEPDIR)/shmxt.Po ./$(DEPDIR)/shutdown.Po \ @@ -5424,10 +6750,21 @@ ./$(DEPDIR)/sock_filter-v-Xraw.Po \ ./$(DEPDIR)/sock_filter-v-Xverbose.Po \ ./$(DEPDIR)/sock_filter-v.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xraw.Po \ + ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po \ ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po \ ./$(DEPDIR)/socketcall.Po ./$(DEPDIR)/sockopt-sol_netlink.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po \ + ./$(DEPDIR)/sockopt-sol_socket-success.Po \ + ./$(DEPDIR)/sockopt-sol_socket.Po \ ./$(DEPDIR)/sockopt-timestamp.Po ./$(DEPDIR)/splice.Po \ ./$(DEPDIR)/stack-fcall-0.Po ./$(DEPDIR)/stack-fcall-1.Po \ ./$(DEPDIR)/stack-fcall-2.Po ./$(DEPDIR)/stack-fcall-3.Po \ @@ -5448,14 +6785,20 @@ ./$(DEPDIR)/status-successful.Po \ ./$(DEPDIR)/status-unfinished-threads.Po \ ./$(DEPDIR)/status-unfinished.Po ./$(DEPDIR)/statx.Po \ + ./$(DEPDIR)/strace--decode-pids-comm.Po \ ./$(DEPDIR)/strace--strings-in-hex-all.Po \ + ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po \ ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po \ - ./$(DEPDIR)/strace--strings-in-hex.Po ./$(DEPDIR)/strace-n.Po \ - ./$(DEPDIR)/strace-x.Po ./$(DEPDIR)/strace-xx.Po \ - ./$(DEPDIR)/swap.Po ./$(DEPDIR)/sxetmask.Po \ - ./$(DEPDIR)/symlink.Po ./$(DEPDIR)/symlinkat.Po \ - ./$(DEPDIR)/sync.Po ./$(DEPDIR)/sync_file_range.Po \ - ./$(DEPDIR)/sync_file_range2.Po ./$(DEPDIR)/sysinfo.Po \ + ./$(DEPDIR)/strace--strings-in-hex-none.Po \ + ./$(DEPDIR)/strace--strings-in-hex.Po \ + ./$(DEPDIR)/strace-Y-0123456789.Po ./$(DEPDIR)/strace-n.Po \ + ./$(DEPDIR)/strace-no-x.Po ./$(DEPDIR)/strace-p-Y-p2.Po \ + ./$(DEPDIR)/strace-p1-Y-p.Po ./$(DEPDIR)/strace-x.Po \ + ./$(DEPDIR)/strace-xx.Po ./$(DEPDIR)/swap.Po \ + ./$(DEPDIR)/sxetmask.Po ./$(DEPDIR)/symlink.Po \ + ./$(DEPDIR)/symlinkat.Po ./$(DEPDIR)/sync.Po \ + ./$(DEPDIR)/sync_file_range.Po ./$(DEPDIR)/sync_file_range2.Po \ + ./$(DEPDIR)/sysctl.Po ./$(DEPDIR)/sysinfo.Po \ ./$(DEPDIR)/syslog-success.Po ./$(DEPDIR)/syslog.Po \ ./$(DEPDIR)/tampering-notes.Po ./$(DEPDIR)/tee.Po \ ./$(DEPDIR)/tgkill--pidns-translation.Po ./$(DEPDIR)/tgkill.Po \ @@ -5465,9 +6808,11 @@ ./$(DEPDIR)/threads-execve-qqq.Po \ ./$(DEPDIR)/threads-execve.Po ./$(DEPDIR)/time.Po \ ./$(DEPDIR)/timer_create.Po ./$(DEPDIR)/timer_xettime.Po \ - ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-fail.Po \ - ./$(DEPDIR)/times.Po ./$(DEPDIR)/tkill--pidns-translation.Po \ - ./$(DEPDIR)/tkill.Po ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ + ./$(DEPDIR)/timerfd_xettime.Po ./$(DEPDIR)/times-Xabbrev.Po \ + ./$(DEPDIR)/times-Xraw.Po ./$(DEPDIR)/times-Xverbose.Po \ + ./$(DEPDIR)/times-fail.Po ./$(DEPDIR)/times.Po \ + ./$(DEPDIR)/tkill--pidns-translation.Po ./$(DEPDIR)/tkill.Po \ + ./$(DEPDIR)/tracer_ppid_pgid_sid.Po \ ./$(DEPDIR)/trie_test-trie_for_tests.Po \ ./$(DEPDIR)/trie_test-trie_test.Po ./$(DEPDIR)/truncate.Po \ ./$(DEPDIR)/truncate64-truncate64.Po ./$(DEPDIR)/ugetrlimit.Po \ @@ -5488,9 +6833,9 @@ ./$(DEPDIR)/utimes.Po ./$(DEPDIR)/vfork-f.Po \ ./$(DEPDIR)/vhangup.Po ./$(DEPDIR)/vmsplice.Po \ ./$(DEPDIR)/wait4-v.Po ./$(DEPDIR)/wait4.Po \ - ./$(DEPDIR)/waitid-v.Po ./$(DEPDIR)/waitid.Po \ - ./$(DEPDIR)/waitpid.Po ./$(DEPDIR)/xattr-strings.Po \ - ./$(DEPDIR)/xattr.Po \ + ./$(DEPDIR)/waitid-Y.Po ./$(DEPDIR)/waitid-v.Po \ + ./$(DEPDIR)/waitid.Po ./$(DEPDIR)/waitpid.Po \ + ./$(DEPDIR)/xattr-strings.Po ./$(DEPDIR)/xattr.Po \ ./$(DEPDIR)/xet_robust_list--pidns-translation.Po \ ./$(DEPDIR)/xet_robust_list.Po \ ./$(DEPDIR)/xet_thread_area_x86.Po ./$(DEPDIR)/xetitimer.Po \ @@ -5518,76 +6863,109 @@ am__v_CCLD_1 = SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c accept.c \ accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5613,13 +6991,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5627,26 +7025,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -5666,8 +7065,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -5684,16 +7083,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -5702,8 +7112,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -5711,7 +7123,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -5753,10 +7166,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -5769,11 +7188,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -5799,44 +7223,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -5846,83 +7283,117 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c DIST_SOURCES = $(libtests_a_SOURCES) _newselect.c _newselect-P.c \ accept.c accept4.c access.c access--secontext.c \ - access--secontext_full.c acct.c add_key.c adjtimex.c aio.c \ - aio_pgetevents.c alarm.c answer.c attach-f-p.c \ - attach-f-p-cmd.c attach-p-cmd-cmd.c attach-p-cmd-p.c \ - block_reset_raise_run.c block_reset_run.c bpf.c \ - bpf-obj_get_info_by_fd.c bpf-obj_get_info_by_fd-prog.c \ - bpf-obj_get_info_by_fd-prog-v.c bpf-obj_get_info_by_fd-v.c \ - bpf-success.c bpf-success-long-y.c bpf-success-v.c bpf-v.c \ - brk.c btrfs.c caps.c caps-abbrev.c chdir.c check_sigblock.c \ - check_sigign.c chmod.c chmod--secontext.c \ - chmod--secontext_full.c chown.c chown32.c chroot.c \ - clock_adjtime.c clock_adjtime64.c clock_nanosleep.c \ - clock_xettime.c clock_xettime64.c clone-flags.c clone3.c \ - clone3-Xabbrev.c clone3-Xraw.c clone3-Xverbose.c \ - clone3-success.c clone3-success-Xabbrev.c \ + access--secontext_full.c access--secontext_full_mismatch.c \ + access--secontext_mismatch.c acct.c add_key.c adjtimex.c aio.c \ + aio_pgetevents.c alarm.c answer.c arch_prctl.c \ + arch_prctl-Xabbrev.c arch_prctl-Xraw.c arch_prctl-Xverbose.c \ + arch_prctl-success.c arch_prctl-success-Xabbrev.c \ + arch_prctl-success-Xraw.c arch_prctl-success-Xverbose.c \ + at_fdcwd-pathmax.c attach-f-p.c attach-f-p-cmd.c \ + attach-p-cmd-cmd.c attach-p-cmd-p.c block_reset_raise_run.c \ + block_reset_run.c bpf.c bpf-obj_get_info_by_fd.c \ + bpf-obj_get_info_by_fd-prog.c bpf-obj_get_info_by_fd-prog-v.c \ + bpf-obj_get_info_by_fd-v.c bpf-success.c bpf-success-long-y.c \ + bpf-success-v.c bpf-v.c brk.c btrfs.c caps.c caps-abbrev.c \ + chdir.c check_sigblock.c check_sigign.c chmod.c \ + chmod--secontext.c chmod--secontext_full.c \ + chmod--secontext_full_mismatch.c chmod--secontext_mismatch.c \ + chown.c chown32.c chroot.c clock_adjtime.c clock_adjtime64.c \ + clock_nanosleep.c clock_xettime.c clock_xettime64.c \ + clone-flags.c clone3.c clone3-Xabbrev.c clone3-Xraw.c \ + clone3-Xverbose.c clone3-success.c clone3-success-Xabbrev.c \ clone3-success-Xraw.c clone3-success-Xverbose.c clone_parent.c \ clone_parent--quiet-exit.c clone_parent-q.c clone_parent-qq.c \ clone_ptrace.c clone_ptrace--quiet-attach.c \ clone_ptrace--quiet-exit.c clone_ptrace-q.c clone_ptrace-qq.c \ close_range.c copy_file_range.c count-f.c creat.c delay.c \ - delete_module.c dev--decode-fds-dev.c dev--decode-fds-path.c \ + delete_module.c dev--decode-fds-all.c dev--decode-fds-dev.c \ + dev--decode-fds-none.c dev--decode-fds-path.c \ dev--decode-fds-socket.c dev-yy.c dup.c dup-P.c dup-y.c \ dup-yy.c dup2.c dup2-P.c dup2-y.c dup2-yy.c dup3.c dup3-P.c \ dup3-y.c dup3-yy.c epoll_create.c epoll_create1.c epoll_ctl.c \ epoll_pwait.c epoll_pwait2.c epoll_pwait2-P.c epoll_pwait2-y.c \ epoll_wait.c erestartsys.c eventfd.c execve.c \ - execve--secontext.c execve--secontext_full.c execve-v.c \ - execveat.c execveat--secontext.c execveat--secontext_full.c \ - execveat-v.c faccessat.c faccessat--secontext.c \ - faccessat--secontext_full.c faccessat-P.c faccessat-y.c \ + execve--secontext.c execve--secontext_full.c \ + execve--secontext_full_mismatch.c execve--secontext_mismatch.c \ + execve-v.c execveat.c execveat--secontext.c \ + execveat--secontext_full.c execveat--secontext_full_mismatch.c \ + execveat--secontext_mismatch.c execveat-v.c faccessat.c \ + faccessat--secontext.c faccessat--secontext_full.c \ + faccessat--secontext_full_mismatch.c \ + faccessat--secontext_mismatch.c faccessat-P.c faccessat-y.c \ faccessat-y--secontext.c faccessat-y--secontext_full.c \ - faccessat-yy.c faccessat2.c faccessat2-P.c faccessat2-y.c \ - faccessat2-yy.c fadvise64.c fadvise64_64.c fallocate.c \ - fanotify_init.c fanotify_mark.c fanotify_mark--secontext.c \ - fanotify_mark--secontext_full.c fanotify_mark-Xabbrev.c \ + faccessat-y--secontext_full_mismatch.c \ + faccessat-y--secontext_mismatch.c faccessat-yy.c faccessat2.c \ + faccessat2-P.c faccessat2-y.c faccessat2-yy.c fadvise64.c \ + fadvise64_64.c fallocate.c fanotify_init.c fanotify_mark.c \ + fanotify_mark--secontext.c fanotify_mark--secontext_full.c \ + fanotify_mark--secontext_full_mismatch.c \ + fanotify_mark--secontext_mismatch.c fanotify_mark-Xabbrev.c \ fanotify_mark-Xraw.c fanotify_mark-Xverbose.c fchdir.c \ fchmod.c fchmod--secontext.c fchmod--secontext_full.c \ + fchmod--secontext_full_mismatch.c fchmod--secontext_mismatch.c \ fchmod-y.c fchmod-y--secontext.c fchmod-y--secontext_full.c \ - fchmodat.c fchmodat--secontext.c fchmodat--secontext_full.c \ - fchown.c fchown32.c fchownat.c fchownat--secontext.c \ - fchownat--secontext_full.c fcntl.c fcntl--pidns-translation.c \ - fcntl64.c fcntl64--pidns-translation.c fdatasync.c fflush.c \ + fchmod-y--secontext_full_mismatch.c \ + fchmod-y--secontext_mismatch.c fchmodat.c \ + fchmodat--secontext.c fchmodat--secontext_full.c \ + fchmodat--secontext_full_mismatch.c \ + fchmodat--secontext_mismatch.c fchown.c fchown32.c fchownat.c \ + fchownat--secontext.c fchownat--secontext_full.c \ + fchownat--secontext_full_mismatch.c \ + fchownat--secontext_mismatch.c fcntl.c \ + fcntl--pidns-translation.c fcntl64.c \ + fcntl64--pidns-translation.c fdatasync.c fflush.c \ file_handle.c file_handle--secontext.c \ - file_handle--secontext_full.c filter-unavailable.c \ + file_handle--secontext_full.c \ + file_handle--secontext_full_mismatch.c \ + file_handle--secontext_mismatch.c filter-unavailable.c \ filter_seccomp-flag.c filter_seccomp-perf.c finit_module.c \ flock.c fork--pidns-translation.c fork-f.c fsconfig.c \ fsconfig-P.c fsmount.c fsopen.c fspick.c fspick-P.c fstat.c \ fstat-Xabbrev.c fstat-Xraw.c fstat-Xverbose.c fstat64.c \ fstat64-Xabbrev.c fstat64-Xraw.c fstat64-Xverbose.c \ fstatat64.c fstatfs.c fstatfs64.c fsync.c fsync-y.c \ - ftruncate.c ftruncate64.c futex.c futimesat.c get_mempolicy.c \ - get_process_reaper.c getcpu.c getcwd.c getdents.c getdents-v.c \ - getdents64.c getdents64-v.c getegid.c getegid32.c geteuid.c \ - geteuid32.c getgid.c getgid32.c getgroups.c getgroups32.c \ - getpeername.c getpgrp.c getpgrp--pidns-translation.c getpid.c \ + ftruncate.c ftruncate64.c futex.c futex_waitv.c futimesat.c \ + get_mempolicy.c get_process_reaper.c getcpu.c getcwd.c \ + getdents.c getdents-v.c getdents64.c getdents64-v.c getegid.c \ + getegid32.c geteuid.c geteuid32.c getgid.c getgid32.c \ + getgroups.c getgroups32.c getpeername.c getpgrp.c \ + getpgrp--pidns-translation.c getpid.c \ getpid--pidns-translation.c getppid.c getrandom.c getresgid.c \ getresgid32.c getresuid.c getresuid32.c getrlimit.c \ getrusage.c getsid.c getsid--pidns-translation.c getsockname.c \ - gettid.c gettid--pidns-translation.c getuid.c getuid32.c \ - getxgid.c getxpid.c getxuid.c group_req.c inet-cmsg.c \ - init_module.c inject-nf.c inotify.c inotify_init.c \ - inotify_init-y.c inotify_init1.c inotify_init1-y.c int_0x80.c \ - io_uring_enter.c io_uring_register.c io_uring_setup.c ioctl.c \ - ioctl_block.c ioctl_block--pidns-translation.c ioctl_dm.c \ - ioctl_dm-v.c ioctl_evdev.c ioctl_evdev-Xabbrev.c \ - ioctl_evdev-Xraw.c ioctl_evdev-Xverbose.c \ - ioctl_evdev-success.c ioctl_evdev-success-Xabbrev.c \ - ioctl_evdev-success-Xraw.c ioctl_evdev-success-Xverbose.c \ - ioctl_evdev-success-v.c ioctl_evdev-success-v-Xabbrev.c \ - ioctl_evdev-success-v-Xraw.c ioctl_evdev-success-v-Xverbose.c \ - ioctl_evdev-v.c ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ + getsockname--secontext.c getsockname--secontext_full.c \ + getsockname--secontext_full_mismatch.c \ + getsockname--secontext_mismatch.c gettid.c \ + gettid--pidns-translation.c getuid.c getuid32.c getxgid.c \ + getxpid.c getxuid.c group_req.c inet-cmsg.c init_module.c \ + inject-nf.c inotify.c inotify_init.c inotify_init-y.c \ + inotify_init1.c inotify_init1-y.c int_0x80.c io_uring_enter.c \ + io_uring_register.c io_uring_register-Xabbrev.c \ + io_uring_register-Xraw.c io_uring_register-Xverbose.c \ + io_uring_register-success.c \ + io_uring_register-success-Xabbrev.c \ + io_uring_register-success-Xraw.c \ + io_uring_register-success-Xverbose.c io_uring_setup.c ioctl.c \ + ioctl_block.c ioctl_block--pidns-translation.c ioctl_counter.c \ + ioctl_counter-Xabbrev.c ioctl_counter-Xraw.c \ + ioctl_counter-Xverbose.c ioctl_dm.c ioctl_dm-v.c ioctl_evdev.c \ + ioctl_evdev-Xabbrev.c ioctl_evdev-Xraw.c \ + ioctl_evdev-Xverbose.c ioctl_evdev-success.c \ + ioctl_evdev-success-Xabbrev.c ioctl_evdev-success-Xraw.c \ + ioctl_evdev-success-Xverbose.c ioctl_evdev-success-v.c \ + ioctl_evdev-success-v-Xabbrev.c ioctl_evdev-success-v-Xraw.c \ + ioctl_evdev-success-v-Xverbose.c ioctl_evdev-v.c \ + ioctl_evdev-v-Xabbrev.c ioctl_evdev-v-Xraw.c \ ioctl_evdev-v-Xverbose.c ioctl_fiemap.c ioctl_fiemap-Xabbrev.c \ ioctl_fiemap-Xraw.c ioctl_fiemap-Xverbose.c \ ioctl_fiemap-success.c ioctl_fiemap-success-Xabbrev.c \ @@ -5948,13 +7419,33 @@ ioctl_hdio-success-v-Xabbrev.c ioctl_hdio-success-v-Xraw.c \ ioctl_hdio-success-v-Xverbose.c ioctl_hdio-v.c \ ioctl_hdio-v-Xabbrev.c ioctl_hdio-v-Xraw.c \ - ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kvm_run.c \ - ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_loop.c \ - ioctl_loop-nv.c ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c \ - ioctl_nbd.c ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c \ - ioctl_ptp.c ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c \ - ioctl_rtc-v.c ioctl_scsi.c ioctl_sg_io_v3.c ioctl_sg_io_v4.c \ - ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c ioctl_ubi.c \ + ioctl_hdio-v-Xverbose.c ioctl_inotify.c ioctl_kd.c \ + ioctl_kd-Xabbrev.c ioctl_kd-Xraw.c ioctl_kd-Xverbose.c \ + ioctl_kd-success.c ioctl_kd-success-Xabbrev.c \ + ioctl_kd-success-Xraw.c ioctl_kd-success-Xverbose.c \ + ioctl_kd-success-s1024.c ioctl_kd-success-s1024-Xabbrev.c \ + ioctl_kd-success-s1024-Xraw.c \ + ioctl_kd-success-s1024-Xverbose.c ioctl_kvm_run.c \ + ioctl_kvm_run-v.c ioctl_kvm_run_auxstr_vcpu.c ioctl_lirc.c \ + ioctl_lirc-success.c ioctl_loop.c ioctl_loop-nv.c \ + ioctl_loop-v.c ioctl_mtd.c ioctl_mtd-success.c ioctl_nbd.c \ + ioctl_nsfs.c ioctl_perf.c ioctl_perf-success.c ioctl_ptp.c \ + ioctl_ptp-Xabbrev.c ioctl_ptp-Xraw.c ioctl_ptp-Xverbose.c \ + ioctl_ptp-success.c ioctl_ptp-success-Xabbrev.c \ + ioctl_ptp-success-Xraw.c ioctl_ptp-success-Xverbose.c \ + ioctl_random.c ioctl_rtc.c ioctl_rtc-success.c ioctl_rtc-v.c \ + ioctl_scsi.c ioctl_seccomp.c \ + ioctl_seccomp--pidns-translation.c ioctl_seccomp-success.c \ + ioctl_seccomp-y.c ioctl_seccomp-y-success.c \ + ioctl_seccomp-y-success--pidns-translation.c \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.c \ + ioctl_seccomp-y-success--pidns-translation-Xraw.c \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.c \ + ioctl_seccomp-y-success-Xabbrev.c \ + ioctl_seccomp-y-success-Xraw.c \ + ioctl_seccomp-y-success-Xverbose.c ioctl_sg_io_v3.c \ + ioctl_sg_io_v4.c ioctl_sock.c ioctl_sock_gifconf.c ioctl_tee.c \ + ioctl_termios.c ioctl_termios-v.c ioctl_tiocm.c ioctl_ubi.c \ ioctl_ubi-success.c ioctl_uffdio.c ioctl_v4l2.c \ ioctl_v4l2-Xabbrev.c ioctl_v4l2-Xraw.c ioctl_v4l2-Xverbose.c \ ioctl_v4l2-success.c ioctl_v4l2-success-Xabbrev.c \ @@ -5962,26 +7453,27 @@ ioctl_v4l2-success-v.c ioctl_v4l2-success-v-Xabbrev.c \ ioctl_v4l2-success-v-Xraw.c ioctl_v4l2-success-v-Xverbose.c \ ioctl_v4l2-v.c ioctl_v4l2-v-Xabbrev.c ioctl_v4l2-v-Xraw.c \ - ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioperm.c iopl.c \ - ioprio.c ioprio--pidns-translation.c ioprio-Xabbrev.c \ - ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c ipc.c ipc_msg.c \ - ipc_msg-Xabbrev.c ipc_msg-Xraw.c ipc_msg-Xverbose.c \ - ipc_msgbuf.c ipc_msgbuf-Xabbrev.c ipc_msgbuf-Xraw.c \ - ipc_msgbuf-Xverbose.c ipc_sem.c ipc_sem-Xabbrev.c \ - ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c ipc_shm-Xabbrev.c \ - ipc_shm-Xraw.c ipc_shm-Xverbose.c is_linux_mips_n64.c kcmp.c \ - kcmp-y.c kcmp-y--pidns-translation.c kern_features.c \ - kernel_version.c kernel_version-Xabbrev.c \ - kernel_version-Xraw.c kernel_version-Xverbose.c \ - kexec_file_load.c kexec_load.c keyctl.c keyctl-Xabbrev.c \ - keyctl-Xraw.c keyctl-Xverbose.c kill.c \ - kill--pidns-translation.c kill_child.c ksysent.c \ + ioctl_v4l2-v-Xverbose.c ioctl_watchdog.c ioctl_winsize.c \ + ioperm.c iopl.c ioprio.c ioprio--pidns-translation.c \ + ioprio-Xabbrev.c ioprio-Xraw.c ioprio-Xverbose.c ip_mreq.c \ + ipc.c ipc_msg.c ipc_msg-Xabbrev.c ipc_msg-Xraw.c \ + ipc_msg-Xverbose.c ipc_msgbuf.c ipc_msgbuf-Xabbrev.c \ + ipc_msgbuf-Xraw.c ipc_msgbuf-Xverbose.c ipc_sem.c \ + ipc_sem-Xabbrev.c ipc_sem-Xraw.c ipc_sem-Xverbose.c ipc_shm.c \ + ipc_shm-Xabbrev.c ipc_shm-Xraw.c ipc_shm-Xverbose.c \ + is_linux_mips_n64.c kcmp.c kcmp-y.c \ + kcmp-y--pidns-translation.c kern_features.c kernel_version.c \ + kernel_version-Xabbrev.c kernel_version-Xraw.c \ + kernel_version-Xverbose.c kexec_file_load.c kexec_load.c \ + keyctl.c keyctl-Xabbrev.c keyctl-Xraw.c keyctl-Xverbose.c \ + kill.c kill--pidns-translation.c kill_child.c ksysent.c \ landlock_add_rule.c landlock_add_rule-y.c \ landlock_create_ruleset.c landlock_create_ruleset-success.c \ landlock_create_ruleset-success-y.c \ landlock_create_ruleset-y.c landlock_restrict_self.c \ landlock_restrict_self-y.c lchown.c lchown32.c link.c linkat.c \ linkat--secontext.c linkat--secontext_full.c \ + linkat--secontext_full_mismatch.c linkat--secontext_mismatch.c \ list_sigaction_signum.c llseek.c localtime.c lookup_dcookie.c \ looping_threads.c lseek.c lstat.c lstat64.c madvise.c \ maybe_switch_current_tcp.c \ @@ -6001,8 +7493,8 @@ move_pages-Xraw.c move_pages-Xverbose.c mq.c mq_sendrecv.c \ mq_sendrecv-read.c mq_sendrecv-write.c msg_control.c \ msg_control-v.c msg_name.c munlockall.c nanosleep.c \ - net--decode-fds-dev-netlink.c net--decode-fds-none-netlink.c \ - net--decode-fds-path-netlink.c \ + net--decode-fds-all-netlink.c net--decode-fds-dev-netlink.c \ + net--decode-fds-none-netlink.c net--decode-fds-path-netlink.c \ net--decode-fds-socket-netlink.c net-accept-connect.c \ net-icmp_filter.c net-packet_mreq.c net-packet_mreq-Xabbrev.c \ net-packet_mreq-Xraw.c net-packet_mreq-Xverbose.c \ @@ -6019,16 +7511,27 @@ nfnetlink_ctnetlink_exp.c nfnetlink_cttimeout.c \ nfnetlink_ipset.c nfnetlink_nft_compat.c nfnetlink_nftables.c \ nfnetlink_osf.c nfnetlink_queue.c nfnetlink_ulog.c nlattr.c \ - nlattr_br_port_msg.c nlattr_crypto_user_alg.c nlattr_dcbmsg.c \ - nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c nlattr_ifaddrmsg.c \ - nlattr_ifinfomsg.c nlattr_ifla_af_spec.c nlattr_ifla_brport.c \ + nlattr_br_port_msg.c nlattr_cachereport.c \ + nlattr_cachereport-Xabbrev.c nlattr_cachereport-Xraw.c \ + nlattr_cachereport-Xverbose.c nlattr_crypto_user_alg.c \ + nlattr_dcbmsg.c nlattr_fib_rule_hdr.c nlattr_ifaddrlblmsg.c \ + nlattr_ifaddrmsg.c nlattr_ifinfomsg.c nlattr_ifla_af_spec.c \ + nlattr_ifla_brport.c nlattr_ifla_brport-Xabbrev.c \ + nlattr_ifla_brport-Xraw.c nlattr_ifla_brport-Xverbose.c \ nlattr_ifla_linkinfo.c nlattr_ifla_port.c \ - nlattr_ifla_proto_down_reason.c nlattr_ifla_xdp.c \ - nlattr_ifla_xdp-y.c nlattr_inet_diag_msg.c \ - nlattr_inet_diag_req_compat.c nlattr_inet_diag_req_v2.c \ - nlattr_mdba_mdb_entry.c nlattr_mdba_router_port.c \ - nlattr_ndmsg.c nlattr_ndtmsg.c nlattr_netconfmsg.c \ - nlattr_netlink_diag_msg.c nlattr_nlmsgerr.c \ + nlattr_ifla_protinfo.c nlattr_ifla_protinfo-Xabbrev.c \ + nlattr_ifla_protinfo-Xraw.c nlattr_ifla_protinfo-Xverbose.c \ + nlattr_ifla_proto_down_reason.c nlattr_ifla_vfinfo.c \ + nlattr_ifla_vfinfo-Xabbrev.c nlattr_ifla_vfinfo-Xraw.c \ + nlattr_ifla_vfinfo-Xverbose.c nlattr_ifla_xdp.c \ + nlattr_ifla_xdp-y.c nlattr_ifstats.c nlattr_ifstats-Xabbrev.c \ + nlattr_ifstats-Xraw.c nlattr_ifstats-Xverbose.c \ + nlattr_inet_diag_msg.c nlattr_inet_diag_req_compat.c \ + nlattr_inet_diag_req_v2.c nlattr_mdba_mdb_entry.c \ + nlattr_mdba_router_port.c nlattr_ndmsg.c nlattr_ndtmsg.c \ + nlattr_netconfmsg.c nlattr_netlink_diag_msg.c nlattr_nhmsg.c \ + nlattr_nhmsg-Xabbrev.c nlattr_nhmsg-Xraw.c \ + nlattr_nhmsg-Xverbose.c nlattr_nlmsgerr.c \ nlattr_packet_diag_msg.c nlattr_rtgenmsg.c nlattr_rtmsg.c \ nlattr_smc_diag_msg.c nlattr_tc_stats.c nlattr_tca_stab.c \ nlattr_tcamsg.c nlattr_tcmsg.c nlattr_unix_diag_msg.c \ @@ -6037,8 +7540,10 @@ old_mmap-v-none.c oldfstat.c oldlstat.c oldselect.c \ oldselect-P.c oldselect-efault.c oldselect-efault-P.c \ oldstat.c open.c open--secontext.c open--secontext_full.c \ + open--secontext_full_mismatch.c open--secontext_mismatch.c \ open_tree.c open_tree-P.c openat.c openat--secontext.c \ - openat--secontext_full.c openat2.c openat2-Xabbrev.c \ + openat--secontext_full.c openat--secontext_full_mismatch.c \ + openat--secontext_mismatch.c openat2.c openat2-Xabbrev.c \ openat2-Xraw.c openat2-Xverbose.c openat2-v.c openat2-v-y.c \ openat2-v-y-Xabbrev.c openat2-v-y-Xraw.c \ openat2-v-y-Xverbose.c openat2-y.c orphaned_process_group.c \ @@ -6046,7 +7551,8 @@ perf_event_open_nonverbose.c perf_event_open_unabbrev.c \ personality.c personality-Xabbrev.c personality-Xraw.c \ personality-Xverbose.c pidfd_getfd.c pidfd_getfd-y.c \ - pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-path.c \ + pidfd_getfd-yy.c pidfd_open.c pidfd_open--decode-fd-all.c \ + pidfd_open--decode-fd-none.c pidfd_open--decode-fd-path.c \ pidfd_open--decode-fd-pidfd.c pidfd_open--decode-fd-socket.c \ pidfd_open--pidns-translation.c pidfd_open-P.c pidfd_open-y.c \ pidfd_open-yy.c pidfd_send_signal.c \ @@ -6088,10 +7594,16 @@ prctl-set-ptracer-success-Xraw--pidns-translation.c \ prctl-set-ptracer-success-Xverbose.c \ prctl-set-ptracer-success-Xverbose--pidns-translation.c \ - prctl-spec-inject.c prctl-sve.c prctl-syscall-user-dispatch.c \ - prctl-tagged-addr.c prctl-tagged-addr-Xabbrev.c \ - prctl-tagged-addr-Xraw.c prctl-tagged-addr-Xverbose.c \ - prctl-tagged-addr-success.c \ + prctl-set_vma.c prctl-sme.c prctl-sme-Xabbrev.c \ + prctl-sme-Xraw.c prctl-sme-Xverbose.c prctl-sme-success.c \ + prctl-sme-success-Xabbrev.c prctl-sme-success-Xraw.c \ + prctl-sme-success-Xverbose.c prctl-spec-inject.c prctl-sve.c \ + prctl-sve-Xabbrev.c prctl-sve-Xraw.c prctl-sve-Xverbose.c \ + prctl-sve-success.c prctl-sve-success-Xabbrev.c \ + prctl-sve-success-Xraw.c prctl-sve-success-Xverbose.c \ + prctl-syscall-user-dispatch.c prctl-tagged-addr.c \ + prctl-tagged-addr-Xabbrev.c prctl-tagged-addr-Xraw.c \ + prctl-tagged-addr-Xverbose.c prctl-tagged-addr-success.c \ prctl-tagged-addr-success-Xabbrev.c \ prctl-tagged-addr-success-Xraw.c \ prctl-tagged-addr-success-Xverbose.c prctl-tid_address.c \ @@ -6104,11 +7616,16 @@ printstrn-umoven-peekdata.c printstrn-umoven-undumpable.c \ prlimit64.c prlimit64--pidns-translation.c prlimit64-success.c \ prlimit64-success--pidns-translation.c process_madvise.c \ - process_madvise-y.c process_madvise-yy.c process_vm_readv.c \ + process_madvise-y.c process_madvise-yy.c process_mrelease.c \ + process_mrelease-y.c process_vm_readv.c \ process_vm_readv--pidns-translation.c process_vm_writev.c \ process_vm_writev--pidns-translation.c pselect6.c \ - pselect6_time64.c ptrace.c ptrace_syscall_info.c pwritev.c \ - qual_fault.c qual_inject-error-signal.c qual_inject-retval.c \ + pselect6_time64.c ptrace.c ptrace-Xabbrev.c ptrace-Xraw.c \ + ptrace-Xverbose.c ptrace-y.c ptrace-y-Xabbrev.c \ + ptrace-y-Xraw.c ptrace-y-Xverbose.c ptrace_syscall_info.c \ + ptrace_syscall_info-Xabbrev.c ptrace_syscall_info-Xraw.c \ + ptrace_syscall_info-Xverbose.c pwritev.c qual_fault.c \ + qual_inject-error-signal.c qual_inject-retval.c \ qual_inject-signal.c qual_signal.c quotactl.c \ quotactl-Xabbrev.c quotactl-Xraw.c quotactl-Xverbose.c \ quotactl-success.c quotactl-success-v.c quotactl-v.c \ @@ -6134,44 +7651,57 @@ sched_xetparam--pidns-translation.c sched_xetscheduler.c \ sched_xetscheduler--pidns-translation.c sched_yield.c \ scm_rights.c seccomp-filter.c seccomp-filter-v.c \ - seccomp-strict.c seccomp_get_action_avail.c select.c \ - select-P.c semop.c semop-indirect.c semtimedop.c \ - semtimedop-ipc.c semtimedop_time64.c sendfile.c sendfile64.c \ - set_mempolicy.c set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ - set_mempolicy-Xverbose.c set_ptracer_any.c set_sigblock.c \ - set_sigign.c setdomainname.c setfsgid.c setfsgid32.c \ - setfsuid.c setfsuid32.c setgid.c setgid32.c setgroups.c \ - setgroups32.c sethostname.c setns.c setpgrp-exec.c setregid.c \ - setregid32.c setresgid.c setresgid32.c setresuid.c \ - setresuid32.c setreuid.c setreuid32.c setrlimit.c \ - setrlimit-Xabbrev.c setrlimit-Xraw.c setrlimit-Xverbose.c \ - setuid.c setuid32.c shmxt.c shutdown.c sigaction.c \ - sigaltstack.c siginfo.c signal.c signal_receive.c \ + seccomp-strict.c seccomp_get_action_avail.c \ + seccomp_get_notif_sizes.c seccomp_get_notif_sizes-success.c \ + segv_accerr.c segv_pkuerr.c select.c select-P.c semop.c \ + semop-indirect.c semtimedop.c semtimedop-ipc.c \ + semtimedop_time64.c sendfile.c sendfile64.c set_mempolicy.c \ + set_mempolicy-Xabbrev.c set_mempolicy-Xraw.c \ + set_mempolicy-Xverbose.c set_mempolicy_home_node.c \ + set_ptracer_any.c set_sigblock.c set_sigign.c setdomainname.c \ + setfsgid.c setfsgid32.c setfsuid.c setfsuid32.c setgid.c \ + setgid32.c setgroups.c setgroups32.c sethostname.c setns.c \ + setpgrp-exec.c setregid.c setregid32.c setresgid.c \ + setresgid32.c setresuid.c setresuid32.c setreuid.c \ + setreuid32.c setrlimit.c setrlimit-Xabbrev.c setrlimit-Xraw.c \ + setrlimit-Xverbose.c setuid.c setuid32.c shmxt.c shutdown.c \ + sigaction.c sigaltstack.c siginfo.c signal.c signal_receive.c \ signal_receive--pidns-translation.c signalfd4.c sigpending.c \ sigprocmask.c sigreturn.c sigsuspend.c sleep.c so_error.c \ so_linger.c so_peercred.c so_peercred--pidns-translation.c \ so_peercred-Xabbrev.c so_peercred-Xraw.c \ so_peercred-Xverbose.c sock_filter-v.c sock_filter-v-Xabbrev.c \ sock_filter-v-Xraw.c sock_filter-v-Xverbose.c \ - sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xraw.c \ - sockaddr_xlat-Xverbose.c socketcall.c sockopt-sol_netlink.c \ - sockopt-timestamp.c splice.c $(stack_fcall_SOURCES) \ - $(stack_fcall_attach_SOURCES) $(stack_fcall_mangled_SOURCES) \ - stat.c stat64.c statfs.c statfs64.c status-all.c \ - status-failed.c status-failed-long.c status-failed-status.c \ - status-none.c status-none-f.c status-none-threads.c \ - status-successful.c status-successful-long.c \ - status-successful-status.c status-unfinished.c \ - status-unfinished-threads.c statx.c strace--strings-in-hex.c \ + sockaddr_xlat-Xabbrev.c sockaddr_xlat-Xabbrev-y.c \ + sockaddr_xlat-Xraw.c sockaddr_xlat-Xraw-y.c \ + sockaddr_xlat-Xverbose.c sockaddr_xlat-Xverbose-y.c \ + socketcall.c sockopt-sol_netlink.c sockopt-sol_socket.c \ + sockopt-sol_socket-Xabbrev.c sockopt-sol_socket-Xraw.c \ + sockopt-sol_socket-Xverbose.c sockopt-sol_socket-success.c \ + sockopt-sol_socket-success-Xabbrev.c \ + sockopt-sol_socket-success-Xraw.c \ + sockopt-sol_socket-success-Xverbose.c sockopt-timestamp.c \ + splice.c $(stack_fcall_SOURCES) $(stack_fcall_attach_SOURCES) \ + $(stack_fcall_mangled_SOURCES) stat.c stat64.c statfs.c \ + statfs64.c status-all.c status-failed.c status-failed-long.c \ + status-failed-status.c status-none.c status-none-f.c \ + status-none-threads.c status-successful.c \ + status-successful-long.c status-successful-status.c \ + status-unfinished.c status-unfinished-threads.c statx.c \ + strace--decode-pids-comm.c strace--strings-in-hex.c \ strace--strings-in-hex-all.c \ - strace--strings-in-hex-non-ascii.c strace-n.c strace-x.c \ + strace--strings-in-hex-non-ascii.c \ + strace--strings-in-hex-non-ascii-chars.c \ + strace--strings-in-hex-none.c strace-Y-0123456789.c strace-n.c \ + strace-no-x.c strace-p-Y-p2.c strace-p1-Y-p.c strace-x.c \ strace-xx.c swap.c sxetmask.c symlink.c symlinkat.c sync.c \ - sync_file_range.c sync_file_range2.c sysinfo.c syslog.c \ - syslog-success.c tampering-notes.c tee.c tgkill.c \ + sync_file_range.c sync_file_range2.c sysctl.c sysinfo.c \ + syslog.c syslog-success.c tampering-notes.c tee.c tgkill.c \ tgkill--pidns-translation.c threads-execve.c \ threads-execve--quiet-thread-execve.c threads-execve-q.c \ threads-execve-qq.c threads-execve-qqq.c time.c timer_create.c \ - timer_xettime.c timerfd_xettime.c times.c times-fail.c tkill.c \ + timer_xettime.c timerfd_xettime.c times.c times-Xabbrev.c \ + times-Xraw.c times-Xverbose.c times-fail.c tkill.c \ tkill--pidns-translation.c tracer_ppid_pgid_sid.c \ $(trie_test_SOURCES) truncate.c truncate64.c ugetrlimit.c \ uio.c umask.c umount.c umount2.c umoven-illptr.c umovestr.c \ @@ -6181,11 +7711,12 @@ unlinkat.c unshare.c userfaultfd.c ustat.c utime.c utimensat.c \ utimensat-Xabbrev.c utimensat-Xraw.c utimensat-Xverbose.c \ utimes.c vfork-f.c vhangup.c vmsplice.c wait4.c wait4-v.c \ - waitid.c waitid-v.c waitpid.c xattr.c xattr-strings.c \ - xet_robust_list.c xet_robust_list--pidns-translation.c \ - xet_thread_area_x86.c xetitimer.c xetpgid.c \ - xetpgid--pidns-translation.c xetpriority.c \ - xetpriority--pidns-translation.c xettimeofday.c zeroargc.c + waitid.c waitid-Y.c waitid-v.c waitpid.c xattr.c \ + xattr-strings.c xet_robust_list.c \ + xet_robust_list--pidns-translation.c xet_thread_area_x86.c \ + xetitimer.c xetpgid.c xetpgid--pidns-translation.c \ + xetpriority.c xetpriority--pidns-translation.c xettimeofday.c \ + zeroargc.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ @@ -6488,7 +8019,6 @@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ -MANPAGE_DATE = @MANPAGE_DATE@ MIPS_ABI = @MIPS_ABI@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ @@ -6508,6 +8038,8 @@ SHELL = @SHELL@ SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ SIZEOF_LONG = @SIZEOF_LONG@ +SLM_MANPAGE_DATE = @SLM_MANPAGE_DATE@ +STRACE_MANPAGE_DATE = @STRACE_MANPAGE_DATE@ STRIP = @STRIP@ VALGRIND = @VALGRIND@ VALGRIND_ENABLED = @VALGRIND_ENABLED@ @@ -6575,6 +8107,7 @@ libunwind_LIBS = @libunwind_LIBS@ localedir = @localedir@ localstatedir = @localstatedir@ +m_LIBS = @m_LIBS@ mandir = @mandir@ mkdir_p = @mkdir_p@ mq_LIBS = @mq_LIBS@ @@ -6598,6 +8131,8 @@ ARCH = @arch@ KARCH = @karch@ NATIVE_ARCH = @arch_native@ +STRACE_SIZEOF_KERNEL_LONG_T = @SIZEOF_KERNEL_LONG_T@ +STRACE_SIZEOF_LONG = @SIZEOF_LONG@ MPERS_NAME = MPERS_CC_FLAGS = ARCH_MFLAGS = @@ -6612,13 +8147,17 @@ -I$(top_builddir)/src \ -I$(top_srcdir)/src \ $(bundled_CPPFLAGS) \ + -DSTRACE_SIZEOF_KERNEL_LONG_T=$(STRACE_SIZEOF_KERNEL_LONG_T) \ -DTESTS_SIZEOF_KERNEL_LONG_T=$(SIZEOF_KERNEL_LONG_T) \ - -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) + -DSTRACE_SIZEOF_LONG=$(STRACE_SIZEOF_LONG) \ + -DTESTS_SIZEOF_LONG=$(SIZEOF_LONG) \ + # AM_LDFLAGS = $(ARCH_MFLAGS) @HAVE_SELINUX_RUNTIME_FALSE@libselinux_LDADD = @HAVE_SELINUX_RUNTIME_TRUE@libselinux_LDADD = $(libselinux_LIBS) libtests_a_SOURCES = \ + clock_t_str.c \ create_nl_socket.c \ create_tmpfile.c \ dirfd.c \ @@ -6666,7 +8205,7 @@ libtests_a_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 check_LIBRARIES = libtests.a -LDADD = libtests.a +LDADD = libtests.a ${m_LIBS} # Generated by ./tests/gen_pure_executables.sh from ./tests/pure_executables.list; do not edit. PURE_EXECUTABLES = \ @@ -6680,6 +8219,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -6703,7 +8247,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -6782,6 +8328,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -6826,9 +8373,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -6867,6 +8421,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -6875,6 +8434,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -6883,6 +8445,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -6894,6 +8459,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -7000,6 +8566,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -7041,6 +8608,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -7049,10 +8620,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -7062,6 +8648,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -7108,6 +8698,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -7142,7 +8734,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -7169,12 +8769,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -7229,6 +8841,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -7241,6 +8854,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -7288,10 +8902,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -7312,7 +8933,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -7322,6 +8946,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -7332,6 +8957,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \ @@ -7378,67 +9006,139 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) attach_f_p_LDADD = -lpthread $(LDADD) +bpf_obj_get_info_by_fd_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_v_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_LDADD = $(clock_LIBS) $(LDADD) +bpf_obj_get_info_by_fd_prog_v_LDADD = $(clock_LIBS) $(LDADD) count_f_LDADD = -lpthread $(LDADD) delay_LDADD = $(clock_LIBS) $(LDADD) filter_unavailable_LDADD = -lpthread $(LDADD) @@ -7456,6 +9156,7 @@ mmap64_Xverbose_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 mq_LDADD = $(mq_LIBS) $(LDADD) newfstatat_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 +nlattr_mdba_router_port_LDADD = ${m_LIBS} $(LDADD) pc_LDADD = $(dl_LIBS) $(LDADD) pread64_pwrite64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 preadv_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 @@ -7471,6 +9172,9 @@ threads_execve_qq_LDADD = -lpthread $(clock_LIBS) $(LDADD) threads_execve_qqq_LDADD = -lpthread $(clock_LIBS) $(LDADD) times_LDADD = $(clock_LIBS) $(LDADD) +times_Xabbrev_LDADD = $(clock_LIBS) $(LDADD) +times_Xraw_LDADD = $(clock_LIBS) $(LDADD) +times_Xverbose_LDADD = $(clock_LIBS) $(LDADD) truncate64_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 uio_CPPFLAGS = $(AM_CPPFLAGS) -D_FILE_OFFSET_BITS=64 stack_fcall_SOURCES = stack-fcall.c \ @@ -7491,19 +9195,30 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test \ accept4.gen.test access.gen.test access--secontext.gen.test \ - access--secontext_full.gen.test acct.gen.test add_key.gen.test \ - adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test \ - alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ + access--secontext_full.gen.test \ + access--secontext_full_mismatch.gen.test \ + access--secontext_mismatch.gen.test acct.gen.test \ + add_key.gen.test adjtimex.gen.test aio.gen.test \ + aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test \ + arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test \ + arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test \ + arch_prctl-success-Xabbrev.gen.test \ + arch_prctl-success-Xraw.gen.test \ + arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test \ + bpf.gen.test bpf-obj_get_info_by_fd.gen.test \ bpf-obj_get_info_by_fd-prog.gen.test \ bpf-obj_get_info_by_fd-prog-v.gen.test \ bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test \ bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test \ chdir.gen.test chmod.gen.test chmod--secontext.gen.test \ - chmod--secontext_full.gen.test chown.gen.test chown32.gen.test \ - chroot.gen.test clock.gen.test clock_adjtime.gen.test \ - clock_adjtime64.gen.test clock_nanosleep.gen.test \ - clock_xettime.gen.test clock_xettime64.gen.test \ - clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ + chmod--secontext_full.gen.test \ + chmod--secontext_full_mismatch.gen.test \ + chmod--secontext_mismatch.gen.test chown.gen.test \ + chown32.gen.test chroot.gen.test clock.gen.test \ + clock_adjtime.gen.test clock_adjtime64.gen.test \ + clock_nanosleep.gen.test clock_xettime.gen.test \ + clock_xettime64.gen.test clone3.gen.test \ + clone3-Xabbrev.gen.test clone3-Xraw.gen.test \ clone3-Xverbose.gen.test clone3-success.gen.test \ clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test \ clone3-success-Xverbose.gen.test clone_parent.gen.test \ @@ -7512,7 +9227,8 @@ clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test \ clone_ptrace-qq.gen.test close_range.gen.test \ copy_file_range.gen.test creat.gen.test delete_module.gen.test \ - dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test \ + dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test \ + dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test \ dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test \ dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test \ dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test \ @@ -7522,45 +9238,63 @@ epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test \ epoll_wait.gen.test erestartsys.gen.test \ execve--secontext.gen.test execve--secontext_full.gen.test \ - execveat.gen.test execveat--secontext.gen.test \ - execveat--secontext_full.gen.test execveat-v.gen.test \ + execve--secontext_full_mismatch.gen.test \ + execve--secontext_mismatch.gen.test execveat.gen.test \ + execveat--secontext.gen.test execveat--secontext_full.gen.test \ + execveat--secontext_full_mismatch.gen.test \ + execveat--secontext_mismatch.gen.test execveat-v.gen.test \ faccessat--secontext.gen.test \ - faccessat--secontext_full.gen.test faccessat-P.gen.test \ + faccessat--secontext_full.gen.test \ + faccessat--secontext_full_mismatch.gen.test \ + faccessat--secontext_mismatch.gen.test faccessat-P.gen.test \ faccessat-y.gen.test faccessat-y--secontext.gen.test \ - faccessat-y--secontext_full.gen.test faccessat-yy.gen.test \ + faccessat-y--secontext_full.gen.test \ + faccessat-y--secontext_full_mismatch.gen.test \ + faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test \ faccessat2-P.gen.test faccessat2-y.gen.test \ faccessat2-yy.gen.test fadvise64_64.gen.test \ fallocate.gen.test fanotify_init.gen.test \ fanotify_mark.gen.test fanotify_mark--secontext.gen.test \ fanotify_mark--secontext_full.gen.test \ + fanotify_mark--secontext_full_mismatch.gen.test \ + fanotify_mark--secontext_mismatch.gen.test \ fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test \ fanotify_mark-Xverbose.gen.test fchdir.gen.test \ fchmod.gen.test fchmod--secontext.gen.test \ - fchmod--secontext_full.gen.test fchmod-y.gen.test \ + fchmod--secontext_full.gen.test \ + fchmod--secontext_full_mismatch.gen.test \ + fchmod--secontext_mismatch.gen.test fchmod-y.gen.test \ fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test \ - fchmodat.gen.test fchmodat--secontext.gen.test \ - fchmodat--secontext_full.gen.test fchown.gen.test \ + fchmod-y--secontext_full_mismatch.gen.test \ + fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test \ + fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test \ + fchmodat--secontext_full_mismatch.gen.test \ + fchmodat--secontext_mismatch.gen.test fchown.gen.test \ fchown32.gen.test fchownat.gen.test \ fchownat--secontext.gen.test fchownat--secontext_full.gen.test \ - fcntl.gen.test fcntl--pidns-translation.gen.test \ - fcntl64.gen.test fcntl64--pidns-translation.gen.test \ - fdatasync.gen.test file_handle.gen.test \ - file_handle--secontext.gen.test \ - file_handle--secontext_full.gen.test filter_seccomp.gen.test \ - filter_seccomp-flag.gen.test finit_module.gen.test \ - flock.gen.test fork-f.gen.test fsconfig.gen.test \ - fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test \ - fspick.gen.test fspick-P.gen.test fstat.gen.test \ - fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ + fchownat--secontext_full_mismatch.gen.test \ + fchownat--secontext_mismatch.gen.test fcntl.gen.test \ + fcntl--pidns-translation.gen.test fcntl64.gen.test \ + fcntl64--pidns-translation.gen.test fdatasync.gen.test \ + file_handle.gen.test file_handle--secontext.gen.test \ + file_handle--secontext_full.gen.test \ + file_handle--secontext_full_mismatch.gen.test \ + file_handle--secontext_mismatch.gen.test \ + filter_seccomp.gen.test filter_seccomp-flag.gen.test \ + finit_module.gen.test flock.gen.test fork-f.gen.test \ + fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test \ + fsopen.gen.test fspick.gen.test fspick-P.gen.test \ + fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test \ fstat-Xverbose.gen.test fstat64.gen.test \ fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test \ fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test \ fstatfs64.gen.test fsync.gen.test fsync-y.gen.test \ - ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test \ - get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test \ - getdents.gen.test getdents-v.gen.test getdents64.gen.test \ - getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test \ - getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test \ + ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test \ + futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test \ + getcwd.gen.test getdents.gen.test getdents-v.gen.test \ + getdents64.gen.test getdents64-v.gen.test getegid.gen.test \ + getegid-creds.gen.test getegid32.gen.test \ + getegid32-creds.gen.test geteuid.gen.test \ geteuid-creds.gen.test geteuid32.gen.test \ geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test \ getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test \ @@ -7571,14 +9305,27 @@ getresuid.gen.test getresuid32.gen.test getrlimit.gen.test \ getrusage.gen.test getsid.gen.test \ getsid--pidns-translation.gen.test getsockname.gen.test \ - gettid.gen.test getuid-creds.gen.test getuid32.gen.test \ + getsockname--secontext.gen.test \ + getsockname--secontext_full.gen.test \ + getsockname--secontext_full_mismatch.gen.test \ + getsockname--secontext_mismatch.gen.test gettid.gen.test \ + getuid-creds.gen.test getuid32.gen.test \ getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test \ getxuid.gen.test group_req.gen.test inet-cmsg.gen.test \ init_module.gen.test inotify.gen.test inotify_init.gen.test \ inotify_init1.gen.test inotify_init1-y.gen.test \ io_uring_enter.gen.test io_uring_register.gen.test \ + io_uring_register-Xabbrev.gen.test \ + io_uring_register-Xraw.gen.test \ + io_uring_register-Xverbose.gen.test \ + io_uring_register-success.gen.test \ + io_uring_register-success-Xabbrev.gen.test \ + io_uring_register-success-Xraw.gen.test \ + io_uring_register-success-Xverbose.gen.test \ io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test \ - ioctl_dm-v.gen.test ioctl_evdev.gen.test \ + ioctl_dm-v.gen.test ioctl_counter.gen.test \ + ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test \ + ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test \ ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test \ ioctl_evdev-Xverbose.gen.test \ ioctl_evdev-success-Xabbrev.gen.test \ @@ -7628,17 +9375,44 @@ ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test \ ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test \ ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test \ + ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test \ + ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test \ + ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test \ + ioctl_kd-success-Xraw.gen.test \ + ioctl_kd-success-Xverbose.gen.test \ + ioctl_kd-success-s1024.gen.test \ + ioctl_kd-success-s1024-Xabbrev.gen.test \ + ioctl_kd-success-s1024-Xraw.gen.test \ + ioctl_kd-success-s1024-Xverbose.gen.test \ ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test \ - ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test \ + ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test \ + ioctl_lirc-success.gen.test ioctl_loop.gen.test \ ioctl_loop-nv.gen.test ioctl_loop-v.gen.test \ ioctl_mtd.gen.test ioctl_mtd-success.gen.test \ ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test \ ioctl_perf-success.gen.test ioctl_ptp.gen.test \ - ioctl_random.gen.test ioctl_rtc.gen.test \ - ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test \ - ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test \ - ioctl_sg_io_v4.gen.test ioctl_sock.gen.test \ - ioctl_sock_gifconf.gen.test ioctl_tee.gen.test \ + ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test \ + ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test \ + ioctl_ptp-success-Xabbrev.gen.test \ + ioctl_ptp-success-Xraw.gen.test \ + ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test \ + ioctl_rtc.gen.test ioctl_rtc-success.gen.test \ + ioctl_rtc-v.gen.test ioctl_scsi.gen.test \ + ioctl_seccomp.gen.test \ + ioctl_seccomp--pidns-translation.gen.test \ + ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test \ + ioctl_seccomp-y-success.gen.test \ + ioctl_seccomp-y-success--pidns-translation.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test \ + ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test \ + ioctl_seccomp-y-success-Xabbrev.gen.test \ + ioctl_seccomp-y-success-Xraw.gen.test \ + ioctl_seccomp-y-success-Xverbose.gen.test \ + ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test \ + ioctl_sock.gen.test ioctl_sock_gifconf.gen.test \ + ioctl_tee.gen.test ioctl_termios.gen.test \ + ioctl_termios-v.gen.test ioctl_tiocm.gen.test \ ioctl_ubi.gen.test ioctl_ubi-success.gen.test \ ioctl_uffdio.gen.test ioctl_v4l2.gen.test \ ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test \ @@ -7652,10 +9426,11 @@ ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test \ ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test \ ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test \ - ioperm.gen.test iopl.gen.test ioprio.gen.test \ - ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test \ - ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test \ - ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ + ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test \ + ioprio.gen.test ioprio--pidns-translation.gen.test \ + ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test \ + ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test \ + ipc_msg.gen.test ipc_msg-Xabbrev.gen.test \ ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test \ ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test \ ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test \ @@ -7679,8 +9454,10 @@ landlock_restrict_self-y.gen.test lchown.gen.test \ lchown32.gen.test link.gen.test linkat.gen.test \ linkat--secontext.gen.test linkat--secontext_full.gen.test \ - lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test \ - madvise.gen.test maybe_switch_current_tcp.gen.test \ + linkat--secontext_full_mismatch.gen.test \ + linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test \ + lstat.gen.test lstat64.gen.test madvise.gen.test \ + maybe_switch_current_tcp.gen.test \ maybe_switch_current_tcp--quiet-thread-execve.gen.test \ mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test \ mbind-Xverbose.gen.test membarrier.gen.test \ @@ -7705,6 +9482,7 @@ mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test \ msg_control.gen.test msg_control-v.gen.test msg_name.gen.test \ munlockall.gen.test nanosleep.gen.test \ + net--decode-fds-all-netlink.gen.test \ net--decode-fds-dev-netlink.gen.test \ net--decode-fds-none-netlink.gen.test \ net--decode-fds-path-netlink.gen.test \ @@ -7726,21 +9504,38 @@ nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test \ nfnetlink_osf.gen.test nfnetlink_queue.gen.test \ nfnetlink_ulog.gen.test nlattr.gen.test \ - nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test \ - nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test \ - nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test \ - nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test \ - nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test \ - nlattr_ifla_port.gen.test \ + nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test \ + nlattr_cachereport-Xabbrev.gen.test \ + nlattr_cachereport-Xraw.gen.test \ + nlattr_cachereport-Xverbose.gen.test \ + nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test \ + nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test \ + nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test \ + nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test \ + nlattr_ifla_brport-Xabbrev.gen.test \ + nlattr_ifla_brport-Xraw.gen.test \ + nlattr_ifla_brport-Xverbose.gen.test \ + nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test \ + nlattr_ifla_protinfo.gen.test \ + nlattr_ifla_protinfo-Xabbrev.gen.test \ + nlattr_ifla_protinfo-Xraw.gen.test \ + nlattr_ifla_protinfo-Xverbose.gen.test \ nlattr_ifla_proto_down_reason.gen.test \ - nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test \ - nlattr_inet_diag_msg.gen.test \ + nlattr_ifla_vfinfo.gen.test \ + nlattr_ifla_vfinfo-Xabbrev.gen.test \ + nlattr_ifla_vfinfo-Xraw.gen.test \ + nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test \ + nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test \ + nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test \ + nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test \ nlattr_inet_diag_req_compat.gen.test \ nlattr_inet_diag_req_v2.gen.test \ nlattr_mdba_mdb_entry.gen.test \ nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test \ nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test \ - nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test \ + nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test \ + nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test \ + nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test \ nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test \ nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test \ nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test \ @@ -7752,21 +9547,26 @@ oldselect.gen.test oldselect-P.gen.test \ oldselect-efault.gen.test oldselect-efault-P.gen.test \ oldstat.gen.test open.gen.test open--secontext.gen.test \ - open--secontext_full.gen.test open_tree.gen.test \ + open--secontext_full.gen.test \ + open--secontext_full_mismatch.gen.test \ + open--secontext_mismatch.gen.test open_tree.gen.test \ open_tree-P.gen.test openat.gen.test \ openat--secontext.gen.test openat--secontext_full.gen.test \ - openat2.gen.test openat2-Xabbrev.gen.test \ - openat2-Xraw.gen.test openat2-Xverbose.gen.test \ - openat2-v.gen.test openat2-v-y.gen.test \ - openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test \ - openat2-v-y-Xverbose.gen.test openat2-y.gen.test \ - orphaned_process_group.gen.test osf_utimes.gen.test \ - pause.gen.test perf_event_open.gen.test \ + openat--secontext_full_mismatch.gen.test \ + openat--secontext_mismatch.gen.test openat2.gen.test \ + openat2-Xabbrev.gen.test openat2-Xraw.gen.test \ + openat2-Xverbose.gen.test openat2-v.gen.test \ + openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test \ + openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test \ + openat2-y.gen.test orphaned_process_group.gen.test \ + osf_utimes.gen.test pause.gen.test perf_event_open.gen.test \ perf_event_open_nonverbose.gen.test \ perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test \ personality-Xraw.gen.test personality-Xverbose.gen.test \ pidfd_getfd.gen.test pidfd_getfd-y.gen.test \ pidfd_getfd-yy.gen.test pidfd_open.gen.test \ + pidfd_open--decode-fd-all.gen.test \ + pidfd_open--decode-fd-none.gen.test \ pidfd_open--decode-fd-path.gen.test \ pidfd_open--decode-fd-pidfd.gen.test \ pidfd_open--decode-fd-socket.gen.test \ @@ -7789,35 +9589,46 @@ prctl-pac-enabled-keys-success-Xraw.gen.test \ prctl-pac-enabled-keys-success-Xverbose.gen.test \ prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test \ - prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test \ - prctl-sched-core-Xraw.gen.test \ - prctl-sched-core-Xverbose.gen.test \ + prctl-sched-core.gen.test \ prctl-sched-core--pidns-translation.gen.test \ prctl-sched-core--pidns-translation-Xabbrev.gen.test \ prctl-sched-core--pidns-translation-Xraw.gen.test \ prctl-sched-core--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-Xabbrev.gen.test \ + prctl-sched-core-Xraw.gen.test \ + prctl-sched-core-Xverbose.gen.test \ prctl-sched-core-success.gen.test \ - prctl-sched-core-success-Xabbrev.gen.test \ - prctl-sched-core-success-Xraw.gen.test \ - prctl-sched-core-success-Xverbose.gen.test \ prctl-sched-core-success--pidns-translation.gen.test \ prctl-sched-core-success--pidns-translation-Xabbrev.gen.test \ prctl-sched-core-success--pidns-translation-Xraw.gen.test \ prctl-sched-core-success--pidns-translation-Xverbose.gen.test \ + prctl-sched-core-success-Xabbrev.gen.test \ + prctl-sched-core-success-Xraw.gen.test \ + prctl-sched-core-success-Xverbose.gen.test \ prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test \ prctl-securebits-success.gen.test \ prctl-securebits-success-Xabbrev.gen.test \ prctl-securebits-success-Xraw.gen.test \ prctl-securebits-success-Xverbose.gen.test \ prctl-set-ptracer-success.gen.test \ - prctl-set-ptracer-success-Xabbrev.gen.test \ - prctl-set-ptracer-success-Xraw.gen.test \ - prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xabbrev.gen.test \ prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xraw.gen.test \ prctl-set-ptracer-success-Xraw--pidns-translation.gen.test \ + prctl-set-ptracer-success-Xverbose.gen.test \ prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test \ - prctl-spec-inject.gen.test prctl-sve.gen.test \ + prctl-set_vma.gen.test prctl-sme.gen.test \ + prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test \ + prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test \ + prctl-sme-success-Xabbrev.gen.test \ + prctl-sme-success-Xraw.gen.test \ + prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test \ + prctl-sve.gen.test prctl-sve-Xabbrev.gen.test \ + prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test \ + prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test \ + prctl-sve-success-Xraw.gen.test \ + prctl-sve-success-Xverbose.gen.test \ prctl-syscall-user-dispatch.gen.test \ prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test \ prctl-tagged-addr-Xraw.gen.test \ @@ -7840,15 +9651,22 @@ prlimit64-success.gen.test \ prlimit64-success--pidns-translation.gen.test \ process_madvise.gen.test process_madvise-y.gen.test \ - process_madvise-yy.gen.test process_vm_readv.gen.test \ + process_madvise-yy.gen.test process_mrelease.gen.test \ + process_mrelease-y.gen.test process_vm_readv.gen.test \ process_vm_readv--pidns-translation.gen.test \ process_vm_writev.gen.test \ process_vm_writev--pidns-translation.gen.test \ pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test \ - ptrace_syscall_info.gen.test pwritev.gen.test \ - quotactl.gen.test quotactl-success.gen.test \ - quotactl-success-v.gen.test quotactl-Xabbrev.gen.test \ + ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test \ + ptrace-Xverbose.gen.test ptrace-y.gen.test \ + ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test \ + ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test \ + ptrace_syscall_info-Xabbrev.gen.test \ + ptrace_syscall_info-Xraw.gen.test \ + ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test \ + quotactl.gen.test quotactl-Xabbrev.gen.test \ quotactl-Xraw.gen.test quotactl-Xverbose.gen.test \ + quotactl-success.gen.test quotactl-success-v.gen.test \ quotactl-v.gen.test quotactl-xfs.gen.test \ quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test \ quotactl-xfs-v.gen.test quotactl_fd.gen.test \ @@ -7883,12 +9701,15 @@ sched_xetscheduler--pidns-translation.gen.test \ sched_yield.gen.test seccomp-filter.gen.test \ seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test \ - select.gen.test select-P.gen.test semop.gen.test \ - semop-indirect.gen.test semtimedop.gen.test \ + seccomp_get_notif_sizes.gen.test \ + seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test \ + segv_pkuerr.gen.test select.gen.test select-P.gen.test \ + semop.gen.test semop-indirect.gen.test semtimedop.gen.test \ semtimedop-ipc.gen.test semtimedop_time64.gen.test \ sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test \ set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test \ - set_mempolicy-Xverbose.gen.test setdomainname.gen.test \ + set_mempolicy-Xverbose.gen.test \ + set_mempolicy_home_node.gen.test setdomainname.gen.test \ setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test \ setfsuid32.gen.test setgid.gen.test setgid32.gen.test \ setgroups.gen.test setgroups32.gen.test sethostname.gen.test \ @@ -7908,8 +9729,17 @@ so_peercred-Xverbose.gen.test sock_filter-v.gen.test \ sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test \ sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test \ - sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test \ - socketcall.gen.test sockopt-sol_netlink.gen.test \ + sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test \ + sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test \ + sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test \ + sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test \ + sockopt-sol_socket-Xabbrev.gen.test \ + sockopt-sol_socket-Xraw.gen.test \ + sockopt-sol_socket-Xverbose.gen.test \ + sockopt-sol_socket-success.gen.test \ + sockopt-sol_socket-success-Xabbrev.gen.test \ + sockopt-sol_socket-success-Xraw.gen.test \ + sockopt-sol_socket-success-Xverbose.gen.test \ sockopt-timestamp.gen.test splice.gen.test stat.gen.test \ stat64.gen.test statfs.gen.test statfs64.gen.test \ status-all.gen.test status-failed.gen.test \ @@ -7927,6 +9757,7 @@ strace--absolute-timestamps-format-unix-precision-ns.gen.test \ strace--absolute-timestamps-format-unix-precision-s.gen.test \ strace--absolute-timestamps-format-unix-precision-us.gen.test \ + strace--decode-pids-comm.gen.test \ strace--follow-forks-output-separately.gen.test \ strace--relative-timestamps.gen.test \ strace--relative-timestamps-ms.gen.test \ @@ -7936,6 +9767,8 @@ strace--strings-in-hex.gen.test \ strace--strings-in-hex-all.gen.test \ strace--strings-in-hex-non-ascii.gen.test \ + strace--strings-in-hex-non-ascii-chars.gen.test \ + strace--strings-in-hex-none.gen.test \ strace--syscall-times.gen.test \ strace--syscall-times-ms.gen.test \ strace--syscall-times-ns.gen.test \ @@ -7949,25 +9782,37 @@ strace--timestamps-unix-ms.gen.test \ strace--timestamps-unix-ns.gen.test \ strace--timestamps-unix-s.gen.test \ - strace--timestamps-unix-us.gen.test strace-n.gen.test \ - strace-x.gen.test strace-xx.gen.test swap.gen.test \ - sxetmask.gen.test symlink.gen.test symlinkat.gen.test \ - sync.gen.test sync_file_range.gen.test \ - sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test \ - tee.gen.test tgkill.gen.test \ + strace--timestamps-unix-us.gen.test \ + strace-Y-0123456789.gen.test strace-n.gen.test \ + strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test \ + swap.gen.test sxetmask.gen.test symlink.gen.test \ + symlinkat.gen.test sync.gen.test sync_file_range.gen.test \ + sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test \ + syslog.gen.test tee.gen.test tgkill.gen.test \ tgkill--pidns-translation.gen.test \ threads-execve--quiet-thread-execve.gen.test \ threads-execve-q.gen.test threads-execve-qq.gen.test \ threads-execve-qqq.gen.test time.gen.test \ timer_create.gen.test timer_xettime.gen.test \ - timerfd_xettime.gen.test times.gen.test times-fail.gen.test \ - tkill.gen.test tkill--pidns-translation.gen.test \ - trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test \ + timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test \ + times-Xraw.gen.test times-Xverbose.gen.test \ + times-fail.gen.test tkill.gen.test \ + tkill--pidns-translation.gen.test trace_clock.gen.test \ + trace_creds.gen.test trace_fstat.gen.test \ trace_fstatfs.gen.test trace_lstat.gen.test \ trace_personality_32.gen.test trace_personality_64.gen.test \ + trace_personality_all_32.gen.test \ + trace_personality_all_64.gen.test \ + trace_personality_all_x32.gen.test \ + trace_personality_number_32.gen.test \ + trace_personality_number_64.gen.test \ + trace_personality_number_x32.gen.test \ trace_personality_regex_32.gen.test \ trace_personality_regex_64.gen.test \ trace_personality_regex_x32.gen.test \ + trace_personality_statfs_32.gen.test \ + trace_personality_statfs_64.gen.test \ + trace_personality_statfs_x32.gen.test \ trace_personality_x32.gen.test trace_question.gen.test \ trace_stat.gen.test trace_stat_like.gen.test \ trace_statfs.gen.test trace_statfs_like.gen.test \ @@ -7980,9 +9825,9 @@ utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test \ utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test \ vhangup.gen.test vmsplice.gen.test wait4.gen.test \ - wait4-v.gen.test waitid.gen.test waitid-v.gen.test \ - waitpid.gen.test xattr.gen.test xattr-strings.gen.test \ - xet_robust_list.gen.test \ + wait4-v.gen.test waitid.gen.test waitid-Y.gen.test \ + waitid-v.gen.test waitpid.gen.test xattr.gen.test \ + xattr-strings.gen.test xet_robust_list.gen.test \ xet_robust_list--pidns-translation.gen.test xetitimer.gen.test \ xetpgid.gen.test xetpgid--pidns-translation.gen.test \ xetpriority.gen.test xetpriority--pidns-translation.gen.test \ @@ -8114,6 +9959,8 @@ status-detached.test \ status-none-threads.test \ status-unfinished-threads.test \ + strace--tips.test \ + strace--tips-full.test \ strace-C.test \ strace-D.test \ strace-DD.test \ @@ -8122,11 +9969,12 @@ strace-E-override.test \ strace-E-unset.test \ strace-S.test \ - strace-T.test \ + strace-T_upper.test \ strace-V.test \ strace-ff.test \ strace-log-merge-error.test \ strace-log-merge-suffix.test \ + strace-p-Y-p.test \ strace-r.test \ strace-t.test \ strace-tt.test \ @@ -8154,6 +10002,7 @@ GPL-2.0-or-later \ PTRACE_SEIZE.sh \ accept_compat.h \ + arch_prctl.sh \ attach-p-cmd.h \ caps-abbrev.awk \ caps.awk \ @@ -8161,6 +10010,7 @@ clock_adjtime-common.c \ clock_xettime-common.c \ count-f.expected \ + cur_audit_arch.h \ eventfd.expected \ fadvise.h \ fcntl-common.c \ @@ -8186,11 +10036,13 @@ match.awk \ net.expected \ nlattr_ifla.h \ + nlattr_ifla_af_inet6.h \ pipe.expected \ poke-range.expected \ poke-unaligned.expected \ prctl.sh \ prctl-success.sh \ + print_scno_getcwd.sh \ print_user_desc.c \ printsignal.c \ printxval.c \ @@ -8201,6 +10053,7 @@ qual_inject-error-signal.expected \ qual_inject-signal.expected \ qualify_personality.sh \ + qualify_personality_all.sh \ qualify_personality_empty.in \ quotactl.h \ regex.in \ @@ -8231,12 +10084,13 @@ strace--syscall-times-ms.expected \ strace--syscall-times-us.expected \ strace--syscall-times-ns.expected \ + strace--tips.exp \ strace-C.expected \ strace-D.expected \ strace-DDD.expected \ strace-E.expected \ strace-E-unset.expected \ - strace-T.expected \ + strace-T_upper.expected \ strace-ff.expected \ strace-k-demangle.expected \ strace-k-demangle.test \ @@ -8246,8 +10100,11 @@ strace-k.test \ strace-r.expected \ strace.supp \ + strauss_body.exp \ + strauss_head.exp \ sun_path.expected \ syntax.sh \ + time_enjoyment.h \ trace_clock.in \ trace_creds.in \ trace_fstat.in \ @@ -8255,9 +10112,15 @@ trace_lstat.in \ trace_personality_32.in \ trace_personality_64.in \ + trace_personality_number_32.in \ + trace_personality_number_64.in \ + trace_personality_number_x32.in \ trace_personality_regex_32.in \ trace_personality_regex_64.in \ trace_personality_regex_x32.in \ + trace_personality_statfs_32.in \ + trace_personality_statfs_64.in \ + trace_personality_statfs_x32.in \ trace_personality_x32.in \ trace_question.in \ trace_stat.in \ @@ -8364,6 +10227,14 @@ @rm -f access--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(access__secontext_full_OBJECTS) $(access__secontext_full_LDADD) $(LIBS) +access--secontext_full_mismatch$(EXEEXT): $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_full_mismatch_DEPENDENCIES) + @rm -f access--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_full_mismatch_OBJECTS) $(access__secontext_full_mismatch_LDADD) $(LIBS) + +access--secontext_mismatch$(EXEEXT): $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_DEPENDENCIES) $(EXTRA_access__secontext_mismatch_DEPENDENCIES) + @rm -f access--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(access__secontext_mismatch_OBJECTS) $(access__secontext_mismatch_LDADD) $(LIBS) + acct$(EXEEXT): $(acct_OBJECTS) $(acct_DEPENDENCIES) $(EXTRA_acct_DEPENDENCIES) @rm -f acct$(EXEEXT) $(AM_V_CCLD)$(LINK) $(acct_OBJECTS) $(acct_LDADD) $(LIBS) @@ -8392,6 +10263,42 @@ @rm -f answer$(EXEEXT) $(AM_V_CCLD)$(LINK) $(answer_OBJECTS) $(answer_LDADD) $(LIBS) +arch_prctl$(EXEEXT): $(arch_prctl_OBJECTS) $(arch_prctl_DEPENDENCIES) $(EXTRA_arch_prctl_DEPENDENCIES) + @rm -f arch_prctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_OBJECTS) $(arch_prctl_LDADD) $(LIBS) + +arch_prctl-Xabbrev$(EXEEXT): $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xabbrev_OBJECTS) $(arch_prctl_Xabbrev_LDADD) $(LIBS) + +arch_prctl-Xraw$(EXEEXT): $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_Xraw_DEPENDENCIES) + @rm -f arch_prctl-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xraw_OBJECTS) $(arch_prctl_Xraw_LDADD) $(LIBS) + +arch_prctl-Xverbose$(EXEEXT): $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_Xverbose_OBJECTS) $(arch_prctl_Xverbose_LDADD) $(LIBS) + +arch_prctl-success$(EXEEXT): $(arch_prctl_success_OBJECTS) $(arch_prctl_success_DEPENDENCIES) $(EXTRA_arch_prctl_success_DEPENDENCIES) + @rm -f arch_prctl-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_OBJECTS) $(arch_prctl_success_LDADD) $(LIBS) + +arch_prctl-success-Xabbrev$(EXEEXT): $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xabbrev_DEPENDENCIES) + @rm -f arch_prctl-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xabbrev_OBJECTS) $(arch_prctl_success_Xabbrev_LDADD) $(LIBS) + +arch_prctl-success-Xraw$(EXEEXT): $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xraw_DEPENDENCIES) + @rm -f arch_prctl-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xraw_OBJECTS) $(arch_prctl_success_Xraw_LDADD) $(LIBS) + +arch_prctl-success-Xverbose$(EXEEXT): $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_DEPENDENCIES) $(EXTRA_arch_prctl_success_Xverbose_DEPENDENCIES) + @rm -f arch_prctl-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(arch_prctl_success_Xverbose_OBJECTS) $(arch_prctl_success_Xverbose_LDADD) $(LIBS) + +at_fdcwd-pathmax$(EXEEXT): $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_DEPENDENCIES) $(EXTRA_at_fdcwd_pathmax_DEPENDENCIES) + @rm -f at_fdcwd-pathmax$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(at_fdcwd_pathmax_OBJECTS) $(at_fdcwd_pathmax_LDADD) $(LIBS) + attach-f-p$(EXEEXT): $(attach_f_p_OBJECTS) $(attach_f_p_DEPENDENCIES) $(EXTRA_attach_f_p_DEPENDENCIES) @rm -f attach-f-p$(EXEEXT) $(AM_V_CCLD)$(LINK) $(attach_f_p_OBJECTS) $(attach_f_p_LDADD) $(LIBS) @@ -8492,6 +10399,14 @@ @rm -f chmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_OBJECTS) $(chmod__secontext_full_LDADD) $(LIBS) +chmod--secontext_full_mismatch$(EXEEXT): $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_full_mismatch_OBJECTS) $(chmod__secontext_full_mismatch_LDADD) $(LIBS) + +chmod--secontext_mismatch$(EXEEXT): $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_chmod__secontext_mismatch_DEPENDENCIES) + @rm -f chmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(chmod__secontext_mismatch_OBJECTS) $(chmod__secontext_mismatch_LDADD) $(LIBS) + chown$(EXEEXT): $(chown_OBJECTS) $(chown_DEPENDENCIES) $(EXTRA_chown_DEPENDENCIES) @rm -f chown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(chown_OBJECTS) $(chown_LDADD) $(LIBS) @@ -8620,10 +10535,18 @@ @rm -f delete_module$(EXEEXT) $(AM_V_CCLD)$(LINK) $(delete_module_OBJECTS) $(delete_module_LDADD) $(LIBS) +dev--decode-fds-all$(EXEEXT): $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_DEPENDENCIES) $(EXTRA_dev__decode_fds_all_DEPENDENCIES) + @rm -f dev--decode-fds-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_all_OBJECTS) $(dev__decode_fds_all_LDADD) $(LIBS) + dev--decode-fds-dev$(EXEEXT): $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_DEPENDENCIES) $(EXTRA_dev__decode_fds_dev_DEPENDENCIES) @rm -f dev--decode-fds-dev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_dev_OBJECTS) $(dev__decode_fds_dev_LDADD) $(LIBS) +dev--decode-fds-none$(EXEEXT): $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_DEPENDENCIES) $(EXTRA_dev__decode_fds_none_DEPENDENCIES) + @rm -f dev--decode-fds-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(dev__decode_fds_none_OBJECTS) $(dev__decode_fds_none_LDADD) $(LIBS) + dev--decode-fds-path$(EXEEXT): $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_DEPENDENCIES) $(EXTRA_dev__decode_fds_path_DEPENDENCIES) @rm -f dev--decode-fds-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(dev__decode_fds_path_OBJECTS) $(dev__decode_fds_path_LDADD) $(LIBS) @@ -8736,6 +10659,14 @@ @rm -f execve--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve__secontext_full_OBJECTS) $(execve__secontext_full_LDADD) $(LIBS) +execve--secontext_full_mismatch$(EXEEXT): $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_full_mismatch_DEPENDENCIES) + @rm -f execve--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_full_mismatch_OBJECTS) $(execve__secontext_full_mismatch_LDADD) $(LIBS) + +execve--secontext_mismatch$(EXEEXT): $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_DEPENDENCIES) $(EXTRA_execve__secontext_mismatch_DEPENDENCIES) + @rm -f execve--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execve__secontext_mismatch_OBJECTS) $(execve__secontext_mismatch_LDADD) $(LIBS) + execve-v$(EXEEXT): $(execve_v_OBJECTS) $(execve_v_DEPENDENCIES) $(EXTRA_execve_v_DEPENDENCIES) @rm -f execve-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execve_v_OBJECTS) $(execve_v_LDADD) $(LIBS) @@ -8752,6 +10683,14 @@ @rm -f execveat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_OBJECTS) $(execveat__secontext_full_LDADD) $(LIBS) +execveat--secontext_full_mismatch$(EXEEXT): $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_full_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_full_mismatch_OBJECTS) $(execveat__secontext_full_mismatch_LDADD) $(LIBS) + +execveat--secontext_mismatch$(EXEEXT): $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_DEPENDENCIES) $(EXTRA_execveat__secontext_mismatch_DEPENDENCIES) + @rm -f execveat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(execveat__secontext_mismatch_OBJECTS) $(execveat__secontext_mismatch_LDADD) $(LIBS) + execveat-v$(EXEEXT): $(execveat_v_OBJECTS) $(execveat_v_DEPENDENCIES) $(EXTRA_execveat_v_DEPENDENCIES) @rm -f execveat-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(execveat_v_OBJECTS) $(execveat_v_LDADD) $(LIBS) @@ -8768,6 +10707,14 @@ @rm -f faccessat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_OBJECTS) $(faccessat__secontext_full_LDADD) $(LIBS) +faccessat--secontext_full_mismatch$(EXEEXT): $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_full_mismatch_OBJECTS) $(faccessat__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat--secontext_mismatch$(EXEEXT): $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat__secontext_mismatch_OBJECTS) $(faccessat__secontext_mismatch_LDADD) $(LIBS) + faccessat-P$(EXEEXT): $(faccessat_P_OBJECTS) $(faccessat_P_DEPENDENCIES) $(EXTRA_faccessat_P_DEPENDENCIES) @rm -f faccessat-P$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_P_OBJECTS) $(faccessat_P_LDADD) $(LIBS) @@ -8784,6 +10731,14 @@ @rm -f faccessat-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_OBJECTS) $(faccessat_y__secontext_full_LDADD) $(LIBS) +faccessat-y--secontext_full_mismatch$(EXEEXT): $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_full_mismatch_OBJECTS) $(faccessat_y__secontext_full_mismatch_LDADD) $(LIBS) + +faccessat-y--secontext_mismatch$(EXEEXT): $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_faccessat_y__secontext_mismatch_DEPENDENCIES) + @rm -f faccessat-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(faccessat_y__secontext_mismatch_OBJECTS) $(faccessat_y__secontext_mismatch_LDADD) $(LIBS) + faccessat-yy$(EXEEXT): $(faccessat_yy_OBJECTS) $(faccessat_yy_DEPENDENCIES) $(EXTRA_faccessat_yy_DEPENDENCIES) @rm -f faccessat-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(faccessat_yy_OBJECTS) $(faccessat_yy_LDADD) $(LIBS) @@ -8832,6 +10787,14 @@ @rm -f fanotify_mark--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_OBJECTS) $(fanotify_mark__secontext_full_LDADD) $(LIBS) +fanotify_mark--secontext_full_mismatch$(EXEEXT): $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_full_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_full_mismatch_OBJECTS) $(fanotify_mark__secontext_full_mismatch_LDADD) $(LIBS) + +fanotify_mark--secontext_mismatch$(EXEEXT): $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_DEPENDENCIES) $(EXTRA_fanotify_mark__secontext_mismatch_DEPENDENCIES) + @rm -f fanotify_mark--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fanotify_mark__secontext_mismatch_OBJECTS) $(fanotify_mark__secontext_mismatch_LDADD) $(LIBS) + fanotify_mark-Xabbrev$(EXEEXT): $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_DEPENDENCIES) $(EXTRA_fanotify_mark_Xabbrev_DEPENDENCIES) @rm -f fanotify_mark-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fanotify_mark_Xabbrev_OBJECTS) $(fanotify_mark_Xabbrev_LDADD) $(LIBS) @@ -8860,6 +10823,14 @@ @rm -f fchmod--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_OBJECTS) $(fchmod__secontext_full_LDADD) $(LIBS) +fchmod--secontext_full_mismatch$(EXEEXT): $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_full_mismatch_OBJECTS) $(fchmod__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod--secontext_mismatch$(EXEEXT): $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod__secontext_mismatch_OBJECTS) $(fchmod__secontext_mismatch_LDADD) $(LIBS) + fchmod-y$(EXEEXT): $(fchmod_y_OBJECTS) $(fchmod_y_DEPENDENCIES) $(EXTRA_fchmod_y_DEPENDENCIES) @rm -f fchmod-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y_OBJECTS) $(fchmod_y_LDADD) $(LIBS) @@ -8872,6 +10843,14 @@ @rm -f fchmod-y--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_OBJECTS) $(fchmod_y__secontext_full_LDADD) $(LIBS) +fchmod-y--secontext_full_mismatch$(EXEEXT): $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_full_mismatch_OBJECTS) $(fchmod_y__secontext_full_mismatch_LDADD) $(LIBS) + +fchmod-y--secontext_mismatch$(EXEEXT): $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmod_y__secontext_mismatch_DEPENDENCIES) + @rm -f fchmod-y--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmod_y__secontext_mismatch_OBJECTS) $(fchmod_y__secontext_mismatch_LDADD) $(LIBS) + fchmodat$(EXEEXT): $(fchmodat_OBJECTS) $(fchmodat_DEPENDENCIES) $(EXTRA_fchmodat_DEPENDENCIES) @rm -f fchmodat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat_OBJECTS) $(fchmodat_LDADD) $(LIBS) @@ -8884,6 +10863,14 @@ @rm -f fchmodat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_OBJECTS) $(fchmodat__secontext_full_LDADD) $(LIBS) +fchmodat--secontext_full_mismatch$(EXEEXT): $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_full_mismatch_OBJECTS) $(fchmodat__secontext_full_mismatch_LDADD) $(LIBS) + +fchmodat--secontext_mismatch$(EXEEXT): $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchmodat__secontext_mismatch_DEPENDENCIES) + @rm -f fchmodat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchmodat__secontext_mismatch_OBJECTS) $(fchmodat__secontext_mismatch_LDADD) $(LIBS) + fchown$(EXEEXT): $(fchown_OBJECTS) $(fchown_DEPENDENCIES) $(EXTRA_fchown_DEPENDENCIES) @rm -f fchown$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchown_OBJECTS) $(fchown_LDADD) $(LIBS) @@ -8904,6 +10891,14 @@ @rm -f fchownat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_OBJECTS) $(fchownat__secontext_full_LDADD) $(LIBS) +fchownat--secontext_full_mismatch$(EXEEXT): $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_full_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_full_mismatch_OBJECTS) $(fchownat__secontext_full_mismatch_LDADD) $(LIBS) + +fchownat--secontext_mismatch$(EXEEXT): $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_DEPENDENCIES) $(EXTRA_fchownat__secontext_mismatch_DEPENDENCIES) + @rm -f fchownat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(fchownat__secontext_mismatch_OBJECTS) $(fchownat__secontext_mismatch_LDADD) $(LIBS) + fcntl$(EXEEXT): $(fcntl_OBJECTS) $(fcntl_DEPENDENCIES) $(EXTRA_fcntl_DEPENDENCIES) @rm -f fcntl$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fcntl_OBJECTS) $(fcntl_LDADD) $(LIBS) @@ -8940,6 +10935,14 @@ @rm -f file_handle--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_OBJECTS) $(file_handle__secontext_full_LDADD) $(LIBS) +file_handle--secontext_full_mismatch$(EXEEXT): $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_full_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_full_mismatch_OBJECTS) $(file_handle__secontext_full_mismatch_LDADD) $(LIBS) + +file_handle--secontext_mismatch$(EXEEXT): $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_DEPENDENCIES) $(EXTRA_file_handle__secontext_mismatch_DEPENDENCIES) + @rm -f file_handle--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(file_handle__secontext_mismatch_OBJECTS) $(file_handle__secontext_mismatch_LDADD) $(LIBS) + filter-unavailable$(EXEEXT): $(filter_unavailable_OBJECTS) $(filter_unavailable_DEPENDENCIES) $(EXTRA_filter_unavailable_DEPENDENCIES) @rm -f filter-unavailable$(EXEEXT) $(AM_V_CCLD)$(LINK) $(filter_unavailable_OBJECTS) $(filter_unavailable_LDADD) $(LIBS) @@ -9056,6 +11059,10 @@ @rm -f futex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futex_OBJECTS) $(futex_LDADD) $(LIBS) +futex_waitv$(EXEEXT): $(futex_waitv_OBJECTS) $(futex_waitv_DEPENDENCIES) $(EXTRA_futex_waitv_DEPENDENCIES) + @rm -f futex_waitv$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(futex_waitv_OBJECTS) $(futex_waitv_LDADD) $(LIBS) + futimesat$(EXEEXT): $(futimesat_OBJECTS) $(futimesat_DEPENDENCIES) $(EXTRA_futimesat_DEPENDENCIES) @rm -f futimesat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(futimesat_OBJECTS) $(futimesat_LDADD) $(LIBS) @@ -9188,6 +11195,22 @@ @rm -f getsockname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(getsockname_OBJECTS) $(getsockname_LDADD) $(LIBS) +getsockname--secontext$(EXEEXT): $(getsockname__secontext_OBJECTS) $(getsockname__secontext_DEPENDENCIES) $(EXTRA_getsockname__secontext_DEPENDENCIES) + @rm -f getsockname--secontext$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_OBJECTS) $(getsockname__secontext_LDADD) $(LIBS) + +getsockname--secontext_full$(EXEEXT): $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_DEPENDENCIES) + @rm -f getsockname--secontext_full$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_OBJECTS) $(getsockname__secontext_full_LDADD) $(LIBS) + +getsockname--secontext_full_mismatch$(EXEEXT): $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_full_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_full_mismatch_OBJECTS) $(getsockname__secontext_full_mismatch_LDADD) $(LIBS) + +getsockname--secontext_mismatch$(EXEEXT): $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_DEPENDENCIES) $(EXTRA_getsockname__secontext_mismatch_DEPENDENCIES) + @rm -f getsockname--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(getsockname__secontext_mismatch_OBJECTS) $(getsockname__secontext_mismatch_LDADD) $(LIBS) + gettid$(EXEEXT): $(gettid_OBJECTS) $(gettid_DEPENDENCIES) $(EXTRA_gettid_DEPENDENCIES) @rm -f gettid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gettid_OBJECTS) $(gettid_LDADD) $(LIBS) @@ -9264,6 +11287,34 @@ @rm -f io_uring_register$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_register_OBJECTS) $(io_uring_register_LDADD) $(LIBS) +io_uring_register-Xabbrev$(EXEEXT): $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xabbrev_OBJECTS) $(io_uring_register_Xabbrev_LDADD) $(LIBS) + +io_uring_register-Xraw$(EXEEXT): $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_Xraw_DEPENDENCIES) + @rm -f io_uring_register-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xraw_OBJECTS) $(io_uring_register_Xraw_LDADD) $(LIBS) + +io_uring_register-Xverbose$(EXEEXT): $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_Xverbose_OBJECTS) $(io_uring_register_Xverbose_LDADD) $(LIBS) + +io_uring_register-success$(EXEEXT): $(io_uring_register_success_OBJECTS) $(io_uring_register_success_DEPENDENCIES) $(EXTRA_io_uring_register_success_DEPENDENCIES) + @rm -f io_uring_register-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_OBJECTS) $(io_uring_register_success_LDADD) $(LIBS) + +io_uring_register-success-Xabbrev$(EXEEXT): $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xabbrev_DEPENDENCIES) + @rm -f io_uring_register-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xabbrev_OBJECTS) $(io_uring_register_success_Xabbrev_LDADD) $(LIBS) + +io_uring_register-success-Xraw$(EXEEXT): $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xraw_DEPENDENCIES) + @rm -f io_uring_register-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xraw_OBJECTS) $(io_uring_register_success_Xraw_LDADD) $(LIBS) + +io_uring_register-success-Xverbose$(EXEEXT): $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_DEPENDENCIES) $(EXTRA_io_uring_register_success_Xverbose_DEPENDENCIES) + @rm -f io_uring_register-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(io_uring_register_success_Xverbose_OBJECTS) $(io_uring_register_success_Xverbose_LDADD) $(LIBS) + io_uring_setup$(EXEEXT): $(io_uring_setup_OBJECTS) $(io_uring_setup_DEPENDENCIES) $(EXTRA_io_uring_setup_DEPENDENCIES) @rm -f io_uring_setup$(EXEEXT) $(AM_V_CCLD)$(LINK) $(io_uring_setup_OBJECTS) $(io_uring_setup_LDADD) $(LIBS) @@ -9280,6 +11331,22 @@ @rm -f ioctl_block--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_block__pidns_translation_OBJECTS) $(ioctl_block__pidns_translation_LDADD) $(LIBS) +ioctl_counter$(EXEEXT): $(ioctl_counter_OBJECTS) $(ioctl_counter_DEPENDENCIES) $(EXTRA_ioctl_counter_DEPENDENCIES) + @rm -f ioctl_counter$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_OBJECTS) $(ioctl_counter_LDADD) $(LIBS) + +ioctl_counter-Xabbrev$(EXEEXT): $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_counter_Xabbrev_DEPENDENCIES) + @rm -f ioctl_counter-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xabbrev_OBJECTS) $(ioctl_counter_Xabbrev_LDADD) $(LIBS) + +ioctl_counter-Xraw$(EXEEXT): $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_DEPENDENCIES) $(EXTRA_ioctl_counter_Xraw_DEPENDENCIES) + @rm -f ioctl_counter-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xraw_OBJECTS) $(ioctl_counter_Xraw_LDADD) $(LIBS) + +ioctl_counter-Xverbose$(EXEEXT): $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_counter_Xverbose_DEPENDENCIES) + @rm -f ioctl_counter-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_counter_Xverbose_OBJECTS) $(ioctl_counter_Xverbose_LDADD) $(LIBS) + ioctl_dm$(EXEEXT): $(ioctl_dm_OBJECTS) $(ioctl_dm_DEPENDENCIES) $(EXTRA_ioctl_dm_DEPENDENCIES) @rm -f ioctl_dm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_dm_OBJECTS) $(ioctl_dm_LDADD) $(LIBS) @@ -9580,6 +11647,54 @@ @rm -f ioctl_inotify$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_inotify_OBJECTS) $(ioctl_inotify_LDADD) $(LIBS) +ioctl_kd$(EXEEXT): $(ioctl_kd_OBJECTS) $(ioctl_kd_DEPENDENCIES) $(EXTRA_ioctl_kd_DEPENDENCIES) + @rm -f ioctl_kd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_OBJECTS) $(ioctl_kd_LDADD) $(LIBS) + +ioctl_kd-Xabbrev$(EXEEXT): $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xabbrev_OBJECTS) $(ioctl_kd_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-Xraw$(EXEEXT): $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xraw_OBJECTS) $(ioctl_kd_Xraw_LDADD) $(LIBS) + +ioctl_kd-Xverbose$(EXEEXT): $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_Xverbose_OBJECTS) $(ioctl_kd_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success$(EXEEXT): $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_DEPENDENCIES) $(EXTRA_ioctl_kd_success_DEPENDENCIES) + @rm -f ioctl_kd-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_OBJECTS) $(ioctl_kd_success_LDADD) $(LIBS) + +ioctl_kd-success-Xabbrev$(EXEEXT): $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xabbrev_OBJECTS) $(ioctl_kd_success_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-Xraw$(EXEEXT): $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xraw_OBJECTS) $(ioctl_kd_success_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-Xverbose$(EXEEXT): $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_Xverbose_OBJECTS) $(ioctl_kd_success_Xverbose_LDADD) $(LIBS) + +ioctl_kd-success-s1024$(EXEEXT): $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_OBJECTS) $(ioctl_kd_success_s1024_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xabbrev$(EXEEXT): $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xabbrev_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xabbrev_OBJECTS) $(ioctl_kd_success_s1024_Xabbrev_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xraw$(EXEEXT): $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xraw_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xraw_OBJECTS) $(ioctl_kd_success_s1024_Xraw_LDADD) $(LIBS) + +ioctl_kd-success-s1024-Xverbose$(EXEEXT): $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_kd_success_s1024_Xverbose_DEPENDENCIES) + @rm -f ioctl_kd-success-s1024-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_kd_success_s1024_Xverbose_OBJECTS) $(ioctl_kd_success_s1024_Xverbose_LDADD) $(LIBS) + ioctl_kvm_run$(EXEEXT): $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_DEPENDENCIES) $(EXTRA_ioctl_kvm_run_DEPENDENCIES) @rm -f ioctl_kvm_run$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_OBJECTS) $(ioctl_kvm_run_LDADD) $(LIBS) @@ -9592,6 +11707,14 @@ @rm -f ioctl_kvm_run_auxstr_vcpu$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_kvm_run_auxstr_vcpu_OBJECTS) $(ioctl_kvm_run_auxstr_vcpu_LDADD) $(LIBS) +ioctl_lirc$(EXEEXT): $(ioctl_lirc_OBJECTS) $(ioctl_lirc_DEPENDENCIES) $(EXTRA_ioctl_lirc_DEPENDENCIES) + @rm -f ioctl_lirc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_OBJECTS) $(ioctl_lirc_LDADD) $(LIBS) + +ioctl_lirc-success$(EXEEXT): $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_DEPENDENCIES) $(EXTRA_ioctl_lirc_success_DEPENDENCIES) + @rm -f ioctl_lirc-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_lirc_success_OBJECTS) $(ioctl_lirc_success_LDADD) $(LIBS) + ioctl_loop$(EXEEXT): $(ioctl_loop_OBJECTS) $(ioctl_loop_DEPENDENCIES) $(EXTRA_ioctl_loop_DEPENDENCIES) @rm -f ioctl_loop$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_loop_OBJECTS) $(ioctl_loop_LDADD) $(LIBS) @@ -9632,6 +11755,34 @@ @rm -f ioctl_ptp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ptp_OBJECTS) $(ioctl_ptp_LDADD) $(LIBS) +ioctl_ptp-Xabbrev$(EXEEXT): $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xabbrev_OBJECTS) $(ioctl_ptp_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-Xraw$(EXEEXT): $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xraw_OBJECTS) $(ioctl_ptp_Xraw_LDADD) $(LIBS) + +ioctl_ptp-Xverbose$(EXEEXT): $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_Xverbose_OBJECTS) $(ioctl_ptp_Xverbose_LDADD) $(LIBS) + +ioctl_ptp-success$(EXEEXT): $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_DEPENDENCIES) + @rm -f ioctl_ptp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_OBJECTS) $(ioctl_ptp_success_LDADD) $(LIBS) + +ioctl_ptp-success-Xabbrev$(EXEEXT): $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xabbrev_OBJECTS) $(ioctl_ptp_success_Xabbrev_LDADD) $(LIBS) + +ioctl_ptp-success-Xraw$(EXEEXT): $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xraw_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xraw_OBJECTS) $(ioctl_ptp_success_Xraw_LDADD) $(LIBS) + +ioctl_ptp-success-Xverbose$(EXEEXT): $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_ptp_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_ptp-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_ptp_success_Xverbose_OBJECTS) $(ioctl_ptp_success_Xverbose_LDADD) $(LIBS) + ioctl_random$(EXEEXT): $(ioctl_random_OBJECTS) $(ioctl_random_DEPENDENCIES) $(EXTRA_ioctl_random_DEPENDENCIES) @rm -f ioctl_random$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_random_OBJECTS) $(ioctl_random_LDADD) $(LIBS) @@ -9652,6 +11803,54 @@ @rm -f ioctl_scsi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_scsi_OBJECTS) $(ioctl_scsi_LDADD) $(LIBS) +ioctl_seccomp$(EXEEXT): $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_DEPENDENCIES) $(EXTRA_ioctl_seccomp_DEPENDENCIES) + @rm -f ioctl_seccomp$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_OBJECTS) $(ioctl_seccomp_LDADD) $(LIBS) + +ioctl_seccomp--pidns-translation$(EXEEXT): $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp__pidns_translation_OBJECTS) $(ioctl_seccomp__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-success$(EXEEXT): $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_success_DEPENDENCIES) + @rm -f ioctl_seccomp-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_success_OBJECTS) $(ioctl_seccomp_success_LDADD) $(LIBS) + +ioctl_seccomp-y$(EXEEXT): $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_DEPENDENCIES) + @rm -f ioctl_seccomp-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_OBJECTS) $(ioctl_seccomp_y_LDADD) $(LIBS) + +ioctl_seccomp-y-success$(EXEEXT): $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_OBJECTS) $(ioctl_seccomp_y_success_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xraw_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success__pidns_translation_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success--pidns-translation-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_OBJECTS) $(ioctl_seccomp_y_success__pidns_translation_Xverbose_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xabbrev$(EXEEXT): $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xabbrev_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xabbrev_OBJECTS) $(ioctl_seccomp_y_success_Xabbrev_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xraw$(EXEEXT): $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xraw_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xraw_OBJECTS) $(ioctl_seccomp_y_success_Xraw_LDADD) $(LIBS) + +ioctl_seccomp-y-success-Xverbose$(EXEEXT): $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) $(EXTRA_ioctl_seccomp_y_success_Xverbose_DEPENDENCIES) + @rm -f ioctl_seccomp-y-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_seccomp_y_success_Xverbose_OBJECTS) $(ioctl_seccomp_y_success_Xverbose_LDADD) $(LIBS) + ioctl_sg_io_v3$(EXEEXT): $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_DEPENDENCIES) $(EXTRA_ioctl_sg_io_v3_DEPENDENCIES) @rm -f ioctl_sg_io_v3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_sg_io_v3_OBJECTS) $(ioctl_sg_io_v3_LDADD) $(LIBS) @@ -9672,6 +11871,18 @@ @rm -f ioctl_tee$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_tee_OBJECTS) $(ioctl_tee_LDADD) $(LIBS) +ioctl_termios$(EXEEXT): $(ioctl_termios_OBJECTS) $(ioctl_termios_DEPENDENCIES) $(EXTRA_ioctl_termios_DEPENDENCIES) + @rm -f ioctl_termios$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_OBJECTS) $(ioctl_termios_LDADD) $(LIBS) + +ioctl_termios-v$(EXEEXT): $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_DEPENDENCIES) $(EXTRA_ioctl_termios_v_DEPENDENCIES) + @rm -f ioctl_termios-v$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_termios_v_OBJECTS) $(ioctl_termios_v_LDADD) $(LIBS) + +ioctl_tiocm$(EXEEXT): $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_DEPENDENCIES) $(EXTRA_ioctl_tiocm_DEPENDENCIES) + @rm -f ioctl_tiocm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_tiocm_OBJECTS) $(ioctl_tiocm_LDADD) $(LIBS) + ioctl_ubi$(EXEEXT): $(ioctl_ubi_OBJECTS) $(ioctl_ubi_DEPENDENCIES) $(EXTRA_ioctl_ubi_DEPENDENCIES) @rm -f ioctl_ubi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_ubi_OBJECTS) $(ioctl_ubi_LDADD) $(LIBS) @@ -9752,6 +11963,10 @@ @rm -f ioctl_watchdog$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioctl_watchdog_OBJECTS) $(ioctl_watchdog_LDADD) $(LIBS) +ioctl_winsize$(EXEEXT): $(ioctl_winsize_OBJECTS) $(ioctl_winsize_DEPENDENCIES) $(EXTRA_ioctl_winsize_DEPENDENCIES) + @rm -f ioctl_winsize$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ioctl_winsize_OBJECTS) $(ioctl_winsize_LDADD) $(LIBS) + ioperm$(EXEEXT): $(ioperm_OBJECTS) $(ioperm_DEPENDENCIES) $(EXTRA_ioperm_DEPENDENCIES) @rm -f ioperm$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ioperm_OBJECTS) $(ioperm_LDADD) $(LIBS) @@ -9984,6 +12199,14 @@ @rm -f linkat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_OBJECTS) $(linkat__secontext_full_LDADD) $(LIBS) +linkat--secontext_full_mismatch$(EXEEXT): $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_full_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_full_mismatch_OBJECTS) $(linkat__secontext_full_mismatch_LDADD) $(LIBS) + +linkat--secontext_mismatch$(EXEEXT): $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_DEPENDENCIES) $(EXTRA_linkat__secontext_mismatch_DEPENDENCIES) + @rm -f linkat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(linkat__secontext_mismatch_OBJECTS) $(linkat__secontext_mismatch_LDADD) $(LIBS) + list_sigaction_signum$(EXEEXT): $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_DEPENDENCIES) $(EXTRA_list_sigaction_signum_DEPENDENCIES) @rm -f list_sigaction_signum$(EXEEXT) $(AM_V_CCLD)$(LINK) $(list_sigaction_signum_OBJECTS) $(list_sigaction_signum_LDADD) $(LIBS) @@ -10256,6 +12479,10 @@ @rm -f nanosleep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nanosleep_OBJECTS) $(nanosleep_LDADD) $(LIBS) +net--decode-fds-all-netlink$(EXEEXT): $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_all_netlink_DEPENDENCIES) + @rm -f net--decode-fds-all-netlink$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(net__decode_fds_all_netlink_OBJECTS) $(net__decode_fds_all_netlink_LDADD) $(LIBS) + net--decode-fds-dev-netlink$(EXEEXT): $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_DEPENDENCIES) $(EXTRA_net__decode_fds_dev_netlink_DEPENDENCIES) @rm -f net--decode-fds-dev-netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(net__decode_fds_dev_netlink_OBJECTS) $(net__decode_fds_dev_netlink_LDADD) $(LIBS) @@ -10448,6 +12675,22 @@ @rm -f nlattr_br_port_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_br_port_msg_OBJECTS) $(nlattr_br_port_msg_LDADD) $(LIBS) +nlattr_cachereport$(EXEEXT): $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_DEPENDENCIES) $(EXTRA_nlattr_cachereport_DEPENDENCIES) + @rm -f nlattr_cachereport$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_OBJECTS) $(nlattr_cachereport_LDADD) $(LIBS) + +nlattr_cachereport-Xabbrev$(EXEEXT): $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_cachereport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xabbrev_OBJECTS) $(nlattr_cachereport_Xabbrev_LDADD) $(LIBS) + +nlattr_cachereport-Xraw$(EXEEXT): $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xraw_DEPENDENCIES) + @rm -f nlattr_cachereport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xraw_OBJECTS) $(nlattr_cachereport_Xraw_LDADD) $(LIBS) + +nlattr_cachereport-Xverbose$(EXEEXT): $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_cachereport_Xverbose_DEPENDENCIES) + @rm -f nlattr_cachereport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_cachereport_Xverbose_OBJECTS) $(nlattr_cachereport_Xverbose_LDADD) $(LIBS) + nlattr_crypto_user_alg$(EXEEXT): $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_DEPENDENCIES) $(EXTRA_nlattr_crypto_user_alg_DEPENDENCIES) @rm -f nlattr_crypto_user_alg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_crypto_user_alg_OBJECTS) $(nlattr_crypto_user_alg_LDADD) $(LIBS) @@ -10480,6 +12723,18 @@ @rm -f nlattr_ifla_brport$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_OBJECTS) $(nlattr_ifla_brport_LDADD) $(LIBS) +nlattr_ifla_brport-Xabbrev$(EXEEXT): $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xabbrev_OBJECTS) $(nlattr_ifla_brport_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_brport-Xraw$(EXEEXT): $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xraw_OBJECTS) $(nlattr_ifla_brport_Xraw_LDADD) $(LIBS) + +nlattr_ifla_brport-Xverbose$(EXEEXT): $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_brport_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_brport-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_brport_Xverbose_OBJECTS) $(nlattr_ifla_brport_Xverbose_LDADD) $(LIBS) + nlattr_ifla_linkinfo$(EXEEXT): $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_linkinfo_DEPENDENCIES) @rm -f nlattr_ifla_linkinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_linkinfo_OBJECTS) $(nlattr_ifla_linkinfo_LDADD) $(LIBS) @@ -10488,10 +12743,42 @@ @rm -f nlattr_ifla_port$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_port_OBJECTS) $(nlattr_ifla_port_LDADD) $(LIBS) +nlattr_ifla_protinfo$(EXEEXT): $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_OBJECTS) $(nlattr_ifla_protinfo_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xabbrev_OBJECTS) $(nlattr_ifla_protinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xraw$(EXEEXT): $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xraw_OBJECTS) $(nlattr_ifla_protinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_protinfo-Xverbose$(EXEEXT): $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_protinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_protinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_protinfo_Xverbose_OBJECTS) $(nlattr_ifla_protinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_proto_down_reason$(EXEEXT): $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_DEPENDENCIES) $(EXTRA_nlattr_ifla_proto_down_reason_DEPENDENCIES) @rm -f nlattr_ifla_proto_down_reason$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_proto_down_reason_OBJECTS) $(nlattr_ifla_proto_down_reason_LDADD) $(LIBS) +nlattr_ifla_vfinfo$(EXEEXT): $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_OBJECTS) $(nlattr_ifla_vfinfo_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xabbrev$(EXEEXT): $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xabbrev_OBJECTS) $(nlattr_ifla_vfinfo_Xabbrev_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xraw$(EXEEXT): $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xraw_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xraw_OBJECTS) $(nlattr_ifla_vfinfo_Xraw_LDADD) $(LIBS) + +nlattr_ifla_vfinfo-Xverbose$(EXEEXT): $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifla_vfinfo_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifla_vfinfo-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifla_vfinfo_Xverbose_OBJECTS) $(nlattr_ifla_vfinfo_Xverbose_LDADD) $(LIBS) + nlattr_ifla_xdp$(EXEEXT): $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_DEPENDENCIES) $(EXTRA_nlattr_ifla_xdp_DEPENDENCIES) @rm -f nlattr_ifla_xdp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_OBJECTS) $(nlattr_ifla_xdp_LDADD) $(LIBS) @@ -10500,6 +12787,22 @@ @rm -f nlattr_ifla_xdp-y$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_ifla_xdp_y_OBJECTS) $(nlattr_ifla_xdp_y_LDADD) $(LIBS) +nlattr_ifstats$(EXEEXT): $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_DEPENDENCIES) $(EXTRA_nlattr_ifstats_DEPENDENCIES) + @rm -f nlattr_ifstats$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_OBJECTS) $(nlattr_ifstats_LDADD) $(LIBS) + +nlattr_ifstats-Xabbrev$(EXEEXT): $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xabbrev_DEPENDENCIES) + @rm -f nlattr_ifstats-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xabbrev_OBJECTS) $(nlattr_ifstats_Xabbrev_LDADD) $(LIBS) + +nlattr_ifstats-Xraw$(EXEEXT): $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xraw_DEPENDENCIES) + @rm -f nlattr_ifstats-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xraw_OBJECTS) $(nlattr_ifstats_Xraw_LDADD) $(LIBS) + +nlattr_ifstats-Xverbose$(EXEEXT): $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_ifstats_Xverbose_DEPENDENCIES) + @rm -f nlattr_ifstats-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_ifstats_Xverbose_OBJECTS) $(nlattr_ifstats_Xverbose_LDADD) $(LIBS) + nlattr_inet_diag_msg$(EXEEXT): $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_DEPENDENCIES) $(EXTRA_nlattr_inet_diag_msg_DEPENDENCIES) @rm -f nlattr_inet_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_inet_diag_msg_OBJECTS) $(nlattr_inet_diag_msg_LDADD) $(LIBS) @@ -10536,6 +12839,22 @@ @rm -f nlattr_netlink_diag_msg$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_netlink_diag_msg_OBJECTS) $(nlattr_netlink_diag_msg_LDADD) $(LIBS) +nlattr_nhmsg$(EXEEXT): $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_DEPENDENCIES) + @rm -f nlattr_nhmsg$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_OBJECTS) $(nlattr_nhmsg_LDADD) $(LIBS) + +nlattr_nhmsg-Xabbrev$(EXEEXT): $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xabbrev_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xabbrev_OBJECTS) $(nlattr_nhmsg_Xabbrev_LDADD) $(LIBS) + +nlattr_nhmsg-Xraw$(EXEEXT): $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xraw_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xraw_OBJECTS) $(nlattr_nhmsg_Xraw_LDADD) $(LIBS) + +nlattr_nhmsg-Xverbose$(EXEEXT): $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_DEPENDENCIES) $(EXTRA_nlattr_nhmsg_Xverbose_DEPENDENCIES) + @rm -f nlattr_nhmsg-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(nlattr_nhmsg_Xverbose_OBJECTS) $(nlattr_nhmsg_Xverbose_LDADD) $(LIBS) + nlattr_nlmsgerr$(EXEEXT): $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_DEPENDENCIES) $(EXTRA_nlattr_nlmsgerr_DEPENDENCIES) @rm -f nlattr_nlmsgerr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(nlattr_nlmsgerr_OBJECTS) $(nlattr_nlmsgerr_LDADD) $(LIBS) @@ -10648,6 +12967,14 @@ @rm -f open--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open__secontext_full_OBJECTS) $(open__secontext_full_LDADD) $(LIBS) +open--secontext_full_mismatch$(EXEEXT): $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_full_mismatch_DEPENDENCIES) + @rm -f open--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_full_mismatch_OBJECTS) $(open__secontext_full_mismatch_LDADD) $(LIBS) + +open--secontext_mismatch$(EXEEXT): $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_DEPENDENCIES) $(EXTRA_open__secontext_mismatch_DEPENDENCIES) + @rm -f open--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(open__secontext_mismatch_OBJECTS) $(open__secontext_mismatch_LDADD) $(LIBS) + open_tree$(EXEEXT): $(open_tree_OBJECTS) $(open_tree_DEPENDENCIES) $(EXTRA_open_tree_DEPENDENCIES) @rm -f open_tree$(EXEEXT) $(AM_V_CCLD)$(LINK) $(open_tree_OBJECTS) $(open_tree_LDADD) $(LIBS) @@ -10668,6 +12995,14 @@ @rm -f openat--secontext_full$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat__secontext_full_OBJECTS) $(openat__secontext_full_LDADD) $(LIBS) +openat--secontext_full_mismatch$(EXEEXT): $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_full_mismatch_DEPENDENCIES) + @rm -f openat--secontext_full_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_full_mismatch_OBJECTS) $(openat__secontext_full_mismatch_LDADD) $(LIBS) + +openat--secontext_mismatch$(EXEEXT): $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_DEPENDENCIES) $(EXTRA_openat__secontext_mismatch_DEPENDENCIES) + @rm -f openat--secontext_mismatch$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(openat__secontext_mismatch_OBJECTS) $(openat__secontext_mismatch_LDADD) $(LIBS) + openat2$(EXEEXT): $(openat2_OBJECTS) $(openat2_DEPENDENCIES) $(EXTRA_openat2_DEPENDENCIES) @rm -f openat2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(openat2_OBJECTS) $(openat2_LDADD) $(LIBS) @@ -10768,6 +13103,14 @@ @rm -f pidfd_open$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open_OBJECTS) $(pidfd_open_LDADD) $(LIBS) +pidfd_open--decode-fd-all$(EXEEXT): $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_all_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-all$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_all_OBJECTS) $(pidfd_open__decode_fd_all_LDADD) $(LIBS) + +pidfd_open--decode-fd-none$(EXEEXT): $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_none_DEPENDENCIES) + @rm -f pidfd_open--decode-fd-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_none_OBJECTS) $(pidfd_open__decode_fd_none_LDADD) $(LIBS) + pidfd_open--decode-fd-path$(EXEEXT): $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_DEPENDENCIES) $(EXTRA_pidfd_open__decode_fd_path_DEPENDENCIES) @rm -f pidfd_open--decode-fd-path$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pidfd_open__decode_fd_path_OBJECTS) $(pidfd_open__decode_fd_path_LDADD) $(LIBS) @@ -11052,6 +13395,42 @@ @rm -f prctl-set-ptracer-success-Xverbose--pidns-translation$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_set_ptracer_success_Xverbose__pidns_translation_OBJECTS) $(prctl_set_ptracer_success_Xverbose__pidns_translation_LDADD) $(LIBS) +prctl-set_vma$(EXEEXT): $(prctl_set_vma_OBJECTS) $(prctl_set_vma_DEPENDENCIES) $(EXTRA_prctl_set_vma_DEPENDENCIES) + @rm -f prctl-set_vma$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_set_vma_OBJECTS) $(prctl_set_vma_LDADD) $(LIBS) + +prctl-sme$(EXEEXT): $(prctl_sme_OBJECTS) $(prctl_sme_DEPENDENCIES) $(EXTRA_prctl_sme_DEPENDENCIES) + @rm -f prctl-sme$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_OBJECTS) $(prctl_sme_LDADD) $(LIBS) + +prctl-sme-Xabbrev$(EXEEXT): $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xabbrev_OBJECTS) $(prctl_sme_Xabbrev_LDADD) $(LIBS) + +prctl-sme-Xraw$(EXEEXT): $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_Xraw_DEPENDENCIES) + @rm -f prctl-sme-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xraw_OBJECTS) $(prctl_sme_Xraw_LDADD) $(LIBS) + +prctl-sme-Xverbose$(EXEEXT): $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_Xverbose_OBJECTS) $(prctl_sme_Xverbose_LDADD) $(LIBS) + +prctl-sme-success$(EXEEXT): $(prctl_sme_success_OBJECTS) $(prctl_sme_success_DEPENDENCIES) $(EXTRA_prctl_sme_success_DEPENDENCIES) + @rm -f prctl-sme-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_OBJECTS) $(prctl_sme_success_LDADD) $(LIBS) + +prctl-sme-success-Xabbrev$(EXEEXT): $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sme-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xabbrev_OBJECTS) $(prctl_sme_success_Xabbrev_LDADD) $(LIBS) + +prctl-sme-success-Xraw$(EXEEXT): $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xraw_DEPENDENCIES) + @rm -f prctl-sme-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xraw_OBJECTS) $(prctl_sme_success_Xraw_LDADD) $(LIBS) + +prctl-sme-success-Xverbose$(EXEEXT): $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sme_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sme-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sme_success_Xverbose_OBJECTS) $(prctl_sme_success_Xverbose_LDADD) $(LIBS) + prctl-spec-inject$(EXEEXT): $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_DEPENDENCIES) $(EXTRA_prctl_spec_inject_DEPENDENCIES) @rm -f prctl-spec-inject$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_spec_inject_OBJECTS) $(prctl_spec_inject_LDADD) $(LIBS) @@ -11060,6 +13439,34 @@ @rm -f prctl-sve$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_sve_OBJECTS) $(prctl_sve_LDADD) $(LIBS) +prctl-sve-Xabbrev$(EXEEXT): $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xabbrev_OBJECTS) $(prctl_sve_Xabbrev_LDADD) $(LIBS) + +prctl-sve-Xraw$(EXEEXT): $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_Xraw_DEPENDENCIES) + @rm -f prctl-sve-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xraw_OBJECTS) $(prctl_sve_Xraw_LDADD) $(LIBS) + +prctl-sve-Xverbose$(EXEEXT): $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_Xverbose_OBJECTS) $(prctl_sve_Xverbose_LDADD) $(LIBS) + +prctl-sve-success$(EXEEXT): $(prctl_sve_success_OBJECTS) $(prctl_sve_success_DEPENDENCIES) $(EXTRA_prctl_sve_success_DEPENDENCIES) + @rm -f prctl-sve-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_OBJECTS) $(prctl_sve_success_LDADD) $(LIBS) + +prctl-sve-success-Xabbrev$(EXEEXT): $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xabbrev_DEPENDENCIES) + @rm -f prctl-sve-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xabbrev_OBJECTS) $(prctl_sve_success_Xabbrev_LDADD) $(LIBS) + +prctl-sve-success-Xraw$(EXEEXT): $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xraw_DEPENDENCIES) + @rm -f prctl-sve-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xraw_OBJECTS) $(prctl_sve_success_Xraw_LDADD) $(LIBS) + +prctl-sve-success-Xverbose$(EXEEXT): $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_DEPENDENCIES) $(EXTRA_prctl_sve_success_Xverbose_DEPENDENCIES) + @rm -f prctl-sve-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(prctl_sve_success_Xverbose_OBJECTS) $(prctl_sve_success_Xverbose_LDADD) $(LIBS) + prctl-syscall-user-dispatch$(EXEEXT): $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_DEPENDENCIES) $(EXTRA_prctl_syscall_user_dispatch_DEPENDENCIES) @rm -f prctl-syscall-user-dispatch$(EXEEXT) $(AM_V_CCLD)$(LINK) $(prctl_syscall_user_dispatch_OBJECTS) $(prctl_syscall_user_dispatch_LDADD) $(LIBS) @@ -11200,6 +13607,14 @@ @rm -f process_madvise-yy$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_madvise_yy_OBJECTS) $(process_madvise_yy_LDADD) $(LIBS) +process_mrelease$(EXEEXT): $(process_mrelease_OBJECTS) $(process_mrelease_DEPENDENCIES) $(EXTRA_process_mrelease_DEPENDENCIES) + @rm -f process_mrelease$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_OBJECTS) $(process_mrelease_LDADD) $(LIBS) + +process_mrelease-y$(EXEEXT): $(process_mrelease_y_OBJECTS) $(process_mrelease_y_DEPENDENCIES) $(EXTRA_process_mrelease_y_DEPENDENCIES) + @rm -f process_mrelease-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(process_mrelease_y_OBJECTS) $(process_mrelease_y_LDADD) $(LIBS) + process_vm_readv$(EXEEXT): $(process_vm_readv_OBJECTS) $(process_vm_readv_DEPENDENCIES) $(EXTRA_process_vm_readv_DEPENDENCIES) @rm -f process_vm_readv$(EXEEXT) $(AM_V_CCLD)$(LINK) $(process_vm_readv_OBJECTS) $(process_vm_readv_LDADD) $(LIBS) @@ -11228,10 +13643,50 @@ @rm -f ptrace$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_OBJECTS) $(ptrace_LDADD) $(LIBS) +ptrace-Xabbrev$(EXEEXT): $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_Xabbrev_DEPENDENCIES) + @rm -f ptrace-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xabbrev_OBJECTS) $(ptrace_Xabbrev_LDADD) $(LIBS) + +ptrace-Xraw$(EXEEXT): $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_DEPENDENCIES) $(EXTRA_ptrace_Xraw_DEPENDENCIES) + @rm -f ptrace-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xraw_OBJECTS) $(ptrace_Xraw_LDADD) $(LIBS) + +ptrace-Xverbose$(EXEEXT): $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_Xverbose_DEPENDENCIES) + @rm -f ptrace-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_Xverbose_OBJECTS) $(ptrace_Xverbose_LDADD) $(LIBS) + +ptrace-y$(EXEEXT): $(ptrace_y_OBJECTS) $(ptrace_y_DEPENDENCIES) $(EXTRA_ptrace_y_DEPENDENCIES) + @rm -f ptrace-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_OBJECTS) $(ptrace_y_LDADD) $(LIBS) + +ptrace-y-Xabbrev$(EXEEXT): $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_y_Xabbrev_DEPENDENCIES) + @rm -f ptrace-y-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xabbrev_OBJECTS) $(ptrace_y_Xabbrev_LDADD) $(LIBS) + +ptrace-y-Xraw$(EXEEXT): $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_DEPENDENCIES) $(EXTRA_ptrace_y_Xraw_DEPENDENCIES) + @rm -f ptrace-y-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xraw_OBJECTS) $(ptrace_y_Xraw_LDADD) $(LIBS) + +ptrace-y-Xverbose$(EXEEXT): $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_y_Xverbose_DEPENDENCIES) + @rm -f ptrace-y-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_y_Xverbose_OBJECTS) $(ptrace_y_Xverbose_LDADD) $(LIBS) + ptrace_syscall_info$(EXEEXT): $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_DEPENDENCIES) @rm -f ptrace_syscall_info$(EXEEXT) $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_OBJECTS) $(ptrace_syscall_info_LDADD) $(LIBS) +ptrace_syscall_info-Xabbrev$(EXEEXT): $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xabbrev_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xabbrev_OBJECTS) $(ptrace_syscall_info_Xabbrev_LDADD) $(LIBS) + +ptrace_syscall_info-Xraw$(EXEEXT): $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xraw_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xraw_OBJECTS) $(ptrace_syscall_info_Xraw_LDADD) $(LIBS) + +ptrace_syscall_info-Xverbose$(EXEEXT): $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_DEPENDENCIES) $(EXTRA_ptrace_syscall_info_Xverbose_DEPENDENCIES) + @rm -f ptrace_syscall_info-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(ptrace_syscall_info_Xverbose_OBJECTS) $(ptrace_syscall_info_Xverbose_LDADD) $(LIBS) + pwritev$(EXEEXT): $(pwritev_OBJECTS) $(pwritev_DEPENDENCIES) $(EXTRA_pwritev_DEPENDENCIES) @rm -f pwritev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pwritev_OBJECTS) $(pwritev_LDADD) $(LIBS) @@ -11540,6 +13995,22 @@ @rm -f seccomp_get_action_avail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(seccomp_get_action_avail_OBJECTS) $(seccomp_get_action_avail_LDADD) $(LIBS) +seccomp_get_notif_sizes$(EXEEXT): $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_OBJECTS) $(seccomp_get_notif_sizes_LDADD) $(LIBS) + +seccomp_get_notif_sizes-success$(EXEEXT): $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_DEPENDENCIES) $(EXTRA_seccomp_get_notif_sizes_success_DEPENDENCIES) + @rm -f seccomp_get_notif_sizes-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(seccomp_get_notif_sizes_success_OBJECTS) $(seccomp_get_notif_sizes_success_LDADD) $(LIBS) + +segv_accerr$(EXEEXT): $(segv_accerr_OBJECTS) $(segv_accerr_DEPENDENCIES) $(EXTRA_segv_accerr_DEPENDENCIES) + @rm -f segv_accerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_accerr_OBJECTS) $(segv_accerr_LDADD) $(LIBS) + +segv_pkuerr$(EXEEXT): $(segv_pkuerr_OBJECTS) $(segv_pkuerr_DEPENDENCIES) $(EXTRA_segv_pkuerr_DEPENDENCIES) + @rm -f segv_pkuerr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(segv_pkuerr_OBJECTS) $(segv_pkuerr_LDADD) $(LIBS) + select$(EXEEXT): $(select_OBJECTS) $(select_DEPENDENCIES) $(EXTRA_select_DEPENDENCIES) @rm -f select$(EXEEXT) $(AM_V_CCLD)$(LINK) $(select_OBJECTS) $(select_LDADD) $(LIBS) @@ -11592,6 +14063,10 @@ @rm -f set_mempolicy-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_mempolicy_Xverbose_OBJECTS) $(set_mempolicy_Xverbose_LDADD) $(LIBS) +set_mempolicy_home_node$(EXEEXT): $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_DEPENDENCIES) $(EXTRA_set_mempolicy_home_node_DEPENDENCIES) + @rm -f set_mempolicy_home_node$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(set_mempolicy_home_node_OBJECTS) $(set_mempolicy_home_node_LDADD) $(LIBS) + set_ptracer_any$(EXEEXT): $(set_ptracer_any_OBJECTS) $(set_ptracer_any_DEPENDENCIES) $(EXTRA_set_ptracer_any_DEPENDENCIES) @rm -f set_ptracer_any$(EXEEXT) $(AM_V_CCLD)$(LINK) $(set_ptracer_any_OBJECTS) $(set_ptracer_any_LDADD) $(LIBS) @@ -11812,14 +14287,26 @@ @rm -f sockaddr_xlat-Xabbrev$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_OBJECTS) $(sockaddr_xlat_Xabbrev_LDADD) $(LIBS) +sockaddr_xlat-Xabbrev-y$(EXEEXT): $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xabbrev_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xabbrev-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xabbrev_y_OBJECTS) $(sockaddr_xlat_Xabbrev_y_LDADD) $(LIBS) + sockaddr_xlat-Xraw$(EXEEXT): $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_DEPENDENCIES) @rm -f sockaddr_xlat-Xraw$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_OBJECTS) $(sockaddr_xlat_Xraw_LDADD) $(LIBS) +sockaddr_xlat-Xraw-y$(EXEEXT): $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xraw_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xraw-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xraw_y_OBJECTS) $(sockaddr_xlat_Xraw_y_LDADD) $(LIBS) + sockaddr_xlat-Xverbose$(EXEEXT): $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_DEPENDENCIES) @rm -f sockaddr_xlat-Xverbose$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_OBJECTS) $(sockaddr_xlat_Xverbose_LDADD) $(LIBS) +sockaddr_xlat-Xverbose-y$(EXEEXT): $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_DEPENDENCIES) $(EXTRA_sockaddr_xlat_Xverbose_y_DEPENDENCIES) + @rm -f sockaddr_xlat-Xverbose-y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockaddr_xlat_Xverbose_y_OBJECTS) $(sockaddr_xlat_Xverbose_y_LDADD) $(LIBS) + socketcall$(EXEEXT): $(socketcall_OBJECTS) $(socketcall_DEPENDENCIES) $(EXTRA_socketcall_DEPENDENCIES) @rm -f socketcall$(EXEEXT) $(AM_V_CCLD)$(LINK) $(socketcall_OBJECTS) $(socketcall_LDADD) $(LIBS) @@ -11828,6 +14315,38 @@ @rm -f sockopt-sol_netlink$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_sol_netlink_OBJECTS) $(sockopt_sol_netlink_LDADD) $(LIBS) +sockopt-sol_socket$(EXEEXT): $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_DEPENDENCIES) + @rm -f sockopt-sol_socket$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_OBJECTS) $(sockopt_sol_socket_LDADD) $(LIBS) + +sockopt-sol_socket-Xabbrev$(EXEEXT): $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xabbrev_OBJECTS) $(sockopt_sol_socket_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-Xraw$(EXEEXT): $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xraw_OBJECTS) $(sockopt_sol_socket_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-Xverbose$(EXEEXT): $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_Xverbose_OBJECTS) $(sockopt_sol_socket_Xverbose_LDADD) $(LIBS) + +sockopt-sol_socket-success$(EXEEXT): $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_DEPENDENCIES) + @rm -f sockopt-sol_socket-success$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_OBJECTS) $(sockopt_sol_socket_success_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xabbrev$(EXEEXT): $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xabbrev_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xabbrev_OBJECTS) $(sockopt_sol_socket_success_Xabbrev_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xraw$(EXEEXT): $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xraw_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xraw_OBJECTS) $(sockopt_sol_socket_success_Xraw_LDADD) $(LIBS) + +sockopt-sol_socket-success-Xverbose$(EXEEXT): $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_DEPENDENCIES) $(EXTRA_sockopt_sol_socket_success_Xverbose_DEPENDENCIES) + @rm -f sockopt-sol_socket-success-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sockopt_sol_socket_success_Xverbose_OBJECTS) $(sockopt_sol_socket_success_Xverbose_LDADD) $(LIBS) + sockopt-timestamp$(EXEEXT): $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_DEPENDENCIES) $(EXTRA_sockopt_timestamp_DEPENDENCIES) @rm -f sockopt-timestamp$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sockopt_timestamp_OBJECTS) $(sockopt_timestamp_LDADD) $(LIBS) @@ -11916,6 +14435,10 @@ @rm -f statx$(EXEEXT) $(AM_V_CCLD)$(LINK) $(statx_OBJECTS) $(statx_LDADD) $(LIBS) +strace--decode-pids-comm$(EXEEXT): $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_DEPENDENCIES) $(EXTRA_strace__decode_pids_comm_DEPENDENCIES) + @rm -f strace--decode-pids-comm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__decode_pids_comm_OBJECTS) $(strace__decode_pids_comm_LDADD) $(LIBS) + strace--strings-in-hex$(EXEEXT): $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_DEPENDENCIES) @rm -f strace--strings-in-hex$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_OBJECTS) $(strace__strings_in_hex_LDADD) $(LIBS) @@ -11928,10 +14451,34 @@ @rm -f strace--strings-in-hex-non-ascii$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_OBJECTS) $(strace__strings_in_hex_non_ascii_LDADD) $(LIBS) +strace--strings-in-hex-non-ascii-chars$(EXEEXT): $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_non_ascii_chars_DEPENDENCIES) + @rm -f strace--strings-in-hex-non-ascii-chars$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_non_ascii_chars_OBJECTS) $(strace__strings_in_hex_non_ascii_chars_LDADD) $(LIBS) + +strace--strings-in-hex-none$(EXEEXT): $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_DEPENDENCIES) $(EXTRA_strace__strings_in_hex_none_DEPENDENCIES) + @rm -f strace--strings-in-hex-none$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace__strings_in_hex_none_OBJECTS) $(strace__strings_in_hex_none_LDADD) $(LIBS) + +strace-Y-0123456789$(EXEEXT): $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_DEPENDENCIES) $(EXTRA_strace_Y_0123456789_DEPENDENCIES) + @rm -f strace-Y-0123456789$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_Y_0123456789_OBJECTS) $(strace_Y_0123456789_LDADD) $(LIBS) + strace-n$(EXEEXT): $(strace_n_OBJECTS) $(strace_n_DEPENDENCIES) $(EXTRA_strace_n_DEPENDENCIES) @rm -f strace-n$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_n_OBJECTS) $(strace_n_LDADD) $(LIBS) +strace-no-x$(EXEEXT): $(strace_no_x_OBJECTS) $(strace_no_x_DEPENDENCIES) $(EXTRA_strace_no_x_DEPENDENCIES) + @rm -f strace-no-x$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_no_x_OBJECTS) $(strace_no_x_LDADD) $(LIBS) + +strace-p-Y-p2$(EXEEXT): $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_DEPENDENCIES) $(EXTRA_strace_p_Y_p2_DEPENDENCIES) + @rm -f strace-p-Y-p2$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p_Y_p2_OBJECTS) $(strace_p_Y_p2_LDADD) $(LIBS) + +strace-p1-Y-p$(EXEEXT): $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_DEPENDENCIES) $(EXTRA_strace_p1_Y_p_DEPENDENCIES) + @rm -f strace-p1-Y-p$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(strace_p1_Y_p_OBJECTS) $(strace_p1_Y_p_LDADD) $(LIBS) + strace-x$(EXEEXT): $(strace_x_OBJECTS) $(strace_x_DEPENDENCIES) $(EXTRA_strace_x_DEPENDENCIES) @rm -f strace-x$(EXEEXT) $(AM_V_CCLD)$(LINK) $(strace_x_OBJECTS) $(strace_x_LDADD) $(LIBS) @@ -11968,6 +14515,10 @@ @rm -f sync_file_range2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sync_file_range2_OBJECTS) $(sync_file_range2_LDADD) $(LIBS) +sysctl$(EXEEXT): $(sysctl_OBJECTS) $(sysctl_DEPENDENCIES) $(EXTRA_sysctl_DEPENDENCIES) + @rm -f sysctl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sysctl_OBJECTS) $(sysctl_LDADD) $(LIBS) + sysinfo$(EXEEXT): $(sysinfo_OBJECTS) $(sysinfo_DEPENDENCIES) $(EXTRA_sysinfo_DEPENDENCIES) @rm -f sysinfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(sysinfo_OBJECTS) $(sysinfo_LDADD) $(LIBS) @@ -12036,6 +14587,18 @@ @rm -f times$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_OBJECTS) $(times_LDADD) $(LIBS) +times-Xabbrev$(EXEEXT): $(times_Xabbrev_OBJECTS) $(times_Xabbrev_DEPENDENCIES) $(EXTRA_times_Xabbrev_DEPENDENCIES) + @rm -f times-Xabbrev$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xabbrev_OBJECTS) $(times_Xabbrev_LDADD) $(LIBS) + +times-Xraw$(EXEEXT): $(times_Xraw_OBJECTS) $(times_Xraw_DEPENDENCIES) $(EXTRA_times_Xraw_DEPENDENCIES) + @rm -f times-Xraw$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xraw_OBJECTS) $(times_Xraw_LDADD) $(LIBS) + +times-Xverbose$(EXEEXT): $(times_Xverbose_OBJECTS) $(times_Xverbose_DEPENDENCIES) $(EXTRA_times_Xverbose_DEPENDENCIES) + @rm -f times-Xverbose$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(times_Xverbose_OBJECTS) $(times_Xverbose_LDADD) $(LIBS) + times-fail$(EXEEXT): $(times_fail_OBJECTS) $(times_fail_DEPENDENCIES) $(EXTRA_times_fail_DEPENDENCIES) @rm -f times-fail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(times_fail_OBJECTS) $(times_fail_LDADD) $(LIBS) @@ -12196,6 +14759,10 @@ @rm -f waitid$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_OBJECTS) $(waitid_LDADD) $(LIBS) +waitid-Y$(EXEEXT): $(waitid_Y_OBJECTS) $(waitid_Y_DEPENDENCIES) $(EXTRA_waitid_Y_DEPENDENCIES) + @rm -f waitid-Y$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(waitid_Y_OBJECTS) $(waitid_Y_LDADD) $(LIBS) + waitid-v$(EXEEXT): $(waitid_v_OBJECTS) $(waitid_v_DEPENDENCIES) $(EXTRA_waitid_v_DEPENDENCIES) @rm -f waitid-v$(EXEEXT) $(AM_V_CCLD)$(LINK) $(waitid_v_OBJECTS) $(waitid_v_LDADD) $(LIBS) @@ -12264,6 +14831,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/accept4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/access.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/acct.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/add_key.Po@am__quote@ # am--include-marker @@ -12272,6 +14841,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aio_pgetevents.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/alarm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/answer.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch_prctl.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/at_fdcwd-pathmax.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p-cmd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-f-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/attach-p-cmd-cmd.Po@am__quote@ # am--include-marker @@ -12296,6 +14874,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_sigign.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chown32.Po@am__quote@ # am--include-marker @@ -12329,7 +14909,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/creat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delay.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/delete_module.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-all.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-dev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev--decode-fds-socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dev-yy.Po@am__quote@ # am--include-marker @@ -12357,17 +14939,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eventfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/execveat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/faccessat.Po@am__quote@ # am--include-marker @@ -12381,6 +14971,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_init.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fanotify_mark-Xverbose.Po@am__quote@ # am--include-marker @@ -12388,17 +14980,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchdir.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmod.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchmodat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchown32.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fchownat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fcntl.Po@am__quote@ # am--include-marker @@ -12408,6 +15008,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fflush.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file_handle.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter-unavailable.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/filter_seccomp-flag.Po@am__quote@ # am--include-marker @@ -12438,6 +15040,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftruncate64-ftruncate64.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futex_waitv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/futimesat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_mempolicy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/get_process_reaper.Po@am__quote@ # am--include-marker @@ -12470,6 +15073,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getrusage.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsid.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getsockname.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gettid.Po@am__quote@ # am--include-marker @@ -12489,11 +15096,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inotify_init1.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/int_0x80.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_enter.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_register.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/io_uring_setup.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_block.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_counter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_dm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_evdev-Xabbrev.Po@am__quote@ # am--include-marker @@ -12569,9 +15187,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_hdio.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_inotify.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success-s1024.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_lirc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-nv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_loop.Po@am__quote@ # am--include-marker @@ -12581,17 +15213,39 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_nsfs.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_perf.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ptp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_random.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_rtc.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_scsi.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_seccomp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v3.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sg_io_v4.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_sock_gifconf.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tee.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_termios.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_tiocm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_ubi.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_uffdio.Po@am__quote@ # am--include-marker @@ -12612,6 +15266,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_v4l2.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_watchdog.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioctl_winsize.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioperm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iopl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ioprio--pidns-translation.Po@am__quote@ # am--include-marker @@ -12666,6 +15321,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/landlock_restrict_self.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lchown32.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-clock_t_str.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_nl_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-create_tmpfile.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtests_a-dirfd.Po@am__quote@ # am--include-marker @@ -12706,6 +15362,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/link.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/linkat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list_sigaction_signum.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/llseek.Po@am__quote@ # am--include-marker @@ -12775,6 +15433,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/msg_name.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/munlockall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nanosleep.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-all-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-dev-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-none-netlink.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net--decode-fds-path-netlink.Po@am__quote@ # am--include-marker @@ -12823,6 +15482,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfnetlink_ulog.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_br_port_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_cachereport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_crypto_user_alg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_dcbmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_fib_rule_hdr.Po@am__quote@ # am--include-marker @@ -12830,12 +15493,27 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifaddrmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifinfomsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_af_spec.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_brport.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_linkinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_port.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_protinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_vfinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifla_xdp.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ifstats.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_compat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_inet_diag_req_v2.Po@am__quote@ # am--include-marker @@ -12845,6 +15523,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_ndtmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netconfmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_netlink_diag_msg.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nhmsg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_nlmsgerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_packet_diag_msg.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nlattr_rtgenmsg.Po@am__quote@ # am--include-marker @@ -12872,11 +15554,15 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oldstat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/open_tree.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_full_mismatch.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat--secontext_mismatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xabbrev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/openat2-Xraw.Po@am__quote@ # am--include-marker @@ -12902,6 +15588,8 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_getfd.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-path.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pidfd_open--decode-fd-socket.Po@am__quote@ # am--include-marker @@ -12974,7 +15662,23 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set-ptracer-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-set_vma.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sme.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-spec-inject.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-sve.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-syscall-user-dispatch.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po@am__quote@ # am--include-marker @@ -13011,13 +15715,25 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise-yy.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_madvise.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease-y.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_mrelease.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_readv.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev--pidns-translation.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/process_vm_writev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pselect6_time64.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ptrace_syscall_info.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pwritev-pwritev.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qual_fault.Po@am__quote@ # am--include-marker @@ -13096,6 +15812,10 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-filter.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp-strict.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_action_avail.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/seccomp_get_notif_sizes.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_accerr.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/segv_pkuerr.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select-P.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/semop-indirect.Po@am__quote@ # am--include-marker @@ -13109,6 +15829,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_mempolicy_home_node.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_ptracer_any.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigblock.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set_sigign.Po@am__quote@ # am--include-marker @@ -13163,11 +15884,22 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xraw.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sock_filter-v.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockaddr_xlat-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/socketcall.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_netlink.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket-success.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-sol_socket.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sockopt-timestamp.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/splice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stack-fcall-0.Po@am__quote@ # am--include-marker @@ -13198,10 +15930,17 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished-threads.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/status-unfinished.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/statx.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--decode-pids-comm.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-all.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex-none.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace--strings-in-hex.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-Y-0123456789.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-n.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-no-x.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p-Y-p2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-p1-Y-p.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-x.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strace-xx.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/swap.Po@am__quote@ # am--include-marker @@ -13211,6 +15950,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sync_file_range2.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysctl.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sysinfo.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog-success.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/syslog.Po@am__quote@ # am--include-marker @@ -13227,6 +15967,9 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_create.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timer_xettime.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timerfd_xettime.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xabbrev.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xraw.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-Xverbose.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times-fail.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/times.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tkill--pidns-translation.Po@am__quote@ # am--include-marker @@ -13268,6 +16011,7 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vmsplice.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wait4.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-Y.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid-v.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitid.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/waitpid.Po@am__quote@ # am--include-marker @@ -13306,6 +16050,20 @@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` +libtests_a-clock_t_str.o: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.o -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.o `test -f 'clock_t_str.c' || echo '$(srcdir)/'`clock_t_str.c + +libtests_a-clock_t_str.obj: clock_t_str.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-clock_t_str.obj -MD -MP -MF $(DEPDIR)/libtests_a-clock_t_str.Tpo -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-clock_t_str.Tpo $(DEPDIR)/libtests_a-clock_t_str.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clock_t_str.c' object='libtests_a-clock_t_str.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libtests_a-clock_t_str.obj `if test -f 'clock_t_str.c'; then $(CYGPATH_W) 'clock_t_str.c'; else $(CYGPATH_W) '$(srcdir)/clock_t_str.c'; fi` + libtests_a-create_nl_socket.o: create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libtests_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libtests_a-create_nl_socket.o -MD -MP -MF $(DEPDIR)/libtests_a-create_nl_socket.Tpo -c -o libtests_a-create_nl_socket.o `test -f 'create_nl_socket.c' || echo '$(srcdir)/'`create_nl_socket.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libtests_a-create_nl_socket.Tpo $(DEPDIR)/libtests_a-create_nl_socket.Po @@ -14412,6 +17170,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -14420,6 +17180,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -14444,6 +17213,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -14477,7 +17248,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -14505,17 +17278,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -14529,6 +17310,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -14536,17 +17319,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -14556,6 +17347,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -14586,6 +17379,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -14618,6 +17412,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -14637,11 +17435,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -14717,9 +17526,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -14729,17 +17552,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -14760,6 +17605,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -14814,6 +17660,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -14854,6 +17701,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -14923,6 +17772,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -14971,6 +17821,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -14978,12 +17832,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -14993,6 +17862,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -15020,11 +17893,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -15050,6 +17927,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -15122,7 +18001,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -15159,13 +18054,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -15244,6 +18151,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -15257,6 +18168,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -15311,11 +18223,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -15346,10 +18269,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -15359,6 +18289,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -15375,6 +18306,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -15416,6 +18350,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -15482,6 +18417,8 @@ -rm -f ./$(DEPDIR)/accept4.Po -rm -f ./$(DEPDIR)/access--secontext.Po -rm -f ./$(DEPDIR)/access--secontext_full.Po + -rm -f ./$(DEPDIR)/access--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/access--secontext_mismatch.Po -rm -f ./$(DEPDIR)/access.Po -rm -f ./$(DEPDIR)/acct.Po -rm -f ./$(DEPDIR)/add_key.Po @@ -15490,6 +18427,15 @@ -rm -f ./$(DEPDIR)/aio_pgetevents.Po -rm -f ./$(DEPDIR)/alarm.Po -rm -f ./$(DEPDIR)/answer.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xraw.Po + -rm -f ./$(DEPDIR)/arch_prctl-success-Xverbose.Po + -rm -f ./$(DEPDIR)/arch_prctl-success.Po + -rm -f ./$(DEPDIR)/arch_prctl.Po + -rm -f ./$(DEPDIR)/at_fdcwd-pathmax.Po -rm -f ./$(DEPDIR)/attach-f-p-cmd.Po -rm -f ./$(DEPDIR)/attach-f-p.Po -rm -f ./$(DEPDIR)/attach-p-cmd-cmd.Po @@ -15514,6 +18460,8 @@ -rm -f ./$(DEPDIR)/check_sigign.Po -rm -f ./$(DEPDIR)/chmod--secontext.Po -rm -f ./$(DEPDIR)/chmod--secontext_full.Po + -rm -f ./$(DEPDIR)/chmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/chmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/chmod.Po -rm -f ./$(DEPDIR)/chown.Po -rm -f ./$(DEPDIR)/chown32.Po @@ -15547,7 +18495,9 @@ -rm -f ./$(DEPDIR)/creat.Po -rm -f ./$(DEPDIR)/delay.Po -rm -f ./$(DEPDIR)/delete_module.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-all.Po -rm -f ./$(DEPDIR)/dev--decode-fds-dev.Po + -rm -f ./$(DEPDIR)/dev--decode-fds-none.Po -rm -f ./$(DEPDIR)/dev--decode-fds-path.Po -rm -f ./$(DEPDIR)/dev--decode-fds-socket.Po -rm -f ./$(DEPDIR)/dev-yy.Po @@ -15575,17 +18525,25 @@ -rm -f ./$(DEPDIR)/eventfd.Po -rm -f ./$(DEPDIR)/execve--secontext.Po -rm -f ./$(DEPDIR)/execve--secontext_full.Po + -rm -f ./$(DEPDIR)/execve--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execve--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execve-v.Po -rm -f ./$(DEPDIR)/execve.Po -rm -f ./$(DEPDIR)/execveat--secontext.Po -rm -f ./$(DEPDIR)/execveat--secontext_full.Po + -rm -f ./$(DEPDIR)/execveat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/execveat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/execveat-v.Po -rm -f ./$(DEPDIR)/execveat.Po -rm -f ./$(DEPDIR)/faccessat--secontext.Po -rm -f ./$(DEPDIR)/faccessat--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-P.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext.Po -rm -f ./$(DEPDIR)/faccessat-y--secontext_full.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/faccessat-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/faccessat-y.Po -rm -f ./$(DEPDIR)/faccessat-yy.Po -rm -f ./$(DEPDIR)/faccessat.Po @@ -15599,6 +18557,8 @@ -rm -f ./$(DEPDIR)/fanotify_init.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext.Po -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fanotify_mark--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xabbrev.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xraw.Po -rm -f ./$(DEPDIR)/fanotify_mark-Xverbose.Po @@ -15606,17 +18566,25 @@ -rm -f ./$(DEPDIR)/fchdir.Po -rm -f ./$(DEPDIR)/fchmod--secontext.Po -rm -f ./$(DEPDIR)/fchmod--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext.Po -rm -f ./$(DEPDIR)/fchmod-y--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmod-y--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmod-y.Po -rm -f ./$(DEPDIR)/fchmod.Po -rm -f ./$(DEPDIR)/fchmodat--secontext.Po -rm -f ./$(DEPDIR)/fchmodat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchmodat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchmodat.Po -rm -f ./$(DEPDIR)/fchown.Po -rm -f ./$(DEPDIR)/fchown32.Po -rm -f ./$(DEPDIR)/fchownat--secontext.Po -rm -f ./$(DEPDIR)/fchownat--secontext_full.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/fchownat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/fchownat.Po -rm -f ./$(DEPDIR)/fcntl--pidns-translation.Po -rm -f ./$(DEPDIR)/fcntl.Po @@ -15626,6 +18594,8 @@ -rm -f ./$(DEPDIR)/fflush.Po -rm -f ./$(DEPDIR)/file_handle--secontext.Po -rm -f ./$(DEPDIR)/file_handle--secontext_full.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/file_handle--secontext_mismatch.Po -rm -f ./$(DEPDIR)/file_handle.Po -rm -f ./$(DEPDIR)/filter-unavailable.Po -rm -f ./$(DEPDIR)/filter_seccomp-flag.Po @@ -15656,6 +18626,7 @@ -rm -f ./$(DEPDIR)/ftruncate.Po -rm -f ./$(DEPDIR)/ftruncate64-ftruncate64.Po -rm -f ./$(DEPDIR)/futex.Po + -rm -f ./$(DEPDIR)/futex_waitv.Po -rm -f ./$(DEPDIR)/futimesat.Po -rm -f ./$(DEPDIR)/get_mempolicy.Po -rm -f ./$(DEPDIR)/get_process_reaper.Po @@ -15688,6 +18659,10 @@ -rm -f ./$(DEPDIR)/getrusage.Po -rm -f ./$(DEPDIR)/getsid--pidns-translation.Po -rm -f ./$(DEPDIR)/getsid.Po + -rm -f ./$(DEPDIR)/getsockname--secontext.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/getsockname--secontext_mismatch.Po -rm -f ./$(DEPDIR)/getsockname.Po -rm -f ./$(DEPDIR)/gettid--pidns-translation.Po -rm -f ./$(DEPDIR)/gettid.Po @@ -15707,11 +18682,22 @@ -rm -f ./$(DEPDIR)/inotify_init1.Po -rm -f ./$(DEPDIR)/int_0x80.Po -rm -f ./$(DEPDIR)/io_uring_enter.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xraw.Po + -rm -f ./$(DEPDIR)/io_uring_register-success-Xverbose.Po + -rm -f ./$(DEPDIR)/io_uring_register-success.Po -rm -f ./$(DEPDIR)/io_uring_register.Po -rm -f ./$(DEPDIR)/io_uring_setup.Po -rm -f ./$(DEPDIR)/ioctl.Po -rm -f ./$(DEPDIR)/ioctl_block--pidns-translation.Po -rm -f ./$(DEPDIR)/ioctl_block.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_counter-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_counter.Po -rm -f ./$(DEPDIR)/ioctl_dm-v.Po -rm -f ./$(DEPDIR)/ioctl_dm.Po -rm -f ./$(DEPDIR)/ioctl_evdev-Xabbrev.Po @@ -15787,9 +18773,23 @@ -rm -f ./$(DEPDIR)/ioctl_hdio-v.Po -rm -f ./$(DEPDIR)/ioctl_hdio.Po -rm -f ./$(DEPDIR)/ioctl_inotify.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success-s1024.Po + -rm -f ./$(DEPDIR)/ioctl_kd-success.Po + -rm -f ./$(DEPDIR)/ioctl_kd.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run-v.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run.Po -rm -f ./$(DEPDIR)/ioctl_kvm_run_auxstr_vcpu.Po + -rm -f ./$(DEPDIR)/ioctl_lirc-success.Po + -rm -f ./$(DEPDIR)/ioctl_lirc.Po -rm -f ./$(DEPDIR)/ioctl_loop-nv.Po -rm -f ./$(DEPDIR)/ioctl_loop-v.Po -rm -f ./$(DEPDIR)/ioctl_loop.Po @@ -15799,17 +18799,39 @@ -rm -f ./$(DEPDIR)/ioctl_nsfs.Po -rm -f ./$(DEPDIR)/ioctl_perf-success.Po -rm -f ./$(DEPDIR)/ioctl_perf.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_ptp-success.Po -rm -f ./$(DEPDIR)/ioctl_ptp.Po -rm -f ./$(DEPDIR)/ioctl_random.Po -rm -f ./$(DEPDIR)/ioctl_rtc-success.Po -rm -f ./$(DEPDIR)/ioctl_rtc-v.Po -rm -f ./$(DEPDIR)/ioctl_rtc.Po -rm -f ./$(DEPDIR)/ioctl_scsi.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success--pidns-translation.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xraw.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success-Xverbose.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y-success.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp-y.Po + -rm -f ./$(DEPDIR)/ioctl_seccomp.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v3.Po -rm -f ./$(DEPDIR)/ioctl_sg_io_v4.Po -rm -f ./$(DEPDIR)/ioctl_sock.Po -rm -f ./$(DEPDIR)/ioctl_sock_gifconf.Po -rm -f ./$(DEPDIR)/ioctl_tee.Po + -rm -f ./$(DEPDIR)/ioctl_termios-v.Po + -rm -f ./$(DEPDIR)/ioctl_termios.Po + -rm -f ./$(DEPDIR)/ioctl_tiocm.Po -rm -f ./$(DEPDIR)/ioctl_ubi-success.Po -rm -f ./$(DEPDIR)/ioctl_ubi.Po -rm -f ./$(DEPDIR)/ioctl_uffdio.Po @@ -15830,6 +18852,7 @@ -rm -f ./$(DEPDIR)/ioctl_v4l2-v.Po -rm -f ./$(DEPDIR)/ioctl_v4l2.Po -rm -f ./$(DEPDIR)/ioctl_watchdog.Po + -rm -f ./$(DEPDIR)/ioctl_winsize.Po -rm -f ./$(DEPDIR)/ioperm.Po -rm -f ./$(DEPDIR)/iopl.Po -rm -f ./$(DEPDIR)/ioprio--pidns-translation.Po @@ -15884,6 +18907,7 @@ -rm -f ./$(DEPDIR)/landlock_restrict_self.Po -rm -f ./$(DEPDIR)/lchown.Po -rm -f ./$(DEPDIR)/lchown32.Po + -rm -f ./$(DEPDIR)/libtests_a-clock_t_str.Po -rm -f ./$(DEPDIR)/libtests_a-create_nl_socket.Po -rm -f ./$(DEPDIR)/libtests_a-create_tmpfile.Po -rm -f ./$(DEPDIR)/libtests_a-dirfd.Po @@ -15924,6 +18948,8 @@ -rm -f ./$(DEPDIR)/link.Po -rm -f ./$(DEPDIR)/linkat--secontext.Po -rm -f ./$(DEPDIR)/linkat--secontext_full.Po + -rm -f ./$(DEPDIR)/linkat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/linkat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/linkat.Po -rm -f ./$(DEPDIR)/list_sigaction_signum.Po -rm -f ./$(DEPDIR)/llseek.Po @@ -15993,6 +19019,7 @@ -rm -f ./$(DEPDIR)/msg_name.Po -rm -f ./$(DEPDIR)/munlockall.Po -rm -f ./$(DEPDIR)/nanosleep.Po + -rm -f ./$(DEPDIR)/net--decode-fds-all-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-dev-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-none-netlink.Po -rm -f ./$(DEPDIR)/net--decode-fds-path-netlink.Po @@ -16041,6 +19068,10 @@ -rm -f ./$(DEPDIR)/nfnetlink_ulog.Po -rm -f ./$(DEPDIR)/nlattr.Po -rm -f ./$(DEPDIR)/nlattr_br_port_msg.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_cachereport.Po -rm -f ./$(DEPDIR)/nlattr_crypto_user_alg.Po -rm -f ./$(DEPDIR)/nlattr_dcbmsg.Po -rm -f ./$(DEPDIR)/nlattr_fib_rule_hdr.Po @@ -16048,12 +19079,27 @@ -rm -f ./$(DEPDIR)/nlattr_ifaddrmsg.Po -rm -f ./$(DEPDIR)/nlattr_ifinfomsg.Po -rm -f ./$(DEPDIR)/nlattr_ifla_af_spec.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_brport-Xverbose.Po -rm -f ./$(DEPDIR)/nlattr_ifla_brport.Po -rm -f ./$(DEPDIR)/nlattr_ifla_linkinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_port.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_protinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_proto_down_reason.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifla_vfinfo.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp-y.Po -rm -f ./$(DEPDIR)/nlattr_ifla_xdp.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_ifstats.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_compat.Po -rm -f ./$(DEPDIR)/nlattr_inet_diag_req_v2.Po @@ -16063,6 +19109,10 @@ -rm -f ./$(DEPDIR)/nlattr_ndtmsg.Po -rm -f ./$(DEPDIR)/nlattr_netconfmsg.Po -rm -f ./$(DEPDIR)/nlattr_netlink_diag_msg.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xabbrev.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xraw.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg-Xverbose.Po + -rm -f ./$(DEPDIR)/nlattr_nhmsg.Po -rm -f ./$(DEPDIR)/nlattr_nlmsgerr.Po -rm -f ./$(DEPDIR)/nlattr_packet_diag_msg.Po -rm -f ./$(DEPDIR)/nlattr_rtgenmsg.Po @@ -16090,11 +19140,15 @@ -rm -f ./$(DEPDIR)/oldstat.Po -rm -f ./$(DEPDIR)/open--secontext.Po -rm -f ./$(DEPDIR)/open--secontext_full.Po + -rm -f ./$(DEPDIR)/open--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/open--secontext_mismatch.Po -rm -f ./$(DEPDIR)/open.Po -rm -f ./$(DEPDIR)/open_tree-P.Po -rm -f ./$(DEPDIR)/open_tree.Po -rm -f ./$(DEPDIR)/openat--secontext.Po -rm -f ./$(DEPDIR)/openat--secontext_full.Po + -rm -f ./$(DEPDIR)/openat--secontext_full_mismatch.Po + -rm -f ./$(DEPDIR)/openat--secontext_mismatch.Po -rm -f ./$(DEPDIR)/openat.Po -rm -f ./$(DEPDIR)/openat2-Xabbrev.Po -rm -f ./$(DEPDIR)/openat2-Xraw.Po @@ -16120,6 +19174,8 @@ -rm -f ./$(DEPDIR)/pidfd_getfd-y.Po -rm -f ./$(DEPDIR)/pidfd_getfd-yy.Po -rm -f ./$(DEPDIR)/pidfd_getfd.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-all.Po + -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-none.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-path.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-pidfd.Po -rm -f ./$(DEPDIR)/pidfd_open--decode-fd-socket.Po @@ -16192,7 +19248,23 @@ -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose--pidns-translation.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success-Xverbose.Po -rm -f ./$(DEPDIR)/prctl-set-ptracer-success.Po + -rm -f ./$(DEPDIR)/prctl-set_vma.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sme-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sme-success.Po + -rm -f ./$(DEPDIR)/prctl-sme.Po -rm -f ./$(DEPDIR)/prctl-spec-inject.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xraw.Po + -rm -f ./$(DEPDIR)/prctl-sve-success-Xverbose.Po + -rm -f ./$(DEPDIR)/prctl-sve-success.Po -rm -f ./$(DEPDIR)/prctl-sve.Po -rm -f ./$(DEPDIR)/prctl-syscall-user-dispatch.Po -rm -f ./$(DEPDIR)/prctl-tagged-addr-Xabbrev.Po @@ -16229,13 +19301,25 @@ -rm -f ./$(DEPDIR)/process_madvise-y.Po -rm -f ./$(DEPDIR)/process_madvise-yy.Po -rm -f ./$(DEPDIR)/process_madvise.Po + -rm -f ./$(DEPDIR)/process_mrelease-y.Po + -rm -f ./$(DEPDIR)/process_mrelease.Po -rm -f ./$(DEPDIR)/process_vm_readv--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_readv.Po -rm -f ./$(DEPDIR)/process_vm_writev--pidns-translation.Po -rm -f ./$(DEPDIR)/process_vm_writev.Po -rm -f ./$(DEPDIR)/pselect6.Po -rm -f ./$(DEPDIR)/pselect6_time64.Po + -rm -f ./$(DEPDIR)/ptrace-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace-y-Xverbose.Po + -rm -f ./$(DEPDIR)/ptrace-y.Po -rm -f ./$(DEPDIR)/ptrace.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xabbrev.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xraw.Po + -rm -f ./$(DEPDIR)/ptrace_syscall_info-Xverbose.Po -rm -f ./$(DEPDIR)/ptrace_syscall_info.Po -rm -f ./$(DEPDIR)/pwritev-pwritev.Po -rm -f ./$(DEPDIR)/qual_fault.Po @@ -16314,6 +19398,10 @@ -rm -f ./$(DEPDIR)/seccomp-filter.Po -rm -f ./$(DEPDIR)/seccomp-strict.Po -rm -f ./$(DEPDIR)/seccomp_get_action_avail.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes-success.Po + -rm -f ./$(DEPDIR)/seccomp_get_notif_sizes.Po + -rm -f ./$(DEPDIR)/segv_accerr.Po + -rm -f ./$(DEPDIR)/segv_pkuerr.Po -rm -f ./$(DEPDIR)/select-P.Po -rm -f ./$(DEPDIR)/select.Po -rm -f ./$(DEPDIR)/semop-indirect.Po @@ -16327,6 +19415,7 @@ -rm -f ./$(DEPDIR)/set_mempolicy-Xraw.Po -rm -f ./$(DEPDIR)/set_mempolicy-Xverbose.Po -rm -f ./$(DEPDIR)/set_mempolicy.Po + -rm -f ./$(DEPDIR)/set_mempolicy_home_node.Po -rm -f ./$(DEPDIR)/set_ptracer_any.Po -rm -f ./$(DEPDIR)/set_sigblock.Po -rm -f ./$(DEPDIR)/set_sigign.Po @@ -16381,11 +19470,22 @@ -rm -f ./$(DEPDIR)/sock_filter-v-Xraw.Po -rm -f ./$(DEPDIR)/sock_filter-v-Xverbose.Po -rm -f ./$(DEPDIR)/sock_filter-v.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xraw.Po + -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose-y.Po -rm -f ./$(DEPDIR)/sockaddr_xlat-Xverbose.Po -rm -f ./$(DEPDIR)/socketcall.Po -rm -f ./$(DEPDIR)/sockopt-sol_netlink.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xabbrev.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xraw.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success-Xverbose.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket-success.Po + -rm -f ./$(DEPDIR)/sockopt-sol_socket.Po -rm -f ./$(DEPDIR)/sockopt-timestamp.Po -rm -f ./$(DEPDIR)/splice.Po -rm -f ./$(DEPDIR)/stack-fcall-0.Po @@ -16416,10 +19516,17 @@ -rm -f ./$(DEPDIR)/status-unfinished-threads.Po -rm -f ./$(DEPDIR)/status-unfinished.Po -rm -f ./$(DEPDIR)/statx.Po + -rm -f ./$(DEPDIR)/strace--decode-pids-comm.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-all.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii-chars.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex-non-ascii.Po + -rm -f ./$(DEPDIR)/strace--strings-in-hex-none.Po -rm -f ./$(DEPDIR)/strace--strings-in-hex.Po + -rm -f ./$(DEPDIR)/strace-Y-0123456789.Po -rm -f ./$(DEPDIR)/strace-n.Po + -rm -f ./$(DEPDIR)/strace-no-x.Po + -rm -f ./$(DEPDIR)/strace-p-Y-p2.Po + -rm -f ./$(DEPDIR)/strace-p1-Y-p.Po -rm -f ./$(DEPDIR)/strace-x.Po -rm -f ./$(DEPDIR)/strace-xx.Po -rm -f ./$(DEPDIR)/swap.Po @@ -16429,6 +19536,7 @@ -rm -f ./$(DEPDIR)/sync.Po -rm -f ./$(DEPDIR)/sync_file_range.Po -rm -f ./$(DEPDIR)/sync_file_range2.Po + -rm -f ./$(DEPDIR)/sysctl.Po -rm -f ./$(DEPDIR)/sysinfo.Po -rm -f ./$(DEPDIR)/syslog-success.Po -rm -f ./$(DEPDIR)/syslog.Po @@ -16445,6 +19553,9 @@ -rm -f ./$(DEPDIR)/timer_create.Po -rm -f ./$(DEPDIR)/timer_xettime.Po -rm -f ./$(DEPDIR)/timerfd_xettime.Po + -rm -f ./$(DEPDIR)/times-Xabbrev.Po + -rm -f ./$(DEPDIR)/times-Xraw.Po + -rm -f ./$(DEPDIR)/times-Xverbose.Po -rm -f ./$(DEPDIR)/times-fail.Po -rm -f ./$(DEPDIR)/times.Po -rm -f ./$(DEPDIR)/tkill--pidns-translation.Po @@ -16486,6 +19597,7 @@ -rm -f ./$(DEPDIR)/vmsplice.Po -rm -f ./$(DEPDIR)/wait4-v.Po -rm -f ./$(DEPDIR)/wait4.Po + -rm -f ./$(DEPDIR)/waitid-Y.Po -rm -f ./$(DEPDIR)/waitid-v.Po -rm -f ./$(DEPDIR)/waitid.Po -rm -f ./$(DEPDIR)/waitpid.Po @@ -16564,6 +19676,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16582,6 +19700,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16621,6 +19766,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16708,9 +19859,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16789,6 +19946,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16798,6 +19961,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16807,6 +19976,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16819,6 +19994,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16849,6 +20030,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16870,6 +20057,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16879,6 +20072,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16888,6 +20087,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16903,6 +20108,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -16927,6 +20138,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17005,6 +20222,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17119,6 +20339,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17167,6 +20399,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17179,6 +20432,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17395,6 +20660,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17404,6 +20705,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17434,6 +20741,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17449,6 +20777,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17464,6 +20828,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17524,6 +20897,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17689,6 +21065,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17875,6 +21257,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -17989,6 +21374,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18013,21 +21410,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18055,6 +21497,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18133,6 +21587,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18148,6 +21608,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18217,6 +21683,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18325,15 +21797,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18346,16 +21809,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18370,6 +21833,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18391,25 +21863,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18418,6 +21917,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18517,6 +22037,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18538,19 +22064,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -18562,6 +22112,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18742,6 +22298,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18781,6 +22349,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -18928,18 +22499,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19018,6 +22622,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19045,6 +22652,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19090,9 +22703,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19120,6 +22739,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19162,6 +22784,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19192,6 +22823,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19201,6 +22850,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -19297,6 +22955,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-6.1.tar.xz/tests/access--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/access--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-6.1.tar.xz/tests/access--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "access--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/access--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 --secontext=mismatch --trace-path=access_sample -e trace=access
View file
_service:tar_scm:strace-5.14.tar.xz/tests/add_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests/add_key.c
Changed
@@ -54,11 +54,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_payload = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -106,10 +101,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(payloads); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(payloads); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_add_key(typesi.type, typesi.str, descsj.desc, descsj.str, payloadsk.pload,
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev); do not edit. +set -- -a27 -Xabbrev +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw); do not edit. +set -- -a17 -Xraw +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "arch_prctl-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "arch_prctl.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27); do not edit. +set -- ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl.c
Added
@@ -0,0 +1,323 @@ +/* + * Check decoding of arch_prctl syscall. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR_arch_prctl + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <linux/prctl.h> + +# define XLAT_MACROS_ONLY +# include "xlat/archvals.h" +# undef XLAT_MACROS_ONLY + +# include "xlat.h" +# include "xlat/x86_xfeature_bits.h" +# include "xlat/x86_xfeatures.h" + +# ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)\n" +# else +# define INJ_STR "\n" +# endif + +# define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) + +static long +sys_arch_prctl(unsigned int cmd, kernel_ulong_t arg) +{ + return syscall(__NR_arch_prctl, cmd, arg, (unsigned long) -3U, + (unsigned long) -4U, + (unsigned long) -5U); +} + +static long +arch_prctl_marker(void) +{ + return sys_arch_prctl(-1U, (unsigned long) -2U); +} + +int +main(int argc, char *argv) +{ + const kernel_ulong_t dummy = (kernel_ulong_t) 0xbadfaceddeadbeefULL; + const char *errstr; + long rc; + + arch_prctl_marker(); + +# ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (arch_prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on arch_prctl(-1, -2)" + " returning %ld", inject_retval); +# endif /* INJECT_RETVAL */ + + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, u64_p); + + /* Unknown commands */ + static const uint32_t unk_cmds = { + 0, 0x1, + 0x1000, 0x1005, + 0x1010, 0x1013, + 0x1020, 0x1026, + 0x1030, 0x1031, + 0x1100, 0x1101, + 0x2000, 0x2004, + 0x2010, 0x2011, + 0x2100, 0x2101, + 0x3000, 0x3001, + 0xdeadc0de }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_cmds); i++) { + rc = sys_arch_prctl(unk_cmdsi, 0); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", 0) = %s" INJ_STR, + unk_cmdsi, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (kernel_ulong_t) dummy); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %#llx) = %s" INJ_STR, + unk_cmdsi, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(unk_cmdsi, (uintptr_t) u64_p); + printf("arch_prctl(" XLAT_UNKNOWN_FMT("%#x", "ARCH_???") + ", %p) = %s" INJ_STR, + unk_cmdsi, u64_p, sprintrc(rc)); + } + + /* Default decoding */ + static const struct strval32 def_cmds = { + { ARG_XLAT_KNOWN(0x1001, "ARCH_SET_GS") }, +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1002, "ARCH_SET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1012, "ARCH_SET_CPUID") }, + { ARG_XLAT_KNOWN(0x2001, "ARCH_MAP_VDSO_X32") }, + { ARG_XLAT_KNOWN(0x2002, "ARCH_MAP_VDSO_32") }, + { ARG_XLAT_KNOWN(0x2003, "ARCH_MAP_VDSO_64") }, + }; + + for (const struct strval32 *p = def_cmds; p < ARRAY_END(def_cmds); p++) + { + rc = sys_arch_prctl(p->val, (kernel_ulong_t) dummy); + printf("arch_prctl(%s, %#llx) = %s" INJ_STR, + p->str, (unsigned long long) dummy, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, 0) = %s" INJ_STR, p->str, sprintrc(rc)); + } + + /* ARCH_GET_GS, ARCH_GET_FS */ + static const struct strval32 kptr_cmds = { +# ifdef INJECT_RETVAL + { ARG_XLAT_KNOWN(0x1003, "ARCH_GET_FS") }, +# endif + { ARG_XLAT_KNOWN(0x1004, "ARCH_GET_GS") }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, kulong_p); + const kernel_ulong_t ptrs = { + (kernel_ulong_t) 0xdeadfacecafebeefULL, + (uintptr_t) (kulong_p + 1), + (uintptr_t) kulong_p , + 0 + }; + + for (const struct strval32 *p = kptr_cmds; p < ARRAY_END(kptr_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (kulong_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, kulong_p + 1, sprintrc(rc)); + + for (size_t j = 0; j < ARRAY_SIZE(ptrs); j++) { + *kulong_p = ptrsj; + uint32_t wr_cmd = p->val == ARCH_GET_GS ? ARCH_SET_GS + : ARCH_SET_FS; +# if !XLAT_RAW + const char *wr_str = p->val == ARCH_GET_GS + ? "ARCH_SET_GS" : "ARCH_SET_FS"; +# endif + rc = sys_arch_prctl(wr_cmd, *kulong_p); + printf("arch_prctl(" XLAT_FMT ", %#llx) = %s" INJ_STR, + XLAT_SEL(wr_cmd, wr_str), + (unsigned long long) *kulong_p, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) kulong_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { + if (*kulong_p) { + printf("%#llx", + (unsigned long long) *kulong_p); + } else { + printf("NULL"); + } + } else { + printf("%p", kulong_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* ARCH_GET_CPUID */ + rc = sys_arch_prctl(ARCH_GET_CPUID, 0xdeadc0de); + printf("arch_prctl(" XLAT_FMT ") = %s" INJ_STR, + XLAT_ARGS(ARCH_GET_CPUID), sprintrc(rc)); + + /* xfeature mask get */ + static const struct strval32 xfget_cmds = { + { ARG_XLAT_KNOWN(0x1021, "ARCH_GET_XCOMP_SUPP") }, + { ARG_XLAT_KNOWN(0x1022, "ARCH_GET_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1024, "ARCH_GET_XCOMP_GUEST_PERM") }, + }; + static const struct strval64 xfget_vals = { + { ARG_STR(0) }, + { ARG_XLAT_UNKNOWN(0x1, "XFEATURE_MASK_FP") }, + { ARG_XLAT_UNKNOWN(0x2, "XFEATURE_MASK_SSE") }, + { ARG_XLAT_UNKNOWN(0x3, "XFEATURE_MASK_FPSSE") }, + { ARG_XLAT_UNKNOWN(0x20, "XFEATURE_MASK_OPMASK") }, + { ARG_XLAT_UNKNOWN(0xc0, "XFEATURE_MASK_ZMM_Hi256" + "|XFEATURE_MASK_Hi16_ZMM") }, + { ARG_XLAT_UNKNOWN(0xe0, "XFEATURE_MASK_AVX512") }, + { ARG_XLAT_UNKNOWN(0x20000, "XFEATURE_MASK_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x40000, "XFEATURE_MASK_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x60000, "XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xbadfaced, + "XFEATURE_MASK_FP|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_AVX512" + "|XFEATURE_MASK_PASID|XFEATURE_MASK_LBR" + "|XFEATURE_MASK_XTILE|0xbad92800") }, + { ARG_XLAT_UNKNOWN(0x687ff, + "XFEATURE_MASK_FPSSE|XFEATURE_MASK_YMM" + "|XFEATURE_MASK_BNDREGS|XFEATURE_MASK_BNDCSR" + "|XFEATURE_MASK_AVX512|XFEATURE_MASK_PT" + "|XFEATURE_MASK_PKRU|XFEATURE_MASK_PASID" + "|XFEATURE_MASK_LBR|XFEATURE_MASK_XTILE") }, + { ARG_XLAT_UNKNOWN(0xfffffffffff97800, "XFEATURE_MASK_???") }, + }; + + for (const struct strval32 *p = xfget_cmds; p < ARRAY_END(xfget_cmds); + p++) { + rc = sys_arch_prctl(p->val, 0); + printf("arch_prctl(%s, NULL) = %s" INJ_STR, + p->str, sprintrc(rc)); + + rc = sys_arch_prctl(p->val, (uintptr_t) (u64_p + 1)); + printf("arch_prctl(%s, %p) = %s" INJ_STR, + p->str, u64_p + 1, sprintrc(rc)); + + for (const struct strval64 *q = xfget_vals; + q < ARRAY_END(xfget_vals); q++) { + *u64_p = q->val; + rc = sys_arch_prctl(p->val, (uintptr_t) u64_p); + errstr = sprintrc(rc); + printf("arch_prctl(%s, ", p->str); + if (rc >= 0) { +# ifdef INJECT_RETVAL + printf("%s", q->str); +# else + if (*u64_p) { + printf("%#llx" NRAW(" /* "), + (unsigned long long) *u64_p); +# if !XLAT_RAW + printflags(x86_xfeatures, *u64_p, NULL); +# endif + printf(NRAW(" */") ""); + } else { + printf("0"); + } +# endif + } else { + printf("%p", u64_p); + } + printf(") = %s" INJ_STR, errstr); + } + } + + /* xfeature in arg, xfeature mask in ret */ + static const struct strval32 xfreq_cmds = { + { ARG_XLAT_KNOWN(0x1023, "ARCH_REQ_XCOMP_PERM") }, + { ARG_XLAT_KNOWN(0x1025, "ARCH_REQ_XCOMP_GUEST_PERM") }, + }; + static const struct strval32 xfreq_vals = { + { ARG_XLAT_UNKNOWN(0, "XFEATURE_FP") }, + { ARG_XLAT_UNKNOWN(0x8, "XFEATURE_PT_UNIMPLEMENTED_SO_FAR") }, + { ARG_XLAT_UNKNOWN(0xb, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xc, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xd, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xe, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xf, "XFEATURE_LBR") }, + { ARG_XLAT_UNKNOWN(0x10, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0x11, "XFEATURE_XTILE_CFG") }, + { ARG_XLAT_UNKNOWN(0x12, "XFEATURE_XTILE_DATA") }, + { ARG_XLAT_UNKNOWN(0x13, "XFEATURE_???") }, + { ARG_XLAT_UNKNOWN(0xdeadface, "XFEATURE_???") }, + }; + + for (const struct strval32 *p = xfreq_cmds; p < ARRAY_END(xfreq_cmds); + p++) { + for (const struct strval32 *q = xfreq_vals; + q < ARRAY_END(xfreq_vals); q++) { + rc = sys_arch_prctl(p->val, q->val); + errstr = sprintrc(rc); + printf("arch_prctl(%s, %s) = ", p->str, q->str); + if (rc > 0) { + printf("%#lx", rc); +# if !XLAT_RAW + if (rc & x86_xfeatures->flags_mask) { + printf(" ("); + printflags(x86_xfeatures, rc, NULL); + printf(")"); + } +# endif + printf(INJ_STR); + } else { + printf("%s" INJ_STR, errstr); + } + } + } + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR_arch_prctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (arch_prctl +arch_prctl.sh -a27); do not edit. +set -- -a27 +. "${srcdir=.}/arch_prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/arch_prctl.sh
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check arch_prctl syscall decoding. +# +# Copyright (c) 20212-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +check_prog sed +run_prog > /dev/null +run_strace -earch_prctl "$@" $args > "$EXP" +sed '0,/^arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe) *= -1 /d' < "$LOG" > "$OUT" +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/at_fdcwd-pathmax.c
Added
@@ -0,0 +1,106 @@ +/* + * Check corner cases of AT_FDCWD path decoding. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <fcntl.h> +#include <limits.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> +#include <sys/stat.h> +#include <sys/types.h> + +/* + * This test is designed to cover cases where AT_FDCWD path decoding + * cannot happen because paths length exceed PATH_MAX. + * It should be executed with -y or a similar option. + */ + +int main(void) +{ + /* + * Make sure the current workdir of the tracee + * is different from the current workdir of the tracer. + */ + create_and_enter_subdir("pathmax_subdir"); + + char *topdir = get_fd_path(get_dir_fd(".")); + + /* + * AT_FDCWD path decoding + */ + char nameNAME_MAX + 1; + memset(name, 'x', sizeof(name) - 1); + namesizeof(name) - 1 = '\0'; + + unsigned int count = 0; + for (size_t len = strlen(topdir); + len <= PATH_MAX; + len += sizeof(name), ++count) { + if (mkdir(name, 0700)) + perror_msg_and_fail("mkdir, count=%u", count); + if (chdir(name)) + perror_msg_and_fail("chdir, count=%u", count); + } + + /* AT_FDCWD is not be printed since path cannot be resolved. */ + + int fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + /* Go back one dir and verify it's printed. */ + + --count; + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(name)) + perror_msg_and_fail("rmdir"); + + char *cwd = get_fd_path(get_dir_fd(".")); + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD<%s>, \"sample\", O_RDONLY) = %s\n", + cwd, sprintrc(fd)); + + /* Create a dir for which exact PATH_MAX size is returned. */ + + char dirNAME_MAX + 1; + memset(dir, 'x', sizeof(dir) - 1); + dirPATH_MAX - (strlen(cwd) + 1) = '\0'; + if (mkdir(dir, 0700)) + perror_msg_and_fail("mkdir"); + if (chdir(dir)) + perror_msg_and_fail("chdir"); + + /* AT_FDCWD is not printed since path cannot be resolved fully. */ + + fd = syscall(__NR_openat, AT_FDCWD, "sample", O_RDONLY); + printf("openat(AT_FDCWD, \"sample\", O_RDONLY) = %s\n", + sprintrc(fd)); + + if (chdir("..")) + perror_msg_and_fail("chdir"); + if (rmdir(dir)) + perror_msg_and_fail("rmdir"); + + for (; count > 0; --count) { + if (chdir("..")) + perror_msg_and_fail("chdir, count=%u", count); + if (rmdir(name)) + perror_msg_and_fail("rmdir, count=%u", count); + } + + leave_and_remove_subdir(); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/at_fdcwd-pathmax.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (at_fdcwd-pathmax -a36 --trace=openat -y -P sample); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 --trace=openat -y -P sample
View file
_service:tar_scm:strace-5.14.tar.xz/tests/attach-f-p.c -> _service:tar_scm:strace-6.1.tar.xz/tests/attach-f-p.c
Changed
@@ -38,10 +38,13 @@ thread(void *a) { unsigned int no = (long) a; - int i; + int i, rc; - if (read(pipesno0, &i, sizeof(i)) != (int) sizeof(i)) + while ((rc = read(pipesno0, &i, sizeof(i))) != (int) sizeof(i)) { + if (rc < 0 && errno == EINTR) + continue; perror_msg_and_fail("read%u", no); + } assert(chdir(childno) == -1); retval_t retval = { .pid = syscall(__NR_gettid) }; return retval.ptr; @@ -51,12 +54,11 @@ main(void) { pthread_t tN; - unsigned int i; if (write(1, "", 0) != 0) perror_msg_and_fail("write"); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { if (pipe(pipesi)) perror_msg_and_fail("pipe"); @@ -69,15 +71,16 @@ perror_msg_and_fail("write"); /* wait for the peer to write to stdout */ - struct stat st; for (;;) { + struct stat st; + if (fstat(1, &st)) perror_msg_and_fail("fstat"); if (st.st_size >= 103) break; } - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { /* sleep a bit to let the tracer catch up */ sleep(1); if (write(pipesi1, &i, sizeof(i)) != (int) sizeof(i))
View file
_service:tar_scm:strace-5.14.tar.xz/tests/bpf-obj_get_info_by_fd.c -> _service:tar_scm:strace-6.1.tar.xz/tests/bpf-obj_get_info_by_fd.c
Changed
@@ -1,7 +1,7 @@ /* * Check bpf(BPF_OBJ_GET_INFO_BY_FD) decoding. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,6 +19,7 @@ #include <stdint.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #include <sys/sysmacros.h> @@ -42,6 +43,7 @@ #include "xlat/bpf_op_jmp.h" #include "xlat/bpf_size.h" #include "xlat/bpf_src.h" +#include "xlat/clocknames.h" #include "xlat/ebpf_class.h" #include "xlat/ebpf_mode.h" #include "xlat/ebpf_op_alu.h" @@ -71,16 +73,17 @@ static void print_map_create(void *attr_void, size_t size, long rc) { - /* struct BPF_MAP_CREATE_struct *attr = attr_void; */ + struct BPF_MAP_CREATE_struct *attr = attr_void; printf("bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_ARRAY, key_size=4" - ", value_size=8, max_entries=1"); + ", value_size=%u, max_entries=%u", + attr->value_size, attr->max_entries); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_flags)) printf(", map_flags=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, inner_map_fd)) printf(", inner_map_fd=0</dev/null>"); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_name)) - printf(", map_name=\"test_map\""); + printf(", map_name=\"%s\"", attr->map_name); if (size > offsetof(struct BPF_MAP_CREATE_struct, map_ifindex)) printf(", map_ifindex=0"); if (size > offsetof(struct BPF_MAP_CREATE_struct, btf_fd)) { @@ -91,6 +94,10 @@ btf_vmlinux_value_type_id)) { printf(", btf_vmlinux_value_type_id=0"); } + if (size > offsetof(struct BPF_MAP_CREATE_struct, + map_extra)) { + printf(", map_extra=0"); + } printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-map>\n", rc); @@ -125,21 +132,30 @@ .code = BPF_LD | BPF_DW | BPF_IMM, .dst_reg = BPF_REG_1, .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, - .imm = 0, /* to be set to map fd */ + .imm = 0, /* to be set to map fd2 */ }, { /* 5 */ .imm = 0, }, { /* 6 */ + .code = BPF_LD | BPF_DW | BPF_IMM, + .dst_reg = BPF_REG_1, + .src_reg = 1 /* BPF_PSEUDO_MAP_FD */, + .imm = 0, /* to be set to map fd */ + }, + { /* 7 */ + .imm = 0, + }, + { /* 8 */ .code = BPF_JMP | BPF_K | BPF_CALL, .imm = 0x1, /* BPF_FUNC_map_lookup_elem */ }, - { /* 7 */ + { /* 9 */ .code = BPF_ALU64 | BPF_K | BPF_MOV, .dst_reg = BPF_REG_0, .imm = 0, }, - { /* 8 */ + { /* 10 */ .code = BPF_JMP | BPF_K | BPF_EXIT, }, }; @@ -158,6 +174,10 @@ ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" ", {code=BPF_LD|BPF_W|BPF_IMM" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" + ", {code=BPF_LD|BPF_DW|BPF_IMM" + ", dst_reg=BPF_REG_1, src_reg=BPF_REG_1, off=0, imm=%#x}" + ", {code=BPF_LD|BPF_W|BPF_IMM" + ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0}" ", {code=BPF_JMP|BPF_K|BPF_CALL" ", dst_reg=BPF_REG_0, src_reg=BPF_REG_0, off=0, imm=0x1}" ", {code=BPF_ALU64|BPF_K|BPF_MOV" @@ -176,7 +196,7 @@ printf("bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_SOCKET_FILTER" ", insn_cnt=%zu, insns=", ARRAY_SIZE(socket_prog)); # if VERBOSE - printf(socket_prog_fmt, socket_prog4.imm); + printf(socket_prog_fmt, socket_prog4.imm, socket_prog6.imm); # else printf("%p", socket_prog); # endif @@ -213,6 +233,8 @@ printf(", attach_btf_id=0"); if (size > offsetof(struct BPF_PROG_LOAD_struct, attach_prog_fd)) printf(", attach_prog_fd=0</dev/null>"); + if (size > offsetof(struct BPF_PROG_LOAD_struct, fd_array)) + printf(", fd_array=NULL"); printf("}, %zu) = ", size); if (rc >= 0) printf("%ld<anon_inode:bpf-prog>\n", rc); @@ -259,6 +281,8 @@ lock_file_by_dirname(av0, "bpf-obj_get_info_by_fd"); sleep(1); + int ret; + struct BPF_MAP_CREATE_struct bpf_map_create_attr = { .map_type = BPF_MAP_TYPE_ARRAY, .key_size = 4, @@ -266,6 +290,13 @@ .max_entries = 1, .map_name = "test_map", }; + struct BPF_MAP_CREATE_struct bpf_map_create_attr2 = { + .map_type = BPF_MAP_TYPE_ARRAY, + .key_size = 4, + .value_size = 1, + .max_entries = 5, + .map_name = "test_map_too", + }; size_t bpf_map_create_attr_sizes = { sizeof(bpf_map_create_attr), offsetofend(struct BPF_MAP_CREATE_struct, max_entries), @@ -300,10 +331,15 @@ int map_fd = try_bpf(BPF_MAP_CREATE, print_map_create, &bpf_map_create_attr, &bpf_map_create_attr_size); if (map_fd < 0) - perror_msg_and_skip("BPF_MAP_CREATE failed"); + perror_msg_and_skip("First BPF_MAP_CREATE failed"); + int map_fd2 = try_bpf(BPF_MAP_CREATE, print_map_create, + &bpf_map_create_attr2, &bpf_map_create_attr_size); + if (map_fd2 < 0) + perror_msg_and_skip("Second BPF_MAP_CREATE failed"); #if CHECK_OBJ_PROG - socket_prog4.imm = map_fd; + socket_prog4.imm = map_fd2; + socket_prog6.imm = map_fd; size_t *bpf_prog_load_attr_size = bpf_prog_load_attr_sizes; int prog_fd = try_bpf(BPF_PROG_LOAD, print_prog_load, @@ -318,79 +354,97 @@ * initializer element is not constant. */ #define MAP_INFO_SZ (sizeof(*map_info) + 64) - struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ); - struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { - .bpf_fd = map_fd, - .info_len = MAP_INFO_SZ, - .info = (uintptr_t) map_info, + struct bpf_map_info_struct *map_info = tail_alloc(MAP_INFO_SZ + + sizeof(*map_info)); + struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_map_get_info_attr = { + { + .bpf_fd = map_fd, + .info_len = sizeof(*map_info), + .info = (uintptr_t) map_info, + }, + { + .bpf_fd = map_fd2, + .info_len = MAP_INFO_SZ, + .info = (uintptr_t) (map_info + 1), + }, }; - memset(map_info, 0, MAP_INFO_SZ); - int ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_map_get_info_attr, - sizeof(bpf_map_get_info_attr)); - if (ret < 0) - perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); + for (size_t i = 0; i < 2; i++) { + memset(map_info + i, 0, MAP_INFO_SZ); + ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, + &bpf_map_get_info_attri, + sizeof(bpf_map_get_info_attri)); + if (ret < 0) + perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD map failed"); - printf("bpf(BPF_OBJ_GET_INFO_BY_FD" - ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", - map_fd, MAP_INFO_SZ); - if (bpf_map_get_info_attr.info_len != MAP_INFO_SZ) - printf(" => %u", bpf_map_get_info_attr.info_len); + printf("bpf(BPF_OBJ_GET_INFO_BY_FD" + ", {info={bpf_fd=%d<anon_inode:bpf-map>, info_len=%zu", + i ? map_fd2 : map_fd, + i ? MAP_INFO_SZ : sizeof(*map_info)); + if (bpf_map_get_info_attri.info_len != + (i ? MAP_INFO_SZ : sizeof(*map_info))) + printf(" => %u", bpf_map_get_info_attri.info_len); - printf(", info="); + printf(", info="); #if VERBOSE - printf("{type="); - printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); - printf(", "); - PRINT_FIELD_U(*map_info, id); - printf(", "); - PRINT_FIELD_U(*map_info, key_size); - printf(", "); - PRINT_FIELD_U(*map_info, value_size); - printf(", "); - PRINT_FIELD_U(*map_info, max_entries); - printf(", map_flags="); - printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); - - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, name)) { - printf(", name="); - print_quoted_cstring(map_info->name, sizeof(map_info->name)); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, ifindex)) - printf(", ifindex=%u", map_info->ifindex); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_vmlinux_value_type_id)) - printf(", btf_vmlinux_value_type_id=%u", - map_info->btf_vmlinux_value_type_id); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_dev)) - printf(", netns_dev=makedev(%#x, %#x)", - major(map_info->netns_dev), minor(map_info->netns_dev)); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, netns_ino)) - printf(", netns_ino=%" PRIu64, map_info->netns_ino); - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_id)) { + printf("{type="); + printxval(bpf_map_types, map_infoi.type, "BPF_MAP_TYPE_???"); printf(", "); - PRINT_FIELD_U(*map_info, btf_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + PRINT_FIELD_U(map_infoi, id); printf(", "); - PRINT_FIELD_U(*map_info, btf_key_type_id); - } - if (bpf_map_get_info_attr.info_len > - offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + PRINT_FIELD_U(map_infoi, key_size); printf(", "); - PRINT_FIELD_U(*map_info, btf_value_type_id); - } - printf("}"); + PRINT_FIELD_U(map_infoi, value_size); + printf(", "); + PRINT_FIELD_U(map_infoi, max_entries); + printf(", map_flags="); + printflags(bpf_map_flags, map_infoi.map_flags, "BPF_F_???"); + + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, name)) { + printf(", name="); + print_quoted_cstring(map_infoi.name, + sizeof(map_infoi.name)); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, ifindex)) + printf(", ifindex=%u", map_infoi.ifindex); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, + btf_vmlinux_value_type_id)) { + printf(", btf_vmlinux_value_type_id=%u", + map_infoi.btf_vmlinux_value_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_dev)) + printf(", netns_dev=makedev(%#x, %#x)", + major(map_infoi.netns_dev), + minor(map_infoi.netns_dev)); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, netns_ino)) + printf(", netns_ino=%" PRIu64, map_infoi.netns_ino); + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_key_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_key_type_id); + } + if (bpf_map_get_info_attri.info_len > + offsetof(struct bpf_map_info_struct, btf_value_type_id)) { + printf(", "); + PRINT_FIELD_U(map_infoi, btf_value_type_id); + } + printf("}"); #else /* !VERBOSE */ - printf("%p", map_info); + printf("%p", map_info + i); #endif /* VERBOSE */ - printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attr), errstr); + printf("}}, %zu) = %s\n", sizeof(bpf_map_get_info_attri), + errstr); + } #if CHECK_OBJ_PROG /* @@ -400,7 +454,7 @@ # define PROG_INFO_SZ (sizeof(*prog_info) + 64) struct bpf_prog_info_struct *prog_info = tail_alloc(PROG_INFO_SZ); struct bpf_insn *xlated_prog = tail_alloc(sizeof(*xlated_prog) * 42); - uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 2); + uint32_t *map_ids = tail_alloc(sizeof(*map_ids) * 3); struct BPF_OBJ_GET_INFO_BY_FD_struct bpf_prog_get_info_attr = { .bpf_fd = prog_fd, .info_len = PROG_INFO_SZ, @@ -409,7 +463,7 @@ size_t old_prog_info_len = PROG_INFO_SZ; memset(prog_info, 0, PROG_INFO_SZ); - for (unsigned int i = 0; i < 4; i++) { + for (unsigned int i = 0; i < 5; i++) { prog_info->jited_prog_len = 0; prog_info->nr_jited_ksyms = 0; prog_info->nr_jited_func_lens = 0; @@ -427,8 +481,8 @@ prog_info->xlated_prog_insns = (uintptr_t) (xlated_prog + 42); prog_info->xlated_prog_len = 336; - prog_info->map_ids = (uintptr_t) (map_ids + 2); - prog_info->nr_map_ids = 2; + prog_info->map_ids = (uintptr_t) (map_ids + 3); + prog_info->nr_map_ids = 3; break; case 2: prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; @@ -441,13 +495,18 @@ prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; prog_info->xlated_prog_len = 0; prog_info->map_ids = (uintptr_t) map_ids; - prog_info->nr_map_ids = 2; + prog_info->nr_map_ids = 3; break; + case 4: + prog_info->xlated_prog_insns = (uintptr_t) xlated_prog; + prog_info->xlated_prog_len = 1; + prog_info->map_ids = (uintptr_t) (map_ids + 1); + prog_info->nr_map_ids = 1; } ret = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &bpf_prog_get_info_attr, sizeof(bpf_prog_get_info_attr)); - if (i != 1 && ret < 0) + if (i != 1 && i != 4 && ret < 0) perror_msg_and_skip("BPF_OBJ_GET_INFO_BY_FD" " prog %u failed", i); @@ -493,11 +552,44 @@ printf(" => %u", prog_info->xlated_prog_len); printf(", xlated_prog_insns="); break; + case 4: + printf(", xlated_prog_len=1"); + if (prog_info->xlated_prog_len != 1) + printf(" => %u", prog_info->xlated_prog_len); + printf(", xlated_prog_insns="); + break; } if (bpf_prog_get_info_attr.info_len > - offsetof(struct bpf_prog_info_struct, load_time)) + offsetof(struct bpf_prog_info_struct, load_time)) { + enum { S_NS = 1000000000 }; + printf(", load_time=%" PRIu64, prog_info->load_time); + + /* + * NB: this is janky, as strace can get somewhat + * different results. + */ + struct timespec boot; + struct timespec rtc; + + if (!clock_gettime(CLOCK_BOOTTIME, &boot) && + !clock_gettime(CLOCK_REALTIME, &rtc)) { + rtc.tv_nsec = rtc.tv_nsec - boot.tv_nsec; + rtc.tv_sec = rtc.tv_sec - boot.tv_sec + - !!(rtc.tv_nsec < 0); + if (rtc.tv_nsec < 0) + rtc.tv_nsec += S_NS; + + boot.tv_nsec = rtc.tv_nsec + + prog_info->load_time % S_NS; + boot.tv_sec = rtc.tv_sec + + prog_info->load_time / S_NS + + boot.tv_nsec / S_NS; + + print_time_t_nsec(boot.tv_sec, 0, true); + } + } if (bpf_prog_get_info_attr.info_len > offsetof(struct bpf_prog_info_struct, created_by_uid)) printf(", created_by_uid=%u", @@ -509,24 +601,31 @@ case 0: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids=NULL"); break; case 1: - printf(", nr_map_ids=2, map_ids=%p", - map_ids + 2); + printf(", nr_map_ids=3, map_ids=%p", + map_ids + 3); break; case 2: printf(", nr_map_ids=0"); if (prog_info->nr_map_ids) - printf(" => 1"); + printf(" => 2"); printf(", map_ids="); break; case 3: - printf(", nr_map_ids=2"); - if (prog_info->nr_map_ids != 2) - printf(" => 1"); - printf(", map_ids=%u", map_info->id); + printf(", nr_map_ids=3"); + if (prog_info->nr_map_ids != 3) + printf(" => 2"); + printf(", map_ids=%u, %u", + map_info1.id, map_info0.id); + break; + case 4: + printf(", nr_map_ids=1"); + if (prog_info->nr_map_ids != 1) + printf(" => 2"); + printf(", map_ids=%u", map_info1.id); break; } } @@ -635,6 +734,13 @@ offsetof(struct bpf_prog_info_struct, run_cnt)) printf(", run_cnt=%llu", (unsigned long long) prog_info->run_cnt); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, recursion_misses)) + printf(", recursion_misses=%llu", + (unsigned long long) prog_info->recursion_misses); + if (bpf_prog_get_info_attr.info_len > + offsetof(struct bpf_prog_info_struct, verified_insns)) + printf(", verified_insns=%u", prog_info->verified_insns); printf("}"); # else /* !VERBOSE */
View file
_service:tar_scm:strace-5.14.tar.xz/tests/bpf.c -> _service:tar_scm:strace-6.1.tar.xz/tests/bpf.c
Changed
@@ -2,7 +2,7 @@ * Check bpf syscall decoding. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,15 +26,17 @@ #include "print_fields.h" #include "xlat.h" +#include "xlat/bpf_attach_type.h" #include "xlat/bpf_commands.h" #include "xlat/bpf_map_types.h" #include "xlat/bpf_prog_types.h" +#include "xlat/bpf_test_run_flags.h" #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR(addr64_, addr32_) addr64_ # define BIG_ADDR_MAYBE(addr_) #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR(addr64_, addr32_) addr64_ " or " addr32_ # define BIG_ADDR_MAYBE(addr_) addr_ " or " @@ -85,16 +87,18 @@ BPF_ATTR_DATA_FIELD(BPF_MAP_DELETE_BATCH); BPF_ATTR_DATA_FIELD(BPF_LINK_CREATE); BPF_ATTR_DATA_FIELD(BPF_LINK_UPDATE); + BPF_ATTR_DATA_FIELD(BPF_LINK_GET_FD_BY_ID); char char_data256; }; struct bpf_attr_check { union bpf_attr_data data; size_t size; + size_t iters; const char *str; - void (*init_fn)(struct bpf_attr_check *check); + void (*init_fn)(struct bpf_attr_check *check, size_t idx); void (*print_fn)(const struct bpf_attr_check *check, - unsigned long addr); + unsigned long addr, size_t idx); }; struct bpf_check { @@ -106,7 +110,7 @@ static const kernel_ulong_t long_bits = (kernel_ulong_t) 0xfacefeed00000000ULL; static const char *errstr; -static unsigned int sizeof_attr = sizeof(union bpf_attr_data); +static const unsigned int sizeof_attr = sizeof(union bpf_attr_data); static unsigned int page_size; static unsigned long end_of_page; @@ -143,10 +147,11 @@ #endif static void -print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr) +print_bpf_attr(const struct bpf_attr_check *check, unsigned long addr, + size_t idx) { if (check->print_fn) - check->print_fn(check, addr); + check->print_fn(check, addr, idx); else printf("%s", check->str); } @@ -157,6 +162,7 @@ const struct bpf_attr_check *check = 0; const union bpf_attr_data *data = 0; unsigned int offset = 0; + size_t j = 0; /* zero addr */ sys_bpf(cmd_check->cmd, 0, long_bits | sizeof(union bpf_attr_data)); @@ -171,26 +177,30 @@ for (size_t i = 0; i < cmd_check->count; i++) { check = &cmd_check->checksi; - if (check->init_fn) - check->init_fn((struct bpf_attr_check *) check); - data = &check->data; - offset = check->size; - - addr = end_of_page - offset; - memcpy((void *) addr, data, offset); - - /* starting piece of bpf_attr_data */ - sys_bpf(cmd_check->cmd, addr, offset); - printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); - printf("}, %u) = %s\n", offset, errstr); - - /* short read of the starting piece */ - sys_bpf(cmd_check->cmd, addr + 1, offset); - printf("bpf(%s, %#lx, %u) = %s\n", - cmd_check->cmd_str, addr + 1, offset, errstr); + for (j = 0; j < MAX(check->iters, 1); j++) { + if (check->init_fn) + check->init_fn((struct bpf_attr_check *) check, j); + data = &check->data; + offset = check->size; + + addr = end_of_page - offset; + memcpy((void *) addr, data, offset); + + /* starting piece of bpf_attr_data */ + sys_bpf(cmd_check->cmd, addr, offset); + printf("bpf(%s, {", cmd_check->cmd_str); + print_bpf_attr(check, addr, j); + printf("}, %u) = %s\n", offset, errstr); + + /* short read of the starting piece */ + sys_bpf(cmd_check->cmd, addr + 1, offset); + printf("bpf(%s, %#lx, %u) = %s\n", + cmd_check->cmd_str, addr + 1, offset, errstr); + } } + j = MAX(check->iters, 1) - 1; + if (offset < sizeof_attr) { /* short read of the whole bpf_attr_data */ memcpy((void *) end_of_page - sizeof_attr + 1, data, offset); @@ -206,7 +216,7 @@ memset((void *) addr + offset, 0, sizeof_attr - offset); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", sizeof_attr, errstr); /* non-zero bytes after the relevant part */ @@ -214,7 +224,7 @@ sizeof_attr - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, sizeof_attr); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, sizeof_attr - offset); @@ -235,7 +245,7 @@ memset((void *) addr + offset, 0, page_size - offset); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf("}, %u) = %s\n", page_size, errstr); /* non-zero bytes after the whole bpf_attr_data */ @@ -243,7 +253,7 @@ page_size - offset, '0', 10); sys_bpf(cmd_check->cmd, addr, page_size); printf("bpf(%s, {", cmd_check->cmd_str); - print_bpf_attr(check, addr); + print_bpf_attr(check, addr, j); printf(", "); print_extra_data((char *) addr, offset, page_size - offset); @@ -256,13 +266,13 @@ } static void -init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check) +init_BPF_MAP_CREATE_attr7(struct bpf_attr_check *check, size_t idx) { struct BPF_MAP_CREATE_struct *attr = &check->data.BPF_MAP_CREATE_data; attr->map_ifindex = ifindex_lo(); } -static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 30, +static_assert(ARRAY_SIZE(bpf_map_types_xdata) == 32, "The map_type for tests 1 and 2 below needs to be updated"); static struct bpf_attr_check BPF_MAP_CREATE_checks = { { @@ -273,7 +283,7 @@ }, { /* 1 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 29, + .map_type = 31, .key_size = 4, .value_size = 8, .max_entries = 256, @@ -283,7 +293,7 @@ .map_name = "0123456789abcde", } }, .size = offsetof(struct BPF_MAP_CREATE_struct, map_name) + 8, - .str = "map_type=BPF_MAP_TYPE_TASK_STORAGE, key_size=4" + .str = "map_type=BPF_MAP_TYPE_USER_RINGBUF, key_size=4" ", value_size=8, max_entries=256" ", map_flags=BPF_F_NO_PREALLOC|BPF_F_NO_COMMON_LRU" "|BPF_F_NUMA_NODE|BPF_F_RDONLY|BPF_F_WRONLY" @@ -295,7 +305,7 @@ }, { /* 2 */ .data = { .BPF_MAP_CREATE_data = { - .map_type = 30, + .map_type = 32, .key_size = 0xface1e55, .value_size = 0xbadc0ded, .max_entries = 0xbeefcafe, @@ -306,7 +316,7 @@ .map_ifindex = 3141592653, } }, .size = offsetofend(struct BPF_MAP_CREATE_struct, map_ifindex), - .str = "map_type=0x1e /* BPF_MAP_TYPE_??? */" + .str = "map_type=0x20 /* BPF_MAP_TYPE_??? */" ", key_size=4207812181, value_size=3134983661" ", max_entries=3203386110" ", map_flags=0xffffe000 /* BPF_F_??? */" @@ -469,6 +479,26 @@ ", btf_value_type_id=3405705229" ", btf_vmlinux_value_type_id=3735929054" }, + { /* 10 */ + .data = { .BPF_MAP_CREATE_data = { + .map_type = BPF_MAP_TYPE_BLOOM_FILTER, + .map_extra = 4 + } }, + .size = offsetofend(struct BPF_MAP_CREATE_struct, map_extra), + .str = "map_type=BPF_MAP_TYPE_BLOOM_FILTER" + ", key_size=0" + ", value_size=0" + ", max_entries=0" + ", map_flags=0" + ", inner_map_fd=0" FD0_PATH + ", map_name=\"\"" + ", map_ifindex=0" + ", btf_fd=0" FD0_PATH + ", btf_key_type_id=0" + ", btf_value_type_id=0" + ", btf_vmlinux_value_type_id=0" + ", map_extra=4" + }, }; static const struct bpf_attr_check BPF_MAP_LOOKUP_ELEM_checks = { @@ -571,7 +601,7 @@ */ #define log_buf_size 4096U -static inline char * +static char * get_log_buf(void) { if (!log_buf) @@ -579,7 +609,7 @@ return log_buf; } -static inline char * +static char * get_log_buf_tail(void) { return get_log_buf() + log_buf_size; @@ -596,7 +626,7 @@ #endif static void -init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr3(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -606,7 +636,8 @@ } static void -print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr3(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_SOCKET_FILTER, insn_cnt=%u" ", insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828" @@ -619,7 +650,7 @@ } static void -init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check) +init_BPF_PROG_LOAD_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; @@ -632,7 +663,8 @@ } static void -print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_LOAD_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=%u, insns=" INSNS_FMT ", license=\"%s\", log_level=2718281828, log_size=4" @@ -766,9 +798,9 @@ .line_info_cnt = 0xdad7bef8, .attach_btf_id = 0xdad7befa, .attach_prog_fd = 0xbadc0def, + .fd_array = 0xfaceb00c, } }, - .size = offsetofend(struct BPF_PROG_LOAD_struct, - attach_prog_fd), + .size = offsetofend(struct BPF_PROG_LOAD_struct, fd_array), .str = "prog_type=BPF_PROG_TYPE_UNSPEC" ", insn_cnt=0" ", insns=NULL" @@ -790,11 +822,12 @@ ", line_info_cnt=3671572216" ", attach_btf_id=3671572218" ", attach_prog_fd=-1159983633" + ", fd_array=0xfaceb00c" }, }; static void -init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check) +init_BPF_OBJ_PIN_attr(struct bpf_attr_check *check, size_t idx) { struct BPF_OBJ_PIN_struct *attr = &check->data.BPF_OBJ_PIN_data; attr->pathname = (uintptr_t) pathname; @@ -923,12 +956,38 @@ .data_out = (uint64_t) 0xfacef33dbadc4dedULL, .repeat = 0xfac7fed8, .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0xfacdfede, + .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_in), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=4207804126" + ", ctx_in=0xfacef55dbadc6ded, ctx_out=NULL}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, .ctx_size_in = 0xfacbfedc, .ctx_size_out = 0xfacdfede, .ctx_in = (uint64_t) 0xfacef55dbadc6dedULL, - .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL + .ctx_out = (uint64_t) 0xfacef77dbadc8dedULL, + .flags = BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES, + .cpu = 0, } }, - .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, ctx_out), + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, cpu), .str = "test={prog_fd=-1, retval=4207017682" ", data_size_in=4207148756, data_size_out=4207279830" ", data_in=0xfacef11dbadc2ded" @@ -938,8 +997,40 @@ ", ctx_size_in=4207673052" ", ctx_size_out=4207804126" ", ctx_in=0xfacef55dbadc6ded" - ", ctx_out=0xfacef77dbadc8ded}" - } + ", ctx_out=0xfacef77dbadc8ded" + ", flags=BPF_F_TEST_RUN_ON_CPU|BPF_F_TEST_XDP_LIVE_FRAMES" + ", cpu=0}" + }, + { + .data = { .BPF_PROG_TEST_RUN_data = { + .prog_fd = -1, + .retval = 0xfac1fed2, + .data_size_in = 0xfac3fed4, + .data_size_out = 0xfac5fed6, + .data_in = (uint64_t) 0xfacef11dbadc2dedULL, + .data_out = (uint64_t) 0xfacef33dbadc4dedULL, + .repeat = 0xfac7fed8, + .duration = 0xfac9feda, + .ctx_size_in = 0, + .ctx_size_out = 0, + .ctx_in = 0, + .ctx_out = 0, + .flags = 0xfffffffc, + .cpu = 3141592653, + .batch_size = 2718281828, + } }, + .size = offsetofend(struct BPF_PROG_TEST_RUN_struct, batch_size), + .str = "test={prog_fd=-1, retval=4207017682" + ", data_size_in=4207148756, data_size_out=4207279830" + ", data_in=0xfacef11dbadc2ded" + ", data_out=0xfacef33dbadc4ded" + ", repeat=4207410904" + ", duration=4207541978" + ", ctx_size_in=0, ctx_size_out=0" + ", ctx_in=NULL, ctx_out=NULL" + ", flags=0xfffffffc /* BPF_F_??? */" + ", cpu=3141592653, batch_size=2718281828}" + }, }; static const struct bpf_attr_check BPF_PROG_GET_NEXT_ID_checks = { @@ -955,13 +1046,8 @@ .start_id = 0xdeadbeef } }, .size = 1, - .str = "start_id=" -#ifdef WORDS_BIGENDIAN - "3724541952" /* 0xde000000 */ -#else - "239" /* 0x000000ef */ -#endif - ", next_id=0" + /* 0xde000000 0x000000ef */ + .str = "start_id=" BE_LE("3724541952", "239") ", next_id=0" }, { .data = { .BPF_PROG_GET_NEXT_ID_data = { @@ -985,6 +1071,7 @@ #define BPF_MAP_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks #define BPF_BTF_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks +#define BPF_LINK_GET_NEXT_ID_checks BPF_PROG_GET_NEXT_ID_checks static const struct bpf_attr_check BPF_PROG_GET_FD_BY_ID_checks = { { @@ -1065,7 +1152,7 @@ uint32_t *prog_load_ids_ptr; static void -init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr4(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1078,7 +1165,8 @@ } static void -print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr4(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1093,7 +1181,7 @@ } static void -init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check) +init_BPF_PROG_QUERY_attr5(struct bpf_attr_check *check, size_t idx) { struct BPF_PROG_QUERY_struct *attr = &check->data.BPF_PROG_QUERY_data; @@ -1106,7 +1194,8 @@ } static void -print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, unsigned long addr) +print_BPF_PROG_QUERY_attr5(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) { printf("query={target_fd=-1153374643" ", attach_type=0xfeedface /* BPF_??? */" @@ -1133,13 +1222,13 @@ { /* 1 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 40, + .attach_type = 43, .query_flags = 1, .attach_flags = 3, } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, attach_flags), .str = "query={target_fd=-1153374643" - ", attach_type=BPF_SK_REUSEPORT_SELECT_OR_MIGRATE" + ", attach_type=BPF_LSM_CGROUP" ", query_flags=BPF_F_QUERY_EFFECTIVE" ", attach_flags=BPF_F_ALLOW_OVERRIDE|BPF_F_ALLOW_MULTI" ", prog_ids=NULL, prog_cnt=0}", @@ -1147,7 +1236,7 @@ { /* 2 */ .data = { .BPF_PROG_QUERY_data = { .target_fd = 3141592653U, - .attach_type = 41, + .attach_type = 44, .query_flags = 0xfffffffe, .attach_flags = 0xfffffff8, .prog_ids = 0xffffffffffffffffULL, @@ -1155,7 +1244,7 @@ } }, .size = offsetofend(struct BPF_PROG_QUERY_struct, prog_cnt), .str = "query={target_fd=-1153374643" - ", attach_type=0x29 /* BPF_??? */" + ", attach_type=0x2c /* BPF_??? */" ", query_flags=0xfffffffe /* BPF_F_QUERY_??? */" ", attach_flags=0xfffffff8 /* BPF_F_??? */" ", prog_ids=" @@ -1205,7 +1294,7 @@ static void -init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check) +init_BPF_RAW_TRACEPOINT_attr2(struct bpf_attr_check *check, size_t idx) { /* TODO: test the 128 byte limit */ static const char tp_name = "0123456789qwertyuiop0123456789qwe"; @@ -1248,7 +1337,7 @@ }; static void -init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check) +init_BPF_BTF_LOAD_attr(struct bpf_attr_check *check, size_t idx) { static const char sample_btf_data = "bPf\0daTum"; @@ -1396,24 +1485,314 @@ } }; -static const struct bpf_attr_check BPF_LINK_CREATE_checks = { - { - .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = -2 } }, - .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-2" +static void +init_BPF_LINK_CREATE_attr1(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + attr->attach_type = idx; +} + +static void +print_BPF_LINK_CREATE_attr1(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0x4}", + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +/* Keep sorted */ +static const uint8_t special_attach_types = + { 0, BPF_TRACE_ITER, BPF_PERF_EVENT, BPF_TRACE_KPROBE_MULTI }; + +static void +init_BPF_LINK_CREATE_attr2(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + attr->attach_type = idx; + + check->data.char_data19 = ' '; + check->data.char_data23 = 'O'; + check->data.char_data27 = 'H'; + check->data.char_data31 = ' '; + check->data.char_data35 = 'H'; + check->data.char_data39 = 'A'; + check->data.char_data43 = 'I'; + check->data.char_data47 = '!'; +} + +static void +print_BPF_LINK_CREATE_attr2(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + /* skip special_attach_types */ + for (size_t i = 0; i < ARRAY_SIZE(special_attach_types) + && idx >= special_attach_typesi; i++, idx++); + + printf("link_create={prog_fd=-1, target_fd=-559038737" + ", attach_type=%s, flags=0xbadc0ded}, " +#if VERBOSE + "extra_data=\"\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x4f" + "\\x00\\x00\\x00\\x48\\x00\\x00\\x00\\x20\\x00\\x00\\x00\\x48" + "\\x00\\x00\\x00\\x41\\x00\\x00\\x00\\x49\\x00\\x00\\x00\\x21\"" + " /* bytes 16..47 */" +#else + "..." +#endif + , + sprintxval(bpf_attach_type, idx, "BPF_???")); +} + +static const int iter_info_data = { 0, 42, 314159265, 0xbadc0ded, -1 }; +static int *iter_info_data_p; + +static void +init_BPF_LINK_CREATE_attr7(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + close(iter_info_data1); + + if (!iter_info_data_p) { + iter_info_data_p = tail_memdup(iter_info_data, + sizeof(iter_info_data)); + } + + attr->iter_info = (uintptr_t) iter_info_data_p; + attr->iter_info_len = ARRAY_SIZE(iter_info_data) + idx; +} + +static void +print_BPF_LINK_CREATE_attr7(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info={map={map_fd=0" FD0_PATH "}}, {map={map_fd=42}}" + ", {map={map_fd=314159265}}, {map={map_fd=-1159983635}}" + ", {map={map_fd=-1}}"); + if (idx) { + printf(", ... /* %p */", + iter_info_data_p + ARRAY_SIZE(iter_info_data)); + } + printf(", iter_info_len=%zu}", ARRAY_SIZE(iter_info_data) + idx); + +} + +static const char *syms_data = { "foo", NULL, "OH\0HAI", + "abcdefghijklmnopqrstuvwxyz0123456789" }; +static char **syms_data_p; +static const uint64_t addrs_data = { 0, 1, 0xbadc0ded, + 0xfacefeeddeadc0deULL }; +static uint64_t *addrs_data_p; + +static_assert(ARRAY_SIZE(syms_data) == ARRAY_SIZE(addrs_data), + "syms_data and addrs_data have to have the same element count"); + +static void +init_BPF_LINK_CREATE_attr12(struct bpf_attr_check *check, size_t idx) +{ + struct BPF_LINK_CREATE_struct *attr = &check->data.BPF_LINK_CREATE_data; + + if (!syms_data_p) + syms_data_p = tail_memdup(syms_data, sizeof(syms_data)); + if (!addrs_data_p) + addrs_data_p = tail_memdup(addrs_data, sizeof(addrs_data)); + + attr->kprobe_multi.cnt = ARRAY_SIZE(syms_data) + idx; + attr->kprobe_multi.syms = (uintptr_t) syms_data_p; + attr->kprobe_multi.addrs = (uintptr_t) addrs_data_p; + attr->kprobe_multi.cookies = (uintptr_t) addrs_data_p; +} + +static void +print_BPF_LINK_CREATE_attr12(const struct bpf_attr_check *check, + unsigned long addr, size_t idx) +{ + printf("link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=BPF_F_KPROBE_MULTI_RETURN|0xfacebeee" + ", cnt=%zu", ARRAY_SIZE(syms_data) + idx); + printf(", syms=\"foo\", NULL, \"OH\"" + ", \"abcdefghijklmnopqrstuvwxyz012345\"..."); + if (idx) + printf(", ... /* %p */", syms_data_p + ARRAY_SIZE(syms_data)); + for (size_t i = 0; i < 2; i++) { + printf(", %s=0, 0x1, 0xbadc0ded, 0xfacefeeddeadc0de", + i ? "cookies" : "addrs"); + if (idx) { + printf(", ... /* %p */", + addrs_data_p + ARRAY_SIZE(addrs_data)); + } + } + printf("}}"); +} + +static struct bpf_attr_check BPF_LINK_CREATE_checks = { + { /* 0 */ + .data = { .BPF_LINK_CREATE_data = { .prog_fd = 0, .target_fd = 0 } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, target_fd), + .str = "link_create={prog_fd=0" FD0_PATH ", target_fd=0" FD0_PATH ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" }, - { + { /* 1 */ .data = { .BPF_LINK_CREATE_data = { .prog_fd = -1, .target_fd = 0xdeadbeef, - .attach_type = 5, .flags = 4 } }, .size = offsetofend(struct BPF_LINK_CREATE_struct, flags), - .str = "link_create={prog_fd=-1, target_fd=-559038737" - ", attach_type=BPF_SK_SKB_STREAM_VERDICT, flags=0x4}" - } + .iters = ARRAY_SIZE(bpf_attach_type_xdata), + .init_fn = init_BPF_LINK_CREATE_attr1, + .print_fn = print_BPF_LINK_CREATE_attr1, + }, + { /* 2 - all non-special attach_types */ + .data = { .BPF_LINK_CREATE_data = { + .prog_fd = -1, + .target_fd = 0xdeadbeef, + .attach_type = 5, + .flags = 0xbadc0ded + } }, + .size = 48, + .iters = ARRAY_SIZE(bpf_attach_type_xdata) + - ARRAY_SIZE(special_attach_types), + .init_fn = init_BPF_LINK_CREATE_attr2, + .print_fn = print_BPF_LINK_CREATE_attr2, + }, + + { /* 3 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0}" + }, + { /* 4 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 0, + .target_btf_id = 0xfacefeed, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + target_btf_id), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_CGROUP_INET_INGRESS, flags=0" + ", target_btf_id=4207869677}" + }, + + { /* 5 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=NULL, iter_info_len=0}" + }, + { /* 6 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + .iter_info = 0xffffffff00000000, + .iter_info_len = 0xdeadface, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_ITER, flags=0" + ", iter_info=" BIG_ADDR("0xffffffff00000000", "NULL") + ", iter_info_len=3735943886}" + }, + { /* 7 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 28, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + iter_info_len), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr7, + .print_fn = print_BPF_LINK_CREATE_attr7, + }, + + { /* 8 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0}}" + }, + { /* 9 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 41, + .perf_event = { .bpf_cookie = 0xdeadc0defacecafeULL }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + perf_event.bpf_cookie), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_PERF_EVENT, flags=0" + ", perf_event={bpf_cookie=0xdeadc0defacecafe}}" + }, + + { /* 10 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0, cnt=0, syms=NULL, addrs=NULL" + ", cookies=NULL}}" + }, + { /* 11 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xdeadc0de, + .cnt = 0xbadfaced, + .syms = 0xffffffff00000000, + .addrs = 0xffffffff00000000, + .cookies = 0xffffffff00000000, + }, + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .str = "link_create={prog_fd=0" FD0_PATH", target_fd=0" FD0_PATH + ", attach_type=BPF_TRACE_KPROBE_MULTI, flags=0" + ", kprobe_multi={flags=0xdeadc0de /* BPF_F_??? */" + ", cnt=3135220973" + ", syms=" BIG_ADDR("0xffffffff00000000", "NULL") + ", addrs=" BIG_ADDR("0xffffffff00000000", "NULL") + ", cookies=" BIG_ADDR("0xffffffff00000000", "NULL") "}}" + }, + /* + * Note that here we rely on the fact that this attach_type has the + * largest de-facto attr_size to get the additional checks performed + * with the last check passed. + */ + { /* 12 */ + .data = { .BPF_LINK_CREATE_data = { + .attach_type = 42, + .kprobe_multi = { + .flags = 0xfacebeef, + } + } }, + .size = offsetofend(struct BPF_LINK_CREATE_struct, + kprobe_multi.cookies), + .iters = 2, + .init_fn = init_BPF_LINK_CREATE_attr12, + .print_fn = print_BPF_LINK_CREATE_attr12, + }, }; static const struct bpf_attr_check BPF_LINK_UPDATE_checks = { @@ -1438,6 +1817,14 @@ } }; +static const struct bpf_attr_check BPF_LINK_GET_FD_BY_ID_checks = { + { + .data = { .BPF_LINK_GET_FD_BY_ID_data = { .link_id = 0xdeadbeef } }, + .size = offsetofend(struct BPF_LINK_GET_FD_BY_ID_struct, link_id), + .str = "link_id=3735928559" + } +}; + #define CHK(cmd_) \ { \ @@ -1479,6 +1866,8 @@ CHK(BPF_MAP_DELETE_BATCH), CHK(BPF_LINK_CREATE), CHK(BPF_LINK_UPDATE), + CHK(BPF_LINK_GET_NEXT_ID), + CHK(BPF_LINK_GET_FD_BY_ID), }; page_size = get_page_size();
View file
_service:tar_scm:strace-5.14.tar.xz/tests/btrfs.c -> _service:tar_scm:strace-6.1.tar.xz/tests/btrfs.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,6 +22,7 @@ #include <sys/vfs.h> #include <linux/fs.h> #include <linux/btrfs_tree.h> +#include "print_utils.h" #include "xlat.h" #define XLAT_MACROS_ONLY @@ -33,6 +34,7 @@ #include "xlat/btrfs_balance_state.h" #include "xlat/btrfs_compress_types.h" #include "xlat/btrfs_cont_reading_from_srcdev_mode.h" +#include "xlat/btrfs_csum_types.h" #include "xlat/btrfs_defrag_flags.h" #include "xlat/btrfs_dev_stats_values.h" #include "xlat/btrfs_dev_stats_flags.h" @@ -46,6 +48,7 @@ #include "xlat/btrfs_features_compat.h" #include "xlat/btrfs_features_compat_ro.h" #include "xlat/btrfs_features_incompat.h" +#include "xlat/btrfs_fs_info_flags.h" #include "xlat/btrfs_key_types.h" #include <linux/fiemap.h> @@ -150,15 +153,47 @@ } } +static void +print_hex(uint8_t byte) +{ + printf("%c%c", BYTE_HEX_CHARS(byte)); +} + +static void +print_uuid(const char * const prefix, const uint8_t * const uuid) +{ + size_t i = 0; + + printf("%s", prefix); + + for (; i < 4; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 6; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 8; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 10; i++) + print_hex(uuidi); + printf("-"); + + for (; i < 16; i++) + print_hex(uuidi); +} + /* takes highest valid flag bit */ static uint64_t max_flags_plus_one(int bit) { - int i; uint64_t val = 0; if (bit == -1) return 1; - for (i = 0; i <= bit + 1 && i < 64; i++) + for (int i = 0; i <= bit + 1 && i < 64; ++i) val |= (1ULL << i); return val; } @@ -228,9 +263,8 @@ inherit->lim.max_rfer, inherit->lim.max_excl, inherit->lim.rsv_rfer, inherit->lim.rsv_excl); if (verbose) { - unsigned int i; printf("qgroups="); - for (i = 0; i < inherit->num_qgroups; i++) { + for (unsigned int i = 0; i < inherit->num_qgroups; ++i) { if (i > 0) printf(", "); printf("%" PRI__u64, inherit->qgroupsi); @@ -370,7 +404,6 @@ printf(") = -1 EBADF (%m)\n"); const unsigned int n_qgroups = 8; - unsigned int i; struct btrfs_qgroup_inherit *inherit; vol_args_v2.size = sizeof(*inherit) + n_qgroups * sizeof(inherit->qgroups0); @@ -380,7 +413,7 @@ inherit->num_ref_copies = 0; inherit->num_excl_copies = 0; inherit->num_qgroups = n_qgroups; - for (i = 0; i < n_qgroups; i++) + for (unsigned int i = 0; i < n_qgroups; ++i) inherit->qgroupsi = 1ULL << i; inherit->lim.flags = 0x7f; inherit->lim.max_rfer = u64val; @@ -416,16 +449,11 @@ if (write_ok) { struct btrfs_ioctl_vol_args_v2 args_passed; long ret; - /* - * Returns transid if flags & BTRFS_SUBVOL_CREATE_ASYNC - * - BTRFS_IOC_SNAP_CREATE_V2 - * - BTRFS_IOC_SUBVOL_CREATE_V2 - */ int subvolfd; strncpy(vol_args_v2.name, subvol_name, sizeof(vol_args_v2.name)); - vol_args_v2.flags = BTRFS_SUBVOL_CREATE_ASYNC; + vol_args_v2.flags = 0; vol_args_v2.size = 0; vol_args_v2.qgroup_inherit = NULL; args_passed = vol_args_v2; @@ -844,10 +872,9 @@ void *buf, uint64_t buf_size) { if (verbose) { - uint64_t i; uint64_t off = 0; printf("buf="); - for (i = 0; i < key->nr_items; i++) { + for (uint64_t i = 0; i < key->nr_items; ++i) { struct btrfs_ioctl_search_header *sh; sh = (typeof(sh))(buf + off); if (i) @@ -1100,9 +1127,8 @@ printf(" => {total_spaces=%" PRI__u64 ", ", argsp->total_spaces); if (verbose) { - unsigned int i; printf("spaces="); - for (i = 0; i < argsp->total_spaces; i++) { + for (unsigned int i = 0; i < argsp->total_spaces; ++i) { struct btrfs_ioctl_space_info *info; info = &argsp->spacesi; if (i) @@ -1330,8 +1356,8 @@ fiemap->fm_mapped_extents); if (verbose) { printf("fm_extents="); - unsigned int i; - for (i = 0; i < fiemap->fm_mapped_extents; i++) { + for (unsigned int i = 0; + i < fiemap->fm_mapped_extents; ++i) { struct fiemap_extent *fe; fe = &fiemap->fm_extentsi; if (i) @@ -1339,7 +1365,7 @@ printf("{fe_logical=%" PRI__u64 ", fe_physical=%" PRI__u64 ", fe_length=%" PRI__u64 - ", ", + ", fe_flags=", fe->fe_logical, fe->fe_physical, fe->fe_length); prfl_btrfs(fiemap_extent_flags, fe->fe_flags, @@ -1628,7 +1654,6 @@ printf("}) = -1 EBADF (%m)\n"); if (write_ok) { - unsigned int i; args.flags = BTRFS_DEV_STATS_RESET; printf("ioctl(%d, %s, {devid=%s" ", nr_items=%" PRI__u64 ", flags=", @@ -1642,18 +1667,18 @@ prfl_btrfs(btrfs_dev_stats_flags, args.flags, "BTRFS_DEV_STATS_???"); printf(", "); - for (i = 0; i < args.nr_items; i++) { + for (unsigned int i = 0; i < args.nr_items; ++i) { const char *name = xlookup(btrfs_dev_stats_values, i); if (i) printf(", "); if (name) { if (verbose_xlat) - printf("%u /* %s */ = ", i, name); + printf("%u /* %s */=", i, name); else - printf("%s = ", name); + printf("%s=", name); } else { - printf("%u = ", i); + printf("%u=", i); } printf("%" PRI__u64, args.valuesi); @@ -1955,8 +1980,7 @@ XLAT(BTRFS_IOC_SUBVOL_GETFLAGS), }; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(btrfs_read_cmd); ++i) { ioctl(-1, (unsigned long) btrfs_read_cmdi.val, 0); printf("ioctl(-1, %s, NULL) = -1 EBADF (%m)\n", sprint_xlat_(btrfs_read_cmdi.val, @@ -1965,6 +1989,81 @@ } static void +btrfs_print_fs_info_args(const struct btrfs_ioctl_fs_info_args * const args) +{ + print_uint64("{max_id=", args->max_id); + print_uint64(", num_devices=", args->num_devices); + print_uuid(", fsid=", args->fsid); + printf(", nodesize=%" PRIu32, args->nodesize); + printf(", sectorsize=%" PRIu32, args->sectorsize); + printf(", clone_alignment=%" PRIu32, args->clone_alignment); + + if (args->flags & BTRFS_FS_INFO_FLAG_CSUM_INFO) { + printf(", csum_type="); + prxval_btrfs(btrfs_csum_types, args->csum_type, + "BTRFS_CSUM_TYPE_???", true); + printf(", csum_size=%" PRIu16, args->csum_size); + } + + printf(", flags="); + prfl_btrfs(btrfs_fs_info_flags, args->flags, "BTRFS_FS_INFO_FLAG_???"); + + if (args->flags & BTRFS_FS_INFO_FLAG_GENERATION) + print_uint64(", generation=", args->generation); + + if (args->flags & BTRFS_FS_INFO_FLAG_METADATA_UUID) + print_uuid(", metadata_uuid=", args->metadata_uuid); + + printf("}"); +} + +static void +btrfs_fs_info_args_subtest(const struct btrfs_ioctl_fs_info_args * const args) +{ + ioctl(btrfs_test_dir_fd, BTRFS_IOC_FS_INFO, args); + printf("ioctl(%d, %s, ", btrfs_test_dir_fd, ioc(BTRFS_IOC_FS_INFO)); + btrfs_print_fs_info_args(args); + printf(") = 0\n"); +} + +static void +btrfs_test_fs_info_ioctl(void) +{ + struct btrfs_ioctl_fs_info_args args = {}; + + if (!write_ok) + return; + + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); + + args.flags = BTRFS_FS_INFO_FLAG_CSUM_INFO + | BTRFS_FS_INFO_FLAG_GENERATION + | BTRFS_FS_INFO_FLAG_METADATA_UUID; + btrfs_fs_info_args_subtest(&args); +} + +static void rm_test_dir(void) { int rootfd = open(path, O_RDONLY|O_DIRECTORY); @@ -2070,6 +2169,7 @@ btrfs_test_dev_replace_ioctl(); btrfs_test_extent_same_ioctl(); btrfs_test_features_ioctls(); + btrfs_test_fs_info_ioctl(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/chmod--secontext.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 --secontext -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext -e trace=chmod +run_strace_match_diff -a28 -e secontext=!full,mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests/chmod--secontext_full.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext_full.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 --secontext=full -e trace=chmod); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full -a28 -e secontext=full -e trace=chmod); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a28 --secontext=full -e trace=chmod +run_strace_match_diff -a28 -e secontext=full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch,full -e trace=chmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "chmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/chmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a28 --secontext=mismatch -e trace=chmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests/clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|fcntl.*' -e/clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'times|fcntl.*' -e/clock +test_trace_expr 'times|times-.*|fcntl.*' -e/clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests/clock_t_str.c
Added
@@ -0,0 +1,38 @@ +/* + * Format clock_t-typed values. + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <inttypes.h> +#include <math.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +const char * +clock_t_str(uint64_t val, char *str, size_t str_size) +{ + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + } + + if ((clk_tck > 0) && val) { + snprintf(str, str_size, "%" PRIu64 " /* %" PRIu64 ".%0*u s */", + val, val / clk_tck, precision, + (unsigned) round(((double) (val % clk_tck) / clk_tck) + * pow(10, precision))); + } else { + snprintf(str, str_size, "%" PRIu64, val); + } + + return str; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests/clone3.c -> _service:tar_scm:strace-6.1.tar.xz/tests/clone3.c
Changed
@@ -126,7 +126,7 @@ #define do_clone3(args_, size_, errors_) \ do_clone3_((args_), (size_), (errors_), __LINE__) -static inline void +static void print_addr64(const char *pfx, uint64_t addr) { if (addr) @@ -187,7 +187,7 @@ printf(", set_tid_size=%" PRIu64, set_tid_size); } -static inline void +static void print_clone3(struct clone_args *const arg, long rc, kernel_ulong_t sz, enum validity_flags valid, const char *flags_str, const char *es_str) @@ -402,18 +402,12 @@ rc = do_clone3(arg2, sizeof(*arg2) + 8, ERR(E2BIG)); printf("clone3({flags=0, exit_signal=%llu, stack=NULL, stack_size=0" ", /* bytes %zu..%zu */ " -#ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -#else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -#endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #if RETVAL_INJECTED "} => {/* bytes %zu..%zu */ " -# ifdef WORDS_BIGENDIAN - "\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"" -# else - "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"" -# endif + BE_LE("\"\\xfa\\xce\\xfe\\xed\\xde\\xad\\xc0\\xde\"", + "\"\\xde\\xc0\\xad\\xde\\xed\\xfe\\xce\\xfa\"") #endif /* RETVAL_INJECTED */ "}, %zu) = %s" INJ_STR, 0xdeadface00000000ULL | SIGCHLD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/clone_ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests/clone_ptrace.c
Changed
@@ -1,7 +1,7 @@ /* * Check handling of CLONE_PTRACE'ed processes. * - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -95,13 +95,16 @@ if (!WIFSIGNALED(status) || WTERMSIG(status) != sig) error_msg_and_fail("unexpected child exit status %d", status); + char utm_str64; + char stm_str64; printf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=%d" - ", si_uid=%d, si_status=%s, si_utime=%u, si_stime=%u} ---\n" + ", si_uid=%d, si_status=%s, si_utime=%s, si_stime=%s} ---\n" #if !QUIET_EXIT "+++ exited with 0 +++\n" #endif , pid, geteuid(), "SIGUSR1", - (unsigned int) sinfo.si_utime, (unsigned int) sinfo.si_stime); + clock_t_str((unsigned int) sinfo.si_utime, ARRSZ_PAIR(utm_str)), + clock_t_str((unsigned int) sinfo.si_stime, ARRSZ_PAIR(stm_str))); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/count-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests/count-f.c
Changed
@@ -23,10 +23,8 @@ static void * thread(void *arg) { - unsigned int i; - assert(chdir(".") == 0); - for (i = 0; i < N; ++i) { + for (unsigned int i = 0; i < N; ++i) { assert(chdir("") == -1); assert(chdir(".") == 0); } @@ -37,16 +35,15 @@ static int process(void) { - unsigned int i; pthread_t tT; - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { errno = pthread_create(&ti, NULL, thread, NULL); if (errno) perror_msg_and_fail("pthread_create"); } - for (i = 0; i < T; ++i) { + for (unsigned int i = 0; i < T; ++i) { void *retval; errno = pthread_join(ti, &retval); if (errno) @@ -59,20 +56,24 @@ int main(void) { - unsigned int i; pid_t pP; - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { pi = fork(); if (pi < 0) perror_msg_and_fail("fork"); if (!pi) return process(); } - for (i = 0; i < P; ++i) { + for (unsigned int i = 0; i < P; ++i) { int s; + pid_t rc; - assert(waitpid(pi, &s, 0) == pi); + while ((rc = waitpid(pi, &s, 0)) != pi) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pi); + } assert(WIFEXITED(s)); if (WEXITSTATUS(s)) return WEXITSTATUS(s);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/cur_audit_arch.h
Added
@@ -0,0 +1,163 @@ +/* + * Provides an AUDIT_ARCH_* constant for the current process in CUR_AUDIT_ARCH + * macro for some architectures (where such a constant defined). + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_CUR_AUDIT_ARCH_H +# define STRACE_TESTS_CUR_AUDIT_ARCH_H + +# include <linux/audit.h> + +/* + * If only one could easily get AUDIT_ARCH_* of the running process... + * CUR_AUDIT_ARCH - AUDIT_ARCH_* of the current personality + * PERS0_AUDIT_ARCH - AUDIT_ARCH_* of the strace's default personality + * if the current one is mpers + * PERS0__NR_gettid - gettid() syscall number in strace's default personality + * M32_AUDIT_ARCH, MX32_AUDIT_ARCH - AUDIT_ARCH_* values for mpers + * M32__NR_gettid, MX32_NR_gettid - gettid() syscall numbers in mpers + */ +# if defined __alpha__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_ALPHA + +# elif defined __arc__ +# if WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACTBE +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARCOMPACT +# endif + +# elif defined __arm64__ || defined __aarch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define M32_AUDIT_ARCH AUDIT_ARCH_ARM +# define M32__NR_gettid 224 +# elif defined __arm__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARMEB +# else +# define PERS0_AUDIT_ARCH AUDIT_ARCH_AARCH64 +# define PERS0__NR_gettid 178 +# define CUR_AUDIT_ARCH AUDIT_ARCH_ARM +# endif + +# elif defined __x86_64__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define PERS0__NR_gettid 186 +# define CUR_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define M32_AUDIT_ARCH AUDIT_ARCH_I386 +# define M32__NR_gettid 224 +# define MX32_AUDIT_ARCH AUDIT_ARCH_X86_64 +# define MX32__NR_gettid 1073742010 +# elif defined __i386__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_X86_64 +# ifdef X32 +# define PERS0__NR_gettid 1073742010 +# else +# define PERS0__NR_gettid 186 +# endif +# define CUR_AUDIT_ARCH AUDIT_ARCH_I386 + +# elif defined __ia64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_IA64 + +# elif defined __hppa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_PARISC + +# elif defined __m68k__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_M68K + +# elif defined __mips__ +# if _MIPS_SIM == _MIPS_SIM_ABI64 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64 +# endif +# elif _MIPS_SIM == _MIPS_SIM_NABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS64N32 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL64N32 +# endif +# elif _MIPS_SIM == _MIPS_SIM_ABI32 +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPS +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_MIPSEL +# endif +# endif + +# elif defined __powerpc64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_PPC +# define M32__NR_gettid 207 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC64LE +# endif +# elif defined __powerpc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_PPC64 +# define PERS0__NR_gettid 207 +# define CUR_AUDIT_ARCH AUDIT_ARCH_PPC + +# elif defined __riscv +# define CUR_AUDIT_ARCH AUDIT_ARCH_RISCV64 + +# elif defined __s390x__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390X +# define M32_AUDIT_ARCH AUDIT_ARCH_S390 +# define M32__NR_gettid 236 +# elif defined __s390__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_S390X +# define PERS0__NR_gettid 236 +# define CUR_AUDIT_ARCH AUDIT_ARCH_S390 + +# elif defined __sh64__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64 +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH64EL +# endif +# elif defined __sh__ +# ifdef WORDS_BIGENDIAN +# define CUR_AUDIT_ARCH AUDIT_ARCH_SH +# else +# define CUR_AUDIT_ARCH AUDIT_ARCH_SHEL +# endif + +# elif defined __sparc__ && defined __arch64__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define M32_AUDIT_ARCH AUDIT_ARCH_SPARC +# define M32__NR_gettid 143 +# elif defined __sparc__ +# define PERS0_AUDIT_ARCH AUDIT_ARCH_SPARC64 +# define PERS0__NR_gettid 143 +# define CUR_AUDIT_ARCH AUDIT_ARCH_SPARC + +# elif defined __xtensa__ +# define CUR_AUDIT_ARCH AUDIT_ARCH_XTENSA + +# endif + +/* Undefine meaningless definitions */ +# if defined(PERS0_AUDIT_ARCH) \ + && !defined(MPERS_IS_m32) && !defined(MPERS_IS_mx32) +# undef PERS0_AUDIT_ARCH +# endif + +# if defined(M32_AUDIT_ARCH) \ + && (!defined(HAVE_M32_MPERS) || defined(MPERS_IS_m32)) +# undef M32_AUDIT_ARCH +# endif + +# if defined(MX32_AUDIT_ARCH) \ + && (!defined(HAVE_MX32_MPERS) || defined(MPERS_IS_mx32)) +# undef MX32_AUDIT_ARCH +# endif + +#endif /* STRACE_TESTS_CUR_AUDIT_ARCH_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-all.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_DEVNUM 1 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all
View file
_service:tar_scm:strace-5.14.tar.xz/tests/dev--decode-fds-dev.c -> _service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-dev.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 1 +#define PRINT_AT_FDCWD_PATH 0 #include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-none.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATH 0 +#include "dev-yy.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests/dev--decode-fds-path.c -> _service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-path.c
Changed
@@ -1,2 +1,3 @@ #define PRINT_DEVNUM 0 +#define PRINT_AT_FDCWD_PATH 1 #include "dev-yy.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/dev--decode-fds-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-socket.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_DEVNUM 0 -#include "dev-yy.c" +#include "dev--decode-fds-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/dev--decode-fds-socket.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/dev--decode-fds-socket.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +run_strace_match_diff -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket
View file
_service:tar_scm:strace-5.14.tar.xz/tests/dev-yy.c -> _service:tar_scm:strace-6.1.tar.xz/tests/dev-yy.c
Changed
@@ -18,14 +18,28 @@ #include <sys/sysmacros.h> +#ifndef PRINT_PATH +# define PRINT_PATH 1 +#endif + #ifndef PRINT_DEVNUM -# define PRINT_DEVNUM 1 +# if PRINT_PATH +# define PRINT_DEVNUM 1 +# else +# define PRINT_DEVNUM 0 +# endif +#endif + +#ifndef PRINT_AT_FDCWD_PATH +# define PRINT_AT_FDCWD_PATH PRINT_DEVNUM #endif #if PRINT_DEVNUM # define DEV_FMT "<%s<%s %u:%u>>" -#else +#elif PRINT_PATH # define DEV_FMT "<%s>" +#else +# define DEV_FMT "" #endif #if defined __NR_openat && defined O_PATH @@ -34,6 +48,9 @@ main(void) { skip_if_unavailable("/proc/self/fd/"); +# if PRINT_AT_FDCWD_PATH + char *cwd = get_fd_path(get_dir_fd(".")); +# endif static const struct { const char *path; @@ -56,16 +73,25 @@ long fd = syscall(__NR_openat, AT_FDCWD, checksi.path, O_RDONLY|O_PATH); - printf("openat(AT_FDCWD, \"%s\", O_RDONLY|O_PATH) = %s", + printf("openat(AT_FDCWD" +# if PRINT_AT_FDCWD_PATH + "<%s>" +# endif + ", \"%s\", O_RDONLY|O_PATH) = %s", +# if PRINT_AT_FDCWD_PATH + cwd, +# endif checksi.path, sprintrc(fd)); +# if PRINT_PATH if (fd >= 0) printf(DEV_FMT, checksi.path -# if PRINT_DEVNUM +# if PRINT_DEVNUM , checksi.blk ? "block" : "char", checksi.major, checksi.minor -# endif +# endif ); +# endif puts(""); if (fd < 0) { @@ -79,10 +105,13 @@ int rc = fsync(fd); printf("fsync(%ld" DEV_FMT ") = %s\n", - fd, checksi.path, -# if PRINT_DEVNUM + fd, +# if PRINT_PATH + checksi.path, +# if PRINT_DEVNUM checksi.blk ? "block" : "char", checksi.major, checksi.minor, +# endif # endif sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests/errno2name.c -> _service:tar_scm:strace-6.1.tar.xz/tests/errno2name.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,10 @@ #define CASE(x) case x: return #x +#ifndef ENOTSUPP +# define ENOTSUPP 524 +#endif + const char * errno2name(void) {
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execve--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execve--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_full_mismatch +execve.test --secontext=full,mismatch); do not edit. +set -- --secontext=full,mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execve--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execve--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execve--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execve--secontext_mismatch +execve.test --secontext=mismatch); do not edit. +set -- --secontext=mismatch +. "${srcdir=.}/execve.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execveat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execveat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execveat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "execveat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/execveat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (execveat--secontext_mismatch --secontext=mismatch --trace=execveat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch --trace=execveat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch); do not edit. +set -- -a24 --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch); do not edit. +set -- -a24 --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch); do not edit. +set -- -a24 -y --secontext=full,mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "faccessat-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/faccessat-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch); do not edit. +set -- -a24 -y --secontext=mismatch +. "${srcdir=.}/faccessat.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/faccessat.c -> _service:tar_scm:strace-6.1.tar.xz/tests/faccessat.c
Changed
@@ -28,6 +28,14 @@ # define SKIP_IF_PROC_IS_UNAVAILABLE # endif +# ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +# else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +# endif + static const char *errstr; static long @@ -57,6 +65,9 @@ */ create_and_enter_subdir("faccessat_subdir"); + int cwd_fd = get_dir_fd("."); + char *cwd = get_fd_path(cwd_fd); + char *my_secontext = SECONTEXT_PID_MY(); k_faccessat(-1, NULL, F_OK); @@ -76,8 +87,9 @@ */ k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\"%s, F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\"%s, F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, sample_secontext, errstr); @@ -85,8 +97,9 @@ perror_msg_and_fail("unlink"); k_faccessat(-100, sample, F_OK); - printf("%s%s(AT_FDCWD, \"%s\", F_OK) = %s\n", + printf("%s%s(AT_FDCWD" AT_FDCWD_FMT ", \"%s\", F_OK) = %s\n", my_secontext, "faccessat", + AT_FDCWD_ARG(cwd) sample, errstr); @@ -94,8 +107,6 @@ * Tests with dirfd. */ - int cwd_fd = get_dir_fd("."); - char *cwd = get_fd_path(cwd_fd); char *cwd_secontext = SECONTEXT_FILE("."); char *sample_realpath = xasprintf("%s/%s", cwd, sample); @@ -196,6 +207,12 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +# ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +# else + "AT_FDCWD"; +# endif char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -203,7 +220,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests/faccessat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests/faccessat2.c
Changed
@@ -21,6 +21,8 @@ #ifndef FD_PATH # define FD_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -77,6 +79,13 @@ if (fd < 0) perror_msg_and_fail("open: %s", path); char *fd_str = xasprintf("%d%s", fd, FD_PATH); + const char *at_fdcwd_str = +#ifdef YFLAG + xasprintf("AT_FDCWD<%s>", get_fd_path(get_dir_fd("."))); +#else + "AT_FDCWD"; +#endif + char *path_quoted = xasprintf("\"%s\"", path); struct { @@ -84,7 +93,7 @@ const char *str; } dirfds = { { ARG_STR(-1) }, - { -100, "AT_FDCWD" }, + { -100, at_fdcwd_str }, { fd, fd_str }, }, modes = { { ARG_STR(F_OK) },
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fanotify_init.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fanotify_init.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of fanotify_init syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -46,9 +46,9 @@ { (kernel_ulong_t) 0xffffffffffffffffULL, "0xc /* FAN_CLASS_??? */|FAN_CLOEXEC|FAN_NONBLOCK|" "FAN_UNLIMITED_QUEUE|FAN_UNLIMITED_MARKS|" - "FAN_ENABLE_AUDIT|FAN_REPORT_TID|FAN_REPORT_FID|" - "FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" - "0xfffff080" }, + "FAN_ENABLE_AUDIT|FAN_REPORT_PIDFD|FAN_REPORT_TID|" + "FAN_REPORT_FID|FAN_REPORT_DIR_FID|FAN_REPORT_NAME|" + "FAN_REPORT_TARGET_FID|0xffffe000" }, }; static const struct strval event_f_flags = { { F8ILL_KULONG_MASK, "O_RDONLY" }, @@ -56,12 +56,8 @@ "O_WRONLY|0x80000000" } }; - unsigned int i; - unsigned int j; - - - for (i = 0; i < ARRAY_SIZE(flags); i++) - for (j = 0; j < ARRAY_SIZE(event_f_flags); j++) + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(event_f_flags); ++j) do_call(flagsi.val, flagsi.str, event_f_flagsj.val, event_f_flagsj.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fanotify_mark--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fanotify_mark--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=full,mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fanotify_mark--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fanotify_mark--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fanotify_mark--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a32 --secontext=mismatch -e trace=fanotify_mark
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fanotify_mark.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fanotify_mark.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK # include <limits.h> +# include <stdint.h> # include <stdio.h> # include <unistd.h> # include <sys/fanotify.h> @@ -88,8 +89,8 @@ }; static const struct strval flags = { { F8ILL_KULONG_MASK, "0" }, - { (kernel_ulong_t) 0xdec0deddefacec00ULL, - "0xefacec00" + { (kernel_ulong_t) 0xdec0deddeface800ULL, + "0xeface800" # if !XLAT_RAW " /* FAN_MARK_??? */" # endif @@ -114,7 +115,8 @@ "FAN_MARK_ADD|FAN_MARK_REMOVE|FAN_MARK_DONT_FOLLOW|" "FAN_MARK_ONLYDIR|FAN_MARK_MOUNT|FAN_MARK_IGNORED_MASK|" "FAN_MARK_IGNORED_SURV_MODIFY|FAN_MARK_FLUSH|" - "FAN_MARK_FILESYSTEM|0xdeadfe00" + "FAN_MARK_FILESYSTEM|FAN_MARK_EVICTABLE|" + "FAN_MARK_IGNORE|0xdeadf800" # endif # if XLAT_VERBOSE " */" @@ -145,19 +147,21 @@ "FAN_MOVE_SELF|" "FAN_OPEN_EXEC|" "FAN_Q_OVERFLOW|" + "FAN_FS_ERROR|" "FAN_OPEN_PERM|" "FAN_ACCESS_PERM|" "FAN_OPEN_EXEC_PERM|" "FAN_DIR_MODIFY|" "FAN_ONDIR|" "FAN_EVENT_ON_CHILD|" - "0xdeadfeedb7f0a000" + "FAN_RENAME|" + "0xdeadfeeda7f02000" # endif # if XLAT_VERBOSE " */" # endif }, - { ARG_ULL_STR(0xffffffffb7f0a000) + { ARG_ULL_STR(0xffffffffa7f02000) # if !XLAT_RAW " /* FAN_??? */" # endif @@ -193,23 +197,20 @@ { (kernel_ulong_t) (uintptr_t) bogus_path2, "\"" STR64 "\"" }, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - int rc; - - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(fds); i++) { - for (j = 0; j < ARRAY_SIZE(flags); j++) { - for (k = 0; k < ARRAY_SIZE(masks); k++) { - for (l = 0; l < ARRAY_SIZE(dirfds); l++) { - for (m = 0; m < ARRAY_SIZE(paths); m++) + for (unsigned int i = 0; + i < ARRAY_SIZE(fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(flags); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(masks); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(dirfds); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(paths); ++m) do_call(fdsi, flagsj.val, flagsj.str, @@ -223,8 +224,6 @@ } } } -# else /* TEST_SECONTEXT */ - int rc; # endif /* * Test with AT_FDCWD. @@ -234,7 +233,7 @@ char path = "."; char *path_secontext = SECONTEXT_FILE(path); - rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, + int rc = fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, path); printf("%s%s(-1, %s, %s, %s, \"%s\"%s) = %s\n", my_secontext, "fanotify_mark",
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod-y--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod-y--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=full,mismatch -e trace=fchmod
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod-y--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmod-y--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmod-y--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a15 -y --secontext=mismatch -e trace=fchmod
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fchmod.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fchmod.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr> * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,10 +35,17 @@ (void) unlink(sample); int fd = open(sample, O_CREAT|O_RDONLY, 0400); if (fd == -1) - perror_msg_and_fail("open"); + perror_msg_and_fail("open(\"%s\")", sample); + + static const char sample_del = "fchmod_sample_file (deleted)"; + (void) unlink(sample_del); + int fd_del = open(sample_del, O_CREAT|O_RDONLY, 0400); + if (fd_del == -1) + perror_msg_and_fail("open(\"%s\")", sample); # ifdef YFLAG char *sample_realpath = get_fd_path(fd); + char *sample_del_realpath = get_fd_path(fd_del); # endif const char *sample_secontext = SECONTEXT_FILE(sample); @@ -56,12 +63,27 @@ sample_secontext, sprintrc(rc)); + const char *sample_del_secontext = SECONTEXT_FILE(sample_del); + rc = syscall(__NR_fchmod, fd_del, 0600); +# ifdef YFLAG + printf("%s%s(%d<%s>%s, 0600) = %s\n", +# else + printf("%s%s(%d%s, 0600) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + if (unlink(sample)) - perror_msg_and_fail("unlink"); + perror_msg_and_fail("unlink(\"%s\")", sample); rc = syscall(__NR_fchmod, fd, 051); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 051) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", # else printf("%s%s(%d%s, 051) = %s\n", # endif @@ -73,9 +95,26 @@ sample_secontext, sprintrc(rc)); + if (unlink(sample_del)) + perror_msg_and_fail("unlink(\"%s\")", sample_del); + + rc = syscall(__NR_fchmod, fd_del, 051); +# ifdef YFLAG + printf("%s%s(%d<%s>(deleted)%s, 051) = %s\n", +# else + printf("%s%s(%d%s, 051) = %s\n", +# endif + my_secontext, "fchmod", + fd_del, +# ifdef YFLAG + sample_del_realpath, +# endif + sample_del_secontext, + sprintrc(rc)); + rc = syscall(__NR_fchmod, fd, 004); # ifdef YFLAG - printf("%s%s(%d<%s (deleted)>%s, 004) = %s\n", + printf("%s%s(%d<%s>(deleted)%s, 004) = %s\n", # else printf("%s%s(%d%s, 004) = %s\n", # endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmodat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmodat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmodat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchmodat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchmodat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=fchmodat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchownat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchownat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=full,mismatch -e trace=fchownat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchownat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "fchownat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/fchownat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e secontext=mismatch -e trace=fchownat
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fcntl.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fcntl.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,10 @@ # define TEST_SYSCALL_STR "fcntl" # include "fcntl-common.c" +/* We can't have nice things because clang */ +# if (defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64)) || \ + (defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64)) || \ + (defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64)) static void test_flock64_undecoded(const int cmd, const char *name) { @@ -28,6 +32,7 @@ printf("%s(0, %s, %p) = %s\n", TEST_SYSCALL_STR, name, &fl, errstr); } +# endif # define TEST_FLOCK64_UNDECODED(cmd) test_flock64_undecoded(cmd, #cmd) @@ -38,14 +43,14 @@ * F_GSETOWN_EX had conflicting values with F_GSETLK64 * in kernel revisions v2.6.32-rc1~96..v2.6.32-rc7~23. */ -# if !defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64 +# if defined(F_SETLK64) && (!defined(F_GETOWN_EX) || F_GETOWN_EX != F_SETLK64) TEST_FLOCK64_UNDECODED(F_SETLK64); # endif /* F_GETLK and F_SETLKW64 have conflicting values on mips64 */ -# if !defined(__mips64) || F_GETLK != F_SETLKW64 +# if defined(F_SETLKW64) && (!defined(__mips64) || F_GETLK != F_SETLKW64) TEST_FLOCK64_UNDECODED(F_SETLKW64); # endif -# if !defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64 +# if defined(F_GETLK64) && (!defined(F_SETOWN_EX) || F_SETOWN_EX != F_GETLK64) TEST_FLOCK64_UNDECODED(F_GETLK64); # endif }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/file_handle--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/file_handle--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-6.1.tar.xz/tests/file_handle--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "file_handle--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/file_handle--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at
View file
_service:tar_scm:strace-5.14.tar.xz/tests/file_handle.c -> _service:tar_scm:strace-6.1.tar.xz/tests/file_handle.c
Changed
@@ -292,22 +292,20 @@ (kernel_ulong_t) (uintptr_t) bogus_mount_id, }; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - unsigned int m; - snprintf(bogus_path1_addr, sizeof(bogus_path1_addr), "%p", bogus_path1); snprintf(bogus_path1_after_addr, sizeof(bogus_path1_after_addr), "%p", bogus_path1 + PATH1_SIZE); - for (i = 0; i < ARRAY_SIZE(dirfds); i++) { - for (j = 0; j < ARRAY_SIZE(paths); j++) { - for (k = 0; k < ARRAY_SIZE(name_handles); k++) { - for (l = 0; l < ARRAY_SIZE(mount_ids); l++) { - for (m = 0; m < ARRAY_SIZE(name_flags); - m++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(dirfds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(paths); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(name_handles); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(mount_ids); ++l) { + for (unsigned int m = 0; + m < ARRAY_SIZE(name_flags); ++m) { do_name_to_handle_at( dirfdsi.val, dirfdsi.str, @@ -325,9 +323,12 @@ } } - for (i = 0; i < ARRAY_SIZE(mount_fds); i++) { - for (j = 0; j < ARRAY_SIZE(open_handles); j++) { - for (k = 0; k < ARRAY_SIZE(open_flags); k++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(mount_fds); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(open_handles); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(open_flags); ++k) { do_open_by_handle_at(mount_fdsi, open_handlesj.addr, open_handlesj.valid,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fill_memory.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fill_memory.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,9 +12,8 @@ unsigned int period) { unsigned char *p = ptr; - size_t i; - for (i = 0; i < size; i++) { + for (typeof(size) i = 0; i < size; ++i) { pi = start + i % period; } } @@ -30,9 +29,8 @@ unsigned int period) { uint16_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint16_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint16_t); ++i) { pi = start + i % period; } } @@ -48,9 +46,8 @@ unsigned int period) { uint32_t *p = ptr; - size_t i; - for (i = 0; i < size / sizeof(uint32_t); i++) { + for (typeof(size) i = 0; i < size / sizeof(uint32_t); ++i) { pi = start + i % period; } } @@ -60,3 +57,20 @@ { fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000); } + +void +fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period) +{ + uint64_t *p = ptr; + + for (typeof(size) i = 0; i < size / sizeof(uint64_t); i++) { + pi = start + i % period; + } +} + +void +fill_memory64(void *ptr, size_t size) +{ + fill_memory64_ex(ptr, size, + 0x8090a0b0c0d0e0f0ULL, 0x8000000000000000ULL); +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests/filter-unavailable.c -> _service:tar_scm:strace-6.1.tar.xz/tests/filter-unavailable.c
Changed
@@ -26,7 +26,6 @@ static int process(void) { - int i; int fds2; pthread_t t; struct timespec ts = { .tv_nsec = 10000000 }; @@ -36,9 +35,9 @@ if (pipe(fds)) perror_msg_and_fail("pipe"); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(pthread_create(&t, NULL, thread, NULL) == 0); - for (i = 0; i < T; ++i) + for (int i = 0; i < T; ++i) assert(read(0, fds, 1) == 1); (void) nanosleep(&ts, 0); @@ -48,15 +47,13 @@ int main(void) { - int i, s; - pid_t p; - - for (i = 0; i < P; ++i) { - p = fork(); + for (int i = 0; i < P; ++i) { + pid_t p = fork(); if (p < 0) perror_msg_and_fail("fork"); if (p == 0) return process(); + int s; assert(waitpid(p, &s, 0) == p); assert(WIFEXITED(s)); if (WEXITSTATUS(s))
View file
_service:tar_scm:strace-5.14.tar.xz/tests/filter_seccomp-flag.c -> _service:tar_scm:strace-6.1.tar.xz/tests/filter_seccomp-flag.c
Changed
@@ -2,7 +2,7 @@ * Check that syscall numbers do not conflict with seccomp filter flags. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,13 +14,11 @@ #include "scno.h" /* PERSONALITY*_AUDIT_ARCH definitions depend on AUDIT_ARCH_* constants. */ -#ifdef PERSONALITY0_AUDIT_ARCH -# include <linux/audit.h> -# define XLAT_MACROS_ONLY -# include "xlat/elf_em.h" -# include "xlat/audit_arch.h" -# undef XLAT_MACROS_ONLY -#endif +#include <linux/audit.h> +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +# include "xlat/audit_arch.h" +#undef XLAT_MACROS_ONLY /* Define these shorthand notations to simplify the syscallent files. */ #include "sysent_shorthand_defs.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/filter_seccomp-perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests/filter_seccomp-perf.c
Changed
@@ -2,7 +2,7 @@ * Check seccomp filter performance. * * Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,7 +29,7 @@ int rc = 0; signal(SIGALRM, handler); - alarm(1); + alarm(3); for (i = 0; !stop; i++) { rc |= chdir(".");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/filter_seccomp-perf.test -> _service:tar_scm:strace-6.1.tar.xz/tests/filter_seccomp-perf.test
Changed
@@ -3,7 +3,7 @@ # Check seccomp filter performance. # # Copyright (c) 2019 Paul Chaignon <paul.chaignon@gmail.com> -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2021 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -18,7 +18,7 @@ mv "$LOG" "$LOG.seccomp" match_diff "$LOG.regular" "$LOG.seccomp" -min_ratio=6 +min_ratio=5 # With seccomp filter enabled, we should be able to complete # at least $min_ratio times more chdir system calls. ratio="$((num_seccomp / num_regular))"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/filtering_syscall-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests/filtering_syscall-syntax.test
Changed
@@ -4,7 +4,7 @@ # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> # Copyright (c) 2017 Nikolay Marchuk <marchuk.nikolay.a@gmail.com> -# Copyright (c) 2018-2020 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -65,11 +65,27 @@ check_e "invalid system call '$1'" -e fault="$2:when=4" } +pers=$(print_current_personality_designator) + for arg in '' , ,, ,,, ; do check_syscall "$arg" "$arg" check_syscall "!$arg" "!$arg" done +case "$STRACE_ARCH" in + alpha) invalid_scno1=299 + invalid_scno2=404 + ;; + *) invalid_scno1=415 + invalid_scno2=501 + ;; +esac + +case "$STRACE_ARCH" in + ia64) valid_scno=1025 ;; + *) valid_scno=1 ;; +esac + for arg in -1 -2 -3 -4 -5 \ invalid_syscall_name \ 0x 0y \ @@ -78,16 +94,19 @@ 2147483648 \ 4294967295 \ 4294967296 \ + $invalid_scno1 \ + $invalid_scno2 \ /non_syscall \ % %not_a_class \ ; do check_syscall "$arg" "$arg" check_syscall "$arg" "!$arg" - check_syscall "$arg" "1,$arg" + check_syscall "$arg" "$valid_scno,$arg" + check_syscall "$arg@$pers" "$arg@$pers" done -for arg in '!chdir' none all; do - check_syscall "$arg" "1,$arg" +for arg in '!chdir' none; do + check_syscall "$arg" "$valid_scno,$arg" done # invalid syscall, multiple syscalls @@ -97,16 +116,19 @@ %process \ %network \ chdir \ - 1 \ + $valid_scno \ + all \ ?32767 \ ?invalid \ ?%not_a_class \ ?/non_syscall \ ; do - check_syscall nonsense "$arg,nonsense" - check_syscall nonsense "!$arg,nonsense" - check_syscall nonsense "nonsense,$arg" - check_syscall nonsense "!nonsense,$arg" + for pfx in '' '!'; do + for token in "$arg" "$arg@$pers"; do + check_syscall nonsense "${pfx}$token,nonsense" + check_syscall nonsense "${pfx}nonsense,$token" + done + done done check_e_using_grep 'regcomp: \+id: :alpha:.+' -e trace='/+id'
View file
_service:tar_scm:strace-5.14.tar.xz/tests/finit_module.c -> _service:tar_scm:strace-6.1.tar.xz/tests/finit_module.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of finit_module syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -37,7 +37,8 @@ { (kernel_ulong_t) 0xfacef157dec0ded1ULL, "MODULE_INIT_IGNORE_MODVERSIONS|0xdec0ded0" }, { -1LL, "MODULE_INIT_IGNORE_MODVERSIONS|" - "MODULE_INIT_IGNORE_VERMAGIC|0xfffffffc" }, + "MODULE_INIT_IGNORE_VERMAGIC|" + "MODULE_INIT_COMPRESSED_FILE|0xfffffff8" }, }; long rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fork--pidns-translation.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fork--pidns-translation.c
Changed
@@ -2,10 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fork--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests/fork--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of fork's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fork-f.c
Changed
@@ -12,7 +12,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fsconfig.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fsconfig.c
Changed
@@ -187,11 +187,14 @@ static void test_fsconfig_set_path(const unsigned int cmd, const char *cmd_str) { + char *cwd = get_fd_path(get_dir_fd(".")); + fill_memory_ex(fname, PATH_MAX, '0', 10); k_fsconfig(fd, cmd, key, fname, -100); #ifndef PATH_TRACING - printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD) = %s\n", - fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, errstr); + printf("fsconfig(%d<%s>, %s, \"%s\", \"%.*s\"..., AT_FDCWD<%s>) = %s\n", + fd, fd_path, cmd_str, key, (int) PATH_MAX - 1, fname, cwd, + errstr); #endif fnamePATH_MAX - 1 = '\0'; @@ -206,8 +209,8 @@ cmd_str, key, fd, fd_path, errstr); k_fsconfig(-1, cmd, 0, fd_path, -100); - printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD) = %s\n", - cmd_str, fd_path, errstr); + printf("fsconfig(-1, %s, NULL, \"%s\", AT_FDCWD<%s>) = %s\n", + cmd_str, fd_path, cwd, errstr); k_fsconfig(-1, cmd, efault, efault + 1, fd); printf("fsconfig(-1, %s, %p, %p, %d<%s>) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests/fspick.c -> _service:tar_scm:strace-6.1.tar.xz/tests/fspick.c
Changed
@@ -38,6 +38,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -56,8 +59,8 @@ k_fspick(-100, fname, 0); #ifndef PATH_TRACING - printf("fspick(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("fspick(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-5.14.tar.xz/tests/futex.c -> _service:tar_scm:strace-6.1.tar.xz/tests/futex.c
Changed
@@ -95,7 +95,6 @@ const char *fmt; int saved_errno; int rc; - int i; va_list ap; @@ -106,7 +105,7 @@ va_start(ap, argmask); - for (i = 0; i < 4; i++) { + for (int i = 0; i < 4; ++i) { if (argmask & (1 << i)) { fmt = va_arg(ap, const char *); @@ -158,8 +157,6 @@ TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr); TAIL_ALLOC_OBJECT_CONST_PTR(int, uaddr2); int rc; - unsigned i; - unsigned j; uaddr0 = 0x1deadead; uaddr20 = 0xbadf00d; @@ -582,8 +579,8 @@ ENOSYS, EINVAL }, }; - for (i = 0; i < ARRAY_SIZE(wake_ops); i++) { - for (j = 0; j < 2; j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(wake_ops); ++i) { + for (unsigned int j = 0; j < 2; ++j) { CHECK_FUTEX_ENOSYS(uaddr, j ? FUTEX_WAKE_OP_PRIVATE : FUTEX_WAKE_OP, VAL, i, uaddr2, wake_opsi.val,
View file
_service:tar_scm:strace-6.1.tar.xz/tests/futex_waitv.c
Added
@@ -0,0 +1,136 @@ +/* + * Check decoding of futex_waitv syscall. + * + * Copyright (c) 2015-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include "kernel_timespec.h" +#include <stdio.h> +#include <stdlib.h> +#include <time.h> +#include <unistd.h> +#include <linux/futex.h> + +static const char *errstr; + +static long +k_futex_waitv(const void *const waiters, + const unsigned int nr_futexes, + const unsigned int flags, + const void *const timeout, + const unsigned int clockid) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = (uintptr_t) waiters; + const kernel_ulong_t arg2 = fill | nr_futexes; + const kernel_ulong_t arg3 = fill | flags; + const kernel_ulong_t arg4 = (uintptr_t) timeout; + const kernel_ulong_t arg5 = fill | clockid; + const long rc = syscall(__NR_futex_waitv, + arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(uint32_t, futex); + TAIL_ALLOC_OBJECT_CONST_PTR(struct futex_waitv, waiter); + TAIL_ALLOC_OBJECT_CONST_PTR(kernel_timespec64_t, ts); + ts->tv_sec = 1; + ts->tv_nsec = 2; + + k_futex_waitv(0, 1, -1U, 0, 1); + printf("futex_waitv(NULL, 1, %#x, NULL, CLOCK_MONOTONIC) = %s\n", + -1U, errstr); + + k_futex_waitv(waiter + 1, 0, 1, ts + 1, -1U); + printf("futex_waitv(, 0, %#x, %p, %#x /* CLOCK_??? */) = %s\n", + 1, ts + 1, -1U, errstr); + + k_futex_waitv((void *) waiter + 1, 1, 0, ts, 0); + printf("futex_waitv(%p, 1, 0, {tv_sec=1, tv_nsec=2}, CLOCK_REALTIME)" + " = %s\n", + (void *) waiter + 1, errstr); + + waiter->uaddr = 0; + k_futex_waitv(waiter, 1, 0, 0, 1); + printf("futex_waitv({val=%#llx, uaddr=NULL, flags=%s|%#x" + ", __reserved=%#x}, 1, 0, NULL, CLOCK_MONOTONIC) = %s\n", + (unsigned long long) waiter->val, + "FUTEX_32|FUTEX_PRIVATE_FLAG", + waiter->flags & ~(FUTEX_32|FUTEX_PRIVATE_FLAG), + waiter->__reserved, errstr); + + waiter->val = 0xdeadbeeffacefeedULL; + waiter->uaddr = -1ULL; + waiter->flags = 0; + waiter->__reserved = 0; + k_futex_waitv(waiter, 1, 0, 0, 2); + printf("futex_waitv({val=%#llx, uaddr=%#llx, flags=0}, 1, 0, NULL" + ", CLOCK_PROCESS_CPUTIME_ID) = %s\n", + (unsigned long long) waiter->val, + (unsigned long long) waiter->uaddr, + errstr); + + waiter->val = 0; + waiter->uaddr = (uintptr_t) futex; + waiter->flags = FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, 0, 0); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0, NULL" + ", CLOCK_REALTIME) = %s\n", + futex, "FUTEX_PRIVATE_FLAG", errstr); + + waiter->flags = FUTEX_32; + k_futex_waitv(waiter, 2, 0, 0, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, ... /* %p */, 2, 0, NULL" + ", CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32", waiter + 1, errstr); + + waiter->flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + k_futex_waitv(waiter, 1, 0, ts, 1); + printf("futex_waitv({val=0, uaddr=%p, flags=%s}, 1, 0" + ", {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + futex, "FUTEX_32|FUTEX_PRIVATE_FLAG", errstr); + + unsigned int nr = FUTEX_WAITV_MAX + 1; + uint32_t * const futexes = tail_alloc(nr * sizeof(*futexes)); + struct futex_waitv * const waiters = tail_alloc(nr * sizeof(*waiters)); + for (unsigned int i = 0; i < nr; ++i) { + futexesi = i; + waitersi.val = i; + waitersi.uaddr = (uintptr_t) &futexesi; + waitersi.flags = FUTEX_32|FUTEX_PRIVATE_FLAG; + waitersi.__reserved = 0; + } + k_futex_waitv(waiters, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i, &futexesi, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", ..., %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + nr = FUTEX_WAITV_MAX; + k_futex_waitv(waiters + 1, nr, 0, ts, 1); + printf("futex_waitv("); + for (unsigned int i = 0; i < FUTEX_WAITV_MAX; ++i) { + printf("%s{val=%#x, uaddr=%p, flags=%s}", + i ? ", " : "", + i + 1, &futexesi + 1, "FUTEX_32|FUTEX_PRIVATE_FLAG"); + } + printf(", %u, 0, {tv_sec=1, tv_nsec=2}, CLOCK_MONOTONIC) = %s\n", + nr, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/futex_waitv.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (futex_waitv -s256 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -s256
View file
_service:tar_scm:strace-5.14.tar.xz/tests/gen_tests.am -> _service:tar_scm:strace-6.1.tar.xz/tests/gen_tests.am
Changed
@@ -1,5 +1,5 @@ # Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in; do not edit. -GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace_syscall_info.gen.test pwritev.gen.test quotactl.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xverbose.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-n.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test +GEN_TESTS = _newselect.gen.test _newselect-P.gen.test accept.gen.test accept4.gen.test access.gen.test access--secontext.gen.test access--secontext_full.gen.test access--secontext_full_mismatch.gen.test access--secontext_mismatch.gen.test acct.gen.test add_key.gen.test adjtimex.gen.test aio.gen.test aio_pgetevents.gen.test alarm.gen.test arch_prctl.gen.test arch_prctl-Xabbrev.gen.test arch_prctl-Xraw.gen.test arch_prctl-Xverbose.gen.test arch_prctl-success.gen.test arch_prctl-success-Xabbrev.gen.test arch_prctl-success-Xraw.gen.test arch_prctl-success-Xverbose.gen.test at_fdcwd-pathmax.gen.test bpf.gen.test bpf-obj_get_info_by_fd.gen.test bpf-obj_get_info_by_fd-prog.gen.test bpf-obj_get_info_by_fd-prog-v.gen.test bpf-obj_get_info_by_fd-v.gen.test bpf-success.gen.test bpf-success-v.gen.test bpf-v.gen.test btrfs.gen.test chdir.gen.test chmod.gen.test chmod--secontext.gen.test chmod--secontext_full.gen.test chmod--secontext_full_mismatch.gen.test chmod--secontext_mismatch.gen.test chown.gen.test chown32.gen.test chroot.gen.test clock.gen.test clock_adjtime.gen.test clock_adjtime64.gen.test clock_nanosleep.gen.test clock_xettime.gen.test clock_xettime64.gen.test clone3.gen.test clone3-Xabbrev.gen.test clone3-Xraw.gen.test clone3-Xverbose.gen.test clone3-success.gen.test clone3-success-Xabbrev.gen.test clone3-success-Xraw.gen.test clone3-success-Xverbose.gen.test clone_parent.gen.test clone_parent--quiet-exit.gen.test clone_parent-q.gen.test clone_parent-qq.gen.test clone_ptrace--quiet-attach.gen.test clone_ptrace--quiet-exit.gen.test clone_ptrace-q.gen.test clone_ptrace-qq.gen.test close_range.gen.test copy_file_range.gen.test creat.gen.test delete_module.gen.test dev--decode-fds-all.gen.test dev--decode-fds-dev.gen.test dev--decode-fds-none.gen.test dev--decode-fds-path.gen.test dev--decode-fds-socket.gen.test dev-yy.gen.test dup.gen.test dup-P.gen.test dup-y.gen.test dup-yy.gen.test dup2.gen.test dup2-P.gen.test dup2-y.gen.test dup2-yy.gen.test dup3.gen.test dup3-P.gen.test dup3-y.gen.test dup3-yy.gen.test epoll_create.gen.test epoll_create1.gen.test epoll_ctl.gen.test epoll_pwait.gen.test epoll_pwait2.gen.test epoll_pwait2-P.gen.test epoll_pwait2-y.gen.test epoll_wait.gen.test erestartsys.gen.test execve--secontext.gen.test execve--secontext_full.gen.test execve--secontext_full_mismatch.gen.test execve--secontext_mismatch.gen.test execveat.gen.test execveat--secontext.gen.test execveat--secontext_full.gen.test execveat--secontext_full_mismatch.gen.test execveat--secontext_mismatch.gen.test execveat-v.gen.test faccessat--secontext.gen.test faccessat--secontext_full.gen.test faccessat--secontext_full_mismatch.gen.test faccessat--secontext_mismatch.gen.test faccessat-P.gen.test faccessat-y.gen.test faccessat-y--secontext.gen.test faccessat-y--secontext_full.gen.test faccessat-y--secontext_full_mismatch.gen.test faccessat-y--secontext_mismatch.gen.test faccessat-yy.gen.test faccessat2-P.gen.test faccessat2-y.gen.test faccessat2-yy.gen.test fadvise64_64.gen.test fallocate.gen.test fanotify_init.gen.test fanotify_mark.gen.test fanotify_mark--secontext.gen.test fanotify_mark--secontext_full.gen.test fanotify_mark--secontext_full_mismatch.gen.test fanotify_mark--secontext_mismatch.gen.test fanotify_mark-Xabbrev.gen.test fanotify_mark-Xraw.gen.test fanotify_mark-Xverbose.gen.test fchdir.gen.test fchmod.gen.test fchmod--secontext.gen.test fchmod--secontext_full.gen.test fchmod--secontext_full_mismatch.gen.test fchmod--secontext_mismatch.gen.test fchmod-y.gen.test fchmod-y--secontext.gen.test fchmod-y--secontext_full.gen.test fchmod-y--secontext_full_mismatch.gen.test fchmod-y--secontext_mismatch.gen.test fchmodat.gen.test fchmodat--secontext.gen.test fchmodat--secontext_full.gen.test fchmodat--secontext_full_mismatch.gen.test fchmodat--secontext_mismatch.gen.test fchown.gen.test fchown32.gen.test fchownat.gen.test fchownat--secontext.gen.test fchownat--secontext_full.gen.test fchownat--secontext_full_mismatch.gen.test fchownat--secontext_mismatch.gen.test fcntl.gen.test fcntl--pidns-translation.gen.test fcntl64.gen.test fcntl64--pidns-translation.gen.test fdatasync.gen.test file_handle.gen.test file_handle--secontext.gen.test file_handle--secontext_full.gen.test file_handle--secontext_full_mismatch.gen.test file_handle--secontext_mismatch.gen.test filter_seccomp.gen.test filter_seccomp-flag.gen.test finit_module.gen.test flock.gen.test fork-f.gen.test fsconfig.gen.test fsconfig-P.gen.test fsmount.gen.test fsopen.gen.test fspick.gen.test fspick-P.gen.test fstat.gen.test fstat-Xabbrev.gen.test fstat-Xraw.gen.test fstat-Xverbose.gen.test fstat64.gen.test fstat64-Xabbrev.gen.test fstat64-Xraw.gen.test fstat64-Xverbose.gen.test fstatat64.gen.test fstatfs.gen.test fstatfs64.gen.test fsync.gen.test fsync-y.gen.test ftruncate.gen.test ftruncate64.gen.test futex_waitv.gen.test futimesat.gen.test get_mempolicy.gen.test getcpu.gen.test getcwd.gen.test getdents.gen.test getdents-v.gen.test getdents64.gen.test getdents64-v.gen.test getegid.gen.test getegid-creds.gen.test getegid32.gen.test getegid32-creds.gen.test geteuid.gen.test geteuid-creds.gen.test geteuid32.gen.test geteuid32-creds.gen.test getgid.gen.test getgid-creds.gen.test getgid32.gen.test getgid32-creds.gen.test getgroups.gen.test getgroups32.gen.test getpeername.gen.test getpgrp.gen.test getpgrp--pidns-translation.gen.test getpid.gen.test getpid--pidns-translation.gen.test getppid.gen.test getrandom.gen.test getresgid.gen.test getresgid32.gen.test getresuid.gen.test getresuid32.gen.test getrlimit.gen.test getrusage.gen.test getsid.gen.test getsid--pidns-translation.gen.test getsockname.gen.test getsockname--secontext.gen.test getsockname--secontext_full.gen.test getsockname--secontext_full_mismatch.gen.test getsockname--secontext_mismatch.gen.test gettid.gen.test getuid-creds.gen.test getuid32.gen.test getuid32-creds.gen.test getxgid.gen.test getxpid.gen.test getxuid.gen.test group_req.gen.test inet-cmsg.gen.test init_module.gen.test inotify.gen.test inotify_init.gen.test inotify_init1.gen.test inotify_init1-y.gen.test io_uring_enter.gen.test io_uring_register.gen.test io_uring_register-Xabbrev.gen.test io_uring_register-Xraw.gen.test io_uring_register-Xverbose.gen.test io_uring_register-success.gen.test io_uring_register-success-Xabbrev.gen.test io_uring_register-success-Xraw.gen.test io_uring_register-success-Xverbose.gen.test io_uring_setup.gen.test ioctl_block.gen.test ioctl_dm.gen.test ioctl_dm-v.gen.test ioctl_counter.gen.test ioctl_counter-Xabbrev.gen.test ioctl_counter-Xraw.gen.test ioctl_counter-Xverbose.gen.test ioctl_evdev.gen.test ioctl_evdev-Xabbrev.gen.test ioctl_evdev-Xraw.gen.test ioctl_evdev-Xverbose.gen.test ioctl_evdev-success-Xabbrev.gen.test ioctl_evdev-success-Xraw.gen.test ioctl_evdev-success-Xverbose.gen.test ioctl_evdev-success-v.gen.test ioctl_evdev-success-v-Xabbrev.gen.test ioctl_evdev-success-v-Xraw.gen.test ioctl_evdev-success-v-Xverbose.gen.test ioctl_evdev-v.gen.test ioctl_evdev-v-Xabbrev.gen.test ioctl_evdev-v-Xraw.gen.test ioctl_evdev-v-Xverbose.gen.test ioctl_fiemap.gen.test ioctl_fiemap-Xabbrev.gen.test ioctl_fiemap-Xraw.gen.test ioctl_fiemap-Xverbose.gen.test ioctl_fiemap-success.gen.test ioctl_fiemap-success-Xabbrev.gen.test ioctl_fiemap-success-Xraw.gen.test ioctl_fiemap-success-Xverbose.gen.test ioctl_fiemap-success-v.gen.test ioctl_fiemap-success-v-Xabbrev.gen.test ioctl_fiemap-success-v-Xraw.gen.test ioctl_fiemap-success-v-Xverbose.gen.test ioctl_fs_f.gen.test ioctl_fs_f-Xabbrev.gen.test ioctl_fs_f-Xraw.gen.test ioctl_fs_f-Xverbose.gen.test ioctl_fs_x.gen.test ioctl_fs_x-Xabbrev.gen.test ioctl_fs_x-Xraw.gen.test ioctl_fs_x-Xverbose.gen.test ioctl_fs_x-success.gen.test ioctl_fs_x-success-Xabbrev.gen.test ioctl_fs_x-success-Xraw.gen.test ioctl_fs_x-success-Xverbose.gen.test ioctl_gpio.gen.test ioctl_gpio-Xabbrev.gen.test ioctl_gpio-Xraw.gen.test ioctl_gpio-Xverbose.gen.test ioctl_gpio-success.gen.test ioctl_gpio-success-Xabbrev.gen.test ioctl_gpio-success-Xraw.gen.test ioctl_gpio-success-Xverbose.gen.test ioctl_gpio-success-v.gen.test ioctl_gpio-success-v-Xabbrev.gen.test ioctl_gpio-success-v-Xraw.gen.test ioctl_gpio-success-v-Xverbose.gen.test ioctl_gpio-v.gen.test ioctl_gpio-v-Xabbrev.gen.test ioctl_gpio-v-Xraw.gen.test ioctl_gpio-v-Xverbose.gen.test ioctl_hdio.gen.test ioctl_hdio-Xabbrev.gen.test ioctl_hdio-Xraw.gen.test ioctl_hdio-Xverbose.gen.test ioctl_hdio-success.gen.test ioctl_hdio-success-Xabbrev.gen.test ioctl_hdio-success-Xraw.gen.test ioctl_hdio-success-Xverbose.gen.test ioctl_hdio-success-v.gen.test ioctl_hdio-success-v-Xabbrev.gen.test ioctl_hdio-success-v-Xraw.gen.test ioctl_hdio-success-v-Xverbose.gen.test ioctl_hdio-v.gen.test ioctl_hdio-v-Xabbrev.gen.test ioctl_hdio-v-Xraw.gen.test ioctl_hdio-v-Xverbose.gen.test ioctl_inotify.gen.test ioctl_kd.gen.test ioctl_kd-Xabbrev.gen.test ioctl_kd-Xraw.gen.test ioctl_kd-Xverbose.gen.test ioctl_kd-success.gen.test ioctl_kd-success-Xabbrev.gen.test ioctl_kd-success-Xraw.gen.test ioctl_kd-success-Xverbose.gen.test ioctl_kd-success-s1024.gen.test ioctl_kd-success-s1024-Xabbrev.gen.test ioctl_kd-success-s1024-Xraw.gen.test ioctl_kd-success-s1024-Xverbose.gen.test ioctl_kvm_run.gen.test ioctl_kvm_run-v.gen.test ioctl_kvm_run_auxstr_vcpu.gen.test ioctl_lirc.gen.test ioctl_lirc-success.gen.test ioctl_loop.gen.test ioctl_loop-nv.gen.test ioctl_loop-v.gen.test ioctl_mtd.gen.test ioctl_mtd-success.gen.test ioctl_nbd.gen.test ioctl_nsfs.gen.test ioctl_perf.gen.test ioctl_perf-success.gen.test ioctl_ptp.gen.test ioctl_ptp-Xabbrev.gen.test ioctl_ptp-Xraw.gen.test ioctl_ptp-Xverbose.gen.test ioctl_ptp-success.gen.test ioctl_ptp-success-Xabbrev.gen.test ioctl_ptp-success-Xraw.gen.test ioctl_ptp-success-Xverbose.gen.test ioctl_random.gen.test ioctl_rtc.gen.test ioctl_rtc-success.gen.test ioctl_rtc-v.gen.test ioctl_scsi.gen.test ioctl_seccomp.gen.test ioctl_seccomp--pidns-translation.gen.test ioctl_seccomp-success.gen.test ioctl_seccomp-y.gen.test ioctl_seccomp-y-success.gen.test ioctl_seccomp-y-success--pidns-translation.gen.test ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test ioctl_seccomp-y-success-Xabbrev.gen.test ioctl_seccomp-y-success-Xraw.gen.test ioctl_seccomp-y-success-Xverbose.gen.test ioctl_sg_io_v3.gen.test ioctl_sg_io_v4.gen.test ioctl_sock.gen.test ioctl_sock_gifconf.gen.test ioctl_tee.gen.test ioctl_termios.gen.test ioctl_termios-v.gen.test ioctl_tiocm.gen.test ioctl_ubi.gen.test ioctl_ubi-success.gen.test ioctl_uffdio.gen.test ioctl_v4l2.gen.test ioctl_v4l2-Xabbrev.gen.test ioctl_v4l2-Xraw.gen.test ioctl_v4l2-Xverbose.gen.test ioctl_v4l2-success.gen.test ioctl_v4l2-success-Xabbrev.gen.test ioctl_v4l2-success-Xraw.gen.test ioctl_v4l2-success-Xverbose.gen.test ioctl_v4l2-success-v.gen.test ioctl_v4l2-success-v-Xabbrev.gen.test ioctl_v4l2-success-v-Xraw.gen.test ioctl_v4l2-success-v-Xverbose.gen.test ioctl_v4l2-v.gen.test ioctl_v4l2-v-Xabbrev.gen.test ioctl_v4l2-v-Xraw.gen.test ioctl_v4l2-v-Xverbose.gen.test ioctl_watchdog.gen.test ioctl_winsize.gen.test ioperm.gen.test iopl.gen.test ioprio.gen.test ioprio--pidns-translation.gen.test ioprio-Xabbrev.gen.test ioprio-Xraw.gen.test ioprio-Xverbose.gen.test ip_mreq.gen.test ipc.gen.test ipc_msg.gen.test ipc_msg-Xabbrev.gen.test ipc_msg-Xraw.gen.test ipc_msg-Xverbose.gen.test ipc_msgbuf-Xabbrev.gen.test ipc_msgbuf-Xraw.gen.test ipc_msgbuf-Xverbose.gen.test ipc_sem.gen.test ipc_sem-Xabbrev.gen.test ipc_sem-Xraw.gen.test ipc_sem-Xverbose.gen.test ipc_shm.gen.test ipc_shm-Xabbrev.gen.test ipc_shm-Xraw.gen.test ipc_shm-Xverbose.gen.test kcmp.gen.test kcmp-y.gen.test kcmp-y--pidns-translation.gen.test kern_features.gen.test kernel_version.gen.test kernel_version-Xabbrev.gen.test kernel_version-Xraw.gen.test kernel_version-Xverbose.gen.test kexec_file_load.gen.test kexec_load.gen.test keyctl.gen.test keyctl-Xabbrev.gen.test keyctl-Xraw.gen.test keyctl-Xverbose.gen.test kill.gen.test kill--pidns-translation.gen.test ksysent.gen.test landlock_add_rule.gen.test landlock_add_rule-y.gen.test landlock_create_ruleset.gen.test landlock_create_ruleset-success.gen.test landlock_create_ruleset-success-y.gen.test landlock_create_ruleset-y.gen.test landlock_restrict_self.gen.test landlock_restrict_self-y.gen.test lchown.gen.test lchown32.gen.test link.gen.test linkat.gen.test linkat--secontext.gen.test linkat--secontext_full.gen.test linkat--secontext_full_mismatch.gen.test linkat--secontext_mismatch.gen.test lookup_dcookie.gen.test lstat.gen.test lstat64.gen.test madvise.gen.test maybe_switch_current_tcp.gen.test maybe_switch_current_tcp--quiet-thread-execve.gen.test mbind.gen.test mbind-Xabbrev.gen.test mbind-Xraw.gen.test mbind-Xverbose.gen.test membarrier.gen.test memfd_create.gen.test memfd_create-Xabbrev.gen.test memfd_create-Xraw.gen.test memfd_create-Xverbose.gen.test memfd_secret.gen.test memfd_secret-success.gen.test memfd_secret-success-y.gen.test migrate_pages.gen.test migrate_pages--pidns-translation.gen.test mincore.gen.test mkdir.gen.test mkdirat.gen.test mknod.gen.test mknodat.gen.test mlock.gen.test mlock2.gen.test mlockall.gen.test mmap-Xabbrev.gen.test mmap-Xraw.gen.test mmap-Xverbose.gen.test mmap64.gen.test mmap64-Xabbrev.gen.test mmap64-Xraw.gen.test mmap64-Xverbose.gen.test mmsg.gen.test mmsg-silent.gen.test mmsg_name.gen.test mmsg_name-v.gen.test modify_ldt.gen.test mount.gen.test mount-Xabbrev.gen.test mount-Xraw.gen.test mount-Xverbose.gen.test mount_setattr.gen.test mount_setattr-P.gen.test move_mount.gen.test move_mount-P.gen.test move_pages.gen.test move_pages--pidns-translation.gen.test move_pages-Xabbrev.gen.test move_pages-Xraw.gen.test move_pages-Xverbose.gen.test mq.gen.test mq_sendrecv.gen.test mq_sendrecv-read.gen.test mq_sendrecv-write.gen.test msg_control.gen.test msg_control-v.gen.test msg_name.gen.test munlockall.gen.test nanosleep.gen.test net--decode-fds-all-netlink.gen.test net--decode-fds-dev-netlink.gen.test net--decode-fds-none-netlink.gen.test net--decode-fds-path-netlink.gen.test net--decode-fds-socket-netlink.gen.test net-icmp_filter.gen.test net-packet_mreq.gen.test net-packet_mreq-Xabbrev.gen.test net-packet_mreq-Xraw.gen.test net-packet_mreq-Xverbose.gen.test net-sockaddr.gen.test net-sockaddr--pidns-translation.gen.test net-tpacket_req.gen.test net-tpacket_stats.gen.test net-tpacket_stats-success.gen.test net-yy-inet6.gen.test netlink_audit.gen.test netlink_crypto.gen.test netlink_generic.gen.test netlink_kobject_uevent.gen.test netlink_netfilter.gen.test netlink_protocol.gen.test netlink_route.gen.test netlink_selinux.gen.test netlink_xfrm.gen.test newfstatat.gen.test nfnetlink_acct.gen.test nfnetlink_cthelper.gen.test nfnetlink_ctnetlink.gen.test nfnetlink_ctnetlink_exp.gen.test nfnetlink_cttimeout.gen.test nfnetlink_ipset.gen.test nfnetlink_nft_compat.gen.test nfnetlink_nftables.gen.test nfnetlink_osf.gen.test nfnetlink_queue.gen.test nfnetlink_ulog.gen.test nlattr.gen.test nlattr_br_port_msg.gen.test nlattr_cachereport.gen.test nlattr_cachereport-Xabbrev.gen.test nlattr_cachereport-Xraw.gen.test nlattr_cachereport-Xverbose.gen.test nlattr_crypto_user_alg.gen.test nlattr_dcbmsg.gen.test nlattr_fib_rule_hdr.gen.test nlattr_ifaddrlblmsg.gen.test nlattr_ifaddrmsg.gen.test nlattr_ifinfomsg.gen.test nlattr_ifla_af_spec.gen.test nlattr_ifla_brport.gen.test nlattr_ifla_brport-Xabbrev.gen.test nlattr_ifla_brport-Xraw.gen.test nlattr_ifla_brport-Xverbose.gen.test nlattr_ifla_linkinfo.gen.test nlattr_ifla_port.gen.test nlattr_ifla_protinfo.gen.test nlattr_ifla_protinfo-Xabbrev.gen.test nlattr_ifla_protinfo-Xraw.gen.test nlattr_ifla_protinfo-Xverbose.gen.test nlattr_ifla_proto_down_reason.gen.test nlattr_ifla_vfinfo.gen.test nlattr_ifla_vfinfo-Xabbrev.gen.test nlattr_ifla_vfinfo-Xraw.gen.test nlattr_ifla_vfinfo-Xverbose.gen.test nlattr_ifla_xdp.gen.test nlattr_ifla_xdp-y.gen.test nlattr_ifstats.gen.test nlattr_ifstats-Xabbrev.gen.test nlattr_ifstats-Xraw.gen.test nlattr_ifstats-Xverbose.gen.test nlattr_inet_diag_msg.gen.test nlattr_inet_diag_req_compat.gen.test nlattr_inet_diag_req_v2.gen.test nlattr_mdba_mdb_entry.gen.test nlattr_mdba_router_port.gen.test nlattr_ndmsg.gen.test nlattr_ndtmsg.gen.test nlattr_netconfmsg.gen.test nlattr_netlink_diag_msg.gen.test nlattr_nhmsg.gen.test nlattr_nhmsg-Xabbrev.gen.test nlattr_nhmsg-Xraw.gen.test nlattr_nhmsg-Xverbose.gen.test nlattr_nlmsgerr.gen.test nlattr_packet_diag_msg.gen.test nlattr_rtgenmsg.gen.test nlattr_rtmsg.gen.test nlattr_smc_diag_msg.gen.test nlattr_tc_stats.gen.test nlattr_tca_stab.gen.test nlattr_tcamsg.gen.test nlattr_tcmsg.gen.test nlattr_unix_diag_msg.gen.test old_mmap.gen.test old_mmap-P.gen.test old_mmap-Xabbrev.gen.test old_mmap-Xraw.gen.test old_mmap-Xverbose.gen.test old_mmap-v-none.gen.test oldfstat.gen.test oldlstat.gen.test oldselect.gen.test oldselect-P.gen.test oldselect-efault.gen.test oldselect-efault-P.gen.test oldstat.gen.test open.gen.test open--secontext.gen.test open--secontext_full.gen.test open--secontext_full_mismatch.gen.test open--secontext_mismatch.gen.test open_tree.gen.test open_tree-P.gen.test openat.gen.test openat--secontext.gen.test openat--secontext_full.gen.test openat--secontext_full_mismatch.gen.test openat--secontext_mismatch.gen.test openat2.gen.test openat2-Xabbrev.gen.test openat2-Xraw.gen.test openat2-Xverbose.gen.test openat2-v.gen.test openat2-v-y.gen.test openat2-v-y-Xabbrev.gen.test openat2-v-y-Xraw.gen.test openat2-v-y-Xverbose.gen.test openat2-y.gen.test orphaned_process_group.gen.test osf_utimes.gen.test pause.gen.test perf_event_open.gen.test perf_event_open_nonverbose.gen.test perf_event_open_unabbrev.gen.test personality-Xabbrev.gen.test personality-Xraw.gen.test personality-Xverbose.gen.test pidfd_getfd.gen.test pidfd_getfd-y.gen.test pidfd_getfd-yy.gen.test pidfd_open.gen.test pidfd_open--decode-fd-all.gen.test pidfd_open--decode-fd-none.gen.test pidfd_open--decode-fd-path.gen.test pidfd_open--decode-fd-pidfd.gen.test pidfd_open--decode-fd-socket.gen.test pidfd_open--pidns-translation.gen.test pidfd_open-P.gen.test pidfd_open-y.gen.test pidfd_open-yy.gen.test pidfd_send_signal.gen.test pidfd_send_signal--pidns-translation.gen.test pipe2.gen.test pkey_alloc.gen.test pkey_free.gen.test pkey_mprotect.gen.test poke-sendfile.gen.test ppoll.gen.test ppoll-P.gen.test ppoll-v.gen.test prctl-arg2-intptr.gen.test prctl-cap-ambient.gen.test prctl-capbset.gen.test prctl-dumpable.gen.test prctl-fp-mode.gen.test prctl-mce-kill.gen.test prctl-name.gen.test prctl-no-args.gen.test prctl-pac-enabled-keys.gen.test prctl-pac-enabled-keys-Xabbrev.gen.test prctl-pac-enabled-keys-Xraw.gen.test prctl-pac-enabled-keys-Xverbose.gen.test prctl-pac-enabled-keys-success.gen.test prctl-pac-enabled-keys-success-Xabbrev.gen.test prctl-pac-enabled-keys-success-Xraw.gen.test prctl-pac-enabled-keys-success-Xverbose.gen.test prctl-pac-reset-keys.gen.test prctl-pdeathsig.gen.test prctl-sched-core.gen.test prctl-sched-core--pidns-translation.gen.test prctl-sched-core--pidns-translation-Xabbrev.gen.test prctl-sched-core--pidns-translation-Xraw.gen.test prctl-sched-core--pidns-translation-Xverbose.gen.test prctl-sched-core-Xabbrev.gen.test prctl-sched-core-Xraw.gen.test prctl-sched-core-Xverbose.gen.test prctl-sched-core-success.gen.test prctl-sched-core-success--pidns-translation.gen.test prctl-sched-core-success--pidns-translation-Xabbrev.gen.test prctl-sched-core-success--pidns-translation-Xraw.gen.test prctl-sched-core-success--pidns-translation-Xverbose.gen.test prctl-sched-core-success-Xabbrev.gen.test prctl-sched-core-success-Xraw.gen.test prctl-sched-core-success-Xverbose.gen.test prctl-seccomp-filter-v.gen.test prctl-securebits.gen.test prctl-securebits-success.gen.test prctl-securebits-success-Xabbrev.gen.test prctl-securebits-success-Xraw.gen.test prctl-securebits-success-Xverbose.gen.test prctl-set-ptracer-success.gen.test prctl-set-ptracer-success--pidns-translation.gen.test prctl-set-ptracer-success-Xabbrev.gen.test prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test prctl-set-ptracer-success-Xraw.gen.test prctl-set-ptracer-success-Xraw--pidns-translation.gen.test prctl-set-ptracer-success-Xverbose.gen.test prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test prctl-set_vma.gen.test prctl-sme.gen.test prctl-sme-Xabbrev.gen.test prctl-sme-Xraw.gen.test prctl-sme-Xverbose.gen.test prctl-sme-success.gen.test prctl-sme-success-Xabbrev.gen.test prctl-sme-success-Xraw.gen.test prctl-sme-success-Xverbose.gen.test prctl-spec-inject.gen.test prctl-sve.gen.test prctl-sve-Xabbrev.gen.test prctl-sve-Xraw.gen.test prctl-sve-Xverbose.gen.test prctl-sve-success.gen.test prctl-sve-success-Xabbrev.gen.test prctl-sve-success-Xraw.gen.test prctl-sve-success-Xverbose.gen.test prctl-syscall-user-dispatch.gen.test prctl-tagged-addr.gen.test prctl-tagged-addr-Xabbrev.gen.test prctl-tagged-addr-Xraw.gen.test prctl-tagged-addr-Xverbose.gen.test prctl-tagged-addr-success.gen.test prctl-tagged-addr-success-Xabbrev.gen.test prctl-tagged-addr-success-Xraw.gen.test prctl-tagged-addr-success-Xverbose.gen.test prctl-tid_address.gen.test prctl-tsc.gen.test prctl-unalign.gen.test pread64-pwrite64.gen.test preadv.gen.test preadv-pwritev.gen.test preadv2-pwritev2.gen.test printpath-umovestr.gen.test printpath-umovestr-peekdata.gen.test printpath-umovestr-undumpable.gen.test printsignal-Xabbrev.gen.test printsignal-Xraw.gen.test printsignal-Xverbose.gen.test printstr.gen.test printstrn-umoven.gen.test printstrn-umoven-peekdata.gen.test printstrn-umoven-undumpable.gen.test prlimit64.gen.test prlimit64--pidns-translation.gen.test prlimit64-success.gen.test prlimit64-success--pidns-translation.gen.test process_madvise.gen.test process_madvise-y.gen.test process_madvise-yy.gen.test process_mrelease.gen.test process_mrelease-y.gen.test process_vm_readv.gen.test process_vm_readv--pidns-translation.gen.test process_vm_writev.gen.test process_vm_writev--pidns-translation.gen.test pselect6.gen.test pselect6_time64.gen.test ptrace.gen.test ptrace-Xabbrev.gen.test ptrace-Xraw.gen.test ptrace-Xverbose.gen.test ptrace-y.gen.test ptrace-y-Xabbrev.gen.test ptrace-y-Xraw.gen.test ptrace-y-Xverbose.gen.test ptrace_syscall_info.gen.test ptrace_syscall_info-Xabbrev.gen.test ptrace_syscall_info-Xraw.gen.test ptrace_syscall_info-Xverbose.gen.test pwritev.gen.test quotactl.gen.test quotactl-Xabbrev.gen.test quotactl-Xraw.gen.test quotactl-Xverbose.gen.test quotactl-success.gen.test quotactl-success-v.gen.test quotactl-v.gen.test quotactl-xfs.gen.test quotactl-xfs-success.gen.test quotactl-xfs-success-v.gen.test quotactl-xfs-v.gen.test quotactl_fd.gen.test quotactl_fd-P.gen.test quotactl_fd-y.gen.test read-write.gen.test readahead.gen.test readdir.gen.test readlink.gen.test readlinkat.gen.test reboot.gen.test recv-MSG_TRUNC.gen.test recvfrom.gen.test recvfrom-MSG_TRUNC.gen.test recvmmsg-timeout.gen.test recvmsg.gen.test regex.gen.test remap_file_pages.gen.test remap_file_pages-Xabbrev.gen.test remap_file_pages-Xraw.gen.test remap_file_pages-Xverbose.gen.test rename.gen.test renameat.gen.test renameat2.gen.test request_key.gen.test riscv_flush_icache.gen.test rmdir.gen.test rt_sigpending.gen.test rt_sigprocmask.gen.test rt_sigqueueinfo.gen.test rt_sigqueueinfo--pidns-translation.gen.test rt_sigreturn.gen.test rt_sigsuspend.gen.test rt_sigtimedwait.gen.test rt_tgsigqueueinfo.gen.test rt_tgsigqueueinfo--pidns-translation.gen.test s390_guarded_storage.gen.test s390_guarded_storage-v.gen.test s390_pci_mmio_read_write.gen.test s390_runtime_instr.gen.test s390_sthyi.gen.test s390_sthyi-v.gen.test sched.gen.test sched_get_priority_mxx.gen.test sched_rr_get_interval.gen.test sched_xetaffinity.gen.test sched_xetaffinity--pidns-translation.gen.test sched_xetattr.gen.test sched_xetattr--pidns-translation.gen.test sched_xetparam.gen.test sched_xetparam--pidns-translation.gen.test sched_xetscheduler.gen.test sched_xetscheduler--pidns-translation.gen.test sched_yield.gen.test seccomp-filter.gen.test seccomp-filter-v.gen.test seccomp_get_action_avail.gen.test seccomp_get_notif_sizes.gen.test seccomp_get_notif_sizes-success.gen.test segv_accerr.gen.test segv_pkuerr.gen.test select.gen.test select-P.gen.test semop.gen.test semop-indirect.gen.test semtimedop.gen.test semtimedop-ipc.gen.test semtimedop_time64.gen.test sendfile.gen.test sendfile64.gen.test set_mempolicy.gen.test set_mempolicy-Xabbrev.gen.test set_mempolicy-Xraw.gen.test set_mempolicy-Xverbose.gen.test set_mempolicy_home_node.gen.test setdomainname.gen.test setfsgid.gen.test setfsgid32.gen.test setfsuid.gen.test setfsuid32.gen.test setgid.gen.test setgid32.gen.test setgroups.gen.test setgroups32.gen.test sethostname.gen.test setns.gen.test setregid.gen.test setregid32.gen.test setresgid.gen.test setresgid32.gen.test setresuid.gen.test setresuid32.gen.test setreuid.gen.test setreuid32.gen.test setrlimit.gen.test setrlimit-Xabbrev.gen.test setrlimit-Xraw.gen.test setrlimit-Xverbose.gen.test setuid.gen.test setuid32.gen.test shmxt.gen.test shutdown.gen.test sigaction.gen.test siginfo.gen.test signal.gen.test signal_receive.gen.test signal_receive--pidns-translation.gen.test signalfd4.gen.test sigpending.gen.test sigprocmask.gen.test sigreturn.gen.test sigsuspend.gen.test so_error.gen.test so_linger.gen.test so_peercred.gen.test so_peercred--pidns-translation.gen.test so_peercred-Xabbrev.gen.test so_peercred-Xraw.gen.test so_peercred-Xverbose.gen.test sock_filter-v.gen.test sock_filter-v-Xabbrev.gen.test sock_filter-v-Xraw.gen.test sock_filter-v-Xverbose.gen.test sockaddr_xlat-Xabbrev.gen.test sockaddr_xlat-Xabbrev-y.gen.test sockaddr_xlat-Xraw.gen.test sockaddr_xlat-Xraw-y.gen.test sockaddr_xlat-Xverbose.gen.test sockaddr_xlat-Xverbose-y.gen.test socketcall.gen.test sockopt-sol_netlink.gen.test sockopt-sol_socket.gen.test sockopt-sol_socket-Xabbrev.gen.test sockopt-sol_socket-Xraw.gen.test sockopt-sol_socket-Xverbose.gen.test sockopt-sol_socket-success.gen.test sockopt-sol_socket-success-Xabbrev.gen.test sockopt-sol_socket-success-Xraw.gen.test sockopt-sol_socket-success-Xverbose.gen.test sockopt-timestamp.gen.test splice.gen.test stat.gen.test stat64.gen.test statfs.gen.test statfs64.gen.test status-all.gen.test status-failed.gen.test status-failed-long.gen.test status-failed-status.gen.test status-none.gen.test status-successful.gen.test status-successful-long.gen.test status-successful-status.gen.test status-unfinished.gen.test statx.gen.test strace--absolute-timestamps.gen.test strace--absolute-timestamps-format-time.gen.test strace--absolute-timestamps-format-time-precision-ms.gen.test strace--absolute-timestamps-format-time-precision-ns.gen.test strace--absolute-timestamps-format-time-precision-s.gen.test strace--absolute-timestamps-format-time-precision-us.gen.test strace--absolute-timestamps-format-unix-precision-ms.gen.test strace--absolute-timestamps-format-unix-precision-ns.gen.test strace--absolute-timestamps-format-unix-precision-s.gen.test strace--absolute-timestamps-format-unix-precision-us.gen.test strace--decode-pids-comm.gen.test strace--follow-forks-output-separately.gen.test strace--relative-timestamps.gen.test strace--relative-timestamps-ms.gen.test strace--relative-timestamps-ns.gen.test strace--relative-timestamps-s.gen.test strace--relative-timestamps-us.gen.test strace--strings-in-hex.gen.test strace--strings-in-hex-all.gen.test strace--strings-in-hex-non-ascii.gen.test strace--strings-in-hex-non-ascii-chars.gen.test strace--strings-in-hex-none.gen.test strace--syscall-times.gen.test strace--syscall-times-ms.gen.test strace--syscall-times-ns.gen.test strace--syscall-times-s.gen.test strace--syscall-times-us.gen.test strace--timestamps.gen.test strace--timestamps-time.gen.test strace--timestamps-time-ms.gen.test strace--timestamps-time-ns.gen.test strace--timestamps-time-s.gen.test strace--timestamps-time-us.gen.test strace--timestamps-unix-ms.gen.test strace--timestamps-unix-ns.gen.test strace--timestamps-unix-s.gen.test strace--timestamps-unix-us.gen.test strace-Y-0123456789.gen.test strace-n.gen.test strace-no-x.gen.test strace-x.gen.test strace-xx.gen.test swap.gen.test sxetmask.gen.test symlink.gen.test symlinkat.gen.test sync.gen.test sync_file_range.gen.test sync_file_range2.gen.test sysctl.gen.test sysinfo.gen.test syslog.gen.test tee.gen.test tgkill.gen.test tgkill--pidns-translation.gen.test threads-execve--quiet-thread-execve.gen.test threads-execve-q.gen.test threads-execve-qq.gen.test threads-execve-qqq.gen.test time.gen.test timer_create.gen.test timer_xettime.gen.test timerfd_xettime.gen.test times.gen.test times-Xabbrev.gen.test times-Xraw.gen.test times-Xverbose.gen.test times-fail.gen.test tkill.gen.test tkill--pidns-translation.gen.test trace_clock.gen.test trace_creds.gen.test trace_fstat.gen.test trace_fstatfs.gen.test trace_lstat.gen.test trace_personality_32.gen.test trace_personality_64.gen.test trace_personality_all_32.gen.test trace_personality_all_64.gen.test trace_personality_all_x32.gen.test trace_personality_number_32.gen.test trace_personality_number_64.gen.test trace_personality_number_x32.gen.test trace_personality_regex_32.gen.test trace_personality_regex_64.gen.test trace_personality_regex_x32.gen.test trace_personality_statfs_32.gen.test trace_personality_statfs_64.gen.test trace_personality_statfs_x32.gen.test trace_personality_x32.gen.test trace_question.gen.test trace_stat.gen.test trace_stat_like.gen.test trace_statfs.gen.test trace_statfs_like.gen.test trie_test.gen.test truncate.gen.test truncate64.gen.test ugetrlimit.gen.test umask.gen.test umoven-illptr.gen.test umovestr-illptr.gen.test umovestr3.gen.test umovestr_cached_adjacent.gen.test unlink.gen.test unlinkat.gen.test unshare.gen.test userfaultfd.gen.test ustat.gen.test utime.gen.test utimensat.gen.test utimensat-Xabbrev.gen.test utimensat-Xraw.gen.test utimensat-Xverbose.gen.test utimes.gen.test vfork-f.gen.test vhangup.gen.test vmsplice.gen.test wait4.gen.test wait4-v.gen.test waitid.gen.test waitid-Y.gen.test waitid-v.gen.test waitpid.gen.test xattr.gen.test xattr-strings.gen.test xet_robust_list.gen.test xet_robust_list--pidns-translation.gen.test xetitimer.gen.test xetpgid.gen.test xetpgid--pidns-translation.gen.test xetpriority.gen.test xetpriority--pidns-translation.gen.test xettimeofday.gen.test $(srcdir)/_newselect.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -22,6 +22,12 @@ $(srcdir)/access--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/access--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/access--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/acct.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -40,6 +46,33 @@ $(srcdir)/alarm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/arch_prctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/arch_prctl-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/at_fdcwd-pathmax.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/bpf.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -79,6 +112,12 @@ $(srcdir)/chmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/chmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/chmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/chown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -166,9 +205,15 @@ $(srcdir)/delete_module.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-dev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/dev--decode-fds-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/dev--decode-fds-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -247,6 +292,12 @@ $(srcdir)/execve--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execve--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execve--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -256,6 +307,12 @@ $(srcdir)/execveat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/execveat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/execveat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/execveat-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -265,6 +322,12 @@ $(srcdir)/faccessat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-P.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -277,6 +340,12 @@ $(srcdir)/faccessat-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/faccessat-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/faccessat-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/faccessat-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -307,6 +376,12 @@ $(srcdir)/fanotify_mark--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fanotify_mark--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fanotify_mark--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fanotify_mark-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -328,6 +403,12 @@ $(srcdir)/fchmod--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmod-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -337,6 +418,12 @@ $(srcdir)/fchmod-y--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmod-y--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmod-y--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchmodat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -346,6 +433,12 @@ $(srcdir)/fchmodat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchmodat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchmodat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fchown.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -361,6 +454,12 @@ $(srcdir)/fchownat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/fchownat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/fchownat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/fcntl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -385,6 +484,12 @@ $(srcdir)/file_handle--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/file_handle--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/file_handle--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/filter_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -463,6 +568,9 @@ $(srcdir)/ftruncate64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/futex_waitv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/futimesat.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -577,6 +685,18 @@ $(srcdir)/getsockname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/getsockname--secontext.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/getsockname--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/gettid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -625,6 +745,27 @@ $(srcdir)/io_uring_register.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/io_uring_register-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/io_uring_register-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/io_uring_setup.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -637,6 +778,18 @@ $(srcdir)/ioctl_dm-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_counter.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_counter-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_evdev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -853,6 +1006,42 @@ $(srcdir)/ioctl_inotify.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_kd.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_kd-success-s1024-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_kvm_run.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -862,6 +1051,12 @@ $(srcdir)/ioctl_kvm_run_auxstr_vcpu.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_lirc.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_lirc-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_loop.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -892,6 +1087,27 @@ $(srcdir)/ioctl_ptp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_ptp-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_ptp-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_random.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -907,6 +1123,42 @@ $(srcdir)/ioctl_scsi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_seccomp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_seccomp-y-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_sg_io_v3.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -922,6 +1174,15 @@ $(srcdir)/ioctl_tee.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_termios.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_termios-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ioctl_tiocm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioctl_ubi.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -982,6 +1243,9 @@ $(srcdir)/ioctl_watchdog.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ioctl_winsize.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ioperm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1147,6 +1411,12 @@ $(srcdir)/linkat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/linkat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/linkat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/lookup_dcookie.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1333,6 +1603,9 @@ $(srcdir)/nanosleep.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/net--decode-fds-all-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/net--decode-fds-dev-netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1447,6 +1720,18 @@ $(srcdir)/nlattr_br_port_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_cachereport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_cachereport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_crypto_user_alg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1471,21 +1756,66 @@ $(srcdir)/nlattr_ifla_brport.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_brport-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_brport-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_linkinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_port.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_protinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_protinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_proto_down_reason.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifla_vfinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifla_vfinfo-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_ifla_xdp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/nlattr_ifla_xdp-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_ifstats.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_ifstats-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_inet_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1513,6 +1843,18 @@ $(srcdir)/nlattr_netlink_diag_msg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/nlattr_nhmsg.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/nlattr_nhmsg-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/nlattr_nlmsgerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1591,6 +1933,12 @@ $(srcdir)/open--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/open--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/open--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/open_tree.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1606,6 +1954,12 @@ $(srcdir)/openat--secontext_full.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/openat--secontext_full_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/openat--secontext_mismatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/openat2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1675,6 +2029,12 @@ $(srcdir)/pidfd_open.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/pidfd_open--decode-fd-all.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/pidfd_open--decode-fd-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/pidfd_open--decode-fd-path.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1783,15 +2143,6 @@ $(srcdir)/prctl-sched-core.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - -$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in - $(AM_V_GEN) $^ $@ - $(srcdir)/prctl-sched-core--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1804,16 +2155,16 @@ $(srcdir)/prctl-sched-core--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sched-core-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-sched-core-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1828,6 +2179,15 @@ $(srcdir)/prctl-sched-core-success--pidns-translation-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sched-core-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sched-core-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-seccomp-filter-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1849,25 +2209,52 @@ $(srcdir)/prctl-set-ptracer-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-set-ptracer-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xabbrev--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-set_vma.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xraw--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/prctl-set-ptracer-success-Xverbose--pidns-translation.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/prctl-sme-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sme-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/prctl-spec-inject.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -1876,6 +2263,27 @@ $(srcdir)/prctl-sve.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/prctl-sve-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/prctl-sve-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/prctl-syscall-user-dispatch.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1975,6 +2383,12 @@ $(srcdir)/process_madvise-yy.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/process_mrelease.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/process_mrelease-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/process_vm_readv.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -1996,19 +2410,43 @@ $(srcdir)/ptrace.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/ptrace-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/ptrace-y-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/ptrace_syscall_info.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/ptrace_syscall_info-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ -$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in +$(srcdir)/pwritev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/quotactl-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in @@ -2020,6 +2458,12 @@ $(srcdir)/quotactl-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/quotactl-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/quotactl-success-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/quotactl-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2200,6 +2644,18 @@ $(srcdir)/seccomp_get_action_avail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/seccomp_get_notif_sizes.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/seccomp_get_notif_sizes-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_accerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/segv_pkuerr.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/select.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2239,6 +2695,9 @@ $(srcdir)/set_mempolicy-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/set_mempolicy_home_node.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/setdomainname.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2386,18 +2845,51 @@ $(srcdir)/sockaddr_xlat-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xabbrev-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xraw-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockaddr_xlat-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockaddr_xlat-Xverbose-y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/socketcall.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ $(srcdir)/sockopt-sol_netlink.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sockopt-sol_socket.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/sockopt-sol_socket-success-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sockopt-timestamp.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2476,6 +2968,9 @@ $(srcdir)/strace--absolute-timestamps-format-unix-precision-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--decode-pids-comm.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--follow-forks-output-separately.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2503,6 +2998,12 @@ $(srcdir)/strace--strings-in-hex-non-ascii.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace--strings-in-hex-non-ascii-chars.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/strace--strings-in-hex-none.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace--syscall-times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2548,9 +3049,15 @@ $(srcdir)/strace--timestamps-unix-us.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-Y-0123456789.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-n.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/strace-no-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/strace-x.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2578,6 +3085,9 @@ $(srcdir)/sync_file_range2.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/sysctl.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/sysinfo.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2620,6 +3130,15 @@ $(srcdir)/times.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/times-Xabbrev.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xraw.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/times-Xverbose.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/times-fail.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2650,6 +3169,24 @@ $(srcdir)/trace_personality_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_all_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_all_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_number_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_regex_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2659,6 +3196,15 @@ $(srcdir)/trace_personality_regex_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/trace_personality_statfs_32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_64.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + +$(srcdir)/trace_personality_statfs_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/trace_personality_x32.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ @@ -2755,6 +3301,9 @@ $(srcdir)/waitid.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@ +$(srcdir)/waitid-Y.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in + $(AM_V_GEN) $^ $@ + $(srcdir)/waitid-v.gen.test: $(abs_srcdir)/gen_tests.sh $(srcdir)/gen_tests.in $(AM_V_GEN) $^ $@
View file
_service:tar_scm:strace-5.14.tar.xz/tests/gen_tests.in -> _service:tar_scm:strace-6.1.tar.xz/tests/gen_tests.in
Changed
@@ -1,6 +1,6 @@ # Input for gen_tests.sh # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -12,12 +12,23 @@ access -a30 --trace-path=access_sample access--secontext -a30 --secontext --trace-path=access_sample -e trace=access access--secontext_full -a30 --secontext=full --trace-path=access_sample -e trace=access +access--secontext_full_mismatch -a30 --secontext=full,mismatch --trace-path=access_sample -e trace=access +access--secontext_mismatch -a30 --secontext=mismatch --trace-path=access_sample -e trace=access acct -a20 add_key -a30 -s12 adjtimex -a15 aio -a14 -e trace=io_setup,io_submit,io_getevents,io_cancel,io_destroy aio_pgetevents -e trace=io_pgetevents alarm -a10 +arch_prctl +arch_prctl.sh -a27 +arch_prctl-Xabbrev +arch_prctl.sh -a27 -Xabbrev +arch_prctl-Xraw +arch_prctl.sh -a17 -Xraw +arch_prctl-Xverbose +arch_prctl.sh -a32 -Xverbose +arch_prctl-success +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 +arch_prctl-success-Xabbrev +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a27 -Xabbrev +arch_prctl-success-Xraw +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a17 -Xraw +arch_prctl-success-Xverbose +prctl-success.sh ARCH_PRCTL_INJECT_RETVALS="0 1 2 3 0x20 0xc0 0xdead 0x20000 0x40000 0x60000 0x687ff 0x97800 0x789abcde" -a32 -Xverbose +at_fdcwd-pathmax -a36 --trace=openat -y -P sample bpf -a20 bpf-obj_get_info_by_fd -a20 -y -e trace=bpf bpf-obj_get_info_by_fd-prog -a20 -y -e trace=bpf @@ -29,12 +40,14 @@ btrfs +ioctl.test chdir -a10 chmod -a28 -chmod--secontext -a28 --secontext -e trace=chmod -chmod--secontext_full -a28 --secontext=full -e trace=chmod +chmod--secontext -a28 -e secontext=!full,mismatch -e trace=chmod +chmod--secontext_full -a28 -e secontext=full -e trace=chmod +chmod--secontext_full_mismatch -a28 --secontext=mismatch,full -e trace=chmod +chmod--secontext_mismatch -a28 --secontext=mismatch -e trace=chmod chown -a28 chown32 -a31 chroot -a13 -clock test_trace_expr 'times|fcntl.*' -e/clock +clock test_trace_expr 'times|times-.*|fcntl.*' -e/clock clock_adjtime -a37 clock_adjtime64 -a39 clock_nanosleep -e trace=clock_nanosleep,clock_gettime @@ -60,9 +73,11 @@ copy_file_range creat -a20 delete_module -a23 +dev--decode-fds-all -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=all dev--decode-fds-dev -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=dev +dev--decode-fds-none -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=none dev--decode-fds-path -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -e decode-fds=path -dev--decode-fds-socket -a19 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket +dev--decode-fds-socket -a9 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" --decode-fds=socket dev-yy -a30 -e trace=openat,fsync -P "/dev/full" -P "/dev/zero" -P "/dev/sda" -yy dup -a7 9>>/dev/full dup-P -a7 --trace=dup -P /dev/full 9>>/dev/full @@ -87,16 +102,24 @@ erestartsys -a34 -e signal=none -e trace=recvfrom execve--secontext +execve.test --secontext execve--secontext_full +execve.test --secontext=full +execve--secontext_full_mismatch +execve.test --secontext=full,mismatch +execve--secontext_mismatch +execve.test --secontext=mismatch execveat execveat--secontext --secontext --trace=execveat execveat--secontext_full --secontext=full --trace=execveat +execveat--secontext_full_mismatch --secontext=full,mismatch --trace=execveat +execveat--secontext_mismatch --secontext=mismatch --trace=execveat execveat-v -v -e trace=execveat faccessat--secontext +faccessat.test -a24 --secontext faccessat--secontext_full +faccessat.test -a24 --secontext=full +faccessat--secontext_full_mismatch +faccessat.test -a24 --secontext=full,mismatch +faccessat--secontext_mismatch +faccessat.test -a24 --secontext=mismatch faccessat-P -a23 --trace=faccessat -P /dev/full faccessat-y +faccessat.test -a24 -y faccessat-y--secontext +faccessat.test -a24 -y --secontext faccessat-y--secontext_full +faccessat.test -a24 -y --secontext=full +faccessat-y--secontext_full_mismatch +faccessat.test -a24 -y --secontext=full,mismatch +faccessat-y--secontext_mismatch +faccessat.test -a24 -y --secontext=mismatch faccessat-yy +faccessat.test -a24 -yy faccessat2-P -a27 --trace=faccessat2 -P /dev/full faccessat2-y +faccessat2.test -a28 -y @@ -107,6 +130,8 @@ fanotify_mark -a32 fanotify_mark--secontext -a32 --secontext -e trace=fanotify_mark fanotify_mark--secontext_full -a32 --secontext=full -e trace=fanotify_mark +fanotify_mark--secontext_full_mismatch -a32 --secontext=full,mismatch -e trace=fanotify_mark +fanotify_mark--secontext_mismatch -a32 --secontext=mismatch -e trace=fanotify_mark fanotify_mark-Xabbrev -a32 -Xabbrev -e trace=fanotify_mark fanotify_mark-Xraw -a32 -Xraw -e trace=fanotify_mark fanotify_mark-Xverbose -a32 -Xverbose -e trace=fanotify_mark @@ -114,17 +139,25 @@ fchmod -a15 fchmod--secontext -a15 --secontext -e trace=fchmod fchmod--secontext_full -a15 --secontext=full -e trace=fchmod +fchmod--secontext_full_mismatch -a15 --secontext=full,mismatch -e trace=fchmod +fchmod--secontext_mismatch -a15 --secontext=mismatch -e trace=fchmod fchmod-y -y -e trace=fchmod fchmod-y--secontext -a15 -y --secontext -e trace=fchmod fchmod-y--secontext_full -a15 -y --secontext=full -e trace=fchmod +fchmod-y--secontext_full_mismatch -a15 -y --secontext=full,mismatch -e trace=fchmod +fchmod-y--secontext_mismatch -a15 -y --secontext=mismatch -e trace=fchmod fchmodat fchmodat--secontext --secontext -e trace=fchmodat fchmodat--secontext_full --secontext=full -e trace=fchmodat +fchmodat--secontext_full_mismatch --secontext=full,mismatch -e trace=fchmodat +fchmodat--secontext_mismatch --secontext=mismatch -e trace=fchmodat fchown -a16 fchown32 -a18 fchownat fchownat--secontext --secontext -e trace=fchownat fchownat--secontext_full --secontext=full -e trace=fchownat +fchownat--secontext_full_mismatch -e secontext=full,mismatch -e trace=fchownat +fchownat--secontext_mismatch -e secontext=mismatch -e trace=fchownat fcntl -a8 fcntl--pidns-translation test_pidns -a8 -e trace=fcntl fcntl64 -a8 @@ -133,6 +166,8 @@ file_handle -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext --secontext -e trace=name_to_handle_at,open_by_handle_at file_handle--secontext_full --secontext=full -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_full_mismatch --secontext=full,mismatch -e trace=name_to_handle_at,open_by_handle_at +file_handle--secontext_mismatch --secontext=mismatch -e trace=name_to_handle_at,open_by_handle_at filter_seccomp . "${srcdir=.}/filter_seccomp.sh"; test_prog_set --seccomp-bpf -f filter_seccomp-flag ../$NAME finit_module -a25 @@ -159,6 +194,7 @@ fsync-y -y -e trace=fsync ftruncate -a24 ftruncate64 -a36 +futex_waitv -s256 futimesat -a28 get_mempolicy -s3 -a38 getcpu -a25 @@ -197,6 +233,10 @@ getsid -a10 getsid--pidns-translation test_pidns -e trace=getsid -a10 getsockname -a27 +getsockname--secontext -a27 --secontext -e trace=getsockname +getsockname--secontext_full -a27 --secontext=full -e trace=getsockname +getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname +getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname gettid -a9 getuid-creds +getuid.test getuid32 +getuid.test @@ -213,10 +253,21 @@ inotify_init1-y -a27 -y -e trace=inotify_init1 io_uring_enter -y io_uring_register -y +io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev +io_uring_register-Xraw -etrace=io_uring_register -y -Xraw +io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose +io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y +io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev +io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw +io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose io_uring_setup -a26 -y ioctl_block +ioctl.test ioctl_dm +ioctl.test -s9 ioctl_dm-v +ioctl.test -v -s9 +ioctl_counter +ioctl.test -a39 +ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev +ioctl_counter-Xraw +ioctl.test -a18 -Xraw +ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose ioctl_evdev +ioctl.test -a26 ioctl_evdev-Xabbrev +ioctl.test -a26 -Xabbrev ioctl_evdev-Xraw +ioctl.test -a28 -Xraw @@ -289,9 +340,23 @@ ioctl_hdio-v-Xraw +ioctl.test -a20 -v -Xraw ioctl_hdio-v-Xverbose +ioctl.test -a39 -v -Xverbose ioctl_inotify +ioctl.test +ioctl_kd +ioctl.test -a20 +ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev +ioctl_kd-Xraw +ioctl.test -a18 -Xraw +ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose +ioctl_kd-success +ioctl-success.sh -a20 +ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev +ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw +ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose +ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024 +ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev +ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw +ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose ioctl_kvm_run +ioctl.test -a36 -y ioctl_kvm_run-v +ioctl.test -v -a36 -y ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu +ioctl_lirc +ioctl-success.sh -a30 +ioctl_lirc-success +ioctl-success.sh -a30 ioctl_loop +ioctl.test ioctl_loop-nv +ioctl.test -a22 -e verbose=none ioctl_loop-v +ioctl.test -v @@ -301,17 +366,39 @@ ioctl_nsfs +ioctl.test -esignal=none ioctl_perf +ioctl.test ioctl_perf-success +ioctl-success.sh -a35 -ioctl_ptp +ioctl.test +ioctl_ptp +ioctl.test -a29 +ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev +ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw +ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose +ioctl_ptp-success +ioctl-success.sh -a29 +ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev +ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw +ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose ioctl_random +ioctl.test ioctl_rtc +ioctl.test ioctl_rtc-success +ioctl-success.sh -a22 ioctl_rtc-v +ioctl.test -v ioctl_scsi +ioctl.test +ioctl_seccomp +ioctl.test -a42 +ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48 +ioctl_seccomp-success +ioctl-success.sh -a42 +ioctl_seccomp-y +ioctl.test -a42 -y +ioctl_seccomp-y-success +ioctl-success.sh -a42 -y +ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 +ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev +ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw +ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose +ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev +ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw +ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose ioctl_sg_io_v3 +ioctl.test ioctl_sg_io_v4 +ioctl.test ioctl_sock +ioctl.test -a23 ioctl_sock_gifconf +ioctl.test -a28 -s1 ioctl_tee +ioctl.test +ioctl_termios +ioctl.test +ioctl_termios-v +ioctl.test -v +ioctl_tiocm +ioctl.test ioctl_ubi +ioctl.test ioctl_ubi-success +ioctl-success.sh -a24 ioctl_uffdio +ioctl.test @@ -332,6 +419,7 @@ ioctl_v4l2-v-Xraw +ioctl.test -v -Xraw ioctl_v4l2-v-Xverbose +ioctl.test -v -Xverbose ioctl_watchdog +ioctl.test +ioctl_winsize +ioctl.test ioperm -a27 iopl -a8 ioprio -a18 -e trace=ioprio_get,ioprio_set @@ -366,10 +454,10 @@ kernel_version-Xverbose -a16 -Xverbose -v -e trace=bpf kexec_file_load -s9 kexec_load -s9 -keyctl -a31 -s10 -keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev -keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw -keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose +keyctl -a31 -s10 -f --signal='!chld' +keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev +keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw +keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose kill -a12 -esignal=none kill--pidns-translation test_pidns -a12 -e trace=kill -esignal=none ksysent ../$NAME @@ -387,6 +475,8 @@ linkat linkat--secontext --secontext -e trace=linkat linkat--secontext_full --secontext=full -e trace=linkat +linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat +linkat--secontext_mismatch --secontext=mismatch -e trace=linkat lookup_dcookie -a27 lstat -a31 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full lstat64 -a32 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -449,7 +539,8 @@ msg_name -a20 -e trace=recvmsg munlockall -a13 nanosleep -a20 -net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev +net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all +net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9 net--decode-fds-none-netlink +net-yy-netlink.test --decode-fds=none -a9 net--decode-fds-path-netlink +net-yy-netlink.test --decode-fds=path net--decode-fds-socket-netlink +net-yy-netlink.test --decode-fds=socket @@ -487,6 +578,10 @@ nfnetlink_ulog +netlink_sock_diag.test nlattr +netlink_sock_diag.test nlattr_br_port_msg +netlink_sock_diag.test +nlattr_cachereport +netlink_sock_diag.test +nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw +nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_crypto_user_alg +netlink_sock_diag.test nlattr_dcbmsg +netlink_sock_diag.test nlattr_fib_rule_hdr +netlink_sock_diag.test @@ -495,11 +590,26 @@ nlattr_ifinfomsg +netlink_sock_diag.test nlattr_ifla_af_spec +netlink_sock_diag.test nlattr_ifla_brport +netlink_sock_diag.test +nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_linkinfo +netlink_sock_diag.test nlattr_ifla_port +netlink_sock_diag.test +nlattr_ifla_protinfo +netlink_sock_diag.test +nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_proto_down_reason +netlink_sock_diag.test +nlattr_ifla_vfinfo +netlink_sock_diag.test +nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose nlattr_ifla_xdp +netlink_sock_diag.test nlattr_ifla_xdp-y +netlink_sock_diag.test -y; exec 9</dev/full +nlattr_ifstats +netlink_sock_diag.test +nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw +nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose nlattr_inet_diag_msg +netlink_sock_diag.test nlattr_inet_diag_req_compat +netlink_sock_diag.test nlattr_inet_diag_req_v2 +netlink_sock_diag.test @@ -509,6 +619,10 @@ nlattr_ndtmsg +netlink_sock_diag.test nlattr_netconfmsg +netlink_sock_diag.test nlattr_netlink_diag_msg +netlink_sock_diag.test +nlattr_nhmsg +netlink_sock_diag.test +nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev +nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw +nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose nlattr_nlmsgerr +netlink_sock_diag.test nlattr_packet_diag_msg +netlink_sock_diag.test -v nlattr_rtgenmsg +netlink_sock_diag.test @@ -535,11 +649,15 @@ open -a30 -P $NAME.sample open--secontext -a30 -P open.sample --secontext --trace=open open--secontext_full -a30 -P open.sample --secontext=full --trace=open +open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open +open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open open_tree -a30 -y open_tree-P -a30 --decode-fds -P /dev/full -e trace=open_tree openat -a36 -P $NAME.sample openat--secontext -a36 -P openat.sample -P $PWD/openat.sample --secontext -e trace=openat openat--secontext_full -a36 -P openat.sample -P $PWD/openat.sample --secontext=full -e trace=openat +openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat +openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat openat2 -a35 openat2-Xabbrev --trace=openat2 -a35 -Xabbrev openat2-Xraw --trace=openat2 -a32 -Xraw @@ -563,6 +681,8 @@ pidfd_getfd-y --trace=pidfd_getfd -a18 -e signal=none -y </dev/full pidfd_getfd-yy --trace=pidfd_getfd -a18 -e signal=none -yy </dev/full pidfd_open -a17 +pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open +pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open pidfd_open--decode-fd-path -a17 -e decode-fd=path -e trace=pidfd_open pidfd_open--decode-fd-pidfd -a17 -e decode-fd=pidfd -e trace=pidfd_open pidfd_open--decode-fd-socket -a17 -e decode-fd=socket -e trace=pidfd_open @@ -599,21 +719,21 @@ prctl-pac-reset-keys +prctl.sh -a43 prctl-pdeathsig +prctl.sh -a30 prctl-sched-core +prctl.sh -a71 -prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev -prctl-sched-core-Xraw +prctl.sh -a28 -Xraw -prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core--pidns-translation test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core--pidns-translation-Xabbrev test_pidns -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core--pidns-translation-Xraw test_pidns -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core--pidns-translation-Xverbose test_pidns -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-Xabbrev +prctl.sh -a71 -Xabbrev +prctl-sched-core-Xraw +prctl.sh -a28 -Xraw +prctl-sched-core-Xverbose +prctl.sh -a83 -Xverbose prctl-sched-core-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev -prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw -prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-sched-core-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" prctl-sched-core-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a73 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev prctl-sched-core-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a30 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw prctl-sched-core-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a85 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose +prctl-sched-core-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a71 -Xabbrev +prctl-sched-core-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a28 -Xraw +prctl-sched-core-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a83 -Xverbose prctl-seccomp-filter-v +prctl.sh -v prctl-securebits +prctl.sh -a25 prctl-securebits-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a25 @@ -621,15 +741,31 @@ prctl-securebits-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a12 -Xraw prctl-securebits-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 1 42 255 256 511" -a36 -Xverbose prctl-set-ptracer-success +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev -prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw -prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" +prctl-set-ptracer-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a25 -Xabbrev prctl-set-ptracer-success-Xabbrev--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a31 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xabbrev +prctl-set-ptracer-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a20 -Xraw prctl-set-ptracer-success-Xraw--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a27 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xraw +prctl-set-ptracer-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS=0 -a42 -Xverbose prctl-set-ptracer-success-Xverbose--pidns-translation check_scno_tampering; test_pidns -einject=prctl:when=256+:retval=0 -etrace=prctl -a48 "QUIRK:START-OF-TEST-OUTPUT:prctl(0xffffffff /* PR_??? */, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)" -Xverbose -prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +prctl-set_vma +prctl.sh +prctl-sme +prctl.sh -a21 +prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sme-Xraw +prctl.sh -a12 -Xraw +prctl-sme-Xverbose +prctl.sh -a32 -Xverbose +prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 prctl-sve +prctl.sh -a21 +prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev +prctl-sve-Xraw +prctl.sh -a12 -Xraw +prctl-sve-Xverbose +prctl.sh -a32 -Xverbose +prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose prctl-syscall-user-dispatch +prctl.sh -a68 prctl-tagged-addr +prctl.sh -a43 prctl-tagged-addr-Xabbrev +prctl.sh -Xabbrev -a43 @@ -663,6 +799,8 @@ process_madvise process_madvise-y --trace=process_madvise -y process_madvise-yy --trace=process_madvise -yy +process_mrelease -a24 +process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full process_vm_readv -s5 -a37 process_vm_readv--pidns-translation test_pidns -s5 -a37 -e trace=process_vm_readv process_vm_writev -s5 -a38 @@ -670,14 +808,24 @@ pselect6 pselect6_time64 ptrace -a23 -s64 -e signal=none +ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev +ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw +ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose +ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace +ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev +ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw +ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose ptrace_syscall_info -a35 -e signal=none -e trace=ptrace +ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev +ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw +ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose pwritev -a22 -s7 quotactl -quotactl-success -einject=quotactl:retval=42 -etrace=quotactl -quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-Xabbrev -Xabbrev -e trace=quotactl quotactl-Xraw -a27 -Xraw -e trace=quotactl quotactl-Xverbose -Xverbose -e trace=quotactl +quotactl-success -einject=quotactl:retval=42 -etrace=quotactl +quotactl-success-v -einject=quotactl:retval=42 -etrace=quotactl -v quotactl-v -v -e trace=quotactl quotactl-xfs -e trace=quotactl quotactl-xfs-success -einject=quotactl:retval=42 -etrace=quotactl @@ -723,7 +871,7 @@ s390_runtime_instr -a44 s390_sthyi -a47 s390_sthyi-v -e trace=s390_sthyi -a47 -v -sched test_trace_expr times -e/sched +sched test_trace_expr 'times|times-.*' -e/sched sched_get_priority_mxx -a33 -e trace=sched_get_priority_min,sched_get_priority_max sched_rr_get_interval -a31 sched_xetaffinity -a28 -e trace=sched_getaffinity,sched_setaffinity @@ -738,6 +886,10 @@ seccomp-filter -e trace=seccomp seccomp-filter-v -v -e trace=seccomp seccomp_get_action_avail -e trace=seccomp +seccomp_get_notif_sizes -etrace=seccomp -a42 +seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42 +segv_accerr -qq --trace=none +segv_pkuerr -qq --trace=none select -a36 select-P -a36 -e trace=select -P /dev/full 9>>/dev/full semop -a32 @@ -751,6 +903,7 @@ set_mempolicy-Xabbrev -a34 -s3 -Xabbrev -e trace=set_mempolicy set_mempolicy-Xraw -a24 -s3 -Xraw -e trace=set_mempolicy set_mempolicy-Xverbose -s3 -Xverbose -e trace=set_mempolicy +set_mempolicy_home_node -a39 setdomainname -a24 setfsgid -a12 setfsgid32 -a14 @@ -799,11 +952,22 @@ sock_filter-v-Xabbrev -v -e trace=getsockopt,setsockopt -X abbrev sock_filter-v-Xraw -a 37 -v -e trace=getsockopt,setsockopt -X raw sock_filter-v-Xverbose -v -e trace=getsockopt,setsockopt -X verbose -sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -sockaddr_xlat-Xraw -Xraw -e trace=connect -sockaddr_xlat-Xverbose -Xverbose -e trace=connect +sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22 +sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xraw -Xraw -e trace=connect -a22 +sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero +sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22 +sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero socketcall -a20 sockopt-sol_netlink -e trace=getsockopt,setsockopt +sockopt-sol_socket -e trace=getsockopt,setsockopt +sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose +sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt +sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev +sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 +sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose sockopt-timestamp -e trace=recvmsg splice stat -a30 --no-abbrev --trace-path=stat.sample --trace-path=/dev/full @@ -830,20 +994,23 @@ strace--absolute-timestamps-format-unix-precision-ns +strace-ttt.test 9 --absolute-timestamps=format:unix --absolute-timestamps=precision:ns strace--absolute-timestamps-format-unix-precision-s +strace-ttt.test 0 --absolute-timestamps=format:unix --absolute-timestamps=precision:s strace--absolute-timestamps-format-unix-precision-us +strace-ttt.test 6 --absolute-timestamps=precision:us --absolute-timestamps=format:unix +strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace--follow-forks-output-separately +strace-ff.test --follow-forks --output-separately strace--relative-timestamps +strace-r.test --relative-timestamps strace--relative-timestamps-ms +strace-r.test --relative-timestamps=ms strace--relative-timestamps-ns +strace-r.test --relative-timestamps=ns strace--relative-timestamps-s +strace-r.test --relative-timestamps=s strace--relative-timestamps-us +strace-r.test --relative-timestamps=us -strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 -strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 +strace--strings-in-hex --trace=chdir --strings-in-hex --columns=18 +strace--strings-in-hex-all --trace=chdir --strings-in-hex=all --columns=18 strace--strings-in-hex-non-ascii --trace=chdir --strings-in-hex=non-ascii --columns=12 -strace--syscall-times +strace-T.test --syscall-times -strace--syscall-times-ms +strace-T.test --syscall-times=ms -strace--syscall-times-ns +strace-T.test --syscall-times=ns -strace--syscall-times-s +strace-T.test --syscall-times=s -strace--syscall-times-us +strace-T.test --syscall-times=us +strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12 +strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12 +strace--syscall-times +strace-T_upper.test --syscall-times +strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms +strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns +strace--syscall-times-s +strace-T_upper.test --syscall-times=s +strace--syscall-times-us +strace-T_upper.test --syscall-times=us strace--timestamps +strace-t.test --timestamps strace--timestamps-time +strace-t.test --timestamps=time strace--timestamps-time-ms +strace-tt.test 3 --timestamps=time,ms @@ -854,7 +1021,9 @@ strace--timestamps-unix-ns +strace-ttt.test 9 --timestamps=unix,ns strace--timestamps-unix-s +strace-ttt.test 0 --timestamps=unix,s strace--timestamps-unix-us +strace-ttt.test 6 --timestamps=unix,us +strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18 strace-n -e trace=listen -n -qq -a 12 +strace-no-x -e trace=chdir -a 12 strace-x -e trace=chdir -x -a 12 strace-xx -e trace=chdir -xx -a 18 swap -a23 -e trace=swapon,swapoff @@ -864,6 +1033,7 @@ sync -a7 sync_file_range sync_file_range2 +sysctl -a16 --trace=_sysctl sysinfo -a14 syslog -a35 tee @@ -878,19 +1048,31 @@ timer_xettime -e trace=timer_create,timer_settime,timer_gettime timerfd_xettime -e trace=timerfd_create,timerfd_settime,timerfd_gettime times -esignal=none +times-Xabbrev -esignal=none -e trace=times -Xabbrev +times-Xraw -esignal=none -e trace=times -Xraw +times-Xverbose -esignal=none -e trace=times -Xverbose times-fail -a12 -e trace=times tkill -a12 --signal='!cont' tkill--pidns-translation test_pidns --signal='!cont' -a12 -e trace=tkill -trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock +trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock trace_creds test_trace_expr '(gset^p*(guid|groups)|caps|prctl|fl?chown|print(path-umovestr|strn-umoven)-undumpable|ptrace|quotactl|rt_sigtimedwait|rt_(tg)?sigqueueinfo).*' -e%creds trace_fstat test_trace_expr '' -e%fstat -v -P stat.sample -P /dev/full trace_fstatfs test_trace_expr '' -e%fstatfs trace_lstat test_trace_expr '' -e%lstat -v -P stat.sample -P /dev/full trace_personality_32 +qualify_personality.sh 32 'getcwd' 'fsync-y|poke' trace_personality_64 +qualify_personality.sh 64 'getcwd' 'fsync-y|poke' -trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*' -trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*' -trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*' +trace_personality_all_32 +qualify_personality_all.sh 32 +trace_personality_all_64 +qualify_personality_all.sh 64 +trace_personality_all_x32 +qualify_personality_all.sh x32 +trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*' +trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs' +trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs' +trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs' trace_personality_x32 +qualify_personality.sh x32 'getcwd' 'fsync-y|poke' trace_question test_trace_expr '' -e?osf_utimes,?/^pkey_.* trace_stat test_trace_expr '' -e%stat -v -P stat.sample -P /dev/full @@ -923,6 +1105,7 @@ wait4 -esignal=none wait4-v -v -e signal=none -e trace=wait4 waitid -esignal=none +waitid-Y -Y -e signal=none -e trace=waitid waitid-v -v -e signal=none -e trace=waitid waitpid -a28 xattr -a22 -e trace=getxattr,fgetxattr,lgetxattr,setxattr,fsetxattr,lsetxattr,listxattr,flistxattr,llistxattr,removexattr,fremovexattr,lremovexattr
View file
_service:tar_scm:strace-5.14.tar.xz/tests/get_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests/get_mempolicy.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of get_mempolicy syscall. * - * Copyright (c) 2016-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2016-2022 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -35,15 +35,14 @@ printf("get_mempolicy(NULL, "); unsigned int nlongs = NLONGS(maxnode); - unsigned int i; - for (i = 0; i < nlongs; ++i) { + for (unsigned int i = 0; i < nlongs; ++i) { if (i) fputs(", ", stdout); if (i >= MAX_STRLEN) { fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(*nodemask) * 2 + 2, nodemaski); + printf("%#0*lx", (int) sizeof(*nodemask) * 2, nodemaski); } printf(", %lu, NULL, 0) = 0\n", maxnode);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext.c
Added
@@ -0,0 +1,19 @@ +/* + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#ifdef HAVE_SELINUX_RUNTIME + +# define TEST_SECONTEXT +# include "getsockname.c" + +#else + +SKIP_MAIN_UNDEFINED("HAVE_SELINUX_RUNTIME") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext -a27 --secontext -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_full.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_FULL +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_full.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full -a27 --secontext=full -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_full_mismatch -a27 --secontext=full,mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=full,mismatch -e trace=getsockname
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "getsockname--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/getsockname--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (getsockname--secontext_mismatch -a27 --secontext=mismatch -e trace=getsockname); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a27 --secontext=mismatch -e trace=getsockname
View file
_service:tar_scm:strace-5.14.tar.xz/tests/gettid--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests/gettid--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of gettid's return value. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/group_req.c -> _service:tar_scm:strace-6.1.tar.xz/tests/group_req.c
Changed
@@ -39,7 +39,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq4); TAIL_ALLOC_OBJECT_CONST_PTR(struct group_req, greq6); - unsigned int i; greq6->gr_interface = greq4->gr_interface = ifindex_lo(); if (!greq4->gr_interface) @@ -89,7 +88,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ set_opt(0, optsi.level, optsi.name, optsi.val, -1U); printf("setsockopt(0, %s, %s, %p, -1) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests/hexdump_strdup.c -> _service:tar_scm:strace-6.1.tar.xz/tests/hexdump_strdup.c
Changed
@@ -25,8 +25,7 @@ char *p = dst; const unsigned char *usrc = (const unsigned char *) src; - size_t i; - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { unsigned int c = usrci; *(p++) = ' '; if (i == 8)
View file
_service:tar_scm:strace-5.14.tar.xz/tests/hexquote_strndup.c -> _service:tar_scm:strace-6.1.tar.xz/tests/hexquote_strndup.c
Changed
@@ -24,8 +24,7 @@ perror_msg_and_fail("malloc(%zu)", dst_size); char *p = dst; - size_t i; - for (i = 0; i < src_len; ++i) { + for (size_t i = 0; i < src_len; ++i) { unsigned int c = ((const unsigned char *) src)i; *(p++) = '\\'; *(p++) = 'x';
View file
_service:tar_scm:strace-5.14.tar.xz/tests/inet-cmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/inet-cmsg.c
Changed
@@ -50,8 +50,7 @@ printf("%s", name); if (len) { printf(", cmsg_data="); - size_t i; - for (i = 0; i < len; ++i) + for (size_t i = 0; i < len; ++i) printf("%s%#x", i ? ", " : "", optsi); printf(""); } @@ -134,8 +133,8 @@ ntohs(addr.sin_port), (unsigned) mh.msg_namelen, data, (unsigned) size); - struct cmsghdr *c; - for (c = CMSG_FIRSTHDR(&mh); c; c = CMSG_NXTHDR(&mh, c)) { + for (struct cmsghdr *c = CMSG_FIRSTHDR(&mh); + c; c = CMSG_NXTHDR(&mh, c)) { if (IPPROTO_IP != c->cmsg_level) continue; if (c != control)
View file
_service:tar_scm:strace-5.14.tar.xz/tests/init.sh -> _service:tar_scm:strace-6.1.tar.xz/tests/init.sh
Changed
@@ -1,7 +1,7 @@ #!/bin/sh # # Copyright (c) 2011-2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2011-2021 The strace developers. +# Copyright (c) 2011-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -26,6 +26,12 @@ printf "%s" "$*" | sed 's/.*&^$\//\\&/g' } +# Enable using string in sed s// command by escaping slash occurrences. +sed_slash_escape() +{ + printf "%s" "$*" | sed 's///\\&/g' +} + # get_config_str OPTION # # Returns the value of OPTION from config.h (path to which set @@ -53,6 +59,29 @@ fi } +# Prints personality designator of the current personality: +# 64, 32, or x32. +print_current_personality_designator() +{ + if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then + if 'x32' = "$STRACE_NATIVE_ARCH" ; then + echo x32 + else + echo "$(($SIZEOF_LONG * 8))" + fi + else + 4 -eq "$SIZEOF_LONG" || + fail_ "sizeof(long) = $SIZEOF_LONG != 4" + if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then + echo 32 + else + 8 -eq "$SIZEOF_KERNEL_LONG_T" || + fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" + echo x32 + fi + fi +} + check_prog() { type "$@" > /dev/null 2>&1 || @@ -246,7 +275,8 @@ # Usage: run_strace_match_diff args to run_strace run_strace_match_diff() { - local sed_cmd + local sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' args="$*" @@ -259,17 +289,31 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" sed_cmd="/$(sed_re_escape "$str")/,\$p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + sed_cmd="/$(sed_slash_escape "$str")/,\$p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null + args="$prog_args" run_strace "$@" $args > "$EXP" sed -n "$sed_cmd" < "$LOG" > "$OUT" match_diff "$OUT" "$EXP" @@ -419,7 +463,8 @@ test_pidns_run_strace() { - local parent_pid init_pid sed_cmd + local parent_pid init_pid sed_cmd prog_args + prog_args="../$NAME" sed_cmd='p' check_prog tail @@ -430,20 +475,36 @@ while :; do arg="$1" shift - "x${arg#QUIRK:START-OF-TEST-OUTPUT:}" = "x${arg}" || { + case "$arg" in + QUIRK:START-OF-TEST-OUTPUT:*) str="${arg#QUIRK:START-OF-TEST-OUTPUT:}" str="$(sed_re_escape "${str}")" # There could be -r/-t output between pid and "+++" sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" continue - } - "x$arg" != "xEND_OF_ARGUMENTS" || break + ;; + QUIRK:START-OF-TEST-OUTPUT-REGEX:*) + str="${arg#QUIRK:START-OF-TEST-OUTPUT-REGEX:}" + str="$(sed_slash_escape "${str}")" + # There could be -r/-t output between pid and "+++" + sed_cmd="/${str}/,/^1-90-9* .*+++ exited with 0 +++\$/p" + continue + ;; + QUIRK:PROG-ARGS:*) + prog_args="../$NAME ${arg#QUIRK:PROG-ARGS:}" + continue + ;; + END_OF_ARGUMENTS) + break + ;; + esac set -- "$@" "$arg" done run_prog > /dev/null - run_strace --pidns-translation -f "$@" $args > "$EXP" + args="$prog_args" + run_strace --decode-pids=pidns --status=!unavailable -f "$@" $args > "$EXP" # filter out logs made by the parent or init process of the pidns test parent_pid="$(tail -n 2 $LOG | head -n 1 | cut -d' ' -f1)"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/init_delete_module.h -> _service:tar_scm:strace-6.1.tar.xz/tests/init_delete_module.h
Changed
@@ -3,7 +3,7 @@ * and delete_module tests. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,17 +26,14 @@ static void print_str(unsigned int base, unsigned int len, bool escape) { - unsigned int i; - if (!escape) { - for (i = base; i < (base + len); i++) + for (unsigned int i = base; i < (base + len); ++i) putc(i, stdout); - - return; + } else { + for (unsigned int i = base; i < (base + len); ++i) + printf("\\%u%u%u", + (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } - - for (i = base; i < (base + len); i++) - printf("\\%u%u%u", (i >> 6) & 0x3, (i >> 3) & 0x7, i & 0x7); } #endif /* !STRACE_TESTS_INIT_DELETE_MODULE_H */
View file
_service:tar_scm:strace-5.14.tar.xz/tests/io_uring_enter.c -> _service:tar_scm:strace-6.1.tar.xz/tests/io_uring_enter.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of io_uring_enter syscall. * * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -65,8 +66,9 @@ sys_io_uring_enter(fd, to_submit, min_complete, -1U, sigmask, size); printf("io_uring_enter(%u<%s>, %u, %u" ", IORING_ENTER_GETEVENTS|IORING_ENTER_SQ_WAKEUP" - "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG|%#x, %s, %u) = %s\n", - fd, path, to_submit, min_complete, -1U - 15U, + "|IORING_ENTER_SQ_WAIT|IORING_ENTER_EXT_ARG" + "|IORING_ENTER_REGISTERED_RING|%#x, %s, %u) = %s\n", + fd, path, to_submit, min_complete, -1U - 31U, "~HUP KILL STOP", size, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xabbrev -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xraw -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-Xverbose -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=io_uring_register -y -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xabbrev -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xabbrev "../io_uring_register-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xraw -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xraw "../io_uring_register-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "io_uring_register-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success-Xverbose -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y -Xverbose "../io_uring_register-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "io_uring_register.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (io_uring_register-success -einject=io_uring_register:retval=42 -etrace=io_uring_register -y); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=io_uring_register:retval=42 -etrace=io_uring_register -y "../io_uring_register-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/io_uring_register.c -> _service:tar_scm:strace-6.1.tar.xz/tests/io_uring_register.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_register syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,21 +21,33 @@ /* From tests/bpf.c */ #if defined MPERS_IS_m32 || SIZEOF_KERNEL_LONG_T > 4 # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #elif defined __arm__ || defined __i386__ || defined __mips__ \ - || defined __powerpc__ || defined __riscv__ || defined __s390__ \ + || defined __powerpc__ || defined __riscv || defined __s390__ \ || defined __sparc__ || defined __tile__ # define BIG_ADDR_MAYBE(addr_) addr_ " or " +# define BIG_ADDR_MASK 0xffffffff00000000ULL #else # define BIG_ADDR_MAYBE(addr_) +# define BIG_ADDR_MASK 0 #endif -#ifdef WORDS_BIGENDIAN -# define BE_LE(be_, le_) be_ +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define INJ_STR " (INJECTED)" #else -# define BE_LE(be_, le_) le_ +# define INJ_STR "" #endif -static const char *errstr; +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +static const char path_null = "/dev/null"; +static const char path_full = "/dev/full"; + +char errstr1024; static long sys_io_uring_register(unsigned int fd, unsigned int opcode, @@ -51,15 +63,83 @@ long rc = syscall(__NR_io_uring_register, arg1, arg2, arg3, arg4, bad, bad); - errstr = sprintrc(rc); + snprintf(errstr, sizeof(errstr), "%s%s", sprintrc(rc), INJ_STR); return rc; } +static void +print_rsrc_data(const struct iovec *arg_iov, const struct iovec *iov, + const int *arg_fds, const int *fds, const size_t i, + const size_t j, const void *endptr, bool upd) +{ + printf(", data="); + if (BIG_ADDR_MASK && (j & 2)) { + printf("%#llx or ", (unsigned long long) (BIG_ADDR_MASK | + (j & 1 ? i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds : 0))); + } + if (!(j & 1)) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_data_end; + if (i) { + printf("{iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}", + iov0.iov_base, (unsigned long) iov0.iov_len, + iov1.iov_base, (unsigned long) iov1.iov_len); + } else { + printf("%u<%s>, %u<%s>, -1, %s, -3", + fds0, path_full, fds1, path_null, + upd ? XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + : "-2"); + } + if (j & 16) + printf(", ... /* %p */", endptr); +print_rsrc_data_end: + printf(""); +} + +static void +print_rsrc_tags(const uint64_t *arg_tags, const uint64_t *tags, const size_t i, + const size_t j, const void *endptr) +{ + printf(", tags="); + if (BIG_ADDR_MASK && (j & 8)) { + printf("%#llx or ", (unsigned long long) ( + BIG_ADDR_MASK | (j & 4 ? 0 + : (uintptr_t) (arg_tags + 1 + i * 3 - !!(j & 64))))); + } + if (j & 4) { + printf("NULL"); + return; + } + + printf(""); + if (!(j & 32)) + goto print_rsrc_tags_end; + if (i) { + printf("%s0xbadc0deddadfaced%s", + j & 64 ? "0xfacefeed, " : "", j & 64 ? "" : ", 0"); + } else { + printf("%s0x1, 0xdead, 0xfacefeed, 0xbadc0deddadfaced%s", + j & 64 ? "0x1337, " : "", j & 64 ? "" : ", 0"); + } + if (j & 16) { + if (j & 64) + printf(", 0"); + else + printf(", ... /* %p */", endptr); + } +print_rsrc_tags_end: + printf(""); +} + int main(void) { - static const char path_null = "/dev/null"; - static const char path_full = "/dev/full"; const struct iovec iov = { { .iov_base = (void *) (unsigned long) 0xfacefeedcafef00d, @@ -74,6 +154,7 @@ skip_if_unavailable("/proc/self/fd/"); + close(0); /* Trying to get fd 0 for /dev/null */ int fd_null = open(path_null, O_RDONLY); if (fd_null < 0) perror_msg_and_fail("open: %s", path_null); @@ -82,20 +163,25 @@ if (fd_full < 0) perror_msg_and_fail("open: %s", path_full); - int fds = { fd_full, fd_null }; + int fds = { fd_full, fd_null, -1, -2, -3 }; + const char *pathsARRAY_SIZE(fds) = { path_full, path_null }; const int *arg_fds = tail_memdup(fds, sizeof(fds)); - static const unsigned int invalid_ops = { 0xbadc0dedU, 19 }; + + /* Invalid op */ + static const unsigned int invalid_ops = { 0xbadc0dedU, 24 }; for (size_t i = 0; i < ARRAY_SIZE(invalid_ops); i++) { sys_io_uring_register(fd_null, invalid_opsi, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %#x /* IORING_REGISTER_??? */" - ", %p, %u) = %s\n", + printf("io_uring_register(%u<%s>, %#x" + NRAW(" /* IORING_REGISTER_??? */") ", %p, %u) = %s\n", fd_null, path_null, invalid_opsi, path_null, 0xdeadbeef, errstr); } + + /* Operations without an argument */ static const struct { unsigned int op; const char *str; @@ -105,18 +191,24 @@ { 5, "IORING_UNREGISTER_EVENTFD" }, { 9, "IORING_REGISTER_PERSONALITY" }, { 10, "IORING_UNREGISTER_PERSONALITY" }, + { 12, "IORING_REGISTER_ENABLE_RINGS" }, + { 18, "IORING_UNREGISTER_IOWQ_AFF" }, }; for (size_t i = 0; i < ARRAY_SIZE(no_arg_ops); i++) { sys_io_uring_register(fd_null, no_arg_opsi.op, path_null, 0xdeadbeef); - printf("io_uring_register(%u<%s>, %s, %p, %u) = %s\n", - fd_null, path_null, no_arg_opsi.str, path_null, - 0xdeadbeef, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(no_arg_opsi.op, no_arg_opsi.str), + path_null, 0xdeadbeef, errstr); } + + /* IORING_REGISTER_BUFFERS */ sys_io_uring_register(fd_null, 0, arg_iov, ARRAY_SIZE(iov)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_BUFFERS" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0, "IORING_REGISTER_BUFFERS") ", {iov_base=%p, iov_len=%lu}, {iov_base=%p, iov_len=%lu}" ", %u) = %s\n", fd_null, path_null, iov0.iov_base, @@ -124,6 +216,8 @@ iov1.iov_base, (unsigned long) iov1.iov_len, (unsigned int) ARRAY_SIZE(iov), errstr); + + /* Operations with an fd array argument */ static const struct { unsigned int op; const char *str; @@ -136,24 +230,29 @@ for (size_t i = 0; i < ARRAY_SIZE(fd_arr_ops); i++) { sys_io_uring_register(fd_null, fd_arr_opsi.op, arg_fds, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, %s, %u<%s>, %u<%s>, %u)" - " = %s\n", - fd_null, path_null, fd_arr_opsi.str, + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", %u<%s>, %u<%s>, -1, -2, -3, %u) = %s\n", + fd_null, path_null, + XLAT_SEL(fd_arr_opsi.op, fd_arr_opsi.str), fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); } + + /* IORING_REGISTER_FILES_UPDATE */ struct io_uring_files_update bogus_iufu; struct io_uring_files_update iufu; sys_io_uring_register(fd_null, 6, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", NULL, 4207869677) = %s\n", fd_null, path_null, errstr); fill_memory(&bogus_iufu, sizeof(bogus_iufu)); sys_io_uring_register(fd_null, 6, &bogus_iufu, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") ", {offset=%" PRIu32 ", resv=%#" PRIx32 ", fds=" BIG_ADDR_MAYBE(BE_LE("0x88898a8b8c8d8e8f", "0x8f8e8d8c8b8a8988")) "}, 0) = %s\n", @@ -165,47 +264,72 @@ iufu.offset = 0xdeadc0deU; iufu.fds = (uintptr_t) fds; sys_io_uring_register(fd_null, 6, &iufu, ARRAY_SIZE(fds)); - printf("io_uring_register(%u<%s>, IORING_REGISTER_FILES_UPDATE" - ", {offset=3735929054, fds=%u<%s>, %u<%s>}, %u) = %s\n", + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x6, "IORING_REGISTER_FILES_UPDATE") + ", {offset=3735929054, fds=%u<%s>, %u<%s>, -1, " + XLAT_KNOWN(-2, "IORING_REGISTER_FILES_SKIP") + ", -3}, %u) = %s\n", fd_null, path_null, fd_full, path_full, fd_null, path_null, (unsigned int) ARRAY_SIZE(fds), errstr); struct io_uring_probe *probe = tail_alloc(sizeof(*probe) + (DEFAULT_STRLEN + 1) * sizeof(struct io_uring_probe_op)); + + /* IORING_REGISTER_PROBE */ sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, NULL, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, 4207869677) = %s\n", - fd_null, path_null, errstr); + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0xfacefeed); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, 4207869677) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), probe, + errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, (char *) probe + 1, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", %p, %d) = %s\n", - fd_null, path_null, (char *) probe + 1, DEFAULT_STRLEN + 1, - errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %d) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + (char *) probe + 1, DEFAULT_STRLEN + 1, errstr); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=%u /* IORING_OP_??? */, ops_len=%hhu, resv=%#hx" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->last_op, probe->ops_len, probe->resv, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=%u" + NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu, resv=%#hx" + ", resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=%u" NRAW(" /* IORING_OP_??? */") ", ops_len=%hhu" + ", resv=%#hx, resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + probe->last_op, probe->ops_len, probe->resv, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_READV; probe->resv = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 0); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_READV, ops_len=%hhu" - ", resv2=%#x, %#x, %#x, ops=}, 0) = %s\n", - fd_null, path_null, probe->ops_len, - probe->resv20, probe->resv21, probe->resv22, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=%#x, %#x, %#x, ops=}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu" + ", resv2=%#x, %#x, %#x, ops=...}" +#endif + ", 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_READV), probe->ops_len, + probe->resv20, probe->resv21, probe->resv22, +#endif + errstr); probe->last_op = IORING_OP_EPOLL_CTL; probe->resv20 = 0; @@ -216,12 +340,12 @@ probe->ops0.flags = 0; probe->ops0.resv2 = 0xbeefface; - probe->ops1.op = 36; + probe->ops1.op = 46; probe->ops1.resv = 0; probe->ops1.flags = IO_URING_OP_SUPPORTED; probe->ops1.resv2 = 0xdeadc0de; - probe->ops2.op = 37; + probe->ops2.op = 47; probe->ops2.resv = 0xaf; probe->ops2.flags = 0xbeef; probe->ops2.resv2 = 0; @@ -232,45 +356,780 @@ probe->ops3.resv2 = 0; sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 4); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=IORING_OP_EPOLL_CTL, ops_len=%hhu" - ", resv2=0, %#x, 0, ops=" - "{op=IORING_OP_NOP, resv=0xde, flags=0, resv2=0xbeefface}, " - "{op=IORING_OP_UNLINKAT, flags=IO_URING_OP_SUPPORTED" - ", resv2=0xdeadc0de}, " - "{op=37 /* IORING_OP_??? */, resv=0xaf" - ", flags=IO_URING_OP_SUPPORTED|0xbeee}, " - "{op=254 /* IORING_OP_??? */" - ", flags=0xc0de /* IO_URING_OP_??? */}}, 4) = %s\n", - fd_null, path_null, probe->ops_len, probe->resv21, errstr); - - probe->last_op = 37; + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {last_op=" XLAT_FMT_U + ", ops_len=%hhu, resv2=0, %#x, 0, ops=" + "{op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}, " + "{op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}, " + "{op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}}" +#if RETVAL_INJECTED + " => {last_op=" XLAT_FMT_U ", ops_len=%hhu, resv2=0, %#x, 0, " + "ops={op=" XLAT_FMT_U ", resv=0xde, flags=0, resv2=0xbeefface}" + ", {op=" XLAT_FMT_U ", flags=" XLAT_FMT ", resv2=0xdeadc0de}" + ", {op=47" NRAW(" /* IORING_OP_??? */") ", resv=0xaf, flags=" + XLAT_FMT "}, {op=254" NRAW(" /* IORING_OP_??? */") + ", flags=0xc0de" NRAW(" /* IO_URING_OP_??? */") "}, ...}" +#endif + ", 4) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#if RETVAL_INJECTED + XLAT_ARGS(IORING_OP_EPOLL_CTL), probe->ops_len, probe->resv21, + XLAT_ARGS(IORING_OP_NOP), XLAT_ARGS(IORING_OP_URING_CMD), + XLAT_ARGS(IO_URING_OP_SUPPORTED), + XLAT_ARGS(IO_URING_OP_SUPPORTED|0xbeee), +#endif + errstr); + + probe->last_op = 47; probe->resv21 = 0; fill_memory_ex(probe->ops, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1), 0x40, 0x80); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, DEFAULT_STRLEN + 1); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE" - ", {last_op=37 /* IORING_OP_??? */, ops_len=%hhu, ops=", - fd_null, path_null, probe->ops_len); - for (size_t i = 0; i < DEFAULT_STRLEN; i++) { - printf("%s{op=%u /* IORING_OP_??? */, resv=%#hhx" - ", flags=%s%#hx%s, resv2=%#x}", - i ? ", " : "", - probe->opsi.op, probe->opsi.resv, - probe->opsi.flags & 1 ? "IO_URING_OP_SUPPORTED|" : "", - (typeof(probe->opsi.flags)) (probe->opsi.flags & ~1), - probe->opsi.flags & 1 ? "" : " /* IO_URING_OP_??? */", - probe->opsi.resv2); + printf("io_uring_register(%u<%s>, " XLAT_FMT, + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE)); + for (size_t c = 0; c < 1 + RETVAL_INJECTED; c++) { + printf("%s{last_op=47" NRAW(" /* IORING_OP_??? */") + ", ops_len=%hhu, ops=", + c ? " => " : ", ", probe->ops_len); + for (size_t i = 0; i < DEFAULT_STRLEN; i++) { + printf("%s{op=%u" NRAW(" /* IORING_OP_??? */") + ", resv=%#hhx, flags=", + i ? ", " : "", probe->opsi.op, + probe->opsi.resv); +#if XLAT_RAW + printf("%#hx", + (typeof(probe->opsi.flags)) + (probe->opsi.flags)); +#else /* !XLAT_RAW */ + if (probe->opsi.flags & 1) { + printf(VERB("%#hx /* ") "IO_URING_OP_SUPPORTED" + "|%#hx" VERB(" */"), +# if XLAT_VERBOSE + probe->opsi.flags, +# endif + (uint16_t) (probe->opsi.flags & ~1)); + } else { + printf("%#hx /* IO_URING_OP_??? */", + probe->opsi.flags); + } +#endif /* XLAT_RAW */ + printf(", resv2=%#x}", probe->opsi.resv2); + } + printf(", ...}"); } - printf(", ...}, %d) = %s\n", DEFAULT_STRLEN + 1, errstr); + printf(", %d) = %s\n", DEFAULT_STRLEN + 1, errstr); probe->last_op = 0; probe->ops_len = 0; memset(probe->ops, 0, sizeof(probe->ops0) * (DEFAULT_STRLEN + 1)); sys_io_uring_register(fd_null, IORING_REGISTER_PROBE, probe, 8); - printf("io_uring_register(%u<%s>, IORING_REGISTER_PROBE, %p, 8) = %s\n", - fd_null, path_null, probe, errstr); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", " +#if RETVAL_INJECTED + "{last_op=" XLAT_KNOWN(0, "IORING_OP_NOP") ", ops_len=0, ops=}" +#else + "%p" +#endif + ", 8) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_PROBE), +#if !RETVAL_INJECTED + probe, +#endif + errstr); + + + /* IORING_REGISTER_RESTRICTIONS */ + static const struct { + uint16_t opcode; + const char *opcode_str; + bool opcode_known; + const char *op_pfx; + uint8_t op; + const char *op_str; + bool op_known; + } restrictions_data = { + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_REGISTER_BUFFERS), true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", ARG_STR(IORING_UNREGISTER_PBUF_RING), + true }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 24, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_REGISTER_OP), true, + "register_op=", 255, " /* IORING_REGISTER_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_NOP), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", ARG_STR(IORING_OP_URING_CMD), true }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 47, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_OP), true, + "sqe_op=", 255, " /* IORING_OP_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 64, "IOSQE_CQE_SKIP_SUCCESS", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 0xff, "IOSQE_FIXED_FILE|IOSQE_IO_DRAIN" + "|IOSQE_IO_LINK|IOSQE_IO_HARDLINK" + "|IOSQE_ASYNC|IOSQE_BUFFER_SELECT" + "|IOSQE_CQE_SKIP_SUCCESS" + "|0x80", + true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_ALLOWED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 0, "", false }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 1, "IOSQE_FIXED_FILE", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 192, "IOSQE_CQE_SKIP_SUCCESS|0x80", true }, + { ARG_STR(IORING_RESTRICTION_SQE_FLAGS_REQUIRED), true, + "sqe_flags=", 128, " /* IOSQE_??? */", false }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + { 4, " /* IORING_RESTRICTION_??? */", false, "", 239 }, + { 137, " /* IORING_RESTRICTION_??? */", false, "", 0 }, + }; + struct io_uring_restriction *restrictions = + tail_alloc(sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data)); + char *restrictions_end = (char *) (restrictions + + ARRAY_SIZE(restrictions_data)); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, NULL, + 0xfacefeed); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", NULL, 4207869677) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end, errstr); + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + restrictions_end - sizeof(*restrictions) + 1, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1) = %s\n", + fd_null, path_null, XLAT_ARGS(IORING_REGISTER_RESTRICTIONS), + restrictions_end - sizeof(*restrictions) + 1, errstr); + + struct io_uring_restriction *p = + restrictions + ARRAY_SIZE(restrictions_data) - 1; + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + memset(p, 0, sizeof(*restrictions)); + p->opcode = restrictions_datai.opcode; + p->sqe_flags = restrictions_datai.op; + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + p, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", {opcode=", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" : restrictions_datai.opcode_str, + restrictions_datai.op); + } + printf("}, 1) = %s\n", errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(restrictions_data); i++) { + restrictionsi.opcode = restrictions_datai.opcode; + restrictionsi.sqe_op = restrictions_datai.op; + restrictionsi.resv = i & 1 ? 0x70 + i * 7 : 0; + restrictionsi.resv20 = i & 2 ? 0x80808080 | i * 0x1020304 + : 0; + restrictionsi.resv21 = i & 4 ? 0x80808080 | i * 0x4030201 + : 0; + restrictionsi.resv22 = i & 8 ? 0x08080808 | i * 0x40302010 + : 0; + } + + for (size_t j = 0; j < 3; j++) { + if (j == 2) { + memmove(((char *) restrictions) + 4, restrictions, + sizeof(*restrictions) + * ARRAY_SIZE(restrictions_data) - 4); + } + + sys_io_uring_register(fd_null, IORING_REGISTER_RESTRICTIONS, + ((char *) restrictions) + 4 * !!(j == 2), + ARRAY_SIZE(restrictions_data) + + !!(j == 1)); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_ARGS(IORING_REGISTER_RESTRICTIONS)); + + for (unsigned int i = 0; + i < ARRAY_SIZE(restrictions_data) - !!(j == 2); i++) { + printf("%s{opcode=", i ? ", " : ""); + if (restrictions_datai.opcode_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.opcode, + restrictions_datai.opcode_str)); + printf(", %s", restrictions_datai.op_pfx); + if (restrictions_datai.op_known) { + printf(XLAT_FMT, + XLAT_SEL(restrictions_datai.op, + restrictions_datai.op_str)); + } else { + printf("%#x%s", + restrictions_datai.op, + XLAT_RAW ? "" + : restrictions_datai.op_str); + } + } else { + printf("%#x%s /* op: %#x */", + restrictions_datai.opcode, + XLAT_RAW ? "" + : restrictions_datai.opcode_str, + restrictions_datai.op); + } + + if (i & 1) { + printf(", resv=%#hhx", + (unsigned char) (0x70 + i * 7)); + } + if (i & 0xe) { + printf(", resv2=%#x, %#x, %#x", + i & 2 ? 0x80808080 | i * 0x1020304 : 0, + i & 4 ? 0x80808080 | i * 0x4030201 : 0, + i & 8 ? 0x08080808 | i * 0x40302010 : 0); + } + + printf("}"); + } + + if (j) { + printf(", ... /* %p */", + j == 1 ? restrictions_end + : restrictions_end - sizeof(*restrictions) + + 4); + } + printf(", %zu) = %s\n", + ARRAY_SIZE(restrictions_data) + !!(j == 1), errstr); + } + + + /* IORING_REGISTER_FILES2, IORING_REGISTER_BUFFERS2 */ + static const struct { + unsigned int op; + const char *str; + } rsrc_reg_ops = { + { 13, "IORING_REGISTER_FILES2" }, + { 15, "IORING_REGISTER_BUFFERS2" }, + }; + static const struct strval32 rsrc_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "IORING_RSRC_REGISTER_SPARSE") }, + { ARG_XLAT_UNKNOWN(0x2, "IORING_RSRC_REGISTER_???") }, + { ARG_XLAT_KNOWN(0xbadc0ded, + "IORING_RSRC_REGISTER_SPARSE|0xbadc0dec") }, + }; + static const uint64_t tags = { 0x1337, 1, 0xdead, 0xfacefeed, + 0xbadc0deddadfacedULL, 0 }; + const uint64_t *arg_tags = tail_memdup(tags, sizeof(tags)); + + struct io_uring_rsrc_register *bogus_rsrc_reg = tail_alloc(24); + struct io_uring_rsrc_register *rsrc_reg = tail_alloc(sizeof(*rsrc_reg)); + struct io_uring_rsrc_register *big_rsrc_reg = + tail_alloc(sizeof(*big_rsrc_reg) + 8); + + fill_memory(big_rsrc_reg, sizeof(*big_rsrc_reg) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_reg_ops); i++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, rsrc_reg_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_reg, 24 }, + { bogus_rsrc_reg, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_reg_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_reg->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_reg->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_reg->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_reg->nr); + + rsrc_reg->data &= ~-!(j & 1); + rsrc_reg->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_reg->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_reg->tags &= ~-!!(j & 4); + rsrc_reg->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_reg->nr += !!(j & 16); + rsrc_reg->nr &= ~-!(j & 32); + + rsrc_reg->flags = ARR_ITEM(rsrc_flags, j >> 6).val; + rsrc_reg->resv2 = j & 128 ? 0xfacecafebeeffeedULL : 0; + + memcpy(big_rsrc_reg, rsrc_reg, sizeof(*rsrc_reg)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_reg_opsi.op, + k > 2 ? big_rsrc_reg + : rsrc_reg, + sizeof(*rsrc_reg) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {nr=%zu, flags=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_reg_opsi.op, + rsrc_reg_opsi.str), + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + ARR_ITEM(rsrc_flags, j >> 6).str, + j & 128 ? ", resv2=0xfacecafebeeffeed" + : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, false); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_reg) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_FILES_UPDATE2, IORING_REGISTER_BUFFERS_UPDATE */ + static const struct { + unsigned int op; + const char *str; + } rsrc_upd_ops = { + { 14, "IORING_REGISTER_FILES_UPDATE2" }, + { 16, "IORING_REGISTER_BUFFERS_UPDATE" }, + }; + + struct io_uring_rsrc_update2 *bogus_rsrc_upd = tail_alloc(24); + struct io_uring_rsrc_update2 *rsrc_upd = tail_alloc(sizeof(*rsrc_upd)); + struct io_uring_rsrc_update2 *big_rsrc_upd = + tail_alloc(sizeof(*big_rsrc_upd) + 8); + + fill_memory(big_rsrc_upd, sizeof(*big_rsrc_upd) + 8); + + for (size_t i = 0; i < ARRAY_SIZE(rsrc_upd_ops); i++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, rsrc_upd_opsi.str), + 0xdeadbeef, errstr); + + struct { + void *ptr; + unsigned int sz; + } ptr_args = { + { bogus_rsrc_upd, 24 }, + { bogus_rsrc_upd, 32 }, + }; + for (size_t j = 0; j < ARRAY_SIZE(ptr_args); j++) { + sys_io_uring_register(fd_null, rsrc_upd_opsi.op, + ptr_argsj.ptr, ptr_argsj.sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + ptr_argsj.ptr, ptr_argsj.sz, errstr); + } + + for (size_t j = 0; j < 256; j++) { + void *endptr = i ? (void *) (arg_iov + ARRAY_SIZE(iov)) + : (void *) (arg_fds + ARRAY_SIZE(fds)); + + rsrc_upd->data = i ? (uintptr_t) arg_iov + : (uintptr_t) arg_fds; + rsrc_upd->nr = i ? ARRAY_SIZE(iov) : ARRAY_SIZE(fds); + rsrc_upd->tags = (uintptr_t) (arg_tags + + ARRAY_SIZE(tags) + - rsrc_upd->nr); + + rsrc_upd->data &= ~-!(j & 1); + rsrc_upd->data |= j & 2 ? BIG_ADDR_MASK : 0; + rsrc_upd->tags -= !!(j & 64) * sizeof(uint64_t); + rsrc_upd->tags &= ~-!!(j & 4); + rsrc_upd->tags |= j & 8 ? BIG_ADDR_MASK : 0; + rsrc_upd->nr += !!(j & 16); + rsrc_upd->nr &= ~-!(j & 32); + + rsrc_upd->resv = j & 64 ? 0xbadc0ded : 0; + rsrc_upd->resv2 = j & 128 ? 0xfacecafe : 0; + + rsrc_upd->offset = j % 3 ? 0 : 0xdeadface; + + memcpy(big_rsrc_upd, rsrc_upd, sizeof(*rsrc_upd)); + + for (size_t k = 1; k < 5; k++) { + sys_io_uring_register(fd_null, + rsrc_upd_opsi.op, + k > 2 ? big_rsrc_upd + : rsrc_upd, + sizeof(*rsrc_upd) + + (k / 2) * 8); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {offset=%s%s", + fd_null, path_null, + XLAT_SEL(rsrc_upd_opsi.op, + rsrc_upd_opsi.str), + j % 3 ? "0" : "3735943886", + j & 64 ? ", resv=0xbadc0ded" : ""); + print_rsrc_data(arg_iov, iov, arg_fds, fds, + i, j, endptr, true); + print_rsrc_tags(arg_tags, tags, i, j, + arg_tags + ARRAY_SIZE(tags)); + printf(", nr=%zu%s", + j & 32 ? (i ? ARRAY_SIZE(iov) + : ARRAY_SIZE(fds)) + + !!(j & 16) : 0, + j & 128 ? ", resv2=0xfacecafe" + : ""); + if (!(k & 1)) + printf(", ???"); + if (k == 3) { + printf(", /* bytes 32..39 */ \"\\xa0" + "\\xa1\\xa2\\xa3\\xa4\\xa5\\xa6" + "\\xa7\""); + } + printf("}, %zu) = %s\n", + sizeof(*rsrc_upd) + (k / 2) * 8, errstr); + } + } + } + + + /* IORING_REGISTER_IOWQ_AFF */ + unsigned long aff = { + (unsigned long) 0xbadc0deddadfacedULL, + (unsigned long) 0xfacefeeddeadbeefULL, + }; + const unsigned long *arg_aff = tail_memdup(aff, sizeof(aff)); + const unsigned long *arg_aff_end = arg_aff + ARRAY_SIZE(aff); + + sys_io_uring_register(fd_null, 17, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, 1) = %s\n", + fd_null, path_null, arg_aff_end, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") +#ifdef WORDS_BIGENDIAN +# if SIZEOF_LONG > 4 + ", 49 50 51 54 55 57 59 60 61 62 63" /* face */ +# else + ", 16 18 19 21 23 25 26 27 28 30 31" /* dead */ +# endif +#else + ", 0 1 2 3 5 6 7 9 10 11 12 13 15" /* beef */ +#endif /* WORDS_BIGENDIAN */ + ", 2) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 17, arg_aff + 1, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") + ", %p, %zu) = %s\n", + fd_null, path_null, arg_aff + 1, sizeof(aff), errstr); + + sys_io_uring_register(fd_null, 17, arg_aff, sizeof(aff)); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x11, "IORING_REGISTER_IOWQ_AFF") ", " + "0 2 3 5 6 7 10 11 13 15" /* aced */ + " 16 17 18 19 20 22 23 25 27 28 30 31" /* dadf */ +#if SIZEOF_LONG > 4 + " 32 34 35 37 38 39 40 42 43" /* 0ded */ + " 50 51 52 54 55 57 59 60 61 63" /* badc */ + " 64 65 66 67 69 70 71 73 74 75 76 77 79" /* beef */ + " 80 82 83 85 87 89 90 91 92 94 95" /* dead feed */ + " 96 98 99 101 102 103 105 106 107 108 109 110 111" + " 113 114 115 118 119 121 123 124 125 126 127"/*face*/ +#else + " 32 33 34 35 37 38 39 41 42 43 44 45 47" /* beef */ + " 48 50 51 53 55 57 58 59 60 62 63" /* dead */ +#endif + ", %zu) = %s\n", + fd_null, path_null, sizeof(aff), errstr); + + + /* IORING_REGISTER_IOWQ_MAX_WORKERS */ + unsigned int maxw = { 0, 1, 0xbedfaced }; + const unsigned int *arg_maxw = tail_memdup(maxw, sizeof(maxw)); + const unsigned int *arg_maxw_end = arg_maxw + ARRAY_SIZE(maxw); + + sys_io_uring_register(fd_null, 19, NULL, 0xfacefeed); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", NULL, 4207869677) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 0); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", , 0) = %s\n", + fd_null, path_null, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end, 1); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") + ", %p, 1) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw_end - 1, 2); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + XLAT_KNOWN(0, "IO_WQ_BOUND") "=3202329837, ... /* %p */" + ", 2) = %s\n", + fd_null, path_null, arg_maxw_end, errstr); + + sys_io_uring_register(fd_null, 19, arg_maxw, 3); + printf("io_uring_register(%u<%s>, " + XLAT_KNOWN(0x13, "IORING_REGISTER_IOWQ_MAX_WORKERS") ", " + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837 => " +#if RETVAL_INJECTED + "" XLAT_KNOWN(0, "IO_WQ_BOUND") "=0, " + XLAT_KNOWN(1, "IO_WQ_UNBOUND") "=1, " + XLAT_UNKNOWN(2, "IO_WQ_???") "=3202329837" +#else + "%p" +#endif + ", 3) = %s\n", + fd_null, path_null, +#if !RETVAL_INJECTED + arg_maxw, +#endif + errstr); + + + /* IORING_REGISTER_RING_FDS, IORING_UNREGISTER_RING_FDS */ + static const struct { + unsigned int op; + const char *str; + } ringfd_ops = { + { 20, "IORING_REGISTER_RING_FDS" }, + { 21, "IORING_UNREGISTER_RING_FDS" }, + }; + + static const size_t ringfd_count = DEFAULT_STRLEN + 1; + static const uint32_t ringfd_off = + { -1U, 0, 1, 2, 161803398, 3141592653, -2U }; + TAIL_ALLOC_OBJECT_VAR_ARR(struct io_uring_rsrc_update, ringfds, + ringfd_count); + + fill_memory(ringfds, sizeof(*ringfds) * ringfd_count); + for (size_t i = 0; i < ringfd_count; i++) { + ringfdsi.offset = ARR_ITEM(ringfd_off, i); + ringfdsi.resv = i % 2 ? i * 0x1010101 : 0; + ringfdsi.data = (i % 4 ? 0xbadc0ded00000000ULL : 0) + | ARR_ITEM(fds, i); + } + + for (size_t i = 0; i < ARRAY_SIZE(ringfd_ops); i++) { + sys_io_uring_register(fd_null, ringfd_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", , 0) = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + errstr); + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + ringfd_count, 1); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 1)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str), + ringfds + ringfd_count, errstr); + + /* offs:sz: 33-31:32, 33-32:32, 33-32:33, 33-33:33 */ + for (size_t j = 0; j < 4; j++) { + const size_t offs = (4 - j) / 2; + const size_t sz = 32 + j / 2; + + sys_io_uring_register(fd_null, ringfd_opsi.op, + ringfds + offs, sz); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", ", + fd_null, path_null, + XLAT_SEL(ringfd_opsi.op, ringfd_opsi.str)); + for (uint32_t k = offs; k < MIN(ringfd_count, + DEFAULT_STRLEN + offs); + k++) { + printf("%s{offset=", k != offs ? ", " : ""); + printf(ringfd_opsi.op == 21 || + k % ARRAY_SIZE(ringfd_off) ? "%u" : "%d", + ARR_ITEM(ringfd_off, k)); + if (k % 2) + printf(", resv=%#x", k * 0x1010101); + + const size_t fdid = k % ARRAY_SIZE(fds); + if (ringfd_opsi.op == 20) { + printf(", data=%d%s%s%s", + fdsfdid, + pathsfdid ? "<": "", + pathsfdid ? pathsfdid : "", + pathsfdid ? ">": ""); + } else { + if (!((k % ARRAY_SIZE(fds) == 1) + && !(k % 4))) { + printf(", data=%#llx", + (k % 4 + ? 0xbadc0ded00000000ULL + : 0) | fdsfdid); + } + } + printf("}"); + } + if (j != 1) + printf(", ..."); + if (!(j % 2)) + printf(" /* %p */", ringfds + ringfd_count); + printf(", %zu) = %s\n", sz, errstr); + } + } + + + /* IORING_REGISTER_PBUF_RING, IORING_UNREGISTER_PBUF_RING */ + static const struct { + unsigned int op; + const char *str; + } buf_reg_ops = { + { 22, "IORING_REGISTER_PBUF_RING" }, + { 23, "IORING_UNREGISTER_PBUF_RING" }, + }; + TAIL_ALLOC_OBJECT_VAR_PTR(struct io_uring_buf_reg, buf_reg); + + for (size_t i = 0; i < ARRAY_SIZE(buf_reg_ops); i++) { + sys_io_uring_register(fd_null, buf_reg_opsi.op, 0, + 0xdeadbeef); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", NULL, %u)" + " = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + 0xdeadbeef, errstr); + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg + 1, 0); + printf("io_uring_register(%u<%s>, " XLAT_FMT ", %p, 0) = %s\n", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str), + buf_reg + 1, errstr); + + for (size_t j = 0; j < 256; j++) { + memset(buf_reg, 0, sizeof(*buf_reg)); + buf_reg->ring_addr = j & 2 ? (uintptr_t) buf_reg : 0; + buf_reg->ring_entries = j & 4 ? 3141592653 : 0; + buf_reg->bgid = j & 8 ? 42069 : 0; + buf_reg->pad = j & 16 ? 31337 : 0; + buf_reg->resv0 = j & 32 ? 0xbadc0deddeadfaceULL : 0; + buf_reg->resv1 = j & 64 ? 0xdecaffedbeefdeadULL : 0; + buf_reg->resv2 = j & 128 ? 0xbadc0dedfacefeedULL : 0; + + sys_io_uring_register(fd_null, buf_reg_opsi.op, + buf_reg, 0x42); + printf("io_uring_register(%u<%s>, " XLAT_FMT + ", {ring_addr=", + fd_null, path_null, + XLAT_SEL(buf_reg_opsi.op, buf_reg_opsi.str)); + if (j & 2) + printf("%p", buf_reg); + else + printf("NULL"); + printf(", ring_entries=%s, bgid=%s%s", + j & 4 ? "3141592653" : "0", + j & 8 ? "42069" : "0", + j & 16 ? ", pad=0x7a69" : ""); + if (j & 0xe0) { + printf(", resv=%s, %s, %s", + j & 32 ? "0xbadc0deddeadface" : "0", + j & 64 ? "0xdecaffedbeefdead" : "0", + j & 128 ? "0xbadc0dedfacefeed" : "0"); + } + printf("}, 66) = %s\n", errstr); + } + } puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/io_uring_setup.c -> _service:tar_scm:strace-6.1.tar.xz/tests/io_uring_setup.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of io_uring_setup syscall. * * Copyright (c) 2019 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2019-2021 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -25,7 +25,6 @@ #include "xlat.h" #include "xlat/uring_setup_features.h" -#include "xlat/uring_cqring_flags.h" static const char *errstr; @@ -69,9 +68,11 @@ printf("io_uring_setup(%u, {flags=IORING_SETUP_IOPOLL" "|IORING_SETUP_SQPOLL|IORING_SETUP_SQ_AFF|IORING_SETUP_CQSIZE" "|IORING_SETUP_CLAMP|IORING_SETUP_ATTACH_WQ" - "|IORING_SETUP_R_DISABLED|%#x" + "|IORING_SETUP_R_DISABLED|IORING_SETUP_SUBMIT_ALL" + "|IORING_SETUP_COOP_TASKRUN|IORING_SETUP_TASKRUN_FLAG" + "|IORING_SETUP_SQE128|IORING_SETUP_CQE32|%#x" ", sq_thread_cpu=%#x, sq_thread_idle=%u, wq_fd=%d, resv=", - 1, -1U - 127, params->sq_thread_cpu, params->sq_thread_idle, + 1, -1U - 0xfff, params->sq_thread_cpu, params->sq_thread_idle, params->wq_fd); for (unsigned int i = 0; i < ARRAY_SIZE(params->resv); ++i) printf("%s%#x", i != 0 ? ", " : "", params->resvi); @@ -115,16 +116,15 @@ params->sq_off.resv2); printf("}, cq_off={head=%u, tail=%u, ring_mask=%u" - ", ring_entries=%u, overflow=%u, cqes=%u, flags=", + ", ring_entries=%u, overflow=%u, cqes=%u" + ", flags=%u", params->cq_off.head, params->cq_off.tail, params->cq_off.ring_mask, params->cq_off.ring_entries, params->cq_off.overflow, - params->cq_off.cqes); - printflags(uring_cqring_flags, - params->cq_off.flags, - "IORING_CQ_???"); + params->cq_off.cqes, + params->cq_off.flags); if (params->cq_off.resv1) printf(", resv1=%#x", params->cq_off.resv1); if (params->cq_off.resv2)
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_block--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_block--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of ioctl(BLK*) syscall decoding. # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_block.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_block.c
Changed
@@ -66,6 +66,7 @@ TEST_NULL_ARG(BLKROTATIONAL); TEST_NULL_ARG(BLKSECDISCARD); TEST_NULL_ARG(BLKZEROOUT); + TEST_NULL_ARG(BLKGETDISKSEQ); TEST_NULL_ARG(BLKTRACESETUP); ioctl(-1, BLKRASET, lmagic); @@ -153,8 +154,7 @@ buts->start_lba, buts->end_lba, buts->pid, pidns_pid2str(PT_TGID)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(block_argless); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(block_argless); ++i) { ioctl(-1, (unsigned long) block_arglessi.val, lmagic); pidns_print_leader(); printf("ioctl(-1, %s) = -1 EBADF (%m)\n", block_arglessi.str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xabbrev +ioctl.test -a39 -Xabbrev); do not edit. +set -- -a39 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_counter.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter-Xverbose +ioctl.test -a52 -Xverbose); do not edit. +set -- -a52 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter.c
Added
@@ -0,0 +1,133 @@ +/* + * Check decoding of COUNTER_* commands of ioctl syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com>. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include <linux/ioctl.h> +#include <linux/counter.h> + + +/* A hack for handling different types of _IOC() on various platforms */ +#if XLAT_RAW +# define XLAT_ARGS_U(a_) (unsigned int) (a_) +#elif XLAT_VERBOSE +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ +#else +# define XLAT_ARGS_U(a_) #a_ +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + /* Unknown counter ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 1) { + sys_ioctl(-1, _IOC(dirsi.val, '>', 3, j), magic); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x3e, 0x3, %#x)") + ", %#lx) = %s\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '>', 3, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + /* COUNTER_ADD_WATCH_IOCTL */ + static const struct { + struct counter_watch val;; + const char *str; + } watches = { + { { { 0 } }, + "{component={type=" XLAT_KNOWN(0, "COUNTER_COMPONENT_NONE") + ", scope=" XLAT_KNOWN(0, "COUNTER_SCOPE_DEVICE") + ", parent=0, id=0}" + ", event=" XLAT_KNOWN(0, "COUNTER_EVENT_OVERFLOW") + ", channel=0}" }, + { { { COUNTER_COMPONENT_EXTENSION, COUNTER_SCOPE_COUNT, + 23, 42 }, COUNTER_EVENT_CAPTURE, 69 }, + "{component=" + "{type=" XLAT_KNOWN(0x5, "COUNTER_COMPONENT_EXTENSION") + ", scope=" XLAT_KNOWN(0x2, "COUNTER_SCOPE_COUNT") + ", parent=23, id=42}" + ", event=" XLAT_KNOWN(0x6, "COUNTER_EVENT_CAPTURE") + ", channel=69}" }, + { { { COUNTER_COMPONENT_EXTENSION + 1, COUNTER_SCOPE_COUNT + 1, + 142, 160 }, COUNTER_EVENT_CAPTURE + 1, 173 }, + "{component={type=" XLAT_UNKNOWN(0x6, "COUNTER_COMPONENT_???") + ", scope=" XLAT_UNKNOWN(0x3, "COUNTER_SCOPE_???") + ", parent=142, id=160}" + ", event=" XLAT_UNKNOWN(0x7, "COUNTER_EVENT_???") + ", channel=173}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct counter_watch, watch); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), errstr); + + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + (char *) watch + 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(watches); i++) { + memcpy(watch, &watchesi.val, sizeof(watchesi.val)); + sys_ioctl(-1, COUNTER_ADD_WATCH_IOCTL, (uintptr_t) watch); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_ARGS_U(COUNTER_ADD_WATCH_IOCTL), + watchesi.str, errstr); + } + + /* COUNTER_ENABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_ENABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_ENABLE_EVENTS_IOCTL), errstr); + + /* COUNTER_DISABLE_EVENTS_IOCTL */ + sys_ioctl(-1, COUNTER_DISABLE_EVENTS_IOCTL, magic); + printf("ioctl(-1, " XLAT_FMT ") = %s\n", + XLAT_ARGS_U(COUNTER_DISABLE_EVENTS_IOCTL), errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_counter.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_counter +ioctl.test -a39); do not edit. +set -- -a39 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_dm.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_dm.c
Changed
@@ -3,7 +3,7 @@ * * Copyright (c) 2016 Mikulas Patocka <mpatocka@redhat.com> * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -51,9 +51,8 @@ } ts; struct { struct dm_target_msg target_msg; - char target_string256; } tm; - char string256; + char string256 + sizeof(struct dm_target_msg); } u; } s; @@ -176,7 +175,6 @@ long rc; const char *errstr; - unsigned int i; /* Incorrect operation */ @@ -212,33 +210,33 @@ dm_arg->version1 = 0xbadc0dee; dm_arg->version2 = 0xbadc0def; ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" - " /* unsupported device mapper ABI version */}) = " + printf("ioctl(-1, DM_VERSION, {version=%u, %u, %u" + " /* unsupported device mapper ABI version */}) = " "-1 EBADF (%m)\n", 0xbadc0ded, 0xbadc0dee, 0xbadc0def); /* Incorrect data_size */ init_s(dm_arg, 14, 64); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" - " /* data_size too small */}) = -1 EBADF (%m)\n"); + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=14" + " /* data_size too small */}) = -1 EBADF (%m)\n"); /* Unterminated name/uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); memcpy(dm_arg->name, str129, sizeof(dm_arg->name)); memcpy(dm_arg->uuid, str129, sizeof(dm_arg->uuid)); ioctl(-1, DM_VERSION, dm_arg); - printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " + printf("ioctl(-1, DM_VERSION, {version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"%.127s\"..., uuid=\"%.128s\"..., " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl, str129, str129); /* Normal call */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " - "-1 EBADF (%m)\n", min_sizeof_dm_ioctl); + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0})" + " = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Zero dev, name, uuid */ init_s(dm_arg, min_sizeof_dm_ioctl, 0); @@ -248,7 +246,7 @@ dm_arg->uuid0 = '\0'; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%u, flags=0}) = " + "{version=4, 1, 2, data_size=%u, flags=0}) = " "-1 EBADF (%m)\n", 0xfacefeed); /* Flag */ @@ -256,7 +254,7 @@ dm_arg->flags = 0xffffffff; ioctl(-1, DM_VERSION, dm_arg); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=" "DM_READONLY_FLAG|DM_SUSPEND_FLAG|DM_EXISTS_FLAG|" "DM_PERSISTENT_DEV_FLAG|DM_STATUS_TABLE_FLAG|" @@ -265,26 +263,26 @@ "DM_NOFLUSH_FLAG|DM_QUERY_INACTIVE_TABLE_FLAG|" "DM_UEVENT_GENERATED_FLAG|DM_UUID_FLAG|DM_SECURE_DATA_FLAG|" "DM_DATA_OUT_FLAG|DM_DEFERRED_REMOVE|DM_INTERNAL_SUSPEND_FLAG|" - "0xfff80080}) = -1 EBADF (%m)\n", + "DM_IMA_MEASUREMENT_FLAG|0xfff00080}) = -1 EBADF (%m)\n", min_sizeof_dm_ioctl); /* Normal call */ init_s(&s.ioc, sizeof(s.ioc), 0); ioctl(-1, DM_VERSION, &s); printf("ioctl(-1, DM_VERSION, " - "{version=4, 1, 2, data_size=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " + "{version=4, 1, 2, data_size=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}) = " "-1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_REMOVE_ALL */ /* DM_LIST_DEVICES */ /* DM_LIST_VERSIONS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds_nodev); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmds_nodevi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " - "flags=0}) = -1 EBADF (%m)\n", + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmds_nodevi.str, min_sizeof_dm_ioctl, dummy_check_cmds_nodevi.has_params ? @@ -299,12 +297,12 @@ /* DM_TABLE_CLEAR */ /* DM_TABLE_DEPS */ /* DM_TABLE_STATUS */ - for (i = 0; i < ARRAY_SIZE(dummy_check_cmds); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(dummy_check_cmds); ++i) { init_s(dm_arg, min_sizeof_dm_ioctl, 0); ioctl(-1, dummy_check_cmdsi.arg, dm_arg); - printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " + printf("ioctl(-1, %s, {version=4, 1, 2, data_size=%zu%s, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\"%s, " - "flags=0}) = -1 EBADF (%m)\n", + "flags=0}) = -1 EBADF (%m)\n", dummy_check_cmdsi.str, min_sizeof_dm_ioctl, dummy_check_cmdsi.has_params ? ", data_start=0" : "", dummy_check_cmdsi.has_event_nr ? ", event_nr=0" : ""); @@ -317,17 +315,17 @@ s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, " + "{version=4, 1, 2, data_size=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=DM_SUSPEND_FLAG}) = -1 EBADF (%m)\n", sizeof(s.ioc)); init_s(&s.ioc, sizeof(s.ioc), 0); s.ioc.event_nr = 0xbadc0ded; ioctl(-1, DM_DEV_SUSPEND, &s); printf("ioctl(-1, DM_DEV_SUSPEND, " - "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " + "{version=4, 1, 2, data_size=%zu, dev=makedev(0x12, 0x34), " "name=\"nnn\", uuid=\"uuu\", event_nr=3134983661, " - "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); + "flags=0}) = -1 EBADF (%m)\n", sizeof(s.ioc)); /* DM_TABLE_LOAD */ @@ -341,16 +339,16 @@ strcpy(s.u.ts.target_params, "tparams"); ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1, flags=0, " + "target_count=1, flags=0}, " #if VERBOSE "{sector_start=16, length=32, target_type=\"tgt\", " "string=\"tparams\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* No targets */ init_s(dm_arg, min_sizeof_dm_ioctl, min_sizeof_dm_ioctl); @@ -358,9 +356,9 @@ dm_arg->target_count = 0; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=0, flags=0}) = -1 EBADF (%m)\n", + "target_count=0, flags=0}) = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -369,15 +367,15 @@ dm_arg->target_count = 1234; ioctl(-1, DM_TABLE_LOAD, dm_arg); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=1234, flags=0, " + "target_count=1234, flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xfffffff8); /* Inaccessible pointer */ init_s(&dm_arg_open1->ioc, offsetof(struct dm_table_open_test, target1), @@ -386,15 +384,15 @@ dm_arg_open1->ioc.target_count = 0xdeaddea1; ioctl(-1, DM_TABLE_LOAD, dm_arg_open1); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3735936673, flags=0, " + "target_count=3735936673, flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), + ") = -1 EBADF (%m)\n", sizeof(*dm_arg_open1), offsetof(struct dm_table_open_test, target1) #if VERBOSE , (char *) dm_arg_open1 + @@ -414,9 +412,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open2); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=2, flags=0, ", + "target_count=2, flags=0}, ", sizeof(*dm_arg_open2), offsetof(struct dm_table_open_test, target1)); #if VERBOSE @@ -429,7 +427,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Incorrect next */ init_s(&dm_arg_open3->ioc, offsetof(struct dm_table_open_test, target5), @@ -458,9 +456,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4, flags=0, ", + "target_count=4, flags=0}, ", offsetof(struct dm_table_open_test, target5), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -473,7 +471,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); #define FILL_DM_TARGET(id, id_next) \ do { \ @@ -509,9 +507,9 @@ rc = ioctl(-1, DM_TABLE_LOAD, dm_arg_open3); errstr = sprintrc(rc); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=3134983661, flags=0, ", + "target_count=3134983661, flags=0}, ", sizeof(*dm_arg_open3), offsetof(struct dm_table_open_test, target0)); #if VERBOSE @@ -525,7 +523,7 @@ PRINT_DM_TARGET(7); PRINT_DM_TARGET(8); #endif /* VERBOSE */ - printf("...}) = %s\n", errstr); + printf("...) = %s\n", errstr); /* DM_TARGET_MSG */ @@ -535,14 +533,14 @@ "long target msg"); ioctl(-1, DM_TARGET_MSG, &s); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "{sector=4660, message=\"long targ\"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); /* Invalid data_start */ @@ -550,14 +548,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), min_sizeof_dm_ioctl); /* Invalid data_start */ @@ -565,14 +563,14 @@ dm_arg->data_size = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "??? /* misplaced struct dm_target_msg */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg), 0xffffffff); /* Inaccessible pointer */ @@ -581,14 +579,14 @@ dm_arg->data_start = sizeof(*dm_arg); ioctl(-1, DM_TARGET_MSG, dm_arg); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE "%p" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*dm_arg) + sizeof(struct dm_target_msg), sizeof(*dm_arg) #if VERBOSE @@ -604,8 +602,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg) + 1, offsetof(struct dm_target_msg_test, msg)); #if VERBOSE @@ -616,7 +614,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* Zero-sied string */ init_s(&dm_arg_msg->ioc, sizeof(*dm_arg_msg), @@ -625,8 +623,8 @@ rc = ioctl(-1, DM_TARGET_MSG, dm_arg_msg); errstr = sprintrc(rc); printf("ioctl(-1, DM_TARGET_MSG, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, ", + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, ", sizeof(*dm_arg_msg), offsetof(struct dm_target_msg_test, msg)); #if VERBOSE printf("{sector=%" PRI__u64 ", message=\"\"}", @@ -634,7 +632,7 @@ #else /* !VERBOSE */ printf("..."); #endif /* VERBOSE */ - printf("}) = %s\n", errstr); + printf(") = %s\n", errstr); /* DM_DEV_SET_GEOMETRY */ @@ -642,14 +640,14 @@ strcpy(s.u.string, "10 20 30 40"); ioctl(-1, DM_DEV_SET_GEOMETRY, &s); printf("ioctl(-1, DM_DEV_SET_GEOMETRY, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " - "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " + "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", flags=0}, " #if VERBOSE - "string=\"10 20 30 \"..." + "{string=\"10 20 30 \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -660,15 +658,15 @@ memcpy(unaligned_dm_arg, dm_arg, offsetof(struct dm_ioctl, data)); ioctl(-1, DM_DEV_RENAME, unaligned_dm_arg); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%zu, data_start=%zu, " + "{version=4, 1, 2, data_size=%zu, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=%p" + "{string=%p}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", sizeof(*unaligned_dm_arg), min_sizeof_dm_ioctl #if VERBOSE , (char *) unaligned_dm_arg + min_sizeof_dm_ioctl @@ -680,15 +678,15 @@ s.ioc.data_start = 0xdeadbeef; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=3735928559, " + "{version=4, 1, 2, data_size=%u, data_start=3735928559, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE "??? /* misplaced string */" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size); /* Strange but still valid data_start */ @@ -697,15 +695,15 @@ s.ioc.data_start = offsetof(struct dm_ioctl, name) + 1; ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%zu, " + "{version=4, 1, 2, data_size=%u, data_start=%zu, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"nn\"" + "{string=\"nn\"}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, offsetof(struct dm_ioctl, name) + 1); @@ -714,15 +712,15 @@ strcpy(s.u.string, "new long name"); ioctl(-1, DM_DEV_RENAME, &s); printf("ioctl(-1, DM_DEV_RENAME, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", event_nr=0, " - "flags=0, " + "flags=0}, " #if VERBOSE - "string=\"new long \"..." + "{string=\"new long \"...}" #else /* !VERBOSE */ "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); @@ -731,16 +729,16 @@ s.ioc.target_count = -1U; ioctl(-1, DM_TABLE_LOAD, &s); printf("ioctl(-1, DM_TABLE_LOAD, " - "{version=4, 1, 2, data_size=%u, data_start=%u, " + "{version=4, 1, 2, data_size=%u, data_start=%u, " "dev=makedev(0x12, 0x34), name=\"nnn\", uuid=\"uuu\", " - "target_count=4294967295, flags=0, " + "target_count=4294967295, flags=0}, " #if VERBOSE "{sector_start=0, length=0, target_type=\"\", string=\"\"}" ", ??? /* misplaced struct dm_target_spec */" #else "..." #endif /* VERBOSE */ - "}) = -1 EBADF (%m)\n", + ") = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_evdev.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_evdev.c
Changed
@@ -188,8 +188,7 @@ #if VERBOSE printf("index=%" PRIu16 ", keycode=%s, scancode=", ike->index, XLAT_STR(KEY_1)); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ike->scancode); ++i) { if (i > 0) printf(", "); printf("%#" PRIx8, ike->scancodei);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_gpio.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_gpio.c
Changed
@@ -1,7 +1,7 @@ /* * Check GPIO_* ioctl decoding. * - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -71,7 +71,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -506,7 +506,7 @@ rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + "consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}"); @@ -516,7 +516,7 @@ p_line_request->event_buffer_size = 0xdeafdace; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "event_buffer_size=3736066766}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -528,7 +528,7 @@ p_line_request->padding1 = 0xfeedface; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=4, offsets=18, 35, 52, 69, " - "config={flags=0, num_attrs=0}, consumer=\"line consumer\", " + "consumer=\"line consumer\", config={flags=0, num_attrs=0}, " "padding=0, 0xfeedface, 0, 0, 0}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) @@ -542,7 +542,7 @@ p_line_request->offsetsi = i + 1; rc = do_ioctl_ptr(GPIO_V2_GET_LINE_IOCTL, p_line_request); printf("ioctl(-1, %s, {num_lines=65, offsets=" str_line_seq - ", config={flags=0, num_attrs=0}, consumer=\"line consumer\"}", + ", consumer=\"line consumer\", config={flags=0, num_attrs=0}}", XLAT_STR(GPIO_V2_GET_LINE_IOCTL)); if (rc >= 0) printf(" => {fd=100}");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_hdio.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_hdio.c
Changed
@@ -14,6 +14,10 @@ #include <stdlib.h> #include <linux/hdreg.h> #include <sys/ioctl.h> +#include "xlat.h" + +#include "xlat/hdio_busstates.h" +#include "xlat/hdio_ide_nice.h" static const char *errstr; @@ -38,7 +42,7 @@ return rc; } -static inline long +static long do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) { return do_ioctl(cmd, (uintptr_t) arg); @@ -57,10 +61,10 @@ num_skip = strtoul(argv1, NULL, 0); for (size_t i = 0; i < num_skip; i++) { - long ret = ioctl(-1, HDIO_GET_UNMASKINTR, 0); + long ret = ioctl(-1, HDIO_GET_QDMA, 0); printf("ioctl(-1, %s, 0) = %s%s\n", - XLAT_STR(HDIO_GET_UNMASKINTR), sprintrc(ret), + XLAT_STR(HDIO_GET_QDMA), sprintrc(ret), ret == INJECT_RETVAL ? " (INJECTED)" : ""); if (ret != INJECT_RETVAL) @@ -72,7 +76,7 @@ if (!locked) error_msg_and_fail("Hasn't locked on ioctl(-1" - ", HDIO_GET_UNMASKINTR, 0) returning %d", + ", HDIO_GET_QDMA, 0) returning %d", INJECT_RETVAL); #endif @@ -83,10 +87,15 @@ uint32_t cmd; const char *str; } unsupp_cmds = { - { ARG_STR(HDIO_GET_UNMASKINTR) }, - { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_GET_QDMA) }, { ARG_STR(HDIO_SET_XFER) }, + { ARG_STR(HDIO_TRISTATE_HWIF) }, + { ARG_STR(HDIO_DRIVE_TASKFILE) }, + { ARG_STR(HDIO_DRIVE_TASK) }, + { ARG_STR(HDIO_SET_QDMA) }, +#ifdef MPERS_IS_m32 + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, { ARG_STR(HDIO_OBSOLETE_IDENTITY) }, { ARG_STR(HDIO_GET_KEEPSETTINGS) }, { ARG_STR(HDIO_GET_32BIT) }, @@ -98,10 +107,7 @@ { ARG_STR(HDIO_GET_ACOUSTIC) }, { ARG_STR(HDIO_GET_ADDRESS) }, { ARG_STR(HDIO_GET_BUSSTATE) }, - { ARG_STR(HDIO_TRISTATE_HWIF) }, { ARG_STR(HDIO_DRIVE_RESET) }, - { ARG_STR(HDIO_DRIVE_TASKFILE) }, - { ARG_STR(HDIO_DRIVE_TASK) }, { ARG_STR(HDIO_SET_MULTCOUNT) }, { ARG_STR(HDIO_SET_UNMASKINTR) }, { ARG_STR(HDIO_SET_KEEPSETTINGS) }, @@ -115,8 +121,8 @@ { ARG_STR(HDIO_SET_WCACHE) }, { ARG_STR(HDIO_SET_ACOUSTIC) }, { ARG_STR(HDIO_SET_BUSSTATE) }, - { ARG_STR(HDIO_SET_QDMA) }, { ARG_STR(HDIO_SET_ADDRESS) }, +#endif /* MPERS_IS_m32 */ }; for (size_t i = 0; i < ARRAY_SIZE(unsupp_cmds); i++) { @@ -220,6 +226,205 @@ } printf("}) = %s\n", errstr); +/* HDIO compat has never been supported by the kernel. */ +#ifndef MPERS_IS_m32 + + void *const efault = tail_alloc(1) + 1; + + /* HDIO_DRIVE_RESET */ + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), errstr); + do_ioctl_ptr(HDIO_DRIVE_RESET, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), efault, errstr); + do_ioctl(HDIO_DRIVE_RESET, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_DRIVE_RESET), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int drive_reset_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_DRIVE_RESET, &drive_reset_args); + + /* HDIO_SCAN_HWIF */ + printf("ioctl(-1, %s, NULL) = %s\n", XLAT_STR(HDIO_SCAN_HWIF), errstr); + do_ioctl_ptr(HDIO_SCAN_HWIF, 0); + + printf("ioctl(-1, %s, %p) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), efault, errstr); + do_ioctl(HDIO_SCAN_HWIF, (uintptr_t) efault); + + printf("ioctl(-1, %s, %#x, %#x, %#x) = %s\n", + XLAT_STR(HDIO_SCAN_HWIF), + (unsigned int) 0xdeadbeef, + (unsigned int) 0xAAAAAAAA, + (unsigned int) 0xbeefbeef, + errstr); + int scan_hwif_args3 = {0xdeadbeef, 0xAAAAAAAA, 0xbeefbeef}; + do_ioctl_ptr(HDIO_SCAN_HWIF, &scan_hwif_args); + + /* Getters of the form ioctl(..., ..., &val) */ + static const struct { + uint32_t cmd; + const char *str; + } getter_cmds = { + { ARG_STR(HDIO_GET_32BIT) }, + { ARG_STR(HDIO_GET_ACOUSTIC) }, + { ARG_STR(HDIO_GET_ADDRESS) }, + { ARG_STR(HDIO_GET_DMA) }, + { ARG_STR(HDIO_GET_KEEPSETTINGS) }, + { ARG_STR(HDIO_GET_MULTCOUNT) }, + { ARG_STR(HDIO_GET_NOWERR) }, + { ARG_STR(HDIO_GET_UNMASKINTR) }, + { ARG_STR(HDIO_GET_WCACHE) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(getter_cmds); i++) { + kernel_ulong_t val = (kernel_ulong_t) 0xfacefeeddeadbeefULL; + + rc = do_ioctl_ptr(getter_cmdsi.cmd, &val); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(getter_cmdsi.cmd, getter_cmdsi.str)); + if (rc >= 0) { + printf("%llu", (unsigned long long) val); + } else { + printf("%p", &val); + } + printf(") = %s\n", errstr); + } + + /* Setters of the form ioctl(..., ..., val) */ + static const struct { + uint32_t cmd; + const char *str; + } setter_cmds = { + { ARG_STR(HDIO_SET_32BIT) }, + { ARG_STR(HDIO_SET_ACOUSTIC) }, + { ARG_STR(HDIO_SET_ADDRESS) }, + { ARG_STR(HDIO_SET_DMA) }, + { ARG_STR(HDIO_SET_KEEPSETTINGS) }, + { ARG_STR(HDIO_SET_MULTCOUNT) }, + { ARG_STR(HDIO_SET_NOWERR) }, + { ARG_STR(HDIO_SET_PIO_MODE) }, + { ARG_STR(HDIO_SET_UNMASKINTR) }, + { ARG_STR(HDIO_SET_WCACHE) }, + { ARG_STR(HDIO_UNREGISTER_HWIF) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(setter_cmds); i++) { + unsigned long val = (unsigned long) 0xfacefeeddeadbeefULL; + + rc = do_ioctl(setter_cmdsi.cmd, val); + printf("ioctl(-1, " XLAT_FMT ", %llu) = %s\n", + XLAT_SEL(setter_cmdsi.cmd, setter_cmdsi.str), + (unsigned long long) val, errstr); + } + + /* HDIO_OBSOLETE_IDENTITY */ + do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_OBSOLETE_IDENTITY), errstr); + + char obsolete_identity142; + rc = do_ioctl_ptr(HDIO_OBSOLETE_IDENTITY, obsolete_identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_OBSOLETE_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(obsolete_identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", obsolete_identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_IDENTITY */ + do_ioctl_ptr(HDIO_GET_IDENTITY, NULL); + printf("ioctl(-1, %s, NULL) = %s\n", + XLAT_STR(HDIO_GET_IDENTITY), errstr); + + char identity512; + rc = do_ioctl_ptr(HDIO_GET_IDENTITY, identity); + + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_IDENTITY)); + + if (rc >= 0) { + print_quoted_memory(identity, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", identity); + } + printf(") = %s\n", errstr); + + /* HDIO_GET_NICE */ + kernel_ulong_t nice_val = (kernel_ulong_t) 0xfacefeedded1ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_NICE, &nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_NICE)); + if (rc >= 0) { + printf(""); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(""); + } else { + printf("%p", &nice_val); + } + printf(") = %s\n", errstr); + + /* HDIO_SET_NICE */ + nice_val = (unsigned long) 0xfacefeedded2ffffULL; + do_ioctl(HDIO_SET_NICE, nice_val); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_NICE)); +# if XLAT_RAW + printf("%#llx", (unsigned long long) nice_val); +# else +# if XLAT_VERBOSE + printf("%#llx /* ", (unsigned long long) nice_val); +# endif + printflags(hdio_ide_nice, nice_val, "IDE_NICE_???"); +# if XLAT_VERBOSE + printf(" */"); +# endif +# endif + printf(") = %s\n", errstr); + + /* HDIO_GET_BUSSTATE */ + kernel_ulong_t busstate_value = (kernel_ulong_t) 0xfacefeedded3ffffULL; + + rc = do_ioctl_ptr(HDIO_GET_BUSSTATE, &busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_GET_BUSSTATE)); + if (rc >= 0) { + printf(""); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(""); + } else { + printf("%p", &busstate_value); + } + printf(") = %s\n", errstr); + + + /* HDIO_SET_BUSSTATE */ + busstate_value = (unsigned long) 0xfacefeedded4ffffULL; + + do_ioctl(HDIO_SET_BUSSTATE, busstate_value); + printf("ioctl(-1, %s, ", XLAT_STR(HDIO_SET_BUSSTATE)); + printxval(hdio_busstates, busstate_value, "BUSSTATE_???"); + printf(") = %s\n", errstr); + +#endif /* !MPERS_IS_m32 */ + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xabbrev +ioctl.test -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xraw +ioctl.test -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-Xverbose +ioctl.test -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xabbrev.c
Added
@@ -0,0 +1,1 @@ +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xabbrev +ioctl-success.sh -a20 -Xabbrev); do not edit. +set -- -a20 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xraw +ioctl-success.sh -a18 -Xraw); do not edit. +set -- -a18 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-Xverbose +ioctl-success.sh -a20 -Xverbose); do not edit. +set -- -a20 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xabbrev +ioctl-success.sh -a20 -s1024 -Xabbrev); do not edit. +set -- -a20 -s1024 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xraw +ioctl-success.sh -a18 -s1024 -Xraw); do not edit. +set -- -a18 -s1024 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024-Xverbose +ioctl-success.sh -a20 -s1024 -Xverbose); do not edit. +set -- -a20 -s1024 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024.c
Added
@@ -0,0 +1,2 @@ +#define DEFAULT_STRLEN 1024 +#include "ioctl_kd-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success-s1024.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success-s1024 +ioctl-success.sh -a20 -s1024); do not edit. +set -- -a20 -s1024 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success.c
Added
@@ -0,0 +1,2 @@ +#define RETVAL_INJECTED 1 +#include "ioctl_kd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd-success +ioctl-success.sh -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd.c
Added
@@ -0,0 +1,1742 @@ +/* + * This file is part of ioctl_kd strace test. + * + * Copyright (c) 2019-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <errno.h> +#include <inttypes.h> +#include <limits.h> +#include <signal.h> +#include <stddef.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include "scno.h" + +#include <linux/ioctl.h> +#include <linux/kd.h> +#include <linux/keyboard.h> + +#ifndef RETVAL_INJECTED +# define RETVAL_INJECTED 0 +#endif + +#if RETVAL_INJECTED +# define RETVAL "42 (INJECTED)\n" +#else +# define RETVAL "-1 EBADF (%m)\n" +#endif + +#ifndef HAVE_STRUCT_KBDIACRUC +struct kbdiacruc { + unsigned int diacr, base, result; +}; +#endif + +#ifndef HAVE_STRUCT_KBDIACRSUC +struct kbdiacrsuc { + struct kbdiacruc kbdiacruc256; +} +#endif + +struct arg_val { + kernel_ulong_t val; + const char *str; +}; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + return syscall(__NR_ioctl, fd, cmd, arg); +} + +static void +check_null_invalid(unsigned int c, const char *s) +{ + static char *p; + + if (!p) + p = tail_alloc(1); + + sys_ioctl(-1, c, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, XLAT_SEL(c, s)); + + if (F8ILL_KULONG_SUPPORTED) { + sys_ioctl(-1, c, F8ILL_KULONG_MASK); + printf("ioctl(-1, " XLAT_FMT ", NULL) = " RETVAL, + XLAT_SEL(c, s)); + } + + sys_ioctl(-1, c, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, XLAT_SEL(c, s), p + 1); +} + +/* GIO_SCRNMAP, PIO_SCRNMAP */ +static void +check_scrnmap(unsigned int c, const char *s) +{ + char *scrnmap = tail_alloc(E_TABSZ); + + int saved_errno; + long rc; + + fill_memory_ex(scrnmap, E_TABSZ, 0, 0xff); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 31); + + sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), scrnmap + E_TABSZ - 32); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap + E_TABSZ - 33); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((rc >= 0 || c == PIO_SCRNMAP) && (DEFAULT_STRLEN <= 32)) { + print_quoted_hex(scrnmap + E_TABSZ - 33, 32); + printf("..."); + } else { + printf("%p", scrnmap + E_TABSZ - 33); + } + errno = saved_errno; + printf(") = " RETVAL); + + rc = sys_ioctl(-1, c, (uintptr_t) scrnmap); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (rc >= 0 || c == PIO_SCRNMAP) { + print_quoted_hex(scrnmap, MIN(E_TABSZ, DEFAULT_STRLEN)); + if (DEFAULT_STRLEN < E_TABSZ) + printf("..."); + } else { + printf("%p", scrnmap); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGKBENT, KDSKBENT */ +static void +check_kbdent(unsigned int c, const char *s) +{ + static const struct arg_val kbtbl_vecs = { + { ARG_XLAT_KNOWN(0, "K_NORMTAB") }, + { ARG_XLAT_KNOWN(0x1, "K_SHIFTTAB") }, + { ARG_XLAT_KNOWN(0x3, "K_ALTSHIFTTAB") }, + { ARG_XLAT_KNOWN(0x4, "1<<KG_CTRL") }, + { ARG_XLAT_KNOWN(0xff, + "1<<KG_SHIFT|1<<KG_ALTGR|1<<KG_CTRL" + "|1<<KG_ALT|1<<KG_SHIFTL|1<<KG_SHIFTR" + "|1<<KG_CTRLL|1<<KG_CTRLR") }, + }; + + static const struct arg_val kbval_vecs = { + { ARG_STR(0) NRAW(" /* K(KT_LATIN, '\\x00') */") }, + { ARG_STR(0x10) NRAW(" /* K(KT_LATIN, '\\x10') */") }, + { ARG_STR(0x20) NRAW(" /* K(KT_LATIN, ' ') */") }, + { ARG_STR(0x7e) NRAW(" /* K(KT_LATIN, '~') */") }, + { ARG_STR(0x7f) NRAW(" /* K(KT_LATIN, '\\x7f') */") }, + + { ARG_STR(0x100) NRAW(" /* K_F1 */") }, + { ARG_STR(0x11d) NRAW(" /* K_PAUSE */") }, + { ARG_STR(0x1ff) NRAW(" /* K_UNDO */") }, + + { ARG_STR(0x200) NRAW(" /* K_HOLE */") }, + { ARG_STR(0x213) NRAW(" /* K_BARENUMLOCK */") }, + { ARG_STR(0x214) NRAW(" /* K(KT_SPEC, 0x14) */") }, + { ARG_STR(0x27d) NRAW(" /* K(KT_SPEC, 0x7d) */") }, + { ARG_STR(0x27e) NRAW(" /* K_ALLOCATED */") }, + { ARG_STR(0x27f) NRAW(" /* K_NOSUCHMAP */") }, + { ARG_STR(0x280) NRAW(" /* K(KT_SPEC, 0x80) */") }, + { ARG_STR(0x2ff) NRAW(" /* K(KT_SPEC, 0xff) */") }, + + { ARG_STR(0x300) NRAW(" /* K_P0 */") }, + { ARG_STR(0x313) NRAW(" /* K_PPARENR */") }, + { ARG_STR(0x314) NRAW(" /* K(KT_PAD, 0x14) */") }, + { ARG_STR(0x37f) NRAW(" /* K(KT_PAD, 0x7f) */") }, + { ARG_STR(0x3ff) NRAW(" /* K(KT_PAD, 0xff) */") }, + + { ARG_STR(0x400) NRAW(" /* K_DGRAVE */") }, + { ARG_STR(0x41a) NRAW(" /* K_DGREEK */") }, + { ARG_STR(0x41b) NRAW(" /* K(KT_DEAD, 0x1b) */") }, + { ARG_STR(0x47f) NRAW(" /* K(KT_DEAD, 0x7f) */") }, + { ARG_STR(0x4ff) NRAW(" /* K(KT_DEAD, 0xff) */") }, + + { ARG_STR(0x500) NRAW(" /* K(KT_CONS, 0) */") }, + { ARG_STR(0x540) NRAW(" /* K(KT_CONS, 0x40) */") }, + { ARG_STR(0x5ff) NRAW(" /* K(KT_CONS, 0xff) */") }, + + { ARG_STR(0x600) NRAW(" /* K_DOWN */") }, + { ARG_STR(0x603) NRAW(" /* K_UP */") }, + { ARG_STR(0x604) NRAW(" /* K(KT_CUR, 0x4) */") }, + { ARG_STR(0x680) NRAW(" /* K(KT_CUR, 0x80) */") }, + { ARG_STR(0x6ff) NRAW(" /* K(KT_CUR, 0xff) */") }, + + { ARG_STR(0x700) NRAW(" /* K_SHIFT */") }, + { ARG_STR(0x708) NRAW(" /* K_CAPSSHIFT */") }, + { ARG_STR(0x709) NRAW(" /* K(KT_SHIFT, 0x9) */") }, + { ARG_STR(0x7ff) NRAW(" /* K(KT_SHIFT, 0xff) */") }, + + { ARG_STR(0x800) NRAW(" /* K(KT_META, '\\x00') */") }, + { ARG_STR(0x841) NRAW(" /* K(KT_META, 'A') */") }, + { ARG_STR(0x8ff) NRAW(" /* K(KT_META, '\\xff') */") }, + + { ARG_STR(0x900) NRAW(" /* K_ASC0 */") }, + { ARG_STR(0x909) NRAW(" /* K_ASC9 */") }, + { ARG_STR(0x90a) NRAW(" /* K_HEX0 */") }, + { ARG_STR(0x919) NRAW(" /* K_HEXf */") }, + { ARG_STR(0x91a) NRAW(" /* K(KT_ASCII, 0x1a) */") }, + { ARG_STR(0x9ff) NRAW(" /* K(KT_ASCII, 0xff) */") }, + + { ARG_STR(0xa00) NRAW(" /* K_SHIFTLOCK */") }, + { ARG_STR(0xa08) NRAW(" /* K_CAPSSHIFTLOCK */") }, + { ARG_STR(0xa09) NRAW(" /* K(KT_LOCK, 0x9) */") }, + { ARG_STR(0xaff) NRAW(" /* K(KT_LOCK, 0xff) */") }, + + { ARG_STR(0xb00) NRAW(" /* K(KT_LETTER, '\\x00') */") }, + { ARG_STR(0xb40) NRAW(" /* K(KT_LETTER, '@') */") }, + { ARG_STR(0xb7f) NRAW(" /* K(KT_LETTER, '\\x7f') */") }, + { ARG_STR(0xbff) NRAW(" /* K(KT_LETTER, '\\xff') */") }, + + { ARG_STR(0xc00) NRAW(" /* K_SHIFT_SLOCK */") }, + { ARG_STR(0xc08) NRAW(" /* K_CAPSSHIFT_SLOCK */") }, + { ARG_STR(0xc09) NRAW(" /* K(KT_SLOCK, 0x9) */") }, + { ARG_STR(0xcff) NRAW(" /* K(KT_SLOCK, 0xff) */") }, + + { ARG_STR(0xd00) NRAW(" /* K(KT_DEAD2, '\\x00') */") }, + { ARG_STR(0xd13) NRAW(" /* K(KT_DEAD2, '\\x13') */") }, + { ARG_STR(0xd5c) NRAW(" /* K(KT_DEAD2, '\\\\') */") }, + { ARG_STR(0xdff) NRAW(" /* K(KT_DEAD2, '\\xff') */") }, + + { ARG_STR(0xe00) NRAW(" /* K_BRL_BLANK */") }, + { ARG_STR(0xe0a) NRAW(" /* K_BRL_DOT10 */") }, + { ARG_STR(0xe0b) NRAW(" /* K(KT_BRL, 0xb) */") }, + { ARG_STR(0xeff) NRAW(" /* K(KT_BRL, 0xff) */") }, + + { ARG_STR(0xf00) NRAW(" /* K(0xf, 0) */") }, + { ARG_STR(0xfed) NRAW(" /* K(0xf, 0xed) */") }, + { ARG_STR(0xf00d) NRAW(" /* K(0xf0, 0xd) */") }, + }; + + struct kbentry *kbe = tail_alloc(sizeof(*kbe)); + + int saved_errno; + long rc; + + check_null_invalid(c, s); + + kbe->kb_value = 0xa8a8; + sys_ioctl(-1, c, (uintptr_t) kbe + 2); + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=168%s}" + ") = " RETVAL, + XLAT_SEL(c, s), XLAT_STR(1<<KG_ALT|1<<KG_SHIFTR|1<<KG_CTRLR), + RETVAL_INJECTED || c == KDSKBENT ? ", kb_value=???" : "" + ); + + for (size_t i = 0; + i < MAX(ARRAY_SIZE(kbtbl_vecs), ARRAY_SIZE(kbval_vecs)); i++) { + kbe->kb_table = kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).val; + kbe->kb_index = i * 3141; + kbe->kb_value = kbval_vecsi % ARRAY_SIZE(kbval_vecs).val; + + rc = sys_ioctl(-1, c, (uintptr_t) kbe); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_table=%s, kb_index=%u", + XLAT_SEL(c, s), + kbtbl_vecsi % ARRAY_SIZE(kbtbl_vecs).str, + kbe->kb_index); + if (rc >= 0 || c == KDSKBENT) { + printf(", kb_value=%s", + kbval_vecsi % ARRAY_SIZE(kbval_vecs).str); + } + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBSENT, KDSKBSENT */ +static void +check_kbdsent(unsigned int c, const char *s) +{ + static struct arg_val kbse_offsets = { + { sizeof(struct kbsentry) - 1, "KVAL(K_F2)" }, + { sizeof(struct kbsentry) - 2, "KVAL(K_F1)" }, + { sizeof(struct kbsentry) - 34, "KVAL(K_F214)" }, + { sizeof(struct kbsentry) - 35, "KVAL(K_F213)" }, + { 1, "KVAL(K_F1)" }, + { 0, "KVAL(K_F245)" }, + }; + + static const struct arg_val kbfn_vecs = { + { ARG_XLAT_KNOWN(0, "KVAL(K_F1)") }, + { ARG_XLAT_KNOWN(0x10, "KVAL(K_F17)") }, + { ARG_XLAT_KNOWN(0x7f, "KVAL(K_F118)") }, + { ARG_XLAT_KNOWN(0xff, "KVAL(K_UNDO)") }, + }; + + struct kbsentry *kbse = tail_alloc(sizeof(*kbse)); + + int saved_errno; + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0, 0xff); + kbse->kb_func = 0xfe; + + check_null_invalid(c, s); + + for (size_t i = 0; i < ARRAY_SIZE(kbse_offsets); i++) { + sys_ioctl(-1, c, + (uintptr_t) kbse + kbse_offsetsi.val); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + sprintxlat(kbse_offsetsi.str, + (kbse_offsetsi.val + 254) % 0xff, NULL)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + if (kbse_offsetsi.val < 255 * 2) { + print_quoted_stringn( + (char *) kbse->kb_string + + kbse_offsetsi.val, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } else { + printf("???"); + } + } + + errno = saved_errno; + printf("}) = " RETVAL); + } + + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), 0x80, 0x7f); + kbse->kb_func = KVAL(K_PGDN); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=" + XLAT_KNOWN(0x19, "KVAL(K_PGDN)"), + XLAT_SEL(c, s)); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(kbfn_vecs); i++) { + kbse->kb_func = kbfn_vecsi.val; + fill_memory_ex(kbse->kb_string, sizeof(kbse->kb_string), + i * 357 + 42, i * 257 + 13); + + sys_ioctl(-1, c, (uintptr_t) kbse); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", {kb_func=%s", + XLAT_SEL(c, s), + kbfn_vecsi.str); + + if (RETVAL_INJECTED || c == KDSKBSENT) { + printf(", kb_string="); + print_quoted_stringn((char *) kbse->kb_string, + MIN(DEFAULT_STRLEN, + sizeof(kbse->kb_string))); + } + + errno = saved_errno; + printf("}) = " RETVAL); + } +} + +/* KDGKBDIACR, KDSKBDIACR */ +static void +check_diacr(unsigned int c, const char *s) +{ + static struct arg_val diac_vecs = { + { 0, "\\x00" }, + { '\n', "\\n" }, + { ' ', " " }, + { 'a', "a" }, + { '~', "~" }, + { '\'', "\\'" }, + { '\\', "\\\\" }, + { '"', "\"" }, + { '`', "`" }, + { 0x7f, "\\x7f" }, + { 0xff, "\\xff" }, + }; + + struct kbdiacrs *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrs *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacr)); + struct kbdiacrs *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + if (i) + printf("%p}", diacrs0->kbdiacr); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs1->kbdiacr, 4 * sizeof(struct kbdiacr), 40, 44); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", (int) (40 + j * 3), + (int) (41 + j * 3), (int) (42 + j * 3)); + + if (i > 4) + printf(", ... /* %p */", diacrs1->kbdiacr + 4); + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory_ex(diacrs2->kbdiacr, sizeof(diacrs2->kbdiacr), 40, 52); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacr) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacr) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", i); + for (size_t j = 0; + j < MIN(i, MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))); j++) + printf("%s{diacr='%c', base='%c', result='%c'}", + j ? ", " : "", + (int) (40 + (j * 3 + 0) % 52), + (int) (40 + (j * 3 + 1) % 52), + (int) (40 + (j * 3 + 2) % 52)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacr))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + for (size_t i = 0; i< ARRAY_SIZE(diac_vecs); i++) { + diacrs2->kbdiacri.diacr = diac_vecsi.val; + diacrs2->kbdiacri.base = diac_vecsi.val; + diacrs2->kbdiacri.result = diac_vecsi.val; + } + diacrs2->kb_cnt = ARRAY_SIZE(diac_vecs); + + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACR) { + printf("{kb_cnt=%zu, kbdiacr=", ARRAY_SIZE(diac_vecs)); + for (size_t i = 0; i < ARRAY_SIZE(diac_vecs); i++) + printf("%1$s{diacr='%2$s', base='%2$s', result='%2$s'}", + i ? ", " : "", diac_vecsi.str); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); +} + +/* KDGETKEYCODE, KDSETKEYCODE */ +static void +check_xetkeycode(unsigned int c, const char *s) +{ + static const struct kbkeycode args = { + { 0, 0 }, + { 0, 0xdeadface }, + { 0xfacefeed, 0 }, + { 0xdecaffed, 0xdadfaced }, + }; + struct kbkeycode *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT ", {scancode=%#x, keycode=%#x", + XLAT_SEL(c, s), argsi.scancode, argsi.keycode); + if ((c == KDGETKEYCODE) && RETVAL_INJECTED) + printf(" => %#x", argsi.keycode); + printf("}) = " RETVAL); + } +} + +/* KDKBDREP */ +static void +check_kbdrep(unsigned int c, const char *s) +{ + static const struct kbd_repeat args = { + { -1, -1 }, + { -1234567890, 0 }, + { 0, -2134567890 }, + { 314159265, 271828182 }, + }; + struct kbd_repeat *tail_arg = tail_alloc(sizeof(args0)); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) tail_arg + 4); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), (char *) tail_arg + 4); + + for (size_t i = 0; i < ARRAY_SIZE(args); i++) { + memcpy(tail_arg, args + i, sizeof(argsi)); + + sys_ioctl(-1, c, (uintptr_t) tail_arg); + printf("ioctl(-1, " XLAT_FMT, XLAT_SEL(c, s)); + for (size_t j = 0; j < 1 + RETVAL_INJECTED; j++) { + printf("%s {delay=%d, period=%d}", + j ? " =>" : ",", argsi.delay, argsi.period); + } + printf(") = " RETVAL); + } +} + +/* GIO_FONT, PIO_FONT */ +static void +check_font(unsigned int c, const char *s) +{ + char *data = tail_alloc(8192); + char *data_end = data + 8192; + + fill_memory(data, 8192); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) data_end - 31); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 31); + + sys_ioctl(-1, c, (uintptr_t) data_end - 32); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_SEL(c, s), data_end - 32); + + bool ok = (DEFAULT_STRLEN == 32) + && ((c != GIO_FONT) || RETVAL_INJECTED); + sys_ioctl(-1, c, (uintptr_t) data_end - 33); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 33; i < 8192 - 1; i++) + printf("\\x%hhx", (unsigned char) ( 0x80 + i % 0x80)); + } else { + printf("%p", data_end - 33); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + ok = (c != GIO_FONT) || RETVAL_INJECTED; + sys_ioctl(-1, c, (uintptr_t) data_end - 1025); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 8192 - 1025; i < 8192 - 1025 + DEFAULT_STRLEN; + i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data_end - 1025); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); + + sys_ioctl(-1, c, (uintptr_t) data); + printf("ioctl(-1, " XLAT_FMT ", %s", XLAT_SEL(c, s), ok ? "\"" : ""); + if (ok) { + for (size_t i = 0; i < DEFAULT_STRLEN; i++) + printf("\\x%hhx", (unsigned char) (0x80 + i % 0x80)); + } else { + printf("%p", data); + } + printf("%s) = " RETVAL, ok ? "\"..." : ""); +} + +/* GIO_UNIMAP, PIO_UNIMAP */ +static void +check_unimap(unsigned int c, const char *s) +{ + struct unimapdesc *umd = tail_alloc(sizeof(*umd)); + struct unipair *ups = tail_alloc(33 * sizeof(*ups)); + + fill_memory16(ups, 33 * sizeof(*ups)); + ups0.unicode = 0; + ups0.fontpos = 0; + + check_null_invalid(c, s); + + umd->entry_ct = 0xdead; + umd->entries = NULL; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=57005%s, entries=NULL}) = " + RETVAL, XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 57005" : ""); + + umd->entry_ct = 0; + umd->entries = ups + 33; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=0%s, entries=", + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 0" : ""); + if (c == GIO_UNIMAP && !RETVAL_INJECTED) + printf("%p", ups + 33); + else + printf(""); + printf("}) = " RETVAL); + + umd->entry_ct = 1; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=1%s, entries=%p}) = " RETVAL, + XLAT_SEL(c, s), c == GIO_UNIMAP ? " => 1" : "", ups + 33); + + for (unsigned int i = 0; i < 6; i++) { + umd->entry_ct = 31 + (i + 1) / 2; + umd->entries = ups + 2 - i / 2; + sys_ioctl(-1, c, (uintptr_t) umd); + printf("ioctl(-1, " XLAT_FMT ", {entry_ct=%u", + XLAT_SEL(c, s), 31 + (i + 1) / 2); + + if (c == GIO_UNIMAP) { + printf(" => %u", 31 + (i + 1) / 2); +#if !RETVAL_INJECTED + printf(", entries=%p}) = " RETVAL, ups + 2 - i / 2); + continue; +#endif + } + + printf(", entries=%s", i > 3 ? "{unicode=0, fontpos=0}" : ""); + + for (unsigned int j = 0; j < 31 +#if DEFAULT_STRLEN > 32 + + MIN(i / 2, 1) +#else + + ((i / 2) == 1) +#endif + ; j++) { + printf("%s{unicode=%#x, fontpos=%#x}", + j == 0 && i < 4 ? "" : ", ", + 0x80c4 + 2 * (j - MIN(i / 2, 1)), + 0x80c5 + 2 * (j - MIN(i / 2, 1))); + } + if (i == 1 || i == 3 || ((DEFAULT_STRLEN > 32) && (i == 5))) + printf(", ... /* %p */", ups + 33); +#if DEFAULT_STRLEN == 32 + if (i > 3) + printf(", ..."); +#endif + printf("}) = " RETVAL); + } +} + +/* GIO_UNISCRNMAP, PIO_UNISCRNMAP */ +static void +check_uniscrnmap(unsigned int c, const char *s) +{ + uint16_t *map = tail_alloc(256 * sizeof(*map)); + for (unsigned int i = 0; i < 256; i++) + mapi = 0xeff1 + 32 * (i % 112) - i / 8; + + check_null_invalid(c, s); + + for (unsigned int i = 0; i < 3; i++) { + sys_ioctl(-1, c, (uintptr_t) (map + 224 - 112 * i)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + + if (c == GIO_UNISCRNMAP && !RETVAL_INJECTED) { + printf("%p) = " RETVAL, map + 224 - 112 * i); + continue; + } + + for (size_t j = 0; + j < MIN(32 + 112 * i, DEFAULT_STRLEN); j++) { + uint16_t v = 0xefd5 + 32 * (j % 112) - j / 8 + i * 14; + if ((j % 112) < (2 - (i + 1 - j / 112) / 2) + || (j % 112) > (17 - (i + 1 - j / 112) / 2)) { + printf("%s%#hx", j ? ", " : "", v); + } else { + printf(", " + XLAT_KNOWN_FMT("%#hx", + "UNI_DIRECT_BASE+%#hx"), + XLAT_SEL(v, (uint16_t) (v - 0xf000))); + } + } + + if (DEFAULT_STRLEN == 32 || i < 2) { + printf(", ..."); + if (DEFAULT_STRLEN >= 32 + 112 * i) + printf(" /* %p */", map + 256); + } + + printf(") = " RETVAL); + } +} + +/* GIO_FONTX, PIO_FONTX */ +static void +check_fontx(unsigned int c, const char *s) +{ + static const short cnts = { 1, 32, 256 }; + struct consolefontdesc *cfd = tail_alloc(sizeof(*cfd)); + char *data = tail_alloc(2048); + char *data_end = data + 2048; + + fill_memory_ex(data, 2048, 0xf0, 255); + + check_null_invalid(c, s); + + cfd->charcount = 0; + cfd->charheight = 0xdead; + cfd->chardata = NULL; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=NULL}%s) = " RETVAL, + XLAT_SEL(c, s), RETVAL_INJECTED && (c == GIO_FONTX) + ? " => {charcount=0, charheight=57005, chardata=NULL}" : ""); + + cfd->chardata = data_end; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data_end); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + cfd->chardata = data; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=0, charheight=57005, chardata=%p}", + XLAT_SEL(c, s), data); +#if RETVAL_INJECTED + if (c == GIO_FONTX) + printf(" => {charcount=0, charheight=57005, chardata=\"\"}"); +#endif + printf(") = " RETVAL); + + for (size_t i = 0; i < ARRAY_SIZE(cnts); i++) { + char *p = data_end - MIN(2048, cntsi * 32); + cfd->charcount = cntsi; + + cfd->chardata = p + 1; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX && cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + if (cntsi * 32 > DEFAULT_STRLEN) { + print_quoted_hex(p + 1, DEFAULT_STRLEN); + printf("...}"); + } else { + printf("%p}", p + 1); + } + } +#endif + printf(") = " RETVAL); + + cfd->chardata = p; + sys_ioctl(-1, c, (uintptr_t) cfd); + printf("ioctl(-1, " XLAT_FMT + ", {charcount=%u, charheight=57005, chardata=", + XLAT_SEL(c, s), cntsi); + if (c == PIO_FONTX) { + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + } else { + printf("%p", p); + } + printf("}"); +#if RETVAL_INJECTED + if (c == GIO_FONTX) { + printf(" => {charcount=%u, charheight=57005, chardata=", + cntsi); + print_quoted_hex(p, MIN(DEFAULT_STRLEN, cntsi * 32)); + if (cntsi * 32 > DEFAULT_STRLEN) + printf("..."); + printf("}"); + } +#endif + printf(") = " RETVAL); + } +} + +/* GIO_CMAP, PIO_CMAP */ +static void +check_cmap(unsigned int c, const char *s) +{ + char *cmap = tail_alloc(48); + + fill_memory(cmap, 48); + + check_null_invalid(c, s); + + sys_ioctl(-1, c, (uintptr_t) (cmap + 1)); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if ((c == PIO_CMAP || RETVAL_INJECTED) && (DEFAULT_STRLEN == 32)) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x81 + i); + printf("\"..."); + } else { + printf("%p", cmap + 1); + } + printf(") = " RETVAL); + + sys_ioctl(-1, c, (uintptr_t) cmap); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (c == PIO_CMAP || RETVAL_INJECTED) { + printf("\""); + for (unsigned int i = 0; i < MIN(DEFAULT_STRLEN, 48); i++) + printf("\\x%x", 0x80 + i); +#if DEFAULT_STRLEN == 32 + printf("\"..."); +#else + printf("\""); +#endif + } else { + printf("%p", cmap); + } + printf(") = " RETVAL); +} + +/* KDGKBDIACRUC, KDSKBDIACRUC */ +static void +check_diacruc(unsigned int c, const char *s) +{ + struct kbdiacrsuc *diacrs0 = tail_alloc(sizeof(diacrs0->kb_cnt)); + struct kbdiacrsuc *diacrs1 = tail_alloc(sizeof(diacrs1->kb_cnt) + + 4 * sizeof(struct kbdiacruc)); + struct kbdiacrsuc *diacrs2 = tail_alloc(sizeof(*diacrs2)); + + int saved_errno; + + check_null_invalid(c, s); + + for (size_t i = 0; i < 2; i++) { + diacrs0->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs0); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + if (i) + printf("%p}", diacrs0->kbdiacruc); + else + printf("}"); + } else { + printf("%p", diacrs0); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs1->kbdiacruc, 4 * sizeof(struct kbdiacruc)); + for (size_t i = 0; i < 7; i++) { + diacrs1->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs1); + saved_errno = errno; + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; j < MIN(i, 4); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > 4) { + printf(", ... /* %p */", + diacrs1->kbdiacruc + 4); + } + printf("}"); + } else { + printf("%p", diacrs1); + } + errno = saved_errno; + printf(") = " RETVAL); + } + + fill_memory32(diacrs2->kbdiacruc, sizeof(diacrs2->kbdiacruc)); + + for (size_t i = ARRAY_SIZE(diacrs2->kbdiacruc) - 1; + i < ARRAY_SIZE(diacrs2->kbdiacruc) + 3; i++) { + diacrs2->kb_cnt = i; + sys_ioctl(-1, c, (uintptr_t) diacrs2); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c, s)); + saved_errno = errno; + if (RETVAL_INJECTED || c == KDSKBDIACRUC) { + printf("{kb_cnt=%zu, kbdiacruc=", i); + for (size_t j = 0; + j < MIN(i, MIN(ARRAY_SIZE(diacrs2->kbdiacruc), + DEFAULT_STRLEN)); j++) + printf("%s{diacr=%#x, base=%#x, result=%#x}", + j ? ", " : "", + (unsigned int) (0x80a0c0e0 + j * 3), + (unsigned int) (0x80a0c0e1 + j * 3), + (unsigned int) (0x80a0c0e2 + j * 3)); + + if (i > MIN(DEFAULT_STRLEN, + ARRAY_SIZE(diacrs2->kbdiacruc))) + printf(", ..."); + printf("}"); + } else { + printf("%p", diacrs2); + } + errno = saved_errno; + printf(") = " RETVAL); + } +} + +int +main(int argc, char *argv) +{ + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + + static const uint32_t unknown_ioctls = { + 0xfffffff1, 0xc0007fff, 0xfffb800c, 0xfff8c000, + 0xffffffff, 0xffffffff, 0xffffffff, 0xf3ffffff, + }; + + enum { MAP_ELEM_BIT = sizeof(unknown_ioctls0) * CHAR_BIT }; + + long rc; + +#if RETVAL_INJECTED + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, KDGETLED, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS(KDGETLED), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on ioctl(-1" + ", KDGETLED, NULL) returning 42"); +#endif + + for (size_t i = 0; i < ARRAY_SIZE(unknown_ioctls); i++) { + for (size_t j = 0; j < MAP_ELEM_BIT; j++) { + if (!((unknown_ioctlsi >> j) & 1)) + continue; + + const unsigned int id = i * MAP_ELEM_BIT + j; + + sys_ioctl(-1, 'K' << 8 | id, magic); + printf("ioctl(-1, " + NABBR("%#x") VERB(" /* ") + NRAW("_IOC(%s, 0x4b, %#x, 0)") VERB(" */") + ", %#lx) = " RETVAL, +#if XLAT_RAW || XLAT_VERBOSE + 'K' << 8 | id, +#endif +#if !XLAT_RAW + _IOC_NONE ? "0" : "_IOC_NONE", id, +#endif + (unsigned long) magic); + } + } + + + /* KIOCSOUND */ + sys_ioctl(-1, KIOCSOUND, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1); + printf("ioctl(-1, " XLAT_FMT ", 1" NRAW(" /* 1193182 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* 2711 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193182); + printf("ioctl(-1, " XLAT_FMT ", 1193182" NRAW(" /* 1 Hz */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, 1193183); + printf("ioctl(-1, " XLAT_FMT ", 1193183" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 2710)); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 4 + ", 2710" NRAW(" /* 440 Hz */") +#else + ", 13464652297489353366" NRAW(" /* off */") +#endif + ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + sys_ioctl(-1, KIOCSOUND, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT +#if SIZEOF_LONG == 8 + ", 13464652301225294542" +#else + ", 3735943886" +#endif + NRAW(" /* off */") ") = " RETVAL, XLAT_ARGS(KIOCSOUND)); + + /* KDMKTONE */ + sys_ioctl(-1, KDMKTONE, 0); + printf("ioctl(-1, " XLAT_FMT ", 0" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 440); + printf("ioctl(-1, " XLAT_FMT ", 440" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0xffff); + printf("ioctl(-1, " XLAT_FMT ", 65535" NRAW(" /* off */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x10000); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|0" NRAW(" /* off */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, + (kernel_ulong_t) (0xbadc0ded00000000ULL | 0x10001)); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|1" NRAW(" /* 1193182 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, 0x1ffff); + printf("ioctl(-1, " XLAT_FMT ", 1<<16|65535" NRAW(" /* 18 Hz, 1 ms */") + ") = " RETVAL, XLAT_ARGS(KDMKTONE)); + + sys_ioctl(-1, KDMKTONE, (kernel_ulong_t) 0xbadc0deddeadfaceULL); + printf("ioctl(-1, " XLAT_FMT ", 57005<<16|64206" + NRAW(" /* 18 Hz, 57005 ms */") ") = " RETVAL, + XLAT_ARGS(KDMKTONE)); + + + /* KDGETLED */ + static const struct arg_val led_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|0xf8") }, + { (kernel_ulong_t) 0xbadc0dedfeedfaf0ULL, + XLAT_UNKNOWN(0xf0, "LED_???") }, + }; + + unsigned char *leds = tail_alloc(sizeof(*leds)); + + check_null_invalid(ARG_STR(KDGETLED)); + + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + *leds = led_vecsi.val; + rc = sys_ioctl(-1, KDGETLED, (uintptr_t) leds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETLED), led_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETLED), leds); + } + } + + + /* KDSETLED */ + for (size_t i = 0; i < ARRAY_SIZE(led_vecs); i++) { + sys_ioctl(-1, KDSETLED, led_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), led_vecsi.str); + } + + sys_ioctl(-1, KDSETLED, (kernel_ulong_t) 0xdeadc0defeedfaceULL); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETLED), XLAT_STR(LED_NUM|LED_CAP|0xc8)); + + + /* KDGKBTYPE */ + static const struct arg_val kbt_vecs = { + { ARG_XLAT_UNKNOWN(0, "KB_???") }, + { ARG_XLAT_KNOWN(0x1, "KB_84") }, + { ARG_XLAT_KNOWN(0x2, "KB_101") }, + { ARG_XLAT_KNOWN(0x3, "KB_OTHER") }, + { ARG_XLAT_UNKNOWN(0x4, "KB_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + XLAT_UNKNOWN(0xfe, "KB_???") }, + }; + + unsigned char *kbt = tail_alloc(sizeof(*kbt)); + + check_null_invalid(ARG_STR(KDGKBTYPE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbt_vecs); i++) { + *kbt = kbt_vecsi.val; + rc = sys_ioctl(-1, KDGKBTYPE, (uintptr_t) kbt); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBTYPE), kbt); + } + } + + + /* KDADDIO */ + static const struct arg_val iop_vecs = { + { ARG_STR(0) }, + { ARG_STR(0x3b3) }, + { ARG_STR(0x3b4) NRAW(" /* GPFIRST + 0 */") }, + { ARG_STR(0x3c0) NRAW(" /* GPFIRST + 12 */") }, + { ARG_STR(0x3df) NRAW(" /* GPFIRST + 43 */") }, + { ARG_STR(0x3e0) }, + { ARG_STR(0xdeadc0de) }, + { (kernel_ulong_t) 0xbadc0dedfacefeedULL, +#if SIZEOF_LONG > 4 + "0xbadc0dedfacefeed" +#else + "0xfacefeed" +#endif + }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDADDIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDADDIO), iop_vecsi.str); + } + + + /* KDDELIO */ + for (size_t i = 0; i < ARRAY_SIZE(iop_vecs); i++) { + sys_ioctl(-1, KDDELIO, iop_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDDELIO), iop_vecsi.str); + } + + + /* KDENABIO */ + sys_ioctl(-1, KDENABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDENABIO)); + + + /* KDDISABIO */ + sys_ioctl(-1, KDDISABIO, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDDISABIO)); + + + /* KDSETMODE */ + static const struct arg_val mode_vecs = { + { ARG_XLAT_KNOWN(0, "KD_TEXT") }, + { ARG_XLAT_KNOWN(0x1, "KD_GRAPHICS") }, + { ARG_XLAT_KNOWN(0x3, "KD_TEXT1") }, + { ARG_XLAT_UNKNOWN(0x4, "KD_???") }, + { (kernel_ulong_t) 0xbadc0dedcacafefeULL, + "0xcacafefe" NRAW(" /* KD_??? */") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + sys_ioctl(-1, KDSETMODE, mode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSETMODE), mode_vecsi.str); + } + + + /* KDGETMODE */ + unsigned int *mode = tail_alloc(sizeof(*mode)); + + check_null_invalid(ARG_STR(KDGETMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(mode_vecs); i++) { + *mode = mode_vecsi.val; + rc = sys_ioctl(-1, KDGETMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGETMODE), mode); + } + } + + + /* KDMAPDISP */ + sys_ioctl(-1, KDMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDMAPDISP)); + + + /* KDUNMAPDISP */ + sys_ioctl(-1, KDUNMAPDISP, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(KDUNMAPDISP)); + + + /* GIO_SCRNMAP */ + check_scrnmap(ARG_STR(GIO_SCRNMAP)); + + + /* PIO_SCRNMAP */ + check_scrnmap(ARG_STR(PIO_SCRNMAP)); + + + /* KDGKBMODE */ + static const struct arg_val kbmode_vecs = { + { ARG_XLAT_UNKNOWN(-1, "K_???") }, + { ARG_XLAT_KNOWN(0, "K_RAW") }, + { ARG_XLAT_KNOWN(1, "K_XLATE") }, + { ARG_XLAT_KNOWN(4, "K_OFF") }, + { ARG_XLAT_UNKNOWN(5, "K_???") }, + { (kernel_ulong_t) 0xbadc0dedfeeddeadULL, + XLAT_UNKNOWN(-17965395, "K_???") }, + }; + + check_null_invalid(ARG_STR(KDGKBMODE)); + + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + *mode = kbmode_vecsi.val; + rc = sys_ioctl(-1, KDGKBMODE, (uintptr_t) mode); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBMODE), kbmode_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBMODE), mode); + } + } + + + /* KDSKBMODE */ + for (size_t i = 0; i < ARRAY_SIZE(kbmode_vecs); i++) { + sys_ioctl(-1, KDSKBMODE, kbmode_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMODE), kbmode_vecsi.str); + } + + + /* KDGKBENT */ + check_kbdent(ARG_STR(KDGKBENT)); + + + /* KDSKBENT */ + check_kbdent(ARG_STR(KDSKBENT)); + + + /* KDGKBSENT */ + check_kbdsent(ARG_STR(KDGKBSENT)); + + + /* KDSKBSENT */ + check_kbdsent(ARG_STR(KDSKBSENT)); + + + /* KDGKBDIACR */ + check_diacr(ARG_STR(KDGKBDIACR)); + + + /* KDSKBDIACR */ + check_diacr(ARG_STR(KDSKBDIACR)); + + + /* KDGETKEYCODE */ + check_xetkeycode(ARG_STR(KDGETKEYCODE)); + + + /* KDSETKEYCODE */ + check_xetkeycode(ARG_STR(KDSETKEYCODE)); + + + /* KDSIGACCEPT */ + static const struct { + kernel_ulong_t val; + const char *str; + } sigaccept_vecs = { + { (kernel_ulong_t) -1ULL, + SIZEOF_LONG == 8 ? "18446744073709551615" : "4294967295" }, + { 0, "0" }, + { ARG_XLAT_KNOWN(SIGHUP, "SIGHUP") }, + { ARG_XLAT_KNOWN(SIGUSR1, "SIGUSR1") }, + { ARG_XLAT_KNOWN(32, "SIGRTMIN") }, + { ARG_XLAT_KNOWN(33, "SIGRT_1") }, + { ARG_STR(128) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sigaccept_vecs); i++) { + sys_ioctl(-1, KDSIGACCEPT, sigaccept_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSIGACCEPT), sigaccept_vecsi.str); + } + + + /* KDKBDREP */ + check_kbdrep(ARG_STR(KDKBDREP)); + + + /* GIO_FONT */ + check_font(ARG_STR(GIO_FONT)); + + + /* PIO_FONT */ + check_font(ARG_STR(PIO_FONT)); + + + /* KDGKBMETA */ + static const struct { + kernel_ulong_t arg; + const char *str; + } meta_vecs = { + { ARG_XLAT_UNKNOWN(0, "K_???") }, + { ARG_XLAT_UNKNOWN(0x1, "K_???") }, + { ARG_XLAT_UNKNOWN(0x2, "K_???") }, + { ARG_XLAT_KNOWN(0x3, "K_METABIT") }, + { ARG_XLAT_KNOWN(0x4, "K_ESCPREFIX") }, + { ARG_XLAT_UNKNOWN(0x5, "K_???") }, + { (kernel_ulong_t) 0xdeadfacebeeffeedULL, + "0xbeeffeed" NRAW(" /* K_??? */") }, + }; + int *meta = tail_alloc(sizeof(*meta)); + + check_null_invalid(ARG_STR(KDGKBMETA)); + + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + *meta = meta_vecsi.arg; + sys_ioctl(-1, KDGKBMETA, (uintptr_t) meta); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_ARGS(KDGKBMETA)); +#if RETVAL_INJECTED + printf("%s", meta_vecsi.str); +#else + printf("%p", meta); +#endif + printf(") = " RETVAL); + } + + + /* KDSKBMETA */ + for (size_t i = 0; i < ARRAY_SIZE(meta_vecs); i++) { + sys_ioctl(-1, KDSKBMETA, meta_vecsi.arg); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBMETA), meta_vecsi.str); + } + + + /* KDGKBLED */ + static const struct arg_val kbled_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "LED_SCR") }, + { ARG_XLAT_KNOWN(0x7, "LED_SCR|LED_NUM|LED_CAP") }, + { ARG_XLAT_KNOWN(0x10, "LED_SCR<<4") }, + { ARG_XLAT_KNOWN(0x70, "LED_SCR<<4|LED_NUM<<4|LED_CAP<<4") }, + { ARG_XLAT_KNOWN(0xfe, "LED_NUM|LED_CAP|LED_SCR<<4|LED_NUM<<4" + "|LED_CAP<<4|0x88") }, + { (kernel_ulong_t) 0xbadc0dedfeedfa88ULL, + XLAT_UNKNOWN(0x88, "LED_???") }, + }; + + unsigned char *kbleds = tail_alloc(sizeof(*kbleds)); + + check_null_invalid(ARG_STR(KDGKBLED)); + + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + *kbleds = kbled_vecsi.val; + rc = sys_ioctl(-1, KDGKBLED, (uintptr_t) kbleds); + if (rc >= 0) { + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbled_vecsi.str); + } else { + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(KDGKBLED), kbleds); + } + } + + + /* KDSKBLED */ + for (size_t i = 0; i < ARRAY_SIZE(kbled_vecs); i++) { + sys_ioctl(-1, KDSKBLED, kbled_vecsi.val); + printf("ioctl(-1, " XLAT_FMT ", %s) = " RETVAL, + XLAT_ARGS(KDSKBLED), kbled_vecsi.str); + } + + + /* GIO_UNIMAP */ + check_unimap(ARG_STR(GIO_UNIMAP)); + + + /* PIO_UNIMAP */ + check_unimap(ARG_STR(PIO_UNIMAP)); + + + /* PIO_UNIMAPCLR */ + struct unimapinit *umi = tail_alloc(sizeof(*umi)); + + check_null_invalid(ARG_STR(PIO_UNIMAPCLR)); + + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi + 2); + printf("ioctl(-1, " XLAT_FMT ", %p) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR), (char *) umi + 2); + + memset(umi, 0, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=0" + ", advised_hashstep=0, advised_hashlevel=0}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + fill_memory16(umi, sizeof(*umi)); + sys_ioctl(-1, PIO_UNIMAPCLR, (uintptr_t) umi); + printf("ioctl(-1, " XLAT_FMT ", {advised_hashsize=32960" + ", advised_hashstep=32961, advised_hashlevel=32962}) = " RETVAL, + XLAT_ARGS(PIO_UNIMAPCLR)); + + + /* GIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(GIO_UNISCRNMAP)); + + + /* PIO_UNISCRNMAP */ + check_uniscrnmap(ARG_STR(PIO_UNISCRNMAP)); + + + /* GIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTX */ + check_fontx(ARG_STR(GIO_FONTX)); + + + /* PIO_FONTRESET */ + sys_ioctl(-1, PIO_FONTRESET, (kernel_ulong_t) 0xbadc0deddeadface); + printf("ioctl(-1, " XLAT_FMT ") = " RETVAL, XLAT_ARGS(PIO_FONTRESET)); + + + /* GIO_CMAP */ + check_cmap(ARG_STR(GIO_CMAP)); + + + /* PIO_CMAP */ + check_cmap(ARG_STR(PIO_CMAP)); + + + /* KDFONTOP */ + struct console_font_op *cfo = tail_alloc(sizeof(*cfo)); + unsigned char *cfo_data = tail_alloc(2048); + unsigned char *cfo_data_end = cfo_data + 2048; + + fill_memory(cfo_data, 2048); + + check_null_invalid(ARG_STR(KDFONTOP)); + + cfo->op = 4; + cfo->flags = 0xdeadbeef; + cfo->width = 0xbadc0ded; + cfo->height = 0xfacecafe; + cfo->charcount = 0xdadfaded; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0x4" NRAW(" /* KD_FONT_OP_??? */") + ", flags=" XLAT_KNOWN(0xdeadbeef, "KD_FONT_FLAG_DONT_RECALC" + "|KD_FONT_FLAG_OLD|0x5eadbeee") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=NULL}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP)); + + cfo->op = 0xbeefface; + cfo->flags = 0x5a1ecafe;; + cfo->data = (unsigned char *) cfo; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=0xbeefface" + NRAW(" /* KD_FONT_OP_??? */") + ", flags=0x5a1ecafe" NRAW(" /* KD_FONT_FLAG_??? */") + ", width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=3134983661, height=4207856382, charcount=3672092141" + ", data=%p}" +#endif + ") = " RETVAL, XLAT_ARGS(KDFONTOP), cfo +#if RETVAL_INJECTED + , cfo +#endif + ); + + static const struct strval32 kdfont_ops = { + { ARG_XLAT_KNOWN(0, "KD_FONT_OP_SET") }, + { ARG_XLAT_KNOWN(0x1, "KD_FONT_OP_GET") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(kdfont_ops); i++) { + cfo->op = kdfont_opsi.val; + cfo->flags = 1; + cfo->width = 0; + cfo->height = 0; + cfo->charcount = 0; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=0, data=NULL}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC)); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=0, height=0, charcount=0" + ", data=NULL}"); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end; + for (size_t j = 0; j < 2; j++) { + cfo->charcount = j; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=" + XLAT_FMT ", width=0, height=0, charcount=%zu" + ", data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + XLAT_ARGS(KD_FONT_FLAG_DONT_RECALC), j); + if (kdfont_opsi.val == KD_FONT_OP_SET) + printf("\"\""); + else + printf("%p", cfo_data_end); +#if RETVAL_INJECTED + if (kdfont_opsi.val == KD_FONT_OP_GET) { + printf("} => {width=0, height=0, charcount=%zu" + ", data=\"\"", j); + } +#endif + printf("}) = " RETVAL); + + } + + cfo->flags = 0; + cfo->width = 1; + cfo->data = cfo_data_end - 31; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=%p}", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str, + cfo_data_end - 31); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf(" => {width=1, height=0, charcount=1, data=%p}", + cfo_data_end - 31); + } + printf(") = " RETVAL); + + cfo->data = cfo_data_end - 32; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=1, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) + print_quoted_hex(cfo_data_end - 32, 32); + else + printf("%p", cfo_data_end - 32); + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=1, data="); + print_quoted_hex(cfo_data_end - 32, 32); + + } + printf("}) = " RETVAL); + + cfo->charcount = 32; + cfo->data = cfo_data_end - 1023; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET && DEFAULT_STRLEN == 32) + { + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); + } else { + printf("%p", cfo_data_end - 1023); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); +#if DEFAULT_STRLEN == 32 + print_quoted_hex(cfo_data_end - 1023, 32); + printf("..."); +#else + printf("%p", cfo_data_end - 1023); +#endif + + } + printf("}) = " RETVAL); + + cfo->data = cfo_data_end - 1024; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=32, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } else { + printf("%p", cfo_data_end - 1024); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=32, data="); + print_quoted_hex(cfo_data_end - 1024, DEFAULT_STRLEN); +#if DEFAULT_STRLEN == 32 + printf("..."); +#endif + } + printf("}) = " RETVAL); + + cfo->charcount = 256; + cfo->data = cfo_data_end - 1025; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=%s, flags=0, width=1" + ", height=0, charcount=256, data=", + XLAT_ARGS(KDFONTOP), kdfont_opsi.str); + if (kdfont_opsi.val == KD_FONT_OP_SET) { + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + } else { + printf("%p", cfo_data_end - 1025); + } + if (kdfont_opsi.val == KD_FONT_OP_GET && RETVAL_INJECTED) { + printf("} => {width=1, height=0, charcount=256, data="); + print_quoted_hex(cfo_data_end - 1025, DEFAULT_STRLEN); + printf("..."); + + } + printf("}) = " RETVAL); + } + + cfo->op = 2; + cfo->data = NULL; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=NULL}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data = cfo_data_end - 1; + cfo->data0 = '\0'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=\"\"}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT)); + + cfo->data0 = 'x'; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", width=1, height=0" + ", data=%p}" +#if RETVAL_INJECTED + " => {width=1, height=0}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + cfo_data_end - 1); + + cfo->width = 0xcafebeef; + cfo->height = 0xbea7bee5; + cfo->data = cfo_data_end - 32; + strcpy((char *) cfo->data, + "\1\2\3\r\n\t\v\f\\\"OH\377HAI\7\10\02101234567890x"); + for (size_t j = 0; j < 2; j++) { + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT + ", width=3405692655, height=3198664421, data=\"\\1\\2\\3" + "\\r\\n\\t\\v\\f\\\\\\\"OH\\377HAI\\7\\10\\0210123456789" + "0x\"%s}" +#if RETVAL_INJECTED + " => {width=3405692655, height=3198664421}" +#endif + ") = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_SET_DEFAULT), + j ? "..." : ""); + + cfo->data31 = 'y'; + } + + cfo->op = 3; + cfo->height = 0; + sys_ioctl(-1, KDFONTOP, (uintptr_t) cfo); + printf("ioctl(-1, " XLAT_FMT ", {op=" XLAT_FMT ", height=0}) = " RETVAL, + XLAT_ARGS(KDFONTOP), XLAT_ARGS(KD_FONT_OP_COPY)); + + + /* KDGKBDIACRUC */ + check_diacruc(ARG_STR(KDGKBDIACRUC)); + + + /* KDSKBDIACRUC */ + check_diacruc(ARG_STR(KDSKBDIACRUC)); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_kd.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_kd +ioctl.test -a20); do not edit. +set -- -a20 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_lirc-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_lirc.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_lirc-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc-success +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_lirc.c
Added
@@ -0,0 +1,206 @@ +/* + * Check LIRC_* ioctl decoding + * + * Copyright (C) 2022 Sean Young <sean@mess.org> + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <sys/ioctl.h> +#include <linux/lirc.h> + +static const char *errstr; + +static long +do_ioctl(kernel_ulong_t cmd, unsigned int *arg) +{ + long rc = ioctl(-1, cmd, arg); + + errstr = sprintrc(rc); + +#ifdef INJECT_RETVAL + if (rc != INJECT_RETVAL) + error_msg_and_fail("Got a return value of %ld != %ld", + rc, (long) INJECT_RETVAL); + + static char inj_errstr4096; + + snprintf(inj_errstr, sizeof(inj_errstr), "%s (INJECTED)", errstr); + errstr = inj_errstr; +#endif + + return rc; +} + +int +main(int argc, char *argv) +{ +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + long ret = ioctl(-1, LIRC_GET_FEATURES, 0); + + printf("ioctl(-1, LIRC_GET_FEATURES, NULL) = %s%s\n", + sprintrc(ret), + ret == INJECT_RETVAL ? " (INJECTED)" : ""); + + if (ret != INJECT_RETVAL) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Hasn't locked on ioctl(-1" + ", LIRC_GET_FEATURES, NULL) returning %d", + INJECT_RETVAL); +#endif + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, value); + + *value = 12000; + do_ioctl(LIRC_SET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT, 12000) = %s\n", errstr); + + *value = 1; + do_ioctl(LIRC_SET_WIDEBAND_RECEIVER, value); + printf("ioctl(-1, LIRC_SET_WIDEBAND_RECEIVER, 1) = %s\n", errstr); + + *value = 0; + do_ioctl(LIRC_SET_MEASURE_CARRIER_MODE, value); + printf("ioctl(-1, LIRC_SET_MEASURE_CARRIER_MODE, 0) = %s\n", errstr); + + *value = 4294967295; + do_ioctl(LIRC_SET_REC_TIMEOUT_REPORTS, value); + printf("ioctl(-1, LIRC_SET_REC_TIMEOUT_REPORTS, 4294967295) = %s\n", + errstr); + + *value = 33; + do_ioctl(LIRC_SET_SEND_DUTY_CYCLE, value); + printf("ioctl(-1, LIRC_SET_SEND_DUTY_CYCLE, 33) = %s\n", errstr); + + *value = 38000; + do_ioctl(LIRC_SET_SEND_CARRIER, value); + printf("ioctl(-1, LIRC_SET_SEND_CARRIER, 38000) = %s\n", errstr); + + *value = 20000; + do_ioctl(LIRC_SET_REC_CARRIER, value); + printf("ioctl(-1, LIRC_SET_REC_CARRIER, 20000) = %s\n", errstr); + + *value = 40000; + do_ioctl(LIRC_SET_REC_CARRIER_RANGE, value); + printf("ioctl(-1, IPMICTL_SET_MAINTENANCE_MODE_CMD or " + "LIRC_SET_REC_CARRIER_RANGE, 40000) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 8; + do_ioctl(LIRC_SET_SEND_MODE, value); + printf("ioctl(-1, LIRC_SET_SEND_MODE, LIRC_MODE_SCANCODE) = %s\n", + errstr); + + *value = 4; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_MODE2) = %s\n", + errstr); + + *value = 16; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, LIRC_MODE_LIRCCODE) = %s\n", + errstr); + + *value = 3; + do_ioctl(LIRC_SET_REC_MODE, value); + printf("ioctl(-1, LIRC_SET_REC_MODE, 0x3 /* LIRC_MODE_??? */) = %s\n", + errstr); + + *value = 31; + do_ioctl(LIRC_SET_TRANSMITTER_MASK, value); + printf("ioctl(-1, LIRC_SET_TRANSMITTER_MASK, 0x1f) = %s\n", + errstr); + + /* read ioctls */ + +#ifdef INJECT_RETVAL + + *value = LIRC_CAN_SEND_PULSE | LIRC_CAN_SET_SEND_DUTY_CYCLE | + LIRC_CAN_GET_REC_RESOLUTION | LIRC_CAN_USE_WIDEBAND_RECEIVER | + 0x008000000; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, LIRC_CAN_SEND_PULSE" + "|LIRC_CAN_SET_SEND_DUTY_CYCLE|LIRC_CAN_USE_WIDEBAND_RECEIVER" + "|LIRC_CAN_GET_REC_RESOLUTION|0x8000000) = %s\n", + errstr); + + *value = 0; + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, 0) = %s\n", + errstr); + + *value = 1; + do_ioctl(LIRC_GET_REC_MODE, value); + printf("ioctl(-1, LIRC_GET_REC_MODE, LIRC_MODE_RAW) = %s\n", + errstr); + + *value = 2; + do_ioctl(LIRC_GET_SEND_MODE, value); + printf("ioctl(-1, LIRC_GET_SEND_MODE, LIRC_MODE_PULSE) = %s\n", + errstr); + + *value = 120; + do_ioctl(LIRC_GET_REC_RESOLUTION, value); + printf("ioctl(-1, LIRC_GET_REC_RESOLUTION, 120) = %s\n", + errstr); + + *value = 120000; + do_ioctl(LIRC_GET_REC_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_REC_TIMEOUT, 120000) = %s\n", + errstr); + + *value = 1100; + do_ioctl(LIRC_GET_MIN_TIMEOUT, value); + printf("ioctl(-1, I2OVALIDATE or LIRC_GET_MIN_TIMEOUT, 1100) = %s\n", + errstr); + + *value = 10100; + do_ioctl(LIRC_GET_MAX_TIMEOUT, value); + printf("ioctl(-1, LIRC_GET_MAX_TIMEOUT, 10100) = %s\n", + errstr); + + *value = 15; + do_ioctl(LIRC_GET_LENGTH, value); + printf("ioctl(-1, LIRC_GET_LENGTH, 15) = %s\n", + errstr); + + do_ioctl(LIRC_GET_FEATURES, value + 1); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value + 1, errstr); + +#else + + do_ioctl(LIRC_GET_FEATURES, value); + printf("ioctl(-1, LIRC_GET_FEATURES, %p) = %s\n", + value, errstr); + +#endif + + do_ioctl(_IO('i', 0xff), value); + printf("ioctl(-1, _IOC(_IOC_NONE, 0x69, 0xff, 0), %p) = %s\n", + value, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_lirc.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_lirc +ioctl-success.sh -a30); do not edit. +set -- -a30 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_perf.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_perf.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of PERF_EVENT_IOC_* commands of ioctl syscall. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -198,7 +198,8 @@ "PERF_SAMPLE_TRANSACTION|PERF_SAMPLE_REGS_INTR|" "PERF_SAMPLE_DATA_PAGE_SIZE|PERF_SAMPLE_CODE_PAGE_SIZE|" "0xc2c3c4c5c6000000" - ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|0xcacbcccdcecfd0d0" + ", read_format=PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_LOST|" + "0xcacbcccdcecfd0c0" ", disabled=1, inherit=1, exclusive=1, exclude_hv=1, mmap=1" ", comm=1, inherit_stat=1, watermark=1" ", precise_ip=3 /* must have 0 skid */, mmap_data=1"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xabbrev +ioctl.test -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xraw +ioctl.test -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-Xverbose +ioctl.test -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xabbrev +ioctl-success.sh -a29 -Xabbrev); do not edit. +set -- -a29 -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xraw +ioctl-success.sh -a20 -s51 -Xraw); do not edit. +set -- -a20 -s51 -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_ptp-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success-Xverbose +ioctl-success.sh -a46 -s51 -Xverbose); do not edit. +set -- -a46 -s51 -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "ioctl_ptp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp-success +ioctl-success.sh -a29); do not edit. +set -- -a29 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_ptp.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp.c
Changed
@@ -2,18 +2,20 @@ * Check decoding of PTP_* commands of ioctl syscall. * * Copyright (c) 2018 Harsha Sharma <harshasharmaiitr@gmail.com> - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" +#include "scno.h" #include <fcntl.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <linux/ptp_clock.h> @@ -21,119 +23,613 @@ #include "xlat.h" #include "xlat/ptp_extts_flags.h" #include "xlat/ptp_perout_flags.h" +#include "xlat/ptp_pin_funcs.h" + + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#define ARRAY_END(a_) ((a_) + ARRAY_SIZE(a_)) +#define ARR_ITEM(arr_, idx_) ((arr_)(idx_) % ARRAY_SIZE(arr_)) + +#if STRACE_SIZEOF_KERNEL_LONG_T == SIZEOF_KERNEL_LONG_T +# define SAFE_TIME_T(t_) t_ +#else +# define SAFE_TIME_T(t_) ((time_t) (t_)) +#endif + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ +#ifdef INJECT_RETVAL + static char buf256; +#endif + const long rc = syscall(__NR_ioctl, fd, cmd, arg); +#ifdef INJECT_RETVAL + snprintf(buf, sizeof(buf), "%s (INJECTED)", sprintrc(rc)); + errstr = buf; +#else + errstr = sprintrc(rc); +#endif + return rc; +} static void -test_no_device(void) +print_lltime(const long long sec, const unsigned long long nsec) { - const char *errstr; +#if !XLAT_RAW + if ((time_t) sec != sec) + return; - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); - fill_memory(caps, sizeof(*caps)); + print_time_t_nsec(sec, nsec, 1); +#endif +} - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); - fill_memory(sysoff, sizeof(*sysoff)); +static void +check_bad_ptr(const uint32_t ioc_val, const char *const ioc_str, + const void *const p, const size_t sz) +{ + sys_ioctl(-1, ioc_val, (uintptr_t) NULL); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(ioc_val, ioc_str), errstr); - TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); - fill_memory(extts, sizeof(*extts)); + sys_ioctl(-1, ioc_val, (uintptr_t) p + sz); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + sz, errstr); + sys_ioctl(-1, ioc_val, (uintptr_t) p + 1); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(ioc_val, ioc_str), p + 1, errstr); +} + +static void +test_no_device(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_clock_caps, caps); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset, sysoff); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_extended, soext); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_sys_offset_precise, soprec); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_extts_request, extts); TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_perout_request, perout); - fill_memory(perout, sizeof(*perout)); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ptp_pin_desc, pindesc); + long rc; + + /* unrecognized */ + static const uint8_t unk_nums = { 0, 19, 20, 255 }; + + for (const uint8_t *p = unk_nums; p < ARRAY_END(unk_nums); p++) { + for (uint16_t sz = 0; sz < 1280; sz += 8) { + static const struct strval32 dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + for (const struct strval32 *d = dirs; + d < ARRAY_END(dirs); d++) { + uint32_t ioc = + _IOC(d->val, PTP_CLK_MAGIC, *p, sz); + sys_ioctl(-1, ioc, 0); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", 0) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + errstr); + + /* soprec is the biggest var, at 1216 bytes */ + sys_ioctl(-1, ioc, (uintptr_t) soext); + printf("ioctl(-1, " + XLAT_KNOWN_FMT("%#x", + "_IOC(%s, %#x, %#x, %#x)") + ", %p) = %s\n", + NABBR(ioc,) + NRAW(d->str, PTP_CLK_MAGIC, *p, sz,) + soext, errstr); + } + } + } + + /* PTP_CLOCK_GETCAPS{,2} */ + static const struct strval32 ioc_caps = { + { ARG_STR(PTP_CLOCK_GETCAPS) }, + { ARG_STR(PTP_CLOCK_GETCAPS2) }, + }; + for (const struct strval32 *c = ioc_caps; c < ARRAY_END(ioc_caps); c++) + { + check_bad_ptr(c->val, c->str, caps, sizeof(*caps)); + + memset(caps, 0, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=0, n_alarm=0, n_ext_ts=0, n_per_out=0" + ", pps=0, n_pins=0, cross_timestamping=0" + ", adjust_phase=0}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + + fill_memory32(caps, sizeof(*caps)); + rc = sys_ioctl(-1, c->val, (uintptr_t) caps); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{max_adj=-2136948512, n_alarm=-2136948511" + ", n_ext_ts=-2136948510, n_per_out=-2136948509" + ", pps=-2136948508, n_pins=-2136948507" + ", cross_timestamping=-2136948506" + ", adjust_phase=-2136948505" + ", rsv=0x80a0c0e8, 0x80a0c0e9, 0x80a0c0ea" + ", 0x80a0c0eb, 0x80a0c0ec, 0x80a0c0ed" + ", 0x80a0c0ee, 0x80a0c0ef, 0x80a0c0f0" + ", 0x80a0c0f1, 0x80a0c0f2, 0x80a0c0f3}"); + } else { + printf("%p", caps); + } + printf(") = %s\n", errstr); + } + + /* PTP_EXTTS_REQUEST{,2} */ + static const struct strval32 ioc_extts = { + { ARG_STR(PTP_EXTTS_REQUEST) }, + { ARG_STR(PTP_EXTTS_REQUEST2) }, + }; + static const struct strval32 extts_flags = { + { ARG_XLAT_KNOWN(0x1, "PTP_ENABLE_FEATURE") }, + { ARG_XLAT_KNOWN(0xdeadbabe, "PTP_RISING_EDGE|PTP_FALLING_EDGE" + "|PTP_STRICT_FLAGS|0xdeadbab0") }, + { ARG_XLAT_UNKNOWN(0xbadbeef0, "PTP_???") }, + { ARG_STR(0) }, + }; + for (const struct strval32 *c = ioc_extts; c < ARRAY_END(ioc_extts); + c++) { + check_bad_ptr(c->val, c->str, extts, sizeof(*extts)); - /* PTP_CLOCK_GETCAPS */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS, %p) = %s\n", caps, errstr); + memset(extts, 0, sizeof(*extts)); + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); - /* PTP_SYS_OFFSET */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + extts->index = 3141592653; + for (size_t i = 0; i < ARRAY_SIZE(extts_flags); i++) { + extts->flags = extts_flagsi.val; + extts->rsv0 = i & 1 ? 0xdeadc0de : 0; + extts->rsv1 = i & 2 ? 0xcafebeef : 0; + + sys_ioctl(-1, c->val, (uintptr_t) extts); + printf("ioctl(-1, " XLAT_FMT ", {index=3141592653" + ", flags=%s", + XLAT_SEL(c->val, c->str), extts_flagsi.str); + if (c->val == PTP_EXTTS_REQUEST2 && (i & 3)) { + printf(", rsv=%#x, %#x", + i & 1 ? 0xdeadc0de : 0, + i & 2 ? 0xcafebeef : 0); + } + printf("}) = %s\n", errstr); + + } + } + + /* PTP_PEROUT_REQUEST{,2} */ + static const struct strval32 ioc_perout = { + { ARG_STR(PTP_PEROUT_REQUEST) }, + { ARG_STR(PTP_PEROUT_REQUEST2) }, + }; + static const struct perout_flags { + uint32_t is_phase :1, + is_duty_cycle :1; + uint32_t flags; + const char *str; + } perout_flags = { + { false, false, ARG_STR(0) }, + { false, false, ARG_XLAT_KNOWN(0x1, "PTP_PEROUT_ONE_SHOT") }, + { false, true, ARG_XLAT_KNOWN(0x3, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_DUTY_CYCLE") }, + { true, false, + ARG_XLAT_KNOWN(0xc0dedbad, "PTP_PEROUT_ONE_SHOT" + "|PTP_PEROUT_PHASE|0xc0dedba8") }, + { true, true, + ARG_XLAT_KNOWN(0xdeadbeef, + "PTP_PEROUT_ONE_SHOT|PTP_PEROUT_DUTY_CYCLE" + "|PTP_PEROUT_PHASE|0xdeadbee8") }, + { false, false, ARG_XLAT_UNKNOWN(0xdeadbea8, "PTP_PEROUT_???") } + }; + for (const struct strval32 *c = ioc_perout; c < ARRAY_END(ioc_perout); + c++) { + check_bad_ptr(c->val, c->str, perout, sizeof(*perout)); + + memset(perout, 0, sizeof(*perout)); + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {start={sec=0, nsec=0}" + ", period={sec=0, nsec=0}, index=0, flags=0}) = %s\n", + XLAT_SEL(c->val, c->str), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(perout_flags); i++) { + perout->start.sec = SAFE_TIME_T(0x123456789ULL); + perout->start.nsec = i & 1 ? 1234567890 : 123456789; + perout->start.reserved = i & 2 ? 2718281828 : 0; + perout->period.sec = 0xabcdef; + perout->period.nsec = i & 1 ? 123456789 : 0; + perout->period.reserved = i & 2 ? 0 : 2345678901; + perout->index = 3141592653U; + perout->flags= perout_flagsi.flags; + perout->on.sec = i & 3 ? 0xabcdef0123456789ULL : 0; + perout->on.nsec = i & 2 ? 123456789 : 0; + perout->on.reserved = i & 4 ? 2345678901U : 0; + + sys_ioctl(-1, c->val, (uintptr_t) perout); + printf("ioctl(-1, " XLAT_FMT ", {%s={sec=%lld" + ", nsec=%u%s}", + XLAT_SEL(c->val, c->str), + perout_flagsi.is_phase ? "phase" : "start", + (long long) perout->start.sec, + i & 1 ? 1234567890 : 123456789, + i & 2 ? ", reserved=0xa205b064" : ""); + if (!perout_flagsi.is_phase) { + print_lltime(perout->start.sec, + perout->start.nsec); + } + printf(", period={sec=11259375, nsec=%u%s}" + ", index=3141592653, flags=%s", + i & 1 ? 123456789 : 0, + i & 2 ? "" : ", reserved=0x8bd03835", + perout_flagsi.str); + if (perout_flagsi.is_duty_cycle) { + printf(", on={sec=%lld, nsec=%u%s}", + i & 3 ? 0xabcdef0123456789ULL : 0, + i & 2 ? 123456789 : 0, + i & 4 ? ", reserved=0x8bd03835" : ""); + } else if (i && c->val == PTP_PEROUT_REQUEST2) { + printf(", rsv=%#x, %#x, %#x, %#x", + i & 3 ? BE_LE(0xabcdef01, 0x23456789) : 0, + i & 3 ? BE_LE(0x23456789, 0xabcdef01) : 0, + i & 2 ? 123456789 : 0, + i & 4 ? 2345678901U : 0); + } + printf("}) = %s\n", errstr); + } + } /* PTP_ENABLE_PPS */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST" - ", {start={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t) perout->start.sec, perout->start.nsec); - print_time_t_nsec(perout->start.sec, perout->start.nsec, 1); - printf(", period={sec=%" PRId64 ", nsec=%" PRIu32 "}", - (int64_t)perout->period.sec, perout->period.nsec); - print_time_t_nsec(perout->period.sec, perout->period.nsec, 1); - printf(", index=%d, flags=", perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_CLOCK_GETCAPS2 */ - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, NULL)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_CLOCK_GETCAPS2, caps)); - printf("ioctl(-1, PTP_CLOCK_GETCAPS2, %p) = %s\n", caps, errstr); - - /* PTP_SYS_OFFSET2 */ - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, NULL)); - printf("ioctl(-1, PTP_SYS_OFFSET2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_SYS_OFFSET2, sysoff)); - printf("ioctl(-1, PTP_SYS_OFFSET2, {n_samples=%u}) = %s\n", - sysoff->n_samples, errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS, -1); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS), (long int) -1, errstr); /* PTP_ENABLE_PPS2 */ - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 0)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 0) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_ENABLE_PPS2, 1)); - printf("ioctl(-1, PTP_ENABLE_PPS2, 1) = %s\n", errstr); - - /* PTP_EXTTS_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, NULL)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_EXTTS_REQUEST2, extts)); - printf("ioctl(-1, PTP_EXTTS_REQUEST2, {index=%d, flags=", extts->index); - printflags(ptp_extts_flags, extts->flags, "PTP_???"); - printf("}) = %s\n", errstr); - - /* PTP_PEROUT_REQUEST2 */ - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, NULL)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, NULL) = %s\n", errstr); - errstr = sprintrc(ioctl(-1, PTP_PEROUT_REQUEST2, perout)); - printf("ioctl(-1, PTP_PEROUT_REQUEST2, {start={sec=%" PRId64 - ", nsec=%" PRIu32 "}, period={sec=%" PRId64 ", nsec=%" PRIu32 "}" - ", index=%d, flags=", - (int64_t) perout->start.sec, perout->start.nsec, - (int64_t)perout->period.sec, perout->period.nsec, perout->index); - printflags(ptp_perout_flags, perout->flags, "PTP_???"); - printf("}) = %s\n", errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, 0); + printf("ioctl(-1, %s, 0) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), errstr); + sys_ioctl(-1, PTP_ENABLE_PPS2, -123456789); + printf("ioctl(-1, %s, %#lx) = %s\n", + XLAT_STR(PTP_ENABLE_PPS2), (long int) -123456789, errstr); - /* unrecognized */ - ioctl(-1, _IOC(_IOC_READ, PTP_CLK_MAGIC, 0xff, 0xfe), 0); - printf("ioctl(-1, _IOC(_IOC_READ, %#x, 0xff, 0xfe), 0) = %s\n", - PTP_CLK_MAGIC, errstr); - - const unsigned long arg = (unsigned long) 0xfacefeeddeadbeefULL; - ioctl(-1, _IOC(_IOC_WRITE, PTP_CLK_MAGIC, 0xfd, 0xfc), arg); - printf("ioctl(-1, _IOC(_IOC_WRITE, %#x, 0xfd, 0xfc), %#lx)" - " = %s\n", PTP_CLK_MAGIC, arg, errstr); + /* PTP_SYS_OFFSET{,2} */ + static const struct strval32 ioc_sysoff = { + { ARG_STR(PTP_SYS_OFFSET) }, + { ARG_STR(PTP_SYS_OFFSET2) }, + }; + for (const struct strval32 *c = ioc_sysoff; c < ARRAY_END(ioc_sysoff); + c++) { + check_bad_ptr(c->val, c->str, sysoff, sizeof(*sysoff)); + + memset(sysoff, 0, sizeof(*sysoff)); + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts={sec=0, nsec=0}" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + sysoff->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + sysoff->rsv0 = i & 1 ? 0xbadfaced : 0; + sysoff->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < 2 * PTP_MAX_SAMPLES + 1; j++) { + sysoff->tsj.sec = SAFE_TIME_T(2345678901U + j); + sysoff->tsj.nsec = 999999999 - i * 12 + j; + sysoff->tsj.reserved = j & 1 ? 0xdeadface : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) sysoff); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu%s%s%s%s", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1, + i & 3 ? ", rsv=" : "", + i & 3 ? i & 1 ? "0xbadfaced" : "0" : "", + i & 3 ? ", 0, " : "", + i & 3 ? i & 2 ? "0xcafeface" : "0" : ""); + if (rc >= 0) { + for (size_t j = 0; + j < MIN(i * 24 + 3, + XLAT_RAW || XLAT_VERBOSE ? 51 + : 32); + j++) { + printf("%s{sec=%lld, nsec=%u%s}", + j ? ", " : ", ts=", + (long long) sysoff->tsj.sec, + sysoff->tsj.nsec, + j & 1 ? ", reserved=0xdeadface" + : ""); + print_lltime(sysoff->tsj.sec, + sysoff->tsj.nsec); + } + printf("%s", + XLAT_RAW || XLAT_VERBOSE || i < 2 + ? "" : ", ..."); + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_PIN_GSETFUNC{,2} */ + static const struct ioc_pin { + uint32_t is_get :1, + is_v2 :1; + uint32_t val; + const char *str; + } ioc_pin = { + { true, false, ARG_STR(PTP_PIN_GETFUNC) }, + { true, true, ARG_STR(PTP_PIN_GETFUNC2) }, + { false, false, ARG_STR(PTP_PIN_SETFUNC) }, + { false, true, ARG_STR(PTP_PIN_SETFUNC2) }, + }; + static const struct strval32 pin_funcs = { + { ENUM_KNOWN(0x1, PTP_PF_EXTTS) }, + { ENUM_KNOWN(0x3, PTP_PF_PHYSYNC) }, + { ARG_XLAT_UNKNOWN(0x4, "PTP_PF_???") }, + { ARG_XLAT_UNKNOWN(0xdeadcafe, "PTP_PF_???") }, + }; + for (const struct ioc_pin *c = ioc_pin; c < ARRAY_END(ioc_pin); c++) { + check_bad_ptr(c->val, c->str, pindesc, sizeof(*pindesc)); + + memset(pindesc, 0, sizeof(*pindesc)); + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=0", + XLAT_SEL(c->val, c->str)); + if (rc >= 0 || !c->is_get) { + printf("%s, func=" XLAT_FMT ", chan=0", + c->is_get ? ", name=\"\"" : "", + XLAT_ARGS(PTP_PF_NONE)); + } + printf("}) = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(pin_funcs); i++) { + memcpy(pindesc->name, + i & 1 ? "\1\2\3\4\5\6\7\10\11\12\13\14\15\16\17" + "OH HAI THAR\176\177\377\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" + : "abcdefghijklmnopqrstuvwxyz0123456789" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", + sizeof(pindesc->name)); + pindesc->index = 0xcafebabeU; + pindesc->func = pin_funcsi.val; + pindesc->chan = 0xfeedbeefU; + pindesc->rsv0 = i & 1 ? 0xbadc0ded : 0; + pindesc->rsv4 = i & 2 ? 0 : 0xdadfaced; + + rc = sys_ioctl(-1, c->val, (uintptr_t) pindesc); + printf("ioctl(-1, " XLAT_FMT ", {index=3405691582", + XLAT_SEL(c->val, c->str)); + if (c->is_get && c->is_v2 && (i & 3) != 2) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + if (rc >= 0 || !c->is_get) { + if (c->is_get) { + printf(", name=\"%s", + i & 1 ? "\\1\\2\\3\\4\\5\\6\\7" + "\\10\\t\\n\\v\\f\\r\\16" + "\\17OH HAI THAR~\\177" + "\\377\"" + : "abcdefghijklmnopqrstuvw" + "xyz0123456789ABCDEFGHIJ" + "KLMNOPQRSTUVWXYZ0\"" + "..."); + } + printf(", func=%s, chan=4276993775", + pin_funcsi.str); + if (!c->is_get && c->is_v2 + && ((i & 1) || !(i & 2))) { + printf(", rsv=%#x, 0, 0, 0, %#x", + i & 1 ? 0xbadc0ded : 0, + i & 2 ? 0 : 0xdadfaced); + } + } + printf("}) = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_PRECISE{,2} */ + static const struct strval32 ioc_soprec = { + { ARG_STR(PTP_SYS_OFFSET_PRECISE) }, + { ARG_STR(PTP_SYS_OFFSET_PRECISE2) }, + }; + static const struct ptp_clock_time ts_vecs = { + { 0, 123456789 }, + { 0x23456789, 0, 0xdeadface }, + { SAFE_TIME_T(0x123456789ab), 1234567890 }, + { SAFE_TIME_T(0x123456789abcd), 987654321, 0x1 }, + }; + for (const struct strval32 *c = ioc_soprec; c < ARRAY_END(ioc_soprec); + c++) { + check_bad_ptr(c->val, c->str, soprec, sizeof(*soprec)); + + memset(soprec, 0, sizeof(*soprec)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=0, nsec=0}" + ", sys_realtime={sec=0, nsec=0}" + ", sys_monoraw={sec=0, nsec=0}}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ts_vecs); i++) { + soprec->device = ts_vecsi; + soprec->sys_realtime = ARR_ITEM(ts_vecs, i + 1); + soprec->sys_monoraw = ARR_ITEM(ts_vecs, i + 2); + soprec->rsv0 = i & 1 ? 0 : 0xbadfaced; + soprec->rsv3 = i & 2 ? 0 : 0xdeadbeef; + + rc = sys_ioctl(-1, c->val, (uintptr_t) soprec); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_SEL(c->val, c->str)); + if (rc >= 0) { + printf("{device={sec=%lld, nsec=%u", + (long long) ts_vecsi.sec, + ts_vecsi.nsec); + if (i & 1) { + printf(", reserved=%#x", + ts_vecsi.reserved); + } + printf("}"); + print_lltime(ts_vecsi.sec, ts_vecsi.nsec); + printf(", sys_realtime={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + if (!(i & 1)) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 1).reserved + ); + } + printf("}"); + print_lltime(ARR_ITEM(ts_vecs, i + 1).sec, + ARR_ITEM(ts_vecs, i + 1).nsec); + printf(", sys_monoraw={sec=%lld, nsec=%u", + (long long) ARR_ITEM(ts_vecs, i + 2).sec, + ARR_ITEM(ts_vecs, i + 2).nsec); + if (i & 1) { + printf(", reserved=%#x", + ARR_ITEM(ts_vecs, i + 2).reserved + ); + } + printf("}"); + if ((i & 3) != 3) { + printf(", rsv=%#x, 0, 0, %#x", + i & 1 ? 0 : 0xbadfaced, + i & 2 ? 0 : 0xdeadbeef); + } + printf("}"); + } else { + printf("%p", soprec); + } + printf(") = %s\n", errstr); + } + } + + /* PTP_SYS_OFFSET_EXTENDED{,2} */ + static const struct strval32 ioc_soext = { + { ARG_STR(PTP_SYS_OFFSET_EXTENDED) }, + { ARG_STR(PTP_SYS_OFFSET_EXTENDED2) }, + }; + for (const struct strval32 *c = ioc_soext; c < ARRAY_END(ioc_soext); + c++) { + check_bad_ptr(c->val, c->str, soext, sizeof(*soext)); + + memset(soext, 0, sizeof(*soext)); + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=0%s}) = %s\n", + XLAT_SEL(c->val, c->str), + rc >= 0 ? ", ts=" : "", errstr); + + for (size_t i = 0; i < 4; i++) { + soext->n_samples = i > 2 ? 0xdeadface : i * 12 + 1; + soext->rsv0 = i & 1 ? 0xbadfaced : 0; + soext->rsv2 = i & 2 ? 0xcafeface : 0; + for (size_t j = 0; j < PTP_MAX_SAMPLES; j++) { + soext->tsj0.sec = + SAFE_TIME_T(2345678901U + j); + soext->tsj0.nsec = 999999999 - i * 12 + j; + soext->tsj0.reserved = j & 1 ? 0xbee : 0; + + soext->tsj1.sec = + SAFE_TIME_T(-123456780123L + j); + soext->tsj1.nsec = -(i * 12) + j; + soext->tsj1.reserved = j & 2 ? 0xface : 0; + + soext->tsj2.sec = + SAFE_TIME_T(j * (1 << 30)); + soext->tsj2.nsec = j * (1 << 29); + soext->tsj2.reserved = j & 4 ? 0xbabe : 0; + } + + rc = sys_ioctl(-1, c->val, (uintptr_t) soext); + printf("ioctl(-1, " XLAT_FMT ", {n_samples=%zu", + XLAT_SEL(c->val, c->str), + i > 2 ? 0xdeadface : i * 12 + 1); + if (i & 3) { + printf(", rsv=%#x, 0, %#x", + i & 1 ? 0xbadfaced : 0, + i & 2 ? 0xcafeface : 0); + } + if (rc >= 0) { + for (size_t j = 0; j < MIN(i * 12 + 1, 25); j++) + { + printf("%s", j ? ", " : ", ts="); + for (size_t k = 0; k < 3; k++) { + printf("%s{sec=%lld, nsec=%u", + k ? ", " : "", + (long long) soext->tsjk.sec, + soext->tsjk.nsec); + if (soext->tsjk.reserved) + printf(", reserved=%#x", + soext->tsjk + .reserved); + printf("}"); + print_lltime( + soext->tsjk.sec, + soext->tsjk.nsec); + } + } + printf(""); + } + printf("}) = %s\n", errstr); + } + } } int -main(void) +main(int argc, char *argv) { +#ifdef INJECT_RETVAL + unsigned long num_skip; + bool locked = false; + + if (argc < 2) + error_msg_and_fail("Usage: %s NUM_SKIP", argv0); + + num_skip = strtoul(argv1, NULL, 0); + for (unsigned int i = 0; i < num_skip; i++) { + long rc = sys_ioctl(-1, PTP_CLOCK_GETCAPS, 0); + printf("ioctl(-1, %s, NULL) = %s%s\n", + XLAT_STR(PTP_CLOCK_GETCAPS), sprintrc(rc), + rc == 42 ? " (INJECTED)" : ""); + + if (rc != 42) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", PTP_CLOCK_GETCAPS, NULL) returning 42"); + } +#endif /* INJECT_RETVAL */ + test_no_device(); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_ptp.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_ptp.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test ); do not edit. -set -- +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_ptp +ioctl.test -a29); do not edit. +set -- -a29 . "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_rtc.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_rtc.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of RTC ioctl commands. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,30 @@ #include <linux/types.h> #include <linux/rtc.h> +#ifndef RTC_VL_READ +# define RTC_VL_READ _IOR('p', 0x13, unsigned int) +#endif +#ifndef RTC_VL_CLR +# define RTC_VL_CLR _IO ('p', 0x14) +#endif + +#ifndef RTC_PARAM_GET +struct rtc_param { + __u64 param; + union { + __u64 uvalue; + __s64 svalue; + __u64 ptr; + }; + __u32 index; + __u32 __pad; +}; +# define RTC_PARAM_GET _IOW('p', 0x13, struct rtc_param) +#endif /* !TC_PARAM_GET */ +#ifndef RTC_PARAM_SET +# define RTC_PARAM_SET _IOW('p', 0x14, struct rtc_param) +#endif + static const unsigned long lmagic = (unsigned long) 0xdeadbeefbadc0dedULL; static const char *errstr; @@ -105,9 +129,7 @@ { ARG_STR(RTC_PIE_ON) }, { RTC_UIE_OFF, "PHN_NOT_OH or RTC_UIE_OFF" }, { ARG_STR(RTC_UIE_ON) }, -#ifdef RTC_VL_CLR { ARG_STR(RTC_VL_CLR), }, -#endif { ARG_STR(RTC_WIE_OFF) }, { ARG_STR(RTC_WIE_ON) }, }, long_cmds = { @@ -125,9 +147,7 @@ { ARG_STR(RTC_PLL_SET) }, { ARG_STR(RTC_RD_TIME) }, { ARG_STR(RTC_SET_TIME) }, -#ifdef RTC_VL_READ { ARG_STR(RTC_VL_READ) }, -#endif { ARG_STR(RTC_WKALM_RD) }, { ARG_STR(RTC_WKALM_SET) }, }, r_time_cmds = { @@ -253,21 +273,147 @@ } } -#ifdef RTC_VL_READ + static const struct strval32 vl_vecs = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x10, "RTC_VL_BACKUP_SWITCH") }, + { ARG_XLAT_KNOWN(0xbeef, "RTC_VL_DATA_INVALID" + "|RTC_VL_BACKUP_LOW" + "|RTC_VL_BACKUP_EMPTY" + "|RTC_VL_ACCURACY_LOW|0xbee0") }, + { ARG_XLAT_UNKNOWN(0xbadc0de0, "RTC_VL_???") }, + }; TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, pint); - *pint = 1U << 4; - if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { - printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", pint, errstr); - } else { - printf("ioctl(-1, RTC_VL_READ, RTC_VL_BACKUP_SWITCH) = %s\n", - errstr); + for (size_t i = 0; i < ARRAY_SIZE(vl_vecs); i++) { + *pint = vl_vecsi.val; + + if (do_ioctl_ptr(RTC_VL_READ, pint) < 0) { + printf("ioctl(-1, RTC_VL_READ, %p) = %s\n", + pint, errstr); + } else { + printf("ioctl(-1, RTC_VL_READ, %s) = %s\n", + vl_vecsi.str, errstr); + } } -#endif do_ioctl(_IO(0x70, 0x40), lmagic); printf("ioctl(-1, %s, %#lx) = %s\n", "NVRAM_INIT", lmagic, errstr); + static const struct strval32 param_cmds = { + { ARG_STR(RTC_PARAM_GET) }, + { ARG_STR(RTC_PARAM_SET) }, + }; + static const struct { + struct rtc_param val; + const char *get_in; + const char *get_out; + const char *set; + } param_vecs = { + { { 0 }, + "{param=RTC_PARAM_FEATURES, index=0}", + "{uvalue=0}", + "{param=RTC_PARAM_FEATURES, uvalue=0, index=0}" }, + { { .param = 0, .uvalue = (__u64) 0xdeadfacebeeffeedULL, + .index= 0xfacecafe, .__pad = 0xbadc0ded }, + "{param=RTC_PARAM_FEATURES, index=4207856382" + ", __pad=0xbadc0ded}", + "{uvalue=1<<RTC_FEATURE_ALARM|1<<RTC_FEATURE_NEED_WEEK_DAY" + "|1<<RTC_FEATURE_ALARM_RES_2S|1<<RTC_FEATURE_CORRECTION" + "|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", __pad=0xbadc0ded}", + "{param=RTC_PARAM_FEATURES, uvalue=1<<RTC_FEATURE_ALARM" + "|1<<RTC_FEATURE_NEED_WEEK_DAY|1<<RTC_FEATURE_ALARM_RES_2S" + "|1<<RTC_FEATURE_CORRECTION|1<<RTC_FEATURE_BACKUP_SWITCH_MODE" + "|1<<RTC_FEATURE_ALARM_WAKEUP_ONLY|0xdeadfacebeeffe00" + ", index=4207856382, __pad=0xbadc0ded}" }, + { { .param = 0, .uvalue = 0xbeef00, .__pad = 1 }, + "{param=RTC_PARAM_FEATURES, index=0, __pad=0x1}", + "{uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, __pad=0x1}", + "{param=RTC_PARAM_FEATURES" + ", uvalue=0xbeef00 /* 1<<RTC_FEATURE_??? */, index=0" + ", __pad=0x1}" }, + { { .param = 1 }, + "{param=RTC_PARAM_CORRECTION, index=0}", + "{svalue=0}", + "{param=RTC_PARAM_CORRECTION, svalue=0, index=0}" }, + { { .param = 1, .svalue = (__s64) 0xfacefeeddeadcafeULL, + .index = 0xdeffaced, .__pad = 0xcafeface }, + "{param=RTC_PARAM_CORRECTION, index=3741297901" + ", __pad=0xcafeface}", + "{svalue=-374081421428536578, __pad=0xcafeface}", + "{param=RTC_PARAM_CORRECTION, svalue=-374081421428536578" + ", index=3741297901, __pad=0xcafeface}" }, + { { .param = 1, .svalue = -1337, .index = 0x42 }, + "{param=RTC_PARAM_CORRECTION, index=66}", + "{svalue=-1337}", + "{param=RTC_PARAM_CORRECTION, svalue=-1337, index=66}" }, + { { .param = 2 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0}", + "{uvalue=RTC_BSM_DISABLED}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_DISABLED" + ", index=0}" }, + { { .param = 2, .uvalue = 3, .index = 0xdecaffed, + .__pad = 0xfacebeef }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=3737845741" + ", __pad=0xfacebeef}", + "{uvalue=RTC_BSM_STANDBY, __pad=0xfacebeef}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, uvalue=RTC_BSM_STANDBY" + ", index=3737845741, __pad=0xfacebeef}" }, + { { .param = 2, .uvalue = 4, .__pad = 23 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=0, __pad=0x17}", + "{uvalue=0x4 /* RTC_BSM_??? */, __pad=0x17}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0x4 /* RTC_BSM_??? */, index=0, __pad=0x17}" }, + { { .param = 2, .uvalue = (__u64) 0xface1e55beefcafeULL, + .index = 42 }, + "{param=RTC_PARAM_BACKUP_SWITCH_MODE, index=42}", + "{uvalue=0xface1e55beefcafe /* RTC_BSM_??? */}", + "{param=RTC_PARAM_BACKUP_SWITCH_MODE" + ", uvalue=0xface1e55beefcafe /* RTC_BSM_??? */" + ", index=42}" }, + { { .param = 3 }, + "{param=0x3 /* RTC_PARAM_??? */, index=0}", + "{uvalue=0}", + "{param=0x3 /* RTC_PARAM_??? */, uvalue=0, index=0}" }, + { { .param = (__u64) 0xbeeffacedeadc0deULL, + .uvalue = (__u64) 0xdefc0dedbadfacedULL, + .index = 3141592653, .__pad = 2718281828 }, + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", index=3141592653, __pad=0xa205b064}", + "{uvalue=0xdefc0dedbadfaced, __pad=0xa205b064}", + "{param=0xbeeffacedeadc0de /* RTC_PARAM_??? */" + ", uvalue=0xdefc0dedbadfaced, index=3141592653" + ", __pad=0xa205b064}" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(struct rtc_param, pparam); + + for (size_t i = 0; i < ARRAY_SIZE(param_cmds); i++) { + do_ioctl(param_cmdsi.val, 0); + printf("ioctl(-1, %s, NULL) = %s\n", + param_cmdsi.str, errstr); + + do_ioctl_ptr(param_cmdsi.val, pparam + 1); + printf("ioctl(-1, %s, %p) = %s\n", + param_cmdsi.str, pparam + 1, errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(param_vecs); i++) { + *pparam = param_vecsi.val; + + int ret = do_ioctl_ptr(RTC_PARAM_GET, pparam); + printf("ioctl(-1, RTC_PARAM_GET, %s => ", param_vecsi.get_in); + if (ret < 0) + printf("%p", pparam); + else + printf("%s", param_vecsi.get_out); + printf(") = %s\n", errstr); + + do_ioctl_ptr(RTC_PARAM_SET, pparam); + printf("ioctl(-1, RTC_PARAM_SET, %s) = %s\n", + param_vecsi.set, errstr); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp--pidns-translation test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48); do not edit. +. "${srcdir=.}/init.sh" +test_pidns -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-success +ioctl-success.sh -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xabbrev check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48 -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xraw check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f*, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a33 -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success--pidns-translation.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation-Xverbose check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT-REGEX:ioctl(-1, 0x0-9a-f* /\* SECCOMP_IOCTL_NOTIF_RECV \*/, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a65 -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation.c
Added
@@ -0,0 +1,2 @@ +#define PIDNS_TRANSLATION +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success--pidns-translation.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success--pidns-translation check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48); do not edit. +. "${srcdir=.}/init.sh" +check_scno_tampering; test_pidns -einject=ioctl:when=256+:retval=42 -etrace=ioctl "QUIRK:START-OF-TEST-OUTPUT:ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, NULL)" "QUIRK:PROG-ARGS:256 42" -y -a48
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xabbrev +ioctl-success.sh -a42 -y -Xabbrev); do not edit. +set -- -a42 -y -Xabbrev +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xraw +ioctl-success.sh -a27 -y -Xraw); do not edit. +set -- -a27 -y -Xraw +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ioctl_seccomp-y-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success-Xverbose +ioctl-success.sh -a59 -y -Xverbose); do not edit. +set -- -a59 -y -Xverbose +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "ioctl_seccomp-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y-success +ioctl-success.sh -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_PATHS 1 +#include "ioctl_seccomp.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp-y +ioctl.test -a42 -y); do not edit. +set -- -a42 -y +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp.c
Added
@@ -0,0 +1,482 @@ +/* + * Check decoding of SECCOMP_IOCTL_* commands of ioctl syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com>. + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include "pidns.h" +#include "scno.h" + +#include <errno.h> +#include <fcntl.h> +#include <inttypes.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include "kernel_fcntl.h" + +#include <linux/ioctl.h> +#include <linux/seccomp.h> + +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif +#ifndef PRINT_PATHS +# define PRINT_PATHS 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char null_path = "/dev/null"; +static const char zero_path = "/dev/zero"; + +#define NULL_FD 0 +#define ZERO_FD 42 + +#if PRINT_PATHS +# define PATH_FMT "<%s>" +#else +# define PATH_FMT "%s" +#endif + +/** + * Generate an ioctl command with a different direction based + * on the existing one. + */ +#define IOC_ANOTHER_DIR(nr_, dir_) \ + _IOC(dir_, _IOC_TYPE(nr_), _IOC_NR(nr_), _IOC_SIZE(nr_)) + +static const char *errstr; + +static long +sys_ioctl(kernel_long_t fd, kernel_ulong_t cmd, kernel_ulong_t arg) +{ + const long rc = syscall(__NR_ioctl, fd, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +int +main(int argc, char **argv) +{ + static const struct { + uint32_t val; + const char *str; + } dirs = { + { ARG_STR(_IOC_NONE) }, + { ARG_STR(_IOC_READ) }, + { ARG_STR(_IOC_WRITE) }, + { ARG_STR(_IOC_READ|_IOC_WRITE) }, + }; + static const kernel_ulong_t magic = + (kernel_ulong_t) 0xdeadbeefbadc0dedULL; + long rc; + + PIDNS_TEST_INIT; + + /* + * Start of output marker. printf is in front of ioctl() here because + * musl calls an ioctl before the first output to stdout, specifically, + * ioctl(TIOCGWINSZ) in src/stdio/__stdout_write.c:__stdout_write. + */ + pidns_print_leader(); + errno = EBADF; + printf("ioctl(-1, " XLAT_FMT ", NULL) = -1 EBADF (%m)\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + fflush(NULL); + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + + +#if INJECT_RETVAL + if (argc == 1) + return 0; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + unsigned long num_skip = strtoul(argv1, NULL, 0); + long inject_retval = strtol(argv2, NULL, 0); + bool locked = false; + + if (inject_retval < 0) + error_msg_and_fail("Expected non-negative INJECT_RETVAL, " + "but got %ld", inject_retval); + + for (unsigned long i = 0; i < num_skip; i++) { + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s%s\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + errstr, rc == inject_retval ? " (INJECTED)" : ""); + + if (rc != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) { + error_msg_and_fail("Have not locked on ioctl(-1" + ", SECCOMP_IOCTL_NOTIF_RECV, NULL) " + "returning %lu", inject_retval); + } +#endif /* INJECT_RETVAL */ + + /* Unknown seccomp ioctl */ + for (size_t i = 0; i < ARRAY_SIZE(dirs); i++) { + for (unsigned int j = 0; j < 32; j += 4) { + sys_ioctl(-1, _IOC(dirsi.val, '!', 4, j), magic); + pidns_print_leader(); + printf("ioctl(-1, " + XLAT_KNOWN(%#x, "_IOC(%s, 0x21, 0x4, %#x)") + ", %#lx) = %s" INJ_STR "\n", +#if XLAT_RAW || XLAT_VERBOSE + (unsigned int) _IOC(dirsi.val, '!', 4, j), +#endif +#if !XLAT_RAW + dirsi.str, j, +#endif + (unsigned long) magic, errstr); + } + } + + + /* SECCOMP_IOCTL_NOTIF_RECV */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif, notif); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV), + (char *) notif + 1, errstr); + + memset(notif, 0, sizeof(*notif)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + if (rc >= 0) { + printf("{id=0, pid=0, flags=0, data={nr=0, arch=" + XLAT_UNKNOWN(0, "AUDIT_ARCH_???") + ", instruction_pointer=NULL, args=0, 0, 0, 0, 0, 0}}"); + } else { + printf("%p", notif); + } + printf(") = %s" INJ_STR "\n", errstr); + + notif->id = 0xdeadc0debadc0dedULL; + notif->pid = getpid(); + notif->flags = 0xdeefaced; + notif->data.nr = 0xbad5ca11; + notif->data.arch = 0xfeedface; + notif->data.instruction_pointer = (uintptr_t) sys_ioctl; + for (size_t i = 0; i < ARRAY_SIZE(notif->data.args); i++) + notif->data.argsi = 0xdeadfacebadc0dedULL ^ i; +#define ARGS_STR "args=0xdeadfacebadc0ded, 0xdeadfacebadc0dec" \ + ", 0xdeadfacebadc0def, 0xdeadfacebadc0dee" \ + ", 0xdeadfacebadc0de9, 0xdeadfacebadc0de8" \ + /* End of ARGS_STR definition */ + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0xdeadc0debadc0ded, pid=%d%s" + ", flags=0xdeefaced, data={nr=3134573073, arch=" + XLAT_UNKNOWN(0xfeedface, "AUDIT_ARCH_???") + ", instruction_pointer=%p, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), sys_ioctl); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); + +#ifdef CUR_AUDIT_ARCH + notif->id = 0; + notif->flags = 0; + notif->data.nr = __NR_gettid; + notif->data.arch = CUR_AUDIT_ARCH; + notif->data.instruction_pointer = 0; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=" XLAT_FMT_U + ", arch=%s, instruction_pointer=NULL, " ARGS_STR + "}}", + getpid(), pidns_pid2str(PT_TGID), + XLAT_ARGS(__NR_gettid), + sprintxval(audit_arch, CUR_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# if defined(PERS0_AUDIT_ARCH) + notif->data.nr = PERS0__NR_gettid; + notif->data.arch = PERS0_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(M32_AUDIT_ARCH) + notif->data.nr = M32__NR_gettid; + notif->data.arch = M32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + notif->data.nr = MX32__NR_gettid; + notif->data.arch = MX32_AUDIT_ARCH; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_RECV, (uintptr_t) notif); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", ", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_RECV)); + for (size_t i = 0; i < 2; i++) { + if (i) + printf(" => "); + if (!i || (rc >= 0)) { + printf("{id=0, pid=%d%s, flags=0, data={nr=%u" + NRAW(" /* gettid */") ", arch=%s" + ", instruction_pointer=NULL, " ARGS_STR "}}", + getpid(), pidns_pid2str(PT_TGID), + MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, + "AUDIT_ARCH_???")); + } else { + printf("%p", notif); + } + } + printf(") = %s" INJ_STR "\n", errstr); +# endif +#endif /* CUR_AUDIT_ARCH */ + + + /* SECCOMP_IOCTL_NOTIF_SEND */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_resp, resp); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + (char *) resp + 1, errstr); + + memset(resp, 0, sizeof(*resp)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, val=0, error=0, flags=0}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->id = 0xdeadc0debadc0dedULL; + resp->val = 0xdadfacedbeefdeedULL; + resp->error = 0xbadc0ded; + resp->flags = 0xfacecafe; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=-1159983635, flags=0xfacecafe" + NRAW(" /* SECCOMP_USER_NOTIF_FLAG_??? */") "}) = %s" + INJ_STR "\n", XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), errstr); + + resp->error = -ENOSR; + resp->flags = 1; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_SEND, (uintptr_t) resp); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadc0ded" + ", val=-2675229516524167443, error=" XLAT_FMT_D + ", flags=" XLAT_KNOWN(0x1, "SECCOMP_USER_NOTIF_FLAG_CONTINUE") + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_SEND), + XLAT_SEL(-ENOSR, "-ENOSR"), errstr); + + + /* SECCOMP_IOCTL_NOTIF_ID_VALID */ + static const struct { + uint32_t id; + const char *str; + } id_valid_cmds = { + { ARG_STR(SECCOMP_IOCTL_NOTIF_ID_VALID) }, + { IOC_ANOTHER_DIR(SECCOMP_IOCTL_NOTIF_ID_VALID, _IOC_READ), + "SECCOMP_IOCTL_NOTIF_ID_VALID_WRONG_DIR" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, id); + + for (size_t i = 0; i < ARRAY_SIZE(id_valid_cmds); i++) { + + sys_ioctl(-1, id_valid_cmdsi.id, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + (char *) id + 1, errstr); + + memset(id, 0, sizeof(*id)); + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0) = %s" INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + + *id = 0xdecaffedfacefeedULL; + rc = sys_ioctl(-1, id_valid_cmdsi.id, (uintptr_t) id); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", 0xdecaffedfacefeed) = %s" + INJ_STR "\n", + XLAT_SEL(id_valid_cmdsi.id, id_valid_cmdsi.str), + errstr); + } + + + /* SECCOMP_IOCTL_NOTIF_ADDFD */ + TAIL_ALLOC_OBJECT_CONST_PTR(struct seccomp_notif_addfd, addfd); + + close(0); + int fd = open(null_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (fd != NULL_FD) { + if (dup2(fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(fd, NULL_FD)"); + close(fd); + } + + fd = open(zero_path, O_RDONLY); + if (fd < 0) + perror_msg_and_fail("open(\"%s\")", zero_path); + if (fd != ZERO_FD) { + if (dup2(fd, ZERO_FD) < 0) + perror_msg_and_fail("dup2(fd, ZERO_FD)"); + close(fd); + } + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, 0); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), errstr); + + sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd + 1); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + (char *) addfd + 1, errstr); + + memset(addfd, 0, sizeof(*addfd)); + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0, flags=0, srcfd=0" PATH_FMT + ", newfd=0, newfd_flags=0}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + PRINT_PATHS ? null_path : "", errstr); + + addfd->id = 0xdeadc0debadfacedULL; + addfd->flags = 0xbadc0dec; + addfd->srcfd = 0xdeadface; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_CLOEXEC|O_DSYNC; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=0xbadc0dec" NRAW(" /* SECCOMP_ADDFD_FLAG_??? */") + ", srcfd=-559023410, newfd=-1091567891, newfd_flags=" XLAT_FMT + "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + XLAT_ARGS(O_DSYNC|O_CLOEXEC), errstr); + + addfd->flags = 3; + addfd->srcfd = ZERO_FD; + addfd->newfd = 0xbeeffeed; + addfd->newfd_flags = O_DIRECT; + rc = sys_ioctl(-1, SECCOMP_IOCTL_NOTIF_ADDFD, (uintptr_t) addfd); + pidns_print_leader(); + printf("ioctl(-1, " XLAT_FMT ", {id=0xdeadc0debadfaced" + ", flags=" XLAT_KNOWN(0x3, "SECCOMP_ADDFD_FLAG_SETFD" + "|SECCOMP_ADDFD_FLAG_SEND") + ", srcfd=%d" PATH_FMT ", newfd=-1091567891, newfd_flags=" + XLAT_FMT "}) = %s" INJ_STR "\n", + XLAT_ARGS_U(SECCOMP_IOCTL_NOTIF_ADDFD), + ZERO_FD, PRINT_PATHS ? zero_path : "", + XLAT_ARGS(O_DIRECT), errstr); + + pidns_print_leader(); + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_seccomp.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_seccomp +ioctl.test -a42); do not edit. +set -- -a42 +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_tee.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_tee.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,6 +24,13 @@ #define UUID_SIZE 16 +#ifndef TEE_IOCTL_SHM_MAPPED +# define TEE_IOCTL_SHM_MAPPED 0x1 +#endif +#ifndef TEE_IOCTL_SHM_DMA_BUF +# define TEE_IOCTL_SHM_DMA_BUF 0x2 +#endif + /* Not in mainline. */ struct tee_ioctl_shm_register_fd_data { __s64 fd;
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_termios-v.c
Added
@@ -0,0 +1,2 @@ +#define VERBOSE 1 +#include "ioctl_termios.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_termios-v.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios-v +ioctl.test -v); do not edit. +set -- -v +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_termios.c
Added
@@ -0,0 +1,991 @@ +/* + * Check decoding of struct termio{,s,s2}-related commands of ioctl syscall. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <string.h> +#include <unistd.h> + +#include <linux/fcntl.h> +#include <linux/ioctl.h> +#include <linux/termios.h> +#include <linux/tty.h> + +#include <sys/param.h> + +#include "xlat.h" +#include "xlat/baud_options.h" +#include "xlat/term_line_discs.h" + +#ifndef IBSHIFT +# define IBSHIFT 16 +#endif + +#if defined(__sparc__) \ + || defined(__powerpc__) \ + || defined(__powerpc64__) \ + || defined(__alpha__) \ + || defined(__mips__) \ + || defined(__hppa__) +# define IOCTL_CLASHED 0 +#else +# define IOCTL_CLASHED 1 +#endif + +#define PRINT_FLAG(val_, f_) \ + do { \ + if ((val_ & f_)) { \ + printf("%s%s", sep, #f_); \ + val_ &= ~f_; \ + sep = "|"; \ + } \ + } while (0) + +extern int ioctl (int __fd, unsigned long int __request, ...); + +static void +print_iflag(unsigned int iflag) +{ + const char *sep = ""; + + PRINT_FLAG(iflag, IGNBRK); + PRINT_FLAG(iflag, BRKINT); + PRINT_FLAG(iflag, IGNPAR); + PRINT_FLAG(iflag, PARMRK); + PRINT_FLAG(iflag, INPCK); + PRINT_FLAG(iflag, ISTRIP); + PRINT_FLAG(iflag, INLCR); + PRINT_FLAG(iflag, IGNCR); + PRINT_FLAG(iflag, ICRNL); + PRINT_FLAG(iflag, IUCLC); + PRINT_FLAG(iflag, IXON); + PRINT_FLAG(iflag, IXANY); + PRINT_FLAG(iflag, IXOFF); + PRINT_FLAG(iflag, IMAXBEL); + PRINT_FLAG(iflag, IUTF8); + if (iflag) + printf("%s%#x", sep, iflag); +} + +static void +print_oflag(unsigned int oflag) +{ + const char *sep = ""; + + static struct { + tcflag_t val; + const char *prefix; + unsigned int max_val; + } vals = { + { NLDLY, "NL", +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + 3 +#else + 1 +#endif + }, + { CRDLY, "CR", 3 }, + { TABDLY, "TAB", 3 }, + { BSDLY, "BS", 1 }, + { VTDLY, "VT", 1 }, + { FFDLY, "FF", 1 }, + }; + + for (unsigned int i = 0; i < ARRAY_SIZE(vals); i++) { + int val = (oflag & valsi.val) / + (valsi.val / valsi.max_val); +#if !defined __alpha__ + if (i == 2 && val == 3) /* XTABS */ + printf("XTABS|"); + else +#endif + printf("%s%u|", valsi.prefix, val); + oflag &= ~valsi.val; + } + + sep = ""; + PRINT_FLAG(oflag, OPOST); + PRINT_FLAG(oflag, OLCUC); + PRINT_FLAG(oflag, ONLCR); + PRINT_FLAG(oflag, OCRNL); + PRINT_FLAG(oflag, ONOCR); + PRINT_FLAG(oflag, ONLRET); + PRINT_FLAG(oflag, OFILL); + PRINT_FLAG(oflag, OFDEL); +#ifdef PAGEOUT + PRINT_FLAG(oflag, PAGEOUT); +#endif +#ifdef WRAP + PRINT_FLAG(oflag, WRAP); +#endif + if (oflag) + printf("%s%#x", sep, oflag); +} + +static void +print_cflag(unsigned int cflag) +{ + const char *sep = ""; + + printxval(baud_options, cflag & CBAUD, "B???"); + printf("|"); +#if defined IBSHIFT && defined CIBAUD + if (cflag & CIBAUD) { + printxval(baud_options, (cflag & CIBAUD) >> IBSHIFT, "B???"); + printf("<<IBSHIFT|"); + } + cflag &= ~CIBAUD; +#endif + switch (cflag & CSIZE) { + case CS5: + printf("CS5|"); + break; + case CS6: + printf("CS6|"); + break; + case CS7: + printf("CS7|"); + break; + case CS8: + printf("CS8|"); + break; + } + cflag &= ~(CBAUD | CSIZE); + + PRINT_FLAG(cflag, CSTOPB); + PRINT_FLAG(cflag, CREAD); + PRINT_FLAG(cflag, PARENB); + PRINT_FLAG(cflag, PARODD); + PRINT_FLAG(cflag, HUPCL); + PRINT_FLAG(cflag, CLOCAL); +#ifdef CTVB + PRINT_FLAG(cflag, CTVB); +#endif +#ifdef CMSPAR + PRINT_FLAG(cflag, CMSPAR); +#endif +#ifdef CRTSCTS + PRINT_FLAG(cflag, CRTSCTS); +#endif + if (cflag) + printf("%s%#x", sep, cflag); +} + +static void +print_lflag(unsigned int lflag) +{ + const char *sep = ""; + + PRINT_FLAG(lflag, ISIG); + PRINT_FLAG(lflag, ICANON); + PRINT_FLAG(lflag, XCASE); + PRINT_FLAG(lflag, ECHO); + PRINT_FLAG(lflag, ECHOE); + PRINT_FLAG(lflag, ECHOK); + PRINT_FLAG(lflag, ECHONL); + PRINT_FLAG(lflag, NOFLSH); + PRINT_FLAG(lflag, IEXTEN); + PRINT_FLAG(lflag, ECHOCTL); + PRINT_FLAG(lflag, ECHOPRT); + PRINT_FLAG(lflag, ECHOKE); + PRINT_FLAG(lflag, FLUSHO); + PRINT_FLAG(lflag, PENDIN); + PRINT_FLAG(lflag, TOSTOP); +#ifdef EXTPROC + PRINT_FLAG(lflag, EXTPROC); +#endif +#ifdef DEFECHO + PRINT_FLAG(lflag, DEFECHO); +#endif + if (lflag) + printf("%s%#x", sep, lflag); +} + +static void +print_flags(unsigned int iflag, unsigned int oflag, + unsigned int cflag, unsigned int lflag) +{ + printf("c_iflag="); + print_iflag(iflag); + printf(", c_oflag="); + print_oflag(oflag); + printf(", c_cflag="); + print_cflag(cflag); + printf(", c_lflag="); + print_lflag(lflag); +} + +#define cc_def_(cc_) \ + cc_ = #cc_ + +#if VERBOSE +static void +print_termios_cc(const cc_t *ccs, size_t size, bool tios) +{ + static const char * const cc_tio_names = { +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + cc_def_(_VMIN), + cc_def_(_VTIME), + cc_def_(_VINTR), + cc_def_(_VQUIT), + cc_def_(_VERASE), + cc_def_(_VKILL), + cc_def_(_VEOF), + cc_def_(_VEOL), + cc_def_(_VEOL2), + cc_def_(_VSWTC), +# endif + }; + + static const char * const cc_tios_names = { + cc_def_(VMIN), + cc_def_(VTIME), + + cc_def_(VINTR), + cc_def_(VQUIT), + cc_def_(VERASE), + cc_def_(VKILL), + cc_def_(VEOL2), + cc_def_(VSWTC), + cc_def_(VSTART), + cc_def_(VSTOP), + cc_def_(VSUSP), + cc_def_(VREPRINT), + cc_def_(VDISCARD), + cc_def_(VWERASE), + cc_def_(VLNEXT), +# ifndef __sparc__ /* on sparc VMIN == VEOF and VTIME == VEOL */ + cc_def_(VEOF), + cc_def_(VEOL), +# endif +# ifdef VDSUSP + cc_def_(VDSUSP), +# endif + }; + + printf("c_cc="); + + for (size_t i = 0; i < size; i++) { + bool has_name = tios ? + (i < ARRAY_SIZE(cc_tios_names)) && cc_tios_namesi : +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + (i < ARRAY_SIZE(cc_tio_names)) && cc_tio_namesi; +# else + false; +# endif + const char *name = has_name ? + (tios ? cc_tios_names : cc_tio_names)i : ""; + + if (has_name) + printf("%s%s=%#hhx", i ? ", " : "", name, ccsi); + else + printf("%s%zu=%#hhx", i ? ", " : "", i, ccsi); + } + + printf(""); +} +#endif /* VERBOSE */ + +#ifdef HAVE_STRUCT_TERMIOS2 +static void +print_termios2(void *tios_ptr) +{ + struct termios2 *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +# if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + + printf(", c_ispeed=%u, c_ospeed=%u", tios->c_ispeed, tios->c_ospeed); +# else /* !VERBOSE */ + printf("..."); +# endif /* VERBOSE */ + + printf("}"); +} +#endif + +static void +print_termios(void *tios_ptr) +{ + struct termios *tios = tios_ptr; + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, sizeof(tios->c_cc), true); + +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + printf(", c_ispeed=%u", tios->c_ispeed); +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + printf(", c_ospeed=%u", tios->c_ospeed); +# endif +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +print_termio(void *tios_ptr) +{ + struct termio *tios = tios_ptr; + +#if VERBOSE +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + const bool alpha = true; +# else + const bool alpha = false; +# endif +#endif /* VERBOSE */ + + printf("{"); + print_flags(tios->c_iflag, tios->c_oflag, tios->c_cflag, tios->c_lflag); + + printf(", "); + +#if VERBOSE + printf("c_line="); + printxval(term_line_discs, zero_extend_signed_to_ull(tios->c_line), + "N_???"); + printf(", "); + + print_termios_cc(tios->c_cc, MIN(NCC, sizeof(tios->c_cc)), !alpha); +#else /* !VERBOSE */ + printf("..."); +#endif /* VERBOSE */ + + printf("}"); +} + +static void +do_ioctl(kernel_ulong_t cmd, const char *cmd_str, int fd, + void (*printer)(void *data), kernel_ulong_t data_ptr, bool valid, + bool write, const char *data_str, bool can_fail) +{ + long ret = 0; + long saved_errno = 0; + void *data = (void *) (uintptr_t) data_ptr; + + if (!write) { + ret = ioctl(fd, cmd, data_ptr); + saved_errno = errno; + } + + printf("ioctl(%d, %s, ", fd, cmd_str); + + if (valid && !ret) { + if (data_str) + printf("%s", data_str); + else + printer(data); + } else { + if (data) + printf("%#llx", (unsigned long long) data_ptr); + else + printf("NULL"); + } + + if (write) { + ret = ioctl(fd, cmd, data_ptr); + + if (valid && ret && !can_fail) + perror_msg_and_fail("ioctl(%d, %#llx, %#llx) = -1", + fd, (unsigned long long) cmd, + (unsigned long long) data_ptr); + } else { + errno = saved_errno; + } + + printf(") = %s\n", sprintrc(ret)); + +} + +#ifdef HAVE_STRUCT_TERMIOS2 +static const char * +setup_termios2(void *tios_ptr, int variant) +{ + struct termios2 *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +# ifdef PAGEOUT + PAGEOUT| +# endif + 0xbad00000; + tios->c_cflag = B75 +# if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +# endif + |CS6|CSTOPB| +# ifdef CTVB + CTVB| +# endif +# ifdef CMSPAR + CMSPAR| +# endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +# ifdef DEFECHO + DEFECHO| +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +# else + 0xfee00000 +# endif + ; + + tios->c_line = N_IRDA; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + + tios->c_ispeed = 3141592653U; + tios->c_ospeed = 2718281828U; + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +# ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +# else /* !__alpha__ */ + "XTABS" +# endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +# ifdef PAGEOUT + "PAGEOUT|" +# endif +# if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +# else + "0xbad00000, " +# endif + "c_cflag=B75" +# if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +# endif + "|CS6|CSTOPB" +# ifdef CTVB + "|CTVB" +# endif +# ifdef CMSPAR + "|CMSPAR" +# endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +# ifdef __sparc__ + "EXTPROC|" +# endif +# ifdef DEFECHO + "DEFECHO|" +# endif +# if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +# elif defined __sparc__ + "0xf0e0000, " +# else + "0xfee00000, " +# endif +# if VERBOSE + "c_line=N_IRDA, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0, 17=0, 18=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif + ", c_ispeed=3141592653, c_ospeed=2718281828" +# else /* !VERBOSE */ + "..." +# endif /* VERBOSE */ + "}"; + } + + return NULL; +} +#endif + +static const char * +setup_termios(void *tios_ptr, int variant) +{ + struct termios *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = IGNBRK|IUTF8|0xdead0000; + tios->c_oflag = NL0|CR2|XTABS|BS0|VT1|FF0|OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0xbad00000; + tios->c_cflag = B75 +#if defined IBSHIFT && defined CIBAUD + |(B57600<<IBSHIFT) +#endif + |CS6|CSTOPB| +#ifdef CTVB + CTVB| +#endif +#ifdef CMSPAR + CMSPAR| +#endif + 0; + tios->c_lflag = ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ || defined __sparc__ + 0xf0f0000 +#else + 0xfee00000 +#endif + ; + + tios->c_line = N_AX25; + + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVLNEXT = 0xff; + tios->c_ccVSWTC = 0x2a; + +#ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + tios->c_ispeed = 3141592653U; +#endif +#ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + tios->c_ospeed = 2718281828U; +#endif + + return "{c_iflag=IGNBRK|IUTF8|0xdead0000, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else /* !__alpha__ */ + "XTABS" +#endif + "|BS0|VT1|FF0|OPOST|ONLCR|OFILL|" +#ifdef PAGEOUT + "PAGEOUT|" +#endif +#if defined __alpha__ && XTABS != TAB3 + "0xbad40000, " +#else + "0xbad00000, " +#endif + "c_cflag=B75" +#if defined IBSHIFT && defined CIBAUD + "|B57600<<IBSHIFT" +#endif + "|CS6|CSTOPB" +#ifdef CTVB + "|CTVB" +#endif +#ifdef CMSPAR + "|CMSPAR" +#endif + ", " + "c_lflag=ISIG|ECHOE|FLUSHO|" +#ifdef __sparc__ + "EXTPROC|" +#endif +#ifdef DEFECHO + "DEFECHO|" +#endif +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "0xf0f0000, " +#elif defined __sparc__ + "0xf0e0000, " +#else + "0xfee00000, " +#endif +#if VERBOSE + "c_line=N_AX25, " +# if defined __alpha__ + "c_cc=VEOF=0, VEOL=0, VEOL2=0, " + "VERASE=0, VWERASE=0, VKILL=0, " + "VREPRINT=0x89, VSWTC=0x2a, VINTR=0, " + "VQUIT=0, VSUSP=0, 11=0, VSTART=0, " + "VSTOP=0, VLNEXT=0xff, VDISCARD=0, " + "VMIN=0x89, VTIME=0xa0, 18=0" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, 11=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, VEOF=0, VEOL=0, 18=0, " + "19=0, 20=0, 21=0, 22=0" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VMIN=0x89, " + "VEOL=0, VTIME=0xa0, VEOL2=0, " + "VSWTC=0x2a, VWERASE=0, VREPRINT=0, " + "VSUSP=0, VSTART=0, VSTOP=0, " + "VLNEXT=0xff, VDISCARD=0, 17=0, 18=0" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VDSUSP=0, " + "VREPRINT=0, VDISCARD=0, VWERASE=0, " + "VLNEXT=0xff, 16=0" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a, VSTART=0, " + "VSTOP=0, VSUSP=0, VEOL=0, VREPRINT=0, " + "VDISCARD=0, VWERASE=0, VLNEXT=0xff, " + "VEOL2=0, 17=0, 18=0" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_ISPEED + ", c_ispeed=3141592653" +# endif +# ifdef HAVE_STRUCT_TERMIOS_C_OSPEED + ", c_ospeed=2718281828" +# endif +#else /* !VERBOSE */ + "..." +#endif /* VERBOSE */ + "}"; + } + + return NULL; +} + +static const char * +setup_termio(void *tios_ptr, int variant) +{ + struct termio *tios = tios_ptr; + + switch (variant) { + case 0: + fill_memory(tios, sizeof(*tios)); + return NULL; + + case 1: + fill_memory_ex(tios, sizeof(*tios), 0xA5, 0x5A); + return NULL; + + case 2: + memset(tios, 0, sizeof(*tios)); + + tios->c_iflag = (unsigned short) (IGNBRK|IUTF8); + tios->c_oflag = (unsigned short) (NL0|CR2|XTABS|BS0|VT1|FF0| + OPOST|ONLCR|OFILL| +#ifdef PAGEOUT + PAGEOUT| +#endif + 0); + tios->c_cflag = (unsigned short) (B75|CS6|CSTOPB); + tios->c_lflag = (unsigned short) (ISIG|ECHOE|FLUSHO| +#ifdef DEFECHO + DEFECHO| +#endif + 0); + + tios->c_line = 234; + +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + tios->c_cc_VTIME = 0xa0; + tios->c_cc_VMIN = 0x89; + tios->c_cc_VSWTC = 0x2a; +#else + tios->c_ccVTIME = 0xa0; + tios->c_ccVMIN = 0x89; + tios->c_ccVSWTC = 0x2a; +#endif + + return "{c_iflag=IGNBRK|IUTF8, " + "c_oflag=NL0|CR2|" +#ifdef __alpha__ +# if TAB3 == XTABS + "TAB3" +# else + "TAB0" +# endif +#else + "XTABS" +#endif + "|BS0" +#if defined __alpha__ || defined __powerpc__ || defined __powerpc64__ + "|VT0" +#else + "|VT1" +#endif + "|FF0|OPOST|ONLCR|OFILL" +#if defined PAGEOUT && !defined __sparc__ + "|PAGEOUT" +#endif + ", " + "c_cflag=B75|CS6|CSTOPB, " + "c_lflag=ISIG|ECHOE" +/* the value is too big for termio lflag */ +#if !(defined __alpha__ || defined __powerpc__ || defined __powerpc64__) + "|FLUSHO" +#endif +#ifdef DEFECHO + "|DEFECHO" +#endif + ", " +#if VERBOSE + "c_line=0xea /* N_??? */, " +# if defined __alpha__ + "c_cc=_VEOF=0, _VEOL=0, _VEOL2=0, " + "_VERASE=0, _VWERASE=0, _VKILL=0, " + "_VREPRINT=0x89, _VSWTC=0x2a" +# elif defined __mips__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# elif defined __powerpc__ || defined __powerpc64__ + "c_cc=_VINTR=0, _VQUIT=0, _VERASE=0, " + "_VKILL=0, _VEOF=0, _VMIN=0x89, " + "_VEOL=0, _VTIME=0xa0, _VEOL2=0, " + "_VSWTC=0x2a" +# elif defined __sparc__ + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VMIN=0x89, VTIME=0xa0, " + "VEOL2=0, VSWTC=0x2a" +# else + "c_cc=VINTR=0, VQUIT=0, VERASE=0, " + "VKILL=0, VEOF=0, VTIME=0xa0, " + "VMIN=0x89, VSWTC=0x2a" +# endif +#else /* !VERBOSE */ + "..." +#endif + "}"; + } + + return NULL; +} + +int +main(void) +{ + int ret; + + struct termio *tio = tail_alloc(sizeof(*tio)); + struct termios *tios1 = tail_alloc(sizeof(*tios1)); +#ifdef HAVE_STRUCT_TERMIOS2 + struct termios2 *tios2 = tail_alloc(sizeof(*tios2)); +#endif + + struct { + struct { + kernel_ulong_t cmd; + const char *cmd_str; + bool write; + bool can_fail; + } cmds6; + struct { + kernel_ulong_t data; + const char *data_str; + bool valid; + } args4; /* The last one should be valid */ + void (*printer)(void *data); + const char * (*setup)(void *data, int variant); + unsigned int setup_variants; + } checks = { +#ifdef HAVE_STRUCT_TERMIOS2 + { + { + { ARG_STR(TCSETS2), true }, + { ARG_STR(TCSETSW2), true }, + { ARG_STR(TCSETSF2), true }, + { ARG_STR(TCGETS2), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios2 + 1), NULL, false }, + { (uintptr_t) tios2 + 4, NULL, false }, + { (uintptr_t) tios2, NULL, true }, + }, + print_termios2, setup_termios2, 3 + }, +#endif + { + { + /* XXX */ + { TCSETS, +#if IOCTL_CLASHED + "SNDCTL_TMR_START or " +#endif + "TCSETS", true }, + { TCSETSW, +#if IOCTL_CLASHED + "SNDCTL_TMR_STOP or " +#endif + "TCSETSW", true }, + { TCSETSF, +#if IOCTL_CLASHED + "SNDCTL_TMR_CONTINUE or " +#endif + "TCSETSF", true }, + + { ARG_STR(TCGETS), false }, + { ARG_STR(TIOCSLCKTRMIOS), true, true }, + { ARG_STR(TIOCGLCKTRMIOS), false, true }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tios1 + 1), NULL, false }, + { (uintptr_t) tios1 + 4, NULL, false }, + { (uintptr_t) tios1, NULL, true }, + }, + print_termios, setup_termios, 3 + }, + { + { + { ARG_STR(TCSETA), true }, + { ARG_STR(TCSETAW), true }, + { ARG_STR(TCSETAF), true }, + { ARG_STR(TCGETA), false }, + }, + { + { (uintptr_t) ARG_STR(NULL), false }, + { (uintptr_t) (tio + 1), NULL, false }, + { (uintptr_t) tio + 4, NULL, false }, + { (uintptr_t) tio, NULL, true }, + }, + print_termio, setup_termio, 3 + }, + }; + + static const char ptmx = "/dev/ptmx"; + /* + * The libc function is not available because <linux/fcntl.h> + * is included instead of <fcntl.h>. + */ + ret = syscall(__NR_openat, -100, ptmx, O_RDWR|O_NOCTTY); + if (ret < 0) + perror_msg_and_skip("open: %s", ptmx); + + for (size_t i = 0; i < ARRAY_SIZE(checks); i++) { + const char *last_arg_str = NULL; + + for (size_t j = 0; j < ARRAY_SIZE(checks0.cmds); j++) { + size_t k = 0, l = 0; + bool end = false; + bool write = checksi.cmdsj.write; + + if (!checksi.cmdsj.cmd_str) + continue; + + while (true) { + if (write && checksi.argsk.valid) + last_arg_str = checksi.setup( + (void *) (uintptr_t) (checksi.argsk.data), + l); + + do_ioctl(checksi.cmdsj.cmd, + checksi.cmdsj.cmd_str, + ret, + checksi.printer, + checksi.argsk.data, + checksi.argsk.valid, + write, last_arg_str, + checksi.cmdsj.can_fail); + + if (k < (ARRAY_SIZE(checks0.args) - 1)) + k++; + else if (write && (l < checksi.setup_variants)) + l++; + else if (!write && (l < 1)) + l++; + else + end = true; + + if (end) + break; + } + } + } + + puts("+++ exited with 0 +++"); + + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_termios.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_termios +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_tiocm.c
Added
@@ -0,0 +1,104 @@ +/* + * Check decoding of ioctl TIOCM* commands. + * + * Copyright (c) 2020-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <errno.h> +#include <stdio.h> +#include <sys/ioctl.h> + +static const char *errstr; + +static int +do_ioctl(kernel_ulong_t cmd, kernel_ulong_t arg) +{ + int rc = ioctl(-1, cmd, arg); + errstr = sprintrc(rc); + return rc; +} + +static int +do_ioctl_ptr(kernel_ulong_t cmd, const void *arg) +{ + return do_ioctl(cmd, (uintptr_t) arg); +} + +int +main(int argc, const char *argv) +{ + static const struct { + uint32_t cmd; + const char *str; + bool on_enter; + bool on_exit; + } cmds = { + { ARG_STR(TIOCMGET), false, true }, + { ARG_STR(TIOCMBIS), true, false }, + { ARG_STR(TIOCMBIC), true, false }, + { ARG_STR(TIOCMSET), true, false }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, p_flags); + const void *const efault = p_flags + 1; + + for (size_t i = 0; i < ARRAY_SIZE(cmds); ++i) { + do_ioctl(cmdsi.cmd, 0); + printf("ioctl(-1, " XLAT_FMT ", NULL) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), errstr); + + do_ioctl_ptr(cmdsi.cmd, efault); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + efault, errstr); + +#ifdef __mips__ +# define VALID_FLAGS 0xe777 +# define INVALID_FLAGS 0xffff1888 +#else +# define VALID_FLAGS 0xe1ff +# define INVALID_FLAGS 0xffff1e00 +#endif + *p_flags = INVALID_FLAGS; + + if (cmdsi.on_enter) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_UNKNOWN(INVALID_FLAGS, "TIOCM_???"), + errstr); + + *p_flags = ~*p_flags; + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %s) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + XLAT_KNOWN(VALID_FLAGS, + "TIOCM_LE|" + "TIOCM_DTR|" + "TIOCM_RTS|" + "TIOCM_ST|" + "TIOCM_SR|" + "TIOCM_CTS|" + "TIOCM_CAR|" + "TIOCM_RNG|" + "TIOCM_DSR|" + "TIOCM_OUT1|" + "TIOCM_OUT2|" + "TIOCM_LOOP"), + errstr); + } else if (cmdsi.on_exit) { + do_ioctl_ptr(cmdsi.cmd, p_flags); + printf("ioctl(-1, " XLAT_FMT ", %p) = %s\n", + XLAT_SEL(cmdsi.cmd, cmdsi.str), + p_flags, errstr); + } + + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_tiocm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_tiocm +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ioctl_v4l2.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ioctl_v4l2.c
Changed
@@ -51,8 +51,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - f->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; f->fmt.pix_mp.width = 0x1f3b774b; f->fmt.pix_mp.height = 0xab96a8d6; @@ -64,7 +62,7 @@ f->fmt.pix_mp.colorspace = V4L2_COLORSPACE_JPEG; struct v4l2_plane_pix_format *cur_pix = f->fmt.pix_mp.plane_fmt; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.pix_mp.plane_fmt); i++) { cur_pixi.sizeimage = 0x1e3c531c | i; @@ -126,11 +124,9 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i; - f->fmt.sliced.service_set = V4L2_SLICED_VPS; f->fmt.sliced.io_size = 0xd897925a; - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines0); i++) { f->fmt.sliced.service_lines0i = 0xc38e | i; @@ -201,8 +197,6 @@ break; case V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE: case V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE: { - unsigned int i; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT @@ -229,7 +223,7 @@ ", plane_fmt=", XLAT_ARGS(V4L2_FIELD_NONE), XLAT_ARGS(V4L2_COLORSPACE_JPEG)); - for (i = 0; + for (unsigned int i = 0; i < (buf_type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ? 1 : ARRAY_SIZE(f->fmt.pix_mp.plane_fmt)); ++i) { @@ -321,8 +315,6 @@ break; case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: case V4L2_BUF_TYPE_SLICED_VBI_OUTPUT: { - unsigned int i, j; - saved_errno = errno; printf("ioctl(-1, " XLAT_FMT ", {type=" XLAT_FMT ", fmt.sliced={service_set=" XLAT_FMT @@ -330,15 +322,15 @@ XLAT_SEL(reqval, reqstr), XLAT_SEL(buf_type, buf_type_string), XLAT_ARGS(V4L2_SLICED_VPS)); - for (i = 0; + for (unsigned int i = 0; i < ARRAY_SIZE(f->fmt.sliced.service_lines); - i++) { + ++i) { if (i > 0) printf(", "); printf(""); - for (j = 0; + for (unsigned int j = 0; j < ARRAY_SIZE(f->fmt.sliced.service_lines0); - j++) { + ++j) { if (j > 0) printf(", "); printf("%#x",
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_winsize.c
Added
@@ -0,0 +1,43 @@ +/* + * Check decoding of ioctl TIOCGSWINSZ commands. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/ioctl.h> + +int +main(void) +{ + int rc; + + rc = ioctl(-1, TIOCGWINSZ, 0); + printf("ioctl(-1, TIOCGWINSZ, NULL) = %s\n", sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, 0); + printf("ioctl(-1, TIOCSWINSZ, NULL) = %s\n", sprintrc(rc)); + + TAIL_ALLOC_OBJECT_CONST_PTR(struct winsize, ws); + const void *const efault = ws + 1; + fill_memory(ws, sizeof(*ws)); + + rc = ioctl(-1, TIOCSWINSZ, efault); + printf("ioctl(-1, TIOCSWINSZ, %p) = %s\n", efault, sprintrc(rc)); + + rc = ioctl(-1, TIOCGWINSZ, ws); + printf("ioctl(-1, TIOCGWINSZ, %p) = %s\n", ws, sprintrc(rc)); + + rc = ioctl(-1, TIOCSWINSZ, ws); + printf("ioctl(-1, TIOCSWINSZ, {ws_row=%u, ws_col=%u" + ", ws_xpixel=%u, ws_ypixel=%u}) = %s\n", + ws->ws_row, ws->ws_col, ws->ws_xpixel, ws->ws_ypixel, + sprintrc(rc)); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ioctl_winsize.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ioctl_winsize +ioctl.test ); do not edit. +set -- +. "${srcdir=.}/ioctl.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ip_mreq.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ip_mreq.c
Changed
@@ -28,7 +28,6 @@ { TAIL_ALLOC_OBJECT_CONST_PTR(struct ip_mreq, m4); TAIL_ALLOC_OBJECT_CONST_PTR(struct ipv6_mreq, m6); - unsigned int i; int rc; inet_pton(AF_INET, multi4addr, &m4->imr_multiaddr); @@ -94,7 +93,7 @@ } }; - for (i = 0; i < ARRAY_SIZE(opts); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(opts); ++i) { /* optlen < 0, EINVAL */ rc = setsockopt(0, optsi.level, optsi.name, optsi.val, -1);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ipc.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ipc.c
Changed
@@ -66,8 +66,7 @@ perror_msg_and_skip("ipc"); printf("semctl(0, 0, IPC_RMID, %p) = -1 EFAULT (%m)\n", efault); - unsigned short call; - for (call = 0; call <= 40; call += 10) { + for (unsigned short call = 0; call <= 40; call += 10) { ipc_call0(0, call); ipc_call0(42, call); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ipc_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ipc_msg.c
Changed
@@ -55,8 +55,13 @@ * Starting with commit glibc-2.32.9000-149-gbe9b0b9a012780a403a2, * glibc skips msgctl syscall invocations and returns EINVAL * for invalid msgctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_MSGCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ipc_sem.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ipc_sem.c
Changed
@@ -1,7 +1,7 @@ /* * Copyright (c) 2015 Andreas Schwab <schwab@suse.de> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2020 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,8 +27,13 @@ * Starting with commit glibc-2.32.9000-147-ga16d2abd496bd974a882, * glibc skips semctl syscall invocations and returns EINVAL * for invalid semctl commands. + * + * Apparently, this change was later backported to vendor packages, e.g.: + * Thu Mar 18 2021 Carlos O'Donell <carlos@redhat.com> - 2.28-153 + * - Support SEM_STAT_ANY via semctl. Return EINVAL for unknown commands + * to semctl, msgctl, and shmctl. (#1912670) */ -#if GLIBC_PREREQ_GE(2, 32) +#if GLIBC_PREREQ_GE(2, 28) # define TEST_SEMCTL_BOGUS_CMD 0 #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kcmp.c -> _service:tar_scm:strace-6.1.tar.xz/tests/kcmp.c
Changed
@@ -147,7 +147,6 @@ F8ILL_KULONG_SUPPORTED ? F8ILL_KULONG_MASK : 0; int fd; - unsigned i; TAIL_ALLOC_OBJECT_CONST_PTR(struct kcmp_epoll_slot, slot); /* Open some files to test printpidfd */ @@ -196,7 +195,7 @@ do_kcmp(-1, -1, ARG_STR(KCMP_EPOLL_TFD), 3141592653U, (uintptr_t) slot + 1, 0); - for (i = 0; i < ARRAY_SIZE(slot_data); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(slot_data); ++i) { memcpy(slot, slot_data + i, sizeof(*slot)); do_kcmp(getpid(), -1, ARG_STR(KCMP_EPOLL_TFD), NULL_FD,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kernel_version.c -> _service:tar_scm:strace-6.1.tar.xz/tests/kernel_version.c
Changed
@@ -71,7 +71,8 @@ ", line_info=NULL" ", line_info_cnt=0" ", attach_btf_id=0" - ", attach_prog_fd=0}"); + ", attach_prog_fd=0" + ", fd_array=NULL}"); } int
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kexec_file_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests/kexec_file_load.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of kexec_file_load syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2019 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -61,8 +61,6 @@ tail_memdup(cmdline_short_str, sizeof(cmdline_short_str)); char cmdline_ptrsizeof("0x") + sizeof(void *) * 2; char cmdline_short_ptrsizeof("0x") + sizeof(void *) * 2; - unsigned int i; - unsigned int j; struct strval cmdlines = { { (uintptr_t) NULL, "", "", "NULL" }, @@ -81,8 +79,8 @@ snprintf(cmdline_short_ptr, sizeof(cmdline_short_ptr), "%p", cmdline_short); - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(cmdlines); j++) { + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(cmdlines); ++j) { rc = syscall(__NR_kexec_file_load, bogus_kernel_fd, bogus_initrd_fd, cmdline_lensj, cmdlinesj.val, flagsi.val);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kexec_load.c -> _service:tar_scm:strace-6.1.tar.xz/tests/kexec_load.c
Changed
@@ -60,7 +60,6 @@ const char *errstr; long rc; struct segm *segms = tail_alloc(SEGMS_ARRAY_SIZE); - unsigned int i; fill_memory(segms, SEGMS_ARRAY_SIZE); segms0.buf = segms0.mem = NULL; @@ -90,7 +89,7 @@ "memsz=%zu}, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT, segms0.bufsz, segms0.memsz); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -102,7 +101,8 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT_MAX; + i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz); @@ -117,7 +117,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_UNCUT); - for (i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; i++) + for (unsigned int i = NUM_SEGMS - NUM_SEGMS_UNCUT; i < NUM_SEGMS; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}%s", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz, @@ -129,7 +129,7 @@ errstr = sprintrc(rc); printf("kexec_load(%#lx, %lu, ", (unsigned long) bogus_entry, (unsigned long) NUM_SEGMS_CUT); - for (i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; i++) + for (unsigned int i = 1; i < NUM_SEGMS_UNCUT_MAX + 1; ++i) printf("{buf=%p, bufsz=%zu, mem=%p, memsz=%zu}, ", segmsi.buf, segmsi.bufsz, segmsi.mem, segmsi.memsz);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/keyctl-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/keyctl-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -e trace=keyctl -Xabbrev); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xabbrev -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 -e trace=keyctl -Xabbrev +run_strace_match_diff -a31 -s10 -f --signal='!chld' -e trace=keyctl -Xabbrev
View file
_service:tar_scm:strace-5.14.tar.xz/tests/keyctl-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/keyctl-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -e trace=keyctl -Xraw); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xraw -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a13 -s10 -e trace=keyctl -Xraw +run_strace_match_diff -a13 -s10 -f --signal='!chld' -e trace=keyctl -Xraw
View file
_service:tar_scm:strace-5.14.tar.xz/tests/keyctl-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/keyctl-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -e trace=keyctl -Xverbose); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl-Xverbose -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a41 -s10 -e trace=keyctl -Xverbose +run_strace_match_diff -a41 -s10 -f --signal='!chld' -e trace=keyctl -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests/keyctl.c -> _service:tar_scm:strace-6.1.tar.xz/tests/keyctl.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of keyctl syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -21,6 +21,7 @@ #include <string.h> #include <unistd.h> #include <sys/uio.h> +#include <sys/wait.h> #include <linux/keyctl.h> #include "xlat.h" @@ -29,13 +30,15 @@ static const size_t limit = 10; +static pid_t pid; + /* * Well, this is true for DESCRIBE and GET_SECURITY, and false for READ and * DH_COMPUTE and I see no ability to pass this information without * significantly breaking interface. */ -bool nul_terminated_buf = true; -bool buf_in_arg; +static bool nul_terminated_buf = true; +static bool buf_in_arg; /* From ioctl_dm.c */ #define STR32 "AbCdEfGhIjKlMnOpQrStUvWxYz012345" @@ -139,7 +142,6 @@ sizeof(kernel_ulong_t), sizeof(kernel_ulong_t), }; - unsigned i; unsigned cnt = 0; va_list ap; @@ -165,20 +167,20 @@ long rc = syscall(__NR_keyctl, cmd, args0, args1, args2, args3); const char *errstr = sprintrc(rc); #if XLAT_RAW - printf("keyctl(%#x", (unsigned) cmd); + printf("%-5u keyctl(%#x", pid, (unsigned) cmd); #elif XLAT_VERBOSE - printf("keyctl(%#x /* %s */", (unsigned) cmd, cmd_str); + printf("%-5u keyctl(%#x /* %s */", pid, (unsigned) cmd, cmd_str); #else - printf("keyctl(%s", cmd_str); + printf("%-5u keyctl(%s", pid, cmd_str); #endif - for (i = 0; i < cnt; i++) { + for (unsigned int i = 0; i < cnt; ++i) { printf(", "); print_arg(argsi, arg_stri, arg_fmti, arg_szi, rc); } printf(") = %s\n", errstr); } -static int +static int ATTRIBUTE_FORMAT((__printf__, 3, 4)) append_str(char **buf, size_t *left, const char *fmt, ...) { int ret; @@ -212,7 +214,7 @@ } else if (!kdf->hashname) { append_str(&pos, &left, "NULL"); } else if (deref_hash) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->hashname); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->hashname); if (strnlen(kdf->hashname, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -227,7 +229,7 @@ } else if (!kdf->otherinfo) { append_str(&pos, &left, "NULL"); } else if (deref_oi) { - append_str(&pos, &left, "\"%.*s\"", limit, kdf->otherinfo); + append_str(&pos, &left, "\"%.*s\"", (int) limit, kdf->otherinfo); if (strnlen(kdf->otherinfo, limit + 1) > limit) append_str(&pos, &left, "..."); @@ -238,11 +240,9 @@ append_str(&pos, &left, ", otherinfolen=%u", kdf->otherinfolen); if (print_spare) { - size_t i; - append_str(&pos, &left, ", __spare="); - for (i = 0; i < ARRAY_SIZE(kdf->__spare); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kdf->__spare); ++i) { if (i) append_str(&pos, &left, ", "); @@ -305,6 +305,23 @@ int main(void) { + pid = fork(); + if (pid < 0) + perror_msg_and_fail("fork"); + if (pid) { + int s; + pid_t rc; + while ((rc = waitpid(pid, &s, 0)) != pid) { + if (rc < 0 && errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", pid); + } + printf("%-5u +++ exited with 0 +++\n", getpid()); + return WIFEXITED(s) ? WEXITSTATUS(s) + : (WIFSIGNALED(s) ? 128 + WTERMSIG(s) : 9); + } + pid = getpid(); + enum { PR_LIMIT = 10, IOV_SIZE = 11, IOV_STR_SIZE = 4096 }; static const char *kulong_fmt = @@ -395,7 +412,6 @@ ssize_t ret; ssize_t kis_size = 0; long rc; - size_t i; key_iov0.iov_base = short_type; key_iov0.iov_len = sizeof(short_type_str); @@ -408,7 +424,7 @@ key_iov4.iov_base = bogus_str; key_iov4.iov_len = 32; - for (i = 5; i < IOV_SIZE; i++) { + for (size_t i = 5; i < IOV_SIZE; ++i) { key_iovi.iov_base = (void *) (uintptr_t) (0xfffffacefffff00dULL + 0x100000001ULL * i); @@ -442,7 +458,7 @@ if ((ret < 0) || (ret >= IOV_STR_SIZE)) error_msg_and_fail("snprintf"); - for (i = 4; i < PR_LIMIT; i++) { + for (size_t i = 4; i < PR_LIMIT; ++i) { kis_size += ret; ret = snprintf(key_iov_str2 + kis_size, IOV_STR_SIZE - kis_size, @@ -1067,7 +1083,7 @@ /* KEYCTL_DH_COMPUTE + KDF */ - for (i = 0; i < ARRAY_SIZE(kckdfp_data); i++) { + for (size_t i = 0; i < ARRAY_SIZE(kckdfp_data); ++i) { struct keyctl_kdf_params *kckdfp = (struct keyctl_kdf_params *) kckdfp_char; bool deref_hash = true; @@ -1182,7 +1198,7 @@ struct keyctl_pkey_params *pkey_params = tail_alloc(sizeof(*pkey_params)); - for (i = 0; i < ARRAY_SIZE(pkey_ops); i++) { + for (size_t i = 0; i < ARRAY_SIZE(pkey_ops); ++i) { do_keyctl(pkey_opsi.op, pkey_opsi.str, sizeof(char *), ARG_STR(NULL), ptr_fmt, sizeof(char *), ARG_STR(NULL), ptr_fmt, @@ -1243,7 +1259,8 @@ XSTR(0xffffffff, "KEYCTL_MOVE_EXCL|0xfffffffe") }, }; - for (i = 0; i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); i++) { + for (size_t i = 0; + i < ARRAY_SIZE(move_keys) * ARRAY_SIZE(move_flags); ++i) { do_keyctl(ARG_STR(KEYCTL_MOVE), sizeof(kernel_ulong_t), move_keysi % ARRAY_SIZE(move_keys).key, @@ -1278,7 +1295,7 @@ const kernel_ulong_t bad_len = (kernel_ulong_t) 0xbadc0ded00000001LLU; rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, bad_len); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1291,7 +1308,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps1, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc == 1) @@ -1304,7 +1321,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps2, 2); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1321,7 +1338,7 @@ rc = syscall(__NR_keyctl, KEYCTL_CAPABILITIES, caps4, 4); errstr = sprintrc(rc); - printf("keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", "); + printf("%-5u keyctl(" XSTR(0x1f, "KEYCTL_CAPABILITIES") ", ", pid); if (rc >= 0) { printf(""); if (rc >= 1) @@ -1340,7 +1357,7 @@ } printf(", 4) = %s\n", errstr); - puts("+++ exited with 0 +++"); + printf("%-5u +++ exited with 0 +++\n", pid); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/keyctl.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/keyctl.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (keyctl -a31 -s10 -f --signal='!chld'); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -a31 -s10 +run_strace_match_diff -a31 -s10 -f --signal='!chld'
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kill_child.c -> _service:tar_scm:strace-6.1.tar.xz/tests/kill_child.c
Changed
@@ -2,11 +2,11 @@ * Check for the corner case that previously lead to segfault * due to an attempt to access unitialised tcp->s_ent. * - * 13994 ????( <unfinished ...> + * 13994 ???( <unfinished ...> * ... - * 13994 <... ???? resumed>) = ? + * 13994 <... ??? resumed>) = ? * - * Copyright (c) 2019 The strace developers. + * Copyright (c) 2019-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later
View file
_service:tar_scm:strace-5.14.tar.xz/tests/kill_child.test -> _service:tar_scm:strace-6.1.tar.xz/tests/kill_child.test
Changed
@@ -2,7 +2,7 @@ # # Check whether repeated killing of just forked processes crashes strace. # -# Copyright (c) 2019 The strace developers. +# Copyright (c) 2019-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -22,10 +22,10 @@ # Printing of "<... SYSCALL resumed>" in strace.c:print_event_exit # used to segfault when the syscall number had not been obtained # on syscall entering. - grep -q '^1-90-9* <\.\.\. ???? resumed>) \+= ?$' "$LOG" && exit 0 + grep -q '^1-90-9* <\.\.\. ??? resumed>) \+= ?$' "$LOG" && exit 0 s1="$(date +%s)" if "$(($s1-$s0))" -gt "$(($TIMEOUT_DURATION/2))" ; then - skip_ 'Unable to reproduce <... ???? resumed>' + skip_ 'Unable to reproduce <... ??? resumed>' fi done
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ksysent.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ksysent.c
Changed
@@ -2,7 +2,7 @@ * Validate syscallent.h file. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -22,18 +22,19 @@ #include "sysent_shorthand_undefs.h" +DIAG_PUSH_IGNORE_OVERRIDE_INIT typedef const char *pstr_t; static const pstr_t ksyslist = { #include "ksysent.h" }; +DIAG_POP_IGNORE_OVERRIDE_INIT int main(void) { int rc = 0; - unsigned int i; - for (i = 0; i < ARRAY_SIZE(ksyslist); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(ksyslist); ++i) { if (!ksyslisti) continue; if (i >= ARRAY_SIZE(syscallent) || !syscallenti.sys_name) { @@ -71,7 +72,7 @@ } } - for (i = 0; i < ARRAY_SIZE(syscallent); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(syscallent); ++i) { if (!syscallenti.sys_name #ifdef SYS_socket_nsubcalls || (i >= SYS_socket_subcall &&
View file
_service:tar_scm:strace-5.14.tar.xz/tests/landlock_add_rule.c -> _service:tar_scm:strace-6.1.tar.xz/tests/landlock_add_rule.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_add_rule syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -101,8 +102,8 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const struct {
View file
_service:tar_scm:strace-5.14.tar.xz/tests/landlock_create_ruleset-y.c -> _service:tar_scm:strace-6.1.tar.xz/tests/landlock_create_ruleset-y.c
Changed
@@ -1,4 +1,4 @@ -#define FD_PATH "<anon_inode:landlock-ruleset>" +#define DECODE_FD 1 #define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") #include "landlock_create_ruleset.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/landlock_create_ruleset.c -> _service:tar_scm:strace-6.1.tar.xz/tests/landlock_create_ruleset.c
Changed
@@ -2,6 +2,7 @@ * Check decoding of landlock_create_ruleset syscall. * * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2021-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,10 +10,12 @@ #include "tests.h" #include "scno.h" +#include "xmalloc.h" #include <inttypes.h> #include <stdio.h> #include <stdint.h> +#include <stdlib.h> #include <unistd.h> #include <linux/landlock.h> @@ -20,6 +23,9 @@ #ifndef RETVAL_INJECTED # define RETVAL_INJECTED 0 #endif +#ifndef DECODE_FD +# define DECODE_FD 0 +#endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE @@ -117,21 +123,47 @@ const char *str; } attr_vals = { { ARG_STR(LANDLOCK_ACCESS_FS_EXECUTE) }, - { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|0xdebeefeddecae000) }, - { ARG_ULL_STR(0xdebeefeddecae000) + { ARG_ULL_STR(LANDLOCK_ACCESS_FS_EXECUTE|LANDLOCK_ACCESS_FS_READ_FILE|LANDLOCK_ACCESS_FS_READ_DIR|LANDLOCK_ACCESS_FS_REMOVE_FILE|LANDLOCK_ACCESS_FS_MAKE_CHAR|LANDLOCK_ACCESS_FS_MAKE_DIR|LANDLOCK_ACCESS_FS_MAKE_SOCK|LANDLOCK_ACCESS_FS_MAKE_FIFO|LANDLOCK_ACCESS_FS_MAKE_BLOCK|LANDLOCK_ACCESS_FS_MAKE_SYM|LANDLOCK_ACCESS_FS_REFER|0xdebeefeddecac000) }, + { ARG_ULL_STR(0xdebeefeddecac000) " /* LANDLOCK_ACCESS_FS_??? */" }, }; static const kernel_ulong_t sizes = { 8, 12, 16 }; for (size_t i = 0; i < ARRAY_SIZE(attr_vals); i++) { for (size_t j = 0; j < ARRAY_SIZE(sizes); j++) { + const char *fd_str = FD_PATH; + attr->handled_access_fs = attr_valsi.val; rc = sys_landlock_create_ruleset(attr, sizesj, 0); + +#if DECODE_FD + /* + * The ABI has been broken in commit v5.18-rc1~88^2 + * by adding brackets to the link value, hence, we can't + * rely on a specific name anymore and have to fetch it + * ourselves. + */ + if (rc >= 0) { + static char buf256; + char *path = xasprintf("/proc/self/fd/%ld", rc); + ssize_t ret = readlink(path, buf + 1, + sizeof(buf) - 3); + free(path); + + if (ret >= 0) { + buf0 = '<'; + bufret + 1 = '>'; + bufret + 2 = '\0'; + fd_str = buf; + } + } +#endif + printf("landlock_create_ruleset({handled_access_fs=%s" "%s}, %llu, 0) = %s%s" INJ_STR, attr_valsi.str, sizesj > sizeof(*attr) ? ", ..." : "", (unsigned long long) sizesj, - errstr, rc > 0 ? FD_PATH : ""); + errstr, rc >= 0 ? fd_str : ""); } }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/linkat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/linkat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_full_mismatch --secontext=full,mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=full,mismatch -e trace=linkat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/linkat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "linkat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/linkat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (linkat--secontext_mismatch --secontext=mismatch -e trace=linkat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --secontext=mismatch -e trace=linkat
View file
_service:tar_scm:strace-5.14.tar.xz/tests/linkat.c -> _service:tar_scm:strace-6.1.tar.xz/tests/linkat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of linkat syscall. * - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,15 +10,31 @@ #include "tests.h" #include "scno.h" +#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> +#include <string.h> #include "secontext.h" #include "xmalloc.h" +static void +mangle_secontext_field(const char *path, enum secontext_field field, + const char *new_val, const char *fallback_val) +{ + char *orig = get_secontext_field_file(path, field); + if (!orig) + return; + + update_secontext_field(path, field, + strcmp(new_val, orig) ? new_val : fallback_val); + + free(orig); +} + int main(void) { @@ -87,11 +103,50 @@ if (close(fd_sample_2)) perror_msg_and_fail("close"); + if (*sample_1_secontext && strstr(sample_1_secontext, "!!")) + reset_secontext_file(sample_1); + free(sample_1_secontext); - update_secontext_type(sample_1, "default_t"); + +#ifdef PRINT_SECONTEXT_MISMATCH + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_USER, "system_u", + "unconfined_u"); + sample_1_secontext = SECONTEXT_FILE(sample_1); + +# ifdef PRINT_SECONTEXT_FULL + /* The mismatch should be detected */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "system_u") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +# else + /* The mismatch cannot be detected since it's on user part */ + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") != NULL) + perror_msg_and_fail("Context mismatch detected: %s", + sample_1_secontext); +# endif + + free(sample_1_secontext); +#endif + + errno = 0; + mangle_secontext_field(sample_1, SECONTEXT_TYPE, "default_t", + "unconfined_t"); sample_1_secontext = SECONTEXT_FILE(sample_1); sample_2_secontext = sample_1_secontext; +#ifdef PRINT_SECONTEXT_MISMATCH + if (*sample_1_secontext && strstr(sample_1_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); + if (*sample_1_secontext && strstr(sample_1_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + sample_1_secontext); +#endif + rc = syscall(__NR_linkat, -100, sample_1, -100, sample_2, 0); printf("%s%s(AT_FDCWD, \"%s\"%s, AT_FDCWD, \"%s\"%s, 0) = %s\n", my_secontext, "linkat", @@ -108,8 +163,21 @@ int dfd_old = get_dir_fd("."); char *cwd = get_fd_path(dfd_old); + + errno = 0; + mangle_secontext_field(".", SECONTEXT_TYPE, "default_t", + "unconfined_t"); char *dfd_old_secontext = SECONTEXT_FILE("."); +#ifdef PRINT_SECONTEXT_MISMATCH + if (*dfd_old_secontext && strstr(dfd_old_secontext, "!!") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); + if (*dfd_old_secontext && strstr(dfd_old_secontext, "default_t") == NULL) + perror_msg_and_fail("Context mismatch not detected: %s", + dfd_old_secontext); +#endif + rc = syscall(__NR_linkat, dfd_old, sample_1, -100, sample_2, 0); /* no context printed for sample_2 since file doesn't exist yet */ printf("%s%s(%d%s, \"%s\"%s, AT_FDCWD, \"%s\", 0) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests/list_sigaction_signum.c -> _service:tar_scm:strace-6.1.tar.xz/tests/list_sigaction_signum.c
Changed
@@ -15,9 +15,7 @@ int main(void) { - unsigned int i; - - for (i = 1; i < 32; ++i) { + for (unsigned int i = 1; i < 32; ++i) { static const struct sigaction ign = { .sa_handler = SIG_IGN }; static const struct sigaction dfl = { .sa_handler = SIG_DFL }; struct sigaction act;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/mbind.c -> _service:tar_scm:strace-6.1.tar.xz/tests/mbind.c
Changed
@@ -68,6 +68,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -82,9 +85,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" },
View file
_service:tar_scm:strace-5.14.tar.xz/tests/membarrier.c -> _service:tar_scm:strace-6.1.tar.xz/tests/membarrier.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of membarrier syscall. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -72,6 +72,14 @@ "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; break; + case 2|4|8|16|128|256: + text = "MEMBARRIER_CMD_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED|" + "MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ|" + "MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_RSEQ"; + break; default: error_msg_and_fail("membarrier returned %#x, does" " the test have to be updated?", rc);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/mincore.c -> _service:tar_scm:strace-6.1.tar.xz/tests/mincore.c
Changed
@@ -14,13 +14,11 @@ print_mincore(const unsigned int pages, void *const addr, const size_t size, unsigned char *const vec) { - unsigned int i; - if (mincore(addr, size, vec)) perror_msg_and_skip("mincore"); printf("mincore(%p, %zu, ", addr, size); - for (i = 0; i < pages; ++i) { + for (unsigned int i = 0; i < pages; ++i) { if (i) printf(", "); if (i >= DEFAULT_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests/mmsg_name.c -> _service:tar_scm:strace-6.1.tar.xz/tests/mmsg_name.c
Changed
@@ -68,9 +68,9 @@ struct iovec *const send_iov = tail_alloc(sizeof(*send_iov) * IOV_MAX1); struct mmsghdr *const send_mh = tail_alloc(sizeof(*send_mh) * IOV_MAX1); - int i, rc; + int rc; - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { int sun_len = i + 1 > (int) sizeof(send_addri.sun_path) ? (int) sizeof(send_addri.sun_path) : i + 1; @@ -96,7 +96,7 @@ int saved_errno = errno; printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -115,7 +115,7 @@ printf(", %u, MSG_DONTWAIT) = %d %s (%m)\n", IOV_MAX1, rc, errno2name()); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { send_mhi.msg_hdr.msg_name = 0; send_mhi.msg_hdr.msg_namelen = 0; } @@ -140,7 +140,7 @@ perror_msg_and_skip("sendmmsg"); printf("sendmmsg(%d, ", send_fd); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { if (i) printf(", "); if (i >= IOV_MAX @@ -163,7 +163,7 @@ struct iovec *const recv_iov = tail_alloc(sizeof(*recv_iov) * IOV_MAX1); struct mmsghdr *const recv_mh = tail_alloc(sizeof(*recv_mh) * IOV_MAX1); - for (i = 0; i < IOV_MAX1; ++i) { + for (int i = 0; i < IOV_MAX1; ++i) { recv_iovi.iov_base = &recv_bufi; recv_iovi.iov_len = sizeof(*recv_buf); @@ -181,7 +181,7 @@ perror_msg_and_skip("recvmmsg"); printf("recvmmsg(%d, ", recv_fd); - for (i = 0; i < rc; ++i) { + for (int i = 0; i < rc; ++i) { if (i) printf(", "); #if !VERBOSE
View file
_service:tar_scm:strace-5.14.tar.xz/tests/mount_setattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests/mount_setattr.c
Changed
@@ -45,6 +45,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -65,8 +68,8 @@ k_mount_setattr(-100, fname, 0, attr, MOUNT_ATTR_SIZE_VER0 - 1); #ifndef PATH_TRACING - printf("mount_setattr(%s, \"%.*s\"..., 0, %p, %u) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, + printf("mount_setattr(AT_FDCWD<%s>, \"%.*s\"..., 0, %p, %u) = %s\n", + cwd, (int) PATH_MAX - 1, fname, attr, MOUNT_ATTR_SIZE_VER0 - 1, rcstr); #endif
View file
_service:tar_scm:strace-5.14.tar.xz/tests/move_mount.c -> _service:tar_scm:strace-6.1.tar.xz/tests/move_mount.c
Changed
@@ -41,6 +41,7 @@ { skip_if_unavailable("/proc/self/fd/"); + char *cwd = get_fd_path(get_dir_fd(".")); static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); const void *const efault = path + sizeof(path_full); @@ -54,40 +55,57 @@ k_move_mount(-1, 0, -100, efault, 0); #ifndef PATH_TRACING - printf("move_mount(-1, NULL, AT_FDCWD, %p, 0) = %s\n", efault, errstr); + printf("move_mount(-1, NULL, AT_FDCWD<%s>, %p, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(-100, efault, -1, 0, 0); #ifndef PATH_TRACING - printf("move_mount(AT_FDCWD, %p, -1, NULL, 0) = %s\n", efault, errstr); + printf("move_mount(AT_FDCWD<%s>, %p, -1, NULL, 0) = %s\n", + cwd, efault, errstr); #endif k_move_mount(dfd, fname, -100, empty, 1); - printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD, \"\", %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_F_SYMLINKS", errstr); + printf("move_mount(%d<%s>, \"%.*s\"..., AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, (int) PATH_MAX - 1, fname, cwd, + "MOVE_MOUNT_F_SYMLINKS", errstr); k_move_mount(-100, empty, dfd, fname, 0x10); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", - dfd, path, (int) PATH_MAX - 1, fname, "MOVE_MOUNT_T_SYMLINKS", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_T_SYMLINKS", errstr); + + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%.*s\"..., %s) = %s\n", + cwd, dfd, path, (int) PATH_MAX - 1, fname, + "MOVE_MOUNT_SET_GROUP", errstr); #define f_flags_str "MOVE_MOUNT_F_SYMLINKS|MOVE_MOUNT_F_AUTOMOUNTS|MOVE_MOUNT_F_EMPTY_PATH" fnamePATH_MAX - 1 = '\0'; k_move_mount(dfd, fname, -100, empty, 7); - printf("move_mount(%d<%s>, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - dfd, path, fname, f_flags_str, errstr); + printf("move_mount(%d<%s>, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + dfd, path, fname, cwd, f_flags_str, errstr); #define t_flags_str "MOVE_MOUNT_T_SYMLINKS|MOVE_MOUNT_T_AUTOMOUNTS|MOVE_MOUNT_T_EMPTY_PATH" k_move_mount(-100, empty, dfd, fname, 0x70); - printf("move_mount(AT_FDCWD, \"\", %d<%s>, \"%s\", %s) = %s\n", - dfd, path, fname, t_flags_str, errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, t_flags_str, errstr); + +#define set_group_str "MOVE_MOUNT_SET_GROUP" + k_move_mount(-100, empty, dfd, fname, 0x100); + printf("move_mount(AT_FDCWD<%s>, \"\", %d<%s>, \"%s\", %s) = %s\n", + cwd, dfd, path, fname, set_group_str, errstr); - k_move_mount(-1, path, -100, empty, 0x77); - printf("move_mount(-1, \"%s\", AT_FDCWD, \"\", %s) = %s\n", - path, f_flags_str "|" t_flags_str, errstr); + k_move_mount(-1, path, -100, empty, 0x177); + printf("move_mount(-1, \"%s\", AT_FDCWD<%s>, \"\", %s) = %s\n", + path, cwd, f_flags_str "|" t_flags_str "|" set_group_str, + errstr); k_move_mount(-100, empty, -1, path, -1); - printf("move_mount(AT_FDCWD, \"\", -1, \"%s\", %s) = %s\n", - path, f_flags_str "|" t_flags_str "|0xffffff88", errstr); + printf("move_mount(AT_FDCWD<%s>, \"\", -1, \"%s\", %s) = %s\n", + cwd, path, + f_flags_str "|" t_flags_str "|" set_group_str "|0xfffffe88", + errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/move_pages.c -> _service:tar_scm:strace-6.1.tar.xz/tests/move_pages.c
Changed
@@ -32,8 +32,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -68,8 +67,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i + offset < count) { @@ -94,8 +92,7 @@ return; } printf(""); - unsigned long i; - for (i = 0; i < count; ++i) { + for (unsigned long i = 0; i < count; ++i) { if (i) printf(", "); if (i >= MAX_STRLEN) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests/mq_sendrecv.c -> _service:tar_scm:strace-6.1.tar.xz/tests/mq_sendrecv.c
Changed
@@ -50,10 +50,8 @@ static void printstr(unsigned char start, unsigned int count) { - unsigned int i; - printf("\""); - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { printf("\\%hho", (unsigned char) (start + i)); } printf("\""); @@ -63,10 +61,7 @@ static void dumpstr(unsigned char start, unsigned int count) { - unsigned int i; - unsigned int j; - - for (i = 0; i < count; i++) { + for (unsigned int i = 0; i < count; ++i) { if (i < count) { if (!(i % 16)) printf(" | %05x ", i); @@ -83,9 +78,9 @@ printf(" "); - for (j = 0; j <= (i % 16); j++) + for (unsigned int j = 0; j <= (i % 16); ++j) printf("."); - for (j = i % 16; j < 15; j++) + for (unsigned int j = i % 16; j < 15; ++j) printf(" "); printf(" |\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/msg_control.c -> _service:tar_scm:strace-6.1.tar.xz/tests/msg_control.c
Changed
@@ -57,8 +57,7 @@ printf(", cmsg_data="); int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfd; ++i) { + for (size_t i = 0; i < nfd; ++i) { if (i) printf(", "); #if !VERBOSE @@ -197,8 +196,7 @@ cmsg->cmsg_level = SOL_SOCKET; cmsg->cmsg_type = SCM_RIGHTS; int *fdp = (int *) CMSG_DATA(cmsg); - size_t i; - for (i = 0; i < nfds; ++i) + for (size_t i = 0; i < nfds; ++i) fdpi = i; mh->msg_control = cmsg; @@ -603,15 +601,13 @@ { static const int fds0 = { -10, -11, -12, -13 }; static const int fds1 = { -15, -16, -17, -18 }; - size_t msg_controllen, max_msg_controllen; + size_t max_msg_controllen; max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + sizeof(*fds0) - 1; - for (msg_controllen = 0; + for (size_t msg_controllen = 0; msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0); cmsg_len++) { test_scm_rights1(mh, msg_controllen, @@ -622,7 +618,7 @@ max_msg_controllen = CMSG_SPACE(sizeof(fds0)) + CMSG_SPACE(sizeof(fds1)) + sizeof(*fds0) - 1; - for (msg_controllen = CMSG_LEN(0) * 2; + for (size_t msg_controllen = CMSG_LEN(0) * 2; msg_controllen <= max_msg_controllen; msg_controllen++) { static const int *const fdps = { fds0, fds1 }; @@ -646,12 +642,10 @@ static const char text16 = "0123456789abcdef"; max_msg_controllen = CMSG_SPACE(sizeof(text)) + CMSG_LEN(0) - 1; - for (msg_controllen = CMSG_LEN(0); + for (size_t msg_controllen = CMSG_LEN(0); msg_controllen <= max_msg_controllen; msg_controllen++) { - size_t cmsg_len; - - for (cmsg_len = 0; + for (size_t cmsg_len = 0; cmsg_len <= msg_controllen + CMSG_LEN(0) && cmsg_len <= CMSG_LEN(sizeof(text)); cmsg_len++) { @@ -763,8 +757,7 @@ print_ip_opts(const void *const cmsg_data, const unsigned int data_len) { const unsigned char *const opts = cmsg_data; - unsigned int i; - for (i = 0; i < data_len; ++i) { + for (unsigned int i = 0; i < data_len; ++i) { if (i) printf(", "); #if !VERBOSE @@ -788,8 +781,7 @@ cmsg->cmsg_len = CMSG_LEN(opts_len); cmsg->cmsg_level = SOL_IP; cmsg->cmsg_type = cmsg_type; - unsigned int i; - for (i = 0; i < opts_len; ++i) + for (unsigned int i = 0; i < opts_len; ++i) CMSG_DATA(cmsg)i = 'A' + i; mh->msg_control = cmsg;
View file
_service:tar_scm:strace-6.1.tar.xz/tests/net--decode-fds-all-netlink.c
Added
@@ -0,0 +1,1 @@ +#include "net--decode-fds-socket-netlink.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/net--decode-fds-all-netlink.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-all-netlink +net-yy-netlink.test --decode-fds=all); do not edit. +set -- --decode-fds=all +. "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/net--decode-fds-dev-netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests/net--decode-fds-dev-netlink.c
Changed
@@ -1,2 +1,1 @@ -#define PRINT_SOCK 1 -#include "net-yy-netlink.c" +#include "net--decode-fds-none-netlink.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/net--decode-fds-dev-netlink.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/net--decode-fds-dev-netlink.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev); do not edit. -set -- --decode-fds=dev +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (net--decode-fds-dev-netlink +net-yy-netlink.test --decode-fds=dev -a9); do not edit. +set -- --decode-fds=dev -a9 . "${srcdir=.}/net-yy-netlink.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/net-icmp_filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests/net-icmp_filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ICMP_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,48 +17,62 @@ main(void) { getsockopt(-1, SOL_RAW, ICMP_FILTER, 0, 0); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = -1 %s (%m)\n", - errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, NULL) = %s\n", + sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = -1 %s (%m)\n", - errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, NULL, 0) = %s\n", + sprintrc(-1)); TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, plen); void *const efault = plen + 1; TAIL_ALLOC_OBJECT_CONST_PTR(struct icmp_filter, f); getsockopt(-1, SOL_RAW, ICMP_FILTER, f, plen); - printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = -1 %s (%m)\n", - f, *plen, errno2name()); + printf("getsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %d) = %s\n", + f, *plen, sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, efault, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = -1 %s (%m)\n", - efault, (unsigned) sizeof(*f), errno2name()); - - f->data = ~( - 1<<ICMP_ECHOREPLY | - 1<<ICMP_DEST_UNREACH | - 1<<ICMP_SOURCE_QUENCH | - 1<<ICMP_REDIRECT | - 1<<ICMP_TIME_EXCEEDED | - 1<<ICMP_PARAMETERPROB); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, %u) = %s\n", + efault, (unsigned) sizeof(*f), sprintrc(-1)); setsockopt(-1, SOL_RAW, ICMP_FILTER, f, -2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = -1 %s (%m)\n", - f, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %p, -2) = %s\n", + f, sprintrc(-1)); + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~, %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 0; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f), errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, , %u) = %s\n", + (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = 1<<ICMP_ECHOREPLY | + 1<<ICMP_DEST_UNREACH | + 1<<ICMP_SOURCE_QUENCH | + 1<<ICMP_REDIRECT | + 1<<ICMP_TIME_EXCEEDED | + 1<<ICMP_PARAMETERPROB; + static const char data_str = + "ICMP_ECHOREPLY" + " ICMP_DEST_UNREACH" + " ICMP_SOURCE_QUENCH" + " ICMP_REDIRECT" + " ICMP_TIME_EXCEEDED" + " ICMP_PARAMETERPROB"; + + setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f)); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = %s\n", + data_str, (unsigned) sizeof(*f), sprintrc(-1)); + + f->data = ~f->data; setsockopt(-1, SOL_RAW, ICMP_FILTER, f, sizeof(*f) * 2); - printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, %s, %u) = -1 %s (%m)\n", - "~(1<<ICMP_ECHOREPLY|1<<ICMP_DEST_UNREACH|1<<ICMP_SOURCE_QUENCH" - "|1<<ICMP_REDIRECT|1<<ICMP_TIME_EXCEEDED|1<<ICMP_PARAMETERPROB)", - (unsigned) sizeof(*f) * 2, errno2name()); + printf("setsockopt(-1, SOL_RAW, ICMP_FILTER, ~%s, %u) = %s\n", + data_str, (unsigned) sizeof(*f) * 2, sprintrc(-1)); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/net-sockaddr.c -> _service:tar_scm:strace-6.1.tar.xz/tests/net-sockaddr.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockaddr structures * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,11 @@ #include <linux/if_ether.h> #include <linux/if_packet.h> #include <linux/x25.h> -#include <linux/ipx.h> +#if defined HAVE_LINUX_IPX_H +# include <linux/ipx.h> +#elif defined HAVE_NETIPX_IPX_H +# include <netipx/ipx.h> +#endif #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -269,6 +273,7 @@ printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in6, len, ret); } +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H static void check_ipx(void) { @@ -281,20 +286,26 @@ .sipx_node = "ABCDEF", .sipx_type = -1 }; - void *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); + struct sockaddr_ipx *ipx = tail_memdup(&c_ipx, sizeof(c_ipx)); unsigned int len = sizeof(c_ipx); - int ret = connect(-1, ipx, len); - pidns_print_leader(); - printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" - ", sipx_network=htonl(%#x)" - ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" - ", sipx_type=%#02x}, %u) = %d EBADF (%m)\n", - h_port, h_network, - c_ipx.sipx_node0, c_ipx.sipx_node1, - c_ipx.sipx_node2, c_ipx.sipx_node3, - c_ipx.sipx_node4, c_ipx.sipx_node5, - c_ipx.sipx_type, len, ret); + + for (size_t i = 0; i < 2; i++) { + ipx->sipx_zero = i ? 0x42 : 0; + int ret = connect(-1, (void *) ipx, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_IPX, sipx_port=htons(%u)" + ", sipx_network=htonl(%#x)" + ", sipx_node=%#02x, %#02x, %#02x, %#02x, %#02x, %#02x" + ", sipx_type=%#02x%s}, %u) = %d EBADF (%m)\n", + h_port, h_network, + c_ipx.sipx_node0, c_ipx.sipx_node1, + c_ipx.sipx_node2, c_ipx.sipx_node3, + c_ipx.sipx_node4, c_ipx.sipx_node5, + c_ipx.sipx_type, i ? ", sipx_zero=0x42" : "", + len, ret); + } } +#endif /* HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H */ /* for a bit more compact AX.25 address definitions */ #define AX25_ADDR(c_, s_) \ @@ -348,7 +359,7 @@ rc = connect(-1, sax_void, sizeof(struct sockaddr_ax25)); pidns_print_leader(); printf("connect(-1, {sa_family=AF_AX25, fsa_ax25={sax25_call=VALID-13" - ", sax25_ndigis=8}, fsa_digipeater=???}, %zu) = %s\n", + ", sax25_ndigis=8}, fsa_digipeater=...}, %zu) = %s\n", sizeof(struct sockaddr_ax25), sprintrc(rc)); sax->fsa_ax25.sax25_ndigis = 0; @@ -369,7 +380,7 @@ ", {ax25_call=\"\\xa6\\xa6\\x92\\x88\\x40\\x40\\x20\"" "} /* SSID-0 */" ", *" - ", ???, ...}, %zu) = %s\n", + ", ..., ...}, %zu) = %s\n", size, sprintrc(rc)); sax->fsa_digipeater2.ax25_call6 = 0x4; @@ -384,7 +395,7 @@ "} /* SSID-0 */" ", {ax25_call=\"\\x40\\x40\\x40\\x40\\x40\\x40\\x04\"} /* -2 */" ", {ax25_call=\"\\x9c\\xaa\\x98\\x98\\x00\\x00\\x06\"}" - ", ???}, %zu) = %s\n", + ", ...}, %zu) = %s\n", size, sprintrc(rc)); memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); @@ -488,7 +499,23 @@ nl->nl_pid = 1234567890; nl->nl_groups = 0xfacefeed; unsigned int len = sizeof(*nl); - int ret = connect(-1, (void *) nl, len); + + int ret = connect(-1, (void *) nl, len - 1); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, sa_data=\"\\377\\377" + BE_LE("I\\226\\2\\322", "\\322\\2\\226I") + BE_LE("\\372\\316\\376", "\\355\\376\\316") + "\"}, %u) = %d EBADF (%m)\n", + len - 1, ret); + + ret = connect(-1, (void *) nl, len); + pidns_print_leader(); + printf("connect(-1, {sa_family=AF_NETLINK, nl_pad=%#x, nl_pid=%d" + ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", + nl->nl_pad, nl->nl_pid, nl->nl_groups, len, ret); + + nl->nl_pad = 0; + ret = connect(-1, (void *) nl, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_NETLINK, nl_pid=%d" ", nl_groups=%#08x}, %u) = %d EBADF (%m)\n", @@ -496,6 +523,7 @@ nl = ((void *) nl) - 4; nl->nl_family = AF_NETLINK; + nl->nl_pad = 0; nl->nl_pid = getpid(); nl->nl_groups = 0xfacefeed; len = sizeof(*nl) + 4; @@ -663,9 +691,9 @@ int ret = connect(-1, l2, len); pidns_print_leader(); printf("connect(-1, {sa_family=AF_BLUETOOTH" - ", l2_psm=htobs(L2CAP_PSM_DYN_START + %hu)" + ", l2_psm=htobs(L2CAP_PSM_DYN_START+%hu)" ", l2_bdaddr=%02x:%02x:%02x:%02x:%02x:%02x" - ", l2_cid=htobs(L2CAP_CID_DYN_START + %hu)" + ", l2_cid=htobs(L2CAP_CID_DYN_START+%hu)" # ifdef HAVE_STRUCT_SOCKADDR_L2_L2_BDADDR_TYPE ", l2_bdaddr_type=0xce /* BDADDR_??? */" # endif @@ -773,7 +801,9 @@ check_un(); check_in(); check_in6(); +#if defined HAVE_LINUX_IPX_H || defined HAVE_NETIPX_IPX_H check_ipx(); +#endif check_ax25(); check_x25(); check_nl();
View file
_service:tar_scm:strace-5.14.tar.xz/tests/net-yy-unix.c -> _service:tar_scm:strace-6.1.tar.xz/tests/net-yy-unix.c
Changed
@@ -17,6 +17,10 @@ #include <unistd.h> #include <sys/socket.h> #include <sys/un.h> +#ifdef HAVE_SYS_XATTR_H +# include <sys/xattr.h> +# include "xmalloc.h" +#endif #include "accept_compat.h" @@ -41,50 +45,69 @@ int listen_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (listen_fd < 0) perror_msg_and_skip("socket"); + + char sock_proto_name256; +#ifdef HAVE_SYS_XATTR_H + char *path = xasprintf("/proc/self/fd/%u", listen_fd); + size_t sock_proto_name_len = + getxattr(path, "system.sockprotoname", sock_proto_name, + sizeof(sock_proto_name) - 1); + free(path); + if (sock_proto_name_len && + sock_proto_name_len < sizeof(sock_proto_name)) + sock_proto_namesock_proto_name_len = '\0'; + else +#endif + strcpy(sock_proto_name, "UNIX"); + unsigned long listen_inode = inode_of_sockfd(listen_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - listen_fd, listen_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + listen_fd, sock_proto_name, listen_inode); (void) unlink(TEST_SOCKET); if (bind(listen_fd, listen_sa, *len)) perror_msg_and_skip("bind"); - printf("bind(%d<UNIX:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("bind(%d<%s:%lu>, {sa_family=AF_UNIX, sun_path=\"%s\"}" ", %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + (unsigned) *len); if (listen(listen_fd, 1)) perror_msg_and_skip("listen"); - printf("listen(%d<UNIX:%lu,\"%s\">, 1) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("listen(%d<%s:%lu,\"%s\">, 1) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); *len = sizeof(*optval); if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) perror_msg_and_fail("getsockopt"); - printf("getsockopt(%d<UNIX:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" + printf("getsockopt(%d<%s:%lu,\"%s\">, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + *optval, (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); unsigned long connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); struct sockaddr * const accept_sa = tail_alloc(sizeof(addr)); memset(accept_sa, 0, sizeof(addr)); @@ -93,72 +116,78 @@ if (accept_fd < 0) perror_msg_and_fail("accept"); unsigned long accept_inode = inode_of_sockfd(accept_fd); - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX}" - ", %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX}" + ", %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu>, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, + connect_fd, sock_proto_name, connect_inode, accept_inode, TEST_SOCKET, (int) sizeof(addr), (int) *len); char text = "text"; assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu>, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu>) = 0\n", - connect_fd, connect_inode, accept_inode); + printf("close(%d<%s:%lu->%lu>) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); if (connect_fd < 0) perror_msg_and_fail("socket"); connect_inode = inode_of_sockfd(connect_fd); - printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<UNIX:%lu>\n", - connect_fd, connect_inode); + printf("socket(AF_UNIX, SOCK_STREAM, 0) = %d<%s:%lu>\n", + connect_fd, sock_proto_name, connect_inode); *optval = 1; *len = sizeof(*optval); if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) perror_msg_and_fail("setsockopt"); - printf("setsockopt(%d<UNIX:%lu>, SOL_SOCKET, SO_PASSCRED" + printf("setsockopt(%d<%s:%lu>, SOL_SOCKET, SO_PASSCRED" ", %u, %u) = 0\n", - connect_fd, connect_inode, *optval, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, *optval, + (unsigned) *len); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getsockname(listen_fd, listen_sa, len)) perror_msg_and_fail("getsockname"); - printf("getsockname(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=\"%s\"}, %d => %d) = 0\n", listen_fd, listen_inode, + printf("getsockname(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=\"%s\"}, %d => %d) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, TEST_SOCKET, (int) sizeof(addr), (int) *len); if (connect(connect_fd, listen_sa, *len)) perror_msg_and_fail("connect"); - printf("connect(%d<UNIX:%lu>, {sa_family=AF_UNIX" + printf("connect(%d<%s:%lu>, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %u) = 0\n", - connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); + connect_fd, sock_proto_name, connect_inode, TEST_SOCKET, + (unsigned) *len); memset(accept_sa, 0, sizeof(addr)); *len = sizeof(addr); @@ -168,48 +197,53 @@ accept_inode = inode_of_sockfd(accept_fd); const char * const sun_path1 = ((struct sockaddr_un *) accept_sa)->sun_path + 1; - printf("accept(%d<UNIX:%lu,\"%s\">, {sa_family=AF_UNIX" - ", sun_path=@\"%s\"}, %d => %d) = %d<UNIX:%lu->%lu,\"%s\">\n", - listen_fd, listen_inode, TEST_SOCKET, sun_path1, - (int) sizeof(addr), (int) *len, - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("accept(%d<%s:%lu,\"%s\">, {sa_family=AF_UNIX" + ", sun_path=@\"%s\"}, %d => %d) = %d<%s:%lu->%lu,\"%s\">\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET, + sun_path1, (int) sizeof(addr), (int) *len, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); memset(listen_sa, 0, sizeof(addr)); *len = sizeof(addr); if (getpeername(connect_fd, listen_sa, len)) perror_msg_and_fail("getpeername"); - printf("getpeername(%d<UNIX:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" + printf("getpeername(%d<%s:%lu->%lu,@\"%s\">, {sa_family=AF_UNIX" ", sun_path=\"%s\"}, %d => %d) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1, - TEST_SOCKET, (int) sizeof(addr), (int) *len); + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, TEST_SOCKET, (int) sizeof(addr), (int) *len); assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) == sizeof(text) - 1); - printf("sendto(%d<UNIX:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("sendto(%d<%s:%lu->%lu,@\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, 0) = %u\n", - connect_fd, connect_inode, accept_inode, sun_path1, text, + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(recvfrom(accept_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, NULL) == sizeof(text) - 1); - printf("recvfrom(%d<UNIX:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" + printf("recvfrom(%d<%s:%lu->%lu,\"%s\">, \"%s\", %u, MSG_DONTWAIT" ", NULL, NULL) = %u\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET, text, + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET, text, (unsigned) sizeof(text) - 1, (unsigned) sizeof(text) - 1); assert(close(connect_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,@\"%s\">) = 0\n", - connect_fd, connect_inode, accept_inode, sun_path1); + printf("close(%d<%s:%lu->%lu,@\"%s\">) = 0\n", + connect_fd, sock_proto_name, connect_inode, accept_inode, + sun_path1); assert(close(accept_fd) == 0); - printf("close(%d<UNIX:%lu->%lu,\"%s\">) = 0\n", - accept_fd, accept_inode, connect_inode, TEST_SOCKET); + printf("close(%d<%s:%lu->%lu,\"%s\">) = 0\n", + accept_fd, sock_proto_name, accept_inode, connect_inode, + TEST_SOCKET); assert(unlink(TEST_SOCKET) == 0); assert(close(listen_fd) == 0); - printf("close(%d<UNIX:%lu,\"%s\">) = 0\n", - listen_fd, listen_inode, TEST_SOCKET); + printf("close(%d<%s:%lu,\"%s\">) = 0\n", + listen_fd, sock_proto_name, listen_inode, TEST_SOCKET); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/netlink_audit--pidns-translation.test -> _service:tar_scm:strace-6.1.tar.xz/tests/netlink_audit--pidns-translation.test
Changed
@@ -2,10 +2,10 @@ # # Check pidns translation of NETLINK_SOCK_DIAG protocol decoding # -# Copyright (c) 2020 The strace developers. +# Copyright (c) 2020-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/netlink_protocol.c -> _service:tar_scm:strace-6.1.tar.xz/tests/netlink_protocol.c
Changed
@@ -169,8 +169,7 @@ # define ABBREV_LEN (DEFAULT_STRLEN + 1) const unsigned int msg_len = sizeof(struct nlmsghdr) * ABBREV_LEN; struct nlmsghdr *const msgs = tail_alloc(msg_len); - unsigned int i; - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { msgsi.nlmsg_len = sizeof(*msgs); msgsi.nlmsg_type = NLMSG_NOOP; msgsi.nlmsg_flags = NLM_F_DUMP | NLM_F_REQUEST; @@ -181,7 +180,7 @@ rc = sendto(fd, msgs, msg_len, MSG_DONTWAIT, NULL, 0); errstr = sprintrc(rc); printf("sendto(%d, ", fd); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nlmsg_len=%u, nlmsg_type=NLMSG_NOOP"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/netlink_route.c -> _service:tar_scm:strace-6.1.tar.xz/tests/netlink_route.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -19,37 +19,47 @@ #include <linux/if_addrlabel.h> #include <linux/if_arp.h> #include <linux/if_bridge.h> +#include <linux/if_link.h> #include <linux/ip.h> #include <linux/neighbour.h> #include <linux/netconf.h> #include <linux/rtnetlink.h> +#include <linux/nexthop.h> -#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ +#define TEST_NL_ROUTE_(fd_, nlh0_, type_, type_str_, obj_, print_family_, ...) \ do { \ /* family and string */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", ...}")); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", ...}")); \ \ /* sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_), \ - (print_family_); \ - __VA_ARGS__); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_), \ + (print_family_); \ + __VA_ARGS__); \ \ /* short read of sizeof(obj_) */ \ - TEST_NETLINK((fd_), (nlh0_), \ - type_, NLM_F_REQUEST, \ - sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ - (print_family_); \ - printf(", %p}", \ - NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ + TEST_NETLINK_((fd_), (nlh0_), \ + (type_), (type_str_), \ + NLM_F_REQUEST, "NLM_F_REQUEST", \ + sizeof(obj_), &(obj_), sizeof(obj_) - 1, \ + (print_family_); \ + printf(", %p}", \ + NLMSG_DATA(TEST_NETLINK_nlh) + 1)); \ } while (0) +#define TEST_NL_ROUTE(fd_, nlh0_, type_, obj_, print_family_, ...) \ + TEST_NL_ROUTE_((fd_), (nlh0_), (type_), #type_, (obj_), \ + (print_family_), __VA_ARGS__) \ + /* End of TEST_NL_ROUTE definition */ + static void test_nlmsg_type(const int fd) { @@ -100,11 +110,11 @@ fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); nlh.nlmsg_type = RTM_DELLINK; - nlh.nlmsg_flags = NLM_F_NONREC; + nlh.nlmsg_flags = NLM_F_NONREC | NLM_F_BULK; rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); printf("sendto(%d, {nlmsg_len=%u, nlmsg_type=RTM_DELLINK" - ", nlmsg_flags=NLM_F_NONREC, nlmsg_seq=0, nlmsg_pid=0}" - ", %u, MSG_DONTWAIT, NULL, 0) = %s\n", + ", nlmsg_flags=NLM_F_NONREC|NLM_F_BULK, nlmsg_seq=0" + ", nlmsg_pid=0}, %u, MSG_DONTWAIT, NULL, 0) = %s\n", fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); } @@ -170,8 +180,46 @@ } static void +test_rtnl_unsupported_msg(const int fd, uint16_t msg, const char *str) +{ + char buf64; + char namesizeof("0xffff /* RTM_??? */"); + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); + + fill_memory(buf, sizeof(buf)); + buf0 = AF_INET; + + if (!str) + snprintf(name, sizeof(name), "%#hx /* RTM_??? */", msg); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + 1, buf, 1, + printf("{family=AF_INET}")); + + TEST_NETLINK_(fd, nlh0, msg, str ?: name, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(buf), buf, sizeof(buf), + printf("{family=AF_INET, data="); + print_quoted_hex(buf + 1, DEFAULT_STRLEN); + printf("...}")); +} + +static void +test_rtnl_unknown_msg(const int fd, uint16_t msg) +{ + test_rtnl_unsupported_msg(fd, msg, NULL); +} + +static void test_rtnl_link(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWLINK) }, + { ARG_STR(RTM_DELLINK) }, + { ARG_STR(RTM_GETLINK) }, + { ARG_STR(RTM_SETLINK) }, + }; const struct ifinfomsg ifinfo = { .ifi_family = AF_UNIX, .ifi_type = ARPHRD_LOOPBACK, @@ -181,19 +229,28 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETLINK, ifinfo, - printf("{ifi_family=AF_UNIX"), - printf(", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP"); - printf(", "); - PRINT_FIELD_X(ifinfo, ifi_change); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, ifinfo, + printf("{ifi_family=AF_UNIX"), + printf(", ifi_type=ARPHRD_LOOPBACK" + ", ifi_index=" IFINDEX_LO_STR + ", ifi_flags=IFF_UP"); + printf(", "); + PRINT_FIELD_X(ifinfo, ifi_change); + printf("}")); + } } static void test_rtnl_addr(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDR) }, + { ARG_STR(RTM_DELADDR) }, + { ARG_STR(RTM_GETADDR) }, + { ARG_STR(RTM_GETMULTICAST) }, + { ARG_STR(RTM_GETANYCAST) }, + }; const struct ifaddrmsg msg = { .ifa_family = AF_UNIX, .ifa_prefixlen = 0xde, @@ -203,19 +260,34 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDR, msg, - printf("{ifa_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifa_prefixlen); - printf(", ifa_flags=IFA_F_SECONDARY" - ", ifa_scope=RT_SCOPE_UNIVERSE" - ", ifa_index=" IFINDEX_LO_STR); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifa_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifa_prefixlen); + printf(", ifa_flags=IFA_F_SECONDARY" + ", ifa_scope=RT_SCOPE_UNIVERSE" + ", ifa_index=" IFINDEX_LO_STR); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDR + 3); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETMULTICAST + 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 2); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST - 1); + test_rtnl_unknown_msg(fd, RTM_GETANYCAST + 1); } static void test_rtnl_route(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWROUTE) }, + { ARG_STR(RTM_DELROUTE) }, + { ARG_STR(RTM_GETROUTE) }, + }; static const struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -229,23 +301,32 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETROUTE, msg, - printf("{rtm_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, rtm_dst_len); - printf(", "); - PRINT_FIELD_U(msg, rtm_src_len); - printf(", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{rtm_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, rtm_dst_len); + printf(", "); + PRINT_FIELD_U(msg, rtm_src_len); + printf(", rtm_tos=IPTOS_LOWDELAY" + ", rtm_table=RT_TABLE_DEFAULT" + ", rtm_protocol=RTPROT_KERNEL" + ", rtm_scope=RT_SCOPE_UNIVERSE" + ", rtm_type=RTN_LOCAL" + ", rtm_flags=RTM_F_NOTIFY}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWROUTE + 3); } static void test_rtnl_rule(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWRULE) }, + { ARG_STR(RTM_DELRULE) }, + { ARG_STR(RTM_GETRULE) }, + }; struct rtmsg msg = { .rtm_family = AF_UNIX, .rtm_dst_len = 0xaf, @@ -257,20 +338,29 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETRULE, msg, - printf("{family=AF_UNIX"), - printf(", dst_len=%u, src_len=%u" - ", tos=IPTOS_LOWDELAY" - ", table=RT_TABLE_UNSPEC" - ", action=FR_ACT_TO_TBL" - ", flags=FIB_RULE_INVERT}", - msg.rtm_dst_len, - msg.rtm_src_len)); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", dst_len=%u, src_len=%u" + ", tos=IPTOS_LOWDELAY" + ", table=RT_TABLE_UNSPEC" + ", action=FR_ACT_TO_TBL" + ", flags=FIB_RULE_INVERT}", + msg.rtm_dst_len, + msg.rtm_src_len)); + } + + test_rtnl_unknown_msg(fd, RTM_NEWRULE + 3); } static void test_rtnl_neigh(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGH) }, + { ARG_STR(RTM_DELNEIGH) }, + { ARG_STR(RTM_GETNEIGH) }, + }; const struct ndmsg msg = { .ndm_family = AF_UNIX, .ndm_ifindex = ifindex_lo(), @@ -280,31 +370,58 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETNEIGH, msg, - printf("{ndm_family=AF_UNIX"), - printf(", ndm_ifindex=" IFINDEX_LO_STR - ", ndm_state=NUD_PERMANENT" - ", ndm_flags=NTF_PROXY" - ", ndm_type=RTN_UNSPEC}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ndm_family=AF_UNIX"), + printf(", ndm_ifindex=" IFINDEX_LO_STR + ", ndm_state=NUD_PERMANENT" + ", ndm_flags=NTF_PROXY" + ", ndm_type=RTN_UNSPEC}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGH + 3); } static void test_rtnl_neightbl(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEIGHTBL) }, + { ARG_STR(RTM_GETNEIGHTBL) }, + { ARG_STR(RTM_SETNEIGHTBL) }, + }; static const struct ndtmsg msg = { .ndtm_family = AF_NETLINK }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNEIGHTBL, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ndtm_family=AF_NETLINK}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ndtm_family=AF_NETLINK}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEIGHTBL + 1); } static void test_rtnl_tc(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWQDISC) }, + { ARG_STR(RTM_DELQDISC) }, + { ARG_STR(RTM_GETQDISC) }, + { ARG_STR(RTM_NEWTCLASS) }, + { ARG_STR(RTM_DELTCLASS) }, + { ARG_STR(RTM_GETTCLASS) }, + { ARG_STR(RTM_NEWTFILTER) }, + { ARG_STR(RTM_DELTFILTER) }, + { ARG_STR(RTM_GETTFILTER) }, + { ARG_STR(RTM_NEWCHAIN) }, + { ARG_STR(RTM_DELCHAIN) }, + { ARG_STR(RTM_GETCHAIN) }, + }; const struct tcmsg msg = { .tcm_family = AF_UNIX, .tcm_ifindex = ifindex_lo(), @@ -314,35 +431,56 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETQDISC, msg, - printf("{tcm_family=AF_UNIX"), - printf(", tcm_ifindex=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, tcm_handle); - printf(", "); - PRINT_FIELD_U(msg, tcm_parent); - printf(", "); - PRINT_FIELD_U(msg, tcm_info); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{tcm_family=AF_UNIX"), + printf(", tcm_ifindex=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, tcm_handle); + printf(", "); + PRINT_FIELD_U(msg, tcm_parent); + printf(", "); + PRINT_FIELD_U(msg, tcm_info); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWQDISC + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTCLASS + 3); + test_rtnl_unknown_msg(fd, RTM_NEWTFILTER + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCHAIN + 3); } static void test_rtnl_tca(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWACTION) }, + { ARG_STR(RTM_DELACTION) }, + { ARG_STR(RTM_GETACTION) }, + }; struct tcamsg msg = { .tca_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETACTION, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{tca_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{tca_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWACTION + 3); } static void test_rtnl_addrlabel(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWADDRLABEL) }, + { ARG_STR(RTM_DELADDRLABEL) }, + { ARG_STR(RTM_GETADDRLABEL) }, + }; const struct ifaddrlblmsg msg = { .ifal_family = AF_UNIX, .ifal_prefixlen = 0xaf, @@ -352,72 +490,208 @@ }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETADDRLABEL, msg, - printf("{ifal_family=AF_UNIX"), - printf(", "); - PRINT_FIELD_U(msg, ifal_prefixlen); - printf(", "); - PRINT_FIELD_U(msg, ifal_flags); - printf(", ifal_index=" IFINDEX_LO_STR); - printf(", "); - PRINT_FIELD_U(msg, ifal_seq); - printf("}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{ifal_family=AF_UNIX"), + printf(", "); + PRINT_FIELD_U(msg, ifal_prefixlen); + printf(", "); + PRINT_FIELD_U(msg, ifal_flags); + printf(", ifal_index=" IFINDEX_LO_STR); + printf(", "); + PRINT_FIELD_U(msg, ifal_seq); + printf("}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWADDRLABEL + 3); } static void test_rtnl_dcb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_GETDCB) }, + { ARG_STR(RTM_SETDCB) }, + }; static const struct dcbmsg msg = { .dcb_family = AF_UNIX, .cmd = DCB_CMD_UNDEFINED }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETDCB, msg, - printf("{dcb_family=AF_UNIX"), - printf(", cmd=DCB_CMD_UNDEFINED}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{dcb_family=AF_UNIX"), + printf(", cmd=DCB_CMD_UNDEFINED}")); + } + + test_rtnl_unknown_msg(fd, RTM_GETDCB - 2); + test_rtnl_unknown_msg(fd, RTM_GETDCB - 1); } static void test_rtnl_netconf(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNETCONF) }, + { ARG_STR(RTM_DELNETCONF) }, + { ARG_STR(RTM_GETNETCONF) }, + }; static const struct netconfmsg msg = { .ncm_family = AF_INET }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNETCONF, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{ncm_family=AF_INET}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{ncm_family=AF_INET}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNETCONF + 3); } static void test_rtnl_mdb(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWMDB) }, + { ARG_STR(RTM_DELMDB) }, + { ARG_STR(RTM_GETMDB) }, + }; const struct br_port_msg msg = { .family = AF_UNIX, .ifindex = ifindex_lo() }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NL_ROUTE(fd, nlh0, RTM_GETMDB, msg, - printf("{family=AF_UNIX"), - printf(", ifindex=" IFINDEX_LO_STR "}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, msg, + printf("{family=AF_UNIX"), + printf(", ifindex=" IFINDEX_LO_STR "}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWMDB + 3); } static void -test_rtnl_nsid(const int fd) +test_rtnl_rtgen(const int fd) { + static const struct strval32 types = { + { ARG_STR(RTM_NEWNSID) }, + { ARG_STR(RTM_DELNSID) }, + { ARG_STR(RTM_GETNSID) }, + { ARG_STR(RTM_NEWCACHEREPORT) }, + }; static const struct rtgenmsg msg = { .rtgen_family = AF_UNIX }; void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); - TEST_NETLINK(fd, nlh0, - RTM_GETNSID, NLM_F_REQUEST, - sizeof(msg), &msg, sizeof(msg), - printf("{rtgen_family=AF_UNIX}")); + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + TEST_NETLINK_(fd, nlh0, typesi.val, typesi.str, + NLM_F_REQUEST, "NLM_F_REQUEST", + sizeof(msg), &msg, sizeof(msg), + printf("{rtgen_family=AF_UNIX}")); + } + + test_rtnl_unknown_msg(fd, RTM_NEWNSID + 3); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWCACHEREPORT + 3); +} + +static void +test_rtnl_nexthop(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWNEXTHOP) }, + { ARG_STR(RTM_DELNEXTHOP) }, + { ARG_STR(RTM_GETNEXTHOP) }, + }; + static const struct { + struct nhmsg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .nh_family = AF_UNIX, .nh_scope = RT_SCOPE_UNIVERSE, + .nh_protocol = RTPROT_KERNEL, .nh_flags = RTNH_F_DEAD, }, + "{nh_family=AF_UNIX", ", nh_scope=RT_SCOPE_UNIVERSE" + ", nh_protocol=RTPROT_KERNEL, nh_flags=RTNH_F_DEAD}" }, + { { .nh_family = 45, .nh_scope = 200, + .nh_protocol = 5, .resvd=1, .nh_flags = 0x80, }, + "{nh_family=AF_MCTP", ", nh_scope=RT_SCOPE_SITE" + ", nh_protocol=0x5 /* RTPROT_??? */, resvd=0x1" + ", nh_flags=0x80 /* RTNH_F_??? */}" }, + { { .nh_family = 46, .nh_scope = 201, + .nh_protocol = 99, .resvd=0xff, .nh_flags = 0xdeadbeef, }, + "{nh_family=0x2e /* AF_??? */", ", nh_scope=0xc9" + ", nh_protocol=RTPROT_OPENR, resvd=0xff, nh_flags=RTNH_F_DEAD" + "|RTNH_F_PERVASIVE|RTNH_F_ONLINK|RTNH_F_OFFLOAD" + "|RTNH_F_UNRESOLVED|RTNH_F_TRAP|0xdeadbe80}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOP + 3); +} + +static void +test_rtnl_ifstats(const int fd) +{ + static const struct strval32 types = { + { ARG_STR(RTM_NEWSTATS) }, + { ARG_STR(RTM_GETSTATS) }, + }; + const struct { + struct if_stats_msg msg; + const char *af_str; + const char *rest_str; + } msgs = { + { { .family = AF_UNIX, .pad1 = 0, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0, }, + "{family=AF_UNIX", ", ifindex=" IFINDEX_LO_STR + ", filter_mask=0}" }, + { { .family = 45, .pad1 = 0, .pad2 = 0xdead, + .ifindex = 0xdeadbeef, .filter_mask = 1, }, + "{family=AF_MCTP", ", pad2=0xdead, ifindex=3735928559" + ", filter_mask=1<<IFLA_STATS_UNSPEC}" }, + { { .family = 46, .pad1 = 0xca, .pad2 = 0, + .ifindex = ifindex_lo(), .filter_mask = 0xff, }, + "{family=0x2e /* AF_??? */", ", pad1=0xca" + ", ifindex=" IFINDEX_LO_STR + ", filter_mask=1<<IFLA_STATS_UNSPEC|1<<IFLA_STATS_LINK_64" + "|1<<IFLA_STATS_LINK_XSTATS|1<<IFLA_STATS_LINK_XSTATS_SLAVE" + "|1<<IFLA_STATS_LINK_OFFLOAD_XSTATS|1<<IFLA_STATS_AF_SPEC" + "|0xc0}" }, + { { .family = 255, .pad1 = 0xde, .pad2 = 0xbeef, + .ifindex = ifindex_lo(), .filter_mask = 0xdec0dec0, }, + "{family=0xff /* AF_??? */", ", pad1=0xde" + ", pad2=0xbeef, ifindex=" IFINDEX_LO_STR + ", filter_mask=0xdec0dec0 /* 1<<IFLA_STATS_??? */}" }, + }; + void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msgs0.msg)); + + for (size_t i = 0; i < ARRAY_SIZE(types); i++) { + for (size_t j = 0; j < ARRAY_SIZE(msgs); j++) { + TEST_NL_ROUTE_(fd, nlh0, typesi.val, typesi.str, + msgsj.msg, + printf("%s", msgsj.af_str), + printf("%s", msgsj.rest_str)); + } + } + + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 1); + test_rtnl_unknown_msg(fd, RTM_NEWSTATS + 3); } int main(void) @@ -430,19 +704,57 @@ test_nlmsg_flags(fd); test_nlmsg_done(fd); test_rtnl_unspec(fd); - test_rtnl_link(fd); - test_rtnl_addr(fd); - test_rtnl_route(fd); - test_rtnl_rule(fd); - test_rtnl_neigh(fd); - test_rtnl_neightbl(fd); - test_rtnl_tc(fd); - test_rtnl_tca(fd); - test_rtnl_addrlabel(fd); - test_rtnl_dcb(fd); - test_rtnl_netconf(fd); - test_rtnl_mdb(fd); - test_rtnl_nsid(fd); + + test_rtnl_link(fd); /* 16 */ + test_rtnl_addr(fd); /* 20, 56, 60 */ + test_rtnl_route(fd); /* 24 */ + test_rtnl_neigh(fd); /* 28 */ + test_rtnl_rule(fd); /* 32 */ + test_rtnl_tc(fd); /* 36, 40, 44, 100 */ + test_rtnl_tca(fd); /* 48 */ + + /* prefix */ /* 52 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWPREFIX)); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 1); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 2); + test_rtnl_unknown_msg(fd, RTM_NEWPREFIX + 3); + + test_rtnl_neightbl(fd); /* 64 */ + + /* nduserport */ /* 68 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNDUSEROPT)); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 1); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 2); + test_rtnl_unknown_msg(fd, RTM_NEWNDUSEROPT + 3); + + test_rtnl_addrlabel(fd); /* 72 */ + test_rtnl_dcb(fd); /* 76 */ + test_rtnl_netconf(fd); /* 80 */ + test_rtnl_mdb(fd); /* 84 */ + test_rtnl_rtgen(fd); /* 88, 96 */ + test_rtnl_ifstats(fd); /* 92 */ + test_rtnl_nexthop(fd); /* 104 */ + + /* linkprop */ /* 108 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELLINKPROP)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETLINKPROP)); + test_rtnl_unknown_msg(fd, RTM_NEWLINKPROP + 3); + + /* vlan */ /* 112 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELVLAN)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETVLAN)); + test_rtnl_unknown_msg(fd, RTM_NEWVLAN + 3); + + /* nexthopbucket */ /* 116 */ + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_NEWNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_DELNEXTHOPBUCKET)); + test_rtnl_unsupported_msg(fd, ARG_STR(RTM_GETNEXTHOPBUCKET)); + test_rtnl_unknown_msg(fd, RTM_NEWNEXTHOPBUCKET + 3); + + for (uint16_t i = 120; i < 124; i++) + test_rtnl_unknown_msg(fd, i); printf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr.c
Changed
@@ -201,9 +201,8 @@ msg = tail_alloc(msg_len); memcpy(msg, &c_msg, sizeof(c_msg)); msg->nlh.nlmsg_len = msg_len; - unsigned int i; nla = NLMSG_ATTR(msg, sizeof(msg->udm)); - for (i = 0; i < ABBREV_LEN; ++i) { + for (unsigned int i = 0; i < ABBREV_LEN; ++i) { nlai * 2 = (struct nlattr) { .nla_len = NLA_HDRLEN * 2 - 1, .nla_type = UNIX_DIAG_FIRST_UNUSED + i @@ -219,7 +218,7 @@ ", udiag_state=TCP_FIN_WAIT1, udiag_ino=0" ", udiag_cookie=0, 0}, ", fd, msg_len); - for (i = 0; i < DEFAULT_STRLEN; ++i) { + for (unsigned int i = 0; i < DEFAULT_STRLEN; ++i) { if (i) printf(", "); printf("{nla_len=%u, nla_type=%#x /* UNIX_DIAG_??? */}, ",
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_cachereport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport.c
Added
@@ -0,0 +1,250 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_netlink.h" +#include "test_nlattr.h" + +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/mroute.h> +#include <linux/mroute6.h> + +#include "xlat.h" +#include "xlat/addrfams.h" + +static uint8_t af; +static char af_str256; + +/* uses global "af" variable */ +static void +init_rtgen(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_NEWCACHEREPORT, + .nlmsg_flags = NLM_F_EXCL|NLM_F_APPEND, + ); + + struct rtgenmsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct rtgenmsg, msg, + .rtgen_family = af, + ); +} + +static void +print_rtgen(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {rtgen_family=%s}", + msg_len, XLAT_ARGS(RTM_NEWCACHEREPORT), + XLAT_ARGS(NLM_F_EXCL|NLM_F_APPEND), af_str); +} + +int +main(void) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct rtgenmsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 16); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown AF_* */ + static uint8_t skip_afs = { RTNL_FAMILY_IPMR, RTNL_FAMILY_IP6MR }; + struct { + struct rtgenmsg ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) hdr; + struct { + char strsizeof(unknown_msg); + } ATTRIBUTE_ALIGNED(NLMSG_ALIGNTO) payload; + } buf; + memcpy(buf.payload.str, unknown_msg, sizeof(unknown_msg)); + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + buf.hdr.rtgen_family = i; + TEST_NETLINK_(fd, nlh0, RTM_NEWCACHEREPORT, + XLAT_KNOWN(0x60, "RTM_NEWCACHEREPORT"), + NLM_F_REPLACE, + XLAT_KNOWN(0x100, "NLM_F_REPLACE"), + sizeof(buf), &buf, sizeof(buf), + printf("{rtgen_family=%s}" + ", \"\\xab\\xac\\xdb\\xcd\"", + sprintxval(addrfams, i, + "RTNL_FAMILY_???"))); + } + + + /* RTNL_FAMILY_IPMR */ + af = RTNL_FAMILY_IPMR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, XLAT_ARGS(RTNL_FAMILY_IPMR)); + + /* RTNL_FAMILY_IPMR: unknown, undecoded */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IPMRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IPMRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x7, "IPMRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IPMRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk_attrsi.val, unk_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IPMR: IPMRA_CREPORT_MSGTYPE */ + static const struct strval8 mr_msg_types = { + { ARG_XLAT_UNKNOWN(0, "IGMPMSG_???") }, + { ARG_XLAT_KNOWN(0x1, "IGMPMSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "IGMPMSG_WRONGVIF") }, + { ARG_XLAT_KNOWN(0x3, "IGMPMSG_WHOLEPKT") }, + { ARG_XLAT_KNOWN(0x4, "IGMPMSG_WRVIFWHOLE") }, + { ARG_XLAT_UNKNOWN(0x5, "IGMPMSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "IGMPMSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IPMRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, "IPMRA_CREPORT_MSGTYPE"), + pattern, mr_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr_msg_typesi.str)); + } + + /* RTNL_FAMILY_IPMR: u32 */ + static const struct strval16 u32_mr_attrs = { + { ENUM_KNOWN(0x2, IPMRA_CREPORT_VIF_ID) }, + { ENUM_KNOWN(0x6, IPMRA_CREPORT_TABLE) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_mr_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr_attrsi.val, u32_mr_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in_addr */ + static const struct strval16 in_addr_attrs = { + { ENUM_KNOWN(0x3, IPMRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IPMRA_CREPORT_DST_ADDR) }, + }; + static uint32_t ipv4_addr = BE32(0xdeadface); + for (size_t i = 0; i < ARRAY_SIZE(in_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in_addr_attrsi.val, + in_addr_attrsi.str, + pattern, ipv4_addr, 4, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xde\\xad\\xfa\\xce\"", + "inet_addr(\"222.173.250.206\")")) + ); + } + + + /* RTNL_FAMILY_IP6MR */ + af = RTNL_FAMILY_IP6MR; + snprintf(af_str, sizeof(af_str), XLAT_FMT, + XLAT_ARGS(RTNL_FAMILY_IP6MR)); + + /* RTNL_FAMILY_IP6MR: unknown, undecoded */ + static const struct strval16 unk6_attrs = { + { ENUM_KNOWN(0, IP6MRA_CREPORT_UNSPEC) }, + { ENUM_KNOWN(0x5, IP6MRA_CREPORT_PKT) }, + { ARG_XLAT_UNKNOWN(0x6, "IP6MRA_CREPORT_???") }, + { ARG_XLAT_UNKNOWN(0x1ead, "IP6MRA_CREPORT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(unk6_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, init_rtgen, print_rtgen, + unk6_attrsi.val, unk6_attrsi.str, + 16, pattern, 16, + print_quoted_hex(pattern, 16)); + } + + /* RTNL_FAMILY_IP6MR: IP6MRA_CREPORT_MSGTYPE */ + static const struct strval8 mr6_msg_types = { + { ARG_XLAT_UNKNOWN(0, "MRT6MSG_???") }, + { ARG_XLAT_KNOWN(0x1, "MRT6MSG_NOCACHE") }, + { ARG_XLAT_KNOWN(0x2, "MRT6MSG_WRONGMIF") }, + { ARG_XLAT_KNOWN(0x3, "MRT6MSG_WHOLEPKT") }, + { ARG_XLAT_UNKNOWN(0x4, "MRT6MSG_???") }, + { ARG_XLAT_UNKNOWN(0xca, "MRT6MSG_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(mr6_msg_types); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + IP6MRA_CREPORT_MSGTYPE, + XLAT_KNOWN(0x1, + "IP6MRA_CREPORT_MSGTYPE"), + pattern, mr6_msg_typesi.val, 1, + print_quoted_hex, + printf("%s", mr6_msg_typesi.str)); + } + + /* RTNL_FAMILY_IP6MR: u32 */ + static const struct strval16 u32_mr6_attrs = { + { ENUM_KNOWN(0x2, IP6MRA_CREPORT_MIF_ID) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_mr6_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_rtgen, print_rtgen, + u32_mr6_attrsi.val, u32_mr6_attrsi.str, + pattern, 0); + } + + /* RTNL_FAMILY_IPMR: in6_addr */ + static const struct strval16 in6_addr_attrs = { + { ENUM_KNOWN(0x3, IP6MRA_CREPORT_SRC_ADDR) }, + { ENUM_KNOWN(0x4, IP6MRA_CREPORT_DST_ADDR) }, + }; + uint8_t ipv6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + for (size_t i = 0; i < ARRAY_SIZE(in6_addr_attrs); i++) { + TEST_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_rtgen, print_rtgen, + in6_addr_attrsi.val, + in6_addr_attrsi.str, + pattern, ipv6_addr, 16, + print_quoted_hex, + printf(XLAT_KNOWN_FMT( + "\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_cachereport.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_cachereport +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ifinfomsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifinfomsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -293,7 +293,9 @@ .tx_heartbeat_errors = 0xedaededdadcdea, .tx_window_errors = 0xfdacdeaccedcda, .rx_compressed = 0xacdbbcacdbccef, - .tx_compressed = 0xbcdadefcdedfea + .tx_compressed = 0xbcdadefcdedfea, + .rx_nohandler = 0xcbdbacbfbafffd, + .rx_otherhost_dropped = 0xbefdafcfeeadcbfb }; TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -346,13 +348,72 @@ PRINT_FIELD_U(st64, tx_compressed); printf(", "); PRINT_FIELD_U(st64, rx_nohandler); + printf(", "); + PRINT_FIELD_U(st64, rx_otherhost_dropped); printf("}")); - const unsigned int sizeof_stats64 = + const unsigned int stats64_rx_nohandler_size = + offsetofend(struct rtnl_link_stats64, rx_nohandler); + TEST_NLATTR(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_STATS64, stats64_rx_nohandler_size, + &st64, stats64_rx_nohandler_size, + printf("{"); + PRINT_FIELD_U(st64, rx_packets); + printf(", "); + PRINT_FIELD_U(st64, tx_packets); + printf(", "); + PRINT_FIELD_U(st64, rx_bytes); + printf(", "); + PRINT_FIELD_U(st64, tx_bytes); + printf(", "); + PRINT_FIELD_U(st64, rx_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_dropped); + printf(", "); + PRINT_FIELD_U(st64, tx_dropped); + printf(", "); + PRINT_FIELD_U(st64, multicast); + printf(", "); + PRINT_FIELD_U(st64, collisions); + printf(", "); + PRINT_FIELD_U(st64, rx_length_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_over_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_crc_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_frame_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_missed_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_aborted_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_carrier_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_fifo_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_heartbeat_errors); + printf(", "); + PRINT_FIELD_U(st64, tx_window_errors); + printf(", "); + PRINT_FIELD_U(st64, rx_compressed); + printf(", "); + PRINT_FIELD_U(st64, tx_compressed); + printf(", "); + PRINT_FIELD_U(st64, rx_nohandler); + printf("}")); + + const unsigned int stats64_tx_compressed_size = offsetofend(struct rtnl_link_stats64, tx_compressed); TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, - IFLA_STATS64, sizeof_stats64, &st64, sizeof_stats64, + IFLA_STATS64, stats64_tx_compressed_size, + &st64, stats64_tx_compressed_size, printf("{"); PRINT_FIELD_U(st64, rx_packets); printf(", "); @@ -411,6 +472,7 @@ printf("{nla_len=%u, nla_type=IFLA_INFO_KIND}", nla.nla_len)); + /* IFLA_VF_PORTS */ nla.nla_type = IFLA_VF_PORT; TEST_NLATTR(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, @@ -418,6 +480,24 @@ printf("{nla_len=%u, nla_type=IFLA_VF_PORT}", nla.nla_len)); + /* IFLA_EXT_MASK */ + static const struct strval32 ifla_ext_masks = { + { ARG_STR(0) }, + { ARG_STR(RTEXT_FILTER_VF) }, + { ARG_STR(0xdeface80) " /* RTEXT_FILTER_??? */" }, + { 0xdeadfeed, "RTEXT_FILTER_VF|RTEXT_FILTER_BRVLAN_COMPRESSED" + "|RTEXT_FILTER_SKIP_STATS|RTEXT_FILTER_CFM_CONFIG" + "|RTEXT_FILTER_CFM_STATUS|0xdeadfe80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(ifla_ext_masks); i++) { + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_EXT_MASK, pattern, + ifla_ext_masksi.val, + printf("%s", ifla_ext_masksi.str)); + } + + /* IFLA_EVENT */ static const struct { uint32_t val; const char *str;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ifla.h -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla.h
Changed
@@ -17,6 +17,13 @@ # error "Please define IFLA_ATTR before including this file" # endif +# ifndef IFLA_AF +# define IFLA_AF AF_UNIX +# endif +# ifndef IFLA_AF_STR +# define IFLA_AF_STR "AF_UNIX" +# endif + static const unsigned int hdrlen = sizeof(struct ifinfomsg); static void @@ -30,7 +37,7 @@ struct ifinfomsg *const msg = NLMSG_DATA(nlh); SET_STRUCT(struct ifinfomsg, msg, - .ifi_family = AF_UNIX, + .ifi_family = IFLA_AF, .ifi_type = ARPHRD_LOOPBACK, .ifi_index = ifindex_lo(), .ifi_flags = IFF_UP, @@ -46,13 +53,16 @@ static void print_ifinfomsg(const unsigned int msg_len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETLINK, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=AF_UNIX" - ", ifi_type=ARPHRD_LOOPBACK" - ", ifi_index=" IFINDEX_LO_STR - ", ifi_flags=IFF_UP, ifi_change=0}" - ", {nla_len=%u, nla_type=" STRINGIFY_VAL(IFLA_ATTR) "}", - msg_len, msg_len - NLMSG_SPACE(hdrlen)); + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=" XLAT_FMT + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}" + ", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + XLAT_SEL(IFLA_AF, IFLA_AF_STR), XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP), + msg_len - NLMSG_SPACE(hdrlen), + XLAT_SEL(IFLA_ATTR, STRINGIFY_VAL(IFLA_ATTR))); } #endif /* STRACE_TESTS_NLATTR_IFLA_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_af_inet6.h
Added
@@ -0,0 +1,225 @@ +/* + * IFLA_INET6_* protocol-specific netlink attribute decoding check common code. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef STRACE_TESTS_NLATTR_IFLA_AF_INET6 +# define STRACE_TESTS_NLATTR_IFLA_AF_INET6 + +# include "tests.h" + +static void +print_arr_val(uint32_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%d", *val); +} + +static void +print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) +{ + if (idx_str) + printf("%s=", idx_str); + else + printf("%zu=", idx); + + printf("%" PRIu64, *val); +} + +static void +print_inet6_conf_val(uint32_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "DEVCONF_FORWARDING"), + XLAT_KNOWN(1, "DEVCONF_HOPLIMIT"), + }; + + print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_inet6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "IPSTATS_MIB_NUM"), + XLAT_KNOWN(1, "IPSTATS_MIB_INPKTS"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +print_icmp6_stats_val(uint64_t *val, size_t idx) +{ + static const char * const strs = { + XLAT_KNOWN(0, "ICMP6_MIB_NUM"), + XLAT_KNOWN(1, "ICMP6_MIB_INMSGS"), + XLAT_KNOWN(2, "ICMP6_MIB_INERRORS"), + XLAT_KNOWN(3, "ICMP6_MIB_OUTMSGS"), + XLAT_KNOWN(4, "ICMP6_MIB_OUTERRORS"), + XLAT_KNOWN(5, "ICMP6_MIB_CSUMERRORS"), + XLAT_UNKNOWN(6, "ICMP6_MIB_???"), + }; + + print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); +} + +static void +check_ifla_af_inet6(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + void *pattern, size_t depth) +{ + static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; + + /* Undecoded, unknown */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 0, XLAT_KNOWN(0, "IFLA_INET6_UNSPEC"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 10, "0xa" NRAW(" /* IFLA_INET6_??? */"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_FLAGS */ + static const struct { + uint32_t flags; + const char *str; + } inet6_flags = { + { 0xf, "0xf" NRAW(" /* IF_??? */") }, + { ARG_XLAT_KNOWN(0x10, "IF_RS_SENT") }, + { ARG_XLAT_KNOWN(0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF") }, + { ARG_XLAT_KNOWN(0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED" + "|IF_RA_OTHERCONF|IF_READY" + "|0x5eadc00e") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, + 1, XLAT_KNOWN(0x1, + "IFLA_INET6_FLAGS"), + pattern, inet6_flagsi.flags, + print_quoted_hex, depth, + printf("%s", inet6_flagsi.str)); + } + + + /* IFLA_INET6_CONF */ + uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_CONF, + XLAT_KNOWN(0x2, "IFLA_INET6_CONF"), + pattern, inet6_conf_vals, depth, + print_inet6_conf_val); + + + /* IFLA_INET6_STATS */ + uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_STATS, + XLAT_KNOWN(0x3, "IFLA_INET6_STATS"), + pattern, inet6_stats_vals, depth, + print_inet6_stats_val); + + + /* IFLA_INET6_MCAST */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 4, XLAT_KNOWN(0x4, "IFLA_INET6_MCAST"), + pattern, unknown_msg, print_quoted_hex, + depth, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INET6_CACHEINFO */ + static const struct ifla_cacheinfo ci = { + 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, 5, + XLAT_KNOWN(0x5, "IFLA_INET6_CACHEINFO"), + pattern, ci, print_quoted_hex, depth, + printf("{"); + PRINT_FIELD_U(ci, max_reasm_len); + printf(", "); + PRINT_FIELD_U(ci, tstamp); + printf(", "); + PRINT_FIELD_U(ci, reachable_time); + printf(", "); + PRINT_FIELD_U(ci, retrans_time); + printf("}")); + + + /* IFLA_INET6_ICMP6STATS */ + uint64_t icmp6_stats_vals = { + 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, + 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, + 0xdeadc0deda7afacc + }; + TEST_NESTED_NLATTR_ARRAY_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + IFLA_INET6_ICMP6STATS, + XLAT_KNOWN(0x6, "IFLA_INET6_ICMP6STATS"), + pattern, icmp6_stats_vals, depth, + print_icmp6_stats_val); + + + /* IFLA_INET6_TOKEN */ + uint8_t inet6_addr16 = { + 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, + 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + }; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 7, XLAT_KNOWN(0x7, "IFLA_INET6_TOKEN"), + pattern, inet6_addr, print_quoted_hex, + depth, + printf(XLAT_KNOWN_FMT("%s", "%s"), + XLAT_SEL("\"\\xba\\xdc\\x0d\\xed" + "\\xfa\\xce\\xbe\\xef" + "\\xde\\xca\\xfe\\xed" + "\\xde\\xad\\xfe\\xed\"", + "inet_pton(AF_INET6" + ", \"badc:ded:face:beef" + ":deca:feed:dead:feed\")"))); + + + /* IFLA_INET6_ADDR_GEN_MODE */ + static const struct { + uint8_t flags; + const char *str; + } agms = { + { ARG_XLAT_KNOWN(0, "IN6_ADDR_GEN_MODE_EUI64") }, + { ARG_XLAT_KNOWN(0x3, "IN6_ADDR_GEN_MODE_RANDOM") }, + { ARG_XLAT_UNKNOWN(0x4, "IN6_ADDR_GEN_MODE_???") }, + { ARG_XLAT_UNKNOWN(0xff, "IN6_ADDR_GEN_MODE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_msg, print_msg, 8, + XLAT_KNOWN(0x8, "IFLA_INET6_ADDR_GEN_MODE"), + pattern, agmsi.flags, + print_quoted_hex, depth, + printf("%s", agmsi.str)); + } + + + /* IFLA_INET6_RA_MTU */ + static const uint32_t ra_mtu = 0xdeadc0de; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, init_msg, print_msg, + 9, XLAT_KNOWN(0x9, "IFLA_INET6_RA_MTU"), + pattern, ra_mtu, print_quoted_hex, depth, + printf("3735929054")); +} + +#endif /* STRACE_TESTS_NLATTR_IFLA_AF_INET6 */
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ifla_af_spec.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_af_spec.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_AF_SPEC netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,17 +16,28 @@ #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> +#include "xlat.h" +#include "xlat/addrfams.h" + #define XLAT_MACROS_ONLY #include "xlat/rtnl_ifla_af_spec_inet_attrs.h" #include "xlat/rtnl_ifla_af_spec_inet6_attrs.h" #undef XLAT_MACROS_ONLY +static uint8_t msg_af = AF_UNIX; +static char msg_af_str32 = "AF_UNIX"; + +#define IFLA_AF msg_af +#define IFLA_AF_STR msg_af_str #define IFLA_ATTR IFLA_AF_SPEC #include "nlattr_ifla.h" +#include "nlattr_ifla_af_inet6.h" + #define AF_SPEC_FUNCS(family_) \ static void \ init_##family_##_msg(struct nlmsghdr *const nlh, \ @@ -54,28 +65,9 @@ AF_SPEC_FUNCS(AF_INET) AF_SPEC_FUNCS(AF_INET6) +AF_SPEC_FUNCS(AF_MCTP) -static void -print_arr_val(uint32_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%d", *val); -} - -static void -print_arr_uval(uint64_t *val, size_t idx, const char *idx_str) -{ - if (idx_str) - printf("%s = ", idx_str); - else - printf("%zu = ", idx); - - printf("%" PRIu64, *val); -} +AF_SPEC_FUNCS(IFLA_BRIDGE_VLAN_TUNNEL_INFO) static void print_inet_conf_val(uint32_t *val, size_t idx) @@ -88,45 +80,6 @@ print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); } - -static void -print_inet6_conf_val(uint32_t *val, size_t idx) -{ - static const char * const strs = { - "DEVCONF_FORWARDING", - "DEVCONF_HOPLIMIT", - }; - - print_arr_val(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_inet6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "IPSTATS_MIB_NUM", - "IPSTATS_MIB_INPKTS", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - -static void -print_icmp6_stats_val(uint64_t *val, size_t idx) -{ - static const char * const strs = { - "ICMP6_MIB_NUM", - "ICMP6_MIB_INMSGS", - "ICMP6_MIB_INERRORS", - "ICMP6_MIB_OUTMSGS", - "ICMP6_MIB_OUTERRORS", - "ICMP6_MIB_CSUMERRORS", - "6 /* ICMP6_MIB_??? */", - }; - - print_arr_uval(val, idx, idx < ARRAY_SIZE(strs) ? strsidx : NULL); -} - int main(void) { @@ -144,10 +97,40 @@ /* unknown AF_* */ - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - AF_UNIX, pattern, unknown_msg, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + static uint8_t skip_afs = { AF_INET, AF_INET6, AF_MCTP }; + size_t pos = 0; + static uint8_t skip_afs_msg = { AF_BRIDGE }; + size_t pos2 = 0; + for (size_t j = 0; j < 64; j++) { + if (pos2 < ARRAY_SIZE(skip_afs_msg) && skip_afs_msgpos2 == j) + { + pos2 += 1; + continue; + } + + msg_af = j; + msg_af_str0 = '\0'; + strncat(msg_af_str, sprintxval(addrfams, j, "AF_???"), + sizeof(msg_af_str) - 1); + pos = 0; + + for (size_t i = 0; i < 64; i++) { + if (pos < ARRAY_SIZE(skip_afs) && skip_afspos == i) { + pos += 1; + continue; + } + + const char *af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, + print_ifinfomsg, + i, af_str, pattern, + unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb" + "\\xcd\"")); + } + } /* AF_INET */ TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, @@ -168,124 +151,205 @@ IFLA_INET_CONF, pattern, inet_conf_vals, 2, print_inet_conf_val); - /* AF_INET6 */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 0, "IFLA_INET6_UNSPEC", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 9, "0x9 /* IFLA_INET6_??? */", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* AF_BRIDGE */ + msg_af = AF_BRIDGE; + strcpy(msg_af_str, "AF_BRIDGE"); + + /* AF_BRIDGE: unknown, unimplemented */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0x4, IFLA_BRIDGE_MRP) }, + { ENUM_KNOWN(0x5, IFLA_BRIDGE_CFM) }, + { ENUM_KNOWN(0x6, IFLA_BRIDGE_MST) }, + { ARG_XLAT_UNKNOWN(0x7, "IFLA_BRIDGE_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, + unk_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } - /* AF_INET6: IFLA_INET6_FLAGS */ - static const struct { - uint32_t flags; - const char *str; - } inet6_flags = { - { 0xf, "0xf /* IF_??? */" }, - { 0x10, "IF_RS_SENT" }, - { 0xc0, "IF_RA_MANAGED|IF_RA_OTHERCONF" }, - { 0xdeadc0de, "IF_RS_SENT|IF_RA_MANAGED|IF_RA_OTHERCONF" - "|IF_READY|0x5eadc00e" }, + /* AF_BRIDGE: IFLA_BRIDGE_FLAGS */ + static const struct strval16 bridge_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_FLAGS_MASTER) }, + { ARG_STR(BRIDGE_FLAGS_SELF) }, + { ARG_STR(BRIDGE_FLAGS_MASTER|BRIDGE_FLAGS_SELF) }, + { ARG_STR(0x4) " /* BRIDGE_FLAGS_??? */" }, + { 0xcafe, "BRIDGE_FLAGS_SELF|0xcafc" }, + { ARG_STR(0x7eac) " /* BRIDGE_FLAGS_??? */" }, }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_FLAGS, + "IFLA_BRIDGE_FLAGS", + pattern, bridge_flagsi.val, + print_quoted_hex, 1, + printf("%s", bridge_flagsi.str) + ); + } - for (size_t i = 0; i < ARRAY_SIZE(inet6_flags); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_MODE */ + static const struct strval16 bridge_modes = { + { ARG_STR(BRIDGE_MODE_VEB) }, + { ARG_STR(BRIDGE_MODE_VEPA) }, + { ARG_STR(0x2) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0x3) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xcafe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(0xfffe) " /* BRIDGE_MODE_??? */" }, + { ARG_STR(BRIDGE_MODE_UNDEF) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bridge_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 1, "IFLA_INET6_FLAGS", pattern, - inet6_flagsi.flags, - print_quoted_hex, 2, - printf("%s", inet6_flagsi.str)); + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_MODE, + "IFLA_BRIDGE_MODE", + pattern, bridge_modesi.val, + print_quoted_hex, 1, + printf("%s", bridge_modesi.str) + ); } - /* AF_INET6: IFLA_INET6_CONF */ - uint32_t inet6_conf_vals = { 0xdeadc0de, 0xda7aface }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_CONF, pattern, - inet6_conf_vals, 2, print_inet6_conf_val); + /* AF_BRIDGE: IFLA_BRIDGE_VLAN_INFO */ + static const struct { + struct bridge_vlan_info val; + const char *str; + } bridge_vis = { + { { 0, 0 }, "{flags=0, vid=0}" }, + { { 1, 1 }, "{flags=BRIDGE_VLAN_INFO_MASTER, vid=1}" }, + { { 0x69, 0xface }, + "{flags=BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS" + ", vid=64206}" }, + { {0xef80, 0xfeed }, + "{flags=0xef80 /* BRIDGE_VLAN_INFO_??? */, vid=65261}" }, + { {0xcafe, 0xdead }, + "{flags=BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN|BRIDGE_VLAN_INFO_RANGE_END" + "|BRIDGE_VLAN_INFO_BRENTRY|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" + ", vid=57005}" }, + }; + char bvi_buf12; - /* AF_INET6: IFLA_INET6_STATS */ - uint64_t inet6_stats_vals = { 0xdeadc0deda7aface, 0xdec0deedbadc0ded }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_STATS, pattern, - inet6_stats_vals, 2, print_inet6_stats_val); + fill_memory_ex(bvi_buf, sizeof(bvi_buf), 'z', 0x80); - /* AF_INET6: IFLA_INET6_MCAST */ - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 4, "IFLA_INET6_MCAST", pattern, - unknown_msg, print_quoted_hex, 2, - printf("\"\\xab\\xac\\xdb\\xcd\"")); + for (size_t i = 0; i < ARRAY_SIZE(bridge_vis); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, + "IFLA_BRIDGE_VLAN_INFO", + pattern, bridge_visi.val, + print_quoted_hex, 1, + printf("%s", bridge_visi.str)); + + memcpy(bvi_buf, &bridge_visi.val, sizeof(bridge_visi.val)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + IFLA_BRIDGE_VLAN_INFO, "IFLA_BRIDGE_VLAN_INFO", + sizeof(bvi_buf), bvi_buf, sizeof(bvi_buf), + printf("%s, \"\\x7e\\x7f\\x80\\x81\\x82" + "\\x83\\x84\\x85\"", + bridge_visi.str)); + } - /* AF_INET6: IFLA_INET6_CACHEINFO */ - static const struct ifla_cacheinfo ci = { - 0xbadc0ded, 0xfacebeef, 0xdecafeed, 0xdeadfeed, + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: unknown, undecoded */ + static const struct strval16 unk_bti_attrs = { + { ENUM_KNOWN(0, IFLA_BRIDGE_VLAN_TUNNEL_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRIDGE_VLAN_TUNNEL_???") }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 5, "IFLA_INET6_CACHEINFO", pattern, - ci, print_quoted_hex, 2, - printf("{"); - PRINT_FIELD_U(ci, max_reasm_len); - printf(", "); - PRINT_FIELD_U(ci, tstamp); - printf(", "); - PRINT_FIELD_U(ci, reachable_time); - printf(", "); - PRINT_FIELD_U(ci, retrans_time); - printf("}")); - - /* AF_INET6: IFLA_INET6_ICMP6STATS */ - uint64_t icmp6_stats_vals = { - 0xdeadc0deda7aface, 0xdec0deedbadc0ded, 0xfacebeefdeadfeed, - 0xdeadc0deda7afacd, 0xdec0deedbadc0dee, 0xfacebeefdeadfeef, - 0xdeadc0deda7afacc - }; - TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - IFLA_INET6_ICMP6STATS, pattern, - icmp6_stats_vals, 2, print_icmp6_stats_val); - - /* AF_INET6: IFLA_INET6_TOKEN */ - uint8_t inet6_addr16 = { - 0xba, 0xdc, 0x0d, 0xed, 0xfa, 0xce, 0xbe, 0xef, - 0xde, 0xca, 0xfe, 0xed, 0xde, 0xad, 0xfe, 0xed, + for (size_t i = 0; i < ARRAY_SIZE(unk_bti_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + unk_bti_attrsi.val, + unk_bti_attrsi.str, + pattern, unknown_msg, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u32 attrs */ + static const struct strval16 u32_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_ID) }, }; - TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, print_AF_INET6_msg, - 7, "IFLA_INET6_TOKEN", pattern, - inet6_addr, print_quoted_hex, 2, - printf("inet_pton(AF_INET6" - ", \"badc:ded:face:beef" - ":deca:feed:dead:feed\")")); - - /* AF_INET6: IFLA_INET6_ */ - static const struct { - uint8_t flags; - const char *str; - } agms = { - { 0x0, "IN6_ADDR_GEN_MODE_EUI64" }, - { 0x3, "IN6_ADDR_GEN_MODE_RANDOM" }, - { 0x4, "0x4 /* IN6_ADDR_GEN_MODE_??? */" }, - { 0xff, "0xff /* IN6_ADDR_GEN_MODE_??? */" }, + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_bti_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u32_bti_attrsi.val, u32_bti_attrsi.str, + pattern, 2); + } + + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: u16 attrs */ + static const struct strval16 u16_bti_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRIDGE_VLAN_TUNNEL_VID) }, }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_bti_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + u16_bti_attrsi.val, u16_bti_attrsi.str, + pattern, 2); + } - for (size_t i = 0; i < ARRAY_SIZE(agms); i++) { + /* AF_BRIDGE: IFLA_BRIDGE_TUNNEL_INFO: IFLA_BRIDGE_VLAN_TUNNEL_FLAGS */ + static const struct strval16 bti_flags = { + { ARG_STR(0) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER) }, + { ARG_STR(BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(BRIDGE_VLAN_INFO_MASTER|BRIDGE_VLAN_INFO_PVID) }, + { ARG_STR(0xef80) " /* BRIDGE_VLAN_INFO_??? */" }, + { 0xcafe, "BRIDGE_VLAN_INFO_PVID|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_RANGE_END|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS|0xca80" }, + }; + for (size_t i = 0; i < ARRAY_SIZE(bti_flags); i++) { TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, - init_AF_INET6_msg, - print_AF_INET6_msg, - 8, "IFLA_INET6_ADDR_GEN_MODE", - pattern, agmsi.flags, + init_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + print_IFLA_BRIDGE_VLAN_TUNNEL_INFO_msg, + IFLA_BRIDGE_VLAN_TUNNEL_FLAGS, + "IFLA_BRIDGE_VLAN_TUNNEL_FLAGS", + pattern, bti_flagsi.val, print_quoted_hex, 2, - printf("%s", agmsi.str)); + printf("%s", bti_flagsi.str) + ); } + /* AF_INET6 */ + msg_af = AF_UNIX; + strcpy(msg_af_str, "AF_UNIX"); + + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_AF_INET6_msg, print_AF_INET6_msg, pattern, 2); + + /* AF_MCTP */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 0, "IFLA_MCTP_UNSPEC", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_AF_MCTP_msg, print_AF_MCTP_msg, + 2, "0x2 /* IFLA_MCTP_??? */", pattern, + unknown_msg, print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* AF_MCTP: IFLA_MCTP_NET */ + check_u32_nlattr(fd, nlh0, hdrlen, init_AF_MCTP_msg, print_AF_MCTP_msg, + 1, "IFLA_MCTP_NET", pattern, 2); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_brport.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_brport-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ifla_brport.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_brport.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -17,6 +17,8 @@ #include <linux/rtnetlink.h> #define IFLA_ATTR IFLA_PROTINFO +#define IFLA_AF AF_BRIDGE +#define IFLA_AF_STR "AF_BRIDGE" #include "nlattr_ifla.h" int @@ -24,37 +26,183 @@ { skip_if_unavailable("/proc/self/fd/"); - const uint16_t u16 = 0xabcd; - const uint64_t u64 = 0xabcdedeeefeafeab; const int fd = create_nl_socket(NETLINK_ROUTE); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), - NLA_HDRLEN * 2 + sizeof(u64)); + NLA_HDRLEN * 2 + 42); static char pattern4096; fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_PRIORITY, pattern, u16, - printf("%u", u16)); - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_MESSAGE_AGE_TIMER, pattern, u64, - printf("%" PRIu64, u64)); + /* Unknown, unhandled, unsupported */ + static const struct strval16 un_attrs = { + { ENUM_KNOWN(0, IFLA_BRPORT_UNSPEC) }, + { ENUM_KNOWN(0x18, IFLA_BRPORT_FLUSH) }, + { ENUM_KNOWN(0x1a, IFLA_BRPORT_PAD) }, + { ARG_XLAT_UNKNOWN(0x28, "IFLA_BRPORT_???") }, + { ARG_XLAT_UNKNOWN(0xbad, "IFLA_BRPORT_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(un_attrs); i++) { + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN, hdrlen + NLA_HDRLEN, + init_ifinfomsg, print_ifinfomsg, + un_attrsi.val, un_attrsi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* u8 attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x1, IFLA_BRPORT_STATE) }, + { ENUM_KNOWN(0x4, IFLA_BRPORT_MODE) }, + { ENUM_KNOWN(0x5, IFLA_BRPORT_GUARD) }, + { ENUM_KNOWN(0x6, IFLA_BRPORT_PROTECT) }, + { ENUM_KNOWN(0x7, IFLA_BRPORT_FAST_LEAVE) }, + { ENUM_KNOWN(0x8, IFLA_BRPORT_LEARNING) }, + { ENUM_KNOWN(0x9, IFLA_BRPORT_UNICAST_FLOOD) }, + { ENUM_KNOWN(0xa, IFLA_BRPORT_PROXYARP) }, + { ENUM_KNOWN(0xb, IFLA_BRPORT_LEARNING_SYNC) }, + { ENUM_KNOWN(0xc, IFLA_BRPORT_PROXYARP_WIFI) }, + { ENUM_KNOWN(0x13, IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ENUM_KNOWN(0x14, IFLA_BRPORT_CONFIG_PENDING) }, + { ENUM_KNOWN(0x19, IFLA_BRPORT_MULTICAST_ROUTER) }, + { ENUM_KNOWN(0x1b, IFLA_BRPORT_MCAST_FLOOD) }, + { ENUM_KNOWN(0x1c, IFLA_BRPORT_MCAST_TO_UCAST) }, + { ENUM_KNOWN(0x1d, IFLA_BRPORT_VLAN_TUNNEL) }, + { ENUM_KNOWN(0x1e, IFLA_BRPORT_BCAST_FLOOD) }, + { ENUM_KNOWN(0x20, IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ENUM_KNOWN(0x21, IFLA_BRPORT_ISOLATED) }, + { ENUM_KNOWN(0x23, IFLA_BRPORT_MRP_RING_OPEN) }, + { ENUM_KNOWN(0x24, IFLA_BRPORT_MRP_IN_OPEN) }, + { ENUM_KNOWN(0x27, IFLA_BRPORT_LOCKED) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u8_attrsi.val, u8_attrsi.str, pattern, 1); + } + + + /* u16 attrs */ + static const struct strval16 u16_attrs = { + { ENUM_KNOWN(0x2, IFLA_BRPORT_PRIORITY) }, + { ENUM_KNOWN(0xf, IFLA_BRPORT_DESIGNATED_PORT) }, + { ENUM_KNOWN(0x10, IFLA_BRPORT_DESIGNATED_COST) }, + { ENUM_KNOWN(0x11, IFLA_BRPORT_ID) }, + { ENUM_KNOWN(0x12, IFLA_BRPORT_NO) }, + }; + void *nlh_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(u16_attrs); i++) { + check_u16_nlattr(fd, nlh_u16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u16_attrsi.val, u16_attrsi.str, + pattern, 1); + } + + /* x16 attrs */ + static const struct strval16 x16_attrs = { + { ENUM_KNOWN(0x1f, IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + void *nlh_x16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + for (size_t i = 0; i < ARRAY_SIZE(x16_attrs); i++) { + check_x16_nlattr(fd, nlh_x16, hdrlen, + init_ifinfomsg, print_ifinfomsg, + x16_attrsi.val, x16_attrsi.str, + pattern, 1); + } + + + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x3, IFLA_BRPORT_COST) }, + { ENUM_KNOWN(0x25, IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT) }, + { ENUM_KNOWN(0x26, IFLA_BRPORT_MCAST_EHT_HOSTS_CNT) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + u32_attrsi.val, u32_attrsi.str, + pattern, 1); + } + + + /* clock_t attrs */ + static const struct strval16 c_t_attrs = { + { ENUM_KNOWN(0x15, IFLA_BRPORT_MESSAGE_AGE_TIMER) }, + { ENUM_KNOWN(0x16, IFLA_BRPORT_FORWARD_DELAY_TIMER) }, + { ENUM_KNOWN(0x17, IFLA_BRPORT_HOLD_TIMER) }, + }; + void *nlh_c_t = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(c_t_attrs); i++) { + check_clock_t_nlattr(fd, nlh_c_t, hdrlen, + init_ifinfomsg, print_ifinfomsg, + c_t_attrsi.val, c_t_attrsi.str, 1); + } + + + /* struct ifla_bridge_id attrs */ static const struct ifla_bridge_id id = { .prio = { 0xab, 0xcd }, .addr = { 0xab, 0xcd, 0xef, 0xac, 0xbc, 0xcd } }; - TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, - init_ifinfomsg, print_ifinfomsg, - IFLA_BRPORT_ROOT_ID, pattern, id, - printf("{prio=%u, %u" - ", addr=%02x:%02x:%02x:%02x:%02x:%02x}", - id.prio0, id.prio1, - id.addr0, id.addr1, id.addr2, - id.addr3, id.addr4, id.addr5)); + static const struct strval16 id_attrs = { + { ENUM_KNOWN(0xd, IFLA_BRPORT_ROOT_ID) }, + { ENUM_KNOWN(0xe, IFLA_BRPORT_BRIDGE_ID) }, + }; + void *nlh_id = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(id)); + for (size_t i = 0; i < ARRAY_SIZE(id_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_id, hdrlen, + init_ifinfomsg, print_ifinfomsg, + id_attrsi.val, id_attrsi.str, + pattern, id, print_quoted_hex, 1, + printf("{prio=%1$u, %2$u, addr=" + XLAT_KNOWN_FMT("\"" + "\\x%3$02x\\x%4$02x" + "\\x%5$02x\\x%6$02x" + "\\x%7$02x\\x%8$02x\"", + "%3$02x:%4$02x:%5$02x" + ":%6$02x:%7$02x:%8$02x") + "}", + id.prio0, id.prio1, + id.addr0, id.addr1, + id.addr2, id.addr3, + id.addr4, id.addr5)); + } + + + /* ifindex attrs */ + uint32_t ifidx = 0xbadc0ded; + static const struct strval16 if_attrs = { + { ENUM_KNOWN(0x22, IFLA_BRPORT_BACKUP_PORT) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + ifidx = 0xbadc0ded; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf("3134983661")); + ifidx = ifindex_lo(); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_u32, hdrlen, + init_ifinfomsg, print_ifinfomsg, + if_attrsi.val, if_attrsi.str, + pattern, ifidx, + print_quoted_hex, 1, + printf(XLAT_FMT_U, + XLAT_SEL(ifidx, + IFINDEX_LO_STR))); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ifla_linkinfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_linkinfo.c
Changed
@@ -1,7 +1,7 @@ /* * IFLA_LINKINFO netlink attribute decoding check. * - * Copyright (c) 2018-2021 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -10,14 +10,18 @@ #include "tests.h" #include <inttypes.h> +#include <math.h> #include <stdio.h> #include <stddef.h> +#include <unistd.h> #include <arpa/inet.h> #include "test_nlattr.h" +#include "xmalloc.h" #include <linux/if.h> #include <linux/if_arp.h> +#include <linux/if_bridge.h> #include <linux/if_link.h> #include <linux/rtnetlink.h> @@ -30,17 +34,17 @@ #include "nlattr_ifla.h" #define COMMA , -#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, objtype_, objtype_str_, \ +#define TEST_UNKNOWN_TUNNELS(fd_, nlh0_, kindtype_, objtype_, objtype_str_, \ obj_, objsz_, arrstrs_, ...) \ do { \ /* 64 is guestimate for maximum unknown type len */ \ char buf8 * 2 + 64 + objsz_; \ - const char **arrstrs = arrstrs_; \ - const char ***arrstrs_pos = arrstrs; \ - const char **arrstr = *arrstrs_pos; \ - const char *type = NULL; \ + const char *const *arrstrs = arrstrs_; \ + const char *const **arrstrs_pos = arrstrs; \ + const char *const *arrstr = *arrstrs_pos; \ \ - for (type = arrstr ? arrstr0 : NULL; type && arrstr; \ + for (const char *type = arrstr ? arrstr0 : NULL; \ + type && arrstr; \ type = (++arrstr)0 ? arrstr0 \ : (++arrstrs_pos)0 \ ? (arrstr = arrstrs_pos0)0 \ @@ -70,7 +74,7 @@ (nlh0_) - hdrlen - (pos - buf), \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ type_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", type); \ @@ -85,8 +89,8 @@ } \ } while (0) -#define TEST_LINKINFO_(fd_, nlh0_, nla_type_, nla_type_str_, tuntype_, \ - obj_, objsz_, pattern_, fallback_func_, ...) \ +#define TEST_LINKINFO_(fd_, nlh0_, kindtype_, nla_type_, nla_type_str_, \ + tuntype_, obj_, objsz_, pattern_, fallback_func_, ...) \ do { \ size_t tuntype_len = strlen(tuntype_) + 1; \ char *buf = tail_alloc(NLA_ALIGN(tuntype_len) \ @@ -109,7 +113,7 @@ (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, \ objsz_ + (pos - buf) - 1, \ buf, objsz_ + (pos - buf) - 1, \ @@ -126,7 +130,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf) - 1, \ printf("\"%s\"", (tuntype_)); \ @@ -142,7 +146,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - NLA_HDRLEN, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, objsz_ + (pos - buf), \ buf, objsz_ + (pos - buf), \ printf("\"%s\"", (tuntype_)); \ @@ -155,13 +159,13 @@ printf("")); \ } while (0) -#define TEST_LINKINFO(fd_, nlh0_, nla_type_, tuntype_, \ - obj_, pattern_, fallback_func_, ...) \ - TEST_LINKINFO_((fd_), (nlh0_), nla_type_, #nla_type_, (tuntype_), \ - (obj_), sizeof(obj_), pattern_, fallback_func_, \ - __VA_ARGS__) +#define TEST_LINKINFO(fd_, nlh0_, kindtype_, nla_type_, tuntype_, \ + obj_, pattern_, fallback_func_, ...) \ + TEST_LINKINFO_((fd_), (nlh0_), kindtype_, nla_type_, #nla_type_, \ + (tuntype_), (obj_), sizeof(obj_), pattern_, \ + fallback_func_, __VA_ARGS__) -#define TEST_NESTED_LINKINFO(fd_, nlh0_, \ +#define TEST_NESTED_LINKINFO(fd_, nlh0_, kindtype_, \ nla_type_, nla_type_str_, tuntype_, \ subnla_type_, subnla_type_str_, \ obj_, pattern_, ...) \ @@ -215,7 +219,7 @@ TEST_NLATTR_EX_((fd_), (nlh0_) - hdrlen - tunhdrlen, \ hdrlen + NLA_HDRLEN, \ init_ifinfomsg, print_ifinfomsg, \ - IFLA_INFO_KIND, "IFLA_INFO_KIND", \ + (kindtype_), #kindtype_, \ tuntype_len, buflen, \ buf, buflen, \ printf("\"%s\"", (tuntype_)); \ @@ -241,8 +245,8 @@ main(void) { static const uint8_t unknown_msg = { 0xab, 0xac, 0xdb, 0xcd }; - static const char *unsupported_tunnel_types = { - "batadv", "bond", + static const char *const unsupported_tunnel_types = { + "batadv", "bareudp", "bond", "caif", "cfhsi", "dummy", "erspan", @@ -260,17 +264,31 @@ "team", "vcan", "veth", "vlan", "vrf", "vsockmon", "vti", "vti6", "vxcan", "vxlan", + "wireguard", "wwan", + "xfrm", NULL }; - static const char *unsupported_xstats_types = { + static const char *const unsupported_xstats_types = { "bridge", "tun", NULL }; - static const char *unsupported_data_types = { + static const char *const unsupported_data_types = { "can", NULL }; + static const char *const unsupported_slave_data_types = { + "can", + "tun", + NULL + }; + /* supported by at least one attribute */ + static const char *const supported_tunnel_types = { + "bridge", + "can", + "tun", + NULL + }; skip_if_unavailable("/proc/self/fd/"); @@ -305,27 +323,28 @@ /* IFLA_INFO_KIND + IFLA_INFO_UNSPEC */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + IFLA_INFO_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, "IFLA_INFO_KIND", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_DATA, "IFLA_INFO_DATA", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA unsupported_data_types COMMA @@ -347,11 +366,12 @@ { 0, "IFLA_BR_UNSPEC" }, { 21, "IFLA_BR_FDB_FLUSH" }, { 40, "IFLA_BR_PAD" }, - { 47, "0x2f /* IFLA_BR_??? */" }, + { 48, "0x30 /* IFLA_BR_??? */" }, }; for (size_t k = 0; k < ARRAY_SIZE(und_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", und_br_attrsk.val, und_br_attrsk.name, unknown_msg, pattern, { 2, "\"\\xab\\xac\"" }, @@ -369,7 +389,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(hwa_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", hwa_br_attrsk.val, hwa_br_attrsk.name, unknown_msg, pattern, { 2, "ab:ac" }, @@ -379,7 +400,11 @@ { 10, "ab:ac:db:cd:61:62:63:64:65:66" }); } - static const struct val_name u64_br_attrs = { + static const struct val_name c_t_br_attrs = { + { 1, "IFLA_BR_FORWARD_DELAY" }, + { 2, "IFLA_BR_HELLO_TIME" }, + { 3, "IFLA_BR_MAX_AGE" }, + { 4, "IFLA_BR_AGEING_TIME" }, { 16, "IFLA_BR_HELLO_TIMER" }, { 17, "IFLA_BR_TCN_TIMER" }, { 18, "IFLA_BR_TOPOLOGY_CHANGE_TIMER" }, @@ -391,27 +416,28 @@ { 34, "IFLA_BR_MCAST_QUERY_RESPONSE_INTVL" }, { 35, "IFLA_BR_MCAST_STARTUP_QUERY_INTVL" }, }; + char sz7_str64; + char sz8_str64; + + clock_t_str(BE_LE(0xdeadc0defacefe, 0xadc0defacefeed), + ARRSZ_PAIR(sz7_str)); + clock_t_str(0xdeadc0defacefeed, ARRSZ_PAIR(sz8_str)); - for (size_t k = 0; k < ARRAY_SIZE(u64_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", - u64_br_attrsk.val, u64_br_attrsk.name, + for (size_t k = 0; k < ARRAY_SIZE(c_t_br_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + c_t_br_attrsk.val, c_t_br_attrsk.name, u64_val, pattern, - { 7, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde\\xad\\xc0\\xde\\xfa\\xce\\xfe" -#else - "\\xed\\xfe\\xce\\xfa\\xde\\xc0\\xad" -#endif - "\"" }, - { 8, "16045693111314087661" }, - { 9, "16045693111314087661" }); + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); } static const struct val_name u32_br_attrs = { - { 1, "IFLA_BR_FORWARD_DELAY" }, - { 2, "IFLA_BR_HELLO_TIME" }, - { 3, "IFLA_BR_MAX_AGE" }, - { 4, "IFLA_BR_AGEING_TIME" }, { 5, "IFLA_BR_STP_STATE" }, { 13, "IFLA_BR_ROOT_PATH_COST" }, { 26, "IFLA_BR_MCAST_HASH_ELASTICITY" }, @@ -421,16 +447,12 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u32_br_attrsk.val, u32_br_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -442,36 +464,25 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u16_br_attrsk.val, u16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "57069" }, { 3, "57069" }); } - static const struct val_name x16_br_attrs = { { 9, "IFLA_BR_GROUP_FWD_MASK" }, }; for (size_t k = 0; k < ARRAY_SIZE(x16_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", x16_br_attrsk.val, x16_br_attrsk.name, u16_val, pattern, - { 1, "\"" -#ifdef WORDS_BIGENDIAN - "\\xde" -#else - "\\xed" -#endif - "\"" }, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, { 2, "0xdeed" }, { 3, "0xdeed" }); } @@ -495,7 +506,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_br_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", u8_br_attrsk.val, u8_br_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -504,7 +516,8 @@ } unsigned short eth_p = htons(0x88C7); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", 8, "IFLA_BR_VLAN_PROTOCOL", eth_p, pattern, { 1, "\"\\x88\"" }, @@ -519,7 +532,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(br_id_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "bridge", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", br_id_attrsk.val, br_id_attrsk.name, bridge_id, pattern, { 7, "\"\\xbe\\xef\\xfa\\xce" @@ -530,6 +544,143 @@ ", addr=fa:ce:de:c0:de:ad}" }); } + static const struct { + struct br_boolopt_multi val; + const char *crop_str; + const char *str; + } boolopts = { + { { .optval = 0, .optmask = 0 }, + "\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "{optval=0, optmask=0}" }, + { { .optval = 1, .optmask = 2 }, + BE_LE("\"\\x00\\x00\\x00\\x01\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\\x00\\x02\\x00\\x00\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING}" }, + { { .optval = 0xdeadfae8, .optmask = 0xbadc0de8 }, + BE_LE("\"\\xde\\xad\\xfa\\xe8\\xba\\xdc\\x0d\"", + "\"\\xe8\\xfa\\xad\\xde\\xe8\\x0d\\xdc\""), + "{optval=0xdeadfae8 /* 1<<BR_BOOLOPT_??? */" + ", optmask=0xbadc0de8 /* 1<<BR_BOOLOPT_??? */}" }, + { { .optval = 0xfacebeef, .optmask = 0xfeedcafe }, + BE_LE("\"\\xfa\\xce\\xbe\\xef\\xfe\\xed\\xca\"", + "\"\\xef\\xbe\\xce\\xfa\\xfe\\xca\\xed\""), + "{optval=1<<BR_BOOLOPT_NO_LL_LEARN" + "|1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfacebee8" + ", optmask=1<<BR_BOOLOPT_MCAST_VLAN_SNOOPING" + "|1<<BR_BOOLOPT_MST_ENABLE|0xfeedcaf8}" }, + }; + for (size_t k = 0; k < ARRAY_SIZE(boolopts); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MULTI_BOOLOPT, + "IFLA_BR_MULTI_BOOLOPT", + booloptsk.val, pattern, + { 7, booloptsk.crop_str }, + { 9, booloptsk.str }, + { 9, booloptsk.str }); + } + +#define QSTATE_NLA(type_, type_str_, field_, crop_str_, str_, ...) \ + { { .nla = { .nla_len = NLA_HDRLEN \ + + sizeof(qstate_attrs0.val.payload.field_), \ + .nla_type = type_ }, \ + .payload = { .field_ = __VA_ARGS__ } }, \ + .sz = NLA_HDRLEN + sizeof(qstate_attrs0.val.payload.field_), \ + .type_str = type_str_, .crop_str = crop_str_, .str = str_ } + + char ip_timer_crop64; + char ip_timer64; + char ipv6_timer_crop64; + char ipv6_timer64; + struct { + struct { + struct nlattr nla; + union { + uint8_t chr; + uint8_t ipv44; + uint8_t ipv616; + uint32_t ifindex; + uint32_t clk; + } payload; + } val; + size_t sz; + const char *type_str; + const char *crop_str; + const char *str; + } qstate_attrs = { + QSTATE_NLA(BRIDGE_QUERIER_UNSPEC, "BRIDGE_QUERIER_UNSPEC", ipv4, + "\"\\xde\\xad\\xfa\"", + "\"\\xde\\xad\\xfa\\xce\"", + { 0xde, 0xad, 0xfa, 0xce } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_ADDRESS, + "BRIDGE_QUERIER_IP_ADDRESS", ipv4, + "\"\\x5d\\xb8\\xd8\"", + "inet_addr(\"93.184.216.34\")", + { 0x5d, 0xb8, 0xd8, 0x22 } ), + QSTATE_NLA(BRIDGE_QUERIER_IP_PORT, + "BRIDGE_QUERIER_IP_PORT", ifindex, + xasprintf("\"\\x%02x\\x%02x\\x%02x\"", + (ifindex_lo() >> BE_LE(24, 0)) & 0xff, + (ifindex_lo() >> BE_LE(16, 8)) & 0xff, + (ifindex_lo() >> BE_LE(8, 16)) & 0xff), + IFINDEX_LO_STR, + ifindex_lo() ), + QSTATE_NLA(BRIDGE_QUERIER_IP_OTHER_TIMER, + "BRIDGE_QUERIER_IP_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xcafefe, 0xfefeed), + ARRSZ_PAIR(ip_timer_crop)), + clock_t_str(0xcafefeed, ARRSZ_PAIR(ip_timer)), + 0xcafefeed ), + QSTATE_NLA(BRIDGE_QUERIER_PAD, "BRIDGE_QUERIER_PAD", ipv4, + "\"\\xfa\\xce\\xfe\"", + "\"\\xfa\\xce\\xfe\\xed\"", + { 0xfa, 0xce, 0xfe, 0xed } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_ADDRESS, + "BRIDGE_QUERIER_IPV6_ADDRESS", ipv6, + "\"\\xde\\xad\\xfa\\xce\\x80\\x00\\x00\\x00" + "\\x00\\x00\\x00\\xad\\x00\\x00\\x00\"", + "inet_pton(AF_INET6, \"dead:face:8000::ad:0:ec\")", + { 0xde, 0xad, 0xfa, 0xce, 0x80, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0xad, 0x00, 0x00, 0x00, 0xec } ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_PORT, + "BRIDGE_QUERIER_IPV6_PORT", ifindex, + BE_LE("\"\\xbb\\x40\\xe6\"", "\"\\x4d\\xe6\\x40\""), + "3141592653", + 3141592653 ), + QSTATE_NLA(BRIDGE_QUERIER_IPV6_OTHER_TIMER, + "BRIDGE_QUERIER_IPV6_OTHER_TIMER", clk, + clock_t_str(BE_LE(0xfacebe, 0xcebeef), + ARRSZ_PAIR(ipv6_timer_crop)), + clock_t_str(0xfacebeef, ARRSZ_PAIR(ipv6_timer)), + 0xfacebeef ), + QSTATE_NLA(8, "0x8 /* BRIDGE_QUERIER_??? */", chr, + "", "\"\\x69\"", 0x69 ), + }; + for (size_t k = 0; k < ARRAY_SIZE(qstate_attrs); k++) { + char crop_str256; + char str256; + + snprintf(crop_str, sizeof(crop_str), + "%s{nla_len=%zu, nla_type=%s}%s%s%s", + qstate_attrsk.crop_str0 ? "" : "", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.crop_str0 ? ", " : "", + qstate_attrsk.crop_str, + qstate_attrsk.crop_str0 ? "" : ""); + snprintf(str, sizeof(str), "{nla_len=%zu, nla_type=%s}, %s", + qstate_attrsk.sz, qstate_attrsk.type_str, + qstate_attrsk.str); + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "bridge", + IFLA_BR_MCAST_QUERIER_STATE, + "IFLA_BR_MCAST_QUERIER_STATE", + qstate_attrsk.val, pattern, + { qstate_attrsk.sz - 1, crop_str }, + { qstate_attrsk.sz, str }); + } + /* tun attrs */ static const struct val_name u8_tun_attrs = { { 4, "IFLA_TUN_PI" }, @@ -539,7 +690,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u8_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u8_tun_attrsk.val, u8_tun_attrsk.name, u8_val, pattern, { 0, NULL }, @@ -553,17 +705,13 @@ }; for (size_t k = 0; k < ARRAY_SIZE(u32_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", u32_tun_attrsk.val, u32_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); } @@ -574,7 +722,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(und_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", und_tun_attrsk.val, und_tun_attrsk.name, unknown_msg, pattern, @@ -595,21 +744,18 @@ }; for (size_t k = 0; k < ARRAY_SIZE(uid_tun_attrs); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, u32_val, pattern, - { 3, "\"" -#ifdef WORDS_BIGENDIAN - "\\xba\\xdc\\x0d" -#else - "\\xed\\x0d\\xdc" -#endif - "\"" }, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, { 4, "3134983661" }, { 5, "3134983661" }); - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", uid_tun_attrsk.val, uid_tun_attrsk.name, minus_one, pattern, @@ -630,7 +776,8 @@ }; for (size_t k = 0; k < ARRAY_SIZE(tun_types); k++) { - TEST_NESTED_LINKINFO(fd, nlh0, 2, "IFLA_INFO_DATA", "tun", + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_KIND, + 2, "IFLA_INFO_DATA", "tun", 3, "IFLA_TUN_TYPE", tun_typesk.val, pattern, { 0, NULL }, @@ -640,7 +787,8 @@ /* IFLA_INFO_KIND + IFLA_INFO_XSTATS */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + IFLA_INFO_XSTATS, "IFLA_INFO_XSTATS", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA /* @@ -657,7 +805,7 @@ 0xbadc0de4, 0xbadc0de5, }; - TEST_LINKINFO(fd, nlh0, IFLA_INFO_XSTATS, "can", + TEST_LINKINFO(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_XSTATS, "can", can_stats_data, pattern, print_quoted_hex, printf("{bus_error=3134983648" ", error_warning=3134983649" @@ -667,37 +815,272 @@ ", restarts=3134983653}")); - /* IFLA_INFO_KIND + IFLA_INFO_SLVAE_KIND */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_KIND, "IFLA_INFO_SLAVE_KIND", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\253\\254\\333\\315\"...")); /* IFLA_INFO_KIND + IFLA_INFO_SLAVE_DATA */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA - unsupported_data_types COMMA + supported_tunnel_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); /* IFLA_INFO_KIND + unknown type */ - TEST_UNKNOWN_TUNNELS(fd, nlh0, 6, "0x6 /* IFLA_INFO_??? */", + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND */ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + IFLA_INFO_SLAVE_KIND, + "IFLA_INFO_SLAVE_KIND", pattern, + unknown_msg, print_quoted_stringn, 1, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_UNSPEC */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_UNSPEC, "IFLA_INFO_UNSPEC", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_KIND */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_KIND, "IFLA_INFO_KIND", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\253\\254\\333\\315\"...")); + + + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_DATA, "IFLA_INFO_DATA", unknown_msg, sizeof(unknown_msg), {unsupported_tunnel_types COMMA - unsupported_xstats_types COMMA unsupported_data_types COMMA NULL}, printf("\"\\xab\\xac\\xdb\\xcd\"")); + /* IFLA_INFO_SLAVE_KIND + IFLA_INFO_SLAVE_DATA */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + IFLA_INFO_SLAVE_DATA, "IFLA_INFO_SLAVE_DATA", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + unsupported_slave_data_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + + /* bridge attrs */ + static const struct val_name und_brport_attrs = { + { 0, "IFLA_BRPORT_UNSPEC" }, + { 24, "IFLA_BRPORT_FLUSH" }, + { 26, "IFLA_BRPORT_PAD" }, + { 40, "0x28 /* IFLA_BRPORT_??? */" }, + { 2989, "0xbad /* IFLA_BRPORT_??? */" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(und_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + und_brport_attrsk.val, + und_brport_attrsk.name, + unknown_msg, pattern, + { 2, "\"\\xab\\xac\"" }, + { 4, "\"\\xab\\xac\\xdb\\xcd\"" }, + { 6, + "\"\\xab\\xac\\xdb\\xcd\\x61\\x62\"" }, + { 8, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\"" }, + { 10, "\"\\xab\\xac\\xdb\\xcd\\x61\\x62" + "\\x63\\x64\\x65\\x66\"" }); + } + + static const struct val_name u8_brport_attrs = { + { ARG_STR(IFLA_BRPORT_STATE) }, + { ARG_STR(IFLA_BRPORT_MODE) }, + { ARG_STR(IFLA_BRPORT_GUARD) }, + { ARG_STR(IFLA_BRPORT_PROTECT) }, + { ARG_STR(IFLA_BRPORT_FAST_LEAVE) }, + { ARG_STR(IFLA_BRPORT_LEARNING) }, + { ARG_STR(IFLA_BRPORT_UNICAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_PROXYARP) }, + { ARG_STR(IFLA_BRPORT_LEARNING_SYNC) }, + { ARG_STR(IFLA_BRPORT_PROXYARP_WIFI) }, + { ARG_STR(IFLA_BRPORT_TOPOLOGY_CHANGE_ACK) }, + { ARG_STR(IFLA_BRPORT_CONFIG_PENDING) }, + { ARG_STR(IFLA_BRPORT_MULTICAST_ROUTER) }, + { ARG_STR(IFLA_BRPORT_MCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_MCAST_TO_UCAST) }, + { ARG_STR(IFLA_BRPORT_VLAN_TUNNEL) }, + { ARG_STR(IFLA_BRPORT_BCAST_FLOOD) }, + { ARG_STR(IFLA_BRPORT_NEIGH_SUPPRESS) }, + { ARG_STR(IFLA_BRPORT_ISOLATED) }, + { ARG_STR(IFLA_BRPORT_MRP_RING_OPEN) }, + { ARG_STR(IFLA_BRPORT_MRP_IN_OPEN) }, + { ARG_STR(IFLA_BRPORT_LOCKED) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u8_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u8_brport_attrsk.val, + u8_brport_attrsk.name, + u8_val, pattern, + { 0, NULL }, + { 1, "161" }, + { 2, "161" }); + } + + static const struct val_name u16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_PRIORITY) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_PORT) }, + { ARG_STR(IFLA_BRPORT_DESIGNATED_COST) }, + { ARG_STR(IFLA_BRPORT_ID) }, + { ARG_STR(IFLA_BRPORT_NO) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u16_brport_attrsk.val, + u16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "57069" }, + { 3, "57069" }); + } + + static const struct val_name x16_brport_attrs = { + { ARG_STR(IFLA_BRPORT_GROUP_FWD_MASK) }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(x16_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + x16_brport_attrsk.val, + x16_brport_attrsk.name, + u16_val, pattern, + { 1, "\"" BE_LE("\\xde", "\\xed") "\"" }, + { 2, "0xdeed" }, + { 3, "0xdeed" }); + } + + static const struct val_name u32_brport_attrs = { + { 3, "IFLA_BRPORT_COST" }, + { 37, "IFLA_BRPORT_MCAST_EHT_HOSTS_LIMIT" }, + { 38, "IFLA_BRPORT_MCAST_EHT_HOSTS_CNT" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(u32_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + u32_brport_attrsk.val, + u32_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + } + + static const struct val_name brport_id_attrs = { + { 13, "IFLA_BRPORT_ROOT_ID" }, + { 14, "IFLA_BRPORT_BRIDGE_ID" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(brport_id_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + brport_id_attrsk.val, + brport_id_attrsk.name, + bridge_id, pattern, + { 7, "\"\\xbe\\xef\\xfa\\xce" + "\\xde\\xc0\\xde\"" }, + { 8, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }, + { 9, "{prio=190, 239" + ", addr=fa:ce:de:c0:de:ad}" }); + } + + static const struct val_name c_t_brport_attrs = { + { 21, "IFLA_BRPORT_MESSAGE_AGE_TIMER" }, + { 22, "IFLA_BRPORT_FORWARD_DELAY_TIMER" }, + { 23, "IFLA_BRPORT_HOLD_TIMER" }, + }; + + for (size_t k = 0; k < ARRAY_SIZE(c_t_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + c_t_brport_attrsk.val, + c_t_brport_attrsk.name, + u64_val, pattern, + { 7, sz7_str }, + { 8, sz8_str }, + { 9, "\"" BE_LE("\\xde\\xad\\xc0\\xde" + "\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa" + "\\xde\\xc0\\xad\\xde") + "\\x61\"" }); + } + + static const struct val_name ifidx_brport_attrs = { + { 34, "IFLA_BRPORT_BACKUP_PORT" }, + }; + const uint32_t ifidx_lo = ifindex_lo(); + + for (size_t k = 0; k < ARRAY_SIZE(ifidx_brport_attrs); k++) { + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + u32_val, pattern, + { 3, BE_LE("\"\\xba\\xdc\\x0d\"", + "\"\\xed\\x0d\\xdc\"") }, + { 4, "3134983661" }, + { 5, "3134983661" }); + + TEST_NESTED_LINKINFO(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 5, "IFLA_INFO_SLAVE_DATA", "bridge", + ifidx_brport_attrsk.val, + ifidx_brport_attrsk.name, + ifidx_lo, pattern, + { 3, BE_LE("\"\\x00\\x00\\x00\"", + "\"\\x01\\x00\\x00\"") }, + { 4, IFINDEX_LO_STR }, + { 5, IFINDEX_LO_STR }); + } + + /* IFLA_INFO_SLAVE_KIND + unknown type */ + TEST_UNKNOWN_TUNNELS(fd, nlh0, IFLA_INFO_SLAVE_KIND, + 6, "0x6 /* IFLA_INFO_??? */", + unknown_msg, sizeof(unknown_msg), + {unsupported_tunnel_types COMMA + supported_tunnel_types COMMA + NULL}, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_protinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo.c
Added
@@ -0,0 +1,127 @@ +/* + * Check decoding of IFLA_PROTINFO netlink attribute. + * + * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2017-2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <netinet/in.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> +#include <stdio.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#include "xlat/addrfams.h" + +#include "nlattr_ifla_af_inet6.h" + +static const unsigned int hdrlen = sizeof(struct ifinfomsg); + +static uint16_t af; +static const char *af_str; + +static void +init_ifinfomsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETLINK, + .nlmsg_flags = NLM_F_DUMP + ); + + struct ifinfomsg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct ifinfomsg, msg, + .ifi_family = af, + .ifi_type = ARPHRD_LOOPBACK, + .ifi_index = ifindex_lo(), + .ifi_flags = IFF_UP, + ); +} + +static void +init_ifinfomsg_protinfo(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *const nla = NLMSG_ATTR(nlh, sizeof(struct ifinfomsg)); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = IFLA_PROTINFO, + ); +} + +static void +print_ifinfomsg(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {ifi_family=%s" + ", ifi_type=" XLAT_FMT ", ifi_index=" XLAT_FMT_U + ", ifi_flags=" XLAT_FMT ", ifi_change=0}", + msg_len, XLAT_ARGS(RTM_GETLINK), XLAT_ARGS(NLM_F_DUMP), + af_str, XLAT_ARGS(ARPHRD_LOOPBACK), + XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), XLAT_ARGS(IFF_UP)); +} + +static void +print_ifinfomsg_protinfo(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen), XLAT_ARGS(IFLA_PROTINFO)); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + 42); + + static char buf256; + fill_memory_ex(buf, sizeof(buf), 32, 224); + + /* Unsupported address families */ + static const uint8_t skip_af = { AF_BRIDGE, AF_INET6 }; + size_t pos = 0; + for (size_t i = 0; i < 256; i++) { + if (i == skip_afpos) { + pos += 1; + continue; + } + + af = i; + af_str = sprintxval(addrfams, i, "AF_???"); + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifinfomsg, print_ifinfomsg, + IFLA_PROTINFO, XLAT_STR(IFLA_PROTINFO), + 42, buf, 42, + print_quoted_hex(buf, 32); + printf("...")); + } + + /* AF_BRIDGE is handled by nlattr_ifla_brport */ + + /* AF_INET6 */ + static char af_inet6_str20; + af = AF_INET6; + snprintf(af_inet6_str, sizeof(af_inet6_str), XLAT_FMT, + XLAT_ARGS(AF_INET6)); + af_str = af_inet6_str; + check_ifla_af_inet6(fd, nlh0, hdrlen, + init_ifinfomsg_protinfo, print_ifinfomsg_protinfo, + buf, 1); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_protinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_protinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifla_vfinfo.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo.c
Added
@@ -0,0 +1,403 @@ +/* + * IFLA_VFINFO_LIST netlink attribute decoding check. + * + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <inttypes.h> +#include <stddef.h> +#include <stdio.h> + +#include <arpa/inet.h> + +#include <linux/if.h> +#include <linux/if_arp.h> +#include <linux/if_link.h> +#include <linux/rtnetlink.h> + +#include "test_nlattr.h" + +#include "xlat.h" + +#define IFLA_ATTR IFLA_VFINFO_LIST +#include "nlattr_ifla.h" + +static void +init_vf_info_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ifinfomsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN, + .nla_type = IFLA_VF_INFO, + ); +} + +static void +print_vf_info_msg(const unsigned int msg_len) +{ + print_ifinfomsg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + XLAT_ARGS(IFLA_VF_INFO)); +} + +static void +init_vf_stats_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_STATS, + ); +} + +static void +print_vf_stats_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_STATS)); +} + +static void +init_vlan_list_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_vf_info_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 2; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) + - NLA_HDRLEN * 2, + .nla_type = IFLA_VF_VLAN_LIST, + ); +} + +static void +print_vlan_list_msg(const unsigned int msg_len) +{ + print_vf_info_msg(msg_len); + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN * 2, + XLAT_ARGS(IFLA_VF_VLAN_LIST)); +} + +int +main(void) +{ + static const uint8_t dummy = { 0xab, 0xac, 0xdb, 0xcd }; + + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + + const unsigned int hdrlen = sizeof(struct ifinfomsg); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 2 * NLA_HDRLEN + 256); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* unknown IFLA_VF_INFO*, IFLA_VF_INFO_UNSPEC */ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, IFLA_VF_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_ifinfomsg, print_ifinfomsg, + unk_attrsi.val, unk_attrsi.str, + pattern, dummy, print_quoted_hex, 1, + printf("\"\\xab\\xac\\xdb\\xcd\"")); + } + + /* IFLA_VF_INFO: unknown, IFLA_VF_UNSPEC */ + static const struct strval16 unk_vf_attrs = { + { ENUM_KNOWN(0, IFLA_VF_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0xe, "IFLA_VF_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vf_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + unk_vf_attrsi.val, + unk_vf_attrsi.str, + pattern, dummy, + print_quoted_hex, 2, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_MAC */ + struct ifla_vf_mac ifla_vm; + ifla_vm.vf = 0xdeadface; + fill_memory(&ifla_vm.mac, sizeof(ifla_vm.mac)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_MAC, + XLAT_KNOWN(0x1, "IFLA_VF_MAC"), + pattern, ifla_vm, print_quoted_hex, 2, + printf("{vf=3735943886, mac=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + /* IFLA_VF_INFO: IFLA_VF_VLAN */ + struct ifla_vf_vlan ifla_vv; + ifla_vv.vf = 0x80a0c0e0; + ifla_vv.vlan = 0x81a1c1e1; + ifla_vv.qos = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_VLAN, + XLAT_KNOWN(0x2, "IFLA_VF_VLAN"), + pattern, ifla_vv, print_quoted_hex, 2, + printf("{vf=2158018784, vlan=2174861793" + ", qos=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_TX_RATE */ + struct ifla_vf_tx_rate ifla_vtr; + ifla_vtr.vf = 0x80a0c0e0; + ifla_vtr.rate = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TX_RATE, + XLAT_KNOWN(0x3, "IFLA_VF_TX_RATE"), + pattern, ifla_vtr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", rate=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_SPOOFCHK */ + struct ifla_vf_spoofchk ifla_vsc; + ifla_vsc.vf = 0x80a0c0e0; + ifla_vsc.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_SPOOFCHK, + XLAT_KNOWN(0x4, "IFLA_VF_SPOOFCHK"), + pattern, ifla_vsc, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_LINK_STATE */ + static const struct strval32 states = { + { ENUM_KNOWN(0, IFLA_VF_LINK_STATE_AUTO) }, + { ENUM_KNOWN(0x1, IFLA_VF_LINK_STATE_ENABLE) }, + { ENUM_KNOWN(0x2, IFLA_VF_LINK_STATE_DISABLE) }, + { ARG_STR(0x3) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0x4) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + { ARG_STR(0xfade) NRAW(" /* IFLA_VF_LINK_STATE_??? */") }, + }; + struct ifla_vf_link_state ifla_vls; + ifla_vls.vf = 0xbeeffeed; + + for (size_t i = 0; i < ARRAY_SIZE(states); i++) { + ifla_vls.link_state = statesi.val; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + IFLA_VF_LINK_STATE, + XLAT_KNOWN(0x5, + "IFLA_VF_LINK_STATE"), + pattern, ifla_vls, + print_quoted_hex, 2, + printf("{vf=3203399405" + ", link_state=%s}", + statesi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_RATE */ + struct ifla_vf_rate ifla_vr; + ifla_vr.vf = 0x80a0c0e0; + ifla_vr.min_tx_rate = 0x81a1c1e1; + ifla_vr.max_tx_rate = 0x82a2c2e2; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RATE, + XLAT_KNOWN(0x6, "IFLA_VF_RATE"), + pattern, ifla_vr, print_quoted_hex, 2, + printf("{vf=2158018784" + ", min_tx_rate=2174861793" + ", max_tx_rate=2191704802}")); + + /* IFLA_VF_INFO: IFLA_VF_RSS_QUERY_EN */ + struct ifla_vf_rss_query_en ifla_vrqe; + ifla_vrqe.vf = 0x80a0c0e0; + ifla_vrqe.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_RSS_QUERY_EN, + XLAT_KNOWN(0x7, "IFLA_VF_RSS_QUERY_EN"), + pattern, ifla_vrqe, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_STATS: unknown, IFLA_VF_STATS_PAD */ + static const struct strval16 unk_vs_attrs = { + { ENUM_KNOWN(0x6, IFLA_VF_STATS_PAD) }, + { ARG_XLAT_UNKNOWN(0x9, "IFLA_VF_STATS_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_STATS_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vs_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_stats_msg, + print_vf_stats_msg, + unk_vs_attrsi.val, + unk_vs_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_STATS: u64 attrs */ + static const struct strval16 u64_vs_attrs = { + { ENUM_KNOWN(0, IFLA_VF_STATS_RX_PACKETS) }, + { ENUM_KNOWN(0x1, IFLA_VF_STATS_TX_PACKETS) }, + { ENUM_KNOWN(0x2, IFLA_VF_STATS_RX_BYTES) }, + { ENUM_KNOWN(0x3, IFLA_VF_STATS_TX_BYTES) }, + { ENUM_KNOWN(0x4, IFLA_VF_STATS_BROADCAST) }, + { ENUM_KNOWN(0x5, IFLA_VF_STATS_MULTICAST) }, + { ENUM_KNOWN(0x7, IFLA_VF_STATS_RX_DROPPED) }, + { ENUM_KNOWN(0x8, IFLA_VF_STATS_TX_DROPPED) }, + }; + void *nlh_vs_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_vs_attrs); i++) { + check_u64_nlattr(fd, nlh_vs_u64, hdrlen, + init_vf_stats_msg, print_vf_stats_msg, + u64_vs_attrsi.val, u64_vs_attrsi.str, + pattern, 3); + } + + /* IFLA_VF_INFO: IFLA_VF_TRUST */ + struct ifla_vf_trust ifla_vt; + ifla_vt.vf = 0x80a0c0e0; + ifla_vt.setting = 0x81a1c1e1; + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_TRUST, + XLAT_KNOWN(0x9, "IFLA_VF_TRUST"), + pattern, ifla_vt, print_quoted_hex, 2, + printf("{vf=2158018784" + ", setting=2174861793}")); + + /* IFLA_VF_INFO: IFLA_VF_IB_NODE_GUID, IFLA_VF_IB_PORT_GUID */ + static const struct strval16 guid_attrs = { + { ENUM_KNOWN(0xa, IFLA_VF_IB_NODE_GUID) }, + { ENUM_KNOWN(0xb, IFLA_VF_IB_PORT_GUID) }, + }; + struct ifla_vf_guid ifla_vg; + ifla_vg.vf = 0xfacecafe; + ifla_vg.guid = 0xbadc0deddeedbabeULL; + + for (size_t i = 0; i < ARRAY_SIZE(guid_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, + print_vf_info_msg, + guid_attrsi.val, + guid_attrsi.str, + pattern, ifla_vg, + print_quoted_hex, 2, + printf("{vf=4207856382" + ", guid=0xbadc0deddeedbabe" + "}")); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: unknown, IFLA_VF_VLAN_INFO_UNSPEC */ + static const struct strval16 unk_vl_attrs = { + { ENUM_KNOWN(0, IFLA_VF_VLAN_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x2, "IFLA_VF_VLAN_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "IFLA_VF_VLAN_INFO_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_vl_attrs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + unk_vl_attrsi.val, + unk_vl_attrsi.str, + pattern, dummy, + print_quoted_hex, 3, + printf("\"\\xab\\xac\\xdb\\xcd\"") + ); + } + + /* IFLA_VF_INFO: IFLA_VF_VLAN_LIST: IFLA_VF_VLAN_INFO */ + static const struct strval16 eth_protos = { + { ARG_STR(0) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0x8, "ETH_P_PPP_MP") }, + { ARG_XLAT_KNOWN(0x800, "ETH_P_IP") }, + { ARG_STR(0xf) NRAW(" /* ETH_P_??? */") }, + { ARG_STR(0xfb) NRAW(" /* ETH_P_??? */") }, + { ARG_XLAT_KNOWN(0xfbfb, "ETH_P_AF_IUCV") }, + { ARG_STR(0xffff) NRAW(" /* ETH_P_??? */") }, + }; + struct ifla_vf_vlan_info ifla_vvi; + ifla_vvi.vf = 0x80a0c0e0; + ifla_vvi.vlan = 0x81a1c1e1; + ifla_vvi.qos = 0x82a2c2e2; + + for (size_t i = 0; i < ARRAY_SIZE(eth_protos); i++) { + ifla_vvi.vlan_proto = htons(eth_protosi.val); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vlan_list_msg, + print_vlan_list_msg, + IFLA_VF_VLAN_INFO, + XLAT_KNOWN(0x1, + "IFLA_VF_VLAN_INFO"), + pattern, ifla_vvi, + print_quoted_hex, 3, + printf("{vf=2158018784" + ", vlan=2174861793" + ", qos=2191704802" + ", vlan_proto=htons(%s)}", + eth_protosi.str)); + } + + /* IFLA_VF_INFO: IFLA_VF_BROADCAST */ + struct ifla_vf_broadcast ifla_vb; + fill_memory(&ifla_vb.broadcast, sizeof(ifla_vb.broadcast)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, + init_vf_info_msg, print_vf_info_msg, + IFLA_VF_BROADCAST, + XLAT_KNOWN(0xd, "IFLA_VF_BROADCAST"), + pattern, ifla_vb, print_quoted_hex, 2, + printf("{broadcast=" + XLAT_KNOWN_FMT("\"\\x80\\x81" + "\\x82\\x83\\x84\\x85\\x86\\x87" + "\\x88\\x89\\x8a\\x8b\\x8c\\x8d" + "\\x8e\\x8f\\x90\\x91\\x92\\x93" + "\\x94\\x95\\x96\\x97\\x98\\x99" + "\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\"", + "80:81:82:83:84:85:86:87:88:89:" + "8a:8b:8c:8d:8e:8f:90:91:92:93:" + "94:95:96:97:98:99:9a:9b:9c:9d:" + "9e:9f") "}")); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifla_vfinfo.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifla_vfinfo +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_ifstats.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats.c
Added
@@ -0,0 +1,789 @@ +/* + * Copyright (c) 2018-2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2018-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <netinet/in.h> +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include <linux/if_link.h> +#include <linux/if_bonding.h> +#include <linux/if_bridge.h> +#include <linux/mpls.h> + +#include "xlat.h" +#include "xlat/addrfams.h" +#define XLAT_MACROS_ONLY +# include "xlat/ifstats_af_spec_mpls_attrs.h" +# include "xlat/ifstats_attrs.h" +# include "xlat/ifstats_attr_flags.h" +# include "xlat/ifstats_offload_attrs.h" +# include "xlat/ifstats_xstats_bond_attrs.h" +# include "xlat/ifstats_xstats_bond_3ad_attrs.h" +# include "xlat/ifstats_xstats_bridge_attrs.h" +# include "xlat/ifstats_xstats_bridge_mcast_indices.h" +# include "xlat/ifstats_xstats_type_attrs.h" +# include "xlat/nl_bridge_vlan_flags.h" +#undef XLAT_MACROS_ONLY + +static const unsigned int hdrlen = sizeof(struct if_stats_msg); +static char pattern4096; +static char nla_type_str256; + +static void +init_ifstats(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + SET_STRUCT(struct nlmsghdr, nlh, + .nlmsg_len = msg_len, + .nlmsg_type = RTM_GETSTATS, + .nlmsg_flags = NLM_F_DUMP, + ); + + struct if_stats_msg *const msg = NLMSG_DATA(nlh); + SET_STRUCT(struct if_stats_msg, msg, + .family = AF_UNIX, + .ifindex = ifindex_lo(), + .filter_mask = 0x22, + ); +} + +static void +print_ifstats(const unsigned int msg_len) +{ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT ", nlmsg_flags=" XLAT_FMT + ", nlmsg_seq=0, nlmsg_pid=0}, {family=" XLAT_FMT ", ifindex=" + XLAT_FMT_U ", filter_mask=" XLAT_FMT "}", + msg_len, XLAT_ARGS(RTM_GETSTATS), XLAT_ARGS(NLM_F_DUMP), + XLAT_ARGS(AF_UNIX), XLAT_SEL(ifindex_lo(), IFINDEX_LO_STR), + XLAT_ARGS(1<<IFLA_STATS_LINK_64|1<<IFLA_STATS_AF_SPEC)); +} + +/* + * NB: these functions use global variables to control which top-level + * netlink attribute is to be used. + */ +#define DEF_NLATTR_FUNCS_NESTED(sfx_, attr_var_, attr_str_var_, \ + parent_sfx_, lvl_) \ + static void \ + init_ifstats_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + (init_##parent_sfx_)(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, \ + sizeof(struct if_stats_msg) \ + + ((lvl_) - 1) * NLA_HDRLEN); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN, \ + .nla_type = (attr_var_), \ + ); \ + } \ + \ + static void \ + print_ifstats_##sfx_(const unsigned int msg_len) \ + { \ + (print_##parent_sfx_)(msg_len); \ + printf(", {nla_len=%u, nla_type=%s}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct \ + if_stats_msg)) \ + - ((lvl_) - 1) * NLA_HDRLEN), \ + attr_str_var_); \ + } \ + /* End of DEF_NLATTR_FUNCS_NESTED */ + +static uint16_t l1_attr; +static char l1_attr_str256; + +static uint16_t l2_attr; +static char l2_attr_str256; + +static uint16_t l3_attr; +static char l3_attr_str256; + +DEF_NLATTR_FUNCS_NESTED(l1, l1_attr, l1_attr_str, ifstats, 1) +DEF_NLATTR_FUNCS_NESTED(l2, l2_attr, l2_attr_str, ifstats_l1, 2) +DEF_NLATTR_FUNCS_NESTED(l3, l3_attr, l3_attr_str, ifstats_l2, 3) + + +static void +print_stats_64(struct rtnl_link_stats64 *st, size_t sz) +{ + printf("{"); PRINT_FIELD_U(*st, rx_packets); + printf(", "); PRINT_FIELD_U(*st, tx_packets); + printf(", "); PRINT_FIELD_U(*st, rx_bytes); + printf(", "); PRINT_FIELD_U(*st, tx_bytes); + printf(", "); PRINT_FIELD_U(*st, rx_errors); + printf(", "); PRINT_FIELD_U(*st, tx_errors); + printf(", "); PRINT_FIELD_U(*st, rx_dropped); + printf(", "); PRINT_FIELD_U(*st, tx_dropped); + printf(", "); PRINT_FIELD_U(*st, multicast); + printf(", "); PRINT_FIELD_U(*st, collisions); + printf(", "); PRINT_FIELD_U(*st, rx_length_errors); + printf(", "); PRINT_FIELD_U(*st, rx_over_errors); + printf(", "); PRINT_FIELD_U(*st, rx_crc_errors); + printf(", "); PRINT_FIELD_U(*st, rx_frame_errors); + printf(", "); PRINT_FIELD_U(*st, rx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, rx_missed_errors); + printf(", "); PRINT_FIELD_U(*st, tx_aborted_errors); + printf(", "); PRINT_FIELD_U(*st, tx_carrier_errors); + printf(", "); PRINT_FIELD_U(*st, tx_fifo_errors); + printf(", "); PRINT_FIELD_U(*st, tx_heartbeat_errors); + printf(", "); PRINT_FIELD_U(*st, tx_window_errors); + printf(", "); PRINT_FIELD_U(*st, rx_compressed); + printf(", "); PRINT_FIELD_U(*st, tx_compressed); + if (sz >= offsetofend(struct rtnl_link_stats64, rx_nohandler)) { + printf(", "); + PRINT_FIELD_U(*st, rx_nohandler); + } + if (sz >= offsetofend(struct rtnl_link_stats64, rx_otherhost_dropped)) { + printf(", "); + PRINT_FIELD_U(*st, rx_otherhost_dropped); + } + printf("}"); +} + +static void +check_stats_64(const int fd, unsigned int cmd, const char *cmd_str, bool nest) +{ + static const size_t minsz = offsetofend(struct rtnl_link_stats64, + tx_compressed); + + struct rtnl_link_stats64 st; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + (!!nest + 1) * NLA_HDRLEN + sizeof(st)); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + fill_memory(&st, sizeof(st)); + + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd, nlh0, hdrlen, + nest ? init_ifstats_l1 + : init_ifstats, + nest ? print_ifstats_l1 + : print_ifstats, + cmd, nla_type_str, + pattern, st, minsz, + print_quoted_hex, (unsigned) !!nest, + print_stats_64(&st, sizeof(st))); + + TEST_NLATTR_(fd, nlh0 - !!nest * NLA_HDRLEN, + hdrlen + !!nest * NLA_HDRLEN, + nest ? init_ifstats_l1 : init_ifstats, + nest ? print_ifstats_l1 : print_ifstats, + cmd, nla_type_str, minsz, &st, minsz, + print_stats_64(&st, minsz); + for (size_t i = 0; i < (unsigned) !!nest; i++) + printf("")); +} + +static void +fmt_str(char *dst, size_t dst_sz, uint32_t cmd, const char *s, const char *dflt) +{ + if (s) { + snprintf(dst, dst_sz, XLAT_FMT, XLAT_SEL(cmd, s)); + } else { + snprintf(dst, dst_sz, "%#x" NRAW(" /* %s */"), + cmd NRAW(, dflt)); + } +} + +static void +print_mcast_stats(struct br_mcast_stats *br_xst_mc) +{ +#define PR_FIELD_(pfx_, field_) \ + printf(pfx_ #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") \ + "=%llu, " XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=%llu", \ + (unsigned long long) br_xst_mc->field_0, \ + (unsigned long long) br_xst_mc->field_1) + + PR_FIELD_("{", igmp_v1queries); + PR_FIELD_(", ", igmp_v2queries); + PR_FIELD_(", ", igmp_v3queries); + PR_FIELD_(", ", igmp_leaves); + PR_FIELD_(", ", igmp_v1reports); + PR_FIELD_(", ", igmp_v2reports); + PR_FIELD_(", ", igmp_v3reports); + printf(", igmp_parse_errors=%llu", + (unsigned long long) br_xst_mc->igmp_parse_errors); + PR_FIELD_(", ", mld_v1queries); + PR_FIELD_(", ", mld_v2queries); + PR_FIELD_(", ", mld_leaves); + PR_FIELD_(", ", mld_v1reports); + PR_FIELD_(", ", mld_v2reports); + printf(", mld_parse_errors=%llu", + (unsigned long long) br_xst_mc->mld_parse_errors); + PR_FIELD_(", ", mcast_bytes); + PR_FIELD_(", ", mcast_packets); + printf("}"); + +#undef PR_FIELD_ +} + +static void +check_xstats(const int fd, unsigned int cmd, const char *cmd_str) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 256); + + l1_attr = cmd; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(LINK_XSTATS_TYPE_UNSPEC) }, + { 0x3 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "LINK_XSTATS_TYPE_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE */ + l2_attr = LINK_XSTATS_TYPE_BRIDGE; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BRIDGE)); + + /* LINK_XSTATS_TYPE_BRIDGE: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_br_types = { + { ARG_STR(BRIDGE_XSTATS_UNSPEC) }, + { ARG_STR(BRIDGE_XSTATS_PAD) }, + { 0x5 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_br_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_br_typesi.val, undec_br_typesi.str, + "BRIDGE_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_br_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_VLAN */ + static const struct { + struct bridge_vlan_xstats val; + const char *str; + } br_xst_vlan_vecs = { + { { .rx_bytes=0, .rx_packets=0xdeadfacebeeffeedULL, + .tx_bytes=0x8090a0b0c0d0e0f0ULL, .tx_packets=0, + .vid=0xdead, .flags=2 }, + "{rx_bytes=0, rx_packets=16045756813264551661" + ", tx_bytes=9264081114510713072, tx_packets=0" + ", vid=57005, flags=" + XLAT_KNOWN(0x2, "BRIDGE_VLAN_INFO_PVID") "}" }, + { { .rx_bytes=12345678901234567890ULL, .rx_packets=0, + .tx_bytes=0, .tx_packets=9876543210987654321ULL, + .vid=0, .flags=0, .pad2=0xbadc0ded }, + "{rx_bytes=12345678901234567890, rx_packets=0" + ", tx_bytes=0, tx_packets=9876543210987654321" + ", vid=0, flags=0, pad2=0xbadc0ded}" }, + { { .flags=0xdeed }, + "{rx_bytes=0, rx_packets=0, tx_bytes=0, tx_packets=0, vid=0" + ", flags=" XLAT_KNOWN(0xdeed, "BRIDGE_VLAN_INFO_MASTER" + "|BRIDGE_VLAN_INFO_UNTAGGED" + "|BRIDGE_VLAN_INFO_RANGE_BEGIN" + "|BRIDGE_VLAN_INFO_BRENTRY" + "|BRIDGE_VLAN_INFO_ONLY_OPTS" + "|0xde80") "}" }, + { { .rx_bytes=0xdefaceddecaffeedULL, + .rx_packets=0xbeeffacedeadbabeULL, + .tx_bytes=0xbeeffeeddadfacedULL, + .tx_packets=0xbeeffadeeffaceedULL, + .vid=0xcafe, .flags=0xfa80, .pad2=0xdeadabba }, + "{rx_bytes=16067382073151717101" + ", rx_packets=13758491153046289086" + ", tx_bytes=13758495684172950765" + ", tx_packets=13758491222056029933" + ", vid=51966, flags=0xfa80" + NRAW(" /* BRIDGE_VLAN_INFO_??? */") + ", pad2=0xdeadabba}" }, + }; + void *nlh_vlan = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_vlan_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_vlan_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_vlan, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, + "BRIDGE_XSTATS_VLAN"), + pattern, br_xst_vlan_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_vlan_vecsi.str)); + + char bufsizeof(br_xst_vlan_vecs0.val) + 42; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_vlan_vecsi.val, + sizeof(br_xst_vlan_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_VLAN, + XLAT_KNOWN(0x1, "BRIDGE_XSTATS_VLAN"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_vlan_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_vlan_vecs0.val), + 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_MCAST */ + struct br_mcast_stats br_xst_mc; + void *nlh_mc = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(br_xst_mc)); + +#define FIELD_STR_(field_) \ + #field_ "=" XLAT_KNOWN(0, "BR_MCAST_DIR_RX") "=0, " \ + XLAT_KNOWN(1, "BR_MCAST_DIR_TX") "=0" + + memset(&br_xst_mc, 0, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + printf("{" FIELD_STR_(igmp_v1queries) + ", " FIELD_STR_(igmp_v2queries) + ", " FIELD_STR_(igmp_v3queries) + ", " FIELD_STR_(igmp_leaves) + ", " FIELD_STR_(igmp_v1reports) + ", " FIELD_STR_(igmp_v2reports) + ", " FIELD_STR_(igmp_v3reports) + ", igmp_parse_errors=0" + ", " FIELD_STR_(mld_v1queries) + ", " FIELD_STR_(mld_v2queries) + ", " FIELD_STR_(mld_leaves) + ", " FIELD_STR_(mld_v1reports) + ", " FIELD_STR_(mld_v2reports) + ", mld_parse_errors=0" + ", " FIELD_STR_(mcast_bytes) + ", " FIELD_STR_(mcast_packets) + "}")); +#undef FIELD_STR_ + + fill_memory64(&br_xst_mc, sizeof(br_xst_mc)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mc, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + pattern, br_xst_mc, + print_quoted_hex, 2, + print_mcast_stats(&br_xst_mc)); + + char mc_bufsizeof(br_xst_mc) + 8; + fill_memory(mc_buf, sizeof(mc_buf)); + memcpy(mc_buf, &br_xst_mc, sizeof(br_xst_mc)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_MCAST, + XLAT_KNOWN(0x2, "BRIDGE_XSTATS_MCAST"), + sizeof(mc_buf), mc_buf, sizeof(mc_buf), + print_mcast_stats(&br_xst_mc); + printf(", "); + print_quoted_hex(mc_buf + sizeof(br_xst_mc), 8); + printf("")); + + /* LINK_XSTATS_TYPE_BRIDGE: BRIDGE_XSTATS_STP */ + static const struct { + struct bridge_stp_xstats val; + const char *str; + } br_xst_stp_vecs = { + { { .transition_blk=0, .transition_fwd=0, .rx_bpdu=0, + .tx_bpdu=0, .rx_tcn=0, .tx_tcn=0, }, + "{transition_blk=0, transition_fwd=0, rx_bpdu=0, tx_bpdu=0" + ", rx_tcn=0, tx_tcn=0}" }, + { { .transition_blk=0x8090a0b0c0d0e0f0ULL, + .transition_fwd=0x8191a1b1c1d1e1f1ULL, + .rx_bpdu=0x8292a2b2c2d2e2f2ULL, + .tx_bpdu=0x8393a3b3c3d3e3f3ULL, + .rx_tcn=0x8494a4b4c4d4e4f4ULL, + .tx_tcn=0x8595a5b5c5d5e5f5ULL, }, + "{transition_blk=9264081114510713072" + ", transition_fwd=9336421287348789745" + ", rx_bpdu=9408761460186866418, tx_bpdu=9481101633024943091" + ", rx_tcn=9553441805863019764, tx_tcn=9625781978701096437}" }, + }; + void *nlh_stp = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + + sizeof(struct bridge_stp_xstats)); + + for (size_t i = 0; i < ARRAY_SIZE(br_xst_stp_vecs); i++) { + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_stp, hdrlen, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, + "BRIDGE_XSTATS_STP"), + pattern, br_xst_stp_vecsi.val, + print_quoted_hex, 2, + printf("%s", + br_xst_stp_vecsi.str)); + + char bufsizeof(br_xst_stp_vecs0.val) + 33; + fill_memory(buf, sizeof(buf)); + memcpy(buf, &br_xst_stp_vecsi.val, + sizeof(br_xst_stp_vecsi.val)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + BRIDGE_XSTATS_STP, + XLAT_KNOWN(0x4, "BRIDGE_XSTATS_STP"), + sizeof(buf), buf, sizeof(buf), + printf("%s", br_xst_stp_vecsi.str); + printf(", "); + print_quoted_hex(buf + + sizeof(br_xst_stp_vecs0.val), + 32); + printf("...")); + } + + + + /* LINK_XSTATS_TYPE_BOND */ + l2_attr = LINK_XSTATS_TYPE_BOND; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(LINK_XSTATS_TYPE_BOND)); + + /* LINK_XSTATS_TYPE_BOND: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_bd_types = { + { ARG_STR(BOND_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_bd_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_bd_typesi.val, undec_bd_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_bd_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* LINK_XSTATS_TYPE_BOND: BOND_XSTATS_3AD */ + l3_attr = BOND_XSTATS_3AD; + snprintf(l3_attr_str, sizeof(l3_attr_str), XLAT_FMT, + XLAT_ARGS(BOND_XSTATS_3AD)); + + /* BOND_XSTATS_3AD: Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_3ad_types = { + { ARG_STR(BOND_3AD_STAT_PAD) }, + { 0xa }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_3ad_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_3ad_typesi.val, undec_3ad_typesi.str, + "BOND_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 3 * NLA_HDRLEN, + init_ifstats_l3, print_ifstats_l3, + undec_3ad_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* BOND_XSTATS_3AD: u64 args */ + static const struct strval32 u64_3ad_types = { + { ARG_STR(BOND_3AD_STAT_LACPDU_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_TX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_UNKNOWN_RX) }, + { ARG_STR(BOND_3AD_STAT_LACPDU_ILLEGAL_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_RX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_RESP_TX) }, + { ARG_STR(BOND_3AD_STAT_MARKER_UNKNOWN_RX) }, + }; + void *nlh_3ad_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + 3 * NLA_HDRLEN + sizeof(uint64_t)); + for (size_t i = 0; i < ARRAY_SIZE(u64_3ad_types); i++) { + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(u64_3ad_typesi.val, u64_3ad_typesi.str)); + check_u64_nlattr(fd, nlh_3ad_u64, hdrlen, + init_ifstats_l3, print_ifstats_l3, + u64_3ad_typesi.val, nla_type_str, + pattern, 3); + } +} + +static void +check_stats_offload(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* IFLA_STATS_LINK_OFFLOAD_XSTATS */ + l1_attr = IFLA_STATS_LINK_OFFLOAD_XSTATS; + snprintf(l1_attr_str, sizeof(l1_attr_str), XLAT_FMT, + XLAT_ARGS(IFLA_STATS_LINK_OFFLOAD_XSTATS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(IFLA_OFFLOAD_XSTATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "IFLA_OFFLOAD_XSTATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + NLA_HDRLEN, + init_ifstats_l1, print_ifstats_l1, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* IFLA_OFFLOAD_XSTATS_CPU_HIT */ + check_stats_64(fd, ARG_STR(IFLA_OFFLOAD_XSTATS_CPU_HIT), true); +} + +/* + * skip_af is expected to be sorted + * + * RTM_GETSTATS -> struct if_stats_msg + * cmd + * AF_* + * 0 -> u32 + * 1 -> u64 + */ +static void +check_stats_af_generic(const int fd, unsigned int cmd, const char *cmd_str, + const uint8_t * const skip_af, const size_t skip_af_cnt) +{ + enum { ATTR_SZ = NLA_HDRLEN + 2 * NLA_HDRLEN + 4 + 8 }; + + /* + * The payload is designed like this so if a decoder for a new AF_* + * is implemented, this check will likely fail. + */ + struct { + struct nlattr hdr; + + struct nlattr nested_hdr1; + uint32_t nested_data1; + + struct nlattr nested_hdr2; + uint64_t nested_data2; + } dummy_data = { + { ATTR_SZ, 0 /* AF_* */ }, + { NLA_HDRLEN + sizeof(uint32_t), 0 }, 0xdeadc0de, + { NLA_HDRLEN + sizeof(uint64_t), 1 }, 0xbadda7adeadfacedULL, + }; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + ATTR_SZ); + size_t skip_pos = 0; + + static_assert(ATTR_SZ == sizeof(dummy_data), + "Dummy nlattr payload size mismatch"); + + snprintf(nla_type_str, sizeof(nla_type_str), XLAT_FMT, + XLAT_SEL(cmd, cmd_str)); + + for (size_t i = 0; i < 256; i++) { + if (skip_pos < skip_af_cnt && i == skip_afskip_pos) { + skip_pos++; + continue; + } + + dummy_data.hdr.nla_type = i; + TEST_NLATTR_(fd, nlh0, hdrlen, init_ifstats, print_ifstats, + cmd, nla_type_str, ATTR_SZ, &dummy_data, ATTR_SZ, + printf("{nla_len=%u, nla_type=", ATTR_SZ); + printxval(addrfams, i, "AF_???"); + printf("}, "); + print_quoted_hex(&dummy_data.nested_hdr1, + sizeof(dummy_data) - NLA_HDRLEN); + printf("")); + } +} + +static void +check_stats_af_mpls(const int fd) +{ + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen) + 3 * NLA_HDRLEN, + NLA_HDRLEN + 128); + + /* l1: IFLA_STATS_AF_SPEC */ + l1_attr = IFLA_STATS_AF_SPEC; + snprintf(l1_attr_str, sizeof(l1_attr_str), + XLAT_KNOWN(0x5, "IFLA_STATS_AF_SPEC")); + + /* l2: AF_MPLS */ + l2_attr = AF_MPLS; + snprintf(l2_attr_str, sizeof(l2_attr_str), XLAT_FMT, + XLAT_ARGS(AF_MPLS)); + + /* Unknown, unimplemented, no semantics. */ + static const struct strval32 undec_types = { + { ARG_STR(MPLS_STATS_UNSPEC) }, + { 0x2 }, + { 0xbad }, + }; + for (size_t i = 0; i < ARRAY_SIZE(undec_types); i++) { + fmt_str(nla_type_str, sizeof(nla_type_str), + undec_typesi.val, undec_typesi.str, + "MPLS_STATS_???"); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + undec_typesi.val, nla_type_str, + 37, pattern, 37, + print_quoted_hex(pattern, 32); + printf("...")); + } + + /* MPLS_STATS_LINK */ + struct mpls_link_stats mls; + void *nlh_mls = midtail_alloc(NLMSG_SPACE(hdrlen), + 2 * NLA_HDRLEN + sizeof(mls)); + + memset(&mls, 0, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=0, tx_packets=0" + ", rx_bytes=0, tx_bytes=0" + ", rx_errors=0, tx_errors=0" + ", rx_dropped=0, tx_dropped=0" + ", rx_noroute=0}")); + + typedef unsigned long long ullong; + fill_memory64(&mls, sizeof(mls)); + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh_mls, hdrlen, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, + XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + pattern, mls, print_quoted_hex, 2, + printf("{rx_packets=%llu, tx_packets=%llu" + ", rx_bytes=%llu, tx_bytes=%llu" + ", rx_errors=%llu, tx_errors=%llu" + ", rx_dropped=%llu" + ", tx_dropped=%llu" + ", rx_noroute=%llu}", + (ullong) mls.rx_packets, + (ullong) mls.tx_packets, + (ullong) mls.rx_bytes, + (ullong) mls.tx_bytes, + (ullong) mls.rx_errors, + (ullong) mls.tx_errors, + (ullong) mls.rx_dropped, + (ullong) mls.tx_dropped, + (ullong) mls.rx_noroute)); + + char mls_bufsizeof(mls) + 32; + fill_memory(mls_buf, sizeof(mls_buf)); + memcpy(mls_buf, &mls, sizeof(mls)); + TEST_NLATTR_(fd, nlh0, hdrlen + 2 * NLA_HDRLEN, + init_ifstats_l2, print_ifstats_l2, + MPLS_STATS_LINK, XLAT_KNOWN(0x1, "MPLS_STATS_LINK"), + sizeof(mls_buf), mls_buf, sizeof(mls_buf), + printf("{rx_packets=9264081114510713072" + ", tx_packets=9264081114510713073" + ", rx_bytes=9264081114510713074" + ", tx_bytes=9264081114510713075" + ", rx_errors=9264081114510713076" + ", tx_errors=9264081114510713077" + ", rx_dropped=9264081114510713078" + ", tx_dropped=9264081114510713079" + ", rx_noroute=9264081114510713080}, "); + print_quoted_hex(mls_buf + sizeof(mls), 32); + printf("")); +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 256); + + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + /* Unknown attrs. */ + static const uint16_t unk_types = { 6, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* IFLA_STATS_??? */"), + unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* IFLA_STATS_UNSPEC: unimplemented, no semantics. */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "IFLA_STATS_UNSPEC") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_ifstats, print_ifstats, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* IFLA_STATS_LINK_64 */ + check_stats_64(fd, ARG_STR(IFLA_STATS_LINK_64), false); + + + /* IFLA_STATS_LINK_XSTATS, IFLA_STATS_LINK_XSTATS_SLAVE */ + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS)); + check_xstats(fd, ARG_STR(IFLA_STATS_LINK_XSTATS_SLAVE)); + + + /* IFLA_STATS_LINK_OFFLOAD_STATS */ + check_stats_offload(fd); + + + /* IFLA_STATS_AF_SPEC */ + static const uint8_t af_spec_fams = { AF_MPLS }; + check_stats_af_generic(fd, ARG_STR(IFLA_STATS_AF_SPEC), + ARRSZ_PAIR(af_spec_fams)); + + /* IFLA_STATS_AF_SPEC: AF_MPLS */ + check_stats_af_mpls(fd); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ifstats.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_ifstats +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_inet_diag_msg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_inet_diag_msg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -11,12 +11,27 @@ #include <stdio.h> #include <string.h> #include <arpa/inet.h> +#include <linux/atalk.h> +#include <linux/mptcp.h> +#include <linux/tls.h> #include <net/if.h> +#include <netinet/in.h> #include <netinet/tcp.h> #include "test_nlattr.h" #include <linux/inet_diag.h> #include <linux/sock_diag.h> + +#ifndef HAVE_STRUCT_TCP_DIAG_MD5SIG +struct tcp_diag_md5sig { + __u8 tcpm_family; + __u8 tcpm_prefixlen; + __u16 tcpm_keylen; + __be32 tcpm_addr4; + __u8 tcpm_key80 /* TCP_MD5SIG_MAXKEYLEN */; +}; +#endif + static const char * const sk_meminfo_strs = { "SK_MEMINFO_RMEM_ALLOC", "SK_MEMINFO_RCVBUF", @@ -30,6 +45,12 @@ }; static const char address = "10.11.12.13"; +static const unsigned int hdrlen = sizeof(struct inet_diag_msg); +static uint16_t attr1; +static const char *attr1_str = NULL; +static uint16_t attr2; +static const char *attr2_str = NULL; + static void init_inet_diag_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) @@ -70,6 +91,47 @@ } static void +init_inet_diag_nest_1(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_msg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = attr1, + ); +} + +static void +print_inet_diag_nest_1(const unsigned int msg_len) +{ + print_inet_diag_msg(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen), attr1_str); +} + +static void +init_inet_diag_nest_2(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_inet_diag_nest_1(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + nla += 1; + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, + .nla_type = attr2, + ); +} + +static void +print_inet_diag_nest_2(const unsigned int msg_len) +{ + print_inet_diag_nest_1(msg_len); + printf(", {nla_len=%u, nla_type=%s}", + msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN, attr2_str); +} + +static void print_uint(const unsigned int *p, size_t i) { if (i >= ARRAY_SIZE(sk_meminfo_strs)) @@ -77,7 +139,75 @@ else printf("%s", sk_meminfo_strsi); - printf(" = %u", *p); + printf("=%u", *p); +} + +static const struct { + struct tcp_diag_md5sig val; + const char *str; +} md5sig_vecs = { + { { 0 }, + "{tcpm_family=AF_UNSPEC, tcpm_prefixlen=0, tcpm_keylen=0" + ", tcpm_addr=\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\", tcpm_key=\"\"}" }, + { { AF_INET, 0x42, 1, { BE_LE(0xdeadface, 0xcefaadde) } }, + "{tcpm_family=AF_INET, tcpm_prefixlen=66, tcpm_keylen=1" + ", tcpm_addr=inet_addr(\"222.173.250.206\")" + ", tcpm_key=\"\\x00\"}" }, + { { AF_INET6, 0xbe, 42, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" }, + "{tcpm_family=AF_INET6, tcpm_prefixlen=190, tcpm_keylen=42" + ", inet_pton(AF_INET6, \"dead:face:cafe::face:badc:ded\", &tcpm_addr)" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\"}" }, + { { 46, 0, 45067, + { BE_LE(0xdeadface, 0xcefaadde), BE_LE(0xcafe0000, 0xfeca), + BE_LE(0xface, 0xcefa0000), BE_LE(0xbadc0ded, 0xed0ddcba) }, + "OH HAI THAR\0\1\2\3\4\5\6\7\3779876543210abcdefghijklmnopqrstuv" + "xyz0123456789ABCDEFGHIJKLMNO" }, + "{tcpm_family=0x2e /* AF_??? */, tcpm_prefixlen=0, tcpm_keylen=45067" + ", tcpm_addr=\"\\xde\\xad\\xfa\\xce\\xca\\xfe\\x00\\x00" + "\\x00\\x00\\xfa\\xce\\xba\\xdc\\x0d\\xed\"" + ", tcpm_key=\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54\\x48\\x41" + "\\x52\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\xff\\x39\\x38\\x37" + "\\x36\\x35\\x34\\x33\\x32\\x31\\x30\\x61\\x62\\x63\\x64\\x65\\x66" + "\\x67\\x68\\x69\\x6a\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73" + "\\x74\\x75\\x76\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35\\x36" + "\\x37\\x38\\x39\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\\x4a" + "\\x4b\\x4c\\x4d\\x4e\\x4f\"}" }, +}; + +static void +print_md5sig(const struct tcp_diag_md5sig *p, size_t i) +{ + printf("%s", md5sig_vecsi.str); +} + +static void +print_sa(const struct sockaddr_storage *p, size_t i) +{ + static const char *strs = { + "{sa_family=AF_INET, sin_port=htons(42069)" + ", sin_addr=inet_addr(\"18.52.86.120\")}", + "{sa_family=AF_INET6, sin6_port=htons(23456)" + ", sin6_flowinfo=htonl(324508639)" + ", inet_pton(AF_INET6, \"1234:5678::9abc:def0\", &sin6_addr)" + ", sin6_scope_id=610839776}", + "{sa_family=AF_APPLETALK" + ", sa_data=\"i\\0" BE_LE("\\207e", "e\\207") "B\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}" + }; + + printf("%s", strsi); } int @@ -114,10 +244,8 @@ static const uint32_t mem = { 0xaffacbad, 0xffadbcab }; static uint32_t bigmemSK_MEMINFO_VARS + 1; static const uint32_t mark = 0xabdfadca; - static const uint8_t shutdown = 0xcd; const int fd = create_nl_socket(NETLINK_SOCK_DIAG); - const unsigned int hdrlen = sizeof(struct inet_diag_msg); void *const nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + MAX(sizeof(bigmem), DEFAULT_STRLEN)); @@ -202,10 +330,24 @@ INET_DIAG_CLASS_ID, pattern, mark, printf("%u", mark)); - TEST_NLATTR(fd, nlh0, hdrlen, - init_inet_diag_msg, print_inet_diag_msg, INET_DIAG_SHUTDOWN, - sizeof(shutdown), &shutdown, sizeof(shutdown), - printf("%u", shutdown)); + static const struct strval8 shutdown_vecs = { + { ARG_STR(0) }, + { 1, "0x1 /* RCV_SHUTDOWN */" }, + { 2, "0x2 /* SEND_SHUTDOWN */" }, + { 3, "0x3 /* RCV_SHUTDOWN|SEND_SHUTDOWN */" }, + { 4, "0x4 /* ???_SHUTDOWN */" }, + { 23, "0x17 /* RCV_SHUTDOWN|SEND_SHUTDOWN|0x14 */" }, + { 252, "0xfc /* ???_SHUTDOWN */" }, + }; + TAIL_ALLOC_OBJECT_CONST_PTR(uint8_t, shutdown); + for (size_t i = 0; i < ARRAY_SIZE(shutdown_vecs); i++) { + *shutdown = shutdown_vecsi.val; + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SHUTDOWN, + sizeof(*shutdown), shutdown, sizeof(*shutdown), + printf("%s", shutdown_vecsi.str)); + } char *const str = tail_alloc(DEFAULT_STRLEN); fill_memory_ex(str, DEFAULT_STRLEN, '0', 10); @@ -219,6 +361,524 @@ DEFAULT_STRLEN, str, DEFAULT_STRLEN, printf("\"%s\"", str)); + /* u8 INET_DIAG_* attrs */ + static const struct strval16 u8_attrs = { + { ENUM_KNOWN(0x5, INET_DIAG_TOS) }, + { ENUM_KNOWN(0x6, INET_DIAG_TCLASS) }, + { ENUM_KNOWN(0xb, INET_DIAG_SKV6ONLY) }, + }; + void *nlh_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u8_attrs); i++) { + check_u8_nlattr(fd, nlh_u8, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u8_attrsi.val, u8_attrsi.str, pattern, 0); + } + + /* u32 INET_DIAG_* attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0xf, INET_DIAG_MARK) }, + { ENUM_KNOWN(0x11, INET_DIAG_CLASS_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u32_attrsi.val, u32_attrsi.str, + pattern, 0); + } + + /* u64 INET_DIAG_* attrs */ + static const struct strval16 u64_attrs = { + { ENUM_KNOWN(0x15, INET_DIAG_CGROUP_ID) }, + }; + void *nlh_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u64_attrs); i++) { + check_u64_nlattr(fd, nlh_u64, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + u64_attrsi.val, u64_attrsi.str, + pattern, 0); + } + + /* INET_DIAG_PROTOCOL */ + static const struct strval8 protos = { + { 0, "IPPROTO_IP" }, + { 2, "IPPROTO_IGMP" }, + { 5, "0x5 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 190, "0xbe /* IPPROTO_??? */" }, + { 255, "IPPROTO_RAW" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_PROTOCOL, + sizeof(uint8_t), &protosi.val, sizeof(uint8_t), + printf("%s", protosi.str)); + } + + /* INET_DIAG_MD5SIG */ + struct tcp_diag_md5sig md5s_arrARRAY_SIZE(md5sig_vecs); + + for (size_t i = 0; i < ARRAY_SIZE(md5sig_vecs); i++) { + memcpy(md5s_arr + i, &md5sig_vecsi.val, sizeof(md5s_arr0)); + + TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, + md5sig_vecsi.val, + printf("%s", md5sig_vecsi.str)); + } + + TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_MD5SIG, pattern, md5s_arr, print_md5sig); + + /* INET_DIAG_ULP_INFO */ + attr1 = INET_DIAG_ULP_INFO; + attr1_str = "INET_DIAG_ULP_INFO"; + + /* INET_DIAG_ULP_INFO: unknown, undecoded */ + static const struct strval16 ulp_unk_attrs = { + { ENUM_KNOWN(0, INET_ULP_INFO_UNSPEC) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_ULP_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_ULP_INFO_???") }, + }; + static const uint32_t dummy = BE_LE(0xdeadc0de, 0xdec0adde); + + for (size_t i = 0; i < ARRAY_SIZE(ulp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + ulp_unk_attrsi.val, + ulp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_NAME */ + static const struct { + const char *val; + const char *str; + ssize_t sz; + } ulp_names = { + { "OH HAI", "\"OH HAI\"", 7 }, + { "\0\0\0", "\"\\0\\0\\0\"", 4 }, + { "\1\2\3\4\5\6\7\10\11\12\13\14", + "\"\\1\\2\\3\\4\\5\\6\\7\\10\\t\\n\\v\\f\"...", 12 }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ulp_names); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + INET_ULP_INFO_NAME, "INET_ULP_INFO_NAME", + ulp_namesi.sz, ulp_namesi.val, + ulp_namesi.sz, 1, + printf("%s", ulp_namesi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS */ + attr2 = INET_ULP_INFO_TLS; + attr2_str = "INET_ULP_INFO_TLS"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: unknown, undecoded */ + static const struct strval16 tls_unk_attrs = { + { ENUM_KNOWN(0, TLS_INFO_UNSPEC) }, + { ENUM_KNOWN(0x6, TLS_INFO_RX_NO_PAD) }, + { ARG_XLAT_UNKNOWN(0x7, "TLS_INFO_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "TLS_INFO_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_unk_attrsi.val, + tls_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_VERSION */ + static const struct strval16 tls_vers = { + { ARG_XLAT_UNKNOWN(0, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x200, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x300, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x301, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0x302, "TLS_???_VERSION") }, + { ENUM_KNOWN(0x303, TLS_1_2_VERSION) }, + { ENUM_KNOWN(0x304, TLS_1_3_VERSION) }, + { ARG_XLAT_UNKNOWN(0x305, "TLS_???_VERSION") }, + { ARG_XLAT_UNKNOWN(0xdead, "TLS_???_VERSION") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_vers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_VERSION, "TLS_INFO_VERSION", + 2, &tls_versi.val, 2, 2, + printf("%s", tls_versi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_CIPHER */ + static const struct strval16 tls_ciphers = { + { ARG_XLAT_UNKNOWN(0, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0x32, "TLS_CIPHER_???") }, + { ENUM_KNOWN(0x33, TLS_CIPHER_AES_GCM_128) }, + { ENUM_KNOWN(0x34, TLS_CIPHER_AES_GCM_256) }, + { ENUM_KNOWN(0x35, TLS_CIPHER_AES_CCM_128) }, + { ENUM_KNOWN(0x36, TLS_CIPHER_CHACHA20_POLY1305) }, + { ENUM_KNOWN(0x37, TLS_CIPHER_SM4_GCM) }, + { ENUM_KNOWN(0x38, TLS_CIPHER_SM4_CCM) }, + { ENUM_KNOWN(0x39, TLS_CIPHER_ARIA_GCM_128) }, + { ENUM_KNOWN(0x3a, TLS_CIPHER_ARIA_GCM_256) }, + { ARG_XLAT_UNKNOWN(0x3b, "TLS_CIPHER_???") }, + { ARG_XLAT_UNKNOWN(0xcafe, "TLS_CIPHER_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_ciphers); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + TLS_INFO_CIPHER, "TLS_INFO_CIPHER", + 2, &tls_ciphersi.val, 2, 2, + printf("%s", tls_ciphersi.str)); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_TLS: TLS_INFO_RTXCONF */ + static const struct strval16 tls_cfg_attrs = { + { ENUM_KNOWN(0, TLS_INFO_TXCONF) }, + { ENUM_KNOWN(0, TLS_INFO_RXCONF) }, + }; + static const struct strval16 tls_cfgs = { + { ARG_XLAT_UNKNOWN(0, "TLS_CONF_???") }, + { ENUM_KNOWN(0x1, TLS_CONF_BASE) }, + { ENUM_KNOWN(0x2, TLS_CONF_SW) }, + { ENUM_KNOWN(0x3, TLS_CONF_HW) }, + { ENUM_KNOWN(0x4, TLS_CONF_HW_RECORD) }, + { ARG_XLAT_UNKNOWN(0x5, "TLS_CONF_???") }, + { ARG_XLAT_UNKNOWN(0xface, "TLS_CONF_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(tls_cfg_attrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(tls_cfgs); j++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + tls_cfg_attrsi.val, + tls_cfg_attrsi.str, + 2, &tls_cfgsi.val, 2, 2, + printf("%s", tls_cfgsi.str)); + } + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP */ + attr2 = INET_ULP_INFO_MPTCP; + attr2_str = "INET_ULP_INFO_MPTCP"; + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: unknown, undecoded */ + static const struct strval16 mptcp_unk_attrs = { + { ENUM_KNOWN(0, MPTCP_SUBFLOW_ATTR_UNSPEC) }, + { ENUM_KNOWN(0xb, MPTCP_SUBFLOW_ATTR_PAD) }, + { ARG_XLAT_UNKNOWN(0xc, "MPTCP_SUBFLOW_ATTR_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "MPTCP_SUBFLOW_ATTR_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_unk_attrsi.val, + mptcp_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u8 */ + static const struct strval16 mptcp_u8_attrs = { + { ENUM_KNOWN(0x9, MPTCP_SUBFLOW_ATTR_ID_REM) }, + { ENUM_KNOWN(0xa, MPTCP_SUBFLOW_ATTR_ID_LOC) }, + }; + void *nlh_n2_u8 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint8_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u8_attrs); i++) { + check_u8_nlattr(fd, nlh_n2_u8, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u8_attrsi.val, mptcp_u8_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u16 */ + static const struct strval16 mptcp_u16_attrs = { + { ENUM_KNOWN(0x7, MPTCP_SUBFLOW_ATTR_MAP_DATALEN) }, + }; + void *nlh_n2_u16 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint16_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u16_attrs); i++) { + check_u16_nlattr(fd, nlh_n2_u16, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u16_attrsi.val, mptcp_u16_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u32 */ + static const struct strval16 mptcp_u32_attrs = { + { ENUM_KNOWN(0x3, MPTCP_SUBFLOW_ATTR_RELWRITE_SEQ) }, + { ENUM_KNOWN(0x5, MPTCP_SUBFLOW_ATTR_MAP_SFSEQ) }, + { ENUM_KNOWN(0x6, MPTCP_SUBFLOW_ATTR_SSN_OFFSET) }, + }; + void *nlh_n2_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_n2_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u32_attrsi.val, mptcp_u32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: u64 */ + static const struct strval16 mptcp_u64_attrs = { + { ENUM_KNOWN(0x4, MPTCP_SUBFLOW_ATTR_MAP_SEQ) }, + }; + void *nlh_n2_u64 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN * 2 + sizeof(uint64_t)); + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_u64_attrs); i++) { + check_u64_nlattr(fd, nlh_n2_u64, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_u64_attrsi.val, mptcp_u64_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: x32 */ + static const struct strval16 mptcp_x32_attrs = { + { ENUM_KNOWN(0x1, MPTCP_SUBFLOW_ATTR_TOKEN_REM) }, + { ENUM_KNOWN(0x2, MPTCP_SUBFLOW_ATTR_TOKEN_LOC) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_x32_attrs); i++) { + check_x32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + mptcp_x32_attrsi.val, mptcp_x32_attrsi.str, + pattern, 2); + } + + /* INET_DIAG_ULP_INFO: INET_ULP_INFO_MPTCP: MPTCP_SUBFLOW_ATTR_FLAGS */ + static const struct strval32 mptcp_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "MPTCP_SUBFLOW_FLAG_MCAP_REM") }, + { ARG_XLAT_KNOWN(0xdecaffed, + "MPTCP_SUBFLOW_FLAG_MCAP_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_REM" + "|MPTCP_SUBFLOW_FLAG_JOIN_LOC" + "|MPTCP_SUBFLOW_FLAG_BKUP_LOC" + "|MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED" + "|MPTCP_SUBFLOW_FLAG_CONNECTED" + "|MPTCP_SUBFLOW_FLAG_MAPVALID|0xdecafe00") }, + { ARG_XLAT_UNKNOWN(0xfffffe00, "MPTCP_SUBFLOW_FLAG_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(mptcp_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + MPTCP_SUBFLOW_ATTR_FLAGS, + "MPTCP_SUBFLOW_ATTR_FLAGS", + 4, &mptcp_flagsi.val, 4, 2, + printf("%s", mptcp_flagsi.str)); + } + + /* INET_DIAG_SK_BPF_STORAGES */ + attr1 = INET_DIAG_SK_BPF_STORAGES; + attr1_str = "INET_DIAG_SK_BPF_STORAGES"; + + /* INET_DIAG_SK_BPF_STORAGES: unknown, undecoded */ + static const struct strval16 bpfsts_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_REP_NONE) }, + { ARG_XLAT_UNKNOWN(0x2, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfsts_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_1, + print_inet_diag_nest_1, + bpfsts_unk_attrsi.val, + bpfsts_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE */ + attr2 = SK_DIAG_BPF_STORAGE; + attr2_str = "SK_DIAG_BPF_STORAGE"; + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: unknown, undecoded */ + static const struct strval16 bpfst_unk_attrs = { + { ENUM_KNOWN(0, SK_DIAG_BPF_STORAGE_NONE) }, + { ENUM_KNOWN(0x1, SK_DIAG_BPF_STORAGE_NONE) }, + { ARG_XLAT_UNKNOWN(0x4, "SK_DIAG_BPF_STORAGE_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "SK_DIAG_BPF_STORAGE_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_unk_attrsi.val, + bpfst_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 2, + printf("\"\\xde\\xad\\xc0\\xde\"")); + } + + /* INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: u32 */ + static const struct strval16 bpfst_u32_attrs = { + { ENUM_KNOWN(0x2, SK_DIAG_BPF_STORAGE_MAP_ID) }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + bpfst_u32_attrsi.val, bpfst_u32_attrsi.str, + pattern, 2); + } + + /* + * INET_DIAG_SK_BPF_STORAGES: SK_DIAG_BPF_STORAGE: + * SK_DIAG_BPF_STORAGE_MAP_VALUE + */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } bpfst_vals = { + { 1, "\xbe", "0xbe" }, + { 2, BE_LE("\xde\xad", "\xad\xde"), "0xdead" }, + { 3, "\xca\xff\xee", "\"\\xca\\xff\\xee\"" }, + { 4, BE_LE("\xba\xdc\x0d\xed", "\xed\x0d\xdc\xba"), + "0xbadc0ded" }, + { 5, "\x00\x09\x0a\x0b\x0c", + "\"\\x00\\x09\\x0a\\x0b\\x0c\"" }, + { 6, "012345", + "\"\\x30\\x31\\x32\\x33\\x34\\x35\"" }, + { 7, "abcdefg", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\"" }, + { 8, BE_LE("\xbe\xef\xfa\xce\xde\xad\xc0\xde", + "\xde\xc0\xad\xde\xce\xfa\xef\xbe"), + "0xbeeffacedeadc0de" }, + { 9, "ABCDEFGHI", + "\"\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\"" }, + { 10, "1234567890", + "\"\\x31\\x32\\x33\\x34\\x35" + "\\x36\\x37\\x38\\x39\\x30\"" }, + { 12, "a1b2c3d4e5f6", + "\"\\x61\\x31\\x62\\x32\\x63\\x33" + "\\x64\\x34\\x65\\x35\\x66\\x36\"" }, + { 16, "A1B2C3D4E5F6G7H8", + "\"\\x41\\x31\\x42\\x32\\x43\\x33\\x44\\x34" + "\\x45\\x35\\x46\\x36\\x47\\x37\\x48\\x38\"" }, + { 36, "abcdefghijklmnopqrstuvwxyz0123456789", + "\"\\x61\\x62\\x63\\x64\\x65\\x66\\x67\\x68\\x69\\x6a" + "\\x6b\\x6c\\x6d\\x6e\\x6f\\x70\\x71\\x72\\x73\\x74\\x75" + "\\x76\\x77\\x78\\x79\\x7a\\x30\\x31\\x32\\x33\\x34\\x35" + "\"..." }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(bpfst_vals); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_nest_2, + print_inet_diag_nest_2, + SK_DIAG_BPF_STORAGE_MAP_VALUE, + "SK_DIAG_BPF_STORAGE_MAP_VALUE", + bpfst_valsi.sz, bpfst_valsi.val, + bpfst_valsi.sz, 2, + printf("%s", bpfst_valsi.str)); + } + + /* INET_DIAG_SOCKOPT */ + static const struct { + ssize_t sz; + const char *val; + const char *str; + } sockopts = { + { 1, "\xbe", "\"\\xbe\"" }, + { 2, "\x00\x00", "{}" }, + { 2, BE_LE("\xca\xa0", "\x53\x05"), + "{recverr=1, is_icsk=1, mc_loop=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1}" }, + { 3, BE_LE("\x1e\xad", "\x78\xb5"), + "{hdrincl=1, mc_loop=1, transparent=1, mc_all=1" + ", bind_address_no_port=1, defer_connect=1" + ", unused=" BE_LE("0xd", "0x16") " /* bits 3..8 */}" }, + { 4, "\xff\xff\x00\xff", + "{recverr=1, is_icsk=1, freebind=1, hdrincl=1, mc_loop=1" + ", transparent=1, mc_all=1, nodefrag=1" + ", bind_address_no_port=1, recverr_rfc4884=1, defer_connect=1" + ", unused=0x1f /* bits 3..8 */}" + ", /* bytes 2..3 */ \"\\x00\\xff\"" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(sockopts); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + INET_DIAG_SOCKOPT, + sockoptsi.sz, sockoptsi.val, sockoptsi.sz, + printf("%s", sockoptsi.str)); + } + + /* INET_DIAG_LOCALS, INET_DIAG_PEERS */ + static const struct strval16 sa_attrs = { + { ENUM_KNOWN(0xc, INET_DIAG_LOCALS) }, + { ENUM_KNOWN(0xd, INET_DIAG_PEERS) }, + }; + enum { + SA_CNT = 3, + SA_SZ = sizeof(struct sockaddr_storage) * SA_CNT, + }; + void *nlh_sa = midtail_alloc(NLMSG_SPACE(hdrlen), SA_SZ); + struct sockaddr_storage bufSA_CNT = { { 0 } }; + + struct sockaddr_in *sa_in = (struct sockaddr_in *) (buf); + sa_in->sin_family = AF_INET; + sa_in->sin_port = htons(42069); + sa_in->sin_addr.s_addr = htonl(0x12345678); + + struct sockaddr_in6 *sa_in6 = (struct sockaddr_in6 *) (buf + 1); + sa_in6->sin6_family = AF_INET6; + sa_in6->sin6_port = htons(23456); + sa_in6->sin6_flowinfo = htonl(0x13579bdf); + sa_in6->sin6_scope_id = 0x2468ace0; + memcpy(sa_in6->sin6_addr.s6_addr, + "\x12\x34\x56\x78\0\0\0\0\0\0\0\0\x9a\xbc\xde\xf0", + sizeof(sa_in6->sin6_addr.s6_addr)); + + struct sockaddr_at *sa_at = (struct sockaddr_at *) (buf + 2); + sa_at->sat_family = AF_APPLETALK; + sa_at->sat_port = 0x69; + sa_at->sat_addr.s_net = 0x8765; + sa_at->sat_addr.s_node = 0x42; + + for (size_t i = 0; i < ARRAY_SIZE(sa_attrs); i++) { + TEST_NLATTR_ARRAY_(fd, nlh_sa, hdrlen, + init_inet_diag_msg, print_inet_diag_msg, + sa_attrsi.val, sa_attrsi.str, + pattern, buf, print_sa); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_inet_diag_req_v2.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_inet_diag_req_v2.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -64,6 +64,26 @@ } static void +test_unk_attrs(const int fd) +{ + static const struct strval16 unk_attrs = { + { ENUM_KNOWN(0, INET_DIAG_REQ_NONE) }, + { ENUM_KNOWN(0x2, INET_DIAG_REQ_SK_BPF_STORAGES) }, + { ARG_XLAT_UNKNOWN(0x4, "INET_DIAG_REQ_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "INET_DIAG_REQ_???") }, + }; + static const char buf4 = { 0xde, 0xad, 0xfa, 0xce }; + + for (size_t i = 0; i < ARRAY_SIZE(unk_attrs); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + unk_attrsi.val, unk_attrsi.str, + sizeof(buf), buf, sizeof(buf), + print_quoted_hex(buf, sizeof(buf))); + } +} + +static void test_inet_diag_bc_op(const int fd) { static const struct inet_diag_bc_op op = { @@ -384,6 +404,28 @@ sizeof(buf) - sizeof(op))); } +static void +test_inet_diag_proto(const int fd) +{ + static const struct strval32 protos = { + { 0, "IPPROTO_IP" }, + { 3, "0x3 /* IPPROTO_??? */" }, + { 6, "IPPROTO_TCP" }, + { 255, "IPPROTO_RAW" }, + { 256, "0x100 /* IPPROTO_??? */" }, + { 262, "IPPROTO_MPTCP" }, + { 0xcafeface, "0xcafeface /* IPPROTO_??? */" }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(protos); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, + init_inet_diag_req_v2, print_inet_diag_req_v2, + INET_DIAG_REQ_PROTOCOL, + sizeof(uint32_t), &protosi.val, sizeof(uint32_t), + printf("%s", protosi.str)); + } +} + int main(void) { @@ -396,6 +438,7 @@ sizeof(struct in6_addr) + DEFAULT_STRLEN); fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + test_unk_attrs(fd); test_inet_diag_bc_op(fd); test_inet_diag_bc_s_cond(fd); test_in_addr(fd); @@ -404,6 +447,7 @@ test_inet_diag_bc_s_le(fd); test_inet_diag_bc_mark_cond(fd); test_inet_diag_bc_nop(fd); + test_inet_diag_proto(fd); printf("+++ exited with 0 +++\n"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_mdba_router_port.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_mdba_router_port.c
Changed
@@ -8,7 +8,9 @@ #include "tests.h" +#include <math.h> #include <stdio.h> +#include <unistd.h> #include "test_nlattr.h" #include <linux/if_bridge.h> #include <linux/rtnetlink.h> @@ -93,7 +95,16 @@ { ARG_STR(MDBA_ROUTER_PATTR_INET_TIMER) }, { ARG_STR(MDBA_ROUTER_PATTR_INET6_TIMER) }, }; - static const uint32_t timer = 0xdabcefcd; + uint32_t timer = 0xdead; + long clk_tck; + int precision = 0; + + clk_tck = sysconf(_SC_CLK_TCK); + if (clk_tck > 0) { + precision = clk_tck > 1 ? MIN((int) ceil(log10(clk_tck - 1)), 9) + : 0; + timer *= clk_tck; + } struct nlattr nla_timer = { .nla_len = NLA_HDRLEN + sizeof(timer), @@ -114,8 +125,11 @@ MDBA_ROUTER_PORT, sizeof(buf_timer), buf_timer, sizeof(buf_timer), printf(IFINDEX_LO_STR - ", {nla_len=%u, nla_type=%s}, 3669815245", - nla_timer.nla_len, pattrsi.str)); + ", {nla_len=%u, nla_type=%s}, %u", + nla_timer.nla_len, pattrsi.str, timer); + if (clk_tck > 0) + printf(" /* 57005.%0*u s */", precision, 0); + printf("")); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_ndmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_ndmsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/neighbour.h> #include <linux/rtnetlink.h> +static const unsigned int hdrlen = sizeof(struct ndmsg); + static void init_ndmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) { @@ -46,13 +48,32 @@ msg_len); } +static void +init_ndmsg_nfea(struct nlmsghdr *const nlh, const unsigned int msg_len) +{ + init_ndmsg(nlh, msg_len); + + struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); + SET_STRUCT(struct nlattr, nla, + .nla_len = msg_len - NLMSG_SPACE(hdrlen), + .nla_type = NDA_FDB_EXT_ATTRS, + ); +} + +static void +print_ndmsg_nfea(const unsigned int msg_len) +{ + print_ndmsg(msg_len); + printf(", {nla_len=%u, nla_type=NDA_FDB_EXT_ATTRS}", + msg_len - NLMSG_SPACE(hdrlen)); +} + int main(void) { skip_if_unavailable("/proc/self/fd/"); const int fd = create_nl_socket(NETLINK_ROUTE); - const unsigned int hdrlen = sizeof(struct ndmsg); void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + sizeof(struct nda_cacheinfo)); @@ -110,6 +131,102 @@ for (unsigned int i = 0; i < sizeof(mac); ++i) printf("%s%02x", i ? ":" : "", maci)); + /* u32 attrs */ + static const struct strval16 u32_attrs = { + { ENUM_KNOWN(0x4, NDA_PROBES) }, + { ENUM_KNOWN(0x7, NDA_VNI) }, + { ENUM_KNOWN(0xa, NDA_LINK_NETNSID) }, + { ENUM_KNOWN(0xb, NDA_SRC_VNI) }, + { ENUM_KNOWN(0xd, NDA_NH_ID) }, + }; + void *nlh_u32 = midtail_alloc(NLMSG_SPACE(hdrlen), sizeof(uint32_t)); + + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh_u32, hdrlen, init_ndmsg, print_ndmsg, + u32_attrsi.val, u32_attrsi.str, pattern, 0); + } + + /* NDA_FDB_EXT_ATTRS: unknown, undecoded */ + static const struct strval16 nfea_unk_attrs = { + { ENUM_KNOWN(0, NFEA_UNSPEC) }, + { ENUM_KNOWN(0x2, NFEA_DONT_REFRESH) }, + { ARG_XLAT_UNKNOWN(0x3, "NFEA_???") }, + { ARG_XLAT_UNKNOWN(0x1ace, "NFEA_???") }, + }; + static const uint32_t dummy = BE_LE(0xbadc0ded, 0xed0ddcba); + + for (size_t i = 0; i < ARRAY_SIZE(nfea_unk_attrs); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + nfea_unk_attrsi.val, + nfea_unk_attrsi.str, + sizeof(dummy), &dummy, sizeof(dummy), 1, + printf("\"\\xba\\xdc\\x0d\\xed\"")); + } + + /* NDA_FDB_EXT_ATTRS: NFEA_ACTIVITY_NOTIFY */ + static const struct strval8 fan_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "FDB_NOTIFY_BIT") }, + { ARG_XLAT_KNOWN(0xef, "FDB_NOTIFY_BIT" + "|FDB_NOTIFY_INACTIVE_BIT|0xec") }, + { ARG_XLAT_UNKNOWN(0xfc, "FDB_NOTIFY_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(fan_flags); i++) { + TEST_NESTED_NLATTR_(fd, nlh0, hdrlen, + init_ndmsg_nfea, print_ndmsg_nfea, + NFEA_ACTIVITY_NOTIFY, + "NFEA_ACTIVITY_NOTIFY", + 1, &fan_flagsi.val, 1, 1, + printf("%s", fan_flagsi.str)); + } + + /* NDA_FLAGS_EXT */ + static const struct strval32 ntfe_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_EXT_MANAGED") }, + { ARG_XLAT_KNOWN(0xdeadbeef, "NTF_EXT_MANAGED|0xdeadbeee") }, + { ARG_XLAT_UNKNOWN(0xfeedcafe, "NTF_EXT_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ntfe_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_FLAGS_EXT, 4, &ntfe_flagsi.val, 4, + printf("%s", ntfe_flagsi.str)); + } + + /* NDA_NDM_STATE_MASK */ + static const struct strval16 states_flags = { + { ARG_XLAT_KNOWN(0, "NUD_NONE") }, + { ARG_XLAT_KNOWN(0x1, "NUD_INCOMPLETE") }, + { ARG_XLAT_KNOWN(0xabed, "NUD_INCOMPLETE|NUD_STALE|NUD_DELAY" + "|NUD_FAILED|NUD_NOARP|NUD_PERMANENT" + "|0xab00") }, + { ARG_XLAT_UNKNOWN(0xff00, "NUD_???") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(states_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_STATE_MASK, 2, &states_flagsi.val, 2, + printf("%s", states_flagsi.str)); + } + + /* NDA_NDM_FLAGS_MASK */ + static const struct strval8 ndm_flags = { + { ARG_STR(0) }, + { ARG_XLAT_KNOWN(0x1, "NTF_USE") }, + { ARG_XLAT_KNOWN(0xbe, "NTF_SELF|NTF_MASTER|NTF_PROXY" + "|NTF_EXT_LEARNED|NTF_OFFLOADED" + "|NTF_ROUTER") }, + }; + + for (size_t i = 0; i < ARRAY_SIZE(ndm_flags); i++) { + TEST_NLATTR(fd, nlh0, hdrlen, init_ndmsg, print_ndmsg, + NDA_NDM_FLAGS_MASK, 1, &ndm_flagsi.val, 1, + printf("%s", ndm_flagsi.str)); + } + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xabbrev +netlink_sock_diag.test -Xabbrev); do not edit. +set -- -Xabbrev +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xraw +netlink_sock_diag.test -Xraw); do not edit. +set -- -Xraw +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "nlattr_nhmsg.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg-Xverbose +netlink_sock_diag.test -Xverbose); do not edit. +set -- -Xverbose +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg.c
Added
@@ -0,0 +1,411 @@ +/* + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" + +#include <arpa/inet.h> +#include <inttypes.h> +#include <linux/ip.h> +#include <linux/rtnetlink.h> +#include <linux/nexthop.h> +#include <netinet/in.h> +#include <stdint.h> +#include <stdio.h> +#include <unistd.h> + +#include "test_nlattr.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/rtnl_nexthop_attrs.h" +# include "xlat/rtnl_nha_res_group_attrs.h" +# include "xlat/rtnl_nha_res_bucket_attrs.h" +#undef XLAT_MACROS_ONLY + +#define DEF_NLATTR_NHMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETNEXTHOP, \ + .nlmsg_flags = NLM_F_DUMP, \ + ); \ + \ + struct nhmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct nhmsg, msg, \ + .nh_family = (af_), \ + .nh_scope = RT_SCOPE_NOWHERE, \ + .nh_protocol = RTPROT_UNSPEC, \ + .nh_flags = 0x22, \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=" XLAT_FMT \ + ", nlmsg_flags=" XLAT_FMT ", nlmsg_seq=0" \ + ", nlmsg_pid=0}, {nh_family=" XLAT_FMT \ + ", nh_scope=" XLAT_FMT ", nh_protocol=" XLAT_FMT \ + ", nh_flags=" XLAT_FMT "}", \ + msg_len, XLAT_ARGS(RTM_GETNEXTHOP), \ + XLAT_ARGS(NLM_F_DUMP), XLAT_SEL(af_, #af_), \ + XLAT_ARGS(RT_SCOPE_NOWHERE), \ + XLAT_ARGS(RTPROT_UNSPEC), \ + XLAT_ARGS(RTNH_F_PERVASIVE|RTNH_F_UNRESOLVED)); \ + } \ + /* End of DEF_NLATTR_NHMSG_FUNCS */ + +#define DEF_NLATTR_NHMSG_NESTED_FUNCS(sfx_, attr_) \ + static void \ + init_nhmsg_##sfx_(struct nlmsghdr *const nlh, \ + const unsigned int msg_len) \ + { \ + init_nhmsg(nlh, msg_len); \ + struct nlattr *nla = NLMSG_ATTR(nlh, sizeof(struct nhmsg)); \ + SET_STRUCT(struct nlattr, nla, \ + .nla_len = msg_len \ + - NLMSG_SPACE(sizeof(struct nhmsg)), \ + .nla_type = attr_, \ + ); \ + } \ + \ + static void \ + print_nhmsg_##sfx_(const unsigned int msg_len) \ + { \ + print_nhmsg(msg_len); \ + printf(", {nla_len=%u, nla_type=" XLAT_FMT "}", \ + (unsigned int) (msg_len - NLMSG_HDRLEN \ + - NLMSG_ALIGN(sizeof(struct nhmsg))), \ + XLAT_SEL(attr_, #attr_)); \ + } \ + /* End of DEF_NLATTR_NHMSG_NESTED_FUNCS */ + +DEF_NLATTR_NHMSG_FUNCS(nhmsg, AF_UNIX) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet, AF_INET) +DEF_NLATTR_NHMSG_FUNCS(nhmsg_inet6, AF_INET6) + +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_grp, NHA_RES_GROUP) +DEF_NLATTR_NHMSG_NESTED_FUNCS(res_bkt, NHA_RES_BUCKET) + +static void +print_nh_grp(const struct nexthop_grp *const elem, size_t idx) +{ + switch (idx) { + case 0: printf("{id=3735928559, weight=0}"); break; + case 1: printf("{id=0, weight=218, resvd2=0xdead}"); break; + case 2: printf("{id=4207869677, weight=190, resvd1=0xec}"); break; + case 3: printf("{id=0, weight=0, resvd1=0xca, resvd2=0xbeef}"); break; + default: error_msg_and_fail("Unexpected grp index: %zu", idx); + } +} + +int +main(void) +{ + skip_if_unavailable("/proc/self/fd/"); + + const int fd = create_nl_socket(NETLINK_ROUTE); + const unsigned int hdrlen = sizeof(struct nhmsg); + char nla_type_str256; + void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), + NLA_HDRLEN + 42); + + static char pattern4096; + fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); + + + /* Unknown attrs */ + static const uint16_t unk_types = { 14, 0xffff & NLA_TYPE_MASK }; + for (size_t i = 0; i < ARRAY_SIZE(unk_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_??? */"), unk_typesi); + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unk_typesi, nla_type_str, + 4, pattern, 4, + print_quoted_hex(pattern, 4)); + } + + + /* unimplemented, no semantics: NHA_UNSPEC, NHA_ENCAP */ + static const struct strval32 unimp_types = { + { ARG_XLAT_KNOWN(0, "NHA_UNSPEC") }, + { ARG_XLAT_KNOWN(0x8, "NHA_ENCAP") } }; + for (size_t i = 0; i < ARRAY_SIZE(unimp_types); i++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + init_nhmsg, print_nhmsg, + unimp_typesi.val, unimp_typesi.str, + 42, pattern, 42, + print_quoted_hex(pattern, 32); + printf("...")); + } + + + /* u32 attrs: NHA_ID, NHA_BLACKHOLE, NHA_GROUPS, NHA_FDB */ + static const struct strval32 u32_attrs = { + { ARG_XLAT_KNOWN(0x1, "NHA_ID") }, + { ARG_XLAT_KNOWN(0x4, "NHA_BLACKHOLE") }, + { ARG_XLAT_KNOWN(0x9, "NHA_GROUPS") }, + { ARG_XLAT_KNOWN(0xb, "NHA_FDB") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(u32_attrs); i++) { + check_u32_nlattr(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + u32_attrsi.val, u32_attrsi.str, pattern, + 0); + } + + + /* NHA_GROUP */ + static const struct nexthop_grp grps = { + { .id = 0xdeadbeef, .weight = 0, .resvd1 = 0, .resvd2 = 0 }, + { .id = 0, .weight = 218, .resvd1 = 0, .resvd2 = 0xdead }, + { .id = 0xfacefeed, .weight = 190, .resvd1 = 236, .resvd2 = 0 }, + { .id = 0, .weight = 0, .resvd1 = 202, .resvd2 = 0xbeef }, + }; + TEST_NLATTR_ARRAY_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP, XLAT_KNOWN(0x2, "NHA_GROUP"), + pattern, grps, print_nh_grp); + + + /* NHA_GROUP_TYPE */ + static const struct strval16 grp_types = { + { ARG_XLAT_KNOWN(0, "NEXTHOP_GRP_TYPE_MPATH") }, + { ARG_XLAT_KNOWN(0x1, "NEXTHOP_GRP_TYPE_RES") }, + { ARG_XLAT_UNKNOWN(0x2, "NEXTHOP_GRP_TYPE_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "NEXTHOP_GRP_TYPE_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(grp_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, + XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + pattern, grp_typesi.val, + printf("%s", grp_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_GROUP_TYPE, XLAT_KNOWN(0x3, "NHA_GROUP_TYPE"), + sizeof(grp_typesi.val) + 4, + &grp_typesi.val, sizeof(grp_typesi.val), + printf("%s", grp_typesi.str)); + } + + + /* ifindex: NHA_OIF, NHA_MASTER */ + static const struct strval32 if_attrs = { + { ARG_XLAT_KNOWN(0x5, "NHA_OIF") }, + { ARG_XLAT_KNOWN(0xa, "NHA_MASTER") }, + }; + const uint32_t ifindex = ifindex_lo(); + for (size_t i = 0; i < ARRAY_SIZE(if_attrs); i++) { + static const uint32_t bogus = 0xdeadc0de; + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, bogus, + printf("3735929054")); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(bogus) + 4, &bogus, sizeof(bogus), + printf("3735929054")); + + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + pattern, ifindex, + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + if_attrsi.val, if_attrsi.str, + sizeof(ifindex) + 4, &ifindex, sizeof(ifindex), + printf(XLAT_FMT_U, + XLAT_SEL(ifindex, IFINDEX_LO_STR))); + } + + + /* NHA_GATEWAY */ + static const struct { + uint8_t af; + uint8_t addr16; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_nhmsg, print_nhmsg, 10 }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_nhmsg_inet, print_nhmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_nhmsg_inet6, print_nhmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_XLAT_KNOWN(0x6, "NHA_GATEWAY") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(addrsi.addr, + addrsi.len); +#endif +#if !XLAT_RAW + if (!(XLAT_VERBOSE + && addrsi.af == AF_UNIX)) + printf(VERB(" /* ") "%s" + VERB(" */"), addrsi.str); +#endif + ); + } + } + + + /* NHA_ENCAP_TYPE */ + static const struct strval16 enc_types = { + { ARG_XLAT_KNOWN(0, "LWTUNNEL_ENCAP_NONE") }, + { ARG_XLAT_KNOWN(0x8, "LWTUNNEL_ENCAP_RPL") }, + { ARG_XLAT_UNKNOWN(0x9, "LWTUNNEL_ENCAP_???") }, + { ARG_XLAT_UNKNOWN(0xbeef, "LWTUNNEL_ENCAP_???") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(enc_types); i++) { + TEST_NLATTR_OBJECT_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, + XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + pattern, enc_typesi.val, + printf("%s", enc_typesi.str)); + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_ENCAP_TYPE, XLAT_KNOWN(0x7, "NHA_ENCAP_TYPE"), + sizeof(enc_typesi.val) + 4, + &enc_typesi.val, sizeof(enc_typesi.val), + printf("%s", enc_typesi.str)); + } + + + /* NHA_RES_GROUP */ + static const unsigned int res_grp_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + void *nlh1 = midtail_alloc(NLMSG_SPACE(res_grp_hdrlen), + NLA_HDRLEN + 16); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_GROUP, XLAT_KNOWN(0xc, "NHA_RES_GROUP"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_grp_types = { + 5, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_grp_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_GROUP_??? */"), + unk_res_grp_typesi); + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + unk_res_grp_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_GROUP_UNSPEC/NHA_RES_GROUP_PAD */ + TEST_NLATTR_(fd, nlh1, res_grp_hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + NHA_RES_GROUP_PAD, XLAT_KNOWN(0, "NHA_RES_GROUP_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_GROUP_BUCKETS */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + ARG_XLAT_KNOWN(0x1, "NHA_RES_GROUP_BUCKETS"), + pattern, 1); + + /* clock_t: NHA_RES_GROUP_IDLE_TIMER, NHA_RES_GROUP_UNBALANCED_TIMER, + * NHA_RES_GROUP_UNBALANCED_TIME */ + static const struct strval32 res_grp_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_GROUP_IDLE_TIMER") }, + { ARG_XLAT_KNOWN(0x3, "NHA_RES_GROUP_UNBALANCED_TIMER") }, + { ARG_XLAT_KNOWN(0x4, "NHA_RES_GROUP_UNBALANCED_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_grp_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_grp, print_nhmsg_res_grp, + res_grp_clk_attrsi.val, + res_grp_clk_attrsi.str, 1); + } + + + /* NHA_RES_BUCKET */ + static const unsigned int res_bkt_hdrlen = + sizeof(struct nhmsg) + sizeof(struct nlattr); + + TEST_NLATTR_(fd, nlh0, hdrlen, init_nhmsg, print_nhmsg, + NHA_RES_BUCKET, XLAT_KNOWN(0xd, "NHA_RES_BUCKET"), + 3, pattern, 3, + print_quoted_hex(pattern, 3)); + + /* unknown NHA_RES_GROUP_* attr */ + static const uint16_t unk_res_bkt_types = { + 4, 0xffff & NLA_TYPE_MASK, + }; + for (size_t i = 0; i < ARRAY_SIZE(unk_res_bkt_types); i++) { + sprintf(nla_type_str, "%#x" NRAW(" /* NHA_RES_BUCKET_??? */"), + unk_res_bkt_typesi); + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + unk_res_bkt_typesi, nla_type_str, + 16, pattern, 16, + print_quoted_hex(pattern, 16); + printf("")); + } + + /* not decoded: NHA_RES_BUCKET_UNSPEC/NHA_RES_BUCKET_PAD */ + TEST_NLATTR_(fd, nlh1, res_bkt_hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + NHA_RES_BUCKET_PAD, XLAT_KNOWN(0, "NHA_RES_BUCKET_PAD"), + 8, pattern, 8, + print_quoted_hex(pattern, 8); + printf("")); + + /* u16: NHA_RES_BUCKET_INDEX */ + check_u16_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x1, "NHA_RES_BUCKET_INDEX"), + pattern, 1); + + /* clock_t: NHA_RES_BUCKET_IDLE_TIME */ + static const struct strval32 res_bkt_clk_attrs = { + { ARG_XLAT_KNOWN(0x2, "NHA_RES_BUCKET_IDLE_TIME") }, + }; + for (size_t i = 0; i < ARRAY_SIZE(res_bkt_clk_attrs); i++) { + check_clock_t_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + res_bkt_clk_attrsi.val, + res_bkt_clk_attrsi.str, 1); + } + + /* u32: NHA_RES_BUCKET_NH_ID */ + check_u32_nlattr(fd, nlh0, hdrlen, + init_nhmsg_res_bkt, print_nhmsg_res_bkt, + ARG_XLAT_KNOWN(0x3, "NHA_RES_BUCKET_NH_ID"), + pattern, 1); + + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/nlattr_nhmsg.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (nlattr_nhmsg +netlink_sock_diag.test ); do not edit. +set -- +. "${srcdir=.}/netlink_sock_diag.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_rtmsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_rtmsg.c
Changed
@@ -15,44 +15,76 @@ #include <linux/ip.h> #include <linux/rtnetlink.h> -#define LWTUNNEL_ENCAP_NONE 0 - -static void -init_rtmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) +#if !defined HAVE_MEMPCPY +# undef mempcpy +# define mempcpy strace_mempcpy +static void * +mempcpy(void *dest, const void *src, size_t n) { - SET_STRUCT(struct nlmsghdr, nlh, - .nlmsg_len = msg_len, - .nlmsg_type = RTM_GETROUTE, - .nlmsg_flags = NLM_F_DUMP - ); - - struct rtmsg *const msg = NLMSG_DATA(nlh); - SET_STRUCT(struct rtmsg, msg, - .rtm_family = AF_UNIX, - .rtm_tos = IPTOS_LOWDELAY, - .rtm_table = RT_TABLE_DEFAULT, - .rtm_protocol = RTPROT_KERNEL, - .rtm_scope = RT_SCOPE_UNIVERSE, - .rtm_type = RTN_LOCAL, - .rtm_flags = RTM_F_NOTIFY - ); + memcpy(dest, src, n); + + return dest + n; } +#endif static void -print_rtmsg(const unsigned int msg_len) +print_quoted_hex_ellipsis(const void *const instr, const size_t len) { - printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE, nlmsg_flags=NLM_F_DUMP" - ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=AF_UNIX" - ", rtm_dst_len=0, rtm_src_len=0" - ", rtm_tos=IPTOS_LOWDELAY" - ", rtm_table=RT_TABLE_DEFAULT" - ", rtm_protocol=RTPROT_KERNEL" - ", rtm_scope=RT_SCOPE_UNIVERSE" - ", rtm_type=RTN_LOCAL" - ", rtm_flags=RTM_F_NOTIFY}", - msg_len); + const unsigned char *str = instr; + + printf("\""); + for (size_t i = 0; i < MIN(len, DEFAULT_STRLEN); ++i) + printf("\\x%02x", stri); + printf("\""); + if (len > DEFAULT_STRLEN) + printf("..."); } +#define LWTUNNEL_ENCAP_NONE 0 + +#define DEF_NLATTR_RTMSG_FUNCS(sfx_, af_) \ + static void \ + init_##sfx_(struct nlmsghdr *const nlh, const unsigned int msg_len) \ + { \ + SET_STRUCT(struct nlmsghdr, nlh, \ + .nlmsg_len = msg_len, \ + .nlmsg_type = RTM_GETROUTE, \ + .nlmsg_flags = NLM_F_DUMP \ + ); \ + \ + struct rtmsg *const msg = NLMSG_DATA(nlh); \ + SET_STRUCT(struct rtmsg, msg, \ + .rtm_family = (af_), \ + .rtm_tos = IPTOS_LOWDELAY, \ + .rtm_table = RT_TABLE_DEFAULT, \ + .rtm_protocol = RTPROT_KERNEL, \ + .rtm_scope = RT_SCOPE_UNIVERSE, \ + .rtm_type = RTN_LOCAL, \ + .rtm_flags = RTM_F_NOTIFY \ + ); \ + } \ + \ + static void \ + print_##sfx_(const unsigned int msg_len) \ + { \ + printf("{nlmsg_len=%u, nlmsg_type=RTM_GETROUTE" \ + ", nlmsg_flags=NLM_F_DUMP" \ + ", nlmsg_seq=0, nlmsg_pid=0}, {rtm_family=" #af_ \ + ", rtm_dst_len=0, rtm_src_len=0" \ + ", rtm_tos=IPTOS_LOWDELAY" \ + ", rtm_table=RT_TABLE_DEFAULT" \ + ", rtm_protocol=RTPROT_KERNEL" \ + ", rtm_scope=RT_SCOPE_UNIVERSE" \ + ", rtm_type=RTN_LOCAL" \ + ", rtm_flags=RTM_F_NOTIFY}", \ + msg_len); \ + } \ + /* End of DEF_NLATTR_RTMSG_FUNCS */ + +DEF_NLATTR_RTMSG_FUNCS(rtmsg, AF_UNIX) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet, AF_INET) +DEF_NLATTR_RTMSG_FUNCS(rtmsg_inet6, AF_INET6) + int main(void) { @@ -80,6 +112,62 @@ RTA_DST, 4, pattern, 4, print_quoted_hex(pattern, 4)); +#define MAX_ADDR_SZ 35 + static const struct { + uint8_t af; + uint8_t addrMAX_ADDR_SZ; + const char *str; + void (* init_fn)(struct nlmsghdr *, unsigned int); + void (* print_fn)(unsigned int); + uint32_t len; + } addrs = { + { AF_UNIX, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09\"", + init_rtmsg, print_rtmsg, 10 }, + { AF_UNIX, + { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, MAX_ADDR_SZ - 1 = 0xea }, + "\"\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\x09" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00" + "\\x00\\x00" +#if DEFAULT_STRLEN == 32 + "\"...", +#else + "\\x00\\x00\\xea\"", +#endif + init_rtmsg, print_rtmsg, MAX_ADDR_SZ }, + { AF_INET, { 0xde, 0xca, 0xff, 0xed }, + "inet_addr(\"222.202.255.237\")", + init_rtmsg_inet, print_rtmsg_inet, 4 }, + { AF_INET6, { 0xfa, 0xce, 0xbe, 0xef, 15 = 0xda }, + "inet_pton(AF_INET6, \"face:beef::da\")", + init_rtmsg_inet6, print_rtmsg_inet6, 16 }, + }; + static const struct strval32 addr_attrs = { + { ARG_STR(RTA_DST) }, + { ARG_STR(RTA_SRC) }, + { ARG_STR(RTA_GATEWAY) }, + { ARG_STR(RTA_PREFSRC) }, + { ARG_STR(RTA_NEWDST) }, + }; + for (size_t i = 0; i < ARRAY_SIZE(addrs); i++) { + for (size_t j = 0; j < ARRAY_SIZE(addr_attrs); j++) { + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len - 1, addrsi.addr, + addrsi.len - 1, + print_quoted_hex_ellipsis(addrsi.addr, + addrsi.len - 1) + ); + TEST_NLATTR_(fd, nlh0, hdrlen, + addrsi.init_fn, addrsi.print_fn, + addr_attrsj.val, addr_attrsj.str, + addrsi.len, addrsi.addr, addrsi.len, + printf("%s", addrsi.str)); + } + } + const uint32_t ifindex = ifindex_lo(); TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, @@ -110,9 +198,9 @@ TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, pattern, nh, - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u" - ", rtnh_ifindex=" IFINDEX_LO_STR "}", + ", rtnh_ifindex=" IFINDEX_LO_STR "}", nh.rtnh_len, nh.rtnh_hops)); char bufRTNH_ALIGN(sizeof(nh)) + sizeof(nla); @@ -123,11 +211,73 @@ TEST_NLATTR(fd, nlh0, hdrlen, init_rtmsg, print_rtmsg, RTA_MULTIPATH, sizeof(buf), buf, sizeof(buf), - printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_DEAD" ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" - ", {nla_len=%u, nla_type=RTA_DST}", + ", {nla_len=%u, nla_type=RTA_DST}", nh.rtnh_len, nh.rtnh_hops, nla.nla_len)); + static const struct in_addr gw_inet_addr = { .s_addr = BE32(0xdeadbeef) }; + static const uint8_t via_inet6_addr16 = { + 0xde, 0xad, 0xfa, 0xce, 0xbe, 0xef, 0xca, 0xfe, + 0xfe, 0xed, 0xba, 0x5e, 0x00, 0x00, 0xfa, 0xde }; + static const struct rtvia rtvia = { .rtvia_family = AF_INET6 }; + char buf22 * (RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla))) + + + NLMSG_ALIGN(sizeof(gw_inet_addr)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + char *pos = buf2; + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + nh.rtnh_flags = 0xc0; + nla.nla_type = RTA_GATEWAY; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &gw_inet_addr, sizeof(gw_inet_addr)); + + nh.rtnh_len = RTNH_ALIGN(sizeof(nh)) + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + nla.nla_type = RTA_VIA; + nla.nla_len = NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr)); + pos = mempcpy(pos, &nh, sizeof(nh)); + pos = mempcpy(pos, &nla, sizeof(nla)); + pos = mempcpy(pos, &rtvia, sizeof(rtvia)); + pos = mempcpy(pos, &via_inet6_addr, sizeof(via_inet6_addr)); + TEST_NLATTR(fd, nlh0, hdrlen, + init_rtmsg_inet, print_rtmsg_inet, + RTA_MULTIPATH, sizeof(buf2), buf2, sizeof(buf2), + printf("{rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_GATEWAY}" + ", inet_addr(\"222.173.190.239\")" + ", {rtnh_len=%u, rtnh_flags=RTNH_F_TRAP|0x80" + ", rtnh_hops=%u, rtnh_ifindex=" IFINDEX_LO_STR "}" + ", {nla_len=%u, nla_type=RTA_VIA}" + ", {rtvia_family=AF_INET6" + ", inet_pton(AF_INET6" + ", \"dead:face:beef:cafe:feed:ba5e:0:fade\"" + ", &rtvia_addr)}", + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(sizeof(gw_inet_addr))), + (uint32_t) (RTNH_ALIGN(sizeof(nh)) + + NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))), + nh.rtnh_hops, + (uint32_t) (NLMSG_ALIGN(sizeof(nla)) + + NLMSG_ALIGN(offsetof(struct rtvia, rtvia_addr) + + sizeof(via_inet6_addr))) + )); + static const struct rta_cacheinfo ci = { .rta_clntref = 0xabcdefab, .rta_lastuse = 0xbdadaedc,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/nlattr_tcamsg.c -> _service:tar_scm:strace-6.1.tar.xz/tests/nlattr_tcamsg.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,6 +28,9 @@ #if !HAVE_DECL_TCA_ACT_USED_HW_STATS enum { TCA_ACT_USED_HW_STATS = 9 }; #endif +#if !HAVE_DECL_TCA_ACT_IN_HW_COUNT +enum { TCA_ACT_IN_HW_COUNT = 10 }; +#endif static void @@ -66,7 +69,7 @@ fill_memory_ex(pattern, sizeof(pattern), 'a', 'z' - 'a' + 1); /* Invalid */ - static const unsigned int nla_invalid = { 10, 0xffff & NLA_TYPE_MASK }; + static const unsigned int nla_invalid = { 11, 0xffff & NLA_TYPE_MASK }; for (size_t i = 0; i < ARRAY_SIZE(nla_invalid); i++) { char nla_type_str256; sprintf(nla_type_str, "%#x /* TCA_ACT_??? */", nla_invalidi); @@ -112,10 +115,12 @@ printf("%u", idx)); /* TCA_ACT_FLAGS */ - static uint32_t flags = 0xfacebeef; + static uint32_t flags = 0xfacebeff; TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, TCA_ACT_FLAGS, sizeof(flags), &flags, sizeof(flags), - printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|0xfacebeee")); + printf("TCA_ACT_FLAGS_NO_PERCPU_STATS|" + "TCA_ACT_FLAGS_SKIP_HW|" + "TCA_ACT_FLAGS_SKIP_SW|0xfacebef8")); /* TCA_ACT_HW_STATS, TCA_ACT_USED_HW_STATS */ static const struct strval32 nla_hw_st = { @@ -132,6 +137,13 @@ "TCA_ACT_HW_STATS_DELAYED|0xfacebeec")); } + /* TCA_ACT_IN_HW_COUNT */ + static uint32_t hw_count = 0xdeadface; + TEST_NLATTR(fd, nlh0, hdrlen, init_tcamsg, print_tcamsg, + TCA_ACT_IN_HW_COUNT, sizeof(hw_count), + &hw_count, sizeof(hw_count), + printf("%u", hw_count)); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/open--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/open--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_full_mismatch -a30 -P open.sample --secontext=full,mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=full,mismatch --trace=open
View file
_service:tar_scm:strace-6.1.tar.xz/tests/open--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "open--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/open--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (open--secontext_mismatch -a30 -P open.sample --secontext=mismatch --trace=open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a30 -P open.sample --secontext=mismatch --trace=open
View file
_service:tar_scm:strace-5.14.tar.xz/tests/open_tree.c -> _service:tar_scm:strace-6.1.tar.xz/tests/open_tree.c
Changed
@@ -39,6 +39,9 @@ { skip_if_unavailable("/proc/self/fd/"); +#ifndef PATH_TRACING + char *cwd = get_fd_path(get_dir_fd(".")); +#endif static const char path_full = "/dev/full"; const char *const path = tail_memdup(path_full, sizeof(path_full)); char *const fname = tail_alloc(PATH_MAX); @@ -57,8 +60,8 @@ k_open_tree(-100, fname, 0); #ifndef PATH_TRACING - printf("open_tree(%s, \"%.*s\"..., 0) = %s\n", - "AT_FDCWD", (int) PATH_MAX - 1, fname, errstr); + printf("open_tree(AT_FDCWD<%s>, \"%.*s\"..., 0) = %s\n", + cwd, (int) PATH_MAX - 1, fname, errstr); #endif fnamePATH_MAX - 1 = '\0';
View file
_service:tar_scm:strace-6.1.tar.xz/tests/openat--secontext_full_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext_full.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/openat--secontext_full_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_full_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=full,mismatch -e trace=openat
View file
_service:tar_scm:strace-6.1.tar.xz/tests/openat--secontext_mismatch.c
Added
@@ -0,0 +1,2 @@ +#define PRINT_SECONTEXT_MISMATCH +#include "openat--secontext.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/openat--secontext_mismatch.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (openat--secontext_mismatch -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a36 -P openat.sample -P $PWD/openat.sample --secontext=mismatch -e trace=openat
View file
_service:tar_scm:strace-5.14.tar.xz/tests/openat2.c -> _service:tar_scm:strace-6.1.tar.xz/tests/openat2.c
Changed
@@ -23,11 +23,21 @@ #endif #ifndef FD0_PATH # define FD0_PATH "" +#else +# define YFLAG #endif #ifndef SKIP_IF_PROC_IS_UNAVAILABLE # define SKIP_IF_PROC_IS_UNAVAILABLE #endif +#ifdef YFLAG +# define AT_FDCWD_FMT "<%s>" +# define AT_FDCWD_ARG(arg) arg, +#else +# define AT_FDCWD_FMT +# define AT_FDCWD_ARG(arg) +#endif + static const char sample = "openat2.sample"; int @@ -35,6 +45,9 @@ { SKIP_IF_PROC_IS_UNAVAILABLE; +#ifdef YFLAG + char *cwd = get_fd_path(get_dir_fd(".")); +#endif long rc; const char *rcstr; struct open_how *how = tail_alloc(sizeof(*how)); @@ -47,8 +60,10 @@ sprintrc(rc)); rc = syscall(__NR_openat2, -100, "", how + 1, sizeof(*how)); - printf("openat2(%s, \"\", %p, %zu) = %s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), how + 1, sizeof(*how), + printf("openat2(%s" AT_FDCWD_FMT ", \"\", %p, %zu) = %s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + how + 1, sizeof(*how), sprintrc(rc)); rc = syscall(__NR_openat2, -1, sample, how, 11); @@ -121,9 +136,11 @@ how->mode = 0; how->resolve = 0; rc = syscall(__NR_openat2, -100, "/dev/full", how, sizeof(*how)); - printf("openat2(%s, \"/dev/full\", {flags=%s, resolve=0}, %zu)" - " = %s%s\n", - XLAT_KNOWN(-100, "AT_FDCWD"), XLAT_STR(O_RDONLY|O_NOCTTY), + printf("openat2(%s" AT_FDCWD_FMT ", \"/dev/full\"" + ", {flags=%s, resolve=0}, %zu) = %s%s\n", + XLAT_KNOWN(-100, "AT_FDCWD"), + AT_FDCWD_ARG(cwd) + XLAT_STR(O_RDONLY|O_NOCTTY), sizeof(*how), sprintrc(rc), rc >= 0 ? FD0_PATH : ""); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/options-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests/options-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check strace options syntax. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -11,6 +11,7 @@ . "${srcdir=.}/syntax.sh" compiled_with_secontext=$(get_config_option ENABLE_SECONTEXT "y") +compiled_with_stacktrace="$(get_config_option ENABLE_STACKTRACE 1)" check_e "Invalid process id: '0'" -p 0 check_e "Invalid process id: '0'" --attach=0 @@ -48,8 +49,55 @@ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --absolute-timestamps -ttt -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' -t --timestamps=ns -t -p $$ check_e '-t and --absolute-timestamps cannot be provided simultaneously' --timestamps=ns -t --absolute-timestamps=unix -p $$ - -z "$compiled_with_secontext" || - check_h "invalid --secontext argument: 'ss'" --secontext=ss +if -n "$compiled_with_secontext" ; then + for opt in '--secontext' '-e secontext'; do + check_e "invalid secontext ''" $opt= + check_e "invalid secontext 'ss'" $opt=ss + check_e "invalid secontext 'ss'" $opt=ss,full,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss,mismatch + check_e "invalid secontext 'ss'" $opt=full,ss + check_e "invalid secontext 'ss'" $opt=full,mismatch,ss + check_e "invalid secontext 'ss'" $opt=!full,ss + check_e "invalid secontext 'ss'" $opt=!full,mismatch,ss + done +else + for opt in '--secontext' '--secontext=full' '-e secontext=mismatch'; do + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" $opt + done +fi + +for opt in 'id' \ + 'id:' \ + '-1' \ + '2147483648' \ + 'id:rand' \ + 'id:randomm' \ + '2,3,radomm,4' \ + 'format' \ + 'format:' \ + 'id:format' \ + 'id:format:full' \ + 'format:id:0' +do + check_h "invalid --tips argument: '$opt'" --tips="$opt" +done +for opt in '--tips' \ + '--tips=' \ + '--tips=0' \ + '--tips=id:0 --tips' \ + '--tips=1,id:42' \ + '--tips=1 --tips=id:42' \ + '--tips=random' \ + '--tips --tips=random' \ + '--tips=id:random,23' \ + '--tips=id:random,23 --tips=random,2,3,id:4,5' \ + '--tips=format:none' \ + '--tips=format:compact --tips' \ + '--tips --tips=format:full,3,none,id:42,compact' +do + check_h "must have PROG ARGS or -p PID" $opt +done + check_h 'PROG ARGS must be specified with -D/--daemonize' -D -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DD -p $$ check_h 'PROG ARGS must be specified with -D/--daemonize' -DDD -p $$ @@ -205,6 +253,8 @@ check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=getcwd@42 check_h "incorrect personality designator '42' in qualification 'getcwd@42'" -e trace=gettid,getcwd@42 check_h "incorrect personality designator '42' in qualification '23@42'" -e trace=23@42,123 +check_h "incorrect personality designator 'ohmy' in qualification '/getcwd@ohmy'" \ + -e trace=/getcwd@ohmy check_h '--seccomp-bpf cannot be used without -f/--follow-forks, disabling -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' --seccomp-bpf -w / @@ -218,10 +268,24 @@ check_h 'deprecated option -F ignored -w/--summary-wall-clock must be given with (-c/--summary-only or -C/--summary)' -fF -w / -check_e "invalid system call '/getcwd@ohmy'" -e trace=/getcwd@ohmy check_e "invalid -e kvm= argument: 'chdir'" -e kvm=chdir check_e "invalid -e kvm= argument: 'chdir'" --kvm=chdir +check_h "must have PROG ARGS or -p PID" -e decode-pid=all +check_h "must have PROG ARGS or -p PID" --decode-pid=none +check_h "must have PROG ARGS or -p PID" -e decode-pids=comm +check_h "must have PROG ARGS or -p PID" --decode-pid=pidns,comm +check_h "must have PROG ARGS or -p PID" -e decode-pid=\!pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" -Y -e decode-pids=\!comm,pidns +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --pidns-translation -e decode-pids=\!comm,pidns -Y +check_h "must have PROG ARGS or -p PID" --decode-pids=\!comm,pidns --pidns-translation +check_e "invalid decode-pids ''" --decode-pids= +check_e "invalid decode-pids ''" -e decode-pids= +check_e "invalid decode-pids 'chdir'" --decode-pids=chdir +check_e "invalid decode-pids 'gettid'" -e decode-pid=comm,gettid + case "$STRACE_NATIVE_ARCH" in x86_64) check_h "must have PROG ARGS or -p PID" -e trace=getcwd@64 @@ -289,6 +353,13 @@ if -n "$compiled_with_secontext" ; then check_e "--secontext has no effect with -c/--summary-only $STRACE_EXE: $umsg" -u :nosuchuser: -c --secontext true + else + check_e "SELinux context printing (--secontext option) is not supported by this build of strace" -c --secontext true + fi + + if -n "$compiled_with_stacktrace" ; then + check_e "-k/--stack-traces has no effect with -c/--summary-only +$STRACE_EXE: $umsg" -u :nosuchuser: -c -k true fi for c in --output-separately -A/--output-append-mode; do @@ -323,7 +394,7 @@ check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' -d / check_e_using_grep 'ptrace_setoptions = 0x:xdigit:+' --debug / -if -z "$(get_config_option ENABLE_STACKTRACE 1)" ; then +if -z "$compiled_with_stacktrace" ; then check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" -k check_e "Stack traces (-k/--stack-traces option) are not supported by this build of strace" --stack-traces fi
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pc.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pc.c
Changed
@@ -1,5 +1,6 @@ /* * Copyright (c) 2015-2020 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,6 +15,7 @@ #include <sys/mman.h> #include <sys/wait.h> #include <sys/sendfile.h> +#include <sys/prctl.h> int main(void) { @@ -58,6 +60,9 @@ size <<= 1; } + /* Avoid creating core dumps */ + (void) prctl(PR_SET_DUMPABLE, 0, 0, 0, 0); + /* SIGSEGV is expected */ (void) munmap((void *) addr, size); (void) munmap((void *) addr, size);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/perf_event_open.c -> _service:tar_scm:strace-6.1.tar.xz/tests/perf_event_open.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of perf_event_open syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -398,7 +398,7 @@ } /* These require aligned access, so no byte-grain checks possible */ -#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM +#if defined SPARC || defined SPARC64 || defined POWERPC || defined POWERPC64 || defined ARM || defined AARCH64 # define ATTR_REC(sz) { tail_alloc((sz + 7) & ~7), sz } #else # define ATTR_REC(sz) { tail_alloc(sz), sz } @@ -422,7 +422,8 @@ "PERF_SAMPLE_BRANCH_NO_FLAGS|" \ "PERF_SAMPLE_BRANCH_NO_CYCLES|" \ "PERF_SAMPLE_BRANCH_TYPE_SAVE|" \ - "PERF_SAMPLE_BRANCH_HW_INDEX" + "PERF_SAMPLE_BRANCH_HW_INDEX|" \ + "PERF_SAMPLE_BRANCH_PRIV_SAVE" int main(void) @@ -532,15 +533,18 @@ static const struct u64_val_str read_formats = { { ARG_STR(0) }, { ARG_STR(PERF_FORMAT_TOTAL_TIME_ENABLED) }, - { 0xf, "PERF_FORMAT_TOTAL_TIME_ENABLED|" + { 0x1f, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" - "PERF_FORMAT_ID|PERF_FORMAT_GROUP" }, - { ARG_ULL_STR(0xdeadf157dec0ded0) " /* PERF_FORMAT_??? */" }, + "PERF_FORMAT_ID|" + "PERF_FORMAT_GROUP|" + "PERF_FORMAT_LOST" }, + { ARG_ULL_STR(0xdeadf157dec0dee0) " /* PERF_FORMAT_??? */" }, { 0xffffffffffffffffULL, "PERF_FORMAT_TOTAL_TIME_ENABLED|" "PERF_FORMAT_TOTAL_TIME_RUNNING|" "PERF_FORMAT_ID|PERF_FORMAT_GROUP|" - "0xfffffffffffffff0" }, + "PERF_FORMAT_LOST|" + "0xffffffffffffffe0" }, }; static const char *precise_ip_descs = { "arbitrary skid", @@ -559,11 +563,11 @@ static const struct u64_val_str branch_sample_types = { { ARG_STR(0) }, { 0x80, "PERF_SAMPLE_BRANCH_ABORT_TX" }, - { 0x3ffff, BRANCH_TYPE_ALL }, - { ARG_ULL_STR(0xdeadcaffeeec0000) + { 0x7ffff, BRANCH_TYPE_ALL }, + { ARG_ULL_STR(0xdeadcaffeee80000) " /* PERF_SAMPLE_BRANCH_??? */" }, { 0xffffffffffffffffULL, - BRANCH_TYPE_ALL "|0xfffffffffffc0000" } + BRANCH_TYPE_ALL "|0xfffffffffff80000" } }; static const struct s32_val_str clockids = { { 11, "CLOCK_TAI" }, @@ -625,13 +629,12 @@ PERF_FLAG_FD_CLOEXEC, "PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; fill_memory(small_attr, sizeof(*small_attr)); small_attr->size = attr_small_size; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n", @@ -639,8 +642,8 @@ argsi.group_fd, argsi.flags_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * - ARRAY_SIZE(attr_configs0) + 1; i++) { + for (size_t i = 0; i < ARRAY_SIZE(attrs) * ARRAY_SIZE(attr_types) * + ARRAY_SIZE(attr_configs0) + 1; ++i) { struct perf_event_attr *attr = attrsi % ARRAY_SIZE(attrs).ptr; uint32_t size = attrsi % ARRAY_SIZE(attrs).size; unsigned char fill_start = 0x80 + i;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/perf_event_open_nonverbose.c -> _service:tar_scm:strace-6.1.tar.xz/tests/perf_event_open_nonverbose.c
Changed
@@ -70,10 +70,9 @@ "PERF_FLAG_FD_NO_GROUP|PERF_FLAG_FD_OUTPUT|" "PERF_FLAG_PID_CGROUP|PERF_FLAG_FD_CLOEXEC" }, }; - size_t i; int rc; - for (i = 0; i < ARRAY_SIZE(args); i++) { + for (size_t i = 0; i < ARRAY_SIZE(args); ++i) { rc = syscall(__NR_perf_event_open, argsi.attr, argsi.pid, argsi.cpu, argsi.group_fd, argsi.flags); printf("perf_event_open(%s, %d, %d, %d, %s) = %s\n",
View file
_service:tar_scm:strace-6.1.tar.xz/tests/pidfd_open--decode-fd-all.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open--decode-fd-pidfd.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/pidfd_open--decode-fd-all.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-all -a17 -e decode-fd=all -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=all -e trace=pidfd_open
View file
_service:tar_scm:strace-6.1.tar.xz/tests/pidfd_open--decode-fd-none.c
Added
@@ -0,0 +1,1 @@ +#include "pidfd_open.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/pidfd_open--decode-fd-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (pidfd_open--decode-fd-none -a17 -e decode-fd=none -e trace=pidfd_open); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a17 -e decode-fd=none -e trace=pidfd_open
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pidfd_open--decode-fd-socket.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pidfd_open--decode-fd-socket.c
Changed
@@ -1,1 +1,1 @@ -#include "pidfd_open-y.c" +#include "pidfd_open--decode-fd-none.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pidns-cache.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pidns-cache.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,7 +15,7 @@ # include <unistd.h> # include <sys/time.h> -# define SYSCALL_COUNT 1000 +# define SYSCALL_COUNT 10000 /** * Max ratio of the execution time with and without pidns translation. @@ -43,11 +43,17 @@ int main(void) { - long max_us = execute_syscalls() * MAX_TIME_RATIO; + long orig_us = execute_syscalls(); + long max_us = orig_us * MAX_TIME_RATIO; pidns_test_init(); long us = execute_syscalls(); + + fprintf(stderr, "Before PID NS test init: %ld\n" + "After PID NS test init: %ld (%.2f times slower)\n", + orig_us, us, (float) us / orig_us); + if (us > max_us) error_msg_and_fail("pidns translation took too long: %ld us " "(max: %ld us)", us, max_us);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pidns.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pidns.c
Changed
@@ -2,10 +2,10 @@ * Testing framework for PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> - * Copyright (c) 2020-2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "tests.h" #include "pidns.h" @@ -140,8 +140,15 @@ siginfo_t siginfo; if (waitid(P_PID, pid, &siginfo, WEXITED | WNOWAIT) < 0) perror_msg_and_fail("wait"); - if (siginfo.si_code != CLD_EXITED || siginfo.si_status) - error_msg_and_fail("child terminated with nonzero exit status"); + if (siginfo.si_code != CLD_EXITED || siginfo.si_status) { + if (siginfo.si_code == CLD_EXITED && siginfo.si_status == 77) { + error_msg_and_skip("child terminated with skip exit" + " status"); + } else { + error_msg_and_fail("child terminated with nonzero exit" + " status"); + } + } return pid; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pidns.h -> _service:tar_scm:strace-6.1.tar.xz/tests/pidns.h
Changed
@@ -2,9 +2,10 @@ * Test PID namespace translation * * Copyright (c) 2020 Ákos Uzonyi <uzonyi.akos@gmail.com> + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * - * SPDX-License-Identifier: LGPL-2.1-or-later + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef STRACE_PIDNS_H # define STRACE_PIDNS_H
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pkey_alloc.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pkey_alloc.c
Changed
@@ -39,13 +39,10 @@ { 0xbadc0de8, "0xbadc0de8 /* PKEY_??? */" }, }; - long rc; - unsigned int i; - unsigned int j; - - for (i = 0; i < ARRAY_SIZE(flags); i++) { - for (j = 0; j < ARRAY_SIZE(rights); j++) { - rc = syscall(__NR_pkey_alloc, flagsi, rightsj.val); + for (unsigned int i = 0; i < ARRAY_SIZE(flags); ++i) { + for (unsigned int j = 0; j < ARRAY_SIZE(rights); ++j) { + long rc = syscall(__NR_pkey_alloc, + flagsi, rightsj.val); printf("pkey_alloc(%#llx, %s) = %s\n", (unsigned long long) flagsi, rightsj.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pkey_free.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pkey_free.c
Changed
@@ -25,11 +25,8 @@ (kernel_ulong_t) 0x123456789abcdef0ULL, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(keys); i++) { - rc = syscall(__NR_pkey_free, keysi); + for (unsigned int i = 0; i < ARRAY_SIZE(keys); ++i) { + long rc = syscall(__NR_pkey_free, keysi); printf("pkey_free(%d) = %s\n", (int) keysi, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pkey_mprotect.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pkey_mprotect.c
Changed
@@ -62,19 +62,17 @@ (kernel_ulong_t) 0xbadc0ded00000001, }; - long rc; - unsigned int i; - unsigned int j; - unsigned int k; - unsigned int l; - - for (i = 0; i < ARRAY_SIZE(ptrs); i++) { - for (j = 0; j < ARRAY_SIZE(sizes); j++) { - for (k = 0; k < ARRAY_SIZE(prots); k++) { - for (l = 0; l < ARRAY_SIZE(pkeys); l++) { - rc = syscall(__NR_pkey_mprotect, - ptrsi, sizesj, - protsk.val, pkeysl); + for (unsigned int i = 0; + i < ARRAY_SIZE(ptrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(sizes); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(prots); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(pkeys); ++l) { + long rc = syscall(__NR_pkey_mprotect, + ptrsi, sizesj, + protsk.val, pkeysl); printf("pkey_mprotect(%s, %llu, %s, %d)" " = %s\n", sprintptr(ptrsi),
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poke-ptrace.test -> _service:tar_scm:strace-6.1.tar.xz/tests/poke-ptrace.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args" @@ -23,5 +23,4 @@ dump_log_and_fail_with "$STRACE $args failed with code $?" match_diff "$LOG" "$EXP" -echo '.*: cannot poke at unaligned address 0x:xdigit:+' >> "$EXP.err" match_grep "$LOG.err" "$EXP.err"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poke-unaligned.expected -> _service:tar_scm:strace-6.1.tar.xz/tests/poke-unaligned.expected
Changed
@@ -1,2 +1,1 @@ .*: Failed to tamper with process :digit:+: couldn't poke -.*: cannot poke unaligned data len 7
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poke-unaligned.test -> _service:tar_scm:strace-6.1.tar.xz/tests/poke-unaligned.test
Changed
@@ -16,5 +16,5 @@ $STRACE -o /dev/null $fault_args \ $STRACE -o /dev/null $args >/dev/null 2>"$LOG" || - dump_log_and_fail_with "$STRACE $unaligned_args failed with code $?" + dump_log_and_fail_with "$STRACE $args failed with code $?" match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poke.c -> _service:tar_scm:strace-6.1.tar.xz/tests/poke.c
Changed
@@ -29,20 +29,44 @@ pid_t pid = getpid(); char *const chdir_buf = tail_alloc(PATH_MAX); - memset(chdir_buf, '/', PATH_MAX); char *const getcwd_buf = tail_alloc(PATH_MAX); + char *p; /* - * regular poke on entering syscall + * regular poke at a properly aligned address on entering syscall */ - char *p = chdir_buf; + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf; printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", PATH_MAX - 1, p, sprintrc(chdir(p))); /* - * poke at inaccessible address + * regular poke at an unaligned address on entering syscall + */ + memset(chdir_buf, '/', PATH_MAX); + chdir_bufPATH_MAX - 1 = '\0'; + p = chdir_buf + 1; + printf("chdir(\"%.*s\") = %s (INJECTED: args)\n", + PATH_MAX - 2, p, sprintrc(chdir(p))); + if (chdir_buf0 != '/') + error_msg_and_fail("failed to poke at unaligned address" + " %p properly", p); + + /* + * poke at an inaccessible but properly aligned address + */ + p = chdir_buf + PATH_MAX; + printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); + if (exp_err) { + fprintf(exp_err, + ".*: Failed to tamper with process %d: couldn't poke\n", + pid); + } + + /* + * poke at an inaccessible unaligned address */ - p += PATH_MAX; + ++p; printf("chdir(%p) = %s\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, @@ -51,46 +75,33 @@ } /* - * poke at unaligned address, - * short read, - * if process_vm_writev is used: short write. + * poke at a partially accessible unaligned address */ - --p; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + memset(chdir_buf, '/', PATH_MAX); + p = chdir_buf + PATH_MAX - 1; + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(1 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(1 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(1 < :digit:+\\) @%p\n", - pid, p); - } } /* - * poke at a properly aligned address, - * short read, - * if process_vm_writev is not used: short write, - * if process_vm_writev is used: short write is likely. + * poke at a partially accessible properly aligned address */ + memset(chdir_buf, '/', PATH_MAX); p -= 7; - printf("chdir(%p) = %s", p, sprintrc(chdir(p))); - if (*p != '/') - printf(" (INJECTED: args)"); - printf("\n"); + printf("chdir(%p) = %s (INJECTED: args)\n", p, sprintrc(chdir(p))); if (exp_err) { fprintf(exp_err, + ".*: pid:%d short write" + " \\(8 < :digit:+\\) @%p(: .*)?\n", + pid, p); + fprintf(exp_err, ".*: short read \\(8 < :digit:+\\) @%p: .*\n", p); - if (*p != '/') { - fprintf(exp_err, - ".*: pid:%d short write" - " \\(8 < :digit:+\\) @%p(: .*)?\n", - pid, p); - } } /*
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poke.test -> _service:tar_scm:strace-6.1.tar.xz/tests/poke.test
Changed
@@ -12,7 +12,7 @@ run_prog ../poke "$EXP.err" > /dev/null args="-a10 -e trace=chdir,getcwd \ - -einject=chdir:poke_enter=@arg1=3f5354524143453f7374726163653f00 \ + -einject=chdir:poke_enter=@arg1=3f5354524143457374726163653f00 \ -einject=getcwd:poke_exit=@arg1=5374726163652100 \ $args"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/poll.c -> _service:tar_scm:strace-6.1.tar.xz/tests/poll.c
Changed
@@ -71,8 +71,7 @@ const unsigned int abbrev) { tprintf(""); - unsigned int i; - for (i = 0; i < size; ++i) { + for (unsigned int i = 0; i < size; ++i) { if (i) tprintf(", "); if (i >= valid) { @@ -135,8 +134,7 @@ { tprintf(""); unsigned int seen = 0; - unsigned int i; - for (i = 0; i < size; ++i) + for (unsigned int i = 0; i < size; ++i) print_pollfd_exiting(&pfdi, &seen, abbrev); tprintf(""); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl-arg2-intptr.c -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl-arg2-intptr.c
Changed
@@ -51,11 +51,10 @@ TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, ptr); long rc; - unsigned int i; prctl_marker(); - for (i = 0; i < ARRAY_SIZE(options); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(options); ++i) { prctl(optionsi.val | bogus_op_bits, 0); printf("prctl(%s, NULL) = %s\n", optionsi.str, errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl-name.c -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl-name.c
Changed
@@ -22,7 +22,6 @@ static const char str = "0123456789abcdef"; static const int len = sizeof(str) - 1; char *name = tail_memdup(str, sizeof(str)); - int i; int rc; prctl_marker(); @@ -30,7 +29,7 @@ rc = prctl(PR_SET_NAME, NULL); printf("prctl(PR_SET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); printf("prctl(PR_SET_NAME, \"%.*s\"%s) = %s\n", i < len - 1 ? i : len - 1, @@ -43,7 +42,7 @@ ++name; memcpy(name, str, len); - for (i = 0; i <= len; ++i) { + for (int i = 0; i <= len; ++i) { rc = prctl(PR_SET_NAME, name + len - i); if (i < len - 1) printf("prctl(PR_SET_NAME, %p) = %s\n", @@ -56,7 +55,7 @@ rc = prctl(PR_GET_NAME, NULL); printf("prctl(PR_GET_NAME, NULL) = %s\n", sprintrc(rc)); - for (i = 0; i < len; ++i) { + for (int i = 0; i < len; ++i) { rc = prctl(PR_GET_NAME, name + len - i); printf("prctl(PR_GET_NAME, %p) = %s\n", name + len - i, sprintrc(rc));
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-set_vma.c
Added
@@ -0,0 +1,82 @@ +/* + * Check decoding of prctl PR_SET_VMA operation. + * + * Copyright (c) 2019-2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <unistd.h> +#include <linux/prctl.h> + +static const kernel_ulong_t fill = (kernel_ulong_t) 0xdefaced00000000ULL; +static const char *errstr; + +static long +pr_set_vma(const kernel_ulong_t op, const void *const addr, + const kernel_ulong_t size, const void *const arg) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | PR_SET_VMA; + const kernel_ulong_t arg2 = op; + const kernel_ulong_t arg3 = (uintptr_t) addr; + const kernel_ulong_t arg4 = size; + const kernel_ulong_t arg5 = (uintptr_t) arg; + const long rc = syscall(__NR_prctl, arg1, arg2, arg3, arg4, arg5, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + prctl_marker(); + + char *const name1 = tail_alloc(DEFAULT_STRLEN + 2); + char *const name = name1 + 1; + const void *const efault = name + DEFAULT_STRLEN + 1; + const char *const empty = efault - 1; + fill_memory_ex(name1, DEFAULT_STRLEN + 1, '0', 10); + name1DEFAULT_STRLEN + 1 = '\0'; + + pr_set_vma(0, 0, 1, name); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, NULL, 1, \"%s\")" + " = %s\n", + name, errstr); + + pr_set_vma(0, empty, 2, name1); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 2, \"%.*s\"...)" + " = %s\n", + empty, DEFAULT_STRLEN, name1, errstr); + + pr_set_vma(0, empty, 3, efault); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 3, %p)" + " = %s\n", + empty, efault, errstr); + + pr_set_vma(0, empty, 4, 0); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 4, NULL)" + " = %s\n", + empty, errstr); + + pr_set_vma(0, efault, 5, empty); + printf("prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, %p, 5, \"\")" + " = %s\n", + efault, errstr); + + const kernel_ulong_t bad_op = fill | 0xface1fed; + const kernel_ulong_t bad_size = fill | 0xface2fed; + + pr_set_vma(bad_op, efault, bad_size, empty); + printf("prctl(PR_SET_VMA, %#llx /* PR_SET_VMA_??? */, %p, %#llx, %p)" + " = %s\n", + (unsigned long long) bad_op, efault, + (unsigned long long) bad_size, empty, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-set_vma.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-set_vma +prctl.sh ); do not edit. +set -- +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sme-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme.c
Added
@@ -0,0 +1,156 @@ +/* + * Check decoding of prctl PR_SME_SET_VL/PR_SME_GET_VL operations. + * + * Copyright (c) 2021-2022 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <linux/prctl.h> + +#ifdef INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +#ifndef EXT +# define EXT SME +#endif + +#define EXT_STR STRINGIFY_VAL(EXT) +#define GLUE_(a_, b_, c_) a_ ## b_ ## c_ +#define GLUE(a_, b_, c_) GLUE_(a_, b_, c_) +#define _(pfx_, sfx_) GLUE(pfx_, EXT, sfx_) + +#if !XLAT_RAW +static void +print_sme_vl_arg(kernel_ulong_t arg) +{ + kernel_ulong_t flags = arg & ~_(PR_, _VL_LEN_MASK); + + if (arg < 0x10000) + return; + + printf(" ("); + + if (flags & _(PR_, _SET_VL_ONEXEC)) + printf("PR_" EXT_STR "_SET_VL_ONEXEC"); + if (flags & _(PR_, _VL_INHERIT)) { + printf("%sPR_" EXT_STR "_VL_INHERIT", + flags & _(PR_, _SET_VL_ONEXEC) ? "|" : ""); + } + + kernel_ulong_t leftover = + flags & ~(_(PR_, _SET_VL_ONEXEC)|_(PR_, _VL_INHERIT)); + if (leftover) { + printf("%s%#llx", + leftover == flags ? "" : "|", + (unsigned long long) leftover); + } + + kernel_ulong_t lens = arg & _(PR_, _VL_LEN_MASK); + printf("%s%#llx", flags ? "|" : "", (unsigned long long) lens); + + printf(")"); +} + +#endif /* !XLAT_RAW */ + +int +main(int argc, char *argv) +{ + const char *errstr; + long rc; + size_t i; + + prctl_marker(); + +#ifdef INJECT_RETVAL + unsigned long num_skip; + long inject_retval; + bool locked = false; + + if (argc < 3) + error_msg_and_fail("Usage: %s NUM_SKIP INJECT_RETVAL", argv0); + + num_skip = strtoul(argv1, NULL, 0); + inject_retval = strtol(argv2, NULL, 0); + + for (size_t i = 0; i < num_skip; i++) { + if (prctl_marker() != inject_retval) + continue; + + locked = true; + break; + } + + if (!locked) + error_msg_and_fail("Have not locked on prctl(-1, -2, -3, -4" + ", -5) returning %ld", inject_retval); +#endif /* INJECT_RETVAL */ + + static const struct { + kernel_ulong_t val; + const char *str; + bool known; + } args = { + { ARG_STR(0) }, + { ARG_STR(0xdead) }, + { ARG_XLAT_KNOWN(0x10000, "0x10000|0") }, + { ARG_XLAT_KNOWN(0x2ea57, "PR_" EXT_STR "_VL_INHERIT|0xea57") }, + { ARG_XLAT_KNOWN(0x40000, "PR_" EXT_STR "_SET_VL_ONEXEC|0") }, + { ARG_XLAT_KNOWN(0xfacefeed, "PR_" EXT_STR "_SET_VL_ONEXEC" + "|PR_" EXT_STR "_VL_INHERIT" + "|0xfac80000|0xfeed") }, + { ARG_XLAT_KNOWN(0xbad00000, "0xbad00000|0") }, + { ARG_XLAT_KNOWN(0xde90ded, "0xde90000|0xded") }, + { (kernel_ulong_t) 0xbadc0ded0000faceULL, +#if SIZEOF_KERNEL_LONG_T > 4 + XLAT_KNOWN(0xbadc0ded0000face, "0xbadc0ded00000000|0xface") +#else + "0xface" +#endif + }, + }; + + for (i = 0; i < ARRAY_SIZE(args); i++) { + rc = syscall(__NR_prctl, _(PR_, _SET_VL), argsi.val, 1, 2, 3); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ", %s) = ", + XLAT_SEL(_(PR_, _SET_VL), "PR_" EXT_STR "_SET_VL"), + argsi.str); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + } + + rc = syscall(__NR_prctl, _(PR_, _GET_VL), 1, 2, 3, 4); + errstr = sprintrc(rc); + printf("prctl(" XLAT_FMT ") = ", + XLAT_SEL(_(PR_, _GET_VL), "PR_" EXT_STR "_GET_VL")); + if (rc >= 0) { + printf("%#lx", rc); +#if !XLAT_RAW + print_sme_vl_arg(rc); +#endif /* !XLAT_RAW */ + puts(INJ_STR); + } else { + printf("%s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sme.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sme +prctl.sh -a21); do not edit. +set -- -a21 +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl-spec-inject.c -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl-spec-inject.c
Changed
@@ -46,6 +46,7 @@ } spec_strs = { { 0, "PR_SPEC_STORE_BYPASS" }, { 1, "PR_SPEC_INDIRECT_BRANCH" }, + { 2, "PR_SPEC_L1D_FLUSH" }, }; static const struct { @@ -104,8 +105,8 @@ ", -5) returning %ld", injected_val); /* PR_GET_SPECULATION_CTRL */ - rc = do_prctl(52, 2, bogus_arg3); - printf("prctl(PR_GET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */) " + rc = do_prctl(52, 3, bogus_arg3); + printf("prctl(PR_GET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */) " "= %s (INJECTED)\n", sprintrc(rc)); rc = do_prctl(52, bogus_arg2, bogus_arg3); @@ -138,8 +139,8 @@ /* PR_SET_SPECULATION_CTRL*/ - rc = do_prctl(53, 2, bogus_arg3); - printf("prctl(PR_SET_SPECULATION_CTRL, 0x2 /* PR_SPEC_??? */, %#llx) " + rc = do_prctl(53, 3, bogus_arg3); + printf("prctl(PR_SET_SPECULATION_CTRL, 0x3 /* PR_SPEC_??? */, %#llx) " "= %s (INJECTED)\n", (unsigned long long) bogus_arg3, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl-spec-inject.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl-spec-inject.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53); do not edit. -set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a53 +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-spec-inject +prctl-success.sh PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50); do not edit. +set -- PRCTL_INJECT_RETVALS="error=ENOTTY 0 1 3 8 16 32 42" -a50 . "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl-success.sh -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl-success.sh
Changed
@@ -5,15 +5,17 @@ # Expects a binary that accepts PRCTL_INJECT_START as the first argument. # Accepts list of retvals to inject as first PRCTL_INJECT_RETVALS= argument # -# Copyright (c) 2018-2021 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/scno_tampering.sh" -: ${PRCTL_INJECT_START=256} -: ${PRCTL_INJECT_RETVALS=42} +: "${PRCTL_INJECT_START=256}" +: "${PRCTL_INJECT_RETVALS=42}" +: "${PRCTL_SYSCALL=prctl}" +: "${PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)'}" check_prog sed @@ -21,7 +23,16 @@ # at the beginning of the argument list. while "$#" -gt 0 ; do case "$1" in - PRCTL_INJECT_RETVALS=*) PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}"; ;; + ARCH_PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#ARCH_PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=arch_prctl + PRCTL_MARKER_RE='arch_prctl(0xffffffff\( \/\* ARCH_??? \*\/\)\?, 0xfffffffe)' + ;; + PRCTL_INJECT_RETVALS=*) + PRCTL_INJECT_RETVALS="${1#PRCTL_INJECT_RETVALS=}" + PRCTL_SYSCALL=prctl + PRCTL_MARKER_RE='prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb)' + ;; *) break; ;; esac @@ -48,9 +59,9 @@ sed_match="-1 ${i#error=}" fi - run_strace -a80 "$@" -e trace=prctl \ - -e inject=prctl:"${inj_str}":when="${PRCTL_INJECT_START}+" \ + run_strace -a80 "$@" -e trace="${PRCTL_SYSCALL}" \ + -e inject="${PRCTL_SYSCALL}":"${inj_str}":when="${PRCTL_INJECT_START}+" \ "../$NAME" "${PRCTL_INJECT_START}" "${ret_val}" > "$EXP.$i" - sed '0,/^prctl(0xffffffff\( \/\* PR_??? \*\/\)\?, 0xfffffffe, 0xfffffffd, 0xfffffffc, 0xfffffffb) *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" + sed '0,/^'"${PRCTL_MARKER_RE}"' *= '"${sed_match}"' /d' < "$LOG" > "$OUT.$i" match_diff "$OUT.$i" "$EXP.$i" done
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xabbrev.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_ABBREV 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xabbrev +prctl.sh -a21 -Xabbrev); do not edit. +set -- -a21 -Xabbrev +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xraw.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_RAW 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xraw +prctl.sh -a12 -Xraw); do not edit. +set -- -a12 -Xraw +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xverbose.c
Added
@@ -0,0 +1,4 @@ +#define XLAT_VERBOSE 1 +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-Xverbose +prctl.sh -a32 -Xverbose); do not edit. +set -- -a32 -Xverbose +. "${srcdir=.}/prctl.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xabbrev +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a21 -Xabbrev +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xraw +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a12 -Xraw +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "prctl-sve-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success-Xverbose +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba90000 0xdec0ded" -a32 -Xverbose +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success.c
Added
@@ -0,0 +1,4 @@ +#define INJECT_RETVAL +/* NB: prctl-sme.c supports both SVE and SME */ +#define EXT SVE +#include "prctl-sme.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/prctl-sve-success.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (prctl-sve-success +prctl-success.sh PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21); do not edit. +set -- PRCTL_INJECT_RETVALS="0 0xdead 0x10000 0x4ea57 0x20000 0xba9000 0xdec0ded" -a21 +. "${srcdir=.}/prctl-success.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/prctl.sh -> _service:tar_scm:strace-6.1.tar.xz/tests/prctl.sh
Changed
@@ -2,10 +2,10 @@ # # Check prctl syscall decoding. # -# Copyright (c) 2021 The strace developers. +# Copyright (c) 2021-2022 The strace developers. # All rights reserved. # -# SPDX-License-Identifier: LGPL-2.1-or-later +# SPDX-License-Identifier: GPL-2.0-or-later . "${srcdir=.}/init.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pread64-pwrite64.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pread64-pwrite64.c
Changed
@@ -19,9 +19,8 @@ dump_str(const char *str, const unsigned int len) { static const char dots16 = "................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -36,9 +35,8 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; switch (c) { @@ -81,8 +79,7 @@ tprintf("\", %d, %lld) = %ld\n", len, (long long) offset, rc); dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = pwrite(1, buf, len, offset); @@ -198,8 +195,7 @@ if (open("/dev/null", O_WRONLY) != 1) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= 32; ++i) + for (unsigned int i = 0; i <= 32; ++i) test_dump(i); tprintf("+++ exited with 0 +++\n");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/preadv.c -> _service:tar_scm:strace-6.1.tar.xz/tests/preadv.c
Changed
@@ -20,11 +20,10 @@ static void print_iov(const struct iovec *iov) { - unsigned int i; unsigned char *buf = iov->iov_base; fputs("{iov_base=\"", stdout); - for (i = 0; i < iov->iov_len; ++i) + for (unsigned int i = 0; i < iov->iov_len; ++i) printf("\\%d", (int) bufi); printf("\", iov_len=%u}", (unsigned) iov->iov_len); } @@ -32,9 +31,8 @@ static void print_iovec(const struct iovec *iov, unsigned int cnt) { - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); print_iov(&iovi);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/print_quoted_string.c -> _service:tar_scm:strace-6.1.tar.xz/tests/print_quoted_string.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -80,12 +80,11 @@ bool quote, const char *escape_chars) { const unsigned char *str = (const unsigned char *) instr; - size_t i; if (quote) putchar('"'); - for (i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { const int c = stri; switch (c) { case '\"': @@ -136,10 +135,9 @@ print_quoted_hex(const void *const instr, const size_t len) { const unsigned char *str = instr; - size_t i; printf("\""); - for (i = 0; i < len; i++) + for (size_t i = 0; i < len; ++i) printf("\\x%02x", stri); printf("\""); }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/print_scno_getcwd.sh
Added
@@ -0,0 +1,30 @@ +#! /bin/sh -efu +# +# Print the syscall number corresponding to getcwd syscall. +# +# Copyright (c) 2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +case "$STRACE_ARCH" in + alpha) echo 367 ;; + arm|bfin|i386|m68k|microblaze|s390*|sh|sh64) + echo 183 ;; + avr32) echo 48 ;; + hppa) echo 110 ;; + ia64) echo 1184 ;; + mips) case "$MIPS_ABI" in + n64) echo 5077 ;; + n32) echo 6077 ;; + o32) echo 4203 ;; + esac ;; + powerpc*) + echo 182 ;; + sparc*) + echo 119 ;; + x32|x86_64) + echo 79 ;; + xtensa) echo 43 ;; + *) echo 17 ;; +esac
View file
_service:tar_scm:strace-6.1.tar.xz/tests/process_mrelease-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_STR "</dev/full>" + +#include "process_mrelease.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/process_mrelease-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease-y -e trace=process_mrelease -y -a24 </dev/full); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=process_mrelease -y -a24 </dev/full
View file
_service:tar_scm:strace-6.1.tar.xz/tests/process_mrelease.c
Added
@@ -0,0 +1,59 @@ +/* + * Check decoding of process_mrelease syscall. + * + * Copyright (c) 2021 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + +#ifndef FD0_STR +# define FD0_STR "" +#endif + +static const char *errstr; + +static long +sys_process_mrelease(int pidfd, unsigned int flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = fill | (unsigned int) pidfd; + kernel_ulong_t arg2 = fill | flags; + kernel_ulong_t arg3 = fill | 0xdeedefed; + kernel_ulong_t arg4 = fill | 0xdebeefed; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_process_mrelease, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + SKIP_IF_PROC_IS_UNAVAILABLE; + + sys_process_mrelease(-1, 0); + printf("process_mrelease(-1, 0) = %s\n", errstr); + + sys_process_mrelease(0, 0xfacefeed); + printf("process_mrelease(0" FD0_STR ", 0xfacefeed) = %s\n", errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/process_mrelease.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (process_mrelease -a24 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a24
View file
_service:tar_scm:strace-5.14.tar.xz/tests/process_vm_readv_writev.c -> _service:tar_scm:strace-6.1.tar.xz/tests/process_vm_readv_writev.c
Changed
@@ -45,7 +45,6 @@ print_iov(const struct iovec *iov, const void *arg_ptr, long rc) { const struct print_iov_arg *arg = arg_ptr; - uint32_t i; uint32_t num_segm = 0; uint64_t segm_offs = 0; @@ -60,7 +59,7 @@ printf(""); - for (i = 0; i < arg->count; i++) { + for (uint32_t i = 0; i < arg->count; ++i) { if (i) printf(", ");
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xabbrev -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xraw -a10 -s64 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-Xverbose -a23 -s64 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xabbrev -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xraw -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a10 -s64 -y -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace-y.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y-Xverbose -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y.c
Added
@@ -0,0 +1,2 @@ +#define NULL_FD_STR "<" NULL_STR ">" +#include "ptrace.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace-y -a23 -s64 -y -e signal=none -e trace=ptrace); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a23 -s64 -y -e signal=none -e trace=ptrace
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ptrace.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ptrace.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of ptrace syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,7 @@ #include <errno.h> #include "ptrace.h" #include <inttypes.h> +#include <fcntl.h> #include <signal.h> #include <stdint.h> #include <stdio.h> @@ -25,6 +26,35 @@ #include <sys/uio.h> #include <sys/user.h> +#include "cur_audit_arch.h" + +#include "xlat.h" +#define XLAT_MACROS_ONLY +# include "xlat/elf_em.h" +#undef XLAT_MACROS_ONLY +#include "xlat/audit_arch.h" + +#define NULL_FD 23 +#define NULL_STR "/dev/null" + +#ifndef NULL_FD_STR +# define NULL_FD_STR "" +#endif + +static const char null_path = "/dev/null"; + +#if SIZEOF_LONG > 4 +# define UP64BIT(a_) a_ +#else +# define UP64BIT(a_) +#endif + +struct valstraux { + int val; + const char *str; + const char *aux; +}; + static const char *errstr; static long @@ -62,12 +92,16 @@ } #endif /* PTRACE_GETREGS || PTRACE_GETREGS64 || PTRACE_GETFPREGS */ +#ifndef PTRACE_PEEKSIGINFO_SHARED +# define PTRACE_PEEKSIGINFO_SHARED (1 << 0) +#endif + static void test_peeksiginfo(int pid, const unsigned long bad_request) { do_ptrace(PTRACE_PEEKSIGINFO, pid, 0, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, NULL, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, bad_request, errstr); struct psi { unsigned long long off; @@ -80,9 +114,11 @@ psi->nr = 42; do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, bad_request); - printf("ptrace(PTRACE_PEEKSIGINFO, %d, {off=%llu" - ", flags=PTRACE_PEEKSIGINFO_SHARED, nr=%u}, %#lx) = %s\n", - pid, psi->off, psi->nr, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, {off=%llu" + ", flags=" XLAT_FMT ", nr=%u}, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, + XLAT_ARGS(PTRACE_PEEKSIGINFO_SHARED), + psi->nr, bad_request, errstr); pid = fork(); if (pid < 0) @@ -148,22 +184,27 @@ long rc = do_ptrace(PTRACE_PEEKSIGINFO, pid, (uintptr_t) psi, (uintptr_t) sigs); if (rc < 0) { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" - ", {off=%llu, flags=0, nr=%u}, %p) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, {off=%llu, flags=0" + ", nr=%u}, %p) = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, sigs, errstr); } else { - printf("ptrace(PTRACE_PEEKSIGINFO, %d" + printf("ptrace(" XLAT_FMT ", %d" ", {off=%llu, flags=0, nr=%u}" - ", {si_signo=SIGUSR1, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGUSR2, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" - ", {si_signo=SIGALRM, si_code=SI_TKILL" + ", {si_signo=" XLAT_FMT_U ", si_code=" XLAT_FMT ", si_pid=%d, si_uid=%d}" ") = %s\n", + XLAT_ARGS(PTRACE_PEEKSIGINFO), pid, psi->off, psi->nr, + XLAT_ARGS(SIGUSR1), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGUSR2), XLAT_ARGS(SI_TKILL), pid, (int) uid, + XLAT_ARGS(SIGALRM), XLAT_ARGS(SI_TKILL), pid, (int) uid, errstr); } @@ -174,7 +215,8 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_CONT, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_CONT), pid); } } @@ -185,7 +227,7 @@ # define TRACEE_REGS_STRUCT struct pt_regs #elif defined __arm__ # define TRACEE_REGS_STRUCT struct pt_regs -#elif defined __arm64__ || defined __aarch64__ +#elif defined __arm64__ || defined __aarch64__ || defined __loongarch__ # define TRACEE_REGS_STRUCT struct user_pt_regs #elif defined __s390__ || defined __s390x__ # define TRACEE_REGS_STRUCT s390_regs @@ -217,7 +259,7 @@ } sparc32_regs; # define TRACEE_REGS_STRUCT sparc32_regs # endif -#elif defined __riscv__ +#elif defined __riscv # define TRACEE_REGS_STRUCT struct user_regs_struct #elif defined __mips__ typedef struct { @@ -656,12 +698,9 @@ } # endif -# elif defined __riscv__ +# elif defined __riscv - if (size >= offsetofend(TRACEE_REGS_STRUCT, pc)) { - fputs(", ", stdout); - PRINT_FIELD_X(*regs, pc); - } + PRINT_FIELD_X(*regs, pc); if (size >= offsetofend(TRACEE_REGS_STRUCT, ra)) { fputs(", ", stdout); PRINT_FIELD_X(*regs, ra); @@ -826,15 +865,55 @@ PRINT_FIELD_X(*regs, cp0_cause); } +# elif defined __loongarch__ + + if (size > offsetof(TRACEE_REGS_STRUCT, regs)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, regs); + fputs("regs=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->regs); ++i) { + if (len > i * sizeof(regs->regsi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->regsi); + } + } + fputs("", stdout); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, orig_a0)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, orig_a0); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_era)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_era); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, csr_badv)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, csr_badv); + } + if (size > offsetof(TRACEE_REGS_STRUCT, reserved)) { + const size_t len = size - offsetof(TRACEE_REGS_STRUCT, reserved); + fputs(", reserved=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->reserved); ++i) { + if (len > i * sizeof(regs->reservedi)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->reservedi); + } + } + fputs("", stdout); + } + # endif /* __aarch64__ || __arm64__ || __arm__ || __i386__ || + __loongarch__ || __mips__ || __powerpc64__ || __powerpc__ || - __riscv__ || + __riscv || __s390__ || __s390x__ || __sparc__ || @@ -928,11 +1007,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS */ } else { - printf("ptrace(PTRACE_GETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -951,7 +1031,7 @@ # endif /* __sparc__ && !__arch64__ */ do_ptrace_regs(PTRACE_SETREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS), pid); print_pt_regs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1031,11 +1111,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETREGS64, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETREGS64, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETREGS64), pid, regbuf, errstr); return; /* skip PTRACE_SETREGS64 */ } else { - printf("ptrace(PTRACE_GETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1045,7 +1126,7 @@ } do_ptrace_regs(PTRACE_SETREGS64, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETREGS64, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETREGS64), pid); print_pt_regs64(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1066,6 +1147,8 @@ uint64_t fpscr; } ppc_fpregs_struct; # define TRACEE_REGS_STRUCT ppc_fpregs_struct +#elif defined __loongarch__ +# define TRACEE_REGS_STRUCT struct user_fp_state #endif static void @@ -1209,8 +1292,29 @@ PRINT_FIELD_X(*regs, fpscr); } +# elif defined __loongarch__ + + fputs("fpr=", stdout); + for (unsigned int i = 0; i < ARRAY_SIZE(regs->fpr); ++i) { + if (size > i * sizeof(regs->fpri)) { + if (i) + fputs(", ", stdout); + PRINT_VAL_X(regs->fpri); + } + } + fputs("", stdout); + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcc)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcc); + } + if (size >= offsetofend(TRACEE_REGS_STRUCT, fcsr)) { + fputs(", ", stdout); + PRINT_FIELD_X(*regs, fcsr); + } + # endif /* __i386__ || + __loongarch__ || __powerpc64__ || __powerpc__ || __x86_64__ @@ -1252,11 +1356,12 @@ unsigned int *const actual_size) { if (do_ptrace_regs(PTRACE_GETFPREGS, pid, (uintptr_t) regbuf)) { - printf("ptrace(PTRACE_GETFPREGS, %d, %p) = %s\n", - pid, regbuf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %p) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, regbuf, errstr); return; /* skip PTRACE_SETFPREGS */ } else { - printf("ptrace(PTRACE_GETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", + XLAT_ARGS(PTRACE_GETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); if (*actual_size) @@ -1266,7 +1371,7 @@ } do_ptrace_regs(PTRACE_SETFPREGS, pid, (uintptr_t) regbuf); - printf("ptrace(PTRACE_SETFPREGS, %d, ", pid); + printf("ptrace(" XLAT_FMT ", %d, ", XLAT_ARGS(PTRACE_SETFPREGS), pid); print_pt_fpregs(regbuf, regsize); printf(") = %s\n", errstr); } @@ -1286,16 +1391,16 @@ iov->iov_len = regsize; do_ptrace(PTRACE_GETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); if (*actual_size) return; /* skip PTRACE_SETREGSET */ } else { - printf("ptrace(PTRACE_GETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_GETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, iov->iov_len); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1318,14 +1423,14 @@ iov->iov_len = regsize; do_ptrace(PTRACE_SETREGSET, pid, nt, (uintptr_t) iov); if (iov->iov_len == regsize) { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%lu}) = %s\n", (unsigned long) iov->iov_len, errstr); } else { - printf("ptrace(PTRACE_SETREGSET, %d, %s" - ", {iov_base=", pid, nt_str); + printf("ptrace(" XLAT_FMT ", %d, " XLAT_FMT ", {iov_base=", + XLAT_ARGS(PTRACE_SETREGSET), pid, XLAT_SEL(nt, nt_str)); print_regset_fn(iov->iov_base, regsize); printf(", iov_len=%u => %lu}) = %s\n", regsize, (unsigned long) iov->iov_len, errstr); @@ -1342,44 +1447,48 @@ iov->iov_len = sizeof(kernel_ulong_t); do_ptrace(PTRACE_GETREGSET, pid, 1, (uintptr_t) iov); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x1, "NT_PRSTATUS") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_GETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); do_ptrace(PTRACE_SETREGSET, pid, 3, (uintptr_t) iov); - printf("ptrace(PTRACE_SETREGSET, %d, NT_PRPSINFO" + printf("ptrace(" XLAT_FMT ", %d, " XLAT_KNOWN(0x3, "NT_PRPSINFO") ", {iov_base=%p, iov_len=%lu}) = %s\n", - pid, iov->iov_base, (unsigned long) iov->iov_len, errstr); + XLAT_ARGS(PTRACE_SETREGSET), pid, + iov->iov_base, (unsigned long) iov->iov_len, errstr); #ifdef PTRACE_GETREGS do_ptrace_regs(PTRACE_GETREGS, pid, addr); - printf("ptrace(PTRACE_GETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETREGS do_ptrace_regs(PTRACE_SETREGS, pid, addr); - printf("ptrace(PTRACE_SETREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGS), pid, addr, errstr); #endif #ifdef PTRACE_GETFPREGS do_ptrace_regs(PTRACE_GETFPREGS, pid, addr); - printf("ptrace(PTRACE_GETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETFPREGS), pid, addr, errstr); #endif #ifdef PTRACE_SETFPREGS do_ptrace_regs(PTRACE_SETFPREGS, pid, addr); - printf("ptrace(PTRACE_SETFPREGS, %d, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETFPREGS), pid, addr, errstr); #endif for (; addr > (uintptr_t) iov; --addr) { do_ptrace(PTRACE_GETREGSET, pid, 1, addr); - printf("ptrace(PTRACE_GETREGSET, %d, NT_PRSTATUS, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x1, "NT_PRSTATUS") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETREGSET), pid, addr, errstr); do_ptrace(PTRACE_SETREGSET, pid, 2, addr); - printf("ptrace(PTRACE_SETREGSET, %d, NT_FPREGSET, %#lx) = %s\n", - pid, addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, " + XLAT_KNOWN(0x2, "NT_FPREGSET") ", %#lx) = %s\n", + XLAT_ARGS(PTRACE_SETREGSET), pid, addr, errstr); } pid = fork(); @@ -1537,10 +1646,45 @@ errno = saved; perror_msg_and_fail("ptrace"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } } +#if defined __arm64__ || defined __aarch64__ +static void +check_compat_ptrace_req(const unsigned int req, const char *const s, + const int pid) +{ + do_ptrace(req, pid, 0, 0); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, NULL, NULL) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); + + do_ptrace(req, pid, 0xbadc0deddeadface, 0xfacefeeddecaffed); + printf("ptrace(%#x" NRAW(" /* ") "%s" NRAW(" */") + ", %d, 0xbadc0deddeadface, 0xfacefeeddecaffed) = %s\n", + req, XLAT_RAW ? "" : s, pid, errstr); +} + +static void +test_compat_ptrace(const int pid) +{ + check_compat_ptrace_req(12, "COMPAT_PTRACE_GETREGS", pid); + check_compat_ptrace_req(13, "COMPAT_PTRACE_SETREGS", pid); + check_compat_ptrace_req(14, "COMPAT_PTRACE_GETFPREGS", pid); + check_compat_ptrace_req(15, "COMPAT_PTRACE_SETFPREGS", pid); + check_compat_ptrace_req(22, "COMPAT_PTRACE_GET_THREAD_AREA", pid); + check_compat_ptrace_req(23, "COMPAT_PTRACE_SET_SYSCALL", pid); + check_compat_ptrace_req(27, "COMPAT_PTRACE_GETVFPREGS", pid); + check_compat_ptrace_req(28, "COMPAT_PTRACE_SETVFPREGS", pid); + check_compat_ptrace_req(29, "COMPAT_PTRACE_GETHBPREGS", pid); + check_compat_ptrace_req(30, "COMPAT_PTRACE_SETHBPREGS", pid); +} +#else /* !(__arm64__ || __aarch64__) */ +static void test_compat_ptrace(const int pid) {} +#endif + int main(void) { @@ -1550,6 +1694,15 @@ (unsigned long) 0xdeadcafefffff00dULL; const int pid = getpid(); + int null_fd = open(null_path, O_RDONLY); + if (null_fd < 0) + perror_msg_and_fail("open(\"%s\")", null_path); + if (null_fd != NULL_FD) { + if (dup2(null_fd, NULL_FD) < 0) + perror_msg_and_fail("dup2(%d, NULL_FD)", null_fd); + close(null_fd); + } + TAIL_ALLOC_OBJECT_CONST_PTR(uint64_t, filter_off); const unsigned int sigset_size = get_sigset_size(); @@ -1558,51 +1711,56 @@ TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sip); do_ptrace(bad_request, pid, 0, 0); - printf("ptrace(%#lx /* PTRACE_??? */, %d, NULL, NULL) = %s\n", + printf("ptrace(%#lx" NRAW(" /* PTRACE_??? */") + ", %d, NULL, NULL) = %s\n", bad_request, pid, errstr); do_ptrace(PTRACE_PEEKDATA, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKDATA, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKDATA), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKTEXT, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKTEXT, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKTEXT), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_PEEKUSER, pid, bad_request, bad_data); #ifdef IA64 - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, errstr); #else - printf("ptrace(PTRACE_PEEKUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_PEEKUSER), pid, bad_request, bad_data, errstr); #endif do_ptrace(PTRACE_POKEUSER, pid, bad_request, bad_data); - printf("ptrace(PTRACE_POKEUSER, %d, %#lx, %#lx) = %s\n", - pid, bad_request, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_POKEUSER), pid, bad_request, bad_data, errstr); do_ptrace(PTRACE_ATTACH, pid, 0, 0); - printf("ptrace(PTRACE_ATTACH, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_ATTACH), pid, errstr); do_ptrace(PTRACE_INTERRUPT, pid, 0, 0); - printf("ptrace(PTRACE_INTERRUPT, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_INTERRUPT), pid, errstr); do_ptrace(PTRACE_KILL, pid, 0, 0); - printf("ptrace(PTRACE_KILL, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_KILL), pid, errstr); do_ptrace(PTRACE_LISTEN, pid, 0, 0); - printf("ptrace(PTRACE_LISTEN, %d) = %s\n", pid, errstr); + printf("ptrace(" XLAT_FMT ", %d) = %s\n", + XLAT_ARGS(PTRACE_LISTEN), pid, errstr); sigset_t libc_set; sigemptyset(&libc_set); @@ -1610,95 +1768,271 @@ memcpy(k_set, &libc_set, sigset_size); do_ptrace(PTRACE_SETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_SETSIGMASK, %d, %u, USR1) = %s\n", - pid, sigset_size, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGMASK), pid, sigset_size, + XLAT_SEL(SIGUSR1, "USR1"), errstr); do_ptrace(PTRACE_GETSIGMASK, pid, sigset_size, (uintptr_t) k_set); - printf("ptrace(PTRACE_GETSIGMASK, %d, %u, %p) = %s\n", - pid, sigset_size, k_set, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGMASK), pid, sigset_size, k_set, errstr); do_ptrace(PTRACE_SECCOMP_GET_FILTER, pid, 42, 0); - printf("ptrace(PTRACE_SECCOMP_GET_FILTER, %d, 42, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 42, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_FILTER), pid, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, 0); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, NULL) = %s\n", - pid, bad_data, errstr); + printf("ptrace(" XLAT_FMT ", %d, %lu, NULL) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, errstr); do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, 7, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, 7, %p) = %s\n", - pid, filter_off, errstr); + printf("ptrace(" XLAT_FMT ", %d, 7, %p) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, filter_off, errstr); *filter_off = 0xfacefeeddeadc0deULL; do_ptrace(PTRACE_SECCOMP_GET_METADATA, pid, bad_data, (uintptr_t) filter_off); - printf("ptrace(PTRACE_SECCOMP_GET_METADATA, %d, %lu, " - "{filter_off=%" PRIu64 "}) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %lu, {filter_off=%" PRIu64 "}) = %s\n", + XLAT_ARGS(PTRACE_SECCOMP_GET_METADATA), pid, bad_data, *filter_off, errstr); do_ptrace(PTRACE_GETEVENTMSG, pid, bad_request, bad_data); - printf("ptrace(PTRACE_GETEVENTMSG, %d, %#lx, %#lx) = %s\n", + printf("ptrace(" XLAT_FMT ", %d, %#lx, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GETEVENTMSG), pid, bad_request, bad_data, errstr); + /* SIGIO */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGIO; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_band = -2; + sip->si_fd = NULL_FD; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGIO" - ", si_code=POLL_IN, si_errno=ENOENT, si_band=-2}) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_band=-2" + ", si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, XLAT_ARGS(SIGIO), + XLAT_ARGS(POLL_IN), XLAT_ARGS(ENOENT), NULL_FD, NULL_FD_STR, + errstr); + + /* SIGTRAP */ + struct valstraux trap_codes = { + { ARG_XLAT_KNOWN(0x1, "TRAP_BRKPT") }, +#ifdef TRAP_TRACEFLOW + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACEFLOW") }, +#else + { ARG_XLAT_KNOWN(0x2, "TRAP_TRACE") }, +#endif +#ifdef TRAP_WATCHPT + { ARG_XLAT_KNOWN(0x3, "TRAP_WATCHPT") }, +#else + { ARG_XLAT_KNOWN(0x3, "TRAP_BRANCH") }, +#endif +#ifdef TRAP_ILLTRAP + { ARG_XLAT_KNOWN(0x4, "TRAP_ILLTRAP") }, +#else + { ARG_XLAT_KNOWN(0x4, "TRAP_HWBKPT") }, +#endif + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" +#ifdef __alpha__ + ", si_trapno=0 /* GEN_??? */" + }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-1, "GEN_INTOVF" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), + ", si_trapno=" XLAT_KNOWN(-25, "GEN_SUBRNG7" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-26 /* GEN_??? */" }, + { ARG_XLAT_KNOWN(0x5, "TRAP_UNK"), "" + ", si_trapno=-1234567890 /* GEN_??? */" +#endif /* __alpha__ */ + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + ", si_perf_data=0" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0, "PERF_TYPE_HARDWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=0" +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x1" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x1, "PERF_TYPE_SOFTWARE") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" XLAT_KNOWN(0x1, "TRAP_PERF_FLAG_ASYNC") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("12345678") "90abcdef" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_KNOWN(0x5, "PERF_TYPE_BREAKPOINT") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_KNOWN(0xdeadbeef, "TRAP_PERF_FLAG_ASYNC|0xdeadbeee") +# endif + }, + { ARG_XLAT_KNOWN(0x6, "TRAP_PERF"), "" + ", si_perf_data=0x" UP64BIT("badc0ded") "deadface" +# ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + ", si_perf_type=" XLAT_UNKNOWN(0x6, "PERF_TYPE_???") +# endif +# ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + ", si_perf_flags=" + XLAT_UNKNOWN(0xcafec0de, "TRAP_PERF_FLAG_???") +# endif +#endif /* HAVE_SIGINFO_T_SI_PERF_DATA */ + }, + { ARG_STR(0x7) }, + { ARG_STR(0x499602d2) }, + }; + int trap_unk_vecs = { 0, 1234567890, -1234567890 }; + struct { + unsigned long data; + uint32_t type; + uint32_t flags; + } trap_perf_vecs = { + { 0, 0, 0 }, + { 1, 1, 1 }, + { (unsigned long) 0x1234567890abcdefULL, 5, 0xdeadbeef }, + { (unsigned long) 0xbadc0deddeadfaceULL, 6, 0xcafec0de }, + }; + size_t trap_unk_pos = 0; + size_t trap_perf_pos = 0; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGTRAP; sip->si_code = 1; sip->si_errno = ENOENT; - sip->si_pid = 2; - sip->si_uid = 3; - sip->si_ptr = (void *) bad_request; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGTRAP" - ", si_code=TRAP_BRKPT, si_errno=ENOENT, si_pid=2, si_uid=3" - ", si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_int, sip->si_ptr, errstr); + for (size_t i = 0; i < ARRAY_SIZE(trap_codes); i++) { + sip->si_code = trap_codesi.val; + + switch (sip->si_code) { + case 5: /* TRAP_UNK */ +#ifdef __alpha__ + sip->si_trapno = trap_unk_vecstrap_unk_pos; +#endif + trap_unk_pos = (trap_unk_pos + 1) + % ARRAY_SIZE(trap_unk_vecs); + break; + case 6: /* TRAP_PERF */ +#ifdef HAVE_SIGINFO_T_SI_PERF_DATA + sip->si_perf_data = trap_perf_vecstrap_perf_pos.data; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_TYPE + sip->si_perf_type = trap_perf_vecstrap_perf_pos.type; +#endif +#ifdef HAVE_SIGINFO_T_SI_PERF_FLAGS + sip->si_perf_flags = trap_perf_vecstrap_perf_pos.flags; +#endif + trap_perf_pos = (trap_perf_pos + 1) + % ARRAY_SIZE(trap_perf_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=" XLAT_FMT_U ", si_addr=%p%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGTRAP), trap_codesi.str, XLAT_ARGS(ENOENT), + sip->si_addr, trap_codesi.aux ?: "", errstr); + } + /* SIGILL */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGILL; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -12; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGILL" - ", si_code=ILL_ILLOPC, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __sparc__ + ", si_trapno=-12" +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGILL), XLAT_ARGS(ILL_ILLOPC), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + /* SIGFPE */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGFPE; sip->si_code = 1; sip->si_errno = ENOENT; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef si_trapno + sip->si_trapno = -7; +#endif do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGFPE" - ", si_code=FPE_INTDIV, si_errno=ENOENT, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_addr, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_addr=%p" +#ifdef __alpha__ + ", si_trapno=" XLAT_KNOWN(-7, "GEN_FLTINE") +#endif + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGFPE), XLAT_ARGS(FPE_INTDIV), XLAT_ARGS(ENOENT), + sip->si_addr, errstr); + + /* SIGBUS */ + struct valstraux bus_codes = { + { ARG_XLAT_KNOWN(0x1, "BUS_ADRALN") }, + { ARG_XLAT_KNOWN(0x2, "BUS_ADRERR") }, + { ARG_XLAT_KNOWN(0x3, "BUS_OBJERR") }, +#ifdef BUS_OPFETCH + { ARG_XLAT_KNOWN(0x4, "BUS_OPFETCH") }, +#else + { ARG_XLAT_KNOWN(0x4, "BUS_MCEERR_AR"), +# ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + ", si_addr_lsb=0xdead" +# endif + }, +#endif + { ARG_XLAT_KNOWN(0x5, "BUS_MCEERR_AO"), +# if !defined(BUS_OPFETCH) && defined(HAVE_SIGINFO_T_SI_ADDR_LSB) + ", si_addr_lsb=0xdead" +# endif + }, + { ARG_STR(0x6) }, + { ARG_STR(0x499602d2) }, + }; memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGBUS; sip->si_code = 1; sip->si_errno = -2; sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; +#ifdef HAVE_SIGINFO_T_SI_ADDR_LSB + sip->si_addr_lsb = 0xdead; +#endif + for (size_t i = 0; i < ARRAY_SIZE(bus_codes); i++) { + sip->si_code = bus_codesi.val; - do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGBUS" - ", si_code=BUS_ADRALN, si_errno=%u, si_addr=%p}) = %s\n", - pid, bad_request, sip->si_errno, sip->si_addr, errstr); + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_errno=%u, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGBUS), bus_codesi.str, + sip->si_errno, sip->si_addr, bus_codesi.aux ?: "", + errstr); + } + /* SIGPROF */ memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGPROF; sip->si_code = 0xbadc0ded; @@ -1708,10 +2042,103 @@ sip->si_ptr = 0; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGPROF" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U ", si_code=%#x, si_errno=%u, si_pid=0, si_uid=3}) = %s\n", - pid, bad_request, sip->si_code, sip->si_errno, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGPROF), sip->si_code, sip->si_errno, errstr); + + /* SIGSEGV */ + struct valstraux segv_codes = { + { ARG_XLAT_KNOWN(0x1, "SEGV_MAPERR") }, + { ARG_XLAT_KNOWN(0x2, "SEGV_ACCERR") }, +#ifdef SEGV_STACKFLOW + { ARG_XLAT_KNOWN(0x3, "SEGV_STACKFLOW") }, +#else + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), "" +# ifdef HAVE_SIGINFO_T_SI_LOWER + ", si_lower=NULL, si_upper=NULL" + }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=NULL" + ", si_upper=0x" UP64BIT("deadc0de") "beadfeed" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("facecafe") "befeeded" + ", si_upper=NULL" }, + { ARG_XLAT_KNOWN(0x3, "SEGV_BNDERR"), + ", si_lower=0x" UP64BIT("beefface") "cafedead" + ", si_upper=0x" UP64BIT("badc0ded") "dadfaced", +#endif /* HAVE_SIGINFO_T_SI_LOWER */ + }, +#endif /* SEGV_STACKFLOW */ +#ifdef __SEGV_PSTKOVF + { ARG_XLAT_KNOWN(0x4, "__SEGV_PSTKOVF") }, +#else + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), "" +# ifdef HAVE_SIGINFO_T_SI_PKEY + ", si_pkey=0" + }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=1234567890" }, + { ARG_XLAT_KNOWN(0x4, "SEGV_PKUERR"), ", si_pkey=3141592653" +# endif /* HAVE_SIGINFO_T_SI_PKEY */ + }, +#endif /* __SEGV_PSTKOVF */ + { ARG_XLAT_KNOWN(0x5, "SEGV_ACCADI") }, + { ARG_XLAT_KNOWN(0x6, "SEGV_ADIDERR") }, + { ARG_XLAT_KNOWN(0x7, "SEGV_ADIPERR") }, + { ARG_XLAT_KNOWN(0x8, "SEGV_MTEAERR") }, + { ARG_XLAT_KNOWN(0x9, "SEGV_MTESERR") }, + { ARG_STR(0xa) }, + { ARG_STR(0x499602d2) }, + }; + uint32_t segv_pkey_vecs = { 0, 1234567890, 3141592653U }; + struct { + void *lower; + void *upper; + } segv_bnd_vecs = { + { 0, 0 }, + { 0, (void *) (uintptr_t) 0xdeadc0debeadfeedULL }, + { (void *) (uintptr_t) 0xfacecafebefeededULL, 0 }, + { (void *) (uintptr_t) 0xbeeffacecafedeadULL, + (void *) (uintptr_t) 0xbadc0deddadfacedULL }, + }; + size_t segv_pkey_pos = 0; + size_t segv_bnd_pos = 0; + + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_errno = 0; + sip->si_addr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; + + for (size_t i = 0; i < ARRAY_SIZE(segv_codes); i++) { + sip->si_code = segv_codesi.val; + switch (sip->si_code) { + case 3: /* SEGV_BNDERR */ +#ifdef HAVE_SIGINFO_T_SI_LOWER + sip->si_lower = segv_bnd_vecssegv_bnd_pos.lower; + sip->si_upper = segv_bnd_vecssegv_bnd_pos.upper; +#endif + segv_bnd_pos = (segv_bnd_pos + 1) + % ARRAY_SIZE(segv_bnd_vecs); + break; + case 4: /* SEGV_PKUERR */ +#ifdef HAVE_SIGINFO_T_SI_PKEY + sip->si_pkey = segv_pkey_vecssegv_pkey_pos; +#endif + segv_pkey_pos = (segv_pkey_pos + 1) + % ARRAY_SIZE(segv_pkey_vecs); + break; + }; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=%s, si_addr=%p%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), segv_codesi.str, + sip->si_addr, segv_codesi.aux ?: "", errstr); + } + + /* SIGSYS */ #ifdef HAVE_SIGINFO_T_SI_SYSCALL memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGSYS; @@ -1722,10 +2149,13 @@ sip->si_arch = AUDIT_ARCH_X86_64; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=ENOENT, si_call_addr=%p" - ", si_syscall=%u, si_arch=AUDIT_ARCH_X86_64}) = %s\n", - pid, bad_request, sip->si_call_addr, sip->si_syscall, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=" + XLAT_FMT_U ", si_call_addr=%p, si_syscall=%u, si_arch=" XLAT_FMT + "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), XLAT_ARGS(ENOENT), sip->si_call_addr, + sip->si_syscall, XLAT_ARGS(AUDIT_ARCH_X86_64), errstr); sip->si_errno = 3141592653U; sip->si_call_addr = NULL; @@ -1733,13 +2163,72 @@ sip->si_arch = 0xda7a1057; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGSYS" - ", si_code=SYS_SECCOMP, si_errno=%u, si_call_addr=NULL" - ", si_syscall=__NR_read, si_arch=%#x /* AUDIT_ARCH_??? */})" - " = %s\n", - pid, bad_request, sip->si_errno, sip->si_arch, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u, si_arch=%#x" + NRAW(" /* AUDIT_ARCH_??? */") "}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, sip->si_syscall, sip->si_arch, + errstr); + +# ifdef CUR_AUDIT_ARCH + sip->si_arch = CUR_AUDIT_ARCH; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=" XLAT_FMT_U ", si_arch=%s}" + ") = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, XLAT_ARGS(__NR_read), + sprintxval(audit_arch, CUR_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(PERS0_AUDIT_ARCH) + sip->si_arch = PERS0_AUDIT_ARCH; + sip->si_syscall = PERS0__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, PERS0__NR_gettid, + sprintxval(audit_arch, PERS0_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(M32_AUDIT_ARCH) + sip->si_arch = M32_AUDIT_ARCH; + sip->si_syscall = M32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, M32__NR_gettid, + sprintxval(audit_arch, M32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif +# if defined(MX32_AUDIT_ARCH) + sip->si_arch = MX32_AUDIT_ARCH; + sip->si_syscall = MX32__NR_gettid; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_KNOWN(0x1, "SYS_SECCOMP") ", si_errno=%u" + ", si_call_addr=NULL, si_syscall=%u" NRAW(" /* gettid */") + ", si_arch=%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSYS), sip->si_errno, MX32__NR_gettid, + sprintxval(audit_arch, MX32_AUDIT_ARCH, "AUDIT_ARCH_???"), + errstr); +# endif #endif + /* SI_TIMER */ #if defined HAVE_SIGINFO_T_SI_TIMERID && defined HAVE_SIGINFO_T_SI_OVERRUN memset(sip, -1, sizeof(*sip)); sip->si_signo = SIGHUP; @@ -1750,67 +2239,89 @@ sip->si_ptr = (void *) (unsigned long) 0xfacefeeddeadbeefULL; do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_SETSIGINFO, %d, %#lx, {si_signo=SIGHUP" - ", si_code=SI_TIMER, si_errno=ENOENT, si_timerid=%#x" + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U ", si_timerid=%#x" ", si_overrun=%d, si_int=%d, si_ptr=%p}) = %s\n", - pid, bad_request, sip->si_timerid, sip->si_overrun, - sip->si_int, sip->si_ptr, errstr); + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGHUP), XLAT_ARGS(SI_TIMER), XLAT_ARGS(ENOENT), + sip->si_timerid, sip->si_overrun, sip->si_int, sip->si_ptr, + errstr); #endif + /* SI_SIGIO */ + memset(sip, -1, sizeof(*sip)); + sip->si_signo = SIGSEGV; + sip->si_code = SI_SIGIO; + sip->si_errno = ENOENT; + sip->si_band = -1234567890; + sip->si_fd = NULL_FD; + + do_ptrace(PTRACE_SETSIGINFO, pid, bad_request, (uintptr_t) sip); + printf("ptrace(" XLAT_FMT ", %d, %#lx, {si_signo=" XLAT_FMT_U + ", si_code=" XLAT_FMT ", si_errno=" XLAT_FMT_U + ", si_band=-1234567890, si_fd=%d%s}) = %s\n", + XLAT_ARGS(PTRACE_SETSIGINFO), pid, bad_request, + XLAT_ARGS(SIGSEGV), XLAT_ARGS(SI_SIGIO), XLAT_ARGS(ENOENT), + NULL_FD, NULL_FD_STR, errstr); + do_ptrace(PTRACE_GETSIGINFO, pid, bad_request, (uintptr_t) sip); - printf("ptrace(PTRACE_GETSIGINFO, %d, %#lx, %p) = %s\n", - pid, bad_request, sip, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, %p) = %s\n", + XLAT_ARGS(PTRACE_GETSIGINFO), pid, bad_request, sip, errstr); do_ptrace(PTRACE_CONT, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_CONT, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_CONT), pid, XLAT_ARGS(SIGUSR1), errstr); do_ptrace(PTRACE_DETACH, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_DETACH, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_DETACH), pid, XLAT_ARGS(SIGUSR2), errstr); do_ptrace(PTRACE_SYSCALL, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSCALL, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSCALL), pid, XLAT_ARGS(SIGUSR1), errstr); #ifdef PTRACE_SINGLESTEP do_ptrace(PTRACE_SINGLESTEP, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SINGLESTEP, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLESTEP), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SINGLEBLOCK do_ptrace(PTRACE_SINGLEBLOCK, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SINGLEBLOCK, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SINGLEBLOCK), pid, XLAT_ARGS(SIGUSR1), errstr); #endif #ifdef PTRACE_SYSEMU do_ptrace(PTRACE_SYSEMU, pid, 0, SIGUSR2); - printf("ptrace(PTRACE_SYSEMU, %d, NULL, SIGUSR2) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU), pid, XLAT_ARGS(SIGUSR2), errstr); #endif #ifdef PTRACE_SYSEMU_SINGLESTEP do_ptrace(PTRACE_SYSEMU_SINGLESTEP, pid, 0, SIGUSR1); - printf("ptrace(PTRACE_SYSEMU_SINGLESTEP, %d, NULL, SIGUSR1) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT_U ") = %s\n", + XLAT_ARGS(PTRACE_SYSEMU_SINGLESTEP), pid, XLAT_ARGS(SIGUSR1), + errstr); #endif do_ptrace(PTRACE_SETOPTIONS, pid, 0, PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE); - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACEFORK|PTRACE_O_TRACECLONE), errstr); do_ptrace(PTRACE_SEIZE, pid, bad_request, PTRACE_O_TRACESYSGOOD); - printf("ptrace(PTRACE_SEIZE, %d, %#lx, PTRACE_O_TRACESYSGOOD) = %s\n", - pid, bad_request, errstr); + printf("ptrace(" XLAT_FMT ", %d, %#lx, " XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_SEIZE), pid, bad_request, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD), errstr); test_peeksiginfo(pid, bad_request); test_getregset_setregset(pid); + test_compat_ptrace(pid); do_ptrace(PTRACE_TRACEME, 0, 0, 0); - printf("ptrace(PTRACE_TRACEME) = %s\n", errstr); + printf("ptrace(" XLAT_FMT ") = %s\n", + XLAT_ARGS(PTRACE_TRACEME), errstr); puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xabbrev -a35 -e signal=none -e trace=ptrace -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a35 -e signal=none -e trace=ptrace -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xraw -a26 -e signal=none -e trace=ptrace -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a26 -e signal=none -e trace=ptrace -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "ptrace_syscall_info.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (ptrace_syscall_info-Xverbose -a47 -e signal=none -e trace=ptrace -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a47 -e signal=none -e trace=ptrace -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests/ptrace_syscall_info.c -> _service:tar_scm:strace-6.1.tar.xz/tests/ptrace_syscall_info.c
Changed
@@ -97,6 +97,14 @@ } }; +#if !XLAT_RAW +static const char *sc_names = { + "chdir", + "gettid", + "exit_group" +}; +#endif + static const unsigned int expected_none_size = offsetof(struct_ptrace_syscall_info, entry); static const unsigned int expected_entry_size = @@ -111,12 +119,12 @@ test_none(void) { do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 1, end_of_page); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 1, %#lx) = %s\n", - pid, end_of_page, errstr); + printf("ptrace(" XLAT_FMT ", %d, 1, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, end_of_page, errstr); for (unsigned int size = 0; size <= sizeof(struct_ptrace_syscall_info); ++size) { @@ -125,16 +133,16 @@ long rc = do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, size, buf); if (rc < 0) { - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, %#lx)" - " = %s\n", - pid, (unsigned int) size, buf, errstr); + printf("ptrace(" XLAT_FMT ", %d, %u, %#lx) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, + (unsigned int) size, buf, errstr); return false; } if (rc < (long) expected_none_size) FAIL("signal stop mismatch"); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -146,7 +154,7 @@ if (info.op != PTRACE_SYSCALL_INFO_NONE) FAIL("signal stop mismatch"); - printf("{op=PTRACE_SYSCALL_INFO_NONE"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_NONE)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_none; @@ -193,8 +201,8 @@ if (rc < (long) expected_entry_size) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -206,7 +214,7 @@ if (info.op != PTRACE_SYSCALL_INFO_ENTRY) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_ENTRY"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_ENTRY)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_entry_common; @@ -236,7 +244,10 @@ const unsigned long *exp_args = argsptrace_stop / 2; if (info.entry.nr != exp_args0) FAIL("#%d: entry stop mismatch", ptrace_stop); - printf(", entry={nr=%llu", (unsigned long long) info.entry.nr); + printf(", entry={nr=" + NABBR("%llu") VERB(" /* ") NRAW("__NR_%s") VERB(" */"), + XLAT_SEL((unsigned long long) info.entry.nr, + sc_namesptrace_stop / 2)); for (unsigned int i = 0; i < ARRAY_SIZE(info.entry.args); ++i) { const unsigned int i_size = @@ -282,8 +293,8 @@ if (rc < (long) expected_exit_size) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, %u, ", - pid, size); + printf("ptrace(" XLAT_FMT ", %d, %u, ", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, size); if (!size) { printf("%#lx) = %s\n", buf, errstr); continue; @@ -295,7 +306,7 @@ if (info.op != PTRACE_SYSCALL_INFO_EXIT) FAIL("#%d: exit stop mismatch", ptrace_stop); - printf("{op=PTRACE_SYSCALL_INFO_EXIT"); + printf("{op=" XLAT_FMT, XLAT_ARGS(PTRACE_SYSCALL_INFO_EXIT)); if (size < offsetofend(struct_ptrace_syscall_info, arch)) goto printed_exit_common; @@ -334,7 +345,8 @@ if (info.exit.rval != exp_param->rval) FAIL("#%d: exit stop mismatch", ptrace_stop); if (size >= expected_exit_size && info.exit.is_error) { - printf(", exit={rval=%s", exp_param->str); + printf(", exit={rval=" XLAT_FMT_D, + XLAT_SEL(exp_param->rval, exp_param->str)); } else { printf(", exit={rval=%lld", (long long) info.exit.rval); } @@ -360,8 +372,8 @@ pid = getpid(); do_ptrace(PTRACE_GET_SYSCALL_INFO, pid, 0, 0); - printf("ptrace(PTRACE_GET_SYSCALL_INFO, %d, 0, NULL) = %s\n", - pid, errstr); + printf("ptrace(" XLAT_FMT ", %d, 0, NULL) = %s\n", + XLAT_ARGS(PTRACE_GET_SYSCALL_INFO), pid, errstr); pid = fork(); if (pid < 0) @@ -422,8 +434,10 @@ /* cannot happen */ PFAIL("PTRACE_SETOPTIONS"); } - printf("ptrace(PTRACE_SETOPTIONS, %d, NULL" - ", PTRACE_O_TRACESYSGOOD) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, " XLAT_FMT + ") = 0\n", + XLAT_ARGS(PTRACE_SETOPTIONS), pid, + XLAT_ARGS(PTRACE_O_TRACESYSGOOD)); if (!test_none()) goto done; @@ -455,7 +469,8 @@ /* cannot happen */ PFAIL("PTRACE_SYSCALL"); } - printf("ptrace(PTRACE_SYSCALL, %d, NULL, 0) = 0\n", pid); + printf("ptrace(" XLAT_FMT ", %d, NULL, 0) = 0\n", + XLAT_ARGS(PTRACE_SYSCALL), pid); } done:
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pure_executables.am -> _service:tar_scm:strace-6.1.tar.xz/tests/pure_executables.am
Changed
@@ -10,6 +10,11 @@ aio \ aio_pgetevents \ alarm \ + arch_prctl \ + arch_prctl-Xabbrev \ + arch_prctl-Xraw \ + arch_prctl-Xverbose \ + at_fdcwd-pathmax \ bpf \ bpf-v \ brk \ @@ -33,7 +38,9 @@ copy_file_range \ creat \ delete_module \ + dev--decode-fds-all \ dev--decode-fds-dev \ + dev--decode-fds-none \ dev--decode-fds-path \ dev--decode-fds-socket \ dev-yy \ @@ -112,6 +119,7 @@ ftruncate \ ftruncate64 \ futex \ + futex_waitv \ futimesat \ get_mempolicy \ getcpu \ @@ -156,9 +164,16 @@ inotify_init1-y \ io_uring_enter \ io_uring_register \ + io_uring_register-Xabbrev \ + io_uring_register-Xraw \ + io_uring_register-Xverbose \ io_uring_setup \ ioctl \ ioctl_block \ + ioctl_counter \ + ioctl_counter-Xabbrev \ + ioctl_counter-Xraw \ + ioctl_counter-Xverbose \ ioctl_dm \ ioctl_evdev \ ioctl_evdev-Xabbrev \ @@ -197,6 +212,11 @@ ioctl_hdio-v-Xraw \ ioctl_hdio-v-Xverbose \ ioctl_inotify \ + ioctl_lirc \ + ioctl_kd \ + ioctl_kd-Xabbrev \ + ioctl_kd-Xraw \ + ioctl_kd-Xverbose \ ioctl_kvm_run \ ioctl_kvm_run-v \ ioctl_kvm_run_auxstr_vcpu \ @@ -205,6 +225,9 @@ ioctl_nbd \ ioctl_perf \ ioctl_ptp \ + ioctl_ptp-Xabbrev \ + ioctl_ptp-Xraw \ + ioctl_ptp-Xverbose \ ioctl_random \ ioctl_rtc \ ioctl_scsi \ @@ -213,6 +236,9 @@ ioctl_sock \ ioctl_sock_gifconf \ ioctl_tee \ + ioctl_termios \ + ioctl_termios-v \ + ioctl_tiocm \ ioctl_ubi \ ioctl_uffdio \ ioctl_v4l2 \ @@ -224,6 +250,7 @@ ioctl_v4l2-v-Xraw \ ioctl_v4l2-v-Xverbose \ ioctl_watchdog \ + ioctl_winsize \ ioperm \ iopl \ ioprio \ @@ -330,6 +357,7 @@ msg_name \ munlockall \ nanosleep \ + net--decode-fds-all-netlink \ net--decode-fds-dev-netlink \ net--decode-fds-none-netlink \ net--decode-fds-path-netlink \ @@ -371,6 +399,10 @@ nfnetlink_ulog \ nlattr \ nlattr_br_port_msg \ + nlattr_cachereport \ + nlattr_cachereport-Xabbrev \ + nlattr_cachereport-Xraw \ + nlattr_cachereport-Xverbose \ nlattr_crypto_user_alg \ nlattr_dcbmsg \ nlattr_fib_rule_hdr \ @@ -379,10 +411,25 @@ nlattr_ifinfomsg \ nlattr_ifla_af_spec \ nlattr_ifla_brport \ + nlattr_ifla_brport-Xabbrev \ + nlattr_ifla_brport-Xraw \ + nlattr_ifla_brport-Xverbose \ nlattr_ifla_linkinfo \ nlattr_ifla_port \ + nlattr_ifla_protinfo \ + nlattr_ifla_protinfo-Xabbrev \ + nlattr_ifla_protinfo-Xraw \ + nlattr_ifla_protinfo-Xverbose \ nlattr_ifla_proto_down_reason \ + nlattr_ifla_vfinfo \ + nlattr_ifla_vfinfo-Xabbrev \ + nlattr_ifla_vfinfo-Xraw \ + nlattr_ifla_vfinfo-Xverbose \ nlattr_ifla_xdp \ + nlattr_ifstats \ + nlattr_ifstats-Xabbrev \ + nlattr_ifstats-Xraw \ + nlattr_ifstats-Xverbose \ nlattr_inet_diag_msg \ nlattr_inet_diag_req_compat \ nlattr_inet_diag_req_v2 \ @@ -392,6 +439,10 @@ nlattr_ndtmsg \ nlattr_netconfmsg \ nlattr_netlink_diag_msg \ + nlattr_nhmsg \ + nlattr_nhmsg-Xabbrev \ + nlattr_nhmsg-Xraw \ + nlattr_nhmsg-Xverbose \ nlattr_nlmsgerr \ nlattr_packet_diag_msg \ nlattr_rtgenmsg \ @@ -438,6 +489,8 @@ pidfd_getfd-y \ pidfd_getfd-yy \ pidfd_open \ + pidfd_open--decode-fd-all \ + pidfd_open--decode-fd-none \ pidfd_open--decode-fd-path \ pidfd_open--decode-fd-pidfd \ pidfd_open--decode-fd-socket \ @@ -472,7 +525,15 @@ prctl-sched-core-Xraw \ prctl-sched-core-Xverbose \ prctl-securebits \ + prctl-set_vma \ + prctl-sme \ + prctl-sme-Xabbrev \ + prctl-sme-Xraw \ + prctl-sme-Xverbose \ prctl-sve \ + prctl-sve-Xabbrev \ + prctl-sve-Xraw \ + prctl-sve-Xverbose \ prctl-syscall-user-dispatch \ prctl-tagged-addr \ prctl-tagged-addr-Xabbrev \ @@ -499,12 +560,24 @@ process_madvise \ process_madvise-y \ process_madvise-yy \ + process_mrelease \ + process_mrelease-y \ process_vm_readv \ process_vm_writev \ pselect6 \ pselect6_time64 \ ptrace \ + ptrace-Xabbrev \ + ptrace-Xraw \ + ptrace-Xverbose \ + ptrace-y \ + ptrace-y-Xabbrev \ + ptrace-y-Xraw \ + ptrace-y-Xverbose \ ptrace_syscall_info \ + ptrace_syscall_info-Xabbrev \ + ptrace_syscall_info-Xraw \ + ptrace_syscall_info-Xverbose \ pwritev \ quotactl \ quotactl-Xabbrev \ @@ -559,6 +632,7 @@ sched_yield \ seccomp-filter \ seccomp_get_action_avail \ + seccomp_get_notif_sizes \ select \ semop \ semop-indirect \ @@ -571,6 +645,7 @@ set_mempolicy-Xabbrev \ set_mempolicy-Xraw \ set_mempolicy-Xverbose \ + set_mempolicy_home_node \ setdomainname \ setfsgid \ setfsgid32 \ @@ -618,10 +693,17 @@ sock_filter-v-Xraw \ sock_filter-v-Xverbose \ sockaddr_xlat-Xabbrev \ + sockaddr_xlat-Xabbrev-y \ sockaddr_xlat-Xraw \ + sockaddr_xlat-Xraw-y \ sockaddr_xlat-Xverbose \ + sockaddr_xlat-Xverbose-y \ socketcall \ sockopt-sol_netlink \ + sockopt-sol_socket \ + sockopt-sol_socket-Xabbrev \ + sockopt-sol_socket-Xraw \ + sockopt-sol_socket-Xverbose \ sockopt-timestamp \ splice \ stat \ @@ -642,7 +724,10 @@ strace--strings-in-hex \ strace--strings-in-hex-all \ strace--strings-in-hex-non-ascii \ + strace--strings-in-hex-non-ascii-chars \ + strace--strings-in-hex-none \ strace-n \ + strace-no-x \ strace-x \ strace-xx \ swap \ @@ -652,6 +737,7 @@ sync \ sync_file_range \ sync_file_range2 \ + sysctl \ sysinfo \ syslog \ tampering-notes \ @@ -662,6 +748,9 @@ timer_xettime \ timerfd_xettime \ times \ + times-Xabbrev \ + times-Xraw \ + times-Xverbose \ times-fail \ tkill \ truncate \
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pure_executables.list -> _service:tar_scm:strace-6.1.tar.xz/tests/pure_executables.list
Changed
@@ -1,6 +1,6 @@ # Executables without side effects. # -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,11 @@ aio aio_pgetevents alarm +arch_prctl +arch_prctl-Xabbrev +arch_prctl-Xraw +arch_prctl-Xverbose +at_fdcwd-pathmax bpf bpf-v brk @@ -38,7 +43,9 @@ copy_file_range creat delete_module +dev--decode-fds-all dev--decode-fds-dev +dev--decode-fds-none dev--decode-fds-path dev--decode-fds-socket dev-yy @@ -117,6 +124,7 @@ ftruncate ftruncate64 futex +futex_waitv futimesat get_mempolicy getcpu @@ -161,9 +169,16 @@ inotify_init1-y io_uring_enter io_uring_register +io_uring_register-Xabbrev +io_uring_register-Xraw +io_uring_register-Xverbose io_uring_setup ioctl ioctl_block +ioctl_counter +ioctl_counter-Xabbrev +ioctl_counter-Xraw +ioctl_counter-Xverbose ioctl_dm ioctl_evdev ioctl_evdev-Xabbrev @@ -202,6 +217,11 @@ ioctl_hdio-v-Xraw ioctl_hdio-v-Xverbose ioctl_inotify +ioctl_lirc +ioctl_kd +ioctl_kd-Xabbrev +ioctl_kd-Xraw +ioctl_kd-Xverbose ioctl_kvm_run ioctl_kvm_run-v ioctl_kvm_run_auxstr_vcpu @@ -210,6 +230,9 @@ ioctl_nbd ioctl_perf ioctl_ptp +ioctl_ptp-Xabbrev +ioctl_ptp-Xraw +ioctl_ptp-Xverbose ioctl_random ioctl_rtc ioctl_scsi @@ -218,6 +241,9 @@ ioctl_sock ioctl_sock_gifconf ioctl_tee +ioctl_termios +ioctl_termios-v +ioctl_tiocm ioctl_ubi ioctl_uffdio ioctl_v4l2 @@ -229,6 +255,7 @@ ioctl_v4l2-v-Xraw ioctl_v4l2-v-Xverbose ioctl_watchdog +ioctl_winsize ioperm iopl ioprio @@ -335,6 +362,7 @@ msg_name munlockall nanosleep +net--decode-fds-all-netlink net--decode-fds-dev-netlink net--decode-fds-none-netlink net--decode-fds-path-netlink @@ -376,6 +404,10 @@ nfnetlink_ulog nlattr nlattr_br_port_msg +nlattr_cachereport +nlattr_cachereport-Xabbrev +nlattr_cachereport-Xraw +nlattr_cachereport-Xverbose nlattr_crypto_user_alg nlattr_dcbmsg nlattr_fib_rule_hdr @@ -384,10 +416,25 @@ nlattr_ifinfomsg nlattr_ifla_af_spec nlattr_ifla_brport +nlattr_ifla_brport-Xabbrev +nlattr_ifla_brport-Xraw +nlattr_ifla_brport-Xverbose nlattr_ifla_linkinfo nlattr_ifla_port +nlattr_ifla_protinfo +nlattr_ifla_protinfo-Xabbrev +nlattr_ifla_protinfo-Xraw +nlattr_ifla_protinfo-Xverbose nlattr_ifla_proto_down_reason +nlattr_ifla_vfinfo +nlattr_ifla_vfinfo-Xabbrev +nlattr_ifla_vfinfo-Xraw +nlattr_ifla_vfinfo-Xverbose nlattr_ifla_xdp +nlattr_ifstats +nlattr_ifstats-Xabbrev +nlattr_ifstats-Xraw +nlattr_ifstats-Xverbose nlattr_inet_diag_msg nlattr_inet_diag_req_compat nlattr_inet_diag_req_v2 @@ -397,6 +444,10 @@ nlattr_ndtmsg nlattr_netconfmsg nlattr_netlink_diag_msg +nlattr_nhmsg +nlattr_nhmsg-Xabbrev +nlattr_nhmsg-Xraw +nlattr_nhmsg-Xverbose nlattr_nlmsgerr nlattr_packet_diag_msg nlattr_rtgenmsg @@ -443,6 +494,8 @@ pidfd_getfd-y pidfd_getfd-yy pidfd_open +pidfd_open--decode-fd-all +pidfd_open--decode-fd-none pidfd_open--decode-fd-path pidfd_open--decode-fd-pidfd pidfd_open--decode-fd-socket @@ -477,7 +530,15 @@ prctl-sched-core-Xraw prctl-sched-core-Xverbose prctl-securebits +prctl-set_vma +prctl-sme +prctl-sme-Xabbrev +prctl-sme-Xraw +prctl-sme-Xverbose prctl-sve +prctl-sve-Xabbrev +prctl-sve-Xraw +prctl-sve-Xverbose prctl-syscall-user-dispatch prctl-tagged-addr prctl-tagged-addr-Xabbrev @@ -504,12 +565,24 @@ process_madvise process_madvise-y process_madvise-yy +process_mrelease +process_mrelease-y process_vm_readv process_vm_writev pselect6 pselect6_time64 ptrace +ptrace-Xabbrev +ptrace-Xraw +ptrace-Xverbose +ptrace-y +ptrace-y-Xabbrev +ptrace-y-Xraw +ptrace-y-Xverbose ptrace_syscall_info +ptrace_syscall_info-Xabbrev +ptrace_syscall_info-Xraw +ptrace_syscall_info-Xverbose pwritev quotactl quotactl-Xabbrev @@ -564,6 +637,7 @@ sched_yield seccomp-filter seccomp_get_action_avail +seccomp_get_notif_sizes select semop semop-indirect @@ -576,6 +650,7 @@ set_mempolicy-Xabbrev set_mempolicy-Xraw set_mempolicy-Xverbose +set_mempolicy_home_node setdomainname setfsgid setfsgid32 @@ -623,10 +698,17 @@ sock_filter-v-Xraw sock_filter-v-Xverbose sockaddr_xlat-Xabbrev +sockaddr_xlat-Xabbrev-y sockaddr_xlat-Xraw +sockaddr_xlat-Xraw-y sockaddr_xlat-Xverbose +sockaddr_xlat-Xverbose-y socketcall sockopt-sol_netlink +sockopt-sol_socket +sockopt-sol_socket-Xabbrev +sockopt-sol_socket-Xraw +sockopt-sol_socket-Xverbose sockopt-timestamp splice stat @@ -647,7 +729,10 @@ strace--strings-in-hex strace--strings-in-hex-all strace--strings-in-hex-non-ascii +strace--strings-in-hex-non-ascii-chars +strace--strings-in-hex-none strace-n +strace-no-x strace-x strace-xx swap @@ -657,6 +742,7 @@ sync sync_file_range sync_file_range2 +sysctl sysinfo syslog tampering-notes @@ -667,6 +753,9 @@ timer_xettime timerfd_xettime times +times-Xabbrev +times-Xraw +times-Xverbose times-fail tkill truncate
View file
_service:tar_scm:strace-5.14.tar.xz/tests/pwritev.c -> _service:tar_scm:strace-6.1.tar.xz/tests/pwritev.c
Changed
@@ -40,9 +40,8 @@ printf("%p", iov); return; } - unsigned int i; putchar(''); - for (i = 0; i < cnt; ++i) { + for (unsigned int i = 0; i < cnt; ++i) { if (i) fputs(", ", stdout); if (i == size) { @@ -69,12 +68,11 @@ perror_msg_and_fail("open"); char *buf = tail_alloc(LEN); - unsigned i; - for (i = 0; i < LEN; ++i) + for (unsigned int i = 0; i < LEN; ++i) bufi = i; struct iovec *iov = tail_alloc(sizeof(*iov) * LEN); - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { bufi = i; iovi.iov_base = &bufi; iovi.iov_len = LEN - i; @@ -83,7 +81,7 @@ const off_t offset = 0xdefaceddeadbeefLL; long rc; int written = 0; - for (i = 0; i < LEN; ++i) { + for (unsigned int i = 0; i < LEN; ++i) { written += iovi.iov_len; if (pwritev(0, iov, i + 1, offset + i) != written) perror_msg_and_fail("pwritev"); @@ -93,7 +91,7 @@ i + 1, (long long) offset + i, written); } - for (i = 0; i <= LEN; ++i) { + for (unsigned int i = 0; i <= LEN; ++i) { unsigned int n = LEN + 1 - i; fputs("pwritev(0, ", stdout); print_iovec(iov + i, n, LEN - i);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_fault-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_fault-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh -efu suffix=:syscall=gettid name_override=qual_fault . "${srcdir=.}/qual_fault.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_fault.c -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_fault.c
Changed
@@ -2,7 +2,7 @@ * Check that fault injection works properly. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -29,12 +29,13 @@ #define DEFAULT_ERRNO ENOSYS static const char *errstr; -static int is_raw, err, first, last, step, iter, try; +static int is_raw, err; static void -invoke(int fail) +invoke(int iter, int fail) { static char bufsizeof(int) * 3 + 3; + static int try; const struct iovec io = { .iov_base = buf, .iov_len = sprintf(buf, "%d.", ++try) @@ -44,7 +45,7 @@ if (!fail) { rc = write(exp_fd, io.iov_base, io.iov_len); if (rc != (int) io.iov_len) - perror_msg_and_fail("write"); + perror_msg_and_fail("iter %d: write", iter); } errno = 0; @@ -52,9 +53,9 @@ if (fail) { if (!(rc == -1 && errno == err)) - perror_msg_and_fail("expected errno %d" + perror_msg_and_fail("iter %d: expected errno %d" ", got rc == %d, errno == %d", - err, rc, errno); + iter, err, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1)" @@ -66,9 +67,9 @@ got_fd, buf, (int) io.iov_len, errstr); } else { if (rc != (int) io.iov_len) - perror_msg_and_fail("expected %d" + perror_msg_and_fail("iter %d: expected %d" ", got rc == %d, errno == %d", - (int) io.iov_len, rc, errno); + iter, (int) io.iov_len, rc, errno); if (is_raw) tprintf("writev(%#x, %p, 0x1) = %#x\n", @@ -119,10 +120,10 @@ errno = err; errstr = errno2name(); - first = atoi(argv3); - last = atoi(argv4); - step = atoi(argv5); - iter = atoi(argv6); + int first = atoi(argv3); + int last = atoi(argv4); + int step = atoi(argv5); + int iter = atoi(argv6); int num_procs = atoi(argv7); char *exp_prefix = argv8; char *got_prefix = argv9; @@ -133,8 +134,7 @@ assert(step >= 0); assert(num_procs > 0); - int proc; - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int ret = fork(); if (ret < 0) @@ -162,8 +162,7 @@ /* This magic forces tprintf to write where we want it. */ dup2(out_fd, 3); - int i; - for (i = 1; i <= iter; ++i) { + for (int i = 1; i <= iter; ++i) { int fail = 0; if (last != 0) { --first; @@ -174,14 +173,14 @@ first = step; } } - invoke(fail); + invoke(i, fail); } tprintf("%s\n", "+++ exited with 0 +++"); return 0; } - for (proc = 0; proc < num_procs; ++proc) { + for (int proc = 0; proc < num_procs; ++proc) { int status; int ret = wait(&status); if (ret <= 0)
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_fault.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_fault.test
Changed
@@ -3,7 +3,7 @@ # Check that fault injection works properly. # # Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2016-2021 The strace developers. +# Copyright (c) 2016-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -83,8 +83,13 @@ done } +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=51 ;; +esac + for err in '' ENOSYS 22 einval; do - for fault in writev desc,51; do + for fault in writev desc,$valid_scno; do check_fault_injection \ writev $fault "$err" '' '' '' 1 -efault=chdir check_fault_injection \
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_inject-error-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_inject-error-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-error-signal . "${srcdir=.}/qual_inject-error-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_inject-retval-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_inject-retval-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-retval . "${srcdir=.}/qual_inject-retval.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_inject-signal-syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_inject-signal-syscall.test
Changed
@@ -1,3 +1,4 @@ +#!/bin/sh suffix=:syscall=gettid name_override=qual_inject-signal . "${srcdir=.}/qual_inject-signal.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_inject-syntax.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_inject-syntax.test
Changed
@@ -3,7 +3,7 @@ # Check -e inject= syntax. # # Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> -# Copyright (c) 2017-2021 The strace developers. +# Copyright (c) 2017-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -23,9 +23,14 @@ "strace -e inject=$* failed to handle an argument error properly" } -for arg in 42 chdir \ - chdir:42 \!chdir:42 \ - chdir:42:when=7 \ +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + +for arg in $valid_scno chdir \ + chdir:$valid_scno \!chdir:$valid_scno \ + chdir:$valid_scno:when=7 \ chdir:invalid \ chdir:invalid:when=8 \ chdir:error= \ @@ -89,7 +94,7 @@ chdir:syscall=chdir \ chdir:syscall=%file \ chdir:syscall=-42 \ - chdir:syscall=42 \ + chdir:syscall=$valid_scno \ chdir:syscall=gettid:syscall=gettid \ chdir:when=. \ chdir:when=.+ \
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_signal.c -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_signal.c
Changed
@@ -53,8 +53,7 @@ pid = getpid(); uid = geteuid(); - int i; - for (i = 1; i < ac; i += 2) + for (int i = 1; i < ac; i += 2) test_sig(atoi(avi), avi + 1); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qual_syscall.test -> _service:tar_scm:strace-6.1.tar.xz/tests/qual_syscall.test
Changed
@@ -3,7 +3,7 @@ # Check how strace -e abbrev=set, -e raw=set, -e trace=set, # and -e verbose=set work. # -# Copyright (c) 2014-2020 The strace developers. +# Copyright (c) 2014-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -16,6 +16,11 @@ pattern_nonverbose='execve("\.\./umovestr", 0x:xdigit:*, 0x:xdigit:*) = 0' pattern_raw='execve(0x:xdigit:*, 0x:xdigit:*, 0x:xdigit:*) = 0' +case "$STRACE_ARCH" in + ia64) valid_scno=1068 ;; + *) valid_scno=42 ;; +esac + check_output_mismatch() { local pattern @@ -47,11 +52,11 @@ LC_ALL=C grep '^chdir' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e 42 ../umovestr +run_strace -e $valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" -run_strace -e/ -e42 ../umovestr +run_strace -e/ -e$valid_scno ../umovestr LC_ALL=C grep '^:alnum:_*(' "$LOG" > /dev/null && dump_log_and_fail_with "$STRACE $args unexpected output" @@ -62,7 +67,7 @@ check_execve_output_mismatch verbose "$a" "$pattern_abbrev_verbose" done -for a in \!execve chdir 42 \!all none \ +for a in \!execve chdir $valid_scno \!all none \ \!file \!process desc ipc memory network signal; do check_execve_output_mismatch abbrev "$a" "$pattern_nonabbrev_verbose" check_execve_output_mismatch raw "$a" "$pattern_abbrev_verbose"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/qualify_personality.sh -> _service:tar_scm:strace-6.1.tar.xz/tests/qualify_personality.sh
Changed
@@ -2,7 +2,7 @@ # # Common code for per-personality qualification tests # -# Copyright (c) 2018-2019 The strace developers. +# Copyright (c) 2018-2022 The strace developers. # All rights reserved. # # SPDX-License-Identifier: GPL-2.0-or-later @@ -33,29 +33,7 @@ ;; esac -# Detect current personality designation -if "x$STRACE_NATIVE_ARCH" = "x$STRACE_ARCH" ; then - case "$STRACE_NATIVE_ARCH" in - x32) - cur_pers=x32 - ;; - *) - cur_pers="$(($SIZEOF_LONG * 8))" - ;; - esac -else - if "x$SIZEOF_KERNEL_LONG_T" = "x$SIZEOF_LONG" ; then - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=32 - else - 8 -eq "$SIZEOF_KERNEL_LONG_T" || - fail_ "sizeof(kernel_long_t) = $SIZEOF_KERNEL_LONG_T != 8" - 4 -eq "$SIZEOF_LONG" || - fail_ "sizeof(long) = $SIZEOF_LONG != 4" - cur_pers=x32 - fi -fi +cur_pers=$(print_current_personality_designator) pers_found=0 set -- $supported_pers
View file
_service:tar_scm:strace-6.1.tar.xz/tests/qualify_personality_all.sh
Added
@@ -0,0 +1,91 @@ +#! /bin/sh -efu +# +# Common code for strace --trace=all@pers tests. +# +# Copyright (c) 2018-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + + "$#" -eq 1 || + fail_ 'No personality designation ("64", "32", "x32") specified' + +target_pers="$1" +shift + +trace_expr="all@$target_pers" + +case "$STRACE_NATIVE_ARCH" in +x86_64) + native_pers='64' + supported_pers='64 32 x32' + ;; +x32) + native_pers='x32' + supported_pers='x32 32' + ;; +aarch64|powerpc64|s390x|sparc64|tile) + native_pers='64' + supported_pers='64 32' + ;; +*) + native_pers=$(($SIZEOF_LONG * 8)) + supported_pers=$native_pers + ;; +esac + +pers_found= +for i in $supported_pers; do + if "$target_pers" = "$i" ; then + pers_found=1 + break + fi +done + + -n "$pers_found" || + skip_ "Personality '$target_pers' is not supported on architecture" \ + "'$STRACE_NATIVE_ARCH' (supported personalities: $supported_pers)" + +cur_pers=$(print_current_personality_designator) +if "$target_pers" = "$cur_pers" ; then + skip_ "$trace_expr would match all syscalls on $STRACE_ARCH" +fi + +if "$target_pers" != "$native_pers" ; then + # reset $NAME, so that "$NAME.in" used by test_trace_expr + # would point to an empty file. + NAME=qualify_personality_empty + + test_trace_expr '' --trace="$trace_expr" + exit +fi + +if "$cur_pers:$target_pers" = 'x32:64' ; then + skip_ "x32 executables may invoke $STRACE_NATIVE_ARCH syscalls" +fi + +# $trace_expr would match the native execve +cat > "$EXP" <<'__EOF__' +execve(at)?\(.* +__EOF__ + +check_prog head +check_prog tail + +while read -r t; do { + # skip lines beginning with "#" symbol + case "$t" in + ''|'#'*) continue ;; + esac + + try_run_prog "../$t" || continue + run_strace -qq -esignal=none --trace="$trace_expr" "../$t" > /dev/null + + head -n1 < "$LOG" > "$OUT" + match_grep "$OUT" "$EXP" + + tail -n +2 < "$LOG" > "$OUT" + match_diff "$OUT" /dev/null +} < /dev/null; done < "$srcdir/pure_executables.list"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/read-write.c -> _service:tar_scm:strace-6.1.tar.xz/tests/read-write.c
Changed
@@ -2,7 +2,7 @@ * Check decoding and dumping of read and write syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -28,9 +28,8 @@ "................................" "................................" "................................"; - unsigned int i; - for (i = 0; i < len; i += 16) { + for (unsigned int i = 0; i < len; i += 16) { unsigned int n = len - i > 16 ? 16 : len - i; const char *dump = hexdump_memdup(str + i, n); @@ -41,7 +40,7 @@ } } -static inline void +static void dump_str(const char *str, const unsigned int len) { dump_str_ex(str, len, 5); @@ -51,11 +50,10 @@ print_hex(const char *str, const unsigned int len) { const unsigned char *ustr = (const unsigned char *) str; - unsigned int i; tprintf("\""); - for (i = 0; i < len; ++i) { + for (unsigned int i = 0; i < len; ++i) { unsigned int c = ustri; if (i >= DEFAULT_STRLEN) { @@ -126,8 +124,7 @@ if (!err_desc) dump_str(buf, len); - unsigned int i; - for (i = 0; i < len; ++i) + for (unsigned int i = 0; i < len; ++i) bufi = i; rc = k_write(out_fd, buf, len); @@ -284,8 +281,7 @@ if (open("/dev/null", O_WRONLY) != 5) perror_msg_and_fail("open"); - unsigned int i; - for (i = 0; i <= DEFAULT_STRLEN; ++i) + for (unsigned int i = 0; i <= DEFAULT_STRLEN; ++i) test_dump(i, false); test_dump(256, true);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/readahead.c -> _service:tar_scm:strace-6.1.tar.xz/tests/readahead.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -62,14 +62,11 @@ int main(void) { - unsigned i; - unsigned j; - unsigned k; ssize_t rc; - for (i = 0; i < ARRAY_SIZE(fds); i++) - for (j = 0; j < ARRAY_SIZE(offsets); j++) - for (k = 0; k < ARRAY_SIZE(counts); k++) { + for (unsigned int i = 0; i < ARRAY_SIZE(fds); ++i) + for (unsigned int j = 0; j < ARRAY_SIZE(offsets); ++j) + for (unsigned int k = 0; k < ARRAY_SIZE(counts); ++k) { rc = readahead(fdsi, offsetsj, countsk); printf("readahead(%d, %lld, %lu) = %s\n",
View file
_service:tar_scm:strace-5.14.tar.xz/tests/redirect-fds.c -> _service:tar_scm:strace-6.1.tar.xz/tests/redirect-fds.c
Changed
@@ -45,8 +45,8 @@ { assert(ac == 1 + N_FDS); - int rc = 0, fd; - for (fd = 1; fd < 1 + N_FDS; ++fd) + int rc = 0; + for (int fd = 1; fd < 1 + N_FDS; ++fd) if ((rc = check_fd(fd - 1, avfd))) break;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/request_key.c -> _service:tar_scm:strace-6.1.tar.xz/tests/request_key.c
Changed
@@ -53,11 +53,6 @@ char *bogus_desc = tail_memdup(unterminated2, sizeof(unterminated2)); char *bogus_info = tail_memdup(unterminated3, sizeof(unterminated3)); - unsigned i; - unsigned j; - unsigned k; - unsigned l; - struct { const char *type; const char *str; @@ -103,10 +98,14 @@ { -1, "KEY_SPEC_THREAD_KEYRING" }, }; - for (i = 0; i < ARRAY_SIZE(types); i++) - for (j = 0; j < ARRAY_SIZE(descs); j++) - for (k = 0; k < ARRAY_SIZE(infos); k++) - for (l = 0; l < ARRAY_SIZE(keyrings); l++) + for (unsigned int i = 0; + i < ARRAY_SIZE(types); ++i) + for (unsigned int j = 0; + j < ARRAY_SIZE(descs); ++j) + for (unsigned int k = 0; + k < ARRAY_SIZE(infos); ++k) + for (unsigned int l = 0; + l < ARRAY_SIZE(keyrings); ++l) do_request_key( typesi.type, typesi.str, descsj.desc, descsj.str,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/rt_sigsuspend.c -> _service:tar_scm:strace-6.1.tar.xz/tests/rt_sigsuspend.c
Changed
@@ -29,9 +29,7 @@ iterate(const char *const text, const int sig, const void *const set, unsigned int size) { - const void *mask; - - for (mask = set;; size >>= 1, mask += size) { + for (const void *mask = set;; size >>= 1, mask += size) { raise(sig); assert(k_sigsuspend(mask, size) == -1); if (EINTR == errno) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests/s390_pci_mmio_read_write.c -> _service:tar_scm:strace-6.1.tar.xz/tests/s390_pci_mmio_read_write.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_pci_mmio_read and s390_pci_mmio_write syscalls. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -97,13 +97,16 @@ (kernel_ulong_t) 0xfacefeedac0ffeedULL, }; - unsigned int i, j, k, l; unsigned int ctr = 0; - for (i = 0; i < ARRAY_SIZE(addrs); i++) { - for (j = 0; j < ARRAY_SIZE(bufs); j++) { - for (k = 0; k < ARRAY_SIZE(sizes); k++) { - for (l = 0; l < ARRAY_SIZE(bools); l++) { + for (unsigned int i = 0; + i < ARRAY_SIZE(addrs); ++i) { + for (unsigned int j = 0; + j < ARRAY_SIZE(bufs); ++j) { + for (unsigned int k = 0; + k < ARRAY_SIZE(sizes); ++k) { + for (unsigned int l = 0; + l < ARRAY_SIZE(bools); ++l) { bool valid = bufsj.buf && bufsj.size >= MIN(sizesk,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/s390_runtime_instr.c -> _service:tar_scm:strace-6.1.tar.xz/tests/s390_runtime_instr.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_runtime_instr syscall. * - * Copyright (c) 2018-2019 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -42,16 +42,15 @@ { 63, "SIGRT_31" }, }; - unsigned int i; long rc; - for (i = 0; i < ARRAY_SIZE(cmd_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(cmd_args); ++i) { rc = syscall(__NR_s390_runtime_instr, cmd_argsi.cmd, 0xdead); printf("s390_runtime_instr(%s) = %s\n", cmd_argsi.cmd_str, sprintrc(rc)); } - for (i = 0; i < ARRAY_SIZE(start_sig_args); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(start_sig_args); ++i) { long saved_errno; rc = syscall(__NR_s390_runtime_instr, 1, start_sig_argsi.sig);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/s390_sthyi.c -> _service:tar_scm:strace-6.1.tar.xz/tests/s390_sthyi.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of s390_sthyi syscall. * - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -27,7 +27,7 @@ # define VERBOSE 0 # endif -static inline bool +static bool print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -38,7 +38,8 @@ return true; } -static inline bool +# if VERBOSE +static bool print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { if (!zero && !bufoffs) @@ -48,8 +49,9 @@ return true; } +# endif -static inline bool +static bool print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint16_t val = *(uint16_t *) (buf + offs); @@ -62,7 +64,7 @@ return true; } -static inline bool +static bool print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { uint32_t val = *(uint32_t *) (buf + offs); @@ -75,7 +77,7 @@ return true; } -static inline bool +static bool print_weight(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) { @@ -94,7 +96,7 @@ return false; } -static inline char * +static char * ebcdic2ascii(unsigned char *ebcdic, size_t size) { static char ascii_bufEBCDIC_MAX_LEN; @@ -148,7 +150,8 @@ return ascii_buf; } -static inline bool +# if VERBOSE +static bool is_empty(unsigned char *ptr, size_t size) { size_t i; @@ -158,8 +161,9 @@ return i == size; } +# endif -static inline bool +static bool print_ebcdic(const char *prefix, unsigned char *addr, unsigned int offs, size_t size, bool zero, bool blank) { @@ -185,7 +189,8 @@ return true; } -static inline void +# if VERBOSE +static void print_funcs(unsigned char *addr, unsigned int offs) { bool cont; @@ -222,6 +227,7 @@ printf(" */"); } +# endif static void print_hypervisor_header(unsigned char *buf, int level, unsigned int offs_pos,
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sched.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/sched.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr times -e/sched); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sched test_trace_expr 'times|times-.*' -e/sched); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr times -e/sched +test_trace_expr 'times|times-.*' -e/sched
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sched_xetaffinity.c -> _service:tar_scm:strace-6.1.tar.xz/tests/sched_xetaffinity.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sched_getaffinity and sched_setaffinity syscalls. * * Copyright (c) 2016-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -79,15 +79,43 @@ printf("sched_getaffinity(%d%s, %u, ", pid, pid_str, cpuset_size); const char *sep; unsigned int i, cpu; + unsigned int first_cpu = -1U; + unsigned int first_crop_cpu = -1U; for (i = 0, cpu = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; cpu = i; + if (first_cpu == -1U) + first_cpu = i; + if (first_crop_cpu == -1U && i >= 8) + first_crop_cpu = i; } } printf(") = %s\n", errstr); + long rc = setaffinity(pid, 0, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 0, ) = %s\n", + pid, pid_str, sprintrc(rc)); + + rc = setaffinity(pid, 1, ((char *) cpuset) + cpuset_size); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 1, %p) = %s\n", + pid, pid_str, ((char *) cpuset) + cpuset_size, sprintrc(rc)); + + static const uint8_t first_oob = BE_LE(SIZEOF_LONG == 4 ? 39 : 7, 56); + if (first_crop_cpu != -1U && first_crop_cpu < 56) { + CPU_ZERO_S(cpuset_size, cpuset); + CPU_SET_S(first_crop_cpu, cpuset_size, cpuset); + CPU_SET_S(first_oob, cpuset_size, cpuset); + if (setaffinity(pid, 7, cpuset)) + perror_msg_and_skip("sched_setaffinity()"); + pidns_print_leader(); + printf("sched_setaffinity(%d%s, 7, %u) = 0\n", + pid, pid_str, first_crop_cpu); + } + CPU_ZERO_S(cpuset_size, cpuset); CPU_SET_S(cpu, cpuset_size, cpuset); if (setaffinity(pid, cpuset_size, cpuset)) @@ -108,7 +136,7 @@ for (i = 0, sep = ""; i < (unsigned) ret_size * 8; ++i) { if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) { printf("%s%u", sep, i); - sep = ", "; + sep = " "; } } printf(") = %s\n", errstr);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/seccomp-filter-v.c -> _service:tar_scm:strace-6.1.tar.xz/tests/seccomp-filter-v.c
Changed
@@ -2,7 +2,7 @@ * Check verbose decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -98,8 +98,7 @@ tprintf("seccomp(SECCOMP_SET_MODE_FILTER, 0, {len=0, filter=})" " = -1 EINVAL (%m)\n"); - unsigned int i; - for (i = 0; i <= BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i <= BPF_MAXINSNS; ++i) { const struct sock_filter stmt = BPF_STMT(BPF_CLASS(i), i << 16); big_filteri = stmt; @@ -111,9 +110,11 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len); - for (i = 0; i < BPF_MAXINSNS; ++i) { + for (unsigned int i = 0; i < BPF_MAXINSNS; ++i) { if (i) tprintf(", "); switch (BPF_CLASS(i)) {
View file
_service:tar_scm:strace-5.14.tar.xz/tests/seccomp-filter.c -> _service:tar_scm:strace-6.1.tar.xz/tests/seccomp-filter.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of seccomp SECCOMP_SET_MODE_FILTER. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -33,12 +33,14 @@ "SECCOMP_FILTER_FLAG_TSYNC|SECCOMP_FILTER_FLAG_LOG|" "SECCOMP_FILTER_FLAG_SPEC_ALLOW|" "SECCOMP_FILTER_FLAG_NEW_LISTENER|" - "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|0xffffffe0", + "SECCOMP_FILTER_FLAG_TSYNC_ESRCH|" + "SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV|" + "0xffffffc0", prog->len, prog->filter, rc, errno2name()); - rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -32L, efault); + rc = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, -64L, efault); printf("seccomp(SECCOMP_SET_MODE_FILTER, %s, %p) = %ld %s (%m)\n", - "0xffffffe0 /* SECCOMP_FILTER_FLAG_??? */", + "0xffffffc0 /* SECCOMP_FILTER_FLAG_??? */", efault, rc, errno2name()); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/seccomp-strict.c -> _service:tar_scm:strace-6.1.tar.xz/tests/seccomp-strict.c
Changed
@@ -24,7 +24,7 @@ long rc; rc = syscall(__NR_seccomp, -1L, -1L, addr); - printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %u, %#llx)" + printf("seccomp(%#x /* SECCOMP_SET_MODE_??? */, %#x, %#llx)" " = %s\n", -1, -1, (unsigned long long) addr, sprintrc(rc)); fflush(stdout);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/seccomp_get_action_avail.c -> _service:tar_scm:strace-6.1.tar.xz/tests/seccomp_get_action_avail.c
Changed
@@ -34,7 +34,6 @@ kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL | SECCOMP_GET_ACTION_AVAIL; kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; - unsigned int i; struct { uint32_t val; @@ -51,7 +50,7 @@ { 0xffffffff, "0xffffffff /* SECCOMP_RET_??? */" } }; - for (i = 0; i < ARRAY_SIZE(actions); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(actions); ++i) { *act = actionsi.val; k_seccomp(op, flags, (uintptr_t) act); printf("seccomp(SECCOMP_GET_ACTION_AVAIL, 0, %s) = %s\n", @@ -72,7 +71,7 @@ flags |= 0xcafef00d; k_seccomp(op, flags, 0); - printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %u, NULL) = %s\n", + printf("seccomp(SECCOMP_GET_ACTION_AVAIL, %#x, NULL) = %s\n", (unsigned int) flags, errstr); puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-6.1.tar.xz/tests/seccomp_get_notif_sizes-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 1 +#include "seccomp_get_notif_sizes.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/seccomp_get_notif_sizes-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes-success -einject=seccomp:retval=42 -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=seccomp:retval=42 -etrace=seccomp -a42 "../seccomp_get_notif_sizes-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/seccomp_get_notif_sizes.c
Added
@@ -0,0 +1,97 @@ +/* + * Check decoding of seccomp SECCOMP_GET_NOTIF_SIZES. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +#include <linux/seccomp.h> + +#ifndef SECCOMP_GET_NOTIF_SIZES +# define SECCOMP_GET_NOTIF_SIZES 3 +#endif + +#ifndef INJECT_RETVAL +# define INJECT_RETVAL 0 +#endif + +#if INJECT_RETVAL +# define INJ_STR " (INJECTED)" +#else +# define INJ_STR "" +#endif + +static const char *errstr; + +static long +k_seccomp(const kernel_ulong_t op, const kernel_ulong_t flags, + const kernel_ulong_t args) +{ + const long rc = syscall(__NR_seccomp, op, flags, args); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + uint16_t *sizes = tail_alloc(sizeof(*sizes) * 3); + kernel_ulong_t op = (kernel_ulong_t) 0xfacefeed00000000ULL + | SECCOMP_GET_NOTIF_SIZES; + kernel_ulong_t flags = (kernel_ulong_t) 0xdeadbeef00000000ULL; + long rc; + + rc = k_seccomp(op, flags | 0xdeadbeef, 0); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0xdeadbeef, NULL) = %s" + INJ_STR "\n", errstr); + + if (F8ILL_KULONG_SUPPORTED) { + rc = k_seccomp(op, flags, f8ill_ptr_to_kulong(0)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %#llx) = %s" + INJ_STR "\n", + (unsigned long long) f8ill_ptr_to_kulong(0), errstr); + } + + rc = k_seccomp(op, flags, (uintptr_t) (sizes + 1)); + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, 0, %p) = %s" INJ_STR "\n", + sizes + 1, errstr); + + for (size_t i = 0; i < 2; i++) { + sizes0 = 0xcafe; + sizes1 = 0xfeed; + sizes2 = 0xbeef; + rc = k_seccomp(op, flags | (i * 0xdeadc0de), (uintptr_t) sizes); + if (rc < 0 + && errno != ENOSYS && errno != EINVAL && errno != EPERM) { + perror_msg_and_fail("Unexpected seccomp(" + "SECCOMP_GET_NOTIF_SIZES) error"); + } + printf("seccomp(SECCOMP_GET_NOTIF_SIZES, %s, ", + i ? "0xdeadc0de" : "0"); + if (rc >= 0) { + printf("{seccomp_notif=%hu, seccomp_notif_resp=%hu" + ", seccomp_data=%hu}", + (uint16_t) (INJECT_RETVAL ? 0xcafe : sizes0), + (uint16_t) (INJECT_RETVAL ? 0xfeed : sizes1), + (uint16_t) (INJECT_RETVAL ? 0xbeef : sizes2)); + } else { + printf("%p", sizes); + } + + printf(") = %s" INJ_STR "\n", errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/seccomp_get_notif_sizes.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (seccomp_get_notif_sizes -etrace=seccomp -a42); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -etrace=seccomp -a42
View file
_service:tar_scm:strace-5.14.tar.xz/tests/secontext.am -> _service:tar_scm:strace-6.1.tar.xz/tests/secontext.am
Changed
@@ -3,63 +3,131 @@ secontext_EXECUTABLES = \ access--secontext \ access--secontext_full \ + access--secontext_full_mismatch \ + access--secontext_mismatch \ chmod--secontext \ chmod--secontext_full \ + chmod--secontext_full_mismatch \ + chmod--secontext_mismatch \ execve--secontext \ execve--secontext_full \ + execve--secontext_full_mismatch \ + execve--secontext_mismatch \ execveat--secontext \ execveat--secontext_full \ + execveat--secontext_full_mismatch \ + execveat--secontext_mismatch \ faccessat--secontext \ faccessat--secontext_full \ + faccessat--secontext_full_mismatch \ + faccessat--secontext_mismatch \ faccessat-y--secontext \ faccessat-y--secontext_full \ + faccessat-y--secontext_full_mismatch \ + faccessat-y--secontext_mismatch \ fanotify_mark--secontext \ fanotify_mark--secontext_full \ + fanotify_mark--secontext_full_mismatch \ + fanotify_mark--secontext_mismatch \ fchmod--secontext \ fchmod--secontext_full \ + fchmod--secontext_full_mismatch \ + fchmod--secontext_mismatch \ fchmod-y--secontext \ fchmod-y--secontext_full \ + fchmod-y--secontext_full_mismatch \ + fchmod-y--secontext_mismatch \ fchmodat--secontext \ fchmodat--secontext_full \ + fchmodat--secontext_full_mismatch \ + fchmodat--secontext_mismatch \ fchownat--secontext \ fchownat--secontext_full \ + fchownat--secontext_full_mismatch \ + fchownat--secontext_mismatch \ file_handle--secontext \ file_handle--secontext_full \ + file_handle--secontext_full_mismatch \ + file_handle--secontext_mismatch \ + getsockname--secontext \ + getsockname--secontext_full \ + getsockname--secontext_full_mismatch \ + getsockname--secontext_mismatch \ linkat--secontext \ linkat--secontext_full \ + linkat--secontext_full_mismatch \ + linkat--secontext_mismatch \ open--secontext \ open--secontext_full \ + open--secontext_full_mismatch \ + open--secontext_mismatch \ openat--secontext \ openat--secontext_full \ + openat--secontext_full_mismatch \ + openat--secontext_mismatch \ # access__secontext_LDADD = $(LDADD) $(libselinux_LDADD) access__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +access__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) chmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +chmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execve__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execve__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) execveat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +execveat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) faccessat_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +faccessat_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fanotify_mark__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fanotify_mark__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmod_y__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmod_y__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchmodat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchmodat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) fchownat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +fchownat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_LDADD = $(LDADD) $(libselinux_LDADD) file_handle__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +file_handle__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +getsockname__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) linkat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +linkat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_LDADD = $(LDADD) $(libselinux_LDADD) open__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +open__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_LDADD = $(LDADD) $(libselinux_LDADD) openat__secontext_full_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_full_mismatch_LDADD = $(LDADD) $(libselinux_LDADD) +openat__secontext_mismatch_LDADD = $(LDADD) $(libselinux_LDADD)
View file
_service:tar_scm:strace-5.14.tar.xz/tests/secontext.c -> _service:tar_scm:strace-6.1.tar.xz/tests/secontext.c
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -13,18 +13,17 @@ # include <errno.h> # include <stdlib.h> # include <string.h> +# include <sys/stat.h> # include <unistd.h> # include <selinux/selinux.h> +# include <selinux/label.h> # include "xmalloc.h" # define TEST_SECONTEXT # include "secontext.h" -static char * -secontext_format(char *context, const char *fmt) - ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC; - +ATTRIBUTE_FORMAT((printf, 2, 0)) ATTRIBUTE_MALLOC static char * secontext_format(char *context, const char *fmt) { @@ -54,6 +53,79 @@ return context; } +char * +get_secontext_field(const char *full_context, enum secontext_field field) +{ + int saved_errno = errno; + + if (!full_context) + return NULL; + + char *saveptr = NULL; + const char *token; + unsigned int i; + + char *ctx_copy = xstrdup(full_context); + char *context = NULL; + for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; + token; token = strtok_r(NULL, ":", &saveptr), i++) { + if (i == field) { + context = xstrdup(token); + break; + } + } + if (!context) + context = xstrdup(full_context); + free(ctx_copy); + + errno = saved_errno; + return context; +} + +static char * +raw_expected_secontext_full_file(const char *filename) +{ + int saved_errno = errno; + char *secontext; + + static struct selabel_handle *hdl; + if (!hdl) { + hdl = selabel_open(SELABEL_CTX_FILE, NULL, 0); + if (!hdl) + perror_msg_and_skip("selabel_open"); + } + + char *resolved = realpath(filename, NULL); + if (!resolved) + perror_msg_and_fail("realpath: %s", filename); + + struct stat statbuf; + if (stat(resolved, &statbuf) < 0) + perror_msg_and_fail("stat: %s", resolved); + + if (selabel_lookup(hdl, &secontext, resolved, statbuf.st_mode) < 0) + perror_msg_and_skip("selabel_lookup: %s", resolved); + free(resolved); + + char *full_secontext = xstrdup(secontext); + freecon(secontext); + errno = saved_errno; + return full_secontext; +} + +static char * +raw_expected_secontext_short_file(const char *filename) +{ + int saved_errno = errno; + + char *ctx = raw_expected_secontext_full_file(filename); + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); + + errno = saved_errno; + return type; +} + static char * raw_secontext_full_file(const char *filename) { @@ -70,34 +142,50 @@ } static char * -raw_secontext_short_file(const char *filename) +raw_secontext_full_fd(int fd) { int saved_errno = errno; + char *full_secontext = NULL; + char *secontext; - char *ctx = raw_secontext_full_file(filename); - if (ctx == NULL) - return ctx; + if (fgetfilecon(fd, &secontext) >= 0) { + full_secontext = strip_trailing_newlines(xstrdup(secontext)); + freecon(secontext); + } + errno = saved_errno; + return full_secontext; +} - char *saveptr = NULL; - const char *token; - unsigned int i; +char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + char *ctx = raw_secontext_full_file(file); + char *type = get_secontext_field(ctx, field); + free(ctx); - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; - } - } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); + return type; +} + +char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + char *ctx = raw_secontext_full_fd(fd); + char *type = get_secontext_field(ctx, field); free(ctx); - errno = saved_errno; - return context; + return type; +} + +static char * +raw_secontext_short_file(const char *filename) +{ + return get_secontext_field_file(filename, SECONTEXT_TYPE); +} + +static char * +raw_secontext_short_fd(int fd) +{ + return get_secontext_field_fd(fd, SECONTEXT_TYPE); } static char * @@ -121,35 +209,39 @@ int saved_errno = errno; char *ctx = raw_secontext_full_pid(pid); - if (ctx == NULL) - return ctx; + char *type = get_secontext_field(ctx, SECONTEXT_TYPE); + free(ctx); - char *saveptr = NULL; - const char *token; - int i; + errno = saved_errno; + return type; +} - char *ctx_copy = xstrdup(ctx); - char *context = NULL; - for (token = strtok_r(ctx_copy, ":", &saveptr), i = 0; - token; token = strtok_r(NULL, ":", &saveptr), i++) { - if (i == 2) { - context = xstrdup(token); - break; +char * +secontext_full_file(const char *filename, bool mismatch) +{ + int saved_errno = errno; + char *context = raw_secontext_full_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_full_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; } + free(expected); } - if (context == NULL) - context = xstrdup(ctx); - free(ctx_copy); - free(ctx); - errno = saved_errno; - return context; + return FORMAT_SPACE_BEFORE(context); } char * -secontext_full_file(const char *filename) +secontext_full_fd(int fd) { - return FORMAT_SPACE_BEFORE(raw_secontext_full_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_full_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -159,9 +251,31 @@ } char * -secontext_short_file(const char *filename) +secontext_short_file(const char *filename, bool mismatch) { - return FORMAT_SPACE_BEFORE(raw_secontext_short_file(filename)); + int saved_errno = errno; + char *context = raw_secontext_short_file(filename); + if (context && mismatch) { + char *expected = raw_expected_secontext_short_file(filename); + if (expected && strcmp(context, expected)) { + char *context_mismatch = + xasprintf("%s!!%s", context, expected); + free(context); + context = context_mismatch; + } + free(expected); + } + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); +} + +char * +secontext_short_fd(int fd) +{ + int saved_errno = errno; + char *context = raw_secontext_short_fd(fd); + errno = saved_errno; + return FORMAT_SPACE_BEFORE(context); } char * @@ -170,32 +284,46 @@ return FORMAT_SPACE_AFTER(raw_secontext_short_pid(pid)); } +void reset_secontext_file(const char *file) +{ + char *proper_ctx = raw_expected_secontext_full_file(file); + (void) setfilecon(file, proper_ctx); + free(proper_ctx); +} + void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { + int saved_errno = errno; + assert(field >= SECONTEXT_USER && field <= SECONTEXT_TYPE); + char *ctx = raw_secontext_full_file(file); if (ctx == NULL) return; char *saveptr = NULL; char *token; - int field; + int nfields; char *split4; - for (token = strtok_r(ctx, ":", &saveptr), field = 0; - token; token = strtok_r(NULL, ":", &saveptr), field++) { - assert(field < 4); - splitfield = token; + for (token = strtok_r(ctx, ":", &saveptr), nfields = 0; + token; token = strtok_r(NULL, ":", &saveptr), nfields++) { + assert(nfields < 4); + splitnfields = token; } - assert(field == 4); + assert(nfields == 4); + + splitfield = (char *)newvalue; char *newcontext = xasprintf("%s:%s:%s:%s", split0, split1, - newtype, split3); + split2, split3); (void) setfilecon(file, newcontext); free(newcontext); free(ctx); + errno = saved_errno; } #endif /* HAVE_SELINUX_RUNTIME */
View file
_service:tar_scm:strace-5.14.tar.xz/tests/secontext.h -> _service:tar_scm:strace-6.1.tar.xz/tests/secontext.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 The strace developers. + * Copyright (c) 2020-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -9,35 +9,90 @@ #include "xmalloc.h" #include <unistd.h> -char *secontext_full_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_full_fd(int) ATTRIBUTE_MALLOC; +char *secontext_full_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_full_pid(pid_t) ATTRIBUTE_MALLOC; -char *secontext_short_file(const char *) ATTRIBUTE_MALLOC; +char *secontext_short_fd(int) ATTRIBUTE_MALLOC; +char *secontext_short_file(const char *, bool) ATTRIBUTE_MALLOC; char *secontext_short_pid(pid_t) ATTRIBUTE_MALLOC; +enum secontext_field { + SECONTEXT_USER, + SECONTEXT_ROLE, + SECONTEXT_TYPE +}; + #if defined TEST_SECONTEXT && defined HAVE_SELINUX_RUNTIME -void update_secontext_type(const char *file, const char *newtype); +/** + * Parse a SELinux context string and return a specified field, duplicated + * in a separate string. The caller is responsible for freeing the memory + * pointed by the returned value. + */ +char *get_secontext_field(const char *full_context, enum secontext_field field); + +char *get_secontext_field_fd(int fd, enum secontext_field field); +char *get_secontext_field_file(const char *file, enum secontext_field field); + +void reset_secontext_file(const char *file); + +void update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue); # ifdef PRINT_SECONTEXT_FULL -# define SECONTEXT_FILE(filename) secontext_full_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_full_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_full_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_full_fd(fd) # define SECONTEXT_PID(pid) secontext_full_pid(pid) # else -# define SECONTEXT_FILE(filename) secontext_short_file(filename) +# ifdef PRINT_SECONTEXT_MISMATCH +# define SECONTEXT_FILE(filename) secontext_short_file(filename, true) +# else +# define SECONTEXT_FILE(filename) secontext_short_file(filename, false) +# endif +# define SECONTEXT_FD(fd) secontext_short_fd(fd) # define SECONTEXT_PID(pid) secontext_short_pid(pid) # endif #else +static inline char * +get_secontext_field(const char *ctx, enum secontext_field field) +{ + return NULL; +} +static inline char * +get_secontext_field_fd(int fd, enum secontext_field field) +{ + return NULL; +} + +static inline char * +get_secontext_field_file(const char *file, enum secontext_field field) +{ + return NULL; +} + +static inline void +reset_secontext_file(const char *file) +{ +} + static inline void -update_secontext_type(const char *file, const char *newtype) +update_secontext_field(const char *file, enum secontext_field field, + const char *newvalue) { } +# define SECONTEXT_FD(fd) xstrdup("") # define SECONTEXT_FILE(filename) xstrdup("") # define SECONTEXT_PID(pid) xstrdup("")
View file
_service:tar_scm:strace-6.1.tar.xz/tests/segv_accerr.c
Added
@@ -0,0 +1,53 @@ +/* + * Check decoding of SEGV_ACCERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#ifdef SEGV_ACCERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig) +{ + _exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_NONE, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_handler = handler, + .sa_flags = SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + printf("--- SIGSEGV {si_signo=SIGSEGV" + ", si_code=SEGV_ACCERR, si_addr=%p} ---\n", p); + fflush(stdout); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_NONE page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("SEGV_ACCERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/segv_accerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_accerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-6.1.tar.xz/tests/segv_pkuerr.c
Added
@@ -0,0 +1,55 @@ +/* + * Check decoding of SEGV_PKUERR. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <signal.h> + +#if defined HAVE_SIGINFO_T_SI_PKEY && defined SEGV_PKUERR + +# include <stdio.h> +# include <stdlib.h> +# include <unistd.h> +# include <sys/mman.h> + +static void +handler(int sig, siginfo_t *info, void *ucontext) +{ + if (info->si_code != SEGV_PKUERR) + error_msg_and_skip("SIGSEGV: si_code = %d", info->si_code); + + printf("--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_PKUERR" + ", si_addr=%p, si_pkey=%u} ---\n", + info->si_addr, info->si_pkey); + exit(0); +} + +int +main(void) { + int *p = mmap(NULL, get_page_size(), PROT_EXEC, + MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); + if (p == MAP_FAILED) + perror_msg_and_fail("mmap"); + + const struct sigaction act = { + .sa_sigaction = handler, + .sa_flags = SA_SIGINFO | SA_RESETHAND + }; + if (sigaction(SIGSEGV, &act, NULL)) + perror_msg_and_fail("sigaction"); + + __asm__ volatile("":: "r" (*p)); + + error_msg_and_skip("PROT_EXEC page is readable"); +} + +#else + +SKIP_MAIN_UNDEFINED("HAVE_SIGINFO_T_SI_PKEY && SEGV_PKUERR") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/segv_pkuerr.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (segv_pkuerr -qq --trace=none); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -qq --trace=none
View file
_service:tar_scm:strace-5.14.tar.xz/tests/set_mempolicy.c -> _service:tar_scm:strace-6.1.tar.xz/tests/set_mempolicy.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of set_mempolicy syscall. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -66,6 +66,9 @@ { ARG_STR(0x4), "0x4 /* MPOL_LOCAL */", "MPOL_LOCAL" }, + { ARG_STR(0x5), + "0x5 /* MPOL_PREFERRED_MANY */", + "MPOL_PREFERRED_MANY" }, { ARG_STR(0x8000), "0x8000 /* MPOL_DEFAULT|MPOL_F_STATIC_NODES */", "MPOL_DEFAULT|MPOL_F_STATIC_NODES" }, @@ -80,9 +83,9 @@ "|MPOL_F_NUMA_BALANCING */", "MPOL_INTERLEAVE|MPOL_F_STATIC_NODES|MPOL_F_RELATIVE_NODES" "|MPOL_F_NUMA_BALANCING" }, - { ARG_STR(0x5), - "0x5 /* MPOL_??? */", - "0x5 /* MPOL_??? */" }, + { ARG_STR(0x6), + "0x6 /* MPOL_??? */", + "0x6 /* MPOL_??? */" }, { ARG_STR(0xffff1fff), "0xffff1fff /* MPOL_??? */", "0xffff1fff /* MPOL_??? */" }, @@ -111,8 +114,7 @@ if (nlongs) { putc('', stdout); - unsigned int i; - for (i = 0; i < nlongs + offset; ++i) { + for (unsigned int i = 0; i < nlongs + offset; ++i) { if (i) fputs(", ", stdout); if (i < nlongs) { @@ -120,7 +122,7 @@ fputs("...", stdout); break; } - printf("%#0*lx", (int) sizeof(long) * 2 + 2, + printf("%#0*lx", (int) sizeof(long) * 2, nodemaski); } else { printf("... /* %p */", nodemask + i);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/set_mempolicy_home_node.c
Added
@@ -0,0 +1,58 @@ +/* + * Check decoding of set_mempolicy_home_node syscall. + * + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#include <inttypes.h> +#include <stdio.h> +#include <stdint.h> +#include <unistd.h> + +static const char *errstr; + +static long +sys_set_mempolicy_home_node(kernel_ulong_t start, kernel_ulong_t len, + kernel_ulong_t home_node, kernel_ulong_t flags) +{ + static const kernel_ulong_t fill = + (kernel_ulong_t) 0xbadc0ded00000000ULL; + kernel_ulong_t arg1 = start; + kernel_ulong_t arg2 = len; + kernel_ulong_t arg3 = home_node; + kernel_ulong_t arg4 = flags; + kernel_ulong_t arg5 = fill | 0xdecaffed; + kernel_ulong_t arg6 = fill | 0xdeefaced; + + long rc = syscall(__NR_set_mempolicy_home_node, + arg1, arg2, arg3, arg4, arg5, arg6); + errstr = sprintrc(rc); + return rc; +} + +#define KUL_1 ((unsigned long long) (kernel_ulong_t) -1ULL) + +int +main(void) +{ + void *dummy; + + sys_set_mempolicy_home_node(0, 0, 0, 0); + printf("set_mempolicy_home_node(NULL, 0, 0, 0) = %s\n", errstr); + + sys_set_mempolicy_home_node((uintptr_t) &dummy, 1, 2, 3); + printf("set_mempolicy_home_node(%p, 1, 2, 0x3) = %s\n", &dummy, errstr); + + sys_set_mempolicy_home_node(-1, -2, -3, -4); + printf("set_mempolicy_home_node(%#llx, %llu, %llu, %#llx) = %s\n", + KUL_1, KUL_1 - 1, KUL_1 - 2, KUL_1 - 3, errstr); + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/set_mempolicy_home_node.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (set_mempolicy_home_node -a39 ); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a39
View file
_service:tar_scm:strace-5.14.tar.xz/tests/setfsugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests/setfsugid.c
Changed
@@ -37,9 +37,7 @@ (long) 0xfacefeeddeadbeefULL }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; unsigned int rc;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/setns.c -> _service:tar_scm:strace-6.1.tar.xz/tests/setns.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of setns syscall. * * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -14,29 +14,50 @@ #include <stdio.h> #include <unistd.h> +static const char *errstr; + +static long +k_setns(const int fd, const unsigned int flags) +{ + const kernel_ulong_t fill = (kernel_ulong_t) 0x0defaced00000000ULL; + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const kernel_ulong_t arg1 = fill | (unsigned int) fd; + const kernel_ulong_t arg2 = fill | flags; + const long rc = syscall(__NR_setns, + arg1, arg2, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + int main(void) { - static const kernel_ulong_t bogus_fd = - (kernel_ulong_t) 0xfeedfacedeadc0deULL; + static const int bogus_fd = 0xdeadc0de; static struct { - kernel_ulong_t val; + unsigned int val; const char *str; } nstypes = { - { (kernel_ulong_t) 0xdefaced100000000ULL, "0" }, - { (kernel_ulong_t) 0xbadc0dedfeedfaceULL, - "0xfeedface /* CLONE_NEW??? */" }, - { (kernel_ulong_t) 0xca75f15702000000ULL, "CLONE_NEWCGROUP" }, + { 0, "0" }, + { 0x00000080U, "CLONE_NEWTIME" }, + { 0x00020000U, "CLONE_NEWNS" }, + { 0x02000000U, "CLONE_NEWCGROUP" }, + { 0x04000000U, "CLONE_NEWUTS" }, + { 0x08000000U, "CLONE_NEWIPC" }, + { 0x10000000U, "CLONE_NEWUSER" }, + { 0x20000000U, "CLONE_NEWPID" }, + { 0x40000000U, "CLONE_NEWNET" }, + { 0x81fdff7fU, "0x81fdff7f /* CLONE_NEW??? */" }, + { -1U, + "CLONE_NEWTIME|CLONE_NEWNS|CLONE_NEWCGROUP|CLONE_NEWUTS|" + "CLONE_NEWIPC|CLONE_NEWUSER|CLONE_NEWPID|CLONE_NEWNET|" + "0x81fdff7f" }, }; - long rc; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(nstypes); i++) { - rc = syscall(__NR_setns, bogus_fd, nstypesi.val); + for (unsigned int i = 0; i < ARRAY_SIZE(nstypes); ++i) { + k_setns(bogus_fd, nstypesi.val); printf("setns(%d, %s) = %s\n", - (int) bogus_fd, nstypesi.str, sprintrc(rc)); + bogus_fd, nstypesi.str, errstr); } puts("+++ exited with 0 +++");
View file
_service:tar_scm:strace-5.14.tar.xz/tests/setresugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests/setresugid.c
Changed
@@ -56,9 +56,7 @@ TRIPLE(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e); const unsigned int sn = ugid2int(testsi.s);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/setreugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests/setreugid.c
Changed
@@ -55,9 +55,7 @@ PAIR(0xc0deffffU) }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int rn = ugid2int(testsi.r); const unsigned int en = ugid2int(testsi.e);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/setugid.c -> _service:tar_scm:strace-6.1.tar.xz/tests/setugid.c
Changed
@@ -36,9 +36,7 @@ -1L }; - unsigned int i; - - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int num = (unsigned UGID_TYPE) testsi; long expected;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/siginfo.c -> _service:tar_scm:strace-6.1.tar.xz/tests/siginfo.c
Changed
@@ -2,7 +2,7 @@ * Check SIGCHLD siginfo_t decoding. * * Copyright (c) 2015-2018 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,12 @@ #include <unistd.h> #include <sys/wait.h> +#include "time_enjoyment.h" + +enum { + CPUTIME_LIMIT_NSEC = 100000000, +}; + static siginfo_t sinfo; static void @@ -26,6 +32,9 @@ int main(void) { + char utime_str64; + char stime_str64; + tprintf("%s", ""); int fds2; @@ -65,10 +74,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=%d" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, sinfo.si_status, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); int s; assert(wait(&s) == pid); @@ -84,6 +95,7 @@ (void) close(1); char c; assert(read(0, &c, sizeof(c)) == 1); + enjoy_time(CPUTIME_LIMIT_NSEC); (void) raise(SIGUSR1); return 1; } @@ -96,10 +108,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED" ", si_pid=%d, si_uid=%d, si_status=SIGUSR1" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid); assert(WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1); @@ -112,6 +126,7 @@ if (!pid) { (void) close(1); + enjoy_time(CPUTIME_LIMIT_NSEC); raise(SIGSTOP); char c; assert(read(0, &c, sizeof(c)) == 1); @@ -123,20 +138,24 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED" ", si_pid=%d, si_uid=%d, si_status=SIGSTOP" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(kill(pid, SIGCONT) == 0); sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_CONTINUED" ", si_pid=%d, si_uid=%d, si_status=SIGCONT" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(write(1, "", 1) == 1); (void) close(1); @@ -144,10 +163,12 @@ sigsuspend(&unblock_mask); tprintf("--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED" ", si_pid=%d, si_uid=%d, si_status=0" - ", si_utime=%llu, si_stime=%llu} ---\n", + ", si_utime=%s, si_stime=%s} ---\n", sinfo.si_pid, sinfo.si_uid, - zero_extend_signed_to_ull(sinfo.si_utime), - zero_extend_signed_to_ull(sinfo.si_stime)); + clock_t_str(zero_extend_signed_to_ull(sinfo.si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(sinfo.si_stime), + ARRSZ_PAIR(stime_str))); assert(wait(&s) == pid && s == 0);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/so_error.c -> _service:tar_scm:strace-6.1.tar.xz/tests/so_error.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of SO_ERROR socket option. * * Copyright (c) 2018 Masatake YAMATO <yamato@redhat.com> - * Copyright (c) 2018-2020 The strace developers. + * Copyright (c) 2018-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -47,58 +47,88 @@ int main(void) { - in_port_t port = reserve_ephemeral_port (); - - /* - * Connect to the reserved port in NONBLOCK mode. - * The port is reserved but not listened. So - * the client doing "connect" gets error asynchronously. - */ - int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); - if (fd < 0) - perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); - - int flag = fcntl(fd, F_GETFL); - if (flag < 0) - perror_msg_and_skip("fcntl F_GETFL"); - flag |= O_NONBLOCK; - if (fcntl(fd, F_SETFL, flag) < 0) - perror_msg_and_skip("fcntl F_SETFL"); + static const int sizes = { + -1, 0, 1, + sizeof(int) - 1, + sizeof(int), + sizeof(int) + 1, + }; - struct sockaddr_in addr = { + TAIL_ALLOC_OBJECT_CONST_PTR(int, sock_errno); + in_port_t port = reserve_ephemeral_port(); + const struct sockaddr_in addr = { .sin_family = AF_INET, .sin_addr.s_addr = htonl(INADDR_LOOPBACK), .sin_port = htons(port), }; - if (connect(fd, (void *) &addr, sizeof(addr)) == 0) - error_msg_and_skip("connect unexpectedly succeeded"); - if (errno != EINPROGRESS) - perror_msg_and_skip("connect failed for unexpected reason"); - struct timeval to = { - .tv_sec = 1, - .tv_usec = 0, - }; - fd_set wfds; - FD_ZERO(&wfds); - FD_SET(fd, &wfds); - if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) - perror_msg_and_skip("select"); + for (size_t i = 0; i < ARRAY_SIZE(sizes); i++) { + /* + * Connect to the reserved port in NONBLOCK mode. + * The port is reserved but not listened. So + * the client doing "connect" gets error asynchronously. + */ + int fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_STREAM"); + + int flag = fcntl(fd, F_GETFL); + if (flag < 0) + perror_msg_and_skip("fcntl F_GETFL"); + flag |= O_NONBLOCK; + if (fcntl(fd, F_SETFL, flag) < 0) + perror_msg_and_skip("fcntl F_SETFL"); + + if (connect(fd, (void *) &addr, sizeof(addr)) == 0) + error_msg_and_skip("connect unexpectedly succeeded"); + if (errno != EINPROGRESS) + perror_msg_and_skip("connect failed for unexpected reason"); + + struct timeval to = { + .tv_sec = 1, + .tv_usec = 0, + }; + fd_set wfds; + FD_ZERO(&wfds); + FD_SET(fd, &wfds); + if (select(fd + 1, NULL, &wfds, NULL, &to) < 0) + perror_msg_and_skip("select"); + + *sock_errno = 0xbadc0ded; + socklen_t optlen = sizesi; + long rc = getsockopt(fd, SOL_SOCKET, SO_ERROR, sock_errno, + &optlen); + const char *errstr = sprintrc(rc); + if (sizesi > 0 && rc < 0) + perror_msg_and_skip("getsockopt"); + if (sizesi >= (int) sizeof(*sock_errno) + && *sock_errno != ECONNREFUSED) { + errno = *sock_errno; + perror_msg_and_skip("unexpected socket error"); + } + if (sizesi >= (int) sizeof(*sock_errno) + && optlen != sizeof(*sock_errno)) { + error_msg_and_skip("unexpected data size for error" + " option: %d", optlen); + } + + printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ", fd); + if (sizesi <= 0) { + printf("%p, %d", sock_errno, sizesi); + } else if (sizesi < (int) sizeof(*sock_errno)) { + print_quoted_hex(sock_errno, sizesi); + printf(", %u", sizesi); + } else if (sizesi == sizeof(*sock_errno)) { + printf("ECONNREFUSED, %zu", sizeof(*sock_errno)); + } else { + printf("ECONNREFUSED, %u => %zu", + sizesi, sizeof(*sock_errno)); + } + printf(") = %s\n", errstr); - int sock_errno; - socklen_t optlen = sizeof(sock_errno); - if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &sock_errno, &optlen) < 0) - perror_msg_and_skip("getsockopt"); - if (sock_errno != ECONNREFUSED) { - errno = sock_errno; - perror_msg_and_skip("unexpected socket error"); + close(fd); } - if (optlen != sizeof(sock_errno)) - error_msg_and_skip("unexpected data size for error option: %d", - optlen); - printf("getsockopt(%d, SOL_SOCKET, SO_ERROR, ECONNREFUSED, %u) = 0\n", - fd, optlen); puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xabbrev-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xabbrev.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xabbrev-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev-y -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xabbrev -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockaddr_xlat-Xabbrev.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xabbrev.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xabbrev -Xabbrev -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xabbrev -e trace=connect +run_strace_match_diff -Xabbrev -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xraw-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xraw.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xraw-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw-y -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xraw -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockaddr_xlat-Xraw.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xraw.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xraw -Xraw -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xraw -e trace=connect +run_strace_match_diff -Xraw -e trace=connect -a22
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xverbose-y.c
Added
@@ -0,0 +1,4 @@ +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#define FD0_PATH "</dev/null>" +#define FD7_PATH "</dev/zero>" +#include "sockaddr_xlat-Xverbose.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xverbose-y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose-y -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Xverbose -y -e trace=connect -a22 </dev/null 7>/dev/zero
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockaddr_xlat-Xverbose.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat-Xverbose.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockaddr_xlat-Xverbose -Xverbose -e trace=connect -a22); do not edit. . "${srcdir=.}/init.sh" -run_strace_match_diff -Xverbose -e trace=connect +run_strace_match_diff -Xverbose -e trace=connect -a22
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockaddr_xlat.c -> _service:tar_scm:strace-6.1.tar.xz/tests/sockaddr_xlat.c
Changed
@@ -1,7 +1,7 @@ /* * Check decoding of sockaddr fields under xlat styles. * - * Copyright (c) 2015-2019 The strace developers. + * Copyright (c) 2015-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -15,6 +15,8 @@ #include <linux/if_arp.h> #include <linux/if_ether.h> #include <linux/if_packet.h> +#include <linux/mctp.h> + #ifdef HAVE_BLUETOOTH_BLUETOOTH_H # include <bluetooth/bluetooth.h> # include <bluetooth/hci.h> @@ -23,6 +25,167 @@ # include <bluetooth/sco.h> #endif +#ifdef HAVE_LINUX_RXRPC_H +# include <linux/rxrpc.h> +#else +struct sockaddr_rxrpc { + uint16_t srx_family; + uint16_t srx_service; + uint16_t transport_type; + uint16_t transport_len; + union { + uint16_t family; + struct sockaddr_in sin; + struct sockaddr_in6 sin6; + } transport; +}; +#endif + +/* From include/net/af_ieee802154.h */ +enum { + IEEE802154_ADDR_NONE = 0x0, + /* RESERVED = 0x01, */ + IEEE802154_ADDR_SHORT = 0x2, /* 16-bit address + PANid */ + IEEE802154_ADDR_LONG = 0x3, /* 64-bit address + PANid */ +}; + +/* address length, octets */ +#define IEEE802154_ADDR_LEN 8 + +struct ieee802154_addr_sa { + int addr_type; + uint16_t pan_id; + union { + uint8_t hwaddrIEEE802154_ADDR_LEN; + uint16_t short_addr; + }; +}; + +#define IEEE802154_PANID_BROADCAST 0xffff +#define IEEE802154_ADDR_BROADCAST 0xffff +#define IEEE802154_ADDR_UNDEF 0xfffe + +struct sockaddr_ieee802154 { + __kernel_sa_family_t family; /* AF_IEEE802154 */ + struct ieee802154_addr_sa addr; +}; +/* End of include/net/af_ieee802154.h copy-paste */ + +#ifdef HAVE_LINUX_IF_ALG_H +# include <linux/if_alg.h> +#else +struct sockaddr_alg { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name64; +}; +#endif + +#ifndef CRYPTO_ALG_KERN_DRIVER_ONLY +# define CRYPTO_ALG_KERN_DRIVER_ONLY 0x1000 +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_ALG_NEW +struct sockaddr_alg_new { + uint16_t salg_family; + uint8_t salg_type14; + uint32_t salg_feat; + uint32_t salg_mask; + uint8_t salg_name; +}; +#endif + +#ifdef HAVE_LINUX_NFC_H +# include <linux/nfc.h> +#else +struct sockaddr_nfc { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; +}; + +# define NFC_LLCP_MAX_SERVICE_NAME 63 +struct sockaddr_nfc_llcp { + uint16_t sa_family; + uint32_t dev_idx; + uint32_t target_idx; + uint32_t nfc_protocol; + uint8_t dsap; + uint8_t ssap; + char service_nameNFC_LLCP_MAX_SERVICE_NAME; + size_t service_name_len; +}; +#endif + +#ifdef HAVE_LINUX_VM_SOCKETS_H +# include <linux/vm_sockets.h> +#endif + +#ifdef HAVE_STRUCT_SOCKADDR_VM +# ifdef HAVE_STRUCT_SOCKADDR_VM_SVM_FLAGS +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +# else +# define SVM_FLAGS svm_zero0 +# define SVM_ZERO svm_zero + 1 +# define SVM_ZERO_FIRST svm_zero1 +# endif +#else +struct sockaddr_vm { + uint16_t svm_family; + uint16_t svm_reserved1; + uint32_t svm_port; + uint32_t svm_cid; + uint8_t svm_flags; + uint8_t svm_zerosizeof(struct sockaddr) - 13; +}; +# define SVM_FLAGS svm_flags +# define SVM_ZERO svm_zero +# define SVM_ZERO_FIRST svm_zero0 +#endif + +#ifdef HAVE_LINUX_QRTR_H +# include <linux/qrtr.h> +#else +struct sockaddr_qrtr { + uint16_t sq_family; + uint32_t sq_node; + uint32_t sq_port; +}; +#endif + +#ifdef HAVE_LINUX_IF_XDP_H +# include <linux/if_xdp.h> +#endif + +#ifndef HAVE_STRUCT_SOCKADDR_XDP +struct sockaddr_xdp { + uint16_t sxdp_family; + uint16_t sxdp_flags; + uint32_t sxdp_ifindex; + uint32_t sxdp_queue_id; + uint32_t sxdp_shared_umem_fd; +}; +#endif + +#include "xlat.h" +#include "xlat/addrfams.h" +#include "xlat/xdp_sockaddr_flags.h" + +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif +#ifndef FD0_PATH +# define FD0_PATH "" +#endif +#ifndef FD7_PATH +# define FD7_PATH "" +#endif + static void check_ll(void) { @@ -256,9 +419,841 @@ } #endif /* HAVE_BLUETOOTH_BLUETOOTH_H */ +static void +check_rxrpc(void) +{ + static const struct { + struct sockaddr_rxrpc sa; + const char *str; + } rxrpc_vecs = { + { { AF_RXRPC }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0" NRAW(" /* ???_SERVICE */") + ", transport_type=0" NRAW(" /* SOCK_??? */") + ", transport_len=0, transport=" + "{family=" XLAT_KNOWN(AF_UNSPEC, "AF_UNSPEC") "}}" }, + { { AF_RXRPC, .srx_service = 1, .transport_type = 1, + .transport_len = 42, .transport = { .family = 1 } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x1" NRAW(" /* CM_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x1, "SOCK_DGRAM") +#else + XLAT_KNOWN(0x1, "SOCK_STREAM") +#endif + ", transport_len=42, transport={family=" + XLAT_KNOWN(0x1, "AF_UNIX") ", \"\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\"}}" }, + { { AF_RXRPC, .srx_service = 2, .transport_type = 2, + .transport_len = 5, + .transport = { .sin = { 1, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x2" NRAW(" /* ???_SERVICE */") + ", transport_type=" +#ifdef __mips__ + XLAT_KNOWN(0x2, "SOCK_STREAM") +#else + XLAT_KNOWN(0x2, "SOCK_DGRAM") +#endif + ", transport_len=5, transport=" + "{family=" XLAT_KNOWN(0x1, "AF_UNIX") ", \"" + BE_LE("\\336\\255", "\\255\\336") BE_LE("\\372", "\\355") + "\"}}" }, + { { AF_RXRPC, .srx_service = 2500, .transport_type = 3, + .transport_len = 7, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c4" NRAW(" /* YFS_FS_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x3, "SOCK_RAW") + ", transport_len=7, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\372\\316\\376", "\\355\\376\\316") "\"}}}" }, + { { AF_RXRPC, .srx_service = 2501, .transport_type = 4, + .transport_len = 16, + .transport = { .sin = { 2, 0xdead, { 0xfacefeed } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c5" NRAW(" /* YFS_CM_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x4, "SOCK_RDM") + ", transport_len=16, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") ", sin_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin_addr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfa\\xce\\xfe\\xed", + "\\xed\\xfe\\xce\\xfa") "\"", + "inet_addr(\"" BE_LE("250.206.254.237", + "237.254.206.250") "\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2502, .transport_type = 5, + .transport_len = 20, + .transport = { .sin = { 2, BE16(0xdead), + { BE32(0xfacefeed) }, "OH HAI" } } + }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c6" NRAW(" /* ???_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x5, "SOCK_SEQPACKET") + ", transport_len=20, transport=" + "{sin={sin_family=" XLAT_KNOWN(0x2, "AF_INET") + ", sin_port=" XLAT_KNOWN_FMT("\"\\xde\\xad\"", "htons(57005)") + ", sin_addr=" + XLAT_KNOWN_FMT("\"\\xfa\\xce\\xfe\\xed\"", + "inet_addr(\"250.206.254.237\")") + "}}}" }, + { { AF_RXRPC, .srx_service = 2503, .transport_type = 6, + .transport_len = 23, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c7" NRAW(" /* YFS_VL_SERVICE */") + ", transport_type=" XLAT_KNOWN(0x6, "SOCK_DCCP") + ", transport_len=23, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") ", \"" + BE_LE("\\336\\255", "\\255\\336") + BE_LE("\\312\\376\\372\\316", "\\316\\372\\376\\312") + "OH HAI THAR!\\0\\0\\0\"}}}" }, + { { AF_RXRPC, .srx_service = 2504, .transport_type = 7, + .transport_len = 24, + .transport = { .sin6 = { 10, 0xdead, 0xcafeface, + { .s6_addr = "OH HAI THAR!\0\0\0\xf" } } } }, + "{sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=0x9c8" NRAW(" /* ???_SERVICE */") + ", transport_type=0x7" NRAW(" /* SOCK_??? */") + ", transport_len=24, transport=" + "{sin6={sin6_family=" XLAT_KNOWN(0xa, "AF_INET6") + ", sin6_port=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") "\"", + "htons(" BE_LE("57005", "44510") ")") + ", sin6_flowinfo=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xca\\xfe\\xfa\\xce", + "\\xce\\xfa\\xfe\\xca") "\"", + "htonl(" BE_LE("3405707982", "3472555722") ")") + ", " XLAT_KNOWN_FMT("sin6_addr=" + "\"\\x4f\\x48\\x20\\x48\\x41\\x49\\x20\\x54" + "\\x48\\x41\\x52\\x21\\x00\\x00\\x00\\x0f\"", + "inet_pton(AF_INET6, \"4f48:2048:4149:2054" + ":4841:5221:0:f\"" NVERB(", &sin6_addr") ")") + "}}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_rxrpc, sa_rxrpc); + int rc; + + fill_memory(sa_rxrpc, sizeof(*sa_rxrpc)); + sa_rxrpc->srx_family = AF_RXRPC; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_rxrpc, sizeof(*sa_rxrpc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", sa_data="); + print_quoted_memory((void *) sa_rxrpc + sizeof(sa_rxrpc->srx_family), + sizeof(*sa_rxrpc) - sizeof(sa_rxrpc->srx_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_rxrpc) - 1, errstr); + + static const uint8_t skip_af = { AF_INET, AF_INET6 }; + size_t skip_pos = 0; + for (size_t i = 0; i < 512; i++) { + if (skip_pos < ARRAY_SIZE(skip_af) && skip_afskip_pos == i) { + ++skip_pos; + continue; + } + + sa_rxrpc->transport.family = i; + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x21, "AF_RXRPC") + ", srx_service=%#x" NRAW(" /* ???_SERVICE */") + ", transport_type=%#x" NRAW(" /* SOCK_??? */") + ", transport_len=%u" + ", transport={family=%s, ", + sa_rxrpc->srx_service, sa_rxrpc->transport_type, + sa_rxrpc->transport_len, + sprintxval(addrfams, sa_rxrpc->transport.family, + "AF_???")); + const size_t offs = offsetofend(struct sockaddr_rxrpc, + transport.family); + print_quoted_memory((char *) sa_rxrpc + offs, + sizeof(*sa_rxrpc) - offs); + printf("}}, %zu) = %s\n", sizeof(*sa_rxrpc), errstr); + } + + for (size_t i = 0; i < ARRAY_SIZE(rxrpc_vecs); i++) { + *sa_rxrpc = rxrpc_vecsi.sa; + + rc = connect(-1, (void *) sa_rxrpc, sizeof(*sa_rxrpc)); + printf("connect(-1, %s, %zu) = %s\n", + rxrpc_vecsi.str, sizeof(*sa_rxrpc), sprintrc(rc)); + } +} + +static void +check_ieee802154(void) +{ + static const struct { + struct sockaddr_ieee802154 sa; + const char *str; + } ieee802154_vecs = { + { { AF_IEEE802154 }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0" NRAW(" /* IEEE802154_ADDR_NONE */") + ", pan_id=0}}" }, + { { AF_IEEE802154, { .addr_type = 1, .pan_id = 1 } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x1" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0x1, hwaddr=" + XLAT_KNOWN_FMT("\"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\"", + "00:00:00:00:00:00:00:00") "}}" }, + { { AF_IEEE802154, { .addr_type = 4, .pan_id = 0xcafe, + { .short_addr = 0xfeed } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x4" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=0xcafe, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xfe\\xed", "\\xed\\xfe") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("fe:ed", "ed:fe") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xfffe } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xfffe, short_addr=0}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0xffff, + { .hwaddr = "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0xffff" NRAW(" /* IEEE802154_PANID_BROADCAST */") + ", short_addr=" BE_LE("0xf8f9", "0xf9f8") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffd } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffd}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xfffe } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xfffe" + NRAW(" /* IEEE802154_ADDR_UNDEF */") "}}" }, + { { AF_IEEE802154, { .addr_type = 2, .pan_id = 0, + { .short_addr = 0xffff } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x2" NRAW(" /* IEEE802154_ADDR_SHORT */") + ", pan_id=0, short_addr=0xffff" + NRAW(" /* IEEE802154_ADDR_BROADCAST */") "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0xface, + { .short_addr = 0xdead } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0xface, hwaddr=" + XLAT_KNOWN_FMT("\"" BE_LE("\\xde\\xad", "\\xad\\xde") + "\\x00\\x00\\x00\\x00\\x00\\x00\"", + BE_LE("de:ad", "ad:de") ":00:00:00:00:00:00") + "}}" }, + { { AF_IEEE802154, { .addr_type = 3, .pan_id = 0, + { .hwaddr = "Oh Hai!" } } }, + "{sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=0x3" NRAW(" /* IEEE802154_ADDR_LONG */") + ", pan_id=0, hwaddr=" + XLAT_KNOWN_FMT("\"\\x4f\\x68\\x20\\x48\\x61\\x69\\x21\\x00\"", + "4f:68:20:48:61:69:21:00") "}}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_ieee802154, sa_ieee802154); + int rc; + + fill_memory(sa_ieee802154, sizeof(*sa_ieee802154)); + sa_ieee802154->family = AF_IEEE802154; + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_ieee802154, sizeof(*sa_ieee802154) + 1, + sprintrc(rc)); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", sa_data="); + print_quoted_memory((void *) sa_ieee802154 + + sizeof(sa_ieee802154->family), + sizeof(*sa_ieee802154) + - sizeof(sa_ieee802154->family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_ieee802154) - 1, errstr); + + rc = connect(-1, (void *) sa_ieee802154, sizeof(*sa_ieee802154)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x24, "AF_IEEE802154") + ", addr={addr_type=%#x" NRAW(" /* IEEE802154_ADDR_??? */") + ", pan_id=%#hx, hwaddr=", + sa_ieee802154->addr.addr_type, sa_ieee802154->addr.pan_id); +#if XLAT_RAW || XLAT_VERBOSE + print_quoted_hex(sa_ieee802154->addr.hwaddr, + sizeof(sa_ieee802154->addr.hwaddr)); +#endif +#if !XLAT_RAW + printf(VERB(" /* ") "%02hhx:%02hhx:%02hhx:%02hhx" + ":%02hhx:%02hhx:%02hhx:%02hhx" VERB(" */"), + sa_ieee802154->addr.hwaddr0, sa_ieee802154->addr.hwaddr1, + sa_ieee802154->addr.hwaddr2, sa_ieee802154->addr.hwaddr3, + sa_ieee802154->addr.hwaddr4, sa_ieee802154->addr.hwaddr5, + sa_ieee802154->addr.hwaddr6, sa_ieee802154->addr.hwaddr7); +#endif + printf("}}, %zu) = %s\n", sizeof(*sa_ieee802154), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(ieee802154_vecs); i++) { + *sa_ieee802154 = ieee802154_vecsi.sa; + + rc = connect(-1, (void *) sa_ieee802154, + sizeof(*sa_ieee802154)); + printf("connect(-1, %s, %zu) = %s\n", + ieee802154_vecsi.str, sizeof(*sa_ieee802154), + sprintrc(rc)); + } +} + +static void +check_alg(void) +{ + static const struct { + struct sockaddr_alg sa; + const char *str; + const char *str8; + const char *str64; + } alg_vecs = { + { { AF_ALG }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0, salg_mask=0, salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_feat = CRYPTO_ALG_KERN_DRIVER_ONLY, + .salg_mask = CRYPTO_ALG_KERN_DRIVER_ONLY }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") ", salg_type=\"\"" + ", salg_feat=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_mask=0x1000" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY */") + ", salg_name=\"\"}", "", "" }, + { { AF_ALG, .salg_type = "OH HAI\1\n\377\\\"\0\t\v", + .salg_feat = 0xdeadcafe, .salg_mask = 0xbeefaead, + .salg_name = "1234567890abcdef1234567890ABCEF\1\2\3\4\5\6\7" + "\x08\x09\0\x0A\x0B\x0C\x0D\x0E\x0F" }, + "{sa_family="XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type=\"OH HAI\\1\\n\\377\\\\\\\"\"" + ", salg_feat=0xdeadcafe" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_mask=0xbeefaead" NRAW(" /* CRYPTO_ALG_??? */") + ", salg_name=\"1234567", "\"...}", + "890abcdef1234567890ABCEF\\1\\2\\3\\4\\5\\6\\7\\10\\t\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_alg, sa_alg); + int rc; + + fill_memory(sa_alg, sizeof(*sa_alg)); + sa_alg->salg_family = AF_ALG; + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_alg, sizeof(*sa_alg) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new)); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", sa_data="); + print_quoted_memory((void *) sa_alg + sizeof(sa_alg->salg_family), + sizeof(struct sockaddr_alg_new) + - sizeof(sa_alg->salg_family)); + printf("}, %zu) = %s\n", sizeof(struct sockaddr_alg_new), errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(struct sockaddr_alg_new) + 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=\"\"...}, %zu) = %s\n", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask, +#if !XLAT_RAW + sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sizeof(struct sockaddr_alg_new) + 1, errstr); + + rc = connect(-1, (void *) sa_alg, sizeof(*sa_alg) - 1); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x26, "AF_ALG") + ", salg_type="); + print_quoted_stringn((const char *) sa_alg->salg_type, + sizeof(sa_alg->salg_type) - 1); + printf(", salg_feat=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_mask=%#x" NRAW(" /* CRYPTO_ALG_KERN_DRIVER_ONLY|%#x */") + ", salg_name=", + sa_alg->salg_feat, +#if !XLAT_RAW + sa_alg->salg_feat & ~CRYPTO_ALG_KERN_DRIVER_ONLY, +#endif + sa_alg->salg_mask +#if !XLAT_RAW + , sa_alg->salg_mask & ~CRYPTO_ALG_KERN_DRIVER_ONLY +#endif + ); + print_quoted_stringn((const char *) sa_alg->salg_name, + sizeof(sa_alg->salg_name) - 2); + printf("}, %zu) = %s\n", sizeof(*sa_alg) - 1, errstr); + + for (size_t i = 0; i < ARRAY_SIZE(alg_vecs); i++) { + *sa_alg = alg_vecsi.sa; + + for (size_t j = 0; j < 2; j++) { + rc = connect(-1, (void *) sa_alg, + sizeof(struct sockaddr_alg_new) + + (j ? 64 : 8)); + printf("connect(-1, %s%s, %zu) = %s\n", + alg_vecsi.str, + j ? alg_vecsi.str64 : alg_vecsi.str8, + sizeof(struct sockaddr_alg_new) + (j ? 64 : 8), + sprintrc(rc)); + } + } +} + +static void +check_nfc(void) +{ + const struct { + struct sockaddr_nfc sa; + const char *str; + } nfc_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + "}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 1, + .nfc_protocol = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x1" + ", nfc_protocol=" XLAT_KNOWN(0x1, "NFC_PROTO_JEWEL") "}" }, + { { AF_NFC, .dev_idx = 0xcafebeef, .target_idx = 0xdeadface, + .nfc_protocol = 0xfeedbabe }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405692655, target_idx=0xdeadface" + ", nfc_protocol=0xfeedbabe" NRAW(" /* NFC_PROTO_??? */") + "}" }, + }; + const struct { + struct sockaddr_nfc_llcp sa; + const char *str; + } nfc_llcp_vecs = { + { { AF_NFC }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") ", dev_idx=0" + ", target_idx=0, nfc_protocol=0" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0, ssap=0, service_name=\"\", service_name_len=0}" }, + { { AF_NFC, .dev_idx = ifindex_lo(), .target_idx = 0x42, + .nfc_protocol = 7, .dsap = 1, .ssap = 5, + .service_name_len = 1 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=" XLAT_KNOWN(1, IFINDEX_LO_STR) ", target_idx=0x42" + ", nfc_protocol=" XLAT_KNOWN(0x7, "NFC_PROTO_ISO15693") + ", dsap=0x1" NRAW(" /* LLCP_SAP_SDP */") + ", ssap=0x5, service_name=\"\\0\", service_name_len=1}" }, + { { AF_NFC, .dev_idx = 0xcafed1ce, .target_idx = 0x42, + .nfc_protocol = 8, .dsap = 42, .ssap = 0xff, + .service_name="OH HAI THAR\0EHLO\n\t\v\f'\"\\\177\333", + .service_name_len = 42 }, + "{sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=3405697486, target_idx=0x42" + ", nfc_protocol=0x8" NRAW(" /* NFC_PROTO_??? */") + ", dsap=0x2a, ssap=0xff" NRAW(" /* LLCP_SAP_MAX */") + ", service_name=\"OH HAI THAR\\0EHLO\\n\\t\\v\\f'\\\"" + "\\\\\\177\\333\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0" + "\\0\\0\\0\\0\\0\", service_name_len=42}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc, sa_nfc); + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_nfc_llcp, sa_nfc_llcp); + int rc; + + fill_memory(sa_nfc, sizeof(*sa_nfc)); + sa_nfc->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc, sizeof(*sa_nfc) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", sa_data="); + print_quoted_memory((void *) sa_nfc + sizeof(sa_nfc->sa_family), + sizeof(*sa_nfc) - sizeof(sa_nfc->sa_family) - 1); + printf("}, %zu) = %s\n", sizeof(*sa_nfc) - 1, errstr); + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "}, %zu) = %s\n", + sa_nfc->dev_idx, sa_nfc->target_idx, sa_nfc->nfc_protocol, + sizeof(*sa_nfc), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_vecs); i++) { + *sa_nfc = nfc_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc, sizeof(*sa_nfc)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_vecsi.str, sizeof(*sa_nfc), sprintrc(rc)); + } + + fill_memory(sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + sa_nfc_llcp->sa_family = AF_NFC; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp) + 1, sprintrc(rc)); + + for (size_t i = 0; i < 3; i++) { + size_t sz = i ? i == 2 ? sizeof(*sa_nfc_llcp) - 1 + : sizeof(struct sockaddr_nfc) + 1 + : sizeof(struct sockaddr_nfc); + + rc = connect(-1, (void *) sa_nfc_llcp, sz); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") "%s}, %zu) = %s\n", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, i ? ", ..." : "", sz, errstr); + } + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x27, "AF_NFC") + ", dev_idx=%u, target_idx=%#x, nfc_protocol=%#x" + NRAW(" /* NFC_PROTO_??? */") ", dsap=%#hhx, ssap=%#hhx" + ", service_name=", + sa_nfc_llcp->dev_idx, sa_nfc_llcp->target_idx, + sa_nfc_llcp->nfc_protocol, sa_nfc_llcp->dsap, sa_nfc_llcp->ssap); + print_quoted_memory(sa_nfc_llcp->service_name, + sizeof(sa_nfc_llcp->service_name)); + printf(", service_name_len=%zu}, %zu) = %s\n", + sa_nfc_llcp->service_name_len, sizeof(*sa_nfc_llcp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(nfc_llcp_vecs); i++) { + *sa_nfc_llcp = nfc_llcp_vecsi.sa; + + rc = connect(-1, (void *) sa_nfc_llcp, sizeof(*sa_nfc_llcp)); + printf("connect(-1, %s, %zu) = %s\n", + nfc_llcp_vecsi.str, sizeof(*sa_nfc_llcp), + sprintrc(rc)); + } +} + +static void +check_vsock(void) +{ + static const struct { + struct sockaddr_vm sa; + const char *str; + } vsock_vecs = { + { { AF_VSOCK }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0, "VMADDR_CID_HYPERVISOR") + ", svm_port=0, svm_flags=0}" }, + { { AF_VSOCK, .svm_cid = 1, .svm_port = 1, .SVM_FLAGS = 1 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=" XLAT_KNOWN(0x1, "VMADDR_CID_LOCAL") + ", svm_port=0x1" + ", svm_flags=" XLAT_KNOWN(0x1, "VMADDR_FLAG_TO_HOST") "}" }, + { { AF_VSOCK, .svm_reserved1 = 0xdead, .svm_cid = 2, + .svm_port = 0xfacebeef, .SVM_FLAGS = 2, }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0xdead" + ", svm_cid=" XLAT_KNOWN(0x2, "VMADDR_CID_HOST") + ", svm_port=0xfacebeef" + ", svm_flags=" XLAT_UNKNOWN(0x2, "VMADDR_FLAG_???") "}" }, + { { AF_VSOCK, .svm_cid = 3, + .svm_port = 0xfffffffe, .SVM_FLAGS = 0xef, + .SVM_ZERO_FIRST = 0x42 }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_cid=0x3, svm_port=0xfffffffe, svm_flags=" + XLAT_KNOWN(0xef, "VMADDR_FLAG_TO_HOST|0xee") + ", svm_zero=\"\\x42\\x00\\x00\"}" }, + { { AF_VSOCK, .svm_reserved1 = 0x1, .svm_cid = -1U, + .svm_port = -1U, .SVM_FLAGS = 0xfe, + .SVM_ZERO_FIRST = 0xae }, + "{sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=0x1" + ", svm_cid=" XLAT_KNOWN(0xffffffff, "VMADDR_CID_ANY") + ", svm_port=" XLAT_KNOWN(0xffffffff, "VMADDR_PORT_ANY") + ", svm_flags=" XLAT_UNKNOWN(0xfe, "VMADDR_FLAG_???") + ", svm_zero=\"\\xae\\x00\\x00\"}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_vm, sa_vm); + int rc; + + fill_memory(sa_vm, sizeof(*sa_vm)); + sa_vm->svm_family = AF_VSOCK; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_vm, sizeof(*sa_vm) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", sa_data="); + print_quoted_memory((void *) sa_vm + sizeof(sa_vm->svm_family), + sizeof(*sa_vm) - sizeof(sa_vm->svm_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_vm) - 1, errstr); + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x28, "AF_VSOCK") + ", svm_reserved1=%#x, svm_cid=%#x, svm_port=%#x, svm_flags=%#x" + NRAW(" /* VMADDR_FLAG_??? */") ", svm_zero=", + sa_vm->svm_reserved1, sa_vm->svm_cid, sa_vm->svm_port, + sa_vm->SVM_FLAGS); + print_quoted_hex(sa_vm->SVM_ZERO, + (uint8_t *) sa_vm + sizeof(*sa_vm) + - (sa_vm->SVM_ZERO)); + printf("}, %zu) = %s\n", sizeof(*sa_vm), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(vsock_vecs); i++) { + *sa_vm = vsock_vecsi.sa; + + rc = connect(-1, (void *) sa_vm, sizeof(*sa_vm)); + printf("connect(-1, %s, %zu) = %s\n", + vsock_vecsi.str, sizeof(*sa_vm), sprintrc(rc)); + } +} + +static void +check_qrtr(void) +{ + static const struct { + struct sockaddr_qrtr sa; + const char *str; + } qrtr_vecs = { + { { AF_QIPCRTR }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0}" }, + { { AF_QIPCRTR, .sq_node = 0xdeadface }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xdeadface, sq_port=0}" }, + { { AF_QIPCRTR, .sq_port = 0xdeedfade }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0, sq_port=0xdeedfade}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffd, .sq_port = 0xfffffffd }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffd, sq_port=0xfffffffd}" }, + { { AF_QIPCRTR, .sq_node = 0xfffffffe, .sq_port = 0xfffffffe }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=0xfffffffe, sq_port=" + XLAT_KNOWN(0xfffffffe, "QRTR_PORT_CTRL") "}" }, + { { AF_QIPCRTR, .sq_node = 0xffffffff, .sq_port = 0xffffffff }, + "{sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=" XLAT_KNOWN(0xffffffff, "QRTR_NODE_BCAST") + ", sq_port=0xffffffff}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_qrtr, sa_qrtr); + int rc; + + fill_memory(sa_qrtr, sizeof(*sa_qrtr)); + sa_qrtr->sq_family = AF_QIPCRTR; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_qrtr, sizeof(*sa_qrtr) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sa_data="); + print_quoted_memory((void *) sa_qrtr + sizeof(sa_qrtr->sq_family), + sizeof(*sa_qrtr) - sizeof(sa_qrtr->sq_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_qrtr) - 1, errstr); + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2a, "AF_QIPCRTR") + ", sq_node=%#x, sq_port=%#x}, %zu) = %s\n", + sa_qrtr->sq_node, sa_qrtr->sq_port, sizeof(*sa_qrtr), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(qrtr_vecs); i++) { + *sa_qrtr = qrtr_vecsi.sa; + + rc = connect(-1, (void *) sa_qrtr, sizeof(*sa_qrtr)); + printf("connect(-1, %s, %zu) = %s\n", + qrtr_vecsi.str, sizeof(*sa_qrtr), sprintrc(rc)); + } +} + +static void +check_xdp(void) +{ + const struct { + struct sockaddr_xdp sa; + const char *str; + } xdp_vecs = { + { { AF_XDP }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=0, sxdp_ifindex=0, sxdp_queue_id=0}" }, + { { AF_XDP, XDP_SHARED_UMEM }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags=" XLAT_KNOWN(0x1, "XDP_SHARED_UMEM") + ", sxdp_ifindex=0, sxdp_queue_id=0" + ", sxdp_shared_umem_fd=0" FD0_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xdead, + .sxdp_ifindex = ifindex_lo(), + .sxdp_queue_id = 0xfacebeef, + .sxdp_shared_umem_fd = 7 }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=" + XLAT_KNOWN(0xdead, "XDP_SHARED_UMEM|XDP_ZEROCOPY" + "|XDP_USE_NEED_WAKEUP|0xdea0") + ", sxdp_ifindex=" XLAT_KNOWN(1, IFINDEX_LO_STR) + ", sxdp_queue_id=4207853295" + ", sxdp_shared_umem_fd=7" FD7_PATH "}" }, + { { AF_XDP, .sxdp_flags = 0xbad0, + .sxdp_ifindex = 0xcafefade, + .sxdp_queue_id = 0xba5ed, + .sxdp_shared_umem_fd = 0xfeedbead }, + "{sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") ", sxdp_flags=0xbad0" + NRAW(" /* XDP_??? */") ", sxdp_ifindex=3405707998" + ", sxdp_queue_id=763373, sxdp_shared_umem_fd=0xfeedbead}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_xdp, sa_xdp); + int rc; + + fill_memory(sa_xdp, sizeof(*sa_xdp)); + sa_xdp->sxdp_family = AF_XDP; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_xdp, sizeof(*sa_xdp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sa_data="); + print_quoted_memory((void *) sa_xdp + sizeof(sa_xdp->sxdp_family), + sizeof(*sa_xdp) - sizeof(sa_xdp->sxdp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_xdp) - 1, errstr); + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2c, "AF_XDP") + ", sxdp_flags="); +#if XLAT_RAW || XLAT_VERBOSE + printf("%#x" VERB(" /* "), sa_xdp->sxdp_flags); +#endif +#if !XLAT_RAW + printflags(xdp_sockaddr_flags, sa_xdp->sxdp_flags, "XDP_???"); +#endif + printf(VERB(" */") ", sxdp_ifindex=%u, sxdp_queue_id=%u" + ", sxdp_shared_umem_fd=" BE_LE("%d", "%#x") "}, %zu) = %s\n", + sa_xdp->sxdp_ifindex, sa_xdp->sxdp_queue_id, + sa_xdp->sxdp_shared_umem_fd, sizeof(*sa_xdp), errstr); + + for (size_t i = 0; i < ARRAY_SIZE(xdp_vecs); i++) { + *sa_xdp = xdp_vecsi.sa; + + rc = connect(-1, (void *) sa_xdp, sizeof(*sa_xdp)); + printf("connect(-1, %s, %zu) = %s\n", + xdp_vecsi.str, sizeof(*sa_xdp), sprintrc(rc)); + } +} + +static void +check_mctp(void) +{ + static const struct { + struct sockaddr_mctp sa; + const char *str; + } mctp_vecs = { + { { AF_MCTP }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .__smctp_pad0 = 0xdead, + .smctp_network = MCTP_NET_ANY, + .smctp_addr = { .s_addr = MCTP_ADDR_NULL } }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xdead" + ", smctp_network=" XLAT_KNOWN(0, "MCTP_NET_ANY") + ", smctp_addr={s_addr=" XLAT_KNOWN(0, "MCTP_ADDR_NULL") "}" + ", smctp_type=0, smctp_tag=0}" }, + { { AF_MCTP, .smctp_network = -1234567890, + .smctp_addr = { .s_addr = MCTP_ADDR_ANY }, + .smctp_type = 1, .smctp_tag = 8, .__smctp_pad1 = 0xea }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", smctp_network=0xb669fd2e" + ", smctp_addr={s_addr=" XLAT_KNOWN(0xff, "MCTP_ADDR_ANY") "}" + ", smctp_type=0x1, smctp_tag=0x8, __smctp_pad1=0xea}" }, + { { AF_MCTP, .__smctp_pad0 = 0xface, + .smctp_network = 2134567890, + .smctp_addr = { .s_addr = 0x42 }, + .smctp_type = 0x23, .smctp_tag = 0x69, + .__smctp_pad1= 0xda }, + "{sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=0xface, smctp_network=0x7f3aebd2" + ", smctp_addr={s_addr=0x42}, smctp_type=0x23" + ", smctp_tag=0x69, __smctp_pad1=0xda}" }, + }; + + TAIL_ALLOC_OBJECT_CONST_PTR(struct sockaddr_mctp, sa_mctp); + int rc; + + fill_memory(sa_mctp, sizeof(*sa_mctp)); + sa_mctp->smctp_family = AF_MCTP; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) + 1); + printf("connect(-1, %p, %zu) = %s\n", + (void *) sa_mctp, sizeof(*sa_mctp) + 1, sprintrc(rc)); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp) - 1); + const char *errstr = sprintrc(rc); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", sa_data="); + print_quoted_memory((void *) sa_mctp + sizeof(sa_mctp->smctp_family), + sizeof(*sa_mctp) - sizeof(sa_mctp->smctp_family) + - 1); + printf("}, %zu) = %s\n", sizeof(*sa_mctp) - 1, errstr); + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, {sa_family=" XLAT_KNOWN(0x2d, "AF_MCTP") + ", __smctp_pad0=%#hx, smctp_network=%#x" + ", smctp_addr={s_addr=%#hhx}, smctp_type=%#hhx, smctp_tag=%#hhx" + ", __smctp_pad1=%#hhx}, %zu) = %s\n", + sa_mctp->__smctp_pad0, sa_mctp->smctp_network, + sa_mctp->smctp_addr.s_addr, sa_mctp->smctp_type, + sa_mctp->smctp_tag, sa_mctp->__smctp_pad1, sizeof(*sa_mctp), + sprintrc(rc)); + + for (size_t i = 0; i < ARRAY_SIZE(mctp_vecs); i++) { + *sa_mctp = mctp_vecsi.sa; + + rc = connect(-1, (void *) sa_mctp, sizeof(*sa_mctp)); + printf("connect(-1, %s, %zu) = %s\n", + mctp_vecsi.str, sizeof(*sa_mctp), sprintrc(rc)); + } +} + int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + check_ll(); check_in(); check_in6(); @@ -266,6 +1261,15 @@ check_sco(); check_rc(); #endif + check_rxrpc(); + check_ieee802154(); + check_alg(); + check_nfc(); + check_vsock(); + check_qrtr(); + check_xdp(); + check_mctp(); + puts("+++ exited with 0 +++"); return 0; }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/socketcall.c -> _service:tar_scm:strace-6.1.tar.xz/tests/socketcall.c
Changed
@@ -59,8 +59,7 @@ const unsigned long *const args = tail_alloc(sizeof(*args) * 6); efault = tail_alloc(1) + 1; - int i; - for (i = sc_min - 3; i <= sc_max + 3; ++i) { + for (int i = sc_min - 3; i <= sc_max + 3; ++i) { test_socketcall(i, efault); test_socketcall(i, args); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockname.c -> _service:tar_scm:strace-6.1.tar.xz/tests/sockname.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of sockname family syscalls. * * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,8 @@ #include <sys/socket.h> #include <sys/un.h> +#include "secontext.h" + #ifndef TEST_SYSCALL_NAME # error TEST_SYSCALL_NAME must be defined #endif @@ -59,14 +61,19 @@ *plen = sizeof(struct sockaddr_un); struct sockaddr_un *addr = tail_alloc(*plen); + char *my_secontext = SECONTEXT_PID_MY(); + char *fd_secontext = SECONTEXT_FD(fd); + PREPARE_TEST_SYSCALL_INVOCATION; int rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, (void *) addr, plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) sizeof(struct sockaddr_un), (int) *plen, SUFFIX_STR, rc); memset(addr, 0, sizeof(*addr)); @@ -75,28 +82,34 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%s\"%s}" ", %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, addr->sun_path, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, + addr->sun_path, SECONTEXT_FILE(addr->sun_path), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, 0 SUFFIX_ARGS); - printf("%s(%d%s, %p, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, SUFFIX_STR, - sprintrc(rc)); + printf("%s%s(%d%s%s, %p, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, + addr, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_S_ARGS, 0, 0 SUFFIX_ARGS); - printf("%s(%d%s, NULL, NULL%s) = %s\n", - TEST_SYSCALL_STR, fd, rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, + printf("%s%s(%d%s%s, NULL, NULL%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, + rc == -1 ? PREFIX_F_STR : PREFIX_S_STR, SUFFIX_STR, sprintrc(rc)); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen + 1 SUFFIX_ARGS); - printf("%s(%d%s, %p, %p%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %p%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, plen + 1, SUFFIX_STR, sprintrc(rc)); const size_t offsetof_sun_path = offsetof(struct sockaddr_un, sun_path); @@ -108,8 +121,9 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + printf("%s%s(%d%s%s, {sa_family=AF_UNIX}, %d => %d%s) = %d\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) offsetof_sun_path, (int) *plen, SUFFIX_STR, rc); ++addr; @@ -121,17 +135,19 @@ plen SUFFIX_ARGS); if (rc < 0) perror_msg_and_skip(TEST_SYSCALL_STR); - printf("%s(%d%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"}" + printf("%s%s(%d%s%s, {sa_family=AF_UNIX, sun_path=\"%.*s\"%s}" ", %d => %d%s) = %d\n", - TEST_SYSCALL_STR, fd, PREFIX_S_STR, + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_S_STR, (int) (sizeof(struct sockaddr) - offsetof_sun_path), - addr->sun_path, (int) sizeof(struct sockaddr), - (int) *plen, SUFFIX_STR, rc); + addr->sun_path, SECONTEXT_FILE(addr->sun_path), + (int) sizeof(struct sockaddr), (int) *plen, SUFFIX_STR, rc); PREPARE_TEST_SYSCALL_INVOCATION; rc = TEST_SYSCALL_NAME(fd PREFIX_F_ARGS, (void *) addr, plen SUFFIX_ARGS); - printf("%s(%d%s, %p, %d%s) = %s\n", - TEST_SYSCALL_STR, fd, PREFIX_F_STR, addr, + printf("%s%s(%d%s%s, %p, %d%s) = %s\n", + my_secontext, + TEST_SYSCALL_STR, fd, fd_secontext, PREFIX_F_STR, addr, *plen, SUFFIX_STR, sprintrc(rc)); }
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sockopt-sol_netlink.c -> _service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_netlink.c
Changed
@@ -82,9 +82,8 @@ int fd = socket(AF_NETLINK, SOCK_RAW, 0); if (fd < 0) perror_msg_and_skip("socket AF_NETLINK SOCK_RAW"); - unsigned int i; - for (i = 0; i < ARRAY_SIZE(names); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(names); ++i) { /* getsockopt */ /* classic */
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xabbrev -e trace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xraw -e trace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xraw -a32
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-Xverbose -e trace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt -Xverbose
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xabbrev.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xabbrev -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xabbrev "../sockopt-sol_socket-success-Xabbrev" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xraw.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xraw -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xraw -a32 "../sockopt-sol_socket-success-Xraw" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "sockopt-sol_socket-success.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success-Xverbose.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success-Xverbose -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt -Xverbose "../sockopt-sol_socket-success-Xverbose" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success.c
Added
@@ -0,0 +1,2 @@ +#define INJECT_RETVAL 42 +#include "sockopt-sol_socket.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket-success.gen.test
Added
@@ -0,0 +1,5 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket-success -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/scno_tampering.sh" +run_strace -einject=getsockopt,setsockopt:retval=42 -etrace=getsockopt,setsockopt "../sockopt-sol_socket-success" > "$EXP" +match_diff "$LOG" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket.c
Added
@@ -0,0 +1,319 @@ +/* + * Check decoding of getsockopt and setsockopt for SOL_SOCKET level. + * + * Copyright (c) 2017-2021 Dmitry V. Levin <ldv@strace.io> + * Copyright (c) 2022 Eugene Syromyatnikov <evgsyr@gmail.com> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <sys/socket.h> +#include <sys/un.h> + +#define XLAT_MACROS_ONLY +# include "xlat/sock_options.h" +#undef XLAT_MACROS_ONLY + +#ifdef INJECT_RETVAL +# define INJSTR " (INJECTED)" +#else +# define INJSTR "" +#endif + +static int rc; +static const char *errstr; + +struct intstr { + int val; + const char *str; +}; + +static int +get_sockopt(int fd, int name, void *val, socklen_t *len) +{ + rc = getsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static int +set_sockopt(int fd, int name, void *val, socklen_t len) +{ + rc = setsockopt(fd, SOL_SOCKET, name, val, len); + errstr = sprintrc(rc); + return rc; +} + +static void +print_optval(int val, const struct intstr *vecs, size_t vecs_sz) +{ + for (size_t k = 0; k < vecs_sz; k++) { + if (vecsk.val == val) { + printf("%s", vecsk.str); + return; + } + } + + printf("%d", val); +} + +int +main(void) +{ + static const struct intstr int_vecs = { + { ARG_STR(0) }, + { ARG_STR(1) }, + { ARG_STR(1234567890) }, + { ARG_STR(-1234567890) }, + }; + static const struct intstr txrehash_vecs = { + { ARG_XLAT_KNOWN(0, "SOCK_TXREHASH_DISABLED") }, + { ARG_XLAT_KNOWN(1, "SOCK_TXREHASH_ENABLED") }, + { ARG_XLAT_UNKNOWN(2, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(254, "SOCK_TXREHASH_???") }, + { ARG_XLAT_KNOWN(255, "SOCK_TXREHASH_DEFAULT") }, + { ARG_XLAT_UNKNOWN(256, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(511, "SOCK_TXREHASH_???") }, + { ARG_XLAT_UNKNOWN(-1, "SOCK_TXREHASH_???") }, + }; + static const struct { + int val; + const char *str; + const struct intstr *const vecs; + size_t vecs_sz; + size_t optsz; + } names = { + { ARG_STR(SO_DEBUG), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEADDR), .optsz = sizeof(int) }, + { ARG_STR(SO_TYPE), /* TODO */ }, + /* SO_ERROR - see so_error test */ + { ARG_STR(SO_DONTROUTE), .optsz = sizeof(int) }, + { ARG_STR(SO_BROADCAST), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUF), .optsz = sizeof(int) }, + { ARG_STR(SO_KEEPALIVE), .optsz = sizeof(int) }, + { ARG_STR(SO_OOBINLINE), .optsz = sizeof(int) }, + { ARG_STR(SO_NO_CHECK), .optsz = sizeof(int) }, + { ARG_STR(SO_PRIORITY), .optsz = sizeof(int) }, + /* SO_LINGER - see so_linger test */ + { ARG_STR(SO_BSDCOMPAT), .optsz = sizeof(int) }, + { ARG_STR(SO_REUSEPORT), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSCRED), .optsz = sizeof(int) }, + /* SO_PEERCRED - see so_peercred test */ + { ARG_STR(SO_RCVLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_SNDLOWAT), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_OLD), /* TODO */ }, + { ARG_STR(SO_SECURITY_AUTHENTICATION) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_TRANSPORT) }, + { ARG_STR(SO_SECURITY_ENCRYPTION_NETWORK) }, + /* TODO: SO_BINDTODEVICE */ + { ARG_STR(SO_DETACH_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERNAME), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_ACCEPTCONN), .optsz = sizeof(int) }, + { ARG_STR(SO_PEERSEC), /* TODO */ }, + { ARG_STR(SO_SNDBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVBUFFORCE), .optsz = sizeof(int) }, + { ARG_STR(SO_PASSSEC), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_MARK), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_OLD), .optsz = sizeof(int) }, + { ARG_STR(SO_PROTOCOL), /* TODO */ }, + { ARG_STR(SO_DOMAIN), /* TODO */ }, + { ARG_STR(SO_RXQ_OVFL), .optsz = sizeof(int) }, + { ARG_STR(SO_WIFI_STATUS), .optsz = sizeof(int) }, + { ARG_STR(SO_PEEK_OFF), .optsz = sizeof(int) }, + { ARG_STR(SO_NOFCS), .optsz = sizeof(int) }, + { ARG_STR(SO_LOCK_FILTER), .optsz = sizeof(int) }, + { ARG_STR(SO_SELECT_ERR_QUEUE), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_MAX_PACING_RATE), /* TODO */ }, + { ARG_STR(SO_BPF_EXTENSIONS), /* TODO */ }, + { ARG_STR(SO_INCOMING_CPU), .optsz = sizeof(int) }, + { ARG_STR(SO_ATTACH_BPF), /* TODO */ }, + /* SO_ATTACH_REUSEPORT_CBPF - see sock_filter-v test */ + { ARG_STR(SO_ATTACH_REUSEPORT_EBPF), /* TODO */ }, + { ARG_STR(SO_CNX_ADVICE), .optsz = sizeof(int) }, + { ARG_STR(SO_MEMINFO), /* TODO */ }, + { ARG_STR(SO_INCOMING_NAPI_ID), .optsz = sizeof(int) }, + { ARG_STR(SO_COOKIE), /* TODO */ }, + { ARG_STR(SO_PEERGROUPS), /* TODO */ }, + { ARG_STR(SO_ZEROCOPY), .optsz = sizeof(int) }, + { ARG_STR(SO_TXTIME), /* TODO */ }, + { ARG_STR(SO_BINDTOIFINDEX), /* TODO */ }, + { ARG_STR(SO_TIMESTAMP_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPNS_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_TIMESTAMPING_NEW), .optsz = sizeof(int) }, + { ARG_STR(SO_RCVTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_SNDTIMEO_NEW), /* TODO */ }, + { ARG_STR(SO_DETACH_REUSEPORT_BPF), .optsz = sizeof(int) }, + { ARG_STR(SO_PREFER_BUSY_POLL), .optsz = sizeof(int) }, + { ARG_STR(SO_BUSY_POLL_BUDGET), .optsz = sizeof(int) }, + { ARG_STR(SO_NETNS_COOKIE), /* TODO */ }, + { ARG_STR(SO_BUF_LOCK), /* TODO */ }, + { ARG_STR(SO_RESERVE_MEM), .optsz = sizeof(int) }, + { ARG_STR(SO_TXREHASH), ARRSZ_PAIR(txrehash_vecs), sizeof(int) }, + { ARG_STR(SO_RCVMARK), .optsz = sizeof(int) }, + { 76, NULL }, + { -1, NULL }, + }; + + char pfx_str256; + char sol_str64; + TAIL_ALLOC_OBJECT_CONST_PTR(int, val); + TAIL_ALLOC_OBJECT_CONST_ARR(int, bigval, 2); + TAIL_ALLOC_OBJECT_CONST_PTR(socklen_t, len); + void *const efault = val + 1; + int fd = socket(AF_UNIX, SOCK_RAW, 0); + if (fd < 0) + perror_msg_and_skip("socket AF_UNIX SOCK_RAW"); + + snprintf(sol_str, sizeof(sol_str), XLAT_FMT, XLAT_ARGS(SOL_SOCKET)); + + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + static char so_str64; + const struct intstr *const vecs = namesi.vecs ?: int_vecs; + size_t vecs_sz = namesi.vecs_sz ?: ARRAY_SIZE(int_vecs); + + if (namesi.str) { + snprintf(so_str, sizeof(so_str), XLAT_FMT, + XLAT_SEL(namesi.val, namesi.str)); + } else { + snprintf(so_str, sizeof(so_str), + "%#x" NRAW(" /* SO_??? */"), namesi.val); + } + + snprintf(pfx_str, sizeof(pfx_str), "etsockopt(%d, %s, %s, ", + fd, sol_str, so_str); + + /* getsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *len = sizeof(*val); + *val = vecsj.val; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d) = %s" INJSTR "\n", *len, errstr); + + /* optlen larger than accessible memory */ + *len = sizeof(*val) + 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0 || (!namesi.optsz && *len > sizeof(*val))) + printf("%p", val); + else + print_optval(*val, vecs, vecs_sz); + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen larger than necessary */ + *len = sizeof(*val) + 1; + *bigval = vecsj.val; + get_sockopt(fd, namesi.val, bigval, len); + printf("g%s", pfx_str); + if (rc < 0) { + printf("%p", bigval); + } else { + if (*len == sizeof(*val) || namesi.optsz) + print_optval(*val, vecs, vecs_sz); + else + print_quoted_memory(bigval, *len); + } + printf(", %d", (int) sizeof(*val) + 1); + if ((int) sizeof(*val) + 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + } + + /* zero optlen - print returned optlen */ + *len = 0; +#ifdef INJECT_RETVAL + *val = vecs0.val; +#endif + get_sockopt(fd, namesi.val, NULL, len); + printf("g%sNULL, 0", pfx_str); + if (*len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optlen shorter than necessary */ + *len = sizeof(*val) - 1; + get_sockopt(fd, namesi.val, val, len); + printf("g%s", pfx_str); + if (rc < 0) + printf("%p", val); + else if (namesi.optsz) + print_quoted_hex(val, sizeof(*val) - 1); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d", (int) sizeof(*val) - 1); + if ((int) sizeof(*val) - 1 != *len) + printf(" => %d", *len); + printf(") = %s" INJSTR "\n", errstr); + + /* optval EFAULT - print address */ + *len = sizeof(*val); + get_sockopt(fd, namesi.val, efault, len); + printf("g%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, *len, errstr); + + /* optlen EFAULT - print address */ + get_sockopt(fd, namesi.val, val, len + 1); + printf("g%s%p, %p) = %s" INJSTR "\n", + pfx_str, val, len + 1, errstr); + + + /* setsockopt */ + + for (size_t j = 0; j < vecs_sz; j++) { + /* classic */ + *val = vecsj.val; + set_sockopt(fd, namesi.val, val, sizeof(*val)); + printf("s%s%s, %d) = %s" INJSTR "\n", + pfx_str, vecsj.str, (int) sizeof(*val), errstr); + + /* optlen larger than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) + 1); + printf("s%s", pfx_str); + if (namesi.optsz && namesi.optsz <= sizeof(*val)) + printf("%s", vecsj.str); + else + printf("%p", val); + printf(", %d) = %s" INJSTR "\n", + (int) sizeof(*val) + 1, errstr); + } + + /* optlen < 0 - print address */ + *val = vecs0.val; + set_sockopt(fd, namesi.val, val, -1U); + printf("s%s%p, -1) = %s" INJSTR "\n", pfx_str, val, errstr); + + /* optlen smaller than necessary */ + set_sockopt(fd, namesi.val, val, sizeof(*val) - 1); + printf("s%s", pfx_str); + if (namesi.optsz) + printf("%p", val); + else + print_quoted_memory(val, sizeof(*val) - 1); + printf(", %d) = %s" INJSTR "\n", (int) sizeof(*val) - 1, errstr); + + /* optval EFAULT - print address */ + set_sockopt(fd, namesi.val, efault, sizeof(*val)); + printf("s%s%p, %d) = %s" INJSTR "\n", + pfx_str, efault, (int) sizeof(*val), errstr); + } + + puts("+++ exited with 0 +++"); + return 0; +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sockopt-sol_socket.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sockopt-sol_socket -e trace=getsockopt,setsockopt); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=getsockopt,setsockopt
View file
_service:tar_scm:strace-5.14.tar.xz/tests/sprintrc.c -> _service:tar_scm:strace-6.1.tar.xz/tests/sprintrc.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Eugene Syromyatnikov <evgsyr@gmail.com> - * Copyright (c) 2016-2018 The strace developers. + * Copyright (c) 2016-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -26,7 +26,7 @@ * representation of return code and errno/error message in case @rc * is equal to -1. */ -static inline const char * +static const char * sprintrc_ex(long rc, enum sprintrc_fmt fmt) { static const char *formats = {
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--decode-pids-comm.c
Added
@@ -0,0 +1,123 @@ +/* + * Test -Y/--decode-pids=comm option. + * + * Copyright (c) 2021 The strace developers. + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +/* + * The executable built from this source file should + * have a long name (> 16) to test how strace reports + * the initial value of /proc/$pid/comm. + * Even if linux returns a longer name, strace should + * not crash. + */ + +#include "tests.h" +#include "scno.h" + +#include <errno.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/prctl.h> +#include <unistd.h> +#include <sys/types.h> +#include <sys/wait.h> + +#define NEW_NAME "0123456789abcdefghijklmnopqrstuvwxyz" + +static int +do_default_action(void) +{ + static const char proc_self_exe = "/proc/self/exe"; + skip_if_unavailable(proc_self_exe); + + char commsizeof(NEW_NAME); + if (prctl(PR_GET_NAME, comm)) + perror_msg_and_skip("PR_GET_NAME"); + char ocommsizeof(comm); + strcpy(ocomm, comm); + + pid_t pid = getpid(); + pid_t ppid = getppid(); + + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + fflush(stdout); + + pid_t child = fork(); + if (child < 0) + perror_msg_and_fail("fork"); + else if (child == 0) { + pid = getpid(); + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, ocomm); + + const char *names = { + "foo\332Jbar", + "foo<bar>", + NEW_NAME, + }; + for (size_t i = 0; i < ARRAY_SIZE(names); ++i) { + strcpy(comm, namesi); + prctl(PR_SET_NAME, comm); + prctl(PR_GET_NAME, comm); + + ppid = getppid(); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> getppid() = %d<%s>\n", ppid, ocomm); + + long rc = syscall(__NR_tgkill, pid, pid, SIGCONT); + printf("%u<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf("> tgkill(%d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, %d<", pid); + print_quoted_memory_ex(comm, strlen(comm), 0, "<>"); + printf(">, SIGCONT) = %s\n", sprintrc(rc)); + } + + long rc = syscall(__NR_tgkill, ppid, ppid, SIGCONT); + printf("%u<%s> tgkill(%d<%s>, %d<%s>, SIGCONT) = %s\n", + pid, comm, ppid, ocomm, ppid, ocomm, sprintrc(rc)); + + fflush(stdout); + char *args = { (char *) "unused", (char *) "execve", NULL }; + execve(proc_self_exe, args, NULL); + perror_msg_and_fail("execve: %s", proc_self_exe); + } else { + int status; + while ((waitpid(child, &status, 0)) != child) { + if (errno == EINTR) + continue; + perror_msg_and_fail("waitpid: %d", child); + } + printf("%u<exe> +++ exited with 0 +++\n", child); + + ppid = getppid(); + printf("%u<%s> getppid() = %d<%s>\n", pid, comm, ppid, "strace"); + printf("%u<%s> +++ exited with 0 +++\n", pid, comm); + return WEXITSTATUS(status); + } + return 0; +} + +static int +do_execve_action(int argc, char **argv) +{ + return 0; +} + +int +main(int argc, char **argv) +{ + if (argc < 2) + return do_default_action(); + else if (strcmp(argv1, "execve") == 0) + return do_execve_action(argc, argv); + error_msg_and_fail("unexpected argument: %s", argv1); +}
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--decode-pids-comm.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--decode-pids-comm --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --decode-pids=comm --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--strings-in-hex-all.c -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-all.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-non-ascii-chars.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 3 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-non-ascii-chars.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-non-ascii-chars --trace=chdir --strings-in-hex=non-ascii-chars --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=non-ascii-chars --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--strings-in-hex-non-ascii.c -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-non-ascii.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 0 +#define STRACE_X 1 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-none.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex-none.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--strings-in-hex-none --trace=chdir --strings-in-hex=none --columns=12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff --trace=chdir --strings-in-hex=none --columns=12
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--strings-in-hex.c -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--strings-in-hex.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--syscall-times-ms.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--syscall-times-ms.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T.test --syscall-times=ms); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ms +strace-T_upper.test --syscall-times=ms); do not edit. set -- --syscall-times=ms -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--syscall-times-ns.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--syscall-times-ns.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T.test --syscall-times=ns); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-ns +strace-T_upper.test --syscall-times=ns); do not edit. set -- --syscall-times=ns -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--syscall-times-s.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--syscall-times-s.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T.test --syscall-times=s); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-s +strace-T_upper.test --syscall-times=s); do not edit. set -- --syscall-times=s -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--syscall-times-us.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--syscall-times-us.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T.test --syscall-times=us); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times-us +strace-T_upper.test --syscall-times=us); do not edit. set -- --syscall-times=us -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace--syscall-times.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace--syscall-times.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T.test --syscall-times); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace--syscall-times +strace-T_upper.test --syscall-times); do not edit. set -- --syscall-times -. "${srcdir=.}/strace-T.test" +. "${srcdir=.}/strace-T_upper.test"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--tips-full.test
Added
@@ -0,0 +1,6 @@ +#!/bin/sh -efu + +# Check --tips=full option. +TIPS_FULL=1 +export TIPS_FULL +. ${srcdir=.}/strace--tips.test
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--tips.exp
Added
@@ -0,0 +1,36 @@ + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | + + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace--tips.test
Added
@@ -0,0 +1,82 @@ +#!/bin/sh -efu + +# Check --tips option. +. "${srcdir=.}/init.sh" + +: "${TIPS_FULL:=0}" +RAND_TIPS=5 +MAX_TIPS=500 + +tips_fmt_opt="" + 1 -ne "$TIPS_FULL" || tips_fmt_opt="--tips=full" + + +# Check that random tip is random +"$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r0" +i=0 +ret=0 +while "$i" -lt "$RAND_TIPS" ; do + i=$((i + 1)) + "$STRACE" -qqq -enone --tips $tips_fmt_opt ../sleep 0 2> "${OUT}.r${i}" + diff -q "${OUT}.r$((i - 1))" "${OUT}.r${i}" || { ret=1; break; } +done + + 0 != "$ret" || fail_ "Tips do not seem to be randomised" + +# Check that each tip looks sane +i=0 +while "$i" -lt "$MAX_TIPS" ; do + "$STRACE" -qqq -enone $tips_fmt_opt --tips="id:$i" ../sleep 0 2> "${OUT}.${i}" + + j=0 + end_seen=0 + cat $srcdir/strace--tips.exp | while read line; do + j="$((j + 1))" + case "$j" in + 1) pat=' ______________________________________________ '"$(sed_re_escape "$line")";; + 2) pat=' / \\ '"$(sed_re_escape "$line")";; + 3) pat=' | .{44} | '"$(sed_re_escape "$line")";; + 4) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 5) pat=' | .{44} \ '"$(sed_re_escape "$line")";; + 6) pat=' | .{44} _\ '"$(sed_re_escape "$line")";; + 7) pat=' | .{44} / '"$(sed_re_escape "$line")";; + *) pat=' | .{44} | '"$(sed_re_escape "$line")";; + esac + end=' \______________________________________________/ '"$(sed_re_escape "$line")" + btm=' '"$(sed_re_escape "$line")" + s=$(tail -n"+$j" "${OUT}.${i}" | head -n1) + + if 0 -ne "$end_seen" ; then + printf '%s' "$s" | grep -Eq "$btm" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against '$btm'" + fi + + printf '%s' "$s" | grep -Eqv "$pat" || continue + if 8 -lt "$j" ; then + printf '%s' "$s" | grep -Eq "$end" || \ + fail_ "Can't match line $j of ${OUT}.${i}" \ + "('$s') against neither '$pat' nor '$end'" + + if 0 -ne "$TIPS_FULL" ; then + end_seen=1 + else + break + fi + else + fail_ "Can't match line $j of ${OUT}.${i} ('$s')" \ + "against '$pat'" + fi + done + + # Finish when come accross the same tip + if 0 != "$i" ; then + if diff -q "${OUT}.0" "${OUT}.$i"; then + break + fi + fi + i="$((i + 1))" +done + + "$i" -lt "$MAX_TIPS" || \ + fail_ "Cannot find end of tips after $i iterations"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-T_upper.expected
Added
@@ -0,0 +1,1 @@ +nanosleep\(\{tv_sec=1, tv_nsec=0\}, NULL\) = 0 <(1\.01|0\.9):digit:{5}>
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-T_upper.test
Added
@@ -0,0 +1,16 @@ +#!/bin/sh +# +# Check -T option. +# +# Copyright (c) 2016-2022 The strace developers. +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +T_opt="${1:--T}" + +run_prog ../sleep 0 +run_strace -a24 "${T_opt}" -enanosleep ../sleep 1 +match_grep
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace-V.test -> _service:tar_scm:strace-6.1.tar.xz/tests/strace-V.test
Changed
@@ -38,13 +38,32 @@ features="${option_unwind}${option_demangle}${option_m32}${option_mx32}${option_secontext}" -n "$features" || features=" (none)" -cat > "$EXP" << __EOF__ -$(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) -Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. -This is free software; see the source for copying conditions. There is NO -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +for i in $(seq 4); do + case "$i" in + 1) opt="-V";; + 2) opt="-V -V -V -V";; + 3) opt="-VVVV -VVVV -VVVV -VVVV";; + 4) opt="-VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV";; + esac -Optional features enabled:${features} -__EOF__ + run_strace ${opt} > "${LOG}.${opt}" -match_diff "$OUT" "$EXP" + cat > "${EXP}.${opt}" <<-__EOF__ + $(get_config_str PACKAGE_NAME) -- version $(get_config_str PACKAGE_VERSION) + Copyright (c) 1991-${config_year} The strace developers <$(get_config_str PACKAGE_URL)>. + This is free software; see the source for copying conditions. There is NO + warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + Optional features enabled:${features} + __EOF__ + + if 3 -le "$i" ; then + cat $srcdir/strauss_head.exp >> "${EXP}.${opt}" + fi + + if 4 -le "$i" ; then + cat $srcdir/strauss_body.exp >> "${EXP}.${opt}" + fi + + match_diff "${LOG}.${opt}" "${EXP}.${opt}" +done
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-Y-0123456789.c
Added
@@ -0,0 +1,1 @@ +#include "strace--decode-pids-comm.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-Y-0123456789.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-Y-0123456789 -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y --trace=getppid,tgkill --signal='!SIGCHLD,SIGCONT' -q -f -a 18
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-no-x.c
Added
@@ -0,0 +1,2 @@ +#define STRACE_X 0 +#include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-no-x.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (strace-no-x -e trace=chdir -a 12); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -e trace=chdir -a 12
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-p-Y-p.test
Added
@@ -0,0 +1,42 @@ +#!/bin/sh +# +# Check that -p pid1 -Y -p pid2 prints /proc/$pid1/comm properly. +# +# Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> +# All rights reserved. +# +# SPDX-License-Identifier: GPL-2.0-or-later + +. "${srcdir=.}/init.sh" + +run_prog_skip_if_failed kill -0 $$ +run_prog ../strace-p1-Y-p 0 > /dev/null 3>&1 +run_prog ../strace-p-Y-p2 0 > /dev/null 3>&1 + +run_tracee() +{ + local file + file="$1"; shift + ../set_ptracer_any $@ > /dev/null 3> "$file" & + pid=$! + while ! -s "$file" ; do + kill -0 $pid 2> /dev/null || + fail_ 'set_ptracer_any "$*" failed' + done +} + +run_tracee "$EXP" ../strace-p1-Y-p 2 +pid1=$pid + +run_tracee "$OUT" ../strace-p-Y-p2 3 +pid2=$pid + +run_strace -enone -p "$pid1" -Y -p "$pid2" + +# merge expected output +cat "$OUT" >> "$EXP" + +# filter out unrelated strace output +grep -F +++ "$LOG" > "$OUT" + +match_diff "$OUT" "$EXP"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-p-Y-p2.c
Added
@@ -0,0 +1,2 @@ +#define MY_COMM "strace-p-Y-p2" +#include "strace-p1-Y-p.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strace-p1-Y-p.c
Added
@@ -0,0 +1,43 @@ +/* + * This file is part of strace-p-Y-p strace test. + * + * Copyright (c) 2021 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> + +#ifndef MY_COMM +# define MY_COMM "strace-p1-Y-p" +#endif + +int +main(int ac, char **av) +{ + if (ac < 2) + error_msg_and_fail("missing operand"); + + if (ac > 2) + error_msg_and_fail("extra operand"); + + static const char proc_self_comm = "/proc/self/comm"; + skip_if_unavailable(proc_self_comm); + + int seconds = atoi(av1); + FILE *fp = fdopen(3, "a"); + if (!fp) + error_msg_and_fail("fdopen(3, \"a\")"); + + fprintf(fp, "%u<%s> +++ exited with 0 +++\n", getpid(), MY_COMM); + fclose(fp); + + if (sleep(seconds)) + perror_msg_and_skip("sleep: %d", seconds); + + return 0; +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace-x.c -> _service:tar_scm:strace-6.1.tar.xz/tests/strace-x.c
Changed
@@ -1,7 +1,7 @@ /* * Test strace's -x option. * - * Copyright (c) 2020 The strace developers. + * Copyright (c) 2020-2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -12,14 +12,18 @@ #include <stdio.h> #include <unistd.h> -#ifndef STRACE_XX -# define STRACE_XX 0 +#ifndef STRACE_X +# define STRACE_X 1 #endif -#if STRACE_XX -# define XOUT(x_, xx_) xx_ -#else -# define XOUT(x_, xx_) x_ +#if STRACE_X == 1 +# define XOUT(_, x_chars_, x_, xx_) x_ +#elif STRACE_X == 2 +# define XOUT(_, x_chars_, x_, xx_) xx_ +#elif STRACE_X == 3 +# define XOUT(_, x_chars_, x_, xx_) x_chars_ +#elif STRACE_X == 0 +# define XOUT(_, x_chars_, x_, xx_) _ #endif int @@ -29,25 +33,33 @@ const char *path; const char *out; } test_vecs = { - { "test", XOUT("test", "\\x74\\x65\\x73\\x74") }, + { "test", + XOUT("test", "test", "test", "\\x74\\x65\\x73\\x74") }, { "\t\n\v\f\r hi~", XOUT("\\t\\n\\v\\f\\r hi~", + "\\t\\n\\v\\f\\r hi~", "\\t\\n\\v\\f\\r hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\16 hi~", XOUT( + { "\t\n\v\f\r\16 hi~", XOUT("\\t\\n\\v\\f\\r\\16 hi~", + "\\t\\n\\v\\f\\r\\x0e hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x0e\\x20\\x68\\x69\\x7e") }, - { "\10\t\n\v\f\r hi~", XOUT( + { "\10\t\n\v\f\r hi~", XOUT("\\10\\t\\n\\v\\f\\r hi~", + "\\x08\\t\\n\\v\\f\\r hi~", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e", "\\x08\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r\37 hi~", XOUT( + { "\t\n\v\f\r\37 hi~", XOUT("\\t\\n\\v\\f\\r\\37 hi~", + "\\t\\n\\v\\f\\r\\x1f hi~", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e", "\\x09\\x0a\\x0b\\x0c\\x0d\\x1f\\x20\\x68\\x69\\x7e") }, - { "\t\n\v\f\r hi~\177", XOUT( + { "\t\n\v\f\r hi~\177", XOUT("\\t\\n\\v\\f\\r hi~\\177", + "\\t\\n\\v\\f\\r hi~\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x7f") }, - { "\t\n\v\f\r hi~\222", XOUT( + { "\t\n\v\f\r hi~\222", XOUT("\\t\\n\\v\\f\\r hi~\\222", + "\\t\\n\\v\\f\\r hi~\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\x92") }, - { "\t\n\v\f\r hi~\377", XOUT( + { "\t\n\v\f\r hi~\377", XOUT("\\t\\n\\v\\f\\r hi~\\377", + "\\t\\n\\v\\f\\r hi~\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff", "\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\x68\\x69\\x7e\\xff") }, }; @@ -65,13 +77,19 @@ rc_str = sprintrc(chdir(path)); printf("chdir("); -#if STRACE_XX +#if STRACE_X == 2 print_quoted_hex(path, sizeof(path) - 1); #else +# if STRACE_X != 0 if (((c < ' ') || (c >= 0x7f)) && (c != '\t') && (c != '\n') && (c != '\v') && (c != '\f') && (c != '\r')) +# if STRACE_X == 3 + printf("\"%c\\x%02hhx\"", path0, path1); +# else print_quoted_hex(path, sizeof(path) - 1); +# endif else +# endif print_quoted_string(path); #endif printf(") = %s\n", rc_str);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/strace-xx.c -> _service:tar_scm:strace-6.1.tar.xz/tests/strace-xx.c
Changed
@@ -1,2 +1,2 @@ -#define STRACE_XX 1 +#define STRACE_X 2 #include "strace-x.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strauss_body.exp
Added
@@ -0,0 +1,26 @@ + | + | + + / | __ + \| |/ _/ /_ + \ | |//___/__/__/_ +\\ \ / // -____/_ +// " \\ \___.- + // \\ __.----._/_ +/ '/|||\` .- __> + / __.- + } +\ \ / + "-._____ \.____.--" + | | | | + | | | | + | | | | + | | | | + { } { } + | | | | + | | | | + | | | | + / { | | + .-" / -._ +/___/ / \ \___"-. + -" "-
View file
_service:tar_scm:strace-6.1.tar.xz/tests/strauss_head.exp
Added
@@ -0,0 +1,11 @@ + + ____ + / \ + |-. .-.| + (_@)(_@) + .---_ \ + /.. \_/ + |__.-^ / + } | + | +
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sysctl.c
Added
@@ -0,0 +1,63 @@ +/* + * Check decoding of sysctl syscall. + * + * Copyright (c) 2022 Dmitry V. Levin <ldv@strace.io> + * All rights reserved. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "tests.h" +#include "scno.h" + +#ifdef __NR__sysctl + +# include <stdio.h> +# include <string.h> +# include <unistd.h> +# include <linux/sysctl.h> + +static const char *errstr; + +static long +k_sysctl(const void *const args) +{ + const kernel_ulong_t bad = (kernel_ulong_t) 0xbadc0dedbadc0dedULL; + const long rc = syscall(__NR__sysctl, (uintptr_t) args, + bad, bad, bad, bad, bad); + errstr = sprintrc(rc); + return rc; +} + +int +main(void) +{ + TAIL_ALLOC_OBJECT_CONST_PTR(struct __sysctl_args, args); + void *const efault = args + 1; + + k_sysctl(efault); + printf("_sysctl(%p) = %s\n", efault, errstr); + + memset(args, 0, sizeof(*args)); + k_sysctl(args); + printf("_sysctl({name=NULL, nlen=0, oldval=NULL, oldlenp=NULL" + ", newval=NULL, newlen=0}) = %s\n", errstr); + + fill_memory_ex(args, sizeof(*args), 'a', 'z' - 'a' + 1); + args->name = efault; + + k_sysctl(args); + printf("_sysctl({name=%p, nlen=%d, oldval=%p, oldlenp=%p" + ", newval=%p, newlen=%llu}) = %s\n", + args->name, args->nlen, args->oldval, args->oldlenp, + args->newval, (unsigned long long) args->newlen, errstr); + + puts("+++ exited with 0 +++"); + return 0; +} + +#else + +SKIP_MAIN_UNDEFINED("__NR__sysctl") + +#endif
View file
_service:tar_scm:strace-6.1.tar.xz/tests/sysctl.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (sysctl -a16 --trace=_sysctl); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -a16 --trace=_sysctl
View file
_service:tar_scm:strace-5.14.tar.xz/tests/test_netlink.h -> _service:tar_scm:strace-6.1.tar.xz/tests/test_netlink.h
Changed
@@ -42,8 +42,8 @@ \ { __VA_ARGS__; } \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \
View file
_service:tar_scm:strace-5.14.tar.xz/tests/test_nlattr.h -> _service:tar_scm:strace-6.1.tar.xz/tests/test_nlattr.h
Changed
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -8,10 +8,12 @@ #include "tests.h" #include "print_fields.h" +#include <inttypes.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <sys/socket.h> +#include <unistd.h> #include "netlink.h" #include <linux/rtnetlink.h> @@ -97,8 +99,8 @@ if ((nla_total_len_) > (nla_data_len_)) \ printf(""); \ \ - printf(", %u, MSG_DONTWAIT, NULL, 0) = %s\n", \ - msg_len, errstr); \ + printf(", %u, " XLAT_FMT ", NULL, 0) = %s\n", \ + msg_len, XLAT_ARGS(MSG_DONTWAIT), errstr); \ } while (0) #define TEST_NLATTR_(fd_, nlh0_, hdrlen_, \ @@ -169,6 +171,15 @@ (pattern_), (obj_), sizeof(obj_), \ print_quoted_hex, __VA_ARGS__) +#define TEST_NLATTR_OBJECT_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, pattern_, obj_, ...) \ + TEST_NLATTR_OBJECT_EX_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + print_quoted_hex, __VA_ARGS__) + #define TEST_NLATTR_OBJECT_MINSZ(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, minsz_, ...) \ @@ -178,9 +189,10 @@ (pattern_), (obj_), (minsz_), \ print_quoted_hex, __VA_ARGS__) -#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, print_elem_) \ +#define TEST_NLATTR_ARRAY_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ @@ -188,18 +200,18 @@ /* len < sizeof((obj_)0) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ plen, (pattern_), plen, \ print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -207,12 +219,12 @@ /* short read of sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_) - 1, \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ @@ -222,62 +234,80 @@ /* sizeof(obj_) */ \ TEST_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ &(obj_), sizeof(obj_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf("")); \ } while (0) -#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, nla_type_str_, \ - pattern_, obj_, fallback_func, \ - depth_, ...) \ +#define TEST_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, print_elem_) \ + TEST_NLATTR_ARRAY_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, \ + (pattern_), (obj_), (print_elem_)) + +#define TEST_NESTED_NLATTR_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + nla_data_len_, src_, slen_, depth_, ...) \ + TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * (depth_), \ + (hdrlen_) + NLA_HDRLEN * (depth_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (nla_data_len_), (src_), (slen_), \ + __VA_ARGS__; \ + for (size_t i = 0; i < (depth_); ++i) \ + printf("")) + +#define TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, minsz_, \ + fallback_func, depth_, ...) \ do { \ const unsigned int plen = \ sizeof(obj_) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof(obj_) - 1; \ /* len < sizeof(obj_) */ \ if (plen > 0) \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - plen, (pattern_), plen, \ - (fallback_func)((pattern_), plen); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + plen, (pattern_), plen, (depth_), \ + (fallback_func)((pattern_), plen)); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - (pattern_), sizeof(obj_) - 1, \ - printf("%p", RTA_DATA(TEST_NLATTR_nla)); \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), (pattern_), (minsz_) - 1, (depth_), \ + printf("%p", RTA_DATA(TEST_NLATTR_nla))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ (nla_type_), (nla_type_str_), \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ - __VA_ARGS__; \ - size_t i; \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ + __VA_ARGS__); \ } while (0) +#define TEST_NESTED_NLATTR_OBJECT_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, \ + fallback_func, depth_, ...) \ + TEST_NESTED_NLATTR_OBJECT_EX_MINSZ_((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), (nla_type_str_), \ + (pattern_), (obj_), sizeof(obj_), \ + (fallback_func), (depth_), \ + __VA_ARGS__) + #define TEST_NESTED_NLATTR_OBJECT_EX(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, \ @@ -299,75 +329,71 @@ print_quoted_hex, 1, \ __VA_ARGS__) -#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ - init_msg_, print_msg_, \ - nla_type_, pattern_, obj_, depth_, \ - print_elem_) \ +#define TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, nla_type_str_, \ + pattern_, obj_, depth_, \ + print_elem_) \ do { \ const unsigned int plen = \ sizeof((obj_)0) - 1 > DEFAULT_STRLEN \ ? DEFAULT_STRLEN : (int) sizeof((obj_)0) - 1; \ /* len < sizeof((obj_)0) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - plen, (pattern_), plen, \ - print_quoted_hex((pattern_), plen); \ - for (size_t i = 0; i < depth_; ++i) \ - printf("")); \ + (nla_type_), (nla_type_str_), \ + plen, (pattern_), plen, (depth_), \ + print_quoted_hex((pattern_), plen)); \ /* sizeof((obj_)0) < len < sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_) - 1, \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ /* short read of sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ + (nla_type_), (nla_type_str_), \ sizeof(obj_), \ - &(obj_), sizeof(obj_) - 1, \ + &(obj_), sizeof(obj_) - 1, (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_) - 1; ++i) { \ + for (size_t i = 0; \ + i < ARRAY_SIZE(obj_) - 1; ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ printf(", ... /* %p */", \ RTA_DATA(TEST_NLATTR_nla) \ - + sizeof(obj_) - sizeof((obj_)0)); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + + sizeof(obj_) - sizeof((obj_)0))); \ /* sizeof(obj_) */ \ - TEST_NLATTR_((fd_), (nlh0_) - NLA_HDRLEN * depth_, \ - (hdrlen_) + NLA_HDRLEN * depth_, \ + TEST_NESTED_NLATTR_((fd_), (nlh0_), (hdrlen_), \ (init_msg_), (print_msg_), \ - (nla_type_), #nla_type_, \ - sizeof(obj_), \ - &(obj_), sizeof(obj_), \ + (nla_type_), (nla_type_str_), \ + sizeof(obj_), &(obj_), sizeof(obj_), (depth_), \ printf(""); \ - size_t i; \ - for (i = 0; i < ARRAY_SIZE(obj_); ++i) { \ + for (size_t i = 0; i < ARRAY_SIZE(obj_); ++i) { \ if (i) printf(", "); \ (print_elem_)(&(obj_)i, i); \ } \ - printf(""); \ - for (i = 0; i < depth_; ++i) \ - printf("")); \ + printf("")); \ } while (0) +#define TEST_NESTED_NLATTR_ARRAY_EX(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, obj_, depth_, \ + print_elem_) \ + TEST_NESTED_NLATTR_ARRAY_EX_(fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, #nla_type_, pattern_, \ + obj_, depth_, print_elem_) + #define TEST_NESTED_NLATTR_ARRAY(fd_, nlh0_, hdrlen_, \ init_msg_, print_msg_, \ nla_type_, pattern_, obj_, print_elem_)\ @@ -375,3 +401,125 @@ (init_msg_), (print_msg_), \ nla_type_, (pattern_), (obj_), 1, \ (print_elem_)) + + +/* Checks for specific typical decoders */ +#define DEF_NLATTR_INTEGER_CHECK_(nla_data_name_, nla_data_type_, fmt_) \ + static inline void \ + check_##nla_data_name_##_nlattr(int fd, void *nlh0, size_t hdrlen, \ + void (*init_msg)(struct nlmsghdr *, \ + unsigned int), \ + void (*print_msg)(unsigned int), \ + unsigned int nla_type, \ + const char *nla_type_str, \ + void *pattern, size_t depth) \ + { \ + static const nla_data_type_ vecs = { \ + (nla_data_type_) 0, \ + (nla_data_type_) 1, \ + (nla_data_type_) 0xdeadfacebeeffeedULL, \ + }; \ + static char bufsizeof(nla_data_type_) + 8; \ + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { \ + TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + pattern, vecsi, \ + print_quoted_hex, depth, \ + printf(fmt_, vecsi)); \ + fill_memory(buf, sizeof(buf)); \ + memcpy(buf, vecs + i, sizeof(vecsi)); \ + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, \ + hdrlen + NLA_HDRLEN * depth, \ + init_msg, print_msg, \ + nla_type, nla_type_str, \ + sizeof(vecsi) + 8, \ + buf, sizeof(vecsi) + 8, \ + printf(fmt_, vecsi); \ + for (size_t i = 0; i < depth; i++) \ + printf("")); \ + } \ + } + +DEF_NLATTR_INTEGER_CHECK_(u8, uint8_t, "%hhu") +DEF_NLATTR_INTEGER_CHECK_(u16, uint16_t, "%hu") +DEF_NLATTR_INTEGER_CHECK_(u32, uint32_t, "%u") +DEF_NLATTR_INTEGER_CHECK_(u64, uint64_t, "%" PRIu64) + +DEF_NLATTR_INTEGER_CHECK_(x16, uint16_t, "%#hx") +DEF_NLATTR_INTEGER_CHECK_(x32, uint32_t, "%#x") + +#define TEST_NLATTR_VAL(type_, fd_, nlh0_, hdrlen_, \ + init_msg_, print_msg_, \ + nla_type_, pattern_, depth_) \ + check_##type_##_nlattr((fd_), (nlh0_), (hdrlen_), \ + (init_msg_), (print_msg_), \ + (nla_type_), #nla_type_, (pattern_), (depth_)) + +static inline void +check_clock_t_nlattr(int fd, void *nlh0, size_t hdrlen, + void (*init_msg)(struct nlmsghdr *, unsigned int), + void (*print_msg)(unsigned int), + unsigned int nla_type, const char *nla_type_str, + size_t depth) +{ + static const uint64_t vecs = { 0, 1, 9, 10, 99, 100, 249, 250, 999, + 1000, 1023, 1024, 0xdefacebeeffedULL }; + static char bufsizeof(uint64_t) + 1; +#if !XLAT_RAW + static long clk_tck; + static int precision; + + if (!clk_tck) { + clk_tck = sysconf(_SC_CLK_TCK); + precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + } +#endif + + fill_memory(buf, sizeof(buf)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecs0) + 1, buf, sizeof(vecs0) + 1, + print_quoted_hex(buf, sizeof(vecs0) + 1); + for (size_t i = 0; i < depth; i++) + printf("")); + + for (size_t i = 0; i < ARRAY_SIZE(vecs); i++) { + memcpy(buf, vecs + i, sizeof(vecsi)); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + sizeof(vecsi), + buf, sizeof(vecsi), + printf("%" PRIu64, vecsi); +#if !XLAT_RAW + if (i) + printf(" /* %.*f s */", precision, + (double) vecsi / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } + for (size_t i = 1; i < sizeof(vecs0); i++) { + uint64_t val = vecsARRAY_SIZE(vecs) - 1 & MASK64(i * 8); + TEST_NLATTR_(fd, nlh0 - NLA_HDRLEN * depth, + hdrlen + NLA_HDRLEN * depth, + init_msg, print_msg, nla_type, nla_type_str, + i, buf + BE_LE(sizeof(vecs0) - i, 0), i, + printf("%" PRIu64, val); +#if !XLAT_RAW + printf(" /* %.*f s */", precision, + (double) val / clk_tck); +#endif + for (size_t i = 0; i < depth; i++) + printf("")); + } +}
View file
_service:tar_scm:strace-5.14.tar.xz/tests/test_printpath.c -> _service:tar_scm:strace-6.1.tar.xz/tests/test_printpath.c
Changed
@@ -2,7 +2,7 @@ * Test printpath/umovestr. * * Copyright (c) 2015-2017 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2017-2021 The strace developers. + * Copyright (c) 2017-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -24,7 +24,7 @@ * / * /. * /.. - * /... + * /../ * /../. * /../.. * /../../ @@ -32,8 +32,7 @@ char *const eop = p + (test_max - 1); *eop = '\0'; - unsigned int i; - for (i = 1; i < test_max; ++i) { + for (unsigned int i = 1; i < test_max; ++i) { const unsigned int i_1 = i - 1; memmove(eop - i, eop - i_1, i_1); eop-1 = "/.."i_1 % 3; @@ -81,10 +80,9 @@ */ const unsigned int page_size = get_page_size(); char *p = tail_alloc(test_max + page_size); - unsigned int i; - for (i = 1; i < sizeof(long); ++i) + for (unsigned int i = 1; i < sizeof(long); ++i) test_printpath_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printpath_at(p + page_size - i, test_max); test_efault(test_max); test_enametoolong();
View file
_service:tar_scm:strace-5.14.tar.xz/tests/test_printstrn.c -> _service:tar_scm:strace-6.1.tar.xz/tests/test_printstrn.c
Changed
@@ -27,9 +27,7 @@ static void test_printstrn_at(char *const p, const unsigned int test_max) { - unsigned int i; - - for (i = 0; i <= test_max; ++i) { + for (unsigned int i = 0; i <= test_max; ++i) { add_key(p + (test_max - i), i); printf("add_key(NULL, NULL, \"%.*s\", %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -42,11 +40,9 @@ { char *p = tail_alloc(test_max); memset(p, '/', test_max); - unsigned int i; - for (i = 0; i <= test_max; ++i) { - unsigned int j; - for (j = 1; j <= sizeof(long); ++j) { + for (unsigned int i = 0; i <= test_max; ++i) { + for (unsigned int j = 1; j <= sizeof(long); ++j) { add_key(p + (test_max - i), i + j); printf("add_key(NULL, NULL, %p, %u" ", KEY_SPEC_THREAD_KEYRING) = %s\n", @@ -82,16 +78,15 @@ char *p = tail_alloc(test_max + page_size); fill_memory_ex(p, test_max + page_size, 'a', 'z' - 'a' + 1); - unsigned int i; - for (i = 1; i <= sizeof(long); ++i) + for (unsigned int i = 1; i <= sizeof(long); ++i) test_printstrn_at(p + i, test_max); - for (i = 0; i < sizeof(long); ++i) + for (unsigned int i = 0; i < sizeof(long); ++i) test_printstrn_at(p + page_size - i, test_max); test_efault(test_max); fill_memory_ex(p, test_max + page_size, 0x00, 0xFF); /* Test corner cases when octal quoting goes before digit */ - for (i = 0; i < 11; i++) + for (unsigned int i = 0; i < 11; ++i) p2 + 3 * i = '0' + i - 1; test_print_memory(p, test_max);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/tests.h -> _service:tar_scm:strace-6.1.tar.xz/tests/tests.h
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2021 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -49,47 +49,68 @@ # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) +# define XLAT_KNOWN_FMT(val_, str_) val_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ + # define XLAT_FMT "%#x" +# define XLAT_FMT_D "%d" +# define XLAT_FMT_U "%u" +# define XLAT_FMT_L "%#lx" # define XLAT_FMT_LL "%#llx" # define XLAT_ARGS(a_) (a_) +# define XLAT_ARGS_U(a_) (unsigned int) (a_) # define XLAT_SEL(v_, s_) v_ -# define ABBR(s_) "" -# define RAW(s_) s_ -# define VERB(s_) "" -# define NABBR(s_) s_ -# define NRAW(s_) "" -# define NVERB(s_) s_ +# define ABBR(...) +# define RAW(...) __VA_ARGS__ +# define VERB(...) +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) +# define NVERB(...) __VA_ARGS__ # elif XLAT_VERBOSE # define XLAT_KNOWN(val_, str_) STRINGIFY_VAL(val_) " /* " str_ " */" # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) val_ " /* " str_ " */" +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%#x /* %s */" +# define XLAT_FMT_D "%d /* %s */" +# define XLAT_FMT_U "%u /* %s */" +# define XLAT_FMT_L "%#lx /* %s */" # define XLAT_FMT_LL "%#llx /* %s */" # define XLAT_ARGS(a_) a_, #a_ +# define XLAT_ARGS_U(a_) (unsigned int) (a_), #a_ # define XLAT_SEL(v_, s_) v_, s_ -# define ABBR(s_) "" -# define RAW(s_) "" -# define VERB(s_) s_ -# define NABBR(s_) s_ -# define NRAW(s_) s_ -# define NVERB(s_) "" +# define ABBR(...) +# define RAW(...) +# define VERB(...) __VA_ARGS__ +# define NABBR(...) __VA_ARGS__ +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) # else /* !XLAT_RAW && !XLAT_VERBOSE */ # define XLAT_KNOWN(val_, str_) str_ # define XLAT_UNKNOWN(val_, dflt_) STRINGIFY_VAL(val_) " /* " dflt_ " */" +# define XLAT_KNOWN_FMT(val_, str_) str_ +# define XLAT_UNKNOWN_FMT(val_, dflt_) val_ " /* " dflt_ " */" + # define XLAT_FMT "%s" +# define XLAT_FMT_D "%s" +# define XLAT_FMT_U "%s" +# define XLAT_FMT_L "%s" # define XLAT_FMT_LL "%s" # define XLAT_ARGS(a_) #a_ +# define XLAT_ARGS_U(a_) #a_ # define XLAT_SEL(v_, s_) s_ -# define ABBR(s_) s_ -# define RAW(s_) "" -# define VERB(s_) "" -# define NABBR(s_) "" -# define NRAW(s_) s_ -# define NVERB(s_) s_ +# define ABBR(...) __VA_ARGS__ +# define RAW(...) +# define VERB(...) +# define NABBR(...) +# define NRAW(...) __VA_ARGS__ +# define NVERB(...) __VA_ARGS__ # endif /* XLAT_RAW, XLAT_VERBOSE */ # define XLAT_STR(v_) sprintxlat(#v_, v_, NULL) @@ -97,11 +118,23 @@ # define ARG_XLAT_KNOWN(val_, str_) val_, XLAT_KNOWN(val_, str_) # define ARG_XLAT_UNKNOWN(val_, str_) val_, XLAT_UNKNOWN(val_, str_) +# define ENUM_KNOWN(val_, enum_) enum_, XLAT_KNOWN(val_, #enum_) + # ifndef DEFAULT_STRLEN /* Default maximum # of bytes printed in printstr et al. */ # define DEFAULT_STRLEN 32 # endif +struct strval8 { + uint8_t val; + const char *str; +}; + +struct strval16 { + uint16_t val; + const char *str; +}; + struct strval32 { uint32_t val; const char *str; @@ -135,7 +168,7 @@ # define perror_msg_and_fail(fmt_, ...) \ perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif -# ifndef perror_msg_and_fail +# ifndef error_msg_and_fail # define error_msg_and_fail(fmt_, ...) \ error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__) # endif @@ -179,18 +212,10 @@ * and followed also by an unmapped page. */ void *tail_alloc(const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((1)) -# endif - ; + ATTRIBUTE_MALLOC; /* Allocate memory using tail_alloc, then memcpy. */ void *tail_memdup(const void *, const size_t) - ATTRIBUTE_MALLOC -# ifndef HAVE_BROKEN_CC - ATTRIBUTE_ALLOC_SIZE((2)) -# endif - ; + ATTRIBUTE_MALLOC; # define midtail_alloc(after_, before_) \ ((void *) ((char *) tail_alloc(((before_) + (after_))) + (before_))) @@ -204,6 +229,14 @@ type_name *const type_ptr = tail_alloc(sizeof(*type_ptr)) /* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified constant pointer. + */ +# define TAIL_ALLOC_OBJECT_CONST_ARR(type_name, type_ptr, cnt) \ + type_name *const type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + +/* * Allocate an object of the specified type at the end * of a mapped memory region. * Assign its address to the specified variable pointer. @@ -211,6 +244,14 @@ # define TAIL_ALLOC_OBJECT_VAR_PTR(type_name, type_ptr) \ type_name *type_ptr = tail_alloc(sizeof(*type_ptr)) +/* + * Allocate an array of the specified type at the end + * of a mapped memory region. + * Assign its address to the specified variable pointer. + */ +# define TAIL_ALLOC_OBJECT_VAR_ARR(type_name, type_ptr, cnt) \ + type_name *type_ptr = tail_alloc(sizeof(*type_ptr) * (cnt)) + /** * Fill memory (pointed by ptr, having size bytes) with different bytes (with * values starting with start and resetting every period) in order to catch @@ -230,6 +271,13 @@ unsigned int period); /** Shortcut for fill_memory32_ex(ptr, size, 0x80a0c0e0, 0x80000000) */ void fill_memory32(void *ptr, size_t size); +/** Variant of fill_memory_ex for arrays of 64-bit (8-byte) values. */ +void fill_memory64_ex(void *ptr, size_t size, uint64_t start, uint64_t period); +/** + * Shortcut for + * fill_memory64_ex(ptr, size, 0x8090a0b0c0d0e0f0, 0x8000000000000000) + */ +void fill_memory64(void *ptr, size_t size); /* Close stdin, move stdout to a non-standard descriptor, and print. */ @@ -282,6 +330,9 @@ /* Print time_t and microseconds in symbolic format. */ void print_time_t_usec(time_t, unsigned long long, int); +/* Put a formatted clock_t string representation into a string. */ +const char *clock_t_str(uint64_t val, char *str, size_t str_size); + /* Read an int from the file. */ int read_int_from_file(const char *, int *); @@ -417,8 +468,10 @@ int main(void) { error_msg_and_skip("undefined: %s", arg); } # ifdef WORDS_BIGENDIAN +# define BE_LE(be_, le_) be_ # define LL_PAIR(HI, LO) (HI), (LO) # else +# define BE_LE(be_, le_) le_ # define LL_PAIR(HI, LO) (LO), (HI) # endif # define LL_VAL_TO_PAIR(llval) LL_PAIR((long) ((llval) >> 32), (long) (llval))
View file
_service:tar_scm:strace-6.1.tar.xz/tests/time_enjoyment.h
Added
@@ -0,0 +1,66 @@ +#ifndef STRACE_TESTS_TIME_ENJOYMENT_H +#define STRACE_TESTS_TIME_ENJOYMENT_H + +#include <fcntl.h> +#include <sched.h> +#include <time.h> +#include <sys/types.h> +#include <sys/stat.h> + +enum { + NUM_USER_ITERS_SQRT = 2000, + NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, + READ_BUF_SIZE = 65536, + READ_ITER = 128, +}; + +static inline uint64_t +nsecs(struct timespec *ts) +{ + return (uint64_t) ts->tv_sec * 1000000000 + ts->tv_nsec; +} + +static inline void +enjoy_time(uint64_t cputime_limit) +{ + struct timespec ts = { 0 }; + volatile int dummy = 0; + + /* Enjoying my user time */ + for (size_t i = 0; i < NUM_USER_ITERS_SQRT; ++i) { + if (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + if (nsecs(&ts) >= cputime_limit) + break; + } + + for (size_t j = 0; j < NUM_USER_ITERS; ++j) + ++dummy; + } + + /* Enjoying my system time */ + ssize_t ret; + int fd; + char bufREAD_BUF_SIZE; + + while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { + for (size_t i = 0; i < READ_ITER; i++) { + /* We are fine even if the calls fail. */ + fd = open("/proc/self/status", O_RDONLY); + /* + * Working around "ignoring return value of 'read' + * declared with attribute 'warn_unused_result'". + */ + ret = read(fd, buf, sizeof(buf)); + close(fd); + if (ret) + continue; + } + + if (nsecs(&ts) >= cputime_limit * 3) + break; + + sched_yield(); + } +} + +#endif /* !STRACE_TESTS_TIME_ENJOYMENT_H */
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xabbrev.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_ABBREV 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xabbrev.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xabbrev -esignal=none -e trace=times -Xabbrev); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xabbrev
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xraw.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_RAW 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xraw.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xraw -esignal=none -e trace=times -Xraw); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xraw
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xverbose.c
Added
@@ -0,0 +1,2 @@ +#define XLAT_VERBOSE 1 +#include "times.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/times-Xverbose.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (times-Xverbose -esignal=none -e trace=times -Xverbose); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -esignal=none -e trace=times -Xverbose
View file
_service:tar_scm:strace-5.14.tar.xz/tests/times.c -> _service:tar_scm:strace-6.1.tar.xz/tests/times.c
Changed
@@ -1,9 +1,9 @@ /* * Check decoding of times syscall. * - * Copyright (c) 2015 Eugene Syromyatnikov <evgsyr@gmail.com> + * Copyright (c) 2015-2021 Eugene Syromyatnikov <evgsyr@gmail.com> * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -16,57 +16,37 @@ */ #include "tests.h" +#include <fcntl.h> #include <sched.h> #include <stdio.h> #include <time.h> #include <unistd.h> #include "scno.h" +#include <sys/stat.h> #include <sys/times.h> +#include <sys/types.h> #include <sys/wait.h> +#include "time_enjoyment.h" + enum { - NUM_USER_ITERS_SQRT = 1000, - NUM_USER_ITERS = NUM_USER_ITERS_SQRT * NUM_USER_ITERS_SQRT, - PARENT_CPUTIME_LIMIT_NSEC = 200000000, - CHILD_CPUTIME_LIMIT_NSEC = 300000000 + PARENT_CPUTIME_LIMIT_NSEC = 300000000, + CHILD_CPUTIME_LIMIT_NSEC = 500000000, }; int main(void) { - struct timespec ts; - volatile int dummy = 0; - int i = 0; + enjoy_time(PARENT_CPUTIME_LIMIT_NSEC); pid_t pid = fork(); if (pid < 0) perror_msg_and_fail("fork"); - const long cputime_limit = - pid ? PARENT_CPUTIME_LIMIT_NSEC : CHILD_CPUTIME_LIMIT_NSEC; - - /* Enjoying my user time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit) - break; - - if ((i > NUM_USER_ITERS_SQRT) && !(ts.tv_sec || ts.tv_nsec)) - error_msg_and_skip("clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 0})"); - - for (i = 0; i < NUM_USER_ITERS; ++i) - ++dummy; - } - - /* Enjoying my system time */ - while (clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &ts) == 0) { - if (ts.tv_sec || ts.tv_nsec >= cputime_limit * 2) - break; - - sched_yield(); - } - if (pid == 0) { + enjoy_time(CHILD_CPUTIME_LIMIT_NSEC); + return 0; } else { wait(NULL); @@ -107,13 +87,41 @@ llres = (unsigned long) res; #endif - printf("times({tms_utime=%llu, tms_stime=%llu, ", - (unsigned long long) tbuf.tms_utime, - (unsigned long long) tbuf.tms_stime); - printf("tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", - (unsigned long long) tbuf.tms_cutime, - (unsigned long long) tbuf.tms_cstime, - llres); + long clk_tck = sysconf(_SC_CLK_TCK); + int precision = clk_tck > 100000000 ? 9 + : clk_tck > 10000000 ? 8 + : clk_tck > 1000000 ? 7 + : clk_tck > 100000 ? 6 + : clk_tck > 10000 ? 5 + : clk_tck > 1000 ? 4 + : clk_tck > 100 ? 3 + : clk_tck > 10 ? 2 + : clk_tck > 1 ? 1 : 0; + + if (!XLAT_RAW && clk_tck > 0) { + printf("times({tms_utime=%llu /* %.*f s */" + ", tms_stime=%llu /* %.*f s */" + ", tms_cutime=%llu /* %.*f s */" + ", tms_cstime=%llu /* %.*f s */}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + precision, (double) tbuf.tms_utime / clk_tck, + (unsigned long long) tbuf.tms_stime, + precision, (double) tbuf.tms_stime / clk_tck, + (unsigned long long) tbuf.tms_cutime, + precision, (double) tbuf.tms_cutime / clk_tck, + (unsigned long long) tbuf.tms_cstime, + precision, (double) tbuf.tms_cstime / clk_tck, + llres); + } else { + printf("times({tms_utime=%llu, tms_stime=%llu" + ", tms_cutime=%llu, tms_cstime=%llu}) = %llu\n", + (unsigned long long) tbuf.tms_utime, + (unsigned long long) tbuf.tms_stime, + (unsigned long long) tbuf.tms_cutime, + (unsigned long long) tbuf.tms_cstime, + llres); + } + puts("+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/trace_clock.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/trace_clock.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times' -e%clock); do not edit. +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_clock test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock); do not edit. . "${srcdir=.}/init.sh" -test_trace_expr 'clock_nanosleep|times' -e%clock +test_trace_expr 'clock_nanosleep|times|times-.*' -e%clock
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_all_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_32 +qualify_personality_all.sh 32); do not edit. +set -- 32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_all_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_64 +qualify_personality_all.sh 64); do not edit. +set -- 64 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_all_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_all_x32 +qualify_personality_all.sh x32); do not edit. +set -- x32 +. "${srcdir=.}/qualify_personality_all.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_32 +qualify_personality.sh 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_64 +qualify_personality.sh 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- 64 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_64.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_number_x32 +qualify_personality.sh x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke'); do not edit. +set -- x32 "$(${srcdir=.}/print_scno_getcwd.sh)" 'fsync-y|poke' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_number_x32.in
Added
@@ -0,0 +1,1 @@ +getcwd -a18
View file
_service:tar_scm:strace-5.14.tar.xz/tests/trace_personality_regex_32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_regex_32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_32 +qualify_personality.sh 32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/trace_personality_regex_64.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_regex_64.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|fcntl.*'); do not edit. -set -- 64 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_64 +qualify_personality.sh 64 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- 64 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-5.14.tar.xz/tests/trace_personality_regex_x32.gen.test -> _service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_regex_x32.gen.test
Changed
@@ -1,4 +1,4 @@ #!/bin/sh -efu -# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|fcntl.*'); do not edit. -set -- x32 '/clock.*' 'times|fcntl.*' +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_regex_x32 +qualify_personality.sh x32 '/clock.*' 'times|times-.*|fcntl.*'); do not edit. +set -- x32 '/clock.*' 'times|times-.*|fcntl.*' . "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_32 +qualify_personality.sh 32 '%statfs'); do not edit. +set -- 32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_64.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_64 +qualify_personality.sh 64 '%statfs'); do not edit. +set -- 64 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_64.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_x32.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (trace_personality_statfs_x32 +qualify_personality.sh x32 '%statfs'); do not edit. +set -- x32 '%statfs' +. "${srcdir=.}/qualify_personality.sh"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/trace_personality_statfs_x32.in
Added
@@ -0,0 +1,2 @@ +statfs -a17 +statfs64 -a23
View file
_service:tar_scm:strace-5.14.tar.xz/tests/unix-pair-send-recv.c -> _service:tar_scm:strace-6.1.tar.xz/tests/unix-pair-send-recv.c
Changed
@@ -48,9 +48,7 @@ static void transpose(char *str, const size_t len) { - size_t i; - - for (i = 0; i < len / 2; ++i) { + for (size_t i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/unix-pair-sendto-recvfrom.c -> _service:tar_scm:strace-6.1.tar.xz/tests/unix-pair-sendto-recvfrom.c
Changed
@@ -18,9 +18,7 @@ static void transpose(char *str, int len) { - int i; - - for (i = 0; i < len / 2; ++i) { + for (int i = 0; i < len / 2; ++i) { char c = stri; stri = strlen - 1 - i; strlen - 1 - i = c;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/unshare.c -> _service:tar_scm:strace-6.1.tar.xz/tests/unshare.c
Changed
@@ -33,14 +33,11 @@ { ARG_STR(0x81f8f07f) " /* CLONE_??? */" }, }; - long rc; - unsigned int i; - - rc = syscall(__NR_unshare, bogus_flags); + long rc = syscall(__NR_unshare, bogus_flags); printf("unshare(%#llx /* CLONE_??? */) = %s\n", (unsigned long long) bogus_flags, sprintrc(rc)); - for (i = 0; i < ARRAY_SIZE(unshare_flags); i++) { + for (unsigned int i = 0; i < ARRAY_SIZE(unshare_flags); ++i) { rc = syscall(__NR_unshare, unshare_flagsi.val); printf("unshare(%s) = %s\n", unshare_flagsi.str, sprintrc(rc));
View file
_service:tar_scm:strace-5.14.tar.xz/tests/vfork-f.c -> _service:tar_scm:strace-6.1.tar.xz/tests/vfork-f.c
Changed
@@ -13,7 +13,7 @@ #include <unistd.h> #include <sys/wait.h> -static inline int +static int logit_(const char *const str) { return !chdir(str);
View file
_service:tar_scm:strace-6.1.tar.xz/tests/waitid-Y.c
Added
@@ -0,0 +1,3 @@ +#define MY_COMM "<waitid-Y>" +#define SKIP_IF_PROC_IS_UNAVAILABLE skip_if_unavailable("/proc/self/fd/") +#include "waitid.c"
View file
_service:tar_scm:strace-6.1.tar.xz/tests/waitid-Y.gen.test
Added
@@ -0,0 +1,4 @@ +#!/bin/sh -efu +# Generated by ./tests/gen_tests.sh from ./tests/gen_tests.in (waitid-Y -Y -e signal=none -e trace=waitid); do not edit. +. "${srcdir=.}/init.sh" +run_strace_match_diff -Y -e signal=none -e trace=waitid
View file
_service:tar_scm:strace-5.14.tar.xz/tests/waitid.c -> _service:tar_scm:strace-6.1.tar.xz/tests/waitid.c
Changed
@@ -2,7 +2,7 @@ * Check decoding of waitid syscall. * * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2016-2020 The strace developers. + * Copyright (c) 2016-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -18,6 +18,13 @@ #include "kernel_rusage.h" #include "scno.h" +#ifndef MY_COMM +# define MY_COMM "" +#endif +#ifndef SKIP_IF_PROC_IS_UNAVAILABLE +# define SKIP_IF_PROC_IS_UNAVAILABLE +#endif + static const char * sprint_rusage(const kernel_rusage_t *const ru) { @@ -97,23 +104,30 @@ } static const char * -sprint_siginfo(const siginfo_t *const si, const char *const status_text) +sprint_siginfo(const siginfo_t *const si, const char *const status_text, + const char *const comm) { static char buf1024; + char utime_str64; + char stime_str64; + snprintf(buf, sizeof(buf), "{si_signo=SIGCHLD" ", si_code=%s" - ", si_pid=%d" + ", si_pid=%d%s" ", si_uid=%d" ", si_status=%s" - ", si_utime=%llu" - ", si_stime=%llu}", + ", si_utime=%s" + ", si_stime=%s}", si_code_2_name(si->si_code), si->si_pid, + comm, si->si_uid, status_text, - zero_extend_signed_to_ull(si->si_utime), - zero_extend_signed_to_ull(si->si_stime)); + clock_t_str(zero_extend_signed_to_ull(si->si_utime), + ARRSZ_PAIR(utime_str)), + clock_t_str(zero_extend_signed_to_ull(si->si_stime), + ARRSZ_PAIR(stime_str))); return buf; } @@ -123,6 +137,8 @@ return (unsigned long) 0xfacefeed00000000ULL | v; } +static const char *errstr; + static long do_waitid(const unsigned int idtype, const unsigned int id, @@ -137,12 +153,15 @@ long rc = syscall(__NR_waitid, poison(idtype), poison(id), infop, poison(options), rusage); assert(sigprocmask(SIG_UNBLOCK, &mask, NULL) == 0); + errstr = sprintrc(rc); return rc; } int main(void) { + SKIP_IF_PROC_IS_UNAVAILABLE; + tprintf("%s", ""); int fds2; @@ -165,23 +184,24 @@ if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) perror_msg_and_fail("waitid #1"); - tprintf("waitid(P_PID, %d, NULL, WNOHANG|WEXITED, NULL) = 0\n", pid); + tprintf("waitid(P_PID, %d%s, NULL, WNOHANG|WEXITED, NULL) = 0\n", + pid, MY_COMM); TAIL_ALLOC_OBJECT_CONST_PTR(siginfo_t, sinfo); memset(sinfo, 0, sizeof(*sinfo)); TAIL_ALLOC_OBJECT_CONST_PTR(kernel_rusage_t, rusage); if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) perror_msg_and_fail("waitid #2"); - tprintf("waitid(P_PID, %d, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", - pid, sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, {}, WNOHANG|WEXITED|WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_rusage(rusage)); assert(write(1, "", 1) == 1); (void) close(1); if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #3"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "42"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "42", ""), sprint_rusage(rusage)); pid = fork(); if (pid < 0) @@ -194,8 +214,9 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #4"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGUSR1"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGUSR1", ""), + sprint_rusage(rusage)); if (pipe(fds)) perror_msg_and_fail("pipe"); @@ -215,8 +236,9 @@ if (do_waitid(P_PID, pid, sinfo, WSTOPPED, rusage)) perror_msg_and_fail("waitid #5"); - tprintf("waitid(P_PID, %d, %s, WSTOPPED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGSTOP"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WSTOPPED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGSTOP", MY_COMM), + sprint_rusage(rusage)); if (kill(pid, SIGCONT)) perror_msg_and_fail("kill(SIGCONT)"); @@ -224,8 +246,9 @@ #if defined WCONTINUED if (do_waitid(P_PID, pid, sinfo, WCONTINUED, rusage)) perror_msg_and_fail("waitid #6"); - tprintf("waitid(P_PID, %d, %s, WCONTINUED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "SIGCONT"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WCONTINUED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "SIGCONT", MY_COMM), + sprint_rusage(rusage)); #endif /* WCONTINUED */ assert(write(1, "", 1) == 1); @@ -233,12 +256,18 @@ if (do_waitid(P_PID, pid, sinfo, WEXITED, rusage)) perror_msg_and_fail("waitid #7"); - tprintf("waitid(P_PID, %d, %s, WEXITED, %s) = 0\n", - pid, sprint_siginfo(sinfo, "0"), sprint_rusage(rusage)); + tprintf("waitid(P_PID, %d%s, %s, WEXITED, %s) = 0\n", + pid, MY_COMM, sprint_siginfo(sinfo, "0", ""), + sprint_rusage(rusage)); + + pid_t pgid = getpgid(pid); + do_waitid(P_PGID, pgid, sinfo, WEXITED, rusage); + tprintf("waitid(P_PGID, %d, %p, WEXITED, %p) = %s\n", + pgid, sinfo, rusage, errstr); - long rc = do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); - tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p)" - " = %ld %s (%m)\n", sinfo, rusage, rc, errno2name()); + do_waitid(P_ALL, -1, sinfo, WEXITED|WSTOPPED, rusage); + tprintf("waitid(P_ALL, -1, %p, WEXITED|WSTOPPED, %p) = %s\n", + sinfo, rusage, errstr); tprintf("%s\n", "+++ exited with 0 +++"); return 0;
View file
_service:tar_scm:strace-5.14.tar.xz/tests/xchownx.c -> _service:tar_scm:strace-6.1.tar.xz/tests/xchownx.c
Changed
@@ -108,10 +108,9 @@ CLEANUP_CMD; - unsigned int i; long expected = 0; - for (i = 0; i < ARRAY_SIZE(tests); ++i) { + for (unsigned int i = 0; i < ARRAY_SIZE(tests); ++i) { const unsigned int unum = ugid2int(testsi.uid); const unsigned int gnum = ugid2int(testsi.gid);
View file
_service:tar_scm:strace-5.14.tar.xz/tests/xstatx.c -> _service:tar_scm:strace-6.1.tar.xz/tests/xstatx.c
Changed
@@ -1,6 +1,6 @@ /* * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> - * Copyright (c) 2015-2021 The strace developers. + * Copyright (c) 2015-2022 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later @@ -258,28 +258,44 @@ printf(", stx_attributes="); printflags(statx_attrs, st->stx_attributes, "STATX_ATTR_???"); - printf(", "); - PRINT_FIELD_U(*st, stx_nlink); - PRINT_FIELD_U32_UID(stx_uid); - PRINT_FIELD_U32_UID(stx_gid); - - printf(", stx_mode="); - print_st_mode(st->stx_mode); + if (st->stx_mask & STATX_NLINK) { + printf(", "); + PRINT_FIELD_U(*st, stx_nlink); + } + if (st->stx_mask & STATX_UID) + PRINT_FIELD_U32_UID(stx_uid); + if (st->stx_mask & STATX_GID) + PRINT_FIELD_U32_UID(stx_gid); + + if (st->stx_mask & (STATX_TYPE|STATX_MODE)) { + printf(", stx_mode="); + print_st_mode(st->stx_mode); + } - printf(", "); - PRINT_FIELD_U(*st, stx_ino); - printf(", "); - PRINT_FIELD_U(*st, stx_size); - printf(", "); - PRINT_FIELD_U(*st, stx_blocks); + if (st->stx_mask & STATX_INO) { + printf(", "); + PRINT_FIELD_U(*st, stx_ino); + } + if (st->stx_mask & STATX_SIZE) { + printf(", "); + PRINT_FIELD_U(*st, stx_size); + } + if (st->stx_mask & STATX_BLOCKS) { + printf(", "); + PRINT_FIELD_U(*st, stx_blocks); + } printf(", stx_attributes_mask="); printflags(statx_attrs, st->stx_attributes_mask, "STATX_ATTR_???"); - PRINT_FIELD_TIME(stx_atime); - PRINT_FIELD_TIME(stx_btime); - PRINT_FIELD_TIME(stx_ctime); - PRINT_FIELD_TIME(stx_mtime); + if (st->stx_mask & STATX_ATIME) + PRINT_FIELD_TIME(stx_atime); + if (st->stx_mask & STATX_BTIME) + PRINT_FIELD_TIME(stx_btime); + if (st->stx_mask & STATX_CTIME) + PRINT_FIELD_TIME(stx_ctime); + if (st->stx_mask & STATX_MTIME) + PRINT_FIELD_TIME(stx_mtime); printf(", "); PRINT_FIELD_U(*st, stx_rdev_major); printf(", "); @@ -288,6 +304,16 @@ PRINT_FIELD_U(*st, stx_dev_major); printf(", "); PRINT_FIELD_U(*st, stx_dev_minor); + if (st->stx_mask & STATX_MNT_ID) { + printf(", "); + PRINT_FIELD_X(*st, stx_mnt_id); + } + if (st->stx_mask & STATX_DIOALIGN) { + printf(", "); + PRINT_FIELD_U(*st, stx_dio_mem_align); + printf(", "); + PRINT_FIELD_U(*st, stx_dio_offset_align); + } printf("}"); } @@ -476,12 +502,12 @@ TEST_SYSCALL_STATX_FLAGS_STR = old_flags_str; SET_MASK_INVOKE(0, "0"); - SET_MASK_INVOKE(0xffffe000U, "0xffffe000 /* STATX_??? */"); + SET_MASK_INVOKE(0xffffc000U, "0xffffc000 /* STATX_??? */"); SET_MASK_INVOKE(0xfffffffbU, "STATX_TYPE|STATX_MODE|STATX_UID|STATX_GID|STATX_ATIME|" "STATX_MTIME|STATX_CTIME|STATX_INO|STATX_SIZE|STATX_BLOCKS|" - "STATX_BTIME|STATX_MNT_ID|0xffffe000"); + "STATX_BTIME|STATX_MNT_ID|STATX_DIOALIGN|0xffffc000"); SET_MASK_INVOKE(STATX_UID, "STATX_UID");
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2